@opentinyvue/vue-drawer 3.26.0 → 3.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
|
@@ -129,7 +129,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
129
129
|
}, _ctx.customClass)),
|
|
130
130
|
style: normalizeStyle({
|
|
131
131
|
width: ["left", "right"].includes(_ctx.placement) ? _ctx.state.computedWidth : null,
|
|
132
|
-
height: ["top", "bottom"].includes(_ctx.placement) && _ctx.dragable && _ctx.state.height ? _ctx.state.height + "px" : null
|
|
132
|
+
height: ["top", "bottom"].includes(_ctx.placement) && _ctx.dragable && _ctx.state.height ? _ctx.state.height + "px" : null,
|
|
133
|
+
transform: _ctx.state.visible ? "none" : null
|
|
133
134
|
})
|
|
134
135
|
},
|
|
135
136
|
[_ctx.dragable ? (openBlock(), createElementBlock(
|
package/lib/pc.js
CHANGED
|
@@ -153,7 +153,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
153
153
|
style: normalizeStyle({
|
|
154
154
|
width: ["left", "right"].includes(_ctx.placement) ? _ctx.state.computedWidth : null,
|
|
155
155
|
height: ["top", "bottom", "left", "right"].includes(_ctx.placement) || _ctx.dragable ? _ctx.state.computedHeight : null,
|
|
156
|
-
zIndex: _ctx.zIndex
|
|
156
|
+
zIndex: _ctx.zIndex,
|
|
157
|
+
transform: _ctx.state.visible ? "none" : null
|
|
157
158
|
})
|
|
158
159
|
},
|
|
159
160
|
[_ctx.dragable ? (openBlock(), createElementBlock(
|
package/package.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentinyvue/vue-drawer",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.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": "~3.
|
|
11
|
-
"@opentinyvue/vue-tooltip": "~3.
|
|
12
|
-
"@opentinyvue/vue-common": "~3.
|
|
13
|
-
"@opentinyvue/vue-renderless": "~3.
|
|
14
|
-
"@opentinyvue/vue-icon": "~3.
|
|
15
|
-
"@opentinyvue/vue-theme": "~3.
|
|
10
|
+
"@opentinyvue/vue-button": "~3.27.0",
|
|
11
|
+
"@opentinyvue/vue-tooltip": "~3.27.0",
|
|
12
|
+
"@opentinyvue/vue-common": "~3.27.0",
|
|
13
|
+
"@opentinyvue/vue-renderless": "~3.27.0",
|
|
14
|
+
"@opentinyvue/vue-icon": "~3.27.0",
|
|
15
|
+
"@opentinyvue/vue-theme": "~3.27.0"
|
|
16
16
|
},
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"types": "index.d.ts"
|