@almadar/ui 2.42.0 → 2.43.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.
@@ -1040,6 +1040,19 @@ interface FlowCanvasProps {
1040
1040
  editable?: boolean;
1041
1041
  /** Called when the user edits the schema via the inspector. */
1042
1042
  onSchemaChange?: (schema: OrbitalSchema) => void;
1043
+ /** Called when the user presses Delete/Backspace with a pattern selected. */
1044
+ onPatternDelete?: (context: {
1045
+ patternId: string;
1046
+ nodeData: PreviewNodeData;
1047
+ }) => void;
1048
+ /** Called when the user drags from a source handle to a target handle (event wiring). */
1049
+ onEventWire?: (wire: {
1050
+ eventName: string;
1051
+ sourceOrbital: string;
1052
+ targetOrbital: string;
1053
+ sourceTraitName?: string;
1054
+ targetTraitName?: string;
1055
+ }) => void;
1043
1056
  /** @deprecated Use onNodeClick instead. Kept for AvlCosmicZoom compat. */
1044
1057
  onZoomChange?: (level: string, context: Record<string, string | undefined>) => void;
1045
1058
  /** @deprecated Not used in V3. */