@cere/cere-design-system 0.0.25 → 0.0.26
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 +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -148,6 +148,8 @@ declare const workflowNodeColors: {
|
|
|
148
148
|
readonly condition: "#FE9A00";
|
|
149
149
|
readonly output: "#00BC7D";
|
|
150
150
|
readonly end: "#FB2C36";
|
|
151
|
+
readonly parallel: "#14B8A6";
|
|
152
|
+
readonly merge: "#6366F1";
|
|
151
153
|
};
|
|
152
154
|
declare const workflowConnectionColors: {
|
|
153
155
|
readonly success: "#22C55E";
|
|
@@ -1576,7 +1578,7 @@ interface DeploymentDashboardPanelProps {
|
|
|
1576
1578
|
declare const DeploymentDashboardPanel: React__default.FC<DeploymentDashboardPanelProps>;
|
|
1577
1579
|
|
|
1578
1580
|
/** All supported workflow node types */
|
|
1579
|
-
type WorkflowNodeType = 'start' | 'input' | 'stream' | 'rafts' | 'cubbies' | 'events' | 'trigger' | 'action' | 'aiModel' | 'aiAgent' | 'condition' | 'output' | 'end';
|
|
1581
|
+
type WorkflowNodeType = 'start' | 'input' | 'stream' | 'rafts' | 'cubbies' | 'events' | 'trigger' | 'action' | 'aiModel' | 'aiAgent' | 'condition' | 'output' | 'end' | 'parallel' | 'merge';
|
|
1580
1582
|
interface WorkflowNodeProps extends Omit<PaperProps$1, 'title'> {
|
|
1581
1583
|
/** The workflow node type — drives accent color, default icon, and badge label */
|
|
1582
1584
|
nodeType: WorkflowNodeType;
|
package/dist/index.d.ts
CHANGED
|
@@ -148,6 +148,8 @@ declare const workflowNodeColors: {
|
|
|
148
148
|
readonly condition: "#FE9A00";
|
|
149
149
|
readonly output: "#00BC7D";
|
|
150
150
|
readonly end: "#FB2C36";
|
|
151
|
+
readonly parallel: "#14B8A6";
|
|
152
|
+
readonly merge: "#6366F1";
|
|
151
153
|
};
|
|
152
154
|
declare const workflowConnectionColors: {
|
|
153
155
|
readonly success: "#22C55E";
|
|
@@ -1576,7 +1578,7 @@ interface DeploymentDashboardPanelProps {
|
|
|
1576
1578
|
declare const DeploymentDashboardPanel: React__default.FC<DeploymentDashboardPanelProps>;
|
|
1577
1579
|
|
|
1578
1580
|
/** All supported workflow node types */
|
|
1579
|
-
type WorkflowNodeType = 'start' | 'input' | 'stream' | 'rafts' | 'cubbies' | 'events' | 'trigger' | 'action' | 'aiModel' | 'aiAgent' | 'condition' | 'output' | 'end';
|
|
1581
|
+
type WorkflowNodeType = 'start' | 'input' | 'stream' | 'rafts' | 'cubbies' | 'events' | 'trigger' | 'action' | 'aiModel' | 'aiAgent' | 'condition' | 'output' | 'end' | 'parallel' | 'merge';
|
|
1580
1582
|
interface WorkflowNodeProps extends Omit<PaperProps$1, 'title'> {
|
|
1581
1583
|
/** The workflow node type — drives accent color, default icon, and badge label */
|
|
1582
1584
|
nodeType: WorkflowNodeType;
|
package/dist/index.js
CHANGED
|
@@ -267,7 +267,9 @@ var workflowNodeColors = {
|
|
|
267
267
|
aiAgent: "#D0A2FB",
|
|
268
268
|
condition: "#FE9A00",
|
|
269
269
|
output: "#00BC7D",
|
|
270
|
-
end: "#FB2C36"
|
|
270
|
+
end: "#FB2C36",
|
|
271
|
+
parallel: "#14B8A6",
|
|
272
|
+
merge: "#6366F1"
|
|
271
273
|
};
|
|
272
274
|
var workflowConnectionColors = {
|
|
273
275
|
success: "#22C55E",
|
|
@@ -6132,6 +6134,8 @@ var import_SmartToyOutlined3 = __toESM(require("@mui/icons-material/SmartToyOutl
|
|
|
6132
6134
|
var import_CallSplit = __toESM(require("@mui/icons-material/CallSplit"));
|
|
6133
6135
|
var import_Send = __toESM(require("@mui/icons-material/Send"));
|
|
6134
6136
|
var import_CheckCircleOutline = __toESM(require("@mui/icons-material/CheckCircleOutline"));
|
|
6137
|
+
var import_ForkRight = __toESM(require("@mui/icons-material/ForkRight"));
|
|
6138
|
+
var import_CallMerge = __toESM(require("@mui/icons-material/CallMerge"));
|
|
6135
6139
|
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
6136
6140
|
var WORKFLOW_NODE_LABELS = {
|
|
6137
6141
|
start: "Start",
|
|
@@ -6146,7 +6150,9 @@ var WORKFLOW_NODE_LABELS = {
|
|
|
6146
6150
|
aiAgent: "Agent",
|
|
6147
6151
|
condition: "Condition",
|
|
6148
6152
|
output: "Output",
|
|
6149
|
-
end: "End"
|
|
6153
|
+
end: "End",
|
|
6154
|
+
parallel: "Parallel",
|
|
6155
|
+
merge: "Merge"
|
|
6150
6156
|
};
|
|
6151
6157
|
var NODE_ICON_SIZE = 18;
|
|
6152
6158
|
var WORKFLOW_NODE_SHADOW = "0px 1px 3px rgba(0, 0, 0, 0.1), 0px 1px 2px rgba(0, 0, 0, 0.1)";
|
|
@@ -6163,7 +6169,9 @@ var WORKFLOW_NODE_ICONS = {
|
|
|
6163
6169
|
aiAgent: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_SmartToyOutlined3.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6164
6170
|
condition: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_CallSplit.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6165
6171
|
output: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_Send.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6166
|
-
end: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_CheckCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
6172
|
+
end: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_CheckCircleOutline.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6173
|
+
parallel: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_ForkRight.default, { sx: { fontSize: NODE_ICON_SIZE } }),
|
|
6174
|
+
merge: /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(import_CallMerge.default, { sx: { fontSize: NODE_ICON_SIZE } })
|
|
6167
6175
|
};
|
|
6168
6176
|
var WORKFLOW_NODE_STYLE_TOKENS = {
|
|
6169
6177
|
start: {
|
|
@@ -6243,6 +6251,18 @@ var WORKFLOW_NODE_STYLE_TOKENS = {
|
|
|
6243
6251
|
badgeBackground: "#FEF2F2",
|
|
6244
6252
|
badgeBorder: "#FFC9C9",
|
|
6245
6253
|
badgeText: "#C10007"
|
|
6254
|
+
},
|
|
6255
|
+
parallel: {
|
|
6256
|
+
cardBorder: "#5EEAD4",
|
|
6257
|
+
badgeBackground: "#F0FDFA",
|
|
6258
|
+
badgeBorder: "#99F6E4",
|
|
6259
|
+
badgeText: "#0F766E"
|
|
6260
|
+
},
|
|
6261
|
+
merge: {
|
|
6262
|
+
cardBorder: "#A5B4FC",
|
|
6263
|
+
badgeBackground: "#EEF2FF",
|
|
6264
|
+
badgeBorder: "#C7D2FE",
|
|
6265
|
+
badgeText: "#4338CA"
|
|
6246
6266
|
}
|
|
6247
6267
|
};
|
|
6248
6268
|
var BADGE_TYPOGRAPHY = {
|