intelicoreact 0.3.54 → 0.3.56

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.
@@ -127,7 +127,7 @@ var AccordionTable = function AccordionTable(_ref) {
127
127
  }, row.label), row.statistics && /*#__PURE__*/_react.default.createElement("div", {
128
128
  className: (0, _classnames.default)('accordion-table__tr', row.className)
129
129
  }, Object.entries(row.statistics).map(function (_ref4) {
130
- var _getHeaderItem3, _getHeaderItem4;
130
+ var _getHeaderItem3, _getHeaderItem4, _getHeaderItem5;
131
131
 
132
132
  var _ref5 = (0, _slicedToArray2.default)(_ref4, 2),
133
133
  key = _ref5[0],
@@ -136,10 +136,16 @@ var AccordionTable = function AccordionTable(_ref) {
136
136
  return /*#__PURE__*/_react.default.createElement("div", {
137
137
  key: key,
138
138
  style: {
139
- flexBasis: "".concat((_getHeaderItem3 = getHeaderItem(key)) === null || _getHeaderItem3 === void 0 ? void 0 : _getHeaderItem3.width, "%")
139
+ width: "".concat((_getHeaderItem3 = getHeaderItem(key)) === null || _getHeaderItem3 === void 0 ? void 0 : _getHeaderItem3.width, "%"),
140
+ flexBasis: "".concat((_getHeaderItem4 = getHeaderItem(key)) === null || _getHeaderItem4 === void 0 ? void 0 : _getHeaderItem4.width, "%")
140
141
  },
141
- className: (0, _classnames.default)('accordion-table__statistics-td', (_getHeaderItem4 = getHeaderItem(key)) === null || _getHeaderItem4 === void 0 ? void 0 : _getHeaderItem4.className)
142
- }, value);
142
+ className: (0, _classnames.default)('accordion-table__statistics-td', (_getHeaderItem5 = getHeaderItem(key)) === null || _getHeaderItem5 === void 0 ? void 0 : _getHeaderItem5.className)
143
+ }, /*#__PURE__*/_react.default.createElement("div", {
144
+ className: "accordion-table__statistics-td-value-wrapper"
145
+ }, /*#__PURE__*/_react.default.createElement("p", {
146
+ className: 'accordion-table__statistics-td-value',
147
+ title: value
148
+ }, value)));
143
149
  }))), row.titleContent);
144
150
  };
145
151
 
@@ -147,6 +147,18 @@
147
147
  }
148
148
  }
149
149
 
150
+ &__statistics-td-value {
151
+ white-space: nowrap;
152
+ overflow: hidden;
153
+ text-overflow: ellipsis;
154
+ margin: 0;
155
+ }
156
+
157
+ &__statistics-td-value-wrapper {
158
+ display: flex;
159
+ min-width: 0;
160
+ }
161
+
150
162
  &__tr-promo-wrapper {
151
163
  margin-left: 50px;
152
164
  margin-right: 15px;
@@ -112,4 +112,11 @@
112
112
  color: #1E1E2D;
113
113
  }
114
114
  }
115
+
116
+ svg {
117
+ min-width: 16px;
118
+ max-width: 16px;
119
+ min-height: 16px;
120
+ max-height: 16px;
121
+ }
115
122
  }
@@ -35,4 +35,11 @@
35
35
  color: #b9002c;
36
36
  }
37
37
  }
38
+
39
+ svg {
40
+ min-width: 16px;
41
+ max-width: 16px;
42
+ min-height: 16px;
43
+ max-height: 16px;
44
+ }
38
45
  }
@@ -196,6 +196,7 @@ var TagList = function TagList(_ref) {
196
196
  };
197
197
 
198
198
  var renderMoreTags = function renderMoreTags() {
199
+ if (tagList.length < shownItemsCount || !tagList.length || disableShowMore) return null;
199
200
  var restItems = tagList.length - renderItemsCount;
200
201
  if (restItems === 0 || !withToggle || staticTagsCount === -1) return null;
201
202
  return /*#__PURE__*/_react.default.createElement(_Tag.default, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelicoreact",
3
- "version": "0.3.54",
3
+ "version": "0.3.56",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [