@destyler/popper 0.0.1-beta.11 → 0.0.1-beta.13

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
 
@@ -305,7 +307,7 @@ const DestylerPopperContent = vue.defineComponent({
305
307
  };
306
308
  },
307
309
  render() {
308
- return vue.h("div", vue.mergeProps(this.$attrs, {
310
+ return vue.h("div", {
309
311
  "data-destyler-popper-content-wrapper": "",
310
312
  "ref": "floatingRef",
311
313
  "style": {
@@ -318,7 +320,7 @@ const DestylerPopperContent = vue.defineComponent({
318
320
  this.middlewareData.transformOrigin?.y
319
321
  ].join(" ")
320
322
  }
321
- }), vue.h(primitive.DestylerPrimitive, vue.mergeProps(this.$attrs, {
323
+ }, vue.h(primitive.DestylerPrimitive, vue.mergeProps(this.$attrs, {
322
324
  "ref": (vnode) => {
323
325
  this.forwardRef(vnode);
324
326
  this.customElement = vnode;
@@ -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
 
@@ -303,7 +305,7 @@ const DestylerPopperContent = defineComponent({
303
305
  };
304
306
  },
305
307
  render() {
306
- return h("div", mergeProps(this.$attrs, {
308
+ return h("div", {
307
309
  "data-destyler-popper-content-wrapper": "",
308
310
  "ref": "floatingRef",
309
311
  "style": {
@@ -316,7 +318,7 @@ const DestylerPopperContent = defineComponent({
316
318
  this.middlewareData.transformOrigin?.y
317
319
  ].join(" ")
318
320
  }
319
- }), h(DestylerPrimitive, mergeProps(this.$attrs, {
321
+ }, h(DestylerPrimitive, mergeProps(this.$attrs, {
320
322
  "ref": (vnode) => {
321
323
  this.forwardRef(vnode);
322
324
  this.customElement = vnode;
@@ -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.11",
3
+ "version": "0.0.1-beta.13",
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/composition": "0.0.1-beta.11",
38
- "@destyler/shared": "0.0.1-beta.11",
39
- "@destyler/arrow": "0.0.1-beta.11",
40
- "@destyler/primitive": "0.0.1-beta.11"
37
+ "@destyler/arrow": "0.0.1-beta.13",
38
+ "@destyler/shared": "0.0.1-beta.13",
39
+ "@destyler/primitive": "0.0.1-beta.13",
40
+ "@destyler/composition": "0.0.1-beta.13"
41
41
  },
42
42
  "scripts": {
43
43
  "clear": "rimraf ./dist",