@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,274 @@
|
|
|
1
|
+
const variant = [
|
|
2
|
+
"solid",
|
|
3
|
+
"outline",
|
|
4
|
+
"soft",
|
|
5
|
+
"subtle",
|
|
6
|
+
"ghost",
|
|
7
|
+
"naked"
|
|
8
|
+
] as const
|
|
9
|
+
|
|
10
|
+
const highlightColor = [
|
|
11
|
+
"primary",
|
|
12
|
+
"secondary",
|
|
13
|
+
"success",
|
|
14
|
+
"info",
|
|
15
|
+
"warning",
|
|
16
|
+
"error",
|
|
17
|
+
"neutral"
|
|
18
|
+
] as const
|
|
19
|
+
|
|
20
|
+
const spotlightColor = [
|
|
21
|
+
"primary",
|
|
22
|
+
"secondary",
|
|
23
|
+
"success",
|
|
24
|
+
"info",
|
|
25
|
+
"warning",
|
|
26
|
+
"error",
|
|
27
|
+
"neutral"
|
|
28
|
+
] as const
|
|
29
|
+
|
|
30
|
+
export default {
|
|
31
|
+
"slots": {
|
|
32
|
+
"root": "relative flex rounded-lg",
|
|
33
|
+
"spotlight": "absolute inset-0 rounded-[inherit] pointer-events-none bg-default/90",
|
|
34
|
+
"container": "relative flex flex-col flex-1 lg:grid gap-x-8 gap-y-4 p-4 sm:p-6",
|
|
35
|
+
"wrapper": "flex flex-col flex-1 items-start",
|
|
36
|
+
"header": "mb-4",
|
|
37
|
+
"body": "flex-1",
|
|
38
|
+
"footer": "pt-4 mt-auto",
|
|
39
|
+
"leading": "inline-flex items-center mb-2.5",
|
|
40
|
+
"leadingIcon": "size-5 shrink-0 text-primary",
|
|
41
|
+
"title": "text-base text-pretty font-semibold text-highlighted",
|
|
42
|
+
"description": "text-[15px] text-pretty"
|
|
43
|
+
},
|
|
44
|
+
"variants": {
|
|
45
|
+
"orientation": {
|
|
46
|
+
"horizontal": {
|
|
47
|
+
"container": "lg:grid-cols-2 lg:items-center"
|
|
48
|
+
},
|
|
49
|
+
"vertical": {
|
|
50
|
+
"container": ""
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"reverse": {
|
|
54
|
+
"true": {
|
|
55
|
+
"wrapper": "order-last"
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
"variant": {
|
|
59
|
+
"solid": {
|
|
60
|
+
"root": "bg-inverted text-inverted",
|
|
61
|
+
"title": "text-inverted",
|
|
62
|
+
"description": "text-dimmed"
|
|
63
|
+
},
|
|
64
|
+
"outline": {
|
|
65
|
+
"root": "bg-default ring ring-default",
|
|
66
|
+
"description": "text-muted"
|
|
67
|
+
},
|
|
68
|
+
"soft": {
|
|
69
|
+
"root": "bg-elevated/50",
|
|
70
|
+
"description": "text-toned"
|
|
71
|
+
},
|
|
72
|
+
"subtle": {
|
|
73
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
74
|
+
"description": "text-toned"
|
|
75
|
+
},
|
|
76
|
+
"ghost": {
|
|
77
|
+
"description": "text-muted"
|
|
78
|
+
},
|
|
79
|
+
"naked": {
|
|
80
|
+
"container": "p-0 sm:p-0",
|
|
81
|
+
"description": "text-muted"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"to": {
|
|
85
|
+
"true": {
|
|
86
|
+
"root": [
|
|
87
|
+
"has-focus-visible:ring-2 has-focus-visible:ring-primary",
|
|
88
|
+
"transition"
|
|
89
|
+
]
|
|
90
|
+
}
|
|
91
|
+
},
|
|
92
|
+
"title": {
|
|
93
|
+
"true": {
|
|
94
|
+
"description": "mt-1"
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"highlight": {
|
|
98
|
+
"true": {
|
|
99
|
+
"root": "ring-2"
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"highlightColor": {
|
|
103
|
+
"primary": "",
|
|
104
|
+
"secondary": "",
|
|
105
|
+
"success": "",
|
|
106
|
+
"info": "",
|
|
107
|
+
"warning": "",
|
|
108
|
+
"error": "",
|
|
109
|
+
"neutral": ""
|
|
110
|
+
},
|
|
111
|
+
"spotlight": {
|
|
112
|
+
"true": {
|
|
113
|
+
"root": "[--spotlight-size:400px] before:absolute before:-inset-px before:pointer-events-none before:rounded-[inherit] before:bg-[radial-gradient(var(--spotlight-size)_var(--spotlight-size)_at_calc(var(--spotlight-x,0px))_calc(var(--spotlight-y,0px)),var(--spotlight-color),transparent_70%)]"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"spotlightColor": {
|
|
117
|
+
"primary": "",
|
|
118
|
+
"secondary": "",
|
|
119
|
+
"success": "",
|
|
120
|
+
"info": "",
|
|
121
|
+
"warning": "",
|
|
122
|
+
"error": "",
|
|
123
|
+
"neutral": ""
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
"compoundVariants": [
|
|
127
|
+
{
|
|
128
|
+
"variant": "solid" as typeof variant[number],
|
|
129
|
+
"to": true,
|
|
130
|
+
"class": {
|
|
131
|
+
"root": "hover:bg-inverted/90"
|
|
132
|
+
}
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"variant": "outline" as typeof variant[number],
|
|
136
|
+
"to": true,
|
|
137
|
+
"class": {
|
|
138
|
+
"root": "hover:bg-elevated/50"
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"variant": "soft" as typeof variant[number],
|
|
143
|
+
"to": true,
|
|
144
|
+
"class": {
|
|
145
|
+
"root": "hover:bg-elevated"
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"variant": "subtle" as typeof variant[number],
|
|
150
|
+
"to": true,
|
|
151
|
+
"class": {
|
|
152
|
+
"root": "hover:bg-elevated"
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"variant": "subtle" as typeof variant[number],
|
|
157
|
+
"to": true,
|
|
158
|
+
"highlight": false,
|
|
159
|
+
"class": {
|
|
160
|
+
"root": "hover:ring-accented"
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"variant": "ghost" as typeof variant[number],
|
|
165
|
+
"to": true,
|
|
166
|
+
"class": {
|
|
167
|
+
"root": "hover:bg-elevated/50"
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
172
|
+
"highlight": true,
|
|
173
|
+
"class": {
|
|
174
|
+
"root": "ring-primary"
|
|
175
|
+
}
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"highlightColor": "secondary" as typeof highlightColor[number],
|
|
179
|
+
"highlight": true,
|
|
180
|
+
"class": {
|
|
181
|
+
"root": "ring-secondary"
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"highlightColor": "success" as typeof highlightColor[number],
|
|
186
|
+
"highlight": true,
|
|
187
|
+
"class": {
|
|
188
|
+
"root": "ring-success"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"highlightColor": "info" as typeof highlightColor[number],
|
|
193
|
+
"highlight": true,
|
|
194
|
+
"class": {
|
|
195
|
+
"root": "ring-info"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"highlightColor": "warning" as typeof highlightColor[number],
|
|
200
|
+
"highlight": true,
|
|
201
|
+
"class": {
|
|
202
|
+
"root": "ring-warning"
|
|
203
|
+
}
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"highlightColor": "error" as typeof highlightColor[number],
|
|
207
|
+
"highlight": true,
|
|
208
|
+
"class": {
|
|
209
|
+
"root": "ring-error"
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"highlightColor": "neutral" as typeof highlightColor[number],
|
|
214
|
+
"highlight": true,
|
|
215
|
+
"class": {
|
|
216
|
+
"root": "ring-inverted"
|
|
217
|
+
}
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"spotlightColor": "primary" as typeof spotlightColor[number],
|
|
221
|
+
"spotlight": true,
|
|
222
|
+
"class": {
|
|
223
|
+
"root": "[--spotlight-color:var(--ui-primary)]"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"spotlightColor": "secondary" as typeof spotlightColor[number],
|
|
228
|
+
"spotlight": true,
|
|
229
|
+
"class": {
|
|
230
|
+
"root": "[--spotlight-color:var(--ui-secondary)]"
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"spotlightColor": "success" as typeof spotlightColor[number],
|
|
235
|
+
"spotlight": true,
|
|
236
|
+
"class": {
|
|
237
|
+
"root": "[--spotlight-color:var(--ui-success)]"
|
|
238
|
+
}
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"spotlightColor": "info" as typeof spotlightColor[number],
|
|
242
|
+
"spotlight": true,
|
|
243
|
+
"class": {
|
|
244
|
+
"root": "[--spotlight-color:var(--ui-info)]"
|
|
245
|
+
}
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"spotlightColor": "warning" as typeof spotlightColor[number],
|
|
249
|
+
"spotlight": true,
|
|
250
|
+
"class": {
|
|
251
|
+
"root": "[--spotlight-color:var(--ui-warning)]"
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"spotlightColor": "error" as typeof spotlightColor[number],
|
|
256
|
+
"spotlight": true,
|
|
257
|
+
"class": {
|
|
258
|
+
"root": "[--spotlight-color:var(--ui-error)]"
|
|
259
|
+
}
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"spotlightColor": "neutral" as typeof spotlightColor[number],
|
|
263
|
+
"spotlight": true,
|
|
264
|
+
"class": {
|
|
265
|
+
"root": "[--spotlight-color:var(--ui-bg-inverted)]"
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
],
|
|
269
|
+
"defaultVariants": {
|
|
270
|
+
"variant": "outline" as typeof variant[number],
|
|
271
|
+
"highlightColor": "primary" as typeof highlightColor[number],
|
|
272
|
+
"spotlightColor": "primary" as typeof spotlightColor[number]
|
|
273
|
+
}
|
|
274
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const variant = [
|
|
2
|
+
"solid",
|
|
3
|
+
"outline",
|
|
4
|
+
"soft",
|
|
5
|
+
"subtle",
|
|
6
|
+
"naked"
|
|
7
|
+
] as const
|
|
8
|
+
|
|
9
|
+
export default {
|
|
10
|
+
"slots": {
|
|
11
|
+
"root": "relative isolate rounded-xl overflow-hidden",
|
|
12
|
+
"container": "flex flex-col lg:grid px-6 py-12 sm:px-12 sm:py-24 lg:px-16 lg:py-24 gap-8 sm:gap-16",
|
|
13
|
+
"wrapper": "",
|
|
14
|
+
"header": "",
|
|
15
|
+
"title": "text-3xl sm:text-4xl text-pretty tracking-tight font-bold text-highlighted",
|
|
16
|
+
"description": "text-base sm:text-lg text-muted",
|
|
17
|
+
"body": "mt-8",
|
|
18
|
+
"footer": "mt-8",
|
|
19
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
20
|
+
},
|
|
21
|
+
"variants": {
|
|
22
|
+
"orientation": {
|
|
23
|
+
"horizontal": {
|
|
24
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
25
|
+
"description": "text-pretty"
|
|
26
|
+
},
|
|
27
|
+
"vertical": {
|
|
28
|
+
"container": "",
|
|
29
|
+
"title": "text-center",
|
|
30
|
+
"description": "text-center text-balance",
|
|
31
|
+
"links": "justify-center"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"reverse": {
|
|
35
|
+
"true": {
|
|
36
|
+
"wrapper": "order-last"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"variant": {
|
|
40
|
+
"solid": {
|
|
41
|
+
"root": "bg-inverted text-inverted",
|
|
42
|
+
"title": "text-inverted",
|
|
43
|
+
"description": "text-dimmed"
|
|
44
|
+
},
|
|
45
|
+
"outline": {
|
|
46
|
+
"root": "bg-default ring ring-default",
|
|
47
|
+
"description": "text-muted"
|
|
48
|
+
},
|
|
49
|
+
"soft": {
|
|
50
|
+
"root": "bg-elevated/50",
|
|
51
|
+
"description": "text-toned"
|
|
52
|
+
},
|
|
53
|
+
"subtle": {
|
|
54
|
+
"root": "bg-elevated/50 ring ring-default",
|
|
55
|
+
"description": "text-toned"
|
|
56
|
+
},
|
|
57
|
+
"naked": {
|
|
58
|
+
"description": "text-muted"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"title": {
|
|
62
|
+
"true": {
|
|
63
|
+
"description": "mt-6"
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"defaultVariants": {
|
|
68
|
+
"variant": "outline" as typeof variant[number]
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative rounded-sm",
|
|
4
|
+
"wrapper": "",
|
|
5
|
+
"leading": "inline-flex items-center justify-center",
|
|
6
|
+
"leadingIcon": "size-5 shrink-0 text-primary",
|
|
7
|
+
"title": "text-base text-pretty font-semibold text-highlighted",
|
|
8
|
+
"description": "text-[15px] text-pretty text-muted"
|
|
9
|
+
},
|
|
10
|
+
"variants": {
|
|
11
|
+
"orientation": {
|
|
12
|
+
"horizontal": {
|
|
13
|
+
"root": "flex items-start gap-2.5",
|
|
14
|
+
"leading": "p-0.5"
|
|
15
|
+
},
|
|
16
|
+
"vertical": {
|
|
17
|
+
"leading": "mb-2.5"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"to": {
|
|
21
|
+
"true": {
|
|
22
|
+
"root": [
|
|
23
|
+
"has-focus-visible:ring-2 has-focus-visible:ring-primary",
|
|
24
|
+
"transition"
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"title": {
|
|
29
|
+
"true": {
|
|
30
|
+
"description": "mt-1"
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative border-b border-default py-8",
|
|
4
|
+
"container": "",
|
|
5
|
+
"wrapper": "flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4",
|
|
6
|
+
"headline": "mb-2.5 text-sm font-semibold text-primary flex items-center gap-1.5",
|
|
7
|
+
"title": "text-3xl sm:text-4xl text-pretty font-bold text-highlighted",
|
|
8
|
+
"description": "text-lg text-pretty text-muted",
|
|
9
|
+
"links": "flex flex-wrap items-center gap-1.5"
|
|
10
|
+
},
|
|
11
|
+
"variants": {
|
|
12
|
+
"title": {
|
|
13
|
+
"true": {
|
|
14
|
+
"description": "mt-4"
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative isolate",
|
|
4
|
+
"container": "flex flex-col lg:grid py-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",
|
|
5
|
+
"wrapper": "",
|
|
6
|
+
"header": "",
|
|
7
|
+
"headline": "mb-4",
|
|
8
|
+
"title": "text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",
|
|
9
|
+
"description": "text-lg sm:text-xl/8 text-muted",
|
|
10
|
+
"body": "mt-10",
|
|
11
|
+
"footer": "mt-10",
|
|
12
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
13
|
+
},
|
|
14
|
+
"variants": {
|
|
15
|
+
"orientation": {
|
|
16
|
+
"horizontal": {
|
|
17
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
18
|
+
"description": "text-pretty"
|
|
19
|
+
},
|
|
20
|
+
"vertical": {
|
|
21
|
+
"container": "",
|
|
22
|
+
"headline": "justify-center",
|
|
23
|
+
"wrapper": "text-center",
|
|
24
|
+
"description": "text-balance",
|
|
25
|
+
"links": "justify-center"
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"reverse": {
|
|
29
|
+
"true": {
|
|
30
|
+
"wrapper": "order-last"
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"headline": {
|
|
34
|
+
"true": {
|
|
35
|
+
"headline": "font-semibold text-primary flex items-center gap-1.5"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"title": {
|
|
39
|
+
"true": {
|
|
40
|
+
"description": "mt-6"
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "flex flex-col gap-3",
|
|
4
|
+
"title": "text-sm font-semibold flex items-center gap-1.5",
|
|
5
|
+
"list": "flex flex-col gap-2",
|
|
6
|
+
"item": "relative",
|
|
7
|
+
"link": "group text-sm flex items-center gap-1.5 focus-visible:outline-primary",
|
|
8
|
+
"linkLeadingIcon": "size-5 shrink-0",
|
|
9
|
+
"linkLabel": "truncate",
|
|
10
|
+
"linkLabelExternalIcon": "size-3 absolute top-0 text-dimmed"
|
|
11
|
+
},
|
|
12
|
+
"variants": {
|
|
13
|
+
"active": {
|
|
14
|
+
"true": {
|
|
15
|
+
"link": "text-primary font-medium"
|
|
16
|
+
},
|
|
17
|
+
"false": {
|
|
18
|
+
"link": [
|
|
19
|
+
"text-muted hover:text-default",
|
|
20
|
+
"transition-colors"
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "relative overflow-hidden",
|
|
4
|
+
"title": "text-lg text-center font-semibold text-highlighted",
|
|
5
|
+
"logos": "mt-10",
|
|
6
|
+
"logo": "size-10 shrink-0"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"marquee": {
|
|
10
|
+
"false": {
|
|
11
|
+
"logos": "flex items-center shrink-0 justify-around gap-(--gap) [--gap:--spacing(16)]"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
const orientation = [
|
|
2
|
+
"horizontal",
|
|
3
|
+
"vertical"
|
|
4
|
+
] as const
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
"slots": {
|
|
8
|
+
"root": "relative isolate",
|
|
9
|
+
"container": "flex flex-col lg:grid py-16 sm:py-24 lg:py-32 gap-8 sm:gap-16",
|
|
10
|
+
"wrapper": "",
|
|
11
|
+
"header": "",
|
|
12
|
+
"leading": "flex items-center mb-6",
|
|
13
|
+
"leadingIcon": "size-10 shrink-0 text-primary",
|
|
14
|
+
"headline": "mb-3",
|
|
15
|
+
"title": "text-3xl sm:text-4xl lg:text-5xl text-pretty tracking-tight font-bold text-highlighted",
|
|
16
|
+
"description": "text-base sm:text-lg text-muted",
|
|
17
|
+
"body": "mt-8",
|
|
18
|
+
"features": "grid",
|
|
19
|
+
"footer": "mt-8",
|
|
20
|
+
"links": "flex flex-wrap gap-x-6 gap-y-3"
|
|
21
|
+
},
|
|
22
|
+
"variants": {
|
|
23
|
+
"orientation": {
|
|
24
|
+
"horizontal": {
|
|
25
|
+
"container": "lg:grid-cols-2 lg:items-center",
|
|
26
|
+
"description": "text-pretty",
|
|
27
|
+
"features": "gap-4"
|
|
28
|
+
},
|
|
29
|
+
"vertical": {
|
|
30
|
+
"container": "",
|
|
31
|
+
"headline": "justify-center",
|
|
32
|
+
"leading": "justify-center",
|
|
33
|
+
"title": "text-center",
|
|
34
|
+
"description": "text-center text-balance",
|
|
35
|
+
"links": "justify-center",
|
|
36
|
+
"features": "sm:grid-cols-2 lg:grid-cols-3 gap-8"
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"reverse": {
|
|
40
|
+
"true": {
|
|
41
|
+
"wrapper": "order-last"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"headline": {
|
|
45
|
+
"true": {
|
|
46
|
+
"headline": "font-semibold text-primary flex items-center gap-1.5"
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"title": {
|
|
50
|
+
"true": {
|
|
51
|
+
"description": "mt-6"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"description": {
|
|
55
|
+
"true": ""
|
|
56
|
+
},
|
|
57
|
+
"body": {
|
|
58
|
+
"true": ""
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"compoundVariants": [
|
|
62
|
+
{
|
|
63
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
64
|
+
"title": true,
|
|
65
|
+
"class": {
|
|
66
|
+
"body": "mt-16"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
71
|
+
"description": true,
|
|
72
|
+
"class": {
|
|
73
|
+
"body": "mt-16"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"orientation": "vertical" as typeof orientation[number],
|
|
78
|
+
"body": true,
|
|
79
|
+
"class": {
|
|
80
|
+
"footer": "mt-16"
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
]
|
|
84
|
+
}
|
package/.nuxt/ui/page.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"slots": {
|
|
3
|
+
"root": "flex flex-col lg:grid lg:grid-cols-10 lg:gap-10",
|
|
4
|
+
"left": "lg:col-span-2",
|
|
5
|
+
"center": "lg:col-span-8",
|
|
6
|
+
"right": "lg:col-span-2 order-first lg:order-last"
|
|
7
|
+
},
|
|
8
|
+
"variants": {
|
|
9
|
+
"left": {
|
|
10
|
+
"true": ""
|
|
11
|
+
},
|
|
12
|
+
"right": {
|
|
13
|
+
"true": ""
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"compoundVariants": [
|
|
17
|
+
{
|
|
18
|
+
"left": true,
|
|
19
|
+
"right": true,
|
|
20
|
+
"class": {
|
|
21
|
+
"center": "lg:col-span-6"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"left": false,
|
|
26
|
+
"right": false,
|
|
27
|
+
"class": {
|
|
28
|
+
"center": "lg:col-span-10"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
]
|
|
32
|
+
}
|