@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,11 +1,18 @@
1
1
  const size = [
2
+ "xss",
2
3
  "xs",
3
4
  "sm",
4
5
  "md",
5
- "lg"
6
+ "lg",
7
+ "xl"
6
8
  ] as const
7
9
 
8
10
  const color = [
11
+ "air-primary",
12
+ "air-primary-success",
13
+ "air-primary-alert",
14
+ "air-primary-copilot",
15
+ "air-primary-warning",
9
16
  "default",
10
17
  "danger",
11
18
  "success",
@@ -16,7 +23,16 @@ const color = [
16
23
  "ai"
17
24
  ] as const
18
25
 
19
- const tagColor = [
26
+ const type = [
27
+ "file"
28
+ ] as const
29
+
30
+ const colorItem = [
31
+ "air-primary",
32
+ "air-primary-success",
33
+ "air-primary-alert",
34
+ "air-primary-copilot",
35
+ "air-primary-warning",
20
36
  "default",
21
37
  "danger",
22
38
  "success",
@@ -27,39 +43,35 @@ const tagColor = [
27
43
  "ai"
28
44
  ] as const
29
45
 
30
- const type = [
31
- "file"
32
- ] as const
33
-
34
46
  export default {
35
47
  "slots": {
36
48
  "root": "isolate relative inline-flex items-center w-full",
37
- "base": "px-3 relative inline-flex items-center group py-0 border-0 focus:outline-none cursor-pointer disabled:cursor-not-allowed disabled:bg-base-30/37 disabled:text-base-500 dark:disabled:bg-base-900/37 dark:disabled:text-base-800 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-sm leading-tight align-middle text-ellipsis whitespace-nowrap",
49
+ "base": "relative inline-flex items-center group px-3 w-full py-0 border-0 focus:outline-none cursor-pointer disabled:cursor-not-allowed disabled:pointer-events-none disabled:opacity-30 disabled:resize-none appearance-none transition duration-300 ease-linear ring ring-inset ring-(--ui-color-design-outline-stroke) text-(--ui-color-base-1) style-blurred-bg-input hover:text-(--ui-color-base-1) focus:text-(--ui-color-base-1) active:text-(--ui-color-base-1) font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-regular) align-middle text-ellipsis whitespace-nowrap focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-(--b24ui-border-color)",
38
50
  "leading": "absolute inset-y-0 start-0 flex items-center",
39
- "leadingIcon": "shrink-0 text-base-400",
51
+ "leadingIcon": "shrink-0 text-(--b24ui-icon-color)",
40
52
  "leadingAvatar": "shrink-0",
41
53
  "leadingAvatarSize": "",
42
54
  "trailing": "absolute inset-y-0 end-0 flex items-center",
43
- "trailingIcon": "shrink-0 text-base-400",
44
- "tag": "pointer-events-none select-none absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center font-b24-primary font-bold text-6xs leading-none uppercase rounded-full",
55
+ "trailingIcon": "shrink-0 text-(--b24ui-icon-color)",
56
+ "tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center",
45
57
  "value": "truncate pointer-events-none",
46
- "placeholder": "truncate text-base-400 dark:text-base-300",
47
- "arrow": "fill-base-master/10 dark:fill-base-100/20",
48
- "content": "w-(--reka-select-trigger-width) min-w-fit bg-white dark:bg-base-dark shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) flex flex-col pointer-events-auto",
49
- "viewport": "relative divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 overflow-y-auto flex-1",
50
- "group": "p-1 isolate",
51
- "empty": "py-2 text-center text-sm text-base-500 dark:text-base-600",
52
- "label": "flex items-center font-semibold text-base-900 dark:text-base-200",
53
- "separator": "-mx-1 my-1 h-px bg-base-master/10 dark:bg-base-100/20",
54
- "item": "group relative w-full flex items-center select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-2xs cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-75 text-base-master dark:text-base-150 data-highlighted:not-data-disabled:text-base-900 dark:data-highlighted:not-data-disabled:text-base-200 data-highlighted:not-data-disabled:before:bg-base-100/50 dark:data-highlighted:not-data-disabled:before:bg-base-900 data-[state=checked]:text-base-900 dark:data-[state=checked]:text-base-200 data-[state=checked]:before:bg-base-100/50 dark:data-[state=checked]:before:bg-base-900 transition-colors before:transition-colors",
55
- "itemLeadingIcon": "shrink-0 transition-colors text-base-500 dark:text-base-700 group-data-highlighted:not-data-disabled:text-base-master dark:group-data-highlighted:not-data-disabled:text-base-150 group-data-[state=checked]:text-base-master dark:group-data-[state=checked]:text-base-150",
56
- "itemLeadingAvatar": "shrink-0",
57
- "itemLeadingAvatarSize": "",
58
- "itemLeadingChip": "shrink-0",
59
- "itemLeadingChipSize": "",
60
- "itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
61
- "itemTrailingIcon": "shrink-0",
62
- "itemLabel": "truncate"
58
+ "placeholder": "truncate text-(--ui-color-design-plain-na-content-secondary)",
59
+ "content": "light bg-(--popup-window-background-color) shadow-(--popup-window-box-shadow) rounded-(--popup-window-border-radius) will-change-[opacity] motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) font-[family-name:var(--ui-font-family-primary)] relative isolate px-0 py-(--menu-popup-padding) pointer-events-auto",
60
+ "viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
61
+ "arrow": "fill-(--popup-window-background-color)",
62
+ "group": "grid",
63
+ "empty": "h-(--popup-window-delimiter-section-height) mt-(--menu-item-block-stack-space) py-[8px] select-none outline-none whitespace-nowrap text-center text-(length:--popup-window-delimiter-font-size)/(--ui-font-line-height-lg) text-(--popup-window-delimiter-text-color) font-(--popup-window-delimiter-font-weight)",
64
+ "label": "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)",
65
+ "separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
66
+ "item": "group w-full min-w-[195px] h-[36px] px-[18px] mt-(--menu-item-block-stack-space) relative flex flex-row rtl:flex-row-reverse items-center select-none outline-none whitespace-nowrap cursor-pointer data-disabled:cursor-not-allowed data-disabled:opacity-30 text-start text-(length:--menu-popup-item-font-size) text-(--menu-popup-item-color) hover:text-(--menu-popup-item-color-hover) data-highlighted:not-data-disabled:text-(--menu-popup-item-color-hover) data-[state=open]:text-(--menu-popup-item-color-hover) data-[state=checked]:text-(--menu-popup-item-color-hover) hover:bg-(--menu-popup-item-bg-color-hover) data-highlighted:bg-(--menu-popup-item-bg-color-hover) data-[state=open]:bg-(--menu-popup-item-bg-color-hover) transition-colors",
67
+ "itemLeadingIcon": "shrink-0 size-[18px] text-(--ui-color-design-plain-content-icon-secondary) group-data-highlighted:not-data-disabled:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary) group-data-[state=checked]:text-(--ui-color-accent-main-primary) transition-colors",
68
+ "itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
69
+ "itemLeadingAvatarSize": "2xs",
70
+ "itemLeadingChip": "shrink-0 size-[16px] mx-px",
71
+ "itemLeadingChipSize": "sm",
72
+ "itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
73
+ "itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
74
+ "itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)"
63
75
  },
64
76
  "variants": {
65
77
  "buttonGroup": {
@@ -76,106 +88,100 @@ export default {
76
88
  "false": "group-not-only:not-first:after:content-[''] group-not-only:not-first:after:absolute group-not-only:not-first:after:top-[7px] group-not-only:not-first:after:bottom-[6px] group-not-only:not-first:after:left-0 group-not-only:not-first:after:w-px group-not-only:not-first:after:bg-current/30"
77
89
  },
78
90
  "size": {
91
+ "xss": {
92
+ "base": "h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
93
+ "leading": "px-1",
94
+ "trailing": "px-1",
95
+ "leadingIcon": "size-[12px]",
96
+ "leadingAvatarSize": "3xs",
97
+ "trailingIcon": "size-[12px]"
98
+ },
79
99
  "xs": {
80
- "base": "h-xl2 gap-1",
100
+ "base": "h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
81
101
  "leading": "px-1",
82
102
  "trailing": "px-1",
83
- "leadingIcon": "size-lg2",
84
- "leadingAvatarSize": "2xs",
85
- "trailingIcon": "size-lg2",
86
- "label": "h-9 ps-2 pe-3 text-sm gap-2",
87
- "item": "h-9 ps-3 pe-3 text-sm gap-2",
88
- "itemLeadingIcon": "size-5",
89
- "itemLeadingAvatarSize": "2xs",
90
- "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
91
- "itemLeadingChipSize": "sm",
92
- "itemTrailingIcon": "size-3"
103
+ "leadingIcon": "size-[14px]",
104
+ "leadingAvatarSize": "3xs",
105
+ "trailingIcon": "size-[14px]"
93
106
  },
94
107
  "sm": {
95
- "base": "h-8 gap-1.5",
108
+ "base": "h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
96
109
  "leading": "px-1.5",
97
110
  "trailing": "px-1.5",
98
- "leadingIcon": "size-lg2",
99
- "leadingAvatarSize": "xs",
100
- "trailingIcon": "size-lg2",
101
- "label": "h-9 ps-2 pe-3 text-sm gap-2",
102
- "item": "h-9 ps-3 pe-3 text-sm gap-2",
103
- "itemLeadingIcon": "size-5",
104
- "itemLeadingAvatarSize": "2xs",
105
- "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
106
- "itemLeadingChipSize": "sm",
107
- "itemTrailingIcon": "size-3"
111
+ "leadingIcon": "size-[16px]",
112
+ "leadingAvatar": "size-[16px]",
113
+ "leadingAvatarSize": "2xs",
114
+ "trailingIcon": "size-[16px]"
108
115
  },
109
116
  "md": {
110
- "base": "h-10 gap-1.5",
117
+ "base": "h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
111
118
  "leading": "px-2",
112
119
  "trailing": "px-2",
113
- "leadingIcon": "size-[24px]",
114
- "leadingAvatarSize": "sm",
115
- "trailingIcon": "size-lg2",
116
- "label": "h-9 ps-2 pe-3 text-sm gap-2",
117
- "item": "h-9 ps-3 pe-3 text-sm gap-2",
118
- "itemLeadingIcon": "size-5",
119
- "itemLeadingAvatarSize": "2xs",
120
- "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
121
- "itemLeadingChipSize": "sm",
122
- "itemTrailingIcon": "size-3"
120
+ "leadingIcon": "size-[18px]",
121
+ "leadingAvatarSize": "2xs",
122
+ "trailingIcon": "size-[18px]"
123
123
  },
124
124
  "lg": {
125
- "base": "h-12 gap-2",
125
+ "base": "h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
126
+ "leading": "px-2",
127
+ "trailing": "px-2",
128
+ "leadingIcon": "size-[22px]",
129
+ "leadingAvatarSize": "2xs",
130
+ "trailingIcon": "size-[22px]"
131
+ },
132
+ "xl": {
133
+ "base": "h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]",
126
134
  "leading": "px-2",
127
135
  "trailing": "px-2",
128
- "leadingIcon": "size-[24px]",
129
- "leadingAvatarSize": "md",
130
- "trailingIcon": "size-lg2",
131
- "label": "h-9 ps-2 pe-3 text-sm gap-2",
132
- "item": "h-9 ps-3 pe-3 text-sm gap-2",
133
- "itemLeadingIcon": "size-5",
134
- "itemLeadingAvatarSize": "2xs",
135
- "itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
136
- "itemLeadingChipSize": "sm",
137
- "itemTrailingIcon": "size-3"
136
+ "leadingIcon": "size-[22px]",
137
+ "leadingAvatarSize": "2xs",
138
+ "trailingIcon": "size-[22px]"
138
139
  }
139
140
  },
140
141
  "color": {
141
- "default": "",
142
- "danger": "",
143
- "success": "",
144
- "warning": "",
145
- "primary": "",
146
- "secondary": "",
147
- "collab": "",
148
- "ai": ""
149
- },
150
- "tagColor": {
142
+ "air-primary": {
143
+ "base": "style-filled"
144
+ },
145
+ "air-primary-success": {
146
+ "base": "style-filled-success"
147
+ },
148
+ "air-primary-alert": {
149
+ "base": "style-filled-alert"
150
+ },
151
+ "air-primary-copilot": {
152
+ "base": "style-filled-copilot"
153
+ },
154
+ "air-primary-warning": {
155
+ "base": "style-filled-warning"
156
+ },
151
157
  "default": {
152
- "tag": "text-white bg-base-900 dark:text-base-150 dark:bg-base-900"
158
+ "base": "style-old-default"
153
159
  },
154
160
  "danger": {
155
- "tag": "text-white bg-red-500 dark:text-red-250 dark:bg-red-600"
161
+ "base": "style-old-danger"
156
162
  },
157
163
  "success": {
158
- "tag": "text-white bg-green-500 dark:text-green-250 dark:bg-green-600"
164
+ "base": "style-old-success"
159
165
  },
160
166
  "warning": {
161
- "tag": "text-white bg-orange-500 dark:text-orange-250 dark:bg-orange-600"
167
+ "base": "style-old-warning"
162
168
  },
163
169
  "primary": {
164
- "tag": "text-white bg-blue-500 dark:text-blue-250 dark:bg-blue-600"
170
+ "base": "style-old-primary"
165
171
  },
166
172
  "secondary": {
167
- "tag": "text-white bg-cyan-350 dark:text-base-150 dark:bg-cyan-500"
173
+ "base": "style-old-secondary"
168
174
  },
169
175
  "collab": {
170
- "tag": "text-white bg-collab-500 dark:text-collab-200 dark:bg-collab-800"
176
+ "base": "style-old-collab"
171
177
  },
172
178
  "ai": {
173
- "tag": "text-white bg-ai-500 dark:text-ai-200 dark:bg-ai-800"
179
+ "base": "style-old-ai"
174
180
  }
175
181
  },
176
182
  "rounded": {
177
- "true": "rounded-3xl",
178
- "false": "rounded-2xs"
183
+ "true": "rounded-(--ui-border-radius-3xl)",
184
+ "false": "rounded-(--ui-border-radius-sm)"
179
185
  },
180
186
  "noPadding": {
181
187
  "true": {
@@ -183,10 +189,10 @@ export default {
183
189
  }
184
190
  },
185
191
  "noBorder": {
186
- "true": "ring-0 focus-visible:ring-0"
192
+ "true": "ring-0 focus-visible:ring-0 style-transparent-bg"
187
193
  },
188
194
  "underline": {
189
- "true": "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
195
+ "true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
190
196
  },
191
197
  "leading": {
192
198
  "true": ""
@@ -198,311 +204,251 @@ export default {
198
204
  "true": ""
199
205
  },
200
206
  "highlight": {
201
- "true": ""
207
+ "true": "ring ring-inset ring-(--b24ui-border-color)"
202
208
  },
203
209
  "type": {
204
- "file": "file:me-1.5 file:text-base-500 file:outline-none"
210
+ "file": [
211
+ "file:me-1.5",
212
+ "file:text-(--ui-color-design-plain-na-content-secondary)",
213
+ "file:outline-none"
214
+ ]
205
215
  },
206
216
  "colorItem": {
207
- "default": "",
217
+ "air-primary": {
218
+ "item": "style-filled"
219
+ },
220
+ "air-primary-success": {
221
+ "item": "style-filled-success"
222
+ },
223
+ "air-primary-alert": {
224
+ "item": "style-filled-alert"
225
+ },
226
+ "air-primary-copilot": {
227
+ "item": "style-filled-copilot"
228
+ },
229
+ "air-primary-warning": {
230
+ "item": "style-filled-warning"
231
+ },
232
+ "default": {
233
+ "item": "style-old-default"
234
+ },
208
235
  "danger": {
209
- "item": "text-red-900 dark:text-red-150 data-highlighted:text-red-900 dark:data-highlighted:text-red-200 data-highlighted:before:bg-red-100 dark:data-highlighted:before:bg-red-900 data-[state=checked]:text-red-900 dark:data-[state=checked]:text-red-200 data-[state=checked]:before:bg-red-100 dark:data-[state=checked]:before:bg-red-900",
210
- "itemLeadingIcon": "text-red-600 dark:text-red-700 group-data-highlighted:text-red-900 dark:group-data-highlighted:text-red-150 group-data-[state=checked]:text-red-900 dark:group-data-[state=checked]:text-red-700"
236
+ "item": "style-old-danger"
211
237
  },
212
238
  "success": {
213
- "item": "text-green-900 dark:text-green-150 data-highlighted:text-green-900 dark:data-highlighted:text-green-200 data-highlighted:before:bg-green-100 dark:data-highlighted:before:bg-green-900 data-[state=checked]:text-green-900 dark:data-[state=checked]:text-green-200 data-[state=checked]:before:bg-green-100 dark:data-[state=checked]:before:bg-green-900",
214
- "itemLeadingIcon": "text-green-600 dark:text-green-700 group-data-highlighted:text-green-900 dark:group-data-highlighted:text-green-150 group-data-[state=checked]:text-green-900 dark:group-data-[state=checked]:text-green-700"
239
+ "item": "style-old-success"
215
240
  },
216
241
  "warning": {
217
- "item": "text-orange-900 dark:text-orange-150 data-highlighted:text-orange-900 dark:data-highlighted:text-orange-200 data-highlighted:before:bg-orange-100 dark:data-highlighted:before:bg-orange-900 data-[state=checked]:text-orange-900 dark:data-[state=checked]:text-orange-200 data-[state=checked]:before:bg-orange-100 dark:data-[state=checked]:before:bg-orange-900",
218
- "itemLeadingIcon": "text-orange-600 dark:text-orange-700 group-data-highlighted:text-orange-900 dark:group-data-highlighted:text-orange-150 group-data-[state=checked]:text-orange-900 dark:group-data-[state=checked]:text-orange-700"
242
+ "item": "style-old-warning"
219
243
  },
220
244
  "primary": {
221
- "item": "text-blue-900 dark:text-blue-150 data-highlighted:text-blue-900 dark:data-highlighted:text-blue-200 data-highlighted:before:bg-blue-100 dark:data-highlighted:before:bg-blue-900 data-[state=checked]:text-blue-900 dark:data-[state=checked]:text-blue-200 data-[state=checked]:before:bg-blue-100 dark:data-[state=checked]:before:bg-blue-900",
222
- "itemLeadingIcon": "text-blue-600 dark:text-blue-700 group-data-highlighted:text-blue-900 dark:group-data-highlighted:text-blue-150 group-data-[state=checked]:text-blue-900 dark:group-data-[state=checked]:text-blue-700"
245
+ "item": "style-old-primary"
223
246
  },
224
247
  "secondary": {
225
- "item": "text-cyan-900 dark:text-cyan-150 data-highlighted:text-cyan-900 dark:data-highlighted:text-cyan-200 data-highlighted:before:bg-cyan-100 dark:data-highlighted:before:bg-cyan-900 data-[state=checked]:text-cyan-900 dark:data-[state=checked]:text-cyan-200 data-[state=checked]:before:bg-cyan-100 dark:data-[state=checked]:before:bg-cyan-900",
226
- "itemLeadingIcon": "text-cyan-600 dark:text-cyan-700 group-data-highlighted:text-cyan-900 dark:group-data-highlighted:text-cyan-150 group-data-[state=checked]:text-cyan-900 dark:group-data-[state=checked]:text-cyan-700"
248
+ "item": "style-old-secondary"
227
249
  },
228
250
  "collab": {
229
- "item": "text-collab-900 dark:text-collab-150 data-highlighted:text-collab-900 dark:data-highlighted:text-collab-200 data-highlighted:before:bg-collab-100 dark:data-highlighted:before:bg-collab-900 data-[state=checked]:text-collab-900 dark:data-[state=checked]:text-collab-200 data-[state=checked]:before:bg-collab-100 dark:data-[state=checked]:before:bg-collab-900",
230
- "itemLeadingIcon": "text-collab-600 dark:text-collab-700 group-data-highlighted:text-collab-900 dark:group-data-highlighted:text-collab-150 group-data-[state=checked]:text-collab-900 dark:group-data-[state=checked]:text-collab-700"
251
+ "item": "style-old-collab"
231
252
  },
232
253
  "ai": {
233
- "item": "text-ai-900 dark:text-ai-150 data-highlighted:text-ai-900 dark:data-highlighted:text-ai-200 data-highlighted:before:bg-ai-100 dark:data-highlighted:before:bg-ai-900 data-[state=checked]:text-ai-900 dark:data-[state=checked]:text-ai-200 data-[state=checked]:before:bg-ai-100 dark:data-[state=checked]:before:bg-ai-900",
234
- "itemLeadingIcon": "text-ai-600 dark:text-ai-700 group-data-highlighted:text-ai-900 dark:group-data-highlighted:text-ai-150 group-data-[state=checked]:text-ai-900 dark:group-data-[state=checked]:text-ai-700"
254
+ "item": "style-old-ai"
235
255
  }
236
256
  }
237
257
  },
238
258
  "compoundVariants": [
239
259
  {
240
- "color": "default" as typeof color[number],
241
- "noBorder": false,
242
- "underline": false,
243
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
244
- },
245
- {
246
- "color": "default" as typeof color[number],
247
- "highlight": true,
248
- "noBorder": false,
249
- "underline": false,
250
- "class": "ring ring-inset ring-base-900 dark:ring-base-350"
251
- },
252
- {
253
- "color": "default" as typeof color[number],
254
- "noBorder": false,
255
- "underline": true,
256
- "class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
257
- },
258
- {
259
- "color": "default" as typeof color[number],
260
- "highlight": true,
261
- "noBorder": false,
262
- "underline": true,
263
- "class": "border-b-base-900 dark:border-b-base-350"
264
- },
265
- {
266
- "color": "danger" as typeof color[number],
267
- "noBorder": false,
268
- "underline": false,
269
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
270
- },
271
- {
272
- "color": "danger" as typeof color[number],
273
- "highlight": true,
274
- "noBorder": false,
275
- "underline": false,
276
- "class": "ring ring-inset ring-red-500 dark:ring-red-600"
277
- },
278
- {
279
- "color": "danger" as typeof color[number],
280
- "noBorder": false,
281
- "underline": true,
282
- "class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
283
- },
284
- {
285
- "color": "danger" as typeof color[number],
286
- "highlight": true,
287
- "noBorder": false,
288
- "underline": true,
289
- "class": "border-b-red-500 dark:border-b-red-600"
290
- },
291
- {
292
- "color": "success" as typeof color[number],
293
- "noBorder": false,
294
- "underline": false,
295
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
296
- },
297
- {
298
- "color": "success" as typeof color[number],
299
- "highlight": true,
300
- "noBorder": false,
301
- "underline": false,
302
- "class": "ring ring-inset ring-green-500 dark:ring-green-600"
303
- },
304
- {
305
- "color": "success" as typeof color[number],
306
- "noBorder": false,
307
- "underline": true,
308
- "class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
309
- },
310
- {
311
- "color": "success" as typeof color[number],
312
- "highlight": true,
313
- "noBorder": false,
314
- "underline": true,
315
- "class": "border-b-green-500 dark:border-b-green-600"
316
- },
317
- {
318
- "color": "warning" as typeof color[number],
319
- "noBorder": false,
320
- "underline": false,
321
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
322
- },
323
- {
324
- "color": "warning" as typeof color[number],
325
- "highlight": true,
326
- "noBorder": false,
327
- "underline": false,
328
- "class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
329
- },
330
- {
331
- "color": "warning" as typeof color[number],
332
- "noBorder": false,
333
- "underline": true,
334
- "class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
335
- },
336
- {
337
- "color": "warning" as typeof color[number],
338
- "highlight": true,
339
- "noBorder": false,
340
- "underline": true,
341
- "class": "border-b-orange-500 dark:border-b-orange-600"
342
- },
343
- {
344
- "color": "primary" as typeof color[number],
345
- "noBorder": false,
346
- "underline": false,
347
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
348
- },
349
- {
350
- "color": "primary" as typeof color[number],
351
- "highlight": true,
352
- "noBorder": false,
353
- "underline": false,
354
- "class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
355
- },
356
- {
357
- "color": "primary" as typeof color[number],
358
- "noBorder": false,
359
- "underline": true,
360
- "class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
260
+ "colorItem": [
261
+ "air-primary" as typeof colorItem[number],
262
+ "air-primary-success" as typeof colorItem[number],
263
+ "air-primary-alert" as typeof colorItem[number],
264
+ "air-primary-copilot" as typeof colorItem[number],
265
+ "air-primary-warning" as typeof colorItem[number]
266
+ ],
267
+ "active": false,
268
+ "class": {
269
+ "item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
270
+ "itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
271
+ }
361
272
  },
362
273
  {
363
- "color": "primary" as typeof color[number],
364
- "highlight": true,
365
- "noBorder": false,
366
- "underline": true,
367
- "class": "border-b-blue-500 dark:border-b-blue-600"
274
+ "colorItem": [
275
+ "air-primary" as typeof colorItem[number],
276
+ "air-primary-success" as typeof colorItem[number],
277
+ "air-primary-alert" as typeof colorItem[number],
278
+ "air-primary-copilot" as typeof colorItem[number],
279
+ "air-primary-warning" as typeof colorItem[number]
280
+ ],
281
+ "active": true,
282
+ "class": {
283
+ "item": "text-(--b24ui-background-active)",
284
+ "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
285
+ }
368
286
  },
369
287
  {
370
- "color": "secondary" as typeof color[number],
371
- "noBorder": false,
372
- "underline": false,
373
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-350 dark:focus-visible:ring-cyan-500"
288
+ "colorItem": "default" as typeof colorItem[number],
289
+ "active": false,
290
+ "class": ""
374
291
  },
375
292
  {
376
- "color": "secondary" as typeof color[number],
377
- "highlight": true,
378
- "noBorder": false,
379
- "underline": false,
380
- "class": "ring ring-inset ring-cyan-350 dark:ring-cyan-500"
293
+ "colorItem": "default" as typeof colorItem[number],
294
+ "active": true,
295
+ "class": ""
381
296
  },
382
297
  {
383
- "color": "secondary" as typeof color[number],
384
- "noBorder": false,
385
- "underline": true,
386
- "class": "focus-visible:border-b-cyan-350 dark:focus-visible:border-b-cyan-500"
298
+ "colorItem": [
299
+ "danger" as typeof colorItem[number],
300
+ "success" as typeof colorItem[number],
301
+ "warning" as typeof colorItem[number],
302
+ "primary" as typeof colorItem[number],
303
+ "secondary" as typeof colorItem[number],
304
+ "collab" as typeof colorItem[number],
305
+ "ai" as typeof colorItem[number]
306
+ ],
307
+ "active": false,
308
+ "class": {
309
+ "item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
310
+ "itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
311
+ }
387
312
  },
388
313
  {
389
- "color": "secondary" as typeof color[number],
390
- "highlight": true,
391
- "noBorder": false,
392
- "underline": true,
393
- "class": "border-b-cyan-350 dark:border-b-cyan-500"
314
+ "colorItem": [
315
+ "danger" as typeof colorItem[number],
316
+ "success" as typeof colorItem[number],
317
+ "warning" as typeof colorItem[number],
318
+ "primary" as typeof colorItem[number],
319
+ "secondary" as typeof colorItem[number],
320
+ "collab" as typeof colorItem[number],
321
+ "ai" as typeof colorItem[number]
322
+ ],
323
+ "active": true,
324
+ "class": {
325
+ "item": "text-(--b24ui-background-active)",
326
+ "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
327
+ }
394
328
  },
395
329
  {
396
- "color": "collab" as typeof color[number],
397
330
  "noBorder": false,
398
331
  "underline": false,
399
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-collab-500 dark:focus-visible:ring-collab-600"
332
+ "class": ""
400
333
  },
401
334
  {
402
- "color": "collab" as typeof color[number],
403
335
  "highlight": true,
404
336
  "noBorder": false,
405
337
  "underline": false,
406
- "class": "ring ring-inset ring-collab-500 dark:ring-collab-600"
338
+ "class": "ring ring-inset ring-(--b24ui-border-color)"
407
339
  },
408
340
  {
409
- "color": "collab" as typeof color[number],
410
341
  "noBorder": false,
411
342
  "underline": true,
412
- "class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
343
+ "class": "focus:border-(--b24ui-border-color)"
413
344
  },
414
345
  {
415
- "color": "collab" as typeof color[number],
416
346
  "highlight": true,
417
347
  "noBorder": false,
418
348
  "underline": true,
419
- "class": "border-b-collab-500 dark:border-b-collab-600"
420
- },
421
- {
422
- "color": "ai" as typeof color[number],
423
- "noBorder": false,
424
- "underline": false,
425
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
426
- },
427
- {
428
- "color": "ai" as typeof color[number],
429
- "highlight": true,
430
- "noBorder": false,
431
- "underline": false,
432
- "class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
433
- },
434
- {
435
- "color": "ai" as typeof color[number],
436
- "noBorder": false,
437
- "underline": true,
438
- "class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
349
+ "class": "border-b-(--b24ui-border-color)"
439
350
  },
440
351
  {
441
- "color": "ai" as typeof color[number],
442
- "highlight": true,
443
- "noBorder": false,
444
- "underline": true,
445
- "class": "border-b-ai-500 dark:border-b-ai-600"
352
+ "type": "file" as typeof type[number],
353
+ "size": "xss" as typeof size[number],
354
+ "class": "py-[2px]"
446
355
  },
447
356
  {
448
357
  "type": "file" as typeof type[number],
449
358
  "size": "xs" as typeof size[number],
450
- "class": "py-1.5"
359
+ "class": "py-[4px]"
451
360
  },
452
361
  {
453
362
  "type": "file" as typeof type[number],
454
363
  "size": "sm" as typeof size[number],
455
- "class": "py-2.5"
364
+ "class": "py-[5px]"
456
365
  },
457
366
  {
458
367
  "type": "file" as typeof type[number],
459
368
  "size": "md" as typeof size[number],
460
- "class": "py-3"
369
+ "class": "py-[7px]"
461
370
  },
462
371
  {
463
372
  "type": "file" as typeof type[number],
464
373
  "size": "lg" as typeof size[number],
465
- "class": "py-4"
374
+ "class": "py-[9px]"
375
+ },
376
+ {
377
+ "type": "file" as typeof type[number],
378
+ "size": "xl" as typeof size[number],
379
+ "class": "py-[11px]"
466
380
  },
467
381
  {
468
382
  "leading": true,
383
+ "noPadding": false,
384
+ "size": "xss" as typeof size[number],
385
+ "class": "ps-[20px]"
386
+ },
387
+ {
388
+ "leading": true,
389
+ "noPadding": false,
469
390
  "size": "xs" as typeof size[number],
470
- "class": "ps-7"
391
+ "class": "ps-[22px]"
471
392
  },
472
393
  {
473
394
  "leading": true,
395
+ "noPadding": false,
474
396
  "size": "sm" as typeof size[number],
475
- "class": "ps-8"
397
+ "class": "ps-[28px]"
476
398
  },
477
399
  {
478
400
  "leading": true,
401
+ "noPadding": false,
479
402
  "size": "md" as typeof size[number],
480
- "class": "ps-[39px]"
403
+ "class": "ps-[34px]"
481
404
  },
482
405
  {
483
406
  "leading": true,
407
+ "noPadding": false,
484
408
  "size": "lg" as typeof size[number],
485
- "class": "ps-[42px]"
409
+ "class": "ps-[38px]"
410
+ },
411
+ {
412
+ "leading": true,
413
+ "noPadding": false,
414
+ "size": "xl" as typeof size[number],
415
+ "class": "ps-[38px]"
416
+ },
417
+ {
418
+ "trailing": true,
419
+ "noPadding": false,
420
+ "size": "xss" as typeof size[number],
421
+ "class": "pe-[20px]"
486
422
  },
487
423
  {
488
424
  "trailing": true,
425
+ "noPadding": false,
489
426
  "size": "xs" as typeof size[number],
490
- "class": "pe-7"
427
+ "class": "pe-[22px]"
491
428
  },
492
429
  {
493
430
  "trailing": true,
431
+ "noPadding": false,
494
432
  "size": "sm" as typeof size[number],
495
- "class": "pe-8"
433
+ "class": "pe-[28px]"
496
434
  },
497
435
  {
498
436
  "trailing": true,
437
+ "noPadding": false,
499
438
  "size": "md" as typeof size[number],
500
- "class": "pe-[39px]"
439
+ "class": "pe-[34px]"
501
440
  },
502
441
  {
503
442
  "trailing": true,
443
+ "noPadding": false,
504
444
  "size": "lg" as typeof size[number],
505
- "class": "pe-[39px]"
445
+ "class": "pe-[38px]"
446
+ },
447
+ {
448
+ "trailing": true,
449
+ "noPadding": false,
450
+ "size": "xl" as typeof size[number],
451
+ "class": "pe-[38px]"
506
452
  },
507
453
  {
508
454
  "loading": true,
@@ -521,8 +467,7 @@ export default {
521
467
  }
522
468
  ],
523
469
  "defaultVariants": {
524
- "size": "md" as typeof size[number],
525
- "color": "primary" as typeof color[number],
526
- "tagColor": "primary" as typeof tagColor[number]
470
+ "color": "air-primary" as typeof color[number],
471
+ "size": "md" as typeof size[number]
527
472
  }
528
473
  }