@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,321 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
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
ADDED
|
@@ -0,0 +1,168 @@
|
|
|
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
|
+
}
|