nuxt-ignis 0.3.0 → 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 (98) hide show
  1. package/.data/content/contents.sqlite +0 -0
  2. package/.env +43 -0
  3. package/.nuxt/components.d.ts +132 -0
  4. package/.nuxt/content/components.ts +51 -0
  5. package/.nuxt/content/database.compressed.mjs +1 -0
  6. package/.nuxt/content/manifest.ts +33 -0
  7. package/.nuxt/content/sql_dump +6 -0
  8. package/.nuxt/content/types.d.ts +13 -0
  9. package/.nuxt/dist/server/client.manifest.mjs +18 -1
  10. package/.nuxt/eslint.config.mjs +1 -1
  11. package/.nuxt/i18n.options.mjs +165 -0
  12. package/.nuxt/imports.d.ts +16 -0
  13. package/.nuxt/manifest/latest.json +1 -1
  14. package/.nuxt/manifest/meta/dev.json +1 -1
  15. package/.nuxt/mdc-configs.mjs +8 -0
  16. package/.nuxt/mdc-highlighter.mjs +213 -0
  17. package/.nuxt/mdc-image-component.mjs +1 -0
  18. package/.nuxt/mdc-imports.mjs +12 -0
  19. package/.nuxt/module/@nuxtjs-sitemap.d.ts +28 -0
  20. package/.nuxt/module/nuxt-robots.d.ts +35 -0
  21. package/.nuxt/module/nuxt-seo-utils.assets.d.ts +25 -0
  22. package/.nuxt/module/nuxt-seo-utils.d.ts +22 -0
  23. package/.nuxt/module/nuxt-site-config.d.ts +43 -0
  24. package/.nuxt/nitro.json +3 -3
  25. package/.nuxt/nuxt-i18n-logger.mjs +1 -0
  26. package/.nuxt/nuxt-icon-client-bundle.mjs +1 -0
  27. package/.nuxt/nuxt-icon-server-bundle.mjs +15 -0
  28. package/.nuxt/nuxt.d.ts +20 -5
  29. package/.nuxt/tailwind/postcss.mjs +15 -0
  30. package/.nuxt/tsconfig.json +151 -0
  31. package/.nuxt/tsconfig.server.json +140 -0
  32. package/.nuxt/types/build.d.ts +2 -0
  33. package/.nuxt/types/i18n-plugin.d.ts +104 -0
  34. package/.nuxt/types/imports.d.ts +70 -0
  35. package/.nuxt/types/neon.d.ts +35 -0
  36. package/.nuxt/types/nitro-imports.d.ts +263 -1
  37. package/.nuxt/types/nitro-routes.d.ts +61 -0
  38. package/.nuxt/types/plugins.d.ts +21 -2
  39. package/.nuxt/types/schema.d.ts +924 -2
  40. package/.nuxt/types/ui.d.ts +35 -0
  41. package/.nuxt/ui/accordion.ts +20 -0
  42. package/.nuxt/ui/alert.ts +264 -0
  43. package/.nuxt/ui/avatar-group.ts +52 -0
  44. package/.nuxt/ui/avatar.ts +54 -0
  45. package/.nuxt/ui/badge.ts +263 -0
  46. package/.nuxt/ui/breadcrumb.ts +45 -0
  47. package/.nuxt/ui/button-group.ts +16 -0
  48. package/.nuxt/ui/button.ts +378 -0
  49. package/.nuxt/ui/calendar.ts +103 -0
  50. package/.nuxt/ui/card.ts +34 -0
  51. package/.nuxt/ui/carousel.ts +38 -0
  52. package/.nuxt/ui/checkbox-group.ts +204 -0
  53. package/.nuxt/ui/checkbox.ts +236 -0
  54. package/.nuxt/ui/chip.ts +96 -0
  55. package/.nuxt/ui/collapsible.ts +6 -0
  56. package/.nuxt/ui/color-picker.ts +47 -0
  57. package/.nuxt/ui/command-palette.ts +50 -0
  58. package/.nuxt/ui/container.ts +3 -0
  59. package/.nuxt/ui/context-menu.ts +216 -0
  60. package/.nuxt/ui/drawer.ts +126 -0
  61. package/.nuxt/ui/dropdown-menu.ts +217 -0
  62. package/.nuxt/ui/form-field.ts +48 -0
  63. package/.nuxt/ui/form.ts +3 -0
  64. package/.nuxt/ui/index.ts +50 -0
  65. package/.nuxt/ui/input-menu.ts +436 -0
  66. package/.nuxt/ui/input-number.ts +245 -0
  67. package/.nuxt/ui/input.ts +289 -0
  68. package/.nuxt/ui/kbd.ts +31 -0
  69. package/.nuxt/ui/link.ts +22 -0
  70. package/.nuxt/ui/modal.ts +29 -0
  71. package/.nuxt/ui/navigation-menu.ts +501 -0
  72. package/.nuxt/ui/pagination.ts +13 -0
  73. package/.nuxt/ui/pin-input.ts +171 -0
  74. package/.nuxt/ui/popover.ts +6 -0
  75. package/.nuxt/ui/progress.ts +297 -0
  76. package/.nuxt/ui/radio-group.ts +350 -0
  77. package/.nuxt/ui/select-menu.ts +346 -0
  78. package/.nuxt/ui/select.ts +341 -0
  79. package/.nuxt/ui/separator.ts +172 -0
  80. package/.nuxt/ui/skeleton.ts +3 -0
  81. package/.nuxt/ui/slideover.ts +71 -0
  82. package/.nuxt/ui/slider.ts +171 -0
  83. package/.nuxt/ui/stepper.ts +202 -0
  84. package/.nuxt/ui/switch.ts +131 -0
  85. package/.nuxt/ui/table.ts +147 -0
  86. package/.nuxt/ui/tabs.ts +256 -0
  87. package/.nuxt/ui/textarea.ts +294 -0
  88. package/.nuxt/ui/toast.ts +81 -0
  89. package/.nuxt/ui/toaster.ts +91 -0
  90. package/.nuxt/ui/tooltip.ts +9 -0
  91. package/.nuxt/ui/tree.ts +154 -0
  92. package/.nuxt/ui-image-component.ts +1 -0
  93. package/.nuxt/ui.css +143 -0
  94. package/features.ts +30 -22
  95. package/package.json +2 -1
  96. package/tailwind.config.ts +1 -1
  97. package/.nuxt/dev/index.mjs +0 -2948
  98. package/.nuxt/dev/index.mjs.map +0 -1
package/.nuxt/ui.css ADDED
@@ -0,0 +1,143 @@
1
+ @source "./ui";
2
+
3
+ @theme default inline {
4
+ --color-old-neutral-50: oklch(98.5% 0 0);
5
+ --color-old-neutral-100: oklch(97% 0 0);
6
+ --color-old-neutral-200: oklch(92.2% 0 0);
7
+ --color-old-neutral-300: oklch(87% 0 0);
8
+ --color-old-neutral-400: oklch(70.8% 0 0);
9
+ --color-old-neutral-500: oklch(55.6% 0 0);
10
+ --color-old-neutral-600: oklch(43.9% 0 0);
11
+ --color-old-neutral-700: oklch(37.1% 0 0);
12
+ --color-old-neutral-800: oklch(26.9% 0 0);
13
+ --color-old-neutral-900: oklch(20.5% 0 0);
14
+ --color-old-neutral-950: oklch(14.5% 0 0);
15
+ --color-primary-50: var(--ui-color-primary-50);
16
+ --color-primary-100: var(--ui-color-primary-100);
17
+ --color-primary-200: var(--ui-color-primary-200);
18
+ --color-primary-300: var(--ui-color-primary-300);
19
+ --color-primary-400: var(--ui-color-primary-400);
20
+ --color-primary-500: var(--ui-color-primary-500);
21
+ --color-primary-600: var(--ui-color-primary-600);
22
+ --color-primary-700: var(--ui-color-primary-700);
23
+ --color-primary-800: var(--ui-color-primary-800);
24
+ --color-primary-900: var(--ui-color-primary-900);
25
+ --color-primary-950: var(--ui-color-primary-950);
26
+ --color-secondary-50: var(--ui-color-secondary-50);
27
+ --color-secondary-100: var(--ui-color-secondary-100);
28
+ --color-secondary-200: var(--ui-color-secondary-200);
29
+ --color-secondary-300: var(--ui-color-secondary-300);
30
+ --color-secondary-400: var(--ui-color-secondary-400);
31
+ --color-secondary-500: var(--ui-color-secondary-500);
32
+ --color-secondary-600: var(--ui-color-secondary-600);
33
+ --color-secondary-700: var(--ui-color-secondary-700);
34
+ --color-secondary-800: var(--ui-color-secondary-800);
35
+ --color-secondary-900: var(--ui-color-secondary-900);
36
+ --color-secondary-950: var(--ui-color-secondary-950);
37
+ --color-success-50: var(--ui-color-success-50);
38
+ --color-success-100: var(--ui-color-success-100);
39
+ --color-success-200: var(--ui-color-success-200);
40
+ --color-success-300: var(--ui-color-success-300);
41
+ --color-success-400: var(--ui-color-success-400);
42
+ --color-success-500: var(--ui-color-success-500);
43
+ --color-success-600: var(--ui-color-success-600);
44
+ --color-success-700: var(--ui-color-success-700);
45
+ --color-success-800: var(--ui-color-success-800);
46
+ --color-success-900: var(--ui-color-success-900);
47
+ --color-success-950: var(--ui-color-success-950);
48
+ --color-info-50: var(--ui-color-info-50);
49
+ --color-info-100: var(--ui-color-info-100);
50
+ --color-info-200: var(--ui-color-info-200);
51
+ --color-info-300: var(--ui-color-info-300);
52
+ --color-info-400: var(--ui-color-info-400);
53
+ --color-info-500: var(--ui-color-info-500);
54
+ --color-info-600: var(--ui-color-info-600);
55
+ --color-info-700: var(--ui-color-info-700);
56
+ --color-info-800: var(--ui-color-info-800);
57
+ --color-info-900: var(--ui-color-info-900);
58
+ --color-info-950: var(--ui-color-info-950);
59
+ --color-warning-50: var(--ui-color-warning-50);
60
+ --color-warning-100: var(--ui-color-warning-100);
61
+ --color-warning-200: var(--ui-color-warning-200);
62
+ --color-warning-300: var(--ui-color-warning-300);
63
+ --color-warning-400: var(--ui-color-warning-400);
64
+ --color-warning-500: var(--ui-color-warning-500);
65
+ --color-warning-600: var(--ui-color-warning-600);
66
+ --color-warning-700: var(--ui-color-warning-700);
67
+ --color-warning-800: var(--ui-color-warning-800);
68
+ --color-warning-900: var(--ui-color-warning-900);
69
+ --color-warning-950: var(--ui-color-warning-950);
70
+ --color-error-50: var(--ui-color-error-50);
71
+ --color-error-100: var(--ui-color-error-100);
72
+ --color-error-200: var(--ui-color-error-200);
73
+ --color-error-300: var(--ui-color-error-300);
74
+ --color-error-400: var(--ui-color-error-400);
75
+ --color-error-500: var(--ui-color-error-500);
76
+ --color-error-600: var(--ui-color-error-600);
77
+ --color-error-700: var(--ui-color-error-700);
78
+ --color-error-800: var(--ui-color-error-800);
79
+ --color-error-900: var(--ui-color-error-900);
80
+ --color-error-950: var(--ui-color-error-950);
81
+ --color-neutral-50: var(--ui-color-neutral-50);
82
+ --color-neutral-100: var(--ui-color-neutral-100);
83
+ --color-neutral-200: var(--ui-color-neutral-200);
84
+ --color-neutral-300: var(--ui-color-neutral-300);
85
+ --color-neutral-400: var(--ui-color-neutral-400);
86
+ --color-neutral-500: var(--ui-color-neutral-500);
87
+ --color-neutral-600: var(--ui-color-neutral-600);
88
+ --color-neutral-700: var(--ui-color-neutral-700);
89
+ --color-neutral-800: var(--ui-color-neutral-800);
90
+ --color-neutral-900: var(--ui-color-neutral-900);
91
+ --color-neutral-950: var(--ui-color-neutral-950);
92
+ --color-primary: var(--ui-primary);
93
+ --color-secondary: var(--ui-secondary);
94
+ --color-success: var(--ui-success);
95
+ --color-info: var(--ui-info);
96
+ --color-warning: var(--ui-warning);
97
+ --color-error: var(--ui-error);
98
+ --radius-xs: calc(var(--ui-radius) * 0.5);
99
+ --radius-sm: var(--ui-radius);
100
+ --radius-md: calc(var(--ui-radius) * 1.5);
101
+ --radius-lg: calc(var(--ui-radius) * 2);
102
+ --radius-xl: calc(var(--ui-radius) * 3);
103
+ --radius-2xl: calc(var(--ui-radius) * 4);
104
+ --radius-3xl: calc(var(--ui-radius) * 6);
105
+ --text-color-dimmed: var(--ui-text-dimmed);
106
+ --text-color-muted: var(--ui-text-muted);
107
+ --text-color-toned: var(--ui-text-toned);
108
+ --text-color-default: var(--ui-text);
109
+ --text-color-highlighted: var(--ui-text-highlighted);
110
+ --text-color-inverted: var(--ui-text-inverted);
111
+ --background-color-default: var(--ui-bg);
112
+ --background-color-muted: var(--ui-bg-muted);
113
+ --background-color-elevated: var(--ui-bg-elevated);
114
+ --background-color-accented: var(--ui-bg-accented);
115
+ --background-color-inverted: var(--ui-bg-inverted);
116
+ --background-color-border: var(--ui-border);
117
+ --border-color-default: var(--ui-border);
118
+ --border-color-muted: var(--ui-border-muted);
119
+ --border-color-accented: var(--ui-border-accented);
120
+ --border-color-inverted: var(--ui-border-inverted);
121
+ --border-color-bg: var(--ui-bg);
122
+ --ring-color-default: var(--ui-border);
123
+ --ring-color-muted: var(--ui-border-muted);
124
+ --ring-color-accented: var(--ui-border-accented);
125
+ --ring-color-inverted: var(--ui-border-inverted);
126
+ --ring-color-bg: var(--ui-bg);
127
+ --ring-offset-color-default: var(--ui-border);
128
+ --ring-offset-color-muted: var(--ui-border-muted);
129
+ --ring-offset-color-accented: var(--ui-border-accented);
130
+ --ring-offset-color-inverted: var(--ui-border-inverted);
131
+ --ring-offset-color-bg: var(--ui-bg);
132
+ --divide-color-default: var(--ui-border);
133
+ --divide-color-muted: var(--ui-border-muted);
134
+ --divide-color-accented: var(--ui-border-accented);
135
+ --divide-color-inverted: var(--ui-border-inverted);
136
+ --divide-color-bg: var(--ui-bg);
137
+ --outline-color-default: var(--ui-border);
138
+ --outline-color-inverted: var(--ui-border-inverted);
139
+ --stroke-default: var(--ui-border);
140
+ --stroke-inverted: var(--ui-border-inverted);
141
+ --fill-default: var(--ui-border);
142
+ --fill-inverted: var(--ui-border-inverted);
143
+ }
package/features.ts CHANGED
@@ -2,6 +2,7 @@ import { fileURLToPath } from 'url'
2
2
  import { dirname, join } from 'path'
3
3
  import { defu } from 'defu'
4
4
  import OpenProps from 'open-props'
5
+ import tailwindcss from '@tailwindcss/vite'
5
6
  import { log } from './utils/consola'
6
7
 
7
8
  const currentDir = dirname(fileURLToPath(import.meta.url))
@@ -60,8 +61,13 @@ export function setFeatures() {
60
61
  // (excluded unless enabled)
61
62
 
62
63
  // ui
63
- const uiPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_UI
64
- if (uiPreset === 'nuxt-ui' || (!uiPreset && process.env.NUXT_PUBLIC_IGNIS_UI === 'true')) {
64
+ let uiPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_UI
65
+ if (uiPreset && !['nuxt-ui', 'tailwind'].includes(uiPreset)) {
66
+ // surpress other values
67
+ process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = uiPreset = 'off'
68
+ }
69
+
70
+ if (uiPreset === 'nuxt-ui' || process.env.NUXT_PUBLIC_IGNIS_UI === 'true') {
65
71
  nuxtConfig.modules.push('@nuxt/ui')
66
72
  // import tailwind css file
67
73
  nuxtConfig = defu({
@@ -78,26 +84,31 @@ export function setFeatures() {
78
84
  }, nuxtConfig)
79
85
 
80
86
  // evaluate separate Tailwind CSS module
81
- if (uiPreset === 'tailwind' || (!uiPreset && process.env.NUXT_PUBLIC_IGNIS_TAILWIND === 'true')) {
82
- nuxtConfig.modules.push('@nuxtjs/tailwindcss')
87
+ if (uiPreset === 'tailwind' || (process.env.NUXT_PUBLIC_IGNIS_TAILWIND === 'true' && uiPreset !== 'nuxt-ui')) {
88
+ // nuxtConfig.modules.push('@nuxtjs/tailwindcss') // temporary disabled until v7 is released
89
+ extras.push('Tailwind CSS')
83
90
  // import tailwind css file
84
91
  nuxtConfig = defu({
85
92
  css: [join(currentDir, './assets/css/tailwind.css')],
93
+ vite: {
94
+ plugins: [tailwindcss()], // temporary integration using Vite plugin directly
95
+ },
86
96
  }, nuxtConfig)
87
97
  }
88
98
  }
89
- // surpress other values
90
- if (!uiPreset || !['nuxt-ui', 'tailwind'].includes(uiPreset)) {
91
- process.env.NUXT_PUBLIC_IGNIS_PRESET_UI = 'off'
92
- }
93
99
 
94
100
  // database
95
- const dbPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_DB
96
- if (dbPreset === 'neon' || (!dbPreset && process.env.NUXT_PUBLIC_IGNIS_NEON === 'true')) {
101
+ let dbPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_DB
102
+ if (dbPreset && !['neon', 'supabase'].includes(dbPreset)) {
103
+ // surpress other values
104
+ process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = dbPreset = 'off'
105
+ }
106
+
107
+ if (dbPreset === 'neon' || process.env.NUXT_PUBLIC_IGNIS_NEON === 'true') {
97
108
  // module definition
98
109
  nuxtConfig.modules.push('nuxt-neon')
99
110
  }
100
- if (dbPreset === 'supabase' || (!dbPreset && process.env.NUXT_PUBLIC_IGNIS_SUPABASE === 'true')) {
111
+ if (dbPreset === 'supabase' || process.env.NUXT_PUBLIC_IGNIS_SUPABASE === 'true') {
101
112
  // module definition
102
113
  nuxtConfig.modules.push('@nuxtjs/supabase')
103
114
  // module-specific config key
@@ -107,10 +118,6 @@ export function setFeatures() {
107
118
  },
108
119
  }, nuxtConfig)
109
120
  }
110
- if (dbPreset && dbPreset !== 'neon' && dbPreset !== 'supabase') {
111
- // surpress other values
112
- process.env.NUXT_PUBLIC_IGNIS_PRESET_DB = 'off'
113
- }
114
121
 
115
122
  // i18n
116
123
  if (process.env.NUXT_PUBLIC_IGNIS_I18N_ENABLED === 'true') {
@@ -135,11 +142,16 @@ export function setFeatures() {
135
142
  }
136
143
 
137
144
  // forms
138
- const formsPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS
139
- if (formsPreset === 'vueform' || (!formsPreset && process.env.NUXT_PUBLIC_IGNIS_VUEFORM === 'true')) {
145
+ let formsPreset = process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS
146
+ if (formsPreset && !['vueform', 'formkit'].includes(formsPreset)) {
147
+ // surpress other values
148
+ process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = formsPreset = 'off'
149
+ }
150
+
151
+ if (formsPreset === 'vueform' || process.env.NUXT_PUBLIC_IGNIS_VUEFORM === 'true') {
140
152
  nuxtConfig.modules.push('@vueform/nuxt')
141
153
  }
142
- if (formsPreset === 'formkit' || (!formsPreset && process.env.NUXT_PUBLIC_IGNIS_FORMKIT_ENABLED === 'true')) {
154
+ if (formsPreset === 'formkit' || process.env.NUXT_PUBLIC_IGNIS_FORMKIT_ENABLED === 'true') {
143
155
  // module definition
144
156
  nuxtConfig.modules.push('@formkit/nuxt')
145
157
  // module-specific config key
@@ -150,10 +162,6 @@ export function setFeatures() {
150
162
  },
151
163
  }, nuxtConfig)
152
164
  }
153
- if (formsPreset && formsPreset !== 'vueform' && formsPreset !== 'formkit') {
154
- // surpress other values
155
- process.env.NUXT_PUBLIC_IGNIS_PRESET_FORMS = 'off'
156
- }
157
165
 
158
166
  // seo
159
167
  // 2025/04 - must be before @nuxt/content (https://nuxtseo.com/docs/nuxt-seo/guides/nuxt-content)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuxt-ignis",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Enhanced and customizable Nuxt application starter pack",
5
5
  "keywords": [
6
6
  "nuxt",
@@ -40,6 +40,7 @@
40
40
  "@vueform/nuxt": "1.13.0",
41
41
  "@vueuse/core": "13.2.0",
42
42
  "@vueuse/nuxt": "13.2.0",
43
+ "@tailwindcss/vite": "4.1.7",
43
44
  "consola": "3.4.2",
44
45
  "defu": "6.1.4",
45
46
  "elrh-pslo": "1.1.6",
@@ -6,7 +6,7 @@ import plugin from 'tailwindcss/plugin'
6
6
  module.exports = {
7
7
  content: [
8
8
  // include Nuxt Content files into array scanned by Tailwind CSS
9
- '{srcDir}/content/**/*.{md,yml,json}',
9
+ 'srcDir/content/**/*.{md,yml,json}',
10
10
  ],
11
11
  theme: {
12
12
  // example of extending Tailwind CSS with custom color