Skip to content

Commit

Permalink
chore: add new version
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Nov 6, 2023
1 parent 470f9f2 commit ca118e6
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 11 deletions.
18 changes: 18 additions & 0 deletions packages/pillar-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @pillar/core

## 0.4.0

### Minor Changes

- ## What's New

- **New Documentation for Flex and Grid**: With commit `2914402`, we've added comprehensive documentation for flex and grid layouts. Understanding how to leverage these powerful layout tools is now easier than ever.

- **Info Color and High Contrast**: In commits `de6a284` and `d39d8a0`, we introduced a new 'info' color and a high contrast property to our theming options. These features provide better visual cues and accessibility options for your projects.

- **Accordion Item Enhancement**: With commit `5feefc1`, we've made an update to the accordion component, allowing the `value` prop to accept either a string or a number, adding flexibility to the way you handle data.

## Bug Fixes

- **Documentation Style Fix**: Commit `470f9f2` addresses a styling bug in the documentation. The appearance of our docs is now more consistent and user-friendly.

- **README File Corrections**: With commit `a8ad825`, we've made corrections to the README file, fixing errors and ensuring that the project's introduction is as clear and accurate as possible.

## 0.3.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pillar-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pillar-ui/core",
"version": "0.3.1",
"version": "0.4.0",
"description": "A collection of reusable UI components for modern web development. These components follow best practices, are highly customizable, and promote a consistent user experience across applications.",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
18 changes: 18 additions & 0 deletions packages/pillar-icons/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @pillar/icons

## 0.4.0

### Minor Changes

- ## What's New

- **New Documentation for Flex and Grid**: With commit `2914402`, we've added comprehensive documentation for flex and grid layouts. Understanding how to leverage these powerful layout tools is now easier than ever.

- **Info Color and High Contrast**: In commits `de6a284` and `d39d8a0`, we introduced a new 'info' color and a high contrast property to our theming options. These features provide better visual cues and accessibility options for your projects.

- **Accordion Item Enhancement**: With commit `5feefc1`, we've made an update to the accordion component, allowing the `value` prop to accept either a string or a number, adding flexibility to the way you handle data.

## Bug Fixes

- **Documentation Style Fix**: Commit `470f9f2` addresses a styling bug in the documentation. The appearance of our docs is now more consistent and user-friendly.

- **README File Corrections**: With commit `a8ad825`, we've made corrections to the README file, fixing errors and ensuring that the project's introduction is as clear and accurate as possible.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pillar-icons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pillar-ui/icons",
"version": "0.3.0",
"version": "0.4.0",
"description": "A library of scalable icons suitable for various web development projects. These icons are highly customizable, accessible, and designed to seamlessly integrate into modern user interfaces.",
"keywords": [
"icons",
Expand Down
18 changes: 18 additions & 0 deletions packages/pillar-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# @pillar/utils

## 0.4.0

### Minor Changes

- ## What's New

- **New Documentation for Flex and Grid**: With commit `2914402`, we've added comprehensive documentation for flex and grid layouts. Understanding how to leverage these powerful layout tools is now easier than ever.

- **Info Color and High Contrast**: In commits `de6a284` and `d39d8a0`, we introduced a new 'info' color and a high contrast property to our theming options. These features provide better visual cues and accessibility options for your projects.

- **Accordion Item Enhancement**: With commit `5feefc1`, we've made an update to the accordion component, allowing the `value` prop to accept either a string or a number, adding flexibility to the way you handle data.

## Bug Fixes

- **Documentation Style Fix**: Commit `470f9f2` addresses a styling bug in the documentation. The appearance of our docs is now more consistent and user-friendly.

- **README File Corrections**: With commit `a8ad825`, we've made corrections to the README file, fixing errors and ensuring that the project's introduction is as clear and accurate as possible.

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/pillar-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pillar-ui/utils",
"version": "0.3.0",
"version": "0.4.0",
"sideEffects": false,
"description": "A collection of utility functions and tools to assist with common tasks and improve the efficiency of web development. These utilities are carefully crafted to enhance productivity and streamline the development process.",
"keywords": [
Expand Down
20 changes: 12 additions & 8 deletions packages/pillar-utils/src/dom/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ export function getOppositeMode(mode: Mode) {
}

export function ejectModeClassName() {
const mode: Mode = getInitMode() ?? 'light'
const element = document.documentElement
const prevMode = getOppositeMode(mode)
const isPrevExist = element.classList.contains(prevMode)
if (isPrevExist) {
element.classList.remove(prevMode)
}
element.classList.add(mode)
// const mode: Mode = getInitMode() ?? 'light'
// console.log(mode)
// const element = document.documentElement
// const prevMode = getOppositeMode(mode)
// const isPrevExist = element.classList.contains(prevMode)
// console.log('mode', mode, 'prevMode', prevMode, 'IsPrevExist', isPrevExist)
// if (isPrevExist) {
// element.classList.remove(prevMode)
// }
// element.classList.add(mode)

console.log('Hello')
}

1 comment on commit ca118e6

@vercel
Copy link

@vercel vercel bot commented on ca118e6 Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pillar-ui-docs-fu15 – ./apps/docs

pillar-ui-docs-fu15-hamzaamar.vercel.app
pillar-ui-docs-fu15.vercel.app
pillar-ui-docs-fu15-git-main-hamzaamar.vercel.app

Please sign in to comment.