@bitrix24/b24ui-nuxt 0.2.3 → 0.2.5
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.
- package/.nuxt/b24ui/content/description-list.ts +2 -2
- package/.nuxt/b24ui/index.ts +1 -0
- package/.nuxt/b24ui/input-number.ts +417 -0
- package/.nuxt/b24ui/radio-group.ts +1 -1
- package/.nuxt/b24ui/select-menu.ts +2 -1
- package/README.md +1 -1
- package/dist/meta.cjs +3225 -918
- package/dist/meta.d.cts +3225 -918
- package/dist/meta.d.mts +3225 -918
- package/dist/meta.d.ts +3225 -918
- package/dist/meta.mjs +3225 -918
- package/dist/module.cjs +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/DropdownMenu.vue +3 -3
- package/dist/runtime/components/InputNumber.vue +218 -0
- package/dist/runtime/components/SelectMenu.vue +72 -68
- package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/shared/{b24ui-nuxt.DY8ePXC7.mjs → b24ui-nuxt.BYTVBEky.mjs} +408 -4
- package/dist/shared/{b24ui-nuxt.Ce3hzs_q.cjs → b24ui-nuxt.BfbMerCZ.cjs} +408 -4
- package/dist/unplugin.cjs +1 -1
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +9 -8
|
@@ -19,8 +19,8 @@ export default {
|
|
|
19
19
|
"avatar": "shrink-0",
|
|
20
20
|
"avatarSize": "",
|
|
21
21
|
"label": "",
|
|
22
|
-
"descriptionWrapper": "
|
|
23
|
-
"description": "
|
|
22
|
+
"descriptionWrapper": "sm:border-t sm:[&:nth-child(2)]:border-none text-base-900 sm:border-base-950/5 dark:text-base-150 dark:sm:border-white/5",
|
|
23
|
+
"description": "",
|
|
24
24
|
"actions": "flex flex-wrap gap-1.5 shrink-0",
|
|
25
25
|
"footer": "border-t border-base-950/5 dark:border-white/5"
|
|
26
26
|
},
|
package/.nuxt/b24ui/index.ts
CHANGED
|
@@ -14,6 +14,7 @@ export { default as form } from './form'
|
|
|
14
14
|
export { default as formField } from './form-field'
|
|
15
15
|
export { default as input } from './input'
|
|
16
16
|
export { default as inputMenu } from './input-menu'
|
|
17
|
+
export { default as inputNumber } from './input-number'
|
|
17
18
|
export { default as kbd } from './kbd'
|
|
18
19
|
export { default as link } from './link'
|
|
19
20
|
export { default as modal } from './modal'
|
|
@@ -0,0 +1,417 @@
|
|
|
1
|
+
const size = [
|
|
2
|
+
"xs",
|
|
3
|
+
"sm",
|
|
4
|
+
"md",
|
|
5
|
+
"lg"
|
|
6
|
+
] as const
|
|
7
|
+
|
|
8
|
+
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 = [
|
|
20
|
+
"default",
|
|
21
|
+
"danger",
|
|
22
|
+
"success",
|
|
23
|
+
"warning",
|
|
24
|
+
"primary",
|
|
25
|
+
"secondary",
|
|
26
|
+
"collab",
|
|
27
|
+
"ai"
|
|
28
|
+
] as const
|
|
29
|
+
|
|
30
|
+
const orientation = [
|
|
31
|
+
"horizontal",
|
|
32
|
+
"vertical"
|
|
33
|
+
] as const
|
|
34
|
+
|
|
35
|
+
export default {
|
|
36
|
+
"slots": {
|
|
37
|
+
"root": "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",
|
|
39
|
+
"increment": "absolute flex items-center",
|
|
40
|
+
"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"
|
|
42
|
+
},
|
|
43
|
+
"variants": {
|
|
44
|
+
"size": {
|
|
45
|
+
"xs": "px-2 h-xl2 gap-1",
|
|
46
|
+
"sm": "px-2.5 h-8 gap-1.5",
|
|
47
|
+
"md": "px-2.5 h-10 gap-1.5",
|
|
48
|
+
"lg": "px-3 h-12 gap-2"
|
|
49
|
+
},
|
|
50
|
+
"color": {
|
|
51
|
+
"default": "",
|
|
52
|
+
"danger": "",
|
|
53
|
+
"success": "",
|
|
54
|
+
"warning": "",
|
|
55
|
+
"primary": "",
|
|
56
|
+
"secondary": "",
|
|
57
|
+
"collab": "",
|
|
58
|
+
"ai": ""
|
|
59
|
+
},
|
|
60
|
+
"tagColor": {
|
|
61
|
+
"default": {
|
|
62
|
+
"tag": "text-white bg-base-900 dark:text-base-150 dark:bg-base-900"
|
|
63
|
+
},
|
|
64
|
+
"danger": {
|
|
65
|
+
"tag": "text-white bg-red-500 dark:text-red-250 dark:bg-red-600"
|
|
66
|
+
},
|
|
67
|
+
"success": {
|
|
68
|
+
"tag": "text-white bg-green-500 dark:text-green-250 dark:bg-green-600"
|
|
69
|
+
},
|
|
70
|
+
"warning": {
|
|
71
|
+
"tag": "text-white bg-orange-500 dark:text-orange-250 dark:bg-orange-600"
|
|
72
|
+
},
|
|
73
|
+
"primary": {
|
|
74
|
+
"tag": "text-white bg-blue-500 dark:text-blue-250 dark:bg-blue-600"
|
|
75
|
+
},
|
|
76
|
+
"secondary": {
|
|
77
|
+
"tag": "text-white bg-cyan-350 dark:text-base-150 dark:bg-cyan-500"
|
|
78
|
+
},
|
|
79
|
+
"collab": {
|
|
80
|
+
"tag": "text-white bg-collab-500 dark:text-collab-200 dark:bg-collab-800"
|
|
81
|
+
},
|
|
82
|
+
"ai": {
|
|
83
|
+
"tag": "text-white bg-ai-500 dark:text-ai-200 dark:bg-ai-800"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"rounded": {
|
|
87
|
+
"true": "rounded-3xl",
|
|
88
|
+
"false": "rounded-2xs"
|
|
89
|
+
},
|
|
90
|
+
"noPadding": {
|
|
91
|
+
"true": {
|
|
92
|
+
"base": "px-0"
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"noBorder": {
|
|
96
|
+
"true": "ring-0 focus-visible:ring-0"
|
|
97
|
+
},
|
|
98
|
+
"underline": {
|
|
99
|
+
"true": "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
|
|
100
|
+
},
|
|
101
|
+
"disabled": {
|
|
102
|
+
"true": {
|
|
103
|
+
"increment": "opacity-75 cursor-not-allowed",
|
|
104
|
+
"decrement": "opacity-75 cursor-not-allowed"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
"orientation": {
|
|
108
|
+
"horizontal": {
|
|
109
|
+
"base": "text-center",
|
|
110
|
+
"increment": "inset-y-0 end-0 py-0 pe-0 [&>button]:p-1",
|
|
111
|
+
"decrement": "inset-y-0 start-0 py-0 ps-0 [&>button]:p-1"
|
|
112
|
+
},
|
|
113
|
+
"vertical": {
|
|
114
|
+
"increment": "top-1 end-0 pe-1 [&>button]:p-0",
|
|
115
|
+
"decrement": "bottom-1 end-0 pe-1 [&>button]:p-0"
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
"highlight": {
|
|
119
|
+
"true": ""
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"compoundVariants": [
|
|
123
|
+
{
|
|
124
|
+
"color": "default" as typeof color[number],
|
|
125
|
+
"noBorder": false,
|
|
126
|
+
"underline": false,
|
|
127
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"color": "default" as typeof color[number],
|
|
131
|
+
"highlight": true,
|
|
132
|
+
"noBorder": false,
|
|
133
|
+
"underline": false,
|
|
134
|
+
"class": "ring ring-inset ring-base-900 dark:ring-base-350"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"color": "default" as typeof color[number],
|
|
138
|
+
"noBorder": false,
|
|
139
|
+
"underline": true,
|
|
140
|
+
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"color": "default" as typeof color[number],
|
|
144
|
+
"highlight": true,
|
|
145
|
+
"noBorder": false,
|
|
146
|
+
"underline": true,
|
|
147
|
+
"class": "border-b-base-900 dark:border-b-base-350"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"color": "danger" as typeof color[number],
|
|
151
|
+
"noBorder": false,
|
|
152
|
+
"underline": false,
|
|
153
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"color": "danger" as typeof color[number],
|
|
157
|
+
"highlight": true,
|
|
158
|
+
"noBorder": false,
|
|
159
|
+
"underline": false,
|
|
160
|
+
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"color": "danger" as typeof color[number],
|
|
164
|
+
"noBorder": false,
|
|
165
|
+
"underline": true,
|
|
166
|
+
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"color": "danger" as typeof color[number],
|
|
170
|
+
"highlight": true,
|
|
171
|
+
"noBorder": false,
|
|
172
|
+
"underline": true,
|
|
173
|
+
"class": "border-b-red-500 dark:border-b-red-600"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"color": "success" as typeof color[number],
|
|
177
|
+
"noBorder": false,
|
|
178
|
+
"underline": false,
|
|
179
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"color": "success" as typeof color[number],
|
|
183
|
+
"highlight": true,
|
|
184
|
+
"noBorder": false,
|
|
185
|
+
"underline": false,
|
|
186
|
+
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"color": "success" as typeof color[number],
|
|
190
|
+
"noBorder": false,
|
|
191
|
+
"underline": true,
|
|
192
|
+
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"color": "success" as typeof color[number],
|
|
196
|
+
"highlight": true,
|
|
197
|
+
"noBorder": false,
|
|
198
|
+
"underline": true,
|
|
199
|
+
"class": "border-b-green-500 dark:border-b-green-600"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"color": "warning" as typeof color[number],
|
|
203
|
+
"noBorder": false,
|
|
204
|
+
"underline": false,
|
|
205
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"color": "warning" as typeof color[number],
|
|
209
|
+
"highlight": true,
|
|
210
|
+
"noBorder": false,
|
|
211
|
+
"underline": false,
|
|
212
|
+
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"color": "warning" as typeof color[number],
|
|
216
|
+
"noBorder": false,
|
|
217
|
+
"underline": true,
|
|
218
|
+
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"color": "warning" as typeof color[number],
|
|
222
|
+
"highlight": true,
|
|
223
|
+
"noBorder": false,
|
|
224
|
+
"underline": true,
|
|
225
|
+
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"color": "primary" as typeof color[number],
|
|
229
|
+
"noBorder": false,
|
|
230
|
+
"underline": false,
|
|
231
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"color": "primary" as typeof color[number],
|
|
235
|
+
"highlight": true,
|
|
236
|
+
"noBorder": false,
|
|
237
|
+
"underline": false,
|
|
238
|
+
"class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"color": "primary" as typeof color[number],
|
|
242
|
+
"noBorder": false,
|
|
243
|
+
"underline": true,
|
|
244
|
+
"class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"color": "primary" as typeof color[number],
|
|
248
|
+
"highlight": true,
|
|
249
|
+
"noBorder": false,
|
|
250
|
+
"underline": true,
|
|
251
|
+
"class": "border-b-blue-500 dark:border-b-blue-600"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"color": "secondary" as typeof color[number],
|
|
255
|
+
"noBorder": false,
|
|
256
|
+
"underline": false,
|
|
257
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-500 dark:focus-visible:ring-cyan-600"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"color": "secondary" as typeof color[number],
|
|
261
|
+
"highlight": true,
|
|
262
|
+
"noBorder": false,
|
|
263
|
+
"underline": false,
|
|
264
|
+
"class": "ring ring-inset ring-cyan-500 dark:ring-cyan-600"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"color": "secondary" as typeof color[number],
|
|
268
|
+
"noBorder": false,
|
|
269
|
+
"underline": true,
|
|
270
|
+
"class": "focus-visible:border-b-cyan-500 dark:focus-visible:border-b-cyan-600"
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"color": "secondary" as typeof color[number],
|
|
274
|
+
"highlight": true,
|
|
275
|
+
"noBorder": false,
|
|
276
|
+
"underline": true,
|
|
277
|
+
"class": "border-b-cyan-500 dark:border-b-cyan-600"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"color": "collab" as typeof color[number],
|
|
281
|
+
"noBorder": false,
|
|
282
|
+
"underline": false,
|
|
283
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-collab-500 dark:focus-visible:ring-collab-600"
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"color": "collab" as typeof color[number],
|
|
287
|
+
"highlight": true,
|
|
288
|
+
"noBorder": false,
|
|
289
|
+
"underline": false,
|
|
290
|
+
"class": "ring ring-inset ring-collab-500 dark:ring-collab-600"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"color": "collab" as typeof color[number],
|
|
294
|
+
"noBorder": false,
|
|
295
|
+
"underline": true,
|
|
296
|
+
"class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"color": "collab" as typeof color[number],
|
|
300
|
+
"highlight": true,
|
|
301
|
+
"noBorder": false,
|
|
302
|
+
"underline": true,
|
|
303
|
+
"class": "border-b-collab-500 dark:border-b-collab-600"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"color": "ai" as typeof color[number],
|
|
307
|
+
"noBorder": false,
|
|
308
|
+
"underline": false,
|
|
309
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"color": "ai" as typeof color[number],
|
|
313
|
+
"highlight": true,
|
|
314
|
+
"noBorder": false,
|
|
315
|
+
"underline": false,
|
|
316
|
+
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"color": "ai" as typeof color[number],
|
|
320
|
+
"noBorder": false,
|
|
321
|
+
"underline": true,
|
|
322
|
+
"class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"color": "ai" as typeof color[number],
|
|
326
|
+
"highlight": true,
|
|
327
|
+
"noBorder": false,
|
|
328
|
+
"underline": true,
|
|
329
|
+
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
333
|
+
"rounded": true,
|
|
334
|
+
"class": {
|
|
335
|
+
"increment": "[&>button]:rounded-3xl",
|
|
336
|
+
"decrement": "[&>button]:rounded-3xl"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
341
|
+
"size": "xs" as typeof size[number],
|
|
342
|
+
"class": {
|
|
343
|
+
"base": "px-[1.3rem]",
|
|
344
|
+
"increment": "[&>button]:h-[24px] scale-80",
|
|
345
|
+
"decrement": "[&>button]:h-[24px] scale-80"
|
|
346
|
+
}
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
350
|
+
"size": "sm" as typeof size[number],
|
|
351
|
+
"class": {
|
|
352
|
+
"base": "px-[2.1rem]",
|
|
353
|
+
"increment": "scale-80",
|
|
354
|
+
"decrement": "scale-80"
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
359
|
+
"size": "md" as typeof size[number],
|
|
360
|
+
"class": {
|
|
361
|
+
"base": "px-[2.45rem]",
|
|
362
|
+
"increment": "[&>button]:p-1.5 scale-80",
|
|
363
|
+
"decrement": "[&>button]:p-1.5 scale-80"
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
368
|
+
"size": "lg" as typeof size[number],
|
|
369
|
+
"class": {
|
|
370
|
+
"base": "px-[2.95rem]",
|
|
371
|
+
"increment": "pe-1 [&>button]:p-1.5 [&>button]:h-[42px] scale-95",
|
|
372
|
+
"decrement": "ps-1 [&>button]:p-1.5 [&>button]:h-[42px] scale-95"
|
|
373
|
+
}
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
377
|
+
"size": "xs" as typeof size[number],
|
|
378
|
+
"class": {
|
|
379
|
+
"base": "pe-7",
|
|
380
|
+
"increment": "top-0 pe-0 [&>button]:h-[13px]",
|
|
381
|
+
"decrement": "bottom-0 pe-0 [&>button]:h-[13px]"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
386
|
+
"size": "sm" as typeof size[number],
|
|
387
|
+
"class": {
|
|
388
|
+
"base": "pe-8",
|
|
389
|
+
"increment": "[&>button]:h-[13px] scale-80",
|
|
390
|
+
"decrement": "[&>button]:h-[13px] scale-80"
|
|
391
|
+
}
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
395
|
+
"size": "md" as typeof size[number],
|
|
396
|
+
"class": {
|
|
397
|
+
"base": "pe-9",
|
|
398
|
+
"increment": "[&>button]:h-[19px] scale-80",
|
|
399
|
+
"decrement": "[&>button]:h-[19px] scale-80"
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
404
|
+
"size": "lg" as typeof size[number],
|
|
405
|
+
"class": {
|
|
406
|
+
"base": "pe-9",
|
|
407
|
+
"increment": "[&>button]:h-[22px] scale-80",
|
|
408
|
+
"decrement": "[&>button]:h-[22px] scale-80"
|
|
409
|
+
}
|
|
410
|
+
}
|
|
411
|
+
],
|
|
412
|
+
"defaultVariants": {
|
|
413
|
+
"size": "md" as typeof size[number],
|
|
414
|
+
"color": "primary" as typeof color[number],
|
|
415
|
+
"tagColor": "primary" as typeof tagColor[number]
|
|
416
|
+
}
|
|
417
|
+
}
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
"slots": {
|
|
26
26
|
"root": "relative",
|
|
27
27
|
"fieldset": "flex",
|
|
28
|
-
"legend": "mb-1.5 block
|
|
28
|
+
"legend": "mb-1.5 block text-base-900 dark:text-base-400",
|
|
29
29
|
"item": "flex items-start",
|
|
30
30
|
"base": "cursor-pointer rounded-full ring ring-inset ring-base-300 dark:ring-base-700 outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
31
31
|
"indicator": " flex items-center justify-center size-full rounded-full after:bg-white dark:after:bg-base-dark after:rounded-full",
|
|
@@ -67,7 +67,8 @@ export default {
|
|
|
67
67
|
"itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
68
68
|
"itemTrailingIcon": "shrink-0",
|
|
69
69
|
"itemLabel": "truncate",
|
|
70
|
-
"input": "border-b border-base-300 dark:dark:border-base-800"
|
|
70
|
+
"input": "border-b border-base-300 dark:dark:border-base-800",
|
|
71
|
+
"focusScope": "flex flex-col min-h-0"
|
|
71
72
|
},
|
|
72
73
|
"variants": {
|
|
73
74
|
"buttonGroup": {
|
package/README.md
CHANGED
|
@@ -96,6 +96,6 @@ Learn more in the [installation guide](https://bitrix24.github.io/b24ui/guide/in
|
|
|
96
96
|
- [nuxt/nuxt](https://github.com/nuxt/nuxt)
|
|
97
97
|
- [nuxt/ui](https://github.com/nuxt/ui)
|
|
98
98
|
- [nuxt-modules/color-mode](https://github.com/nuxt-modules/color-mode)
|
|
99
|
-
- [unovue/
|
|
99
|
+
- [unovue/radix-vue](https://github.com/unovue/radix-vue)
|
|
100
100
|
- [tailwindlabs/tailwindcss](https://github.com/tailwindlabs/tailwindcss)
|
|
101
101
|
- [vueuse/vueuse](https://github.com/vueuse/vueuse)
|