Releases: heroui-inc/heroui
Releases · heroui-inc/heroui
@nextui-org/snippet@2.2.8
Patch Changes
- Updated dependencies [
78c0928
]:- @nextui-org/button@2.2.7
- @nextui-org/tooltip@2.2.5
@nextui-org/snippet@2.2.7
Patch Changes
- Updated dependencies [
5598806
]:- @nextui-org/button@2.2.6
- @nextui-org/tooltip@2.2.4
@nextui-org/snippet@2.2.6
Patch Changes
- Updated dependencies [
dfefdd6
]:- @nextui-org/button@2.2.5
- @nextui-org/tooltip@2.2.4
@nextui-org/slider@2.4.5
Patch Changes
- Updated dependencies []:
- @nextui-org/tooltip@2.2.5
@nextui-org/select@2.4.7
Patch Changes
- Updated dependencies [
78c0928
]:- @nextui-org/use-aria-button@2.2.3
- @nextui-org/aria-utils@2.2.5
- @nextui-org/listbox@2.3.7
- @nextui-org/popover@2.3.7
- @nextui-org/form@2.1.6
@nextui-org/select@2.4.6
Patch Changes
- Updated dependencies [
5598806
]:- @nextui-org/listbox@2.3.6
- @nextui-org/form@2.1.6
- @nextui-org/popover@2.3.6
- @nextui-org/scroll-shadow@2.3.3
- @nextui-org/spinner@2.2.4
@nextui-org/select@2.4.5
Patch Changes
- Updated dependencies [
11eae5c
]:- @nextui-org/listbox@2.3.5
- @nextui-org/form@2.1.5
- @nextui-org/popover@2.3.5
- @nextui-org/scroll-shadow@2.3.3
- @nextui-org/spinner@2.2.4
@nextui-org/ripple@2.2.5
Patch Changes
- #4314
5598806
Thanks @jrgarciadev! - Fix build
@nextui-org/ripple@2.2.4
Patch Changes
- #4284
dfefdd6
Thanks @sudongyuer! - Refactor Button & Card Ripple
@nextui-org/react@2.6.8
🚀 What's Changed
🐛 Bug Fixes
- Interactive Elements: Fixed issues with
onClick
events on interactive elements like buttons, cards, and links. TheonClick
event has been deprecated and replaced withonPress
for better accessibility and compatibility. #4322 by @jrgarciadev
🛠️ Maintenance
- CI: Updated the release process to exit if the build fails, ensuring no incomplete releases are published. #4319 by @winchesHe
- Changesets: Updated versioning packages to streamline the release process. #4323 by @github-actions
🔄 Migration Steps
To ensure compatibility with this update, follow these steps:
- Replace all
onClick
handlers in your code withonPress
.
Example:
<Button onPress={() => console.log('Button pressed')}>Click Me</Button>
- Check all custom components using onClick and refactor them to use onPress if they rely on NextUI components internally.
- Test interactive elements like buttons, cards, and links across devices, particularly on iOS and Android, to ensure functionality.