vuetify-swatches 0.0.3 → 0.0.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/README.md CHANGED
@@ -26,7 +26,7 @@ In this example, the selected color is assigned to `selected`.
26
26
  <script>
27
27
  import Vue from 'vue';
28
28
 
29
- import VSwatches from '@/components/VSwatches.vue';
29
+ import VSwatches from 'vuetify-swatches';
30
30
 
31
31
  export default Vue.extend({
32
32
  data() {
@@ -36,6 +36,10 @@ export default Vue.extend({
36
36
  },
37
37
  });
38
38
  </script>
39
+
40
+ <style>
41
+ @import 'vuetify-swatches/dist/style.css';
42
+ </style>
39
43
  ```
40
44
 
41
45
  The method of specifying `swatches` is the same as [nested-color of Vue Swatches](https://saintplay.github.io/vue-swatches/examples/#nested-colors).
@@ -59,7 +63,7 @@ If you want to make the color palette appear when you click it, combine it with
59
63
  <script>
60
64
  import Vue from 'vue';
61
65
 
62
- import VSwatches from '@/components/VSwatches.vue';
66
+ import VSwatches from 'vuetify-swatches';
63
67
 
64
68
  export default Vue.extend({
65
69
  data() {
@@ -111,6 +115,10 @@ export default Vue.extend({
111
115
  },
112
116
  });
113
117
  </script>
118
+
119
+ <style>
120
+ @import 'vuetify-swatches/dist/style.css';
121
+ </style>
114
122
  ```
115
123
 
116
124
  ### Options
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "vuetify-swatches",
4
4
  "private": false,
5
- "version": "0.0.3",
5
+ "version": "0.0.4",
6
6
  "description": "Color Swatch component for Vuetify.",
7
7
  "keywords": [
8
8
  "vuejs",
@@ -54,7 +54,7 @@
54
54
  "scripts": {
55
55
  "dev": "vite",
56
56
  "clean": "rimraf node_modules/.vite",
57
- "build": "vite build & vue-tsc",
57
+ "build": "vite build & vue-tsc --declaration --emitDeclarationOnly",
58
58
  "build:clean": "rimraf dist && rimraf types",
59
59
  "lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
60
60
  "lint:style": "stylelint **/*.{css,sass,scss,htm,html,vue} --fix --cache",
@@ -65,8 +65,8 @@
65
65
  "vue-demi": "latest"
66
66
  },
67
67
  "peerDependencies": {
68
- "@vue/composition-api": "^1.4.9",
69
- "vue": "^2.6.14 || ^3.2.31",
68
+ "@vue/composition-api": "^1.5.0",
69
+ "vue": "^2.6.14",
70
70
  "vuetify": "^2.6.4"
71
71
  },
72
72
  "peerDependenciesMeta": {
@@ -75,15 +75,15 @@
75
75
  }
76
76
  },
77
77
  "devDependencies": {
78
- "@codemirror/basic-setup": "^0.19.3",
79
- "@codemirror/lang-html": "^0.19.4",
80
- "@modyqyw/vite-plugin-eslint": "^1.2.0",
81
- "@types/node": "^17.0.25",
82
- "@typescript-eslint/eslint-plugin": "^5.20.0",
83
- "@typescript-eslint/parser": "^5.20.0",
84
- "@vue/composition-api": "^1.4.9",
78
+ "@codemirror/basic-setup": "^0.20.0",
79
+ "@codemirror/lang-html": "^0.20.0",
80
+ "@modyqyw/vite-plugin-eslint": "^1.3.0",
81
+ "@types/node": "^17.0.27",
82
+ "@typescript-eslint/eslint-plugin": "^5.21.0",
83
+ "@typescript-eslint/parser": "^5.21.0",
84
+ "@vue/composition-api": "^1.5.0",
85
85
  "@vue/eslint-config-typescript": "^10.0.0",
86
- "eslint": "^8.13.0",
86
+ "eslint": "^8.14.0",
87
87
  "eslint-config-google": "^0.14.0",
88
88
  "eslint-config-prettier": "^8.5.0",
89
89
  "eslint-config-vuetify": "^0.6.1",
@@ -93,12 +93,12 @@
93
93
  "eslint-plugin-prettier": "^4.0.0",
94
94
  "eslint-plugin-prettier-vue": "^3.1.0",
95
95
  "eslint-plugin-tsdoc": "^0.2.16",
96
- "eslint-plugin-vue": "^8.6.0",
96
+ "eslint-plugin-vue": "^8.7.1",
97
97
  "eslint-plugin-vuejs-accessibility": "^1.1.1",
98
98
  "eslint-plugin-vuetify": "^1.1.0",
99
99
  "eslint-plugin-yaml": "^0.5.0",
100
100
  "husky": "^7.0.4",
101
- "lint-staged": "^12.3.8",
101
+ "lint-staged": "^12.4.0",
102
102
  "postcss-html": "^1.4.1",
103
103
  "prettier": "^2.6.2",
104
104
  "prettier-plugin-jsdoc": "^0.3.38",
@@ -115,13 +115,13 @@
115
115
  "typescript": "^4.6.3",
116
116
  "unplugin-vue-components": "^0.19.3",
117
117
  "vite": "^2.9.5",
118
- "vite-plugin-stylelint": "^2.1.0",
119
- "vite-plugin-vue2": "^1.9.3",
118
+ "vite-plugin-stylelint": "^2.2.0",
119
+ "vite-plugin-vue2": "^2.0.0",
120
120
  "vue": "^2.6.14",
121
121
  "vue-codemirror6": "0.1.3",
122
122
  "vue-eslint-parser": "^8.3.0",
123
123
  "vue-template-compiler": "^2.6.14",
124
- "vue-tsc": "^0.34.7"
124
+ "vue-tsc": "^0.34.10"
125
125
  },
126
126
  "husky": {
127
127
  "hooks": {