@mevbg/nuxt-kit 0.1.27 → 0.3.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/dist/module.d.mts CHANGED
@@ -1,15 +1,12 @@
1
1
  import * as _nuxt_schema from '@nuxt/schema';
2
2
  import { MasterGeneratorParams } from '@mevbg/design-essentials-vendor';
3
- import { ColorSchemeKey } from '@mevbg/nuxt-color-scheme';
3
+ import { ColorSchemeOptions } from '@mevbg/nuxt-color-scheme';
4
4
  export * from '@mevbg/nuxt-color-scheme';
5
5
 
6
6
  interface NuxtKitOptions {
7
7
  wm?: boolean;
8
8
  designEssentials?: MasterGeneratorParams;
9
- colorScheme?: {
10
- default?: ColorSchemeKey;
11
- systemScheme?: boolean;
12
- };
9
+ colorScheme?: ColorSchemeOptions;
13
10
  }
14
11
 
15
12
  declare const _default: _nuxt_schema.NuxtModule<NuxtKitOptions, NuxtKitOptions, false>;
package/dist/module.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mevbg/nuxt-kit",
3
3
  "configKey": "mevKit",
4
- "version": "0.1.27",
4
+ "version": "0.3.0",
5
5
  "builder": {
6
6
  "@nuxt/module-builder": "1.0.2",
7
7
  "unbuild": "3.6.0"
package/dist/module.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { generateDesignEssentials } from '@mevbg/design-essentials-vendor';
2
2
  import { defineNuxtModule, installModule, createResolver, addPlugin, addImports, addServerImportsDir, addComponent } from '@nuxt/kit';
3
- import { DEFAULT_COLOR_SCHEME } from '../dist/runtime/defaults.js';
3
+ import { DEFAULT_PRIMARY_COLOR_SCHEME } from '../dist/runtime/defaults.js';
4
4
  export * from '@mevbg/nuxt-color-scheme';
5
5
 
6
6
  const module = defineNuxtModule({
@@ -12,7 +12,7 @@ const module = defineNuxtModule({
12
12
  defaults: {
13
13
  wm: true,
14
14
  colorScheme: {
15
- default: DEFAULT_COLOR_SCHEME,
15
+ primaryScheme: DEFAULT_PRIMARY_COLOR_SCHEME,
16
16
  systemScheme: true
17
17
  }
18
18
  },
@@ -21,7 +21,7 @@ const module = defineNuxtModule({
21
21
  Promise.all([
22
22
  installModule("@vueuse/nuxt"),
23
23
  installModule("@mevbg/nuxt-color-scheme", {
24
- default: options.colorScheme?.default ?? DEFAULT_COLOR_SCHEME,
24
+ primaryScheme: options.colorScheme?.primaryScheme ?? DEFAULT_PRIMARY_COLOR_SCHEME,
25
25
  systemScheme: options.colorScheme?.systemScheme ?? true
26
26
  })
27
27
  ]);
@@ -1 +1 @@
1
- export declare const DEFAULT_COLOR_SCHEME = "light";
1
+ export declare const DEFAULT_PRIMARY_COLOR_SCHEME = "light";
@@ -1 +1 @@
1
- export const DEFAULT_COLOR_SCHEME = "light";
1
+ export const DEFAULT_PRIMARY_COLOR_SCHEME = "light";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mevbg/nuxt-kit",
3
3
  "title": "Mev’s Nuxt Kit",
4
- "version": "0.1.27",
4
+ "version": "0.3.0",
5
5
  "description": "Mev’s personal Nuxt kit module.",
6
6
  "keywords": [
7
7
  "nuxt kit",
@@ -74,7 +74,7 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@mevbg/design-essentials-vendor": "^2.0.4",
77
- "@mevbg/nuxt-color-scheme": "^1.0.7",
77
+ "@mevbg/nuxt-color-scheme": "^2.0.2",
78
78
  "@nuxt/kit": "^4.0.3",
79
79
  "@vueuse/nuxt": "^13.7.0",
80
80
  "floating-vue": "^5.2.2",
@@ -82,13 +82,13 @@
82
82
  "vue3-toastify": "^0.2.8"
83
83
  },
84
84
  "devDependencies": {
85
- "@nuxt/devtools": "^2.6.2",
85
+ "@nuxt/devtools": "^2.6.3",
86
86
  "@nuxt/eslint-config": "^1.9.0",
87
87
  "@nuxt/module-builder": "^1.0.2",
88
88
  "@nuxt/schema": "^4.0.3",
89
89
  "@types/node": "latest",
90
90
  "changelogen": "^0.6.2",
91
- "eslint": "^9.33.0",
91
+ "eslint": "^9.34.0",
92
92
  "eslint-config-prettier": "^10.1.8",
93
93
  "eslint-plugin-prettier": "^5.5.4",
94
94
  "nuxt": "^4.0.3",