@bitrix24/b24ui-nuxt 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (159) hide show
  1. package/.nuxt/b24ui/advice.ts +52 -0
  2. package/.nuxt/b24ui/alert.ts +118 -0
  3. package/.nuxt/b24ui/avatar-group.ts +52 -0
  4. package/.nuxt/b24ui/avatar.ts +63 -0
  5. package/.nuxt/b24ui/badge.ts +256 -0
  6. package/.nuxt/b24ui/button-group.ts +27 -0
  7. package/.nuxt/b24ui/button.ts +342 -0
  8. package/.nuxt/b24ui/checkbox.ts +128 -0
  9. package/.nuxt/b24ui/chip.ts +205 -0
  10. package/.nuxt/b24ui/container.ts +3 -0
  11. package/.nuxt/b24ui/content/description-list.ts +62 -0
  12. package/.nuxt/b24ui/countdown.ts +94 -0
  13. package/.nuxt/b24ui/form-field.ts +57 -0
  14. package/.nuxt/b24ui/form.ts +3 -0
  15. package/.nuxt/b24ui/index.ts +28 -0
  16. package/.nuxt/b24ui/input.ts +472 -0
  17. package/.nuxt/b24ui/kbd.ts +31 -0
  18. package/.nuxt/b24ui/link.ts +20 -0
  19. package/.nuxt/b24ui/progress.ts +303 -0
  20. package/.nuxt/b24ui/radio-group.ts +135 -0
  21. package/.nuxt/b24ui/range.ts +172 -0
  22. package/.nuxt/b24ui/select.ts +550 -0
  23. package/.nuxt/b24ui/separator.ts +176 -0
  24. package/.nuxt/b24ui/skeleton.ts +3 -0
  25. package/.nuxt/b24ui/switch.ts +134 -0
  26. package/.nuxt/b24ui/tabs.ts +341 -0
  27. package/.nuxt/b24ui/textarea.ts +332 -0
  28. package/.nuxt/b24ui/toast.ts +89 -0
  29. package/.nuxt/b24ui/toaster.ts +91 -0
  30. package/.nuxt/b24ui/tooltip.ts +16 -0
  31. package/LICENSE +21 -0
  32. package/README.md +101 -0
  33. package/cli/commands/make/component.mjs +95 -0
  34. package/cli/commands/make/index.mjs +14 -0
  35. package/cli/commands/make/locale.mjs +64 -0
  36. package/cli/index.mjs +15 -0
  37. package/cli/package.json +13 -0
  38. package/cli/templates.mjs +240 -0
  39. package/cli/utils.mjs +31 -0
  40. package/dist/meta.cjs +23610 -0
  41. package/dist/meta.d.cts +23608 -0
  42. package/dist/meta.d.mts +23608 -0
  43. package/dist/meta.d.ts +23608 -0
  44. package/dist/meta.mjs +23608 -0
  45. package/dist/module.cjs +54 -0
  46. package/dist/module.d.cts +14 -0
  47. package/dist/module.d.mts +14 -0
  48. package/dist/module.d.ts +14 -0
  49. package/dist/module.json +13 -0
  50. package/dist/module.mjs +51 -0
  51. package/dist/runtime/components/Advice.vue +115 -0
  52. package/dist/runtime/components/Alert.vue +136 -0
  53. package/dist/runtime/components/App.vue +52 -0
  54. package/dist/runtime/components/Avatar.vue +118 -0
  55. package/dist/runtime/components/AvatarGroup.vue +99 -0
  56. package/dist/runtime/components/Badge.vue +114 -0
  57. package/dist/runtime/components/Button.vue +177 -0
  58. package/dist/runtime/components/ButtonGroup.vue +58 -0
  59. package/dist/runtime/components/Checkbox.vue +110 -0
  60. package/dist/runtime/components/Chip.vue +81 -0
  61. package/dist/runtime/components/Container.vue +36 -0
  62. package/dist/runtime/components/Countdown.vue +498 -0
  63. package/dist/runtime/components/Form.vue +271 -0
  64. package/dist/runtime/components/FormField.vue +128 -0
  65. package/dist/runtime/components/Input.vue +224 -0
  66. package/dist/runtime/components/Kbd.vue +50 -0
  67. package/dist/runtime/components/Link.vue +219 -0
  68. package/dist/runtime/components/LinkBase.vue +63 -0
  69. package/dist/runtime/components/Progress.vue +182 -0
  70. package/dist/runtime/components/RadioGroup.vue +178 -0
  71. package/dist/runtime/components/Range.vue +114 -0
  72. package/dist/runtime/components/Select.vue +328 -0
  73. package/dist/runtime/components/Separator.vue +82 -0
  74. package/dist/runtime/components/Skeleton.vue +31 -0
  75. package/dist/runtime/components/Switch.vue +133 -0
  76. package/dist/runtime/components/Tabs.vue +127 -0
  77. package/dist/runtime/components/Textarea.vue +216 -0
  78. package/dist/runtime/components/Toast.vue +168 -0
  79. package/dist/runtime/components/Toaster.vue +143 -0
  80. package/dist/runtime/components/Tooltip.vue +94 -0
  81. package/dist/runtime/components/content/DescriptionList.vue +220 -0
  82. package/dist/runtime/composables/defineLocale.d.ts +9 -0
  83. package/dist/runtime/composables/defineLocale.js +4 -0
  84. package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
  85. package/dist/runtime/composables/defineShortcuts.js +135 -0
  86. package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
  87. package/dist/runtime/composables/useAvatarGroup.js +10 -0
  88. package/dist/runtime/composables/useButtonGroup.d.ts +17 -0
  89. package/dist/runtime/composables/useButtonGroup.js +10 -0
  90. package/dist/runtime/composables/useComponentIcons.d.ts +20 -0
  91. package/dist/runtime/composables/useComponentIcons.js +25 -0
  92. package/dist/runtime/composables/useFormField.d.ts +42 -0
  93. package/dist/runtime/composables/useFormField.js +65 -0
  94. package/dist/runtime/composables/useKbd.d.ts +35 -0
  95. package/dist/runtime/composables/useKbd.js +52 -0
  96. package/dist/runtime/composables/useLocale.d.ts +4 -0
  97. package/dist/runtime/composables/useLocale.js +10 -0
  98. package/dist/runtime/composables/useToast.d.ts +12 -0
  99. package/dist/runtime/composables/useToast.js +62 -0
  100. package/dist/runtime/dictionary/icons.d.ts +20 -0
  101. package/dist/runtime/dictionary/icons.js +35 -0
  102. package/dist/runtime/index.css +1 -0
  103. package/dist/runtime/keyframes.css +1 -0
  104. package/dist/runtime/locale/en.d.ts +2 -0
  105. package/dist/runtime/locale/en.js +48 -0
  106. package/dist/runtime/locale/es.d.ts +2 -0
  107. package/dist/runtime/locale/es.js +48 -0
  108. package/dist/runtime/locale/index.d.ts +3 -0
  109. package/dist/runtime/locale/index.js +3 -0
  110. package/dist/runtime/locale/ru.d.ts +2 -0
  111. package/dist/runtime/locale/ru.js +48 -0
  112. package/dist/runtime/plugins/colors.d.ts +2 -0
  113. package/dist/runtime/plugins/colors.js +40 -0
  114. package/dist/runtime/types/app.config.d.ts +6 -0
  115. package/dist/runtime/types/form.d.ts +84 -0
  116. package/dist/runtime/types/form.js +12 -0
  117. package/dist/runtime/types/icons.d.ts +3 -0
  118. package/dist/runtime/types/icons.js +0 -0
  119. package/dist/runtime/types/index.d.ts +33 -0
  120. package/dist/runtime/types/index.js +33 -0
  121. package/dist/runtime/types/locale.d.ts +50 -0
  122. package/dist/runtime/types/locale.js +0 -0
  123. package/dist/runtime/types/utils.d.ts +22 -0
  124. package/dist/runtime/types/utils.js +0 -0
  125. package/dist/runtime/utils/form.d.ts +17 -0
  126. package/dist/runtime/utils/form.js +153 -0
  127. package/dist/runtime/utils/fuse.d.ts +4 -0
  128. package/dist/runtime/utils/fuse.js +63 -0
  129. package/dist/runtime/utils/index.d.ts +6 -0
  130. package/dist/runtime/utils/index.js +63 -0
  131. package/dist/runtime/utils/link.d.ts +29 -0
  132. package/dist/runtime/utils/link.js +4 -0
  133. package/dist/runtime/utils/locale.d.ts +15 -0
  134. package/dist/runtime/utils/locale.js +25 -0
  135. package/dist/runtime/utils/tv.d.ts +1 -0
  136. package/dist/runtime/utils/tv.js +4 -0
  137. package/dist/runtime/vue/components/Link.vue +203 -0
  138. package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
  139. package/dist/runtime/vue/plugins/color-mode.js +6 -0
  140. package/dist/runtime/vue/plugins/head.d.ts +4 -0
  141. package/dist/runtime/vue/plugins/head.js +6 -0
  142. package/dist/runtime/vue/stubs.d.ts +15 -0
  143. package/dist/runtime/vue/stubs.js +27 -0
  144. package/dist/shared/b24ui-nuxt.CNGvMe2S.mjs +4074 -0
  145. package/dist/shared/b24ui-nuxt.D22QQtm8.cjs +4079 -0
  146. package/dist/types.d.mts +1 -0
  147. package/dist/types.d.ts +1 -0
  148. package/dist/unplugin.cjs +213 -0
  149. package/dist/unplugin.d.cts +22 -0
  150. package/dist/unplugin.d.mts +22 -0
  151. package/dist/unplugin.d.ts +22 -0
  152. package/dist/unplugin.mjs +202 -0
  153. package/dist/vite.cjs +21 -0
  154. package/dist/vite.d.cts +12 -0
  155. package/dist/vite.d.mts +12 -0
  156. package/dist/vite.d.ts +12 -0
  157. package/dist/vite.mjs +19 -0
  158. package/package.json +166 -0
  159. package/vue-plugin.d.ts +5 -0
@@ -0,0 +1,176 @@
1
+ const color = [
2
+ "default",
3
+ "danger",
4
+ "success",
5
+ "warning",
6
+ "primary",
7
+ "secondary",
8
+ "collab",
9
+ "ai"
10
+ ] as const
11
+
12
+ const orientation = [
13
+ "horizontal",
14
+ "vertical"
15
+ ] as const
16
+
17
+ const size = [
18
+ "xs",
19
+ "sm",
20
+ "md",
21
+ "lg",
22
+ "xl"
23
+ ] as const
24
+
25
+ const type = [
26
+ "solid",
27
+ "dashed",
28
+ "dotted"
29
+ ] as const
30
+
31
+ export default {
32
+ "slots": {
33
+ "root": "flex items-center align-center text-center",
34
+ "border": "",
35
+ "container": "font-b24-primary font-normal text-base-500 flex",
36
+ "icon": "shrink-0 size-7",
37
+ "avatar": "shrink-0",
38
+ "avatarSize": "sm",
39
+ "label": "text-sm"
40
+ },
41
+ "variants": {
42
+ "color": {
43
+ "default": {
44
+ "border": "border-base-master/10 dark:border-base-100/20"
45
+ },
46
+ "danger": {
47
+ "border": "border-red-500 dark:border-red-600"
48
+ },
49
+ "success": {
50
+ "border": "border-green-500 dark:border-green-600"
51
+ },
52
+ "warning": {
53
+ "border": "border-orange-500 dark:border-orange-600"
54
+ },
55
+ "primary": {
56
+ "border": "border-blue-500 dark:border-blue-600"
57
+ },
58
+ "secondary": {
59
+ "border": "border-cyan-350 dark:border-cyan-500"
60
+ },
61
+ "collab": {
62
+ "border": "border-collab-500 dark:border-collab-600"
63
+ },
64
+ "ai": {
65
+ "border": "border-ai-500 dark:border-ai-600"
66
+ }
67
+ },
68
+ "orientation": {
69
+ "horizontal": {
70
+ "root": "w-full flex-row",
71
+ "border": "w-full",
72
+ "container": "mx-3 whitespace-nowrap"
73
+ },
74
+ "vertical": {
75
+ "root": "h-full flex-col",
76
+ "border": "h-full",
77
+ "container": "my-2"
78
+ }
79
+ },
80
+ "size": {
81
+ "xs": "",
82
+ "sm": "",
83
+ "md": "",
84
+ "lg": "",
85
+ "xl": ""
86
+ },
87
+ "type": {
88
+ "solid": {
89
+ "border": "border-solid"
90
+ },
91
+ "dashed": {
92
+ "border": "border-dashed"
93
+ },
94
+ "dotted": {
95
+ "border": "border-dotted"
96
+ }
97
+ }
98
+ },
99
+ "compoundVariants": [
100
+ {
101
+ "orientation": "horizontal" as typeof orientation[number],
102
+ "size": "xs" as typeof size[number],
103
+ "class": {
104
+ "border": "border-t"
105
+ }
106
+ },
107
+ {
108
+ "orientation": "horizontal" as typeof orientation[number],
109
+ "size": "sm" as typeof size[number],
110
+ "class": {
111
+ "border": "border-t-[2px]"
112
+ }
113
+ },
114
+ {
115
+ "orientation": "horizontal" as typeof orientation[number],
116
+ "size": "md" as typeof size[number],
117
+ "class": {
118
+ "border": "border-t-[3px]"
119
+ }
120
+ },
121
+ {
122
+ "orientation": "horizontal" as typeof orientation[number],
123
+ "size": "lg" as typeof size[number],
124
+ "class": {
125
+ "border": "border-t-[4px]"
126
+ }
127
+ },
128
+ {
129
+ "orientation": "horizontal" as typeof orientation[number],
130
+ "size": "xl" as typeof size[number],
131
+ "class": {
132
+ "border": "border-t-[5px]"
133
+ }
134
+ },
135
+ {
136
+ "orientation": "vertical" as typeof orientation[number],
137
+ "size": "xs" as typeof size[number],
138
+ "class": {
139
+ "border": "border-s"
140
+ }
141
+ },
142
+ {
143
+ "orientation": "vertical" as typeof orientation[number],
144
+ "size": "sm" as typeof size[number],
145
+ "class": {
146
+ "border": "border-s-[2px]"
147
+ }
148
+ },
149
+ {
150
+ "orientation": "vertical" as typeof orientation[number],
151
+ "size": "md" as typeof size[number],
152
+ "class": {
153
+ "border": "border-s-[3px]"
154
+ }
155
+ },
156
+ {
157
+ "orientation": "vertical" as typeof orientation[number],
158
+ "size": "lg" as typeof size[number],
159
+ "class": {
160
+ "border": "border-s-[4px]"
161
+ }
162
+ },
163
+ {
164
+ "orientation": "vertical" as typeof orientation[number],
165
+ "size": "xl" as typeof size[number],
166
+ "class": {
167
+ "border": "border-s-[5px]"
168
+ }
169
+ }
170
+ ],
171
+ "defaultVariants": {
172
+ "color": "default" as typeof color[number],
173
+ "size": "xs" as typeof size[number],
174
+ "type": "solid" as typeof type[number]
175
+ }
176
+ }
@@ -0,0 +1,3 @@
1
+ export default {
2
+ "base": "animate-pulse rounded-md bg-gray-200 dark:bg-gray-800"
3
+ }
@@ -0,0 +1,134 @@
1
+ const color = [
2
+ "default",
3
+ "danger",
4
+ "success",
5
+ "warning",
6
+ "primary",
7
+ "secondary",
8
+ "collab",
9
+ "ai"
10
+ ] as const
11
+
12
+ const size = [
13
+ "xs",
14
+ "sm",
15
+ "md",
16
+ "lg"
17
+ ] as const
18
+
19
+ export default {
20
+ "slots": {
21
+ "root": "relative flex items-start",
22
+ "base": [
23
+ "cursor-pointer inline-flex items-center shrink-0 rounded-full border-2 border-transparent focus-visible:outline-2 focus-visible:outline-offset-2 data-[state=unchecked]:bg-base-200 dark:data-[state=unchecked]:bg-base-800",
24
+ "transition-colors duration-200"
25
+ ],
26
+ "container": "flex items-center",
27
+ "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",
28
+ "icon": [
29
+ "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",
30
+ "transition-[color,opacity] duration-200"
31
+ ],
32
+ "wrapper": "font-b24-primary font-regular ms-2",
33
+ "label": "cursor-pointer block text-base-master dark:text-base-400",
34
+ "description": "text-base-500 dark:text-base-600"
35
+ },
36
+ "variants": {
37
+ "color": {
38
+ "default": {
39
+ "base": "data-[state=checked]:bg-base-900 focus-visible:outline-base-900 dark:data-[state=checked]:bg-base-100 dark:focus-visible:outline-base-100",
40
+ "icon": "group-data-[state=checked]:text-base-900 dark:group-data-[state=checked]:text-base-900",
41
+ "thumb": "dark:data-[state=checked]:bg-base-master"
42
+ },
43
+ "danger": {
44
+ "base": "data-[state=checked]:bg-red-500 focus-visible:outline-red-500 dark:data-[state=checked]:bg-red-600 dark:focus-visible:outline-red-600",
45
+ "icon": "group-data-[state=checked]:text-red-500 dark:group-data-[state=checked]:text-red-600"
46
+ },
47
+ "success": {
48
+ "base": "data-[state=checked]:bg-green-500 focus-visible:outline-green-500 dark:data-[state=checked]:bg-green-600 dark:focus-visible:outline-green-600",
49
+ "icon": "group-data-[state=checked]:text-green-500 dark:group-data-[state=checked]:text-green-600"
50
+ },
51
+ "warning": {
52
+ "base": "data-[state=checked]:bg-orange-500 focus-visible:outline-orange-500 dark:data-[state=checked]:bg-orange-600 dark:focus-visible:outline-orange-600",
53
+ "icon": "group-data-[state=checked]:text-orange-500 dark:group-data-[state=checked]:text-orange-600"
54
+ },
55
+ "primary": {
56
+ "base": "data-[state=checked]:bg-blue-500 focus-visible:outline-blue-500 dark:data-[state=checked]:bg-blue-600 dark:focus-visible:outline-blue-600",
57
+ "icon": "group-data-[state=checked]:text-blue-500 dark:group-data-[state=checked]:text-blue-600"
58
+ },
59
+ "secondary": {
60
+ "base": "data-[state=checked]:bg-cyan-350 focus-visible:outline-cyan-350 dark:data-[state=checked]:bg-cyan-500 dark:focus-visible:outline-cyan-500",
61
+ "icon": "group-data-[state=checked]:text-cyan-350 dark:group-data-[state=checked]:text-cyan-500"
62
+ },
63
+ "collab": {
64
+ "base": "data-[state=checked]:bg-collab-500 focus-visible:outline-collab-500 dark:data-[state=checked]:bg-collab-600 dark:focus-visible:outline-collab-600",
65
+ "icon": "group-data-[state=checked]:text-collab-500 dark:group-data-[state=checked]:text-collab-600"
66
+ },
67
+ "ai": {
68
+ "base": "data-[state=checked]:bg-ai-500 focus-visible:outline-ai-500 dark:data-[state=checked]:bg-ai-600 dark:focus-visible:outline-ai-600",
69
+ "icon": "group-data-[state=checked]:text-ai-500 dark:group-data-[state=checked]:text-ai-600"
70
+ }
71
+ },
72
+ "size": {
73
+ "xs": {
74
+ "base": "w-7",
75
+ "container": "h-4",
76
+ "thumb": "size-3 data-[state=checked]:translate-x-3 data-[state=checked]:rtl:-translate-x-3",
77
+ "wrapper": "text-xs",
78
+ "label": "leading-4"
79
+ },
80
+ "sm": {
81
+ "base": "w-8",
82
+ "container": "h-4",
83
+ "thumb": "size-3.5 data-[state=checked]:translate-x-3.5 data-[state=checked]:rtl:-translate-x-3.5",
84
+ "wrapper": "text-sm",
85
+ "label": "leading-4"
86
+ },
87
+ "md": {
88
+ "base": "w-9",
89
+ "container": "h-5",
90
+ "thumb": "size-4 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4",
91
+ "wrapper": "text-md",
92
+ "label": "leading-5"
93
+ },
94
+ "lg": {
95
+ "base": "w-10",
96
+ "container": "h-5",
97
+ "thumb": "size-5 data-[state=checked]:translate-x-4 data-[state=checked]:rtl:-translate-x-4",
98
+ "wrapper": "text-xl",
99
+ "label": "leading-5"
100
+ }
101
+ },
102
+ "checked": {
103
+ "true": {
104
+ "icon": "group-data-[state=checked]:opacity-100"
105
+ }
106
+ },
107
+ "unchecked": {
108
+ "true": {
109
+ "icon": "group-data-[state=unchecked]:opacity-100"
110
+ }
111
+ },
112
+ "loading": {
113
+ "true": {
114
+ "icon": "animate-spin"
115
+ }
116
+ },
117
+ "required": {
118
+ "true": {
119
+ "label": "after:content-['*'] after:ms-0.5 after:text-red-500 dark:after:text-red-600"
120
+ }
121
+ },
122
+ "disabled": {
123
+ "true": {
124
+ "base": "cursor-not-allowed opacity-75",
125
+ "label": "cursor-not-allowed opacity-75",
126
+ "description": "cursor-not-allowed opacity-75"
127
+ }
128
+ }
129
+ },
130
+ "defaultVariants": {
131
+ "color": "primary" as typeof color[number],
132
+ "size": "md" as typeof size[number]
133
+ }
134
+ }
@@ -0,0 +1,341 @@
1
+ const color = [
2
+ "default",
3
+ "danger",
4
+ "success",
5
+ "warning",
6
+ "primary",
7
+ "secondary",
8
+ "collab",
9
+ "ai"
10
+ ] as const
11
+
12
+ const variant = [
13
+ "pill",
14
+ "link"
15
+ ] as const
16
+
17
+ const orientation = [
18
+ "horizontal",
19
+ "vertical"
20
+ ] as const
21
+
22
+ const size = [
23
+ "xs",
24
+ "sm",
25
+ "md",
26
+ "lg",
27
+ "xl"
28
+ ] as const
29
+
30
+ export default {
31
+ "slots": {
32
+ "root": "flex items-center gap-2",
33
+ "list": "relative flex p-1 group",
34
+ "indicator": "absolute transition-[translate,width] duration-200",
35
+ "trigger": [
36
+ "group relative inline-flex items-center shrink-0 min-w-0",
37
+ "data-[state=inactive]:text-base-600 dark:data-[state=inactive]:text-base-600",
38
+ "hover:data-[state=inactive]:not-disabled:text-base-master dark:hover:data-[state=inactive]:not-disabled:text-base-150",
39
+ "font-medium rounded-xl",
40
+ "cursor-pointer disabled:cursor-not-allowed disabled:opacity-75 focus:outline-hidden",
41
+ "transition-colors"
42
+ ],
43
+ "content": "focus:outline-none w-full",
44
+ "leadingIcon": "shrink-0",
45
+ "leadingAvatar": "shrink-0",
46
+ "leadingAvatarSize": "",
47
+ "label": ""
48
+ },
49
+ "variants": {
50
+ "color": {
51
+ "default": "",
52
+ "danger": "",
53
+ "success": "",
54
+ "warning": "",
55
+ "primary": "",
56
+ "secondary": "",
57
+ "collab": "",
58
+ "ai": ""
59
+ },
60
+ "variant": {
61
+ "pill": {
62
+ "list": "bg-base-100 dark:bg-transparent rounded-md",
63
+ "trigger": "flex-1 w-full",
64
+ "indicator": "rounded-xl shadow-xs"
65
+ },
66
+ "link": {
67
+ "list": "border-base-300 dark:border-base-800",
68
+ "indicator": "rounded-full"
69
+ }
70
+ },
71
+ "orientation": {
72
+ "horizontal": {
73
+ "root": "flex-col",
74
+ "list": "w-full",
75
+ "indicator": "left-0 w-[var(--reka-tabs-indicator-size)] translate-x-[var(--reka-tabs-indicator-position)]",
76
+ "trigger": "justify-center"
77
+ },
78
+ "vertical": {
79
+ "list": "flex-col",
80
+ "indicator": "top-0 h-[var(--reka-tabs-indicator-size)] translate-y-[var(--reka-tabs-indicator-position)]"
81
+ }
82
+ },
83
+ "size": {
84
+ "xs": {
85
+ "trigger": "px-2 py-1 text-xs gap-1",
86
+ "leadingIcon": "size-4",
87
+ "leadingAvatarSize": "3xs"
88
+ },
89
+ "sm": {
90
+ "trigger": "px-2.5 py-1.5 text-xs gap-1.5",
91
+ "leadingIcon": "size-4",
92
+ "leadingAvatarSize": "3xs"
93
+ },
94
+ "md": {
95
+ "trigger": "px-3 py-1.5 text-sm gap-1.5",
96
+ "leadingIcon": "size-5",
97
+ "leadingAvatarSize": "2xs"
98
+ },
99
+ "lg": {
100
+ "trigger": "px-3 py-2 text-sm gap-2",
101
+ "leadingIcon": "size-5",
102
+ "leadingAvatarSize": "2xs"
103
+ },
104
+ "xl": {
105
+ "trigger": "px-3 py-2 text-base gap-2",
106
+ "leadingIcon": "size-6",
107
+ "leadingAvatarSize": "xs"
108
+ }
109
+ }
110
+ },
111
+ "compoundVariants": [
112
+ {
113
+ "orientation": "horizontal" as typeof orientation[number],
114
+ "variant": "pill" as typeof variant[number],
115
+ "class": {
116
+ "indicator": "inset-y-1"
117
+ }
118
+ },
119
+ {
120
+ "orientation": "horizontal" as typeof orientation[number],
121
+ "variant": "link" as typeof variant[number],
122
+ "class": {
123
+ "list": "border-b -mb-px",
124
+ "indicator": "-bottom-px h-px"
125
+ }
126
+ },
127
+ {
128
+ "orientation": "vertical" as typeof orientation[number],
129
+ "variant": "pill" as typeof variant[number],
130
+ "class": {
131
+ "indicator": "inset-x-1",
132
+ "list": "items-center"
133
+ }
134
+ },
135
+ {
136
+ "orientation": "vertical" as typeof orientation[number],
137
+ "variant": "link" as typeof variant[number],
138
+ "class": {
139
+ "list": "border-s -ms-px",
140
+ "indicator": "-start-px w-px"
141
+ }
142
+ },
143
+ {
144
+ "color": "default" as typeof color[number],
145
+ "variant": "pill" as typeof variant[number],
146
+ "class": {
147
+ "indicator": "bg-base-900 dark:bg-base-900",
148
+ "trigger": [
149
+ "data-[state=active]:text-white focus-visible:outline-base-900",
150
+ "dark:data-[state=active]:text-base-200 dark:focus-visible:outline-base-900",
151
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
152
+ ]
153
+ }
154
+ },
155
+ {
156
+ "color": "default" as typeof color[number],
157
+ "variant": "link" as typeof variant[number],
158
+ "class": {
159
+ "indicator": "bg-base-900 dark:dark:bg-base-350",
160
+ "trigger": [
161
+ "focus-visible:ring-2 focus-visible:ring-inset",
162
+ "data-[state=active]:text-base-900 focus-visible:ring-base-900",
163
+ "dark:data-[state=active]:text-base-350 dark:focus-visible:ring-base-350"
164
+ ]
165
+ }
166
+ },
167
+ {
168
+ "color": "danger" as typeof color[number],
169
+ "variant": "pill" as typeof variant[number],
170
+ "class": {
171
+ "indicator": "bg-red-900 dark:bg-red-900",
172
+ "trigger": [
173
+ "data-[state=active]:text-white focus-visible:outline-red-900",
174
+ "dark:data-[state=active]:text-red-200 dark:focus-visible:outline-red-900",
175
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
176
+ ]
177
+ }
178
+ },
179
+ {
180
+ "color": "danger" as typeof color[number],
181
+ "variant": "link" as typeof variant[number],
182
+ "class": {
183
+ "indicator": "bg-red-900 dark:dark:bg-red-300",
184
+ "trigger": [
185
+ "focus-visible:ring-2 focus-visible:ring-inset",
186
+ "data-[state=active]:text-red-900 focus-visible:ring-red-900",
187
+ "dark:data-[state=active]:text-red-300 dark:focus-visible:ring-red-300"
188
+ ]
189
+ }
190
+ },
191
+ {
192
+ "color": "success" as typeof color[number],
193
+ "variant": "pill" as typeof variant[number],
194
+ "class": {
195
+ "indicator": "bg-green-900 dark:bg-green-900",
196
+ "trigger": [
197
+ "data-[state=active]:text-white focus-visible:outline-green-900",
198
+ "dark:data-[state=active]:text-green-200 dark:focus-visible:outline-green-900",
199
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
200
+ ]
201
+ }
202
+ },
203
+ {
204
+ "color": "success" as typeof color[number],
205
+ "variant": "link" as typeof variant[number],
206
+ "class": {
207
+ "indicator": "bg-green-900 dark:dark:bg-green-300",
208
+ "trigger": [
209
+ "focus-visible:ring-2 focus-visible:ring-inset",
210
+ "data-[state=active]:text-green-900 focus-visible:ring-green-900",
211
+ "dark:data-[state=active]:text-green-300 dark:focus-visible:ring-green-300"
212
+ ]
213
+ }
214
+ },
215
+ {
216
+ "color": "warning" as typeof color[number],
217
+ "variant": "pill" as typeof variant[number],
218
+ "class": {
219
+ "indicator": "bg-orange-900 dark:bg-orange-900",
220
+ "trigger": [
221
+ "data-[state=active]:text-white focus-visible:outline-orange-900",
222
+ "dark:data-[state=active]:text-orange-200 dark:focus-visible:outline-orange-900",
223
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
224
+ ]
225
+ }
226
+ },
227
+ {
228
+ "color": "warning" as typeof color[number],
229
+ "variant": "link" as typeof variant[number],
230
+ "class": {
231
+ "indicator": "bg-orange-900 dark:dark:bg-orange-300",
232
+ "trigger": [
233
+ "focus-visible:ring-2 focus-visible:ring-inset",
234
+ "data-[state=active]:text-orange-900 focus-visible:ring-orange-900",
235
+ "dark:data-[state=active]:text-orange-300 dark:focus-visible:ring-orange-300"
236
+ ]
237
+ }
238
+ },
239
+ {
240
+ "color": "primary" as typeof color[number],
241
+ "variant": "pill" as typeof variant[number],
242
+ "class": {
243
+ "indicator": "bg-blue-900 dark:bg-blue-900",
244
+ "trigger": [
245
+ "data-[state=active]:text-white focus-visible:outline-blue-900",
246
+ "dark:data-[state=active]:text-blue-200 dark:focus-visible:outline-blue-900",
247
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
248
+ ]
249
+ }
250
+ },
251
+ {
252
+ "color": "primary" as typeof color[number],
253
+ "variant": "link" as typeof variant[number],
254
+ "class": {
255
+ "indicator": "bg-blue-900 dark:dark:bg-blue-300",
256
+ "trigger": [
257
+ "focus-visible:ring-2 focus-visible:ring-inset",
258
+ "data-[state=active]:text-blue-900 focus-visible:ring-blue-900",
259
+ "dark:data-[state=active]:text-blue-300 dark:focus-visible:ring-blue-300"
260
+ ]
261
+ }
262
+ },
263
+ {
264
+ "color": "secondary" as typeof color[number],
265
+ "variant": "pill" as typeof variant[number],
266
+ "class": {
267
+ "indicator": "bg-cyan-900 dark:bg-cyan-900",
268
+ "trigger": [
269
+ "data-[state=active]:text-white focus-visible:outline-cyan-900",
270
+ "dark:data-[state=active]:text-cyan-200 dark:focus-visible:outline-cyan-900",
271
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
272
+ ]
273
+ }
274
+ },
275
+ {
276
+ "color": "secondary" as typeof color[number],
277
+ "variant": "link" as typeof variant[number],
278
+ "class": {
279
+ "indicator": "bg-cyan-900 dark:dark:bg-cyan-300",
280
+ "trigger": [
281
+ "focus-visible:ring-2 focus-visible:ring-inset",
282
+ "data-[state=active]:text-cyan-900 focus-visible:ring-cyan-900",
283
+ "dark:data-[state=active]:text-cyan-300 dark:focus-visible:ring-cyan-300"
284
+ ]
285
+ }
286
+ },
287
+ {
288
+ "color": "collab" as typeof color[number],
289
+ "variant": "pill" as typeof variant[number],
290
+ "class": {
291
+ "indicator": "bg-collab-900 dark:bg-collab-900",
292
+ "trigger": [
293
+ "data-[state=active]:text-white focus-visible:outline-collab-900",
294
+ "dark:data-[state=active]:text-collab-200 dark:focus-visible:outline-collab-900",
295
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
296
+ ]
297
+ }
298
+ },
299
+ {
300
+ "color": "collab" as typeof color[number],
301
+ "variant": "link" as typeof variant[number],
302
+ "class": {
303
+ "indicator": "bg-collab-900 dark:dark:bg-collab-300",
304
+ "trigger": [
305
+ "focus-visible:ring-2 focus-visible:ring-inset",
306
+ "data-[state=active]:text-collab-900 focus-visible:ring-collab-900",
307
+ "dark:data-[state=active]:text-collab-300 dark:focus-visible:ring-collab-300"
308
+ ]
309
+ }
310
+ },
311
+ {
312
+ "color": "ai" as typeof color[number],
313
+ "variant": "pill" as typeof variant[number],
314
+ "class": {
315
+ "indicator": "bg-ai-900 dark:bg-ai-900",
316
+ "trigger": [
317
+ "data-[state=active]:text-white focus-visible:outline-ai-900",
318
+ "dark:data-[state=active]:text-ai-200 dark:focus-visible:outline-ai-900",
319
+ "focus-visible:outline-2 focus-visible:outline-offset-2]"
320
+ ]
321
+ }
322
+ },
323
+ {
324
+ "color": "ai" as typeof color[number],
325
+ "variant": "link" as typeof variant[number],
326
+ "class": {
327
+ "indicator": "bg-ai-900 dark:dark:bg-ai-300",
328
+ "trigger": [
329
+ "focus-visible:ring-2 focus-visible:ring-inset",
330
+ "data-[state=active]:text-ai-900 focus-visible:ring-ai-900",
331
+ "dark:data-[state=active]:text-ai-300 dark:focus-visible:ring-ai-300"
332
+ ]
333
+ }
334
+ }
335
+ ],
336
+ "defaultVariants": {
337
+ "color": "default" as typeof color[number],
338
+ "variant": "link" as typeof variant[number],
339
+ "size": "md" as typeof size[number]
340
+ }
341
+ }