vuetify-nuxt-module 0.4.11 → 0.5.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.
@@ -1,7 +1,7 @@
1
- import { adapter, dateConfiguration, i18n } from "virtual:vuetify-date-configuration";
1
+ import { adapter, dateConfiguration, enabled, i18n } from "virtual:vuetify-date-configuration";
2
2
  import { useNuxtApp } from "#app";
3
3
  export function configureDate(vuetifyOptions) {
4
- if (adapter === "custom")
4
+ if (adapter === "custom" || !enabled)
5
5
  return;
6
6
  const dateOptions = dateConfiguration();
7
7
  if (i18n) {
@@ -1,4 +1,5 @@
1
- import { iconsConfiguration } from "virtual:vuetify-icons-configuration";
1
+ import { enabled, iconsConfiguration } from "virtual:vuetify-icons-configuration";
2
2
  export function configureIcons(vuetifyOptions) {
3
- vuetifyOptions.icons = iconsConfiguration();
3
+ if (enabled)
4
+ vuetifyOptions.icons = iconsConfiguration();
4
5
  }
package/dist/types.d.ts CHANGED
@@ -12,4 +12,4 @@ declare module 'nuxt/schema' {
12
12
  }
13
13
 
14
14
 
15
- export { ComponentName, Components, DateAdapter, DateOptions, DirectiveName, Directives, FontAwesomeSvgIconSet, FontIconSet, IconFontName, IconSetName, IconsOptions, JSSVGIconSet, LabComponentName, LabComponents, MOptions, ModuleOptions, VOptions, VuetifyLocale, default } from './module'
15
+ export { ComponentName, Components, DateAdapter, DateOptions, DirectiveName, Directives, ExternalVuetifyOptions, FontAwesomeSvgIconSet, FontIconSet, IconFontName, IconSetName, IconsOptions, InlineModuleOptions, JSSVGIconSet, LabComponentName, LabComponents, MOptions, ModuleOptions, VOptions, VuetifyLocale, default } from './module'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vuetify-nuxt-module",
3
3
  "type": "module",
4
- "version": "0.4.11",
4
+ "version": "0.5.0",
5
5
  "packageManager": "pnpm@8.6.9",
6
6
  "description": "Zero-Config Nuxt Module for Vuetify",
7
7
  "author": "userquin <userquin@gmail.com>",
@@ -25,6 +25,11 @@
25
25
  "require": "./dist/module.cjs",
26
26
  "import": "./dist/module.mjs"
27
27
  },
28
+ "./custom-configuration": {
29
+ "types": "./custom-configuration.d.ts",
30
+ "require": "./custom-configuration.cjs",
31
+ "import": "./custom-configuration.mjs"
32
+ },
28
33
  "./configuration": {
29
34
  "types": "./configuration.d.ts"
30
35
  }
@@ -33,7 +38,9 @@
33
38
  "types": "./dist/types.d.ts",
34
39
  "files": [
35
40
  "dist",
36
- "*.d.ts"
41
+ "*.cjs",
42
+ "*.d.ts",
43
+ "*.mjs"
37
44
  ],
38
45
  "scripts": {
39
46
  "build": "pnpm dev:prepare && nuxt-module-build",
@@ -58,12 +65,16 @@
58
65
  },
59
66
  "peerDependencies": {
60
67
  "@nuxt/kit": "^3.6.2",
68
+ "perfect-debounce": "^1.0.0",
69
+ "unconfig": "^0.3.9",
61
70
  "vite-plugin-vuetify": "^1.0.2",
62
71
  "vuetify": "^3.3.9"
63
72
  },
64
73
  "dependencies": {
65
74
  "@nuxt/kit": "^3.6.2",
66
75
  "defu": "^6.1.2",
76
+ "perfect-debounce": "^1.0.0",
77
+ "unconfig": "^0.3.9",
67
78
  "vite-plugin-vuetify": "^1.0.2",
68
79
  "vuetify": "^3.3.9"
69
80
  },
@@ -103,9 +114,11 @@
103
114
  "esbuild",
104
115
  "local-pkg",
105
116
  "pathe",
117
+ "perfect-debounce",
106
118
  "rollup",
107
119
  "upath",
108
120
  "ufo",
121
+ "unconfig",
109
122
  "vite",
110
123
  "vite-plugin-vuetify",
111
124
  "vuetify"
@@ -125,4 +138,4 @@
125
138
  "installDependencies": false,
126
139
  "startCommand": "node .stackblitz.js && pnpm install && pnpm run dev"
127
140
  }
128
- }
141
+ }