From 47c622864929dbb87af35190354873896866204f Mon Sep 17 00:00:00 2001 From: Junior Garcia Date: Sat, 15 Jun 2024 12:57:09 -0300 Subject: [PATCH] v2.4.2 (#3256) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(root): reat-aria packages updated (#2889) * chore(storybook): common colors enabled (#2902) * fix(range-calendar): hide only dates outside the month (#2906) * fix(range-calendar): hide only dates outside the month #2890 * fix(range-calendar): corrected spelling mistake in changeset description * fix(range-calendar): corrected capitalization in changeset description * chore(changeset): patch @nextui-org/theme --------- Co-authored-by: shrinidhi.upadhyaya Co-authored-by: աɨռɢӄաօռɢ * fix(date-picker): keep date picker style consistent for different variants (#2908) * fix: add missing TableRowProps export (#2866) * fix: add missing TableRowProps export * feat(changeset): add changeset for PR2866 * chore(changeset): revise changeset message --------- Co-authored-by: աɨռɢӄաօռɢ * fix(input): correct label margin for RTL required inputs (#2781) * fix(input): correct label margin for RTL required inputs * fix(theme): add changeset fr theme * docs(core): add storybook and canary release info (#2914) * Cn utility refactor (#2915) * refactor(core): cn utility adjusted and moved to the theme package * chore(root): changeset * fix(storybook): stories that used cn * docs(date-picker): change to jsx instead (#2919) * fix(switch): support uncontrolled switch in react-hook-form (#2924) * feat(switch): add @nextui-org/use-safe-layout-effect * chore(deps): add @nextui-org/use-safe-layout-effect * fix(switch): react-hook-form uncontrolled switch component * fix(switch): react-hook-form uncontrolled switch component * feat(switch): add rect-hook-form in dev dep * feat(switch): add WithReactHookFormTemplate * refactor(root): react aria packages fixed (#2944) * feat(docs): docs changes (#2868) * feat(docs): add example how to set locale (#2867) * docs(guide): add an explanation for the installation guide (#2769) * docs(guide): add an explanation for the installation guide * docs(guide): add an explanation for the cli guide * docs(guide): add support for cli output * fix: change sort priority - cmdk (#2873) * docs: remove unsupported props in range calendar and date range picker (#2881) * chore(calendar): remove showMonthAndYearPickers from range calendar story * docs(date-range-picker): remove showMonthAndYearPickers info * docs(range-calendar): remove unsupported props * docs: refactor typing in form.ts (#2882) * chore(docs): supplement errorMessage behaviour in input (#2892) * refactor(docs): revise NextUI Provider structure * chore(docs): add updated tag --------- Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com> Co-authored-by: HaRuki Co-authored-by: Kaben * fix(slider): missing marks when hideThumb is true & revise slider styles (#2883) * chore(slider): include marks in hideThumb * fix(slider): revise slider styles * feat(changeset): add changeset * feat(slider): add tests with marks and hideThumb * feat(test): react hook form tests & stories (#2931) * feat(input): add Input with React Hook Form tests * refactor(input): add missing types * feat(checkbox): add checkbox with React Hook Form tests * feat(select): add react-hook-form to dev dep * feat(select): add react hook form story * feat(select): react hook form tests * fix(select): incorrect button reference * feat(deps): add react-hook-form to dev dep in autocomplete * feat(autocomplete): react hook form story * feat(autocomplete): react hook form tests * fix(autocomplete): rollback wrapper type * feat(switch): add react hook form tests * refactor(stories): reorder stories items * fix: update accordion item heading tag to be customizable (#2265) * fix: update accordion item heading tag to be customizable * Update .changeset/heavy-hairs-join.md Co-authored-by: Junior Garcia * Update .changeset/heavy-hairs-join.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore(accordion): lint * chore(changeset): add issue number * feat(docs): add HeadingComponent prop --------- Co-authored-by: Shawn Dong Co-authored-by: Junior Garcia Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: աɨռɢӄաօռɢ * fix(theme): add pointer-events-none to skeleton base (#2972) * feat(tabs): add `destroyInactiveTabPanel` prop for Tabs component (#2973) * feat(tabs): add destroyInactiveTabPanel and set default to false * feat(tabs): integrate with destroyInactiveTabPanel * feat(theme): hidden inert tab panel * feat(changeset): add changeset * chore(changeset): add issue number * feat(docs): add `destroyInactiveTabPanel` prop to tabs page * chore(docs): set destroyInactiveTabPanel to true by default * chore(tabs): set destroyInactiveTabPanel to true by default * chore(tabs): revise destroyInactiveTabPanel logic * feat(tabs): add tests for destroyInactiveTabPanel * chore(tabs): change the default value of destroyInactiveTabPanel to true * refactor: add support for disabling the animation globally (#2929) * refactor: add support for disabling the animation globally * chore(docs): disableAnimation removed from global provider * feat(docs): nextui provider api updated, storybook preview adjusted * chore(theme): button is scalable when disabled, tooltip animation improved * fix(theme): remove origin-bottom from button (#2990) * fix(skeleton): overflow issue in skeleton (#2986) * fix(theme): set overflow visible after skeleton loaded * feat(changeset): add changeset * fix(table): v2 input/textarea don't allow spaces inside a table (#3020) * fix(table): set onKeyDownCapture to undefined * feat(changeset): add changeset * fix(slider): calculate the correct value on mark click (#3017) * fix(slider): calculate the correct value on mark click * refactor(slider): remove the tests inside describe block * feat(slider): add tests for thumb move on mark click * refactor(slider): use val instead of pos * fix(theme): revise input isInvalid styles (#3010) * fix(theme): revise isInvalid input styles * feat(changeset): add changeset * feat(date-picker): add missing ref to input wrapper (#3011) * fix(date-picker): add missing ref to input wrapper * feat(changeset): add changeset * fix(core): incorrect tailwind classnames (#3018) * fix(dropdown): focus behaviour on press / enter keydown (#2970) * fix(dropdown): set focus on the first item * feat(dropdown): add keyboard interactions tests * feat(changeset): add changeset * fix(dropdown): use fireEvent.keyDown instead * chore(deps): add @nextui-org/test-utils to dropdown * refactor(dropdown): pass onKeyDown to menu trigger and don't hardcode autoFocus * chore(dropdown): remove autoFocus * fix(menu): pass userMenuProps to useTreeState and useAriaMenu and remove from getListProps * chore(changeset): add menu package * fix(component): update type definition to prevent primitive values as items (#2953) * fix: update type definition to prevent primitive values as items * fix: typecheck * fix(select): onSelectionChange can handle number (#2937) * fix: onSelectionChange type for dynamic items in Select component * docs: remove unnecessary properties * docs: update highlightedLines * chore: add changeset * fix(calendar): scrolling is hidden when changing the month (#2949) * fix(calendar): scrolling is hidden when changing the month * chore(changeset): correct package name --------- Co-authored-by: Poli Sour Co-authored-by: WK Wong * fix: make VisuallyHidden's element type as span when it's inside phrasing element (#3013) * fix(checkbox): make VisuallyHidden's element type as span * feat(changeset): add changeset * fix(radio): make the VisuallyHidden element type as span * fix(switch): make the VisuallyHidden element type as span * fix(select): make the VisuallyHidden element type as span * feat(changeset): replace changeset * chore: fix formatting * docs: sync nextui-cli api (#3035) * docs: sync nextui-cli api * docs: update * chore: update routes.json with new path and set updated flag --------- Co-authored-by: Junior Garcia * feat: switch default validationBehavior to aria and allow switching via props (#2987) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * chore(docs): validation behavior prop added to nextui-provider --------- Co-authored-by: Junior Garcia * fix: popover-based focus behaviour (#2854) * fix(autocomplete): autocomplete focus behaviour * feat(autocomplete): add test case for catching blur cases * refactor(autocomplete): use isOpen instead * feat(autocomplete): add "should focus when clicking autocomplete" test case * feat(autocomplete): add should set the input after selection * fix(autocomplete): remove shouldUseVirtualFocus * fix(autocomplete): uncomment blur logic * refactor(autocomplete): remove state as it is in getPopoverProps * refactor(autocomplete): remove unnecessary blur * refactor(select): remove unncessary props * fix(popover): use domRef instead * fix(popover): revise isNonModal and isDismissable * fix(popover): use dialogRef back * fix(popover): rollback * fix(autocomplete): onFocus logic * feat(popover): set disableFocusManagement to overlay * feat(modal): set disableFocusManagement to overlay * fix(autocomplete): set disableFocusManagement for autocomplete * feat(popover): include disableFocusManagement prop * refactor(autocomplete): revise type in selectorButton * fix(autocomplete): revise focus logic * feat(autocomplete): add internal focus state and add shouldCloseOnInteractOutside * feat(autocomplete): handle selectedItem change * feat(autocomplete): add clear button test * feat(changeset): add changeset * refactor(components): use the original order * refactor(autocomplete): add more comments * fix(autocomplete): revise focus behaviours * refactor(autocomplete): rename to listbox * chore(popover): remove disableFocusManagement from popover * chore(autocomplete): remove disableFocusManagement from autocomplete * chore(changeset): add issue number * fix(popover): don't set default value to transformOrigin * fix(autocomplete): revise shouldCloseOnInteractOutside logic * feat(autocomplete): should close listbox by clicking another autocomplete * fix(popover): add disableFocusManagement to overlay * refactor(autocomplete): revise comments and refactor shouldCloseOnInteractOutside * feat(changeset): add issue number * fix(autocomplete): merge with selectorButtonProps.onClick * refactor(autocomplete): remove extra line * refactor(autocomplete): revise comment * feat(select): add shouldCloseOnInteractOutside * feat(dropdown): add shouldCloseOnInteractOutside * feat(date-picker): add shouldCloseOnInteractOutside * feat(changeset): add dropdown and date-picker * fix(popover): revise shouldCloseOnInteractOutside * feat(date-picker): integrate with ariaShouldCloseOnInteractOutside * feat(select): integrate with ariaShouldCloseOnInteractOutside * feat(dropdown): integrate with ariaShouldCloseOnInteractOutside * feat(popover): integrate with ariaShouldCloseOnInteractOutside * feat(aria-utils): ariaShouldCloseOnInteractOutside * chore(deps): update pnpm-lock.yaml * feat(autocomplete): integrate with ariaShouldCloseOnInteractOutside * feat(aria-utils): handle setShouldFocus logic * feat(changeset): add @nextui-org/aria-utils * chore(autocomplete): put the test into correct group * feat(select): should close listbox by clicking another select * feat(dropdown): should close listbox by clicking another dropdown * feat(popover): should close listbox by clicking another popover * feat(date-picker): should close listbox by clicking another datepicker * chore(changeset): add issue numbers and revise changeset message * refactor(autocomplete): change to useRef instead * refactor(autocomplete): change to useRef instead * refactor(aria-utils): revise comments and format code * chore(changeset): add issue number * chore: take popoverProps.shouldCloseOnInteractOutside first * refactor(autocomplete): remove unnecessary logic * refactor(autocomplete): focus management logic * fix(components): Fix 'Tap to click' behavior on macOS with Edge/Chrome for Accordion and Tab (#2725) * fix(components): fix 'Tap to click' behavior on macOS * Add change file for accordion, menu, and tabs * Remove 'fix(components)' from the .changeset file * fix(components): undo dropdown change now that it's no longer applicable * fix(components): update changeset file now that we are no longer modifying the dropdown component * fix(date-picker): corrected inert value for true condition (#3054) * fix(date-picker): corrected inert value for true condition #3044 * refactor(calendar): add todo comment * feat(changeset): add changeset --------- Co-authored-by: shrinidhi.upadhyaya Co-authored-by: WK Wong * fix(hooks): resolve type error in onKeyDown event handler (#3064) * fix(hooks): resolve type error in onKeyDown event handler * chore(changeset): revise changeset --------- Co-authored-by: WK Wong * Update dependency array on setPage useCallback hook (#3029) Changes: Add the onChangeActivePage function to the dependency array of the setPage useCallback hook to ensure it always reflects the latest state. Impact: This fix ensures that the pagination component accurately reflects the current state when triggering onChangeActivePage. * fix: error peerDep in pkg (#3014) * fix: error peerDep in pkg * docs: changeset * Fix DatePicker Time Input (#2845) * fix(date-picker): set `isCalendarHeaderExpanded` to `false` when DatePicker is closed * fix(date-picker): calendar header controlled state on DatePicker * chore(date-picker): update test * chore(date-picker): remove unnecessary `async` in test * Update packages/components/date-picker/__tests__/date-picker.test.tsx --------- Co-authored-by: WK Wong Co-authored-by: Junior Garcia * fix(date-picker): test * fix(hooks): optimize useScrollPosition with useCallback and useRef (#3049) * fix(hooks): optimize useScrollPosition with useCallback and useRef * Update .changeset/lucky-cobras-jog.md * Update packages/hooks/use-scroll-position/src/index.ts * Update packages/hooks/use-scroll-position/src/index.ts --------- Co-authored-by: Junior Garcia * fix(select): placeholder text display for controlled component (#3081) * fix: return placeholder when selectedItems is empty * chore: add test and changeset * chore(docs): v2.4.0 (#3084) * chore(docs): v2.4.0 * chore(docs): v2.4.0 blog * chore(docs): revise typos based on coderabbitai * chore(docs): adjust navbar --------- Co-authored-by: WK Wong * chore(changese): update @nextui-org/react dependency to minor version * docs: update cli docs (#3096) * ci(changesets): version packages (#2903) Co-authored-by: Junior Garcia * fix(radio): remove required attribute for Radio with validationBehavior="aria" (#3110) * fix(theme): add missing pointer event after data loaded (#3126) * fix(system): listbox href issue (experimental) (#3119) * fix(system): @react-aria/utils * feat(hooks): include routerLinkProps * feat(changeset): add changeset * chore(deps): bump @react-aria/utils to 3.24.1 * fix(hooks): missing arguments * chore(deps): bump @react-types/link * chore(link): bump @react-aria/link to 3.7.1 * chore(link): use @react-aria/link instead * chore(changeset): revise changeset * chore(hooks): undo use-aria-link changes * chore(deps): undo use-aria-link changes * chore(deps): bump `@react-aria/utils` to `3.24.1` * chore(deps): bump `@react-types/shared` * feat: add missing router.open parameters due to router change * chore(changeset): add new line * chore(deps): bump `@react-types/shared` to `3.23.1` * fix(avatar): avoid passing `disableAnimation` prop to a DOM element (#3111) * fix(avatar): avoid passing `disableAnimation` prop to a DOM element * refactor(avatar): use filterDOMProps approach * chore(avatar): remove to type import * chore(avatar): change to shouldFilterDOMProps * fix(docs): removed unused import & corrected prop for disabled DatePicker (#3136) Co-authored-by: shrinidhi.upadhyaya * ci(changesets): version packages (#3115) * fix(pagination): missing animation (#3144) * fix tsup domain (#3158) * chore(docs): remove destroyInactiveTabPanel from Tab due to merge conflict (#3155) * fix(autocomplete): maximum update depth exceeded in autocomplete (#3175) * chore(checkbox): avoid passing non-DOM attributes to svg (#3199) * chore(docs): avoid passing non-DOM attributes to svg * chore(utilities): avoid passing non-DOM attributes to svg * feat(changeset): add changeset * fix(docs): fix typo in autocomplete documentation page (#3182) * fix(select): add missing data-invalid in select and add missing data attributes in docs (#3177) * fix(select): add missing data-invalid attribute * chore(docs): add missing data attributes for select base * fix(tabs): destroyInactiveTabPanel unmounts inactive tabs' content (#3164) * fix(tabs): incorrect content in tab panel * feat(tabs): revise destroyInactiveTabPanel test cases * fix(select): unset form value after unselecting an item (#3157) * fix(select): set empty string instead of undefined for unsetting value * feat(selet): should unset form value * fix(tabs): set tab panel id correctly (#3246) * docs(tooltip): supplement correct style path (#3183) * docs(tooltip): supplement correct style path * chore(docs): move the note below import tabs * fix(use-aria-menu): link logic in useMenuItem (#3229) * chore(deps): bump @internationalized/date version (#3230) * fix(input): input display with hidden type (#3174) * fix(input): input display with hidden type * chore(input): add isHiddenType to dependency * refactor(input): move the styles to theme and change hidden to data attr * feat(theme): add isHiddenType to input * chore(changeset): include theme package * chore(input): revise input test * fix(theme): remove isHiddenType from variants and use data-hidden prop instead * fix(theme): remove isHiddenType from defaultVariants * fix(input): remove isHiddenType passing to input * feat(date-picker): add support for DatePicker to apply styles to DateInput (#3146) * feat(date-picker): add support for DatePicker to apply styles to DateInput * chore: update changeset * docs(date-picker): add dateInputClassNames props * refactor(date): updated errorMessage story and modified to import props (#3112) * refactor(date): updated errorMessage story and modified to import props * docs(date): add errorMessageFunction examples * chore: add changeset * fix: remove unnecessary props * fix: typo * Update regex-validation.ts (#3123) * Update regex-validation.ts Fix email regex * Update email regex input.stories.tsx * fix(autocomplete): controlled state logic (#2969) * fix(autocomplete): autocomplete controlled state (#2955) * chore(autocomplete): add changeset * Update packages/components/autocomplete/__tests__/autocomplete.test.tsx --------- Co-authored-by: Junior Garcia * fix(utilities): resolve assignRef TypeScript ref assignment issue (#3098) * fix(utilities): resolve assignRef TypeScript ref assignment issue * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong * fix(table): table-column align prop (#2900) * fix(navbar): fixed the height of navbar menu (#1805) * fix(navbar): fixed the height of navbar menu * fix(navbar): refactored the css of navbar * fix(navbar): fix redundant expression * fix(navbar): fixed unnecessary changes * fix(navbar): adjust viewport * fix: RA dependencies bump (#3240) * fix(popover): popover focus issue (#3187) * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * fix: interactions with popover & focus issues (#3137) * fix(aria-utils): handle click on listbox * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * chore(utilities): remove ariaShouldCloseOnInteractOutside * chore(deps): pnpm-lock.yaml * fix(popover): remove disableFocusManagement * fix(modal): remove disableFocusManagement * fix(autocomplete): remove custom focus logic and remove ariaShouldCloseOnInteractOutside * fix(popover): rewrite shouldCloseOnInteractOutside logic * chore(utilities): remove ariaShouldCloseOnInteractOutside * chore(deps): bump react-aria dependencies * chore(autocomplete): change back to focus * feat(changeset): update changeset * chore(docs): update type in onSelectionChange * fix(popover): revise popover test case * chore(deps): add @nextui-org/aria-utils * fix(autocomplete): add ariaShouldCloseOnInteractOutside * fix(date-picker): add ariaShouldCloseOnInteractOutside * fix(select): add ariaShouldCloseOnInteractOutside * chore(deps): add @nextui-org/aria-utils * fix(dropdown): add ariaShouldCloseOnInteractOutside * feat(utilities): rewrite ariaShouldCloseOnInteractOutside * fix(popover): use ariaShouldCloseOnInteractOutside * fix(autocomplete): add back shouldFocus * fix(utilities): include shouldFocus logic * chore(utilities): remove ! * refactor(aria-utils): add more comments * chore(changeset): update packages * refactor(aria-utils): add more comments * feat(popover): add test * fix: dropdown onPress issue (#3211) * fix(popover): move useDialog to popover-content * fix(popover): move useDialog to free-solo-popover * refactor(popover): use const instead * feat(changset): add changeset * feat(popover): popover focus test * refactor(popover): getDialogProps * fix(popover): dropdown onPress blocking issue * fix(dropdown): incorrect keyCodes * feat(dropdown): add keyboard onPress test cases * chore(deps): keep all @react-aria/overlays version consistent * chore(deps): sync dependencies * chore(deps): sync dependencies * refactor(aria-utils): remove shouldFocus logic * refactor(autocomplete): remove shouldFocus logic and set input focus when open * chore(deps): bump dependencies * chore(deps): fix react aria dependencies * fix(autocomplete): move popover style width inside isOpen true block * fix(autocomplete): focus back to trigger * feat(changeset): add changeset * chore(deps): bump react-aria dependencies * refactor(autocomplete): revise comment * refactor(dropdown): revise logSpy and trigger mockRestore * refactor(popover): remove debug className * fix(date-input): avoid setting isInvalid in useDateFieldState * fix(autocomplete): use ComboBoxValidationValue * feat(use-aria-menu): add deprecate message * feat(changeset): add missing packages * refactor(use-aria-menu): remove isLink since it is included in useLinkProps * Update packages/hooks/use-aria-menu/src/use-menu-item.ts --------- Co-authored-by: Junior Garcia * ci(changesets): version packages (#3147) Co-authored-by: Junior Garcia --------- Co-authored-by: Shrinidhi Upadhyaya Co-authored-by: shrinidhi.upadhyaya Co-authored-by: աɨռɢӄաօռɢ Co-authored-by: Paul Tiedtke Co-authored-by: Mohammad Reza Badri <85818966+mrbadri@users.noreply.github.com> Co-authored-by: Nozomi-Hijikata <116155762+Nozomi-Hijikata@users.noreply.github.com> Co-authored-by: HaRuki Co-authored-by: Kaben Co-authored-by: Shawn Dong Co-authored-by: Shawn Dong Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com> Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com> Co-authored-by: Poli Sour Co-authored-by: Artem Pitikin Co-authored-by: winches <329487092@qq.com> Co-authored-by: Eric Abreu Co-authored-by: Minsu <52266597+Gaic4o@users.noreply.github.com> Co-authored-by: Jesus Perdomo Lampignano <38929969+jesuzon@users.noreply.github.com> Co-authored-by: chirokas <157580465+chirokas@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: EGOIST <0x142857@gmail.com> Co-authored-by: Damien Leroy <10438692+ShiiFu@users.noreply.github.com> Co-authored-by: Christian Abele Co-authored-by: Nozomi Hijikata <121233810+nozomemein@users.noreply.github.com> --- .changeset/famous-mice-approve.md | 5 - .changeset/tough-peaches-live.md | 5 - .../autocomplete/fully-controlled/page.tsx | 2 +- apps/docs/config/routes.json | 6 +- .../components/checkbox/custom-check-icon.ts | 19 +- .../date-input/error-message-function.ts | 30 + .../content/components/date-input/index.ts | 2 + .../date-picker/error-message-function.ts | 26 + .../content/components/date-picker/index.ts | 2 + .../error-message-function.ts | 30 + .../components/date-range-picker/index.ts | 2 + .../components/input/regex-validation.ts | 2 +- .../docs/content/components/tabs/placement.ts | 1 - .../time-input/error-message-function.ts | 23 + .../components/time-input/error-message.ts | 19 + .../content/components/time-input/index.ts | 4 + .../content/docs/components/autocomplete.mdx | 2 +- .../docs/content/docs/components/checkbox.mdx | 4 +- .../content/docs/components/date-input.mdx | 4 + .../content/docs/components/date-picker.mdx | 5 + .../docs/components/date-range-picker.mdx | 4 + apps/docs/content/docs/components/select.mdx | 8 + .../content/docs/components/time-input.mdx | 11 + apps/docs/content/docs/components/tooltip.mdx | 3 +- apps/docs/package.json | 20 +- packages/components/accordion/CHANGELOG.md | 14 + packages/components/accordion/package.json | 12 +- packages/components/autocomplete/CHANGELOG.md | 24 + .../__tests__/autocomplete.test.tsx | 78 +- packages/components/autocomplete/package.json | 18 +- .../autocomplete/src/use-autocomplete.ts | 32 +- packages/components/avatar/CHANGELOG.md | 9 + packages/components/avatar/package.json | 8 +- packages/components/badge/CHANGELOG.md | 7 + packages/components/badge/package.json | 2 +- packages/components/breadcrumbs/CHANGELOG.md | 10 + packages/components/breadcrumbs/package.json | 8 +- packages/components/button/CHANGELOG.md | 12 + packages/components/button/package.json | 10 +- packages/components/calendar/CHANGELOG.md | 13 + packages/components/calendar/package.json | 22 +- packages/components/card/CHANGELOG.md | 11 + packages/components/card/package.json | 8 +- packages/components/checkbox/CHANGELOG.md | 9 + packages/components/checkbox/package.json | 16 +- packages/components/chip/CHANGELOG.md | 10 + packages/components/chip/package.json | 8 +- packages/components/code/CHANGELOG.md | 8 + packages/components/code/package.json | 2 +- packages/components/date-input/CHANGELOG.md | 11 + packages/components/date-input/package.json | 14 +- .../date-input/src/date-input-group.tsx | 18 +- .../date-input/src/use-date-input.ts | 1 - .../date-input/stories/date-input.stories.tsx | 16 + .../date-input/stories/time-input.stories.tsx | 25 + packages/components/date-picker/CHANGELOG.md | 19 + .../__tests__/date-picker.test.tsx | 20 + packages/components/date-picker/package.json | 18 +- .../date-picker/src/use-date-picker.ts | 9 +- .../stories/date-picker.stories.tsx | 31 + .../stories/date-range-picker.stories.tsx | 19 +- packages/components/dropdown/CHANGELOG.md | 12 + .../dropdown/__tests__/dropdown.test.tsx | 118 +- packages/components/dropdown/package.json | 10 +- packages/components/image/CHANGELOG.md | 7 + packages/components/image/package.json | 2 +- packages/components/input/CHANGELOG.md | 12 + .../components/input/__tests__/input.test.tsx | 27 + packages/components/input/package.json | 12 +- packages/components/input/src/use-input.ts | 6 +- .../input/stories/input.stories.tsx | 2 +- packages/components/kbd/CHANGELOG.md | 10 + packages/components/kbd/package.json | 4 +- packages/components/link/CHANGELOG.md | 11 + packages/components/link/package.json | 6 +- packages/components/listbox/CHANGELOG.md | 12 + packages/components/listbox/package.json | 12 +- packages/components/menu/CHANGELOG.md | 13 + packages/components/menu/package.json | 14 +- packages/components/modal/CHANGELOG.md | 16 + packages/components/modal/package.json | 14 +- packages/components/modal/src/modal.tsx | 6 +- packages/components/navbar/CHANGELOG.md | 11 + packages/components/navbar/package.json | 12 +- .../navbar/src/navbar-menu-transitions.ts | 2 +- packages/components/pagination/CHANGELOG.md | 13 + packages/components/pagination/package.json | 8 +- packages/components/popover/CHANGELOG.md | 17 + .../popover/__tests__/popover.test.tsx | 101 + packages/components/popover/package.json | 16 +- .../popover/src/free-solo-popover.tsx | 11 +- .../popover/src/popover-content.tsx | 64 +- packages/components/popover/src/popover.tsx | 6 +- .../popover/src/use-aria-popover.ts | 8 +- .../components/popover/src/use-popover.ts | 11 +- packages/components/progress/CHANGELOG.md | 9 + packages/components/progress/package.json | 8 +- packages/components/radio/CHANGELOG.md | 9 + packages/components/radio/package.json | 14 +- packages/components/ripple/CHANGELOG.md | 7 + packages/components/ripple/package.json | 2 +- .../components/scroll-shadow/CHANGELOG.md | 7 + .../components/scroll-shadow/package.json | 2 +- packages/components/select/CHANGELOG.md | 21 + .../select/__tests__/select.test.tsx | 69 + packages/components/select/package.json | 14 +- .../components/select/src/hidden-select.tsx | 2 +- packages/components/select/src/use-select.ts | 1 + packages/components/skeleton/CHANGELOG.md | 7 + packages/components/skeleton/package.json | 2 +- packages/components/slider/CHANGELOG.md | 10 + packages/components/slider/package.json | 14 +- packages/components/snippet/CHANGELOG.md | 12 + packages/components/snippet/package.json | 6 +- packages/components/spacer/CHANGELOG.md | 8 + packages/components/spacer/package.json | 2 +- packages/components/spinner/CHANGELOG.md | 8 + packages/components/spinner/package.json | 2 +- packages/components/switch/CHANGELOG.md | 9 + packages/components/switch/package.json | 12 +- packages/components/table/CHANGELOG.md | 14 + packages/components/table/package.json | 20 +- packages/components/table/src/table-cell.tsx | 5 +- .../table/src/table-column-header.tsx | 4 +- packages/components/tabs/CHANGELOG.md | 15 + .../components/tabs/__tests__/tabs.test.tsx | 96 +- packages/components/tabs/package.json | 12 +- packages/components/tabs/src/tab-panel.tsx | 4 +- packages/components/tabs/src/tab.tsx | 4 + packages/components/tooltip/CHANGELOG.md | 11 + packages/components/tooltip/package.json | 14 +- packages/components/user/CHANGELOG.md | 10 + packages/components/user/package.json | 6 +- packages/core/react/CHANGELOG.md | 51 + packages/core/react/package.json | 4 +- packages/core/system/CHANGELOG.md | 10 + packages/core/system/package.json | 10 +- packages/core/theme/CHANGELOG.md | 8 + packages/core/theme/package.json | 2 +- packages/core/theme/src/components/input.ts | 2 +- packages/core/theme/src/components/navbar.ts | 2 +- packages/core/theme/src/components/table.ts | 17 +- .../use-aria-accordion-item/CHANGELOG.md | 6 + .../use-aria-accordion-item/package.json | 8 +- .../hooks/use-aria-accordion/CHANGELOG.md | 6 + .../hooks/use-aria-accordion/package.json | 12 +- packages/hooks/use-aria-button/CHANGELOG.md | 6 + packages/hooks/use-aria-button/package.json | 8 +- packages/hooks/use-aria-link/CHANGELOG.md | 6 + packages/hooks/use-aria-link/package.json | 8 +- packages/hooks/use-aria-menu/CHANGELOG.md | 8 + packages/hooks/use-aria-menu/package.json | 16 +- .../hooks/use-aria-menu/src/use-menu-item.ts | 44 +- .../hooks/use-aria-modal-overlay/CHANGELOG.md | 6 + .../hooks/use-aria-modal-overlay/package.json | 6 +- .../hooks/use-aria-multiselect/CHANGELOG.md | 6 + .../hooks/use-aria-multiselect/package.json | 26 +- .../hooks/use-aria-toggle-button/CHANGELOG.md | 9 + .../hooks/use-aria-toggle-button/package.json | 6 +- packages/hooks/use-disclosure/CHANGELOG.md | 6 + packages/hooks/use-disclosure/package.json | 4 +- .../use-intersection-observer/CHANGELOG.md | 6 + .../use-intersection-observer/package.json | 6 +- packages/hooks/use-is-mobile/CHANGELOG.md | 6 + packages/hooks/use-is-mobile/package.json | 4 +- packages/hooks/use-pagination/CHANGELOG.md | 6 + packages/hooks/use-pagination/package.json | 4 +- packages/hooks/use-real-shape/CHANGELOG.md | 7 + packages/hooks/use-real-shape/package.json | 2 +- packages/utilities/aria-utils/CHANGELOG.md | 11 + packages/utilities/aria-utils/package.json | 8 +- .../ariaShouldCloseOnInteractOutside.ts | 54 +- packages/utilities/framer-utils/CHANGELOG.md | 7 + packages/utilities/framer-utils/package.json | 2 +- packages/utilities/react-utils/CHANGELOG.md | 6 + packages/utilities/react-utils/package.json | 2 +- packages/utilities/react-utils/src/refs.ts | 4 +- packages/utilities/shared-icons/CHANGELOG.md | 6 + packages/utilities/shared-icons/package.json | 2 +- packages/utilities/shared-icons/src/close.tsx | 51 +- pnpm-lock.yaml | 1695 ++++++++--------- 181 files changed, 2702 insertions(+), 1359 deletions(-) delete mode 100644 .changeset/famous-mice-approve.md delete mode 100644 .changeset/tough-peaches-live.md create mode 100644 apps/docs/content/components/date-input/error-message-function.ts create mode 100644 apps/docs/content/components/date-picker/error-message-function.ts create mode 100644 apps/docs/content/components/date-range-picker/error-message-function.ts create mode 100644 apps/docs/content/components/time-input/error-message-function.ts create mode 100644 apps/docs/content/components/time-input/error-message.ts diff --git a/.changeset/famous-mice-approve.md b/.changeset/famous-mice-approve.md deleted file mode 100644 index 0fbb5443fa..0000000000 --- a/.changeset/famous-mice-approve.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/pagination": patch ---- - -Fixed pagination missing animation (#3138) diff --git a/.changeset/tough-peaches-live.md b/.changeset/tough-peaches-live.md deleted file mode 100644 index ceda7e97b6..0000000000 --- a/.changeset/tough-peaches-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@nextui-org/autocomplete": patch ---- - -Fix maximum update depth exceeded on Autocomplete component (#3094) diff --git a/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx b/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx index e2e21baa6f..ee671adf45 100644 --- a/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx +++ b/apps/docs/app/examples/autocomplete/fully-controlled/page.tsx @@ -53,7 +53,7 @@ export default function Page() { // Specify how each of the Autocomplete values should change when an // option is selected from the list box - const onSelectionChange = (key: React.Key) => { + const onSelectionChange = (key: React.Key | null) => { setFieldState((prevState) => { let selectedItem = prevState.items.find((option) => option.value === key); diff --git a/apps/docs/config/routes.json b/apps/docs/config/routes.json index c7fe48efba..fa1b2226d1 100644 --- a/apps/docs/config/routes.json +++ b/apps/docs/config/routes.json @@ -179,7 +179,8 @@ "key": "checkbox", "title": "Checkbox", "keywords": "checkbox, binary choice, selection control, toggle", - "path": "/docs/components/checkbox.mdx" + "path": "/docs/components/checkbox.mdx", + "updated": true }, { "key": "checkbox-group", @@ -397,7 +398,8 @@ "key": "tooltip", "title": "Tooltip", "keywords": "tooltip, hint, descriptive message, hover info", - "path": "/docs/components/tooltip.mdx" + "path": "/docs/components/tooltip.mdx", + "updated": true }, { "key": "user", diff --git a/apps/docs/content/components/checkbox/custom-check-icon.ts b/apps/docs/content/components/checkbox/custom-check-icon.ts index b967d2b117..5bd83fa324 100644 --- a/apps/docs/content/components/checkbox/custom-check-icon.ts +++ b/apps/docs/content/components/checkbox/custom-check-icon.ts @@ -1,11 +1,7 @@ -const HeartIcon = `export const HeartIcon = ({ - filled, - size, - height, - width, - label, - ...props -}) => { +const HeartIcon = `export const HeartIcon = ({ size, height, width, ...props }) => { + // avoid passing non-DOM attributes to svg + const {isSelected, isIndeterminate, disableAnimation, ...otherProps} = props; + return ( { + // avoid passing non-DOM attributes to svg + const {isSelected, isIndeterminate, disableAnimation, ...otherProps} = props; + return ( viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" - {...props} + {...otherProps} > + { + if (value.isInvalid) { + return "Please enter a valid date."; + } + }} + className="max-w-xs" + /> + + ); +}`; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/date-input/index.ts b/apps/docs/content/components/date-input/index.ts index 663e66615c..3af95ddc94 100644 --- a/apps/docs/content/components/date-input/index.ts +++ b/apps/docs/content/components/date-input/index.ts @@ -7,6 +7,7 @@ import labelPlacements from "./label-placements"; import description from "./description"; import startEndContent from "./start-end-content"; import errorMessage from "./error-message"; +import errorMessageFunction from "./error-message-function"; import controlled from "./controlled"; import timeZones from "./time-zones"; import granularity from "./granularity"; @@ -25,6 +26,7 @@ export const dateInputContent = { description, startEndContent, errorMessage, + errorMessageFunction, controlled, timeZones, granularity, diff --git a/apps/docs/content/components/date-picker/error-message-function.ts b/apps/docs/content/components/date-picker/error-message-function.ts new file mode 100644 index 0000000000..2b473c9f5d --- /dev/null +++ b/apps/docs/content/components/date-picker/error-message-function.ts @@ -0,0 +1,26 @@ +const App = `import {DatePicker} from "@nextui-org/react"; + +export default function App() { + return ( +
+ { + if (value.isInvalid) { + return "Please enter a valid date."; + } + }} + /> +
+ ); +}`; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/date-picker/index.ts b/apps/docs/content/components/date-picker/index.ts index f46ee40879..d99bfc245f 100644 --- a/apps/docs/content/components/date-picker/index.ts +++ b/apps/docs/content/components/date-picker/index.ts @@ -6,6 +6,7 @@ import variants from "./variants"; import labelPlacements from "./label-placements"; import description from "./description"; import errorMessage from "./error-message"; +import errorMessageFunction from "./error-message-function"; import withMonthAndYearPickers from "./with-month-and-year-pickers"; import withTimeField from "./with-time-field"; import selectorIcon from "./selector-icon"; @@ -28,6 +29,7 @@ export const datePickerContent = { labelPlacements, description, errorMessage, + errorMessageFunction, withMonthAndYearPickers, withTimeField, selectorIcon, diff --git a/apps/docs/content/components/date-range-picker/error-message-function.ts b/apps/docs/content/components/date-range-picker/error-message-function.ts new file mode 100644 index 0000000000..9e8cb16eab --- /dev/null +++ b/apps/docs/content/components/date-range-picker/error-message-function.ts @@ -0,0 +1,30 @@ +const App = `import {DateRangePicker} from "@nextui-org/react"; +import {parseDate} from "@internationalized/date"; + +export default function App() { + return ( + { + if (value.isInvalid) { + return "Please enter your stay duration"; + } + }} + defaultValue={{ + start: parseDate("2024-04-01"), + end: parseDate("2024-04-08"), + }} + className="max-w-xs" + /> + ); +}`; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/date-range-picker/index.ts b/apps/docs/content/components/date-range-picker/index.ts index b4496b2651..27759f8408 100644 --- a/apps/docs/content/components/date-range-picker/index.ts +++ b/apps/docs/content/components/date-range-picker/index.ts @@ -6,6 +6,7 @@ import variants from "./variants"; import labelPlacements from "./label-placements"; import description from "./description"; import errorMessage from "./error-message"; +import errorMessageFunction from "./error-message-function"; import withTimeField from "./with-time-field"; import selectorIcon from "./selector-icon"; import controlled from "./controlled"; @@ -28,6 +29,7 @@ export const dateRangePickerContent = { labelPlacements, description, errorMessage, + errorMessageFunction, withTimeField, selectorIcon, controlled, diff --git a/apps/docs/content/components/input/regex-validation.ts b/apps/docs/content/components/input/regex-validation.ts index b3ce257e4f..1eb62d8e2b 100644 --- a/apps/docs/content/components/input/regex-validation.ts +++ b/apps/docs/content/components/input/regex-validation.ts @@ -3,7 +3,7 @@ const App = `import {Input} from "@nextui-org/react"; export default function App() { const [value, setValue] = React.useState("junior2nextui.org"); - const validateEmail = (value) => value.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$/i); + const validateEmail = (value) => value.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i); const isInvalid = React.useMemo(() => { if (value === "") return false; diff --git a/apps/docs/content/components/tabs/placement.ts b/apps/docs/content/components/tabs/placement.ts index 7f720ac41b..558a4bbdb5 100644 --- a/apps/docs/content/components/tabs/placement.ts +++ b/apps/docs/content/components/tabs/placement.ts @@ -7,7 +7,6 @@ export default function App() { setPlacement(value)} > diff --git a/apps/docs/content/components/time-input/error-message-function.ts b/apps/docs/content/components/time-input/error-message-function.ts new file mode 100644 index 0000000000..b8111e5265 --- /dev/null +++ b/apps/docs/content/components/time-input/error-message-function.ts @@ -0,0 +1,23 @@ +const App = `import {TimeInput} from "@nextui-org/react"; + +export default function App() { + return ( + { + if (value.isInvalid) { + return "Please enter a valid time"; + } + }} + /> + ); +}`; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/time-input/error-message.ts b/apps/docs/content/components/time-input/error-message.ts new file mode 100644 index 0000000000..8d60a11647 --- /dev/null +++ b/apps/docs/content/components/time-input/error-message.ts @@ -0,0 +1,19 @@ +const App = `import {TimeInput} from "@nextui-org/react"; + +export default function App() { + return ( + + ); +}`; + +const react = { + "/App.jsx": App, +}; + +export default { + ...react, +}; diff --git a/apps/docs/content/components/time-input/index.ts b/apps/docs/content/components/time-input/index.ts index de077dbed2..9daed76c58 100644 --- a/apps/docs/content/components/time-input/index.ts +++ b/apps/docs/content/components/time-input/index.ts @@ -4,6 +4,8 @@ import disabled from "./disabled"; import readonly from "./read-only"; import withoutLabel from "./without-label"; import withDescription from "./with-description"; +import errorMessage from "./error-message"; +import errorMessageFunction from "./error-message-function"; import labelPlacement from "./label-placement"; import startContent from "./start-content"; import endContent from "./end-content"; @@ -23,6 +25,8 @@ export const timeInputContent = { readonly, withoutLabel, withDescription, + errorMessage, + errorMessageFunction, labelPlacement, startContent, endContent, diff --git a/apps/docs/content/docs/components/autocomplete.mdx b/apps/docs/content/docs/components/autocomplete.mdx index 6b127b7fbc..6581b08057 100644 --- a/apps/docs/content/docs/components/autocomplete.mdx +++ b/apps/docs/content/docs/components/autocomplete.mdx @@ -254,7 +254,7 @@ The following example uses the `defaultFilter` prop to filter the list of option ### Asynchronous Filtering -Autocomplete supports asynchronous filtering, in the example below we are using the [useAyncList](https://react-spectrum.adobe.com/react-stately/useAsyncList.html) function +Autocomplete supports asynchronous filtering, in the example below we are using the [useAsyncList](https://react-spectrum.adobe.com/react-stately/useAsyncList.html) function from [react-aria](https://react-spectrum.adobe.com) to handle asynchronous loading and filtering of data from a server. By default, `IconProps` will be passed to your icon component. Please make sure that `isSelected`, `isIndeterminate`, and `disableAnimation` are not passed to a DOM element. + ### Controlled diff --git a/apps/docs/content/docs/components/date-input.mdx b/apps/docs/content/docs/components/date-input.mdx index df9e377e38..f941ddfb07 100644 --- a/apps/docs/content/docs/components/date-input.mdx +++ b/apps/docs/content/docs/components/date-input.mdx @@ -84,6 +84,10 @@ You can combine the `isInvalid` and `errorMessage` properties to show an invalid +You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult]((https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51)). + + + ### Controlled You can use the `value` and `onChange` properties to control the input value. diff --git a/apps/docs/content/docs/components/date-picker.mdx b/apps/docs/content/docs/components/date-picker.mdx index 139b6d809f..8c9a510980 100644 --- a/apps/docs/content/docs/components/date-picker.mdx +++ b/apps/docs/content/docs/components/date-picker.mdx @@ -77,6 +77,10 @@ You can combine the `isInvalid` and `errorMessage` properties to show an invalid +You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult]((https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51)). + + + ### With Month and Year Pickers @@ -342,6 +346,7 @@ import {I18nProvider} from "@react-aria/i18n"; | timeInputProps | `TimeInputProps` | Props to be passed to the time input component. | `{ size: "sm", variant: "light", radius: "full", isIconOnly: true }` | | disableAnimation | `boolean` | Whether to disable all animations in the date picker. Including the DateInput, Button, Calendar, and Popover. | `false` | | classNames | `Record<"base" \| "selectorButton" \| "selectorIcon" \| "popoverContent" \| "calendar" \| "calendarContent" \| "timeInputLabel" \| "timeInput", string>` | Allows to set custom class names for the date-picker slots. | - | +| dateInputClassNames | `Record<"base"| "label"| "inputWrapper"| "innerWrapper"| "input"| "helperWrapper"| "description"| "errorMessage", string>` | Allows to set custom class names for the [date input slots](/docs/components/date-input#slots). | - | ### DatePicker Events diff --git a/apps/docs/content/docs/components/date-range-picker.mdx b/apps/docs/content/docs/components/date-range-picker.mdx index 5a25613c8f..b03e2d6245 100644 --- a/apps/docs/content/docs/components/date-range-picker.mdx +++ b/apps/docs/content/docs/components/date-range-picker.mdx @@ -92,6 +92,10 @@ You can combine the `isInvalid` and `errorMessage` properties to show an invalid +You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult]((https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51)). + + + ### With Time Fields DateRangePicker automatically includes time fields when a `CalendarDateTime` or `ZonedDateTime` object is provided as the value. diff --git a/apps/docs/content/docs/components/select.mdx b/apps/docs/content/docs/components/select.mdx index ee5d1b4d8e..650b18e61d 100644 --- a/apps/docs/content/docs/components/select.mdx +++ b/apps/docs/content/docs/components/select.mdx @@ -285,6 +285,14 @@ the popover and listbox components. - **data-filled**: Indicates if the select has a value, is focused, has start/end content or is open. +- **data-has-value**: + Indicates if the select has selected item(s). +- **data-has-label**: + Indicates if the select has a label. Based on `label` prop. +- **data-has-helper**: + Indicates if the select has helper text. Based on `errorMessage` or `description` prop. +- **data-invalid**: + Indicates if the select is invalid. Based on `isInvalid` prop. `Select` has the following attributes on the `trigger` element: diff --git a/apps/docs/content/docs/components/time-input.mdx b/apps/docs/content/docs/components/time-input.mdx index 1010112b7d..a6b75e0886 100644 --- a/apps/docs/content/docs/components/time-input.mdx +++ b/apps/docs/content/docs/components/time-input.mdx @@ -78,6 +78,17 @@ A description for the field. Provides a hint such as specific requirements for w +### With Error Message + +You can combine the `isInvalid` and `errorMessage` properties to show an invalid input. + + + +You can also pass an error message as a function. This allows for dynamic error message handling based on the [ValidationResult]((https://github.com/adobe/react-spectrum/blob/1cacbf1d438675feb3859fee54b17e620b458d9c/packages/%40react-types/shared/src/inputs.d.ts#L44-L51)). + + + + ### Label Placement The label's overall position relative to the element it is labeling. diff --git a/apps/docs/content/docs/components/tooltip.mdx b/apps/docs/content/docs/components/tooltip.mdx index b13ffa3eca..253d5c3ad8 100644 --- a/apps/docs/content/docs/components/tooltip.mdx +++ b/apps/docs/content/docs/components/tooltip.mdx @@ -28,7 +28,6 @@ Tooltips display a brief, informative message that appears when a user interacts }} /> - ## Import +> For individual installation, please note that you should add `./node_modules/@nextui-org/theme/dist/components/popover.js` to your `tailwind.config.js` file instead since tooltip reuses popover styles. + ## Usage diff --git a/apps/docs/package.json b/apps/docs/package.json index 2942171b86..40a930ee94 100644 --- a/apps/docs/package.json +++ b/apps/docs/package.json @@ -18,7 +18,7 @@ "@codesandbox/sandpack-react": "^2.6.4", "@iconify/icons-solar": "^1.2.3", "@iconify/react": "^4.1.1", - "@internationalized/date": "^3.5.2", + "@internationalized/date": "^3.5.4", "@mapbox/rehype-prism": "^0.6.0", "@nextui-org/aria-utils": "workspace:*", "@nextui-org/badge": "workspace:*", @@ -37,17 +37,17 @@ "@nextui-org/use-infinite-scroll": "workspace:*", "@nextui-org/use-is-mobile": "workspace:*", "@radix-ui/react-scroll-area": "^1.0.5", - "@react-aria/focus": "^3.16.2", + "@react-aria/focus": "3.17.1", "@react-aria/i18n": "^3.10.2", - "@react-aria/interactions": "^3.21.1", - "@react-aria/selection": "^3.17.5", - "@react-aria/ssr": "^3.9.2", + "@react-aria/interactions": "3.21.3", + "@react-aria/selection": "3.18.1", + "@react-aria/ssr": "3.9.4", "@react-aria/utils": "3.24.1", - "@react-aria/virtualizer": "^3.9.10", - "@react-aria/visually-hidden": "^3.8.10", - "@react-stately/data": "^3.11.2", - "@react-stately/layout": "^3.13.7", - "@react-stately/tree": "^3.7.6", + "@react-aria/virtualizer": "3.10.1", + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/data": "3.11.4", + "@react-stately/layout": "3.13.9", + "@react-stately/tree": "3.8.1", "@rehooks/local-storage": "^2.4.5", "@vercel/analytics": "^1.2.2", "canvas-confetti": "^1.9.2", diff --git a/packages/components/accordion/CHANGELOG.md b/packages/components/accordion/CHANGELOG.md index fdc97c0036..881f9eea6a 100644 --- a/packages/components/accordion/CHANGELOG.md +++ b/packages/components/accordion/CHANGELOG.md @@ -1,5 +1,19 @@ # @nextui-org/accordion +## 2.0.35 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/use-aria-accordion@2.0.6 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + - @nextui-org/divider@2.0.28 + ## 2.0.34 ### Patch Changes diff --git a/packages/components/accordion/package.json b/packages/components/accordion/package.json index c5797d14d1..eea9d9c92c 100644 --- a/packages/components/accordion/package.json +++ b/packages/components/accordion/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/accordion", - "version": "2.0.34", + "version": "2.0.35", "description": "Collapse display a list of high-level options that can expand/collapse to reveal more information.", "keywords": [ "react", @@ -54,12 +54,12 @@ "@nextui-org/framer-utils": "workspace:*", "@nextui-org/divider": "workspace:*", "@nextui-org/use-aria-accordion": "workspace:*", - "@react-aria/interactions": "3.21.1", - "@react-aria/focus": "3.16.2", + "@react-aria/interactions": "3.21.3", + "@react-aria/focus": "3.17.1", "@react-aria/utils": "3.24.1", - "@react-stately/tree": "3.7.6", - "@react-aria/button": "3.9.3", - "@react-types/accordion": "3.0.0-alpha.19", + "@react-stately/tree": "3.8.1", + "@react-aria/button": "3.9.5", + "@react-types/accordion": "3.0.0-alpha.21", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/autocomplete/CHANGELOG.md b/packages/components/autocomplete/CHANGELOG.md index f4801a2c44..c8c2030fde 100644 --- a/packages/components/autocomplete/CHANGELOG.md +++ b/packages/components/autocomplete/CHANGELOG.md @@ -1,5 +1,29 @@ # @nextui-org/autocomplete +## 2.1.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix popover focus issue (#3171, #2992) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#2969](https://github.com/nextui-org/nextui/pull/2969) [`255c641f9`](https://github.com/nextui-org/nextui/commit/255c641f96903e0d6d29343774e9e7ae67fcdb34) Thanks [@chirokas](https://github.com/chirokas)! - Fix autocomplete controlled state (#2955) + +- [#3175](https://github.com/nextui-org/nextui/pull/3175) [`2069a7a9d`](https://github.com/nextui-org/nextui/commit/2069a7a9d00291266fef763c6817b3bdd3ed4707) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix maximum update depth exceeded on Autocomplete component (#3094) + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`dbb4b8ee5`](https://github.com/nextui-org/nextui/commit/dbb4b8ee564114bfb0ef93467ed9ef6a3ff7e2e7), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/popover@2.1.24 + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/button@2.0.34 + - @nextui-org/input@2.2.2 + - @nextui-org/listbox@2.1.22 + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/scroll-shadow@2.1.17 + - @nextui-org/spinner@2.0.30 + ## 2.1.1 ### Patch Changes diff --git a/packages/components/autocomplete/__tests__/autocomplete.test.tsx b/packages/components/autocomplete/__tests__/autocomplete.test.tsx index 4574ae88de..02374b5fec 100644 --- a/packages/components/autocomplete/__tests__/autocomplete.test.tsx +++ b/packages/components/autocomplete/__tests__/autocomplete.test.tsx @@ -48,6 +48,21 @@ const itemsSectionData = [ }, ]; + +const ControlledAutocomplete = (props: AutocompleteProps) => { + const [selectedKey, setSelectedKey] = React.useState("cat"); + + return ( + + ); +}; + const AutocompleteExample = (props: Partial = {}) => ( @@ -62,6 +77,7 @@ const AutocompleteExample = (props: Partial = {}) => ( ); + describe("Autocomplete", () => { it("should render correctly", () => { const wrapper = render(); @@ -165,7 +181,7 @@ describe("Autocomplete", () => { // assert that the autocomplete listbox is open expect(autocomplete).toHaveAttribute("aria-expanded", "true"); - // assert that input is focused + // assert that the autocomplete input is focused expect(autocomplete).toHaveFocus(); }); @@ -355,8 +371,8 @@ describe("Autocomplete", () => { // assert that the autocomplete listbox is closed expect(autocomplete).toHaveAttribute("aria-expanded", "false"); - // assert that input is not focused - expect(autocomplete).not.toHaveFocus(); + // assert that input is focused + expect(autocomplete).toHaveFocus(); }); it("should set the input after selection", async () => { @@ -529,7 +545,7 @@ describe("Autocomplete", () => {
(v === "Penguin" ? "Invalid value" : null)} + validate={(v) => (v.inputValue === "Penguin" ? "Invalid value" : null)} validationBehavior="aria" /> , @@ -559,6 +575,60 @@ describe("Autocomplete", () => { }); }); }); + + it("should work when key equals textValue", async () => { + const wrapper = render( + + {(item) => {item.value}} + , + ); + + const autocomplete = wrapper.getByTestId("when-key-equals-textValue"); + + const user = userEvent.setup(); + + await user.click(autocomplete); + + expect(autocomplete).toHaveValue("cat"); + expect(autocomplete).toHaveAttribute("aria-expanded", "true"); + + let listboxItems = wrapper.getAllByRole("option"); + + await user.click(listboxItems[1]); + + expect(autocomplete).toHaveValue("dog"); + expect(autocomplete).toHaveAttribute("aria-expanded", "false"); + }); + + it("should work when key equals textValue (controlled)", async () => { + const wrapper = render( + + {(item) => {item.value}} + , + ); + + const autocomplete = wrapper.getByTestId("when-key-equals-textValue"); + + const user = userEvent.setup(); + + await user.click(autocomplete); + + expect(autocomplete).toHaveValue("cat"); + expect(autocomplete).toHaveAttribute("aria-expanded", "true"); + + let listboxItems = wrapper.getAllByRole("option"); + + await user.click(listboxItems[1]); + + expect(autocomplete).toHaveValue("dog"); + expect(autocomplete).toHaveAttribute("aria-expanded", "false"); + }); }); describe("Autocomplete with React Hook Form", () => { diff --git a/packages/components/autocomplete/package.json b/packages/components/autocomplete/package.json index ca9404a604..67d769067b 100644 --- a/packages/components/autocomplete/package.json +++ b/packages/components/autocomplete/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/autocomplete", - "version": "2.1.1", + "version": "2.1.2", "description": "An autocomplete combines a text input with a listbox, allowing users to filter a list of options to items matching a query.", "keywords": [ "autocomplete" @@ -53,14 +53,14 @@ "@nextui-org/use-aria-button": "workspace:*", "@nextui-org/shared-icons": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/combobox": "3.8.4", - "@react-aria/focus": "3.16.2", - "@react-aria/i18n": "3.10.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/combobox": "3.9.1", + "@react-aria/focus": "3.17.1", + "@react-aria/i18n": "3.11.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/combobox": "3.8.2", - "@react-types/combobox": "3.10.1", + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/combobox": "3.8.4", + "@react-types/combobox": "3.11.1", "@react-types/shared": "3.23.1" }, "devDependencies": { @@ -70,7 +70,7 @@ "@nextui-org/chip": "workspace:*", "@nextui-org/stories-utils": "workspace:*", "@nextui-org/use-infinite-scroll": "workspace:*", - "@react-stately/data": "3.11.2", + "@react-stately/data": "3.11.4", "framer-motion": "^11.0.28", "clean-package": "2.2.0", "react": "^18.0.0", diff --git a/packages/components/autocomplete/src/use-autocomplete.ts b/packages/components/autocomplete/src/use-autocomplete.ts index 68019369cf..cf8482948e 100644 --- a/packages/components/autocomplete/src/use-autocomplete.ts +++ b/packages/components/autocomplete/src/use-autocomplete.ts @@ -202,9 +202,6 @@ export function useAutocomplete(originalProps: UseAutocomplete const inputRef = useDOMRef(ref); const scrollShadowRef = useDOMRef(scrollRefProp); - // control the input focus behaviours internally - const shouldFocus = useRef(false); - const { buttonProps, inputProps, @@ -314,32 +311,28 @@ export function useAutocomplete(originalProps: UseAutocomplete const key = inputRef.current.value; const item = state.collection.getItem(key); - if (item) { + if (item && state.inputValue !== item.textValue) { state.setSelectedKey(key); state.setInputValue(item.textValue); } }, [inputRef.current]); - // apply the same with to the popover as the select useEffect(() => { - if (isOpen && popoverRef.current && inputWrapperRef.current) { - let rect = inputWrapperRef.current.getBoundingClientRect(); + // set input focus + if (isOpen) { + onFocus(true); + + // apply the same with to the popover as the select + if (popoverRef.current && inputWrapperRef.current) { + let rect = inputWrapperRef.current.getBoundingClientRect(); - let popover = popoverRef.current; + let popover = popoverRef.current; - popover.style.width = rect.width + "px"; + popover.style.width = rect.width + "px"; + } } }, [isOpen]); - // react aria has different focus strategies internally - // hence, handle focus behaviours on our side for better flexibilty - useEffect(() => { - const action = shouldFocus.current || isOpen ? "focus" : "blur"; - - inputRef?.current?.[action](); - if (action === "blur") shouldFocus.current = false; - }, [shouldFocus.current, isOpen]); - // to prevent the error message: // stopPropagation is now the default behavior for events in React Spectrum. // You can use continuePropagation() to revert this behavior. @@ -466,8 +459,7 @@ export function useAutocomplete(originalProps: UseAutocomplete }, shouldCloseOnInteractOutside: popoverProps?.shouldCloseOnInteractOutside ? popoverProps.shouldCloseOnInteractOutside - : (element: Element) => - ariaShouldCloseOnInteractOutside(element, inputWrapperRef, state, shouldFocus), + : (element: Element) => ariaShouldCloseOnInteractOutside(element, inputWrapperRef, state), } as unknown as PopoverProps; }; diff --git a/packages/components/avatar/CHANGELOG.md b/packages/components/avatar/CHANGELOG.md index 26c7e1c51d..4a740589bd 100644 --- a/packages/components/avatar/CHANGELOG.md +++ b/packages/components/avatar/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/avatar +## 2.0.30 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/avatar/package.json b/packages/components/avatar/package.json index d8f7a47822..ab4e786d09 100644 --- a/packages/components/avatar/package.json +++ b/packages/components/avatar/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/avatar", - "version": "2.0.29", + "version": "2.0.30", "description": "The Avatar component is used to represent a user, and displays the profile picture, initials or fallback icon.", "keywords": [ "avatar" @@ -43,9 +43,9 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-image": "workspace:*", - "@react-aria/interactions": "3.21.1", - "@react-aria/focus": "3.16.2", - "@react-aria/utils": "3.23.2" + "@react-aria/interactions": "3.21.3", + "@react-aria/focus": "3.17.1", + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/badge/CHANGELOG.md b/packages/components/badge/CHANGELOG.md index 8bdb2d9bab..6e78cae204 100644 --- a/packages/components/badge/CHANGELOG.md +++ b/packages/components/badge/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/badge +## 2.0.29 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.28 ### Patch Changes diff --git a/packages/components/badge/package.json b/packages/components/badge/package.json index a0cfff41dd..4c834ed095 100644 --- a/packages/components/badge/package.json +++ b/packages/components/badge/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/badge", - "version": "2.0.28", + "version": "2.0.29", "description": "Badges are used as a small numerical value or status descriptor for UI elements.", "keywords": [ "badge" diff --git a/packages/components/breadcrumbs/CHANGELOG.md b/packages/components/breadcrumbs/CHANGELOG.md index 2db1e40f8d..2f65d879d7 100644 --- a/packages/components/breadcrumbs/CHANGELOG.md +++ b/packages/components/breadcrumbs/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/breadcrumbs +## 2.0.10 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/react-utils@2.0.14 + ## 2.0.9 ### Patch Changes diff --git a/packages/components/breadcrumbs/package.json b/packages/components/breadcrumbs/package.json index 69bd900f04..b190e2d29a 100644 --- a/packages/components/breadcrumbs/package.json +++ b/packages/components/breadcrumbs/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/breadcrumbs", - "version": "2.0.9", + "version": "2.0.10", "description": "Breadcrumbs display a hierarchy of links to the current page or resource in an application.", "keywords": [ "breadcrumbs" @@ -43,10 +43,10 @@ "@nextui-org/react-utils": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/shared-icons": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/breadcrumbs": "3.5.11", + "@react-aria/focus": "3.17.1", + "@react-aria/breadcrumbs": "3.5.13", "@react-aria/utils": "3.24.1", - "@react-types/breadcrumbs": "3.7.3", + "@react-types/breadcrumbs": "3.7.5", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/button/CHANGELOG.md b/packages/components/button/CHANGELOG.md index 28c1761147..b4f9d6763f 100644 --- a/packages/components/button/CHANGELOG.md +++ b/packages/components/button/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/button +## 2.0.34 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/ripple@2.0.30 + - @nextui-org/spinner@2.0.30 + ## 2.0.33 ### Patch Changes diff --git a/packages/components/button/package.json b/packages/components/button/package.json index 7e8e0a24f6..b7e44122ef 100644 --- a/packages/components/button/package.json +++ b/packages/components/button/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/button", - "version": "2.0.33", + "version": "2.0.34", "description": "Buttons allow users to perform actions and choose with a single tap.", "keywords": [ "button" @@ -46,12 +46,12 @@ "@nextui-org/use-aria-button": "workspace:*", "@nextui-org/ripple": "workspace:*", "@nextui-org/spinner": "workspace:*", - "@react-aria/button": "3.9.3", - "@react-aria/interactions": "3.21.1", + "@react-aria/button": "3.9.5", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-aria/focus": "3.16.2", + "@react-aria/focus": "3.17.1", "@react-types/shared": "3.23.1", - "@react-types/button": "3.9.2" + "@react-types/button": "3.9.4" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/calendar/CHANGELOG.md b/packages/components/calendar/CHANGELOG.md index 614220cd7b..e47bcb34d0 100644 --- a/packages/components/calendar/CHANGELOG.md +++ b/packages/components/calendar/CHANGELOG.md @@ -1,5 +1,18 @@ # @nextui-org/calendar +## 2.0.7 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/button@2.0.34 + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.0.6 ### Patch Changes diff --git a/packages/components/calendar/package.json b/packages/components/calendar/package.json index 6bc97d7d5f..4f57b6ad50 100644 --- a/packages/components/calendar/package.json +++ b/packages/components/calendar/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/calendar", - "version": "2.0.6", + "version": "2.0.7", "description": "A calendar displays one or more date grids and allows users to select a single date.", "keywords": [ "calendar" @@ -47,17 +47,17 @@ "@nextui-org/use-aria-button": "workspace:*", "@nextui-org/button": "workspace:*", "lodash.debounce": "^4.0.8", - "@internationalized/date": "^3.5.2", - "@react-aria/calendar": "3.5.6", - "@react-aria/focus": "3.16.2", - "@react-aria/i18n": "3.10.2", - "@react-stately/calendar": "3.4.4", - "@react-types/button": "3.9.2", - "@react-aria/visually-hidden": "3.8.10", + "@internationalized/date": "^3.5.4", + "@react-aria/calendar": "3.5.8", + "@react-aria/focus": "3.17.1", + "@react-aria/i18n": "3.11.1", + "@react-stately/calendar": "3.5.1", + "@react-types/button": "3.9.4", + "@react-aria/visually-hidden": "3.8.12", "@react-aria/utils": "3.24.1", - "@react-stately/utils": "3.9.1", - "@react-types/calendar": "3.4.4", - "@react-aria/interactions": "3.21.1", + "@react-stately/utils": "3.10.1", + "@react-types/calendar": "3.4.6", + "@react-aria/interactions": "3.21.3", "@react-types/shared": "3.23.1", "scroll-into-view-if-needed": "3.0.10", "@types/lodash.debounce": "^4.0.7" diff --git a/packages/components/card/CHANGELOG.md b/packages/components/card/CHANGELOG.md index 04a6cce7ab..7c8d99ba7d 100644 --- a/packages/components/card/CHANGELOG.md +++ b/packages/components/card/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/card +## 2.0.31 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/ripple@2.0.30 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/card/package.json b/packages/components/card/package.json index 6fc1c98602..b1a7048a34 100644 --- a/packages/components/card/package.json +++ b/packages/components/card/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/card", - "version": "2.0.30", + "version": "2.0.31", "description": "Card is a container for text, photos, and actions in the context of a single subject.", "keywords": [ "card" @@ -45,10 +45,10 @@ "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-aria-button": "workspace:*", "@nextui-org/ripple": "workspace:*", - "@react-aria/focus": "3.16.2", + "@react-aria/focus": "3.17.1", "@react-aria/utils": "3.24.1", - "@react-aria/interactions": "3.21.1", - "@react-aria/button": "3.9.3", + "@react-aria/interactions": "3.21.3", + "@react-aria/button": "3.9.5", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/checkbox/CHANGELOG.md b/packages/components/checkbox/CHANGELOG.md index 9605931f3e..a8c014ef60 100644 --- a/packages/components/checkbox/CHANGELOG.md +++ b/packages/components/checkbox/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/checkbox +## 2.1.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.1.1 ### Patch Changes diff --git a/packages/components/checkbox/package.json b/packages/components/checkbox/package.json index 72f286c01d..0d9e4fcd30 100644 --- a/packages/components/checkbox/package.json +++ b/packages/components/checkbox/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/checkbox", - "version": "2.1.1", + "version": "2.1.2", "description": "Checkboxes allow users to select multiple items from a list of individual items, or to mark one individual item as selected.", "keywords": [ "checkbox" @@ -44,14 +44,14 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/use-callback-ref": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/checkbox": "3.14.1", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/checkbox": "3.14.3", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/checkbox": "3.6.3", - "@react-stately/toggle": "3.7.2", - "@react-types/checkbox": "3.7.1", + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/checkbox": "3.6.5", + "@react-stately/toggle": "3.7.4", + "@react-types/checkbox": "3.8.1", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/chip/CHANGELOG.md b/packages/components/chip/CHANGELOG.md index b402b224a5..39904b5bdc 100644 --- a/packages/components/chip/CHANGELOG.md +++ b/packages/components/chip/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/chip +## 2.0.30 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/react-utils@2.0.14 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/chip/package.json b/packages/components/chip/package.json index e30a2fa756..8ceef2d453 100644 --- a/packages/components/chip/package.json +++ b/packages/components/chip/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/chip", - "version": "2.0.29", + "version": "2.0.30", "description": "Chips help people enter information, make selections, filter content, or trigger actions.", "keywords": [ "chip" @@ -43,10 +43,10 @@ "@nextui-org/shared-icons": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-types/checkbox": "3.7.1" + "@react-types/checkbox": "3.8.1" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/code/CHANGELOG.md b/packages/components/code/CHANGELOG.md index 34dd190fbf..5ff7d2918d 100644 --- a/packages/components/code/CHANGELOG.md +++ b/packages/components/code/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/code +## 2.0.29 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + - @nextui-org/system-rsc@2.1.2 + ## 2.0.28 ### Patch Changes diff --git a/packages/components/code/package.json b/packages/components/code/package.json index 04f63ec8ec..ee790aea11 100644 --- a/packages/components/code/package.json +++ b/packages/components/code/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/code", - "version": "2.0.28", + "version": "2.0.29", "description": "Code is a component used to display inline code.", "keywords": [ "code" diff --git a/packages/components/date-input/CHANGELOG.md b/packages/components/date-input/CHANGELOG.md index 6494f33363..8d96d36419 100644 --- a/packages/components/date-input/CHANGELOG.md +++ b/packages/components/date-input/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/date-input +## 2.1.1 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#3112](https://github.com/nextui-org/nextui/pull/3112) [`df0126f93`](https://github.com/nextui-org/nextui/commit/df0126f93f0f9c2cfa0cbfa44f5abd394ebd48d0) Thanks [@ryo-manba](https://github.com/ryo-manba)! - chore(date): update errorMessageFunction story and docs for date libraries + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.1.0 ### Minor Changes diff --git a/packages/components/date-input/package.json b/packages/components/date-input/package.json index 64c7a793da..6449455e9e 100644 --- a/packages/components/date-input/package.json +++ b/packages/components/date-input/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/date-input", - "version": "2.1.0", + "version": "2.1.1", "description": "A date input allows users to enter and edit date and time values using a keyboard.", "keywords": [ "date-field" @@ -42,13 +42,13 @@ "dependencies": { "@nextui-org/react-utils": "workspace:*", "@nextui-org/shared-utils": "workspace:*", - "@internationalized/date": "^3.5.2", - "@react-aria/datepicker": "3.9.3", - "@react-aria/i18n": "3.10.2", - "@react-stately/datepicker": "3.9.2", - "@react-types/datepicker": "3.7.2", + "@internationalized/date": "^3.5.4", + "@react-aria/datepicker": "3.10.1", + "@react-aria/i18n": "3.11.1", + "@react-stately/datepicker": "3.9.4", + "@react-types/datepicker": "3.7.4", "@react-types/shared": "3.23.1", - "@react-aria/utils": "3.23.2" + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/system": "workspace:*", diff --git a/packages/components/date-input/src/date-input-group.tsx b/packages/components/date-input/src/date-input-group.tsx index cecd813fdf..998d166e47 100644 --- a/packages/components/date-input/src/date-input-group.tsx +++ b/packages/components/date-input/src/date-input-group.tsx @@ -1,21 +1,11 @@ import type {HTMLAttributes, ReactElement, ReactNode} from "react"; -import type {GroupDOMAttributes} from "@react-types/shared"; +import type {GroupDOMAttributes, HelpTextProps, ValidationResult} from "@react-types/shared"; import {useMemo} from "react"; import {forwardRef} from "@nextui-org/system"; import {dataAttr} from "@nextui-org/shared-utils"; -// TODO: Use HelpTextProps from "@react-types/shared"; once we upgrade react-aria packages to the latest version. -export interface ValidationResult { - /** Whether the input value is invalid. */ - isInvalid: boolean; - /** The current error messages for the input if it is invalid, otherwise an empty array. */ - validationErrors: string[]; - /** The native validation details for the input. */ - validationDetails: ValidityState; -} - -export interface DateInputGroupProps extends ValidationResult { +export interface DateInputGroupProps extends ValidationResult, HelpTextProps { children?: ReactElement | ReactElement[]; shouldLabelBeOutside?: boolean; label?: ReactNode; @@ -27,10 +17,6 @@ export interface DateInputGroupProps extends ValidationResult { labelProps?: HTMLAttributes; descriptionProps?: HTMLAttributes; errorMessageProps?: HTMLAttributes; - /** A description for the field. Provides a hint such as specific requirements for what to choose. */ - description?: ReactNode; - /** An error message for the field. */ - errorMessage?: ReactNode | ((v: ValidationResult) => ReactNode); } export const DateInputGroup = forwardRef<"div", DateInputGroupProps>((props, ref) => { diff --git a/packages/components/date-input/src/use-date-input.ts b/packages/components/date-input/src/use-date-input.ts index 1ecbe7d8e4..cf87e140c7 100644 --- a/packages/components/date-input/src/use-date-input.ts +++ b/packages/components/date-input/src/use-date-input.ts @@ -155,7 +155,6 @@ export function useDateInput(originalProps: UseDateInputPro minValue, maxValue, validationBehavior, - isInvalid: isInvalidProp, shouldForceLeadingZeros, createCalendar: !createCalendarProp || typeof createCalendarProp !== "function" diff --git a/packages/components/date-input/stories/date-input.stories.tsx b/packages/components/date-input/stories/date-input.stories.tsx index 87c2b74697..af0cc936f5 100644 --- a/packages/components/date-input/stories/date-input.stories.tsx +++ b/packages/components/date-input/stories/date-input.stories.tsx @@ -13,6 +13,7 @@ import { } from "@internationalized/date"; import {CalendarBoldIcon} from "@nextui-org/shared-icons"; import {useDateFormatter, I18nProvider} from "@react-aria/i18n"; +import {ValidationResult} from "@react-types/shared"; import {DateInput, DateInputProps} from "../src"; @@ -254,10 +255,25 @@ export const WithErrorMessage = { args: { ...defaultProps, + isInvalid: true, errorMessage: "Please enter a valid date", }, }; +export const WithErrorMessageFunction = { + render: Template, + + args: { + ...defaultProps, + isInvalid: true, + errorMessage: (value: ValidationResult) => { + if (value.isInvalid) { + return "Please enter a valid date"; + } + }, + }, +}; + export const IsInvalid = { render: Template, diff --git a/packages/components/date-input/stories/time-input.stories.tsx b/packages/components/date-input/stories/time-input.stories.tsx index 16f0190bf2..cdf090c8b1 100644 --- a/packages/components/date-input/stories/time-input.stories.tsx +++ b/packages/components/date-input/stories/time-input.stories.tsx @@ -9,6 +9,7 @@ import { ZonedDateTime, } from "@internationalized/date"; import {useDateFormatter} from "@react-aria/i18n"; +import {ValidationResult} from "@react-types/shared"; import {TimeInput, TimeInputProps, TimeInputValue as TimeValue} from "../src"; @@ -192,6 +193,30 @@ export const WithDescription = { }, }; +export const WithErrorMessage = { + render: Template, + + args: { + ...defaultProps, + isInvalid: true, + errorMessage: "Please enter a valid time", + }, +}; + +export const WithErrorMessageFunction = { + render: Template, + + args: { + ...defaultProps, + isInvalid: true, + errorMessage: (value: ValidationResult) => { + if (value.isInvalid) { + return "Please enter a valid date"; + } + }, + }, +}; + export const LabelPlacement = { render: LabelPlacementTemplate, diff --git a/packages/components/date-picker/CHANGELOG.md b/packages/components/date-picker/CHANGELOG.md index c1e8739471..04eb40178c 100644 --- a/packages/components/date-picker/CHANGELOG.md +++ b/packages/components/date-picker/CHANGELOG.md @@ -1,5 +1,24 @@ # @nextui-org/date-picker +## 2.1.2 + +### Patch Changes + +- [#3146](https://github.com/nextui-org/nextui/pull/3146) [`3da81494c`](https://github.com/nextui-org/nextui/commit/3da81494c37f26e9b0e76745e461ac091e7c03af) Thanks [@ryo-manba](https://github.com/ryo-manba)! - Add support for apply styles to DateInput (#2770, #2895, #2998) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#3112](https://github.com/nextui-org/nextui/pull/3112) [`df0126f93`](https://github.com/nextui-org/nextui/commit/df0126f93f0f9c2cfa0cbfa44f5abd394ebd48d0) Thanks [@ryo-manba](https://github.com/ryo-manba)! - chore(date): update errorMessageFunction story and docs for date libraries + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`df0126f93`](https://github.com/nextui-org/nextui/commit/df0126f93f0f9c2cfa0cbfa44f5abd394ebd48d0), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/popover@2.1.24 + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/button@2.0.34 + - @nextui-org/calendar@2.0.7 + - @nextui-org/date-input@2.1.1 + - @nextui-org/react-utils@2.0.14 + ## 2.1.1 ### Patch Changes diff --git a/packages/components/date-picker/__tests__/date-picker.test.tsx b/packages/components/date-picker/__tests__/date-picker.test.tsx index 3bb62626a0..fbdad01e89 100644 --- a/packages/components/date-picker/__tests__/date-picker.test.tsx +++ b/packages/components/date-picker/__tests__/date-picker.test.tsx @@ -172,6 +172,26 @@ describe("DatePicker", () => { expect(getByTestId("foo")).toHaveAttribute("role", "group"); }); + + it("should apply custom dateInput classNames", function () { + const {getByRole, getByText} = render( + , + ); + + const label = getByText("Date"); + + expect(label).toHaveClass("text-green-500"); + + const inputWrapper = getByRole("group"); + + expect(inputWrapper).toHaveClass("border-green-500"); + }); }); describe("Events", () => { diff --git a/packages/components/date-picker/package.json b/packages/components/date-picker/package.json index 8cf1bfc22e..5cb1f6798b 100644 --- a/packages/components/date-picker/package.json +++ b/packages/components/date-picker/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/date-picker", - "version": "2.1.1", + "version": "2.1.2", "description": "A date picker combines a DateInput and a Calendar popover to allow users to enter or select a date and time value.", "keywords": [ "date-picker" @@ -48,15 +48,15 @@ "@nextui-org/date-input": "workspace:*", "@nextui-org/shared-icons": "workspace:*", "@nextui-org/aria-utils": "workspace:*", - "@react-stately/overlays": "3.6.5", - "@react-stately/utils": "3.9.1", - "@internationalized/date": "^3.5.2", - "@react-aria/datepicker": "3.9.3", - "@react-aria/i18n": "3.10.2", - "@react-stately/datepicker": "3.9.2", - "@react-types/datepicker": "3.7.2", + "@react-stately/overlays": "3.6.7", + "@react-stately/utils": "3.10.1", + "@internationalized/date": "^3.5.4", + "@react-aria/datepicker": "3.10.1", + "@react-aria/i18n": "3.11.1", + "@react-stately/datepicker": "3.9.4", + "@react-types/datepicker": "3.7.4", "@react-types/shared": "3.23.1", - "@react-aria/utils": "3.23.2" + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/system": "workspace:*", diff --git a/packages/components/date-picker/src/use-date-picker.ts b/packages/components/date-picker/src/use-date-picker.ts index 8d4957bdf2..ecf229dc9b 100644 --- a/packages/components/date-picker/src/use-date-picker.ts +++ b/packages/components/date-picker/src/use-date-picker.ts @@ -49,7 +49,13 @@ interface Props classNames?: SlotsToClasses & DateInputProps["classNames"]; } -export type UseDatePickerProps = Props & AriaDatePickerProps; +export type UseDatePickerProps = Props & + AriaDatePickerProps & { + /** + * Classname or List of classes to change the classNames of the date input element. + */ + dateInputClassNames?: DateInputProps["classNames"]; + }; export function useDatePicker({ className, @@ -129,6 +135,7 @@ export function useDatePicker({ const getDateInputProps = () => { return { ...dateInputProps, + classNames: {...originalProps?.dateInputClassNames}, groupProps, labelProps, createCalendar, diff --git a/packages/components/date-picker/stories/date-picker.stories.tsx b/packages/components/date-picker/stories/date-picker.stories.tsx index 1dac4ee286..d662a5415e 100644 --- a/packages/components/date-picker/stories/date-picker.stories.tsx +++ b/packages/components/date-picker/stories/date-picker.stories.tsx @@ -17,6 +17,7 @@ import {I18nProvider, useDateFormatter, useLocale} from "@react-aria/i18n"; import {Button, ButtonGroup} from "@nextui-org/button"; import {Radio, RadioGroup} from "@nextui-org/radio"; import {cn} from "@nextui-org/theme"; +import {ValidationResult} from "@react-types/shared"; import {DatePicker, DatePickerProps} from "../src"; @@ -424,10 +425,25 @@ export const WithErrorMessage = { args: { ...defaultProps, + isInvalid: true, errorMessage: "Please enter a valid date", }, }; +export const WithErrorMessageFunction = { + render: Template, + + args: { + ...defaultProps, + isInvalid: true, + errorMessage: (value: ValidationResult) => { + if (value.isInvalid) { + return "Please enter a valid date"; + } + }, + }, +}; + export const IsInvalid = { render: Template, @@ -537,3 +553,18 @@ export const WithValidation = { label: "Date (Year 2024 or later)", }, }; + +export const WithDateInputClassNames = { + render: Template, + args: { + ...defaultProps, + dateInputClassNames: { + base: "bg-gray-200 p-2 rounded-md", + label: "text-blue-400 font-semibold", + inputWrapper: "border-3 border-solid border-blue-400 p-2 rounded-md", + description: "text-black", + }, + isRequired: true, + description: "Please enter your birth date", + }, +}; diff --git a/packages/components/date-picker/stories/date-range-picker.stories.tsx b/packages/components/date-picker/stories/date-range-picker.stories.tsx index f24d1d4385..25df66ab0c 100644 --- a/packages/components/date-picker/stories/date-range-picker.stories.tsx +++ b/packages/components/date-picker/stories/date-range-picker.stories.tsx @@ -13,7 +13,7 @@ import { startOfWeek, today, } from "@internationalized/date"; -import {RangeValue} from "@react-types/shared"; +import {RangeValue, ValidationResult} from "@react-types/shared"; import {DateValue} from "@react-types/datepicker"; import {I18nProvider, useDateFormatter, useLocale} from "@react-aria/i18n"; import {Button, ButtonGroup} from "@nextui-org/button"; @@ -499,7 +499,22 @@ export const WithErrorMessage = { args: { ...defaultProps, - errorMessage: "Please enter your stay duration", + isInvalid: true, + errorMessage: "Please enter a valid date range", + }, +}; + +export const WithErrorMessageFunction = { + render: Template, + + args: { + ...defaultProps, + isInvalid: true, + errorMessage: (value: ValidationResult) => { + if (value.isInvalid) { + return "Please enter a valid date range"; + } + }, }, }; diff --git a/packages/components/dropdown/CHANGELOG.md b/packages/components/dropdown/CHANGELOG.md index 0505fdc873..0bf2a7980c 100644 --- a/packages/components/dropdown/CHANGELOG.md +++ b/packages/components/dropdown/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/dropdown +## 2.1.26 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/popover@2.1.24 + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/menu@2.0.25 + - @nextui-org/react-utils@2.0.14 + ## 2.1.25 ### Patch Changes diff --git a/packages/components/dropdown/__tests__/dropdown.test.tsx b/packages/components/dropdown/__tests__/dropdown.test.tsx index ee1ada513d..cd617d1a00 100644 --- a/packages/components/dropdown/__tests__/dropdown.test.tsx +++ b/packages/components/dropdown/__tests__/dropdown.test.tsx @@ -667,7 +667,7 @@ describe("Keyboard interactions", () => { expect(triggerButton).toHaveFocus(); - fireEvent.keyDown(triggerButton, {key: " ", charCode: keyCodes.Space}); + fireEvent.keyDown(triggerButton, {key: " ", charCode: keyCodes[" "]}); let menu = wrapper.queryByRole("menu"); @@ -679,4 +679,120 @@ describe("Keyboard interactions", () => { expect(menuItems[0]).toHaveFocus(); }); + + it("should press the item on keyDown (Enter)", async () => { + const user = userEvent.setup(); + + const logSpy = jest.spyOn(console, "log").mockImplementation(() => {}); + + const wrapper = render( + + + + + + { + /* eslint-disable no-console */ + console.log("ENTER"); + }} + > + New file + + Copy link + Edit file + + Delete file + + + , + ); + + let triggerButton = wrapper.getByTestId("trigger-test"); + + act(() => { + triggerButton.focus(); + }); + + expect(triggerButton).toHaveFocus(); + + fireEvent.keyDown(triggerButton, {key: "Enter", charCode: keyCodes.Enter}); + + let menu = wrapper.queryByRole("menu"); + + expect(menu).toBeTruthy(); + + let menuItems = wrapper.getAllByRole("menuitemradio"); + + expect(menuItems.length).toBe(4); + + expect(menuItems[0]).toHaveFocus(); + + await act(async () => { + await user.keyboard("[Enter]"); + }); + + expect(logSpy).toHaveBeenCalledWith("ENTER"); + + logSpy.mockRestore(); + }); + + it("should press the item on keyDown (Space)", async () => { + const user = userEvent.setup(); + + const logSpy = jest.spyOn(console, "log").mockImplementation(() => {}); + + const wrapper = render( + + + + + + { + /* eslint-disable no-console */ + console.log("SPACE"); + }} + > + New file + + Copy link + Edit file + + Delete file + + + , + ); + + let triggerButton = wrapper.getByTestId("trigger-test"); + + act(() => { + triggerButton.focus(); + }); + + expect(triggerButton).toHaveFocus(); + + fireEvent.keyDown(triggerButton, {key: "Enter", charCode: keyCodes.Enter}); + + let menu = wrapper.queryByRole("menu"); + + expect(menu).toBeTruthy(); + + let menuItems = wrapper.getAllByRole("menuitemradio"); + + expect(menuItems.length).toBe(4); + + expect(menuItems[0]).toHaveFocus(); + + await act(async () => { + await user.keyboard("[Space]"); + }); + + expect(logSpy).toHaveBeenCalledWith("SPACE"); + + logSpy.mockRestore(); + }); }); diff --git a/packages/components/dropdown/package.json b/packages/components/dropdown/package.json index 1dbfbe1d1f..6b9f7dc3f1 100644 --- a/packages/components/dropdown/package.json +++ b/packages/components/dropdown/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/dropdown", - "version": "2.1.25", + "version": "2.1.26", "description": "A dropdown displays a list of actions or options that a user can choose.", "keywords": [ "dropdown" @@ -46,11 +46,11 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/aria-utils": "workspace:*", - "@react-aria/menu": "3.13.1", + "@react-aria/menu": "3.14.1", "@react-aria/utils": "3.24.1", - "@react-stately/menu": "3.6.1", - "@react-aria/focus": "3.16.2", - "@react-types/menu": "3.9.7" + "@react-stately/menu": "3.7.1", + "@react-aria/focus": "3.17.1", + "@react-types/menu": "3.9.9" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/image/CHANGELOG.md b/packages/components/image/CHANGELOG.md index af5bf620d3..259c1b0b40 100644 --- a/packages/components/image/CHANGELOG.md +++ b/packages/components/image/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/image +## 2.0.29 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.28 ### Patch Changes diff --git a/packages/components/image/package.json b/packages/components/image/package.json index 685b199dd0..cbf21b77e5 100644 --- a/packages/components/image/package.json +++ b/packages/components/image/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/image", - "version": "2.0.28", + "version": "2.0.29", "description": "A simple image component", "keywords": [ "image" diff --git a/packages/components/input/CHANGELOG.md b/packages/components/input/CHANGELOG.md index 5762c87182..1c4d56a13d 100644 --- a/packages/components/input/CHANGELOG.md +++ b/packages/components/input/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/input +## 2.2.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#3174](https://github.com/nextui-org/nextui/pull/3174) [`dbb4b8ee5`](https://github.com/nextui-org/nextui/commit/dbb4b8ee564114bfb0ef93467ed9ef6a3ff7e2e7) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix input display with hidden type (#3170) + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/react-utils@2.0.14 + ## 2.2.1 ### Patch Changes diff --git a/packages/components/input/__tests__/input.test.tsx b/packages/components/input/__tests__/input.test.tsx index 13de8cf841..043de2da6e 100644 --- a/packages/components/input/__tests__/input.test.tsx +++ b/packages/components/input/__tests__/input.test.tsx @@ -153,6 +153,33 @@ describe("Input", () => { expect(onClear).toHaveBeenCalledTimes(1); }); + + it("should not display input with hidden type", async () => { + const wrapper = render( + <> + + + , + ); + + const {container} = wrapper; + + const inputBaseWrappers = container.querySelectorAll("[data-slot='base']"); + + expect(inputBaseWrappers).toHaveLength(2); + + const inputs = container.querySelectorAll("input"); + + expect(inputs).toHaveLength(2); + + expect(inputBaseWrappers[0]).toHaveAttribute("data-hidden"); + + expect(inputBaseWrappers[1]).not.toHaveAttribute("data-hidden"); + + expect(inputs[0]).not.toBeVisible(); + + expect(inputs[1]).toBeVisible(); + }); }); describe("Input with React Hook Form", () => { diff --git a/packages/components/input/package.json b/packages/components/input/package.json index 2496d6c368..25bf5dac7a 100644 --- a/packages/components/input/package.json +++ b/packages/components/input/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/input", - "version": "2.2.1", + "version": "2.2.2", "description": "The input component is designed for capturing user input within a text field.", "keywords": [ "input" @@ -44,13 +44,13 @@ "@nextui-org/shared-icons": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/textfield": "3.14.3", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/textfield": "3.14.5", "@react-aria/utils": "3.24.1", - "@react-stately/utils": "3.9.1", + "@react-stately/utils": "3.10.1", "@react-types/shared": "3.23.1", - "@react-types/textfield": "3.9.1", + "@react-types/textfield": "3.9.3", "react-textarea-autosize": "^8.5.3" }, "devDependencies": { diff --git a/packages/components/input/src/use-input.ts b/packages/components/input/src/use-input.ts index 4902d3279c..c81dcd992c 100644 --- a/packages/components/input/src/use-input.ts +++ b/packages/components/input/src/use-input.ts @@ -145,9 +145,11 @@ export function useInput { setInputValue(""); @@ -286,6 +288,7 @@ export function useInput { const RegexValidationTemplate = (args) => { const [value, setValue] = React.useState(""); - const validateEmail = (value) => value.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,4}$/i); + const validateEmail = (value) => value.match(/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i); const validationState = React.useMemo(() => { if (value === "") return undefined; diff --git a/packages/components/kbd/CHANGELOG.md b/packages/components/kbd/CHANGELOG.md index dd863d22d3..3e42be8688 100644 --- a/packages/components/kbd/CHANGELOG.md +++ b/packages/components/kbd/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/kbd +## 2.0.30 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + - @nextui-org/system-rsc@2.1.2 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/kbd/package.json b/packages/components/kbd/package.json index a794374bd2..54d11cd7a1 100644 --- a/packages/components/kbd/package.json +++ b/packages/components/kbd/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/kbd", - "version": "2.0.29", + "version": "2.0.30", "description": "The keyboard key components indicates which key or set of keys used to execute a specificv action", "keywords": [ "kbd" @@ -42,7 +42,7 @@ "@nextui-org/system-rsc": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", - "@react-aria/utils": "3.23.2" + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/link/CHANGELOG.md b/packages/components/link/CHANGELOG.md index 11f3ae95a4..d8397585a5 100644 --- a/packages/components/link/CHANGELOG.md +++ b/packages/components/link/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/link +## 2.0.32 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/use-aria-link@2.0.18 + - @nextui-org/react-utils@2.0.14 + ## 2.0.31 ### Patch Changes diff --git a/packages/components/link/package.json b/packages/components/link/package.json index 64c30ced36..df563f2008 100644 --- a/packages/components/link/package.json +++ b/packages/components/link/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/link", - "version": "2.0.31", + "version": "2.0.32", "description": "Links allow users to click their way from page to page. This component is styled to resemble a hyperlink and semantically renders an <a>", "keywords": [ "link" @@ -46,8 +46,8 @@ "@nextui-org/use-aria-link": "workspace:*", "@react-aria/link": "3.7.1", "@react-aria/utils": "3.24.1", - "@react-aria/focus": "3.16.2", - "@react-types/link": "3.5.3" + "@react-aria/focus": "3.17.1", + "@react-types/link": "3.5.5" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/listbox/CHANGELOG.md b/packages/components/listbox/CHANGELOG.md index ce47459b70..7651cd18e2 100644 --- a/packages/components/listbox/CHANGELOG.md +++ b/packages/components/listbox/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/listbox +## 2.1.22 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/use-is-mobile@2.0.8 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/divider@2.0.28 + ## 2.1.21 ### Patch Changes diff --git a/packages/components/listbox/package.json b/packages/components/listbox/package.json index d1fb9ffc26..c58ee02f15 100644 --- a/packages/components/listbox/package.json +++ b/packages/components/listbox/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/listbox", - "version": "2.1.21", + "version": "2.1.22", "description": "A listbox displays a list of options and allows a user to select one or more of them.", "keywords": [ "listbox" @@ -46,11 +46,11 @@ "@nextui-org/aria-utils": "workspace:*", "@nextui-org/use-is-mobile": "workspace:*", "@react-aria/utils": "3.24.1", - "@react-aria/listbox": "3.11.5", - "@react-stately/list": "3.10.3", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-types/menu": "3.9.7", + "@react-aria/listbox": "3.12.1", + "@react-stately/list": "3.10.5", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-types/menu": "3.9.9", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/menu/CHANGELOG.md b/packages/components/menu/CHANGELOG.md index d877d9d799..e2d5f2d1a4 100644 --- a/packages/components/menu/CHANGELOG.md +++ b/packages/components/menu/CHANGELOG.md @@ -1,5 +1,18 @@ # @nextui-org/menu +## 2.0.25 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`5b9e317a8`](https://github.com/nextui-org/nextui/commit/5b9e317a80dacad09a3fc3c5b762729cd10b2bb3), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/use-aria-menu@2.0.5 + - @nextui-org/use-is-mobile@2.0.8 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/divider@2.0.28 + ## 2.0.24 ### Patch Changes diff --git a/packages/components/menu/package.json b/packages/components/menu/package.json index f79ba7a5ff..5a3eee03bc 100644 --- a/packages/components/menu/package.json +++ b/packages/components/menu/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/menu", - "version": "2.0.24", + "version": "2.0.25", "description": "A menu displays a list of options and allows a user to select one or more of them.", "keywords": [ "menu" @@ -46,13 +46,13 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-aria-menu": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/menu": "3.13.1", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/menu": "3.14.1", "@react-aria/utils": "3.24.1", - "@react-stately/menu": "3.6.1", - "@react-stately/tree": "3.7.6", - "@react-types/menu": "3.9.7", + "@react-stately/menu": "3.7.1", + "@react-stately/tree": "3.8.1", + "@react-types/menu": "3.9.9", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/modal/CHANGELOG.md b/packages/components/modal/CHANGELOG.md index 8d1b7616ad..b0f25d0739 100644 --- a/packages/components/modal/CHANGELOG.md +++ b/packages/components/modal/CHANGELOG.md @@ -1,5 +1,21 @@ # @nextui-org/modal +## 2.0.36 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - remove `disableFocusManagement` from Overlay + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/use-aria-modal-overlay@2.0.10 + - @nextui-org/use-disclosure@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.0.35 ### Patch Changes diff --git a/packages/components/modal/package.json b/packages/components/modal/package.json index e08c9d5358..ab4a4ce7fa 100644 --- a/packages/components/modal/package.json +++ b/packages/components/modal/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/modal", - "version": "2.0.35", + "version": "2.0.36", "description": "Displays a dialog with a custom content that requires attention or provides additional information.", "keywords": [ "modal" @@ -48,13 +48,13 @@ "@nextui-org/react-utils": "workspace:*", "@nextui-org/shared-icons": "workspace:*", "@nextui-org/use-aria-modal-overlay": "workspace:*", - "@react-aria/dialog": "3.5.12", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/overlays": "3.21.1", + "@react-aria/dialog": "3.5.14", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/overlays": "3.22.1", "@react-aria/utils": "3.24.1", - "@react-stately/overlays": "3.6.5", - "@react-types/overlays": "3.8.5" + "@react-stately/overlays": "3.6.7", + "@react-types/overlays": "3.8.7" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/modal/src/modal.tsx b/packages/components/modal/src/modal.tsx index 1aa2ceb64b..323aa53089 100644 --- a/packages/components/modal/src/modal.tsx +++ b/packages/components/modal/src/modal.tsx @@ -17,11 +17,7 @@ const Modal = forwardRef<"div", ModalProps>((props, ref) => { const {children, ...otherProps} = props; const context = useModal({...otherProps, ref}); - const overlay = ( - - {children} - - ); + const overlay = {children}; return ( diff --git a/packages/components/navbar/CHANGELOG.md b/packages/components/navbar/CHANGELOG.md index a6772476c2..104c2999eb 100644 --- a/packages/components/navbar/CHANGELOG.md +++ b/packages/components/navbar/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/navbar +## 2.0.33 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/use-aria-toggle-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.0.32 ### Patch Changes diff --git a/packages/components/navbar/package.json b/packages/components/navbar/package.json index ebda8182f6..1698a4f9e0 100644 --- a/packages/components/navbar/package.json +++ b/packages/components/navbar/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/navbar", - "version": "2.0.32", + "version": "2.0.33", "description": "A responsive navigation header positioned on top side of your page that includes support for branding, links, navigation, collapse and more.", "keywords": [ "navbar" @@ -46,12 +46,12 @@ "@nextui-org/framer-utils": "workspace:*", "@nextui-org/use-aria-toggle-button": "workspace:*", "@nextui-org/use-scroll-position": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/overlays": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/overlays": "3.22.1", "@react-aria/utils": "3.24.1", - "@react-stately/toggle": "3.7.2", - "@react-stately/utils": "3.9.1", + "@react-stately/toggle": "3.7.4", + "@react-stately/utils": "3.10.1", "react-remove-scroll": "^2.5.6" }, "devDependencies": { diff --git a/packages/components/navbar/src/navbar-menu-transitions.ts b/packages/components/navbar/src/navbar-menu-transitions.ts index be791f275f..9c03c89203 100644 --- a/packages/components/navbar/src/navbar-menu-transitions.ts +++ b/packages/components/navbar/src/navbar-menu-transitions.ts @@ -2,7 +2,7 @@ import {Variants} from "framer-motion"; export const menuVariants: Variants = { enter: { - height: "calc(100vh - var(--navbar-height) - 1px)", + height: "calc(100vh - var(--navbar-height))", transition: { duration: 0.3, easings: "easeOut", diff --git a/packages/components/pagination/CHANGELOG.md b/packages/components/pagination/CHANGELOG.md index 8a9edc49ef..b87f9bf160 100644 --- a/packages/components/pagination/CHANGELOG.md +++ b/packages/components/pagination/CHANGELOG.md @@ -1,5 +1,18 @@ # @nextui-org/pagination +## 2.0.33 + +### Patch Changes + +- [#3144](https://github.com/nextui-org/nextui/pull/3144) [`68d1629e7`](https://github.com/nextui-org/nextui/commit/68d1629e778723c85825463ef0d2cdd66c1a4aff) Thanks [@wingkwong](https://github.com/wingkwong)! - Fixed pagination missing animation (#3138) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/use-pagination@2.0.7 + - @nextui-org/react-utils@2.0.14 + ## 2.0.32 ### Patch Changes diff --git a/packages/components/pagination/package.json b/packages/components/pagination/package.json index 81cd173946..a1290b8235 100644 --- a/packages/components/pagination/package.json +++ b/packages/components/pagination/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/pagination", - "version": "2.0.32", + "version": "2.0.33", "description": "The Pagination component allows you to display active page and navigate between multiple pages.", "keywords": [ "pagination" @@ -44,9 +44,9 @@ "@nextui-org/react-utils": "workspace:*", "@nextui-org/shared-icons": "workspace:*", "@nextui-org/use-pagination": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/i18n": "3.10.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/i18n": "3.11.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", "scroll-into-view-if-needed": "3.0.10" }, diff --git a/packages/components/popover/CHANGELOG.md b/packages/components/popover/CHANGELOG.md index 02bf4512bd..7499988e52 100644 --- a/packages/components/popover/CHANGELOG.md +++ b/packages/components/popover/CHANGELOG.md @@ -1,5 +1,22 @@ # @nextui-org/popover +## 2.1.24 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix popover focus issue (#3171, #2992) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - remove `disableFocusManagement` from Overlay + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/button@2.0.34 + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.1.23 ### Patch Changes diff --git a/packages/components/popover/__tests__/popover.test.tsx b/packages/components/popover/__tests__/popover.test.tsx index 2ab4e75da9..53d463a699 100644 --- a/packages/components/popover/__tests__/popover.test.tsx +++ b/packages/components/popover/__tests__/popover.test.tsx @@ -4,6 +4,7 @@ import userEvent from "@testing-library/user-event"; import {Button} from "@nextui-org/button"; import {Popover, PopoverContent, PopoverTrigger} from "../src"; +import {Select, SelectItem} from "../../select/src"; // e.g. console.error Warning: Function components cannot be given refs. // Attempts to access this ref will fail. Did you mean to use React.forwardRef()? @@ -213,4 +214,104 @@ describe("Popover", () => { // assert that the second popover is open expect(popover2).toHaveAttribute("aria-expanded", "true"); }); + + it("should focus on dialog when opened", async () => { + const wrapper = render( + + + + + +

This is the content of the popover.

+
+
, + ); + + const trigger = wrapper.getByTestId("trigger-test"); + + // open popover + await act(async () => { + await userEvent.click(trigger); + }); + + const {getByRole} = wrapper; + + let dialog = getByRole("dialog"); + + // assert that the focus is on the dialog + expect(dialog).toHaveFocus(); + }); + + it("should restore focus on trigger when closed", async () => { + const wrapper = render( + + + + + +

This is the content of the popover.

+
+
, + ); + + const trigger = wrapper.getByTestId("popover-trigger"); + + await act(async () => { + // open popover + await userEvent.click(trigger); + // close popover + await userEvent.click(trigger); + // assert that the focus is restored back to trigger + expect(trigger).toHaveFocus(); + }); + }); + + it("should not close popover if nested select is closed", async () => { + const wrapper = render( + + + + + + + + , + ); + + const popover = wrapper.getByTestId("popover"); + + await act(async () => { + // open popover + await userEvent.click(popover); + }); + + // assert that the popover is open + expect(popover).toHaveAttribute("aria-expanded", "true"); + + const select = wrapper.getByTestId("select"); + + await act(async () => { + // open select + await userEvent.click(select); + }); + + // assert that the select is open + expect(select).toHaveAttribute("aria-expanded", "true"); + + await act(async () => { + await userEvent.click(document.body); + }); + + // assert that the select is closed + expect(select).toHaveAttribute("aria-expanded", "false"); + + // assert that the popover is still open + expect(popover).toHaveAttribute("aria-expanded", "true"); + }); }); diff --git a/packages/components/popover/package.json b/packages/components/popover/package.json index c91b194489..599672dd25 100644 --- a/packages/components/popover/package.json +++ b/packages/components/popover/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/popover", - "version": "2.1.23", + "version": "2.1.24", "description": "A popover is an overlay element positioned relative to a trigger.", "keywords": [ "popover" @@ -48,14 +48,14 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/dialog": "3.5.12", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/overlays": "3.21.1", + "@react-aria/dialog": "3.5.14", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/overlays": "3.22.1", "@react-aria/utils": "3.24.1", - "@react-stately/overlays": "3.6.5", - "@react-types/button": "3.9.2", - "@react-types/overlays": "3.8.5", + "@react-stately/overlays": "3.6.7", + "@react-types/button": "3.9.4", + "@react-types/overlays": "3.8.7", "react-remove-scroll": "^2.5.6" }, "devDependencies": { diff --git a/packages/components/popover/src/free-solo-popover.tsx b/packages/components/popover/src/free-solo-popover.tsx index edab8f19ec..036a0ce348 100644 --- a/packages/components/popover/src/free-solo-popover.tsx +++ b/packages/components/popover/src/free-solo-popover.tsx @@ -14,6 +14,7 @@ import {domAnimation, HTMLMotionProps, LazyMotion, m} from "framer-motion"; import {mergeProps} from "@react-aria/utils"; import {getTransformOrigins} from "@nextui-org/aria-utils"; import {TRANSITION_VARIANTS} from "@nextui-org/framer-utils"; +import {useDialog} from "@react-aria/dialog"; import {usePopover, UsePopoverProps, UsePopoverReturn} from "./use-popover"; @@ -92,7 +93,6 @@ const FreeSoloPopover = forwardRef<"div", FreeSoloPopoverProps>( state, placement, backdrop, - titleProps, portalContainer, disableAnimation, motionProps, @@ -106,6 +106,13 @@ const FreeSoloPopover = forwardRef<"div", FreeSoloPopoverProps>( ref, }); + const dialogRef = React.useRef(null); + const {dialogProps: ariaDialogProps, titleProps} = useDialog({}, dialogRef); + const dialogProps = getDialogProps({ + ref: dialogRef, + ...ariaDialogProps, + }); + const backdropContent = React.useMemo(() => { if (backdrop === "transparent") { return null; @@ -138,7 +145,7 @@ const FreeSoloPopover = forwardRef<"div", FreeSoloPopoverProps>( placement={placement} tabIndex={-1} transformOrigin={transformOrigin} - {...getDialogProps()} + {...dialogProps} > {!isNonModal && }
diff --git a/packages/components/popover/src/popover-content.tsx b/packages/components/popover/src/popover-content.tsx index 0c22513c8e..4f64da3257 100644 --- a/packages/components/popover/src/popover-content.tsx +++ b/packages/components/popover/src/popover-content.tsx @@ -1,7 +1,7 @@ import type {AriaDialogProps} from "@react-aria/dialog"; import type {HTMLMotionProps} from "framer-motion"; -import {DOMAttributes, ReactNode, useMemo, useCallback, ReactElement} from "react"; +import {DOMAttributes, ReactNode, useMemo, useRef} from "react"; import {forwardRef} from "@nextui-org/system"; import {DismissButton} from "@react-aria/overlays"; import {TRANSITION_VARIANTS} from "@nextui-org/framer-utils"; @@ -9,6 +9,7 @@ import {m, domAnimation, LazyMotion} from "framer-motion"; import {HTMLNextUIProps} from "@nextui-org/system"; import {RemoveScroll} from "react-remove-scroll"; import {getTransformOrigins} from "@nextui-org/aria-utils"; +import {useDialog} from "@react-aria/dialog"; import {usePopoverContext} from "./popover-context"; @@ -27,7 +28,6 @@ const PopoverContent = forwardRef<"div", PopoverContentProps>((props, _) => { placement, backdrop, motionProps, - titleProps, disableAnimation, shouldBlockScroll, getPopoverProps, @@ -38,10 +38,13 @@ const PopoverContent = forwardRef<"div", PopoverContentProps>((props, _) => { onClose, } = usePopoverContext(); - const dialogProps = getDialogProps(otherProps); - - // Not needed in the popover context, the popover role comes from getPopoverProps - delete dialogProps.role; + const dialogRef = useRef(null); + const {dialogProps: ariaDialogProps, titleProps} = useDialog({}, dialogRef); + const dialogProps = getDialogProps({ + ref: dialogRef, + ...ariaDialogProps, + ...otherProps, + }); const Component = as || OverlayComponent || "div"; @@ -79,34 +82,27 @@ const PopoverContent = forwardRef<"div", PopoverContentProps>((props, _) => { ); }, [backdrop, disableAnimation, getBackdropProps]); - const RemoveScrollWrapper = useCallback( - ({children}: {children: ReactElement}) => { - return ( - - {children} - - ); - }, - [shouldBlockScroll, isOpen], - ); - - const contents = disableAnimation ? ( - {content} - ) : ( - - - {content} - - + const contents = ( + + {disableAnimation ? ( + content + ) : ( + + + {content} + + + )} + ); return ( diff --git a/packages/components/popover/src/popover.tsx b/packages/components/popover/src/popover.tsx index c44888f487..3465d884b3 100644 --- a/packages/components/popover/src/popover.tsx +++ b/packages/components/popover/src/popover.tsx @@ -20,11 +20,7 @@ const Popover = forwardRef<"div", PopoverProps>((props, ref) => { const [trigger, content] = Children.toArray(children); - const overlay = ( - - {content} - - ); + const overlay = {content}; return ( diff --git a/packages/components/popover/src/use-aria-popover.ts b/packages/components/popover/src/use-aria-popover.ts index d1b3ea1a01..f9f323f5b1 100644 --- a/packages/components/popover/src/use-aria-popover.ts +++ b/packages/components/popover/src/use-aria-popover.ts @@ -6,11 +6,15 @@ import { useOverlayPosition, AriaOverlayProps, } from "@react-aria/overlays"; -import {OverlayPlacement, ariaHideOutside, toReactAriaPlacement} from "@nextui-org/aria-utils"; +import { + OverlayPlacement, + ariaHideOutside, + toReactAriaPlacement, + ariaShouldCloseOnInteractOutside, +} from "@nextui-org/aria-utils"; import {OverlayTriggerState} from "@react-stately/overlays"; import {mergeProps} from "@react-aria/utils"; import {useSafeLayoutEffect} from "@nextui-org/use-safe-layout-effect"; -import {ariaShouldCloseOnInteractOutside} from "@nextui-org/aria-utils"; export interface Props { /** diff --git a/packages/components/popover/src/use-popover.ts b/packages/components/popover/src/use-popover.ts index b1ea300088..66321c6968 100644 --- a/packages/components/popover/src/use-popover.ts +++ b/packages/components/popover/src/use-popover.ts @@ -19,7 +19,7 @@ import {popover} from "@nextui-org/theme"; import {mergeProps, mergeRefs} from "@react-aria/utils"; import {clsx, dataAttr, objectToDeps} from "@nextui-org/shared-utils"; import {useMemo, useCallback, useRef} from "react"; -import {AriaDialogProps, useDialog} from "@react-aria/dialog"; +import {AriaDialogProps} from "@react-aria/dialog"; import {useReactAriaPopover, ReactAriaPopoverProps} from "./use-aria-popover"; @@ -131,7 +131,6 @@ export function usePopover(originalProps: UsePopoverProps) { const domTriggerRef = useRef(null); const wasTriggerPressedRef = useRef(false); - const dialogRef = useRef(null); const triggerRef = triggerRefProp || domTriggerRef; const disableAnimation = @@ -179,8 +178,6 @@ export function usePopover(originalProps: UsePopoverProps) { const {isFocusVisible, isFocused, focusProps} = useFocusRing(); - const {dialogProps, titleProps} = useDialog({}, dialogRef); - const slots = useMemo( () => popover({ @@ -198,14 +195,15 @@ export function usePopover(originalProps: UsePopoverProps) { }); const getDialogProps: PropGetter = (props = {}) => ({ - ref: dialogRef, + // `ref` and `dialogProps` from `useDialog` are passed from props + // if we use `useDialog` here, dialogRef won't be focused on mount "data-slot": "base", "data-open": dataAttr(state.isOpen), "data-focus": dataAttr(isFocused), "data-arrow": dataAttr(showArrow), "data-focus-visible": dataAttr(isFocusVisible), "data-placement": getArrowPlacement(ariaPlacement, placementProp), - ...mergeProps(focusProps, dialogProps, dialogPropsProp, props), + ...mergeProps(focusProps, dialogPropsProp, props), className: slots.base({class: clsx(baseStyles)}), style: { // this prevent the dialog to have a default outline @@ -316,7 +314,6 @@ export function usePopover(originalProps: UsePopoverProps) { triggerRef, placement, isNonModal, - titleProps, popoverRef: domRef, portalContainer, isOpen: state.isOpen, diff --git a/packages/components/progress/CHANGELOG.md b/packages/components/progress/CHANGELOG.md index e0985d7fb5..6a2625c6c5 100644 --- a/packages/components/progress/CHANGELOG.md +++ b/packages/components/progress/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/progress +## 2.0.31 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/progress/package.json b/packages/components/progress/package.json index d689c328c6..17b0ee6c32 100644 --- a/packages/components/progress/package.json +++ b/packages/components/progress/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/progress", - "version": "2.0.30", + "version": "2.0.31", "description": "Progress bars show either determinate or indeterminate progress of an operation over time.", "keywords": [ "progress" @@ -43,10 +43,10 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-is-mounted": "workspace:*", - "@react-aria/i18n": "3.10.2", - "@react-aria/progress": "3.4.11", + "@react-aria/i18n": "3.11.1", + "@react-aria/progress": "3.4.13", "@react-aria/utils": "3.24.1", - "@react-types/progress": "3.5.2" + "@react-types/progress": "3.5.4" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/radio/CHANGELOG.md b/packages/components/radio/CHANGELOG.md index a78db50b54..113500dbd3 100644 --- a/packages/components/radio/CHANGELOG.md +++ b/packages/components/radio/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/radio +## 2.1.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.1.1 ### Patch Changes diff --git a/packages/components/radio/package.json b/packages/components/radio/package.json index 941e2ee4bb..2dd2cb71f4 100644 --- a/packages/components/radio/package.json +++ b/packages/components/radio/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/radio", - "version": "2.1.1", + "version": "2.1.2", "description": "Radios allow users to select a single option from a list of mutually exclusive options.", "keywords": [ "radio" @@ -42,13 +42,13 @@ "dependencies": { "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/radio": "3.10.2", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/radio": "3.10.4", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/radio": "3.10.2", - "@react-types/radio": "3.7.1", + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/radio": "3.10.4", + "@react-types/radio": "3.8.1", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/ripple/CHANGELOG.md b/packages/components/ripple/CHANGELOG.md index adbfd7746f..0079e26816 100644 --- a/packages/components/ripple/CHANGELOG.md +++ b/packages/components/ripple/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/ripple +## 2.0.30 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/ripple/package.json b/packages/components/ripple/package.json index 5f8a3cd581..275538fb9f 100644 --- a/packages/components/ripple/package.json +++ b/packages/components/ripple/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/ripple", - "version": "2.0.29", + "version": "2.0.30", "description": "A simple implementation to display a ripple animation when the source component is clicked", "keywords": [ "ripple" diff --git a/packages/components/scroll-shadow/CHANGELOG.md b/packages/components/scroll-shadow/CHANGELOG.md index a428d62b28..088e837dc9 100644 --- a/packages/components/scroll-shadow/CHANGELOG.md +++ b/packages/components/scroll-shadow/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/scroll-shadow +## 2.1.17 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.1.16 ### Patch Changes diff --git a/packages/components/scroll-shadow/package.json b/packages/components/scroll-shadow/package.json index bf2113b370..a9e0535b6e 100644 --- a/packages/components/scroll-shadow/package.json +++ b/packages/components/scroll-shadow/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/scroll-shadow", - "version": "2.1.16", + "version": "2.1.17", "description": "A component that applies top and bottom shadows when content overflows on scroll.", "keywords": [ "scroll-shadow" diff --git a/packages/components/select/CHANGELOG.md b/packages/components/select/CHANGELOG.md index 84c7de30e7..3bbf357649 100644 --- a/packages/components/select/CHANGELOG.md +++ b/packages/components/select/CHANGELOG.md @@ -1,5 +1,26 @@ # @nextui-org/select +## 2.2.2 + +### Patch Changes + +- [#3177](https://github.com/nextui-org/nextui/pull/3177) [`a0d6a77ef`](https://github.com/nextui-org/nextui/commit/a0d6a77efbe917df406bb309cbd1750629534eaf) Thanks [@wingkwong](https://github.com/wingkwong)! - Add missing `data-invalid` attribute (#3149) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#3157](https://github.com/nextui-org/nextui/pull/3157) [`a06422f37`](https://github.com/nextui-org/nextui/commit/a06422f373a13a0cf9f5fada394dec4739ee57e3) Thanks [@wingkwong](https://github.com/wingkwong)! - set empty string instead of undefined for unsetting value (#3156) + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/popover@2.1.24 + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/listbox@2.1.22 + - @nextui-org/use-aria-button@2.0.9 + - @nextui-org/use-aria-multiselect@2.2.2 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/scroll-shadow@2.1.17 + - @nextui-org/spinner@2.0.30 + ## 2.2.1 ### Patch Changes diff --git a/packages/components/select/__tests__/select.test.tsx b/packages/components/select/__tests__/select.test.tsx index 75431dccbb..280ae91f74 100644 --- a/packages/components/select/__tests__/select.test.tsx +++ b/packages/components/select/__tests__/select.test.tsx @@ -547,6 +547,75 @@ describe("Select", () => { expect(select).toHaveTextContent("Select an animal"); }); + + it("should unset form value", async () => { + const logSpy = jest.spyOn(console, "log"); + + const user = userEvent.setup(); + + const wrapper = render( +
{ + e.preventDefault(); + const formData = new FormData(e.target as HTMLFormElement); + + /* eslint-disable no-console */ + console.log(JSON.stringify(Object.fromEntries(formData))); + }} + > + + +
, + ); + + const select = wrapper.getByTestId("select"); + + expect(select).not.toBeNull(); + + await act(async () => { + await user.click(select); + }); + + let listbox = wrapper.getByRole("listbox"); + + expect(listbox).toBeTruthy(); + + let listboxItems = wrapper.getAllByRole("option"); + + expect(listboxItems.length).toBe(2); + + await act(async () => { + await user.click(listboxItems[1]); + }); + + let submitButton = wrapper.getByTestId("submit-button"); + + await act(async () => { + await user.click(submitButton); + }); + + expect(logSpy).toHaveBeenCalledWith(JSON.stringify({select: "bar"})); + + await act(async () => { + await user.click(select); + }); + + await act(async () => { + await user.click(listboxItems[1]); + }); + + await act(async () => { + await user.click(submitButton); + }); + + expect(logSpy).toHaveBeenCalledWith(JSON.stringify({select: ""})); + }); }); describe("Select with React Hook Form", () => { diff --git a/packages/components/select/package.json b/packages/components/select/package.json index 8ee374227d..40aea16170 100644 --- a/packages/components/select/package.json +++ b/packages/components/select/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/select", - "version": "2.2.1", + "version": "2.2.2", "description": "A select displays a collapsible list of options and allows a user to select one of them.", "keywords": [ "select" @@ -52,11 +52,11 @@ "@nextui-org/use-aria-button": "workspace:*", "@nextui-org/use-aria-multiselect": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/form": "3.0.3", - "@react-aria/interactions": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/form": "3.0.5", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", + "@react-aria/visually-hidden": "3.8.12", "@react-types/shared": "3.23.1" }, "devDependencies": { @@ -69,8 +69,8 @@ "@nextui-org/stories-utils": "workspace:*", "@nextui-org/use-infinite-scroll": "workspace:*", "framer-motion": "^11.0.28", - "@react-aria/i18n": "3.10.2", - "@react-stately/data": "3.11.2", + "@react-aria/i18n": "3.11.1", + "@react-stately/data": "3.11.4", "clean-package": "2.2.0", "react": "^18.0.0", "react-dom": "^18.0.0", diff --git a/packages/components/select/src/hidden-select.tsx b/packages/components/select/src/hidden-select.tsx index 4523c3968a..d7c74ef43a 100644 --- a/packages/components/select/src/hidden-select.tsx +++ b/packages/components/select/src/hidden-select.tsx @@ -113,7 +113,7 @@ export function useHiddenSelect( value: selectionMode === "multiple" ? [...state.selectedKeys].map((k) => String(k)) - : [...state.selectedKeys][0], + : [...state.selectedKeys][0] ?? "", multiple: selectionMode === "multiple", onChange: (e: React.ChangeEvent) => { state.setSelectedKeys(e.target.value); diff --git a/packages/components/select/src/use-select.ts b/packages/components/select/src/use-select.ts index 35600017ba..fb3b730b6e 100644 --- a/packages/components/select/src/use-select.ts +++ b/packages/components/select/src/use-select.ts @@ -377,6 +377,7 @@ export function useSelect(originalProps: UseSelectProps) { "data-has-value": dataAttr(hasValue), "data-has-label": dataAttr(hasLabel), "data-has-helper": dataAttr(hasHelper), + "data-invalid": dataAttr(isInvalid), className: slots.base({ class: clsx(baseStyles, props.className), }), diff --git a/packages/components/skeleton/CHANGELOG.md b/packages/components/skeleton/CHANGELOG.md index dd3bf4ae6a..190cb3f9fb 100644 --- a/packages/components/skeleton/CHANGELOG.md +++ b/packages/components/skeleton/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/skeleton +## 2.0.29 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.28 ### Patch Changes diff --git a/packages/components/skeleton/package.json b/packages/components/skeleton/package.json index 4aea3e6a12..d6c3408d2b 100644 --- a/packages/components/skeleton/package.json +++ b/packages/components/skeleton/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/skeleton", - "version": "2.0.28", + "version": "2.0.29", "description": "Skeleton is used to display the loading state of some component.", "keywords": [ "skeleton" diff --git a/packages/components/slider/CHANGELOG.md b/packages/components/slider/CHANGELOG.md index dc9c6dfa4b..08931df638 100644 --- a/packages/components/slider/CHANGELOG.md +++ b/packages/components/slider/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/slider +## 2.2.12 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/tooltip@2.0.36 + - @nextui-org/react-utils@2.0.14 + ## 2.2.11 ### Patch Changes diff --git a/packages/components/slider/package.json b/packages/components/slider/package.json index 19e9450215..7cade67de5 100644 --- a/packages/components/slider/package.json +++ b/packages/components/slider/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/slider", - "version": "2.2.11", + "version": "2.2.12", "description": "A slider allows a user to select one or more values within a range.", "keywords": [ "slider" @@ -43,13 +43,13 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/tooltip": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/i18n": "3.10.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/slider": "3.7.6", + "@react-aria/focus": "3.17.1", + "@react-aria/i18n": "3.11.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/slider": "3.7.8", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/slider": "3.5.2" + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/slider": "3.5.4" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/snippet/CHANGELOG.md b/packages/components/snippet/CHANGELOG.md index fe979a82ed..4a15ac74cd 100644 --- a/packages/components/snippet/CHANGELOG.md +++ b/packages/components/snippet/CHANGELOG.md @@ -1,5 +1,17 @@ # @nextui-org/snippet +## 2.0.38 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/button@2.0.34 + - @nextui-org/tooltip@2.0.36 + - @nextui-org/react-utils@2.0.14 + ## 2.0.37 ### Patch Changes diff --git a/packages/components/snippet/package.json b/packages/components/snippet/package.json index f66d595718..415e008cad 100644 --- a/packages/components/snippet/package.json +++ b/packages/components/snippet/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/snippet", - "version": "2.0.37", + "version": "2.0.38", "description": "Display a snippet of copyable code for the command line.", "keywords": [ "snippet" @@ -47,8 +47,8 @@ "@nextui-org/shared-icons": "workspace:*", "@nextui-org/use-clipboard": "workspace:*", "@nextui-org/tooltip": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/utils": "3.23.2" + "@react-aria/focus": "3.17.1", + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/components/spacer/CHANGELOG.md b/packages/components/spacer/CHANGELOG.md index 869df55783..09127928f3 100644 --- a/packages/components/spacer/CHANGELOG.md +++ b/packages/components/spacer/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/spacer +## 2.0.29 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + - @nextui-org/system-rsc@2.1.2 + ## 2.0.28 ### Patch Changes diff --git a/packages/components/spacer/package.json b/packages/components/spacer/package.json index f1ad9fb93a..b09d5aed3d 100644 --- a/packages/components/spacer/package.json +++ b/packages/components/spacer/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/spacer", - "version": "2.0.28", + "version": "2.0.29", "description": "A flexible spacer component designed to create consistent spacing and maintain alignment in your layout.", "keywords": [ "spacer" diff --git a/packages/components/spinner/CHANGELOG.md b/packages/components/spinner/CHANGELOG.md index 8797cee25a..3b8abfa5da 100644 --- a/packages/components/spinner/CHANGELOG.md +++ b/packages/components/spinner/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/spinner +## 2.0.30 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + - @nextui-org/system-rsc@2.1.2 + ## 2.0.29 ### Patch Changes diff --git a/packages/components/spinner/package.json b/packages/components/spinner/package.json index 21c7b0ea7a..2103cb571a 100644 --- a/packages/components/spinner/package.json +++ b/packages/components/spinner/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/spinner", - "version": "2.0.29", + "version": "2.0.30", "description": "Loaders express an unspecified wait time or display the length of a process.", "keywords": [ "loading", diff --git a/packages/components/switch/CHANGELOG.md b/packages/components/switch/CHANGELOG.md index 7d095caa52..be2086b0de 100644 --- a/packages/components/switch/CHANGELOG.md +++ b/packages/components/switch/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/switch +## 2.0.31 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/switch/package.json b/packages/components/switch/package.json index 6809dbc66a..3d4800165c 100644 --- a/packages/components/switch/package.json +++ b/packages/components/switch/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/switch", - "version": "2.0.30", + "version": "2.0.31", "description": "A switch is similar to a checkbox, but represents on/off values as opposed to selection.", "keywords": [ "switch" @@ -43,12 +43,12 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/switch": "3.6.2", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/switch": "3.6.4", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/toggle": "3.7.2", + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/toggle": "3.7.4", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/components/table/CHANGELOG.md b/packages/components/table/CHANGELOG.md index 2681bf88e7..f30ce208b3 100644 --- a/packages/components/table/CHANGELOG.md +++ b/packages/components/table/CHANGELOG.md @@ -1,5 +1,19 @@ # @nextui-org/table +## 2.0.36 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#2900](https://github.com/nextui-org/nextui/pull/2900) [`75d122317`](https://github.com/nextui-org/nextui/commit/75d1223178a8d6f5b68535b54a79efb2d75a31cc) Thanks [@chirokas](https://github.com/chirokas)! - Fix #2886 TableColumn align prop fixed, style improved. + +- Updated dependencies [[`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/shared-icons@2.0.8 + - @nextui-org/checkbox@2.1.2 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/spacer@2.0.29 + ## 2.0.35 ### Patch Changes diff --git a/packages/components/table/package.json b/packages/components/table/package.json index 8457c743b7..5964632701 100644 --- a/packages/components/table/package.json +++ b/packages/components/table/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/table", - "version": "2.0.35", + "version": "2.0.36", "description": "Tables are used to display tabular data using rows and columns. ", "keywords": [ "table" @@ -45,15 +45,15 @@ "@nextui-org/shared-icons": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/spacer": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/table": "3.13.5", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/table": "3.14.1", "@react-aria/utils": "3.24.1", - "@react-aria/visually-hidden": "3.8.10", - "@react-stately/table": "3.11.6", - "@react-stately/virtualizer": "3.6.8", - "@react-types/grid": "3.2.4", - "@react-types/table": "3.9.3" + "@react-aria/visually-hidden": "3.8.12", + "@react-stately/table": "3.11.8", + "@react-stately/virtualizer": "3.7.1", + "@react-types/grid": "3.2.6", + "@react-types/table": "3.9.5" }, "devDependencies": { "@nextui-org/theme": "workspace:*", @@ -65,7 +65,7 @@ "@nextui-org/tooltip": "workspace:*", "@nextui-org/use-infinite-scroll": "workspace:*", "@nextui-org/user": "workspace:*", - "@react-stately/data": "3.11.2", + "@react-stately/data": "3.11.4", "clean-package": "2.2.0", "react": "^18.0.0", "react-dom": "^18.0.0", diff --git a/packages/components/table/src/table-cell.tsx b/packages/components/table/src/table-cell.tsx index bece7645dd..d5a97e24d4 100644 --- a/packages/components/table/src/table-cell.tsx +++ b/packages/components/table/src/table-cell.tsx @@ -1,4 +1,5 @@ import type {GridNode} from "@react-types/grid"; +import type {TableColumnProps} from "./base"; import {Key, useMemo} from "react"; import {forwardRef, HTMLNextUIProps} from "@nextui-org/system"; @@ -49,6 +50,8 @@ const TableCell = forwardRef<"td", TableCellProps>((props, ref) => { ); }, [node.rendered]); + const columnProps: TableColumnProps = node.column?.props || {}; + return ( ((props, ref) => { }), otherProps, )} - className={slots.td?.({class: tdStyles})} + className={slots.td?.({align: columnProps.align, class: tdStyles})} > {cell} diff --git a/packages/components/table/src/table-column-header.tsx b/packages/components/table/src/table-column-header.tsx index 9c8cc1d9c6..2edaf528bc 100644 --- a/packages/components/table/src/table-column-header.tsx +++ b/packages/components/table/src/table-column-header.tsx @@ -37,7 +37,7 @@ const TableColumnHeader = forwardRef<"th", TableColumnHeaderProps>((props, ref) const {isFocusVisible, focusProps} = useFocusRing(); const {isHovered, hoverProps} = useHover({}); - const {hideHeader, ...columnProps} = node.props; + const {hideHeader, align, ...columnProps} = node.props; const allowsSorting = columnProps.allowsSorting; @@ -57,7 +57,7 @@ const TableColumnHeader = forwardRef<"th", TableColumnHeaderProps>((props, ref) allowsSorting ? hoverProps : {}, otherProps, )} - className={slots.th?.({class: thStyles})} + className={slots.th?.({align, class: thStyles})} > {hideHeader ? {node.rendered} : node.rendered} {allowsSorting && ( diff --git a/packages/components/tabs/CHANGELOG.md b/packages/components/tabs/CHANGELOG.md index 76f5b379b1..4acffae4c2 100644 --- a/packages/components/tabs/CHANGELOG.md +++ b/packages/components/tabs/CHANGELOG.md @@ -1,5 +1,20 @@ # @nextui-org/tabs +## 2.0.32 + +### Patch Changes + +- [#3164](https://github.com/nextui-org/nextui/pull/3164) [`5c83e9cea`](https://github.com/nextui-org/nextui/commit/5c83e9ceafd014691b0532192bee28dd1cdc503f) Thanks [@wingkwong](https://github.com/wingkwong)! - Fixed incorrect content in tab panel (#3159) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- [#3246](https://github.com/nextui-org/nextui/pull/3246) [`d8ceab357`](https://github.com/nextui-org/nextui/commit/d8ceab3579e94a68217e5ddb135f256d40281564) Thanks [@ryo-manba](https://github.com/ryo-manba)! - Fixed set tab panel id correctly (#2809) + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.0.31 ### Patch Changes diff --git a/packages/components/tabs/__tests__/tabs.test.tsx b/packages/components/tabs/__tests__/tabs.test.tsx index ff87798522..f412236daa 100644 --- a/packages/components/tabs/__tests__/tabs.test.tsx +++ b/packages/components/tabs/__tests__/tabs.test.tsx @@ -1,5 +1,5 @@ import * as React from "react"; -import {act, render} from "@testing-library/react"; +import {act, render, fireEvent, within} from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import {focus} from "@nextui-org/test-utils"; @@ -11,7 +11,7 @@ type Item = { content?: React.ReactNode; }; -let tabs: Item[] = [ +let defaultItems: Item[] = [ { id: "item1", label: "Item1 ", @@ -76,7 +76,7 @@ describe("Tabs", () => { it("should render correctly (dynamic)", () => { const wrapper = render( - + {(item) => (
{item.content}
@@ -88,6 +88,40 @@ describe("Tabs", () => { expect(() => wrapper.unmount()).not.toThrow(); }); + it("renders property", () => { + const wrapper = render( + + {defaultItems.map((item) => ( + +
{item.content}
+
+ ))} +
, + ); + const tablist = wrapper.getByRole("tablist"); + + expect(tablist).toBeTruthy(); + const tabs = within(tablist).getAllByRole("tab"); + + expect(tabs.length).toBe(3); + + for (let tab of tabs) { + expect(tab).toHaveAttribute("tabindex"); + expect(tab).toHaveAttribute("aria-selected"); + const isSelected = tab.getAttribute("aria-selected") === "true"; + + if (isSelected) { + expect(tab).toHaveAttribute("aria-controls"); + const tabpanel = document.getElementById(tab.getAttribute("aria-controls")!); + + expect(tabpanel).toBeTruthy(); + expect(tabpanel).toHaveAttribute("aria-labelledby", tab.id); + expect(tabpanel).toHaveAttribute("role", "tabpanel"); + expect(tabpanel).toHaveTextContent(defaultItems[0]?.content as string); + } + } + }); + it("ref should be forwarded", () => { const ref = React.createRef(); @@ -322,14 +356,11 @@ describe("Tabs", () => { test("should destory inactive tab panels", () => { const {container} = render( - -
Content 1
+ + - -
Content 2
-
- -
Content 3
+ +

second tab content

, ); @@ -337,21 +368,46 @@ describe("Tabs", () => { expect(container.querySelectorAll("[data-slot='panel']")).toHaveLength(1); }); - test("should destory inactive tab panels", () => { - const {container} = render( + test("should not destory inactive tab panels", async () => { + const wrapper = render( - -
Content 1
-
- -
Content 2
+ + - -
Content 3
+ +

second tab content

, ); - expect(container.querySelectorAll("[data-slot='panel']")).toHaveLength(3); + const {container} = wrapper; + + expect(container.querySelectorAll("[data-slot='panel']")).toHaveLength(2); + + const tab1 = wrapper.getByTestId("item1"); + const tab2 = wrapper.getByTestId("item2"); + const input = wrapper.getByTestId("input"); + + fireEvent.change(input, {target: {value: "23"}}); + + expect(input).toHaveValue("23"); + + act(() => { + focus(tab1); + }); + + await act(async () => { + await userEvent.keyboard("[ArrowRight]"); + }); + + expect(tab2).toHaveFocus(); + + await act(async () => { + await userEvent.keyboard("[ArrowLeft]"); + }); + + expect(tab1).toHaveFocus(); + + expect(input).toHaveValue("23"); }); }); diff --git a/packages/components/tabs/package.json b/packages/components/tabs/package.json index ff01e7ae47..43d25d6e13 100644 --- a/packages/components/tabs/package.json +++ b/packages/components/tabs/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/tabs", - "version": "2.0.31", + "version": "2.0.32", "description": "Tabs organize content into multiple sections and allow users to navigate between them.", "keywords": [ "tabs" @@ -47,13 +47,13 @@ "@nextui-org/framer-utils": "workspace:*", "@nextui-org/use-is-mounted": "workspace:*", "@nextui-org/use-update-effect": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/tabs": "3.8.5", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/tabs": "3.9.1", "@react-aria/utils": "3.24.1", - "@react-stately/tabs": "3.6.4", + "@react-stately/tabs": "3.6.6", "@react-types/shared": "3.23.1", - "@react-types/tabs": "3.3.5", + "@react-types/tabs": "3.3.7", "scroll-into-view-if-needed": "3.0.10" }, "devDependencies": { diff --git a/packages/components/tabs/src/tab-panel.tsx b/packages/components/tabs/src/tab-panel.tsx index fe51d65efb..eb54049865 100644 --- a/packages/components/tabs/src/tab-panel.tsx +++ b/packages/components/tabs/src/tab-panel.tsx @@ -47,13 +47,13 @@ const TabPanel = forwardRef<"div", TabPanelProps>((props, ref) => { const domRef = useDOMRef(ref); - const {tabPanelProps} = useTabPanel(props, state, domRef); + const {tabPanelProps} = useTabPanel({...props, id: String(tabKey)}, state, domRef); const {focusProps, isFocused, isFocusVisible} = useFocusRing(); const selectedItem = state.selectedItem; - const content = selectedItem?.props?.children; + const content = state.collection.getItem(tabKey)!.props.children; const tabPanelStyles = clsx(classNames?.panel, className, selectedItem?.props?.className); diff --git a/packages/components/tabs/src/tab.tsx b/packages/components/tabs/src/tab.tsx index 6c68507f50..1be4868b4e 100644 --- a/packages/components/tabs/src/tab.tsx +++ b/packages/components/tabs/src/tab.tsx @@ -61,6 +61,10 @@ const Tab = forwardRef<"button", TabItemProps>((props, ref) => { isPressed, } = useTab({key, isDisabled: isDisabledProp, shouldSelectOnPressUp}, state, domRef); + if (props.children == null) { + delete tabProps["aria-controls"]; + } + const isDisabled = isDisabledProp || isDisabledItem; const {focusProps, isFocused, isFocusVisible} = useFocusRing(); diff --git a/packages/components/tooltip/CHANGELOG.md b/packages/components/tooltip/CHANGELOG.md index d7001ceb60..438e47b93b 100644 --- a/packages/components/tooltip/CHANGELOG.md +++ b/packages/components/tooltip/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/tooltip +## 2.0.36 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/aria-utils@2.0.21 + - @nextui-org/react-utils@2.0.14 + - @nextui-org/framer-utils@2.0.21 + ## 2.0.35 ### Patch Changes diff --git a/packages/components/tooltip/package.json b/packages/components/tooltip/package.json index 7474da356d..f7652b3ea0 100644 --- a/packages/components/tooltip/package.json +++ b/packages/components/tooltip/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/tooltip", - "version": "2.0.35", + "version": "2.0.36", "description": "A React Component for rendering dynamically positioned Tooltips", "keywords": [ "tooltip" @@ -46,13 +46,13 @@ "@nextui-org/aria-utils": "workspace:*", "@nextui-org/framer-utils": "workspace:*", "@nextui-org/use-safe-layout-effect": "workspace:*", - "@react-aria/interactions": "3.21.1", - "@react-aria/overlays": "3.21.1", - "@react-aria/tooltip": "3.7.2", + "@react-aria/interactions": "3.21.3", + "@react-aria/overlays": "3.22.1", + "@react-aria/tooltip": "3.7.4", "@react-aria/utils": "3.24.1", - "@react-stately/tooltip": "3.4.7", - "@react-types/overlays": "3.8.5", - "@react-types/tooltip": "3.4.7" + "@react-stately/tooltip": "3.4.9", + "@react-types/overlays": "3.8.7", + "@react-types/tooltip": "3.4.9" }, "devDependencies": { "@nextui-org/button": "workspace:*", diff --git a/packages/components/user/CHANGELOG.md b/packages/components/user/CHANGELOG.md index 16a2c360ea..bb983dec24 100644 --- a/packages/components/user/CHANGELOG.md +++ b/packages/components/user/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/user +## 2.0.31 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/avatar@2.0.30 + - @nextui-org/react-utils@2.0.14 + ## 2.0.30 ### Patch Changes diff --git a/packages/components/user/package.json b/packages/components/user/package.json index f80541770f..b9ad60ccfa 100644 --- a/packages/components/user/package.json +++ b/packages/components/user/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/user", - "version": "2.0.30", + "version": "2.0.31", "description": "Flexible User Profile Component.", "keywords": [ "user" @@ -43,8 +43,8 @@ "@nextui-org/avatar": "workspace:*", "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-utils": "workspace:*", - "@react-aria/focus": "3.16.2", - "@react-aria/utils": "3.23.2" + "@react-aria/focus": "3.17.1", + "@react-aria/utils": "3.24.1" }, "devDependencies": { "@nextui-org/theme": "workspace:*", diff --git a/packages/core/react/CHANGELOG.md b/packages/core/react/CHANGELOG.md index f686e8bf02..f746d0a3d1 100644 --- a/packages/core/react/CHANGELOG.md +++ b/packages/core/react/CHANGELOG.md @@ -1,5 +1,56 @@ # @nextui-org/react +## 2.4.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`3da81494c`](https://github.com/nextui-org/nextui/commit/3da81494c37f26e9b0e76745e461ac091e7c03af), [`68d1629e7`](https://github.com/nextui-org/nextui/commit/68d1629e778723c85825463ef0d2cdd66c1a4aff), [`5c83e9cea`](https://github.com/nextui-org/nextui/commit/5c83e9ceafd014691b0532192bee28dd1cdc503f), [`a0d6a77ef`](https://github.com/nextui-org/nextui/commit/a0d6a77efbe917df406bb309cbd1750629534eaf), [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b), [`255c641f9`](https://github.com/nextui-org/nextui/commit/255c641f96903e0d6d29343774e9e7ae67fcdb34), [`d8ceab357`](https://github.com/nextui-org/nextui/commit/d8ceab3579e94a68217e5ddb135f256d40281564), [`75d122317`](https://github.com/nextui-org/nextui/commit/75d1223178a8d6f5b68535b54a79efb2d75a31cc), [`dbb4b8ee5`](https://github.com/nextui-org/nextui/commit/dbb4b8ee564114bfb0ef93467ed9ef6a3ff7e2e7), [`df0126f93`](https://github.com/nextui-org/nextui/commit/df0126f93f0f9c2cfa0cbfa44f5abd394ebd48d0), [`a06422f37`](https://github.com/nextui-org/nextui/commit/a06422f373a13a0cf9f5fada394dec4739ee57e3), [`2069a7a9d`](https://github.com/nextui-org/nextui/commit/2069a7a9d00291266fef763c6817b3bdd3ed4707)]: + - @nextui-org/popover@2.1.24 + - @nextui-org/autocomplete@2.1.2 + - @nextui-org/modal@2.0.36 + - @nextui-org/date-picker@2.1.2 + - @nextui-org/pagination@2.0.33 + - @nextui-org/tabs@2.0.32 + - @nextui-org/select@2.2.2 + - @nextui-org/accordion@2.0.35 + - @nextui-org/avatar@2.0.30 + - @nextui-org/breadcrumbs@2.0.10 + - @nextui-org/button@2.0.34 + - @nextui-org/calendar@2.0.7 + - @nextui-org/card@2.0.31 + - @nextui-org/checkbox@2.1.2 + - @nextui-org/chip@2.0.30 + - @nextui-org/date-input@2.1.1 + - @nextui-org/dropdown@2.1.26 + - @nextui-org/input@2.2.2 + - @nextui-org/kbd@2.0.30 + - @nextui-org/link@2.0.32 + - @nextui-org/listbox@2.1.22 + - @nextui-org/menu@2.0.25 + - @nextui-org/navbar@2.0.33 + - @nextui-org/progress@2.0.31 + - @nextui-org/radio@2.1.2 + - @nextui-org/slider@2.2.12 + - @nextui-org/snippet@2.0.38 + - @nextui-org/switch@2.0.31 + - @nextui-org/table@2.0.36 + - @nextui-org/tooltip@2.0.36 + - @nextui-org/user@2.0.31 + - @nextui-org/system@2.2.2 + - @nextui-org/theme@2.2.6 + - @nextui-org/badge@2.0.29 + - @nextui-org/skeleton@2.0.29 + - @nextui-org/image@2.0.29 + - @nextui-org/ripple@2.0.30 + - @nextui-org/scroll-shadow@2.1.17 + - @nextui-org/framer-utils@2.0.21 + - @nextui-org/code@2.0.29 + - @nextui-org/divider@2.0.28 + - @nextui-org/spacer@2.0.29 + - @nextui-org/spinner@2.0.30 + ## 2.4.1 ### Patch Changes diff --git a/packages/core/react/package.json b/packages/core/react/package.json index 94de59f360..446b9ff596 100644 --- a/packages/core/react/package.json +++ b/packages/core/react/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/react", - "version": "2.4.1", + "version": "2.4.2", "description": "🚀 Beautiful and modern React UI library.", "author": "Junior Garcia ", "homepage": "https://nextui.org", @@ -84,7 +84,7 @@ "@nextui-org/date-input": "workspace:*", "@nextui-org/date-picker": "workspace:*", "@nextui-org/framer-utils": "workspace:*", - "@react-aria/visually-hidden": "3.8.10" + "@react-aria/visually-hidden": "3.8.12" }, "peerDependencies": { "react": ">=18", diff --git a/packages/core/system/CHANGELOG.md b/packages/core/system/CHANGELOG.md index 471025ad93..efb2472643 100644 --- a/packages/core/system/CHANGELOG.md +++ b/packages/core/system/CHANGELOG.md @@ -1,5 +1,15 @@ # @nextui-org/system +## 2.2.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + - @nextui-org/system-rsc@2.1.2 + ## 2.2.1 ### Patch Changes diff --git a/packages/core/system/package.json b/packages/core/system/package.json index 9f0ad27e71..219d84aeab 100644 --- a/packages/core/system/package.json +++ b/packages/core/system/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/system", - "version": "2.2.1", + "version": "2.2.2", "description": "NextUI system primitives", "keywords": [ "system" @@ -56,10 +56,10 @@ "dependencies": { "@nextui-org/system-rsc": "workspace:*", "@nextui-org/react-utils": "workspace:*", - "@react-aria/i18n": "3.10.2", - "@internationalized/date": "^3.5.2", - "@react-aria/overlays": "3.21.1", + "@react-aria/i18n": "3.11.1", + "@internationalized/date": "^3.5.4", + "@react-aria/overlays": "3.22.1", "@react-aria/utils": "3.24.1", - "@react-stately/utils": "3.9.1" + "@react-stately/utils": "3.10.1" } } \ No newline at end of file diff --git a/packages/core/theme/CHANGELOG.md b/packages/core/theme/CHANGELOG.md index d339f0431e..e702225944 100644 --- a/packages/core/theme/CHANGELOG.md +++ b/packages/core/theme/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/theme +## 2.2.6 + +### Patch Changes + +- [#2900](https://github.com/nextui-org/nextui/pull/2900) [`75d122317`](https://github.com/nextui-org/nextui/commit/75d1223178a8d6f5b68535b54a79efb2d75a31cc) Thanks [@chirokas](https://github.com/chirokas)! - Fix #2886 TableColumn align prop fixed, style improved. + +- [#3174](https://github.com/nextui-org/nextui/pull/3174) [`dbb4b8ee5`](https://github.com/nextui-org/nextui/commit/dbb4b8ee564114bfb0ef93467ed9ef6a3ff7e2e7) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix input display with hidden type (#3170) + ## 2.2.5 ### Patch Changes diff --git a/packages/core/theme/package.json b/packages/core/theme/package.json index 91f0521baf..a188aac775 100644 --- a/packages/core/theme/package.json +++ b/packages/core/theme/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/theme", - "version": "2.2.5", + "version": "2.2.6", "description": "The default theme for NextUI components", "keywords": [ "theme", diff --git a/packages/core/theme/src/components/input.ts b/packages/core/theme/src/components/input.ts index 889f9a76c3..6383904052 100644 --- a/packages/core/theme/src/components/input.ts +++ b/packages/core/theme/src/components/input.ts @@ -23,7 +23,7 @@ import {dataFocusVisibleClasses, groupDataFocusVisibleClasses} from "../utils"; */ const input = tv({ slots: { - base: "group flex flex-col", + base: "group flex flex-col data-[hidden=true]:hidden", label: [ "absolute", "z-10", diff --git a/packages/core/theme/src/components/navbar.ts b/packages/core/theme/src/components/navbar.ts index 858d2f953b..e1ef852de2 100644 --- a/packages/core/theme/src/components/navbar.ts +++ b/packages/core/theme/src/components/navbar.ts @@ -233,7 +233,7 @@ const navbar = tv({ }, disableAnimation: { true: { - menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height)_-_1px)]", "data-[open=true]:flex"], + menu: ["hidden", "h-[calc(100dvh_-_var(--navbar-height))]", "data-[open=true]:flex"], }, }, }, diff --git a/packages/core/theme/src/components/table.ts b/packages/core/theme/src/components/table.ts index 6c990a4ebf..a4e387a482 100644 --- a/packages/core/theme/src/components/table.ts +++ b/packages/core/theme/src/components/table.ts @@ -61,8 +61,6 @@ const table = tv({ "group", "px-3", "h-10", - "text-left", - "rtl:text-right", "align-middle", "bg-default-100", "whitespace-nowrap", @@ -249,6 +247,20 @@ const table = tv({ table: "w-full", }, }, + align: { + start: { + th: "text-start", + td: "text-start", + }, + center: { + th: "text-center", + td: "text-center", + }, + end: { + th: "text-end", + td: "text-end", + }, + }, }, defaultVariants: { layout: "auto", @@ -259,6 +271,7 @@ const table = tv({ hideHeader: false, isStriped: false, fullWidth: true, + align: "start", }, }); diff --git a/packages/hooks/use-aria-accordion-item/CHANGELOG.md b/packages/hooks/use-aria-accordion-item/CHANGELOG.md index 527d83a9eb..94f2f23728 100644 --- a/packages/hooks/use-aria-accordion-item/CHANGELOG.md +++ b/packages/hooks/use-aria-accordion-item/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-accordion-item +## 2.0.9 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.8 ### Patch Changes diff --git a/packages/hooks/use-aria-accordion-item/package.json b/packages/hooks/use-aria-accordion-item/package.json index 624a52eefe..dcd15b8c6c 100644 --- a/packages/hooks/use-aria-accordion-item/package.json +++ b/packages/hooks/use-aria-accordion-item/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-accordion-item", - "version": "2.0.8", + "version": "2.0.9", "description": "Internal impl for react aria accordion item", "keywords": [ "use-aria-accordion-item" @@ -34,9 +34,9 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/button": "3.9.3", - "@react-aria/focus": "3.16.2", - "@react-stately/tree": "3.7.6", + "@react-aria/button": "3.9.5", + "@react-aria/focus": "3.17.1", + "@react-stately/tree": "3.8.1", "@react-types/shared": "3.23.1" }, "peerDependencies": { diff --git a/packages/hooks/use-aria-accordion/CHANGELOG.md b/packages/hooks/use-aria-accordion/CHANGELOG.md index e33914fcca..0bc1726c85 100644 --- a/packages/hooks/use-aria-accordion/CHANGELOG.md +++ b/packages/hooks/use-aria-accordion/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-accordion +## 2.0.6 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.5 ### Patch Changes diff --git a/packages/hooks/use-aria-accordion/package.json b/packages/hooks/use-aria-accordion/package.json index 1e095d8342..43ef778c23 100644 --- a/packages/hooks/use-aria-accordion/package.json +++ b/packages/hooks/use-aria-accordion/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-accordion", - "version": "2.0.5", + "version": "2.0.6", "description": "React-aria useAccordion hooks with custom implementations", "keywords": [ "use-aria-accordion" @@ -34,12 +34,12 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/button": "3.9.3", - "@react-aria/focus": "3.16.2", - "@react-aria/selection": "3.17.5", + "@react-aria/button": "3.9.5", + "@react-aria/focus": "3.17.1", + "@react-aria/selection": "3.18.1", "@react-aria/utils": "3.24.1", - "@react-stately/tree": "3.7.6", - "@react-types/accordion": "3.0.0-alpha.19", + "@react-stately/tree": "3.8.1", + "@react-types/accordion": "3.0.0-alpha.21", "@react-types/shared": "3.23.1" }, "peerDependencies": { diff --git a/packages/hooks/use-aria-button/CHANGELOG.md b/packages/hooks/use-aria-button/CHANGELOG.md index 5a9612ae80..dfd8045e1a 100644 --- a/packages/hooks/use-aria-button/CHANGELOG.md +++ b/packages/hooks/use-aria-button/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-button +## 2.0.9 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.8 ### Patch Changes diff --git a/packages/hooks/use-aria-button/package.json b/packages/hooks/use-aria-button/package.json index a89fac01c8..4dd261313b 100644 --- a/packages/hooks/use-aria-button/package.json +++ b/packages/hooks/use-aria-button/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-button", - "version": "2.0.8", + "version": "2.0.9", "description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning", "keywords": [ "use-aria-button" @@ -37,10 +37,10 @@ "react": ">=18" }, "dependencies": { - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-types/button": "3.9.2", + "@react-types/button": "3.9.4", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/hooks/use-aria-link/CHANGELOG.md b/packages/hooks/use-aria-link/CHANGELOG.md index 41173f93c8..edfd7dae20 100644 --- a/packages/hooks/use-aria-link/CHANGELOG.md +++ b/packages/hooks/use-aria-link/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-link +## 2.0.18 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.17 ### Patch Changes diff --git a/packages/hooks/use-aria-link/package.json b/packages/hooks/use-aria-link/package.json index 906395f5af..10cc820338 100644 --- a/packages/hooks/use-aria-link/package.json +++ b/packages/hooks/use-aria-link/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-link", - "version": "2.0.17", + "version": "2.0.18", "description": "Internal hook to handle link a11y and events, this is based on react-aria link hook but without the onClick warning", "keywords": [ "use-aria-link" @@ -37,10 +37,10 @@ "react": ">=18" }, "dependencies": { - "@react-aria/focus": "3.16.2", - "@react-aria/interactions": "3.21.1", + "@react-aria/focus": "3.17.1", + "@react-aria/interactions": "3.21.3", "@react-aria/utils": "3.24.1", - "@react-types/link": "3.5.3", + "@react-types/link": "3.5.5", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/hooks/use-aria-menu/CHANGELOG.md b/packages/hooks/use-aria-menu/CHANGELOG.md index 230e3cd1e7..95da2a91ae 100644 --- a/packages/hooks/use-aria-menu/CHANGELOG.md +++ b/packages/hooks/use-aria-menu/CHANGELOG.md @@ -1,5 +1,13 @@ # @nextui-org/use-aria-menu +## 2.0.5 + +### Patch Changes + +- [#3229](https://github.com/nextui-org/nextui/pull/3229) [`5b9e317a8`](https://github.com/nextui-org/nextui/commit/5b9e317a80dacad09a3fc3c5b762729cd10b2bb3) Thanks [@wingkwong](https://github.com/wingkwong)! - fix link logic in useMenuItem (#2935) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.4 ### Patch Changes diff --git a/packages/hooks/use-aria-menu/package.json b/packages/hooks/use-aria-menu/package.json index 127c6116dc..76d1c16b4a 100644 --- a/packages/hooks/use-aria-menu/package.json +++ b/packages/hooks/use-aria-menu/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-menu", - "version": "2.0.4", + "version": "2.0.5", "description": "React-aria useMenu hooks with custom implementations", "keywords": [ "use-aria-menu" @@ -40,13 +40,13 @@ "dependencies": { "@react-aria/utils": "3.24.1", "@react-types/shared": "3.23.1", - "@react-aria/menu": "3.13.1", - "@react-aria/interactions": "3.21.1", - "@react-stately/tree": "3.7.6", - "@react-aria/i18n": "3.10.2", - "@react-aria/selection": "3.17.5", - "@react-stately/collections": "3.10.5", - "@react-types/menu": "3.9.7" + "@react-aria/menu": "3.14.1", + "@react-aria/interactions": "3.21.3", + "@react-stately/tree": "3.8.1", + "@react-aria/i18n": "3.11.1", + "@react-aria/selection": "3.18.1", + "@react-stately/collections": "3.10.7", + "@react-types/menu": "3.9.9" }, "devDependencies": { "clean-package": "2.2.0", diff --git a/packages/hooks/use-aria-menu/src/use-menu-item.ts b/packages/hooks/use-aria-menu/src/use-menu-item.ts index 79b73e764b..4696f8ea6a 100644 --- a/packages/hooks/use-aria-menu/src/use-menu-item.ts +++ b/packages/hooks/use-aria-menu/src/use-menu-item.ts @@ -10,7 +10,14 @@ import { PressEvents, RouterOptions, } from "@react-types/shared"; -import {chain, filterDOMProps, mergeProps, useRouter, useSlotId} from "@react-aria/utils"; +import { + chain, + filterDOMProps, + mergeProps, + useLinkProps, + useRouter, + useSlotId, +} from "@react-aria/utils"; import {getItemCount} from "@react-stately/collections"; import {isFocusVisible, useFocus, useHover, useKeyboard, usePress} from "@react-aria/interactions"; import {RefObject} from "react"; @@ -89,6 +96,10 @@ export interface AriaMenuItemProps */ onAction?: (key: Key) => void; + /** + * The native button click event handler + * @deprecated - use `onAction` instead. + */ onClick?: DOMAttributes["onClick"]; /** What kind of popup the item opens. */ @@ -135,7 +146,7 @@ export function useMenuItem( let isTrigger = !!hasPopup; // @ts-ignore - let isDisabled = props.isDisabled ?? state.disabledKeys.has(key); + let isDisabled = props.isDisabled ?? state.selectionManager.isDisabled(key); // @ts-ignore let isSelected = props.isSelected ?? state.selectionManager.isSelected(key); let data = menuData.get(state); @@ -144,16 +155,28 @@ export function useMenuItem( // @ts-ignore let onClose = props.onClose || data.onClose; // @ts-ignore - let onAction = isTrigger ? () => {} : props.onAction || data.onAction; let router = useRouter(); let performAction = (e: PressEvent) => { - if (onAction) { + if (isTrigger) { + return; + } + + if (item?.props?.onAction) { + item.props.onAction(); + } + + if (props.onAction) { + // @ts-ignore + props.onAction(key); + // @ts-ignore + } else if (data.onAction) { // @ts-ignore - onAction(key); + data.onAction(key); } if (e.target instanceof HTMLAnchorElement) { - router.open(e.target, e, item?.props.href, item?.props.routerOptions as RouterOptions); + // @ts-ignore + router.open(e.target, e, item.props.href, item.props.routerOptions as RouterOptions); } }; @@ -305,22 +328,27 @@ export function useMenuItem( let {focusProps} = useFocus({onBlur, onFocus, onFocusChange}); // @ts-ignore - let domProps = filterDOMProps(item.props, {isLink: !!item?.props?.href}); + let domProps = filterDOMProps(item.props); delete domProps.id; + // @ts-ignore + let linkProps = useLinkProps(item.props); return { menuItemProps: { ...ariaProps, ...mergeProps( domProps, + linkProps, isTrigger ? {onFocus: itemProps.onFocus} : itemProps, pressProps, hoverProps, keyboardProps, focusProps, + { + onClick: chain(onClick, pressProps.onClick), + }, ), - onClick: chain(onClick, pressProps.onClick), tabIndex: itemProps.tabIndex != null ? -1 : undefined, }, labelProps: { diff --git a/packages/hooks/use-aria-modal-overlay/CHANGELOG.md b/packages/hooks/use-aria-modal-overlay/CHANGELOG.md index 37dc245d60..e3edda6de1 100644 --- a/packages/hooks/use-aria-modal-overlay/CHANGELOG.md +++ b/packages/hooks/use-aria-modal-overlay/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-modal-overlay +## 2.0.10 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.9 ### Patch Changes diff --git a/packages/hooks/use-aria-modal-overlay/package.json b/packages/hooks/use-aria-modal-overlay/package.json index 38359143d0..4b248e47d3 100644 --- a/packages/hooks/use-aria-modal-overlay/package.json +++ b/packages/hooks/use-aria-modal-overlay/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-modal-overlay", - "version": "2.0.9", + "version": "2.0.10", "description": "A custom implementation of react aria modal overlay, this removes the prevent scroll", "keywords": [ "use-aria-modal-overlay" @@ -34,9 +34,9 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/overlays": "3.21.1", + "@react-aria/overlays": "3.22.1", "@react-aria/utils": "3.24.1", - "@react-stately/overlays": "3.6.5", + "@react-stately/overlays": "3.6.7", "@react-types/shared": "3.23.1" }, "peerDependencies": { diff --git a/packages/hooks/use-aria-multiselect/CHANGELOG.md b/packages/hooks/use-aria-multiselect/CHANGELOG.md index 3de0b86e0b..063fd6709c 100644 --- a/packages/hooks/use-aria-multiselect/CHANGELOG.md +++ b/packages/hooks/use-aria-multiselect/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-aria-multiselect +## 2.2.2 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.2.1 ### Patch Changes diff --git a/packages/hooks/use-aria-multiselect/package.json b/packages/hooks/use-aria-multiselect/package.json index 37d5f9f0e8..f3f3c1a466 100644 --- a/packages/hooks/use-aria-multiselect/package.json +++ b/packages/hooks/use-aria-multiselect/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-multiselect", - "version": "2.2.1", + "version": "2.2.2", "description": "Provides the behavior and accessibility implementation for a multi-select component.", "keywords": [ "use-aria-multiselect" @@ -34,19 +34,19 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/i18n": "3.10.2", - "@react-aria/interactions": "3.21.1", - "@react-aria/label": "3.7.6", - "@react-aria/listbox": "3.11.5", - "@react-aria/menu": "3.13.1", - "@react-aria/selection": "3.17.5", + "@react-aria/i18n": "3.11.1", + "@react-aria/interactions": "3.21.3", + "@react-aria/label": "3.7.8", + "@react-aria/listbox": "3.12.1", + "@react-aria/menu": "3.14.1", + "@react-aria/selection": "3.18.1", "@react-aria/utils": "3.24.1", - "@react-stately/form": "3.0.1", - "@react-stately/list": "3.10.3", - "@react-stately/menu": "3.6.1", - "@react-types/button": "3.9.2", - "@react-types/overlays": "3.8.5", - "@react-types/select": "3.9.2", + "@react-stately/form": "3.0.3", + "@react-stately/list": "3.10.5", + "@react-stately/menu": "3.7.1", + "@react-types/button": "3.9.4", + "@react-types/overlays": "3.8.7", + "@react-types/select": "3.9.4", "@react-types/shared": "3.23.1" }, "peerDependencies": { diff --git a/packages/hooks/use-aria-toggle-button/CHANGELOG.md b/packages/hooks/use-aria-toggle-button/CHANGELOG.md index 3d794616e9..8733f0dabf 100644 --- a/packages/hooks/use-aria-toggle-button/CHANGELOG.md +++ b/packages/hooks/use-aria-toggle-button/CHANGELOG.md @@ -1,5 +1,14 @@ # @nextui-org/use-aria-toggle-button +## 2.0.9 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b)]: + - @nextui-org/use-aria-button@2.0.9 + ## 2.0.8 ### Patch Changes diff --git a/packages/hooks/use-aria-toggle-button/package.json b/packages/hooks/use-aria-toggle-button/package.json index b65de4ee97..bf1c256338 100644 --- a/packages/hooks/use-aria-toggle-button/package.json +++ b/packages/hooks/use-aria-toggle-button/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-aria-toggle-button", - "version": "2.0.8", + "version": "2.0.9", "description": "Internal hook to handle button a11y and events, this is based on react-aria button hook but without the onClick warning", "keywords": [ "use-aria-toggle-button" @@ -39,8 +39,8 @@ "dependencies": { "@nextui-org/use-aria-button": "workspace:*", "@react-aria/utils": "3.24.1", - "@react-stately/toggle": "3.7.2", - "@react-types/button": "3.9.2", + "@react-stately/toggle": "3.7.4", + "@react-types/button": "3.9.4", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/hooks/use-disclosure/CHANGELOG.md b/packages/hooks/use-disclosure/CHANGELOG.md index d24f6ef507..9b8661a6e8 100644 --- a/packages/hooks/use-disclosure/CHANGELOG.md +++ b/packages/hooks/use-disclosure/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-disclosure +## 2.0.9 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.8 ### Patch Changes diff --git a/packages/hooks/use-disclosure/package.json b/packages/hooks/use-disclosure/package.json index 32efa32621..289bf3528b 100644 --- a/packages/hooks/use-disclosure/package.json +++ b/packages/hooks/use-disclosure/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-disclosure", - "version": "2.0.8", + "version": "2.0.9", "description": "The hook in charge of managing modals", "keywords": [ "use-disclosure" @@ -39,7 +39,7 @@ "dependencies": { "@nextui-org/use-callback-ref": "workspace:*", "@react-aria/utils": "3.24.1", - "@react-stately/utils": "3.9.1" + "@react-stately/utils": "3.10.1" }, "devDependencies": { "clean-package": "2.2.0", diff --git a/packages/hooks/use-intersection-observer/CHANGELOG.md b/packages/hooks/use-intersection-observer/CHANGELOG.md index 1e89754fe6..0c9c3c5889 100644 --- a/packages/hooks/use-intersection-observer/CHANGELOG.md +++ b/packages/hooks/use-intersection-observer/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-intersection-observer +## 2.0.4 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.3 ### Patch Changes diff --git a/packages/hooks/use-intersection-observer/package.json b/packages/hooks/use-intersection-observer/package.json index 4a18f8a8d2..3b4240df92 100644 --- a/packages/hooks/use-intersection-observer/package.json +++ b/packages/hooks/use-intersection-observer/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-intersection-observer", - "version": "2.0.3", + "version": "2.0.4", "description": "Tracks the intersection of a DOM element and its containing element or the viewport.", "keywords": [ "use-intersection-observer" @@ -35,9 +35,9 @@ }, "dependencies": { "@react-aria/utils": "3.24.1", - "@react-aria/ssr": "3.9.2", + "@react-aria/ssr": "3.9.4", "@react-types/shared": "3.23.1", - "@react-aria/interactions": "3.21.1" + "@react-aria/interactions": "3.21.3" }, "peerDependencies": { "react": ">=18" diff --git a/packages/hooks/use-is-mobile/CHANGELOG.md b/packages/hooks/use-is-mobile/CHANGELOG.md index 3b873407bc..357966bd76 100644 --- a/packages/hooks/use-is-mobile/CHANGELOG.md +++ b/packages/hooks/use-is-mobile/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-is-mobile +## 2.0.8 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.7 ### Patch Changes diff --git a/packages/hooks/use-is-mobile/package.json b/packages/hooks/use-is-mobile/package.json index bc67aabd39..7d261ea447 100644 --- a/packages/hooks/use-is-mobile/package.json +++ b/packages/hooks/use-is-mobile/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-is-mobile", - "version": "2.0.7", + "version": "2.0.8", "description": "A hook that returns whether the device is mobile or not", "keywords": [ "use-is-mobile" @@ -34,7 +34,7 @@ "postpack": "clean-package restore" }, "dependencies": { - "@react-aria/ssr": "3.9.2" + "@react-aria/ssr": "3.9.4" }, "peerDependencies": { "react": ">=18" diff --git a/packages/hooks/use-pagination/CHANGELOG.md b/packages/hooks/use-pagination/CHANGELOG.md index 39a0476e92..f092c5691d 100644 --- a/packages/hooks/use-pagination/CHANGELOG.md +++ b/packages/hooks/use-pagination/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/use-pagination +## 2.0.7 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + ## 2.0.6 ### Patch Changes diff --git a/packages/hooks/use-pagination/package.json b/packages/hooks/use-pagination/package.json index 0ac696104c..97c2ff9730 100644 --- a/packages/hooks/use-pagination/package.json +++ b/packages/hooks/use-pagination/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-pagination", - "version": "2.0.6", + "version": "2.0.7", "description": "State management hook for Pagination component, it lets you manage pagination with controlled and uncontrolled state", "keywords": [ "use-pagination" @@ -35,7 +35,7 @@ }, "dependencies": { "@nextui-org/shared-utils": "workspace:*", - "@react-aria/i18n": "3.10.2" + "@react-aria/i18n": "3.11.1" }, "peerDependencies": { "react": ">=18" diff --git a/packages/hooks/use-real-shape/CHANGELOG.md b/packages/hooks/use-real-shape/CHANGELOG.md index 4fba42b20e..98bd675ef1 100644 --- a/packages/hooks/use-real-shape/CHANGELOG.md +++ b/packages/hooks/use-real-shape/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/use-real-shape +## 2.0.14 + +### Patch Changes + +- Updated dependencies [[`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3)]: + - @nextui-org/react-utils@2.0.14 + ## 2.0.13 ### Patch Changes diff --git a/packages/hooks/use-real-shape/package.json b/packages/hooks/use-real-shape/package.json index f1797b4ac4..d5c7672ba8 100644 --- a/packages/hooks/use-real-shape/package.json +++ b/packages/hooks/use-real-shape/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/use-real-shape", - "version": "2.0.13", + "version": "2.0.14", "description": "Hook that returns the real dimensions of an element", "keywords": [ "use-real-shape" diff --git a/packages/utilities/aria-utils/CHANGELOG.md b/packages/utilities/aria-utils/CHANGELOG.md index fd569b2de2..5492af53df 100644 --- a/packages/utilities/aria-utils/CHANGELOG.md +++ b/packages/utilities/aria-utils/CHANGELOG.md @@ -1,5 +1,16 @@ # @nextui-org/aria-utils +## 2.0.21 + +### Patch Changes + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - Fix popover focus issue (#3171, #2992) + +- [#3240](https://github.com/nextui-org/nextui/pull/3240) [`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b) Thanks [@wingkwong](https://github.com/wingkwong)! - bump react-aria dependencies + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b)]: + - @nextui-org/system@2.2.2 + ## 2.0.20 ### Patch Changes diff --git a/packages/utilities/aria-utils/package.json b/packages/utilities/aria-utils/package.json index 8df7018f95..d4f001a9b1 100644 --- a/packages/utilities/aria-utils/package.json +++ b/packages/utilities/aria-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/aria-utils", - "version": "2.0.20", + "version": "2.0.21", "description": "A package for managing @react-aria nextui utils.", "keywords": [ "aria-utils" @@ -42,9 +42,9 @@ "@nextui-org/shared-utils": "workspace:*", "@nextui-org/react-rsc-utils": "workspace:*", "@react-aria/utils": "3.24.1", - "@react-stately/collections": "3.10.5", - "@react-stately/overlays": "3.6.5", - "@react-types/overlays": "3.8.5", + "@react-stately/collections": "3.10.7", + "@react-stately/overlays": "3.6.7", + "@react-types/overlays": "3.8.7", "@react-types/shared": "3.23.1" }, "devDependencies": { diff --git a/packages/utilities/aria-utils/src/overlays/ariaShouldCloseOnInteractOutside.ts b/packages/utilities/aria-utils/src/overlays/ariaShouldCloseOnInteractOutside.ts index 0be005b516..24fedac9ae 100644 --- a/packages/utilities/aria-utils/src/overlays/ariaShouldCloseOnInteractOutside.ts +++ b/packages/utilities/aria-utils/src/overlays/ariaShouldCloseOnInteractOutside.ts @@ -1,41 +1,45 @@ -import {MutableRefObject, RefObject} from "react"; +import {RefObject} from "react"; /** * Used to handle the outside interaction for popover-based components * e.g. dropdown, datepicker, date-range-picker, popover, select, autocomplete etc * @param element - the element outside of the popover ref, originally from `shouldCloseOnInteractOutside` - * @param ref - The popover ref object that will interact outside with - * @param state - The popover state from the target component - * @param shouldFocus - a mutable ref boolean object to control the focus state - * (used in input-based component such as autocomplete) + * @param triggerRef - The trigger ref object + * @param state - The state from the popover component * @returns - a boolean value which is same as shouldCloseOnInteractOutside */ export const ariaShouldCloseOnInteractOutside = ( element: Element, - ref: RefObject, + triggerRef: RefObject, state: any, - shouldFocus?: MutableRefObject, ) => { - let trigger = ref?.current; + const trigger = triggerRef?.current; - // check if the click is on the underlay - const clickOnUnderlay = element?.children?.[0]?.getAttribute("role") === "dialog" ?? false; - - // if interacting outside the component if (!trigger || !trigger.contains(element)) { - // blur the component (e.g. autocomplete) - if (shouldFocus) shouldFocus.current = false; - // if the click is not on the underlay, - // trigger the state close to prevent from opening multiple popovers at the same time - // e.g. open dropdown1 -> click dropdown2 (dropdown1 should be closed and dropdown2 should be open) - if (!clickOnUnderlay) state.close(); - } else { - // otherwise the component (e.g. autocomplete) should keep focused - if (shouldFocus) shouldFocus.current = true; + // if there is focus scope block, there will be a pair of span[data-focus-scope-start] and span[data-focus-scope-end] + // the element with focus trap resides inbetween these two blocks + // we push all the elements in focus scope to `focusScopeElements` + const startElements = document.querySelectorAll("body > span[data-focus-scope-start]"); + let focusScopeElements: Element[] = []; + + startElements.forEach((startElement) => { + focusScopeElements.push(startElement.nextElementSibling!); + }); + + // if there is just one focusScopeElement, we close the state + // e.g. open a popover A -> click popover B + // then popover A should be closed and popover B should be open + // TODO: handle cases like modal > popover A -> click modal > popover B + // we should close the popover when it is the last opened + // however, currently ariaShouldCloseOnInteractOutside is called recursively + // and we need a way to check if there is something closed before that (i.e. nested elements) + // if so, popover shouldn't be closed in this case + if (focusScopeElements.length === 1) { + state.close(); + + return false; + } } - // if the click is on the underlay, - // clicking the overlay should close the popover instead of closing the modal - // otherwise, allow interaction with other elements - return clickOnUnderlay; + return !trigger || !trigger.contains(element); }; diff --git a/packages/utilities/framer-utils/CHANGELOG.md b/packages/utilities/framer-utils/CHANGELOG.md index 1ef1b5d051..10f84b2526 100644 --- a/packages/utilities/framer-utils/CHANGELOG.md +++ b/packages/utilities/framer-utils/CHANGELOG.md @@ -1,5 +1,12 @@ # @nextui-org/framer-utils +## 2.0.21 + +### Patch Changes + +- Updated dependencies [[`47c2472fb`](https://github.com/nextui-org/nextui/commit/47c2472fb22bfe1c0c357b5ba12e5606eba0d65b)]: + - @nextui-org/system@2.2.2 + ## 2.0.20 ### Patch Changes diff --git a/packages/utilities/framer-utils/package.json b/packages/utilities/framer-utils/package.json index 6a04a5d0f0..75315222d7 100644 --- a/packages/utilities/framer-utils/package.json +++ b/packages/utilities/framer-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/framer-utils", - "version": "2.0.20", + "version": "2.0.21", "description": "A set of framer motion transitions for react", "keywords": [ "framer-utils" diff --git a/packages/utilities/react-utils/CHANGELOG.md b/packages/utilities/react-utils/CHANGELOG.md index 5f9c0d9045..a507d6ec05 100644 --- a/packages/utilities/react-utils/CHANGELOG.md +++ b/packages/utilities/react-utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/react-utils +## 2.0.14 + +### Patch Changes + +- [#3098](https://github.com/nextui-org/nextui/pull/3098) [`b9bb06ff3`](https://github.com/nextui-org/nextui/commit/b9bb06ff37f99bfc438e848706ec79b4c7b7c5d3) Thanks [@Gaic4o](https://github.com/Gaic4o)! - refactored the assignRef function to remove @ts-ignore and properly handle reference assignment using MutableRefObject + ## 2.0.13 ### Patch Changes diff --git a/packages/utilities/react-utils/package.json b/packages/utilities/react-utils/package.json index be54543666..2305c456e2 100644 --- a/packages/utilities/react-utils/package.json +++ b/packages/utilities/react-utils/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/react-utils", - "version": "2.0.13", + "version": "2.0.14", "description": "A set of utilities for react on client side", "keywords": [ "react-utils" diff --git a/packages/utilities/react-utils/src/refs.ts b/packages/utilities/react-utils/src/refs.ts index ece6fa754c..5fb8c24539 100644 --- a/packages/utilities/react-utils/src/refs.ts +++ b/packages/utilities/react-utils/src/refs.ts @@ -1,5 +1,6 @@ import * as React from "react"; import {isFunction} from "@nextui-org/shared-utils"; +import {MutableRefObject} from "react"; export type ReactRef = React.RefObject | React.MutableRefObject | React.Ref; @@ -19,8 +20,7 @@ export function assignRef(ref: ReactRef | undefined, value: T) { } try { - // @ts-ignore - ref.current = value; + (ref as MutableRefObject).current = value; } catch (error) { throw new Error(`Cannot assign value '${value}' to ref '${ref}'`); } diff --git a/packages/utilities/shared-icons/CHANGELOG.md b/packages/utilities/shared-icons/CHANGELOG.md index 0a62067934..64750ef0f5 100644 --- a/packages/utilities/shared-icons/CHANGELOG.md +++ b/packages/utilities/shared-icons/CHANGELOG.md @@ -1,5 +1,11 @@ # @nextui-org/shared-icons +## 2.0.8 + +### Patch Changes + +- [#3199](https://github.com/nextui-org/nextui/pull/3199) [`3500147d7`](https://github.com/nextui-org/nextui/commit/3500147d7fbe53bc01ae24749fdeaf87c37c0d12) Thanks [@wingkwong](https://github.com/wingkwong)! - avoid passing non-DOM attributes to svg (#3184) + ## 2.0.7 ### Patch Changes diff --git a/packages/utilities/shared-icons/package.json b/packages/utilities/shared-icons/package.json index c0bc325001..3647c74732 100644 --- a/packages/utilities/shared-icons/package.json +++ b/packages/utilities/shared-icons/package.json @@ -1,6 +1,6 @@ { "name": "@nextui-org/shared-icons", - "version": "2.0.7", + "version": "2.0.8", "description": "Internal icons set, commonly used in the components stories", "keywords": [ "icons-utils" diff --git a/packages/utilities/shared-icons/src/close.tsx b/packages/utilities/shared-icons/src/close.tsx index 0284b0d026..13ef5c2b00 100644 --- a/packages/utilities/shared-icons/src/close.tsx +++ b/packages/utilities/shared-icons/src/close.tsx @@ -1,20 +1,35 @@ import {IconSvgProps} from "./types"; -export const CloseIcon = (props: IconSvgProps) => ( - -); +export const CloseIcon = ( + props: IconSvgProps & { + // checkbox icon props + "data-checked"?: string; + isSelected?: boolean; + isIndeterminate?: boolean; + disableAnimation?: boolean; + className?: string; + }, +) => { + /* eslint-disable @typescript-eslint/no-unused-vars */ + // avoid passing non-DOM attributes to svg + const {isSelected, isIndeterminate, disableAnimation, ...otherProps} = props; + + return ( + + ); +}; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 76d4099581..b60736bbb7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -280,8 +280,8 @@ importers: specifier: ^4.1.1 version: 4.1.1(react@18.2.0) '@internationalized/date': - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.4 + version: 3.5.4 '@mapbox/rehype-prism': specifier: ^0.6.0 version: 0.6.0 @@ -337,38 +337,38 @@ importers: specifier: ^1.0.5 version: 1.0.5(@types/react-dom@18.2.4)(@types/react@18.2.8)(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': - specifier: ^3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/i18n': specifier: ^3.10.2 version: 3.10.2(react@18.2.0) '@react-aria/interactions': - specifier: ^3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/selection': - specifier: ^3.17.5 - version: 3.17.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.18.1 + version: 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/ssr': - specifier: ^3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/virtualizer': - specifier: ^3.9.10 - version: 3.9.10(react-dom@18.2.0)(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/visually-hidden': - specifier: ^3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/data': - specifier: ^3.11.2 - version: 3.11.2(react@18.2.0) + specifier: 3.11.4 + version: 3.11.4(react@18.2.0) '@react-stately/layout': - specifier: ^3.13.7 - version: 3.13.7(react@18.2.0) + specifier: 3.13.9 + version: 3.13.9(react@18.2.0) '@react-stately/tree': - specifier: ^3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@rehooks/local-storage': specifier: ^2.4.5 version: 2.4.5(react@18.2.0) @@ -632,23 +632,23 @@ importers: specifier: workspace:* version: link:../../hooks/use-aria-accordion '@react-aria/button': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/tree': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/accordion': - specifier: 3.0.0-alpha.19 - version: 3.0.0-alpha.19(react@18.2.0) + specifier: 3.0.0-alpha.21 + version: 3.0.0-alpha.21(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -723,29 +723,29 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/combobox': - specifier: 3.8.4 - version: 3.8.4(react-dom@18.2.0)(react@18.2.0) + specifier: 3.9.1 + version: 3.9.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/combobox': - specifier: 3.8.2 - version: 3.8.2(react@18.2.0) + specifier: 3.8.4 + version: 3.8.4(react@18.2.0) '@react-types/combobox': - specifier: 3.10.1 - version: 3.10.1(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -769,8 +769,8 @@ importers: specifier: workspace:* version: link:../../hooks/use-infinite-scroll '@react-stately/data': - specifier: 3.11.2 - version: 3.11.2(react@18.2.0) + specifier: 3.11.4 + version: 3.11.4(react@18.2.0) clean-package: specifier: 2.2.0 version: 2.2.0 @@ -799,14 +799,14 @@ importers: specifier: workspace:* version: link:../../hooks/use-image '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) devDependencies: '@nextui-org/shared-icons': specifier: workspace:* @@ -876,17 +876,17 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/breadcrumbs': - specifier: 3.5.11 - version: 3.5.11(react@18.2.0) + specifier: 3.5.13 + version: 3.5.13(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/breadcrumbs': - specifier: 3.7.3 - version: 3.7.3(react@18.2.0) + specifier: 3.7.5 + version: 3.7.5(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -934,20 +934,20 @@ importers: specifier: workspace:* version: link:../../hooks/use-aria-button '@react-aria/button': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -977,8 +977,8 @@ importers: packages/components/calendar: dependencies: '@internationalized/date': - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.4 + version: 3.5.4 '@nextui-org/button': specifier: workspace:* version: link:../button @@ -998,35 +998,35 @@ importers: specifier: workspace:* version: link:../../hooks/use-aria-button '@react-aria/calendar': - specifier: 3.5.6 - version: 3.5.6(react-dom@18.2.0)(react@18.2.0) + specifier: 3.5.8 + version: 3.5.8(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/calendar': - specifier: 3.4.4 - version: 3.4.4(react@18.2.0) + specifier: 3.5.1 + version: 3.5.1(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/calendar': - specifier: 3.4.4 - version: 3.4.4(react@18.2.0) + specifier: 3.4.6 + version: 3.4.6(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1080,14 +1080,14 @@ importers: specifier: workspace:* version: link:../../hooks/use-aria-button '@react-aria/button': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) @@ -1144,29 +1144,29 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/checkbox': - specifier: 3.14.1 - version: 3.14.1(react@18.2.0) + specifier: 3.14.3 + version: 3.14.3(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/checkbox': - specifier: 3.6.3 - version: 3.6.3(react@18.2.0) + specifier: 3.6.5 + version: 3.6.5(react@18.2.0) '@react-stately/toggle': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-types/checkbox': - specifier: 3.7.1 - version: 3.7.1(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1214,17 +1214,17 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/checkbox': - specifier: 3.7.1 - version: 3.7.1(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) devDependencies: '@nextui-org/avatar': specifier: workspace:* @@ -1273,8 +1273,8 @@ importers: packages/components/date-input: dependencies: '@internationalized/date': - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.4 + version: 3.5.4 '@nextui-org/react-utils': specifier: workspace:* version: link:../../utilities/react-utils @@ -1282,20 +1282,20 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/datepicker': - specifier: 3.9.3 - version: 3.9.3(react-dom@18.2.0)(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) '@react-stately/datepicker': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/datepicker': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1325,8 +1325,8 @@ importers: packages/components/date-picker: dependencies: '@internationalized/date': - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.4 + version: 3.5.4 '@nextui-org/aria-utils': specifier: workspace:* version: link:../../utilities/aria-utils @@ -1352,26 +1352,26 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/datepicker': - specifier: 3.9.3 - version: 3.9.3(react-dom@18.2.0)(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) '@react-stately/datepicker': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-stately/overlays': - specifier: 3.6.5 - version: 3.6.5(react@18.2.0) + specifier: 3.6.7 + version: 3.6.7(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) '@react-types/datepicker': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1444,20 +1444,20 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/menu': - specifier: 3.13.1 - version: 3.13.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.14.1 + version: 3.14.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/menu': - specifier: 3.6.1 - version: 3.6.1(react@18.2.0) + specifier: 3.7.1 + version: 3.7.1(react@18.2.0) '@react-types/menu': - specifier: 3.9.7 - version: 3.9.7(react@18.2.0) + specifier: 3.9.9 + version: 3.9.9(react@18.2.0) devDependencies: '@nextui-org/avatar': specifier: workspace:* @@ -1539,26 +1539,26 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/textfield': - specifier: 3.14.3 - version: 3.14.3(react@18.2.0) + specifier: 3.14.5 + version: 3.14.5(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) '@react-types/textfield': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.9.3 + version: 3.9.3(react@18.2.0) react-textarea-autosize: specifier: ^8.5.3 version: 8.5.3(@types/react@18.2.8)(react@18.2.0) @@ -1594,8 +1594,8 @@ importers: specifier: workspace:* version: link:../../core/system-rsc '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) devDependencies: '@nextui-org/theme': specifier: workspace:* @@ -1625,8 +1625,8 @@ importers: specifier: workspace:* version: link:../../hooks/use-aria-link '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/link': specifier: 3.7.1 version: 3.7.1(react@18.2.0) @@ -1634,8 +1634,8 @@ importers: specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/link': - specifier: 3.5.3 - version: 3.5.3(react@18.2.0) + specifier: 3.5.5 + version: 3.5.5(react@18.2.0) devDependencies: '@nextui-org/system': specifier: workspace:* @@ -1671,23 +1671,23 @@ importers: specifier: workspace:* version: link:../../hooks/use-is-mobile '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/listbox': - specifier: 3.11.5 - version: 3.11.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.12.1 + version: 3.12.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/list': - specifier: 3.10.3 - version: 3.10.3(react@18.2.0) + specifier: 3.10.5 + version: 3.10.5(react@18.2.0) '@react-types/menu': - specifier: 3.9.7 - version: 3.9.7(react@18.2.0) + specifier: 3.9.9 + version: 3.9.9(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1744,26 +1744,26 @@ importers: specifier: workspace:* version: link:../../hooks/use-is-mobile '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/menu': - specifier: 3.13.1 - version: 3.13.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.14.1 + version: 3.14.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/menu': - specifier: 3.6.1 - version: 3.6.1(react@18.2.0) + specifier: 3.7.1 + version: 3.7.1(react@18.2.0) '@react-stately/tree': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/menu': - specifier: 3.9.7 - version: 3.9.7(react@18.2.0) + specifier: 3.9.9 + version: 3.9.9(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -1814,26 +1814,26 @@ importers: specifier: workspace:* version: link:../../hooks/use-disclosure '@react-aria/dialog': - specifier: 3.5.12 - version: 3.5.12(react-dom@18.2.0)(react@18.2.0) + specifier: 3.5.14 + version: 3.5.14(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/overlays': - specifier: 3.6.5 - version: 3.6.5(react@18.2.0) + specifier: 3.6.7 + version: 3.6.7(react@18.2.0) '@react-types/overlays': - specifier: 3.8.5 - version: 3.8.5(react@18.2.0) + specifier: 3.8.7 + version: 3.8.7(react@18.2.0) devDependencies: '@nextui-org/button': specifier: workspace:* @@ -1887,23 +1887,23 @@ importers: specifier: workspace:* version: link:../../hooks/use-scroll-position '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/toggle': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) framer-motion: specifier: '>=10.17.0' version: 11.1.7(react-dom@18.2.0)(react@18.2.0) @@ -1963,14 +1963,14 @@ importers: specifier: workspace:* version: link:../../hooks/use-pagination '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) @@ -2018,29 +2018,29 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/dialog': - specifier: 3.5.12 - version: 3.5.12(react-dom@18.2.0)(react@18.2.0) + specifier: 3.5.14 + version: 3.5.14(react-dom@18.2.0)(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/overlays': - specifier: 3.6.5 - version: 3.6.5(react@18.2.0) + specifier: 3.6.7 + version: 3.6.7(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/overlays': - specifier: 3.8.5 - version: 3.8.5(react@18.2.0) + specifier: 3.8.7 + version: 3.8.7(react@18.2.0) react-remove-scroll: specifier: ^2.5.6 version: 2.5.9(@types/react@18.2.8)(react@18.2.0) @@ -2082,17 +2082,17 @@ importers: specifier: workspace:* version: link:../../hooks/use-is-mounted '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/progress': - specifier: 3.4.11 - version: 3.4.11(react@18.2.0) + specifier: 3.4.13 + version: 3.4.13(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/progress': - specifier: 3.5.2 - version: 3.5.2(react@18.2.0) + specifier: 3.5.4 + version: 3.5.4(react@18.2.0) devDependencies: '@nextui-org/card': specifier: workspace:* @@ -2125,26 +2125,26 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/radio': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.10.4 + version: 3.10.4(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/radio': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.10.4 + version: 3.10.4(react@18.2.0) '@react-types/radio': - specifier: 3.7.1 - version: 3.7.1(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -2263,20 +2263,20 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/form': - specifier: 3.0.3 - version: 3.0.3(react@18.2.0) + specifier: 3.0.5 + version: 3.0.5(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -2306,11 +2306,11 @@ importers: specifier: workspace:* version: link:../../hooks/use-infinite-scroll '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-stately/data': - specifier: 3.11.2 - version: 3.11.2(react@18.2.0) + specifier: 3.11.4 + version: 3.11.4(react@18.2.0) clean-package: specifier: 2.2.0 version: 2.2.0 @@ -2370,26 +2370,26 @@ importers: specifier: workspace:* version: link:../tooltip '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/slider': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.7.8 + version: 3.7.8(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/slider': - specifier: 3.5.2 - version: 3.5.2(react@18.2.0) + specifier: 3.5.4 + version: 3.5.4(react@18.2.0) devDependencies: '@nextui-org/shared-icons': specifier: workspace:* @@ -2434,11 +2434,11 @@ importers: specifier: workspace:* version: link:../../hooks/use-clipboard '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) framer-motion: specifier: '>=10.17.0' version: 11.1.7(react-dom@18.2.0)(react@18.2.0) @@ -2521,23 +2521,23 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/switch': - specifier: 3.6.2 - version: 3.6.2(react@18.2.0) + specifier: 3.6.4 + version: 3.6.4(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/toggle': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -2582,32 +2582,32 @@ importers: specifier: workspace:* version: link:../spacer '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/table': - specifier: 3.13.5 - version: 3.13.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.14.1 + version: 3.14.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) '@react-stately/table': - specifier: 3.11.6 - version: 3.11.6(react@18.2.0) + specifier: 3.11.8 + version: 3.11.8(react@18.2.0) '@react-stately/virtualizer': - specifier: 3.6.8 - version: 3.6.8(react@18.2.0) + specifier: 3.7.1 + version: 3.7.1(react@18.2.0) '@react-types/grid': - specifier: 3.2.4 - version: 3.2.4(react@18.2.0) + specifier: 3.2.6 + version: 3.2.6(react@18.2.0) '@react-types/table': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) devDependencies: '@nextui-org/button': specifier: workspace:* @@ -2637,8 +2637,8 @@ importers: specifier: workspace:* version: link:../user '@react-stately/data': - specifier: 3.11.2 - version: 3.11.2(react@18.2.0) + specifier: 3.11.4 + version: 3.11.4(react@18.2.0) clean-package: specifier: 2.2.0 version: 2.2.0 @@ -2673,26 +2673,26 @@ importers: specifier: workspace:* version: link:../../hooks/use-update-effect '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/tabs': - specifier: 3.8.5 - version: 3.8.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.9.1 + version: 3.9.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/tabs': - specifier: 3.6.4 - version: 3.6.4(react@18.2.0) + specifier: 3.6.6 + version: 3.6.6(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) '@react-types/tabs': - specifier: 3.3.5 - version: 3.3.5(react@18.2.0) + specifier: 3.3.7 + version: 3.3.7(react@18.2.0) scroll-into-view-if-needed: specifier: 3.0.10 version: 3.0.10 @@ -2752,26 +2752,26 @@ importers: specifier: workspace:* version: link:../../hooks/use-safe-layout-effect '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/tooltip': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/tooltip': - specifier: 3.4.7 - version: 3.4.7(react@18.2.0) + specifier: 3.4.9 + version: 3.4.9(react@18.2.0) '@react-types/overlays': - specifier: 3.8.5 - version: 3.8.5(react@18.2.0) + specifier: 3.8.7 + version: 3.8.7(react@18.2.0) '@react-types/tooltip': - specifier: 3.4.7 - version: 3.4.7(react@18.2.0) + specifier: 3.4.9 + version: 3.4.9(react@18.2.0) devDependencies: '@nextui-org/button': specifier: workspace:* @@ -2807,11 +2807,11 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/utils': - specifier: 3.23.2 - version: 3.23.2(react@18.2.0) + specifier: 3.24.1 + version: 3.24.1(react@18.2.0) devDependencies: '@nextui-org/link': specifier: workspace:* @@ -2964,8 +2964,8 @@ importers: specifier: workspace:* version: link:../../components/user '@react-aria/visually-hidden': - specifier: 3.8.10 - version: 3.8.10(react@18.2.0) + specifier: 3.8.12 + version: 3.8.12(react@18.2.0) framer-motion: specifier: '>=10.17.0' version: 11.1.7(react-dom@18.2.0)(react@18.2.0) @@ -2983,8 +2983,8 @@ importers: packages/core/system: dependencies: '@internationalized/date': - specifier: ^3.5.2 - version: 3.5.2 + specifier: ^3.5.4 + version: 3.5.4 '@nextui-org/react-utils': specifier: workspace:* version: link:../../utilities/react-utils @@ -2992,17 +2992,17 @@ importers: specifier: workspace:* version: link:../system-rsc '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) devDependencies: clean-package: specifier: 2.2.0 @@ -3112,23 +3112,23 @@ importers: packages/hooks/use-aria-accordion: dependencies: '@react-aria/button': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/selection': - specifier: 3.17.5 - version: 3.17.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.18.1 + version: 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/tree': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/accordion': - specifier: 3.0.0-alpha.19 - version: 3.0.0-alpha.19(react@18.2.0) + specifier: 3.0.0-alpha.21 + version: 3.0.0-alpha.21(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3143,14 +3143,14 @@ importers: packages/hooks/use-aria-accordion-item: dependencies: '@react-aria/button': - specifier: 3.9.3 - version: 3.9.3(react@18.2.0) + specifier: 3.9.5 + version: 3.9.5(react@18.2.0) '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-stately/tree': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3165,17 +3165,17 @@ importers: packages/hooks/use-aria-button: dependencies: '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3190,17 +3190,17 @@ importers: packages/hooks/use-aria-link: dependencies: '@react-aria/focus': - specifier: 3.16.2 - version: 3.16.2(react@18.2.0) + specifier: 3.17.1 + version: 3.17.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-types/link': - specifier: 3.5.3 - version: 3.5.3(react@18.2.0) + specifier: 3.5.5 + version: 3.5.5(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3215,29 +3215,29 @@ importers: packages/hooks/use-aria-menu: dependencies: '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/menu': - specifier: 3.13.1 - version: 3.13.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.14.1 + version: 3.14.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/selection': - specifier: 3.17.5 - version: 3.17.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.18.1 + version: 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/collections': - specifier: 3.10.5 - version: 3.10.5(react@18.2.0) + specifier: 3.10.7 + version: 3.10.7(react@18.2.0) '@react-stately/tree': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.8.1 + version: 3.8.1(react@18.2.0) '@react-types/menu': - specifier: 3.9.7 - version: 3.9.7(react@18.2.0) + specifier: 3.9.9 + version: 3.9.9(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3255,14 +3255,14 @@ importers: packages/hooks/use-aria-modal-overlay: dependencies: '@react-aria/overlays': - specifier: 3.21.1 - version: 3.21.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.22.1 + version: 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/overlays': - specifier: 3.6.5 - version: 3.6.5(react@18.2.0) + specifier: 3.6.7 + version: 3.6.7(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3280,44 +3280,44 @@ importers: packages/hooks/use-aria-multiselect: dependencies: '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/label': - specifier: 3.7.6 - version: 3.7.6(react@18.2.0) + specifier: 3.7.8 + version: 3.7.8(react@18.2.0) '@react-aria/listbox': - specifier: 3.11.5 - version: 3.11.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.12.1 + version: 3.12.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/menu': - specifier: 3.13.1 - version: 3.13.1(react-dom@18.2.0)(react@18.2.0) + specifier: 3.14.1 + version: 3.14.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/selection': - specifier: 3.17.5 - version: 3.17.5(react-dom@18.2.0)(react@18.2.0) + specifier: 3.18.1 + version: 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/form': - specifier: 3.0.1 - version: 3.0.1(react@18.2.0) + specifier: 3.0.3 + version: 3.0.3(react@18.2.0) '@react-stately/list': - specifier: 3.10.3 - version: 3.10.3(react@18.2.0) + specifier: 3.10.5 + version: 3.10.5(react@18.2.0) '@react-stately/menu': - specifier: 3.6.1 - version: 3.6.1(react@18.2.0) + specifier: 3.7.1 + version: 3.7.1(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/overlays': - specifier: 3.8.5 - version: 3.8.5(react@18.2.0) + specifier: 3.8.7 + version: 3.8.7(react@18.2.0) '@react-types/select': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3341,11 +3341,11 @@ importers: specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/toggle': - specifier: 3.7.2 - version: 3.7.2(react@18.2.0) + specifier: 3.7.4 + version: 3.7.4(react@18.2.0) '@react-types/button': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -3401,8 +3401,8 @@ importers: specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/utils': - specifier: 3.9.1 - version: 3.9.1(react@18.2.0) + specifier: 3.10.1 + version: 3.10.1(react@18.2.0) devDependencies: clean-package: specifier: 2.2.0 @@ -3443,11 +3443,11 @@ importers: packages/hooks/use-intersection-observer: dependencies: '@react-aria/interactions': - specifier: 3.21.1 - version: 3.21.1(react@18.2.0) + specifier: 3.21.3 + version: 3.21.3(react@18.2.0) '@react-aria/ssr': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) '@react-aria/utils': specifier: 3.24.1 version: 3.24.1(react@18.2.0) @@ -3465,8 +3465,8 @@ importers: packages/hooks/use-is-mobile: dependencies: '@react-aria/ssr': - specifier: 3.9.2 - version: 3.9.2(react@18.2.0) + specifier: 3.9.4 + version: 3.9.4(react@18.2.0) devDependencies: clean-package: specifier: 2.2.0 @@ -3499,8 +3499,8 @@ importers: specifier: workspace:* version: link:../../utilities/shared-utils '@react-aria/i18n': - specifier: 3.10.2 - version: 3.10.2(react@18.2.0) + specifier: 3.11.1 + version: 3.11.1(react@18.2.0) devDependencies: clean-package: specifier: 2.2.0 @@ -3655,14 +3655,14 @@ importers: specifier: 3.24.1 version: 3.24.1(react@18.2.0) '@react-stately/collections': - specifier: 3.10.5 - version: 3.10.5(react@18.2.0) + specifier: 3.10.7 + version: 3.10.7(react@18.2.0) '@react-stately/overlays': - specifier: 3.6.5 - version: 3.6.5(react@18.2.0) + specifier: 3.6.7 + version: 3.6.7(react@18.2.0) '@react-types/overlays': - specifier: 3.8.5 - version: 3.8.5(react@18.2.0) + specifier: 3.8.7 + version: 3.8.7(react@18.2.0) '@react-types/shared': specifier: 3.23.1 version: 3.23.1(react@18.2.0) @@ -6722,8 +6722,8 @@ packages: resolution: {integrity: sha512-+wluvCrRhXrhyOmRDJ3q8mux9JkKy5SJ/v8ol2tu4FVjyYvtEzkc/3pK15ET6RKg4b4w4BmTk1+gsCUhf21Ykg==} dev: false - /@internationalized/date@3.5.2: - resolution: {integrity: sha512-vo1yOMUt2hzp63IutEaTUxROdvQg1qlMRsbCvbay2AK2Gai7wIgCyK5weEX3nHkiLgo4qCXHijFNC/ILhlRpOQ==} + /@internationalized/date@3.5.4: + resolution: {integrity: sha512-qoVJVro+O0rBaw+8HPjUB1iH8Ihf8oziEnqMnvhJUSuVIrHOuZ6eNLHNvzXJKUvAtaDiqMnRlg8Z2mgh09BlUw==} dependencies: '@swc/helpers': 0.5.9 @@ -6732,16 +6732,35 @@ packages: dependencies: '@swc/helpers': 0.5.9 intl-messageformat: 10.5.11 + dev: false + + /@internationalized/message@3.1.4: + resolution: {integrity: sha512-Dygi9hH1s7V9nha07pggCkvmRfDd3q2lWnMGvrJyrOwYMe1yj4D2T9BoH9I6MGR7xz0biQrtLPsqUkqXzIrBOw==} + dependencies: + '@swc/helpers': 0.5.9 + intl-messageformat: 10.5.11 /@internationalized/number@3.5.1: resolution: {integrity: sha512-N0fPU/nz15SwR9IbfJ5xaS9Ss/O5h1sVXMZf43vc9mxEG48ovglvvzBjF53aHlq20uoR6c+88CrIXipU/LSzwg==} dependencies: '@swc/helpers': 0.5.9 + dev: false + + /@internationalized/number@3.5.3: + resolution: {integrity: sha512-rd1wA3ebzlp0Mehj5YTuTI50AQEx80gWFyHcQu+u91/5NgdwBecO8BH6ipPfE+lmQ9d63vpB3H9SHoIUiupllw==} + dependencies: + '@swc/helpers': 0.5.9 /@internationalized/string@3.2.1: resolution: {integrity: sha512-vWQOvRIauvFMzOO+h7QrdsJmtN1AXAFVcaLWP9AseRN2o7iHceZ6bIXhBD4teZl8i91A3gxKnWBlGgjCwU6MFQ==} dependencies: '@swc/helpers': 0.5.9 + dev: false + + /@internationalized/string@3.2.3: + resolution: {integrity: sha512-9kpfLoA8HegiWTeCbR2livhdVeKobCnVv8tlJ6M2jF+4tcMqDo94ezwlnrUANBWPgd8U7OXIHCk2Ov2qhk4KXw==} + dependencies: + '@swc/helpers': 0.5.9 /@isaacs/cliui@8.0.2: resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} @@ -9616,156 +9635,143 @@ packages: '@babel/runtime': 7.24.4 dev: true - /@react-aria/breadcrumbs@3.5.11(react@18.2.0): - resolution: {integrity: sha512-bQz4g2tKvcWxeqPGj9O0RQf++Ka8f2o/pJMJB+QQ27DVQWhxpQpND//oFku2aFYkxHB/fyD9qVoiqpQR25bidw==} + /@react-aria/breadcrumbs@3.5.13(react@18.2.0): + resolution: {integrity: sha512-G1Gqf/P6kVdfs94ovwP18fTWuIxadIQgHsXS08JEVcFVYMjb9YjqnEBaohUxD1tq2WldMbYw53ahQblT4NTG+g==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/link': 3.6.5(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/link': 3.7.1(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/breadcrumbs': 3.7.3(react@18.2.0) + '@react-types/breadcrumbs': 3.7.5(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/button@3.9.3(react@18.2.0): - resolution: {integrity: sha512-ZXo2VGTxfbaTEnfeIlm5ym4vYpGAy8sGrad8Scv+EyDAJWLMKokqctfaN6YSWbqUApC3FN63IvMqASflbmnYig==} + /@react-aria/button@3.9.5(react@18.2.0): + resolution: {integrity: sha512-dgcYR6j8WDOMLKuVrtxzx4jIC05cVKDzc+HnPO8lNkBAOfjcuN5tkGRtIjLtqjMvpZHhQT5aDbgFpIaZzxgFIg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/toggle': 3.7.2(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) + '@react-stately/toggle': 3.7.4(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/calendar@3.5.6(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-PA0Ur5WcODMn7t2gCUvq61YktkB+WlSZjzDr5kcY3sdl53ZjiyqCa2hYgrb6R0J859LVJXAp+5Qaproz8g1oLA==} + /@react-aria/calendar@3.5.8(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-Whlp4CeAA5/ZkzrAHUv73kgIRYjw088eYGSc+cvSOCxfrc/2XkBm9rNrnSBv0DvhJ8AG0Fjz3vYakTmF3BgZBw==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/live-announcer': 3.3.2 + '@internationalized/date': 3.5.4 + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/live-announcer': 3.3.4 '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/calendar': 3.4.4(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) - '@react-types/calendar': 3.4.4(react@18.2.0) + '@react-stately/calendar': 3.5.1(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) + '@react-types/calendar': 3.4.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/checkbox@3.14.1(react@18.2.0): - resolution: {integrity: sha512-b4rtrg5SpRSa9jBOqzJMmprJ+jDi3KyVvUh+DsvISe5Ti7gVAhMBgnca1D0xBp22w2jhk/o4gyu1bYxGLum0GA==} + /@react-aria/checkbox@3.14.3(react@18.2.0): + resolution: {integrity: sha512-EtBJL6iu0gvrw3A4R7UeVLR6diaVk/mh4kFBc7c8hQjpEJweRr4hmJT3hrNg3MBcTWLxFiMEXPGgWEwXDBygtA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/form': 3.0.3(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) - '@react-aria/toggle': 3.10.2(react@18.2.0) + '@react-aria/form': 3.0.5(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) + '@react-aria/toggle': 3.10.4(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/checkbox': 3.6.3(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/toggle': 3.7.2(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) + '@react-stately/checkbox': 3.6.5(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/toggle': 3.7.4(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/combobox@3.8.4(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-HyTWIo2B/0xq0Of+sDEZCfJyf4BvCvDYIWG4UhjqL1kHIHIGQyyr+SldbVUjXVYnk8pP1eGB3ttiREujjjALPQ==} + /@react-aria/combobox@3.9.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-SpK92dCmT8qn8aEcUAihRQrBb5LZUhwIbDExFII8PvUvEFy/PoQHXIo3j1V29WkutDBDpMvBv/6XRCHGXPqrhQ==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/listbox': 3.11.5(react-dom@18.2.0)(react@18.2.0) - '@react-aria/live-announcer': 3.3.2 - '@react-aria/menu': 3.13.1(react-dom@18.2.0)(react@18.2.0) - '@react-aria/overlays': 3.21.1(react-dom@18.2.0)(react@18.2.0) - '@react-aria/selection': 3.17.5(react-dom@18.2.0)(react@18.2.0) - '@react-aria/textfield': 3.14.3(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/listbox': 3.12.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/live-announcer': 3.3.4 + '@react-aria/menu': 3.14.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/overlays': 3.22.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/selection': 3.18.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/textfield': 3.14.5(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/combobox': 3.8.2(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) - '@react-types/combobox': 3.10.1(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/combobox': 3.8.4(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) + '@react-types/combobox': 3.11.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/datepicker@3.9.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-1AjCAizd88ACKjVNhFazX4HZZFwWi2rsSlGCTm66Nx6wm5N/Cpbm466dpYEFyQUsKSOG4CC65G1zfYoMPe48MQ==} + /@react-aria/datepicker@3.10.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-4HZL593nrNMa1GjBmWEN/OTvNS6d3/16G1YJWlqiUlv11ADulSbqBIjMmkgwrJVFcjrgqtXFy+yyrTA/oq94Zw==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 - '@internationalized/number': 3.5.1 - '@internationalized/string': 3.2.1 - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/form': 3.0.3(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) - '@react-aria/spinbutton': 3.6.3(react-dom@18.2.0)(react@18.2.0) + '@internationalized/date': 3.5.4 + '@internationalized/number': 3.5.3 + '@internationalized/string': 3.2.3 + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/form': 3.0.5(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) + '@react-aria/spinbutton': 3.6.5(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/datepicker': 3.9.2(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) - '@react-types/calendar': 3.4.4(react@18.2.0) - '@react-types/datepicker': 3.7.2(react@18.2.0) - '@react-types/dialog': 3.5.8(react@18.2.0) + '@react-stately/datepicker': 3.9.4(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) + '@react-types/calendar': 3.4.6(react@18.2.0) + '@react-types/datepicker': 3.7.4(react@18.2.0) + '@react-types/dialog': 3.5.10(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/dialog@3.5.12(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-7UJR/h/Y364u6Ltpw0bT51B48FybTuIBacGpEJN5IxZlpxvQt0KQcBDiOWfAa/GQogw4B5hH6agaOO0nJcP49Q==} + /@react-aria/dialog@3.5.14(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-oqDCjQ8hxe3GStf48XWBf2CliEnxlR9GgSYPHJPUc69WBj68D9rVcCW3kogJnLAnwIyf3FnzbX4wSjvUa88sAQ==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/overlays': 3.21.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/overlays': 3.22.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/dialog': 3.5.8(react@18.2.0) + '@react-types/dialog': 3.5.10(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/focus@3.16.2(react@18.2.0): - resolution: {integrity: sha512-Rqo9ummmgotESfypzFjI3uh58yMpL+E+lJBbQuXkBM0u0cU2YYzu0uOrFrq3zcHk997udZvq1pGK/R+2xk9B7g==} - peerDependencies: - react: ^18.2.0 - dependencies: - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/shared': 3.23.1(react@18.2.0) - '@swc/helpers': 0.5.9 - clsx: 2.1.0 - react: 18.2.0 - dev: false - /@react-aria/focus@3.17.1(react@18.2.0): resolution: {integrity: sha512-FLTySoSNqX++u0nWZJPPN5etXY0WBxaIe/YuL/GTEeuqUIuC/2bJSaw5hlsM6T2yjy6Y/VAxBcKSdAFUlU6njQ==} peerDependencies: @@ -9779,37 +9785,37 @@ packages: react: 18.2.0 dev: false - /@react-aria/form@3.0.3(react@18.2.0): - resolution: {integrity: sha512-5Q2BHE4TTPDzGY2npCzpRRYshwWUb3SMUA/Cbz7QfEtBk+NYuVaq3KjvqLqgUUdyKtqLZ9Far0kIAexloOC4jw==} + /@react-aria/form@3.0.5(react@18.2.0): + resolution: {integrity: sha512-n290jRwrrRXO3fS82MyWR+OKN7yznVesy5Q10IclSTVYHHI3VI53xtAPr/WzNjJR1um8aLhOcDNFKwnNIUUCsQ==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/grid@3.8.8(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-7Bzbya4tO0oIgqexwRb8D6ZdC0GASYq9f/pnkrqocgvG9e1SCld4zOioKbYQDvAK/NnbCgXmmdqFAcLM/iazaA==} + /@react-aria/grid@3.9.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-fGEZqAEaS8mqzV/II3N4ndoNWegIcbh+L3PmKbXdpKKUP8VgMs/WY5rYl5WAF0f5RoFwXqx3ibDLeR9tKj/bOg==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/live-announcer': 3.3.2 - '@react-aria/selection': 3.17.5(react-dom@18.2.0)(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/live-announcer': 3.3.4 + '@react-aria/selection': 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/grid': 3.8.5(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) - '@react-stately/virtualizer': 3.6.8(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/grid': 3.8.7(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) + '@react-stately/virtualizer': 3.7.1(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 @@ -9821,27 +9827,31 @@ packages: peerDependencies: react: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 + '@internationalized/date': 3.5.4 '@internationalized/message': 3.1.2 '@internationalized/number': 3.5.1 '@internationalized/string': 3.2.1 - '@react-aria/ssr': 3.9.2(react@18.2.0) + '@react-aria/ssr': 3.9.4(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 + dev: false - /@react-aria/interactions@3.21.1(react@18.2.0): - resolution: {integrity: sha512-AlHf5SOzsShkHfV8GLLk3v9lEmYqYHURKcXWue0JdYbmquMRkUsf/+Tjl1+zHVAQ8lKqRnPYbTmc4AcZbqxltw==} + /@react-aria/i18n@3.11.1(react@18.2.0): + resolution: {integrity: sha512-vuiBHw1kZruNMYeKkTGGnmPyMnM5T+gT8bz97H1FqIq1hQ6OPzmtBZ6W6l6OIMjeHI5oJo4utTwfZl495GALFQ==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/ssr': 3.9.2(react@18.2.0) + '@internationalized/date': 3.5.4 + '@internationalized/message': 3.1.4 + '@internationalized/number': 3.5.3 + '@internationalized/string': 3.2.3 + '@react-aria/ssr': 3.9.4(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 - dev: false /@react-aria/interactions@3.21.3(react@18.2.0): resolution: {integrity: sha512-BWIuf4qCs5FreDJ9AguawLVS0lV9UU+sK4CCnbCNNmYqOWY+1+gRXCsnOM32K+oMESBxilAjdHW5n1hsMqYMpA==} @@ -9855,26 +9865,12 @@ packages: react: 18.2.0 dev: false - /@react-aria/label@3.7.6(react@18.2.0): - resolution: {integrity: sha512-ap9iFS+6RUOqeW/F2JoNpERqMn1PvVIo3tTMrJ1TY1tIwyJOxdCBRgx9yjnPBnr+Ywguep+fkPNNi/m74+tXVQ==} - peerDependencies: - react: ^18.2.0 - dependencies: - '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/shared': 3.23.1(react@18.2.0) - '@swc/helpers': 0.5.9 - react: 18.2.0 - dev: false - - /@react-aria/link@3.6.5(react@18.2.0): - resolution: {integrity: sha512-kg8CxKqkciQFzODvLAfxEs8gbqNXFZCW/ISOE2LHYKbh9pA144LVo71qO3SPeYVVzIjmZeW4vEMdZwqkNozecw==} + /@react-aria/label@3.7.8(react@18.2.0): + resolution: {integrity: sha512-MzgTm5+suPA3KX7Ug6ZBK2NX9cin/RFLsv1BdafJ6CZpmUSpWnGE/yQfYUB7csN7j31OsZrD3/P56eShYWAQfg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/link': 3.5.3(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 @@ -9894,166 +9890,157 @@ packages: react: 18.2.0 dev: false - /@react-aria/listbox@3.11.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-y3a3zQYjT+JKgugCMMKS7K9sRoCoP1Z6Fiiyfd77OHXWzh9RlnvWGsseljynmbxLzSuPwFtCYkU1Jz4QwsPUIg==} + /@react-aria/listbox@3.12.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-7JiUp0NGykbv/HgSpmTY1wqhuf/RmjFxs1HZcNaTv8A+DlzgJYc7yQqFjP3ZA/z5RvJFuuIxggIYmgIFjaRYdA==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) - '@react-aria/selection': 3.17.5(react-dom@18.2.0)(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) + '@react-aria/selection': 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/list': 3.10.3(react@18.2.0) - '@react-types/listbox': 3.4.7(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/list': 3.10.5(react@18.2.0) + '@react-types/listbox': 3.4.9(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/live-announcer@3.3.2: - resolution: {integrity: sha512-aOyPcsfyY9tLCBhuUaYCruwcd1IrYLc47Ou+J7wMzjeN9v4lsaEfiN12WFl8pDqOwfy6/7It2wmlm5hOuZY8wQ==} + /@react-aria/live-announcer@3.3.4: + resolution: {integrity: sha512-w8lxs35QrRrn6pBNzVfyGOeqWdxeVKf9U6bXIVwhq7rrTqRULL8jqy8RJIMfIs1s8G5FpwWYjyBOjl2g5Cu1iA==} dependencies: '@swc/helpers': 0.5.9 dev: false - /@react-aria/menu@3.13.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-jF80YIcvD16Fgwm5pj7ViUE3Dj7z5iewQixLaFVdvpgfyE58SD/ZVU9/JkK5g/03DYM0sjpUKZGkdFxxw8eKnw==} + /@react-aria/menu@3.14.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-BYliRb38uAzq05UOFcD5XkjA5foQoXRbcH3ZufBsc4kvh79BcP1PMW6KsXKGJ7dC/PJWUwCui6QL1kUg8PqMHA==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/overlays': 3.21.1(react-dom@18.2.0)(react@18.2.0) - '@react-aria/selection': 3.17.5(react-dom@18.2.0)(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/overlays': 3.22.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/selection': 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/menu': 3.6.1(react@18.2.0) - '@react-stately/tree': 3.7.6(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) - '@react-types/menu': 3.9.7(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/menu': 3.7.1(react@18.2.0) + '@react-stately/tree': 3.8.1(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) + '@react-types/menu': 3.9.9(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/overlays@3.21.1(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-djEBDF+TbIIOHWWNpdm19+z8xtY8U+T+wKVQg/UZ6oWnclSqSWeGl70vu73Cg4HVBJ4hKf1SRx4Z/RN6VvH4Yw==} + /@react-aria/overlays@3.22.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-GHiFMWO4EQ6+j6b5QCnNoOYiyx1Gk8ZiwLzzglCI4q1NY5AG2EAmfU4Z1+Gtrf2S5Y0zHbumC7rs9GnPoGLUYg==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/ssr': 3.9.2(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/ssr': 3.9.4(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-aria/visually-hidden': 3.8.10(react@18.2.0) - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) - '@react-types/overlays': 3.8.5(react@18.2.0) + '@react-aria/visually-hidden': 3.8.12(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/progress@3.4.11(react@18.2.0): - resolution: {integrity: sha512-RePHbS15/KYFiApYLdwazwvWKsB9q0Kn5DGCSb0hqCC+k2Eui8iVVOsegswiP+xqkk/TiUCIkBEw22W3Az4kTg==} + /@react-aria/progress@3.4.13(react@18.2.0): + resolution: {integrity: sha512-YBV9bOO5JzKvG8QCI0IAA00o6FczMgIDiK8Q9p5gKorFMatFUdRayxlbIPoYHMi+PguLil0jHgC7eOyaUcrZ0g==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/progress': 3.5.2(react@18.2.0) + '@react-types/progress': 3.5.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/radio@3.10.2(react@18.2.0): - resolution: {integrity: sha512-CTUTR+qt3BLjmyQvKHZuVm+1kyvT72ZptOty++sowKXgJApTLdjq8so1IpaLAr8JIfzqD5I4tovsYwIQOX8log==} + /@react-aria/radio@3.10.4(react@18.2.0): + resolution: {integrity: sha512-3fmoMcQtCpgjTwJReFjnvIE/C7zOZeCeWUn4JKDqz9s1ILYsC3Rk5zZ4q66tFn6v+IQnecrKT52wH6+hlVLwTA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/form': 3.0.3(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/form': 3.0.5(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/radio': 3.10.2(react@18.2.0) - '@react-types/radio': 3.7.1(react@18.2.0) + '@react-stately/radio': 3.10.4(react@18.2.0) + '@react-types/radio': 3.8.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/selection@3.17.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-gO5jBUkc7WdkiFMlWt3x9pTSuj3Yeegsxfo44qU5NPlKrnGtPRZDWrlACNgkDHu645RNNPhlyoX0C+G8mUg1xA==} + /@react-aria/selection@3.18.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-GSqN2jX6lh7v+ldqhVjAXDcrWS3N4IsKXxO6L6Ygsye86Q9q9Mq9twWDWWu5IjHD6LoVZLUBCMO+ENGbOkyqeQ==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/slider@3.7.6(react@18.2.0): - resolution: {integrity: sha512-ZeZhyHzhk9gxGuThPKgX2K3RKsxPxsFig1iYoJvqP8485NtHYQIPht2YcpEKA9siLxGF0DR9VCfouVhSoW0AEA==} + /@react-aria/slider@3.7.8(react@18.2.0): + resolution: {integrity: sha512-MYvPcM0K8jxEJJicUK2+WxUkBIM/mquBxOTOSSIL3CszA80nXIGVnLlCUnQV3LOUzpWtabbWaZokSPtGgOgQOw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/slider': 3.5.2(react@18.2.0) + '@react-stately/slider': 3.5.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/slider': 3.7.1(react@18.2.0) + '@react-types/slider': 3.7.3(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/spinbutton@3.6.3(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-IlfhRu/pc9zOt2C5zSEB7NmmzddvWisGx2iGzw8BwIKMD+cN3uy+Qwp+sG6Z/JzFEBN0F6Mxm3l5lhbiqjpICQ==} + /@react-aria/spinbutton@3.6.5(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-0aACBarF/Xr/7ixzjVBTQ0NBwwwsoGkf5v6AVFVMTC0uYMXHTALvRs+ULHjHMa5e/cX/aPlEvaVT7jfSs+Xy9Q==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/live-announcer': 3.3.2 + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/live-announcer': 3.3.4 '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-types/button': 3.9.2(react@18.2.0) + '@react-types/button': 3.9.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/ssr@3.9.2(react@18.2.0): - resolution: {integrity: sha512-0gKkgDYdnq1w+ey8KzG9l+H5Z821qh9vVjztk55rUg71vTk/Eaebeir+WtzcLLwTjw3m/asIjx8Y59y1lJZhBw==} - engines: {node: '>= 12'} - peerDependencies: - react: ^18.2.0 - dependencies: - '@swc/helpers': 0.5.9 - react: 18.2.0 - /@react-aria/ssr@3.9.4(react@18.2.0): resolution: {integrity: sha512-4jmAigVq409qcJvQyuorsmBR4+9r3+JEC60wC+Y0MZV0HCtTmm8D9guYXlJMdx0SSkgj0hHAyFm/HvPNFofCoQ==} engines: {node: '>= 12'} @@ -10063,121 +10050,108 @@ packages: '@swc/helpers': 0.5.9 react: 18.2.0 - /@react-aria/switch@3.6.2(react@18.2.0): - resolution: {integrity: sha512-X5m/omyhXK+V/vhJFsHuRs2zmt9Asa/RuzlldbXnWohLdeuHMPgQnV8C9hg3f+sRi3sh9UUZ64H61pCtRoZNwg==} + /@react-aria/switch@3.6.4(react@18.2.0): + resolution: {integrity: sha512-2nVqz4ZuJyof47IpGSt3oZRmp+EdS8wzeDYgf42WHQXrx4uEOk1mdLJ20+NnsYhj/2NHZsvXVrjBeKMjlMs+0w==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/toggle': 3.10.2(react@18.2.0) - '@react-stately/toggle': 3.7.2(react@18.2.0) - '@react-types/switch': 3.5.1(react@18.2.0) + '@react-aria/toggle': 3.10.4(react@18.2.0) + '@react-stately/toggle': 3.7.4(react@18.2.0) + '@react-types/switch': 3.5.3(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/table@3.13.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-P2nHEDk2CCoEbMFKNCyBC9qvmv7F/IXARDt/7z/J4mKFgU2iNSK+/zw6yrb38q33Zlk8hDaqSYNxHlMrh+/1MQ==} + /@react-aria/table@3.14.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-WaPgQe4zQF5OaluO5rm+Y2nEoFR63vsLd4BT4yjK1uaFhKhDY2Zk+1SCVQvBLLKS4WK9dhP05nrNzT0vp/ZPOw==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/grid': 3.8.8(react-dom@18.2.0)(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) - '@react-aria/live-announcer': 3.3.2 + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/grid': 3.9.1(react-dom@18.2.0)(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) + '@react-aria/live-announcer': 3.3.4 '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-aria/visually-hidden': 3.8.10(react@18.2.0) - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/flags': 3.0.1 - '@react-stately/table': 3.11.6(react@18.2.0) - '@react-stately/virtualizer': 3.6.8(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-aria/visually-hidden': 3.8.12(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/flags': 3.0.3 + '@react-stately/table': 3.11.8(react@18.2.0) + '@react-stately/virtualizer': 3.7.1(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/table': 3.9.3(react@18.2.0) + '@react-types/table': 3.9.5(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/tabs@3.8.5(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-Jvt33/W+66n5oCxVwHAYarJ3Fit61vULiPcG7uTez0Mf11cq/C72wOrj+ZuNz6PTLTi2veBNQ7MauY72SnOjRg==} + /@react-aria/tabs@3.9.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-S5v/0sRcOaSXaJYZuuy1ZVzYc7JD4sDyseG1133GjyuNjJOFHgoWMb+b4uxNIJbZxnLgynn/ZDBZSO+qU+fIxw==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/selection': 3.17.5(react-dom@18.2.0)(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/selection': 3.18.1(react-dom@18.2.0)(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/tabs': 3.6.4(react@18.2.0) + '@react-stately/tabs': 3.6.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/tabs': 3.3.5(react@18.2.0) + '@react-types/tabs': 3.3.7(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/textfield@3.14.3(react@18.2.0): - resolution: {integrity: sha512-wPSjj/mTABspYQdahg+l5YMtEQ3m5iPCTtb5g6nR1U1rzJkvS4i5Pug6PUXeLeMz2H3ToflPWGlNOqBioAFaOQ==} + /@react-aria/textfield@3.14.5(react@18.2.0): + resolution: {integrity: sha512-hj7H+66BjB1iTKKaFXwSZBZg88YT+wZboEXZ0DNdQB2ytzoz/g045wBItUuNi4ZjXI3P+0AOZznVMYadWBAmiA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/form': 3.0.3(react@18.2.0) - '@react-aria/label': 3.7.6(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/form': 3.0.5(react@18.2.0) + '@react-aria/label': 3.7.8(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/textfield': 3.9.1(react@18.2.0) + '@react-types/textfield': 3.9.3(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/toggle@3.10.2(react@18.2.0): - resolution: {integrity: sha512-DgitscHWgI6IFgnvp2HcMpLGX/cAn+XX9kF5RJQbRQ9NqUgruU5cEEGSOLMrEJ6zXDa2xmOiQ+kINcyNhA+JLg==} + /@react-aria/toggle@3.10.4(react@18.2.0): + resolution: {integrity: sha512-bRk+CdB8QzrSyGNjENXiTWxfzYKRw753iwQXsEAU7agPCUdB8cZJyrhbaUoD0rwczzTp2zDbZ9rRbUPdsBE2YQ==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/toggle': 3.7.2(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) + '@react-stately/toggle': 3.7.4(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/tooltip@3.7.2(react@18.2.0): - resolution: {integrity: sha512-6jXOSGPao3gPgUQWLbH2r/jxGMqIaIKrJgfwu9TQrh+UkwwiTYW20EpEDCYY2nRFlcoi7EYAiPDSEbHCwXS7Lg==} + /@react-aria/tooltip@3.7.4(react@18.2.0): + resolution: {integrity: sha512-+XRx4HlLYqWY3fB8Z60bQi/rbWDIGlFUtXYbtoa1J+EyRWfhpvsYImP8qeeNO/vgjUtDy1j9oKa8p6App9mBMQ==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/focus': 3.16.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/focus': 3.17.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/tooltip': 3.4.7(react@18.2.0) + '@react-stately/tooltip': 3.4.9(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/tooltip': 3.4.7(react@18.2.0) + '@react-types/tooltip': 3.4.9(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-aria/utils@3.23.2(react@18.2.0): - resolution: {integrity: sha512-yznR9jJ0GG+YJvTMZxijQwVp+ahP66DY0apZf7X+dllyN+ByEDW+yaL1ewYPIpugxVzH5P8jhnBXsIyHKN411g==} - peerDependencies: - react: ^18.2.0 - dependencies: - '@react-aria/ssr': 3.9.2(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/shared': 3.23.1(react@18.2.0) - '@swc/helpers': 0.5.9 - clsx: 2.1.0 - react: 18.2.0 - dev: false - /@react-aria/utils@3.24.1(react@18.2.0): resolution: {integrity: sha512-O3s9qhPMd6n42x9sKeJ3lhu5V1Tlnzhu6Yk8QOvDuXf7UGuUjXf9mzfHJt1dYzID4l9Fwm8toczBzPM9t0jc8Q==} peerDependencies: @@ -10190,28 +10164,28 @@ packages: clsx: 2.1.0 react: 18.2.0 - /@react-aria/virtualizer@3.9.10(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-oDvGgexK6phB9XECWvAaKTq/nRKxHjmJSiZ2gv9j72JFoky4iVEHKAV6Qnar0VBcEpk16JcJVI/wf1xr9F+sjQ==} + /@react-aria/virtualizer@3.10.1(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-y34w+n/B3nwwj18QHIZlkNj5Fn2rt5CbQE4BBWAM8jYZ5ypwF77i2toxhGTuk1Oo1/hgTX7JYIgDIAQbNraBcg==} peerDependencies: react: ^18.2.0 react-dom: ^18.2.0 dependencies: - '@react-aria/i18n': 3.10.2(react@18.2.0) - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/i18n': 3.11.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) - '@react-stately/virtualizer': 3.6.8(react@18.2.0) + '@react-stately/virtualizer': 3.7.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /@react-aria/visually-hidden@3.8.10(react@18.2.0): - resolution: {integrity: sha512-np8c4wxdbE7ZrMv/bnjwEfpX0/nkWy9sELEb0sK8n4+HJ+WycoXXrVxBUb9tXgL/GCx5ReeDQChjQWwajm/z3A==} + /@react-aria/visually-hidden@3.8.12(react@18.2.0): + resolution: {integrity: sha512-Bawm+2Cmw3Xrlr7ARzl2RLtKh0lNUdJ0eNqzWcyx4c0VHUAWtThmH5l+HRqFUGzzutFZVo89SAy40BAbd0gjVw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-aria/interactions': 3.21.1(react@18.2.0) + '@react-aria/interactions': 3.21.3(react@18.2.0) '@react-aria/utils': 3.24.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 @@ -10256,34 +10230,34 @@ packages: react: 18.2.0 dev: false - /@react-stately/calendar@3.4.4(react@18.2.0): - resolution: {integrity: sha512-f9ZOd096gGGD+3LmU1gkmfqytGyQtrgi+Qjn+70GbM2Jy65pwOR4I9YrobbmeAFov5Tff13mQEa0yqWvbcDLZQ==} + /@react-stately/calendar@3.5.1(react@18.2.0): + resolution: {integrity: sha512-7l7QhqGUJ5AzWHfvZzbTe3J4t72Ht5BmhW4hlVI7flQXtfrmYkVtl3ZdytEZkkHmWGYZRW9b4IQTQGZxhtlElA==} peerDependencies: react: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/calendar': 3.4.4(react@18.2.0) + '@internationalized/date': 3.5.4 + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/calendar': 3.4.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/checkbox@3.6.3(react@18.2.0): - resolution: {integrity: sha512-hWp0GXVbMI4sS2NbBjWgOnHNrRqSV4jeftP8zc5JsIYRmrWBUZitxluB34QuVPzrBO29bGsF0GTArSiQZt6BWw==} + /@react-stately/checkbox@3.6.5(react@18.2.0): + resolution: {integrity: sha512-IXV3f9k+LtmfQLE+DKIN41Q5QB/YBLDCB1YVx5PEdRp52S9+EACD5683rjVm8NVRDwjMi2SP6RnFRk7fVb5Azg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/collections@3.10.5(react@18.2.0): - resolution: {integrity: sha512-k8Q29Nnvb7iAia1QvTanZsrWP2aqVNBy/1SlE6kLL6vDqtKZC+Esd1SDLHRmIcYIp5aTdfwIGd0NuiRQA7a81Q==} + /@react-stately/collections@3.10.7(react@18.2.0): + resolution: {integrity: sha512-KRo5O2MWVL8n3aiqb+XR3vP6akmHLhLWYZEmPKjIv0ghQaEebBTrN3wiEjtd6dzllv0QqcWvDLM1LntNfJ2TsA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10292,25 +10266,25 @@ packages: react: 18.2.0 dev: false - /@react-stately/combobox@3.8.2(react@18.2.0): - resolution: {integrity: sha512-f+IHuFW848VoMbvTfSakn2WIh2urDxO355LrKxnisXPCkpQHpq3lvT2mJtKJwkPxjAy7xPjpV8ejgga2R6p53Q==} + /@react-stately/combobox@3.8.4(react@18.2.0): + resolution: {integrity: sha512-iLVGvKRRz0TeJXZhZyK783hveHpYA6xovOSdzSD+WGYpiPXo1QrcrNoH3AE0Z2sHtorU+8nc0j58vh5PB+m2AA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/list': 3.10.3(react@18.2.0) - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-stately/select': 3.6.2(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/combobox': 3.10.1(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/list': 3.10.5(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-stately/select': 3.6.4(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/combobox': 3.11.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/data@3.11.2(react@18.2.0): - resolution: {integrity: sha512-yhK2upk2WbJeiLBRWHrh/4G2CvmmozCzoivLaRAPYu53m1J3MyzVGCLJgnZMbMZvAbNcYWZK6IzO6VqZ2y1fOw==} + /@react-stately/data@3.11.4(react@18.2.0): + resolution: {integrity: sha512-PbnUQxeE6AznSuEWYnRmrYQ9t5z1Asx98Jtrl96EeA6Iapt9kOjTN9ySqCxtPxMKleb1NIqG3+uHU3veIqmLsg==} peerDependencies: react: ^18.2.0 dependencies: @@ -10318,30 +10292,30 @@ packages: '@swc/helpers': 0.5.9 react: 18.2.0 - /@react-stately/datepicker@3.9.2(react@18.2.0): - resolution: {integrity: sha512-Z6FrK6Af7R5BizqHhJFCj3Hn32mg5iLSDdEgFQAuO043guOXUKFUAnbxfbQUjL6PGE6QwWMfQD7PPGebHn9Ifw==} + /@react-stately/datepicker@3.9.4(react@18.2.0): + resolution: {integrity: sha512-yBdX01jn6gq4NIVvHIqdjBUPo+WN8Bujc4OnPw+ZnfA4jI0eIgq04pfZ84cp1LVXW0IB0VaCu1AlQ/kvtZjfGA==} peerDependencies: react: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 - '@internationalized/string': 3.2.1 - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/datepicker': 3.7.2(react@18.2.0) + '@internationalized/date': 3.5.4 + '@internationalized/string': 3.2.3 + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/datepicker': 3.7.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/flags@3.0.1: - resolution: {integrity: sha512-h5PcDMj54aipQNO18ig/IMI1kzPwcvSwVq5M6Ib6XE1WIkOH0dIuW2eADdAOhcGi3KXJtXVdD29zh0Eox1TKgQ==} + /@react-stately/flags@3.0.3: + resolution: {integrity: sha512-/ha7XFA0RZTQsbzSPwu3KkbNMgbvuM0GuMTYLTBWpgBrovBNTM+QqI/PfZTdHg8PwCYF4H5Y8gjdSpdulCvJFw==} dependencies: - '@swc/helpers': 0.4.36 + '@swc/helpers': 0.5.9 dev: false - /@react-stately/form@3.0.1(react@18.2.0): - resolution: {integrity: sha512-T1Ul2Ou0uE/S4ECLcGKa0OfXjffdjEHfUFZAk7OZl0Mqq/F7dl5WpoLWJ4d4IyvZzGO6anFNenP+vODWbrF3NA==} + /@react-stately/form@3.0.3(react@18.2.0): + resolution: {integrity: sha512-92YYBvlHEWUGUpXgIaQ48J50jU9XrxfjYIN8BTvvhBHdD63oWgm8DzQnyT/NIAMzdLnhkg7vP+fjG8LjHeyIAg==} peerDependencies: react: ^18.2.0 dependencies: @@ -10350,180 +10324,180 @@ packages: react: 18.2.0 dev: false - /@react-stately/grid@3.8.5(react@18.2.0): - resolution: {integrity: sha512-KCzi0x0p1ZKK+OptonvJqMbn6Vlgo6GfOIlgcDd0dNYDP8TJ+3QFJAFre5mCr7Fubx7LcAOio4Rij0l/R8fkXQ==} + /@react-stately/grid@3.8.7(react@18.2.0): + resolution: {integrity: sha512-he3TXCLAhF5C5z1/G4ySzcwyt7PEiWcVIupxebJQqRyFrNWemSuv+7tolnStmG8maMVIyV3P/3j4eRBbdSlOIg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/layout@3.13.7(react@18.2.0): - resolution: {integrity: sha512-9HH/aSxpEHwUW1T1vGN3+iznkAXQUzoMrsoEepNzesOsUGSm/MFZmEk4+9cdPA7y3ou2eHpGNUB1YIDDVptElg==} + /@react-stately/layout@3.13.9(react@18.2.0): + resolution: {integrity: sha512-JCj2cnvRbBjah9LFZbBXMdKkoKuEpzn6hvYBw7h0fNIhNGISpiI1TW4ya1X34kD2vcv/3dc31KV/UqmI4hJCQw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/table': 3.11.6(react@18.2.0) - '@react-stately/virtualizer': 3.6.8(react@18.2.0) - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/table': 3.11.8(react@18.2.0) + '@react-stately/virtualizer': 3.7.1(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/table': 3.9.3(react@18.2.0) + '@react-types/table': 3.9.5(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/list@3.10.3(react@18.2.0): - resolution: {integrity: sha512-Ul8el0tQy2Ucl3qMQ0fiqdJ874W1ZNjURVSgSxN+pGwVLNBVRjd6Fl7YwZFCXER2YOlzkwg+Zqozf/ZlS0EdXA==} + /@react-stately/list@3.10.5(react@18.2.0): + resolution: {integrity: sha512-fV9plO+6QDHiewsYIhboxcDhF17GO95xepC5ki0bKXo44gr14g/LSo/BMmsaMnV+1BuGdBunB05bO4QOIaigXA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/menu@3.6.1(react@18.2.0): - resolution: {integrity: sha512-3v0vkTm/kInuuG8jG7jbxXDBnMQcoDZKWvYsBQq7+POt0LmijbLdbdZPBoz9TkZ3eo/OoP194LLHOaFTQyHhlw==} + /@react-stately/menu@3.7.1(react@18.2.0): + resolution: {integrity: sha512-mX1w9HHzt+xal1WIT2xGrTQsoLvDwuB2R1Er1MBABs//MsJzccycatcgV/J/28m6tO5M9iuFQQvLV+i1dCtodg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-types/menu': 3.9.7(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-types/menu': 3.9.9(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/overlays@3.6.5(react@18.2.0): - resolution: {integrity: sha512-U4rCFj6TPJPXLUvYXAcvh+yP/CO2W+7f0IuqP7ZZGE+Osk9qFkT+zRK5/6ayhBDFpmueNfjIEAzT9gYPQwNHFw==} + /@react-stately/overlays@3.6.7(react@18.2.0): + resolution: {integrity: sha512-6zp8v/iNUm6YQap0loaFx6PlvN8C0DgWHNlrlzMtMmNuvjhjR0wYXVaTfNoUZBWj25tlDM81ukXOjpRXg9rLrw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/overlays': 3.8.5(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/radio@3.10.2(react@18.2.0): - resolution: {integrity: sha512-JW5ZWiNMKcZvMTsuPeWJQLHXD5rlqy7Qk6fwUx/ZgeibvMBW/NnW19mm2+IMinzmbtERXvR6nsiA837qI+4dew==} + /@react-stately/radio@3.10.4(react@18.2.0): + resolution: {integrity: sha512-kCIc7tAl4L7Hu4Wt9l2jaa+MzYmAJm0qmC8G8yPMbExpWbLRu6J8Un80GZu+JxvzgDlqDyrVvyv9zFifwH/NkQ==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/radio': 3.7.1(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/radio': 3.8.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/select@3.6.2(react@18.2.0): - resolution: {integrity: sha512-duOxdHKol93h6Ew6fap6Amz+zngoERKZLSKVm/8I8uaBgkoBhEeTFv7mlpHTgINxymMw3mMrvy6GL/gfKFwkqg==} + /@react-stately/select@3.6.4(react@18.2.0): + resolution: {integrity: sha512-whZgF1N53D0/dS8tOFdrswB0alsk5Q5620HC3z+5f2Hpi8gwgAZ8TYa+2IcmMYRiT+bxVuvEc/NirU9yPmqGbA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/form': 3.0.1(react@18.2.0) - '@react-stately/list': 3.10.3(react@18.2.0) - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-types/select': 3.9.2(react@18.2.0) + '@react-stately/form': 3.0.3(react@18.2.0) + '@react-stately/list': 3.10.5(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-types/select': 3.9.4(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/selection@3.14.3(react@18.2.0): - resolution: {integrity: sha512-d/t0rIWieqQ7wjLoMoWnuHEUSMoVXxkPBFuSlJF3F16289FiQ+b8aeKFDzFTYN7fFD8rkZTnpuE4Tcxg3TmA+w==} + /@react-stately/selection@3.15.1(react@18.2.0): + resolution: {integrity: sha512-6TQnN9L0UY9w19B7xzb1P6mbUVBtW840Cw1SjgNXCB3NPaCf59SwqClYzoj8O2ZFzMe8F/nUJtfU1NS65/OLlw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/slider@3.5.2(react@18.2.0): - resolution: {integrity: sha512-ntH3NLRG+AwVC7q4Dx9DcmMkMh9vmHjHNXAgaoqNjhvwfSIae7sQ69CkVe6XeJjIBy6LlH81Kgapz+ABe5a1ZA==} + /@react-stately/slider@3.5.4(react@18.2.0): + resolution: {integrity: sha512-Jsf7K17dr93lkNKL9ij8HUcoM1sPbq8TvmibD6DhrK9If2lje+OOL8y4n4qreUnfMT56HCAeS9wCO3fg3eMyrw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/slider': 3.7.1(react@18.2.0) + '@react-types/slider': 3.7.3(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/table@3.11.6(react@18.2.0): - resolution: {integrity: sha512-34YsfOILXusj3p6QNcKEaDWVORhM6WEhwPSLCZlkwAJvkxuRQFdih5rQKoIDc0uV5aZsB6bYBqiFhnjY0VERhw==} + /@react-stately/table@3.11.8(react@18.2.0): + resolution: {integrity: sha512-EdyRW3lT1/kAVDp5FkEIi1BQ7tvmD2YgniGdLuW/l9LADo0T+oxZqruv60qpUS6sQap+59Riaxl91ClDxrJnpg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/flags': 3.0.1 - '@react-stately/grid': 3.8.5(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/flags': 3.0.3 + '@react-stately/grid': 3.8.7(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/table': 3.9.3(react@18.2.0) + '@react-types/table': 3.9.5(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/tabs@3.6.4(react@18.2.0): - resolution: {integrity: sha512-WZJgMBqzLgN88RN8AxhY4aH1+I+4w1qQA0Lh3LRSDegaytd+NHixCWaP3IPjePgCB5N1UsPe96Xglw75zjHmDg==} + /@react-stately/tabs@3.6.6(react@18.2.0): + resolution: {integrity: sha512-sOLxorH2uqjAA+v1ppkMCc2YyjgqvSGeBDgtR/lyPSDd4CVMoTExszROX2dqG0c8il9RQvzFuufUtQWMY6PgSA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/list': 3.10.3(react@18.2.0) + '@react-stately/list': 3.10.5(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) - '@react-types/tabs': 3.3.5(react@18.2.0) + '@react-types/tabs': 3.3.7(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/toggle@3.7.2(react@18.2.0): - resolution: {integrity: sha512-SHCF2btcoK57c4lyhucRbyPBAFpp0Pdp0vcPdn3hUgqbu6e5gE0CwG/mgFmZRAQoc7PRc7XifL0uNw8diJJI0Q==} + /@react-stately/toggle@3.7.4(react@18.2.0): + resolution: {integrity: sha512-CoYFe9WrhLkDP4HGDpJYQKwfiYCRBAeoBQHv+JWl5eyK61S8xSwoHsveYuEZ3bowx71zyCnNAqWRrmNOxJ4CKA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/utils': 3.9.1(react@18.2.0) - '@react-types/checkbox': 3.7.1(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) + '@react-types/checkbox': 3.8.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/tooltip@3.4.7(react@18.2.0): - resolution: {integrity: sha512-ACtRgBQ8rphBtsUaaxvEAM0HHN9PvMuyvL0vUHd7jvBDCVZJ6it1BKu9SBKjekBkoBOw9nemtkplh9R2CA6V8Q==} + /@react-stately/tooltip@3.4.9(react@18.2.0): + resolution: {integrity: sha512-P7CDJsdoKarz32qFwf3VNS01lyC+63gXpDZG31pUu+EO5BeQd4WKN/AH1Beuswpr4GWzxzFc1aXQgERFGVzraA==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/overlays': 3.6.5(react@18.2.0) - '@react-types/tooltip': 3.4.7(react@18.2.0) + '@react-stately/overlays': 3.6.7(react@18.2.0) + '@react-types/tooltip': 3.4.9(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 dev: false - /@react-stately/tree@3.7.6(react@18.2.0): - resolution: {integrity: sha512-y8KvEoZX6+YvqjNCVGS3zA/BKw4D3XrUtUKIDme3gu5Mn6z97u+hUXKdXVCniZR7yvV3fHAIXwE5V2K8Oit4aw==} + /@react-stately/tree@3.8.1(react@18.2.0): + resolution: {integrity: sha512-LOdkkruJWch3W89h4B/bXhfr0t0t1aRfEp+IMrrwdRAl23NaPqwl5ILHs4Xu5XDHqqhg8co73pHrJwUyiTWEjw==} peerDependencies: react: ^18.2.0 dependencies: - '@react-stately/collections': 3.10.5(react@18.2.0) - '@react-stately/selection': 3.14.3(react@18.2.0) - '@react-stately/utils': 3.9.1(react@18.2.0) + '@react-stately/collections': 3.10.7(react@18.2.0) + '@react-stately/selection': 3.15.1(react@18.2.0) + '@react-stately/utils': 3.10.1(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) '@swc/helpers': 0.5.9 react: 18.2.0 @@ -10537,17 +10511,8 @@ packages: '@swc/helpers': 0.5.9 react: 18.2.0 - /@react-stately/utils@3.9.1(react@18.2.0): - resolution: {integrity: sha512-yzw75GE0iUWiyps02BOAPTrybcsMIxEJlzXqtvllAb01O9uX5n0i3X+u2eCpj2UoDF4zS08Ps0jPgWxg8xEYtA==} - peerDependencies: - react: ^18.2.0 - dependencies: - '@swc/helpers': 0.5.9 - react: 18.2.0 - dev: false - - /@react-stately/virtualizer@3.6.8(react@18.2.0): - resolution: {integrity: sha512-Pf06ihTwExRJltGhi72tmLIo0pcjkL55nu7ifMafAAdxZK4ONxRLSuUjjpvYf/0Rs92xRZy2t/XmHREnfirdkQ==} + /@react-stately/virtualizer@3.7.1(react@18.2.0): + resolution: {integrity: sha512-voHgE6EQ+oZaLv6u2umKxakvIKNkCQuUihqKACTjdslp7SJh4Mvs3oLBI0hf0JOh+rCcFIKDvQtFwy1fXFRYBA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10557,8 +10522,8 @@ packages: react: 18.2.0 dev: false - /@react-types/accordion@3.0.0-alpha.19(react@18.2.0): - resolution: {integrity: sha512-WJaitKz56zRKUwBqDM4OOKtmIdD0lr5nruWoM2IlGRO50WUzSFmAy/1aFiodAVZbun1v5IxbjST6/qSV4jPqug==} + /@react-types/accordion@3.0.0-alpha.21(react@18.2.0): + resolution: {integrity: sha512-cbE06jH/ZoI+1898xd7ocQ/A/Rtkz8wTJAVOYgc8VRY1SYNQ/XZTGH5T6dD6aERAmiDwL/kjD7xhsE80DyaEKA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10566,18 +10531,18 @@ packages: react: 18.2.0 dev: false - /@react-types/breadcrumbs@3.7.3(react@18.2.0): - resolution: {integrity: sha512-eFto/+6J+JR58vThNcALZRA1OlqlG3GzQ/bq3q8IrrkOZcrfbEJJCWit/+53Ia98siJKuF4OJHnotxIVIz5I3w==} + /@react-types/breadcrumbs@3.7.5(react@18.2.0): + resolution: {integrity: sha512-lV9IDYsMiu2TgdMIjEmsOE0YWwjb3jhUNK1DCZZfq6uWuiHLgyx2EncazJBUWSjHJ4ta32j7xTuXch+8Ai6u/A==} peerDependencies: react: ^18.2.0 dependencies: - '@react-types/link': 3.5.3(react@18.2.0) + '@react-types/link': 3.5.5(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/button@3.9.2(react@18.2.0): - resolution: {integrity: sha512-EnPTkGHZRtiwAoJy5q9lDjoG30bEzA/qnvKG29VVXKYAGeqY2IlFs1ypmU+z1X/CpJgPcG3I5cakM7yTVm3pSg==} + /@react-types/button@3.9.4(react@18.2.0): + resolution: {integrity: sha512-raeQBJUxBp0axNF74TXB8/H50GY8Q3eV6cEKMbZFP1+Dzr09Ngv0tJBeW0ewAxAguNH5DRoMUAUGIXtSXskVdA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10585,18 +10550,18 @@ packages: react: 18.2.0 dev: false - /@react-types/calendar@3.4.4(react@18.2.0): - resolution: {integrity: sha512-hV1Thmb/AES5OmfPvvmyjSkmsEULjiDfA7Yyy70L/YKuSNKb7Su+Bf2VnZuDW3ec+GxO4JJNlpJ0AkbphWBvcg==} + /@react-types/calendar@3.4.6(react@18.2.0): + resolution: {integrity: sha512-WSntZPwtvsIYWvBQRAPvuCn55UTJBZroTvX0vQvWykJRQnPAI20G1hMQ3dNsnAL+gLZUYxBXn66vphmjUuSYew==} peerDependencies: react: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 + '@internationalized/date': 3.5.4 '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/checkbox@3.7.1(react@18.2.0): - resolution: {integrity: sha512-kuGqjQFex0As/3gfWyk+e9njCcad/ZdnYLLiNvhlk15730xfa0MmnOdpqo9jfuFSXBjOcpxoofvEhvrRMtEdUA==} + /@react-types/checkbox@3.8.1(react@18.2.0): + resolution: {integrity: sha512-5/oVByPw4MbR/8QSdHCaalmyWC71H/QGgd4aduTJSaNi825o+v/hsN2/CH7Fq9atkLKsC8fvKD00Bj2VGaKriQ==} peerDependencies: react: ^18.2.0 dependencies: @@ -10604,8 +10569,8 @@ packages: react: 18.2.0 dev: false - /@react-types/combobox@3.10.1(react@18.2.0): - resolution: {integrity: sha512-XMno1rgVRNta49vf5nV7VJpVSVAV20tt79t618gG1qRKH5Kt2Cy8lz2fQ5vHG6UTv/6jUOvU8g5Pc93sLaTmoA==} + /@react-types/combobox@3.11.1(react@18.2.0): + resolution: {integrity: sha512-UNc3OHt5cUt5gCTHqhQIqhaWwKCpaNciD8R7eQazmHiA9fq8ROlV+7l3gdNgdhJbTf5Bu/V5ISnN7Y1xwL3zqQ==} peerDependencies: react: ^18.2.0 dependencies: @@ -10613,30 +10578,30 @@ packages: react: 18.2.0 dev: false - /@react-types/datepicker@3.7.2(react@18.2.0): - resolution: {integrity: sha512-zThqFAdhQL1dqyVDsDSSTdfCjoD6634eyg/B0ZJfQxcLUR/5pch3v/gxBhbyCVDGMNHRWUWIJvY9DVOepuoSug==} + /@react-types/datepicker@3.7.4(react@18.2.0): + resolution: {integrity: sha512-ZfvgscvNzBJpYyVWg3nstJtA/VlWLwErwSkd1ivZYam859N30w8yH+4qoYLa6FzWLCFlrsRHyvtxlEM7lUAt5A==} peerDependencies: react: ^18.2.0 dependencies: - '@internationalized/date': 3.5.2 - '@react-types/calendar': 3.4.4(react@18.2.0) - '@react-types/overlays': 3.8.5(react@18.2.0) + '@internationalized/date': 3.5.4 + '@react-types/calendar': 3.4.6(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/dialog@3.5.8(react@18.2.0): - resolution: {integrity: sha512-RX8JsMvty8ADHRqVEkppoynXLtN4IzUh8d5z88UEBbcvWKlHfd6bOBQjQcBH3AUue5wjfpPIt6brw2VzgBY/3Q==} + /@react-types/dialog@3.5.10(react@18.2.0): + resolution: {integrity: sha512-S9ga+edOLNLZw7/zVOnZdT5T40etpzUYBXEKdFPbxyPYnERvRxJAsC1/ASuBU9fQAXMRgLZzADWV+wJoGS/X9g==} peerDependencies: react: ^18.2.0 dependencies: - '@react-types/overlays': 3.8.5(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/grid@3.2.4(react@18.2.0): - resolution: {integrity: sha512-sDVoyQcH7MoGdx5nBi5ZOU/mVFBt9YTxhvr0PZ97dMdEHZtJC1w9SuezwWS34f50yb8YAXQRTICbZYcK4bAlDA==} + /@react-types/grid@3.2.6(react@18.2.0): + resolution: {integrity: sha512-XfHenL2jEBUYrhKiPdeM24mbLRXUn79wVzzMhrNYh24nBwhsPPpxF+gjFddT3Cy8dt6tRInfT6pMEu9nsXwaHw==} peerDependencies: react: ^18.2.0 dependencies: @@ -10651,6 +10616,7 @@ packages: dependencies: '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 + dev: true /@react-types/link@3.5.5(react@18.2.0): resolution: {integrity: sha512-G6P5WagHDR87npN7sEuC5IIgL1GsoY4WFWKO4734i2CXRYx24G9P0Su3AX4GA3qpspz8sK1AWkaCzBMmvnunfw==} @@ -10661,8 +10627,8 @@ packages: react: 18.2.0 dev: false - /@react-types/listbox@3.4.7(react@18.2.0): - resolution: {integrity: sha512-68y5H9CVSPFiwO6MOFxTbry9JQMK/Lb1M9i3M8TDyq1AbJxBPpgAvJ9RaqIMCucsnqCzpY/zA3D/X417zByL1w==} + /@react-types/listbox@3.4.9(react@18.2.0): + resolution: {integrity: sha512-S5G+WmNKUIOPZxZ4svWwWQupP3C6LmVfnf8QQmPDvwYXGzVc0WovkqUWyhhjJirFDswTXRCO9p0yaTHHIlkdwQ==} peerDependencies: react: ^18.2.0 dependencies: @@ -10670,18 +10636,18 @@ packages: react: 18.2.0 dev: false - /@react-types/menu@3.9.7(react@18.2.0): - resolution: {integrity: sha512-K6KhloJVoGsqwkdeez72fkNI9dfrmLI/sNrB4XuOKo2crDQ/eyZYWyJmzz8giz/tHME9w774k487rVoefoFh5w==} + /@react-types/menu@3.9.9(react@18.2.0): + resolution: {integrity: sha512-FamUaPVs1Fxr4KOMI0YcR2rYZHoN7ypGtgiEiJ11v/tEPjPPGgeKDxii0McCrdOkjheatLN1yd2jmMwYj6hTDg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-types/overlays': 3.8.5(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/overlays@3.8.5(react@18.2.0): - resolution: {integrity: sha512-4D7EEBQigD/m8hE68Ys8eloyyZFHHduqykSIgINJ0edmo0jygRbWlTwuhWFR9USgSP4dK54duN0Mvq0m4HEVEw==} + /@react-types/overlays@3.8.7(react@18.2.0): + resolution: {integrity: sha512-zCOYvI4at2DkhVpviIClJ7bRrLXYhSg3Z3v9xymuPH3mkiuuP/dm8mUCtkyY4UhVeUTHmrQh1bzaOP00A+SSQA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10689,8 +10655,8 @@ packages: react: 18.2.0 dev: false - /@react-types/progress@3.5.2(react@18.2.0): - resolution: {integrity: sha512-aQql22kusEudsHwDEzq6y/Mh29AM+ftRDKdS5E5g4MkCY5J4FMbOYco1T5So83NIvvG9+eKcxPoJUMjQQACAyA==} + /@react-types/progress@3.5.4(react@18.2.0): + resolution: {integrity: sha512-JNc246sTjasPyx5Dp7/s0rp3Bz4qlu4LrZTulZlxWyb53WgBNL7axc26CCi+I20rWL9+c7JjhrRxnLl/1cLN5g==} peerDependencies: react: ^18.2.0 dependencies: @@ -10698,8 +10664,8 @@ packages: react: 18.2.0 dev: false - /@react-types/radio@3.7.1(react@18.2.0): - resolution: {integrity: sha512-Zut3rN1odIUBLZdijeyou+UqsLeRE76d9A+npykYGu29ndqmo3w4sLn8QeQcdj1IR71ZnG0pW2Y2BazhK5XrrQ==} + /@react-types/radio@3.8.1(react@18.2.0): + resolution: {integrity: sha512-bK0gio/qj1+0Ldu/3k/s9BaOZvnnRgvFtL3u5ky479+aLG5qf1CmYed3SKz8ErZ70JkpuCSrSwSCFf0t1IHovw==} peerDependencies: react: ^18.2.0 dependencies: @@ -10707,8 +10673,8 @@ packages: react: 18.2.0 dev: false - /@react-types/select@3.9.2(react@18.2.0): - resolution: {integrity: sha512-fGFrunednY3Pq/BBwVOf87Fsuyo/SlevL0wFIE9OOl2V5NXVaTY7/7RYA8hIOHPzmvsMbndy419BEudiNGhv4A==} + /@react-types/select@3.9.4(react@18.2.0): + resolution: {integrity: sha512-xI7dnOW2st91fPPcv6hdtrTdcfetYiqZuuVPZ5TRobY7Q10/Zqqe/KqtOw1zFKUj9xqNJe4Ov3xP5GSdcO60Eg==} peerDependencies: react: ^18.2.0 dependencies: @@ -10723,8 +10689,8 @@ packages: dependencies: react: 18.2.0 - /@react-types/slider@3.7.1(react@18.2.0): - resolution: {integrity: sha512-FKO3YZYdrBs00XbBW5acP+0L1cCdevl/uRJiXbnLpGysO5PrSFIRS7Wlv4M7ztf6gT7b1Ao4FNC9crbxBr6BzA==} + /@react-types/slider@3.7.3(react@18.2.0): + resolution: {integrity: sha512-F8qFQaD2mqug2D0XeWMmjGBikiwbdERFlhFzdvNGbypPLz3AZICBKp1ZLPWdl0DMuy03G/jy6Gl4mDobl7RT2g==} peerDependencies: react: ^18.2.0 dependencies: @@ -10732,8 +10698,8 @@ packages: react: 18.2.0 dev: false - /@react-types/switch@3.5.1(react@18.2.0): - resolution: {integrity: sha512-2LFEKMGeufqyYmeN/5dtkDkCPG6x9O4eu6aaBaJmPGon7C/l3yiFEgRue6oCUYc1HixR7Qlp0sPxk0tQeWzrSg==} + /@react-types/switch@3.5.3(react@18.2.0): + resolution: {integrity: sha512-Nb6+J5MrPaFa8ZNFKGMzAsen/NNzl5UG/BbC65SLGPy7O0VDa/sUpn7dcu8V2xRpRwwIN/Oso4v63bt2sgdkgA==} peerDependencies: react: ^18.2.0 dependencies: @@ -10741,18 +10707,18 @@ packages: react: 18.2.0 dev: false - /@react-types/table@3.9.3(react@18.2.0): - resolution: {integrity: sha512-Hs/pMbxJdga2zBol4H5pV1FVIiRjCuSTXst6idJjkctanTexR4xkyrtBwl+rdLNoGwQ2pGii49vgklc5bFK7zA==} + /@react-types/table@3.9.5(react@18.2.0): + resolution: {integrity: sha512-fgM2j9F/UR4Anmd28CueghCgBwOZoCVyN8fjaIFPd2MN4gCwUUfANwxLav65gZk4BpwUXGoQdsW+X50L3555mg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-types/grid': 3.2.4(react@18.2.0) + '@react-types/grid': 3.2.6(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false - /@react-types/tabs@3.3.5(react@18.2.0): - resolution: {integrity: sha512-6NTSZBOWekCtApdZrhu5tHhE/8q52oVohQN+J5T7shAXd6ZAtu8PABVR/nH4BWucc8FL0OUajRqunqzQMU13gA==} + /@react-types/tabs@3.3.7(react@18.2.0): + resolution: {integrity: sha512-ZdLe5xOcFX6+/ni45Dl2jO0jFATpTnoSqj6kLIS/BYv8oh0n817OjJkLf+DS3CLfNjApJWrHqAk34xNh6nRnEg==} peerDependencies: react: ^18.2.0 dependencies: @@ -10760,8 +10726,8 @@ packages: react: 18.2.0 dev: false - /@react-types/textfield@3.9.1(react@18.2.0): - resolution: {integrity: sha512-JBHY9M2CkL6xFaGSfWmUJVu3tEK09FaeB1dU3IEh6P41xxbFnPakYHSSAdnwMXBtXPoSHIVsUBickW/pjgfe5g==} + /@react-types/textfield@3.9.3(react@18.2.0): + resolution: {integrity: sha512-DoAY6cYOL0pJhgNGI1Rosni7g72GAt4OVr2ltEx2S9ARmFZ0DBvdhA9lL2nywcnKMf27PEJcKMXzXc10qaHsJw==} peerDependencies: react: ^18.2.0 dependencies: @@ -10769,12 +10735,12 @@ packages: react: 18.2.0 dev: false - /@react-types/tooltip@3.4.7(react@18.2.0): - resolution: {integrity: sha512-rV4HZRQxLRNhe24yATOxnFQtGRUmsR7mqxMupXCmd1vrw8h+rdKlQv1zW2q8nALAKNmnRXZJHxYQ1SFzb98fgg==} + /@react-types/tooltip@3.4.9(react@18.2.0): + resolution: {integrity: sha512-wZ+uF1+Zc43qG+cOJzioBmLUNjRa7ApdcT0LI1VvaYvH5GdfjzUJOorLX9V/vAci0XMJ50UZ+qsh79aUlw2yqg==} peerDependencies: react: ^18.2.0 dependencies: - '@react-types/overlays': 3.8.5(react@18.2.0) + '@react-types/overlays': 3.8.7(react@18.2.0) '@react-types/shared': 3.23.1(react@18.2.0) react: 18.2.0 dev: false @@ -11758,19 +11724,6 @@ packages: /@swc/counter@0.1.3: resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} - /@swc/helpers@0.4.14: - resolution: {integrity: sha512-4C7nX/dvpzB7za4Ql9K81xK3HPxCpHMgwTZVyf+9JQ6VUbn9jjZVN7/Nkdz/Ugzs2CSjqnL/UPXroiVBVHUWUw==} - dependencies: - tslib: 2.6.2 - dev: false - - /@swc/helpers@0.4.36: - resolution: {integrity: sha512-5lxnyLEYFskErRPenYItLRSge5DjrJngYKdVjRSrWfza9G6KkgHEXi0vUZiyUeMU5JfXH1YnvXZzSp8ul88o2Q==} - dependencies: - legacy-swc-helpers: /@swc/helpers@0.4.14 - tslib: 2.6.2 - dev: false - /@swc/helpers@0.5.2: resolution: {integrity: sha512-E4KcWTpoLHqwPHLxidpOqQbcrZVgi0rsmmZXUle1jXmJfuIf/UWpczUJ7MZZ5tlxytgJXyp0w4PGkkeLiuIdZw==} dependencies: