@opentiny/vue-drawer 2.17.1 → 2.18.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
@@ -159,7 +159,7 @@ var service = function service2(configs) {
159
159
  });
160
160
  return instance;
161
161
  };
162
- var version = "2.undefined";
162
+ var version = "2.18.0";
163
163
  Drawer.model = {
164
164
  prop: "visible",
165
165
  event: "update:visible"
package/lib/pc.js CHANGED
@@ -201,9 +201,10 @@ var render2 = function render3() {
201
201
  "data-tag": "drawer-body"
202
202
  }
203
203
  }, [_vm._t("default", function() {
204
+ var _vm$customSlots3;
204
205
  return [_c("slot-wrapper", {
205
206
  attrs: {
206
- "node": _vm.customSlots.default
207
+ "node": (_vm$customSlots3 = _vm.customSlots) === null || _vm$customSlots3 === void 0 ? void 0 : _vm$customSlots3.default
207
208
  }
208
209
  })];
209
210
  })], 2), _vm.showFooter ? _c("div", {
@@ -213,8 +214,8 @@ var render2 = function render3() {
213
214
  "data-tag": "drawer-footer"
214
215
  }
215
216
  }, [_vm._t("footer", function() {
216
- var _vm$customSlots3;
217
- return [(_vm$customSlots3 = _vm.customSlots) !== null && _vm$customSlots3 !== void 0 && _vm$customSlots3.footer ? _c("slot-wrapper", {
217
+ var _vm$customSlots4;
218
+ return [(_vm$customSlots4 = _vm.customSlots) !== null && _vm$customSlots4 !== void 0 && _vm$customSlots4.footer ? _c("slot-wrapper", {
218
219
  attrs: {
219
220
  "node": _vm.customSlots.footer
220
221
  }
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@opentiny/vue-drawer",
3
- "version": "2.17.1",
3
+ "version": "2.18.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.17.0",
11
- "@opentiny/vue-tooltip": "~2.17.0",
12
- "@opentiny/vue-common": "~2.17.0",
13
- "@opentiny/vue-renderless": "~3.17.0",
14
- "@opentiny/vue-icon": "~2.17.0",
15
- "@opentiny/vue-theme": "~3.17.0"
10
+ "@opentiny/vue-button": "~2.18.0",
11
+ "@opentiny/vue-tooltip": "~2.18.0",
12
+ "@opentiny/vue-common": "~2.18.0",
13
+ "@opentiny/vue-renderless": "~3.18.0",
14
+ "@opentiny/vue-icon": "~2.18.0",
15
+ "@opentiny/vue-theme": "~3.18.0"
16
16
  },
17
17
  "license": "MIT",
18
18
  "types": "index.d.ts"
package/src/index.d.ts CHANGED
@@ -14,7 +14,7 @@ export declare const drawerProps: {
14
14
  type: BooleanConstructor;
15
15
  default: boolean;
16
16
  };
17
- customClass: (ObjectConstructor | StringConstructor | ArrayConstructor)[];
17
+ customClass: (StringConstructor | ArrayConstructor | ObjectConstructor)[];
18
18
  placement: {
19
19
  type: StringConstructor;
20
20
  default: string;