HeroUI v2.8.0
What's Changed
Major Update
- TailwindCSS v4 Support - Full compatibility with the latest TailwindCSS version
Bug Fixes & Improvements
Theme & Styling
- Fix rotate transition (#5441)
- Fix incorrect target theme (#5469)
- Fixed missing radius styles in th and td in Table (#4988)
- Fixed transition (#5409)
- Fix text selection in table (#5413)
- Fix transition scale (#5271)
- Fix outline styles (#5266)
Components
Toast
- Breaking Change: Renamed
loadingIcon
toloadingComponent
- Fix toast items closing in reverse order. Toasts now close in proper FIFO instead of LIFO (#5096)
- Remove the bottom extension of the toast (#5231)
- Enable programmatically closing a toast with a specific key (#5084)
Slider
- Introduce
getTooltipValue
prop for custom tooltip value (#4741) - Fixed slider component NaN values when min and max are the same value (#5014)
Select
- Add
isClearable
andonClear
prop to Select component (#2239)
Calendar
- Replace rectangle intersection detection with center-point distance calculation to make the calendar picker more resilient when browser zoom is changed (#5117)
Input
Table
Autocomplete
- Do not render selector button if selector icon is null (#5423)
Image & Avatar
- Fixed image src double fetch issue (#3847)
System & Core
- Add useInputLabelPlacement
- Remove
@heroui/aria-utils
dependency - Bump React Aria versions
Hooks & Utilities
- Fix use-theme logic
- Fix skeleton animate
- Draggable modal will be scrollable in mobile devices (#5280)
- Refactor: overlay & interactOutside
Patch Changes
All components have been updated to version compatible with TailwindCSS v4 and include the above improvements.
Pull Requests
- v2.7.11 by @wingkwong in #5404
- docs: replace invalid yarn command by @Nicocappabianca in #5422
- chore: remove ph banner by @wingkwong in #5437
- feat: 2.8.0 beta changes by @wingkwong in #5473
- ci(changesets): version packages by @github-actions in #5482
New Contributors
- @Nicocappabianca made their first contribution in #5422
Commit Reference
e489af8
- Consolidated changes for v2.8.0
Full Changelog: https://github.com/heroui-inc/heroui/compare/@heroui/react@2.7.11...@heroui/react@2.8.0