@uipath/apollo-react 6.21.0 → 6.22.1
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/CanvasBottomPanel/CanvasBottomPanel.cjs +253 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.d.ts +8 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.d.ts.map +1 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.js +213 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.types.cjs +18 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.types.d.ts +28 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.types.d.ts.map +1 -0
- package/dist/canvas/components/CanvasBottomPanel/CanvasBottomPanel.types.js +0 -0
- package/dist/canvas/components/CanvasBottomPanel/index.cjs +42 -0
- package/dist/canvas/components/CanvasBottomPanel/index.d.ts +3 -0
- package/dist/canvas/components/CanvasBottomPanel/index.d.ts.map +1 -0
- package/dist/canvas/components/CanvasBottomPanel/index.js +2 -0
- package/dist/canvas/components/StageNode/StageNodeHeader.cjs +10 -5
- package/dist/canvas/components/StageNode/StageNodeHeader.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/StageNodeHeader.js +11 -6
- package/dist/canvas/components/StageNode/formatDuration.cjs +18 -2
- package/dist/canvas/components/StageNode/formatDuration.d.ts +2 -0
- package/dist/canvas/components/StageNode/formatDuration.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/formatDuration.js +11 -1
- package/dist/canvas/components/StageNode/rules/StageRuleContent.cjs +5 -14
- package/dist/canvas/components/StageNode/rules/StageRuleContent.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/rules/StageRuleContent.js +5 -14
- package/dist/canvas/components/StageNode/shared/CollapsibleStageHeader.cjs +5 -14
- package/dist/canvas/components/StageNode/shared/CollapsibleStageHeader.d.ts.map +1 -1
- package/dist/canvas/components/StageNode/shared/CollapsibleStageHeader.js +5 -14
- package/dist/canvas/components/StageNode/tasks/TaskContent.cjs +29 -28
- package/dist/canvas/components/StageNode/tasks/TaskContent.js +30 -29
- package/dist/canvas/components/index.cjs +59 -52
- package/dist/canvas/components/index.d.ts +1 -0
- package/dist/canvas/components/index.d.ts.map +1 -1
- package/dist/canvas/components/index.js +1 -0
- package/dist/canvas/layouts/Stack.cjs +22 -6
- package/dist/canvas/layouts/Stack.d.ts +3 -4
- package/dist/canvas/layouts/Stack.d.ts.map +1 -1
- package/dist/canvas/layouts/Stack.js +13 -7
- package/dist/canvas/styles/tailwind.canvas.css +1 -1
- package/dist/test/durations.d.ts +6 -0
- package/dist/test/durations.d.ts.map +1 -0
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/canvas/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC;AACpC,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC"}
|
|
@@ -4,6 +4,7 @@ export * from "./AlignmentGuides/index.js";
|
|
|
4
4
|
export * from "./BaseCanvas/index.js";
|
|
5
5
|
export * from "./BaseNode/index.js";
|
|
6
6
|
export * from "./ButtonHandle/index.js";
|
|
7
|
+
export * from "./CanvasBottomPanel/index.js";
|
|
7
8
|
export * from "./CanvasModeToolbar/index.js";
|
|
8
9
|
export * from "./CanvasPositionControls.js";
|
|
9
10
|
export * from "./CanvasZoomControls/index.js";
|
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __webpack_require__ = {};
|
|
3
|
+
(()=>{
|
|
4
|
+
__webpack_require__.n = (module)=>{
|
|
5
|
+
var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
|
|
6
|
+
__webpack_require__.d(getter, {
|
|
7
|
+
a: getter
|
|
8
|
+
});
|
|
9
|
+
return getter;
|
|
10
|
+
};
|
|
11
|
+
})();
|
|
3
12
|
(()=>{
|
|
4
13
|
__webpack_require__.d = (exports1, definition)=>{
|
|
5
14
|
for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
|
|
@@ -29,8 +38,9 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
29
38
|
});
|
|
30
39
|
const jsx_runtime_namespaceObject = require("react/jsx-runtime");
|
|
31
40
|
const external_react_namespaceObject = require("react");
|
|
41
|
+
var external_react_default = /*#__PURE__*/ __webpack_require__.n(external_react_namespaceObject);
|
|
32
42
|
const external_core_cjs_namespaceObject = require("./core.cjs");
|
|
33
|
-
const Stack = ({ children, className, style, direction = 'row', align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps })=>{
|
|
43
|
+
const Stack = /*#__PURE__*/ external_react_default().forwardRef(({ children, className, style, direction = 'row', align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps }, ref)=>{
|
|
34
44
|
const dynamicStyle = (0, external_react_namespaceObject.useMemo)(()=>({
|
|
35
45
|
display: 'flex',
|
|
36
46
|
flexDirection: direction,
|
|
@@ -168,20 +178,26 @@ const Stack = ({ children, className, style, direction = 'row', align, justify,
|
|
|
168
178
|
style
|
|
169
179
|
]);
|
|
170
180
|
return /*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)("div", {
|
|
181
|
+
ref: ref,
|
|
171
182
|
className: className,
|
|
172
183
|
style: dynamicStyle,
|
|
173
184
|
...htmlProps,
|
|
174
185
|
children: children
|
|
175
186
|
});
|
|
176
|
-
};
|
|
177
|
-
|
|
187
|
+
});
|
|
188
|
+
Stack.displayName = 'Stack';
|
|
189
|
+
const Row = /*#__PURE__*/ external_react_default().forwardRef((props, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Stack, {
|
|
190
|
+
ref: ref,
|
|
178
191
|
direction: "row",
|
|
179
192
|
...props
|
|
180
|
-
});
|
|
181
|
-
|
|
193
|
+
}));
|
|
194
|
+
Row.displayName = 'Row';
|
|
195
|
+
const Column = /*#__PURE__*/ external_react_default().forwardRef((props, ref)=>/*#__PURE__*/ (0, jsx_runtime_namespaceObject.jsx)(Stack, {
|
|
196
|
+
ref: ref,
|
|
182
197
|
direction: "column",
|
|
183
198
|
...props
|
|
184
|
-
});
|
|
199
|
+
}));
|
|
200
|
+
Column.displayName = 'Column';
|
|
185
201
|
exports.Column = __webpack_exports__.Column;
|
|
186
202
|
exports.Row = __webpack_exports__.Row;
|
|
187
203
|
for(var __rspack_i in __webpack_exports__)if (-1 === [
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type { FlexProps, OverflowProps, PositionProps, SizeProps, SpacingProps } from './core';
|
|
3
|
-
|
|
4
|
-
declare const
|
|
5
|
-
declare const Column: React.FC<StackProps>;
|
|
3
|
+
declare const Row: React.ForwardRefExoticComponent<FlexProps & OverflowProps & PositionProps & React.HTMLAttributes<HTMLDivElement> & SizeProps & SpacingProps & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const Column: React.ForwardRefExoticComponent<FlexProps & OverflowProps & PositionProps & React.HTMLAttributes<HTMLDivElement> & SizeProps & SpacingProps & React.RefAttributes<HTMLDivElement>>;
|
|
6
5
|
export { Row, Column };
|
|
7
6
|
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/canvas/layouts/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/canvas/layouts/Stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,aAAa,EAAE,aAAa,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAyJ/F,QAAA,MAAM,GAAG,oLAEP,CAAC;AAGH,QAAA,MAAM,MAAM,oLAEV,CAAC;AAGH,OAAO,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { useMemo } from "react";
|
|
2
|
+
import react, { useMemo } from "react";
|
|
3
3
|
import { alignMap, calcSpacingPx, justifyMap } from "./core.js";
|
|
4
|
-
const Stack = ({ children, className, style, direction = 'row', align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps })=>{
|
|
4
|
+
const Stack = /*#__PURE__*/ react.forwardRef(({ children, className, style, direction = 'row', align, justify, wrap, gap, flex, w, h, maxW, minW, maxH, minH, overflow, overflowX, overflowY, position, p, pt, pb, pl, pr, px, py, m, mt, mb, ml, mr, mx, my, ...htmlProps }, ref)=>{
|
|
5
5
|
const dynamicStyle = useMemo(()=>({
|
|
6
6
|
display: 'flex',
|
|
7
7
|
flexDirection: direction,
|
|
@@ -139,18 +139,24 @@ const Stack = ({ children, className, style, direction = 'row', align, justify,
|
|
|
139
139
|
style
|
|
140
140
|
]);
|
|
141
141
|
return /*#__PURE__*/ jsx("div", {
|
|
142
|
+
ref: ref,
|
|
142
143
|
className: className,
|
|
143
144
|
style: dynamicStyle,
|
|
144
145
|
...htmlProps,
|
|
145
146
|
children: children
|
|
146
147
|
});
|
|
147
|
-
};
|
|
148
|
-
|
|
148
|
+
});
|
|
149
|
+
Stack.displayName = 'Stack';
|
|
150
|
+
const Row = /*#__PURE__*/ react.forwardRef((props, ref)=>/*#__PURE__*/ jsx(Stack, {
|
|
151
|
+
ref: ref,
|
|
149
152
|
direction: "row",
|
|
150
153
|
...props
|
|
151
|
-
});
|
|
152
|
-
|
|
154
|
+
}));
|
|
155
|
+
Row.displayName = 'Row';
|
|
156
|
+
const Column = /*#__PURE__*/ react.forwardRef((props, ref)=>/*#__PURE__*/ jsx(Stack, {
|
|
157
|
+
ref: ref,
|
|
153
158
|
direction: "column",
|
|
154
159
|
...props
|
|
155
|
-
});
|
|
160
|
+
}));
|
|
161
|
+
Column.displayName = 'Column';
|
|
156
162
|
export { Column, Row };
|