vuetify-swatches 1.4.4 → 1.4.6
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/README.md +2 -2
- package/dist/index.es.js +3 -2
- package/dist/index.iife.js +3 -2
- package/dist/index.umd.js +3 -2
- package/dist/style.css +1 -1
- package/package.json +26 -24
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
This is for Vuetify3.
|
|
12
|
+
⚠ This is for Vuetify3. If you are using Vuetify2, please use 1.0.x.
|
|
13
13
|
|
|
14
14
|
This project is a remake of [saintplay's vue-swatches](https://saintplay.github.io/vue-swatches/) with [Vuetify](https://vuetifyjs.com/).
|
|
15
15
|
|
|
@@ -117,7 +117,7 @@ const selected: Ref<string> = ref('#ffffff');
|
|
|
117
117
|
|
|
118
118
|
### Options
|
|
119
119
|
|
|
120
|
-
Most props other than size and placement are the same as [v-btn](https://
|
|
120
|
+
Most props other than size and placement are the same as [v-btn](https://vuetifyjs.com/en/api/v-btn/).
|
|
121
121
|
|
|
122
122
|
| Variables | Type | Default | Info |
|
|
123
123
|
| --------- | -------------- | -------------------------- | -------------------------------------------------------------------------- |
|
package/dist/index.es.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.4.
|
|
8
|
+
* @version 1.4.6
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -110,7 +110,8 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
110
110
|
emits: {
|
|
111
111
|
"update:modelValue": (value) => true
|
|
112
112
|
},
|
|
113
|
-
setup(__props, { emit:
|
|
113
|
+
setup(__props, { emit: __emit }) {
|
|
114
|
+
const emits = __emit;
|
|
114
115
|
const props = __props;
|
|
115
116
|
const selected = ref(colors.shades.white);
|
|
116
117
|
const onSwatchClick = (e) => selected.value = e.target.value || colors.shades.white;
|
package/dist/index.iife.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.4.
|
|
8
|
+
* @version 1.4.6
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -113,7 +113,8 @@ var VSwatches = (function (exports, vue, components, colors) {
|
|
|
113
113
|
emits: {
|
|
114
114
|
"update:modelValue": (value) => true
|
|
115
115
|
},
|
|
116
|
-
setup(__props, { emit:
|
|
116
|
+
setup(__props, { emit: __emit }) {
|
|
117
|
+
const emits = __emit;
|
|
117
118
|
const props = __props;
|
|
118
119
|
const selected = vue.ref(colors__default["default"].shades.white);
|
|
119
120
|
const onSwatchClick = (e) => selected.value = e.target.value || colors__default["default"].shades.white;
|
package/dist/index.umd.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* @author Logue <logue@hotmail.co.jp>
|
|
6
6
|
* @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
|
|
7
7
|
* @license MIT
|
|
8
|
-
* @version 1.4.
|
|
8
|
+
* @version 1.4.6
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -116,7 +116,8 @@
|
|
|
116
116
|
emits: {
|
|
117
117
|
"update:modelValue": (value) => true
|
|
118
118
|
},
|
|
119
|
-
setup(__props, { emit:
|
|
119
|
+
setup(__props, { emit: __emit }) {
|
|
120
|
+
const emits = __emit;
|
|
120
121
|
const props = __props;
|
|
121
122
|
const selected = vue.ref(colors__default["default"].shades.white);
|
|
122
123
|
const onSwatchClick = (e) => selected.value = e.target.value || colors__default["default"].shades.white;
|
package/dist/style.css
CHANGED
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.4.
|
|
4
|
+
"version": "1.4.6",
|
|
5
5
|
"description": "Color Swatch component for Vuetify3.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"vuejs",
|
|
@@ -51,7 +51,9 @@
|
|
|
51
51
|
},
|
|
52
52
|
"./dist/style.css": {
|
|
53
53
|
"import": "./dist/style.css",
|
|
54
|
-
"require": "./dist/style.css"
|
|
54
|
+
"require": "./dist/style.css",
|
|
55
|
+
"jsdelivr": "./dist/style.css",
|
|
56
|
+
"unpkg": "./dist/style.css"
|
|
55
57
|
}
|
|
56
58
|
},
|
|
57
59
|
"files": [
|
|
@@ -61,7 +63,7 @@
|
|
|
61
63
|
"engines": {
|
|
62
64
|
"yarn": ">=1.22.19"
|
|
63
65
|
},
|
|
64
|
-
"packageManager": "yarn@
|
|
66
|
+
"packageManager": "yarn@4.0.1",
|
|
65
67
|
"sideEffects": false,
|
|
66
68
|
"scripts": {
|
|
67
69
|
"dev": "vite",
|
|
@@ -83,43 +85,43 @@
|
|
|
83
85
|
"devDependencies": {
|
|
84
86
|
"@codemirror/lang-vue": "^0.1.2",
|
|
85
87
|
"@tsconfig/node-lts": "^18.12.5",
|
|
86
|
-
"@types/node": "^20.
|
|
87
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
88
|
-
"@typescript-eslint/parser": "^6.
|
|
89
|
-
"@vitejs/plugin-vue": "^4.
|
|
88
|
+
"@types/node": "^20.9.0",
|
|
89
|
+
"@typescript-eslint/eslint-plugin": "^6.10.0",
|
|
90
|
+
"@typescript-eslint/parser": "^6.10.0",
|
|
91
|
+
"@vitejs/plugin-vue": "^4.4.0",
|
|
90
92
|
"@vue/eslint-config-prettier": "^8.0.0",
|
|
91
93
|
"@vue/tsconfig": "^0.4.0",
|
|
92
|
-
"eslint": "^8.
|
|
93
|
-
"eslint-config-standard-with-typescript": "^39.
|
|
94
|
+
"eslint": "^8.53.0",
|
|
95
|
+
"eslint-config-standard-with-typescript": "^39.1.1",
|
|
94
96
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
95
|
-
"eslint-import-resolver-typescript": "^3.6.
|
|
97
|
+
"eslint-import-resolver-typescript": "^3.6.1",
|
|
96
98
|
"eslint-plugin-html": "^7.1.0",
|
|
97
|
-
"eslint-plugin-import": "^2.
|
|
98
|
-
"eslint-plugin-n": "^16.0
|
|
99
|
+
"eslint-plugin-import": "^2.29.0",
|
|
100
|
+
"eslint-plugin-n": "^16.3.0",
|
|
99
101
|
"eslint-plugin-promise": "^6.1.1",
|
|
100
102
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
101
|
-
"eslint-plugin-vue": "^9.
|
|
103
|
+
"eslint-plugin-vue": "^9.18.1",
|
|
102
104
|
"eslint-plugin-vuejs-accessibility": "^2.2.0",
|
|
103
105
|
"eslint-plugin-vuetify": "^2.0.5",
|
|
104
106
|
"eslint-plugin-yaml": "^0.5.0",
|
|
105
107
|
"husky": "^8.0.3",
|
|
106
|
-
"lint-staged": "^
|
|
108
|
+
"lint-staged": "^15.0.2",
|
|
107
109
|
"npm-run-all": "^4.1.5",
|
|
108
110
|
"prettier": "^3.0.3",
|
|
109
|
-
"rimraf": "^5.0.
|
|
111
|
+
"rimraf": "^5.0.5",
|
|
110
112
|
"rollup-plugin-visualizer": "^5.9.2",
|
|
111
|
-
"sass": "^1.
|
|
113
|
+
"sass": "^1.69.5",
|
|
112
114
|
"typescript": "^5.2.2",
|
|
113
|
-
"vite": "^4.
|
|
114
|
-
"vite-plugin-banner": "^0.7.
|
|
115
|
+
"vite": "^4.5.0",
|
|
116
|
+
"vite-plugin-banner": "^0.7.1",
|
|
115
117
|
"vite-plugin-checker": "^0.6.2",
|
|
116
|
-
"vite-plugin-dts": "^3.
|
|
118
|
+
"vite-plugin-dts": "^3.6.3",
|
|
117
119
|
"vite-plugin-vuetify": "^1.0.2",
|
|
118
|
-
"vue": "^3.3.
|
|
119
|
-
"vue-codemirror6": "^1.1.
|
|
120
|
-
"vue-eslint-parser": "^9.3.
|
|
121
|
-
"vue-tsc": "^1.8.
|
|
122
|
-
"vuetify": "^3.3.
|
|
120
|
+
"vue": "^3.3.8",
|
|
121
|
+
"vue-codemirror6": "^1.1.27",
|
|
122
|
+
"vue-eslint-parser": "^9.3.2",
|
|
123
|
+
"vue-tsc": "^1.8.22",
|
|
124
|
+
"vuetify": "^3.3.23"
|
|
123
125
|
},
|
|
124
126
|
"husky": {
|
|
125
127
|
"hooks": {
|