@nuxt/ui 2.18.3 → 3.0.0-alpha.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/README.md +18 -1
- package/cli/commands/init.mjs +83 -0
- package/cli/index.mjs +15 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +171 -0
- package/cli/utils.mjs +17 -0
- package/dist/module.d.mts +10 -26
- package/dist/module.d.ts +10 -26
- package/dist/module.json +3 -3
- package/dist/module.mjs +2620 -152
- package/dist/runtime/assets/css/animations.css +1 -0
- package/dist/runtime/components/Accordion.vue +67 -0
- package/dist/runtime/components/Accordion.vue.d.ts +492 -0
- package/dist/runtime/components/Alert.vue +78 -0
- package/dist/runtime/components/Alert.vue.d.ts +548 -0
- package/dist/runtime/components/App.vue +32 -0
- package/dist/runtime/components/App.vue.d.ts +25 -0
- package/dist/runtime/components/Avatar.vue +48 -0
- package/dist/runtime/components/Avatar.vue.d.ts +384 -0
- package/dist/runtime/components/AvatarGroup.vue +74 -0
- package/dist/runtime/components/AvatarGroup.vue.d.ts +381 -0
- package/dist/runtime/components/Badge.vue +24 -0
- package/dist/runtime/components/Badge.vue.d.ts +422 -0
- package/dist/runtime/components/Breadcrumb.vue +60 -0
- package/dist/runtime/components/Breadcrumb.vue.d.ts +307 -0
- package/dist/runtime/components/Button.vue +55 -0
- package/dist/runtime/components/Button.vue.d.ts +949 -0
- package/dist/runtime/components/ButtonGroup.vue +29 -0
- package/dist/runtime/components/ButtonGroup.vue.d.ts +182 -0
- package/dist/runtime/components/Card.vue +33 -0
- package/dist/runtime/components/Card.vue.d.ts +191 -0
- package/dist/runtime/components/Checkbox.vue +89 -0
- package/dist/runtime/components/Checkbox.vue.d.ts +819 -0
- package/dist/runtime/components/Chip.vue +43 -0
- package/dist/runtime/components/Chip.vue.d.ts +590 -0
- package/dist/runtime/components/Collapsible.vue +33 -0
- package/dist/runtime/components/Collapsible.vue.d.ts +159 -0
- package/dist/runtime/components/CommandPalette.vue +210 -0
- package/dist/runtime/components/CommandPalette.vue.d.ts +684 -0
- package/dist/runtime/components/Container.vue +20 -0
- package/dist/runtime/components/Container.vue.d.ts +27 -0
- package/dist/runtime/components/ContextMenu.vue +51 -0
- package/dist/runtime/components/ContextMenu.vue.d.ts +796 -0
- package/dist/runtime/components/ContextMenuContent.vue +108 -0
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +0 -0
- package/dist/runtime/components/Drawer.vue +73 -0
- package/dist/runtime/components/Drawer.vue.d.ts +343 -0
- package/dist/runtime/components/DropdownMenu.vue +55 -0
- package/dist/runtime/components/DropdownMenu.vue.d.ts +815 -0
- package/dist/runtime/components/DropdownMenuContent.vue +111 -0
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +0 -0
- package/dist/runtime/components/Form.vue +206 -0
- package/dist/runtime/components/Form.vue.d.ts +39 -0
- package/dist/runtime/components/FormField.vue +82 -0
- package/dist/runtime/components/FormField.vue.d.ts +356 -0
- package/dist/runtime/components/Icon.vue +16 -0
- package/dist/runtime/components/Icon.vue.d.ts +17 -0
- package/dist/runtime/components/Input.vue +140 -0
- package/dist/runtime/components/Input.vue.d.ts +1137 -0
- package/dist/runtime/components/InputMenu.vue +264 -0
- package/dist/runtime/components/InputMenu.vue.d.ts +2121 -0
- package/dist/runtime/components/Kbd.vue +27 -0
- package/dist/runtime/components/Kbd.vue.d.ts +169 -0
- package/dist/runtime/components/Link.vue +83 -0
- package/dist/runtime/components/Link.vue.d.ts +76 -0
- package/dist/runtime/components/LinkBase.vue +50 -0
- package/dist/runtime/components/LinkBase.vue.d.ts +49 -0
- package/dist/runtime/components/Modal.vue +100 -0
- package/dist/runtime/components/Modal.vue.d.ts +319 -0
- package/dist/runtime/components/ModalProvider.vue +12 -0
- package/dist/runtime/components/NavigationMenu.vue +125 -0
- package/dist/runtime/components/NavigationMenu.vue.d.ts +1789 -0
- package/dist/runtime/components/Pagination.vue +80 -0
- package/dist/runtime/components/Pagination.vue.d.ts +295 -0
- package/dist/runtime/components/Popover.vue +52 -0
- package/dist/runtime/components/Popover.vue.d.ts +197 -0
- package/dist/runtime/components/Progress.vue +126 -0
- package/dist/runtime/components/Progress.vue.d.ts +1781 -0
- package/dist/runtime/components/RadioGroup.vue +111 -0
- package/dist/runtime/components/RadioGroup.vue.d.ts +1715 -0
- package/dist/runtime/components/Select.vue +148 -0
- package/dist/runtime/components/Select.vue.d.ts +1569 -0
- package/dist/runtime/components/SelectMenu.vue +208 -0
- package/dist/runtime/components/SelectMenu.vue.d.ts +1661 -0
- package/dist/runtime/components/Separator.vue +47 -0
- package/dist/runtime/components/Separator.vue.d.ts +0 -0
- package/dist/runtime/components/Skeleton.vue +19 -0
- package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
- package/dist/runtime/components/Slideover.vue +101 -0
- package/dist/runtime/components/Slideover.vue.d.ts +375 -0
- package/dist/runtime/components/SlideoverProvider.vue +12 -0
- package/dist/runtime/components/Slider.vue +83 -0
- package/dist/runtime/components/Slider.vue.d.ts +0 -0
- package/dist/runtime/components/Switch.vue +80 -0
- package/dist/runtime/components/Switch.vue.d.ts +1676 -0
- package/dist/runtime/components/Tabs.vue +61 -0
- package/dist/runtime/components/Tabs.vue.d.ts +934 -0
- package/dist/runtime/components/Textarea.vue +149 -0
- package/dist/runtime/components/Textarea.vue.d.ts +1133 -0
- package/dist/runtime/components/Toast.vue +112 -0
- package/dist/runtime/components/Toast.vue.d.ts +0 -0
- package/dist/runtime/components/Toaster.vue +109 -0
- package/dist/runtime/components/Toaster.vue.d.ts +362 -0
- package/dist/runtime/components/Tooltip.vue +52 -0
- package/dist/runtime/components/Tooltip.vue.d.ts +248 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +7 -5
- package/dist/runtime/composables/defineShortcuts.js +94 -65
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +12 -17
- package/dist/runtime/composables/useButtonGroup.js +6 -56
- package/dist/runtime/composables/useComponentIcons.d.ts +26 -0
- package/dist/runtime/composables/useComponentIcons.js +26 -0
- package/dist/runtime/composables/useFormField.d.ts +31 -0
- package/dist/runtime/composables/useFormField.js +50 -0
- package/dist/runtime/composables/useKbd.d.ts +28 -0
- package/dist/runtime/composables/useKbd.js +46 -0
- package/dist/runtime/composables/useModal.d.ts +8 -4
- package/dist/runtime/composables/useModal.js +1 -0
- package/dist/runtime/composables/useSlideover.d.ts +9 -5
- package/dist/runtime/composables/useSlideover.js +3 -2
- package/dist/runtime/composables/useToast.d.ts +9 -17
- package/dist/runtime/composables/useToast.js +27 -13
- package/dist/runtime/plugins/colors.d.ts +0 -2
- package/dist/runtime/plugins/colors.js +9 -17
- package/dist/runtime/plugins/modal.d.ts +0 -0
- package/dist/runtime/plugins/slideover.d.ts +0 -0
- package/dist/runtime/plugins/{slideovers.js → slideover.js} +3 -3
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/component.d.ts +17 -14
- package/dist/runtime/types/component.js +0 -0
- package/dist/runtime/types/form.d.ts +63 -32
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/index.d.ts +41 -30
- package/dist/runtime/types/index.js +42 -31
- package/dist/runtime/types/utils.d.ts +13 -32
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/utils/form.d.ts +15 -0
- package/dist/runtime/utils/form.js +66 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +4 -10
- package/dist/runtime/utils/index.js +40 -60
- package/dist/runtime/utils/link.d.ts +58 -71
- package/dist/runtime/utils/link.js +4 -124
- package/package.json +47 -45
- package/dist/runtime/components/data/Table.vue +0 -355
- package/dist/runtime/components/data/Table.vue.d.ts +0 -439
- package/dist/runtime/components/elements/Accordion.vue +0 -185
- package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -224
- package/dist/runtime/components/elements/Alert.vue +0 -139
- package/dist/runtime/components/elements/Alert.vue.d.ts +0 -194
- package/dist/runtime/components/elements/Avatar.vue +0 -160
- package/dist/runtime/components/elements/Avatar.vue.d.ts +0 -255
- package/dist/runtime/components/elements/AvatarGroup.d.ts +0 -56
- package/dist/runtime/components/elements/AvatarGroup.js +0 -58
- package/dist/runtime/components/elements/Badge.vue +0 -75
- package/dist/runtime/components/elements/Badge.vue.d.ts +0 -109
- package/dist/runtime/components/elements/Button.vue +0 -193
- package/dist/runtime/components/elements/Button.vue.d.ts +0 -504
- package/dist/runtime/components/elements/ButtonGroup.d.ts +0 -153
- package/dist/runtime/components/elements/ButtonGroup.js +0 -51
- package/dist/runtime/components/elements/Carousel.vue +0 -165
- package/dist/runtime/components/elements/Carousel.vue.d.ts +0 -159
- package/dist/runtime/components/elements/Chip.vue +0 -85
- package/dist/runtime/components/elements/Chip.vue.d.ts +0 -162
- package/dist/runtime/components/elements/Dropdown.vue +0 -254
- package/dist/runtime/components/elements/Dropdown.vue.d.ts +0 -254
- package/dist/runtime/components/elements/Icon.vue +0 -30
- package/dist/runtime/components/elements/Icon.vue.d.ts +0 -47
- package/dist/runtime/components/elements/Kbd.vue +0 -59
- package/dist/runtime/components/elements/Kbd.vue.d.ts +0 -86
- package/dist/runtime/components/elements/Link.vue +0 -95
- package/dist/runtime/components/elements/Link.vue.d.ts +0 -225
- package/dist/runtime/components/elements/Meter.vue +0 -170
- package/dist/runtime/components/elements/Meter.vue.d.ts +0 -279
- package/dist/runtime/components/elements/MeterGroup.d.ts +0 -135
- package/dist/runtime/components/elements/MeterGroup.js +0 -159
- package/dist/runtime/components/elements/Progress.vue +0 -203
- package/dist/runtime/components/elements/Progress.vue.d.ts +0 -280
- package/dist/runtime/components/forms/Checkbox.vue +0 -143
- package/dist/runtime/components/forms/Checkbox.vue.d.ts +0 -179
- package/dist/runtime/components/forms/Form.vue +0 -222
- package/dist/runtime/components/forms/Form.vue.d.ts +0 -53
- package/dist/runtime/components/forms/FormGroup.vue +0 -128
- package/dist/runtime/components/forms/FormGroup.vue.d.ts +0 -169
- package/dist/runtime/components/forms/Input.vue +0 -300
- package/dist/runtime/components/forms/Input.vue.d.ts +0 -482
- package/dist/runtime/components/forms/InputMenu.vue +0 -439
- package/dist/runtime/components/forms/InputMenu.vue.d.ts +0 -700
- package/dist/runtime/components/forms/Radio.vue +0 -140
- package/dist/runtime/components/forms/Radio.vue.d.ts +0 -168
- package/dist/runtime/components/forms/RadioGroup.vue +0 -145
- package/dist/runtime/components/forms/RadioGroup.vue.d.ts +0 -176
- package/dist/runtime/components/forms/Range.vue +0 -173
- package/dist/runtime/components/forms/Range.vue.d.ts +0 -268
- package/dist/runtime/components/forms/Select.vue +0 -322
- package/dist/runtime/components/forms/Select.vue.d.ts +0 -471
- package/dist/runtime/components/forms/SelectMenu.vue +0 -546
- package/dist/runtime/components/forms/SelectMenu.vue.d.ts +0 -754
- package/dist/runtime/components/forms/Textarea.vue +0 -231
- package/dist/runtime/components/forms/Textarea.vue.d.ts +0 -436
- package/dist/runtime/components/forms/Toggle.vue +0 -171
- package/dist/runtime/components/forms/Toggle.vue.d.ts +0 -262
- package/dist/runtime/components/layout/Card.vue +0 -63
- package/dist/runtime/components/layout/Card.vue.d.ts +0 -89
- package/dist/runtime/components/layout/Container.vue +0 -48
- package/dist/runtime/components/layout/Container.vue.d.ts +0 -53
- package/dist/runtime/components/layout/Divider.vue +0 -108
- package/dist/runtime/components/layout/Divider.vue.d.ts +0 -198
- package/dist/runtime/components/layout/Skeleton.vue +0 -46
- package/dist/runtime/components/layout/Skeleton.vue.d.ts +0 -53
- package/dist/runtime/components/navigation/Breadcrumb.vue +0 -82
- package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +0 -95
- package/dist/runtime/components/navigation/CommandPalette.vue +0 -345
- package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +0 -390
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue +0 -152
- package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +0 -60
- package/dist/runtime/components/navigation/HorizontalNavigation.vue +0 -102
- package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +0 -99
- package/dist/runtime/components/navigation/Pagination.vue +0 -270
- package/dist/runtime/components/navigation/Pagination.vue.d.ts +0 -260
- package/dist/runtime/components/navigation/Tabs.vue +0 -160
- package/dist/runtime/components/navigation/Tabs.vue.d.ts +0 -165
- package/dist/runtime/components/navigation/VerticalNavigation.vue +0 -105
- package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +0 -113
- package/dist/runtime/components/overlays/ContextMenu.vue +0 -85
- package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +0 -126
- package/dist/runtime/components/overlays/Modal.vue +0 -122
- package/dist/runtime/components/overlays/Modal.vue.d.ts +0 -166
- package/dist/runtime/components/overlays/Modals.client.vue +0 -18
- package/dist/runtime/components/overlays/Notification.vue +0 -212
- package/dist/runtime/components/overlays/Notification.vue.d.ts +0 -235
- package/dist/runtime/components/overlays/Notifications.vue +0 -69
- package/dist/runtime/components/overlays/Notifications.vue.d.ts +0 -66
- package/dist/runtime/components/overlays/Popover.vue +0 -213
- package/dist/runtime/components/overlays/Popover.vue.d.ts +0 -220
- package/dist/runtime/components/overlays/Slideover.vue +0 -152
- package/dist/runtime/components/overlays/Slideover.vue.d.ts +0 -167
- package/dist/runtime/components/overlays/Slideovers.client.vue +0 -18
- package/dist/runtime/components/overlays/Tooltip.vue +0 -127
- package/dist/runtime/components/overlays/Tooltip.vue.d.ts +0 -165
- package/dist/runtime/composables/useCarouselScroll.d.ts +0 -2
- package/dist/runtime/composables/useCarouselScroll.js +0 -37
- package/dist/runtime/composables/useCopyToClipboard.d.ts +0 -10
- package/dist/runtime/composables/useCopyToClipboard.js +0 -26
- package/dist/runtime/composables/useFormGroup.d.ts +0 -18
- package/dist/runtime/composables/useFormGroup.js +0 -49
- package/dist/runtime/composables/usePopper.d.ts +0 -268
- package/dist/runtime/composables/usePopper.js +0 -94
- package/dist/runtime/composables/useShortcuts.d.ts +0 -12
- package/dist/runtime/composables/useShortcuts.js +0 -26
- package/dist/runtime/composables/useTimer.d.ts +0 -8
- package/dist/runtime/composables/useTimer.js +0 -51
- package/dist/runtime/composables/useUI.d.ts +0 -10
- package/dist/runtime/composables/useUI.js +0 -24
- package/dist/runtime/plugins/modals.d.ts +0 -2
- package/dist/runtime/plugins/slideovers.d.ts +0 -2
- package/dist/runtime/types/accordion.d.ts +0 -9
- package/dist/runtime/types/alert.d.ts +0 -12
- package/dist/runtime/types/avatar.d.ts +0 -17
- package/dist/runtime/types/badge.d.ts +0 -15
- package/dist/runtime/types/breadcrumb.d.ts +0 -10
- package/dist/runtime/types/button.d.ts +0 -31
- package/dist/runtime/types/chip.d.ts +0 -15
- package/dist/runtime/types/clipboard.d.ts +0 -3
- package/dist/runtime/types/command-palette.d.ts +0 -29
- package/dist/runtime/types/divider.d.ts +0 -3
- package/dist/runtime/types/dropdown.d.ts +0 -15
- package/dist/runtime/types/form-group.d.ts +0 -5
- package/dist/runtime/types/horizontal-navigation.d.ts +0 -13
- package/dist/runtime/types/input.d.ts +0 -8
- package/dist/runtime/types/kbd.d.ts +0 -5
- package/dist/runtime/types/link.d.ts +0 -12
- package/dist/runtime/types/meter.d.ts +0 -5
- package/dist/runtime/types/modal.d.ts +0 -18
- package/dist/runtime/types/notification.d.ts +0 -24
- package/dist/runtime/types/popper.d.ts +0 -17
- package/dist/runtime/types/progress.d.ts +0 -6
- package/dist/runtime/types/range.d.ts +0 -7
- package/dist/runtime/types/select.d.ts +0 -8
- package/dist/runtime/types/slideover.d.ts +0 -16
- package/dist/runtime/types/tabs.d.ts +0 -8
- package/dist/runtime/types/textarea.d.ts +0 -8
- package/dist/runtime/types/toggle.d.ts +0 -7
- package/dist/runtime/types/tooltip.d.ts +0 -7
- package/dist/runtime/types/vertical-navigation.d.ts +0 -13
- package/dist/runtime/ui.config/data/table.d.ts +0 -81
- package/dist/runtime/ui.config/data/table.js +0 -80
- package/dist/runtime/ui.config/elements/accordion.d.ts +0 -23
- package/dist/runtime/ui.config/elements/accordion.js +0 -22
- package/dist/runtime/ui.config/elements/alert.d.ts +0 -41
- package/dist/runtime/ui.config/elements/alert.js +0 -40
- package/dist/runtime/ui.config/elements/avatar.d.ts +0 -60
- package/dist/runtime/ui.config/elements/avatar.js +0 -59
- package/dist/runtime/ui.config/elements/avatarGroup.d.ts +0 -6
- package/dist/runtime/ui.config/elements/avatarGroup.js +0 -5
- package/dist/runtime/ui.config/elements/badge.d.ts +0 -34
- package/dist/runtime/ui.config/elements/badge.js +0 -33
- package/dist/runtime/ui.config/elements/button.d.ts +0 -81
- package/dist/runtime/ui.config/elements/button.js +0 -80
- package/dist/runtime/ui.config/elements/buttonGroup.d.ts +0 -101
- package/dist/runtime/ui.config/elements/buttonGroup.js +0 -19
- package/dist/runtime/ui.config/elements/carousel.d.ts +0 -27
- package/dist/runtime/ui.config/elements/carousel.js +0 -26
- package/dist/runtime/ui.config/elements/chip.d.ts +0 -35
- package/dist/runtime/ui.config/elements/chip.js +0 -34
- package/dist/runtime/ui.config/elements/dropdown.d.ts +0 -59
- package/dist/runtime/ui.config/elements/dropdown.js +0 -57
- package/dist/runtime/ui.config/elements/kbd.d.ts +0 -17
- package/dist/runtime/ui.config/elements/kbd.js +0 -16
- package/dist/runtime/ui.config/elements/meter.d.ts +0 -77
- package/dist/runtime/ui.config/elements/meter.js +0 -76
- package/dist/runtime/ui.config/elements/meterGroup.d.ts +0 -52
- package/dist/runtime/ui.config/elements/meterGroup.js +0 -24
- package/dist/runtime/ui.config/elements/progress.d.ts +0 -75
- package/dist/runtime/ui.config/elements/progress.js +0 -74
- package/dist/runtime/ui.config/forms/checkbox.d.ts +0 -19
- package/dist/runtime/ui.config/forms/checkbox.js +0 -18
- package/dist/runtime/ui.config/forms/formGroup.d.ts +0 -26
- package/dist/runtime/ui.config/forms/formGroup.js +0 -26
- package/dist/runtime/ui.config/forms/input.d.ts +0 -110
- package/dist/runtime/ui.config/forms/input.js +0 -109
- package/dist/runtime/ui.config/forms/inputMenu.d.ts +0 -64
- package/dist/runtime/ui.config/forms/inputMenu.js +0 -62
- package/dist/runtime/ui.config/forms/radio.d.ts +0 -18
- package/dist/runtime/ui.config/forms/radio.js +0 -17
- package/dist/runtime/ui.config/forms/radioGroup.d.ts +0 -9
- package/dist/runtime/ui.config/forms/radioGroup.js +0 -8
- package/dist/runtime/ui.config/forms/range.d.ts +0 -64
- package/dist/runtime/ui.config/forms/range.js +0 -63
- package/dist/runtime/ui.config/forms/select.d.ts +0 -111
- package/dist/runtime/ui.config/forms/select.js +0 -13
- package/dist/runtime/ui.config/forms/selectMenu.d.ts +0 -70
- package/dist/runtime/ui.config/forms/selectMenu.js +0 -32
- package/dist/runtime/ui.config/forms/textarea.d.ts +0 -109
- package/dist/runtime/ui.config/forms/textarea.js +0 -10
- package/dist/runtime/ui.config/forms/toggle.d.ts +0 -63
- package/dist/runtime/ui.config/forms/toggle.js +0 -62
- package/dist/runtime/ui.config/index.d.ts +0 -43
- package/dist/runtime/ui.config/index.js +0 -43
- package/dist/runtime/ui.config/layout/card.d.ts +0 -24
- package/dist/runtime/ui.config/layout/card.js +0 -23
- package/dist/runtime/ui.config/layout/container.d.ts +0 -6
- package/dist/runtime/ui.config/layout/container.js +0 -5
- package/dist/runtime/ui.config/layout/divider.d.ts +0 -52
- package/dist/runtime/ui.config/layout/divider.js +0 -51
- package/dist/runtime/ui.config/layout/skeleton.d.ts +0 -6
- package/dist/runtime/ui.config/layout/skeleton.js +0 -5
- package/dist/runtime/ui.config/navigation/breadcrumb.d.ts +0 -21
- package/dist/runtime/ui.config/navigation/breadcrumb.js +0 -20
- package/dist/runtime/ui.config/navigation/commandPalette.d.ts +0 -72
- package/dist/runtime/ui.config/navigation/commandPalette.js +0 -71
- package/dist/runtime/ui.config/navigation/horizontalNavigation.d.ts +0 -27
- package/dist/runtime/ui.config/navigation/horizontalNavigation.js +0 -26
- package/dist/runtime/ui.config/navigation/pagination.d.ts +0 -35
- package/dist/runtime/ui.config/navigation/pagination.js +0 -34
- package/dist/runtime/ui.config/navigation/tabs.d.ts +0 -35
- package/dist/runtime/ui.config/navigation/tabs.js +0 -34
- package/dist/runtime/ui.config/navigation/verticalNavigation.d.ts +0 -34
- package/dist/runtime/ui.config/navigation/verticalNavigation.js +0 -33
- package/dist/runtime/ui.config/overlays/contextMenu.d.ts +0 -31
- package/dist/runtime/ui.config/overlays/contextMenu.js +0 -25
- package/dist/runtime/ui.config/overlays/modal.d.ts +0 -36
- package/dist/runtime/ui.config/overlays/modal.js +0 -37
- package/dist/runtime/ui.config/overlays/notification.d.ts +0 -50
- package/dist/runtime/ui.config/overlays/notification.js +0 -50
- package/dist/runtime/ui.config/overlays/notifications.d.ts +0 -7
- package/dist/runtime/ui.config/overlays/notifications.js +0 -6
- package/dist/runtime/ui.config/overlays/popover.d.ts +0 -47
- package/dist/runtime/ui.config/overlays/popover.js +0 -41
- package/dist/runtime/ui.config/overlays/slideover.d.ts +0 -35
- package/dist/runtime/ui.config/overlays/slideover.js +0 -36
- package/dist/runtime/ui.config/overlays/tooltip.d.ts +0 -37
- package/dist/runtime/ui.config/overlays/tooltip.js +0 -34
- package/dist/runtime/ui.config/popper.d.ts +0 -8
- package/dist/runtime/ui.config/popper.js +0 -9
- package/dist/runtime/ui.css +0 -1
- package/dist/runtime/utils/colors.d.ts +0 -11
- package/dist/runtime/utils/colors.js +0 -299
- package/dist/runtime/utils/lodash.d.ts +0 -2
- package/dist/runtime/utils/lodash.js +0 -23
- package/dist/runtime/plugins/{modals.js → modal.js} +1 -1
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative overflow-x-auto",
|
|
3
|
-
base: "min-w-full table-fixed",
|
|
4
|
-
divide: "divide-y divide-gray-300 dark:divide-gray-700",
|
|
5
|
-
thead: "relative",
|
|
6
|
-
tbody: "divide-y divide-gray-200 dark:divide-gray-800",
|
|
7
|
-
caption: "sr-only",
|
|
8
|
-
tr: {
|
|
9
|
-
base: "",
|
|
10
|
-
selected: "bg-gray-50 dark:bg-gray-800/50",
|
|
11
|
-
active: "hover:bg-gray-50 dark:hover:bg-gray-800/50 cursor-pointer"
|
|
12
|
-
},
|
|
13
|
-
th: {
|
|
14
|
-
base: "text-left rtl:text-right",
|
|
15
|
-
padding: "px-4 py-3.5",
|
|
16
|
-
color: "text-gray-900 dark:text-white",
|
|
17
|
-
font: "font-semibold",
|
|
18
|
-
size: "text-sm"
|
|
19
|
-
},
|
|
20
|
-
td: {
|
|
21
|
-
base: "whitespace-nowrap",
|
|
22
|
-
padding: "px-4 py-4",
|
|
23
|
-
color: "text-gray-500 dark:text-gray-400",
|
|
24
|
-
font: "",
|
|
25
|
-
size: "text-sm"
|
|
26
|
-
},
|
|
27
|
-
checkbox: {
|
|
28
|
-
padding: "ps-4"
|
|
29
|
-
},
|
|
30
|
-
loadingState: {
|
|
31
|
-
wrapper: "flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",
|
|
32
|
-
label: "text-sm text-center text-gray-900 dark:text-white",
|
|
33
|
-
icon: "w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4 animate-spin"
|
|
34
|
-
},
|
|
35
|
-
emptyState: {
|
|
36
|
-
wrapper: "flex flex-col items-center justify-center flex-1 px-6 py-14 sm:px-14",
|
|
37
|
-
label: "text-sm text-center text-gray-900 dark:text-white",
|
|
38
|
-
icon: "w-6 h-6 mx-auto text-gray-400 dark:text-gray-500 mb-4"
|
|
39
|
-
},
|
|
40
|
-
expand: {
|
|
41
|
-
icon: "transform transition-transform duration-200"
|
|
42
|
-
},
|
|
43
|
-
progress: {
|
|
44
|
-
wrapper: "absolute inset-x-0 -bottom-[0.5px] p-0"
|
|
45
|
-
},
|
|
46
|
-
default: {
|
|
47
|
-
sortAscIcon: "i-heroicons-bars-arrow-up-20-solid",
|
|
48
|
-
sortDescIcon: "i-heroicons-bars-arrow-down-20-solid",
|
|
49
|
-
sortButton: {
|
|
50
|
-
icon: "i-heroicons-arrows-up-down-20-solid",
|
|
51
|
-
trailing: true,
|
|
52
|
-
square: true,
|
|
53
|
-
color: "gray",
|
|
54
|
-
variant: "ghost",
|
|
55
|
-
class: "-m-1.5"
|
|
56
|
-
},
|
|
57
|
-
expandButton: {
|
|
58
|
-
icon: "i-heroicons-chevron-down",
|
|
59
|
-
color: "gray",
|
|
60
|
-
variant: "ghost",
|
|
61
|
-
size: "xs",
|
|
62
|
-
class: "-my-1.5 align-middle"
|
|
63
|
-
},
|
|
64
|
-
checkbox: {
|
|
65
|
-
color: "primary"
|
|
66
|
-
},
|
|
67
|
-
progress: {
|
|
68
|
-
color: "primary",
|
|
69
|
-
animation: "carousel"
|
|
70
|
-
},
|
|
71
|
-
loadingState: {
|
|
72
|
-
icon: "i-heroicons-arrow-path-20-solid",
|
|
73
|
-
label: "Loading..."
|
|
74
|
-
},
|
|
75
|
-
emptyState: {
|
|
76
|
-
icon: "i-heroicons-circle-stack-20-solid",
|
|
77
|
-
label: "No items."
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
container: string;
|
|
4
|
-
item: {
|
|
5
|
-
base: string;
|
|
6
|
-
size: string;
|
|
7
|
-
color: string;
|
|
8
|
-
padding: string;
|
|
9
|
-
icon: string;
|
|
10
|
-
};
|
|
11
|
-
transition: {
|
|
12
|
-
enterActiveClass: string;
|
|
13
|
-
leaveActiveClass: string;
|
|
14
|
-
};
|
|
15
|
-
default: {
|
|
16
|
-
openIcon: string;
|
|
17
|
-
closeIcon: string;
|
|
18
|
-
class: string;
|
|
19
|
-
variant: "soft";
|
|
20
|
-
truncate: boolean;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export default _default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "w-full flex flex-col",
|
|
3
|
-
container: "w-full flex flex-col",
|
|
4
|
-
item: {
|
|
5
|
-
base: "",
|
|
6
|
-
size: "text-sm",
|
|
7
|
-
color: "text-gray-500 dark:text-gray-400",
|
|
8
|
-
padding: "pt-1.5 pb-3",
|
|
9
|
-
icon: "ms-auto transform transition-transform duration-200 flex-shrink-0"
|
|
10
|
-
},
|
|
11
|
-
transition: {
|
|
12
|
-
enterActiveClass: "overflow-hidden transition-[height] duration-200 ease-out",
|
|
13
|
-
leaveActiveClass: "overflow-hidden transition-[height] duration-200 ease-out"
|
|
14
|
-
},
|
|
15
|
-
default: {
|
|
16
|
-
openIcon: "i-heroicons-chevron-down-20-solid",
|
|
17
|
-
closeIcon: "",
|
|
18
|
-
class: "mb-1.5 w-full",
|
|
19
|
-
variant: "soft",
|
|
20
|
-
truncate: true
|
|
21
|
-
}
|
|
22
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
inner: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description: string;
|
|
6
|
-
actions: string;
|
|
7
|
-
shadow: string;
|
|
8
|
-
rounded: string;
|
|
9
|
-
padding: string;
|
|
10
|
-
gap: string;
|
|
11
|
-
icon: {
|
|
12
|
-
base: string;
|
|
13
|
-
};
|
|
14
|
-
avatar: {
|
|
15
|
-
base: string;
|
|
16
|
-
size: "md";
|
|
17
|
-
};
|
|
18
|
-
color: {
|
|
19
|
-
white: {
|
|
20
|
-
solid: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
variant: {
|
|
24
|
-
solid: string;
|
|
25
|
-
outline: string;
|
|
26
|
-
soft: string;
|
|
27
|
-
subtle: string;
|
|
28
|
-
};
|
|
29
|
-
default: {
|
|
30
|
-
color: string;
|
|
31
|
-
variant: string;
|
|
32
|
-
icon: any;
|
|
33
|
-
closeButton: any;
|
|
34
|
-
actionButton: {
|
|
35
|
-
size: "xs";
|
|
36
|
-
color: "primary";
|
|
37
|
-
variant: "link";
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "w-full relative overflow-hidden",
|
|
3
|
-
inner: "w-0 flex-1",
|
|
4
|
-
title: "text-sm font-medium",
|
|
5
|
-
description: "mt-1 text-sm leading-4 opacity-90",
|
|
6
|
-
actions: "flex items-center gap-2 mt-3 flex-shrink-0",
|
|
7
|
-
shadow: "",
|
|
8
|
-
rounded: "rounded-lg",
|
|
9
|
-
padding: "p-4",
|
|
10
|
-
gap: "gap-3",
|
|
11
|
-
icon: {
|
|
12
|
-
base: "flex-shrink-0 w-5 h-5"
|
|
13
|
-
},
|
|
14
|
-
avatar: {
|
|
15
|
-
base: "flex-shrink-0 self-center",
|
|
16
|
-
size: "md"
|
|
17
|
-
},
|
|
18
|
-
color: {
|
|
19
|
-
white: {
|
|
20
|
-
solid: "text-gray-900 dark:text-white bg-white dark:bg-gray-900 ring-1 ring-gray-200 dark:ring-gray-800"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
variant: {
|
|
24
|
-
solid: "bg-{color}-500 dark:bg-{color}-400 text-white dark:text-gray-900",
|
|
25
|
-
outline: "text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400",
|
|
26
|
-
soft: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",
|
|
27
|
-
subtle: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"
|
|
28
|
-
},
|
|
29
|
-
default: {
|
|
30
|
-
color: "white",
|
|
31
|
-
variant: "solid",
|
|
32
|
-
icon: null,
|
|
33
|
-
closeButton: null,
|
|
34
|
-
actionButton: {
|
|
35
|
-
size: "xs",
|
|
36
|
-
color: "primary",
|
|
37
|
-
variant: "link"
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
};
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
background: string;
|
|
4
|
-
rounded: string;
|
|
5
|
-
text: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
size: {
|
|
8
|
-
'3xs': string;
|
|
9
|
-
'2xs': string;
|
|
10
|
-
xs: string;
|
|
11
|
-
sm: string;
|
|
12
|
-
md: string;
|
|
13
|
-
lg: string;
|
|
14
|
-
xl: string;
|
|
15
|
-
'2xl': string;
|
|
16
|
-
'3xl': string;
|
|
17
|
-
};
|
|
18
|
-
chip: {
|
|
19
|
-
base: string;
|
|
20
|
-
background: string;
|
|
21
|
-
position: {
|
|
22
|
-
'top-right': string;
|
|
23
|
-
'bottom-right': string;
|
|
24
|
-
'top-left': string;
|
|
25
|
-
'bottom-left': string;
|
|
26
|
-
};
|
|
27
|
-
size: {
|
|
28
|
-
'3xs': string;
|
|
29
|
-
'2xs': string;
|
|
30
|
-
xs: string;
|
|
31
|
-
sm: string;
|
|
32
|
-
md: string;
|
|
33
|
-
lg: string;
|
|
34
|
-
xl: string;
|
|
35
|
-
'2xl': string;
|
|
36
|
-
'3xl': string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
icon: {
|
|
40
|
-
base: string;
|
|
41
|
-
size: {
|
|
42
|
-
'3xs': string;
|
|
43
|
-
'2xs': string;
|
|
44
|
-
xs: string;
|
|
45
|
-
sm: string;
|
|
46
|
-
md: string;
|
|
47
|
-
lg: string;
|
|
48
|
-
xl: string;
|
|
49
|
-
'2xl': string;
|
|
50
|
-
'3xl': string;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
default: {
|
|
54
|
-
size: string;
|
|
55
|
-
icon: any;
|
|
56
|
-
chipColor: any;
|
|
57
|
-
chipPosition: string;
|
|
58
|
-
};
|
|
59
|
-
};
|
|
60
|
-
export default _default;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative inline-flex items-center justify-center flex-shrink-0",
|
|
3
|
-
background: "bg-gray-100 dark:bg-gray-800",
|
|
4
|
-
rounded: "rounded-full",
|
|
5
|
-
text: "font-medium leading-none text-gray-900 dark:text-white truncate",
|
|
6
|
-
placeholder: "font-medium leading-none text-gray-500 dark:text-gray-400 truncate",
|
|
7
|
-
size: {
|
|
8
|
-
"3xs": "h-4 w-4 text-[8px]",
|
|
9
|
-
"2xs": "h-5 w-5 text-[10px]",
|
|
10
|
-
xs: "h-6 w-6 text-xs",
|
|
11
|
-
sm: "h-8 w-8 text-sm",
|
|
12
|
-
md: "h-10 w-10 text-base",
|
|
13
|
-
lg: "h-12 w-12 text-lg",
|
|
14
|
-
xl: "h-14 w-14 text-xl",
|
|
15
|
-
"2xl": "h-16 w-16 text-2xl",
|
|
16
|
-
"3xl": "h-20 w-20 text-3xl"
|
|
17
|
-
},
|
|
18
|
-
chip: {
|
|
19
|
-
base: "absolute rounded-full ring-1 ring-white dark:ring-gray-900 flex items-center justify-center text-white dark:text-gray-900 font-medium",
|
|
20
|
-
background: "bg-{color}-500 dark:bg-{color}-400",
|
|
21
|
-
position: {
|
|
22
|
-
"top-right": "top-0 right-0",
|
|
23
|
-
"bottom-right": "bottom-0 right-0",
|
|
24
|
-
"top-left": "top-0 left-0",
|
|
25
|
-
"bottom-left": "bottom-0 left-0"
|
|
26
|
-
},
|
|
27
|
-
size: {
|
|
28
|
-
"3xs": "h-[4px] min-w-[4px] text-[4px] p-px",
|
|
29
|
-
"2xs": "h-[5px] min-w-[5px] text-[5px] p-px",
|
|
30
|
-
xs: "h-1.5 min-w-[0.375rem] text-[6px] p-px",
|
|
31
|
-
sm: "h-2 min-w-[0.5rem] text-[7px] p-0.5",
|
|
32
|
-
md: "h-2.5 min-w-[0.625rem] text-[8px] p-0.5",
|
|
33
|
-
lg: "h-3 min-w-[0.75rem] text-[10px] p-0.5",
|
|
34
|
-
xl: "h-3.5 min-w-[0.875rem] text-[11px] p-1",
|
|
35
|
-
"2xl": "h-4 min-w-[1rem] text-[12px] p-1",
|
|
36
|
-
"3xl": "h-5 min-w-[1.25rem] text-[14px] p-1"
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
icon: {
|
|
40
|
-
base: "text-gray-500 dark:text-gray-400 flex-shrink-0",
|
|
41
|
-
size: {
|
|
42
|
-
"3xs": "h-2 w-2",
|
|
43
|
-
"2xs": "h-2.5 w-2.5",
|
|
44
|
-
xs: "h-3 w-3",
|
|
45
|
-
sm: "h-4 w-4",
|
|
46
|
-
md: "h-5 w-5",
|
|
47
|
-
lg: "h-6 w-6",
|
|
48
|
-
xl: "h-7 w-7",
|
|
49
|
-
"2xl": "h-8 w-8",
|
|
50
|
-
"3xl": "h-10 w-10"
|
|
51
|
-
}
|
|
52
|
-
},
|
|
53
|
-
default: {
|
|
54
|
-
size: "sm",
|
|
55
|
-
icon: null,
|
|
56
|
-
chipColor: null,
|
|
57
|
-
chipPosition: "top-right"
|
|
58
|
-
}
|
|
59
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
base: string;
|
|
3
|
-
rounded: string;
|
|
4
|
-
font: string;
|
|
5
|
-
size: {
|
|
6
|
-
xs: string;
|
|
7
|
-
sm: string;
|
|
8
|
-
md: string;
|
|
9
|
-
lg: string;
|
|
10
|
-
};
|
|
11
|
-
color: {
|
|
12
|
-
white: {
|
|
13
|
-
solid: string;
|
|
14
|
-
};
|
|
15
|
-
gray: {
|
|
16
|
-
solid: string;
|
|
17
|
-
};
|
|
18
|
-
black: {
|
|
19
|
-
solid: string;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
variant: {
|
|
23
|
-
solid: string;
|
|
24
|
-
outline: string;
|
|
25
|
-
soft: string;
|
|
26
|
-
subtle: string;
|
|
27
|
-
};
|
|
28
|
-
default: {
|
|
29
|
-
size: string;
|
|
30
|
-
variant: string;
|
|
31
|
-
color: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
export default _default;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
base: "inline-flex items-center",
|
|
3
|
-
rounded: "rounded-md",
|
|
4
|
-
font: "font-medium",
|
|
5
|
-
size: {
|
|
6
|
-
xs: "text-xs px-1.5 py-0.5",
|
|
7
|
-
sm: "text-xs px-2 py-1",
|
|
8
|
-
md: "text-sm px-2 py-1",
|
|
9
|
-
lg: "text-sm px-2.5 py-1.5"
|
|
10
|
-
},
|
|
11
|
-
color: {
|
|
12
|
-
white: {
|
|
13
|
-
solid: "ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white dark:bg-gray-900"
|
|
14
|
-
},
|
|
15
|
-
gray: {
|
|
16
|
-
solid: "ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 dark:bg-gray-800"
|
|
17
|
-
},
|
|
18
|
-
black: {
|
|
19
|
-
solid: "text-white dark:text-gray-900 bg-gray-900 dark:bg-white"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
variant: {
|
|
23
|
-
solid: "bg-{color}-500 dark:bg-{color}-400 text-white dark:text-gray-900",
|
|
24
|
-
outline: "text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400",
|
|
25
|
-
soft: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400",
|
|
26
|
-
subtle: "bg-{color}-50 dark:bg-{color}-400 dark:bg-opacity-10 text-{color}-500 dark:text-{color}-400 ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 ring-opacity-25 dark:ring-opacity-25"
|
|
27
|
-
},
|
|
28
|
-
default: {
|
|
29
|
-
size: "sm",
|
|
30
|
-
variant: "solid",
|
|
31
|
-
color: "primary"
|
|
32
|
-
}
|
|
33
|
-
};
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
base: string;
|
|
3
|
-
font: string;
|
|
4
|
-
rounded: string;
|
|
5
|
-
truncate: string;
|
|
6
|
-
block: string;
|
|
7
|
-
inline: string;
|
|
8
|
-
size: {
|
|
9
|
-
'2xs': string;
|
|
10
|
-
xs: string;
|
|
11
|
-
sm: string;
|
|
12
|
-
md: string;
|
|
13
|
-
lg: string;
|
|
14
|
-
xl: string;
|
|
15
|
-
};
|
|
16
|
-
gap: {
|
|
17
|
-
'2xs': string;
|
|
18
|
-
xs: string;
|
|
19
|
-
sm: string;
|
|
20
|
-
md: string;
|
|
21
|
-
lg: string;
|
|
22
|
-
xl: string;
|
|
23
|
-
};
|
|
24
|
-
padding: {
|
|
25
|
-
'2xs': string;
|
|
26
|
-
xs: string;
|
|
27
|
-
sm: string;
|
|
28
|
-
md: string;
|
|
29
|
-
lg: string;
|
|
30
|
-
xl: string;
|
|
31
|
-
};
|
|
32
|
-
square: {
|
|
33
|
-
'2xs': string;
|
|
34
|
-
xs: string;
|
|
35
|
-
sm: string;
|
|
36
|
-
md: string;
|
|
37
|
-
lg: string;
|
|
38
|
-
xl: string;
|
|
39
|
-
};
|
|
40
|
-
color: {
|
|
41
|
-
white: {
|
|
42
|
-
solid: string;
|
|
43
|
-
ghost: string;
|
|
44
|
-
};
|
|
45
|
-
gray: {
|
|
46
|
-
solid: string;
|
|
47
|
-
ghost: string;
|
|
48
|
-
link: string;
|
|
49
|
-
};
|
|
50
|
-
black: {
|
|
51
|
-
solid: string;
|
|
52
|
-
link: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
variant: {
|
|
56
|
-
solid: string;
|
|
57
|
-
outline: string;
|
|
58
|
-
soft: string;
|
|
59
|
-
ghost: string;
|
|
60
|
-
link: string;
|
|
61
|
-
};
|
|
62
|
-
icon: {
|
|
63
|
-
base: string;
|
|
64
|
-
loading: string;
|
|
65
|
-
size: {
|
|
66
|
-
'2xs': string;
|
|
67
|
-
xs: string;
|
|
68
|
-
sm: string;
|
|
69
|
-
md: string;
|
|
70
|
-
lg: string;
|
|
71
|
-
xl: string;
|
|
72
|
-
};
|
|
73
|
-
};
|
|
74
|
-
default: {
|
|
75
|
-
size: string;
|
|
76
|
-
variant: string;
|
|
77
|
-
color: string;
|
|
78
|
-
loadingIcon: string;
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
export default _default;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
base: "focus:outline-none focus-visible:outline-0 disabled:cursor-not-allowed disabled:opacity-75 flex-shrink-0",
|
|
3
|
-
font: "font-medium",
|
|
4
|
-
rounded: "rounded-md",
|
|
5
|
-
truncate: "text-left break-all line-clamp-1",
|
|
6
|
-
block: "w-full flex justify-center items-center",
|
|
7
|
-
inline: "inline-flex items-center",
|
|
8
|
-
size: {
|
|
9
|
-
"2xs": "text-xs",
|
|
10
|
-
xs: "text-xs",
|
|
11
|
-
sm: "text-sm",
|
|
12
|
-
md: "text-sm",
|
|
13
|
-
lg: "text-sm",
|
|
14
|
-
xl: "text-base"
|
|
15
|
-
},
|
|
16
|
-
gap: {
|
|
17
|
-
"2xs": "gap-x-1",
|
|
18
|
-
xs: "gap-x-1.5",
|
|
19
|
-
sm: "gap-x-1.5",
|
|
20
|
-
md: "gap-x-2",
|
|
21
|
-
lg: "gap-x-2.5",
|
|
22
|
-
xl: "gap-x-2.5"
|
|
23
|
-
},
|
|
24
|
-
padding: {
|
|
25
|
-
"2xs": "px-2 py-1",
|
|
26
|
-
xs: "px-2.5 py-1.5",
|
|
27
|
-
sm: "px-2.5 py-1.5",
|
|
28
|
-
md: "px-3 py-2",
|
|
29
|
-
lg: "px-3.5 py-2.5",
|
|
30
|
-
xl: "px-3.5 py-2.5"
|
|
31
|
-
},
|
|
32
|
-
square: {
|
|
33
|
-
"2xs": "p-1",
|
|
34
|
-
xs: "p-1.5",
|
|
35
|
-
sm: "p-1.5",
|
|
36
|
-
md: "p-2",
|
|
37
|
-
lg: "p-2.5",
|
|
38
|
-
xl: "p-2.5"
|
|
39
|
-
},
|
|
40
|
-
color: {
|
|
41
|
-
white: {
|
|
42
|
-
solid: "shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-900 dark:text-white bg-white hover:bg-gray-50 disabled:bg-white dark:bg-gray-900 dark:hover:bg-gray-800/50 dark:disabled:bg-gray-900 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
43
|
-
ghost: "text-gray-900 dark:text-white hover:bg-white dark:hover:bg-gray-900 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
44
|
-
},
|
|
45
|
-
gray: {
|
|
46
|
-
solid: "shadow-sm ring-1 ring-inset ring-gray-300 dark:ring-gray-700 text-gray-700 dark:text-gray-200 bg-gray-50 hover:bg-gray-100 disabled:bg-gray-50 dark:bg-gray-800 dark:hover:bg-gray-700/50 dark:disabled:bg-gray-800 focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
47
|
-
ghost: "text-gray-700 dark:text-gray-200 hover:text-gray-900 dark:hover:text-white hover:bg-gray-50 dark:hover:bg-gray-800 focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
48
|
-
link: "text-gray-500 dark:text-gray-400 hover:text-gray-700 dark:hover:text-gray-200 underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
49
|
-
},
|
|
50
|
-
black: {
|
|
51
|
-
solid: "shadow-sm text-white dark:text-gray-900 bg-gray-900 hover:bg-gray-800 disabled:bg-gray-900 dark:bg-white dark:hover:bg-gray-100 dark:disabled:bg-white focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400",
|
|
52
|
-
link: "text-gray-900 dark:text-white underline-offset-4 hover:underline focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-primary-500 dark:focus-visible:ring-primary-400"
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
variant: {
|
|
56
|
-
solid: "shadow-sm text-white dark:text-gray-900 bg-{color}-500 hover:bg-{color}-600 disabled:bg-{color}-500 dark:bg-{color}-400 dark:hover:bg-{color}-500 dark:disabled:bg-{color}-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-{color}-500 dark:focus-visible:outline-{color}-400",
|
|
57
|
-
outline: "ring-1 ring-inset ring-current text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
58
|
-
soft: "text-{color}-500 dark:text-{color}-400 bg-{color}-50 hover:bg-{color}-100 disabled:bg-{color}-50 dark:bg-{color}-950 dark:hover:bg-{color}-900 dark:disabled:bg-{color}-950 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
59
|
-
ghost: "text-{color}-500 dark:text-{color}-400 hover:bg-{color}-50 disabled:bg-transparent dark:hover:bg-{color}-950 dark:disabled:bg-transparent focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400",
|
|
60
|
-
link: "text-{color}-500 hover:text-{color}-600 disabled:text-{color}-500 dark:text-{color}-400 dark:hover:text-{color}-500 dark:disabled:text-{color}-400 underline-offset-4 hover:underline focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400"
|
|
61
|
-
},
|
|
62
|
-
icon: {
|
|
63
|
-
base: "flex-shrink-0",
|
|
64
|
-
loading: "animate-spin",
|
|
65
|
-
size: {
|
|
66
|
-
"2xs": "h-4 w-4",
|
|
67
|
-
xs: "h-4 w-4",
|
|
68
|
-
sm: "h-5 w-5",
|
|
69
|
-
md: "h-5 w-5",
|
|
70
|
-
lg: "h-5 w-5",
|
|
71
|
-
xl: "h-6 w-6"
|
|
72
|
-
}
|
|
73
|
-
},
|
|
74
|
-
default: {
|
|
75
|
-
size: "sm",
|
|
76
|
-
variant: "solid",
|
|
77
|
-
color: "primary",
|
|
78
|
-
loadingIcon: "i-heroicons-arrow-path-20-solid"
|
|
79
|
-
}
|
|
80
|
-
};
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: {
|
|
3
|
-
horizontal: string;
|
|
4
|
-
vertical: string;
|
|
5
|
-
};
|
|
6
|
-
rounded: string;
|
|
7
|
-
shadow: string;
|
|
8
|
-
orientation: {
|
|
9
|
-
'rounded-none': {
|
|
10
|
-
horizontal: {
|
|
11
|
-
start: string;
|
|
12
|
-
end: string;
|
|
13
|
-
};
|
|
14
|
-
vertical: {
|
|
15
|
-
start: string;
|
|
16
|
-
end: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
'rounded-sm': {
|
|
20
|
-
horizontal: {
|
|
21
|
-
start: string;
|
|
22
|
-
end: string;
|
|
23
|
-
};
|
|
24
|
-
vertical: {
|
|
25
|
-
start: string;
|
|
26
|
-
end: string;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
rounded: {
|
|
30
|
-
horizontal: {
|
|
31
|
-
start: string;
|
|
32
|
-
end: string;
|
|
33
|
-
};
|
|
34
|
-
vertical: {
|
|
35
|
-
start: string;
|
|
36
|
-
end: string;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
39
|
-
'rounded-md': {
|
|
40
|
-
horizontal: {
|
|
41
|
-
start: string;
|
|
42
|
-
end: string;
|
|
43
|
-
};
|
|
44
|
-
vertical: {
|
|
45
|
-
start: string;
|
|
46
|
-
end: string;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
'rounded-lg': {
|
|
50
|
-
horizontal: {
|
|
51
|
-
start: string;
|
|
52
|
-
end: string;
|
|
53
|
-
};
|
|
54
|
-
vertical: {
|
|
55
|
-
start: string;
|
|
56
|
-
end: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
'rounded-xl': {
|
|
60
|
-
horizontal: {
|
|
61
|
-
start: string;
|
|
62
|
-
end: string;
|
|
63
|
-
};
|
|
64
|
-
vertical: {
|
|
65
|
-
start: string;
|
|
66
|
-
end: string;
|
|
67
|
-
};
|
|
68
|
-
};
|
|
69
|
-
'rounded-2xl': {
|
|
70
|
-
horizontal: {
|
|
71
|
-
start: string;
|
|
72
|
-
end: string;
|
|
73
|
-
};
|
|
74
|
-
vertical: {
|
|
75
|
-
start: string;
|
|
76
|
-
end: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
'rounded-3xl': {
|
|
80
|
-
horizontal: {
|
|
81
|
-
start: string;
|
|
82
|
-
end: string;
|
|
83
|
-
};
|
|
84
|
-
vertical: {
|
|
85
|
-
start: string;
|
|
86
|
-
end: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
'rounded-full': {
|
|
90
|
-
horizontal: {
|
|
91
|
-
start: string;
|
|
92
|
-
end: string;
|
|
93
|
-
};
|
|
94
|
-
vertical: {
|
|
95
|
-
start: string;
|
|
96
|
-
end: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
};
|
|
101
|
-
export default _default;
|