@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,12 +1,7 @@
1
- const color = [
1
+ const accent = [
2
2
  "default",
3
- "danger",
4
- "success",
5
- "warning",
6
- "primary",
7
- "secondary",
8
- "collab",
9
- "ai"
3
+ "accent",
4
+ "less"
10
5
  ] as const
11
6
 
12
7
  const orientation = [
@@ -15,54 +10,40 @@ const orientation = [
15
10
  ] as const
16
11
 
17
12
  const size = [
18
- "xs",
19
- "sm",
20
- "md",
21
- "lg",
22
- "xl"
13
+ "thin",
14
+ "thick"
23
15
  ] as const
24
16
 
25
17
  const type = [
26
18
  "solid",
27
19
  "dashed",
28
- "dotted"
20
+ "dotted",
21
+ "double"
29
22
  ] as const
30
23
 
31
24
  export default {
32
25
  "slots": {
33
26
  "root": "flex items-center align-center text-center",
34
27
  "border": "",
35
- "container": "font-b24-primary font-normal text-base-500 flex",
28
+ "container": "font-[family-name:var(--ui-font-family-primary)] font-(--ui-font-weight-normal) flex",
36
29
  "icon": "shrink-0 size-7",
37
30
  "avatar": "shrink-0",
38
31
  "avatarSize": "sm",
39
- "label": "text-sm"
32
+ "label": ""
40
33
  },
41
34
  "variants": {
42
- "color": {
35
+ "accent": {
43
36
  "default": {
44
- "border": "border-base-master/10 dark:border-base-100/20"
37
+ "container": "text-(--ui-color-design-plain-na-content-secondary) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
38
+ "border": "border-(--ui-color-divider-vibrant-default)"
45
39
  },
46
- "danger": {
47
- "border": "border-red-500 dark:border-red-600"
40
+ "accent": {
41
+ "container": "text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
42
+ "border": "border-(--ui-color-divider-vibrant-accent-more)"
48
43
  },
49
- "success": {
50
- "border": "border-green-500 dark:border-green-600"
51
- },
52
- "warning": {
53
- "border": "border-orange-500 dark:border-orange-600"
54
- },
55
- "primary": {
56
- "border": "border-blue-500 dark:border-blue-600"
57
- },
58
- "secondary": {
59
- "border": "border-cyan-350 dark:border-cyan-500"
60
- },
61
- "collab": {
62
- "border": "border-collab-500 dark:border-collab-600"
63
- },
64
- "ai": {
65
- "border": "border-ai-500 dark:border-ai-600"
44
+ "less": {
45
+ "container": "text-(--ui-color-base-6) text-(length:--ui-font-size-sm)/(--ui-font-line-height-reset)",
46
+ "border": "border-(--ui-color-divider-vibrant-less)"
66
47
  }
67
48
  },
68
49
  "orientation": {
@@ -78,11 +59,8 @@ export default {
78
59
  }
79
60
  },
80
61
  "size": {
81
- "xs": "",
82
- "sm": "",
83
- "md": "",
84
- "lg": "",
85
- "xl": ""
62
+ "thin": "",
63
+ "thick": ""
86
64
  },
87
65
  "type": {
88
66
  "solid": {
@@ -93,84 +71,61 @@ export default {
93
71
  },
94
72
  "dotted": {
95
73
  "border": "border-dotted"
74
+ },
75
+ "double": {
76
+ "border": "border-double"
96
77
  }
97
78
  }
98
79
  },
99
80
  "compoundVariants": [
100
81
  {
101
82
  "orientation": "horizontal" as typeof orientation[number],
102
- "size": "xs" as typeof size[number],
103
- "class": {
104
- "border": "border-t"
105
- }
106
- },
107
- {
108
- "orientation": "horizontal" as typeof orientation[number],
109
- "size": "sm" as typeof size[number],
110
- "class": {
111
- "border": "border-t-[2px]"
112
- }
113
- },
114
- {
115
- "orientation": "horizontal" as typeof orientation[number],
116
- "size": "md" as typeof size[number],
117
- "class": {
118
- "border": "border-t-[3px]"
119
- }
120
- },
121
- {
122
- "orientation": "horizontal" as typeof orientation[number],
123
- "size": "lg" as typeof size[number],
83
+ "size": "thin" as typeof size[number],
124
84
  "class": {
125
- "border": "border-t-[4px]"
85
+ "border": "border-t-(length:--ui-border-width-thin)"
126
86
  }
127
87
  },
128
88
  {
129
89
  "orientation": "horizontal" as typeof orientation[number],
130
- "size": "xl" as typeof size[number],
90
+ "size": "thick" as typeof size[number],
131
91
  "class": {
132
- "border": "border-t-[5px]"
92
+ "border": "border-t-(length:--ui-border-width-thick)"
133
93
  }
134
94
  },
135
95
  {
136
96
  "orientation": "vertical" as typeof orientation[number],
137
- "size": "xs" as typeof size[number],
97
+ "size": "thin" as typeof size[number],
138
98
  "class": {
139
- "border": "border-s"
99
+ "border": "border-s-(length:--ui-border-width-thin)"
140
100
  }
141
101
  },
142
102
  {
143
103
  "orientation": "vertical" as typeof orientation[number],
144
- "size": "sm" as typeof size[number],
104
+ "size": "thick" as typeof size[number],
145
105
  "class": {
146
- "border": "border-s-[2px]"
106
+ "border": "border-s-(length:--ui-border-width-thick)"
147
107
  }
148
108
  },
149
109
  {
150
- "orientation": "vertical" as typeof orientation[number],
151
- "size": "md" as typeof size[number],
152
- "class": {
153
- "border": "border-s-[3px]"
154
- }
155
- },
156
- {
157
- "orientation": "vertical" as typeof orientation[number],
158
- "size": "lg" as typeof size[number],
110
+ "type": "double" as typeof type[number],
111
+ "size": "thick" as typeof size[number],
112
+ "orientation": "horizontal" as typeof orientation[number],
159
113
  "class": {
160
- "border": "border-s-[4px]"
114
+ "border": "border-t-[length:calc(var(--ui-border-width-thick)_+_1px)]"
161
115
  }
162
116
  },
163
117
  {
118
+ "type": "double" as typeof type[number],
119
+ "size": "thick" as typeof size[number],
164
120
  "orientation": "vertical" as typeof orientation[number],
165
- "size": "xl" as typeof size[number],
166
121
  "class": {
167
- "border": "border-s-[5px]"
122
+ "border": "border-s-[length:calc(var(--ui-border-width-thick)_+_1px)]"
168
123
  }
169
124
  }
170
125
  ],
171
126
  "defaultVariants": {
172
- "color": "default" as typeof color[number],
173
- "size": "xs" as typeof size[number],
127
+ "accent": "default" as typeof accent[number],
128
+ "size": "thin" as typeof size[number],
174
129
  "type": "solid" as typeof type[number]
175
130
  }
176
131
  }
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  "slots": {
3
- "root": "py-4 flex flex-col [&>[data-slot=section]+[data-slot=section]]:mt-2.5"
3
+ "root": "min-h-(--topbar-height) flex flex-col text-(--ui-color-base-1) border-b border-(--leftmenu-bg-divider) [&>[data-slot=section]+[data-slot=section]]:mt-2.5"
4
4
  }
5
5
  }
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  "slots": {
3
- "root": "mb-1 text-xs/6 font-medium text-base-500 dark:text-base-400"
3
+ "root": "mb-1 text-(length:--ui-font-size-xs)/[normal] font-(--ui-font-weight-medium) text-(--b24ui-typography-legend-color)"
4
4
  }
5
5
  }
@@ -1,40 +1,151 @@
1
1
  export default {
2
2
  "slots": {
3
- "root": "min-h-svh w-full flex max-lg:flex-col relative isolate",
4
- "sidebar": "w-[240px] pr-[3px] fixed inset-y-0 left-0 max-lg:hidden",
5
- "sidebarSlideoverContainer": "max-w-80 p-2 bg-transparent dark:bg-transparent sm:shadow-none",
6
- "sidebarSlideover": "h-full overflow-hidden flex flex-col bg-white dark:bg-base-dark ring-1 ring-base-950/5 dark:ring-white/10 shadow-xs rounded-lg",
3
+ "root": "sidebar-layout text-(--b24ui-typography-label-color) w-full flex",
4
+ "sidebar": "air-sidebar before:absolute before:inset-0 before:z-[-1] before:bg-(--leftmenu-bg-expanded) w-[240px] pe-[3px] rtl:me-[14px] inset-y-0 left-0 max-lg:hidden",
5
+ "sidebarSlideoverContainer": "w-full sm:max-w-80",
6
+ "sidebarSlideover": "h-full overflow-hidden flex flex-col text-(--b24ui-typography-label-color) bg-(--ui-color-base-white-fixed) dark:bg-(--ui-color-bg-content-primary) edge-dark:bg-[#21334cf0] ring-1 ring-(--ui-color-divider-vibrant-less) shadow-xs rounded-none",
7
7
  "sidebarSlideoverBtnClose": "-mb-3 px-4 pt-3",
8
- "header": "px-4 flex items-center lg:hidden",
9
- "headerMenuIcon": "",
10
- "headerPaddings": "py-2.5",
11
- "headerWrapper": "min-w-0 flex-1",
12
- "container": "flex-1 flex flex-col lg:min-w-0",
13
- "containerWrapper": "grow",
14
- "containerWrapperInner": ""
8
+ "contentWrapper": "flex-1 flex flex-col ",
9
+ "header": "air-header px-(--content-area-shift) min-h-(--topbar-height) flex items-center gap-x-1",
10
+ "headerMenuIcon": "lg:hidden",
11
+ "headerWrapper": "min-w-0 flex-1 h-full",
12
+ "container": "flex-1 flex flex-col gap-[22px] lg:min-w-0",
13
+ "containerWrapper": "grow group/layout-content",
14
+ "pageTopWrapper": "text-(--ui-color-base-1) flex items-center gap-[12px]",
15
+ "pageActionsWrapper": "flex flex-col md:flex-row items-start md:items-center justify-start gap-[12px]",
16
+ "containerWrapperInner": "size-full",
17
+ "pageBottomWrapper": "",
18
+ "loadingWrapper": "cursor-wait isolate absolute z-1000 inset-0 w-full h-dvh flex flex-row flex-nowrap items-center justify-center",
19
+ "loadingIcon": "text-(--ui-color-design-plain-content-icon-secondary) size-[110px] animate-spin-slow"
15
20
  },
16
21
  "variants": {
17
- "useSidebar": {
22
+ "inner": {
18
23
  "true": {
19
- "container": "lg:pl-[240px]"
24
+ "root": "--inner light relative isolate h-full overflow-hidden",
25
+ "sidebar": "relative z-[0]",
26
+ "header": "relative",
27
+ "container": "mt-0",
28
+ "containerWrapper": "",
29
+ "pageBottomWrapper": "flex-0"
20
30
  },
21
31
  "false": {
22
- "container": "pb-2 lg:pt-2 lg:px-2"
32
+ "root": "--app h-screen min-h-screen max-lg:flex-col",
33
+ "sidebar": "fixed",
34
+ "header": "relative",
35
+ "container": "relative mt-[22px]"
23
36
  }
24
37
  },
38
+ "offContentScrollbar": {
39
+ "false": "",
40
+ "true": ""
41
+ },
42
+ "useSidebar": {
43
+ "true": "",
44
+ "false": ""
45
+ },
25
46
  "useLightContent": {
26
47
  "true": {
27
- "root": "bg-white dark:bg-white/10 lg:bg-base-50 dark:lg:bg-base-dark edge-dark:lg:bg-transparent",
28
- "container": "pb-2 lg:pt-2 lg:pr-2",
29
- "containerWrapper": "p-6 lg:p-10 lg:bg-white dark:lg:bg-white/10 lg:ring-1 lg:ring-base-950/5 dark:lg:ring-white/10 lg:shadow-xs lg:rounded-lg"
48
+ "containerWrapper": "text-(--ui-color-text-primary) bg-(--ui-color-bg-content-primary) "
49
+ },
50
+ "false": {
51
+ "container": "px-(--content-area-shift)"
52
+ }
53
+ },
54
+ "loading": {
55
+ "true": ""
56
+ },
57
+ "useNavbar": {
58
+ "true": {
59
+ "container": ""
30
60
  },
31
61
  "false": {
32
- "container": "px-4"
62
+ "loadingWrapper": "h-full",
63
+ "container": ""
33
64
  }
34
65
  }
35
66
  },
36
- "compoundVariants": [],
67
+ "compoundVariants": [
68
+ {
69
+ "inner": true,
70
+ "useLightContent": true,
71
+ "class": {
72
+ "container": "",
73
+ "pageTopWrapper": "px-0 lg:px-0",
74
+ "pageActionsWrapper": "px-0 lg:px-0",
75
+ "containerWrapper": "p-[20px] rounded-(--ui-border-radius-md)"
76
+ }
77
+ },
78
+ {
79
+ "inner": false,
80
+ "useLightContent": true,
81
+ "class": {
82
+ "container": "lg:pb-2",
83
+ "pageTopWrapper": "px-6 lg:px-0",
84
+ "pageActionsWrapper": "px-6 lg:px-0",
85
+ "containerWrapper": "p-6 lg:p-[15px] lg:rounded-(--ui-border-radius-md)"
86
+ }
87
+ },
88
+ {
89
+ "inner": true,
90
+ "offContentScrollbar": false,
91
+ "class": {
92
+ "container": "scrollbar-thin scrollbar-transparent overflow-y-scroll"
93
+ }
94
+ },
95
+ {
96
+ "inner": true,
97
+ "useSidebar": [
98
+ true,
99
+ false
100
+ ],
101
+ "class": {
102
+ "container": "px-[20px] ps-[20px] pe-[10px] pb-[20px] lg:pt-0 lg:px-[20px] lg:ps-[20px] lg:pe-[10px]"
103
+ }
104
+ },
105
+ {
106
+ "inner": false,
107
+ "useSidebar": true,
108
+ "class": {
109
+ "container": "lg:px-(--content-area-shift)",
110
+ "contentWrapper": "lg:pl-[240px] "
111
+ }
112
+ },
113
+ {
114
+ "inner": false,
115
+ "useSidebar": false,
116
+ "class": {
117
+ "container": "px-(--content-area-shift) pb-2 lg:pt-2 lg:px-2",
118
+ "contentWrapper": "lg:pl-0"
119
+ }
120
+ },
121
+ {
122
+ "inner": true,
123
+ "useNavbar": [
124
+ true,
125
+ false
126
+ ],
127
+ "class": {
128
+ "container": "h-full"
129
+ }
130
+ },
131
+ {
132
+ "inner": false,
133
+ "useNavbar": true,
134
+ "class": {
135
+ "container": "h-[calc(100dvh-var(--topbar-height))]"
136
+ }
137
+ },
138
+ {
139
+ "inner": false,
140
+ "useNavbar": false,
141
+ "class": {
142
+ "container": "h-full"
143
+ }
144
+ }
145
+ ],
37
146
  "defaultVariants": {
147
+ "inner": false,
148
+ "noContentScrollbar": false,
38
149
  "useLightContent": true
39
150
  }
40
151
  }
@@ -1,5 +1,5 @@
1
1
  export default {
2
2
  "slots": {
3
- "root": "ps-2xl pe-xs flex flex-col gap-0.5"
3
+ "root": "ps-(--menu-items-block-padding-x) rtl:pe-(--menu-items-block-padding-x) pe-xs rtl:ps-xs flex flex-col gap-0.5"
4
4
  }
5
5
  }
@@ -1,3 +1,21 @@
1
+ const accent = [
2
+ "default",
3
+ "accent",
4
+ "less"
5
+ ] as const
6
+
1
7
  export default {
2
- "base": "animate-pulse rounded-md bg-gray-200 dark:bg-gray-800"
8
+ "slots": {
9
+ "base": "animate-pulse rounded-(--ui-border-radius-md) "
10
+ },
11
+ "variants": {
12
+ "accent": {
13
+ "default": "bg-(--ui-color-g-glass-grey-bg-1)",
14
+ "accent": "bg-(--ui-color-g-glass-grey-bg-2)" as typeof accent[number],
15
+ "less": "bg-(--ui-color-g-glass-grey-bg-3)"
16
+ }
17
+ },
18
+ "defaultVariants": {
19
+ "accent": "default" as typeof accent[number]
20
+ }
3
21
  }
@@ -5,23 +5,26 @@ const overlayBlur = [
5
5
  ] as const
6
6
 
7
7
  const side = [
8
- "top",
9
8
  "right",
10
- "bottom",
11
- "left"
9
+ "left",
10
+ "top",
11
+ "bottom"
12
12
  ] as const
13
13
 
14
14
  export default {
15
15
  "slots": {
16
- "overlay": "fixed inset-0 bg-base-950/20 dark:bg-base-950/30",
17
- "content": "fixed bg-base-50 dark:bg-base-950 sm:shadow-lg flex flex-col focus:outline-none",
18
- "header": "mt-4 px-5 flex items-center gap-1.5",
19
- "wrapper": "min-h-2xl",
20
- "body": "mx-0 mt-2 flex-1 overflow-y-auto",
21
- "footer": "bg-white dark:bg-base-950 flex items-center justify-center gap-3 py-4 border-t border-t-1 border-t-base-900/10 dark:border-t-white/20 shadow-top-md p-2 pr-(--scrollbar-width)",
22
- "title": "font-b24-system font-light text-4.5xl leading-none text-base-900 dark:text-base-150",
23
- "description": "mt-2 mb-1 text-base-500 dark:text-base-400 text-sm",
16
+ "overlay": "fixed inset-0 bg-linear-to-b from-[#00204e]/52 to-[#00204e]",
17
+ "content": "fixed sm:shadow-lg flex flex-col focus:outline-none h-full",
18
+ "sidebarLayoutRoot": "",
19
+ "sidebarLayoutHeaderWrapper": "",
20
+ "sidebarLayoutPageBottomWrapper": "",
21
+ "header": "pt-[24px] flex-1 flex items-center gap-x-[12px] gap-y-1.5",
22
+ "wrapper": "min-h-[30px]",
23
+ "title": "font-[family-name:var(--ui-font-family-primary)] text-(--b24ui-typography-label-color) font-(--ui-font-weight-semi-bold) mb-0 text-(length:--ui-font-size-4xl)/[calc(var(--ui-font-size-4xl)+2px)]",
24
+ "description": "mt-1 text-(--b24ui-typography-description-color) text-(length:--ui-font-size-sm)",
24
25
  "close": "absolute",
26
+ "body": "size-full flex-1",
27
+ "footer": "light bg-(--popup-window-background-color) flex items-center justify-center gap-3 border-t border-t-1 border-t-(--ui-color-divider-less) shadow-top-md py-[9px] px-2 pr-(--scrollbar-width)",
25
28
  "safeList": "group-hover:rounded-full group-hover:border-1 group-hover:border-current"
26
29
  },
27
30
  "variants": {
@@ -37,48 +40,47 @@ export default {
37
40
  }
38
41
  },
39
42
  "side": {
40
- "top": {
41
- "content": "inset-x-0 top-0 max-h-full"
42
- },
43
43
  "right": {
44
- "content": "right-0 inset-y-0 w-full max-w-[28rem]"
45
- },
46
- "bottom": {
47
- "content": "inset-x-0 bottom-0 max-h-full"
44
+ "content": "right-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
45
+ "sidebarLayoutRoot": "sm:rounded-t-none"
48
46
  },
49
47
  "left": {
50
- "content": "left-0 inset-y-0 w-full max-w-[28rem]"
48
+ "content": "left-0 inset-y-0 w-[calc(100%-60px)] sm:w-[calc(100%-150px)]",
49
+ "sidebarLayoutRoot": "sm:rounded-t-none"
50
+ },
51
+ "top": {
52
+ "content": "inset-x-0 top-0 max-h-full",
53
+ "sidebarLayoutRoot": "sm:rounded-t-none"
54
+ },
55
+ "bottom": {
56
+ "content": "right-[5px] sm:right-[70px] top-0 sm:top-[18px] bottom-0 w-[calc(100%-60px-5px)] sm:w-[calc(100%-150px-70px)] sm:max-h-[calc(100%-18px)]",
57
+ "sidebarLayoutRoot": "sm:rounded-t-[18px]"
51
58
  }
52
59
  },
53
60
  "transition": {
54
61
  "true": {
55
62
  "overlay": "motion-safe:data-[state=open]:animate-[fade-in_200ms_ease-out] motion-safe:data-[state=closed]:animate-[fade-out_200ms_ease-in]"
56
63
  }
57
- },
58
- "scrollbarThin": {
59
- "true": {
60
- "body": "scrollbar-thin"
61
- }
62
64
  }
63
65
  },
64
66
  "compoundVariants": [
65
67
  {
66
- "side": "right" as typeof side[number],
68
+ "side": [
69
+ "right" as typeof side[number],
70
+ "bottom" as typeof side[number]
71
+ ],
67
72
  "class": {
68
- "close": "pl-1.5 pr-2.5 top-3 -translate-x-full left-0 rounded-l-full"
73
+ "close": "pl-1.5 pr-[4px] top-[17px] -translate-x-full left-[1px] rounded-l-full"
69
74
  }
70
75
  },
71
76
  {
72
77
  "side": "left" as typeof side[number],
73
78
  "class": {
74
- "close": "pr-1.5 pl-2.5 top-3 translate-x-full right-0 rounded-r-full"
79
+ "close": "pr-1.5 pl-[4px] top-[17px] translate-x-full right-[1px] rounded-r-full [&>div]:flex-row-reverse"
75
80
  }
76
81
  },
77
82
  {
78
- "side": [
79
- "top" as typeof side[number],
80
- "bottom" as typeof side[number]
81
- ],
83
+ "side": "top" as typeof side[number],
82
84
  "class": {
83
85
  "close": "top-4 end-4"
84
86
  }
@@ -113,8 +115,7 @@ export default {
113
115
  }
114
116
  ],
115
117
  "defaultVariants": {
116
- "side": "right" as typeof side[number],
117
- "scrollbarThin": true,
118
- "overlayBlur": "auto" as typeof overlayBlur[number]
118
+ "side": "bottom" as typeof side[number],
119
+ "overlayBlur": "off" as typeof overlayBlur[number]
119
120
  }
120
121
  }