@cere/cere-design-system 0.0.25 → 0.0.27
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 +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +25 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +25 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -89,7 +89,9 @@ var workflowNodeColors = {
|
|
|
89
89
|
aiAgent: "#D0A2FB",
|
|
90
90
|
condition: "#FE9A00",
|
|
91
91
|
output: "#00BC7D",
|
|
92
|
-
end: "#FB2C36"
|
|
92
|
+
end: "#FB2C36",
|
|
93
|
+
parallel: "#14B8A6",
|
|
94
|
+
merge: "#6366F1"
|
|
93
95
|
};
|
|
94
96
|
var workflowConnectionColors = {
|
|
95
97
|
success: "#22C55E",
|
|
@@ -6063,6 +6065,8 @@ import SmartToyOutlinedIcon3 from "@mui/icons-material/SmartToyOutlined";
|
|
|
6063
6065
|
import CallSplitIcon from "@mui/icons-material/CallSplit";
|
|
6064
6066
|
import SendIcon from "@mui/icons-material/Send";
|
|
6065
6067
|
import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutline";
|
|
6068
|
+
import ForkRightIcon from "@mui/icons-material/ForkRight";
|
|
6069
|
+
import CallMergeIcon from "@mui/icons-material/CallMerge";
|
|
6066
6070
|
import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
6067
6071
|
var WORKFLOW_NODE_LABELS = {
|
|
6068
6072
|
start: "Start",
|
|
@@ -6077,7 +6081,9 @@ var WORKFLOW_NODE_LABELS = {
|
|
|
6077
6081
|
aiAgent: "Agent",
|
|
6078
6082
|
condition: "Condition",
|
|
6079
6083
|
output: "Output",
|
|
6080
|
-
end: "End"
|
|
6084
|
+
end: "End",
|
|
6085
|
+
parallel: "Parallel",
|
|
6086
|
+
merge: "Merge"
|
|
6081
6087
|
};
|
|
6082
6088
|
var NODE_ICON_SIZE = 18;
|
|
6083
6089
|
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
@@ -6094,7 +6100,9 @@ var WORKFLOW_NODE_ICONS = {
|
|
|
6094
6100
|
aiAgent: /* @__PURE__ */ jsx50(SmartToyOutlinedIcon3, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6095
6101
|
condition: /* @__PURE__ */ jsx50(CallSplitIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6096
6102
|
output: /* @__PURE__ */ jsx50(SendIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6097
|
-
end: /* @__PURE__ */ jsx50(CheckCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
6103
|
+
end: /* @__PURE__ */ jsx50(CheckCircleOutlineIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6104
|
+
parallel: /* @__PURE__ */ jsx50(ForkRightIcon, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6105
|
+
merge: /* @__PURE__ */ jsx50(CallMergeIcon, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
6098
6106
|
};
|
|
6099
6107
|
var WORKFLOW_NODE_STYLE_TOKENS = {
|
|
6100
6108
|
start: {
|
|
@@ -6174,6 +6182,18 @@ var WORKFLOW_NODE_STYLE_TOKENS = {
|
|
|
6174
6182
|
badgeBackground: "#FEF2F2",
|
|
6175
6183
|
badgeBorder: "#FFC9C9",
|
|
6176
6184
|
badgeText: "#C10007"
|
|
6185
|
+
},
|
|
6186
|
+
parallel: {
|
|
6187
|
+
cardBorder: "#5EEAD4",
|
|
6188
|
+
badgeBackground: "#F0FDFA",
|
|
6189
|
+
badgeBorder: "#99F6E4",
|
|
6190
|
+
badgeText: "#0F766E"
|
|
6191
|
+
},
|
|
6192
|
+
merge: {
|
|
6193
|
+
cardBorder: "#A5B4FC",
|
|
6194
|
+
badgeBackground: "#EEF2FF",
|
|
6195
|
+
badgeBorder: "#C7D2FE",
|
|
6196
|
+
badgeText: "#4338CA"
|
|
6177
6197
|
}
|
|
6178
6198
|
};
|
|
6179
6199
|
var BADGE_TYPOGRAPHY = {
|
|
@@ -6787,7 +6807,7 @@ var WorkflowSideInspector = ({
|
|
|
6787
6807
|
cubbyId = "ID:S8787",
|
|
6788
6808
|
timestamp = "2026-02-11 14:32:10",
|
|
6789
6809
|
duration = "120ms",
|
|
6790
|
-
actionLabel
|
|
6810
|
+
actionLabel,
|
|
6791
6811
|
onClose,
|
|
6792
6812
|
onCopyCubbyId,
|
|
6793
6813
|
onAction,
|
|
@@ -6904,7 +6924,7 @@ var WorkflowSideInspector = ({
|
|
|
6904
6924
|
] }),
|
|
6905
6925
|
/* @__PURE__ */ jsx59(Divider8, { sx: { borderColor: DIVIDER_COLOR } })
|
|
6906
6926
|
] }),
|
|
6907
|
-
/* @__PURE__ */ jsx59(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
6927
|
+
actionLabel && /* @__PURE__ */ jsx59(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
|
|
6908
6928
|
]
|
|
6909
6929
|
}
|
|
6910
6930
|
);
|