v-nuxt-ui 0.1.3 → 0.1.5

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.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "dependencies": [
8
8
  "@nuxt/ui"
9
9
  ],
10
- "version": "0.1.3",
10
+ "version": "0.1.5",
11
11
  "builder": {
12
12
  "@nuxt/module-builder": "1.0.2",
13
13
  "unbuild": "unknown"
package/dist/module.mjs CHANGED
@@ -30,6 +30,10 @@ const module$1 = defineNuxtModule({
30
30
  addPlugin(resolve("./runtime/plugins/02.dayjs"));
31
31
  addPlugin(resolve("./runtime/plugins/03.theme"));
32
32
  addPlugin(resolve("./runtime/plugins/04.head"));
33
+ nuxt.options.vite ??= {};
34
+ nuxt.options.vite.optimizeDeps ??= {};
35
+ nuxt.options.vite.optimizeDeps.include ??= [];
36
+ nuxt.options.vite.optimizeDeps.include.push("dayjs");
33
37
  nuxt.options.css.push(resolve("./runtime/assets/css/main.css"));
34
38
  nuxt.options.css.push(resolve("./runtime/assets/css/transition.css"));
35
39
  nuxt.hook("prepare:types", ({ references }) => {
@@ -9,7 +9,7 @@ export default defineNuxtPlugin({
9
9
  const customAppConfig = useLocalStorage(StorageKey.APP, defaultAppSettings);
10
10
  function updateColor(type) {
11
11
  const color = customAppConfig.value[type];
12
- if (color) {
12
+ if (color && appConfig.ui?.colors) {
13
13
  appConfig.ui.colors[type] = color;
14
14
  }
15
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "v-nuxt-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Veken UI Component Library - Reusable Nuxt UI components, composables, and utilities for enterprise applications",
5
5
  "type": "module",
6
6
  "style": "./dist/runtime/index.css",
@@ -32,19 +32,23 @@
32
32
  "@nuxt/kit": "^4.3.1",
33
33
  "dayjs": "^1.11.19",
34
34
  "defu": "^6.1.4",
35
- "maska": "^3.2.0",
36
- "vue-router": "^5.0.4"
35
+ "maska": "^3.2.0"
37
36
  },
38
37
  "peerDependencies": {
39
38
  "@nuxt/ui": "^4.5.0",
40
39
  "@nuxtjs/i18n": "^10.2.3",
41
40
  "@vueuse/nuxt": "^14.2.1",
42
41
  "nuxt": "^4.3.1",
42
+ "tailwindcss": "^4.0.0",
43
+ "vue-router": "^4.5.0 || ^5.0.0",
43
44
  "zod": "^4.3.6"
44
45
  },
45
46
  "peerDependenciesMeta": {
46
47
  "zod": {
47
48
  "optional": true
49
+ },
50
+ "tailwindcss": {
51
+ "optional": true
48
52
  }
49
53
  },
50
54
  "optionalDependencies": {