@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
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { t as e } from "./dist-GazS1kfR.mjs";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
//#region ../../node_modules/.bun/@radix-ui+react-presence@1.1.11+b146eb580f4286be/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
4
|
+
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
|
+
value: t,
|
|
6
|
+
configurable: !0
|
|
7
|
+
});
|
|
8
|
+
function i(e, n) {
|
|
9
|
+
return t.useReducer((e, t) => n[e][t] ?? e, e);
|
|
10
|
+
}
|
|
11
|
+
r(i, "useStateMachine");
|
|
12
|
+
var a = /* @__PURE__ */ r((e) => {
|
|
13
|
+
let { present: n, children: r } = e, i = o(n), a = typeof r == "function" ? r({ present: i.isPresent }) : t.Children.only(r), s = c(i.ref, u(a));
|
|
14
|
+
return typeof r == "function" || i.isPresent ? t.cloneElement(a, { ref: s }) : null;
|
|
15
|
+
}, "Presence");
|
|
16
|
+
function o(n) {
|
|
17
|
+
let [a, o] = t.useState(), s = t.useRef(null), c = t.useRef(n), u = t.useRef("none"), d = t.useRef(void 0), [f, p] = i(n ? "mounted" : "unmounted", {
|
|
18
|
+
mounted: {
|
|
19
|
+
UNMOUNT: "unmounted",
|
|
20
|
+
ANIMATION_OUT: "unmountSuspended"
|
|
21
|
+
},
|
|
22
|
+
unmountSuspended: {
|
|
23
|
+
MOUNT: "mounted",
|
|
24
|
+
ANIMATION_END: "unmounted"
|
|
25
|
+
},
|
|
26
|
+
unmounted: { MOUNT: "mounted" }
|
|
27
|
+
});
|
|
28
|
+
return t.useEffect(() => {
|
|
29
|
+
f === "mounted" ? (u.current = d.current ?? l(s.current), d.current = void 0) : u.current = "none";
|
|
30
|
+
}, [f]), e(() => {
|
|
31
|
+
let e = s.current, t = c.current;
|
|
32
|
+
if (t !== n) {
|
|
33
|
+
let r = u.current, i = l(e);
|
|
34
|
+
n ? (d.current = i, p("MOUNT")) : i === "none" || e?.display === "none" ? p("UNMOUNT") : p(t && r !== i ? "ANIMATION_OUT" : "UNMOUNT"), c.current = n;
|
|
35
|
+
}
|
|
36
|
+
}, [n, p]), e(() => {
|
|
37
|
+
if (a) {
|
|
38
|
+
let e, t = a.ownerDocument.defaultView ?? window, n = /* @__PURE__ */ r((n) => {
|
|
39
|
+
let r = l(s.current).includes(CSS.escape(n.animationName));
|
|
40
|
+
if (n.target === a && r && (p("ANIMATION_END"), !c.current)) {
|
|
41
|
+
let n = a.style.animationFillMode;
|
|
42
|
+
a.style.animationFillMode = "forwards", e = t.setTimeout(() => {
|
|
43
|
+
a.style.animationFillMode === "forwards" && (a.style.animationFillMode = n);
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
}, "handleAnimationEnd"), i = /* @__PURE__ */ r((e) => {
|
|
47
|
+
e.target === a && (u.current = l(s.current));
|
|
48
|
+
}, "handleAnimationStart");
|
|
49
|
+
return a.addEventListener("animationstart", i), a.addEventListener("animationcancel", n), a.addEventListener("animationend", n), () => {
|
|
50
|
+
t.clearTimeout(e), a.removeEventListener("animationstart", i), a.removeEventListener("animationcancel", n), a.removeEventListener("animationend", n);
|
|
51
|
+
};
|
|
52
|
+
} else p("ANIMATION_END");
|
|
53
|
+
}, [a, p]), {
|
|
54
|
+
isPresent: ["mounted", "unmountSuspended"].includes(f),
|
|
55
|
+
ref: t.useCallback((e) => {
|
|
56
|
+
if (e) {
|
|
57
|
+
let t = getComputedStyle(e);
|
|
58
|
+
s.current = t, d.current = l(t);
|
|
59
|
+
} else s.current = null;
|
|
60
|
+
o(e);
|
|
61
|
+
}, [])
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
r(o, "usePresence");
|
|
65
|
+
function s(e, t) {
|
|
66
|
+
if (typeof e == "function") return e(t);
|
|
67
|
+
e != null && (e.current = t);
|
|
68
|
+
}
|
|
69
|
+
r(s, "setRef");
|
|
70
|
+
function c(...e) {
|
|
71
|
+
let n = t.useRef(e);
|
|
72
|
+
return n.current = e, t.useCallback((e) => {
|
|
73
|
+
let t = n.current, r = !1, i = t.map((t) => {
|
|
74
|
+
let n = s(t, e);
|
|
75
|
+
return !r && typeof n == "function" && (r = !0), n;
|
|
76
|
+
});
|
|
77
|
+
if (r) return () => {
|
|
78
|
+
for (let e = 0; e < i.length; e++) {
|
|
79
|
+
let n = i[e];
|
|
80
|
+
typeof n == "function" ? n() : s(t[e], null);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}, []);
|
|
84
|
+
}
|
|
85
|
+
r(c, "useStableComposedRefs");
|
|
86
|
+
function l(e) {
|
|
87
|
+
return e?.animationName || "none";
|
|
88
|
+
}
|
|
89
|
+
r(l, "getAnimationName");
|
|
90
|
+
function u(e) {
|
|
91
|
+
let t = Object.getOwnPropertyDescriptor(e.props, "ref")?.get, n = t && "isReactWarning" in t && t.isReactWarning;
|
|
92
|
+
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
|
+
r(u, "getElementRef");
|
|
95
|
+
//#endregion
|
|
96
|
+
export { a as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0}),a=n.useInsertionEffect;function o(e){let r=n.useRef(e);return typeof a==`function`?a(()=>{r.current=e}):t.t(()=>{r.current=e}),n.useMemo(()=>((...e)=>r.current?.(...e)),[])}i(o,`useCallbackRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-CGgemr2V.js");let n=require("react");n=e.r(n,1);var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,t){return n.useReducer((e,n)=>t[e][n]??e,e)}i(a,`useStateMachine`);var o=i(e=>{let{present:t,children:r}=e,i=s(t),a=typeof r==`function`?r({present:i.isPresent}):n.Children.only(r),o=l(i.ref,d(a));return typeof r==`function`||i.isPresent?n.cloneElement(a,{ref:o}):null},`Presence`);function s(e){let[r,o]=n.useState(),s=n.useRef(null),c=n.useRef(e),l=n.useRef(`none`),d=n.useRef(void 0),[f,p]=a(e?`mounted`:`unmounted`,{mounted:{UNMOUNT:`unmounted`,ANIMATION_OUT:`unmountSuspended`},unmountSuspended:{MOUNT:`mounted`,ANIMATION_END:`unmounted`},unmounted:{MOUNT:`mounted`}});return n.useEffect(()=>{f===`mounted`?(l.current=d.current??u(s.current),d.current=void 0):l.current=`none`},[f]),t.t(()=>{let t=s.current,n=c.current;if(n!==e){let r=l.current,i=u(t);e?(d.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(r){let e,t=r.ownerDocument.defaultView??window,n=i(n=>{let i=u(s.current).includes(CSS.escape(n.animationName));if(n.target===r&&i&&(p(`ANIMATION_END`),!c.current)){let n=r.style.animationFillMode;r.style.animationFillMode=`forwards`,e=t.setTimeout(()=>{r.style.animationFillMode===`forwards`&&(r.style.animationFillMode=n)})}},`handleAnimationEnd`),a=i(e=>{e.target===r&&(l.current=u(s.current))},`handleAnimationStart`);return r.addEventListener(`animationstart`,a),r.addEventListener(`animationcancel`,n),r.addEventListener(`animationend`,n),()=>{t.clearTimeout(e),r.removeEventListener(`animationstart`,a),r.removeEventListener(`animationcancel`,n),r.removeEventListener(`animationend`,n)}}else p(`ANIMATION_END`)},[r,p]),{isPresent:[`mounted`,`unmountSuspended`].includes(f),ref:n.useCallback(e=>{if(e){let t=getComputedStyle(e);s.current=t,d.current=u(t)}else s.current=null;o(e)},[])}}i(s,`usePresence`);function c(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}i(c,`setRef`);function l(...e){let t=n.useRef(e);return t.current=e,n.useCallback(e=>{let n=t.current,r=!1,i=n.map(t=>{let n=c(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():c(n[e],null)}}},[])}i(l,`useStableComposedRefs`);function u(e){return e?.animationName||`none`}i(u,`getAnimationName`);function d(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)}i(d,`getElementRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-BBvidwzC.js"),n=require("./dist-hFLuJoMi.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-Zs2sjYhL.js"),o=require("./dist-DZiOPWLp.js"),s=require("./dist-YAADIsyo.js"),c=require("./dist-C8Pm6LRc.js"),l=require("./dist-UnTrOmPV.js"),u=require("./dist-D1qkELLT.js");let d=require("react");d=e.r(d,1);let f=require("react/jsx-runtime");var p=Object.defineProperty,m=(e,t)=>p(e,`name`,{value:t,configurable:!0}),h=!1;function g(){let[e,t]=d.useState(h);return d.useEffect(()=>{h||(h=!0,t(!0))},[]),e}m(g,`useIsHydrated`);var _=d.useSyncExternalStore;function v(){return()=>{}}m(v,`subscribe`);function y(){return _(v,()=>!0,()=>!1)}m(y,`useIsHydratedModern`);var b=typeof _==`function`?y:g,x=Object.defineProperty,S=(e,t)=>x(e,`name`,{value:t,configurable:!0}),C=`rovingFocusGroup.onEntryFocus`,w={bubbles:!1,cancelable:!0},T=`RovingFocusGroup`,[E,D,O]=a.t(T),[k,A]=r.t(T,[O]),j={Vertical:`vertical`,Horizontal:`horizontal`},M={LTR:`ltr`,RTL:`rtl`},[N,P]=k(T),F=d.forwardRef(S(function(e,t){return(0,f.jsx)(E.Provider,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(E.Slot,{scope:e.__scopeRovingFocusGroup,children:(0,f.jsx)(I,{...e,ref:t})})})},`RovingFocusGroup`)),I=d.forwardRef(S(function(e,r){let{__scopeRovingFocusGroup:i,orientation:a,loop:c=!1,dir:p,currentTabStopId:m,defaultCurrentTabStopId:h,onCurrentTabStopIdChange:g,onEntryFocus:_,preventScrollOnEntryFocus:v=!1,...y}=e,b=d.useRef(null),x=t.a(r,b),S=l.n(p),[E,O]=s.t({prop:m,defaultProp:h??null,onChange:g,caller:T}),[k,A]=d.useState(!1),j=u.t(_),M=D(i),P=d.useRef(!1),[F,I]=d.useState(0);return d.useEffect(()=>{let e=b.current;if(e)return e.addEventListener(C,j),()=>e.removeEventListener(C,j)},[j]),(0,f.jsx)(N,{scope:i,orientation:a,dir:S,loop:c,currentTabStopId:E,onItemFocus:d.useCallback(e=>O(e),[O]),onItemShiftTab:d.useCallback(()=>A(!0),[]),onFocusableItemAdd:d.useCallback(()=>I(e=>e+1),[]),onFocusableItemRemove:d.useCallback(()=>I(e=>e-1),[]),children:(0,f.jsx)(n.t.div,{tabIndex:k||F===0?-1:0,"data-orientation":a,...y,ref:x,style:{outline:`none`,...e.style},onMouseDown:o.t(e.onMouseDown,()=>{P.current=!0}),onFocus:o.t(e.onFocus,e=>{let t=!P.current;if(e.target===e.currentTarget&&t&&!k){let t=new CustomEvent(C,w);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=M().filter(e=>e.focusable);H([e.find(e=>e.active),e.find(e=>e.id===E),...e].filter(Boolean).map(e=>e.ref.current),v)}}P.current=!1}),onBlur:o.t(e.onBlur,()=>A(!1))})})},`RovingFocusGroupImpl`)),L=`RovingFocusGroupItem`,R=d.forwardRef(S(function(e,t){let{__scopeRovingFocusGroup:r,focusable:a=!0,active:s=!1,tabStopId:l,children:u,...p}=e,m=c.t(),h=l||m,g=P(L,r),_=g.currentTabStopId===h,v=D(r),{onFocusableItemAdd:y,onFocusableItemRemove:x,currentTabStopId:S}=g,C=b();return i.t(()=>{if(!(!C||!a))return y(),()=>x()},[C,a,y,x]),d.useEffect(()=>{if(!(C||!a))return y(),()=>x()},[C,a,y,x]),(0,f.jsx)(E.ItemSlot,{scope:r,id:h,focusable:a,active:s,children:(0,f.jsx)(n.t.span,{tabIndex:_?0:-1,"data-orientation":g.orientation,...p,ref:t,onMouseDown:o.t(e.onMouseDown,e=>{a?g.onItemFocus(h):e.preventDefault()}),onFocus:o.t(e.onFocus,()=>g.onItemFocus(h)),onKeyDown:o.t(e.onKeyDown,e=>{if(e.key===`Tab`&&e.shiftKey){g.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=V(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?U(n,r+1):n.slice(r+1)}setTimeout(()=>H(n))}}),children:typeof u==`function`?u({isCurrentTabStop:_,hasTabStop:S!=null}):u})})},`RovingFocusGroupItem`)),z={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function B(e,t){return t===M.RTL?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}S(B,`getDirectionAwareKey`);function V(e,t,n){let r=B(e.key,n);if(!(t===j.Vertical&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===j.Horizontal&&[`ArrowUp`,`ArrowDown`].includes(r)))return z[r]}S(V,`getFocusIntent`);function H(e,t=!1){let n=document.activeElement;for(let r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}S(H,`focusFirst`);function U(e,t){return e.map((n,r)=>e[(t+r)%e.length])}S(U,`wrapArray`),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return R}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return A}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return F}});
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { t as e } from "./dist-BEbV0Hal.mjs";
|
|
2
|
+
import { t } from "./dist-GazS1kfR.mjs";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import * as r from "react-dom";
|
|
5
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
+
//#region ../../node_modules/.bun/@radix-ui+react-portal@1.2.0+b146eb580f4286be/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
7
|
+
var a = Object.defineProperty, o = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */ ((e, t) => a(e, "name", {
|
|
8
|
+
value: t,
|
|
9
|
+
configurable: !0
|
|
10
|
+
}))(function(a, o) {
|
|
11
|
+
let { container: s, ...c } = a, [l, u] = n.useState(!1);
|
|
12
|
+
t(() => u(!0), []);
|
|
13
|
+
let d = s || l && globalThis?.document?.body;
|
|
14
|
+
return d ? r.createPortal(/* @__PURE__ */ i(e.div, {
|
|
15
|
+
...c,
|
|
16
|
+
ref: o
|
|
17
|
+
}), d) : null;
|
|
18
|
+
}, "Portal"));
|
|
19
|
+
//#endregion
|
|
20
|
+
export { o as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>e(t,`name`,{value:n,configurable:!0});function n(e,[t,n]){return Math.min(n,Math.max(t,e))}t(n,`clamp`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return n}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-hFLuJoMi.js");let n=require("react");n=e.r(n,1);let r=require("react/jsx-runtime");var i=Object.defineProperty,a=(e,t)=>i(e,`name`,{value:t,configurable:!0}),o=Object.freeze({position:`absolute`,border:0,width:1,height:1,padding:0,margin:-1,overflow:`hidden`,clip:`rect(0, 0, 0, 0)`,whiteSpace:`nowrap`,wordWrap:`normal`}),s=n.forwardRef(a(function(e,n){return(0,r.jsx)(t.t.span,{...e,ref:n,style:{...o,...e.style}})},`VisuallyHidden`));Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return s}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);let n=require("react/jsx-runtime");var r=Object.defineProperty,i=(e,t)=>r(e,`name`,{value:t,configurable:!0});function a(e,r){let a=t.createContext(r);a.displayName=e+`Context`;let o=i(e=>{let{children:r,...i}=e,o=t.useMemo(()=>i,Object.values(i));return(0,n.jsx)(a.Provider,{value:o,children:r})},`Provider`);o.displayName=e+`Provider`;function s(n,i={}){let{optional:o=!1}=i,s=t.useContext(a);if(s)return s;if(r!==void 0)return r;if(!o)throw Error(`\`${n}\` must be used within \`${e}\``)}return i(s,`useContext`),[o,s]}i(a,`createContext`);function o(e,r=[]){let a=[];function o(r,o){let s=t.createContext(o);s.displayName=r+`Context`;let c=a.length;a=[...a,o];let l=i(r=>{let{scope:i,children:a,...o}=r,l=i?.[e]?.[c]||s,u=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(l.Provider,{value:u,children:a})},`Provider`);l.displayName=r+`Provider`;function u(n,i,a={}){let{optional:l=!1}=a,u=i?.[e]?.[c]||s,d=t.useContext(u);if(d)return d;if(o!==void 0)return o;if(!l)throw Error(`\`${n}\` must be used within \`${r}\``)}return i(u,`useContext`),[l,u]}i(o,`createContext`);let c=i(()=>{let n=a.map(e=>t.createContext(e));return i(function(r){let i=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:i}}),[r,i])},`useScope`)},`createScope`);return c.scopeName=e,[o,s(c,...r)]}i(o,`createContextScope`);function s(...e){let n=e[0];if(e.length===1)return n;let r=i(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return i(function(e){let i=r.reduce((t,{useScope:n,scopeName:r})=>{let i=n(e)[`__scope${r}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:i}),[i])},`useComposedScopes`)},`createScope`);return r.scopeName=n.scopeName,r}i(s,`composeContextScopes`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return o}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=Object.defineProperty,t=(t,n)=>e(t,`name`,{value:n,configurable:!0}),n=!!(typeof window<`u`&&window.document&&window.document.createElement);function r(e,n,{checkForDefaultPrevented:r=!0}={}){return t(function(t){if(e?.(t),r===!1||!t||!t.defaultPrevented)return n?.(t)},`handleEvent`)}t(r,`composeEventHandlers`);function i(e){if(!n)throw Error(`Cannot access window outside of the DOM`);return e?.ownerDocument?.defaultView??window}t(i,`getOwnerWindow`);function a(e){if(!n)throw Error(`Cannot access document outside of the DOM`);return e?.ownerDocument??document}t(a,`getOwnerDocument`);function o(e,t=!1){let{activeElement:n}=a(e);if(!n?.nodeName)return null;if(s(n)&&n.contentDocument)return o(n.contentDocument.body,t);if(t){let e=n.getAttribute(`aria-activedescendant`);if(e){let t=a(n).getElementById(e);if(t)return t}}return n}t(o,`getActiveElement`);function s(e){return e.tagName===`IFRAME`}t(s,`isFrame`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return r}});
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { a as e, n as t } from "./dist-Dq-h6VAy.mjs";
|
|
2
|
+
import { t as n } from "./dist-BEbV0Hal.mjs";
|
|
3
|
+
import { t as r } from "./dist-CPAF050o.mjs";
|
|
4
|
+
import { t as i } from "./dist-GazS1kfR.mjs";
|
|
5
|
+
import { t as a } from "./dist-BB78QQyQ.mjs";
|
|
6
|
+
import { t as o } from "./dist-Bvfb4y_L.mjs";
|
|
7
|
+
import { t as s } from "./dist-CpKLY_uZ.mjs";
|
|
8
|
+
import { t as c } from "./dist-UkWa-Arh.mjs";
|
|
9
|
+
import { r as l, t as u } from "./dist-s7ibhASj.mjs";
|
|
10
|
+
import { i as d, n as f, t as p } from "./dist-E8ieJTBC.mjs";
|
|
11
|
+
import { t as m } from "./dist-DI1vapnL.mjs";
|
|
12
|
+
import { n as h, r as g, t as _ } from "./es2015-DbsmTzuc.mjs";
|
|
13
|
+
import * as v from "react";
|
|
14
|
+
import { jsx as y } from "react/jsx-runtime";
|
|
15
|
+
//#region ../../node_modules/.bun/@radix-ui+react-dialog@1.3.1+b146eb580f4286be/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
16
|
+
var b = Object.defineProperty, x = (e, t) => b(e, "name", {
|
|
17
|
+
value: t,
|
|
18
|
+
configurable: !0
|
|
19
|
+
}), S = "Dialog", [C, w] = r(S), [T, E] = C(S), D = /* @__PURE__ */ x((e) => {
|
|
20
|
+
let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = e, l = v.useRef(null), u = v.useRef(null), { nodes: f, registry: p } = d(), [m, h] = o({
|
|
21
|
+
prop: r,
|
|
22
|
+
defaultProp: i ?? !1,
|
|
23
|
+
onChange: a,
|
|
24
|
+
caller: S
|
|
25
|
+
}), [g, _] = v.useState(0), [b, x] = v.useState(0);
|
|
26
|
+
return /* @__PURE__ */ y(T, {
|
|
27
|
+
scope: t,
|
|
28
|
+
triggerRef: l,
|
|
29
|
+
contentRef: u,
|
|
30
|
+
contentId: c(),
|
|
31
|
+
titleId: c(),
|
|
32
|
+
descriptionId: c(),
|
|
33
|
+
titlePresent: g > 0,
|
|
34
|
+
descriptionPresent: b > 0,
|
|
35
|
+
setTitleCount: _,
|
|
36
|
+
setDescriptionCount: x,
|
|
37
|
+
open: m,
|
|
38
|
+
onOpenChange: h,
|
|
39
|
+
onOpenToggle: v.useCallback(() => h((e) => !e), [h]),
|
|
40
|
+
modal: s,
|
|
41
|
+
branchNodes: f,
|
|
42
|
+
branchRegistry: p,
|
|
43
|
+
children: n
|
|
44
|
+
});
|
|
45
|
+
}, "Dialog"), O = "DialogTrigger", k = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(t, r) {
|
|
46
|
+
let { __scopeDialog: i, ...o } = t, s = E(O, i), c = e(r, s.triggerRef);
|
|
47
|
+
return /* @__PURE__ */ y(n.button, {
|
|
48
|
+
type: "button",
|
|
49
|
+
"aria-haspopup": "dialog",
|
|
50
|
+
"aria-expanded": s.open,
|
|
51
|
+
"aria-controls": s.open ? s.contentId : void 0,
|
|
52
|
+
"data-state": J(s.open),
|
|
53
|
+
...o,
|
|
54
|
+
ref: c,
|
|
55
|
+
onClick: a(t.onClick, s.onOpenToggle)
|
|
56
|
+
});
|
|
57
|
+
}, "DialogTrigger")), A = "DialogPortal", [j, M] = C(A, { forceMount: void 0 }), N = /* @__PURE__ */ x((e) => {
|
|
58
|
+
let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = E(A, t);
|
|
59
|
+
return /* @__PURE__ */ y(j, {
|
|
60
|
+
scope: t,
|
|
61
|
+
forceMount: n,
|
|
62
|
+
children: v.Children.map(r, (e) => /* @__PURE__ */ y(s, {
|
|
63
|
+
present: n || a.open,
|
|
64
|
+
children: /* @__PURE__ */ y(m, {
|
|
65
|
+
asChild: !0,
|
|
66
|
+
container: i,
|
|
67
|
+
children: e
|
|
68
|
+
})
|
|
69
|
+
}))
|
|
70
|
+
});
|
|
71
|
+
}, "DialogPortal"), P = "DialogOverlay", F = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
72
|
+
let n = M(P, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = E(P, e.__scopeDialog);
|
|
73
|
+
return a.modal ? /* @__PURE__ */ y(s, {
|
|
74
|
+
present: r || a.open,
|
|
75
|
+
children: /* @__PURE__ */ y(L, {
|
|
76
|
+
...i,
|
|
77
|
+
ref: t
|
|
78
|
+
})
|
|
79
|
+
}) : null;
|
|
80
|
+
}, "DialogOverlay")), I = t("DialogOverlay.RemoveScroll"), L = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(t, r) {
|
|
81
|
+
let { __scopeDialog: i, ...a } = t, o = E(P, i), s = e(r, l());
|
|
82
|
+
return /* @__PURE__ */ y(h, {
|
|
83
|
+
as: I,
|
|
84
|
+
allowPinchZoom: !0,
|
|
85
|
+
shards: v.useMemo(() => [o.contentRef, ...o.branchNodes.map((e) => ({ current: e }))], [o.contentRef, o.branchNodes]),
|
|
86
|
+
children: /* @__PURE__ */ y(n.div, {
|
|
87
|
+
"data-state": J(o.open),
|
|
88
|
+
...a,
|
|
89
|
+
ref: s,
|
|
90
|
+
style: {
|
|
91
|
+
pointerEvents: "auto",
|
|
92
|
+
...a.style
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
});
|
|
96
|
+
}, "DialogOverlayImpl")), R = "DialogContent", z = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
97
|
+
let n = M(R, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = E(R, e.__scopeDialog);
|
|
98
|
+
return /* @__PURE__ */ y(s, {
|
|
99
|
+
present: r || a.open,
|
|
100
|
+
children: a.modal ? /* @__PURE__ */ y(B, {
|
|
101
|
+
...i,
|
|
102
|
+
ref: t
|
|
103
|
+
}) : /* @__PURE__ */ y(V, {
|
|
104
|
+
...i,
|
|
105
|
+
ref: t
|
|
106
|
+
})
|
|
107
|
+
});
|
|
108
|
+
}, "DialogContent")), B = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(t, n) {
|
|
109
|
+
let r = E(R, t.__scopeDialog), i = v.useRef(null), o = e(n, r.contentRef, i);
|
|
110
|
+
return v.useEffect(() => {
|
|
111
|
+
let e = i.current;
|
|
112
|
+
if (e) return _(e);
|
|
113
|
+
}, []), /* @__PURE__ */ y(H, {
|
|
114
|
+
...t,
|
|
115
|
+
ref: o,
|
|
116
|
+
trapFocus: r.open,
|
|
117
|
+
disableOutsidePointerEvents: r.open,
|
|
118
|
+
onCloseAutoFocus: a(t.onCloseAutoFocus, (e) => {
|
|
119
|
+
e.preventDefault(), r.triggerRef.current?.focus();
|
|
120
|
+
}),
|
|
121
|
+
onPointerDownOutside: a(t.onPointerDownOutside, (e) => {
|
|
122
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
123
|
+
(t.button === 2 || n) && e.preventDefault();
|
|
124
|
+
}),
|
|
125
|
+
onFocusOutside: a(t.onFocusOutside, (e) => e.preventDefault())
|
|
126
|
+
});
|
|
127
|
+
}, "DialogContentModal")), V = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
128
|
+
let n = E(R, e.__scopeDialog), r = v.useRef(!1), i = v.useRef(!1);
|
|
129
|
+
return /* @__PURE__ */ y(H, {
|
|
130
|
+
...e,
|
|
131
|
+
ref: t,
|
|
132
|
+
trapFocus: !1,
|
|
133
|
+
disableOutsidePointerEvents: !1,
|
|
134
|
+
onCloseAutoFocus: (t) => {
|
|
135
|
+
e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
|
|
136
|
+
},
|
|
137
|
+
onInteractOutside: (t) => {
|
|
138
|
+
e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
139
|
+
let a = t.target;
|
|
140
|
+
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
141
|
+
}
|
|
142
|
+
});
|
|
143
|
+
}, "DialogContentNonModal")), H = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
144
|
+
let { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, "aria-describedby": o, children: s, ...c } = e, l = E(R, n);
|
|
145
|
+
return g(), /* @__PURE__ */ y(f, {
|
|
146
|
+
registry: l.branchRegistry,
|
|
147
|
+
children: /* @__PURE__ */ y(p, {
|
|
148
|
+
asChild: !0,
|
|
149
|
+
loop: !0,
|
|
150
|
+
trapped: r,
|
|
151
|
+
branches: l.branchNodes,
|
|
152
|
+
onMountAutoFocus: i,
|
|
153
|
+
onUnmountAutoFocus: a,
|
|
154
|
+
children: /* @__PURE__ */ y(u, {
|
|
155
|
+
role: "dialog",
|
|
156
|
+
id: l.contentId,
|
|
157
|
+
"aria-labelledby": l.titlePresent ? l.titleId : void 0,
|
|
158
|
+
"aria-describedby": l.descriptionPresent ? q(o, l.descriptionId) : o,
|
|
159
|
+
"data-state": J(l.open),
|
|
160
|
+
...c,
|
|
161
|
+
ref: t,
|
|
162
|
+
deferPointerDownOutside: !0,
|
|
163
|
+
onDismiss: () => l.onOpenChange(!1),
|
|
164
|
+
children: s
|
|
165
|
+
})
|
|
166
|
+
})
|
|
167
|
+
});
|
|
168
|
+
}, "DialogContentImpl")), U = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
169
|
+
let { __scopeDialog: r, ...a } = e, o = E("DialogTitle", r), { setTitleCount: s } = o;
|
|
170
|
+
return i(() => (s((e) => e + 1), () => s((e) => e - 1)), [s]), /* @__PURE__ */ y(n.h2, {
|
|
171
|
+
id: o.titleId,
|
|
172
|
+
...a,
|
|
173
|
+
ref: t
|
|
174
|
+
});
|
|
175
|
+
}, "DialogTitle")), W = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
176
|
+
let { __scopeDialog: r, ...a } = e, o = E("DialogDescription", r), { setDescriptionCount: s } = o;
|
|
177
|
+
return i(() => (s((e) => e + 1), () => s((e) => e - 1)), [s]), /* @__PURE__ */ y(n.p, {
|
|
178
|
+
id: o.descriptionId,
|
|
179
|
+
...a,
|
|
180
|
+
ref: t
|
|
181
|
+
});
|
|
182
|
+
}, "DialogDescription")), G = "DialogClose", K = /* @__PURE__ */ v.forwardRef(/* @__PURE__ */ x(function(e, t) {
|
|
183
|
+
let { __scopeDialog: r, ...i } = e, o = E(G, r);
|
|
184
|
+
return /* @__PURE__ */ y(n.button, {
|
|
185
|
+
type: "button",
|
|
186
|
+
...i,
|
|
187
|
+
ref: t,
|
|
188
|
+
onClick: a(e.onClick, () => o.onOpenChange(!1))
|
|
189
|
+
});
|
|
190
|
+
}, "DialogClose"));
|
|
191
|
+
function q(...e) {
|
|
192
|
+
let t = /* @__PURE__ */ new Set();
|
|
193
|
+
for (let n of e) if (typeof n == "string") for (let e of String(n).trim().split(/\s+/)) e && t.add(e);
|
|
194
|
+
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
195
|
+
}
|
|
196
|
+
x(q, "concatAriaDescribedby");
|
|
197
|
+
function J(e) {
|
|
198
|
+
return e ? "open" : "closed";
|
|
199
|
+
}
|
|
200
|
+
x(J, "getState");
|
|
201
|
+
//#endregion
|
|
202
|
+
export { F as a, k as c, W as i, w as l, K as n, N as o, z as r, U as s, D as t };
|