@gv-tech/design-system 2.19.0 → 2.21.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/accordion.cjs +2 -2
- package/dist/accordion.cjs.map +1 -1
- package/dist/accordion.d.ts +2 -34
- package/dist/accordion.mjs +35 -38
- package/dist/accordion.mjs.map +1 -1
- package/dist/alert-dialog.cjs +2 -2
- package/dist/alert-dialog.cjs.map +1 -1
- package/dist/alert-dialog.d.ts +2 -74
- package/dist/alert-dialog.mjs +55 -69
- package/dist/alert-dialog.mjs.map +1 -1
- package/dist/alert.cjs +2 -2
- package/dist/alert.cjs.map +1 -1
- package/dist/alert.d.ts +2 -29
- package/dist/alert.mjs +36 -32
- package/dist/alert.mjs.map +1 -1
- package/dist/aspect-ratio.cjs +2 -2
- package/dist/aspect-ratio.cjs.map +1 -1
- package/dist/aspect-ratio.d.ts +2 -14
- package/dist/aspect-ratio.mjs +8 -6
- package/dist/aspect-ratio.mjs.map +1 -1
- package/dist/avatar.cjs +2 -2
- package/dist/avatar.cjs.map +1 -1
- package/dist/avatar.d.ts +2 -26
- package/dist/avatar.mjs +27 -29
- package/dist/avatar.mjs.map +1 -1
- package/dist/badge.cjs +2 -2
- package/dist/badge.cjs.map +1 -1
- package/dist/badge.d.ts +2 -21
- package/dist/badge.mjs +23 -25
- package/dist/badge.mjs.map +1 -1
- package/dist/breadcrumb.cjs +2 -2
- package/dist/breadcrumb.cjs.map +1 -1
- package/dist/breadcrumb.d.ts +2 -62
- package/dist/breadcrumb.mjs +60 -67
- package/dist/breadcrumb.mjs.map +1 -1
- package/dist/button.cjs +2 -2
- package/dist/button.cjs.map +1 -1
- package/dist/button.d.ts +2 -22
- package/dist/button.mjs +40 -39
- package/dist/button.mjs.map +1 -1
- package/dist/calendar.cjs +2 -2
- package/dist/calendar.cjs.map +1 -1
- package/dist/calendar.d.ts +2 -36
- package/dist/calendar.mjs +94 -130
- package/dist/calendar.mjs.map +1 -1
- package/dist/card.cjs +2 -2
- package/dist/card.cjs.map +1 -1
- package/dist/card.d.ts +2 -23
- package/dist/card.mjs +44 -33
- package/dist/card.mjs.map +1 -1
- package/dist/carousel.cjs +2 -2
- package/dist/carousel.cjs.map +1 -1
- package/dist/carousel.d.ts +2 -78
- package/dist/carousel.mjs +113 -151
- package/dist/carousel.mjs.map +1 -1
- package/dist/chart.cjs +5 -5
- package/dist/chart.cjs.map +1 -1
- package/dist/chart.d.ts +2 -90
- package/dist/chart.mjs +124 -182
- package/dist/chart.mjs.map +1 -1
- package/dist/checkbox.cjs +2 -2
- package/dist/checkbox.cjs.map +1 -1
- package/dist/checkbox.d.ts +2 -17
- package/dist/checkbox.mjs +19 -22
- package/dist/checkbox.mjs.map +1 -1
- package/dist/collapsible.cjs +2 -2
- package/dist/collapsible.cjs.map +1 -1
- package/dist/collapsible.d.ts +2 -32
- package/dist/collapsible.mjs +8 -8
- package/dist/collapsible.mjs.map +1 -1
- package/dist/command.cjs +2 -2
- package/dist/command.cjs.map +1 -1
- package/dist/command.d.ts +2 -133
- package/dist/command.mjs +80 -86
- package/dist/command.mjs.map +1 -1
- package/dist/context-menu.cjs +2 -2
- package/dist/context-menu.cjs.map +1 -1
- package/dist/context-menu.d.ts +2 -115
- package/dist/context-menu.mjs +72 -124
- package/dist/context-menu.mjs.map +1 -1
- package/dist/design-system.css +3 -1
- package/dist/dialog.cjs +2 -2
- package/dist/dialog.cjs.map +1 -1
- package/dist/dialog.d.ts +2 -31
- package/dist/dialog.mjs +50 -65
- package/dist/dialog.mjs.map +1 -1
- package/dist/drawer.cjs +2 -2
- package/dist/drawer.cjs.map +1 -1
- package/dist/drawer.d.ts +2 -79
- package/dist/drawer.mjs +49 -54
- package/dist/drawer.mjs.map +1 -1
- package/dist/dropdown-menu.cjs +2 -2
- package/dist/dropdown-menu.cjs.map +1 -1
- package/dist/dropdown-menu.d.ts +2 -124
- package/dist/dropdown-menu.mjs +73 -126
- package/dist/dropdown-menu.mjs.map +1 -1
- package/dist/form.cjs +2 -2
- package/dist/form.cjs.map +1 -1
- package/dist/form.d.ts +2 -62
- package/dist/form.mjs +75 -65
- package/dist/form.mjs.map +1 -1
- package/dist/hover-card.cjs +2 -2
- package/dist/hover-card.cjs.map +1 -1
- package/dist/hover-card.d.ts +2 -30
- package/dist/hover-card.mjs +17 -23
- package/dist/hover-card.mjs.map +1 -1
- package/dist/index.cjs +1 -2
- package/dist/index.d.ts +2 -2442
- package/dist/index.mjs +56 -430
- package/dist/input.cjs +2 -2
- package/dist/input.cjs.map +1 -1
- package/dist/input.d.ts +2 -14
- package/dist/input.mjs +16 -20
- package/dist/input.mjs.map +1 -1
- package/dist/label.cjs +2 -2
- package/dist/label.cjs.map +1 -1
- package/dist/label.d.ts +2 -14
- package/dist/label.mjs +14 -8
- package/dist/label.mjs.map +1 -1
- package/dist/menubar.cjs +2 -2
- package/dist/menubar.cjs.map +1 -1
- package/dist/menubar.d.ts +2 -125
- package/dist/menubar.mjs +101 -156
- package/dist/menubar.mjs.map +1 -1
- package/dist/navigation-menu.cjs +2 -2
- package/dist/navigation-menu.cjs.map +1 -1
- package/dist/navigation-menu.d.ts +2 -77
- package/dist/navigation-menu.mjs +58 -96
- package/dist/navigation-menu.mjs.map +1 -1
- package/dist/packages/design-tokens/src/index.d.ts +91 -0
- package/dist/packages/design-tokens/src/palette.d.ts +31 -0
- package/dist/packages/design-tokens/src/preset.d.ts +107 -0
- package/dist/packages/design-tokens/src/radii.d.ts +20 -0
- package/dist/packages/design-tokens/src/shadows.d.ts +11 -0
- package/dist/packages/design-tokens/src/spacing.d.ts +29 -0
- package/dist/packages/design-tokens/src/theme.d.ts +47 -0
- package/dist/packages/design-tokens/src/typography.d.ts +32 -0
- package/dist/packages/ui-core/src/contracts/accordion.d.ts +19 -0
- package/dist/packages/ui-core/src/contracts/alert-dialog.d.ts +39 -0
- package/dist/packages/ui-core/src/contracts/alert.d.ts +14 -0
- package/dist/packages/ui-core/src/contracts/aspect-ratio.d.ts +6 -0
- package/dist/packages/ui-core/src/contracts/avatar.d.ts +14 -0
- package/dist/packages/ui-core/src/contracts/badge.d.ts +6 -0
- package/dist/packages/ui-core/src/contracts/breadcrumb.d.ts +30 -0
- package/dist/packages/ui-core/src/contracts/button.d.ts +9 -0
- package/dist/packages/ui-core/src/contracts/calendar.d.ts +4 -0
- package/dist/packages/ui-core/src/contracts/card.d.ts +5 -0
- package/dist/packages/ui-core/src/contracts/carousel.d.ts +24 -0
- package/dist/packages/ui-core/src/contracts/chart.d.ts +33 -0
- package/dist/packages/ui-core/src/contracts/checkbox.d.ts +7 -0
- package/dist/packages/ui-core/src/contracts/collapsible.d.ts +18 -0
- package/dist/packages/ui-core/src/contracts/command.d.ts +35 -0
- package/dist/packages/ui-core/src/contracts/context-menu.d.ts +64 -0
- package/dist/packages/ui-core/src/contracts/dialog.d.ts +13 -0
- package/dist/packages/ui-core/src/contracts/drawer.d.ts +31 -0
- package/dist/packages/ui-core/src/contracts/dropdown-menu.d.ts +73 -0
- package/dist/packages/ui-core/src/contracts/form.d.ts +23 -0
- package/dist/packages/ui-core/src/contracts/hover-card.d.ts +18 -0
- package/dist/packages/ui-core/src/contracts/input.d.ts +5 -0
- package/dist/packages/ui-core/src/contracts/label.d.ts +6 -0
- package/dist/packages/ui-core/src/contracts/menubar.d.ts +73 -0
- package/dist/packages/ui-core/src/contracts/navigation-menu.d.ts +47 -0
- package/dist/packages/ui-core/src/contracts/pagination.d.ts +31 -0
- package/dist/packages/ui-core/src/contracts/popover.d.ts +24 -0
- package/dist/packages/ui-core/src/contracts/progress.d.ts +4 -0
- package/dist/packages/ui-core/src/contracts/radio.d.ts +9 -0
- package/dist/packages/ui-core/src/contracts/resizable.d.ts +38 -0
- package/dist/packages/ui-core/src/contracts/scroll-area.d.ts +13 -0
- package/dist/packages/ui-core/src/contracts/scroll-to-top.d.ts +25 -0
- package/dist/packages/ui-core/src/contracts/search.d.ts +12 -0
- package/dist/packages/ui-core/src/contracts/select.d.ts +54 -0
- package/dist/packages/ui-core/src/contracts/separator.d.ts +5 -0
- package/dist/packages/ui-core/src/contracts/sheet.d.ts +48 -0
- package/dist/packages/ui-core/src/contracts/skeleton.d.ts +5 -0
- package/dist/packages/ui-core/src/contracts/slider.d.ts +15 -0
- package/dist/packages/ui-core/src/contracts/sonner.d.ts +15 -0
- package/dist/packages/ui-core/src/contracts/switch.d.ts +11 -0
- package/dist/packages/ui-core/src/contracts/table-of-contents.d.ts +41 -0
- package/dist/packages/ui-core/src/contracts/table.d.ts +33 -0
- package/dist/packages/ui-core/src/contracts/tabs.d.ts +27 -0
- package/dist/packages/ui-core/src/contracts/text.d.ts +6 -0
- package/dist/packages/ui-core/src/contracts/textarea.d.ts +7 -0
- package/dist/packages/ui-core/src/contracts/theme-provider.d.ts +13 -0
- package/dist/packages/ui-core/src/contracts/theme-toggle.d.ts +15 -0
- package/dist/packages/ui-core/src/contracts/toast.d.ts +10 -0
- package/dist/packages/ui-core/src/contracts/toaster.d.ts +3 -0
- package/dist/packages/ui-core/src/contracts/toggle-group.d.ts +21 -0
- package/dist/packages/ui-core/src/contracts/toggle.d.ts +29 -0
- package/dist/packages/ui-core/src/contracts/tooltip.d.ts +24 -0
- package/dist/packages/ui-core/src/index.d.ts +56 -0
- package/dist/packages/ui-web/src/accordion.d.ts +9 -0
- package/dist/packages/ui-web/src/accordion.test.d.ts +1 -0
- package/dist/packages/ui-web/src/alert-dialog.d.ts +22 -0
- package/dist/packages/ui-web/src/alert-dialog.test.d.ts +1 -0
- package/dist/packages/ui-web/src/alert.d.ts +11 -0
- package/dist/packages/ui-web/src/alert.test.d.ts +1 -0
- package/dist/packages/ui-web/src/aspect-ratio.d.ts +6 -0
- package/dist/packages/ui-web/src/aspect-ratio.test.d.ts +1 -0
- package/dist/packages/ui-web/src/avatar.d.ts +8 -0
- package/dist/packages/ui-web/src/avatar.test.d.ts +1 -0
- package/dist/packages/ui-web/src/badge.d.ts +11 -0
- package/dist/packages/ui-web/src/badge.test.d.ts +1 -0
- package/dist/packages/ui-web/src/breadcrumb.d.ts +19 -0
- package/dist/packages/ui-web/src/button.d.ts +13 -0
- package/dist/packages/ui-web/src/button.test.d.ts +1 -0
- package/dist/packages/ui-web/src/calendar.d.ts +10 -0
- package/dist/packages/ui-web/src/calendar.test.d.ts +1 -0
- package/dist/packages/ui-web/src/card.d.ts +11 -0
- package/dist/packages/ui-web/src/card.test.d.ts +1 -0
- package/dist/packages/ui-web/src/carousel.d.ts +24 -0
- package/dist/packages/ui-web/src/carousel.test.d.ts +1 -0
- package/dist/packages/ui-web/src/chart.d.ts +16 -0
- package/dist/packages/ui-web/src/chart.test.d.ts +1 -0
- package/dist/packages/ui-web/src/checkbox.d.ts +7 -0
- package/dist/packages/ui-web/src/checkbox.test.d.ts +1 -0
- package/dist/packages/ui-web/src/collapsible.d.ts +8 -0
- package/dist/packages/ui-web/src/collapsible.test.d.ts +1 -0
- package/dist/packages/ui-web/src/command.d.ts +82 -0
- package/dist/packages/ui-web/src/command.test.d.ts +1 -0
- package/dist/packages/ui-web/src/context-menu.d.ts +23 -0
- package/dist/packages/ui-web/src/context-menu.test.d.ts +1 -0
- package/dist/packages/ui-web/src/dialog.d.ts +19 -0
- package/dist/packages/ui-web/src/dialog.test.d.ts +1 -0
- package/dist/packages/ui-web/src/drawer.d.ts +25 -0
- package/dist/packages/ui-web/src/drawer.test.d.ts +1 -0
- package/dist/packages/ui-web/src/dropdown-menu.d.ts +23 -0
- package/dist/packages/ui-web/src/dropdown-menu.test.d.ts +1 -0
- package/dist/packages/ui-web/src/form.d.ts +26 -0
- package/dist/packages/ui-web/src/form.test.d.ts +1 -0
- package/dist/packages/ui-web/src/hooks/use-theme.d.ts +51 -0
- package/dist/packages/ui-web/src/hooks/use-toast.d.ts +44 -0
- package/dist/packages/ui-web/src/hover-card.d.ts +8 -0
- package/dist/packages/ui-web/src/hover-card.test.d.ts +1 -0
- package/dist/packages/ui-web/src/index.d.ts +107 -0
- package/dist/packages/ui-web/src/input.d.ts +6 -0
- package/dist/packages/ui-web/src/input.test.d.ts +1 -0
- package/dist/packages/ui-web/src/label.d.ts +8 -0
- package/dist/packages/ui-web/src/label.test.d.ts +1 -0
- package/dist/packages/ui-web/src/lib/utils.d.ts +3 -0
- package/dist/packages/ui-web/src/menubar.d.ts +24 -0
- package/dist/packages/ui-web/src/menubar.test.d.ts +1 -0
- package/dist/packages/ui-web/src/navigation-menu.d.ts +15 -0
- package/dist/packages/ui-web/src/navigation-menu.test.d.ts +1 -0
- package/dist/packages/ui-web/src/pagination.d.ts +30 -0
- package/dist/packages/ui-web/src/pagination.test.d.ts +1 -0
- package/dist/packages/ui-web/src/popover.d.ts +9 -0
- package/dist/packages/ui-web/src/popover.test.d.ts +1 -0
- package/dist/packages/ui-web/src/progress.d.ts +6 -0
- package/dist/packages/ui-web/src/progress.test.d.ts +1 -0
- package/dist/packages/ui-web/src/radio-group.d.ts +10 -0
- package/dist/packages/ui-web/src/radio-group.test.d.ts +1 -0
- package/dist/packages/ui-web/src/resizable.d.ts +8 -0
- package/dist/packages/ui-web/src/resizable.test.d.ts +1 -0
- package/dist/packages/ui-web/src/scroll-area.d.ts +7 -0
- package/dist/packages/ui-web/src/scroll-area.test.d.ts +1 -0
- package/dist/packages/ui-web/src/scroll-to-top.d.ts +7 -0
- package/dist/packages/ui-web/src/scroll-to-top.test.d.ts +1 -0
- package/dist/packages/ui-web/src/search.d.ts +7 -0
- package/dist/packages/ui-web/src/search.test.d.ts +1 -0
- package/dist/packages/ui-web/src/select.d.ts +15 -0
- package/dist/packages/ui-web/src/select.test.d.ts +1 -0
- package/dist/packages/ui-web/src/separator.d.ts +6 -0
- package/dist/packages/ui-web/src/separator.test.d.ts +1 -0
- package/dist/packages/ui-web/src/setupTests.d.ts +0 -0
- package/dist/packages/ui-web/src/sheet.d.ts +28 -0
- package/dist/packages/ui-web/src/sheet.test.d.ts +1 -0
- package/dist/packages/ui-web/src/skeleton.d.ts +5 -0
- package/dist/packages/ui-web/src/skeleton.test.d.ts +1 -0
- package/dist/packages/ui-web/src/slider.d.ts +6 -0
- package/dist/packages/ui-web/src/slider.test.d.ts +1 -0
- package/dist/packages/ui-web/src/sonner.d.ts +7 -0
- package/dist/packages/ui-web/src/sonner.test.d.ts +1 -0
- package/dist/packages/ui-web/src/support-fab.d.ts +15 -0
- package/dist/packages/ui-web/src/support-fab.test.d.ts +1 -0
- package/dist/packages/ui-web/src/switch.d.ts +6 -0
- package/dist/packages/ui-web/src/switch.test.d.ts +1 -0
- package/dist/packages/ui-web/src/table-of-contents.d.ts +23 -0
- package/dist/packages/ui-web/src/table-of-contents.test.d.ts +1 -0
- package/dist/packages/ui-web/src/table.d.ts +12 -0
- package/dist/packages/ui-web/src/table.test.d.ts +1 -0
- package/dist/packages/ui-web/src/tabs.d.ts +9 -0
- package/dist/packages/ui-web/src/tabs.test.d.ts +1 -0
- package/dist/packages/ui-web/src/text.d.ts +12 -0
- package/dist/packages/ui-web/src/text.test.d.ts +1 -0
- package/dist/packages/ui-web/src/textarea.d.ts +6 -0
- package/dist/packages/ui-web/src/textarea.test.d.ts +1 -0
- package/dist/packages/ui-web/src/theme-provider.d.ts +4 -0
- package/dist/packages/ui-web/src/theme-toggle.d.ts +3 -0
- package/dist/packages/ui-web/src/theme-toggle.test.d.ts +1 -0
- package/dist/packages/ui-web/src/toast.d.ts +16 -0
- package/dist/packages/ui-web/src/toast.test.d.ts +1 -0
- package/dist/packages/ui-web/src/toaster.d.ts +2 -0
- package/dist/packages/ui-web/src/toggle-group.d.ts +13 -0
- package/dist/packages/ui-web/src/toggle-group.test.d.ts +1 -0
- package/dist/packages/ui-web/src/toggle.d.ts +8 -0
- package/dist/packages/ui-web/src/toggle.test.d.ts +1 -0
- package/dist/packages/ui-web/src/tooltip.d.ts +12 -0
- package/dist/pagination.cjs +2 -2
- package/dist/pagination.cjs.map +1 -1
- package/dist/pagination.d.ts +2 -94
- package/dist/pagination.mjs +63 -67
- package/dist/pagination.mjs.map +1 -1
- package/dist/popover.cjs +2 -2
- package/dist/popover.cjs.map +1 -1
- package/dist/popover.d.ts +2 -39
- package/dist/popover.mjs +17 -24
- package/dist/popover.mjs.map +1 -1
- package/dist/progress.cjs +2 -2
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.d.ts +2 -11
- package/dist/progress.mjs +19 -23
- package/dist/progress.mjs.map +1 -1
- package/dist/radio-group.cjs +2 -2
- package/dist/radio-group.cjs.map +1 -1
- package/dist/radio-group.d.ts +2 -25
- package/dist/radio-group.mjs +25 -27
- package/dist/radio-group.mjs.map +1 -1
- package/dist/resizable.cjs +2 -2
- package/dist/resizable.cjs.map +1 -1
- package/dist/resizable.d.ts +2 -53
- package/dist/resizable.mjs +21 -34
- package/dist/resizable.mjs.map +1 -1
- package/dist/rolldown-runtime-C0IHAABJ.mjs +23 -0
- package/dist/rolldown-runtime-CacfPODE.js +1 -0
- package/dist/scroll-area.cjs +2 -2
- package/dist/scroll-area.cjs.map +1 -1
- package/dist/scroll-area.d.ts +2 -22
- package/dist/scroll-area.mjs +31 -30
- package/dist/scroll-area.mjs.map +1 -1
- package/dist/scroll-to-top.cjs +2 -2
- package/dist/scroll-to-top.cjs.map +1 -1
- package/dist/scroll-to-top.d.ts +2 -37
- package/dist/scroll-to-top.mjs +72 -84
- package/dist/scroll-to-top.mjs.map +1 -1
- package/dist/search.cjs +2 -2
- package/dist/search.cjs.map +1 -1
- package/dist/search.d.ts +2 -26
- package/dist/search.mjs +54 -63
- package/dist/search.mjs.map +1 -1
- package/dist/select.cjs +2 -2
- package/dist/select.cjs.map +1 -1
- package/dist/select.d.ts +2 -87
- package/dist/select.mjs +70 -100
- package/dist/select.mjs.map +1 -1
- package/dist/separator.cjs +2 -2
- package/dist/separator.cjs.map +1 -1
- package/dist/separator.d.ts +2 -12
- package/dist/separator.mjs +17 -18
- package/dist/separator.mjs.map +1 -1
- package/dist/sheet.cjs +2 -2
- package/dist/sheet.cjs.map +1 -1
- package/dist/sheet.d.ts +2 -97
- package/dist/sheet.mjs +58 -64
- package/dist/sheet.mjs.map +1 -1
- package/dist/skeleton.cjs +2 -2
- package/dist/skeleton.cjs.map +1 -1
- package/dist/skeleton.d.ts +2 -11
- package/dist/skeleton.mjs +15 -8
- package/dist/skeleton.mjs.map +1 -1
- package/dist/slider.cjs +2 -2
- package/dist/slider.cjs.map +1 -1
- package/dist/slider.d.ts +2 -22
- package/dist/slider.mjs +19 -20
- package/dist/slider.mjs.map +1 -1
- package/dist/sonner.cjs +2 -2
- package/dist/sonner.cjs.map +1 -1
- package/dist/sonner.d.ts +2 -25
- package/dist/sonner.mjs +22 -24
- package/dist/sonner.mjs.map +1 -1
- package/dist/src/index.d.ts +2 -0
- package/dist/src/setupTests.d.ts +0 -0
- package/dist/src-B8AA-nU4.js +2 -0
- package/dist/src-B8AA-nU4.js.map +1 -0
- package/dist/src-C65A5RuY.mjs +23 -0
- package/dist/src-C65A5RuY.mjs.map +1 -0
- package/dist/support-fab.cjs +2 -2
- package/dist/support-fab.cjs.map +1 -1
- package/dist/support-fab.d.ts +2 -20
- package/dist/support-fab.mjs +82 -117
- package/dist/support-fab.mjs.map +1 -1
- package/dist/switch.cjs +2 -2
- package/dist/switch.cjs.map +1 -1
- package/dist/switch.d.ts +2 -18
- package/dist/switch.mjs +16 -27
- package/dist/switch.mjs.map +1 -1
- package/dist/table-of-contents.cjs +2 -2
- package/dist/table-of-contents.cjs.map +1 -1
- package/dist/table-of-contents.d.ts +2 -68
- package/dist/table-of-contents.mjs +161 -156
- package/dist/table-of-contents.mjs.map +1 -1
- package/dist/table.cjs +2 -2
- package/dist/table.cjs.map +1 -1
- package/dist/table.d.ts +2 -59
- package/dist/table.mjs +60 -58
- package/dist/table.mjs.map +1 -1
- package/dist/tabs.cjs +2 -2
- package/dist/tabs.cjs.map +1 -1
- package/dist/tabs.d.ts +2 -42
- package/dist/tabs.mjs +27 -46
- package/dist/tabs.mjs.map +1 -1
- package/dist/text.cjs +2 -2
- package/dist/text.cjs.map +1 -1
- package/dist/text.d.ts +2 -21
- package/dist/text.mjs +42 -42
- package/dist/text.mjs.map +1 -1
- package/dist/textarea.cjs +2 -2
- package/dist/textarea.cjs.map +1 -1
- package/dist/textarea.d.ts +2 -16
- package/dist/textarea.mjs +14 -18
- package/dist/textarea.mjs.map +1 -1
- package/dist/theme-provider.cjs +2 -2
- package/dist/theme-provider.cjs.map +1 -1
- package/dist/theme-provider.d.ts +2 -22
- package/dist/theme-provider.mjs +17 -8
- package/dist/theme-provider.mjs.map +1 -1
- package/dist/theme-toggle-B8UiizQB.js +2 -0
- package/dist/theme-toggle-B8UiizQB.js.map +1 -0
- package/dist/theme-toggle-DoAVRoyO.mjs +321 -0
- package/dist/theme-toggle-DoAVRoyO.mjs.map +1 -0
- package/dist/theme-toggle.cjs +1 -2
- package/dist/theme-toggle.d.ts +2 -23
- package/dist/theme-toggle.mjs +3 -9
- package/dist/toast.cjs +2 -2
- package/dist/toast.cjs.map +1 -1
- package/dist/toast.d.ts +2 -26
- package/dist/toast.mjs +53 -70
- package/dist/toast.mjs.map +1 -1
- package/dist/toaster-BgZxvlTL.mjs +128 -0
- package/dist/toaster-BgZxvlTL.mjs.map +1 -0
- package/dist/toaster-DnZKPR-G.js +2 -0
- package/dist/toaster-DnZKPR-G.js.map +1 -0
- package/dist/toaster.cjs +1 -2
- package/dist/toaster.d.ts +2 -9
- package/dist/toaster.mjs +3 -7
- package/dist/toggle-group.cjs +2 -2
- package/dist/toggle-group.cjs.map +1 -1
- package/dist/toggle-group.d.ts +2 -22
- package/dist/toggle-group.mjs +39 -37
- package/dist/toggle-group.mjs.map +1 -1
- package/dist/toggle.cjs +2 -2
- package/dist/toggle.cjs.map +1 -1
- package/dist/toggle.d.ts +2 -43
- package/dist/toggle.mjs +19 -12
- package/dist/toggle.mjs.map +1 -1
- package/dist/tooltip.cjs +2 -2
- package/dist/tooltip.cjs.map +1 -1
- package/dist/tooltip.d.ts +2 -48
- package/dist/tooltip.mjs +25 -29
- package/dist/tooltip.mjs.map +1 -1
- package/dist/utils-BtI8Nf6i.mjs +12 -0
- package/dist/utils-BtI8Nf6i.mjs.map +1 -0
- package/dist/utils-CbSX47LV.js +2 -0
- package/dist/utils-CbSX47LV.js.map +1 -0
- package/dist/vendor-Cr0eKZrm.mjs +28603 -0
- package/dist/vendor-Cr0eKZrm.mjs.map +1 -0
- package/dist/vendor-D3ZzLf8D.js +92 -0
- package/dist/vendor-D3ZzLf8D.js.map +1 -0
- package/package.json +32 -32
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/theme-toggle-BNtYv2Jv.mjs +0 -177
- package/dist/theme-toggle-BNtYv2Jv.mjs.map +0 -1
- package/dist/theme-toggle-DK_OhDRf.js +0 -2
- package/dist/theme-toggle-DK_OhDRf.js.map +0 -1
- package/dist/theme-toggle.cjs.map +0 -1
- package/dist/theme-toggle.mjs.map +0 -1
- package/dist/toaster-Cj_SryBI.mjs +0 -119
- package/dist/toaster-Cj_SryBI.mjs.map +0 -1
- package/dist/toaster-Q_hzVonm.js +0 -2
- package/dist/toaster-Q_hzVonm.js.map +0 -1
- package/dist/toaster.cjs.map +0 -1
- package/dist/toaster.mjs.map +0 -1
- package/dist/toggle-DPMTgo47.mjs +0 -25
- package/dist/toggle-DPMTgo47.mjs.map +0 -1
- package/dist/toggle-_F_yB_Dj.js +0 -2
- package/dist/toggle-_F_yB_Dj.js.map +0 -1
- package/dist/utils-Bgpn0CK0.mjs +0 -12
- package/dist/utils-Bgpn0CK0.mjs.map +0 -1
- package/dist/utils-CBWPs0D7.js +0 -2
- package/dist/utils-CBWPs0D7.js.map +0 -1
- package/dist/vendor-BQwS7aJt.mjs +0 -25217
- package/dist/vendor-BQwS7aJt.mjs.map +0 -1
- package/dist/vendor-B_07FHqh.js +0 -68
- package/dist/vendor-B_07FHqh.js.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,431 +1,57 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { AlertDialog as
|
|
8
|
-
import { AspectRatio as
|
|
9
|
-
import { Avatar as
|
|
10
|
-
import { Badge as
|
|
11
|
-
import { Breadcrumb as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { Command as
|
|
20
|
-
import { ContextMenu as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { Form as
|
|
25
|
-
import { HoverCard as
|
|
26
|
-
import { Input as
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
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 { Toggle as
|
|
51
|
-
import { ToggleGroup as
|
|
52
|
-
import { Tooltip as
|
|
53
|
-
import { Toast as
|
|
54
|
-
import { ThemeProvider as
|
|
55
|
-
import {
|
|
56
|
-
import { TableOfContents as
|
|
57
|
-
|
|
58
|
-
const t = {
|
|
59
|
-
px: "1px",
|
|
60
|
-
0: "0",
|
|
61
|
-
0.5: "0.125rem",
|
|
62
|
-
// 2px
|
|
63
|
-
1: "0.25rem",
|
|
64
|
-
// 4px
|
|
65
|
-
1.5: "0.375rem",
|
|
66
|
-
// 6px
|
|
67
|
-
2: "0.5rem",
|
|
68
|
-
// 8px
|
|
69
|
-
2.5: "0.625rem",
|
|
70
|
-
// 10px
|
|
71
|
-
3: "0.75rem",
|
|
72
|
-
// 12px
|
|
73
|
-
3.5: "0.875rem",
|
|
74
|
-
// 14px
|
|
75
|
-
4: "1rem",
|
|
76
|
-
// 16px
|
|
77
|
-
5: "1.25rem",
|
|
78
|
-
// 20px
|
|
79
|
-
6: "1.5rem",
|
|
80
|
-
// 24px
|
|
81
|
-
7: "1.75rem",
|
|
82
|
-
// 28px
|
|
83
|
-
8: "2rem",
|
|
84
|
-
// 32px
|
|
85
|
-
9: "2.25rem",
|
|
86
|
-
// 36px
|
|
87
|
-
10: "2.5rem",
|
|
88
|
-
// 40px
|
|
89
|
-
12: "3rem",
|
|
90
|
-
// 48px
|
|
91
|
-
14: "3.5rem",
|
|
92
|
-
// 56px
|
|
93
|
-
16: "4rem",
|
|
94
|
-
// 64px
|
|
95
|
-
20: "5rem",
|
|
96
|
-
// 80px
|
|
97
|
-
24: "6rem",
|
|
98
|
-
// 96px
|
|
99
|
-
32: "8rem",
|
|
100
|
-
// 128px
|
|
101
|
-
40: "10rem",
|
|
102
|
-
// 160px
|
|
103
|
-
48: "12rem",
|
|
104
|
-
// 192px
|
|
105
|
-
56: "14rem",
|
|
106
|
-
// 224px
|
|
107
|
-
64: "16rem"
|
|
108
|
-
// 256px
|
|
109
|
-
}, a = {
|
|
110
|
-
none: "0",
|
|
111
|
-
sm: "calc(var(--radius) - 4px)",
|
|
112
|
-
md: "calc(var(--radius) - 2px)",
|
|
113
|
-
lg: "var(--radius)",
|
|
114
|
-
xl: "calc(var(--radius) + 4px)",
|
|
115
|
-
"2xl": "calc(var(--radius) + 8px)",
|
|
116
|
-
full: "9999px"
|
|
117
|
-
}, n = {
|
|
118
|
-
none: 0,
|
|
119
|
-
sm: 4,
|
|
120
|
-
// 8 - 4
|
|
121
|
-
md: 6,
|
|
122
|
-
// 8 - 2
|
|
123
|
-
lg: 8,
|
|
124
|
-
// base
|
|
125
|
-
xl: 12,
|
|
126
|
-
// 8 + 4
|
|
127
|
-
"2xl": 16,
|
|
128
|
-
// 8 + 8
|
|
129
|
-
full: 9999
|
|
130
|
-
}, i = {
|
|
131
|
-
fontFamily: {
|
|
132
|
-
sans: 'Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
133
|
-
mono: 'ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace'
|
|
134
|
-
},
|
|
135
|
-
fontSize: {
|
|
136
|
-
xs: "0.75rem",
|
|
137
|
-
// 12px
|
|
138
|
-
sm: "0.875rem",
|
|
139
|
-
// 14px
|
|
140
|
-
base: "1rem",
|
|
141
|
-
// 16px
|
|
142
|
-
lg: "1.125rem",
|
|
143
|
-
// 18px
|
|
144
|
-
xl: "1.25rem",
|
|
145
|
-
// 20px
|
|
146
|
-
"2xl": "1.5rem",
|
|
147
|
-
// 24px
|
|
148
|
-
"3xl": "1.875rem",
|
|
149
|
-
// 30px
|
|
150
|
-
"4xl": "2.25rem",
|
|
151
|
-
// 36px
|
|
152
|
-
"5xl": "3rem"
|
|
153
|
-
// 48px
|
|
154
|
-
},
|
|
155
|
-
fontWeight: {
|
|
156
|
-
normal: "400",
|
|
157
|
-
medium: "500",
|
|
158
|
-
semibold: "600",
|
|
159
|
-
bold: "700"
|
|
160
|
-
},
|
|
161
|
-
lineHeight: {
|
|
162
|
-
none: "1",
|
|
163
|
-
tight: "1.25",
|
|
164
|
-
snug: "1.375",
|
|
165
|
-
normal: "1.5",
|
|
166
|
-
relaxed: "1.625",
|
|
167
|
-
loose: "2"
|
|
168
|
-
}
|
|
169
|
-
}, l = {
|
|
170
|
-
none: "none",
|
|
171
|
-
sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
|
|
172
|
-
default: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
|
|
173
|
-
md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
|
|
174
|
-
lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
|
|
175
|
-
xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
|
|
176
|
-
"2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
|
|
177
|
-
inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)"
|
|
178
|
-
}, p = {
|
|
179
|
-
palette: r,
|
|
180
|
-
theme: e
|
|
181
|
-
};
|
|
182
|
-
export {
|
|
183
|
-
b as Accordion,
|
|
184
|
-
c as AccordionContent,
|
|
185
|
-
T as AccordionItem,
|
|
186
|
-
f as AccordionTrigger,
|
|
187
|
-
S as Alert,
|
|
188
|
-
D as AlertDescription,
|
|
189
|
-
w as AlertDialog,
|
|
190
|
-
A as AlertDialogAction,
|
|
191
|
-
P as AlertDialogCancel,
|
|
192
|
-
I as AlertDialogContent,
|
|
193
|
-
F as AlertDialogDescription,
|
|
194
|
-
L as AlertDialogFooter,
|
|
195
|
-
y as AlertDialogHeader,
|
|
196
|
-
B as AlertDialogOverlay,
|
|
197
|
-
R as AlertDialogPortal,
|
|
198
|
-
G as AlertDialogTitle,
|
|
199
|
-
H as AlertDialogTrigger,
|
|
200
|
-
h as AlertTitle,
|
|
201
|
-
k as AspectRatio,
|
|
202
|
-
O as Avatar,
|
|
203
|
-
z as AvatarFallback,
|
|
204
|
-
E as AvatarImage,
|
|
205
|
-
W as Badge,
|
|
206
|
-
J as Breadcrumb,
|
|
207
|
-
K as BreadcrumbEllipsis,
|
|
208
|
-
Q as BreadcrumbItem,
|
|
209
|
-
X as BreadcrumbLink,
|
|
210
|
-
Y as BreadcrumbList,
|
|
211
|
-
Z as BreadcrumbPage,
|
|
212
|
-
_ as BreadcrumbSeparator,
|
|
213
|
-
ee as Button,
|
|
214
|
-
te as Calendar,
|
|
215
|
-
ae as CalendarDayButton,
|
|
216
|
-
ie as Card,
|
|
217
|
-
le as CardContent,
|
|
218
|
-
pe as CardDescription,
|
|
219
|
-
me as CardFooter,
|
|
220
|
-
xe as CardHeader,
|
|
221
|
-
ue as CardTitle,
|
|
222
|
-
se as Carousel,
|
|
223
|
-
de as CarouselContent,
|
|
224
|
-
Ce as CarouselItem,
|
|
225
|
-
be as CarouselNext,
|
|
226
|
-
ce as CarouselPrevious,
|
|
227
|
-
fe as ChartContainer,
|
|
228
|
-
Me as ChartLegend,
|
|
229
|
-
Se as ChartLegendContent,
|
|
230
|
-
De as ChartStyle,
|
|
231
|
-
he as ChartTooltip,
|
|
232
|
-
ve as ChartTooltipContent,
|
|
233
|
-
Ae as Checkbox,
|
|
234
|
-
Ie as Collapsible,
|
|
235
|
-
Fe as CollapsibleContent,
|
|
236
|
-
Le as CollapsibleTrigger,
|
|
237
|
-
Be as Command,
|
|
238
|
-
Re as CommandDialog,
|
|
239
|
-
Ge as CommandEmpty,
|
|
240
|
-
He as CommandGroup,
|
|
241
|
-
Ne as CommandInput,
|
|
242
|
-
ke as CommandItem,
|
|
243
|
-
Ve as CommandList,
|
|
244
|
-
Oe as CommandSeparator,
|
|
245
|
-
ze as CommandShortcut,
|
|
246
|
-
Ue as ContextMenu,
|
|
247
|
-
We as ContextMenuCheckboxItem,
|
|
248
|
-
je as ContextMenuContent,
|
|
249
|
-
qe as ContextMenuGroup,
|
|
250
|
-
Je as ContextMenuItem,
|
|
251
|
-
Ke as ContextMenuLabel,
|
|
252
|
-
Qe as ContextMenuPortal,
|
|
253
|
-
Xe as ContextMenuRadioGroup,
|
|
254
|
-
Ye as ContextMenuRadioItem,
|
|
255
|
-
Ze as ContextMenuSeparator,
|
|
256
|
-
_e as ContextMenuShortcut,
|
|
257
|
-
$e as ContextMenuSub,
|
|
258
|
-
er as ContextMenuSubContent,
|
|
259
|
-
rr as ContextMenuSubTrigger,
|
|
260
|
-
or as ContextMenuTrigger,
|
|
261
|
-
ar as Dialog,
|
|
262
|
-
nr as DialogClose,
|
|
263
|
-
ir as DialogContent,
|
|
264
|
-
lr as DialogDescription,
|
|
265
|
-
pr as DialogFooter,
|
|
266
|
-
mr as DialogHeader,
|
|
267
|
-
xr as DialogOverlay,
|
|
268
|
-
ur as DialogPortal,
|
|
269
|
-
gr as DialogTitle,
|
|
270
|
-
sr as DialogTrigger,
|
|
271
|
-
Cr as Drawer,
|
|
272
|
-
br as DrawerClose,
|
|
273
|
-
cr as DrawerContent,
|
|
274
|
-
Tr as DrawerDescription,
|
|
275
|
-
fr as DrawerFooter,
|
|
276
|
-
Mr as DrawerHeader,
|
|
277
|
-
Sr as DrawerOverlay,
|
|
278
|
-
Dr as DrawerPortal,
|
|
279
|
-
hr as DrawerTitle,
|
|
280
|
-
vr as DrawerTrigger,
|
|
281
|
-
Ar as DropdownMenu,
|
|
282
|
-
Pr as DropdownMenuCheckboxItem,
|
|
283
|
-
Ir as DropdownMenuContent,
|
|
284
|
-
Fr as DropdownMenuGroup,
|
|
285
|
-
Lr as DropdownMenuItem,
|
|
286
|
-
yr as DropdownMenuLabel,
|
|
287
|
-
Br as DropdownMenuPortal,
|
|
288
|
-
Rr as DropdownMenuRadioGroup,
|
|
289
|
-
Gr as DropdownMenuRadioItem,
|
|
290
|
-
Hr as DropdownMenuSeparator,
|
|
291
|
-
Nr as DropdownMenuShortcut,
|
|
292
|
-
kr as DropdownMenuSub,
|
|
293
|
-
Vr as DropdownMenuSubContent,
|
|
294
|
-
Or as DropdownMenuSubTrigger,
|
|
295
|
-
zr as DropdownMenuTrigger,
|
|
296
|
-
Ur as Form,
|
|
297
|
-
Wr as FormControl,
|
|
298
|
-
jr as FormDescription,
|
|
299
|
-
qr as FormField,
|
|
300
|
-
Jr as FormItem,
|
|
301
|
-
Kr as FormLabel,
|
|
302
|
-
Qr as FormMessage,
|
|
303
|
-
Zr as HoverCard,
|
|
304
|
-
_r as HoverCardContent,
|
|
305
|
-
$r as HoverCardTrigger,
|
|
306
|
-
ro as Input,
|
|
307
|
-
to as Label,
|
|
308
|
-
no as Menubar,
|
|
309
|
-
io as MenubarCheckboxItem,
|
|
310
|
-
lo as MenubarContent,
|
|
311
|
-
po as MenubarGroup,
|
|
312
|
-
mo as MenubarItem,
|
|
313
|
-
xo as MenubarLabel,
|
|
314
|
-
uo as MenubarMenu,
|
|
315
|
-
go as MenubarPortal,
|
|
316
|
-
so as MenubarRadioGroup,
|
|
317
|
-
Co as MenubarRadioItem,
|
|
318
|
-
bo as MenubarSeparator,
|
|
319
|
-
co as MenubarShortcut,
|
|
320
|
-
To as MenubarSub,
|
|
321
|
-
fo as MenubarSubContent,
|
|
322
|
-
Mo as MenubarSubTrigger,
|
|
323
|
-
So as MenubarTrigger,
|
|
324
|
-
ho as NavigationMenu,
|
|
325
|
-
vo as NavigationMenuContent,
|
|
326
|
-
wo as NavigationMenuIndicator,
|
|
327
|
-
Ao as NavigationMenuItem,
|
|
328
|
-
Po as NavigationMenuLink,
|
|
329
|
-
Io as NavigationMenuList,
|
|
330
|
-
Fo as NavigationMenuTrigger,
|
|
331
|
-
Lo as NavigationMenuViewport,
|
|
332
|
-
Ro as Pagination,
|
|
333
|
-
Go as PaginationContent,
|
|
334
|
-
Ho as PaginationEllipsis,
|
|
335
|
-
No as PaginationItem,
|
|
336
|
-
ko as PaginationLink,
|
|
337
|
-
Vo as PaginationNext,
|
|
338
|
-
Oo as PaginationPrevious,
|
|
339
|
-
Eo as Popover,
|
|
340
|
-
Uo as PopoverAnchor,
|
|
341
|
-
Wo as PopoverContent,
|
|
342
|
-
jo as PopoverTrigger,
|
|
343
|
-
Jo as Progress,
|
|
344
|
-
Qo as RadioGroup,
|
|
345
|
-
Xo as RadioGroupItem,
|
|
346
|
-
Zo as ResizableHandle,
|
|
347
|
-
_o as ResizablePanel,
|
|
348
|
-
$o as ResizablePanelGroup,
|
|
349
|
-
rt as ScrollArea,
|
|
350
|
-
ot as ScrollBar,
|
|
351
|
-
at as ScrollToTop,
|
|
352
|
-
pt as Search,
|
|
353
|
-
mt as SearchTrigger,
|
|
354
|
-
ut as Select,
|
|
355
|
-
gt as SelectContent,
|
|
356
|
-
st as SelectGroup,
|
|
357
|
-
dt as SelectItem,
|
|
358
|
-
Ct as SelectLabel,
|
|
359
|
-
bt as SelectScrollDownButton,
|
|
360
|
-
ct as SelectScrollUpButton,
|
|
361
|
-
Tt as SelectSeparator,
|
|
362
|
-
ft as SelectTrigger,
|
|
363
|
-
Mt as SelectValue,
|
|
364
|
-
Dt as Separator,
|
|
365
|
-
vt as Sheet,
|
|
366
|
-
wt as SheetClose,
|
|
367
|
-
At as SheetContent,
|
|
368
|
-
Pt as SheetDescription,
|
|
369
|
-
It as SheetFooter,
|
|
370
|
-
Ft as SheetHeader,
|
|
371
|
-
Lt as SheetOverlay,
|
|
372
|
-
yt as SheetPortal,
|
|
373
|
-
Bt as SheetTitle,
|
|
374
|
-
Rt as SheetTrigger,
|
|
375
|
-
Ht as Skeleton,
|
|
376
|
-
kt as Slider,
|
|
377
|
-
Ot as SonnerToaster,
|
|
378
|
-
it as SupportFab,
|
|
379
|
-
Et as Switch,
|
|
380
|
-
Wt as Table,
|
|
381
|
-
jt as TableBody,
|
|
382
|
-
qt as TableCaption,
|
|
383
|
-
Jt as TableCell,
|
|
384
|
-
Kt as TableFooter,
|
|
385
|
-
Qt as TableHead,
|
|
386
|
-
Xt as TableHeader,
|
|
387
|
-
Ba as TableOfContents,
|
|
388
|
-
Yt as TableRow,
|
|
389
|
-
_t as Tabs,
|
|
390
|
-
$t as TabsContent,
|
|
391
|
-
ea as TabsList,
|
|
392
|
-
ra as TabsTrigger,
|
|
393
|
-
ta as Text,
|
|
394
|
-
ia as Textarea,
|
|
395
|
-
Aa as ThemeProvider,
|
|
396
|
-
u as ThemeToggle,
|
|
397
|
-
Ta as Toast,
|
|
398
|
-
fa as ToastAction,
|
|
399
|
-
Ma as ToastClose,
|
|
400
|
-
Sa as ToastDescription,
|
|
401
|
-
Da as ToastProvider,
|
|
402
|
-
ha as ToastTitle,
|
|
403
|
-
va as ToastViewport,
|
|
404
|
-
Ia as Toaster,
|
|
405
|
-
pa as Toggle,
|
|
406
|
-
xa as ToggleGroup,
|
|
407
|
-
ua as ToggleGroupItem,
|
|
408
|
-
sa as Tooltip,
|
|
409
|
-
da as TooltipContent,
|
|
410
|
-
Ca as TooltipProvider,
|
|
411
|
-
ba as TooltipTrigger,
|
|
412
|
-
j as badgeVariants,
|
|
413
|
-
re as buttonVariants,
|
|
414
|
-
d as cn,
|
|
415
|
-
yo as navigationMenuTriggerStyle,
|
|
416
|
-
r as palette,
|
|
417
|
-
a as radii,
|
|
418
|
-
n as radiiNumeric,
|
|
419
|
-
l as shadows,
|
|
420
|
-
t as spacing,
|
|
421
|
-
aa as textVariants,
|
|
422
|
-
e as theme,
|
|
423
|
-
Fa as toast,
|
|
424
|
-
Ga as toggleVariants,
|
|
425
|
-
p as tokens,
|
|
426
|
-
i as typography,
|
|
427
|
-
Xr as useFormField,
|
|
428
|
-
g as useTheme,
|
|
429
|
-
La as useToast
|
|
430
|
-
};
|
|
431
|
-
//# sourceMappingURL=index.mjs.map
|
|
2
|
+
import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./theme-toggle-DoAVRoyO.mjs";
|
|
3
|
+
import { t as d } from "./utils-BtI8Nf6i.mjs";
|
|
4
|
+
import { Accordion as f, AccordionContent as p, AccordionItem as m, AccordionTrigger as h } from "./accordion.mjs";
|
|
5
|
+
import { Alert as g, AlertDescription as _, AlertTitle as v } from "./alert.mjs";
|
|
6
|
+
import { Button as y, buttonVariants as b } from "./button.mjs";
|
|
7
|
+
import { AlertDialog as x, AlertDialogAction as S, AlertDialogCancel as C, AlertDialogContent as w, AlertDialogDescription as T, AlertDialogFooter as E, AlertDialogHeader as D, AlertDialogOverlay as O, AlertDialogPortal as k, AlertDialogTitle as A, AlertDialogTrigger as j } from "./alert-dialog.mjs";
|
|
8
|
+
import { AspectRatio as M } from "./aspect-ratio.mjs";
|
|
9
|
+
import { Avatar as N, AvatarFallback as P, AvatarImage as F } from "./avatar.mjs";
|
|
10
|
+
import { Badge as I, badgeVariants as L } from "./badge.mjs";
|
|
11
|
+
import { Breadcrumb as R, BreadcrumbEllipsis as z, BreadcrumbItem as B, BreadcrumbLink as V, BreadcrumbList as H, BreadcrumbPage as U, BreadcrumbSeparator as W } from "./breadcrumb.mjs";
|
|
12
|
+
import { Calendar as G, CalendarDayButton as K } from "./calendar.mjs";
|
|
13
|
+
import { Card as q, CardContent as J, CardDescription as Y, CardFooter as X, CardHeader as Z, CardTitle as Q } from "./card.mjs";
|
|
14
|
+
import { Carousel as $, CarouselContent as ee, CarouselItem as te, CarouselNext as ne, CarouselPrevious as re } from "./carousel.mjs";
|
|
15
|
+
import { ChartContainer as ie, ChartLegend as ae, ChartLegendContent as oe, ChartStyle as se, ChartTooltip as ce, ChartTooltipContent as le } from "./chart.mjs";
|
|
16
|
+
import { Checkbox as ue } from "./checkbox.mjs";
|
|
17
|
+
import { Collapsible as de, CollapsibleContent as fe, CollapsibleTrigger as pe } from "./collapsible.mjs";
|
|
18
|
+
import { Dialog as me, DialogClose as he, DialogContent as ge, DialogDescription as _e, DialogFooter as ve, DialogHeader as ye, DialogOverlay as be, DialogPortal as xe, DialogTitle as Se, DialogTrigger as Ce } from "./dialog.mjs";
|
|
19
|
+
import { Command as we, CommandDialog as Te, CommandEmpty as Ee, CommandGroup as De, CommandInput as Oe, CommandItem as ke, CommandList as Ae, CommandSeparator as je, CommandShortcut as Me } from "./command.mjs";
|
|
20
|
+
import { ContextMenu as Ne, ContextMenuCheckboxItem as Pe, ContextMenuContent as Fe, ContextMenuGroup as Ie, ContextMenuItem as Le, ContextMenuLabel as Re, ContextMenuPortal as ze, ContextMenuRadioGroup as Be, ContextMenuRadioItem as Ve, ContextMenuSeparator as He, ContextMenuShortcut as Ue, ContextMenuSub as We, ContextMenuSubContent as Ge, ContextMenuSubTrigger as Ke, ContextMenuTrigger as qe } from "./context-menu.mjs";
|
|
21
|
+
import { Drawer as Je, DrawerClose as Ye, DrawerContent as Xe, DrawerDescription as Ze, DrawerFooter as Qe, DrawerHeader as $e, DrawerOverlay as et, DrawerPortal as tt, DrawerTitle as nt, DrawerTrigger as rt } from "./drawer.mjs";
|
|
22
|
+
import { DropdownMenu as it, DropdownMenuCheckboxItem as at, DropdownMenuContent as ot, DropdownMenuGroup as st, DropdownMenuItem as ct, DropdownMenuLabel as lt, DropdownMenuPortal as ut, DropdownMenuRadioGroup as dt, DropdownMenuRadioItem as ft, DropdownMenuSeparator as pt, DropdownMenuShortcut as mt, DropdownMenuSub as ht, DropdownMenuSubContent as gt, DropdownMenuSubTrigger as _t, DropdownMenuTrigger as vt } from "./dropdown-menu.mjs";
|
|
23
|
+
import { Label as yt } from "./label.mjs";
|
|
24
|
+
import { Form as bt, FormControl as xt, FormDescription as St, FormField as Ct, FormItem as wt, FormLabel as Tt, FormMessage as Et, useFormField as Dt } from "./form.mjs";
|
|
25
|
+
import { HoverCard as Ot, HoverCardContent as kt, HoverCardTrigger as At } from "./hover-card.mjs";
|
|
26
|
+
import { Input as jt } from "./input.mjs";
|
|
27
|
+
import { Menubar as Mt, MenubarCheckboxItem as Nt, MenubarContent as Pt, MenubarGroup as Ft, MenubarItem as It, MenubarLabel as Lt, MenubarMenu as Rt, MenubarPortal as zt, MenubarRadioGroup as Bt, MenubarRadioItem as Vt, MenubarSeparator as Ht, MenubarShortcut as Ut, MenubarSub as Wt, MenubarSubContent as Gt, MenubarSubTrigger as Kt, MenubarTrigger as qt } from "./menubar.mjs";
|
|
28
|
+
import { NavigationMenu as Jt, NavigationMenuContent as Yt, NavigationMenuIndicator as Xt, NavigationMenuItem as Zt, NavigationMenuLink as Qt, NavigationMenuList as $t, NavigationMenuTrigger as en, NavigationMenuViewport as tn, navigationMenuTriggerStyle as nn } from "./navigation-menu.mjs";
|
|
29
|
+
import { Pagination as rn, PaginationContent as an, PaginationEllipsis as on, PaginationItem as sn, PaginationLink as cn, PaginationNext as ln, PaginationPrevious as un } from "./pagination.mjs";
|
|
30
|
+
import { Popover as dn, PopoverAnchor as fn, PopoverContent as pn, PopoverTrigger as mn } from "./popover.mjs";
|
|
31
|
+
import { Progress as hn } from "./progress.mjs";
|
|
32
|
+
import { RadioGroup as gn, RadioGroupItem as _n } from "./radio-group.mjs";
|
|
33
|
+
import { ResizableHandle as vn, ResizablePanel as yn, ResizablePanelGroup as bn } from "./resizable.mjs";
|
|
34
|
+
import { ScrollArea as xn, ScrollBar as Sn } from "./scroll-area.mjs";
|
|
35
|
+
import { ScrollToTop as Cn } from "./scroll-to-top.mjs";
|
|
36
|
+
import { SupportFab as wn } from "./support-fab.mjs";
|
|
37
|
+
import { Search as Tn, SearchTrigger as En } from "./search.mjs";
|
|
38
|
+
import { Select as Dn, SelectContent as On, SelectGroup as kn, SelectItem as An, SelectLabel as jn, SelectScrollDownButton as Mn, SelectScrollUpButton as Nn, SelectSeparator as Pn, SelectTrigger as Fn, SelectValue as In } from "./select.mjs";
|
|
39
|
+
import { Separator as Ln } from "./separator.mjs";
|
|
40
|
+
import { Sheet as Rn, SheetClose as zn, SheetContent as Bn, SheetDescription as Vn, SheetFooter as Hn, SheetHeader as Un, SheetOverlay as Wn, SheetPortal as Gn, SheetTitle as Kn, SheetTrigger as qn } from "./sheet.mjs";
|
|
41
|
+
import { Skeleton as Jn } from "./skeleton.mjs";
|
|
42
|
+
import { Slider as Yn } from "./slider.mjs";
|
|
43
|
+
import { Toaster as Xn } from "./sonner.mjs";
|
|
44
|
+
import { Switch as Zn } from "./switch.mjs";
|
|
45
|
+
import { Table as Qn, TableBody as $n, TableCaption as er, TableCell as tr, TableFooter as nr, TableHead as rr, TableHeader as ir, TableRow as ar } from "./table.mjs";
|
|
46
|
+
import { Tabs as or, TabsContent as sr, TabsList as cr, TabsTrigger as lr } from "./tabs.mjs";
|
|
47
|
+
import { Text as ur, textVariants as dr } from "./text.mjs";
|
|
48
|
+
import { Textarea as fr } from "./textarea.mjs";
|
|
49
|
+
import { t as pr } from "./src-C65A5RuY.mjs";
|
|
50
|
+
import { Toggle as mr } from "./toggle.mjs";
|
|
51
|
+
import { ToggleGroup as hr, ToggleGroupItem as gr } from "./toggle-group.mjs";
|
|
52
|
+
import { Tooltip as _r, TooltipContent as vr, TooltipProvider as yr, TooltipTrigger as br } from "./tooltip.mjs";
|
|
53
|
+
import { Toast as xr, ToastAction as Sr, ToastClose as Cr, ToastDescription as wr, ToastProvider as Tr, ToastTitle as Er, ToastViewport as Dr } from "./toast.mjs";
|
|
54
|
+
import { ThemeProvider as Or } from "./theme-provider.mjs";
|
|
55
|
+
import { n as kr, r as Ar, t as jr } from "./toaster-BgZxvlTL.mjs";
|
|
56
|
+
import { TableOfContents as Mr } from "./table-of-contents.mjs";
|
|
57
|
+
export { f as Accordion, p as AccordionContent, m as AccordionItem, h as AccordionTrigger, g as Alert, _ as AlertDescription, x as AlertDialog, S as AlertDialogAction, C as AlertDialogCancel, w as AlertDialogContent, T as AlertDialogDescription, E as AlertDialogFooter, D as AlertDialogHeader, O as AlertDialogOverlay, k as AlertDialogPortal, A as AlertDialogTitle, j as AlertDialogTrigger, v as AlertTitle, M as AspectRatio, N as Avatar, P as AvatarFallback, F as AvatarImage, I as Badge, R as Breadcrumb, z as BreadcrumbEllipsis, B as BreadcrumbItem, V as BreadcrumbLink, H as BreadcrumbList, U as BreadcrumbPage, W as BreadcrumbSeparator, y as Button, G as Calendar, K as CalendarDayButton, q as Card, J as CardContent, Y as CardDescription, X as CardFooter, Z as CardHeader, Q as CardTitle, $ as Carousel, ee as CarouselContent, te as CarouselItem, ne as CarouselNext, re as CarouselPrevious, ie as ChartContainer, ae as ChartLegend, oe as ChartLegendContent, se as ChartStyle, ce as ChartTooltip, le as ChartTooltipContent, ue as Checkbox, de as Collapsible, fe as CollapsibleContent, pe as CollapsibleTrigger, we as Command, Te as CommandDialog, Ee as CommandEmpty, De as CommandGroup, Oe as CommandInput, ke as CommandItem, Ae as CommandList, je as CommandSeparator, Me as CommandShortcut, Ne as ContextMenu, Pe as ContextMenuCheckboxItem, Fe as ContextMenuContent, Ie as ContextMenuGroup, Le as ContextMenuItem, Re as ContextMenuLabel, ze as ContextMenuPortal, Be as ContextMenuRadioGroup, Ve as ContextMenuRadioItem, He as ContextMenuSeparator, Ue as ContextMenuShortcut, We as ContextMenuSub, Ge as ContextMenuSubContent, Ke as ContextMenuSubTrigger, qe as ContextMenuTrigger, me as Dialog, he as DialogClose, ge as DialogContent, _e as DialogDescription, ve as DialogFooter, ye as DialogHeader, be as DialogOverlay, xe as DialogPortal, Se as DialogTitle, Ce as DialogTrigger, Je as Drawer, Ye as DrawerClose, Xe as DrawerContent, Ze as DrawerDescription, Qe as DrawerFooter, $e as DrawerHeader, et as DrawerOverlay, tt as DrawerPortal, nt as DrawerTitle, rt as DrawerTrigger, it as DropdownMenu, at as DropdownMenuCheckboxItem, ot as DropdownMenuContent, st as DropdownMenuGroup, ct as DropdownMenuItem, lt as DropdownMenuLabel, ut as DropdownMenuPortal, dt as DropdownMenuRadioGroup, ft as DropdownMenuRadioItem, pt as DropdownMenuSeparator, mt as DropdownMenuShortcut, ht as DropdownMenuSub, gt as DropdownMenuSubContent, _t as DropdownMenuSubTrigger, vt as DropdownMenuTrigger, bt as Form, xt as FormControl, St as FormDescription, Ct as FormField, wt as FormItem, Tt as FormLabel, Et as FormMessage, Ot as HoverCard, kt as HoverCardContent, At as HoverCardTrigger, jt as Input, yt as Label, Mt as Menubar, Nt as MenubarCheckboxItem, Pt as MenubarContent, Ft as MenubarGroup, It as MenubarItem, Lt as MenubarLabel, Rt as MenubarMenu, zt as MenubarPortal, Bt as MenubarRadioGroup, Vt as MenubarRadioItem, Ht as MenubarSeparator, Ut as MenubarShortcut, Wt as MenubarSub, Gt as MenubarSubContent, Kt as MenubarSubTrigger, qt as MenubarTrigger, Jt as NavigationMenu, Yt as NavigationMenuContent, Xt as NavigationMenuIndicator, Zt as NavigationMenuItem, Qt as NavigationMenuLink, $t as NavigationMenuList, en as NavigationMenuTrigger, tn as NavigationMenuViewport, rn as Pagination, an as PaginationContent, on as PaginationEllipsis, sn as PaginationItem, cn as PaginationLink, ln as PaginationNext, un as PaginationPrevious, dn as Popover, fn as PopoverAnchor, pn as PopoverContent, mn as PopoverTrigger, hn as Progress, gn as RadioGroup, _n as RadioGroupItem, vn as ResizableHandle, yn as ResizablePanel, bn as ResizablePanelGroup, xn as ScrollArea, Sn as ScrollBar, Cn as ScrollToTop, Tn as Search, En as SearchTrigger, Dn as Select, On as SelectContent, kn as SelectGroup, An as SelectItem, jn as SelectLabel, Mn as SelectScrollDownButton, Nn as SelectScrollUpButton, Pn as SelectSeparator, Fn as SelectTrigger, In as SelectValue, Ln as Separator, Rn as Sheet, zn as SheetClose, Bn as SheetContent, Vn as SheetDescription, Hn as SheetFooter, Un as SheetHeader, Wn as SheetOverlay, Gn as SheetPortal, Kn as SheetTitle, qn as SheetTrigger, Jn as Skeleton, Yn as Slider, Xn as SonnerToaster, wn as SupportFab, Zn as Switch, Qn as Table, $n as TableBody, er as TableCaption, tr as TableCell, nr as TableFooter, rr as TableHead, ir as TableHeader, Mr as TableOfContents, ar as TableRow, or as Tabs, sr as TabsContent, cr as TabsList, lr as TabsTrigger, ur as Text, fr as Textarea, Or as ThemeProvider, l as ThemeToggle, xr as Toast, Sr as ToastAction, Cr as ToastClose, wr as ToastDescription, Tr as ToastProvider, Er as ToastTitle, Dr as ToastViewport, jr as Toaster, mr as Toggle, hr as ToggleGroup, gr as ToggleGroupItem, _r as Tooltip, vr as TooltipContent, yr as TooltipProvider, br as TooltipTrigger, L as badgeVariants, b as buttonVariants, d as cn, nn as navigationMenuTriggerStyle, n as palette, r as preset, c as radii, t as radiiNumeric, e as shadows, i as spacing, dr as textVariants, u as theme, kr as toast, pr as toggleVariants, s as tokens, o as typography, Dt as useFormField, a as useTheme, Ar as useToast };
|
package/dist/input.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use
|
|
2
|
-
//# sourceMappingURL=input.cjs.map
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=r.forwardRef(({className:e,type:t,...r},a)=>(0,i.jsx)(`input`,{type:t,className:n.t(`border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm`,e),ref:a,...r}));a.displayName=`Input`,exports.Input=a;
|
|
2
|
+
//# sourceMappingURL=input.cjs.map
|
package/dist/input.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.cjs","sources":["../packages/ui-web/src/input.tsx"],"sourcesContent":["'use client';\nimport * as React from 'react';\n\nimport type { InputBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface InputProps extends React.ComponentProps<'input'>, InputBaseProps {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className,\n )}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = 'Input';\n\nexport { Input };\n"],"
|
|
1
|
+
{"version":3,"file":"input.cjs","names":[],"sources":["../packages/ui-web/src/input.tsx"],"sourcesContent":["'use client';\nimport * as React from 'react';\n\nimport type { InputBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface InputProps extends React.ComponentProps<'input'>, InputBaseProps {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className,\n )}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = 'Input';\n\nexport { Input };\n"],"mappings":"+PAQM,EAAQ,EAAM,YAA0C,CAAE,YAAW,OAAM,GAAG,GAAS,KAEzF,EAAA,EAAA,KAAC,QAAD,CACQ,OACN,UAAW,EAAA,EACT,0WACA,EACD,CACI,MACL,GAAI,EACJ,CAAA,CAEJ,CACF,EAAM,YAAc"}
|
package/dist/input.d.ts
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
export declare const Input: React_2.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React_2.RefAttributes<HTMLInputElement>>;
|
|
4
|
-
|
|
5
|
-
declare interface InputBaseProps {
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export declare interface InputProps extends React_2.ComponentProps<'input'>, InputBaseProps {
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { }
|
|
1
|
+
export * from './packages/ui-web/src/input'
|
|
2
|
+
export {}
|
package/dist/input.mjs
CHANGED
|
@@ -1,21 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export {
|
|
19
|
-
l as Input
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=input.mjs.map
|
|
2
|
+
"use client";
|
|
3
|
+
import { vr as e } from "./vendor-Cr0eKZrm.mjs";
|
|
4
|
+
import { t } from "./utils-BtI8Nf6i.mjs";
|
|
5
|
+
import * as n from "react";
|
|
6
|
+
//#region packages/ui-web/src/input.tsx
|
|
7
|
+
var r = e(), i = n.forwardRef(({ className: e, type: n, ...i }, a) => /* @__PURE__ */ (0, r.jsx)("input", {
|
|
8
|
+
type: n,
|
|
9
|
+
className: t("border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", e),
|
|
10
|
+
ref: a,
|
|
11
|
+
...i
|
|
12
|
+
}));
|
|
13
|
+
i.displayName = "Input";
|
|
14
|
+
//#endregion
|
|
15
|
+
export { i as Input };
|
|
16
|
+
|
|
17
|
+
//# sourceMappingURL=input.mjs.map
|
package/dist/input.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.mjs","sources":["../packages/ui-web/src/input.tsx"],"sourcesContent":["'use client';\nimport * as React from 'react';\n\nimport type { InputBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface InputProps extends React.ComponentProps<'input'>, InputBaseProps {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className,\n )}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = 'Input';\n\nexport { Input };\n"],"
|
|
1
|
+
{"version":3,"file":"input.mjs","names":[],"sources":["../packages/ui-web/src/input.tsx"],"sourcesContent":["'use client';\nimport * as React from 'react';\n\nimport type { InputBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nexport interface InputProps extends React.ComponentProps<'input'>, InputBaseProps {}\n\nconst Input = React.forwardRef<HTMLInputElement, InputProps>(({ className, type, ...props }, ref) => {\n return (\n <input\n type={type}\n className={cn(\n 'border-input file:text-foreground placeholder:text-muted-foreground focus-visible:ring-ring flex h-9 w-full rounded-md border bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-1 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm',\n className,\n )}\n ref={ref}\n {...props}\n />\n );\n});\nInput.displayName = 'Input';\n\nexport { Input };\n"],"mappings":";;;;;;aAQM,IAAQ,EAAM,YAA0C,EAAE,cAAW,SAAM,GAAG,KAAS,MAEzF,iBAAA,GAAA,EAAA,KAAC,SAAD;CACQ;CACN,WAAW,EACT,2WACA,EACD;CACI;CACL,GAAI;CACJ,CAAA,CAEJ;AACF,EAAM,cAAc"}
|
package/dist/label.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";"use
|
|
2
|
-
//# sourceMappingURL=label.cjs.map
|
|
1
|
+
"use client";"use client";Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`./rolldown-runtime-CacfPODE.js`),t=require(`./vendor-D3ZzLf8D.js`),n=require(`./utils-CbSX47LV.js`);let r=require(`react`);r=e.r(r);var i=t.vr(),a=t.Gn(`text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70`),o=r.forwardRef(({className:e,...r},o)=>(0,i.jsx)(t.Nt,{ref:o,className:n.t(a(),e),...r}));o.displayName=t.Nt?.displayName||`Label`,exports.Label=o;
|
|
2
|
+
//# sourceMappingURL=label.cjs.map
|
package/dist/label.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"label.cjs","sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root?.displayName || 'Label';\n\nexport { Label };\nexport type { LabelBaseProps as LabelProps };\n"],"
|
|
1
|
+
{"version":3,"file":"label.cjs","names":[],"sources":["../packages/ui-web/src/label.tsx"],"sourcesContent":["'use client';\n\nimport * as LabelPrimitive from '@radix-ui/react-label';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport * as React from 'react';\n\nimport { LabelBaseProps } from '@gv-tech/ui-core';\nimport { cn } from './lib/utils';\n\nconst labelVariants = cva('text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70');\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> & VariantProps<typeof labelVariants> & LabelBaseProps\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root ref={ref} className={cn(labelVariants(), className)} {...props} />\n));\nLabel.displayName = LabelPrimitive.Root?.displayName || 'Label';\n\nexport { Label };\nexport type { LabelBaseProps as LabelProps };\n"],"mappings":"+PASM,EAAgB,EAAA,GAAI,6FAA6F,CAEjH,EAAQ,EAAM,YAGjB,CAAE,YAAW,GAAG,GAAS,KAC1B,EAAA,EAAA,KAAA,EAAA,GAAA,CAA0B,MAAK,UAAW,EAAA,EAAG,GAAe,CAAE,EAAU,CAAE,GAAI,EAAS,CAAA,CACvF,CACF,EAAM,YAAA,EAAA,IAAmC,aAAe"}
|
package/dist/label.d.ts
CHANGED
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
import * as React_2 from 'react';
|
|
4
|
-
import { VariantProps } from 'class-variance-authority';
|
|
5
|
-
|
|
6
|
-
export declare const Label: React_2.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React_2.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps<(props?: ClassProp | undefined) => string> & LabelProps & React_2.RefAttributes<HTMLLabelElement>>;
|
|
7
|
-
|
|
8
|
-
export declare interface LabelProps {
|
|
9
|
-
className?: string;
|
|
10
|
-
children?: React_2.ReactNode;
|
|
11
|
-
htmlFor?: string;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export { }
|
|
1
|
+
export * from './packages/ui-web/src/label'
|
|
2
|
+
export {}
|