@gv-tech/ui-web 2.29.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 +0 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/{accordion-Bqt-y-u7.mjs → accordion-D5QXSsCK.mjs} +83 -74
- package/dist/accordion-DjyDOX-h.js +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-B-a0Wa1M.mjs} +47 -47
- package/dist/alert-dialog-DYQAhGBC.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -1
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +2 -2
- package/dist/{aspect-ratio-X3HWxQz0.js → aspect-ratio-C-KOOyGP.js} +1 -1
- package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-s7Ji1MSr.mjs} +2 -2
- 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 -1
- package/dist/attachment.d.ts +2 -2
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.mjs +3 -3
- package/dist/avatar-4K3XjhP8.js +1 -0
- package/dist/{avatar-DTkhTxt7.mjs → avatar-d8Di248f.mjs} +49 -44
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +2 -2
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +1 -3
- package/dist/bubble.cjs +1 -1
- package/dist/bubble.d.ts +1 -1
- package/dist/bubble.d.ts.map +1 -1
- package/dist/bubble.mjs +4 -4
- 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 +3 -4
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +3 -3
- package/dist/calendar-DFj14O6r.js +1 -0
- package/dist/{calendar-CkHWa9Uu.mjs → calendar-UW8h9dfh.mjs} +443 -437
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.d.ts.map +1 -1
- package/dist/{carousel-Cv5isLeg.js → carousel-CNGpg5df.js} +1 -1
- package/dist/{carousel-ynaeMNIV.mjs → carousel-DG9xGJns.mjs} +3 -5
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +3 -3
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/checkbox-BCgbTAdU.js +1 -0
- package/dist/{checkbox-BLvAEmRC.mjs → checkbox-Dq8VHKDH.mjs} +48 -44
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-aK8IuEX9.mjs} +1 -1
- 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.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/{command-DY6u8V0D.mjs → command-5hobOyGG.mjs} +6 -6
- package/dist/{command-BqO-CfH6.js → command-Dbqnm9kI.js} +1 -1
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-DyTUismw.js +1 -0
- package/dist/{context-menu-tL6CY6a0.mjs → context-menu-DzzU-_v8.mjs} +115 -116
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -1
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +1 -1
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/{dist-BTN2t9yv.js → dist-1zUKVGvf.js} +1 -1
- package/dist/{dist-BIXhHahX.mjs → dist-B057I8ju.mjs} +4 -4
- package/dist/{dist-DyMv0xk8.mjs → dist-BB78QQyQ.mjs} +1 -1
- package/dist/dist-BBvidwzC.js +1 -0
- package/dist/{dist-BQhMregZ.mjs → dist-BEbV0Hal.mjs} +2 -2
- package/dist/dist-BPL7gUpg.mjs +18 -0
- package/dist/{dist-Dj9s8AIv.js → dist-BTUvBzOm.js} +1 -1
- package/dist/{dist-CdBAkUWT.js → dist-BU-TFzJf.js} +1 -1
- package/dist/dist-Bb5W_J2F.mjs +39 -0
- package/dist/dist-BbI6NHqR.mjs +23 -0
- package/dist/{dist-5r7hQmO0.mjs → dist-BexAB6yo.mjs} +53 -48
- package/dist/dist-BgXIqHHq.js +1 -0
- package/dist/{dist-BUXpRW9O.mjs → dist-Bvfb4y_L.mjs} +3 -3
- package/dist/{dist-DMwCTE2i.mjs → dist-CPAF050o.mjs} +1 -1
- package/dist/{dist-6c2NeKfz.mjs → dist-CUvxOuXM.mjs} +192 -177
- package/dist/dist-ClYM7l1t.js +1 -0
- package/dist/{dist-Dg9ASyqI.mjs → dist-CpKLY_uZ.mjs} +2 -2
- package/dist/dist-D1qkELLT.js +1 -0
- package/dist/dist-DEpkkABT.js +1 -0
- package/dist/{dist-rx5WaFf5.mjs → dist-DI1vapnL.mjs} +3 -3
- package/dist/dist-DKXojpVG.js +1 -0
- package/dist/dist-DatgTWLz.mjs +202 -0
- package/dist/dist-DoivLw3t.js +1 -0
- package/dist/{dist-8fYwoWd4.mjs → dist-Dq-h6VAy.mjs} +21 -14
- package/dist/{dist-DfvK7DpO.mjs → dist-Dt6m-kwU.mjs} +86 -78
- package/dist/dist-E8ieJTBC.mjs +190 -0
- package/dist/{dist-D7UHN1DJ.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-CBsYNwXz.mjs → dist-UkWa-Arh.mjs} +2 -2
- package/dist/dist-UnTrOmPV.js +1 -0
- package/dist/dist-Zs2sjYhL.js +1 -0
- package/dist/{dist-BoNQb2nd.js → dist-hFLuJoMi.js} +1 -1
- package/dist/{dist-CYrqAnIr.mjs → dist-s7ibhASj.mjs} +6 -7
- package/dist/{dist-ByW6RHeZ.mjs → dist-vu20fMUK.mjs} +15 -16
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.d.ts.map +1 -1
- package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-BqAhn64y.mjs} +106 -106
- package/dist/dropdown-menu-BtKOr--r.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -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 +1 -1
- 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 +4 -5
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +3 -3
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +2 -2
- 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 +1 -1
- 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.mjs +35 -35
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +3 -3
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +3 -8
- package/dist/{input-otp-m_BTudNY.mjs → input-otp-D49Y9VcH.mjs} +2 -2
- package/dist/{input-otp-D9MwUsPO.js → input-otp-u3obpt-Q.js} +1 -1
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +2 -2
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +5 -6
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/{label-CgKiKHKG.js → label-Dacwh21G.js} +1 -1
- package/dist/{label-DVA-YKpB.mjs → label-DsSICLPc.mjs} +2 -2
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -1
- package/dist/marker.cjs +1 -1
- package/dist/marker.d.ts +1 -1
- package/dist/marker.d.ts.map +1 -1
- package/dist/marker.mjs +4 -4
- package/dist/menubar-BYNeRuzx.js +1 -0
- package/dist/{menubar-CyKBLHme.mjs → menubar-DZqEj6S1.mjs} +102 -100
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-CS4t7Ypn.mjs} +2 -2
- package/dist/message-scroller.d.ts +1 -1
- package/dist/message-scroller.d.ts.map +1 -1
- package/dist/message-scroller.mjs +1 -1
- package/dist/message.d.ts.map +1 -1
- package/dist/native-select.d.ts.map +1 -1
- package/dist/navigation-menu-B36G3O83.js +1 -0
- package/dist/{navigation-menu-BzE1J1rs.mjs → navigation-menu-RO6thDOF.mjs} +245 -217
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -1
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +3 -2
- 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 +1 -1
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/{progress-nfJMuKGj.js → progress-B9z08UXf.js} +2 -2
- package/dist/{progress-ClcVCqjl.mjs → progress-CQ4nQ85t.mjs} +7 -8
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-CVED7G7R.mjs} +2 -2
- package/dist/questionnaire.d.ts +1 -1
- package/dist/questionnaire.d.ts.map +1 -1
- package/dist/questionnaire.mjs +1 -1
- package/dist/radio-group-Bd3WbH5I.js +1 -0
- package/dist/{radio-group-5VwmCXRK.mjs → radio-group-TRiAhMZB.mjs} +43 -42
- package/dist/radio-group.cjs +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.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 +1 -1
- 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.map +1 -1
- package/dist/scroll-to-top.mjs +7 -5
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +1 -1
- package/dist/{select-CnHZdna2.mjs → select-BFJUmjvX.mjs} +326 -288
- package/dist/select-iQFoKU1s.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/{separator-D1a8myFf.mjs → separator-2kr96SyF.mjs} +15 -13
- package/dist/separator-Bo49G2aj.js +1 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +1 -1
- package/dist/sidebar-C6O8hLkz.js +1 -0
- package/dist/{sidebar-B5q6nH2G.mjs → sidebar-DM9ee9wf.mjs} +6 -6
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +1 -1
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +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 +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -1
- package/dist/sonner.d.ts +1 -1
- 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 +8 -4
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/switch-CoeAC1Wk.js +1 -0
- package/dist/{switch-DagjjAQu.mjs → switch-zUBdj7jK.mjs} +46 -42
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +5 -10
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +1 -0
- package/dist/table.d.ts.map +1 -1
- package/dist/{tabs-OQ6rj-3B.mjs → tabs-DaE9pEbo.mjs} +47 -45
- package/dist/tabs-TMhXe20x.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -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.d.ts.map +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-3RStptYf.mjs} +21 -12
- 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-DS9iODKU.js → toaster-CX9im8R_.js} +1 -1
- package/dist/{toaster-CKAJ9cht.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-CuLxBIWH.mjs → toggle-BAeKd2N0.mjs} +10 -10
- package/dist/{toggle-group-DfkvPKU_.mjs → toggle-group-CEKhUozD.mjs} +47 -44
- package/dist/toggle-group-htyug3G7.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -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 +1 -1
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +16 -16
- package/src/__contracts.ts +318 -321
- package/src/accordion.tsx +1 -2
- package/src/alert-dialog.tsx +1 -2
- package/src/alert.tsx +3 -4
- package/src/aspect-ratio.tsx +1 -2
- package/src/attachment.tsx +8 -9
- package/src/avatar.tsx +1 -2
- package/src/badge.tsx +2 -3
- package/src/breadcrumb.tsx +1 -4
- package/src/bubble.tsx +7 -8
- package/src/button-group.tsx +2 -3
- package/src/button.tsx +3 -4
- package/src/calendar.tsx +8 -9
- package/src/card.tsx +1 -2
- package/src/carousel.tsx +9 -10
- package/src/checkbox.tsx +1 -2
- package/src/collapsible.tsx +1 -2
- package/src/combobox.tsx +6 -7
- package/src/command.tsx +1 -2
- package/src/context-menu.tsx +1 -2
- package/src/dialog.tsx +1 -2
- package/src/direction.tsx +1 -2
- package/src/drawer.tsx +1 -2
- package/src/dropdown-menu.tsx +1 -2
- package/src/empty.tsx +2 -3
- package/src/field.tsx +9 -11
- package/src/form.tsx +8 -8
- package/src/hooks/use-mobile.ts +1 -1
- package/src/hover-card.tsx +1 -2
- package/src/input-group.tsx +12 -21
- package/src/input-otp.tsx +5 -6
- package/src/input.tsx +1 -2
- package/src/item.tsx +10 -12
- package/src/kbd.tsx +1 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +4 -5
- package/src/menubar.tsx +1 -2
- package/src/message-scroller.tsx +9 -10
- package/src/message.tsx +2 -3
- package/src/native-select.tsx +3 -4
- package/src/navigation-menu.tsx +2 -3
- package/src/pagination.tsx +5 -4
- package/src/popover.tsx +1 -2
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +6 -7
- package/src/scroll-area.tsx +1 -2
- package/src/scroll-to-top.tsx +7 -2
- package/src/search.tsx +2 -1
- package/src/select.tsx +1 -2
- package/src/separator.tsx +1 -2
- package/src/setupTests.ts +9 -9
- package/src/sheet.tsx +1 -2
- package/src/sidebar.tsx +15 -16
- package/src/skeleton.tsx +1 -2
- package/src/slider.tsx +1 -2
- package/src/spinner.tsx +8 -7
- package/src/support-fab.tsx +5 -1
- package/src/switch.tsx +1 -2
- package/src/table-of-contents.tsx +8 -11
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +2 -3
- package/src/text.tsx +4 -4
- package/src/textarea.tsx +1 -2
- package/src/theme-provider.tsx +1 -1
- package/src/theme-toggle.tsx +26 -23
- package/src/toast.tsx +3 -4
- package/src/toaster.tsx +2 -1
- package/src/toggle-group.tsx +1 -2
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +1 -2
- package/dist/accordion-BgbjpZAF.js +0 -1
- package/dist/alert-dialog-DonbkCSD.js +0 -1
- package/dist/avatar-DhvZbCtI.js +0 -1
- package/dist/calendar-Bo8kovKR.js +0 -1
- package/dist/checkbox-Dt06B4YW.js +0 -1
- package/dist/combobox-BB_YzCTY.js +0 -4
- package/dist/combobox-YxjYGUoe.mjs +0 -5748
- package/dist/context-menu-Dad9hs94.js +0 -1
- package/dist/dist-9-j0_8D1.mjs +0 -34
- package/dist/dist-BMl8xXCH.mjs +0 -188
- package/dist/dist-BOKg7rhq.js +0 -1
- package/dist/dist-BPhn-EOy.mjs +0 -15
- package/dist/dist-Bivv8B6p.mjs +0 -16
- package/dist/dist-C83rnWRv.js +0 -1
- package/dist/dist-Cn7g8jD0.js +0 -1
- package/dist/dist-DOoZ3vGL.mjs +0 -407
- package/dist/dist-DcRkoHAk.js +0 -1
- package/dist/dist-NEeQKKDZ.js +0 -1
- package/dist/dist-N_70prl1.js +0 -1
- package/dist/dist-dMp9dzmY.mjs +0 -20
- package/dist/dist-mHQuNOH-.js +0 -1
- package/dist/dist-oyFh63Uq.js +0 -1
- package/dist/dist-v-Y6tnMq.js +0 -1
- package/dist/dist-v9094Auw.js +0 -1
- package/dist/dist-yA6iVq_M.js +0 -1
- package/dist/dropdown-menu-BpZcobmP.js +0 -1
- package/dist/es2015-CYxXY2oV.mjs +0 -727
- package/dist/es2015-t2RPC0Rg.js +0 -41
- package/dist/hover-card-7NjGqlP0.js +0 -1
- package/dist/hover-card-DuRUptxQ.mjs +0 -176
- package/dist/menubar-DlOMZeh1.js +0 -1
- package/dist/navigation-menu-CrR01R8Z.js +0 -1
- package/dist/popover-CFF_HXSf.mjs +0 -222
- package/dist/popover-D9pVy08c.js +0 -1
- package/dist/radio-group-DhXnB0fI.js +0 -1
- package/dist/resizable-ChIqXiu4.js +0 -1
- package/dist/resizable-CpovHnG-.mjs +0 -1573
- package/dist/scroll-area-CUqjuvqH.js +0 -1
- package/dist/scroll-area-DstdIGvS.mjs +0 -539
- package/dist/select-CnCTQeh7.js +0 -1
- package/dist/separator-BXaVJadH.js +0 -1
- package/dist/sidebar-ns_2TNBM.js +0 -1
- package/dist/slider-PoIV6N-u.js +0 -1
- package/dist/slider-ZnyQjYsS.mjs +0 -460
- package/dist/switch-DLY8PkmL.js +0 -1
- package/dist/tabs-QBWdNfSK.js +0 -1
- package/dist/theme-toggle-Q3UHstP_.js +0 -1
- package/dist/toast-BOdziIGg.mjs +0 -424
- package/dist/toast-D1fjLwO1.js +0 -1
- package/dist/toggle-DtpvPox_.js +0 -1
- package/dist/toggle-group-UHY0Tip1.js +0 -1
- package/dist/tooltip-BbCL1gtU.mjs +0 -384
- package/dist/tooltip-BvpyStn2.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-DZiOPWLp.js"),a=require("./dist-YAADIsyo.js"),o=require("./dist-oyFh63Uq.js");let s=require("lucide-react"),c=require("react"),l=e.r(c,1);c=e.r(c);let u=require("react/jsx-runtime");var d=Object.defineProperty,f=(e,t)=>d(e,`name`,{value:t,configurable:!0}),p=`ContextMenu`,[m,h]=r.t(p,[o.g]),g=o.g(),[_,v]=m(p),y=f(e=>{let{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,dir:s,modal:c=!0}=e,d=l.useRef(!1),[f,m]=a.t({prop:i,defaultProp:!1,onChange:r,caller:p}),h=g(t);return(0,u.jsx)(_,{scope:t,open:f,onOpenChange:m,modal:c,hasInteractedRef:d,children:(0,u.jsx)(o.d,{...h,dir:s,open:f,onOpenChange:m,modal:c,children:n})})},`ContextMenu`),b=`ContextMenuTrigger`,x=l.forwardRef(f(function(e,t){let{__scopeContextMenu:r,disabled:a=!1,...s}=e,c=v(b,r),d=g(r),[p,m]=l.useState({x:0,y:0}),h=l.useMemo(()=>({current:{getBoundingClientRect:f(()=>DOMRect.fromRect({width:0,height:0,...p}),`getBoundingClientRect`)}}),[p]),_=l.useRef(0),y=l.useCallback(()=>window.clearTimeout(_.current),[]),x=f(e=>{c.hasInteractedRef.current=!0,m({x:e.clientX,y:e.clientY}),c.onOpenChange(!0)},`handleOpen`);return l.useEffect(()=>y,[y]),l.useEffect(()=>void(a&&y()),[a,y]),(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(o.t,{...d,virtualRef:h}),(0,u.jsx)(n.t.span,{"data-state":c.open?`open`:`closed`,"data-disabled":a?``:void 0,...s,ref:t,style:{WebkitTouchCallout:`none`,...e.style},onContextMenu:a?e.onContextMenu:i.t(e.onContextMenu,e=>{y(),x(e),e.preventDefault()}),onPointerDown:a?e.onPointerDown:i.t(e.onPointerDown,I(e=>{y(),c.open&&c.onOpenChange(!1),_.current=window.setTimeout(()=>x(e),700)})),onPointerMove:a?e.onPointerMove:i.t(e.onPointerMove,I(y)),onPointerCancel:a?e.onPointerCancel:i.t(e.onPointerCancel,I(y)),onPointerUp:a?e.onPointerUp:i.t(e.onPointerUp,I(y))})]})},`ContextMenuTrigger`)),S=f(e=>{let{__scopeContextMenu:t,...n}=e,r=g(t);return(0,u.jsx)(o.c,{...r,...n})},`ContextMenuPortal`),C=`ContextMenuContent`,ee=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=v(C,n),a=g(n),s=l.useRef(!1);return(0,u.jsx)(o.r,{...a,...r,ref:t,side:`right`,sideOffset:2,align:`start`,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),!t.defaultPrevented&&s.current&&t.preventDefault(),s.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),!t.defaultPrevented&&!i.modal&&(s.current=!0)},style:{...e.style,"--radix-context-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-context-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-context-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-context-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-context-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`ContextMenuContent`)),w=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.i,{...i,...r,ref:t})},`ContextMenuGroup`)),T=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.s,{...i,...r,ref:t})},`ContextMenuLabel`)),E=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.a,{...i,...r,ref:t})},`ContextMenuItem`)),D=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.n,{...i,...r,ref:t})},`ContextMenuCheckboxItem`)),O=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.l,{...i,...r,ref:t})},`ContextMenuRadioGroup`)),k=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.u,{...i,...r,ref:t})},`ContextMenuRadioItem`)),A=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.o,{...i,...r,ref:t})},`ContextMenuItemIndicator`)),j=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.f,{...i,...r,ref:t})},`ContextMenuSeparator`)),M=`ContextMenuSub`,N=f(e=>{let{__scopeContextMenu:t,children:n,onOpenChange:r,open:i,defaultOpen:s}=e,c=g(t),[l,d]=a.t({prop:i,defaultProp:s??!1,onChange:r,caller:M});return(0,u.jsx)(o.p,{...c,open:l,onOpenChange:d,children:n})},`ContextMenuSub`),P=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.h,{...i,...r,ref:t})},`ContextMenuSubTrigger`)),F=l.forwardRef(f(function(e,t){let{__scopeContextMenu:n,...r}=e,i=g(n);return(0,u.jsx)(o.m,{...i,...r,ref:t,style:{...e.style,"--radix-context-menu-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-context-menu-content-available-width":`var(--radix-popper-available-width)`,"--radix-context-menu-content-available-height":`var(--radix-popper-available-height)`,"--radix-context-menu-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-context-menu-trigger-height":`var(--radix-popper-anchor-height)`}})},`ContextMenuSubContent`));function I(e){return t=>t.pointerType===`mouse`?void 0:e(t)}f(I,`whenTouchOrPen`);var L=y,R=x,z=S,B=ee,V=w,H=T,U=E,te=D,W=O,G=k,K=A,q=j,J=N,Y=P,X=F;function Z({...e}){return(0,u.jsx)(L,{"data-slot":`context-menu`,...e})}function Q({className:e,...n}){return(0,u.jsx)(R,{"data-slot":`context-menu-trigger`,className:t.t(`select-none`,e),...n})}function ne({...e}){return(0,u.jsx)(V,{"data-slot":`context-menu-group`,...e})}function re({...e}){return(0,u.jsx)(z,{"data-slot":`context-menu-portal`,...e})}function ie({...e}){return(0,u.jsx)(J,{"data-slot":`context-menu-sub`,...e})}function ae({...e}){return(0,u.jsx)(W,{"data-slot":`context-menu-radio-group`,...e})}function oe({className:e,...n}){return(0,u.jsx)(z,{children:(0,u.jsx)(B,{"data-slot":`context-menu-content`,className:t.t(`bg-popover text-popover-foreground ring-foreground/10 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 max-h-(--radix-context-menu-content-available-height) min-w-36 origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-lg p-1 shadow-md ring-1 duration-100`,e),...n})})}function $({className:e,inset:n,variant:r=`default`,...i}){return(0,u.jsx)(U,{"data-slot":`context-menu-item`,"data-inset":n,"data-variant":r,className:t.t(`group/context-menu-item focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 data-[variant=destructive]:focus:text-destructive dark:data-[variant=destructive]:focus:bg-destructive/20 focus:*:[svg]:text-accent-foreground data-[variant=destructive]:*:[svg]:text-destructive relative flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i})}function se({className:e,inset:n,children:r,...i}){return(0,u.jsxs)(Y,{"data-slot":`context-menu-sub-trigger`,"data-inset":n,className:t.t(`focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground flex cursor-default items-center gap-1.5 rounded-md px-1.5 py-1 text-sm outline-hidden select-none data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[r,(0,u.jsx)(s.ChevronRightIcon,{className:`ms-auto rtl:rotate-180`})]})}function ce({className:e,...n}){return(0,u.jsx)(X,{"data-slot":`context-menu-sub-content`,className:t.t(`bg-popover text-popover-foreground data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95 z-50 min-w-32 origin-(--radix-context-menu-content-transform-origin) overflow-hidden rounded-lg border p-1 shadow-lg duration-100`,e),...n})}function le({className:e,children:n,checked:r,inset:i,...a}){return(0,u.jsxs)(te,{"data-slot":`context-menu-checkbox-item`,"data-inset":i,className:t.t(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),checked:r,...a,children:[(0,u.jsx)(`span`,{className:`pointer-events-none absolute end-2`,children:(0,u.jsx)(K,{children:(0,u.jsx)(s.CheckIcon,{})})}),n]})}function ue({className:e,children:n,inset:r,...i}){return(0,u.jsxs)(G,{"data-slot":`context-menu-radio-item`,"data-inset":r,className:t.t(`focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-1.5 rounded-md py-1 ps-1.5 pe-8 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-inset:ps-7 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4`,e),...i,children:[(0,u.jsx)(`span`,{className:`pointer-events-none absolute end-2`,children:(0,u.jsx)(K,{children:(0,u.jsx)(s.CheckIcon,{})})}),n]})}function de({className:e,inset:n,...r}){return(0,u.jsx)(H,{"data-slot":`context-menu-label`,"data-inset":n,className:t.t(`text-muted-foreground px-1.5 py-1 text-xs font-medium data-inset:ps-7`,e),...r})}function fe({className:e,...n}){return(0,u.jsx)(q,{"data-slot":`context-menu-separator`,className:t.t(`bg-border -mx-1 my-1 h-px`,e),...n})}function pe({className:e,...n}){return(0,u.jsx)(`span`,{"data-slot":`context-menu-shortcut`,className:t.t(`text-muted-foreground group-focus/context-menu-item:text-accent-foreground ms-auto text-xs tracking-widest`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return $}}),Object.defineProperty(exports,"c",{enumerable:!0,get:function(){return ae}}),Object.defineProperty(exports,"d",{enumerable:!0,get:function(){return pe}}),Object.defineProperty(exports,"f",{enumerable:!0,get:function(){return ie}}),Object.defineProperty(exports,"h",{enumerable:!0,get:function(){return Q}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return ne}}),Object.defineProperty(exports,"l",{enumerable:!0,get:function(){return ue}}),Object.defineProperty(exports,"m",{enumerable:!0,get:function(){return se}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return le}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return de}}),Object.defineProperty(exports,"p",{enumerable:!0,get:function(){return ce}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return oe}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return re}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"u",{enumerable:!0,get:function(){return fe}});
|
package/dist/dist-9-j0_8D1.mjs
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./dist-D7UHN1DJ.mjs";
|
|
2
|
-
import * as t from "react";
|
|
3
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-size@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-use-size/dist/index.mjs
|
|
4
|
-
var n = Object.defineProperty, r = (e, t) => n(e, "name", {
|
|
5
|
-
value: t,
|
|
6
|
-
configurable: !0
|
|
7
|
-
});
|
|
8
|
-
function i(n) {
|
|
9
|
-
let [r, i] = t.useState(void 0);
|
|
10
|
-
return e(() => {
|
|
11
|
-
if (n) {
|
|
12
|
-
i({
|
|
13
|
-
width: n.offsetWidth,
|
|
14
|
-
height: n.offsetHeight
|
|
15
|
-
});
|
|
16
|
-
let e = new ResizeObserver((e) => {
|
|
17
|
-
if (!Array.isArray(e) || !e.length) return;
|
|
18
|
-
let t = e[0], r, a;
|
|
19
|
-
if ("borderBoxSize" in t) {
|
|
20
|
-
let e = t.borderBoxSize, n = Array.isArray(e) ? e[0] : e;
|
|
21
|
-
r = n.inlineSize, a = n.blockSize;
|
|
22
|
-
} else r = n.offsetWidth, a = n.offsetHeight;
|
|
23
|
-
i({
|
|
24
|
-
width: r,
|
|
25
|
-
height: a
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
return e.observe(n, { box: "border-box" }), () => e.unobserve(n);
|
|
29
|
-
} else i(void 0);
|
|
30
|
-
}, [n]), r;
|
|
31
|
-
}
|
|
32
|
-
r(i, "useSize");
|
|
33
|
-
//#endregion
|
|
34
|
-
export { i as t };
|
package/dist/dist-BMl8xXCH.mjs
DELETED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { a as e, n as t } from "./dist-8fYwoWd4.mjs";
|
|
2
|
-
import { t as n } from "./dist-BQhMregZ.mjs";
|
|
3
|
-
import { t as r } from "./dist-DMwCTE2i.mjs";
|
|
4
|
-
import { t as i } from "./dist-DyMv0xk8.mjs";
|
|
5
|
-
import { t as a } from "./dist-D7UHN1DJ.mjs";
|
|
6
|
-
import { t as o } from "./dist-BUXpRW9O.mjs";
|
|
7
|
-
import { t as s } from "./dist-Dg9ASyqI.mjs";
|
|
8
|
-
import { t as c } from "./dist-CBsYNwXz.mjs";
|
|
9
|
-
import { i as l, n as u } from "./dist-CYrqAnIr.mjs";
|
|
10
|
-
import { i as d, n as f, r as p, t as m } from "./es2015-CYxXY2oV.mjs";
|
|
11
|
-
import { t as h } from "./dist-rx5WaFf5.mjs";
|
|
12
|
-
import * as g from "react";
|
|
13
|
-
import { Fragment as _, jsx as v } from "react/jsx-runtime";
|
|
14
|
-
//#region ../../node_modules/.bun/@radix-ui+react-dialog@1.1.23+2b23df507bdda662/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
15
|
-
var y = Object.defineProperty, b = (e, t) => y(e, "name", {
|
|
16
|
-
value: t,
|
|
17
|
-
configurable: !0
|
|
18
|
-
}), x = "Dialog", [S, C] = r(x), [w, T] = S(x), E = /* @__PURE__ */ b((e) => {
|
|
19
|
-
let { __scopeDialog: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !0 } = e, l = g.useRef(null), u = g.useRef(null), [d, f] = o({
|
|
20
|
-
prop: r,
|
|
21
|
-
defaultProp: i ?? !1,
|
|
22
|
-
onChange: a,
|
|
23
|
-
caller: x
|
|
24
|
-
}), [p, m] = g.useState(0), [h, _] = g.useState(0);
|
|
25
|
-
return /* @__PURE__ */ v(w, {
|
|
26
|
-
scope: t,
|
|
27
|
-
triggerRef: l,
|
|
28
|
-
contentRef: u,
|
|
29
|
-
contentId: c(),
|
|
30
|
-
titleId: c(),
|
|
31
|
-
descriptionId: c(),
|
|
32
|
-
titlePresent: p > 0,
|
|
33
|
-
descriptionPresent: h > 0,
|
|
34
|
-
setTitleCount: m,
|
|
35
|
-
setDescriptionCount: _,
|
|
36
|
-
open: d,
|
|
37
|
-
onOpenChange: f,
|
|
38
|
-
onOpenToggle: g.useCallback(() => f((e) => !e), [f]),
|
|
39
|
-
modal: s,
|
|
40
|
-
children: n
|
|
41
|
-
});
|
|
42
|
-
}, "Dialog"), D = "DialogTrigger", O = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(t, r) {
|
|
43
|
-
let { __scopeDialog: a, ...o } = t, s = T(D, a), c = e(r, s.triggerRef);
|
|
44
|
-
return /* @__PURE__ */ v(n.button, {
|
|
45
|
-
type: "button",
|
|
46
|
-
"aria-haspopup": "dialog",
|
|
47
|
-
"aria-expanded": s.open,
|
|
48
|
-
"aria-controls": s.open ? s.contentId : void 0,
|
|
49
|
-
"data-state": J(s.open),
|
|
50
|
-
...o,
|
|
51
|
-
ref: c,
|
|
52
|
-
onClick: i(t.onClick, s.onOpenToggle)
|
|
53
|
-
});
|
|
54
|
-
}, "DialogTrigger")), k = "DialogPortal", [A, j] = S(k, { forceMount: void 0 }), M = /* @__PURE__ */ b((e) => {
|
|
55
|
-
let { __scopeDialog: t, forceMount: n, children: r, container: i } = e, a = T(k, t);
|
|
56
|
-
return /* @__PURE__ */ v(A, {
|
|
57
|
-
scope: t,
|
|
58
|
-
forceMount: n,
|
|
59
|
-
children: g.Children.map(r, (e) => /* @__PURE__ */ v(s, {
|
|
60
|
-
present: n || a.open,
|
|
61
|
-
children: /* @__PURE__ */ v(h, {
|
|
62
|
-
asChild: !0,
|
|
63
|
-
container: i,
|
|
64
|
-
children: e
|
|
65
|
-
})
|
|
66
|
-
}))
|
|
67
|
-
});
|
|
68
|
-
}, "DialogPortal"), N = "DialogOverlay", P = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
69
|
-
let n = j(N, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = T(N, e.__scopeDialog);
|
|
70
|
-
return a.modal ? /* @__PURE__ */ v(s, {
|
|
71
|
-
present: r || a.open,
|
|
72
|
-
children: /* @__PURE__ */ v(I, {
|
|
73
|
-
...i,
|
|
74
|
-
ref: t
|
|
75
|
-
})
|
|
76
|
-
}) : null;
|
|
77
|
-
}, "DialogOverlay")), F = t("DialogOverlay.RemoveScroll"), I = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(t, r) {
|
|
78
|
-
let { __scopeDialog: i, ...a } = t, o = T(N, i), s = e(r, l());
|
|
79
|
-
return /* @__PURE__ */ v(f, {
|
|
80
|
-
as: F,
|
|
81
|
-
allowPinchZoom: !0,
|
|
82
|
-
shards: [o.contentRef],
|
|
83
|
-
children: /* @__PURE__ */ v(n.div, {
|
|
84
|
-
"data-state": J(o.open),
|
|
85
|
-
...a,
|
|
86
|
-
ref: s,
|
|
87
|
-
style: {
|
|
88
|
-
pointerEvents: "auto",
|
|
89
|
-
...a.style
|
|
90
|
-
}
|
|
91
|
-
})
|
|
92
|
-
});
|
|
93
|
-
}, "DialogOverlayImpl")), L = "DialogContent", R = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
94
|
-
let n = j(L, e.__scopeDialog), { forceMount: r = n.forceMount, ...i } = e, a = T(L, e.__scopeDialog);
|
|
95
|
-
return /* @__PURE__ */ v(s, {
|
|
96
|
-
present: r || a.open,
|
|
97
|
-
children: a.modal ? /* @__PURE__ */ v(z, {
|
|
98
|
-
...i,
|
|
99
|
-
ref: t
|
|
100
|
-
}) : /* @__PURE__ */ v(B, {
|
|
101
|
-
...i,
|
|
102
|
-
ref: t
|
|
103
|
-
})
|
|
104
|
-
});
|
|
105
|
-
}, "DialogContent")), z = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(t, n) {
|
|
106
|
-
let r = T(L, t.__scopeDialog), a = g.useRef(null), o = e(n, r.contentRef, a);
|
|
107
|
-
return g.useEffect(() => {
|
|
108
|
-
let e = a.current;
|
|
109
|
-
if (e) return m(e);
|
|
110
|
-
}, []), /* @__PURE__ */ v(V, {
|
|
111
|
-
...t,
|
|
112
|
-
ref: o,
|
|
113
|
-
trapFocus: r.open,
|
|
114
|
-
disableOutsidePointerEvents: r.open,
|
|
115
|
-
onCloseAutoFocus: i(t.onCloseAutoFocus, (e) => {
|
|
116
|
-
e.preventDefault(), r.triggerRef.current?.focus();
|
|
117
|
-
}),
|
|
118
|
-
onPointerDownOutside: i(t.onPointerDownOutside, (e) => {
|
|
119
|
-
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
120
|
-
(t.button === 2 || n) && e.preventDefault();
|
|
121
|
-
}),
|
|
122
|
-
onFocusOutside: i(t.onFocusOutside, (e) => e.preventDefault())
|
|
123
|
-
});
|
|
124
|
-
}, "DialogContentModal")), B = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
125
|
-
let n = T(L, e.__scopeDialog), r = g.useRef(!1), i = g.useRef(!1);
|
|
126
|
-
return /* @__PURE__ */ v(V, {
|
|
127
|
-
...e,
|
|
128
|
-
ref: t,
|
|
129
|
-
trapFocus: !1,
|
|
130
|
-
disableOutsidePointerEvents: !1,
|
|
131
|
-
onCloseAutoFocus: (t) => {
|
|
132
|
-
e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
|
|
133
|
-
},
|
|
134
|
-
onInteractOutside: (t) => {
|
|
135
|
-
e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
136
|
-
let a = t.target;
|
|
137
|
-
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
}, "DialogContentNonModal")), V = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
141
|
-
let { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, ...o } = e, s = T(L, n);
|
|
142
|
-
return p(), /* @__PURE__ */ v(_, { children: /* @__PURE__ */ v(d, {
|
|
143
|
-
asChild: !0,
|
|
144
|
-
loop: !0,
|
|
145
|
-
trapped: r,
|
|
146
|
-
onMountAutoFocus: i,
|
|
147
|
-
onUnmountAutoFocus: a,
|
|
148
|
-
children: /* @__PURE__ */ v(u, {
|
|
149
|
-
role: "dialog",
|
|
150
|
-
id: s.contentId,
|
|
151
|
-
"aria-describedby": s.descriptionPresent ? s.descriptionId : void 0,
|
|
152
|
-
"aria-labelledby": s.titlePresent ? s.titleId : void 0,
|
|
153
|
-
"data-state": J(s.open),
|
|
154
|
-
...o,
|
|
155
|
-
ref: t,
|
|
156
|
-
deferPointerDownOutside: !0,
|
|
157
|
-
onDismiss: () => s.onOpenChange(!1)
|
|
158
|
-
})
|
|
159
|
-
}) });
|
|
160
|
-
}, "DialogContentImpl")), H = "DialogTitle", U = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
161
|
-
let { __scopeDialog: r, ...i } = e, o = T(H, r), { setTitleCount: s } = o;
|
|
162
|
-
return a(() => (s((e) => e + 1), () => s((e) => e - 1)), [s]), /* @__PURE__ */ v(n.h2, {
|
|
163
|
-
id: o.titleId,
|
|
164
|
-
...i,
|
|
165
|
-
ref: t
|
|
166
|
-
});
|
|
167
|
-
}, "DialogTitle")), W = "DialogDescription", G = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
168
|
-
let { __scopeDialog: r, ...i } = e, o = T(W, r), { setDescriptionCount: s } = o;
|
|
169
|
-
return a(() => (s((e) => e + 1), () => s((e) => e - 1)), [s]), /* @__PURE__ */ v(n.p, {
|
|
170
|
-
id: o.descriptionId,
|
|
171
|
-
...i,
|
|
172
|
-
ref: t
|
|
173
|
-
});
|
|
174
|
-
}, "DialogDescription")), K = "DialogClose", q = /* @__PURE__ */ g.forwardRef(/* @__PURE__ */ b(function(e, t) {
|
|
175
|
-
let { __scopeDialog: r, ...a } = e, o = T(K, r);
|
|
176
|
-
return /* @__PURE__ */ v(n.button, {
|
|
177
|
-
type: "button",
|
|
178
|
-
...a,
|
|
179
|
-
ref: t,
|
|
180
|
-
onClick: i(e.onClick, () => o.onOpenChange(!1))
|
|
181
|
-
});
|
|
182
|
-
}, "DialogClose"));
|
|
183
|
-
function J(e) {
|
|
184
|
-
return e ? "open" : "closed";
|
|
185
|
-
}
|
|
186
|
-
b(J, "getState");
|
|
187
|
-
//#endregion
|
|
188
|
-
export { P as a, O as c, G as i, C as l, q as n, M as o, R as r, U as s, E as t };
|
package/dist/dist-BOKg7rhq.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(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])}r(i,`usePrevious`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
package/dist/dist-BPhn-EOy.mjs
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-callback-ref@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
3
|
-
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
|
-
value: n,
|
|
5
|
-
configurable: !0
|
|
6
|
-
});
|
|
7
|
-
function r(t) {
|
|
8
|
-
let n = e.useRef(t);
|
|
9
|
-
return e.useEffect(() => {
|
|
10
|
-
n.current = t;
|
|
11
|
-
}), e.useMemo(() => ((...e) => n.current?.(...e)), []);
|
|
12
|
-
}
|
|
13
|
-
n(r, "useCallbackRef");
|
|
14
|
-
//#endregion
|
|
15
|
-
export { r as t };
|
package/dist/dist-Bivv8B6p.mjs
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as e from "react";
|
|
2
|
-
//#region ../../node_modules/.bun/@radix-ui+react-use-previous@1.1.4+0ac650c021fb1b59/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
3
|
-
var t = Object.defineProperty, n = (e, n) => t(e, "name", {
|
|
4
|
-
value: n,
|
|
5
|
-
configurable: !0
|
|
6
|
-
});
|
|
7
|
-
function r(t) {
|
|
8
|
-
let n = e.useRef({
|
|
9
|
-
value: t,
|
|
10
|
-
previous: t
|
|
11
|
-
});
|
|
12
|
-
return e.useMemo(() => (n.current.value !== t && (n.current.previous = n.current.value, n.current.value = t), n.current.previous), [t]);
|
|
13
|
-
}
|
|
14
|
-
n(r, "usePrevious");
|
|
15
|
-
//#endregion
|
|
16
|
-
export { r as t };
|
package/dist/dist-C83rnWRv.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js");let t=require("react");t=e.r(t,1);var n=Object.defineProperty,r=(e,t)=>n(e,`name`,{value:t,configurable:!0});function i(e){let n=t.useRef(e);return t.useEffect(()=>{n.current=e}),t.useMemo(()=>((...e)=>n.current?.(...e)),[])}r(i,`useCallbackRef`),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return i}});
|
package/dist/dist-Cn7g8jD0.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-NEeQKKDZ.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.js"),i=require("./dist-CGgemr2V.js"),a=require("./dist-C83rnWRv.js"),o=require("./dist-N_70prl1.js"),s=require("./floating-ui.react-dom-BwFRxNGc.js");let c=require("react");c=e.r(c,1);let l=require("react/jsx-runtime");var u=Object.defineProperty,d=c.forwardRef(((e,t)=>u(e,`name`,{value:t,configurable:!0}))(function(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`})})},`Arrow`)),f=Object.defineProperty,p=(e,t)=>f(e,`name`,{value:t,configurable:!0}),m=`Popper`,[h,g]=r.t(m),[_,v]=h(m),y=p(e=>{let{__scopePopper:t,children:n}=e,[r,i]=c.useState(null),[a,o]=c.useState(void 0);return(0,l.jsx)(_,{scope:t,anchor:r,onAnchorChange:i,placementState:a,setPlacementState:o,children:n})},`Popper`),b=`PopperAnchor`,x=c.forwardRef(p(function(e,r){let{__scopePopper:i,virtualRef:a,...o}=e,s=v(b,i),u=c.useRef(null),d=s.onAnchorChange,f=t.a(r,c.useCallback(e=>{u.current=e,e&&d(e)},[d])),p=c.useRef(null);c.useEffect(()=>{if(!a)return;let e=p.current;p.current=a.current,e!==p.current&&d(p.current)});let m=s.placementState&&j(s.placementState),h=m?.[0],g=m?.[1];return a?null:(0,l.jsx)(n.t.div,{"data-radix-popper-side":h,"data-radix-popper-align":g,...o,ref:f})},`PopperAnchor`)),S=`PopperContent`,[C,w]=h(S),T=c.forwardRef(p(function(e,r){let{__scopePopper:u,side:d=`bottom`,sideOffset:f=0,align:m=`center`,alignOffset:h=0,arrowPadding:g=0,avoidCollisions:_=!0,collisionBoundary:y=[],collisionPadding:b=0,sticky:x=`partial`,hideWhenDetached:w=!1,updatePositionStrategy:T=`optimized`,onPlaced:E,...D}=e,O=v(S,u),[M,N]=c.useState(null),P=t.a(r,N),[F,I]=c.useState(null),L=o.t(F),R=L?.width??0,z=L?.height??0,B=d+(m===`center`?``:`-`+m),V=typeof b==`number`?b:{top:0,right:0,bottom:0,left:0,...b},H=Array.isArray(y)?y:[y],U=H.length>0,W={padding:V,boundary:H.filter(k),altBoundary:U},{refs:G,floatingStyles:K,placement:q,isPositioned:J,middlewareData:Y}=s.c({strategy:`fixed`,placement:B,whileElementsMounted:p((...e)=>s.l(...e,{animationFrame:T===`always`}),`whileElementsMounted`),elements:{reference:O.anchor},middleware:[s.a({mainAxis:f+z,alignmentAxis:h}),_&&s.o({mainAxis:!0,crossAxis:!1,limiter:x===`partial`?s.i():void 0,...W}),_&&s.n({...W}),s.s({...W,apply:p(({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`)},`apply`)}),F&&s.t({element:F,padding:g}),A({arrowWidth:R,arrowHeight:z}),w&&s.r({strategy:`referenceHidden`,...W,boundary:U?W.boundary:void 0})]}),X=O.setPlacementState;i.t(()=>(X(q),()=>{X(void 0)}),[q,X]);let[Z,Q]=j(q),$=a.t(E);i.t(()=>{J&&$?.()},[J,$]);let ee=Y.arrow?.x,te=Y.arrow?.y,ne=Y.arrow?.centerOffset!==0,[re,ie]=c.useState();return i.t(()=>{M&&ie(window.getComputedStyle(M).zIndex)},[M]),(0,l.jsx)(`div`,{ref:G.setFloating,"data-radix-popper-content-wrapper":``,style:{...K,transform:J?K.transform:`translate(0, -200%)`,minWidth:`max-content`,zIndex:re,"--radix-popper-transform-origin":[Y.transformOrigin?.x,Y.transformOrigin?.y].join(` `),...Y.hide?.referenceHidden&&{visibility:`hidden`,pointerEvents:`none`}},dir:e.dir,children:(0,l.jsx)(C,{scope:u,placedSide:Z,placedAlign:Q,onArrowChange:I,arrowX:ee,arrowY:te,shouldHideArrow:ne,children:(0,l.jsx)(n.t.div,{"data-side":Z,"data-align":Q,...D,ref:P,style:{...D.style,animation:J?D.style?.animation:`none`}})})})},`PopperContent`)),E=`PopperArrow`,D={top:`bottom`,right:`left`,bottom:`top`,left:`right`},O=c.forwardRef(p(function(e,t){let{__scopePopper:n,...r}=e,i=w(E,n),a=D[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)(d,{...r,ref:t,style:{...r.style,display:`block`}})})},`PopperArrow`));function k(e){return e!==null}p(k,`isNotNull`);var A=p(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]=j(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}}}}),`transformOrigin`);function j(e){let[t,n=`center`]=e.split(`-`);return[t,n]}p(j,`getSideAndAlignFromPlacement`);var M=y,N=x,P=T,F=O;Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return g}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return M}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return F}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return P}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return N}});
|