vue-devui 1.6.12 → 1.6.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-devui",
3
- "version": "1.6.12",
3
+ "version": "1.6.14",
4
4
  "license": "MIT",
5
5
  "description": "DevUI components based on Vite and Vue3",
6
6
  "keywords": [
@@ -10357,6 +10357,10 @@ const dropdownProps = {
10357
10357
  destroyOnHide: {
10358
10358
  type: Boolean,
10359
10359
  default: true
10360
+ },
10361
+ teleport: {
10362
+ type: [String, Object],
10363
+ default: "body"
10360
10364
  }
10361
10365
  };
10362
10366
  const dropdownMap = /* @__PURE__ */ new Map();
@@ -10519,7 +10523,8 @@ var Dropdown = defineComponent({
10519
10523
  offset: offset2,
10520
10524
  destroyOnHide,
10521
10525
  shiftOffset,
10522
- showAnimation
10526
+ showAnimation,
10527
+ teleport
10523
10528
  } = toRefs(props);
10524
10529
  const origin = ref();
10525
10530
  const dropdownRef = ref();
@@ -10561,7 +10566,7 @@ var Dropdown = defineComponent({
10561
10566
  return [(_a = slots.default) == null ? void 0 : _a.call(slots)];
10562
10567
  }
10563
10568
  }), createVNode(Teleport, {
10564
- "to": "body"
10569
+ "to": teleport.value
10565
10570
  }, {
10566
10571
  default: () => [createVNode(Transition, {
10567
10572
  "name": showAnimation.value ? ns2.m(`fade-${currentPosition.value}`) : ""