nuxt-ignis 0.2.5 → 0.3.1

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 (140) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +43 -0
  3. package/.nuxt/app.config.mjs +18 -0
  4. package/.nuxt/component-chunk.mjs +1 -0
  5. package/.nuxt/components.d.ts +322 -0
  6. package/.nuxt/content/components.ts +51 -0
  7. package/.nuxt/content/database.compressed.mjs +1 -0
  8. package/.nuxt/content/manifest.ts +33 -0
  9. package/.nuxt/content/sql_dump +6 -0
  10. package/.nuxt/content/types.d.ts +13 -0
  11. package/.nuxt/dist/server/client.manifest.json +18 -0
  12. package/.nuxt/dist/server/client.manifest.mjs +18 -0
  13. package/.nuxt/dist/server/server.mjs +1 -0
  14. package/.nuxt/eslint-typegen.d.ts +9401 -0
  15. package/.nuxt/eslint.config.d.mts +9 -0
  16. package/.nuxt/eslint.config.mjs +53 -0
  17. package/.nuxt/i18n.options.mjs +165 -0
  18. package/.nuxt/imports.d.ts +82 -0
  19. package/.nuxt/manifest/latest.json +1 -0
  20. package/.nuxt/manifest/meta/dev.json +1 -0
  21. package/.nuxt/mdc-configs.mjs +8 -0
  22. package/.nuxt/mdc-highlighter.mjs +213 -0
  23. package/.nuxt/mdc-image-component.mjs +1 -0
  24. package/.nuxt/mdc-imports.mjs +12 -0
  25. package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
  26. package/.nuxt/module/nuxt-robots.d.ts +35 -0
  27. package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  28. package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
  29. package/.nuxt/module/nuxt-site-config.d.ts +43 -0
  30. package/.nuxt/modules/@nuxt-scripts.d.ts +13 -0
  31. package/.nuxt/nitro.json +17 -0
  32. package/.nuxt/nuxt-fonts-global.css +0 -0
  33. package/.nuxt/nuxt-i18n-logger.mjs +1 -0
  34. package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
  35. package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
  36. package/.nuxt/nuxt.d.ts +49 -0
  37. package/.nuxt/nuxt.json +9 -0
  38. package/.nuxt/schema/nuxt.schema.d.ts +17 -0
  39. package/.nuxt/schema/nuxt.schema.json +3 -0
  40. package/.nuxt/tailwind/postcss.mjs +15 -0
  41. package/.nuxt/tsconfig.json +374 -0
  42. package/.nuxt/tsconfig.server.json +292 -0
  43. package/.nuxt/types/app-defaults.d.ts +7 -0
  44. package/.nuxt/types/app.config.d.ts +31 -0
  45. package/.nuxt/types/build.d.ts +27 -0
  46. package/.nuxt/types/builder-env.d.ts +1 -0
  47. package/.nuxt/types/i18n-plugin.d.ts +104 -0
  48. package/.nuxt/types/imports.d.ts +899 -0
  49. package/.nuxt/types/layouts.d.ts +7 -0
  50. package/.nuxt/types/middleware.d.ts +7 -0
  51. package/.nuxt/types/neon.d.ts +35 -0
  52. package/.nuxt/types/nitro-config.d.ts +14 -0
  53. package/.nuxt/types/nitro-imports.d.ts +405 -0
  54. package/.nuxt/types/nitro-middleware.d.ts +6 -0
  55. package/.nuxt/types/nitro-nuxt.d.ts +34 -0
  56. package/.nuxt/types/nitro-routes.d.ts +81 -0
  57. package/.nuxt/types/nitro.d.ts +3 -0
  58. package/.nuxt/types/plugins.d.ts +57 -0
  59. package/.nuxt/types/schema.d.ts +1372 -0
  60. package/.nuxt/types/ui.d.ts +35 -0
  61. package/.nuxt/types/vue-shim.d.ts +0 -0
  62. package/.nuxt/ui/accordion.ts +20 -0
  63. package/.nuxt/ui/alert.ts +264 -0
  64. package/.nuxt/ui/avatar-group.ts +52 -0
  65. package/.nuxt/ui/avatar.ts +54 -0
  66. package/.nuxt/ui/badge.ts +263 -0
  67. package/.nuxt/ui/breadcrumb.ts +45 -0
  68. package/.nuxt/ui/button-group.ts +16 -0
  69. package/.nuxt/ui/button.ts +378 -0
  70. package/.nuxt/ui/calendar.ts +103 -0
  71. package/.nuxt/ui/card.ts +34 -0
  72. package/.nuxt/ui/carousel.ts +38 -0
  73. package/.nuxt/ui/checkbox-group.ts +204 -0
  74. package/.nuxt/ui/checkbox.ts +236 -0
  75. package/.nuxt/ui/chip.ts +96 -0
  76. package/.nuxt/ui/collapsible.ts +6 -0
  77. package/.nuxt/ui/color-picker.ts +47 -0
  78. package/.nuxt/ui/command-palette.ts +50 -0
  79. package/.nuxt/ui/container.ts +3 -0
  80. package/.nuxt/ui/context-menu.ts +216 -0
  81. package/.nuxt/ui/drawer.ts +126 -0
  82. package/.nuxt/ui/dropdown-menu.ts +217 -0
  83. package/.nuxt/ui/form-field.ts +48 -0
  84. package/.nuxt/ui/form.ts +3 -0
  85. package/.nuxt/ui/index.ts +50 -0
  86. package/.nuxt/ui/input-menu.ts +436 -0
  87. package/.nuxt/ui/input-number.ts +245 -0
  88. package/.nuxt/ui/input.ts +289 -0
  89. package/.nuxt/ui/kbd.ts +31 -0
  90. package/.nuxt/ui/link.ts +22 -0
  91. package/.nuxt/ui/modal.ts +29 -0
  92. package/.nuxt/ui/navigation-menu.ts +501 -0
  93. package/.nuxt/ui/pagination.ts +13 -0
  94. package/.nuxt/ui/pin-input.ts +171 -0
  95. package/.nuxt/ui/popover.ts +6 -0
  96. package/.nuxt/ui/progress.ts +297 -0
  97. package/.nuxt/ui/radio-group.ts +350 -0
  98. package/.nuxt/ui/select-menu.ts +346 -0
  99. package/.nuxt/ui/select.ts +341 -0
  100. package/.nuxt/ui/separator.ts +172 -0
  101. package/.nuxt/ui/skeleton.ts +3 -0
  102. package/.nuxt/ui/slideover.ts +71 -0
  103. package/.nuxt/ui/slider.ts +171 -0
  104. package/.nuxt/ui/stepper.ts +202 -0
  105. package/.nuxt/ui/switch.ts +131 -0
  106. package/.nuxt/ui/table.ts +147 -0
  107. package/.nuxt/ui/tabs.ts +256 -0
  108. package/.nuxt/ui/textarea.ts +294 -0
  109. package/.nuxt/ui/toast.ts +81 -0
  110. package/.nuxt/ui/toaster.ts +91 -0
  111. package/.nuxt/ui/tooltip.ts +9 -0
  112. package/.nuxt/ui/tree.ts +154 -0
  113. package/.nuxt/ui-image-component.ts +1 -0
  114. package/.nuxt/ui.css +143 -0
  115. package/app.vue +16 -36
  116. package/assets/css/nuxt-ui.css +16 -0
  117. package/assets/css/tailwind.css +10 -44
  118. package/components/AppFeature.vue +47 -3
  119. package/components/AppFeatureList.vue +86 -26
  120. package/components/CurrentTime.vue +9 -9
  121. package/components/ignis/IgnisFooter.vue +16 -0
  122. package/components/ignis/IgnisHeader.vue +48 -0
  123. package/components/ignis/IgnisInfo.vue +26 -0
  124. package/composables/useTranslation.ts +11 -4
  125. package/content/second.md +4 -0
  126. package/features.ts +129 -23
  127. package/i18n/i18n.config.ts +2 -2
  128. package/{assets/lang → i18n/locales}/en.json +6 -1
  129. package/i18n/locales/es.json +4 -0
  130. package/nuxt.config.ts +26 -2
  131. package/package.json +71 -79
  132. package/pages/ignis.vue +3 -0
  133. package/pages/index.vue +1 -12
  134. package/tailwind.config.ts +2 -1
  135. package/utils/i18n-sources.ts +20 -2
  136. package/vueform.config.ts +20 -0
  137. package/.gitattributes +0 -2
  138. package/CHANGELOG.md +0 -72
  139. package/LICENSE +0 -21
  140. package/README.md +0 -147
@@ -0,0 +1,289 @@
1
+ const size = [
2
+ "xs",
3
+ "sm",
4
+ "md",
5
+ "lg",
6
+ "xl"
7
+ ] as const
8
+
9
+ const variant = [
10
+ "outline",
11
+ "soft",
12
+ "subtle",
13
+ "ghost",
14
+ "none"
15
+ ] as const
16
+
17
+ const color = [
18
+ "primary",
19
+ "secondary",
20
+ "success",
21
+ "info",
22
+ "warning",
23
+ "error",
24
+ "neutral"
25
+ ] as const
26
+
27
+ export default {
28
+ "slots": {
29
+ "root": "relative inline-flex items-center",
30
+ "base": [
31
+ "w-full rounded-md border-0 placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75",
32
+ "transition-colors"
33
+ ],
34
+ "leading": "absolute inset-y-0 start-0 flex items-center",
35
+ "leadingIcon": "shrink-0 text-dimmed",
36
+ "leadingAvatar": "shrink-0",
37
+ "leadingAvatarSize": "",
38
+ "trailing": "absolute inset-y-0 end-0 flex items-center",
39
+ "trailingIcon": "shrink-0 text-dimmed"
40
+ },
41
+ "variants": {
42
+ "buttonGroup": {
43
+ "horizontal": {
44
+ "root": "group has-focus-visible:z-[1]",
45
+ "base": "group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"
46
+ },
47
+ "vertical": {
48
+ "root": "group has-focus-visible:z-[1]",
49
+ "base": "group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"
50
+ }
51
+ },
52
+ "size": {
53
+ "xs": {
54
+ "base": "px-2 py-1 text-xs gap-1",
55
+ "leading": "ps-2",
56
+ "trailing": "pe-2",
57
+ "leadingIcon": "size-4",
58
+ "leadingAvatarSize": "3xs",
59
+ "trailingIcon": "size-4"
60
+ },
61
+ "sm": {
62
+ "base": "px-2.5 py-1.5 text-xs gap-1.5",
63
+ "leading": "ps-2.5",
64
+ "trailing": "pe-2.5",
65
+ "leadingIcon": "size-4",
66
+ "leadingAvatarSize": "3xs",
67
+ "trailingIcon": "size-4"
68
+ },
69
+ "md": {
70
+ "base": "px-2.5 py-1.5 text-sm gap-1.5",
71
+ "leading": "ps-2.5",
72
+ "trailing": "pe-2.5",
73
+ "leadingIcon": "size-5",
74
+ "leadingAvatarSize": "2xs",
75
+ "trailingIcon": "size-5"
76
+ },
77
+ "lg": {
78
+ "base": "px-3 py-2 text-sm gap-2",
79
+ "leading": "ps-3",
80
+ "trailing": "pe-3",
81
+ "leadingIcon": "size-5",
82
+ "leadingAvatarSize": "2xs",
83
+ "trailingIcon": "size-5"
84
+ },
85
+ "xl": {
86
+ "base": "px-3 py-2 text-base gap-2",
87
+ "leading": "ps-3",
88
+ "trailing": "pe-3",
89
+ "leadingIcon": "size-6",
90
+ "leadingAvatarSize": "xs",
91
+ "trailingIcon": "size-6"
92
+ }
93
+ },
94
+ "variant": {
95
+ "outline": "text-highlighted bg-default ring ring-inset ring-accented",
96
+ "soft": "text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",
97
+ "subtle": "text-highlighted bg-elevated ring ring-inset ring-accented",
98
+ "ghost": "text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",
99
+ "none": "text-highlighted bg-transparent"
100
+ },
101
+ "color": {
102
+ "primary": "",
103
+ "secondary": "",
104
+ "success": "",
105
+ "info": "",
106
+ "warning": "",
107
+ "error": "",
108
+ "neutral": ""
109
+ },
110
+ "leading": {
111
+ "true": ""
112
+ },
113
+ "trailing": {
114
+ "true": ""
115
+ },
116
+ "loading": {
117
+ "true": ""
118
+ },
119
+ "highlight": {
120
+ "true": ""
121
+ },
122
+ "type": {
123
+ "file": "file:me-1.5 file:font-medium file:text-muted file:outline-none"
124
+ }
125
+ },
126
+ "compoundVariants": [
127
+ {
128
+ "color": "primary" as typeof color[number],
129
+ "variant": [
130
+ "outline" as typeof variant[number],
131
+ "subtle" as typeof variant[number]
132
+ ],
133
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"
134
+ },
135
+ {
136
+ "color": "secondary" as typeof color[number],
137
+ "variant": [
138
+ "outline" as typeof variant[number],
139
+ "subtle" as typeof variant[number]
140
+ ],
141
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"
142
+ },
143
+ {
144
+ "color": "success" as typeof color[number],
145
+ "variant": [
146
+ "outline" as typeof variant[number],
147
+ "subtle" as typeof variant[number]
148
+ ],
149
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"
150
+ },
151
+ {
152
+ "color": "info" as typeof color[number],
153
+ "variant": [
154
+ "outline" as typeof variant[number],
155
+ "subtle" as typeof variant[number]
156
+ ],
157
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"
158
+ },
159
+ {
160
+ "color": "warning" as typeof color[number],
161
+ "variant": [
162
+ "outline" as typeof variant[number],
163
+ "subtle" as typeof variant[number]
164
+ ],
165
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"
166
+ },
167
+ {
168
+ "color": "error" as typeof color[number],
169
+ "variant": [
170
+ "outline" as typeof variant[number],
171
+ "subtle" as typeof variant[number]
172
+ ],
173
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"
174
+ },
175
+ {
176
+ "color": "primary" as typeof color[number],
177
+ "highlight": true,
178
+ "class": "ring ring-inset ring-primary"
179
+ },
180
+ {
181
+ "color": "secondary" as typeof color[number],
182
+ "highlight": true,
183
+ "class": "ring ring-inset ring-secondary"
184
+ },
185
+ {
186
+ "color": "success" as typeof color[number],
187
+ "highlight": true,
188
+ "class": "ring ring-inset ring-success"
189
+ },
190
+ {
191
+ "color": "info" as typeof color[number],
192
+ "highlight": true,
193
+ "class": "ring ring-inset ring-info"
194
+ },
195
+ {
196
+ "color": "warning" as typeof color[number],
197
+ "highlight": true,
198
+ "class": "ring ring-inset ring-warning"
199
+ },
200
+ {
201
+ "color": "error" as typeof color[number],
202
+ "highlight": true,
203
+ "class": "ring ring-inset ring-error"
204
+ },
205
+ {
206
+ "color": "neutral" as typeof color[number],
207
+ "variant": [
208
+ "outline" as typeof variant[number],
209
+ "subtle" as typeof variant[number]
210
+ ],
211
+ "class": "focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"
212
+ },
213
+ {
214
+ "color": "neutral" as typeof color[number],
215
+ "highlight": true,
216
+ "class": "ring ring-inset ring-inverted"
217
+ },
218
+ {
219
+ "leading": true,
220
+ "size": "xs" as typeof size[number],
221
+ "class": "ps-7"
222
+ },
223
+ {
224
+ "leading": true,
225
+ "size": "sm" as typeof size[number],
226
+ "class": "ps-8"
227
+ },
228
+ {
229
+ "leading": true,
230
+ "size": "md" as typeof size[number],
231
+ "class": "ps-9"
232
+ },
233
+ {
234
+ "leading": true,
235
+ "size": "lg" as typeof size[number],
236
+ "class": "ps-10"
237
+ },
238
+ {
239
+ "leading": true,
240
+ "size": "xl" as typeof size[number],
241
+ "class": "ps-11"
242
+ },
243
+ {
244
+ "trailing": true,
245
+ "size": "xs" as typeof size[number],
246
+ "class": "pe-7"
247
+ },
248
+ {
249
+ "trailing": true,
250
+ "size": "sm" as typeof size[number],
251
+ "class": "pe-8"
252
+ },
253
+ {
254
+ "trailing": true,
255
+ "size": "md" as typeof size[number],
256
+ "class": "pe-9"
257
+ },
258
+ {
259
+ "trailing": true,
260
+ "size": "lg" as typeof size[number],
261
+ "class": "pe-10"
262
+ },
263
+ {
264
+ "trailing": true,
265
+ "size": "xl" as typeof size[number],
266
+ "class": "pe-11"
267
+ },
268
+ {
269
+ "loading": true,
270
+ "leading": true,
271
+ "class": {
272
+ "leadingIcon": "animate-spin"
273
+ }
274
+ },
275
+ {
276
+ "loading": true,
277
+ "leading": false,
278
+ "trailing": true,
279
+ "class": {
280
+ "trailingIcon": "animate-spin"
281
+ }
282
+ }
283
+ ],
284
+ "defaultVariants": {
285
+ "size": "md" as typeof size[number],
286
+ "color": "primary" as typeof color[number],
287
+ "variant": "outline" as typeof variant[number]
288
+ }
289
+ }
@@ -0,0 +1,31 @@
1
+ const variant = [
2
+ "solid",
3
+ "outline",
4
+ "subtle"
5
+ ] as const
6
+
7
+ const size = [
8
+ "sm",
9
+ "md",
10
+ "lg"
11
+ ] as const
12
+
13
+ export default {
14
+ "base": "inline-flex items-center justify-center px-1 rounded-sm font-medium font-sans",
15
+ "variants": {
16
+ "variant": {
17
+ "solid": "bg-inverted text-inverted",
18
+ "outline": "bg-default text-highlighted ring ring-inset ring-accented",
19
+ "subtle": "bg-elevated text-default ring ring-inset ring-accented"
20
+ },
21
+ "size": {
22
+ "sm": "h-4 min-w-[16px] text-[10px]",
23
+ "md": "h-5 min-w-[20px] text-[11px]",
24
+ "lg": "h-6 min-w-[24px] text-[12px]"
25
+ }
26
+ },
27
+ "defaultVariants": {
28
+ "variant": "outline" as typeof variant[number],
29
+ "size": "md" as typeof size[number]
30
+ }
31
+ }
@@ -0,0 +1,22 @@
1
+ export default {
2
+ "base": "focus-visible:outline-primary",
3
+ "variants": {
4
+ "active": {
5
+ "true": "text-primary",
6
+ "false": "text-muted"
7
+ },
8
+ "disabled": {
9
+ "true": "cursor-not-allowed opacity-75"
10
+ }
11
+ },
12
+ "compoundVariants": [
13
+ {
14
+ "active": false,
15
+ "disabled": false,
16
+ "class": [
17
+ "hover:text-default",
18
+ "transition-colors"
19
+ ]
20
+ }
21
+ ]
22
+ }
@@ -0,0 +1,29 @@
1
+ export default {
2
+ "slots": {
3
+ "overlay": "fixed inset-0 bg-elevated/75",
4
+ "content": "fixed bg-default divide-y divide-default flex flex-col focus:outline-none",
5
+ "header": "flex items-center gap-1.5 p-4 sm:px-6 min-h-16",
6
+ "wrapper": "",
7
+ "body": "flex-1 overflow-y-auto p-4 sm:p-6",
8
+ "footer": "flex items-center gap-1.5 p-4 sm:px-6",
9
+ "title": "text-highlighted font-semibold",
10
+ "description": "mt-1 text-muted text-sm",
11
+ "close": "absolute top-4 end-4"
12
+ },
13
+ "variants": {
14
+ "transition": {
15
+ "true": {
16
+ "overlay": "data-[state=open]:animate-[fade-in_200ms_ease-out] data-[state=closed]:animate-[fade-out_200ms_ease-in]",
17
+ "content": "data-[state=open]:animate-[scale-in_200ms_ease-out] data-[state=closed]:animate-[scale-out_200ms_ease-in]"
18
+ }
19
+ },
20
+ "fullscreen": {
21
+ "true": {
22
+ "content": "inset-0"
23
+ },
24
+ "false": {
25
+ "content": "top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[calc(100vw-2rem)] max-w-lg max-h-[calc(100dvh-2rem)] sm:max-h-[calc(100dvh-4rem)] rounded-lg shadow-lg ring ring-default"
26
+ }
27
+ }
28
+ }
29
+ }