oa-componentbook 1.0.1-stage.387 → 1.0.1-stage.388

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.
@@ -63,7 +63,7 @@ function CustomButton(_ref) {
63
63
  className: "text-container"
64
64
  }, iconConfig.position === "left" && /*#__PURE__*/_react.default.isValidElement(iconConfig.icon) && /*#__PURE__*/_react.default.cloneElement(iconConfig.icon, {
65
65
  size: (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.size) || iconSize,
66
- color: type === "text-only" ? undefined : (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.color) || "primary"
66
+ color: (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.color) || undefined
67
67
  }), label && (showEllipsis ? /*#__PURE__*/_react.default.createElement(_styles.EllipsisTypography, {
68
68
  title: label,
69
69
  typography: buttonTypography
@@ -71,7 +71,7 @@ function CustomButton(_ref) {
71
71
  typography: buttonTypography
72
72
  }, label)), iconConfig.position === "right" && /*#__PURE__*/_react.default.isValidElement(iconConfig.icon) && /*#__PURE__*/_react.default.cloneElement(iconConfig.icon, {
73
73
  size: (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.size) || iconSize,
74
- color: type === "text-only" ? undefined : (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.color) || "primary"
74
+ color: (iconConfig === null || iconConfig === void 0 ? void 0 : iconConfig.color) || undefined
75
75
  })));
76
76
  }
77
77
  CustomButton.propTypes = {
@@ -304,6 +304,7 @@ function UserManagementWidget(_ref) {
304
304
  icon: _DeleteOutlineOutlined.default,
305
305
  color: "negative"
306
306
  }),
307
+ color: "negative",
307
308
  size: 32,
308
309
  position: "right"
309
310
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "1.0.1-stage.387",
3
+ "version": "1.0.1-stage.388",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",