@opentiny/vue-drawer 2.11.0-alpha.2 → 2.12.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
@@ -97,7 +97,7 @@ var Drawer = {
97
97
  });
98
98
  }
99
99
  };
100
- var version = "2.11.0-alpha.2";
100
+ var version = "2.12.0";
101
101
  Drawer.model = {
102
102
  prop: "modelValue",
103
103
  event: "update:modelValue"
package/lib/pc.js CHANGED
@@ -100,7 +100,7 @@ var render = function render2() {
100
100
  }
101
101
  }) : _vm._e()]), _c("transition", {
102
102
  attrs: {
103
- "name": "drawer-slideRight"
103
+ "name": "drawer-slide-" + _vm.placement
104
104
  }
105
105
  }, [_c("div", {
106
106
  directives: [{
@@ -115,7 +115,8 @@ var render = function render2() {
115
115
  "is-right": _vm.placement === "right",
116
116
  "is-top": _vm.placement === "top",
117
117
  "is-bottom": _vm.placement === "bottom",
118
- "drag-effects": !_vm.state.dragEvent.isDrag
118
+ "drag-effects": !_vm.state.dragEvent.isDrag,
119
+ "toggle": _vm.state.toggle
119
120
  }, _vm.customClass],
120
121
  style: {
121
122
  width: ["left", "right"].includes(_vm.placement) ? _vm.state.computedWidth : null,
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "2.11.0-alpha.2",
3
+ "version": "2.12.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.11.0-alpha.0",
11
- "@opentiny/vue-common": "~2.11.0-alpha.0",
12
- "@opentiny/vue-renderless": "~3.11.0-alpha.0"
10
+ "@opentiny/vue-button": "~2.12.0",
11
+ "@opentiny/vue-common": "~2.12.0",
12
+ "@opentiny/vue-renderless": "~3.12.0"
13
13
  },
14
14
  "license": "MIT",
15
15
  "types": "index.d.ts"