@mevbg/nuxt-kit 0.2.0 → 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 +2 -5
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -3
- package/dist/runtime/defaults.d.ts +1 -1
- package/dist/runtime/defaults.js +1 -1
- package/package.json +3 -3
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 {
|
|
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
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 {
|
|
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
|
-
|
|
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
|
-
|
|
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
|
|
1
|
+
export declare const DEFAULT_PRIMARY_COLOR_SCHEME = "light";
|
package/dist/runtime/defaults.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const
|
|
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.
|
|
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": "^
|
|
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",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"@nuxt/schema": "^4.0.3",
|
|
89
89
|
"@types/node": "latest",
|
|
90
90
|
"changelogen": "^0.6.2",
|
|
91
|
-
"eslint": "^9.
|
|
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",
|