13 KiB
@heroui/use-scroll-position
2.1.8
Patch Changes
-
e489af8Thanks @jrgarciadev! - ## Consolidated ChangesMajor Update
- TailwindCSS v4
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
- Renaming loadingIcon to loadingComponent
- 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
getTooltipValueprop for custom tooltip value (#4741) - fixed slider component NaN values when min and max are the same value (#5014)
Select
- add
isClearableandonClearprop 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. The new approach finds the closest picker item to the highlight element's center, preventing mismatches between displayed and selected year / month. (#5117)
Input
- fix
Inputaccessibility label duplication (#5150)
Date Input
- add 'outside-top' prop to input (#3058)
Table
- support custom sort icon in Table (#5223)
- remove
removeWrapperfrom virtualized table (#4995)
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-utilsdependency
Hooks & Utilities
- fix use-theme logic
- Fix skeleton animate
- bump RA versions
- Draggable modal will be scrollable in mobile devices (#5280)
- refactor: overlay & interactOutside
2.1.8-beta.7
Patch Changes
- #5466
87f8a12Thanks @wingkwong! - add back RA deps (overlays & utils)
2.1.8-beta.6
Patch Changes
3275e8cThanks @wingkwong! - trigger beta release
2.1.8-beta.5
Patch Changes
1bca3f9Thanks @wingkwong! - sync 2.7.11 release
2.1.8-beta.4
Patch Changes
- #5401
a2c4745Thanks @wingkwong! - remove@heroui/aria-utilsdependency
2.1.8-beta.3
Patch Changes
- #5398
9c3e4d9Thanks @wingkwong! - remove RA dependencies (overlays & utils)
2.1.8-beta.2
Patch Changes
-
#5392
0001ab7Thanks @wingkwong! - bump RA versions -
#5274
a8ef824Thanks @winchesHe! - TailwindCSS v4 -
#5274
a8ef824Thanks @winchesHe! - Fix skeleton animate
2.1.8-beta.1
Patch Changes
-
#5348
706e7ecThanks @github-actions! - sync with 2.7.9 changes -
#5274
a8ef824Thanks @winchesHe! - TailwindCSS v4 -
#5274
a8ef824Thanks @winchesHe! - Fix skeleton animate
2.1.8-beta.0
Patch Changes
-
#5274
a8ef824Thanks @winchesHe! - TailwindCSS v4 -
#5274
a8ef824Thanks @winchesHe! - Fix skeleton animate
2.1.7
Patch Changes
-
b9e94a2Thanks @jrgarciadev! - add default value for custom theme properties (#5194)v2.7.7
2.1.6
Patch Changes
- v2.7.4
2.1.5
Patch Changes
- Fix v2.7.0 release
2.1.4
Patch Changes
- Fix v2.7.0 release
2.1.3
Patch Changes
4ff87caThanks @jrgarciadev! - v2.7.0- Tailwind variants upgraded to the latest version, classnames adjusted, tests fixed
- Bump RA versions
- Various package updates and improvements across the HeroUI component library
- Fixed reversed navigation behavior of nextButton and prevButton in the RTL calendar (#4541)
- Adding support for global labelPlacement prop (ENG-1694)
- Avoid showing onClick deprecation warning for internal onClick (#4549, #4546)
- Fixed unexpected scrollShadow on virtualized listbox (#4553)
- Fix SelectItem, ListboxItem, and AutocompleteItem not to accept value props (#2283)
- New Components and Features:
- Introduce NumberInput component
- Introduce Toast component (#2560)
- Various improvements and bug fixes across components:
- Enhanced accessibility features and ARIA support
- Updated component styling and theme configurations
- Performance optimizations and code cleanup
- RTL support improvements
- Better type safety and prop validation
2.1.2
Patch Changes
- #4594
7ebe0e6Thanks @jrgarciadev! - Org name changed
2.1.1
Patch Changes
d6eee4aThanks @jrgarciadev! - v2.6.2
2.1.0
Minor Changes
-
5786897Thanks @jrgarciadev! - This release includes several improvements and bug fixes:- Updated react-aria version across all components
- Improved Drawer styles and transitions
- Fixed missing peer dependencies for framer-motion
- Fixed menu item classNames functionality
- Added isClearable prop to Textarea component
- Fixed label placement issues in Input and Select components
- Improved table keyboard navigation with new isKeyboardNavigationDisabled prop
- Fixed UI sliding issues with helper wrapper in Input and Select
- Updated use-image hook to avoid Next.js hydration issues
- Replaced RTL-specific styles with logical properties
- Fixed textarea label squish issue
- Bumped tailwind-merge version
- Applied tw nested group fixes
- Fixed fullWidth variant in input and select components
- Moved circular-progress tv to progress
- Changed ListboxItem key to optional
- Fixed autocomplete clear button behavior
- Updated Select label placement logic
- Added missing framer-motion peer dependencies
- Removed layoutNode prop from Table due to react-aria update
- Virtualization added to Autocomplete
2.0.10-beta.5
Patch Changes
9869f2b91Thanks @wingkwong! - bump version
2.0.10-beta.4
Patch Changes
- #4092
528668db8Thanks @jrgarciadev! - Test new runner
2.0.10-beta.3
Patch Changes
- #4086
f69fe47b5Thanks @jrgarciadev! - Pnpm clean
2.0.10-beta.2
Patch Changes
- #4083
35058262cThanks @jrgarciadev! - Fix build
2.0.10-beta.1
Patch Changes
- #4010
ef432eb53Thanks @jrgarciadev! - framer-motion alpha version added
2.0.10-beta.0
Patch Changes
- #4008
7c1c0dd8fThanks @jrgarciadev! - React 19 added to peerDeps
2.0.9
Patch Changes
2.0.8
Patch Changes
- #3512
2d2d300a1Thanks @wingkwong! - fix conflicting versions in npm
2.0.7
Patch Changes
- #3315
35e709de7Thanks @pratyush3124! - clearing throttleTimeout when it is supposed to be null in useScrollPosition (#3139)
2.0.6
Patch Changes
- #3049
fa26ce02fThanks @Gaic4o! - WHAT: Refactored the useScrollPosition hook to improve performance and stability by using useCallback for the handler function and useRef for throttleTimeout.
2.0.5
Patch Changes
- #2618
dc0bcf13aThanks @jrgarciadev! - - Calendar component added- objectToDeps function applied all across components
useMeasurehook addeduseIntersectionObserverhook addedframer-transitionsrenamed toframer-utilsResizablePanelcomponent added toframer-utilstest-utilsupdated
2.0.4
Patch Changes
25e86fb41Thanks @jrgarciadev! - New version v2.2.0
2.0.3
Patch Changes
- #1600
b1b30b797Thanks @jrgarciadev! - Fix npm deploy
2.0.2
Patch Changes
e3e13a09Thanks @jrgarciadev! - New package created to exports system RSC-compatible functions Component exports changed to named exports
2.0.1
Patch Changes
-
e940ec06Thanks @jrgarciadev! - Introducing NextUI v2.0 -
e940ec06Thanks @jrgarciadev! - Introducing v2 - Readmes updated