@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,321 +0,0 @@
1
- const orientation = [
2
- "horizontal",
3
- "vertical"
4
- ] as const
5
-
6
- const color = [
7
- "primary",
8
- "secondary",
9
- "success",
10
- "info",
11
- "warning",
12
- "error",
13
- "neutral"
14
- ] as const
15
-
16
- const size = [
17
- "3xs",
18
- "2xs",
19
- "xs",
20
- "sm",
21
- "md",
22
- "lg",
23
- "xl",
24
- "2xl",
25
- "3xl"
26
- ] as const
27
-
28
- export default {
29
- "slots": {
30
- "root": "flex gap-1.5",
31
- "item": "group relative flex flex-1 gap-3",
32
- "container": "relative flex items-center gap-1.5",
33
- "indicator": "group-data-[state=completed]:text-inverted group-data-[state=active]:text-inverted text-muted",
34
- "separator": "flex-1 rounded-full bg-elevated",
35
- "wrapper": "w-full",
36
- "date": "text-dimmed text-xs/5",
37
- "title": "font-medium text-highlighted text-sm",
38
- "description": "text-muted text-wrap text-sm"
39
- },
40
- "variants": {
41
- "orientation": {
42
- "horizontal": {
43
- "root": "flex-row w-full",
44
- "item": "flex-col",
45
- "separator": "h-0.5"
46
- },
47
- "vertical": {
48
- "root": "flex-col",
49
- "container": "flex-col",
50
- "separator": "w-0.5"
51
- }
52
- },
53
- "color": {
54
- "primary": {
55
- "indicator": "group-data-[state=completed]:bg-primary group-data-[state=active]:bg-primary"
56
- },
57
- "secondary": {
58
- "indicator": "group-data-[state=completed]:bg-secondary group-data-[state=active]:bg-secondary"
59
- },
60
- "success": {
61
- "indicator": "group-data-[state=completed]:bg-success group-data-[state=active]:bg-success"
62
- },
63
- "info": {
64
- "indicator": "group-data-[state=completed]:bg-info group-data-[state=active]:bg-info"
65
- },
66
- "warning": {
67
- "indicator": "group-data-[state=completed]:bg-warning group-data-[state=active]:bg-warning"
68
- },
69
- "error": {
70
- "indicator": "group-data-[state=completed]:bg-error group-data-[state=active]:bg-error"
71
- },
72
- "neutral": {
73
- "indicator": "group-data-[state=completed]:bg-inverted group-data-[state=active]:bg-inverted"
74
- }
75
- },
76
- "size": {
77
- "3xs": "",
78
- "2xs": "",
79
- "xs": "",
80
- "sm": "",
81
- "md": "",
82
- "lg": "",
83
- "xl": "",
84
- "2xl": "",
85
- "3xl": ""
86
- },
87
- "reverse": {
88
- "true": ""
89
- }
90
- },
91
- "compoundVariants": [
92
- {
93
- "color": "primary" as typeof color[number],
94
- "reverse": false,
95
- "class": {
96
- "separator": "group-data-[state=completed]:bg-primary"
97
- }
98
- },
99
- {
100
- "color": "secondary" as typeof color[number],
101
- "reverse": false,
102
- "class": {
103
- "separator": "group-data-[state=completed]:bg-secondary"
104
- }
105
- },
106
- {
107
- "color": "success" as typeof color[number],
108
- "reverse": false,
109
- "class": {
110
- "separator": "group-data-[state=completed]:bg-success"
111
- }
112
- },
113
- {
114
- "color": "info" as typeof color[number],
115
- "reverse": false,
116
- "class": {
117
- "separator": "group-data-[state=completed]:bg-info"
118
- }
119
- },
120
- {
121
- "color": "warning" as typeof color[number],
122
- "reverse": false,
123
- "class": {
124
- "separator": "group-data-[state=completed]:bg-warning"
125
- }
126
- },
127
- {
128
- "color": "error" as typeof color[number],
129
- "reverse": false,
130
- "class": {
131
- "separator": "group-data-[state=completed]:bg-error"
132
- }
133
- },
134
- {
135
- "color": "primary" as typeof color[number],
136
- "reverse": true,
137
- "class": {
138
- "separator": "group-data-[state=active]:bg-primary group-data-[state=completed]:bg-primary"
139
- }
140
- },
141
- {
142
- "color": "secondary" as typeof color[number],
143
- "reverse": true,
144
- "class": {
145
- "separator": "group-data-[state=active]:bg-secondary group-data-[state=completed]:bg-secondary"
146
- }
147
- },
148
- {
149
- "color": "success" as typeof color[number],
150
- "reverse": true,
151
- "class": {
152
- "separator": "group-data-[state=active]:bg-success group-data-[state=completed]:bg-success"
153
- }
154
- },
155
- {
156
- "color": "info" as typeof color[number],
157
- "reverse": true,
158
- "class": {
159
- "separator": "group-data-[state=active]:bg-info group-data-[state=completed]:bg-info"
160
- }
161
- },
162
- {
163
- "color": "warning" as typeof color[number],
164
- "reverse": true,
165
- "class": {
166
- "separator": "group-data-[state=active]:bg-warning group-data-[state=completed]:bg-warning"
167
- }
168
- },
169
- {
170
- "color": "error" as typeof color[number],
171
- "reverse": true,
172
- "class": {
173
- "separator": "group-data-[state=active]:bg-error group-data-[state=completed]:bg-error"
174
- }
175
- },
176
- {
177
- "color": "neutral" as typeof color[number],
178
- "reverse": false,
179
- "class": {
180
- "separator": "group-data-[state=completed]:bg-inverted"
181
- }
182
- },
183
- {
184
- "color": "neutral" as typeof color[number],
185
- "reverse": true,
186
- "class": {
187
- "separator": "group-data-[state=active]:bg-inverted group-data-[state=completed]:bg-inverted"
188
- }
189
- },
190
- {
191
- "orientation": "horizontal" as typeof orientation[number],
192
- "size": "3xs" as typeof size[number],
193
- "class": {
194
- "wrapper": "pe-4.5"
195
- }
196
- },
197
- {
198
- "orientation": "horizontal" as typeof orientation[number],
199
- "size": "2xs" as typeof size[number],
200
- "class": {
201
- "wrapper": "pe-5"
202
- }
203
- },
204
- {
205
- "orientation": "horizontal" as typeof orientation[number],
206
- "size": "xs" as typeof size[number],
207
- "class": {
208
- "wrapper": "pe-5.5"
209
- }
210
- },
211
- {
212
- "orientation": "horizontal" as typeof orientation[number],
213
- "size": "sm" as typeof size[number],
214
- "class": {
215
- "wrapper": "pe-6"
216
- }
217
- },
218
- {
219
- "orientation": "horizontal" as typeof orientation[number],
220
- "size": "md" as typeof size[number],
221
- "class": {
222
- "wrapper": "pe-6.5"
223
- }
224
- },
225
- {
226
- "orientation": "horizontal" as typeof orientation[number],
227
- "size": "lg" as typeof size[number],
228
- "class": {
229
- "wrapper": "pe-7"
230
- }
231
- },
232
- {
233
- "orientation": "horizontal" as typeof orientation[number],
234
- "size": "xl" as typeof size[number],
235
- "class": {
236
- "wrapper": "pe-7.5"
237
- }
238
- },
239
- {
240
- "orientation": "horizontal" as typeof orientation[number],
241
- "size": "2xl" as typeof size[number],
242
- "class": {
243
- "wrapper": "pe-8"
244
- }
245
- },
246
- {
247
- "orientation": "horizontal" as typeof orientation[number],
248
- "size": "3xl" as typeof size[number],
249
- "class": {
250
- "wrapper": "pe-8.5"
251
- }
252
- },
253
- {
254
- "orientation": "vertical" as typeof orientation[number],
255
- "size": "3xs" as typeof size[number],
256
- "class": {
257
- "wrapper": "-mt-0.5 pb-4.5"
258
- }
259
- },
260
- {
261
- "orientation": "vertical" as typeof orientation[number],
262
- "size": "2xs" as typeof size[number],
263
- "class": {
264
- "wrapper": "pb-5"
265
- }
266
- },
267
- {
268
- "orientation": "vertical" as typeof orientation[number],
269
- "size": "xs" as typeof size[number],
270
- "class": {
271
- "wrapper": "mt-0.5 pb-5.5"
272
- }
273
- },
274
- {
275
- "orientation": "vertical" as typeof orientation[number],
276
- "size": "sm" as typeof size[number],
277
- "class": {
278
- "wrapper": "mt-1 pb-6"
279
- }
280
- },
281
- {
282
- "orientation": "vertical" as typeof orientation[number],
283
- "size": "md" as typeof size[number],
284
- "class": {
285
- "wrapper": "mt-1.5 pb-6.5"
286
- }
287
- },
288
- {
289
- "orientation": "vertical" as typeof orientation[number],
290
- "size": "lg" as typeof size[number],
291
- "class": {
292
- "wrapper": "mt-2 pb-7"
293
- }
294
- },
295
- {
296
- "orientation": "vertical" as typeof orientation[number],
297
- "size": "xl" as typeof size[number],
298
- "class": {
299
- "wrapper": "mt-2.5 pb-7.5"
300
- }
301
- },
302
- {
303
- "orientation": "vertical" as typeof orientation[number],
304
- "size": "2xl" as typeof size[number],
305
- "class": {
306
- "wrapper": "mt-3 pb-8"
307
- }
308
- },
309
- {
310
- "orientation": "vertical" as typeof orientation[number],
311
- "size": "3xl" as typeof size[number],
312
- "class": {
313
- "wrapper": "mt-3.5 pb-8.5"
314
- }
315
- }
316
- ],
317
- "defaultVariants": {
318
- "size": "md" as typeof size[number],
319
- "color": "primary" as typeof color[number]
320
- }
321
- }
package/.nuxt/ui/toast.ts DELETED
@@ -1,74 +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": "relative group overflow-hidden bg-default shadow-lg rounded-lg ring ring-default p-4 flex gap-2.5 focus:outline-none",
14
- "wrapper": "w-0 flex-1 flex flex-col",
15
- "title": "text-sm font-medium text-highlighted",
16
- "description": "text-sm text-muted",
17
- "icon": "shrink-0 size-5",
18
- "avatar": "shrink-0",
19
- "avatarSize": "2xl",
20
- "actions": "flex gap-1.5 shrink-0",
21
- "progress": "absolute inset-x-0 bottom-0",
22
- "close": "p-0"
23
- },
24
- "variants": {
25
- "color": {
26
- "primary": {
27
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary",
28
- "icon": "text-primary"
29
- },
30
- "secondary": {
31
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary",
32
- "icon": "text-secondary"
33
- },
34
- "success": {
35
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success",
36
- "icon": "text-success"
37
- },
38
- "info": {
39
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info",
40
- "icon": "text-info"
41
- },
42
- "warning": {
43
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning",
44
- "icon": "text-warning"
45
- },
46
- "error": {
47
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error",
48
- "icon": "text-error"
49
- },
50
- "neutral": {
51
- "root": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted",
52
- "icon": "text-highlighted"
53
- }
54
- },
55
- "orientation": {
56
- "horizontal": {
57
- "root": "items-center",
58
- "actions": "items-center"
59
- },
60
- "vertical": {
61
- "root": "items-start",
62
- "actions": "items-start mt-2.5"
63
- }
64
- },
65
- "title": {
66
- "true": {
67
- "description": "mt-1"
68
- }
69
- }
70
- },
71
- "defaultVariants": {
72
- "color": "primary" as typeof color[number]
73
- }
74
- }
@@ -1,91 +0,0 @@
1
- const position = [
2
- "top-left",
3
- "top-center",
4
- "top-right",
5
- "bottom-left",
6
- "bottom-center",
7
- "bottom-right"
8
- ] as const
9
-
10
- const swipeDirection = [
11
- "up",
12
- "right",
13
- "down",
14
- "left"
15
- ] as const
16
-
17
- export default {
18
- "slots": {
19
- "viewport": "fixed flex flex-col w-[calc(100%-2rem)] sm:w-96 z-[100] data-[expanded=true]:h-(--height) focus:outline-none",
20
- "base": "pointer-events-auto absolute inset-x-0 z-(--index) transform-(--transform) data-[expanded=false]:data-[front=false]:h-(--front-height) data-[expanded=false]:data-[front=false]:*:opacity-0 data-[front=false]:*:transition-opacity data-[front=false]:*:duration-100 data-[state=closed]:animate-[toast-closed_200ms_ease-in-out] data-[state=closed]:data-[expanded=false]:data-[front=false]:animate-[toast-collapsed-closed_200ms_ease-in-out] data-[swipe=move]:transition-none transition-[transform,translate,height] duration-200 ease-out"
21
- },
22
- "variants": {
23
- "position": {
24
- "top-left": {
25
- "viewport": "left-4"
26
- },
27
- "top-center": {
28
- "viewport": "left-1/2 transform -translate-x-1/2"
29
- },
30
- "top-right": {
31
- "viewport": "right-4"
32
- },
33
- "bottom-left": {
34
- "viewport": "left-4"
35
- },
36
- "bottom-center": {
37
- "viewport": "left-1/2 transform -translate-x-1/2"
38
- },
39
- "bottom-right": {
40
- "viewport": "right-4"
41
- }
42
- },
43
- "swipeDirection": {
44
- "up": "data-[swipe=end]:animate-[toast-slide-up_200ms_ease-out]",
45
- "right": "data-[swipe=end]:animate-[toast-slide-right_200ms_ease-out]",
46
- "down": "data-[swipe=end]:animate-[toast-slide-down_200ms_ease-out]",
47
- "left": "data-[swipe=end]:animate-[toast-slide-left_200ms_ease-out]"
48
- }
49
- },
50
- "compoundVariants": [
51
- {
52
- "position": [
53
- "top-left" as typeof position[number],
54
- "top-center" as typeof position[number],
55
- "top-right" as typeof position[number]
56
- ],
57
- "class": {
58
- "viewport": "top-4",
59
- "base": "top-0 data-[state=open]:animate-[slide-in-from-top_200ms_ease-in-out]"
60
- }
61
- },
62
- {
63
- "position": [
64
- "bottom-left" as typeof position[number],
65
- "bottom-center" as typeof position[number],
66
- "bottom-right" as typeof position[number]
67
- ],
68
- "class": {
69
- "viewport": "bottom-4",
70
- "base": "bottom-0 data-[state=open]:animate-[slide-in-from-bottom_200ms_ease-in-out]"
71
- }
72
- },
73
- {
74
- "swipeDirection": [
75
- "left" as typeof swipeDirection[number],
76
- "right" as typeof swipeDirection[number]
77
- ],
78
- "class": "data-[swipe=move]:translate-x-(--reka-toast-swipe-move-x) data-[swipe=end]:translate-x-(--reka-toast-swipe-end-x) data-[swipe=cancel]:translate-x-0"
79
- },
80
- {
81
- "swipeDirection": [
82
- "up" as typeof swipeDirection[number],
83
- "down" as typeof swipeDirection[number]
84
- ],
85
- "class": "data-[swipe=move]:translate-y-(--reka-toast-swipe-move-y) data-[swipe=end]:translate-y-(--reka-toast-swipe-end-y) data-[swipe=cancel]:translate-y-0"
86
- }
87
- ],
88
- "defaultVariants": {
89
- "position": "bottom-right" as typeof position[number]
90
- }
91
- }
@@ -1,9 +0,0 @@
1
- export default {
2
- "slots": {
3
- "content": "flex items-center gap-1 bg-default text-highlighted shadow-sm rounded-sm ring ring-default h-6 px-2.5 py-1 text-xs select-none data-[state=delayed-open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-tooltip-content-transform-origin) pointer-events-auto",
4
- "arrow": "fill-default",
5
- "text": "truncate",
6
- "kbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5 not-first-of-type:before:content-['·'] not-first-of-type:before:me-0.5",
7
- "kbdsSize": "sm"
8
- }
9
- }
package/.nuxt/ui/tree.ts DELETED
@@ -1,168 +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 size = [
12
- "xs",
13
- "sm",
14
- "md",
15
- "lg",
16
- "xl"
17
- ] as const
18
-
19
- export default {
20
- "slots": {
21
- "root": "relative isolate",
22
- "item": "w-full",
23
- "listWithChildren": "border-s border-default",
24
- "itemWithChildren": "ps-1.5 -ms-px",
25
- "link": "relative group w-full flex items-center text-sm select-none before:absolute before:inset-y-px before:inset-x-0 before:z-[-1] before:rounded-md focus:outline-none focus-visible:outline-none focus-visible:before:ring-inset focus-visible:before:ring-2",
26
- "linkLeadingIcon": "shrink-0 relative",
27
- "linkLabel": "truncate",
28
- "linkTrailing": "ms-auto inline-flex gap-1.5 items-center",
29
- "linkTrailingIcon": "shrink-0 transform transition-transform duration-200 group-data-expanded:rotate-180"
30
- },
31
- "variants": {
32
- "virtualize": {
33
- "true": {
34
- "root": "overflow-y-auto"
35
- }
36
- },
37
- "color": {
38
- "primary": {
39
- "link": "focus-visible:before:ring-primary"
40
- },
41
- "secondary": {
42
- "link": "focus-visible:before:ring-secondary"
43
- },
44
- "success": {
45
- "link": "focus-visible:before:ring-success"
46
- },
47
- "info": {
48
- "link": "focus-visible:before:ring-info"
49
- },
50
- "warning": {
51
- "link": "focus-visible:before:ring-warning"
52
- },
53
- "error": {
54
- "link": "focus-visible:before:ring-error"
55
- },
56
- "neutral": {
57
- "link": "focus-visible:before:ring-inverted"
58
- }
59
- },
60
- "size": {
61
- "xs": {
62
- "listWithChildren": "ms-4",
63
- "link": "px-2 py-1 text-xs gap-1",
64
- "linkLeadingIcon": "size-4",
65
- "linkTrailingIcon": "size-4"
66
- },
67
- "sm": {
68
- "listWithChildren": "ms-4.5",
69
- "link": "px-2.5 py-1.5 text-xs gap-1.5",
70
- "linkLeadingIcon": "size-4",
71
- "linkTrailingIcon": "size-4"
72
- },
73
- "md": {
74
- "listWithChildren": "ms-5",
75
- "link": "px-2.5 py-1.5 text-sm gap-1.5",
76
- "linkLeadingIcon": "size-5",
77
- "linkTrailingIcon": "size-5"
78
- },
79
- "lg": {
80
- "listWithChildren": "ms-5.5",
81
- "link": "px-3 py-2 text-sm gap-2",
82
- "linkLeadingIcon": "size-5",
83
- "linkTrailingIcon": "size-5"
84
- },
85
- "xl": {
86
- "listWithChildren": "ms-6",
87
- "link": "px-3 py-2 text-base gap-2",
88
- "linkLeadingIcon": "size-6",
89
- "linkTrailingIcon": "size-6"
90
- }
91
- },
92
- "selected": {
93
- "true": {
94
- "link": "before:bg-elevated"
95
- }
96
- },
97
- "disabled": {
98
- "true": {
99
- "link": "cursor-not-allowed opacity-75"
100
- }
101
- }
102
- },
103
- "compoundVariants": [
104
- {
105
- "color": "primary" as typeof color[number],
106
- "selected": true,
107
- "class": {
108
- "link": "text-primary"
109
- }
110
- },
111
- {
112
- "color": "secondary" as typeof color[number],
113
- "selected": true,
114
- "class": {
115
- "link": "text-secondary"
116
- }
117
- },
118
- {
119
- "color": "success" as typeof color[number],
120
- "selected": true,
121
- "class": {
122
- "link": "text-success"
123
- }
124
- },
125
- {
126
- "color": "info" as typeof color[number],
127
- "selected": true,
128
- "class": {
129
- "link": "text-info"
130
- }
131
- },
132
- {
133
- "color": "warning" as typeof color[number],
134
- "selected": true,
135
- "class": {
136
- "link": "text-warning"
137
- }
138
- },
139
- {
140
- "color": "error" as typeof color[number],
141
- "selected": true,
142
- "class": {
143
- "link": "text-error"
144
- }
145
- },
146
- {
147
- "color": "neutral" as typeof color[number],
148
- "selected": true,
149
- "class": {
150
- "link": "text-highlighted"
151
- }
152
- },
153
- {
154
- "selected": false,
155
- "disabled": false,
156
- "class": {
157
- "link": [
158
- "hover:text-highlighted hover:before:bg-elevated/50",
159
- "transition-colors before:transition-colors"
160
- ]
161
- }
162
- }
163
- ],
164
- "defaultVariants": {
165
- "color": "primary" as typeof color[number],
166
- "size": "md" as typeof size[number]
167
- }
168
- }