accessify-widget 0.3.107 → 0.3.109

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-BOb-i_jC.js";
1
+ import { d, i } from "./index-8a57WXKu.js";
2
2
  export {
3
3
  d as destroy,
4
4
  i as init
@@ -6661,14 +6661,14 @@ function FeatureGrid($$anchor, $$props) {
6661
6661
  const FEATURE_LOADERS = {
6662
6662
  contrast: () => import("./contrast-CqsOs6Uo.js"),
6663
6663
  "text-size": () => import("./text-size-BNrbtlkH.js"),
6664
- "keyboard-nav": () => import("./keyboard-nav-CdiNwZRf.js"),
6664
+ "keyboard-nav": () => import("./keyboard-nav-Bl_SdTnF.js"),
6665
6665
  "link-highlight": () => import("./link-highlight-DBGm067Y.js"),
6666
6666
  "reading-guide": () => import("./reading-guide-VT8NciIL.js"),
6667
6667
  "reading-mask": () => import("./reading-mask-CImlx88t.js"),
6668
6668
  "animation-stop": () => import("./animation-stop-C2Ced0LV.js"),
6669
6669
  "hide-images": () => import("./hide-images-DdZdru63.js"),
6670
6670
  "big-cursor": () => import("./big-cursor-B2UKu9dQ.js"),
6671
- "page-structure": () => import("./page-structure-B1e-ikr6.js"),
6671
+ "page-structure": () => import("./page-structure-CCo1FOWt.js"),
6672
6672
  tts: () => import("./tts-BytU4gzP.js"),
6673
6673
  "text-simplify": () => import("./text-simplify-PzKJiCer.js"),
6674
6674
  "alt-text": () => Promise.resolve().then(() => altText)
@@ -7835,8 +7835,6 @@ function createWidgetStyles(config2) {
7835
7835
  c.brandAccentColor ? `--accent: ${c.brandAccentColor}; --accent-soft: ${c.brandAccentColor}26;` : "",
7836
7836
  c.brandBorderColor ? `--border: ${c.brandBorderColor}; --border-hl: ${c.brandBorderColor};` : ""
7837
7837
  ].filter(Boolean).join("\n ");
7838
- const triggerBg = c.brandTriggerColor || "";
7839
- const triggerIcon = c.brandTriggerIconColor || "";
7840
7838
  const panelW = c.panelWidth ? `${c.panelWidth}px` : "420px";
7841
7839
  return `
7842
7840
  :host {
@@ -7884,18 +7882,17 @@ function createWidgetStyles(config2) {
7884
7882
  *:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 8px; }
7885
7883
 
7886
7884
  /* ─── Trigger ─── */
7887
- /* Default look matches docs/brand/widget-icon.svg: full brand gradient
7888
- * background (blue mauve coral) with the white person-in-ring glyph
7889
- * filling the button. Site owners can still override via
7890
- * brandTriggerColor / brandTriggerIconColor in the dashboard. */
7885
+ /* Fixiertes Brand-Mark: Gradient-Pille mit weißem Person-im-Ring-Glyph.
7886
+ * Wird NICHT durch Site-Customisierung überschreibbar der Trigger ist
7887
+ * die Wiedererkennungs-Marke und bleibt überall identisch. */
7891
7888
  .accessify-trigger {
7892
7889
  position: static;
7893
7890
  z-index: ${z};
7894
7891
  width: 56px; height: 56px;
7895
7892
  padding: 0;
7896
7893
  border: none; border-radius: 16px;
7897
- background: ${triggerBg || "linear-gradient(135deg, #3d4775 0%, #4a5387 50%, #e8837c 100%)"};
7898
- color: ${triggerIcon || "#ffffff"};
7894
+ background: linear-gradient(135deg, #3d4775 0%, #4a5387 50%, #e8837c 100%);
7895
+ color: #ffffff;
7899
7896
  cursor: pointer;
7900
7897
  display: flex; align-items: center; justify-content: center;
7901
7898
  box-shadow: 0 6px 20px rgba(50,60,100,0.5);
@@ -9140,6 +9137,7 @@ async function init(userConfig = {}) {
9140
9137
  const u = new URL(origin);
9141
9138
  if (u.hostname.endsWith(".accessify.dev")) return true;
9142
9139
  if (u.hostname.endsWith(".accessify-dashboard.pages.dev")) return true;
9140
+ if (u.hostname === "localhost" || u.hostname === "127.0.0.1") return true;
9143
9141
  } catch {
9144
9142
  }
9145
9143
  return false;
@@ -9202,4 +9200,4 @@ export {
9202
9200
  init as i,
9203
9201
  t
9204
9202
  };
9205
- //# sourceMappingURL=index-BOb-i_jC.js.map
9203
+ //# sourceMappingURL=index-8a57WXKu.js.map