@bitrix24/b24ui-nuxt 0.7.2 → 1.0.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 (260) hide show
  1. package/.nuxt/b24ui/accordion.ts +3 -3
  2. package/.nuxt/b24ui/advice.ts +6 -5
  3. package/.nuxt/b24ui/alert.ts +102 -49
  4. package/.nuxt/b24ui/avatar-group.ts +10 -10
  5. package/.nuxt/b24ui/avatar.ts +18 -18
  6. package/.nuxt/b24ui/badge.ts +167 -176
  7. package/.nuxt/b24ui/button-group.ts +3 -1
  8. package/.nuxt/b24ui/button.ts +179 -170
  9. package/.nuxt/b24ui/calendar.ts +48 -28
  10. package/.nuxt/b24ui/checkbox.ts +82 -85
  11. package/.nuxt/b24ui/chip.ts +121 -32
  12. package/.nuxt/b24ui/container.ts +1 -1
  13. package/.nuxt/b24ui/content/table-wrapper.ts +11 -11
  14. package/.nuxt/b24ui/countdown.ts +11 -11
  15. package/.nuxt/b24ui/description-list.ts +6 -6
  16. package/.nuxt/b24ui/dropdown-menu.ts +111 -183
  17. package/.nuxt/b24ui/form-field.ts +19 -19
  18. package/.nuxt/b24ui/index.ts +0 -1
  19. package/.nuxt/b24ui/input-menu.ts +294 -357
  20. package/.nuxt/b24ui/input-number.ts +111 -259
  21. package/.nuxt/b24ui/input.ts +136 -259
  22. package/.nuxt/b24ui/kbd.ts +15 -13
  23. package/.nuxt/b24ui/link.ts +5 -5
  24. package/.nuxt/b24ui/modal.ts +14 -12
  25. package/.nuxt/b24ui/navbar-divider.ts +1 -1
  26. package/.nuxt/b24ui/navbar-section.ts +1 -1
  27. package/.nuxt/b24ui/navbar.ts +1 -1
  28. package/.nuxt/b24ui/navigation-menu.ts +70 -754
  29. package/.nuxt/b24ui/popover.ts +2 -2
  30. package/.nuxt/b24ui/progress.ts +58 -68
  31. package/.nuxt/b24ui/prose/a.ts +1 -1
  32. package/.nuxt/b24ui/prose/blockquote.ts +1 -1
  33. package/.nuxt/b24ui/prose/code.ts +45 -9
  34. package/.nuxt/b24ui/prose/h1.ts +21 -2
  35. package/.nuxt/b24ui/prose/h2.ts +21 -12
  36. package/.nuxt/b24ui/prose/h3.ts +21 -12
  37. package/.nuxt/b24ui/prose/h4.ts +21 -12
  38. package/.nuxt/b24ui/prose/h5.ts +21 -12
  39. package/.nuxt/b24ui/prose/h6.ts +21 -12
  40. package/.nuxt/b24ui/prose/hr.ts +1 -1
  41. package/.nuxt/b24ui/prose/ol.ts +1 -1
  42. package/.nuxt/b24ui/prose/p.ts +26 -1
  43. package/.nuxt/b24ui/prose/thead.ts +1 -1
  44. package/.nuxt/b24ui/prose/ul.ts +1 -1
  45. package/.nuxt/b24ui/radio-group.ts +115 -155
  46. package/.nuxt/b24ui/range.ts +38 -26
  47. package/.nuxt/b24ui/select-menu.ts +251 -306
  48. package/.nuxt/b24ui/select.ts +246 -301
  49. package/.nuxt/b24ui/separator.ts +40 -85
  50. package/.nuxt/b24ui/sidebar-header.ts +1 -1
  51. package/.nuxt/b24ui/sidebar-heading.ts +1 -1
  52. package/.nuxt/b24ui/sidebar-layout.ts +130 -19
  53. package/.nuxt/b24ui/sidebar-section.ts +1 -1
  54. package/.nuxt/b24ui/skeleton.ts +19 -1
  55. package/.nuxt/b24ui/slideover.ts +35 -34
  56. package/.nuxt/b24ui/switch.ts +59 -48
  57. package/.nuxt/b24ui/tabs.ts +26 -239
  58. package/.nuxt/b24ui/textarea.ts +50 -236
  59. package/.nuxt/b24ui/toast.ts +38 -30
  60. package/.nuxt/b24ui/toaster.ts +1 -1
  61. package/.nuxt/b24ui/tooltip.ts +5 -5
  62. package/cli/templates.mjs +2 -1
  63. package/dist/meta.d.mts +18759 -5002
  64. package/dist/meta.mjs +18759 -5002
  65. package/dist/module.d.mts +1 -0
  66. package/dist/module.json +2 -2
  67. package/dist/module.mjs +3 -5
  68. package/dist/runtime/air-design-tokens/001_b24_global.css +1 -0
  69. package/dist/runtime/air-design-tokens/002_b24_context_utility.css +0 -0
  70. package/dist/runtime/air-design-tokens/003_b24_context_light.css +1 -0
  71. package/dist/runtime/air-design-tokens/004_b24_context_dark.css +1 -0
  72. package/dist/runtime/air-design-tokens/005_b24_context_edge-light.css +1 -0
  73. package/dist/runtime/air-design-tokens/006_b24_context_edge-dark.css +1 -0
  74. package/dist/runtime/air-design-tokens/007_b24_global.css +1 -0
  75. package/dist/runtime/air-design-tokens/008_ui_global.css +1 -0
  76. package/dist/runtime/air-design-tokens/009_b24_tools.css +1 -0
  77. package/dist/runtime/air-design-tokens/components/badge-counter.css +1 -0
  78. package/dist/runtime/air-design-tokens/components/button.css +1 -0
  79. package/dist/runtime/air-design-tokens/components/navigation-menu.css +1 -0
  80. package/dist/runtime/air-design-tokens/components/popup.css +1 -0
  81. package/dist/runtime/air-design-tokens/components/scrollbar.css +2 -0
  82. package/dist/runtime/air-design-tokens/index.css +1 -0
  83. package/dist/runtime/components/Accordion.vue.d.ts +1 -1
  84. package/dist/runtime/components/Advice.vue +1 -13
  85. package/dist/runtime/components/Advice.vue.d.ts +1 -1
  86. package/dist/runtime/components/Alert.vue +6 -4
  87. package/dist/runtime/components/Alert.vue.d.ts +11 -4
  88. package/dist/runtime/components/App.vue.d.ts +1 -1
  89. package/dist/runtime/components/Avatar.vue.d.ts +1 -1
  90. package/dist/runtime/components/AvatarGroup.vue.d.ts +1 -1
  91. package/dist/runtime/components/Badge.vue +7 -11
  92. package/dist/runtime/components/Badge.vue.d.ts +6 -8
  93. package/dist/runtime/components/Button.vue +18 -15
  94. package/dist/runtime/components/Button.vue.d.ts +5 -7
  95. package/dist/runtime/components/ButtonGroup.vue.d.ts +1 -1
  96. package/dist/runtime/components/Calendar.vue +8 -8
  97. package/dist/runtime/components/Calendar.vue.d.ts +14 -8
  98. package/dist/runtime/components/Checkbox.vue.d.ts +2 -2
  99. package/dist/runtime/components/Chip.vue +28 -7
  100. package/dist/runtime/components/Chip.vue.d.ts +22 -2
  101. package/dist/runtime/components/Collapsible.vue.d.ts +1 -1
  102. package/dist/runtime/components/Container.vue.d.ts +1 -1
  103. package/dist/runtime/components/Countdown.vue.d.ts +5 -3
  104. package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
  105. package/dist/runtime/components/DropdownMenu.vue +20 -9
  106. package/dist/runtime/components/DropdownMenu.vue.d.ts +1 -5
  107. package/dist/runtime/components/DropdownMenuContent.vue +29 -7
  108. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +14 -6
  109. package/dist/runtime/components/Form.vue +3 -3
  110. package/dist/runtime/components/Form.vue.d.ts +6 -5
  111. package/dist/runtime/components/FormField.vue +2 -2
  112. package/dist/runtime/components/FormField.vue.d.ts +4 -4
  113. package/dist/runtime/components/Input.vue +8 -4
  114. package/dist/runtime/components/Input.vue.d.ts +9 -8
  115. package/dist/runtime/components/InputMenu.vue +44 -18
  116. package/dist/runtime/components/InputMenu.vue.d.ts +17 -223
  117. package/dist/runtime/components/InputNumber.vue +14 -11
  118. package/dist/runtime/components/InputNumber.vue.d.ts +13 -87
  119. package/dist/runtime/components/Kbd.vue +6 -3
  120. package/dist/runtime/components/Kbd.vue.d.ts +7 -3
  121. package/dist/runtime/components/Link.vue +6 -5
  122. package/dist/runtime/components/Link.vue.d.ts +1 -3
  123. package/dist/runtime/components/LinkBase.vue.d.ts +1 -1
  124. package/dist/runtime/components/Modal.vue +37 -33
  125. package/dist/runtime/components/Modal.vue.d.ts +2 -2
  126. package/dist/runtime/components/ModalDialogClose.vue.d.ts +1 -1
  127. package/dist/runtime/components/Navbar.vue.d.ts +1 -1
  128. package/dist/runtime/components/NavbarDivider.vue.d.ts +1 -1
  129. package/dist/runtime/components/NavbarSection.vue.d.ts +1 -1
  130. package/dist/runtime/components/NavbarSpacer.vue.d.ts +1 -1
  131. package/dist/runtime/components/NavigationMenu.vue +95 -84
  132. package/dist/runtime/components/NavigationMenu.vue.d.ts +31 -33
  133. package/dist/runtime/components/OverlayProvider.vue.d.ts +1 -1
  134. package/dist/runtime/components/Popover.vue +8 -2
  135. package/dist/runtime/components/Popover.vue.d.ts +9 -3
  136. package/dist/runtime/components/Progress.vue.d.ts +3 -3
  137. package/dist/runtime/components/RadioGroup.vue +1 -1
  138. package/dist/runtime/components/RadioGroup.vue.d.ts +6 -5
  139. package/dist/runtime/components/Range.vue.d.ts +6 -6
  140. package/dist/runtime/components/Select.vue +25 -11
  141. package/dist/runtime/components/Select.vue.d.ts +7 -7
  142. package/dist/runtime/components/SelectMenu.vue +38 -19
  143. package/dist/runtime/components/SelectMenu.vue.d.ts +11 -10
  144. package/dist/runtime/components/Separator.vue +4 -4
  145. package/dist/runtime/components/Separator.vue.d.ts +6 -3
  146. package/dist/runtime/components/Sidebar.vue.d.ts +4 -1
  147. package/dist/runtime/components/SidebarBody.vue.d.ts +4 -1
  148. package/dist/runtime/components/SidebarFooter.vue.d.ts +4 -1
  149. package/dist/runtime/components/SidebarHeader.vue.d.ts +4 -1
  150. package/dist/runtime/components/SidebarHeading.vue.d.ts +4 -1
  151. package/dist/runtime/components/SidebarLayout.vue +148 -63
  152. package/dist/runtime/components/SidebarLayout.vue.d.ts +61 -8
  153. package/dist/runtime/components/SidebarSection.vue.d.ts +4 -1
  154. package/dist/runtime/components/SidebarSpacer.vue.d.ts +4 -1
  155. package/dist/runtime/components/Skeleton.vue +7 -3
  156. package/dist/runtime/components/Skeleton.vue.d.ts +12 -1
  157. package/dist/runtime/components/Slideover.vue +120 -43
  158. package/dist/runtime/components/Slideover.vue.d.ts +22 -9
  159. package/dist/runtime/components/Switch.vue.d.ts +2 -2
  160. package/dist/runtime/components/Tabs.vue +11 -3
  161. package/dist/runtime/components/Tabs.vue.d.ts +8 -7
  162. package/dist/runtime/components/Textarea.vue +8 -4
  163. package/dist/runtime/components/Textarea.vue.d.ts +8 -7
  164. package/dist/runtime/components/Toast.vue +16 -8
  165. package/dist/runtime/components/Toast.vue.d.ts +16 -15
  166. package/dist/runtime/components/Toaster.vue.d.ts +2 -2
  167. package/dist/runtime/components/Tooltip.vue +9 -5
  168. package/dist/runtime/components/Tooltip.vue.d.ts +7 -1
  169. package/dist/runtime/components/content/TableWrapper.vue.d.ts +1 -1
  170. package/dist/runtime/composables/defineShortcuts.js +5 -3
  171. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  172. package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
  173. package/dist/runtime/composables/useComponentIcons.d.ts +1 -1
  174. package/dist/runtime/composables/useFormField.d.ts +4 -7
  175. package/dist/runtime/composables/useFormField.js +6 -3
  176. package/dist/runtime/composables/useKbd.d.ts +1 -1
  177. package/dist/runtime/composables/useLocale.js +2 -2
  178. package/dist/runtime/composables/useOverlay.d.ts +29 -2
  179. package/dist/runtime/composables/useOverlay.js +8 -7
  180. package/dist/runtime/composables/usePortal.d.ts +1 -1
  181. package/dist/runtime/composables/useSidebarLayout.d.ts +20 -0
  182. package/dist/runtime/composables/useSidebarLayout.js +16 -0
  183. package/dist/runtime/dictionary/icons.js +7 -7
  184. package/dist/runtime/index.css +1 -1
  185. package/dist/runtime/inertia/components/Link.vue +3 -0
  186. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
  187. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +1 -1
  188. package/dist/runtime/inertia/stubs.d.ts +1 -0
  189. package/dist/runtime/inertia/stubs.js +4 -2
  190. package/dist/runtime/locale/ar.js +6 -0
  191. package/dist/runtime/locale/br.js +6 -0
  192. package/dist/runtime/locale/de.js +6 -0
  193. package/dist/runtime/locale/en.js +6 -0
  194. package/dist/runtime/locale/fr.js +6 -0
  195. package/dist/runtime/locale/id.js +6 -0
  196. package/dist/runtime/locale/it.js +6 -0
  197. package/dist/runtime/locale/ja.js +6 -0
  198. package/dist/runtime/locale/kz.js +6 -0
  199. package/dist/runtime/locale/la.js +6 -0
  200. package/dist/runtime/locale/ms.js +6 -0
  201. package/dist/runtime/locale/pl.js +6 -0
  202. package/dist/runtime/locale/ru.js +6 -0
  203. package/dist/runtime/locale/sc.js +6 -0
  204. package/dist/runtime/locale/tc.js +6 -0
  205. package/dist/runtime/locale/th.js +6 -0
  206. package/dist/runtime/locale/tr.js +6 -0
  207. package/dist/runtime/locale/ua.js +6 -0
  208. package/dist/runtime/locale/vn.js +6 -0
  209. package/dist/runtime/plugins/ui-version.d.ts +5 -0
  210. package/dist/runtime/plugins/ui-version.js +8 -0
  211. package/dist/runtime/prose/A.vue.d.ts +4 -1
  212. package/dist/runtime/prose/Blockquote.vue.d.ts +4 -1
  213. package/dist/runtime/prose/Code.vue.d.ts +4 -1
  214. package/dist/runtime/prose/Em.vue.d.ts +4 -1
  215. package/dist/runtime/prose/H1.vue +4 -1
  216. package/dist/runtime/prose/H1.vue.d.ts +7 -1
  217. package/dist/runtime/prose/H2.vue +4 -1
  218. package/dist/runtime/prose/H2.vue.d.ts +7 -1
  219. package/dist/runtime/prose/H3.vue +4 -1
  220. package/dist/runtime/prose/H3.vue.d.ts +7 -1
  221. package/dist/runtime/prose/H4.vue +4 -1
  222. package/dist/runtime/prose/H4.vue.d.ts +7 -1
  223. package/dist/runtime/prose/H5.vue +4 -1
  224. package/dist/runtime/prose/H5.vue.d.ts +7 -1
  225. package/dist/runtime/prose/H6.vue +4 -1
  226. package/dist/runtime/prose/H6.vue.d.ts +7 -1
  227. package/dist/runtime/prose/Hr.vue.d.ts +1 -1
  228. package/dist/runtime/prose/Img.vue.d.ts +1 -1
  229. package/dist/runtime/prose/Li.vue.d.ts +4 -1
  230. package/dist/runtime/prose/Ol.vue.d.ts +4 -1
  231. package/dist/runtime/prose/P.vue +6 -1
  232. package/dist/runtime/prose/P.vue.d.ts +12 -1
  233. package/dist/runtime/prose/Pre.vue.d.ts +4 -1
  234. package/dist/runtime/prose/Strong.vue.d.ts +4 -1
  235. package/dist/runtime/prose/Table.vue.d.ts +5 -2
  236. package/dist/runtime/prose/Tbody.vue.d.ts +4 -1
  237. package/dist/runtime/prose/Td.vue.d.ts +4 -1
  238. package/dist/runtime/prose/Th.vue.d.ts +4 -1
  239. package/dist/runtime/prose/Thead.vue.d.ts +4 -1
  240. package/dist/runtime/prose/Tr.vue.d.ts +4 -1
  241. package/dist/runtime/prose/Ul.vue.d.ts +4 -1
  242. package/dist/runtime/types/index.d.ts +0 -1
  243. package/dist/runtime/types/index.js +0 -1
  244. package/dist/runtime/types/locale.d.ts +6 -0
  245. package/dist/runtime/utils/index.d.ts +6 -0
  246. package/dist/runtime/utils/index.js +27 -0
  247. package/dist/runtime/utils/tv.js +66 -1
  248. package/dist/runtime/vue/components/Link.vue +3 -0
  249. package/dist/runtime/vue/components/Link.vue.d.ts +1 -1
  250. package/dist/runtime/vue/stubs.d.ts +1 -0
  251. package/dist/runtime/vue/stubs.js +3 -1
  252. package/dist/shared/b24ui-nuxt.dLc5H7ID.mjs +6100 -0
  253. package/dist/unplugin.mjs +1 -1
  254. package/dist/vite.mjs +1 -1
  255. package/package.json +40 -28
  256. package/.nuxt/b24ui/stacked-layout.ts +0 -34
  257. package/dist/runtime/air-design-tokens.css +0 -1
  258. package/dist/runtime/components/StackedLayout.vue +0 -117
  259. package/dist/runtime/components/StackedLayout.vue.d.ts +0 -44
  260. package/dist/shared/b24ui-nuxt.CxsFEY3M.mjs +0 -7895
@@ -1,165 +1,80 @@
1
- const color = [
2
- "default",
3
- "danger",
4
- "success",
5
- "warning",
6
- "primary",
7
- "secondary",
8
- "collab",
9
- "ai"
10
- ] as const
11
-
12
- const highlightColor = [
13
- "default",
14
- "danger",
15
- "success",
16
- "warning",
17
- "primary",
18
- "secondary",
19
- "collab",
20
- "ai"
21
- ] as const
22
-
23
- const variant = [
24
- "pill",
25
- "link"
26
- ] as const
27
-
28
1
  const orientation = [
29
2
  "horizontal",
30
3
  "vertical"
31
4
  ] as const
32
5
 
33
- const contentOrientation = [
34
- "horizontal",
35
- "vertical"
36
- ] as const
37
-
38
6
  export default {
39
7
  "slots": {
40
- "root": "relative flex [&>div]:min-w-0 font-b24-secondary",
8
+ "root": "relative flex [&>div]:min-w-0 font-[family-name:var(--ui-font-family-secondary)]",
41
9
  "list": "isolate min-w-0",
42
- "label": "w-full min-h-6 flex items-center rtl:flex-row-reverse gap-1.5 font-medium text-xs/6 text-base-500 dark:text-base-400 ps-2xl pe-xs rtl:ps-xs rtl:pe-2xl",
10
+ "label": "w-full h-[22px] overflow-hidden opacity-70 text-(length:--ui-font-size-sm)",
43
11
  "item": "min-w-0",
44
- "link": "group relative cursor-pointer w-full flex items-center gap-1.5 font-normal text-lg leading-9 min-h-9 before:absolute before:z-[-1] focus:outline-none focus-visible:before:rounded-md focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
45
- "linkLeadingIcon": "shrink-0 size-4 -ms-1 rtl:-ms-0 rtl:-me-1",
46
- "linkLeadingAvatar": "shrink-0 -ms-1 rtl:-ms-0 rtl:-me-1",
47
- "linkLeadingAvatarSize": "2xs",
48
- "linkTrailing": "group inline-flex gap-1.5 items-center",
49
- "linkTrailingBadge": "shrink-0",
50
- "linkTrailingBadgeSize": "sm",
51
- "linkTrailingIcon": "text-base-600 size-4 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
52
- "linkLabel": "truncate",
53
- "linkLabelWrapper": "flex items-center items-center justify-between rtl:flex-row-reverse gap-1.5",
54
- "linkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
12
+ "link": "min-w-[38px] max-w-full p-0 m-0 group relative cursor-pointer w-full flex items-center gap-[2px] font-normal text-lg focus:outline-none focus-visible:rounded-(--menu-item-border-radius) focus-visible:outline-none focus-visible:ring-inset focus-visible:ring-1 focus-visible:ring-(--ui-color-base-4) rounded-(--menu-item-border-radius) text-(--menu-item-color) bg-(--menu-item-background) hover:bg-(--menu-item-background-hover) data-[state=open]:bg-(--menu-item-background-hover) border-0",
13
+ "linkLeadingIcon": "shrink-0 size-[26px]",
14
+ "linkLeadingAvatar": "shrink-0",
15
+ "linkLeadingAvatarSize": "xs",
16
+ "linkLeadingHint": "inline-flex m-0 absolute -top-[5px] left-[8px] text-(length:--ui-font-size-4xs) leading-[8px] font-semibold text-(--b24ui-typography-description-color) uppercase ml-px",
17
+ "linkLeadingBadge": "inline-flex m-0 absolute",
18
+ "linkLeadingBadgeSize": "xs",
19
+ "linkTrailing": "group inline-flex mt-[2px] items-center ",
20
+ "linkTrailingIcon": "text-(--ui-color-design-plain-na-content-icon) shrink-0",
21
+ "linkLabel": "truncate -mt-px",
22
+ "linkLabelWrapper": "flex items-center justify-between rtl:flex-row-reverse",
23
+ "linkLabelExternalIcon": "inline-block size-[16px] text-(--ui-color-design-plain-content-icon-secondary)",
55
24
  "childList": "isolate",
56
- "childLabel": "text-xs text-highlighted text-base-500 dark:text-base-400",
57
- "childItem": "",
58
- "childLink": "group relative size-full flex items-start text-start text-sm before:absolute before:z-[-1] before:rounded-2xs focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
59
- "childLinkWrapper": "min-w-0",
60
- "childLinkIcon": "size-5 shrink-0",
61
- "childLinkLabel": "truncate",
62
- "childLinkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
63
- "childLinkDescription": "text-base-500 dark:text-base-700",
64
- "separator": "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
65
- "viewportWrapper": "absolute top-full left-0 flex w-full",
66
- "viewport": "relative overflow-hidden w-full bg-white dark:bg-base-dark shadow-[0_15px_21px_rgba(83,92,105,.15)] h-(--reka-navigation-menu-viewport-height) transition-[width,height] duration-200 origin-[top_center] z-[1]",
67
- "content": "",
68
- "indicator": "absolute motion-safe:data-[state=visible]:animate-[fade-in_100ms_ease-out] motion-safe:data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[2] w-(--reka-navigation-menu-indicator-size) h-2.5 translate-x-(--reka-navigation-menu-indicator-position) flex items-end justify-center overflow-hidden transition-[translate,width] duration-200",
69
- "arrow": "relative top-[50%] size-2.5 rotate-45 border border-base-300 dark:border-base-800 bg-white dark:bg-base-dark z-[1] rounded-3xs"
25
+ "childLabel": "",
26
+ "childItem": "h-[36px] mt-(--menu-item-block-stack-space)",
27
+ "childLink": "group relative size-full flex flex-row rtl:flex-row-reverse items-center transition-colors text-start",
28
+ "childLinkWrapper": "min-w-0 flex-1 flex flex-row items-center justify-start rtl:justify-end gap-0.5",
29
+ "childLinkIcon": "size-[18px] shrink-0",
30
+ "childLinkHint": "inline-flex m-0 absolute -top-[2px] left-[24px] text-(length:--ui-font-size-4xs) leading-[8px] font-semibold text-(--b24ui-typography-description-color) uppercase ml-px",
31
+ "childLinkBadge": "inline-flex m-0",
32
+ "childLinkBadgeSize": "xs",
33
+ "childLinkLabel": "truncate ms-[2px] -mt-px",
34
+ "childLinkLabelExternalIcon": "inline-block size-4 text-(--ui-color-design-plain-content-icon-secondary)",
35
+ "separator": "h-px bg-(--leftmenu-bg-divider) my-[16px]",
36
+ "popoverWrapper": "px-0 py-(--menu-popup-padding)",
37
+ "viewportWrapper": "absolute top-[53px] left-0 flex w-full",
38
+ "viewport": "light relative overflow-hidden w-full bg-(--popup-window-background-color) shadow-(--popup-window-box-shadow) h-(--reka-navigation-menu-viewport-height) w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left) rounded-(--popup-window-border-radius) will-change-[opacity] [&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))] transition-[width,height] duration-200 origin-[top_center] z-[1]",
39
+ "content": ""
70
40
  },
71
41
  "variants": {
72
- "color": {
73
- "default": {
74
- "link": "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800",
75
- "childLink": "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800"
76
- },
77
- "danger": {
78
- "link": "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800",
79
- "childLink": "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800"
80
- },
81
- "success": {
82
- "link": "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800",
83
- "childLink": "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800"
84
- },
85
- "warning": {
86
- "link": "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800",
87
- "childLink": "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800"
88
- },
89
- "primary": {
90
- "link": "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800",
91
- "childLink": "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800"
92
- },
93
- "secondary": {
94
- "link": "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800",
95
- "childLink": "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800"
96
- },
97
- "collab": {
98
- "link": "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800",
99
- "childLink": "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800"
100
- },
101
- "ai": {
102
- "link": "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800",
103
- "childLink": "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800"
104
- }
105
- },
106
- "highlightColor": {
107
- "default": "",
108
- "danger": "",
109
- "success": "",
110
- "warning": "",
111
- "primary": "",
112
- "secondary": "",
113
- "collab": "",
114
- "ai": ""
115
- },
116
- "variant": {
117
- "pill": {
118
- "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
119
- "viewport": "rounded-md ring ring-base-300 dark:ring-base-800"
120
- },
121
- "link": ""
122
- },
123
42
  "orientation": {
124
43
  "horizontal": {
125
- "root": "items-center justify-between",
126
- "list": "flex items-center gap-x-1",
127
- "item": "py-2 empty:hidden",
128
- "link": "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
129
- "childList": "grid p-2",
130
- "childLink": "px-3 py-2 gap-2 before:inset-x-px before:inset-y-0",
131
- "childLinkLabel": "font-medium",
132
- "content": "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto"
44
+ "root": "relative h-full items-center justify-between",
45
+ "list": "flex items-center gap-x-1 h-full",
46
+ "item": "empty:hidden",
47
+ "link": "menu-item-horizontal h-[32px] min-h-[32px] px-[10px] border border-(--menu-item-background) hover:border-(--ui-color-design-plain-na-focused-stroke) data-[state=open]:bg-(--ui-color-design-plain-na-focused-stroke)",
48
+ "linkTrailingIcon": "size-[16px]",
49
+ "linkLeadingBadge": "-top-[6px] -right-[14px] -translate-x-1/2",
50
+ "linkLabelWrapper": "gap-[4px]",
51
+ "childList": "grid px-0 py-(--menu-popup-padding)",
52
+ "childLink": "px-[18px] min-w-[195px] whitespace-nowrap font-[family-name:var(--ui-font-family-primary)] text-(length:--menu-popup-item-font-size) text-(--menu-popup-item-color) hover:text-(--menu-popup-item-color-hover) hover:bg-(--menu-popup-item-bg-color-hover)",
53
+ "childLinkLabel": "",
54
+ "content": "absolute top-0 left-0 w-full max-h-[70vh] overflow-y-auto scrollbar-thin scrollbar-transparent"
133
55
  },
134
56
  "vertical": {
135
- "root": "flex-col w-full",
136
- "link": "ps-2xl pe-xs rtl:ps-xs rtl:pe-2xl flex-row rtl:flex-row-reverse before:inset-y-px before:inset-x-0",
137
- "childLabel": "px-1.5 py-0.5",
138
- "childLink": "p-1.5 gap-1.5 before:inset-y-px before:inset-x-0"
139
- }
140
- },
141
- "contentOrientation": {
142
- "horizontal": {
143
- "viewportWrapper": "justify-center",
144
- "content": "motion-safe:data-[motion=from-start]:animate-[enter-from-left_200ms_ease] motion-safe:data-[motion=from-end]:animate-[enter-from-right_200ms_ease] motion-safe:data-[motion=to-start]:animate-[exit-to-left_200ms_ease] motion-safe:data-[motion=to-end]:animate-[exit-to-right_200ms_ease]",
145
- "childLinkLabelExternalIcon": "h-4"
146
- },
147
- "vertical": {
148
- "viewport": "w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left) [&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))]",
149
- "childLinkLabel": "text-md text-base-950 dark:text-base-50",
150
- "childLinkLabelExternalIcon": "h-4"
57
+ "root": "flex-col w-full ps-(--menu-items-block-padding-x) rtl:pe-(--menu-items-block-padding-x)",
58
+ "list": "flex flex-col",
59
+ "item": "mt-(--menu-item-block-stack-space) data-[state=open]:rounded-(--menu-item-border-radius) data-[state=open]:border-(length:--leftmenu-group-stroke-weight) data-[state=open]:border-(--leftmenu-group-stroke)",
60
+ "link": "menu-item-vertical h-[38px] min-h-[38px] p-[6px] flex-row rtl:flex-row-reverse justify-between data-[state=open]:text-(length:--ui-font-size-sm) data-[state=open]:opacity-70",
61
+ "linkLeadingIcon": "",
62
+ "linkTrailingIcon": "size-[20px] group-data-[state=open]:rotate-180 transition-transform duration-200",
63
+ "linkLeadingBadge": "-top-[4px] left-[24px] -translate-x-1/2",
64
+ "linkLabelWrapper": "relative",
65
+ "childList": "",
66
+ "childLink": "px-[18px] min-w-[195px] whitespace-nowrap font-[family-name:var(--ui-font-family-primary)] text-(length:--menu-popup-item-font-size) text-(--menu-popup-item-color) hover:text-(--menu-popup-item-color-hover) hover:bg-(--menu-popup-item-bg-color-hover)",
67
+ "childLabel": "w-full min-w-[195px] h-(--popup-window-delimiter-section-height) px-[18px] mt-(--menu-item-block-stack-space) flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap text-start text-(length:--popup-window-delimiter-font-size) text-(--popup-window-delimiter-text-color) font-(--popup-window-delimiter-font-weight) after:ms-[10px] after:block after:flex-1 after:min-w-[15px] after:h-px after:bg-(--popup-window-delimiter-bg-color)"
151
68
  }
152
69
  },
153
70
  "active": {
154
71
  "true": {
155
- "childLink": "before:bg-base-20 dark:before:bg-base-900 text-base-950 dark:text-base-50 font-semibold",
156
- "childLinkIcon": "text-base-950 dark:text-base-200"
72
+ "childLink": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary)",
73
+ "childLinkIcon": "text-(--ui-color-accent-main-primary)"
157
74
  },
158
75
  "false": {
159
- "link": "text-base-900 dark:text-base-200",
160
- "linkLeadingIcon": "text-base-500 dark:text-base-700",
161
- "childLink": "hover:before:bg-base-20 dark:hover:before:bg-base-900 text-base-500 dark:text-base-700 hover:text-base-950 dark:hover:text-base-200 transition-colors before:transition-colors",
162
- "childLinkIcon": "text-base-500 dark:text-base-700 group-hover:text-base-950 dark:group-hover:text-base-50 transition-colors"
76
+ "linkLeadingIcon": "text-(--ui-color-design-plain-content-icon-secondary)",
77
+ "childLinkIcon": "text-(--ui-color-design-plain-content-icon-secondary) group-hover:text-(--ui-color-accent-main-primary)"
163
78
  }
164
79
  },
165
80
  "disabled": {
@@ -167,9 +82,6 @@ export default {
167
82
  "link": "cursor-not-allowed opacity-75"
168
83
  }
169
84
  },
170
- "highlight": {
171
- "true": ""
172
- },
173
85
  "level": {
174
86
  "true": ""
175
87
  },
@@ -180,660 +92,64 @@ export default {
180
92
  "compoundVariants": [
181
93
  {
182
94
  "orientation": "horizontal" as typeof orientation[number],
183
- "contentOrientation": "horizontal" as typeof contentOrientation[number],
184
95
  "class": {
185
- "childList": "grid-cols-2 gap-2"
186
- }
187
- },
188
- {
189
- "orientation": "horizontal" as typeof orientation[number],
190
- "contentOrientation": "vertical" as typeof contentOrientation[number],
191
- "class": {
192
- "childList": "gap-1",
193
- "content": "w-60"
96
+ "childList": "",
97
+ "content": "w-[240px]"
194
98
  }
195
99
  },
196
100
  {
197
101
  "orientation": "vertical" as typeof orientation[number],
198
102
  "collapsed": false,
199
103
  "class": {
104
+ "item": "data-[state=open]:bg-(--leftmenu-group-bg)",
200
105
  "childList": "",
201
- "childItem": "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]",
202
- "content": "motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out] motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"
106
+ "childItem": "",
107
+ "content": "motion-safe:data-[state=open]:animate-[collapsible-down_200ms_ease-out] motion-safe:data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden",
108
+ "linkLabel": "ms-[9px]"
203
109
  }
204
110
  },
205
111
  {
206
112
  "orientation": "vertical" as typeof orientation[number],
207
113
  "collapsed": true,
208
114
  "class": {
209
- "link": "px-1.5",
210
- "content": "rounded-sm min-h-6 p-1"
211
- }
212
- },
213
- {
214
- "orientation": "horizontal" as typeof orientation[number],
215
- "highlight": true,
216
- "class": {
217
- "link": [
218
- "after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full",
219
- "after:transition-colors"
220
- ]
115
+ "childList": "grid px-0 py-(--menu-popup-padding)"
221
116
  }
222
117
  },
223
118
  {
224
119
  "orientation": "vertical" as typeof orientation[number],
225
- "highlight": true,
226
- "level": true,
227
- "class": {
228
- "link": [
229
- "after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-[7px] after:rounded-full",
230
- "after:transition-colors"
231
- ]
232
- }
233
- },
234
- {
235
- "disabled": true,
236
- "orientation": "horizontal" as typeof orientation[number],
237
- "variant": "pill" as typeof variant[number],
238
- "class": {
239
- "link": "hover:before:rounded-md"
240
- }
241
- },
242
- {
243
- "disabled": false,
244
- "active": false,
245
- "variant": "pill" as typeof variant[number],
246
- "class": {
247
- "link": "transition-colors before:transition-colors",
248
- "linkLeadingIcon": "group-hover:text-base-900 dark:group-hover:text-base-200 transition-colors"
249
- }
250
- },
251
- {
252
- "disabled": false,
253
- "active": false,
254
- "variant": "pill" as typeof variant[number],
255
- "orientation": "horizontal" as typeof orientation[number],
256
- "class": {
257
- "link": "before:rounded-md data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
258
- "linkLeadingIcon": "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
259
- }
260
- },
261
- {
262
- "disabled": false,
263
- "variant": "pill" as typeof variant[number],
264
- "highlight": true,
265
- "orientation": "horizontal" as typeof orientation[number],
266
- "class": {
267
- "link": "data-[state=open]:before:rounded-md data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
268
- }
269
- },
270
- {
271
- "disabled": false,
272
- "variant": "pill" as typeof variant[number],
273
- "highlight": false,
274
- "active": false,
275
- "orientation": "horizontal" as typeof orientation[number],
276
- "class": {
277
- "link": "data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
278
- }
279
- },
280
- {
281
- "color": "default" as typeof color[number],
282
- "variant": "pill" as typeof variant[number],
283
- "active": true,
284
- "class": {
285
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
286
- "linkLabel": "font-semibold text-white dark:text-white",
287
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
288
- }
289
- },
290
- {
291
- "color": "default" as typeof color[number],
292
- "orientation": "horizontal" as typeof orientation[number],
293
- "variant": "pill" as typeof variant[number],
294
- "active": true,
295
- "class": {
296
- "link": "min-h-9 before:rounded-md before:bg-base-800 dark:before:bg-white/35 hover:before:bg-base-800 dark:hover:before:bg-white/35 data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35",
297
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
298
- }
299
- },
300
- {
301
- "color": "danger" as typeof color[number],
302
- "variant": "pill" as typeof variant[number],
303
- "active": true,
304
- "class": {
305
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
306
- "linkLabel": "font-semibold text-white dark:text-white",
307
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-red-800 dark:bg-red-800 rounded-2xl"
308
- }
309
- },
310
- {
311
- "color": "danger" as typeof color[number],
312
- "orientation": "horizontal" as typeof orientation[number],
313
- "variant": "pill" as typeof variant[number],
314
- "active": true,
315
- "class": {
316
- "link": "min-h-9 before:rounded-md before:bg-red-800 dark:before:bg-red-800 hover:before:bg-red-800 dark:hover:before:bg-red-800 data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800",
317
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
318
- }
319
- },
320
- {
321
- "color": "success" as typeof color[number],
322
- "variant": "pill" as typeof variant[number],
323
- "active": true,
324
- "class": {
325
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
326
- "linkLabel": "font-semibold text-white dark:text-white",
327
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-green-800 dark:bg-green-800 rounded-2xl"
328
- }
329
- },
330
- {
331
- "color": "success" as typeof color[number],
332
- "orientation": "horizontal" as typeof orientation[number],
333
- "variant": "pill" as typeof variant[number],
334
- "active": true,
335
- "class": {
336
- "link": "min-h-9 before:rounded-md before:bg-green-800 dark:before:bg-green-800 hover:before:bg-green-800 dark:hover:before:bg-green-800 data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800",
337
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
338
- }
339
- },
340
- {
341
- "color": "warning" as typeof color[number],
342
- "variant": "pill" as typeof variant[number],
343
- "active": true,
344
- "class": {
345
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
346
- "linkLabel": "font-semibold text-white dark:text-white",
347
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-orange-800 dark:bg-orange-800 rounded-2xl"
348
- }
349
- },
350
- {
351
- "color": "warning" as typeof color[number],
352
- "orientation": "horizontal" as typeof orientation[number],
353
- "variant": "pill" as typeof variant[number],
354
- "active": true,
355
- "class": {
356
- "link": "min-h-9 before:rounded-md before:bg-orange-800 dark:before:bg-orange-800 hover:before:bg-orange-800 dark:hover:before:bg-orange-800 data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800",
357
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
358
- }
359
- },
360
- {
361
- "color": "primary" as typeof color[number],
362
- "variant": "pill" as typeof variant[number],
363
- "active": true,
364
- "class": {
365
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
366
- "linkLabel": "font-semibold text-white dark:text-white",
367
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-blue-800 dark:bg-blue-800 rounded-2xl"
368
- }
369
- },
370
- {
371
- "color": "primary" as typeof color[number],
372
- "orientation": "horizontal" as typeof orientation[number],
373
- "variant": "pill" as typeof variant[number],
374
- "active": true,
375
- "class": {
376
- "link": "min-h-9 before:rounded-md before:bg-blue-800 dark:before:bg-blue-800 hover:before:bg-blue-800 dark:hover:before:bg-blue-800 data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800",
377
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
378
- }
379
- },
380
- {
381
- "color": "secondary" as typeof color[number],
382
- "variant": "pill" as typeof variant[number],
383
- "active": true,
384
- "class": {
385
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
386
- "linkLabel": "font-semibold text-white dark:text-white",
387
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-cyan-800 dark:bg-cyan-800 rounded-2xl"
388
- }
389
- },
390
- {
391
- "color": "secondary" as typeof color[number],
392
- "orientation": "horizontal" as typeof orientation[number],
393
- "variant": "pill" as typeof variant[number],
394
- "active": true,
395
- "class": {
396
- "link": "min-h-9 before:rounded-md before:bg-cyan-800 dark:before:bg-cyan-800 hover:before:bg-cyan-800 dark:hover:before:bg-cyan-800 data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800",
397
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
398
- }
399
- },
400
- {
401
- "color": "collab" as typeof color[number],
402
- "variant": "pill" as typeof variant[number],
403
- "active": true,
404
- "class": {
405
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
406
- "linkLabel": "font-semibold text-white dark:text-white",
407
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-collab-800 dark:bg-collab-800 rounded-2xl"
408
- }
409
- },
410
- {
411
- "color": "collab" as typeof color[number],
412
- "orientation": "horizontal" as typeof orientation[number],
413
- "variant": "pill" as typeof variant[number],
414
- "active": true,
415
- "class": {
416
- "link": "min-h-9 before:rounded-md before:bg-collab-800 dark:before:bg-collab-800 hover:before:bg-collab-800 dark:hover:before:bg-collab-800 data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800",
417
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
418
- }
419
- },
420
- {
421
- "color": "ai" as typeof color[number],
422
- "variant": "pill" as typeof variant[number],
423
- "active": true,
424
- "class": {
425
- "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
426
- "linkLabel": "font-semibold text-white dark:text-white",
427
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-ai-800 dark:bg-ai-800 rounded-2xl"
428
- }
429
- },
430
- {
431
- "color": "ai" as typeof color[number],
432
- "orientation": "horizontal" as typeof orientation[number],
433
- "variant": "pill" as typeof variant[number],
434
- "active": true,
435
- "class": {
436
- "link": "min-h-9 before:rounded-md before:bg-ai-800 dark:before:bg-ai-800 hover:before:bg-ai-800 dark:hover:before:bg-ai-800 data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800",
437
- "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
438
- }
439
- },
440
- {
441
- "variant": "pill" as typeof variant[number],
442
- "active": true,
443
- "highlight": false,
444
- "class": {
445
- "link": "leading-9",
446
- "linkLabel": "font-semibold text-white dark:text-white",
447
- "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
448
- }
449
- },
450
- {
451
- "variant": "pill" as typeof variant[number],
452
- "orientation": "horizontal" as typeof orientation[number],
453
- "active": true,
454
- "highlight": false,
455
- "class": {
456
- "linkLabelWrapper": "bg-inherit dark:bg-inherit"
457
- }
458
- },
459
- {
460
- "variant": "pill" as typeof variant[number],
461
- "active": true,
462
- "highlight": true,
463
- "disabled": false,
464
- "class": {
465
- "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10 before:transition-colors"
466
- }
467
- },
468
- {
469
- "color": "default" as typeof color[number],
470
- "orientation": "horizontal" as typeof orientation[number],
471
- "variant": "pill" as typeof variant[number],
472
- "active": true,
473
- "highlight": true,
474
- "disabled": false,
475
- "class": {
476
- "link": "hover:before:bg-base-800 dark:hover:before:bg-white/35 before:transition-colors"
477
- }
478
- },
479
- {
480
- "color": "danger" as typeof color[number],
481
- "orientation": "horizontal" as typeof orientation[number],
482
- "variant": "pill" as typeof variant[number],
483
- "active": true,
484
- "highlight": true,
485
- "disabled": false,
486
- "class": {
487
- "link": "hover:before:bg-red-800 dark:hover:before:bg-red-800 before:transition-colors"
488
- }
489
- },
490
- {
491
- "color": "success" as typeof color[number],
492
- "orientation": "horizontal" as typeof orientation[number],
493
- "variant": "pill" as typeof variant[number],
494
- "active": true,
495
- "highlight": true,
496
- "disabled": false,
497
- "class": {
498
- "link": "hover:before:bg-green-800 dark:hover:before:bg-green-800 before:transition-colors"
499
- }
500
- },
501
- {
502
- "color": "warning" as typeof color[number],
503
- "orientation": "horizontal" as typeof orientation[number],
504
- "variant": "pill" as typeof variant[number],
505
- "active": true,
506
- "highlight": true,
507
- "disabled": false,
508
- "class": {
509
- "link": "hover:before:bg-orange-800 dark:hover:before:bg-orange-800 before:transition-colors"
510
- }
511
- },
512
- {
513
- "color": "primary" as typeof color[number],
514
- "orientation": "horizontal" as typeof orientation[number],
515
- "variant": "pill" as typeof variant[number],
516
- "active": true,
517
- "highlight": true,
518
- "disabled": false,
519
- "class": {
520
- "link": "hover:before:bg-blue-800 dark:hover:before:bg-blue-800 before:transition-colors"
521
- }
522
- },
523
- {
524
- "color": "secondary" as typeof color[number],
525
- "orientation": "horizontal" as typeof orientation[number],
526
- "variant": "pill" as typeof variant[number],
527
- "active": true,
528
- "highlight": true,
529
- "disabled": false,
530
- "class": {
531
- "link": "hover:before:bg-cyan-800 dark:hover:before:bg-cyan-800 before:transition-colors"
532
- }
533
- },
534
- {
535
- "color": "collab" as typeof color[number],
536
- "orientation": "horizontal" as typeof orientation[number],
537
- "variant": "pill" as typeof variant[number],
538
- "active": true,
539
- "highlight": true,
540
- "disabled": false,
541
- "class": {
542
- "link": "hover:before:bg-collab-800 dark:hover:before:bg-collab-800 before:transition-colors"
543
- }
544
- },
545
- {
546
- "color": "ai" as typeof color[number],
547
- "orientation": "horizontal" as typeof orientation[number],
548
- "variant": "pill" as typeof variant[number],
549
- "active": true,
550
- "highlight": true,
551
- "disabled": false,
552
- "class": {
553
- "link": "hover:before:bg-ai-800 dark:hover:before:bg-ai-800 before:transition-colors"
554
- }
555
- },
556
- {
557
- "orientation": "horizontal" as typeof orientation[number],
558
- "variant": "link" as typeof variant[number],
559
- "class": {
560
- "viewportWrapper": "top-[calc(100%+0.4rem)]",
561
- "viewport": "rounded-b-md [&:has(>[data-viewport=ltr])]:rounded-tr-md [&:has(>[data-viewport=rtl])]:rounded-tl-md clip-path-viewport-wrapper",
562
- "link": "before:inset-x-[0px] before:-inset-y-[6px] before:h-[70px] before:rounded-t-md"
563
- }
564
- },
565
- {
566
- "disabled": false,
567
- "active": false,
568
- "variant": "link" as typeof variant[number],
569
- "class": {
570
- "link": "hover:text-base-950 dark:hover:text-base-50 transition-colors",
571
- "linkLeadingIcon": "group-hover:text-base-950 dark:group-hover:text-base-50 transition-colors"
572
- }
573
- },
574
- {
575
- "disabled": false,
576
- "variant": "link" as typeof variant[number],
577
- "orientation": "horizontal" as typeof orientation[number],
120
+ "collapsed": false,
578
121
  "class": {
579
- "link": "data-[state=open]:before:shadow-[0_6px_21px_rgba(83,92,105,.15)] data-[state=open]:before:bg-white dark:data-[state=open]:before:bg-base-dark"
122
+ "link": "collapsed data-[state=open]:-mt-(--leftmenu-group-stroke-weight) data-[state=open]:-mx-(--leftmenu-group-stroke-weight)"
580
123
  }
581
124
  },
582
125
  {
583
126
  "disabled": false,
584
127
  "active": false,
585
- "variant": "link" as typeof variant[number],
586
- "orientation": "horizontal" as typeof orientation[number],
587
- "class": {
588
- "link": "data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
589
- "linkLeadingIcon": "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
590
- }
591
- },
592
- {
593
- "color": "default" as typeof color[number],
594
- "variant": "link" as typeof variant[number],
595
- "active": true,
596
- "class": {
597
- "link": "font-semibold text-base-950 dark:text-base-50",
598
- "linkLeadingIcon": "text-base-950 group-data-[state=open]:text-base-950 dark:text-base-50 dark:group-data-[state=open]:text-base-50"
599
- }
600
- },
601
- {
602
- "color": "danger" as typeof color[number],
603
- "variant": "link" as typeof variant[number],
604
- "active": true,
605
128
  "class": {
606
- "link": "font-semibold text-red-800 dark:text-red-600",
607
- "linkLeadingIcon": "text-red-800 group-data-[state=open]:text-red-600 dark:text-red-600 dark:group-data-[state=open]:text-red-600"
129
+ "link": "transition-colors",
130
+ "linkLeadingIcon": "group-hover:text-(--ui-color-design-selection-content-icon)"
608
131
  }
609
132
  },
610
133
  {
611
- "color": "success" as typeof color[number],
612
- "variant": "link" as typeof variant[number],
613
134
  "active": true,
614
135
  "class": {
615
- "link": "font-semibold text-green-800 dark:text-green-600",
616
- "linkLeadingIcon": "text-green-800 group-data-[state=open]:text-green-600 dark:text-green-600 dark:group-data-[state=open]:text-green-600"
136
+ "link": "leading-9 text-(--menu-item-color-active) bg-(--menu-item-background-active)"
617
137
  }
618
138
  },
619
139
  {
620
- "color": "warning" as typeof color[number],
621
- "variant": "link" as typeof variant[number],
622
140
  "active": true,
623
- "class": {
624
- "link": "font-semibold text-orange-800 dark:text-orange-600",
625
- "linkLeadingIcon": "text-orange-800 group-data-[state=open]:text-orange-600 dark:text-orange-600 dark:group-data-[state=open]:text-orange-600"
626
- }
627
- },
628
- {
629
- "color": "primary" as typeof color[number],
630
- "variant": "link" as typeof variant[number],
631
- "active": true,
632
- "class": {
633
- "link": "font-semibold text-blue-850 dark:text-blue-600",
634
- "linkLeadingIcon": "text-blue-850 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
635
- }
636
- },
637
- {
638
- "color": "secondary" as typeof color[number],
639
- "variant": "link" as typeof variant[number],
640
- "active": true,
641
- "class": {
642
- "link": "font-semibold text-cyan-800 dark:text-cyan-600",
643
- "linkLeadingIcon": "text-cyan-800 group-data-[state=open]:text-cyan-600 dark:text-cyan-600 dark:group-data-[state=open]:text-cyan-600"
644
- }
645
- },
646
- {
647
- "color": "collab" as typeof color[number],
648
- "variant": "link" as typeof variant[number],
649
- "active": true,
650
- "class": {
651
- "link": "font-semibold text-collab-800 dark:text-collab-600",
652
- "linkLeadingIcon": "text-collab-800 group-data-[state=open]:text-collab-600 dark:text-collab-600 dark:group-data-[state=open]:text-collab-600"
653
- }
654
- },
655
- {
656
- "color": "ai" as typeof color[number],
657
- "variant": "link" as typeof variant[number],
658
- "active": true,
659
- "class": {
660
- "link": "font-semibold text-ai-800 dark:text-ai-600",
661
- "linkLeadingIcon": "text-ai-800 group-data-[state=open]:text-ai-600 dark:text-ai-600 dark:group-data-[state=open]:text-ai-600"
662
- }
663
- },
664
- {
665
- "orientation": "vertical" as typeof orientation[number],
666
- "highlightColor": "default" as typeof highlightColor[number],
667
- "highlight": true,
668
- "level": true,
669
- "active": true,
670
- "class": {
671
- "link": "after:bg-base-500"
672
- }
673
- },
674
- {
675
- "orientation": "horizontal" as typeof orientation[number],
676
- "variant": "link" as typeof variant[number],
677
- "highlightColor": "default" as typeof highlightColor[number],
678
- "highlight": true,
679
- "level": true,
680
- "active": true,
681
- "class": {
682
- "link": "after:bg-base-500"
683
- }
684
- },
685
- {
686
- "orientation": "vertical" as typeof orientation[number],
687
- "highlightColor": "danger" as typeof highlightColor[number],
688
- "highlight": true,
689
- "level": true,
690
- "active": true,
691
- "class": {
692
- "link": "after:bg-red-500 dark:after:bg-red-600"
693
- }
694
- },
695
- {
696
- "orientation": "horizontal" as typeof orientation[number],
697
- "variant": "link" as typeof variant[number],
698
- "highlightColor": "danger" as typeof highlightColor[number],
699
- "highlight": true,
700
- "level": true,
701
- "active": true,
702
- "class": {
703
- "link": "after:bg-red-500 dark:after:bg-red-600"
704
- }
705
- },
706
- {
707
- "orientation": "vertical" as typeof orientation[number],
708
- "highlightColor": "success" as typeof highlightColor[number],
709
- "highlight": true,
710
- "level": true,
711
- "active": true,
712
- "class": {
713
- "link": "after:bg-green-500 dark:after:bg-green-600"
714
- }
715
- },
716
- {
717
- "orientation": "horizontal" as typeof orientation[number],
718
- "variant": "link" as typeof variant[number],
719
- "highlightColor": "success" as typeof highlightColor[number],
720
- "highlight": true,
721
- "level": true,
722
- "active": true,
723
- "class": {
724
- "link": "after:bg-green-500 dark:after:bg-green-600"
725
- }
726
- },
727
- {
728
- "orientation": "vertical" as typeof orientation[number],
729
- "highlightColor": "warning" as typeof highlightColor[number],
730
- "highlight": true,
731
- "level": true,
732
- "active": true,
733
- "class": {
734
- "link": "after:bg-orange-500 dark:after:bg-orange-600"
735
- }
736
- },
737
- {
738
- "orientation": "horizontal" as typeof orientation[number],
739
- "variant": "link" as typeof variant[number],
740
- "highlightColor": "warning" as typeof highlightColor[number],
741
- "highlight": true,
742
- "level": true,
743
- "active": true,
744
- "class": {
745
- "link": "after:bg-orange-500 dark:after:bg-orange-600"
746
- }
747
- },
748
- {
749
- "orientation": "vertical" as typeof orientation[number],
750
- "highlightColor": "primary" as typeof highlightColor[number],
751
- "highlight": true,
752
- "level": true,
753
- "active": true,
754
- "class": {
755
- "link": "after:bg-blue-500 dark:after:bg-blue-600"
756
- }
757
- },
758
- {
759
- "orientation": "horizontal" as typeof orientation[number],
760
- "variant": "link" as typeof variant[number],
761
- "highlightColor": "primary" as typeof highlightColor[number],
762
- "highlight": true,
763
- "level": true,
764
- "active": true,
765
- "class": {
766
- "link": "after:bg-blue-850 dark:after:bg-blue-600"
767
- }
768
- },
769
- {
770
- "orientation": "vertical" as typeof orientation[number],
771
- "highlightColor": "secondary" as typeof highlightColor[number],
772
- "highlight": true,
773
- "level": true,
774
- "active": true,
775
- "class": {
776
- "link": "after:bg-cyan-500 dark:after:bg-cyan-600"
777
- }
778
- },
779
- {
780
141
  "orientation": "horizontal" as typeof orientation[number],
781
- "variant": "link" as typeof variant[number],
782
- "highlightColor": "secondary" as typeof highlightColor[number],
783
- "highlight": true,
784
- "level": true,
785
- "active": true,
786
- "class": {
787
- "link": "after:bg-cyan-500 dark:after:bg-cyan-600"
788
- }
789
- },
790
- {
791
- "orientation": "vertical" as typeof orientation[number],
792
- "highlightColor": "collab" as typeof highlightColor[number],
793
- "highlight": true,
794
- "level": true,
795
- "active": true,
796
142
  "class": {
797
- "link": "after:bg-collab-500 dark:after:bg-collab-600"
143
+ "link": "menu-item-horizontal-active border-(--menu-item-border)"
798
144
  }
799
145
  },
800
146
  {
801
- "orientation": "horizontal" as typeof orientation[number],
802
- "variant": "link" as typeof variant[number],
803
- "highlightColor": "collab" as typeof highlightColor[number],
804
- "highlight": true,
805
- "level": true,
806
147
  "active": true,
807
- "class": {
808
- "link": "after:bg-collab-500 dark:after:bg-collab-600"
809
- }
810
- },
811
- {
812
148
  "orientation": "vertical" as typeof orientation[number],
813
- "highlightColor": "ai" as typeof highlightColor[number],
814
- "highlight": true,
815
- "level": true,
816
- "active": true,
817
- "class": {
818
- "link": "after:bg-ai-500 dark:after:bg-ai-600"
819
- }
820
- },
821
- {
822
- "orientation": "horizontal" as typeof orientation[number],
823
- "variant": "link" as typeof variant[number],
824
- "highlightColor": "ai" as typeof highlightColor[number],
825
- "highlight": true,
826
- "level": true,
827
- "active": true,
828
149
  "class": {
829
- "link": "after:bg-ai-500 dark:after:bg-ai-600"
150
+ "link": "menu-item-vertical-active"
830
151
  }
831
152
  }
832
153
  ],
833
- "defaultVariants": {
834
- "color": "default" as typeof color[number],
835
- "highlightColor": "default" as typeof highlightColor[number],
836
- "contentOrientation": "vertical" as typeof contentOrientation[number],
837
- "variant": "link" as typeof variant[number]
838
- }
154
+ "defaultVariants": {}
839
155
  }