intelicoreact 1.0.51 → 1.0.53

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.
@@ -84,7 +84,7 @@ var AccordionTable = function AccordionTable(_ref) {
84
84
  key = _ref3[0],
85
85
  value = _ref3[1];
86
86
 
87
- return key !== 'promoDetails' && /*#__PURE__*/_react.default.createElement("div", {
87
+ return key === 'promoDetails' || key === 'disclosure' ? null : /*#__PURE__*/_react.default.createElement("div", {
88
88
  key: key,
89
89
  style: {
90
90
  flexBasis: "".concat((_getHeaderItem = getHeaderItem(key)) === null || _getHeaderItem === void 0 ? void 0 : _getHeaderItem.width, "%")
@@ -99,7 +99,7 @@ var AccordionTable = function AccordionTable(_ref) {
99
99
 
100
100
  var renderTr = function renderTr(rows) {
101
101
  return rows === null || rows === void 0 ? void 0 : rows.map(function (row, index) {
102
- var _row$cols, _row$cols2, _row$cols3;
102
+ var _row$cols, _row$cols2, _row$cols3, _row$cols4, _row$cols5;
103
103
 
104
104
  return /*#__PURE__*/_react.default.createElement("div", {
105
105
  key: index,
@@ -113,10 +113,16 @@ var AccordionTable = function AccordionTable(_ref) {
113
113
  }, /*#__PURE__*/_react.default.createElement("div", {
114
114
  className: "accordion-table__tr-promo"
115
115
  }, /*#__PURE__*/_react.default.createElement(_reactFeather.Tag, {
116
- className: "tr-promo-icon"
116
+ className: "tr-promo-icon",
117
+ width: 16,
118
+ height: 16
117
119
  }), /*#__PURE__*/_react.default.createElement("span", {
118
120
  className: "tr-promo-label"
119
- }, "PROMOTION"), row.promoDetails || ((_row$cols3 = row.cols) === null || _row$cols3 === void 0 ? void 0 : _row$cols3.promoDetails))) : null);
121
+ }, "PROMOTION"), row.promoDetails || ((_row$cols3 = row.cols) === null || _row$cols3 === void 0 ? void 0 : _row$cols3.promoDetails))) : null, row.disclosure || (_row$cols4 = row.cols) !== null && _row$cols4 !== void 0 && _row$cols4.disclosure ? /*#__PURE__*/_react.default.createElement("div", {
122
+ className: "accordion-table__tr-promo-wrapper"
123
+ }, /*#__PURE__*/_react.default.createElement("div", {
124
+ className: "accordion-table__tr-promo accordion-table__tr-promo-disclosure"
125
+ }, row.disclosure || ((_row$cols5 = row.cols) === null || _row$cols5 === void 0 ? void 0 : _row$cols5.disclosure))) : null);
120
126
  });
121
127
  };
122
128
 
@@ -185,7 +185,9 @@
185
185
  margin-right: 15px;
186
186
  margin-left: 50px;
187
187
 
188
- border-bottom: 1px solid #EBEFF2;
188
+ &:last-child {
189
+ border-bottom: 1px solid #EBEFF2;
190
+ }
189
191
  }
190
192
 
191
193
  &__tr-with-promo {
@@ -208,8 +210,8 @@
208
210
  display: flex;
209
211
  align-items: center;
210
212
 
211
- width: 40%;
212
- height: 16px;
213
+ width: fit-content;
214
+ min-height: 16px;
213
215
  margin-bottom: 10px;
214
216
  padding: 4px 8px;
215
217
 
@@ -223,6 +225,19 @@
223
225
  font-size: 12px;
224
226
  font-weight: 400;
225
227
  line-height: 18px;
228
+
229
+ svg {
230
+ min-width: 16px;
231
+ min-height: 16px;
232
+ max-width: 16px;
233
+ max-height: 16px;
234
+ margin-right: 8px;
235
+ }
236
+ }
237
+
238
+ &__tr-promo-disclosure {
239
+ background-color: #E8E9EC;
240
+ border: none;
226
241
  }
227
242
 
228
243
  &__status-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "1.0.51",
3
+ "version": "1.0.53",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [