@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
@@ -7,33 +7,33 @@ const size = [
7
7
 
8
8
  export default {
9
9
  "slots": {
10
- "base": "font-b24-primary [&>table]:text-md [&>table]:relative [&>table]:w-full [&>table]:text-left [&>table]:rtl:text-right [&>table]:text-base-900 dark:[&>table]:text-base-200 [&>table>thead>tr>td]:align-middle [&>table>thead>tr>th]:align-middle [&>table>tbody>tr>td]:align-middle [&>table>tbody>tr>th]:align-middle [&>table>tfoot>tr>td]:align-middle [&>table>tfoot>tr>th]:align-middle [&>table>thead>tr>td]:whitespace-nowrap [&>table>thead>tr>td]:text-md [&>table>thead>tr>td]:font-normal [&>table>thead>tr>th]:whitespace-nowrap [&>table>thead>tr>th]:text-md [&>table>thead>tr>th]:font-normal [&>table>tbody>tr>th]:whitespace-nowrap [&>table>tbody>tr>th]:text-md [&>table>tbody>tr>th]:font-normal [&>table>tfoot>tr>td]:whitespace-nowrap [&>table>tfoot>tr>td]:text-md [&>table>tfoot>tr>td]:font-normal [&>table>tfoot>tr>th]:whitespace-nowrap [&>table>tfoot>tr>th]:text-md [&>table>tfoot>tr>th]:font-normal [&>table>thead>tr]:border-base-300 dark:[&>table>thead>tr]:border-base-800 [&>table>tbody>tr]:border-base-master/10 dark:[&>table>tbody>tr]:border-base-100/20 [&>table>tfoot]:border-base-300 dark:[&>table>tfoot]:border-base-800 [&>table>thead>tr]:border-b [&>table>tbody>tr:not(:last-child)]:border-b [&>table>tfoot]:border-t"
10
+ "base": "font-[family-name:var(--ui-font-family-primary)] [&>table]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table]:relative [&>table]:w-full [&>table]:text-left [&>table]:rtl:text-right [&>table]:text-(--b24ui-typography-label-color) [&>table>thead>tr>td]:align-middle [&>table>thead>tr>th]:align-middle [&>table>tbody>tr>td]:align-middle [&>table>tbody>tr>th]:align-middle [&>table>tfoot>tr>td]:align-middle [&>table>tfoot>tr>th]:align-middle [&>table>thead>tr>td]:whitespace-nowrap [&>table>thead>tr>td]:text-(length:--ui-font-size-md) [&>table>thead>tr>td]:font-(--ui-font-weight-normal) [&>table>thead>tr>th]:whitespace-nowrap [&>table>thead>tr>th]:text-(length:--ui-font-size-md) [&>table>thead>tr>th]:font-(--ui-font-weight-normal) [&>table>tbody>tr>th]:whitespace-nowrap [&>table>tbody>tr>th]:text-(length:--ui-font-size-md) [&>table>tbody>tr>th]:font-(--ui-font-weight-normal) [&>table>tfoot>tr>td]:whitespace-nowrap [&>table>tfoot>tr>td]:text-(length:--ui-font-size-md) [&>table>tfoot>tr>td]:font-(--ui-font-weight-normal) [&>table>tfoot>tr>th]:whitespace-nowrap [&>table>tfoot>tr>th]:text-(length:--ui-font-size-md) [&>table>tfoot>tr>th]:font-(--ui-font-weight-normal) [&>table>thead>tr]:border-(--ui-color-divider-vibrant-accent-more) [&>table>tbody>tr]:border-(--ui-color-divider-vibrant-default) [&>table>tfoot]:border-(--ui-color-divider-vibrant-default) [&>table>thead>tr]:border-b [&>table>tbody>tr:not(:last-child)]:border-b [&>table>tfoot]:border-t"
11
11
  },
12
12
  "variants": {
13
13
  "size": {
14
- "xs": "[&>table>thead>tr>td]:text-xs [&>table>thead>tr>td]:px-2 [&>table>thead>tr>td]:py-1 [&>table>thead>tr>th]:text-xs [&>table>thead>tr>th]:px-2 [&>table>thead>tr>th]:py-1 [&>table>tbody>tr>td]:text-xs [&>table>tbody>tr>td]:px-2 [&>table>tbody>tr>td]:py-1 [&>table>tbody>tr>th]:text-xs [&>table>tbody>tr>th]:px-2 [&>table>tbody>tr>th]:py-1 [&>table>tfoot>tr>td]:text-xs [&>table>tfoot>tr>td]:px-2 [&>table>tfoot>tr>td]:py-1 [&>table>tfoot>tr>th]:text-xs [&>table>tfoot>tr>th]:px-2 [&>table>tfoot>tr>th]:py-1",
15
- "sm": "[&>table>thead>tr>td]:text-sm [&>table>thead>tr>td]:px-3 [&>table>thead>tr>td]:py-2 [&>table>thead>tr>th]:text-sm [&>table>thead>tr>th]:px-3 [&>table>thead>tr>th]:py-2 [&>table>tbody>tr>td]:text-sm [&>table>tbody>tr>td]:px-3 [&>table>tbody>tr>td]:py-2 [&>table>tbody>tr>th]:text-sm [&>table>tbody>tr>th]:px-3 [&>table>tbody>tr>th]:py-2 [&>table>tfoot>tr>td]:text-sm [&>table>tfoot>tr>td]:px-3 [&>table>tfoot>tr>td]:py-2 [&>table>tfoot>tr>th]:text-sm [&>table>tfoot>tr>th]:px-3 [&>table>tfoot>tr>th]:py-2",
16
- "md": "[&>table>thead>tr>td]:text-md [&>table>thead>tr>td]:px-4 [&>table>thead>tr>td]:py-3.5 [&>table>thead>tr>th]:text-md [&>table>thead>tr>th]:px-4 [&>table>thead>tr>th]:py-3.5 [&>table>tbody>tr>td]:text-md [&>table>tbody>tr>td]:px-4 [&>table>tbody>tr>td]:py-3.5 [&>table>tbody>tr>th]:text-md [&>table>tbody>tr>th]:px-4 [&>table>tbody>tr>th]:py-3.5 [&>table>tfoot>tr>td]:text-md [&>table>tfoot>tr>td]:px-4 [&>table>tfoot>tr>td]:py-3.5 [&>table>tfoot>tr>th]:text-md [&>table>tfoot>tr>th]:px-4 [&>table>tfoot>tr>th]:py-3.5",
17
- "lg": "[&>table>thead>tr>td]:text-lg [&>table>thead>tr>td]:px-5 [&>table>thead>tr>td]:py-4 [&>table>thead>tr>th]:text-lg [&>table>thead>tr>th]:px-5 [&>table>thead>tr>th]:py-4 [&>table>tbody>tr>td]:text-lg [&>table>tbody>tr>td]:px-5 [&>table>tbody>tr>td]:py-4 [&>table>tbody>tr>th]:text-lg [&>table>tbody>tr>th]:px-5 [&>table>tbody>tr>th]:py-4 [&>table>tfoot>tr>td]:text-lg [&>table>tfoot>tr>td]:px-5 [&>table>tfoot>tr>td]:py-4 [&>table>tfoot>tr>th]:text-lg [&>table>tfoot>tr>th]:px-5 [&>table>tfoot>tr>th]:py-4"
14
+ "xs": "[&>table>thead>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>thead>tr>td]:px-2 [&>table>thead>tr>td]:py-1 [&>table>thead>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>thead>tr>th]:px-2 [&>table>thead>tr>th]:py-1 [&>table>tbody>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tbody>tr>td]:px-2 [&>table>tbody>tr>td]:py-1 [&>table>tbody>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tbody>tr>th]:px-2 [&>table>tbody>tr>th]:py-1 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tfoot>tr>th]:px-2 [&>table>tfoot>tr>th]:py-1 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-xs)/(--ui-font-line-height-2xs) [&>table>tfoot>tr>th]:px-2 [&>table>tfoot>tr>th]:py-1",
15
+ "sm": "[&>table>thead>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>thead>tr>td]:px-3 [&>table>thead>tr>td]:py-2 [&>table>thead>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>thead>tr>th]:px-3 [&>table>thead>tr>th]:py-2 [&>table>tbody>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tbody>tr>td]:px-3 [&>table>tbody>tr>td]:py-2 [&>table>tbody>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tbody>tr>th]:px-3 [&>table>tbody>tr>th]:py-2 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tfoot>tr>th]:px-3 [&>table>tfoot>tr>th]:py-2 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-sm)/(--ui-font-line-height-sm) [&>table>tfoot>tr>th]:px-3 [&>table>tfoot>tr>th]:py-2",
16
+ "md": "[&>table>thead>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>thead>tr>td]:px-4 [&>table>thead>tr>td]:py-3.5 [&>table>thead>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>thead>tr>th]:px-4 [&>table>thead>tr>th]:py-3.5 [&>table>tbody>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tbody>tr>td]:px-4 [&>table>tbody>tr>td]:py-3.5 [&>table>tbody>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tbody>tr>th]:px-4 [&>table>tbody>tr>th]:py-3.5 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tfoot>tr>th]:px-4 [&>table>tfoot>tr>th]:py-3.5 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-md)/(--ui-font-line-height-md) [&>table>tfoot>tr>th]:px-4 [&>table>tfoot>tr>th]:py-3.5",
17
+ "lg": "[&>table>thead>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>thead>tr>td]:px-5 [&>table>thead>tr>td]:py-4 [&>table>thead>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>thead>tr>th]:px-5 [&>table>thead>tr>th]:py-4 [&>table>tbody>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tbody>tr>td]:px-5 [&>table>tbody>tr>td]:py-4 [&>table>tbody>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tbody>tr>th]:px-5 [&>table>tbody>tr>th]:py-4 [&>table>tfoot>tr>td]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tfoot>tr>th]:px-5 [&>table>tfoot>tr>th]:py-4 [&>table>tfoot>tr>th]:text-(length:--ui-font-size-lg)/(--ui-font-line-height-lg) [&>table>tfoot>tr>th]:px-5 [&>table>tfoot>tr>th]:py-4"
18
18
  },
19
19
  "rounded": {
20
- "true": "rounded-md",
20
+ "true": "rounded-(--ui-border-radius-md)",
21
21
  "false": ""
22
22
  },
23
23
  "zebra": {
24
- "true": "[&>table>tbody>tr]:even:bg-base-30 [&>table>tbody>tr]:even:[&>td]:bg-base-30 [&>table>tbody>tr]:even:[&>th]:bg-base-30 dark:[&>table>tbody>tr]:even:bg-base-dark dark:[&>table>tbody>tr]:even:[&>td]:bg-base-dark dark:[&>table>tbody>tr]:even:[&>th]:bg-base-dark"
24
+ "true": "[&>table>tbody>tr]:even:bg-(--ui-color-base-8) [&>table>tbody>tr]:even:[&>td]:bg-(--ui-color-base-8) [&>table>tbody>tr]:even:[&>th]:bg-(--ui-color-base-8) light:[&>table>tbody>tr]:even:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:even:[&>td]:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:even:[&>th]:bg-(--ui-color-base-6)"
25
25
  },
26
26
  "pinRows": {
27
- "true": "[&>table>thead>tr]:sticky [&>table>thead>tr]:top-0 [&>table>thead>tr]:z-1 [&>table>thead>tr]:bg-white dark:[&>table>thead>tr]:bg-base-dark [&>table>thead>tr]:shadow-bottom-sm [&>table>tfoot>tr]:sticky [&>table>tfoot>tr]:bottom-0 [&>table>tfoot>tr]:z-1 [&>table>tfoot>tr]:bg-white dark:[&>table>tfoot>tr]:bg-base-dark [&>table>tfoot>tr]:shadow-top-sm"
27
+ "true": "[&>table>thead>tr]:sticky [&>table>thead>tr]:top-0 [&>table>thead>tr]:z-1 dark:[&>table>thead>tr]:bg-(--ui-color-base-5) [&>table>thead>tr]:bg-(--ui-color-base-white-fixed) [&>table>thead>tr]:text-(--ui-color-g-content-grey-1) [&>table>thead>tr]:shadow-bottom-sm [&>table>tfoot>tr]:sticky [&>table>tfoot>tr]:bottom-0 [&>table>tfoot>tr]:z-1 dark:[&>table>tfoot>tr]:bg-(--ui-color-base-5) [&>table>tfoot>tr]:bg-(--ui-color-base-white-fixed) [&>table>tfoot>tr]:text-(--ui-color-g-content-grey-1) [&>table>tfoot>tr]:shadow-top-sm"
28
28
  },
29
29
  "pinCols": {
30
- "true": "[&>table>thead>tr>th]:sticky [&>table>thead>tr>th]:right-0 [&>table>thead>tr>th]:left-0 [&>table>thead>tr>th]:bg-base-20 dark:[&>table>thead>tr>th]:bg-base-dark [&>table>tbody>tr>th]:sticky [&>table>tbody>tr>th]:right-0 [&>table>tbody>tr>th]:left-0 [&>table>tbody>tr>th]:bg-base-20 dark:[&>table>tbody>tr>th]:bg-base-dark [&>table>tfoot>tr>th]:sticky [&>table>tfoot>tr>th]:right-0 [&>table>tfoot>tr>th]:left-0 [&>table>tfoot>tr>th]:bg-base-20 dark:[&>table>tfoot>tr>th]:bg-base-dark"
30
+ "true": "[&>table>thead>tr>th]:sticky [&>table>thead>tr>th]:right-0 [&>table>thead>tr>th]:left-0 dark:[&>table>thead>tr>th]:bg-(--ui-color-base-5) [&>table>thead>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>thead>tr>th]:text-(--ui-color-g-content-grey-1) [&>table>tbody>tr>th]:sticky [&>table>tbody>tr>th]:right-0 [&>table>tbody>tr>th]:left-0 dark:[&>table>tbody>tr>th]:bg-(--ui-color-base-5) [&>table>tbody>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>tbody>tr>th]:text-(--ui-color-g-content-grey-1) [&>table>tfoot>tr>th]:sticky [&>table>tfoot>tr>th]:right-0 [&>table>tfoot>tr>th]:left-0 dark:[&>table>tfoot>tr>th]:bg-(--ui-color-base-5) [&>table>tfoot>tr>th]:bg-(--ui-color-base-white-fixed) [&>table>tfoot>tr>th]:text-(--ui-color-g-content-grey-1)"
31
31
  },
32
32
  "rowHover": {
33
- "true": "[&>table>tbody>tr]:hover:bg-base-40 [&>table>tbody>tr]:hover:[&>td]:bg-base-40 [&>table>tbody>tr]:hover:[&>th]:bg-base-40 dark:[&>table>tbody>tr]:hover:bg-base-900 dark:[&>table>tbody>tr]:hover:[&>td]:bg-base-900 dark:[&>table>tbody>tr]:hover:[&>th]:bg-base-900"
33
+ "true": "[&>table>tbody>tr]:hover:bg-(--ui-color-base-8) [&>table>tbody>tr]:hover:[&>td]:bg-(--ui-color-base-8) [&>table>tbody>tr]:hover:[&>th]:bg-(--ui-color-base-8) light:[&>table>tbody>tr]:hover:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:hover:[&>td]:bg-(--ui-color-base-6) light:[&>table>tbody>tr]:hover:[&>th]:bg-(--ui-color-base-6)"
34
34
  },
35
35
  "bordered": {
36
- "true": "border border-base-master/10 dark:border-base-800"
36
+ "true": "border border-(--ui-color-divider-vibrant-default)"
37
37
  },
38
38
  "scrollbarThin": {
39
39
  "true": "scrollbar-thin"
@@ -8,7 +8,7 @@ const size = [
8
8
 
9
9
  export default {
10
10
  "slots": {
11
- "base": "relative flex flex-row flex-nowrap items-center justify-between text-base-500 dark:text-base-600",
11
+ "base": "relative flex flex-row flex-nowrap items-center justify-between text-(--b24ui-typography-legend-color)",
12
12
  "label": "",
13
13
  "leadingIcon": "shrink-0",
14
14
  "leadingAvatar": "shrink-0",
@@ -21,27 +21,27 @@ export default {
21
21
  "variants": {
22
22
  "size": {
23
23
  "xs": {
24
- "base": "gap-0.5 text-5xs leading-none",
24
+ "base": "gap-0.5 text-(length:--ui-font-size-5xs)/(--ui-font-line-height-reset)",
25
25
  "leadingIcon": "size-sm",
26
26
  "leadingAvatarSize": "3xs"
27
27
  },
28
28
  "sm": {
29
- "base": "gap-1 text-4xs leading-none",
29
+ "base": "gap-1 text-(length:--ui-font-size-4xs)/(--ui-font-line-height-reset)",
30
30
  "leadingIcon": "size-sm2",
31
31
  "leadingAvatarSize": "3xs"
32
32
  },
33
33
  "md": {
34
- "base": "gap-1 text-md leading-none",
34
+ "base": "gap-1 text-(length:--ui-font-size-md)/(--ui-font-line-height-reset)",
35
35
  "leadingIcon": "size-[16px]",
36
36
  "leadingAvatarSize": "3xs"
37
37
  },
38
38
  "lg": {
39
- "base": "gap-1 text-lg leading-none",
39
+ "base": "gap-1 text-(length:--ui-font-size-lg)/(--ui-font-line-height-reset)",
40
40
  "leadingIcon": "size-[22px]",
41
41
  "leadingAvatarSize": "2xs"
42
42
  },
43
43
  "xl": {
44
- "base": "gap-1 text-xl leading-none",
44
+ "base": "gap-1 text-(length:--ui-font-size-xl)/(--ui-font-line-height-reset)",
45
45
  "leadingIcon": "size-[26px]",
46
46
  "leadingAvatarSize": "xs"
47
47
  }
@@ -60,27 +60,27 @@ export default {
60
60
  {
61
61
  "size": "xs" as typeof size[number],
62
62
  "useCircle": true,
63
- "class": "text-7xs leading-normal p-0.5"
63
+ "class": "text-(length:--ui-font-size-7xs)/[normal] p-0.5"
64
64
  },
65
65
  {
66
66
  "size": "sm" as typeof size[number],
67
67
  "useCircle": true,
68
- "class": "text-6xs leading-normal p-1.5"
68
+ "class": "text-(length:--ui-font-size-6xs)/[normal] p-1.5"
69
69
  },
70
70
  {
71
71
  "size": "md" as typeof size[number],
72
72
  "useCircle": true,
73
- "class": "text-3xs leading-normal p-1.5"
73
+ "class": "text-(length:--ui-font-size-3xs)/[normal] p-1.5"
74
74
  },
75
75
  {
76
76
  "size": "lg" as typeof size[number],
77
77
  "useCircle": true,
78
- "class": "text-xs leading-normal p-1.5 pb-2"
78
+ "class": "text-(length:--ui-font-size-xs)/[normal] p-1.5 pb-2"
79
79
  },
80
80
  {
81
81
  "size": "xl" as typeof size[number],
82
82
  "useCircle": true,
83
- "class": "text-sm leading-normal p-2 pb-2.5"
83
+ "class": "text-(length:--ui-font-size-sm)/[normal] p-2 pb-2.5"
84
84
  }
85
85
  ],
86
86
  "defaultVariants": {
@@ -6,18 +6,18 @@ const size = [
6
6
  export default {
7
7
  "slots": {
8
8
  "root": "w-full shrink-0",
9
- "legend": "font-semibold text-black dark:text-base-150",
10
- "text": "text-base-500 dark:text-base-400",
9
+ "legend": "font-(--ui-font-weight-semibold) text-(--b24ui-typography-label-color)",
10
+ "text": "text-(--b24ui-typography-description-color)",
11
11
  "container": "grid grid-cols-1 sm:grid-cols-[min(50%,theme(spacing.80))_auto]",
12
- "labelWrapper": "col-start-1 border-t first:border-none sm:border-t flex flex-nowrap flex-row items-center justify-start gap-1.5 border-base-950/5 text-base-500 sm:border-base-950/5 dark:border-white/5 dark:text-base-400 sm:dark:border-white/5",
13
- "icon": "shrink-0 size-6 text-base-500 dark:text-base-400",
12
+ "labelWrapper": "col-start-1 border-t first:border-none sm:border-t flex flex-nowrap flex-row items-center justify-start gap-1.5 border-(--ui-color-divider-vibrant-default) sm:border-(--ui-color-divider-vibrant-default) text-(--b24ui-typography-description-color)",
13
+ "icon": "shrink-0 size-6 text-(--b24ui-typography-description-color)",
14
14
  "avatar": "shrink-0",
15
15
  "avatarSize": "",
16
16
  "label": "",
17
- "descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none text-base-900 sm:border-base-950/5 dark:text-base-150 dark:sm:border-white/5",
17
+ "descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none sm:border-(--ui-color-divider-vibrant-default) text-(--b24ui-typography-label-color)",
18
18
  "description": "",
19
19
  "actions": "flex flex-wrap gap-1.5 shrink-0",
20
- "footer": "border-t border-base-950/5 dark:border-white/5"
20
+ "footer": "border-t border-(--ui-color-divider-vibrant-default)"
21
21
  },
22
22
  "variants": {
23
23
  "size": {
@@ -1,4 +1,9 @@
1
1
  const color = [
2
+ "air-primary",
3
+ "air-primary-success",
4
+ "air-primary-alert",
5
+ "air-primary-copilot",
6
+ "air-primary-warning",
2
7
  "default",
3
8
  "danger",
4
9
  "success",
@@ -9,228 +14,151 @@ const color = [
9
14
  "ai"
10
15
  ] as const
11
16
 
12
- const size = [
13
- "xs",
14
- "sm",
15
- "md",
16
- "lg"
17
- ] as const
18
-
19
17
  export default {
20
18
  "slots": {
21
- "content": "min-w-32 bg-white dark:bg-base-dark shadow-lg rounded-2xs ring ring-base-300 dark:ring-base-800 overflow-hidden 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) flex flex-col pointer-events-auto",
22
- "viewport": "relative divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1 overflow-y-auto flex-1",
23
- "arrow": "fill-base-master/10 dark:fill-base-100/20",
24
- "group": "p-1 isolate",
25
- "label": "w-full flex items-center font-semibold text-base-900 dark:text-base-200",
26
- "separator": "-mx-1 my-1 h-px bg-base-master/10 dark:bg-base-100/20",
27
- "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:text-base-900 dark:data-highlighted:text-base-200 data-highlighted:before:bg-base-100/50 dark:data-highlighted:before:bg-base-900 transition-colors before:transition-colors",
28
- "itemLeadingIcon": "shrink-0 text-base-500 dark:text-base-700 group-data-highlighted:text-base-master dark:group-data-highlighted:text-base-150 group-data-[state=checked]:text-base-master dark:group-data-[state=checked]:text-base-150 transition-colors",
29
- "itemLeadingAvatar": "shrink-0",
30
- "itemLeadingAvatarSize": "",
31
- "itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
32
- "itemTrailingIcon": "shrink-0",
33
- "itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0",
34
- "itemTrailingKbdsSize": "",
35
- "itemLabel": "truncate",
36
- "itemLabelExternalIcon": "inline-block size-3 align-top text-base-500 dark:text-base-700"
19
+ "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",
20
+ "viewport": "relative w-[240px] max-h-[40vh] overflow-x-hidden overflow-y-auto scrollbar-thin",
21
+ "arrow": "fill-(--popup-window-background-color)",
22
+ "group": "grid",
23
+ "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)",
24
+ "separator": "my-[8px] mx-[18px] h-[1px] bg-(--popup-window-delimiter-bg-color)",
25
+ "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:text-(--menu-popup-item-color-hover) data-[state=open]: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",
26
+ "itemLeadingIcon": "shrink-0 size-[18px] text-(--ui-color-design-plain-content-icon-secondary) group-data-highlighted: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",
27
+ "itemLeadingAvatar": "shrink-0 size-[16px] mx-px",
28
+ "itemLeadingAvatarSize": "2xs",
29
+ "itemTrailing": "ml-auto rtl:ml-0 rtl:mr-auto inline-flex gap-1.5 items-center",
30
+ "itemTrailingIcon": "shrink-0 size-[24px] text-(--ui-color-design-plain-content-icon-secondary)",
31
+ "itemTrailingKbds": "shrink-0 hidden lg:inline-flex items-center gap-0.5",
32
+ "itemTrailingKbdsSize": "md",
33
+ "itemLabel": "truncate ms-[2px] -mt-px group-data-[state=checked]:text-(--ui-color-accent-main-primary)",
34
+ "itemLabelExternalIcon": "inline-block size-[16px] text-(--ui-color-design-plain-content-icon-secondary)"
37
35
  },
38
36
  "variants": {
39
37
  "color": {
40
- "default": "",
41
- "danger": "",
42
- "success": "",
43
- "warning": "",
44
- "primary": "",
45
- "secondary": "",
46
- "collab": "",
47
- "ai": ""
38
+ "air-primary": {
39
+ "item": "style-filled"
40
+ },
41
+ "air-primary-success": {
42
+ "item": "style-filled-success"
43
+ },
44
+ "air-primary-alert": {
45
+ "item": "style-filled-alert"
46
+ },
47
+ "air-primary-copilot": {
48
+ "item": "style-filled-copilot"
49
+ },
50
+ "air-primary-warning": {
51
+ "item": "style-filled-warning"
52
+ },
53
+ "default": {
54
+ "item": "style-old-default"
55
+ },
56
+ "danger": {
57
+ "item": "style-old-danger"
58
+ },
59
+ "success": {
60
+ "item": "style-old-success"
61
+ },
62
+ "warning": {
63
+ "item": "style-old-warning"
64
+ },
65
+ "primary": {
66
+ "item": "style-old-primary"
67
+ },
68
+ "secondary": {
69
+ "item": "style-old-secondary"
70
+ },
71
+ "collab": {
72
+ "item": "style-old-collab"
73
+ },
74
+ "ai": {
75
+ "item": "style-old-ai"
76
+ }
48
77
  },
49
78
  "active": {
50
- "false": {
51
- "item": "text-base-master data-highlighted:text-base-900 data-highlighted:before:bg-base-100/50 data-[state=open]:text-base-900 data-[state=open]:before:bg-base-100/50 dark:text-base-150 dark:data-highlighted:text-base-200 dark:data-highlighted:before:bg-base-900 dark:data-[state=open]:text-base-200 dark:data-[state=open]:before:bg-base-900 transition-colors before:transition-colors",
52
- "itemLeadingIcon": "text-base-500 group-data-highlighted:text-base-master group-data-[state=open]:text-base-master dark:text-base-700 dark:group-data-highlighted:text-base-150 dark:group-data-[state=open]:text-base-150 transition-colors"
53
- },
54
79
  "true": {
55
- "item": "text-base-900 before:bg-base-100/50 dark:text-base-200 dark:before:bg-base-900",
56
- "itemLeadingIcon": "text-base-master group-data-[state=open]:text-base-master dark:text-base-700"
57
- }
80
+ "item": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary)",
81
+ "itemLeadingIcon": "text-(--ui-color-accent-main-primary) hover:text-(--ui-color-accent-main-primary) group-data-[state=open]:text-(--ui-color-accent-main-primary)"
82
+ },
83
+ "false": {}
58
84
  },
59
85
  "loading": {
60
86
  "true": {
61
87
  "itemLeadingIcon": "animate-spin"
62
88
  }
63
- },
64
- "size": {
65
- "xs": {
66
- "label": "p-1 text-xs gap-1",
67
- "item": "p-1 text-xs gap-1",
68
- "itemLeadingIcon": "size-4",
69
- "itemLeadingAvatarSize": "3xs",
70
- "itemTrailingIcon": "size-4",
71
- "itemTrailingKbds": "gap-0.5",
72
- "itemTrailingKbdsSize": "sm"
73
- },
74
- "sm": {
75
- "label": "p-1.5 text-xs gap-1.5",
76
- "item": "p-1.5 text-xs gap-1.5",
77
- "itemLeadingIcon": "size-4",
78
- "itemLeadingAvatarSize": "3xs",
79
- "itemTrailingIcon": "size-4",
80
- "itemTrailingKbds": "gap-0.5",
81
- "itemTrailingKbdsSize": "sm"
82
- },
83
- "md": {
84
- "label": "h-9 ps-2 pe-3 text-sm gap-2",
85
- "item": "h-9 ps-3 pe-3 text-sm gap-2",
86
- "itemLeadingIcon": "size-5",
87
- "itemLeadingAvatarSize": "2xs",
88
- "itemTrailingIcon": "size-3",
89
- "itemTrailingKbds": "gap-0.5",
90
- "itemTrailingKbdsSize": "md"
91
- },
92
- "lg": {
93
- "label": "p-2 text-sm gap-2",
94
- "item": "p-2 text-sm gap-2",
95
- "itemLeadingIcon": "size-5",
96
- "itemLeadingAvatarSize": "2xs",
97
- "itemTrailingIcon": "size-5",
98
- "itemTrailingKbds": "gap-1",
99
- "itemTrailingKbdsSize": "md"
100
- }
101
89
  }
102
90
  },
103
91
  "compoundVariants": [
104
92
  {
105
- "color": "default" as typeof color[number],
93
+ "color": [
94
+ "air-primary" as typeof color[number],
95
+ "air-primary-success" as typeof color[number],
96
+ "air-primary-alert" as typeof color[number],
97
+ "air-primary-copilot" as typeof color[number],
98
+ "air-primary-warning" as typeof color[number]
99
+ ],
106
100
  "active": false,
107
101
  "class": {
108
- "item": "text-base-master data-highlighted:text-base-900 data-highlighted:before:bg-base-100/50 data-[state=open]:text-base-900 data-[state=open]:before:bg-base-100/50 dark:text-base-150 dark:data-highlighted:text-base-200 dark:data-highlighted:before:bg-base-900 dark:data-[state=open]:text-base-200 dark:data-[state=open]:before:bg-base-900",
109
- "itemLeadingIcon": "text-base-500 group-data-highlighted:text-base-master group-data-[state=open]:text-base-master dark:text-base-700 dark:group-data-highlighted:text-base-150 dark:group-data-[state=open]:text-base-150"
102
+ "item": "text-(--b24ui-background) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
103
+ "itemLeadingIcon": "text-(--b24ui-background) group-data-highlighted:text-(--b24ui-background-hover) group-data-[state=open]:text-(--b24ui-background-hover)"
110
104
  }
111
105
  },
112
106
  {
113
- "color": "default" as typeof color[number],
107
+ "color": [
108
+ "air-primary" as typeof color[number],
109
+ "air-primary-success" as typeof color[number],
110
+ "air-primary-alert" as typeof color[number],
111
+ "air-primary-copilot" as typeof color[number],
112
+ "air-primary-warning" as typeof color[number]
113
+ ],
114
114
  "active": true,
115
115
  "class": {
116
- "item": "text-base-900 before:bg-base-100/50 dark:text-base-200 dark:before:bg-base-900",
117
- "itemLeadingIcon": "text-base-master group-data-[state=open]:text-base-master dark:text-base-700"
116
+ "item": "text-(--b24ui-background-active)",
117
+ "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
118
118
  }
119
119
  },
120
120
  {
121
- "color": "danger" as typeof color[number],
122
- "active": false,
123
- "class": {
124
- "item": "text-red-950 data-highlighted:text-red-900 data-highlighted:before:bg-red-100 data-[state=open]:text-red-900 data-[state=open]:before:bg-red-100 dark:text-red-150 dark:data-highlighted:text-red-200 dark:data-highlighted:before:bg-red-900 dark:data-[state=open]:text-red-200 dark:data-[state=open]:before:bg-red-900",
125
- "itemLeadingIcon": "text-red-500 group-data-highlighted:text-red-900 group-data-[state=open]:text-red-900 dark:text-red-700 dark:group-data-highlighted:text-red-150 dark:group-data-[state=open]:text-red-150"
126
- }
127
- },
128
- {
129
- "color": "danger" as typeof color[number],
130
- "active": true,
131
- "class": {
132
- "item": "text-red-900 before:bg-red-100 dark:text-red-200 dark:before:bg-red-900",
133
- "itemLeadingIcon": "text-red-900 group-data-[state=open]:text-red-900 dark:text-red-700"
134
- }
135
- },
136
- {
137
- "color": "success" as typeof color[number],
138
- "active": false,
139
- "class": {
140
- "item": "text-green-950 data-highlighted:text-green-900 data-highlighted:before:bg-green-100 data-[state=open]:text-green-900 data-[state=open]:before:bg-green-100 dark:text-green-150 dark:data-highlighted:text-green-200 dark:data-highlighted:before:bg-green-900 dark:data-[state=open]:text-green-200 dark:data-[state=open]:before:bg-green-900",
141
- "itemLeadingIcon": "text-green-500 group-data-highlighted:text-green-900 group-data-[state=open]:text-green-900 dark:text-green-700 dark:group-data-highlighted:text-green-150 dark:group-data-[state=open]:text-green-150"
142
- }
143
- },
144
- {
145
- "color": "success" as typeof color[number],
146
- "active": true,
147
- "class": {
148
- "item": "text-green-900 before:bg-green-100 dark:text-green-200 dark:before:bg-green-900",
149
- "itemLeadingIcon": "text-green-900 group-data-[state=open]:text-green-900 dark:text-green-700"
150
- }
151
- },
152
- {
153
- "color": "warning" as typeof color[number],
154
- "active": false,
155
- "class": {
156
- "item": "text-orange-950 data-highlighted:text-orange-900 data-highlighted:before:bg-orange-100 data-[state=open]:text-orange-900 data-[state=open]:before:bg-orange-100 dark:text-orange-150 dark:data-highlighted:text-orange-200 dark:data-highlighted:before:bg-orange-900 dark:data-[state=open]:text-orange-200 dark:data-[state=open]:before:bg-orange-900",
157
- "itemLeadingIcon": "text-orange-500 group-data-highlighted:text-orange-900 group-data-[state=open]:text-orange-900 dark:text-orange-700 dark:group-data-highlighted:text-orange-150 dark:group-data-[state=open]:text-orange-150"
158
- }
159
- },
160
- {
161
- "color": "warning" as typeof color[number],
162
- "active": true,
163
- "class": {
164
- "item": "text-orange-900 before:bg-orange-100 dark:text-orange-200 dark:before:bg-orange-900",
165
- "itemLeadingIcon": "text-orange-900 group-data-[state=open]:text-orange-900 dark:text-orange-700"
166
- }
167
- },
168
- {
169
- "color": "primary" as typeof color[number],
170
- "active": false,
171
- "class": {
172
- "item": "text-blue-950 data-highlighted:text-blue-900 data-highlighted:before:bg-blue-100 data-[state=open]:text-blue-900 data-[state=open]:before:bg-blue-100 dark:text-blue-150 dark:data-highlighted:text-blue-200 dark:data-highlighted:before:bg-blue-900 dark:data-[state=open]:text-blue-200 dark:data-[state=open]:before:bg-blue-900",
173
- "itemLeadingIcon": "text-blue-500 group-data-highlighted:text-blue-900 group-data-[state=open]:text-blue-900 dark:text-blue-700 dark:group-data-highlighted:text-blue-150 dark:group-data-[state=open]:text-blue-150"
174
- }
175
- },
176
- {
177
- "color": "primary" as typeof color[number],
178
- "active": true,
179
- "class": {
180
- "item": "text-blue-900 before:bg-blue-100 dark:text-blue-200 dark:before:bg-blue-900",
181
- "itemLeadingIcon": "text-blue-900 group-data-[state=open]:text-blue-900 dark:text-blue-700"
182
- }
183
- },
184
- {
185
- "color": "secondary" as typeof color[number],
186
- "active": false,
187
- "class": {
188
- "item": "text-cyan-950 data-highlighted:text-cyan-900 data-highlighted:before:bg-cyan-100/50 data-[state=open]:text-cyan-900 data-[state=open]:before:bg-cyan-100/50 dark:text-cyan-150 dark:data-highlighted:text-cyan-200 dark:data-highlighted:before:bg-cyan-900 dark:data-[state=open]:text-cyan-200 dark:data-[state=open]:before:bg-cyan-900",
189
- "itemLeadingIcon": "text-cyan-500 group-data-highlighted:text-cyan-900 group-data-[state=open]:text-cyan-900 dark:text-cyan-700 dark:group-data-highlighted:text-cyan-150 dark:group-data-[state=open]:text-cyan-150"
190
- }
191
- },
192
- {
193
- "color": "secondary" as typeof color[number],
194
- "active": true,
195
- "class": {
196
- "item": "text-cyan-900 before:bg-cyan-100/50 dark:text-cyan-200 dark:before:bg-cyan-900",
197
- "itemLeadingIcon": "text-cyan-900 group-data-[state=open]:text-cyan-900 dark:text-cyan-700"
198
- }
199
- },
200
- {
201
- "color": "collab" as typeof color[number],
121
+ "color": "default" as typeof color[number],
202
122
  "active": false,
203
- "class": {
204
- "item": "text-collab-900 data-highlighted:text-collab-900 data-highlighted:before:bg-collab-100 data-[state=open]:text-collab-900 data-[state=open]:before:bg-collab-100 dark:text-collab-150 dark:data-highlighted:text-collab-200 dark:data-highlighted:before:bg-collab-900 dark:data-[state=open]:text-collab-200 dark:data-[state=open]:before:bg-collab-900",
205
- "itemLeadingIcon": "text-collab-600 group-data-highlighted:text-collab-900 group-data-[state=open]:text-collab-900 dark:text-collab-700 dark:group-data-highlighted:text-collab-150 dark:group-data-[state=open]:text-collab-150"
206
- }
123
+ "class": ""
207
124
  },
208
125
  {
209
- "color": "collab" as typeof color[number],
126
+ "color": "default" as typeof color[number],
210
127
  "active": true,
211
- "class": {
212
- "item": "text-collab-900 before:bg-collab-100 dark:text-collab-200 dark:before:bg-collab-900",
213
- "itemLeadingIcon": "text-collab-900 group-data-[state=open]:text-collab-900 dark:text-collab-700"
214
- }
215
- },
216
- {
217
- "color": "ai" as typeof color[number],
128
+ "class": ""
129
+ },
130
+ {
131
+ "color": [
132
+ "danger" as typeof color[number],
133
+ "success" as typeof color[number],
134
+ "warning" as typeof color[number],
135
+ "primary" as typeof color[number],
136
+ "secondary" as typeof color[number],
137
+ "collab" as typeof color[number],
138
+ "ai" as typeof color[number]
139
+ ],
218
140
  "active": false,
219
141
  "class": {
220
- "item": "text-ai-950 data-highlighted:text-ai-900 data-highlighted:before:bg-ai-100/50 data-[state=open]:text-ai-900 data-[state=open]:before:bg-ai-100/50 dark:text-ai-150 dark:data-highlighted:text-ai-200 dark:data-highlighted:before:bg-ai-900 dark:data-[state=open]:text-ai-200 dark:data-[state=open]:before:bg-ai-900",
221
- "itemLeadingIcon": "text-ai-500 group-data-highlighted:text-ai-900 group-data-[state=open]:text-ai-900 dark:text-ai-700 dark:group-data-highlighted:text-ai-150 dark:group-data-[state=open]:text-ai-150"
142
+ "item": "text-(--b24ui-background-active) data-highlighted:text-(--b24ui-background-hover) data-[state=open]:text-(--b24ui-background-hover)",
143
+ "itemLeadingIcon": "text-(--b24ui-icon) group-data-highlighted:text-(--b24ui-icon) group-data-[state=open]:text-(--b24ui-icon)"
222
144
  }
223
145
  },
224
146
  {
225
- "color": "ai" as typeof color[number],
147
+ "color": [
148
+ "danger" as typeof color[number],
149
+ "success" as typeof color[number],
150
+ "warning" as typeof color[number],
151
+ "primary" as typeof color[number],
152
+ "secondary" as typeof color[number],
153
+ "collab" as typeof color[number],
154
+ "ai" as typeof color[number]
155
+ ],
226
156
  "active": true,
227
157
  "class": {
228
- "item": "text-ai-900 before:bg-ai-100/50 dark:text-ai-200 dark:before:bg-ai-900",
229
- "itemLeadingIcon": "text-ai-900 group-data-[state=open]:text-ai-900 dark:text-ai-700"
158
+ "item": "text-(--b24ui-background-active)",
159
+ "itemLeadingIcon": "text-(--b24ui-background-active) group-data-[state=open]:text-(--b24ui-background-active)"
230
160
  }
231
161
  }
232
162
  ],
233
- "defaultVariants": {
234
- "size": "md" as typeof size[number]
235
- }
163
+ "defaultVariants": {}
236
164
  }
@@ -7,47 +7,47 @@ const size = [
7
7
 
8
8
  export default {
9
9
  "slots": {
10
- "root": "font-b24-system font-regular",
11
- "wrapper": "leading-none",
10
+ "root": "font-[family-name:var(--ui-font-family-system)] font-(--ui-font-weight-regular)",
11
+ "wrapper": "leading-(--ui-font-line-height-reset)",
12
12
  "labelWrapper": "flex content-center items-center justify-between",
13
- "label": "block text-base-900 dark:text-base-400",
14
- "hint": "text-base-500 dark:text-base-600",
13
+ "label": "block text-(--b24ui-typography-label-color)",
14
+ "hint": "text-(--b24ui-typography-description-color)",
15
15
  "container": "relative",
16
- "description": "mt-0.5 leading-tight text-base-500 dark:text-base-600",
17
- "error": "mt-1 text-red-500 dark:text-red-600",
18
- "errorWrapper": "flex flex-row flex-nowrap gap-0.5",
19
- "errorIcon": "size-lg",
20
- "help": "mt-1.5 leading-tight italic text-base-500 dark:text-base-600"
16
+ "description": "mt-[2px] leading-(--ui-font-line-height-2xs) text-(--b24ui-typography-description-color)",
17
+ "error": "mt-[4px] text-(--ui-color-accent-main-alert)",
18
+ "errorWrapper": "flex flex-row flex-nowrap items-center gap-0.5",
19
+ "errorIcon": "size-[18px] mt-[2px]",
20
+ "help": "mt-[6px] leading-(--ui-font-line-height-2xs) italic text-(--b24ui-typography-description-color)"
21
21
  },
22
22
  "variants": {
23
23
  "useDescription": {
24
24
  "true": {
25
- "wrapper": "mb-1.5"
25
+ "wrapper": "mb-[6px]"
26
26
  },
27
27
  "false": {
28
- "wrapper": "mb-2.5"
28
+ "wrapper": "mb-[10px]"
29
29
  }
30
30
  },
31
31
  "size": {
32
32
  "xs": {
33
- "root": "text-xs",
34
- "errorIcon": "size-md"
33
+ "root": "text-(length:--ui-font-size-xs)",
34
+ "errorIcon": "size-[16px]"
35
35
  },
36
36
  "sm": {
37
- "root": "text-xs",
38
- "errorIcon": "size-md"
37
+ "root": "text-(length:--ui-font-size-xs)",
38
+ "errorIcon": "size-[16px]"
39
39
  },
40
40
  "md": {
41
- "root": "text-sm",
42
- "errorIcon": "size-md2"
41
+ "root": "text-(length:--ui-font-size-sm)",
42
+ "errorIcon": "size-[18px]"
43
43
  },
44
44
  "lg": {
45
- "root": "text-md"
45
+ "root": "text-(length:--ui-font-size-md)"
46
46
  }
47
47
  },
48
48
  "required": {
49
49
  "true": {
50
- "label": "after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-600"
50
+ "label": "after:content-['*'] after:ms-0.5 after:text-(--ui-color-accent-main-alert)"
51
51
  }
52
52
  }
53
53
  },
@@ -44,7 +44,6 @@ export { default as sidebarSection } from './sidebar-section'
44
44
  export { default as sidebarSpacer } from './sidebar-spacer'
45
45
  export { default as skeleton } from './skeleton'
46
46
  export { default as slideover } from './slideover'
47
- export { default as stackedLayout } from './stacked-layout'
48
47
  export { default as switch } from './switch'
49
48
  export { default as tabs } from './tabs'
50
49
  export { default as textarea } from './textarea'