@uipath/apollo-react 3.60.2 → 3.60.3

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.
@@ -420,10 +420,14 @@ const StageNodeComponent = (props)=>{
420
420
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Row, {
421
421
  gap: apollo_core_namespaceObject.Spacing.SpacingMicro,
422
422
  align: "center",
423
+ flex: 1,
424
+ minW: 0,
423
425
  children: [
424
426
  icon,
425
427
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsxs)(index_cjs_namespaceObject.Column, {
426
428
  py: 2,
429
+ flex: 1,
430
+ minW: 0,
427
431
  children: [
428
432
  /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_material_index_cjs_namespaceObject.ApTypography, {
429
433
  variant: isStageTitleEditing ? apollo_core_namespaceObject.FontVariantToken.fontSizeM : apollo_core_namespaceObject.FontVariantToken.fontSizeMBold,
@@ -392,10 +392,14 @@ const StageNodeComponent = (props)=>{
392
392
  /*#__PURE__*/ jsxs(Row, {
393
393
  gap: Spacing.SpacingMicro,
394
394
  align: "center",
395
+ flex: 1,
396
+ minW: 0,
395
397
  children: [
396
398
  icon,
397
399
  /*#__PURE__*/ jsxs(Column, {
398
400
  py: 2,
401
+ flex: 1,
402
+ minW: 0,
399
403
  children: [
400
404
  /*#__PURE__*/ jsx(ApTypography, {
401
405
  variant: isStageTitleEditing ? FontVariantToken.fontSizeM : FontVariantToken.fontSizeMBold,
@@ -29,6 +29,7 @@ __webpack_require__.d(__webpack_exports__, {
29
29
  LoanProcessingWorkflow: ()=>LoanProcessingWorkflow,
30
30
  InteractiveTaskManagement: ()=>InteractiveTaskManagement,
31
31
  AddTaskLoading: ()=>AddTaskLoading,
32
+ EditableStageTitle: ()=>EditableStageTitle,
32
33
  WithTaskIcons: ()=>WithTaskIcons,
33
34
  Default: ()=>Default,
34
35
  ExecutionStatus: ()=>ExecutionStatus,
@@ -1738,6 +1739,155 @@ const AddAndReplaceTasks = {
1738
1739
  render: ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(AddAndReplaceTasksStory, {}),
1739
1740
  args: {}
1740
1741
  };
1742
+ const InlineTitleEditStory = ()=>{
1743
+ const StageNodeWrapper = (0, external_react_namespaceObject.useMemo)(()=>function(props) {
1744
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_StageNode_cjs_namespaceObject.StageNode, {
1745
+ ...props,
1746
+ ...props.data
1747
+ });
1748
+ }, []);
1749
+ const nodeTypes = (0, external_react_namespaceObject.useMemo)(()=>({
1750
+ stage: StageNodeWrapper
1751
+ }), [
1752
+ StageNodeWrapper
1753
+ ]);
1754
+ const edgeTypes = (0, external_react_namespaceObject.useMemo)(()=>({
1755
+ stage: external_StageEdge_cjs_namespaceObject.StageEdge
1756
+ }), []);
1757
+ const initialNodes = (0, external_react_namespaceObject.useMemo)(()=>[
1758
+ {
1759
+ id: 'editable-stage',
1760
+ type: 'stage',
1761
+ position: {
1762
+ x: 48,
1763
+ y: 96
1764
+ },
1765
+ width: 304,
1766
+ data: {
1767
+ stageDetails: {
1768
+ label: 'Click to Edit Title',
1769
+ tasks: [
1770
+ [
1771
+ {
1772
+ id: '1',
1773
+ label: 'KYC Verification',
1774
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(VerificationIcon, {})
1775
+ }
1776
+ ],
1777
+ [
1778
+ {
1779
+ id: '2',
1780
+ label: 'Document Review',
1781
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(DocumentIcon, {})
1782
+ }
1783
+ ]
1784
+ ]
1785
+ },
1786
+ onTaskAdd: ()=>{
1787
+ window.alert('Add task functionality - this would open a dialog to add a new task');
1788
+ }
1789
+ }
1790
+ },
1791
+ {
1792
+ id: 'long-title-stage',
1793
+ type: 'stage',
1794
+ position: {
1795
+ x: 400,
1796
+ y: 96
1797
+ },
1798
+ width: 304,
1799
+ data: {
1800
+ stageDetails: {
1801
+ label: 'A Very Long Stage Title That Should Truncate With Ellipsis',
1802
+ tasks: [
1803
+ [
1804
+ {
1805
+ id: '1',
1806
+ label: 'Processing Task',
1807
+ icon: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ProcessIcon, {})
1808
+ }
1809
+ ]
1810
+ ]
1811
+ },
1812
+ onTaskAdd: ()=>{
1813
+ window.alert('Add task functionality - this would open a dialog to add a new task');
1814
+ }
1815
+ }
1816
+ }
1817
+ ], []);
1818
+ const [nodes, setNodes, onNodesChange] = (0, react_cjs_namespaceObject.useNodesState)(initialNodes);
1819
+ const [edges, setEdges, onEdgesChange] = (0, react_cjs_namespaceObject.useEdgesState)([]);
1820
+ const createTitleChangeHandler = (0, external_react_namespaceObject.useCallback)((nodeId)=>(newTitle)=>{
1821
+ setNodes((nds)=>nds.map((node)=>node.id === nodeId ? {
1822
+ ...node,
1823
+ data: {
1824
+ ...node.data,
1825
+ stageDetails: {
1826
+ ...node.data.stageDetails,
1827
+ label: newTitle
1828
+ }
1829
+ }
1830
+ } : node));
1831
+ }, [
1832
+ setNodes
1833
+ ]);
1834
+ const nodesWithHandlers = (0, external_react_namespaceObject.useMemo)(()=>nodes.map((node)=>({
1835
+ ...node,
1836
+ data: {
1837
+ ...node.data,
1838
+ onStageTitleChange: createTitleChangeHandler(node.id)
1839
+ }
1840
+ })), [
1841
+ nodes,
1842
+ createTitleChangeHandler
1843
+ ]);
1844
+ const onConnect = (0, external_react_namespaceObject.useCallback)((connection)=>setEdges((eds)=>(0, react_cjs_namespaceObject.addEdge)(connection, eds)), [
1845
+ setEdges
1846
+ ]);
1847
+ return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
1848
+ style: {
1849
+ width: '100vw',
1850
+ height: '100vh'
1851
+ },
1852
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_cjs_namespaceObject.ReactFlowProvider, {
1853
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_BaseCanvas_index_cjs_namespaceObject.BaseCanvas, {
1854
+ nodes: nodesWithHandlers,
1855
+ edges: edges,
1856
+ onNodesChange: onNodesChange,
1857
+ onEdgesChange: onEdgesChange,
1858
+ onConnect: onConnect,
1859
+ nodeTypes: nodeTypes,
1860
+ edgeTypes: edgeTypes,
1861
+ mode: "design",
1862
+ connectionMode: react_cjs_namespaceObject.ConnectionMode.Strict,
1863
+ defaultEdgeOptions: {
1864
+ type: 'stage'
1865
+ },
1866
+ connectionLineComponent: external_StageConnectionEdge_cjs_namespaceObject.StageConnectionEdge,
1867
+ elevateEdgesOnSelect: true,
1868
+ defaultViewport: {
1869
+ x: 0,
1870
+ y: 0,
1871
+ zoom: 1.5
1872
+ },
1873
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(react_cjs_namespaceObject.Panel, {
1874
+ position: "bottom-right",
1875
+ children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasPositionControls_cjs_namespaceObject.CanvasPositionControls, {
1876
+ translations: external_types_cjs_namespaceObject.DefaultCanvasTranslations
1877
+ })
1878
+ })
1879
+ })
1880
+ })
1881
+ });
1882
+ };
1883
+ const EditableStageTitle = {
1884
+ name: 'Editable Stage Title',
1885
+ parameters: {
1886
+ useCustomRender: true
1887
+ },
1888
+ render: ()=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(InlineTitleEditStory, {}),
1889
+ args: {}
1890
+ };
1741
1891
  const fetchChildren = (id)=>new Promise((resolve)=>{
1742
1892
  setTimeout(()=>{
1743
1893
  resolve([
@@ -1929,6 +2079,7 @@ exports.AddAndReplaceTasks = __webpack_exports__.AddAndReplaceTasks;
1929
2079
  exports.AddTaskLoading = __webpack_exports__.AddTaskLoading;
1930
2080
  exports.Default = __webpack_exports__.Default;
1931
2081
  exports.DraggableTaskReordering = __webpack_exports__.DraggableTaskReordering;
2082
+ exports.EditableStageTitle = __webpack_exports__.EditableStageTitle;
1932
2083
  exports.ExecutionStatus = __webpack_exports__.ExecutionStatus;
1933
2084
  exports.InteractiveTaskManagement = __webpack_exports__.InteractiveTaskManagement;
1934
2085
  exports.LoanProcessingWorkflow = __webpack_exports__.LoanProcessingWorkflow;
@@ -1939,6 +2090,7 @@ for(var __rspack_i in __webpack_exports__)if (-1 === [
1939
2090
  "AddTaskLoading",
1940
2091
  "Default",
1941
2092
  "DraggableTaskReordering",
2093
+ "EditableStageTitle",
1942
2094
  "ExecutionStatus",
1943
2095
  "InteractiveTaskManagement",
1944
2096
  "LoanProcessingWorkflow",
@@ -10,5 +10,6 @@ export declare const InteractiveTaskManagement: Story;
10
10
  export declare const LoanProcessingWorkflow: Story;
11
11
  export declare const DraggableTaskReordering: Story;
12
12
  export declare const AddAndReplaceTasks: Story;
13
+ export declare const EditableStageTitle: Story;
13
14
  export declare const AddTaskLoading: Story;
14
15
  //# sourceMappingURL=StageNode.stories.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAyBvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA0FD,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA4CnC,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8M7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KA+HvC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAoKpC,CAAC;AA8GF,eAAO,MAAM,uBAAuB,EAAE,KAOrC,CAAC;AAkVF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AAiJF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC"}
1
+ {"version":3,"file":"StageNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAyBvD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAGxC,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,OAAO,SAAS,CA0FD,CAAC;AAEjC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AA4CnC,eAAO,MAAM,OAAO,EAAE,KAoHrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAsE3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KA8M7B,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,KA+HvC,CAAC;AAEF,eAAO,MAAM,sBAAsB,EAAE,KAoKpC,CAAC;AA8GF,eAAO,MAAM,uBAAuB,EAAE,KAOrC,CAAC;AAkVF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AA2HF,eAAO,MAAM,kBAAkB,EAAE,KAOhC,CAAC;AAiJF,eAAO,MAAM,cAAc,EAAE,KAO5B,CAAC"}
@@ -1702,6 +1702,155 @@ const AddAndReplaceTasks = {
1702
1702
  render: ()=>/*#__PURE__*/ jsx(AddAndReplaceTasksStory, {}),
1703
1703
  args: {}
1704
1704
  };
1705
+ const InlineTitleEditStory = ()=>{
1706
+ const StageNodeWrapper = useMemo(()=>function(props) {
1707
+ return /*#__PURE__*/ jsx(StageNode, {
1708
+ ...props,
1709
+ ...props.data
1710
+ });
1711
+ }, []);
1712
+ const nodeTypes = useMemo(()=>({
1713
+ stage: StageNodeWrapper
1714
+ }), [
1715
+ StageNodeWrapper
1716
+ ]);
1717
+ const edgeTypes = useMemo(()=>({
1718
+ stage: StageEdge
1719
+ }), []);
1720
+ const initialNodes = useMemo(()=>[
1721
+ {
1722
+ id: 'editable-stage',
1723
+ type: 'stage',
1724
+ position: {
1725
+ x: 48,
1726
+ y: 96
1727
+ },
1728
+ width: 304,
1729
+ data: {
1730
+ stageDetails: {
1731
+ label: 'Click to Edit Title',
1732
+ tasks: [
1733
+ [
1734
+ {
1735
+ id: '1',
1736
+ label: 'KYC Verification',
1737
+ icon: /*#__PURE__*/ jsx(VerificationIcon, {})
1738
+ }
1739
+ ],
1740
+ [
1741
+ {
1742
+ id: '2',
1743
+ label: 'Document Review',
1744
+ icon: /*#__PURE__*/ jsx(DocumentIcon, {})
1745
+ }
1746
+ ]
1747
+ ]
1748
+ },
1749
+ onTaskAdd: ()=>{
1750
+ window.alert('Add task functionality - this would open a dialog to add a new task');
1751
+ }
1752
+ }
1753
+ },
1754
+ {
1755
+ id: 'long-title-stage',
1756
+ type: 'stage',
1757
+ position: {
1758
+ x: 400,
1759
+ y: 96
1760
+ },
1761
+ width: 304,
1762
+ data: {
1763
+ stageDetails: {
1764
+ label: 'A Very Long Stage Title That Should Truncate With Ellipsis',
1765
+ tasks: [
1766
+ [
1767
+ {
1768
+ id: '1',
1769
+ label: 'Processing Task',
1770
+ icon: /*#__PURE__*/ jsx(ProcessIcon, {})
1771
+ }
1772
+ ]
1773
+ ]
1774
+ },
1775
+ onTaskAdd: ()=>{
1776
+ window.alert('Add task functionality - this would open a dialog to add a new task');
1777
+ }
1778
+ }
1779
+ }
1780
+ ], []);
1781
+ const [nodes, setNodes, onNodesChange] = useNodesState(initialNodes);
1782
+ const [edges, setEdges, onEdgesChange] = useEdgesState([]);
1783
+ const createTitleChangeHandler = useCallback((nodeId)=>(newTitle)=>{
1784
+ setNodes((nds)=>nds.map((node)=>node.id === nodeId ? {
1785
+ ...node,
1786
+ data: {
1787
+ ...node.data,
1788
+ stageDetails: {
1789
+ ...node.data.stageDetails,
1790
+ label: newTitle
1791
+ }
1792
+ }
1793
+ } : node));
1794
+ }, [
1795
+ setNodes
1796
+ ]);
1797
+ const nodesWithHandlers = useMemo(()=>nodes.map((node)=>({
1798
+ ...node,
1799
+ data: {
1800
+ ...node.data,
1801
+ onStageTitleChange: createTitleChangeHandler(node.id)
1802
+ }
1803
+ })), [
1804
+ nodes,
1805
+ createTitleChangeHandler
1806
+ ]);
1807
+ const onConnect = useCallback((connection)=>setEdges((eds)=>addEdge(connection, eds)), [
1808
+ setEdges
1809
+ ]);
1810
+ return /*#__PURE__*/ jsx("div", {
1811
+ style: {
1812
+ width: '100vw',
1813
+ height: '100vh'
1814
+ },
1815
+ children: /*#__PURE__*/ jsx(ReactFlowProvider, {
1816
+ children: /*#__PURE__*/ jsx(BaseCanvas, {
1817
+ nodes: nodesWithHandlers,
1818
+ edges: edges,
1819
+ onNodesChange: onNodesChange,
1820
+ onEdgesChange: onEdgesChange,
1821
+ onConnect: onConnect,
1822
+ nodeTypes: nodeTypes,
1823
+ edgeTypes: edgeTypes,
1824
+ mode: "design",
1825
+ connectionMode: ConnectionMode.Strict,
1826
+ defaultEdgeOptions: {
1827
+ type: 'stage'
1828
+ },
1829
+ connectionLineComponent: StageConnectionEdge,
1830
+ elevateEdgesOnSelect: true,
1831
+ defaultViewport: {
1832
+ x: 0,
1833
+ y: 0,
1834
+ zoom: 1.5
1835
+ },
1836
+ children: /*#__PURE__*/ jsx(Panel, {
1837
+ position: "bottom-right",
1838
+ children: /*#__PURE__*/ jsx(CanvasPositionControls, {
1839
+ translations: DefaultCanvasTranslations
1840
+ })
1841
+ })
1842
+ })
1843
+ })
1844
+ });
1845
+ };
1846
+ const EditableStageTitle = {
1847
+ name: 'Editable Stage Title',
1848
+ parameters: {
1849
+ useCustomRender: true
1850
+ },
1851
+ render: ()=>/*#__PURE__*/ jsx(InlineTitleEditStory, {}),
1852
+ args: {}
1853
+ };
1705
1854
  const fetchChildren = (id)=>new Promise((resolve)=>{
1706
1855
  setTimeout(()=>{
1707
1856
  resolve([
@@ -1889,4 +2038,4 @@ const AddTaskLoading = {
1889
2038
  render: ()=>/*#__PURE__*/ jsx(AddTaskLoadingStory, {}),
1890
2039
  args: {}
1891
2040
  };
1892
- export { AddAndReplaceTasks, AddTaskLoading, Default, DraggableTaskReordering, ExecutionStatus, InteractiveTaskManagement, LoanProcessingWorkflow, WithTaskIcons, StageNode_stories as default };
2041
+ export { AddAndReplaceTasks, AddTaskLoading, Default, DraggableTaskReordering, EditableStageTitle, ExecutionStatus, InteractiveTaskManagement, LoanProcessingWorkflow, WithTaskIcons, StageNode_stories as default };
@@ -112,9 +112,11 @@ const StageHeader = styled_default().div`
112
112
  overflow: hidden;
113
113
  `;
114
114
  const StageTitleContainer = styled_default().div`
115
- display: inline-block;
115
+ display: block;
116
116
  border-radius: 4px;
117
117
  height: 100%;
118
+ width: 100%;
119
+ box-sizing: border-box;
118
120
  border: ${(props)=>props.isEditing ? '1px solid var(--uix-canvas-border-de-emp)' : 'none'};
119
121
  `;
120
122
  const StageTitleInput = styled_default().input`
@@ -126,9 +128,9 @@ const StageTitleInput = styled_default().input`
126
128
  background: transparent;
127
129
  text-overflow: ellipsis;
128
130
  border-radius: 2px;
131
+ width: 100%;
129
132
  min-width: 100px;
130
- max-width: 220px;
131
- padding: ${(props)=>props.isStageTitleEditable ? 'none' : `${apollo_core_namespaceObject.Padding.PadS} 0px`};
133
+ padding: ${(props)=>props.isStageTitleEditable ? '0' : `${apollo_core_namespaceObject.Padding.PadS} 0px`};
132
134
 
133
135
  &:focus {
134
136
  outline: none;
@@ -1 +1 @@
1
- {"version":3,"file":"StageNode.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,mBAAmB,QAAuD,CAAC;AAExF,eAAO,MAAM,cAAc;;;;eACd,OAAO;aACT,WAAW;YACZ,MAAM;yGAqDf,CAAC;AAEF,eAAO,MAAM,WAAW;;;;kBAA8B,OAAO;yGAS5D,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;gBAA4B,OAAO;yGAKlE,CAAC;AAEF,eAAO,MAAM,eAAe;;;;gBACd,OAAO;2BACI,OAAO;YACtB,MAAM;kHAsBf,CAAC;AAEF,eAAO,MAAM,YAAY;;;yGAQxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAKzB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;iBAA6B,OAAO;yGAM9D,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;yGAMhC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;iBAA6B,OAAO;yGAKhE,CAAC;AAEF,eAAO,MAAM,SAAS;;;;aACX,WAAW;eACT,OAAO;iBACL,OAAO;oBACJ,OAAO;yGA6DxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAYzB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;aAAyB,SAAS,GAAG,MAAM,GAAG,OAAO;yGAoBvF,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;yGAG3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;uBAAmC,OAAO;yGAW9E,CAAC"}
1
+ {"version":3,"file":"StageNode.styles.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/StageNode/StageNode.styles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,uBAAuB,KAAK,CAAC;AAC1C,eAAO,MAAM,kBAAkB,IAAI,CAAC;AACpC,eAAO,MAAM,mBAAmB,QAAuD,CAAC;AAExF,eAAO,MAAM,cAAc;;;;eACd,OAAO;aACT,WAAW;YACZ,MAAM;yGAqDf,CAAC;AAEF,eAAO,MAAM,WAAW;;;;kBAA8B,OAAO;yGAS5D,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;gBAA4B,OAAO;yGAOlE,CAAC;AAEF,eAAO,MAAM,eAAe;;;;gBACd,OAAO;2BACI,OAAO;YACtB,MAAM;kHAsBf,CAAC;AAEF,eAAO,MAAM,YAAY;;;yGAQxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAKzB,CAAC;AAEF,eAAO,MAAM,cAAc;;;;iBAA6B,OAAO;yGAM9D,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;yGAa9B,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;yGAMhC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;iBAA6B,OAAO;yGAKhE,CAAC;AAEF,eAAO,MAAM,SAAS;;;;aACX,WAAW;eACT,OAAO;iBACL,OAAO;oBACJ,OAAO;yGA6DxB,CAAC;AAEF,eAAO,MAAM,aAAa;;;yGAYzB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;aAAyB,SAAS,GAAG,MAAM,GAAG,OAAO;yGAoBvF,CAAC;AAEF,eAAO,MAAM,+BAA+B;;;yGAG3C,CAAC;AAEF,eAAO,MAAM,wBAAwB;;;;uBAAmC,OAAO;yGAW9E,CAAC"}
@@ -56,9 +56,11 @@ const StageHeader = styled.div`
56
56
  overflow: hidden;
57
57
  `;
58
58
  const StageTitleContainer = styled.div`
59
- display: inline-block;
59
+ display: block;
60
60
  border-radius: 4px;
61
61
  height: 100%;
62
+ width: 100%;
63
+ box-sizing: border-box;
62
64
  border: ${(props)=>props.isEditing ? '1px solid var(--uix-canvas-border-de-emp)' : 'none'};
63
65
  `;
64
66
  const StageTitleInput = styled.input`
@@ -70,9 +72,9 @@ const StageTitleInput = styled.input`
70
72
  background: transparent;
71
73
  text-overflow: ellipsis;
72
74
  border-radius: 2px;
75
+ width: 100%;
73
76
  min-width: 100px;
74
- max-width: 220px;
75
- padding: ${(props)=>props.isStageTitleEditable ? 'none' : `${Padding.PadS} 0px`};
77
+ padding: ${(props)=>props.isStageTitleEditable ? '0' : `${Padding.PadS} 0px`};
76
78
 
77
79
  &:focus {
78
80
  outline: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.60.2",
3
+ "version": "3.60.3",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",