@opentiny/vue-drawer 2.19.0 → 2.20.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/index.js CHANGED
@@ -31,7 +31,7 @@ var $constants = {
31
31
  return scrollLockClasses[mode] || "";
32
32
  },
33
33
  DEFAULT_WIDTH: "500px",
34
- DEFAULT_HEIGHT: "500px"
34
+ DEFAULT_HEIGHT: "100vh"
35
35
  };
36
36
  var drawerProps = _extends({}, $props, {
37
37
  _constants: {
@@ -164,7 +164,7 @@ var service = function service2(configs) {
164
164
  });
165
165
  return instance;
166
166
  };
167
- var version = "2.19.0";
167
+ var version = "2.20.0";
168
168
  Drawer.model = {
169
169
  prop: "visible",
170
170
  event: "update:visible"
package/lib/pc.js CHANGED
@@ -135,7 +135,7 @@ var render2 = function render3() {
135
135
  }, "tiny-drawer-main", _vm.customClass],
136
136
  style: {
137
137
  width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
138
- height: ["top", "bottom"].includes(_vm.placement) || _vm.dragable ? _vm.state.computedHeight : null,
138
+ height: ["top", "bottom", "left", "right"].includes(_vm.placement) || _vm.dragable ? _vm.state.computedHeight : null,
139
139
  zIndex: _vm.zIndex
140
140
  },
141
141
  attrs: {
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "2.19.0",
3
+ "version": "2.20.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
- "@opentiny/vue-button": "~2.19.0",
11
- "@opentiny/vue-tooltip": "~2.19.0",
12
- "@opentiny/vue-common": "~2.19.0",
13
- "@opentiny/vue-renderless": "~3.19.0",
14
- "@opentiny/vue-icon": "~2.19.0",
15
- "@opentiny/vue-theme": "~3.19.0"
10
+ "@opentiny/vue-button": "~2.20.0",
11
+ "@opentiny/vue-tooltip": "~2.20.0",
12
+ "@opentiny/vue-common": "~2.20.0",
13
+ "@opentiny/vue-renderless": "~3.20.0",
14
+ "@opentiny/vue-icon": "~2.20.0",
15
+ "@opentiny/vue-theme": "~3.20.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts"