vuetify-swatches 1.0.4 → 1.0.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/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Masashi Yoshikawa
3
+ Copyright (c) 2022-2023 Masashi Yoshikawa
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/dist/Meta.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ import type MetaInterface from '@/interfaces/MetaInterface';
2
+ declare const meta: MetaInterface;
3
+ export default meta;
package/dist/Meta.js ADDED
@@ -0,0 +1,6 @@
1
+ // This file is auto-generated by the build system.
2
+ const meta = {
3
+ version: '1.0.4',
4
+ date: '2023-01-19T12:01:47.957Z',
5
+ };
6
+ export default meta;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import VSwatches from './components/VSwatches.vue';
1
+ import VSwatches from '@/components/VSwatches.vue';
2
+ import Meta from '@/Meta';
2
3
  declare const installVSwatches: (app: any) => any;
3
- export { VSwatches as default, installVSwatches as install };
4
- //# sourceMappingURL=index.d.ts.map
4
+ export { VSwatches as default, installVSwatches as install, Meta };
package/dist/index.es.js CHANGED
@@ -3,23 +3,18 @@
3
3
  *
4
4
  * @description Color Swatch component for Vuetify.
5
5
  * @author Logue <logue@hotmail.co.jp>
6
- * @copyright 2022 By Masashi Yoshikawa All rights reserved.
6
+ * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
8
  * @version 1.0.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
12
- import { defineComponent, ref } from 'vue-demi';
13
12
  import { VSheet, VBtn, VIcon } from 'vuetify/lib';
13
+ import { defineComponent, ref } from 'vue-demi';
14
14
  import colors from 'vuetify/lib/util/colors';
15
15
 
16
- const _sfc_main = defineComponent({
16
+ var _sfc_main = defineComponent({
17
17
  name: "VSwatches",
18
- components: {
19
- VSheet,
20
- VBtn,
21
- VIcon
22
- },
23
18
  model: {
24
19
  prop: "modelValue",
25
20
  event: "update:modelValue"
@@ -82,7 +77,7 @@ const _sfc_main = defineComponent({
82
77
  }
83
78
  });
84
79
 
85
- const VSwatches_vue_vue_type_style_index_0_lang = '';
80
+ /* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
86
81
 
87
82
  function normalizeComponent (
88
83
  scriptExports,
@@ -179,11 +174,11 @@ function normalizeComponent (
179
174
 
180
175
  var _sfc_render = function render() {
181
176
  var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
182
- return _c("v-sheet", { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
177
+ return _c(VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
183
178
  return _c("div", { key: rows }, _vm._l(colors, function(color) {
184
- return _c("v-btn", { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
179
+ return _c(VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
185
180
  return _vm.onSwatchClick($event);
186
- } } }, [color === _vm.modelValue ? _c("v-icon", { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
181
+ } } }, [color === _vm.modelValue ? _c(VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
187
182
  }), 1);
188
183
  }), 0);
189
184
  };
@@ -198,11 +193,16 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
198
193
  null,
199
194
  null
200
195
  );
201
- const VSwatches = __component__.exports;
196
+ var VSwatches = __component__.exports;
197
+
198
+ const meta = {
199
+ version: "1.0.4",
200
+ date: "2023-01-19T12:01:47.957Z"
201
+ };
202
202
 
203
203
  const installVSwatches = (app) => app.component("VSwatches", VSwatches);
204
204
  if (typeof window !== "undefined" && window.Vue) {
205
205
  window.Vue.use(VSwatches);
206
206
  }
207
207
 
208
- export { VSwatches as default, installVSwatches as install };
208
+ export { meta as Meta, VSwatches as default, installVSwatches as install };
@@ -3,22 +3,21 @@
3
3
  *
4
4
  * @description Color Swatch component for Vuetify.
5
5
  * @author Logue <logue@hotmail.co.jp>
6
- * @copyright 2022 By Masashi Yoshikawa All rights reserved.
6
+ * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
8
  * @version 1.0.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
12
- var VSwatches = (function (exports, vueDemi, lib, colors) {
12
+ var VSwatches = (function (exports, lib, vueDemi, colors) {
13
13
  'use strict';
14
14
 
15
- const _sfc_main = vueDemi.defineComponent({
15
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
16
+
17
+ var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
18
+
19
+ var _sfc_main = vueDemi.defineComponent({
16
20
  name: "VSwatches",
17
- components: {
18
- VSheet: lib.VSheet,
19
- VBtn: lib.VBtn,
20
- VIcon: lib.VIcon
21
- },
22
21
  model: {
23
22
  prop: "modelValue",
24
23
  event: "update:modelValue"
@@ -28,28 +27,28 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
28
27
  swatches: {
29
28
  type: Array,
30
29
  default: () => [
31
- [colors.shades.black, colors.shades.white, colors.shades.transparent],
30
+ [colors__default["default"].shades.black, colors__default["default"].shades.white, colors__default["default"].shades.transparent],
32
31
  [
33
- colors.red.base,
34
- colors.pink.base,
35
- colors.purple.base,
36
- colors.deepPurple.base,
37
- colors.indigo.base,
38
- colors.blue.base,
39
- colors.lightBlue.base,
40
- colors.cyan.base
32
+ colors__default["default"].red.base,
33
+ colors__default["default"].pink.base,
34
+ colors__default["default"].purple.base,
35
+ colors__default["default"].deepPurple.base,
36
+ colors__default["default"].indigo.base,
37
+ colors__default["default"].blue.base,
38
+ colors__default["default"].lightBlue.base,
39
+ colors__default["default"].cyan.base
41
40
  ],
42
41
  [
43
- colors.teal.base,
44
- colors.green.base,
45
- colors.lightGreen.base,
46
- colors.lime.base,
47
- colors.yellow.base,
48
- colors.amber.base,
49
- colors.orange.base,
50
- colors.deepOrange.base
42
+ colors__default["default"].teal.base,
43
+ colors__default["default"].green.base,
44
+ colors__default["default"].lightGreen.base,
45
+ colors__default["default"].lime.base,
46
+ colors__default["default"].yellow.base,
47
+ colors__default["default"].amber.base,
48
+ colors__default["default"].orange.base,
49
+ colors__default["default"].deepOrange.base
51
50
  ],
52
- [colors.brown.base, colors.blueGrey.base, colors.grey.base]
51
+ [colors__default["default"].brown.base, colors__default["default"].blueGrey.base, colors__default["default"].grey.base]
53
52
  ]
54
53
  },
55
54
  size: { type: String, default: "2rem" },
@@ -81,7 +80,7 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
81
80
  }
82
81
  });
83
82
 
84
- const VSwatches_vue_vue_type_style_index_0_lang = '';
83
+ /* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
85
84
 
86
85
  function normalizeComponent (
87
86
  scriptExports,
@@ -178,11 +177,11 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
178
177
 
179
178
  var _sfc_render = function render() {
180
179
  var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
181
- return _c("v-sheet", { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
180
+ return _c(lib.VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
182
181
  return _c("div", { key: rows }, _vm._l(colors, function(color) {
183
- return _c("v-btn", { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
182
+ return _c(lib.VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
184
183
  return _vm.onSwatchClick($event);
185
- } } }, [color === _vm.modelValue ? _c("v-icon", { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
184
+ } } }, [color === _vm.modelValue ? _c(lib.VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
186
185
  }), 1);
187
186
  }), 0);
188
187
  };
@@ -197,18 +196,24 @@ var VSwatches = (function (exports, vueDemi, lib, colors) {
197
196
  null,
198
197
  null
199
198
  );
200
- const VSwatches = __component__.exports;
199
+ var VSwatches = __component__.exports;
200
+
201
+ const meta = {
202
+ version: "1.0.4",
203
+ date: "2023-01-19T12:01:47.957Z"
204
+ };
201
205
 
202
206
  const installVSwatches = (app) => app.component("VSwatches", VSwatches);
203
207
  if (typeof window !== "undefined" && window.Vue) {
204
208
  window.Vue.use(VSwatches);
205
209
  }
206
210
 
207
- exports.default = VSwatches;
211
+ exports.Meta = meta;
212
+ exports["default"] = VSwatches;
208
213
  exports.install = installVSwatches;
209
214
 
210
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
215
+ Object.defineProperty(exports, '__esModule', { value: true });
211
216
 
212
217
  return exports;
213
218
 
214
- })({}, VueDemi, Vuetify, colors);
219
+ })({}, Vuetify, VueDemi, colors);
package/dist/index.js ADDED
@@ -0,0 +1,10 @@
1
+ import VSwatches from '@/components/VSwatches.vue';
2
+ import Meta from '@/Meta';
3
+ const installVSwatches = (app) => app.component('VSwatches', VSwatches);
4
+ export { VSwatches as default, installVSwatches as install, Meta };
5
+ // For CDN.
6
+ // @ts-ignore
7
+ if (typeof window !== 'undefined' && window.Vue) {
8
+ // @ts-ignore
9
+ window.Vue.use(VSwatches);
10
+ }
package/dist/index.umd.js CHANGED
@@ -3,25 +3,24 @@
3
3
  *
4
4
  * @description Color Swatch component for Vuetify.
5
5
  * @author Logue <logue@hotmail.co.jp>
6
- * @copyright 2022 By Masashi Yoshikawa All rights reserved.
6
+ * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
8
  * @version 1.0.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
12
12
  (function (global, factory) {
13
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vue-demi'), require('vuetify/lib'), require('vuetify/lib/util/colors')) :
14
- typeof define === 'function' && define.amd ? define(['exports', 'vue-demi', 'vuetify/lib', 'vuetify/lib/util/colors'], factory) :
15
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VSwatches = {}, global.VueDemi, global.Vuetify, global.colors));
16
- })(this, (function (exports, vueDemi, lib, colors) { 'use strict';
13
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vuetify/lib'), require('vue-demi'), require('vuetify/lib/util/colors')) :
14
+ typeof define === 'function' && define.amd ? define(['exports', 'vuetify/lib', 'vue-demi', 'vuetify/lib/util/colors'], factory) :
15
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VSwatches = {}, global.Vuetify, global.VueDemi, global.colors));
16
+ })(this, (function (exports, lib, vueDemi, colors) { 'use strict';
17
17
 
18
- const _sfc_main = vueDemi.defineComponent({
18
+ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
19
+
20
+ var colors__default = /*#__PURE__*/_interopDefaultCompat(colors);
21
+
22
+ var _sfc_main = vueDemi.defineComponent({
19
23
  name: "VSwatches",
20
- components: {
21
- VSheet: lib.VSheet,
22
- VBtn: lib.VBtn,
23
- VIcon: lib.VIcon
24
- },
25
24
  model: {
26
25
  prop: "modelValue",
27
26
  event: "update:modelValue"
@@ -31,28 +30,28 @@
31
30
  swatches: {
32
31
  type: Array,
33
32
  default: () => [
34
- [colors.shades.black, colors.shades.white, colors.shades.transparent],
33
+ [colors__default["default"].shades.black, colors__default["default"].shades.white, colors__default["default"].shades.transparent],
35
34
  [
36
- colors.red.base,
37
- colors.pink.base,
38
- colors.purple.base,
39
- colors.deepPurple.base,
40
- colors.indigo.base,
41
- colors.blue.base,
42
- colors.lightBlue.base,
43
- colors.cyan.base
35
+ colors__default["default"].red.base,
36
+ colors__default["default"].pink.base,
37
+ colors__default["default"].purple.base,
38
+ colors__default["default"].deepPurple.base,
39
+ colors__default["default"].indigo.base,
40
+ colors__default["default"].blue.base,
41
+ colors__default["default"].lightBlue.base,
42
+ colors__default["default"].cyan.base
44
43
  ],
45
44
  [
46
- colors.teal.base,
47
- colors.green.base,
48
- colors.lightGreen.base,
49
- colors.lime.base,
50
- colors.yellow.base,
51
- colors.amber.base,
52
- colors.orange.base,
53
- colors.deepOrange.base
45
+ colors__default["default"].teal.base,
46
+ colors__default["default"].green.base,
47
+ colors__default["default"].lightGreen.base,
48
+ colors__default["default"].lime.base,
49
+ colors__default["default"].yellow.base,
50
+ colors__default["default"].amber.base,
51
+ colors__default["default"].orange.base,
52
+ colors__default["default"].deepOrange.base
54
53
  ],
55
- [colors.brown.base, colors.blueGrey.base, colors.grey.base]
54
+ [colors__default["default"].brown.base, colors__default["default"].blueGrey.base, colors__default["default"].grey.base]
56
55
  ]
57
56
  },
58
57
  size: { type: String, default: "2rem" },
@@ -84,7 +83,7 @@
84
83
  }
85
84
  });
86
85
 
87
- const VSwatches_vue_vue_type_style_index_0_lang = '';
86
+ /* unplugin-vue-components disabled */var VSwatches_vue_vue_type_style_index_0_lang = '';
88
87
 
89
88
  function normalizeComponent (
90
89
  scriptExports,
@@ -181,11 +180,11 @@
181
180
 
182
181
  var _sfc_render = function render() {
183
182
  var _vm = this, _c = _vm._self._c; _vm._self._setupProxy;
184
- return _c("v-sheet", { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
183
+ return _c(lib.VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors, rows) {
185
184
  return _c("div", { key: rows }, _vm._l(colors, function(color) {
186
- return _c("v-btn", { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
185
+ return _c(lib.VBtn, { key: color, attrs: { "color": color, "depressed": _vm.depressed, "disabled": _vm.disabled, "elevation": _vm.elevation, "height": _vm.size, "outlined": _vm.outlined, "plain": _vm.plain, "raised": _vm.raised, "tile": _vm.tile, "value": color, "width": _vm.size, "min-width": "auto" }, on: { "click": function($event) {
187
186
  return _vm.onSwatchClick($event);
188
- } } }, [color === _vm.modelValue ? _c("v-icon", { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
187
+ } } }, [color === _vm.modelValue ? _c(lib.VIcon, { attrs: { "size": _vm.iconSize, "color": color !== "transparent" ? color : void 0 } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
189
188
  }), 1);
190
189
  }), 0);
191
190
  };
@@ -200,16 +199,22 @@
200
199
  null,
201
200
  null
202
201
  );
203
- const VSwatches = __component__.exports;
202
+ var VSwatches = __component__.exports;
203
+
204
+ const meta = {
205
+ version: "1.0.4",
206
+ date: "2023-01-19T12:01:47.957Z"
207
+ };
204
208
 
205
209
  const installVSwatches = (app) => app.component("VSwatches", VSwatches);
206
210
  if (typeof window !== "undefined" && window.Vue) {
207
211
  window.Vue.use(VSwatches);
208
212
  }
209
213
 
210
- exports.default = VSwatches;
214
+ exports.Meta = meta;
215
+ exports["default"] = VSwatches;
211
216
  exports.install = installVSwatches;
212
217
 
213
- Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });
218
+ Object.defineProperty(exports, '__esModule', { value: true });
214
219
 
215
220
  }));
@@ -0,0 +1,7 @@
1
+ /** Build information meta data */
2
+ export default interface MetaInterface {
3
+ /** Version */
4
+ version: string;
5
+ /** Build date */
6
+ date: string;
7
+ }
@@ -0,0 +1 @@
1
+ export {};
package/dist/style.css CHANGED
@@ -3,7 +3,7 @@
3
3
  *
4
4
  * @description Color Swatch component for Vuetify.
5
5
  * @author Logue <logue@hotmail.co.jp>
6
- * @copyright 2022 By Masashi Yoshikawa All rights reserved.
6
+ * @copyright 2022-2023 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
8
  * @version 1.0.4
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
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.0.4",
4
+ "version": "1.0.5",
5
5
  "license": "MIT",
6
6
  "description": "Color Swatch component for Vuetify.",
7
7
  "keywords": [
@@ -55,7 +55,7 @@
55
55
  "sideEffects": false,
56
56
  "engines": {
57
57
  "node": ">=18.12.1",
58
- "yarn": ">=1.22.10"
58
+ "yarn": ">=1.22.19"
59
59
  },
60
60
  "packageManager": "yarn@3.3.1",
61
61
  "scripts": {
@@ -63,12 +63,13 @@
63
63
  "clean": "rimraf node_modules/.vite",
64
64
  "type-check": "tsc --noEmit --composite false",
65
65
  "build": "run-p type-check build-only build-declaration",
66
- "build:clean": "rimraf dist",
67
- "build:analyze": "vue-tsc --noEmit && vite build --mode analyze",
68
- "build:docs": "vite build --config vite.config.docs.ts",
66
+ "build:analyze": "vite build --mode=analyze",
67
+ "build:clean": "rimraf dist docs",
68
+ "build:docs": "vite build --mode=docs",
69
69
  "build-only": "vite build",
70
- "build-declaration": "tsc -p tsconfig.app.json --composite false --declaration --declarationMap --declarationDir dist",
70
+ "build-declaration": "tsc -p tsconfig.app.json --composite false",
71
71
  "lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
72
+ "preview": "vite preview --mode=docs",
72
73
  "prepare": "husky install",
73
74
  "version": "auto-changelog -p && git add CHANGELOG.md"
74
75
  },
@@ -76,9 +77,9 @@
76
77
  "vue-demi": "latest"
77
78
  },
78
79
  "peerDependencies": {
79
- "@vue/composition-api": "^1.7.0",
80
+ "@vue/composition-api": "^1.7.1",
80
81
  "vue": "^2.6.14 || <3",
81
- "vuetify": "^2.6.12"
82
+ "vuetify": "^2.6.14"
82
83
  },
83
84
  "peerDependenciesMeta": {
84
85
  "@vue/composition-api": {
@@ -86,32 +87,33 @@
86
87
  }
87
88
  },
88
89
  "devDependencies": {
89
- "@codemirror/lang-html": "^6.4.0",
90
+ "@codemirror/lang-html": "^6.4.1",
90
91
  "@types/lodash": "^4.14.191",
91
92
  "@types/node": "^18.11.18",
92
- "@typescript-eslint/eslint-plugin": "^5.47.1",
93
- "@typescript-eslint/parser": "^5.47.1",
93
+ "@typescript-eslint/eslint-plugin": "^5.48.2",
94
+ "@typescript-eslint/parser": "^5.48.2",
94
95
  "@vitejs/plugin-vue2": "^2.2.0",
95
96
  "@vue/eslint-config-prettier": "^7.0.0",
96
97
  "@vue/tsconfig": "^0.1.3",
97
- "codemirror": "^6.0.1",
98
- "eslint": "^8.30.0",
98
+ "eslint": "^8.32.0",
99
99
  "eslint-config-google": "^0.14.0",
100
- "eslint-config-prettier": "^8.5.0",
100
+ "eslint-config-prettier": "^8.6.0",
101
101
  "eslint-import-resolver-alias": "^1.1.2",
102
- "eslint-import-resolver-typescript": "^3.5.2",
103
- "eslint-plugin-import": "^2.26.0",
104
- "eslint-plugin-jsdoc": "^39.6.4",
102
+ "eslint-import-resolver-typescript": "^3.5.3",
103
+ "eslint-plugin-import": "^2.27.5",
104
+ "eslint-plugin-jsdoc": "^39.6.6",
105
+ "eslint-plugin-prettier": "^4.2.1",
105
106
  "eslint-plugin-tsdoc": "^0.2.17",
106
- "eslint-plugin-vue": "^9.8.0",
107
- "eslint-plugin-vuejs-accessibility": "^2.0.0",
107
+ "eslint-plugin-vue": "^9.9.0",
108
+ "eslint-plugin-vuejs-accessibility": "^2.1.0",
108
109
  "eslint-plugin-vuetify": "^1.1.0",
109
- "husky": "^8.0.2",
110
+ "husky": "^8.0.3",
110
111
  "lint-staged": "^13.1.0",
112
+ "npm-run-all": "^4.1.5",
111
113
  "postcss-html": "^1.5.0",
112
- "prettier": "^2.8.1",
113
- "rimraf": "^3.0.2",
114
- "rollup-plugin-visualizer": "^5.8.3",
114
+ "prettier": "^2.8.3",
115
+ "rimraf": "^4.1.1",
116
+ "rollup-plugin-visualizer": "^5.9.0",
115
117
  "sass": "1.32.12",
116
118
  "stylelint": "^14.16.1",
117
119
  "stylelint-config-prettier": "^9.0.4",
@@ -119,14 +121,14 @@
119
121
  "stylelint-config-recommended-vue": "^1.4.0",
120
122
  "typescript": "^4.9.4",
121
123
  "unplugin-vue-components": "^0.22.12",
122
- "vite": "^4.0.3",
124
+ "vite": "^4.0.4",
123
125
  "vite-plugin-banner": "^0.7.0",
124
126
  "vite-plugin-checker": "^0.5.3",
125
127
  "vue": "^2.7.13",
126
- "vue-codemirror6": "^1.1.2",
128
+ "vue-codemirror6": "^1.1.6",
127
129
  "vue-eslint-parser": "^9.1.0",
128
- "vue-tsc": "^1.0.18",
129
- "vuetify": "^2.6.13"
130
+ "vue-tsc": "^1.0.24",
131
+ "vuetify": "^2.6.14"
130
132
  },
131
133
  "husky": {
132
134
  "hooks": {
@@ -140,6 +142,6 @@
140
142
  "*": "prettier -w -u"
141
143
  },
142
144
  "resolutions": {
143
- "prettier": "^2.7.1"
145
+ "json5": "^2.2.3"
144
146
  }
145
147
  }
@@ -39,19 +39,12 @@ import {
39
39
  type SetupContext,
40
40
  } from 'vue-demi';
41
41
 
42
- import { VSheet, VIcon, VBtn } from 'vuetify/lib';
43
42
  import colors from 'vuetify/lib/util/colors';
44
43
 
45
44
  /** Vuetify Swatches */
46
45
  export default defineComponent({
47
46
  /** Component name */
48
47
  name: 'VSwatches',
49
- /** Components */
50
- components: {
51
- VSheet,
52
- VBtn,
53
- VIcon,
54
- },
55
48
  /** Model Definition */
56
49
  model: {
57
50
  prop: 'modelValue',
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAEnD,QAAA,MAAM,gBAAgB,QAAS,GAAG,QAA0C,CAAC;AAE7E,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}