accessify-widget 0.3.42 → 0.3.43

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.
@@ -1,4 +1,4 @@
1
- import { d, i } from "./index-lQVz5TBk.js";
1
+ import { d, i } from "./index-B_5fu0ZB.js";
2
2
  export {
3
3
  d as destroy,
4
4
  i as init
@@ -6620,14 +6620,14 @@ function FeatureGrid($$anchor, $$props) {
6620
6620
  const FEATURE_LOADERS = {
6621
6621
  contrast: () => import("./contrast-BcTWODsK.js"),
6622
6622
  "text-size": () => import("./text-size-m_mHNPWo.js"),
6623
- "keyboard-nav": () => import("./keyboard-nav-BqdopG_-.js"),
6623
+ "keyboard-nav": () => import("./keyboard-nav-BABYKgnj.js"),
6624
6624
  "link-highlight": () => import("./link-highlight-DBGm067Y.js"),
6625
6625
  "reading-guide": () => import("./reading-guide-VT8NciIL.js"),
6626
6626
  "reading-mask": () => import("./reading-mask-BABChuCz.js"),
6627
6627
  "animation-stop": () => import("./animation-stop-_chC8bg1.js"),
6628
6628
  "hide-images": () => import("./hide-images-B_LeCBcd.js"),
6629
6629
  "big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
6630
- "page-structure": () => import("./page-structure-D74Eg0X5.js"),
6630
+ "page-structure": () => import("./page-structure-BiKOV23k.js"),
6631
6631
  tts: () => import("./tts-CjszLRnb.js"),
6632
6632
  "text-simplify": () => import("./text-simplify-CK2GFhq2.js"),
6633
6633
  "alt-text": () => Promise.resolve().then(() => altText)
@@ -7719,6 +7719,14 @@ function createWidgetStyles(config2) {
7719
7719
  return `
7720
7720
  :host {
7721
7721
  all: initial;
7722
+ display: block !important;
7723
+ position: fixed !important;
7724
+ top: 0 !important; left: 0 !important;
7725
+ width: 0 !important; height: 0 !important;
7726
+ overflow: visible !important;
7727
+ pointer-events: none !important;
7728
+ z-index: ${z} !important;
7729
+ contain: none !important;
7722
7730
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
7723
7731
  font-size: 16px;
7724
7732
  line-height: 1.5;
@@ -7759,6 +7767,7 @@ function createWidgetStyles(config2) {
7759
7767
  ${isBottom ? "bottom: 20px" : "top: 20px"};
7760
7768
  ${isRight ? "right: 20px" : "left: 20px"};
7761
7769
  z-index: ${z};
7770
+ pointer-events: auto;
7762
7771
  width: 56px; height: 56px;
7763
7772
  border: none; border-radius: 16px;
7764
7773
  background: ${triggerBg || "linear-gradient(135deg, #545d8f, #3d4775)"};
@@ -7789,6 +7798,7 @@ function createWidgetStyles(config2) {
7789
7798
  position: fixed; top: 0; bottom: 0;
7790
7799
  ${isRight ? "right: 0" : "left: 0"};
7791
7800
  z-index: ${z - 1};
7801
+ pointer-events: auto;
7792
7802
  width: min(${panelW}, 100vw); height: 100vh; height: 100dvh;
7793
7803
  display: flex; flex-direction: column;
7794
7804
  border-radius: ${panelRadius};
@@ -8866,6 +8876,7 @@ async function init(userConfig = {}) {
8866
8876
  containerEl.id = "accessify-root";
8867
8877
  containerEl.setAttribute("role", "complementary");
8868
8878
  containerEl.setAttribute("aria-label", t("widget.title", config.lang));
8879
+ containerEl.style.cssText = "position:fixed!important;top:0!important;left:0!important;width:0!important;height:0!important;overflow:visible!important;pointer-events:none!important;z-index:" + (config.zIndex || 999999) + "!important;display:block!important;contain:none!important;";
8869
8880
  const shadow = containerEl.attachShadow({ mode: "open", delegatesFocus: true });
8870
8881
  const sheet = new CSSStyleSheet();
8871
8882
  sheet.replaceSync(createWidgetStyles(config));
@@ -8965,4 +8976,4 @@ export {
8965
8976
  init as i,
8966
8977
  t
8967
8978
  };
8968
- //# sourceMappingURL=index-lQVz5TBk.js.map
8979
+ //# sourceMappingURL=index-B_5fu0ZB.js.map