@nuxt/ui 2.18.4 → 3.0.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -2
- package/cli/commands/init.mjs +83 -0
- package/cli/index.mjs +15 -0
- package/cli/node_modules/.ignored/citty/LICENSE +36 -0
- package/cli/node_modules/.ignored/citty/README.md +134 -0
- package/cli/node_modules/.ignored/citty/dist/index.cjs +475 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.cts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.mts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.d.ts +80 -0
- package/cli/node_modules/.ignored/citty/dist/index.mjs +463 -0
- package/cli/node_modules/.ignored/citty/package.json +49 -0
- package/cli/node_modules/.ignored/consola/LICENSE +47 -0
- package/cli/node_modules/.ignored/consola/README.md +318 -0
- package/cli/node_modules/.ignored/consola/core.d.ts +1 -0
- package/cli/node_modules/.ignored/consola/dist/basic.cjs +32 -0
- package/cli/node_modules/.ignored/consola/dist/basic.d.ts +9 -0
- package/cli/node_modules/.ignored/consola/dist/basic.mjs +24 -0
- package/cli/node_modules/.ignored/consola/dist/browser.cjs +80 -0
- package/cli/node_modules/.ignored/consola/dist/browser.d.ts +7 -0
- package/cli/node_modules/.ignored/consola/dist/browser.mjs +72 -0
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +436 -0
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +429 -0
- package/cli/node_modules/.ignored/consola/dist/core.cjs +415 -0
- package/cli/node_modules/.ignored/consola/dist/core.d.ts +124 -0
- package/cli/node_modules/.ignored/consola/dist/core.mjs +410 -0
- package/cli/node_modules/.ignored/consola/dist/index.cjs +21 -0
- package/cli/node_modules/.ignored/consola/dist/index.d.ts +9 -0
- package/cli/node_modules/.ignored/consola/dist/index.mjs +8 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +62 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +636 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +645 -0
- package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +65 -0
- package/cli/node_modules/.ignored/consola/dist/utils.cjs +308 -0
- package/cli/node_modules/.ignored/consola/dist/utils.d.ts +169 -0
- package/cli/node_modules/.ignored/consola/dist/utils.mjs +284 -0
- package/cli/node_modules/.ignored/consola/lib/index.cjs +9 -0
- package/cli/node_modules/.ignored/consola/package.json +101 -0
- package/cli/node_modules/.ignored/consola/utils.d.ts +1 -0
- package/cli/node_modules/.ignored/pathe/LICENSE +44 -0
- package/cli/node_modules/.ignored/pathe/README.md +69 -0
- package/cli/node_modules/.ignored/pathe/dist/index.cjs +23 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.cts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.mts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.d.ts +36 -0
- package/cli/node_modules/.ignored/pathe/dist/index.mjs +1 -0
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +238 -0
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +221 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.cjs +58 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +5 -0
- package/cli/node_modules/.ignored/pathe/dist/utils.mjs +54 -0
- package/cli/node_modules/.ignored/pathe/package.json +48 -0
- package/cli/node_modules/.ignored/pathe/utils.d.ts +1 -0
- package/cli/node_modules/.ignored/scule/LICENSE +21 -0
- package/cli/node_modules/.ignored/scule/README.md +149 -0
- package/cli/node_modules/.ignored/scule/dist/index.cjs +92 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.cts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.mts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.d.ts +57 -0
- package/cli/node_modules/.ignored/scule/dist/index.mjs +80 -0
- package/cli/node_modules/.ignored/scule/package.json +43 -0
- package/cli/node_modules/.package-lock.json +33 -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 +4 -4
- package/dist/module.mjs +2574 -154
- package/dist/runtime/components/Accordion.vue +110 -0
- package/dist/runtime/components/Alert.vue +130 -0
- package/dist/runtime/components/App.vue +42 -0
- package/dist/runtime/components/Avatar.vue +69 -0
- package/dist/runtime/components/AvatarGroup.vue +98 -0
- package/dist/runtime/components/Badge.vue +46 -0
- package/dist/runtime/components/Breadcrumb.vue +98 -0
- package/dist/runtime/components/Button.vue +82 -0
- package/dist/runtime/components/ButtonGroup.vue +53 -0
- package/dist/runtime/components/Card.vue +52 -0
- package/dist/runtime/components/Checkbox.vue +128 -0
- package/dist/runtime/components/Chip.vue +76 -0
- package/dist/runtime/components/Collapsible.vue +54 -0
- package/dist/runtime/components/CommandPalette.vue +303 -0
- package/dist/runtime/components/Container.vue +36 -0
- package/dist/runtime/components/ContextMenu.vue +103 -0
- package/dist/runtime/components/ContextMenuContent.vue +122 -0
- package/dist/runtime/components/Drawer.vue +115 -0
- package/dist/runtime/components/DropdownMenu.vue +115 -0
- package/dist/runtime/components/DropdownMenuContent.vue +129 -0
- package/dist/runtime/components/Form.vue +227 -0
- package/dist/runtime/components/FormField.vue +107 -0
- package/dist/runtime/components/Icon.vue +26 -0
- package/dist/runtime/components/Input.vue +180 -0
- package/dist/runtime/components/InputMenu.vue +371 -0
- package/dist/runtime/components/Kbd.vue +49 -0
- package/dist/runtime/components/Link.vue +147 -0
- package/dist/runtime/components/LinkBase.vue +60 -0
- package/dist/runtime/components/Modal.vue +163 -0
- package/dist/runtime/components/ModalProvider.vue +12 -0
- package/dist/runtime/components/NavigationMenu.vue +195 -0
- package/dist/runtime/components/Pagination.vue +173 -0
- package/dist/runtime/components/Popover.vue +88 -0
- package/dist/runtime/components/Progress.vue +164 -0
- package/dist/runtime/components/RadioGroup.vue +159 -0
- package/dist/runtime/components/Select.vue +230 -0
- package/dist/runtime/components/SelectMenu.vue +306 -0
- package/dist/runtime/components/Separator.vue +82 -0
- package/dist/runtime/components/Skeleton.vue +31 -0
- package/dist/runtime/components/Slideover.vue +162 -0
- package/dist/runtime/components/SlideoverProvider.vue +12 -0
- package/dist/runtime/components/Slider.vue +113 -0
- package/dist/runtime/components/Switch.vue +124 -0
- package/dist/runtime/components/Tabs.vue +114 -0
- package/dist/runtime/components/Textarea.vue +189 -0
- package/dist/runtime/components/Toast.vue +161 -0
- package/dist/runtime/components/Toaster.vue +130 -0
- package/dist/runtime/components/Tooltip.vue +88 -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 +34 -0
- package/dist/runtime/composables/useFormField.js +54 -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/index.css +1 -0
- package/dist/runtime/plugins/colors.js +9 -17
- 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 +62 -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 +26 -71
- package/dist/runtime/utils/link.js +4 -124
- package/package.json +50 -49
- 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 -223
- 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 -219
- 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 -163
- 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 -45
- 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/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 -307
- package/dist/runtime/utils/lodash.d.ts +0 -2
- package/dist/runtime/utils/lodash.js +0 -23
- package/dist/runtime/plugins/{modals.d.ts → modal.d.ts} +0 -0
- package/dist/runtime/plugins/{modals.js → modal.js} +1 -1
- /package/dist/runtime/plugins/{slideovers.d.ts → slideover.d.ts} +0 -0
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
container: string;
|
|
4
|
-
base: string;
|
|
5
|
-
form: string;
|
|
6
|
-
rounded: string;
|
|
7
|
-
color: string;
|
|
8
|
-
background: string;
|
|
9
|
-
border: string;
|
|
10
|
-
ring: string;
|
|
11
|
-
inner: string;
|
|
12
|
-
label: string;
|
|
13
|
-
required: string;
|
|
14
|
-
help: string;
|
|
15
|
-
default: {
|
|
16
|
-
color: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative flex items-start",
|
|
3
|
-
container: "flex items-center h-5",
|
|
4
|
-
base: "h-4 w-4 dark:checked:bg-current dark:checked:border-transparent dark:indeterminate:bg-current dark:indeterminate:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",
|
|
5
|
-
form: "form-checkbox",
|
|
6
|
-
rounded: "rounded",
|
|
7
|
-
color: "text-{color}-500 dark:text-{color}-400",
|
|
8
|
-
background: "bg-white dark:bg-gray-900",
|
|
9
|
-
border: "border border-gray-300 dark:border-gray-700",
|
|
10
|
-
ring: "focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",
|
|
11
|
-
inner: "ms-3 flex flex-col",
|
|
12
|
-
label: "text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
13
|
-
required: "text-sm text-red-500 dark:text-red-400",
|
|
14
|
-
help: "text-sm text-gray-500 dark:text-gray-400",
|
|
15
|
-
default: {
|
|
16
|
-
color: "primary"
|
|
17
|
-
}
|
|
18
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
inner: string;
|
|
4
|
-
label: {
|
|
5
|
-
wrapper: string;
|
|
6
|
-
base: string;
|
|
7
|
-
required: string;
|
|
8
|
-
};
|
|
9
|
-
size: {
|
|
10
|
-
'2xs': string;
|
|
11
|
-
xs: string;
|
|
12
|
-
sm: string;
|
|
13
|
-
md: string;
|
|
14
|
-
lg: string;
|
|
15
|
-
xl: string;
|
|
16
|
-
};
|
|
17
|
-
container: string;
|
|
18
|
-
description: string;
|
|
19
|
-
hint: string;
|
|
20
|
-
help: string;
|
|
21
|
-
error: string;
|
|
22
|
-
default: {
|
|
23
|
-
size: string;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "",
|
|
3
|
-
inner: "",
|
|
4
|
-
label: {
|
|
5
|
-
wrapper: "flex content-center items-center justify-between",
|
|
6
|
-
base: "block font-medium text-gray-700 dark:text-gray-200",
|
|
7
|
-
// eslint-disable-next-line quotes
|
|
8
|
-
required: `after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-400`
|
|
9
|
-
},
|
|
10
|
-
size: {
|
|
11
|
-
"2xs": "text-xs",
|
|
12
|
-
xs: "text-xs",
|
|
13
|
-
sm: "text-sm",
|
|
14
|
-
md: "text-sm",
|
|
15
|
-
lg: "text-sm",
|
|
16
|
-
xl: "text-base"
|
|
17
|
-
},
|
|
18
|
-
container: "mt-1 relative",
|
|
19
|
-
description: "text-gray-500 dark:text-gray-400",
|
|
20
|
-
hint: "text-gray-500 dark:text-gray-400",
|
|
21
|
-
help: "mt-2 text-gray-500 dark:text-gray-400",
|
|
22
|
-
error: "mt-2 text-red-500 dark:text-red-400",
|
|
23
|
-
default: {
|
|
24
|
-
size: "sm"
|
|
25
|
-
}
|
|
26
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
base: string;
|
|
4
|
-
form: string;
|
|
5
|
-
rounded: string;
|
|
6
|
-
placeholder: string;
|
|
7
|
-
file: {
|
|
8
|
-
base: string;
|
|
9
|
-
};
|
|
10
|
-
size: {
|
|
11
|
-
'2xs': string;
|
|
12
|
-
xs: string;
|
|
13
|
-
sm: string;
|
|
14
|
-
md: string;
|
|
15
|
-
lg: string;
|
|
16
|
-
xl: string;
|
|
17
|
-
};
|
|
18
|
-
gap: {
|
|
19
|
-
'2xs': string;
|
|
20
|
-
xs: string;
|
|
21
|
-
sm: string;
|
|
22
|
-
md: string;
|
|
23
|
-
lg: string;
|
|
24
|
-
xl: string;
|
|
25
|
-
};
|
|
26
|
-
padding: {
|
|
27
|
-
'2xs': string;
|
|
28
|
-
xs: string;
|
|
29
|
-
sm: string;
|
|
30
|
-
md: string;
|
|
31
|
-
lg: string;
|
|
32
|
-
xl: string;
|
|
33
|
-
};
|
|
34
|
-
leading: {
|
|
35
|
-
padding: {
|
|
36
|
-
'2xs': string;
|
|
37
|
-
xs: string;
|
|
38
|
-
sm: string;
|
|
39
|
-
md: string;
|
|
40
|
-
lg: string;
|
|
41
|
-
xl: string;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
trailing: {
|
|
45
|
-
padding: {
|
|
46
|
-
'2xs': string;
|
|
47
|
-
xs: string;
|
|
48
|
-
sm: string;
|
|
49
|
-
md: string;
|
|
50
|
-
lg: string;
|
|
51
|
-
xl: string;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
54
|
-
color: {
|
|
55
|
-
white: {
|
|
56
|
-
outline: string;
|
|
57
|
-
};
|
|
58
|
-
gray: {
|
|
59
|
-
outline: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
variant: {
|
|
63
|
-
outline: string;
|
|
64
|
-
none: string;
|
|
65
|
-
};
|
|
66
|
-
icon: {
|
|
67
|
-
base: string;
|
|
68
|
-
color: string;
|
|
69
|
-
loading: string;
|
|
70
|
-
size: {
|
|
71
|
-
'2xs': string;
|
|
72
|
-
xs: string;
|
|
73
|
-
sm: string;
|
|
74
|
-
md: string;
|
|
75
|
-
lg: string;
|
|
76
|
-
xl: string;
|
|
77
|
-
};
|
|
78
|
-
leading: {
|
|
79
|
-
wrapper: string;
|
|
80
|
-
pointer: string;
|
|
81
|
-
padding: {
|
|
82
|
-
'2xs': string;
|
|
83
|
-
xs: string;
|
|
84
|
-
sm: string;
|
|
85
|
-
md: string;
|
|
86
|
-
lg: string;
|
|
87
|
-
xl: string;
|
|
88
|
-
};
|
|
89
|
-
};
|
|
90
|
-
trailing: {
|
|
91
|
-
wrapper: string;
|
|
92
|
-
pointer: string;
|
|
93
|
-
padding: {
|
|
94
|
-
'2xs': string;
|
|
95
|
-
xs: string;
|
|
96
|
-
sm: string;
|
|
97
|
-
md: string;
|
|
98
|
-
lg: string;
|
|
99
|
-
xl: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
default: {
|
|
104
|
-
size: string;
|
|
105
|
-
color: string;
|
|
106
|
-
variant: string;
|
|
107
|
-
loadingIcon: string;
|
|
108
|
-
};
|
|
109
|
-
};
|
|
110
|
-
export default _default;
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative",
|
|
3
|
-
base: "relative block w-full disabled:cursor-not-allowed disabled:opacity-75 focus:outline-none border-0",
|
|
4
|
-
form: "form-input",
|
|
5
|
-
rounded: "rounded-md",
|
|
6
|
-
placeholder: "placeholder-gray-400 dark:placeholder-gray-500",
|
|
7
|
-
file: {
|
|
8
|
-
base: "file:mr-1.5 file:font-medium file:text-gray-500 dark:file:text-gray-400 file:bg-transparent file:border-0 file:p-0 file:outline-none"
|
|
9
|
-
},
|
|
10
|
-
size: {
|
|
11
|
-
"2xs": "text-xs",
|
|
12
|
-
xs: "text-xs",
|
|
13
|
-
sm: "text-sm",
|
|
14
|
-
md: "text-sm",
|
|
15
|
-
lg: "text-sm",
|
|
16
|
-
xl: "text-base"
|
|
17
|
-
},
|
|
18
|
-
gap: {
|
|
19
|
-
"2xs": "gap-x-1",
|
|
20
|
-
xs: "gap-x-1.5",
|
|
21
|
-
sm: "gap-x-1.5",
|
|
22
|
-
md: "gap-x-2",
|
|
23
|
-
lg: "gap-x-2.5",
|
|
24
|
-
xl: "gap-x-2.5"
|
|
25
|
-
},
|
|
26
|
-
padding: {
|
|
27
|
-
"2xs": "px-2 py-1",
|
|
28
|
-
xs: "px-2.5 py-1.5",
|
|
29
|
-
sm: "px-2.5 py-1.5",
|
|
30
|
-
md: "px-3 py-2",
|
|
31
|
-
lg: "px-3.5 py-2.5",
|
|
32
|
-
xl: "px-3.5 py-2.5"
|
|
33
|
-
},
|
|
34
|
-
leading: {
|
|
35
|
-
padding: {
|
|
36
|
-
"2xs": "ps-7",
|
|
37
|
-
xs: "ps-8",
|
|
38
|
-
sm: "ps-9",
|
|
39
|
-
md: "ps-10",
|
|
40
|
-
lg: "ps-11",
|
|
41
|
-
xl: "ps-12"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
trailing: {
|
|
45
|
-
padding: {
|
|
46
|
-
"2xs": "pe-7",
|
|
47
|
-
xs: "pe-8",
|
|
48
|
-
sm: "pe-9",
|
|
49
|
-
md: "pe-10",
|
|
50
|
-
lg: "pe-11",
|
|
51
|
-
xl: "pe-12"
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
color: {
|
|
55
|
-
white: {
|
|
56
|
-
outline: "shadow-sm bg-white dark:bg-gray-900 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"
|
|
57
|
-
},
|
|
58
|
-
gray: {
|
|
59
|
-
outline: "shadow-sm bg-gray-50 dark:bg-gray-800 text-gray-900 dark:text-white ring-1 ring-inset ring-gray-300 dark:ring-gray-700 focus:ring-2 focus:ring-primary-500 dark:focus:ring-primary-400"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
variant: {
|
|
63
|
-
outline: "shadow-sm bg-transparent text-gray-900 dark:text-white ring-1 ring-inset ring-{color}-500 dark:ring-{color}-400 focus:ring-2 focus:ring-{color}-500 dark:focus:ring-{color}-400",
|
|
64
|
-
none: "bg-transparent focus:ring-0 focus:shadow-none"
|
|
65
|
-
},
|
|
66
|
-
icon: {
|
|
67
|
-
base: "flex-shrink-0 text-gray-400 dark:text-gray-500",
|
|
68
|
-
color: "text-{color}-500 dark:text-{color}-400",
|
|
69
|
-
loading: "animate-spin",
|
|
70
|
-
size: {
|
|
71
|
-
"2xs": "h-4 w-4",
|
|
72
|
-
xs: "h-4 w-4",
|
|
73
|
-
sm: "h-5 w-5",
|
|
74
|
-
md: "h-5 w-5",
|
|
75
|
-
lg: "h-5 w-5",
|
|
76
|
-
xl: "h-6 w-6"
|
|
77
|
-
},
|
|
78
|
-
leading: {
|
|
79
|
-
wrapper: "absolute inset-y-0 start-0 flex items-center",
|
|
80
|
-
pointer: "pointer-events-none",
|
|
81
|
-
padding: {
|
|
82
|
-
"2xs": "px-2",
|
|
83
|
-
xs: "px-2.5",
|
|
84
|
-
sm: "px-2.5",
|
|
85
|
-
md: "px-3",
|
|
86
|
-
lg: "px-3.5",
|
|
87
|
-
xl: "px-3.5"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
trailing: {
|
|
91
|
-
wrapper: "absolute inset-y-0 end-0 flex items-center",
|
|
92
|
-
pointer: "pointer-events-none",
|
|
93
|
-
padding: {
|
|
94
|
-
"2xs": "px-2",
|
|
95
|
-
xs: "px-2.5",
|
|
96
|
-
sm: "px-2.5",
|
|
97
|
-
md: "px-3",
|
|
98
|
-
lg: "px-3.5",
|
|
99
|
-
xl: "px-3.5"
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
},
|
|
103
|
-
default: {
|
|
104
|
-
size: "sm",
|
|
105
|
-
color: "white",
|
|
106
|
-
variant: "outline",
|
|
107
|
-
loadingIcon: "i-heroicons-arrow-path-20-solid"
|
|
108
|
-
}
|
|
109
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
container: string;
|
|
3
|
-
trigger: string;
|
|
4
|
-
width: string;
|
|
5
|
-
height: string;
|
|
6
|
-
base: string;
|
|
7
|
-
background: string;
|
|
8
|
-
shadow: string;
|
|
9
|
-
rounded: string;
|
|
10
|
-
padding: string;
|
|
11
|
-
ring: string;
|
|
12
|
-
empty: string;
|
|
13
|
-
option: {
|
|
14
|
-
base: string;
|
|
15
|
-
rounded: string;
|
|
16
|
-
padding: string;
|
|
17
|
-
size: string;
|
|
18
|
-
color: string;
|
|
19
|
-
container: string;
|
|
20
|
-
active: string;
|
|
21
|
-
inactive: string;
|
|
22
|
-
selected: string;
|
|
23
|
-
disabled: string;
|
|
24
|
-
empty: string;
|
|
25
|
-
icon: {
|
|
26
|
-
base: string;
|
|
27
|
-
active: string;
|
|
28
|
-
inactive: string;
|
|
29
|
-
};
|
|
30
|
-
selectedIcon: {
|
|
31
|
-
wrapper: string;
|
|
32
|
-
padding: string;
|
|
33
|
-
base: string;
|
|
34
|
-
};
|
|
35
|
-
avatar: {
|
|
36
|
-
base: string;
|
|
37
|
-
size: "2xs";
|
|
38
|
-
};
|
|
39
|
-
chip: {
|
|
40
|
-
base: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
transition: {
|
|
44
|
-
leaveActiveClass: string;
|
|
45
|
-
leaveFromClass: string;
|
|
46
|
-
leaveToClass: string;
|
|
47
|
-
};
|
|
48
|
-
popper: {
|
|
49
|
-
placement: string;
|
|
50
|
-
};
|
|
51
|
-
default: {
|
|
52
|
-
selectedIcon: string;
|
|
53
|
-
trailingIcon: string;
|
|
54
|
-
};
|
|
55
|
-
arrow: {
|
|
56
|
-
ring: string;
|
|
57
|
-
background: string;
|
|
58
|
-
base: string;
|
|
59
|
-
rounded: string;
|
|
60
|
-
shadow: string;
|
|
61
|
-
placement: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
export default _default;
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
import { arrow } from "../popper.js";
|
|
2
|
-
export default {
|
|
3
|
-
container: "z-20 group",
|
|
4
|
-
trigger: "flex items-center w-full",
|
|
5
|
-
width: "w-full",
|
|
6
|
-
height: "max-h-60",
|
|
7
|
-
base: "relative focus:outline-none overflow-y-auto scroll-py-1",
|
|
8
|
-
background: "bg-white dark:bg-gray-800",
|
|
9
|
-
shadow: "shadow-lg",
|
|
10
|
-
rounded: "rounded-md",
|
|
11
|
-
padding: "p-1",
|
|
12
|
-
ring: "ring-1 ring-gray-200 dark:ring-gray-700",
|
|
13
|
-
empty: "text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",
|
|
14
|
-
option: {
|
|
15
|
-
base: "cursor-default select-none relative flex items-center justify-between gap-1",
|
|
16
|
-
rounded: "rounded-md",
|
|
17
|
-
padding: "px-1.5 py-1.5",
|
|
18
|
-
size: "text-sm",
|
|
19
|
-
color: "text-gray-900 dark:text-white",
|
|
20
|
-
container: "flex items-center gap-1.5 min-w-0",
|
|
21
|
-
active: "bg-gray-100 dark:bg-gray-900",
|
|
22
|
-
inactive: "",
|
|
23
|
-
selected: "pe-7",
|
|
24
|
-
disabled: "cursor-not-allowed opacity-50",
|
|
25
|
-
empty: "text-sm text-gray-400 dark:text-gray-500 px-2 py-1.5",
|
|
26
|
-
icon: {
|
|
27
|
-
base: "flex-shrink-0 h-5 w-5",
|
|
28
|
-
active: "text-gray-900 dark:text-white",
|
|
29
|
-
inactive: "text-gray-400 dark:text-gray-500"
|
|
30
|
-
},
|
|
31
|
-
selectedIcon: {
|
|
32
|
-
wrapper: "absolute inset-y-0 end-0 flex items-center",
|
|
33
|
-
padding: "pe-2",
|
|
34
|
-
base: "h-5 w-5 text-gray-900 dark:text-white flex-shrink-0"
|
|
35
|
-
},
|
|
36
|
-
avatar: {
|
|
37
|
-
base: "flex-shrink-0",
|
|
38
|
-
size: "2xs"
|
|
39
|
-
},
|
|
40
|
-
chip: {
|
|
41
|
-
base: "flex-shrink-0 w-2 h-2 mx-1 rounded-full"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
// Syntax for `<Transition>` component https://vuejs.org/guide/built-ins/transition.html#css-based-transitions
|
|
45
|
-
transition: {
|
|
46
|
-
leaveActiveClass: "transition ease-in duration-100",
|
|
47
|
-
leaveFromClass: "opacity-100",
|
|
48
|
-
leaveToClass: "opacity-0"
|
|
49
|
-
},
|
|
50
|
-
popper: {
|
|
51
|
-
placement: "bottom-end"
|
|
52
|
-
},
|
|
53
|
-
default: {
|
|
54
|
-
selectedIcon: "i-heroicons-check-20-solid",
|
|
55
|
-
trailingIcon: "i-heroicons-chevron-down-20-solid"
|
|
56
|
-
},
|
|
57
|
-
arrow: {
|
|
58
|
-
...arrow,
|
|
59
|
-
ring: "before:ring-1 before:ring-gray-200 dark:before:ring-gray-700",
|
|
60
|
-
background: "before:bg-white dark:before:bg-gray-700"
|
|
61
|
-
}
|
|
62
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
container: string;
|
|
4
|
-
base: string;
|
|
5
|
-
form: string;
|
|
6
|
-
color: string;
|
|
7
|
-
background: string;
|
|
8
|
-
border: string;
|
|
9
|
-
ring: string;
|
|
10
|
-
inner: string;
|
|
11
|
-
label: string;
|
|
12
|
-
required: string;
|
|
13
|
-
help: string;
|
|
14
|
-
default: {
|
|
15
|
-
color: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default _default;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative flex items-start",
|
|
3
|
-
container: "flex items-center h-5",
|
|
4
|
-
base: "h-4 w-4 dark:checked:bg-current dark:checked:border-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-0 focus:ring-transparent focus:ring-offset-transparent",
|
|
5
|
-
form: "form-radio",
|
|
6
|
-
color: "text-{color}-500 dark:text-{color}-400",
|
|
7
|
-
background: "bg-white dark:bg-gray-900",
|
|
8
|
-
border: "border border-gray-300 dark:border-gray-700",
|
|
9
|
-
ring: "focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",
|
|
10
|
-
inner: "ms-3 flex flex-col",
|
|
11
|
-
label: "text-sm font-medium text-gray-700 dark:text-gray-200",
|
|
12
|
-
required: "text-sm text-red-500 dark:text-red-400",
|
|
13
|
-
help: "text-sm text-gray-500 dark:text-gray-400",
|
|
14
|
-
default: {
|
|
15
|
-
color: "primary"
|
|
16
|
-
}
|
|
17
|
-
};
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
wrapper: string;
|
|
3
|
-
base: string;
|
|
4
|
-
rounded: string;
|
|
5
|
-
background: string;
|
|
6
|
-
ring: string;
|
|
7
|
-
progress: {
|
|
8
|
-
base: string;
|
|
9
|
-
rounded: string;
|
|
10
|
-
background: string;
|
|
11
|
-
size: {
|
|
12
|
-
'2xs': string;
|
|
13
|
-
xs: string;
|
|
14
|
-
sm: string;
|
|
15
|
-
md: string;
|
|
16
|
-
lg: string;
|
|
17
|
-
xl: string;
|
|
18
|
-
'2xl': string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
thumb: {
|
|
22
|
-
base: string;
|
|
23
|
-
color: string;
|
|
24
|
-
background: string;
|
|
25
|
-
ring: string;
|
|
26
|
-
size: {
|
|
27
|
-
'2xs': string;
|
|
28
|
-
xs: string;
|
|
29
|
-
sm: string;
|
|
30
|
-
md: string;
|
|
31
|
-
lg: string;
|
|
32
|
-
xl: string;
|
|
33
|
-
'2xl': string;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
track: {
|
|
37
|
-
base: string;
|
|
38
|
-
background: string;
|
|
39
|
-
rounded: string;
|
|
40
|
-
size: {
|
|
41
|
-
'2xs': string;
|
|
42
|
-
xs: string;
|
|
43
|
-
sm: string;
|
|
44
|
-
md: string;
|
|
45
|
-
lg: string;
|
|
46
|
-
xl: string;
|
|
47
|
-
'2xl': string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
size: {
|
|
51
|
-
'2xs': string;
|
|
52
|
-
xs: string;
|
|
53
|
-
sm: string;
|
|
54
|
-
md: string;
|
|
55
|
-
lg: string;
|
|
56
|
-
xl: string;
|
|
57
|
-
'2xl': string;
|
|
58
|
-
};
|
|
59
|
-
default: {
|
|
60
|
-
size: string;
|
|
61
|
-
color: string;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
export default _default;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
wrapper: "relative w-full flex items-center",
|
|
3
|
-
base: "w-full absolute appearance-none cursor-pointer disabled:cursor-not-allowed disabled:bg-opacity-50 focus:outline-none peer group",
|
|
4
|
-
rounded: "rounded-lg",
|
|
5
|
-
background: "bg-transparent",
|
|
6
|
-
ring: "focus-visible:ring-2 focus-visible:ring-{color}-500 dark:focus-visible:ring-{color}-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white dark:focus-visible:ring-offset-gray-900",
|
|
7
|
-
progress: {
|
|
8
|
-
base: "absolute pointer-events-none peer-disabled:bg-opacity-50",
|
|
9
|
-
rounded: "rounded-s-lg",
|
|
10
|
-
background: "bg-{color}-500 dark:bg-{color}-400",
|
|
11
|
-
size: {
|
|
12
|
-
"2xs": "h-px",
|
|
13
|
-
xs: "h-0.5",
|
|
14
|
-
sm: "h-1",
|
|
15
|
-
md: "h-2",
|
|
16
|
-
lg: "h-3",
|
|
17
|
-
xl: "h-4",
|
|
18
|
-
"2xl": "h-5"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
thumb: {
|
|
22
|
-
base: "[&::-webkit-slider-thumb]:relative [&::-moz-range-thumb]:relative [&::-webkit-slider-thumb]:z-[1] [&::-moz-range-thumb]:z-[1] [&::-webkit-slider-thumb]:appearance-none [&::-moz-range-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border-0",
|
|
23
|
-
color: "text-{color}-500 dark:text-{color}-400",
|
|
24
|
-
background: "[&::-webkit-slider-thumb]:bg-white [&::-webkit-slider-thumb]:dark:bg-gray-900 [&::-moz-range-thumb]:bg-current",
|
|
25
|
-
ring: "[&::-webkit-slider-thumb]:ring-2 [&::-webkit-slider-thumb]:ring-current",
|
|
26
|
-
size: {
|
|
27
|
-
"2xs": "[&::-webkit-slider-thumb]:h-1.5 [&::-moz-range-thumb]:h-1.5 [&::-webkit-slider-thumb]:w-1.5 [&::-moz-range-thumb]:w-1.5 [&::-webkit-slider-thumb]:mt-[-2.5px] [&::-moz-range-thumb]:mt-[-2.5px]",
|
|
28
|
-
xs: "[&::-webkit-slider-thumb]:h-2 [&::-moz-range-thumb]:h-2 [&::-webkit-slider-thumb]:w-2 [&::-moz-range-thumb]:w-2 [&::-webkit-slider-thumb]:mt-[-3px] [&::-moz-range-thumb]:mt-[-3px]",
|
|
29
|
-
sm: "[&::-webkit-slider-thumb]:h-3 [&::-moz-range-thumb]:h-3 [&::-webkit-slider-thumb]:w-3 [&::-moz-range-thumb]:w-3 [&::-webkit-slider-thumb]:-mt-1 [&::-moz-range-thumb]:-mt-1",
|
|
30
|
-
md: "[&::-webkit-slider-thumb]:h-4 [&::-moz-range-thumb]:h-4 [&::-webkit-slider-thumb]:w-4 [&::-moz-range-thumb]:w-4 [&::-webkit-slider-thumb]:-mt-1 [&::-moz-range-thumb]:-mt-1",
|
|
31
|
-
lg: "[&::-webkit-slider-thumb]:h-5 [&::-moz-range-thumb]:h-5 [&::-webkit-slider-thumb]:w-5 [&::-moz-range-thumb]:w-5 [&::-webkit-slider-thumb]:-mt-1 [&::-moz-range-thumb]:-mt-1",
|
|
32
|
-
xl: "[&::-webkit-slider-thumb]:h-6 [&::-moz-range-thumb]:h-6 [&::-webkit-slider-thumb]:w-6 [&::-moz-range-thumb]:w-6 [&::-webkit-slider-thumb]:-mt-1 [&::-moz-range-thumb]:-mt-1",
|
|
33
|
-
"2xl": "[&::-webkit-slider-thumb]:h-7 [&::-moz-range-thumb]:h-7 [&::-webkit-slider-thumb]:w-7 [&::-moz-range-thumb]:w-7 [&::-webkit-slider-thumb]:-mt-1 [&::-moz-range-thumb]:-mt-1"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
track: {
|
|
37
|
-
base: "[&::-webkit-slider-runnable-track]:group-disabled:bg-opacity-50 [&::-moz-range-track]:group-disabled:bg-opacity-50",
|
|
38
|
-
background: "[&::-webkit-slider-runnable-track]:bg-gray-200 [&::-moz-range-track]:bg-gray-200 [&::-webkit-slider-runnable-track]:dark:bg-gray-700 [&::-moz-range-track]:dark:bg-gray-700",
|
|
39
|
-
rounded: "[&::-webkit-slider-runnable-track]:rounded-lg [&::-moz-range-track]:rounded-lg",
|
|
40
|
-
size: {
|
|
41
|
-
"2xs": "[&::-webkit-slider-runnable-track]:h-px [&::-moz-range-track]:h-px",
|
|
42
|
-
xs: "[&::-webkit-slider-runnable-track]:h-0.5 [&::-moz-range-track]:h-0.5",
|
|
43
|
-
sm: "[&::-webkit-slider-runnable-track]:h-1 [&::-moz-range-track]:h-1",
|
|
44
|
-
md: "[&::-webkit-slider-runnable-track]:h-2 [&::-moz-range-track]:h-2",
|
|
45
|
-
lg: "[&::-webkit-slider-runnable-track]:h-3 [&::-moz-range-track]:h-3",
|
|
46
|
-
xl: "[&::-webkit-slider-runnable-track]:h-4 [&::-moz-range-track]:h-4",
|
|
47
|
-
"2xl": "[&::-webkit-slider-runnable-track]:h-5 [&::-moz-range-track]:h-5"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
size: {
|
|
51
|
-
"2xs": "h-1.5",
|
|
52
|
-
xs: "h-2",
|
|
53
|
-
sm: "h-3",
|
|
54
|
-
md: "h-4",
|
|
55
|
-
lg: "h-5",
|
|
56
|
-
xl: "h-6",
|
|
57
|
-
"2xl": "h-7"
|
|
58
|
-
},
|
|
59
|
-
default: {
|
|
60
|
-
size: "md",
|
|
61
|
-
color: "primary"
|
|
62
|
-
}
|
|
63
|
-
};
|