oa-componentbook 0.18.84 → 0.18.86
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,12 +99,11 @@ 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
|
-
isDisplayed: true
|
|
108
|
-
title: item.tooltip
|
|
106
|
+
isDisplayed: true
|
|
109
107
|
}, /*#__PURE__*/_react.default.createElement(_MaterialIcon.default, {
|
|
110
108
|
color: "warning",
|
|
111
109
|
icon: _InfoOutlined.default
|
|
@@ -115,7 +113,7 @@ function MembershipCard(_ref) {
|
|
|
115
113
|
}, 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
114
|
color: "primary-content",
|
|
117
115
|
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$
|
|
116
|
+
}, 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
117
|
color: "secondary-content",
|
|
120
118
|
className: "type-b2-400"
|
|
121
119
|
}, item.description.text))), item.actions && /*#__PURE__*/_react.default.createElement("div", null, item.actions.map((action, index) => /*#__PURE__*/_react.default.createElement(_CustomButton.default, {
|