oa-componentbook 0.18.80 → 0.18.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.
@@ -100,7 +100,7 @@ function MembershipCard(_ref) {
100
100
  color: "primary-background",
101
101
  icon: _ArrowForwardIos.default
102
102
  }))), alert.length && alert.map((item, i) => {
103
- var _item$description, _alert$description;
103
+ var _item$description;
104
104
  return /*#__PURE__*/_react.default.createElement("div", {
105
105
  className: "toolTipInfo"
106
106
  }, item.tooltip && /*#__PURE__*/_react.default.createElement(_CustomTooltip.default, {
@@ -118,7 +118,7 @@ function MembershipCard(_ref) {
118
118
  }, alert === null || alert === void 0 ? void 0 : alert.heading)), (item === null || item === void 0 ? void 0 : item.description) && (item === null || item === void 0 || (_item$description = item.description) === null || _item$description === void 0 ? void 0 : _item$description.text) && /*#__PURE__*/_react.default.createElement("p", null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
119
119
  color: "secondary-content",
120
120
  className: "type-b2-400"
121
- }, alert === null || alert === void 0 || (_alert$description = alert.description) === null || _alert$description === void 0 ? void 0 : _alert$description.text))), item.actions && /*#__PURE__*/_react.default.createElement("div", null, item.actions.map((action, index) => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
121
+ }, item.description.text))), item.actions && /*#__PURE__*/_react.default.createElement("div", null, item.actions.map((action, index) => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
122
122
  key: action.label,
123
123
  label: action.label,
124
124
  type: action.type,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "0.18.80",
3
+ "version": "0.18.82",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",