@varlet/ui 3.2.6 → 3.2.8
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 +5 -4
- package/README.zh-CN.md +5 -4
- package/es/index.bundle.mjs +1 -1
- package/es/index.mjs +1 -1
- package/es/snackbar/style/index.mjs +1 -1
- package/es/switch/Switch.mjs +3 -2
- package/es/switch/props.mjs +4 -0
- package/es/varlet.esm.js +58 -53
- package/highlight/web-types.en-US.json +10 -1
- package/highlight/web-types.zh-CN.json +10 -1
- package/lib/varlet.cjs.js +7 -2
- package/package.json +8 -8
- package/types/switch.d.ts +1 -0
- package/umd/varlet.js +4 -4
package/lib/varlet.cjs.js
CHANGED
|
@@ -23060,6 +23060,10 @@ const props$8 = {
|
|
|
23060
23060
|
type: Boolean,
|
|
23061
23061
|
default: true
|
|
23062
23062
|
},
|
|
23063
|
+
buttonElevation: {
|
|
23064
|
+
type: [Boolean, String, Number],
|
|
23065
|
+
default: true
|
|
23066
|
+
},
|
|
23063
23067
|
validateTrigger: {
|
|
23064
23068
|
type: Array,
|
|
23065
23069
|
default: () => ["onChange", "onLazyChange"]
|
|
@@ -23133,7 +23137,7 @@ function __render__$9(_ctx, _cache) {
|
|
|
23133
23137
|
class: vue.normalizeClass(
|
|
23134
23138
|
_ctx.classes(
|
|
23135
23139
|
_ctx.n("handle"),
|
|
23136
|
-
_ctx.
|
|
23140
|
+
_ctx.formatElevation(_ctx.buttonElevation, 2),
|
|
23137
23141
|
[_ctx.isActive, _ctx.n("handle--active")],
|
|
23138
23142
|
[_ctx.errorMessage && !_ctx.variant, _ctx.n("handle--error")],
|
|
23139
23143
|
[_ctx.hovering, _ctx.n("handle--hover")]
|
|
@@ -23311,6 +23315,7 @@ const __sfc__$9 = vue.defineComponent({
|
|
|
23311
23315
|
formReadonly: form == null ? void 0 : form.readonly,
|
|
23312
23316
|
n: n$9,
|
|
23313
23317
|
classes: classes$8,
|
|
23318
|
+
formatElevation,
|
|
23314
23319
|
multiplySizeUnit,
|
|
23315
23320
|
switchActive,
|
|
23316
23321
|
hover
|
|
@@ -28493,7 +28498,7 @@ withInstall(stdin_default$1);
|
|
|
28493
28498
|
withPropsDefaultsSetter(stdin_default$1, props);
|
|
28494
28499
|
const _WatermarkComponent = stdin_default$1;
|
|
28495
28500
|
var stdin_default = stdin_default$1;
|
|
28496
|
-
const version = "3.2.
|
|
28501
|
+
const version = "3.2.8";
|
|
28497
28502
|
function install(app) {
|
|
28498
28503
|
stdin_default$5E.install && app.use(stdin_default$5E);
|
|
28499
28504
|
stdin_default$5C.install && app.use(stdin_default$5C);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@varlet/ui",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.8",
|
|
4
4
|
"description": "A material like components library",
|
|
5
5
|
"main": "lib/varlet.cjs.js",
|
|
6
6
|
"module": "es/index.mjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
],
|
|
27
27
|
"author": "haoziqaq <357229046@qq.com>",
|
|
28
28
|
"license": "MIT",
|
|
29
|
-
"homepage": "https://
|
|
29
|
+
"homepage": "https://varletjs.github.io/varlet/",
|
|
30
30
|
"repository": {
|
|
31
31
|
"type": "git",
|
|
32
32
|
"url": "git+https://github.com/varletjs/varlet.git"
|
|
@@ -48,9 +48,9 @@
|
|
|
48
48
|
"@popperjs/core": "^2.11.6",
|
|
49
49
|
"dayjs": "^1.10.4",
|
|
50
50
|
"decimal.js": "^10.2.1",
|
|
51
|
-
"@varlet/icons": "3.2.
|
|
52
|
-
"@varlet/shared": "3.2.
|
|
53
|
-
"@varlet/use": "3.2.
|
|
51
|
+
"@varlet/icons": "3.2.8",
|
|
52
|
+
"@varlet/shared": "3.2.8",
|
|
53
|
+
"@varlet/use": "3.2.8"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@vue/runtime-core": "3.4.21",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"typescript": "^5.1.5",
|
|
67
67
|
"vue": "3.4.21",
|
|
68
68
|
"vue-router": "4.2.0",
|
|
69
|
-
"@varlet/
|
|
70
|
-
"@varlet/
|
|
71
|
-
"@varlet/
|
|
69
|
+
"@varlet/ui": "3.2.8",
|
|
70
|
+
"@varlet/cli": "3.2.8",
|
|
71
|
+
"@varlet/touch-emulator": "3.2.8"
|
|
72
72
|
},
|
|
73
73
|
"scripts": {
|
|
74
74
|
"dev": "varlet-cli dev",
|