@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.
Files changed (165) hide show
  1. package/LICENSE +21 -0
  2. package/app/assets/css/utilities.css +3 -0
  3. package/app/components/Define.vue +13 -0
  4. package/app/components/layout/LayoutDashboard.vue +1 -1
  5. package/app/components/u/UField.vue +17 -6
  6. package/app/components/u/UForm.vue +90 -0
  7. package/app/components/u/UInputDurationMinutes.vue +1 -1
  8. package/app/composables/useTableColumns.tsx +1 -1
  9. package/app/composables/useToast.ts +3 -3
  10. package/app/utils/debug.ts +48 -0
  11. package/app/utils/files.ts +22 -0
  12. package/app/utils/plugins.ts +45 -6
  13. package/package.json +19 -3
  14. package/server/plugins/error.ts +20 -0
  15. package/server/utils/error.ts +24 -0
  16. package/shared/types/helpers.ts +27 -0
  17. package/shared/utils/helpers.ts +3 -0
  18. package/.nuxt/app.config.mjs +0 -317
  19. package/.nuxt/components.d.ts +0 -332
  20. package/.nuxt/imports.d.ts +0 -61
  21. package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +0 -1
  22. package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
  23. package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
  24. package/.nuxt/nuxt.d.ts +0 -24
  25. package/.nuxt/nuxt.node.d.ts +0 -14
  26. package/.nuxt/nuxt.shared.d.ts +0 -5
  27. package/.nuxt/schema/nuxt.schema.d.ts +0 -210
  28. package/.nuxt/schema/nuxt.schema.json +0 -263
  29. package/.nuxt/tsconfig.app.json +0 -217
  30. package/.nuxt/tsconfig.json +0 -219
  31. package/.nuxt/tsconfig.node.json +0 -114
  32. package/.nuxt/tsconfig.server.json +0 -140
  33. package/.nuxt/tsconfig.shared.json +0 -139
  34. package/.nuxt/types/app.config.d.ts +0 -331
  35. package/.nuxt/types/build.d.ts +0 -24
  36. package/.nuxt/types/builder-env.d.ts +0 -1
  37. package/.nuxt/types/components.d.ts +0 -337
  38. package/.nuxt/types/imports.d.ts +0 -906
  39. package/.nuxt/types/layouts.d.ts +0 -7
  40. package/.nuxt/types/middleware.d.ts +0 -7
  41. package/.nuxt/types/modules.d.ts +0 -159
  42. package/.nuxt/types/nitro-config.d.ts +0 -14
  43. package/.nuxt/types/nitro-imports.d.ts +0 -141
  44. package/.nuxt/types/nitro-middleware.d.ts +0 -11
  45. package/.nuxt/types/nitro-nuxt.d.ts +0 -61
  46. package/.nuxt/types/nitro-routes.d.ts +0 -17
  47. package/.nuxt/types/nitro.d.ts +0 -3
  48. package/.nuxt/types/plugins.d.ts +0 -35
  49. package/.nuxt/types/runtime-config.d.ts +0 -36
  50. package/.nuxt/types/ui.d.ts +0 -36
  51. package/.nuxt/types/vue-shim.d.ts +0 -0
  52. package/.nuxt/ui/accordion.ts +0 -20
  53. package/.nuxt/ui/alert.ts +0 -264
  54. package/.nuxt/ui/auth-form.ts +0 -20
  55. package/.nuxt/ui/avatar-group.ts +0 -52
  56. package/.nuxt/ui/avatar.ts +0 -54
  57. package/.nuxt/ui/badge.ts +0 -263
  58. package/.nuxt/ui/banner.ts +0 -108
  59. package/.nuxt/ui/blog-post.ts +0 -143
  60. package/.nuxt/ui/blog-posts.ts +0 -9
  61. package/.nuxt/ui/breadcrumb.ts +0 -45
  62. package/.nuxt/ui/button.ts +0 -378
  63. package/.nuxt/ui/calendar.ts +0 -315
  64. package/.nuxt/ui/card.ts +0 -34
  65. package/.nuxt/ui/carousel.ts +0 -38
  66. package/.nuxt/ui/changelog-version.ts +0 -45
  67. package/.nuxt/ui/changelog-versions.ts +0 -8
  68. package/.nuxt/ui/chat-message.ts +0 -136
  69. package/.nuxt/ui/chat-messages.ts +0 -14
  70. package/.nuxt/ui/chat-palette.ts +0 -8
  71. package/.nuxt/ui/chat-prompt-submit.ts +0 -5
  72. package/.nuxt/ui/chat-prompt.ts +0 -35
  73. package/.nuxt/ui/checkbox-group.ts +0 -207
  74. package/.nuxt/ui/checkbox.ts +0 -237
  75. package/.nuxt/ui/chip.ts +0 -96
  76. package/.nuxt/ui/collapsible.ts +0 -6
  77. package/.nuxt/ui/color-picker.ts +0 -47
  78. package/.nuxt/ui/command-palette.ts +0 -62
  79. package/.nuxt/ui/container.ts +0 -3
  80. package/.nuxt/ui/context-menu.ts +0 -219
  81. package/.nuxt/ui/dashboard-group.ts +0 -3
  82. package/.nuxt/ui/dashboard-navbar.ts +0 -21
  83. package/.nuxt/ui/dashboard-panel.ts +0 -17
  84. package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
  85. package/.nuxt/ui/dashboard-search-button.ts +0 -15
  86. package/.nuxt/ui/dashboard-search.ts +0 -13
  87. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
  88. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
  89. package/.nuxt/ui/dashboard-sidebar.ts +0 -37
  90. package/.nuxt/ui/dashboard-toolbar.ts +0 -7
  91. package/.nuxt/ui/drawer.ts +0 -149
  92. package/.nuxt/ui/dropdown-menu.ts +0 -220
  93. package/.nuxt/ui/editor-drag-handle.ts +0 -6
  94. package/.nuxt/ui/editor-emoji-menu.ts +0 -35
  95. package/.nuxt/ui/editor-mention-menu.ts +0 -35
  96. package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
  97. package/.nuxt/ui/editor-toolbar.ts +0 -21
  98. package/.nuxt/ui/editor.ts +0 -35
  99. package/.nuxt/ui/empty.ts +0 -83
  100. package/.nuxt/ui/error.ts +0 -9
  101. package/.nuxt/ui/field-group.ts +0 -16
  102. package/.nuxt/ui/file-upload.ts +0 -290
  103. package/.nuxt/ui/footer-columns.ts +0 -28
  104. package/.nuxt/ui/footer.ts +0 -11
  105. package/.nuxt/ui/form-field.ts +0 -62
  106. package/.nuxt/ui/form.ts +0 -3
  107. package/.nuxt/ui/header.ts +0 -25
  108. package/.nuxt/ui/index.ts +0 -109
  109. package/.nuxt/ui/input-date.ts +0 -337
  110. package/.nuxt/ui/input-menu.ts +0 -460
  111. package/.nuxt/ui/input-number.ts +0 -256
  112. package/.nuxt/ui/input-tags.ts +0 -310
  113. package/.nuxt/ui/input-time.ts +0 -336
  114. package/.nuxt/ui/input.ts +0 -289
  115. package/.nuxt/ui/kbd.ts +0 -195
  116. package/.nuxt/ui/link.ts +0 -22
  117. package/.nuxt/ui/main.ts +0 -3
  118. package/.nuxt/ui/marquee.ts +0 -66
  119. package/.nuxt/ui/modal.ts +0 -60
  120. package/.nuxt/ui/navigation-menu.ts +0 -512
  121. package/.nuxt/ui/page-anchors.ts +0 -30
  122. package/.nuxt/ui/page-aside.ts +0 -10
  123. package/.nuxt/ui/page-body.ts +0 -3
  124. package/.nuxt/ui/page-card.ts +0 -274
  125. package/.nuxt/ui/page-columns.ts +0 -3
  126. package/.nuxt/ui/page-cta.ts +0 -70
  127. package/.nuxt/ui/page-feature.ts +0 -34
  128. package/.nuxt/ui/page-grid.ts +0 -3
  129. package/.nuxt/ui/page-header.ts +0 -18
  130. package/.nuxt/ui/page-hero.ts +0 -44
  131. package/.nuxt/ui/page-links.ts +0 -25
  132. package/.nuxt/ui/page-list.ts +0 -8
  133. package/.nuxt/ui/page-logos.ts +0 -15
  134. package/.nuxt/ui/page-section.ts +0 -84
  135. package/.nuxt/ui/page.ts +0 -32
  136. package/.nuxt/ui/pagination.ts +0 -13
  137. package/.nuxt/ui/pin-input.ts +0 -171
  138. package/.nuxt/ui/popover.ts +0 -6
  139. package/.nuxt/ui/pricing-plan.ts +0 -101
  140. package/.nuxt/ui/pricing-plans.ts +0 -22
  141. package/.nuxt/ui/pricing-table.ts +0 -51
  142. package/.nuxt/ui/progress.ts +0 -297
  143. package/.nuxt/ui/radio-group.ts +0 -352
  144. package/.nuxt/ui/scroll-area.ts +0 -21
  145. package/.nuxt/ui/select-menu.ts +0 -361
  146. package/.nuxt/ui/select.ts +0 -348
  147. package/.nuxt/ui/separator.ts +0 -172
  148. package/.nuxt/ui/skeleton.ts +0 -3
  149. package/.nuxt/ui/slideover.ts +0 -132
  150. package/.nuxt/ui/slider.ts +0 -171
  151. package/.nuxt/ui/stepper.ts +0 -202
  152. package/.nuxt/ui/switch.ts +0 -132
  153. package/.nuxt/ui/table.ts +0 -162
  154. package/.nuxt/ui/tabs.ts +0 -258
  155. package/.nuxt/ui/textarea.ts +0 -294
  156. package/.nuxt/ui/timeline.ts +0 -321
  157. package/.nuxt/ui/toast.ts +0 -74
  158. package/.nuxt/ui/toaster.ts +0 -91
  159. package/.nuxt/ui/tooltip.ts +0 -9
  160. package/.nuxt/ui/tree.ts +0 -168
  161. package/.nuxt/ui/user.ts +0 -101
  162. package/.nuxt/ui-image-component.ts +0 -1
  163. package/.nuxt/ui.css +0 -154
  164. package/app/components/Var.vue +0 -13
  165. package/pnpm-workspace.yaml +0 -5
package/.nuxt/ui/alert.ts DELETED
@@ -1,264 +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
- ] as const
17
-
18
- export default {
19
- "slots": {
20
- "root": "relative overflow-hidden w-full rounded-lg p-4 flex gap-2.5",
21
- "wrapper": "min-w-0 flex-1 flex flex-col",
22
- "title": "text-sm font-medium",
23
- "description": "text-sm opacity-90",
24
- "icon": "shrink-0 size-5",
25
- "avatar": "shrink-0",
26
- "avatarSize": "2xl",
27
- "actions": "flex flex-wrap gap-1.5 shrink-0",
28
- "close": "p-0"
29
- },
30
- "variants": {
31
- "color": {
32
- "primary": "",
33
- "secondary": "",
34
- "success": "",
35
- "info": "",
36
- "warning": "",
37
- "error": "",
38
- "neutral": ""
39
- },
40
- "variant": {
41
- "solid": "",
42
- "outline": "",
43
- "soft": "",
44
- "subtle": ""
45
- },
46
- "orientation": {
47
- "horizontal": {
48
- "root": "items-center",
49
- "actions": "items-center"
50
- },
51
- "vertical": {
52
- "root": "items-start",
53
- "actions": "items-start mt-2.5"
54
- }
55
- },
56
- "title": {
57
- "true": {
58
- "description": "mt-1"
59
- }
60
- }
61
- },
62
- "compoundVariants": [
63
- {
64
- "color": "primary" as typeof color[number],
65
- "variant": "solid" as typeof variant[number],
66
- "class": {
67
- "root": "bg-primary text-inverted"
68
- }
69
- },
70
- {
71
- "color": "secondary" as typeof color[number],
72
- "variant": "solid" as typeof variant[number],
73
- "class": {
74
- "root": "bg-secondary text-inverted"
75
- }
76
- },
77
- {
78
- "color": "success" as typeof color[number],
79
- "variant": "solid" as typeof variant[number],
80
- "class": {
81
- "root": "bg-success text-inverted"
82
- }
83
- },
84
- {
85
- "color": "info" as typeof color[number],
86
- "variant": "solid" as typeof variant[number],
87
- "class": {
88
- "root": "bg-info text-inverted"
89
- }
90
- },
91
- {
92
- "color": "warning" as typeof color[number],
93
- "variant": "solid" as typeof variant[number],
94
- "class": {
95
- "root": "bg-warning text-inverted"
96
- }
97
- },
98
- {
99
- "color": "error" as typeof color[number],
100
- "variant": "solid" as typeof variant[number],
101
- "class": {
102
- "root": "bg-error text-inverted"
103
- }
104
- },
105
- {
106
- "color": "primary" as typeof color[number],
107
- "variant": "outline" as typeof variant[number],
108
- "class": {
109
- "root": "text-primary ring ring-inset ring-primary/25"
110
- }
111
- },
112
- {
113
- "color": "secondary" as typeof color[number],
114
- "variant": "outline" as typeof variant[number],
115
- "class": {
116
- "root": "text-secondary ring ring-inset ring-secondary/25"
117
- }
118
- },
119
- {
120
- "color": "success" as typeof color[number],
121
- "variant": "outline" as typeof variant[number],
122
- "class": {
123
- "root": "text-success ring ring-inset ring-success/25"
124
- }
125
- },
126
- {
127
- "color": "info" as typeof color[number],
128
- "variant": "outline" as typeof variant[number],
129
- "class": {
130
- "root": "text-info ring ring-inset ring-info/25"
131
- }
132
- },
133
- {
134
- "color": "warning" as typeof color[number],
135
- "variant": "outline" as typeof variant[number],
136
- "class": {
137
- "root": "text-warning ring ring-inset ring-warning/25"
138
- }
139
- },
140
- {
141
- "color": "error" as typeof color[number],
142
- "variant": "outline" as typeof variant[number],
143
- "class": {
144
- "root": "text-error ring ring-inset ring-error/25"
145
- }
146
- },
147
- {
148
- "color": "primary" as typeof color[number],
149
- "variant": "soft" as typeof variant[number],
150
- "class": {
151
- "root": "bg-primary/10 text-primary"
152
- }
153
- },
154
- {
155
- "color": "secondary" as typeof color[number],
156
- "variant": "soft" as typeof variant[number],
157
- "class": {
158
- "root": "bg-secondary/10 text-secondary"
159
- }
160
- },
161
- {
162
- "color": "success" as typeof color[number],
163
- "variant": "soft" as typeof variant[number],
164
- "class": {
165
- "root": "bg-success/10 text-success"
166
- }
167
- },
168
- {
169
- "color": "info" as typeof color[number],
170
- "variant": "soft" as typeof variant[number],
171
- "class": {
172
- "root": "bg-info/10 text-info"
173
- }
174
- },
175
- {
176
- "color": "warning" as typeof color[number],
177
- "variant": "soft" as typeof variant[number],
178
- "class": {
179
- "root": "bg-warning/10 text-warning"
180
- }
181
- },
182
- {
183
- "color": "error" as typeof color[number],
184
- "variant": "soft" as typeof variant[number],
185
- "class": {
186
- "root": "bg-error/10 text-error"
187
- }
188
- },
189
- {
190
- "color": "primary" as typeof color[number],
191
- "variant": "subtle" as typeof variant[number],
192
- "class": {
193
- "root": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
194
- }
195
- },
196
- {
197
- "color": "secondary" as typeof color[number],
198
- "variant": "subtle" as typeof variant[number],
199
- "class": {
200
- "root": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
201
- }
202
- },
203
- {
204
- "color": "success" as typeof color[number],
205
- "variant": "subtle" as typeof variant[number],
206
- "class": {
207
- "root": "bg-success/10 text-success ring ring-inset ring-success/25"
208
- }
209
- },
210
- {
211
- "color": "info" as typeof color[number],
212
- "variant": "subtle" as typeof variant[number],
213
- "class": {
214
- "root": "bg-info/10 text-info ring ring-inset ring-info/25"
215
- }
216
- },
217
- {
218
- "color": "warning" as typeof color[number],
219
- "variant": "subtle" as typeof variant[number],
220
- "class": {
221
- "root": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
222
- }
223
- },
224
- {
225
- "color": "error" as typeof color[number],
226
- "variant": "subtle" as typeof variant[number],
227
- "class": {
228
- "root": "bg-error/10 text-error ring ring-inset ring-error/25"
229
- }
230
- },
231
- {
232
- "color": "neutral" as typeof color[number],
233
- "variant": "solid" as typeof variant[number],
234
- "class": {
235
- "root": "text-inverted bg-inverted"
236
- }
237
- },
238
- {
239
- "color": "neutral" as typeof color[number],
240
- "variant": "outline" as typeof variant[number],
241
- "class": {
242
- "root": "text-highlighted bg-default ring ring-inset ring-default"
243
- }
244
- },
245
- {
246
- "color": "neutral" as typeof color[number],
247
- "variant": "soft" as typeof variant[number],
248
- "class": {
249
- "root": "text-highlighted bg-elevated/50"
250
- }
251
- },
252
- {
253
- "color": "neutral" as typeof color[number],
254
- "variant": "subtle" as typeof variant[number],
255
- "class": {
256
- "root": "text-highlighted bg-elevated/50 ring ring-inset ring-accented"
257
- }
258
- }
259
- ],
260
- "defaultVariants": {
261
- "color": "primary" as typeof color[number],
262
- "variant": "solid" as typeof variant[number]
263
- }
264
- }
@@ -1,20 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "w-full space-y-6",
4
- "header": "flex flex-col text-center",
5
- "leading": "mb-2",
6
- "leadingIcon": "size-8 shrink-0 inline-block",
7
- "title": "text-xl text-pretty font-semibold text-highlighted",
8
- "description": "mt-1 text-base text-pretty text-muted",
9
- "body": "gap-y-6 flex flex-col",
10
- "providers": "space-y-3",
11
- "checkbox": "",
12
- "select": "w-full",
13
- "password": "w-full",
14
- "otp": "w-full",
15
- "input": "w-full",
16
- "separator": "",
17
- "form": "space-y-5",
18
- "footer": "text-sm text-center text-muted mt-2"
19
- }
20
- }
@@ -1,52 +0,0 @@
1
- const size = [
2
- "3xs",
3
- "2xs",
4
- "xs",
5
- "sm",
6
- "md",
7
- "lg",
8
- "xl",
9
- "2xl",
10
- "3xl"
11
- ] as const
12
-
13
- export default {
14
- "slots": {
15
- "root": "inline-flex flex-row-reverse justify-end",
16
- "base": "relative rounded-full ring-bg first:me-0"
17
- },
18
- "variants": {
19
- "size": {
20
- "3xs": {
21
- "base": "ring -me-0.5"
22
- },
23
- "2xs": {
24
- "base": "ring -me-0.5"
25
- },
26
- "xs": {
27
- "base": "ring -me-0.5"
28
- },
29
- "sm": {
30
- "base": "ring-2 -me-1.5"
31
- },
32
- "md": {
33
- "base": "ring-2 -me-1.5"
34
- },
35
- "lg": {
36
- "base": "ring-2 -me-1.5"
37
- },
38
- "xl": {
39
- "base": "ring-3 -me-2"
40
- },
41
- "2xl": {
42
- "base": "ring-3 -me-2"
43
- },
44
- "3xl": {
45
- "base": "ring-3 -me-2"
46
- }
47
- }
48
- },
49
- "defaultVariants": {
50
- "size": "md" as typeof size[number]
51
- }
52
- }
@@ -1,54 +0,0 @@
1
- const size = [
2
- "3xs",
3
- "2xs",
4
- "xs",
5
- "sm",
6
- "md",
7
- "lg",
8
- "xl",
9
- "2xl",
10
- "3xl"
11
- ] as const
12
-
13
- export default {
14
- "slots": {
15
- "root": "inline-flex items-center justify-center shrink-0 select-none rounded-full align-middle bg-elevated",
16
- "image": "h-full w-full rounded-[inherit] object-cover",
17
- "fallback": "font-medium leading-none text-muted truncate",
18
- "icon": "text-muted shrink-0"
19
- },
20
- "variants": {
21
- "size": {
22
- "3xs": {
23
- "root": "size-4 text-[8px]"
24
- },
25
- "2xs": {
26
- "root": "size-5 text-[10px]"
27
- },
28
- "xs": {
29
- "root": "size-6 text-xs"
30
- },
31
- "sm": {
32
- "root": "size-7 text-sm"
33
- },
34
- "md": {
35
- "root": "size-8 text-base"
36
- },
37
- "lg": {
38
- "root": "size-9 text-lg"
39
- },
40
- "xl": {
41
- "root": "size-10 text-xl"
42
- },
43
- "2xl": {
44
- "root": "size-11 text-[22px]"
45
- },
46
- "3xl": {
47
- "root": "size-12 text-2xl"
48
- }
49
- }
50
- },
51
- "defaultVariants": {
52
- "size": "md" as typeof size[number]
53
- }
54
- }
package/.nuxt/ui/badge.ts DELETED
@@ -1,263 +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
- ] as const
17
-
18
- const size = [
19
- "xs",
20
- "sm",
21
- "md",
22
- "lg",
23
- "xl"
24
- ] as const
25
-
26
- export default {
27
- "slots": {
28
- "base": "font-medium inline-flex items-center",
29
- "label": "truncate",
30
- "leadingIcon": "shrink-0",
31
- "leadingAvatar": "shrink-0",
32
- "leadingAvatarSize": "",
33
- "trailingIcon": "shrink-0"
34
- },
35
- "variants": {
36
- "fieldGroup": {
37
- "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
38
- "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
39
- },
40
- "color": {
41
- "primary": "",
42
- "secondary": "",
43
- "success": "",
44
- "info": "",
45
- "warning": "",
46
- "error": "",
47
- "neutral": ""
48
- },
49
- "variant": {
50
- "solid": "",
51
- "outline": "",
52
- "soft": "",
53
- "subtle": ""
54
- },
55
- "size": {
56
- "xs": {
57
- "base": "text-[8px]/3 px-1 py-0.5 gap-1 rounded-sm",
58
- "leadingIcon": "size-3",
59
- "leadingAvatarSize": "3xs",
60
- "trailingIcon": "size-3"
61
- },
62
- "sm": {
63
- "base": "text-[10px]/3 px-1.5 py-1 gap-1 rounded-sm",
64
- "leadingIcon": "size-3",
65
- "leadingAvatarSize": "3xs",
66
- "trailingIcon": "size-3"
67
- },
68
- "md": {
69
- "base": "text-xs px-2 py-1 gap-1 rounded-md",
70
- "leadingIcon": "size-4",
71
- "leadingAvatarSize": "3xs",
72
- "trailingIcon": "size-4"
73
- },
74
- "lg": {
75
- "base": "text-sm px-2 py-1 gap-1.5 rounded-md",
76
- "leadingIcon": "size-5",
77
- "leadingAvatarSize": "2xs",
78
- "trailingIcon": "size-5"
79
- },
80
- "xl": {
81
- "base": "text-base px-2.5 py-1 gap-1.5 rounded-md",
82
- "leadingIcon": "size-6",
83
- "leadingAvatarSize": "2xs",
84
- "trailingIcon": "size-6"
85
- }
86
- },
87
- "square": {
88
- "true": ""
89
- }
90
- },
91
- "compoundVariants": [
92
- {
93
- "color": "primary" as typeof color[number],
94
- "variant": "solid" as typeof variant[number],
95
- "class": "bg-primary text-inverted"
96
- },
97
- {
98
- "color": "secondary" as typeof color[number],
99
- "variant": "solid" as typeof variant[number],
100
- "class": "bg-secondary text-inverted"
101
- },
102
- {
103
- "color": "success" as typeof color[number],
104
- "variant": "solid" as typeof variant[number],
105
- "class": "bg-success text-inverted"
106
- },
107
- {
108
- "color": "info" as typeof color[number],
109
- "variant": "solid" as typeof variant[number],
110
- "class": "bg-info text-inverted"
111
- },
112
- {
113
- "color": "warning" as typeof color[number],
114
- "variant": "solid" as typeof variant[number],
115
- "class": "bg-warning text-inverted"
116
- },
117
- {
118
- "color": "error" as typeof color[number],
119
- "variant": "solid" as typeof variant[number],
120
- "class": "bg-error text-inverted"
121
- },
122
- {
123
- "color": "primary" as typeof color[number],
124
- "variant": "outline" as typeof variant[number],
125
- "class": "text-primary ring ring-inset ring-primary/50"
126
- },
127
- {
128
- "color": "secondary" as typeof color[number],
129
- "variant": "outline" as typeof variant[number],
130
- "class": "text-secondary ring ring-inset ring-secondary/50"
131
- },
132
- {
133
- "color": "success" as typeof color[number],
134
- "variant": "outline" as typeof variant[number],
135
- "class": "text-success ring ring-inset ring-success/50"
136
- },
137
- {
138
- "color": "info" as typeof color[number],
139
- "variant": "outline" as typeof variant[number],
140
- "class": "text-info ring ring-inset ring-info/50"
141
- },
142
- {
143
- "color": "warning" as typeof color[number],
144
- "variant": "outline" as typeof variant[number],
145
- "class": "text-warning ring ring-inset ring-warning/50"
146
- },
147
- {
148
- "color": "error" as typeof color[number],
149
- "variant": "outline" as typeof variant[number],
150
- "class": "text-error ring ring-inset ring-error/50"
151
- },
152
- {
153
- "color": "primary" as typeof color[number],
154
- "variant": "soft" as typeof variant[number],
155
- "class": "bg-primary/10 text-primary"
156
- },
157
- {
158
- "color": "secondary" as typeof color[number],
159
- "variant": "soft" as typeof variant[number],
160
- "class": "bg-secondary/10 text-secondary"
161
- },
162
- {
163
- "color": "success" as typeof color[number],
164
- "variant": "soft" as typeof variant[number],
165
- "class": "bg-success/10 text-success"
166
- },
167
- {
168
- "color": "info" as typeof color[number],
169
- "variant": "soft" as typeof variant[number],
170
- "class": "bg-info/10 text-info"
171
- },
172
- {
173
- "color": "warning" as typeof color[number],
174
- "variant": "soft" as typeof variant[number],
175
- "class": "bg-warning/10 text-warning"
176
- },
177
- {
178
- "color": "error" as typeof color[number],
179
- "variant": "soft" as typeof variant[number],
180
- "class": "bg-error/10 text-error"
181
- },
182
- {
183
- "color": "primary" as typeof color[number],
184
- "variant": "subtle" as typeof variant[number],
185
- "class": "bg-primary/10 text-primary ring ring-inset ring-primary/25"
186
- },
187
- {
188
- "color": "secondary" as typeof color[number],
189
- "variant": "subtle" as typeof variant[number],
190
- "class": "bg-secondary/10 text-secondary ring ring-inset ring-secondary/25"
191
- },
192
- {
193
- "color": "success" as typeof color[number],
194
- "variant": "subtle" as typeof variant[number],
195
- "class": "bg-success/10 text-success ring ring-inset ring-success/25"
196
- },
197
- {
198
- "color": "info" as typeof color[number],
199
- "variant": "subtle" as typeof variant[number],
200
- "class": "bg-info/10 text-info ring ring-inset ring-info/25"
201
- },
202
- {
203
- "color": "warning" as typeof color[number],
204
- "variant": "subtle" as typeof variant[number],
205
- "class": "bg-warning/10 text-warning ring ring-inset ring-warning/25"
206
- },
207
- {
208
- "color": "error" as typeof color[number],
209
- "variant": "subtle" as typeof variant[number],
210
- "class": "bg-error/10 text-error ring ring-inset ring-error/25"
211
- },
212
- {
213
- "color": "neutral" as typeof color[number],
214
- "variant": "solid" as typeof variant[number],
215
- "class": "text-inverted bg-inverted"
216
- },
217
- {
218
- "color": "neutral" as typeof color[number],
219
- "variant": "outline" as typeof variant[number],
220
- "class": "ring ring-inset ring-accented text-default bg-default"
221
- },
222
- {
223
- "color": "neutral" as typeof color[number],
224
- "variant": "soft" as typeof variant[number],
225
- "class": "text-default bg-elevated"
226
- },
227
- {
228
- "color": "neutral" as typeof color[number],
229
- "variant": "subtle" as typeof variant[number],
230
- "class": "ring ring-inset ring-accented text-default bg-elevated"
231
- },
232
- {
233
- "size": "xs" as typeof size[number],
234
- "square": true,
235
- "class": "p-0.5"
236
- },
237
- {
238
- "size": "sm" as typeof size[number],
239
- "square": true,
240
- "class": "p-1"
241
- },
242
- {
243
- "size": "md" as typeof size[number],
244
- "square": true,
245
- "class": "p-1"
246
- },
247
- {
248
- "size": "lg" as typeof size[number],
249
- "square": true,
250
- "class": "p-1"
251
- },
252
- {
253
- "size": "xl" as typeof size[number],
254
- "square": true,
255
- "class": "p-1"
256
- }
257
- ],
258
- "defaultVariants": {
259
- "color": "primary" as typeof color[number],
260
- "variant": "solid" as typeof variant[number],
261
- "size": "md" as typeof size[number]
262
- }
263
- }