@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/ab-components.cjs.js +1 -1
- package/dist/ab-components.cjs.js.map +1 -1
- package/dist/ab-components.css +1 -1
- package/dist/ab-components.es.js +5 -4
- package/dist/ab-components.es.js.map +1 -1
- package/dist/ab-components.iife.js +1 -1
- package/dist/ab-components.iife.js.map +1 -1
- package/dist/ab-components.umd.js +1 -1
- package/dist/ab-components.umd.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
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 {
|