@nuxt/ui 3.0.0-alpha.12 → 3.0.0-alpha.13
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/ui/accordion.ts +2 -2
- package/.nuxt/ui/alert.ts +46 -36
- package/.nuxt/ui/avatar-group.ts +1 -1
- package/.nuxt/ui/avatar.ts +3 -3
- package/.nuxt/ui/badge.ts +37 -28
- package/.nuxt/ui/breadcrumb.ts +5 -5
- package/.nuxt/ui/button.ts +42 -42
- package/.nuxt/ui/calendar.ts +15 -15
- package/.nuxt/ui/card.ts +27 -1
- package/.nuxt/ui/carousel.ts +2 -2
- package/.nuxt/ui/checkbox.ts +18 -18
- package/.nuxt/ui/chip.ts +8 -8
- package/.nuxt/ui/color-picker.ts +2 -2
- package/.nuxt/ui/command-palette.ts +12 -12
- package/.nuxt/ui/container.ts +1 -1
- package/.nuxt/ui/context-menu.ts +32 -32
- package/.nuxt/ui/drawer.ts +72 -11
- package/.nuxt/ui/dropdown-menu.ts +33 -33
- package/.nuxt/ui/form-field.ts +6 -6
- package/.nuxt/ui/input-menu.ts +41 -41
- package/.nuxt/ui/input-number.ts +20 -20
- package/.nuxt/ui/input.ts +23 -23
- package/.nuxt/ui/kbd.ts +4 -4
- package/.nuxt/ui/link.ts +3 -3
- package/.nuxt/ui/modal.ts +5 -5
- package/.nuxt/ui/navigation-menu.ts +77 -78
- package/.nuxt/ui/pin-input.ts +20 -20
- package/.nuxt/ui/popover.ts +2 -2
- package/.nuxt/ui/progress.ts +17 -17
- package/.nuxt/ui/radio-group.ts +20 -20
- package/.nuxt/ui/select-menu.ts +33 -32
- package/.nuxt/ui/select.ts +31 -31
- package/.nuxt/ui/separator.ts +8 -8
- package/.nuxt/ui/skeleton.ts +1 -1
- package/.nuxt/ui/slideover.ts +4 -4
- package/.nuxt/ui/slider.ts +16 -16
- package/.nuxt/ui/stepper.ts +18 -18
- package/.nuxt/ui/switch.ts +20 -20
- package/.nuxt/ui/table.ts +16 -16
- package/.nuxt/ui/tabs.ts +33 -33
- package/.nuxt/ui/textarea.ts +23 -23
- package/.nuxt/ui/toast.ts +42 -32
- package/.nuxt/ui/toaster.ts +4 -4
- package/.nuxt/ui/tooltip.ts +2 -2
- package/.nuxt/ui.css +90 -0
- package/README.md +2 -2
- package/cli/package.json +1 -1
- package/cli/templates.mjs +1 -1
- package/dist/client/devtools/200.html +1 -1
- package/dist/client/devtools/404.html +1 -1
- package/dist/client/devtools/_nuxt/CG6Dc4jp.js +1 -0
- package/dist/client/devtools/_nuxt/{DYuJNiSW.js → DrNJgD08.js} +1 -1
- package/dist/client/devtools/_nuxt/{DLmPhbaq.js → ElqrUh1r.js} +1 -1
- package/dist/client/devtools/_nuxt/builds/latest.json +1 -1
- package/dist/client/devtools/_nuxt/builds/meta/255c8d0b-7281-4d74-b4b6-ec96e6721aa0.json +1 -0
- package/dist/client/devtools/_nuxt/entry.Hn8drx4g.css +1 -0
- package/dist/client/devtools/_nuxt/error-404.Dew7w9Ee.css +1 -0
- package/dist/client/devtools/_nuxt/error-500.Dep59i31.css +1 -0
- package/dist/client/devtools/_nuxt/mC2e7kOs.js +57 -0
- package/dist/client/devtools/index.html +1 -1
- package/dist/devtools/runtime/examples/CardExample.vue +3 -3
- package/dist/devtools/runtime/examples/CollapsibleExample.vue +1 -1
- package/dist/devtools/runtime/examples/ContainerExample.vue +1 -1
- package/dist/devtools/runtime/examples/ContextMenuExample.vue +1 -1
- package/dist/devtools/runtime/examples/PopoverExample.vue +1 -1
- package/dist/devtools/runtime/examples/TooltipExample.vue +1 -1
- package/dist/module.cjs +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/Alert.vue +13 -10
- package/dist/runtime/components/App.vue +3 -3
- package/dist/runtime/components/Avatar.vue +1 -1
- package/dist/runtime/components/Badge.vue +5 -1
- package/dist/runtime/components/Calendar.vue +2 -1
- package/dist/runtime/components/Card.vue +6 -2
- package/dist/runtime/components/CommandPalette.vue +46 -39
- package/dist/runtime/components/ContextMenu.vue +8 -0
- package/dist/runtime/components/ContextMenuContent.vue +4 -2
- package/dist/runtime/components/Drawer.vue +7 -1
- package/dist/runtime/components/DropdownMenu.vue +8 -0
- package/dist/runtime/components/DropdownMenuContent.vue +4 -2
- package/dist/runtime/components/InputNumber.vue +3 -2
- package/dist/runtime/components/Modal.vue +15 -1
- package/dist/runtime/components/NavigationMenu.vue +31 -11
- package/dist/runtime/components/SelectMenu.vue +62 -60
- package/dist/runtime/components/Slideover.vue +15 -1
- package/dist/runtime/components/Stepper.vue +1 -1
- package/dist/runtime/components/Table.vue +94 -16
- package/dist/runtime/components/Textarea.vue +2 -1
- package/dist/runtime/components/Toast.vue +26 -14
- package/dist/runtime/components/Toaster.vue +2 -2
- package/dist/runtime/composables/useToast.d.ts +5 -4
- package/dist/runtime/composables/useToast.js +2 -2
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/locale/az.d.ts +2 -0
- package/dist/runtime/locale/az.js +54 -0
- package/dist/runtime/locale/bn.d.ts +2 -0
- package/dist/runtime/locale/bn.js +54 -0
- package/dist/runtime/locale/index.d.ts +3 -0
- package/dist/runtime/locale/index.js +3 -0
- package/dist/runtime/plugins/colors.js +1 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/utils.d.ts +5 -0
- package/dist/runtime/vue/components/Link.vue +75 -16
- package/dist/shared/{ui.ClMXjgLK.cjs → ui.C5FzRWM5.cjs} +471 -364
- package/dist/shared/{ui.CENZ17mM.mjs → ui.DCZM2pl8.mjs} +467 -364
- package/dist/unplugin.cjs +44 -20
- package/dist/unplugin.d.cts +10 -0
- package/dist/unplugin.d.mts +10 -0
- package/dist/unplugin.d.ts +10 -0
- package/dist/unplugin.mjs +43 -19
- package/dist/vite.cjs +3 -2
- package/dist/vite.d.cts +2 -0
- package/dist/vite.d.mts +2 -0
- package/dist/vite.d.ts +2 -0
- package/dist/vite.mjs +3 -2
- package/package.json +60 -33
- package/dist/client/devtools/_nuxt/CgoQwOTV.js +0 -57
- package/dist/client/devtools/_nuxt/builds/meta/3184ffe2-7577-4441-af98-fe6e81c30e3a.json +0 -1
- package/dist/client/devtools/_nuxt/entry.ChJczkiN.css +0 -1
- package/dist/client/devtools/_nuxt/error-404.DyY3rYaL.css +0 -1
- package/dist/client/devtools/_nuxt/error-500.D_1PCaJh.css +0 -1
|
@@ -37,7 +37,7 @@ export default {
|
|
|
37
37
|
"slots": {
|
|
38
38
|
"root": "relative flex gap-1.5 [&>div]:min-w-0",
|
|
39
39
|
"list": "isolate min-w-0",
|
|
40
|
-
"label": "w-full flex items-center gap-1.5 font-semibold text-xs/5 text-
|
|
40
|
+
"label": "w-full flex items-center gap-1.5 font-semibold text-xs/5 text-(--ui-text-highlighted) px-2.5 py-1.5",
|
|
41
41
|
"item": "min-w-0",
|
|
42
42
|
"link": "group relative w-full flex items-center gap-1.5 font-medium text-sm before:absolute before:z-[-1] before:rounded-[calc(var(--ui-radius)*1.5)] focus:outline-none focus-visible:outline-none dark:focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
|
|
43
43
|
"linkLeadingIcon": "shrink-0 size-5",
|
|
@@ -48,51 +48,51 @@ export default {
|
|
|
48
48
|
"linkTrailingBadgeSize": "sm",
|
|
49
49
|
"linkTrailingIcon": "size-5 transform shrink-0 group-data-[state=open]:rotate-180 transition-transform duration-200",
|
|
50
50
|
"linkLabel": "truncate",
|
|
51
|
-
"linkLabelExternalIcon": "inline-block size-3 align-top text-
|
|
51
|
+
"linkLabelExternalIcon": "inline-block size-3 align-top text-(--ui-text-dimmed)",
|
|
52
52
|
"childList": "",
|
|
53
53
|
"childItem": "",
|
|
54
54
|
"childLink": "group size-full px-3 py-2 rounded-[calc(var(--ui-radius)*1.5)] flex items-start gap-2 text-start",
|
|
55
55
|
"childLinkWrapper": "flex flex-col items-start",
|
|
56
56
|
"childLinkIcon": "size-5 shrink-0",
|
|
57
57
|
"childLinkLabel": "font-semibold text-sm relative inline-flex",
|
|
58
|
-
"childLinkLabelExternalIcon": "inline-block size-3 align-top text-
|
|
59
|
-
"childLinkDescription": "text-sm text-
|
|
60
|
-
"separator": "px-2 h-px bg-
|
|
58
|
+
"childLinkLabelExternalIcon": "inline-block size-3 align-top text-(--ui-text-dimmed)",
|
|
59
|
+
"childLinkDescription": "text-sm text-(--ui-text-muted)",
|
|
60
|
+
"separator": "px-2 h-px bg-(--ui-border)",
|
|
61
61
|
"viewportWrapper": "absolute top-full left-0 flex w-full",
|
|
62
|
-
"viewport": "relative overflow-hidden bg-
|
|
62
|
+
"viewport": "relative overflow-hidden bg-(--ui-bg) shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-(--ui-border) h-(--reka-navigation-menu-viewport-height) w-full transition-[width,height,left] duration-200 origin-[top_center] data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in]",
|
|
63
63
|
"content": "absolute top-0 left-0 w-full",
|
|
64
|
-
"indicator": "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[1] w-
|
|
65
|
-
"arrow": "relative top-[50%] size-2.5 rotate-45 border border-
|
|
64
|
+
"indicator": "absolute data-[state=visible]:animate-[fade-in_100ms_ease-out] data-[state=hidden]:animate-[fade-out_100ms_ease-in] data-[state=hidden]:opacity-0 bottom-0 z-[1] w-(--reka-navigation-menu-indicator-size) translate-x-(--reka-navigation-menu-indicator-position) flex h-2.5 items-end justify-center overflow-hidden transition-[translate,width] duration-200",
|
|
65
|
+
"arrow": "relative top-[50%] size-2.5 rotate-45 border border-(--ui-border) bg-(--ui-bg) z-[1] rounded-[calc(var(--ui-radius)/2)]"
|
|
66
66
|
},
|
|
67
67
|
"variants": {
|
|
68
68
|
"color": {
|
|
69
69
|
"primary": {
|
|
70
|
-
"link": "focus-visible:before:ring-
|
|
71
|
-
"childLink": "focus-visible:outline-
|
|
70
|
+
"link": "focus-visible:before:ring-(--ui-primary)",
|
|
71
|
+
"childLink": "focus-visible:outline-(--ui-primary)"
|
|
72
72
|
},
|
|
73
73
|
"secondary": {
|
|
74
|
-
"link": "focus-visible:before:ring-
|
|
75
|
-
"childLink": "focus-visible:outline-
|
|
74
|
+
"link": "focus-visible:before:ring-(--ui-secondary)",
|
|
75
|
+
"childLink": "focus-visible:outline-(--ui-secondary)"
|
|
76
76
|
},
|
|
77
77
|
"success": {
|
|
78
|
-
"link": "focus-visible:before:ring-
|
|
79
|
-
"childLink": "focus-visible:outline-
|
|
78
|
+
"link": "focus-visible:before:ring-(--ui-success)",
|
|
79
|
+
"childLink": "focus-visible:outline-(--ui-success)"
|
|
80
80
|
},
|
|
81
81
|
"info": {
|
|
82
|
-
"link": "focus-visible:before:ring-
|
|
83
|
-
"childLink": "focus-visible:outline-
|
|
82
|
+
"link": "focus-visible:before:ring-(--ui-info)",
|
|
83
|
+
"childLink": "focus-visible:outline-(--ui-info)"
|
|
84
84
|
},
|
|
85
85
|
"warning": {
|
|
86
|
-
"link": "focus-visible:before:ring-
|
|
87
|
-
"childLink": "focus-visible:outline-
|
|
86
|
+
"link": "focus-visible:before:ring-(--ui-warning)",
|
|
87
|
+
"childLink": "focus-visible:outline-(--ui-warning)"
|
|
88
88
|
},
|
|
89
89
|
"error": {
|
|
90
|
-
"link": "focus-visible:before:ring-
|
|
91
|
-
"childLink": "focus-visible:outline-
|
|
90
|
+
"link": "focus-visible:before:ring-(--ui-error)",
|
|
91
|
+
"childLink": "focus-visible:outline-(--ui-error)"
|
|
92
92
|
},
|
|
93
93
|
"neutral": {
|
|
94
|
-
"link": "focus-visible:before:ring-
|
|
95
|
-
"childLink": "focus-visible:outline-
|
|
94
|
+
"link": "focus-visible:before:ring-(--ui-border-inverted)",
|
|
95
|
+
"childLink": "focus-visible:outline-(--ui-border-inverted)"
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
"highlightColor": {
|
|
@@ -128,24 +128,24 @@ export default {
|
|
|
128
128
|
"content": "data-[motion=from-start]:animate-[enter-from-left_200ms_ease] data-[motion=from-end]:animate-[enter-from-right_200ms_ease] data-[motion=to-start]:animate-[exit-to-left_200ms_ease] data-[motion=to-end]:animate-[exit-to-right_200ms_ease]"
|
|
129
129
|
},
|
|
130
130
|
"vertical": {
|
|
131
|
-
"viewport": "sm:w-
|
|
131
|
+
"viewport": "sm:w-(--reka-navigation-menu-viewport-width) left-(--reka-navigation-menu-viewport-left)",
|
|
132
132
|
"content": ""
|
|
133
133
|
}
|
|
134
134
|
},
|
|
135
135
|
"active": {
|
|
136
136
|
"true": {
|
|
137
|
-
"childLink": "bg-
|
|
138
|
-
"childLinkIcon": "text-
|
|
137
|
+
"childLink": "bg-(--ui-bg-elevated) text-(--ui-text-highlighted)",
|
|
138
|
+
"childLinkIcon": "text-(--ui-text)"
|
|
139
139
|
},
|
|
140
140
|
"false": {
|
|
141
|
-
"link": "text-
|
|
142
|
-
"linkLeadingIcon": "text-
|
|
141
|
+
"link": "text-(--ui-text-muted)",
|
|
142
|
+
"linkLeadingIcon": "text-(--ui-text-dimmed)",
|
|
143
143
|
"childLink": [
|
|
144
|
-
"hover:bg-
|
|
144
|
+
"hover:bg-(--ui-bg-elevated)/50 text-(--ui-text) hover:text-(--ui-text-highlighted)",
|
|
145
145
|
"transition-colors"
|
|
146
146
|
],
|
|
147
147
|
"childLinkIcon": [
|
|
148
|
-
"text-
|
|
148
|
+
"text-(--ui-text-dimmed) group-hover:text-(--ui-text)",
|
|
149
149
|
"transition-colors"
|
|
150
150
|
]
|
|
151
151
|
}
|
|
@@ -185,7 +185,6 @@ export default {
|
|
|
185
185
|
"orientation": "horizontal" as typeof orientation[number],
|
|
186
186
|
"highlight": true,
|
|
187
187
|
"class": {
|
|
188
|
-
"item": "-mb-px",
|
|
189
188
|
"link": [
|
|
190
189
|
"after:absolute after:-bottom-2 after:inset-x-2.5 after:block after:h-px after:rounded-full",
|
|
191
190
|
"after:transition-colors"
|
|
@@ -209,11 +208,11 @@ export default {
|
|
|
209
208
|
"variant": "pill" as typeof variant[number],
|
|
210
209
|
"class": {
|
|
211
210
|
"link": [
|
|
212
|
-
"hover:text-
|
|
211
|
+
"hover:text-(--ui-text-highlighted) hover:before:bg-(--ui-bg-elevated)/50",
|
|
213
212
|
"transition-colors before:transition-colors"
|
|
214
213
|
],
|
|
215
214
|
"linkLeadingIcon": [
|
|
216
|
-
"group-hover:text-
|
|
215
|
+
"group-hover:text-(--ui-text)",
|
|
217
216
|
"transition-colors"
|
|
218
217
|
]
|
|
219
218
|
}
|
|
@@ -224,8 +223,8 @@ export default {
|
|
|
224
223
|
"variant": "pill" as typeof variant[number],
|
|
225
224
|
"orientation": "horizontal" as typeof orientation[number],
|
|
226
225
|
"class": {
|
|
227
|
-
"link": "data-[state=open]:text-
|
|
228
|
-
"linkLeadingIcon": "group-data-[state=open]:text-
|
|
226
|
+
"link": "data-[state=open]:text-(--ui-text-highlighted)",
|
|
227
|
+
"linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
|
|
229
228
|
}
|
|
230
229
|
},
|
|
231
230
|
{
|
|
@@ -234,7 +233,7 @@ export default {
|
|
|
234
233
|
"highlight": true,
|
|
235
234
|
"orientation": "horizontal" as typeof orientation[number],
|
|
236
235
|
"class": {
|
|
237
|
-
"link": "data-[state=open]:before:bg-
|
|
236
|
+
"link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
|
|
238
237
|
}
|
|
239
238
|
},
|
|
240
239
|
{
|
|
@@ -244,7 +243,7 @@ export default {
|
|
|
244
243
|
"active": false,
|
|
245
244
|
"orientation": "horizontal" as typeof orientation[number],
|
|
246
245
|
"class": {
|
|
247
|
-
"link": "data-[state=open]:before:bg-
|
|
246
|
+
"link": "data-[state=open]:before:bg-(--ui-bg-elevated)/50"
|
|
248
247
|
}
|
|
249
248
|
},
|
|
250
249
|
{
|
|
@@ -252,8 +251,8 @@ export default {
|
|
|
252
251
|
"variant": "pill" as typeof variant[number],
|
|
253
252
|
"active": true,
|
|
254
253
|
"class": {
|
|
255
|
-
"link": "text-
|
|
256
|
-
"linkLeadingIcon": "text-
|
|
254
|
+
"link": "text-(--ui-primary)",
|
|
255
|
+
"linkLeadingIcon": "text-(--ui-primary) group-data-[state=open]:text-(--ui-primary)"
|
|
257
256
|
}
|
|
258
257
|
},
|
|
259
258
|
{
|
|
@@ -261,8 +260,8 @@ export default {
|
|
|
261
260
|
"variant": "pill" as typeof variant[number],
|
|
262
261
|
"active": true,
|
|
263
262
|
"class": {
|
|
264
|
-
"link": "text-
|
|
265
|
-
"linkLeadingIcon": "text-
|
|
263
|
+
"link": "text-(--ui-secondary)",
|
|
264
|
+
"linkLeadingIcon": "text-(--ui-secondary) group-data-[state=open]:text-(--ui-secondary)"
|
|
266
265
|
}
|
|
267
266
|
},
|
|
268
267
|
{
|
|
@@ -270,8 +269,8 @@ export default {
|
|
|
270
269
|
"variant": "pill" as typeof variant[number],
|
|
271
270
|
"active": true,
|
|
272
271
|
"class": {
|
|
273
|
-
"link": "text-
|
|
274
|
-
"linkLeadingIcon": "text-
|
|
272
|
+
"link": "text-(--ui-success)",
|
|
273
|
+
"linkLeadingIcon": "text-(--ui-success) group-data-[state=open]:text-(--ui-success)"
|
|
275
274
|
}
|
|
276
275
|
},
|
|
277
276
|
{
|
|
@@ -279,8 +278,8 @@ export default {
|
|
|
279
278
|
"variant": "pill" as typeof variant[number],
|
|
280
279
|
"active": true,
|
|
281
280
|
"class": {
|
|
282
|
-
"link": "text-
|
|
283
|
-
"linkLeadingIcon": "text-
|
|
281
|
+
"link": "text-(--ui-info)",
|
|
282
|
+
"linkLeadingIcon": "text-(--ui-info) group-data-[state=open]:text-(--ui-info)"
|
|
284
283
|
}
|
|
285
284
|
},
|
|
286
285
|
{
|
|
@@ -288,8 +287,8 @@ export default {
|
|
|
288
287
|
"variant": "pill" as typeof variant[number],
|
|
289
288
|
"active": true,
|
|
290
289
|
"class": {
|
|
291
|
-
"link": "text-
|
|
292
|
-
"linkLeadingIcon": "text-
|
|
290
|
+
"link": "text-(--ui-warning)",
|
|
291
|
+
"linkLeadingIcon": "text-(--ui-warning) group-data-[state=open]:text-(--ui-warning)"
|
|
293
292
|
}
|
|
294
293
|
},
|
|
295
294
|
{
|
|
@@ -297,8 +296,8 @@ export default {
|
|
|
297
296
|
"variant": "pill" as typeof variant[number],
|
|
298
297
|
"active": true,
|
|
299
298
|
"class": {
|
|
300
|
-
"link": "text-
|
|
301
|
-
"linkLeadingIcon": "text-
|
|
299
|
+
"link": "text-(--ui-error)",
|
|
300
|
+
"linkLeadingIcon": "text-(--ui-error) group-data-[state=open]:text-(--ui-error)"
|
|
302
301
|
}
|
|
303
302
|
},
|
|
304
303
|
{
|
|
@@ -306,8 +305,8 @@ export default {
|
|
|
306
305
|
"variant": "pill" as typeof variant[number],
|
|
307
306
|
"active": true,
|
|
308
307
|
"class": {
|
|
309
|
-
"link": "text-
|
|
310
|
-
"linkLeadingIcon": "text-
|
|
308
|
+
"link": "text-(--ui-text-highlighted)",
|
|
309
|
+
"linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)"
|
|
311
310
|
}
|
|
312
311
|
},
|
|
313
312
|
{
|
|
@@ -315,7 +314,7 @@ export default {
|
|
|
315
314
|
"active": true,
|
|
316
315
|
"highlight": false,
|
|
317
316
|
"class": {
|
|
318
|
-
"link": "before:bg-
|
|
317
|
+
"link": "before:bg-(--ui-bg-elevated)"
|
|
319
318
|
}
|
|
320
319
|
},
|
|
321
320
|
{
|
|
@@ -324,7 +323,7 @@ export default {
|
|
|
324
323
|
"highlight": true,
|
|
325
324
|
"class": {
|
|
326
325
|
"link": [
|
|
327
|
-
"hover:before:bg-
|
|
326
|
+
"hover:before:bg-(--ui-bg-elevated)/50",
|
|
328
327
|
"before:transition-colors"
|
|
329
328
|
]
|
|
330
329
|
}
|
|
@@ -335,11 +334,11 @@ export default {
|
|
|
335
334
|
"variant": "link" as typeof variant[number],
|
|
336
335
|
"class": {
|
|
337
336
|
"link": [
|
|
338
|
-
"hover:text-
|
|
337
|
+
"hover:text-(--ui-text-highlighted)",
|
|
339
338
|
"transition-colors"
|
|
340
339
|
],
|
|
341
340
|
"linkLeadingIcon": [
|
|
342
|
-
"group-hover:text-
|
|
341
|
+
"group-hover:text-(--ui-text)",
|
|
343
342
|
"transition-colors"
|
|
344
343
|
]
|
|
345
344
|
}
|
|
@@ -350,8 +349,8 @@ export default {
|
|
|
350
349
|
"variant": "link" as typeof variant[number],
|
|
351
350
|
"orientation": "horizontal" as typeof orientation[number],
|
|
352
351
|
"class": {
|
|
353
|
-
"link": "data-[state=open]:text-
|
|
354
|
-
"linkLeadingIcon": "group-data-[state=open]:text-
|
|
352
|
+
"link": "data-[state=open]:text-(--ui-text-highlighted)",
|
|
353
|
+
"linkLeadingIcon": "group-data-[state=open]:text-(--ui-text)"
|
|
355
354
|
}
|
|
356
355
|
},
|
|
357
356
|
{
|
|
@@ -359,8 +358,8 @@ export default {
|
|
|
359
358
|
"variant": "link" as typeof variant[number],
|
|
360
359
|
"active": true,
|
|
361
360
|
"class": {
|
|
362
|
-
"link": "text-
|
|
363
|
-
"linkLeadingIcon": "text-
|
|
361
|
+
"link": "text-(--ui-primary)",
|
|
362
|
+
"linkLeadingIcon": "text-(--ui-primary) group-data-[state=open]:text-(--ui-primary)"
|
|
364
363
|
}
|
|
365
364
|
},
|
|
366
365
|
{
|
|
@@ -368,8 +367,8 @@ export default {
|
|
|
368
367
|
"variant": "link" as typeof variant[number],
|
|
369
368
|
"active": true,
|
|
370
369
|
"class": {
|
|
371
|
-
"link": "text-
|
|
372
|
-
"linkLeadingIcon": "text-
|
|
370
|
+
"link": "text-(--ui-secondary)",
|
|
371
|
+
"linkLeadingIcon": "text-(--ui-secondary) group-data-[state=open]:text-(--ui-secondary)"
|
|
373
372
|
}
|
|
374
373
|
},
|
|
375
374
|
{
|
|
@@ -377,8 +376,8 @@ export default {
|
|
|
377
376
|
"variant": "link" as typeof variant[number],
|
|
378
377
|
"active": true,
|
|
379
378
|
"class": {
|
|
380
|
-
"link": "text-
|
|
381
|
-
"linkLeadingIcon": "text-
|
|
379
|
+
"link": "text-(--ui-success)",
|
|
380
|
+
"linkLeadingIcon": "text-(--ui-success) group-data-[state=open]:text-(--ui-success)"
|
|
382
381
|
}
|
|
383
382
|
},
|
|
384
383
|
{
|
|
@@ -386,8 +385,8 @@ export default {
|
|
|
386
385
|
"variant": "link" as typeof variant[number],
|
|
387
386
|
"active": true,
|
|
388
387
|
"class": {
|
|
389
|
-
"link": "text-
|
|
390
|
-
"linkLeadingIcon": "text-
|
|
388
|
+
"link": "text-(--ui-info)",
|
|
389
|
+
"linkLeadingIcon": "text-(--ui-info) group-data-[state=open]:text-(--ui-info)"
|
|
391
390
|
}
|
|
392
391
|
},
|
|
393
392
|
{
|
|
@@ -395,8 +394,8 @@ export default {
|
|
|
395
394
|
"variant": "link" as typeof variant[number],
|
|
396
395
|
"active": true,
|
|
397
396
|
"class": {
|
|
398
|
-
"link": "text-
|
|
399
|
-
"linkLeadingIcon": "text-
|
|
397
|
+
"link": "text-(--ui-warning)",
|
|
398
|
+
"linkLeadingIcon": "text-(--ui-warning) group-data-[state=open]:text-(--ui-warning)"
|
|
400
399
|
}
|
|
401
400
|
},
|
|
402
401
|
{
|
|
@@ -404,8 +403,8 @@ export default {
|
|
|
404
403
|
"variant": "link" as typeof variant[number],
|
|
405
404
|
"active": true,
|
|
406
405
|
"class": {
|
|
407
|
-
"link": "text-
|
|
408
|
-
"linkLeadingIcon": "text-
|
|
406
|
+
"link": "text-(--ui-error)",
|
|
407
|
+
"linkLeadingIcon": "text-(--ui-error) group-data-[state=open]:text-(--ui-error)"
|
|
409
408
|
}
|
|
410
409
|
},
|
|
411
410
|
{
|
|
@@ -413,8 +412,8 @@ export default {
|
|
|
413
412
|
"variant": "link" as typeof variant[number],
|
|
414
413
|
"active": true,
|
|
415
414
|
"class": {
|
|
416
|
-
"link": "text-
|
|
417
|
-
"linkLeadingIcon": "text-
|
|
415
|
+
"link": "text-(--ui-text-highlighted)",
|
|
416
|
+
"linkLeadingIcon": "text-(--ui-text-highlighted) group-data-[state=open]:text-(--ui-text-highlighted)"
|
|
418
417
|
}
|
|
419
418
|
},
|
|
420
419
|
{
|
|
@@ -423,7 +422,7 @@ export default {
|
|
|
423
422
|
"level": true,
|
|
424
423
|
"active": true,
|
|
425
424
|
"class": {
|
|
426
|
-
"link": "after:bg-
|
|
425
|
+
"link": "after:bg-(--ui-primary)"
|
|
427
426
|
}
|
|
428
427
|
},
|
|
429
428
|
{
|
|
@@ -432,7 +431,7 @@ export default {
|
|
|
432
431
|
"level": true,
|
|
433
432
|
"active": true,
|
|
434
433
|
"class": {
|
|
435
|
-
"link": "after:bg-
|
|
434
|
+
"link": "after:bg-(--ui-secondary)"
|
|
436
435
|
}
|
|
437
436
|
},
|
|
438
437
|
{
|
|
@@ -441,7 +440,7 @@ export default {
|
|
|
441
440
|
"level": true,
|
|
442
441
|
"active": true,
|
|
443
442
|
"class": {
|
|
444
|
-
"link": "after:bg-
|
|
443
|
+
"link": "after:bg-(--ui-success)"
|
|
445
444
|
}
|
|
446
445
|
},
|
|
447
446
|
{
|
|
@@ -450,7 +449,7 @@ export default {
|
|
|
450
449
|
"level": true,
|
|
451
450
|
"active": true,
|
|
452
451
|
"class": {
|
|
453
|
-
"link": "after:bg-
|
|
452
|
+
"link": "after:bg-(--ui-info)"
|
|
454
453
|
}
|
|
455
454
|
},
|
|
456
455
|
{
|
|
@@ -459,7 +458,7 @@ export default {
|
|
|
459
458
|
"level": true,
|
|
460
459
|
"active": true,
|
|
461
460
|
"class": {
|
|
462
|
-
"link": "after:bg-
|
|
461
|
+
"link": "after:bg-(--ui-warning)"
|
|
463
462
|
}
|
|
464
463
|
},
|
|
465
464
|
{
|
|
@@ -468,7 +467,7 @@ export default {
|
|
|
468
467
|
"level": true,
|
|
469
468
|
"active": true,
|
|
470
469
|
"class": {
|
|
471
|
-
"link": "after:bg-
|
|
470
|
+
"link": "after:bg-(--ui-error)"
|
|
472
471
|
}
|
|
473
472
|
},
|
|
474
473
|
{
|
|
@@ -477,14 +476,14 @@ export default {
|
|
|
477
476
|
"level": true,
|
|
478
477
|
"active": true,
|
|
479
478
|
"class": {
|
|
480
|
-
"link": "after:bg-
|
|
479
|
+
"link": "after:bg-(--ui-bg-inverted)"
|
|
481
480
|
}
|
|
482
481
|
},
|
|
483
482
|
{
|
|
484
483
|
"orientation": "vertical" as typeof orientation[number],
|
|
485
484
|
"collapsed": false,
|
|
486
485
|
"class": {
|
|
487
|
-
"childList": "ms-5 border-s border-
|
|
486
|
+
"childList": "ms-5 border-s border-(--ui-border)",
|
|
488
487
|
"childItem": "ps-1.5 -ms-px"
|
|
489
488
|
}
|
|
490
489
|
},
|
package/.nuxt/ui/pin-input.ts
CHANGED
|
@@ -28,7 +28,7 @@ export default {
|
|
|
28
28
|
"slots": {
|
|
29
29
|
"root": "relative inline-flex items-center gap-1.5",
|
|
30
30
|
"base": [
|
|
31
|
-
"rounded-[calc(var(--ui-radius)*1.5)] border-0 placeholder:text-
|
|
31
|
+
"rounded-[calc(var(--ui-radius)*1.5)] border-0 placeholder:text-(--ui-text-dimmed) text-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
|
|
32
32
|
"transition-colors"
|
|
33
33
|
]
|
|
34
34
|
},
|
|
@@ -51,11 +51,11 @@ export default {
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"variant": {
|
|
54
|
-
"outline": "text-
|
|
55
|
-
"soft": "text-
|
|
56
|
-
"subtle": "text-
|
|
57
|
-
"ghost": "text-
|
|
58
|
-
"none": "text-
|
|
54
|
+
"outline": "text-(--ui-text-highlighted) bg-(--ui-bg) ring ring-inset ring-(--ui-border-accented)",
|
|
55
|
+
"soft": "text-(--ui-text-highlighted) bg-(--ui-bg-elevated)/50 hover:bg-(--ui-bg-elevated) focus:bg-(--ui-bg-elevated) disabled:bg-(--ui-bg-elevated)/50",
|
|
56
|
+
"subtle": "text-(--ui-text-highlighted) bg-(--ui-bg-elevated) ring ring-inset ring-(--ui-border-accented)",
|
|
57
|
+
"ghost": "text-(--ui-text-highlighted) bg-transparent hover:bg-(--ui-bg-elevated) focus:bg-(--ui-bg-elevated) disabled:bg-transparent dark:disabled:bg-transparent",
|
|
58
|
+
"none": "text-(--ui-text-highlighted) bg-transparent"
|
|
59
59
|
},
|
|
60
60
|
"color": {
|
|
61
61
|
"primary": "",
|
|
@@ -77,7 +77,7 @@ export default {
|
|
|
77
77
|
"outline" as typeof variant[number],
|
|
78
78
|
"subtle" as typeof variant[number]
|
|
79
79
|
],
|
|
80
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
80
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-primary)"
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"color": "secondary" as typeof color[number],
|
|
@@ -85,7 +85,7 @@ export default {
|
|
|
85
85
|
"outline" as typeof variant[number],
|
|
86
86
|
"subtle" as typeof variant[number]
|
|
87
87
|
],
|
|
88
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
88
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-secondary)"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"color": "success" as typeof color[number],
|
|
@@ -93,7 +93,7 @@ export default {
|
|
|
93
93
|
"outline" as typeof variant[number],
|
|
94
94
|
"subtle" as typeof variant[number]
|
|
95
95
|
],
|
|
96
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
96
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-success)"
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
"color": "info" as typeof color[number],
|
|
@@ -101,7 +101,7 @@ export default {
|
|
|
101
101
|
"outline" as typeof variant[number],
|
|
102
102
|
"subtle" as typeof variant[number]
|
|
103
103
|
],
|
|
104
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
104
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-info)"
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
"color": "warning" as typeof color[number],
|
|
@@ -109,7 +109,7 @@ export default {
|
|
|
109
109
|
"outline" as typeof variant[number],
|
|
110
110
|
"subtle" as typeof variant[number]
|
|
111
111
|
],
|
|
112
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
112
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-warning)"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"color": "error" as typeof color[number],
|
|
@@ -117,37 +117,37 @@ export default {
|
|
|
117
117
|
"outline" as typeof variant[number],
|
|
118
118
|
"subtle" as typeof variant[number]
|
|
119
119
|
],
|
|
120
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
120
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-error)"
|
|
121
121
|
},
|
|
122
122
|
{
|
|
123
123
|
"color": "primary" as typeof color[number],
|
|
124
124
|
"highlight": true,
|
|
125
|
-
"class": "ring ring-inset ring-
|
|
125
|
+
"class": "ring ring-inset ring-(--ui-primary)"
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"color": "secondary" as typeof color[number],
|
|
129
129
|
"highlight": true,
|
|
130
|
-
"class": "ring ring-inset ring-
|
|
130
|
+
"class": "ring ring-inset ring-(--ui-secondary)"
|
|
131
131
|
},
|
|
132
132
|
{
|
|
133
133
|
"color": "success" as typeof color[number],
|
|
134
134
|
"highlight": true,
|
|
135
|
-
"class": "ring ring-inset ring-
|
|
135
|
+
"class": "ring ring-inset ring-(--ui-success)"
|
|
136
136
|
},
|
|
137
137
|
{
|
|
138
138
|
"color": "info" as typeof color[number],
|
|
139
139
|
"highlight": true,
|
|
140
|
-
"class": "ring ring-inset ring-
|
|
140
|
+
"class": "ring ring-inset ring-(--ui-info)"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"color": "warning" as typeof color[number],
|
|
144
144
|
"highlight": true,
|
|
145
|
-
"class": "ring ring-inset ring-
|
|
145
|
+
"class": "ring ring-inset ring-(--ui-warning)"
|
|
146
146
|
},
|
|
147
147
|
{
|
|
148
148
|
"color": "error" as typeof color[number],
|
|
149
149
|
"highlight": true,
|
|
150
|
-
"class": "ring ring-inset ring-
|
|
150
|
+
"class": "ring ring-inset ring-(--ui-error)"
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"color": "neutral" as typeof color[number],
|
|
@@ -155,12 +155,12 @@ export default {
|
|
|
155
155
|
"outline" as typeof variant[number],
|
|
156
156
|
"subtle" as typeof variant[number]
|
|
157
157
|
],
|
|
158
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-
|
|
158
|
+
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-(--ui-border-inverted)"
|
|
159
159
|
},
|
|
160
160
|
{
|
|
161
161
|
"color": "neutral" as typeof color[number],
|
|
162
162
|
"highlight": true,
|
|
163
|
-
"class": "ring ring-inset ring-
|
|
163
|
+
"class": "ring ring-inset ring-(--ui-border-inverted)"
|
|
164
164
|
}
|
|
165
165
|
],
|
|
166
166
|
"defaultVariants": {
|
package/.nuxt/ui/popover.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
|
-
"content": "bg-
|
|
4
|
-
"arrow": "fill-
|
|
3
|
+
"content": "bg-(--ui-bg) shadow-lg rounded-[calc(var(--ui-radius)*1.5)] ring ring-(--ui-border) data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] focus:outline-none pointer-events-auto",
|
|
4
|
+
"arrow": "fill-(--ui-border)"
|
|
5
5
|
}
|
|
6
6
|
}
|
package/.nuxt/ui/progress.ts
CHANGED
|
@@ -40,9 +40,9 @@ const orientation = [
|
|
|
40
40
|
export default {
|
|
41
41
|
"slots": {
|
|
42
42
|
"root": "gap-2",
|
|
43
|
-
"base": "relative overflow-hidden rounded-full bg-
|
|
43
|
+
"base": "relative overflow-hidden rounded-full bg-(--ui-bg-accented)",
|
|
44
44
|
"indicator": "rounded-full size-full transition-transform duration-200 ease-out",
|
|
45
|
-
"status": "flex justify-end text-
|
|
45
|
+
"status": "flex justify-end text-(--ui-text-dimmed) transition-[width] duration-200",
|
|
46
46
|
"steps": "grid items-end",
|
|
47
47
|
"step": "truncate text-end row-start-1 col-start-1 transition-opacity" as typeof step[number]
|
|
48
48
|
},
|
|
@@ -55,32 +55,32 @@ export default {
|
|
|
55
55
|
},
|
|
56
56
|
"color": {
|
|
57
57
|
"primary": {
|
|
58
|
-
"indicator": "bg-
|
|
59
|
-
"steps": "text-
|
|
58
|
+
"indicator": "bg-(--ui-primary)",
|
|
59
|
+
"steps": "text-(--ui-primary)"
|
|
60
60
|
},
|
|
61
61
|
"secondary": {
|
|
62
|
-
"indicator": "bg-
|
|
63
|
-
"steps": "text-
|
|
62
|
+
"indicator": "bg-(--ui-secondary)",
|
|
63
|
+
"steps": "text-(--ui-secondary)"
|
|
64
64
|
},
|
|
65
65
|
"success": {
|
|
66
|
-
"indicator": "bg-
|
|
67
|
-
"steps": "text-
|
|
66
|
+
"indicator": "bg-(--ui-success)",
|
|
67
|
+
"steps": "text-(--ui-success)"
|
|
68
68
|
},
|
|
69
69
|
"info": {
|
|
70
|
-
"indicator": "bg-
|
|
71
|
-
"steps": "text-
|
|
70
|
+
"indicator": "bg-(--ui-info)",
|
|
71
|
+
"steps": "text-(--ui-info)"
|
|
72
72
|
},
|
|
73
73
|
"warning": {
|
|
74
|
-
"indicator": "bg-
|
|
75
|
-
"steps": "text-
|
|
74
|
+
"indicator": "bg-(--ui-warning)",
|
|
75
|
+
"steps": "text-(--ui-warning)"
|
|
76
76
|
},
|
|
77
77
|
"error": {
|
|
78
|
-
"indicator": "bg-
|
|
79
|
-
"steps": "text-
|
|
78
|
+
"indicator": "bg-(--ui-error)",
|
|
79
|
+
"steps": "text-(--ui-error)"
|
|
80
80
|
},
|
|
81
81
|
"neutral": {
|
|
82
|
-
"indicator": "bg-
|
|
83
|
-
"steps": "text-
|
|
82
|
+
"indicator": "bg-(--ui-bg-inverted)",
|
|
83
|
+
"steps": "text-(--ui-bg)"
|
|
84
84
|
}
|
|
85
85
|
},
|
|
86
86
|
"size": {
|
|
@@ -118,7 +118,7 @@ export default {
|
|
|
118
118
|
"step": "opacity-100" as typeof step[number]
|
|
119
119
|
},
|
|
120
120
|
"first": {
|
|
121
|
-
"step": "opacity-100 text-
|
|
121
|
+
"step": "opacity-100 text-(--ui-text-muted)" as typeof step[number]
|
|
122
122
|
},
|
|
123
123
|
"other": {
|
|
124
124
|
"step": "opacity-0" as typeof step[number]
|