@cere/cere-design-system 0.0.28 → 0.0.29
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/index.d.mts +13 -3
- package/dist/index.d.ts +13 -3
- package/dist/index.js +21 -12
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +28 -19
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6604,6 +6604,7 @@ import { jsx as jsx58, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
|
6604
6604
|
var WorkflowTopBar = ({
|
|
6605
6605
|
title = "Agent visualization flow chart",
|
|
6606
6606
|
executionId,
|
|
6607
|
+
executionIdLabel = "Job ID",
|
|
6607
6608
|
onExecutionIdChange,
|
|
6608
6609
|
onClearExecutionId,
|
|
6609
6610
|
submitLabel = "Submit",
|
|
@@ -6691,7 +6692,7 @@ var WorkflowTopBar = ({
|
|
|
6691
6692
|
fontSize: 12,
|
|
6692
6693
|
display: "block"
|
|
6693
6694
|
},
|
|
6694
|
-
children:
|
|
6695
|
+
children: executionIdLabel
|
|
6695
6696
|
}
|
|
6696
6697
|
),
|
|
6697
6698
|
/* @__PURE__ */ jsx58(
|
|
@@ -6699,7 +6700,7 @@ var WorkflowTopBar = ({
|
|
|
6699
6700
|
{
|
|
6700
6701
|
value: executionId,
|
|
6701
6702
|
onChange: (event) => onExecutionIdChange?.(event.target.value),
|
|
6702
|
-
inputProps: { "aria-label":
|
|
6703
|
+
inputProps: { "aria-label": executionIdLabel },
|
|
6703
6704
|
sx: {
|
|
6704
6705
|
width: "100%",
|
|
6705
6706
|
mt: 0.25,
|
|
@@ -6717,7 +6718,7 @@ var WorkflowTopBar = ({
|
|
|
6717
6718
|
IconButton11,
|
|
6718
6719
|
{
|
|
6719
6720
|
size: "small",
|
|
6720
|
-
"aria-label":
|
|
6721
|
+
"aria-label": `Clear ${executionIdLabel.toLowerCase()}`,
|
|
6721
6722
|
onClick: onClearExecutionId,
|
|
6722
6723
|
sx: { color: "#4A4458", ml: 1 },
|
|
6723
6724
|
children: /* @__PURE__ */ jsx58(CancelIcon, { fontSize: "small" })
|
|
@@ -6781,7 +6782,7 @@ import {
|
|
|
6781
6782
|
} from "@mui/material";
|
|
6782
6783
|
import CloseIcon4 from "@mui/icons-material/Close";
|
|
6783
6784
|
import ContentCopyOutlinedIcon from "@mui/icons-material/ContentCopyOutlined";
|
|
6784
|
-
import { jsx as jsx59, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6785
|
+
import { Fragment as Fragment12, jsx as jsx59, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6785
6786
|
var INSPECTOR_WIDTH = 320;
|
|
6786
6787
|
var DIVIDER_COLOR = "#D6CEDD";
|
|
6787
6788
|
var MUTED_TEXT_COLOR = "#938F99";
|
|
@@ -6807,6 +6808,10 @@ var WorkflowSideInspector = ({
|
|
|
6807
6808
|
cubbyId = "ID:S8787",
|
|
6808
6809
|
timestamp = "2026-02-11 14:32:10",
|
|
6809
6810
|
duration = "120ms",
|
|
6811
|
+
showInput = true,
|
|
6812
|
+
showOutput = true,
|
|
6813
|
+
showTimestamp = true,
|
|
6814
|
+
showDuration = true,
|
|
6810
6815
|
actionLabel,
|
|
6811
6816
|
onClose,
|
|
6812
6817
|
onCopyCubbyId,
|
|
@@ -6898,11 +6903,13 @@ var WorkflowSideInspector = ({
|
|
|
6898
6903
|
)
|
|
6899
6904
|
] }),
|
|
6900
6905
|
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6901
|
-
/* @__PURE__ */ jsxs27(
|
|
6902
|
-
/* @__PURE__ */
|
|
6903
|
-
|
|
6906
|
+
(showInput || showOutput) && /* @__PURE__ */ jsxs27(Fragment12, { children: [
|
|
6907
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
6908
|
+
showInput && /* @__PURE__ */ jsx59(InfoBlock, { label: "Input", value: inputValue }),
|
|
6909
|
+
showOutput && /* @__PURE__ */ jsx59(InfoBlock, { label: "Output", value: outputValue })
|
|
6910
|
+
] }),
|
|
6911
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } })
|
|
6904
6912
|
] }),
|
|
6905
|
-
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6906
6913
|
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 1 }, children: [
|
|
6907
6914
|
/* @__PURE__ */ jsx59(Typography18, { variant: "body2", sx: { color: MUTED_TEXT_COLOR }, children: "Cubby ID" }),
|
|
6908
6915
|
/* @__PURE__ */ jsx59(
|
|
@@ -6918,11 +6925,13 @@ var WorkflowSideInspector = ({
|
|
|
6918
6925
|
)
|
|
6919
6926
|
] }),
|
|
6920
6927
|
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } }),
|
|
6921
|
-
/* @__PURE__ */ jsxs27(
|
|
6922
|
-
/* @__PURE__ */
|
|
6923
|
-
|
|
6924
|
-
|
|
6925
|
-
|
|
6928
|
+
(showTimestamp || showDuration) && /* @__PURE__ */ jsxs27(Fragment12, { children: [
|
|
6929
|
+
/* @__PURE__ */ jsxs27(Box20, { sx: { display: "flex", flexDirection: "column", gap: 2 }, children: [
|
|
6930
|
+
showTimestamp && /* @__PURE__ */ jsx59(InfoBlock, { label: "Timestamp", value: timestamp }),
|
|
6931
|
+
showDuration && /* @__PURE__ */ jsx59(InfoBlock, { label: "Duration", value: duration })
|
|
6932
|
+
] }),
|
|
6933
|
+
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } })
|
|
6934
|
+
] })
|
|
6926
6935
|
] }),
|
|
6927
6936
|
actionLabel && /* @__PURE__ */ jsx59(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
6928
6937
|
]
|
|
@@ -7957,9 +7966,9 @@ var Truncate = ({
|
|
|
7957
7966
|
|
|
7958
7967
|
// src/components/utilities/BytesSize/BytesSize.tsx
|
|
7959
7968
|
import size from "byte-size";
|
|
7960
|
-
import { Fragment as
|
|
7969
|
+
import { Fragment as Fragment13, jsx as jsx87 } from "react/jsx-runtime";
|
|
7961
7970
|
var BytesSize = ({ bytes }) => {
|
|
7962
|
-
return /* @__PURE__ */ jsx87(
|
|
7971
|
+
return /* @__PURE__ */ jsx87(Fragment13, { children: size(bytes).toString() });
|
|
7963
7972
|
};
|
|
7964
7973
|
|
|
7965
7974
|
// src/components/utilities/QRCode/QRCode.tsx
|
|
@@ -8311,7 +8320,7 @@ var SummaryStats = ({ items }) => {
|
|
|
8311
8320
|
};
|
|
8312
8321
|
|
|
8313
8322
|
// src/components/charts/TimeSeriesGraph/TimeSeriesGraph.tsx
|
|
8314
|
-
import { Fragment as
|
|
8323
|
+
import { Fragment as Fragment14, jsx as jsx94, jsxs as jsxs46 } from "react/jsx-runtime";
|
|
8315
8324
|
var ChartContainer = styled45(Box28)({
|
|
8316
8325
|
position: "relative",
|
|
8317
8326
|
height: 320
|
|
@@ -8539,7 +8548,7 @@ var TimeSeriesGraph = ({
|
|
|
8539
8548
|
}
|
|
8540
8549
|
)
|
|
8541
8550
|
] }),
|
|
8542
|
-
shouldShowSummary && /* @__PURE__ */ jsxs46(
|
|
8551
|
+
shouldShowSummary && /* @__PURE__ */ jsxs46(Fragment14, { children: [
|
|
8543
8552
|
/* @__PURE__ */ jsx94(Divider11, {}),
|
|
8544
8553
|
/* @__PURE__ */ jsx94(SummaryStats, { items: summaryItems })
|
|
8545
8554
|
] })
|
|
@@ -9067,7 +9076,7 @@ import { Panel as Panel2 } from "reactflow";
|
|
|
9067
9076
|
|
|
9068
9077
|
// src/components/third-party/WorkflowNodeHandle.tsx
|
|
9069
9078
|
import { Handle, Position } from "reactflow";
|
|
9070
|
-
import { Fragment as
|
|
9079
|
+
import { Fragment as Fragment15, jsx as jsx97, jsxs as jsxs49 } from "react/jsx-runtime";
|
|
9071
9080
|
var WorkflowNodeHandle = ({
|
|
9072
9081
|
data,
|
|
9073
9082
|
selected
|
|
@@ -9081,7 +9090,7 @@ var WorkflowNodeHandle = ({
|
|
|
9081
9090
|
background: handleColor,
|
|
9082
9091
|
boxShadow: WORKFLOW_NODE_SHADOW
|
|
9083
9092
|
};
|
|
9084
|
-
return /* @__PURE__ */ jsxs49(
|
|
9093
|
+
return /* @__PURE__ */ jsxs49(Fragment15, { children: [
|
|
9085
9094
|
/* @__PURE__ */ jsx97(Handle, { type: "target", position: Position.Left, style: handleStyle }),
|
|
9086
9095
|
/* @__PURE__ */ jsx97(
|
|
9087
9096
|
WorkflowNode,
|