@gv-tech/ui-web 2.29.0 → 2.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +0 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-Bd0-CZQn.js +1 -0
- package/dist/accordion-Cf6DNbLH.mjs +244 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -2
- package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-BxFH0Lwn.mjs} +73 -75
- package/dist/alert-dialog-C6vNmGBL.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -2
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +4 -5
- package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
- package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +2 -2
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -2
- package/dist/attachment.cjs +1 -1
- package/dist/attachment.d.ts +2 -2
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.mjs +5 -6
- package/dist/avatar-B5PWwGhY.mjs +136 -0
- package/dist/avatar-CFhYRM52.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -2
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +6 -7
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +3 -6
- package/dist/bubble.cjs +1 -1
- package/dist/bubble.d.ts +1 -1
- package/dist/bubble.d.ts.map +1 -1
- package/dist/bubble.mjs +6 -7
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +4 -4
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +5 -7
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +5 -6
- package/dist/calendar-D5qgt2o2.js +1 -0
- package/dist/{calendar-CkHWa9Uu.mjs → calendar-DIqXNjOR.mjs} +732 -879
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -2
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +2 -3
- package/dist/carousel-D-xEqRCX.js +1 -0
- package/dist/{carousel-ynaeMNIV.mjs → carousel-DPjWmM_A.mjs} +15 -19
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +3 -3
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -2
- package/dist/chart.cjs +2 -2
- package/dist/chart.mjs +14 -15
- package/dist/{checkbox-BLvAEmRC.mjs → checkbox-DEPm1BBc.mjs} +70 -68
- package/dist/checkbox-DI9Hn_e_.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -2
- package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
- package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +4 -4
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +8 -9
- package/dist/combobox-C4y8AbZX.mjs +5644 -0
- package/dist/combobox-boXp-mix.js +3 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -2
- package/dist/command-BnW6UIVk.js +1 -0
- package/dist/{command-DY6u8V0D.mjs → command-Cbsp7PBx.mjs} +121 -124
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -2
- package/dist/context-menu-CwsdFpx1.js +1 -0
- package/dist/{context-menu-tL6CY6a0.mjs → context-menu-FNgV55ZV.mjs} +137 -140
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +3 -4
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +2 -3
- package/dist/dist-7YyzJonC.mjs +39 -0
- package/dist/dist-AlmToDtO.mjs +17 -0
- package/dist/{dist-DyMv0xk8.mjs → dist-B76UOZbx.mjs} +1 -2
- package/dist/{dist-BQhMregZ.mjs → dist-B7Ph9-T6.mjs} +2 -3
- package/dist/dist-B7jnFMko.js +1 -0
- package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
- package/dist/dist-BQkDLAY7.js +1 -0
- package/dist/dist-Bal96K8t.js +1 -0
- package/dist/dist-Blgp9lfa.js +1 -0
- package/dist/{dist-Dg9ASyqI.mjs → dist-BnlI08Je.mjs} +4 -4
- package/dist/{dist-5r7hQmO0.mjs → dist-Bu-uFV1C.mjs} +60 -56
- package/dist/dist-C2BHd5i1.mjs +460 -0
- package/dist/{dist-8fYwoWd4.mjs → dist-C516Vwxy.mjs} +23 -18
- package/dist/dist-CBlqVBTk.js +1 -0
- package/dist/dist-CDcZ8WMF.js +1 -0
- package/dist/dist-CDksSmTD.mjs +189 -0
- package/dist/dist-CF-qVmmV.js +1 -0
- package/dist/dist-CIgGRTmJ.js +1 -0
- package/dist/dist-CJqVmdrU.js +1 -0
- package/dist/{dist-DMwCTE2i.mjs → dist-COqM3IM6.mjs} +3 -4
- package/dist/{dist-CYrqAnIr.mjs → dist-CbWpCWog.mjs} +13 -15
- package/dist/{dist-rx5WaFf5.mjs → dist-CcGLWbPa.mjs} +3 -4
- package/dist/dist-Cn4F8XlY.mjs +220 -0
- package/dist/dist-CoTs6T03.js +1 -0
- package/dist/dist-Co_xSt6d.js +1 -0
- package/dist/{dist-CBsYNwXz.mjs → dist-Cu0GG-3j.mjs} +2 -3
- package/dist/{dist-BUXpRW9O.mjs → dist-DKI-XYwI.mjs} +3 -5
- package/dist/dist-DQeXXRYL.mjs +201 -0
- package/dist/dist-DW2ltK5-.js +1 -0
- package/dist/dist-DWcKY_sJ.js +1 -0
- package/dist/dist-DdAeWIwf.js +1 -0
- package/dist/dist-DhubV_gU.mjs +4 -0
- package/dist/dist-DmY7elIQ.js +1 -0
- package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
- package/dist/dist-DuQlxGyN.js +1 -0
- package/dist/dist-KFF7QKuL.js +1 -0
- package/dist/dist-RXrZgzkO.js +1 -0
- package/dist/dist-R_G5UQRm.js +1 -0
- package/dist/dist-dwRwxUPt.mjs +22 -0
- package/dist/dist-fzmUl3YX.mjs +553 -0
- package/dist/{dist-ByW6RHeZ.mjs → dist-hBsne-A2.mjs} +24 -26
- package/dist/{dist-BIXhHahX.mjs → dist-ljiGYyay.mjs} +4 -5
- package/dist/dist-pqMcQ1Nk.js +1 -0
- package/dist/dist-zmnQp5Xf.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -3
- package/dist/dropdown-menu-ChuqZeix.js +1 -0
- package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-DU7KNoXP.mjs} +131 -133
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -2
- package/dist/empty.cjs +1 -1
- package/dist/empty.d.ts +7 -7
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +3 -4
- package/dist/es2015-BooeZGhO.mjs +554 -0
- package/dist/es2015-Dggv0vx3.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +12 -12
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +6 -8
- package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
- package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +3 -3
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +19 -20
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card-BeqCs_2R.js +1 -0
- package/dist/hover-card-w8PmCyw2.mjs +176 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +66 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +3 -3
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +5 -11
- package/dist/{input-otp-m_BTudNY.mjs → input-otp-Bn_Uy1mR.mjs} +7 -18
- package/dist/input-otp-CTRB_0Xp.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -2
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +2 -3
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +2 -2
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +7 -9
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -3
- package/dist/{label-DVA-YKpB.mjs → label-Da0kELfR.mjs} +4 -6
- package/dist/label-JMa1tFfC.js +1 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -2
- package/dist/marker.cjs +1 -1
- package/dist/marker.d.ts +1 -1
- package/dist/marker.d.ts.map +1 -1
- package/dist/marker.mjs +6 -7
- package/dist/menubar-B7sRxpE4.mjs +405 -0
- package/dist/menubar-Bd-QKMcw.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -2
- package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
- package/dist/message-scroller-BJb4Mh_I.js +1 -0
- package/dist/message-scroller.cjs +1 -1
- package/dist/message-scroller.d.ts +1 -1
- package/dist/message-scroller.d.ts.map +1 -1
- package/dist/message-scroller.mjs +1 -2
- package/dist/message.cjs +1 -1
- package/dist/message.d.ts.map +1 -1
- package/dist/message.mjs +2 -3
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +2 -3
- package/dist/navigation-menu-B-RwfscB.mjs +638 -0
- package/dist/navigation-menu-kPwxYZCR.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -2
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +5 -5
- package/dist/popover-Cq5cTNtC.js +1 -0
- package/dist/popover-T6Ra737i.mjs +241 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -2
- package/dist/{progress-ClcVCqjl.mjs → progress-e9YzxvRo.mjs} +15 -18
- package/dist/progress-iUSEI7J9.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -2
- package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
- package/dist/questionnaire-CcymIPae.js +1 -0
- package/dist/questionnaire.cjs +1 -1
- package/dist/questionnaire.d.ts +1 -1
- package/dist/questionnaire.d.ts.map +1 -1
- package/dist/questionnaire.mjs +1 -2
- package/dist/{radio-group-5VwmCXRK.mjs → radio-group-BKpiDcIb.mjs} +76 -77
- package/dist/radio-group-DPEzCmxe.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.mjs +1 -2
- package/dist/resizable-ByF0NmN9.mjs +2153 -0
- package/dist/resizable-oL3v42zT.js +1 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.mjs +1 -2
- package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
- package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
- package/dist/scroll-area-BzNeOQ6C.mjs +568 -0
- package/dist/scroll-area-s4_ZJK59.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +1 -1
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -2
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +13 -16
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +12 -13
- package/dist/select-B_nRxX2Y.mjs +831 -0
- package/dist/select-j5_dph9S.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -2
- package/dist/separator-Bn-3XUSJ.js +1 -0
- package/dist/separator-CCcMNS78.mjs +38 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -2
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +3 -4
- package/dist/{sidebar-B5q6nH2G.mjs → sidebar-C2ax_A0G.mjs} +50 -52
- package/dist/sidebar-Cnem2n5A.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +1 -1
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -2
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +2 -3
- package/dist/slider-B2PUTc7W.mjs +484 -0
- package/dist/slider-wZuXwuib.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -2
- package/dist/sonner.d.ts +1 -1
- package/dist/sonner.mjs +1 -2
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +2 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +10 -7
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +21 -22
- package/dist/switch-CD675xU7.js +1 -0
- package/dist/{switch-DagjjAQu.mjs → switch-ikzIzrme.mjs} +66 -64
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -2
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +5 -10
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +6 -6
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +2 -3
- package/dist/{tabs-OQ6rj-3B.mjs → tabs-DCm5zOYB.mjs} +73 -73
- package/dist/tabs-fcahDQDp.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -2
- package/dist/text.cjs +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.mjs +17 -15
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +2 -3
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-provider.mjs +1 -2
- package/dist/theme-toggle-BGTJsIA-.js +1 -0
- package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-BSMwXb8o.mjs} +29 -22
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/theme-toggle.mjs +1 -2
- package/dist/toast-C31v9P1K.js +1 -0
- package/dist/toast-vU5ISM03.mjs +445 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.mjs +1 -2
- package/dist/toaster-CaJyOCyC.js +1 -0
- package/dist/{toaster-CKAJ9cht.mjs → toaster-D2BV6jez.mjs} +3 -5
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.mjs +1 -2
- package/dist/toggle-CSZdCCwX.js +1 -0
- package/dist/{toggle-CuLxBIWH.mjs → toggle-Cv9YYwLI.mjs} +14 -15
- package/dist/toggle-group-RT8wyBwK.js +1 -0
- package/dist/toggle-group-qvjasXS-.mjs +166 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -2
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -2
- package/dist/tooltip-7ERoN5mV.mjs +386 -0
- package/dist/tooltip-CC9_spXT.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -2
- package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
- package/package.json +18 -18
- package/src/__contracts.ts +318 -321
- package/src/accordion.tsx +1 -2
- package/src/alert-dialog.tsx +1 -2
- package/src/alert.tsx +3 -4
- package/src/aspect-ratio.tsx +1 -2
- package/src/attachment.tsx +8 -9
- package/src/avatar.tsx +1 -2
- package/src/badge.tsx +2 -3
- package/src/breadcrumb.tsx +1 -4
- package/src/bubble.tsx +7 -8
- package/src/button-group.tsx +2 -3
- package/src/button.tsx +3 -4
- package/src/calendar.tsx +8 -9
- package/src/card.tsx +1 -2
- package/src/carousel.tsx +9 -10
- package/src/checkbox.tsx +1 -2
- package/src/collapsible.tsx +1 -2
- package/src/combobox.tsx +6 -7
- package/src/command.tsx +1 -2
- package/src/context-menu.tsx +1 -2
- package/src/dialog.tsx +1 -2
- package/src/direction.tsx +1 -2
- package/src/drawer.tsx +1 -2
- package/src/dropdown-menu.tsx +1 -2
- package/src/empty.tsx +2 -3
- package/src/field.tsx +9 -11
- package/src/form.tsx +8 -8
- package/src/hooks/use-mobile.ts +1 -1
- package/src/hover-card.tsx +1 -2
- package/src/input-group.tsx +12 -21
- package/src/input-otp.tsx +5 -6
- package/src/input.tsx +1 -2
- package/src/item.tsx +10 -12
- package/src/kbd.tsx +1 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +4 -5
- package/src/menubar.tsx +1 -2
- package/src/message-scroller.tsx +9 -10
- package/src/message.tsx +2 -3
- package/src/native-select.tsx +3 -4
- package/src/navigation-menu.tsx +2 -3
- package/src/pagination.tsx +5 -4
- package/src/popover.tsx +1 -2
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +6 -7
- package/src/scroll-area.tsx +1 -2
- package/src/scroll-to-top.tsx +7 -2
- package/src/search.tsx +2 -1
- package/src/select.tsx +1 -2
- package/src/separator.tsx +1 -2
- package/src/setupTests.ts +9 -9
- package/src/sheet.tsx +1 -2
- package/src/sidebar.tsx +15 -16
- package/src/skeleton.tsx +1 -2
- package/src/slider.tsx +1 -2
- package/src/spinner.tsx +8 -7
- package/src/support-fab.tsx +5 -1
- package/src/switch.tsx +1 -2
- package/src/table-of-contents.tsx +8 -11
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +2 -3
- package/src/text.tsx +4 -4
- package/src/textarea.tsx +1 -2
- package/src/theme-provider.tsx +1 -1
- package/src/theme-toggle.tsx +26 -23
- package/src/toast.tsx +3 -4
- package/src/toaster.tsx +2 -1
- package/src/toggle-group.tsx +1 -2
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +1 -2
- package/dist/accordion-BgbjpZAF.js +0 -1
- package/dist/accordion-Bqt-y-u7.mjs +0 -239
- package/dist/alert-dialog-DonbkCSD.js +0 -1
- package/dist/aspect-ratio-X3HWxQz0.js +0 -1
- package/dist/avatar-DTkhTxt7.mjs +0 -133
- package/dist/avatar-DhvZbCtI.js +0 -1
- package/dist/calendar-Bo8kovKR.js +0 -1
- package/dist/carousel-Cv5isLeg.js +0 -1
- package/dist/checkbox-Dt06B4YW.js +0 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
- package/dist/chunk-mLOUI7ql.js +0 -1
- package/dist/combobox-BB_YzCTY.js +0 -4
- package/dist/combobox-YxjYGUoe.mjs +0 -5748
- package/dist/command-BqO-CfH6.js +0 -1
- package/dist/context-menu-Dad9hs94.js +0 -1
- package/dist/dist-6c2NeKfz.mjs +0 -536
- package/dist/dist-9-j0_8D1.mjs +0 -34
- package/dist/dist-BMl8xXCH.mjs +0 -188
- package/dist/dist-BOKg7rhq.js +0 -1
- package/dist/dist-BPhn-EOy.mjs +0 -15
- package/dist/dist-BTN2t9yv.js +0 -1
- package/dist/dist-Bivv8B6p.mjs +0 -16
- package/dist/dist-BoNQb2nd.js +0 -1
- package/dist/dist-C83rnWRv.js +0 -1
- package/dist/dist-C8Pm6LRc.js +0 -1
- package/dist/dist-CGgemr2V.js +0 -1
- package/dist/dist-C_iFkwIX.js +0 -1
- package/dist/dist-CdBAkUWT.js +0 -1
- package/dist/dist-Cn7g8jD0.js +0 -1
- package/dist/dist-D7-Fky36.js +0 -1
- package/dist/dist-D7UHN1DJ.mjs +0 -5
- package/dist/dist-DOoZ3vGL.mjs +0 -407
- package/dist/dist-DYUvPCPC.js +0 -1
- package/dist/dist-DcRkoHAk.js +0 -1
- package/dist/dist-DfvK7DpO.mjs +0 -213
- package/dist/dist-Dj9s8AIv.js +0 -1
- package/dist/dist-NEeQKKDZ.js +0 -1
- package/dist/dist-N_70prl1.js +0 -1
- package/dist/dist-YAADIsyo.js +0 -1
- package/dist/dist-dMp9dzmY.mjs +0 -20
- package/dist/dist-mHQuNOH-.js +0 -1
- package/dist/dist-oyFh63Uq.js +0 -1
- package/dist/dist-v-Y6tnMq.js +0 -1
- package/dist/dist-v9094Auw.js +0 -1
- package/dist/dist-yA6iVq_M.js +0 -1
- package/dist/dropdown-menu-BpZcobmP.js +0 -1
- package/dist/es2015-CYxXY2oV.mjs +0 -727
- package/dist/es2015-t2RPC0Rg.js +0 -41
- package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
- package/dist/hover-card-7NjGqlP0.js +0 -1
- package/dist/hover-card-DuRUptxQ.mjs +0 -176
- package/dist/input-otp-D9MwUsPO.js +0 -20
- package/dist/label-CgKiKHKG.js +0 -1
- package/dist/menubar-CyKBLHme.mjs +0 -405
- package/dist/menubar-DlOMZeh1.js +0 -1
- package/dist/message-scroller-DqLu0YI6.js +0 -1
- package/dist/navigation-menu-BzE1J1rs.mjs +0 -608
- package/dist/navigation-menu-CrR01R8Z.js +0 -1
- package/dist/popover-CFF_HXSf.mjs +0 -222
- package/dist/popover-D9pVy08c.js +0 -1
- package/dist/progress-nfJMuKGj.js +0 -6
- package/dist/questionnaire-PWClWvST.js +0 -1
- package/dist/radio-group-DhXnB0fI.js +0 -1
- package/dist/resizable-ChIqXiu4.js +0 -1
- package/dist/resizable-CpovHnG-.mjs +0 -1573
- package/dist/scroll-area-CUqjuvqH.js +0 -1
- package/dist/scroll-area-DstdIGvS.mjs +0 -539
- package/dist/select-CnCTQeh7.js +0 -1
- package/dist/select-CnHZdna2.mjs +0 -792
- package/dist/separator-BXaVJadH.js +0 -1
- package/dist/separator-D1a8myFf.mjs +0 -38
- package/dist/sidebar-ns_2TNBM.js +0 -1
- package/dist/slider-PoIV6N-u.js +0 -1
- package/dist/slider-ZnyQjYsS.mjs +0 -460
- package/dist/switch-DLY8PkmL.js +0 -1
- package/dist/tabs-QBWdNfSK.js +0 -1
- package/dist/theme-toggle-Q3UHstP_.js +0 -1
- package/dist/toast-BOdziIGg.mjs +0 -424
- package/dist/toast-D1fjLwO1.js +0 -1
- package/dist/toaster-DS9iODKU.js +0 -1
- package/dist/toggle-DtpvPox_.js +0 -1
- package/dist/toggle-group-DfkvPKU_.mjs +0 -164
- package/dist/toggle-group-UHY0Tip1.js +0 -1
- package/dist/tooltip-BbCL1gtU.mjs +0 -384
- package/dist/tooltip-BvpyStn2.js +0 -1
- /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { t as e } from "./dist-DhubV_gU.mjs";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
// ../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.5+0ac650c021fb1b59/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
4
|
+
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
|
+
value: t,
|
|
6
|
+
configurable: !0
|
|
7
|
+
}), i = t.useInsertionEffect;
|
|
8
|
+
function a(n) {
|
|
9
|
+
let r = t.useRef(n);
|
|
10
|
+
return typeof i == "function" ? i(() => {
|
|
11
|
+
r.current = n;
|
|
12
|
+
}) : e(() => {
|
|
13
|
+
r.current = n;
|
|
14
|
+
}), t.useMemo(() => ((...e) => r.current?.(...e)), []);
|
|
15
|
+
}
|
|
16
|
+
r(a, "useCallbackRef");
|
|
17
|
+
export { a as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.bun/@radix-ui+primitive@1.2.0/node_modules/@radix-ui/primitive/dist/index.mjs
|
|
2
2
|
var e = Object.defineProperty, t = (t, n) => e(t, "name", {
|
|
3
3
|
value: n,
|
|
4
4
|
configurable: !0
|
|
@@ -37,5 +37,4 @@ function s(e) {
|
|
|
37
37
|
return e.tagName === "IFRAME";
|
|
38
38
|
}
|
|
39
39
|
t(s, "isFrame");
|
|
40
|
-
//#endregion
|
|
41
40
|
export { r as t };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { n as e } from "./dist-
|
|
1
|
+
import { n as e } from "./dist-C516Vwxy.mjs";
|
|
2
2
|
import * as t from "react";
|
|
3
3
|
import * as n from "react-dom";
|
|
4
4
|
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
-
|
|
5
|
+
// ../../node_modules/.bun/@radix-ui+react-primitive@2.2.0+2b23df507bdda662/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
6
6
|
var i = Object.defineProperty, a = (e, t) => i(e, "name", {
|
|
7
7
|
value: t,
|
|
8
8
|
configurable: !0
|
|
@@ -41,5 +41,4 @@ function s(e, t) {
|
|
|
41
41
|
e && n.flushSync(() => e.dispatchEvent(t));
|
|
42
42
|
}
|
|
43
43
|
a(s, "dispatchDiscreteCustomEvent");
|
|
44
|
-
//#endregion
|
|
45
44
|
export { s as n, o as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js");let t=require("react"),n=e.r(t,1);t=e.r(t);var r=globalThis?.document?n.useLayoutEffect:()=>{};Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// ../../node_modules/.bun/@radix-ui+number@1.1.3/node_modules/@radix-ui/number/dist/index.mjs
|
|
2
2
|
var e = Object.defineProperty, t = (t, n) => e(t, "name", {
|
|
3
3
|
value: n,
|
|
4
4
|
configurable: !0
|
|
@@ -7,5 +7,4 @@ function n(e, [t, n]) {
|
|
|
7
7
|
return Math.min(n, Math.max(t, e));
|
|
8
8
|
}
|
|
9
9
|
t(n, "clamp");
|
|
10
|
-
//#endregion
|
|
11
10
|
export { n as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-DZiOPWLp.js"),n=require("./dist-Co_xSt6d.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-RXrZgzkO.js"),o=require("./dist-CBlqVBTk.js"),s=require("./dist-pqMcQ1Nk.js"),c=require("./dist-zmnQp5Xf.js"),l=require("./dist-DdAeWIwf.js"),u=require("./dist-B7jnFMko.js");let d=require("react"),f=e.r(d,1);d=e.r(d);let p=require("react/jsx-runtime");var m=Object.defineProperty,h=(e,t)=>m(e,`name`,{value:t,configurable:!0}),g=!1;function _(){let[e,t]=f.useState(g);return f.useEffect(()=>{g||(g=!0,t(!0))},[]),e}h(_,`useIsHydrated`);var v=f.useSyncExternalStore;function y(){return()=>{}}h(y,`subscribe`);function b(){return v(y,()=>!0,()=>!1)}h(b,`useIsHydratedModern`);var x=typeof v==`function`?b:_,S=Object.defineProperty,C=(e,t)=>S(e,`name`,{value:t,configurable:!0}),w=`rovingFocusGroup.onEntryFocus`,T={bubbles:!1,cancelable:!0},E=`RovingFocusGroup`,[D,O,k]=n.t(E),[A,j]=i.t(E,[k]),M={Vertical:`vertical`,Horizontal:`horizontal`},N={LTR:`ltr`,RTL:`rtl`},[P,F]=A(E),I=f.forwardRef(C(function(e,t){return(0,p.jsx)(D.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(D.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,p.jsx)(L,{...e,ref:t})})})},`RovingFocusGroup`)),L=f.forwardRef(C(function(e,n){let{__scopeRovingFocusGroup:i,orientation:a,loop:u=!1,dir:d,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:_,preventScrollOnEntryFocus:v=!1,...y}=e,b=f.useRef(null),x=r.a(n,b),S=l.n(d),[C,D]=c.t({prop:m,defaultProp:h??null,onChange:g,caller:E}),[k,A]=f.useState(!1),j=s.t(_),M=O(i),N=f.useRef(!1),[F,I]=f.useState(0);return f.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(w,j),()=>e.removeEventListener(w,j)},[j]),(0,p.jsx)(P,{scope:i,orientation:a,dir:S,loop:u,currentTabStopId:C,onItemFocus:f.useCallback(e=>D(e),[D]),onItemShiftTab:f.useCallback(()=>A(!0),[]),onFocusableItemAdd:f.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:f.useCallback(()=>I(e=>e-1),[]),children:(0,p.jsx)(o.t.div,{tabIndex:k||F===0?-1:0,"data-orientation":a,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:t.t(e.onMouseDown,()=>{N.current=!0}),onFocus:t.t(e.onFocus,e=>{let t=!N.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(w,T);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);U([e.find(e=>e.active),e.find(e=>e.id===C),...e].filter(Boolean).map(e=>e.ref.current),v)}}N.current=!1}),onBlur:t.t(e.onBlur,()=>A(!1))})})},`RovingFocusGroupImpl`)),R=`RovingFocusGroupItem`,z=f.forwardRef(C(function(e,n){let{__scopeRovingFocusGroup:r,focusable:i=!0,active:s=!1,tabStopId:c,children:l,...d}=e,m=a.t(),h=c||m,g=F(R,r),_=g.currentTabStopId===h,v=O(r),{onFocusableItemAdd:y,onFocusableItemRemove:b,currentTabStopId:S}=g,C=x();return u.t(()=>{if(C&&i)return y(),()=>b()},[C,i,y,b]),f.useEffect(()=>{if(!C&&i)return y(),()=>b()},[C,i,y,b]),(0,p.jsx)(D.ItemSlot,{scope:r,id:h,focusable:i,active:s,children:(0,p.jsx)(o.t.span,{tabIndex:_?0:-1,"data-orientation":g.orientation,...d,ref:n,onMouseDown:t.t(e.onMouseDown,e=>{i?g.onItemFocus(h):e.preventDefault()}),onFocus:t.t(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:t.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=H(e,g.orientation,g.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=v().filter(e=>e.focusable).map(e=>e.ref.current);if(t===`last`)n.reverse();else if(t===`prev`||t===`next`){t===`prev`&&n.reverse();let r=n.indexOf(e.currentTarget);n=g.loop?W(n,r+1):n.slice(r+1)}setTimeout(()=>U(n))}}),children:typeof l==`function`?l({isCurrentTabStop:_,hasTabStop:S!=null}):l})})},`RovingFocusGroupItem`)),B={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function V(e,t){return t===N.RTL?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}C(V,`getDirectionAwareKey`);function H(e,t,n){let r=V(e.key,n);if(!(t===M.Vertical&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===M.Horizontal&&[`ArrowUp`,`ArrowDown`].includes(r)))return B[r]}C(H,`getFocusIntent`);function U(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}C(U,`focusFirst`);function W(e,t){return e.map((n,r)=>e[(t+r)%e.length])}C(W,`wrapArray`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return z}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return I}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e){let[n,i]=r.useState(void 0);return t.t(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=0,n=new ResizeObserver(n=>{if(!Array.isArray(n)||!n.length)return;let r=n[0];window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{let t,n;if(`borderBoxSize`in r){let e=r.borderBoxSize,i=Array.isArray(e)?e[0]:e;t=i.inlineSize,n=i.blockSize}else t=e.offsetWidth,n=e.offsetHeight;i({width:t,height:n})})});return n.observe(e,{box:`border-box`}),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}i(void 0)},[e]),n}a(o,`useSize`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-B7jnFMko.js");let n=require("react"),r=e.r(n,1);n=e.r(n);var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0});function o(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}a(o,`useStateMachine`);var s=a(e=>{let{present:t,children:n}=e,i=c(t),a=typeof n==`function`?n({present:i.isPresent}):r.Children.only(n),o=u(i.ref,f(a));return typeof n==`function`||i.isPresent?r.cloneElement(a,{ref:o}):null},`Presence`);function c(e){let[n,i]=r.useState(),s=r.useRef(null),c=r.useRef(e),l=r.useRef(`none`),u=r.useRef(void 0),[f,p]=o(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return r.useEffect(()=>{f===`mounted`?(l.current=u.current??d(s.current),u.current=void 0):l.current=`none`},[f]),t.t(()=>{let t=s.current,n=c.current;if(n!==e){let r=l.current,i=d(t);e?(u.current=i,p(`MOUNT`)):i===`none`||t?.display===`none`?p(`UNMOUNT`):p(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,p]),t.t(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=a(r=>{let i=d(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&i&&(p(`ANIMATION_END`),!c.current)){let r=n.style.animationFillMode;n.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{n.style.animationFillMode===`forwards`&&(n.style.animationFillMode=r)})}},`handleAnimationEnd`),i=a(e=>{e.target===n&&(l.current=d(s.current))},`handleAnimationStart`);return n.addEventListener(`animationstart`,i),n.addEventListener(`animationcancel`,r),n.addEventListener(`animationend`,r),()=>{t.clearTimeout(e),n.removeEventListener(`animationstart`,i),n.removeEventListener(`animationcancel`,r),n.removeEventListener(`animationend`,r)}}p(`ANIMATION_END`)},[n,p]),{isPresent:[`mounted`,`unmountSuspended`].includes(f),ref:r.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,u.current=d(t)}else s.current=null;i(e)},[])}}a(c,`usePresence`);function l(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}a(l,`setRef`);function u(...e){let t=r.useRef(e);return t.current=e,r.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=l(t,e);return!r&&typeof n==`function`&&(r=!0),n});if(r)return()=>{for(let e=0;e<i.length;e++){let t=i[e];typeof t==`function`?t():l(n[e],null)}}},[])}a(u,`useStableComposedRefs`);function d(e){return e?.animationName||`none`}a(d,`getAnimationName`);function f(e){let t=Object.getOwnPropertyDescriptor(e.props,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,`ref`)?.get,n=t&&`isReactWarning`in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}a(f,`getElementRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-DhubV_gU.mjs";
|
|
2
2
|
import * as t from "react";
|
|
3
|
-
|
|
3
|
+
// ../../node_modules/.bun/@radix-ui+react-presence@1.1.11+2b23df507bdda662/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
4
4
|
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
5
|
value: t,
|
|
6
6
|
configurable: !0
|
|
@@ -49,7 +49,8 @@ function o(n) {
|
|
|
49
49
|
return a.addEventListener("animationstart", i), a.addEventListener("animationcancel", n), a.addEventListener("animationend", n), () => {
|
|
50
50
|
t.clearTimeout(e), a.removeEventListener("animationstart", i), a.removeEventListener("animationcancel", n), a.removeEventListener("animationend", n);
|
|
51
51
|
};
|
|
52
|
-
}
|
|
52
|
+
}
|
|
53
|
+
p("ANIMATION_END");
|
|
53
54
|
}, [a, p]), {
|
|
54
55
|
isPresent: ["mounted", "unmountSuspended"].includes(f),
|
|
55
56
|
ref: t.useCallback((e) => {
|
|
@@ -92,5 +93,4 @@ function u(e) {
|
|
|
92
93
|
return n ? e.ref : (t = Object.getOwnPropertyDescriptor(e, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
|
|
93
94
|
}
|
|
94
95
|
r(u, "getElementRef");
|
|
95
|
-
//#endregion
|
|
96
96
|
export { a as t };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import {
|
|
4
|
-
import { t as r } from "./dist-
|
|
5
|
-
import { t as i } from "./dist-
|
|
6
|
-
import { t as a } from "./dist-
|
|
7
|
-
import { t as o } from "./dist-
|
|
8
|
-
import { t as s } from "./dist-
|
|
9
|
-
import { n as c } from "./dist-
|
|
10
|
-
import { t as l } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-B76UOZbx.mjs";
|
|
2
|
+
import { t } from "./dist-C2BHd5i1.mjs";
|
|
3
|
+
import { a as n } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as r } from "./dist-COqM3IM6.mjs";
|
|
5
|
+
import { t as i } from "./dist-Cu0GG-3j.mjs";
|
|
6
|
+
import { t as a } from "./dist-B7Ph9-T6.mjs";
|
|
7
|
+
import { t as o } from "./dist-AlmToDtO.mjs";
|
|
8
|
+
import { t as s } from "./dist-DKI-XYwI.mjs";
|
|
9
|
+
import { n as c } from "./dist-dwRwxUPt.mjs";
|
|
10
|
+
import { t as l } from "./dist-DhubV_gU.mjs";
|
|
11
11
|
import * as u from "react";
|
|
12
12
|
import { jsx as d } from "react/jsx-runtime";
|
|
13
|
-
|
|
13
|
+
// ../../node_modules/.bun/@radix-ui+react-use-is-hydrated@0.1.3+0ac650c021fb1b59/node_modules/@radix-ui/react-use-is-hydrated/dist/index.mjs
|
|
14
14
|
var f = Object.defineProperty, p = (e, t) => f(e, "name", {
|
|
15
15
|
value: t,
|
|
16
16
|
configurable: !0
|
|
@@ -37,56 +37,62 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
37
37
|
}), S = "rovingFocusGroup.onEntryFocus", C = {
|
|
38
38
|
bubbles: !1,
|
|
39
39
|
cancelable: !0
|
|
40
|
-
}, w = "RovingFocusGroup", [T, E, D] =
|
|
40
|
+
}, w = "RovingFocusGroup", [T, E, D] = t(w), [O, k] = r(w, [D]), A = {
|
|
41
|
+
Vertical: "vertical",
|
|
42
|
+
Horizontal: "horizontal"
|
|
43
|
+
}, j = {
|
|
44
|
+
LTR: "ltr",
|
|
45
|
+
RTL: "rtl"
|
|
46
|
+
}, [M, N] = O(w), P = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
41
47
|
return /* @__PURE__ */ d(T.Provider, {
|
|
42
48
|
scope: e.__scopeRovingFocusGroup,
|
|
43
49
|
children: /* @__PURE__ */ d(T.Slot, {
|
|
44
50
|
scope: e.__scopeRovingFocusGroup,
|
|
45
|
-
children: /* @__PURE__ */ d(
|
|
51
|
+
children: /* @__PURE__ */ d(F, {
|
|
46
52
|
...e,
|
|
47
53
|
ref: t
|
|
48
54
|
})
|
|
49
55
|
})
|
|
50
56
|
});
|
|
51
|
-
}, "RovingFocusGroup")),
|
|
52
|
-
let { __scopeRovingFocusGroup:
|
|
57
|
+
}, "RovingFocusGroup")), F = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, r) {
|
|
58
|
+
let { __scopeRovingFocusGroup: i, orientation: l, loop: f = !1, dir: p, currentTabStopId: m, defaultCurrentTabStopId: h, onCurrentTabStopIdChange: g, onEntryFocus: _, preventScrollOnEntryFocus: v = !1, ...y } = t, b = u.useRef(null), x = n(r, b), T = c(p), [D, O] = s({
|
|
53
59
|
prop: m,
|
|
54
60
|
defaultProp: h ?? null,
|
|
55
61
|
onChange: g,
|
|
56
62
|
caller: w
|
|
57
|
-
}), [k,
|
|
63
|
+
}), [k, A] = u.useState(!1), j = o(_), N = E(i), P = u.useRef(!1), [F, I] = u.useState(0);
|
|
58
64
|
return u.useEffect(() => {
|
|
59
65
|
let e = b.current;
|
|
60
|
-
if (e) return e.addEventListener(S,
|
|
61
|
-
}, [
|
|
62
|
-
scope:
|
|
63
|
-
orientation:
|
|
66
|
+
if (e) return e.addEventListener(S, j), () => e.removeEventListener(S, j);
|
|
67
|
+
}, [j]), /* @__PURE__ */ d(M, {
|
|
68
|
+
scope: i,
|
|
69
|
+
orientation: l,
|
|
64
70
|
dir: T,
|
|
65
71
|
loop: f,
|
|
66
72
|
currentTabStopId: D,
|
|
67
73
|
onItemFocus: u.useCallback((e) => O(e), [O]),
|
|
68
|
-
onItemShiftTab: u.useCallback(() =>
|
|
74
|
+
onItemShiftTab: u.useCallback(() => A(!0), []),
|
|
69
75
|
onFocusableItemAdd: u.useCallback(() => I((e) => e + 1), []),
|
|
70
76
|
onFocusableItemRemove: u.useCallback(() => I((e) => e - 1), []),
|
|
71
|
-
children: /* @__PURE__ */ d(
|
|
77
|
+
children: /* @__PURE__ */ d(a.div, {
|
|
72
78
|
tabIndex: k || F === 0 ? -1 : 0,
|
|
73
|
-
"data-orientation":
|
|
79
|
+
"data-orientation": l,
|
|
74
80
|
...y,
|
|
75
81
|
ref: x,
|
|
76
82
|
style: {
|
|
77
83
|
outline: "none",
|
|
78
|
-
...
|
|
84
|
+
...t.style
|
|
79
85
|
},
|
|
80
|
-
onMouseDown:
|
|
86
|
+
onMouseDown: e(t.onMouseDown, () => {
|
|
81
87
|
P.current = !0;
|
|
82
88
|
}),
|
|
83
|
-
onFocus:
|
|
89
|
+
onFocus: e(t.onFocus, (e) => {
|
|
84
90
|
let t = !P.current;
|
|
85
91
|
if (e.target === e.currentTarget && t && !k) {
|
|
86
92
|
let t = new CustomEvent(S, C);
|
|
87
93
|
if (e.currentTarget.dispatchEvent(t), !t.defaultPrevented) {
|
|
88
94
|
let e = N().filter((e) => e.focusable);
|
|
89
|
-
|
|
95
|
+
V([
|
|
90
96
|
e.find((e) => e.active),
|
|
91
97
|
e.find((e) => e.id === D),
|
|
92
98
|
...e
|
|
@@ -95,20 +101,20 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
95
101
|
}
|
|
96
102
|
P.current = !1;
|
|
97
103
|
}),
|
|
98
|
-
onBlur:
|
|
104
|
+
onBlur: e(t.onBlur, () => A(!1))
|
|
99
105
|
})
|
|
100
106
|
});
|
|
101
|
-
}, "RovingFocusGroupImpl")),
|
|
102
|
-
let { __scopeRovingFocusGroup: r, focusable: o = !0, active:
|
|
103
|
-
return
|
|
104
|
-
if (
|
|
107
|
+
}, "RovingFocusGroupImpl")), I = "RovingFocusGroupItem", L = /* @__PURE__ */ u.forwardRef(/* @__PURE__ */ x(function(t, n) {
|
|
108
|
+
let { __scopeRovingFocusGroup: r, focusable: o = !0, active: s = !1, tabStopId: c, children: f, ...p } = t, m = i(), h = c || m, g = N(I, r), _ = g.currentTabStopId === h, v = E(r), { onFocusableItemAdd: b, onFocusableItemRemove: x, currentTabStopId: S } = g, C = y();
|
|
109
|
+
return l(() => {
|
|
110
|
+
if (C && o) return b(), () => x();
|
|
105
111
|
}, [
|
|
106
112
|
C,
|
|
107
113
|
o,
|
|
108
114
|
b,
|
|
109
115
|
x
|
|
110
116
|
]), u.useEffect(() => {
|
|
111
|
-
if (!
|
|
117
|
+
if (!C && o) return b(), () => x();
|
|
112
118
|
}, [
|
|
113
119
|
C,
|
|
114
120
|
o,
|
|
@@ -118,23 +124,23 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
118
124
|
scope: r,
|
|
119
125
|
id: h,
|
|
120
126
|
focusable: o,
|
|
121
|
-
active:
|
|
122
|
-
children: /* @__PURE__ */ d(
|
|
127
|
+
active: s,
|
|
128
|
+
children: /* @__PURE__ */ d(a.span, {
|
|
123
129
|
tabIndex: _ ? 0 : -1,
|
|
124
130
|
"data-orientation": g.orientation,
|
|
125
131
|
...p,
|
|
126
132
|
ref: n,
|
|
127
|
-
onMouseDown:
|
|
133
|
+
onMouseDown: e(t.onMouseDown, (e) => {
|
|
128
134
|
o ? g.onItemFocus(h) : e.preventDefault();
|
|
129
135
|
}),
|
|
130
|
-
onFocus:
|
|
131
|
-
onKeyDown:
|
|
136
|
+
onFocus: e(t.onFocus, () => g.onItemFocus(h)),
|
|
137
|
+
onKeyDown: e(t.onKeyDown, (e) => {
|
|
132
138
|
if (e.key === "Tab" && e.shiftKey) {
|
|
133
139
|
g.onItemShiftTab();
|
|
134
140
|
return;
|
|
135
141
|
}
|
|
136
142
|
if (e.target !== e.currentTarget) return;
|
|
137
|
-
let t =
|
|
143
|
+
let t = B(e, g.orientation, g.dir);
|
|
138
144
|
if (t !== void 0) {
|
|
139
145
|
if (e.metaKey || e.ctrlKey || e.altKey || e.shiftKey) return;
|
|
140
146
|
e.preventDefault();
|
|
@@ -143,9 +149,9 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
143
149
|
else if (t === "prev" || t === "next") {
|
|
144
150
|
t === "prev" && n.reverse();
|
|
145
151
|
let r = n.indexOf(e.currentTarget);
|
|
146
|
-
n = g.loop ?
|
|
152
|
+
n = g.loop ? H(n, r + 1) : n.slice(r + 1);
|
|
147
153
|
}
|
|
148
|
-
setTimeout(() =>
|
|
154
|
+
setTimeout(() => V(n));
|
|
149
155
|
}
|
|
150
156
|
}),
|
|
151
157
|
children: typeof f == "function" ? f({
|
|
@@ -154,7 +160,7 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
154
160
|
}) : f
|
|
155
161
|
})
|
|
156
162
|
});
|
|
157
|
-
}, "RovingFocusGroupItem")),
|
|
163
|
+
}, "RovingFocusGroupItem")), R = {
|
|
158
164
|
ArrowLeft: "prev",
|
|
159
165
|
ArrowUp: "prev",
|
|
160
166
|
ArrowRight: "next",
|
|
@@ -164,24 +170,22 @@ var y = typeof g == "function" ? v : h, b = Object.defineProperty, x = (e, t) =>
|
|
|
164
170
|
PageDown: "last",
|
|
165
171
|
End: "last"
|
|
166
172
|
};
|
|
167
|
-
function
|
|
168
|
-
return t ===
|
|
173
|
+
function z(e, t) {
|
|
174
|
+
return t === j.RTL ? e === "ArrowLeft" ? "ArrowRight" : e === "ArrowRight" ? "ArrowLeft" : e : e;
|
|
169
175
|
}
|
|
170
|
-
x(
|
|
171
|
-
function
|
|
172
|
-
let r =
|
|
173
|
-
if (!(t ===
|
|
176
|
+
x(z, "getDirectionAwareKey");
|
|
177
|
+
function B(e, t, n) {
|
|
178
|
+
let r = z(e.key, n);
|
|
179
|
+
if (!(t === A.Vertical && ["ArrowLeft", "ArrowRight"].includes(r)) && !(t === A.Horizontal && ["ArrowUp", "ArrowDown"].includes(r))) return R[r];
|
|
174
180
|
}
|
|
175
|
-
x(
|
|
176
|
-
function
|
|
181
|
+
x(B, "getFocusIntent");
|
|
182
|
+
function V(e, t = !1) {
|
|
177
183
|
let n = document.activeElement;
|
|
178
184
|
for (let r of e) if (r === n || (r.focus({ preventScroll: t }), document.activeElement !== n)) return;
|
|
179
185
|
}
|
|
180
|
-
x(
|
|
181
|
-
function
|
|
186
|
+
x(V, "focusFirst");
|
|
187
|
+
function H(e, t) {
|
|
182
188
|
return e.map((n, r) => e[(t + r) % e.length]);
|
|
183
189
|
}
|
|
184
|
-
x(
|
|
185
|
-
|
|
186
|
-
//#endregion
|
|
187
|
-
export { V as n, k as r, H as t };
|
|
190
|
+
x(H, "wrapArray");
|
|
191
|
+
export { L as n, k as r, P as t };
|