@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
|
@@ -0,0 +1,409 @@
|
|
|
1
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
2
|
+
import { MinusIcon as t } from "lucide-react";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
5
|
+
//#region ../../node_modules/.bun/input-otp@1.5.0+6f4b9a1cfb20c0ae/node_modules/input-otp/dist/index.mjs
|
|
6
|
+
var a = Object.defineProperty, o = Object.defineProperties, s = Object.getOwnPropertyDescriptors, c = Object.getOwnPropertySymbols, l = Object.prototype.hasOwnProperty, u = Object.prototype.propertyIsEnumerable, d = (e, t, n) => t in e ? a(e, t, {
|
|
7
|
+
enumerable: !0,
|
|
8
|
+
configurable: !0,
|
|
9
|
+
writable: !0,
|
|
10
|
+
value: n
|
|
11
|
+
}) : e[t] = n, f = (e, t) => {
|
|
12
|
+
for (var n in t ||= {}) l.call(t, n) && d(e, n, t[n]);
|
|
13
|
+
if (c) for (var n of c(t)) u.call(t, n) && d(e, n, t[n]);
|
|
14
|
+
return e;
|
|
15
|
+
}, p = (e, t) => o(e, s(t)), m = (e, t) => {
|
|
16
|
+
var n = {};
|
|
17
|
+
for (var r in e) l.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
18
|
+
if (e != null && c) for (var r of c(e)) t.indexOf(r) < 0 && u.call(e, r) && (n[r] = e[r]);
|
|
19
|
+
return n;
|
|
20
|
+
};
|
|
21
|
+
function h(e) {
|
|
22
|
+
return [
|
|
23
|
+
setTimeout(e, 0),
|
|
24
|
+
setTimeout(e, 10),
|
|
25
|
+
setTimeout(e, 50)
|
|
26
|
+
];
|
|
27
|
+
}
|
|
28
|
+
function g(e) {
|
|
29
|
+
let t = n.useRef();
|
|
30
|
+
return n.useEffect(() => {
|
|
31
|
+
t.current = e;
|
|
32
|
+
}), t.current;
|
|
33
|
+
}
|
|
34
|
+
var _ = 18, v = 40, y = `${v}px`;
|
|
35
|
+
function b(e) {
|
|
36
|
+
let t = e.getBoundingClientRect().right, n = e;
|
|
37
|
+
for (; n;) {
|
|
38
|
+
if (getComputedStyle(n).overflowX !== "visible") return n.getBoundingClientRect().left + n.clientLeft + n.clientWidth - t;
|
|
39
|
+
n = n.parentElement;
|
|
40
|
+
}
|
|
41
|
+
return document.documentElement.clientWidth - t;
|
|
42
|
+
}
|
|
43
|
+
var x = [
|
|
44
|
+
"[data-lastpass-icon-root]",
|
|
45
|
+
"com-1password-button",
|
|
46
|
+
"[data-dashlanecreated]",
|
|
47
|
+
"[style$=\"2147483647 !important;\"]"
|
|
48
|
+
].join(",");
|
|
49
|
+
function S({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: r, isFocused: i }) {
|
|
50
|
+
let [a, o] = n.useState(!1), [s, c] = n.useState(!1), [l, u] = n.useState(!1), d = n.useMemo(() => r === "none" ? !1 : (r === "increase-width" || r === "experimental-no-flickering") && a && s, [
|
|
51
|
+
a,
|
|
52
|
+
s,
|
|
53
|
+
r
|
|
54
|
+
]), f = n.useCallback(() => {
|
|
55
|
+
let n = e.current, i = t.current;
|
|
56
|
+
if (!n || !i || l || r === "none") return;
|
|
57
|
+
let a = n, s = a.getBoundingClientRect().left + a.offsetWidth, d = a.getBoundingClientRect().top + a.offsetHeight / 2, f = s - _, p = d;
|
|
58
|
+
document.querySelectorAll(x).length === 0 && document.elementFromPoint(f, p) === n || (c(b(n) >= v), o(!0), u(!0));
|
|
59
|
+
}, [
|
|
60
|
+
e,
|
|
61
|
+
t,
|
|
62
|
+
l,
|
|
63
|
+
r
|
|
64
|
+
]);
|
|
65
|
+
return n.useEffect(() => {
|
|
66
|
+
let t = e.current;
|
|
67
|
+
if (!t || r === "none") return;
|
|
68
|
+
function n() {
|
|
69
|
+
c(b(t) >= v);
|
|
70
|
+
}
|
|
71
|
+
n();
|
|
72
|
+
let i = setInterval(n, 1e3);
|
|
73
|
+
return () => {
|
|
74
|
+
clearInterval(i);
|
|
75
|
+
};
|
|
76
|
+
}, [e, r]), n.useEffect(() => {
|
|
77
|
+
let e = i || document.activeElement === t.current;
|
|
78
|
+
if (r === "none" || !e) return;
|
|
79
|
+
let n = setTimeout(f, 0), a = setTimeout(f, 2e3), o = setTimeout(f, 5e3), s = setTimeout(() => {
|
|
80
|
+
u(!0);
|
|
81
|
+
}, 6e3);
|
|
82
|
+
return () => {
|
|
83
|
+
clearTimeout(n), clearTimeout(a), clearTimeout(o), clearTimeout(s);
|
|
84
|
+
};
|
|
85
|
+
}, [
|
|
86
|
+
t,
|
|
87
|
+
i,
|
|
88
|
+
r,
|
|
89
|
+
f
|
|
90
|
+
]), {
|
|
91
|
+
hasPWMBadge: a,
|
|
92
|
+
willPushPWMBadge: d,
|
|
93
|
+
PWM_BADGE_SPACE_WIDTH: y
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
var C = n.createContext({}), w = n.forwardRef((e, t) => {
|
|
97
|
+
var r = e, { value: i, onChange: a, maxLength: o, textAlign: s = "left", pattern: c, placeholder: l, inputMode: u = "numeric", onComplete: d, pushPasswordManagerStrategy: _ = "increase-width", pasteTransformer: v, containerClassName: y, noScriptCSSFallback: b = E, nonce: x, render: w, children: D } = r, O = m(r, [
|
|
98
|
+
"value",
|
|
99
|
+
"onChange",
|
|
100
|
+
"maxLength",
|
|
101
|
+
"textAlign",
|
|
102
|
+
"pattern",
|
|
103
|
+
"placeholder",
|
|
104
|
+
"inputMode",
|
|
105
|
+
"onComplete",
|
|
106
|
+
"pushPasswordManagerStrategy",
|
|
107
|
+
"pasteTransformer",
|
|
108
|
+
"containerClassName",
|
|
109
|
+
"noScriptCSSFallback",
|
|
110
|
+
"nonce",
|
|
111
|
+
"render",
|
|
112
|
+
"children"
|
|
113
|
+
]), k;
|
|
114
|
+
let [A, j] = n.useState(typeof O.defaultValue == "string" ? O.defaultValue : ""), M = i ?? A, N = g(M), P = n.useCallback((e) => {
|
|
115
|
+
a?.(e), j(e);
|
|
116
|
+
}, [a]), F = n.useMemo(() => c ? typeof c == "string" ? new RegExp(c) : c : null, [c]), I = n.useRef(null), L = n.useRef(null), R = n.useRef({
|
|
117
|
+
value: M,
|
|
118
|
+
onChange: P,
|
|
119
|
+
isIOS: typeof window < "u" && ((k = window == null ? void 0 : window.CSS)?.supports)?.call(k, "-webkit-touch-callout", "none")
|
|
120
|
+
}), z = n.useRef({ prev: [
|
|
121
|
+
I.current?.selectionStart,
|
|
122
|
+
I.current?.selectionEnd,
|
|
123
|
+
I.current?.selectionDirection
|
|
124
|
+
] });
|
|
125
|
+
n.useImperativeHandle(t, () => I.current, []), n.useEffect(() => {
|
|
126
|
+
let e = I.current, t = L.current;
|
|
127
|
+
if (!e || !t) return;
|
|
128
|
+
R.current.value !== e.value && R.current.onChange(e.value), z.current.prev = [
|
|
129
|
+
e.selectionStart,
|
|
130
|
+
e.selectionEnd,
|
|
131
|
+
e.selectionDirection
|
|
132
|
+
];
|
|
133
|
+
function n() {
|
|
134
|
+
if (document.activeElement !== e) {
|
|
135
|
+
G(null), q(null);
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
let t = e.selectionStart, n = e.selectionEnd, r = e.selectionDirection, i = e.maxLength, a = e.value, o = z.current.prev, s = -1, c = -1, l;
|
|
139
|
+
if (a.length !== 0 && t !== null && n !== null) {
|
|
140
|
+
let r = t === n, u = t === a.length && a.length < i;
|
|
141
|
+
if (r && !u) {
|
|
142
|
+
let e = t;
|
|
143
|
+
if (e === 0) s = 0, c = 1, l = "forward";
|
|
144
|
+
else if (e === i) s = e - 1, c = e, l = "backward";
|
|
145
|
+
else if (i > 1 && a.length > 1) {
|
|
146
|
+
let t = 0;
|
|
147
|
+
if (o[0] !== null && o[1] !== null) {
|
|
148
|
+
l = e < o[1] ? "backward" : "forward";
|
|
149
|
+
let n = o[0] === o[1] && o[0] < i;
|
|
150
|
+
l === "backward" && !n && (t = -1);
|
|
151
|
+
}
|
|
152
|
+
s = t + e, c = t + e + 1;
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
s !== -1 && c !== -1 && s !== c && e.setSelectionRange(s, c, l);
|
|
156
|
+
}
|
|
157
|
+
let u = s === -1 ? t : s, d = c === -1 ? n : c, f = l ?? r;
|
|
158
|
+
G(u), q(d), z.current.prev = [
|
|
159
|
+
u,
|
|
160
|
+
d,
|
|
161
|
+
f
|
|
162
|
+
];
|
|
163
|
+
}
|
|
164
|
+
if (document.addEventListener("selectionchange", n, { capture: !0 }), n(), document.activeElement === e && U(!0), !document.getElementById("input-otp-style")) {
|
|
165
|
+
let e = document.createElement("style");
|
|
166
|
+
if (e.id = "input-otp-style", x && e.setAttribute("nonce", x), document.head.appendChild(e), e.sheet) {
|
|
167
|
+
let t = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
|
|
168
|
+
T(e.sheet, "[data-input-otp]::selection { background: transparent !important; color: transparent !important; }"), T(e.sheet, `[data-input-otp]:autofill { ${t} }`), T(e.sheet, `[data-input-otp]:-webkit-autofill { ${t} }`), T(e.sheet, "@supports (-webkit-touch-callout: none) { [data-input-otp] { letter-spacing: -.6em !important; font-weight: 100 !important; font-stretch: ultra-condensed; font-optical-sizing: none !important; left: -1px !important; right: 1px !important; } }"), T(e.sheet, "[data-input-otp] + * { pointer-events: all !important; }");
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
let r = () => {
|
|
172
|
+
t && t.style.setProperty("--root-height", `${e.clientHeight}px`);
|
|
173
|
+
};
|
|
174
|
+
r();
|
|
175
|
+
let i = typeof ResizeObserver > "u" ? null : new ResizeObserver(r);
|
|
176
|
+
return i?.observe(e), () => {
|
|
177
|
+
document.removeEventListener("selectionchange", n, { capture: !0 }), i?.disconnect();
|
|
178
|
+
};
|
|
179
|
+
}, []);
|
|
180
|
+
let [B, V] = n.useState(!1), [H, U] = n.useState(!1), [W, G] = n.useState(null), [K, q] = n.useState(null);
|
|
181
|
+
n.useEffect(() => {
|
|
182
|
+
let e = h(() => {
|
|
183
|
+
var e;
|
|
184
|
+
(e = I.current) == null || e.dispatchEvent(new Event("input"));
|
|
185
|
+
let t = I.current?.selectionStart, n = I.current?.selectionEnd, r = I.current?.selectionDirection;
|
|
186
|
+
t !== null && n !== null && (G(t), q(n), z.current.prev = [
|
|
187
|
+
t,
|
|
188
|
+
n,
|
|
189
|
+
r
|
|
190
|
+
]);
|
|
191
|
+
});
|
|
192
|
+
return () => {
|
|
193
|
+
e.forEach((e) => clearTimeout(e));
|
|
194
|
+
};
|
|
195
|
+
}, [M, H]), n.useEffect(() => {
|
|
196
|
+
N !== void 0 && M !== N && N.length < o && M.length === o && d?.(M);
|
|
197
|
+
}, [
|
|
198
|
+
o,
|
|
199
|
+
d,
|
|
200
|
+
N,
|
|
201
|
+
M
|
|
202
|
+
]);
|
|
203
|
+
let J = S({
|
|
204
|
+
containerRef: L,
|
|
205
|
+
inputRef: I,
|
|
206
|
+
pushPasswordManagerStrategy: _,
|
|
207
|
+
isFocused: H
|
|
208
|
+
}), Y = n.useCallback((e) => {
|
|
209
|
+
let t = e.currentTarget.value.slice(0, o);
|
|
210
|
+
if (t.length > 0 && F && !F.test(t)) {
|
|
211
|
+
e.preventDefault();
|
|
212
|
+
return;
|
|
213
|
+
}
|
|
214
|
+
typeof N == "string" && t.length < N.length && document.dispatchEvent(new Event("selectionchange")), P(t);
|
|
215
|
+
}, [
|
|
216
|
+
o,
|
|
217
|
+
P,
|
|
218
|
+
N,
|
|
219
|
+
F
|
|
220
|
+
]), X = n.useCallback(() => {
|
|
221
|
+
var e;
|
|
222
|
+
if (I.current) {
|
|
223
|
+
let t = Math.min(I.current.value.length, o - 1), n = I.current.value.length;
|
|
224
|
+
(e = I.current) == null || e.setSelectionRange(t, n), G(t), q(n);
|
|
225
|
+
}
|
|
226
|
+
U(!0);
|
|
227
|
+
}, [o]), Z = n.useCallback((e) => {
|
|
228
|
+
let t = I.current;
|
|
229
|
+
if (!v && (!R.current.isIOS || !e.clipboardData || !t)) return;
|
|
230
|
+
let n = e.clipboardData.getData("text/plain"), r = v ? v(n) : n;
|
|
231
|
+
e.preventDefault();
|
|
232
|
+
let i = I.current?.selectionStart, a = I.current?.selectionEnd, s = (i === a ? M.slice(0, i) + r + M.slice(i) : M.slice(0, i) + r + M.slice(a)).slice(0, o);
|
|
233
|
+
if (s.length > 0 && F && !F.test(s)) return;
|
|
234
|
+
t.value = s, P(s);
|
|
235
|
+
let c = Math.min(s.length, o - 1), l = s.length;
|
|
236
|
+
t.setSelectionRange(c, l), G(c), q(l);
|
|
237
|
+
}, [
|
|
238
|
+
o,
|
|
239
|
+
P,
|
|
240
|
+
v,
|
|
241
|
+
F,
|
|
242
|
+
M
|
|
243
|
+
]), ee = n.useMemo(() => ({
|
|
244
|
+
position: "relative",
|
|
245
|
+
cursor: O.disabled ? "default" : "text",
|
|
246
|
+
userSelect: "none",
|
|
247
|
+
WebkitUserSelect: "none",
|
|
248
|
+
pointerEvents: "none"
|
|
249
|
+
}), [O.disabled]), Q = n.useMemo(() => ({
|
|
250
|
+
position: "absolute",
|
|
251
|
+
inset: 0,
|
|
252
|
+
width: J.willPushPWMBadge ? `calc(100% + ${J.PWM_BADGE_SPACE_WIDTH})` : "100%",
|
|
253
|
+
clipPath: J.willPushPWMBadge ? `inset(0 ${J.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0,
|
|
254
|
+
height: "100%",
|
|
255
|
+
display: "flex",
|
|
256
|
+
textAlign: s,
|
|
257
|
+
opacity: "1",
|
|
258
|
+
color: "transparent",
|
|
259
|
+
pointerEvents: "all",
|
|
260
|
+
background: "transparent",
|
|
261
|
+
caretColor: "transparent",
|
|
262
|
+
border: "0 solid transparent",
|
|
263
|
+
outline: "0 solid transparent",
|
|
264
|
+
boxShadow: "none",
|
|
265
|
+
lineHeight: "1",
|
|
266
|
+
letterSpacing: "-.5em",
|
|
267
|
+
fontSize: "var(--root-height, 16px)",
|
|
268
|
+
fontFamily: "monospace",
|
|
269
|
+
fontVariantNumeric: "tabular-nums"
|
|
270
|
+
}), [
|
|
271
|
+
J.PWM_BADGE_SPACE_WIDTH,
|
|
272
|
+
J.willPushPWMBadge,
|
|
273
|
+
s
|
|
274
|
+
]), te = n.useMemo(() => n.createElement("input", p(f({ autoComplete: O.autoComplete || "one-time-code" }, O), {
|
|
275
|
+
"data-input-otp": !0,
|
|
276
|
+
"data-input-otp-placeholder-shown": M.length === 0 || void 0,
|
|
277
|
+
"data-input-otp-mss": W,
|
|
278
|
+
"data-input-otp-mse": K,
|
|
279
|
+
inputMode: u,
|
|
280
|
+
pattern: F?.source,
|
|
281
|
+
"aria-placeholder": l,
|
|
282
|
+
style: Q,
|
|
283
|
+
maxLength: o,
|
|
284
|
+
value: M,
|
|
285
|
+
ref: I,
|
|
286
|
+
spellCheck: O.spellCheck ?? !1,
|
|
287
|
+
onPaste: (e) => {
|
|
288
|
+
var t;
|
|
289
|
+
Z(e), (t = O.onPaste) == null || t.call(O, e);
|
|
290
|
+
},
|
|
291
|
+
onChange: Y,
|
|
292
|
+
onMouseOver: (e) => {
|
|
293
|
+
var t;
|
|
294
|
+
V(!0), (t = O.onMouseOver) == null || t.call(O, e);
|
|
295
|
+
},
|
|
296
|
+
onMouseLeave: (e) => {
|
|
297
|
+
var t;
|
|
298
|
+
V(!1), (t = O.onMouseLeave) == null || t.call(O, e);
|
|
299
|
+
},
|
|
300
|
+
onFocus: (e) => {
|
|
301
|
+
var t;
|
|
302
|
+
X(), (t = O.onFocus) == null || t.call(O, e);
|
|
303
|
+
},
|
|
304
|
+
onBlur: (e) => {
|
|
305
|
+
var t;
|
|
306
|
+
U(!1), (t = O.onBlur) == null || t.call(O, e);
|
|
307
|
+
}
|
|
308
|
+
})), [
|
|
309
|
+
Y,
|
|
310
|
+
X,
|
|
311
|
+
Z,
|
|
312
|
+
u,
|
|
313
|
+
Q,
|
|
314
|
+
o,
|
|
315
|
+
K,
|
|
316
|
+
W,
|
|
317
|
+
l,
|
|
318
|
+
O,
|
|
319
|
+
F?.source,
|
|
320
|
+
M
|
|
321
|
+
]), $ = n.useMemo(() => ({
|
|
322
|
+
slots: Array.from({ length: o }).map((e, t) => {
|
|
323
|
+
let n = H && W !== null && K !== null && (W === K && t === W || t >= W && t < K), r = M[t] === void 0 ? null : M[t];
|
|
324
|
+
return {
|
|
325
|
+
char: r,
|
|
326
|
+
placeholderChar: M[0] === void 0 ? l?.[t] ?? null : null,
|
|
327
|
+
isActive: n,
|
|
328
|
+
hasFakeCaret: n && r === null
|
|
329
|
+
};
|
|
330
|
+
}),
|
|
331
|
+
isFocused: H,
|
|
332
|
+
isHovering: !O.disabled && B
|
|
333
|
+
}), [
|
|
334
|
+
H,
|
|
335
|
+
B,
|
|
336
|
+
o,
|
|
337
|
+
K,
|
|
338
|
+
W,
|
|
339
|
+
l,
|
|
340
|
+
O.disabled,
|
|
341
|
+
M
|
|
342
|
+
]), ne = n.useMemo(() => w ? w($) : n.createElement(C.Provider, { value: $ }, D), [
|
|
343
|
+
D,
|
|
344
|
+
$,
|
|
345
|
+
w
|
|
346
|
+
]);
|
|
347
|
+
return n.createElement(n.Fragment, null, b !== null && n.createElement("noscript", null, n.createElement("style", null, b)), n.createElement("div", {
|
|
348
|
+
ref: L,
|
|
349
|
+
"data-input-otp-container": !0,
|
|
350
|
+
translate: "no",
|
|
351
|
+
style: ee,
|
|
352
|
+
className: y
|
|
353
|
+
}, ne, n.createElement("div", { style: {
|
|
354
|
+
position: "absolute",
|
|
355
|
+
inset: 0,
|
|
356
|
+
pointerEvents: "none"
|
|
357
|
+
} }, te)));
|
|
358
|
+
});
|
|
359
|
+
w.displayName = "Input";
|
|
360
|
+
function T(e, t) {
|
|
361
|
+
try {
|
|
362
|
+
e.insertRule(t);
|
|
363
|
+
} catch {
|
|
364
|
+
console.warn("input-otp could not insert CSS rule:", t);
|
|
365
|
+
}
|
|
366
|
+
}
|
|
367
|
+
var E = "\n[data-input-otp] {\n --nojs-bg: white !important;\n --nojs-fg: black !important;\n\n background-color: var(--nojs-bg) !important;\n color: var(--nojs-fg) !important;\n caret-color: var(--nojs-fg) !important;\n letter-spacing: .25em !important;\n text-align: center !important;\n border: 1px solid var(--nojs-fg) !important;\n border-radius: 4px !important;\n width: 100% !important;\n}\n@media (prefers-color-scheme: dark) {\n [data-input-otp] {\n --nojs-bg: black !important;\n --nojs-fg: white !important;\n }\n}";
|
|
368
|
+
//#endregion
|
|
369
|
+
//#region src/input-otp.tsx
|
|
370
|
+
function D({ className: t, containerClassName: n, ...i }) {
|
|
371
|
+
return /* @__PURE__ */ r(w, {
|
|
372
|
+
"data-slot": "input-otp",
|
|
373
|
+
containerClassName: e("cn-input-otp flex items-center has-disabled:opacity-50", n),
|
|
374
|
+
spellCheck: !1,
|
|
375
|
+
className: e("disabled:cursor-not-allowed", t),
|
|
376
|
+
...i
|
|
377
|
+
});
|
|
378
|
+
}
|
|
379
|
+
function O({ className: t, ...n }) {
|
|
380
|
+
return /* @__PURE__ */ r("div", {
|
|
381
|
+
"data-slot": "input-otp-group",
|
|
382
|
+
className: e("has-aria-invalid:border-destructive has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 flex items-center rounded-lg has-aria-invalid:ring-3", t),
|
|
383
|
+
...n
|
|
384
|
+
});
|
|
385
|
+
}
|
|
386
|
+
function k({ index: t, className: a, ...o }) {
|
|
387
|
+
let { char: s, hasFakeCaret: c, isActive: l } = n.useContext(C)?.slots[t] ?? {};
|
|
388
|
+
return /* @__PURE__ */ i("div", {
|
|
389
|
+
"data-slot": "input-otp-slot",
|
|
390
|
+
"data-active": l,
|
|
391
|
+
className: e("border-input aria-invalid:border-destructive data-[active=true]:border-ring data-[active=true]:ring-ring/50 data-[active=true]:aria-invalid:border-destructive data-[active=true]:aria-invalid:ring-destructive/20 dark:bg-input/30 dark:data-[active=true]:aria-invalid:ring-destructive/40 relative flex size-8 items-center justify-center border-y border-e text-sm transition-all outline-none first:rounded-s-lg first:border-s last:rounded-e-lg data-[active=true]:z-10 data-[active=true]:ring-3", a),
|
|
392
|
+
...o,
|
|
393
|
+
children: [s, c && /* @__PURE__ */ r("div", {
|
|
394
|
+
className: "pointer-events-none absolute inset-0 flex items-center justify-center",
|
|
395
|
+
children: /* @__PURE__ */ r("div", { className: "animate-caret-blink bg-foreground h-4 w-px duration-1000" })
|
|
396
|
+
})]
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
function A({ ...e }) {
|
|
400
|
+
return /* @__PURE__ */ r("div", {
|
|
401
|
+
"data-slot": "input-otp-separator",
|
|
402
|
+
className: "flex items-center [&_svg:not([class*='size-'])]:size-4",
|
|
403
|
+
role: "separator",
|
|
404
|
+
...e,
|
|
405
|
+
children: /* @__PURE__ */ r(t, {})
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
//#endregion
|
|
409
|
+
export { k as i, O as n, A as r, D as t };
|
package/dist/input-otp.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./input-otp-
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./input-otp-D9MwUsPO.js");exports.InputOTP=e.t,exports.InputOTPGroup=e.n,exports.InputOTPSeparator=e.r,exports.InputOTPSlot=e.i;
|
package/dist/input-otp.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { OTPInput } from 'input-otp';
|
|
2
2
|
import { InputOTPBaseProps, InputOTPGroupBaseProps, InputOTPSeparatorBaseProps, InputOTPSlotBaseProps } from '@gv-tech/ui-core';
|
|
3
3
|
import * as React from 'react';
|
|
4
|
-
declare function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & InputOTPBaseProps):
|
|
5
|
-
declare function InputOTPGroup({ className, ...props }: React.ComponentProps<'div'> & InputOTPGroupBaseProps):
|
|
6
|
-
declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<'div'> & InputOTPSlotBaseProps):
|
|
7
|
-
declare function InputOTPSeparator({ ...props }: React.ComponentProps<'div'> & InputOTPSeparatorBaseProps):
|
|
4
|
+
declare function InputOTP({ className, containerClassName, ...props }: React.ComponentProps<typeof OTPInput> & InputOTPBaseProps): React.JSX.Element;
|
|
5
|
+
declare function InputOTPGroup({ className, ...props }: React.ComponentProps<'div'> & InputOTPGroupBaseProps): React.JSX.Element;
|
|
6
|
+
declare function InputOTPSlot({ index, className, ...props }: React.ComponentProps<'div'> & InputOTPSlotBaseProps): React.JSX.Element;
|
|
7
|
+
declare function InputOTPSeparator({ ...props }: React.ComponentProps<'div'> & InputOTPSeparatorBaseProps): React.JSX.Element;
|
|
8
8
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
9
9
|
//# sourceMappingURL=input-otp.d.ts.map
|
package/dist/input-otp.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../src/input-otp.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input-otp.d.ts","sourceRoot":"","sources":["../src/input-otp.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAmB,MAAM,WAAW,CAAC;AAEtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACV,iBAAiB,EACjB,sBAAsB,EACtB,0BAA0B,EAC1B,qBAAqB,EACtB,MAAM,kBAAkB,CAAC;AAE1B,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,kBAAkB,EAClB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,QAAQ,CAAC,GAAG,iBAAiB,qBAU3D;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,sBAAsB,qBAWnG;AAED,iBAAS,YAAY,CAAC,EAAE,KAAK,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,qBAAqB,qBAsBxG;AAED,iBAAS,iBAAiB,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,0BAA0B,qBAWhG;AAED,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,iBAAiB,EAAE,YAAY,EAAE,CAAC"}
|
package/dist/input-otp.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { i as e, n as t, r as n, t as r } from "./input-otp-
|
|
3
|
+
import { i as e, n as t, r as n, t as r } from "./input-otp-m_BTudNY.mjs";
|
|
4
4
|
export { r as InputOTP, t as InputOTPGroup, n as InputOTPSeparator, e as InputOTPSlot };
|
package/dist/input.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");let n=require("react");n=e.r(n);let r=require("react/jsx-runtime");function i({className:e,type:n,...i}){return(0,r.jsx)(`input`,{type:n,"data-slot":`input`,className:t.t(`border-input file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 disabled:bg-input/50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 dark:bg-input/30 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 h-8 w-full min-w-0 rounded-lg border bg-transparent px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-3 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:ring-3 md:text-sm`,e),...i})}exports.Input=i;
|
package/dist/input.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InputBaseProps } from '@gv-tech/ui-core';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
declare function Input({ className, type, ...props }: React.ComponentProps<'input'>):
|
|
3
|
+
declare function Input({ className, type, ...props }: React.ComponentProps<'input'>): React.JSX.Element;
|
|
4
4
|
export { Input };
|
|
5
5
|
export type ___verifyInputContract = React.ComponentProps<typeof Input> extends InputBaseProps ? true : false;
|
|
6
6
|
//# sourceMappingURL=input.d.ts.map
|
package/dist/input.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../src/input.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAEvD,iBAAS,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,qBAY1E;AAED,OAAO,EAAE,KAAK,EAAE,CAAC;AAGjB,MAAM,MAAM,sBAAsB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,KAAK,CAAC,SAAS,cAAc,GAAG,IAAI,GAAG,KAAK,CAAC"}
|
package/dist/input.mjs
CHANGED
package/dist/item.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("./dist-NEeQKKDZ.js"),r=require("./separator-BXaVJadH.js");let i=require("react");i=e.r(i);let a=require("react/jsx-runtime"),o=require("class-variance-authority");function s({className:e,...n}){return(0,a.jsx)(`div`,{role:`list`,"data-slot":`item-group`,className:t.t(`group/item-group flex w-full flex-col gap-4 has-data-[size=sm]:gap-2.5 has-data-[size=xs]:gap-2`,e),...n})}function c({className:e,...n}){return(0,a.jsx)(r.t,{"data-slot":`item-separator`,orientation:`horizontal`,className:t.t(`my-2`,e),...n})}var l=(0,o.cva)(`group/item flex w-full flex-wrap items-center rounded-lg border text-sm transition-colors duration-100 outline-none focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 [a]:transition-colors [a]:hover:bg-muted`,{variants:{variant:{default:`border-transparent`,outline:`border-border`,muted:`border-transparent bg-muted/50`},size:{default:`gap-2.5 px-3 py-2.5`,sm:`gap-2.5 px-3 py-2.5`,xs:`gap-2 px-2.5 py-2 in-data-[slot=dropdown-menu-content]:p-0`}},defaultVariants:{variant:`default`,size:`default`}});function u({className:e,variant:r=`default`,size:i=`default`,asChild:o=!1,...s}){return(0,a.jsx)(o?n.t:`div`,{"data-slot":`item`,"data-variant":r,"data-size":i,className:t.t(l({variant:r,size:i,className:e})),...s})}var d=(0,o.cva)(`flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none`,{variants:{variant:{default:`bg-transparent`,icon:`[&_svg:not([class*='size-'])]:size-4`,image:`size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover`}},defaultVariants:{variant:`default`}});function f({className:e,variant:n=`default`,...r}){return(0,a.jsx)(`div`,{"data-slot":`item-media`,"data-variant":n,className:t.t(d({variant:n,className:e})),...r})}function p({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-content`,className:t.t(`flex flex-1 flex-col gap-1 group-data-[size=xs]/item:gap-0 [&+[data-slot=item-content]]:flex-none`,e),...n})}function m({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-title`,className:t.t(`line-clamp-1 flex w-fit items-center gap-2 text-sm leading-snug font-medium underline-offset-4`,e),...n})}function h({className:e,...n}){return(0,a.jsx)(`p`,{"data-slot":`item-description`,className:t.t(`text-muted-foreground [&>a:hover]:text-primary line-clamp-2 text-start text-sm leading-normal font-normal group-data-[size=xs]/item:text-xs [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-actions`,className:t.t(`flex items-center gap-2`,e),...n})}function _({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-header`,className:t.t(`flex basis-full items-center justify-between gap-2`,e),...n})}function v({className:e,...n}){return(0,a.jsx)(`div`,{"data-slot":`item-footer`,className:t.t(`flex basis-full items-center justify-between gap-2`,e),...n})}exports.Item=u,exports.ItemActions=g,exports.ItemContent=p,exports.ItemDescription=h,exports.ItemFooter=v,exports.ItemGroup=s,exports.ItemHeader=_,exports.ItemMedia=f,exports.ItemSeparator=c,exports.ItemTitle=m;
|
package/dist/item.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import { ItemActionsBaseProps, ItemBaseProps, ItemContentBaseProps, ItemDescriptionBaseProps, ItemFooterBaseProps, ItemGroupBaseProps, ItemHeaderBaseProps, ItemMediaBaseProps, ItemSeparatorBaseProps, ItemTitleBaseProps } from '@gv-tech/ui-core';
|
|
3
2
|
import { Separator } from './separator';
|
|
3
|
+
import { ItemActionsBaseProps, ItemBaseProps, ItemContentBaseProps, ItemDescriptionBaseProps, ItemFooterBaseProps, ItemGroupBaseProps, ItemHeaderBaseProps, ItemMediaBaseProps, ItemSeparatorBaseProps, ItemTitleBaseProps } from '@gv-tech/ui-core';
|
|
4
4
|
import * as React from 'react';
|
|
5
|
-
declare function ItemGroup({ className, ...props }: React.ComponentProps<'div'> & ItemGroupBaseProps):
|
|
6
|
-
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator> & ItemSeparatorBaseProps):
|
|
5
|
+
declare function ItemGroup({ className, ...props }: React.ComponentProps<'div'> & ItemGroupBaseProps): React.JSX.Element;
|
|
6
|
+
declare function ItemSeparator({ className, ...props }: React.ComponentProps<typeof Separator> & ItemSeparatorBaseProps): React.JSX.Element;
|
|
7
7
|
declare const itemVariants: (props?: ({
|
|
8
8
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
9
9
|
size?: "default" | "xs" | "sm" | null | undefined;
|
|
10
10
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
11
11
|
declare function Item({ className, variant, size, asChild, ...props }: React.ComponentProps<'div'> & VariantProps<typeof itemVariants> & {
|
|
12
12
|
asChild?: boolean;
|
|
13
|
-
} & ItemBaseProps):
|
|
13
|
+
} & ItemBaseProps): React.JSX.Element;
|
|
14
14
|
declare const itemMediaVariants: (props?: ({
|
|
15
15
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
16
16
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
17
|
-
declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants> & ItemMediaBaseProps):
|
|
18
|
-
declare function ItemContent({ className, ...props }: React.ComponentProps<'div'> & ItemContentBaseProps):
|
|
19
|
-
declare function ItemTitle({ className, ...props }: React.ComponentProps<'div'> & ItemTitleBaseProps):
|
|
20
|
-
declare function ItemDescription({ className, ...props }: React.ComponentProps<'p'> & ItemDescriptionBaseProps):
|
|
21
|
-
declare function ItemActions({ className, ...props }: React.ComponentProps<'div'> & ItemActionsBaseProps):
|
|
22
|
-
declare function ItemHeader({ className, ...props }: React.ComponentProps<'div'> & ItemHeaderBaseProps):
|
|
23
|
-
declare function ItemFooter({ className, ...props }: React.ComponentProps<'div'> & ItemFooterBaseProps):
|
|
17
|
+
declare function ItemMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof itemMediaVariants> & ItemMediaBaseProps): React.JSX.Element;
|
|
18
|
+
declare function ItemContent({ className, ...props }: React.ComponentProps<'div'> & ItemContentBaseProps): React.JSX.Element;
|
|
19
|
+
declare function ItemTitle({ className, ...props }: React.ComponentProps<'div'> & ItemTitleBaseProps): React.JSX.Element;
|
|
20
|
+
declare function ItemDescription({ className, ...props }: React.ComponentProps<'p'> & ItemDescriptionBaseProps): React.JSX.Element;
|
|
21
|
+
declare function ItemActions({ className, ...props }: React.ComponentProps<'div'> & ItemActionsBaseProps): React.JSX.Element;
|
|
22
|
+
declare function ItemHeader({ className, ...props }: React.ComponentProps<'div'> & ItemHeaderBaseProps): React.JSX.Element;
|
|
23
|
+
declare function ItemFooter({ className, ...props }: React.ComponentProps<'div'> & ItemFooterBaseProps): React.JSX.Element;
|
|
24
24
|
export { Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, };
|
|
25
25
|
//# sourceMappingURL=item.d.ts.map
|
package/dist/item.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../src/item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"item.d.ts","sourceRoot":"","sources":["../src/item.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,OAAO,KAAK,EACV,oBAAoB,EACpB,aAAa,EACb,oBAAoB,EACpB,wBAAwB,EACxB,mBAAmB,EACnB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,kBAAkB,EACnB,MAAM,kBAAkB,CAAC;AAE1B,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,kBAAkB,qBAY3F;AAED,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG,sBAAsB,qBAE9G;AAED,QAAA,MAAM,YAAY;;;8EAoBjB,CAAC;AAEF,iBAAS,IAAI,CAAC,EACZ,SAAS,EACT,OAAmB,EACnB,IAAgB,EAChB,OAAe,EACf,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,YAAY,CAAC,GAAG;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,aAAa,qBAWzG;AAED,QAAA,MAAM,iBAAiB;;8EAetB,CAAC;AAEF,iBAAS,SAAS,CAAC,EACjB,SAAS,EACT,OAAmB,EACnB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,iBAAiB,CAAC,GAAG,kBAAkB,qBAS3F;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,oBAAoB,qBAW/F;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,kBAAkB,qBAW3F;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG,wBAAwB,qBAWrG;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,oBAAoB,qBAE/F;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,qBAQ7F;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,qBAQ7F;AAED,OAAO,EACL,IAAI,EACJ,WAAW,EACX,WAAW,EACX,eAAe,EACf,UAAU,EACV,SAAS,EACT,UAAU,EACV,SAAS,EACT,aAAa,EACb,SAAS,GACV,CAAC"}
|
package/dist/item.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./
|
|
3
|
-
import { t } from "./dist-
|
|
4
|
-
import { t as n } from "./separator-
|
|
2
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
3
|
+
import { t } from "./dist-8fYwoWd4.mjs";
|
|
4
|
+
import { t as n } from "./separator-D1a8myFf.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx as r } from "react/jsx-runtime";
|
|
7
7
|
import { cva as i } from "class-variance-authority";
|
|
@@ -56,7 +56,7 @@ function c({ className: n, variant: i = "default", size: a = "default", asChild:
|
|
|
56
56
|
var l = i("flex shrink-0 items-center justify-center gap-2 group-has-data-[slot=item-description]/item:translate-y-0.5 group-has-data-[slot=item-description]/item:self-start [&_svg]:pointer-events-none", {
|
|
57
57
|
variants: { variant: {
|
|
58
58
|
default: "bg-transparent",
|
|
59
|
-
icon: "[&_svg:not([class*=size-])]:size-4",
|
|
59
|
+
icon: "[&_svg:not([class*='size-'])]:size-4",
|
|
60
60
|
image: "size-10 overflow-hidden rounded-sm group-data-[size=sm]/item:size-8 group-data-[size=xs]/item:size-6 [&_img]:size-full [&_img]:object-cover"
|
|
61
61
|
} },
|
|
62
62
|
defaultVariants: { variant: "default" }
|
package/dist/kbd.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("./dist-C_iFkwIX.js");let t=require("react/jsx-runtime");function n({className:n,...r}){return(0,t.jsx)(`kbd`,{"data-slot":`kbd`,className:e.t(`bg-muted text-muted-foreground in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none [&_svg:not([class*='size-'])]:size-3`,n),...r})}function r({className:n,...r}){return(0,t.jsx)(`kbd`,{"data-slot":`kbd-group`,className:e.t(`inline-flex items-center gap-1`,n),...r})}exports.Kbd=n,exports.KbdGroup=r;
|
package/dist/kbd.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KbdBaseProps, KbdGroupBaseProps } from '@gv-tech/ui-core';
|
|
2
|
-
declare function Kbd({ className, ...props }: React.ComponentProps<'kbd'> & KbdBaseProps): import("react
|
|
3
|
-
declare function KbdGroup({ className, ...props }: React.ComponentProps<'div'> & KbdGroupBaseProps): import("react
|
|
2
|
+
declare function Kbd({ className, ...props }: React.ComponentProps<'kbd'> & KbdBaseProps): import("react").JSX.Element;
|
|
3
|
+
declare function KbdGroup({ className, ...props }: React.ComponentProps<'div'> & KbdGroupBaseProps): import("react").JSX.Element;
|
|
4
4
|
export { Kbd, KbdGroup };
|
|
5
5
|
//# sourceMappingURL=kbd.d.ts.map
|
package/dist/kbd.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../src/kbd.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kbd.d.ts","sourceRoot":"","sources":["../src/kbd.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAExE,iBAAS,GAAG,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,+BAW/E;AAED,iBAAS,QAAQ,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,iBAAiB,+BAEzF;AAED,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,CAAC"}
|
package/dist/kbd.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as e } from "./
|
|
2
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region src/kbd.tsx
|
|
5
5
|
function n({ className: n, ...r }) {
|
|
6
6
|
return /* @__PURE__ */ t("kbd", {
|
|
7
7
|
"data-slot": "kbd",
|
|
8
|
-
className: e("bg-muted text-muted-foreground in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none [&_svg:not([class*=size-])]:size-3", n),
|
|
8
|
+
className: e("bg-muted text-muted-foreground in-data-[slot=tooltip-content]:bg-background/20 in-data-[slot=tooltip-content]:text-background dark:in-data-[slot=tooltip-content]:bg-background/10 pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm px-1 font-sans text-xs font-medium select-none [&_svg:not([class*='size-'])]:size-3", n),
|
|
9
9
|
...r
|
|
10
10
|
});
|
|
11
11
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e=require("./chunk-mLOUI7ql.js"),t=require("./dist-C_iFkwIX.js"),n=require("./dist-BoNQb2nd.js");let r=require("react"),i=e.r(r,1);r=e.r(r);let a=require("react/jsx-runtime");var o=Object.defineProperty,s=i.forwardRef(((e,t)=>o(e,`name`,{value:t,configurable:!0}))(function(e,t){return(0,a.jsx)(n.t.label,{...e,ref:t,onMouseDown:t=>{t.target.closest(`button, input, select, textarea`)||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}})},`Label`));function c({className:e,...n}){return(0,a.jsx)(s,{"data-slot":`label`,className:t.t(`flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50`,e),...n})}Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return c}});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { t as e } from "./dist-Dm3IQk5b.mjs";
|
|
2
|
+
import { t } from "./dist-BQhMregZ.mjs";
|
|
3
|
+
import * as n from "react";
|
|
4
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
5
|
+
//#region ../../node_modules/.bun/@radix-ui+react-label@2.1.15+2b23df507bdda662/node_modules/@radix-ui/react-label/dist/index.mjs
|
|
6
|
+
var i = Object.defineProperty, a = /* @__PURE__ */ n.forwardRef(/* @__PURE__ */ ((e, t) => i(e, "name", {
|
|
7
|
+
value: t,
|
|
8
|
+
configurable: !0
|
|
9
|
+
}))(function(e, n) {
|
|
10
|
+
return /* @__PURE__ */ r(t.label, {
|
|
11
|
+
...e,
|
|
12
|
+
ref: n,
|
|
13
|
+
onMouseDown: (t) => {
|
|
14
|
+
t.target.closest("button, input, select, textarea") || (e.onMouseDown?.(t), !t.defaultPrevented && t.detail > 1 && t.preventDefault());
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
}, "Label"));
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/label.tsx
|
|
20
|
+
function o({ className: t, ...n }) {
|
|
21
|
+
return /* @__PURE__ */ r(a, {
|
|
22
|
+
"data-slot": "label",
|
|
23
|
+
className: e("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", t),
|
|
24
|
+
...n
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
export { o as t };
|
package/dist/label.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./label-
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./label-CgKiKHKG.js");exports.Label=e.t;
|