@tap-payments/os-micro-frontend-shared 0.0.305 → 0.0.306-test.2

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.
@@ -30,7 +30,7 @@ export const StyledSolidBackground = styled(Box)(({ theme }) => ({
30
30
  }));
31
31
  export const StyledCell = styled(TableCell, {
32
32
  shouldForwardProp: (prop) => !['isLast', 'isFirst', 'isSheetView', 'isSelected'].includes(prop),
33
- })(({ theme, isLast, isFirst, isSheetView, isSelected }) => (Object.assign(Object.assign({ paddingBlock: '0', paddingInline: '0.3875rem !important', paddingLeft: isFirst ? '0 !important' : '0.3875rem !important', paddingRight: isLast ? '0 !important' : '0.3875rem !important', color: isSheetView ? theme.palette.text.primary : theme.palette.grey[700], fontSize: isSheetView ? theme.typography.subtitle1.fontSize : theme.typography.caption.fontSize, height: '100%', fontWeight: isSheetView ? 400 : theme.typography.fontWeightRegular, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'flex', alignItems: 'center' }, (isSheetView && {
33
+ })(({ theme, isLast, isFirst, isSheetView, isSelected }) => (Object.assign(Object.assign({ paddingBlock: '0', paddingInline: '0.3875rem !important', paddingLeft: isFirst ? '0 !important' : '0.3875rem !important', paddingRight: isLast ? '0 !important' : '0.3875rem !important', color: isSheetView ? theme.palette.text.primary : theme.palette.grey[700], fontSize: isSheetView ? theme.typography.subtitle1.fontSize : theme.typography.caption.fontSize, height: '100%', fontWeight: isSheetView ? 400 : theme.typography.fontWeightRegular, whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis', display: 'flex', alignItems: 'center', cursor: 'pointer' }, (isSheetView && {
34
34
  borderRight: isLast ? 'none' : `1px solid ${theme.palette.divider}`,
35
35
  paddingInline: '8px !important',
36
36
  paddingLeft: '8px !important',
@@ -77,7 +77,7 @@ export declare const chargeTableCellWidth: {
77
77
  readonly merchant: {
78
78
  readonly default: "100px";
79
79
  readonly text: "150px";
80
- readonly sheet: "190px";
80
+ readonly sheet: "215px";
81
81
  };
82
82
  readonly charge: {
83
83
  readonly default: "150px";
@@ -77,7 +77,7 @@ export const chargeTableCellWidth = {
77
77
  merchant: {
78
78
  default: '100px',
79
79
  text: '150px',
80
- sheet: '190px',
80
+ sheet: '215px',
81
81
  },
82
82
  charge: {
83
83
  default: '150px',
@@ -58,7 +58,7 @@ export const formatUTCOffset = (offset = 0) => {
58
58
  const paddedOffset = Math.abs(offset).toString().padStart(2, '0');
59
59
  return `UTC${sign}${paddedOffset}:00`;
60
60
  };
61
- export const getDefaultDateRange = (startDay = 7) => {
61
+ export const getDefaultDateRange = (startDay = 6) => {
62
62
  const monthDaysMinus = dayjs().subtract(startDay, 'day').hour(0).minute(0).second(0).toDate();
63
63
  const today = dayjs(new Date()).hour(23).minute(59).second(59).toDate();
64
64
  return [monthDaysMinus, today];
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@tap-payments/os-micro-frontend-shared",
3
3
  "description": "Shared components and utilities for Tap Payments micro frontends",
4
- "version": "0.0.305",
5
- "testVersion": 0,
4
+ "version": "0.0.306-test.2",
5
+ "testVersion": 2,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",
@@ -131,4 +131,4 @@
131
131
  "publishConfig": {
132
132
  "registry": "https://registry.npmjs.org/"
133
133
  }
134
- }
134
+ }