intelicoreact 0.3.55 → 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
|
-
|
|
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', (
|
|
142
|
-
},
|
|
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;
|