@styleflow.app/flowpress-astro-core 1.0.0-beta.25 → 1.0.0-beta.26

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.26 — 2026-10-08
4
+
5
+ - Keep inherited panel visibility out of generic transitions and disable transitions throughout the panel when motion is reduced, so every switch receives keyboard focus reliably.
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.25 — 2026-10-08
4
9
 
5
10
  - Focus the first accessibility switch after the panel becomes visible; cancel pending focus on close and cleanup.
@@ -116,8 +116,10 @@ html[data-sf-vivid-colors="false"] {
116
116
  .sf-a11y__icon { inline-size: 1.75rem; block-size: 1.75rem; }
117
117
  .sf-a11y__panel { display: flex; flex-direction: column; inline-size: var(--fp-preferences-width, 18rem); max-inline-size: calc(100vw - 2rem); gap: 1rem; }
118
118
  .sf-a11y__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
119
+ /* Inherited visibility must become focusable immediately, without an all transition. */
120
+ .sf-a11y__row, .sf-toggle { transition-property: color, background-color, border-color, box-shadow; }
119
121
  .sf-toggle:focus-visible, .sf-a11y__trigger:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
120
- html[data-sf-motion-preference="reduce"] :is(.sf-toggle, .sf-toggle *, .sf-a11y__trigger, .sf-a11y__panel) { transition: none !important; }
122
+ html[data-sf-motion-preference="reduce"] :is(.sf-toggle, .sf-toggle *, .sf-a11y, .sf-a11y *) { transition: none !important; }
121
123
  @media print { .sf-a11y { display: none !important; } }
122
124
 
123
125
  .flowpress-theme-control { display: inline-flex; align-items: center; gap: .5rem; }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@styleflow.app/flowpress-astro-core",
3
- "version": "1.0.0-beta.25",
3
+ "version": "1.0.0-beta.26",
4
4
  "description": "Project-agnostic WordPress routing, templates, SEO and GraphQL runtime for FlowPress Astro apps.",
5
5
  "type": "module",
6
6
  "private": false,