accessify-widget 0.3.25 → 0.3.27

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-to_f6xxD.js";
1
+ import { d, i } from "./index-YTcc-BmV.js";
2
2
  export {
3
3
  d as destroy,
4
4
  i as init
@@ -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" tabindex="0"><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 class="accessify-card-tooltip"> </span></span></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" 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,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-OIFhhVgD.js"),
6644
+ "keyboard-nav": () => import("./keyboard-nav-DeZ9sBGT.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-Cx0dz7cA.js"),
6651
+ "page-structure": () => import("./page-structure-I80rIKIx.js"),
6652
6652
  tts: () => import("./tts-CjszLRnb.js"),
6653
6653
  "text-simplify": () => import("./text-simplify-BH_5q_V4.js"),
6654
6654
  "alt-text": () => Promise.resolve().then(() => altText)
@@ -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
- set_text(text_5, $3);
6922
+ set_attribute(span_9, "title", $3);
6925
6923
  },
6926
6924
  [
6927
6925
  () => t(get(feature).nameKey, $$props.config.lang),
@@ -7791,6 +7789,7 @@ function createWidgetStyles(config2) {
7791
7789
  display: flex; flex-direction: column;
7792
7790
  border-radius: ${panelRadius};
7793
7791
  background: var(--surface);
7792
+ overflow: hidden;
7794
7793
  color: var(--text);
7795
7794
  box-shadow: var(--shadow);
7796
7795
  transition: opacity 200ms ease, transform 200ms ease;
@@ -8054,25 +8053,7 @@ function createWidgetStyles(config2) {
8054
8053
  opacity: 0.35; transition: opacity var(--fast), color var(--fast);
8055
8054
  }
8056
8055
  .accessify-card-info svg { width: 14px; height: 14px; }
8057
- .accessify-card-info:hover, .accessify-card-info:focus-visible { opacity: 1; color: var(--accent); }
8058
- .accessify-card-tooltip {
8059
- display: none; position: absolute;
8060
- bottom: calc(100% + 6px); ${isRight ? "right: 0" : "left: 0"};
8061
- width: 200px; max-width: 240px; padding: 10px 12px;
8062
- border-radius: 10px; background: #2a3158; color: #f1f5f9;
8063
- font-size: 12px; font-weight: 500; line-height: 1.4;
8064
- text-align: left; white-space: normal;
8065
- box-shadow: 0 6px 24px rgba(0,0,0,0.5);
8066
- pointer-events: none; z-index: 100;
8067
- }
8068
- .accessify-card-info:hover .accessify-card-tooltip,
8069
- .accessify-card-info:focus-visible .accessify-card-tooltip {
8070
- display: block;
8071
- }
8072
- .accessify-card-tooltip::before {
8073
- content: ''; position: absolute; top: 100%; ${isRight ? "right: 4px" : "left: 4px"};
8074
- border: 5px solid transparent; border-top-color: #2a3158;
8075
- }
8056
+ .accessify-card-info:hover { opacity: 1; color: var(--accent); }
8076
8057
 
8077
8058
  /* ─── Section Divider ─── */
8078
8059
  .accessify-section-divider {
@@ -8958,4 +8939,4 @@ export {
8958
8939
  init as i,
8959
8940
  t
8960
8941
  };
8961
- //# sourceMappingURL=index-to_f6xxD.js.map
8942
+ //# sourceMappingURL=index-YTcc-BmV.js.map