@uipath/apollo-react 7.32.0 → 7.33.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.
@@ -45,10 +45,6 @@ const sizedIcon = (Icon)=>({ w, h, color })=>{
45
45
  });
46
46
  };
47
47
  const iconRegistry = {
48
- agent: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.AgentProject, {
49
- w: w ?? 29,
50
- h: h ?? 28
51
- }),
52
48
  'autonomous-agent': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.AutonomousAgentIcon, {
53
49
  w: w ?? 29,
54
50
  h: h ?? 28
@@ -77,26 +73,6 @@ const iconRegistry = {
77
73
  w: w ?? 29,
78
74
  h: h ?? 28
79
75
  }),
80
- rpa: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.RpaProject, {
81
- w: w ?? 29,
82
- h: h ?? 28
83
- }),
84
- api: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.ApiProject, {
85
- w: w ?? 29,
86
- h: h ?? 28
87
- }),
88
- 'agentic-process': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.BusinessProcessProject, {
89
- w: w ?? 29,
90
- h: h ?? 28
91
- }),
92
- 'flow-project': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.FlowProject, {
93
- w: w ?? 29,
94
- h: h ?? 28
95
- }),
96
- 'case-management': ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.CaseManagementProject, {
97
- w: w ?? 29,
98
- h: h ?? 28
99
- }),
100
76
  decision: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.DecisionIcon, {
101
77
  w: w ?? 24,
102
78
  h: h ?? 24
@@ -117,10 +93,6 @@ const iconRegistry = {
117
93
  w: w ?? 24,
118
94
  h: h ?? 24
119
95
  }),
120
- function: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.FunctionProject, {
121
- w: w ?? 29,
122
- h: h ?? 28
123
- }),
124
96
  mcp: ({ w, h })=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_icons_index_cjs_namespaceObject_0.McpIcon, {
125
97
  w: w ?? 29,
126
98
  h: h ?? 28
@@ -142,7 +114,19 @@ const iconRegistry = {
142
114
  'decision-table': sizedIcon(index_cjs_namespaceObject.ComponentDecisionTable),
143
115
  'decision-table-row': sizedIcon(index_cjs_namespaceObject.ComponentDecisionTableRow),
144
116
  'literal-expression': sizedIcon(index_cjs_namespaceObject.ComponentLiteralExpression),
145
- batch: sizedIcon(index_cjs_namespaceObject.ComponentBatch)
117
+ batch: sizedIcon(index_cjs_namespaceObject.ComponentBatch),
118
+ agent: sizedIcon(index_cjs_namespaceObject.AgentGlyph),
119
+ 'agentic-process': sizedIcon(index_cjs_namespaceObject.MaestroBpmnFlat),
120
+ api: sizedIcon(index_cjs_namespaceObject.APIWorkflowGlyph),
121
+ 'case-management': sizedIcon(index_cjs_namespaceObject.MaestroCaseFlat),
122
+ 'flow-project': sizedIcon(index_cjs_namespaceObject.MaestroFlowFlat),
123
+ function: sizedIcon(index_cjs_namespaceObject.FunctionGlyph),
124
+ maestro: sizedIcon(index_cjs_namespaceObject.Maestro),
125
+ 'maestro-automate': sizedIcon(index_cjs_namespaceObject.MaestroAutomateFlat),
126
+ 'maestro-bpmn': sizedIcon(index_cjs_namespaceObject.MaestroBpmnFlat),
127
+ 'maestro-case': sizedIcon(index_cjs_namespaceObject.MaestroCaseFlat),
128
+ 'maestro-flow': sizedIcon(index_cjs_namespaceObject.MaestroFlowFlat),
129
+ rpa: sizedIcon(index_cjs_namespaceObject.RpaGlyph)
146
130
  };
147
131
  function kebabToPascal(str) {
148
132
  return str.split('-').map((word)=>word.charAt(0).toUpperCase() + word.slice(1)).join('');
@@ -1 +1 @@
1
- {"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/icon-registry.tsx"],"names":[],"mappings":"AASA,OAAO,EAA0C,KAAK,GAAG,EAAiB,MAAM,OAAO,CAAC;AAUxF,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE;IAClC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,KAAK,GAAG,CAAC,OAAO,CAAC;AAgFlB,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CA0CtD;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,eAAO,MAAM,UAAU,uDASrB,CAAC;AAGH,eAAO,MAAM,QAAQ,uDAAa,CAAC"}
1
+ {"version":3,"file":"icon-registry.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/icon-registry.tsx"],"names":[],"mappings":"AASA,OAAO,EAA0C,KAAK,GAAG,EAAiB,MAAM,OAAO,CAAC;AAmBxF,MAAM,MAAM,aAAa,GAAG,CAAC,KAAK,EAAE;IAClC,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,CAAC,CAAC,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,KAAK,GAAG,CAAC,OAAO,CAAC;AAsFlB,wBAAgB,OAAO,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,aAAa,CA0CtD;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAMD,eAAO,MAAM,UAAU,uDASrB,CAAC;AAGH,eAAO,MAAM,QAAQ,uDAAa,CAAC"}
@@ -1,8 +1,8 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
2
  import { icons } from "lucide-react";
3
3
  import { memo, useMemo } from "react";
4
- import { ComponentBatch, ComponentBusinessRule, ComponentDecisionTable, ComponentDecisionTableRow, ComponentLiteralExpression } from "../../icons/index.js";
5
- import { A2aIcon, AgentDiagramIcon, AgentProject, ApiProject, AutonomousAgentIcon, BusinessProcessProject, CaseManagementProject, CodedAgentIcon, ConnectorBuilderProject, ContextIcon, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DecisionIcon, FileSparklesCornerIcon, FlowProject, FunctionProject, LayersArrowUpRightIcon, McpIcon, RpaProject, SwitchIcon, UiPathIcon, WebAppProject } from "../icons/index.js";
4
+ import { APIWorkflowGlyph, AgentGlyph, ComponentBatch, ComponentBusinessRule, ComponentDecisionTable, ComponentDecisionTableRow, ComponentLiteralExpression, FunctionGlyph, Maestro, MaestroAutomateFlat, MaestroBpmnFlat, MaestroCaseFlat, MaestroFlowFlat, RpaGlyph } from "../../icons/index.js";
5
+ import { A2aIcon, AgentDiagramIcon, AutonomousAgentIcon, CodedAgentIcon, ConnectorBuilderProject, ContextIcon, ControlFlowIcon, ConversationalAgentIcon, DataAndTools, DecisionIcon, FileSparklesCornerIcon, LayersArrowUpRightIcon, McpIcon, SwitchIcon, UiPathIcon, WebAppProject } from "../icons/index.js";
6
6
  const sizedIcon = (Icon)=>({ w, h, color })=>{
7
7
  const width = w ?? 24;
8
8
  const height = h ?? 24;
@@ -15,10 +15,6 @@ const sizedIcon = (Icon)=>({ w, h, color })=>{
15
15
  });
16
16
  };
17
17
  const iconRegistry = {
18
- agent: ({ w, h })=>/*#__PURE__*/ jsx(AgentProject, {
19
- w: w ?? 29,
20
- h: h ?? 28
21
- }),
22
18
  'autonomous-agent': ({ w, h })=>/*#__PURE__*/ jsx(AutonomousAgentIcon, {
23
19
  w: w ?? 29,
24
20
  h: h ?? 28
@@ -47,26 +43,6 @@ const iconRegistry = {
47
43
  w: w ?? 29,
48
44
  h: h ?? 28
49
45
  }),
50
- rpa: ({ w, h })=>/*#__PURE__*/ jsx(RpaProject, {
51
- w: w ?? 29,
52
- h: h ?? 28
53
- }),
54
- api: ({ w, h })=>/*#__PURE__*/ jsx(ApiProject, {
55
- w: w ?? 29,
56
- h: h ?? 28
57
- }),
58
- 'agentic-process': ({ w, h })=>/*#__PURE__*/ jsx(BusinessProcessProject, {
59
- w: w ?? 29,
60
- h: h ?? 28
61
- }),
62
- 'flow-project': ({ w, h })=>/*#__PURE__*/ jsx(FlowProject, {
63
- w: w ?? 29,
64
- h: h ?? 28
65
- }),
66
- 'case-management': ({ w, h })=>/*#__PURE__*/ jsx(CaseManagementProject, {
67
- w: w ?? 29,
68
- h: h ?? 28
69
- }),
70
46
  decision: ({ w, h })=>/*#__PURE__*/ jsx(DecisionIcon, {
71
47
  w: w ?? 24,
72
48
  h: h ?? 24
@@ -87,10 +63,6 @@ const iconRegistry = {
87
63
  w: w ?? 24,
88
64
  h: h ?? 24
89
65
  }),
90
- function: ({ w, h })=>/*#__PURE__*/ jsx(FunctionProject, {
91
- w: w ?? 29,
92
- h: h ?? 28
93
- }),
94
66
  mcp: ({ w, h })=>/*#__PURE__*/ jsx(McpIcon, {
95
67
  w: w ?? 29,
96
68
  h: h ?? 28
@@ -112,7 +84,19 @@ const iconRegistry = {
112
84
  'decision-table': sizedIcon(ComponentDecisionTable),
113
85
  'decision-table-row': sizedIcon(ComponentDecisionTableRow),
114
86
  'literal-expression': sizedIcon(ComponentLiteralExpression),
115
- batch: sizedIcon(ComponentBatch)
87
+ batch: sizedIcon(ComponentBatch),
88
+ agent: sizedIcon(AgentGlyph),
89
+ 'agentic-process': sizedIcon(MaestroBpmnFlat),
90
+ api: sizedIcon(APIWorkflowGlyph),
91
+ 'case-management': sizedIcon(MaestroCaseFlat),
92
+ 'flow-project': sizedIcon(MaestroFlowFlat),
93
+ function: sizedIcon(FunctionGlyph),
94
+ maestro: sizedIcon(Maestro),
95
+ 'maestro-automate': sizedIcon(MaestroAutomateFlat),
96
+ 'maestro-bpmn': sizedIcon(MaestroBpmnFlat),
97
+ 'maestro-case': sizedIcon(MaestroCaseFlat),
98
+ 'maestro-flow': sizedIcon(MaestroFlowFlat),
99
+ rpa: sizedIcon(RpaGlyph)
116
100
  };
117
101
  function kebabToPascal(str) {
118
102
  return str.split('-').map((word)=>word.charAt(0).toUpperCase() + word.slice(1)).join('');
@@ -72,10 +72,10 @@ const useGridLayout = ({ columns, rowCount, rowHeightPx, leadingColumnWidth, tra
72
72
  const theadRef = (0, external_react_namespaceObject.useCallback)((element)=>{
73
73
  headerObserverRef.current?.disconnect();
74
74
  headerObserverRef.current = null;
75
- headerHeightRef.current = element?.offsetHeight ?? 0;
75
+ headerHeightRef.current = element?.getBoundingClientRect().height ?? 0;
76
76
  if (!element || "u" < typeof ResizeObserver) return;
77
77
  const observer = new ResizeObserver(()=>{
78
- headerHeightRef.current = element.offsetHeight;
78
+ headerHeightRef.current = element.getBoundingClientRect().height;
79
79
  });
80
80
  observer.observe(element);
81
81
  headerObserverRef.current = observer;
@@ -1 +1 @@
1
- {"version":3,"file":"useGridLayout.d.ts","sourceRoot":"","sources":["../../src/decision-table/useGridLayout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B,OAAO,KAAK,EAAY,UAAU,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAI3E,UA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tB,QAAQ,EAAE,MAAM,CAAC;IAEjB,WAAW,EAAE,MAAM,CAAC;IAEpB,kBAAkB,EAAE,MAAM,CAAC;IAE3B,mBAAmB,EAAE,MAAM,CAAC;IAE5B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,mBAAmB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;IAErF,oBAAoB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,KAAK,IAAI,CAAC;IAEhE,YAAY,EAAE,KAAK,CAAC,gBAAgB,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;IAE5D,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEjC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC;AAWD,eAAO,MAAM,oBAAoB,GAAI,SAAS,UAAU,EAAE,EAAE,oBAAe,KAAG,GAAG,CAAC,MAAM,CASvF,CAAC;AA6BF,MAAM,MAAM,UAAU,GAAG,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC;AAa1D,eAAO,MAAM,aAAa,GAAI,iMAY3B,iBAAiB;;;;;;;;;;;;wBAyCqB,uBAAuB,GAAG,IAAI;+BAoJzD,cAAc,GAAG,IAAI;;;;kCAbpB,MAAM;wCAIH,MAAM;;;;CAwCvB,CAAC"}
@@ -43,10 +43,10 @@ const useGridLayout = ({ columns, rowCount, rowHeightPx, leadingColumnWidth, tra
43
43
  const theadRef = useCallback((element)=>{
44
44
  headerObserverRef.current?.disconnect();
45
45
  headerObserverRef.current = null;
46
- headerHeightRef.current = element?.offsetHeight ?? 0;
46
+ headerHeightRef.current = element?.getBoundingClientRect().height ?? 0;
47
47
  if (!element || "u" < typeof ResizeObserver) return;
48
48
  const observer = new ResizeObserver(()=>{
49
- headerHeightRef.current = element.offsetHeight;
49
+ headerHeightRef.current = element.getBoundingClientRect().height;
50
50
  });
51
51
  observer.observe(element);
52
52
  headerObserverRef.current = observer;
@@ -0,0 +1 @@
1
+ module.exports = require('@uipath/apollo-ui-icons-react/APIWorkflowGlyph');
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/APIWorkflowGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/APIWorkflowGlyph';
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/APIWorkflowGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/APIWorkflowGlyph';
@@ -0,0 +1 @@
1
+ module.exports = require('@uipath/apollo-ui-icons-react/AgentGlyph');
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/AgentGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/AgentGlyph';
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/AgentGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/AgentGlyph';
@@ -0,0 +1 @@
1
+ module.exports = require('@uipath/apollo-ui-icons-react/FunctionGlyph');
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/FunctionGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/FunctionGlyph';
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/FunctionGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/FunctionGlyph';
@@ -0,0 +1 @@
1
+ module.exports = require('@uipath/apollo-ui-icons-react/RpaGlyph');
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/RpaGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/RpaGlyph';
@@ -0,0 +1,2 @@
1
+ export * from '@uipath/apollo-ui-icons-react/RpaGlyph';
2
+ export { default } from '@uipath/apollo-ui-icons-react/RpaGlyph';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "7.32.0",
3
+ "version": "7.33.0",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -251,10 +251,10 @@
251
251
  "use-sync-external-store": "^1.2.0",
252
252
  "zod": "^4.6.6",
253
253
  "zustand": "^5.0.9",
254
- "@uipath/apollo-ui-icons-react": "1.0.0",
255
- "@uipath/apollo-wind": "2.94.1",
254
+ "@uipath/apollo-ui-icons": "1.2.1",
255
+ "@uipath/apollo-ui-icons-react": "1.1.0",
256
256
  "@uipath/apollo-core": "5.15.3",
257
- "@uipath/apollo-ui-icons": "1.2.1"
257
+ "@uipath/apollo-wind": "2.94.1"
258
258
  },
259
259
  "devDependencies": {
260
260
  "@lingui/cli": "^5.6.1",