vuetify-swatches 0.0.8 → 0.0.9

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 CHANGED
@@ -38,7 +38,7 @@ export default Vue.extend({
38
38
  </script>
39
39
 
40
40
  <style>
41
- @import 'vuetify-swatches/dist/style.css';
41
+ @import 'vuetify-swatches/style.css';
42
42
  </style>
43
43
  ```
44
44
 
@@ -117,7 +117,7 @@ export default Vue.extend({
117
117
  </script>
118
118
 
119
119
  <style>
120
- @import 'vuetify-swatches/dist/style.css';
120
+ @import 'vuetify-swatches/style.css';
121
121
  </style>
122
122
  ```
123
123
 
@@ -1,41 +1,6 @@
1
- import { type PropType, type Ref } from 'vue-demi';
1
+ import { type PropType, type Ref } from 'vue';
2
2
  /** Vuetify Swatches */
3
- declare const _default: import("vue").ComponentOptions<import("vue").default, import("@vue/composition-api").ShallowUnwrapRef<{
4
- checkedVisibilty: Ref<boolean>;
5
- selected: Ref<string>;
6
- onSwatchClick: (e: Event) => void;
7
- }> & import("@vue/composition-api").Data, {}, {}, {
8
- /** Model value */
9
- modelValue: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- /** Swatch colors */
14
- swatches: {
15
- type: PropType<string[] | string[][]>;
16
- default: () => string[][];
17
- };
18
- /** The size of the shadow of the button */
19
- elevation: {
20
- type: NumberConstructor;
21
- default: number;
22
- };
23
- /** Swatch sized */
24
- size: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- /** selected icon */
29
- icon: {
30
- type: StringConstructor;
31
- default: string;
32
- };
33
- /** selected icon size */
34
- iconSize: {
35
- type: StringConstructor;
36
- default: string;
37
- };
38
- }, import("@vue/composition-api").ExtractPropTypes<{
3
+ declare const _default: import("vue/types/v3-component-proxy").VueProxy<{
39
4
  /** Model value */
40
5
  modelValue: {
41
6
  type: StringConstructor;
@@ -66,30 +31,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
66
31
  type: StringConstructor;
67
32
  default: string;
68
33
  };
69
- }>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
70
- modelValue: string;
71
- swatches: string[] | string[][];
72
- elevation: number;
73
- size: string;
74
- icon: string;
75
- iconSize: string;
76
- } & {}, import("@vue/composition-api").ShallowUnwrapRef<{
34
+ }, {
77
35
  checkedVisibilty: Ref<boolean>;
78
36
  selected: Ref<string>;
79
37
  onSwatchClick: (e: Event) => void;
80
- }>, import("@vue/composition-api").Data, {}, {}, {}, {}, {}, {
81
- modelValue: string;
82
- swatches: string[] | string[][];
83
- elevation: number;
84
- size: string;
85
- icon: string;
86
- iconSize: string;
87
- } & {}, {
88
- swatches: string[] | string[][];
89
- elevation: number;
90
- size: string;
91
- icon: string;
92
- iconSize: string;
93
- }, true>);
38
+ }, import("vue").Data, {}, {}, {}, {}, {}>;
94
39
  export default _default;
95
40
  //# sourceMappingURL=VSwatches.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"VSwatches.vue.d.ts","sourceRoot":"","sources":["../../src/components/VSwatches.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,GAAG,EAET,MAAM,UAAU,CAAC;AAKlB,uBAAuB;;;;uBA0EO,KAAK;;IA1D/B,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;IApCzB,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;;;;;;;;;;uBAsBC,KAAK;;;;;;;;;;;;;;;AAzEnC,wBAwFG"}
1
+ {"version":3,"file":"VSwatches.vue.d.ts","sourceRoot":"","sources":["../../src/components/VSwatches.vue.ts"],"names":[],"mappings":"AACA,OAAO,EAGL,KAAK,QAAQ,EACb,KAAK,GAAG,EAET,MAAM,KAAK,CAAC;AAKb,uBAAuB;;IAgBnB,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;;;uBAsBC,KAAK;;AAzEnC,wBAwFG"}
package/dist/index.d.ts CHANGED
@@ -1,11 +1,3 @@
1
- /**
2
- * Vuetify Swatches Component
3
- *
4
- * @license MIT
5
- * @author Logue {@link logue@hotmail.co.jp}
6
- * @copyright 2022 Masashi Yoshikawa {@link https://logue.dev/} All rights reserved.
7
- * @see {@link https://github.com/logue/vuetify-swatches}
8
- */
9
1
  import VSwatches from './components/VSwatches.vue';
10
2
  declare const installVSwatches: (app: any) => any;
11
3
  export { VSwatches as default, installVSwatches as install };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAEnD,QAAA,MAAM,gBAAgB,mBAA+C,CAAC;AAEtE,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,4BAA4B,CAAC;AAEnD,QAAA,MAAM,gBAAgB,mBAA+C,CAAC;AAEtE,OAAO,EAAE,SAAS,IAAI,OAAO,EAAE,gBAAgB,IAAI,OAAO,EAAE,CAAC"}
package/dist/index.es.js CHANGED
@@ -1,7 +1,18 @@
1
- import { defineComponent, ref } from "vue-demi";
1
+ /**
2
+ * vuetify-swatches
3
+ *
4
+ * @description Color Swatch component for Vuetify.
5
+ * @author Logue <logue@hotmail.co.jp>
6
+ * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
+ * @license MIT
8
+ * @version 0.0.9
9
+ * @see {@link https://github.com/logue/vuetify-swatches}
10
+ */
11
+
2
12
  import { VSheet, VBtn, VIcon } from "vuetify/lib";
13
+ import { defineComponent, ref } from "vue";
3
14
  import colors from "vuetify/lib/util/colors";
4
- var __vue2_script = defineComponent({
15
+ var _sfc_main = defineComponent({
5
16
  name: "VSwatches",
6
17
  components: {
7
18
  VSheet,
@@ -65,45 +76,12 @@ var __vue2_script = defineComponent({
65
76
  };
66
77
  }
67
78
  });
68
- var render = function() {
69
- var _vm = this;
70
- var _h = _vm.$createElement;
71
- var _c = _vm._self._c || _h;
72
- return _c(VSheet, {
73
- staticClass: "v-swatches"
74
- }, _vm._l(_vm.swatches, function(colors2, rows) {
75
- return _c("div", {
76
- key: rows
77
- }, _vm._l(colors2, function(color) {
78
- return _c(VBtn, {
79
- key: color,
80
- attrs: {
81
- "elevation": _vm.elevation,
82
- "width": _vm.size,
83
- "height": _vm.size,
84
- "color": color,
85
- "value": color,
86
- "min-width": "auto"
87
- },
88
- on: {
89
- "click": _vm.onSwatchClick
90
- }
91
- }, [color === _vm.selected ? _c(VIcon, {
92
- attrs: {
93
- "size": _vm.iconSize,
94
- "color": color
95
- }
96
- }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
97
- }), 1);
98
- }), 0);
99
- };
100
- var staticRenderFns = [];
101
- var VSwatches_vue_vue_type_style_index_0_lang = "";
102
- function normalizeComponent(scriptExports, render2, staticRenderFns2, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
79
+ var VSwatches_vue_vue_type_style_index_0_lang = /* @__PURE__ */ (() => ".v-swatches .v-btn{padding:0!important;margin:.1rem}.v-swatches .v-btn .v-icon{filter:invert(100%)}\n")();
80
+ function normalizeComponent(scriptExports, render2, staticRenderFns, functionalTemplate, injectStyles, scopeId, moduleIdentifier, shadowMode) {
103
81
  var options = typeof scriptExports === "function" ? scriptExports.options : scriptExports;
104
82
  if (render2) {
105
83
  options.render = render2;
106
- options.staticRenderFns = staticRenderFns2;
84
+ options.staticRenderFns = staticRenderFns;
107
85
  options._compiled = true;
108
86
  }
109
87
  if (functionalTemplate) {
@@ -150,23 +128,20 @@ function normalizeComponent(scriptExports, render2, staticRenderFns2, functional
150
128
  options
151
129
  };
152
130
  }
153
- const __cssModules = {};
154
- var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);
155
- function __vue2_injectStyles(context) {
156
- for (let o in __cssModules) {
157
- this[o] = __cssModules[o];
158
- }
159
- }
160
- var VSwatches = /* @__PURE__ */ function() {
161
- return __component__.exports;
162
- }();
163
- /**
164
- * Vuetify Swatches Component
165
- *
166
- * @license MIT
167
- * @author Logue {@link logue@hotmail.co.jp}
168
- * @copyright 2022 Masashi Yoshikawa {@link https://logue.dev/} All rights reserved.
169
- * @see {@link https://github.com/logue/vuetify-swatches}
170
- */
131
+ var _sfc_render = function render() {
132
+ var _vm = this, _c = _vm._self._c;
133
+ _vm._self._setupProxy;
134
+ return _c(VSheet, { staticClass: "v-swatches" }, _vm._l(_vm.swatches, function(colors2, rows) {
135
+ return _c("div", { key: rows }, _vm._l(colors2, function(color) {
136
+ return _c(VBtn, { key: color, attrs: { "elevation": _vm.elevation, "width": _vm.size, "height": _vm.size, "color": color, "value": color, "min-width": "auto" }, on: { "click": _vm.onSwatchClick } }, [color === _vm.selected ? _c(VIcon, { attrs: { "size": _vm.iconSize, "color": color } }, [_vm._v(" " + _vm._s(_vm.icon) + " ")]) : _vm._e()], 1);
137
+ }), 1);
138
+ }), 0);
139
+ };
140
+ var _sfc_staticRenderFns = [];
141
+ var __component__ = /* @__PURE__ */ normalizeComponent(_sfc_main, _sfc_render, _sfc_staticRenderFns, false, null, null, null, null);
142
+ var VSwatches = __component__.exports;
171
143
  const installVSwatches = (app) => app.component("VSwatches", VSwatches);
144
+ if (typeof window !== "undefined" && window.Vue) {
145
+ window.Vue.use(VSwatches);
146
+ }
172
147
  export { VSwatches as default, installVSwatches as install };
package/dist/index.umd.js CHANGED
@@ -1,8 +1,13 @@
1
- (function(n,d){typeof exports=="object"&&typeof module<"u"?d(exports,require("vue-demi"),require("vuetify/lib"),require("vuetify/lib/util/colors")):typeof define=="function"&&define.amd?define(["exports","vue-demi","vuetify/lib","vuetify/lib/util/colors"],d):(n=typeof globalThis<"u"?globalThis:n||self,d(n.VSwatches={},n.VueDemi,n.Vuetify,n.colors))})(this,function(n,d,_,b){"use strict";function y(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var t=y(b),V=d.defineComponent({name:"VSwatches",components:{VSheet:_.VSheet,VBtn:_.VBtn,VIcon:_.VIcon},model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String,required:!0},swatches:{type:Array,default:()=>[[t.default.shades.black,t.default.shades.white],[t.default.red.base,t.default.pink.base,t.default.purple.base,t.default.deepPurple.base,t.default.indigo.base,t.default.blue.base,t.default.lightBlue.base,t.default.cyan.base],[t.default.teal.base,t.default.green.base,t.default.lightGreen.base,t.default.lime.base,t.default.yellow.base,t.default.amber.base,t.default.orange.base,t.default.deepOrange.base],[t.default.brown.base,t.default.blueGrey.base,t.default.grey.base]]},elevation:{type:Number,default:1},size:{type:String,default:"2rem"},icon:{type:String,default:"mdi-checkbox-marked-circle"},iconSize:{type:String,default:"1rem"}},emits:["update:modelValue"],setup(e,u){const s=d.ref(!1),f=d.ref(e.modelValue);return{checkedVisibilty:s,selected:f,onSwatchClick:i=>{const c=i.target.value;!c||f.value===c||(f.value=c,u.emit("update:modelValue",c))}}}}),S=function(){var e=this,u=e.$createElement,s=e._self._c||u;return s(_.VSheet,{staticClass:"v-swatches"},e._l(e.swatches,function(f,r){return s("div",{key:r},e._l(f,function(i){return s(_.VBtn,{key:i,attrs:{elevation:e.elevation,width:e.size,height:e.size,color:i,value:i,"min-width":"auto"},on:{click:e.onSwatchClick}},[i===e.selected?s(_.VIcon,{attrs:{size:e.iconSize,color:i}},[e._v(" "+e._s(e.icon)+" ")]):e._e()],1)}),1)}),0)},w=[],q="";function g(e,u,s,f,r,i,c,T){var a=typeof e=="function"?e.options:e;u&&(a.render=u,a.staticRenderFns=s,a._compiled=!0),f&&(a.functional=!0),i&&(a._scopeId="data-v-"+i);var o;if(c?(o=function(l){l=l||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!l&&typeof __VUE_SSR_CONTEXT__<"u"&&(l=__VUE_SSR_CONTEXT__),r&&r.call(this,l),l&&l._registeredComponents&&l._registeredComponents.add(c)},a._ssrRegister=o):r&&(o=T?function(){r.call(this,(a.functional?this.parent:this).$root.$options.shadowRoot)}:r),o)if(a.functional){a._injectStyles=o;var $=a.render;a.render=function(R,m){return o.call(m),$(R,m)}}else{var v=a.beforeCreate;a.beforeCreate=v?[].concat(v,o):[o]}return{exports:e,options:a}}const h={};var C=g(V,S,w,!1,k,null,null,null);function k(e){for(let u in h)this[u]=h[u]}var p=function(){return C.exports}();/**
2
- * Vuetify Swatches Component
1
+ /**
2
+ * vuetify-swatches
3
3
  *
4
+ * @description Color Swatch component for Vuetify.
5
+ * @author Logue <logue@hotmail.co.jp>
6
+ * @copyright 2022 By Masashi Yoshikawa All rights reserved.
4
7
  * @license MIT
5
- * @author Logue {@link logue@hotmail.co.jp}
6
- * @copyright 2022 Masashi Yoshikawa {@link https://logue.dev/} All rights reserved.
8
+ * @version 0.0.9
7
9
  * @see {@link https://github.com/logue/vuetify-swatches}
8
- */const z=e=>e.component("VSwatches",p);n.default=p,n.install=z,Object.defineProperties(n,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
10
+ */
11
+
12
+ (function(i,u){typeof exports=="object"&&typeof module<"u"?u(exports,require("vuetify/lib"),require("vue"),require("vuetify/lib/util/colors")):typeof define=="function"&&define.amd?define(["exports","vuetify/lib","vue","vuetify/lib/util/colors"],u):(i=typeof globalThis<"u"?globalThis:i||self,u(i.VSwatches={},i.Vuetify,i.Vue,i.colors))})(this,function(i,u,_,m){"use strict";function b(a){return a&&typeof a=="object"&&"default"in a?a:{default:a}}var e=b(m),y=_.defineComponent({name:"VSwatches",components:{VSheet:u.VSheet,VBtn:u.VBtn,VIcon:u.VIcon},model:{prop:"modelValue",event:"update:modelValue"},props:{modelValue:{type:String,required:!0},swatches:{type:Array,default:()=>[[e.default.shades.black,e.default.shades.white],[e.default.red.base,e.default.pink.base,e.default.purple.base,e.default.deepPurple.base,e.default.indigo.base,e.default.blue.base,e.default.lightBlue.base,e.default.cyan.base],[e.default.teal.base,e.default.green.base,e.default.lightGreen.base,e.default.lime.base,e.default.yellow.base,e.default.amber.base,e.default.orange.base,e.default.deepOrange.base],[e.default.brown.base,e.default.blueGrey.base,e.default.grey.base]]},elevation:{type:Number,default:1},size:{type:String,default:"2rem"},icon:{type:String,default:"mdi-checkbox-marked-circle"},iconSize:{type:String,default:"1rem"}},emits:["update:modelValue"],setup(a,t){const r=_.ref(!1),f=_.ref(a.modelValue);return{checkedVisibilty:r,selected:f,onSwatchClick:s=>{const c=s.target.value;!c||f.value===c||(f.value=c,t.emit("update:modelValue",c))}}}}),R=(()=>`.v-swatches .v-btn{padding:0!important;margin:.1rem}.v-swatches .v-btn .v-icon{filter:invert(100%)}
13
+ `)();function V(a,t,r,f,o,s,c,k){var n=typeof a=="function"?a.options:a;t&&(n.render=t,n.staticRenderFns=r,n._compiled=!0),f&&(n.functional=!0),s&&(n._scopeId="data-v-"+s);var d;if(c?(d=function(l){l=l||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!l&&typeof __VUE_SSR_CONTEXT__<"u"&&(l=__VUE_SSR_CONTEXT__),o&&o.call(this,l),l&&l._registeredComponents&&l._registeredComponents.add(c)},n._ssrRegister=d):o&&(d=k?function(){o.call(this,(n.functional?this.parent:this).$root.$options.shadowRoot)}:o),d)if(n.functional){n._injectStyles=d;var z=n.render;n.render=function(T,v){return d.call(v),z(T,v)}}else{var h=n.beforeCreate;n.beforeCreate=h?[].concat(h,d):[d]}return{exports:a,options:n}}var w=function(){var t=this,r=t._self._c;return t._self._setupProxy,r(u.VSheet,{staticClass:"v-swatches"},t._l(t.swatches,function(f,o){return r("div",{key:o},t._l(f,function(s){return r(u.VBtn,{key:s,attrs:{elevation:t.elevation,width:t.size,height:t.size,color:s,value:s,"min-width":"auto"},on:{click:t.onSwatchClick}},[s===t.selected?r(u.VIcon,{attrs:{size:t.iconSize,color:s}},[t._v(" "+t._s(t.icon)+" ")]):t._e()],1)}),1)}),0)},S=[],g=V(y,w,S,!1,null,null,null,null),p=g.exports;const C=a=>a.component("VSwatches",p);typeof window<"u"&&window.Vue&&window.Vue.use(p),i.default=p,i.install=C,Object.defineProperties(i,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
package/dist/style.css CHANGED
@@ -1 +1,12 @@
1
+ /**
2
+ * vuetify-swatches
3
+ *
4
+ * @description Color Swatch component for Vuetify.
5
+ * @author Logue <logue@hotmail.co.jp>
6
+ * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
+ * @license MIT
8
+ * @version 0.0.9
9
+ * @see {@link https://github.com/logue/vuetify-swatches}
10
+ */
11
+
1
12
  .v-swatches .v-btn{padding:0!important;margin:.1rem}.v-swatches .v-btn .v-icon{filter:invert(100%)}
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": "0.0.8",
4
+ "version": "0.0.9",
5
5
  "description": "Color Swatch component for Vuetify.",
6
6
  "keywords": [
7
7
  "vuejs",
@@ -45,7 +45,7 @@
45
45
  "import": "./dist/index.es.js",
46
46
  "require": "./dist/index.umd.js"
47
47
  },
48
- "./dist/style.css": {
48
+ "./style.css": {
49
49
  "import": "./dist/style.css",
50
50
  "require": "./dist/style.css"
51
51
  }
@@ -69,62 +69,59 @@
69
69
  "preview": "vite preview --config vite.config.docs.ts",
70
70
  "prepare": "husky install"
71
71
  },
72
- "dependencies": {
73
- "@vue/composition-api": "latest",
74
- "vue-demi": "latest"
75
- },
76
72
  "peerDependencies": {
77
- "vue": "^2.6.14",
78
- "vuetify": "^2.6.6"
73
+ "vue": "^2.7.0",
74
+ "vuetify": "^2.6.7"
79
75
  },
80
76
  "devDependencies": {
81
77
  "@codemirror/basic-setup": "^0.20.0",
82
- "@codemirror/lang-html": "^0.20.0",
83
- "@codemirror/state": "^0.20.0",
84
- "@codemirror/view": "^0.20.6",
85
- "@types/node": "^17.0.36",
86
- "@typescript-eslint/eslint-plugin": "^5.26.0",
87
- "@typescript-eslint/parser": "^5.26.0",
88
- "eslint": "^8.16.0",
78
+ "@codemirror/lang-html": "^6.1.0",
79
+ "@codemirror/state": "^6.1.0",
80
+ "@codemirror/view": "^6.0.2",
81
+ "@types/node": "^18.0.1",
82
+ "@typescript-eslint/eslint-plugin": "^5.30.4",
83
+ "@typescript-eslint/parser": "^5.30.4",
84
+ "@vitejs/plugin-vue2": "^1.1.2",
85
+ "codemirror": "^6.0.1",
86
+ "eslint": "^8.19.0",
89
87
  "eslint-config-google": "^0.14.0",
90
88
  "eslint-config-prettier": "^8.5.0",
91
89
  "eslint-import-resolver-alias": "^1.1.2",
92
- "eslint-import-resolver-typescript": "^2.7.1",
90
+ "eslint-import-resolver-typescript": "^3.2.1",
93
91
  "eslint-plugin-import": "^2.26.0",
94
- "eslint-plugin-jsdoc": "^39.3.2",
92
+ "eslint-plugin-jsdoc": "^39.3.3",
95
93
  "eslint-plugin-tsdoc": "^0.2.16",
96
- "eslint-plugin-vue": "^9.0.1",
97
- "eslint-plugin-vuejs-accessibility": "^1.1.1",
94
+ "eslint-plugin-vue": "^9.1.1",
95
+ "eslint-plugin-vuejs-accessibility": "^1.2.0",
98
96
  "eslint-plugin-vuetify": "^1.1.0",
99
97
  "eslint-plugin-yaml": "^0.5.0",
100
98
  "husky": "^8.0.1",
101
- "lint-staged": "^12.4.2",
99
+ "lint-staged": "^13.0.3",
102
100
  "postcss-html": "^1.4.1",
103
- "prettier": "^2.6.2",
101
+ "prettier": "^2.7.1",
104
102
  "prettier-plugin-jsdoc": "^0.3.38",
105
103
  "prettier-plugin-md-nocjsp": "^1.2.0",
106
- "prettier-plugin-sort-imports": "^1.6.1",
104
+ "prettier-plugin-sort-imports": "^1.7.0",
107
105
  "rimraf": "^3.0.2",
108
106
  "rollup-plugin-visualizer": "^5.6.0",
109
107
  "sass": "1.32.12",
110
- "stylelint": "^14.8.5",
108
+ "stylelint": "^14.9.1",
111
109
  "stylelint-config-prettier": "^9.0.3",
112
110
  "stylelint-config-recommended-scss": "^6.0.0",
113
111
  "stylelint-config-recommended-vue": "^1.4.0",
114
112
  "stylelint-order": "^5.0.0",
115
113
  "stylelint-prettier": "^2.0.0",
116
- "typescript": "^4.7.2",
117
- "unplugin-vue-components": "^0.19.6",
118
- "vite": "^2.9.9",
119
- "vite-plugin-checker": "^0.4.6",
120
- "vite-plugin-stylelint": "^2.2.3",
121
- "vite-plugin-vue2": "^2.0.1",
122
- "vue": "^2.6.14",
123
- "vue-codemirror6": "0.1.6",
124
- "vue-eslint-parser": "^9.0.2",
125
- "vue-template-compiler": "^2.6.14",
126
- "vue-tsc": "^0.34.17",
127
- "vuetify": "^2.6.6"
114
+ "typescript": "^4.7.4",
115
+ "unplugin-vue-components": "^0.21.0",
116
+ "vite": "^2.9.13",
117
+ "vite-plugin-banner": "^0.3.0",
118
+ "vite-plugin-checker": "^0.4.7",
119
+ "vue": "^2.7.0",
120
+ "vue-codemirror6": "0.6.5",
121
+ "vue-eslint-parser": "^9.0.3",
122
+ "vue-template-compiler": "^2.7.1",
123
+ "vue-tsc": "^0.38.2",
124
+ "vuetify": "^2.6.7"
128
125
  },
129
126
  "husky": {
130
127
  "hooks": {
@@ -27,7 +27,7 @@ import {
27
27
  type PropType,
28
28
  type Ref,
29
29
  type SetupContext,
30
- } from 'vue-demi';
30
+ } from 'vue';
31
31
 
32
32
  import { VSheet, VIcon, VBtn } from 'vuetify/lib';
33
33
  import colors from 'vuetify/lib/util/colors';