@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,22 +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 = [
9
- "default",
10
- "danger",
11
- "success",
12
- "warning",
13
- "primary",
14
- "secondary",
15
- "collab",
16
- "ai"
17
- ] as const
18
-
19
- const tagColor = [
11
+ "air-primary",
12
+ "air-primary-success",
13
+ "air-primary-alert",
14
+ "air-primary-copilot",
15
+ "air-primary-warning",
20
16
  "default",
21
17
  "danger",
22
18
  "success",
@@ -35,10 +31,10 @@ const orientation = [
35
31
  export default {
36
32
  "slots": {
37
33
  "root": "isolate relative inline-flex items-center",
38
- "base": "w-full py-0 border-0 focus:outline-none disabled:cursor-not-allowed disabled:opacity-75 placeholder:text-base-400 dark:placeholder:text-base-300 appearance-none transition duration-300 ease-linear ring ring-inset ring-base-300 dark:ring-base-800 text-base-master bg-white placeholder:text-base-400 hover:text-base-900 focus:text-base-900 active:text-base-900 dark:text-base-150 dark:bg-transparent dark:placeholder:text-base-300 dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350 font-b24-primary font-regular text-md leading-none align-middle text-ellipsis whitespace-nowrap",
34
+ "base": "w-full py-0 border-0 focus:outline-none 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 placeholder:text-(--ui-color-design-plain-na-content-secondary) 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)",
39
35
  "increment": "absolute flex items-center",
40
36
  "decrement": "absolute flex items-center",
41
- "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"
37
+ "tag": "pointer-events-none select-none absolute z-10 -top-[7px] right-[14px] flex flex-col justify-center items-center"
42
38
  },
43
39
  "variants": {
44
40
  "buttonGroup": {
@@ -55,50 +51,57 @@ export default {
55
51
  "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"
56
52
  },
57
53
  "size": {
58
- "xs": "px-2 h-xl2 gap-1",
59
- "sm": "px-2.5 h-8 gap-1.5",
60
- "md": "px-2.5 h-10 gap-1.5",
61
- "lg": "px-3 h-12 gap-2"
54
+ "xss": "px-2 h-[20px] gap-1 text-(length:--ui-font-size-4xs)/[normal]",
55
+ "xs": "px-2 h-[24px] gap-1 text-(length:--ui-font-size-xs)/[normal]",
56
+ "sm": "px-2.5 h-[28px] gap-1.5 text-(length:--ui-font-size-sm)/[normal]",
57
+ "md": "px-2.5 h-[34px] gap-1.5 text-(length:--ui-font-size-lg)/[normal]",
58
+ "lg": "px-3 h-[38px] gap-2 text-(length:--ui-font-size-lg)/[normal]",
59
+ "xl": "px-3 h-[46px] gap-2 text-(length:--ui-font-size-2xl)/[normal]"
62
60
  },
63
61
  "color": {
64
- "default": "",
65
- "danger": "",
66
- "success": "",
67
- "warning": "",
68
- "primary": "",
69
- "secondary": "",
70
- "collab": "",
71
- "ai": ""
72
- },
73
- "tagColor": {
62
+ "air-primary": {
63
+ "base": "style-filled"
64
+ },
65
+ "air-primary-success": {
66
+ "base": "style-filled-success"
67
+ },
68
+ "air-primary-alert": {
69
+ "base": "style-filled-alert"
70
+ },
71
+ "air-primary-copilot": {
72
+ "base": "style-filled-copilot"
73
+ },
74
+ "air-primary-warning": {
75
+ "base": "style-filled-warning"
76
+ },
74
77
  "default": {
75
- "tag": "text-white bg-base-900 dark:text-base-150 dark:bg-base-900"
78
+ "base": "style-old-default"
76
79
  },
77
80
  "danger": {
78
- "tag": "text-white bg-red-500 dark:text-red-250 dark:bg-red-600"
81
+ "base": "style-old-danger"
79
82
  },
80
83
  "success": {
81
- "tag": "text-white bg-green-500 dark:text-green-250 dark:bg-green-600"
84
+ "base": "style-old-success"
82
85
  },
83
86
  "warning": {
84
- "tag": "text-white bg-orange-500 dark:text-orange-250 dark:bg-orange-600"
87
+ "base": "style-old-warning"
85
88
  },
86
89
  "primary": {
87
- "tag": "text-white bg-blue-500 dark:text-blue-250 dark:bg-blue-600"
90
+ "base": "style-old-primary"
88
91
  },
89
92
  "secondary": {
90
- "tag": "text-white bg-cyan-350 dark:text-base-150 dark:bg-cyan-500"
93
+ "base": "style-old-secondary"
91
94
  },
92
95
  "collab": {
93
- "tag": "text-white bg-collab-500 dark:text-collab-200 dark:bg-collab-800"
96
+ "base": "style-old-collab"
94
97
  },
95
98
  "ai": {
96
- "tag": "text-white bg-ai-500 dark:text-ai-200 dark:bg-ai-800"
99
+ "base": "style-old-ai"
97
100
  }
98
101
  },
99
102
  "rounded": {
100
- "true": "rounded-3xl",
101
- "false": "rounded-2xs"
103
+ "true": "rounded-(--ui-border-radius-3xl)",
104
+ "false": "rounded-(--ui-border-radius-sm)"
102
105
  },
103
106
  "noPadding": {
104
107
  "true": {
@@ -106,15 +109,15 @@ export default {
106
109
  }
107
110
  },
108
111
  "noBorder": {
109
- "true": "ring-0 focus-visible:ring-0"
112
+ "true": "ring-0 focus-visible:ring-0 style-transparent-bg"
110
113
  },
111
114
  "underline": {
112
- "true": "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
115
+ "true": "ring-0 focus-visible:ring-0 style-transparent-bg border-b-1 border-b-(--ui-color-design-outline-stroke) rounded-none"
113
116
  },
114
117
  "disabled": {
115
118
  "true": {
116
- "increment": "opacity-75 cursor-not-allowed",
117
- "decrement": "opacity-75 cursor-not-allowed"
119
+ "increment": "cursor-not-allowed",
120
+ "decrement": "cursor-not-allowed"
118
121
  }
119
122
  },
120
123
  "orientation": {
@@ -134,212 +137,26 @@ export default {
134
137
  },
135
138
  "compoundVariants": [
136
139
  {
137
- "color": "default" as typeof color[number],
138
- "noBorder": false,
139
- "underline": false,
140
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
141
- },
142
- {
143
- "color": "default" as typeof color[number],
144
- "highlight": true,
145
- "noBorder": false,
146
- "underline": false,
147
- "class": "ring ring-inset ring-base-900 dark:ring-base-350"
148
- },
149
- {
150
- "color": "default" as typeof color[number],
151
- "noBorder": false,
152
- "underline": true,
153
- "class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
154
- },
155
- {
156
- "color": "default" as typeof color[number],
157
- "highlight": true,
158
- "noBorder": false,
159
- "underline": true,
160
- "class": "border-b-base-900 dark:border-b-base-350"
161
- },
162
- {
163
- "color": "danger" as typeof color[number],
164
- "noBorder": false,
165
- "underline": false,
166
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
167
- },
168
- {
169
- "color": "danger" as typeof color[number],
170
- "highlight": true,
171
- "noBorder": false,
172
- "underline": false,
173
- "class": "ring ring-inset ring-red-500 dark:ring-red-600"
174
- },
175
- {
176
- "color": "danger" as typeof color[number],
177
- "noBorder": false,
178
- "underline": true,
179
- "class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
180
- },
181
- {
182
- "color": "danger" as typeof color[number],
183
- "highlight": true,
184
- "noBorder": false,
185
- "underline": true,
186
- "class": "border-b-red-500 dark:border-b-red-600"
187
- },
188
- {
189
- "color": "success" as typeof color[number],
190
- "noBorder": false,
191
- "underline": false,
192
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
193
- },
194
- {
195
- "color": "success" as typeof color[number],
196
- "highlight": true,
197
- "noBorder": false,
198
- "underline": false,
199
- "class": "ring ring-inset ring-green-500 dark:ring-green-600"
200
- },
201
- {
202
- "color": "success" as typeof color[number],
203
- "noBorder": false,
204
- "underline": true,
205
- "class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
206
- },
207
- {
208
- "color": "success" as typeof color[number],
209
- "highlight": true,
210
- "noBorder": false,
211
- "underline": true,
212
- "class": "border-b-green-500 dark:border-b-green-600"
213
- },
214
- {
215
- "color": "warning" as typeof color[number],
216
- "noBorder": false,
217
- "underline": false,
218
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
219
- },
220
- {
221
- "color": "warning" as typeof color[number],
222
- "highlight": true,
223
- "noBorder": false,
224
- "underline": false,
225
- "class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
226
- },
227
- {
228
- "color": "warning" as typeof color[number],
229
- "noBorder": false,
230
- "underline": true,
231
- "class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
232
- },
233
- {
234
- "color": "warning" as typeof color[number],
235
- "highlight": true,
236
- "noBorder": false,
237
- "underline": true,
238
- "class": "border-b-orange-500 dark:border-b-orange-600"
239
- },
240
- {
241
- "color": "primary" as typeof color[number],
242
140
  "noBorder": false,
243
141
  "underline": false,
244
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
142
+ "class": ""
245
143
  },
246
144
  {
247
- "color": "primary" as typeof color[number],
248
145
  "highlight": true,
249
146
  "noBorder": false,
250
147
  "underline": false,
251
- "class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
148
+ "class": "ring ring-inset ring-(--b24ui-border-color)"
252
149
  },
253
150
  {
254
- "color": "primary" as typeof color[number],
255
151
  "noBorder": false,
256
152
  "underline": true,
257
- "class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
153
+ "class": "focus-visible:border-(--b24ui-border-color)"
258
154
  },
259
155
  {
260
- "color": "primary" as typeof color[number],
261
156
  "highlight": true,
262
157
  "noBorder": false,
263
158
  "underline": true,
264
- "class": "border-b-blue-500 dark:border-b-blue-600"
265
- },
266
- {
267
- "color": "secondary" as typeof color[number],
268
- "noBorder": false,
269
- "underline": false,
270
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-500 dark:focus-visible:ring-cyan-600"
271
- },
272
- {
273
- "color": "secondary" as typeof color[number],
274
- "highlight": true,
275
- "noBorder": false,
276
- "underline": false,
277
- "class": "ring ring-inset ring-cyan-500 dark:ring-cyan-600"
278
- },
279
- {
280
- "color": "secondary" as typeof color[number],
281
- "noBorder": false,
282
- "underline": true,
283
- "class": "focus-visible:border-b-cyan-500 dark:focus-visible:border-b-cyan-600"
284
- },
285
- {
286
- "color": "secondary" as typeof color[number],
287
- "highlight": true,
288
- "noBorder": false,
289
- "underline": true,
290
- "class": "border-b-cyan-500 dark:border-b-cyan-600"
291
- },
292
- {
293
- "color": "collab" as typeof color[number],
294
- "noBorder": false,
295
- "underline": false,
296
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-collab-500 dark:focus-visible:ring-collab-600"
297
- },
298
- {
299
- "color": "collab" as typeof color[number],
300
- "highlight": true,
301
- "noBorder": false,
302
- "underline": false,
303
- "class": "ring ring-inset ring-collab-500 dark:ring-collab-600"
304
- },
305
- {
306
- "color": "collab" as typeof color[number],
307
- "noBorder": false,
308
- "underline": true,
309
- "class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
310
- },
311
- {
312
- "color": "collab" as typeof color[number],
313
- "highlight": true,
314
- "noBorder": false,
315
- "underline": true,
316
- "class": "border-b-collab-500 dark:border-b-collab-600"
317
- },
318
- {
319
- "color": "ai" as typeof color[number],
320
- "noBorder": false,
321
- "underline": false,
322
- "class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
323
- },
324
- {
325
- "color": "ai" as typeof color[number],
326
- "highlight": true,
327
- "noBorder": false,
328
- "underline": false,
329
- "class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
330
- },
331
- {
332
- "color": "ai" as typeof color[number],
333
- "noBorder": false,
334
- "underline": true,
335
- "class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
336
- },
337
- {
338
- "color": "ai" as typeof color[number],
339
- "highlight": true,
340
- "noBorder": false,
341
- "underline": true,
342
- "class": "border-b-ai-500 dark:border-b-ai-600"
159
+ "class": "border-b-(--b24ui-border-color)"
343
160
  },
344
161
  {
345
162
  "orientation": "horizontal" as typeof orientation[number],
@@ -349,82 +166,117 @@ export default {
349
166
  "decrement": "[&>button]:rounded-3xl"
350
167
  }
351
168
  },
169
+ {
170
+ "orientation": "horizontal" as typeof orientation[number],
171
+ "size": "xss" as typeof size[number],
172
+ "class": {
173
+ "base": "px-[24px]",
174
+ "increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
175
+ "decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
176
+ }
177
+ },
352
178
  {
353
179
  "orientation": "horizontal" as typeof orientation[number],
354
180
  "size": "xs" as typeof size[number],
355
181
  "class": {
356
- "base": "px-[1.3rem]",
357
- "increment": "[&>button]:h-[24px] scale-80",
358
- "decrement": "[&>button]:h-[24px] scale-80"
182
+ "base": "px-[24px]",
183
+ "increment": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70",
184
+ "decrement": "[&>button]:p-[2px] [&>button]:h-[24px] scale-70"
359
185
  }
360
186
  },
361
187
  {
362
188
  "orientation": "horizontal" as typeof orientation[number],
363
189
  "size": "sm" as typeof size[number],
364
190
  "class": {
365
- "base": "px-[2.1rem]",
366
- "increment": "scale-80",
367
- "decrement": "scale-80"
191
+ "base": "px-[28px]",
192
+ "increment": "[&>button]:p-[2px] scale-70",
193
+ "decrement": "[&>button]:p-[2px] scale-70"
368
194
  }
369
195
  },
370
196
  {
371
197
  "orientation": "horizontal" as typeof orientation[number],
372
198
  "size": "md" as typeof size[number],
373
199
  "class": {
374
- "base": "px-[2.45rem]",
375
- "increment": "[&>button]:p-1.5 scale-80",
376
- "decrement": "[&>button]:p-1.5 scale-80"
200
+ "base": "px-[30px]",
201
+ "increment": "[&>button]:p-[2px] scale-60",
202
+ "decrement": "[&>button]:p-[2px] scale-60"
377
203
  }
378
204
  },
379
205
  {
380
206
  "orientation": "horizontal" as typeof orientation[number],
381
207
  "size": "lg" as typeof size[number],
382
208
  "class": {
383
- "base": "px-[2.95rem]",
384
- "increment": "pe-1 [&>button]:p-1.5 [&>button]:h-[42px] scale-95",
385
- "decrement": "ps-1 [&>button]:p-1.5 [&>button]:h-[42px] scale-95"
209
+ "base": "px-[30px]",
210
+ "increment": "[&>button]:p-[2px] scale-60",
211
+ "decrement": "[&>button]:p-[2px] scale-60"
212
+ }
213
+ },
214
+ {
215
+ "orientation": "horizontal" as typeof orientation[number],
216
+ "size": "xl" as typeof size[number],
217
+ "class": {
218
+ "base": "px-[40px]",
219
+ "increment": "[&>button]:p-[4px] scale-60",
220
+ "decrement": "[&>button]:p-[4px] scale-60"
221
+ }
222
+ },
223
+ {
224
+ "orientation": "vertical" as typeof orientation[number],
225
+ "size": "xss" as typeof size[number],
226
+ "class": {
227
+ "base": "pe-[24px]",
228
+ "increment": "top-0 pe-0 [&>button]:h-[13px] scale-56",
229
+ "decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-56"
386
230
  }
387
231
  },
388
232
  {
389
233
  "orientation": "vertical" as typeof orientation[number],
390
234
  "size": "xs" as typeof size[number],
391
235
  "class": {
392
- "base": "pe-7",
393
- "increment": "top-0 pe-0 [&>button]:h-[13px]",
394
- "decrement": "bottom-0 pe-0 [&>button]:h-[13px]"
236
+ "base": "pe-[24px]",
237
+ "increment": "top-0 pe-0 [&>button]:h-[13px] scale-80",
238
+ "decrement": "bottom-0 pe-0 [&>button]:h-[13px] scale-80"
395
239
  }
396
240
  },
397
241
  {
398
242
  "orientation": "vertical" as typeof orientation[number],
399
243
  "size": "sm" as typeof size[number],
400
244
  "class": {
401
- "base": "pe-8",
402
- "increment": "[&>button]:h-[13px] scale-80",
403
- "decrement": "[&>button]:h-[13px] scale-80"
245
+ "base": "pe-[30px]",
246
+ "increment": "top-0 pe-0 [&>button]:h-[15px] scale-80",
247
+ "decrement": "bottom-0 pe-0 [&>button]:h-[15px] scale-80"
404
248
  }
405
249
  },
406
250
  {
407
251
  "orientation": "vertical" as typeof orientation[number],
408
252
  "size": "md" as typeof size[number],
409
253
  "class": {
410
- "base": "pe-9",
411
- "increment": "[&>button]:h-[19px] scale-80",
412
- "decrement": "[&>button]:h-[19px] scale-80"
254
+ "base": "pe-[34px]",
255
+ "increment": "top-0 pe-0 [&>button]:h-[18px] scale-80",
256
+ "decrement": "bottom-0 pe-0 [&>button]:h-[18px] scale-80"
413
257
  }
414
258
  },
415
259
  {
416
260
  "orientation": "vertical" as typeof orientation[number],
417
261
  "size": "lg" as typeof size[number],
418
262
  "class": {
419
- "base": "pe-9",
420
- "increment": "[&>button]:h-[22px] scale-80",
421
- "decrement": "[&>button]:h-[22px] scale-80"
263
+ "base": "pe-[38px]",
264
+ "increment": "[&>button]:h-[16px] scale-80",
265
+ "decrement": "[&>button]:h-[16px] scale-80"
266
+ }
267
+ },
268
+ {
269
+ "orientation": "vertical" as typeof orientation[number],
270
+ "size": "xl" as typeof size[number],
271
+ "class": {
272
+ "base": "pe-[38px]",
273
+ "increment": "[&>button]:h-[20px] scale-80",
274
+ "decrement": "[&>button]:h-[20px] scale-80"
422
275
  }
423
276
  }
424
277
  ],
425
278
  "defaultVariants": {
426
- "size": "md" as typeof size[number],
427
- "color": "primary" as typeof color[number],
428
- "tagColor": "primary" as typeof tagColor[number]
279
+ "color": "air-primary" as typeof color[number],
280
+ "size": "md" as typeof size[number]
429
281
  }
430
282
  }