@nuxt/ui 3.0.0-alpha.8 → 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.
Files changed (310) hide show
  1. package/.nuxt/ui/accordion.ts +2 -2
  2. package/.nuxt/ui/alert.ts +122 -95
  3. package/.nuxt/ui/avatar-group.ts +14 -2
  4. package/.nuxt/ui/avatar.ts +16 -4
  5. package/.nuxt/ui/badge.ts +139 -93
  6. package/.nuxt/ui/breadcrumb.ts +5 -5
  7. package/.nuxt/ui/button-group.ts +13 -0
  8. package/.nuxt/ui/button.ts +167 -136
  9. package/.nuxt/ui/calendar.ts +103 -0
  10. package/.nuxt/ui/card.ts +27 -1
  11. package/.nuxt/ui/carousel.ts +9 -7
  12. package/.nuxt/ui/checkbox.ts +45 -27
  13. package/.nuxt/ui/chip.ts +44 -15
  14. package/.nuxt/ui/color-picker.ts +47 -0
  15. package/.nuxt/ui/command-palette.ts +28 -18
  16. package/.nuxt/ui/container.ts +1 -1
  17. package/.nuxt/ui/context-menu.ts +64 -46
  18. package/.nuxt/ui/drawer.ts +83 -15
  19. package/.nuxt/ui/dropdown-menu.ts +65 -47
  20. package/.nuxt/ui/form-field.ts +15 -7
  21. package/.nuxt/ui/index.ts +7 -1
  22. package/.nuxt/ui/input-menu.ts +150 -116
  23. package/.nuxt/ui/input-number.ts +235 -0
  24. package/.nuxt/ui/input.ts +111 -76
  25. package/.nuxt/ui/kbd.ts +18 -6
  26. package/.nuxt/ui/link.ts +3 -3
  27. package/.nuxt/ui/modal.ts +8 -7
  28. package/.nuxt/ui/navigation-menu.ts +244 -131
  29. package/.nuxt/ui/pin-input.ts +171 -0
  30. package/.nuxt/ui/popover.ts +2 -2
  31. package/.nuxt/ui/progress.ts +111 -72
  32. package/.nuxt/ui/radio-group.ts +45 -22
  33. package/.nuxt/ui/select-menu.ts +127 -96
  34. package/.nuxt/ui/select.ts +120 -84
  35. package/.nuxt/ui/separator.ts +60 -31
  36. package/.nuxt/ui/skeleton.ts +1 -1
  37. package/.nuxt/ui/slideover.ts +17 -9
  38. package/.nuxt/ui/slider.ts +61 -38
  39. package/.nuxt/ui/stepper.ts +202 -0
  40. package/.nuxt/ui/switch.ts +40 -22
  41. package/.nuxt/ui/table.ts +49 -31
  42. package/.nuxt/ui/tabs.ts +101 -73
  43. package/.nuxt/ui/textarea.ts +111 -76
  44. package/.nuxt/ui/toast.ts +53 -33
  45. package/.nuxt/ui/toaster.ts +31 -15
  46. package/.nuxt/ui/tooltip.ts +2 -2
  47. package/.nuxt/ui/tree.ts +154 -0
  48. package/.nuxt/ui.css +92 -0
  49. package/README.md +69 -18
  50. package/cli/commands/{init.mjs → make/component.mjs} +16 -4
  51. package/cli/commands/make/index.mjs +14 -0
  52. package/cli/commands/make/locale.mjs +64 -0
  53. package/cli/index.mjs +2 -2
  54. package/cli/package.json +2 -2
  55. package/cli/templates.mjs +62 -12
  56. package/cli/utils.mjs +14 -0
  57. package/dist/module.cjs +9 -170
  58. package/dist/module.d.cts +5 -15
  59. package/dist/module.d.mts +5 -15
  60. package/dist/module.d.ts +5 -15
  61. package/dist/module.json +2 -2
  62. package/dist/module.mjs +12 -167
  63. package/dist/runtime/components/Accordion.vue +8 -39
  64. package/dist/runtime/components/Alert.vue +25 -21
  65. package/dist/runtime/components/App.vue +15 -15
  66. package/dist/runtime/components/Avatar.vue +33 -21
  67. package/dist/runtime/components/AvatarGroup.vue +5 -7
  68. package/dist/runtime/components/Badge.vue +10 -8
  69. package/dist/runtime/components/Breadcrumb.vue +13 -34
  70. package/dist/runtime/components/Button.vue +5 -8
  71. package/dist/runtime/components/ButtonGroup.vue +5 -7
  72. package/dist/runtime/components/Calendar.vue +194 -0
  73. package/dist/runtime/components/Card.vue +10 -9
  74. package/dist/runtime/components/Carousel.vue +26 -17
  75. package/dist/runtime/components/Checkbox.vue +32 -38
  76. package/dist/runtime/components/Chip.vue +6 -8
  77. package/dist/runtime/components/Collapsible.vue +10 -11
  78. package/dist/runtime/components/ColorPicker.vue +297 -0
  79. package/dist/runtime/components/CommandPalette.vue +114 -98
  80. package/dist/runtime/components/Container.vue +4 -7
  81. package/dist/runtime/components/ContextMenu.vue +16 -69
  82. package/dist/runtime/components/ContextMenuContent.vue +14 -10
  83. package/dist/runtime/components/Drawer.vue +23 -12
  84. package/dist/runtime/components/DropdownMenu.vue +18 -59
  85. package/dist/runtime/components/DropdownMenuContent.vue +14 -10
  86. package/dist/runtime/components/Form.vue +78 -49
  87. package/dist/runtime/components/FormField.vue +28 -15
  88. package/dist/runtime/components/Icon.vue +1 -1
  89. package/dist/runtime/components/Input.vue +15 -7
  90. package/dist/runtime/components/InputMenu.vue +133 -66
  91. package/dist/runtime/components/InputNumber.vue +197 -0
  92. package/dist/runtime/components/Kbd.vue +5 -6
  93. package/dist/runtime/components/Link.vue +24 -13
  94. package/dist/runtime/components/LinkBase.vue +1 -1
  95. package/dist/runtime/components/Modal.vue +56 -34
  96. package/dist/runtime/components/NavigationMenu.vue +129 -112
  97. package/dist/runtime/components/OverlayProvider.vue +28 -0
  98. package/dist/runtime/components/Pagination.vue +18 -14
  99. package/dist/runtime/components/PinInput.vue +95 -0
  100. package/dist/runtime/components/Popover.vue +28 -14
  101. package/dist/runtime/components/Progress.vue +28 -12
  102. package/dist/runtime/components/RadioGroup.vue +9 -12
  103. package/dist/runtime/components/Select.vue +61 -35
  104. package/dist/runtime/components/SelectMenu.vue +201 -130
  105. package/dist/runtime/components/Separator.vue +6 -5
  106. package/dist/runtime/components/Skeleton.vue +4 -7
  107. package/dist/runtime/components/Slideover.vue +56 -33
  108. package/dist/runtime/components/Slider.vue +8 -7
  109. package/dist/runtime/components/Stepper.vue +170 -0
  110. package/dist/runtime/components/Switch.vue +19 -23
  111. package/dist/runtime/components/Table.vue +157 -32
  112. package/dist/runtime/components/Tabs.vue +12 -31
  113. package/dist/runtime/components/Textarea.vue +18 -9
  114. package/dist/runtime/components/Toast.vue +39 -25
  115. package/dist/runtime/components/Toaster.vue +31 -24
  116. package/dist/runtime/components/Tooltip.vue +9 -12
  117. package/dist/runtime/components/Tree.vue +196 -0
  118. package/dist/runtime/composables/defineLocale.d.ts +9 -0
  119. package/dist/runtime/composables/defineLocale.js +4 -0
  120. package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
  121. package/dist/runtime/composables/defineShortcuts.js +2 -2
  122. package/dist/runtime/composables/useFormField.d.ts +11 -4
  123. package/dist/runtime/composables/useFormField.js +19 -9
  124. package/dist/runtime/composables/useLocale.d.ts +4 -0
  125. package/dist/runtime/composables/useLocale.js +10 -0
  126. package/dist/runtime/composables/useOverlay.d.ts +30 -0
  127. package/dist/runtime/composables/useOverlay.js +70 -0
  128. package/dist/runtime/composables/useToast.d.ts +4 -3
  129. package/dist/runtime/composables/useToast.js +20 -6
  130. package/dist/runtime/index.css +1 -1
  131. package/dist/runtime/keyframes.css +1 -1
  132. package/dist/runtime/locale/ar.d.ts +2 -0
  133. package/dist/runtime/locale/ar.js +55 -0
  134. package/dist/runtime/locale/az.d.ts +2 -0
  135. package/dist/runtime/locale/az.js +54 -0
  136. package/dist/runtime/locale/bn.d.ts +2 -0
  137. package/dist/runtime/locale/bn.js +54 -0
  138. package/dist/runtime/locale/cs.d.ts +2 -0
  139. package/dist/runtime/locale/cs.js +54 -0
  140. package/dist/runtime/locale/da.d.ts +2 -0
  141. package/dist/runtime/locale/da.js +54 -0
  142. package/dist/runtime/locale/de.d.ts +2 -0
  143. package/dist/runtime/locale/de.js +54 -0
  144. package/dist/runtime/locale/el.d.ts +2 -0
  145. package/dist/runtime/locale/el.js +54 -0
  146. package/dist/runtime/locale/en.d.ts +2 -0
  147. package/dist/runtime/locale/en.js +54 -0
  148. package/dist/runtime/locale/es.d.ts +2 -0
  149. package/dist/runtime/locale/es.js +54 -0
  150. package/dist/runtime/locale/et.d.ts +2 -0
  151. package/dist/runtime/locale/et.js +54 -0
  152. package/dist/runtime/locale/fa_ir.d.ts +2 -0
  153. package/dist/runtime/locale/fa_ir.js +55 -0
  154. package/dist/runtime/locale/fi.d.ts +2 -0
  155. package/dist/runtime/locale/fi.js +54 -0
  156. package/dist/runtime/locale/fr.d.ts +2 -0
  157. package/dist/runtime/locale/fr.js +54 -0
  158. package/dist/runtime/locale/he.d.ts +2 -0
  159. package/dist/runtime/locale/he.js +53 -0
  160. package/dist/runtime/locale/hi.d.ts +2 -0
  161. package/dist/runtime/locale/hi.js +54 -0
  162. package/dist/runtime/locale/hu.d.ts +2 -0
  163. package/dist/runtime/locale/hu.js +54 -0
  164. package/dist/runtime/locale/id.d.ts +2 -0
  165. package/dist/runtime/locale/id.js +54 -0
  166. package/dist/runtime/locale/index.d.ts +34 -0
  167. package/dist/runtime/locale/index.js +34 -0
  168. package/dist/runtime/locale/it.d.ts +2 -0
  169. package/dist/runtime/locale/it.js +54 -0
  170. package/dist/runtime/locale/ja.d.ts +2 -0
  171. package/dist/runtime/locale/ja.js +54 -0
  172. package/dist/runtime/locale/km.d.ts +2 -0
  173. package/dist/runtime/locale/km.js +54 -0
  174. package/dist/runtime/locale/ko.d.ts +2 -0
  175. package/dist/runtime/locale/ko.js +54 -0
  176. package/dist/runtime/locale/nb_no.d.ts +2 -0
  177. package/dist/runtime/locale/nb_no.js +54 -0
  178. package/dist/runtime/locale/nl.d.ts +2 -0
  179. package/dist/runtime/locale/nl.js +54 -0
  180. package/dist/runtime/locale/pl.d.ts +2 -0
  181. package/dist/runtime/locale/pl.js +54 -0
  182. package/dist/runtime/locale/pt.d.ts +2 -0
  183. package/dist/runtime/locale/pt.js +54 -0
  184. package/dist/runtime/locale/pt_br.d.ts +2 -0
  185. package/dist/runtime/locale/pt_br.js +54 -0
  186. package/dist/runtime/locale/ru.d.ts +2 -0
  187. package/dist/runtime/locale/ru.js +54 -0
  188. package/dist/runtime/locale/sk.d.ts +2 -0
  189. package/dist/runtime/locale/sk.js +54 -0
  190. package/dist/runtime/locale/sv.d.ts +2 -0
  191. package/dist/runtime/locale/sv.js +54 -0
  192. package/dist/runtime/locale/th.d.ts +2 -0
  193. package/dist/runtime/locale/th.js +54 -0
  194. package/dist/runtime/locale/tr.d.ts +2 -0
  195. package/dist/runtime/locale/tr.js +54 -0
  196. package/dist/runtime/locale/uk.d.ts +2 -0
  197. package/dist/runtime/locale/uk.js +54 -0
  198. package/dist/runtime/locale/vi.d.ts +2 -0
  199. package/dist/runtime/locale/vi.js +54 -0
  200. package/dist/runtime/locale/zh_cn.d.ts +2 -0
  201. package/dist/runtime/locale/zh_cn.js +54 -0
  202. package/dist/runtime/locale/zh_tw.d.ts +2 -0
  203. package/dist/runtime/locale/zh_tw.js +54 -0
  204. package/dist/runtime/plugins/colors.js +8 -5
  205. package/dist/runtime/types/form.d.ts +29 -15
  206. package/dist/runtime/types/form.js +2 -2
  207. package/dist/runtime/types/index.d.ts +8 -0
  208. package/dist/runtime/types/index.js +8 -0
  209. package/dist/runtime/types/locale.d.ts +56 -0
  210. package/dist/runtime/types/locale.js +0 -0
  211. package/dist/runtime/types/utils.d.ts +7 -3
  212. package/dist/runtime/utils/form.d.ts +5 -9
  213. package/dist/runtime/utils/form.js +113 -50
  214. package/dist/runtime/utils/index.d.ts +1 -1
  215. package/dist/runtime/utils/index.js +15 -2
  216. package/dist/runtime/utils/link.d.ts +1 -1
  217. package/dist/runtime/utils/locale.d.ts +15 -0
  218. package/dist/runtime/utils/locale.js +25 -0
  219. package/dist/runtime/utils/tv.d.ts +1 -0
  220. package/dist/runtime/utils/tv.js +4 -0
  221. package/dist/runtime/vue/components/Icon.vue +2 -2
  222. package/dist/runtime/vue/components/Link.vue +87 -23
  223. package/dist/runtime/vue/composables/useAppConfig.d.ts +1 -0
  224. package/dist/runtime/vue/composables/useAppConfig.js +2 -0
  225. package/dist/runtime/vue/plugins/head.d.ts +1 -1
  226. package/dist/runtime/vue/plugins/head.js +3 -3
  227. package/dist/runtime/vue/stubs.d.ts +19 -0
  228. package/dist/runtime/vue/stubs.js +37 -0
  229. package/dist/shared/{ui.BufKhDiD.mjs → ui.DSPu6Y8j.mjs} +1071 -409
  230. package/dist/shared/{ui.BU7wzH0D.cjs → ui.DfK2RX6G.cjs} +1074 -409
  231. package/dist/unplugin.cjs +62 -26
  232. package/dist/unplugin.d.cts +17 -3
  233. package/dist/unplugin.d.mts +17 -3
  234. package/dist/unplugin.d.ts +17 -3
  235. package/dist/unplugin.mjs +61 -25
  236. package/dist/vite.cjs +3 -2
  237. package/dist/vite.d.cts +2 -0
  238. package/dist/vite.d.mts +2 -0
  239. package/dist/vite.d.ts +2 -0
  240. package/dist/vite.mjs +3 -2
  241. package/package.json +110 -67
  242. package/dist/chunks/component-meta.cjs +0 -73264
  243. package/dist/chunks/component-meta.mjs +0 -73262
  244. package/dist/client/devtools/200.html +0 -1
  245. package/dist/client/devtools/404.html +0 -1
  246. package/dist/client/devtools/_fonts/rP2Wp2ywxg089UriCZaSExd86J3t9jz86MvyyKK58UfivUw4aw-SK92LTmKP0.woff2 +0 -0
  247. package/dist/client/devtools/_fonts/rP2Wp2ywxg089UriCZaSExd86J3t9jz86MvyyKy58UfivUw-9uYm8d48E4.woff2 +0 -0
  248. package/dist/client/devtools/_fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K6z9mXg-VNw7NHvqnp.woff2 +0 -0
  249. package/dist/client/devtools/_fonts/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6z9mXgjU0-EkYdMs3MAX.woff2 +0 -0
  250. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-7DW3w-R7n06NbhGy.woff +0 -0
  251. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDG3w-leGNfkTmsj.woff +0 -0
  252. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat-JDW3w-ciElMF03ku.woff +0 -0
  253. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8JCm3w-sB722Uoa0f.woff +0 -0
  254. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8JDW3w-PBDI1JDjwV.woff +0 -0
  255. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat8gCm3w-0q1hqVn09O.woff +0 -0
  256. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9XCm3w-ByvzuLy2fa.woff +0 -0
  257. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat9uCm3w-5TKCIs6EEw.woff +0 -0
  258. package/dist/client/devtools/_fonts/rP2rp2ywxg089UriCZaSExd86J3t9jz86Mvy4qCRAL19DksVat_XDW3w-r2swRDGfn2.woff +0 -0
  259. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAC5thTQ-ldB60l5U8r.woff +0 -0
  260. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAIpthTQ-wbFKGFDrgo.woff +0 -0
  261. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAIpxhTQ-LLUBv5jskj.woff +0 -0
  262. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwARZthTQ-F71RdTRbNg.woff +0 -0
  263. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwA_JxhTQ-6nh65gZkc0.woff +0 -0
  264. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAfJthTQ-aMoWEJLmTt.woff +0 -0
  265. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAkJxhTQ-WMBvmLOgKm.woff +0 -0
  266. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAop1hTQ-utGC2hnWq2.woff +0 -0
  267. package/dist/client/devtools/_fonts/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhTQ-YpyTieVa5B.woff +0 -0
  268. package/dist/client/devtools/_nuxt/Bj9hdafK.js +0 -1
  269. package/dist/client/devtools/_nuxt/DM3_wAgz.js +0 -62
  270. package/dist/client/devtools/_nuxt/builds/latest.json +0 -1
  271. package/dist/client/devtools/_nuxt/builds/meta/e6b425f7-b919-4014-915b-0ea07c316790.json +0 -1
  272. package/dist/client/devtools/_nuxt/entry.DaJP-ZMB.css +0 -24
  273. package/dist/client/devtools/_nuxt/error-404.B0Nmv3fV.css +0 -1
  274. package/dist/client/devtools/_nuxt/error-500.C8fgTxVz.css +0 -1
  275. package/dist/client/devtools/_nuxt/hKiujHsR.js +0 -1
  276. package/dist/client/devtools/favicon.svg +0 -1
  277. package/dist/client/devtools/index.html +0 -1
  278. package/dist/devtools/runtime/DevtoolsRenderer.vue +0 -53
  279. package/dist/devtools/runtime/examples/AvatarGroupExample.vue +0 -7
  280. package/dist/devtools/runtime/examples/ButtonGroupExample.vue +0 -8
  281. package/dist/devtools/runtime/examples/CardExample.vue +0 -13
  282. package/dist/devtools/runtime/examples/CarouselExample.vue +0 -13
  283. package/dist/devtools/runtime/examples/ChipExample.vue +0 -5
  284. package/dist/devtools/runtime/examples/CollapsibleExample.vue +0 -8
  285. package/dist/devtools/runtime/examples/CommandPaletteExample.vue +0 -29
  286. package/dist/devtools/runtime/examples/ContainerExample.vue +0 -5
  287. package/dist/devtools/runtime/examples/ContextMenuExample.vue +0 -5
  288. package/dist/devtools/runtime/examples/DrawerExample.vue +0 -8
  289. package/dist/devtools/runtime/examples/DropdownMenuExample.vue +0 -5
  290. package/dist/devtools/runtime/examples/FormExample.vue +0 -30
  291. package/dist/devtools/runtime/examples/FormFieldExample.vue +0 -5
  292. package/dist/devtools/runtime/examples/LinkExample.vue +0 -5
  293. package/dist/devtools/runtime/examples/ModalExample.vue +0 -8
  294. package/dist/devtools/runtime/examples/PopoverExample.vue +0 -8
  295. package/dist/devtools/runtime/examples/SkeletonExample.vue +0 -3
  296. package/dist/devtools/runtime/examples/SlideoverExample.vue +0 -8
  297. package/dist/devtools/runtime/examples/ToasterExample.vue +0 -11
  298. package/dist/devtools/runtime/examples/TooltipExample.vue +0 -5
  299. package/dist/runtime/components/ModalProvider.vue +0 -12
  300. package/dist/runtime/components/SlideoverProvider.vue +0 -12
  301. package/dist/runtime/composables/extendDevtoolsMeta.d.ts +0 -7
  302. package/dist/runtime/composables/extendDevtoolsMeta.js +0 -2
  303. package/dist/runtime/composables/useModal.d.ts +0 -17
  304. package/dist/runtime/composables/useModal.js +0 -46
  305. package/dist/runtime/composables/useSlideover.d.ts +0 -17
  306. package/dist/runtime/composables/useSlideover.js +0 -46
  307. package/dist/runtime/plugins/modal.d.ts +0 -2
  308. package/dist/runtime/plugins/modal.js +0 -10
  309. package/dist/runtime/plugins/slideover.d.ts +0 -2
  310. package/dist/runtime/plugins/slideover.js +0 -10
@@ -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 rounded",
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-[var(--ui-text-dimmed)]",
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-[var(--ui-text-dimmed)]",
23
- "childLinkDescription": "text-sm text-[var(--ui-text-muted)]",
24
- "separator": "px-2 h-px bg-[var(--ui-border)]",
25
- "viewportWrapper": "absolute top-full left-0 flex w-full justify-center",
26
- "viewport": "relative overflow-hidden bg-[var(--ui-bg)] shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-[var(--ui-border)] h-[var(--radix-navigation-menu-viewport-height)] w-full transition-[width,height] origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]",
27
- "content": "absolute top-0 left-0 w-full 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]",
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-transform duration-200 ease-out",
29
- "arrow": "relative top-[50%] size-2.5 rotate-45 border border-[var(--ui-border)] bg-[var(--ui-bg)] z-[1] rounded-[calc(var(--ui-radius)/2)]"
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-[var(--ui-primary)]",
35
- "childLink": "focus-visible:outline-[var(--ui-primary)]"
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-[var(--ui-secondary)]",
39
- "childLink": "focus-visible:outline-[var(--ui-secondary)]"
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-[var(--ui-success)]",
43
- "childLink": "focus-visible:outline-[var(--ui-success)]"
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-[var(--ui-info)]",
47
- "childLink": "focus-visible:outline-[var(--ui-info)]"
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-[var(--ui-warning)]",
51
- "childLink": "focus-visible:outline-[var(--ui-warning)]"
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-[var(--ui-error)]",
55
- "childLink": "focus-visible:outline-[var(--ui-error)]"
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-[var(--ui-border-inverted)]",
59
- "childLink": "focus-visible:outline-[var(--ui-border-inverted)]"
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": "w-full items-center justify-between",
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 grid-cols-2 gap-2 p-2"
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
- "childList": "ms-5 border-s border-[var(--ui-border)]",
87
- "childItem": "ps-1.5 -ms-px"
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-[var(--ui-bg-elevated)] text-[var(--ui-text-highlighted)]",
93
- "childLinkIcon": "text-[var(--ui-text)]"
137
+ "childLink": "bg-(--ui-bg-elevated) text-(--ui-text-highlighted)",
138
+ "childLinkIcon": "text-(--ui-text)"
94
139
  },
95
140
  "false": {
96
- "link": "text-[var(--ui-text-muted)]",
97
- "linkLeadingIcon": "text-[var(--ui-text-dimmed)]",
141
+ "link": "text-(--ui-text-muted)",
142
+ "linkLeadingIcon": "text-(--ui-text-dimmed)",
98
143
  "childLink": [
99
- "hover:bg-[var(--ui-bg-elevated)]/50 text-[var(--ui-text)] hover:text-[var(--ui-text-highlighted)]",
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-[var(--ui-text-dimmed)] group-hover:text-[var(--ui-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
- "item": "-mb-px",
123
- "link": "after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full"
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
- "orientation": "vertical" as const,
197
+ "level": true,
129
198
  "class": {
130
- "item": "px-1.5 -ms-px",
131
- "link": "after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full"
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 const,
208
+ "variant": "pill" as typeof variant[number],
138
209
  "class": {
139
210
  "link": [
140
- "hover:text-[var(--ui-text-highlighted)] hover:before:bg-[var(--ui-bg-elevated)]/50 data-[state=open]:text-[var(--ui-text-highlighted)]",
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-[var(--ui-text)] group-data-[state=open]:text-[var(--ui-text)]",
215
+ "group-hover:text-(--ui-text)",
145
216
  "transition-colors"
146
217
  ]
147
218
  }
148
219
  },
149
220
  {
150
221
  "disabled": false,
151
- "variant": "pill" as const,
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 const,
234
+ "orientation": "horizontal" as typeof orientation[number],
154
235
  "class": {
155
- "link": "data-[state=open]:before:bg-[var(--ui-bg-elevated)]/50"
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 const,
241
+ "variant": "pill" as typeof variant[number],
161
242
  "highlight": false,
162
243
  "active": false,
163
- "orientation": "horizontal" as const,
244
+ "orientation": "horizontal" as typeof orientation[number],
164
245
  "class": {
165
- "link": "data-[state=open]:before:bg-[var(--ui-bg-elevated)]/50"
246
+ "link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
166
247
  }
167
248
  },
168
249
  {
169
- "color": "primary" as const,
170
- "variant": "pill" as const,
250
+ "color": "primary" as typeof color[number],
251
+ "variant": "pill" as typeof variant[number],
171
252
  "active": true,
172
253
  "class": {
173
- "link": "text-[var(--ui-primary)]",
174
- "linkLeadingIcon": "text-[var(--ui-primary)]"
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 const,
179
- "variant": "pill" as const,
259
+ "color": "secondary" as typeof color[number],
260
+ "variant": "pill" as typeof variant[number],
180
261
  "active": true,
181
262
  "class": {
182
- "link": "text-[var(--ui-secondary)]",
183
- "linkLeadingIcon": "text-[var(--ui-secondary)]"
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 const,
188
- "variant": "pill" as const,
268
+ "color": "success" as typeof color[number],
269
+ "variant": "pill" as typeof variant[number],
189
270
  "active": true,
190
271
  "class": {
191
- "link": "text-[var(--ui-success)]",
192
- "linkLeadingIcon": "text-[var(--ui-success)]"
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 const,
197
- "variant": "pill" as const,
277
+ "color": "info" as typeof color[number],
278
+ "variant": "pill" as typeof variant[number],
198
279
  "active": true,
199
280
  "class": {
200
- "link": "text-[var(--ui-info)]",
201
- "linkLeadingIcon": "text-[var(--ui-info)]"
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 const,
206
- "variant": "pill" as const,
286
+ "color": "warning" as typeof color[number],
287
+ "variant": "pill" as typeof variant[number],
207
288
  "active": true,
208
289
  "class": {
209
- "link": "text-[var(--ui-warning)]",
210
- "linkLeadingIcon": "text-[var(--ui-warning)]"
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 const,
215
- "variant": "pill" as const,
295
+ "color": "error" as typeof color[number],
296
+ "variant": "pill" as typeof variant[number],
216
297
  "active": true,
217
298
  "class": {
218
- "link": "text-[var(--ui-error)]",
219
- "linkLeadingIcon": "text-[var(--ui-error)]"
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 const,
224
- "variant": "pill" as const,
304
+ "color": "neutral" as typeof color[number],
305
+ "variant": "pill" as typeof variant[number],
225
306
  "active": true,
226
307
  "class": {
227
- "link": "text-[var(--ui-text-highlighted)]",
228
- "linkLeadingIcon": "text-[var(--ui-text-highlighted)]"
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 const,
313
+ "variant": "pill" as typeof variant[number],
233
314
  "active": true,
234
315
  "highlight": false,
235
316
  "class": {
236
- "link": "before:bg-[var(--ui-bg-elevated)]"
317
+ "link": "before:bg-(--ui-bg-elevated)"
237
318
  }
238
319
  },
239
320
  {
240
- "variant": "pill" as const,
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-[var(--ui-bg-elevated)]/50",
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 const,
334
+ "variant": "link" as typeof variant[number],
254
335
  "class": {
255
336
  "link": [
256
- "hover:text-[var(--ui-text-highlighted)] data-[state=open]:text-[var(--ui-text-highlighted)]",
337
+ "hover:text-(--ui-text-highlighted)",
257
338
  "transition-colors"
258
339
  ],
259
340
  "linkLeadingIcon": [
260
- "group-hover:text-[var(--ui-text)] group-data-[state=open]:text-[var(--ui-text)]",
341
+ "group-hover:text-(--ui-text)",
261
342
  "transition-colors"
262
343
  ]
263
344
  }
264
345
  },
265
346
  {
266
- "color": "primary" as const,
267
- "variant": "link" as const,
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-[var(--ui-primary)]",
271
- "linkLeadingIcon": "text-[var(--ui-primary)]"
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 const,
276
- "variant": "link" as const,
366
+ "color": "secondary" as typeof color[number],
367
+ "variant": "link" as typeof variant[number],
277
368
  "active": true,
278
369
  "class": {
279
- "link": "text-[var(--ui-secondary)]",
280
- "linkLeadingIcon": "text-[var(--ui-secondary)]"
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 const,
285
- "variant": "link" as const,
375
+ "color": "success" as typeof color[number],
376
+ "variant": "link" as typeof variant[number],
286
377
  "active": true,
287
378
  "class": {
288
- "link": "text-[var(--ui-success)]",
289
- "linkLeadingIcon": "text-[var(--ui-success)]"
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 const,
294
- "variant": "link" as const,
384
+ "color": "info" as typeof color[number],
385
+ "variant": "link" as typeof variant[number],
295
386
  "active": true,
296
387
  "class": {
297
- "link": "text-[var(--ui-info)]",
298
- "linkLeadingIcon": "text-[var(--ui-info)]"
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 const,
303
- "variant": "link" as const,
393
+ "color": "warning" as typeof color[number],
394
+ "variant": "link" as typeof variant[number],
304
395
  "active": true,
305
396
  "class": {
306
- "link": "text-[var(--ui-warning)]",
307
- "linkLeadingIcon": "text-[var(--ui-warning)]"
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 const,
312
- "variant": "link" as const,
402
+ "color": "error" as typeof color[number],
403
+ "variant": "link" as typeof variant[number],
313
404
  "active": true,
314
405
  "class": {
315
- "link": "text-[var(--ui-error)]",
316
- "linkLeadingIcon": "text-[var(--ui-error)]"
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 const,
321
- "variant": "link" as const,
411
+ "color": "neutral" as typeof color[number],
412
+ "variant": "link" as typeof variant[number],
322
413
  "active": true,
323
414
  "class": {
324
- "link": "text-[var(--ui-text-highlighted)]",
325
- "linkLeadingIcon": "text-[var(--ui-text-highlighted)]"
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 const,
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-[var(--ui-primary)]"
425
+ "link": "after:bg-(--ui-primary)"
334
426
  }
335
427
  },
336
428
  {
337
- "highlightColor": "secondary" as const,
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-[var(--ui-secondary)]"
434
+ "link": "after:bg-(--ui-secondary)"
342
435
  }
343
436
  },
344
437
  {
345
- "highlightColor": "success" as const,
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-[var(--ui-success)]"
443
+ "link": "after:bg-(--ui-success)"
350
444
  }
351
445
  },
352
446
  {
353
- "highlightColor": "info" as const,
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-[var(--ui-info)]"
452
+ "link": "after:bg-(--ui-info)"
358
453
  }
359
454
  },
360
455
  {
361
- "highlightColor": "warning" as const,
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-[var(--ui-warning)]"
461
+ "link": "after:bg-(--ui-warning)"
366
462
  }
367
463
  },
368
464
  {
369
- "highlightColor": "error" as const,
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-[var(--ui-error)]"
470
+ "link": "after:bg-(--ui-error)"
374
471
  }
375
472
  },
376
473
  {
377
- "highlightColor": "neutral" as const,
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-[var(--ui-bg-inverted)]"
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 const,
387
- "highlightColor": "primary" as const,
388
- "variant": "pill" as const
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
  }