Skip to content

Commit

Permalink
chore: add the specific version of hooks to the core
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaAmar committed Sep 8, 2024
1 parent 8b6d327 commit d034bc0
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .changeset/eleven-lies-kick.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
'@pillar-ui/hooks': patch
'@pillar-ui/utils': patch
'@pillar-ui/core': patch
---

# Release Notes v1.x.x

## Enhancements

- **Core:**

- Added new utility functions to the core project, promoting code reusability and maintainability.
- Added icons to the core, streamlining asset management.

- **Pillar:**
- Refactored `pillar-ui/hooks` to be a peer dependency of `pillar core`, improving modularity and flexibility.
- Improved the `cx` style function to automatically remove falsy values, simplifying styling.
- Enhanced the `truncate` props to support new styling options, offering greater customization.
- Refactored typography to use the new utils from the core, ensuring consistency.
- Added new truncate classes, providing additional styling options.

## Bug Fixes

- Fixed an issue where the `truncate` props didn't support the new styling.
- Fixed an issue in the `cx` style function where falsy values were not removed.
- Refactored the typography component to remove the `variant` prop, streamlining the API.

**Note:** This release focuses on refactoring and improving the core and UI components for better code quality, maintainability, and styling flexibility. New features and enhancements will be introduced in future releases.
2 changes: 1 addition & 1 deletion packages/pillar-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"peerDependencies": {
"react": "^18.0.0",
"react-dom": "^18.0.0",
"@pillar-ui/hooks": "*"
"@pillar-ui/hooks": "^0.7.1"
},
"devDependencies": {
"@pillar-ui/eslint": "*",
Expand Down

0 comments on commit d034bc0

Please sign in to comment.