nuance-ui 0.1.3 → 0.1.4

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.
@@ -0,0 +1,24 @@
1
+ import * as _nuxt_schema from '@nuxt/schema';
2
+
3
+ interface ModuleOptions {
4
+ /**
5
+ * Prefix for component name
6
+ * @default 'N'
7
+ * @example 'N' => <NButton />
8
+ */
9
+ prefix?: string;
10
+ /**
11
+ * Auto import components
12
+ * @default true
13
+ */
14
+ autoImport?: boolean;
15
+ /**
16
+ * Default theme
17
+ * @default 'light'
18
+ */
19
+ theme?: 'light' | 'dark' | 'auto';
20
+ }
21
+ declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
22
+
23
+ export { _default as default };
24
+ export type { ModuleOptions };
package/dist/module.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^4.0.0"
6
6
  },
7
- "version": "0.1.3",
7
+ "version": "0.1.4",
8
8
  "builder": {
9
9
  "@nuxt/module-builder": "1.0.2",
10
10
  "unbuild": "3.6.1"
@@ -23,7 +23,7 @@ const {
23
23
  color: { type: null, required: false },
24
24
  radius: { type: [String, Number], required: false },
25
25
  classes: { type: Object, required: false },
26
- mod: { type: [Object, Array, null], required: false },
26
+ mod: { type: null, required: false },
27
27
  icon: { type: String, required: false }
28
28
  });
29
29
  const style = computed(() => useStyleResolver((theme) => {
@@ -1,4 +1,4 @@
1
- import { useColorMode } from "#build/imports";
1
+ import { useColorMode } from "#imports";
2
2
  export function useTheme() {
3
3
  return useColorMode();
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nuance-ui",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "A UI Library for Modern Web Apps, powered by Vue.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,15 +41,15 @@
41
41
  "@floating-ui/vue": "^1.1.9",
42
42
  "@nuxt/icon": "^2.1.0",
43
43
  "@nuxt/kit": "^4.2.1",
44
- "@nuxtjs/color-mode": "^4.0.0",
45
44
  "@vueuse/core": "^14.0.0",
46
45
  "postcss": "^8.5.6",
47
46
  "postcss-preset-mantine": "^1.18.0",
48
47
  "postcss-simple-vars": "^7.0.1"
49
48
  },
50
49
  "peerDependencies": {
51
- "nuxt": "^3.0.0 || ^4.0.0",
52
- "vue": "^3.3.0"
50
+ "nuxt": "^4.0.0",
51
+ "vue": "^3.3.0",
52
+ "@nuxtjs/color-mode": "^4.0.0"
53
53
  },
54
54
  "peerDependenciesMeta": {
55
55
  "vue": {