@almadar/ui 2.42.0 → 2.45.0

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.
@@ -1036,10 +1036,27 @@ interface FlowCanvasProps {
1036
1036
  }) => void;
1037
1037
  onLevelChange?: (level: ViewLevel, orbital?: string) => void;
1038
1038
  initialOrbital?: string;
1039
+ /** Start at Level 2 (expanded) when initialOrbital is set. Default: 'overview'. */
1040
+ initialLevel?: ViewLevel;
1041
+ /** Pre-select a node on mount (opens OrbInspector). */
1042
+ initialSelectedNode?: PreviewNodeData;
1039
1043
  /** Enable editing in the inspector. When true, fields become inputs. */
1040
1044
  editable?: boolean;
1041
1045
  /** Called when the user edits the schema via the inspector. */
1042
1046
  onSchemaChange?: (schema: OrbitalSchema) => void;
1047
+ /** Called when the user presses Delete/Backspace with a pattern selected. */
1048
+ onPatternDelete?: (context: {
1049
+ patternId: string;
1050
+ nodeData: PreviewNodeData;
1051
+ }) => void;
1052
+ /** Called when the user drags from a source handle to a target handle (event wiring). */
1053
+ onEventWire?: (wire: {
1054
+ eventName: string;
1055
+ sourceOrbital: string;
1056
+ targetOrbital: string;
1057
+ sourceTraitName?: string;
1058
+ targetTraitName?: string;
1059
+ }) => void;
1043
1060
  /** @deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat. */
1044
1061
  onZoomChange?: (level: string, context: Record<string, string | undefined>) => void;
1045
1062
  /** @deprecated Not used in V3. */