accessify-widget 0.3.31 → 0.3.33
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/accessify.min.js +1 -1
- package/dist/accessify.min.js.map +1 -1
- package/dist/accessify.mjs +1 -1
- package/dist/{index-DpY2zzln.js → index-BEHW9bFe.js} +9 -23
- package/dist/{index-DpY2zzln.js.map → index-BEHW9bFe.js.map} +1 -1
- package/dist/{keyboard-nav-rr1x0Wze.js → keyboard-nav-CInuB3YJ.js} +2 -2
- package/dist/{keyboard-nav-rr1x0Wze.js.map → keyboard-nav-CInuB3YJ.js.map} +1 -1
- package/dist/loader.min.js +1 -1
- package/dist/{page-structure-DPkn_D8q.js → page-structure-BjLqiNKh.js} +2 -2
- package/dist/{page-structure-DPkn_D8q.js.map → page-structure-BjLqiNKh.js.map} +1 -1
- package/dist/widget.js +1 -1
- package/dist/widget.js.map +1 -1
- package/package.json +1 -1
package/dist/accessify.mjs
CHANGED
|
@@ -6641,14 +6641,14 @@ function FeatureGrid($$anchor, $$props) {
|
|
|
6641
6641
|
const FEATURE_LOADERS = {
|
|
6642
6642
|
contrast: () => import("./contrast-CqsICAkU.js"),
|
|
6643
6643
|
"text-size": () => import("./text-size-m_mHNPWo.js"),
|
|
6644
|
-
"keyboard-nav": () => import("./keyboard-nav-
|
|
6644
|
+
"keyboard-nav": () => import("./keyboard-nav-CInuB3YJ.js"),
|
|
6645
6645
|
"link-highlight": () => import("./link-highlight-DBGm067Y.js"),
|
|
6646
6646
|
"reading-guide": () => import("./reading-guide-VT8NciIL.js"),
|
|
6647
6647
|
"reading-mask": () => import("./reading-mask-BABChuCz.js"),
|
|
6648
6648
|
"animation-stop": () => import("./animation-stop-_chC8bg1.js"),
|
|
6649
6649
|
"hide-images": () => import("./hide-images-B_LeCBcd.js"),
|
|
6650
6650
|
"big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
|
|
6651
|
-
"page-structure": () => import("./page-structure-
|
|
6651
|
+
"page-structure": () => import("./page-structure-BjLqiNKh.js"),
|
|
6652
6652
|
tts: () => import("./tts-CjszLRnb.js"),
|
|
6653
6653
|
"text-simplify": () => import("./text-simplify-Cfykj7Ak.js"),
|
|
6654
6654
|
"alt-text": () => Promise.resolve().then(() => altText)
|
|
@@ -8403,26 +8403,12 @@ function createAltTextModule(aiService, initialLang = "de", serverConfig) {
|
|
|
8403
8403
|
if (isImg) {
|
|
8404
8404
|
const parent = target.parentElement;
|
|
8405
8405
|
if (!parent) return;
|
|
8406
|
-
|
|
8407
|
-
|
|
8408
|
-
|
|
8409
|
-
|
|
8410
|
-
|
|
8411
|
-
|
|
8412
|
-
break;
|
|
8413
|
-
}
|
|
8414
|
-
el = el.parentElement;
|
|
8415
|
-
}
|
|
8416
|
-
if (overflowAncestor) {
|
|
8417
|
-
anchor = overflowAncestor;
|
|
8418
|
-
} else {
|
|
8419
|
-
const parentPos = getComputedStyle(parent).position;
|
|
8420
|
-
if (parentPos === "static") parent.style.position = "relative";
|
|
8421
|
-
anchor = parent;
|
|
8422
|
-
const imgEl = target;
|
|
8423
|
-
badgeTop = `${imgEl.offsetTop + 6}px`;
|
|
8424
|
-
badgeLeft = `${imgEl.offsetLeft + 6}px`;
|
|
8425
|
-
}
|
|
8406
|
+
const parentPos = getComputedStyle(parent).position;
|
|
8407
|
+
if (parentPos === "static") parent.style.position = "relative";
|
|
8408
|
+
anchor = parent;
|
|
8409
|
+
const imgEl = target;
|
|
8410
|
+
badgeTop = `${imgEl.offsetTop + 6}px`;
|
|
8411
|
+
badgeLeft = `${imgEl.offsetLeft + 6}px`;
|
|
8426
8412
|
} else {
|
|
8427
8413
|
const pos = getComputedStyle(target).position;
|
|
8428
8414
|
if (pos === "static") target.style.position = "relative";
|
|
@@ -8943,4 +8929,4 @@ export {
|
|
|
8943
8929
|
init as i,
|
|
8944
8930
|
t
|
|
8945
8931
|
};
|
|
8946
|
-
//# sourceMappingURL=index-
|
|
8932
|
+
//# sourceMappingURL=index-BEHW9bFe.js.map
|