@gv-tech/ui-web 2.22.2 → 2.23.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion-Dd8Hrexd.mjs +244 -0
- package/dist/accordion-DdSOiVyo.js +1 -0
- package/dist/accordion.cjs +1 -1
- package/dist/accordion.d.ts +5 -7
- package/dist/accordion.d.ts.map +1 -1
- package/dist/accordion.mjs +1 -2
- package/dist/alert-dialog-B7zX3gJX.js +7 -0
- package/dist/alert-dialog-BQoG5g_w.mjs +213 -0
- package/dist/alert-dialog.cjs +1 -1
- package/dist/alert-dialog.d.ts +17 -21
- package/dist/alert-dialog.d.ts.map +1 -1
- package/dist/alert-dialog.mjs +2 -4
- package/dist/alert.cjs +1 -1
- package/dist/alert.d.ts +8 -8
- package/dist/alert.d.ts.map +1 -1
- package/dist/alert.mjs +37 -29
- package/dist/{aspect-ratio-CFWobEnT.mjs → aspect-ratio-DnChDaBi.mjs} +10 -4
- package/dist/{aspect-ratio-D9dApiWv.js → aspect-ratio-QD1ZXP2B.js} +1 -1
- package/dist/aspect-ratio.cjs +1 -1
- package/dist/aspect-ratio.d.ts +2 -4
- package/dist/aspect-ratio.d.ts.map +1 -1
- package/dist/aspect-ratio.mjs +1 -1
- package/dist/avatar-C4onD8-4.mjs +127 -0
- package/dist/avatar-ki_M47qG.js +1 -0
- package/dist/avatar.cjs +1 -1
- package/dist/avatar.d.ts +10 -7
- package/dist/avatar.d.ts.map +1 -1
- package/dist/avatar.mjs +2 -3
- package/dist/badge.cjs +1 -1
- package/dist/badge.d.ts +4 -5
- package/dist/badge.d.ts.map +1 -1
- package/dist/badge.mjs +17 -13
- package/dist/breadcrumb.cjs +1 -1
- package/dist/breadcrumb.d.ts +9 -17
- package/dist/breadcrumb.d.ts.map +1 -1
- package/dist/breadcrumb.mjs +67 -58
- package/dist/button-group.cjs +1 -0
- package/dist/button-group.d.ts +11 -0
- package/dist/button-group.d.ts.map +1 -0
- package/dist/button-group.mjs +39 -0
- package/dist/button.cjs +1 -1
- package/dist/button.d.ts +3 -5
- package/dist/button.d.ts.map +1 -1
- package/dist/button.mjs +33 -26
- package/dist/calendar-D9sapvfY.js +1 -0
- package/dist/{calendar-DtFx4qdT.mjs → calendar-Dg6VGycy.mjs} +631 -625
- package/dist/calendar.cjs +1 -1
- package/dist/calendar.d.ts +5 -5
- package/dist/calendar.d.ts.map +1 -1
- package/dist/calendar.mjs +1 -2
- package/dist/card.cjs +1 -1
- package/dist/card.d.ts +10 -10
- package/dist/card.d.ts.map +1 -1
- package/dist/card.mjs +53 -40
- package/dist/carousel-6oFHLN7R.js +1 -0
- package/dist/{carousel-PQJ97GjQ.mjs → carousel-DbDoNdqJ.mjs} +54 -59
- package/dist/carousel.cjs +1 -1
- package/dist/carousel.d.ts +18 -13
- package/dist/carousel.d.ts.map +1 -1
- package/dist/carousel.mjs +2 -4
- package/dist/chart.cjs +3 -3
- package/dist/chart.d.ts +35 -7
- package/dist/chart.d.ts.map +1 -1
- package/dist/chart.mjs +64 -71
- package/dist/checkbox-BLgY82mB.js +1 -0
- package/dist/{checkbox-BOmSuATv.mjs → checkbox-Bts_zfqd.mjs} +32 -29
- package/dist/checkbox.cjs +1 -1
- package/dist/checkbox.d.ts +2 -5
- package/dist/checkbox.d.ts.map +1 -1
- package/dist/checkbox.mjs +1 -2
- package/dist/collapsible.cjs +1 -1
- package/dist/collapsible.d.ts +4 -6
- package/dist/collapsible.d.ts.map +1 -1
- package/dist/collapsible.mjs +21 -3
- package/dist/combobox-6qNx9Wbb.js +4 -0
- package/dist/combobox-yDMqxM_J.mjs +5522 -0
- package/dist/combobox.cjs +1 -0
- package/dist/combobox.d.ts +21 -0
- package/dist/combobox.d.ts.map +1 -0
- package/dist/combobox.mjs +4 -0
- package/dist/command-C6wJ5giF.mjs +576 -0
- package/dist/command-DCrPL1iW.js +1 -0
- package/dist/command.cjs +1 -1
- package/dist/command.d.ts +16 -80
- package/dist/command.d.ts.map +1 -1
- package/dist/command.mjs +1 -2
- package/dist/context-menu-CydUpD4W.mjs +349 -0
- package/dist/context-menu-DQ7XuuG5.js +1 -0
- package/dist/context-menu.cjs +1 -1
- package/dist/context-menu.d.ts +29 -21
- package/dist/context-menu.d.ts.map +1 -1
- package/dist/context-menu.mjs +1 -2
- package/dist/dialog.cjs +1 -1
- package/dist/dialog.d.ts +15 -17
- package/dist/dialog.d.ts.map +1 -1
- package/dist/dialog.mjs +89 -43
- package/dist/direction.cjs +1 -0
- package/dist/direction.d.ts +7 -0
- package/dist/direction.d.ts.map +1 -0
- package/dist/direction.mjs +15 -0
- package/dist/dist-1C8JOpVg.js +1 -0
- package/dist/{dist-CTaBktQl.mjs → dist-B1OcuinL.mjs} +93 -92
- package/dist/dist-BGZDG175.mjs +199 -0
- package/dist/dist-BPBwSSyk.mjs +8 -0
- package/dist/{dist-BTlmz3JV.js → dist-BPX1UGAz2.js} +1 -1
- package/dist/dist-BRsDdVlJ.js +1 -0
- package/dist/{dist-_LAgxsbh.mjs → dist-BWwCr-xN.mjs} +10 -9
- package/dist/dist-BYdcKuDi.mjs +16 -0
- package/dist/{dist-DCKyUINZ.mjs → dist-BlB11V_z.mjs} +1 -1
- package/dist/dist-CCXBcfM3.js +1 -0
- package/dist/{dist--EFQaGUD.mjs → dist-CDU9vno-.mjs} +4 -4
- package/dist/dist-CJolxugc.js +1 -0
- package/dist/dist-CQhWBhaI.mjs +91 -0
- package/dist/dist-CRLbUj9C.js +1 -0
- package/dist/dist-CWElW7UD.js +1 -0
- package/dist/{dist-NIAlh3KC.js → dist-CXbzwSnE.js} +1 -1
- package/dist/{dist-C5EZ0AD6.mjs → dist-CYj6O95k.mjs} +42 -41
- package/dist/{dist-Bjlzl0jN.mjs → dist-Cacc4QIh.mjs} +13 -10
- package/dist/dist-ChuP-5Gb.js +1 -0
- package/dist/dist-CiM892Rg.js +1 -0
- package/dist/{dist-Doq7FY_P.js → dist-CuMQq0hV.js} +1 -1
- package/dist/dist-DMnXk8Uo.js +1 -0
- package/dist/{dist-CRmJFaEL.mjs → dist-DPBTfUqI.mjs} +18 -17
- package/dist/dist-DR0lXVFG.js +1 -0
- package/dist/dist-Da7BU5sd.js +5 -0
- package/dist/{dist-D_tuvB-W.mjs → dist-Dz3LbuDd.mjs} +8 -9
- package/dist/{dist-9gQKRtL7.mjs → dist-GhACpuJb2.mjs} +1 -1
- package/dist/dist-o4zlRoDG.js +1 -0
- package/dist/{dist-DdVp13bp.mjs → dist-rGeQfsgN.mjs} +1 -1
- package/dist/{dist-BQOrag93.mjs → dist-tvb2Wafb.mjs} +22 -21
- package/dist/drawer.cjs +1 -1
- package/dist/drawer.d.ts +10 -21
- package/dist/drawer.d.ts.map +1 -1
- package/dist/drawer.mjs +74 -45
- package/dist/dropdown-menu-BoJvZ3Fj.js +1 -0
- package/dist/dropdown-menu-CriaO1_i.mjs +347 -0
- package/dist/dropdown-menu.cjs +1 -1
- package/dist/dropdown-menu.d.ts +27 -21
- package/dist/dropdown-menu.d.ts.map +1 -1
- package/dist/dropdown-menu.mjs +1 -1
- package/dist/empty.cjs +1 -0
- package/dist/empty.d.ts +13 -0
- package/dist/empty.d.ts.map +1 -0
- package/dist/empty.mjs +60 -0
- package/dist/{es2015-DkZq_IIO.mjs → es2015-BhmbVcui.mjs} +2 -2
- package/dist/{es2015-Ca60p53M.js → es2015-D22cM8Q_.js} +1 -1
- package/dist/field.cjs +1 -0
- package/dist/field.d.ts +18 -0
- package/dist/field.d.ts.map +1 -0
- package/dist/field.mjs +109 -0
- package/dist/floating-ui.react-dom-DgS_bqyY.mjs +1089 -0
- package/dist/floating-ui.react-dom-DpCJEf_x.js +1 -0
- package/dist/form.cjs +1 -1
- package/dist/form.mjs +8 -8
- package/dist/hooks/use-mobile.d.ts +2 -0
- package/dist/hooks/use-mobile.d.ts.map +1 -0
- package/dist/hooks/use-theme.d.ts +16 -0
- package/dist/hooks/use-theme.d.ts.map +1 -1
- package/dist/{hover-card-BOk3-K0k.mjs → hover-card-CJ-ibpbC.mjs} +53 -33
- package/dist/hover-card-CK5SjVLL.js +1 -0
- package/dist/hover-card.cjs +1 -1
- package/dist/hover-card.d.ts +4 -6
- package/dist/hover-card.d.ts.map +1 -1
- package/dist/hover-card.mjs +1 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +14 -43
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +66 -54
- package/dist/input-group.cjs +1 -0
- package/dist/input-group.d.ts +18 -0
- package/dist/input-group.d.ts.map +1 -0
- package/dist/input-group.mjs +78 -0
- package/dist/input-otp-BH_9dVhh.mjs +391 -0
- package/dist/input-otp-BibboKMt.js +20 -0
- package/dist/input-otp.cjs +1 -0
- package/dist/input-otp.d.ts +9 -0
- package/dist/input-otp.d.ts.map +1 -0
- package/dist/input-otp.mjs +4 -0
- package/dist/input.cjs +1 -1
- package/dist/input.d.ts +1 -4
- package/dist/input.d.ts.map +1 -1
- package/dist/input.mjs +11 -11
- package/dist/item.cjs +1 -0
- package/dist/item.d.ts +25 -0
- package/dist/item.d.ts.map +1 -0
- package/dist/item.mjs +118 -0
- package/dist/kbd.cjs +1 -0
- package/dist/kbd.d.ts +5 -0
- package/dist/kbd.d.ts.map +1 -0
- package/dist/kbd.mjs +20 -0
- package/dist/label-BXMSoyyu.js +1 -0
- package/dist/label-C8GNfPU0.mjs +25 -0
- package/dist/label.cjs +1 -1
- package/dist/label.d.ts +2 -5
- package/dist/label.d.ts.map +1 -1
- package/dist/label.mjs +1 -2
- package/dist/menubar-BcyqIJgy.mjs +441 -0
- package/dist/menubar-DPxokWFI.js +1 -0
- package/dist/menubar.cjs +1 -1
- package/dist/menubar.d.ts +25 -19
- package/dist/menubar.d.ts.map +1 -1
- package/dist/menubar.mjs +1 -1
- package/dist/native-select.cjs +1 -0
- package/dist/native-select.d.ts +8 -0
- package/dist/native-select.d.ts.map +1 -0
- package/dist/native-select.mjs +39 -0
- package/dist/navigation-menu-2yE2MUu-.js +1 -0
- package/dist/navigation-menu-N8gkxEXE.mjs +628 -0
- package/dist/navigation-menu.cjs +1 -1
- package/dist/navigation-menu.d.ts +11 -11
- package/dist/navigation-menu.d.ts.map +1 -1
- package/dist/navigation-menu.mjs +1 -2
- package/dist/pagination.cjs +1 -1
- package/dist/pagination.d.ts +13 -26
- package/dist/pagination.d.ts.map +1 -1
- package/dist/pagination.mjs +76 -59
- package/dist/popover-D1AO-E8p.js +1 -0
- package/dist/popover-wQACF3ut.mjs +245 -0
- package/dist/popover.cjs +1 -1
- package/dist/popover.d.ts +9 -8
- package/dist/popover.d.ts.map +1 -1
- package/dist/popover.mjs +2 -3
- package/dist/{progress-30ehxjKg.mjs → progress-DPWSEWa5.mjs} +19 -14
- package/dist/{progress-BqWHea4f.js → progress-ShXZwOfj.js} +2 -2
- package/dist/progress.cjs +1 -1
- package/dist/progress.d.ts +2 -4
- package/dist/progress.d.ts.map +1 -1
- package/dist/progress.mjs +1 -1
- package/dist/radio-group-CQbZCQmj.mjs +199 -0
- package/dist/radio-group-DAEi5vW_.js +1 -0
- package/dist/radio-group.cjs +1 -1
- package/dist/radio-group.d.ts +3 -8
- package/dist/radio-group.d.ts.map +1 -1
- package/dist/radio-group.mjs +1 -2
- package/dist/resizable-Cv-mKMKP.js +1 -0
- package/dist/{resizable-DhOcAmNX.mjs → resizable-DJSE3e5L.mjs} +310 -282
- package/dist/resizable.cjs +1 -1
- package/dist/resizable.d.ts +6 -7
- package/dist/resizable.d.ts.map +1 -1
- package/dist/resizable.mjs +1 -1
- package/dist/{scroll-area-DJcPs0_v.mjs → scroll-area-8QcqkHnC.mjs} +69 -58
- package/dist/scroll-area-Cqqinhxf.js +1 -0
- package/dist/scroll-area.cjs +1 -1
- package/dist/scroll-area.d.ts +3 -5
- package/dist/scroll-area.d.ts.map +1 -1
- package/dist/scroll-area.mjs +1 -2
- 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 +15 -14
- package/dist/select-DdUveoSA.js +1 -0
- package/dist/{select-D4bxRFq5.mjs → select-yoeH35x2.mjs} +279 -245
- package/dist/select.cjs +1 -1
- package/dist/select.d.ts +13 -13
- package/dist/select.d.ts.map +1 -1
- package/dist/select.mjs +1 -1
- package/dist/{separator-DZACUutC.mjs → separator-BU1ea5gl.mjs} +14 -10
- package/dist/separator-DBjErwHf.js +1 -0
- package/dist/separator.cjs +1 -1
- package/dist/separator.d.ts +2 -4
- package/dist/separator.d.ts.map +1 -1
- package/dist/separator.mjs +1 -2
- package/dist/sheet.cjs +1 -1
- package/dist/sheet.d.ts +13 -26
- package/dist/sheet.d.ts.map +1 -1
- package/dist/sheet.mjs +84 -54
- package/dist/shim-B5sEfNEJ.js +1 -0
- package/dist/shim-DX33EwUw.mjs +91 -0
- package/dist/sidebar-B-sWccYh.mjs +355 -0
- package/dist/sidebar-DIW-1cin.js +1 -0
- package/dist/sidebar.cjs +1 -0
- package/dist/sidebar.d.ts +45 -0
- package/dist/sidebar.d.ts.map +1 -0
- package/dist/sidebar.mjs +5 -0
- package/dist/skeleton.cjs +1 -1
- package/dist/skeleton.d.ts +1 -4
- package/dist/skeleton.d.ts.map +1 -1
- package/dist/skeleton.mjs +2 -3
- package/dist/{slider-DTdrUy_s.mjs → slider-CCPXejUF.mjs} +81 -59
- package/dist/slider-w05gD_Ix.js +1 -0
- package/dist/slider.cjs +1 -1
- package/dist/slider.d.ts +2 -4
- 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 +1 -5
- package/dist/sonner.d.ts.map +1 -1
- package/dist/sonner.mjs +23 -16
- package/dist/spinner.cjs +1 -0
- package/dist/spinner.d.ts +4 -0
- package/dist/spinner.d.ts.map +1 -0
- package/dist/spinner.mjs +15 -0
- package/dist/support-fab.cjs +1 -1
- package/dist/support-fab.mjs +1 -1
- package/dist/switch-CDBqsWQa.mjs +112 -0
- package/dist/switch-X2WBJsUu.js +1 -0
- package/dist/switch.cjs +1 -1
- package/dist/switch.d.ts +4 -4
- package/dist/switch.d.ts.map +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/table.cjs +1 -1
- package/dist/table.d.ts +8 -10
- package/dist/table.d.ts.map +1 -1
- package/dist/table.mjs +62 -54
- package/dist/tabs-DzvgrVzk.js +1 -0
- package/dist/tabs-KDeHjVQU.mjs +160 -0
- package/dist/tabs.cjs +1 -1
- package/dist/tabs.d.ts +10 -8
- package/dist/tabs.d.ts.map +1 -1
- package/dist/tabs.mjs +2 -2
- package/dist/text.d.ts +1 -1
- package/dist/textarea.cjs +1 -1
- package/dist/textarea.d.ts +1 -4
- package/dist/textarea.d.ts.map +1 -1
- package/dist/textarea.mjs +10 -10
- package/dist/{theme-toggle-Dtze9fyN.js → theme-toggle-C2Y4bIM3.js} +1 -1
- package/dist/{theme-toggle-DAHBgdy0.mjs → theme-toggle-clE-HpSS.mjs} +9 -9
- package/dist/theme-toggle.cjs +1 -1
- package/dist/theme-toggle.mjs +1 -2
- package/dist/toast-1keyrzem.js +1 -0
- package/dist/{toast-G9LdgDDE.mjs → toast-DVI6jPq5.mjs} +102 -101
- package/dist/toast.cjs +1 -1
- package/dist/toast.d.ts.map +1 -1
- package/dist/toast.mjs +1 -1
- package/dist/{toaster-WQJjavlc.mjs → toaster-Czhz-ktg.mjs} +1 -1
- package/dist/{toaster-CKD4CKAZ.js → toaster-DfDb2-aI.js} +1 -1
- package/dist/toaster.cjs +1 -1
- package/dist/toaster.mjs +1 -1
- package/dist/toggle-BGkq5XDM.js +1 -0
- package/dist/toggle-BfIIdlA6.mjs +58 -0
- package/dist/toggle-group-CbqgoPFU.mjs +167 -0
- package/dist/toggle-group-D7hR4BT2.js +1 -0
- package/dist/toggle-group.cjs +1 -1
- package/dist/toggle-group.d.ts +7 -9
- 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 +6 -5
- package/dist/toggle.d.ts.map +1 -1
- package/dist/toggle.mjs +2 -19
- package/dist/tooltip-CAIbshMk.js +1 -0
- package/dist/{tooltip-BHEcM7lO.mjs → tooltip-D_o8Z-Ya.mjs} +106 -90
- package/dist/tooltip.cjs +1 -1
- package/dist/tooltip.d.ts +5 -10
- package/dist/tooltip.d.ts.map +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +8 -6
- package/src/accordion.tsx +58 -51
- package/src/alert-dialog.tsx +140 -93
- package/src/alert.tsx +44 -33
- package/src/aspect-ratio.tsx +10 -4
- package/src/avatar.tsx +92 -37
- package/src/badge.tsx +24 -14
- package/src/breadcrumb.tsx +73 -85
- package/src/button-group.tsx +78 -0
- package/src/button.tsx +46 -24
- package/src/calendar.tsx +52 -40
- package/src/card.tsx +67 -42
- package/src/carousel.tsx +164 -174
- package/src/chart.tsx +206 -232
- package/src/checkbox.tsx +17 -17
- package/src/collapsible.tsx +16 -10
- package/src/combobox.tsx +282 -0
- package/src/command.tsx +123 -120
- package/src/context-menu.tsx +206 -179
- package/src/dialog.tsx +111 -65
- package/src/direction.tsx +18 -0
- package/src/drawer.tsx +75 -78
- package/src/dropdown-menu.tsx +211 -180
- package/src/empty.tsx +83 -0
- package/src/field.tsx +217 -0
- package/src/hooks/use-mobile.ts +19 -0
- package/src/hover-card.tsx +33 -27
- package/src/index.ts +108 -154
- package/src/input-group.tsx +143 -0
- package/src/input-otp.tsx +81 -0
- package/src/input.tsx +8 -8
- package/src/item.tsx +185 -0
- package/src/kbd.tsx +21 -0
- package/src/label.tsx +17 -14
- package/src/menubar.tsx +211 -199
- package/src/native-select.tsx +54 -0
- package/src/navigation-menu.tsx +115 -110
- package/src/pagination.tsx +65 -80
- package/src/popover.tsx +53 -41
- package/src/progress.tsx +22 -20
- package/src/radio-group.tsx +22 -34
- package/src/resizable.tsx +34 -49
- package/src/scroll-area.tsx +43 -35
- package/src/search.tsx +12 -9
- package/src/select.tsx +138 -133
- package/src/separator.tsx +25 -18
- package/src/sheet.tsx +97 -127
- package/src/sidebar.tsx +660 -0
- package/src/skeleton.tsx +7 -6
- package/src/slider.tsx +51 -19
- package/src/sonner.tsx +22 -12
- package/src/spinner.tsx +10 -0
- package/src/support-fab.tsx +1 -1
- package/src/switch.tsx +28 -21
- package/src/table.tsx +61 -87
- package/src/tabs.tsx +75 -56
- package/src/textarea.tsx +8 -10
- package/src/toast.tsx +5 -0
- package/src/toggle-group.tsx +76 -40
- package/src/toggle.tsx +35 -15
- package/src/tooltip.tsx +41 -43
- package/dist/accordion-BTF24dQU.js +0 -1
- package/dist/accordion-DHTV2Am8.mjs +0 -221
- package/dist/alert-dialog-Bwn2-Uyf.mjs +0 -164
- package/dist/alert-dialog-DBMX5E0-.js +0 -7
- package/dist/avatar-BI7s8omb.js +0 -1
- package/dist/avatar-hzlewncL.mjs +0 -185
- package/dist/calendar-ykdYhTj9.js +0 -1
- package/dist/carousel-DSmAn1nc.js +0 -1
- package/dist/checkbox-dK6DJKeV.js +0 -1
- package/dist/command-CDSbHz4C.js +0 -1
- package/dist/command-j0rZqZ7B.mjs +0 -531
- package/dist/context-menu-BWgLbKLP.js +0 -1
- package/dist/context-menu-CWSzssAO.mjs +0 -292
- package/dist/dist-B28N93_W.js +0 -1
- package/dist/dist-B43Kk7ii.js +0 -1
- package/dist/dist-BTPL2C0R.js +0 -1
- package/dist/dist-BjEG16aJ.mjs +0 -111
- package/dist/dist-BlKAvKHD.js +0 -1
- package/dist/dist-C3Z3atn0.mjs +0 -10
- package/dist/dist-C4q8IPk4.mjs +0 -28
- package/dist/dist-CPglx4om.js +0 -1
- package/dist/dist-CV2U2xFR.js +0 -1
- package/dist/dist-Cv9YaN1n.mjs +0 -61
- package/dist/dist-DAe-fOIM.mjs +0 -25
- package/dist/dist-DQAJMTj0.js +0 -1
- package/dist/dist-DaCPM8ia.js +0 -1
- package/dist/dist-DasmYflz.js +0 -1
- package/dist/dist-DneYUKe0.js +0 -1
- package/dist/dist-Du2jbEkG.mjs +0 -1282
- package/dist/dist-Dw6-GQAn.js +0 -1
- package/dist/dist-DwGlbIjj.js +0 -5
- package/dist/dist-Dzjlf9ug.js +0 -1
- package/dist/dist-GaBUW_Tu.js +0 -1
- package/dist/dropdown-menu-Bz5LlLjl.js +0 -1
- package/dist/dropdown-menu-Cp1qpOLk.mjs +0 -288
- package/dist/hover-card-CyKIuXGH.js +0 -1
- package/dist/label-DGuuPl_e.mjs +0 -22
- package/dist/label-gVkdll-j.js +0 -1
- package/dist/menubar-DNrIQhY5.mjs +0 -410
- package/dist/menubar-DkjAo6qJ.js +0 -1
- package/dist/navigation-menu-1cmCEi0j.mjs +0 -602
- package/dist/navigation-menu-qPt8hpr5.js +0 -1
- package/dist/popover-CbM1tqdC.mjs +0 -201
- package/dist/popover-DGTgqdKX.js +0 -1
- package/dist/radio-group-BGThTiQM.mjs +0 -193
- package/dist/radio-group-ClFpAswm.js +0 -1
- package/dist/resizable-D09wr7tV.js +0 -1
- package/dist/scroll-area-W_aOLOdE.js +0 -1
- package/dist/select-BQtkQBiD.js +0 -1
- package/dist/separator-BmkhoDge.js +0 -1
- package/dist/slider-Bkluwc3b.js +0 -1
- package/dist/switch-DENAxyga.js +0 -1
- package/dist/switch-DbsdyQVg.mjs +0 -103
- package/dist/tabs-C9sMowgZ.mjs +0 -136
- package/dist/tabs-DeK-zpy4.js +0 -1
- package/dist/toast-BtXY2QTe.js +0 -1
- package/dist/toggle-group-B0H9TwdD.mjs +0 -155
- package/dist/toggle-group-CAyztsIl.js +0 -1
- package/dist/tooltip-CKcMl7tK.js +0 -1
- /package/dist/{dist-C_45sBzc.js → dist-C_45sBzc2.js} +0 -0
- /package/dist/{dist-DGzGsPqo.mjs → dist-DGzGsPqo2.mjs} +0 -0
package/dist/index.mjs
CHANGED
|
@@ -1,57 +1,69 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
3
|
import { t as e } from "./utils-A_oVsYw5.mjs";
|
|
4
|
-
import { i as t, n, r, t as i } from "./accordion-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import { n as
|
|
13
|
-
import {
|
|
14
|
-
import { a as
|
|
15
|
-
import {
|
|
16
|
-
import { t as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import { t as
|
|
24
|
-
import {
|
|
25
|
-
import { n as
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import { n as
|
|
33
|
-
import {
|
|
34
|
-
import { n as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import { n as
|
|
56
|
-
import {
|
|
57
|
-
|
|
4
|
+
import { i as t, n, r, t as i } from "./accordion-Dd8Hrexd.mjs";
|
|
5
|
+
import { a, d as o, f as s, i as c, l, n as u, o as d, r as f, s as p, t as m, u as h } from "./alert-dialog-BQoG5g_w.mjs";
|
|
6
|
+
import { t as g } from "./aspect-ratio-DnChDaBi.mjs";
|
|
7
|
+
import { o as _, r as v, t as y } from "./avatar-C4onD8-4.mjs";
|
|
8
|
+
import { t as b } from "./checkbox-Bts_zfqd.mjs";
|
|
9
|
+
import { a as x, c as S, d as C, f as w, h as T, i as E, l as D, m as O, n as k, o as A, p as j, r as M, s as N, t as P, u as F } from "./context-menu-CydUpD4W.mjs";
|
|
10
|
+
import { a as I, c as L, d as R, f as z, h as B, i as V, l as H, m as U, n as W, o as G, p as K, r as q, s as J, t as Y, u as X } from "./dropdown-menu-CriaO1_i.mjs";
|
|
11
|
+
import { t as Z } from "./label-C8GNfPU0.mjs";
|
|
12
|
+
import { n as Q, r as $, t as ee } from "./hover-card-CJ-ibpbC.mjs";
|
|
13
|
+
import { a as te, c as ne, d as re, f as ie, g as ae, h as oe, i as se, l as ce, m as le, n as ue, o as de, p as fe, r as pe, s as me, t as he, u as ge } from "./menubar-BcyqIJgy.mjs";
|
|
14
|
+
import { a as _e, c as ve, i as ye, l as be, n as xe, o as Se, r as Ce, s as we, t as Te } from "./navigation-menu-N8gkxEXE.mjs";
|
|
15
|
+
import { n as Ee, r as De, s as Oe, t as ke } from "./popover-wQACF3ut.mjs";
|
|
16
|
+
import { t as Ae } from "./progress-DPWSEWa5.mjs";
|
|
17
|
+
import { n as je, t as Me } from "./radio-group-CQbZCQmj.mjs";
|
|
18
|
+
import { n as Ne, t as Pe } from "./scroll-area-8QcqkHnC.mjs";
|
|
19
|
+
import { a as Fe, c as Ie, i as Le, l as Re, n as ze, o as Be, r as Ve, s as He, t as Ue, u as We } from "./select-yoeH35x2.mjs";
|
|
20
|
+
import { t as Ge } from "./separator-BU1ea5gl.mjs";
|
|
21
|
+
import { t as Ke } from "./slider-CCPXejUF.mjs";
|
|
22
|
+
import { t as qe } from "./switch-CDBqsWQa.mjs";
|
|
23
|
+
import { i as Je, n as Ye, r as Xe, t as Ze } from "./tabs-KDeHjVQU.mjs";
|
|
24
|
+
import { a as Qe, i as $e, n as et, o as tt, r as nt, s as rt, t as it } from "./toast-DVI6jPq5.mjs";
|
|
25
|
+
import { n as at, t as ot } from "./toggle-BfIIdlA6.mjs";
|
|
26
|
+
import { n as st, t as ct } from "./toggle-group-CbqgoPFU.mjs";
|
|
27
|
+
import { i as lt, n as ut, r as dt, t as ft } from "./tooltip-D_o8Z-Ya.mjs";
|
|
28
|
+
import { Alert as pt, AlertDescription as mt, AlertTitle as ht } from "./alert.mjs";
|
|
29
|
+
import { Button as gt, buttonVariants as _t } from "./button.mjs";
|
|
30
|
+
import { Badge as vt, badgeVariants as yt } from "./badge.mjs";
|
|
31
|
+
import { Breadcrumb as bt, BreadcrumbEllipsis as xt, BreadcrumbItem as St, BreadcrumbLink as Ct, BreadcrumbList as wt, BreadcrumbPage as Tt, BreadcrumbSeparator as Et } from "./breadcrumb.mjs";
|
|
32
|
+
import { n as Dt, t as Ot } from "./calendar-Dg6VGycy.mjs";
|
|
33
|
+
import { Card as kt, CardContent as At, CardDescription as jt, CardFooter as Mt, CardHeader as Nt, CardTitle as Pt } from "./card.mjs";
|
|
34
|
+
import { a as Ft, i as It, n as Lt, r as Rt, t as zt } from "./carousel-DbDoNdqJ.mjs";
|
|
35
|
+
import { ChartContainer as Bt, ChartLegend as Vt, ChartLegendContent as Ht, ChartStyle as Ut, ChartTooltip as Wt, ChartTooltipContent as Gt } from "./chart.mjs";
|
|
36
|
+
import { Collapsible as Kt, CollapsibleContent as qt, CollapsibleTrigger as Jt } from "./collapsible.mjs";
|
|
37
|
+
import { a as Yt, c as Xt, i as Zt, l as Qt, n as $t, o as en, r as tn, s as nn, t as rn } from "./command-C6wJ5giF.mjs";
|
|
38
|
+
import { Dialog as an, DialogClose as on, DialogContent as sn, DialogDescription as cn, DialogFooter as ln, DialogHeader as un, DialogOverlay as dn, DialogPortal as fn, DialogTitle as pn, DialogTrigger as mn } from "./dialog.mjs";
|
|
39
|
+
import { Input as hn } from "./input.mjs";
|
|
40
|
+
import { Textarea as gn } from "./textarea.mjs";
|
|
41
|
+
import { InputGroup as _n, InputGroupAddon as vn, InputGroupButton as yn, InputGroupInput as bn, InputGroupText as xn, InputGroupTextarea as Sn } from "./input-group.mjs";
|
|
42
|
+
import { Drawer as Cn, DrawerClose as wn, DrawerContent as Tn, DrawerDescription as En, DrawerFooter as Dn, DrawerHeader as On, DrawerOverlay as kn, DrawerPortal as An, DrawerTitle as jn, DrawerTrigger as Mn } from "./drawer.mjs";
|
|
43
|
+
import { Form as Nn, FormControl as Pn, FormDescription as Fn, FormField as In, FormItem as Ln, FormLabel as Rn, FormMessage as zn, useFormField as Bn } from "./form.mjs";
|
|
44
|
+
import { Pagination as Vn, PaginationContent as Hn, PaginationEllipsis as Un, PaginationItem as Wn, PaginationLink as Gn, PaginationNext as Kn, PaginationPrevious as qn } from "./pagination.mjs";
|
|
45
|
+
import { n as Jn, r as Yn, t as Xn } from "./resizable-DJSE3e5L.mjs";
|
|
46
|
+
import { ScrollToTop as Zn } from "./scroll-to-top.mjs";
|
|
47
|
+
import { SupportFab as Qn } from "./support-fab.mjs";
|
|
48
|
+
import { Search as $n, SearchTrigger as er } from "./search.mjs";
|
|
49
|
+
import { Sheet as tr, SheetClose as nr, SheetContent as rr, SheetDescription as ir, SheetFooter as ar, SheetHeader as or, SheetTitle as sr, SheetTrigger as cr } from "./sheet.mjs";
|
|
50
|
+
import { Skeleton as lr } from "./skeleton.mjs";
|
|
51
|
+
import { Toaster as ur } from "./sonner.mjs";
|
|
52
|
+
import { Table as dr, TableBody as fr, TableCaption as pr, TableCell as mr, TableFooter as hr, TableHead as gr, TableHeader as _r, TableRow as vr } from "./table.mjs";
|
|
53
|
+
import { Text as yr, textVariants as br } from "./text.mjs";
|
|
54
|
+
import { ThemeProvider as xr } from "./theme-provider.mjs";
|
|
55
|
+
import { n as Sr, t as Cr } from "./theme-toggle-clE-HpSS.mjs";
|
|
56
|
+
import { n as wr, r as Tr, t as Er } from "./toaster-Czhz-ktg.mjs";
|
|
57
|
+
import { TableOfContents as Dr } from "./table-of-contents.mjs";
|
|
58
|
+
import { ButtonGroup as Or, ButtonGroupSeparator as kr, ButtonGroupText as Ar, buttonGroupVariants as jr } from "./button-group.mjs";
|
|
59
|
+
import { DirectionProvider as Mr, useDirection as Nr } from "./direction.mjs";
|
|
60
|
+
import { Empty as Pr, EmptyContent as Fr, EmptyDescription as Ir, EmptyHeader as Lr, EmptyMedia as Rr, EmptyTitle as zr } from "./empty.mjs";
|
|
61
|
+
import { Spinner as Br } from "./spinner.mjs";
|
|
62
|
+
import { Field as Vr, FieldContent as Hr, FieldDescription as Ur, FieldError as Wr, FieldGroup as Gr, FieldLabel as Kr, FieldLegend as qr, FieldSeparator as Jr, FieldSet as Yr, FieldTitle as Xr } from "./field.mjs";
|
|
63
|
+
import { NativeSelect as Zr, NativeSelectOptGroup as Qr, NativeSelectOption as $r } from "./native-select.mjs";
|
|
64
|
+
import { Kbd as ei, KbdGroup as ti } from "./kbd.mjs";
|
|
65
|
+
import { Item as ni, ItemActions as ri, ItemContent as ii, ItemDescription as ai, ItemFooter as oi, ItemGroup as si, ItemHeader as ci, ItemMedia as li, ItemSeparator as ui, ItemTitle as di } from "./item.mjs";
|
|
66
|
+
import { a as fi, c as pi, d as mi, f as hi, g as gi, h as _i, i as vi, l as yi, m as bi, n as xi, o as Si, p as Ci, r as wi, s as Ti, t as Ei, u as Di } from "./combobox-yDMqxM_J.mjs";
|
|
67
|
+
import { i as Oi, n as ki, r as Ai, t as ji } from "./input-otp-BH_9dVhh.mjs";
|
|
68
|
+
import { C as Mi, S as Ni, _ as Pi, a as Fi, b as Ii, c as Li, d as Ri, f as zi, g as Bi, h as Vi, i as Hi, l as Ui, m as Wi, n as Gi, o as Ki, p as qi, r as Ji, s as Yi, t as Xi, u as Zi, v as Qi, w as $i, x as ea, y as ta } from "./sidebar-B-sWccYh.mjs";
|
|
69
|
+
export { i as Accordion, n as AccordionContent, r as AccordionItem, t as AccordionTrigger, pt as Alert, mt as AlertDescription, m as AlertDialog, u as AlertDialogAction, f as AlertDialogCancel, c as AlertDialogContent, a as AlertDialogDescription, d as AlertDialogFooter, p as AlertDialogHeader, l as AlertDialogOverlay, h as AlertDialogPortal, o as AlertDialogTitle, s as AlertDialogTrigger, ht as AlertTitle, g as AspectRatio, y as Avatar, v as AvatarFallback, _ as AvatarImage, vt as Badge, bt as Breadcrumb, xt as BreadcrumbEllipsis, St as BreadcrumbItem, Ct as BreadcrumbLink, wt as BreadcrumbList, Tt as BreadcrumbPage, Et as BreadcrumbSeparator, gt as Button, Or as ButtonGroup, kr as ButtonGroupSeparator, Ar as ButtonGroupText, Ot as Calendar, Dt as CalendarDayButton, kt as Card, At as CardContent, jt as CardDescription, Mt as CardFooter, Nt as CardHeader, Pt as CardTitle, zt as Carousel, Lt as CarouselContent, Rt as CarouselItem, It as CarouselNext, Ft as CarouselPrevious, Bt as ChartContainer, Vt as ChartLegend, Ht as ChartLegendContent, Ut as ChartStyle, Wt as ChartTooltip, Gt as ChartTooltipContent, b as Checkbox, Kt as Collapsible, qt as CollapsibleContent, Jt as CollapsibleTrigger, Ei as Combobox, xi as ComboboxChip, wi as ComboboxChips, vi as ComboboxChipsInput, fi as ComboboxCollection, Si as ComboboxContent, Ti as ComboboxEmpty, pi as ComboboxGroup, yi as ComboboxInput, Di as ComboboxItem, mi as ComboboxLabel, hi as ComboboxList, Ci as ComboboxSeparator, bi as ComboboxTrigger, _i as ComboboxValue, rn as Command, $t as CommandDialog, tn as CommandEmpty, Zt as CommandGroup, Yt as CommandInput, en as CommandItem, nn as CommandList, Xt as CommandSeparator, Qt as CommandShortcut, P as ContextMenu, k as ContextMenuCheckboxItem, M as ContextMenuContent, E as ContextMenuGroup, x as ContextMenuItem, A as ContextMenuLabel, N as ContextMenuPortal, S as ContextMenuRadioGroup, D as ContextMenuRadioItem, F as ContextMenuSeparator, C as ContextMenuShortcut, w as ContextMenuSub, j as ContextMenuSubContent, O as ContextMenuSubTrigger, T as ContextMenuTrigger, an as Dialog, on as DialogClose, sn as DialogContent, cn as DialogDescription, ln as DialogFooter, un as DialogHeader, dn as DialogOverlay, fn as DialogPortal, pn as DialogTitle, mn as DialogTrigger, Mr as DirectionProvider, Cn as Drawer, wn as DrawerClose, Tn as DrawerContent, En as DrawerDescription, Dn as DrawerFooter, On as DrawerHeader, kn as DrawerOverlay, An as DrawerPortal, jn as DrawerTitle, Mn as DrawerTrigger, Y as DropdownMenu, W as DropdownMenuCheckboxItem, q as DropdownMenuContent, V as DropdownMenuGroup, I as DropdownMenuItem, G as DropdownMenuLabel, J as DropdownMenuPortal, L as DropdownMenuRadioGroup, H as DropdownMenuRadioItem, X as DropdownMenuSeparator, R as DropdownMenuShortcut, z as DropdownMenuSub, K as DropdownMenuSubContent, U as DropdownMenuSubTrigger, B as DropdownMenuTrigger, Pr as Empty, Fr as EmptyContent, Ir as EmptyDescription, Lr as EmptyHeader, Rr as EmptyMedia, zr as EmptyTitle, Vr as Field, Hr as FieldContent, Ur as FieldDescription, Wr as FieldError, Gr as FieldGroup, Kr as FieldLabel, qr as FieldLegend, Jr as FieldSeparator, Yr as FieldSet, Xr as FieldTitle, Nn as Form, Pn as FormControl, Fn as FormDescription, In as FormField, Ln as FormItem, Rn as FormLabel, zn as FormMessage, ee as HoverCard, Q as HoverCardContent, $ as HoverCardTrigger, hn as Input, _n as InputGroup, vn as InputGroupAddon, yn as InputGroupButton, bn as InputGroupInput, xn as InputGroupText, Sn as InputGroupTextarea, ji as InputOTP, ki as InputOTPGroup, Ai as InputOTPSeparator, Oi as InputOTPSlot, ni as Item, ri as ItemActions, ii as ItemContent, ai as ItemDescription, oi as ItemFooter, si as ItemGroup, ci as ItemHeader, li as ItemMedia, ui as ItemSeparator, di as ItemTitle, ei as Kbd, ti as KbdGroup, Z as Label, he as Menubar, ue as MenubarCheckboxItem, pe as MenubarContent, se as MenubarGroup, te as MenubarItem, de as MenubarLabel, me as MenubarMenu, ne as MenubarPortal, ce as MenubarRadioGroup, ge as MenubarRadioItem, re as MenubarSeparator, ie as MenubarShortcut, fe as MenubarSub, le as MenubarSubContent, oe as MenubarSubTrigger, ae as MenubarTrigger, Zr as NativeSelect, Qr as NativeSelectOptGroup, $r as NativeSelectOption, Te as NavigationMenu, xe as NavigationMenuContent, Ce as NavigationMenuIndicator, ye as NavigationMenuItem, _e as NavigationMenuLink, Se as NavigationMenuList, we as NavigationMenuTrigger, ve as NavigationMenuViewport, Vn as Pagination, Hn as PaginationContent, Un as PaginationEllipsis, Wn as PaginationItem, Gn as PaginationLink, Kn as PaginationNext, qn as PaginationPrevious, ke as Popover, Ee as PopoverAnchor, De as PopoverContent, Oe as PopoverTrigger, Ae as Progress, Me as RadioGroup, je as RadioGroupItem, Xn as ResizableHandle, Jn as ResizablePanel, Yn as ResizablePanelGroup, Pe as ScrollArea, Ne as ScrollBar, Zn as ScrollToTop, $n as Search, er as SearchTrigger, Ue as Select, ze as SelectContent, Ve as SelectGroup, Le as SelectItem, Fe as SelectLabel, Be as SelectScrollDownButton, He as SelectScrollUpButton, Ie as SelectSeparator, Re as SelectTrigger, We as SelectValue, Ge as Separator, tr as Sheet, nr as SheetClose, rr as SheetContent, ir as SheetDescription, ar as SheetFooter, or as SheetHeader, sr as SheetTitle, cr as SheetTrigger, Xi as Sidebar, Gi as SidebarContent, Ji as SidebarFooter, Hi as SidebarGroup, Fi as SidebarGroupAction, Ki as SidebarGroupContent, Yi as SidebarGroupLabel, Li as SidebarHeader, Ui as SidebarInput, Zi as SidebarInset, Ri as SidebarMenu, zi as SidebarMenuAction, qi as SidebarMenuBadge, Wi as SidebarMenuButton, Vi as SidebarMenuItem, Bi as SidebarMenuSkeleton, Pi as SidebarMenuSub, Qi as SidebarMenuSubButton, ta as SidebarMenuSubItem, Ii as SidebarProvider, ea as SidebarRail, Ni as SidebarSeparator, Mi as SidebarTrigger, lr as Skeleton, Ke as Slider, ur as SonnerToaster, Br as Spinner, Qn as SupportFab, qe as Switch, dr as Table, fr as TableBody, pr as TableCaption, mr as TableCell, hr as TableFooter, gr as TableHead, _r as TableHeader, Dr as TableOfContents, vr as TableRow, Ze as Tabs, Ye as TabsContent, Xe as TabsList, Je as TabsTrigger, yr as Text, gn as Textarea, xr as ThemeProvider, Cr as ThemeToggle, it as Toast, et as ToastAction, nt as ToastClose, $e as ToastDescription, Qe as ToastProvider, tt as ToastTitle, rt as ToastViewport, Er as Toaster, ot as Toggle, ct as ToggleGroup, st as ToggleGroupItem, ft as Tooltip, ut as TooltipContent, dt as TooltipProvider, lt as TooltipTrigger, yt as badgeVariants, jr as buttonGroupVariants, _t as buttonVariants, e as cn, be as navigationMenuTriggerStyle, br as textVariants, wr as toast, at as toggleVariants, gi as useComboboxAnchor, Nr as useDirection, Bn as useFormField, $i as useSidebar, Sr as useTheme, Tr as useToast };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require("./chunk-mLOUI7ql.js"),t=require("./utils-ChMUqofy.js"),n=require("./button.cjs"),r=require("./input.cjs"),i=require("./textarea.cjs");let a=require("react");a=e.r(a);let o=require("react/jsx-runtime"),s=require("class-variance-authority");function c({className:e,...n}){return(0,o.jsx)(`div`,{"data-slot":`input-group`,role:`group`,className:t.t(`group/input-group border-input has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 relative flex h-8 w-full min-w-0 items-center rounded-lg border transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5`,e),...n})}var l=(0,s.cva)(`flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*=size-])]:size-4`,{variants:{align:{"inline-start":`order-first ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem]`,"inline-end":`order-last pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem]`,"block-start":`order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2`,"block-end":`order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2`}},defaultVariants:{align:`inline-start`}});function u({className:e,align:n=`inline-start`,...r}){return(0,o.jsx)(`div`,{role:`group`,"data-slot":`input-group-addon`,"data-align":n,className:t.t(l({align:n}),e),onClick:e=>{e.target.closest(`button`)||e.currentTarget.parentElement?.querySelector(`input`)?.focus()},...r})}var d=(0,s.cva)(`flex items-center gap-2 text-sm shadow-none`,{variants:{size:{xs:`h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*=size-])]:size-3.5`,sm:``,"icon-xs":`size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0`,"icon-sm":`size-8 p-0 has-[>svg]:p-0`}},defaultVariants:{size:`xs`}});function f({className:e,type:r=`button`,variant:i=`ghost`,size:a=`xs`,...s}){return(0,o.jsx)(n.Button,{type:r,"data-size":a,variant:i,className:t.t(d({size:a}),e),...s})}function p({className:e,...n}){return(0,o.jsx)(`span`,{className:t.t(`text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*=size-])]:size-4`,e),...n})}function m({className:e,...n}){return(0,o.jsx)(r.Input,{"data-slot":`input-group-control`,className:t.t(`flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent`,e),...n})}function h({className:e,...n}){return(0,o.jsx)(i.Textarea,{"data-slot":`input-group-control`,className:t.t(`flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent`,e),...n})}exports.InputGroup=c,exports.InputGroupAddon=u,exports.InputGroupButton=f,exports.InputGroupInput=m,exports.InputGroupText=p,exports.InputGroupTextarea=h;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
2
|
+
import { InputGroupAddonBaseProps, InputGroupBaseProps, InputGroupButtonBaseProps, InputGroupInputBaseProps, InputGroupTextareaBaseProps, InputGroupTextBaseProps } from '@gv-tech/ui-core';
|
|
3
|
+
import { Button } from './button';
|
|
4
|
+
import * as React from 'react';
|
|
5
|
+
declare function InputGroup({ className, ...props }: React.ComponentProps<'div'> & InputGroupBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
7
|
+
align?: "inline-start" | "inline-end" | "block-start" | "block-end" | null | undefined;
|
|
8
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
9
|
+
declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<'div'> & VariantProps<typeof inputGroupAddonVariants> & InputGroupAddonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const inputGroupButtonVariants: (props?: ({
|
|
11
|
+
size?: "xs" | "sm" | "icon-xs" | "icon-sm" | null | undefined;
|
|
12
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
|
+
declare function InputGroupButton({ className, type, variant, size, ...props }: Omit<React.ComponentProps<typeof Button>, 'size'> & VariantProps<typeof inputGroupButtonVariants> & InputGroupButtonBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
declare function InputGroupText({ className, ...props }: React.ComponentProps<'span'> & InputGroupTextBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
declare function InputGroupInput({ className, ...props }: React.ComponentProps<'input'> & InputGroupInputBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
declare function InputGroupTextarea({ className, ...props }: React.ComponentProps<'textarea'> & InputGroupTextareaBaseProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea };
|
|
18
|
+
//# sourceMappingURL=input-group.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"input-group.d.ts","sourceRoot":"","sources":["../src/input-group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EACV,wBAAwB,EACxB,mBAAmB,EACnB,yBAAyB,EACzB,wBAAwB,EACxB,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAKlC,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,mBAAmB,2CAY7F;AAED,QAAA,MAAM,uBAAuB;;8EAgB5B,CAAC;AAEF,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,KAAsB,EACtB,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG,YAAY,CAAC,OAAO,uBAAuB,CAAC,GAAG,wBAAwB,2CAgBvG;AAED,QAAA,MAAM,wBAAwB;;8EAY5B,CAAC;AAEH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,IAAe,EACf,OAAiB,EACjB,IAAW,EACX,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,EAAE,MAAM,CAAC,GAClD,YAAY,CAAC,OAAO,wBAAwB,CAAC,GAC7C,yBAAyB,2CAU1B;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,GAAG,uBAAuB,2CAUtG;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG,wBAAwB,2CAWzG;AAED,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,UAAU,CAAC,GAAG,2BAA2B,2CAWlH;AAED,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,gBAAgB,EAAE,eAAe,EAAE,cAAc,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as e } from "./utils-A_oVsYw5.mjs";
|
|
3
|
+
import { Button as t } from "./button.mjs";
|
|
4
|
+
import { Input as n } from "./input.mjs";
|
|
5
|
+
import { Textarea as r } from "./textarea.mjs";
|
|
6
|
+
import "react";
|
|
7
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
8
|
+
import { cva as a } from "class-variance-authority";
|
|
9
|
+
//#region src/input-group.tsx
|
|
10
|
+
function o({ className: t, ...n }) {
|
|
11
|
+
return /* @__PURE__ */ i("div", {
|
|
12
|
+
"data-slot": "input-group",
|
|
13
|
+
role: "group",
|
|
14
|
+
className: e("group/input-group border-input has-disabled:bg-input/50 has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot][aria-invalid=true]]:border-destructive has-[[data-slot][aria-invalid=true]]:ring-destructive/20 dark:bg-input/30 dark:has-disabled:bg-input/80 dark:has-[[data-slot][aria-invalid=true]]:ring-destructive/40 relative flex h-8 w-full min-w-0 items-center rounded-lg border transition-colors outline-none in-data-[slot=combobox-content]:focus-within:border-inherit in-data-[slot=combobox-content]:focus-within:ring-0 has-disabled:opacity-50 has-[[data-slot=input-group-control]:focus-visible]:ring-3 has-[[data-slot][aria-invalid=true]]:ring-3 has-[>[data-align=block-end]]:h-auto has-[>[data-align=block-end]]:flex-col has-[>[data-align=block-start]]:h-auto has-[>[data-align=block-start]]:flex-col has-[>textarea]:h-auto has-[>[data-align=block-end]]:[&>input]:pt-3 has-[>[data-align=block-start]]:[&>input]:pb-3 has-[>[data-align=inline-end]]:[&>input]:pe-1.5 has-[>[data-align=inline-start]]:[&>input]:ps-1.5", t),
|
|
15
|
+
...n
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
var s = a("flex h-auto cursor-text items-center justify-center gap-2 py-1.5 text-sm font-medium text-muted-foreground select-none group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*=size-])]:size-4", {
|
|
19
|
+
variants: { align: {
|
|
20
|
+
"inline-start": "order-first ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem]",
|
|
21
|
+
"inline-end": "order-last pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem]",
|
|
22
|
+
"block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
|
|
23
|
+
"block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
|
|
24
|
+
} },
|
|
25
|
+
defaultVariants: { align: "inline-start" }
|
|
26
|
+
});
|
|
27
|
+
function c({ className: t, align: n = "inline-start", ...r }) {
|
|
28
|
+
return /* @__PURE__ */ i("div", {
|
|
29
|
+
role: "group",
|
|
30
|
+
"data-slot": "input-group-addon",
|
|
31
|
+
"data-align": n,
|
|
32
|
+
className: e(s({ align: n }), t),
|
|
33
|
+
onClick: (e) => {
|
|
34
|
+
e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
35
|
+
},
|
|
36
|
+
...r
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
var l = a("flex items-center gap-2 text-sm shadow-none", {
|
|
40
|
+
variants: { size: {
|
|
41
|
+
xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*=size-])]:size-3.5",
|
|
42
|
+
sm: "",
|
|
43
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-3px)] p-0 has-[>svg]:p-0",
|
|
44
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
45
|
+
} },
|
|
46
|
+
defaultVariants: { size: "xs" }
|
|
47
|
+
});
|
|
48
|
+
function u({ className: n, type: r = "button", variant: a = "ghost", size: o = "xs", ...s }) {
|
|
49
|
+
return /* @__PURE__ */ i(t, {
|
|
50
|
+
type: r,
|
|
51
|
+
"data-size": o,
|
|
52
|
+
variant: a,
|
|
53
|
+
className: e(l({ size: o }), n),
|
|
54
|
+
...s
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
function d({ className: t, ...n }) {
|
|
58
|
+
return /* @__PURE__ */ i("span", {
|
|
59
|
+
className: e("text-muted-foreground flex items-center gap-2 text-sm [&_svg]:pointer-events-none [&_svg:not([class*=size-])]:size-4", t),
|
|
60
|
+
...n
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function f({ className: t, ...r }) {
|
|
64
|
+
return /* @__PURE__ */ i(n, {
|
|
65
|
+
"data-slot": "input-group-control",
|
|
66
|
+
className: e("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", t),
|
|
67
|
+
...r
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function p({ className: t, ...n }) {
|
|
71
|
+
return /* @__PURE__ */ i(r, {
|
|
72
|
+
"data-slot": "input-group-control",
|
|
73
|
+
className: e("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", t),
|
|
74
|
+
...n
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
export { o as InputGroup, c as InputGroupAddon, u as InputGroupButton, f as InputGroupInput, d as InputGroupText, p as InputGroupTextarea };
|