Releases: nextui-org/nextui
Releases · nextui-org/nextui
@nextui-org/[email protected]
Patch Changes
- #4314
5598806
Thanks @jrgarciadev! - Fix build
@nextui-org/[email protected]
Patch Changes
- #4284
dfefdd6
Thanks @sudongyuer! - Refactor Button & Card Ripple
@nextui-org/[email protected]
🚀 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.
@nextui-org/[email protected]
🚀 What's Changed
🐛 Bug Fixes
- Docs: Fix "Identifier 'colors' has already been declared" issue. #4276 by @wingkwong
- Input-OTP: Autofocus bug fix. #4296 by @macci001
- Dropdown: Correct initial animation direction to match fallback placement. #4288 by @ryo-manba
- Radio, Checkbox, Switch: Fix touch and selection behavior. #4311 by @jrgarciadev
- Revert changes from PR #4168. #4286 by @macci001
✨ Improvements
- Refactor: Enhance button and card ripple effects. #4284 by @sudongyuer
@nextui-org/[email protected]
🚀 What's Changed
🐛 Bug Fixes
- Docs: Fix "Identifier 'colors' has already been declared" issue. #4276 by @wingkwong
- Input-OTP: Autofocus bug fix. #4296 by @macci001
- Dropdown: Correct initial animation direction to match fallback placement. #4288 by @ryo-manba
- Radio, Checkbox, Switch: Fix touch and selection behavior. #4311 by @jrgarciadev
- Revert changes from PR #4168. #4286 by @macci001
✨ Improvements
- Refactor: Enhance button and card ripple effects. #4284 by @sudongyuer
@nextui-org/[email protected]
Patch Changes
-
#4314
5598806
Thanks @jrgarciadev! - Fix build -
Updated dependencies []:
- @nextui-org/[email protected]
@nextui-org/[email protected]
Patch Changes
-
#4311
03abf1d
Thanks @jrgarciadev! - Fix #4252 #4260 interactive elements were not working properly -
Updated dependencies []:
- @nextui-org/[email protected]
@nextui-org/[email protected]
Patch Changes
- Updated dependencies [
78c0928
]:- @nextui-org/[email protected]
- @nextui-org/[email protected]
- @nextui-org/[email protected]
@nextui-org/[email protected]
Patch Changes
- Updated dependencies [
5598806
]:- @nextui-org/[email protected]
@nextui-org/[email protected]
Patch Changes
- Updated dependencies [
dfefdd6
]:- @nextui-org/[email protected]