@particle-academy/fancy-flow 0.74.0 → 0.74.1
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/{chunk-XV5L4JQH.js → chunk-2GU3V2ZD.js} +8 -7
- package/dist/chunk-2GU3V2ZD.js.map +1 -0
- package/dist/index.cjs +6 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/screens.cjs +6 -5
- package/dist/screens.cjs.map +1 -1
- package/dist/screens.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-XV5L4JQH.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { removeNodes, removeEdges, cloneSubgraph, alignNodes, distributeNodes, reconnectEdge, assignToLane, removeFromLane, duplicateNode, setEdgeLabel, FlowCanvas } from './chunk-
|
|
2
|
-
export { ActionNode, DecisionNode, FlowCanvas, FlowViewer, NodeShell, OutputNode, SubgraphNode, TriggerNode, alignNodes, cloneSubgraph, defaultNodeTypes, distributeNodes, reconnectEdge } from './chunk-
|
|
1
|
+
import { removeNodes, removeEdges, cloneSubgraph, alignNodes, distributeNodes, reconnectEdge, assignToLane, removeFromLane, duplicateNode, setEdgeLabel, FlowCanvas } from './chunk-2GU3V2ZD.js';
|
|
2
|
+
export { ActionNode, DecisionNode, FlowCanvas, FlowViewer, NodeShell, OutputNode, SubgraphNode, TriggerNode, alignNodes, cloneSubgraph, defaultNodeTypes, distributeNodes, reconnectEdge } from './chunk-2GU3V2ZD.js';
|
|
3
3
|
import { useFlowState, useFlowRun, useFlowHistory, applyOutputsToNodes, applyStatusesToNodes } from './chunk-GQ5LEA7Q.js';
|
|
4
4
|
export { applyOutputsToNodes, applyStatusesToNodes, createHistory, useFlowHistory, useFlowRun, useFlowState } from './chunk-GQ5LEA7Q.js';
|
|
5
5
|
export { runCohort } from './chunk-K7KO3UJ3.js';
|
package/dist/screens.cjs
CHANGED
|
@@ -11972,14 +11972,15 @@ function useResolvedColorMode(explicit) {
|
|
|
11972
11972
|
}, [pinned]);
|
|
11973
11973
|
return pinned ?? resolved;
|
|
11974
11974
|
}
|
|
11975
|
-
function
|
|
11976
|
-
if (event.shiftKey) event.
|
|
11975
|
+
function keepBareWheelFromZooming(event) {
|
|
11976
|
+
if (!event.shiftKey) event.stopPropagation();
|
|
11977
11977
|
}
|
|
11978
11978
|
function wheelZoomProps(zoomOnWheel) {
|
|
11979
|
-
return zoomOnWheel ? { zoomActivationKeyCode: null, preventScrolling: true } : {
|
|
11979
|
+
return zoomOnWheel ? { zoomOnScroll: true, zoomActivationKeyCode: null, preventScrolling: true } : {
|
|
11980
|
+
zoomOnScroll: false,
|
|
11980
11981
|
zoomActivationKeyCode: "Shift",
|
|
11981
|
-
preventScrolling:
|
|
11982
|
-
onWheelCapture:
|
|
11982
|
+
preventScrolling: true,
|
|
11983
|
+
onWheelCapture: keepBareWheelFromZooming
|
|
11983
11984
|
};
|
|
11984
11985
|
}
|
|
11985
11986
|
var DEFAULT_FIT_VIEW = { padding: 0.2 };
|