@styleflow.app/flowpress-astro-core 1.0.0-beta.20 → 1.0.0-beta.21
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 +5 -0
- package/dist/astro/CompositionRenderer.astro +10 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.0-beta.21 — 2026-10-08
|
|
4
|
+
|
|
5
|
+
- Apply responsive native grid columns, child spans and container bleed in Site Editor compositions, including structural CSS and the bleed runtime. Preserve saved breakpoint values and cap rendered spans to the parent grid.
|
|
6
|
+
- [Cloudflare and responsive grid verification](https://github.com/StyleFlow-App/styleflow-docs/blob/main/dev/rapporti/2026-10-08-cloudflare-rendering-commonjs.md).
|
|
7
|
+
|
|
3
8
|
## 1.0.0-beta.20 — 2026-10-07
|
|
4
9
|
|
|
5
10
|
- Normalize composition route SEO exactly like the route query: JSON-LD, Twitter metadata and image alt text remain intact when using the single-call page loader. Also accept already normalized composition SEO.
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
---
|
|
2
|
+
import "./native/grid.css";
|
|
3
|
+
import { decorateGridBlocks } from "./native/grid.js";
|
|
2
4
|
import type { FlowpressBlockAdapters } from "../block-renderers.js";
|
|
3
5
|
import {
|
|
4
6
|
flowpressAdapterCompatibilityIssue,
|
|
@@ -45,9 +47,12 @@ const mediaOptions: FlowpressFrontendMediaOptions = Astro.props.media ?? {
|
|
|
45
47
|
const composition = depth === 0
|
|
46
48
|
? rewriteFlowpressMediaUrls(sourceComposition, mediaOptions)
|
|
47
49
|
: sourceComposition;
|
|
48
|
-
const
|
|
50
|
+
const inputBlocks = sourceBlocks
|
|
49
51
|
? depth === 0 ? rewriteFlowpressMediaUrls(sourceBlocks, mediaOptions) : sourceBlocks
|
|
50
52
|
: composition.blocks;
|
|
53
|
+
// Prepare the whole authored tree once, before adapters render native groups.
|
|
54
|
+
// Nested resolved passes prepare their own trees through ResolvedBlocks.
|
|
55
|
+
const blocks = depth === 0 ? decorateGridBlocks(inputBlocks) : inputBlocks;
|
|
51
56
|
|
|
52
57
|
const prepared = Astro.props.prepared ?? {
|
|
53
58
|
descriptors: flowpressBlockTypeDescriptors(composition),
|
|
@@ -146,3 +151,7 @@ const logoStyles = parentBlockName === undefined
|
|
|
146
151
|
</>
|
|
147
152
|
);
|
|
148
153
|
})}
|
|
154
|
+
|
|
155
|
+
<script>
|
|
156
|
+
import "./native/grid-bleed.js";
|
|
157
|
+
</script>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@styleflow.app/flowpress-astro-core",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.21",
|
|
4
4
|
"description": "Project-agnostic WordPress routing, templates, SEO and GraphQL runtime for FlowPress Astro apps.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@splidejs/splide": "4.1.4",
|
|
56
56
|
"@styleflow.app/astro": "1.0.0-beta.9",
|
|
57
|
-
"@styleflow.app/flowpress-components": "1.0.0-beta.
|
|
57
|
+
"@styleflow.app/flowpress-components": "1.0.0-beta.10"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
60
60
|
"astro": ">=7.0.0"
|