@falcondev-oss/nuxt-layers-base 0.2.0 → 0.2.2
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/package.json +1 -1
- package/.eslintcache +0 -1
- package/.nuxt/app.config.mjs +0 -317
- package/.nuxt/components.d.ts +0 -334
- package/.nuxt/imports.d.ts +0 -64
- package/.nuxt/manifest/meta/feb19a4d-b5c8-4680-84fd-e0098912b09e.json +0 -1
- package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
- package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
- package/.nuxt/nuxt.d.ts +0 -24
- package/.nuxt/nuxt.node.d.ts +0 -14
- package/.nuxt/nuxt.shared.d.ts +0 -5
- package/.nuxt/schema/nuxt.schema.d.ts +0 -210
- package/.nuxt/schema/nuxt.schema.json +0 -263
- package/.nuxt/tsconfig.app.json +0 -214
- package/.nuxt/tsconfig.json +0 -216
- package/.nuxt/tsconfig.node.json +0 -111
- package/.nuxt/tsconfig.server.json +0 -137
- package/.nuxt/tsconfig.shared.json +0 -136
- package/.nuxt/types/app.config.d.ts +0 -331
- package/.nuxt/types/build.d.ts +0 -24
- package/.nuxt/types/builder-env.d.ts +0 -1
- package/.nuxt/types/components.d.ts +0 -339
- package/.nuxt/types/imports.d.ts +0 -913
- package/.nuxt/types/layouts.d.ts +0 -7
- package/.nuxt/types/middleware.d.ts +0 -7
- package/.nuxt/types/modules.d.ts +0 -159
- package/.nuxt/types/nitro-config.d.ts +0 -14
- package/.nuxt/types/nitro-imports.d.ts +0 -151
- package/.nuxt/types/nitro-middleware.d.ts +0 -11
- package/.nuxt/types/nitro-nuxt.d.ts +0 -61
- package/.nuxt/types/nitro-routes.d.ts +0 -17
- package/.nuxt/types/nitro.d.ts +0 -3
- package/.nuxt/types/plugins.d.ts +0 -35
- package/.nuxt/types/runtime-config.d.ts +0 -36
- package/.nuxt/types/ui.d.ts +0 -36
- package/.nuxt/types/vue-shim.d.ts +0 -0
- package/.nuxt/ui/accordion.ts +0 -20
- package/.nuxt/ui/alert.ts +0 -264
- package/.nuxt/ui/auth-form.ts +0 -20
- package/.nuxt/ui/avatar-group.ts +0 -52
- package/.nuxt/ui/avatar.ts +0 -54
- package/.nuxt/ui/badge.ts +0 -263
- package/.nuxt/ui/banner.ts +0 -108
- package/.nuxt/ui/blog-post.ts +0 -143
- package/.nuxt/ui/blog-posts.ts +0 -9
- package/.nuxt/ui/breadcrumb.ts +0 -45
- package/.nuxt/ui/button.ts +0 -378
- package/.nuxt/ui/calendar.ts +0 -315
- package/.nuxt/ui/card.ts +0 -34
- package/.nuxt/ui/carousel.ts +0 -38
- package/.nuxt/ui/changelog-version.ts +0 -45
- package/.nuxt/ui/changelog-versions.ts +0 -8
- package/.nuxt/ui/chat-message.ts +0 -136
- package/.nuxt/ui/chat-messages.ts +0 -14
- package/.nuxt/ui/chat-palette.ts +0 -8
- package/.nuxt/ui/chat-prompt-submit.ts +0 -5
- package/.nuxt/ui/chat-prompt.ts +0 -35
- package/.nuxt/ui/checkbox-group.ts +0 -207
- package/.nuxt/ui/checkbox.ts +0 -237
- package/.nuxt/ui/chip.ts +0 -96
- package/.nuxt/ui/collapsible.ts +0 -6
- package/.nuxt/ui/color-picker.ts +0 -47
- package/.nuxt/ui/command-palette.ts +0 -62
- package/.nuxt/ui/container.ts +0 -3
- package/.nuxt/ui/context-menu.ts +0 -219
- package/.nuxt/ui/dashboard-group.ts +0 -3
- package/.nuxt/ui/dashboard-navbar.ts +0 -21
- package/.nuxt/ui/dashboard-panel.ts +0 -17
- package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
- package/.nuxt/ui/dashboard-search-button.ts +0 -15
- package/.nuxt/ui/dashboard-search.ts +0 -13
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar.ts +0 -37
- package/.nuxt/ui/dashboard-toolbar.ts +0 -7
- package/.nuxt/ui/drawer.ts +0 -149
- package/.nuxt/ui/dropdown-menu.ts +0 -220
- package/.nuxt/ui/editor-drag-handle.ts +0 -6
- package/.nuxt/ui/editor-emoji-menu.ts +0 -35
- package/.nuxt/ui/editor-mention-menu.ts +0 -35
- package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
- package/.nuxt/ui/editor-toolbar.ts +0 -21
- package/.nuxt/ui/editor.ts +0 -35
- package/.nuxt/ui/empty.ts +0 -83
- package/.nuxt/ui/error.ts +0 -9
- package/.nuxt/ui/field-group.ts +0 -16
- package/.nuxt/ui/file-upload.ts +0 -290
- package/.nuxt/ui/footer-columns.ts +0 -28
- package/.nuxt/ui/footer.ts +0 -11
- package/.nuxt/ui/form-field.ts +0 -62
- package/.nuxt/ui/form.ts +0 -3
- package/.nuxt/ui/header.ts +0 -25
- package/.nuxt/ui/index.ts +0 -109
- package/.nuxt/ui/input-date.ts +0 -337
- package/.nuxt/ui/input-menu.ts +0 -460
- package/.nuxt/ui/input-number.ts +0 -256
- package/.nuxt/ui/input-tags.ts +0 -310
- package/.nuxt/ui/input-time.ts +0 -336
- package/.nuxt/ui/input.ts +0 -289
- package/.nuxt/ui/kbd.ts +0 -195
- package/.nuxt/ui/link.ts +0 -22
- package/.nuxt/ui/main.ts +0 -3
- package/.nuxt/ui/marquee.ts +0 -66
- package/.nuxt/ui/modal.ts +0 -60
- package/.nuxt/ui/navigation-menu.ts +0 -512
- package/.nuxt/ui/page-anchors.ts +0 -30
- package/.nuxt/ui/page-aside.ts +0 -10
- package/.nuxt/ui/page-body.ts +0 -3
- package/.nuxt/ui/page-card.ts +0 -274
- package/.nuxt/ui/page-columns.ts +0 -3
- package/.nuxt/ui/page-cta.ts +0 -70
- package/.nuxt/ui/page-feature.ts +0 -34
- package/.nuxt/ui/page-grid.ts +0 -3
- package/.nuxt/ui/page-header.ts +0 -18
- package/.nuxt/ui/page-hero.ts +0 -44
- package/.nuxt/ui/page-links.ts +0 -25
- package/.nuxt/ui/page-list.ts +0 -8
- package/.nuxt/ui/page-logos.ts +0 -15
- package/.nuxt/ui/page-section.ts +0 -84
- package/.nuxt/ui/page.ts +0 -32
- package/.nuxt/ui/pagination.ts +0 -13
- package/.nuxt/ui/pin-input.ts +0 -171
- package/.nuxt/ui/popover.ts +0 -6
- package/.nuxt/ui/pricing-plan.ts +0 -101
- package/.nuxt/ui/pricing-plans.ts +0 -22
- package/.nuxt/ui/pricing-table.ts +0 -51
- package/.nuxt/ui/progress.ts +0 -297
- package/.nuxt/ui/radio-group.ts +0 -352
- package/.nuxt/ui/scroll-area.ts +0 -21
- package/.nuxt/ui/select-menu.ts +0 -361
- package/.nuxt/ui/select.ts +0 -348
- package/.nuxt/ui/separator.ts +0 -172
- package/.nuxt/ui/skeleton.ts +0 -3
- package/.nuxt/ui/slideover.ts +0 -132
- package/.nuxt/ui/slider.ts +0 -171
- package/.nuxt/ui/stepper.ts +0 -202
- package/.nuxt/ui/switch.ts +0 -132
- package/.nuxt/ui/table.ts +0 -162
- package/.nuxt/ui/tabs.ts +0 -258
- package/.nuxt/ui/textarea.ts +0 -294
- package/.nuxt/ui/timeline.ts +0 -321
- package/.nuxt/ui/toast.ts +0 -74
- package/.nuxt/ui/toaster.ts +0 -91
- package/.nuxt/ui/tooltip.ts +0 -9
- package/.nuxt/ui/tree.ts +0 -168
- package/.nuxt/ui/user.ts +0 -101
- package/.nuxt/ui-image-component.ts +0 -1
- package/.nuxt/ui.css +0 -154
package/.nuxt/ui/input-time.ts
DELETED
|
@@ -1,336 +0,0 @@
|
|
|
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
|
-
"base": [
|
|
30
|
-
"group relative inline-flex items-center rounded-md select-none",
|
|
31
|
-
"transition-colors"
|
|
32
|
-
],
|
|
33
|
-
"leading": "absolute inset-y-0 start-0 flex items-center",
|
|
34
|
-
"leadingIcon": "shrink-0 text-dimmed",
|
|
35
|
-
"leadingAvatar": "shrink-0",
|
|
36
|
-
"leadingAvatarSize": "",
|
|
37
|
-
"trailing": "absolute inset-y-0 end-0 flex items-center",
|
|
38
|
-
"trailingIcon": "shrink-0 text-dimmed",
|
|
39
|
-
"segment": [
|
|
40
|
-
"rounded text-center outline-hidden data-placeholder:text-dimmed data-[segment=literal]:text-muted data-invalid:text-error data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
41
|
-
"transition-colors"
|
|
42
|
-
]
|
|
43
|
-
},
|
|
44
|
-
"variants": {
|
|
45
|
-
"fieldGroup": {
|
|
46
|
-
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
47
|
-
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
48
|
-
},
|
|
49
|
-
"size": {
|
|
50
|
-
"xs": {
|
|
51
|
-
"base": [
|
|
52
|
-
"px-2 py-1 text-xs gap-1",
|
|
53
|
-
"gap-0.25"
|
|
54
|
-
],
|
|
55
|
-
"leading": "ps-2",
|
|
56
|
-
"trailing": "pe-2",
|
|
57
|
-
"leadingIcon": "size-4",
|
|
58
|
-
"leadingAvatarSize": "3xs",
|
|
59
|
-
"trailingIcon": "size-4",
|
|
60
|
-
"segment": "not-data-[segment=literal]:w-6"
|
|
61
|
-
},
|
|
62
|
-
"sm": {
|
|
63
|
-
"base": [
|
|
64
|
-
"px-2.5 py-1.5 text-xs gap-1.5",
|
|
65
|
-
"gap-0.5"
|
|
66
|
-
],
|
|
67
|
-
"leading": "ps-2.5",
|
|
68
|
-
"trailing": "pe-2.5",
|
|
69
|
-
"leadingIcon": "size-4",
|
|
70
|
-
"leadingAvatarSize": "3xs",
|
|
71
|
-
"trailingIcon": "size-4",
|
|
72
|
-
"segment": "not-data-[segment=literal]:w-6"
|
|
73
|
-
},
|
|
74
|
-
"md": {
|
|
75
|
-
"base": [
|
|
76
|
-
"px-2.5 py-1.5 text-sm gap-1.5",
|
|
77
|
-
"gap-0.5"
|
|
78
|
-
],
|
|
79
|
-
"leading": "ps-2.5",
|
|
80
|
-
"trailing": "pe-2.5",
|
|
81
|
-
"leadingIcon": "size-5",
|
|
82
|
-
"leadingAvatarSize": "2xs",
|
|
83
|
-
"trailingIcon": "size-5",
|
|
84
|
-
"segment": "not-data-[segment=literal]:w-7"
|
|
85
|
-
},
|
|
86
|
-
"lg": {
|
|
87
|
-
"base": [
|
|
88
|
-
"px-3 py-2 text-sm gap-2",
|
|
89
|
-
"gap-0.75"
|
|
90
|
-
],
|
|
91
|
-
"leading": "ps-3",
|
|
92
|
-
"trailing": "pe-3",
|
|
93
|
-
"leadingIcon": "size-5",
|
|
94
|
-
"leadingAvatarSize": "2xs",
|
|
95
|
-
"trailingIcon": "size-5",
|
|
96
|
-
"segment": "not-data-[segment=literal]:w-7"
|
|
97
|
-
},
|
|
98
|
-
"xl": {
|
|
99
|
-
"base": [
|
|
100
|
-
"px-3 py-2 text-base gap-2",
|
|
101
|
-
"gap-0.75"
|
|
102
|
-
],
|
|
103
|
-
"leading": "ps-3",
|
|
104
|
-
"trailing": "pe-3",
|
|
105
|
-
"leadingIcon": "size-6",
|
|
106
|
-
"leadingAvatarSize": "xs",
|
|
107
|
-
"trailingIcon": "size-6",
|
|
108
|
-
"segment": "not-data-[segment=literal]:w-8"
|
|
109
|
-
}
|
|
110
|
-
},
|
|
111
|
-
"variant": {
|
|
112
|
-
"outline": "text-highlighted bg-default ring ring-inset ring-accented",
|
|
113
|
-
"soft": "text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",
|
|
114
|
-
"subtle": "text-highlighted bg-elevated ring ring-inset ring-accented",
|
|
115
|
-
"ghost": "text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",
|
|
116
|
-
"none": "text-highlighted bg-transparent"
|
|
117
|
-
},
|
|
118
|
-
"color": {
|
|
119
|
-
"primary": "",
|
|
120
|
-
"secondary": "",
|
|
121
|
-
"success": "",
|
|
122
|
-
"info": "",
|
|
123
|
-
"warning": "",
|
|
124
|
-
"error": "",
|
|
125
|
-
"neutral": ""
|
|
126
|
-
},
|
|
127
|
-
"leading": {
|
|
128
|
-
"true": ""
|
|
129
|
-
},
|
|
130
|
-
"trailing": {
|
|
131
|
-
"true": ""
|
|
132
|
-
},
|
|
133
|
-
"loading": {
|
|
134
|
-
"true": ""
|
|
135
|
-
},
|
|
136
|
-
"highlight": {
|
|
137
|
-
"true": ""
|
|
138
|
-
},
|
|
139
|
-
"type": {
|
|
140
|
-
"file": "file:me-1.5 file:font-medium file:text-muted file:outline-none"
|
|
141
|
-
}
|
|
142
|
-
},
|
|
143
|
-
"compoundVariants": [
|
|
144
|
-
{
|
|
145
|
-
"variant": "outline" as typeof variant[number],
|
|
146
|
-
"class": {
|
|
147
|
-
"segment": "focus:bg-elevated"
|
|
148
|
-
}
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"variant": "soft" as typeof variant[number],
|
|
152
|
-
"class": {
|
|
153
|
-
"segment": "focus:bg-accented/50 group-hover:focus:bg-accented"
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"variant": "subtle" as typeof variant[number],
|
|
158
|
-
"class": {
|
|
159
|
-
"segment": "focus:bg-accented"
|
|
160
|
-
}
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"variant": "ghost" as typeof variant[number],
|
|
164
|
-
"class": {
|
|
165
|
-
"segment": "focus:bg-elevated group-hover:focus:bg-accented"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"variant": "none" as typeof variant[number],
|
|
170
|
-
"class": {
|
|
171
|
-
"segment": "focus:bg-elevated"
|
|
172
|
-
}
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"color": "primary" as typeof color[number],
|
|
176
|
-
"variant": [
|
|
177
|
-
"outline" as typeof variant[number],
|
|
178
|
-
"subtle" as typeof variant[number]
|
|
179
|
-
],
|
|
180
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"color": "secondary" as typeof color[number],
|
|
184
|
-
"variant": [
|
|
185
|
-
"outline" as typeof variant[number],
|
|
186
|
-
"subtle" as typeof variant[number]
|
|
187
|
-
],
|
|
188
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"color": "success" as typeof color[number],
|
|
192
|
-
"variant": [
|
|
193
|
-
"outline" as typeof variant[number],
|
|
194
|
-
"subtle" as typeof variant[number]
|
|
195
|
-
],
|
|
196
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
"color": "info" as typeof color[number],
|
|
200
|
-
"variant": [
|
|
201
|
-
"outline" as typeof variant[number],
|
|
202
|
-
"subtle" as typeof variant[number]
|
|
203
|
-
],
|
|
204
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
205
|
-
},
|
|
206
|
-
{
|
|
207
|
-
"color": "warning" as typeof color[number],
|
|
208
|
-
"variant": [
|
|
209
|
-
"outline" as typeof variant[number],
|
|
210
|
-
"subtle" as typeof variant[number]
|
|
211
|
-
],
|
|
212
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"color": "error" as typeof color[number],
|
|
216
|
-
"variant": [
|
|
217
|
-
"outline" as typeof variant[number],
|
|
218
|
-
"subtle" as typeof variant[number]
|
|
219
|
-
],
|
|
220
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"color": "primary" as typeof color[number],
|
|
224
|
-
"highlight": true,
|
|
225
|
-
"class": "ring ring-inset ring-primary"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"color": "secondary" as typeof color[number],
|
|
229
|
-
"highlight": true,
|
|
230
|
-
"class": "ring ring-inset ring-secondary"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"color": "success" as typeof color[number],
|
|
234
|
-
"highlight": true,
|
|
235
|
-
"class": "ring ring-inset ring-success"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"color": "info" as typeof color[number],
|
|
239
|
-
"highlight": true,
|
|
240
|
-
"class": "ring ring-inset ring-info"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"color": "warning" as typeof color[number],
|
|
244
|
-
"highlight": true,
|
|
245
|
-
"class": "ring ring-inset ring-warning"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"color": "error" as typeof color[number],
|
|
249
|
-
"highlight": true,
|
|
250
|
-
"class": "ring ring-inset ring-error"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"color": "neutral" as typeof color[number],
|
|
254
|
-
"variant": [
|
|
255
|
-
"outline" as typeof variant[number],
|
|
256
|
-
"subtle" as typeof variant[number]
|
|
257
|
-
],
|
|
258
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
|
|
259
|
-
},
|
|
260
|
-
{
|
|
261
|
-
"color": "neutral" as typeof color[number],
|
|
262
|
-
"highlight": true,
|
|
263
|
-
"class": "ring ring-inset ring-inverted"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"leading": true,
|
|
267
|
-
"size": "xs" as typeof size[number],
|
|
268
|
-
"class": "ps-7"
|
|
269
|
-
},
|
|
270
|
-
{
|
|
271
|
-
"leading": true,
|
|
272
|
-
"size": "sm" as typeof size[number],
|
|
273
|
-
"class": "ps-8"
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"leading": true,
|
|
277
|
-
"size": "md" as typeof size[number],
|
|
278
|
-
"class": "ps-9"
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
"leading": true,
|
|
282
|
-
"size": "lg" as typeof size[number],
|
|
283
|
-
"class": "ps-10"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"leading": true,
|
|
287
|
-
"size": "xl" as typeof size[number],
|
|
288
|
-
"class": "ps-11"
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
"trailing": true,
|
|
292
|
-
"size": "xs" as typeof size[number],
|
|
293
|
-
"class": "pe-7"
|
|
294
|
-
},
|
|
295
|
-
{
|
|
296
|
-
"trailing": true,
|
|
297
|
-
"size": "sm" as typeof size[number],
|
|
298
|
-
"class": "pe-8"
|
|
299
|
-
},
|
|
300
|
-
{
|
|
301
|
-
"trailing": true,
|
|
302
|
-
"size": "md" as typeof size[number],
|
|
303
|
-
"class": "pe-9"
|
|
304
|
-
},
|
|
305
|
-
{
|
|
306
|
-
"trailing": true,
|
|
307
|
-
"size": "lg" as typeof size[number],
|
|
308
|
-
"class": "pe-10"
|
|
309
|
-
},
|
|
310
|
-
{
|
|
311
|
-
"trailing": true,
|
|
312
|
-
"size": "xl" as typeof size[number],
|
|
313
|
-
"class": "pe-11"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"loading": true,
|
|
317
|
-
"leading": true,
|
|
318
|
-
"class": {
|
|
319
|
-
"leadingIcon": "animate-spin"
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"loading": true,
|
|
324
|
-
"leading": false,
|
|
325
|
-
"trailing": true,
|
|
326
|
-
"class": {
|
|
327
|
-
"trailingIcon": "animate-spin"
|
|
328
|
-
}
|
|
329
|
-
}
|
|
330
|
-
],
|
|
331
|
-
"defaultVariants": {
|
|
332
|
-
"size": "md" as typeof size[number],
|
|
333
|
-
"color": "primary" as typeof color[number],
|
|
334
|
-
"variant": "outline" as typeof variant[number]
|
|
335
|
-
}
|
|
336
|
-
}
|
package/.nuxt/ui/input.ts
DELETED
|
@@ -1,289 +0,0 @@
|
|
|
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 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
|
|
32
|
-
"transition-colors"
|
|
33
|
-
],
|
|
34
|
-
"leading": "absolute inset-y-0 start-0 flex items-center",
|
|
35
|
-
"leadingIcon": "shrink-0 text-dimmed",
|
|
36
|
-
"leadingAvatar": "shrink-0",
|
|
37
|
-
"leadingAvatarSize": "",
|
|
38
|
-
"trailing": "absolute inset-y-0 end-0 flex items-center",
|
|
39
|
-
"trailingIcon": "shrink-0 text-dimmed"
|
|
40
|
-
},
|
|
41
|
-
"variants": {
|
|
42
|
-
"fieldGroup": {
|
|
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",
|
|
56
|
-
"trailing": "pe-2",
|
|
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",
|
|
64
|
-
"trailing": "pe-2.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",
|
|
72
|
-
"trailing": "pe-2.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",
|
|
80
|
-
"trailing": "pe-3",
|
|
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",
|
|
88
|
-
"trailing": "pe-3",
|
|
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
|
-
},
|
|
126
|
-
"compoundVariants": [
|
|
127
|
-
{
|
|
128
|
-
"color": "primary" as typeof color[number],
|
|
129
|
-
"variant": [
|
|
130
|
-
"outline" as typeof variant[number],
|
|
131
|
-
"subtle" as typeof variant[number]
|
|
132
|
-
],
|
|
133
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
134
|
-
},
|
|
135
|
-
{
|
|
136
|
-
"color": "secondary" as typeof color[number],
|
|
137
|
-
"variant": [
|
|
138
|
-
"outline" as typeof variant[number],
|
|
139
|
-
"subtle" as typeof variant[number]
|
|
140
|
-
],
|
|
141
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"color": "success" as typeof color[number],
|
|
145
|
-
"variant": [
|
|
146
|
-
"outline" as typeof variant[number],
|
|
147
|
-
"subtle" as typeof variant[number]
|
|
148
|
-
],
|
|
149
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
150
|
-
},
|
|
151
|
-
{
|
|
152
|
-
"color": "info" as typeof color[number],
|
|
153
|
-
"variant": [
|
|
154
|
-
"outline" as typeof variant[number],
|
|
155
|
-
"subtle" as typeof variant[number]
|
|
156
|
-
],
|
|
157
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
"color": "warning" as typeof color[number],
|
|
161
|
-
"variant": [
|
|
162
|
-
"outline" as typeof variant[number],
|
|
163
|
-
"subtle" as typeof variant[number]
|
|
164
|
-
],
|
|
165
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"color": "error" as typeof color[number],
|
|
169
|
-
"variant": [
|
|
170
|
-
"outline" as typeof variant[number],
|
|
171
|
-
"subtle" as typeof variant[number]
|
|
172
|
-
],
|
|
173
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
"color": "primary" as typeof color[number],
|
|
177
|
-
"highlight": true,
|
|
178
|
-
"class": "ring ring-inset ring-primary"
|
|
179
|
-
},
|
|
180
|
-
{
|
|
181
|
-
"color": "secondary" as typeof color[number],
|
|
182
|
-
"highlight": true,
|
|
183
|
-
"class": "ring ring-inset ring-secondary"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
"color": "success" as typeof color[number],
|
|
187
|
-
"highlight": true,
|
|
188
|
-
"class": "ring ring-inset ring-success"
|
|
189
|
-
},
|
|
190
|
-
{
|
|
191
|
-
"color": "info" as typeof color[number],
|
|
192
|
-
"highlight": true,
|
|
193
|
-
"class": "ring ring-inset ring-info"
|
|
194
|
-
},
|
|
195
|
-
{
|
|
196
|
-
"color": "warning" as typeof color[number],
|
|
197
|
-
"highlight": true,
|
|
198
|
-
"class": "ring ring-inset ring-warning"
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"color": "error" as typeof color[number],
|
|
202
|
-
"highlight": true,
|
|
203
|
-
"class": "ring ring-inset ring-error"
|
|
204
|
-
},
|
|
205
|
-
{
|
|
206
|
-
"color": "neutral" as typeof color[number],
|
|
207
|
-
"variant": [
|
|
208
|
-
"outline" as typeof variant[number],
|
|
209
|
-
"subtle" as typeof variant[number]
|
|
210
|
-
],
|
|
211
|
-
"class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
|
|
212
|
-
},
|
|
213
|
-
{
|
|
214
|
-
"color": "neutral" as typeof color[number],
|
|
215
|
-
"highlight": true,
|
|
216
|
-
"class": "ring ring-inset ring-inverted"
|
|
217
|
-
},
|
|
218
|
-
{
|
|
219
|
-
"leading": true,
|
|
220
|
-
"size": "xs" as typeof size[number],
|
|
221
|
-
"class": "ps-7"
|
|
222
|
-
},
|
|
223
|
-
{
|
|
224
|
-
"leading": true,
|
|
225
|
-
"size": "sm" as typeof size[number],
|
|
226
|
-
"class": "ps-8"
|
|
227
|
-
},
|
|
228
|
-
{
|
|
229
|
-
"leading": true,
|
|
230
|
-
"size": "md" as typeof size[number],
|
|
231
|
-
"class": "ps-9"
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
"leading": true,
|
|
235
|
-
"size": "lg" as typeof size[number],
|
|
236
|
-
"class": "ps-10"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"leading": true,
|
|
240
|
-
"size": "xl" as typeof size[number],
|
|
241
|
-
"class": "ps-11"
|
|
242
|
-
},
|
|
243
|
-
{
|
|
244
|
-
"trailing": true,
|
|
245
|
-
"size": "xs" as typeof size[number],
|
|
246
|
-
"class": "pe-7"
|
|
247
|
-
},
|
|
248
|
-
{
|
|
249
|
-
"trailing": true,
|
|
250
|
-
"size": "sm" as typeof size[number],
|
|
251
|
-
"class": "pe-8"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"trailing": true,
|
|
255
|
-
"size": "md" as typeof size[number],
|
|
256
|
-
"class": "pe-9"
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"trailing": true,
|
|
260
|
-
"size": "lg" as typeof size[number],
|
|
261
|
-
"class": "pe-10"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"trailing": true,
|
|
265
|
-
"size": "xl" as typeof size[number],
|
|
266
|
-
"class": "pe-11"
|
|
267
|
-
},
|
|
268
|
-
{
|
|
269
|
-
"loading": true,
|
|
270
|
-
"leading": true,
|
|
271
|
-
"class": {
|
|
272
|
-
"leadingIcon": "animate-spin"
|
|
273
|
-
}
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
"loading": true,
|
|
277
|
-
"leading": false,
|
|
278
|
-
"trailing": true,
|
|
279
|
-
"class": {
|
|
280
|
-
"trailingIcon": "animate-spin"
|
|
281
|
-
}
|
|
282
|
-
}
|
|
283
|
-
],
|
|
284
|
-
"defaultVariants": {
|
|
285
|
-
"size": "md" as typeof size[number],
|
|
286
|
-
"color": "primary" as typeof color[number],
|
|
287
|
-
"variant": "outline" as typeof variant[number]
|
|
288
|
-
}
|
|
289
|
-
}
|