@uipath/apollo-react 6.50.0 → 6.51.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.
- package/dist/canvas/components/AgentCanvas/agent-flow.manifest.d.ts +3 -3
- package/dist/canvas/components/BaseNode/BaseNode.cjs +4 -3
- package/dist/canvas/components/BaseNode/BaseNode.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNode.js +4 -3
- package/dist/canvas/components/BaseNode/BaseNodeContainer.cjs +16 -3
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts +1 -1
- package/dist/canvas/components/BaseNode/BaseNodeContainer.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/BaseNodeContainer.js +17 -4
- package/dist/canvas/components/BaseNode/BaseNodeOutline.cjs +131 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.d.ts +17 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.d.ts.map +1 -0
- package/dist/canvas/components/BaseNode/BaseNodeOutline.js +91 -0
- package/dist/canvas/components/BaseNode/NodeLabel.cjs +8 -7
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.d.ts.map +1 -1
- package/dist/canvas/components/BaseNode/NodeLabel.js +8 -7
- package/dist/canvas/components/CaseFlow/case-flow.manifest.d.ts +3 -3
- package/dist/canvas/schema/node-definition/index.cjs +17 -5
- package/dist/canvas/schema/node-definition/index.d.ts +2 -2
- package/dist/canvas/schema/node-definition/index.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/index.js +2 -2
- package/dist/canvas/schema/node-definition/node-manifest.d.ts +12 -0
- package/dist/canvas/schema/node-definition/node-manifest.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/shape.cjs +29 -2
- package/dist/canvas/schema/node-definition/shape.d.ts +9 -0
- package/dist/canvas/schema/node-definition/shape.d.ts.map +1 -1
- package/dist/canvas/schema/node-definition/shape.js +17 -2
- package/dist/canvas/schema/node-instance/base.d.ts +3 -0
- package/dist/canvas/schema/node-instance/base.d.ts.map +1 -1
- package/dist/canvas/schema/node-instance/node.d.ts +3 -0
- package/dist/canvas/schema/node-instance/node.d.ts.map +1 -1
- package/dist/canvas/schema/toolbar.d.ts +15 -0
- package/dist/canvas/schema/toolbar.d.ts.map +1 -1
- package/dist/canvas/storybook-utils/manifests/index.d.ts +3 -3
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/canvas/styles/variables.css +8 -0
- package/dist/canvas/utils/node-size.cjs +2 -1
- package/dist/canvas/utils/node-size.d.ts +1 -1
- package/dist/canvas/utils/node-size.d.ts.map +1 -1
- package/dist/canvas/utils/node-size.js +2 -1
- package/package.json +2 -2
|
@@ -35,10 +35,14 @@ body.light, body.dark, body.light-hc, body.dark-hc {
|
|
|
35
35
|
--canvas-node-shadow-rest: 0 2px 8px #0000002e;
|
|
36
36
|
--canvas-node-shadow-hover: 0 4px 16px #0000005c;
|
|
37
37
|
--canvas-node-shadow-lifted: 0 16px 48px #000000b8, 0 4px 16px #0006;
|
|
38
|
+
--canvas-node-filter-rest: drop-shadow(0 2px 8px #0000002e);
|
|
39
|
+
--canvas-node-filter-hover: drop-shadow(0 4px 16px #0000005c);
|
|
40
|
+
--canvas-node-filter-lifted: drop-shadow(0 16px 48px #000000b8) drop-shadow(0 4px 16px #0006);
|
|
38
41
|
}
|
|
39
42
|
|
|
40
43
|
body.light, body.light-hc {
|
|
41
44
|
--canvas-node-shadow-lifted: 0 8px 24px #0000001f, 0 2px 8px #0000000f;
|
|
45
|
+
--canvas-node-filter-lifted: drop-shadow(0 8px 24px #0000001f) drop-shadow(0 2px 8px #0000000f);
|
|
42
46
|
}
|
|
43
47
|
|
|
44
48
|
.future-light, .future-dark, .wireframe, .vertex, .canvas {
|
|
@@ -78,9 +82,13 @@ body.light, body.light-hc {
|
|
|
78
82
|
--canvas-node-shadow-rest: 0 2px 8px #0000002e;
|
|
79
83
|
--canvas-node-shadow-hover: 0 4px 16px #0000005c;
|
|
80
84
|
--canvas-node-shadow-lifted: 0 16px 48px #000000b8, 0 4px 16px #0006;
|
|
85
|
+
--canvas-node-filter-rest: drop-shadow(0 2px 8px #0000002e);
|
|
86
|
+
--canvas-node-filter-hover: drop-shadow(0 4px 16px #0000005c);
|
|
87
|
+
--canvas-node-filter-lifted: drop-shadow(0 16px 48px #000000b8) drop-shadow(0 4px 16px #0006);
|
|
81
88
|
}
|
|
82
89
|
|
|
83
90
|
.future-light, .wireframe {
|
|
84
91
|
--canvas-node-shadow-lifted: 0 8px 24px #0000001f, 0 2px 8px #0000000f;
|
|
92
|
+
--canvas-node-filter-lifted: drop-shadow(0 8px 24px #0000001f) drop-shadow(0 2px 8px #0000000f);
|
|
85
93
|
}
|
|
86
94
|
|
|
@@ -28,6 +28,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
28
28
|
COLLAPSED_NODE_SIZE: ()=>COLLAPSED_NODE_SIZE,
|
|
29
29
|
getExpandedSize: ()=>getExpandedSize
|
|
30
30
|
});
|
|
31
|
+
const index_cjs_namespaceObject = require("../schema/node-definition/index.cjs");
|
|
31
32
|
const external_container_cjs_namespaceObject = require("./container.cjs");
|
|
32
33
|
const COLLAPSED_NODE_SIZE = 96;
|
|
33
34
|
const EXPANDED_RECTANGLE_WIDTH = 288;
|
|
@@ -37,7 +38,7 @@ const getExpandedSize = (shape)=>{
|
|
|
37
38
|
height: external_container_cjs_namespaceObject.DEFAULT_CONTAINER_HEIGHT
|
|
38
39
|
};
|
|
39
40
|
return {
|
|
40
|
-
width:
|
|
41
|
+
width: (0, index_cjs_namespaceObject.isWideNodeShape)(shape) ? EXPANDED_RECTANGLE_WIDTH : COLLAPSED_NODE_SIZE,
|
|
41
42
|
height: COLLAPSED_NODE_SIZE
|
|
42
43
|
};
|
|
43
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type NodeShape } from '../schema/node-definition';
|
|
2
2
|
export declare const COLLAPSED_NODE_SIZE = 96;
|
|
3
3
|
export declare const EXPANDED_RECTANGLE_WIDTH = 288;
|
|
4
4
|
export declare const getExpandedSize: (shape?: NodeShape) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-size.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/node-size.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"node-size.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/node-size.ts"],"names":[],"mappings":"AAOA,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAM5E,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAKtC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAK5C,eAAO,MAAM,eAAe,GAAI,QAAQ,SAAS,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAYlF,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { isWideNodeShape } from "../schema/node-definition/index.js";
|
|
1
2
|
import { DEFAULT_CONTAINER_HEIGHT, DEFAULT_CONTAINER_WIDTH } from "./container.js";
|
|
2
3
|
const COLLAPSED_NODE_SIZE = 96;
|
|
3
4
|
const EXPANDED_RECTANGLE_WIDTH = 288;
|
|
@@ -7,7 +8,7 @@ const getExpandedSize = (shape)=>{
|
|
|
7
8
|
height: DEFAULT_CONTAINER_HEIGHT
|
|
8
9
|
};
|
|
9
10
|
return {
|
|
10
|
-
width:
|
|
11
|
+
width: isWideNodeShape(shape) ? EXPANDED_RECTANGLE_WIDTH : COLLAPSED_NODE_SIZE,
|
|
11
12
|
height: COLLAPSED_NODE_SIZE
|
|
12
13
|
};
|
|
13
14
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/apollo-react",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.51.0",
|
|
4
4
|
"description": "Apollo Design System - React component library with Material UI theming",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
"typescript": "^5.9.3",
|
|
280
280
|
"use-sync-external-store": "^1.2.0",
|
|
281
281
|
"vite-tsconfig-paths": "^5.1.4",
|
|
282
|
-
"vitest": "^4.1.
|
|
282
|
+
"vitest": "^4.1.11",
|
|
283
283
|
"webpack-bundle-analyzer": "^5.3.0"
|
|
284
284
|
},
|
|
285
285
|
"scripts": {
|