@bitrix24/b24ui-nuxt 0.7.1 → 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 +1 -2
  243. package/dist/runtime/types/index.js +1 -2
  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
@@ -4,6 +4,18 @@ const buttonGroup = [
4
4
  ] as const
5
5
 
6
6
  const color = [
7
+ "air-primary",
8
+ "air-primary-success",
9
+ "air-primary-alert",
10
+ "air-primary-copilot",
11
+ "air-primary-warning",
12
+ "air-secondary",
13
+ "air-secondary-alert",
14
+ "air-secondary-accent",
15
+ "air-secondary-accent-1",
16
+ "air-secondary-accent-2",
17
+ "air-tertiary",
18
+ "air-selection",
7
19
  "default",
8
20
  "danger",
9
21
  "success",
@@ -14,13 +26,8 @@ const color = [
14
26
  "ai"
15
27
  ] as const
16
28
 
17
- const depth = [
18
- "light",
19
- "normal",
20
- "dark"
21
- ] as const
22
-
23
29
  const size = [
30
+ "xss",
24
31
  "xs",
25
32
  "sm",
26
33
  "md",
@@ -30,13 +37,13 @@ const size = [
30
37
 
31
38
  export default {
32
39
  "slots": {
33
- "base": "select-none font-b24-secondary font-normal inline-flex items-center transition-all duration-200 ease-linear px-2 leading-normal rounded-md",
34
- "wrapper": "inline-flex items-center",
40
+ "base": "ui-label__scope --air select-none font-[family-name:var(--ui-font-family-secondary)] font-(--ui-label-font-weight) text-(length:--ui-label-font-size)/normal inline-flex items-center transition-all duration-200 ease-linear px-(--ui-label-inline-space) text-(--b24ui-color) bg-(--b24ui-background) border-(--b24ui-border-color) border-(length:--b24ui-border-width)",
41
+ "wrapper": "h-(--ui-label-height) inline-flex items-center",
35
42
  "label": "max-w-full whitespace-nowrap text-ellipsis decoration-from-font",
36
43
  "leadingIcon": "shrink-0",
37
44
  "leadingAvatar": "shrink-0",
38
45
  "leadingAvatarSize": "",
39
- "trailingIcon": "shrink-0 cursor-pointer hover:rounded-full hover:bg-current/20 dark:hover:bg-current/35"
46
+ "trailingIcon": "shrink-0 cursor-pointer hover:rounded-(--ui-border-radius-circle) hover:bg-current/20"
40
47
  },
41
48
  "variants": {
42
49
  "buttonGroup": {
@@ -54,201 +61,194 @@ export default {
54
61
  }
55
62
  },
56
63
  "useClose": {
57
- "true": "pe-2xs"
58
- },
59
- "useFill": {
60
- "true": "",
61
- "false": "bg-transparent"
64
+ "true": "pe-2xs",
65
+ "false": ""
62
66
  },
63
67
  "leading": {
64
- "true": "ps-1"
68
+ "true": "ps-1",
69
+ "false": ""
65
70
  },
66
71
  "color": {
67
- "default": "",
68
- "danger": "",
69
- "success": "",
70
- "warning": "",
71
- "primary": "",
72
- "secondary": "",
73
- "collab": "",
74
- "ai": ""
75
- },
76
- "depth": {
77
- "light": "font-normal",
78
- "normal": "font-bold",
79
- "dark": "font-bold"
72
+ "air-primary": {
73
+ "base": "style-filled"
74
+ },
75
+ "air-primary-success": {
76
+ "base": "style-filled-success"
77
+ },
78
+ "air-primary-alert": {
79
+ "base": "style-filled-alert"
80
+ },
81
+ "air-primary-copilot": {
82
+ "base": "style-filled-copilot"
83
+ },
84
+ "air-primary-warning": {
85
+ "base": "style-filled-warning"
86
+ },
87
+ "air-secondary": {
88
+ "base": "style-tinted"
89
+ },
90
+ "air-secondary-alert": {
91
+ "base": "style-tinted-alert"
92
+ },
93
+ "air-secondary-accent": {
94
+ "base": "style-outline"
95
+ },
96
+ "air-secondary-accent-1": {
97
+ "base": "style-outline-accent-1"
98
+ },
99
+ "air-secondary-accent-2": {
100
+ "base": "style-outline-accent-2"
101
+ },
102
+ "air-tertiary": {
103
+ "base": "style-outline-no-accent"
104
+ },
105
+ "air-selection": {
106
+ "base": "style-selection"
107
+ },
108
+ "default": {
109
+ "base": "style-old-default"
110
+ },
111
+ "danger": {
112
+ "base": "style-old-danger"
113
+ },
114
+ "success": {
115
+ "base": "style-old-success"
116
+ },
117
+ "warning": {
118
+ "base": "style-old-warning"
119
+ },
120
+ "primary": {
121
+ "base": "style-old-primary"
122
+ },
123
+ "secondary": {
124
+ "base": "style-old-secondary"
125
+ },
126
+ "collab": {
127
+ "base": "style-old-collab"
128
+ },
129
+ "ai": {
130
+ "base": "style-old-ai"
131
+ }
80
132
  },
81
133
  "size": {
134
+ "xss": {
135
+ "base": "ui-label-xss gap-0.5",
136
+ "wrapper": "gap-0.5",
137
+ "label": "underline-offset-1",
138
+ "leadingIcon": "size-[12px]",
139
+ "leadingAvatarSize": "3xs",
140
+ "trailingIcon": "size-[12px]"
141
+ },
82
142
  "xs": {
83
- "base": "text-5xs gap-0.5",
84
- "wrapper": "h-[14px] gap-0.5",
143
+ "base": "ui-label-xs gap-0.5",
144
+ "wrapper": "gap-0.5",
85
145
  "label": "underline-offset-1",
86
- "leadingIcon": "size-sm",
146
+ "leadingIcon": "size-[12px]",
87
147
  "leadingAvatarSize": "3xs",
88
- "trailingIcon": "size-sm "
148
+ "trailingIcon": "size-[12px]"
89
149
  },
90
150
  "sm": {
91
- "base": "text-4xs gap-1",
92
- "wrapper": "h-[16px] gap-1",
151
+ "base": "ui-label-sm gap-1",
152
+ "wrapper": "gap-1",
93
153
  "label": "underline-offset-1",
94
- "leadingIcon": "size-sm2",
154
+ "leadingIcon": "size-[14px]",
95
155
  "leadingAvatarSize": "3xs",
96
- "trailingIcon": "size-sm2"
156
+ "trailingIcon": "size-[14px]"
97
157
  },
98
158
  "md": {
99
- "base": "text-3xs gap-1",
100
- "wrapper": "h-[17px] gap-1",
159
+ "base": "ui-label-md gap-1",
160
+ "wrapper": "gap-1",
101
161
  "label": "underline-offset-1",
102
162
  "leadingIcon": "size-[15px]",
103
163
  "leadingAvatarSize": "3xs",
104
164
  "trailingIcon": "size-[15px]"
105
165
  },
106
166
  "lg": {
107
- "base": "text-xs gap-1 rounded-lg",
108
- "wrapper": "h-[24px] gap-1",
167
+ "base": "ui-label-lg gap-1",
168
+ "wrapper": "gap-1",
169
+ "label": "",
109
170
  "leadingIcon": "size-[22px]",
110
171
  "leadingAvatarSize": "2xs",
111
172
  "trailingIcon": "size-[22px]"
112
173
  },
113
174
  "xl": {
114
- "base": "text-md gap-1 rounded-xl",
115
- "wrapper": "h-[31px] gap-1",
116
- "leadingIcon": "size-[26px]",
117
- "leadingAvatarSize": "xs",
118
- "trailingIcon": "size-[26px]"
175
+ "base": "ui-label-xl gap-1",
176
+ "wrapper": "gap-1",
177
+ "label": "",
178
+ "leadingIcon": "size-[22px]",
179
+ "leadingAvatarSize": "2xs",
180
+ "trailingIcon": "size-[22px]"
119
181
  }
120
182
  },
121
183
  "square": {
122
- "true": ""
184
+ "true": {
185
+ "base": "rounded-[calc(var(--ui-label-height)_/_4)] ",
186
+ "wrapper": "w-(--ui-label-height)",
187
+ "label": "overflow-hidden"
188
+ },
189
+ "false": {
190
+ "base": "rounded-[calc(var(--ui-label-height)_/_2)]"
191
+ }
192
+ },
193
+ "inverted": {
194
+ "true": {
195
+ "base": "border-(--b24ui-color)"
196
+ },
197
+ "false": ""
123
198
  }
124
199
  },
125
200
  "compoundVariants": [
126
201
  {
127
- "color": "default" as typeof color[number],
128
- "depth": "light" as typeof depth[number],
129
- "class": "ring ring-inset text-base-900 bg-base-100 ring-base-100 dark:text-base-900 dark:bg-base-150 dark:ring-base-150"
130
- },
131
- {
132
- "color": "default" as typeof color[number],
133
- "depth": "normal" as typeof depth[number],
134
- "class": "ring ring-inset text-base-800 bg-base-150 ring-base-300 dark:text-base-950 dark:bg-base-200 dark:ring-base-800"
135
- },
136
- {
137
- "color": "default" as typeof color[number],
138
- "depth": "dark" as typeof depth[number],
139
- "class": "ring ring-inset text-white bg-base-500 ring-base-500 dark:text-base-50 dark:bg-base-600 dark:ring-base-600"
140
- },
141
- {
142
- "color": "danger" as typeof color[number],
143
- "depth": "light" as typeof depth[number],
144
- "class": "ring ring-inset text-red-800 bg-red-500/17 ring-red-500/17 dark:text-red-900 dark:bg-red-300 dark:ring-red-300"
145
- },
146
- {
147
- "color": "danger" as typeof color[number],
148
- "depth": "normal" as typeof depth[number],
149
- "class": "ring ring-inset text-red-800 bg-red-250 ring-red-250 dark:text-red-800 dark:bg-red-350 dark:ring-red-350"
150
- },
151
- {
152
- "color": "danger" as typeof color[number],
153
- "depth": "dark" as typeof depth[number],
154
- "class": "ring ring-inset text-white bg-red-500 ring-red-500 dark:text-red-250 dark:bg-red-600 dark:ring-red-600"
155
- },
156
- {
157
- "color": "success" as typeof color[number],
158
- "depth": "light" as typeof depth[number],
159
- "class": "ring ring-inset text-green-800 bg-green-500/17 ring-green-500/17 dark:text-green-900 dark:bg-green-300 dark:ring-green-300"
160
- },
161
- {
162
- "color": "success" as typeof color[number],
163
- "depth": "normal" as typeof depth[number],
164
- "class": "ring ring-inset text-green-800 bg-green-300 ring-green-300 dark:text-green-800 dark:bg-green-330 dark:ring-green-330"
165
- },
166
- {
167
- "color": "success" as typeof color[number],
168
- "depth": "dark" as typeof depth[number],
169
- "class": "ring ring-inset text-white bg-green-500 ring-green-500 dark:text-green-250 dark:bg-green-600 dark:ring-green-600"
170
- },
171
- {
172
- "color": "warning" as typeof color[number],
173
- "depth": "light" as typeof depth[number],
174
- "class": "ring ring-inset text-orange-800 bg-orange-250 ring-orange-300 dark:text-orange-900 dark:bg-orange-300 dark:ring-orange-300"
175
- },
176
- {
177
- "color": "warning" as typeof color[number],
178
- "depth": "normal" as typeof depth[number],
179
- "class": "ring ring-inset text-orange-800 bg-orange-300 ring-orange-300 dark:text-orange-800 dark:bg-orange-400 dark:ring-orange-400"
180
- },
181
- {
182
- "color": "warning" as typeof color[number],
183
- "depth": "dark" as typeof depth[number],
184
- "class": "ring ring-inset text-white bg-orange-500 ring-orange-500 dark:text-orange-250 dark:bg-orange-600 dark:ring-orange-600"
185
- },
186
- {
187
- "color": "primary" as typeof color[number],
188
- "depth": "light" as typeof depth[number],
189
- "class": "ring ring-inset text-blue-800 bg-blue-500/17 ring-blue-500/17 dark:text-blue-900 dark:bg-blue-300 dark:ring-blue-300"
190
- },
191
- {
192
- "color": "primary" as typeof color[number],
193
- "depth": "normal" as typeof depth[number],
194
- "class": "ring ring-inset text-blue-700 bg-blue-250 ring-blue-250 dark:text-blue-700 dark:bg-blue-300 dark:ring-blue-300"
195
- },
196
- {
197
- "color": "primary" as typeof color[number],
198
- "depth": "dark" as typeof depth[number],
199
- "class": "ring ring-inset text-white bg-blue-500 ring-blue-500 dark:text-blue-250 dark:bg-blue-600 dark:ring-blue-600"
200
- },
201
- {
202
- "color": "secondary" as typeof color[number],
203
- "depth": "light" as typeof depth[number],
204
- "class": "ring ring-inset text-base-master bg-blue-320 ring-blue-320 dark:text-base-master dark:bg-blue-400 dark:ring-blue-400"
205
- },
206
- {
207
- "color": "secondary" as typeof color[number],
208
- "depth": "normal" as typeof depth[number],
209
- "class": "ring ring-inset text-white bg-cyan-350 ring-cyan-350 dark:text-cyan-100 dark:bg-cyan-400 dark:ring-cyan-400"
210
- },
211
- {
212
- "color": "secondary" as typeof color[number],
213
- "depth": "dark" as typeof depth[number],
214
- "class": "ring ring-inset text-white bg-cyan-500 ring-cyan-500 dark:text-cyan-250 dark:bg-cyan-600 dark:ring-cyan-600"
215
- },
216
- {
217
- "color": "collab" as typeof color[number],
218
- "depth": "light" as typeof depth[number],
219
- "class": "ring ring-inset text-collab-800 bg-collab-500/17 ring-collab-500/17 dark:text-collab-900 dark:bg-collab-300 dark:ring-collab-300"
202
+ "inverted": true,
203
+ "color": "air-primary" as typeof color[number],
204
+ "class": {
205
+ "base": "style-filled-inverted"
206
+ }
220
207
  },
221
208
  {
222
- "color": "collab" as typeof color[number],
223
- "depth": "normal" as typeof depth[number],
224
- "class": "ring ring-inset text-collab-800 bg-collab-300 ring-collab-300 dark:text-collab-800 dark:bg-collab-300 dark:ring-collab-300"
209
+ "inverted": true,
210
+ "color": "air-primary-success" as typeof color[number],
211
+ "class": {
212
+ "base": "style-filled-success-inverted"
213
+ }
225
214
  },
226
215
  {
227
- "color": "collab" as typeof color[number],
228
- "depth": "dark" as typeof depth[number],
229
- "class": "ring ring-inset text-white bg-collab-500 ring-collab-500 dark:text-collab-250 dark:bg-collab-600 dark:ring-collab-600"
216
+ "inverted": true,
217
+ "color": "air-primary-alert" as typeof color[number],
218
+ "class": {
219
+ "base": "style-filled-alert-inverted"
220
+ }
230
221
  },
231
222
  {
232
- "color": "ai" as typeof color[number],
233
- "depth": "light" as typeof depth[number],
234
- "class": "ring ring-inset text-ai-500 bg-white ring-ai-10 dark:text-ai-500 dark:bg-ai-50 dark:ring-ai-50"
223
+ "inverted": true,
224
+ "color": "air-primary-copilot" as typeof color[number],
225
+ "class": {
226
+ "base": "style-filled-copilot-inverted"
227
+ }
235
228
  },
236
229
  {
237
- "color": "ai" as typeof color[number],
238
- "depth": "normal" as typeof depth[number],
239
- "class": "ring ring-inset text-ai-500 bg-ai-150 ring-ai-150 dark:text-ai-600 dark:bg-ai-200 dark:ring-ai-200"
230
+ "inverted": true,
231
+ "color": "air-primary-warning" as typeof color[number],
232
+ "class": {
233
+ "base": "style-filled-warning-inverted"
234
+ }
240
235
  },
241
236
  {
242
- "color": "ai" as typeof color[number],
243
- "depth": "dark" as typeof depth[number],
244
- "class": "ring ring-inset text-white bg-ai-330 ring-ai-330 dark:text-ai-100 dark:bg-ai-400 dark:ring-ai-400"
237
+ "size": "xss" as typeof size[number],
238
+ "square": true,
239
+ "class": {
240
+ "base": "p-0 ps-0 pe-0",
241
+ "wrapper": "px-[2px] gap-0",
242
+ "leadingIcon": "size-[6px]"
243
+ }
245
244
  },
246
245
  {
247
246
  "size": "xs" as typeof size[number],
248
247
  "square": true,
249
248
  "class": {
250
249
  "base": "p-0 ps-0 pe-0",
251
- "wrapper": "p-0.5 gap-0"
250
+ "wrapper": "px-[2px] gap-0",
251
+ "leadingIcon": "size-[10px]"
252
252
  }
253
253
  },
254
254
  {
@@ -256,7 +256,8 @@ export default {
256
256
  "square": true,
257
257
  "class": {
258
258
  "base": "p-0 ps-0 pe-0",
259
- "wrapper": "p-1 gap-0"
259
+ "wrapper": "p-[1px] gap-0",
260
+ "leadingIcon": "size-[16px]"
260
261
  }
261
262
  },
262
263
  {
@@ -264,7 +265,8 @@ export default {
264
265
  "square": true,
265
266
  "class": {
266
267
  "base": "p-0 ps-0 pe-0",
267
- "wrapper": "p-1 gap-0"
268
+ "wrapper": "p-[1px] gap-0",
269
+ "leadingIcon": "size-[18px]"
268
270
  }
269
271
  },
270
272
  {
@@ -272,7 +274,8 @@ export default {
272
274
  "square": true,
273
275
  "class": {
274
276
  "base": "p-0 ps-0 pe-0",
275
- "wrapper": "p-1 gap-0"
277
+ "wrapper": "p-[1px] gap-0",
278
+ "leadingIcon": "size-[23px]"
276
279
  }
277
280
  },
278
281
  {
@@ -280,34 +283,22 @@ export default {
280
283
  "square": true,
281
284
  "class": {
282
285
  "base": "p-0 ps-0 pe-0",
283
- "wrapper": "p-1 gap-0"
286
+ "wrapper": "p-[1px] gap-0",
287
+ "leadingIcon": "size-[28px]"
284
288
  }
285
289
  },
286
- {
287
- "useLink": true,
288
- "useFill": false,
289
- "class": ""
290
- },
291
- {
292
- "useFill": false,
293
- "class": "text-base-800 dark:text-base-250 bg-transparent dark:bg-transparent"
294
- },
295
- {
296
- "useClose": true,
297
- "class": ""
298
- },
299
290
  {
300
291
  "buttonGroup": [
301
292
  "horizontal" as typeof buttonGroup[number],
302
293
  "vertical" as typeof buttonGroup[number]
303
294
  ],
304
- "class": "rounded-2xs"
295
+ "class": "rounded-(--ui-border-radius-md)"
305
296
  }
306
297
  ],
307
298
  "defaultVariants": {
308
- "color": "default" as typeof color[number],
309
- "depth": "normal" as typeof depth[number],
299
+ "color": "air-primary" as typeof color[number],
310
300
  "size": "md" as typeof size[number],
311
- "useFill": false
301
+ "square": false,
302
+ "inverted": false
312
303
  }
313
304
  }
@@ -2,10 +2,12 @@ export default {
2
2
  "base": "relative",
3
3
  "variants": {
4
4
  "size": {
5
+ "xss": "",
5
6
  "xs": "",
6
7
  "sm": "",
7
8
  "md": "",
8
- "lg": ""
9
+ "lg": "",
10
+ "xl": ""
9
11
  },
10
12
  "orientation": {
11
13
  "horizontal": "flex flex-row -space-x-px",