gladvn 0.2.22 → 0.2.27
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/LICENSE +21 -0
- package/README.md +70 -58
- package/bin/cli.js +352 -150
- package/llms.txt +7 -5
- package/package.json +14 -26
- package/src/blocks/auth-card.tsx +104 -0
- package/src/blocks/auth-dialog.tsx +116 -0
- package/src/blocks/auth-recovery.tsx +61 -0
- package/src/blocks/auth-split.tsx +132 -0
- package/src/blocks/dashboard.tsx +182 -0
- package/src/blocks/settings.tsx +104 -0
- package/src/components/macro/accordion-preset.tsx +2 -1
- package/src/components/macro/alert-dialog-preset.tsx +3 -2
- package/src/components/macro/alert-preset.tsx +2 -1
- package/src/components/macro/avatar-preset.tsx +2 -1
- package/src/components/macro/breadcrumb-preset.tsx +2 -1
- package/src/components/macro/card-preset.tsx +2 -1
- package/src/components/macro/carousel-preset.tsx +2 -1
- package/src/components/macro/checkbox-preset.tsx +2 -1
- package/src/components/macro/combobox-preset.tsx +5 -3
- package/src/components/macro/command-preset.tsx +7 -4
- package/src/components/macro/date-picker.tsx +3 -2
- package/src/components/macro/dialog-preset.tsx +3 -2
- package/src/components/macro/empty-preset.tsx +2 -1
- package/src/components/macro/field-preset.tsx +2 -1
- package/src/components/macro/input-otp-preset.tsx +2 -1
- package/src/components/macro/input-preset.tsx +2 -1
- package/src/components/macro/pagination-preset.tsx +2 -1
- package/src/components/macro/progress-preset.tsx +2 -1
- package/src/components/macro/select-preset.tsx +3 -2
- package/src/components/macro/slider-preset.tsx +2 -1
- package/src/components/macro/switch-preset.tsx +2 -1
- package/src/components/macro/tabs-preset.tsx +2 -1
- package/src/components/micro/accordion.test.tsx +96 -0
- package/src/components/micro/alert-dialog.tsx +1 -1
- package/src/components/micro/alert.test.tsx +77 -0
- package/src/components/micro/avatar.tsx +1 -1
- package/src/components/micro/badge.test.tsx +57 -0
- package/src/components/micro/breadcrumb.tsx +1 -1
- package/src/components/micro/button.test.tsx +101 -4
- package/src/components/micro/card.test.tsx +54 -0
- package/src/components/micro/card.tsx +1 -1
- package/src/components/micro/carousel.tsx +1 -1
- package/src/components/micro/chart.tsx +1 -1
- package/src/components/micro/checkbox.test.tsx +92 -0
- package/src/components/micro/combobox.tsx +1 -1
- package/src/components/micro/command.tsx +1 -1
- package/src/components/micro/context-menu.tsx +1 -1
- package/src/components/micro/dialog.test.tsx +127 -0
- package/src/components/micro/dialog.tsx +1 -1
- package/src/components/micro/direction.tsx +1 -1
- package/src/components/micro/drawer.tsx +2 -2
- package/src/components/micro/dropdown-menu.test.tsx +132 -0
- package/src/components/micro/dropdown-menu.tsx +1 -1
- package/src/components/micro/empty.tsx +1 -1
- package/src/components/micro/field.tsx +1 -1
- package/src/components/micro/input-group.tsx +1 -1
- package/src/components/micro/input.test.tsx +95 -0
- package/src/components/micro/item.tsx +1 -1
- package/src/components/micro/menubar.tsx +1 -1
- package/src/components/micro/navigation-menu.tsx +1 -1
- package/src/components/micro/pagination.tsx +1 -1
- package/src/components/micro/popover.test.tsx +83 -0
- package/src/components/micro/popover.tsx +1 -1
- package/src/components/micro/progress.tsx +1 -1
- package/src/components/micro/select.test.tsx +122 -0
- package/src/components/micro/select.tsx +1 -1
- package/src/components/micro/sheet.test.tsx +122 -0
- package/src/components/micro/sheet.tsx +1 -1
- package/src/components/micro/sidebar.tsx +1 -1
- package/src/components/micro/switch.test.tsx +108 -0
- package/src/components/micro/table.tsx +1 -1
- package/src/components/micro/tabs.test.tsx +90 -0
- package/src/components/micro/tooltip.test.tsx +107 -0
- package/src/components/micro/tooltip.tsx +1 -1
- package/src/dev/data.ts +8 -0
- package/src/dev/main.tsx +4 -0
- package/src/dev/showcase/accordion.tsx +4 -2
- package/src/dev/showcase/alert-dialog.tsx +7 -4
- package/src/dev/showcase/alert.tsx +6 -3
- package/src/dev/showcase/aspect-ratio.tsx +2 -1
- package/src/dev/showcase/avatar.tsx +6 -3
- package/src/dev/showcase/badge.tsx +2 -1
- package/src/dev/showcase/breadcrumb.tsx +7 -4
- package/src/dev/showcase/button.tsx +2 -1
- package/src/dev/showcase/calendar.tsx +2 -1
- package/src/dev/showcase/card.tsx +4 -2
- package/src/dev/showcase/carousel.tsx +4 -2
- package/src/dev/showcase/chart.tsx +4 -2
- package/src/dev/showcase/checkbox.tsx +4 -2
- package/src/dev/showcase/collapsible.tsx +4 -2
- package/src/dev/showcase/combobox.tsx +9 -5
- package/src/dev/showcase/command.tsx +6 -3
- package/src/dev/showcase/context-menu.tsx +5 -3
- package/src/dev/showcase/dialog.tsx +5 -3
- package/src/dev/showcase/drawer.tsx +5 -3
- package/src/dev/showcase/dropdown-menu.tsx +7 -4
- package/src/dev/showcase/empty.tsx +6 -3
- package/src/dev/showcase/hover-card.tsx +7 -4
- package/src/dev/showcase/input-group.tsx +6 -3
- package/src/dev/showcase/input-otp.tsx +6 -3
- package/src/dev/showcase/input.tsx +6 -3
- package/src/dev/showcase/item.tsx +4 -2
- package/src/dev/showcase/kbd.tsx +10 -6
- package/src/dev/showcase/label.tsx +2 -1
- package/src/dev/showcase/menubar.tsx +5 -3
- package/src/dev/showcase/navigation-menu.tsx +5 -3
- package/src/dev/showcase/overview.tsx +9 -5
- package/src/dev/showcase/pagination.tsx +4 -2
- package/src/dev/showcase/popover.tsx +5 -3
- package/src/dev/showcase/progress.tsx +4 -2
- package/src/dev/showcase/radio-group.tsx +2 -1
- package/src/dev/showcase/resizable.tsx +4 -2
- package/src/dev/showcase/scroll-area.tsx +2 -1
- package/src/dev/showcase/select.tsx +7 -4
- package/src/dev/showcase/separator.tsx +2 -1
- package/src/dev/showcase/sheet.tsx +5 -3
- package/src/dev/showcase/sidebar.tsx +4 -2
- package/src/dev/showcase/skeleton.tsx +2 -1
- package/src/dev/showcase/slider.tsx +6 -3
- package/src/dev/showcase/sonner.tsx +2 -1
- package/src/dev/showcase/spinner.tsx +2 -1
- package/src/dev/showcase/switch.tsx +2 -1
- package/src/dev/showcase/table.tsx +4 -2
- package/src/dev/showcase/tabs.tsx +4 -2
- package/src/dev/showcase/textarea.tsx +6 -3
- package/src/dev/showcase/toast.tsx +2 -1
- package/src/dev/showcase/toggle-group.tsx +6 -3
- package/src/dev/showcase/toggle.tsx +2 -1
- package/src/dev/showcase/tooltip.tsx +5 -3
- package/src/dev/showcase/why.tsx +271 -0
- package/src/hooks/use-mobile.test.ts +72 -0
- package/src/lib/utils.test.ts +26 -10
- package/src/styles/gladvn.css +0 -1
- package/src/styles/tokens.css +4 -0
- package/dist/components/macro/accordion-preset.d.ts +0 -14
- package/dist/components/macro/accordion-preset.d.ts.map +0 -1
- package/dist/components/macro/alert-dialog-preset.d.ts +0 -26
- package/dist/components/macro/alert-dialog-preset.d.ts.map +0 -1
- package/dist/components/macro/alert-preset.d.ts +0 -14
- package/dist/components/macro/alert-preset.d.ts.map +0 -1
- package/dist/components/macro/avatar-preset.d.ts +0 -11
- package/dist/components/macro/avatar-preset.d.ts.map +0 -1
- package/dist/components/macro/breadcrumb-preset.d.ts +0 -12
- package/dist/components/macro/breadcrumb-preset.d.ts.map +0 -1
- package/dist/components/macro/card-preset.d.ts +0 -10
- package/dist/components/macro/card-preset.d.ts.map +0 -1
- package/dist/components/macro/carousel-preset.d.ts +0 -18
- package/dist/components/macro/carousel-preset.d.ts.map +0 -1
- package/dist/components/macro/checkbox-preset.d.ts +0 -14
- package/dist/components/macro/checkbox-preset.d.ts.map +0 -1
- package/dist/components/macro/combobox-preset.d.ts +0 -27
- package/dist/components/macro/combobox-preset.d.ts.map +0 -1
- package/dist/components/macro/command-preset.d.ts +0 -16
- package/dist/components/macro/command-preset.d.ts.map +0 -1
- package/dist/components/macro/date-picker.d.ts +0 -62
- package/dist/components/macro/date-picker.d.ts.map +0 -1
- package/dist/components/macro/dialog-preset.d.ts +0 -24
- package/dist/components/macro/dialog-preset.d.ts.map +0 -1
- package/dist/components/macro/empty-preset.d.ts +0 -15
- package/dist/components/macro/empty-preset.d.ts.map +0 -1
- package/dist/components/macro/field-preset.d.ts +0 -15
- package/dist/components/macro/field-preset.d.ts.map +0 -1
- package/dist/components/macro/index.d.ts +0 -22
- package/dist/components/macro/index.d.ts.map +0 -1
- package/dist/components/macro/input-otp-preset.d.ts +0 -19
- package/dist/components/macro/input-otp-preset.d.ts.map +0 -1
- package/dist/components/macro/input-preset.d.ts +0 -21
- package/dist/components/macro/input-preset.d.ts.map +0 -1
- package/dist/components/macro/pagination-preset.d.ts +0 -13
- package/dist/components/macro/pagination-preset.d.ts.map +0 -1
- package/dist/components/macro/progress-preset.d.ts +0 -10
- package/dist/components/macro/progress-preset.d.ts.map +0 -1
- package/dist/components/macro/radio-group-preset.d.ts +0 -22
- package/dist/components/macro/radio-group-preset.d.ts.map +0 -1
- package/dist/components/macro/select-preset.d.ts +0 -42
- package/dist/components/macro/select-preset.d.ts.map +0 -1
- package/dist/components/macro/slider-preset.d.ts +0 -12
- package/dist/components/macro/slider-preset.d.ts.map +0 -1
- package/dist/components/macro/switch-preset.d.ts +0 -12
- package/dist/components/macro/switch-preset.d.ts.map +0 -1
- package/dist/components/macro/tabs-preset.d.ts +0 -17
- package/dist/components/macro/tabs-preset.d.ts.map +0 -1
- package/dist/components/macro/textarea-preset.d.ts +0 -17
- package/dist/components/macro/textarea-preset.d.ts.map +0 -1
- package/dist/components/micro/accordion.d.ts +0 -15
- package/dist/components/micro/accordion.d.ts.map +0 -1
- package/dist/components/micro/alert-dialog.d.ts +0 -33
- package/dist/components/micro/alert-dialog.d.ts.map +0 -1
- package/dist/components/micro/alert.d.ts +0 -35
- package/dist/components/micro/alert.d.ts.map +0 -1
- package/dist/components/micro/aspect-ratio.d.ts +0 -20
- package/dist/components/micro/aspect-ratio.d.ts.map +0 -1
- package/dist/components/micro/avatar.d.ts +0 -23
- package/dist/components/micro/avatar.d.ts.map +0 -1
- package/dist/components/micro/badge.d.ts +0 -23
- package/dist/components/micro/badge.d.ts.map +0 -1
- package/dist/components/micro/breadcrumb.d.ts +0 -31
- package/dist/components/micro/breadcrumb.d.ts.map +0 -1
- package/dist/components/micro/button.d.ts +0 -46
- package/dist/components/micro/button.d.ts.map +0 -1
- package/dist/components/micro/calendar.d.ts +0 -28
- package/dist/components/micro/calendar.d.ts.map +0 -1
- package/dist/components/micro/card.d.ts +0 -28
- package/dist/components/micro/card.d.ts.map +0 -1
- package/dist/components/micro/carousel.d.ts +0 -29
- package/dist/components/micro/carousel.d.ts.map +0 -1
- package/dist/components/micro/chart.d.ts +0 -49
- package/dist/components/micro/chart.d.ts.map +0 -1
- package/dist/components/micro/checkbox.d.ts +0 -17
- package/dist/components/micro/checkbox.d.ts.map +0 -1
- package/dist/components/micro/collapsible.d.ts +0 -15
- package/dist/components/micro/collapsible.d.ts.map +0 -1
- package/dist/components/micro/combobox.d.ts +0 -34
- package/dist/components/micro/combobox.d.ts.map +0 -1
- package/dist/components/micro/command.d.ts +0 -79
- package/dist/components/micro/command.d.ts.map +0 -1
- package/dist/components/micro/context-menu.d.ts +0 -58
- package/dist/components/micro/context-menu.d.ts.map +0 -1
- package/dist/components/micro/dialog.d.ts +0 -15
- package/dist/components/micro/dialog.d.ts.map +0 -1
- package/dist/components/micro/direction.d.ts +0 -2
- package/dist/components/micro/direction.d.ts.map +0 -1
- package/dist/components/micro/drawer.d.ts +0 -18
- package/dist/components/micro/drawer.d.ts.map +0 -1
- package/dist/components/micro/dropdown-menu.d.ts +0 -40
- package/dist/components/micro/dropdown-menu.d.ts.map +0 -1
- package/dist/components/micro/empty.d.ts +0 -30
- package/dist/components/micro/empty.d.ts.map +0 -1
- package/dist/components/micro/field.d.ts +0 -29
- package/dist/components/micro/field.d.ts.map +0 -1
- package/dist/components/micro/hover-card.d.ts +0 -18
- package/dist/components/micro/hover-card.d.ts.map +0 -1
- package/dist/components/micro/input-group.d.ts +0 -17
- package/dist/components/micro/input-group.d.ts.map +0 -1
- package/dist/components/micro/input-otp.d.ts +0 -44
- package/dist/components/micro/input-otp.d.ts.map +0 -1
- package/dist/components/micro/input.d.ts +0 -29
- package/dist/components/micro/input.d.ts.map +0 -1
- package/dist/components/micro/item.d.ts +0 -31
- package/dist/components/micro/item.d.ts.map +0 -1
- package/dist/components/micro/kbd.d.ts +0 -9
- package/dist/components/micro/kbd.d.ts.map +0 -1
- package/dist/components/micro/label.d.ts +0 -15
- package/dist/components/micro/label.d.ts.map +0 -1
- package/dist/components/micro/menubar.d.ts +0 -40
- package/dist/components/micro/menubar.d.ts.map +0 -1
- package/dist/components/micro/navigation-menu.d.ts +0 -26
- package/dist/components/micro/navigation-menu.d.ts.map +0 -1
- package/dist/components/micro/pagination.d.ts +0 -33
- package/dist/components/micro/pagination.d.ts.map +0 -1
- package/dist/components/micro/popover.d.ts +0 -24
- package/dist/components/micro/popover.d.ts.map +0 -1
- package/dist/components/micro/progress.d.ts +0 -19
- package/dist/components/micro/progress.d.ts.map +0 -1
- package/dist/components/micro/radio-group.d.ts +0 -13
- package/dist/components/micro/radio-group.d.ts.map +0 -1
- package/dist/components/micro/resizable.d.ts +0 -12
- package/dist/components/micro/resizable.d.ts.map +0 -1
- package/dist/components/micro/scroll-area.d.ts +0 -12
- package/dist/components/micro/scroll-area.d.ts.map +0 -1
- package/dist/components/micro/select.d.ts +0 -22
- package/dist/components/micro/select.d.ts.map +0 -1
- package/dist/components/micro/separator.d.ts +0 -9
- package/dist/components/micro/separator.d.ts.map +0 -1
- package/dist/components/micro/sheet.d.ts +0 -17
- package/dist/components/micro/sheet.d.ts.map +0 -1
- package/dist/components/micro/sidebar.d.ts +0 -28
- package/dist/components/micro/sidebar.d.ts.map +0 -1
- package/dist/components/micro/skeleton.d.ts +0 -16
- package/dist/components/micro/skeleton.d.ts.map +0 -1
- package/dist/components/micro/slider.d.ts +0 -21
- package/dist/components/micro/slider.d.ts.map +0 -1
- package/dist/components/micro/sonner.d.ts +0 -5
- package/dist/components/micro/sonner.d.ts.map +0 -1
- package/dist/components/micro/spinner.d.ts +0 -21
- package/dist/components/micro/spinner.d.ts.map +0 -1
- package/dist/components/micro/switch.d.ts +0 -13
- package/dist/components/micro/switch.d.ts.map +0 -1
- package/dist/components/micro/table.d.ts +0 -17
- package/dist/components/micro/table.d.ts.map +0 -1
- package/dist/components/micro/tabs.d.ts +0 -13
- package/dist/components/micro/tabs.d.ts.map +0 -1
- package/dist/components/micro/textarea.d.ts +0 -24
- package/dist/components/micro/textarea.d.ts.map +0 -1
- package/dist/components/micro/theme-provider.d.ts +0 -76
- package/dist/components/micro/theme-provider.d.ts.map +0 -1
- package/dist/components/micro/toggle-group.d.ts +0 -22
- package/dist/components/micro/toggle-group.d.ts.map +0 -1
- package/dist/components/micro/toggle.d.ts +0 -16
- package/dist/components/micro/toggle.d.ts.map +0 -1
- package/dist/components/micro/tooltip.d.ts +0 -21
- package/dist/components/micro/tooltip.d.ts.map +0 -1
- package/dist/dev/App.d.ts +0 -3
- package/dist/dev/App.d.ts.map +0 -1
- package/dist/dev/components/GladvnLogo.d.ts +0 -10
- package/dist/dev/components/GladvnLogo.d.ts.map +0 -1
- package/dist/dev/components/code-highlighter.d.ts +0 -5
- package/dist/dev/components/code-highlighter.d.ts.map +0 -1
- package/dist/dev/components/dev-context.d.ts +0 -12
- package/dist/dev/components/dev-context.d.ts.map +0 -1
- package/dist/dev/components/showcase.d.ts +0 -72
- package/dist/dev/components/showcase.d.ts.map +0 -1
- package/dist/dev/data.d.ts +0 -68
- package/dist/dev/data.d.ts.map +0 -1
- package/dist/dev/main.d.ts +0 -1
- package/dist/dev/main.d.ts.map +0 -1
- package/dist/dev/sections/buttons.d.ts +0 -2
- package/dist/dev/sections/buttons.d.ts.map +0 -1
- package/dist/dev/sections/display.d.ts +0 -2
- package/dist/dev/sections/display.d.ts.map +0 -1
- package/dist/dev/sections/feedback.d.ts +0 -2
- package/dist/dev/sections/feedback.d.ts.map +0 -1
- package/dist/dev/sections/forms.d.ts +0 -2
- package/dist/dev/sections/forms.d.ts.map +0 -1
- package/dist/dev/sections/interactive.d.ts +0 -2
- package/dist/dev/sections/interactive.d.ts.map +0 -1
- package/dist/dev/sections/overview.d.ts +0 -2
- package/dist/dev/sections/overview.d.ts.map +0 -1
- package/dist/dev/showcase/accordion.d.ts +0 -2
- package/dist/dev/showcase/accordion.d.ts.map +0 -1
- package/dist/dev/showcase/alert-dialog.d.ts +0 -2
- package/dist/dev/showcase/alert-dialog.d.ts.map +0 -1
- package/dist/dev/showcase/alert.d.ts +0 -2
- package/dist/dev/showcase/alert.d.ts.map +0 -1
- package/dist/dev/showcase/aspect-ratio.d.ts +0 -2
- package/dist/dev/showcase/aspect-ratio.d.ts.map +0 -1
- package/dist/dev/showcase/avatar.d.ts +0 -2
- package/dist/dev/showcase/avatar.d.ts.map +0 -1
- package/dist/dev/showcase/badge.d.ts +0 -2
- package/dist/dev/showcase/badge.d.ts.map +0 -1
- package/dist/dev/showcase/breadcrumb.d.ts +0 -2
- package/dist/dev/showcase/breadcrumb.d.ts.map +0 -1
- package/dist/dev/showcase/button.d.ts +0 -2
- package/dist/dev/showcase/button.d.ts.map +0 -1
- package/dist/dev/showcase/calendar.d.ts +0 -2
- package/dist/dev/showcase/calendar.d.ts.map +0 -1
- package/dist/dev/showcase/card.d.ts +0 -2
- package/dist/dev/showcase/card.d.ts.map +0 -1
- package/dist/dev/showcase/carousel.d.ts +0 -2
- package/dist/dev/showcase/carousel.d.ts.map +0 -1
- package/dist/dev/showcase/chart.d.ts +0 -2
- package/dist/dev/showcase/chart.d.ts.map +0 -1
- package/dist/dev/showcase/checkbox.d.ts +0 -2
- package/dist/dev/showcase/checkbox.d.ts.map +0 -1
- package/dist/dev/showcase/collapsible.d.ts +0 -3
- package/dist/dev/showcase/collapsible.d.ts.map +0 -1
- package/dist/dev/showcase/combobox.d.ts +0 -2
- package/dist/dev/showcase/combobox.d.ts.map +0 -1
- package/dist/dev/showcase/command.d.ts +0 -2
- package/dist/dev/showcase/command.d.ts.map +0 -1
- package/dist/dev/showcase/context-menu.d.ts +0 -2
- package/dist/dev/showcase/context-menu.d.ts.map +0 -1
- package/dist/dev/showcase/dialog.d.ts +0 -2
- package/dist/dev/showcase/dialog.d.ts.map +0 -1
- package/dist/dev/showcase/drawer.d.ts +0 -2
- package/dist/dev/showcase/drawer.d.ts.map +0 -1
- package/dist/dev/showcase/dropdown-menu.d.ts +0 -2
- package/dist/dev/showcase/dropdown-menu.d.ts.map +0 -1
- package/dist/dev/showcase/empty.d.ts +0 -2
- package/dist/dev/showcase/empty.d.ts.map +0 -1
- package/dist/dev/showcase/hover-card.d.ts +0 -2
- package/dist/dev/showcase/hover-card.d.ts.map +0 -1
- package/dist/dev/showcase/input-group.d.ts +0 -2
- package/dist/dev/showcase/input-group.d.ts.map +0 -1
- package/dist/dev/showcase/input-otp.d.ts +0 -2
- package/dist/dev/showcase/input-otp.d.ts.map +0 -1
- package/dist/dev/showcase/input.d.ts +0 -2
- package/dist/dev/showcase/input.d.ts.map +0 -1
- package/dist/dev/showcase/item.d.ts +0 -2
- package/dist/dev/showcase/item.d.ts.map +0 -1
- package/dist/dev/showcase/kbd.d.ts +0 -2
- package/dist/dev/showcase/kbd.d.ts.map +0 -1
- package/dist/dev/showcase/label.d.ts +0 -2
- package/dist/dev/showcase/label.d.ts.map +0 -1
- package/dist/dev/showcase/menubar.d.ts +0 -2
- package/dist/dev/showcase/menubar.d.ts.map +0 -1
- package/dist/dev/showcase/navigation-menu.d.ts +0 -3
- package/dist/dev/showcase/navigation-menu.d.ts.map +0 -1
- package/dist/dev/showcase/overview.d.ts +0 -2
- package/dist/dev/showcase/overview.d.ts.map +0 -1
- package/dist/dev/showcase/pagination.d.ts +0 -2
- package/dist/dev/showcase/pagination.d.ts.map +0 -1
- package/dist/dev/showcase/popover.d.ts +0 -2
- package/dist/dev/showcase/popover.d.ts.map +0 -1
- package/dist/dev/showcase/progress.d.ts +0 -2
- package/dist/dev/showcase/progress.d.ts.map +0 -1
- package/dist/dev/showcase/radio-group.d.ts +0 -2
- package/dist/dev/showcase/radio-group.d.ts.map +0 -1
- package/dist/dev/showcase/resizable.d.ts +0 -2
- package/dist/dev/showcase/resizable.d.ts.map +0 -1
- package/dist/dev/showcase/scroll-area.d.ts +0 -2
- package/dist/dev/showcase/scroll-area.d.ts.map +0 -1
- package/dist/dev/showcase/select.d.ts +0 -2
- package/dist/dev/showcase/select.d.ts.map +0 -1
- package/dist/dev/showcase/separator.d.ts +0 -2
- package/dist/dev/showcase/separator.d.ts.map +0 -1
- package/dist/dev/showcase/sheet.d.ts +0 -2
- package/dist/dev/showcase/sheet.d.ts.map +0 -1
- package/dist/dev/showcase/sidebar.d.ts +0 -2
- package/dist/dev/showcase/sidebar.d.ts.map +0 -1
- package/dist/dev/showcase/skeleton.d.ts +0 -2
- package/dist/dev/showcase/skeleton.d.ts.map +0 -1
- package/dist/dev/showcase/slider.d.ts +0 -2
- package/dist/dev/showcase/slider.d.ts.map +0 -1
- package/dist/dev/showcase/sonner.d.ts +0 -2
- package/dist/dev/showcase/sonner.d.ts.map +0 -1
- package/dist/dev/showcase/spinner.d.ts +0 -2
- package/dist/dev/showcase/spinner.d.ts.map +0 -1
- package/dist/dev/showcase/switch.d.ts +0 -2
- package/dist/dev/showcase/switch.d.ts.map +0 -1
- package/dist/dev/showcase/table.d.ts +0 -2
- package/dist/dev/showcase/table.d.ts.map +0 -1
- package/dist/dev/showcase/tabs.d.ts +0 -2
- package/dist/dev/showcase/tabs.d.ts.map +0 -1
- package/dist/dev/showcase/textarea.d.ts +0 -2
- package/dist/dev/showcase/textarea.d.ts.map +0 -1
- package/dist/dev/showcase/toast.d.ts +0 -2
- package/dist/dev/showcase/toast.d.ts.map +0 -1
- package/dist/dev/showcase/toggle-group.d.ts +0 -2
- package/dist/dev/showcase/toggle-group.d.ts.map +0 -1
- package/dist/dev/showcase/toggle.d.ts +0 -2
- package/dist/dev/showcase/toggle.d.ts.map +0 -1
- package/dist/dev/showcase/tooltip.d.ts +0 -2
- package/dist/dev/showcase/tooltip.d.ts.map +0 -1
- package/dist/hooks/use-controllable-state.d.ts +0 -14
- package/dist/hooks/use-controllable-state.d.ts.map +0 -1
- package/dist/hooks/use-mobile.d.ts +0 -2
- package/dist/hooks/use-mobile.d.ts.map +0 -1
- package/dist/index.cjs +0 -5099
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.ts +0 -58
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -4753
- package/dist/index.js.map +0 -1
- package/dist/lib/types.d.ts +0 -4
- package/dist/lib/types.d.ts.map +0 -1
- package/dist/lib/utils.d.ts +0 -3
- package/dist/lib/utils.d.ts.map +0 -1
- package/dist/preset.d.ts +0 -18
- package/dist/preset.d.ts.map +0 -1
- package/dist/test/setup.d.ts +0 -1
- package/dist/test/setup.d.ts.map +0 -1
- package/scripts/add-icononly-prop.ts +0 -84
- package/scripts/audit-best-practices.ts +0 -114
- package/scripts/audit-showcase.ts +0 -262
- package/scripts/audit-showcases.ts +0 -83
- package/scripts/clean-imports.ts +0 -21
- package/scripts/count_missing.ts +0 -24
- package/scripts/find-css-vars.ts +0 -62
- package/scripts/fix-portals.ts +0 -90
- package/scripts/format-codestrings.ts +0 -87
- package/scripts/full-audit.ts +0 -89
- package/scripts/merge-components.cjs +0 -65
- package/scripts/merge-components.js +0 -64
- package/scripts/optimize-barrel.ts +0 -116
- package/scripts/organize-imports.ts +0 -21
- package/scripts/refactor_divs.ts +0 -39
- package/scripts/regex-format.cjs +0 -67
- package/scripts/remove_div_wrappers.ts +0 -17
- package/scripts/tmp.tsx +0 -25
- package/scripts/update-gaps.ts +0 -83
- package/scripts/update_showcase_codestrings.ts +0 -87
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BarChart3Icon,
|
|
3
|
+
BellIcon,
|
|
4
|
+
HomeIcon,
|
|
5
|
+
LayoutDashboardIcon,
|
|
6
|
+
MenuIcon,
|
|
7
|
+
SearchIcon,
|
|
8
|
+
SettingsIcon,
|
|
9
|
+
UsersIcon
|
|
10
|
+
} from "lucide-react";
|
|
11
|
+
import { Avatar, AvatarFallback, AvatarImage } from "../components/micro/avatar";
|
|
12
|
+
import { Button } from "../components/micro/button";
|
|
13
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "../components/micro/card";
|
|
14
|
+
import {
|
|
15
|
+
DropdownMenu,
|
|
16
|
+
DropdownMenuContent,
|
|
17
|
+
DropdownMenuItem,
|
|
18
|
+
DropdownMenuLabel,
|
|
19
|
+
DropdownMenuSeparator,
|
|
20
|
+
DropdownMenuTrigger
|
|
21
|
+
} from "../components/micro/dropdown-menu";
|
|
22
|
+
import { Input } from "../components/micro/input";
|
|
23
|
+
|
|
24
|
+
export default function DashboardBlock() {
|
|
25
|
+
return (
|
|
26
|
+
<div className="flex min-h-screen w-full bg-muted/20">
|
|
27
|
+
{/* Sidebar */}
|
|
28
|
+
<aside className="hidden w-64 flex-col border-r border-border bg-background md:flex">
|
|
29
|
+
<div className="flex h-16 items-center border-b border-border px-6">
|
|
30
|
+
<LayoutDashboardIcon className="mr-2 size-5 text-primary" />
|
|
31
|
+
<span className="font-bold">Gladvn App</span>
|
|
32
|
+
</div>
|
|
33
|
+
<nav className="flex-1 space-y-1 p-4">
|
|
34
|
+
<Button variant="soft" color="primary" className="w-full justify-start">
|
|
35
|
+
<HomeIcon className="mr-2 size-4" /> Overview
|
|
36
|
+
</Button>
|
|
37
|
+
<Button variant="ghost" className="w-full justify-start text-muted-foreground">
|
|
38
|
+
<BarChart3Icon className="mr-2 size-4" /> Analytics
|
|
39
|
+
</Button>
|
|
40
|
+
<Button variant="ghost" className="w-full justify-start text-muted-foreground">
|
|
41
|
+
<UsersIcon className="mr-2 size-4" /> Customers
|
|
42
|
+
</Button>
|
|
43
|
+
<Button variant="ghost" className="w-full justify-start text-muted-foreground">
|
|
44
|
+
<SettingsIcon className="mr-2 size-4" /> Settings
|
|
45
|
+
</Button>
|
|
46
|
+
</nav>
|
|
47
|
+
</aside>
|
|
48
|
+
|
|
49
|
+
{/* Main Content */}
|
|
50
|
+
<main className="flex flex-1 flex-col overflow-hidden">
|
|
51
|
+
{/* Header */}
|
|
52
|
+
<header className="flex h-16 items-center gap-4 border-b border-border bg-background px-6">
|
|
53
|
+
<Button variant="ghost" iconOnly className="md:hidden">
|
|
54
|
+
<MenuIcon className="size-5" />
|
|
55
|
+
</Button>
|
|
56
|
+
|
|
57
|
+
<div className="flex-1">
|
|
58
|
+
<div className="relative w-full max-w-sm">
|
|
59
|
+
<SearchIcon className="absolute left-2.5 top-2.5 size-4 text-muted-foreground" />
|
|
60
|
+
<Input type="search" placeholder="Search..." className="w-full pl-9 bg-muted/50" />
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<Button variant="ghost" iconOnly className="text-muted-foreground relative">
|
|
65
|
+
<BellIcon className="size-5" />
|
|
66
|
+
<span className="absolute top-1 right-1 size-2 rounded-full bg-destructive border-2 border-background"></span>
|
|
67
|
+
</Button>
|
|
68
|
+
|
|
69
|
+
<DropdownMenu>
|
|
70
|
+
<DropdownMenuTrigger render={<button className="outline-none" />}>
|
|
71
|
+
<Avatar className="size-8 ring-2 ring-primary/20 hover:ring-primary/50 transition-all cursor-pointer">
|
|
72
|
+
<AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" />
|
|
73
|
+
<AvatarFallback>CN</AvatarFallback>
|
|
74
|
+
</Avatar>
|
|
75
|
+
</DropdownMenuTrigger>
|
|
76
|
+
<DropdownMenuContent align="end" className="w-56">
|
|
77
|
+
<DropdownMenuLabel>My Account</DropdownMenuLabel>
|
|
78
|
+
<DropdownMenuSeparator />
|
|
79
|
+
<DropdownMenuItem>Profile</DropdownMenuItem>
|
|
80
|
+
<DropdownMenuItem>Billing</DropdownMenuItem>
|
|
81
|
+
<DropdownMenuItem>Team</DropdownMenuItem>
|
|
82
|
+
<DropdownMenuItem>Subscription</DropdownMenuItem>
|
|
83
|
+
<DropdownMenuSeparator />
|
|
84
|
+
<DropdownMenuItem variant="destructive">Log out</DropdownMenuItem>
|
|
85
|
+
</DropdownMenuContent>
|
|
86
|
+
</DropdownMenu>
|
|
87
|
+
</header>
|
|
88
|
+
|
|
89
|
+
{/* Dashboard Content */}
|
|
90
|
+
<div className="flex-1 overflow-auto p-6 md:p-8">
|
|
91
|
+
<div className="flex items-center justify-between mb-8">
|
|
92
|
+
<div>
|
|
93
|
+
<h2 className="text-3xl font-bold tracking-tight">Dashboard</h2>
|
|
94
|
+
<p className="text-muted-foreground mt-1">Here's an overview of your business today.</p>
|
|
95
|
+
</div>
|
|
96
|
+
<div className="flex items-center gap-2">
|
|
97
|
+
<Button variant="outline">Download Report</Button>
|
|
98
|
+
</div>
|
|
99
|
+
</div>
|
|
100
|
+
|
|
101
|
+
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-4 mb-8">
|
|
102
|
+
<Card>
|
|
103
|
+
<CardHeader className="pb-2">
|
|
104
|
+
<CardDescription>Total Revenue</CardDescription>
|
|
105
|
+
<CardTitle className="text-2xl">$45,231.89</CardTitle>
|
|
106
|
+
</CardHeader>
|
|
107
|
+
<CardContent>
|
|
108
|
+
<p className="text-xs text-muted-foreground">
|
|
109
|
+
<span className="text-success font-medium">+20.1%</span> from last month
|
|
110
|
+
</p>
|
|
111
|
+
</CardContent>
|
|
112
|
+
</Card>
|
|
113
|
+
<Card>
|
|
114
|
+
<CardHeader className="pb-2">
|
|
115
|
+
<CardDescription>Subscriptions</CardDescription>
|
|
116
|
+
<CardTitle className="text-2xl">+2350</CardTitle>
|
|
117
|
+
</CardHeader>
|
|
118
|
+
<CardContent>
|
|
119
|
+
<p className="text-xs text-muted-foreground">
|
|
120
|
+
<span className="text-success font-medium">+180.1%</span> from last month
|
|
121
|
+
</p>
|
|
122
|
+
</CardContent>
|
|
123
|
+
</Card>
|
|
124
|
+
<Card>
|
|
125
|
+
<CardHeader className="pb-2">
|
|
126
|
+
<CardDescription>Sales</CardDescription>
|
|
127
|
+
<CardTitle className="text-2xl">+12,234</CardTitle>
|
|
128
|
+
</CardHeader>
|
|
129
|
+
<CardContent>
|
|
130
|
+
<p className="text-xs text-muted-foreground">
|
|
131
|
+
<span className="text-success font-medium">+19%</span> from last month
|
|
132
|
+
</p>
|
|
133
|
+
</CardContent>
|
|
134
|
+
</Card>
|
|
135
|
+
<Card>
|
|
136
|
+
<CardHeader className="pb-2">
|
|
137
|
+
<CardDescription>Active Now</CardDescription>
|
|
138
|
+
<CardTitle className="text-2xl">+573</CardTitle>
|
|
139
|
+
</CardHeader>
|
|
140
|
+
<CardContent>
|
|
141
|
+
<p className="text-xs text-muted-foreground">
|
|
142
|
+
<span className="text-destructive font-medium">-24</span> since last hour
|
|
143
|
+
</p>
|
|
144
|
+
</CardContent>
|
|
145
|
+
</Card>
|
|
146
|
+
</div>
|
|
147
|
+
|
|
148
|
+
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-7">
|
|
149
|
+
<Card className="lg:col-span-4">
|
|
150
|
+
<CardHeader>
|
|
151
|
+
<CardTitle>Overview</CardTitle>
|
|
152
|
+
</CardHeader>
|
|
153
|
+
<CardContent className="h-[300px] flex items-center justify-center border-t border-border/50 bg-muted/10 rounded-b-xl">
|
|
154
|
+
<p className="text-sm text-muted-foreground">Chart placeholder</p>
|
|
155
|
+
</CardContent>
|
|
156
|
+
</Card>
|
|
157
|
+
<Card className="lg:col-span-3">
|
|
158
|
+
<CardHeader>
|
|
159
|
+
<CardTitle>Recent Sales</CardTitle>
|
|
160
|
+
<CardDescription>You made 265 sales this month.</CardDescription>
|
|
161
|
+
</CardHeader>
|
|
162
|
+
<CardContent className="space-y-6">
|
|
163
|
+
{[1, 2, 3, 4, 5].map((i) => (
|
|
164
|
+
<div key={i} className="flex items-center gap-4">
|
|
165
|
+
<Avatar className="size-9 hidden sm:flex">
|
|
166
|
+
<AvatarFallback>OM</AvatarFallback>
|
|
167
|
+
</Avatar>
|
|
168
|
+
<div className="flex-1 space-y-1">
|
|
169
|
+
<p className="text-sm font-medium leading-none">Olivia Martin</p>
|
|
170
|
+
<p className="text-xs text-muted-foreground">olivia.martin@email.com</p>
|
|
171
|
+
</div>
|
|
172
|
+
<div className="font-medium text-sm">+$1,999.00</div>
|
|
173
|
+
</div>
|
|
174
|
+
))}
|
|
175
|
+
</CardContent>
|
|
176
|
+
</Card>
|
|
177
|
+
</div>
|
|
178
|
+
</div>
|
|
179
|
+
</main>
|
|
180
|
+
</div>
|
|
181
|
+
);
|
|
182
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Button } from "../components/micro/button";
|
|
2
|
+
import { Input } from "../components/micro/input";
|
|
3
|
+
import { Label } from "../components/micro/label";
|
|
4
|
+
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/micro/select";
|
|
5
|
+
import { Separator } from "../components/micro/separator";
|
|
6
|
+
import { Switch } from "../components/micro/switch";
|
|
7
|
+
|
|
8
|
+
export default function SettingsBlock() {
|
|
9
|
+
return (
|
|
10
|
+
<div className="container max-w-4xl py-10 px-4 md:px-6 mx-auto">
|
|
11
|
+
<div className="space-y-0.5 mb-6">
|
|
12
|
+
<h2 className="text-3xl font-bold tracking-tight">Settings</h2>
|
|
13
|
+
<p className="text-muted-foreground">
|
|
14
|
+
Manage your account settings and set e-mail preferences.
|
|
15
|
+
</p>
|
|
16
|
+
</div>
|
|
17
|
+
<Separator className="my-6" />
|
|
18
|
+
|
|
19
|
+
<div className="flex flex-col md:flex-row gap-8">
|
|
20
|
+
<aside className="w-full md:w-64 shrink-0">
|
|
21
|
+
<nav className="flex md:flex-col gap-2 overflow-x-auto pb-4 md:pb-0">
|
|
22
|
+
<Button variant="soft" color="primary" className="justify-start whitespace-nowrap">Profile</Button>
|
|
23
|
+
<Button variant="ghost" className="justify-start whitespace-nowrap text-muted-foreground">Account</Button>
|
|
24
|
+
<Button variant="ghost" className="justify-start whitespace-nowrap text-muted-foreground">Appearance</Button>
|
|
25
|
+
<Button variant="ghost" className="justify-start whitespace-nowrap text-muted-foreground">Notifications</Button>
|
|
26
|
+
<Button variant="ghost" className="justify-start whitespace-nowrap text-muted-foreground">Display</Button>
|
|
27
|
+
</nav>
|
|
28
|
+
</aside>
|
|
29
|
+
|
|
30
|
+
<div className="flex-1 space-y-6">
|
|
31
|
+
<div className="space-y-4">
|
|
32
|
+
<h3 className="text-xl font-medium">Profile</h3>
|
|
33
|
+
<p className="text-sm text-muted-foreground">
|
|
34
|
+
This is how others will see you on the site.
|
|
35
|
+
</p>
|
|
36
|
+
</div>
|
|
37
|
+
<Separator />
|
|
38
|
+
|
|
39
|
+
<div className="space-y-8">
|
|
40
|
+
<div className="space-y-2">
|
|
41
|
+
<Label htmlFor="username">Username</Label>
|
|
42
|
+
<Input id="username" placeholder="gladvn" defaultValue="johndoe" />
|
|
43
|
+
<p className="text-[13px] text-muted-foreground">
|
|
44
|
+
This is your public display name. It can be your real name or a pseudonym.
|
|
45
|
+
</p>
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
<div className="space-y-2">
|
|
49
|
+
<Label htmlFor="email">Email</Label>
|
|
50
|
+
<Select defaultValue="m@example.com">
|
|
51
|
+
<SelectTrigger id="email">
|
|
52
|
+
<SelectValue placeholder="Select a verified email to display" />
|
|
53
|
+
</SelectTrigger>
|
|
54
|
+
<SelectContent>
|
|
55
|
+
<SelectItem value="m@example.com">m@example.com</SelectItem>
|
|
56
|
+
<SelectItem value="m@google.com">m@google.com</SelectItem>
|
|
57
|
+
<SelectItem value="m@support.com">m@support.com</SelectItem>
|
|
58
|
+
</SelectContent>
|
|
59
|
+
</Select>
|
|
60
|
+
<p className="text-[13px] text-muted-foreground">
|
|
61
|
+
You can manage verified email addresses in your email settings.
|
|
62
|
+
</p>
|
|
63
|
+
</div>
|
|
64
|
+
|
|
65
|
+
<div className="space-y-2">
|
|
66
|
+
<Label>Bio</Label>
|
|
67
|
+
<textarea
|
|
68
|
+
className="flex w-full min-h-[100px] rounded-lg border border-input bg-transparent px-3 py-2 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:ring-offset-1 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 resize-y"
|
|
69
|
+
placeholder="Tell us a little bit about yourself"
|
|
70
|
+
defaultValue="I own a computer."
|
|
71
|
+
/>
|
|
72
|
+
<p className="text-[13px] text-muted-foreground">
|
|
73
|
+
You can @mention other users and organizations to link to them.
|
|
74
|
+
</p>
|
|
75
|
+
</div>
|
|
76
|
+
|
|
77
|
+
<div className="space-y-4 pt-4">
|
|
78
|
+
<div className="flex items-center justify-between rounded-xl border border-border p-4">
|
|
79
|
+
<div className="space-y-0.5">
|
|
80
|
+
<Label className="text-base">Marketing emails</Label>
|
|
81
|
+
<p className="text-[13px] text-muted-foreground">
|
|
82
|
+
Receive emails about new products, features, and more.
|
|
83
|
+
</p>
|
|
84
|
+
</div>
|
|
85
|
+
<Switch />
|
|
86
|
+
</div>
|
|
87
|
+
<div className="flex items-center justify-between rounded-xl border border-border p-4">
|
|
88
|
+
<div className="space-y-0.5">
|
|
89
|
+
<Label className="text-base">Security emails</Label>
|
|
90
|
+
<p className="text-[13px] text-muted-foreground">
|
|
91
|
+
Receive emails about your account activity and security.
|
|
92
|
+
</p>
|
|
93
|
+
</div>
|
|
94
|
+
<Switch defaultChecked />
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
|
|
98
|
+
<Button>Update profile</Button>
|
|
99
|
+
</div>
|
|
100
|
+
</div>
|
|
101
|
+
</div>
|
|
102
|
+
</div>
|
|
103
|
+
);
|
|
104
|
+
}
|
|
@@ -11,9 +11,10 @@ import {
|
|
|
11
11
|
AlertDialogFooter,
|
|
12
12
|
AlertDialogHeader,
|
|
13
13
|
AlertDialogMedia,
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
AlertDialogTitle,
|
|
16
|
-
AlertDialogTrigger
|
|
16
|
+
AlertDialogTrigger
|
|
17
|
+
} from "../../components/micro/alert-dialog";
|
|
17
18
|
import { type Color, type Size, type Variant } from "../../lib/types";
|
|
18
19
|
import { cn } from "../../lib/utils";
|
|
19
20
|
|
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
AlertDescription,
|
|
11
11
|
AlertIcon,
|
|
12
12
|
type AlertProps,
|
|
13
|
-
AlertTitle
|
|
13
|
+
AlertTitle
|
|
14
|
+
} from "../../components/micro/alert";
|
|
14
15
|
import { Button } from "../../components/micro/button";
|
|
15
16
|
import { cn } from "../../lib/utils";
|
|
16
17
|
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
BreadcrumbLink,
|
|
7
7
|
BreadcrumbList,
|
|
8
8
|
BreadcrumbPage,
|
|
9
|
-
BreadcrumbSeparator
|
|
9
|
+
BreadcrumbSeparator
|
|
10
|
+
} from "../../components/micro/breadcrumb";
|
|
10
11
|
|
|
11
12
|
export interface BreadcrumbPresetItem {
|
|
12
13
|
label: React.ReactNode;
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
CarouselDots,
|
|
10
10
|
CarouselItem,
|
|
11
11
|
CarouselNext,
|
|
12
|
-
CarouselPrevious
|
|
12
|
+
CarouselPrevious
|
|
13
|
+
} from "../../components/micro/carousel";
|
|
13
14
|
import { cn } from "../../lib/utils";
|
|
14
15
|
|
|
15
16
|
export type CarouselPresetProps = Omit<
|
|
@@ -11,13 +11,15 @@ import {
|
|
|
11
11
|
ComboboxInput,
|
|
12
12
|
ComboboxItem,
|
|
13
13
|
ComboboxList,
|
|
14
|
-
|
|
14
|
+
|
|
15
15
|
ComboboxTrigger,
|
|
16
|
-
useComboboxContext
|
|
16
|
+
useComboboxContext
|
|
17
|
+
} from "../../components/micro/combobox";
|
|
17
18
|
import {
|
|
18
19
|
InputGroup,
|
|
19
20
|
InputGroupAddon,
|
|
20
|
-
InputGroupInput
|
|
21
|
+
InputGroupInput
|
|
22
|
+
} from "../../components/micro/input-group";
|
|
21
23
|
import { type Size } from "../../lib/types";
|
|
22
24
|
import { FieldPreset } from "./field-preset";
|
|
23
25
|
|
|
@@ -10,14 +10,16 @@ import {
|
|
|
10
10
|
CommandItem,
|
|
11
11
|
CommandList,
|
|
12
12
|
CommandSeparator,
|
|
13
|
-
CommandShortcut
|
|
13
|
+
CommandShortcut
|
|
14
|
+
} from "../../components/micro/command";
|
|
14
15
|
import {
|
|
15
16
|
Dialog,
|
|
16
17
|
DialogContent,
|
|
17
18
|
DialogDescription,
|
|
18
19
|
DialogHeader,
|
|
19
|
-
|
|
20
|
-
DialogTitle
|
|
20
|
+
|
|
21
|
+
DialogTitle
|
|
22
|
+
} from "../../components/micro/dialog";
|
|
21
23
|
import { cn } from "../../lib/utils";
|
|
22
24
|
|
|
23
25
|
type CommandDialogProps = Omit<
|
|
@@ -68,5 +70,6 @@ export {
|
|
|
68
70
|
CommandItem,
|
|
69
71
|
CommandList,
|
|
70
72
|
CommandSeparator,
|
|
71
|
-
CommandShortcut
|
|
73
|
+
CommandShortcut
|
|
74
|
+
};
|
|
72
75
|
export type { CommandDialogProps };
|
|
@@ -11,8 +11,9 @@ import { Calendar } from "../../components/micro/calendar";
|
|
|
11
11
|
import {
|
|
12
12
|
Popover,
|
|
13
13
|
PopoverContent,
|
|
14
|
-
|
|
15
|
-
PopoverTrigger
|
|
14
|
+
|
|
15
|
+
PopoverTrigger
|
|
16
|
+
} from "../../components/micro/popover";
|
|
16
17
|
import { type Size } from "../../lib/types";
|
|
17
18
|
import { cn } from "../../lib/utils";
|
|
18
19
|
import { FieldPreset } from "./field-preset";
|
|
@@ -12,9 +12,10 @@ import {
|
|
|
12
12
|
DialogDescription,
|
|
13
13
|
DialogFooter,
|
|
14
14
|
DialogHeader,
|
|
15
|
-
|
|
15
|
+
|
|
16
16
|
DialogTitle,
|
|
17
|
-
DialogTrigger
|
|
17
|
+
DialogTrigger
|
|
18
|
+
} from "../../components/micro/dialog";
|
|
18
19
|
import { type Size } from "../../lib/types";
|
|
19
20
|
import { cn } from "../../lib/utils";
|
|
20
21
|
|
|
@@ -14,7 +14,8 @@ import {
|
|
|
14
14
|
InputOTP,
|
|
15
15
|
InputOTPGroup,
|
|
16
16
|
InputOTPSeparator,
|
|
17
|
-
InputOTPSlot
|
|
17
|
+
InputOTPSlot
|
|
18
|
+
} from "../../components/micro/input-otp";
|
|
18
19
|
import { FieldPreset } from "./field-preset";
|
|
19
20
|
|
|
20
21
|
export type InputOTPPresetProps = Omit<
|
|
@@ -10,7 +10,8 @@ import {
|
|
|
10
10
|
InputGroupAddon,
|
|
11
11
|
InputGroupButton,
|
|
12
12
|
InputGroupInput,
|
|
13
|
-
InputGroupText
|
|
13
|
+
InputGroupText
|
|
14
|
+
} from "../../components/micro/input-group";
|
|
14
15
|
import { FieldPreset } from "./field-preset";
|
|
15
16
|
|
|
16
17
|
export type InputPresetProps = Omit<InputProps, "className"> & {
|
|
@@ -9,7 +9,8 @@ import {
|
|
|
9
9
|
PaginationItem,
|
|
10
10
|
PaginationLink,
|
|
11
11
|
PaginationNext,
|
|
12
|
-
PaginationPrevious
|
|
12
|
+
PaginationPrevious
|
|
13
|
+
} from "../../components/micro/pagination";
|
|
13
14
|
import type { Size } from "../../lib/types";
|
|
14
15
|
import { cn } from "../../lib/utils";
|
|
15
16
|
|
|
@@ -5,7 +5,8 @@ import {
|
|
|
5
5
|
ProgressIndicator,
|
|
6
6
|
ProgressLabel,
|
|
7
7
|
ProgressTrack,
|
|
8
|
-
ProgressValue
|
|
8
|
+
ProgressValue
|
|
9
|
+
} from "../../components/micro/progress";
|
|
9
10
|
|
|
10
11
|
export type ProgressPresetProps = Omit<
|
|
11
12
|
React.ComponentProps<typeof Progress>,
|
|
@@ -8,9 +8,10 @@ import {
|
|
|
8
8
|
SelectGroup,
|
|
9
9
|
SelectItem,
|
|
10
10
|
SelectLabel,
|
|
11
|
-
|
|
11
|
+
|
|
12
12
|
SelectTrigger,
|
|
13
|
-
SelectValue
|
|
13
|
+
SelectValue
|
|
14
|
+
} from "../../components/micro/select";
|
|
14
15
|
import { type Size } from "../../lib/types";
|
|
15
16
|
import { FieldPreset } from "./field-preset";
|
|
16
17
|
|
|
@@ -7,7 +7,8 @@ import {
|
|
|
7
7
|
SliderControl,
|
|
8
8
|
SliderIndicator,
|
|
9
9
|
SliderThumb,
|
|
10
|
-
SliderTrack
|
|
10
|
+
SliderTrack
|
|
11
|
+
} from "../../components/micro/slider";
|
|
11
12
|
import { FieldPreset } from "./field-preset";
|
|
12
13
|
|
|
13
14
|
export type SliderPresetProps = Omit<
|
|
@@ -6,7 +6,8 @@ import {
|
|
|
6
6
|
Field,
|
|
7
7
|
FieldDescription,
|
|
8
8
|
FieldError,
|
|
9
|
-
FieldLabel
|
|
9
|
+
FieldLabel
|
|
10
|
+
} from "../../components/micro/field";
|
|
10
11
|
import { Switch, SwitchThumb } from "../../components/micro/switch";
|
|
11
12
|
import { cn } from "../../lib/utils";
|
|
12
13
|
|