@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,315 +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
- "root": "",
29
- "header": "flex items-center justify-between",
30
- "body": "flex flex-col space-y-4 pt-4 sm:flex-row sm:space-x-4 sm:space-y-0",
31
- "heading": "text-center font-medium truncate mx-auto",
32
- "grid": "w-full border-collapse select-none space-y-1 focus:outline-none",
33
- "gridRow": "grid grid-cols-7 place-items-center",
34
- "gridWeekDaysRow": "mb-1 grid w-full grid-cols-7",
35
- "gridBody": "grid",
36
- "headCell": "rounded-md",
37
- "cell": "relative text-center",
38
- "cellTrigger": [
39
- "m-0.5 relative flex items-center justify-center rounded-full whitespace-nowrap focus-visible:ring-2 focus:outline-none data-disabled:text-muted data-unavailable:line-through data-unavailable:text-muted data-unavailable:pointer-events-none data-today:font-semibold data-[outside-view]:text-muted",
40
- "transition"
41
- ]
42
- },
43
- "variants": {
44
- "color": {
45
- "primary": {
46
- "headCell": "text-primary",
47
- "cellTrigger": "focus-visible:ring-primary"
48
- },
49
- "secondary": {
50
- "headCell": "text-secondary",
51
- "cellTrigger": "focus-visible:ring-secondary"
52
- },
53
- "success": {
54
- "headCell": "text-success",
55
- "cellTrigger": "focus-visible:ring-success"
56
- },
57
- "info": {
58
- "headCell": "text-info",
59
- "cellTrigger": "focus-visible:ring-info"
60
- },
61
- "warning": {
62
- "headCell": "text-warning",
63
- "cellTrigger": "focus-visible:ring-warning"
64
- },
65
- "error": {
66
- "headCell": "text-error",
67
- "cellTrigger": "focus-visible:ring-error"
68
- },
69
- "neutral": {
70
- "headCell": "text-highlighted",
71
- "cellTrigger": "focus-visible:ring-inverted"
72
- }
73
- },
74
- "variant": {
75
- "solid": "",
76
- "outline": "",
77
- "soft": "",
78
- "subtle": ""
79
- },
80
- "size": {
81
- "xs": {
82
- "heading": "text-xs",
83
- "cell": "text-xs",
84
- "headCell": "text-[10px]",
85
- "cellTrigger": "size-7",
86
- "body": "space-y-2 pt-2"
87
- },
88
- "sm": {
89
- "heading": "text-xs",
90
- "headCell": "text-xs",
91
- "cell": "text-xs",
92
- "cellTrigger": "size-7"
93
- },
94
- "md": {
95
- "heading": "text-sm",
96
- "headCell": "text-xs",
97
- "cell": "text-sm",
98
- "cellTrigger": "size-8"
99
- },
100
- "lg": {
101
- "heading": "text-md",
102
- "headCell": "text-md",
103
- "cellTrigger": "size-9 text-md"
104
- },
105
- "xl": {
106
- "heading": "text-lg",
107
- "headCell": "text-lg",
108
- "cellTrigger": "size-10 text-lg"
109
- }
110
- }
111
- },
112
- "compoundVariants": [
113
- {
114
- "color": "primary" as typeof color[number],
115
- "variant": "solid" as typeof variant[number],
116
- "class": {
117
- "cellTrigger": "data-[selected]:bg-primary data-[selected]:text-inverted data-today:not-data-[selected]:text-primary data-[highlighted]:bg-primary/20 hover:not-data-[selected]:bg-primary/20"
118
- }
119
- },
120
- {
121
- "color": "secondary" as typeof color[number],
122
- "variant": "solid" as typeof variant[number],
123
- "class": {
124
- "cellTrigger": "data-[selected]:bg-secondary data-[selected]:text-inverted data-today:not-data-[selected]:text-secondary data-[highlighted]:bg-secondary/20 hover:not-data-[selected]:bg-secondary/20"
125
- }
126
- },
127
- {
128
- "color": "success" as typeof color[number],
129
- "variant": "solid" as typeof variant[number],
130
- "class": {
131
- "cellTrigger": "data-[selected]:bg-success data-[selected]:text-inverted data-today:not-data-[selected]:text-success data-[highlighted]:bg-success/20 hover:not-data-[selected]:bg-success/20"
132
- }
133
- },
134
- {
135
- "color": "info" as typeof color[number],
136
- "variant": "solid" as typeof variant[number],
137
- "class": {
138
- "cellTrigger": "data-[selected]:bg-info data-[selected]:text-inverted data-today:not-data-[selected]:text-info data-[highlighted]:bg-info/20 hover:not-data-[selected]:bg-info/20"
139
- }
140
- },
141
- {
142
- "color": "warning" as typeof color[number],
143
- "variant": "solid" as typeof variant[number],
144
- "class": {
145
- "cellTrigger": "data-[selected]:bg-warning data-[selected]:text-inverted data-today:not-data-[selected]:text-warning data-[highlighted]:bg-warning/20 hover:not-data-[selected]:bg-warning/20"
146
- }
147
- },
148
- {
149
- "color": "error" as typeof color[number],
150
- "variant": "solid" as typeof variant[number],
151
- "class": {
152
- "cellTrigger": "data-[selected]:bg-error data-[selected]:text-inverted data-today:not-data-[selected]:text-error data-[highlighted]:bg-error/20 hover:not-data-[selected]:bg-error/20"
153
- }
154
- },
155
- {
156
- "color": "primary" as typeof color[number],
157
- "variant": "outline" as typeof variant[number],
158
- "class": {
159
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-primary/50 data-[selected]:text-primary data-today:not-data-[selected]:text-primary data-[highlighted]:bg-primary/10 hover:not-data-[selected]:bg-primary/10"
160
- }
161
- },
162
- {
163
- "color": "secondary" as typeof color[number],
164
- "variant": "outline" as typeof variant[number],
165
- "class": {
166
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-secondary/50 data-[selected]:text-secondary data-today:not-data-[selected]:text-secondary data-[highlighted]:bg-secondary/10 hover:not-data-[selected]:bg-secondary/10"
167
- }
168
- },
169
- {
170
- "color": "success" as typeof color[number],
171
- "variant": "outline" as typeof variant[number],
172
- "class": {
173
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-success/50 data-[selected]:text-success data-today:not-data-[selected]:text-success data-[highlighted]:bg-success/10 hover:not-data-[selected]:bg-success/10"
174
- }
175
- },
176
- {
177
- "color": "info" as typeof color[number],
178
- "variant": "outline" as typeof variant[number],
179
- "class": {
180
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-info/50 data-[selected]:text-info data-today:not-data-[selected]:text-info data-[highlighted]:bg-info/10 hover:not-data-[selected]:bg-info/10"
181
- }
182
- },
183
- {
184
- "color": "warning" as typeof color[number],
185
- "variant": "outline" as typeof variant[number],
186
- "class": {
187
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-warning/50 data-[selected]:text-warning data-today:not-data-[selected]:text-warning data-[highlighted]:bg-warning/10 hover:not-data-[selected]:bg-warning/10"
188
- }
189
- },
190
- {
191
- "color": "error" as typeof color[number],
192
- "variant": "outline" as typeof variant[number],
193
- "class": {
194
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-error/50 data-[selected]:text-error data-today:not-data-[selected]:text-error data-[highlighted]:bg-error/10 hover:not-data-[selected]:bg-error/10"
195
- }
196
- },
197
- {
198
- "color": "primary" as typeof color[number],
199
- "variant": "soft" as typeof variant[number],
200
- "class": {
201
- "cellTrigger": "data-[selected]:bg-primary/10 data-[selected]:text-primary data-today:not-data-[selected]:text-primary data-[highlighted]:bg-primary/20 hover:not-data-[selected]:bg-primary/20"
202
- }
203
- },
204
- {
205
- "color": "secondary" as typeof color[number],
206
- "variant": "soft" as typeof variant[number],
207
- "class": {
208
- "cellTrigger": "data-[selected]:bg-secondary/10 data-[selected]:text-secondary data-today:not-data-[selected]:text-secondary data-[highlighted]:bg-secondary/20 hover:not-data-[selected]:bg-secondary/20"
209
- }
210
- },
211
- {
212
- "color": "success" as typeof color[number],
213
- "variant": "soft" as typeof variant[number],
214
- "class": {
215
- "cellTrigger": "data-[selected]:bg-success/10 data-[selected]:text-success data-today:not-data-[selected]:text-success data-[highlighted]:bg-success/20 hover:not-data-[selected]:bg-success/20"
216
- }
217
- },
218
- {
219
- "color": "info" as typeof color[number],
220
- "variant": "soft" as typeof variant[number],
221
- "class": {
222
- "cellTrigger": "data-[selected]:bg-info/10 data-[selected]:text-info data-today:not-data-[selected]:text-info data-[highlighted]:bg-info/20 hover:not-data-[selected]:bg-info/20"
223
- }
224
- },
225
- {
226
- "color": "warning" as typeof color[number],
227
- "variant": "soft" as typeof variant[number],
228
- "class": {
229
- "cellTrigger": "data-[selected]:bg-warning/10 data-[selected]:text-warning data-today:not-data-[selected]:text-warning data-[highlighted]:bg-warning/20 hover:not-data-[selected]:bg-warning/20"
230
- }
231
- },
232
- {
233
- "color": "error" as typeof color[number],
234
- "variant": "soft" as typeof variant[number],
235
- "class": {
236
- "cellTrigger": "data-[selected]:bg-error/10 data-[selected]:text-error data-today:not-data-[selected]:text-error data-[highlighted]:bg-error/20 hover:not-data-[selected]:bg-error/20"
237
- }
238
- },
239
- {
240
- "color": "primary" as typeof color[number],
241
- "variant": "subtle" as typeof variant[number],
242
- "class": {
243
- "cellTrigger": "data-[selected]:bg-primary/10 data-[selected]:text-primary data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-primary/25 data-today:not-data-[selected]:text-primary data-[highlighted]:bg-primary/20 hover:not-data-[selected]:bg-primary/20"
244
- }
245
- },
246
- {
247
- "color": "secondary" as typeof color[number],
248
- "variant": "subtle" as typeof variant[number],
249
- "class": {
250
- "cellTrigger": "data-[selected]:bg-secondary/10 data-[selected]:text-secondary data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-secondary/25 data-today:not-data-[selected]:text-secondary data-[highlighted]:bg-secondary/20 hover:not-data-[selected]:bg-secondary/20"
251
- }
252
- },
253
- {
254
- "color": "success" as typeof color[number],
255
- "variant": "subtle" as typeof variant[number],
256
- "class": {
257
- "cellTrigger": "data-[selected]:bg-success/10 data-[selected]:text-success data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-success/25 data-today:not-data-[selected]:text-success data-[highlighted]:bg-success/20 hover:not-data-[selected]:bg-success/20"
258
- }
259
- },
260
- {
261
- "color": "info" as typeof color[number],
262
- "variant": "subtle" as typeof variant[number],
263
- "class": {
264
- "cellTrigger": "data-[selected]:bg-info/10 data-[selected]:text-info data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-info/25 data-today:not-data-[selected]:text-info data-[highlighted]:bg-info/20 hover:not-data-[selected]:bg-info/20"
265
- }
266
- },
267
- {
268
- "color": "warning" as typeof color[number],
269
- "variant": "subtle" as typeof variant[number],
270
- "class": {
271
- "cellTrigger": "data-[selected]:bg-warning/10 data-[selected]:text-warning data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-warning/25 data-today:not-data-[selected]:text-warning data-[highlighted]:bg-warning/20 hover:not-data-[selected]:bg-warning/20"
272
- }
273
- },
274
- {
275
- "color": "error" as typeof color[number],
276
- "variant": "subtle" as typeof variant[number],
277
- "class": {
278
- "cellTrigger": "data-[selected]:bg-error/10 data-[selected]:text-error data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-error/25 data-today:not-data-[selected]:text-error data-[highlighted]:bg-error/20 hover:not-data-[selected]:bg-error/20"
279
- }
280
- },
281
- {
282
- "color": "neutral" as typeof color[number],
283
- "variant": "solid" as typeof variant[number],
284
- "class": {
285
- "cellTrigger": "data-[selected]:bg-inverted data-[selected]:text-inverted data-today:not-data-[selected]:text-highlighted data-[highlighted]:bg-inverted/20 hover:not-data-[selected]:bg-inverted/10"
286
- }
287
- },
288
- {
289
- "color": "neutral" as typeof color[number],
290
- "variant": "outline" as typeof variant[number],
291
- "class": {
292
- "cellTrigger": "data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-accented data-[selected]:text-default data-[selected]:bg-default data-today:not-data-[selected]:text-highlighted data-[highlighted]:bg-inverted/10 hover:not-data-[selected]:bg-inverted/10"
293
- }
294
- },
295
- {
296
- "color": "neutral" as typeof color[number],
297
- "variant": "soft" as typeof variant[number],
298
- "class": {
299
- "cellTrigger": "data-[selected]:bg-elevated data-[selected]:text-default data-today:not-data-[selected]:text-highlighted data-[highlighted]:bg-inverted/20 hover:not-data-[selected]:bg-inverted/10"
300
- }
301
- },
302
- {
303
- "color": "neutral" as typeof color[number],
304
- "variant": "subtle" as typeof variant[number],
305
- "class": {
306
- "cellTrigger": "data-[selected]:bg-elevated data-[selected]:text-default data-[selected]:ring data-[selected]:ring-inset data-[selected]:ring-accented data-today:not-data-[selected]:text-highlighted data-[highlighted]:bg-inverted/20 hover:not-data-[selected]:bg-inverted/10"
307
- }
308
- }
309
- ],
310
- "defaultVariants": {
311
- "size": "md" as typeof size[number],
312
- "color": "primary" as typeof color[number],
313
- "variant": "solid" as typeof variant[number]
314
- }
315
- }
package/.nuxt/ui/card.ts DELETED
@@ -1,34 +0,0 @@
1
- const variant = [
2
- "solid",
3
- "outline",
4
- "soft",
5
- "subtle"
6
- ] as const
7
-
8
- export default {
9
- "slots": {
10
- "root": "rounded-lg overflow-hidden",
11
- "header": "p-4 sm:px-6",
12
- "body": "p-4 sm:p-6",
13
- "footer": "p-4 sm:px-6"
14
- },
15
- "variants": {
16
- "variant": {
17
- "solid": {
18
- "root": "bg-inverted text-inverted"
19
- },
20
- "outline": {
21
- "root": "bg-default ring ring-default divide-y divide-default"
22
- },
23
- "soft": {
24
- "root": "bg-elevated/50 divide-y divide-default"
25
- },
26
- "subtle": {
27
- "root": "bg-elevated/50 ring ring-default divide-y divide-default"
28
- }
29
- }
30
- },
31
- "defaultVariants": {
32
- "variant": "outline" as typeof variant[number]
33
- }
34
- }
@@ -1,38 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative focus:outline-none",
4
- "viewport": "overflow-hidden",
5
- "container": "flex items-start",
6
- "item": "min-w-0 shrink-0 basis-full",
7
- "controls": "",
8
- "arrows": "",
9
- "prev": "absolute rounded-full",
10
- "next": "absolute rounded-full",
11
- "dots": "absolute inset-x-0 -bottom-7 flex flex-wrap items-center justify-center gap-3",
12
- "dot": [
13
- "cursor-pointer size-3 bg-accented rounded-full focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",
14
- "transition"
15
- ]
16
- },
17
- "variants": {
18
- "orientation": {
19
- "vertical": {
20
- "container": "flex-col -mt-4",
21
- "item": "pt-4",
22
- "prev": "top-4 sm:-top-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90",
23
- "next": "bottom-4 sm:-bottom-12 left-1/2 -translate-x-1/2 rotate-90 rtl:-rotate-90"
24
- },
25
- "horizontal": {
26
- "container": "flex-row -ms-4",
27
- "item": "ps-4",
28
- "prev": "start-4 sm:-start-12 top-1/2 -translate-y-1/2",
29
- "next": "end-4 sm:-end-12 top-1/2 -translate-y-1/2"
30
- }
31
- },
32
- "active": {
33
- "true": {
34
- "dot": "data-[state=active]:bg-inverted"
35
- }
36
- }
37
- }
38
- }
@@ -1,45 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative",
4
- "container": "flex flex-col mx-auto max-w-2xl",
5
- "header": "",
6
- "meta": "flex items-center gap-3 mb-2",
7
- "date": "text-sm/6 text-toned truncate",
8
- "badge": "",
9
- "title": "relative text-xl text-pretty font-semibold text-highlighted",
10
- "description": "text-base text-pretty text-muted mt-1",
11
- "imageWrapper": "relative overflow-hidden rounded-lg aspect-[16/9] mt-5 group/changelog-version-image",
12
- "image": "object-cover object-top w-full h-full",
13
- "authors": "flex flex-wrap gap-x-4 gap-y-1.5",
14
- "footer": "border-t border-default pt-5 flex items-center justify-between",
15
- "indicator": "absolute start-0 top-0 w-32 hidden lg:flex items-center justify-end gap-3 min-w-0",
16
- "dot": "size-4 rounded-full bg-default ring ring-default flex items-center justify-center my-1",
17
- "dotInner": "size-2 rounded-full bg-primary"
18
- },
19
- "variants": {
20
- "body": {
21
- "false": {
22
- "footer": "mt-5"
23
- }
24
- },
25
- "badge": {
26
- "false": {
27
- "meta": "lg:hidden"
28
- }
29
- },
30
- "to": {
31
- "true": {
32
- "title": [
33
- "has-focus-visible:ring-2 has-focus-visible:ring-primary rounded-xs",
34
- "transition"
35
- ],
36
- "image": "transform transition-transform duration-200 group-hover/changelog-version-image:scale-105 group-has-focus-visible/changelog-version-image:scale-105"
37
- }
38
- },
39
- "hidden": {
40
- "true": {
41
- "date": "lg:hidden"
42
- }
43
- }
44
- }
45
- }
@@ -1,8 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative",
4
- "container": "flex flex-col gap-y-8 sm:gap-y-12 lg:gap-y-16",
5
- "indicator": "absolute hidden lg:block overflow-hidden inset-y-3 start-32 h-full w-px bg-border -ms-[8.5px]",
6
- "beam": "absolute start-0 top-0 w-full bg-primary will-change-[height]"
7
- }
8
- }
@@ -1,136 +0,0 @@
1
- const variant = [
2
- "solid",
3
- "outline",
4
- "soft",
5
- "subtle",
6
- "naked"
7
- ] as const
8
-
9
- const side = [
10
- "left",
11
- "right"
12
- ] as const
13
-
14
- export default {
15
- "slots": {
16
- "root": "group/message relative w-full",
17
- "container": "relative flex items-start",
18
- "leading": "inline-flex items-center justify-center min-h-6",
19
- "leadingIcon": "shrink-0",
20
- "leadingAvatar": "shrink-0",
21
- "leadingAvatarSize": "",
22
- "content": "relative text-pretty min-w-0 *:first:mt-0 *:last:mb-0",
23
- "actions": [
24
- "opacity-0 group-hover/message:opacity-100 absolute bottom-0 flex items-center",
25
- "transition-opacity"
26
- ]
27
- },
28
- "variants": {
29
- "variant": {
30
- "solid": {
31
- "content": "bg-inverted text-inverted"
32
- },
33
- "outline": {
34
- "content": "bg-default ring ring-default"
35
- },
36
- "soft": {
37
- "content": "bg-elevated/50"
38
- },
39
- "subtle": {
40
- "content": "bg-elevated/50 ring ring-default"
41
- },
42
- "naked": {
43
- "content": ""
44
- }
45
- },
46
- "side": {
47
- "left": {
48
- "container": "rtl:justify-end"
49
- },
50
- "right": {
51
- "container": "ltr:justify-end ms-auto max-w-[75%]"
52
- }
53
- },
54
- "leading": {
55
- "true": ""
56
- },
57
- "actions": {
58
- "true": ""
59
- },
60
- "compact": {
61
- "true": {
62
- "root": "scroll-mt-3",
63
- "container": "gap-1.5 pb-3",
64
- "leadingIcon": "size-5",
65
- "leadingAvatarSize": "2xs"
66
- },
67
- "false": {
68
- "root": "scroll-mt-4 sm:scroll-mt-6",
69
- "container": "gap-3 pb-8",
70
- "leadingIcon": "size-8",
71
- "leadingAvatarSize": "md"
72
- }
73
- }
74
- },
75
- "compoundVariants": [
76
- {
77
- "compact": true,
78
- "actions": true,
79
- "class": {
80
- "container": "pb-8"
81
- }
82
- },
83
- {
84
- "leading": true,
85
- "compact": false,
86
- "side": "left" as typeof side[number],
87
- "class": {
88
- "actions": "left-11"
89
- }
90
- },
91
- {
92
- "leading": true,
93
- "compact": true,
94
- "side": "left" as typeof side[number],
95
- "class": {
96
- "actions": "left-6.5"
97
- }
98
- },
99
- {
100
- "variant": [
101
- "solid" as typeof variant[number],
102
- "outline" as typeof variant[number],
103
- "soft" as typeof variant[number],
104
- "subtle" as typeof variant[number]
105
- ],
106
- "compact": false,
107
- "class": {
108
- "content": "px-4 py-3 rounded-lg min-h-12",
109
- "leading": "mt-2"
110
- }
111
- },
112
- {
113
- "variant": [
114
- "solid" as typeof variant[number],
115
- "outline" as typeof variant[number],
116
- "soft" as typeof variant[number],
117
- "subtle" as typeof variant[number]
118
- ],
119
- "compact": true,
120
- "class": {
121
- "content": "px-2 py-1 rounded-lg min-h-8",
122
- "leading": "mt-1"
123
- }
124
- },
125
- {
126
- "variant": "naked" as typeof variant[number],
127
- "side": "left" as typeof side[number],
128
- "class": {
129
- "content": "w-full"
130
- }
131
- }
132
- ],
133
- "defaultVariants": {
134
- "variant": "naked" as typeof variant[number]
135
- }
136
- }
@@ -1,14 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "w-full flex flex-col gap-1 flex-1 px-2.5 [&>article]:last-of-type:min-h-(--last-message-height)",
4
- "indicator": "h-6 flex items-center gap-1 py-3 *:size-2 *:rounded-full *:bg-elevated [&>*:nth-child(1)]:animate-[bounce_1s_infinite] [&>*:nth-child(2)]:animate-[bounce_1s_0.15s_infinite] [&>*:nth-child(3)]:animate-[bounce_1s_0.3s_infinite]",
5
- "viewport": "absolute inset-x-0 top-[86%] data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
6
- "autoScroll": "rounded-full absolute right-1/2 translate-x-1/2 bottom-0"
7
- },
8
- "variants": {
9
- "compact": {
10
- "true": "",
11
- "false": ""
12
- }
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "relative flex-1 flex flex-col min-h-0 min-w-0",
4
- "prompt": "px-0 rounded-t-none border-t border-default",
5
- "close": "",
6
- "content": "overflow-y-auto flex-1 flex flex-col py-3"
7
- }
8
- }
@@ -1,5 +0,0 @@
1
- export default {
2
- "slots": {
3
- "base": ""
4
- }
5
- }
@@ -1,35 +0,0 @@
1
- const variant = [
2
- "outline",
3
- "soft",
4
- "subtle",
5
- "naked"
6
- ] as const
7
-
8
- export default {
9
- "slots": {
10
- "root": "relative flex flex-col items-stretch gap-2 px-2.5 py-2 w-full rounded-lg backdrop-blur",
11
- "header": "flex items-center gap-1.5",
12
- "body": "items-start",
13
- "footer": "flex items-center justify-between gap-1.5",
14
- "base": "text-base/5"
15
- },
16
- "variants": {
17
- "variant": {
18
- "outline": {
19
- "root": "bg-default/75 ring ring-default"
20
- },
21
- "soft": {
22
- "root": "bg-elevated/50"
23
- },
24
- "subtle": {
25
- "root": "bg-elevated/50 ring ring-default"
26
- },
27
- "naked": {
28
- "root": ""
29
- }
30
- }
31
- },
32
- "defaultVariants": {
33
- "variant": "outline" as typeof variant[number]
34
- }
35
- }