@bitrix24/b24ui-nuxt 2.0.7 → 2.0.8

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 (142) hide show
  1. package/dist/meta.d.mts +1 -1
  2. package/dist/meta.mjs +1 -1
  3. package/dist/module.json +1 -1
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/components/RadioGroup.d.vue.ts +5 -5
  6. package/dist/runtime/components/RadioGroup.vue +1 -1
  7. package/dist/runtime/components/RadioGroup.vue.d.ts +5 -5
  8. package/dist/shared/{b24ui-nuxt.CPlfZAfR.mjs → b24ui-nuxt.CEMVb5Ee.mjs} +5 -3
  9. package/dist/unplugin.mjs +29 -1
  10. package/dist/vite.mjs +3 -1
  11. package/package.json +1 -8
  12. package/.nuxt/b24ui/accordion.ts +0 -20
  13. package/.nuxt/b24ui/advice.ts +0 -36
  14. package/.nuxt/b24ui/alert.ts +0 -176
  15. package/.nuxt/b24ui/avatar-group.ts +0 -52
  16. package/.nuxt/b24ui/avatar.ts +0 -63
  17. package/.nuxt/b24ui/badge.ts +0 -333
  18. package/.nuxt/b24ui/banner.ts +0 -78
  19. package/.nuxt/b24ui/breadcrumb.ts +0 -42
  20. package/.nuxt/b24ui/button.ts +0 -350
  21. package/.nuxt/b24ui/calendar.ts +0 -112
  22. package/.nuxt/b24ui/card.ts +0 -180
  23. package/.nuxt/b24ui/chat-message.ts +0 -123
  24. package/.nuxt/b24ui/chat-messages.ts +0 -14
  25. package/.nuxt/b24ui/chat-palette.ts +0 -8
  26. package/.nuxt/b24ui/chat-prompt-submit.ts +0 -5
  27. package/.nuxt/b24ui/chat-prompt.ts +0 -35
  28. package/.nuxt/b24ui/checkbox-group.ts +0 -255
  29. package/.nuxt/b24ui/checkbox.ts +0 -195
  30. package/.nuxt/b24ui/chip.ts +0 -238
  31. package/.nuxt/b24ui/collapsible.ts +0 -6
  32. package/.nuxt/b24ui/color-picker.ts +0 -42
  33. package/.nuxt/b24ui/command-palette.ts +0 -56
  34. package/.nuxt/b24ui/container.ts +0 -3
  35. package/.nuxt/b24ui/content/content-search-button.ts +0 -6
  36. package/.nuxt/b24ui/content/content-search.ts +0 -13
  37. package/.nuxt/b24ui/content/content-surround.ts +0 -21
  38. package/.nuxt/b24ui/content/content-toc.ts +0 -41
  39. package/.nuxt/b24ui/context-menu.ts +0 -91
  40. package/.nuxt/b24ui/countdown.ts +0 -89
  41. package/.nuxt/b24ui/dashboard-group.ts +0 -3
  42. package/.nuxt/b24ui/dashboard-search-button.ts +0 -6
  43. package/.nuxt/b24ui/dashboard-search.ts +0 -13
  44. package/.nuxt/b24ui/description-list.ts +0 -67
  45. package/.nuxt/b24ui/dropdown-menu.ts +0 -166
  46. package/.nuxt/b24ui/empty.ts +0 -145
  47. package/.nuxt/b24ui/error.ts +0 -9
  48. package/.nuxt/b24ui/field-group.ts +0 -17
  49. package/.nuxt/b24ui/file-upload.ts +0 -241
  50. package/.nuxt/b24ui/form-field.ts +0 -58
  51. package/.nuxt/b24ui/form.ts +0 -3
  52. package/.nuxt/b24ui/index.ts +0 -88
  53. package/.nuxt/b24ui/input-menu.ts +0 -631
  54. package/.nuxt/b24ui/input-number.ts +0 -426
  55. package/.nuxt/b24ui/input-tags.ts +0 -412
  56. package/.nuxt/b24ui/input.ts +0 -386
  57. package/.nuxt/b24ui/kbd.ts +0 -33
  58. package/.nuxt/b24ui/link.ts +0 -22
  59. package/.nuxt/b24ui/modal.ts +0 -57
  60. package/.nuxt/b24ui/navbar-divider.ts +0 -5
  61. package/.nuxt/b24ui/navbar-section.ts +0 -5
  62. package/.nuxt/b24ui/navbar-spacer.ts +0 -5
  63. package/.nuxt/b24ui/navbar.ts +0 -5
  64. package/.nuxt/b24ui/navigation-menu.ts +0 -155
  65. package/.nuxt/b24ui/page-card.ts +0 -489
  66. package/.nuxt/b24ui/page-columns.ts +0 -3
  67. package/.nuxt/b24ui/page-grid.ts +0 -3
  68. package/.nuxt/b24ui/page-links.ts +0 -26
  69. package/.nuxt/b24ui/page-list.ts +0 -8
  70. package/.nuxt/b24ui/pagination.ts +0 -13
  71. package/.nuxt/b24ui/pin-input.ts +0 -152
  72. package/.nuxt/b24ui/popover.ts +0 -6
  73. package/.nuxt/b24ui/progress.ts +0 -289
  74. package/.nuxt/b24ui/prose/a.ts +0 -5
  75. package/.nuxt/b24ui/prose/accordion-item.ts +0 -3
  76. package/.nuxt/b24ui/prose/accordion.ts +0 -6
  77. package/.nuxt/b24ui/prose/badge.ts +0 -3
  78. package/.nuxt/b24ui/prose/blockquote.ts +0 -5
  79. package/.nuxt/b24ui/prose/callout.ts +0 -83
  80. package/.nuxt/b24ui/prose/card-group.ts +0 -3
  81. package/.nuxt/b24ui/prose/card.ts +0 -86
  82. package/.nuxt/b24ui/prose/code-collapse.ts +0 -19
  83. package/.nuxt/b24ui/prose/code-group.ts +0 -10
  84. package/.nuxt/b24ui/prose/code-icon.ts +0 -66
  85. package/.nuxt/b24ui/prose/code-preview.ts +0 -14
  86. package/.nuxt/b24ui/prose/code.ts +0 -75
  87. package/.nuxt/b24ui/prose/collapsible.ts +0 -9
  88. package/.nuxt/b24ui/prose/em.ts +0 -5
  89. package/.nuxt/b24ui/prose/field-group.ts +0 -3
  90. package/.nuxt/b24ui/prose/field.ts +0 -11
  91. package/.nuxt/b24ui/prose/h1.ts +0 -26
  92. package/.nuxt/b24ui/prose/h2.ts +0 -28
  93. package/.nuxt/b24ui/prose/h3.ts +0 -28
  94. package/.nuxt/b24ui/prose/h4.ts +0 -28
  95. package/.nuxt/b24ui/prose/h5.ts +0 -25
  96. package/.nuxt/b24ui/prose/h6.ts +0 -25
  97. package/.nuxt/b24ui/prose/hr.ts +0 -5
  98. package/.nuxt/b24ui/prose/img.ts +0 -23
  99. package/.nuxt/b24ui/prose/index.ts +0 -41
  100. package/.nuxt/b24ui/prose/kbd.ts +0 -3
  101. package/.nuxt/b24ui/prose/li.ts +0 -5
  102. package/.nuxt/b24ui/prose/ol.ts +0 -5
  103. package/.nuxt/b24ui/prose/p.ts +0 -30
  104. package/.nuxt/b24ui/prose/pre.ts +0 -17
  105. package/.nuxt/b24ui/prose/steps.ts +0 -19
  106. package/.nuxt/b24ui/prose/strong.ts +0 -5
  107. package/.nuxt/b24ui/prose/table.ts +0 -6
  108. package/.nuxt/b24ui/prose/tabs-item.ts +0 -3
  109. package/.nuxt/b24ui/prose/tabs.ts +0 -5
  110. package/.nuxt/b24ui/prose/tbody.ts +0 -5
  111. package/.nuxt/b24ui/prose/td.ts +0 -5
  112. package/.nuxt/b24ui/prose/th.ts +0 -5
  113. package/.nuxt/b24ui/prose/thead.ts +0 -5
  114. package/.nuxt/b24ui/prose/tr.ts +0 -5
  115. package/.nuxt/b24ui/prose/ul.ts +0 -5
  116. package/.nuxt/b24ui/radio-group.ts +0 -303
  117. package/.nuxt/b24ui/range.ts +0 -184
  118. package/.nuxt/b24ui/select-menu.ts +0 -554
  119. package/.nuxt/b24ui/select.ts +0 -533
  120. package/.nuxt/b24ui/separator.ts +0 -131
  121. package/.nuxt/b24ui/sidebar-body.ts +0 -15
  122. package/.nuxt/b24ui/sidebar-footer.ts +0 -5
  123. package/.nuxt/b24ui/sidebar-header.ts +0 -5
  124. package/.nuxt/b24ui/sidebar-heading.ts +0 -5
  125. package/.nuxt/b24ui/sidebar-layout.ts +0 -160
  126. package/.nuxt/b24ui/sidebar-section.ts +0 -5
  127. package/.nuxt/b24ui/sidebar-spacer.ts +0 -5
  128. package/.nuxt/b24ui/sidebar.ts +0 -5
  129. package/.nuxt/b24ui/skeleton.ts +0 -21
  130. package/.nuxt/b24ui/slideover.ts +0 -130
  131. package/.nuxt/b24ui/stepper.ts +0 -187
  132. package/.nuxt/b24ui/switch.ts +0 -139
  133. package/.nuxt/b24ui/table-wrapper.ts +0 -46
  134. package/.nuxt/b24ui/table.ts +0 -131
  135. package/.nuxt/b24ui/tabs.ts +0 -119
  136. package/.nuxt/b24ui/textarea.ts +0 -186
  137. package/.nuxt/b24ui/timeline.ts +0 -211
  138. package/.nuxt/b24ui/toast.ts +0 -95
  139. package/.nuxt/b24ui/toaster.ts +0 -91
  140. package/.nuxt/b24ui/tooltip.ts +0 -10
  141. package/.nuxt/b24ui/user.ts +0 -95
  142. package/.nuxt/b24ui.css +0 -5
@@ -1,350 +0,0 @@
1
- const color = [
2
- "air-primary",
3
- "air-primary-success",
4
- "air-primary-alert",
5
- "air-primary-copilot",
6
- "air-secondary",
7
- "air-secondary-alert",
8
- "air-secondary-accent",
9
- "air-secondary-accent-1",
10
- "air-secondary-accent-2",
11
- "air-secondary-no-accent",
12
- "air-tertiary",
13
- "air-tertiary-accent",
14
- "air-tertiary-no-accent",
15
- "air-selection",
16
- "air-boost",
17
- "default",
18
- "danger",
19
- "success",
20
- "warning",
21
- "primary",
22
- "secondary",
23
- "collab",
24
- "ai",
25
- "link"
26
- ] as const
27
-
28
- const depth = [
29
- "light",
30
- "normal",
31
- "dark"
32
- ] as const
33
-
34
- const size = [
35
- "xss",
36
- "xs",
37
- "sm",
38
- "md",
39
- "lg",
40
- "xl"
41
- ] as const
42
-
43
- export default {
44
- "slots": {
45
- "base": "ui-btn font-[family-name:var(--ui-font-family-primary)] select-none cursor-pointer inline-flex items-center relative outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2 disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-30 aria-disabled:opacity-30 transition duration-0 ease-linear border-(length:--ui-btn-border-width) text-(--ui-btn-color) bg-(--ui-btn-background) border-(--ui-btn-border-color) hover:text-(--ui-btn-color-hover) hover:bg-(--ui-btn-background-hover) hover:border-(--ui-btn-border-color-hover) focus:text-(--ui-btn-color-hover) focus:bg-(--ui-btn-background-hover) focus:border-(--ui-btn-border-color-hover) active:text-(--ui-btn-color-active) active:bg-(--ui-btn-background-active) active:border-(--ui-btn-border-color-active) disabled:bg-(--ui-btn-background) disabled:border-(--ui-btn-border-color) aria-disabled:bg-(--ui-btn-background) aria-disabled:border-(--ui-btn-border-color) focus-visible:outline-(--ui-btn-background) ring-(--ui-btn-background-hover) focus:outline-none focus-visible:ring-(--ui-btn-background-hover) h-(--ui-btn-height) text-(length:--ui-btn-font-size) leading-(--ui-btn-height) font-(--ui-btn-font-weight)",
46
- "baseLoading": "h-full w-full absolute inset-0 flex flex-row flex-nowrap items-center justify-center",
47
- "baseLoadingWaitIcon": "text-(--ui-btn-color) size-[calc(var(--ui-btn-wait-icon-size)_+_7px)]",
48
- "baseLoadingClockIcon": "text-(--ui-btn-color) size-[calc(var(--ui-btn-wait-icon-size)_+_7px)]",
49
- "baseLoadingSpinnerIcon": "text-(--ui-btn-color) size-(--ui-btn-wait-icon-size) animate-spin stroke-2",
50
- "baseLine": "w-full inline-flex items-center justify-center gap-(--ui-btn-icon-space) ps-(--ui-btn-padding-left) pe-(--ui-btn-padding-right)",
51
- "label": "h-(--ui-btn-height) max-w-full inline-flex items-center tracking-(--ui-btn-letter-spacing) overflow-visible text-clip mt-(--ui-btn-title-compensation)",
52
- "labelInner": "truncate inline-block max-w-full mt-(--ui-btn-title-compensation)",
53
- "leadingIcon": "text-(--ui-btn-color) shrink-0 size-(--ui-btn-icon-size)",
54
- "leadingAvatar": "shrink-0 me-[4px]",
55
- "leadingAvatarSize": "",
56
- "trailingIcon": "text-(--ui-btn-color) shrink-0 size-(--ui-btn-icon-size) mt-(--ui-btn-title-compensation)",
57
- "safeList": "invisible"
58
- },
59
- "variants": {
60
- "fieldGroup": {
61
- "horizontal": "focus-visible:outline-none ring ring-inset ring-0 focus-visible:ring-2 group-[.is-field-group]/items:not-only:first:rounded-e-none group-[.is-field-group]/items:not-only:last:rounded-s-none group-[.is-field-group]/items:not-last:not-first:rounded-none group-[.is-field-group]/items:not-only:first:border-e-0 group-[.is-field-group]/items:not-only:not-first:border-s-0 focus-visible:z-[1]",
62
- "vertical": "focus-visible:outline-none ring ring-inset ring-0 focus-visible:ring-2 not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
63
- },
64
- "noSplit": {
65
- "false": "group-[.is-field-group]/items:not-only:not-first:after:content-[''] group-[.is-field-group]/items:not-only:not-first:after:absolute group-[.is-field-group]/items:not-only:not-first:after:top-[7px] group-[.is-field-group]/items:not-only:not-first:after:bottom-[6px] group-[.is-field-group]/items:not-only:not-first:after:left-0 group-[.is-field-group]/items:not-only:not-first:after:w-px group-[.is-field-group]/items:not-only:not-first:after:bg-current/30"
66
- },
67
- "color": {
68
- "air-primary": "--style-filled",
69
- "air-primary-success": "--style-filled-success",
70
- "air-primary-alert": "--style-filled-alert",
71
- "air-primary-copilot": "--style-filled-copilot",
72
- "air-secondary": "--style-tinted",
73
- "air-secondary-alert": "--style-tinted-alert",
74
- "air-secondary-accent": "--style-outline",
75
- "air-secondary-accent-1": "--style-outline-accent-1",
76
- "air-secondary-accent-2": "--style-outline-accent-2",
77
- "air-secondary-no-accent": "--style-outline-no-accent",
78
- "air-tertiary": "--style-plain",
79
- "air-tertiary-accent": "--style-plain-accent",
80
- "air-tertiary-no-accent": "--style-plain-no-accent",
81
- "air-selection": "--style-selection",
82
- "air-boost": {
83
- "base": "--style-filled-boost bg-transparent hover:bg-transparent focus:bg-transparent active:bg-transparent disabled:bg-transparent aria-disabled:bg-transparent from-0% via-58.65% to-100% bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] from-(--ui-color-design-filled-boost-bg-gradient-1) via-(--ui-color-design-filled-boost-bg-gradient-2) to-(--ui-color-design-filled-boost-bg-gradient-3) hover:bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] hover:from-(--hover-color-1) via-(--hover-color-2) hover:via-58.65% hover:to-(--hover-color-3) focus:bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] focus:from-(--hover-color-1) via-(--hover-color-2) focus:via-58.65% to-(--hover-color-3) active:bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] active:from-(--active-color-1) via-(--active-color-2) active:via-58.65% to-(--active-color-3) disabled:bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] disabled:from-(--ui-color-design-filled-boost-bg-gradient-1) via-(--ui-color-design-filled-boost-bg-gradient-2) to-(--ui-color-design-filled-boost-bg-gradient-3) aria-disabled:bg-radial-[110.42%_110.42%_at_-10.42%_31.25%] aria-disabled:from-(--ui-color-design-filled-boost-bg-gradient-1) aria-disabled:via-(--ui-color-design-filled-boost-bg-gradient-2) aria-disabled:to-(--ui-color-design-filled-boost-bg-gradient-3)"
84
- },
85
- "default": "",
86
- "danger": "",
87
- "success": "",
88
- "warning": "",
89
- "primary": "",
90
- "secondary": "",
91
- "collab": "",
92
- "ai": "",
93
- "link": ""
94
- },
95
- "depth": {
96
- "light": "",
97
- "normal": "",
98
- "dark": ""
99
- },
100
- "size": {
101
- "xss": {
102
- "base": "ui-btn-xss",
103
- "leadingAvatarSize": "2xs"
104
- },
105
- "xs": {
106
- "base": "ui-btn-xs",
107
- "leadingAvatarSize": "2xs"
108
- },
109
- "sm": {
110
- "base": "ui-btn-sm",
111
- "leadingAvatarSize": "xs"
112
- },
113
- "md": {
114
- "base": "ui-btn-md",
115
- "leadingAvatarSize": "xs"
116
- },
117
- "lg": {
118
- "base": "ui-btn-lg",
119
- "leadingAvatarSize": "md"
120
- },
121
- "xl": {
122
- "base": "ui-btn-xl",
123
- "leadingAvatarSize": "md"
124
- }
125
- },
126
- "block": {
127
- "true": {
128
- "base": "w-full"
129
- }
130
- },
131
- "rounded": {
132
- "true": "rounded-(--ui-border-radius-lg)",
133
- "false": "rounded-(--ui-btn-radius)"
134
- },
135
- "leading": {
136
- "true": ""
137
- },
138
- "active": {
139
- "true": {
140
- "base": ""
141
- },
142
- "false": {
143
- "base": ""
144
- }
145
- },
146
- "useLabel": {
147
- "true": "",
148
- "false": {
149
- "baseLine": "ps-[4px] pe-[4px]",
150
- "leadingAvatar": "me-0"
151
- }
152
- },
153
- "useDropdown": {
154
- "true": ""
155
- },
156
- "useWait": {
157
- "true": ""
158
- },
159
- "useClock": {
160
- "true": ""
161
- },
162
- "loading": {
163
- "true": ""
164
- },
165
- "normalCase": {
166
- "true": "normal-case",
167
- "false": "uppercase"
168
- },
169
- "isAir": {
170
- "true": "--air",
171
- "false": ""
172
- }
173
- },
174
- "compoundVariants": [
175
- {
176
- "color": "default" as typeof color[number],
177
- "depth": "light" as typeof depth[number],
178
- "class": "--style-default-light"
179
- },
180
- {
181
- "color": "default" as typeof color[number],
182
- "depth": "normal" as typeof depth[number],
183
- "class": "--style-default"
184
- },
185
- {
186
- "color": "default" as typeof color[number],
187
- "depth": "dark" as typeof depth[number],
188
- "class": "--style-default-dark"
189
- },
190
- {
191
- "color": "danger" as typeof color[number],
192
- "depth": "light" as typeof depth[number],
193
- "class": "--style-danger-light"
194
- },
195
- {
196
- "color": "danger" as typeof color[number],
197
- "depth": "normal" as typeof depth[number],
198
- "class": "--style-danger"
199
- },
200
- {
201
- "color": "danger" as typeof color[number],
202
- "depth": "dark" as typeof depth[number],
203
- "class": "--style-danger-dark"
204
- },
205
- {
206
- "color": "success" as typeof color[number],
207
- "depth": "light" as typeof depth[number],
208
- "class": "--style-success-light"
209
- },
210
- {
211
- "color": "success" as typeof color[number],
212
- "depth": "normal" as typeof depth[number],
213
- "class": "--style-success"
214
- },
215
- {
216
- "color": "success" as typeof color[number],
217
- "depth": "dark" as typeof depth[number],
218
- "class": "--style-success-dark"
219
- },
220
- {
221
- "color": "warning" as typeof color[number],
222
- "depth": "light" as typeof depth[number],
223
- "class": "--style-warning-light"
224
- },
225
- {
226
- "color": "warning" as typeof color[number],
227
- "depth": "normal" as typeof depth[number],
228
- "class": "--style-warning"
229
- },
230
- {
231
- "color": "warning" as typeof color[number],
232
- "depth": "dark" as typeof depth[number],
233
- "class": "--style-warning-dark"
234
- },
235
- {
236
- "color": "primary" as typeof color[number],
237
- "depth": "light" as typeof depth[number],
238
- "class": "--style-primary-light"
239
- },
240
- {
241
- "color": "primary" as typeof color[number],
242
- "depth": "normal" as typeof depth[number],
243
- "class": "--style-primary"
244
- },
245
- {
246
- "color": "primary" as typeof color[number],
247
- "depth": "dark" as typeof depth[number],
248
- "class": "--style-primary-dark"
249
- },
250
- {
251
- "color": "secondary" as typeof color[number],
252
- "depth": "light" as typeof depth[number],
253
- "class": "--style-secondary-light"
254
- },
255
- {
256
- "color": "secondary" as typeof color[number],
257
- "depth": "normal" as typeof depth[number],
258
- "class": "--style-secondary"
259
- },
260
- {
261
- "color": "secondary" as typeof color[number],
262
- "depth": "dark" as typeof depth[number],
263
- "class": "--style-secondary-dark"
264
- },
265
- {
266
- "color": "collab" as typeof color[number],
267
- "depth": "light" as typeof depth[number],
268
- "class": "--style-collab-light"
269
- },
270
- {
271
- "color": "collab" as typeof color[number],
272
- "depth": "normal" as typeof depth[number],
273
- "class": "--style-collab"
274
- },
275
- {
276
- "color": "collab" as typeof color[number],
277
- "depth": "dark" as typeof depth[number],
278
- "class": "--style-collab-dark"
279
- },
280
- {
281
- "color": "ai" as typeof color[number],
282
- "depth": "light" as typeof depth[number],
283
- "class": "--style-ai-light"
284
- },
285
- {
286
- "color": "ai" as typeof color[number],
287
- "depth": "normal" as typeof depth[number],
288
- "class": "--style-ai"
289
- },
290
- {
291
- "color": "ai" as typeof color[number],
292
- "depth": "dark" as typeof depth[number],
293
- "class": "--style-ai-dark"
294
- },
295
- {
296
- "color": "link" as typeof color[number],
297
- "depth": "light" as typeof depth[number],
298
- "class": "--style-link-light"
299
- },
300
- {
301
- "color": "link" as typeof color[number],
302
- "depth": "normal" as typeof depth[number],
303
- "class": "--style-link"
304
- },
305
- {
306
- "color": "link" as typeof color[number],
307
- "depth": "dark" as typeof depth[number],
308
- "class": "--style-link-dark"
309
- },
310
- {
311
- "leading": true,
312
- "useLabel": true,
313
- "useDropdown": false,
314
- "class": {
315
- "baseLine": "ps-[calc(var(--ui-btn-padding-left)_-_var(--ui-btn-icon-compensation))]"
316
- }
317
- },
318
- {
319
- "leading": false,
320
- "useLabel": true,
321
- "useDropdown": true,
322
- "class": {
323
- "baseLine": "pe-[calc(var(--ui-btn-padding-right)_-_var(--ui-btn-icon-compensation))]"
324
- }
325
- },
326
- {
327
- "leading": true,
328
- "useLabel": true,
329
- "useDropdown": true,
330
- "class": {
331
- "baseLine": "ps-[calc(var(--ui-btn-padding-left)_-_var(--ui-btn-icon-compensation))] pe-[calc(var(--ui-btn-padding-right)_-_var(--ui-btn-icon-compensation))]"
332
- }
333
- },
334
- {
335
- "leading": true,
336
- "useLabel": false,
337
- "useDropdown": false,
338
- "class": {
339
- "base": "w-(--ui-btn-height)"
340
- }
341
- }
342
- ],
343
- "defaultVariants": {
344
- "size": "md" as typeof size[number],
345
- "color": "air-secondary-no-accent" as typeof color[number],
346
- "depth": "normal" as typeof depth[number],
347
- "normalCase": true,
348
- "isAir": true
349
- }
350
- }
@@ -1,112 +0,0 @@
1
- const color = [
2
- "air-primary",
3
- "air-primary-success",
4
- "air-primary-alert",
5
- "air-primary-copilot",
6
- "air-primary-warning",
7
- "default",
8
- "danger",
9
- "success",
10
- "warning",
11
- "primary",
12
- "secondary",
13
- "collab",
14
- "ai"
15
- ] as const
16
-
17
- const size = [
18
- "xs",
19
- "sm",
20
- "md",
21
- "lg"
22
- ] as const
23
-
24
- export default {
25
- "slots": {
26
- "root": "font-[family-name:var(--ui-font-family-primary)]",
27
- "header": "flex items-center justify-between",
28
- "body": "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
29
- "heading": "mx-auto text-center font-(--ui-font-weight-semi-bold) text-(--b24ui-typography-legend-color) truncate",
30
- "grid": "w-full border-collapse select-none space-y-1 focus:outline-none",
31
- "gridRow": "grid grid-cols-7 place-items-center",
32
- "gridWeekDaysRow": "mb-1 grid w-full grid-cols-7",
33
- "gridBody": "grid",
34
- "headCell": "font-(--ui-font-weight-normal) text-(--ui-color-design-plain-na-content)",
35
- "cell": "relative text-center cursor-pointer aria-disabled:cursor-not-allowed",
36
- "cellTrigger": "m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none text-(--b24ui-typography-label-color) data-disabled:text-(--ui-color-design-plain-na-content-secondary) data-unavailable:text-(--ui-color-design-plain-na-content-secondary) data-outside-view:text-(--ui-color-design-plain-na-content-secondary) data-[selected]:text-(--b24ui-color) focus-visible:ring-(--b24ui-background-hover) data-[selected]:bg-(--b24ui-background) data-today:not-data-[selected]:text-(--b24ui-background) data-[highlighted]:bg-(--b24ui-background) data-[highlighted]:text-(--b24ui-color) hover:not-data-[disabled]:not-data-[selected]:bg-(--b24ui-background) hover:not-data-[disabled]:not-data-[selected]:text-(--b24ui-color) data-unavailable:line-through data-unavailable:pointer-events-none data-today:font-(--ui-font-weight-semi-bold) transition"
37
- },
38
- "variants": {
39
- "color": {
40
- "air-primary": {
41
- "root": "style-filled"
42
- },
43
- "air-primary-success": {
44
- "root": "style-filled-success"
45
- },
46
- "air-primary-alert": {
47
- "root": "style-filled-alert"
48
- },
49
- "air-primary-copilot": {
50
- "root": "style-filled-copilot"
51
- },
52
- "air-primary-warning": {
53
- "root": "style-filled-warning"
54
- },
55
- "default": {
56
- "root": "style-old-default"
57
- },
58
- "danger": {
59
- "root": "style-old-danger"
60
- },
61
- "success": {
62
- "root": "style-old-success"
63
- },
64
- "warning": {
65
- "root": "style-old-warning"
66
- },
67
- "primary": {
68
- "root": "style-old-primary"
69
- },
70
- "secondary": {
71
- "root": "style-old-secondary"
72
- },
73
- "collab": {
74
- "root": "style-old-collab"
75
- },
76
- "ai": {
77
- "root": "style-old-ai"
78
- }
79
- },
80
- "size": {
81
- "xs": {
82
- "heading": "text-(length:--ui-font-size-md)",
83
- "cell": "text-(length:--ui-font-size-sm)",
84
- "headCell": "text-[10px]",
85
- "cellTrigger": "size-[28px]",
86
- "body": "space-y-2 pt-2"
87
- },
88
- "sm": {
89
- "heading": "text-(length:--ui-font-size-md)",
90
- "headCell": "text-(length:--ui-font-size-sm)",
91
- "cell": "text-(length:--ui-font-size-sm)",
92
- "cellTrigger": "size-[28px]"
93
- },
94
- "md": {
95
- "heading": "text-(length:--ui-font-size-lg)",
96
- "headCell": "text-(length:--ui-font-size-md)",
97
- "cell": "text-(length:--ui-font-size-md)",
98
- "cellTrigger": "size-[32px]"
99
- },
100
- "lg": {
101
- "heading": "text-(length:--ui-font-size-2xl)",
102
- "headCell": "text-(length:--ui-font-size-lg)",
103
- "cell": "text-(length:--ui-font-size-lg)",
104
- "cellTrigger": "size-[36px] text-(length:--ui-font-size-lg)"
105
- }
106
- }
107
- },
108
- "defaultVariants": {
109
- "size": "md" as typeof size[number],
110
- "color": "air-primary" as typeof color[number]
111
- }
112
- }
@@ -1,180 +0,0 @@
1
- const variant = [
2
- "filled",
3
- "filled-success",
4
- "filled-alert",
5
- "filled-warning",
6
- "filled-copilot",
7
- "filled-no-accent",
8
- "filled-black",
9
- "tinted",
10
- "tinted-alt",
11
- "tinted-accent-1",
12
- "tinted-success",
13
- "tinted-alert",
14
- "tinted-warning",
15
- "tinted-no-accent",
16
- "outline",
17
- "outline-alt",
18
- "outline-accent",
19
- "outline-accent-2",
20
- "outline-success",
21
- "outline-alert",
22
- "outline-warning",
23
- "outline-copilot",
24
- "outline-no-accent",
25
- "plain",
26
- "plain-accent",
27
- "plain-no-accent",
28
- "selection"
29
- ] as const
30
-
31
- export default {
32
- "slots": {
33
- "root": "overflow-hidden rounded-(--ui-border-radius-md)",
34
- "header": "p-[24px] sm:px-[22px] sm:py-[15px]",
35
- "body": "p-[24px] sm:px-[22px] sm:py-[15px]",
36
- "footer": "p-[24px] sm:px-[22px] sm:py-[15px]"
37
- },
38
- "variants": {
39
- "variant": {
40
- "filled": {
41
- "root": "bg-(--ui-color-design-filled-bg) border border-(--ui-color-design-filled-stroke) border-(length:--ui-design-filled-stroke-weight) text-(--ui-color-design-filled-content)",
42
- "header": "border-b border-(--ui-color-design-filled-content-divider) border-b-1",
43
- "footer": "border-t border-(--ui-color-design-filled-content-divider) border-t-1"
44
- },
45
- "filled-success": {
46
- "root": "bg-(--ui-color-design-filled-success-bg) border border-(--ui-color-design-filled-success-stroke) border-(length:--ui-design-filled-success-stroke-weight) text-(--ui-color-design-filled-success-content)",
47
- "header": "border-b border-(--ui-color-design-filled-success-content-divider) border-b-1",
48
- "footer": "border-t border-(--ui-color-design-filled-success-content-divider) border-t-1"
49
- },
50
- "filled-alert": {
51
- "root": "bg-(--ui-color-design-filled-alert-bg) border border-(--ui-color-design-filled-alert-stroke) border-(length:--ui-design-filled-alert-stroke-weight) text-(--ui-color-design-filled-alert-content)",
52
- "header": "border-b border-(--ui-color-design-filled-alert-content-divider) border-b-1",
53
- "footer": "border-t border-(--ui-color-design-filled-alert-content-divider) border-t-1"
54
- },
55
- "filled-warning": {
56
- "root": "bg-(--ui-color-design-filled-warning-bg) border border-(--ui-color-design-filled-warning-stroke) border-(length:--ui-design-filled-warning-stroke-weight) text-(--ui-color-design-filled-warning-content)",
57
- "header": "border-b border-(--ui-color-design-filled-warning-content-divider) border-b-1",
58
- "footer": "border-t border-(--ui-color-design-filled-warning-content-divider) border-t-1"
59
- },
60
- "filled-copilot": {
61
- "root": "bg-(--ui-color-design-filled-copilot-bg) border border-(--ui-color-design-filled-copilot-stroke) border-(length:--ui-design-filled-copilot-stroke-weight) text-(--ui-color-design-filled-copilot-content)",
62
- "header": "border-b border-(--ui-color-design-filled-copilot-content-divider) border-b-1",
63
- "footer": "border-t border-(--ui-color-design-filled-copilot-content-divider) border-t-1"
64
- },
65
- "filled-no-accent": {
66
- "root": "bg-(--ui-color-design-filled-na-bg) border border-(--ui-color-design-filled-na-stroke) border-(length:--ui-design-filled-na-stroke-weight) text-(--ui-color-design-filled-na-content)",
67
- "header": "border-b border-(--ui-color-design-filled-na-content-divider) border-b-1",
68
- "footer": "border-t border-(--ui-color-design-filled-na-content-divider) border-t-1"
69
- },
70
- "filled-black": {
71
- "root": "bg-(--ui-color-design-filled-black-bg) border border-(--ui-color-design-filled-black-stroke) border-(length:--ui-design-filled-black-stroke-weight) text-(--ui-color-design-filled-black-content)",
72
- "header": "border-b border-(--ui-color-design-filled-black-content-divider) border-b-1",
73
- "footer": "border-t border-(--ui-color-design-filled-black-content-divider) border-t-1"
74
- },
75
- "tinted": {
76
- "root": "bg-(--ui-color-design-tinted-bg) border border-(--ui-color-design-tinted-stroke) border-(length:--ui-design-tinted-stroke-weight) text-(--ui-color-design-tinted-content)",
77
- "header": "border-b border-(--ui-color-design-tinted-content-divider) border-b-1",
78
- "footer": "border-t border-(--ui-color-design-tinted-content-divider) border-t-1"
79
- },
80
- "tinted-alt": {
81
- "root": "bg-(--ui-color-design-tinted-bg-alt) border border-(--ui-color-design-tinted-stroke) border-(length:--ui-design-tinted-stroke-weight) text-(--ui-color-design-tinted-content)",
82
- "header": "border-b border-(--ui-color-design-tinted-content-divider) border-b-1",
83
- "footer": "border-t border-(--ui-color-design-tinted-content-divider) border-t-1"
84
- },
85
- "tinted-accent-1": {
86
- "root": "bg-(--ui-color-design-tinted-a1-bg) border border-(--ui-color-design-tinted-a1-stroke) border-(length:--ui-design-tinted-a1-stroke-weight) text-(--ui-color-design-tinted-a1-content)",
87
- "header": "border-b border-(--ui-color-design-tinted-a1-content-divider) border-b-1",
88
- "footer": "border-t border-(--ui-color-design-tinted-a1-content-divider) border-t-1"
89
- },
90
- "tinted-success": {
91
- "root": "bg-(--ui-color-design-tinted-success-bg) border border-(--ui-color-design-tinted-success-stroke) border-(length:--ui-design-tinted-success-stroke-weight) text-(--ui-color-design-tinted-success-content)",
92
- "header": "border-b border-(--ui-color-design-tinted-success-content-divider) border-b-1",
93
- "footer": "border-t border-(--ui-color-design-tinted-success-content-divider) border-t-1"
94
- },
95
- "tinted-alert": {
96
- "root": "bg-(--ui-color-design-tinted-alert-bg) border border-(--ui-color-design-tinted-alert-stroke) border-(length:--ui-design-tinted-alert-stroke-weight) text-(--ui-color-design-tinted-alert-content)",
97
- "header": "border-b border-(--ui-color-design-tinted-alert-content-divider) border-b-1",
98
- "footer": "border-t border-(--ui-color-design-tinted-alert-content-divider) border-t-1"
99
- },
100
- "tinted-warning": {
101
- "root": "bg-(--ui-color-design-tinted-warning-bg) border border-(--ui-color-design-tinted-warning-stroke) border-(length:--ui-design-tinted-warning-stroke-weight) text-(--ui-color-design-tinted-warning-content)",
102
- "header": "border-b border-(--ui-color-design-tinted-warning-content-divider) border-b-1",
103
- "footer": "border-t border-(--ui-color-design-tinted-warning-content-divider) border-t-1"
104
- },
105
- "tinted-no-accent": {
106
- "root": "bg-(--ui-color-design-tinted-na-bg) border border-(--ui-color-design-tinted-na-stroke) border-(length:--ui-design-tinted-na-stroke-weight) text-(--ui-color-design-tinted-na-content)",
107
- "header": "border-b border-(--ui-color-design-tinted-na-content-divider) border-b-1",
108
- "footer": "border-t border-(--ui-color-design-tinted-na-content-divider) border-t-1"
109
- },
110
- "outline": {
111
- "root": "bg-(--ui-color-design-outline-bg) border border-(--ui-color-design-outline-stroke) border-(length:--ui-design-outline-stroke-weight) text-(--ui-color-design-outline-content)",
112
- "header": "border-b border-(--ui-color-design-outline-content-divider) border-b-1",
113
- "footer": "border-t border-(--ui-color-design-outline-content-divider) border-t-1"
114
- },
115
- "outline-alt": {
116
- "root": "bg-(--ui-color-design-outline-bg-alt) border border-(--ui-color-design-outline-content-divider) border-(length:--ui-design-outline-stroke-weight-alt) text-(--ui-color-design-outline-content)",
117
- "header": "border-b border-(--ui-color-design-outline-content-divider) border-b-1",
118
- "footer": "border-t border-(--ui-color-design-outline-content-divider) border-t-1"
119
- },
120
- "outline-accent": {
121
- "root": "bg-(--ui-color-design-outline-a1-bg) border border-(--ui-color-design-outline-a1-stroke) border-(length:--ui-design-outline-a1-stroke-weight) text-(--ui-color-design-outline-a1-content)",
122
- "header": "border-b border-(--ui-color-design-outline-a1-content-divider) border-b-1",
123
- "footer": "border-t border-(--ui-color-design-outline-a1-content-divider) border-t-1"
124
- },
125
- "outline-accent-2": {
126
- "root": "bg-(--ui-color-design-outline-a2-bg) border border-(--ui-color-design-outline-a2-stroke) border-(length:--ui-design-outline-a2-stroke-weight) text-(--ui-color-design-outline-a2-content)",
127
- "header": "border-b border-(--ui-color-design-outline-a2-content-divider) border-b-1",
128
- "footer": "border-t border-(--ui-color-design-outline-a2-content-divider) border-t-1"
129
- },
130
- "outline-success": {
131
- "root": "bg-(--ui-color-design-outline-success-bg) border border-(--ui-color-design-outline-success-stroke) border-(length:--ui-design-outline-success-stroke-weight) text-(--ui-color-design-outline-success-content)",
132
- "header": "border-b border-(--ui-color-design-outline-success-content-divider) border-b-1",
133
- "footer": "border-t border-(--ui-color-design-outline-success-content-divider) border-t-1"
134
- },
135
- "outline-alert": {
136
- "root": "bg-(--ui-color-design-outline-alert-bg) border border-(--ui-color-design-outline-alert-stroke) border-(length:--ui-design-outline-alert-stroke-weight) text-(--ui-color-design-outline-alert-content)",
137
- "header": "border-b border-(--ui-color-design-outline-alert-content-divider) border-b-1",
138
- "footer": "border-t border-(--ui-color-design-outline-alert-content-divider) border-t-1"
139
- },
140
- "outline-warning": {
141
- "root": "bg-(--ui-color-design-outline-warning-bg) border border-(--ui-color-design-outline-warning-stroke) border-(length:--ui-design-outline-warning-stroke-weight) text-(--ui-color-design-outline-warning-content)",
142
- "header": "border-b border-(--ui-color-design-outline-warning-content-divider) border-b-1",
143
- "footer": "border-t border-(--ui-color-design-outline-warning-content-divider) border-t-1"
144
- },
145
- "outline-copilot": {
146
- "root": "bg-(--ui-color-design-outline-copilot-bg) border border-(--ui-color-design-outline-copilot-stroke) border-(length:--ui-design-outline-copilot-stroke-weight) text-(--ui-color-design-outline-copilot-content)",
147
- "header": "border-b border-(--ui-color-design-outline-copilot-content-divider) border-b-1",
148
- "footer": "border-t border-(--ui-color-design-outline-copilot-content-divider) border-t-1"
149
- },
150
- "outline-no-accent": {
151
- "root": "bg-(--ui-color-design-outline-na-bg) border border-(--ui-color-design-outline-na-stroke) border-(length:--ui-design-outline-na-stroke-weight) text-(--ui-color-design-outline-na-content)",
152
- "header": "border-b border-(--ui-color-design-outline-na-content-divider) border-b-1",
153
- "footer": "border-t border-(--ui-color-design-outline-na-content-divider) border-t-1"
154
- },
155
- "plain": {
156
- "root": "bg-(--ui-color-design-plain-bg) border border-(--ui-color-design-plain-stroke) border-(length:--ui-design-plain-stroke-weight) text-(--ui-color-design-plain-content)",
157
- "header": "border-b border-(--ui-color-design-plain-content-divider) border-b-1",
158
- "footer": "border-t border-(--ui-color-design-plain-content-divider) border-t-1"
159
- },
160
- "plain-accent": {
161
- "root": "bg-(--ui-color-design-plain-a-bg) border border-(--ui-color-design-plain-a-stroke) border-(length:--ui-design-plain-a-stroke-weight) text-(--ui-color-design-plain-a-content)",
162
- "header": "border-b border-(--ui-color-design-plain-a-content-divider) border-b-1",
163
- "footer": "border-t border-(--ui-color-design-plain-a-content-divider) border-t-1"
164
- },
165
- "plain-no-accent": {
166
- "root": "bg-(--ui-color-design-plain-na-bg) border border-(--ui-color-design-plain-na-stroke) border-(length:--ui-design-plain-na-stroke-weight) text-(--ui-color-design-plain-na-content)",
167
- "header": "border-b border-(--ui-color-design-plain-na-content-divider) border-b-1",
168
- "footer": "border-t border-(--ui-color-design-plain-na-content-divider) border-t-1"
169
- },
170
- "selection": {
171
- "root": "bg-(--ui-color-design-selection-bg) border border-(--ui-color-design-selection-stroke) border-(length:--ui-design-selection-stroke-weight) text-(--ui-color-design-selection-content)",
172
- "header": "border-b border-(--ui-color-design-selection-content-divider) border-b-1",
173
- "footer": "border-t border-(--ui-color-design-selection-content-divider) border-t-1"
174
- }
175
- }
176
- },
177
- "defaultVariants": {
178
- "variant": "outline" as typeof variant[number]
179
- }
180
- }