oa-componentbook 1.0.1-stage.74 → 1.0.1-stage.75

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.
@@ -115,15 +115,10 @@ function MembershipCard(_ref) {
115
115
  color: "secondary-content"
116
116
  }, titleInfo)), primaryInfo && /*#__PURE__*/_react.default.createElement("div", {
117
117
  className: "primary-info padding-top-8"
118
- }, /*#__PURE__*/_react.default.createElement("label", null, ' ', /*#__PURE__*/_react.default.createElement(_Typography.default, {
119
- color: primaryInfo.type === 'success' ? 'positive' : 'negative',
118
+ }, /*#__PURE__*/_react.default.createElement("label", null, " ", /*#__PURE__*/_react.default.createElement(_Typography.default, {
119
+ color: primaryInfo.type === "success" ? "positive" : "negative",
120
120
  className: "type-t2-700"
121
- }, primaryInfo.label))), tag && /*#__PURE__*/_react.default.createElement("div", {
122
- className: "topPad24"
123
- }, /*#__PURE__*/_react.default.createElement(_CustomTag.default, {
124
- label: tag.text,
125
- type: tag.type
126
- }))), /*#__PURE__*/_react.default.createElement("div", {
121
+ }, primaryInfo.label)))), /*#__PURE__*/_react.default.createElement("div", {
127
122
  className: "imgBg"
128
123
  }, /*#__PURE__*/_react.default.createElement(_CustomIcon.default, {
129
124
  alt: "phone img",
@@ -131,13 +126,16 @@ function MembershipCard(_ref) {
131
126
  }))), itemsToShow.length > 0 && /*#__PURE__*/_react.default.createElement("p", null, /*#__PURE__*/_react.default.createElement(_Typography.default, {
132
127
  className: "type-b1-400",
133
128
  color: "primary-content"
134
- }, itemsToShow.join(', '), remainingItems.length > 0 && /*#__PURE__*/_react.default.createElement("span", {
129
+ }, itemsToShow.join(", "), remainingItems.length > 0 && /*#__PURE__*/_react.default.createElement("span", {
135
130
  role: "button",
136
131
  tabIndex: 0
137
- }, "...+".concat(remainingItems.length, " more")))), primaryPanel && /*#__PURE__*/_react.default.createElement("div", {
132
+ }, "...+".concat(remainingItems.length, " more")))), tag && /*#__PURE__*/_react.default.createElement("div", null, /*#__PURE__*/_react.default.createElement(_CustomTag.default, {
133
+ label: tag.text,
134
+ type: tag.type
135
+ })), primaryPanel && /*#__PURE__*/_react.default.createElement("div", {
138
136
  onClick: primaryPanel.name,
139
137
  onKeyDown: e => {
140
- if (e.key === 'Enter') primaryPanel.name();
138
+ if (e.key === "Enter") primaryPanel.name();
141
139
  },
142
140
  tabIndex: 0,
143
141
  role: "button",
@@ -146,7 +144,7 @@ function MembershipCard(_ref) {
146
144
  className: "paraWithIcon"
147
145
  }, /*#__PURE__*/_react.default.createElement(_CustomIcon.default, {
148
146
  style: {
149
- width: '24px'
147
+ width: "24px"
150
148
  },
151
149
  alt: "phone img",
152
150
  src: _offer.default
@@ -160,8 +158,8 @@ function MembershipCard(_ref) {
160
158
  icon: _ArrowForwardIos.default
161
159
  }))), alert.length > 0 && alert.map((item, i) => {
162
160
  var _item$description, _item$description2, _item$description3, _item$description4, _item$description5, _item$description6;
163
- 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", {
164
- className: item !== null && item !== void 0 && (_item$description2 = item.description) !== null && _item$description2 !== void 0 && _item$description2.text && (item === null || item === void 0 || (_item$description3 = item.description) === null || _item$description3 === void 0 ? void 0 : _item$description3.text) !== '' ? "toolTipInfo ".concat(item.type) : "toolTipInfo ".concat(item.type, " flexChangeBody")
161
+ 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", {
162
+ className: item !== null && item !== void 0 && (_item$description2 = item.description) !== null && _item$description2 !== void 0 && _item$description2.text && (item === null || item === void 0 || (_item$description3 = item.description) === null || _item$description3 === void 0 ? void 0 : _item$description3.text) !== "" ? "toolTipInfo ".concat(item.type) : "toolTipInfo ".concat(item.type, " flexChangeBody")
165
163
  }, /*#__PURE__*/_react.default.createElement("div", {
166
164
  className: "toolTip"
167
165
  }, item.tooltip && /*#__PURE__*/_react.default.createElement(_CustomTooltip.default, {
@@ -194,7 +192,7 @@ function MembershipCard(_ref) {
194
192
  icon: _ArrowForwardIosSharp.default,
195
193
  size: 16
196
194
  }),
197
- position: 'right'
195
+ position: "right"
198
196
  }
199
197
  }))));
200
198
  })), footer && (footer === null || footer === void 0 || (_footer$actions = footer.actions) === null || _footer$actions === void 0 ? void 0 : _footer$actions.length) > 0 && /*#__PURE__*/_react.default.createElement(_styles.CardFooter, null, actions && 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": "1.0.1-stage.74",
3
+ "version": "1.0.1-stage.75",
4
4
  "private": false,
5
5
  "description": "Reusable components",
6
6
  "main": "build/index.js",