@squeed/flow-sdk 2.0.4 → 2.0.6
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 +11 -4
- package/dist/index.cjs +15 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +7103 -6960
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
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
|
-
|
|
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.
|
|
371
|
-
|
|
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
|
|