@gv-tech/ui-web 2.28.0 → 2.29.1
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 +44 -2
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-D5QXSsCK.mjs +248 -0
- package/dist/accordion-DjyDOX-h.js +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +5 -5
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog-B-a0Wa1M.mjs +182 -0
- package/dist/alert-dialog-DYQAhGBC.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +13 -13
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +5 -5
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +4 -4
- package/dist/aspect-ratio-C-KOOyGP.js +1 -0
- package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-s7Ji1MSr.mjs} +10 -9
- 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 -1
- package/dist/attachment.cjs +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.mjs +101 -0
- package/dist/attachment.test.d.ts +2 -0
- package/dist/attachment.test.d.ts.map +1 -0
- package/dist/avatar-4K3XjhP8.js +1 -0
- package/dist/avatar-d8Di248f.mjs +138 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +7 -7
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +2 -2
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +2 -2
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +25 -27
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +13 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.test.d.ts +2 -0
- package/dist/bubble.test.d.ts.map +1 -0
- 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 +7 -8
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +2 -2
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +7 -7
- package/dist/calendar-DFj14O6r.js +1 -0
- package/dist/{calendar-Dg6VGycy.mjs → calendar-UW8h9dfh.mjs} +870 -842
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +3 -3
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +5 -5
- package/dist/carousel-CNGpg5df.js +1 -0
- package/dist/{carousel-DbDoNdqJ.mjs → carousel-DG9xGJns.mjs} +53 -55
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +6 -6
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.d.ts +4 -4
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox-BCgbTAdU.js +1 -0
- package/dist/checkbox-Dq8VHKDH.mjs +186 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +2 -2
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
- package/dist/chunk-HBS6WEDP-aK8IuEX9.mjs +63 -0
- 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 +7 -7
- package/dist/combobox-CpPIGtPJ.js +4 -0
- package/dist/combobox-b4OmCNw1.mjs +5887 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +14 -14
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/command-5hobOyGG.mjs +545 -0
- package/dist/command-Dbqnm9kI.js +1 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +10 -10
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-DyTUismw.js +1 -0
- package/dist/context-menu-DzzU-_v8.mjs +317 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +16 -16
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +11 -11
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +25 -25
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +2 -2
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/dist-1zUKVGvf.js +1 -0
- package/dist/dist-B057I8ju.mjs +30 -0
- package/dist/dist-BB78QQyQ.mjs +41 -0
- package/dist/dist-BBvidwzC.js +1 -0
- package/dist/{dist-Cacc4QIh.mjs → dist-BEbV0Hal.mjs} +9 -5
- package/dist/dist-BPL7gUpg.mjs +18 -0
- package/dist/dist-BTUvBzOm.js +1 -0
- package/dist/dist-BU-TFzJf.js +1 -0
- package/dist/dist-Bb5W_J2F.mjs +39 -0
- package/dist/dist-BbI6NHqR.mjs +23 -0
- package/dist/dist-BexAB6yo.mjs +192 -0
- package/dist/dist-BgXIqHHq.js +1 -0
- package/dist/dist-Bvfb4y_L.mjs +100 -0
- package/dist/dist-C8Pm6LRc.js +1 -0
- package/dist/dist-CPAF050o.mjs +90 -0
- package/dist/dist-CS572Be42.mjs +11 -0
- package/dist/dist-CUvxOuXM.mjs +551 -0
- package/dist/dist-C_iFkwIX.js +1 -0
- package/dist/dist-ClYM7l1t.js +1 -0
- package/dist/dist-CpKLY_uZ.mjs +96 -0
- package/dist/dist-D1qkELLT.js +1 -0
- package/dist/dist-D7-Fky36.js +1 -0
- package/dist/dist-DEpkkABT.js +1 -0
- package/dist/dist-DI1vapnL.mjs +20 -0
- package/dist/dist-DJqkhIXb2.js +1 -0
- package/dist/dist-DKXojpVG.js +1 -0
- package/dist/dist-DYUvPCPC.js +1 -0
- package/dist/dist-DZiOPWLp.js +1 -0
- package/dist/dist-DatgTWLz.mjs +202 -0
- package/dist/dist-Dm3IQk5b.mjs +685 -0
- package/dist/dist-DoivLw3t.js +1 -0
- package/dist/dist-Dq-h6VAy.mjs +118 -0
- package/dist/dist-Dt6m-kwU.mjs +221 -0
- package/dist/dist-E8ieJTBC.mjs +190 -0
- package/dist/{dist-C9PlF532.mjs → dist-GazS1kfR.mjs} +1 -1
- package/dist/dist-N97cIp0_.js +1 -0
- package/dist/dist-OqDzLHTa.mjs +460 -0
- package/dist/dist-Qm9hFvM1.js +1 -0
- package/dist/dist-UkWa-Arh.mjs +16 -0
- package/dist/dist-UnTrOmPV.js +1 -0
- package/dist/dist-YAADIsyo.js +1 -0
- package/dist/dist-Zs2sjYhL.js +1 -0
- package/dist/dist-hFLuJoMi.js +1 -0
- package/dist/dist-s7ibhASj.mjs +181 -0
- package/dist/dist-vu20fMUK.mjs +93 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +11 -11
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BqAhn64y.mjs} +109 -143
- package/dist/dropdown-menu-BtKOr--r.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +16 -16
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- 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 +2 -2
- package/dist/es2015-DbAsWDbs.js +41 -0
- package/dist/es2015-DbsmTzuc.mjs +571 -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 -7
- package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
- package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +8 -6
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hover-card-DMsxpR9G.mjs +178 -0
- package/dist/hover-card-DWXusgiI.js +1 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +4 -4
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +40 -34
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +7 -7
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +6 -11
- package/dist/input-otp-D49Y9VcH.mjs +409 -0
- package/dist/input-otp-u3obpt-Q.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +5 -5
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +11 -11
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +7 -8
- 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 -2
- package/dist/label-Dacwh21G.js +1 -0
- package/dist/label-DsSICLPc.mjs +28 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +2 -2
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -1
- package/dist/marker.cjs +1 -0
- package/dist/marker.d.ts +12 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.mjs +40 -0
- package/dist/marker.test.d.ts +2 -0
- package/dist/marker.test.d.ts.map +1 -0
- package/dist/menubar-BYNeRuzx.js +1 -0
- package/dist/{menubar-BcyqIJgy.mjs → menubar-DZqEj6S1.mjs} +138 -172
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +17 -17
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/message-scroller-CS4t7Ypn.mjs +824 -0
- package/dist/message-scroller-DqLu0YI6.js +1 -0
- package/dist/message-scroller.cjs +1 -0
- package/dist/message-scroller.d.ts +13 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message-scroller.mjs +3 -0
- package/dist/message-scroller.test.d.ts +2 -0
- package/dist/message-scroller.test.d.ts.map +1 -0
- package/dist/message.cjs +1 -0
- package/dist/message.d.ts +11 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.mjs +50 -0
- package/dist/message.test.d.ts +2 -0
- package/dist/message.test.d.ts.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +12 -12
- package/dist/navigation-menu-B36G3O83.js +1 -0
- package/dist/navigation-menu-RO6thDOF.mjs +636 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +9 -9
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +8 -8
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +42 -35
- package/dist/popover-DSBkc70V.mjs +243 -0
- package/dist/popover-DUHbvKB8.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +8 -8
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-B9z08UXf.js +6 -0
- package/dist/progress-CQ4nQ85t.mjs +92 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +2 -2
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/questionnaire-CVED7G7R.mjs +1159 -0
- package/dist/questionnaire-PWClWvST.js +1 -0
- package/dist/questionnaire.cjs +1 -0
- package/dist/questionnaire.d.ts +22 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/questionnaire.mjs +4 -0
- package/dist/questionnaire.test.d.ts +2 -0
- package/dist/questionnaire.test.d.ts.map +1 -0
- package/dist/radio-group-Bd3WbH5I.js +1 -0
- package/dist/radio-group-TRiAhMZB.mjs +266 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/resizable-Cq60hEWB.js +1 -0
- package/dist/resizable-Qc8cVUKd.mjs +2857 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area-D6MiNHnJ.mjs +564 -0
- package/dist/scroll-area-DFUdJeSZ.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +3 -3
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +18 -16
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +17 -17
- package/dist/select-BFJUmjvX.mjs +830 -0
- package/dist/select-iQFoKU1s.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +11 -11
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/separator-2kr96SyF.mjs +40 -0
- package/dist/separator-Bo49G2aj.js +1 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +2 -2
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +9 -9
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +23 -23
- package/dist/sidebar-C6O8hLkz.js +1 -0
- package/dist/{sidebar-B-sWccYh.mjs → sidebar-DM9ee9wf.mjs} +66 -66
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +24 -24
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- 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 +1 -1
- package/dist/slider-CagVxozY.js +1 -0
- package/dist/slider-CdTCoQu1.mjs +485 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +2 -2
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -1
- package/dist/sonner.cjs +1 -1
- package/dist/sonner.d.ts +2 -4
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +8 -8
- 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 +12 -7
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +22 -22
- package/dist/switch-CoeAC1Wk.js +1 -0
- package/dist/switch-zUBdj7jK.mjs +174 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +2 -2
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +9 -13
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +3 -2
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -8
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs-DaE9pEbo.mjs +160 -0
- package/dist/tabs-TMhXe20x.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +5 -5
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -1
- 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 +3 -3
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-toggle-3RStptYf.mjs +73 -0
- package/dist/theme-toggle-DKh8WFLT.js +1 -0
- 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 -1
- package/dist/toast-B0S3F09s.js +1 -0
- package/dist/toast-D0Yb-K84.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 -1
- package/dist/{toaster-DfDb2-aI.js → toaster-CX9im8R_.js} +1 -1
- package/dist/{toaster-Czhz-ktg.mjs → toaster-gT2b7mfE.mjs} +1 -1
- 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 -1
- package/dist/toggle-B0hXPsi7.js +1 -0
- package/dist/toggle-BAeKd2N0.mjs +59 -0
- package/dist/toggle-group-CEKhUozD.mjs +167 -0
- package/dist/toggle-group-htyug3G7.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +3 -3
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +2 -2
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -1
- package/dist/tooltip-BZazhXDZ.js +1 -0
- package/dist/tooltip-R_nK_Qh5.mjs +390 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +5 -5
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +18 -16
- package/src/__contracts.ts +438 -278
- package/src/accordion.tsx +4 -6
- package/src/alert-dialog.tsx +6 -7
- package/src/alert.tsx +5 -7
- package/src/aspect-ratio.tsx +1 -2
- package/src/attachment.tsx +202 -0
- package/src/avatar.tsx +1 -2
- package/src/badge.tsx +2 -3
- package/src/breadcrumb.tsx +4 -8
- package/src/bubble.tsx +115 -0
- package/src/button-group.tsx +7 -8
- package/src/button.tsx +7 -9
- package/src/calendar.tsx +14 -14
- package/src/card.tsx +6 -7
- package/src/carousel.tsx +16 -17
- package/src/chart.tsx +1 -4
- package/src/checkbox.tsx +4 -6
- package/src/collapsible.tsx +1 -2
- package/src/combobox.tsx +8 -8
- package/src/command.tsx +8 -9
- package/src/context-menu.tsx +10 -12
- package/src/dialog.tsx +6 -7
- package/src/direction.tsx +1 -2
- package/src/drawer.tsx +3 -5
- package/src/dropdown-menu.tsx +10 -12
- package/src/empty.tsx +3 -5
- package/src/field.tsx +10 -11
- package/src/form.tsx +8 -8
- package/src/hooks/use-mobile.ts +1 -1
- package/src/hover-card.tsx +3 -5
- package/src/index.ts +54 -0
- package/src/input-group.tsx +14 -22
- package/src/input-otp.tsx +5 -6
- package/src/input.tsx +2 -4
- package/src/item.tsx +11 -12
- package/src/kbd.tsx +2 -2
- package/src/label.tsx +2 -4
- package/src/marker.tsx +61 -0
- package/src/menubar.tsx +11 -13
- package/src/message-scroller.tsx +133 -0
- package/src/message.tsx +85 -0
- package/src/native-select.tsx +2 -3
- package/src/navigation-menu.tsx +8 -10
- package/src/pagination.tsx +11 -10
- package/src/popover.tsx +3 -5
- package/src/progress.tsx +2 -4
- package/src/questionnaire.tsx +333 -0
- package/src/radio-group.tsx +2 -3
- package/src/resizable.tsx +1 -4
- package/src/scroll-area.tsx +3 -5
- package/src/scroll-to-top.tsx +7 -2
- package/src/search.tsx +2 -1
- package/src/select.tsx +8 -10
- package/src/separator.tsx +4 -6
- package/src/setupTests.ts +9 -9
- package/src/sheet.tsx +6 -7
- package/src/sidebar.tsx +17 -17
- package/src/skeleton.tsx +1 -2
- package/src/slider.tsx +5 -7
- package/src/sonner.tsx +0 -5
- package/src/spinner.tsx +14 -5
- package/src/support-fab.tsx +5 -1
- package/src/switch.tsx +4 -6
- package/src/table-of-contents.tsx +15 -13
- package/src/table.tsx +2 -4
- package/src/tabs.tsx +9 -11
- package/src/text.tsx +4 -4
- package/src/textarea.tsx +2 -4
- 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 +5 -6
- package/src/toggle.tsx +5 -7
- package/src/tooltip.tsx +3 -5
- package/dist/accordion-Dd8Hrexd.mjs +0 -244
- package/dist/accordion-DdSOiVyo.js +0 -1
- package/dist/alert-dialog-B7zX3gJX.js +0 -7
- package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
- package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
- package/dist/avatar-C4onD8-4.mjs +0 -127
- package/dist/avatar-ki_M47qG.js +0 -1
- package/dist/calendar-D9sapvfY.js +0 -1
- package/dist/carousel-6oFHLN7R.js +0 -1
- package/dist/checkbox-BLgY82mB.js +0 -1
- package/dist/checkbox-Bts_zfqd.mjs +0 -173
- package/dist/combobox-6qNx9Wbb.js +0 -4
- package/dist/combobox-yDMqxM_J.mjs +0 -5522
- package/dist/command-C6wJ5giF.mjs +0 -576
- package/dist/command-DCrPL1iW.js +0 -1
- package/dist/context-menu-CydUpD4W.mjs +0 -349
- package/dist/context-menu-DQ7XuuG5.js +0 -1
- package/dist/dist-1C8JOpVg.js +0 -1
- package/dist/dist-B1OcuinL.mjs +0 -558
- package/dist/dist-BGZDG175.mjs +0 -199
- package/dist/dist-BPBwSSyk.mjs +0 -8
- package/dist/dist-BPX1UGAz2.js +0 -1
- package/dist/dist-BRsDdVlJ.js +0 -1
- package/dist/dist-BWwCr-xN.mjs +0 -118
- package/dist/dist-BYdcKuDi.mjs +0 -16
- package/dist/dist-BlB11V_z.mjs +0 -27
- package/dist/dist-Bm8Cuttq.mjs +0 -76
- package/dist/dist-Byhx2fDJ.js +0 -1
- package/dist/dist-CCXBcfM3.js +0 -1
- package/dist/dist-CCokLFyA.mjs +0 -10
- package/dist/dist-CDU9vno-.mjs +0 -18
- package/dist/dist-CEJNUZGZ.js +0 -1
- package/dist/dist-CJolxugc.js +0 -1
- package/dist/dist-CQhWBhaI.mjs +0 -91
- package/dist/dist-CRLbUj9C.js +0 -1
- package/dist/dist-CSkpam6a.js +0 -1
- package/dist/dist-CWElW7UD.js +0 -1
- package/dist/dist-CXbzwSnE.js +0 -1
- package/dist/dist-CYj6O95k.mjs +0 -220
- package/dist/dist-C_45sBzc2.js +0 -1
- package/dist/dist-Cb7OVHcJ.js +0 -1
- package/dist/dist-Ccv5O-Vw.js +0 -1
- package/dist/dist-ChuP-5Gb.js +0 -1
- package/dist/dist-CiM892Rg.js +0 -1
- package/dist/dist-CuMQq0hV.js +0 -1
- package/dist/dist-DGzGsPqo2.mjs +0 -6
- package/dist/dist-DMnXk8Uo.js +0 -1
- package/dist/dist-DPBTfUqI.mjs +0 -96
- package/dist/dist-DR0lXVFG.js +0 -1
- package/dist/dist-Da7BU5sd.js +0 -5
- package/dist/dist-Df2ez-DA.mjs +0 -12
- package/dist/dist-DuTFGM_g.mjs +0 -45
- package/dist/dist-DynSBUGq.js +0 -1
- package/dist/dist-Dz3LbuDd.mjs +0 -60
- package/dist/dist-GhACpuJb2.mjs +0 -73
- package/dist/dist-N3JLy7yk.mjs +0 -29
- package/dist/dist-o4zlRoDG.js +0 -1
- package/dist/dist-rGeQfsgN.mjs +0 -66
- package/dist/dist-tvb2Wafb.mjs +0 -153
- package/dist/dist-xgVOvcNx.mjs +0 -11
- package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
- package/dist/es2015-BhmbVcui.mjs +0 -701
- package/dist/es2015-D22cM8Q_.js +0 -41
- package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
- package/dist/hover-card-CJ-ibpbC.mjs +0 -187
- package/dist/hover-card-CK5SjVLL.js +0 -1
- package/dist/input-otp-BH_9dVhh.mjs +0 -391
- package/dist/input-otp-BibboKMt.js +0 -20
- package/dist/label-BXMSoyyu.js +0 -1
- package/dist/label-C8GNfPU0.mjs +0 -25
- package/dist/menubar-DPxokWFI.js +0 -1
- package/dist/navigation-menu-2yE2MUu-.js +0 -1
- package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
- package/dist/popover-D1AO-E8p.js +0 -1
- package/dist/popover-wQACF3ut.mjs +0 -245
- package/dist/progress-DPWSEWa5.mjs +0 -86
- package/dist/progress-ShXZwOfj.js +0 -6
- package/dist/radio-group-CQbZCQmj.mjs +0 -199
- package/dist/radio-group-DAEi5vW_.js +0 -1
- package/dist/resizable-Cv-mKMKP.js +0 -1
- package/dist/resizable-DJSE3e5L.mjs +0 -1561
- package/dist/scroll-area-8QcqkHnC.mjs +0 -530
- package/dist/scroll-area-Cqqinhxf.js +0 -1
- package/dist/select-DdUveoSA.js +0 -1
- package/dist/select-yoeH35x2.mjs +0 -778
- package/dist/separator-BU1ea5gl.mjs +0 -35
- package/dist/separator-DBjErwHf.js +0 -1
- package/dist/shim-B5sEfNEJ.js +0 -1
- package/dist/shim-DX33EwUw.mjs +0 -91
- package/dist/sidebar-DIW-1cin.js +0 -1
- package/dist/slider-CCPXejUF.mjs +0 -388
- package/dist/slider-w05gD_Ix.js +0 -1
- package/dist/switch-CDBqsWQa.mjs +0 -112
- package/dist/switch-X2WBJsUu.js +0 -1
- package/dist/tabs-DzvgrVzk.js +0 -1
- package/dist/tabs-KDeHjVQU.mjs +0 -160
- package/dist/theme-toggle-C2Y4bIM3.js +0 -1
- package/dist/theme-toggle-clE-HpSS.mjs +0 -64
- package/dist/toast-1keyrzem.js +0 -1
- package/dist/toast-DVI6jPq5.mjs +0 -428
- package/dist/toggle-BGkq5XDM.js +0 -1
- package/dist/toggle-BfIIdlA6.mjs +0 -58
- package/dist/toggle-group-CbqgoPFU.mjs +0 -167
- package/dist/toggle-group-D7hR4BT2.js +0 -1
- package/dist/tooltip-CAIbshMk.js +0 -1
- package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
package/dist/dist-CYj6O95k.mjs
DELETED
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t } from "./dist-CQhWBhaI.mjs";
|
|
2
|
-
import { t as n } from "./dist-Cacc4QIh.mjs";
|
|
3
|
-
import { n as r, t as i } from "./dist-Bm8Cuttq.mjs";
|
|
4
|
-
import { t as a } from "./dist-BPBwSSyk.mjs";
|
|
5
|
-
import { t as o } from "./dist-DuTFGM_g.mjs";
|
|
6
|
-
import { t as s } from "./dist-rGeQfsgN.mjs";
|
|
7
|
-
import { t as c } from "./dist-Df2ez-DA.mjs";
|
|
8
|
-
import { n as l } from "./dist-BWwCr-xN.mjs";
|
|
9
|
-
import { i as u, n as d, r as f, t as p } from "./es2015-BhmbVcui.mjs";
|
|
10
|
-
import { t as m } from "./dist-CDU9vno-.mjs";
|
|
11
|
-
import * as h from "react";
|
|
12
|
-
import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
|
|
13
|
-
//#region ../../node_modules/.bun/@radix-ui+react-dialog@1.1.15+2d3f272c3a65784a/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
14
|
-
var y = "Dialog", [b, ee] = r(y), [x, S] = b(y), C = (e) => {
|
|
15
|
-
let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = e, l = h.useRef(null), u = h.useRef(null), [d, f] = o({
|
|
16
|
-
prop: r,
|
|
17
|
-
defaultProp: i ?? !1,
|
|
18
|
-
onChange: a,
|
|
19
|
-
caller: y
|
|
20
|
-
});
|
|
21
|
-
return /* @__PURE__ */ _(x, {
|
|
22
|
-
scope: t,
|
|
23
|
-
triggerRef: l,
|
|
24
|
-
contentRef: u,
|
|
25
|
-
contentId: c(),
|
|
26
|
-
titleId: c(),
|
|
27
|
-
descriptionId: c(),
|
|
28
|
-
open: d,
|
|
29
|
-
onOpenChange: f,
|
|
30
|
-
onOpenToggle: h.useCallback(() => f((e) => !e), [f]),
|
|
31
|
-
modal: s,
|
|
32
|
-
children: n
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
C.displayName = y;
|
|
36
|
-
var w = "DialogTrigger", T = h.forwardRef((t, r) => {
|
|
37
|
-
let { __scopeDialog: i, ...o } = t, s = S(w, i), c = e(r, s.triggerRef);
|
|
38
|
-
return /* @__PURE__ */ _(n.button, {
|
|
39
|
-
type: "button",
|
|
40
|
-
"aria-haspopup": "dialog",
|
|
41
|
-
"aria-expanded": s.open,
|
|
42
|
-
"aria-controls": s.contentId,
|
|
43
|
-
"data-state": G(s.open),
|
|
44
|
-
...o,
|
|
45
|
-
ref: c,
|
|
46
|
-
onClick: a(t.onClick, s.onOpenToggle)
|
|
47
|
-
});
|
|
48
|
-
});
|
|
49
|
-
T.displayName = w;
|
|
50
|
-
var E = "DialogPortal", [D, O] = b(E, { forceMount: void 0 }), k = (e) => {
|
|
51
|
-
let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = S(E, t);
|
|
52
|
-
return /* @__PURE__ */ _(D, {
|
|
53
|
-
scope: t,
|
|
54
|
-
forceMount: n,
|
|
55
|
-
children: h.Children.map(r, (e) => /* @__PURE__ */ _(s, {
|
|
56
|
-
present: n || a.open,
|
|
57
|
-
children: /* @__PURE__ */ _(m, {
|
|
58
|
-
asChild: !0,
|
|
59
|
-
container: i,
|
|
60
|
-
children: e
|
|
61
|
-
})
|
|
62
|
-
}))
|
|
63
|
-
});
|
|
64
|
-
};
|
|
65
|
-
k.displayName = E;
|
|
66
|
-
var A = "DialogOverlay", j = h.forwardRef((e, t) => {
|
|
67
|
-
let n = O(A, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(A, e.__scopeDialog);
|
|
68
|
-
return a.modal ? /* @__PURE__ */ _(s, {
|
|
69
|
-
present: r || a.open,
|
|
70
|
-
children: /* @__PURE__ */ _(N, {
|
|
71
|
-
...i,
|
|
72
|
-
ref: t
|
|
73
|
-
})
|
|
74
|
-
}) : null;
|
|
75
|
-
});
|
|
76
|
-
j.displayName = A;
|
|
77
|
-
var M = t("DialogOverlay.RemoveScroll"), N = h.forwardRef((e, t) => {
|
|
78
|
-
let { __scopeDialog: r, ...i } = e, a = S(A, r);
|
|
79
|
-
return /* @__PURE__ */ _(d, {
|
|
80
|
-
as: M,
|
|
81
|
-
allowPinchZoom: !0,
|
|
82
|
-
shards: [a.contentRef],
|
|
83
|
-
children: /* @__PURE__ */ _(n.div, {
|
|
84
|
-
"data-state": G(a.open),
|
|
85
|
-
...i,
|
|
86
|
-
ref: t,
|
|
87
|
-
style: {
|
|
88
|
-
pointerEvents: "auto",
|
|
89
|
-
...i.style
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
});
|
|
93
|
-
}), P = "DialogContent", F = h.forwardRef((e, t) => {
|
|
94
|
-
let n = O(P, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = S(P, e.__scopeDialog);
|
|
95
|
-
return /* @__PURE__ */ _(s, {
|
|
96
|
-
present: r || a.open,
|
|
97
|
-
children: a.modal ? /* @__PURE__ */ _(I, {
|
|
98
|
-
...i,
|
|
99
|
-
ref: t
|
|
100
|
-
}) : /* @__PURE__ */ _(L, {
|
|
101
|
-
...i,
|
|
102
|
-
ref: t
|
|
103
|
-
})
|
|
104
|
-
});
|
|
105
|
-
});
|
|
106
|
-
F.displayName = P;
|
|
107
|
-
var I = h.forwardRef((t, n) => {
|
|
108
|
-
let r = S(P, t.__scopeDialog), i = h.useRef(null), o = e(n, r.contentRef, i);
|
|
109
|
-
return h.useEffect(() => {
|
|
110
|
-
let e = i.current;
|
|
111
|
-
if (e) return p(e);
|
|
112
|
-
}, []), /* @__PURE__ */ _(R, {
|
|
113
|
-
...t,
|
|
114
|
-
ref: o,
|
|
115
|
-
trapFocus: r.open,
|
|
116
|
-
disableOutsidePointerEvents: !0,
|
|
117
|
-
onCloseAutoFocus: a(t.onCloseAutoFocus, (e) => {
|
|
118
|
-
e.preventDefault(), r.triggerRef.current?.focus();
|
|
119
|
-
}),
|
|
120
|
-
onPointerDownOutside: a(t.onPointerDownOutside, (e) => {
|
|
121
|
-
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
122
|
-
(t.button === 2 || n) && e.preventDefault();
|
|
123
|
-
}),
|
|
124
|
-
onFocusOutside: a(t.onFocusOutside, (e) => e.preventDefault())
|
|
125
|
-
});
|
|
126
|
-
}), L = h.forwardRef((e, t) => {
|
|
127
|
-
let n = S(P, e.__scopeDialog), r = h.useRef(!1), i = h.useRef(!1);
|
|
128
|
-
return /* @__PURE__ */ _(R, {
|
|
129
|
-
...e,
|
|
130
|
-
ref: t,
|
|
131
|
-
trapFocus: !1,
|
|
132
|
-
disableOutsidePointerEvents: !1,
|
|
133
|
-
onCloseAutoFocus: (t) => {
|
|
134
|
-
e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
|
|
135
|
-
},
|
|
136
|
-
onInteractOutside: (t) => {
|
|
137
|
-
e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
138
|
-
let a = t.target;
|
|
139
|
-
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
}), R = h.forwardRef((t, n) => {
|
|
143
|
-
let { __scopeDialog: r, trapFocus: i, onOpenAutoFocus: a, onCloseAutoFocus: o, ...s } = t, c = S(P, r), d = h.useRef(null), p = e(n, d);
|
|
144
|
-
return f(), /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(u, {
|
|
145
|
-
asChild: !0,
|
|
146
|
-
loop: !0,
|
|
147
|
-
trapped: i,
|
|
148
|
-
onMountAutoFocus: a,
|
|
149
|
-
onUnmountAutoFocus: o,
|
|
150
|
-
children: /* @__PURE__ */ _(l, {
|
|
151
|
-
role: "dialog",
|
|
152
|
-
id: c.contentId,
|
|
153
|
-
"aria-describedby": c.descriptionId,
|
|
154
|
-
"aria-labelledby": c.titleId,
|
|
155
|
-
"data-state": G(c.open),
|
|
156
|
-
...s,
|
|
157
|
-
ref: p,
|
|
158
|
-
onDismiss: () => c.onOpenChange(!1)
|
|
159
|
-
})
|
|
160
|
-
}), /* @__PURE__ */ v(g, { children: [/* @__PURE__ */ _(Y, { titleId: c.titleId }), /* @__PURE__ */ _(Z, {
|
|
161
|
-
contentRef: d,
|
|
162
|
-
descriptionId: c.descriptionId
|
|
163
|
-
})] })] });
|
|
164
|
-
}), z = "DialogTitle", B = h.forwardRef((e, t) => {
|
|
165
|
-
let { __scopeDialog: r, ...i } = e, a = S(z, r);
|
|
166
|
-
return /* @__PURE__ */ _(n.h2, {
|
|
167
|
-
id: a.titleId,
|
|
168
|
-
...i,
|
|
169
|
-
ref: t
|
|
170
|
-
});
|
|
171
|
-
});
|
|
172
|
-
B.displayName = z;
|
|
173
|
-
var V = "DialogDescription", H = h.forwardRef((e, t) => {
|
|
174
|
-
let { __scopeDialog: r, ...i } = e, a = S(V, r);
|
|
175
|
-
return /* @__PURE__ */ _(n.p, {
|
|
176
|
-
id: a.descriptionId,
|
|
177
|
-
...i,
|
|
178
|
-
ref: t
|
|
179
|
-
});
|
|
180
|
-
});
|
|
181
|
-
H.displayName = V;
|
|
182
|
-
var U = "DialogClose", W = h.forwardRef((e, t) => {
|
|
183
|
-
let { __scopeDialog: r, ...i } = e, o = S(U, r);
|
|
184
|
-
return /* @__PURE__ */ _(n.button, {
|
|
185
|
-
type: "button",
|
|
186
|
-
...i,
|
|
187
|
-
ref: t,
|
|
188
|
-
onClick: a(e.onClick, () => o.onOpenChange(!1))
|
|
189
|
-
});
|
|
190
|
-
});
|
|
191
|
-
W.displayName = U;
|
|
192
|
-
function G(e) {
|
|
193
|
-
return e ? "open" : "closed";
|
|
194
|
-
}
|
|
195
|
-
var K = "DialogTitleWarning", [q, J] = i(K, {
|
|
196
|
-
contentName: P,
|
|
197
|
-
titleName: z,
|
|
198
|
-
docsSlug: "dialog"
|
|
199
|
-
}), Y = ({ titleId: e }) => {
|
|
200
|
-
let t = J(K), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
201
|
-
|
|
202
|
-
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
203
|
-
|
|
204
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;
|
|
205
|
-
return h.useEffect(() => {
|
|
206
|
-
e && (document.getElementById(e) || console.error(n));
|
|
207
|
-
}, [n, e]), null;
|
|
208
|
-
}, X = "DialogDescriptionWarning", Z = ({ contentRef: e, descriptionId: t }) => {
|
|
209
|
-
let n = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${J(X).contentName}}.`;
|
|
210
|
-
return h.useEffect(() => {
|
|
211
|
-
let r = e.current?.getAttribute("aria-describedby");
|
|
212
|
-
t && r && (document.getElementById(t) || console.warn(n));
|
|
213
|
-
}, [
|
|
214
|
-
n,
|
|
215
|
-
e,
|
|
216
|
-
t
|
|
217
|
-
]), null;
|
|
218
|
-
}, Q = C, te = T, ne = k, $ = j, re = F, ie = B, ae = H, oe = W;
|
|
219
|
-
//#endregion
|
|
220
|
-
export { ne as a, te as c, $ as i, q as l, re as n, Q as o, ae as r, ie as s, oe as t, ee as u };
|
package/dist/dist-C_45sBzc2.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function e(e,[t,n]){return Math.min(n,Math.max(t,e))}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return e}});
|
package/dist/dist-Cb7OVHcJ.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);function n(e){let n=t.useRef({value:e,previous:e});return t.useMemo(()=>(n.current.value!==e&&(n.current.previous=n.current.value,n.current.value=e),n.current.previous),[e])}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
package/dist/dist-Ccv5O-Vw.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);function r(e){let[r,i]=n.useState(void 0);return t.t(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{if(!Array.isArray(t)||!t.length)return;let n=t[0],r,a;if(`borderBoxSize`in n){let e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;i({width:r,height:a})});return t.observe(e,{box:`border-box`}),()=>t.unobserve(e)}else i(void 0)},[e]),r}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
package/dist/dist-ChuP-5Gb.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CiM892Rg.js"),n=require("./dist-CGgemr2V.js");let r=require("react");r=e.r(r,1);let i=require("react-dom");i=e.r(i,1);let a=require("react/jsx-runtime");var o=`Portal`,s=r.forwardRef((e,o)=>{let{container:s,...c}=e,[l,u]=r.useState(!1);n.t(()=>u(!0),[]);let d=s||l&&globalThis?.document?.body;return d?i.default.createPortal((0,a.jsx)(t.t.div,{...c,ref:o}),d):null});s.displayName=o,Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
package/dist/dist-CiM892Rg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js");let n=require("react");n=e.r(n,1);let r=require("react-dom");r=e.r(r,1);let i=require("react/jsx-runtime");var a=[`a`,`button`,`div`,`form`,`h2`,`h3`,`img`,`input`,`label`,`li`,`nav`,`ol`,`p`,`select`,`span`,`svg`,`ul`].reduce((e,r)=>{let a=t.n(`Primitive.${r}`),o=n.forwardRef((e,t)=>{let{asChild:n,...o}=e,s=n?a:r;return typeof window<`u`&&(window[Symbol.for(`radix-ui`)]=!0),(0,i.jsx)(s,{...o,ref:t})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{});function o(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
package/dist/dist-CuMQq0hV.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CGgemr2V.js");let r=require("react");r=e.r(r,1);function i(e,t){return r.useReducer((e,n)=>t[e][n]??e,e)}var a=e=>{let{present:n,children:i}=e,a=o(n),s=typeof i==`function`?i({present:a.isPresent}):r.Children.only(i),l=t.a(a.ref,c(s));return typeof i==`function`||a.isPresent?r.cloneElement(s,{ref:l}):null};a.displayName=`Presence`;function o(e){let[t,a]=r.useState(),o=r.useRef(null),c=r.useRef(e),l=r.useRef(`none`),[u,d]=i(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return r.useEffect(()=>{let e=s(o.current);l.current=u===`mounted`?e:`none`},[u]),n.t(()=>{let t=o.current,n=c.current;if(n!==e){let r=l.current,i=s(t);e?d(`MOUNT`):i===`none`||t?.display===`none`?d(`UNMOUNT`):d(n&&r!==i?`ANIMATION_OUT`:`UNMOUNT`),c.current=e}},[e,d]),n.t(()=>{if(t){let e,n=t.ownerDocument.defaultView??window,r=r=>{let i=s(o.current).includes(CSS.escape(r.animationName));if(r.target===t&&i&&(d(`ANIMATION_END`),!c.current)){let r=t.style.animationFillMode;t.style.animationFillMode=`forwards`,e=n.setTimeout(()=>{t.style.animationFillMode===`forwards`&&(t.style.animationFillMode=r)})}},i=e=>{e.target===t&&(l.current=s(o.current))};return t.addEventListener(`animationstart`,i),t.addEventListener(`animationcancel`,r),t.addEventListener(`animationend`,r),()=>{n.clearTimeout(e),t.removeEventListener(`animationstart`,i),t.removeEventListener(`animationcancel`,r),t.removeEventListener(`animationend`,r)}}else d(`ANIMATION_END`)},[t,d]),{isPresent:[`mounted`,`unmountSuspended`].includes(u),ref:r.useCallback(e=>{o.current=e?getComputedStyle(e):null,a(e)},[])}}function s(e){return e?.animationName||`none`}function c(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)}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return a}});
|
package/dist/dist-DGzGsPqo2.mjs
DELETED
package/dist/dist-DMnXk8Uo.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-CEJNUZGZ.js"),o=require("./dist-Ccv5O-Vw.js"),s=require("./floating-ui.react-dom-DpCJEf_x.js");let c=require("react");c=e.r(c,1);let l=require("react/jsx-runtime");var u=`Arrow`,d=c.forwardRef((e,t)=>{let{children:r,width:i=10,height:a=5,...o}=e;return(0,l.jsx)(n.t.svg,{...o,ref:t,width:i,height:a,viewBox:`0 0 30 10`,preserveAspectRatio:`none`,children:e.asChild?r:(0,l.jsx)(`polygon`,{points:`0,0 30,0 15,10`})})});d.displayName=u;var f=d,p=`Popper`,[m,h]=r.n(p),[g,_]=m(p),v=e=>{let{__scopePopper:t,children:n}=e,[r,i]=c.useState(null);return(0,l.jsx)(g,{scope:t,anchor:r,onAnchorChange:i,children:n})};v.displayName=p;var y=`PopperAnchor`,b=c.forwardRef((e,r)=>{let{__scopePopper:i,virtualRef:a,...o}=e,s=_(y,i),u=c.useRef(null),d=t.a(r,u),f=c.useRef(null);return c.useEffect(()=>{let e=f.current;f.current=a?.current||u.current,e!==f.current&&s.onAnchorChange(f.current)}),a?null:(0,l.jsx)(n.t.div,{...o,ref:d})});b.displayName=y;var x=`PopperContent`,[S,C]=m(x),w=c.forwardRef((e,r)=>{let{__scopePopper:u,side:d=`bottom`,sideOffset:f=0,align:p=`center`,alignOffset:m=0,arrowPadding:h=0,avoidCollisions:g=!0,collisionBoundary:v=[],collisionPadding:y=0,sticky:b=`partial`,hideWhenDetached:C=!1,updatePositionStrategy:w=`optimized`,onPlaced:T,...E}=e,D=_(x,u),[j,M]=c.useState(null),N=t.a(r,e=>M(e)),[P,F]=c.useState(null),I=o.t(P),L=I?.width??0,R=I?.height??0,z=d+(p===`center`?``:`-`+p),B=typeof y==`number`?y:{top:0,right:0,bottom:0,left:0,...y},V=Array.isArray(v)?v:[v],H=V.length>0,U={padding:B,boundary:V.filter(O),altBoundary:H},{refs:W,floatingStyles:G,placement:K,isPositioned:q,middlewareData:J}=s.c({strategy:`fixed`,placement:z,whileElementsMounted:(...e)=>s.l(...e,{animationFrame:w===`always`}),elements:{reference:D.anchor},middleware:[s.a({mainAxis:f+R,alignmentAxis:m}),g&&s.o({mainAxis:!0,crossAxis:!1,limiter:b===`partial`?s.i():void 0,...U}),g&&s.n({...U}),s.s({...U,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(`--radix-popper-available-width`,`${n}px`),o.setProperty(`--radix-popper-available-height`,`${r}px`),o.setProperty(`--radix-popper-anchor-width`,`${i}px`),o.setProperty(`--radix-popper-anchor-height`,`${a}px`)}}),P&&s.t({element:P,padding:h}),k({arrowWidth:L,arrowHeight:R}),C&&s.r({strategy:`referenceHidden`,...U})]}),[Y,X]=A(K),Z=a.t(T);i.t(()=>{q&&Z?.()},[q,Z]);let Q=J.arrow?.x,$=J.arrow?.y,ee=J.arrow?.centerOffset!==0,[te,ne]=c.useState();return i.t(()=>{j&&ne(window.getComputedStyle(j).zIndex)},[j]),(0,l.jsx)(`div`,{ref:W.setFloating,"data-radix-popper-content-wrapper":``,style:{...G,transform:q?G.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:te,"--radix-popper-transform-origin":[J.transformOrigin?.x,J.transformOrigin?.y].join(` `),...J.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,l.jsx)(S,{scope:u,placedSide:Y,onArrowChange:F,arrowX:Q,arrowY:$,shouldHideArrow:ee,children:(0,l.jsx)(n.t.div,{"data-side":Y,"data-align":X,...E,ref:N,style:{...E.style,animation:q?void 0:`none`}})})})});w.displayName=x;var T=`PopperArrow`,E={top:`bottom`,right:`left`,bottom:`top`,left:`right`},D=c.forwardRef(function(e,t){let{__scopePopper:n,...r}=e,i=C(T,n),a=E[i.placedSide];return(0,l.jsx)(`span`,{ref:i.onArrowChange,style:{position:`absolute`,left:i.arrowX,top:i.arrowY,[a]:0,transformOrigin:{top:``,right:`0 0`,bottom:`center 0`,left:`100% 0`}[i.placedSide],transform:{top:`translateY(100%)`,right:`translateY(50%) rotate(90deg) translateX(-50%)`,bottom:`rotate(180deg)`,left:`translateY(50%) rotate(-90deg) translateX(50%)`}[i.placedSide],visibility:i.shouldHideArrow?`hidden`:void 0},children:(0,l.jsx)(f,{...r,ref:t,style:{...r.style,display:`block`}})})});D.displayName=T;function O(e){return e!==null}var k=e=>({name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,l]=A(n),u={start:`0%`,center:`50%`,end:`100%`}[l],d=(i.arrow?.x??0)+o/2,f=(i.arrow?.y??0)+s/2,p=``,m=``;return c===`bottom`?(p=a?u:`${d}px`,m=`${-s}px`):c===`top`?(p=a?u:`${d}px`,m=`${r.floating.height+s}px`):c===`right`?(p=`${-s}px`,m=a?u:`${f}px`):c===`left`&&(p=`${r.floating.width+s}px`,m=a?u:`${f}px`),{data:{x:p,y:m}}}});function A(e){let[t,n=`center`]=e.split(`-`);return[t,n]}var j=v,M=b,N=w,P=D;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return h}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return N}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return M}});
|
package/dist/dist-DPBTfUqI.mjs
DELETED
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { a as e } from "./dist-CQhWBhaI.mjs";
|
|
2
|
-
import { t } from "./dist-Cacc4QIh.mjs";
|
|
3
|
-
import { n } from "./dist-Bm8Cuttq.mjs";
|
|
4
|
-
import { t as r } from "./dist-BPBwSSyk.mjs";
|
|
5
|
-
import { t as i } from "./dist-C9PlF532.mjs";
|
|
6
|
-
import { t as a } from "./dist-DuTFGM_g.mjs";
|
|
7
|
-
import { t as o } from "./dist-rGeQfsgN.mjs";
|
|
8
|
-
import { t as s } from "./dist-Df2ez-DA.mjs";
|
|
9
|
-
import * as c from "react";
|
|
10
|
-
import { jsx as l } from "react/jsx-runtime";
|
|
11
|
-
//#region ../../node_modules/.bun/@radix-ui+react-collapsible@1.1.12+2d3f272c3a65784a/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
12
|
-
var u = "Collapsible", [d, f] = n(u), [p, m] = d(u), h = c.forwardRef((e, n) => {
|
|
13
|
-
let { __scopeCollapsible: r, open: i, defaultOpen: o, disabled: d, onOpenChange: f, ...m } = e, [h, g] = a({
|
|
14
|
-
prop: i,
|
|
15
|
-
defaultProp: o ?? !1,
|
|
16
|
-
onChange: f,
|
|
17
|
-
caller: u
|
|
18
|
-
});
|
|
19
|
-
return /* @__PURE__ */ l(p, {
|
|
20
|
-
scope: r,
|
|
21
|
-
disabled: d,
|
|
22
|
-
contentId: s(),
|
|
23
|
-
open: h,
|
|
24
|
-
onOpenToggle: c.useCallback(() => g((e) => !e), [g]),
|
|
25
|
-
children: /* @__PURE__ */ l(t.div, {
|
|
26
|
-
"data-state": x(h),
|
|
27
|
-
"data-disabled": d ? "" : void 0,
|
|
28
|
-
...m,
|
|
29
|
-
ref: n
|
|
30
|
-
})
|
|
31
|
-
});
|
|
32
|
-
});
|
|
33
|
-
h.displayName = u;
|
|
34
|
-
var g = "CollapsibleTrigger", _ = c.forwardRef((e, n) => {
|
|
35
|
-
let { __scopeCollapsible: i, ...a } = e, o = m(g, i);
|
|
36
|
-
return /* @__PURE__ */ l(t.button, {
|
|
37
|
-
type: "button",
|
|
38
|
-
"aria-controls": o.contentId,
|
|
39
|
-
"aria-expanded": o.open || !1,
|
|
40
|
-
"data-state": x(o.open),
|
|
41
|
-
"data-disabled": o.disabled ? "" : void 0,
|
|
42
|
-
disabled: o.disabled,
|
|
43
|
-
...a,
|
|
44
|
-
ref: n,
|
|
45
|
-
onClick: r(e.onClick, o.onOpenToggle)
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
_.displayName = g;
|
|
49
|
-
var v = "CollapsibleContent", y = c.forwardRef((e, t) => {
|
|
50
|
-
let { forceMount: n, ...r } = e, i = m(v, e.__scopeCollapsible);
|
|
51
|
-
return /* @__PURE__ */ l(o, {
|
|
52
|
-
present: n || i.open,
|
|
53
|
-
children: ({ present: e }) => /* @__PURE__ */ l(b, {
|
|
54
|
-
...r,
|
|
55
|
-
ref: t,
|
|
56
|
-
present: e
|
|
57
|
-
})
|
|
58
|
-
});
|
|
59
|
-
});
|
|
60
|
-
y.displayName = v;
|
|
61
|
-
var b = c.forwardRef((n, r) => {
|
|
62
|
-
let { __scopeCollapsible: a, present: o, children: s, ...u } = n, d = m(v, a), [f, p] = c.useState(o), h = c.useRef(null), g = e(r, h), _ = c.useRef(0), y = _.current, b = c.useRef(0), S = b.current, C = d.open || f, w = c.useRef(C), T = c.useRef(void 0);
|
|
63
|
-
return c.useEffect(() => {
|
|
64
|
-
let e = requestAnimationFrame(() => w.current = !1);
|
|
65
|
-
return () => cancelAnimationFrame(e);
|
|
66
|
-
}, []), i(() => {
|
|
67
|
-
let e = h.current;
|
|
68
|
-
if (e) {
|
|
69
|
-
T.current = T.current || {
|
|
70
|
-
transitionDuration: e.style.transitionDuration,
|
|
71
|
-
animationName: e.style.animationName
|
|
72
|
-
}, e.style.transitionDuration = "0s", e.style.animationName = "none";
|
|
73
|
-
let t = e.getBoundingClientRect();
|
|
74
|
-
_.current = t.height, b.current = t.width, w.current || (e.style.transitionDuration = T.current.transitionDuration, e.style.animationName = T.current.animationName), p(o);
|
|
75
|
-
}
|
|
76
|
-
}, [d.open, o]), /* @__PURE__ */ l(t.div, {
|
|
77
|
-
"data-state": x(d.open),
|
|
78
|
-
"data-disabled": d.disabled ? "" : void 0,
|
|
79
|
-
id: d.contentId,
|
|
80
|
-
hidden: !C,
|
|
81
|
-
...u,
|
|
82
|
-
ref: g,
|
|
83
|
-
style: {
|
|
84
|
-
"--radix-collapsible-content-height": y ? `${y}px` : void 0,
|
|
85
|
-
"--radix-collapsible-content-width": S ? `${S}px` : void 0,
|
|
86
|
-
...n.style
|
|
87
|
-
},
|
|
88
|
-
children: C && s
|
|
89
|
-
});
|
|
90
|
-
});
|
|
91
|
-
function x(e) {
|
|
92
|
-
return e ? "open" : "closed";
|
|
93
|
-
}
|
|
94
|
-
var S = h, C = _, w = y;
|
|
95
|
-
//#endregion
|
|
96
|
-
export { C as a, S as i, _ as n, f as o, w as r, y as t };
|
package/dist/dist-DR0lXVFG.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react/jsx-runtime");function r(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function i(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return!n&&typeof i==`function`&&(n=!0),i});if(n)return()=>{for(let t=0;t<i.length;t++){let n=i[t];typeof n==`function`?n():r(e[t],null)}}}}function a(...e){return t.useCallback(i(...e),e)}function o(e){let r=c(e),i=t.forwardRef((e,i)=>{let{children:a,...o}=e,s=t.Children.toArray(a),c=s.find(d);if(c){let e=c.props.children,a=s.map(n=>n===c?t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null:n);return(0,n.jsx)(r,{...o,ref:i,children:t.isValidElement(e)?t.cloneElement(e,void 0,a):null})}return(0,n.jsx)(r,{...o,ref:i,children:a})});return i.displayName=`${e}.Slot`,i}var s=o(`Slot`);function c(e){let n=t.forwardRef((e,n)=>{let{children:r,...a}=e;if(t.isValidElement(r)){let e=p(r),o=f(a,r.props);return r.type!==t.Fragment&&(o.ref=n?i(n,e):e),t.cloneElement(r,o)}return t.Children.count(r)>1?t.Children.only(null):null});return n.displayName=`${e}.SlotClone`,n}var l=Symbol(`radix.slottable`);function u(e){let t=({children:e})=>(0,n.jsx)(n.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=l,t}function d(e){return t.isValidElement(e)&&typeof e.type==`function`&&`__radixId`in e.type&&e.type.__radixId===l}function f(e,t){let n={...t};for(let r in t){let i=e[r],a=t[r];/^on[A-Z]/.test(r)?i&&a?n[r]=(...e)=>{let t=a(...e);return i(...e),t}:i&&(n[r]=i):r===`style`?n[r]={...i,...a}:r===`className`&&(n[r]=[i,a].filter(Boolean).join(` `))}return{...e,...n}}function p(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)}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return a}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return i}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return o}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return u}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return s}});
|
package/dist/dist-Da7BU5sd.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CRLbUj9C.js"),a=require("./dist-DynSBUGq.js"),o=require("./dist-CuMQq0hV.js"),s=require("./dist-Byhx2fDJ.js"),c=require("./dist-CCXBcfM3.js"),l=require("./es2015-D22cM8Q_.js"),u=require("./dist-ChuP-5Gb.js");let d=require("react");d=e.r(d,1);let f=require("react/jsx-runtime");var p=`Dialog`,[m,h]=r.n(p),[g,_]=m(p),v=e=>{let{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:c=!0}=e,l=d.useRef(null),u=d.useRef(null),[m,h]=a.t({prop:r,defaultProp:i??!1,onChange:o,caller:p});return(0,f.jsx)(g,{scope:t,triggerRef:l,contentRef:u,contentId:s.t(),titleId:s.t(),descriptionId:s.t(),open:m,onOpenChange:h,onOpenToggle:d.useCallback(()=>h(e=>!e),[h]),modal:c,children:n})};v.displayName=p;var y=`DialogTrigger`,b=d.forwardRef((e,r)=>{let{__scopeDialog:a,...o}=e,s=_(y,a),c=t.a(r,s.triggerRef);return(0,f.jsx)(n.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":s.open,"aria-controls":s.contentId,"data-state":B(s.open),...o,ref:c,onClick:i.t(e.onClick,s.onOpenToggle)})});b.displayName=y;var x=`DialogPortal`,[S,C]=m(x,{forceMount:void 0}),w=e=>{let{__scopeDialog:t,forceMount:n,children:r,container:i}=e,a=_(x,t);return(0,f.jsx)(S,{scope:t,forceMount:n,children:d.Children.map(r,e=>(0,f.jsx)(o.t,{present:n||a.open,children:(0,f.jsx)(u.t,{asChild:!0,container:i,children:e})}))})};w.displayName=x;var T=`DialogOverlay`,E=d.forwardRef((e,t)=>{let n=C(T,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_(T,e.__scopeDialog);return a.modal?(0,f.jsx)(o.t,{present:r||a.open,children:(0,f.jsx)(O,{...i,ref:t})}):null});E.displayName=T;var D=t.n(`DialogOverlay.RemoveScroll`),O=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(T,r);return(0,f.jsx)(l.n,{as:D,allowPinchZoom:!0,shards:[a.contentRef],children:(0,f.jsx)(n.t.div,{"data-state":B(a.open),...i,ref:t,style:{pointerEvents:`auto`,...i.style}})})}),k=`DialogContent`,A=d.forwardRef((e,t)=>{let n=C(k,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,a=_(k,e.__scopeDialog);return(0,f.jsx)(o.t,{present:r||a.open,children:a.modal?(0,f.jsx)(j,{...i,ref:t}):(0,f.jsx)(M,{...i,ref:t})})});A.displayName=k;var j=d.forwardRef((e,n)=>{let r=_(k,e.__scopeDialog),a=d.useRef(null),o=t.a(n,r.contentRef,a);return d.useEffect(()=>{let e=a.current;if(e)return l.t(e)},[]),(0,f.jsx)(N,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:i.t(e.onCloseAutoFocus,e=>{e.preventDefault(),r.triggerRef.current?.focus()}),onPointerDownOutside:i.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;(t.button===2||n)&&e.preventDefault()}),onFocusOutside:i.t(e.onFocusOutside,e=>e.preventDefault())})}),M=d.forwardRef((e,t)=>{let n=_(k,e.__scopeDialog),r=d.useRef(!1),i=d.useRef(!1);return(0,f.jsx)(N,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})}),N=d.forwardRef((e,n)=>{let{__scopeDialog:r,trapFocus:i,onOpenAutoFocus:a,onCloseAutoFocus:o,...s}=e,u=_(k,r),p=d.useRef(null),m=t.a(n,p);return l.r(),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(l.i,{asChild:!0,loop:!0,trapped:i,onMountAutoFocus:a,onUnmountAutoFocus:o,children:(0,f.jsx)(c.n,{role:`dialog`,id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":B(u.open),...s,ref:m,onDismiss:()=>u.onOpenChange(!1)})}),(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(W,{titleId:u.titleId}),(0,f.jsx)(K,{contentRef:p,descriptionId:u.descriptionId})]})]})}),P=`DialogTitle`,F=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(P,r);return(0,f.jsx)(n.t.h2,{id:a.titleId,...i,ref:t})});F.displayName=P;var I=`DialogDescription`,L=d.forwardRef((e,t)=>{let{__scopeDialog:r,...i}=e,a=_(I,r);return(0,f.jsx)(n.t.p,{id:a.descriptionId,...i,ref:t})});L.displayName=I;var R=`DialogClose`,z=d.forwardRef((e,t)=>{let{__scopeDialog:r,...a}=e,o=_(R,r);return(0,f.jsx)(n.t.button,{type:`button`,...a,ref:t,onClick:i.t(e.onClick,()=>o.onOpenChange(!1))})});z.displayName=R;function B(e){return e?`open`:`closed`}var V=`DialogTitleWarning`,[H,U]=r.t(V,{contentName:k,titleName:P,docsSlug:`dialog`}),W=({titleId:e})=>{let t=U(V),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
|
|
2
|
-
|
|
3
|
-
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
4
|
-
|
|
5
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return d.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},G=`DialogDescriptionWarning`,K=({contentRef:e,descriptionId:t})=>{let n=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${U(G).contentName}}.`;return d.useEffect(()=>{let r=e.current?.getAttribute(`aria-describedby`);t&&r&&(document.getElementById(t)||console.warn(n))},[n,e,t]),null},q=v,J=b,Y=w,X=E,Z=A,Q=F,$=L,ee=z;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return H}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return ee}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return h}});
|
package/dist/dist-Df2ez-DA.mjs
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./dist-C9PlF532.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@radix-ui+react-id@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-id/dist/index.mjs
|
|
4
|
-
var n = t.useId || (() => void 0), r = 0;
|
|
5
|
-
function i(i) {
|
|
6
|
-
let [a, o] = t.useState(n());
|
|
7
|
-
return e(() => {
|
|
8
|
-
i || o((e) => e ?? String(r++));
|
|
9
|
-
}, [i]), i || (a ? `radix-${a}` : "");
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { i as t };
|
package/dist/dist-DuTFGM_g.mjs
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./dist-C9PlF532.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-controllable-state@1.2.2+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-controllable-state/dist/index.mjs
|
|
4
|
-
var n = t.useInsertionEffect || e;
|
|
5
|
-
function r({ prop: e, defaultProp: n, onChange: r = () => {}, caller: o }) {
|
|
6
|
-
let [s, c, l] = i({
|
|
7
|
-
defaultProp: n,
|
|
8
|
-
onChange: r
|
|
9
|
-
}), u = e !== void 0, d = u ? e : s;
|
|
10
|
-
{
|
|
11
|
-
let n = t.useRef(e !== void 0);
|
|
12
|
-
t.useEffect(() => {
|
|
13
|
-
let e = n.current;
|
|
14
|
-
e !== u && console.warn(`${o} is changing from ${e ? "controlled" : "uncontrolled"} to ${u ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`), n.current = u;
|
|
15
|
-
}, [u, o]);
|
|
16
|
-
}
|
|
17
|
-
return [d, t.useCallback((t) => {
|
|
18
|
-
if (u) {
|
|
19
|
-
let n = a(t) ? t(e) : t;
|
|
20
|
-
n !== e && l.current?.(n);
|
|
21
|
-
} else c(t);
|
|
22
|
-
}, [
|
|
23
|
-
u,
|
|
24
|
-
e,
|
|
25
|
-
c,
|
|
26
|
-
l
|
|
27
|
-
])];
|
|
28
|
-
}
|
|
29
|
-
function i({ defaultProp: e, onChange: r }) {
|
|
30
|
-
let [i, a] = t.useState(e), o = t.useRef(i), s = t.useRef(r);
|
|
31
|
-
return n(() => {
|
|
32
|
-
s.current = r;
|
|
33
|
-
}, [r]), t.useEffect(() => {
|
|
34
|
-
o.current !== i && (s.current?.(i), o.current = i);
|
|
35
|
-
}, [i, o]), [
|
|
36
|
-
i,
|
|
37
|
-
a,
|
|
38
|
-
s
|
|
39
|
-
];
|
|
40
|
-
}
|
|
41
|
-
function a(e) {
|
|
42
|
-
return typeof e == "function";
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
|
-
export { r as t };
|
package/dist/dist-DynSBUGq.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=n.useInsertionEffect||t.t;function i({prop:e,defaultProp:t,onChange:r=()=>{},caller:i}){let[s,c,l]=a({defaultProp:t,onChange:r}),u=e!==void 0,d=u?e:s;{let t=n.useRef(e!==void 0);n.useEffect(()=>{let e=t.current;e!==u&&console.warn(`${i} is changing from ${e?`controlled`:`uncontrolled`} to ${u?`controlled`:`uncontrolled`}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),t.current=u},[u,i])}return[d,n.useCallback(t=>{if(u){let n=o(t)?t(e):t;n!==e&&l.current?.(n)}else c(t)},[u,e,c,l])]}function a({defaultProp:e,onChange:t}){let[i,a]=n.useState(e),o=n.useRef(i),s=n.useRef(t);return r(()=>{s.current=t},[t]),n.useEffect(()=>{o.current!==i&&(s.current?.(i),o.current=i)},[i,o]),[i,a,s]}function o(e){return typeof e==`function`}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
package/dist/dist-Dz3LbuDd.mjs
DELETED
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t } from "./dist-CQhWBhaI.mjs";
|
|
2
|
-
import { n } from "./dist-Bm8Cuttq.mjs";
|
|
3
|
-
import r from "react";
|
|
4
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
5
|
-
//#region ../../node_modules/.bun/@radix-ui+react-collection@1.1.7+2d3f272c3a65784a/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
6
|
-
function a(a) {
|
|
7
|
-
let o = a + "CollectionProvider", [s, c] = n(o), [l, u] = s(o, {
|
|
8
|
-
collectionRef: { current: null },
|
|
9
|
-
itemMap: /* @__PURE__ */ new Map()
|
|
10
|
-
}), d = (e) => {
|
|
11
|
-
let { scope: t, children: n } = e, a = r.useRef(null), o = r.useRef(/* @__PURE__ */ new Map()).current;
|
|
12
|
-
return /* @__PURE__ */ i(l, {
|
|
13
|
-
scope: t,
|
|
14
|
-
itemMap: o,
|
|
15
|
-
collectionRef: a,
|
|
16
|
-
children: n
|
|
17
|
-
});
|
|
18
|
-
};
|
|
19
|
-
d.displayName = o;
|
|
20
|
-
let f = a + "CollectionSlot", p = t(f), m = r.forwardRef((t, n) => {
|
|
21
|
-
let { scope: r, children: a } = t;
|
|
22
|
-
return /* @__PURE__ */ i(p, {
|
|
23
|
-
ref: e(n, u(f, r).collectionRef),
|
|
24
|
-
children: a
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
m.displayName = f;
|
|
28
|
-
let h = a + "CollectionItemSlot", g = "data-radix-collection-item", _ = t(h), v = r.forwardRef((t, n) => {
|
|
29
|
-
let { scope: a, children: o, ...s } = t, c = r.useRef(null), l = e(n, c), d = u(h, a);
|
|
30
|
-
return r.useEffect(() => (d.itemMap.set(c, {
|
|
31
|
-
ref: c,
|
|
32
|
-
...s
|
|
33
|
-
}), () => void d.itemMap.delete(c))), /* @__PURE__ */ i(_, {
|
|
34
|
-
[g]: "",
|
|
35
|
-
ref: l,
|
|
36
|
-
children: o
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
v.displayName = h;
|
|
40
|
-
function y(e) {
|
|
41
|
-
let t = u(a + "CollectionConsumer", e);
|
|
42
|
-
return r.useCallback(() => {
|
|
43
|
-
let e = t.collectionRef.current;
|
|
44
|
-
if (!e) return [];
|
|
45
|
-
let n = Array.from(e.querySelectorAll(`[${g}]`));
|
|
46
|
-
return Array.from(t.itemMap.values()).sort((e, t) => n.indexOf(e.ref.current) - n.indexOf(t.ref.current));
|
|
47
|
-
}, [t.collectionRef, t.itemMap]);
|
|
48
|
-
}
|
|
49
|
-
return [
|
|
50
|
-
{
|
|
51
|
-
Provider: d,
|
|
52
|
-
Slot: m,
|
|
53
|
-
ItemSlot: v
|
|
54
|
-
},
|
|
55
|
-
y,
|
|
56
|
-
c
|
|
57
|
-
];
|
|
58
|
-
}
|
|
59
|
-
//#endregion
|
|
60
|
-
export { a as t };
|
package/dist/dist-GhACpuJb2.mjs
DELETED
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { i as e } from "./dist-CQhWBhaI.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
-
//#region ../../node_modules/.bun/@radix-ui+react-slot@1.2.4+7adf8d6cb8833b18/node_modules/@radix-ui/react-slot/dist/index.mjs
|
|
5
|
-
var r = Symbol.for("react.lazy"), i = t.use;
|
|
6
|
-
function a(e) {
|
|
7
|
-
return typeof e == "object" && !!e && "then" in e;
|
|
8
|
-
}
|
|
9
|
-
function o(e) {
|
|
10
|
-
return typeof e == "object" && !!e && "$$typeof" in e && e.$$typeof === r && "_payload" in e && a(e._payload);
|
|
11
|
-
}
|
|
12
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
13
|
-
function s(e) {
|
|
14
|
-
let r = /* @__PURE__ */ l(e), a = t.forwardRef((e, a) => {
|
|
15
|
-
let { children: s, ...c } = e;
|
|
16
|
-
o(s) && typeof i == "function" && (s = i(s._payload));
|
|
17
|
-
let l = t.Children.toArray(s), u = l.find(d);
|
|
18
|
-
if (u) {
|
|
19
|
-
let e = u.props.children, i = l.map((n) => n === u ? t.Children.count(e) > 1 ? t.Children.only(null) : t.isValidElement(e) ? e.props.children : null : n);
|
|
20
|
-
return /* @__PURE__ */ n(r, {
|
|
21
|
-
...c,
|
|
22
|
-
ref: a,
|
|
23
|
-
children: t.isValidElement(e) ? t.cloneElement(e, void 0, i) : null
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
return /* @__PURE__ */ n(r, {
|
|
27
|
-
...c,
|
|
28
|
-
ref: a,
|
|
29
|
-
children: s
|
|
30
|
-
});
|
|
31
|
-
});
|
|
32
|
-
return a.displayName = `${e}.Slot`, a;
|
|
33
|
-
}
|
|
34
|
-
var c = /* @__PURE__ */ s("Slot");
|
|
35
|
-
/* @__NO_SIDE_EFFECTS__ */
|
|
36
|
-
function l(n) {
|
|
37
|
-
let r = t.forwardRef((n, r) => {
|
|
38
|
-
let { children: a, ...s } = n;
|
|
39
|
-
if (o(a) && typeof i == "function" && (a = i(a._payload)), t.isValidElement(a)) {
|
|
40
|
-
let n = p(a), i = f(s, a.props);
|
|
41
|
-
return a.type !== t.Fragment && (i.ref = r ? e(r, n) : n), t.cloneElement(a, i);
|
|
42
|
-
}
|
|
43
|
-
return t.Children.count(a) > 1 ? t.Children.only(null) : null;
|
|
44
|
-
});
|
|
45
|
-
return r.displayName = `${n}.SlotClone`, r;
|
|
46
|
-
}
|
|
47
|
-
var u = Symbol("radix.slottable");
|
|
48
|
-
function d(e) {
|
|
49
|
-
return t.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === u;
|
|
50
|
-
}
|
|
51
|
-
function f(e, t) {
|
|
52
|
-
let n = { ...t };
|
|
53
|
-
for (let r in t) {
|
|
54
|
-
let i = e[r], a = t[r];
|
|
55
|
-
/^on[A-Z]/.test(r) ? i && a ? n[r] = (...e) => {
|
|
56
|
-
let t = a(...e);
|
|
57
|
-
return i(...e), t;
|
|
58
|
-
} : i && (n[r] = i) : r === "style" ? n[r] = {
|
|
59
|
-
...i,
|
|
60
|
-
...a
|
|
61
|
-
} : r === "className" && (n[r] = [i, a].filter(Boolean).join(" "));
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
...e,
|
|
65
|
-
...n
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
function p(e) {
|
|
69
|
-
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
70
|
-
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);
|
|
71
|
-
}
|
|
72
|
-
//#endregion
|
|
73
|
-
export { s as n, c as t };
|
package/dist/dist-N3JLy7yk.mjs
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./dist-C9PlF532.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-size@1.1.1+7adf8d6cb8833b18/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
4
|
-
function n(n) {
|
|
5
|
-
let [r, i] = t.useState(void 0);
|
|
6
|
-
return e(() => {
|
|
7
|
-
if (n) {
|
|
8
|
-
i({
|
|
9
|
-
width: n.offsetWidth,
|
|
10
|
-
height: n.offsetHeight
|
|
11
|
-
});
|
|
12
|
-
let e = new ResizeObserver((e) => {
|
|
13
|
-
if (!Array.isArray(e) || !e.length) return;
|
|
14
|
-
let t = e[0], r, a;
|
|
15
|
-
if ("borderBoxSize" in t) {
|
|
16
|
-
let e = t.borderBoxSize, n = Array.isArray(e) ? e[0] : e;
|
|
17
|
-
r = n.inlineSize, a = n.blockSize;
|
|
18
|
-
} else r = n.offsetWidth, a = n.offsetHeight;
|
|
19
|
-
i({
|
|
20
|
-
width: r,
|
|
21
|
-
height: a
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
return e.observe(n, { box: "border-box" }), () => e.unobserve(n);
|
|
25
|
-
} else i(void 0);
|
|
26
|
-
}, [n]), r;
|
|
27
|
-
}
|
|
28
|
-
//#endregion
|
|
29
|
-
export { n as t };
|
package/dist/dist-o4zlRoDG.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-DR0lXVFG.js"),n=require("./dist-CiM892Rg.js"),r=require("./dist-CSkpam6a.js"),i=require("./dist-CWElW7UD.js"),a=require("./dist-CRLbUj9C.js"),o=require("./dist-DynSBUGq.js"),s=require("./dist-Byhx2fDJ.js"),c=require("./dist-1C8JOpVg.js"),l=require("./dist-CEJNUZGZ.js");let u=require("react");u=e.r(u,1);let d=require("react/jsx-runtime");var f=`rovingFocusGroup.onEntryFocus`,p={bubbles:!1,cancelable:!0},m=`RovingFocusGroup`,[h,g,_]=i.t(m),[v,y]=r.n(m,[_]),[b,x]=v(m),S=u.forwardRef((e,t)=>(0,d.jsx)(h.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(h.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,d.jsx)(C,{...e,ref:t})})}));S.displayName=m;var C=u.forwardRef((e,r)=>{let{__scopeRovingFocusGroup:i,orientation:s,loop:h=!1,dir:_,currentTabStopId:v,defaultCurrentTabStopId:y,onCurrentTabStopIdChange:x,onEntryFocus:S,preventScrollOnEntryFocus:C=!1,...w}=e,T=u.useRef(null),E=t.a(r,T),D=c.n(_),[O,A]=o.t({prop:v,defaultProp:y??null,onChange:x,caller:m}),[j,M]=u.useState(!1),N=l.t(S),P=g(i),F=u.useRef(!1),[I,L]=u.useState(0);return u.useEffect(()=>{let e=T.current;if(e)return e.addEventListener(f,N),()=>e.removeEventListener(f,N)},[N]),(0,d.jsx)(b,{scope:i,orientation:s,dir:D,loop:h,currentTabStopId:O,onItemFocus:u.useCallback(e=>A(e),[A]),onItemShiftTab:u.useCallback(()=>M(!0),[]),onFocusableItemAdd:u.useCallback(()=>L(e=>e+1),[]),onFocusableItemRemove:u.useCallback(()=>L(e=>e-1),[]),children:(0,d.jsx)(n.t.div,{tabIndex:j||I===0?-1:0,"data-orientation":s,...w,ref:E,style:{outline:`none`,...e.style},onMouseDown:a.t(e.onMouseDown,()=>{F.current=!0}),onFocus:a.t(e.onFocus,e=>{let t=!F.current;if(e.target===e.currentTarget&&t&&!j){let t=new CustomEvent(f,p);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=P().filter(e=>e.focusable);k([e.find(e=>e.active),e.find(e=>e.id===O),...e].filter(Boolean).map(e=>e.ref.current),C)}}F.current=!1}),onBlur:a.t(e.onBlur,()=>M(!1))})})}),w=`RovingFocusGroupItem`,T=u.forwardRef((e,t)=>{let{__scopeRovingFocusGroup:r,focusable:i=!0,active:o=!1,tabStopId:c,children:l,...f}=e,p=s.t(),m=c||p,_=x(w,r),v=_.currentTabStopId===m,y=g(r),{onFocusableItemAdd:b,onFocusableItemRemove:S,currentTabStopId:C}=_;return u.useEffect(()=>{if(i)return b(),()=>S()},[i,b,S]),(0,d.jsx)(h.ItemSlot,{scope:r,id:m,focusable:i,active:o,children:(0,d.jsx)(n.t.span,{tabIndex:v?0:-1,"data-orientation":_.orientation,...f,ref:t,onMouseDown:a.t(e.onMouseDown,e=>{i?_.onItemFocus(m):e.preventDefault()}),onFocus:a.t(e.onFocus,()=>_.onItemFocus(m)),onKeyDown:a.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){_.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=O(e,_.orientation,_.dir);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||e.shiftKey)return;e.preventDefault();let n=y().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=_.loop?A(n,r+1):n.slice(r+1)}setTimeout(()=>k(n))}}),children:typeof l==`function`?l({isCurrentTabStop:v,hasTabStop:C!=null}):l})})});T.displayName=w;var E={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function D(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function O(e,t,n){let r=D(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return E[r]}function k(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function A(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var j=S,M=T;Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return j}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return y}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return M}});
|