@styleflow.app/flowpress-astro-core 1.0.0-beta.29 → 1.0.0-beta.30
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,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.30 — 2026-10-09
|
|
4
|
+
|
|
5
|
+
- Ship native `core/icon` structural CSS with the Astro renderer: apply validated WordPress widths, proportional SVG dimensions and alignment, and paint icons from the StyleFlow foreground through `currentColor`.
|
|
6
|
+
- Verify native/project icons in traditional Gutenberg and Site Editor compositions, including inherited colors, accessible labels, invalid width fallback and scoped SVG IDs.
|
|
7
|
+
- [Canonical verification](https://github.com/StyleFlow-App/styleflow-docs/blob/main/dev/rapporti/2026-10-09-core-icon-frontend.md).
|
|
8
|
+
|
|
3
9
|
## 1.0.0-beta.29 — 2026-10-08
|
|
4
10
|
|
|
5
11
|
- Extend the escaped plain-text entity decoding to buttons, cards, spinner segments, excerpts, timeline, list fallbacks, forms and accessibility labels. Keep RichText fragments unchanged.
|
|
@@ -31,3 +31,12 @@ const rootProps = {
|
|
|
31
31
|
set:html={svg}
|
|
32
32
|
/> : null}
|
|
33
33
|
<!-- styleflow-ignore-end -->
|
|
34
|
+
|
|
35
|
+
<style is:global>
|
|
36
|
+
/* Match the native WordPress icon geometry and inherit Styleflow foreground. */
|
|
37
|
+
.wp-block-icon { width: var(--fp-core-icon-width, 24px); max-width: 100%; line-height: 0; }
|
|
38
|
+
.wp-block-icon > svg { display: block; width: 100%; height: auto; max-width: 100%; fill: currentColor; }
|
|
39
|
+
.wp-block-icon.aligncenter { margin-inline: auto; }
|
|
40
|
+
.wp-block-icon.alignright { margin-inline-start: auto; }
|
|
41
|
+
.wp-block-icon.alignleft { margin-inline-end: auto; }
|
|
42
|
+
</style>
|
package/package.json
CHANGED