vuetify-swatches 1.7.0 → 1.7.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.
package/dist/index.es.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2024 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.7.0
8
+ * @version 1.7.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2024 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.7.0
8
+ * @version 1.7.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
package/dist/index.umd.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2024 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.7.0
8
+ * @version 1.7.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
@@ -0,0 +1,4 @@
1
+ import { default as MetaInterface } from './interfaces/MetaInterface';
2
+ declare const meta: MetaInterface;
3
+ export default meta;
4
+ //# sourceMappingURL=Meta.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Meta.d.ts","sourceRoot":"","sources":["../../src/Meta.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,4BAA4B,CAAC;AAG1D,QAAA,MAAM,IAAI,EAAE,aAGX,CAAC;AACF,eAAe,IAAI,CAAC"}
@@ -0,0 +1,161 @@
1
+ import { PropType } from 'vue';
2
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
3
+ /** Model value */
4
+ modelValue: {
5
+ type: StringConstructor;
6
+ default: string;
7
+ };
8
+ /** Swatch colors */
9
+ swatches: {
10
+ type: PropType<string[] | string[][] | Record<string, string[]>>;
11
+ default: () => string[][];
12
+ };
13
+ /** Swatch size */
14
+ size: {
15
+ type: StringConstructor;
16
+ default: string;
17
+ };
18
+ /** Selected icon */
19
+ icon: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ };
23
+ /** selected icon size */
24
+ iconSize: {
25
+ type: StringConstructor;
26
+ default: string;
27
+ };
28
+ /**
29
+ * The variant prop gives you easy access to several different button styles..
30
+ *
31
+ * @see {@link https://vuetifyjs.com/en/components/buttons/#variant}
32
+ */
33
+ variant: {
34
+ type: PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
35
+ default: undefined;
36
+ };
37
+ /**
38
+ * Removes the ability to click or target the component.
39
+ *
40
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled}
41
+ */
42
+ disabled: {
43
+ type: BooleanConstructor;
44
+ default: boolean;
45
+ };
46
+ /**
47
+ * Applies a large border radius on the button.
48
+ *
49
+ * @see {@link https://vuetifyjs.com/en/components/buttons/#rounded}
50
+ */
51
+ rounded: {
52
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
53
+ default: undefined;
54
+ };
55
+ /**
56
+ * Applies border styles to component.
57
+ *
58
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-border}
59
+ */
60
+ border: {
61
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
62
+ default: boolean;
63
+ };
64
+ /**
65
+ * Designates an elevation applied to the component between 0 and 24.
66
+ *
67
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation}
68
+ */
69
+ elevation: {
70
+ type: (StringConstructor | NumberConstructor)[];
71
+ default: undefined;
72
+ };
73
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
74
+ "update:modelValue": (_value: string) => void;
75
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
76
+ /** Model value */
77
+ modelValue: {
78
+ type: StringConstructor;
79
+ default: string;
80
+ };
81
+ /** Swatch colors */
82
+ swatches: {
83
+ type: PropType<string[] | string[][] | Record<string, string[]>>;
84
+ default: () => string[][];
85
+ };
86
+ /** Swatch size */
87
+ size: {
88
+ type: StringConstructor;
89
+ default: string;
90
+ };
91
+ /** Selected icon */
92
+ icon: {
93
+ type: StringConstructor;
94
+ default: string;
95
+ };
96
+ /** selected icon size */
97
+ iconSize: {
98
+ type: StringConstructor;
99
+ default: string;
100
+ };
101
+ /**
102
+ * The variant prop gives you easy access to several different button styles..
103
+ *
104
+ * @see {@link https://vuetifyjs.com/en/components/buttons/#variant}
105
+ */
106
+ variant: {
107
+ type: PropType<NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">>;
108
+ default: undefined;
109
+ };
110
+ /**
111
+ * Removes the ability to click or target the component.
112
+ *
113
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled}
114
+ */
115
+ disabled: {
116
+ type: BooleanConstructor;
117
+ default: boolean;
118
+ };
119
+ /**
120
+ * Applies a large border radius on the button.
121
+ *
122
+ * @see {@link https://vuetifyjs.com/en/components/buttons/#rounded}
123
+ */
124
+ rounded: {
125
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
126
+ default: undefined;
127
+ };
128
+ /**
129
+ * Applies border styles to component.
130
+ *
131
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-border}
132
+ */
133
+ border: {
134
+ type: (StringConstructor | BooleanConstructor | NumberConstructor)[];
135
+ default: boolean;
136
+ };
137
+ /**
138
+ * Designates an elevation applied to the component between 0 and 24.
139
+ *
140
+ * @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation}
141
+ */
142
+ elevation: {
143
+ type: (StringConstructor | NumberConstructor)[];
144
+ default: undefined;
145
+ };
146
+ }>> & Readonly<{
147
+ "onUpdate:modelValue"?: ((_value: string) => any) | undefined;
148
+ }>, {
149
+ modelValue: string;
150
+ swatches: string[] | Record<string, string[]> | string[][];
151
+ size: string;
152
+ icon: string;
153
+ iconSize: string;
154
+ variant: NonNullable<"flat" | "text" | "elevated" | "tonal" | "outlined" | "plain">;
155
+ disabled: boolean;
156
+ rounded: string | number | boolean;
157
+ border: string | number | boolean;
158
+ elevation: string | number;
159
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
160
+ export default _default;
161
+ //# sourceMappingURL=VSwatches.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"VSwatches.vue.d.ts","sourceRoot":"","sources":["../../../src/components/VSwatches.vue"],"names":[],"mappings":"AAmMA,uBAAuB;AACvB,OAAO,EAAc,KAAK,QAAQ,EAAuB,MAAM,KAAK,CAAC;;IA4anE,kBAAkB;;;;;IAElB,oBAAoB;;cAEH,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;;;IA0B3E,kBAAkB;;;;;IAKlB,oBAAoB;;;;;IAKpB,yBAAyB;;;;;IAKzB;;;;OAIG;;cAEe,QAAQ,CACtB,WAAW,CAAC,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,CAC3E;;;IAGH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;;;;IAvFH,kBAAkB;;;;;IAElB,oBAAoB;;cAEH,QAAQ,CAAC,MAAM,EAAE,GAAG,MAAM,EAAE,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,CAAC;;;IA0B3E,kBAAkB;;;;;IAKlB,oBAAoB;;;;;IAKpB,yBAAyB;;;;;IAKzB;;;;OAIG;;cAEe,QAAQ,CACtB,WAAW,CAAC,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,CAAC,CAC3E;;;IAGH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;IAKH;;;;OAIG;;;;;;;;;;;;;;;;;;;AA9FL,wBAoGG"}
@@ -0,0 +1,4 @@
1
+ import { default as VSwatches } from './components/VSwatches.vue';
2
+ declare const installVSwatches: (app: any) => void;
3
+ export { VSwatches as default, installVSwatches as install };
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAGnD,QAAA,MAAM,gBAAgB,QAAS,GAAG,KAAG,IACE,CAAC;AAExC,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
@@ -0,0 +1,8 @@
1
+ /** Build information meta data */
2
+ export default interface MetaInterface {
3
+ /** Version */
4
+ version: string;
5
+ /** Build date */
6
+ date: string;
7
+ }
8
+ //# sourceMappingURL=MetaInterface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetaInterface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/MetaInterface.ts"],"names":[],"mappings":"AAAA,kCAAkC;AAClC,MAAM,CAAC,OAAO,WAAW,aAAa;IACpC,cAAc;IACd,OAAO,EAAE,MAAM,CAAC;IAChB,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;CACd"}
package/dist/style.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022-2024 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 1.7.0
8
+ * @version 1.7.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "vuetify-swatches",
4
- "version": "1.7.0",
4
+ "version": "1.7.4",
5
5
  "description": "Color Swatch component for Vuetify3.",
6
6
  "keywords": [
7
7
  "vuejs",
@@ -36,7 +36,7 @@
36
36
  "module": "dist/index.es.js",
37
37
  "jsdelivr": "dist/index.iife.js",
38
38
  "unpkg": "dist/index.iife.js",
39
- "types": "dist/index.d.ts",
39
+ "types": "dist/src/index.d.ts",
40
40
  "style": "dist/style.css",
41
41
  "browser": {
42
42
  "./sfc": "./src/components/VSwatches.vue"
@@ -47,7 +47,7 @@
47
47
  "require": "./dist/index.umd.js",
48
48
  "jsdelivr": "./dist/index.iife.js",
49
49
  "unpkg": "./dist/index.iife.js",
50
- "types": "./dist/index.d.ts"
50
+ "types": "./dist/src/index.d.ts"
51
51
  },
52
52
  "./dist/style.css": {
53
53
  "import": "./dist/style.css",
@@ -61,10 +61,9 @@
61
61
  "src/components/VSwatches.vue"
62
62
  ],
63
63
  "engines": {
64
- "node": ">=20.16.0",
65
- "pnpm": ">=9.6.0"
64
+ "pnpm": ">=9.14.2"
66
65
  },
67
- "packageManager": "pnpm@9.7.0",
66
+ "packageManager": "pnpm@9.14.2",
68
67
  "sideEffects": false,
69
68
  "scripts": {
70
69
  "dev": "vite",
@@ -81,44 +80,43 @@
81
80
  "version": "auto-changelog -p && git add CHANGELOG.md"
82
81
  },
83
82
  "peerDependencies": {
84
- "vuetify": "^3.5.17"
83
+ "vuetify": "^3.7.4"
85
84
  },
86
85
  "devDependencies": {
87
86
  "@codemirror/lang-vue": "0.1.3",
88
- "@eslint/js": "^9.9.0",
89
- "@tsconfig/node-lts": "^20.1.3",
90
- "@types/node": "^22.2.0",
91
- "@vitejs/plugin-vue": "^5.1.2",
92
- "@vue/eslint-config-prettier": "^9.0.0",
87
+ "@eslint/js": "^9.15.0",
88
+ "@tsconfig/node-lts": "^22.0.0",
89
+ "@types/node": "^22.9.1",
90
+ "@vitejs/plugin-vue": "^5.2.0",
91
+ "@vue/eslint-config-prettier": "^10.1.0",
93
92
  "@vue/tsconfig": "^0.5.1",
94
- "eslint": "^9.9.0",
93
+ "eslint": "^9.15.0",
95
94
  "eslint-import-resolver-alias": "^1.1.2",
96
- "eslint-import-resolver-typescript": "^3.6.1",
97
- "eslint-plugin-import": "^2.29.1",
95
+ "eslint-import-resolver-typescript": "^3.6.3",
96
+ "eslint-plugin-import": "^2.31.0",
98
97
  "eslint-plugin-tsdoc": "^0.3.0",
99
- "eslint-plugin-vue": "^9.27.0",
98
+ "eslint-plugin-vue": "^9.31.0",
100
99
  "eslint-plugin-vuejs-accessibility": "^2.4.1",
101
- "eslint-plugin-vuetify": "^2.4.0",
100
+ "eslint-plugin-vuetify": "^2.5.1",
102
101
  "eslint-plugin-yaml": "^1.0.3",
103
- "husky": "^9.1.4",
104
- "lint-staged": "^15.2.8",
102
+ "husky": "^9.1.7",
103
+ "lint-staged": "^15.2.10",
105
104
  "npm-run-all": "^4.1.5",
106
105
  "prettier": "^3.3.3",
107
106
  "rimraf": "^6.0.1",
108
107
  "rollup-plugin-visualizer": "^5.12.0",
109
- "sass": "^1.77.8",
110
- "typescript": "^5.5.4",
111
- "typescript-eslint": "^8.0.1",
112
- "vite": "^5.4.0",
113
- "vite-plugin-banner": "^0.7.1",
114
- "vite-plugin-checker": "^0.7.2",
115
- "vite-plugin-dts": "^4.0.2",
108
+ "sass": "^1.81.0",
109
+ "typescript": "^5.6.3",
110
+ "typescript-eslint": "^8.15.0",
111
+ "vite": "^5.4.11",
112
+ "vite-plugin-banner": "^0.8.0",
113
+ "vite-plugin-checker": "^0.8.0",
114
+ "vite-plugin-dts": "^4.3.0",
116
115
  "vite-plugin-vuetify": "^2.0.4",
117
- "vue": "^3.4.37",
118
- "vue-codemirror6": "^1.3.4",
116
+ "vue": "^3.5.13",
117
+ "vue-codemirror6": "^1.3.8",
119
118
  "vue-eslint-parser": "^9.4.3",
120
- "vue-tsc": "^2.0.29",
121
- "vuetify": "^3.6.14"
119
+ "vue-tsc": "^2.1.10"
122
120
  },
123
121
  "husky": {
124
122
  "hooks": {
@@ -131,14 +129,7 @@
131
129
  "*": "prettier -w -u"
132
130
  },
133
131
  "resolutions": {
134
- "get-func-name": ">=2.0.2",
135
- "ip": ">=2.0.1",
136
132
  "json5": ">=2.2.3",
137
- "lodash": ">=4.17.21",
138
- "postcss": ">=8.4.31",
139
- "semver": ">=7.5.3",
140
- "tar": ">=6.2.1",
141
- "vite": ">=5.0.12",
142
133
  "yaml": ">=2.3.2"
143
134
  }
144
135
  }