@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.
@@ -2619,7 +2619,8 @@ const Ga = "_root_avx14_36", ja = "_sizeMedium_avx14_44", tn = {
2619
2619
  listMaxHeight: { default: 400 },
2620
2620
  loadingText: { default: "" },
2621
2621
  menuStyle: { default: () => ({}) },
2622
- listStyle: { default: () => ({}) }
2622
+ listStyle: { default: () => ({}) },
2623
+ teleportTarget: { default: "body" }
2623
2624
  },
2624
2625
  emits: ["update:open", "item-click", "item-expand", "select"],
2625
2626
  setup(e, { emit: o }) {
@@ -2692,7 +2693,7 @@ const Ga = "_root_avx14_36", ja = "_sizeMedium_avx14_44", tn = {
2692
2693
  $ ? (document.addEventListener("pointerdown", F, !0), window.addEventListener("keydown", Q)) : (document.removeEventListener("pointerdown", F, !0), window.removeEventListener("keydown", Q), a.value = null, l.value = "", s.clear());
2693
2694
  }, { immediate: !0 }), ht(() => {
2694
2695
  document.removeEventListener("pointerdown", F, !0), window.removeEventListener("keydown", Q);
2695
- }), ($, p) => (f(), K(ln, { to: "body" }, [
2696
+ }), ($, p) => (f(), K(ln, { to: $.teleportTarget }, [
2696
2697
  $.open ? (f(), h("div", {
2697
2698
  key: 0,
2698
2699
  ref_key: "menuRef",
@@ -2826,9 +2827,9 @@ const Ga = "_root_avx14_36", ja = "_sizeMedium_avx14_44", tn = {
2826
2827
  ]))
2827
2828
  ])
2828
2829
  ], 12, dl)) : L("", !0)
2829
- ]));
2830
+ ], 8, ["to"]));
2830
2831
  }
2831
- }), _s = /* @__PURE__ */ pe(hl, [["__scopeId", "data-v-b431f024"]]), vl = "_root_16cu0_36", gl = "_trigger_16cu0_46", bl = "_isOpen_16cu0_64", wl = "_hasError_16cu0_69", yl = "_isDisabled_16cu0_79", xl = "_triggerText_16cu0_86", kl = "_chevron_16cu0_98", Al = "_message_16cu0_109", ve = {
2832
+ }), _s = /* @__PURE__ */ pe(hl, [["__scopeId", "data-v-cc4bcacd"]]), vl = "_root_16cu0_36", gl = "_trigger_16cu0_46", bl = "_isOpen_16cu0_64", wl = "_hasError_16cu0_69", yl = "_isDisabled_16cu0_79", xl = "_triggerText_16cu0_86", kl = "_chevron_16cu0_98", Al = "_message_16cu0_109", ve = {
2832
2833
  root: vl,
2833
2834
  trigger: gl,
2834
2835
  isOpen: bl,