@cloudtower/eagle 0.27.81 → 0.27.82

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.
@@ -68,7 +68,7 @@ const formatChartData = ({
68
68
  }, {
69
69
  name: t("components.other"),
70
70
  value: (_e = formatCollapse(otherData)) == null ? void 0 : _e.value,
71
- color: null,
71
+ color: Color.gray["gray-40"],
72
72
  tooltip: (_f = formatCollapse(otherData)) == null ? void 0 : _f.tooltip
73
73
  }];
74
74
  }
@@ -145,8 +145,12 @@ const Modal = (props) => {
145
145
  {
146
146
  className: "prev-step",
147
147
  onClick: () => {
148
- var _a2;
149
- return (_a2 = wizard.onStepChange) == null ? void 0 : _a2.call(wizard, wizard.step - 1);
148
+ var _a2, _b2, _c, _d;
149
+ if (typeof wizard === "object" && ((_a2 = wizard.steps[wizard.step]) == null ? void 0 : _a2.onPrev)) {
150
+ (_c = (_b2 = wizard.steps[wizard.step]).onPrev) == null ? void 0 : _c.call(_b2);
151
+ return;
152
+ }
153
+ (_d = wizard.onStepChange) == null ? void 0 : _d.call(wizard, wizard.step - 1);
150
154
  }
151
155
  },
152
156
  prevText