-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(deps): bump react-aria versions #4998
Conversation
🦋 Changeset detectedLatest commit: 30bd773 The changes in this PR will be included in the next version bump. This PR includes changesets to release 56 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThis pull request applies multiple patch updates across various packages. These updates include version bumps for dependencies in the Changes
Suggested labels
Suggested reviewers
Possibly related PRs
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (2)
packages/components/accordion/package.json (1)
58-64
: Refresh accordion dependencies with latest react-aria and react-types versions.
The dependency updates include:
@react-aria/interactions
bumped to "3.24.0"@react-aria/focus
bumped to "3.20.0"@react-aria/utils
bumped to "3.28.0"@react-stately/tree
bumped to "3.8.8"@react-aria/button
bumped to "3.12.0"@react-types/shared
bumped to "3.28.0"Please note that
@react-types/accordion
remains at "3.0.0-alpha.26". Confirm if this pre-release version is intentional or if an upgrade to a stable version is expected..changeset/witty-gorillas-think.md (1)
55-56
: Clarify the "bump RA versions" Note
The note "bump RA versions" is brief and may benefit from further explanation. It would help to clarify what "RA" refers to (e.g., react-aria) and provide context regarding the change—such as its relation to the React Spectrum release from March 5, 2025—and its expected impact on the downstream usage.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (56)
.changeset/witty-gorillas-think.md
(1 hunks)apps/docs/content/docs/components/date-input.mdx
(2 hunks)apps/docs/content/docs/components/date-picker.mdx
(4 hunks)apps/docs/content/docs/components/date-range-picker.mdx
(5 hunks)apps/docs/package.json
(2 hunks)packages/components/accordion/package.json
(1 hunks)packages/components/alert/package.json
(1 hunks)packages/components/autocomplete/package.json
(2 hunks)packages/components/avatar/package.json
(1 hunks)packages/components/breadcrumbs/package.json
(1 hunks)packages/components/button/package.json
(1 hunks)packages/components/calendar/package.json
(1 hunks)packages/components/card/package.json
(1 hunks)packages/components/checkbox/package.json
(1 hunks)packages/components/chip/package.json
(1 hunks)packages/components/date-input/package.json
(1 hunks)packages/components/date-picker/package.json
(1 hunks)packages/components/divider/package.json
(1 hunks)packages/components/dropdown/package.json
(1 hunks)packages/components/form/package.json
(1 hunks)packages/components/input-otp/package.json
(1 hunks)packages/components/input/package.json
(1 hunks)packages/components/kbd/package.json
(1 hunks)packages/components/link/package.json
(1 hunks)packages/components/listbox/package.json
(1 hunks)packages/components/menu/package.json
(1 hunks)packages/components/modal/package.json
(1 hunks)packages/components/navbar/package.json
(1 hunks)packages/components/number-input/package.json
(1 hunks)packages/components/pagination/package.json
(1 hunks)packages/components/popover/package.json
(1 hunks)packages/components/progress/package.json
(1 hunks)packages/components/radio/package.json
(1 hunks)packages/components/select/package.json
(2 hunks)packages/components/slider/package.json
(1 hunks)packages/components/snippet/package.json
(1 hunks)packages/components/switch/package.json
(1 hunks)packages/components/table/package.json
(2 hunks)packages/components/tabs/package.json
(1 hunks)packages/components/toast/package.json
(1 hunks)packages/components/tooltip/package.json
(1 hunks)packages/components/user/package.json
(1 hunks)packages/core/react/package.json
(1 hunks)packages/core/system-rsc/package.json
(1 hunks)packages/core/system/package.json
(1 hunks)packages/hooks/use-aria-accordion-item/package.json
(1 hunks)packages/hooks/use-aria-accordion/package.json
(1 hunks)packages/hooks/use-aria-button/package.json
(1 hunks)packages/hooks/use-aria-link/package.json
(1 hunks)packages/hooks/use-aria-modal-overlay/package.json
(1 hunks)packages/hooks/use-aria-multiselect/package.json
(1 hunks)packages/hooks/use-disclosure/package.json
(1 hunks)packages/hooks/use-draggable/package.json
(1 hunks)packages/hooks/use-intersection-observer/package.json
(1 hunks)packages/hooks/use-pagination/package.json
(1 hunks)packages/utilities/aria-utils/package.json
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (2)
- GitHub Check: Continuous Release
- GitHub Check: Build
🔇 Additional comments (62)
packages/core/system-rsc/package.json (1)
49-49
: Dependency Version Update: @react-types/shared bumped to 3.28.0.
This update aligns with the coordinated dependency version changes across the repository. Please ensure that this version is compatible with all internal usages of@react-types/shared
.packages/hooks/use-disclosure/package.json (1)
41-41
: Dependency Version Update: @react-aria/utils bumped to 3.28.0.
The new version is consistent with the broader updates applied in this PR. Verify that any potential breaking changes introduced in@react-aria/utils
3.28.0 are addressed in your hook implementation.packages/components/alert/package.json (1)
51-51
: Dependency Version Update: @react-aria/utils bumped to 3.28.0.
This change is in line with the dependency upgrades across several packages. Make sure to test component behavior to catch any unexpected issues after the version bump.packages/hooks/use-draggable/package.json (1)
53-53
: Dependency Version Update: @react-aria/interactions bumped to 3.24.0.
This update follows the coordinated version bump strategy across the project. Please confirm that the new version does not adversely affect drag-and-drop interactions within the hook implementation.packages/components/kbd/package.json (1)
45-45
: Dependency Version Update: @react-aria/utils bumped to 3.28.0.
The update is consistent with the dependency upgrades across other packages. It is recommended to verify that all keyboard component functionalities remain intact with the new version.packages/components/divider/package.json (1)
45-49
: Dependency Version Bump: @react-types/shared
The dependency version has been updated to "3.28.0", which aligns with the overall effort to bring dependency versions up-to-date. Please ensure that this update is compatible with other components using this shared type library.packages/core/react/package.json (1)
94-95
: Dependency Update: @react-aria/visually-hidden
The version of "@react-aria/visually-hidden" has been bumped from "3.8.19" to "3.8.20". This minor update should carry improvements or bug fixes; however, verify that the new version does not introduce unexpected changes in behavior within the core React components.packages/hooks/use-pagination/package.json (1)
37-39
: Dependency Version Update: @react-aria/i18n
The dependency "@react-aria/i18n" has been updated to "3.12.6" from an earlier version ("3.12.5"). This small version bump is expected to be backward compatible. Nonetheless, please confirm that all hooks consuming this package function as expected with the new version.packages/components/snippet/package.json (1)
50-51
: React-Aria Dependencies Upgrade: @react-aria/focus & @react-aria/utils
Both "@react-aria/focus" and "@react-aria/utils" have been updated to "3.20.0" and "3.28.0" respectively. These updates are consistent with similar changes across the repository. It is advisable to ensure that these new versions integrate seamlessly with the snippet component without impacting accessibility or functionality.packages/components/user/package.json (1)
46-47
: Updated React-Aria Dependencies: @react-aria/focus & @react-aria/utils
The dependency versions for "@react-aria/focus" and "@react-aria/utils" have been bumped to "3.20.0" and "3.28.0" respectively. This bump is consistent with the update strategy across the project. Please double-check to ensure that these upgrades do not introduce any regressions in the user component's behavior.packages/hooks/use-aria-modal-overlay/package.json (1)
37-40
: Updated React-Aria Dependencies
The dependency versions for@react-aria/overlays
,@react-aria/utils
,@react-stately/overlays
, and@react-types/shared
have been successfully bumped. These updates are in line with the React Spectrum release dated March 5, 2025. Please verify that these new versions are compatible with the rest of the codebase and that any potential breaking changes from the upstream packages are addressed.packages/components/listbox/package.json (1)
49-55
: Consistent Dependency Updates in Listbox
The version bumps for@react-aria/utils
,@react-aria/listbox
,@react-stately/list
,@react-aria/focus
,@react-aria/interactions
,@react-types/menu
, and@react-types/shared
are consistent with the overall update strategy. This should help maintain compatibility across HeroUI components. It is recommended to run integration tests to ensure that no subtle regressions have been introduced by these version updates.packages/components/avatar/package.json (1)
46-48
: Updated Dependencies in Avatar Component
The upgrade of@react-aria/interactions
,@react-aria/focus
, and@react-aria/utils
in this component aligns with the new dependency versions across the project. Please ensure that the Avatar component’s behavior and UI rendering remain fully functional after this bump.packages/components/form/package.json (1)
47-50
: Form Component Dependency Version Bumps
The updated versions for@react-aria/utils
,@react-types/shared
,@react-stately/form
, and@react-types/form
are correctly applied. These updates should keep the form component aligned with the rest of the HeroUI ecosystem. It’s advisable to validate form-related interactions and error handling for any discrepancies post-update.packages/hooks/use-intersection-observer/package.json (1)
37-40
: Intersection Observer Hook Dependency Updates
The dependency updates—bumping@react-aria/utils
to 3.28.0,@react-types/shared
to 3.28.0, and@react-aria/interactions
to 3.24.0—ensure this hook remains up-to-date. Given that@react-aria/ssr
remains unchanged, please double-check that the SSR behavior is not negatively impacted by these modifications.packages/components/select/package.json (1)
56-62
: Review: Dependency Version Bump ConsistencyThe versions for various
@react-aria/*
packages (focus, form, overlays, interactions, utils, visually-hidden, and types/shared) have been updated in a systematic and consistent manner. Verify these updates align with the React Spectrum release details from March 5, 2025 and check for any potential API changes that might affect downstream usage.packages/components/progress/package.json (1)
46-49
: Review: Version Updates in Progress Package DependenciesThe updates to
@react-aria/i18n
,@react-aria/progress
,@react-aria/utils
, and@react-types/progress
are in line with the overall dependency bump strategy. Please ensure that these new versions integrate smoothly with the progress component logic and do not introduce any unexpected breaking changes.packages/components/input-otp/package.json (1)
46-52
: Review: Consistent Dependency Version Updates for Input OTPThe dependency changes for
@react-aria/utils
,@react-aria/form
,@react-stately/form
,@react-types/textfield
, and@react-aria/focus
now reflect the updated versions. These adjustments are consistent with the changes in other packages. Double-check that any API modifications in these dependencies are properly handled within the input-otp implementation.packages/hooks/use-aria-button/package.json (1)
41-45
: Review: Hook Dependency Updates are ConsistentThe updates on
@react-aria/focus
,@react-aria/interactions
,@react-aria/utils
,@react-types/button
, and@react-types/shared
are appropriately applied. Ensure that any integrations in the custom hook remain compatible with the new versions and that no unintended side effects occur.packages/core/system/package.json (1)
59-64
: Review: System Package Dependency UpdatesThe dependency versions for
@react-aria/i18n
,@react-aria/overlays
,@react-aria/utils
, and@react-types/datepicker
have been bumped as part of this update. These changes are consistent with the overall dependency upgrade across the repository. It’s advisable to verify that all internal usages within the system primitives remain compatible with any updated API behaviors.apps/docs/content/docs/components/date-range-picker.mdx (4)
170-172
: Dependency Version Update: Installation Commands (npm, yarn, pnpm)
The installation commands have been updated to include the new version for@react-aria/i18n
(from 3.12.5 to 3.12.6) along with the unchanged version for@internationalized/date
. This update is clear and consistent with the PR objective.
218-220
: Consistent Dependency Version Bump in PackageManagers Block
The commands in this block also reflect the updated dependency version for@react-aria/i18n
. The consistency across different command examples improves documentation clarity.
265-267
: Uniform Update Across Documentation for Package Installation
This PackageManagers block now shows@react-aria/i18n
at version 3.12.6, ensuring that users installing via different package managers receive the correct versions.
285-287
: Final Consistency Check for Installation Commands
The final set of installation commands updates confirms that all references to@react-aria/i18n
are consistently bumped to version 3.12.6. Great job ensuring uniformity.packages/components/dropdown/package.json (1)
49-53
: Dependency Version Bump: Dropdown Package
The dependency versions for@react-aria/focus
,@react-aria/menu
,@react-aria/utils
,@react-stately/menu
, and@react-types/menu
have been updated correctly. Please ensure that these new versions are compatible with the rest of the HeroUI components.packages/hooks/use-aria-link/package.json (1)
41-45
: Updated Dependencies in use-aria-link Package
The updates for@react-aria/focus
,@react-aria/interactions
,@react-aria/utils
,@react-types/link
, and@react-types/shared
correctly reflect the new versions. These changes align with the overall dependency bump strategy.packages/components/card/package.json (1)
48-52
: Card Package Dependency Updates
The dependency updates for@react-aria/focus
,@react-aria/utils
,@react-aria/interactions
,@react-aria/button
, and@react-types/shared
are in line with the version bumps. It may be beneficial to verify that the updated@react-aria/button
(v3.12.0) does not introduce any breaking changes in the card component.packages/components/breadcrumbs/package.json (1)
46-50
: Breadcrumbs Package Dependency Version Updates
The updated dependencies for@react-aria/focus
,@react-aria/breadcrumbs
,@react-aria/utils
,@react-types/breadcrumbs
, and@react-types/shared
are correctly updated to the new versions. This coordinated update should help maintain consistency across the HeroUI library.packages/components/link/package.json (1)
47-50
: Update react-aria dependency versions.
The dependency versions for@react-aria/link
,@react-aria/utils
,@react-aria/focus
, and@react-types/link
have been incremented to their new values as part of the coordinated update. Please ensure that downstream components and API usages remain compatible with these minor version bumps.packages/utilities/aria-utils/package.json (1)
44-48
: Bump versions for react-aria and related dependencies.
The updates to:
"@react-aria/utils": "3.28.0"
,"@react-stately/collections": "3.12.2"
,"@react-stately/overlays": "3.6.14"
,"@react-types/overlays": "3.8.13"
, and"@react-types/shared": "3.28.0"
,
align with the PR objective of keeping dependency versions in sync with the latest releases. Please verify that these changes do not introduce any breaking changes in modules that rely on these packages.apps/docs/content/docs/components/date-picker.mdx (3)
147-149
: Update installation commands for granularity section.
The installation commands now reference@react-aria/i18n@3.12.6
(up from 3.12.5), ensuring that the documentation reflects the updated dependency version accurately.
195-197
: Update installation commands for the international calendar section.
The package manager snippets have been updated to install@react-aria/i18n@3.12.6
. This change aligns the documentation with the latest dependency releases used in the code.
217-219
: Update installation commands for the unavailable dates section.
Similarly, the commands now include@react-aria/i18n@3.12.6
, ensuring consistency in dependency versions across all documentation examples.packages/components/toast/package.json (1)
49-52
: Bump toast-related dependencies to stable and updated versions.
The changes move@react-aria/toast
from a beta (3.0.0-beta.19
) to a stable (3.0.0
) release and update other associated packages (@react-aria/utils
to "3.28.0",@react-aria/interactions
to "3.24.0", and@react-stately/toast
to "3.0.0"). This strengthens the stability of the Toast component.packages/components/chip/package.json (1)
46-49
: Dependency Version Bump VerificationThe versions for
@react-aria/focus
(3.20.0
),@react-aria/interactions
(3.24.0
),@react-aria/utils
(3.28.0
), and@react-types/checkbox
(3.9.2
) have been updated as intended. These minor version bumps are consistent with the coordinated updates across the library. Please double-check against the React Spectrum release notes from March 5, 2025 to ensure that no unforeseen API changes affect the chip component’s functionality.packages/hooks/use-aria-accordion-item/package.json (1)
37-40
: Updated Dependency Versions in Accordion Item HookThe dependency updates for
@react-aria/button
(3.12.0
),@react-aria/focus
(3.20.0
),@react-stately/tree
(3.8.8
), and@react-types/shared
(3.28.0
) are in line with the broader update strategy. Ensure that these changes are fully backward compatible with the internal implementation.packages/components/pagination/package.json (1)
48-51
: Consistent Dependency Updates for PaginationThe updated versions for
@react-aria/focus
(3.20.0
),@react-aria/i18n
(3.12.6
),@react-aria/interactions
(3.24.0
), and@react-aria/utils
(3.28.0
) are implemented correctly and align with the improvements made in other components. Please verify that the new@react-aria/i18n
version integrates seamlessly with the pagination logic.packages/components/button/package.json (1)
49-54
: Alignment of Button Component DependenciesThe dependency bumps for
@react-aria/button
(3.12.0
),@react-aria/interactions
(3.24.0
),@react-aria/utils
(3.28.0
),@react-aria/focus
(3.20.0
),@react-types/shared
(3.28.0
), and@react-types/button
(3.11.0
) are consistent and help maintain uniformity across the component library. No issues are observed here; just ensure to test the button’s interactive behavior post-upgrade.packages/components/input/package.json (1)
48-54
: Input Component Dependency UpdatesThe updates for
@react-aria/focus
(3.20.0
),@react-aria/interactions
(3.24.0
),@react-aria/textfield
(3.17.0
),@react-aria/utils
(3.28.0
),@react-types/shared
(3.28.0
), and@react-types/textfield
(3.12.0
) are correctly applied and match the coordinated version bump strategy across HeroUI components. It would be beneficial to run compatibility tests to confirm that these newer versions do not alter the expected input behavior.packages/components/navbar/package.json (1)
49-54
: Dependency Version Updates Verified
The updated dependency versions for react-aria packages (e.g.,"@react-aria/focus": "3.20.0"
,"@react-aria/interactions": "3.24.0"
, etc.) are correctly bumped in alignment with the PR’s objective. Please ensure that these new versions do not introduce any breaking changes within the Navbar component.packages/hooks/use-aria-accordion/package.json (1)
37-43
: Consistent Dependency Bump for React Aria Hooks
The dependency updates for"@react-aria/button"
,"@react-aria/focus"
,"@react-aria/selection"
,"@react-aria/utils"
, and"@react-stately/tree"
(as well as"@react-types/shared"
) are updated to their newer versions, which is consistent with the overall update strategy. Verify that the use of an alpha version for"@react-types/accordion"
is intentional and does not affect stability.packages/components/tabs/package.json (1)
50-56
: Tabs Component Dependency Updates Check
The dependency version updates across the Tabs component—such as"@react-aria/focus": "3.20.0"
,"@react-aria/tabs": "3.10.0"
, and corresponding updates for interactions, utils, and react types—are uniformly applied. Ensure that these updates remain compatible with the component’s implementation and that integration tests pass with the new versions.packages/components/slider/package.json (1)
46-52
: Slider Dependencies Version Bump Confirmed
The upgrades for dependencies in the Slider component—including"@react-aria/focus": "3.20.0"
,"@react-aria/i18n": "3.12.6"
,"@react-aria/interactions": "3.24.0"
,"@react-aria/slider": "3.7.16"
, and others—appear correctly applied. Please double-check that any behavior adjustments in these updated libraries have been accounted for in your component tests.packages/components/date-picker/package.json (1)
54-61
: Date-Picker Dependency Version Synchronization
The updates in the Date-Picker package for libraries such as"@react-aria/datepicker": "3.14.0"
,"@react-aria/i18n": "3.12.6"
,"@react-aria/utils": "3.28.0"
, along with the related stately and types packages, are well-aligned with the overall dependency bump strategy. It is advisable to run comprehensive UI and integration tests to confirm that the new versions integrate seamlessly with the Date-Picker’s functionality.packages/components/tooltip/package.json (1)
50-56
: Dependency Version Bump VerificationThe updated versions for the React Aria and related dependencies (interactions, overlays, tooltip, utils, stasely, and types) look consistent with the intended bump. Please ensure these upgrades have been validated against the React Spectrum release notes (dated March 5, 2025) and that there are no unintended API changes.
packages/components/switch/package.json (1)
46-52
: React Aria Dependencies UpdateThe dependency versions for React Aria (focus, interactions, switch, utils, visually-hidden) and React Stately (toggle) along with react-types have been updated appropriately. Verify that these updated versions do not introduce breaking changes or unintended behaviors in the Switch component.
packages/components/radio/package.json (1)
46-53
: Consistent Upgrade of React Aria & Related DependenciesThe dependency updates for React Aria (focus, interactions, radio, utils, visually-hidden) and related libraries (react-stately, react-types) have been applied as part of the bump. Ensure that these versions are compatible with the component’s implementation and that integration tests cover any potential API changes.
packages/hooks/use-aria-multiselect/package.json (1)
37-50
: Upgraded React Aria and React Stately DependenciesAll the dependency versions for React Aria (i18n, interactions, label, listbox, menu, selection, utils) and React Stately (form, list, menu) as well as React Types (button, overlays, select, shared) have been systematically updated. Please check that these changes are fully compatible with the hook’s functionality and that no breaking changes have been introduced.
packages/components/menu/package.json (1)
48-55
: React Aria & Related Dependencies UpgradeThe bump for React Aria (focus, interactions, menu, utils) and the related dependencies (React Stately for menu and tree, React Types for menu and shared) has been implemented consistently with the overall update strategy. It’s recommended to confirm that these dependency upgrades align with the documented changes in React Spectrum and pass all integration tests.
apps/docs/content/docs/components/date-input.mdx (2)
132-134
: Consistent Dependency Version Bump in Installation Commands.
The installation commands for npm, yarn, and pnpm have been updated to include@react-aria/i18n@3.12.6
, ensuring that users install the latest version as intended. Please ensure these changes remain aligned with the root dependency updates.
180-182
: Verified Version Consistency in Documentation.
The updated installation commands in the “International Calendar” section correctly reflect the new dependency version for@react-aria/i18n
. This maintains consistency across the documentation.packages/components/popover/package.json (1)
52-59
: Dependency Version Updates for Popover Verified.
The bumps for@react-aria/dialog
(3.5.22),@react-aria/focus
(3.20.0),@react-aria/interactions
(3.24.0),@react-aria/overlays
(3.26.0),@react-aria/utils
(3.28.0),@react-stately/overlays
(3.6.14),@react-types/button
(3.11.0), and@react-types/overlays
(3.8.13) are in line with the latest releases and should help maintain compatibility with the HeroUI updates.packages/components/checkbox/package.json (1)
48-56
: Updated React-Aria and React-Stately Dependencies.
The dependency versions for@react-aria/checkbox
,@react-aria/focus
,@react-aria/interactions
,@react-aria/utils
,@react-aria/visually-hidden
,@react-stately/checkbox
,@react-stately/toggle
,@react-types/checkbox
, and@react-types/shared
have been bumped consistently. This update should improve stability and feature support.packages/components/date-input/package.json (1)
47-52
: Date-Input Dependency Updates are Correct.
The upgrades for@react-aria/datepicker
(3.14.0),@react-aria/i18n
(3.12.6),@react-stately/datepicker
(3.13.0),@react-types/datepicker
(3.11.0),@react-types/shared
(3.28.0), and@react-aria/utils
(3.28.0) have been applied as per the updated specifications. Ensure that any component logic relying on these packages is tested against the new versions.packages/components/number-input/package.json (1)
51-60
: Number-Input Dependency Versions are in Sync.
The version bumps for@react-aria/focus
(3.20.0),@react-aria/i18n
(3.12.6),@react-aria/interactions
(3.24.0),@react-aria/numberfield
(3.11.11),@react-aria/utils
(3.28.0),@react-stately/numberfield
(3.9.10),@react-types/shared
(3.28.0),@react-types/numberfield
(3.8.9), and@react-types/button
(3.11.0) have been updated as required. Please verify that the component behavior remains unaffected with these dependency changes.packages/components/modal/package.json (1)
53-59
: React-Aria & React-Stately Dependency Versions Updated
The dependency versions for react-aria and react-stately packages (e.g. "@react-aria/dialog" to "3.5.22", "@react-aria/focus" to "3.20.0", etc.) have been updated consistently. Please ensure that any API changes or migration notes from the React Spectrum release (March 5, 2025) are reviewed and documented for downstream consumers.packages/components/calendar/package.json (1)
52-62
: Consistent Update for Calendar Dependencies
The updates for react-aria dependencies (e.g. "@react-aria/calendar" to "3.7.1", "@react-aria/i18n" to "3.12.6", and others) are applied uniformly. Confirm that the calendar component’s functionality is fully tested against these upgraded versions, especially if there are any subtle behavioral changes noted in the release notes.packages/components/table/package.json (1)
48-56
: Table Component Dependency Bumps Verified
The version bumps for @react-aria and @react-stately packages (including "@react-aria/focus" to "3.20.0", "@react-aria/table" to "3.17.0", etc.) are in line with the overall update strategy. It is recommended to double-check that the table component’s integrations with these APIs remain unaffected.packages/components/autocomplete/package.json (1)
57-65
: Autocomplete Dependencies Updated Successfully
The dependency updates for react-aria and react-stately (such as "@react-aria/combobox" to "3.12.0", "@react-aria/focus" to "3.20.0", and others) look correct. Please validate that the autocomplete component’s interactions with these libraries are verified, particularly regarding any new or deprecated behaviors.apps/docs/package.json (2)
43-53
: Documentation Site Dependency Updates Reviewed
The main dependency section now includes updated versions for multiple react-aria packages (e.g. "@react-aria/focus" to "3.20.0", "@react-aria/interactions" to "3.24.0", etc.). Ensure that documentation examples and live demos operate correctly with these updates.
114-116
: DevDependencies Type Packages Synchronized
The devDependencies now update the react types (e.g. "@react-types/calendar" to "3.6.1", "@react-types/datepicker" to "3.11.0", and "@react-types/shared" to "3.28.0"). It is advisable to run a complete type-check and build to confirm that these changes integrate seamlessly..changeset/witty-gorillas-think.md (1)
1-54
: Ensure Consistency of Dependency Patch Updates
The patch update entries for numerous@heroui
components are clearly listed. Please verify that these updates align with the intended dependency bump strategy. If applicable, consider including additional version context or rationale for these changes in the changelog for future reference.
@heroui/alert
@heroui/accordion
@heroui/autocomplete
@heroui/avatar
@heroui/badge
@heroui/breadcrumbs
@heroui/button
@heroui/calendar
@heroui/card
@heroui/checkbox
@heroui/chip
@heroui/code
@heroui/date-input
@heroui/date-picker
@heroui/divider
@heroui/drawer
@heroui/dropdown
@heroui/form
@heroui/image
@heroui/input
@heroui/input-otp
@heroui/kbd
@heroui/link
@heroui/listbox
@heroui/menu
@heroui/modal
@heroui/navbar
@heroui/number-input
@heroui/pagination
@heroui/popover
@heroui/progress
@heroui/radio
@heroui/ripple
@heroui/scroll-shadow
@heroui/select
@heroui/skeleton
@heroui/slider
@heroui/snippet
@heroui/spacer
@heroui/spinner
@heroui/switch
@heroui/table
@heroui/tabs
@heroui/toast
@heroui/tooltip
@heroui/user
@heroui/react
@heroui/system
@heroui/system-rsc
@heroui/theme
@heroui/use-aria-accordion
@heroui/use-aria-accordion-item
@heroui/use-aria-button
@heroui/use-aria-link
@heroui/use-aria-modal-overlay
@heroui/use-aria-multiselect
@heroui/use-callback-ref
@heroui/use-clipboard
@heroui/use-data-scroll-overflow
@heroui/use-disclosure
@heroui/use-draggable
@heroui/use-image
@heroui/use-infinite-scroll
@heroui/use-intersection-observer
@heroui/use-is-mobile
@heroui/use-is-mounted
@heroui/use-measure
@heroui/use-pagination
@heroui/use-real-shape
@heroui/use-ref-state
@heroui/use-resize
@heroui/use-safe-layout-effect
@heroui/use-scroll-position
@heroui/use-ssr
@heroui/use-theme
@heroui/use-update-effect
@heroui/aria-utils
@heroui/dom-animation
@heroui/framer-utils
@heroui/react-rsc-utils
@heroui/react-utils
@heroui/shared-icons
@heroui/shared-utils
@heroui/stories-utils
@heroui/test-utils
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (3)
packages/components/popover/src/popover-trigger.tsx (1)
50-54
: Avoid using delete operator for better performanceWhile the logic to prevent passing
preventFocusOnPress
to non-HeroUI Button components is correct, using thedelete
operator can impact performance.Consider using a more performant approach:
- if (!hasHeroUIButton) { - // delete `preventFocusOnPress` introduced from useMenuTrigger - // to avoid passing it to non-HeroUI Button components - delete restProps["preventFocusOnPress"]; - } + const finalRestProps = {...restProps}; + if (!hasHeroUIButton) { + // remove `preventFocusOnPress` introduced from useMenuTrigger + // to avoid passing it to non-HeroUI Button components + finalRestProps.preventFocusOnPress = undefined; + }Then use
finalRestProps
in thecloneElement
call below.🧰 Tools
🪛 Biome (1.9.4)
[error] 53-53: Avoid the delete operator which can impact performance.
Unsafe fix: Use an undefined assignment instead.
(lint/performance/noDelete)
packages/components/toast/src/toast-provider.tsx (2)
22-32
: Improved transition handling with View Transitions APIThe addition of the
wrapUpdate
function enhances the toast transitions by leveraging the View Transitions API when available. This provides smoother visual transitions between UI states, with proper fallback for browsers without support.
70-70
: Simplified toast addition logicThe code now directly passes props to
globalToastQueue.add()
instead of creating an intermediate object with priority, making the implementation cleaner.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (12)
apps/docs/content/docs/components/toast.mdx
(0 hunks)packages/components/calendar/__tests__/range-calendar.test.tsx
(4 hunks)packages/components/date-picker/__tests__/date-picker.test.tsx
(2 hunks)packages/components/popover/__tests__/popover.test.tsx
(1 hunks)packages/components/popover/src/popover-trigger.tsx
(1 hunks)packages/components/popover/src/use-aria-popover.ts
(5 hunks)packages/components/toast/src/toast-provider.tsx
(3 hunks)packages/components/toast/src/use-toast.ts
(1 hunks)packages/hooks/use-aria-button/src/index.ts
(1 hunks)packages/utilities/aria-utils/src/index.ts
(1 hunks)packages/utilities/aria-utils/src/overlays/ariaHideOutside.ts
(3 hunks)packages/utilities/aria-utils/src/overlays/index.ts
(1 hunks)
💤 Files with no reviewable changes (1)
- apps/docs/content/docs/components/toast.mdx
🚧 Files skipped from review as they are similar to previous changes (1)
- packages/hooks/use-aria-button/src/index.ts
🧰 Additional context used
🪛 Biome (1.9.4)
packages/components/popover/src/popover-trigger.tsx
[error] 53-53: Avoid the delete operator which can impact performance.
Unsafe fix: Use an undefined assignment instead.
(lint/performance/noDelete)
🔇 Additional comments (19)
packages/components/date-picker/__tests__/date-picker.test.tsx (2)
386-394
: Improved event handling with user-event libraryThe change from
triggerPress(button)
toawait user.click(button)
aligns with modern testing practices by using the user-event library, which better simulates real user interactions. The added assertions for the spy functions ensure proper event behavior is maintained after this refactoring.
415-423
: Comprehensive event handling verificationThese added assertions strengthen the test by explicitly verifying the expected behavior of focus/blur events when interacting with the date picker. This ensures that event handling still works correctly after the React Aria upgrade.
packages/components/calendar/__tests__/range-calendar.test.tsx (4)
5-6
: Updated imports to support user-event testingAdding
pointerMap
from test-utils and importinguserEvent
enables more realistic user interaction simulations, which aligns with the React Aria version upgrades mentioned in the PR description.
29-33
: Proper user-event setup for consistent testingSetting up the userEvent in beforeAll with the pointerMap configuration ensures consistent behavior across all tests. This is a good practice when transitioning to the user-event library.
203-203
: Switched to asynchronous event handlingThe change from
triggerPress(nextButton)
toawait user.click(nextButton)
improves test reliability by using the more realistic user-event library, ensuring that asynchronous DOM updates complete before assertions.
240-240
: Consistent event handling approachThis change maintains consistency with the testing approach used throughout the file, properly awaiting the result of user interactions before making assertions.
packages/utilities/aria-utils/src/index.ts (1)
8-17
: Looks good - keepVisible properly exportedThe addition of
keepVisible
to the exports from the overlays module extends the API appropriately, making this visibility management utility available to consumers.packages/utilities/aria-utils/src/overlays/index.ts (1)
11-11
: Export implementation is correctThe addition of
keepVisible
to the export statement alongsideariaHideOutside
follows the established pattern in this file.packages/components/popover/__tests__/popover.test.tsx (1)
257-259
: Test updated to use pointer events instead of click eventsThe test has been updated to use pointer events via
user.pointer()
instead ofuser.click()
. This change aligns with the React Aria updates mentioned in the PR objectives, specifically the major refactoring of the usePress hook.The updated test approach more accurately reflects how React Aria handles user interactions in the latest version.
packages/components/popover/src/use-aria-popover.ts (6)
12-12
: Added new keepVisible import from aria-utilsThis import enables enhanced control over element visibility in overlays.
66-67
: Added groupRef parameter to handle group-related operationsThe new
groupRef
parameter allows for better control over popover visibility within groups.
89-90
: Added submenu detectionThe code now identifies if the popover is being used as a submenu based on the trigger type.
96-96
: Enhanced dismissible behavior for submenusThe popover will now be dismissible if either the
isDismissable
prop is true or if it's being used as a submenu, improving the user experience for hierarchical menus.
122-122
: Refined onClose logic for scrollingThe popover will now only close on scroll if it's non-modal, not a submenu, and
shouldCloseOnScroll
is true. This prevents submenus from unexpectedly closing when scrolling.
132-139
: Improved visibility control with keepVisible functionThe visibility handling has been enhanced to use the new
keepVisible
function for non-modal popovers, falling back toariaHideOutside
for modal popovers. This provides more granular control over which elements remain visible.packages/utilities/aria-utils/src/overlays/ariaHideOutside.ts (3)
10-11
: Added visibility tracking properties to ObserverWrapperThe interface now includes
visibleNodes
andhiddenNodes
Sets to track element visibility states.
138-140
: Updated observerWrapper to include visibility trackingThe observerWrapper now maintains sets of visible and hidden nodes, enabling more sophisticated overlay visibility management.
181-191
: Added keepVisible utility functionThis new function allows specific elements to remain visible even when they would normally be hidden by the aria-hidden mechanism. It provides a clean way to exempt elements from being hidden and includes proper cleanup.
packages/components/toast/src/use-toast.ts (1)
405-405
: Simplified dependency array for getToastPropsThe dependency array has been streamlined by removing dependencies related to animation states, which aligns with the broader changes to simplify the toast animation handling.
* chore: org name change (#4596) * chore: update brand name (#4600) * fix(calendar): function components cannot be given refs (#4614) * docs(modal): fix small typos and add clarifying language (#4629) * chore(deps): bump RA versions (#4611) * chore(deps): bump RA versions * chore(deps): bump @internationalized/date * chore(docs): update RA versions * chore(docs): update versions * chore(docs): use string type * chore(deps): update @react-types versions * refactor(docs): undo version change since they will be removed in another PR * feat: tailwind variants upgrade (#4386) * feat: tailwind variants upgrade * chore: restore npmrc * chore: adjust pkgs * fix: versions * fix: lock file * chore(changeset): update package name * chore(deps): use fixed version * fix(test): incorrect package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * feat: add fn win alt keys (#4638) * feat: add new keys * feat: add new keys * chore: update docs & storybook as well --------- Co-authored-by: WK Wong <wingkwong.code@gmail.com> * fix(use-image): load images after props change (#4523) * fix(use-image): load image after props change * chore(changeset): add changeset * refactor(use-image): remove unused props * feat(use-image): add test case * fix(use-image): apply useCallback to load & remove status check * chore(changeset): update package name * feat: global labelPlacement prop (#4346) * feat: adding the support for labelPlacement globally * chore: reafctoring * chore: updating the dependency * chore(changeset): update package name * chore: adding Marcus's suggestions --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * fix(form): use native as default validation behavior (#4425) * fix(form): use native as default validation behavior * docs(form): delete explicit validationBehavior=native * test(form): adjusted form test validation behaviors * chore(form): adjusted stories with forms * chore(changeset): changed form default validation behavior to native * chore(changeset): removed packages with only test changes * chore(changeset): change to patch * chore(changeset): update package name * refactor(docs): update package name * refactor(docs): update to heroui --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * feat(spinner): new spinner variants (#4555) * refactor(spinner): add default variant * feature(spinner): add gradient variant * feature(spinner): add dots variant * feature(spinner): add dots-blink variant * feature(spinner): add spinner-bars * chore(spinner): add variants storybook * chore: adding variants to docs * chore: simplyfying the styles and modifying docs * chore: nits * chore: updating the dots and dots-blink animation * chore: nits * chore: adding Marcus' suggestions * chore: adding Marcus's suggestions * chore: adding junior's suggestions --------- Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com> * fix: rename wrapper to tab wrapper (#4636) * fix: rename wrapper to tab wrapper * docs: update * docs: update * docs: update * fix: rename wrapper to tab wrapper * refactor: remove feature request from issue template (#4661) * refactor(.github): remove feature request template * refactor(.github): add a link to redirect to discussion (feature request category) * docs(table): include TS examples to show Selection type usage (#4793) * fix(listbox): unexpected scrollShadow on virtualized listbox (#4784) * fix(listbox): add scroll height & scroll top to listbox * fix(use-data-scroll-overflow): handle scrollHeight & scrollTop in virtualization * chore(changeset): add changeset * refactor(theme): replace left & right by start & end to support RTL (#4782) * fix(date-picker): deprecate dateInputClassNames (#4780) * chore(date-picker): add missing slots comments * fix(date-picker): remove dateInputClassNames * fix(date-picker): use classNames instead of dateInputClassNames * chore(docs): add missing attributes * fix(date-picker): use classNames instead of dateInputClassNames * feat(changeset): add changeset * fix(docs): broken type * refactor(navbar): remove dropdown menu width (#4757) * refactor: remove dropdown menu width * refactor: shorter description * refactor: rename instances of NextUI to Hero UI (#4645) * docs: use the correct org for `img.shields.io` license in README * docs: update opencollective org name * docs: use correct org name in site footer * docs: update image urls for heroui pro sections * docs: update laravel installation keywords in route config * docs: add `heroui` tag to `Introducing HeroUI` blog post * fix: use correct names in `plop/components/src` templates * chore: add empty changeset * fix: revert image urls back to `nextuipro.nyc3.cdn.digitaloceanspaces...` * chore: undo footer change * chore: update incorrect brand name * chore(docs): nextui -> heroui --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * fix(input): missing clear button with file input type (#4599) * fix(theme): sync with input theme on labelPlacement (#4597) * fix(theme): sync with input theme on labelPlacement * chore(select): revise width for labelPlacement * chore(changeset): add changeset * test(input): input interaction tests (#4579) * test(input): user interaction tests * test(input): missing act wrappers --------- Co-authored-by: WK Wong <wingkwong.code@gmail.com> * fix(calendar): rtl navigation (#4565) * fix(calendar): rtl navigation * chore(changeset): fixed reverse behavior of NextButton and PrevButton in the RTL calendar * chore(changeset): update package name * refactor(calendar): prefer isRTL and use className in theme package instead * chore(changeset): add theme package as well * chore(calendar): add min theme package to 2.4.7 --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * refactor: remove unnecessary className passing to tv and make naming consistent (#4558) * refactor: remove unnecessary className passing to tv * refactor(button): move styles to getButtonProps * refactor: rename classNames to styles to keep the naming consistent * fix: deprecation warning triggered by internal onClick (#4557) * fix(use-aria-link): onClick deprecation warning * fix(use-aria-button): onClick deprecation warning * feat(changeset): add changeset * fix(use-aria-button): incorrect prop name * chore(changeset): update package name * ci: add pkg pr new (#4540) * ci: add pkg pr new * ci: add pkg pr new * chore(workflow): update repo name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * chore(docs): remove shouldBlockScroll prop in Tooltip page (#4539) * fix(use-pagination): controlled page after delay (#4536) * fix(use-pagination): add page to dependency for scrollTo * feat(changeset): add changeset * chore(changeset): update package name * fix(tooltip): accessing element.ref was removed in React 19 issue (#4531) * fix(tooltip): accessing element.ref was removed in React 19 issue * chore(changeset): update package name * fix: correctly dismissable default value (#4524) * fix: correctly dismissable default value * fix: correctly dismissable default value * chore(changeset): update package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * fix(theme): input height in innerWrapper in Select (#4512) * fix(select): fix input height #4321 * chore(select): changed package name in changeset to theme * chore(select): updated changeset message * chore(changeset): update package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * fix: inert value in next15 (#4491) * feat: add post install * feat: add postinstall * feat: add postinstall * fix: type * fix: type * fix: next version * chore(changeset): update package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * refactor: remove cursor-hit in hiddenInputClasses (#4474) * refactor: remove cursor-hit in hiddenInputClasses * Create lazy-ants-exercise.md * chore(changeset): update package name --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * feat(table): virtualization (#4285) * feat: baseline virtualization for table * merge branch canary * fix: table layout * fix: calc header height w layouteffect to offset padding * Merge branch 'canary' into feat/eng-1633-virtualization-for-table * chore: remove unused files and comments * chore: add missing package * feat: add shouldVirtualize conditional to render virtualized-table * feat: update docs for table * feat: use wrapper to support theme styles * chore: add changeset * chore(changeset): update package name * chore(deps): pnpm-lock.yaml * fix(table): outdated package name * chore(changeset): add issue number * fix(deps): keep the version consistent with other components * fix(table): incorrect displayName * refactor(table): use VirtualizedTemplate * chore(deps): bump `@tanstack/react-virtua` * chore(deps): typecheck issue * fix(table): do not use any type * chore: remove auto virtualization --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> * feat(toast): introduce Toast component (#4437) * feat: initial commit * chore: adding the animation * chore: nits * chore: fixes and adding draft1 of stories * chore: adding the docs draft * chore: adding the swiping interaction for toast removal * chore: adding the tests * fix: improving the progress bar logix * chore: refactoring and refining the animations * fix: making the animations compatible with the positons * chore: fixing the styles * chore: modifying the animations * chore: improving the animations * chore: adding the decorator to the story-book * chore: fixing the animations and positions * fix: handle expand region on touch * feat: adding the promises support * chore: updating the styles * chore: improving styles * chore: styles correction * fix: adding junior's suggestions * chore: correcting styles * fix: fixing the timer behavior * chore: adding the spinner to the toast * chore: full width for mobile * chore: modifying styles * chore: fixing the positions on smaller devices * chore: adding story with description * chore: adding credits for sonner * fix: adding junior's suggestions * chore: adding the exit animation * fix: adding junior's suggestions * chore: improving the swipe animations * fix: fixing the swipe animations on touch * chore: adding tests * chore: adding swipe threshild and initial position variable * fix: fixing autoclose in timeout * chore: modifying the docs * chore: fixing the conflict * chore: adding marcus' suggestions * chore: adding the bottom animations * chore: modying docs * chore: removing nextui references * chore: adding info about the provider * chore: updating the docs * chore: versions in package.json * chore: nits * chore: adding junior's suggestions * chore: nits * fix: applying junior's suggestions * chore: adding junior's suggestions * chore: using domMax * fix: adding Marcus's suggestions * chore: add global toast props and custom close icon * chore: adding the defaultTimout provider prop * chore: modifying defaultTimeout * chore: nits * fix: adding Marcus' suggestions * chore: fixing bg * chore(deps): bump RA deps * fix: fixing the color discrepancy due to the timer * chore: moving the kapan ai to the left side * refactor(toast): update author * chore: nit * chore: improvements * chore: updating the solid variant --------- Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> Co-authored-by: WK Wong <wingkwong.code@gmail.com> * fix(docs): correct Tab usage example (#4821) * chore(docs): add note itemHeight for virtualization (#4822) * chore(docs): add note itemHeight for virtualization * fix: format * fix(docs): fix horizontal scrolling example in scroll-shadow (#4820) * refactor: update author in package.json (#4800) * feat(button): export PressEvent for onPress event typing (#4819) * fix(docs): failed to install dependencies in StackBlitz (#4639) * chore(Docs): remove step 2 from "Using use-theme-hook" (#4797) * fix(docs): incorrect code Modal placement (#4652) * docs: update DatePicker example to remove "time" label as time selection is not supported in this example (#4443) * feat(button): export PressEvent for onPress event typing * revert unnecessary changes * chore: format --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> Co-authored-by: Praharsh Bhatt <30700808+praharshbhatt@users.noreply.github.com> * fix(listbox): pass missing press events to usePress (#4812) * fix(listbox): pass missing press events to usePress * feat(listbox): add test case for press event * chore(changeset): add changeset * fix(checkbox): inherit stroke in CheckboxIcon (#4811) * fix: `SelectItem`, `ListboxItem`, and `AutocompleteItem` not to accept `value` props (#4653) * fix(select): `SelectItem` does not accept value props * refactor: do not use the index as `key` * Update .changeset/light-hairs-draw.md * chore: remove unnecessary `value` props * chore: update changeset * refactor: remove unnecessary value prop --------- Co-authored-by: WK Wong <wingkwong.code@gmail.com> * fix: pkg package scope (#4823) * fix: pkg package scope * fix: pkg package scope * fix: pkg package scope * fix(theme): border radius in Table when isMultiSelectable (#4808) * fix(theme): border radius in Table when isMultiSelectable * chore(theme): added changeset (#4807) * chore: removing the kapa ai for toast doc page (#4833) * fix(accordion): add data-slot attributes to accordion (#4832) * fix(accordion): add data-slot attributes to accordion * chore --------- Co-authored-by: Hovannes Markarian <hovannes.markarian@socrate.fr> Co-authored-by: աӄա <wingkwong.code@gmail.com> * chore(docs): update versions (#4836) * docs(themes): adding theme generator (#4626) * chore: adding xylish's contributions + modifying styles * chore: nextui to heroui * chore: colors in theme generator * chore: radiuses, disable-opacity * chore: fixing the configuration box styles * chore: adding the showcase elemtents * chore: modifying styles * chore: adding the fonts * chore: adding the scaling * chore: removing the calendar * feat: adding the border-width * chore: modifying style for mobile * chore: modifying the styles * chore: removing the NextUI references + small bug fix * chore: adding coderabits reviews * fix: borderWidth not getting applied on breadcrumbs and input * chore: rebasing * chore: modifying the styles * chore: updating the styles for the smaller devices * chore: refactoring * chore: improvements * chore: making the fonts workable * chore: making the fonts workable * chore: modifying the swatch according to the theme * chore: adding the default selected template * chore: modifying mobile styles * chore: fixing the popover * chore: nit * fix: fixing the select styles * chore: modifying the mobile styles * chore: modifying the styles * fix: adding junior's suggestions * fix: fixing the breadcrumb * fix: adding junior's suggestions * feat: introduce NumberInput (#4475) * feat(number-field): init structure * feat(deps): add `@nextui-org/button` & `@react-types/button` * feat(theme): export number-field * feat(number-field): storybook init structure * feat(number-field): add NumberFieldHorizontalStepper * feat(number-field): add NumberFieldHorizontalStepper * feat(theme): init number field theme * feat(number-field): number-field draft * refactor(number-field): revise stepper icons * feat(shared-icons): add ChevronLeftIcon * feat(theme): stepperButton styles * feat(theme): number-field styles * fix(number-field): label layout * feat(number-field): vertical stepper wrapper * feat(number-field): use-number-field (wip) * feat(number-field): add data-direction * feat(theme): center the text if it is horizontal stepper * feat(number-field): add HorizontalStepper * feat(number-field): add HideStepper * chore(number-field): revise minValue & defaultValue * feat(docs): init number field structure * fix(theme): outside-left styles * refactor(theme): remove labelPlacement styles * refactor(number-field): remove labelContent logic * refactor(number-field): remove labelPlacement args * feat(number-field): helper text * feat(number-field): revise number field stories * feat(number-field): description * refactor(number-field): revise number field stories * feat(theme): numberFieldLabelClasses * fix(number-field): incorrect button props * fix(number-field): typing issue on stepper buttons * chore(number-field): add aria-label * refactor(number-field): merge props * fix(number-field): pass originalProps instead * chore(number-field): revise Required story args * feat(number-field): add WithStepValue & WithWheelDisabled & revise stories * chore(number-field): add label to Required * feat(docs): number-field doc page * fix(number-field): typing issue * fix(number-field): test cases * fix(number-field): user.keyboard & defaultValue * fix(number-field): should work with defaultValues * chore(number-field): add type: number * chore(number-field): remove hidden related code * fix(number-field): numeric value * chore(changeset): add changeset * feat(deps): add "@nextui-org/number-field" to docs * feat(react): export `@nextui-org/number-field` * feat(changeset): add @nextui-org/react * feat(docs): number-field examples * chore(number-field): use text instead * refactor(number-field): remove unnecessary filled-within * fix(number-field): test case * chore(number-field): remove aria-label for stepper buttons * feat(docs): add incrementAriaLabel & decrementAriaLabel to NumberField * chore(number-field): reorder WithFormatOptions * fix(deps): update number-field's peerDependencies & dependencies * feat(number-field): hidden input for holding numeric vaule * fix(docs): number field title * feat(docs): add format options to number field * chore(docs): revise number field content * chore(number-field): add type to useDOMRef * fix(number-field): clear button * fix(theme): clear button styles * refactor(theme): stepper button styles * chore(number-field): accept stepperButton class * fix(theme): helper wrapper padding * feat(deps): add `@react-aria/i18n` * fix(number-field): use locale from `@react-aria/i18n` * fix(deps): dependency order * fix(docs): incorrect command * chore(docs): remove type=number * chore(theme): add padding to stepper wrapper * fix(number-field): avoid resetting value * fix(number-field): storybook * chore(docs): remove custom impl * chore(docs): update docs code & content * chore(number-field): migrate to heroui * chore(number-field): migrate to heroui * chore(number-field): migrate to heroui * chore: rename to number input * fix(number-input): incorrect import * chore(docs): rename to number input * chore: change to number input * refactor(number-input): change label to amount * fix(docs): use heroui commands * chore(changeset): update package name * refactor(number-input): remove steps * refactor: remove helper text * feat(number-input): label placement * refactor(number-input): rename stepper * fix(theme): isClearable * feat(docs): add label placements * refactor(docs): update number-input content * fix(docs): incorrect file * feat(docs): add lablePlacement * refactor(docs): remove labelPlacement & startContent * refactor(docs): remove helperText * refactor(docs): remove helperText * refactor(docs): revise description * feat(number-input): add data-slot for stepper-wrapper * fix(number-input): test cases * fix(docs): unexpected change * refactor(number-input): update outdated info * fix(docs): coderabbitai comments * refactor: remove validationState * fix(docs): typo * chore(deps): remove unnecessary dep * chore(deps): bump RA versions * chore(number-input): apply latest labelPlacement change * refactor(number-input): update author * refactor(number-input): revise stepper wrapper alignment * refactor(number-input): stepper button styles * chore(number-input): add disableRipple * fix(theme): increase stepper button click area * fix(number-input): sync latest validationBehavior changes * fix(number-input): pass validationBehavior to useAriaNumberInput * chore(docs): add import react * chore(number-input): remove HorizontalStepper story * chore(number-input): enable ripple * fix(number-input): remove number type * refactor(theme): follow input clear button styles * feat(theme): add color for stepperButton * fix(theme): revise stepperButton size for outside & outside-left cases * fix(number-input): typo * chore(docs): update description for wheel * chore(theme): change opacity when pressed * chore(number-input): add disableRipple * Update .changeset/witty-flies-reflect.md * fix(theme): add hover opacity effect --------- Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> * chore(docs): revised tags in doc routes for 2.7.0 (#4777) * chore(docs): remove last version update tags * chore(docs): add updated tag for 2.7.0 * chore(docs): updated table * chore(docs): update search meta * chore(docs): update github info * Merge branch 'canary' into docs/eng-2003 * chore(docs): update routes.json * chore(docs): update meta info * chore: improve theme builder * v2.7.0 * chore: v2.7.0 combined changeset * fix: changeset * fix: peer deps * feat: toast api improved * chore: toast styles improved * fix: toast styles * chore: toast width style changed * fix: changeset release * fix: changeset peerdeps * chore: toast styles improved * refactor(pagination): rtl (#4843) * refactor(pagination): rtl * chore(changeset): add changeset * feat: new spinner variant * fix(docs): popover shouldBlockScroll default value (#4851) * fix(select): select scroll content will close immediately when popover on click (#4849) * chore(select): update select deps * fix(select): select scroll content will close immediately when popover on click * chore(select): add .changeset file * chore(changeset): add issue number --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> * feat(calendar): add firstDayOfWeek (#4852) * feat(calendar): add firstDayOfWeek * feat(docs): add firstDayOfWeek in Calendar docs * feat(calendar): add firstDayOfWeek to range calendar * feat(docs): add firstDayOfWeek to API table * feat: add firstDayOfWeek to date picker & date range picker * feat(docs): add firstDayOfWeek * feat(changeset): add changeset * feat: add firstDayOfWeek option in storybook * feat(docs): export firstDayOfWeek * chore(docs): update title * chore: spinner variants updated * feat: v2.7.0 blog * ci(changesets): version packages (#4601) Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> * chore: manual release * fix(toast): fixing maxVisibleToasts, solid variant promise, promise timer (#4881) * fix: maxVisibleToasts functionality * chore: adding the changeset * fix: starting the toast timer when the promise is resolved * fix: spinner invisible in solid variants * fix(toast): shouldShowTimeoutProgess typo (#4858) * fix(toast): shouldShowTimeoutProgess typo * fix(toast): shouldShowTimeoutProgess typo * fix(select): pass form prop to hidden-select (#4854) * fix(select): pass form prop to hidden-select * chore(select): changeset * fix(spinner): Attempted to call useProviderContext() from the server (#4904) * fix(spinner): add banner in tsup.config.ts * chore(changeset): add changeset * chore(docs): update breaking changes in blog * chore(docs): handled in PR4905 * fix(number-input): onChange event in number input (#4907) * fix(number-input): onChange event in number input * chore(number-input): remove duplicate test case * fix(breadcrumb): broken start & end content (#4921) (#4922) * refactor: build process (#4909) * chore: update component description * chore: exclude stories-utils & test-utils * chore(utilities): remove unused info * chore(deps): pnpm-lock.yaml * fix: incorrect system & theme version in peerDependencies (#4901) * fix: incorrect system & theme version in peerDependencies * fix: incorrect system & theme version in peerDependencies * chore(changeset): add changeset * fix(changeset): remove `@heroui/stories-utils` and `@heroui/test-utils` from ignore list (#4939) * fix(docs): include .npmrc in sandbox (#4951) * fix(input): esc key to clear input value (#4892) * chore: theme generator credits * fix: blog date and spinner default variant * fix: #4850 Solve Pressing ESC doesn't clear input value * fix: #4850 code review change * fix: undo changes in apps/docs/content/blog/v2.7.0.mdx and add a test case for my changes * fix: run through the test cases successfully * fix: change md content * fix: using isClearable not clear the value * fix: add number-input clearable esc clear * fix: edit review problem * fix: delete unless file * chore(changeset): update changeset * fix: add inputProps.onKeyDown * fix: pressing ESC key in a read-only input not clear --------- Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> Co-authored-by: աӄա <wingkwong.code@gmail.com> * ci(changesets): version packages (#4896) Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> * v2.7.4 * chore(deps): bump turbo version (#4958) * chore(deps): bump turbo version * chore(root): update turbo.json * fix(docs): typecheck errors * fix(docs): typecheck errors * fix(deps): bump react-aria versions (#4998) * fix(deps): bump react-aria versions * chore(changeset): add changeset * chore(hooks): sync with RA's useButton * fix(use-aria-button): support aria-current * fix(docs): remove priority prop * fix(toast): remove priority queue & animation * fix(toast): remove deprecated logic * fix(popover): avoid passing preventFocusOnPress to non heroui button * fix: sync with UsePopover * fix(popover): prevent submenus from closing on scroll * fix(tests): test cases related to press refactoring * fix(toast): toast should appear above overlay and adding regionProps to ToastProvider (#5001) * fix: toast should be above the modal * fix: renaming the loadingIcon to loadingComponent * chore: adding changeset * chore: fixing conflicts * chore: adding the region props * fix: adding Marcus' suggestions * fix: marcus' suggestions * Revert "fix: renaming the loadingIcon to loadingComponent" This reverts commit 4c6bf32. * chore: adding marcus' suggestions * fix(number-stepper): stepper button pseudo height (#4968) * fix(progress): incorrect size in indeterminate storybook (#4967) * fix: shouldShowTimeoutProgress typo (#4961) * chore(workflows): update runner (#4960) * fix: a small eye icon for password input in edge(#4927) (#4950) * fix(progress): add RTL support to the progress component (#4911) * fix(progress): add RTL support to the progress component (#4908) * docs(progress): add changeset notes * refactor: resolved code review notes * refactor: removed unnecessary change * refactor: undo unnecessary change * fix: build * fix(toast): unexpected toast animation (#5003) * fix(deps): use RA beta toast * chore(toast): remove non-existing wrapUpdate * chore(changeset): add changeset * ci(changesets): version packages (#5002) Co-authored-by: Junior Garcia <jrgarciadev@gmail.com> --------- Co-authored-by: աӄա <wingkwong.code@gmail.com> Co-authored-by: millmason <jmsoper@protonmail.com> Co-authored-by: winches <329487092@qq.com> Co-authored-by: Maharshi Alpesh <maharshialpesh@gmail.com> Co-authored-by: Peterl561 <76144929+Peterl561@users.noreply.github.com> Co-authored-by: Paul Ebose <49006567+plbstl@users.noreply.github.com> Co-authored-by: Zarin <thesharifi.maruf@gmail.com> Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com> Co-authored-by: Avan <layouwen@gmail.com> Co-authored-by: Vincentius Roger Kuswara <vincentiusrkuswara@gmail.com> Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com> Co-authored-by: Praharsh Bhatt <30700808+praharshbhatt@users.noreply.github.com> Co-authored-by: Adrian Szarapow <63786007+Adee1499@users.noreply.github.com> Co-authored-by: Hova25 <75216176+Hova25@users.noreply.github.com> Co-authored-by: Hovannes Markarian <hovannes.markarian@socrate.fr> Co-authored-by: Tsuki <76603360+sudongyuer@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Steve Mosley <steve@starter4ten.com> Co-authored-by: LinYongLu <88522000+linyonglu@users.noreply.github.com> Co-authored-by: Waleed Asender <waleed.asender@mobasher.sa>
Closes #4997
📝 Description
Due to the latest RA release https://react-spectrum.adobe.com/releases/2025-03-05.html, npm users will experience some unexpected errors due some deps will use carets versions on RA side.
The PR is to
⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
📝 Additional Information
Summary by CodeRabbit
Summary by CodeRabbit
Chores
Documentation
@react-aria/i18n
,@react-aria/utils
, and others across various components.New Features
Toast
component's functionality with the addition of a newwrapUpdate
function for better animation handling.ObserverWrapper
interface inariaHideOutside
to track visible and hidden nodes, improving overlay management.Bug Fixes
priority
property from theToast
component API, streamlining its configuration.