@uipath/apollo-react 3.33.1 → 3.33.2-pr230.3e2e8be

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/index.ts"],"names":[],"mappings":"AAEA,YAAY,EACV,qBAAqB,EACrB,UAAU,EACV,sBAAsB,EACtB,eAAe,GAChB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5F,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/canvas/schema/node-instance/index.ts"],"names":[],"mappings":"AACA,YAAY,EACV,qBAAqB,EACrB,UAAU,EACV,sBAAsB,EACtB,eAAe,GAChB,MAAM,QAAQ,CAAC;AAEhB,OAAO,EAAE,mBAAmB,EAAE,QAAQ,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAC5F,YAAY,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,YAAY,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
@@ -65,6 +65,9 @@ function resolveHandles(handleGroups, context) {
65
65
  const isCollapsed = context?.isCollapsed ?? false;
66
66
  return handleGroups.map((group)=>{
67
67
  const handles = group.handles.flatMap((handle)=>{
68
+ const isArtifactHandle = 'artifact' === handle.handleType;
69
+ const baseVisible = resolveVisibility(handle.visible, context);
70
+ const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
68
71
  if (handle.repeat) {
69
72
  const array = getPropertyByPath(context.inputs || {}, handle.repeat);
70
73
  if (!Array.isArray(array)) {
@@ -78,9 +81,6 @@ function resolveHandles(handleGroups, context) {
78
81
  [itemVar]: item,
79
82
  [indexVar]: index
80
83
  };
81
- const baseVisible = resolveVisibility(handle.visible, context);
82
- const isArtifactHandle = 'artifact' === handle.handleType;
83
- const visible = context.isCollapsed && isArtifactHandle ? false : baseVisible;
84
84
  return {
85
85
  ...handle,
86
86
  id: replaceTemplateVars(handle.id, vars),
@@ -92,16 +92,16 @@ function resolveHandles(handleGroups, context) {
92
92
  };
93
93
  });
94
94
  }
95
- const baseVisible = resolveVisibility(handle.visible, context);
96
- const isArtifactHandle = 'artifact' === handle.handleType;
97
- const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
98
95
  return {
99
96
  ...handle,
100
97
  visible
101
98
  };
102
99
  });
100
+ const baseVisible = group.visible;
101
+ const visible = isCollapsed && !handles.some((h)=>h.visible) ? false : baseVisible;
103
102
  return {
104
103
  ...group,
104
+ visible,
105
105
  handles
106
106
  };
107
107
  });
@@ -34,6 +34,9 @@ function resolveHandles(handleGroups, context) {
34
34
  const isCollapsed = context?.isCollapsed ?? false;
35
35
  return handleGroups.map((group)=>{
36
36
  const handles = group.handles.flatMap((handle)=>{
37
+ const isArtifactHandle = 'artifact' === handle.handleType;
38
+ const baseVisible = resolveVisibility(handle.visible, context);
39
+ const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
37
40
  if (handle.repeat) {
38
41
  const array = getPropertyByPath(context.inputs || {}, handle.repeat);
39
42
  if (!Array.isArray(array)) {
@@ -47,9 +50,6 @@ function resolveHandles(handleGroups, context) {
47
50
  [itemVar]: item,
48
51
  [indexVar]: index
49
52
  };
50
- const baseVisible = resolveVisibility(handle.visible, context);
51
- const isArtifactHandle = 'artifact' === handle.handleType;
52
- const visible = context.isCollapsed && isArtifactHandle ? false : baseVisible;
53
53
  return {
54
54
  ...handle,
55
55
  id: replaceTemplateVars(handle.id, vars),
@@ -61,16 +61,16 @@ function resolveHandles(handleGroups, context) {
61
61
  };
62
62
  });
63
63
  }
64
- const baseVisible = resolveVisibility(handle.visible, context);
65
- const isArtifactHandle = 'artifact' === handle.handleType;
66
- const visible = isCollapsed && isArtifactHandle ? false : baseVisible;
67
64
  return {
68
65
  ...handle,
69
66
  visible
70
67
  };
71
68
  });
69
+ const baseVisible = group.visible;
70
+ const visible = isCollapsed && !handles.some((h)=>h.visible) ? false : baseVisible;
72
71
  return {
73
72
  ...group,
73
+ visible,
74
74
  handles
75
75
  };
76
76
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.33.1",
3
+ "version": "3.33.2-pr230.3e2e8be",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -159,16 +159,16 @@
159
159
  "@mui/system": "^5.18.0",
160
160
  "@mui/x-date-pickers": "^6.20.2",
161
161
  "@mui/x-tree-view": "^8.21.0",
162
- "@tiptap/core": "^3.17.1",
163
- "@tiptap/extension-document": "^3.17.1",
164
- "@tiptap/extension-hard-break": "^3.17.1",
165
- "@tiptap/extension-mention": "^3.17.1",
166
- "@tiptap/extension-paragraph": "^3.17.1",
167
- "@tiptap/extension-text": "^3.17.1",
168
- "@tiptap/extensions": "^3.17.1",
169
- "@tiptap/pm": "^3.17.1",
170
- "@tiptap/react": "^3.17.1",
171
- "@tiptap/suggestion": "^3.17.1",
162
+ "@tiptap/core": "^3.19.0",
163
+ "@tiptap/extension-document": "^3.19.0",
164
+ "@tiptap/extension-hard-break": "^3.19.0",
165
+ "@tiptap/extension-mention": "^3.19.0",
166
+ "@tiptap/extension-paragraph": "^3.19.0",
167
+ "@tiptap/extension-text": "^3.19.0",
168
+ "@tiptap/extensions": "^3.19.0",
169
+ "@tiptap/pm": "^3.19.0",
170
+ "@tiptap/react": "^3.19.0",
171
+ "@tiptap/suggestion": "^3.19.0",
172
172
  "@xyflow/react": "12.8.2",
173
173
  "@xyflow/system": "0.0.66",
174
174
  "d3-hierarchy": "^3.1.2",