pollination-react-io 1.40.0 → 1.40.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/build/Cards/RunCard.types.d.ts +1 -0
- package/build/index.esm.js +20 -5
- package/build/index.esm.js.map +1 -1
- package/build/index.js +20 -5
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -48615,7 +48615,7 @@ var formatDuration = function (duration) {
|
|
|
48615
48615
|
};
|
|
48616
48616
|
var RunCard = function (_a) {
|
|
48617
48617
|
var _b, _c, _d, _e;
|
|
48618
|
-
var projectName = _a.projectName, projectOwner = _a.projectOwner, _run = _a.run, style = _a.style, authUser = _a.authUser, client = _a.client, enableClick = _a.enableClick;
|
|
48618
|
+
var projectName = _a.projectName, projectOwner = _a.projectOwner, _run = _a.run, style = _a.style, authUser = _a.authUser, client = _a.client, enableClick = _a.enableClick, getValue = _a.getValue;
|
|
48619
48619
|
/*
|
|
48620
48620
|
* Fetch run
|
|
48621
48621
|
*/
|
|
@@ -48696,11 +48696,26 @@ var RunCard = function (_a) {
|
|
|
48696
48696
|
!study && run && React__default["default"].createElement(LoadingOutlined$1, null),
|
|
48697
48697
|
run && study &&
|
|
48698
48698
|
React__default["default"].createElement("div", null,
|
|
48699
|
-
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' },
|
|
48699
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' },
|
|
48700
|
+
// href={`/${projectOwner}/projects/${projectName}/studies/${study.id}/runs/${run.id}`}
|
|
48701
|
+
onClick: function (e) {
|
|
48702
|
+
e.stopPropagation();
|
|
48703
|
+
getValue('info');
|
|
48704
|
+
} },
|
|
48700
48705
|
React__default["default"].createElement(InfoCircleOutlined$1, { onMouseOver: function (e) { return toggleHover(e, 'runDetails', true); }, onMouseLeave: function (e) { return toggleHover(e, 'runDetails', false); }, style: hover.runDetails ? { color: '#40a9ff' } : { color: '#000' } })),
|
|
48701
|
-
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link',
|
|
48706
|
+
React__default["default"].createElement("a", { style: { marginRight: '0.75rem' }, className: 'link',
|
|
48707
|
+
// href={`/${projectOwner}/projects/${projectName}/studies/${study.id}/runs/${run.id}/workspace?path=runs/${run.id}`}
|
|
48708
|
+
onClick: function (e) {
|
|
48709
|
+
e.stopPropagation();
|
|
48710
|
+
getValue('workspace');
|
|
48711
|
+
} },
|
|
48702
48712
|
React__default["default"].createElement(FolderOutlined$1, { onMouseOver: function (e) { return toggleHover(e, 'runWorkspace', true); }, onMouseLeave: function (e) { return toggleHover(e, 'runWorkspace', false); }, style: hover.runWorkspace ? { color: '#40a9ff' } : {} })),
|
|
48703
|
-
React__default["default"].createElement("a", { className: 'link',
|
|
48713
|
+
React__default["default"].createElement("a", { className: 'link',
|
|
48714
|
+
// href={`/${projectOwner}/projects/${projectName}/studies/${study.id}/runs/${run.id}/debug`}
|
|
48715
|
+
onClick: function (e) {
|
|
48716
|
+
e.stopPropagation();
|
|
48717
|
+
getValue('debug');
|
|
48718
|
+
} },
|
|
48704
48719
|
React__default["default"].createElement(PartitionOutlined$1, { onMouseOver: function (e) { return toggleHover(e, 'runDebug', true); }, onMouseLeave: function (e) { return toggleHover(e, 'runDebug', false); }, style: hover.runDebug ? { color: '#40a9ff' } : {} })))),
|
|
48705
48720
|
React__default["default"].createElement("div", { className: 'item3' },
|
|
48706
48721
|
React__default["default"].createElement("div", null,
|
|
@@ -48880,7 +48895,7 @@ var FolderCard = function (_a) {
|
|
|
48880
48895
|
open && React__default["default"].createElement("div", { className: 'card-description' }, description));
|
|
48881
48896
|
};
|
|
48882
48897
|
|
|
48883
|
-
var css_248z = ":root {\n --background: #FFFAEE;\n --primary: #1890ff;\n --primary2: #40a9ff;\n --primary1: #cceefe;\n --primary0: #e6f7ff;\n --secondary: #fff566;\n --primary3: #000;\n --success: #46A758;\n --warning: #F76809;\n --danger: #FF4616;\n /* radix-ui/colors */\n --slate1: hsl(206, 30.0%, 98.8%);\n --slate2: hsl(210, 16.7%, 97.6%);\n --slate3: hsl(209, 13.3%, 95.3%);\n --slate4: hsl(209, 12.2%, 93.2%);\n --slate5: hsl(208, 11.7%, 91.1%);\n --slate6: hsl(208, 11.3%, 88.9%);\n --slate7: hsl(207, 11.1%, 85.9%);\n --slate8: hsl(205, 10.7%, 78.0%);\n --slate9: hsl(206, 6.0%, 56.1%);\n --slate10: hsl(206, 5.8%, 52.3%);\n --slate11: hsl(206, 6.0%, 43.5%);\n --slate12: hsl(206, 24.0%, 9.0%);\n}\n\n@keyframes spin {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.spin {\n animation: spin 1s linear 0s infinite;\n}\n\n@keyframes Animation {\n 0% {\n background-position: 200%;\n }\n 50% {\n background-position: 100%;\n }\n 100% {\n background-position: 0%;\n }\n}\n.loading {\n background: linear-gradient(45deg, transparent, var(--primary), 12%, transparent);\n background-size: 200%;\n animation: Animation 3s ease infinite;\n}\n\n@keyframes open {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes close {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n}\n.collapse-content {\n overflow: hidden;\n font-size: inherit;\n color: inherit;\n}\n\n.collapse-content[data-state=open] {\n animation: open 300ms ease-out;\n}\n\n.collapse-content[data-state=closed] {\n animation: close 300ms ease-out;\n}\n\n.cards {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n grid-auto-rows: auto;\n grid-gap: 1rem;\n}\n\n.cards-container {\n border: 1px solid rgba(0, 0, 0, 0.125);\n padding: 10px 0 0 0;\n margin: 10px 0 0 0;\n border-radius: 6px;\n}\n\n.cards-container-title {\n padding: 10px 10px 10px 10px;\n margin: 0 0 0 10px;\n}";
|
|
48898
|
+
var css_248z = ":root {\n --background: #FFFAEE;\n --primary: #1890ff;\n --primary2: #40a9ff;\n --primary1: #cceefe;\n --primary0: #e6f7ff;\n --secondary: #fff566;\n --primary3: #000;\n --success: #46A758;\n --warning: #F76809;\n --danger: #FF4616;\n /* radix-ui/colors */\n --slate1: hsl(206, 30.0%, 98.8%);\n --slate2: hsl(210, 16.7%, 97.6%);\n --slate3: hsl(209, 13.3%, 95.3%);\n --slate4: hsl(209, 12.2%, 93.2%);\n --slate5: hsl(208, 11.7%, 91.1%);\n --slate6: hsl(208, 11.3%, 88.9%);\n --slate7: hsl(207, 11.1%, 85.9%);\n --slate8: hsl(205, 10.7%, 78.0%);\n --slate9: hsl(206, 6.0%, 56.1%);\n --slate10: hsl(206, 5.8%, 52.3%);\n --slate11: hsl(206, 6.0%, 43.5%);\n --slate12: hsl(206, 24.0%, 9.0%);\n}\n\n@keyframes spin {\n from {\n transform: rotate(0);\n }\n to {\n transform: rotate(360deg);\n }\n}\n.spin {\n animation: spin 1s linear 0s infinite;\n}\n\n@keyframes Animation {\n 0% {\n background-position: 200%;\n }\n 50% {\n background-position: 100%;\n }\n 100% {\n background-position: 0%;\n }\n}\n.loading {\n background: linear-gradient(45deg, transparent, var(--primary), 12%, transparent);\n background-size: 200%;\n animation: Animation 3s ease infinite;\n}\n\n@keyframes open {\n from {\n height: 0;\n }\n to {\n height: var(--radix-collapsible-content-height);\n }\n}\n@keyframes close {\n from {\n height: var(--radix-collapsible-content-height);\n }\n to {\n height: 0;\n }\n}\n.collapse-content {\n overflow: hidden;\n font-size: inherit;\n color: inherit;\n}\n\n.collapse-content[data-state=open] {\n animation: open 300ms ease-out;\n}\n\n.collapse-content[data-state=closed] {\n animation: close 300ms ease-out;\n}\n\n.cards {\n display: grid;\n grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n grid-auto-rows: auto;\n grid-gap: 1rem;\n}\n\n.cards-container {\n border: 1px solid rgba(0, 0, 0, 0.125);\n padding: 10px 0 0 0;\n margin: 10px 0 0 0;\n border-radius: 6px;\n}\n\n.cards-container-title {\n padding: 10px 10px 10px 10px;\n margin: 0 0 0 10px;\n font-size: 18px !important;\n}";
|
|
48884
48899
|
styleInject(css_248z);
|
|
48885
48900
|
|
|
48886
48901
|
var RunContent = function (_a) {
|