vuetify-swatches 1.0.2 → 1.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 +6 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.es.js +2 -2
- package/dist/index.iife.js +23 -27
- package/dist/index.umd.js +25 -29
- package/dist/style.css +1 -1
- package/package.json +38 -38
- package/src/components/VSwatches.vue +1 -1
- package/dist/components/VSwatches.vue.d.ts +0 -218
- package/dist/components/VSwatches.vue.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -32,6 +32,9 @@ import Vue from 'vue';
|
|
|
32
32
|
import VSwatches from 'vuetify-swatches';
|
|
33
33
|
|
|
34
34
|
export default Vue.extend({
|
|
35
|
+
components: {
|
|
36
|
+
VSwatches,
|
|
37
|
+
},
|
|
35
38
|
data() {
|
|
36
39
|
return {
|
|
37
40
|
selected: '#ffffff',
|
|
@@ -69,6 +72,9 @@ import Vue from 'vue';
|
|
|
69
72
|
import VSwatches from 'vuetify-swatches';
|
|
70
73
|
|
|
71
74
|
export default Vue.extend({
|
|
75
|
+
components: {
|
|
76
|
+
VSwatches,
|
|
77
|
+
},
|
|
72
78
|
data() {
|
|
73
79
|
return {
|
|
74
80
|
selected: '#ffffff',
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import VSwatches from './components/VSwatches.vue';
|
|
2
|
-
declare const installVSwatches: (app: any) => any;
|
|
3
|
-
export { VSwatches as default, installVSwatches as install };
|
|
1
|
+
import VSwatches from './components/VSwatches.vue';
|
|
2
|
+
declare const installVSwatches: (app: any) => any;
|
|
3
|
+
export { VSwatches as default, installVSwatches as install };
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.es.js
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
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.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
import { defineComponent, ref } from 'vue-demi';
|
|
13
|
-
import { VSheet, VBtn, VIcon } from 'vuetify/lib
|
|
13
|
+
import { VSheet, VBtn, VIcon } from 'vuetify/lib';
|
|
14
14
|
import colors from 'vuetify/lib/util/colors';
|
|
15
15
|
|
|
16
16
|
const _sfc_main = defineComponent({
|
package/dist/index.iife.js
CHANGED
|
@@ -5,23 +5,19 @@
|
|
|
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.4
|
|
9
9
|
* @see {@link https://github.com/logue/vuetify-swatches}
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
|
-
var VSwatches = (function (exports, vueDemi,
|
|
12
|
+
var VSwatches = (function (exports, vueDemi, lib, colors) {
|
|
13
13
|
'use strict';
|
|
14
14
|
|
|
15
|
-
const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e };
|
|
16
|
-
|
|
17
|
-
const colors__default = /*#__PURE__*/_interopDefaultLegacy(colors);
|
|
18
|
-
|
|
19
15
|
const _sfc_main = vueDemi.defineComponent({
|
|
20
16
|
name: "VSwatches",
|
|
21
17
|
components: {
|
|
22
|
-
VSheet:
|
|
23
|
-
VBtn:
|
|
24
|
-
VIcon:
|
|
18
|
+
VSheet: lib.VSheet,
|
|
19
|
+
VBtn: lib.VBtn,
|
|
20
|
+
VIcon: lib.VIcon
|
|
25
21
|
},
|
|
26
22
|
model: {
|
|
27
23
|
prop: "modelValue",
|
|
@@ -32,28 +28,28 @@ var VSwatches = (function (exports, vueDemi, components, colors) {
|
|
|
32
28
|
swatches: {
|
|
33
29
|
type: Array,
|
|
34
30
|
default: () => [
|
|
35
|
-
[
|
|
31
|
+
[colors.shades.black, colors.shades.white, colors.shades.transparent],
|
|
36
32
|
[
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
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
|
|
45
41
|
],
|
|
46
42
|
[
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
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
|
|
55
51
|
],
|
|
56
|
-
[
|
|
52
|
+
[colors.brown.base, colors.blueGrey.base, colors.grey.base]
|
|
57
53
|
]
|
|
58
54
|
},
|
|
59
55
|
size: { type: String, default: "2rem" },
|
package/dist/index.umd.js
CHANGED
|
@@ -5,26 +5,22 @@
|
|
|
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.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
|
|
14
|
-
typeof define === 'function' && define.amd ? define(['exports', 'vue-demi', 'vuetify/lib
|
|
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
15
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.VSwatches = {}, global.VueDemi, global.Vuetify, global.colors));
|
|
16
|
-
})(this, (function (exports, vueDemi,
|
|
17
|
-
|
|
18
|
-
const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e };
|
|
19
|
-
|
|
20
|
-
const colors__default = /*#__PURE__*/_interopDefaultLegacy(colors);
|
|
16
|
+
})(this, (function (exports, vueDemi, lib, colors) { 'use strict';
|
|
21
17
|
|
|
22
18
|
const _sfc_main = vueDemi.defineComponent({
|
|
23
19
|
name: "VSwatches",
|
|
24
20
|
components: {
|
|
25
|
-
VSheet:
|
|
26
|
-
VBtn:
|
|
27
|
-
VIcon:
|
|
21
|
+
VSheet: lib.VSheet,
|
|
22
|
+
VBtn: lib.VBtn,
|
|
23
|
+
VIcon: lib.VIcon
|
|
28
24
|
},
|
|
29
25
|
model: {
|
|
30
26
|
prop: "modelValue",
|
|
@@ -35,28 +31,28 @@
|
|
|
35
31
|
swatches: {
|
|
36
32
|
type: Array,
|
|
37
33
|
default: () => [
|
|
38
|
-
[
|
|
34
|
+
[colors.shades.black, colors.shades.white, colors.shades.transparent],
|
|
39
35
|
[
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
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
|
|
48
44
|
],
|
|
49
45
|
[
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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
|
|
58
54
|
],
|
|
59
|
-
[
|
|
55
|
+
[colors.brown.base, colors.blueGrey.base, colors.grey.base]
|
|
60
56
|
]
|
|
61
57
|
},
|
|
62
58
|
size: { type: String, default: "2rem" },
|
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.4",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"description": "Color Swatch component for Vuetify.",
|
|
7
7
|
"keywords": [
|
|
@@ -54,28 +54,29 @@
|
|
|
54
54
|
],
|
|
55
55
|
"sideEffects": false,
|
|
56
56
|
"engines": {
|
|
57
|
-
"node": ">=
|
|
57
|
+
"node": ">=18.12.1",
|
|
58
58
|
"yarn": ">=1.22.10"
|
|
59
59
|
},
|
|
60
|
-
"packageManager": "yarn@3.
|
|
60
|
+
"packageManager": "yarn@3.3.1",
|
|
61
61
|
"scripts": {
|
|
62
62
|
"dev": "vite",
|
|
63
|
-
"clean": "rimraf node_modules/.vite
|
|
64
|
-
"
|
|
63
|
+
"clean": "rimraf node_modules/.vite",
|
|
64
|
+
"type-check": "tsc --noEmit --composite false",
|
|
65
|
+
"build": "run-p type-check build-only build-declaration",
|
|
66
|
+
"build:clean": "rimraf dist",
|
|
65
67
|
"build:analyze": "vue-tsc --noEmit && vite build --mode analyze",
|
|
66
68
|
"build:docs": "vite build --config vite.config.docs.ts",
|
|
67
|
-
"build
|
|
68
|
-
"
|
|
69
|
-
"lint
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"prepare": "husky install"
|
|
69
|
+
"build-only": "vite build",
|
|
70
|
+
"build-declaration": "tsc -p tsconfig.app.json --composite false --declaration --declarationMap --declarationDir dist",
|
|
71
|
+
"lint": "eslint . --fix --cache --cache-location ./node_modules/.vite/vite-plugin-eslint && prettier . --write",
|
|
72
|
+
"prepare": "husky install",
|
|
73
|
+
"version": "auto-changelog -p && git add CHANGELOG.md"
|
|
73
74
|
},
|
|
74
75
|
"dependencies": {
|
|
75
76
|
"vue-demi": "latest"
|
|
76
77
|
},
|
|
77
78
|
"peerDependencies": {
|
|
78
|
-
"@vue/composition-api": "^1.7.
|
|
79
|
+
"@vue/composition-api": "^1.7.0",
|
|
79
80
|
"vue": "^2.6.14 || <3",
|
|
80
81
|
"vuetify": "^2.6.12"
|
|
81
82
|
},
|
|
@@ -85,48 +86,47 @@
|
|
|
85
86
|
}
|
|
86
87
|
},
|
|
87
88
|
"devDependencies": {
|
|
88
|
-
"@codemirror/lang-html": "^6.
|
|
89
|
-
"@types/lodash": "^4.14.
|
|
90
|
-
"@types/node": "^18.11.
|
|
91
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
92
|
-
"@typescript-eslint/parser": "^5.
|
|
93
|
-
"@vitejs/plugin-vue2": "^2.
|
|
89
|
+
"@codemirror/lang-html": "^6.4.0",
|
|
90
|
+
"@types/lodash": "^4.14.191",
|
|
91
|
+
"@types/node": "^18.11.18",
|
|
92
|
+
"@typescript-eslint/eslint-plugin": "^5.47.1",
|
|
93
|
+
"@typescript-eslint/parser": "^5.47.1",
|
|
94
|
+
"@vitejs/plugin-vue2": "^2.2.0",
|
|
94
95
|
"@vue/eslint-config-prettier": "^7.0.0",
|
|
95
96
|
"@vue/tsconfig": "^0.1.3",
|
|
96
97
|
"codemirror": "^6.0.1",
|
|
97
|
-
"eslint": "^8.
|
|
98
|
+
"eslint": "^8.30.0",
|
|
98
99
|
"eslint-config-google": "^0.14.0",
|
|
99
100
|
"eslint-config-prettier": "^8.5.0",
|
|
100
101
|
"eslint-import-resolver-alias": "^1.1.2",
|
|
101
|
-
"eslint-import-resolver-typescript": "^3.5.
|
|
102
|
+
"eslint-import-resolver-typescript": "^3.5.2",
|
|
102
103
|
"eslint-plugin-import": "^2.26.0",
|
|
103
|
-
"eslint-plugin-jsdoc": "^39.
|
|
104
|
+
"eslint-plugin-jsdoc": "^39.6.4",
|
|
104
105
|
"eslint-plugin-tsdoc": "^0.2.17",
|
|
105
|
-
"eslint-plugin-vue": "^9.
|
|
106
|
-
"eslint-plugin-vuejs-accessibility": "^
|
|
106
|
+
"eslint-plugin-vue": "^9.8.0",
|
|
107
|
+
"eslint-plugin-vuejs-accessibility": "^2.0.0",
|
|
107
108
|
"eslint-plugin-vuetify": "^1.1.0",
|
|
108
|
-
"husky": "^8.0.
|
|
109
|
-
"lint-staged": "^13.0
|
|
109
|
+
"husky": "^8.0.2",
|
|
110
|
+
"lint-staged": "^13.1.0",
|
|
110
111
|
"postcss-html": "^1.5.0",
|
|
111
|
-
"prettier": "^2.
|
|
112
|
+
"prettier": "^2.8.1",
|
|
112
113
|
"rimraf": "^3.0.2",
|
|
113
114
|
"rollup-plugin-visualizer": "^5.8.3",
|
|
114
115
|
"sass": "1.32.12",
|
|
115
|
-
"stylelint": "^14.
|
|
116
|
-
"stylelint-config-prettier": "^9.0.
|
|
117
|
-
"stylelint-config-recommended-scss": "^
|
|
116
|
+
"stylelint": "^14.16.1",
|
|
117
|
+
"stylelint-config-prettier": "^9.0.4",
|
|
118
|
+
"stylelint-config-recommended-scss": "^8.0.0",
|
|
118
119
|
"stylelint-config-recommended-vue": "^1.4.0",
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"vite": "^
|
|
123
|
-
"vite-plugin-
|
|
124
|
-
"vite-plugin-checker": "^0.5.1",
|
|
120
|
+
"typescript": "^4.9.4",
|
|
121
|
+
"unplugin-vue-components": "^0.22.12",
|
|
122
|
+
"vite": "^4.0.3",
|
|
123
|
+
"vite-plugin-banner": "^0.7.0",
|
|
124
|
+
"vite-plugin-checker": "^0.5.3",
|
|
125
125
|
"vue": "^2.7.13",
|
|
126
|
-
"vue-codemirror6": "1.
|
|
126
|
+
"vue-codemirror6": "^1.1.2",
|
|
127
127
|
"vue-eslint-parser": "^9.1.0",
|
|
128
|
-
"vue-tsc": "^1.0.
|
|
129
|
-
"vuetify": "^2.6.
|
|
128
|
+
"vue-tsc": "^1.0.18",
|
|
129
|
+
"vuetify": "^2.6.13"
|
|
130
130
|
},
|
|
131
131
|
"husky": {
|
|
132
132
|
"hooks": {
|
|
@@ -1,218 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|