@bitrix24/b24ui-nuxt 0.5.0 → 0.5.2

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.
@@ -42,29 +42,30 @@ export default {
42
42
  "label": "w-full min-h-6 flex items-center rtl:flex-row-reverse gap-1.5 font-medium text-xs/6 text-base-500 dark:text-base-400 ps-2xl pe-xs rtl:ps-xs rtl:pe-2xl",
43
43
  "item": "min-w-0",
44
44
  "link": "group relative cursor-pointer w-full flex items-center gap-1.5 font-normal text-lg leading-9 min-h-9 before:absolute before:z-[-1] focus:outline-none focus-visible:before:rounded-md focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
45
- "linkLeadingIcon": "shrink-0 size-5",
46
- "linkLeadingAvatar": "shrink-0",
45
+ "linkLeadingIcon": "shrink-0 size-4 -ms-1 rtl:-ms-0 rtl:-me-1",
46
+ "linkLeadingAvatar": "shrink-0 -ms-1 rtl:-ms-0 rtl:-me-1",
47
47
  "linkLeadingAvatarSize": "2xs",
48
- "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
48
+ "linkTrailing": "inline-flex gap-1.5 items-center",
49
49
  "linkTrailingBadge": "shrink-0",
50
50
  "linkTrailingBadgeSize": "sm",
51
- "linkTrailingIcon": "text-base-600 size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
51
+ "linkTrailingIcon": "text-base-600 size-4 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
52
52
  "linkLabel": "truncate",
53
+ "linkLabelWrapper": "flex items-center items-center justify-between rtl:flex-row-reverse gap-1.5",
53
54
  "linkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
54
55
  "childList": "",
55
56
  "childItem": "",
56
- "childLink": "group size-full px-3 py-2 flex items-start gap-2 text-start",
57
+ "childLink": "group size-full px-3 py-2 rounded-2xs flex items-start gap-2 text-start",
57
58
  "childLinkWrapper": "flex flex-col items-start",
58
59
  "childLinkIcon": "size-5 shrink-0",
59
60
  "childLinkLabel": "font-semibold text-sm relative inline-flex",
60
61
  "childLinkLabelExternalIcon": "inline-block h-6 w-3 align-top text-base-500 dark:text-base-700",
61
- "childLinkDescription": "text-sm text-(--ui-text-muted)",
62
- "separator": "px-2 h-px bg-(--ui-border)",
62
+ "childLinkDescription": "text-sm text-base-500 dark:text-base-700",
63
+ "separator": "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
63
64
  "viewportWrapper": "absolute top-full left-0 flex w-full",
64
- "viewport": "relative overflow-hidden w-full bg-(--ui-bg) shadow-lg rounded-md ring ring-(--ui-border) h-(--reka-navigation-menu-viewport-height) transition-[width,height,left] duration-200 origin-[top_center] motion-safe:data-[state=open]:animate-[scale-in_100ms_ease-out] motion-safe:data-[state=closed]:animate-[scale-out_100ms_ease-in]",
65
+ "viewport": "relative overflow-hidden w-full bg-white dark:bg-base-dark shadow-[0_15px_21px_rgba(83,92,105,.15)] h-(--reka-navigation-menu-viewport-height) transition-[width,height] duration-200 origin-[top_center]",
65
66
  "content": "absolute top-0 left-0 w-full",
66
67
  "indicator": "absolute motion-safe:data-[state=visible]:animate-[fade-in_100ms_ease-out] motion-safe:data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[1] w-(--reka-navigation-menu-indicator-size) h-2.5 translate-x-(--reka-navigation-menu-indicator-position) flex items-end justify-center overflow-hidden transition-[translate,width] duration-200",
67
- "arrow": "relative top-[50%] size-2.5 rotate-45 border border-(--ui-border) bg-(--ui-bg) z-[1] rounded-md"
68
+ "arrow": "relative top-[50%] size-2.5 rotate-45 border border-base-300 dark:border-base-800 bg-white dark:bg-base-dark z-[1] rounded-3xs"
68
69
  },
69
70
  "variants": {
70
71
  "color": {
@@ -72,13 +73,34 @@ export default {
72
73
  "link": "focus-visible:before:ring-base-300 dark:focus-visible:before:ring-base-800",
73
74
  "childLink": "focus-visible:outline-base-300 dark:focus-visible:outline-base-800"
74
75
  },
75
- "danger": "",
76
- "success": "",
77
- "warning": "",
78
- "primary": "",
79
- "secondary": "",
80
- "collab": "",
81
- "ai": ""
76
+ "danger": {
77
+ "link": "focus-visible:before:ring-red-300 dark:focus-visible:before:ring-red-800",
78
+ "childLink": "focus-visible:outline-red-300 dark:focus-visible:outline-red-800"
79
+ },
80
+ "success": {
81
+ "link": "focus-visible:before:ring-green-300 dark:focus-visible:before:ring-green-800",
82
+ "childLink": "focus-visible:outline-green-300 dark:focus-visible:outline-green-800"
83
+ },
84
+ "warning": {
85
+ "link": "focus-visible:before:ring-orange-300 dark:focus-visible:before:ring-orange-800",
86
+ "childLink": "focus-visible:outline-orange-300 dark:focus-visible:outline-orange-800"
87
+ },
88
+ "primary": {
89
+ "link": "focus-visible:before:ring-blue-300 dark:focus-visible:before:ring-blue-800",
90
+ "childLink": "focus-visible:outline-blue-300 dark:focus-visible:outline-blue-800"
91
+ },
92
+ "secondary": {
93
+ "link": "focus-visible:before:ring-cyan-300 dark:focus-visible:before:ring-cyan-800",
94
+ "childLink": "focus-visible:outline-cyan-300 dark:focus-visible:outline-cyan-800"
95
+ },
96
+ "collab": {
97
+ "link": "focus-visible:before:ring-collab-300 dark:focus-visible:before:ring-collab-800",
98
+ "childLink": "focus-visible:outline-collab-300 dark:focus-visible:outline-collab-800"
99
+ },
100
+ "ai": {
101
+ "link": "focus-visible:before:ring-ai-300 dark:focus-visible:before:ring-ai-800",
102
+ "childLink": "focus-visible:outline-ai-300 dark:focus-visible:outline-ai-800"
103
+ }
82
104
  },
83
105
  "highlightColor": {
84
106
  "default": "",
@@ -92,7 +114,8 @@ export default {
92
114
  },
93
115
  "variant": {
94
116
  "pill": {
95
- "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10"
117
+ "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
118
+ "viewport": "rounded-md ring ring-base-300 dark:ring-base-800"
96
119
  },
97
120
  "link": ""
98
121
  },
@@ -113,23 +136,26 @@ export default {
113
136
  "horizontal": {
114
137
  "viewport": "",
115
138
  "viewportWrapper": "justify-center",
116
- "content": "motion-safe:data-[motion=from-start]:animate-[enter-from-left_200ms_ease] motion-safe:data-[motion=from-end]:animate-[enter-from-right_200ms_ease] motion-safe:data-[motion=to-start]:animate-[exit-to-left_200ms_ease] motion-safe:data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
139
+ "content": "motion-safe:data-[motion=from-start]:animate-[enter-from-left_200ms_ease] motion-safe:data-[motion=from-end]:animate-[enter-from-right_200ms_ease] motion-safe:data-[motion=to-start]:animate-[exit-to-left_200ms_ease] motion-safe:data-[motion=to-end]:animate-[exit-to-right_200ms_ease]",
140
+ "childLinkLabelExternalIcon": "h-4"
117
141
  },
118
142
  "vertical": {
119
143
  "viewport": "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
120
- "content": ""
144
+ "content": "",
145
+ "childLinkLabel": "text-md text-base-950 dark:text-base-50",
146
+ "childLinkLabelExternalIcon": "h-4"
121
147
  }
122
148
  },
123
149
  "active": {
124
150
  "true": {
125
- "childLink": "bg-(--ui-bg-elevated) text-(--ui-text-highlighted)",
126
- "childLinkIcon": "text-(--ui-text)"
151
+ "childLink": "bg-base-20 dark:bg-base-900 text-base-950 dark:text-base-50 font-semibold",
152
+ "childLinkIcon": "text-base-950 dark:text-base-200"
127
153
  },
128
154
  "false": {
129
155
  "link": "text-base-900 dark:text-base-200",
130
156
  "linkLeadingIcon": "text-base-500 dark:text-base-700",
131
- "childLink": "hover:bg-(--ui-bg-elevated)/50 text-(--ui-text) hover:text-(--ui-text-highlighted) transition-colors",
132
- "childLinkIcon": "text-base-500 dark:text-base-700 group-hover:text-(--ui-text) transition-colors"
157
+ "childLink": "hover:bg-base-20 dark:hover:bg-base-900 text-base-500 dark:text-base-700 hover:text-base-950 dark:hover:dark:text-base-200 transition-colors",
158
+ "childLinkIcon": "text-base-500 dark:text-base-700 group-hover:text-base-950 dark:group-hover:text-base-50 transition-colors"
133
159
  }
134
160
  },
135
161
  "disabled": {
@@ -179,7 +205,7 @@ export default {
179
205
  "level": true,
180
206
  "class": {
181
207
  "link": [
182
- "after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-px after:rounded-full",
208
+ "after:absolute after:-start-1.5 after:inset-y-0.5 after:block after:w-[7px] after:rounded-full",
183
209
  "after:transition-colors"
184
210
  ]
185
211
  }
@@ -190,7 +216,7 @@ export default {
190
216
  "variant": "pill" as typeof variant[number],
191
217
  "class": {
192
218
  "link": "transition-colors before:transition-colors",
193
- "linkLeadingIcon": "group-hover:text-(--ui-text) transition-colors"
219
+ "linkLeadingIcon": "group-hover:text-base-900 dark:group-hover:text-base-200 transition-colors"
194
220
  }
195
221
  },
196
222
  {
@@ -199,8 +225,8 @@ export default {
199
225
  "variant": "pill" as typeof variant[number],
200
226
  "orientation": "horizontal" as typeof orientation[number],
201
227
  "class": {
202
- "link": "data-[state=open]:text-(--ui-text-highlighted)",
203
- "linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
228
+ "link": "before:rounded-md data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
229
+ "linkLeadingIcon": "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
204
230
  }
205
231
  },
206
232
  {
@@ -209,7 +235,7 @@ export default {
209
235
  "highlight": true,
210
236
  "orientation": "horizontal" as typeof orientation[number],
211
237
  "class": {
212
- "link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
238
+ "link": "data-[state=open]:before:rounded-md data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
213
239
  }
214
240
  },
215
241
  {
@@ -219,7 +245,7 @@ export default {
219
245
  "active": false,
220
246
  "orientation": "horizontal" as typeof orientation[number],
221
247
  "class": {
222
- "link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
248
+ "link": "data-[state=open]:before:bg-base-250/80 dark:data-[state=open]:before:bg-white/10"
223
249
  }
224
250
  },
225
251
  {
@@ -227,8 +253,79 @@ export default {
227
253
  "variant": "pill" as typeof variant[number],
228
254
  "active": true,
229
255
  "class": {
230
- "linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)",
231
- "linkLabel": "text-white dark:text-white bg-base-800 dark:bg-white/35"
256
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
257
+ "linkLabel": "font-semibold text-white dark:text-white",
258
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
259
+ }
260
+ },
261
+ {
262
+ "color": "danger" as typeof color[number],
263
+ "variant": "pill" as typeof variant[number],
264
+ "active": true,
265
+ "class": {
266
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
267
+ "linkLabel": "font-semibold text-white dark:text-white",
268
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-red-800 dark:bg-red-800 rounded-2xl"
269
+ }
270
+ },
271
+ {
272
+ "color": "success" as typeof color[number],
273
+ "variant": "pill" as typeof variant[number],
274
+ "active": true,
275
+ "class": {
276
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
277
+ "linkLabel": "font-semibold text-white dark:text-white",
278
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-green-800 dark:bg-green-800 rounded-2xl"
279
+ }
280
+ },
281
+ {
282
+ "color": "warning" as typeof color[number],
283
+ "variant": "pill" as typeof variant[number],
284
+ "active": true,
285
+ "class": {
286
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
287
+ "linkLabel": "font-semibold text-white dark:text-white",
288
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-orange-800 dark:bg-orange-800 rounded-2xl"
289
+ }
290
+ },
291
+ {
292
+ "color": "primary" as typeof color[number],
293
+ "variant": "pill" as typeof variant[number],
294
+ "active": true,
295
+ "class": {
296
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
297
+ "linkLabel": "font-semibold text-white dark:text-white",
298
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-blue-800 dark:bg-blue-800 rounded-2xl"
299
+ }
300
+ },
301
+ {
302
+ "color": "secondary" as typeof color[number],
303
+ "variant": "pill" as typeof variant[number],
304
+ "active": true,
305
+ "class": {
306
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
307
+ "linkLabel": "font-semibold text-white dark:text-white",
308
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-cyan-800 dark:bg-cyan-800 rounded-2xl"
309
+ }
310
+ },
311
+ {
312
+ "color": "collab" as typeof color[number],
313
+ "variant": "pill" as typeof variant[number],
314
+ "active": true,
315
+ "class": {
316
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
317
+ "linkLabel": "font-semibold text-white dark:text-white",
318
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-collab-800 dark:bg-collab-800 rounded-2xl"
319
+ }
320
+ },
321
+ {
322
+ "color": "ai" as typeof color[number],
323
+ "variant": "pill" as typeof variant[number],
324
+ "active": true,
325
+ "class": {
326
+ "linkLeadingIcon": "text-white dark:text-white group-data-[state=open]:text-white dark:group-data-[state=open]:text-white",
327
+ "linkLabel": "font-semibold text-white dark:text-white",
328
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-ai-800 dark:bg-ai-800 rounded-2xl"
232
329
  }
233
330
  },
234
331
  {
@@ -237,7 +334,8 @@ export default {
237
334
  "highlight": false,
238
335
  "class": {
239
336
  "link": "leading-9",
240
- "linkLabel": "px-3 -ms-3 me-3 rtl:-me-3 rtl:ms-3 font-semibold leading-[1.563rem] text-white dark:text-white bg-base-800 dark:bg-white/35 rounded-2xl"
337
+ "linkLabel": "font-semibold text-white dark:text-white",
338
+ "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
241
339
  }
242
340
  },
243
341
  {
@@ -246,18 +344,35 @@ export default {
246
344
  "highlight": true,
247
345
  "class": {
248
346
  "link": [
249
- "hover:before:bg-(--ui-bg-elevated)/50",
347
+ "hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
250
348
  "before:transition-colors"
251
349
  ]
252
350
  }
253
351
  },
352
+ {
353
+ "orientation": "horizontal" as typeof orientation[number],
354
+ "variant": "link" as typeof variant[number],
355
+ "class": {
356
+ "viewportWrapper": "top-[calc(100%+0.4rem)]",
357
+ "viewport": "rounded-b-md rounded-tr-md clip-path-viewport-wrapper",
358
+ "link": "before:-inset-x-px before:-inset-y-[6px] before:h-[70px] before:rounded-t-md"
359
+ }
360
+ },
254
361
  {
255
362
  "disabled": false,
256
363
  "active": false,
257
364
  "variant": "link" as typeof variant[number],
258
365
  "class": {
259
366
  "link": "hover:text-base-950 dark:hover:text-base-50 transition-colors",
260
- "linkLeadingIcon": "group-hover:text-(--ui-text) transition-colors"
367
+ "linkLeadingIcon": "group-hover:text-base-950 dark:group-hover:text-base-50 transition-colors"
368
+ }
369
+ },
370
+ {
371
+ "disabled": false,
372
+ "variant": "link" as typeof variant[number],
373
+ "orientation": "horizontal" as typeof orientation[number],
374
+ "class": {
375
+ "link": "data-[state=open]:before:shadow-[0_6px_21px_rgba(83,92,105,.15)] data-[state=open]:before:bg-white dark:data-[state=open]:before:bg-base-dark"
261
376
  }
262
377
  },
263
378
  {
@@ -266,8 +381,8 @@ export default {
266
381
  "variant": "link" as typeof variant[number],
267
382
  "orientation": "horizontal" as typeof orientation[number],
268
383
  "class": {
269
- "link": "data-[state=open]:text-(--ui-text-highlighted)",
270
- "linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
384
+ "link": "data-[state=open]:text-base-950 dark:data-[state=open]:text-base-50",
385
+ "linkLeadingIcon": "group-data-[state=open]:text-base-950 dark:group-data-[state=open]:text-base-50"
271
386
  }
272
387
  },
273
388
  {
@@ -275,25 +390,247 @@ export default {
275
390
  "variant": "link" as typeof variant[number],
276
391
  "active": true,
277
392
  "class": {
278
- "link": "text-(--ui-text-highlighted)",
279
- "linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)"
393
+ "link": "font-semibold text-base-950 dark:text-base-50",
394
+ "linkLeadingIcon": "text-base-950 group-data-[state=open]:text-base-950 dark:text-base-50 dark:group-data-[state=open]:text-base-50"
395
+ }
396
+ },
397
+ {
398
+ "color": "danger" as typeof color[number],
399
+ "variant": "link" as typeof variant[number],
400
+ "active": true,
401
+ "class": {
402
+ "link": "font-semibold text-red-800 dark:text-red-600",
403
+ "linkLeadingIcon": "text-red-800 group-data-[state=open]:text-red-600 dark:text-red-600 dark:group-data-[state=open]:text-red-600"
404
+ }
405
+ },
406
+ {
407
+ "color": "success" as typeof color[number],
408
+ "variant": "link" as typeof variant[number],
409
+ "active": true,
410
+ "class": {
411
+ "link": "font-semibold text-green-800 dark:text-green-600",
412
+ "linkLeadingIcon": "text-green-800 group-data-[state=open]:text-green-600 dark:text-green-600 dark:group-data-[state=open]:text-green-600"
413
+ }
414
+ },
415
+ {
416
+ "color": "warning" as typeof color[number],
417
+ "variant": "link" as typeof variant[number],
418
+ "active": true,
419
+ "class": {
420
+ "link": "font-semibold text-orange-800 dark:text-orange-600",
421
+ "linkLeadingIcon": "text-orange-800 group-data-[state=open]:text-orange-600 dark:text-orange-600 dark:group-data-[state=open]:text-orange-600"
422
+ }
423
+ },
424
+ {
425
+ "color": "primary" as typeof color[number],
426
+ "variant": "link" as typeof variant[number],
427
+ "active": true,
428
+ "class": {
429
+ "link": "font-semibold text-blue-850 dark:text-blue-600",
430
+ "linkLeadingIcon": "text-blue-850 group-data-[state=open]:text-blue-600 dark:text-blue-600 dark:group-data-[state=open]:text-blue-600"
431
+ }
432
+ },
433
+ {
434
+ "color": "secondary" as typeof color[number],
435
+ "variant": "link" as typeof variant[number],
436
+ "active": true,
437
+ "class": {
438
+ "link": "font-semibold text-cyan-800 dark:text-cyan-600",
439
+ "linkLeadingIcon": "text-cyan-800 group-data-[state=open]:text-cyan-600 dark:text-cyan-600 dark:group-data-[state=open]:text-cyan-600"
440
+ }
441
+ },
442
+ {
443
+ "color": "collab" as typeof color[number],
444
+ "variant": "link" as typeof variant[number],
445
+ "active": true,
446
+ "class": {
447
+ "link": "font-semibold text-collab-800 dark:text-collab-600",
448
+ "linkLeadingIcon": "text-collab-800 group-data-[state=open]:text-collab-600 dark:text-collab-600 dark:group-data-[state=open]:text-collab-600"
449
+ }
450
+ },
451
+ {
452
+ "color": "ai" as typeof color[number],
453
+ "variant": "link" as typeof variant[number],
454
+ "active": true,
455
+ "class": {
456
+ "link": "font-semibold text-ai-800 dark:text-ai-600",
457
+ "linkLeadingIcon": "text-ai-800 group-data-[state=open]:text-ai-600 dark:text-ai-600 dark:group-data-[state=open]:text-ai-600"
280
458
  }
281
459
  },
282
460
  {
461
+ "orientation": "vertical" as typeof orientation[number],
283
462
  "highlightColor": "default" as typeof highlightColor[number],
284
463
  "highlight": true,
285
464
  "level": true,
286
465
  "active": true,
287
466
  "class": {
288
- "link": "after:bg-(--ui-bg-inverted)"
467
+ "link": "after:bg-base-500"
468
+ }
469
+ },
470
+ {
471
+ "orientation": "horizontal" as typeof orientation[number],
472
+ "variant": "link" as typeof variant[number],
473
+ "highlightColor": "default" as typeof highlightColor[number],
474
+ "highlight": true,
475
+ "level": true,
476
+ "active": true,
477
+ "class": {
478
+ "link": "after:bg-base-500"
479
+ }
480
+ },
481
+ {
482
+ "orientation": "vertical" as typeof orientation[number],
483
+ "highlightColor": "danger" as typeof highlightColor[number],
484
+ "highlight": true,
485
+ "level": true,
486
+ "active": true,
487
+ "class": {
488
+ "link": "after:bg-red-500 dark:after:bg-red-600"
489
+ }
490
+ },
491
+ {
492
+ "orientation": "horizontal" as typeof orientation[number],
493
+ "variant": "link" as typeof variant[number],
494
+ "highlightColor": "danger" as typeof highlightColor[number],
495
+ "highlight": true,
496
+ "level": true,
497
+ "active": true,
498
+ "class": {
499
+ "link": "after:bg-red-500 dark:after:bg-red-600"
500
+ }
501
+ },
502
+ {
503
+ "orientation": "vertical" as typeof orientation[number],
504
+ "highlightColor": "success" as typeof highlightColor[number],
505
+ "highlight": true,
506
+ "level": true,
507
+ "active": true,
508
+ "class": {
509
+ "link": "after:bg-green-500 dark:after:bg-green-600"
510
+ }
511
+ },
512
+ {
513
+ "orientation": "horizontal" as typeof orientation[number],
514
+ "variant": "link" as typeof variant[number],
515
+ "highlightColor": "success" as typeof highlightColor[number],
516
+ "highlight": true,
517
+ "level": true,
518
+ "active": true,
519
+ "class": {
520
+ "link": "after:bg-green-500 dark:after:bg-green-600"
521
+ }
522
+ },
523
+ {
524
+ "orientation": "vertical" as typeof orientation[number],
525
+ "highlightColor": "warning" as typeof highlightColor[number],
526
+ "highlight": true,
527
+ "level": true,
528
+ "active": true,
529
+ "class": {
530
+ "link": "after:bg-orange-500 dark:after:bg-orange-600"
531
+ }
532
+ },
533
+ {
534
+ "orientation": "horizontal" as typeof orientation[number],
535
+ "variant": "link" as typeof variant[number],
536
+ "highlightColor": "warning" as typeof highlightColor[number],
537
+ "highlight": true,
538
+ "level": true,
539
+ "active": true,
540
+ "class": {
541
+ "link": "after:bg-orange-500 dark:after:bg-orange-600"
542
+ }
543
+ },
544
+ {
545
+ "orientation": "vertical" as typeof orientation[number],
546
+ "highlightColor": "primary" as typeof highlightColor[number],
547
+ "highlight": true,
548
+ "level": true,
549
+ "active": true,
550
+ "class": {
551
+ "link": "after:bg-blue-500 dark:after:bg-blue-600"
552
+ }
553
+ },
554
+ {
555
+ "orientation": "horizontal" as typeof orientation[number],
556
+ "variant": "link" as typeof variant[number],
557
+ "highlightColor": "primary" as typeof highlightColor[number],
558
+ "highlight": true,
559
+ "level": true,
560
+ "active": true,
561
+ "class": {
562
+ "link": "after:bg-blue-850 dark:after:bg-blue-600"
563
+ }
564
+ },
565
+ {
566
+ "orientation": "vertical" as typeof orientation[number],
567
+ "highlightColor": "secondary" as typeof highlightColor[number],
568
+ "highlight": true,
569
+ "level": true,
570
+ "active": true,
571
+ "class": {
572
+ "link": "after:bg-cyan-500 dark:after:bg-cyan-600"
573
+ }
574
+ },
575
+ {
576
+ "orientation": "horizontal" as typeof orientation[number],
577
+ "variant": "link" as typeof variant[number],
578
+ "highlightColor": "secondary" as typeof highlightColor[number],
579
+ "highlight": true,
580
+ "level": true,
581
+ "active": true,
582
+ "class": {
583
+ "link": "after:bg-cyan-500 dark:after:bg-cyan-600"
584
+ }
585
+ },
586
+ {
587
+ "orientation": "vertical" as typeof orientation[number],
588
+ "highlightColor": "collab" as typeof highlightColor[number],
589
+ "highlight": true,
590
+ "level": true,
591
+ "active": true,
592
+ "class": {
593
+ "link": "after:bg-collab-500 dark:after:bg-collab-600"
594
+ }
595
+ },
596
+ {
597
+ "orientation": "horizontal" as typeof orientation[number],
598
+ "variant": "link" as typeof variant[number],
599
+ "highlightColor": "collab" as typeof highlightColor[number],
600
+ "highlight": true,
601
+ "level": true,
602
+ "active": true,
603
+ "class": {
604
+ "link": "after:bg-collab-500 dark:after:bg-collab-600"
605
+ }
606
+ },
607
+ {
608
+ "orientation": "vertical" as typeof orientation[number],
609
+ "highlightColor": "ai" as typeof highlightColor[number],
610
+ "highlight": true,
611
+ "level": true,
612
+ "active": true,
613
+ "class": {
614
+ "link": "after:bg-ai-500 dark:after:bg-ai-600"
615
+ }
616
+ },
617
+ {
618
+ "orientation": "horizontal" as typeof orientation[number],
619
+ "variant": "link" as typeof variant[number],
620
+ "highlightColor": "ai" as typeof highlightColor[number],
621
+ "highlight": true,
622
+ "level": true,
623
+ "active": true,
624
+ "class": {
625
+ "link": "after:bg-ai-500 dark:after:bg-ai-600"
289
626
  }
290
627
  },
291
628
  {
292
629
  "orientation": "vertical" as typeof orientation[number],
293
630
  "collapsed": false,
294
631
  "class": {
295
- "childList": "v-1",
296
- "childItem": "v-2 [&>a]:ps-[44px]"
632
+ "childList": "",
633
+ "childItem": "[&>*]:ps-[44px] rtl:[&>*]:pe-[44px]"
297
634
  }
298
635
  },
299
636
  {
@@ -307,6 +644,7 @@ export default {
307
644
  "defaultVariants": {
308
645
  "color": "default" as typeof color[number],
309
646
  "highlightColor": "default" as typeof highlightColor[number],
310
- "variant": "pill" as typeof variant[number]
647
+ "contentOrientation": "vertical" as typeof contentOrientation[number],
648
+ "variant": "link" as typeof variant[number]
311
649
  }
312
650
  }
package/.nuxt/b24ui.css CHANGED
@@ -1,3 +1,3 @@
1
1
  @source "./b24ui";
2
2
 
3
- @theme default static {}
3
+ @theme default {}
package/README.md CHANGED
@@ -39,7 +39,7 @@ export default defineNuxtConfig({
39
39
  2. Import Tailwind CSS and Bitrix24 UI in your CSS:
40
40
 
41
41
  ```css [assets/css/main.css]
42
- @import "tailwindcss" theme(static);
42
+ @import "tailwindcss";
43
43
  @import "@bitrix24/b24ui-nuxt";
44
44
  ```
45
45
 
@@ -85,7 +85,7 @@ app.mount('#app')
85
85
  3. Import Tailwind CSS and Bitrix24 UI in your CSS:
86
86
 
87
87
  ```css [assets/main.css]
88
- @import "tailwindcss" theme(static);
88
+ @import "tailwindcss";
89
89
  @import "@bitrix24/b24ui-nuxt";
90
90
  ```
91
91