@uipath/apollo-react 3.36.1-pr238.d9bdd55 → 3.37.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.
@@ -35,7 +35,7 @@ const COLLAPSED_NODE_SIZE = 96;
35
35
  const EXPANDED_RECTANGLE_WIDTH = 288;
36
36
  const getCollapsedShape = (originalShape)=>'rectangle' === originalShape ? 'square' : originalShape;
37
37
  const getExpandedShape = (collapsedShape)=>'square' === collapsedShape ? 'rectangle' : collapsedShape ?? void 0;
38
- const getCollapsedSize = (_shape)=>({
38
+ const getCollapsedSize = ()=>({
39
39
  width: COLLAPSED_NODE_SIZE,
40
40
  height: COLLAPSED_NODE_SIZE
41
41
  });
@@ -3,11 +3,11 @@ export declare const COLLAPSED_NODE_SIZE = 96;
3
3
  export declare const EXPANDED_RECTANGLE_WIDTH = 288;
4
4
  export declare const getCollapsedShape: (originalShape?: NodeShape) => NodeShape | undefined;
5
5
  export declare const getExpandedShape: (collapsedShape?: NodeShape) => NodeShape | undefined;
6
- export declare const getCollapsedSize: (_shape: NodeShape) => {
6
+ export declare const getCollapsedSize: () => {
7
7
  width: number;
8
8
  height: number;
9
9
  };
10
- export declare const getExpandedSize: (shape: NodeShape) => {
10
+ export declare const getExpandedSize: (shape?: NodeShape) => {
11
11
  width: number;
12
12
  height: number;
13
13
  };
@@ -1 +1 @@
1
- {"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/collapse.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAK3D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAKtC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAM5C,eAAO,MAAM,iBAAiB,GAAI,gBAAgB,SAAS,KAAG,SAAS,GAAG,SAEzE,CAAC;AAOF,eAAO,MAAM,gBAAgB,GAAI,iBAAiB,SAAS,KAAG,SAAS,GAAG,SAEzE,CAAC;AAMF,eAAO,MAAM,gBAAgB,GAAI,QAAQ,SAAS,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAKnF,CAAC;AAOF,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAKjF,CAAC"}
1
+ {"version":3,"file":"collapse.d.ts","sourceRoot":"","sources":["../../../src/canvas/utils/collapse.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAC;AAK3D,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAKtC,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAM5C,eAAO,MAAM,iBAAiB,GAAI,gBAAgB,SAAS,KAAG,SAAS,GAAG,SAEzE,CAAC;AAOF,eAAO,MAAM,gBAAgB,GAAI,iBAAiB,SAAS,KAAG,SAAS,GAAG,SAEzE,CAAC;AAMF,eAAO,MAAM,gBAAgB,QAAO;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAKlE,CAAC;AAOF,eAAO,MAAM,eAAe,GAAI,QAAQ,SAAS,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAA;CAKlF,CAAC"}
@@ -2,7 +2,7 @@ const COLLAPSED_NODE_SIZE = 96;
2
2
  const EXPANDED_RECTANGLE_WIDTH = 288;
3
3
  const getCollapsedShape = (originalShape)=>'rectangle' === originalShape ? 'square' : originalShape;
4
4
  const getExpandedShape = (collapsedShape)=>'square' === collapsedShape ? 'rectangle' : collapsedShape ?? void 0;
5
- const getCollapsedSize = (_shape)=>({
5
+ const getCollapsedSize = ()=>({
6
6
  width: COLLAPSED_NODE_SIZE,
7
7
  height: COLLAPSED_NODE_SIZE
8
8
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.36.1-pr238.d9bdd55",
3
+ "version": "3.37.0",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",