flow-lib-creomnia 1.0.9-dev.1 → 1.0.9

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.
@@ -43,7 +43,7 @@ const FlowSandbox = ({ nodeDrawers, connectionDrawers, containerRef, permissions
43
43
  top: nodeDrawer.renderPoint.y,
44
44
  left: nodeDrawer.renderPoint.x - minWidth,
45
45
  }, children: (0, jsx_runtime_1.jsx)(Node, { nodeData: nodeDrawer.nodeData, renderPoint: nodeDrawer.renderPoint, id: nodeDrawer.id, type: nodeDrawer.type, isProcessed: processedNodeIds?.includes(nodeDrawer.nodeData?.id), isFailed: failedNodeId === nodeDrawer.nodeData?.id, failedNodeColor: failedNodeColor, onRedirect: onRedirect, onUpdatePosition: onUpdateNodePosition }) }, nodeDrawer.id));
46
- }), [minWidth, nodeDrawers, processedNodeIds, failedNodeId, failedNodeColor]);
46
+ }), [minWidth, nodeDrawers]);
47
47
  const FlowContainer = (0, react_1.useMemo)(() => (0, styled_1.createFlowContainer)({
48
48
  scaleValue: 1,
49
49
  width: maxWidth - minWidth,
@@ -31,7 +31,7 @@ const BaseNode = ({ nodeData, isProcessed, isFailed, failedNodeColor, onRedirect
31
31
  const props = (0, web_1.useSpring)({
32
32
  borderColor: color,
33
33
  config: {
34
- duration: 150
34
+ duration: isLongAction ? 1000 : 150
35
35
  },
36
36
  });
37
37
  const onNodeClick = () => {
@@ -35,7 +35,7 @@ const ChoiceNode = ({ nodeData, isProcessed, isFailed, failedNodeColor }) => {
35
35
  strokeWidth: 2,
36
36
  strokeLinecap: 'round',
37
37
  config: {
38
- duration: 150
38
+ duration: isLongAction ? 1000 : 150
39
39
  },
40
40
  });
41
41
  const ChoiceNodeImg = (0, react_1.useMemo)(() => (0, styled_1.createChoiceNodeImg)(), [color, node?.id, nodeData?.id]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flow-lib-creomnia",
3
- "version": "1.0.9-dev.1",
3
+ "version": "1.0.9",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",