@tap-payments/os-micro-frontend-shared 0.1.31-test.19 → 0.1.31-test.21

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.
@@ -46,7 +46,7 @@ const StatusChip = (_a) => {
46
46
  objectFit: 'contain',
47
47
  position: 'absolute',
48
48
  right: 8,
49
- top: 2,
49
+ top: 3.5,
50
50
  } })) })] })) }))] })));
51
51
  };
52
52
  export default StatusChip;
@@ -4,7 +4,11 @@ import { SELECTION_COLORS } from '../../utils/index.js';
4
4
  export const ChipStyled = styled(Box, {
5
5
  shouldForwardProp: (prop) => !['textColor', 'bgColor', 'borderColor', 'disabled', 'padding', 'maxWidth', 'isSelected'].includes(prop),
6
6
  })(({ theme, isSelected, textColor = theme.palette.text.primary, bgColor = '#EFF1F2', borderColor = '#EFF1F2', disabled = false, padding, maxWidth, }) => {
7
- return Object.assign({ display: 'flex', alignItems: 'center', gap: '4px', height: '18px', padding: padding || '0px 9.5px', borderRadius: '30px', border: `1px solid ${borderColor}`, backgroundColor: bgColor, color: textColor, cursor: disabled ? 'not-allowed' : 'pointer', opacity: disabled ? 0.5 : 1, whiteSpace: 'nowrap', fontSize: '11px', minWidth: '67px', maxWidth: maxWidth || 'none', overflow: 'hidden', textOverflow: maxWidth ? 'ellipsis' : 'unset', boxSizing: 'border-box' }, (isSelected && { color: SELECTION_COLORS.primary, borderColor: SELECTION_COLORS.primary }));
7
+ return Object.assign({ display: 'flex', alignItems: 'center', gap: '4px', height: '18px', padding: padding || '0px 9.5px', borderRadius: '30px', border: `1px solid ${borderColor}`, backgroundColor: bgColor, color: textColor, cursor: disabled ? 'not-allowed' : 'pointer', opacity: disabled ? 0.5 : 1, whiteSpace: 'nowrap', fontSize: '11px', minWidth: '67px', maxWidth: maxWidth || 'none', width: 'fit-content', overflow: 'hidden', textOverflow: maxWidth ? 'ellipsis' : 'unset', boxSizing: 'border-box' }, (isSelected && {
8
+ color: SELECTION_COLORS.primary,
9
+ borderColor: SELECTION_COLORS.primary,
10
+ filter: 'brightness(0) saturate(100%) invert(44%) sepia(54%) saturate(1203%) hue-rotate(170deg) brightness(91%) contrast(84%)',
11
+ }));
8
12
  });
9
13
  export const Wrapper = styled(Box)(() => ({
10
14
  display: 'flex',
@@ -92,7 +92,7 @@ export declare const chargeTableCellWidth: {
92
92
  readonly eci: {
93
93
  readonly default: "150px";
94
94
  readonly text: "150px";
95
- readonly sheet: "90px";
95
+ readonly sheet: "100px";
96
96
  };
97
97
  readonly amount: {
98
98
  readonly default: "170px";
@@ -187,7 +187,7 @@ export declare const chargeTableCellWidth: {
187
187
  readonly card_number: {
188
188
  readonly default: "120px";
189
189
  readonly text: "120px";
190
- readonly sheet: "145px";
190
+ readonly sheet: "155px";
191
191
  };
192
192
  readonly auth_code: {
193
193
  readonly default: "80px";
@@ -92,7 +92,7 @@ export const chargeTableCellWidth = {
92
92
  eci: {
93
93
  default: '150px',
94
94
  text: '150px',
95
- sheet: '90px',
95
+ sheet: '100px',
96
96
  },
97
97
  amount: {
98
98
  default: '170px',
@@ -187,7 +187,7 @@ export const chargeTableCellWidth = {
187
187
  card_number: {
188
188
  default: '120px',
189
189
  text: '120px',
190
- sheet: '145px',
190
+ sheet: '155px',
191
191
  },
192
192
  auth_code: {
193
193
  default: '80px',
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.1.31-test.19",
5
- "testVersion": 19,
4
+ "version": "0.1.31-test.21",
5
+ "testVersion": 21,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",