@uipath/apollo-react 3.50.0-pr318.73805f0 → 3.50.0-pr318.787896f

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.
@@ -69,7 +69,6 @@ const BaseCanvasInnerComponent = (props)=>{
69
69
  }), [
70
70
  isReady
71
71
  ]);
72
- console.log('[BaseCanvas] using local version!');
73
72
  return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(external_CanvasProviders_cjs_namespaceObject.CanvasProviders, {
74
73
  nodes: nodes,
75
74
  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;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"}
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;AAmMzE,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"}
@@ -41,7 +41,6 @@ const BaseCanvasInnerComponent = (props)=>{
41
41
  }), [
42
42
  isReady
43
43
  ]);
44
- console.log('[BaseCanvas] using local version!');
45
44
  return /*#__PURE__*/ jsx(CanvasProviders, {
46
45
  nodes: nodes,
47
46
  edges: edges,
@@ -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;;;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"}
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;;;WAyBkzE,CAAC;;yBArBjzE,GAAG;;;;CAaoB,CAAC;AAEpC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/apollo-react",
3
- "version": "3.50.0-pr318.73805f0",
3
+ "version": "3.50.0-pr318.787896f",
4
4
  "description": "Apollo Design System - React component library with Material UI theming",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,60 +0,0 @@
1
- "use strict";
2
- var __webpack_require__ = {};
3
- (()=>{
4
- __webpack_require__.d = (exports1, definition)=>{
5
- for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
6
- enumerable: true,
7
- get: definition[key]
8
- });
9
- };
10
- })();
11
- (()=>{
12
- __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
13
- })();
14
- (()=>{
15
- __webpack_require__.r = (exports1)=>{
16
- if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
17
- value: 'Module'
18
- });
19
- Object.defineProperty(exports1, '__esModule', {
20
- value: true
21
- });
22
- };
23
- })();
24
- var __webpack_exports__ = {};
25
- __webpack_require__.r(__webpack_exports__);
26
- __webpack_require__.d(__webpack_exports__, {
27
- usePreventBackNavigation: ()=>usePreventBackNavigation
28
- });
29
- const external_react_namespaceObject = require("react");
30
- function usePreventBackNavigation() {
31
- (0, external_react_namespaceObject.useEffect)(()=>{
32
- const preventBackNavigation = (e)=>{
33
- if (2 === e.touches.length) e.preventDefault();
34
- };
35
- const preventWheel = (e)=>{
36
- if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) e.preventDefault();
37
- };
38
- document.addEventListener('touchstart', preventBackNavigation, {
39
- passive: false
40
- });
41
- document.addEventListener('touchmove', preventBackNavigation, {
42
- passive: false
43
- });
44
- document.addEventListener('wheel', preventWheel, {
45
- passive: false
46
- });
47
- return ()=>{
48
- document.removeEventListener('touchstart', preventBackNavigation);
49
- document.removeEventListener('touchmove', preventBackNavigation);
50
- document.removeEventListener('wheel', preventWheel);
51
- };
52
- }, []);
53
- }
54
- exports.usePreventBackNavigation = __webpack_exports__.usePreventBackNavigation;
55
- for(var __rspack_i in __webpack_exports__)if (-1 === [
56
- "usePreventBackNavigation"
57
- ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
58
- Object.defineProperty(exports, '__esModule', {
59
- value: true
60
- });
@@ -1,2 +0,0 @@
1
- export declare function usePreventBackNavigation(): void;
2
- //# sourceMappingURL=usePreventBackNavigation.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePreventBackNavigation.d.ts","sourceRoot":"","sources":["../../../../src/canvas/components/BaseCanvas/usePreventBackNavigation.ts"],"names":[],"mappings":"AAMA,wBAAgB,wBAAwB,SAyBvC"}
@@ -1,26 +0,0 @@
1
- import { useEffect } from "react";
2
- function usePreventBackNavigation() {
3
- useEffect(()=>{
4
- const preventBackNavigation = (e)=>{
5
- if (2 === e.touches.length) e.preventDefault();
6
- };
7
- const preventWheel = (e)=>{
8
- if (Math.abs(e.deltaX) > Math.abs(e.deltaY)) e.preventDefault();
9
- };
10
- document.addEventListener('touchstart', preventBackNavigation, {
11
- passive: false
12
- });
13
- document.addEventListener('touchmove', preventBackNavigation, {
14
- passive: false
15
- });
16
- document.addEventListener('wheel', preventWheel, {
17
- passive: false
18
- });
19
- return ()=>{
20
- document.removeEventListener('touchstart', preventBackNavigation);
21
- document.removeEventListener('touchmove', preventBackNavigation);
22
- document.removeEventListener('wheel', preventWheel);
23
- };
24
- }, []);
25
- }
26
- export { usePreventBackNavigation };