@useinsider/ab-components 0.0.96 → 0.0.97

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.d.ts CHANGED
@@ -487,6 +487,7 @@ menuStyle: CSSProperties;
487
487
  listWidth: number;
488
488
  listMaxHeight: number;
489
489
  loadingText: string;
490
+ teleportTarget: string | HTMLElement;
490
491
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
491
492
  menuRef: HTMLDivElement;
492
493
  listRef: HTMLDivElement;
@@ -519,6 +520,14 @@ export declare interface CascadingMenuProps {
519
520
  loadingText?: string;
520
521
  menuStyle?: CSSProperties;
521
522
  listStyle?: CSSProperties;
523
+ /**
524
+ * Target for the internal `<Teleport>`. Accepts any selector or element
525
+ * Vue's `Teleport` understands. Defaults to `'body'`. Override when the
526
+ * host environment watches `document.body` mutations (e.g. a MutationObserver
527
+ * that hides unknown children) — point to a dedicated, registered container
528
+ * instead so the menu's DOM is not a direct child of `body`.
529
+ */
530
+ teleportTarget?: string | HTMLElement;
522
531
  }
523
532
 
524
533
  export declare interface CascadingSelectPayload {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@useinsider/ab-components",
3
- "version": "0.0.96",
3
+ "version": "0.0.97",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"