@cere/cere-design-system 0.0.26 → 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 CHANGED
@@ -1730,8 +1730,8 @@ interface WorkflowSideInspectorProps extends PaperProps$1 {
1730
1730
  timestamp?: string;
1731
1731
  /** Duration value shown in metadata section. */
1732
1732
  duration?: string;
1733
- /** Bottom CTA label. */
1734
- actionLabel?: string;
1733
+ /** Bottom CTA label. Set to `undefined` or `null` to hide the button. */
1734
+ actionLabel?: string | null;
1735
1735
  /** Called when close button is pressed. */
1736
1736
  onClose?: () => void;
1737
1737
  /** Called when cubby copy button is pressed. */
package/dist/index.d.ts CHANGED
@@ -1730,8 +1730,8 @@ interface WorkflowSideInspectorProps extends PaperProps$1 {
1730
1730
  timestamp?: string;
1731
1731
  /** Duration value shown in metadata section. */
1732
1732
  duration?: string;
1733
- /** Bottom CTA label. */
1734
- actionLabel?: string;
1733
+ /** Bottom CTA label. Set to `undefined` or `null` to hide the button. */
1734
+ actionLabel?: string | null;
1735
1735
  /** Called when close button is pressed. */
1736
1736
  onClose?: () => void;
1737
1737
  /** Called when cubby copy button is pressed. */
package/dist/index.js CHANGED
@@ -6847,7 +6847,7 @@ var WorkflowSideInspector = ({
6847
6847
  cubbyId = "ID:S8787",
6848
6848
  timestamp = "2026-02-11 14:32:10",
6849
6849
  duration = "120ms",
6850
- actionLabel = "View Logs",
6850
+ actionLabel,
6851
6851
  onClose,
6852
6852
  onCopyCubbyId,
6853
6853
  onAction,
@@ -6964,7 +6964,7 @@ var WorkflowSideInspector = ({
6964
6964
  ] }),
6965
6965
  /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(import_material40.Divider, { sx: { borderColor: DIVIDER_COLOR } })
6966
6966
  ] }),
6967
- /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
6967
+ actionLabel && /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(Button, { variant: "primary", fullWidth: true, onClick: onAction, children: actionLabel })
6968
6968
  ]
6969
6969
  }
6970
6970
  );