@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
@@ -1,348 +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
- "relative group rounded-md inline-flex items-center focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
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
- "value": "truncate pointer-events-none",
40
- "placeholder": "truncate text-dimmed",
41
- "arrow": "fill-default",
42
- "content": "max-h-60 w-(--reka-select-trigger-width) bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-select-content-transform-origin) pointer-events-auto flex flex-col",
43
- "viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
44
- "group": "p-1 isolate",
45
- "empty": "text-center text-muted",
46
- "label": "font-semibold text-highlighted",
47
- "separator": "-mx-1 my-1 h-px bg-border",
48
- "item": [
49
- "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
50
- "transition-colors before:transition-colors"
51
- ],
52
- "itemLeadingIcon": [
53
- "shrink-0 text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
54
- "transition-colors"
55
- ],
56
- "itemLeadingAvatar": "shrink-0",
57
- "itemLeadingAvatarSize": "",
58
- "itemLeadingChip": "shrink-0",
59
- "itemLeadingChipSize": "",
60
- "itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
61
- "itemTrailingIcon": "shrink-0",
62
- "itemWrapper": "flex-1 flex flex-col min-w-0",
63
- "itemLabel": "truncate",
64
- "itemDescription": "truncate text-muted"
65
- },
66
- "variants": {
67
- "fieldGroup": {
68
- "horizontal": "not-only:first:rounded-e-none not-only:last:rounded-s-none not-last:not-first:rounded-none focus-visible:z-[1]",
69
- "vertical": "not-only:first:rounded-b-none not-only:last:rounded-t-none not-last:not-first:rounded-none focus-visible:z-[1]"
70
- },
71
- "size": {
72
- "xs": {
73
- "base": "px-2 py-1 text-xs gap-1",
74
- "leading": "ps-2",
75
- "trailing": "pe-2",
76
- "leadingIcon": "size-4",
77
- "leadingAvatarSize": "3xs",
78
- "trailingIcon": "size-4",
79
- "label": "p-1 text-[10px]/3 gap-1",
80
- "item": "p-1 text-xs gap-1",
81
- "itemLeadingIcon": "size-4",
82
- "itemLeadingAvatarSize": "3xs",
83
- "itemLeadingChip": "size-4",
84
- "itemLeadingChipSize": "sm",
85
- "itemTrailingIcon": "size-4",
86
- "empty": "p-1 text-xs"
87
- },
88
- "sm": {
89
- "base": "px-2.5 py-1.5 text-xs gap-1.5",
90
- "leading": "ps-2.5",
91
- "trailing": "pe-2.5",
92
- "leadingIcon": "size-4",
93
- "leadingAvatarSize": "3xs",
94
- "trailingIcon": "size-4",
95
- "label": "p-1.5 text-[10px]/3 gap-1.5",
96
- "item": "p-1.5 text-xs gap-1.5",
97
- "itemLeadingIcon": "size-4",
98
- "itemLeadingAvatarSize": "3xs",
99
- "itemLeadingChip": "size-4",
100
- "itemLeadingChipSize": "sm",
101
- "itemTrailingIcon": "size-4",
102
- "empty": "p-1.5 text-xs"
103
- },
104
- "md": {
105
- "base": "px-2.5 py-1.5 text-sm gap-1.5",
106
- "leading": "ps-2.5",
107
- "trailing": "pe-2.5",
108
- "leadingIcon": "size-5",
109
- "leadingAvatarSize": "2xs",
110
- "trailingIcon": "size-5",
111
- "label": "p-1.5 text-xs gap-1.5",
112
- "item": "p-1.5 text-sm gap-1.5",
113
- "itemLeadingIcon": "size-5",
114
- "itemLeadingAvatarSize": "2xs",
115
- "itemLeadingChip": "size-5",
116
- "itemLeadingChipSize": "md",
117
- "itemTrailingIcon": "size-5",
118
- "empty": "p-1.5 text-sm"
119
- },
120
- "lg": {
121
- "base": "px-3 py-2 text-sm gap-2",
122
- "leading": "ps-3",
123
- "trailing": "pe-3",
124
- "leadingIcon": "size-5",
125
- "leadingAvatarSize": "2xs",
126
- "trailingIcon": "size-5",
127
- "label": "p-2 text-xs gap-2",
128
- "item": "p-2 text-sm gap-2",
129
- "itemLeadingIcon": "size-5",
130
- "itemLeadingAvatarSize": "2xs",
131
- "itemLeadingChip": "size-5",
132
- "itemLeadingChipSize": "md",
133
- "itemTrailingIcon": "size-5",
134
- "empty": "p-2 text-sm"
135
- },
136
- "xl": {
137
- "base": "px-3 py-2 text-base gap-2",
138
- "leading": "ps-3",
139
- "trailing": "pe-3",
140
- "leadingIcon": "size-6",
141
- "leadingAvatarSize": "xs",
142
- "trailingIcon": "size-6",
143
- "label": "p-2 text-sm gap-2",
144
- "item": "p-2 text-base gap-2",
145
- "itemLeadingIcon": "size-6",
146
- "itemLeadingAvatarSize": "xs",
147
- "itemLeadingChip": "size-6",
148
- "itemLeadingChipSize": "lg",
149
- "itemTrailingIcon": "size-6",
150
- "empty": "p-2 text-base"
151
- }
152
- },
153
- "variant": {
154
- "outline": "text-highlighted bg-default ring ring-inset ring-accented",
155
- "soft": "text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",
156
- "subtle": "text-highlighted bg-elevated ring ring-inset ring-accented",
157
- "ghost": "text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",
158
- "none": "text-highlighted bg-transparent"
159
- },
160
- "color": {
161
- "primary": "",
162
- "secondary": "",
163
- "success": "",
164
- "info": "",
165
- "warning": "",
166
- "error": "",
167
- "neutral": ""
168
- },
169
- "leading": {
170
- "true": ""
171
- },
172
- "trailing": {
173
- "true": ""
174
- },
175
- "loading": {
176
- "true": ""
177
- },
178
- "highlight": {
179
- "true": ""
180
- },
181
- "type": {
182
- "file": "file:me-1.5 file:font-medium file:text-muted file:outline-none"
183
- }
184
- },
185
- "compoundVariants": [
186
- {
187
- "color": "primary" as typeof color[number],
188
- "variant": [
189
- "outline" as typeof variant[number],
190
- "subtle" as typeof variant[number]
191
- ],
192
- "class": "focus:ring-2 focus:ring-inset focus:ring-primary"
193
- },
194
- {
195
- "color": "secondary" as typeof color[number],
196
- "variant": [
197
- "outline" as typeof variant[number],
198
- "subtle" as typeof variant[number]
199
- ],
200
- "class": "focus:ring-2 focus:ring-inset focus:ring-secondary"
201
- },
202
- {
203
- "color": "success" as typeof color[number],
204
- "variant": [
205
- "outline" as typeof variant[number],
206
- "subtle" as typeof variant[number]
207
- ],
208
- "class": "focus:ring-2 focus:ring-inset focus:ring-success"
209
- },
210
- {
211
- "color": "info" as typeof color[number],
212
- "variant": [
213
- "outline" as typeof variant[number],
214
- "subtle" as typeof variant[number]
215
- ],
216
- "class": "focus:ring-2 focus:ring-inset focus:ring-info"
217
- },
218
- {
219
- "color": "warning" as typeof color[number],
220
- "variant": [
221
- "outline" as typeof variant[number],
222
- "subtle" as typeof variant[number]
223
- ],
224
- "class": "focus:ring-2 focus:ring-inset focus:ring-warning"
225
- },
226
- {
227
- "color": "error" as typeof color[number],
228
- "variant": [
229
- "outline" as typeof variant[number],
230
- "subtle" as typeof variant[number]
231
- ],
232
- "class": "focus:ring-2 focus:ring-inset focus:ring-error"
233
- },
234
- {
235
- "color": "primary" as typeof color[number],
236
- "highlight": true,
237
- "class": "ring ring-inset ring-primary"
238
- },
239
- {
240
- "color": "secondary" as typeof color[number],
241
- "highlight": true,
242
- "class": "ring ring-inset ring-secondary"
243
- },
244
- {
245
- "color": "success" as typeof color[number],
246
- "highlight": true,
247
- "class": "ring ring-inset ring-success"
248
- },
249
- {
250
- "color": "info" as typeof color[number],
251
- "highlight": true,
252
- "class": "ring ring-inset ring-info"
253
- },
254
- {
255
- "color": "warning" as typeof color[number],
256
- "highlight": true,
257
- "class": "ring ring-inset ring-warning"
258
- },
259
- {
260
- "color": "error" as typeof color[number],
261
- "highlight": true,
262
- "class": "ring ring-inset ring-error"
263
- },
264
- {
265
- "color": "neutral" as typeof color[number],
266
- "variant": [
267
- "outline" as typeof variant[number],
268
- "subtle" as typeof variant[number]
269
- ],
270
- "class": "focus:ring-2 focus:ring-inset focus:ring-inverted"
271
- },
272
- {
273
- "color": "neutral" as typeof color[number],
274
- "highlight": true,
275
- "class": "ring ring-inset ring-inverted"
276
- },
277
- {
278
- "leading": true,
279
- "size": "xs" as typeof size[number],
280
- "class": "ps-7"
281
- },
282
- {
283
- "leading": true,
284
- "size": "sm" as typeof size[number],
285
- "class": "ps-8"
286
- },
287
- {
288
- "leading": true,
289
- "size": "md" as typeof size[number],
290
- "class": "ps-9"
291
- },
292
- {
293
- "leading": true,
294
- "size": "lg" as typeof size[number],
295
- "class": "ps-10"
296
- },
297
- {
298
- "leading": true,
299
- "size": "xl" as typeof size[number],
300
- "class": "ps-11"
301
- },
302
- {
303
- "trailing": true,
304
- "size": "xs" as typeof size[number],
305
- "class": "pe-7"
306
- },
307
- {
308
- "trailing": true,
309
- "size": "sm" as typeof size[number],
310
- "class": "pe-8"
311
- },
312
- {
313
- "trailing": true,
314
- "size": "md" as typeof size[number],
315
- "class": "pe-9"
316
- },
317
- {
318
- "trailing": true,
319
- "size": "lg" as typeof size[number],
320
- "class": "pe-10"
321
- },
322
- {
323
- "trailing": true,
324
- "size": "xl" as typeof size[number],
325
- "class": "pe-11"
326
- },
327
- {
328
- "loading": true,
329
- "leading": true,
330
- "class": {
331
- "leadingIcon": "animate-spin"
332
- }
333
- },
334
- {
335
- "loading": true,
336
- "leading": false,
337
- "trailing": true,
338
- "class": {
339
- "trailingIcon": "animate-spin"
340
- }
341
- }
342
- ],
343
- "defaultVariants": {
344
- "size": "md" as typeof size[number],
345
- "color": "primary" as typeof color[number],
346
- "variant": "outline" as typeof variant[number]
347
- }
348
- }
@@ -1,172 +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 orientation = [
12
- "horizontal",
13
- "vertical"
14
- ] as const
15
-
16
- const size = [
17
- "xs",
18
- "sm",
19
- "md",
20
- "lg",
21
- "xl"
22
- ] as const
23
-
24
- const type = [
25
- "solid",
26
- "dashed",
27
- "dotted"
28
- ] as const
29
-
30
- export default {
31
- "slots": {
32
- "root": "flex items-center align-center text-center",
33
- "border": "",
34
- "container": "font-medium text-default flex",
35
- "icon": "shrink-0 size-5",
36
- "avatar": "shrink-0",
37
- "avatarSize": "2xs",
38
- "label": "text-sm"
39
- },
40
- "variants": {
41
- "color": {
42
- "primary": {
43
- "border": "border-primary"
44
- },
45
- "secondary": {
46
- "border": "border-secondary"
47
- },
48
- "success": {
49
- "border": "border-success"
50
- },
51
- "info": {
52
- "border": "border-info"
53
- },
54
- "warning": {
55
- "border": "border-warning"
56
- },
57
- "error": {
58
- "border": "border-error"
59
- },
60
- "neutral": {
61
- "border": "border-default"
62
- }
63
- },
64
- "orientation": {
65
- "horizontal": {
66
- "root": "w-full flex-row",
67
- "border": "w-full",
68
- "container": "mx-3 whitespace-nowrap"
69
- },
70
- "vertical": {
71
- "root": "h-full flex-col",
72
- "border": "h-full",
73
- "container": "my-2"
74
- }
75
- },
76
- "size": {
77
- "xs": "",
78
- "sm": "",
79
- "md": "",
80
- "lg": "",
81
- "xl": ""
82
- },
83
- "type": {
84
- "solid": {
85
- "border": "border-solid"
86
- },
87
- "dashed": {
88
- "border": "border-dashed"
89
- },
90
- "dotted": {
91
- "border": "border-dotted"
92
- }
93
- }
94
- },
95
- "compoundVariants": [
96
- {
97
- "orientation": "horizontal" as typeof orientation[number],
98
- "size": "xs" as typeof size[number],
99
- "class": {
100
- "border": "border-t"
101
- }
102
- },
103
- {
104
- "orientation": "horizontal" as typeof orientation[number],
105
- "size": "sm" as typeof size[number],
106
- "class": {
107
- "border": "border-t-[2px]"
108
- }
109
- },
110
- {
111
- "orientation": "horizontal" as typeof orientation[number],
112
- "size": "md" as typeof size[number],
113
- "class": {
114
- "border": "border-t-[3px]"
115
- }
116
- },
117
- {
118
- "orientation": "horizontal" as typeof orientation[number],
119
- "size": "lg" as typeof size[number],
120
- "class": {
121
- "border": "border-t-[4px]"
122
- }
123
- },
124
- {
125
- "orientation": "horizontal" as typeof orientation[number],
126
- "size": "xl" as typeof size[number],
127
- "class": {
128
- "border": "border-t-[5px]"
129
- }
130
- },
131
- {
132
- "orientation": "vertical" as typeof orientation[number],
133
- "size": "xs" as typeof size[number],
134
- "class": {
135
- "border": "border-s"
136
- }
137
- },
138
- {
139
- "orientation": "vertical" as typeof orientation[number],
140
- "size": "sm" as typeof size[number],
141
- "class": {
142
- "border": "border-s-[2px]"
143
- }
144
- },
145
- {
146
- "orientation": "vertical" as typeof orientation[number],
147
- "size": "md" as typeof size[number],
148
- "class": {
149
- "border": "border-s-[3px]"
150
- }
151
- },
152
- {
153
- "orientation": "vertical" as typeof orientation[number],
154
- "size": "lg" as typeof size[number],
155
- "class": {
156
- "border": "border-s-[4px]"
157
- }
158
- },
159
- {
160
- "orientation": "vertical" as typeof orientation[number],
161
- "size": "xl" as typeof size[number],
162
- "class": {
163
- "border": "border-s-[5px]"
164
- }
165
- }
166
- ],
167
- "defaultVariants": {
168
- "color": "neutral" as typeof color[number],
169
- "size": "xs" as typeof size[number],
170
- "type": "solid" as typeof type[number]
171
- }
172
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "animate-pulse rounded-md bg-elevated"
3
- }
@@ -1,132 +0,0 @@
1
- const side = [
2
- "top",
3
- "right",
4
- "bottom",
5
- "left"
6
- ] as const
7
-
8
- export default {
9
- "slots": {
10
- "overlay": "fixed inset-0 bg-elevated/75",
11
- "content": "fixed bg-default divide-y divide-default sm:ring ring-default sm:shadow-lg flex flex-col focus:outline-none",
12
- "header": "flex items-center gap-1.5 p-4 sm:px-6 min-h-16",
13
- "wrapper": "",
14
- "body": "flex-1 overflow-y-auto p-4 sm:p-6",
15
- "footer": "flex items-center gap-1.5 p-4 sm:px-6",
16
- "title": "text-highlighted font-semibold",
17
- "description": "mt-1 text-muted text-sm",
18
- "close": "absolute top-4 end-4"
19
- },
20
- "variants": {
21
- "side": {
22
- "top": {
23
- "content": ""
24
- },
25
- "right": {
26
- "content": "max-w-md"
27
- },
28
- "bottom": {
29
- "content": ""
30
- },
31
- "left": {
32
- "content": "max-w-md"
33
- }
34
- },
35
- "inset": {
36
- "true": {
37
- "content": "rounded-lg"
38
- }
39
- },
40
- "transition": {
41
- "true": {
42
- "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]"
43
- }
44
- }
45
- },
46
- "compoundVariants": [
47
- {
48
- "side": "top" as typeof side[number],
49
- "inset": true,
50
- "class": {
51
- "content": "max-h-[calc(100%-2rem)] inset-x-4 top-4"
52
- }
53
- },
54
- {
55
- "side": "top" as typeof side[number],
56
- "inset": false,
57
- "class": {
58
- "content": "max-h-full inset-x-0 top-0"
59
- }
60
- },
61
- {
62
- "side": "right" as typeof side[number],
63
- "inset": true,
64
- "class": {
65
- "content": "w-[calc(100%-2rem)] inset-y-4 right-4"
66
- }
67
- },
68
- {
69
- "side": "right" as typeof side[number],
70
- "inset": false,
71
- "class": {
72
- "content": "w-full inset-y-0 right-0"
73
- }
74
- },
75
- {
76
- "side": "bottom" as typeof side[number],
77
- "inset": true,
78
- "class": {
79
- "content": "max-h-[calc(100%-2rem)] inset-x-4 bottom-4"
80
- }
81
- },
82
- {
83
- "side": "bottom" as typeof side[number],
84
- "inset": false,
85
- "class": {
86
- "content": "max-h-full inset-x-0 bottom-0"
87
- }
88
- },
89
- {
90
- "side": "left" as typeof side[number],
91
- "inset": true,
92
- "class": {
93
- "content": "w-[calc(100%-2rem)] inset-y-4 left-4"
94
- }
95
- },
96
- {
97
- "side": "left" as typeof side[number],
98
- "inset": false,
99
- "class": {
100
- "content": "w-full inset-y-0 left-0"
101
- }
102
- },
103
- {
104
- "transition": true,
105
- "side": "top" as typeof side[number],
106
- "class": {
107
- "content": "data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-top_200ms_ease-in-out]"
108
- }
109
- },
110
- {
111
- "transition": true,
112
- "side": "right" as typeof side[number],
113
- "class": {
114
- "content": "data-[state=open]:animate-[slide-in-from-right_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-right_200ms_ease-in-out]"
115
- }
116
- },
117
- {
118
- "transition": true,
119
- "side": "bottom" as typeof side[number],
120
- "class": {
121
- "content": "data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-bottom_200ms_ease-in-out]"
122
- }
123
- },
124
- {
125
- "transition": true,
126
- "side": "left" as typeof side[number],
127
- "class": {
128
- "content": "data-[state=open]:animate-[slide-in-from-left_200ms_ease-in-out] data-[state=closed]:animate-[slide-out-to-left_200ms_ease-in-out]"
129
- }
130
- }
131
- ]
132
- }