@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.
Files changed (165) hide show
  1. package/LICENSE +21 -0
  2. package/app/assets/css/utilities.css +3 -0
  3. package/app/components/Define.vue +13 -0
  4. package/app/components/layout/LayoutDashboard.vue +1 -1
  5. package/app/components/u/UField.vue +17 -6
  6. package/app/components/u/UForm.vue +90 -0
  7. package/app/components/u/UInputDurationMinutes.vue +1 -1
  8. package/app/composables/useTableColumns.tsx +1 -1
  9. package/app/composables/useToast.ts +3 -3
  10. package/app/utils/debug.ts +48 -0
  11. package/app/utils/files.ts +22 -0
  12. package/app/utils/plugins.ts +45 -6
  13. package/package.json +19 -3
  14. package/server/plugins/error.ts +20 -0
  15. package/server/utils/error.ts +24 -0
  16. package/shared/types/helpers.ts +27 -0
  17. package/shared/utils/helpers.ts +3 -0
  18. package/.nuxt/app.config.mjs +0 -317
  19. package/.nuxt/components.d.ts +0 -332
  20. package/.nuxt/imports.d.ts +0 -61
  21. package/.nuxt/manifest/meta/24fb5e89-93fb-44cb-bbff-2a13f165c1e8.json +0 -1
  22. package/.nuxt/nuxt-icon-client-bundle.mjs +0 -1
  23. package/.nuxt/nuxt-icon-server-bundle.mjs +0 -14
  24. package/.nuxt/nuxt.d.ts +0 -24
  25. package/.nuxt/nuxt.node.d.ts +0 -14
  26. package/.nuxt/nuxt.shared.d.ts +0 -5
  27. package/.nuxt/schema/nuxt.schema.d.ts +0 -210
  28. package/.nuxt/schema/nuxt.schema.json +0 -263
  29. package/.nuxt/tsconfig.app.json +0 -217
  30. package/.nuxt/tsconfig.json +0 -219
  31. package/.nuxt/tsconfig.node.json +0 -114
  32. package/.nuxt/tsconfig.server.json +0 -140
  33. package/.nuxt/tsconfig.shared.json +0 -139
  34. package/.nuxt/types/app.config.d.ts +0 -331
  35. package/.nuxt/types/build.d.ts +0 -24
  36. package/.nuxt/types/builder-env.d.ts +0 -1
  37. package/.nuxt/types/components.d.ts +0 -337
  38. package/.nuxt/types/imports.d.ts +0 -906
  39. package/.nuxt/types/layouts.d.ts +0 -7
  40. package/.nuxt/types/middleware.d.ts +0 -7
  41. package/.nuxt/types/modules.d.ts +0 -159
  42. package/.nuxt/types/nitro-config.d.ts +0 -14
  43. package/.nuxt/types/nitro-imports.d.ts +0 -141
  44. package/.nuxt/types/nitro-middleware.d.ts +0 -11
  45. package/.nuxt/types/nitro-nuxt.d.ts +0 -61
  46. package/.nuxt/types/nitro-routes.d.ts +0 -17
  47. package/.nuxt/types/nitro.d.ts +0 -3
  48. package/.nuxt/types/plugins.d.ts +0 -35
  49. package/.nuxt/types/runtime-config.d.ts +0 -36
  50. package/.nuxt/types/ui.d.ts +0 -36
  51. package/.nuxt/types/vue-shim.d.ts +0 -0
  52. package/.nuxt/ui/accordion.ts +0 -20
  53. package/.nuxt/ui/alert.ts +0 -264
  54. package/.nuxt/ui/auth-form.ts +0 -20
  55. package/.nuxt/ui/avatar-group.ts +0 -52
  56. package/.nuxt/ui/avatar.ts +0 -54
  57. package/.nuxt/ui/badge.ts +0 -263
  58. package/.nuxt/ui/banner.ts +0 -108
  59. package/.nuxt/ui/blog-post.ts +0 -143
  60. package/.nuxt/ui/blog-posts.ts +0 -9
  61. package/.nuxt/ui/breadcrumb.ts +0 -45
  62. package/.nuxt/ui/button.ts +0 -378
  63. package/.nuxt/ui/calendar.ts +0 -315
  64. package/.nuxt/ui/card.ts +0 -34
  65. package/.nuxt/ui/carousel.ts +0 -38
  66. package/.nuxt/ui/changelog-version.ts +0 -45
  67. package/.nuxt/ui/changelog-versions.ts +0 -8
  68. package/.nuxt/ui/chat-message.ts +0 -136
  69. package/.nuxt/ui/chat-messages.ts +0 -14
  70. package/.nuxt/ui/chat-palette.ts +0 -8
  71. package/.nuxt/ui/chat-prompt-submit.ts +0 -5
  72. package/.nuxt/ui/chat-prompt.ts +0 -35
  73. package/.nuxt/ui/checkbox-group.ts +0 -207
  74. package/.nuxt/ui/checkbox.ts +0 -237
  75. package/.nuxt/ui/chip.ts +0 -96
  76. package/.nuxt/ui/collapsible.ts +0 -6
  77. package/.nuxt/ui/color-picker.ts +0 -47
  78. package/.nuxt/ui/command-palette.ts +0 -62
  79. package/.nuxt/ui/container.ts +0 -3
  80. package/.nuxt/ui/context-menu.ts +0 -219
  81. package/.nuxt/ui/dashboard-group.ts +0 -3
  82. package/.nuxt/ui/dashboard-navbar.ts +0 -21
  83. package/.nuxt/ui/dashboard-panel.ts +0 -17
  84. package/.nuxt/ui/dashboard-resize-handle.ts +0 -3
  85. package/.nuxt/ui/dashboard-search-button.ts +0 -15
  86. package/.nuxt/ui/dashboard-search.ts +0 -13
  87. package/.nuxt/ui/dashboard-sidebar-collapse.ts +0 -9
  88. package/.nuxt/ui/dashboard-sidebar-toggle.ts +0 -9
  89. package/.nuxt/ui/dashboard-sidebar.ts +0 -37
  90. package/.nuxt/ui/dashboard-toolbar.ts +0 -7
  91. package/.nuxt/ui/drawer.ts +0 -149
  92. package/.nuxt/ui/dropdown-menu.ts +0 -220
  93. package/.nuxt/ui/editor-drag-handle.ts +0 -6
  94. package/.nuxt/ui/editor-emoji-menu.ts +0 -35
  95. package/.nuxt/ui/editor-mention-menu.ts +0 -35
  96. package/.nuxt/ui/editor-suggestion-menu.ts +0 -35
  97. package/.nuxt/ui/editor-toolbar.ts +0 -21
  98. package/.nuxt/ui/editor.ts +0 -35
  99. package/.nuxt/ui/empty.ts +0 -83
  100. package/.nuxt/ui/error.ts +0 -9
  101. package/.nuxt/ui/field-group.ts +0 -16
  102. package/.nuxt/ui/file-upload.ts +0 -290
  103. package/.nuxt/ui/footer-columns.ts +0 -28
  104. package/.nuxt/ui/footer.ts +0 -11
  105. package/.nuxt/ui/form-field.ts +0 -62
  106. package/.nuxt/ui/form.ts +0 -3
  107. package/.nuxt/ui/header.ts +0 -25
  108. package/.nuxt/ui/index.ts +0 -109
  109. package/.nuxt/ui/input-date.ts +0 -337
  110. package/.nuxt/ui/input-menu.ts +0 -460
  111. package/.nuxt/ui/input-number.ts +0 -256
  112. package/.nuxt/ui/input-tags.ts +0 -310
  113. package/.nuxt/ui/input-time.ts +0 -336
  114. package/.nuxt/ui/input.ts +0 -289
  115. package/.nuxt/ui/kbd.ts +0 -195
  116. package/.nuxt/ui/link.ts +0 -22
  117. package/.nuxt/ui/main.ts +0 -3
  118. package/.nuxt/ui/marquee.ts +0 -66
  119. package/.nuxt/ui/modal.ts +0 -60
  120. package/.nuxt/ui/navigation-menu.ts +0 -512
  121. package/.nuxt/ui/page-anchors.ts +0 -30
  122. package/.nuxt/ui/page-aside.ts +0 -10
  123. package/.nuxt/ui/page-body.ts +0 -3
  124. package/.nuxt/ui/page-card.ts +0 -274
  125. package/.nuxt/ui/page-columns.ts +0 -3
  126. package/.nuxt/ui/page-cta.ts +0 -70
  127. package/.nuxt/ui/page-feature.ts +0 -34
  128. package/.nuxt/ui/page-grid.ts +0 -3
  129. package/.nuxt/ui/page-header.ts +0 -18
  130. package/.nuxt/ui/page-hero.ts +0 -44
  131. package/.nuxt/ui/page-links.ts +0 -25
  132. package/.nuxt/ui/page-list.ts +0 -8
  133. package/.nuxt/ui/page-logos.ts +0 -15
  134. package/.nuxt/ui/page-section.ts +0 -84
  135. package/.nuxt/ui/page.ts +0 -32
  136. package/.nuxt/ui/pagination.ts +0 -13
  137. package/.nuxt/ui/pin-input.ts +0 -171
  138. package/.nuxt/ui/popover.ts +0 -6
  139. package/.nuxt/ui/pricing-plan.ts +0 -101
  140. package/.nuxt/ui/pricing-plans.ts +0 -22
  141. package/.nuxt/ui/pricing-table.ts +0 -51
  142. package/.nuxt/ui/progress.ts +0 -297
  143. package/.nuxt/ui/radio-group.ts +0 -352
  144. package/.nuxt/ui/scroll-area.ts +0 -21
  145. package/.nuxt/ui/select-menu.ts +0 -361
  146. package/.nuxt/ui/select.ts +0 -348
  147. package/.nuxt/ui/separator.ts +0 -172
  148. package/.nuxt/ui/skeleton.ts +0 -3
  149. package/.nuxt/ui/slideover.ts +0 -132
  150. package/.nuxt/ui/slider.ts +0 -171
  151. package/.nuxt/ui/stepper.ts +0 -202
  152. package/.nuxt/ui/switch.ts +0 -132
  153. package/.nuxt/ui/table.ts +0 -162
  154. package/.nuxt/ui/tabs.ts +0 -258
  155. package/.nuxt/ui/textarea.ts +0 -294
  156. package/.nuxt/ui/timeline.ts +0 -321
  157. package/.nuxt/ui/toast.ts +0 -74
  158. package/.nuxt/ui/toaster.ts +0 -91
  159. package/.nuxt/ui/tooltip.ts +0 -9
  160. package/.nuxt/ui/tree.ts +0 -168
  161. package/.nuxt/ui/user.ts +0 -101
  162. package/.nuxt/ui-image-component.ts +0 -1
  163. package/.nuxt/ui.css +0 -154
  164. package/app/components/Var.vue +0 -13
  165. 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,6 +0,0 @@
1
- export default {
2
- "slots": {
3
- "root": "hidden sm:flex items-center justify-center transition-all duration-200 ease-out",
4
- "handle": "cursor-grab px-1"
5
- }
6
- }
@@ -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
- }
@@ -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
- }
@@ -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
- }