sag_components 1.0.1058 → 1.0.1060

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.
@@ -37,6 +37,9 @@ const KpiFilter = props => {
37
37
  };
38
38
  const [KpiDataState, setKpiDataState] = (0, _react.useState)(kpiData);
39
39
  const [periodState, setPeriodState] = (0, _react.useState)(DEFAULT_PERIOD);
40
+ (0, _react.useEffect)(() => {
41
+ setKpiDataState(kpiData);
42
+ }, [kpiData]);
40
43
 
41
44
  // ------------------------- CheckBox Buttons OnClick Handler - Begin ------------------
42
45
  (0, _react.useEffect)(() => {
@@ -245,14 +245,14 @@ const TableWrapper = exports.TableWrapper = _styledComponents.default.div`
245
245
  `;
246
246
  const Table = exports.Table = _styledComponents.default.table`
247
247
  font-family: "Poppins", sans-serif;
248
- width: ${props => `${props.tableWidthSize}%`};
249
- table-layout: fixed;
248
+ width: 100%;//////
249
+ table-layout: auto; ///////
250
250
  position: relative;
251
251
  background-color: white;
252
252
  border-collapse: collapse;
253
253
  th,
254
254
  td {
255
- width: 100%;
255
+ /* width: 100%; */
256
256
  text-align: left;
257
257
  text-overflow: ellipsis;
258
258
  }
@@ -276,6 +276,8 @@ const Td = exports.Td = _styledComponents.default.td`
276
276
  padding-top: 20px;
277
277
  padding-bottom: 20px;
278
278
  padding-left: 40px;
279
+ white-space: nowrap; //////
280
+
279
281
  `;
280
282
  const Tr = exports.Tr = _styledComponents.default.tr`
281
283
  border-bottom: 1px solid #f3f4f6;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.1058",
3
+ "version": "1.0.1060",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {