@squeed/flow-sdk 2.0.31 → 2.0.33

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
@@ -481,6 +481,13 @@ stays disabled. Individual node-view actions do not change this setting.
481
481
 
482
482
  `NodeViewMode` supports `"default"`, `"properties"` and `"icon-label"`; controlled
483
483
  consumers continue using `config.nodeViewModes` and `onNodeViewModeChange`.
484
+ Dot-triggered selection includes `NodeSelectionModifiers.viewToggle: true`;
485
+ ordinary selections omit it. The dot invokes `onNodeViewToggle` before changing
486
+ the view so a host can queue geometry-aware focus without first focusing the
487
+ compact node. SDK Test centers the opened node using its existing default focus
488
+ padding; ordinary clicks still honor Include children. The layout scheduler
489
+ coalesces measurements and does not restart a pending focus for identical
490
+ destination geometry.
484
491
  Parent changes follow the host's existing collapse persistence behavior. The
485
492
  name `collapsed` remains reserved for child-collapse behavior, not object view
486
493
  modes. `onAllNodesIconLabelChange` reports bulk actions. The bottom toolbar exposes
@@ -1071,7 +1078,7 @@ not edit saved data: completion strictly parses the final JSON before committing
1071
1078
  and failure or disconnect restores the saved document. The renderer stays in
1072
1079
  the host; this does not enable executable JSX or create a per-chunk MCP command.
1073
1080
 
1074
- With `config.editable: true`, double-click the content body to edit the original Markdown source. Enter inserts a new line; Ctrl/Cmd+Enter or clicking away saves, and Escape cancels. Source whitespace is preserved. The node grows vertically as text is added; label editors grow horizontally within their width limit. Both keep their starting size as a minimum and omit input focus outlines. Clearing the body keeps an empty, editable content view; use `setNodeProp(json, address, "$content", undefined)` to remove the content property. Content nodes use the same minimum width as their object-property rows, and the right-aligned table/article button switches views without changing the document.
1081
+ With `config.editable: true`, click the content body to edit the original Markdown source. In Collision mode, including filled and embedded Grids, hold Shift when clicking; ordinary clicks retain their selection behavior. Shift is only required to enter the editor. Enter inserts a new line; Ctrl/Cmd+Enter or clicking away saves, and Escape cancels. Read-only mode still prevents editing. Internal JSON refreshes preserve focused editors and unsaved drafts; initial loading and explicit host loading still block interaction. Source whitespace is preserved. The node grows vertically as text is added; label editors grow horizontally within their width limit. Both keep their starting size as a minimum and omit input focus outlines. Clearing the body keeps an empty, editable content view; use `setNodeProp(json, address, "$content", undefined)` to remove the content property. Content nodes use the same minimum width as their object-property rows, and the right-aligned table/article button switches views without changing the document.
1075
1082
 
1076
1083
  The node animation toggle supports single and multiple selections. The SVG stroke follows the measured node border without changing layout or intercepting input. Text, array, object/content, and compound nodes support it, including outlined or transparent nodes. It uses the explicit border color or theme accent. Reduced-motion preferences pause the movement; graphs over 200 nodes suppress the trace in performance mode. `readOnly` prevents editing/toggling but still renders configured animation; `selectionToolbar.hide: ["animation"]` hides the toggle.
1077
1084