@bitrix24/b24ui-nuxt 0.5.2 → 0.5.4

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 (55) hide show
  1. package/.nuxt/b24ui/button.ts +10 -10
  2. package/.nuxt/b24ui/container.ts +1 -1
  3. package/.nuxt/b24ui/navigation-menu.ts +185 -11
  4. package/.nuxt/b24ui/switch.ts +1 -1
  5. package/.nuxt/b24ui/tabs.ts +1 -1
  6. package/dist/meta.cjs +48504 -45664
  7. package/dist/meta.d.cts +48504 -45664
  8. package/dist/meta.d.mts +48504 -45664
  9. package/dist/meta.d.ts +48504 -45664
  10. package/dist/meta.mjs +48504 -45664
  11. package/dist/module.cjs +1 -1
  12. package/dist/module.d.cts +2 -1
  13. package/dist/module.d.mts +2 -1
  14. package/dist/module.d.ts +2 -1
  15. package/dist/module.json +1 -1
  16. package/dist/module.mjs +1 -1
  17. package/dist/runtime/components/Alert.vue +1 -1
  18. package/dist/runtime/components/App.vue +1 -1
  19. package/dist/runtime/components/Button.vue +1 -1
  20. package/dist/runtime/components/Calendar.vue +40 -12
  21. package/dist/runtime/components/DescriptionList.vue +99 -85
  22. package/dist/runtime/components/DropdownMenu.vue +23 -12
  23. package/dist/runtime/components/DropdownMenuContent.vue +22 -15
  24. package/dist/runtime/components/InputMenu.vue +91 -53
  25. package/dist/runtime/components/Link.vue +3 -0
  26. package/dist/runtime/components/LinkBase.vue +1 -0
  27. package/dist/runtime/components/Modal.vue +1 -1
  28. package/dist/runtime/components/NavigationMenu.vue +65 -26
  29. package/dist/runtime/components/RadioGroup.vue +23 -12
  30. package/dist/runtime/components/Select.vue +74 -47
  31. package/dist/runtime/components/SelectMenu.vue +95 -56
  32. package/dist/runtime/components/Slideover.vue +1 -1
  33. package/dist/runtime/components/Tabs.vue +6 -5
  34. package/dist/runtime/components/Toast.vue +1 -1
  35. package/dist/runtime/composables/defineShortcuts.js +0 -1
  36. package/dist/runtime/composables/useComponentIcons.d.ts +2 -2
  37. package/dist/runtime/types/utils.d.ts +28 -7
  38. package/dist/runtime/utils/index.d.ts +1 -0
  39. package/dist/runtime/utils/index.js +3 -0
  40. package/dist/runtime/utils/link.d.ts +2 -25
  41. package/dist/runtime/utils/link.js +31 -1
  42. package/dist/runtime/vue/components/Link.vue +3 -0
  43. package/dist/runtime/vue/stubs.d.ts +3 -3
  44. package/dist/shared/{b24ui-nuxt.CKEqlXJP.cjs → b24ui-nuxt.BfU7TRfz.cjs} +311 -22
  45. package/dist/shared/{b24ui-nuxt.DQ3Ix7rC.mjs → b24ui-nuxt.CTERD7XY.mjs} +311 -22
  46. package/dist/types.d.mts +7 -1
  47. package/dist/types.d.ts +7 -1
  48. package/dist/unplugin.cjs +1 -1
  49. package/dist/unplugin.d.cts +2 -1
  50. package/dist/unplugin.d.mts +2 -1
  51. package/dist/unplugin.d.ts +2 -1
  52. package/dist/unplugin.mjs +1 -1
  53. package/dist/vite.cjs +1 -1
  54. package/dist/vite.mjs +1 -1
  55. package/package.json +34 -18
@@ -33,7 +33,7 @@ export default {
33
33
  "base": [
34
34
  "select-none cursor-pointer inline-flex items-center",
35
35
  "relative",
36
- "outline-transparent focus:outline-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
36
+ "outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2",
37
37
  "disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-50 aria-disabled:opacity-50",
38
38
  "transition duration-150 ease-linear"
39
39
  ],
@@ -54,15 +54,15 @@ export default {
54
54
  "false": "group-[.is-button-group]/items:not-only:not-first:after:content-[''] group-[.is-button-group]/items:not-only:not-first:after:absolute group-[.is-button-group]/items:not-only:not-first:after:top-[7px] group-[.is-button-group]/items:not-only:not-first:after:bottom-[6px] group-[.is-button-group]/items:not-only:not-first:after:left-0 group-[.is-button-group]/items:not-only:not-first:after:w-px group-[.is-button-group]/items:not-only:not-first:after:bg-current/30"
55
55
  },
56
56
  "color": {
57
- "default": "text-white dark:text-base-100 bg-base-650 border border-base-650 hover:bg-base-850 hover:border-base-850 hover:focus-visible:ring-0 active:bg-slate-850 active:border-slate-850 active:focus-visible:ring-0 disabled:bg-base-650 aria-disabled:bg-base-650 disabled:border-base-650 aria-disabled:border-base-650 focus-visible:outline-base-650 ring-base-850 focus-visible:ring-base-850",
58
- "danger": "text-white dark:text-red-100 bg-red-720 border border-red-720 hover:bg-red-790 hover:border-red-790 hover:focus-visible:ring-0 active:bg-red-730 active:border-red-730 active:focus-visible:ring-0 disabled:bg-red-720 aria-disabled:bg-red-720 disabled:border-red-720 aria-disabled:border-red-720 focus-visible:outline-red-720 ring-red-800 focus-visible:ring-red-800",
59
- "success": "text-base-900 bg-green-450 border border-green-450 hover:bg-green-370 hover:border-green-370 hover:focus-visible:ring-0 active:bg-green-430 active:border-green-430 active:focus-visible:ring-0 disabled:bg-green-450 aria-disabled:bg-green-450 disabled:border-green-450 aria-disabled:border-green-450 focus-visible:outline-green-450 ring-green-500 focus-visible:ring-green-500",
60
- "warning": "text-white dark:text-orange-100 bg-orange-500 border border-orange-500 hover:bg-orange-500/75 hover:border-orange-500/75 hover:focus-visible:ring-0 active:bg-orange-500/85 active:border-orange-500/85 active:focus-visible:ring-0 disabled:bg-orange-500 aria-disabled:bg-orange-500 disabled:border-bg-orange-500 aria-disabled:border-bg-orange-500 focus-visible:outline-orange-500 ring-orange-800 focus-visible:ring-orange-800",
61
- "primary": "text-white dark:text-blue-100 bg-blue-530 border border-blue-530 hover:bg-blue-450 hover:border-blue-450 hover:focus-visible:ring-0 active:bg-blue-550 active:border-blue-550 active:focus-visible:ring-0 disabled:bg-blue-530 aria-disabled:bg-blue-530 disabled:border-blue-530 aria-disabled:border-blue-530 focus-visible:outline-blue-530 ring-blue-800 focus-visible:ring-blue-800",
62
- "secondary": "text-base-900 bg-cyan-160 border border-cyan-230 hover:bg-cyan-150 hover:border-cyan-230 hover:focus-visible:ring-0 active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0 disabled:bg-cyan-160 aria-disabled:bg-cyan-160 disabled:border-cyan-230 aria-disabled:border-cyan-230 focus-visible:outline-cyan-160 ring-cyan-500 focus-visible:ring-cyan-500",
63
- "collab": "text-white dark:text-collab-100 bg-collab-600 border border-collab-600 hover:bg-collab-500 hover:border-collab-500 hover:focus-visible:ring-0 active:bg-collab-700 active:border-collab-700 active:focus-visible:ring-0 disabled:bg-collab-600 aria-disabled:bg-collab-600 disabled:border-collab-600 aria-disabled:border-collab-600 focus-visible:outline-collab-600 ring-collab-900 focus-visible:ring-collab-900",
64
- "ai": "text-white dark:text-ai-100 bg-ai-450 border border-ai-450 hover:bg-ai-370 hover:border-ai-370 hover:focus-visible:ring-0 active:bg-ai-550 active:border-ai-550 active:focus-visible:ring-0 disabled:bg-ai-450 aria-disabled:bg-ai-450 disabled:border-ai-450 aria-disabled:border-ai-450 focus-visible:outline-ai-450 ring-ai-900 focus-visible:ring-ai-900",
65
- "link": "no-underline decoration-solid decoration-auto text-base-900 decoration-gray-900 bg-transparent border border-transparent dark:text-base-300 hover:text-base-750 dark:hover:text-base-400 hover:focus-visible:ring-0 active:text-base-900 dark:active:text-base-700 active:focus-visible:ring-0 disabled:text-base-900 aria-disabled:text-base-900 dark:disabled:text-base-300 dark:aria-disabled:disabled:text-base-300 focus-visible:outline-base-400 ring-base-850 focus-visible:ring-base-850"
57
+ "default": "text-white dark:text-base-100 bg-base-650 border border-base-650 hover:bg-base-850 hover:border-base-850 hover:focus-visible:ring-0 active:bg-slate-850 active:border-slate-850 active:focus-visible:ring-0 disabled:bg-base-650 aria-disabled:bg-base-650 disabled:border-base-650 aria-disabled:border-base-650 focus-visible:outline-base-650 ring-base-850 focus:outline-none focus-visible:ring-base-850",
58
+ "danger": "text-white dark:text-red-100 bg-red-720 border border-red-720 hover:bg-red-790 hover:border-red-790 hover:focus-visible:ring-0 active:bg-red-730 active:border-red-730 active:focus-visible:ring-0 disabled:bg-red-720 aria-disabled:bg-red-720 disabled:border-red-720 aria-disabled:border-red-720 focus-visible:outline-red-720 ring-red-800 focus:outline-none focus-visible:ring-red-800",
59
+ "success": "text-base-900 bg-green-450 border border-green-450 hover:bg-green-370 hover:border-green-370 hover:focus-visible:ring-0 active:bg-green-430 active:border-green-430 active:focus-visible:ring-0 disabled:bg-green-450 aria-disabled:bg-green-450 disabled:border-green-450 aria-disabled:border-green-450 focus-visible:outline-green-450 ring-green-500 focus:outline-none focus-visible:ring-green-500",
60
+ "warning": "text-white dark:text-orange-100 bg-orange-500 border border-orange-500 hover:bg-orange-500/75 hover:border-orange-500/75 hover:focus-visible:ring-0 active:bg-orange-500/85 active:border-orange-500/85 active:focus-visible:ring-0 disabled:bg-orange-500 aria-disabled:bg-orange-500 disabled:border-bg-orange-500 aria-disabled:border-bg-orange-500 focus-visible:outline-orange-500 ring-orange-800 focus:outline-none focus-visible:ring-orange-800",
61
+ "primary": "text-white dark:text-blue-100 bg-blue-530 border border-blue-530 hover:bg-blue-450 hover:border-blue-450 hover:focus-visible:ring-0 active:bg-blue-550 active:border-blue-550 active:focus-visible:ring-0 disabled:bg-blue-530 aria-disabled:bg-blue-530 disabled:border-blue-530 aria-disabled:border-blue-530 focus-visible:outline-blue-530 ring-blue-800 focus:outline-none focus-visible:ring-blue-800",
62
+ "secondary": "text-base-900 bg-cyan-160 border border-cyan-230 hover:bg-cyan-150 hover:border-cyan-230 hover:focus-visible:ring-0 active:bg-cyan-230 active:border-cyan-230 active:focus-visible:ring-0 disabled:bg-cyan-160 aria-disabled:bg-cyan-160 disabled:border-cyan-230 aria-disabled:border-cyan-230 focus-visible:outline-cyan-160 ring-cyan-500 focus:outline-none focus-visible:ring-cyan-500",
63
+ "collab": "text-white dark:text-collab-100 bg-collab-600 border border-collab-600 hover:bg-collab-500 hover:border-collab-500 hover:focus-visible:ring-0 active:bg-collab-700 active:border-collab-700 active:focus-visible:ring-0 disabled:bg-collab-600 aria-disabled:bg-collab-600 disabled:border-collab-600 aria-disabled:border-collab-600 focus-visible:outline-collab-600 ring-collab-900 focus:outline-none focus-visible:ring-collab-900",
64
+ "ai": "text-white dark:text-ai-100 bg-ai-450 border border-ai-450 hover:bg-ai-370 hover:border-ai-370 hover:focus-visible:ring-0 active:bg-ai-550 active:border-ai-550 active:focus-visible:ring-0 disabled:bg-ai-450 aria-disabled:bg-ai-450 disabled:border-ai-450 aria-disabled:border-ai-450 focus-visible:outline-ai-450 ring-ai-900 focus:outline-none focus-visible:ring-ai-900",
65
+ "link": "no-underline decoration-solid decoration-auto text-base-900 decoration-gray-900 bg-transparent border border-transparent dark:text-base-300 hover:text-base-750 dark:hover:text-base-400 hover:focus-visible:ring-0 active:text-base-900 dark:active:text-base-700 active:focus-visible:ring-0 disabled:text-base-900 aria-disabled:text-base-900 dark:disabled:text-base-300 dark:aria-disabled:disabled:text-base-300 focus-visible:outline-base-400 ring-base-850 focus:outline-none focus-visible:ring-base-850"
66
66
  },
67
67
  "depth": {
68
68
  "light": "",
@@ -1,3 +1,3 @@
1
1
  export default {
2
- "base": "max-w-[80rem] mx-auto px-5"
2
+ "base": "w-full max-w-[80rem] mx-auto px-5"
3
3
  }
@@ -62,9 +62,9 @@ export default {
62
62
  "childLinkDescription": "text-sm text-base-500 dark:text-base-700",
63
63
  "separator": "px-2 h-px bg-base-950/10 dark:bg-base-100/20",
64
64
  "viewportWrapper": "absolute top-full left-0 flex w-full",
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
+ "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] z-[1]",
66
66
  "content": "absolute top-0 left-0 w-full",
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
+ "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-[2] 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",
68
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"
69
69
  },
70
70
  "variants": {
@@ -122,8 +122,8 @@ export default {
122
122
  "orientation": {
123
123
  "horizontal": {
124
124
  "root": "items-center justify-between",
125
- "list": "flex items-center",
126
- "item": "py-2",
125
+ "list": "flex items-center gap-x-1",
126
+ "item": "py-2 empty:hidden",
127
127
  "link": "px-2.5 py-1.5 before:inset-x-px before:inset-y-0",
128
128
  "childList": "grid p-2"
129
129
  },
@@ -140,7 +140,7 @@ export default {
140
140
  "childLinkLabelExternalIcon": "h-4"
141
141
  },
142
142
  "vertical": {
143
- "viewport": "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
143
+ "viewport": "w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left) [&:has(>[data-viewport=rtl])]:left-auto [&:has(>[data-viewport=rtl])]:-right-[calc(100%-var(--reka-navigation-menu-viewport-width))]",
144
144
  "content": "",
145
145
  "childLinkLabel": "text-md text-base-950 dark:text-base-50",
146
146
  "childLinkLabelExternalIcon": "h-4"
@@ -210,6 +210,14 @@ export default {
210
210
  ]
211
211
  }
212
212
  },
213
+ {
214
+ "disabled": true,
215
+ "orientation": "horizontal" as typeof orientation[number],
216
+ "variant": "pill" as typeof variant[number],
217
+ "class": {
218
+ "link": "hover:before:rounded-md"
219
+ }
220
+ },
213
221
  {
214
222
  "disabled": false,
215
223
  "active": false,
@@ -258,6 +266,16 @@ export default {
258
266
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
259
267
  }
260
268
  },
269
+ {
270
+ "color": "default" as typeof color[number],
271
+ "orientation": "horizontal" as typeof orientation[number],
272
+ "variant": "pill" as typeof variant[number],
273
+ "active": true,
274
+ "class": {
275
+ "link": "min-h-9 before:rounded-md before:bg-base-800 dark:before:bg-white/35 hover:before:bg-base-800 hover:dark:before:bg-white/35 data-[state=open]:before:bg-base-800 dark:data-[state=open]:before:bg-white/35",
276
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
277
+ }
278
+ },
261
279
  {
262
280
  "color": "danger" as typeof color[number],
263
281
  "variant": "pill" as typeof variant[number],
@@ -268,6 +286,16 @@ export default {
268
286
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-red-800 dark:bg-red-800 rounded-2xl"
269
287
  }
270
288
  },
289
+ {
290
+ "color": "danger" as typeof color[number],
291
+ "orientation": "horizontal" as typeof orientation[number],
292
+ "variant": "pill" as typeof variant[number],
293
+ "active": true,
294
+ "class": {
295
+ "link": "min-h-9 before:rounded-md before:bg-red-800 dark:before:bg-red-800 hover:before:bg-red-800 hover:dark:before:bg-red-800 data-[state=open]:before:bg-red-800 dark:data-[state=open]:before:bg-red-800",
296
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
297
+ }
298
+ },
271
299
  {
272
300
  "color": "success" as typeof color[number],
273
301
  "variant": "pill" as typeof variant[number],
@@ -278,6 +306,16 @@ export default {
278
306
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-green-800 dark:bg-green-800 rounded-2xl"
279
307
  }
280
308
  },
309
+ {
310
+ "color": "success" as typeof color[number],
311
+ "orientation": "horizontal" as typeof orientation[number],
312
+ "variant": "pill" as typeof variant[number],
313
+ "active": true,
314
+ "class": {
315
+ "link": "min-h-9 before:rounded-md before:bg-green-800 dark:before:bg-green-800 hover:before:bg-green-800 hover:dark:before:bg-green-800 data-[state=open]:before:bg-green-800 dark:data-[state=open]:before:bg-green-800",
316
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
317
+ }
318
+ },
281
319
  {
282
320
  "color": "warning" as typeof color[number],
283
321
  "variant": "pill" as typeof variant[number],
@@ -288,6 +326,16 @@ export default {
288
326
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-orange-800 dark:bg-orange-800 rounded-2xl"
289
327
  }
290
328
  },
329
+ {
330
+ "color": "warning" as typeof color[number],
331
+ "orientation": "horizontal" as typeof orientation[number],
332
+ "variant": "pill" as typeof variant[number],
333
+ "active": true,
334
+ "class": {
335
+ "link": "min-h-9 before:rounded-md before:bg-orange-800 dark:before:bg-orange-800 hover:before:bg-orange-800 hover:dark:before:bg-orange-800 data-[state=open]:before:bg-orange-800 dark:data-[state=open]:before:bg-orange-800",
336
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
337
+ }
338
+ },
291
339
  {
292
340
  "color": "primary" as typeof color[number],
293
341
  "variant": "pill" as typeof variant[number],
@@ -298,6 +346,16 @@ export default {
298
346
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-blue-800 dark:bg-blue-800 rounded-2xl"
299
347
  }
300
348
  },
349
+ {
350
+ "color": "primary" as typeof color[number],
351
+ "orientation": "horizontal" as typeof orientation[number],
352
+ "variant": "pill" as typeof variant[number],
353
+ "active": true,
354
+ "class": {
355
+ "link": "min-h-9 before:rounded-md before:bg-blue-800 dark:before:bg-blue-800 hover:before:bg-blue-800 hover:dark:before:bg-blue-800 data-[state=open]:before:bg-blue-800 dark:data-[state=open]:before:bg-blue-800",
356
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
357
+ }
358
+ },
301
359
  {
302
360
  "color": "secondary" as typeof color[number],
303
361
  "variant": "pill" as typeof variant[number],
@@ -308,6 +366,16 @@ export default {
308
366
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-cyan-800 dark:bg-cyan-800 rounded-2xl"
309
367
  }
310
368
  },
369
+ {
370
+ "color": "secondary" as typeof color[number],
371
+ "orientation": "horizontal" as typeof orientation[number],
372
+ "variant": "pill" as typeof variant[number],
373
+ "active": true,
374
+ "class": {
375
+ "link": "min-h-9 before:rounded-md before:bg-cyan-800 dark:before:bg-cyan-800 hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800 data-[state=open]:before:bg-cyan-800 dark:data-[state=open]:before:bg-cyan-800",
376
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
377
+ }
378
+ },
311
379
  {
312
380
  "color": "collab" as typeof color[number],
313
381
  "variant": "pill" as typeof variant[number],
@@ -318,6 +386,16 @@ export default {
318
386
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-collab-800 dark:bg-collab-800 rounded-2xl"
319
387
  }
320
388
  },
389
+ {
390
+ "color": "collab" as typeof color[number],
391
+ "orientation": "horizontal" as typeof orientation[number],
392
+ "variant": "pill" as typeof variant[number],
393
+ "active": true,
394
+ "class": {
395
+ "link": "min-h-9 before:rounded-md before:bg-collab-800 dark:before:bg-collab-800 hover:before:bg-collab-800 hover:dark:before:bg-collab-800 data-[state=open]:before:bg-collab-800 dark:data-[state=open]:before:bg-collab-800",
396
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
397
+ }
398
+ },
321
399
  {
322
400
  "color": "ai" as typeof color[number],
323
401
  "variant": "pill" as typeof variant[number],
@@ -328,6 +406,16 @@ export default {
328
406
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-ai-800 dark:bg-ai-800 rounded-2xl"
329
407
  }
330
408
  },
409
+ {
410
+ "color": "ai" as typeof color[number],
411
+ "orientation": "horizontal" as typeof orientation[number],
412
+ "variant": "pill" as typeof variant[number],
413
+ "active": true,
414
+ "class": {
415
+ "link": "min-h-9 before:rounded-md before:bg-ai-800 dark:before:bg-ai-800 hover:before:bg-ai-800 hover:dark:before:bg-ai-800 data-[state=open]:before:bg-ai-800 dark:data-[state=open]:before:bg-ai-800",
416
+ "linkLabelWrapper": "min-h-9 bg-inherit dark:bg-inherit rounded-none"
417
+ }
418
+ },
331
419
  {
332
420
  "variant": "pill" as typeof variant[number],
333
421
  "active": true,
@@ -338,15 +426,101 @@ export default {
338
426
  "linkLabelWrapper": "px-3 -ms-3 rtl:-me-3 rtl:ms-0 leading-[1.563rem] bg-base-800 dark:bg-white/35 rounded-2xl"
339
427
  }
340
428
  },
429
+ {
430
+ "variant": "pill" as typeof variant[number],
431
+ "orientation": "horizontal" as typeof orientation[number],
432
+ "active": true,
433
+ "highlight": false,
434
+ "class": {
435
+ "linkLabelWrapper": "bg-inherit dark:bg-inherit"
436
+ }
437
+ },
341
438
  {
342
439
  "variant": "pill" as typeof variant[number],
343
440
  "active": true,
344
441
  "highlight": true,
345
442
  "class": {
346
- "link": [
347
- "hover:before:bg-base-250/80 dark:hover:before:bg-white/10",
348
- "before:transition-colors"
349
- ]
443
+ "link": "hover:before:bg-base-250/80 dark:hover:before:bg-white/10 before:transition-colors"
444
+ }
445
+ },
446
+ {
447
+ "color": "default" as typeof color[number],
448
+ "orientation": "horizontal" as typeof orientation[number],
449
+ "variant": "pill" as typeof variant[number],
450
+ "active": true,
451
+ "highlight": true,
452
+ "class": {
453
+ "link": "hover:before:bg-base-800 hover:dark:before:bg-white/35 before:transition-colors"
454
+ }
455
+ },
456
+ {
457
+ "color": "danger" as typeof color[number],
458
+ "orientation": "horizontal" as typeof orientation[number],
459
+ "variant": "pill" as typeof variant[number],
460
+ "active": true,
461
+ "highlight": true,
462
+ "class": {
463
+ "link": "hover:before:bg-red-800 hover:dark:before:bg-red-800 before:transition-colors"
464
+ }
465
+ },
466
+ {
467
+ "color": "success" as typeof color[number],
468
+ "orientation": "horizontal" as typeof orientation[number],
469
+ "variant": "pill" as typeof variant[number],
470
+ "active": true,
471
+ "highlight": true,
472
+ "class": {
473
+ "link": "hover:before:bg-green-800 hover:dark:before:bg-green-800 before:transition-colors"
474
+ }
475
+ },
476
+ {
477
+ "color": "warning" as typeof color[number],
478
+ "orientation": "horizontal" as typeof orientation[number],
479
+ "variant": "pill" as typeof variant[number],
480
+ "active": true,
481
+ "highlight": true,
482
+ "class": {
483
+ "link": "hover:before:bg-orange-800 hover:dark:before:bg-orange-800 before:transition-colors"
484
+ }
485
+ },
486
+ {
487
+ "color": "primary" as typeof color[number],
488
+ "orientation": "horizontal" as typeof orientation[number],
489
+ "variant": "pill" as typeof variant[number],
490
+ "active": true,
491
+ "highlight": true,
492
+ "class": {
493
+ "link": "hover:before:bg-blue-800 hover:dark:before:bg-blue-800 before:transition-colors"
494
+ }
495
+ },
496
+ {
497
+ "color": "secondary" as typeof color[number],
498
+ "orientation": "horizontal" as typeof orientation[number],
499
+ "variant": "pill" as typeof variant[number],
500
+ "active": true,
501
+ "highlight": true,
502
+ "class": {
503
+ "link": "hover:before:bg-cyan-800 hover:dark:before:bg-cyan-800 before:transition-colors"
504
+ }
505
+ },
506
+ {
507
+ "color": "collab" as typeof color[number],
508
+ "orientation": "horizontal" as typeof orientation[number],
509
+ "variant": "pill" as typeof variant[number],
510
+ "active": true,
511
+ "highlight": true,
512
+ "class": {
513
+ "link": "hover:before:bg-collab-800 hover:dark:before:bg-collab-800 before:transition-colors"
514
+ }
515
+ },
516
+ {
517
+ "color": "ai" as typeof color[number],
518
+ "orientation": "horizontal" as typeof orientation[number],
519
+ "variant": "pill" as typeof variant[number],
520
+ "active": true,
521
+ "highlight": true,
522
+ "class": {
523
+ "link": "hover:before:bg-ai-800 hover:dark:before:bg-ai-800 before:transition-colors"
350
524
  }
351
525
  },
352
526
  {
@@ -354,8 +528,8 @@ export default {
354
528
  "variant": "link" as typeof variant[number],
355
529
  "class": {
356
530
  "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"
531
+ "viewport": "rounded-b-md [&:has(>[data-viewport=ltr])]:rounded-tr-md [&:has(>[data-viewport=rtl])]:rounded-tl-md clip-path-viewport-wrapper",
532
+ "link": "before:inset-x-[0px] before:-inset-y-[6px] before:h-[70px] before:rounded-t-md"
359
533
  }
360
534
  },
361
535
  {
@@ -19,7 +19,7 @@ const size = [
19
19
  export default {
20
20
  "slots": {
21
21
  "root": "relative flex items-start",
22
- "base": "cursor-pointer inline-flex items-center shrink-0 rounded-full border-2 border-transparent data-[state=unchecked]:bg-base-200 dark:data-[state=unchecked]:bg-base-800 outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2 transition-colors duration-200",
22
+ "base": "cursor-pointer inline-flex items-center shrink-0 rounded-full border-2 border-transparent data-[state=unchecked]:bg-base-200 dark:data-[state=unchecked]:bg-base-800 outline-transparent focus-visible:outline-2 focus-visible:outline-offset-2 transition-[background] duration-200",
23
23
  "container": "flex items-center",
24
24
  "thumb": "group pointer-events-none rounded-full bg-white dark:bg-base-100 shadow-lg ring-0 transition-transform duration-200 data-[state=unchecked]:translate-x-0 data-[state=unchecked]:rtl:-translate-x-0 flex items-center justify-center",
25
25
  "icon": "absolute shrink-0 group-data-[state=unchecked]:text-base-400 dark:group-data-[state=unchecked]:text-base-700 opacity-0 p-0.5 size-10/10 transition-[color,opacity] duration-200",
@@ -32,7 +32,7 @@ export default {
32
32
  "root": "flex items-center gap-2",
33
33
  "list": "relative flex p-1 group",
34
34
  "indicator": "absolute transition-[translate,width] duration-200",
35
- "trigger": "group relative inline-flex items-center shrink-0 min-w-0 data-[state=inactive]:text-base-600 dark:data-[state=inactive]:text-base-600 hover:data-[state=inactive]:not-disabled:text-base-master dark:hover:data-[state=inactive]:not-disabled:text-base-150 font-medium rounded-xl cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 focus:outline-hidden transition-colors",
35
+ "trigger": "group relative inline-flex items-center shrink-0 min-w-0 data-[state=inactive]:text-base-600 dark:data-[state=inactive]:text-base-600 hover:data-[state=inactive]:not-disabled:text-base-master dark:hover:data-[state=inactive]:not-disabled:text-base-150 font-medium rounded-xl cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 transition-colors",
36
36
  "content": "focus:outline-none w-full",
37
37
  "leadingIcon": "shrink-0",
38
38
  "leadingAvatar": "shrink-0",