@almadar/ui 2.41.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.
- package/dist/avl/index.cjs +608 -109
- package/dist/avl/index.d.cts +13 -0
- package/dist/avl/index.js +610 -111
- package/dist/components/index.cjs +350 -47
- package/dist/components/index.js +349 -49
- package/dist/components/molecules/markdown/CodeBlock.d.ts +2 -0
- package/dist/components/organisms/UISlotRenderer.d.ts +3 -1
- package/dist/components/organisms/avl/FlowCanvas.d.ts +14 -1
- package/dist/hooks/index.cjs +95 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +93 -1
- package/dist/hooks/useDraggable.d.ts +24 -0
- package/dist/hooks/useDropZone.d.ts +23 -0
- package/dist/providers/EntityStoreProvider.d.ts +28 -14
- package/dist/providers/index.cjs +265 -50
- package/dist/providers/index.d.ts +1 -1
- package/dist/providers/index.js +266 -52
- package/dist/runtime/index.cjs +271 -63
- package/dist/runtime/index.js +272 -64
- package/package.json +1 -1
package/dist/avl/index.d.cts
CHANGED
|
@@ -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. */
|