@gv-tech/ui-web 2.29.0 → 2.29.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +0 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-Bd0-CZQn.js +1 -0
- package/dist/accordion-Cf6DNbLH.mjs +244 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +1 -1
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -2
- package/dist/{alert-dialog-BkUyJb_F.mjs → alert-dialog-BxFH0Lwn.mjs} +73 -75
- package/dist/alert-dialog-C6vNmGBL.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +1 -1
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +1 -2
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +1 -1
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +4 -5
- package/dist/{aspect-ratio-C7oBX-p_.mjs → aspect-ratio-CdQevcDV.mjs} +4 -6
- package/dist/aspect-ratio-Z4Nkc56X.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +2 -2
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -2
- package/dist/attachment.cjs +1 -1
- package/dist/attachment.d.ts +2 -2
- package/dist/attachment.d.ts.map +1 -1
- package/dist/attachment.mjs +5 -6
- package/dist/avatar-B5PWwGhY.mjs +136 -0
- package/dist/avatar-CFhYRM52.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +1 -1
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +1 -2
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +6 -7
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +3 -6
- package/dist/bubble.cjs +1 -1
- package/dist/bubble.d.ts +1 -1
- package/dist/bubble.d.ts.map +1 -1
- package/dist/bubble.mjs +6 -7
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +4 -4
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +5 -7
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +1 -1
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +5 -6
- package/dist/calendar-D5qgt2o2.js +1 -0
- package/dist/{calendar-CkHWa9Uu.mjs → calendar-DIqXNjOR.mjs} +732 -879
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +1 -1
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -2
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +2 -3
- package/dist/carousel-D-xEqRCX.js +1 -0
- package/dist/{carousel-ynaeMNIV.mjs → carousel-DPjWmM_A.mjs} +15 -19
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +3 -3
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -2
- package/dist/chart.cjs +2 -2
- package/dist/chart.mjs +14 -15
- package/dist/{checkbox-BLvAEmRC.mjs → checkbox-DEPm1BBc.mjs} +70 -68
- package/dist/checkbox-DI9Hn_e_.js +1 -0
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +1 -1
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -2
- package/dist/chunk-HBS6WEDP-D2-yWzIN.js +1 -0
- package/dist/{chunk-HBS6WEDP-CzyhzCaP.mjs → chunk-HBS6WEDP-DD8ZmxRM.mjs} +3 -4
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +4 -4
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +8 -9
- package/dist/combobox-C4y8AbZX.mjs +5644 -0
- package/dist/combobox-boXp-mix.js +3 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -2
- package/dist/command-BnW6UIVk.js +1 -0
- package/dist/{command-DY6u8V0D.mjs → command-Cbsp7PBx.mjs} +121 -124
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +1 -1
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -2
- package/dist/context-menu-CwsdFpx1.js +1 -0
- package/dist/{context-menu-tL6CY6a0.mjs → context-menu-FNgV55ZV.mjs} +137 -140
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +1 -1
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +1 -1
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +3 -4
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +2 -3
- package/dist/dist-7YyzJonC.mjs +39 -0
- package/dist/dist-AlmToDtO.mjs +17 -0
- package/dist/{dist-DyMv0xk8.mjs → dist-B76UOZbx.mjs} +1 -2
- package/dist/{dist-BQhMregZ.mjs → dist-B7Ph9-T6.mjs} +2 -3
- package/dist/dist-B7jnFMko.js +1 -0
- package/dist/{dist-CS572Be42.mjs → dist-BOiFyvyS.mjs} +1 -2
- package/dist/dist-BQkDLAY7.js +1 -0
- package/dist/dist-Bal96K8t.js +1 -0
- package/dist/dist-Blgp9lfa.js +1 -0
- package/dist/{dist-Dg9ASyqI.mjs → dist-BnlI08Je.mjs} +4 -4
- package/dist/{dist-5r7hQmO0.mjs → dist-Bu-uFV1C.mjs} +60 -56
- package/dist/dist-C2BHd5i1.mjs +460 -0
- package/dist/{dist-8fYwoWd4.mjs → dist-C516Vwxy.mjs} +23 -18
- package/dist/dist-CBlqVBTk.js +1 -0
- package/dist/dist-CDcZ8WMF.js +1 -0
- package/dist/dist-CDksSmTD.mjs +189 -0
- package/dist/dist-CF-qVmmV.js +1 -0
- package/dist/dist-CIgGRTmJ.js +1 -0
- package/dist/dist-CJqVmdrU.js +1 -0
- package/dist/{dist-DMwCTE2i.mjs → dist-COqM3IM6.mjs} +3 -4
- package/dist/{dist-CYrqAnIr.mjs → dist-CbWpCWog.mjs} +13 -15
- package/dist/{dist-rx5WaFf5.mjs → dist-CcGLWbPa.mjs} +3 -4
- package/dist/dist-Cn4F8XlY.mjs +220 -0
- package/dist/dist-CoTs6T03.js +1 -0
- package/dist/dist-Co_xSt6d.js +1 -0
- package/dist/{dist-CBsYNwXz.mjs → dist-Cu0GG-3j.mjs} +2 -3
- package/dist/{dist-BUXpRW9O.mjs → dist-DKI-XYwI.mjs} +3 -5
- package/dist/dist-DQeXXRYL.mjs +201 -0
- package/dist/dist-DW2ltK5-.js +1 -0
- package/dist/dist-DWcKY_sJ.js +1 -0
- package/dist/dist-DdAeWIwf.js +1 -0
- package/dist/dist-DhubV_gU.mjs +4 -0
- package/dist/dist-DmY7elIQ.js +1 -0
- package/dist/{dist-Dm3IQk5b.mjs → dist-DoWtzxYc.mjs} +234 -235
- package/dist/dist-DuQlxGyN.js +1 -0
- package/dist/dist-KFF7QKuL.js +1 -0
- package/dist/dist-RXrZgzkO.js +1 -0
- package/dist/dist-R_G5UQRm.js +1 -0
- package/dist/dist-dwRwxUPt.mjs +22 -0
- package/dist/dist-fzmUl3YX.mjs +553 -0
- package/dist/{dist-ByW6RHeZ.mjs → dist-hBsne-A2.mjs} +24 -26
- package/dist/{dist-BIXhHahX.mjs → dist-ljiGYyay.mjs} +4 -5
- package/dist/dist-pqMcQ1Nk.js +1 -0
- package/dist/dist-zmnQp5Xf.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +1 -1
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -3
- package/dist/dropdown-menu-ChuqZeix.js +1 -0
- package/dist/{dropdown-menu-BWqWoYis.mjs → dropdown-menu-DU7KNoXP.mjs} +131 -133
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +1 -1
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -2
- package/dist/empty.cjs +1 -1
- package/dist/empty.d.ts +7 -7
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +3 -4
- package/dist/es2015-BooeZGhO.mjs +554 -0
- package/dist/es2015-Dggv0vx3.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +12 -12
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +6 -8
- package/dist/{floating-ui.react-dom-CyupHsR6.mjs → floating-ui.react-dom-2hihjuTL.mjs} +12 -17
- package/dist/floating-ui.react-dom-BtFIezY4.js +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +3 -3
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +19 -20
- package/dist/hooks/use-theme.d.ts +52 -52
- package/dist/hover-card-BeqCs_2R.js +1 -0
- package/dist/hover-card-w8PmCyw2.mjs +176 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +66 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +3 -3
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +5 -11
- package/dist/{input-otp-m_BTudNY.mjs → input-otp-Bn_Uy1mR.mjs} +7 -18
- package/dist/input-otp-CTRB_0Xp.js +20 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +1 -1
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -2
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +2 -3
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +2 -2
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +7 -9
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -3
- package/dist/{label-DVA-YKpB.mjs → label-Da0kELfR.mjs} +4 -6
- package/dist/label-JMa1tFfC.js +1 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +1 -1
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -2
- package/dist/marker.cjs +1 -1
- package/dist/marker.d.ts +1 -1
- package/dist/marker.d.ts.map +1 -1
- package/dist/marker.mjs +6 -7
- package/dist/menubar-B7sRxpE4.mjs +405 -0
- package/dist/menubar-Bd-QKMcw.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +1 -1
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -2
- package/dist/{message-scroller-FwdKclRM.mjs → message-scroller-B8AU0v3Y.mjs} +83 -102
- package/dist/message-scroller-BJb4Mh_I.js +1 -0
- package/dist/message-scroller.cjs +1 -1
- package/dist/message-scroller.d.ts +1 -1
- package/dist/message-scroller.d.ts.map +1 -1
- package/dist/message-scroller.mjs +1 -2
- package/dist/message.cjs +1 -1
- package/dist/message.d.ts.map +1 -1
- package/dist/message.mjs +2 -3
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +2 -3
- package/dist/navigation-menu-B-RwfscB.mjs +638 -0
- package/dist/navigation-menu-kPwxYZCR.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +1 -1
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -2
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +2 -2
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +5 -5
- package/dist/popover-Cq5cTNtC.js +1 -0
- package/dist/popover-T6Ra737i.mjs +241 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +1 -1
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -2
- package/dist/{progress-ClcVCqjl.mjs → progress-e9YzxvRo.mjs} +15 -18
- package/dist/progress-iUSEI7J9.js +6 -0
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +1 -1
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -2
- package/dist/{questionnaire-DKWcZeWT.mjs → questionnaire-BLCvUX1C.mjs} +153 -175
- package/dist/questionnaire-CcymIPae.js +1 -0
- package/dist/questionnaire.cjs +1 -1
- package/dist/questionnaire.d.ts +1 -1
- package/dist/questionnaire.d.ts.map +1 -1
- package/dist/questionnaire.mjs +1 -2
- package/dist/{radio-group-5VwmCXRK.mjs → radio-group-BKpiDcIb.mjs} +76 -77
- package/dist/radio-group-DPEzCmxe.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.mjs +1 -2
- package/dist/resizable-ByF0NmN9.mjs +2153 -0
- package/dist/resizable-oL3v42zT.js +1 -0
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.mjs +1 -2
- package/dist/{chunk-BmowowmI.mjs → rolldown-runtime-D7yIeQp2.mjs} +2 -3
- package/dist/rolldown-runtime-DbbDpzbe.js +1 -0
- package/dist/scroll-area-BzNeOQ6C.mjs +568 -0
- package/dist/scroll-area-s4_ZJK59.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +1 -1
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -2
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +13 -16
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +12 -13
- package/dist/select-B_nRxX2Y.mjs +831 -0
- package/dist/select-j5_dph9S.js +1 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +1 -1
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -2
- package/dist/separator-Bn-3XUSJ.js +1 -0
- package/dist/separator-CCcMNS78.mjs +38 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +1 -1
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -2
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +1 -1
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +3 -4
- package/dist/{sidebar-B5q6nH2G.mjs → sidebar-C2ax_A0G.mjs} +50 -52
- package/dist/sidebar-Cnem2n5A.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +1 -1
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -2
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +2 -3
- package/dist/slider-B2PUTc7W.mjs +484 -0
- package/dist/slider-wZuXwuib.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +1 -1
- package/dist/slider.d.ts.map +1 -1
- package/dist/slider.mjs +1 -2
- package/dist/sonner.d.ts +1 -1
- package/dist/sonner.mjs +1 -2
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +2 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +10 -7
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +21 -22
- package/dist/switch-CD675xU7.js +1 -0
- package/dist/{switch-DagjjAQu.mjs → switch-ikzIzrme.mjs} +66 -64
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +1 -1
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -2
- package/dist/table-of-contents.cjs +1 -1
- package/dist/table-of-contents.d.ts +5 -10
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +6 -6
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +2 -3
- package/dist/{tabs-OQ6rj-3B.mjs → tabs-DCm5zOYB.mjs} +73 -73
- package/dist/tabs-fcahDQDp.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +1 -1
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -2
- package/dist/text.cjs +1 -1
- package/dist/text.d.ts +1 -1
- package/dist/text.d.ts.map +1 -1
- package/dist/text.mjs +17 -15
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +2 -3
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/theme-provider.mjs +1 -2
- package/dist/theme-toggle-BGTJsIA-.js +1 -0
- package/dist/{theme-toggle-BCcH-QtH.mjs → theme-toggle-BSMwXb8o.mjs} +29 -22
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.d.ts +1 -1
- package/dist/theme-toggle.d.ts.map +1 -1
- package/dist/theme-toggle.mjs +1 -2
- package/dist/toast-C31v9P1K.js +1 -0
- package/dist/toast-vU5ISM03.mjs +445 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.d.ts +1 -1
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.mjs +1 -2
- package/dist/toaster-CaJyOCyC.js +1 -0
- package/dist/{toaster-CKAJ9cht.mjs → toaster-D2BV6jez.mjs} +3 -5
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.d.ts +1 -1
- package/dist/toaster.d.ts.map +1 -1
- package/dist/toaster.mjs +1 -2
- package/dist/toggle-CSZdCCwX.js +1 -0
- package/dist/{toggle-CuLxBIWH.mjs → toggle-Cv9YYwLI.mjs} +14 -15
- package/dist/toggle-group-RT8wyBwK.js +1 -0
- package/dist/toggle-group-qvjasXS-.mjs +166 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +1 -1
- package/dist/toggle-group.d.ts.map +1 -1
- package/dist/toggle-group.mjs +1 -2
- package/dist/toggle.cjs +1 -1
- package/dist/toggle.d.ts +1 -1
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +1 -2
- package/dist/tooltip-7ERoN5mV.mjs +386 -0
- package/dist/tooltip-CC9_spXT.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -2
- package/dist/{utils-A_oVsYw5.mjs → utils-DQKc9joa.mjs} +1 -2
- package/package.json +18 -18
- package/src/__contracts.ts +318 -321
- package/src/accordion.tsx +1 -2
- package/src/alert-dialog.tsx +1 -2
- package/src/alert.tsx +3 -4
- package/src/aspect-ratio.tsx +1 -2
- package/src/attachment.tsx +8 -9
- package/src/avatar.tsx +1 -2
- package/src/badge.tsx +2 -3
- package/src/breadcrumb.tsx +1 -4
- package/src/bubble.tsx +7 -8
- package/src/button-group.tsx +2 -3
- package/src/button.tsx +3 -4
- package/src/calendar.tsx +8 -9
- package/src/card.tsx +1 -2
- package/src/carousel.tsx +9 -10
- package/src/checkbox.tsx +1 -2
- package/src/collapsible.tsx +1 -2
- package/src/combobox.tsx +6 -7
- package/src/command.tsx +1 -2
- package/src/context-menu.tsx +1 -2
- package/src/dialog.tsx +1 -2
- package/src/direction.tsx +1 -2
- package/src/drawer.tsx +1 -2
- package/src/dropdown-menu.tsx +1 -2
- package/src/empty.tsx +2 -3
- package/src/field.tsx +9 -11
- package/src/form.tsx +8 -8
- package/src/hooks/use-mobile.ts +1 -1
- package/src/hover-card.tsx +1 -2
- package/src/input-group.tsx +12 -21
- package/src/input-otp.tsx +5 -6
- package/src/input.tsx +1 -2
- package/src/item.tsx +10 -12
- package/src/kbd.tsx +1 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +4 -5
- package/src/menubar.tsx +1 -2
- package/src/message-scroller.tsx +9 -10
- package/src/message.tsx +2 -3
- package/src/native-select.tsx +3 -4
- package/src/navigation-menu.tsx +2 -3
- package/src/pagination.tsx +5 -4
- package/src/popover.tsx +1 -2
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +6 -7
- package/src/scroll-area.tsx +1 -2
- package/src/scroll-to-top.tsx +7 -2
- package/src/search.tsx +2 -1
- package/src/select.tsx +1 -2
- package/src/separator.tsx +1 -2
- package/src/setupTests.ts +9 -9
- package/src/sheet.tsx +1 -2
- package/src/sidebar.tsx +15 -16
- package/src/skeleton.tsx +1 -2
- package/src/slider.tsx +1 -2
- package/src/spinner.tsx +8 -7
- package/src/support-fab.tsx +5 -1
- package/src/switch.tsx +1 -2
- package/src/table-of-contents.tsx +8 -11
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +2 -3
- package/src/text.tsx +4 -4
- package/src/textarea.tsx +1 -2
- package/src/theme-provider.tsx +1 -1
- package/src/theme-toggle.tsx +26 -23
- package/src/toast.tsx +3 -4
- package/src/toaster.tsx +2 -1
- package/src/toggle-group.tsx +1 -2
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +1 -2
- package/dist/accordion-BgbjpZAF.js +0 -1
- package/dist/accordion-Bqt-y-u7.mjs +0 -239
- package/dist/alert-dialog-DonbkCSD.js +0 -1
- package/dist/aspect-ratio-X3HWxQz0.js +0 -1
- package/dist/avatar-DTkhTxt7.mjs +0 -133
- package/dist/avatar-DhvZbCtI.js +0 -1
- package/dist/calendar-Bo8kovKR.js +0 -1
- package/dist/carousel-Cv5isLeg.js +0 -1
- package/dist/checkbox-Dt06B4YW.js +0 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +0 -1
- package/dist/chunk-mLOUI7ql.js +0 -1
- package/dist/combobox-BB_YzCTY.js +0 -4
- package/dist/combobox-YxjYGUoe.mjs +0 -5748
- package/dist/command-BqO-CfH6.js +0 -1
- package/dist/context-menu-Dad9hs94.js +0 -1
- package/dist/dist-6c2NeKfz.mjs +0 -536
- package/dist/dist-9-j0_8D1.mjs +0 -34
- package/dist/dist-BMl8xXCH.mjs +0 -188
- package/dist/dist-BOKg7rhq.js +0 -1
- package/dist/dist-BPhn-EOy.mjs +0 -15
- package/dist/dist-BTN2t9yv.js +0 -1
- package/dist/dist-Bivv8B6p.mjs +0 -16
- package/dist/dist-BoNQb2nd.js +0 -1
- package/dist/dist-C83rnWRv.js +0 -1
- package/dist/dist-C8Pm6LRc.js +0 -1
- package/dist/dist-CGgemr2V.js +0 -1
- package/dist/dist-C_iFkwIX.js +0 -1
- package/dist/dist-CdBAkUWT.js +0 -1
- package/dist/dist-Cn7g8jD0.js +0 -1
- package/dist/dist-D7-Fky36.js +0 -1
- package/dist/dist-D7UHN1DJ.mjs +0 -5
- package/dist/dist-DOoZ3vGL.mjs +0 -407
- package/dist/dist-DYUvPCPC.js +0 -1
- package/dist/dist-DcRkoHAk.js +0 -1
- package/dist/dist-DfvK7DpO.mjs +0 -213
- package/dist/dist-Dj9s8AIv.js +0 -1
- package/dist/dist-NEeQKKDZ.js +0 -1
- package/dist/dist-N_70prl1.js +0 -1
- package/dist/dist-YAADIsyo.js +0 -1
- package/dist/dist-dMp9dzmY.mjs +0 -20
- package/dist/dist-mHQuNOH-.js +0 -1
- package/dist/dist-oyFh63Uq.js +0 -1
- package/dist/dist-v-Y6tnMq.js +0 -1
- package/dist/dist-v9094Auw.js +0 -1
- package/dist/dist-yA6iVq_M.js +0 -1
- package/dist/dropdown-menu-BpZcobmP.js +0 -1
- package/dist/es2015-CYxXY2oV.mjs +0 -727
- package/dist/es2015-t2RPC0Rg.js +0 -41
- package/dist/floating-ui.react-dom-BwFRxNGc.js +0 -1
- package/dist/hover-card-7NjGqlP0.js +0 -1
- package/dist/hover-card-DuRUptxQ.mjs +0 -176
- package/dist/input-otp-D9MwUsPO.js +0 -20
- package/dist/label-CgKiKHKG.js +0 -1
- package/dist/menubar-CyKBLHme.mjs +0 -405
- package/dist/menubar-DlOMZeh1.js +0 -1
- package/dist/message-scroller-DqLu0YI6.js +0 -1
- package/dist/navigation-menu-BzE1J1rs.mjs +0 -608
- package/dist/navigation-menu-CrR01R8Z.js +0 -1
- package/dist/popover-CFF_HXSf.mjs +0 -222
- package/dist/popover-D9pVy08c.js +0 -1
- package/dist/progress-nfJMuKGj.js +0 -6
- package/dist/questionnaire-PWClWvST.js +0 -1
- package/dist/radio-group-DhXnB0fI.js +0 -1
- package/dist/resizable-ChIqXiu4.js +0 -1
- package/dist/resizable-CpovHnG-.mjs +0 -1573
- package/dist/scroll-area-CUqjuvqH.js +0 -1
- package/dist/scroll-area-DstdIGvS.mjs +0 -539
- package/dist/select-CnCTQeh7.js +0 -1
- package/dist/select-CnHZdna2.mjs +0 -792
- package/dist/separator-BXaVJadH.js +0 -1
- package/dist/separator-D1a8myFf.mjs +0 -38
- package/dist/sidebar-ns_2TNBM.js +0 -1
- package/dist/slider-PoIV6N-u.js +0 -1
- package/dist/slider-ZnyQjYsS.mjs +0 -460
- package/dist/switch-DLY8PkmL.js +0 -1
- package/dist/tabs-QBWdNfSK.js +0 -1
- package/dist/theme-toggle-Q3UHstP_.js +0 -1
- package/dist/toast-BOdziIGg.mjs +0 -424
- package/dist/toast-D1fjLwO1.js +0 -1
- package/dist/toaster-DS9iODKU.js +0 -1
- package/dist/toggle-DtpvPox_.js +0 -1
- package/dist/toggle-group-DfkvPKU_.mjs +0 -164
- package/dist/toggle-group-UHY0Tip1.js +0 -1
- package/dist/tooltip-BbCL1gtU.mjs +0 -384
- package/dist/tooltip-BvpyStn2.js +0 -1
- /package/dist/{dist-DJqkhIXb2.js → dist-DJqkhIXb.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NavigationMenu as NavigationMenuPrimitive } from 'radix-ui';
|
|
2
1
|
import { NavigationMenuBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { NavigationMenu as NavigationMenuPrimitive } from 'radix-ui';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function NavigationMenu({ className, children, viewport, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {
|
|
5
5
|
viewport?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../src/navigation-menu.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation-menu.d.ts","sourceRoot":"","sources":["../src/navigation-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAIhE,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,QAAQ,EACR,QAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,IAAI,CAAC,GAAG;IAC7D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,qBAYA;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,IAAI,CAAC,qBAQ7G;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,IAAI,CAAC,qBAI7G;AAED,QAAA,MAAM,0BAA0B,oFAE/B,CAAC;AAEF,iBAAS,qBAAqB,CAAC,EAC7B,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,OAAO,CAAC,qBAc9D;AAED,iBAAS,qBAAqB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,OAAO,CAAC,qBAWnH;AAED,iBAAS,sBAAsB,CAAC,EAC9B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,QAAQ,CAAC,qBAa/D;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,IAAI,CAAC,qBAW7G;AAED,iBAAS,uBAAuB,CAAC,EAC/B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,uBAAuB,CAAC,SAAS,CAAC,qBAahE;AAED,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,qBAAqB,EACrB,0BAA0B,EAC1B,sBAAsB,GACvB,CAAC;AAGF,MAAM,MAAM,+BAA+B,GACzC,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,SAAS,uBAAuB,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/dist/navigation-menu.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
export { c as NavigationMenu, i as NavigationMenuContent, o as NavigationMenuIndicator, n as NavigationMenuItem, e as NavigationMenuLink, a as NavigationMenuList, s as NavigationMenuTrigger, t as NavigationMenuViewport, r as navigationMenuTriggerStyle };
|
|
2
|
+
export { t as NavigationMenu, n as NavigationMenuContent, r as NavigationMenuIndicator, i as NavigationMenuItem, a as NavigationMenuLink, o as NavigationMenuList, s as NavigationMenuTrigger, c as NavigationMenuViewport, l as navigationMenuTriggerStyle } from "./navigation-menu-B-RwfscB.mjs";
|
package/dist/pagination.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./button.cjs");let r=require("lucide-react"),i=require("react");i=e.r(i);let a=require("react/jsx-runtime");function o({className:e,...n}){return(0,a.jsx)(`nav`,{role:`navigation`,"aria-label":`pagination`,"data-slot":`pagination`,className:t.t(`mx-auto flex w-full justify-center`,e),...n})}function s({className:e,...n}){return(0,a.jsx)(`ul`,{"data-slot":`pagination-content`,className:t.t(`flex items-center gap-0.5`,e),...n})}function c({...e}){return(0,a.jsx)(`li`,{"data-slot":`pagination-item`,...e})}function l({className:e,isActive:r,size:i=`icon`,children:o,...s}){return(0,a.jsx)(n.Button,{asChild:!0,variant:r?`outline`:`ghost`,size:i,className:t.t(e),children:(0,a.jsx)(`a`,{"aria-current":r?`page`:void 0,"data-slot":`pagination-link`,"data-active":r,...s,children:o})})}function u({className:e,text:n=`Previous`,...i}){return(0,a.jsxs)(l,{"aria-label":`Go to previous page`,size:`default`,className:t.t(`ps-1.5!`,e),...i,children:[(0,a.jsx)(r.ChevronLeftIcon,{"data-icon":`inline-start`,className:`rtl:rotate-180`}),(0,a.jsx)(`span`,{className:`hidden sm:block`,children:n})]})}function d({className:e,text:n=`Next`,...i}){return(0,a.jsxs)(l,{"aria-label":`Go to next page`,size:`default`,className:t.t(`pe-1.5!`,e),...i,children:[(0,a.jsx)(`span`,{className:`hidden sm:block`,children:n}),(0,a.jsx)(r.ChevronRightIcon,{"data-icon":`inline-end`,className:`rtl:rotate-180`})]})}function f({className:e,...n}){return(0,a.jsxs)(`span`,{"aria-hidden":!0,"data-slot":`pagination-ellipsis`,className:t.t(`flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4`,e),...n,children:[(0,a.jsx)(r.MoreHorizontalIcon,{}),(0,a.jsx)(`span`,{className:`sr-only`,children:`More pages`})]})}exports.Pagination=o,exports.PaginationContent=s,exports.PaginationEllipsis=f,exports.PaginationItem=c,exports.PaginationLink=l,exports.PaginationNext=d,exports.PaginationPrevious=u;
|
package/dist/pagination.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './button';
|
|
2
1
|
import { PaginationBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { Button } from './button';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): React.JSX.Element;
|
|
5
5
|
declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): React.JSX.Element;
|
|
@@ -7,7 +7,7 @@ declare function PaginationItem({ ...props }: React.ComponentProps<'li'>): React
|
|
|
7
7
|
type PaginationLinkProps = {
|
|
8
8
|
isActive?: boolean;
|
|
9
9
|
} & Pick<React.ComponentProps<typeof Button>, 'size'> & React.ComponentProps<'a'>;
|
|
10
|
-
declare function PaginationLink({ className, isActive, size, ...props }: PaginationLinkProps): React.JSX.Element;
|
|
10
|
+
declare function PaginationLink({ className, isActive, size, children, ...props }: PaginationLinkProps): React.JSX.Element;
|
|
11
11
|
declare function PaginationPrevious({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
12
12
|
text?: string;
|
|
13
13
|
}): React.JSX.Element;
|
package/dist/pagination.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","sourceRoot":"","sources":["../src/pagination.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAG5D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAUvE;AAED,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAE7E;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAE/D;AAED,KAAK,mBAAmB,GAAG;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,CAAC,GACnD,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC;AAE5B,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAa,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,qBAQtG;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,IAAiB,EACjB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,qBAOjE;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,IAAa,EACb,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,cAAc,CAAC,GAAG;IAAE,IAAI,CAAC,EAAE,MAAM,CAAA;CAAE,qBAOjE;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAYhF;AAED,OAAO,EACL,UAAU,EACV,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,kBAAkB,GACnB,CAAC;AAGF,MAAM,MAAM,2BAA2B,GACrC,KAAK,CAAC,cAAc,CAAC,OAAO,UAAU,CAAC,SAAS,mBAAmB,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/dist/pagination.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./dist-
|
|
2
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
3
3
|
import { Button as t } from "./button.mjs";
|
|
4
4
|
import { ChevronLeftIcon as n, ChevronRightIcon as r, MoreHorizontalIcon as i } from "lucide-react";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
-
|
|
7
|
+
// src/pagination.tsx
|
|
8
8
|
function s({ className: t, ...n }) {
|
|
9
9
|
return /* @__PURE__ */ a("nav", {
|
|
10
10
|
role: "navigation",
|
|
@@ -27,7 +27,7 @@ function l({ ...e }) {
|
|
|
27
27
|
...e
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
function u({ className: n, isActive: r, size: i = "icon",
|
|
30
|
+
function u({ className: n, isActive: r, size: i = "icon", children: o, ...s }) {
|
|
31
31
|
return /* @__PURE__ */ a(t, {
|
|
32
32
|
asChild: !0,
|
|
33
33
|
variant: r ? "outline" : "ghost",
|
|
@@ -37,7 +37,8 @@ function u({ className: n, isActive: r, size: i = "icon", ...o }) {
|
|
|
37
37
|
"aria-current": r ? "page" : void 0,
|
|
38
38
|
"data-slot": "pagination-link",
|
|
39
39
|
"data-active": r,
|
|
40
|
-
...
|
|
40
|
+
...s,
|
|
41
|
+
children: o
|
|
41
42
|
})
|
|
42
43
|
});
|
|
43
44
|
}
|
|
@@ -83,5 +84,4 @@ function p({ className: t, ...n }) {
|
|
|
83
84
|
})]
|
|
84
85
|
});
|
|
85
86
|
}
|
|
86
|
-
//#endregion
|
|
87
87
|
export { s as Pagination, c as PaginationContent, p as PaginationEllipsis, l as PaginationItem, u as PaginationLink, f as PaginationNext, d as PaginationPrevious };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./dist-DZiOPWLp.js"),r=require("./dist-CJqVmdrU.js"),i=require("./dist-DW2ltK5-.js"),a=require("./dist-R_G5UQRm.js"),o=require("./es2015-Dggv0vx3.js"),s=require("./dist-DmY7elIQ.js"),c=require("./dist-RXrZgzkO.js"),l=require("./dist-CIgGRTmJ.js"),u=require("./dist-CDcZ8WMF.js"),d=require("./dist-Blgp9lfa.js"),f=require("./dist-CBlqVBTk.js"),p=require("./dist-zmnQp5Xf.js");let m=require("react"),h=e.r(m,1);m=e.r(m);let g=require("react/jsx-runtime");var _=Object.defineProperty,v=(e,t)=>_(e,`name`,{value:t,configurable:!0}),y=`Popover`,[b,x]=i.t(y,[l.a]),S=l.a(),[C,w]=b(y),T=v(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:o=!1}=e,s=S(t),u=h.useRef(null),[d,f]=h.useState(!1),[m,_]=h.useState(0),[v,b]=h.useState(0),[x,w]=p.t({prop:r,defaultProp:i??!1,onChange:a,caller:y});return(0,g.jsx)(l.t,{...s,children:(0,g.jsx)(C,{scope:t,contentId:c.t(),titleId:c.t(),descriptionId:c.t(),titlePresent:m>0,descriptionPresent:v>0,setTitleCount:_,setDescriptionCount:b,triggerRef:u,open:x,onOpenChange:w,onOpenToggle:h.useCallback(()=>w(e=>!e),[w]),hasCustomAnchor:d,onCustomAnchorAdd:h.useCallback(()=>f(!0),[]),onCustomAnchorRemove:h.useCallback(()=>f(!1),[]),modal:o,children:n})})},`Popover`),E=`PopoverAnchor`,D=h.forwardRef(v(function(e,t){let{__scopePopover:n,...r}=e,i=w(E,n),a=S(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return h.useEffect(()=>(o(),()=>s()),[o,s]),(0,g.jsx)(l.n,{...a,...r,ref:t})},`PopoverAnchor`)),O=`PopoverTrigger`,k=h.forwardRef(v(function(e,t){let{__scopePopover:i,...a}=e,o=w(O,i),s=S(i),c=r.a(t,o.triggerRef),u=(0,g.jsx)(f.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":B(o.open),...a,ref:c,onClick:n.t(e.onClick,o.onOpenToggle)});return o.hasCustomAnchor?u:(0,g.jsx)(l.n,{asChild:!0,...s,children:u})},`PopoverTrigger`)),A=`PopoverPortal`,[j,M]=b(A,{forceMount:void 0}),N=v(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=w(A,t);return(0,g.jsx)(j,{scope:t,forceMount:n,children:(0,g.jsx)(d.t,{present:n||a.open,children:(0,g.jsx)(u.t,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),P=`PopoverContent`,F=h.forwardRef(v(function(e,t){let n=M(P,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=w(P,e.__scopePopover);return(0,g.jsx)(d.t,{present:r||a.open,children:a.modal?(0,g.jsx)(L,{...i,ref:t}):(0,g.jsx)(R,{...i,ref:t})})},`PopoverContent`)),I=r.n(`PopoverContent.RemoveScroll`),L=h.forwardRef(v(function(e,t){let i=w(P,e.__scopePopover),a=h.useRef(null),c=r.a(t,a),l=h.useRef(!1),{nodes:u,registry:d}=s.i();return h.useEffect(()=>{let e=a.current;if(e)return o.t(e)},[]),(0,g.jsx)(o.n,{as:I,allowPinchZoom:!0,shards:h.useMemo(()=>[a,...u.map(e=>({current:e}))],[a,u]),children:(0,g.jsx)(z,{...e,ref:c,branchNodes:u,branchRegistry:d,trapFocus:i.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:n.t(e.onCloseAutoFocus,e=>{e.preventDefault(),l.current||i.triggerRef.current?.focus()}),onPointerDownOutside:n.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;l.current=r},{checkForDefaultPrevented:!1}),onFocusOutside:n.t(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),R=h.forwardRef(v(function(e,t){let n=w(P,e.__scopePopover),r=h.useRef(!1),i=h.useRef(!1);return(0,g.jsx)(z,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(r.current||n.triggerRef.current?.focus(),t.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(r.current=!0,t.detail.originalEvent.type===`pointerdown`&&(i.current=!0));let a=t.target;n.triggerRef.current?.contains(a)&&t.preventDefault(),t.detail.originalEvent.type===`focusin`&&i.current&&t.preventDefault()}})},`PopoverContentNonModal`)),z=h.forwardRef(v(function(e,t){let{__scopePopover:n,trapFocus:i,onOpenAutoFocus:c,onCloseAutoFocus:u,disableOutsidePointerEvents:d,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onInteractOutside:_,"aria-describedby":v,branchNodes:y,branchRegistry:b,...x}=e,C=w(P,n),T=S(n),[E,D]=h.useState(null),O=r.a(t,D);return s.r(E),o.r(),(0,g.jsx)(s.n,{registry:b,children:(0,g.jsx)(s.t,{asChild:!0,loop:!0,trapped:i,branches:y,onMountAutoFocus:c,onUnmountAutoFocus:u,children:(0,g.jsx)(a.t,{asChild:!0,disableOutsidePointerEvents:d,onInteractOutside:_,onEscapeKeyDown:f,onPointerDownOutside:p,onFocusOutside:m,onDismiss:()=>C.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,g.jsx)(l.i,{"data-state":B(C.open),role:`dialog`,id:C.contentId,"aria-labelledby":C.titlePresent?C.titleId:void 0,"aria-describedby":C.descriptionPresent?V(v,C.descriptionId):v,...T,...x,ref:O,style:{...x.style,"--radix-popover-content-transform-origin":`var(--radix-popper-transform-origin)`,"--radix-popover-content-available-width":`var(--radix-popper-available-width)`,"--radix-popover-content-available-height":`var(--radix-popper-available-height)`,"--radix-popover-trigger-width":`var(--radix-popper-anchor-width)`,"--radix-popover-trigger-height":`var(--radix-popper-anchor-height)`}})})})})},`PopoverContentImpl`));function B(e){return e?`open`:`closed`}v(B,`getState`);function V(...e){let t=new Set;for(let n of e)if(typeof n==`string`)for(let e of String(n).trim().split(/\s+/))e&&t.add(e);return t.size>0?Array.from(t).join(` `):void 0}v(V,`concatAriaDescribedby`);function H({...e}){return(0,g.jsx)(T,{"data-slot":`popover`,...e})}function U({...e}){return(0,g.jsx)(k,{"data-slot":`popover-trigger`,...e})}function W({className:e,align:n=`center`,sideOffset:r=4,...i}){return(0,g.jsx)(N,{children:(0,g.jsx)(F,{"data-slot":`popover-content`,align:n,sideOffset:r,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 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100`,e),...i})})}function G({...e}){return(0,g.jsx)(D,{"data-slot":`popover-anchor`,...e})}function K({className:e,...n}){return(0,g.jsx)(`div`,{"data-slot":`popover-header`,className:t.t(`flex flex-col gap-0.5 text-sm`,e),...n})}function q({className:e,...n}){return(0,g.jsx)(`div`,{"data-slot":`popover-title`,className:t.t(`font-medium`,e),...n})}function J({className:e,...n}){return(0,g.jsx)(`p`,{"data-slot":`popover-description`,className:t.t(`text-muted-foreground`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return G}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return W}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return U}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return H}});
|
|
@@ -0,0 +1,241 @@
|
|
|
1
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
2
|
+
import { t } from "./dist-B76UOZbx.mjs";
|
|
3
|
+
import { a as n, n as r } from "./dist-C516Vwxy.mjs";
|
|
4
|
+
import { t as i } from "./dist-COqM3IM6.mjs";
|
|
5
|
+
import { t as a } from "./dist-CbWpCWog.mjs";
|
|
6
|
+
import { n as o, r as s, t as c } from "./es2015-BooeZGhO.mjs";
|
|
7
|
+
import { i as l, n as u, r as d, t as f } from "./dist-CDksSmTD.mjs";
|
|
8
|
+
import { t as p } from "./dist-Cu0GG-3j.mjs";
|
|
9
|
+
import { a as m, i as h, n as g, t as _ } from "./dist-Cn4F8XlY.mjs";
|
|
10
|
+
import { t as v } from "./dist-CcGLWbPa.mjs";
|
|
11
|
+
import { t as y } from "./dist-BnlI08Je.mjs";
|
|
12
|
+
import { t as b } from "./dist-B7Ph9-T6.mjs";
|
|
13
|
+
import { t as x } from "./dist-DKI-XYwI.mjs";
|
|
14
|
+
import * as S from "react";
|
|
15
|
+
import { jsx as C } from "react/jsx-runtime";
|
|
16
|
+
// ../../node_modules/.bun/@radix-ui+react-popover@1.3.1+2b23df507bdda662/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
17
|
+
var w = Object.defineProperty, T = (e, t) => w(e, "name", {
|
|
18
|
+
value: t,
|
|
19
|
+
configurable: !0
|
|
20
|
+
}), E = "Popover", [D, O] = i(E, [m]), k = m(), [A, j] = D(E), M = /* @__PURE__ */ T((e) => {
|
|
21
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: o = !1 } = e, s = k(t), c = S.useRef(null), [l, u] = S.useState(!1), [d, f] = S.useState(0), [m, h] = S.useState(0), [g, v] = x({
|
|
22
|
+
prop: r,
|
|
23
|
+
defaultProp: i ?? !1,
|
|
24
|
+
onChange: a,
|
|
25
|
+
caller: E
|
|
26
|
+
});
|
|
27
|
+
return /* @__PURE__ */ C(_, {
|
|
28
|
+
...s,
|
|
29
|
+
children: /* @__PURE__ */ C(A, {
|
|
30
|
+
scope: t,
|
|
31
|
+
contentId: p(),
|
|
32
|
+
titleId: p(),
|
|
33
|
+
descriptionId: p(),
|
|
34
|
+
titlePresent: d > 0,
|
|
35
|
+
descriptionPresent: m > 0,
|
|
36
|
+
setTitleCount: f,
|
|
37
|
+
setDescriptionCount: h,
|
|
38
|
+
triggerRef: c,
|
|
39
|
+
open: g,
|
|
40
|
+
onOpenChange: v,
|
|
41
|
+
onOpenToggle: S.useCallback(() => v((e) => !e), [v]),
|
|
42
|
+
hasCustomAnchor: l,
|
|
43
|
+
onCustomAnchorAdd: S.useCallback(() => u(!0), []),
|
|
44
|
+
onCustomAnchorRemove: S.useCallback(() => u(!1), []),
|
|
45
|
+
modal: o,
|
|
46
|
+
children: n
|
|
47
|
+
})
|
|
48
|
+
});
|
|
49
|
+
}, "Popover"), N = "PopoverAnchor", P = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
50
|
+
let { __scopePopover: n, ...r } = e, i = j(N, n), a = k(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
51
|
+
return S.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ C(g, {
|
|
52
|
+
...a,
|
|
53
|
+
...r,
|
|
54
|
+
ref: t
|
|
55
|
+
});
|
|
56
|
+
}, "PopoverAnchor")), F = "PopoverTrigger", I = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, r) {
|
|
57
|
+
let { __scopePopover: i, ...a } = e, o = j(F, i), s = k(i), c = n(r, o.triggerRef), l = /* @__PURE__ */ C(b.button, {
|
|
58
|
+
type: "button",
|
|
59
|
+
"aria-haspopup": "dialog",
|
|
60
|
+
"aria-expanded": o.open,
|
|
61
|
+
"aria-controls": o.open ? o.contentId : void 0,
|
|
62
|
+
"data-state": q(o.open),
|
|
63
|
+
...a,
|
|
64
|
+
ref: c,
|
|
65
|
+
onClick: t(e.onClick, o.onOpenToggle)
|
|
66
|
+
});
|
|
67
|
+
return o.hasCustomAnchor ? l : /* @__PURE__ */ C(g, {
|
|
68
|
+
asChild: !0,
|
|
69
|
+
...s,
|
|
70
|
+
children: l
|
|
71
|
+
});
|
|
72
|
+
}, "PopoverTrigger")), L = "PopoverPortal", [R, z] = D(L, { forceMount: void 0 }), B = /* @__PURE__ */ T((e) => {
|
|
73
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = j(L, t);
|
|
74
|
+
return /* @__PURE__ */ C(R, {
|
|
75
|
+
scope: t,
|
|
76
|
+
forceMount: n,
|
|
77
|
+
children: /* @__PURE__ */ C(y, {
|
|
78
|
+
present: n || a.open,
|
|
79
|
+
children: /* @__PURE__ */ C(v, {
|
|
80
|
+
asChild: !0,
|
|
81
|
+
container: i,
|
|
82
|
+
children: r
|
|
83
|
+
})
|
|
84
|
+
})
|
|
85
|
+
});
|
|
86
|
+
}, "PopoverPortal"), V = "PopoverContent", H = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
87
|
+
let n = z(V, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = j(V, e.__scopePopover);
|
|
88
|
+
return /* @__PURE__ */ C(y, {
|
|
89
|
+
present: r || a.open,
|
|
90
|
+
children: a.modal ? /* @__PURE__ */ C(W, {
|
|
91
|
+
...i,
|
|
92
|
+
ref: t
|
|
93
|
+
}) : /* @__PURE__ */ C(G, {
|
|
94
|
+
...i,
|
|
95
|
+
ref: t
|
|
96
|
+
})
|
|
97
|
+
});
|
|
98
|
+
}, "PopoverContent")), U = r("PopoverContent.RemoveScroll"), W = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, r) {
|
|
99
|
+
let i = j(V, e.__scopePopover), a = S.useRef(null), s = n(r, a), u = S.useRef(!1), { nodes: d, registry: f } = l();
|
|
100
|
+
return S.useEffect(() => {
|
|
101
|
+
let e = a.current;
|
|
102
|
+
if (e) return c(e);
|
|
103
|
+
}, []), /* @__PURE__ */ C(o, {
|
|
104
|
+
as: U,
|
|
105
|
+
allowPinchZoom: !0,
|
|
106
|
+
shards: S.useMemo(() => [a, ...d.map((e) => ({ current: e }))], [a, d]),
|
|
107
|
+
children: /* @__PURE__ */ C(K, {
|
|
108
|
+
...e,
|
|
109
|
+
ref: s,
|
|
110
|
+
branchNodes: d,
|
|
111
|
+
branchRegistry: f,
|
|
112
|
+
trapFocus: i.open,
|
|
113
|
+
disableOutsidePointerEvents: !0,
|
|
114
|
+
onCloseAutoFocus: t(e.onCloseAutoFocus, (e) => {
|
|
115
|
+
e.preventDefault(), u.current || i.triggerRef.current?.focus();
|
|
116
|
+
}),
|
|
117
|
+
onPointerDownOutside: t(e.onPointerDownOutside, (e) => {
|
|
118
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0, r = t.button === 2 || n;
|
|
119
|
+
u.current = r;
|
|
120
|
+
}, { checkForDefaultPrevented: !1 }),
|
|
121
|
+
onFocusOutside: t(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
122
|
+
})
|
|
123
|
+
});
|
|
124
|
+
}, "PopoverContentModal")), G = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
125
|
+
let n = j(V, e.__scopePopover), r = S.useRef(!1), i = S.useRef(!1);
|
|
126
|
+
return /* @__PURE__ */ C(K, {
|
|
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
|
+
}, "PopoverContentNonModal")), K = /* @__PURE__ */ S.forwardRef(/* @__PURE__ */ T(function(e, t) {
|
|
141
|
+
let { __scopePopover: r, trapFocus: i, onOpenAutoFocus: o, onCloseAutoFocus: c, disableOutsidePointerEvents: l, onEscapeKeyDown: p, onPointerDownOutside: m, onFocusOutside: g, onInteractOutside: _, "aria-describedby": v, branchNodes: y, branchRegistry: b, ...x } = e, w = j(V, r), T = k(r), [E, D] = S.useState(null), O = n(t, D);
|
|
142
|
+
return d(E), s(), /* @__PURE__ */ C(u, {
|
|
143
|
+
registry: b,
|
|
144
|
+
children: /* @__PURE__ */ C(f, {
|
|
145
|
+
asChild: !0,
|
|
146
|
+
loop: !0,
|
|
147
|
+
trapped: i,
|
|
148
|
+
branches: y,
|
|
149
|
+
onMountAutoFocus: o,
|
|
150
|
+
onUnmountAutoFocus: c,
|
|
151
|
+
children: /* @__PURE__ */ C(a, {
|
|
152
|
+
asChild: !0,
|
|
153
|
+
disableOutsidePointerEvents: l,
|
|
154
|
+
onInteractOutside: _,
|
|
155
|
+
onEscapeKeyDown: p,
|
|
156
|
+
onPointerDownOutside: m,
|
|
157
|
+
onFocusOutside: g,
|
|
158
|
+
onDismiss: () => w.onOpenChange(!1),
|
|
159
|
+
deferPointerDownOutside: !0,
|
|
160
|
+
children: /* @__PURE__ */ C(h, {
|
|
161
|
+
"data-state": q(w.open),
|
|
162
|
+
role: "dialog",
|
|
163
|
+
id: w.contentId,
|
|
164
|
+
"aria-labelledby": w.titlePresent ? w.titleId : void 0,
|
|
165
|
+
"aria-describedby": w.descriptionPresent ? J(v, w.descriptionId) : v,
|
|
166
|
+
...T,
|
|
167
|
+
...x,
|
|
168
|
+
ref: O,
|
|
169
|
+
style: {
|
|
170
|
+
...x.style,
|
|
171
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
172
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
173
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
174
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
175
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
176
|
+
}
|
|
177
|
+
})
|
|
178
|
+
})
|
|
179
|
+
})
|
|
180
|
+
});
|
|
181
|
+
}, "PopoverContentImpl"));
|
|
182
|
+
function q(e) {
|
|
183
|
+
return e ? "open" : "closed";
|
|
184
|
+
}
|
|
185
|
+
T(q, "getState");
|
|
186
|
+
function J(...e) {
|
|
187
|
+
let t = /* @__PURE__ */ new Set();
|
|
188
|
+
for (let n of e) if (typeof n == "string") for (let e of String(n).trim().split(/\s+/)) e && t.add(e);
|
|
189
|
+
return t.size > 0 ? Array.from(t).join(" ") : void 0;
|
|
190
|
+
}
|
|
191
|
+
T(J, "concatAriaDescribedby");
|
|
192
|
+
// src/popover.tsx
|
|
193
|
+
function Y({ ...e }) {
|
|
194
|
+
return /* @__PURE__ */ C(M, {
|
|
195
|
+
"data-slot": "popover",
|
|
196
|
+
...e
|
|
197
|
+
});
|
|
198
|
+
}
|
|
199
|
+
function X({ ...e }) {
|
|
200
|
+
return /* @__PURE__ */ C(I, {
|
|
201
|
+
"data-slot": "popover-trigger",
|
|
202
|
+
...e
|
|
203
|
+
});
|
|
204
|
+
}
|
|
205
|
+
function Z({ className: t, align: n = "center", sideOffset: r = 4, ...i }) {
|
|
206
|
+
return /* @__PURE__ */ C(B, { children: /* @__PURE__ */ C(H, {
|
|
207
|
+
"data-slot": "popover-content",
|
|
208
|
+
align: n,
|
|
209
|
+
sideOffset: r,
|
|
210
|
+
className: e("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 flex w-72 origin-(--radix-popover-content-transform-origin) flex-col gap-2.5 rounded-lg p-2.5 text-sm shadow-md ring-1 outline-hidden duration-100", t),
|
|
211
|
+
...i
|
|
212
|
+
}) });
|
|
213
|
+
}
|
|
214
|
+
function Q({ ...e }) {
|
|
215
|
+
return /* @__PURE__ */ C(P, {
|
|
216
|
+
"data-slot": "popover-anchor",
|
|
217
|
+
...e
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
function $({ className: t, ...n }) {
|
|
221
|
+
return /* @__PURE__ */ C("div", {
|
|
222
|
+
"data-slot": "popover-header",
|
|
223
|
+
className: e("flex flex-col gap-0.5 text-sm", t),
|
|
224
|
+
...n
|
|
225
|
+
});
|
|
226
|
+
}
|
|
227
|
+
function ee({ className: t, ...n }) {
|
|
228
|
+
return /* @__PURE__ */ C("div", {
|
|
229
|
+
"data-slot": "popover-title",
|
|
230
|
+
className: e("font-medium", t),
|
|
231
|
+
...n
|
|
232
|
+
});
|
|
233
|
+
}
|
|
234
|
+
function te({ className: t, ...n }) {
|
|
235
|
+
return /* @__PURE__ */ C("p", {
|
|
236
|
+
"data-slot": "popover-description",
|
|
237
|
+
className: e("text-muted-foreground", t),
|
|
238
|
+
...n
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
export { $ as a, te as i, Q as n, ee as o, Z as r, X as s, Y as t };
|
package/dist/popover.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./popover-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./popover-Cq5cTNtC.js");exports.Popover=e.t,exports.PopoverAnchor=e.n,exports.PopoverContent=e.r,exports.PopoverDescription=e.i,exports.PopoverHeader=e.a,exports.PopoverTitle=e.o,exports.PopoverTrigger=e.s;
|
package/dist/popover.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
1
|
import { PopoverBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
|
|
5
5
|
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
|
package/dist/popover.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../src/popover.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../src/popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,IAAI,CAAC,qBAEhF;AAED,iBAAS,cAAc,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAE1F;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAgB,EAChB,UAAc,EACd,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,OAAO,CAAC,qBAevD;AAED,iBAAS,aAAa,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,MAAM,CAAC,qBAExF;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAE1E;AAED,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAExE;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,qBAE7E;AAED,OAAO,EAAE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,kBAAkB,EAAE,aAAa,EAAE,YAAY,EAAE,cAAc,EAAE,CAAC;AAGnH,MAAM,MAAM,wBAAwB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,OAAO,CAAC,SAAS,gBAAgB,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/dist/popover.mjs
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
export { o as Popover, n as PopoverAnchor, i as PopoverContent, t as PopoverDescription, e as PopoverHeader, r as PopoverTitle, a as PopoverTrigger };
|
|
2
|
+
export { t as Popover, n as PopoverAnchor, r as PopoverContent, i as PopoverDescription, a as PopoverHeader, o as PopoverTitle, s as PopoverTrigger } from "./popover-T6Ra737i.mjs";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as e } from "./dist-
|
|
2
|
-
import { t } from "./dist-
|
|
3
|
-
import { t as n } from "./dist-
|
|
1
|
+
import { t as e } from "./dist-DoWtzxYc.mjs";
|
|
2
|
+
import { t } from "./dist-COqM3IM6.mjs";
|
|
3
|
+
import { t as n } from "./dist-B7Ph9-T6.mjs";
|
|
4
4
|
import * as r from "react";
|
|
5
5
|
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
-
|
|
6
|
+
// ../../node_modules/.bun/@radix-ui+react-progress@1.2.1+2b23df507bdda662/node_modules/@radix-ui/react-progress/dist/index.mjs
|
|
7
7
|
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
8
8
|
value: t,
|
|
9
9
|
configurable: !0
|
|
10
|
-
}), s = "Progress", c = 100, [l, u] =
|
|
10
|
+
}), s = "Progress", c = 100, [l, u] = t(s), [d, f] = l(s), p = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, t) {
|
|
11
11
|
let { __scopeProgress: r, value: a = null, max: o, getValueLabel: s = g, ...l } = e;
|
|
12
12
|
(o || o === 0) && !y(o) && console.error(x(`${o}`, "Progress"));
|
|
13
13
|
let u = y(o) ? o : c;
|
|
@@ -17,7 +17,7 @@ var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
|
17
17
|
scope: r,
|
|
18
18
|
value: f,
|
|
19
19
|
max: u,
|
|
20
|
-
children: /* @__PURE__ */ i(
|
|
20
|
+
children: /* @__PURE__ */ i(n.div, {
|
|
21
21
|
"aria-valuemax": u,
|
|
22
22
|
"aria-valuemin": 0,
|
|
23
23
|
"aria-valuenow": v(f) ? f : void 0,
|
|
@@ -27,17 +27,17 @@ var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
|
27
27
|
"data-value": f ?? void 0,
|
|
28
28
|
"data-max": u,
|
|
29
29
|
...l,
|
|
30
|
-
ref:
|
|
30
|
+
ref: t
|
|
31
31
|
})
|
|
32
32
|
});
|
|
33
|
-
}, "Progress")), m = "ProgressIndicator", h = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e,
|
|
33
|
+
}, "Progress")), m = "ProgressIndicator", h = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, t) {
|
|
34
34
|
let { __scopeProgress: r, ...a } = e, o = f(m, r);
|
|
35
|
-
return /* @__PURE__ */ i(
|
|
35
|
+
return /* @__PURE__ */ i(n.div, {
|
|
36
36
|
"data-state": _(o.value, o.max),
|
|
37
37
|
"data-value": o.value ?? void 0,
|
|
38
38
|
"data-max": o.max,
|
|
39
39
|
...a,
|
|
40
|
-
ref:
|
|
40
|
+
ref: t
|
|
41
41
|
});
|
|
42
42
|
}, "ProgressIndicator"));
|
|
43
43
|
function g(e, t) {
|
|
@@ -73,21 +73,18 @@ function S(e, t) {
|
|
|
73
73
|
Defaulting to \`null\`.`;
|
|
74
74
|
}
|
|
75
75
|
o(S, "getInvalidValueError");
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
function T({ className: t, value: n, ...r }) {
|
|
80
|
-
return /* @__PURE__ */ i(C, {
|
|
76
|
+
// src/progress.tsx
|
|
77
|
+
function C({ className: t, value: n, ...r }) {
|
|
78
|
+
return /* @__PURE__ */ i(p, {
|
|
81
79
|
"data-slot": "progress",
|
|
82
80
|
value: n,
|
|
83
81
|
className: e("bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full", t),
|
|
84
82
|
...r,
|
|
85
|
-
children: /* @__PURE__ */ i(
|
|
83
|
+
children: /* @__PURE__ */ i(h, {
|
|
86
84
|
"data-slot": "progress-indicator",
|
|
87
85
|
className: "bg-primary size-full flex-1 transition-all",
|
|
88
86
|
style: { transform: `translateX(-${100 - (n || 0)}%)` }
|
|
89
87
|
})
|
|
90
88
|
});
|
|
91
89
|
}
|
|
92
|
-
|
|
93
|
-
export { T as t };
|
|
90
|
+
export { C as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e=require("./rolldown-runtime-DbbDpzbe.js"),t=require("./dist-CoTs6T03.js"),n=require("./dist-DW2ltK5-.js"),r=require("./dist-CBlqVBTk.js");let i=require("react"),a=e.r(i,1);i=e.r(i);let o=require("react/jsx-runtime");var s=Object.defineProperty,c=(e,t)=>s(e,`name`,{value:t,configurable:!0}),l=`Progress`,u=100,[d,f]=n.t(l),[p,m]=d(l),h=a.forwardRef(c(function(e,t){let{__scopeProgress:n,value:i=null,max:a,getValueLabel:s=v,...c}=e;(a||a===0)&&!x(a)&&console.error(C(`${a}`,`Progress`));let l=x(a)?a:u;i!==null&&!S(i,l)&&console.error(w(`${i}`,`Progress`));let d=S(i,l)?i:null,f=b(d)?s(d,l):void 0;return(0,o.jsx)(p,{scope:n,value:d,max:l,children:(0,o.jsx)(r.t.div,{"aria-valuemax":l,"aria-valuemin":0,"aria-valuenow":b(d)?d:void 0,"aria-valuetext":f,role:`progressbar`,"data-state":y(d,l),"data-value":d??void 0,"data-max":l,...c,ref:t})})},`Progress`)),g=`ProgressIndicator`,_=a.forwardRef(c(function(e,t){let{__scopeProgress:n,...i}=e,a=m(g,n);return(0,o.jsx)(r.t.div,{"data-state":y(a.value,a.max),"data-value":a.value??void 0,"data-max":a.max,...i,ref:t})},`ProgressIndicator`));function v(e,t){return`${Math.round(e/t*100)}%`}c(v,`defaultGetValueLabel`);function y(e,t){return e==null?`indeterminate`:e===t?`complete`:`loading`}c(y,`getProgressState`);function b(e){return typeof e==`number`}c(b,`isNumber`);function x(e){return b(e)&&!isNaN(e)&&e>0}c(x,`isValidMaxNumber`);function S(e,t){return b(e)&&!isNaN(e)&&e<=t&&e>=0}c(S,`isValidValueNumber`);function C(e,t){return`Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${u}\`.`}c(C,`getInvalidMaxError`);function w(e,t){return`Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
2
|
+
- a positive number
|
|
3
|
+
- less than the value passed to \`max\` (or ${u} if no \`max\` prop is set)
|
|
4
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
5
|
+
|
|
6
|
+
Defaulting to \`null\`.`}c(w,`getInvalidValueError`);function T({className:e,value:n,...r}){return(0,o.jsx)(h,{"data-slot":`progress`,value:n,className:t.t(`bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full`,e),...r,children:(0,o.jsx)(_,{"data-slot":`progress-indicator`,className:`bg-primary size-full flex-1 transition-all`,style:{transform:`translateX(-${100-(n||0)}%)`}})})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|
package/dist/progress.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./progress-
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./progress-iUSEI7J9.js");exports.Progress=e.t;
|
package/dist/progress.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
1
|
import { ProgressBaseProps } from '@gv-tech/ui-core';
|
|
2
|
+
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): React.JSX.Element;
|
|
5
5
|
export { Progress };
|
package/dist/progress.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/progress.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"progress.d.ts","sourceRoot":"","sources":["../src/progress.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,iBAAiB,CAAC,IAAI,CAAC,qBAepG;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AAGpB,MAAM,MAAM,yBAAyB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,SAAS,iBAAiB,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/dist/progress.mjs
CHANGED