vuetify-swatches 1.0.1 → 1.0.2
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/dist/components/VSwatches.vue.d.ts +218 -0
- package/dist/components/VSwatches.vue.d.ts.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.es.js +1 -3
- package/dist/index.iife.js +1 -3
- package/dist/index.umd.js +1 -3
- package/dist/style.css +1 -1
- package/package.json +14 -13
- package/dist/stats.html +0 -4034
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
import { type PropType, type Ref } from 'vue-demi';
|
|
2
|
+
/** Vuetify Swatches */
|
|
3
|
+
declare const _default: import("vue-demi").DefineComponent<{
|
|
4
|
+
/** Model value */
|
|
5
|
+
modelValue: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/** Swatch colors */
|
|
10
|
+
swatches: {
|
|
11
|
+
type: PropType<string[] | string[][]>;
|
|
12
|
+
default: () => string[][];
|
|
13
|
+
};
|
|
14
|
+
/** Swatch sized */
|
|
15
|
+
size: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
/** Selected icon */
|
|
20
|
+
icon: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
|
+
/** selected icon size */
|
|
25
|
+
iconSize: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Removes the button box shadow.
|
|
31
|
+
*
|
|
32
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#depressed}
|
|
33
|
+
*/
|
|
34
|
+
depressed: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
/**
|
|
39
|
+
* Removes the ability to click or target the component.
|
|
40
|
+
*
|
|
41
|
+
* @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled}
|
|
42
|
+
*/
|
|
43
|
+
disabled: {
|
|
44
|
+
type: BooleanConstructor;
|
|
45
|
+
default: boolean;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Designates an elevation applied to the component between 0 and 24.
|
|
49
|
+
*
|
|
50
|
+
* @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation}
|
|
51
|
+
*/
|
|
52
|
+
elevation: {
|
|
53
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Makes the background transparent and applies a thin border.
|
|
58
|
+
*
|
|
59
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#outlined}
|
|
60
|
+
*/
|
|
61
|
+
outlined: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Removes the default background change applied when hovering over the button.
|
|
67
|
+
*
|
|
68
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#plain}
|
|
69
|
+
*/
|
|
70
|
+
plain: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: boolean;
|
|
73
|
+
};
|
|
74
|
+
/**
|
|
75
|
+
* Raised buttons have a box shadow that increases when clicked. This is the default style.
|
|
76
|
+
*
|
|
77
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#raised}
|
|
78
|
+
*/
|
|
79
|
+
raised: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Applies a large border radius on the button.
|
|
85
|
+
*
|
|
86
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#rounded}
|
|
87
|
+
*/
|
|
88
|
+
rounded: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Removes the component’s border-radius.
|
|
94
|
+
*
|
|
95
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#tile}
|
|
96
|
+
*/
|
|
97
|
+
tile: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
101
|
+
}, {
|
|
102
|
+
checkedVisibilty: Ref<boolean>;
|
|
103
|
+
onSwatchClick: (e: Event) => void;
|
|
104
|
+
}, {}, {}, {}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue-demi").ExtractPropTypes<{
|
|
105
|
+
/** Model value */
|
|
106
|
+
modelValue: {
|
|
107
|
+
type: StringConstructor;
|
|
108
|
+
default: string;
|
|
109
|
+
};
|
|
110
|
+
/** Swatch colors */
|
|
111
|
+
swatches: {
|
|
112
|
+
type: PropType<string[] | string[][]>;
|
|
113
|
+
default: () => string[][];
|
|
114
|
+
};
|
|
115
|
+
/** Swatch sized */
|
|
116
|
+
size: {
|
|
117
|
+
type: StringConstructor;
|
|
118
|
+
default: string;
|
|
119
|
+
};
|
|
120
|
+
/** Selected icon */
|
|
121
|
+
icon: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
/** selected icon size */
|
|
126
|
+
iconSize: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* Removes the button box shadow.
|
|
132
|
+
*
|
|
133
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#depressed}
|
|
134
|
+
*/
|
|
135
|
+
depressed: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
/**
|
|
140
|
+
* Removes the ability to click or target the component.
|
|
141
|
+
*
|
|
142
|
+
* @see {@link https://vuetifyjs.com/en/api/v-btn/#props-disabled}
|
|
143
|
+
*/
|
|
144
|
+
disabled: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: boolean;
|
|
147
|
+
};
|
|
148
|
+
/**
|
|
149
|
+
* Designates an elevation applied to the component between 0 and 24.
|
|
150
|
+
*
|
|
151
|
+
* @see {@link https://vuetifyjs.com/en/api/v-btn/#props-elevation}
|
|
152
|
+
*/
|
|
153
|
+
elevation: {
|
|
154
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
155
|
+
default: undefined;
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* Makes the background transparent and applies a thin border.
|
|
159
|
+
*
|
|
160
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#outlined}
|
|
161
|
+
*/
|
|
162
|
+
outlined: {
|
|
163
|
+
type: BooleanConstructor;
|
|
164
|
+
default: boolean;
|
|
165
|
+
};
|
|
166
|
+
/**
|
|
167
|
+
* Removes the default background change applied when hovering over the button.
|
|
168
|
+
*
|
|
169
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#plain}
|
|
170
|
+
*/
|
|
171
|
+
plain: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* Raised buttons have a box shadow that increases when clicked. This is the default style.
|
|
177
|
+
*
|
|
178
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#raised}
|
|
179
|
+
*/
|
|
180
|
+
raised: {
|
|
181
|
+
type: BooleanConstructor;
|
|
182
|
+
default: boolean;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Applies a large border radius on the button.
|
|
186
|
+
*
|
|
187
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#rounded}
|
|
188
|
+
*/
|
|
189
|
+
rounded: {
|
|
190
|
+
type: BooleanConstructor;
|
|
191
|
+
default: boolean;
|
|
192
|
+
};
|
|
193
|
+
/**
|
|
194
|
+
* Removes the component’s border-radius.
|
|
195
|
+
*
|
|
196
|
+
* @see {@link https://vuetifyjs.com/en/components/buttons/#tile}
|
|
197
|
+
*/
|
|
198
|
+
tile: {
|
|
199
|
+
type: BooleanConstructor;
|
|
200
|
+
default: boolean;
|
|
201
|
+
};
|
|
202
|
+
}>>, {
|
|
203
|
+
modelValue: string;
|
|
204
|
+
swatches: string[] | string[][];
|
|
205
|
+
size: string;
|
|
206
|
+
icon: string;
|
|
207
|
+
iconSize: string;
|
|
208
|
+
depressed: boolean;
|
|
209
|
+
disabled: boolean;
|
|
210
|
+
elevation: string | number;
|
|
211
|
+
outlined: boolean;
|
|
212
|
+
plain: boolean;
|
|
213
|
+
raised: boolean;
|
|
214
|
+
rounded: boolean;
|
|
215
|
+
tile: boolean;
|
|
216
|
+
}>;
|
|
217
|
+
export default _default;
|
|
218
|
+
//# sourceMappingURL=VSwatches.vue.d.ts.map
|
|
@@ -0,0 +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;;IAgBnB,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;IAEzB;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;;;uBAoBuB,KAAK;;IAtG/B,kBAAkB;;;;;IAElB,oBAAoB;;;;;IA4BpB,mBAAmB;;;;;IAEnB,oBAAoB;;;;;IAEpB,yBAAyB;;;;;IAEzB;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;IAEH;;;;OAIG;;;;;;;;;;;;;;;;;;;;AAjGP,wBAkIG"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
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"}
|
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 1.0.
|
|
8
|
+
* @version 1.0.2
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -188,7 +188,6 @@ var _sfc_render = function render() {
|
|
|
188
188
|
}), 0);
|
|
189
189
|
};
|
|
190
190
|
var _sfc_staticRenderFns = [];
|
|
191
|
-
_sfc_render._withStripped = true;
|
|
192
191
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
193
192
|
_sfc_main,
|
|
194
193
|
_sfc_render,
|
|
@@ -199,7 +198,6 @@ var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
|
199
198
|
null,
|
|
200
199
|
null
|
|
201
200
|
);
|
|
202
|
-
__component__.options.__file = "D:/Documents/Projects/vuetify-swatch/src/components/VSwatches.vue";
|
|
203
201
|
const VSwatches = __component__.exports;
|
|
204
202
|
|
|
205
203
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
package/dist/index.iife.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 1.0.
|
|
8
|
+
* @version 1.0.2
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -191,7 +191,6 @@ var VSwatches = (function (exports, vueDemi, components, colors) {
|
|
|
191
191
|
}), 0);
|
|
192
192
|
};
|
|
193
193
|
var _sfc_staticRenderFns = [];
|
|
194
|
-
_sfc_render._withStripped = true;
|
|
195
194
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
196
195
|
_sfc_main,
|
|
197
196
|
_sfc_render,
|
|
@@ -202,7 +201,6 @@ var VSwatches = (function (exports, vueDemi, components, colors) {
|
|
|
202
201
|
null,
|
|
203
202
|
null
|
|
204
203
|
);
|
|
205
|
-
__component__.options.__file = "D:/Documents/Projects/vuetify-swatch/src/components/VSwatches.vue";
|
|
206
204
|
const VSwatches = __component__.exports;
|
|
207
205
|
|
|
208
206
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
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 1.0.
|
|
8
|
+
* @version 1.0.2
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
@@ -194,7 +194,6 @@
|
|
|
194
194
|
}), 0);
|
|
195
195
|
};
|
|
196
196
|
var _sfc_staticRenderFns = [];
|
|
197
|
-
_sfc_render._withStripped = true;
|
|
198
197
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
199
198
|
_sfc_main,
|
|
200
199
|
_sfc_render,
|
|
@@ -205,7 +204,6 @@
|
|
|
205
204
|
null,
|
|
206
205
|
null
|
|
207
206
|
);
|
|
208
|
-
__component__.options.__file = "D:/Documents/Projects/vuetify-swatch/src/components/VSwatches.vue";
|
|
209
207
|
const VSwatches = __component__.exports;
|
|
210
208
|
|
|
211
209
|
const installVSwatches = (app) => app.component("VSwatches", VSwatches);
|
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.0.
|
|
4
|
+
"version": "1.0.2",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Color Swatch component for Vuetify.",
|
|
7
7
|
"keywords": [
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
],
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"engines": {
|
|
57
|
-
"node": ">=16.
|
|
57
|
+
"node": ">=16.18.0",
|
|
58
58
|
"yarn": ">=1.22.10"
|
|
59
59
|
},
|
|
60
60
|
"packageManager": "yarn@3.2.4",
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"vue-demi": "latest"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
|
-
"@vue/composition-api": "^1.7.
|
|
78
|
+
"@vue/composition-api": "^1.7.1",
|
|
79
79
|
"vue": "^2.6.14 || <3",
|
|
80
|
-
"vuetify": "^2.6.
|
|
80
|
+
"vuetify": "^2.6.12"
|
|
81
81
|
},
|
|
82
82
|
"peerDependenciesMeta": {
|
|
83
83
|
"@vue/composition-api": {
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
"devDependencies": {
|
|
88
88
|
"@codemirror/lang-html": "^6.1.2",
|
|
89
89
|
"@types/lodash": "^4.14.186",
|
|
90
|
-
"@types/node": "^18.
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "^5.40.
|
|
92
|
-
"@typescript-eslint/parser": "^5.40.
|
|
90
|
+
"@types/node": "^18.11.2",
|
|
91
|
+
"@typescript-eslint/eslint-plugin": "^5.40.1",
|
|
92
|
+
"@typescript-eslint/parser": "^5.40.1",
|
|
93
93
|
"@vitejs/plugin-vue2": "^2.0.0",
|
|
94
94
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
95
95
|
"@vue/tsconfig": "^0.1.3",
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
101
101
|
"eslint-import-resolver-typescript": "^3.5.1",
|
|
102
102
|
"eslint-plugin-import": "^2.26.0",
|
|
103
|
-
"eslint-plugin-jsdoc": "^39.3.
|
|
103
|
+
"eslint-plugin-jsdoc": "^39.3.14",
|
|
104
104
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
105
105
|
"eslint-plugin-vue": "^9.6.0",
|
|
106
106
|
"eslint-plugin-vuejs-accessibility": "^1.2.0",
|
|
@@ -110,22 +110,23 @@
|
|
|
110
110
|
"postcss-html": "^1.5.0",
|
|
111
111
|
"prettier": "^2.7.1",
|
|
112
112
|
"rimraf": "^3.0.2",
|
|
113
|
-
"rollup-plugin-visualizer": "^5.8.
|
|
113
|
+
"rollup-plugin-visualizer": "^5.8.3",
|
|
114
114
|
"sass": "1.32.12",
|
|
115
|
-
"stylelint": "^14.
|
|
115
|
+
"stylelint": "^14.14.0",
|
|
116
116
|
"stylelint-config-prettier": "^9.0.3",
|
|
117
117
|
"stylelint-config-recommended-scss": "^7.0.0",
|
|
118
118
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
119
|
+
"stylelint-order": "^5.0.0",
|
|
119
120
|
"typescript": "^4.8.4",
|
|
120
121
|
"unplugin-vue-components": "^0.22.8",
|
|
121
122
|
"vite": "^3.1.8",
|
|
122
123
|
"vite-plugin-banner": "^0.5.0",
|
|
123
124
|
"vite-plugin-checker": "^0.5.1",
|
|
124
|
-
"vue": "2.7.
|
|
125
|
+
"vue": "^2.7.13",
|
|
125
126
|
"vue-codemirror6": "1.0.3",
|
|
126
127
|
"vue-eslint-parser": "^9.1.0",
|
|
127
|
-
"vue-tsc": "^1.0.
|
|
128
|
-
"vuetify": "^2.6.
|
|
128
|
+
"vue-tsc": "^1.0.8",
|
|
129
|
+
"vuetify": "^2.6.12"
|
|
129
130
|
},
|
|
130
131
|
"husky": {
|
|
131
132
|
"hooks": {
|