vuetify-swatches 0.1.1 → 0.1.3

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.
@@ -1,6 +1,6 @@
1
1
  import { type PropType, type Ref } from 'vue';
2
2
  /** Vuetify Swatches */
3
- declare const _default: import("vue/types/v3-define-component").DefineComponent<{
3
+ declare const _default: import("vue/types/v3-define-component.js").DefineComponent<{
4
4
  /** Model value */
5
5
  modelValue: {
6
6
  type: StringConstructor;
@@ -34,7 +34,7 @@ declare const _default: import("vue/types/v3-define-component").DefineComponent<
34
34
  }, {
35
35
  checkedVisibilty: Ref<boolean>;
36
36
  onSwatchClick: (e: Event) => void;
37
- }, import("vue").Data, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
37
+ }, import("vue").Data, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
38
38
  /** Model value */
39
39
  modelValue: {
40
40
  type: StringConstructor;
@@ -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,KAAK,CAAC;AAKb,uBAAuB;;IAgBnB,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;;uBAmBC,KAAK;;IAvD/B,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;;;;;;;;AAnD7B,wBAmFG"}
1
+ {"version":3,"file":"VSwatches.vue.d.ts","sourceRoot":"","sources":["../../src/components/VSwatches.vue.tsx"],"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;;;;;;;uBAoBC,KAAK;;IAxD/B,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,2CAA2C;;;;;IAE3C,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;;;;;;;;;AAnD7B,wBAoFG"}
package/dist/index.es.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 0.1.1
8
+ * @version 0.1.3
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 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 0.1.1
8
+ * @version 0.1.3
9
9
  * @see {@link https://github.com/logue/vuetify-swatches}
10
10
  */
11
11
 
package/dist/style.css CHANGED
@@ -5,7 +5,7 @@
5
5
  * @author Logue <logue@hotmail.co.jp>
6
6
  * @copyright 2022 By Masashi Yoshikawa All rights reserved.
7
7
  * @license MIT
8
- * @version 0.1.1
8
+ * @version 0.1.3
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": "0.1.1",
4
+ "version": "0.1.3",
5
5
  "license": "MIT",
6
6
  "description": "Color Swatch component for Vuetify.",
7
7
  "keywords": [
@@ -17,6 +17,7 @@
17
17
  "vuetify",
18
18
  "vuetify-components"
19
19
  ],
20
+ "type": "module",
20
21
  "author": {
21
22
  "name": "Logue",
22
23
  "email": "logue@hotmail.co.jp",
@@ -54,9 +55,9 @@
54
55
  "sideEffects": false,
55
56
  "engines": {
56
57
  "node": ">=16.15.0",
57
- "yarn": ">=1.22.4"
58
+ "yarn": ">=1.22.10"
58
59
  },
59
- "packageManager": "yarn@3.2.1",
60
+ "packageManager": "yarn@3.2.2",
60
61
  "scripts": {
61
62
  "dev": "vite",
62
63
  "clean": "rimraf node_modules/.vite ",
@@ -73,7 +74,7 @@
73
74
  "peerDependencies": {
74
75
  "@vue/composition-api": "^1.7.0",
75
76
  "vue": "^2.6.14",
76
- "vuetify": "^2.6.8"
77
+ "vuetify": "^2.6.9"
77
78
  },
78
79
  "peerDependenciesMeta": {
79
80
  "@vue/composition-api": {
@@ -83,9 +84,10 @@
83
84
  "devDependencies": {
84
85
  "@codemirror/basic-setup": "^0.20.0",
85
86
  "@codemirror/lang-html": "^6.1.0",
86
- "@types/node": "^18.6.3",
87
- "@typescript-eslint/eslint-plugin": "^5.32.0",
88
- "@typescript-eslint/parser": "^5.32.0",
87
+ "@types/lodash": "^4.14.182",
88
+ "@types/node": "^18.7.1",
89
+ "@typescript-eslint/eslint-plugin": "^5.33.0",
90
+ "@typescript-eslint/parser": "^5.33.0",
89
91
  "@vitejs/plugin-vue2": "^1.1.2",
90
92
  "@vue/eslint-config-prettier": "^7.0.0",
91
93
  "@vue/tsconfig": "^0.1.3",
@@ -97,7 +99,7 @@
97
99
  "eslint-import-resolver-typescript": "^3.4.0",
98
100
  "eslint-plugin-html": "^7.1.0",
99
101
  "eslint-plugin-import": "^2.26.0",
100
- "eslint-plugin-jsdoc": "^39.3.4",
102
+ "eslint-plugin-jsdoc": "^39.3.6",
101
103
  "eslint-plugin-tsdoc": "^0.2.16",
102
104
  "eslint-plugin-vue": "^9.3.0",
103
105
  "eslint-plugin-vuejs-accessibility": "^1.2.0",
@@ -110,23 +112,23 @@
110
112
  "rimraf": "^3.0.2",
111
113
  "rollup-plugin-visualizer": "^5.7.1",
112
114
  "sass": "1.32.12",
113
- "stylelint": "^14.9.1",
115
+ "stylelint": "^14.10.0",
114
116
  "stylelint-config-prettier": "^9.0.3",
115
117
  "stylelint-config-recommended-scss": "^7.0.0",
116
118
  "stylelint-config-recommended-vue": "^1.4.0",
117
119
  "stylelint-order": "^5.0.0",
118
120
  "stylelint-prettier": "^2.0.0",
119
121
  "typescript": "^4.7.4",
120
- "unplugin-vue-components": "^0.21.2",
121
- "vite": "^3.0.4",
122
+ "unplugin-vue-components": "^0.22.4",
123
+ "vite": "^3.0.5",
122
124
  "vite-plugin-banner": "^0.3.0",
123
125
  "vite-plugin-checker": "^0.4.9",
124
126
  "vue": "^2.7.8",
125
127
  "vue-codemirror6": "0.6.8",
126
128
  "vue-eslint-parser": "^9.0.3",
127
129
  "vue-template-compiler": "^2.7.8",
128
- "vue-tsc": "^0.39.4",
129
- "vuetify": "^2.6.8"
130
+ "vue-tsc": "^0.40.1",
131
+ "vuetify": "^2.6.9"
130
132
  },
131
133
  "husky": {
132
134
  "hooks": {
@@ -91,6 +91,7 @@ export default defineComponent({
91
91
  emits: ['update:modelValue'],
92
92
  /**
93
93
  * Setup
94
+ *
94
95
  * @param props - Props
95
96
  * @param context - Context
96
97
  */
@@ -99,9 +100,9 @@ export default defineComponent({
99
100
  const checkedVisibilty: Ref<boolean> = ref(false);
100
101
 
101
102
  /**
102
- * ボタンがクリックされた
103
+ * Swatch button clicked handler
103
104
  *
104
- * @param e - イベント
105
+ * @param e - Event
105
106
  */
106
107
  const onSwatchClick = (e: Event) => {
107
108
  const value = (e.target as HTMLButtonElement).value;