@nuxt/ui 3.0.0-alpha.9 → 3.0.0-beta.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/.nuxt/ui/accordion.ts +2 -2
- package/.nuxt/ui/alert.ts +122 -95
- package/.nuxt/ui/avatar-group.ts +14 -2
- package/.nuxt/ui/avatar.ts +16 -4
- package/.nuxt/ui/badge.ts +139 -93
- package/.nuxt/ui/breadcrumb.ts +5 -5
- package/.nuxt/ui/button-group.ts +13 -0
- package/.nuxt/ui/button.ts +167 -136
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +27 -1
- package/.nuxt/ui/carousel.ts +7 -5
- package/.nuxt/ui/checkbox.ts +45 -27
- package/.nuxt/ui/chip.ts +44 -15
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +28 -18
- package/.nuxt/ui/container.ts +1 -1
- package/.nuxt/ui/context-menu.ts +64 -46
- package/.nuxt/ui/drawer.ts +83 -15
- package/.nuxt/ui/dropdown-menu.ts +65 -47
- package/.nuxt/ui/form-field.ts +15 -7
- package/.nuxt/ui/index.ts +5 -1
- package/.nuxt/ui/input-menu.ts +150 -116
- package/.nuxt/ui/input-number.ts +102 -71
- package/.nuxt/ui/input.ts +111 -76
- package/.nuxt/ui/kbd.ts +18 -6
- package/.nuxt/ui/link.ts +3 -3
- package/.nuxt/ui/modal.ts +8 -7
- package/.nuxt/ui/navigation-menu.ts +244 -131
- package/.nuxt/ui/pin-input.ts +77 -51
- package/.nuxt/ui/popover.ts +2 -2
- package/.nuxt/ui/progress.ts +111 -72
- package/.nuxt/ui/radio-group.ts +45 -22
- package/.nuxt/ui/select-menu.ts +122 -86
- package/.nuxt/ui/select.ts +120 -84
- package/.nuxt/ui/separator.ts +60 -31
- package/.nuxt/ui/skeleton.ts +1 -1
- package/.nuxt/ui/slideover.ts +17 -9
- package/.nuxt/ui/slider.ts +61 -38
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +40 -22
- package/.nuxt/ui/table.ts +48 -31
- package/.nuxt/ui/tabs.ts +100 -72
- package/.nuxt/ui/textarea.ts +111 -76
- package/.nuxt/ui/toast.ts +53 -33
- package/.nuxt/ui/toaster.ts +31 -15
- package/.nuxt/ui/tooltip.ts +2 -2
- package/.nuxt/ui/tree.ts +154 -0
- package/.nuxt/ui.css +92 -0
- package/README.md +19 -8
- package/cli/commands/make/component.mjs +12 -0
- package/cli/package.json +2 -2
- package/cli/templates.mjs +27 -22
- package/dist/module.cjs +9 -171
- package/dist/module.d.cts +5 -15
- package/dist/module.d.mts +5 -15
- package/dist/module.d.ts +5 -15
- package/dist/module.json +2 -2
- package/dist/module.mjs +12 -168
- package/dist/runtime/components/Accordion.vue +8 -39
- package/dist/runtime/components/Alert.vue +22 -21
- package/dist/runtime/components/App.vue +9 -15
- package/dist/runtime/components/Avatar.vue +33 -21
- package/dist/runtime/components/AvatarGroup.vue +5 -7
- package/dist/runtime/components/Badge.vue +10 -8
- package/dist/runtime/components/Breadcrumb.vue +5 -31
- package/dist/runtime/components/Button.vue +5 -8
- package/dist/runtime/components/ButtonGroup.vue +5 -7
- package/dist/runtime/components/Calendar.vue +194 -0
- package/dist/runtime/components/Card.vue +10 -9
- package/dist/runtime/components/Carousel.vue +15 -10
- package/dist/runtime/components/Checkbox.vue +32 -38
- package/dist/runtime/components/Chip.vue +6 -8
- package/dist/runtime/components/Collapsible.vue +10 -11
- package/dist/runtime/components/ColorPicker.vue +297 -0
- package/dist/runtime/components/CommandPalette.vue +111 -97
- package/dist/runtime/components/Container.vue +4 -7
- package/dist/runtime/components/ContextMenu.vue +16 -69
- package/dist/runtime/components/ContextMenuContent.vue +12 -10
- package/dist/runtime/components/Drawer.vue +23 -12
- package/dist/runtime/components/DropdownMenu.vue +18 -59
- package/dist/runtime/components/DropdownMenuContent.vue +12 -10
- package/dist/runtime/components/Form.vue +65 -34
- package/dist/runtime/components/FormField.vue +22 -13
- package/dist/runtime/components/Icon.vue +1 -1
- package/dist/runtime/components/Input.vue +15 -7
- package/dist/runtime/components/InputMenu.vue +95 -104
- package/dist/runtime/components/InputNumber.vue +14 -9
- package/dist/runtime/components/Kbd.vue +5 -6
- package/dist/runtime/components/Link.vue +5 -8
- package/dist/runtime/components/LinkBase.vue +1 -1
- package/dist/runtime/components/Modal.vue +51 -38
- package/dist/runtime/components/NavigationMenu.vue +129 -114
- package/dist/runtime/components/OverlayProvider.vue +28 -0
- package/dist/runtime/components/Pagination.vue +6 -9
- package/dist/runtime/components/PinInput.vue +10 -11
- package/dist/runtime/components/Popover.vue +16 -18
- package/dist/runtime/components/Progress.vue +28 -12
- package/dist/runtime/components/RadioGroup.vue +9 -12
- package/dist/runtime/components/Select.vue +60 -34
- package/dist/runtime/components/SelectMenu.vue +160 -165
- package/dist/runtime/components/Separator.vue +6 -5
- package/dist/runtime/components/Skeleton.vue +4 -7
- package/dist/runtime/components/Slideover.vue +51 -37
- package/dist/runtime/components/Slider.vue +8 -7
- package/dist/runtime/components/Stepper.vue +170 -0
- package/dist/runtime/components/Switch.vue +19 -23
- package/dist/runtime/components/Table.vue +146 -31
- package/dist/runtime/components/Tabs.vue +12 -31
- package/dist/runtime/components/Textarea.vue +17 -8
- package/dist/runtime/components/Toast.vue +36 -25
- package/dist/runtime/components/Toaster.vue +10 -11
- package/dist/runtime/components/Tooltip.vue +9 -12
- package/dist/runtime/components/Tree.vue +196 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +2 -2
- package/dist/runtime/composables/useFormField.d.ts +7 -3
- package/dist/runtime/composables/useFormField.js +18 -8
- package/dist/runtime/composables/useLocale.js +1 -1
- package/dist/runtime/composables/useOverlay.d.ts +30 -0
- package/dist/runtime/composables/useOverlay.js +70 -0
- package/dist/runtime/composables/useToast.d.ts +4 -3
- package/dist/runtime/composables/useToast.js +20 -6
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/keyframes.css +1 -1
- package/dist/runtime/locale/ar.js +9 -1
- package/dist/runtime/locale/az.js +54 -0
- package/dist/runtime/locale/bn.js +54 -0
- package/dist/runtime/locale/cs.js +9 -1
- package/dist/runtime/locale/da.d.ts +2 -0
- package/dist/runtime/locale/da.js +54 -0
- package/dist/runtime/locale/de.js +11 -3
- package/dist/runtime/locale/el.d.ts +2 -0
- package/dist/runtime/locale/el.js +54 -0
- package/dist/runtime/locale/en.js +9 -1
- package/dist/runtime/locale/es.js +9 -1
- package/dist/runtime/locale/et.d.ts +2 -0
- package/dist/runtime/locale/et.js +54 -0
- package/dist/runtime/locale/fa_ir.js +9 -1
- package/dist/runtime/locale/fi.d.ts +2 -0
- package/dist/runtime/locale/fi.js +54 -0
- package/dist/runtime/locale/fr.js +9 -1
- package/dist/runtime/locale/he.d.ts +2 -0
- package/dist/runtime/locale/he.js +53 -0
- package/dist/runtime/locale/hi.d.ts +2 -0
- package/dist/runtime/locale/hi.js +54 -0
- package/dist/runtime/locale/hu.d.ts +2 -0
- package/dist/runtime/locale/hu.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 +25 -3
- package/dist/runtime/locale/index.js +25 -3
- package/dist/runtime/locale/it.js +9 -1
- package/dist/runtime/locale/ja.d.ts +2 -0
- package/dist/runtime/locale/ja.js +54 -0
- package/dist/runtime/locale/km.d.ts +2 -0
- package/dist/runtime/locale/km.js +54 -0
- package/dist/runtime/locale/ko.d.ts +2 -0
- package/dist/runtime/locale/ko.js +54 -0
- package/dist/runtime/locale/nb_no.d.ts +2 -0
- package/dist/runtime/locale/nb_no.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.js +9 -1
- 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.js +9 -1
- 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_cn.d.ts +2 -0
- package/dist/runtime/locale/{zh_hans.js → zh_cn.js} +10 -2
- package/dist/runtime/locale/zh_tw.d.ts +2 -0
- package/dist/runtime/locale/{zh_hant.js → zh_tw.js} +16 -8
- package/dist/runtime/plugins/colors.js +8 -5
- package/dist/runtime/types/form.d.ts +24 -15
- package/dist/runtime/types/form.js +2 -2
- package/dist/runtime/types/index.d.ts +5 -0
- package/dist/runtime/types/index.js +5 -0
- package/dist/runtime/types/locale.d.ts +8 -0
- package/dist/runtime/types/utils.d.ts +7 -3
- package/dist/runtime/utils/form.d.ts +4 -4
- package/dist/runtime/utils/form.js +6 -8
- package/dist/runtime/utils/index.d.ts +1 -1
- package/dist/runtime/utils/index.js +15 -2
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Icon.vue +2 -2
- package/dist/runtime/vue/components/Link.vue +87 -23
- package/dist/runtime/vue/composables/useAppConfig.d.ts +1 -0
- package/dist/runtime/vue/composables/useAppConfig.js +2 -0
- package/dist/runtime/vue/plugins/head.d.ts +1 -1
- package/dist/runtime/vue/plugins/head.js +3 -3
- package/dist/runtime/vue/stubs.d.ts +19 -0
- package/dist/runtime/vue/stubs.js +37 -0
- package/dist/shared/{ui.d52SSCwA.mjs → ui.DSPu6Y8j.mjs} +905 -401
- package/dist/shared/{ui.BPnAe4QS.cjs → ui.DfK2RX6G.cjs} +908 -401
- package/dist/unplugin.cjs +62 -26
- package/dist/unplugin.d.cts +13 -1
- package/dist/unplugin.d.mts +13 -1
- package/dist/unplugin.d.ts +13 -1
- package/dist/unplugin.mjs +61 -25
- package/dist/vite.cjs +3 -2
- package/dist/vite.d.cts +2 -0
- package/dist/vite.d.mts +2 -0
- package/dist/vite.d.ts +2 -0
- package/dist/vite.mjs +3 -2
- package/package.json +103 -67
- package/dist/chunks/component-meta.cjs +0 -77249
- package/dist/chunks/component-meta.mjs +0 -77247
- package/dist/client/devtools/200.html +0 -1
- package/dist/client/devtools/404.html +0 -1
- 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/BDC8ywlR.js +0 -1
- package/dist/client/devtools/_nuxt/BT004Uxp.js +0 -53
- package/dist/client/devtools/_nuxt/C1H2Soz3.js +0 -1
- package/dist/client/devtools/_nuxt/builds/latest.json +0 -1
- package/dist/client/devtools/_nuxt/builds/meta/f98c13ea-d751-4b37-8ce3-94e99708745f.json +0 -1
- package/dist/client/devtools/_nuxt/entry.Bx6WJjrx.css +0 -1
- package/dist/client/devtools/_nuxt/error-404.Cq4qshcf.css +0 -1
- package/dist/client/devtools/_nuxt/error-500.ax1aM34m.css +0 -1
- package/dist/client/devtools/favicon.svg +0 -1
- package/dist/client/devtools/index.html +0 -1
- package/dist/devtools/runtime/DevtoolsRenderer.vue +0 -53
- package/dist/devtools/runtime/examples/AvatarGroupExample.vue +0 -7
- package/dist/devtools/runtime/examples/ButtonGroupExample.vue +0 -8
- package/dist/devtools/runtime/examples/CardExample.vue +0 -13
- package/dist/devtools/runtime/examples/CarouselExample.vue +0 -13
- package/dist/devtools/runtime/examples/ChipExample.vue +0 -5
- package/dist/devtools/runtime/examples/CollapsibleExample.vue +0 -8
- package/dist/devtools/runtime/examples/CommandPaletteExample.vue +0 -29
- package/dist/devtools/runtime/examples/ContainerExample.vue +0 -5
- package/dist/devtools/runtime/examples/ContextMenuExample.vue +0 -5
- package/dist/devtools/runtime/examples/DrawerExample.vue +0 -8
- package/dist/devtools/runtime/examples/DropdownMenuExample.vue +0 -5
- package/dist/devtools/runtime/examples/FormExample.vue +0 -30
- package/dist/devtools/runtime/examples/FormFieldExample.vue +0 -5
- package/dist/devtools/runtime/examples/LinkExample.vue +0 -5
- package/dist/devtools/runtime/examples/ModalExample.vue +0 -8
- package/dist/devtools/runtime/examples/PopoverExample.vue +0 -8
- package/dist/devtools/runtime/examples/SkeletonExample.vue +0 -3
- package/dist/devtools/runtime/examples/SlideoverExample.vue +0 -8
- package/dist/devtools/runtime/examples/ToasterExample.vue +0 -11
- package/dist/devtools/runtime/examples/TooltipExample.vue +0 -5
- package/dist/runtime/components/ModalProvider.vue +0 -12
- package/dist/runtime/components/SlideoverProvider.vue +0 -12
- package/dist/runtime/composables/extendDevtoolsMeta.d.ts +0 -7
- package/dist/runtime/composables/extendDevtoolsMeta.js +0 -2
- package/dist/runtime/composables/useModal.d.ts +0 -17
- package/dist/runtime/composables/useModal.js +0 -46
- package/dist/runtime/composables/useSlideover.d.ts +0 -17
- package/dist/runtime/composables/useSlideover.js +0 -46
- package/dist/runtime/plugins/modal.d.ts +0 -2
- package/dist/runtime/plugins/modal.js +0 -10
- package/dist/runtime/plugins/slideover.d.ts +0 -2
- package/dist/runtime/plugins/slideover.js +0 -10
- /package/dist/runtime/locale/{zh_hans.d.ts → az.d.ts} +0 -0
- /package/dist/runtime/locale/{zh_hant.d.ts → bn.d.ts} +0 -0
|
@@ -1,62 +1,98 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const highlightColor = [
|
|
12
|
+
"primary",
|
|
13
|
+
"secondary",
|
|
14
|
+
"success",
|
|
15
|
+
"info",
|
|
16
|
+
"warning",
|
|
17
|
+
"error",
|
|
18
|
+
"neutral"
|
|
19
|
+
] as const
|
|
20
|
+
|
|
21
|
+
const variant = [
|
|
22
|
+
"pill",
|
|
23
|
+
"link"
|
|
24
|
+
] as const
|
|
25
|
+
|
|
26
|
+
const orientation = [
|
|
27
|
+
"horizontal",
|
|
28
|
+
"vertical"
|
|
29
|
+
] as const
|
|
30
|
+
|
|
31
|
+
const contentOrientation = [
|
|
32
|
+
"horizontal",
|
|
33
|
+
"vertical"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
1
36
|
export default {
|
|
2
37
|
"slots": {
|
|
3
38
|
"root": "relative flex gap-1.5 [&>div]:min-w-0",
|
|
4
39
|
"list": "isolate min-w-0",
|
|
40
|
+
"label": "w-full flex items-center gap-1.5 font-semibold text-xs/5 text-(--ui-text-highlighted) px-2.5 py-1.5",
|
|
5
41
|
"item": "min-w-0",
|
|
6
42
|
"link": "group relative w-full flex items-center gap-1.5 font-medium text-sm before:absolute before:z-[-1] before:rounded-[calc(var(--ui-radius)*1.5)] focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
7
43
|
"linkLeadingIcon": "shrink-0 size-5",
|
|
8
44
|
"linkLeadingAvatar": "shrink-0",
|
|
9
45
|
"linkLeadingAvatarSize": "2xs",
|
|
10
|
-
"linkTrailing": "ms-auto inline-flex",
|
|
11
|
-
"linkTrailingBadge": "shrink-0
|
|
46
|
+
"linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
47
|
+
"linkTrailingBadge": "shrink-0",
|
|
12
48
|
"linkTrailingBadgeSize": "sm",
|
|
13
49
|
"linkTrailingIcon": "size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
14
50
|
"linkLabel": "truncate",
|
|
15
|
-
"linkLabelExternalIcon": "inline-block size-3 align-top text-
|
|
51
|
+
"linkLabelExternalIcon": "inline-block size-3 align-top text-(--ui-text-dimmed)",
|
|
16
52
|
"childList": "",
|
|
17
53
|
"childItem": "",
|
|
18
54
|
"childLink": "group size-full px-3 py-2 rounded-[calc(var(--ui-radius)*1.5)] flex items-start gap-2 text-start",
|
|
19
55
|
"childLinkWrapper": "flex flex-col items-start",
|
|
20
56
|
"childLinkIcon": "size-5 shrink-0",
|
|
21
57
|
"childLinkLabel": "font-semibold text-sm relative inline-flex",
|
|
22
|
-
"childLinkLabelExternalIcon": "inline-block size-3 align-top text-
|
|
23
|
-
"childLinkDescription": "text-sm text-
|
|
24
|
-
"separator": "px-2 h-px bg-
|
|
25
|
-
"viewportWrapper": "absolute top-full left-0 flex w-full
|
|
26
|
-
"viewport": "relative overflow-hidden bg-
|
|
27
|
-
"content": "absolute top-0 left-0 w-full
|
|
28
|
-
"indicator": "data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] bottom-0 z-[1] flex h-2.5 items-end justify-center overflow-hidden transition-
|
|
29
|
-
"arrow": "relative top-[50%] size-2.5 rotate-45 border border-
|
|
58
|
+
"childLinkLabelExternalIcon": "inline-block size-3 align-top text-(--ui-text-dimmed)",
|
|
59
|
+
"childLinkDescription": "text-sm text-(--ui-text-muted)",
|
|
60
|
+
"separator": "px-2 h-px bg-(--ui-border)",
|
|
61
|
+
"viewportWrapper": "absolute top-full left-0 flex w-full",
|
|
62
|
+
"viewport": "relative overflow-hidden bg-(--ui-bg) shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-(--ui-border) h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
63
|
+
"content": "absolute top-0 left-0 w-full",
|
|
64
|
+
"indicator": "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[1] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
|
|
65
|
+
"arrow": "relative top-[50%] size-2.5 rotate-45 border border-(--ui-border) bg-(--ui-bg) z-[1] rounded-[calc(var(--ui-radius)/2)]"
|
|
30
66
|
},
|
|
31
67
|
"variants": {
|
|
32
68
|
"color": {
|
|
33
69
|
"primary": {
|
|
34
|
-
"link": "focus-visible:before:ring-
|
|
35
|
-
"childLink": "focus-visible:outline-
|
|
70
|
+
"link": "focus-visible:before:ring-(--ui-primary)",
|
|
71
|
+
"childLink": "focus-visible:outline-(--ui-primary)"
|
|
36
72
|
},
|
|
37
73
|
"secondary": {
|
|
38
|
-
"link": "focus-visible:before:ring-
|
|
39
|
-
"childLink": "focus-visible:outline-
|
|
74
|
+
"link": "focus-visible:before:ring-(--ui-secondary)",
|
|
75
|
+
"childLink": "focus-visible:outline-(--ui-secondary)"
|
|
40
76
|
},
|
|
41
77
|
"success": {
|
|
42
|
-
"link": "focus-visible:before:ring-
|
|
43
|
-
"childLink": "focus-visible:outline-
|
|
78
|
+
"link": "focus-visible:before:ring-(--ui-success)",
|
|
79
|
+
"childLink": "focus-visible:outline-(--ui-success)"
|
|
44
80
|
},
|
|
45
81
|
"info": {
|
|
46
|
-
"link": "focus-visible:before:ring-
|
|
47
|
-
"childLink": "focus-visible:outline-
|
|
82
|
+
"link": "focus-visible:before:ring-(--ui-info)",
|
|
83
|
+
"childLink": "focus-visible:outline-(--ui-info)"
|
|
48
84
|
},
|
|
49
85
|
"warning": {
|
|
50
|
-
"link": "focus-visible:before:ring-
|
|
51
|
-
"childLink": "focus-visible:outline-
|
|
86
|
+
"link": "focus-visible:before:ring-(--ui-warning)",
|
|
87
|
+
"childLink": "focus-visible:outline-(--ui-warning)"
|
|
52
88
|
},
|
|
53
89
|
"error": {
|
|
54
|
-
"link": "focus-visible:before:ring-
|
|
55
|
-
"childLink": "focus-visible:outline-
|
|
90
|
+
"link": "focus-visible:before:ring-(--ui-error)",
|
|
91
|
+
"childLink": "focus-visible:outline-(--ui-error)"
|
|
56
92
|
},
|
|
57
93
|
"neutral": {
|
|
58
|
-
"link": "focus-visible:before:ring-
|
|
59
|
-
"childLink": "focus-visible:outline-
|
|
94
|
+
"link": "focus-visible:before:ring-(--ui-border-inverted)",
|
|
95
|
+
"childLink": "focus-visible:outline-(--ui-border-inverted)"
|
|
60
96
|
}
|
|
61
97
|
},
|
|
62
98
|
"highlightColor": {
|
|
@@ -74,33 +110,42 @@ export default {
|
|
|
74
110
|
},
|
|
75
111
|
"orientation": {
|
|
76
112
|
"horizontal": {
|
|
77
|
-
"root": "
|
|
113
|
+
"root": "items-center justify-between",
|
|
78
114
|
"list": "flex items-center",
|
|
79
115
|
"item": "py-2",
|
|
80
116
|
"link": "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
|
|
81
|
-
"childList": "grid
|
|
117
|
+
"childList": "grid p-2"
|
|
82
118
|
},
|
|
83
119
|
"vertical": {
|
|
84
120
|
"root": "flex-col",
|
|
85
|
-
"link": "flex-row px-2.5 py-1.5 before:inset-y-px before:inset-x-0"
|
|
86
|
-
|
|
87
|
-
|
|
121
|
+
"link": "flex-row px-2.5 py-1.5 before:inset-y-px before:inset-x-0"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"contentOrientation": {
|
|
125
|
+
"horizontal": {
|
|
126
|
+
"viewport": "",
|
|
127
|
+
"viewportWrapper": "justify-center",
|
|
128
|
+
"content": "data-[motion=from-start]:animate-[enter-from-left_200ms_ease] data-[motion=from-end]:animate-[enter-from-right_200ms_ease] data-[motion=to-start]:animate-[exit-to-left_200ms_ease] data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
|
|
129
|
+
},
|
|
130
|
+
"vertical": {
|
|
131
|
+
"viewport": "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
|
|
132
|
+
"content": ""
|
|
88
133
|
}
|
|
89
134
|
},
|
|
90
135
|
"active": {
|
|
91
136
|
"true": {
|
|
92
|
-
"childLink": "bg-
|
|
93
|
-
"childLinkIcon": "text-
|
|
137
|
+
"childLink": "bg-(--ui-bg-elevated) text-(--ui-text-highlighted)",
|
|
138
|
+
"childLinkIcon": "text-(--ui-text)"
|
|
94
139
|
},
|
|
95
140
|
"false": {
|
|
96
|
-
"link": "text-
|
|
97
|
-
"linkLeadingIcon": "text-
|
|
141
|
+
"link": "text-(--ui-text-muted)",
|
|
142
|
+
"linkLeadingIcon": "text-(--ui-text-dimmed)",
|
|
98
143
|
"childLink": [
|
|
99
|
-
"hover:bg-
|
|
144
|
+
"hover:bg-(--ui-bg-elevated)/50 text-(--ui-text) hover:text-(--ui-text-highlighted)",
|
|
100
145
|
"transition-colors"
|
|
101
146
|
],
|
|
102
147
|
"childLinkIcon": [
|
|
103
|
-
"text-
|
|
148
|
+
"text-(--ui-text-dimmed) group-hover:text-(--ui-text)",
|
|
104
149
|
"transition-colors"
|
|
105
150
|
]
|
|
106
151
|
}
|
|
@@ -112,137 +157,173 @@ export default {
|
|
|
112
157
|
},
|
|
113
158
|
"highlight": {
|
|
114
159
|
"true": ""
|
|
160
|
+
},
|
|
161
|
+
"level": {
|
|
162
|
+
"true": ""
|
|
163
|
+
},
|
|
164
|
+
"collapsed": {
|
|
165
|
+
"true": ""
|
|
115
166
|
}
|
|
116
167
|
},
|
|
117
168
|
"compoundVariants": [
|
|
118
169
|
{
|
|
170
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
171
|
+
"contentOrientation": "horizontal" as typeof contentOrientation[number],
|
|
172
|
+
"class": {
|
|
173
|
+
"childList": "grid-cols-2 gap-2"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
178
|
+
"contentOrientation": "vertical" as typeof contentOrientation[number],
|
|
179
|
+
"class": {
|
|
180
|
+
"childList": "gap-1",
|
|
181
|
+
"content": "w-60"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
119
186
|
"highlight": true,
|
|
120
|
-
"orientation": "horizontal" as const,
|
|
121
187
|
"class": {
|
|
122
|
-
"
|
|
123
|
-
|
|
188
|
+
"link": [
|
|
189
|
+
"after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full",
|
|
190
|
+
"after:transition-colors"
|
|
191
|
+
]
|
|
124
192
|
}
|
|
125
193
|
},
|
|
126
194
|
{
|
|
195
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
127
196
|
"highlight": true,
|
|
128
|
-
"
|
|
197
|
+
"level": true,
|
|
129
198
|
"class": {
|
|
130
|
-
"
|
|
131
|
-
|
|
199
|
+
"link": [
|
|
200
|
+
"after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
|
|
201
|
+
"after:transition-colors"
|
|
202
|
+
]
|
|
132
203
|
}
|
|
133
204
|
},
|
|
134
205
|
{
|
|
135
206
|
"disabled": false,
|
|
136
207
|
"active": false,
|
|
137
|
-
"variant": "pill" as
|
|
208
|
+
"variant": "pill" as typeof variant[number],
|
|
138
209
|
"class": {
|
|
139
210
|
"link": [
|
|
140
|
-
"hover:text-
|
|
211
|
+
"hover:text-(--ui-text-highlighted) hover:before:bg-(--ui-bg-elevated)/50",
|
|
141
212
|
"transition-colors before:transition-colors"
|
|
142
213
|
],
|
|
143
214
|
"linkLeadingIcon": [
|
|
144
|
-
"group-hover:text-
|
|
215
|
+
"group-hover:text-(--ui-text)",
|
|
145
216
|
"transition-colors"
|
|
146
217
|
]
|
|
147
218
|
}
|
|
148
219
|
},
|
|
149
220
|
{
|
|
150
221
|
"disabled": false,
|
|
151
|
-
"
|
|
222
|
+
"active": false,
|
|
223
|
+
"variant": "pill" as typeof variant[number],
|
|
224
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
225
|
+
"class": {
|
|
226
|
+
"link": "data-[state=open]:text-(--ui-text-highlighted)",
|
|
227
|
+
"linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"disabled": false,
|
|
232
|
+
"variant": "pill" as typeof variant[number],
|
|
152
233
|
"highlight": true,
|
|
153
|
-
"orientation": "horizontal" as
|
|
234
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
154
235
|
"class": {
|
|
155
|
-
"link": "data-[state=open]:before:bg-
|
|
236
|
+
"link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
|
|
156
237
|
}
|
|
157
238
|
},
|
|
158
239
|
{
|
|
159
240
|
"disabled": false,
|
|
160
|
-
"variant": "pill" as
|
|
241
|
+
"variant": "pill" as typeof variant[number],
|
|
161
242
|
"highlight": false,
|
|
162
243
|
"active": false,
|
|
163
|
-
"orientation": "horizontal" as
|
|
244
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
164
245
|
"class": {
|
|
165
|
-
"link": "data-[state=open]:before:bg-
|
|
246
|
+
"link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
|
|
166
247
|
}
|
|
167
248
|
},
|
|
168
249
|
{
|
|
169
|
-
"color": "primary" as
|
|
170
|
-
"variant": "pill" as
|
|
250
|
+
"color": "primary" as typeof color[number],
|
|
251
|
+
"variant": "pill" as typeof variant[number],
|
|
171
252
|
"active": true,
|
|
172
253
|
"class": {
|
|
173
|
-
"link": "text-
|
|
174
|
-
"linkLeadingIcon": "text-[
|
|
254
|
+
"link": "text-(--ui-primary)",
|
|
255
|
+
"linkLeadingIcon": "text-(--ui-primary) group-data-[state=open]:text-(--ui-primary)"
|
|
175
256
|
}
|
|
176
257
|
},
|
|
177
258
|
{
|
|
178
|
-
"color": "secondary" as
|
|
179
|
-
"variant": "pill" as
|
|
259
|
+
"color": "secondary" as typeof color[number],
|
|
260
|
+
"variant": "pill" as typeof variant[number],
|
|
180
261
|
"active": true,
|
|
181
262
|
"class": {
|
|
182
|
-
"link": "text-
|
|
183
|
-
"linkLeadingIcon": "text-[
|
|
263
|
+
"link": "text-(--ui-secondary)",
|
|
264
|
+
"linkLeadingIcon": "text-(--ui-secondary) group-data-[state=open]:text-(--ui-secondary)"
|
|
184
265
|
}
|
|
185
266
|
},
|
|
186
267
|
{
|
|
187
|
-
"color": "success" as
|
|
188
|
-
"variant": "pill" as
|
|
268
|
+
"color": "success" as typeof color[number],
|
|
269
|
+
"variant": "pill" as typeof variant[number],
|
|
189
270
|
"active": true,
|
|
190
271
|
"class": {
|
|
191
|
-
"link": "text-
|
|
192
|
-
"linkLeadingIcon": "text-[
|
|
272
|
+
"link": "text-(--ui-success)",
|
|
273
|
+
"linkLeadingIcon": "text-(--ui-success) group-data-[state=open]:text-(--ui-success)"
|
|
193
274
|
}
|
|
194
275
|
},
|
|
195
276
|
{
|
|
196
|
-
"color": "info" as
|
|
197
|
-
"variant": "pill" as
|
|
277
|
+
"color": "info" as typeof color[number],
|
|
278
|
+
"variant": "pill" as typeof variant[number],
|
|
198
279
|
"active": true,
|
|
199
280
|
"class": {
|
|
200
|
-
"link": "text-
|
|
201
|
-
"linkLeadingIcon": "text-[
|
|
281
|
+
"link": "text-(--ui-info)",
|
|
282
|
+
"linkLeadingIcon": "text-(--ui-info) group-data-[state=open]:text-(--ui-info)"
|
|
202
283
|
}
|
|
203
284
|
},
|
|
204
285
|
{
|
|
205
|
-
"color": "warning" as
|
|
206
|
-
"variant": "pill" as
|
|
286
|
+
"color": "warning" as typeof color[number],
|
|
287
|
+
"variant": "pill" as typeof variant[number],
|
|
207
288
|
"active": true,
|
|
208
289
|
"class": {
|
|
209
|
-
"link": "text-
|
|
210
|
-
"linkLeadingIcon": "text-[
|
|
290
|
+
"link": "text-(--ui-warning)",
|
|
291
|
+
"linkLeadingIcon": "text-(--ui-warning) group-data-[state=open]:text-(--ui-warning)"
|
|
211
292
|
}
|
|
212
293
|
},
|
|
213
294
|
{
|
|
214
|
-
"color": "error" as
|
|
215
|
-
"variant": "pill" as
|
|
295
|
+
"color": "error" as typeof color[number],
|
|
296
|
+
"variant": "pill" as typeof variant[number],
|
|
216
297
|
"active": true,
|
|
217
298
|
"class": {
|
|
218
|
-
"link": "text-
|
|
219
|
-
"linkLeadingIcon": "text-[
|
|
299
|
+
"link": "text-(--ui-error)",
|
|
300
|
+
"linkLeadingIcon": "text-(--ui-error) group-data-[state=open]:text-(--ui-error)"
|
|
220
301
|
}
|
|
221
302
|
},
|
|
222
303
|
{
|
|
223
|
-
"color": "neutral" as
|
|
224
|
-
"variant": "pill" as
|
|
304
|
+
"color": "neutral" as typeof color[number],
|
|
305
|
+
"variant": "pill" as typeof variant[number],
|
|
225
306
|
"active": true,
|
|
226
307
|
"class": {
|
|
227
|
-
"link": "text-
|
|
228
|
-
"linkLeadingIcon": "text-[
|
|
308
|
+
"link": "text-(--ui-text-highlighted)",
|
|
309
|
+
"linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)"
|
|
229
310
|
}
|
|
230
311
|
},
|
|
231
312
|
{
|
|
232
|
-
"variant": "pill" as
|
|
313
|
+
"variant": "pill" as typeof variant[number],
|
|
233
314
|
"active": true,
|
|
234
315
|
"highlight": false,
|
|
235
316
|
"class": {
|
|
236
|
-
"link": "before:bg-
|
|
317
|
+
"link": "before:bg-(--ui-bg-elevated)"
|
|
237
318
|
}
|
|
238
319
|
},
|
|
239
320
|
{
|
|
240
|
-
"variant": "pill" as
|
|
321
|
+
"variant": "pill" as typeof variant[number],
|
|
241
322
|
"active": true,
|
|
242
323
|
"highlight": true,
|
|
243
324
|
"class": {
|
|
244
325
|
"link": [
|
|
245
|
-
"hover:before:bg-
|
|
326
|
+
"hover:before:bg-(--ui-bg-elevated)/50",
|
|
246
327
|
"before:transition-colors"
|
|
247
328
|
]
|
|
248
329
|
}
|
|
@@ -250,141 +331,173 @@ export default {
|
|
|
250
331
|
{
|
|
251
332
|
"disabled": false,
|
|
252
333
|
"active": false,
|
|
253
|
-
"variant": "link" as
|
|
334
|
+
"variant": "link" as typeof variant[number],
|
|
254
335
|
"class": {
|
|
255
336
|
"link": [
|
|
256
|
-
"hover:text-
|
|
337
|
+
"hover:text-(--ui-text-highlighted)",
|
|
257
338
|
"transition-colors"
|
|
258
339
|
],
|
|
259
340
|
"linkLeadingIcon": [
|
|
260
|
-
"group-hover:text-
|
|
341
|
+
"group-hover:text-(--ui-text)",
|
|
261
342
|
"transition-colors"
|
|
262
343
|
]
|
|
263
344
|
}
|
|
264
345
|
},
|
|
265
346
|
{
|
|
266
|
-
"
|
|
267
|
-
"
|
|
347
|
+
"disabled": false,
|
|
348
|
+
"active": false,
|
|
349
|
+
"variant": "link" as typeof variant[number],
|
|
350
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
351
|
+
"class": {
|
|
352
|
+
"link": "data-[state=open]:text-(--ui-text-highlighted)",
|
|
353
|
+
"linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"color": "primary" as typeof color[number],
|
|
358
|
+
"variant": "link" as typeof variant[number],
|
|
268
359
|
"active": true,
|
|
269
360
|
"class": {
|
|
270
|
-
"link": "text-
|
|
271
|
-
"linkLeadingIcon": "text-[
|
|
361
|
+
"link": "text-(--ui-primary)",
|
|
362
|
+
"linkLeadingIcon": "text-(--ui-primary) group-data-[state=open]:text-(--ui-primary)"
|
|
272
363
|
}
|
|
273
364
|
},
|
|
274
365
|
{
|
|
275
|
-
"color": "secondary" as
|
|
276
|
-
"variant": "link" as
|
|
366
|
+
"color": "secondary" as typeof color[number],
|
|
367
|
+
"variant": "link" as typeof variant[number],
|
|
277
368
|
"active": true,
|
|
278
369
|
"class": {
|
|
279
|
-
"link": "text-
|
|
280
|
-
"linkLeadingIcon": "text-[
|
|
370
|
+
"link": "text-(--ui-secondary)",
|
|
371
|
+
"linkLeadingIcon": "text-(--ui-secondary) group-data-[state=open]:text-(--ui-secondary)"
|
|
281
372
|
}
|
|
282
373
|
},
|
|
283
374
|
{
|
|
284
|
-
"color": "success" as
|
|
285
|
-
"variant": "link" as
|
|
375
|
+
"color": "success" as typeof color[number],
|
|
376
|
+
"variant": "link" as typeof variant[number],
|
|
286
377
|
"active": true,
|
|
287
378
|
"class": {
|
|
288
|
-
"link": "text-
|
|
289
|
-
"linkLeadingIcon": "text-[
|
|
379
|
+
"link": "text-(--ui-success)",
|
|
380
|
+
"linkLeadingIcon": "text-(--ui-success) group-data-[state=open]:text-(--ui-success)"
|
|
290
381
|
}
|
|
291
382
|
},
|
|
292
383
|
{
|
|
293
|
-
"color": "info" as
|
|
294
|
-
"variant": "link" as
|
|
384
|
+
"color": "info" as typeof color[number],
|
|
385
|
+
"variant": "link" as typeof variant[number],
|
|
295
386
|
"active": true,
|
|
296
387
|
"class": {
|
|
297
|
-
"link": "text-
|
|
298
|
-
"linkLeadingIcon": "text-[
|
|
388
|
+
"link": "text-(--ui-info)",
|
|
389
|
+
"linkLeadingIcon": "text-(--ui-info) group-data-[state=open]:text-(--ui-info)"
|
|
299
390
|
}
|
|
300
391
|
},
|
|
301
392
|
{
|
|
302
|
-
"color": "warning" as
|
|
303
|
-
"variant": "link" as
|
|
393
|
+
"color": "warning" as typeof color[number],
|
|
394
|
+
"variant": "link" as typeof variant[number],
|
|
304
395
|
"active": true,
|
|
305
396
|
"class": {
|
|
306
|
-
"link": "text-
|
|
307
|
-
"linkLeadingIcon": "text-[
|
|
397
|
+
"link": "text-(--ui-warning)",
|
|
398
|
+
"linkLeadingIcon": "text-(--ui-warning) group-data-[state=open]:text-(--ui-warning)"
|
|
308
399
|
}
|
|
309
400
|
},
|
|
310
401
|
{
|
|
311
|
-
"color": "error" as
|
|
312
|
-
"variant": "link" as
|
|
402
|
+
"color": "error" as typeof color[number],
|
|
403
|
+
"variant": "link" as typeof variant[number],
|
|
313
404
|
"active": true,
|
|
314
405
|
"class": {
|
|
315
|
-
"link": "text-
|
|
316
|
-
"linkLeadingIcon": "text-[
|
|
406
|
+
"link": "text-(--ui-error)",
|
|
407
|
+
"linkLeadingIcon": "text-(--ui-error) group-data-[state=open]:text-(--ui-error)"
|
|
317
408
|
}
|
|
318
409
|
},
|
|
319
410
|
{
|
|
320
|
-
"color": "neutral" as
|
|
321
|
-
"variant": "link" as
|
|
411
|
+
"color": "neutral" as typeof color[number],
|
|
412
|
+
"variant": "link" as typeof variant[number],
|
|
322
413
|
"active": true,
|
|
323
414
|
"class": {
|
|
324
|
-
"link": "text-
|
|
325
|
-
"linkLeadingIcon": "text-[
|
|
415
|
+
"link": "text-(--ui-text-highlighted)",
|
|
416
|
+
"linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)"
|
|
326
417
|
}
|
|
327
418
|
},
|
|
328
419
|
{
|
|
329
|
-
"highlightColor": "primary" as
|
|
420
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
330
421
|
"highlight": true,
|
|
422
|
+
"level": true,
|
|
331
423
|
"active": true,
|
|
332
424
|
"class": {
|
|
333
|
-
"link": "after:bg-
|
|
425
|
+
"link": "after:bg-(--ui-primary)"
|
|
334
426
|
}
|
|
335
427
|
},
|
|
336
428
|
{
|
|
337
|
-
"highlightColor": "secondary" as
|
|
429
|
+
"highlightColor": "secondary" as typeof highlightColor[number],
|
|
338
430
|
"highlight": true,
|
|
431
|
+
"level": true,
|
|
339
432
|
"active": true,
|
|
340
433
|
"class": {
|
|
341
|
-
"link": "after:bg-
|
|
434
|
+
"link": "after:bg-(--ui-secondary)"
|
|
342
435
|
}
|
|
343
436
|
},
|
|
344
437
|
{
|
|
345
|
-
"highlightColor": "success" as
|
|
438
|
+
"highlightColor": "success" as typeof highlightColor[number],
|
|
346
439
|
"highlight": true,
|
|
440
|
+
"level": true,
|
|
347
441
|
"active": true,
|
|
348
442
|
"class": {
|
|
349
|
-
"link": "after:bg-
|
|
443
|
+
"link": "after:bg-(--ui-success)"
|
|
350
444
|
}
|
|
351
445
|
},
|
|
352
446
|
{
|
|
353
|
-
"highlightColor": "info" as
|
|
447
|
+
"highlightColor": "info" as typeof highlightColor[number],
|
|
354
448
|
"highlight": true,
|
|
449
|
+
"level": true,
|
|
355
450
|
"active": true,
|
|
356
451
|
"class": {
|
|
357
|
-
"link": "after:bg-
|
|
452
|
+
"link": "after:bg-(--ui-info)"
|
|
358
453
|
}
|
|
359
454
|
},
|
|
360
455
|
{
|
|
361
|
-
"highlightColor": "warning" as
|
|
456
|
+
"highlightColor": "warning" as typeof highlightColor[number],
|
|
362
457
|
"highlight": true,
|
|
458
|
+
"level": true,
|
|
363
459
|
"active": true,
|
|
364
460
|
"class": {
|
|
365
|
-
"link": "after:bg-
|
|
461
|
+
"link": "after:bg-(--ui-warning)"
|
|
366
462
|
}
|
|
367
463
|
},
|
|
368
464
|
{
|
|
369
|
-
"highlightColor": "error" as
|
|
465
|
+
"highlightColor": "error" as typeof highlightColor[number],
|
|
370
466
|
"highlight": true,
|
|
467
|
+
"level": true,
|
|
371
468
|
"active": true,
|
|
372
469
|
"class": {
|
|
373
|
-
"link": "after:bg-
|
|
470
|
+
"link": "after:bg-(--ui-error)"
|
|
374
471
|
}
|
|
375
472
|
},
|
|
376
473
|
{
|
|
377
|
-
"highlightColor": "neutral" as
|
|
474
|
+
"highlightColor": "neutral" as typeof highlightColor[number],
|
|
378
475
|
"highlight": true,
|
|
476
|
+
"level": true,
|
|
379
477
|
"active": true,
|
|
380
478
|
"class": {
|
|
381
|
-
"link": "after:bg-
|
|
479
|
+
"link": "after:bg-(--ui-bg-inverted)"
|
|
480
|
+
}
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
484
|
+
"collapsed": false,
|
|
485
|
+
"class": {
|
|
486
|
+
"childList": "ms-5 border-s border-(--ui-border)",
|
|
487
|
+
"childItem": "ps-1.5 -ms-px"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
492
|
+
"collapsed": true,
|
|
493
|
+
"class": {
|
|
494
|
+
"link": "px-1.5"
|
|
382
495
|
}
|
|
383
496
|
}
|
|
384
497
|
],
|
|
385
498
|
"defaultVariants": {
|
|
386
|
-
"color": "primary" as
|
|
387
|
-
"highlightColor": "primary" as
|
|
388
|
-
"variant": "pill" as
|
|
499
|
+
"color": "primary" as typeof color[number],
|
|
500
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
501
|
+
"variant": "pill" as typeof variant[number]
|
|
389
502
|
}
|
|
390
503
|
}
|