@uipath/apollo-react 3.49.0 → 3.50.0-pr318.6240d9e
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.
- package/dist/canvas/components/BaseCanvas/BaseCanvas.cjs +1 -2
- package/dist/canvas/components/BaseCanvas/BaseCanvas.d.ts.map +1 -1
- package/dist/canvas/components/BaseCanvas/BaseCanvas.js +1 -2
- package/dist/canvas/components/ButtonHandle/ButtonHandle.cjs +11 -7
- package/dist/canvas/components/ButtonHandle/ButtonHandle.d.ts.map +1 -1
- package/dist/canvas/components/ButtonHandle/ButtonHandle.js +12 -8
- package/dist/canvas/components/TriggerNode/TriggerNode.stories.d.ts.map +1 -1
- package/dist/material/components/ap-button/ApButton.cjs +9 -4
- package/dist/material/components/ap-button/ApButton.d.ts.map +1 -1
- package/dist/material/components/ap-button/ApButton.js +9 -4
- package/dist/material/components/ap-tool-call/locales/ro.json +1 -1
- package/package.json +2 -2
|
@@ -35,7 +35,6 @@ const external_BaseCanvas_hooks_cjs_namespaceObject = require("./BaseCanvas.hook
|
|
|
35
35
|
const external_CanvasBackground_cjs_namespaceObject = require("./CanvasBackground.cjs");
|
|
36
36
|
const external_CanvasProviders_cjs_namespaceObject = require("./CanvasProviders.cjs");
|
|
37
37
|
const external_PanShortcutTeachingUI_cjs_namespaceObject = require("./PanShortcutTeachingUI.cjs");
|
|
38
|
-
const external_usePreventBackNavigation_cjs_namespaceObject = require("./usePreventBackNavigation.cjs");
|
|
39
38
|
const BaseCanvasInnerComponent = (props)=>{
|
|
40
39
|
const { innerRef, fitViewOptions: fitViewOptionsProps, ...canvasProps } = props;
|
|
41
40
|
const fitViewOptions = fitViewOptionsProps ?? external_BaseCanvas_constants_cjs_namespaceObject.BASE_CANVAS_DEFAULTS.fitViewOptions;
|
|
@@ -45,7 +44,6 @@ const BaseCanvasInnerComponent = (props)=>{
|
|
|
45
44
|
const [reactFlowInstance, setReactFlowInstance] = (0, external_react_namespaceObject.useState)();
|
|
46
45
|
const { isReady } = (0, external_BaseCanvas_hooks_cjs_namespaceObject.useAutoLayout)(nodes, initialAutoLayout, fitViewOptions);
|
|
47
46
|
const { ensureNodesInView, ensureAllNodesInView, centerNode } = (0, external_BaseCanvas_hooks_cjs_namespaceObject.useEnsureNodesInView)();
|
|
48
|
-
(0, external_usePreventBackNavigation_cjs_namespaceObject.usePreventBackNavigation)();
|
|
49
47
|
(0, external_BaseCanvas_hooks_cjs_namespaceObject.useMaintainNodesInView)(maintainNodesInView, fitViewOptions);
|
|
50
48
|
(0, ToolbarActionContext_cjs_namespaceObject.useToolbarActionStore)(mode, onToolbarAction, breakpoints);
|
|
51
49
|
const handleInit = (0, external_react_namespaceObject.useCallback)((instance)=>{
|
|
@@ -71,6 +69,7 @@ const BaseCanvasInnerComponent = (props)=>{
|
|
|
71
69
|
}), [
|
|
72
70
|
isReady
|
|
73
71
|
]);
|
|
72
|
+
console.log('[BaseCanvas] using local version!');
|
|
74
73
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasProviders_cjs_namespaceObject.CanvasProviders, {
|
|
75
74
|
nodes: nodes,
|
|
76
75
|
edges: edges,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCanvas.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseCanvas/BaseCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAqB,MAAM,0CAA0C,CAAC;AAE9F,OAAO,EAIL,KAAK,YAAY,EAKlB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"BaseCanvas.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseCanvas/BaseCanvas.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,IAAI,EAAqB,MAAM,0CAA0C,CAAC;AAE9F,OAAO,EAIL,KAAK,YAAY,EAKlB,MAAM,OAAO,CAAC;AAIf,OAAO,KAAK,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAqMzE,eAAO,MAAM,UAAU,EAKjB,CAAC,QAAQ,SAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,SAAS,IAAI,GAAG,IAAI,EAC/D,KAAK,EAAE,eAAe,CAAC,QAAQ,EAAE,QAAQ,CAAC,GAAG;IAC3C,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,aAAa,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;CACpD,KACE,YAAY,CAAC"}
|
|
@@ -7,7 +7,6 @@ import { useAutoLayout, useEnsureNodesInView, useMaintainNodesInView } from "./B
|
|
|
7
7
|
import { CanvasBackground } from "./CanvasBackground.js";
|
|
8
8
|
import { CanvasProviders } from "./CanvasProviders.js";
|
|
9
9
|
import { PanShortcutTeachingUI } from "./PanShortcutTeachingUI.js";
|
|
10
|
-
import { usePreventBackNavigation } from "./usePreventBackNavigation.js";
|
|
11
10
|
const BaseCanvasInnerComponent = (props)=>{
|
|
12
11
|
const { innerRef, fitViewOptions: fitViewOptionsProps, ...canvasProps } = props;
|
|
13
12
|
const fitViewOptions = fitViewOptionsProps ?? BASE_CANVAS_DEFAULTS.fitViewOptions;
|
|
@@ -17,7 +16,6 @@ const BaseCanvasInnerComponent = (props)=>{
|
|
|
17
16
|
const [reactFlowInstance, setReactFlowInstance] = useState();
|
|
18
17
|
const { isReady } = useAutoLayout(nodes, initialAutoLayout, fitViewOptions);
|
|
19
18
|
const { ensureNodesInView, ensureAllNodesInView, centerNode } = useEnsureNodesInView();
|
|
20
|
-
usePreventBackNavigation();
|
|
21
19
|
useMaintainNodesInView(maintainNodesInView, fitViewOptions);
|
|
22
20
|
useToolbarActionStore(mode, onToolbarAction, breakpoints);
|
|
23
21
|
const handleInit = useCallback((instance)=>{
|
|
@@ -43,6 +41,7 @@ const BaseCanvasInnerComponent = (props)=>{
|
|
|
43
41
|
}), [
|
|
44
42
|
isReady
|
|
45
43
|
]);
|
|
44
|
+
console.log('[BaseCanvas] using local version!');
|
|
46
45
|
return /*#__PURE__*/ jsx(CanvasProviders, {
|
|
47
46
|
nodes: nodes,
|
|
48
47
|
edges: edges,
|
|
@@ -165,13 +165,17 @@ const ButtonHandleBase = ({ id, nodeId, type, position, handleType, label, label
|
|
|
165
165
|
$selected: selected,
|
|
166
166
|
$size: label ? '60px' : '16px'
|
|
167
167
|
}),
|
|
168
|
-
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(components_index_cjs_namespaceObject.ApTooltip, {
|
|
169
|
+
content: "Add node",
|
|
170
|
+
placement: "bottom",
|
|
171
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
172
|
+
className: "nodrag nopan",
|
|
173
|
+
style: {
|
|
174
|
+
pointerEvents: 'auto'
|
|
175
|
+
},
|
|
176
|
+
children: /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(AddButton, {
|
|
177
|
+
onAction: handleButtonClick
|
|
178
|
+
})
|
|
175
179
|
})
|
|
176
180
|
})
|
|
177
181
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ButtonHandle.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/ButtonHandle/ButtonHandle.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,0CAA0C,CAAC;AAKpE,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,qCAAqC,CAAC;AAY/F,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,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CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,wBAAwB,CAAC,EAAE,mCAAmC,CAAC;CAChE;AA+ED,eAAO,MAAM,aAAa,8LAjEvB;IACD,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,kBAAkB,EAAE,CAAC;IAC9B,QAAQ,EAAE,QAAQ,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,wBAAwB,CAAC,EAAE,mCAAmC,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IAUpB,qBAAqB,CAAC,EAAE,CAAC,EACvB,aAAa,EACb,QAAQ,GACT,EAAE;QACD,aAAa,EAAE,OAAO,CAAC;QACvB,QAAQ,EAAE,OAAO,CAAC;KACnB,KAAK,OAAO,CAAC;CACf,6CAsCmD,CAAC"}
|
|
@@ -3,7 +3,7 @@ import { FontVariantToken } from "@uipath/apollo-core";
|
|
|
3
3
|
import { Row } from "../../layouts/index.js";
|
|
4
4
|
import { Position } from "../../xyflow/react.js";
|
|
5
5
|
import { ApTypography } from "../../../material/index.js";
|
|
6
|
-
import { ApIcon } from "../../../material/components/index.js";
|
|
6
|
+
import { ApIcon, ApTooltip } from "../../../material/components/index.js";
|
|
7
7
|
import { AnimatePresence } from "motion/react";
|
|
8
8
|
import { memo, useCallback, useMemo, useState } from "react";
|
|
9
9
|
import { canvasEventBus } from "../../utils/CanvasEventBus.js";
|
|
@@ -136,13 +136,17 @@ const ButtonHandleBase = ({ id, nodeId, type, position, handleType, label, label
|
|
|
136
136
|
$selected: selected,
|
|
137
137
|
$size: label ? '60px' : '16px'
|
|
138
138
|
}),
|
|
139
|
-
/*#__PURE__*/ jsx(
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
139
|
+
/*#__PURE__*/ jsx(ApTooltip, {
|
|
140
|
+
content: "Add node",
|
|
141
|
+
placement: "bottom",
|
|
142
|
+
children: /*#__PURE__*/ jsx("div", {
|
|
143
|
+
className: "nodrag nopan",
|
|
144
|
+
style: {
|
|
145
|
+
pointerEvents: 'auto'
|
|
146
|
+
},
|
|
147
|
+
children: /*#__PURE__*/ jsx(AddButton, {
|
|
148
|
+
onAction: handleButtonClick
|
|
149
|
+
})
|
|
146
150
|
})
|
|
147
151
|
})
|
|
148
152
|
]
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/TriggerNode/TriggerNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAEV,IAAI,EAEJ,IAAI,EAEL,MAAM,0CAA0C,CAAC;AAsNlD,QAAA,MAAM,IAAI;;;
|
|
1
|
+
{"version":3,"file":"TriggerNode.stories.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/TriggerNode/TriggerNode.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,KAAK,EAEV,IAAI,EAEJ,IAAI,EAEL,MAAM,0CAA0C,CAAC;AAsNlD,QAAA,MAAM,IAAI;;;WAyBu2E,CAAC;;yBArBt2E,GAAG;;;;CAaoB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
|
|
@@ -108,7 +108,8 @@ const ApButton = /*#__PURE__*/ external_react_default().forwardRef((props, ref)=
|
|
|
108
108
|
const shouldShowLoadingAsStartIcon = loading && hasStartIcon;
|
|
109
109
|
const shouldShowLoadingAsEndIcon = loading && !hasStartIcon && hasEndIcon;
|
|
110
110
|
const shouldShowLoadingAsLabel = loading && !hasStartIcon && !hasEndIcon;
|
|
111
|
-
const
|
|
111
|
+
const { sx: variantSx, ...restVariantProps } = variantToProps[variant];
|
|
112
|
+
const { sx: userSx, ...restProps } = rest;
|
|
112
113
|
const loadingIndicator = loading ? /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(ButtonLoadingIndicator, {
|
|
113
114
|
"aria-label": label
|
|
114
115
|
}) : null;
|
|
@@ -136,16 +137,20 @@ const ApButton = /*#__PURE__*/ external_react_default().forwardRef((props, ref)=
|
|
|
136
137
|
onBlur: onBlur,
|
|
137
138
|
startIcon: loading && shouldShowLoadingAsStartIcon ? loadingIndicator : startIcon,
|
|
138
139
|
endIcon: loading && shouldShowLoadingAsEndIcon ? loadingIndicator : endIcon,
|
|
139
|
-
...
|
|
140
|
+
...restVariantProps,
|
|
141
|
+
sx: [
|
|
142
|
+
variantSx ?? {},
|
|
143
|
+
userSx ?? {}
|
|
144
|
+
],
|
|
140
145
|
tabIndex: tabIndex ?? (loading ? -1 : void 0),
|
|
141
146
|
"aria-disabled": disabled || loading ? 'true' : void 0,
|
|
142
147
|
"aria-expanded": expanded,
|
|
143
148
|
title: title,
|
|
144
|
-
className: joinClasses(
|
|
149
|
+
className: joinClasses(restVariantProps?.className, loading && 'loading'),
|
|
145
150
|
href: href,
|
|
146
151
|
customSize: size,
|
|
147
152
|
customWidth: widthMode,
|
|
148
|
-
...
|
|
153
|
+
...restProps,
|
|
149
154
|
children: [
|
|
150
155
|
/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("span", {
|
|
151
156
|
style: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ApButton.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-button/ApButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AAgDtE,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"ApButton.d.ts","sourceRoot":"","sources":["../../../../src/material/components/ap-button/ApButton.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,aAAa,EAAkB,MAAM,kBAAkB,CAAC;AAgDtE,eAAO,MAAM,QAAQ,sGAoFnB,CAAC"}
|
|
@@ -68,7 +68,8 @@ const ApButton = /*#__PURE__*/ react.forwardRef((props, ref)=>{
|
|
|
68
68
|
const shouldShowLoadingAsStartIcon = loading && hasStartIcon;
|
|
69
69
|
const shouldShowLoadingAsEndIcon = loading && !hasStartIcon && hasEndIcon;
|
|
70
70
|
const shouldShowLoadingAsLabel = loading && !hasStartIcon && !hasEndIcon;
|
|
71
|
-
const
|
|
71
|
+
const { sx: variantSx, ...restVariantProps } = variantToProps[variant];
|
|
72
|
+
const { sx: userSx, ...restProps } = rest;
|
|
72
73
|
const loadingIndicator = loading ? /*#__PURE__*/ jsx(ButtonLoadingIndicator, {
|
|
73
74
|
"aria-label": label
|
|
74
75
|
}) : null;
|
|
@@ -96,16 +97,20 @@ const ApButton = /*#__PURE__*/ react.forwardRef((props, ref)=>{
|
|
|
96
97
|
onBlur: onBlur,
|
|
97
98
|
startIcon: loading && shouldShowLoadingAsStartIcon ? loadingIndicator : startIcon,
|
|
98
99
|
endIcon: loading && shouldShowLoadingAsEndIcon ? loadingIndicator : endIcon,
|
|
99
|
-
...
|
|
100
|
+
...restVariantProps,
|
|
101
|
+
sx: [
|
|
102
|
+
variantSx ?? {},
|
|
103
|
+
userSx ?? {}
|
|
104
|
+
],
|
|
100
105
|
tabIndex: tabIndex ?? (loading ? -1 : void 0),
|
|
101
106
|
"aria-disabled": disabled || loading ? 'true' : void 0,
|
|
102
107
|
"aria-expanded": expanded,
|
|
103
108
|
title: title,
|
|
104
|
-
className: joinClasses(
|
|
109
|
+
className: joinClasses(restVariantProps?.className, loading && 'loading'),
|
|
105
110
|
href: href,
|
|
106
111
|
customSize: size,
|
|
107
112
|
customWidth: widthMode,
|
|
108
|
-
...
|
|
113
|
+
...restProps,
|
|
109
114
|
children: [
|
|
110
115
|
/*#__PURE__*/ jsx("span", {
|
|
111
116
|
style: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.50.0-pr318.6240d9e",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -201,7 +201,7 @@
|
|
|
201
201
|
"zod": "^4.3.5",
|
|
202
202
|
"zustand": "^5.0.9",
|
|
203
203
|
"@uipath/apollo-core": "5.7.1",
|
|
204
|
-
"@uipath/apollo-wind": "0.12.
|
|
204
|
+
"@uipath/apollo-wind": "0.12.2"
|
|
205
205
|
},
|
|
206
206
|
"devDependencies": {
|
|
207
207
|
"@lingui/cli": "^5.6.1",
|