@falcondev-oss/nuxt-layers-base 0.1.0
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.
- package/.nuxt/app.config.mjs +317 -0
- package/.nuxt/components.d.ts +332 -0
- package/.nuxt/imports.d.ts +61 -0
- package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +1 -0
- package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
- package/.nuxt/nuxt-icon-server-bundle.mjs +14 -0
- package/.nuxt/nuxt.d.ts +24 -0
- package/.nuxt/nuxt.node.d.ts +14 -0
- package/.nuxt/nuxt.shared.d.ts +5 -0
- package/.nuxt/schema/nuxt.schema.d.ts +210 -0
- package/.nuxt/schema/nuxt.schema.json +263 -0
- package/.nuxt/tsconfig.app.json +217 -0
- package/.nuxt/tsconfig.json +219 -0
- package/.nuxt/tsconfig.node.json +114 -0
- package/.nuxt/tsconfig.server.json +140 -0
- package/.nuxt/tsconfig.shared.json +139 -0
- package/.nuxt/types/app.config.d.ts +331 -0
- package/.nuxt/types/build.d.ts +24 -0
- package/.nuxt/types/builder-env.d.ts +1 -0
- package/.nuxt/types/components.d.ts +337 -0
- package/.nuxt/types/imports.d.ts +906 -0
- package/.nuxt/types/layouts.d.ts +7 -0
- package/.nuxt/types/middleware.d.ts +7 -0
- package/.nuxt/types/modules.d.ts +159 -0
- package/.nuxt/types/nitro-config.d.ts +14 -0
- package/.nuxt/types/nitro-imports.d.ts +141 -0
- package/.nuxt/types/nitro-middleware.d.ts +11 -0
- package/.nuxt/types/nitro-nuxt.d.ts +61 -0
- package/.nuxt/types/nitro-routes.d.ts +17 -0
- package/.nuxt/types/nitro.d.ts +3 -0
- package/.nuxt/types/plugins.d.ts +35 -0
- package/.nuxt/types/runtime-config.d.ts +36 -0
- package/.nuxt/types/ui.d.ts +36 -0
- package/.nuxt/types/vue-shim.d.ts +0 -0
- package/.nuxt/ui/accordion.ts +20 -0
- package/.nuxt/ui/alert.ts +264 -0
- package/.nuxt/ui/auth-form.ts +20 -0
- package/.nuxt/ui/avatar-group.ts +52 -0
- package/.nuxt/ui/avatar.ts +54 -0
- package/.nuxt/ui/badge.ts +263 -0
- package/.nuxt/ui/banner.ts +108 -0
- package/.nuxt/ui/blog-post.ts +143 -0
- package/.nuxt/ui/blog-posts.ts +9 -0
- package/.nuxt/ui/breadcrumb.ts +45 -0
- package/.nuxt/ui/button.ts +378 -0
- package/.nuxt/ui/calendar.ts +315 -0
- package/.nuxt/ui/card.ts +34 -0
- package/.nuxt/ui/carousel.ts +38 -0
- package/.nuxt/ui/changelog-version.ts +45 -0
- package/.nuxt/ui/changelog-versions.ts +8 -0
- package/.nuxt/ui/chat-message.ts +136 -0
- package/.nuxt/ui/chat-messages.ts +14 -0
- package/.nuxt/ui/chat-palette.ts +8 -0
- package/.nuxt/ui/chat-prompt-submit.ts +5 -0
- package/.nuxt/ui/chat-prompt.ts +35 -0
- package/.nuxt/ui/checkbox-group.ts +207 -0
- package/.nuxt/ui/checkbox.ts +237 -0
- package/.nuxt/ui/chip.ts +96 -0
- package/.nuxt/ui/collapsible.ts +6 -0
- package/.nuxt/ui/color-picker.ts +47 -0
- package/.nuxt/ui/command-palette.ts +62 -0
- package/.nuxt/ui/container.ts +3 -0
- package/.nuxt/ui/context-menu.ts +219 -0
- package/.nuxt/ui/dashboard-group.ts +3 -0
- package/.nuxt/ui/dashboard-navbar.ts +21 -0
- package/.nuxt/ui/dashboard-panel.ts +17 -0
- package/.nuxt/ui/dashboard-resize-handle.ts +3 -0
- package/.nuxt/ui/dashboard-search-button.ts +15 -0
- package/.nuxt/ui/dashboard-search.ts +13 -0
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +9 -0
- package/.nuxt/ui/dashboard-sidebar.ts +37 -0
- package/.nuxt/ui/dashboard-toolbar.ts +7 -0
- package/.nuxt/ui/drawer.ts +149 -0
- package/.nuxt/ui/dropdown-menu.ts +220 -0
- package/.nuxt/ui/editor-drag-handle.ts +6 -0
- package/.nuxt/ui/editor-emoji-menu.ts +35 -0
- package/.nuxt/ui/editor-mention-menu.ts +35 -0
- package/.nuxt/ui/editor-suggestion-menu.ts +35 -0
- package/.nuxt/ui/editor-toolbar.ts +21 -0
- package/.nuxt/ui/editor.ts +35 -0
- package/.nuxt/ui/empty.ts +83 -0
- package/.nuxt/ui/error.ts +9 -0
- package/.nuxt/ui/field-group.ts +16 -0
- package/.nuxt/ui/file-upload.ts +290 -0
- package/.nuxt/ui/footer-columns.ts +28 -0
- package/.nuxt/ui/footer.ts +11 -0
- package/.nuxt/ui/form-field.ts +62 -0
- package/.nuxt/ui/form.ts +3 -0
- package/.nuxt/ui/header.ts +25 -0
- package/.nuxt/ui/index.ts +109 -0
- package/.nuxt/ui/input-date.ts +337 -0
- package/.nuxt/ui/input-menu.ts +460 -0
- package/.nuxt/ui/input-number.ts +256 -0
- package/.nuxt/ui/input-tags.ts +310 -0
- package/.nuxt/ui/input-time.ts +336 -0
- package/.nuxt/ui/input.ts +289 -0
- package/.nuxt/ui/kbd.ts +195 -0
- package/.nuxt/ui/link.ts +22 -0
- package/.nuxt/ui/main.ts +3 -0
- package/.nuxt/ui/marquee.ts +66 -0
- package/.nuxt/ui/modal.ts +60 -0
- package/.nuxt/ui/navigation-menu.ts +512 -0
- package/.nuxt/ui/page-anchors.ts +30 -0
- package/.nuxt/ui/page-aside.ts +10 -0
- package/.nuxt/ui/page-body.ts +3 -0
- package/.nuxt/ui/page-card.ts +274 -0
- package/.nuxt/ui/page-columns.ts +3 -0
- package/.nuxt/ui/page-cta.ts +70 -0
- package/.nuxt/ui/page-feature.ts +34 -0
- package/.nuxt/ui/page-grid.ts +3 -0
- package/.nuxt/ui/page-header.ts +18 -0
- package/.nuxt/ui/page-hero.ts +44 -0
- package/.nuxt/ui/page-links.ts +25 -0
- package/.nuxt/ui/page-list.ts +8 -0
- package/.nuxt/ui/page-logos.ts +15 -0
- package/.nuxt/ui/page-section.ts +84 -0
- package/.nuxt/ui/page.ts +32 -0
- package/.nuxt/ui/pagination.ts +13 -0
- package/.nuxt/ui/pin-input.ts +171 -0
- package/.nuxt/ui/popover.ts +6 -0
- package/.nuxt/ui/pricing-plan.ts +101 -0
- package/.nuxt/ui/pricing-plans.ts +22 -0
- package/.nuxt/ui/pricing-table.ts +51 -0
- package/.nuxt/ui/progress.ts +297 -0
- package/.nuxt/ui/radio-group.ts +352 -0
- package/.nuxt/ui/scroll-area.ts +21 -0
- package/.nuxt/ui/select-menu.ts +361 -0
- package/.nuxt/ui/select.ts +348 -0
- package/.nuxt/ui/separator.ts +172 -0
- package/.nuxt/ui/skeleton.ts +3 -0
- package/.nuxt/ui/slideover.ts +132 -0
- package/.nuxt/ui/slider.ts +171 -0
- package/.nuxt/ui/stepper.ts +202 -0
- package/.nuxt/ui/switch.ts +132 -0
- package/.nuxt/ui/table.ts +162 -0
- package/.nuxt/ui/tabs.ts +258 -0
- package/.nuxt/ui/textarea.ts +294 -0
- package/.nuxt/ui/timeline.ts +321 -0
- package/.nuxt/ui/toast.ts +74 -0
- package/.nuxt/ui/toaster.ts +91 -0
- package/.nuxt/ui/tooltip.ts +9 -0
- package/.nuxt/ui/tree.ts +168 -0
- package/.nuxt/ui/user.ts +101 -0
- package/.nuxt/ui-image-component.ts +1 -0
- package/.nuxt/ui.css +154 -0
- package/app/app.config.ts +7 -0
- package/app/app.vue +3 -0
- package/app/assets/css/base.css +28 -0
- package/app/components/Var.vue +13 -0
- package/app/components/layout/LayoutDashboard.vue +102 -0
- package/app/components/overlay/modal/ModalActions.vue +25 -0
- package/app/components/overlay/modal/ModalConfirm.vue +25 -0
- package/app/components/overlay/modal/ModalRadioGroup.vue +37 -0
- package/app/components/u/UActions.vue +23 -0
- package/app/components/u/UCustomApp.vue +20 -0
- package/app/components/u/UField.vue +55 -0
- package/app/components/u/UImageWithFallback.vue +35 -0
- package/app/components/u/UInputDatePicker.vue +40 -0
- package/app/components/u/UInputDurationMinutes.vue +88 -0
- package/app/components/u/UTableCard.vue +16 -0
- package/app/composables/useConfirm.ts +16 -0
- package/app/composables/usePreventPageLeave.ts +31 -0
- package/app/composables/useRouteParamString.ts +22 -0
- package/app/composables/useTableColumns.tsx +68 -0
- package/app/composables/useToast.ts +40 -0
- package/app/composables/useTrpc.ts +3 -0
- package/app/error.vue +15 -0
- package/app/pages/index.vue +3 -0
- package/app/utils/form-field-translators.ts +41 -0
- package/app/utils/plugins.ts +95 -0
- package/app/utils/reactivity.ts +17 -0
- package/nuxt.config.ts +85 -0
- package/package.json +46 -0
- package/pnpm-workspace.yaml +5 -0
- package/tsconfig.json +17 -0
|
@@ -0,0 +1,352 @@
|
|
|
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
|
+
"table"
|
|
15
|
+
] as const
|
|
16
|
+
|
|
17
|
+
const orientation = [
|
|
18
|
+
"horizontal",
|
|
19
|
+
"vertical"
|
|
20
|
+
] as const
|
|
21
|
+
|
|
22
|
+
const indicator = [
|
|
23
|
+
"start",
|
|
24
|
+
"end",
|
|
25
|
+
"hidden"
|
|
26
|
+
] as const
|
|
27
|
+
|
|
28
|
+
const size = [
|
|
29
|
+
"xs",
|
|
30
|
+
"sm",
|
|
31
|
+
"md",
|
|
32
|
+
"lg",
|
|
33
|
+
"xl"
|
|
34
|
+
] as const
|
|
35
|
+
|
|
36
|
+
export default {
|
|
37
|
+
"slots": {
|
|
38
|
+
"root": "relative",
|
|
39
|
+
"fieldset": "flex gap-x-2",
|
|
40
|
+
"legend": "mb-1 block font-medium text-default",
|
|
41
|
+
"item": "flex items-start",
|
|
42
|
+
"container": "flex items-center",
|
|
43
|
+
"base": "rounded-full ring ring-inset ring-accented overflow-hidden focus-visible:outline-2 focus-visible:outline-offset-2",
|
|
44
|
+
"indicator": "flex items-center justify-center size-full after:bg-default after:rounded-full" as typeof indicator[number],
|
|
45
|
+
"wrapper": "w-full",
|
|
46
|
+
"label": "block font-medium text-default",
|
|
47
|
+
"description": "text-muted"
|
|
48
|
+
},
|
|
49
|
+
"variants": {
|
|
50
|
+
"color": {
|
|
51
|
+
"primary": {
|
|
52
|
+
"base": "focus-visible:outline-primary",
|
|
53
|
+
"indicator": "bg-primary" as typeof indicator[number]
|
|
54
|
+
},
|
|
55
|
+
"secondary": {
|
|
56
|
+
"base": "focus-visible:outline-secondary",
|
|
57
|
+
"indicator": "bg-secondary" as typeof indicator[number]
|
|
58
|
+
},
|
|
59
|
+
"success": {
|
|
60
|
+
"base": "focus-visible:outline-success",
|
|
61
|
+
"indicator": "bg-success" as typeof indicator[number]
|
|
62
|
+
},
|
|
63
|
+
"info": {
|
|
64
|
+
"base": "focus-visible:outline-info",
|
|
65
|
+
"indicator": "bg-info" as typeof indicator[number]
|
|
66
|
+
},
|
|
67
|
+
"warning": {
|
|
68
|
+
"base": "focus-visible:outline-warning",
|
|
69
|
+
"indicator": "bg-warning" as typeof indicator[number]
|
|
70
|
+
},
|
|
71
|
+
"error": {
|
|
72
|
+
"base": "focus-visible:outline-error",
|
|
73
|
+
"indicator": "bg-error" as typeof indicator[number]
|
|
74
|
+
},
|
|
75
|
+
"neutral": {
|
|
76
|
+
"base": "focus-visible:outline-inverted",
|
|
77
|
+
"indicator": "bg-inverted" as typeof indicator[number]
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
"variant": {
|
|
81
|
+
"list": {
|
|
82
|
+
"item": ""
|
|
83
|
+
},
|
|
84
|
+
"card": {
|
|
85
|
+
"item": "border border-muted rounded-lg"
|
|
86
|
+
},
|
|
87
|
+
"table": {
|
|
88
|
+
"item": "border border-muted"
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"orientation": {
|
|
92
|
+
"horizontal": {
|
|
93
|
+
"fieldset": "flex-row"
|
|
94
|
+
},
|
|
95
|
+
"vertical": {
|
|
96
|
+
"fieldset": "flex-col"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"indicator": {
|
|
100
|
+
"start": {
|
|
101
|
+
"item": "flex-row",
|
|
102
|
+
"wrapper": "ms-2"
|
|
103
|
+
},
|
|
104
|
+
"end": {
|
|
105
|
+
"item": "flex-row-reverse",
|
|
106
|
+
"wrapper": "me-2"
|
|
107
|
+
},
|
|
108
|
+
"hidden": {
|
|
109
|
+
"base": "sr-only",
|
|
110
|
+
"wrapper": "text-center"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"size": {
|
|
114
|
+
"xs": {
|
|
115
|
+
"fieldset": "gap-y-0.5",
|
|
116
|
+
"legend": "text-xs",
|
|
117
|
+
"base": "size-3",
|
|
118
|
+
"item": "text-xs",
|
|
119
|
+
"container": "h-4",
|
|
120
|
+
"indicator": "after:size-1" as typeof indicator[number]
|
|
121
|
+
},
|
|
122
|
+
"sm": {
|
|
123
|
+
"fieldset": "gap-y-0.5",
|
|
124
|
+
"legend": "text-xs",
|
|
125
|
+
"base": "size-3.5",
|
|
126
|
+
"item": "text-xs",
|
|
127
|
+
"container": "h-4",
|
|
128
|
+
"indicator": "after:size-1" as typeof indicator[number]
|
|
129
|
+
},
|
|
130
|
+
"md": {
|
|
131
|
+
"fieldset": "gap-y-1",
|
|
132
|
+
"legend": "text-sm",
|
|
133
|
+
"base": "size-4",
|
|
134
|
+
"item": "text-sm",
|
|
135
|
+
"container": "h-5",
|
|
136
|
+
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
137
|
+
},
|
|
138
|
+
"lg": {
|
|
139
|
+
"fieldset": "gap-y-1",
|
|
140
|
+
"legend": "text-sm",
|
|
141
|
+
"base": "size-4.5",
|
|
142
|
+
"item": "text-sm",
|
|
143
|
+
"container": "h-5",
|
|
144
|
+
"indicator": "after:size-1.5" as typeof indicator[number]
|
|
145
|
+
},
|
|
146
|
+
"xl": {
|
|
147
|
+
"fieldset": "gap-y-1.5",
|
|
148
|
+
"legend": "text-base",
|
|
149
|
+
"base": "size-5",
|
|
150
|
+
"item": "text-base",
|
|
151
|
+
"container": "h-6",
|
|
152
|
+
"indicator": "after:size-2" as typeof indicator[number]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"disabled": {
|
|
156
|
+
"true": {
|
|
157
|
+
"item": "opacity-75",
|
|
158
|
+
"base": "cursor-not-allowed",
|
|
159
|
+
"label": "cursor-not-allowed",
|
|
160
|
+
"description": "cursor-not-allowed"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"required": {
|
|
164
|
+
"true": {
|
|
165
|
+
"legend": "after:content-['*'] after:ms-0.5 after:text-error"
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
"compoundVariants": [
|
|
170
|
+
{
|
|
171
|
+
"size": "xs" as typeof size[number],
|
|
172
|
+
"variant": [
|
|
173
|
+
"card" as typeof variant[number],
|
|
174
|
+
"table" as typeof variant[number]
|
|
175
|
+
],
|
|
176
|
+
"class": {
|
|
177
|
+
"item": "p-2.5"
|
|
178
|
+
}
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"size": "sm" as typeof size[number],
|
|
182
|
+
"variant": [
|
|
183
|
+
"card" as typeof variant[number],
|
|
184
|
+
"table" as typeof variant[number]
|
|
185
|
+
],
|
|
186
|
+
"class": {
|
|
187
|
+
"item": "p-3"
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"size": "md" as typeof size[number],
|
|
192
|
+
"variant": [
|
|
193
|
+
"card" as typeof variant[number],
|
|
194
|
+
"table" as typeof variant[number]
|
|
195
|
+
],
|
|
196
|
+
"class": {
|
|
197
|
+
"item": "p-3.5"
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"size": "lg" as typeof size[number],
|
|
202
|
+
"variant": [
|
|
203
|
+
"card" as typeof variant[number],
|
|
204
|
+
"table" as typeof variant[number]
|
|
205
|
+
],
|
|
206
|
+
"class": {
|
|
207
|
+
"item": "p-4"
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"size": "xl" as typeof size[number],
|
|
212
|
+
"variant": [
|
|
213
|
+
"card" as typeof variant[number],
|
|
214
|
+
"table" as typeof variant[number]
|
|
215
|
+
],
|
|
216
|
+
"class": {
|
|
217
|
+
"item": "p-4.5"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"orientation": "horizontal" as typeof orientation[number],
|
|
222
|
+
"variant": "table" as typeof variant[number],
|
|
223
|
+
"class": {
|
|
224
|
+
"item": "first-of-type:rounded-s-lg last-of-type:rounded-e-lg",
|
|
225
|
+
"fieldset": "gap-0 -space-x-px"
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
230
|
+
"variant": "table" as typeof variant[number],
|
|
231
|
+
"class": {
|
|
232
|
+
"item": "first-of-type:rounded-t-lg last-of-type:rounded-b-lg",
|
|
233
|
+
"fieldset": "gap-0 -space-y-px"
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"color": "primary" as typeof color[number],
|
|
238
|
+
"variant": "card" as typeof variant[number],
|
|
239
|
+
"class": {
|
|
240
|
+
"item": "has-data-[state=checked]:border-primary"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"color": "secondary" as typeof color[number],
|
|
245
|
+
"variant": "card" as typeof variant[number],
|
|
246
|
+
"class": {
|
|
247
|
+
"item": "has-data-[state=checked]:border-secondary"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"color": "success" as typeof color[number],
|
|
252
|
+
"variant": "card" as typeof variant[number],
|
|
253
|
+
"class": {
|
|
254
|
+
"item": "has-data-[state=checked]:border-success"
|
|
255
|
+
}
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"color": "info" as typeof color[number],
|
|
259
|
+
"variant": "card" as typeof variant[number],
|
|
260
|
+
"class": {
|
|
261
|
+
"item": "has-data-[state=checked]:border-info"
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"color": "warning" as typeof color[number],
|
|
266
|
+
"variant": "card" as typeof variant[number],
|
|
267
|
+
"class": {
|
|
268
|
+
"item": "has-data-[state=checked]:border-warning"
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"color": "error" as typeof color[number],
|
|
273
|
+
"variant": "card" as typeof variant[number],
|
|
274
|
+
"class": {
|
|
275
|
+
"item": "has-data-[state=checked]:border-error"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"color": "neutral" as typeof color[number],
|
|
280
|
+
"variant": "card" as typeof variant[number],
|
|
281
|
+
"class": {
|
|
282
|
+
"item": "has-data-[state=checked]:border-inverted"
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
"color": "primary" as typeof color[number],
|
|
287
|
+
"variant": "table" as typeof variant[number],
|
|
288
|
+
"class": {
|
|
289
|
+
"item": "has-data-[state=checked]:bg-primary/10 has-data-[state=checked]:border-primary/50 has-data-[state=checked]:z-[1]"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"color": "secondary" as typeof color[number],
|
|
294
|
+
"variant": "table" as typeof variant[number],
|
|
295
|
+
"class": {
|
|
296
|
+
"item": "has-data-[state=checked]:bg-secondary/10 has-data-[state=checked]:border-secondary/50 has-data-[state=checked]:z-[1]"
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"color": "success" as typeof color[number],
|
|
301
|
+
"variant": "table" as typeof variant[number],
|
|
302
|
+
"class": {
|
|
303
|
+
"item": "has-data-[state=checked]:bg-success/10 has-data-[state=checked]:border-success/50 has-data-[state=checked]:z-[1]"
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"color": "info" as typeof color[number],
|
|
308
|
+
"variant": "table" as typeof variant[number],
|
|
309
|
+
"class": {
|
|
310
|
+
"item": "has-data-[state=checked]:bg-info/10 has-data-[state=checked]:border-info/50 has-data-[state=checked]:z-[1]"
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"color": "warning" as typeof color[number],
|
|
315
|
+
"variant": "table" as typeof variant[number],
|
|
316
|
+
"class": {
|
|
317
|
+
"item": "has-data-[state=checked]:bg-warning/10 has-data-[state=checked]:border-warning/50 has-data-[state=checked]:z-[1]"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"color": "error" as typeof color[number],
|
|
322
|
+
"variant": "table" as typeof variant[number],
|
|
323
|
+
"class": {
|
|
324
|
+
"item": "has-data-[state=checked]:bg-error/10 has-data-[state=checked]:border-error/50 has-data-[state=checked]:z-[1]"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"color": "neutral" as typeof color[number],
|
|
329
|
+
"variant": "table" as typeof variant[number],
|
|
330
|
+
"class": {
|
|
331
|
+
"item": "has-data-[state=checked]:bg-elevated has-data-[state=checked]:border-inverted/50 has-data-[state=checked]:z-[1]"
|
|
332
|
+
}
|
|
333
|
+
},
|
|
334
|
+
{
|
|
335
|
+
"variant": [
|
|
336
|
+
"card" as typeof variant[number],
|
|
337
|
+
"table" as typeof variant[number]
|
|
338
|
+
],
|
|
339
|
+
"disabled": true,
|
|
340
|
+
"class": {
|
|
341
|
+
"item": "cursor-not-allowed"
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
],
|
|
345
|
+
"defaultVariants": {
|
|
346
|
+
"size": "md" as typeof size[number],
|
|
347
|
+
"color": "primary" as typeof color[number],
|
|
348
|
+
"variant": "list" as typeof variant[number],
|
|
349
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
350
|
+
"indicator": "start" as typeof indicator[number]
|
|
351
|
+
}
|
|
352
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative",
|
|
4
|
+
"viewport": "relative flex",
|
|
5
|
+
"item": ""
|
|
6
|
+
},
|
|
7
|
+
"variants": {
|
|
8
|
+
"orientation": {
|
|
9
|
+
"vertical": {
|
|
10
|
+
"root": "overflow-y-auto overflow-x-hidden",
|
|
11
|
+
"viewport": "flex-col",
|
|
12
|
+
"item": ""
|
|
13
|
+
},
|
|
14
|
+
"horizontal": {
|
|
15
|
+
"root": "overflow-x-auto overflow-y-hidden",
|
|
16
|
+
"viewport": "flex-row",
|
|
17
|
+
"item": ""
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|