@octaviaflow/core 3.1.0-beta.61 → 3.1.0-beta.62
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.js
CHANGED
|
@@ -34897,11 +34897,13 @@ function DefaultEmptyState() {
|
|
|
34897
34897
|
|
|
34898
34898
|
// src/components/WorkflowHeader/WorkflowHeader.tsx
|
|
34899
34899
|
import {
|
|
34900
|
+
CheckmarkIcon as CheckmarkIcon16,
|
|
34900
34901
|
ChevronLeftIcon as ChevronLeftIcon3,
|
|
34901
34902
|
OverflowMenuVerticalIcon,
|
|
34902
34903
|
PlayFilledAltIcon as PlayFilledAltIcon2,
|
|
34903
34904
|
StopFilledAltIcon as StopFilledAltIcon2,
|
|
34904
|
-
TerminalIcon
|
|
34905
|
+
TerminalIcon,
|
|
34906
|
+
WarningAltIcon as WarningAltIcon3
|
|
34905
34907
|
} from "@octaviaflow/icons";
|
|
34906
34908
|
|
|
34907
34909
|
// src/hooks/useWorkflowRuntime.ts
|
|
@@ -35017,7 +35019,7 @@ function WorkflowHeader({
|
|
|
35017
35019
|
/* @__PURE__ */ jsx154("h1", { className: "ods-workflow-header__title", title: typeof name === "string" ? name : void 0, children: name }),
|
|
35018
35020
|
saveIndicator && /* @__PURE__ */ jsxs147(Fragment54, { children: [
|
|
35019
35021
|
/* @__PURE__ */ jsx154("span", { className: "ods-workflow-header__sep", "aria-hidden": "true" }),
|
|
35020
|
-
/* @__PURE__ */
|
|
35022
|
+
/* @__PURE__ */ jsxs147(
|
|
35021
35023
|
"span",
|
|
35022
35024
|
{
|
|
35023
35025
|
className: cn(
|
|
@@ -35027,7 +35029,10 @@ function WorkflowHeader({
|
|
|
35027
35029
|
role: "status",
|
|
35028
35030
|
"aria-live": "polite",
|
|
35029
35031
|
title: saveState === "error" ? saveError ?? void 0 : void 0,
|
|
35030
|
-
children:
|
|
35032
|
+
children: [
|
|
35033
|
+
saveState === "saving" ? /* @__PURE__ */ jsx154("span", { className: "ods-workflow-header__save-spinner", "aria-hidden": "true" }) : saveState === "error" ? /* @__PURE__ */ jsx154(WarningAltIcon3, { size: "sm", className: "ods-workflow-header__save-icon", "aria-hidden": "true" }) : /* @__PURE__ */ jsx154(CheckmarkIcon16, { size: "sm", className: "ods-workflow-header__save-icon", "aria-hidden": "true" }),
|
|
35034
|
+
saveIndicator.label
|
|
35035
|
+
]
|
|
35031
35036
|
}
|
|
35032
35037
|
)
|
|
35033
35038
|
] }),
|