@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.
- package/.nuxt/b24ui/advice.ts +52 -0
- package/.nuxt/b24ui/alert.ts +118 -0
- package/.nuxt/b24ui/avatar-group.ts +52 -0
- package/.nuxt/b24ui/avatar.ts +63 -0
- package/.nuxt/b24ui/badge.ts +256 -0
- package/.nuxt/b24ui/button-group.ts +27 -0
- package/.nuxt/b24ui/button.ts +342 -0
- package/.nuxt/b24ui/checkbox.ts +128 -0
- package/.nuxt/b24ui/chip.ts +205 -0
- package/.nuxt/b24ui/container.ts +3 -0
- package/.nuxt/b24ui/content/description-list.ts +62 -0
- package/.nuxt/b24ui/countdown.ts +94 -0
- package/.nuxt/b24ui/form-field.ts +57 -0
- package/.nuxt/b24ui/form.ts +3 -0
- package/.nuxt/b24ui/index.ts +28 -0
- package/.nuxt/b24ui/input.ts +472 -0
- package/.nuxt/b24ui/kbd.ts +31 -0
- package/.nuxt/b24ui/link.ts +20 -0
- package/.nuxt/b24ui/progress.ts +303 -0
- package/.nuxt/b24ui/radio-group.ts +135 -0
- package/.nuxt/b24ui/range.ts +172 -0
- package/.nuxt/b24ui/select.ts +550 -0
- package/.nuxt/b24ui/separator.ts +176 -0
- package/.nuxt/b24ui/skeleton.ts +3 -0
- package/.nuxt/b24ui/switch.ts +134 -0
- package/.nuxt/b24ui/tabs.ts +341 -0
- package/.nuxt/b24ui/textarea.ts +332 -0
- package/.nuxt/b24ui/toast.ts +89 -0
- package/.nuxt/b24ui/toaster.ts +91 -0
- package/.nuxt/b24ui/tooltip.ts +16 -0
- package/LICENSE +21 -0
- package/README.md +101 -0
- package/cli/commands/make/component.mjs +95 -0
- package/cli/commands/make/index.mjs +14 -0
- package/cli/commands/make/locale.mjs +64 -0
- package/cli/index.mjs +15 -0
- package/cli/package.json +13 -0
- package/cli/templates.mjs +240 -0
- package/cli/utils.mjs +31 -0
- package/dist/meta.cjs +23610 -0
- package/dist/meta.d.cts +23608 -0
- package/dist/meta.d.mts +23608 -0
- package/dist/meta.d.ts +23608 -0
- package/dist/meta.mjs +23608 -0
- package/dist/module.cjs +54 -0
- package/dist/module.d.cts +14 -0
- package/dist/module.d.mts +14 -0
- package/dist/module.d.ts +14 -0
- package/dist/module.json +13 -0
- package/dist/module.mjs +51 -0
- package/dist/runtime/components/Advice.vue +115 -0
- package/dist/runtime/components/Alert.vue +136 -0
- package/dist/runtime/components/App.vue +52 -0
- package/dist/runtime/components/Avatar.vue +118 -0
- package/dist/runtime/components/AvatarGroup.vue +99 -0
- package/dist/runtime/components/Badge.vue +114 -0
- package/dist/runtime/components/Button.vue +177 -0
- package/dist/runtime/components/ButtonGroup.vue +58 -0
- package/dist/runtime/components/Checkbox.vue +110 -0
- package/dist/runtime/components/Chip.vue +81 -0
- package/dist/runtime/components/Container.vue +36 -0
- package/dist/runtime/components/Countdown.vue +498 -0
- package/dist/runtime/components/Form.vue +271 -0
- package/dist/runtime/components/FormField.vue +128 -0
- package/dist/runtime/components/Input.vue +224 -0
- package/dist/runtime/components/Kbd.vue +50 -0
- package/dist/runtime/components/Link.vue +219 -0
- package/dist/runtime/components/LinkBase.vue +63 -0
- package/dist/runtime/components/Progress.vue +182 -0
- package/dist/runtime/components/RadioGroup.vue +178 -0
- package/dist/runtime/components/Range.vue +114 -0
- package/dist/runtime/components/Select.vue +328 -0
- package/dist/runtime/components/Separator.vue +82 -0
- package/dist/runtime/components/Skeleton.vue +31 -0
- package/dist/runtime/components/Switch.vue +133 -0
- package/dist/runtime/components/Tabs.vue +127 -0
- package/dist/runtime/components/Textarea.vue +216 -0
- package/dist/runtime/components/Toast.vue +168 -0
- package/dist/runtime/components/Toaster.vue +143 -0
- package/dist/runtime/components/Tooltip.vue +94 -0
- package/dist/runtime/components/content/DescriptionList.vue +220 -0
- package/dist/runtime/composables/defineLocale.d.ts +9 -0
- package/dist/runtime/composables/defineLocale.js +4 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +15 -0
- package/dist/runtime/composables/defineShortcuts.js +135 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +10 -0
- package/dist/runtime/composables/useAvatarGroup.js +10 -0
- package/dist/runtime/composables/useButtonGroup.d.ts +17 -0
- package/dist/runtime/composables/useButtonGroup.js +10 -0
- package/dist/runtime/composables/useComponentIcons.d.ts +20 -0
- package/dist/runtime/composables/useComponentIcons.js +25 -0
- package/dist/runtime/composables/useFormField.d.ts +42 -0
- package/dist/runtime/composables/useFormField.js +65 -0
- package/dist/runtime/composables/useKbd.d.ts +35 -0
- package/dist/runtime/composables/useKbd.js +52 -0
- package/dist/runtime/composables/useLocale.d.ts +4 -0
- package/dist/runtime/composables/useLocale.js +10 -0
- package/dist/runtime/composables/useToast.d.ts +12 -0
- package/dist/runtime/composables/useToast.js +62 -0
- package/dist/runtime/dictionary/icons.d.ts +20 -0
- package/dist/runtime/dictionary/icons.js +35 -0
- package/dist/runtime/index.css +1 -0
- package/dist/runtime/keyframes.css +1 -0
- package/dist/runtime/locale/en.d.ts +2 -0
- package/dist/runtime/locale/en.js +48 -0
- package/dist/runtime/locale/es.d.ts +2 -0
- package/dist/runtime/locale/es.js +48 -0
- package/dist/runtime/locale/index.d.ts +3 -0
- package/dist/runtime/locale/index.js +3 -0
- package/dist/runtime/locale/ru.d.ts +2 -0
- package/dist/runtime/locale/ru.js +48 -0
- package/dist/runtime/plugins/colors.d.ts +2 -0
- package/dist/runtime/plugins/colors.js +40 -0
- package/dist/runtime/types/app.config.d.ts +6 -0
- package/dist/runtime/types/form.d.ts +84 -0
- package/dist/runtime/types/form.js +12 -0
- package/dist/runtime/types/icons.d.ts +3 -0
- package/dist/runtime/types/icons.js +0 -0
- package/dist/runtime/types/index.d.ts +33 -0
- package/dist/runtime/types/index.js +33 -0
- package/dist/runtime/types/locale.d.ts +50 -0
- package/dist/runtime/types/locale.js +0 -0
- package/dist/runtime/types/utils.d.ts +22 -0
- package/dist/runtime/types/utils.js +0 -0
- package/dist/runtime/utils/form.d.ts +17 -0
- package/dist/runtime/utils/form.js +153 -0
- package/dist/runtime/utils/fuse.d.ts +4 -0
- package/dist/runtime/utils/fuse.js +63 -0
- package/dist/runtime/utils/index.d.ts +6 -0
- package/dist/runtime/utils/index.js +63 -0
- package/dist/runtime/utils/link.d.ts +29 -0
- package/dist/runtime/utils/link.js +4 -0
- package/dist/runtime/utils/locale.d.ts +15 -0
- package/dist/runtime/utils/locale.js +25 -0
- package/dist/runtime/utils/tv.d.ts +1 -0
- package/dist/runtime/utils/tv.js +4 -0
- package/dist/runtime/vue/components/Link.vue +203 -0
- package/dist/runtime/vue/plugins/color-mode.d.ts +4 -0
- package/dist/runtime/vue/plugins/color-mode.js +6 -0
- package/dist/runtime/vue/plugins/head.d.ts +4 -0
- package/dist/runtime/vue/plugins/head.js +6 -0
- package/dist/runtime/vue/stubs.d.ts +15 -0
- package/dist/runtime/vue/stubs.js +27 -0
- package/dist/shared/b24ui-nuxt.CNGvMe2S.mjs +4074 -0
- package/dist/shared/b24ui-nuxt.D22QQtm8.cjs +4079 -0
- package/dist/types.d.mts +1 -0
- package/dist/types.d.ts +1 -0
- package/dist/unplugin.cjs +213 -0
- package/dist/unplugin.d.cts +22 -0
- package/dist/unplugin.d.mts +22 -0
- package/dist/unplugin.d.ts +22 -0
- package/dist/unplugin.mjs +202 -0
- package/dist/vite.cjs +21 -0
- package/dist/vite.d.cts +12 -0
- package/dist/vite.d.mts +12 -0
- package/dist/vite.d.ts +12 -0
- package/dist/vite.mjs +19 -0
- package/package.json +166 -0
- package/vue-plugin.d.ts +5 -0
|
@@ -0,0 +1,550 @@
|
|
|
1
|
+
const buttonGroup = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
const size = [
|
|
7
|
+
"xs",
|
|
8
|
+
"sm",
|
|
9
|
+
"md",
|
|
10
|
+
"lg"
|
|
11
|
+
] as const
|
|
12
|
+
|
|
13
|
+
const color = [
|
|
14
|
+
"default",
|
|
15
|
+
"danger",
|
|
16
|
+
"success",
|
|
17
|
+
"warning",
|
|
18
|
+
"primary",
|
|
19
|
+
"secondary",
|
|
20
|
+
"collab",
|
|
21
|
+
"ai"
|
|
22
|
+
] as const
|
|
23
|
+
|
|
24
|
+
const tagColor = [
|
|
25
|
+
"default",
|
|
26
|
+
"danger",
|
|
27
|
+
"success",
|
|
28
|
+
"warning",
|
|
29
|
+
"primary",
|
|
30
|
+
"secondary",
|
|
31
|
+
"collab",
|
|
32
|
+
"ai"
|
|
33
|
+
] as const
|
|
34
|
+
|
|
35
|
+
const type = [
|
|
36
|
+
"file"
|
|
37
|
+
] as const
|
|
38
|
+
|
|
39
|
+
export default {
|
|
40
|
+
"slots": {
|
|
41
|
+
"root": "relative inline-flex items-center min-w-full w-full",
|
|
42
|
+
"base": [
|
|
43
|
+
"relative inline-flex items-center group",
|
|
44
|
+
"min-w-full w-full py-0 border-0 focus:outline-none",
|
|
45
|
+
"cursor-pointer disabled:cursor-not-allowed",
|
|
46
|
+
"disabled:bg-base-30/37 disabled:text-base-500",
|
|
47
|
+
"dark:disabled:bg-base-900/37 dark:disabled:text-base-800",
|
|
48
|
+
"appearance-none transition duration-300 ease-linear",
|
|
49
|
+
"ring ring-inset ring-base-300",
|
|
50
|
+
"dark:ring-base-800",
|
|
51
|
+
"text-base-master bg-white hover:text-base-900 focus:text-base-900 active:text-base-900",
|
|
52
|
+
"dark:text-base-150 dark:bg-transparent dark:hover:text-base-350 dark:focus:text-base-350 dark:active:text-base-350",
|
|
53
|
+
"font-b24-primary font-regular text-sm",
|
|
54
|
+
"align-middle",
|
|
55
|
+
"text-ellipsis whitespace-nowrap"
|
|
56
|
+
],
|
|
57
|
+
"leading": "absolute inset-y-0 start-0 flex items-center",
|
|
58
|
+
"leadingIcon": "shrink-0 text-base-400",
|
|
59
|
+
"leadingAvatar": "shrink-0",
|
|
60
|
+
"leadingAvatarSize": "",
|
|
61
|
+
"trailing": "absolute inset-y-0 end-0 flex items-center",
|
|
62
|
+
"trailingIcon": "shrink-0 text-base-400",
|
|
63
|
+
"tag": [
|
|
64
|
+
"pointer-events-none select-none",
|
|
65
|
+
"absolute z-10 -top-1.5 right-3 h-sm px-1.5 flex flex-col justify-center items-center",
|
|
66
|
+
"font-b24-primary font-bold text-6xs leading-none uppercase rounded-full"
|
|
67
|
+
],
|
|
68
|
+
"value": "truncate pointer-events-none",
|
|
69
|
+
"placeholder": "truncate text-base-400 dark:text-base-300",
|
|
70
|
+
"arrow": "fill-base-master/10 dark:fill-base-100/20",
|
|
71
|
+
"content": [
|
|
72
|
+
"max-h-60 w-[var(--reka-popper-anchor-width)]",
|
|
73
|
+
"bg-white dark:bg-base-dark",
|
|
74
|
+
"shadow-md rounded-2xs ring ring-base-300 dark:ring-base-800",
|
|
75
|
+
"overflow-hidden",
|
|
76
|
+
"data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
77
|
+
"pointer-events-auto"
|
|
78
|
+
],
|
|
79
|
+
"scrollUpDownButton": [
|
|
80
|
+
"flex items-center justify-center h-[25px] cursor-default backdrop-blur",
|
|
81
|
+
"text-base-800 bg-white",
|
|
82
|
+
"dark:text-base-100 dark:bg-base-dark"
|
|
83
|
+
],
|
|
84
|
+
"scrollUpDownButtonIcon": "",
|
|
85
|
+
"viewport": "divide-y divide-base-master/10 dark:divide-base-100/20 scroll-py-1",
|
|
86
|
+
"group": "p-1 isolate",
|
|
87
|
+
"empty": "py-2 text-center text-sm text-base-500 dark:text-base-600",
|
|
88
|
+
"label": [
|
|
89
|
+
"flex items-center",
|
|
90
|
+
"font-semibold text-base-900 dark:text-base-200"
|
|
91
|
+
],
|
|
92
|
+
"separator": "-mx-1 my-1 h-px bg-base-master/10 dark:bg-base-100/20",
|
|
93
|
+
"item": [
|
|
94
|
+
"group relative w-full flex items-center select-none outline-none",
|
|
95
|
+
"before:absolute before:z-[-1] before:inset-px before:rounded-2xs",
|
|
96
|
+
"cursor-pointer",
|
|
97
|
+
"data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
98
|
+
"text-base-master dark:text-base-150 data-highlighted:text-base-900 dark:data-highlighted:text-base-200 data-highlighted:before:bg-base-100/50 dark:data-highlighted:before:bg-base-900",
|
|
99
|
+
"transition-colors before:transition-colors"
|
|
100
|
+
],
|
|
101
|
+
"itemLeadingIcon": [
|
|
102
|
+
"shrink-0 text-base-500 dark:text-base-700 group-data-highlighted:text-base-master dark:group-data-highlighted:text-base-150",
|
|
103
|
+
"transition-colors"
|
|
104
|
+
],
|
|
105
|
+
"itemLeadingAvatar": "shrink-0",
|
|
106
|
+
"itemLeadingAvatarSize": "",
|
|
107
|
+
"itemLeadingChip": "shrink-0",
|
|
108
|
+
"itemLeadingChipSize": "",
|
|
109
|
+
"itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
110
|
+
"itemTrailingIcon": "shrink-0",
|
|
111
|
+
"itemLabel": "truncate"
|
|
112
|
+
},
|
|
113
|
+
"variants": {
|
|
114
|
+
"buttonGroup": {
|
|
115
|
+
"horizontal": {
|
|
116
|
+
"root": "group",
|
|
117
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none group-not-only:group-first:border-e-0 group-not-only:group-not-first:border-s-0"
|
|
118
|
+
},
|
|
119
|
+
"vertical": {
|
|
120
|
+
"root": "group",
|
|
121
|
+
"base": "focus-visible:outline-none ring ring-inset ring-1 focus-visible:ring-2 group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"noSplit": {
|
|
125
|
+
"false": "not-only:not-first:after:content-[''] not-only:not-first:after:absolute not-only:not-first:after:top-[7px] not-only:not-first:after:bottom-[6px] not-only:not-first:after:left-0 not-only:not-first:after:w-px not-only:not-first:after:bg-current/30"
|
|
126
|
+
},
|
|
127
|
+
"size": {
|
|
128
|
+
"xs": {
|
|
129
|
+
"base": "px-3 h-xl2 gap-1",
|
|
130
|
+
"leading": "px-1",
|
|
131
|
+
"trailing": "px-1",
|
|
132
|
+
"leadingIcon": "size-lg2",
|
|
133
|
+
"leadingAvatarSize": "2xs",
|
|
134
|
+
"trailingIcon": "size-lg2",
|
|
135
|
+
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
136
|
+
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
137
|
+
"itemLeadingIcon": "size-5",
|
|
138
|
+
"itemLeadingAvatarSize": "2xs",
|
|
139
|
+
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
140
|
+
"itemLeadingChipSize": "sm",
|
|
141
|
+
"itemTrailingIcon": "size-3",
|
|
142
|
+
"scrollUpDownButtonIcon": "size-4"
|
|
143
|
+
},
|
|
144
|
+
"sm": {
|
|
145
|
+
"base": "px-3 h-8 gap-1.5",
|
|
146
|
+
"leading": "px-1.5",
|
|
147
|
+
"trailing": "px-1.5",
|
|
148
|
+
"leadingIcon": "size-lg2",
|
|
149
|
+
"leadingAvatarSize": "xs",
|
|
150
|
+
"trailingIcon": "size-lg2",
|
|
151
|
+
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
152
|
+
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
153
|
+
"itemLeadingIcon": "size-5",
|
|
154
|
+
"itemLeadingAvatarSize": "2xs",
|
|
155
|
+
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
156
|
+
"itemLeadingChipSize": "sm",
|
|
157
|
+
"itemTrailingIcon": "size-3",
|
|
158
|
+
"scrollUpDownButtonIcon": "size-4"
|
|
159
|
+
},
|
|
160
|
+
"md": {
|
|
161
|
+
"base": "px-3 h-10 gap-1.5",
|
|
162
|
+
"leading": "px-2",
|
|
163
|
+
"trailing": "px-2",
|
|
164
|
+
"leadingIcon": "size-[24px]",
|
|
165
|
+
"leadingAvatarSize": "sm",
|
|
166
|
+
"trailingIcon": "size-lg2",
|
|
167
|
+
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
168
|
+
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
169
|
+
"itemLeadingIcon": "size-5",
|
|
170
|
+
"itemLeadingAvatarSize": "2xs",
|
|
171
|
+
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
172
|
+
"itemLeadingChipSize": "sm",
|
|
173
|
+
"itemTrailingIcon": "size-3",
|
|
174
|
+
"scrollUpDownButtonIcon": "size-4"
|
|
175
|
+
},
|
|
176
|
+
"lg": {
|
|
177
|
+
"base": "px-3 h-12 gap-2",
|
|
178
|
+
"leading": "px-2",
|
|
179
|
+
"trailing": "px-2",
|
|
180
|
+
"leadingIcon": "size-[24px]",
|
|
181
|
+
"leadingAvatarSize": "md",
|
|
182
|
+
"trailingIcon": "size-lg2",
|
|
183
|
+
"label": "h-9 ps-2 pe-3 text-sm gap-2",
|
|
184
|
+
"item": "h-9 ps-3 pe-3 text-sm gap-2",
|
|
185
|
+
"itemLeadingIcon": "size-5",
|
|
186
|
+
"itemLeadingAvatarSize": "2xs",
|
|
187
|
+
"itemLeadingChip": "size-3 not-group-data-reka-collection-item:ps-2.5",
|
|
188
|
+
"itemLeadingChipSize": "sm",
|
|
189
|
+
"itemTrailingIcon": "size-3",
|
|
190
|
+
"scrollUpDownButtonIcon": "size-4"
|
|
191
|
+
}
|
|
192
|
+
},
|
|
193
|
+
"color": {
|
|
194
|
+
"default": "",
|
|
195
|
+
"danger": "",
|
|
196
|
+
"success": "",
|
|
197
|
+
"warning": "",
|
|
198
|
+
"primary": "",
|
|
199
|
+
"secondary": "",
|
|
200
|
+
"collab": "",
|
|
201
|
+
"ai": ""
|
|
202
|
+
},
|
|
203
|
+
"tagColor": {
|
|
204
|
+
"default": {
|
|
205
|
+
"tag": "text-white bg-base-900 dark:text-base-150 dark:bg-base-900"
|
|
206
|
+
},
|
|
207
|
+
"danger": {
|
|
208
|
+
"tag": "text-white bg-red-500 dark:text-red-250 dark:bg-red-600"
|
|
209
|
+
},
|
|
210
|
+
"success": {
|
|
211
|
+
"tag": "text-white bg-green-500 dark:text-green-250 dark:bg-green-600"
|
|
212
|
+
},
|
|
213
|
+
"warning": {
|
|
214
|
+
"tag": "text-white bg-orange-500 dark:text-orange-250 dark:bg-orange-600"
|
|
215
|
+
},
|
|
216
|
+
"primary": {
|
|
217
|
+
"tag": "text-white bg-blue-500 dark:text-blue-250 dark:bg-blue-600"
|
|
218
|
+
},
|
|
219
|
+
"secondary": {
|
|
220
|
+
"tag": "text-white bg-cyan-350 dark:text-base-150 dark:bg-cyan-500"
|
|
221
|
+
},
|
|
222
|
+
"collab": {
|
|
223
|
+
"tag": "text-white bg-collab-500 dark:text-collab-200 dark:bg-collab-800"
|
|
224
|
+
},
|
|
225
|
+
"ai": {
|
|
226
|
+
"tag": "text-white bg-ai-500 dark:text-ai-200 dark:bg-ai-800"
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
"rounded": {
|
|
230
|
+
"true": "rounded-3xl",
|
|
231
|
+
"false": "rounded-2xs"
|
|
232
|
+
},
|
|
233
|
+
"noPadding": {
|
|
234
|
+
"true": {
|
|
235
|
+
"base": "px-0"
|
|
236
|
+
}
|
|
237
|
+
},
|
|
238
|
+
"noBorder": {
|
|
239
|
+
"true": "ring-0 focus-visible:ring-0"
|
|
240
|
+
},
|
|
241
|
+
"underline": {
|
|
242
|
+
"true": "ring-0 focus-visible:ring-0 border-b border-b-base-300 rounded-none"
|
|
243
|
+
},
|
|
244
|
+
"leading": {
|
|
245
|
+
"true": ""
|
|
246
|
+
},
|
|
247
|
+
"trailing": {
|
|
248
|
+
"true": ""
|
|
249
|
+
},
|
|
250
|
+
"loading": {
|
|
251
|
+
"true": ""
|
|
252
|
+
},
|
|
253
|
+
"highlight": {
|
|
254
|
+
"true": ""
|
|
255
|
+
},
|
|
256
|
+
"type": {
|
|
257
|
+
"file": "file:me-1.5 file:text-base-500 file:outline-none"
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
"compoundVariants": [
|
|
261
|
+
{
|
|
262
|
+
"color": "default" as typeof color[number],
|
|
263
|
+
"noBorder": false,
|
|
264
|
+
"underline": false,
|
|
265
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-base-900 dark:focus-visible:ring-base-350"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"color": "default" as typeof color[number],
|
|
269
|
+
"highlight": true,
|
|
270
|
+
"noBorder": false,
|
|
271
|
+
"underline": false,
|
|
272
|
+
"class": "ring ring-inset ring-base-900 dark:ring-base-350"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"color": "default" as typeof color[number],
|
|
276
|
+
"noBorder": false,
|
|
277
|
+
"underline": true,
|
|
278
|
+
"class": "focus-visible:border-base-900 dark:focus-visible:border-b-base-350"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"color": "default" as typeof color[number],
|
|
282
|
+
"highlight": true,
|
|
283
|
+
"noBorder": false,
|
|
284
|
+
"underline": true,
|
|
285
|
+
"class": "border-b-base-900 dark:border-b-base-350"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"color": "danger" as typeof color[number],
|
|
289
|
+
"noBorder": false,
|
|
290
|
+
"underline": false,
|
|
291
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-red-500 dark:focus-visible:ring-red-600"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"color": "danger" as typeof color[number],
|
|
295
|
+
"highlight": true,
|
|
296
|
+
"noBorder": false,
|
|
297
|
+
"underline": false,
|
|
298
|
+
"class": "ring ring-inset ring-red-500 dark:ring-red-600"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"color": "danger" as typeof color[number],
|
|
302
|
+
"noBorder": false,
|
|
303
|
+
"underline": true,
|
|
304
|
+
"class": "focus-visible:border-b-red-500 dark:focus-visible:border-b-red-600"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"color": "danger" as typeof color[number],
|
|
308
|
+
"highlight": true,
|
|
309
|
+
"noBorder": false,
|
|
310
|
+
"underline": true,
|
|
311
|
+
"class": "border-b-red-500 dark:border-b-red-600"
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"color": "success" as typeof color[number],
|
|
315
|
+
"noBorder": false,
|
|
316
|
+
"underline": false,
|
|
317
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-green-500 dark:focus-visible:ring-green-600"
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"color": "success" as typeof color[number],
|
|
321
|
+
"highlight": true,
|
|
322
|
+
"noBorder": false,
|
|
323
|
+
"underline": false,
|
|
324
|
+
"class": "ring ring-inset ring-green-500 dark:ring-green-600"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"color": "success" as typeof color[number],
|
|
328
|
+
"noBorder": false,
|
|
329
|
+
"underline": true,
|
|
330
|
+
"class": "focus-visible:border-b-green-500 dark:focus-visible:border-b-green-600"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"color": "success" as typeof color[number],
|
|
334
|
+
"highlight": true,
|
|
335
|
+
"noBorder": false,
|
|
336
|
+
"underline": true,
|
|
337
|
+
"class": "border-b-green-500 dark:border-b-green-600"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"color": "warning" as typeof color[number],
|
|
341
|
+
"noBorder": false,
|
|
342
|
+
"underline": false,
|
|
343
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-orange-500 dark:focus-visible:ring-orange-600"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"color": "warning" as typeof color[number],
|
|
347
|
+
"highlight": true,
|
|
348
|
+
"noBorder": false,
|
|
349
|
+
"underline": false,
|
|
350
|
+
"class": "ring ring-inset ring-orange-500 dark:ring-orange-600"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
"color": "warning" as typeof color[number],
|
|
354
|
+
"noBorder": false,
|
|
355
|
+
"underline": true,
|
|
356
|
+
"class": "focus-visible:border-b-orange-500 dark:focus-visible:border-b-orange-600"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"color": "warning" as typeof color[number],
|
|
360
|
+
"highlight": true,
|
|
361
|
+
"noBorder": false,
|
|
362
|
+
"underline": true,
|
|
363
|
+
"class": "border-b-orange-500 dark:border-b-orange-600"
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"color": "primary" as typeof color[number],
|
|
367
|
+
"noBorder": false,
|
|
368
|
+
"underline": false,
|
|
369
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-blue-500 dark:focus-visible:ring-blue-600"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"color": "primary" as typeof color[number],
|
|
373
|
+
"highlight": true,
|
|
374
|
+
"noBorder": false,
|
|
375
|
+
"underline": false,
|
|
376
|
+
"class": "ring ring-inset ring-blue-500 dark:ring-blue-600"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"color": "primary" as typeof color[number],
|
|
380
|
+
"noBorder": false,
|
|
381
|
+
"underline": true,
|
|
382
|
+
"class": "focus-visible:border-b-blue-500 dark:focus-visible:border-b-blue-600"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"color": "primary" as typeof color[number],
|
|
386
|
+
"highlight": true,
|
|
387
|
+
"noBorder": false,
|
|
388
|
+
"underline": true,
|
|
389
|
+
"class": "border-b-blue-500 dark:border-b-blue-600"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"color": "secondary" as typeof color[number],
|
|
393
|
+
"noBorder": false,
|
|
394
|
+
"underline": false,
|
|
395
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-cyan-350 dark:focus-visible:ring-cyan-500"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"color": "secondary" as typeof color[number],
|
|
399
|
+
"highlight": true,
|
|
400
|
+
"noBorder": false,
|
|
401
|
+
"underline": false,
|
|
402
|
+
"class": "ring ring-inset ring-cyan-350 dark:ring-cyan-500"
|
|
403
|
+
},
|
|
404
|
+
{
|
|
405
|
+
"color": "secondary" as typeof color[number],
|
|
406
|
+
"noBorder": false,
|
|
407
|
+
"underline": true,
|
|
408
|
+
"class": "focus-visible:border-b-cyan-350 dark:focus-visible:border-b-cyan-500"
|
|
409
|
+
},
|
|
410
|
+
{
|
|
411
|
+
"color": "secondary" as typeof color[number],
|
|
412
|
+
"highlight": true,
|
|
413
|
+
"noBorder": false,
|
|
414
|
+
"underline": true,
|
|
415
|
+
"class": "border-b-cyan-350 dark:border-b-cyan-500"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"color": "collab" as typeof color[number],
|
|
419
|
+
"noBorder": false,
|
|
420
|
+
"underline": false,
|
|
421
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-collab-500 dark:focus-visible:ring-collab-600"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"color": "collab" as typeof color[number],
|
|
425
|
+
"highlight": true,
|
|
426
|
+
"noBorder": false,
|
|
427
|
+
"underline": false,
|
|
428
|
+
"class": "ring ring-inset ring-collab-500 dark:ring-collab-600"
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"color": "collab" as typeof color[number],
|
|
432
|
+
"noBorder": false,
|
|
433
|
+
"underline": true,
|
|
434
|
+
"class": "focus-visible:border-b-collab-500 dark:focus-visible:border-b-collab-600"
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"color": "collab" as typeof color[number],
|
|
438
|
+
"highlight": true,
|
|
439
|
+
"noBorder": false,
|
|
440
|
+
"underline": true,
|
|
441
|
+
"class": "border-b-collab-500 dark:border-b-collab-600"
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"color": "ai" as typeof color[number],
|
|
445
|
+
"noBorder": false,
|
|
446
|
+
"underline": false,
|
|
447
|
+
"class": "focus-visible:ring-1 focus-visible:ring-inset focus-visible:ring-ai-500 dark:focus-visible:ring-ai-600"
|
|
448
|
+
},
|
|
449
|
+
{
|
|
450
|
+
"color": "ai" as typeof color[number],
|
|
451
|
+
"highlight": true,
|
|
452
|
+
"noBorder": false,
|
|
453
|
+
"underline": false,
|
|
454
|
+
"class": "ring ring-inset ring-ai-500 dark:ring-ai-600"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"color": "ai" as typeof color[number],
|
|
458
|
+
"noBorder": false,
|
|
459
|
+
"underline": true,
|
|
460
|
+
"class": "focus-visible:border-b-ai-500 dark:focus-visible:border-b-ai-600"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"color": "ai" as typeof color[number],
|
|
464
|
+
"highlight": true,
|
|
465
|
+
"noBorder": false,
|
|
466
|
+
"underline": true,
|
|
467
|
+
"class": "border-b-ai-500 dark:border-b-ai-600"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"type": "file" as typeof type[number],
|
|
471
|
+
"size": "xs" as typeof size[number],
|
|
472
|
+
"class": "py-1.5"
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
"type": "file" as typeof type[number],
|
|
476
|
+
"size": "sm" as typeof size[number],
|
|
477
|
+
"class": "py-2.5"
|
|
478
|
+
},
|
|
479
|
+
{
|
|
480
|
+
"type": "file" as typeof type[number],
|
|
481
|
+
"size": "md" as typeof size[number],
|
|
482
|
+
"class": "py-3"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"type": "file" as typeof type[number],
|
|
486
|
+
"size": "lg" as typeof size[number],
|
|
487
|
+
"class": "py-4"
|
|
488
|
+
},
|
|
489
|
+
{
|
|
490
|
+
"leading": true,
|
|
491
|
+
"size": "xs" as typeof size[number],
|
|
492
|
+
"class": "ps-7"
|
|
493
|
+
},
|
|
494
|
+
{
|
|
495
|
+
"leading": true,
|
|
496
|
+
"size": "sm" as typeof size[number],
|
|
497
|
+
"class": "ps-8"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"leading": true,
|
|
501
|
+
"size": "md" as typeof size[number],
|
|
502
|
+
"class": "ps-[39px]"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"leading": true,
|
|
506
|
+
"size": "lg" as typeof size[number],
|
|
507
|
+
"class": "ps-[42px]"
|
|
508
|
+
},
|
|
509
|
+
{
|
|
510
|
+
"trailing": true,
|
|
511
|
+
"size": "xs" as typeof size[number],
|
|
512
|
+
"class": "pe-7"
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"trailing": true,
|
|
516
|
+
"size": "sm" as typeof size[number],
|
|
517
|
+
"class": "pe-8"
|
|
518
|
+
},
|
|
519
|
+
{
|
|
520
|
+
"trailing": true,
|
|
521
|
+
"size": "md" as typeof size[number],
|
|
522
|
+
"class": "pe-[39px]"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
"trailing": true,
|
|
526
|
+
"size": "lg" as typeof size[number],
|
|
527
|
+
"class": "pe-[39px]"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"loading": true,
|
|
531
|
+
"leading": true,
|
|
532
|
+
"class": {
|
|
533
|
+
"leadingIcon": "size-[21px]"
|
|
534
|
+
}
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
"loading": true,
|
|
538
|
+
"leading": false,
|
|
539
|
+
"trailing": true,
|
|
540
|
+
"class": {
|
|
541
|
+
"trailingIcon": "size-[21px]"
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
],
|
|
545
|
+
"defaultVariants": {
|
|
546
|
+
"size": "md" as typeof size[number],
|
|
547
|
+
"color": "primary" as typeof color[number],
|
|
548
|
+
"tagColor": "primary" as typeof tagColor[number]
|
|
549
|
+
}
|
|
550
|
+
}
|