oa-componentbook 0.18.84 → 0.18.85

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.
@@ -43,7 +43,6 @@ function MembershipCard(_ref) {
43
43
  title,
44
44
  titleInfo,
45
45
  primaryInfo,
46
- image,
47
46
  tag,
48
47
  primaryPanel,
49
48
  alert
@@ -100,8 +99,8 @@ function MembershipCard(_ref) {
100
99
  color: "primary-background",
101
100
  icon: _ArrowForwardIos.default
102
101
  }))), alert.length && alert.map((item, i) => {
103
- var _item$description;
104
- return /*#__PURE__*/_react.default.createElement("div", {
102
+ var _item$description, _item$description2;
103
+ return ((item === null || item === void 0 ? void 0 : item.subHeading) !== '' || (item === null || item === void 0 ? void 0 : item.heading) !== '' || (item === null || item === void 0 || (_item$description = item.description) === null || _item$description === void 0 ? void 0 : _item$description.text) !== undefined) && /*#__PURE__*/_react.default.createElement("div", {
105
104
  className: "toolTipInfo"
106
105
  }, item.tooltip && /*#__PURE__*/_react.default.createElement(_CustomTooltip.default, {
107
106
  isDisplayed: true,
@@ -115,7 +114,7 @@ function MembershipCard(_ref) {
115
114
  }, item === null || item === void 0 ? void 0 : item.subHeading)), (item === null || item === void 0 ? void 0 : item.heading) && /*#__PURE__*/_react.default.createElement("h4", null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
116
115
  color: "primary-content",
117
116
  className: "type-t2-700"
118
- }, item === null || item === void 0 ? void 0 : item.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, {
117
+ }, item === null || item === void 0 ? void 0 : item.heading)), (item === null || item === void 0 ? void 0 : item.description) && (item === null || item === void 0 || (_item$description2 = item.description) === null || _item$description2 === void 0 ? void 0 : _item$description2.text) && /*#__PURE__*/_react.default.createElement("p", null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
119
118
  color: "secondary-content",
120
119
  className: "type-b2-400"
121
120
  }, item.description.text))), item.actions && /*#__PURE__*/_react.default.createElement("div", null, item.actions.map((action, index) => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oa-componentbook",
3
- "version": "0.18.84",
3
+ "version": "0.18.85",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",