@falcondev-oss/nuxt-layers-base 0.1.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/LICENSE +21 -0
- package/app/assets/css/utilities.css +3 -0
- package/app/components/Define.vue +13 -0
- package/app/components/layout/LayoutDashboard.vue +1 -1
- package/app/components/u/UField.vue +17 -6
- package/app/components/u/UForm.vue +90 -0
- package/app/components/u/UInputDurationMinutes.vue +1 -1
- package/app/composables/useTableColumns.tsx +1 -1
- package/app/composables/useToast.ts +3 -3
- package/app/utils/debug.ts +48 -0
- package/app/utils/files.ts +22 -0
- package/app/utils/plugins.ts +45 -6
- package/package.json +19 -3
- package/server/plugins/error.ts +20 -0
- package/server/utils/error.ts +24 -0
- package/shared/types/helpers.ts +27 -0
- package/shared/utils/helpers.ts +3 -0
- package/.nuxt/app.config.mjs +0 -317
- package/.nuxt/components.d.ts +0 -332
- package/.nuxt/imports.d.ts +0 -61
- package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.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 -217
- package/.nuxt/tsconfig.json +0 -219
- package/.nuxt/tsconfig.node.json +0 -114
- package/.nuxt/tsconfig.server.json +0 -140
- package/.nuxt/tsconfig.shared.json +0 -139
- 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 -337
- package/.nuxt/types/imports.d.ts +0 -906
- 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 -141
- 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/app/components/Var.vue +0 -13
- package/pnpm-workspace.yaml +0 -5
package/.nuxt/ui/banner.ts
DELETED
|
@@ -1,108 +0,0 @@
|
|
|
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": [
|
|
14
|
-
"relative z-50 w-full",
|
|
15
|
-
"transition-colors"
|
|
16
|
-
],
|
|
17
|
-
"container": "flex items-center justify-between gap-3 h-12",
|
|
18
|
-
"left": "hidden lg:flex-1 lg:flex lg:items-center",
|
|
19
|
-
"center": "flex items-center gap-1.5 min-w-0",
|
|
20
|
-
"right": "lg:flex-1 flex items-center justify-end",
|
|
21
|
-
"icon": "size-5 shrink-0 text-inverted pointer-events-none",
|
|
22
|
-
"title": "text-sm text-inverted font-medium truncate",
|
|
23
|
-
"actions": "flex gap-1.5 shrink-0 isolate",
|
|
24
|
-
"close": "text-inverted hover:bg-default/10 focus-visible:bg-default/10 -me-1.5 lg:me-0"
|
|
25
|
-
},
|
|
26
|
-
"variants": {
|
|
27
|
-
"color": {
|
|
28
|
-
"primary": {
|
|
29
|
-
"root": "bg-primary"
|
|
30
|
-
},
|
|
31
|
-
"secondary": {
|
|
32
|
-
"root": "bg-secondary"
|
|
33
|
-
},
|
|
34
|
-
"success": {
|
|
35
|
-
"root": "bg-success"
|
|
36
|
-
},
|
|
37
|
-
"info": {
|
|
38
|
-
"root": "bg-info"
|
|
39
|
-
},
|
|
40
|
-
"warning": {
|
|
41
|
-
"root": "bg-warning"
|
|
42
|
-
},
|
|
43
|
-
"error": {
|
|
44
|
-
"root": "bg-error"
|
|
45
|
-
},
|
|
46
|
-
"neutral": {
|
|
47
|
-
"root": "bg-inverted"
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"to": {
|
|
51
|
-
"true": ""
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"compoundVariants": [
|
|
55
|
-
{
|
|
56
|
-
"color": "primary" as typeof color[number],
|
|
57
|
-
"to": true,
|
|
58
|
-
"class": {
|
|
59
|
-
"root": "hover:bg-primary/90"
|
|
60
|
-
}
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"color": "secondary" as typeof color[number],
|
|
64
|
-
"to": true,
|
|
65
|
-
"class": {
|
|
66
|
-
"root": "hover:bg-secondary/90"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"color": "success" as typeof color[number],
|
|
71
|
-
"to": true,
|
|
72
|
-
"class": {
|
|
73
|
-
"root": "hover:bg-success/90"
|
|
74
|
-
}
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
"color": "info" as typeof color[number],
|
|
78
|
-
"to": true,
|
|
79
|
-
"class": {
|
|
80
|
-
"root": "hover:bg-info/90"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"color": "warning" as typeof color[number],
|
|
85
|
-
"to": true,
|
|
86
|
-
"class": {
|
|
87
|
-
"root": "hover:bg-warning/90"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"color": "error" as typeof color[number],
|
|
92
|
-
"to": true,
|
|
93
|
-
"class": {
|
|
94
|
-
"root": "hover:bg-error/90"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"color": "neutral" as typeof color[number],
|
|
99
|
-
"to": true,
|
|
100
|
-
"class": {
|
|
101
|
-
"root": "hover:bg-inverted/90"
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
"defaultVariants": {
|
|
106
|
-
"color": "primary" as typeof color[number]
|
|
107
|
-
}
|
|
108
|
-
}
|
package/.nuxt/ui/blog-post.ts
DELETED
|
@@ -1,143 +0,0 @@
|
|
|
1
|
-
const orientation = [
|
|
2
|
-
"horizontal",
|
|
3
|
-
"vertical"
|
|
4
|
-
] as const
|
|
5
|
-
|
|
6
|
-
const variant = [
|
|
7
|
-
"outline",
|
|
8
|
-
"soft",
|
|
9
|
-
"subtle",
|
|
10
|
-
"ghost",
|
|
11
|
-
"naked"
|
|
12
|
-
] as const
|
|
13
|
-
|
|
14
|
-
export default {
|
|
15
|
-
"slots": {
|
|
16
|
-
"root": "relative group/blog-post flex flex-col rounded-lg overflow-hidden",
|
|
17
|
-
"header": "relative overflow-hidden aspect-[16/9] w-full pointer-events-none",
|
|
18
|
-
"body": "min-w-0 flex-1 flex flex-col",
|
|
19
|
-
"footer": "",
|
|
20
|
-
"image": "object-cover object-top w-full h-full",
|
|
21
|
-
"title": "text-xl text-pretty font-semibold text-highlighted",
|
|
22
|
-
"description": "mt-1 text-base text-pretty",
|
|
23
|
-
"authors": "pt-4 mt-auto flex flex-wrap gap-x-3 gap-y-1.5",
|
|
24
|
-
"avatar": "",
|
|
25
|
-
"meta": "flex items-center gap-2 mb-2",
|
|
26
|
-
"date": "text-sm",
|
|
27
|
-
"badge": ""
|
|
28
|
-
},
|
|
29
|
-
"variants": {
|
|
30
|
-
"orientation": {
|
|
31
|
-
"horizontal": {
|
|
32
|
-
"root": "lg:grid lg:grid-cols-2 lg:items-center gap-x-8",
|
|
33
|
-
"body": "justify-center p-4 sm:p-6 lg:px-0"
|
|
34
|
-
},
|
|
35
|
-
"vertical": {
|
|
36
|
-
"root": "flex flex-col",
|
|
37
|
-
"body": "p-4 sm:p-6"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
"variant": {
|
|
41
|
-
"outline": {
|
|
42
|
-
"root": "bg-default ring ring-default",
|
|
43
|
-
"date": "text-toned",
|
|
44
|
-
"description": "text-muted"
|
|
45
|
-
},
|
|
46
|
-
"soft": {
|
|
47
|
-
"root": "bg-elevated/50",
|
|
48
|
-
"date": "text-muted",
|
|
49
|
-
"description": "text-toned"
|
|
50
|
-
},
|
|
51
|
-
"subtle": {
|
|
52
|
-
"root": "bg-elevated/50 ring ring-default",
|
|
53
|
-
"date": "text-muted",
|
|
54
|
-
"description": "text-toned"
|
|
55
|
-
},
|
|
56
|
-
"ghost": {
|
|
57
|
-
"date": "text-toned",
|
|
58
|
-
"description": "text-muted",
|
|
59
|
-
"header": "shadow-lg rounded-lg"
|
|
60
|
-
},
|
|
61
|
-
"naked": {
|
|
62
|
-
"root": "p-0 sm:p-0",
|
|
63
|
-
"date": "text-toned",
|
|
64
|
-
"description": "text-muted",
|
|
65
|
-
"header": "shadow-lg rounded-lg"
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
"to": {
|
|
69
|
-
"true": {
|
|
70
|
-
"root": [
|
|
71
|
-
"has-focus-visible:ring-2 has-focus-visible:ring-primary",
|
|
72
|
-
"transition"
|
|
73
|
-
],
|
|
74
|
-
"image": "transform transition-transform duration-200 group-hover/blog-post:scale-110",
|
|
75
|
-
"avatar": "transform transition-transform duration-200 hover:scale-115 focus-visible:outline-primary"
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
"image": {
|
|
79
|
-
"true": ""
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
"compoundVariants": [
|
|
83
|
-
{
|
|
84
|
-
"variant": "outline" as typeof variant[number],
|
|
85
|
-
"to": true,
|
|
86
|
-
"class": {
|
|
87
|
-
"root": "hover:bg-elevated/50"
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
"variant": "soft" as typeof variant[number],
|
|
92
|
-
"to": true,
|
|
93
|
-
"class": {
|
|
94
|
-
"root": "hover:bg-elevated"
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
{
|
|
98
|
-
"variant": "subtle" as typeof variant[number],
|
|
99
|
-
"to": true,
|
|
100
|
-
"class": {
|
|
101
|
-
"root": "hover:bg-elevated hover:ring-accented"
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"variant": "ghost" as typeof variant[number],
|
|
106
|
-
"to": true,
|
|
107
|
-
"class": {
|
|
108
|
-
"root": "hover:bg-elevated/50",
|
|
109
|
-
"header": [
|
|
110
|
-
"group-hover/blog-post:shadow-none",
|
|
111
|
-
"transition-all"
|
|
112
|
-
]
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
{
|
|
116
|
-
"variant": "ghost" as typeof variant[number],
|
|
117
|
-
"to": true,
|
|
118
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
119
|
-
"class": {
|
|
120
|
-
"header": "group-hover/blog-post:rounded-b-none"
|
|
121
|
-
}
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
"variant": "ghost" as typeof variant[number],
|
|
125
|
-
"to": true,
|
|
126
|
-
"orientation": "horizontal" as typeof orientation[number],
|
|
127
|
-
"class": {
|
|
128
|
-
"header": "group-hover/blog-post:rounded-r-none"
|
|
129
|
-
}
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"orientation": "vertical" as typeof orientation[number],
|
|
133
|
-
"image": false,
|
|
134
|
-
"variant": "naked" as typeof variant[number],
|
|
135
|
-
"class": {
|
|
136
|
-
"body": "p-0 sm:p-0"
|
|
137
|
-
}
|
|
138
|
-
}
|
|
139
|
-
],
|
|
140
|
-
"defaultVariants": {
|
|
141
|
-
"variant": "outline" as typeof variant[number]
|
|
142
|
-
}
|
|
143
|
-
}
|
package/.nuxt/ui/blog-posts.ts
DELETED
package/.nuxt/ui/breadcrumb.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"root": "relative min-w-0",
|
|
4
|
-
"list": "flex items-center gap-1.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-primary",
|
|
7
|
-
"linkLeadingIcon": "shrink-0 size-5",
|
|
8
|
-
"linkLeadingAvatar": "shrink-0",
|
|
9
|
-
"linkLeadingAvatarSize": "2xs",
|
|
10
|
-
"linkLabel": "truncate",
|
|
11
|
-
"separator": "flex",
|
|
12
|
-
"separatorIcon": "shrink-0 size-5 text-muted"
|
|
13
|
-
},
|
|
14
|
-
"variants": {
|
|
15
|
-
"active": {
|
|
16
|
-
"true": {
|
|
17
|
-
"link": "text-primary font-semibold"
|
|
18
|
-
},
|
|
19
|
-
"false": {
|
|
20
|
-
"link": "text-muted font-medium"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
"disabled": {
|
|
24
|
-
"true": {
|
|
25
|
-
"link": "cursor-not-allowed opacity-75"
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"to": {
|
|
29
|
-
"true": ""
|
|
30
|
-
}
|
|
31
|
-
},
|
|
32
|
-
"compoundVariants": [
|
|
33
|
-
{
|
|
34
|
-
"disabled": false,
|
|
35
|
-
"active": false,
|
|
36
|
-
"to": true,
|
|
37
|
-
"class": {
|
|
38
|
-
"link": [
|
|
39
|
-
"hover:text-default",
|
|
40
|
-
"transition-colors"
|
|
41
|
-
]
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
]
|
|
45
|
-
}
|
package/.nuxt/ui/button.ts
DELETED
|
@@ -1,378 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const variant = [
|
|
12
|
-
"solid",
|
|
13
|
-
"outline",
|
|
14
|
-
"soft",
|
|
15
|
-
"subtle",
|
|
16
|
-
"ghost",
|
|
17
|
-
"link"
|
|
18
|
-
] as const
|
|
19
|
-
|
|
20
|
-
const size = [
|
|
21
|
-
"xs",
|
|
22
|
-
"sm",
|
|
23
|
-
"md",
|
|
24
|
-
"lg",
|
|
25
|
-
"xl"
|
|
26
|
-
] as const
|
|
27
|
-
|
|
28
|
-
export default {
|
|
29
|
-
"slots": {
|
|
30
|
-
"base": [
|
|
31
|
-
"rounded-md font-medium inline-flex items-center disabled:cursor-not-allowed aria-disabled:cursor-not-allowed disabled:opacity-75 aria-disabled:opacity-75",
|
|
32
|
-
"transition-colors"
|
|
33
|
-
],
|
|
34
|
-
"label": "truncate",
|
|
35
|
-
"leadingIcon": "shrink-0",
|
|
36
|
-
"leadingAvatar": "shrink-0",
|
|
37
|
-
"leadingAvatarSize": "",
|
|
38
|
-
"trailingIcon": "shrink-0"
|
|
39
|
-
},
|
|
40
|
-
"variants": {
|
|
41
|
-
"fieldGroup": {
|
|
42
|
-
"horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
|
|
43
|
-
"vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
|
|
44
|
-
},
|
|
45
|
-
"color": {
|
|
46
|
-
"primary": "",
|
|
47
|
-
"secondary": "",
|
|
48
|
-
"success": "",
|
|
49
|
-
"info": "",
|
|
50
|
-
"warning": "",
|
|
51
|
-
"error": "",
|
|
52
|
-
"neutral": ""
|
|
53
|
-
},
|
|
54
|
-
"variant": {
|
|
55
|
-
"solid": "",
|
|
56
|
-
"outline": "",
|
|
57
|
-
"soft": "",
|
|
58
|
-
"subtle": "",
|
|
59
|
-
"ghost": "",
|
|
60
|
-
"link": ""
|
|
61
|
-
},
|
|
62
|
-
"size": {
|
|
63
|
-
"xs": {
|
|
64
|
-
"base": "px-2 py-1 text-xs gap-1",
|
|
65
|
-
"leadingIcon": "size-4",
|
|
66
|
-
"leadingAvatarSize": "3xs",
|
|
67
|
-
"trailingIcon": "size-4"
|
|
68
|
-
},
|
|
69
|
-
"sm": {
|
|
70
|
-
"base": "px-2.5 py-1.5 text-xs gap-1.5",
|
|
71
|
-
"leadingIcon": "size-4",
|
|
72
|
-
"leadingAvatarSize": "3xs",
|
|
73
|
-
"trailingIcon": "size-4"
|
|
74
|
-
},
|
|
75
|
-
"md": {
|
|
76
|
-
"base": "px-2.5 py-1.5 text-sm gap-1.5",
|
|
77
|
-
"leadingIcon": "size-5",
|
|
78
|
-
"leadingAvatarSize": "2xs",
|
|
79
|
-
"trailingIcon": "size-5"
|
|
80
|
-
},
|
|
81
|
-
"lg": {
|
|
82
|
-
"base": "px-3 py-2 text-sm gap-2",
|
|
83
|
-
"leadingIcon": "size-5",
|
|
84
|
-
"leadingAvatarSize": "2xs",
|
|
85
|
-
"trailingIcon": "size-5"
|
|
86
|
-
},
|
|
87
|
-
"xl": {
|
|
88
|
-
"base": "px-3 py-2 text-base gap-2",
|
|
89
|
-
"leadingIcon": "size-6",
|
|
90
|
-
"leadingAvatarSize": "xs",
|
|
91
|
-
"trailingIcon": "size-6"
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
"block": {
|
|
95
|
-
"true": {
|
|
96
|
-
"base": "w-full justify-center",
|
|
97
|
-
"trailingIcon": "ms-auto"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"square": {
|
|
101
|
-
"true": ""
|
|
102
|
-
},
|
|
103
|
-
"leading": {
|
|
104
|
-
"true": ""
|
|
105
|
-
},
|
|
106
|
-
"trailing": {
|
|
107
|
-
"true": ""
|
|
108
|
-
},
|
|
109
|
-
"loading": {
|
|
110
|
-
"true": ""
|
|
111
|
-
},
|
|
112
|
-
"active": {
|
|
113
|
-
"true": {
|
|
114
|
-
"base": ""
|
|
115
|
-
},
|
|
116
|
-
"false": {
|
|
117
|
-
"base": ""
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
"compoundVariants": [
|
|
122
|
-
{
|
|
123
|
-
"color": "primary" as typeof color[number],
|
|
124
|
-
"variant": "solid" as typeof variant[number],
|
|
125
|
-
"class": "text-inverted bg-primary hover:bg-primary/75 active:bg-primary/75 disabled:bg-primary aria-disabled:bg-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary"
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"color": "secondary" as typeof color[number],
|
|
129
|
-
"variant": "solid" as typeof variant[number],
|
|
130
|
-
"class": "text-inverted bg-secondary hover:bg-secondary/75 active:bg-secondary/75 disabled:bg-secondary aria-disabled:bg-secondary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-secondary"
|
|
131
|
-
},
|
|
132
|
-
{
|
|
133
|
-
"color": "success" as typeof color[number],
|
|
134
|
-
"variant": "solid" as typeof variant[number],
|
|
135
|
-
"class": "text-inverted bg-success hover:bg-success/75 active:bg-success/75 disabled:bg-success aria-disabled:bg-success focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-success"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"color": "info" as typeof color[number],
|
|
139
|
-
"variant": "solid" as typeof variant[number],
|
|
140
|
-
"class": "text-inverted bg-info hover:bg-info/75 active:bg-info/75 disabled:bg-info aria-disabled:bg-info focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-info"
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
"color": "warning" as typeof color[number],
|
|
144
|
-
"variant": "solid" as typeof variant[number],
|
|
145
|
-
"class": "text-inverted bg-warning hover:bg-warning/75 active:bg-warning/75 disabled:bg-warning aria-disabled:bg-warning focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-warning"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"color": "error" as typeof color[number],
|
|
149
|
-
"variant": "solid" as typeof variant[number],
|
|
150
|
-
"class": "text-inverted bg-error hover:bg-error/75 active:bg-error/75 disabled:bg-error aria-disabled:bg-error focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-error"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"color": "primary" as typeof color[number],
|
|
154
|
-
"variant": "outline" as typeof variant[number],
|
|
155
|
-
"class": "ring ring-inset ring-primary/50 text-primary hover:bg-primary/10 active:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
"color": "secondary" as typeof color[number],
|
|
159
|
-
"variant": "outline" as typeof variant[number],
|
|
160
|
-
"class": "ring ring-inset ring-secondary/50 text-secondary hover:bg-secondary/10 active:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"color": "success" as typeof color[number],
|
|
164
|
-
"variant": "outline" as typeof variant[number],
|
|
165
|
-
"class": "ring ring-inset ring-success/50 text-success hover:bg-success/10 active:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"color": "info" as typeof color[number],
|
|
169
|
-
"variant": "outline" as typeof variant[number],
|
|
170
|
-
"class": "ring ring-inset ring-info/50 text-info hover:bg-info/10 active:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
171
|
-
},
|
|
172
|
-
{
|
|
173
|
-
"color": "warning" as typeof color[number],
|
|
174
|
-
"variant": "outline" as typeof variant[number],
|
|
175
|
-
"class": "ring ring-inset ring-warning/50 text-warning hover:bg-warning/10 active:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
"color": "error" as typeof color[number],
|
|
179
|
-
"variant": "outline" as typeof variant[number],
|
|
180
|
-
"class": "ring ring-inset ring-error/50 text-error hover:bg-error/10 active:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
"color": "primary" as typeof color[number],
|
|
184
|
-
"variant": "soft" as typeof variant[number],
|
|
185
|
-
"class": "text-primary bg-primary/10 hover:bg-primary/15 active:bg-primary/15 focus:outline-none focus-visible:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10"
|
|
186
|
-
},
|
|
187
|
-
{
|
|
188
|
-
"color": "secondary" as typeof color[number],
|
|
189
|
-
"variant": "soft" as typeof variant[number],
|
|
190
|
-
"class": "text-secondary bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 focus:outline-none focus-visible:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10"
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"color": "success" as typeof color[number],
|
|
194
|
-
"variant": "soft" as typeof variant[number],
|
|
195
|
-
"class": "text-success bg-success/10 hover:bg-success/15 active:bg-success/15 focus:outline-none focus-visible:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
"color": "info" as typeof color[number],
|
|
199
|
-
"variant": "soft" as typeof variant[number],
|
|
200
|
-
"class": "text-info bg-info/10 hover:bg-info/15 active:bg-info/15 focus:outline-none focus-visible:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10"
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"color": "warning" as typeof color[number],
|
|
204
|
-
"variant": "soft" as typeof variant[number],
|
|
205
|
-
"class": "text-warning bg-warning/10 hover:bg-warning/15 active:bg-warning/15 focus:outline-none focus-visible:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"color": "error" as typeof color[number],
|
|
209
|
-
"variant": "soft" as typeof variant[number],
|
|
210
|
-
"class": "text-error bg-error/10 hover:bg-error/15 active:bg-error/15 focus:outline-none focus-visible:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10"
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
"color": "primary" as typeof color[number],
|
|
214
|
-
"variant": "subtle" as typeof variant[number],
|
|
215
|
-
"class": "text-primary ring ring-inset ring-primary/25 bg-primary/10 hover:bg-primary/15 active:bg-primary/15 disabled:bg-primary/10 aria-disabled:bg-primary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-primary"
|
|
216
|
-
},
|
|
217
|
-
{
|
|
218
|
-
"color": "secondary" as typeof color[number],
|
|
219
|
-
"variant": "subtle" as typeof variant[number],
|
|
220
|
-
"class": "text-secondary ring ring-inset ring-secondary/25 bg-secondary/10 hover:bg-secondary/15 active:bg-secondary/15 disabled:bg-secondary/10 aria-disabled:bg-secondary/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-secondary"
|
|
221
|
-
},
|
|
222
|
-
{
|
|
223
|
-
"color": "success" as typeof color[number],
|
|
224
|
-
"variant": "subtle" as typeof variant[number],
|
|
225
|
-
"class": "text-success ring ring-inset ring-success/25 bg-success/10 hover:bg-success/15 active:bg-success/15 disabled:bg-success/10 aria-disabled:bg-success/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-success"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"color": "info" as typeof color[number],
|
|
229
|
-
"variant": "subtle" as typeof variant[number],
|
|
230
|
-
"class": "text-info ring ring-inset ring-info/25 bg-info/10 hover:bg-info/15 active:bg-info/15 disabled:bg-info/10 aria-disabled:bg-info/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-info"
|
|
231
|
-
},
|
|
232
|
-
{
|
|
233
|
-
"color": "warning" as typeof color[number],
|
|
234
|
-
"variant": "subtle" as typeof variant[number],
|
|
235
|
-
"class": "text-warning ring ring-inset ring-warning/25 bg-warning/10 hover:bg-warning/15 active:bg-warning/15 disabled:bg-warning/10 aria-disabled:bg-warning/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-warning"
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
"color": "error" as typeof color[number],
|
|
239
|
-
"variant": "subtle" as typeof variant[number],
|
|
240
|
-
"class": "text-error ring ring-inset ring-error/25 bg-error/10 hover:bg-error/15 active:bg-error/15 disabled:bg-error/10 aria-disabled:bg-error/10 focus:outline-none focus-visible:ring-2 focus-visible:ring-error"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"color": "primary" as typeof color[number],
|
|
244
|
-
"variant": "ghost" as typeof variant[number],
|
|
245
|
-
"class": "text-primary hover:bg-primary/10 active:bg-primary/10 focus:outline-none focus-visible:bg-primary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
246
|
-
},
|
|
247
|
-
{
|
|
248
|
-
"color": "secondary" as typeof color[number],
|
|
249
|
-
"variant": "ghost" as typeof variant[number],
|
|
250
|
-
"class": "text-secondary hover:bg-secondary/10 active:bg-secondary/10 focus:outline-none focus-visible:bg-secondary/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"color": "success" as typeof color[number],
|
|
254
|
-
"variant": "ghost" as typeof variant[number],
|
|
255
|
-
"class": "text-success hover:bg-success/10 active:bg-success/10 focus:outline-none focus-visible:bg-success/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"color": "info" as typeof color[number],
|
|
259
|
-
"variant": "ghost" as typeof variant[number],
|
|
260
|
-
"class": "text-info hover:bg-info/10 active:bg-info/10 focus:outline-none focus-visible:bg-info/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
261
|
-
},
|
|
262
|
-
{
|
|
263
|
-
"color": "warning" as typeof color[number],
|
|
264
|
-
"variant": "ghost" as typeof variant[number],
|
|
265
|
-
"class": "text-warning hover:bg-warning/10 active:bg-warning/10 focus:outline-none focus-visible:bg-warning/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
266
|
-
},
|
|
267
|
-
{
|
|
268
|
-
"color": "error" as typeof color[number],
|
|
269
|
-
"variant": "ghost" as typeof variant[number],
|
|
270
|
-
"class": "text-error hover:bg-error/10 active:bg-error/10 focus:outline-none focus-visible:bg-error/10 disabled:bg-transparent aria-disabled:bg-transparent dark:disabled:bg-transparent dark:aria-disabled:bg-transparent"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
"color": "primary" as typeof color[number],
|
|
274
|
-
"variant": "link" as typeof variant[number],
|
|
275
|
-
"class": "text-primary hover:text-primary/75 active:text-primary/75 disabled:text-primary aria-disabled:text-primary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"color": "secondary" as typeof color[number],
|
|
279
|
-
"variant": "link" as typeof variant[number],
|
|
280
|
-
"class": "text-secondary hover:text-secondary/75 active:text-secondary/75 disabled:text-secondary aria-disabled:text-secondary focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
|
|
281
|
-
},
|
|
282
|
-
{
|
|
283
|
-
"color": "success" as typeof color[number],
|
|
284
|
-
"variant": "link" as typeof variant[number],
|
|
285
|
-
"class": "text-success hover:text-success/75 active:text-success/75 disabled:text-success aria-disabled:text-success focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
"color": "info" as typeof color[number],
|
|
289
|
-
"variant": "link" as typeof variant[number],
|
|
290
|
-
"class": "text-info hover:text-info/75 active:text-info/75 disabled:text-info aria-disabled:text-info focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
"color": "warning" as typeof color[number],
|
|
294
|
-
"variant": "link" as typeof variant[number],
|
|
295
|
-
"class": "text-warning hover:text-warning/75 active:text-warning/75 disabled:text-warning aria-disabled:text-warning focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
|
|
296
|
-
},
|
|
297
|
-
{
|
|
298
|
-
"color": "error" as typeof color[number],
|
|
299
|
-
"variant": "link" as typeof variant[number],
|
|
300
|
-
"class": "text-error hover:text-error/75 active:text-error/75 disabled:text-error aria-disabled:text-error focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
|
|
301
|
-
},
|
|
302
|
-
{
|
|
303
|
-
"color": "neutral" as typeof color[number],
|
|
304
|
-
"variant": "solid" as typeof variant[number],
|
|
305
|
-
"class": "text-inverted bg-inverted hover:bg-inverted/90 active:bg-inverted/90 disabled:bg-inverted aria-disabled:bg-inverted focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-inverted"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"color": "neutral" as typeof color[number],
|
|
309
|
-
"variant": "outline" as typeof variant[number],
|
|
310
|
-
"class": "ring ring-inset ring-accented text-default bg-default hover:bg-elevated active:bg-elevated disabled:bg-default aria-disabled:bg-default focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
311
|
-
},
|
|
312
|
-
{
|
|
313
|
-
"color": "neutral" as typeof color[number],
|
|
314
|
-
"variant": "soft" as typeof variant[number],
|
|
315
|
-
"class": "text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 focus:outline-none focus-visible:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated"
|
|
316
|
-
},
|
|
317
|
-
{
|
|
318
|
-
"color": "neutral" as typeof color[number],
|
|
319
|
-
"variant": "subtle" as typeof variant[number],
|
|
320
|
-
"class": "ring ring-inset ring-accented text-default bg-elevated hover:bg-accented/75 active:bg-accented/75 disabled:bg-elevated aria-disabled:bg-elevated focus:outline-none focus-visible:ring-2 focus-visible:ring-inverted"
|
|
321
|
-
},
|
|
322
|
-
{
|
|
323
|
-
"color": "neutral" as typeof color[number],
|
|
324
|
-
"variant": "ghost" as typeof variant[number],
|
|
325
|
-
"class": "text-default hover:bg-elevated active:bg-elevated focus:outline-none focus-visible:bg-elevated hover:disabled:bg-transparent dark:hover:disabled:bg-transparent hover:aria-disabled:bg-transparent dark:hover:aria-disabled:bg-transparent"
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
"color": "neutral" as typeof color[number],
|
|
329
|
-
"variant": "link" as typeof variant[number],
|
|
330
|
-
"class": "text-muted hover:text-default active:text-default disabled:text-muted aria-disabled:text-muted focus:outline-none focus-visible:ring-inset focus-visible:ring-2 focus-visible:ring-inverted"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"size": "xs" as typeof size[number],
|
|
334
|
-
"square": true,
|
|
335
|
-
"class": "p-1"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"size": "sm" as typeof size[number],
|
|
339
|
-
"square": true,
|
|
340
|
-
"class": "p-1.5"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"size": "md" as typeof size[number],
|
|
344
|
-
"square": true,
|
|
345
|
-
"class": "p-1.5"
|
|
346
|
-
},
|
|
347
|
-
{
|
|
348
|
-
"size": "lg" as typeof size[number],
|
|
349
|
-
"square": true,
|
|
350
|
-
"class": "p-2"
|
|
351
|
-
},
|
|
352
|
-
{
|
|
353
|
-
"size": "xl" as typeof size[number],
|
|
354
|
-
"square": true,
|
|
355
|
-
"class": "p-2"
|
|
356
|
-
},
|
|
357
|
-
{
|
|
358
|
-
"loading": true,
|
|
359
|
-
"leading": true,
|
|
360
|
-
"class": {
|
|
361
|
-
"leadingIcon": "animate-spin"
|
|
362
|
-
}
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
"loading": true,
|
|
366
|
-
"leading": false,
|
|
367
|
-
"trailing": true,
|
|
368
|
-
"class": {
|
|
369
|
-
"trailingIcon": "animate-spin"
|
|
370
|
-
}
|
|
371
|
-
}
|
|
372
|
-
],
|
|
373
|
-
"defaultVariants": {
|
|
374
|
-
"color": "primary" as typeof color[number],
|
|
375
|
-
"variant": "solid" as typeof variant[number],
|
|
376
|
-
"size": "md" as typeof size[number]
|
|
377
|
-
}
|
|
378
|
-
}
|