@nuxt/ui 3.0.0-alpha.1 → 3.0.0-alpha.11
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/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +259 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +231 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button-group.ts +29 -0
- package/.nuxt/ui/button.ts +376 -0
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +8 -0
- package/.nuxt/ui/carousel.ts +43 -0
- package/.nuxt/ui/checkbox.ts +123 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +50 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/context-menu.ts +216 -0
- package/.nuxt/ui/drawer.ts +62 -0
- package/.nuxt/ui/dropdown-menu.ts +217 -0
- package/.nuxt/ui/form-field.ts +48 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/index.ts +48 -0
- package/.nuxt/ui/input-menu.ts +445 -0
- package/.nuxt/ui/input-number.ts +235 -0
- package/.nuxt/ui/input.ts +298 -0
- package/.nuxt/ui/kbd.ts +31 -0
- package/.nuxt/ui/link.ts +15 -0
- package/.nuxt/ui/modal.ts +28 -0
- package/.nuxt/ui/navigation-menu.ts +436 -0
- package/.nuxt/ui/pagination.ts +8 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/radio-group.ts +135 -0
- package/.nuxt/ui/select-menu.ts +351 -0
- package/.nuxt/ui/select.ts +350 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +70 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +131 -0
- package/.nuxt/ui/table.ts +146 -0
- package/.nuxt/ui/tabs.ts +255 -0
- package/.nuxt/ui/textarea.ts +298 -0
- package/.nuxt/ui/toast.ts +76 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/README.md +82 -54
- package/cli/commands/{init.mjs → make/component.mjs} +17 -5
- package/cli/commands/make/index.mjs +14 -0
- package/cli/commands/make/locale.mjs +64 -0
- package/cli/index.mjs +2 -2
- package/cli/package.json +2 -2
- package/cli/templates.mjs +60 -10
- package/cli/utils.mjs +14 -0
- package/dist/chunks/component-meta.cjs +82802 -0
- package/dist/chunks/component-meta.mjs +82800 -0
- package/dist/client/devtools/200.html +1 -0
- package/dist/client/devtools/404.html +1 -0
- package/dist/client/devtools/_fonts/rP2Wp2ywxg089UriCZaSExd86J3t9jz86MvyyKK58UfivUw4aw-SK92LTmKP0.woff2 +0 -0
- package/dist/client/devtools/_fonts/rP2Wp2ywxg089UriCZaSExd86J3t9jz86MvyyKy58UfivUw-9uYm8d48E4.woff2 +0 -0
- package/dist/client/devtools/_fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg-VNw7NHvqnp.woff2 +0 -0
- package/dist/client/devtools/_fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0-EkYdMs3MAX.woff2 +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-7DW3w-R7n06NbhGy.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDG3w-leGNfkTmsj.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDW3w-ciElMF03ku.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8JCm3w-sB722Uoa0f.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8JDW3w-PBDI1JDjwV.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8gCm3w-0q1hqVn09O.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9XCm3w-ByvzuLy2fa.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9uCm3w-5TKCIs6EEw.woff +0 -0
- package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat_XDW3w-r2swRDGfn2.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAC5thTQ-ldB60l5U8r.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAIpthTQ-wbFKGFDrgo.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAIpxhTQ-LLUBv5jskj.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwARZthTQ-F71RdTRbNg.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwA_JxhTQ-6nh65gZkc0.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAfJthTQ-aMoWEJLmTt.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhTQ-WMBvmLOgKm.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAop1hTQ-utGC2hnWq2.woff +0 -0
- package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhTQ-YpyTieVa5B.woff +0 -0
- package/dist/client/devtools/_nuxt/CQ-XZFu7.js +54 -0
- package/dist/client/devtools/_nuxt/DNZFyo26.js +1 -0
- package/dist/client/devtools/_nuxt/Dtz-o9GB.js +1 -0
- package/dist/client/devtools/_nuxt/builds/latest.json +1 -0
- package/dist/client/devtools/_nuxt/builds/meta/1f5fbd7b-9d97-480e-9ae4-e02b4ff7018b.json +1 -0
- package/dist/client/devtools/_nuxt/entry.qOdop8tq.css +1 -0
- package/dist/client/devtools/_nuxt/error-404.D-rS9BDk.css +1 -0
- package/dist/client/devtools/_nuxt/error-500.CfcCHs91.css +1 -0
- package/dist/client/devtools/favicon.svg +1 -0
- package/dist/client/devtools/index.html +1 -0
- package/dist/devtools/runtime/DevtoolsRenderer.vue +54 -0
- package/dist/devtools/runtime/examples/AvatarGroupExample.vue +7 -0
- package/dist/devtools/runtime/examples/ButtonGroupExample.vue +8 -0
- package/dist/devtools/runtime/examples/CardExample.vue +13 -0
- package/dist/devtools/runtime/examples/CarouselExample.vue +13 -0
- package/dist/devtools/runtime/examples/ChipExample.vue +5 -0
- package/dist/devtools/runtime/examples/CollapsibleExample.vue +8 -0
- package/dist/devtools/runtime/examples/CommandPaletteExample.vue +29 -0
- package/dist/devtools/runtime/examples/ContainerExample.vue +5 -0
- package/dist/devtools/runtime/examples/ContextMenuExample.vue +5 -0
- package/dist/devtools/runtime/examples/DrawerExample.vue +8 -0
- package/dist/devtools/runtime/examples/DropdownMenuExample.vue +5 -0
- package/dist/devtools/runtime/examples/FormExample.vue +30 -0
- package/dist/devtools/runtime/examples/FormFieldExample.vue +5 -0
- package/dist/devtools/runtime/examples/LinkExample.vue +5 -0
- package/dist/devtools/runtime/examples/ModalExample.vue +8 -0
- package/dist/devtools/runtime/examples/PopoverExample.vue +8 -0
- package/dist/devtools/runtime/examples/SkeletonExample.vue +3 -0
- package/dist/devtools/runtime/examples/SlideoverExample.vue +8 -0
- package/dist/devtools/runtime/examples/StepperExample.vue +44 -0
- package/dist/devtools/runtime/examples/ToasterExample.vue +11 -0
- package/dist/devtools/runtime/examples/TooltipExample.vue +5 -0
- package/dist/module.cjs +223 -4
- package/dist/module.d.cts +54 -0
- package/dist/module.d.mts +38 -7
- package/dist/module.d.ts +38 -7
- package/dist/module.json +2 -1
- package/dist/module.mjs +179 -2568
- package/dist/runtime/components/Accordion.vue +51 -9
- package/dist/runtime/components/Alert.vue +16 -8
- package/dist/runtime/components/App.vue +20 -7
- package/dist/runtime/components/Avatar.vue +36 -11
- package/dist/runtime/components/AvatarGroup.vue +6 -2
- package/dist/runtime/components/Badge.vue +36 -5
- package/dist/runtime/components/Breadcrumb.vue +53 -14
- package/dist/runtime/components/Button.vue +47 -7
- package/dist/runtime/components/ButtonGroup.vue +7 -3
- package/dist/runtime/components/Calendar.vue +191 -0
- package/dist/runtime/components/Card.vue +5 -2
- package/dist/runtime/components/Carousel.vue +323 -0
- package/dist/runtime/components/Checkbox.vue +30 -34
- package/dist/runtime/components/Chip.vue +12 -4
- package/dist/runtime/components/Collapsible.vue +11 -6
- package/dist/runtime/components/ColorPicker.vue +266 -0
- package/dist/runtime/components/CommandPalette.vue +132 -99
- package/dist/runtime/components/Container.vue +5 -2
- package/dist/runtime/components/ContextMenu.vue +103 -15
- package/dist/runtime/components/ContextMenuContent.vue +49 -19
- package/dist/runtime/components/Drawer.vue +28 -12
- package/dist/runtime/components/DropdownMenu.vue +93 -17
- package/dist/runtime/components/DropdownMenuContent.vue +51 -19
- package/dist/runtime/components/Form.vue +59 -41
- package/dist/runtime/components/FormField.vue +20 -7
- package/dist/runtime/components/Icon.vue +1 -1
- package/dist/runtime/components/Input.vue +18 -8
- package/dist/runtime/components/InputMenu.vue +164 -66
- package/dist/runtime/components/InputNumber.vue +193 -0
- package/dist/runtime/components/Kbd.vue +5 -2
- package/dist/runtime/components/Link.vue +72 -9
- package/dist/runtime/components/LinkBase.vue +10 -7
- package/dist/runtime/components/Modal.vue +23 -16
- package/dist/runtime/components/NavigationMenu.vue +178 -78
- package/dist/runtime/components/Pagination.vue +32 -16
- package/dist/runtime/components/PinInput.vue +97 -0
- package/dist/runtime/components/Popover.vue +29 -9
- package/dist/runtime/components/Progress.vue +29 -11
- package/dist/runtime/components/RadioGroup.vue +30 -8
- package/dist/runtime/components/Select.vue +81 -33
- package/dist/runtime/components/SelectMenu.vue +181 -81
- package/dist/runtime/components/Separator.vue +5 -4
- package/dist/runtime/components/Skeleton.vue +5 -2
- package/dist/runtime/components/Slideover.vue +23 -15
- package/dist/runtime/components/Slider.vue +5 -4
- package/dist/runtime/components/Stepper.vue +173 -0
- package/dist/runtime/components/Switch.vue +18 -17
- package/dist/runtime/components/Table.vue +263 -0
- package/dist/runtime/components/Tabs.vue +45 -16
- package/dist/runtime/components/Textarea.vue +12 -5
- package/dist/runtime/components/Toast.vue +15 -6
- package/dist/runtime/components/Toaster.vue +33 -17
- package/dist/runtime/components/Tooltip.vue +10 -7
- package/dist/runtime/composables/defineLocale.d.ts +9 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +3 -9
- package/dist/runtime/composables/extendDevtoolsMeta.d.ts +7 -0
- package/dist/runtime/composables/extendDevtoolsMeta.js +2 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
- package/dist/runtime/composables/useComponentIcons.d.ts +3 -0
- package/dist/runtime/composables/useFormField.d.ts +9 -5
- package/dist/runtime/composables/useFormField.js +8 -4
- package/dist/runtime/composables/useKbd.d.ts +10 -3
- package/dist/runtime/composables/useKbd.js +14 -8
- package/dist/runtime/composables/useLocale.d.ts +4 -0
- package/dist/runtime/composables/useLocale.js +10 -0
- package/dist/runtime/composables/useModal.d.ts +2 -2
- package/dist/runtime/composables/useSlideover.d.ts +2 -2
- package/dist/runtime/composables/useToast.d.ts +2 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/keyframes.css +1 -0
- package/dist/runtime/locale/ar.d.ts +2 -0
- package/dist/runtime/locale/ar.js +55 -0
- package/dist/runtime/locale/cs.d.ts +2 -0
- package/dist/runtime/locale/cs.js +54 -0
- package/dist/runtime/locale/da.d.ts +2 -0
- package/dist/runtime/locale/da.js +54 -0
- package/dist/runtime/locale/de.d.ts +2 -0
- package/dist/runtime/locale/de.js +54 -0
- package/dist/runtime/locale/el.d.ts +2 -0
- package/dist/runtime/locale/el.js +54 -0
- package/dist/runtime/locale/en.d.ts +2 -0
- package/dist/runtime/locale/en.js +54 -0
- package/dist/runtime/locale/es.d.ts +2 -0
- package/dist/runtime/locale/es.js +54 -0
- package/dist/runtime/locale/et.d.ts +2 -0
- package/dist/runtime/locale/et.js +54 -0
- package/dist/runtime/locale/fa_ir.d.ts +2 -0
- package/dist/runtime/locale/fa_ir.js +55 -0
- package/dist/runtime/locale/fi.d.ts +2 -0
- package/dist/runtime/locale/fi.js +54 -0
- package/dist/runtime/locale/fr.d.ts +2 -0
- package/dist/runtime/locale/fr.js +54 -0
- package/dist/runtime/locale/id.d.ts +2 -0
- package/dist/runtime/locale/id.js +54 -0
- package/dist/runtime/locale/index.d.ts +28 -0
- package/dist/runtime/locale/index.js +28 -0
- package/dist/runtime/locale/it.d.ts +2 -0
- package/dist/runtime/locale/it.js +54 -0
- package/dist/runtime/locale/ja.d.ts +2 -0
- package/dist/runtime/locale/ja.js +54 -0
- package/dist/runtime/locale/ko.d.ts +2 -0
- package/dist/runtime/locale/ko.js +54 -0
- package/dist/runtime/locale/nl.d.ts +2 -0
- package/dist/runtime/locale/nl.js +54 -0
- package/dist/runtime/locale/pl.d.ts +2 -0
- package/dist/runtime/locale/pl.js +54 -0
- package/dist/runtime/locale/pt.d.ts +2 -0
- package/dist/runtime/locale/pt.js +54 -0
- package/dist/runtime/locale/pt_br.d.ts +2 -0
- package/dist/runtime/locale/pt_br.js +54 -0
- package/dist/runtime/locale/ru.d.ts +2 -0
- package/dist/runtime/locale/ru.js +54 -0
- package/dist/runtime/locale/sk.d.ts +2 -0
- package/dist/runtime/locale/sk.js +54 -0
- package/dist/runtime/locale/sv.d.ts +2 -0
- package/dist/runtime/locale/sv.js +54 -0
- package/dist/runtime/locale/th.d.ts +2 -0
- package/dist/runtime/locale/th.js +54 -0
- package/dist/runtime/locale/tr.d.ts +2 -0
- package/dist/runtime/locale/tr.js +54 -0
- package/dist/runtime/locale/uk.d.ts +2 -0
- package/dist/runtime/locale/uk.js +54 -0
- package/dist/runtime/locale/vi.d.ts +2 -0
- package/dist/runtime/locale/vi.js +54 -0
- package/dist/runtime/locale/zh_hans.d.ts +2 -0
- package/dist/runtime/locale/zh_hans.js +54 -0
- package/dist/runtime/locale/zh_hant.d.ts +2 -0
- package/dist/runtime/locale/zh_hant.js +54 -0
- package/dist/runtime/plugins/colors.js +12 -8
- package/dist/runtime/types/form.d.ts +11 -4
- package/dist/runtime/types/form.js +2 -2
- package/dist/runtime/types/index.d.ts +50 -42
- package/dist/runtime/types/index.js +8 -0
- package/dist/runtime/types/locale.d.ts +56 -0
- package/dist/runtime/types/utils.d.ts +8 -3
- package/dist/runtime/utils/form.d.ts +7 -5
- package/dist/runtime/utils/form.js +117 -28
- package/dist/runtime/utils/index.d.ts +2 -1
- package/dist/runtime/utils/index.js +16 -0
- package/dist/runtime/utils/link.d.ts +5 -3
- package/dist/runtime/utils/link.js +1 -1
- package/dist/runtime/utils/locale.d.ts +15 -0
- package/dist/runtime/utils/locale.js +25 -0
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Icon.vue +15 -0
- package/dist/runtime/vue/components/Link.vue +208 -0
- package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
- package/dist/runtime/vue/plugins/color-mode.js +6 -0
- package/dist/runtime/vue/plugins/head.d.ts +4 -0
- package/dist/runtime/vue/plugins/head.js +6 -0
- package/dist/runtime/vue/stubs.d.ts +15 -0
- package/dist/runtime/vue/stubs.js +27 -0
- package/dist/shared/ui.BKsd22-Q.mjs +3289 -0
- package/dist/shared/ui.DCjJwb6l.cjs +3296 -0
- package/dist/unplugin.cjs +192 -0
- package/dist/unplugin.d.cts +49 -0
- package/dist/unplugin.d.mts +49 -0
- package/dist/unplugin.d.ts +49 -0
- package/dist/unplugin.mjs +181 -0
- package/dist/vite.cjs +22 -0
- package/dist/vite.d.cts +13 -0
- package/dist/vite.d.mts +13 -0
- package/dist/vite.d.ts +13 -0
- package/dist/vite.mjs +20 -0
- package/package.json +107 -35
- package/vue-plugin.d.ts +5 -0
- package/cli/node_modules/.ignored/citty/LICENSE +0 -36
- package/cli/node_modules/.ignored/citty/README.md +0 -134
- package/cli/node_modules/.ignored/citty/dist/index.cjs +0 -475
- package/cli/node_modules/.ignored/citty/dist/index.d.cts +0 -80
- package/cli/node_modules/.ignored/citty/dist/index.d.mts +0 -80
- package/cli/node_modules/.ignored/citty/dist/index.d.ts +0 -80
- package/cli/node_modules/.ignored/citty/dist/index.mjs +0 -463
- package/cli/node_modules/.ignored/citty/package.json +0 -49
- package/cli/node_modules/.ignored/consola/LICENSE +0 -47
- package/cli/node_modules/.ignored/consola/README.md +0 -318
- package/cli/node_modules/.ignored/consola/core.d.ts +0 -1
- package/cli/node_modules/.ignored/consola/dist/basic.cjs +0 -32
- package/cli/node_modules/.ignored/consola/dist/basic.d.ts +0 -9
- package/cli/node_modules/.ignored/consola/dist/basic.mjs +0 -24
- package/cli/node_modules/.ignored/consola/dist/browser.cjs +0 -80
- package/cli/node_modules/.ignored/consola/dist/browser.d.ts +0 -7
- package/cli/node_modules/.ignored/consola/dist/browser.mjs +0 -72
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.cjs +0 -436
- package/cli/node_modules/.ignored/consola/dist/chunks/prompt.mjs +0 -429
- package/cli/node_modules/.ignored/consola/dist/core.cjs +0 -415
- package/cli/node_modules/.ignored/consola/dist/core.d.ts +0 -124
- package/cli/node_modules/.ignored/consola/dist/core.mjs +0 -410
- package/cli/node_modules/.ignored/consola/dist/index.cjs +0 -21
- package/cli/node_modules/.ignored/consola/dist/index.d.ts +0 -9
- package/cli/node_modules/.ignored/consola/dist/index.mjs +0 -8
- package/cli/node_modules/.ignored/consola/dist/shared/consola.06ad8a64.mjs +0 -62
- package/cli/node_modules/.ignored/consola/dist/shared/consola.36c0034f.mjs +0 -636
- package/cli/node_modules/.ignored/consola/dist/shared/consola.4bbae468.cjs +0 -645
- package/cli/node_modules/.ignored/consola/dist/shared/consola.deac7d5a.cjs +0 -65
- package/cli/node_modules/.ignored/consola/dist/utils.cjs +0 -308
- package/cli/node_modules/.ignored/consola/dist/utils.d.ts +0 -169
- package/cli/node_modules/.ignored/consola/dist/utils.mjs +0 -284
- package/cli/node_modules/.ignored/consola/lib/index.cjs +0 -9
- package/cli/node_modules/.ignored/consola/package.json +0 -101
- package/cli/node_modules/.ignored/consola/utils.d.ts +0 -1
- package/cli/node_modules/.ignored/pathe/LICENSE +0 -44
- package/cli/node_modules/.ignored/pathe/README.md +0 -69
- package/cli/node_modules/.ignored/pathe/dist/index.cjs +0 -23
- package/cli/node_modules/.ignored/pathe/dist/index.d.cts +0 -36
- package/cli/node_modules/.ignored/pathe/dist/index.d.mts +0 -36
- package/cli/node_modules/.ignored/pathe/dist/index.d.ts +0 -36
- package/cli/node_modules/.ignored/pathe/dist/index.mjs +0 -1
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.1f0a373c.cjs +0 -238
- package/cli/node_modules/.ignored/pathe/dist/shared/pathe.ff20891b.mjs +0 -221
- package/cli/node_modules/.ignored/pathe/dist/utils.cjs +0 -58
- package/cli/node_modules/.ignored/pathe/dist/utils.d.cts +0 -5
- package/cli/node_modules/.ignored/pathe/dist/utils.d.mts +0 -5
- package/cli/node_modules/.ignored/pathe/dist/utils.d.ts +0 -5
- package/cli/node_modules/.ignored/pathe/dist/utils.mjs +0 -54
- package/cli/node_modules/.ignored/pathe/package.json +0 -48
- package/cli/node_modules/.ignored/pathe/utils.d.ts +0 -1
- package/cli/node_modules/.ignored/scule/LICENSE +0 -21
- package/cli/node_modules/.ignored/scule/README.md +0 -149
- package/cli/node_modules/.ignored/scule/dist/index.cjs +0 -92
- package/cli/node_modules/.ignored/scule/dist/index.d.cts +0 -57
- package/cli/node_modules/.ignored/scule/dist/index.d.mts +0 -57
- package/cli/node_modules/.ignored/scule/dist/index.d.ts +0 -57
- package/cli/node_modules/.ignored/scule/dist/index.mjs +0 -80
- package/cli/node_modules/.ignored/scule/package.json +0 -43
- package/cli/node_modules/.package-lock.json +0 -33
- package/dist/runtime/types/component.d.ts +0 -17
- /package/dist/runtime/types/{component.js → locale.js} +0 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const orientation = [
|
|
12
|
+
"horizontal",
|
|
13
|
+
"vertical"
|
|
14
|
+
] as const
|
|
15
|
+
|
|
16
|
+
const size = [
|
|
17
|
+
"xs",
|
|
18
|
+
"sm",
|
|
19
|
+
"md",
|
|
20
|
+
"lg",
|
|
21
|
+
"xl"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
const type = [
|
|
25
|
+
"solid",
|
|
26
|
+
"dashed",
|
|
27
|
+
"dotted"
|
|
28
|
+
] as const
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
"slots": {
|
|
32
|
+
"root": "flex items-center align-center text-center",
|
|
33
|
+
"border": "",
|
|
34
|
+
"container": "font-medium text-[var(--ui-text)] flex",
|
|
35
|
+
"icon": "shrink-0 size-5",
|
|
36
|
+
"avatar": "shrink-0",
|
|
37
|
+
"avatarSize": "2xs",
|
|
38
|
+
"label": "text-sm"
|
|
39
|
+
},
|
|
40
|
+
"variants": {
|
|
41
|
+
"color": {
|
|
42
|
+
"primary": {
|
|
43
|
+
"border": "border-[var(--ui-primary)]"
|
|
44
|
+
},
|
|
45
|
+
"secondary": {
|
|
46
|
+
"border": "border-[var(--ui-secondary)]"
|
|
47
|
+
},
|
|
48
|
+
"success": {
|
|
49
|
+
"border": "border-[var(--ui-success)]"
|
|
50
|
+
},
|
|
51
|
+
"info": {
|
|
52
|
+
"border": "border-[var(--ui-info)]"
|
|
53
|
+
},
|
|
54
|
+
"warning": {
|
|
55
|
+
"border": "border-[var(--ui-warning)]"
|
|
56
|
+
},
|
|
57
|
+
"error": {
|
|
58
|
+
"border": "border-[var(--ui-error)]"
|
|
59
|
+
},
|
|
60
|
+
"neutral": {
|
|
61
|
+
"border": "border-[var(--ui-border)]"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"orientation": {
|
|
65
|
+
"horizontal": {
|
|
66
|
+
"root": "w-full flex-row",
|
|
67
|
+
"border": "w-full",
|
|
68
|
+
"container": "mx-3 whitespace-nowrap"
|
|
69
|
+
},
|
|
70
|
+
"vertical": {
|
|
71
|
+
"root": "h-full flex-col",
|
|
72
|
+
"border": "h-full",
|
|
73
|
+
"container": "my-2"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"size": {
|
|
77
|
+
"xs": "",
|
|
78
|
+
"sm": "",
|
|
79
|
+
"md": "",
|
|
80
|
+
"lg": "",
|
|
81
|
+
"xl": ""
|
|
82
|
+
},
|
|
83
|
+
"type": {
|
|
84
|
+
"solid": {
|
|
85
|
+
"border": "border-solid"
|
|
86
|
+
},
|
|
87
|
+
"dashed": {
|
|
88
|
+
"border": "border-dashed"
|
|
89
|
+
},
|
|
90
|
+
"dotted": {
|
|
91
|
+
"border": "border-dotted"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"compoundVariants": [
|
|
96
|
+
{
|
|
97
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
98
|
+
"size": "xs" as typeof size[number],
|
|
99
|
+
"class": {
|
|
100
|
+
"border": "border-t"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
105
|
+
"size": "sm" as typeof size[number],
|
|
106
|
+
"class": {
|
|
107
|
+
"border": "border-t-[2px]"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
112
|
+
"size": "md" as typeof size[number],
|
|
113
|
+
"class": {
|
|
114
|
+
"border": "border-t-[3px]"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
119
|
+
"size": "lg" as typeof size[number],
|
|
120
|
+
"class": {
|
|
121
|
+
"border": "border-t-[4px]"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
126
|
+
"size": "xl" as typeof size[number],
|
|
127
|
+
"class": {
|
|
128
|
+
"border": "border-t-[5px]"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
133
|
+
"size": "xs" as typeof size[number],
|
|
134
|
+
"class": {
|
|
135
|
+
"border": "border-s"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
140
|
+
"size": "sm" as typeof size[number],
|
|
141
|
+
"class": {
|
|
142
|
+
"border": "border-s-[2px]"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
147
|
+
"size": "md" as typeof size[number],
|
|
148
|
+
"class": {
|
|
149
|
+
"border": "border-s-[3px]"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
154
|
+
"size": "lg" as typeof size[number],
|
|
155
|
+
"class": {
|
|
156
|
+
"border": "border-s-[4px]"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
161
|
+
"size": "xl" as typeof size[number],
|
|
162
|
+
"class": {
|
|
163
|
+
"border": "border-s-[5px]"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"defaultVariants": {
|
|
168
|
+
"color": "neutral" as typeof color[number],
|
|
169
|
+
"size": "xs" as typeof size[number],
|
|
170
|
+
"type": "solid" as typeof type[number]
|
|
171
|
+
}
|
|
172
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const side = [
|
|
2
|
+
"top",
|
|
3
|
+
"right",
|
|
4
|
+
"bottom",
|
|
5
|
+
"left"
|
|
6
|
+
] as const
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
"slots": {
|
|
10
|
+
"overlay": "fixed inset-0 bg-[var(--ui-bg-elevated)]/75",
|
|
11
|
+
"content": "fixed bg-[var(--ui-bg)] divide-y divide-[var(--ui-border)] sm:ring ring-[var(--ui-border)] sm:shadow-lg flex flex-col focus:outline-none",
|
|
12
|
+
"header": "px-4 py-5 sm:px-6",
|
|
13
|
+
"body": "flex-1 overflow-y-auto p-4 sm:p-6",
|
|
14
|
+
"footer": "flex items-center gap-1.5 p-4 sm:px-6",
|
|
15
|
+
"title": "text-[var(--ui-text-highlighted)] font-semibold",
|
|
16
|
+
"description": "mt-1 text-[var(--ui-text-muted)] text-sm",
|
|
17
|
+
"close": "absolute top-4 end-4"
|
|
18
|
+
},
|
|
19
|
+
"variants": {
|
|
20
|
+
"side": {
|
|
21
|
+
"top": {
|
|
22
|
+
"content": "inset-x-0 top-0 max-h-full"
|
|
23
|
+
},
|
|
24
|
+
"right": {
|
|
25
|
+
"content": "right-0 inset-y-0 w-full max-w-md"
|
|
26
|
+
},
|
|
27
|
+
"bottom": {
|
|
28
|
+
"content": "inset-x-0 bottom-0 max-h-full"
|
|
29
|
+
},
|
|
30
|
+
"left": {
|
|
31
|
+
"content": "left-0 inset-y-0 w-full max-w-md"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"transition": {
|
|
35
|
+
"true": {
|
|
36
|
+
"overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"compoundVariants": [
|
|
41
|
+
{
|
|
42
|
+
"transition": true,
|
|
43
|
+
"side": "top" as typeof side[number],
|
|
44
|
+
"class": {
|
|
45
|
+
"content": "data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"transition": true,
|
|
50
|
+
"side": "right" as typeof side[number],
|
|
51
|
+
"class": {
|
|
52
|
+
"content": "data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"transition": true,
|
|
57
|
+
"side": "bottom" as typeof side[number],
|
|
58
|
+
"class": {
|
|
59
|
+
"content": "data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"transition": true,
|
|
64
|
+
"side": "left" as typeof side[number],
|
|
65
|
+
"class": {
|
|
66
|
+
"content": "data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const size = [
|
|
12
|
+
"xs",
|
|
13
|
+
"sm",
|
|
14
|
+
"md",
|
|
15
|
+
"lg",
|
|
16
|
+
"xl"
|
|
17
|
+
] as const
|
|
18
|
+
|
|
19
|
+
const orientation = [
|
|
20
|
+
"horizontal",
|
|
21
|
+
"vertical"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
"slots": {
|
|
26
|
+
"root": "relative flex items-center select-none touch-none",
|
|
27
|
+
"track": "relative bg-[var(--ui-bg-accented)] overflow-hidden rounded-full grow",
|
|
28
|
+
"range": "absolute rounded-full",
|
|
29
|
+
"thumb": "rounded-full bg-[var(--ui-bg)] ring-2 focus-visible:outline-2 focus-visible:outline-offset-2"
|
|
30
|
+
},
|
|
31
|
+
"variants": {
|
|
32
|
+
"color": {
|
|
33
|
+
"primary": {
|
|
34
|
+
"range": "bg-[var(--ui-primary)]",
|
|
35
|
+
"thumb": "ring-[var(--ui-primary)] focus-visible:outline-[var(--ui-primary)]/50"
|
|
36
|
+
},
|
|
37
|
+
"secondary": {
|
|
38
|
+
"range": "bg-[var(--ui-secondary)]",
|
|
39
|
+
"thumb": "ring-[var(--ui-secondary)] focus-visible:outline-[var(--ui-secondary)]/50"
|
|
40
|
+
},
|
|
41
|
+
"success": {
|
|
42
|
+
"range": "bg-[var(--ui-success)]",
|
|
43
|
+
"thumb": "ring-[var(--ui-success)] focus-visible:outline-[var(--ui-success)]/50"
|
|
44
|
+
},
|
|
45
|
+
"info": {
|
|
46
|
+
"range": "bg-[var(--ui-info)]",
|
|
47
|
+
"thumb": "ring-[var(--ui-info)] focus-visible:outline-[var(--ui-info)]/50"
|
|
48
|
+
},
|
|
49
|
+
"warning": {
|
|
50
|
+
"range": "bg-[var(--ui-warning)]",
|
|
51
|
+
"thumb": "ring-[var(--ui-warning)] focus-visible:outline-[var(--ui-warning)]/50"
|
|
52
|
+
},
|
|
53
|
+
"error": {
|
|
54
|
+
"range": "bg-[var(--ui-error)]",
|
|
55
|
+
"thumb": "ring-[var(--ui-error)] focus-visible:outline-[var(--ui-error)]/50"
|
|
56
|
+
},
|
|
57
|
+
"neutral": {
|
|
58
|
+
"range": "bg-[var(--ui-bg-inverted)]",
|
|
59
|
+
"thumb": "ring-[var(--ui-border-inverted)] focus-visible:outline-[var(--ui-border-inverted)]/50"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"size": {
|
|
63
|
+
"xs": {
|
|
64
|
+
"thumb": "size-3"
|
|
65
|
+
},
|
|
66
|
+
"sm": {
|
|
67
|
+
"thumb": "size-3.5"
|
|
68
|
+
},
|
|
69
|
+
"md": {
|
|
70
|
+
"thumb": "size-4"
|
|
71
|
+
},
|
|
72
|
+
"lg": {
|
|
73
|
+
"thumb": "size-4.5"
|
|
74
|
+
},
|
|
75
|
+
"xl": {
|
|
76
|
+
"thumb": "size-5"
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
"orientation": {
|
|
80
|
+
"horizontal": {
|
|
81
|
+
"root": "w-full",
|
|
82
|
+
"range": "h-full"
|
|
83
|
+
},
|
|
84
|
+
"vertical": {
|
|
85
|
+
"root": "flex-col h-full",
|
|
86
|
+
"range": "w-full"
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
"disabled": {
|
|
90
|
+
"true": {
|
|
91
|
+
"root": "opacity-75 cursor-not-allowed"
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"compoundVariants": [
|
|
96
|
+
{
|
|
97
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
98
|
+
"size": "xs" as typeof size[number],
|
|
99
|
+
"class": {
|
|
100
|
+
"track": "h-[6px]"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
105
|
+
"size": "sm" as typeof size[number],
|
|
106
|
+
"class": {
|
|
107
|
+
"track": "h-[7px]"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
112
|
+
"size": "md" as typeof size[number],
|
|
113
|
+
"class": {
|
|
114
|
+
"track": "h-[8px]"
|
|
115
|
+
}
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
119
|
+
"size": "lg" as typeof size[number],
|
|
120
|
+
"class": {
|
|
121
|
+
"track": "h-[9px]"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
126
|
+
"size": "xl" as typeof size[number],
|
|
127
|
+
"class": {
|
|
128
|
+
"track": "h-[10px]"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
133
|
+
"size": "xs" as typeof size[number],
|
|
134
|
+
"class": {
|
|
135
|
+
"track": "w-[6px]"
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
140
|
+
"size": "sm" as typeof size[number],
|
|
141
|
+
"class": {
|
|
142
|
+
"track": "w-[7px]"
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
147
|
+
"size": "md" as typeof size[number],
|
|
148
|
+
"class": {
|
|
149
|
+
"track": "w-[8px]"
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
154
|
+
"size": "lg" as typeof size[number],
|
|
155
|
+
"class": {
|
|
156
|
+
"track": "w-[9px]"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
161
|
+
"size": "xl" as typeof size[number],
|
|
162
|
+
"class": {
|
|
163
|
+
"track": "w-[10px]"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
],
|
|
167
|
+
"defaultVariants": {
|
|
168
|
+
"size": "md" as typeof size[number],
|
|
169
|
+
"color": "primary" as typeof color[number]
|
|
170
|
+
}
|
|
171
|
+
}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const size = [
|
|
7
|
+
"xs",
|
|
8
|
+
"sm",
|
|
9
|
+
"md",
|
|
10
|
+
"lg",
|
|
11
|
+
"xl"
|
|
12
|
+
] as const
|
|
13
|
+
|
|
14
|
+
const color = [
|
|
15
|
+
"primary",
|
|
16
|
+
"secondary",
|
|
17
|
+
"success",
|
|
18
|
+
"info",
|
|
19
|
+
"warning",
|
|
20
|
+
"error",
|
|
21
|
+
"neutral"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
export default {
|
|
25
|
+
"slots": {
|
|
26
|
+
"root": "flex gap-4",
|
|
27
|
+
"header": "flex",
|
|
28
|
+
"item": "group text-center relative w-full",
|
|
29
|
+
"container": "relative",
|
|
30
|
+
"trigger": "rounded-full font-medium text-center align-middle flex items-center justify-center font-semibold group-data-[state=completed]:text-[var(--ui-bg)] group-data-[state=active]:text-[var(--ui-bg)] text-[var(--ui-text-muted)] bg-[var(--ui-bg-elevated)] focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
31
|
+
"indicator": "flex items-center justify-center size-full",
|
|
32
|
+
"icon": "shrink-0",
|
|
33
|
+
"separator": "absolute rounded-full group-data-[disabled]:opacity-75 bg-[var(--ui-border-accented)]",
|
|
34
|
+
"wrapper": "",
|
|
35
|
+
"title": "font-medium text-[var(--ui-text)]",
|
|
36
|
+
"description": "text-[var(--ui-text-muted)] text-wrap",
|
|
37
|
+
"content": "size-full"
|
|
38
|
+
},
|
|
39
|
+
"variants": {
|
|
40
|
+
"orientation": {
|
|
41
|
+
"horizontal": {
|
|
42
|
+
"root": "flex-col",
|
|
43
|
+
"container": "flex justify-center",
|
|
44
|
+
"separator": "top-[calc(50%-2px)] h-0.5",
|
|
45
|
+
"wrapper": "mt-1"
|
|
46
|
+
},
|
|
47
|
+
"vertical": {
|
|
48
|
+
"header": "flex-col gap-4",
|
|
49
|
+
"item": "flex text-start",
|
|
50
|
+
"separator": "start-[calc(50%-1px)] -bottom-[10px] w-0.5"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"size": {
|
|
54
|
+
"xs": {
|
|
55
|
+
"trigger": "size-6 text-xs",
|
|
56
|
+
"icon": "size-3",
|
|
57
|
+
"title": "text-xs",
|
|
58
|
+
"description": "text-xs",
|
|
59
|
+
"wrapper": "mt-1.5"
|
|
60
|
+
},
|
|
61
|
+
"sm": {
|
|
62
|
+
"trigger": "size-8 text-sm",
|
|
63
|
+
"icon": "size-4",
|
|
64
|
+
"title": "text-xs",
|
|
65
|
+
"description": "text-xs",
|
|
66
|
+
"wrapper": "mt-2"
|
|
67
|
+
},
|
|
68
|
+
"md": {
|
|
69
|
+
"trigger": "size-10 text-base",
|
|
70
|
+
"icon": "size-5",
|
|
71
|
+
"title": "text-sm",
|
|
72
|
+
"description": "text-sm",
|
|
73
|
+
"wrapper": "mt-2.5"
|
|
74
|
+
},
|
|
75
|
+
"lg": {
|
|
76
|
+
"trigger": "size-12 text-lg",
|
|
77
|
+
"icon": "size-6",
|
|
78
|
+
"title": "text-base",
|
|
79
|
+
"description": "text-base",
|
|
80
|
+
"wrapper": "mt-3"
|
|
81
|
+
},
|
|
82
|
+
"xl": {
|
|
83
|
+
"trigger": "size-14 text-xl",
|
|
84
|
+
"icon": "size-7",
|
|
85
|
+
"title": "text-lg",
|
|
86
|
+
"description": "text-lg",
|
|
87
|
+
"wrapper": "mt-3.5"
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
"color": {
|
|
91
|
+
"primary": {
|
|
92
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-primary)] group-data-[state=active]:bg-[var(--ui-primary)] focus-visible:outline-[var(--ui-primary)]",
|
|
93
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-primary)]"
|
|
94
|
+
},
|
|
95
|
+
"secondary": {
|
|
96
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-secondary)] group-data-[state=active]:bg-[var(--ui-secondary)] focus-visible:outline-[var(--ui-secondary)]",
|
|
97
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-secondary)]"
|
|
98
|
+
},
|
|
99
|
+
"success": {
|
|
100
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-success)] group-data-[state=active]:bg-[var(--ui-success)] focus-visible:outline-[var(--ui-success)]",
|
|
101
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-success)]"
|
|
102
|
+
},
|
|
103
|
+
"info": {
|
|
104
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-info)] group-data-[state=active]:bg-[var(--ui-info)] focus-visible:outline-[var(--ui-info)]",
|
|
105
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-info)]"
|
|
106
|
+
},
|
|
107
|
+
"warning": {
|
|
108
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-warning)] group-data-[state=active]:bg-[var(--ui-warning)] focus-visible:outline-[var(--ui-warning)]",
|
|
109
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-warning)]"
|
|
110
|
+
},
|
|
111
|
+
"error": {
|
|
112
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-error)] group-data-[state=active]:bg-[var(--ui-error)] focus-visible:outline-[var(--ui-error)]",
|
|
113
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-error)]"
|
|
114
|
+
},
|
|
115
|
+
"neutral": {
|
|
116
|
+
"trigger": "group-data-[state=completed]:bg-[var(--ui-bg-inverted)] group-data-[state=active]:bg-[var(--ui-bg-inverted)] focus-visible:outline-[var(--ui-border-inverted)]",
|
|
117
|
+
"separator": "group-data-[state=completed]:bg-[var(--ui-bg-inverted)]"
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"compoundVariants": [
|
|
122
|
+
{
|
|
123
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
124
|
+
"size": "xs" as typeof size[number],
|
|
125
|
+
"class": {
|
|
126
|
+
"separator": "start-[calc(50%+16px)] end-[calc(-50%+16px)]"
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
131
|
+
"size": "sm" as typeof size[number],
|
|
132
|
+
"class": {
|
|
133
|
+
"separator": "start-[calc(50%+20px)] end-[calc(-50%+20px)]"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
138
|
+
"size": "md" as typeof size[number],
|
|
139
|
+
"class": {
|
|
140
|
+
"separator": "start-[calc(50%+28px)] end-[calc(-50%+28px)]"
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
145
|
+
"size": "lg" as typeof size[number],
|
|
146
|
+
"class": {
|
|
147
|
+
"separator": "start-[calc(50%+32px)] end-[calc(-50%+32px)]"
|
|
148
|
+
}
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
152
|
+
"size": "xl" as typeof size[number],
|
|
153
|
+
"class": {
|
|
154
|
+
"separator": "start-[calc(50%+36px)] end-[calc(-50%+36px)]"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
159
|
+
"size": "xs" as typeof size[number],
|
|
160
|
+
"class": {
|
|
161
|
+
"separator": "top-[30px]",
|
|
162
|
+
"item": "gap-1.5"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
167
|
+
"size": "sm" as typeof size[number],
|
|
168
|
+
"class": {
|
|
169
|
+
"separator": "top-[38px]",
|
|
170
|
+
"item": "gap-2"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
175
|
+
"size": "md" as typeof size[number],
|
|
176
|
+
"class": {
|
|
177
|
+
"separator": "top-[46px]",
|
|
178
|
+
"item": "gap-2.5"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
183
|
+
"size": "lg" as typeof size[number],
|
|
184
|
+
"class": {
|
|
185
|
+
"separator": "top-[54px]",
|
|
186
|
+
"item": "gap-3"
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
191
|
+
"size": "xl" as typeof size[number],
|
|
192
|
+
"class": {
|
|
193
|
+
"separator": "top-[62px]",
|
|
194
|
+
"item": "gap-3.5"
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
],
|
|
198
|
+
"defaultVariants": {
|
|
199
|
+
"size": "md" as typeof size[number],
|
|
200
|
+
"color": "primary" as typeof color[number]
|
|
201
|
+
}
|
|
202
|
+
}
|