@gv-tech/ui-web 2.27.3 → 2.29.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__contracts.d.ts +44 -1
- package/dist/__contracts.d.ts.map +1 -1
- package/dist/accordion-BgbjpZAF.js +1 -0
- package/dist/accordion-Bqt-y-u7.mjs +239 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +4 -4
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -1
- package/dist/alert-dialog-BkUyJb_F.mjs +182 -0
- package/dist/alert-dialog-DonbkCSD.js +1 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +12 -12
- 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 +4 -4
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +2 -2
- package/dist/{aspect-ratio-DnChDaBi.mjs → aspect-ratio-C7oBX-p_.mjs} +10 -9
- package/dist/aspect-ratio-X3HWxQz0.js +1 -0
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +1 -1
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/attachment.cjs +1 -0
- package/dist/attachment.d.ts +23 -0
- package/dist/attachment.d.ts.map +1 -0
- package/dist/attachment.mjs +101 -0
- package/dist/attachment.test.d.ts +2 -0
- package/dist/attachment.test.d.ts.map +1 -0
- package/dist/avatar-DTkhTxt7.mjs +133 -0
- package/dist/avatar-DhvZbCtI.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +6 -6
- 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 +1 -1
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +7 -7
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +25 -25
- package/dist/bubble.cjs +1 -0
- package/dist/bubble.d.ts +13 -0
- package/dist/bubble.d.ts.map +1 -0
- package/dist/bubble.mjs +72 -0
- package/dist/bubble.test.d.ts +2 -0
- package/dist/bubble.test.d.ts.map +1 -0
- package/dist/button-group.cjs +1 -1
- package/dist/button-group.d.ts +3 -3
- package/dist/button-group.d.ts.map +1 -1
- package/dist/button-group.mjs +6 -6
- 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 +6 -6
- package/dist/calendar-Bo8kovKR.js +1 -0
- package/dist/{calendar-Dg6VGycy.mjs → calendar-CkHWa9Uu.mjs} +825 -803
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +2 -2
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -1
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +7 -7
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +5 -5
- package/dist/carousel-Cv5isLeg.js +1 -0
- package/dist/{carousel-DbDoNdqJ.mjs → carousel-ynaeMNIV.mjs} +53 -53
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +5 -5
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/chart.cjs +1 -1
- package/dist/chart.d.ts +4 -4
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +1 -1
- package/dist/checkbox-BLvAEmRC.mjs +182 -0
- package/dist/checkbox-Dt06B4YW.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 -1
- package/dist/chunk-HBS6WEDP-CQNaACTf.js +1 -0
- package/dist/chunk-HBS6WEDP-CzyhzCaP.mjs +63 -0
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +3 -3
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +1 -1
- package/dist/combobox-BB_YzCTY.js +4 -0
- package/dist/combobox-YxjYGUoe.mjs +5748 -0
- package/dist/combobox.cjs +1 -1
- package/dist/combobox.d.ts +14 -14
- package/dist/combobox.d.ts.map +1 -1
- package/dist/combobox.mjs +1 -1
- package/dist/command-BqO-CfH6.js +1 -0
- package/dist/command-DY6u8V0D.mjs +545 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +9 -9
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -1
- package/dist/context-menu-Dad9hs94.js +1 -0
- package/dist/context-menu-tL6CY6a0.mjs +318 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +15 -15
- 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 +10 -10
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +25 -25
- package/dist/direction.cjs +1 -1
- package/dist/direction.d.ts +1 -1
- package/dist/direction.d.ts.map +1 -1
- package/dist/direction.mjs +1 -1
- package/dist/dist-5r7hQmO0.mjs +187 -0
- package/dist/dist-6c2NeKfz.mjs +536 -0
- package/dist/dist-8fYwoWd4.mjs +111 -0
- package/dist/{dist-N3JLy7yk.mjs → dist-9-j0_8D1.mjs} +9 -4
- package/dist/dist-BIXhHahX.mjs +30 -0
- package/dist/dist-BMl8xXCH.mjs +188 -0
- package/dist/dist-BOKg7rhq.js +1 -0
- package/dist/dist-BPhn-EOy.mjs +15 -0
- package/dist/{dist-Cacc4QIh.mjs → dist-BQhMregZ.mjs} +9 -5
- package/dist/dist-BTN2t9yv.js +1 -0
- package/dist/dist-BUXpRW9O.mjs +100 -0
- package/dist/{dist-xgVOvcNx.mjs → dist-Bivv8B6p.mjs} +8 -3
- package/dist/dist-BoNQb2nd.js +1 -0
- package/dist/dist-ByW6RHeZ.mjs +94 -0
- package/dist/dist-C83rnWRv.js +1 -0
- package/dist/dist-C8Pm6LRc.js +1 -0
- package/dist/dist-CBsYNwXz.mjs +16 -0
- package/dist/dist-CS572Be42.mjs +11 -0
- package/dist/dist-CYrqAnIr.mjs +182 -0
- package/dist/dist-C_iFkwIX.js +1 -0
- package/dist/dist-CdBAkUWT.js +1 -0
- package/dist/dist-Cn7g8jD0.js +1 -0
- package/dist/dist-D7-Fky36.js +1 -0
- package/dist/{dist-C9PlF532.mjs → dist-D7UHN1DJ.mjs} +1 -1
- package/dist/dist-DJqkhIXb2.js +1 -0
- package/dist/dist-DMwCTE2i.mjs +90 -0
- package/dist/dist-DOoZ3vGL.mjs +407 -0
- package/dist/dist-DYUvPCPC.js +1 -0
- package/dist/dist-DZiOPWLp.js +1 -0
- package/dist/dist-DcRkoHAk.js +1 -0
- package/dist/dist-DfvK7DpO.mjs +213 -0
- package/dist/dist-Dg9ASyqI.mjs +96 -0
- package/dist/dist-Dj9s8AIv.js +1 -0
- package/dist/dist-Dm3IQk5b.mjs +685 -0
- package/dist/dist-DyMv0xk8.mjs +41 -0
- package/dist/dist-NEeQKKDZ.js +1 -0
- package/dist/dist-N_70prl1.js +1 -0
- package/dist/dist-YAADIsyo.js +1 -0
- package/dist/dist-dMp9dzmY.mjs +20 -0
- package/dist/dist-mHQuNOH-.js +1 -0
- package/dist/dist-oyFh63Uq.js +1 -0
- package/dist/dist-rx5WaFf5.mjs +20 -0
- package/dist/dist-v-Y6tnMq.js +1 -0
- package/dist/dist-v9094Auw.js +1 -0
- package/dist/dist-yA6iVq_M.js +1 -0
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +10 -10
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +2 -2
- package/dist/{dropdown-menu-CriaO1_i.mjs → dropdown-menu-BWqWoYis.mjs} +117 -151
- package/dist/dropdown-menu-BpZcobmP.js +1 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +15 -15
- 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 +6 -6
- package/dist/empty.d.ts.map +1 -1
- package/dist/empty.mjs +2 -2
- package/dist/{es2015-BhmbVcui.mjs → es2015-CYxXY2oV.mjs} +242 -216
- package/dist/es2015-t2RPC0Rg.js +41 -0
- package/dist/field.cjs +1 -1
- package/dist/field.d.ts +11 -11
- package/dist/field.d.ts.map +1 -1
- package/dist/field.mjs +4 -4
- package/dist/floating-ui.react-dom-BwFRxNGc.js +1 -0
- package/dist/{floating-ui.react-dom-DgS_bqyY.mjs → floating-ui.react-dom-CyupHsR6.mjs} +249 -276
- package/dist/form.cjs +1 -1
- package/dist/form.d.ts +6 -4
- package/dist/form.d.ts.map +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hover-card-7NjGqlP0.js +1 -0
- package/dist/hover-card-DuRUptxQ.mjs +176 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +3 -3
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +72 -66
- package/dist/input-group.cjs +1 -1
- package/dist/input-group.d.ts +7 -7
- package/dist/input-group.d.ts.map +1 -1
- package/dist/input-group.mjs +4 -4
- package/dist/input-otp-D9MwUsPO.js +20 -0
- package/dist/input-otp-m_BTudNY.mjs +409 -0
- package/dist/input-otp.cjs +1 -1
- package/dist/input-otp.d.ts +4 -4
- package/dist/input-otp.d.ts.map +1 -1
- package/dist/input-otp.mjs +1 -1
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -1
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +1 -1
- package/dist/item.cjs +1 -1
- package/dist/item.d.ts +11 -11
- package/dist/item.d.ts.map +1 -1
- package/dist/item.mjs +4 -4
- package/dist/kbd.cjs +1 -1
- package/dist/kbd.d.ts +2 -2
- package/dist/kbd.d.ts.map +1 -1
- package/dist/kbd.mjs +2 -2
- package/dist/label-CgKiKHKG.js +1 -0
- package/dist/label-DVA-YKpB.mjs +28 -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 -1
- package/dist/marker.cjs +1 -0
- package/dist/marker.d.ts +12 -0
- package/dist/marker.d.ts.map +1 -0
- package/dist/marker.mjs +40 -0
- package/dist/marker.test.d.ts +2 -0
- package/dist/marker.test.d.ts.map +1 -0
- package/dist/{menubar-BcyqIJgy.mjs → menubar-CyKBLHme.mjs} +130 -166
- package/dist/menubar-DlOMZeh1.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +16 -16
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/message-scroller-DqLu0YI6.js +1 -0
- package/dist/message-scroller-FwdKclRM.mjs +824 -0
- package/dist/message-scroller.cjs +1 -0
- package/dist/message-scroller.d.ts +13 -0
- package/dist/message-scroller.d.ts.map +1 -0
- package/dist/message-scroller.mjs +3 -0
- package/dist/message-scroller.test.d.ts +2 -0
- package/dist/message-scroller.test.d.ts.map +1 -0
- package/dist/message.cjs +1 -0
- package/dist/message.d.ts +11 -0
- package/dist/message.d.ts.map +1 -0
- package/dist/message.mjs +50 -0
- package/dist/message.test.d.ts +2 -0
- package/dist/message.test.d.ts.map +1 -0
- package/dist/native-select.cjs +1 -1
- package/dist/native-select.d.ts +3 -3
- package/dist/native-select.d.ts.map +1 -1
- package/dist/native-select.mjs +12 -12
- package/dist/navigation-menu-BzE1J1rs.mjs +608 -0
- package/dist/navigation-menu-CrR01R8Z.js +1 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +8 -8
- 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 +7 -7
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +40 -34
- package/dist/popover-CFF_HXSf.mjs +222 -0
- package/dist/popover-D9pVy08c.js +1 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +7 -7
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-ClcVCqjl.mjs +93 -0
- package/dist/progress-nfJMuKGj.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 -1
- package/dist/questionnaire-DKWcZeWT.mjs +1159 -0
- package/dist/questionnaire-PWClWvST.js +1 -0
- package/dist/questionnaire.cjs +1 -0
- package/dist/questionnaire.d.ts +22 -0
- package/dist/questionnaire.d.ts.map +1 -0
- package/dist/questionnaire.mjs +4 -0
- package/dist/questionnaire.test.d.ts +2 -0
- package/dist/questionnaire.test.d.ts.map +1 -0
- package/dist/radio-group-5VwmCXRK.mjs +265 -0
- package/dist/radio-group-DhXnB0fI.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +2 -2
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/resizable-ChIqXiu4.js +1 -0
- package/dist/{resizable-DJSE3e5L.mjs → resizable-CpovHnG-.mjs} +341 -329
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +3 -3
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/scroll-area-CUqjuvqH.js +1 -0
- package/dist/{scroll-area-8QcqkHnC.mjs → scroll-area-DstdIGvS.mjs} +151 -142
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +2 -2
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -1
- package/dist/scroll-to-top.cjs +1 -1
- package/dist/scroll-to-top.d.ts +1 -1
- package/dist/scroll-to-top.d.ts.map +1 -1
- package/dist/scroll-to-top.mjs +11 -11
- package/dist/search.cjs +1 -1
- package/dist/search.d.ts +1 -1
- package/dist/search.d.ts.map +1 -1
- package/dist/search.mjs +17 -17
- package/dist/select-CnCTQeh7.js +1 -0
- package/dist/select-CnHZdna2.mjs +792 -0
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +10 -10
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/separator-BXaVJadH.js +1 -0
- package/dist/separator-D1a8myFf.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 -1
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +8 -8
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +23 -23
- package/dist/{sidebar-B-sWccYh.mjs → sidebar-B5q6nH2G.mjs} +64 -64
- package/dist/sidebar-ns_2TNBM.js +1 -0
- package/dist/sidebar.cjs +1 -1
- package/dist/sidebar.d.ts +24 -24
- package/dist/sidebar.d.ts.map +1 -1
- package/dist/sidebar.mjs +1 -1
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -1
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +1 -1
- package/dist/slider-PoIV6N-u.js +1 -0
- package/dist/slider-ZnyQjYsS.mjs +460 -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.cjs +1 -1
- package/dist/sonner.d.ts +2 -4
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +8 -8
- package/dist/spinner.cjs +1 -1
- package/dist/spinner.d.ts +1 -1
- package/dist/spinner.d.ts.map +1 -1
- package/dist/spinner.mjs +5 -4
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.d.ts +1 -1
- package/dist/support-fab.d.ts.map +1 -1
- package/dist/support-fab.mjs +49 -41
- package/dist/switch-DLY8PkmL.js +1 -0
- package/dist/switch-DagjjAQu.mjs +170 -0
- 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 +4 -3
- package/dist/table-of-contents.d.ts.map +1 -1
- package/dist/table-of-contents.mjs +2 -2
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -8
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +1 -1
- package/dist/tabs-OQ6rj-3B.mjs +158 -0
- package/dist/tabs-QBWdNfSK.js +1 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +4 -4
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -1
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +1 -1
- package/dist/theme-provider.d.ts +1 -1
- package/dist/theme-provider.d.ts.map +1 -1
- package/dist/{theme-toggle-clE-HpSS.mjs → theme-toggle-BCcH-QtH.mjs} +20 -20
- package/dist/theme-toggle-Q3UHstP_.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-DVI6jPq5.mjs → toast-BOdziIGg.mjs} +165 -169
- package/dist/toast-D1fjLwO1.js +1 -0
- package/dist/toast.cjs +1 -1
- package/dist/toast.mjs +1 -1
- package/dist/{toaster-Czhz-ktg.mjs → toaster-CKAJ9cht.mjs} +1 -1
- package/dist/{toaster-DfDb2-aI.js → toaster-DS9iODKU.js} +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-CuLxBIWH.mjs +59 -0
- package/dist/toggle-DtpvPox_.js +1 -0
- package/dist/toggle-group-DfkvPKU_.mjs +164 -0
- package/dist/toggle-group-UHY0Tip1.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +2 -2
- 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-BbCL1gtU.mjs +384 -0
- package/dist/tooltip-BvpyStn2.js +1 -0
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +4 -4
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +3 -1
- package/src/__contracts.ts +163 -0
- package/src/accordion.tsx +3 -4
- package/src/alert-dialog.tsx +5 -5
- package/src/alert.tsx +2 -3
- package/src/attachment.tsx +203 -0
- package/src/breadcrumb.tsx +3 -4
- package/src/bubble.tsx +116 -0
- package/src/button-group.tsx +5 -5
- package/src/button.tsx +5 -6
- package/src/calendar.tsx +6 -5
- package/src/card.tsx +5 -5
- package/src/carousel.tsx +7 -7
- package/src/chart.tsx +1 -4
- package/src/checkbox.tsx +3 -4
- package/src/combobox.tsx +8 -7
- package/src/command.tsx +7 -7
- package/src/context-menu.tsx +9 -10
- package/src/dialog.tsx +5 -5
- package/src/drawer.tsx +2 -3
- package/src/dropdown-menu.tsx +9 -10
- package/src/empty.tsx +2 -3
- package/src/field.tsx +5 -4
- package/src/hover-card.tsx +2 -3
- package/src/index.ts +55 -1
- package/src/input-group.tsx +8 -7
- package/src/input-otp.tsx +3 -3
- package/src/input.tsx +1 -2
- package/src/item.tsx +4 -3
- package/src/kbd.tsx +3 -2
- package/src/label.tsx +1 -2
- package/src/marker.tsx +62 -0
- package/src/menubar.tsx +10 -11
- package/src/message-scroller.tsx +134 -0
- package/src/message.tsx +86 -0
- package/src/native-select.tsx +2 -2
- package/src/navigation-menu.tsx +7 -8
- package/src/pagination.tsx +6 -6
- package/src/popover.tsx +2 -3
- package/src/progress.tsx +1 -2
- package/src/questionnaire.tsx +334 -0
- package/src/radio-group.tsx +2 -3
- package/src/resizable.tsx +1 -4
- package/src/scroll-area.tsx +2 -3
- package/src/select.tsx +7 -8
- package/src/separator.tsx +3 -4
- package/src/sheet.tsx +5 -5
- package/src/sidebar.tsx +14 -13
- package/src/skeleton.tsx +1 -1
- package/src/slider.tsx +4 -5
- package/src/sonner.tsx +0 -5
- package/src/spinner.tsx +10 -2
- package/src/support-fab.tsx +24 -3
- package/src/switch.tsx +3 -4
- package/src/table-of-contents.tsx +7 -2
- package/src/table.tsx +1 -2
- package/src/tabs.tsx +8 -9
- package/src/textarea.tsx +1 -2
- package/src/toggle-group.tsx +4 -4
- package/src/toggle.tsx +3 -4
- package/src/tooltip.tsx +2 -3
- package/dist/accordion-Dd8Hrexd.mjs +0 -244
- package/dist/accordion-DdSOiVyo.js +0 -1
- package/dist/alert-dialog-B7zX3gJX.js +0 -7
- package/dist/alert-dialog-BQoG5g_w.mjs +0 -213
- package/dist/aspect-ratio-QD1ZXP2B.js +0 -1
- package/dist/avatar-C4onD8-4.mjs +0 -127
- package/dist/avatar-ki_M47qG.js +0 -1
- package/dist/calendar-D9sapvfY.js +0 -1
- package/dist/carousel-6oFHLN7R.js +0 -1
- package/dist/checkbox-BLgY82mB.js +0 -1
- package/dist/checkbox-Bts_zfqd.mjs +0 -173
- package/dist/combobox-6qNx9Wbb.js +0 -4
- package/dist/combobox-yDMqxM_J.mjs +0 -5522
- package/dist/command-C6wJ5giF.mjs +0 -576
- package/dist/command-DCrPL1iW.js +0 -1
- package/dist/context-menu-CydUpD4W.mjs +0 -349
- package/dist/context-menu-DQ7XuuG5.js +0 -1
- package/dist/dist-1C8JOpVg.js +0 -1
- package/dist/dist-B1OcuinL.mjs +0 -558
- package/dist/dist-BGZDG175.mjs +0 -199
- package/dist/dist-BPBwSSyk.mjs +0 -8
- package/dist/dist-BPX1UGAz2.js +0 -1
- package/dist/dist-BRsDdVlJ.js +0 -1
- package/dist/dist-BWwCr-xN.mjs +0 -118
- package/dist/dist-BYdcKuDi.mjs +0 -16
- package/dist/dist-BlB11V_z.mjs +0 -27
- package/dist/dist-Bm8Cuttq.mjs +0 -76
- package/dist/dist-Byhx2fDJ.js +0 -1
- package/dist/dist-CCXBcfM3.js +0 -1
- package/dist/dist-CCokLFyA.mjs +0 -10
- package/dist/dist-CDU9vno-.mjs +0 -18
- package/dist/dist-CEJNUZGZ.js +0 -1
- package/dist/dist-CJolxugc.js +0 -1
- package/dist/dist-CQhWBhaI.mjs +0 -91
- package/dist/dist-CRLbUj9C.js +0 -1
- package/dist/dist-CSkpam6a.js +0 -1
- package/dist/dist-CWElW7UD.js +0 -1
- package/dist/dist-CXbzwSnE.js +0 -1
- package/dist/dist-CYj6O95k.mjs +0 -220
- package/dist/dist-C_45sBzc2.js +0 -1
- package/dist/dist-Cb7OVHcJ.js +0 -1
- package/dist/dist-Ccv5O-Vw.js +0 -1
- package/dist/dist-ChuP-5Gb.js +0 -1
- package/dist/dist-CiM892Rg.js +0 -1
- package/dist/dist-CuMQq0hV.js +0 -1
- package/dist/dist-DGzGsPqo2.mjs +0 -6
- package/dist/dist-DMnXk8Uo.js +0 -1
- package/dist/dist-DPBTfUqI.mjs +0 -96
- package/dist/dist-DR0lXVFG.js +0 -1
- package/dist/dist-Da7BU5sd.js +0 -5
- package/dist/dist-Df2ez-DA.mjs +0 -12
- package/dist/dist-DuTFGM_g.mjs +0 -45
- package/dist/dist-DynSBUGq.js +0 -1
- package/dist/dist-Dz3LbuDd.mjs +0 -60
- package/dist/dist-GhACpuJb2.mjs +0 -73
- package/dist/dist-o4zlRoDG.js +0 -1
- package/dist/dist-rGeQfsgN.mjs +0 -66
- package/dist/dist-tvb2Wafb.mjs +0 -153
- package/dist/dropdown-menu-BoJvZ3Fj.js +0 -1
- package/dist/es2015-D22cM8Q_.js +0 -41
- package/dist/floating-ui.react-dom-DpCJEf_x.js +0 -1
- package/dist/hover-card-CJ-ibpbC.mjs +0 -187
- package/dist/hover-card-CK5SjVLL.js +0 -1
- package/dist/input-otp-BH_9dVhh.mjs +0 -391
- package/dist/input-otp-BibboKMt.js +0 -20
- package/dist/label-BXMSoyyu.js +0 -1
- package/dist/label-C8GNfPU0.mjs +0 -25
- package/dist/menubar-DPxokWFI.js +0 -1
- package/dist/navigation-menu-2yE2MUu-.js +0 -1
- package/dist/navigation-menu-N8gkxEXE.mjs +0 -628
- package/dist/popover-D1AO-E8p.js +0 -1
- package/dist/popover-wQACF3ut.mjs +0 -245
- package/dist/progress-DPWSEWa5.mjs +0 -86
- package/dist/progress-ShXZwOfj.js +0 -6
- package/dist/radio-group-CQbZCQmj.mjs +0 -199
- package/dist/radio-group-DAEi5vW_.js +0 -1
- package/dist/resizable-Cv-mKMKP.js +0 -1
- package/dist/scroll-area-Cqqinhxf.js +0 -1
- package/dist/select-DdUveoSA.js +0 -1
- package/dist/select-yoeH35x2.mjs +0 -778
- package/dist/separator-BU1ea5gl.mjs +0 -35
- package/dist/separator-DBjErwHf.js +0 -1
- package/dist/shim-B5sEfNEJ.js +0 -1
- package/dist/shim-DX33EwUw.mjs +0 -91
- package/dist/sidebar-DIW-1cin.js +0 -1
- package/dist/slider-CCPXejUF.mjs +0 -388
- package/dist/slider-w05gD_Ix.js +0 -1
- package/dist/switch-CDBqsWQa.mjs +0 -112
- package/dist/switch-X2WBJsUu.js +0 -1
- package/dist/tabs-DzvgrVzk.js +0 -1
- package/dist/tabs-KDeHjVQU.mjs +0 -160
- package/dist/theme-toggle-C2Y4bIM3.js +0 -1
- package/dist/toast-1keyrzem.js +0 -1
- package/dist/toggle-BGkq5XDM.js +0 -1
- package/dist/toggle-BfIIdlA6.mjs +0 -58
- package/dist/toggle-group-CbqgoPFU.mjs +0 -167
- package/dist/toggle-group-D7hR4BT2.js +0 -1
- package/dist/tooltip-CAIbshMk.js +0 -1
- package/dist/tooltip-D_o8Z-Ya.mjs +0 -380
|
@@ -3,15 +3,15 @@ import { NavigationMenuBaseProps } from '@gv-tech/ui-core';
|
|
|
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;
|
|
6
|
-
}):
|
|
7
|
-
declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>):
|
|
8
|
-
declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>):
|
|
6
|
+
}): React.JSX.Element;
|
|
7
|
+
declare function NavigationMenuList({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.List>): React.JSX.Element;
|
|
8
|
+
declare function NavigationMenuItem({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Item>): React.JSX.Element;
|
|
9
9
|
declare const navigationMenuTriggerStyle: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
10
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>):
|
|
11
|
-
declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>):
|
|
12
|
-
declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>):
|
|
13
|
-
declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>):
|
|
14
|
-
declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>):
|
|
10
|
+
declare function NavigationMenuTrigger({ className, children, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Trigger>): React.JSX.Element;
|
|
11
|
+
declare function NavigationMenuContent({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Content>): React.JSX.Element;
|
|
12
|
+
declare function NavigationMenuViewport({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Viewport>): React.JSX.Element;
|
|
13
|
+
declare function NavigationMenuLink({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Link>): React.JSX.Element;
|
|
14
|
+
declare function NavigationMenuIndicator({ className, ...props }: React.ComponentProps<typeof NavigationMenuPrimitive.Indicator>): React.JSX.Element;
|
|
15
15
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, navigationMenuTriggerStyle, NavigationMenuViewport, };
|
|
16
16
|
export type ___verifyNavigationMenuContract = React.ComponentProps<typeof NavigationMenu> extends NavigationMenuBaseProps ? true : false;
|
|
17
17
|
//# sourceMappingURL=navigation-menu.d.ts.map
|
|
@@ -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":"AAGA,OAAO,EAAE,cAAc,IAAI,uBAAuB,EAAE,MAAM,UAAU,CAAC;AACrE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAEhE,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,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./navigation-menu-
|
|
2
|
+
import { a as e, c as t, i as n, l as r, n as i, o as a, r as o, s, t as c } from "./navigation-menu-BzE1J1rs.mjs";
|
|
3
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 };
|
package/dist/pagination.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunk-mLOUI7ql.js"),t=require("./
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.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`,...o}){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,...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,20 +1,20 @@
|
|
|
1
1
|
import { Button } from './button';
|
|
2
2
|
import { PaginationBaseProps } from '@gv-tech/ui-core';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>):
|
|
5
|
-
declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>):
|
|
6
|
-
declare function PaginationItem({ ...props }: React.ComponentProps<'li'>):
|
|
4
|
+
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): React.JSX.Element;
|
|
5
|
+
declare function PaginationContent({ className, ...props }: React.ComponentProps<'ul'>): React.JSX.Element;
|
|
6
|
+
declare function PaginationItem({ ...props }: React.ComponentProps<'li'>): React.JSX.Element;
|
|
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):
|
|
10
|
+
declare function PaginationLink({ className, isActive, size, ...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;
|
|
14
14
|
declare function PaginationNext({ className, text, ...props }: React.ComponentProps<typeof PaginationLink> & {
|
|
15
15
|
text?: string;
|
|
16
|
-
}):
|
|
17
|
-
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>):
|
|
16
|
+
}): React.JSX.Element;
|
|
17
|
+
declare function PaginationEllipsis({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
18
18
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, };
|
|
19
19
|
export type ___verifyPaginationContract = React.ComponentProps<typeof Pagination> extends PaginationBaseProps ? true : false;
|
|
20
20
|
//# sourceMappingURL=pagination.d.ts.map
|
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":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AAEpC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D,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,GAAG,KAAK,EAAE,EAAE,mBAAmB,qBAM5F;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,77 +1,83 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./
|
|
2
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
3
3
|
import { Button as t } from "./button.mjs";
|
|
4
|
+
import { ChevronLeftIcon as n, ChevronRightIcon as r, MoreHorizontalIcon as i } from "lucide-react";
|
|
4
5
|
import "react";
|
|
5
|
-
import { jsx as
|
|
6
|
-
import { ChevronLeftIcon as i, ChevronRightIcon as a, MoreHorizontalIcon as o } from "lucide-react";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
7
|
//#region src/pagination.tsx
|
|
8
|
-
function s({ className: t, ...
|
|
9
|
-
return /* @__PURE__ */
|
|
8
|
+
function s({ className: t, ...n }) {
|
|
9
|
+
return /* @__PURE__ */ a("nav", {
|
|
10
10
|
role: "navigation",
|
|
11
11
|
"aria-label": "pagination",
|
|
12
12
|
"data-slot": "pagination",
|
|
13
13
|
className: e("mx-auto flex w-full justify-center", t),
|
|
14
|
-
...
|
|
14
|
+
...n
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
function c({ className: t, ...
|
|
18
|
-
return /* @__PURE__ */
|
|
17
|
+
function c({ className: t, ...n }) {
|
|
18
|
+
return /* @__PURE__ */ a("ul", {
|
|
19
19
|
"data-slot": "pagination-content",
|
|
20
20
|
className: e("flex items-center gap-0.5", t),
|
|
21
|
-
...
|
|
21
|
+
...n
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
function l({ ...e }) {
|
|
25
|
-
return /* @__PURE__ */
|
|
25
|
+
return /* @__PURE__ */ a("li", {
|
|
26
26
|
"data-slot": "pagination-item",
|
|
27
27
|
...e
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
function u({ className:
|
|
31
|
-
return /* @__PURE__ */
|
|
30
|
+
function u({ className: n, isActive: r, size: i = "icon", ...o }) {
|
|
31
|
+
return /* @__PURE__ */ a(t, {
|
|
32
32
|
asChild: !0,
|
|
33
|
-
variant:
|
|
34
|
-
size:
|
|
35
|
-
className: e(
|
|
36
|
-
children: /* @__PURE__ */
|
|
37
|
-
"aria-current":
|
|
33
|
+
variant: r ? "outline" : "ghost",
|
|
34
|
+
size: i,
|
|
35
|
+
className: e(n),
|
|
36
|
+
children: /* @__PURE__ */ a("a", {
|
|
37
|
+
"aria-current": r ? "page" : void 0,
|
|
38
38
|
"data-slot": "pagination-link",
|
|
39
|
-
"data-active":
|
|
39
|
+
"data-active": r,
|
|
40
40
|
...o
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
}
|
|
44
|
-
function d({ className: t, text:
|
|
45
|
-
return /* @__PURE__ */
|
|
44
|
+
function d({ className: t, text: r = "Previous", ...i }) {
|
|
45
|
+
return /* @__PURE__ */ o(u, {
|
|
46
46
|
"aria-label": "Go to previous page",
|
|
47
47
|
size: "default",
|
|
48
48
|
className: e("ps-1.5!", t),
|
|
49
|
-
...
|
|
50
|
-
children: [/* @__PURE__ */
|
|
49
|
+
...i,
|
|
50
|
+
children: [/* @__PURE__ */ a(n, {
|
|
51
|
+
"data-icon": "inline-start",
|
|
52
|
+
className: "rtl:rotate-180"
|
|
53
|
+
}), /* @__PURE__ */ a("span", {
|
|
51
54
|
className: "hidden sm:block",
|
|
52
|
-
children:
|
|
55
|
+
children: r
|
|
53
56
|
})]
|
|
54
57
|
});
|
|
55
58
|
}
|
|
56
|
-
function f({ className: t, text:
|
|
57
|
-
return /* @__PURE__ */
|
|
59
|
+
function f({ className: t, text: n = "Next", ...i }) {
|
|
60
|
+
return /* @__PURE__ */ o(u, {
|
|
58
61
|
"aria-label": "Go to next page",
|
|
59
62
|
size: "default",
|
|
60
63
|
className: e("pe-1.5!", t),
|
|
61
|
-
...
|
|
62
|
-
children: [/* @__PURE__ */
|
|
64
|
+
...i,
|
|
65
|
+
children: [/* @__PURE__ */ a("span", {
|
|
63
66
|
className: "hidden sm:block",
|
|
64
|
-
children:
|
|
65
|
-
}), /* @__PURE__ */
|
|
67
|
+
children: n
|
|
68
|
+
}), /* @__PURE__ */ a(r, {
|
|
69
|
+
"data-icon": "inline-end",
|
|
70
|
+
className: "rtl:rotate-180"
|
|
71
|
+
})]
|
|
66
72
|
});
|
|
67
73
|
}
|
|
68
|
-
function p({ className: t, ...
|
|
69
|
-
return /* @__PURE__ */
|
|
74
|
+
function p({ className: t, ...n }) {
|
|
75
|
+
return /* @__PURE__ */ o("span", {
|
|
70
76
|
"aria-hidden": !0,
|
|
71
77
|
"data-slot": "pagination-ellipsis",
|
|
72
|
-
className: e("flex size-8 items-center justify-center [&_svg:not([class*=size-])]:size-4", t),
|
|
73
|
-
...
|
|
74
|
-
children: [/* @__PURE__ */
|
|
78
|
+
className: e("flex size-8 items-center justify-center [&_svg:not([class*='size-'])]:size-4", t),
|
|
79
|
+
...n,
|
|
80
|
+
children: [/* @__PURE__ */ a(i, {}), /* @__PURE__ */ a("span", {
|
|
75
81
|
className: "sr-only",
|
|
76
82
|
children: "More pages"
|
|
77
83
|
})]
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
2
|
+
import { a as t, n } from "./dist-8fYwoWd4.mjs";
|
|
3
|
+
import { t as r } from "./dist-BQhMregZ.mjs";
|
|
4
|
+
import { t as i } from "./dist-DMwCTE2i.mjs";
|
|
5
|
+
import { t as a } from "./dist-DyMv0xk8.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 { n as l } from "./dist-CYrqAnIr.mjs";
|
|
10
|
+
import { i as u, n as d, r as f, t as p } from "./es2015-CYxXY2oV.mjs";
|
|
11
|
+
import { t as m } from "./dist-rx5WaFf5.mjs";
|
|
12
|
+
import { a as h, i as g, r as _, t as v } from "./dist-DfvK7DpO.mjs";
|
|
13
|
+
import * as y from "react";
|
|
14
|
+
import { jsx as b } from "react/jsx-runtime";
|
|
15
|
+
//#region ../../node_modules/.bun/@radix-ui+react-popover@1.1.23+2b23df507bdda662/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
16
|
+
var x = Object.defineProperty, S = (e, t) => x(e, "name", {
|
|
17
|
+
value: t,
|
|
18
|
+
configurable: !0
|
|
19
|
+
}), C = "Popover", [w, ee] = i(C, [h]), T = h(), [E, D] = w(C), O = /* @__PURE__ */ S((e) => {
|
|
20
|
+
let { __scopePopover: t, children: n, open: r, defaultOpen: i, onOpenChange: a, modal: s = !1 } = e, l = T(t), u = y.useRef(null), [d, f] = y.useState(!1), [p, m] = o({
|
|
21
|
+
prop: r,
|
|
22
|
+
defaultProp: i ?? !1,
|
|
23
|
+
onChange: a,
|
|
24
|
+
caller: C
|
|
25
|
+
});
|
|
26
|
+
return /* @__PURE__ */ b(g, {
|
|
27
|
+
...l,
|
|
28
|
+
children: /* @__PURE__ */ b(E, {
|
|
29
|
+
scope: t,
|
|
30
|
+
contentId: c(),
|
|
31
|
+
triggerRef: u,
|
|
32
|
+
open: p,
|
|
33
|
+
onOpenChange: m,
|
|
34
|
+
onOpenToggle: y.useCallback(() => m((e) => !e), [m]),
|
|
35
|
+
hasCustomAnchor: d,
|
|
36
|
+
onCustomAnchorAdd: y.useCallback(() => f(!0), []),
|
|
37
|
+
onCustomAnchorRemove: y.useCallback(() => f(!1), []),
|
|
38
|
+
modal: s,
|
|
39
|
+
children: n
|
|
40
|
+
})
|
|
41
|
+
});
|
|
42
|
+
}, "Popover"), k = "PopoverAnchor", A = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
|
|
43
|
+
let { __scopePopover: n, ...r } = e, i = D(k, n), a = T(n), { onCustomAnchorAdd: o, onCustomAnchorRemove: s } = i;
|
|
44
|
+
return y.useEffect(() => (o(), () => s()), [o, s]), /* @__PURE__ */ b(v, {
|
|
45
|
+
...a,
|
|
46
|
+
...r,
|
|
47
|
+
ref: t
|
|
48
|
+
});
|
|
49
|
+
}, "PopoverAnchor")), j = "PopoverTrigger", M = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, n) {
|
|
50
|
+
let { __scopePopover: i, ...o } = e, s = D(j, i), c = T(i), l = t(n, s.triggerRef), u = /* @__PURE__ */ b(r.button, {
|
|
51
|
+
type: "button",
|
|
52
|
+
"aria-haspopup": "dialog",
|
|
53
|
+
"aria-expanded": s.open,
|
|
54
|
+
"aria-controls": s.open ? s.contentId : void 0,
|
|
55
|
+
"data-state": U(s.open),
|
|
56
|
+
...o,
|
|
57
|
+
ref: l,
|
|
58
|
+
onClick: a(e.onClick, s.onOpenToggle)
|
|
59
|
+
});
|
|
60
|
+
return s.hasCustomAnchor ? u : /* @__PURE__ */ b(v, {
|
|
61
|
+
asChild: !0,
|
|
62
|
+
...c,
|
|
63
|
+
children: u
|
|
64
|
+
});
|
|
65
|
+
}, "PopoverTrigger")), N = "PopoverPortal", [P, F] = w(N, { forceMount: void 0 }), I = /* @__PURE__ */ S((e) => {
|
|
66
|
+
let { __scopePopover: t, forceMount: n, children: r, container: i } = e, a = D(N, t);
|
|
67
|
+
return /* @__PURE__ */ b(P, {
|
|
68
|
+
scope: t,
|
|
69
|
+
forceMount: n,
|
|
70
|
+
children: /* @__PURE__ */ b(s, {
|
|
71
|
+
present: n || a.open,
|
|
72
|
+
children: /* @__PURE__ */ b(m, {
|
|
73
|
+
asChild: !0,
|
|
74
|
+
container: i,
|
|
75
|
+
children: r
|
|
76
|
+
})
|
|
77
|
+
})
|
|
78
|
+
});
|
|
79
|
+
}, "PopoverPortal"), L = "PopoverContent", R = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
|
|
80
|
+
let n = F(L, e.__scopePopover), { forceMount: r = n.forceMount, ...i } = e, a = D(L, e.__scopePopover);
|
|
81
|
+
return /* @__PURE__ */ b(s, {
|
|
82
|
+
present: r || a.open,
|
|
83
|
+
children: a.modal ? /* @__PURE__ */ b(B, {
|
|
84
|
+
...i,
|
|
85
|
+
ref: t
|
|
86
|
+
}) : /* @__PURE__ */ b(V, {
|
|
87
|
+
...i,
|
|
88
|
+
ref: t
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
}, "PopoverContent")), z = n("PopoverContent.RemoveScroll"), B = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, n) {
|
|
92
|
+
let r = D(L, e.__scopePopover), i = y.useRef(null), o = t(n, i), s = y.useRef(!1);
|
|
93
|
+
return y.useEffect(() => {
|
|
94
|
+
let e = i.current;
|
|
95
|
+
if (e) return p(e);
|
|
96
|
+
}, []), /* @__PURE__ */ b(d, {
|
|
97
|
+
as: z,
|
|
98
|
+
allowPinchZoom: !0,
|
|
99
|
+
children: /* @__PURE__ */ b(H, {
|
|
100
|
+
...e,
|
|
101
|
+
ref: o,
|
|
102
|
+
trapFocus: r.open,
|
|
103
|
+
disableOutsidePointerEvents: !0,
|
|
104
|
+
onCloseAutoFocus: a(e.onCloseAutoFocus, (e) => {
|
|
105
|
+
e.preventDefault(), s.current || r.triggerRef.current?.focus();
|
|
106
|
+
}),
|
|
107
|
+
onPointerDownOutside: a(e.onPointerDownOutside, (e) => {
|
|
108
|
+
let t = e.detail.originalEvent, n = t.button === 0 && t.ctrlKey === !0;
|
|
109
|
+
s.current = t.button === 2 || n;
|
|
110
|
+
}, { checkForDefaultPrevented: !1 }),
|
|
111
|
+
onFocusOutside: a(e.onFocusOutside, (e) => e.preventDefault(), { checkForDefaultPrevented: !1 })
|
|
112
|
+
})
|
|
113
|
+
});
|
|
114
|
+
}, "PopoverContentModal")), V = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
|
|
115
|
+
let n = D(L, e.__scopePopover), r = y.useRef(!1), i = y.useRef(!1);
|
|
116
|
+
return /* @__PURE__ */ b(H, {
|
|
117
|
+
...e,
|
|
118
|
+
ref: t,
|
|
119
|
+
trapFocus: !1,
|
|
120
|
+
disableOutsidePointerEvents: !1,
|
|
121
|
+
onCloseAutoFocus: (t) => {
|
|
122
|
+
e.onCloseAutoFocus?.(t), t.defaultPrevented || (r.current || n.triggerRef.current?.focus(), t.preventDefault()), r.current = !1, i.current = !1;
|
|
123
|
+
},
|
|
124
|
+
onInteractOutside: (t) => {
|
|
125
|
+
e.onInteractOutside?.(t), t.defaultPrevented || (r.current = !0, t.detail.originalEvent.type === "pointerdown" && (i.current = !0));
|
|
126
|
+
let a = t.target;
|
|
127
|
+
n.triggerRef.current?.contains(a) && t.preventDefault(), t.detail.originalEvent.type === "focusin" && i.current && t.preventDefault();
|
|
128
|
+
}
|
|
129
|
+
});
|
|
130
|
+
}, "PopoverContentNonModal")), H = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
|
|
131
|
+
let { __scopePopover: n, trapFocus: r, onOpenAutoFocus: i, onCloseAutoFocus: a, disableOutsidePointerEvents: o, onEscapeKeyDown: s, onPointerDownOutside: c, onFocusOutside: d, onInteractOutside: p, ...m } = e, h = D(L, n), g = T(n);
|
|
132
|
+
return f(), /* @__PURE__ */ b(u, {
|
|
133
|
+
asChild: !0,
|
|
134
|
+
loop: !0,
|
|
135
|
+
trapped: r,
|
|
136
|
+
onMountAutoFocus: i,
|
|
137
|
+
onUnmountAutoFocus: a,
|
|
138
|
+
children: /* @__PURE__ */ b(l, {
|
|
139
|
+
asChild: !0,
|
|
140
|
+
disableOutsidePointerEvents: o,
|
|
141
|
+
onInteractOutside: p,
|
|
142
|
+
onEscapeKeyDown: s,
|
|
143
|
+
onPointerDownOutside: c,
|
|
144
|
+
onFocusOutside: d,
|
|
145
|
+
onDismiss: () => h.onOpenChange(!1),
|
|
146
|
+
deferPointerDownOutside: !0,
|
|
147
|
+
children: /* @__PURE__ */ b(_, {
|
|
148
|
+
"data-state": U(h.open),
|
|
149
|
+
role: "dialog",
|
|
150
|
+
id: h.contentId,
|
|
151
|
+
...g,
|
|
152
|
+
...m,
|
|
153
|
+
ref: t,
|
|
154
|
+
style: {
|
|
155
|
+
...m.style,
|
|
156
|
+
"--radix-popover-content-transform-origin": "var(--radix-popper-transform-origin)",
|
|
157
|
+
"--radix-popover-content-available-width": "var(--radix-popper-available-width)",
|
|
158
|
+
"--radix-popover-content-available-height": "var(--radix-popper-available-height)",
|
|
159
|
+
"--radix-popover-trigger-width": "var(--radix-popper-anchor-width)",
|
|
160
|
+
"--radix-popover-trigger-height": "var(--radix-popper-anchor-height)"
|
|
161
|
+
}
|
|
162
|
+
})
|
|
163
|
+
})
|
|
164
|
+
});
|
|
165
|
+
}, "PopoverContentImpl"));
|
|
166
|
+
function U(e) {
|
|
167
|
+
return e ? "open" : "closed";
|
|
168
|
+
}
|
|
169
|
+
S(U, "getState");
|
|
170
|
+
var W = O, G = A, K = M, q = I, J = R;
|
|
171
|
+
//#endregion
|
|
172
|
+
//#region src/popover.tsx
|
|
173
|
+
function Y({ ...e }) {
|
|
174
|
+
return /* @__PURE__ */ b(W, {
|
|
175
|
+
"data-slot": "popover",
|
|
176
|
+
...e
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
function X({ ...e }) {
|
|
180
|
+
return /* @__PURE__ */ b(K, {
|
|
181
|
+
"data-slot": "popover-trigger",
|
|
182
|
+
...e
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
function Z({ className: t, align: n = "center", sideOffset: r = 4, ...i }) {
|
|
186
|
+
return /* @__PURE__ */ b(q, { children: /* @__PURE__ */ b(J, {
|
|
187
|
+
"data-slot": "popover-content",
|
|
188
|
+
align: n,
|
|
189
|
+
sideOffset: r,
|
|
190
|
+
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),
|
|
191
|
+
...i
|
|
192
|
+
}) });
|
|
193
|
+
}
|
|
194
|
+
function Q({ ...e }) {
|
|
195
|
+
return /* @__PURE__ */ b(G, {
|
|
196
|
+
"data-slot": "popover-anchor",
|
|
197
|
+
...e
|
|
198
|
+
});
|
|
199
|
+
}
|
|
200
|
+
function $({ className: t, ...n }) {
|
|
201
|
+
return /* @__PURE__ */ b("div", {
|
|
202
|
+
"data-slot": "popover-header",
|
|
203
|
+
className: e("flex flex-col gap-0.5 text-sm", t),
|
|
204
|
+
...n
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
function te({ className: t, ...n }) {
|
|
208
|
+
return /* @__PURE__ */ b("div", {
|
|
209
|
+
"data-slot": "popover-title",
|
|
210
|
+
className: e("font-medium", t),
|
|
211
|
+
...n
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
function ne({ className: t, ...n }) {
|
|
215
|
+
return /* @__PURE__ */ b("p", {
|
|
216
|
+
"data-slot": "popover-description",
|
|
217
|
+
className: e("text-muted-foreground", t),
|
|
218
|
+
...n
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
//#endregion
|
|
222
|
+
export { $ as a, ne as i, Q as n, te as o, Z as r, X as s, Y as t };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-NEeQKKDZ.js"),r=require("./dist-BoNQb2nd.js"),i=require("./dist-DYUvPCPC.js"),a=require("./dist-DZiOPWLp.js"),o=require("./dist-YAADIsyo.js"),s=require("./dist-D7-Fky36.js"),c=require("./dist-C8Pm6LRc.js"),l=require("./dist-CdBAkUWT.js"),u=require("./es2015-t2RPC0Rg.js"),d=require("./dist-BTN2t9yv.js"),f=require("./dist-Cn7g8jD0.js");let p=require("react"),m=e.r(p,1);p=e.r(p);let h=require("react/jsx-runtime");var g=Object.defineProperty,_=(e,t)=>g(e,`name`,{value:t,configurable:!0}),v=`Popover`,[y,b]=i.t(v,[f.a]),x=f.a(),[S,C]=y(v),w=_(e=>{let{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:a,modal:s=!1}=e,l=x(t),u=m.useRef(null),[d,p]=m.useState(!1),[g,_]=o.t({prop:r,defaultProp:i??!1,onChange:a,caller:v});return(0,h.jsx)(f.i,{...l,children:(0,h.jsx)(S,{scope:t,contentId:c.t(),triggerRef:u,open:g,onOpenChange:_,onOpenToggle:m.useCallback(()=>_(e=>!e),[_]),hasCustomAnchor:d,onCustomAnchorAdd:m.useCallback(()=>p(!0),[]),onCustomAnchorRemove:m.useCallback(()=>p(!1),[]),modal:s,children:n})})},`Popover`),T=`PopoverAnchor`,E=m.forwardRef(_(function(e,t){let{__scopePopover:n,...r}=e,i=C(T,n),a=x(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:s}=i;return m.useEffect(()=>(o(),()=>s()),[o,s]),(0,h.jsx)(f.t,{...a,...r,ref:t})},`PopoverAnchor`)),D=`PopoverTrigger`,O=m.forwardRef(_(function(e,t){let{__scopePopover:i,...o}=e,s=C(D,i),c=x(i),l=n.a(t,s.triggerRef),u=(0,h.jsx)(r.t.button,{type:`button`,"aria-haspopup":`dialog`,"aria-expanded":s.open,"aria-controls":s.open?s.contentId:void 0,"data-state":z(s.open),...o,ref:l,onClick:a.t(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?u:(0,h.jsx)(f.t,{asChild:!0,...c,children:u})},`PopoverTrigger`)),k=`PopoverPortal`,[A,j]=y(k,{forceMount:void 0}),M=_(e=>{let{__scopePopover:t,forceMount:n,children:r,container:i}=e,a=C(k,t);return(0,h.jsx)(A,{scope:t,forceMount:n,children:(0,h.jsx)(s.t,{present:n||a.open,children:(0,h.jsx)(d.t,{asChild:!0,container:i,children:r})})})},`PopoverPortal`),N=`PopoverContent`,P=m.forwardRef(_(function(e,t){let n=j(N,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,a=C(N,e.__scopePopover);return(0,h.jsx)(s.t,{present:r||a.open,children:a.modal?(0,h.jsx)(I,{...i,ref:t}):(0,h.jsx)(L,{...i,ref:t})})},`PopoverContent`)),F=n.n(`PopoverContent.RemoveScroll`),I=m.forwardRef(_(function(e,t){let r=C(N,e.__scopePopover),i=m.useRef(null),o=n.a(t,i),s=m.useRef(!1);return m.useEffect(()=>{let e=i.current;if(e)return u.t(e)},[]),(0,h.jsx)(u.n,{as:F,allowPinchZoom:!0,children:(0,h.jsx)(R,{...e,ref:o,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:a.t(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||r.triggerRef.current?.focus()}),onPointerDownOutside:a.t(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0;s.current=t.button===2||n},{checkForDefaultPrevented:!1}),onFocusOutside:a.t(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})},`PopoverContentModal`)),L=m.forwardRef(_(function(e,t){let n=C(N,e.__scopePopover),r=m.useRef(!1),i=m.useRef(!1);return(0,h.jsx)(R,{...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`)),R=m.forwardRef(_(function(e,t){let{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:o,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onInteractOutside:p,...m}=e,g=C(N,n),_=x(n);return u.r(),(0,h.jsx)(u.i,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,h.jsx)(l.n,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:p,onEscapeKeyDown:s,onPointerDownOutside:c,onFocusOutside:d,onDismiss:()=>g.onOpenChange(!1),deferPointerDownOutside:!0,children:(0,h.jsx)(f.r,{"data-state":z(g.open),role:`dialog`,id:g.contentId,..._,...m,ref:t,style:{...m.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 z(e){return e?`open`:`closed`}_(z,`getState`);var B=w,V=E,H=O,U=M,W=P;function G({...e}){return(0,h.jsx)(B,{"data-slot":`popover`,...e})}function K({...e}){return(0,h.jsx)(H,{"data-slot":`popover-trigger`,...e})}function q({className:e,align:n=`center`,sideOffset:r=4,...i}){return(0,h.jsx)(U,{children:(0,h.jsx)(W,{"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 J({...e}){return(0,h.jsx)(V,{"data-slot":`popover-anchor`,...e})}function Y({className:e,...n}){return(0,h.jsx)(`div`,{"data-slot":`popover-header`,className:t.t(`flex flex-col gap-0.5 text-sm`,e),...n})}function X({className:e,...n}){return(0,h.jsx)(`div`,{"data-slot":`popover-title`,className:t.t(`font-medium`,e),...n})}function Z({className:e,...n}){return(0,h.jsx)(`p`,{"data-slot":`popover-description`,className:t.t(`text-muted-foreground`,e),...n})}Object.defineProperty(exports,"a",{enumerable:!0,get:function(){return Y}}),Object.defineProperty(exports,"i",{enumerable:!0,get:function(){return Z}}),Object.defineProperty(exports,"n",{enumerable:!0,get:function(){return J}}),Object.defineProperty(exports,"o",{enumerable:!0,get:function(){return X}}),Object.defineProperty(exports,"r",{enumerable:!0,get:function(){return q}}),Object.defineProperty(exports,"s",{enumerable:!0,get:function(){return K}}),Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return G}});
|
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-D9pVy08c.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,13 +1,13 @@
|
|
|
1
1
|
import { Popover as PopoverPrimitive } from 'radix-ui';
|
|
2
2
|
import { PopoverBaseProps } from '@gv-tech/ui-core';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>):
|
|
5
|
-
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>):
|
|
6
|
-
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>):
|
|
7
|
-
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>):
|
|
8
|
-
declare function PopoverHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
9
|
-
declare function PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>):
|
|
10
|
-
declare function PopoverDescription({ className, ...props }: React.ComponentProps<'p'>):
|
|
4
|
+
declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): React.JSX.Element;
|
|
5
|
+
declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): React.JSX.Element;
|
|
6
|
+
declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): React.JSX.Element;
|
|
7
|
+
declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): React.JSX.Element;
|
|
8
|
+
declare function PopoverHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
9
|
+
declare function PopoverTitle({ className, ...props }: React.ComponentProps<'h2'>): React.JSX.Element;
|
|
10
|
+
declare function PopoverDescription({ className, ...props }: React.ComponentProps<'p'>): React.JSX.Element;
|
|
11
11
|
export { Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
12
12
|
export type ___verifyPopoverContract = React.ComponentProps<typeof Popover> extends PopoverBaseProps ? true : false;
|
|
13
13
|
//# sourceMappingURL=popover.d.ts.map
|
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":"AACA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,UAAU,CAAC;AACvD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAEzD,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,3 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./popover-
|
|
2
|
+
import { a as e, i as t, n, o as r, r as i, s as a, t as o } from "./popover-CFF_HXSf.mjs";
|
|
3
3
|
export { o as Popover, n as PopoverAnchor, i as PopoverContent, t as PopoverDescription, e as PopoverHeader, r as PopoverTitle, a as PopoverTrigger };
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
2
|
+
import { t } from "./dist-BQhMregZ.mjs";
|
|
3
|
+
import { t as n } from "./dist-DMwCTE2i.mjs";
|
|
4
|
+
import * as r from "react";
|
|
5
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
6
|
+
//#region ../../node_modules/.bun/@radix-ui+react-progress@1.1.16+2b23df507bdda662/node_modules/@radix-ui/react-progress/dist/index.mjs
|
|
7
|
+
var a = Object.defineProperty, o = (e, t) => a(e, "name", {
|
|
8
|
+
value: t,
|
|
9
|
+
configurable: !0
|
|
10
|
+
}), s = "Progress", c = 100, [l, u] = n(s), [d, f] = l(s), p = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, n) {
|
|
11
|
+
let { __scopeProgress: r, value: a = null, max: o, getValueLabel: s = g, ...l } = e;
|
|
12
|
+
(o || o === 0) && !y(o) && console.error(x(`${o}`, "Progress"));
|
|
13
|
+
let u = y(o) ? o : c;
|
|
14
|
+
a !== null && !b(a, u) && console.error(S(`${a}`, "Progress"));
|
|
15
|
+
let f = b(a, u) ? a : null, p = v(f) ? s(f, u) : void 0;
|
|
16
|
+
return /* @__PURE__ */ i(d, {
|
|
17
|
+
scope: r,
|
|
18
|
+
value: f,
|
|
19
|
+
max: u,
|
|
20
|
+
children: /* @__PURE__ */ i(t.div, {
|
|
21
|
+
"aria-valuemax": u,
|
|
22
|
+
"aria-valuemin": 0,
|
|
23
|
+
"aria-valuenow": v(f) ? f : void 0,
|
|
24
|
+
"aria-valuetext": p,
|
|
25
|
+
role: "progressbar",
|
|
26
|
+
"data-state": _(f, u),
|
|
27
|
+
"data-value": f ?? void 0,
|
|
28
|
+
"data-max": u,
|
|
29
|
+
...l,
|
|
30
|
+
ref: n
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
}, "Progress")), m = "ProgressIndicator", h = /* @__PURE__ */ r.forwardRef(/* @__PURE__ */ o(function(e, n) {
|
|
34
|
+
let { __scopeProgress: r, ...a } = e, o = f(m, r);
|
|
35
|
+
return /* @__PURE__ */ i(t.div, {
|
|
36
|
+
"data-state": _(o.value, o.max),
|
|
37
|
+
"data-value": o.value ?? void 0,
|
|
38
|
+
"data-max": o.max,
|
|
39
|
+
...a,
|
|
40
|
+
ref: n
|
|
41
|
+
});
|
|
42
|
+
}, "ProgressIndicator"));
|
|
43
|
+
function g(e, t) {
|
|
44
|
+
return `${Math.round(e / t * 100)}%`;
|
|
45
|
+
}
|
|
46
|
+
o(g, "defaultGetValueLabel");
|
|
47
|
+
function _(e, t) {
|
|
48
|
+
return e == null ? "indeterminate" : e === t ? "complete" : "loading";
|
|
49
|
+
}
|
|
50
|
+
o(_, "getProgressState");
|
|
51
|
+
function v(e) {
|
|
52
|
+
return typeof e == "number";
|
|
53
|
+
}
|
|
54
|
+
o(v, "isNumber");
|
|
55
|
+
function y(e) {
|
|
56
|
+
return v(e) && !isNaN(e) && e > 0;
|
|
57
|
+
}
|
|
58
|
+
o(y, "isValidMaxNumber");
|
|
59
|
+
function b(e, t) {
|
|
60
|
+
return v(e) && !isNaN(e) && e <= t && e >= 0;
|
|
61
|
+
}
|
|
62
|
+
o(b, "isValidValueNumber");
|
|
63
|
+
function x(e, t) {
|
|
64
|
+
return `Invalid prop \`max\` of value \`${e}\` supplied to \`${t}\`. Only numbers greater than 0 are valid max values. Defaulting to \`${c}\`.`;
|
|
65
|
+
}
|
|
66
|
+
o(x, "getInvalidMaxError");
|
|
67
|
+
function S(e, t) {
|
|
68
|
+
return `Invalid prop \`value\` of value \`${e}\` supplied to \`${t}\`. The \`value\` prop must be:
|
|
69
|
+
- a positive number
|
|
70
|
+
- less than the value passed to \`max\` (or ${c} if no \`max\` prop is set)
|
|
71
|
+
- \`null\` or \`undefined\` if the progress is indeterminate.
|
|
72
|
+
|
|
73
|
+
Defaulting to \`null\`.`;
|
|
74
|
+
}
|
|
75
|
+
o(S, "getInvalidValueError");
|
|
76
|
+
var C = p, w = h;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/progress.tsx
|
|
79
|
+
function T({ className: t, value: n, ...r }) {
|
|
80
|
+
return /* @__PURE__ */ i(C, {
|
|
81
|
+
"data-slot": "progress",
|
|
82
|
+
value: n,
|
|
83
|
+
className: e("bg-muted relative flex h-1 w-full items-center overflow-x-hidden rounded-full", t),
|
|
84
|
+
...r,
|
|
85
|
+
children: /* @__PURE__ */ i(w, {
|
|
86
|
+
"data-slot": "progress-indicator",
|
|
87
|
+
className: "bg-primary size-full flex-1 transition-all",
|
|
88
|
+
style: { transform: `translateX(-${100 - (n || 0)}%)` }
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
//#endregion
|
|
93
|
+
export { T as t };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-BoNQb2nd.js"),r=require("./dist-DYUvPCPC.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]=r.t(l),[p,m]=d(l),h=a.forwardRef(c(function(e,t){let{__scopeProgress:r,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:r,value:d,max:l,children:(0,o.jsx)(n.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:r,...i}=e,a=m(g,r);return(0,o.jsx)(n.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`);var T=h,E=_;function D({className:e,value:n,...r}){return(0,o.jsx)(T,{"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)(E,{"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 D}});
|
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-nfJMuKGj.js");exports.Progress=e.t;
|
package/dist/progress.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Progress as ProgressPrimitive } from 'radix-ui';
|
|
2
2
|
import { ProgressBaseProps } from '@gv-tech/ui-core';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>):
|
|
4
|
+
declare function Progress({ className, value, ...props }: React.ComponentProps<typeof ProgressPrimitive.Root>): React.JSX.Element;
|
|
5
5
|
export { Progress };
|
|
6
6
|
export type ___verifyProgressContract = React.ComponentProps<typeof Progress> extends ProgressBaseProps ? true : false;
|
|
7
7
|
//# sourceMappingURL=progress.d.ts.map
|
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":"AAGA,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACzD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,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