nuxt-ignis 0.3.0 → 0.3.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/.data/content/contents.sqlite +0 -0
- package/.env +43 -0
- package/.nuxt/components.d.ts +132 -0
- package/.nuxt/content/components.ts +51 -0
- package/.nuxt/content/database.compressed.mjs +1 -0
- package/.nuxt/content/manifest.ts +33 -0
- package/.nuxt/content/sql_dump +6 -0
- package/.nuxt/content/types.d.ts +13 -0
- package/.nuxt/dist/server/client.manifest.mjs +18 -1
- package/.nuxt/eslint.config.mjs +1 -1
- package/.nuxt/i18n.options.mjs +165 -0
- package/.nuxt/imports.d.ts +16 -0
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/mdc-configs.mjs +8 -0
- package/.nuxt/mdc-highlighter.mjs +213 -0
- package/.nuxt/mdc-image-component.mjs +1 -0
- package/.nuxt/mdc-imports.mjs +12 -0
- package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
- package/.nuxt/module/nuxt-robots.d.ts +35 -0
- package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
- package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
- package/.nuxt/module/nuxt-site-config.d.ts +43 -0
- package/.nuxt/nitro.json +3 -3
- package/.nuxt/nuxt-i18n-logger.mjs +1 -0
- package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
- package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
- package/.nuxt/nuxt.d.ts +20 -5
- package/.nuxt/tailwind/postcss.mjs +15 -0
- package/.nuxt/tsconfig.json +151 -0
- package/.nuxt/tsconfig.server.json +140 -0
- package/.nuxt/types/build.d.ts +2 -0
- package/.nuxt/types/i18n-plugin.d.ts +104 -0
- package/.nuxt/types/imports.d.ts +70 -0
- package/.nuxt/types/neon.d.ts +35 -0
- package/.nuxt/types/nitro-imports.d.ts +263 -1
- package/.nuxt/types/nitro-routes.d.ts +61 -0
- package/.nuxt/types/plugins.d.ts +21 -2
- package/.nuxt/types/schema.d.ts +924 -2
- package/.nuxt/types/ui.d.ts +35 -0
- package/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +264 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +263 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button-group.ts +16 -0
- package/.nuxt/ui/button.ts +378 -0
- package/.nuxt/ui/calendar.ts +103 -0
- package/.nuxt/ui/card.ts +34 -0
- package/.nuxt/ui/carousel.ts +38 -0
- package/.nuxt/ui/checkbox-group.ts +204 -0
- package/.nuxt/ui/checkbox.ts +236 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +50 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/context-menu.ts +216 -0
- package/.nuxt/ui/drawer.ts +126 -0
- package/.nuxt/ui/dropdown-menu.ts +217 -0
- package/.nuxt/ui/form-field.ts +48 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/index.ts +50 -0
- package/.nuxt/ui/input-menu.ts +436 -0
- package/.nuxt/ui/input-number.ts +245 -0
- package/.nuxt/ui/input.ts +289 -0
- package/.nuxt/ui/kbd.ts +31 -0
- package/.nuxt/ui/link.ts +22 -0
- package/.nuxt/ui/modal.ts +29 -0
- package/.nuxt/ui/navigation-menu.ts +501 -0
- package/.nuxt/ui/pagination.ts +13 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/radio-group.ts +350 -0
- package/.nuxt/ui/select-menu.ts +346 -0
- package/.nuxt/ui/select.ts +341 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +71 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +131 -0
- package/.nuxt/ui/table.ts +147 -0
- package/.nuxt/ui/tabs.ts +256 -0
- package/.nuxt/ui/textarea.ts +294 -0
- package/.nuxt/ui/toast.ts +81 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/.nuxt/ui/tree.ts +154 -0
- package/.nuxt/ui-image-component.ts +1 -0
- package/.nuxt/ui.css +143 -0
- package/features.ts +30 -22
- package/package.json +2 -1
- package/tailwind.config.ts +1 -1
- package/.nuxt/dev/index.mjs +0 -2948
- package/.nuxt/dev/index.mjs.map +0 -1
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
const animation = [
|
|
2
|
+
"carousel",
|
|
3
|
+
"carousel-inverse",
|
|
4
|
+
"swing",
|
|
5
|
+
"elastic"
|
|
6
|
+
] as const
|
|
7
|
+
|
|
8
|
+
const color = [
|
|
9
|
+
"primary",
|
|
10
|
+
"secondary",
|
|
11
|
+
"success",
|
|
12
|
+
"info",
|
|
13
|
+
"warning",
|
|
14
|
+
"error",
|
|
15
|
+
"neutral"
|
|
16
|
+
] as const
|
|
17
|
+
|
|
18
|
+
const size = [
|
|
19
|
+
"2xs",
|
|
20
|
+
"xs",
|
|
21
|
+
"sm",
|
|
22
|
+
"md",
|
|
23
|
+
"lg",
|
|
24
|
+
"xl",
|
|
25
|
+
"2xl"
|
|
26
|
+
] as const
|
|
27
|
+
|
|
28
|
+
const step = [
|
|
29
|
+
"active",
|
|
30
|
+
"first",
|
|
31
|
+
"other",
|
|
32
|
+
"last"
|
|
33
|
+
] as const
|
|
34
|
+
|
|
35
|
+
const orientation = [
|
|
36
|
+
"horizontal",
|
|
37
|
+
"vertical"
|
|
38
|
+
] as const
|
|
39
|
+
|
|
40
|
+
export default {
|
|
41
|
+
"slots": {
|
|
42
|
+
"root": "gap-2",
|
|
43
|
+
"base": "relative overflow-hidden rounded-full bg-accented",
|
|
44
|
+
"indicator": "rounded-full size-full transition-transform duration-200 ease-out",
|
|
45
|
+
"status": "flex justify-end text-dimmed transition-[width] duration-200",
|
|
46
|
+
"steps": "grid items-end",
|
|
47
|
+
"step": "truncate text-end row-start-1 col-start-1 transition-opacity" as typeof step[number]
|
|
48
|
+
},
|
|
49
|
+
"variants": {
|
|
50
|
+
"animation": {
|
|
51
|
+
"carousel": "",
|
|
52
|
+
"carousel-inverse": "",
|
|
53
|
+
"swing": "",
|
|
54
|
+
"elastic": ""
|
|
55
|
+
},
|
|
56
|
+
"color": {
|
|
57
|
+
"primary": {
|
|
58
|
+
"indicator": "bg-primary",
|
|
59
|
+
"steps": "text-primary"
|
|
60
|
+
},
|
|
61
|
+
"secondary": {
|
|
62
|
+
"indicator": "bg-secondary",
|
|
63
|
+
"steps": "text-secondary"
|
|
64
|
+
},
|
|
65
|
+
"success": {
|
|
66
|
+
"indicator": "bg-success",
|
|
67
|
+
"steps": "text-success"
|
|
68
|
+
},
|
|
69
|
+
"info": {
|
|
70
|
+
"indicator": "bg-info",
|
|
71
|
+
"steps": "text-info"
|
|
72
|
+
},
|
|
73
|
+
"warning": {
|
|
74
|
+
"indicator": "bg-warning",
|
|
75
|
+
"steps": "text-warning"
|
|
76
|
+
},
|
|
77
|
+
"error": {
|
|
78
|
+
"indicator": "bg-error",
|
|
79
|
+
"steps": "text-error"
|
|
80
|
+
},
|
|
81
|
+
"neutral": {
|
|
82
|
+
"indicator": "bg-inverted",
|
|
83
|
+
"steps": "text-inverted"
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"size": {
|
|
87
|
+
"2xs": {
|
|
88
|
+
"status": "text-xs",
|
|
89
|
+
"steps": "text-xs"
|
|
90
|
+
},
|
|
91
|
+
"xs": {
|
|
92
|
+
"status": "text-xs",
|
|
93
|
+
"steps": "text-xs"
|
|
94
|
+
},
|
|
95
|
+
"sm": {
|
|
96
|
+
"status": "text-sm",
|
|
97
|
+
"steps": "text-sm"
|
|
98
|
+
},
|
|
99
|
+
"md": {
|
|
100
|
+
"status": "text-sm",
|
|
101
|
+
"steps": "text-sm"
|
|
102
|
+
},
|
|
103
|
+
"lg": {
|
|
104
|
+
"status": "text-sm",
|
|
105
|
+
"steps": "text-sm"
|
|
106
|
+
},
|
|
107
|
+
"xl": {
|
|
108
|
+
"status": "text-base",
|
|
109
|
+
"steps": "text-base"
|
|
110
|
+
},
|
|
111
|
+
"2xl": {
|
|
112
|
+
"status": "text-base",
|
|
113
|
+
"steps": "text-base"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"step": {
|
|
117
|
+
"active": {
|
|
118
|
+
"step": "opacity-100" as typeof step[number]
|
|
119
|
+
},
|
|
120
|
+
"first": {
|
|
121
|
+
"step": "opacity-100 text-muted" as typeof step[number]
|
|
122
|
+
},
|
|
123
|
+
"other": {
|
|
124
|
+
"step": "opacity-0" as typeof step[number]
|
|
125
|
+
},
|
|
126
|
+
"last": {
|
|
127
|
+
"step": ""
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"orientation": {
|
|
131
|
+
"horizontal": {
|
|
132
|
+
"root": "w-full flex flex-col",
|
|
133
|
+
"base": "w-full",
|
|
134
|
+
"status": "flex-row"
|
|
135
|
+
},
|
|
136
|
+
"vertical": {
|
|
137
|
+
"root": "h-full flex flex-row-reverse",
|
|
138
|
+
"base": "h-full",
|
|
139
|
+
"status": "flex-col"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"inverted": {
|
|
143
|
+
"true": {
|
|
144
|
+
"status": "self-end"
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"compoundVariants": [
|
|
149
|
+
{
|
|
150
|
+
"inverted": true,
|
|
151
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
152
|
+
"class": {
|
|
153
|
+
"step": "text-start" as typeof step[number],
|
|
154
|
+
"status": "flex-row-reverse"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"inverted": true,
|
|
159
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
160
|
+
"class": {
|
|
161
|
+
"steps": "items-start",
|
|
162
|
+
"status": "flex-col-reverse"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
167
|
+
"size": "2xs" as typeof size[number],
|
|
168
|
+
"class": "h-px"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
172
|
+
"size": "xs" as typeof size[number],
|
|
173
|
+
"class": "h-0.5"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
177
|
+
"size": "sm" as typeof size[number],
|
|
178
|
+
"class": "h-1"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
182
|
+
"size": "md" as typeof size[number],
|
|
183
|
+
"class": "h-2"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
187
|
+
"size": "lg" as typeof size[number],
|
|
188
|
+
"class": "h-3"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
192
|
+
"size": "xl" as typeof size[number],
|
|
193
|
+
"class": "h-4"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
197
|
+
"size": "2xl" as typeof size[number],
|
|
198
|
+
"class": "h-5"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
202
|
+
"size": "2xs" as typeof size[number],
|
|
203
|
+
"class": "w-px"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
207
|
+
"size": "xs" as typeof size[number],
|
|
208
|
+
"class": "w-0.5"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
212
|
+
"size": "sm" as typeof size[number],
|
|
213
|
+
"class": "w-1"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
217
|
+
"size": "md" as typeof size[number],
|
|
218
|
+
"class": "w-2"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
222
|
+
"size": "lg" as typeof size[number],
|
|
223
|
+
"class": "w-3"
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
227
|
+
"size": "xl" as typeof size[number],
|
|
228
|
+
"class": "w-4"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
232
|
+
"size": "2xl" as typeof size[number],
|
|
233
|
+
"class": "w-5"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
237
|
+
"animation": "carousel" as typeof animation[number],
|
|
238
|
+
"class": {
|
|
239
|
+
"indicator": "data-[state=indeterminate]:animate-[carousel_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-rtl_2s_ease-in-out_infinite]"
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
244
|
+
"animation": "carousel" as typeof animation[number],
|
|
245
|
+
"class": {
|
|
246
|
+
"indicator": "data-[state=indeterminate]:animate-[carousel-vertical_2s_ease-in-out_infinite]"
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
251
|
+
"animation": "carousel-inverse" as typeof animation[number],
|
|
252
|
+
"class": {
|
|
253
|
+
"indicator": "data-[state=indeterminate]:animate-[carousel-inverse_2s_ease-in-out_infinite] data-[state=indeterminate]:rtl:animate-[carousel-inverse-rtl_2s_ease-in-out_infinite]"
|
|
254
|
+
}
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
258
|
+
"animation": "carousel-inverse" as typeof animation[number],
|
|
259
|
+
"class": {
|
|
260
|
+
"indicator": "data-[state=indeterminate]:animate-[carousel-inverse-vertical_2s_ease-in-out_infinite]"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
265
|
+
"animation": "swing" as typeof animation[number],
|
|
266
|
+
"class": {
|
|
267
|
+
"indicator": "data-[state=indeterminate]:animate-[swing_2s_ease-in-out_infinite]"
|
|
268
|
+
}
|
|
269
|
+
},
|
|
270
|
+
{
|
|
271
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
272
|
+
"animation": "swing" as typeof animation[number],
|
|
273
|
+
"class": {
|
|
274
|
+
"indicator": "data-[state=indeterminate]:animate-[swing-vertical_2s_ease-in-out_infinite]"
|
|
275
|
+
}
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
279
|
+
"animation": "elastic" as typeof animation[number],
|
|
280
|
+
"class": {
|
|
281
|
+
"indicator": "data-[state=indeterminate]:animate-[elastic_2s_ease-in-out_infinite]"
|
|
282
|
+
}
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
286
|
+
"animation": "elastic" as typeof animation[number],
|
|
287
|
+
"class": {
|
|
288
|
+
"indicator": "data-[state=indeterminate]:animate-[elastic-vertical_2s_ease-in-out_infinite]"
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
],
|
|
292
|
+
"defaultVariants": {
|
|
293
|
+
"animation": "carousel" as typeof animation[number],
|
|
294
|
+
"color": "primary" as typeof color[number],
|
|
295
|
+
"size": "md" as typeof size[number]
|
|
296
|
+
}
|
|
297
|
+
}
|
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const variant = [
|
|
12
|
+
"list",
|
|
13
|
+
"card",
|
|
14
|
+
"table"
|
|
15
|
+
] as const
|
|
16
|
+
|
|
17
|
+
const orientation = [
|
|
18
|
+
"horizontal",
|
|
19
|
+
"vertical"
|
|
20
|
+
] as const
|
|
21
|
+
|
|
22
|
+
const indicator = [
|
|
23
|
+
"start",
|
|
24
|
+
"end",
|
|
25
|
+
"hidden"
|
|
26
|
+
] as const
|
|
27
|
+
|
|
28
|
+
const size = [
|
|
29
|
+
"xs",
|
|
30
|
+
"sm",
|
|
31
|
+
"md",
|
|
32
|
+
"lg",
|
|
33
|
+
"xl"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
"slots": {
|
|
38
|
+
"root": "relative",
|
|
39
|
+
"fieldset": "flex gap-x-2",
|
|
40
|
+
"legend": "mb-1 block font-medium text-default",
|
|
41
|
+
"item": "flex items-start",
|
|
42
|
+
"container": "flex items-center",
|
|
43
|
+
"base": "rounded-full ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
44
|
+
"indicator": "flex items-center justify-center size-full after:bg-default after:rounded-full" as typeof indicator[number],
|
|
45
|
+
"wrapper": "w-full",
|
|
46
|
+
"label": "block font-medium text-default",
|
|
47
|
+
"description": "text-muted"
|
|
48
|
+
},
|
|
49
|
+
"variants": {
|
|
50
|
+
"color": {
|
|
51
|
+
"primary": {
|
|
52
|
+
"base": "focus-visible:outline-primary",
|
|
53
|
+
"indicator": "bg-primary" as typeof indicator[number]
|
|
54
|
+
},
|
|
55
|
+
"secondary": {
|
|
56
|
+
"base": "focus-visible:outline-secondary",
|
|
57
|
+
"indicator": "bg-secondary" as typeof indicator[number]
|
|
58
|
+
},
|
|
59
|
+
"success": {
|
|
60
|
+
"base": "focus-visible:outline-success",
|
|
61
|
+
"indicator": "bg-success" as typeof indicator[number]
|
|
62
|
+
},
|
|
63
|
+
"info": {
|
|
64
|
+
"base": "focus-visible:outline-info",
|
|
65
|
+
"indicator": "bg-info" as typeof indicator[number]
|
|
66
|
+
},
|
|
67
|
+
"warning": {
|
|
68
|
+
"base": "focus-visible:outline-warning",
|
|
69
|
+
"indicator": "bg-warning" as typeof indicator[number]
|
|
70
|
+
},
|
|
71
|
+
"error": {
|
|
72
|
+
"base": "focus-visible:outline-error",
|
|
73
|
+
"indicator": "bg-error" as typeof indicator[number]
|
|
74
|
+
},
|
|
75
|
+
"neutral": {
|
|
76
|
+
"base": "focus-visible:outline-inverted",
|
|
77
|
+
"indicator": "bg-inverted" as typeof indicator[number]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"variant": {
|
|
81
|
+
"list": {
|
|
82
|
+
"item": ""
|
|
83
|
+
},
|
|
84
|
+
"card": {
|
|
85
|
+
"item": "border border-muted rounded-lg"
|
|
86
|
+
},
|
|
87
|
+
"table": {
|
|
88
|
+
"item": "border border-muted"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"orientation": {
|
|
92
|
+
"horizontal": {
|
|
93
|
+
"fieldset": "flex-row"
|
|
94
|
+
},
|
|
95
|
+
"vertical": {
|
|
96
|
+
"fieldset": "flex-col"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"indicator": {
|
|
100
|
+
"start": {
|
|
101
|
+
"item": "flex-row",
|
|
102
|
+
"wrapper": "ms-2"
|
|
103
|
+
},
|
|
104
|
+
"end": {
|
|
105
|
+
"item": "flex-row-reverse",
|
|
106
|
+
"wrapper": "me-2"
|
|
107
|
+
},
|
|
108
|
+
"hidden": {
|
|
109
|
+
"base": "sr-only",
|
|
110
|
+
"wrapper": "text-center"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"size": {
|
|
114
|
+
"xs": {
|
|
115
|
+
"fieldset": "gap-y-0.5",
|
|
116
|
+
"legend": "text-xs",
|
|
117
|
+
"base": "size-3",
|
|
118
|
+
"item": "text-xs",
|
|
119
|
+
"container": "h-4",
|
|
120
|
+
"indicator": "after:size-1" as typeof indicator[number]
|
|
121
|
+
},
|
|
122
|
+
"sm": {
|
|
123
|
+
"fieldset": "gap-y-0.5",
|
|
124
|
+
"legend": "text-xs",
|
|
125
|
+
"base": "size-3.5",
|
|
126
|
+
"item": "text-xs",
|
|
127
|
+
"container": "h-4",
|
|
128
|
+
"indicator": "after:size-1" as typeof indicator[number]
|
|
129
|
+
},
|
|
130
|
+
"md": {
|
|
131
|
+
"fieldset": "gap-y-1",
|
|
132
|
+
"legend": "text-sm",
|
|
133
|
+
"base": "size-4",
|
|
134
|
+
"item": "text-sm",
|
|
135
|
+
"container": "h-5",
|
|
136
|
+
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
137
|
+
},
|
|
138
|
+
"lg": {
|
|
139
|
+
"fieldset": "gap-y-1",
|
|
140
|
+
"legend": "text-sm",
|
|
141
|
+
"base": "size-4.5",
|
|
142
|
+
"item": "text-sm",
|
|
143
|
+
"container": "h-5",
|
|
144
|
+
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
145
|
+
},
|
|
146
|
+
"xl": {
|
|
147
|
+
"fieldset": "gap-y-1.5",
|
|
148
|
+
"legend": "text-base",
|
|
149
|
+
"base": "size-5",
|
|
150
|
+
"item": "text-base",
|
|
151
|
+
"container": "h-6",
|
|
152
|
+
"indicator": "after:size-2" as typeof indicator[number]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"disabled": {
|
|
156
|
+
"true": {
|
|
157
|
+
"base": "cursor-not-allowed opacity-75",
|
|
158
|
+
"label": "cursor-not-allowed opacity-75"
|
|
159
|
+
}
|
|
160
|
+
},
|
|
161
|
+
"required": {
|
|
162
|
+
"true": {
|
|
163
|
+
"legend": "after:content-['*'] after:ms-0.5 after:text-error"
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"compoundVariants": [
|
|
168
|
+
{
|
|
169
|
+
"size": "xs" as typeof size[number],
|
|
170
|
+
"variant": [
|
|
171
|
+
"card" as typeof variant[number],
|
|
172
|
+
"table" as typeof variant[number]
|
|
173
|
+
],
|
|
174
|
+
"class": {
|
|
175
|
+
"item": "p-2.5"
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"size": "sm" as typeof size[number],
|
|
180
|
+
"variant": [
|
|
181
|
+
"card" as typeof variant[number],
|
|
182
|
+
"table" as typeof variant[number]
|
|
183
|
+
],
|
|
184
|
+
"class": {
|
|
185
|
+
"item": "p-3"
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"size": "md" as typeof size[number],
|
|
190
|
+
"variant": [
|
|
191
|
+
"card" as typeof variant[number],
|
|
192
|
+
"table" as typeof variant[number]
|
|
193
|
+
],
|
|
194
|
+
"class": {
|
|
195
|
+
"item": "p-3.5"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"size": "lg" as typeof size[number],
|
|
200
|
+
"variant": [
|
|
201
|
+
"card" as typeof variant[number],
|
|
202
|
+
"table" as typeof variant[number]
|
|
203
|
+
],
|
|
204
|
+
"class": {
|
|
205
|
+
"item": "p-4"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"size": "xl" as typeof size[number],
|
|
210
|
+
"variant": [
|
|
211
|
+
"card" as typeof variant[number],
|
|
212
|
+
"table" as typeof variant[number]
|
|
213
|
+
],
|
|
214
|
+
"class": {
|
|
215
|
+
"item": "p-4.5"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
220
|
+
"variant": "table" as typeof variant[number],
|
|
221
|
+
"class": {
|
|
222
|
+
"item": "first-of-type:rounded-l-lg last-of-type:rounded-r-lg",
|
|
223
|
+
"fieldset": "gap-0 -space-x-px"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
228
|
+
"variant": "table" as typeof variant[number],
|
|
229
|
+
"class": {
|
|
230
|
+
"item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
231
|
+
"fieldset": "gap-0 -space-y-px"
|
|
232
|
+
}
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"color": "primary" as typeof color[number],
|
|
236
|
+
"variant": "card" as typeof variant[number],
|
|
237
|
+
"class": {
|
|
238
|
+
"item": "has-data-[state=checked]:border-primary"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"color": "secondary" as typeof color[number],
|
|
243
|
+
"variant": "card" as typeof variant[number],
|
|
244
|
+
"class": {
|
|
245
|
+
"item": "has-data-[state=checked]:border-secondary"
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"color": "success" as typeof color[number],
|
|
250
|
+
"variant": "card" as typeof variant[number],
|
|
251
|
+
"class": {
|
|
252
|
+
"item": "has-data-[state=checked]:border-success"
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"color": "info" as typeof color[number],
|
|
257
|
+
"variant": "card" as typeof variant[number],
|
|
258
|
+
"class": {
|
|
259
|
+
"item": "has-data-[state=checked]:border-info"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"color": "warning" as typeof color[number],
|
|
264
|
+
"variant": "card" as typeof variant[number],
|
|
265
|
+
"class": {
|
|
266
|
+
"item": "has-data-[state=checked]:border-warning"
|
|
267
|
+
}
|
|
268
|
+
},
|
|
269
|
+
{
|
|
270
|
+
"color": "error" as typeof color[number],
|
|
271
|
+
"variant": "card" as typeof variant[number],
|
|
272
|
+
"class": {
|
|
273
|
+
"item": "has-data-[state=checked]:border-error"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"color": "neutral" as typeof color[number],
|
|
278
|
+
"variant": "card" as typeof variant[number],
|
|
279
|
+
"class": {
|
|
280
|
+
"item": "has-data-[state=checked]:border-inverted"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
"color": "primary" as typeof color[number],
|
|
285
|
+
"variant": "table" as typeof variant[number],
|
|
286
|
+
"class": {
|
|
287
|
+
"item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"color": "secondary" as typeof color[number],
|
|
292
|
+
"variant": "table" as typeof variant[number],
|
|
293
|
+
"class": {
|
|
294
|
+
"item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
|
|
295
|
+
}
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"color": "success" as typeof color[number],
|
|
299
|
+
"variant": "table" as typeof variant[number],
|
|
300
|
+
"class": {
|
|
301
|
+
"item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"color": "info" as typeof color[number],
|
|
306
|
+
"variant": "table" as typeof variant[number],
|
|
307
|
+
"class": {
|
|
308
|
+
"item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
|
|
309
|
+
}
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"color": "warning" as typeof color[number],
|
|
313
|
+
"variant": "table" as typeof variant[number],
|
|
314
|
+
"class": {
|
|
315
|
+
"item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"color": "error" as typeof color[number],
|
|
320
|
+
"variant": "table" as typeof variant[number],
|
|
321
|
+
"class": {
|
|
322
|
+
"item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"color": "neutral" as typeof color[number],
|
|
327
|
+
"variant": "table" as typeof variant[number],
|
|
328
|
+
"class": {
|
|
329
|
+
"item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"variant": [
|
|
334
|
+
"card" as typeof variant[number],
|
|
335
|
+
"table" as typeof variant[number]
|
|
336
|
+
],
|
|
337
|
+
"disabled": true,
|
|
338
|
+
"class": {
|
|
339
|
+
"item": "cursor-not-allowed opacity-75"
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
],
|
|
343
|
+
"defaultVariants": {
|
|
344
|
+
"size": "md" as typeof size[number],
|
|
345
|
+
"color": "primary" as typeof color[number],
|
|
346
|
+
"variant": "list" as typeof variant[number],
|
|
347
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
348
|
+
"indicator": "start" as typeof indicator[number]
|
|
349
|
+
}
|
|
350
|
+
}
|