@destyler/popper 0.0.1-beta.10 → 0.0.1-beta.12

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/dist/index.cjs CHANGED
@@ -55,7 +55,9 @@ const DestylerPopperAnchor = vue.defineComponent({
55
55
  as: this.$props.as,
56
56
  asChild: this.$props.asChild,
57
57
  ref: "customElement"
58
- }, this.$slots.default?.());
58
+ }, {
59
+ default: () => this.$slots.default?.()
60
+ });
59
61
  }
60
62
  });
61
63
 
@@ -331,7 +333,9 @@ const DestylerPopperContent = vue.defineComponent({
331
333
  animation: !this.isPositioned ? "none" : void 0,
332
334
  opacity: this.middlewareData.hide?.referenceHidden ? 0 : void 0
333
335
  }
334
- }), this.$slots.default?.()));
336
+ }), {
337
+ default: () => this.$slots.default?.()
338
+ }));
335
339
  }
336
340
  });
337
341
 
@@ -408,7 +412,9 @@ const DestylerPopperArrow = vue.defineComponent({
408
412
  style: {
409
413
  display: "block"
410
414
  }
411
- }), this.$slots.default?.()));
415
+ }), {
416
+ default: () => this.$slots.default?.()
417
+ }));
412
418
  }
413
419
  });
414
420
 
package/dist/index.mjs CHANGED
@@ -53,7 +53,9 @@ const DestylerPopperAnchor = defineComponent({
53
53
  as: this.$props.as,
54
54
  asChild: this.$props.asChild,
55
55
  ref: "customElement"
56
- }, this.$slots.default?.());
56
+ }, {
57
+ default: () => this.$slots.default?.()
58
+ });
57
59
  }
58
60
  });
59
61
 
@@ -329,7 +331,9 @@ const DestylerPopperContent = defineComponent({
329
331
  animation: !this.isPositioned ? "none" : void 0,
330
332
  opacity: this.middlewareData.hide?.referenceHidden ? 0 : void 0
331
333
  }
332
- }), this.$slots.default?.()));
334
+ }), {
335
+ default: () => this.$slots.default?.()
336
+ }));
333
337
  }
334
338
  });
335
339
 
@@ -406,7 +410,9 @@ const DestylerPopperArrow = defineComponent({
406
410
  style: {
407
411
  display: "block"
408
412
  }
409
- }), this.$slots.default?.()));
413
+ }), {
414
+ default: () => this.$slots.default?.()
415
+ }));
410
416
  }
411
417
  });
412
418
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@destyler/popper",
3
- "version": "0.0.1-beta.10",
3
+ "version": "0.0.1-beta.12",
4
4
  "description": "unstyled popper component for vue",
5
5
  "author": "Elone Hoo <elonehoo@gmail.com>",
6
6
  "license": "MIT",
@@ -34,10 +34,10 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@floating-ui/vue": "^1.0.4",
37
- "@destyler/arrow": "0.0.1-beta.10",
38
- "@destyler/composition": "0.0.1-beta.10",
39
- "@destyler/primitive": "0.0.1-beta.10",
40
- "@destyler/shared": "0.0.1-beta.10"
37
+ "@destyler/composition": "0.0.1-beta.12",
38
+ "@destyler/shared": "0.0.1-beta.12",
39
+ "@destyler/arrow": "0.0.1-beta.12",
40
+ "@destyler/primitive": "0.0.1-beta.12"
41
41
  },
42
42
  "scripts": {
43
43
  "clear": "rimraf ./dist",