@opentinyvue/vue-drawer 2.25.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.
@@ -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"
@@ -182,8 +183,8 @@ function __vue2_injectStyles(context) {
182
183
  this[o] = __cssModules[o];
183
184
  }
184
185
  }
185
- var mobileFirst = /* @__PURE__ */ function() {
186
+ var mobileFirst = /* @__PURE__ */ (function() {
186
187
  return __component__.exports;
187
- }();
188
+ })();
188
189
 
189
190
  export { mobileFirst as default };
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"
@@ -223,8 +224,8 @@ function __vue2_injectStyles(context) {
223
224
  this[o] = __cssModules[o];
224
225
  }
225
226
  }
226
- var pc = /* @__PURE__ */ function() {
227
+ var pc = /* @__PURE__ */ (function() {
227
228
  return __component__.exports;
228
- }();
229
+ })();
229
230
 
230
231
  export { pc as default };
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentinyvue/vue-drawer",
3
- "version": "2.25.0",
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.25.0",
11
- "@opentinyvue/vue-tooltip": "~2.25.0",
12
- "@opentinyvue/vue-common": "~2.25.0",
13
- "@opentinyvue/vue-renderless": "~3.25.0",
14
- "@opentinyvue/vue-icon": "~2.25.0",
15
- "@opentinyvue/vue-theme": "~3.25.0"
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"