accessify-widget 0.3.26 → 0.3.28
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-BS9-WNVn.js → index-BneOnCbA.js} +7 -27
- package/dist/{index-BS9-WNVn.js.map → index-BneOnCbA.js.map} +1 -1
- package/dist/{keyboard-nav-DsNB3hr3.js → keyboard-nav-cdi24lWr.js} +2 -2
- package/dist/{keyboard-nav-DsNB3hr3.js.map → keyboard-nav-cdi24lWr.js.map} +1 -1
- package/dist/loader.min.js +1 -1
- package/dist/{page-structure-DY1T74U2.js → page-structure-z8l0ufdb.js} +2 -2
- package/dist/{page-structure-DY1T74U2.js.map → page-structure-z8l0ufdb.js.map} +1 -1
- package/dist/{text-simplify-BH_5q_V4.js → text-simplify-DP0GiRFK.js} +11 -19
- package/dist/{text-simplify-BH_5q_V4.js.map → text-simplify-DP0GiRFK.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
|
@@ -6534,7 +6534,7 @@ Return ONLY the simplified text.`;
|
|
|
6534
6534
|
var root_2$1 = /* @__PURE__ */ from_html(`<button class="accessify-chip accessify-chip--icon"><span class="accessify-chip-icon" aria-hidden="true"></span> <span> </span></button>`);
|
|
6535
6535
|
var root_1$2 = /* @__PURE__ */ from_html(`<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-chip-row"></div></div>`);
|
|
6536
6536
|
var root_3$1 = /* @__PURE__ */ from_html(`<div class="accessify-control-row" role="group"><div class="accessify-control-label"><span class="accessify-control-label-icon" aria-hidden="true"></span> <span class="accessify-control-label-text"> </span></div> <div class="accessify-slider-wrap"><button class="accessify-stepper-btn" aria-label="Decrease text size">−</button> <input type="range" class="accessify-slider"/> <button class="accessify-stepper-btn" aria-label="Increase text size">+</button> <span class="accessify-stepper-value" aria-live="polite"> </span></div></div>`);
|
|
6537
|
-
var root_5 = /* @__PURE__ */ from_html(`<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info"
|
|
6537
|
+
var root_5 = /* @__PURE__ */ from_html(`<div class="accessify-card-wrap"><button class="accessify-card" role="switch"><span class="accessify-card-icon" aria-hidden="true"></span> <span class="accessify-card-label"> </span></button> <span class="accessify-card-info" role="note"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="16" x2="12" y2="12"></line><line x1="12" y1="8" x2="12.01" y2="8"></line></svg></span></div>`);
|
|
6538
6538
|
var root_4 = /* @__PURE__ */ from_html(`<div class="accessify-features"></div>`);
|
|
6539
6539
|
var root$2 = /* @__PURE__ */ from_html(`<!> <!> <div class="accessify-section-divider"></div> <!>`, 1);
|
|
6540
6540
|
function FeatureGrid($$anchor, $$props) {
|
|
@@ -6641,16 +6641,16 @@ 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-cdi24lWr.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-C0MwseK0.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-z8l0ufdb.js"),
|
|
6652
6652
|
tts: () => import("./tts-CjszLRnb.js"),
|
|
6653
|
-
"text-simplify": () => import("./text-simplify-
|
|
6653
|
+
"text-simplify": () => import("./text-simplify-DP0GiRFK.js"),
|
|
6654
6654
|
"alt-text": () => Promise.resolve().then(() => altText)
|
|
6655
6655
|
};
|
|
6656
6656
|
let contrastMode = /* @__PURE__ */ state(proxy(readStoredContrastMode()));
|
|
@@ -6912,8 +6912,6 @@ function FeatureGrid($$anchor, $$props) {
|
|
|
6912
6912
|
var span_8 = sibling(span_7, 2);
|
|
6913
6913
|
var text_4 = child(span_8);
|
|
6914
6914
|
var span_9 = sibling(button_3, 2);
|
|
6915
|
-
var span_10 = sibling(child(span_9), 2);
|
|
6916
|
-
var text_5 = child(span_10);
|
|
6917
6915
|
template_effect(
|
|
6918
6916
|
($0, $1, $2, $3) => {
|
|
6919
6917
|
set_attribute(button_3, "data-active", get(isActive));
|
|
@@ -6921,7 +6919,7 @@ function FeatureGrid($$anchor, $$props) {
|
|
|
6921
6919
|
set_attribute(button_3, "aria-label", $0);
|
|
6922
6920
|
set_text(text_4, $1);
|
|
6923
6921
|
set_attribute(span_9, "aria-label", $2);
|
|
6924
|
-
|
|
6922
|
+
set_attribute(span_9, "title", $3);
|
|
6925
6923
|
},
|
|
6926
6924
|
[
|
|
6927
6925
|
() => t(get(feature).nameKey, $$props.config.lang),
|
|
@@ -8055,25 +8053,7 @@ function createWidgetStyles(config2) {
|
|
|
8055
8053
|
opacity: 0.35; transition: opacity var(--fast), color var(--fast);
|
|
8056
8054
|
}
|
|
8057
8055
|
.accessify-card-info svg { width: 14px; height: 14px; }
|
|
8058
|
-
.accessify-card-info:hover
|
|
8059
|
-
.accessify-card-tooltip {
|
|
8060
|
-
display: none; position: absolute;
|
|
8061
|
-
bottom: calc(100% + 6px); right: -8px;
|
|
8062
|
-
width: 200px; padding: 10px 12px;
|
|
8063
|
-
border-radius: 10px; background: #2a3158; color: #f1f5f9;
|
|
8064
|
-
font-size: 12px; font-weight: 500; line-height: 1.4;
|
|
8065
|
-
text-align: left; white-space: normal;
|
|
8066
|
-
box-shadow: 0 6px 24px rgba(0,0,0,0.5);
|
|
8067
|
-
pointer-events: none; z-index: 100;
|
|
8068
|
-
}
|
|
8069
|
-
.accessify-card-info:hover .accessify-card-tooltip,
|
|
8070
|
-
.accessify-card-info:focus-visible .accessify-card-tooltip {
|
|
8071
|
-
display: block;
|
|
8072
|
-
}
|
|
8073
|
-
.accessify-card-tooltip::before {
|
|
8074
|
-
content: ''; position: absolute; top: 100%; right: 12px;
|
|
8075
|
-
border: 5px solid transparent; border-top-color: #2a3158;
|
|
8076
|
-
}
|
|
8056
|
+
.accessify-card-info:hover { opacity: 1; color: var(--accent); }
|
|
8077
8057
|
|
|
8078
8058
|
/* ─── Section Divider ─── */
|
|
8079
8059
|
.accessify-section-divider {
|
|
@@ -8959,4 +8939,4 @@ export {
|
|
|
8959
8939
|
init as i,
|
|
8960
8940
|
t
|
|
8961
8941
|
};
|
|
8962
|
-
//# sourceMappingURL=index-
|
|
8942
|
+
//# sourceMappingURL=index-BneOnCbA.js.map
|