@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,207 +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 variant = [
17
- "list",
18
- "card",
19
- "table"
20
- ] as const
21
-
22
- const size = [
23
- "xs",
24
- "sm",
25
- "md",
26
- "lg",
27
- "xl"
28
- ] as const
29
-
30
- export default {
31
- "slots": {
32
- "root": "relative",
33
- "fieldset": "flex gap-x-2",
34
- "legend": "mb-1 block font-medium text-default",
35
- "item": ""
36
- },
37
- "variants": {
38
- "orientation": {
39
- "horizontal": {
40
- "fieldset": "flex-row"
41
- },
42
- "vertical": {
43
- "fieldset": "flex-col"
44
- }
45
- },
46
- "color": {
47
- "primary": {},
48
- "secondary": {},
49
- "success": {},
50
- "info": {},
51
- "warning": {},
52
- "error": {},
53
- "neutral": {}
54
- },
55
- "variant": {
56
- "list": {},
57
- "card": {},
58
- "table": {
59
- "item": "border border-muted"
60
- }
61
- },
62
- "size": {
63
- "xs": {
64
- "fieldset": "gap-y-0.5",
65
- "legend": "text-xs"
66
- },
67
- "sm": {
68
- "fieldset": "gap-y-0.5",
69
- "legend": "text-xs"
70
- },
71
- "md": {
72
- "fieldset": "gap-y-1",
73
- "legend": "text-sm"
74
- },
75
- "lg": {
76
- "fieldset": "gap-y-1",
77
- "legend": "text-sm"
78
- },
79
- "xl": {
80
- "fieldset": "gap-y-1.5",
81
- "legend": "text-base"
82
- }
83
- },
84
- "required": {
85
- "true": {
86
- "legend": "after:content-['*'] after:ms-0.5 after:text-error"
87
- }
88
- },
89
- "disabled": {
90
- "true": {}
91
- }
92
- },
93
- "compoundVariants": [
94
- {
95
- "size": "xs" as typeof size[number],
96
- "variant": "table" as typeof variant[number],
97
- "class": {
98
- "item": "p-2.5"
99
- }
100
- },
101
- {
102
- "size": "sm" as typeof size[number],
103
- "variant": "table" as typeof variant[number],
104
- "class": {
105
- "item": "p-3"
106
- }
107
- },
108
- {
109
- "size": "md" as typeof size[number],
110
- "variant": "table" as typeof variant[number],
111
- "class": {
112
- "item": "p-3.5"
113
- }
114
- },
115
- {
116
- "size": "lg" as typeof size[number],
117
- "variant": "table" as typeof variant[number],
118
- "class": {
119
- "item": "p-4"
120
- }
121
- },
122
- {
123
- "size": "xl" as typeof size[number],
124
- "variant": "table" as typeof variant[number],
125
- "class": {
126
- "item": "p-4.5"
127
- }
128
- },
129
- {
130
- "orientation": "horizontal" as typeof orientation[number],
131
- "variant": "table" as typeof variant[number],
132
- "class": {
133
- "item": "first-of-type:rounded-s-lg last-of-type:rounded-e-lg",
134
- "fieldset": "gap-0 -space-x-px"
135
- }
136
- },
137
- {
138
- "orientation": "vertical" as typeof orientation[number],
139
- "variant": "table" as typeof variant[number],
140
- "class": {
141
- "item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
142
- "fieldset": "gap-0 -space-y-px"
143
- }
144
- },
145
- {
146
- "color": "primary" as typeof color[number],
147
- "variant": "table" as typeof variant[number],
148
- "class": {
149
- "item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
150
- }
151
- },
152
- {
153
- "color": "secondary" as typeof color[number],
154
- "variant": "table" as typeof variant[number],
155
- "class": {
156
- "item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
157
- }
158
- },
159
- {
160
- "color": "success" as typeof color[number],
161
- "variant": "table" as typeof variant[number],
162
- "class": {
163
- "item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
164
- }
165
- },
166
- {
167
- "color": "info" as typeof color[number],
168
- "variant": "table" as typeof variant[number],
169
- "class": {
170
- "item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
171
- }
172
- },
173
- {
174
- "color": "warning" as typeof color[number],
175
- "variant": "table" as typeof variant[number],
176
- "class": {
177
- "item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
178
- }
179
- },
180
- {
181
- "color": "error" as typeof color[number],
182
- "variant": "table" as typeof variant[number],
183
- "class": {
184
- "item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
185
- }
186
- },
187
- {
188
- "color": "neutral" as typeof color[number],
189
- "variant": "table" as typeof variant[number],
190
- "class": {
191
- "item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
192
- }
193
- },
194
- {
195
- "variant": "table" as typeof variant[number],
196
- "disabled": true,
197
- "class": {
198
- "item": "cursor-not-allowed"
199
- }
200
- }
201
- ],
202
- "defaultVariants": {
203
- "size": "md" as typeof size[number],
204
- "variant": "list" as typeof variant[number],
205
- "color": "primary" as typeof color[number]
206
- }
207
- }
@@ -1,237 +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
- "list",
13
- "card"
14
- ] as const
15
-
16
- const indicator = [
17
- "start",
18
- "end",
19
- "hidden"
20
- ] as const
21
-
22
- const size = [
23
- "xs",
24
- "sm",
25
- "md",
26
- "lg",
27
- "xl"
28
- ] as const
29
-
30
- export default {
31
- "slots": {
32
- "root": "relative flex items-start",
33
- "container": "flex items-center",
34
- "base": "rounded-sm ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
35
- "indicator": "flex items-center justify-center size-full text-inverted" as typeof indicator[number],
36
- "icon": "shrink-0 size-full",
37
- "wrapper": "w-full",
38
- "label": "block font-medium text-default",
39
- "description": "text-muted"
40
- },
41
- "variants": {
42
- "color": {
43
- "primary": {
44
- "base": "focus-visible:outline-primary",
45
- "indicator": "bg-primary" as typeof indicator[number]
46
- },
47
- "secondary": {
48
- "base": "focus-visible:outline-secondary",
49
- "indicator": "bg-secondary" as typeof indicator[number]
50
- },
51
- "success": {
52
- "base": "focus-visible:outline-success",
53
- "indicator": "bg-success" as typeof indicator[number]
54
- },
55
- "info": {
56
- "base": "focus-visible:outline-info",
57
- "indicator": "bg-info" as typeof indicator[number]
58
- },
59
- "warning": {
60
- "base": "focus-visible:outline-warning",
61
- "indicator": "bg-warning" as typeof indicator[number]
62
- },
63
- "error": {
64
- "base": "focus-visible:outline-error",
65
- "indicator": "bg-error" as typeof indicator[number]
66
- },
67
- "neutral": {
68
- "base": "focus-visible:outline-inverted",
69
- "indicator": "bg-inverted" as typeof indicator[number]
70
- }
71
- },
72
- "variant": {
73
- "list": {
74
- "root": ""
75
- },
76
- "card": {
77
- "root": "border border-muted rounded-lg"
78
- }
79
- },
80
- "indicator": {
81
- "start": {
82
- "root": "flex-row",
83
- "wrapper": "ms-2"
84
- },
85
- "end": {
86
- "root": "flex-row-reverse",
87
- "wrapper": "me-2"
88
- },
89
- "hidden": {
90
- "base": "sr-only",
91
- "wrapper": "text-center"
92
- }
93
- },
94
- "size": {
95
- "xs": {
96
- "base": "size-3",
97
- "container": "h-4",
98
- "wrapper": "text-xs"
99
- },
100
- "sm": {
101
- "base": "size-3.5",
102
- "container": "h-4",
103
- "wrapper": "text-xs"
104
- },
105
- "md": {
106
- "base": "size-4",
107
- "container": "h-5",
108
- "wrapper": "text-sm"
109
- },
110
- "lg": {
111
- "base": "size-4.5",
112
- "container": "h-5",
113
- "wrapper": "text-sm"
114
- },
115
- "xl": {
116
- "base": "size-5",
117
- "container": "h-6",
118
- "wrapper": "text-base"
119
- }
120
- },
121
- "required": {
122
- "true": {
123
- "label": "after:content-['*'] after:ms-0.5 after:text-error"
124
- }
125
- },
126
- "disabled": {
127
- "true": {
128
- "root": "opacity-75",
129
- "base": "cursor-not-allowed",
130
- "label": "cursor-not-allowed",
131
- "description": "cursor-not-allowed"
132
- }
133
- },
134
- "checked": {
135
- "true": ""
136
- }
137
- },
138
- "compoundVariants": [
139
- {
140
- "size": "xs" as typeof size[number],
141
- "variant": "card" as typeof variant[number],
142
- "class": {
143
- "root": "p-2.5"
144
- }
145
- },
146
- {
147
- "size": "sm" as typeof size[number],
148
- "variant": "card" as typeof variant[number],
149
- "class": {
150
- "root": "p-3"
151
- }
152
- },
153
- {
154
- "size": "md" as typeof size[number],
155
- "variant": "card" as typeof variant[number],
156
- "class": {
157
- "root": "p-3.5"
158
- }
159
- },
160
- {
161
- "size": "lg" as typeof size[number],
162
- "variant": "card" as typeof variant[number],
163
- "class": {
164
- "root": "p-4"
165
- }
166
- },
167
- {
168
- "size": "xl" as typeof size[number],
169
- "variant": "card" as typeof variant[number],
170
- "class": {
171
- "root": "p-4.5"
172
- }
173
- },
174
- {
175
- "color": "primary" as typeof color[number],
176
- "variant": "card" as typeof variant[number],
177
- "class": {
178
- "root": "has-data-[state=checked]:border-primary"
179
- }
180
- },
181
- {
182
- "color": "secondary" as typeof color[number],
183
- "variant": "card" as typeof variant[number],
184
- "class": {
185
- "root": "has-data-[state=checked]:border-secondary"
186
- }
187
- },
188
- {
189
- "color": "success" as typeof color[number],
190
- "variant": "card" as typeof variant[number],
191
- "class": {
192
- "root": "has-data-[state=checked]:border-success"
193
- }
194
- },
195
- {
196
- "color": "info" as typeof color[number],
197
- "variant": "card" as typeof variant[number],
198
- "class": {
199
- "root": "has-data-[state=checked]:border-info"
200
- }
201
- },
202
- {
203
- "color": "warning" as typeof color[number],
204
- "variant": "card" as typeof variant[number],
205
- "class": {
206
- "root": "has-data-[state=checked]:border-warning"
207
- }
208
- },
209
- {
210
- "color": "error" as typeof color[number],
211
- "variant": "card" as typeof variant[number],
212
- "class": {
213
- "root": "has-data-[state=checked]:border-error"
214
- }
215
- },
216
- {
217
- "color": "neutral" as typeof color[number],
218
- "variant": "card" as typeof variant[number],
219
- "class": {
220
- "root": "has-data-[state=checked]:border-inverted"
221
- }
222
- },
223
- {
224
- "variant": "card" as typeof variant[number],
225
- "disabled": true,
226
- "class": {
227
- "root": "cursor-not-allowed"
228
- }
229
- }
230
- ],
231
- "defaultVariants": {
232
- "size": "md" as typeof size[number],
233
- "color": "primary" as typeof color[number],
234
- "variant": "list" as typeof variant[number],
235
- "indicator": "start" as typeof indicator[number]
236
- }
237
- }
package/.nuxt/ui/chip.ts DELETED
@@ -1,96 +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
- "3xs",
13
- "2xs",
14
- "xs",
15
- "sm",
16
- "md",
17
- "lg",
18
- "xl",
19
- "2xl",
20
- "3xl"
21
- ] as const
22
-
23
- const position = [
24
- "top-right",
25
- "bottom-right",
26
- "top-left",
27
- "bottom-left"
28
- ] as const
29
-
30
- export default {
31
- "slots": {
32
- "root": "relative inline-flex items-center justify-center shrink-0",
33
- "base": "rounded-full ring ring-bg flex items-center justify-center text-inverted font-medium whitespace-nowrap"
34
- },
35
- "variants": {
36
- "color": {
37
- "primary": "bg-primary",
38
- "secondary": "bg-secondary",
39
- "success": "bg-success",
40
- "info": "bg-info",
41
- "warning": "bg-warning",
42
- "error": "bg-error",
43
- "neutral": "bg-inverted"
44
- },
45
- "size": {
46
- "3xs": "h-[4px] min-w-[4px] text-[4px]",
47
- "2xs": "h-[5px] min-w-[5px] text-[5px]",
48
- "xs": "h-[6px] min-w-[6px] text-[6px]",
49
- "sm": "h-[7px] min-w-[7px] text-[7px]",
50
- "md": "h-[8px] min-w-[8px] text-[8px]",
51
- "lg": "h-[9px] min-w-[9px] text-[9px]",
52
- "xl": "h-[10px] min-w-[10px] text-[10px]",
53
- "2xl": "h-[11px] min-w-[11px] text-[11px]",
54
- "3xl": "h-[12px] min-w-[12px] text-[12px]"
55
- },
56
- "position": {
57
- "top-right": "top-0 right-0",
58
- "bottom-right": "bottom-0 right-0",
59
- "top-left": "top-0 left-0",
60
- "bottom-left": "bottom-0 left-0"
61
- },
62
- "inset": {
63
- "false": ""
64
- },
65
- "standalone": {
66
- "false": "absolute"
67
- }
68
- },
69
- "compoundVariants": [
70
- {
71
- "position": "top-right" as typeof position[number],
72
- "inset": false,
73
- "class": "-translate-y-1/2 translate-x-1/2 transform"
74
- },
75
- {
76
- "position": "bottom-right" as typeof position[number],
77
- "inset": false,
78
- "class": "translate-y-1/2 translate-x-1/2 transform"
79
- },
80
- {
81
- "position": "top-left" as typeof position[number],
82
- "inset": false,
83
- "class": "-translate-y-1/2 -translate-x-1/2 transform"
84
- },
85
- {
86
- "position": "bottom-left" as typeof position[number],
87
- "inset": false,
88
- "class": "translate-y-1/2 -translate-x-1/2 transform"
89
- }
90
- ],
91
- "defaultVariants": {
92
- "size": "md" as typeof size[number],
93
- "color": "primary" as typeof color[number],
94
- "position": "top-right" as typeof position[number]
95
- }
96
- }
@@ -1,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "",
4
- "content": "data-[state=open]:animate-[collapsible-down_200ms_ease-out] data-[state=closed]:animate-[collapsible-up_200ms_ease-out] overflow-hidden"
5
- }
6
- }
@@ -1,47 +0,0 @@
1
- const size = [
2
- "xs",
3
- "sm",
4
- "md",
5
- "lg",
6
- "xl"
7
- ] as const
8
-
9
- export default {
10
- "slots": {
11
- "root": "data-[disabled]:opacity-75",
12
- "picker": "flex gap-4",
13
- "selector": "rounded-md touch-none",
14
- "selectorBackground": "w-full h-full relative rounded-md",
15
- "selectorThumb": "-translate-y-1/2 -translate-x-1/2 absolute size-4 ring-2 ring-white rounded-full cursor-pointer data-[disabled]:cursor-not-allowed",
16
- "track": "w-[8px] relative rounded-md touch-none",
17
- "trackThumb": "absolute transform -translate-y-1/2 -translate-x-[4px] rtl:translate-x-[4px] size-4 rounded-full ring-2 ring-white cursor-pointer data-[disabled]:cursor-not-allowed"
18
- },
19
- "variants": {
20
- "size": {
21
- "xs": {
22
- "selector": "w-38 h-38",
23
- "track": "h-38"
24
- },
25
- "sm": {
26
- "selector": "w-40 h-40",
27
- "track": "h-40"
28
- },
29
- "md": {
30
- "selector": "w-42 h-42",
31
- "track": "h-42"
32
- },
33
- "lg": {
34
- "selector": "w-44 h-44",
35
- "track": "h-44"
36
- },
37
- "xl": {
38
- "selector": "w-46 h-46",
39
- "track": "h-46"
40
- }
41
- }
42
- },
43
- "compoundVariants": [],
44
- "defaultVariants": {
45
- "size": "md" as typeof size[number]
46
- }
47
- }
@@ -1,62 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "flex flex-col min-h-0 min-w-0 divide-y divide-default",
4
- "input": "[&>input]:h-12",
5
- "close": "",
6
- "back": "p-0",
7
- "content": "relative overflow-hidden flex flex-col",
8
- "footer": "p-1",
9
- "viewport": "relative scroll-py-1 overflow-y-auto flex-1 focus:outline-none",
10
- "group": "p-1 isolate",
11
- "empty": "py-6 text-center text-sm text-muted",
12
- "label": "p-1.5 text-xs font-semibold text-highlighted",
13
- "item": "group relative w-full flex items-start gap-1.5 p-1.5 text-sm select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
14
- "itemLeadingIcon": "shrink-0 size-5",
15
- "itemLeadingAvatar": "shrink-0",
16
- "itemLeadingAvatarSize": "2xs",
17
- "itemLeadingChip": "shrink-0 size-5",
18
- "itemLeadingChipSize": "md",
19
- "itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
20
- "itemTrailingIcon": "shrink-0 size-5",
21
- "itemTrailingHighlightedIcon": "shrink-0 size-5 text-dimmed hidden group-data-highlighted:inline-flex",
22
- "itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0 gap-0.5",
23
- "itemTrailingKbdsSize": "md",
24
- "itemWrapper": "flex-1 flex flex-col text-start min-w-0",
25
- "itemLabel": "truncate space-x-1 text-dimmed",
26
- "itemDescription": "truncate text-muted",
27
- "itemLabelBase": "text-highlighted [&>mark]:text-inverted [&>mark]:bg-primary",
28
- "itemLabelPrefix": "text-default",
29
- "itemLabelSuffix": "text-dimmed [&>mark]:text-inverted [&>mark]:bg-primary"
30
- },
31
- "variants": {
32
- "virtualize": {
33
- "true": {
34
- "viewport": "p-1 isolate"
35
- },
36
- "false": {
37
- "viewport": "divide-y divide-default"
38
- }
39
- },
40
- "active": {
41
- "true": {
42
- "item": "text-highlighted before:bg-elevated",
43
- "itemLeadingIcon": "text-default"
44
- },
45
- "false": {
46
- "item": [
47
- "text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
48
- "transition-colors before:transition-colors"
49
- ],
50
- "itemLeadingIcon": [
51
- "text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
52
- "transition-colors"
53
- ]
54
- }
55
- },
56
- "loading": {
57
- "true": {
58
- "itemLeadingIcon": "animate-spin"
59
- }
60
- }
61
- }
62
- }
@@ -1,3 +0,0 @@
1
- export default {
2
- "base": "w-full max-w-(--ui-container) mx-auto px-4 sm:px-6 lg:px-8"
3
- }