@v-c/trigger 1.0.7 → 1.0.8

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.
@@ -237,7 +237,7 @@ var Popup_default = /* @__PURE__ */ defineComponent((props, { attrs, slots, expo
237
237
  default: void 0
238
238
  },
239
239
  getPopupContainer: {
240
- type: Function,
240
+ type: [Function, Boolean],
241
241
  required: false,
242
242
  default: void 0
243
243
  },
package/dist/index.d.ts CHANGED
@@ -25,7 +25,7 @@ export interface TriggerProps {
25
25
  onPopupVisibleChange?: (visible: boolean) => void;
26
26
  /** @deprecated Use `afterOpenChange` instead */
27
27
  afterPopupVisibleChange?: (visible: boolean) => void;
28
- getPopupContainer?: (node: HTMLElement) => HTMLElement | false;
28
+ getPopupContainer?: ((node: HTMLElement) => HTMLElement) | false;
29
29
  forceRender?: boolean;
30
30
  autoDestroy?: boolean;
31
31
  mask?: boolean;
package/dist/index.js CHANGED
@@ -437,7 +437,7 @@ function generateTrigger(PortalComponent = Portal) {
437
437
  default: void 0
438
438
  },
439
439
  getPopupContainer: {
440
- type: Function,
440
+ type: [Function, Boolean],
441
441
  required: false,
442
442
  default: void 0
443
443
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@v-c/trigger",
3
3
  "type": "module",
4
- "version": "1.0.7",
4
+ "version": "1.0.8",
5
5
  "description": "",
6
6
  "publishConfig": {
7
7
  "access": "public"