@squeed/flow-sdk 2.0.4 → 2.0.5

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
@@ -360,15 +360,22 @@ Inside a diagram, `useNodeViewActions()` (or `useFlowDiagramContext()`) exposes
360
360
  `allNodesIconLabel` and `setAllNodesIconLabel(boolean)`. The bulk action reuses
361
361
  `setNodeViewMode(id, "icon-label")` for objects/arrays and `onNodeCollapse` for
362
362
  parents. Disable it to restore default object views and reopen parents. Dots use
363
- the same per-node actions and remain interactive; there is no global view lock
364
- or separate override state. `allNodesIconLabel` reflects the current node modes.
363
+ the same per-node actions and remain interactive; there is no global view lock.
364
+ `allNodesIconLabel` reflects the current node modes.
365
+
366
+ In `FlowDiagram`, enabling the bulk action also suspends `forms.structured`:
367
+ generated detail nodes and structured form lists disappear without changing the
368
+ workflow data. Disabling it restores the configured `forms.structured` setting
369
+ and the generated nodes' default views. An initially false or omitted setting
370
+ stays disabled. Individual node-view actions do not change this setting.
365
371
 
366
372
  `NodeViewMode` supports `"default"`, `"properties"` and `"icon-label"`; controlled
367
373
  consumers continue using `config.nodeViewModes` and `onNodeViewModeChange`.
368
374
  Parent changes follow the host's existing collapse persistence behavior. The
369
375
  name `collapsed` remains reserved for child-collapse behavior, not object view
370
- modes. `onAllNodesIconLabelChange` reports bulk actions. SDK Test exposes the
371
- action under Visibility as **All icon labels** and fits the resulting layout.
376
+ modes. `onAllNodesIconLabelChange` reports bulk actions. The bottom toolbar exposes
377
+ **Collapse all** immediately after **Compact layout**; SDK Test also exposes
378
+ the action as **All icon labels** under Visibility and fits the resulting layout.
372
379
 
373
380
  ### Reusable Nodes From Property Draws
374
381