@styleflow.app/flowpress-astro-core 1.0.0-beta.23 → 1.0.0-beta.24

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/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0-beta.24 — 2026-10-08
4
+
5
+ - Validate the accessibility trigger intensity against the current project contract, including Starter designs with only main/base.
6
+ - [Canonical verification](https://github.com/StyleFlow-App/styleflow-docs/blob/main/dev/rapporti/2026-10-08-pannello-accessibilita-default.md).
7
+
3
8
  ## 1.0.0-beta.23 — 2026-10-08
4
9
 
5
10
  - Promote the pilot accessibility panel and theme/motion/vivid-color switches to public, styled defaults. Preserve visitor preferences and keyboard behavior; ship geometry without consumer Tailwind scanning.
@@ -36,6 +36,7 @@ const {
36
36
  showTheme = themes.includes("dark") && themes.some((theme) => theme !== "dark"),
37
37
  class: className,
38
38
  } = Astro.props;
39
+ const triggerColors = preferencesStyleflow({tone:"main",intensity:"strong-1",surface:"raised"},{tone:"main",intensity:"base",surface:"raised"});
39
40
  const panelColors = preferencesStyleflow({tone:"neutral",intensity:"soft-3",surface:"raised"},{tone:"neutral",intensity:"soft-2",surface:"raised"},{tone:"neutral",intensity:"base",surface:"default"});
40
41
  const titleTypography = preferencesStyleflow({ty:"body",v:"lg",w:"strong"},{ty:"body",v:"md",w:"strong"});
41
42
  const labelTypography = preferencesStyleflow({ty:"body",v:"md",w:"default"});
@@ -65,9 +66,7 @@ const id = `sf-a11y-${crypto.randomUUID()}`;
65
66
  aria-haspopup="dialog"
66
67
  aria-expanded="false"
67
68
  aria-controls={`${id}-panel`}
68
- tone="main"
69
- intensity="strong-1"
70
- surface="raised"
69
+ {...triggerColors}
71
70
  foreground="primary"
72
71
  layoutRole="control"
73
72
  density="compact"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@styleflow.app/flowpress-astro-core",
3
- "version": "1.0.0-beta.23",
3
+ "version": "1.0.0-beta.24",
4
4
  "description": "Project-agnostic WordPress routing, templates, SEO and GraphQL runtime for FlowPress Astro apps.",
5
5
  "type": "module",
6
6
  "private": false,