@uipath/apollo-react 3.56.0-pr364.4a7a5a0 → 3.56.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.
|
@@ -237,10 +237,6 @@ const StageNodeComponent = (props)=>{
|
|
|
237
237
|
}, [
|
|
238
238
|
onStageClick
|
|
239
239
|
]);
|
|
240
|
-
const handleKeyDown = (0, external_react_namespaceObject.useCallback)((e)=>{
|
|
241
|
-
const target = e.target;
|
|
242
|
-
if ((target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target.isContentEditable) && 'Escape' !== e.key) e.stopPropagation();
|
|
243
|
-
}, []);
|
|
244
240
|
const handleTaskClick = (0, external_react_namespaceObject.useCallback)((e, taskElementId)=>{
|
|
245
241
|
e.stopPropagation();
|
|
246
242
|
onTaskClick?.(taskElementId);
|
|
@@ -408,7 +404,6 @@ const StageNodeComponent = (props)=>{
|
|
|
408
404
|
position: 'relative'
|
|
409
405
|
},
|
|
410
406
|
onClick: handleStageClick,
|
|
411
|
-
onKeyDown: handleKeyDown,
|
|
412
407
|
onMouseEnter: handleMouseEnter,
|
|
413
408
|
onMouseLeave: handleMouseLeave,
|
|
414
409
|
children: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"StageNode.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.tsx"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AA8oBxD,eAAO,MAAM,SAAS,8CApoBa,cAAc,6CAooBA,CAAC"}
|
|
@@ -209,10 +209,6 @@ const StageNodeComponent = (props)=>{
|
|
|
209
209
|
}, [
|
|
210
210
|
onStageClick
|
|
211
211
|
]);
|
|
212
|
-
const handleKeyDown = useCallback((e)=>{
|
|
213
|
-
const target = e.target;
|
|
214
|
-
if ((target instanceof HTMLInputElement || target instanceof HTMLTextAreaElement || target.isContentEditable) && 'Escape' !== e.key) e.stopPropagation();
|
|
215
|
-
}, []);
|
|
216
212
|
const handleTaskClick = useCallback((e, taskElementId)=>{
|
|
217
213
|
e.stopPropagation();
|
|
218
214
|
onTaskClick?.(taskElementId);
|
|
@@ -380,7 +376,6 @@ const StageNodeComponent = (props)=>{
|
|
|
380
376
|
position: 'relative'
|
|
381
377
|
},
|
|
382
378
|
onClick: handleStageClick,
|
|
383
|
-
onKeyDown: handleKeyDown,
|
|
384
379
|
onMouseEnter: handleMouseEnter,
|
|
385
380
|
onMouseLeave: handleMouseLeave,
|
|
386
381
|
children: [
|