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