accessify-widget 0.3.13 → 0.3.14

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-CWccrgpi.js";
1
+ import { d, i } from "./index-1tl4oBKN.js";
2
2
  export {
3
3
  d as destroy,
4
4
  i as init
@@ -6448,14 +6448,14 @@ function FeatureGrid($$anchor, $$props) {
6448
6448
  const FEATURE_LOADERS = {
6449
6449
  contrast: () => import("./contrast-CqsICAkU.js"),
6450
6450
  "text-size": () => import("./text-size-m_mHNPWo.js"),
6451
- "keyboard-nav": () => import("./keyboard-nav-DX2xdXSe.js"),
6451
+ "keyboard-nav": () => import("./keyboard-nav-DriHR920.js"),
6452
6452
  "link-highlight": () => import("./link-highlight-DBGm067Y.js"),
6453
6453
  "reading-guide": () => import("./reading-guide-VT8NciIL.js"),
6454
6454
  "reading-mask": () => import("./reading-mask-BABChuCz.js"),
6455
6455
  "animation-stop": () => import("./animation-stop-C0MwseK0.js"),
6456
6456
  "hide-images": () => import("./hide-images-B_LeCBcd.js"),
6457
6457
  "big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
6458
- "page-structure": () => import("./page-structure-tjDPoRal.js"),
6458
+ "page-structure": () => import("./page-structure-CrtYM1Cb.js"),
6459
6459
  tts: () => import("./tts-CjszLRnb.js"),
6460
6460
  "text-simplify": () => import("./text-simplify-Cvhpio7g.js"),
6461
6461
  "alt-text": () => Promise.resolve().then(() => altText)
@@ -6685,7 +6685,11 @@ function FeatureGrid($$anchor, $$props) {
6685
6685
  ]
6686
6686
  );
6687
6687
  delegated("click", button_1, () => setTextSize(Math.max(TEXT_SIZE_MIN, get(textSize) - TEXT_SIZE_STEP)));
6688
- delegated("input", input, (e) => setTextSize(Number(e.target.value)));
6688
+ delegated("input", input, (e) => {
6689
+ set(textSize, Number(e.target.value), true);
6690
+ $$props.ontextsize?.(get(textSize));
6691
+ });
6692
+ delegated("change", input, (e) => setTextSize(Number(e.target.value)));
6689
6693
  delegated("click", button_2, () => setTextSize(Math.min(TEXT_SIZE_MAX, get(textSize) + TEXT_SIZE_STEP)));
6690
6694
  append($$anchor2, div_3);
6691
6695
  };
@@ -6747,7 +6751,7 @@ function FeatureGrid($$anchor, $$props) {
6747
6751
  append($$anchor, fragment);
6748
6752
  pop();
6749
6753
  }
6750
- delegate(["click", "input"]);
6754
+ delegate(["click", "input", "change"]);
6751
6755
  var root_1$1 = /* @__PURE__ */ from_html(`<span aria-hidden="true">&middot;</span> <a target="_blank" rel="noopener noreferrer"> </a>`, 1);
6752
6756
  var root$1 = /* @__PURE__ */ from_html(`<div class="accessify-footer"><div class="accessify-footer-links"><a target="_blank" rel="noopener noreferrer">Accessify Dashboard</a> <!></div> <button class="accessify-footer-close"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg> <span> </span></button></div>`);
6753
6757
  function PanelFooter($$anchor, $$props) {
@@ -8761,4 +8765,4 @@ export {
8761
8765
  init as i,
8762
8766
  t
8763
8767
  };
8764
- //# sourceMappingURL=index-CWccrgpi.js.map
8768
+ //# sourceMappingURL=index-1tl4oBKN.js.map