@opentinyvue/vue-drawer 2.26.0 → 2.27.0
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/lib/mobile-first.js +2 -1
- package/lib/pc.js +2 -1
- package/package.json +7 -7
package/lib/mobile-first.js
CHANGED
|
@@ -97,7 +97,8 @@ var render = function render2() {
|
|
|
97
97
|
}, _vm.customClass),
|
|
98
98
|
style: {
|
|
99
99
|
width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
|
|
100
|
-
height: ["top", "bottom"].includes(_vm.placement) && _vm.dragable && _vm.state.height ? _vm.state.height + "px" : null
|
|
100
|
+
height: ["top", "bottom"].includes(_vm.placement) && _vm.dragable && _vm.state.height ? _vm.state.height + "px" : null,
|
|
101
|
+
transform: _vm.state.visible ? "none" : null
|
|
101
102
|
},
|
|
102
103
|
attrs: {
|
|
103
104
|
"data-tag": "tiny-drawer-main"
|
package/lib/pc.js
CHANGED
|
@@ -112,7 +112,8 @@ var render2 = function render3() {
|
|
|
112
112
|
style: {
|
|
113
113
|
width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
|
|
114
114
|
height: ["top", "bottom", "left", "right"].includes(_vm.placement) || _vm.dragable ? _vm.state.computedHeight : null,
|
|
115
|
-
zIndex: _vm.zIndex
|
|
115
|
+
zIndex: _vm.zIndex,
|
|
116
|
+
transform: _vm.state.visible ? "none" : null
|
|
116
117
|
},
|
|
117
118
|
attrs: {
|
|
118
119
|
"data-tag": "tiny-drawer-main"
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-drawer",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.27.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"module": "./lib/index.js",
|
|
7
7
|
"sideEffects": false,
|
|
8
8
|
"type": "module",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@opentinyvue/vue-button": "~2.
|
|
11
|
-
"@opentinyvue/vue-tooltip": "~2.
|
|
12
|
-
"@opentinyvue/vue-common": "~2.
|
|
13
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
14
|
-
"@opentinyvue/vue-icon": "~2.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-button": "~2.27.0",
|
|
11
|
+
"@opentinyvue/vue-tooltip": "~2.27.0",
|
|
12
|
+
"@opentinyvue/vue-common": "~2.27.0",
|
|
13
|
+
"@opentinyvue/vue-renderless": "~3.27.0",
|
|
14
|
+
"@opentinyvue/vue-icon": "~2.27.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.27.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts"
|