@cloudtower/eagle 0.27.79 → 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.
@@ -58,7 +58,7 @@ const Cascader = (props) => {
58
58
  antd5.Cascader,
59
59
  __spreadValues({
60
60
  size,
61
- prefixCls: constants.Antd5PrefixCls,
61
+ prefixCls: `${constants.Antd5PrefixCls}-cascader`,
62
62
  expandIcon: /* @__PURE__ */ React__default.default.createElement(index, { src: iconsReact.HierarchyTriangleRight16PrimaryIcon }),
63
63
  popupClassName: cs__default.default(
64
64
  {
@@ -77,7 +77,7 @@ const formatChartData = ({
77
77
  }, {
78
78
  name: t("components.other"),
79
79
  value: (_e = formatCollapse(otherData)) == null ? void 0 : _e.value,
80
- color: null,
80
+ color: color.Color.gray["gray-40"],
81
81
  tooltip: (_f = formatCollapse(otherData)) == null ? void 0 : _f.tooltip
82
82
  }];
83
83
  }
@@ -152,8 +152,12 @@ const Modal = (props) => {
152
152
  {
153
153
  className: "prev-step",
154
154
  onClick: () => {
155
- var _a2;
156
- return (_a2 = wizard.onStepChange) == null ? void 0 : _a2.call(wizard, wizard.step - 1);
155
+ var _a2, _b2, _c, _d;
156
+ if (typeof wizard === "object" && ((_a2 = wizard.steps[wizard.step]) == null ? void 0 : _a2.onPrev)) {
157
+ (_c = (_b2 = wizard.steps[wizard.step]).onPrev) == null ? void 0 : _c.call(_b2);
158
+ return;
159
+ }
160
+ (_d = wizard.onStepChange) == null ? void 0 : _d.call(wizard, wizard.step - 1);
157
161
  }
158
162
  },
159
163
  prevText
@@ -42,7 +42,7 @@ const SegmentControl = props => {
42
42
  [MediumSegment]: size === "middle"
43
43
  }, Segment, ColorSegment),
44
44
  size,
45
- prefixCls: constants.Antd5PrefixCls
45
+ prefixCls: `${constants.Antd5PrefixCls}-segmented`
46
46
  }, props));
47
47
  };
48
48
  var SegmentControl$1 = SegmentControl;
@@ -28,7 +28,7 @@ var __spreadValues = (a, b) => {
28
28
  };
29
29
  var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
30
30
  const SidebarMenu = (props) => {
31
- return /* @__PURE__ */ React__default.default.createElement(antd5.Menu, __spreadProps(__spreadValues({}, props), { prefixCls: constants.Antd5PrefixCls, mode: "inline" }));
31
+ return /* @__PURE__ */ React__default.default.createElement(antd5.Menu, __spreadProps(__spreadValues({}, props), { prefixCls: `${constants.Antd5PrefixCls}-menu`, mode: "inline" }));
32
32
  };
33
33
 
34
34
  exports.SidebarMenu = SidebarMenu;