@algorithm-shift/design-system 1.3.125 → 1.3.126

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.mjs CHANGED
@@ -5761,7 +5761,6 @@ var StagesComponent = ({
5761
5761
  return;
5762
5762
  }
5763
5763
  };
5764
- const lastStage = stages && stages.length > 0 ? stages[stages.length - 1][dataKey] : null;
5765
5764
  const isMobile = canvasMode === "mobile";
5766
5765
  const onStageClick = (stageKey) => {
5767
5766
  if (!stageKey || stageKey === activeStage) return;
@@ -5805,7 +5804,7 @@ var StagesComponent = ({
5805
5804
  setActiveRootStage(activeRoot);
5806
5805
  setActiveChildStage(activeChild);
5807
5806
  }, [currentStage, stages]);
5808
- const isAllStagesCompleted = isCompleted || activeRootStage?.[dataKey] === lastStage;
5807
+ const isAllStagesCompleted = isCompleted;
5809
5808
  const disabled = isAllStagesCompleted || loading || saving;
5810
5809
  const primaryColor = props.primaryColor || "#12715b";
5811
5810
  return /* @__PURE__ */ jsx61("div", { className, style, children: /* @__PURE__ */ jsxs38(