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,294 @@
|
|
|
1
|
+
const size = [
|
|
2
|
+
"xs",
|
|
3
|
+
"sm",
|
|
4
|
+
"md",
|
|
5
|
+
"lg",
|
|
6
|
+
"xl"
|
|
7
|
+
] as const
|
|
8
|
+
|
|
9
|
+
const variant = [
|
|
10
|
+
"outline",
|
|
11
|
+
"soft",
|
|
12
|
+
"subtle",
|
|
13
|
+
"ghost",
|
|
14
|
+
"none"
|
|
15
|
+
] as const
|
|
16
|
+
|
|
17
|
+
const color = [
|
|
18
|
+
"primary",
|
|
19
|
+
"secondary",
|
|
20
|
+
"success",
|
|
21
|
+
"info",
|
|
22
|
+
"warning",
|
|
23
|
+
"error",
|
|
24
|
+
"neutral"
|
|
25
|
+
] as const
|
|
26
|
+
|
|
27
|
+
export default {
|
|
28
|
+
"slots": {
|
|
29
|
+
"root": "relative inline-flex items-center",
|
|
30
|
+
"base": [
|
|
31
|
+
"w-full rounded-md border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
|
|
32
|
+
"transition-colors"
|
|
33
|
+
],
|
|
34
|
+
"leading": "absolute start-0 flex items-start",
|
|
35
|
+
"leadingIcon": "shrink-0 text-dimmed",
|
|
36
|
+
"leadingAvatar": "shrink-0",
|
|
37
|
+
"leadingAvatarSize": "",
|
|
38
|
+
"trailing": "absolute end-0 flex items-start",
|
|
39
|
+
"trailingIcon": "shrink-0 text-dimmed"
|
|
40
|
+
},
|
|
41
|
+
"variants": {
|
|
42
|
+
"buttonGroup": {
|
|
43
|
+
"horizontal": {
|
|
44
|
+
"root": "group has-focus-visible:z-[1]",
|
|
45
|
+
"base": "group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"
|
|
46
|
+
},
|
|
47
|
+
"vertical": {
|
|
48
|
+
"root": "group has-focus-visible:z-[1]",
|
|
49
|
+
"base": "group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"size": {
|
|
53
|
+
"xs": {
|
|
54
|
+
"base": "px-2 py-1 text-xs gap-1",
|
|
55
|
+
"leading": "ps-2 inset-y-1",
|
|
56
|
+
"trailing": "pe-2 inset-y-1",
|
|
57
|
+
"leadingIcon": "size-4",
|
|
58
|
+
"leadingAvatarSize": "3xs",
|
|
59
|
+
"trailingIcon": "size-4"
|
|
60
|
+
},
|
|
61
|
+
"sm": {
|
|
62
|
+
"base": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
63
|
+
"leading": "ps-2.5 inset-y-1.5",
|
|
64
|
+
"trailing": "pe-2.5 inset-y-1.5",
|
|
65
|
+
"leadingIcon": "size-4",
|
|
66
|
+
"leadingAvatarSize": "3xs",
|
|
67
|
+
"trailingIcon": "size-4"
|
|
68
|
+
},
|
|
69
|
+
"md": {
|
|
70
|
+
"base": "px-2.5 py-1.5 text-sm gap-1.5",
|
|
71
|
+
"leading": "ps-2.5 inset-y-1.5",
|
|
72
|
+
"trailing": "pe-2.5 inset-y-1.5",
|
|
73
|
+
"leadingIcon": "size-5",
|
|
74
|
+
"leadingAvatarSize": "2xs",
|
|
75
|
+
"trailingIcon": "size-5"
|
|
76
|
+
},
|
|
77
|
+
"lg": {
|
|
78
|
+
"base": "px-3 py-2 text-sm gap-2",
|
|
79
|
+
"leading": "ps-3 inset-y-2",
|
|
80
|
+
"trailing": "pe-3 inset-y-2",
|
|
81
|
+
"leadingIcon": "size-5",
|
|
82
|
+
"leadingAvatarSize": "2xs",
|
|
83
|
+
"trailingIcon": "size-5"
|
|
84
|
+
},
|
|
85
|
+
"xl": {
|
|
86
|
+
"base": "px-3 py-2 text-base gap-2",
|
|
87
|
+
"leading": "ps-3 inset-y-2",
|
|
88
|
+
"trailing": "pe-3 inset-y-2",
|
|
89
|
+
"leadingIcon": "size-6",
|
|
90
|
+
"leadingAvatarSize": "xs",
|
|
91
|
+
"trailingIcon": "size-6"
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"variant": {
|
|
95
|
+
"outline": "text-highlighted bg-default ring ring-inset ring-accented",
|
|
96
|
+
"soft": "text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",
|
|
97
|
+
"subtle": "text-highlighted bg-elevated ring ring-inset ring-accented",
|
|
98
|
+
"ghost": "text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",
|
|
99
|
+
"none": "text-highlighted bg-transparent"
|
|
100
|
+
},
|
|
101
|
+
"color": {
|
|
102
|
+
"primary": "",
|
|
103
|
+
"secondary": "",
|
|
104
|
+
"success": "",
|
|
105
|
+
"info": "",
|
|
106
|
+
"warning": "",
|
|
107
|
+
"error": "",
|
|
108
|
+
"neutral": ""
|
|
109
|
+
},
|
|
110
|
+
"leading": {
|
|
111
|
+
"true": ""
|
|
112
|
+
},
|
|
113
|
+
"trailing": {
|
|
114
|
+
"true": ""
|
|
115
|
+
},
|
|
116
|
+
"loading": {
|
|
117
|
+
"true": ""
|
|
118
|
+
},
|
|
119
|
+
"highlight": {
|
|
120
|
+
"true": ""
|
|
121
|
+
},
|
|
122
|
+
"type": {
|
|
123
|
+
"file": "file:me-1.5 file:font-medium file:text-muted file:outline-none"
|
|
124
|
+
},
|
|
125
|
+
"autoresize": {
|
|
126
|
+
"true": {
|
|
127
|
+
"base": "resize-none"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"compoundVariants": [
|
|
132
|
+
{
|
|
133
|
+
"color": "primary" as typeof color[number],
|
|
134
|
+
"variant": [
|
|
135
|
+
"outline" as typeof variant[number],
|
|
136
|
+
"subtle" as typeof variant[number]
|
|
137
|
+
],
|
|
138
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"color": "secondary" as typeof color[number],
|
|
142
|
+
"variant": [
|
|
143
|
+
"outline" as typeof variant[number],
|
|
144
|
+
"subtle" as typeof variant[number]
|
|
145
|
+
],
|
|
146
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"color": "success" as typeof color[number],
|
|
150
|
+
"variant": [
|
|
151
|
+
"outline" as typeof variant[number],
|
|
152
|
+
"subtle" as typeof variant[number]
|
|
153
|
+
],
|
|
154
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"color": "info" as typeof color[number],
|
|
158
|
+
"variant": [
|
|
159
|
+
"outline" as typeof variant[number],
|
|
160
|
+
"subtle" as typeof variant[number]
|
|
161
|
+
],
|
|
162
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"color": "warning" as typeof color[number],
|
|
166
|
+
"variant": [
|
|
167
|
+
"outline" as typeof variant[number],
|
|
168
|
+
"subtle" as typeof variant[number]
|
|
169
|
+
],
|
|
170
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"color": "error" as typeof color[number],
|
|
174
|
+
"variant": [
|
|
175
|
+
"outline" as typeof variant[number],
|
|
176
|
+
"subtle" as typeof variant[number]
|
|
177
|
+
],
|
|
178
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"color": "primary" as typeof color[number],
|
|
182
|
+
"highlight": true,
|
|
183
|
+
"class": "ring ring-inset ring-primary"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"color": "secondary" as typeof color[number],
|
|
187
|
+
"highlight": true,
|
|
188
|
+
"class": "ring ring-inset ring-secondary"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"color": "success" as typeof color[number],
|
|
192
|
+
"highlight": true,
|
|
193
|
+
"class": "ring ring-inset ring-success"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"color": "info" as typeof color[number],
|
|
197
|
+
"highlight": true,
|
|
198
|
+
"class": "ring ring-inset ring-info"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"color": "warning" as typeof color[number],
|
|
202
|
+
"highlight": true,
|
|
203
|
+
"class": "ring ring-inset ring-warning"
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"color": "error" as typeof color[number],
|
|
207
|
+
"highlight": true,
|
|
208
|
+
"class": "ring ring-inset ring-error"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"color": "neutral" as typeof color[number],
|
|
212
|
+
"variant": [
|
|
213
|
+
"outline" as typeof variant[number],
|
|
214
|
+
"subtle" as typeof variant[number]
|
|
215
|
+
],
|
|
216
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"color": "neutral" as typeof color[number],
|
|
220
|
+
"highlight": true,
|
|
221
|
+
"class": "ring ring-inset ring-inverted"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"leading": true,
|
|
225
|
+
"size": "xs" as typeof size[number],
|
|
226
|
+
"class": "ps-7"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"leading": true,
|
|
230
|
+
"size": "sm" as typeof size[number],
|
|
231
|
+
"class": "ps-8"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"leading": true,
|
|
235
|
+
"size": "md" as typeof size[number],
|
|
236
|
+
"class": "ps-9"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"leading": true,
|
|
240
|
+
"size": "lg" as typeof size[number],
|
|
241
|
+
"class": "ps-10"
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"leading": true,
|
|
245
|
+
"size": "xl" as typeof size[number],
|
|
246
|
+
"class": "ps-11"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"trailing": true,
|
|
250
|
+
"size": "xs" as typeof size[number],
|
|
251
|
+
"class": "pe-7"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"trailing": true,
|
|
255
|
+
"size": "sm" as typeof size[number],
|
|
256
|
+
"class": "pe-8"
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
"trailing": true,
|
|
260
|
+
"size": "md" as typeof size[number],
|
|
261
|
+
"class": "pe-9"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"trailing": true,
|
|
265
|
+
"size": "lg" as typeof size[number],
|
|
266
|
+
"class": "pe-10"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"trailing": true,
|
|
270
|
+
"size": "xl" as typeof size[number],
|
|
271
|
+
"class": "pe-11"
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
"loading": true,
|
|
275
|
+
"leading": true,
|
|
276
|
+
"class": {
|
|
277
|
+
"leadingIcon": "animate-spin"
|
|
278
|
+
}
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"loading": true,
|
|
282
|
+
"leading": false,
|
|
283
|
+
"trailing": true,
|
|
284
|
+
"class": {
|
|
285
|
+
"trailingIcon": "animate-spin"
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
],
|
|
289
|
+
"defaultVariants": {
|
|
290
|
+
"size": "md" as typeof size[number],
|
|
291
|
+
"color": "primary" as typeof color[number],
|
|
292
|
+
"variant": "outline" as typeof variant[number]
|
|
293
|
+
}
|
|
294
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
"slots": {
|
|
13
|
+
"root": "relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",
|
|
14
|
+
"wrapper": "w-0 flex-1 flex flex-col",
|
|
15
|
+
"title": "text-sm font-medium text-highlighted",
|
|
16
|
+
"description": "text-sm text-muted",
|
|
17
|
+
"icon": "shrink-0 size-5",
|
|
18
|
+
"avatar": "shrink-0",
|
|
19
|
+
"avatarSize": "2xl",
|
|
20
|
+
"actions": "flex gap-1.5 shrink-0",
|
|
21
|
+
"progress": "absolute inset-x-0 bottom-0 h-1 z-[-1]",
|
|
22
|
+
"close": "p-0"
|
|
23
|
+
},
|
|
24
|
+
"variants": {
|
|
25
|
+
"color": {
|
|
26
|
+
"primary": {
|
|
27
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary",
|
|
28
|
+
"icon": "text-primary",
|
|
29
|
+
"progress": "bg-primary"
|
|
30
|
+
},
|
|
31
|
+
"secondary": {
|
|
32
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary",
|
|
33
|
+
"icon": "text-secondary",
|
|
34
|
+
"progress": "bg-secondary"
|
|
35
|
+
},
|
|
36
|
+
"success": {
|
|
37
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success",
|
|
38
|
+
"icon": "text-success",
|
|
39
|
+
"progress": "bg-success"
|
|
40
|
+
},
|
|
41
|
+
"info": {
|
|
42
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info",
|
|
43
|
+
"icon": "text-info",
|
|
44
|
+
"progress": "bg-info"
|
|
45
|
+
},
|
|
46
|
+
"warning": {
|
|
47
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning",
|
|
48
|
+
"icon": "text-warning",
|
|
49
|
+
"progress": "bg-warning"
|
|
50
|
+
},
|
|
51
|
+
"error": {
|
|
52
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error",
|
|
53
|
+
"icon": "text-error",
|
|
54
|
+
"progress": "bg-error"
|
|
55
|
+
},
|
|
56
|
+
"neutral": {
|
|
57
|
+
"root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",
|
|
58
|
+
"icon": "text-highlighted",
|
|
59
|
+
"progress": "bg-inverted"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"orientation": {
|
|
63
|
+
"horizontal": {
|
|
64
|
+
"root": "items-center",
|
|
65
|
+
"actions": "items-center"
|
|
66
|
+
},
|
|
67
|
+
"vertical": {
|
|
68
|
+
"root": "items-start",
|
|
69
|
+
"actions": "items-start mt-2.5"
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
"title": {
|
|
73
|
+
"true": {
|
|
74
|
+
"description": "mt-1"
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"defaultVariants": {
|
|
79
|
+
"color": "primary" as typeof color[number]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
const position = [
|
|
2
|
+
"top-left",
|
|
3
|
+
"top-center",
|
|
4
|
+
"top-right",
|
|
5
|
+
"bottom-left",
|
|
6
|
+
"bottom-center",
|
|
7
|
+
"bottom-right"
|
|
8
|
+
] as const
|
|
9
|
+
|
|
10
|
+
const swipeDirection = [
|
|
11
|
+
"up",
|
|
12
|
+
"right",
|
|
13
|
+
"down",
|
|
14
|
+
"left"
|
|
15
|
+
] as const
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
"slots": {
|
|
19
|
+
"viewport": "fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",
|
|
20
|
+
"base": "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:invisible data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
|
|
21
|
+
},
|
|
22
|
+
"variants": {
|
|
23
|
+
"position": {
|
|
24
|
+
"top-left": {
|
|
25
|
+
"viewport": "left-4"
|
|
26
|
+
},
|
|
27
|
+
"top-center": {
|
|
28
|
+
"viewport": "left-1/2 transform -translate-x-1/2"
|
|
29
|
+
},
|
|
30
|
+
"top-right": {
|
|
31
|
+
"viewport": "right-4"
|
|
32
|
+
},
|
|
33
|
+
"bottom-left": {
|
|
34
|
+
"viewport": "left-4"
|
|
35
|
+
},
|
|
36
|
+
"bottom-center": {
|
|
37
|
+
"viewport": "left-1/2 transform -translate-x-1/2"
|
|
38
|
+
},
|
|
39
|
+
"bottom-right": {
|
|
40
|
+
"viewport": "right-4"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
"swipeDirection": {
|
|
44
|
+
"up": "data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",
|
|
45
|
+
"right": "data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",
|
|
46
|
+
"down": "data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",
|
|
47
|
+
"left": "data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"compoundVariants": [
|
|
51
|
+
{
|
|
52
|
+
"position": [
|
|
53
|
+
"top-left" as typeof position[number],
|
|
54
|
+
"top-center" as typeof position[number],
|
|
55
|
+
"top-right" as typeof position[number]
|
|
56
|
+
],
|
|
57
|
+
"class": {
|
|
58
|
+
"viewport": "top-4",
|
|
59
|
+
"base": "top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"position": [
|
|
64
|
+
"bottom-left" as typeof position[number],
|
|
65
|
+
"bottom-center" as typeof position[number],
|
|
66
|
+
"bottom-right" as typeof position[number]
|
|
67
|
+
],
|
|
68
|
+
"class": {
|
|
69
|
+
"viewport": "bottom-4",
|
|
70
|
+
"base": "bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]"
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"swipeDirection": [
|
|
75
|
+
"left" as typeof swipeDirection[number],
|
|
76
|
+
"right" as typeof swipeDirection[number]
|
|
77
|
+
],
|
|
78
|
+
"class": "data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"swipeDirection": [
|
|
82
|
+
"up" as typeof swipeDirection[number],
|
|
83
|
+
"down" as typeof swipeDirection[number]
|
|
84
|
+
],
|
|
85
|
+
"class": "data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"defaultVariants": {
|
|
89
|
+
"position": "bottom-right" as typeof position[number]
|
|
90
|
+
}
|
|
91
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"content": "flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",
|
|
4
|
+
"arrow": "fill-default",
|
|
5
|
+
"text": "truncate",
|
|
6
|
+
"kbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5 before:content-['·'] before:me-0.5",
|
|
7
|
+
"kbdsSize": "sm"
|
|
8
|
+
}
|
|
9
|
+
}
|
package/.nuxt/ui/tree.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
const color = [
|
|
2
|
+
"primary",
|
|
3
|
+
"secondary",
|
|
4
|
+
"success",
|
|
5
|
+
"info",
|
|
6
|
+
"warning",
|
|
7
|
+
"error",
|
|
8
|
+
"neutral"
|
|
9
|
+
] as const
|
|
10
|
+
|
|
11
|
+
const size = [
|
|
12
|
+
"xs",
|
|
13
|
+
"sm",
|
|
14
|
+
"md",
|
|
15
|
+
"lg",
|
|
16
|
+
"xl"
|
|
17
|
+
] as const
|
|
18
|
+
|
|
19
|
+
export default {
|
|
20
|
+
"slots": {
|
|
21
|
+
"root": "relative isolate",
|
|
22
|
+
"item": "",
|
|
23
|
+
"listWithChildren": "ms-4.5 border-s border-default",
|
|
24
|
+
"itemWithChildren": "ps-1.5 -ms-px",
|
|
25
|
+
"link": "relative group w-full flex items-center text-sm before:absolute before:inset-y-px before:inset-x-0 before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
26
|
+
"linkLeadingIcon": "shrink-0",
|
|
27
|
+
"linkLabel": "truncate",
|
|
28
|
+
"linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
29
|
+
"linkTrailingIcon": "shrink-0 transform transition-transform duration-200 group-data-expanded:rotate-180"
|
|
30
|
+
},
|
|
31
|
+
"variants": {
|
|
32
|
+
"color": {
|
|
33
|
+
"primary": {
|
|
34
|
+
"link": "focus-visible:before:ring-primary"
|
|
35
|
+
},
|
|
36
|
+
"secondary": {
|
|
37
|
+
"link": "focus-visible:before:ring-secondary"
|
|
38
|
+
},
|
|
39
|
+
"success": {
|
|
40
|
+
"link": "focus-visible:before:ring-success"
|
|
41
|
+
},
|
|
42
|
+
"info": {
|
|
43
|
+
"link": "focus-visible:before:ring-info"
|
|
44
|
+
},
|
|
45
|
+
"warning": {
|
|
46
|
+
"link": "focus-visible:before:ring-warning"
|
|
47
|
+
},
|
|
48
|
+
"error": {
|
|
49
|
+
"link": "focus-visible:before:ring-error"
|
|
50
|
+
},
|
|
51
|
+
"neutral": {
|
|
52
|
+
"link": "focus-visible:before:ring-inverted"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
"size": {
|
|
56
|
+
"xs": {
|
|
57
|
+
"link": "px-2 py-1 text-xs gap-1",
|
|
58
|
+
"linkLeadingIcon": "size-4",
|
|
59
|
+
"linkTrailingIcon": "size-4"
|
|
60
|
+
},
|
|
61
|
+
"sm": {
|
|
62
|
+
"link": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
63
|
+
"linkLeadingIcon": "size-4",
|
|
64
|
+
"linkTrailingIcon": "size-4"
|
|
65
|
+
},
|
|
66
|
+
"md": {
|
|
67
|
+
"link": "px-2.5 py-1.5 text-sm gap-1.5",
|
|
68
|
+
"linkLeadingIcon": "size-5",
|
|
69
|
+
"linkTrailingIcon": "size-5"
|
|
70
|
+
},
|
|
71
|
+
"lg": {
|
|
72
|
+
"link": "px-3 py-2 text-sm gap-2",
|
|
73
|
+
"linkLeadingIcon": "size-5",
|
|
74
|
+
"linkTrailingIcon": "size-5"
|
|
75
|
+
},
|
|
76
|
+
"xl": {
|
|
77
|
+
"link": "px-3 py-2 text-base gap-2",
|
|
78
|
+
"linkLeadingIcon": "size-6",
|
|
79
|
+
"linkTrailingIcon": "size-6"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"selected": {
|
|
83
|
+
"true": {
|
|
84
|
+
"link": "before:bg-elevated"
|
|
85
|
+
},
|
|
86
|
+
"false": {
|
|
87
|
+
"link": [
|
|
88
|
+
"hover:not-disabled:text-highlighted hover:not-disabled:before:bg-elevated/50",
|
|
89
|
+
"transition-colors before:transition-colors"
|
|
90
|
+
]
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
"disabled": {
|
|
94
|
+
"true": {
|
|
95
|
+
"link": "cursor-not-allowed opacity-75"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"compoundVariants": [
|
|
100
|
+
{
|
|
101
|
+
"color": "primary" as typeof color[number],
|
|
102
|
+
"selected": true,
|
|
103
|
+
"class": {
|
|
104
|
+
"link": "text-primary"
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"color": "secondary" as typeof color[number],
|
|
109
|
+
"selected": true,
|
|
110
|
+
"class": {
|
|
111
|
+
"link": "text-secondary"
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"color": "success" as typeof color[number],
|
|
116
|
+
"selected": true,
|
|
117
|
+
"class": {
|
|
118
|
+
"link": "text-success"
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"color": "info" as typeof color[number],
|
|
123
|
+
"selected": true,
|
|
124
|
+
"class": {
|
|
125
|
+
"link": "text-info"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"color": "warning" as typeof color[number],
|
|
130
|
+
"selected": true,
|
|
131
|
+
"class": {
|
|
132
|
+
"link": "text-warning"
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"color": "error" as typeof color[number],
|
|
137
|
+
"selected": true,
|
|
138
|
+
"class": {
|
|
139
|
+
"link": "text-error"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"color": "neutral" as typeof color[number],
|
|
144
|
+
"selected": true,
|
|
145
|
+
"class": {
|
|
146
|
+
"link": "text-highlighted"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"defaultVariants": {
|
|
151
|
+
"color": "primary" as typeof color[number],
|
|
152
|
+
"size": "md" as typeof size[number]
|
|
153
|
+
}
|
|
154
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "C:/Git/nuxt-ignis/core/node_modules/.pnpm/@nuxt+image@1.10.0_@netlify_b4a362fadc10aa100425ec080018ae5f/node_modules/@nuxt/image/dist/runtime/components/NuxtImg.vue";
|