@aduptive/strapi-blockscene 1.0.0-alpha.1 → 1.0.0-alpha.4

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/README.md CHANGED
@@ -66,6 +66,16 @@ label ending with the raw zone name, which Strapi's message carries in every
66
66
  locale; a zone whose name ends another zone's name (`blocks` and `sub blocks`)
67
67
  is the documented limit.
68
68
 
69
+ ## Row thumbnails
70
+
71
+ Each added block shows its thumbnail at the left of the native accordion
72
+ header, and clicking it opens the image full size in a modal instead of
73
+ opening or closing the row. The sources are the same as the gallery cards,
74
+ minus the wireframe: a block with no image shows nothing, so nothing new is
75
+ invented for blocks that were never captured. The thumbnail is inserted into
76
+ Strapi's own header through the DOM (no Content Manager patch) and is
77
+ restored when Strapi re-renders the list.
78
+
69
79
  ## Thumbnail priority
70
80
 
71
81
  Each card tries these sources in order and moves on when one fails to load.
@@ -192,7 +202,8 @@ pairs naming unknown components are dropped. Several OPENs may share one CLOSE.
192
202
  With a valid map:
193
203
 
194
204
  - The gallery (form mode) and the page preview insert OPEN and its CLOSE in the
195
- same unsaved change: an empty group, never a lone marker. When the CLOSE is
205
+ same unsaved change: an empty group, never a lone marker. A CLOSE is not
206
+ offered on its own in the gallery or the preview picker. When the CLOSE is
196
207
  not allowed in that zone, or the zone has no room for two rows, nothing is
197
208
  inserted and a notice explains why (two form dispatches in one React batch;
198
209
  no partial state is rendered or saved). Children are added
@@ -292,10 +303,11 @@ the configured static base.
292
303
 
293
304
  ## Guarantees and limits
294
305
 
295
- Tested versions: Strapi 4.26.1 (Node 20) and 5.52.1 (Node 22) in the local
296
- labs of this repository, and 5.23.5 and 5.31.0 in two real site projects. The
297
- peer ranges (`>=5.23.0 <6`, `>=4.20.0 <5`) express what installs without
298
- overrides, not a promise for every minor in between.
306
+ Tested versions: Strapi 4.11.0 and 4.26.1 (Node 20), 5.0.0 and 5.52.1
307
+ (Node 22) in the local labs of this repository, and 5.23.5 and 5.31.0 in two
308
+ real site projects. The peer ranges (`>=5.0.0 <6`, `>=4.11.0 <5`) express what
309
+ installs without overrides, not a promise for every minor in between. Strapi
310
+ 4.0–4.10 is out of reach: those admins run React 17 and lack `useFetchClient`.
299
311
 
300
312
 
301
313
  - Native component payloads and ordinary Strapi save/publish flow.