ehscan-react-table 0.0.30 → 0.0.31

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.
@@ -8,5 +8,5 @@ export const TableCellDueDate = ({ content, id, col, small, clickRow }) => {
8
8
  ? '-'
9
9
  : _jsx("span", { className: `${styles.dateTag} ${styles[calcDateDiff(valDate)]}${small ? ` ${styles.dateTagSmall}` : ''}`, children: small ? '' : formatToDDMMYYYY(valDate) });
10
10
  };
11
- return (_jsx("div", { onClick: () => clickRow({ id, col, type: 'default' }), style: { width: "100%", textAlign: "center" }, children: _jsx(DateContent, { value: content }) }));
11
+ return (_jsx("div", { className: styles.dueDateColWrapper, onClick: () => clickRow({ id, col, type: 'default' }), children: _jsx(DateContent, { value: content }) }));
12
12
  };
@@ -460,6 +460,12 @@ RIPPLE
460
460
  }
461
461
  }
462
462
 
463
+ .dueDateColWrapper{
464
+ display: flex;
465
+ width: 100%;
466
+ text-align: center;
467
+ }
468
+
463
469
  .dateTag {
464
470
  position: relative;
465
471
  color: var(--ext-table-date-tag-clr, black);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ehscan-react-table",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "components",
5
5
  "main": "dist/Components.js",
6
6
  "types": "dist/Components.d.ts",