@nuxt/ui 3.0.2 → 3.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/ui/accordion.ts +2 -2
- package/.nuxt/ui/alert.ts +29 -29
- package/.nuxt/ui/avatar-group.ts +1 -1
- package/.nuxt/ui/avatar.ts +3 -3
- package/.nuxt/ui/badge.ts +33 -33
- package/.nuxt/ui/breadcrumb.ts +5 -5
- package/.nuxt/ui/button.ts +43 -43
- package/.nuxt/ui/calendar.ts +17 -17
- package/.nuxt/ui/card.ts +5 -5
- package/.nuxt/ui/carousel.ts +6 -6
- package/.nuxt/ui/checkbox-group.ts +61 -0
- package/.nuxt/ui/checkbox.ts +140 -27
- package/.nuxt/ui/chip.ts +8 -8
- package/.nuxt/ui/color-picker.ts +3 -3
- package/.nuxt/ui/command-palette.ts +14 -14
- package/.nuxt/ui/context-menu.ts +33 -33
- package/.nuxt/ui/drawer.ts +10 -10
- package/.nuxt/ui/dropdown-menu.ts +34 -34
- package/.nuxt/ui/form-field.ts +6 -6
- package/.nuxt/ui/index.ts +1 -0
- package/.nuxt/ui/input-menu.ts +42 -42
- 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 +78 -80
- 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 +250 -35
- package/.nuxt/ui/select-menu.ts +36 -33
- package/.nuxt/ui/select.ts +32 -32
- 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 +15 -15
- package/.nuxt/ui/tabs.ts +32 -32
- package/.nuxt/ui/textarea.ts +40 -35
- package/.nuxt/ui/toast.ts +24 -24
- package/.nuxt/ui/tooltip.ts +2 -2
- package/.nuxt/ui/tree.ts +18 -18
- package/.nuxt/ui.css +63 -12
- package/README.md +15 -0
- package/cli/templates.mjs +18 -17
- package/dist/module.json +5 -5
- package/dist/module.mjs +12 -7
- package/dist/runtime/components/Accordion.vue +36 -93
- package/dist/runtime/components/Accordion.vue.d.ts +75 -0
- package/dist/runtime/components/Alert.vue +37 -100
- package/dist/runtime/components/Alert.vue.d.ts +81 -0
- package/dist/runtime/components/App.vue +28 -34
- package/dist/runtime/components/App.vue.d.ts +24 -0
- package/dist/runtime/components/Avatar.vue +42 -75
- package/dist/runtime/components/Avatar.vue.d.ts +39 -0
- package/dist/runtime/components/AvatarGroup.vue +40 -77
- package/dist/runtime/components/AvatarGroup.vue.d.ts +31 -0
- package/dist/runtime/components/Badge.vue +33 -62
- package/dist/runtime/components/Badge.vue.d.ts +41 -0
- package/dist/runtime/components/Breadcrumb.vue +37 -90
- package/dist/runtime/components/Breadcrumb.vue.d.ts +64 -0
- package/dist/runtime/components/Button.vue +95 -104
- package/dist/runtime/components/Button.vue.d.ts +48 -0
- package/dist/runtime/components/ButtonGroup.vue +20 -46
- package/dist/runtime/components/ButtonGroup.vue.d.ts +34 -0
- package/dist/runtime/components/Calendar.vue +67 -150
- package/dist/runtime/components/Calendar.vue.d.ts +111 -0
- package/dist/runtime/components/Card.vue +18 -40
- package/dist/runtime/components/Card.vue.d.ts +29 -0
- package/dist/runtime/components/Carousel.vue +112 -234
- package/dist/runtime/components/Carousel.vue.d.ts +122 -0
- package/dist/runtime/components/Checkbox.vue +52 -93
- package/dist/runtime/components/Checkbox.vue.d.ts +73 -0
- package/dist/runtime/components/CheckboxGroup.vue +121 -0
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +78 -0
- package/dist/runtime/components/Chip.vue +26 -69
- package/dist/runtime/components/Chip.vue.d.ts +57 -0
- package/dist/runtime/components/Collapsible.vue +22 -41
- package/dist/runtime/components/Collapsible.vue.d.ts +35 -0
- package/dist/runtime/components/ColorPicker.vue +111 -197
- package/dist/runtime/components/ColorPicker.vue.d.ts +48 -0
- package/dist/runtime/components/CommandPalette.vue +96 -237
- package/dist/runtime/components/CommandPalette.vue.d.ts +161 -0
- package/dist/runtime/components/Container.vue +15 -28
- package/dist/runtime/components/Container.vue.d.ts +18 -0
- package/dist/runtime/components/ContextMenu.vue +34 -133
- package/dist/runtime/components/ContextMenu.vue.d.ts +107 -0
- package/dist/runtime/components/ContextMenuContent.vue +73 -81
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +65 -0
- package/dist/runtime/components/Drawer.vue +49 -83
- package/dist/runtime/components/Drawer.vue.d.ts +78 -0
- package/dist/runtime/components/DropdownMenu.vue +39 -142
- package/dist/runtime/components/DropdownMenu.vue.d.ts +117 -0
- package/dist/runtime/components/DropdownMenuContent.vue +78 -88
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +68 -0
- package/dist/runtime/components/Form.vue +135 -220
- package/dist/runtime/components/Form.vue.d.ts +69 -0
- package/dist/runtime/components/FormField.vue +35 -77
- package/dist/runtime/components/FormField.vue.d.ts +61 -0
- package/dist/runtime/components/Icon.vue +12 -19
- package/dist/runtime/components/Icon.vue.d.ts +8 -0
- package/dist/runtime/components/Input.vue +82 -140
- package/dist/runtime/components/Input.vue.d.ts +76 -0
- package/dist/runtime/components/InputMenu.vue +185 -332
- package/dist/runtime/components/InputMenu.vue.d.ts +324 -0
- package/dist/runtime/components/InputNumber.vue +71 -133
- package/dist/runtime/components/InputNumber.vue.d.ts +182 -0
- package/dist/runtime/components/Kbd.vue +20 -46
- package/dist/runtime/components/Kbd.vue.d.ts +34 -0
- package/dist/runtime/components/Link.vue +98 -176
- package/dist/runtime/components/Link.vue.d.ts +93 -0
- package/dist/runtime/components/LinkBase.vue +33 -42
- package/dist/runtime/components/LinkBase.vue.d.ts +25 -0
- package/dist/runtime/components/Modal.vue +53 -116
- package/dist/runtime/components/Modal.vue.d.ts +93 -0
- package/dist/runtime/components/NavigationMenu.vue +77 -209
- package/dist/runtime/components/NavigationMenu.vue.d.ts +139 -0
- package/dist/runtime/components/OverlayProvider.vue +14 -18
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
- package/dist/runtime/components/Pagination.vue +46 -140
- package/dist/runtime/components/Pagination.vue.d.ts +119 -0
- package/dist/runtime/components/PinInput.vue +61 -78
- package/dist/runtime/components/PinInput.vue.d.ts +57 -0
- package/dist/runtime/components/Popover.vue +47 -84
- package/dist/runtime/components/Popover.vue.d.ts +63 -0
- package/dist/runtime/components/Progress.vue +70 -131
- package/dist/runtime/components/Progress.vue.d.ts +66 -0
- package/dist/runtime/components/RadioGroup.vue +70 -132
- package/dist/runtime/components/RadioGroup.vue.d.ts +91 -0
- package/dist/runtime/components/Select.vue +110 -224
- package/dist/runtime/components/Select.vue.d.ts +145 -0
- package/dist/runtime/components/SelectMenu.vue +161 -310
- package/dist/runtime/components/SelectMenu.vue.d.ts +196 -0
- package/dist/runtime/components/Separator.vue +29 -71
- package/dist/runtime/components/Separator.vue.d.ts +54 -0
- package/dist/runtime/components/Skeleton.vue +21 -23
- package/dist/runtime/components/Skeleton.vue.d.ts +17 -0
- package/dist/runtime/components/Slideover.vue +53 -120
- package/dist/runtime/components/Slideover.vue.d.ts +94 -0
- package/dist/runtime/components/Slider.vue +46 -84
- package/dist/runtime/components/Slider.vue.d.ts +52 -0
- package/dist/runtime/components/Stepper.vue +45 -115
- package/dist/runtime/components/Stepper.vue.d.ts +83 -0
- package/dist/runtime/components/Switch.vue +45 -93
- package/dist/runtime/components/Switch.vue.d.ts +70 -0
- package/dist/runtime/components/Table.vue +163 -267
- package/dist/runtime/components/Table.vue.d.ts +183 -0
- package/dist/runtime/components/Tabs.vue +41 -107
- package/dist/runtime/components/Tabs.vue.d.ts +88 -0
- package/dist/runtime/components/Textarea.vue +113 -158
- package/dist/runtime/components/Textarea.vue.d.ts +78 -0
- package/dist/runtime/components/Toast.vue +49 -110
- package/dist/runtime/components/Toast.vue.d.ts +157 -0
- package/dist/runtime/components/Toaster.vue +70 -107
- package/dist/runtime/components/Toaster.vue.d.ts +38 -0
- package/dist/runtime/components/Tooltip.vue +38 -65
- package/dist/runtime/components/Tooltip.vue.d.ts +50 -0
- package/dist/runtime/components/Tree.vue +59 -166
- package/dist/runtime/components/Tree.vue.d.ts +111 -0
- package/dist/runtime/composables/defineShortcuts.d.ts +1 -1
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
- package/dist/runtime/composables/useFormField.d.ts +2 -2
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +14 -8
- package/dist/runtime/composables/useOverlay.js +20 -7
- package/dist/runtime/composables/usePortal.d.ts +6 -0
- package/dist/runtime/composables/usePortal.js +17 -0
- package/dist/runtime/index.css +1 -1
- package/dist/runtime/inertia/components/Link.vue +146 -0
- package/dist/runtime/inertia/components/Link.vue.d.ts +63 -0
- package/dist/runtime/inertia/stubs.d.ts +43 -0
- package/dist/runtime/inertia/stubs.js +82 -0
- package/dist/runtime/locale/bg.d.ts +3 -0
- package/dist/runtime/locale/bg.js +54 -0
- package/dist/runtime/locale/index.d.ts +5 -1
- package/dist/runtime/locale/index.js +5 -1
- package/dist/runtime/locale/kk.d.ts +3 -0
- package/dist/runtime/locale/kk.js +54 -0
- package/dist/runtime/locale/tj.d.ts +3 -0
- package/dist/runtime/locale/tj.js +54 -0
- package/dist/runtime/locale/ug_cn.d.ts +3 -0
- package/dist/runtime/locale/ug_cn.js +55 -0
- package/dist/runtime/types/form.d.ts +4 -1
- package/dist/runtime/types/index.d.ts +1 -0
- package/dist/runtime/types/index.js +1 -0
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +7 -17
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/utils/link.d.ts +3 -3
- package/dist/runtime/utils/link.js +1 -0
- package/dist/runtime/utils/tv.js +2 -2
- package/dist/runtime/vue/components/Icon.vue +7 -8
- package/dist/runtime/vue/components/Icon.vue.d.ts +5 -0
- package/dist/runtime/vue/components/Link.vue +118 -202
- package/dist/runtime/vue/components/Link.vue.d.ts +93 -0
- package/dist/runtime/vue/stubs.d.ts +2 -2
- package/dist/shared/{ui.BkNUP964.mjs → ui.CbtTMMzt.mjs} +631 -366
- package/dist/types.d.mts +3 -5
- package/dist/unplugin.d.mts +6 -2
- package/dist/unplugin.mjs +25 -4
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +96 -54
- package/dist/module.cjs +0 -62
- package/dist/module.d.cts +0 -45
- package/dist/module.d.ts +0 -45
- package/dist/shared/ui.BL-XB3u1.cjs +0 -3555
- package/dist/types.d.ts +0 -7
- package/dist/unplugin.cjs +0 -232
- package/dist/unplugin.d.cts +0 -62
- package/dist/unplugin.d.ts +0 -62
- package/dist/vite.cjs +0 -23
- package/dist/vite.d.cts +0 -15
- package/dist/vite.d.ts +0 -15
package/.nuxt/ui/accordion.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
"slots": {
|
|
3
3
|
"root": "w-full",
|
|
4
|
-
"item": "border-b border-
|
|
4
|
+
"item": "border-b border-default last:border-b-0",
|
|
5
5
|
"header": "flex",
|
|
6
|
-
"trigger": "group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-
|
|
6
|
+
"trigger": "group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary min-w-0",
|
|
7
7
|
"content": "data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none",
|
|
8
8
|
"body": "text-sm pb-3.5",
|
|
9
9
|
"leadingIcon": "shrink-0 size-5",
|
package/.nuxt/ui/alert.ts
CHANGED
|
@@ -22,7 +22,7 @@ const orientation = [
|
|
|
22
22
|
|
|
23
23
|
export default {
|
|
24
24
|
"slots": {
|
|
25
|
-
"root": "relative overflow-hidden w-full rounded-
|
|
25
|
+
"root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
|
|
26
26
|
"wrapper": "min-w-0 flex-1 flex flex-col",
|
|
27
27
|
"title": "text-sm font-medium",
|
|
28
28
|
"description": "text-sm opacity-90",
|
|
@@ -69,196 +69,196 @@ export default {
|
|
|
69
69
|
"color": "primary" as typeof color[number],
|
|
70
70
|
"variant": "solid" as typeof variant[number],
|
|
71
71
|
"class": {
|
|
72
|
-
"root": "bg-
|
|
72
|
+
"root": "bg-primary text-inverted"
|
|
73
73
|
}
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
76
|
"color": "secondary" as typeof color[number],
|
|
77
77
|
"variant": "solid" as typeof variant[number],
|
|
78
78
|
"class": {
|
|
79
|
-
"root": "bg-
|
|
79
|
+
"root": "bg-secondary text-inverted"
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
83
|
"color": "success" as typeof color[number],
|
|
84
84
|
"variant": "solid" as typeof variant[number],
|
|
85
85
|
"class": {
|
|
86
|
-
"root": "bg-
|
|
86
|
+
"root": "bg-success text-inverted"
|
|
87
87
|
}
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
90
|
"color": "info" as typeof color[number],
|
|
91
91
|
"variant": "solid" as typeof variant[number],
|
|
92
92
|
"class": {
|
|
93
|
-
"root": "bg-
|
|
93
|
+
"root": "bg-info text-inverted"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
97
|
"color": "warning" as typeof color[number],
|
|
98
98
|
"variant": "solid" as typeof variant[number],
|
|
99
99
|
"class": {
|
|
100
|
-
"root": "bg-
|
|
100
|
+
"root": "bg-warning text-inverted"
|
|
101
101
|
}
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"color": "error" as typeof color[number],
|
|
105
105
|
"variant": "solid" as typeof variant[number],
|
|
106
106
|
"class": {
|
|
107
|
-
"root": "bg-
|
|
107
|
+
"root": "bg-error text-inverted"
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
111
111
|
"color": "primary" as typeof color[number],
|
|
112
112
|
"variant": "outline" as typeof variant[number],
|
|
113
113
|
"class": {
|
|
114
|
-
"root": "text-
|
|
114
|
+
"root": "text-primary ring ring-inset ring-primary/25"
|
|
115
115
|
}
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
"color": "secondary" as typeof color[number],
|
|
119
119
|
"variant": "outline" as typeof variant[number],
|
|
120
120
|
"class": {
|
|
121
|
-
"root": "text-
|
|
121
|
+
"root": "text-secondary ring ring-inset ring-secondary/25"
|
|
122
122
|
}
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"color": "success" as typeof color[number],
|
|
126
126
|
"variant": "outline" as typeof variant[number],
|
|
127
127
|
"class": {
|
|
128
|
-
"root": "text-
|
|
128
|
+
"root": "text-success ring ring-inset ring-success/25"
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"color": "info" as typeof color[number],
|
|
133
133
|
"variant": "outline" as typeof variant[number],
|
|
134
134
|
"class": {
|
|
135
|
-
"root": "text-
|
|
135
|
+
"root": "text-info ring ring-inset ring-info/25"
|
|
136
136
|
}
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"color": "warning" as typeof color[number],
|
|
140
140
|
"variant": "outline" as typeof variant[number],
|
|
141
141
|
"class": {
|
|
142
|
-
"root": "text-
|
|
142
|
+
"root": "text-warning ring ring-inset ring-warning/25"
|
|
143
143
|
}
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"color": "error" as typeof color[number],
|
|
147
147
|
"variant": "outline" as typeof variant[number],
|
|
148
148
|
"class": {
|
|
149
|
-
"root": "text-
|
|
149
|
+
"root": "text-error ring ring-inset ring-error/25"
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
{
|
|
153
153
|
"color": "primary" as typeof color[number],
|
|
154
154
|
"variant": "soft" as typeof variant[number],
|
|
155
155
|
"class": {
|
|
156
|
-
"root": "bg-
|
|
156
|
+
"root": "bg-primary/10 text-primary"
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"color": "secondary" as typeof color[number],
|
|
161
161
|
"variant": "soft" as typeof variant[number],
|
|
162
162
|
"class": {
|
|
163
|
-
"root": "bg-
|
|
163
|
+
"root": "bg-secondary/10 text-secondary"
|
|
164
164
|
}
|
|
165
165
|
},
|
|
166
166
|
{
|
|
167
167
|
"color": "success" as typeof color[number],
|
|
168
168
|
"variant": "soft" as typeof variant[number],
|
|
169
169
|
"class": {
|
|
170
|
-
"root": "bg-
|
|
170
|
+
"root": "bg-success/10 text-success"
|
|
171
171
|
}
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
174
|
"color": "info" as typeof color[number],
|
|
175
175
|
"variant": "soft" as typeof variant[number],
|
|
176
176
|
"class": {
|
|
177
|
-
"root": "bg-
|
|
177
|
+
"root": "bg-info/10 text-info"
|
|
178
178
|
}
|
|
179
179
|
},
|
|
180
180
|
{
|
|
181
181
|
"color": "warning" as typeof color[number],
|
|
182
182
|
"variant": "soft" as typeof variant[number],
|
|
183
183
|
"class": {
|
|
184
|
-
"root": "bg-
|
|
184
|
+
"root": "bg-warning/10 text-warning"
|
|
185
185
|
}
|
|
186
186
|
},
|
|
187
187
|
{
|
|
188
188
|
"color": "error" as typeof color[number],
|
|
189
189
|
"variant": "soft" as typeof variant[number],
|
|
190
190
|
"class": {
|
|
191
|
-
"root": "bg-
|
|
191
|
+
"root": "bg-error/10 text-error"
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"color": "primary" as typeof color[number],
|
|
196
196
|
"variant": "subtle" as typeof variant[number],
|
|
197
197
|
"class": {
|
|
198
|
-
"root": "bg-
|
|
198
|
+
"root": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
{
|
|
202
202
|
"color": "secondary" as typeof color[number],
|
|
203
203
|
"variant": "subtle" as typeof variant[number],
|
|
204
204
|
"class": {
|
|
205
|
-
"root": "bg-
|
|
205
|
+
"root": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
|
|
206
206
|
}
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
"color": "success" as typeof color[number],
|
|
210
210
|
"variant": "subtle" as typeof variant[number],
|
|
211
211
|
"class": {
|
|
212
|
-
"root": "bg-
|
|
212
|
+
"root": "bg-success/10 text-success ring ring-inset ring-success/25"
|
|
213
213
|
}
|
|
214
214
|
},
|
|
215
215
|
{
|
|
216
216
|
"color": "info" as typeof color[number],
|
|
217
217
|
"variant": "subtle" as typeof variant[number],
|
|
218
218
|
"class": {
|
|
219
|
-
"root": "bg-
|
|
219
|
+
"root": "bg-info/10 text-info ring ring-inset ring-info/25"
|
|
220
220
|
}
|
|
221
221
|
},
|
|
222
222
|
{
|
|
223
223
|
"color": "warning" as typeof color[number],
|
|
224
224
|
"variant": "subtle" as typeof variant[number],
|
|
225
225
|
"class": {
|
|
226
|
-
"root": "bg-
|
|
226
|
+
"root": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
|
|
227
227
|
}
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"color": "error" as typeof color[number],
|
|
231
231
|
"variant": "subtle" as typeof variant[number],
|
|
232
232
|
"class": {
|
|
233
|
-
"root": "bg-
|
|
233
|
+
"root": "bg-error/10 text-error ring ring-inset ring-error/25"
|
|
234
234
|
}
|
|
235
235
|
},
|
|
236
236
|
{
|
|
237
237
|
"color": "neutral" as typeof color[number],
|
|
238
238
|
"variant": "solid" as typeof variant[number],
|
|
239
239
|
"class": {
|
|
240
|
-
"root": "text-
|
|
240
|
+
"root": "text-inverted bg-inverted"
|
|
241
241
|
}
|
|
242
242
|
},
|
|
243
243
|
{
|
|
244
244
|
"color": "neutral" as typeof color[number],
|
|
245
245
|
"variant": "outline" as typeof variant[number],
|
|
246
246
|
"class": {
|
|
247
|
-
"root": "text-
|
|
247
|
+
"root": "text-highlighted bg-default ring ring-inset ring-default"
|
|
248
248
|
}
|
|
249
249
|
},
|
|
250
250
|
{
|
|
251
251
|
"color": "neutral" as typeof color[number],
|
|
252
252
|
"variant": "soft" as typeof variant[number],
|
|
253
253
|
"class": {
|
|
254
|
-
"root": "text-
|
|
254
|
+
"root": "text-highlighted bg-elevated/50"
|
|
255
255
|
}
|
|
256
256
|
},
|
|
257
257
|
{
|
|
258
258
|
"color": "neutral" as typeof color[number],
|
|
259
259
|
"variant": "subtle" as typeof variant[number],
|
|
260
260
|
"class": {
|
|
261
|
-
"root": "text-
|
|
261
|
+
"root": "text-highlighted bg-elevated/50 ring ring-inset ring-accented"
|
|
262
262
|
}
|
|
263
263
|
}
|
|
264
264
|
],
|
package/.nuxt/ui/avatar-group.ts
CHANGED
package/.nuxt/ui/avatar.ts
CHANGED
|
@@ -12,10 +12,10 @@ const size = [
|
|
|
12
12
|
|
|
13
13
|
export default {
|
|
14
14
|
"slots": {
|
|
15
|
-
"root": "inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-
|
|
15
|
+
"root": "inline-flex items-center justify-center shrink-0 select-none overflow-hidden rounded-full align-middle bg-elevated",
|
|
16
16
|
"image": "h-full w-full rounded-[inherit] object-cover",
|
|
17
|
-
"fallback": "font-medium leading-none text-
|
|
18
|
-
"icon": "text-
|
|
17
|
+
"fallback": "font-medium leading-none text-muted truncate",
|
|
18
|
+
"icon": "text-muted shrink-0"
|
|
19
19
|
},
|
|
20
20
|
"variants": {
|
|
21
21
|
"size": {
|
package/.nuxt/ui/badge.ts
CHANGED
|
@@ -59,31 +59,31 @@ export default {
|
|
|
59
59
|
},
|
|
60
60
|
"size": {
|
|
61
61
|
"xs": {
|
|
62
|
-
"base": "text-[8px]/3 px-1 py-0.5 gap-1 rounded-
|
|
62
|
+
"base": "text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",
|
|
63
63
|
"leadingIcon": "size-3",
|
|
64
64
|
"leadingAvatarSize": "3xs",
|
|
65
65
|
"trailingIcon": "size-3"
|
|
66
66
|
},
|
|
67
67
|
"sm": {
|
|
68
|
-
"base": "text-[10px]/3 px-1.5 py-1 gap-1 rounded-
|
|
68
|
+
"base": "text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",
|
|
69
69
|
"leadingIcon": "size-3",
|
|
70
70
|
"leadingAvatarSize": "3xs",
|
|
71
71
|
"trailingIcon": "size-3"
|
|
72
72
|
},
|
|
73
73
|
"md": {
|
|
74
|
-
"base": "text-xs px-2 py-1 gap-1 rounded-
|
|
74
|
+
"base": "text-xs px-2 py-1 gap-1 rounded-md",
|
|
75
75
|
"leadingIcon": "size-4",
|
|
76
76
|
"leadingAvatarSize": "3xs",
|
|
77
77
|
"trailingIcon": "size-4"
|
|
78
78
|
},
|
|
79
79
|
"lg": {
|
|
80
|
-
"base": "text-sm px-2 py-1 gap-1.5 rounded-
|
|
80
|
+
"base": "text-sm px-2 py-1 gap-1.5 rounded-md",
|
|
81
81
|
"leadingIcon": "size-5",
|
|
82
82
|
"leadingAvatarSize": "2xs",
|
|
83
83
|
"trailingIcon": "size-5"
|
|
84
84
|
},
|
|
85
85
|
"xl": {
|
|
86
|
-
"base": "text-base px-2.5 py-1 gap-1.5 rounded-
|
|
86
|
+
"base": "text-base px-2.5 py-1 gap-1.5 rounded-md",
|
|
87
87
|
"leadingIcon": "size-6",
|
|
88
88
|
"leadingAvatarSize": "2xs",
|
|
89
89
|
"trailingIcon": "size-6"
|
|
@@ -94,142 +94,142 @@ export default {
|
|
|
94
94
|
{
|
|
95
95
|
"color": "primary" as typeof color[number],
|
|
96
96
|
"variant": "solid" as typeof variant[number],
|
|
97
|
-
"class": "bg-
|
|
97
|
+
"class": "bg-primary text-inverted"
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
"color": "secondary" as typeof color[number],
|
|
101
101
|
"variant": "solid" as typeof variant[number],
|
|
102
|
-
"class": "bg-
|
|
102
|
+
"class": "bg-secondary text-inverted"
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"color": "success" as typeof color[number],
|
|
106
106
|
"variant": "solid" as typeof variant[number],
|
|
107
|
-
"class": "bg-
|
|
107
|
+
"class": "bg-success text-inverted"
|
|
108
108
|
},
|
|
109
109
|
{
|
|
110
110
|
"color": "info" as typeof color[number],
|
|
111
111
|
"variant": "solid" as typeof variant[number],
|
|
112
|
-
"class": "bg-
|
|
112
|
+
"class": "bg-info text-inverted"
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"color": "warning" as typeof color[number],
|
|
116
116
|
"variant": "solid" as typeof variant[number],
|
|
117
|
-
"class": "bg-
|
|
117
|
+
"class": "bg-warning text-inverted"
|
|
118
118
|
},
|
|
119
119
|
{
|
|
120
120
|
"color": "error" as typeof color[number],
|
|
121
121
|
"variant": "solid" as typeof variant[number],
|
|
122
|
-
"class": "bg-
|
|
122
|
+
"class": "bg-error text-inverted"
|
|
123
123
|
},
|
|
124
124
|
{
|
|
125
125
|
"color": "primary" as typeof color[number],
|
|
126
126
|
"variant": "outline" as typeof variant[number],
|
|
127
|
-
"class": "text-
|
|
127
|
+
"class": "text-primary ring ring-inset ring-primary/50"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"color": "secondary" as typeof color[number],
|
|
131
131
|
"variant": "outline" as typeof variant[number],
|
|
132
|
-
"class": "text-
|
|
132
|
+
"class": "text-secondary ring ring-inset ring-secondary/50"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
"color": "success" as typeof color[number],
|
|
136
136
|
"variant": "outline" as typeof variant[number],
|
|
137
|
-
"class": "text-
|
|
137
|
+
"class": "text-success ring ring-inset ring-success/50"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"color": "info" as typeof color[number],
|
|
141
141
|
"variant": "outline" as typeof variant[number],
|
|
142
|
-
"class": "text-
|
|
142
|
+
"class": "text-info ring ring-inset ring-info/50"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"color": "warning" as typeof color[number],
|
|
146
146
|
"variant": "outline" as typeof variant[number],
|
|
147
|
-
"class": "text-
|
|
147
|
+
"class": "text-warning ring ring-inset ring-warning/50"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
"color": "error" as typeof color[number],
|
|
151
151
|
"variant": "outline" as typeof variant[number],
|
|
152
|
-
"class": "text-
|
|
152
|
+
"class": "text-error ring ring-inset ring-error/50"
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"color": "primary" as typeof color[number],
|
|
156
156
|
"variant": "soft" as typeof variant[number],
|
|
157
|
-
"class": "bg-
|
|
157
|
+
"class": "bg-primary/10 text-primary"
|
|
158
158
|
},
|
|
159
159
|
{
|
|
160
160
|
"color": "secondary" as typeof color[number],
|
|
161
161
|
"variant": "soft" as typeof variant[number],
|
|
162
|
-
"class": "bg-
|
|
162
|
+
"class": "bg-secondary/10 text-secondary"
|
|
163
163
|
},
|
|
164
164
|
{
|
|
165
165
|
"color": "success" as typeof color[number],
|
|
166
166
|
"variant": "soft" as typeof variant[number],
|
|
167
|
-
"class": "bg-
|
|
167
|
+
"class": "bg-success/10 text-success"
|
|
168
168
|
},
|
|
169
169
|
{
|
|
170
170
|
"color": "info" as typeof color[number],
|
|
171
171
|
"variant": "soft" as typeof variant[number],
|
|
172
|
-
"class": "bg-
|
|
172
|
+
"class": "bg-info/10 text-info"
|
|
173
173
|
},
|
|
174
174
|
{
|
|
175
175
|
"color": "warning" as typeof color[number],
|
|
176
176
|
"variant": "soft" as typeof variant[number],
|
|
177
|
-
"class": "bg-
|
|
177
|
+
"class": "bg-warning/10 text-warning"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
180
|
"color": "error" as typeof color[number],
|
|
181
181
|
"variant": "soft" as typeof variant[number],
|
|
182
|
-
"class": "bg-
|
|
182
|
+
"class": "bg-error/10 text-error"
|
|
183
183
|
},
|
|
184
184
|
{
|
|
185
185
|
"color": "primary" as typeof color[number],
|
|
186
186
|
"variant": "subtle" as typeof variant[number],
|
|
187
|
-
"class": "bg-
|
|
187
|
+
"class": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
|
|
188
188
|
},
|
|
189
189
|
{
|
|
190
190
|
"color": "secondary" as typeof color[number],
|
|
191
191
|
"variant": "subtle" as typeof variant[number],
|
|
192
|
-
"class": "bg-
|
|
192
|
+
"class": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
195
|
"color": "success" as typeof color[number],
|
|
196
196
|
"variant": "subtle" as typeof variant[number],
|
|
197
|
-
"class": "bg-
|
|
197
|
+
"class": "bg-success/10 text-success ring ring-inset ring-success/25"
|
|
198
198
|
},
|
|
199
199
|
{
|
|
200
200
|
"color": "info" as typeof color[number],
|
|
201
201
|
"variant": "subtle" as typeof variant[number],
|
|
202
|
-
"class": "bg-
|
|
202
|
+
"class": "bg-info/10 text-info ring ring-inset ring-info/25"
|
|
203
203
|
},
|
|
204
204
|
{
|
|
205
205
|
"color": "warning" as typeof color[number],
|
|
206
206
|
"variant": "subtle" as typeof variant[number],
|
|
207
|
-
"class": "bg-
|
|
207
|
+
"class": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
210
|
"color": "error" as typeof color[number],
|
|
211
211
|
"variant": "subtle" as typeof variant[number],
|
|
212
|
-
"class": "bg-
|
|
212
|
+
"class": "bg-error/10 text-error ring ring-inset ring-error/25"
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
"color": "neutral" as typeof color[number],
|
|
216
216
|
"variant": "solid" as typeof variant[number],
|
|
217
|
-
"class": "text-
|
|
217
|
+
"class": "text-inverted bg-inverted"
|
|
218
218
|
},
|
|
219
219
|
{
|
|
220
220
|
"color": "neutral" as typeof color[number],
|
|
221
221
|
"variant": "outline" as typeof variant[number],
|
|
222
|
-
"class": "ring ring-inset ring-
|
|
222
|
+
"class": "ring ring-inset ring-accented text-default bg-default"
|
|
223
223
|
},
|
|
224
224
|
{
|
|
225
225
|
"color": "neutral" as typeof color[number],
|
|
226
226
|
"variant": "soft" as typeof variant[number],
|
|
227
|
-
"class": "text-
|
|
227
|
+
"class": "text-default bg-elevated"
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
230
|
"color": "neutral" as typeof color[number],
|
|
231
231
|
"variant": "subtle" as typeof variant[number],
|
|
232
|
-
"class": "ring ring-inset ring-
|
|
232
|
+
"class": "ring ring-inset ring-accented text-default bg-elevated"
|
|
233
233
|
}
|
|
234
234
|
],
|
|
235
235
|
"defaultVariants": {
|
package/.nuxt/ui/breadcrumb.ts
CHANGED
|
@@ -3,21 +3,21 @@ export default {
|
|
|
3
3
|
"root": "relative min-w-0",
|
|
4
4
|
"list": "flex items-center gap-1.5",
|
|
5
5
|
"item": "flex min-w-0",
|
|
6
|
-
"link": "group relative flex items-center gap-1.5 text-sm min-w-0 focus-visible:outline-
|
|
6
|
+
"link": "group relative flex items-center gap-1.5 text-sm min-w-0 focus-visible:outline-primary",
|
|
7
7
|
"linkLeadingIcon": "shrink-0 size-5",
|
|
8
8
|
"linkLeadingAvatar": "shrink-0",
|
|
9
9
|
"linkLeadingAvatarSize": "2xs",
|
|
10
10
|
"linkLabel": "truncate",
|
|
11
11
|
"separator": "flex",
|
|
12
|
-
"separatorIcon": "shrink-0 size-5 text-
|
|
12
|
+
"separatorIcon": "shrink-0 size-5 text-muted"
|
|
13
13
|
},
|
|
14
14
|
"variants": {
|
|
15
15
|
"active": {
|
|
16
16
|
"true": {
|
|
17
|
-
"link": "text-
|
|
17
|
+
"link": "text-primary font-semibold"
|
|
18
18
|
},
|
|
19
19
|
"false": {
|
|
20
|
-
"link": "text-
|
|
20
|
+
"link": "text-muted font-medium"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"disabled": {
|
|
@@ -36,7 +36,7 @@ export default {
|
|
|
36
36
|
"to": true,
|
|
37
37
|
"class": {
|
|
38
38
|
"link": [
|
|
39
|
-
"hover:text-
|
|
39
|
+
"hover:text-default",
|
|
40
40
|
"transition-colors"
|
|
41
41
|
]
|
|
42
42
|
}
|