@falcondev-oss/nuxt-layers-base 0.1.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/app/assets/css/utilities.css +3 -0
- package/app/components/Define.vue +13 -0
- package/app/components/layout/LayoutDashboard.vue +1 -1
- package/app/components/u/UField.vue +17 -6
- package/app/components/u/UForm.vue +90 -0
- package/app/components/u/UInputDurationMinutes.vue +1 -1
- package/app/composables/useTableColumns.tsx +1 -1
- package/app/composables/useToast.ts +3 -3
- package/app/utils/debug.ts +48 -0
- package/app/utils/files.ts +22 -0
- package/app/utils/plugins.ts +45 -6
- package/package.json +19 -3
- package/server/plugins/error.ts +20 -0
- package/server/utils/error.ts +24 -0
- package/shared/types/helpers.ts +27 -0
- package/shared/utils/helpers.ts +3 -0
- package/.nuxt/app.config.mjs +0 -317
- package/.nuxt/components.d.ts +0 -332
- package/.nuxt/imports.d.ts +0 -61
- package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +0 -1
- package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
- package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
- package/.nuxt/nuxt.d.ts +0 -24
- package/.nuxt/nuxt.node.d.ts +0 -14
- package/.nuxt/nuxt.shared.d.ts +0 -5
- package/.nuxt/schema/nuxt.schema.d.ts +0 -210
- package/.nuxt/schema/nuxt.schema.json +0 -263
- package/.nuxt/tsconfig.app.json +0 -217
- package/.nuxt/tsconfig.json +0 -219
- package/.nuxt/tsconfig.node.json +0 -114
- package/.nuxt/tsconfig.server.json +0 -140
- package/.nuxt/tsconfig.shared.json +0 -139
- package/.nuxt/types/app.config.d.ts +0 -331
- package/.nuxt/types/build.d.ts +0 -24
- package/.nuxt/types/builder-env.d.ts +0 -1
- package/.nuxt/types/components.d.ts +0 -337
- package/.nuxt/types/imports.d.ts +0 -906
- package/.nuxt/types/layouts.d.ts +0 -7
- package/.nuxt/types/middleware.d.ts +0 -7
- package/.nuxt/types/modules.d.ts +0 -159
- package/.nuxt/types/nitro-config.d.ts +0 -14
- package/.nuxt/types/nitro-imports.d.ts +0 -141
- package/.nuxt/types/nitro-middleware.d.ts +0 -11
- package/.nuxt/types/nitro-nuxt.d.ts +0 -61
- package/.nuxt/types/nitro-routes.d.ts +0 -17
- package/.nuxt/types/nitro.d.ts +0 -3
- package/.nuxt/types/plugins.d.ts +0 -35
- package/.nuxt/types/runtime-config.d.ts +0 -36
- package/.nuxt/types/ui.d.ts +0 -36
- package/.nuxt/types/vue-shim.d.ts +0 -0
- package/.nuxt/ui/accordion.ts +0 -20
- package/.nuxt/ui/alert.ts +0 -264
- package/.nuxt/ui/auth-form.ts +0 -20
- package/.nuxt/ui/avatar-group.ts +0 -52
- package/.nuxt/ui/avatar.ts +0 -54
- package/.nuxt/ui/badge.ts +0 -263
- package/.nuxt/ui/banner.ts +0 -108
- package/.nuxt/ui/blog-post.ts +0 -143
- package/.nuxt/ui/blog-posts.ts +0 -9
- package/.nuxt/ui/breadcrumb.ts +0 -45
- package/.nuxt/ui/button.ts +0 -378
- package/.nuxt/ui/calendar.ts +0 -315
- package/.nuxt/ui/card.ts +0 -34
- package/.nuxt/ui/carousel.ts +0 -38
- package/.nuxt/ui/changelog-version.ts +0 -45
- package/.nuxt/ui/changelog-versions.ts +0 -8
- package/.nuxt/ui/chat-message.ts +0 -136
- package/.nuxt/ui/chat-messages.ts +0 -14
- package/.nuxt/ui/chat-palette.ts +0 -8
- package/.nuxt/ui/chat-prompt-submit.ts +0 -5
- package/.nuxt/ui/chat-prompt.ts +0 -35
- package/.nuxt/ui/checkbox-group.ts +0 -207
- package/.nuxt/ui/checkbox.ts +0 -237
- package/.nuxt/ui/chip.ts +0 -96
- package/.nuxt/ui/collapsible.ts +0 -6
- package/.nuxt/ui/color-picker.ts +0 -47
- package/.nuxt/ui/command-palette.ts +0 -62
- package/.nuxt/ui/container.ts +0 -3
- package/.nuxt/ui/context-menu.ts +0 -219
- package/.nuxt/ui/dashboard-group.ts +0 -3
- package/.nuxt/ui/dashboard-navbar.ts +0 -21
- package/.nuxt/ui/dashboard-panel.ts +0 -17
- package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
- package/.nuxt/ui/dashboard-search-button.ts +0 -15
- package/.nuxt/ui/dashboard-search.ts +0 -13
- package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
- package/.nuxt/ui/dashboard-sidebar.ts +0 -37
- package/.nuxt/ui/dashboard-toolbar.ts +0 -7
- package/.nuxt/ui/drawer.ts +0 -149
- package/.nuxt/ui/dropdown-menu.ts +0 -220
- package/.nuxt/ui/editor-drag-handle.ts +0 -6
- package/.nuxt/ui/editor-emoji-menu.ts +0 -35
- package/.nuxt/ui/editor-mention-menu.ts +0 -35
- package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
- package/.nuxt/ui/editor-toolbar.ts +0 -21
- package/.nuxt/ui/editor.ts +0 -35
- package/.nuxt/ui/empty.ts +0 -83
- package/.nuxt/ui/error.ts +0 -9
- package/.nuxt/ui/field-group.ts +0 -16
- package/.nuxt/ui/file-upload.ts +0 -290
- package/.nuxt/ui/footer-columns.ts +0 -28
- package/.nuxt/ui/footer.ts +0 -11
- package/.nuxt/ui/form-field.ts +0 -62
- package/.nuxt/ui/form.ts +0 -3
- package/.nuxt/ui/header.ts +0 -25
- package/.nuxt/ui/index.ts +0 -109
- package/.nuxt/ui/input-date.ts +0 -337
- package/.nuxt/ui/input-menu.ts +0 -460
- package/.nuxt/ui/input-number.ts +0 -256
- package/.nuxt/ui/input-tags.ts +0 -310
- package/.nuxt/ui/input-time.ts +0 -336
- package/.nuxt/ui/input.ts +0 -289
- package/.nuxt/ui/kbd.ts +0 -195
- package/.nuxt/ui/link.ts +0 -22
- package/.nuxt/ui/main.ts +0 -3
- package/.nuxt/ui/marquee.ts +0 -66
- package/.nuxt/ui/modal.ts +0 -60
- package/.nuxt/ui/navigation-menu.ts +0 -512
- package/.nuxt/ui/page-anchors.ts +0 -30
- package/.nuxt/ui/page-aside.ts +0 -10
- package/.nuxt/ui/page-body.ts +0 -3
- package/.nuxt/ui/page-card.ts +0 -274
- package/.nuxt/ui/page-columns.ts +0 -3
- package/.nuxt/ui/page-cta.ts +0 -70
- package/.nuxt/ui/page-feature.ts +0 -34
- package/.nuxt/ui/page-grid.ts +0 -3
- package/.nuxt/ui/page-header.ts +0 -18
- package/.nuxt/ui/page-hero.ts +0 -44
- package/.nuxt/ui/page-links.ts +0 -25
- package/.nuxt/ui/page-list.ts +0 -8
- package/.nuxt/ui/page-logos.ts +0 -15
- package/.nuxt/ui/page-section.ts +0 -84
- package/.nuxt/ui/page.ts +0 -32
- package/.nuxt/ui/pagination.ts +0 -13
- package/.nuxt/ui/pin-input.ts +0 -171
- package/.nuxt/ui/popover.ts +0 -6
- package/.nuxt/ui/pricing-plan.ts +0 -101
- package/.nuxt/ui/pricing-plans.ts +0 -22
- package/.nuxt/ui/pricing-table.ts +0 -51
- package/.nuxt/ui/progress.ts +0 -297
- package/.nuxt/ui/radio-group.ts +0 -352
- package/.nuxt/ui/scroll-area.ts +0 -21
- package/.nuxt/ui/select-menu.ts +0 -361
- package/.nuxt/ui/select.ts +0 -348
- package/.nuxt/ui/separator.ts +0 -172
- package/.nuxt/ui/skeleton.ts +0 -3
- package/.nuxt/ui/slideover.ts +0 -132
- package/.nuxt/ui/slider.ts +0 -171
- package/.nuxt/ui/stepper.ts +0 -202
- package/.nuxt/ui/switch.ts +0 -132
- package/.nuxt/ui/table.ts +0 -162
- package/.nuxt/ui/tabs.ts +0 -258
- package/.nuxt/ui/textarea.ts +0 -294
- package/.nuxt/ui/timeline.ts +0 -321
- package/.nuxt/ui/toast.ts +0 -74
- package/.nuxt/ui/toaster.ts +0 -91
- package/.nuxt/ui/tooltip.ts +0 -9
- package/.nuxt/ui/tree.ts +0 -168
- package/.nuxt/ui/user.ts +0 -101
- package/.nuxt/ui-image-component.ts +0 -1
- package/.nuxt/ui.css +0 -154
- package/app/components/Var.vue +0 -13
- package/pnpm-workspace.yaml +0 -5
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
const color = [
|
|
2
|
-
"primary",
|
|
3
|
-
"secondary",
|
|
4
|
-
"success",
|
|
5
|
-
"info",
|
|
6
|
-
"warning",
|
|
7
|
-
"error",
|
|
8
|
-
"neutral"
|
|
9
|
-
] as const
|
|
10
|
-
|
|
11
|
-
const size = [
|
|
12
|
-
"xs",
|
|
13
|
-
"sm",
|
|
14
|
-
"md",
|
|
15
|
-
"lg",
|
|
16
|
-
"xl"
|
|
17
|
-
] as const
|
|
18
|
-
|
|
19
|
-
export default {
|
|
20
|
-
"slots": {
|
|
21
|
-
"content": "min-w-32 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
|
|
22
|
-
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
23
|
-
"arrow": "fill-default",
|
|
24
|
-
"group": "p-1 isolate",
|
|
25
|
-
"label": "w-full flex items-center font-semibold text-highlighted",
|
|
26
|
-
"separator": "-mx-1 my-1 h-px bg-border",
|
|
27
|
-
"item": "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75",
|
|
28
|
-
"itemLeadingIcon": "shrink-0",
|
|
29
|
-
"itemLeadingAvatar": "shrink-0",
|
|
30
|
-
"itemLeadingAvatarSize": "",
|
|
31
|
-
"itemTrailing": "ms-auto inline-flex gap-1.5 items-center",
|
|
32
|
-
"itemTrailingIcon": "shrink-0",
|
|
33
|
-
"itemTrailingKbds": "hidden lg:inline-flex items-center shrink-0",
|
|
34
|
-
"itemTrailingKbdsSize": "",
|
|
35
|
-
"itemWrapper": "flex-1 flex flex-col text-start min-w-0",
|
|
36
|
-
"itemLabel": "truncate",
|
|
37
|
-
"itemDescription": "truncate text-muted",
|
|
38
|
-
"itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
|
|
39
|
-
},
|
|
40
|
-
"variants": {
|
|
41
|
-
"color": {
|
|
42
|
-
"primary": "",
|
|
43
|
-
"secondary": "",
|
|
44
|
-
"success": "",
|
|
45
|
-
"info": "",
|
|
46
|
-
"warning": "",
|
|
47
|
-
"error": "",
|
|
48
|
-
"neutral": ""
|
|
49
|
-
},
|
|
50
|
-
"active": {
|
|
51
|
-
"true": {
|
|
52
|
-
"item": "text-highlighted before:bg-elevated",
|
|
53
|
-
"itemLeadingIcon": "text-default"
|
|
54
|
-
},
|
|
55
|
-
"false": {
|
|
56
|
-
"item": [
|
|
57
|
-
"text-default data-highlighted:text-highlighted data-[state=open]:text-highlighted data-highlighted:before:bg-elevated/50 data-[state=open]:before:bg-elevated/50",
|
|
58
|
-
"transition-colors before:transition-colors"
|
|
59
|
-
],
|
|
60
|
-
"itemLeadingIcon": [
|
|
61
|
-
"text-dimmed group-data-highlighted:text-default group-data-[state=open]:text-default",
|
|
62
|
-
"transition-colors"
|
|
63
|
-
]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
|
-
"loading": {
|
|
67
|
-
"true": {
|
|
68
|
-
"itemLeadingIcon": "animate-spin"
|
|
69
|
-
}
|
|
70
|
-
},
|
|
71
|
-
"size": {
|
|
72
|
-
"xs": {
|
|
73
|
-
"label": "p-1 text-xs gap-1",
|
|
74
|
-
"item": "p-1 text-xs gap-1",
|
|
75
|
-
"itemLeadingIcon": "size-4",
|
|
76
|
-
"itemLeadingAvatarSize": "3xs",
|
|
77
|
-
"itemTrailingIcon": "size-4",
|
|
78
|
-
"itemTrailingKbds": "gap-0.5",
|
|
79
|
-
"itemTrailingKbdsSize": "sm"
|
|
80
|
-
},
|
|
81
|
-
"sm": {
|
|
82
|
-
"label": "p-1.5 text-xs gap-1.5",
|
|
83
|
-
"item": "p-1.5 text-xs gap-1.5",
|
|
84
|
-
"itemLeadingIcon": "size-4",
|
|
85
|
-
"itemLeadingAvatarSize": "3xs",
|
|
86
|
-
"itemTrailingIcon": "size-4",
|
|
87
|
-
"itemTrailingKbds": "gap-0.5",
|
|
88
|
-
"itemTrailingKbdsSize": "sm"
|
|
89
|
-
},
|
|
90
|
-
"md": {
|
|
91
|
-
"label": "p-1.5 text-sm gap-1.5",
|
|
92
|
-
"item": "p-1.5 text-sm gap-1.5",
|
|
93
|
-
"itemLeadingIcon": "size-5",
|
|
94
|
-
"itemLeadingAvatarSize": "2xs",
|
|
95
|
-
"itemTrailingIcon": "size-5",
|
|
96
|
-
"itemTrailingKbds": "gap-0.5",
|
|
97
|
-
"itemTrailingKbdsSize": "md"
|
|
98
|
-
},
|
|
99
|
-
"lg": {
|
|
100
|
-
"label": "p-2 text-sm gap-2",
|
|
101
|
-
"item": "p-2 text-sm gap-2",
|
|
102
|
-
"itemLeadingIcon": "size-5",
|
|
103
|
-
"itemLeadingAvatarSize": "2xs",
|
|
104
|
-
"itemTrailingIcon": "size-5",
|
|
105
|
-
"itemTrailingKbds": "gap-1",
|
|
106
|
-
"itemTrailingKbdsSize": "md"
|
|
107
|
-
},
|
|
108
|
-
"xl": {
|
|
109
|
-
"label": "p-2 text-base gap-2",
|
|
110
|
-
"item": "p-2 text-base gap-2",
|
|
111
|
-
"itemLeadingIcon": "size-6",
|
|
112
|
-
"itemLeadingAvatarSize": "xs",
|
|
113
|
-
"itemTrailingIcon": "size-6",
|
|
114
|
-
"itemTrailingKbds": "gap-1",
|
|
115
|
-
"itemTrailingKbdsSize": "lg"
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
"compoundVariants": [
|
|
120
|
-
{
|
|
121
|
-
"color": "primary" as typeof color[number],
|
|
122
|
-
"active": false,
|
|
123
|
-
"class": {
|
|
124
|
-
"item": "text-primary data-highlighted:text-primary data-highlighted:before:bg-primary/10 data-[state=open]:before:bg-primary/10",
|
|
125
|
-
"itemLeadingIcon": "text-primary/75 group-data-highlighted:text-primary group-data-[state=open]:text-primary"
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
"color": "secondary" as typeof color[number],
|
|
130
|
-
"active": false,
|
|
131
|
-
"class": {
|
|
132
|
-
"item": "text-secondary data-highlighted:text-secondary data-highlighted:before:bg-secondary/10 data-[state=open]:before:bg-secondary/10",
|
|
133
|
-
"itemLeadingIcon": "text-secondary/75 group-data-highlighted:text-secondary group-data-[state=open]:text-secondary"
|
|
134
|
-
}
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
"color": "success" as typeof color[number],
|
|
138
|
-
"active": false,
|
|
139
|
-
"class": {
|
|
140
|
-
"item": "text-success data-highlighted:text-success data-highlighted:before:bg-success/10 data-[state=open]:before:bg-success/10",
|
|
141
|
-
"itemLeadingIcon": "text-success/75 group-data-highlighted:text-success group-data-[state=open]:text-success"
|
|
142
|
-
}
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
"color": "info" as typeof color[number],
|
|
146
|
-
"active": false,
|
|
147
|
-
"class": {
|
|
148
|
-
"item": "text-info data-highlighted:text-info data-highlighted:before:bg-info/10 data-[state=open]:before:bg-info/10",
|
|
149
|
-
"itemLeadingIcon": "text-info/75 group-data-highlighted:text-info group-data-[state=open]:text-info"
|
|
150
|
-
}
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
"color": "warning" as typeof color[number],
|
|
154
|
-
"active": false,
|
|
155
|
-
"class": {
|
|
156
|
-
"item": "text-warning data-highlighted:text-warning data-highlighted:before:bg-warning/10 data-[state=open]:before:bg-warning/10",
|
|
157
|
-
"itemLeadingIcon": "text-warning/75 group-data-highlighted:text-warning group-data-[state=open]:text-warning"
|
|
158
|
-
}
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
"color": "error" as typeof color[number],
|
|
162
|
-
"active": false,
|
|
163
|
-
"class": {
|
|
164
|
-
"item": "text-error data-highlighted:text-error data-highlighted:before:bg-error/10 data-[state=open]:before:bg-error/10",
|
|
165
|
-
"itemLeadingIcon": "text-error/75 group-data-highlighted:text-error group-data-[state=open]:text-error"
|
|
166
|
-
}
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
"color": "primary" as typeof color[number],
|
|
170
|
-
"active": true,
|
|
171
|
-
"class": {
|
|
172
|
-
"item": "text-primary before:bg-primary/10",
|
|
173
|
-
"itemLeadingIcon": "text-primary"
|
|
174
|
-
}
|
|
175
|
-
},
|
|
176
|
-
{
|
|
177
|
-
"color": "secondary" as typeof color[number],
|
|
178
|
-
"active": true,
|
|
179
|
-
"class": {
|
|
180
|
-
"item": "text-secondary before:bg-secondary/10",
|
|
181
|
-
"itemLeadingIcon": "text-secondary"
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
"color": "success" as typeof color[number],
|
|
186
|
-
"active": true,
|
|
187
|
-
"class": {
|
|
188
|
-
"item": "text-success before:bg-success/10",
|
|
189
|
-
"itemLeadingIcon": "text-success"
|
|
190
|
-
}
|
|
191
|
-
},
|
|
192
|
-
{
|
|
193
|
-
"color": "info" as typeof color[number],
|
|
194
|
-
"active": true,
|
|
195
|
-
"class": {
|
|
196
|
-
"item": "text-info before:bg-info/10",
|
|
197
|
-
"itemLeadingIcon": "text-info"
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
{
|
|
201
|
-
"color": "warning" as typeof color[number],
|
|
202
|
-
"active": true,
|
|
203
|
-
"class": {
|
|
204
|
-
"item": "text-warning before:bg-warning/10",
|
|
205
|
-
"itemLeadingIcon": "text-warning"
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
"color": "error" as typeof color[number],
|
|
210
|
-
"active": true,
|
|
211
|
-
"class": {
|
|
212
|
-
"item": "text-error before:bg-error/10",
|
|
213
|
-
"itemLeadingIcon": "text-error"
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
],
|
|
217
|
-
"defaultVariants": {
|
|
218
|
-
"size": "md" as typeof size[number]
|
|
219
|
-
}
|
|
220
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"content": "min-w-48 max-w-60 max-h-96 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
|
|
4
|
-
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
5
|
-
"group": "p-1 isolate",
|
|
6
|
-
"label": "w-full flex items-center font-semibold text-highlighted p-1.5 text-xs gap-1.5",
|
|
7
|
-
"separator": "-mx-1 my-1 h-px bg-border",
|
|
8
|
-
"item": "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 p-1.5 text-sm gap-1.5",
|
|
9
|
-
"itemLeadingIcon": "shrink-0 size-5 flex items-center justify-center text-base",
|
|
10
|
-
"itemLeadingAvatar": "shrink-0",
|
|
11
|
-
"itemLeadingAvatarSize": "2xs",
|
|
12
|
-
"itemWrapper": "flex-1 flex flex-col text-start min-w-0",
|
|
13
|
-
"itemLabel": "truncate",
|
|
14
|
-
"itemDescription": "truncate text-muted",
|
|
15
|
-
"itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
|
|
16
|
-
},
|
|
17
|
-
"variants": {
|
|
18
|
-
"active": {
|
|
19
|
-
"true": {
|
|
20
|
-
"item": "text-highlighted before:bg-elevated/75",
|
|
21
|
-
"itemLeadingIcon": "text-default"
|
|
22
|
-
},
|
|
23
|
-
"false": {
|
|
24
|
-
"item": [
|
|
25
|
-
"text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
|
|
26
|
-
"transition-colors before:transition-colors"
|
|
27
|
-
],
|
|
28
|
-
"itemLeadingIcon": [
|
|
29
|
-
"text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
|
|
30
|
-
"transition-colors"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"content": "min-w-48 max-w-60 max-h-96 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
|
|
4
|
-
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
5
|
-
"group": "p-1 isolate",
|
|
6
|
-
"label": "w-full flex items-center font-semibold text-highlighted p-1.5 text-xs gap-1.5",
|
|
7
|
-
"separator": "-mx-1 my-1 h-px bg-border",
|
|
8
|
-
"item": "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 p-1.5 text-sm gap-1.5",
|
|
9
|
-
"itemLeadingIcon": "shrink-0 size-5 flex items-center justify-center text-base",
|
|
10
|
-
"itemLeadingAvatar": "shrink-0",
|
|
11
|
-
"itemLeadingAvatarSize": "2xs",
|
|
12
|
-
"itemWrapper": "flex-1 flex flex-col text-start min-w-0",
|
|
13
|
-
"itemLabel": "truncate",
|
|
14
|
-
"itemDescription": "truncate text-muted",
|
|
15
|
-
"itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
|
|
16
|
-
},
|
|
17
|
-
"variants": {
|
|
18
|
-
"active": {
|
|
19
|
-
"true": {
|
|
20
|
-
"item": "text-highlighted before:bg-elevated/75",
|
|
21
|
-
"itemLeadingIcon": "text-default"
|
|
22
|
-
},
|
|
23
|
-
"false": {
|
|
24
|
-
"item": [
|
|
25
|
-
"text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
|
|
26
|
-
"transition-colors before:transition-colors"
|
|
27
|
-
],
|
|
28
|
-
"itemLeadingIcon": [
|
|
29
|
-
"text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
|
|
30
|
-
"transition-colors"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"content": "min-w-48 max-w-60 max-h-96 bg-default shadow-lg rounded-md ring ring-default overflow-hidden data-[state=open]:animate-[scale-in_100ms_ease-out] data-[state=closed]:animate-[scale-out_100ms_ease-in] origin-(--reka-dropdown-menu-content-transform-origin) flex flex-col",
|
|
4
|
-
"viewport": "relative divide-y divide-default scroll-py-1 overflow-y-auto flex-1",
|
|
5
|
-
"group": "p-1 isolate",
|
|
6
|
-
"label": "w-full flex items-center font-semibold text-highlighted p-1.5 text-xs gap-1.5",
|
|
7
|
-
"separator": "-mx-1 my-1 h-px bg-border",
|
|
8
|
-
"item": "group relative w-full flex items-start select-none outline-none before:absolute before:z-[-1] before:inset-px before:rounded-md data-disabled:cursor-not-allowed data-disabled:opacity-75 p-1.5 text-sm gap-1.5",
|
|
9
|
-
"itemLeadingIcon": "shrink-0 size-5 flex items-center justify-center text-base",
|
|
10
|
-
"itemLeadingAvatar": "shrink-0",
|
|
11
|
-
"itemLeadingAvatarSize": "2xs",
|
|
12
|
-
"itemWrapper": "flex-1 flex flex-col text-start min-w-0",
|
|
13
|
-
"itemLabel": "truncate",
|
|
14
|
-
"itemDescription": "truncate text-muted",
|
|
15
|
-
"itemLabelExternalIcon": "inline-block size-3 align-top text-dimmed"
|
|
16
|
-
},
|
|
17
|
-
"variants": {
|
|
18
|
-
"active": {
|
|
19
|
-
"true": {
|
|
20
|
-
"item": "text-highlighted before:bg-elevated/75",
|
|
21
|
-
"itemLeadingIcon": "text-default"
|
|
22
|
-
},
|
|
23
|
-
"false": {
|
|
24
|
-
"item": [
|
|
25
|
-
"text-default data-highlighted:not-data-disabled:text-highlighted data-highlighted:not-data-disabled:before:bg-elevated/50",
|
|
26
|
-
"transition-colors before:transition-colors"
|
|
27
|
-
],
|
|
28
|
-
"itemLeadingIcon": [
|
|
29
|
-
"text-dimmed group-data-highlighted:not-group-data-disabled:text-default",
|
|
30
|
-
"transition-colors"
|
|
31
|
-
]
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"root": "focus:outline-none",
|
|
4
|
-
"base": "flex items-stretch gap-1.5",
|
|
5
|
-
"group": "flex items-center gap-0.5",
|
|
6
|
-
"separator": "w-px self-stretch bg-border"
|
|
7
|
-
},
|
|
8
|
-
"variants": {
|
|
9
|
-
"layout": {
|
|
10
|
-
"bubble": {
|
|
11
|
-
"base": "bg-default border border-default rounded-lg p-1"
|
|
12
|
-
},
|
|
13
|
-
"floating": {
|
|
14
|
-
"base": "bg-default border border-default rounded-lg p-1"
|
|
15
|
-
},
|
|
16
|
-
"fixed": {
|
|
17
|
-
"base": ""
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
package/.nuxt/ui/editor.ts
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"root": "",
|
|
4
|
-
"content": "relative size-full flex-1",
|
|
5
|
-
"base": [
|
|
6
|
-
"w-full outline-none *:my-5 *:first:mt-0 *:last:mb-0 sm:px-8 selection:bg-primary/20",
|
|
7
|
-
"[&_:is(p,h1,h2,h3,h4).is-empty]:before:content-[attr(data-placeholder)] [&_:is(p,h1,h2,h3,h4).is-empty]:before:text-dimmed [&_:is(p,h1,h2,h3,h4).is-empty]:before:float-left [&_:is(p,h1,h2,h3,h4).is-empty]:before:h-0 [&_:is(p,h1,h2,h3,h4).is-empty]:before:pointer-events-none",
|
|
8
|
-
"[&_li_.is-empty]:before:content-none",
|
|
9
|
-
"[&_p]:leading-7",
|
|
10
|
-
"[&_a]:text-primary [&_a]:border-b [&_a]:border-transparent [&_a]:hover:border-primary [&_a]:font-medium",
|
|
11
|
-
"[&_a]:transition-colors",
|
|
12
|
-
"[&_.mention]:text-primary [&_.mention]:font-medium",
|
|
13
|
-
"[&_:is(h1,h2,h3,h4)]:text-highlighted [&_:is(h1,h2,h3,h4)]:font-bold",
|
|
14
|
-
"[&_h1]:text-3xl",
|
|
15
|
-
"[&_h2]:text-2xl",
|
|
16
|
-
"[&_h3]:text-xl",
|
|
17
|
-
"[&_h4]:text-lg",
|
|
18
|
-
"[&_:is(h1,h2,h3,h4)>code]:border-dashed [&_:is(h1,h2,h3,h4)>code]:font-bold",
|
|
19
|
-
"[&_h2>code]:text-xl/6",
|
|
20
|
-
"[&_h3>code]:text-lg/5",
|
|
21
|
-
"[&_blockquote]:border-s-4 [&_blockquote]:border-accented [&_blockquote]:ps-4 [&_blockquote]:italic",
|
|
22
|
-
"[&_[data-type=horizontalRule]]:my-8 [&_[data-type=horizontalRule]]:py-2",
|
|
23
|
-
"[&_hr]:border-t [&_hr]:border-default",
|
|
24
|
-
"[&_pre]:text-sm/6 [&_pre]:border [&_pre]:border-muted [&_pre]:bg-muted [&_pre]:rounded-md [&_pre]:px-4 [&_pre]:py-3 [&_pre]:whitespace-pre-wrap [&_pre]:break-words [&_pre]:overflow-x-auto",
|
|
25
|
-
"[&_pre_code]:p-0 [&_pre_code]:text-inherit [&_pre_code]:font-inherit [&_pre_code]:rounded-none [&_pre_code]:inline [&_pre_code]:border-0 [&_pre_code]:bg-transparent",
|
|
26
|
-
"[&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-sm [&_code]:font-mono [&_code]:font-medium [&_code]:rounded-md [&_code]:inline-block [&_code]:border [&_code]:border-muted [&_code]:text-highlighted [&_code]:bg-muted",
|
|
27
|
-
"[&_:is(ul,ol)]:ps-6",
|
|
28
|
-
"[&_ul]:list-disc [&_ul]:marker:text-(--ui-border-accented)",
|
|
29
|
-
"[&_ol]:list-decimal [&_ol]:marker:text-muted",
|
|
30
|
-
"[&_li]:my-1.5 [&_li]:ps-1.5",
|
|
31
|
-
"[&_img]:rounded-md [&_img]:block [&_img]:max-w-full [&_img.ProseMirror-selectednode]:outline-2 [&_img.ProseMirror-selectednode]:outline-primary",
|
|
32
|
-
"[&_.ProseMirror-selectednode:not(img):not(pre):not([data-node-view-wrapper])]:bg-primary/20"
|
|
33
|
-
]
|
|
34
|
-
}
|
|
35
|
-
}
|
package/.nuxt/ui/empty.ts
DELETED
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
const size = [
|
|
2
|
-
"xs",
|
|
3
|
-
"sm",
|
|
4
|
-
"md",
|
|
5
|
-
"lg",
|
|
6
|
-
"xl"
|
|
7
|
-
] as const
|
|
8
|
-
|
|
9
|
-
const variant = [
|
|
10
|
-
"solid",
|
|
11
|
-
"outline",
|
|
12
|
-
"soft",
|
|
13
|
-
"subtle",
|
|
14
|
-
"naked"
|
|
15
|
-
] as const
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
"slots": {
|
|
19
|
-
"root": "relative flex flex-col items-center justify-center gap-4 rounded-lg p-4 sm:p-6 lg:p-8 min-w-0",
|
|
20
|
-
"header": "flex flex-col items-center gap-2 max-w-sm text-center",
|
|
21
|
-
"avatar": "shrink-0 mb-2",
|
|
22
|
-
"title": "text-highlighted text-pretty font-medium",
|
|
23
|
-
"description": "text-balance text-center",
|
|
24
|
-
"body": "flex flex-col items-center gap-4 max-w-sm",
|
|
25
|
-
"actions": "flex flex-wrap justify-center gap-2 shrink-0",
|
|
26
|
-
"footer": "flex flex-col items-center gap-2 max-w-sm"
|
|
27
|
-
},
|
|
28
|
-
"variants": {
|
|
29
|
-
"size": {
|
|
30
|
-
"xs": {
|
|
31
|
-
"avatar": "size-8 text-base",
|
|
32
|
-
"title": "text-sm",
|
|
33
|
-
"description": "text-xs"
|
|
34
|
-
},
|
|
35
|
-
"sm": {
|
|
36
|
-
"avatar": "size-9 text-lg",
|
|
37
|
-
"title": "text-sm",
|
|
38
|
-
"description": "text-xs"
|
|
39
|
-
},
|
|
40
|
-
"md": {
|
|
41
|
-
"avatar": "size-10 text-xl",
|
|
42
|
-
"title": "text-base",
|
|
43
|
-
"description": "text-sm"
|
|
44
|
-
},
|
|
45
|
-
"lg": {
|
|
46
|
-
"avatar": "size-11 text-[22px]",
|
|
47
|
-
"title": "text-base",
|
|
48
|
-
"description": "text-sm"
|
|
49
|
-
},
|
|
50
|
-
"xl": {
|
|
51
|
-
"avatar": "size-12 text-2xl",
|
|
52
|
-
"title": "text-lg",
|
|
53
|
-
"description": "text-base"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"variant": {
|
|
57
|
-
"solid": {
|
|
58
|
-
"root": "bg-inverted",
|
|
59
|
-
"title": "text-inverted",
|
|
60
|
-
"description": "text-dimmed"
|
|
61
|
-
},
|
|
62
|
-
"outline": {
|
|
63
|
-
"root": "bg-default ring ring-default",
|
|
64
|
-
"description": "text-muted"
|
|
65
|
-
},
|
|
66
|
-
"soft": {
|
|
67
|
-
"root": "bg-elevated/50",
|
|
68
|
-
"description": "text-toned"
|
|
69
|
-
},
|
|
70
|
-
"subtle": {
|
|
71
|
-
"root": "bg-elevated/50 ring ring-default",
|
|
72
|
-
"description": "text-toned"
|
|
73
|
-
},
|
|
74
|
-
"naked": {
|
|
75
|
-
"description": "text-muted"
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
},
|
|
79
|
-
"defaultVariants": {
|
|
80
|
-
"variant": "outline" as typeof variant[number],
|
|
81
|
-
"size": "md" as typeof size[number]
|
|
82
|
-
}
|
|
83
|
-
}
|
package/.nuxt/ui/error.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"slots": {
|
|
3
|
-
"root": "min-h-[calc(100vh-var(--ui-header-height))] flex flex-col items-center justify-center text-center",
|
|
4
|
-
"statusCode": "text-base font-semibold text-primary",
|
|
5
|
-
"statusMessage": "mt-2 text-4xl sm:text-5xl font-bold text-highlighted text-balance",
|
|
6
|
-
"message": "mt-4 text-lg text-muted text-balance",
|
|
7
|
-
"links": "mt-8 flex items-center justify-center gap-6"
|
|
8
|
-
}
|
|
9
|
-
}
|
package/.nuxt/ui/field-group.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
"base": "relative",
|
|
3
|
-
"variants": {
|
|
4
|
-
"size": {
|
|
5
|
-
"xs": "",
|
|
6
|
-
"sm": "",
|
|
7
|
-
"md": "",
|
|
8
|
-
"lg": "",
|
|
9
|
-
"xl": ""
|
|
10
|
-
},
|
|
11
|
-
"orientation": {
|
|
12
|
-
"horizontal": "inline-flex -space-x-px",
|
|
13
|
-
"vertical": "flex flex-col -space-y-px"
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|