@tap-payments/os-micro-frontend-shared 0.1.91-test.7 → 0.1.92-test.1

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.
@@ -19,5 +19,5 @@ import IconWithBadge from '../../../IconWithBadge';
19
19
  export default function BrandsCell(_a) {
20
20
  var { brand, verificationStatus, hideStatus } = _a, props = __rest(_a, ["brand", "verificationStatus", "hideStatus"]);
21
21
  const icon = verificationIcon[verificationStatus !== null && verificationStatus !== void 0 ? verificationStatus : 'incomplete'];
22
- return (_jsx(TableCell, Object.assign({}, props, { "data-testid": "BrandsCell_TableCell", sx: { '&:hover': { overflow: 'visible', minWidth: 'max-content', zIndex: 30 } } }, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden', width: '100%', '&:hover': { overflow: 'visible' } } }, { children: [_jsx(IconWithBadge, { mainIcon: brand.logo, mainIconSize: 16, containerSize: 16, borderColor: "transparent" }), _jsx(Label, Object.assign({ brandName: brand.name }, { children: brand.name || 'Not Available' })), !hideStatus && (_jsx(IconWithBadge, { mainIcon: icon, mainIconSize: 10, containerSize: 10, borderColor: "transparent", containerSx: { marginLeft: 'auto' } }))] })) })) })) })));
22
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, Object.assign({ sx: { cursor: props.onClick ? 'pointer' : 'default' } }, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden', width: '100%' } }, { children: [_jsx(IconWithBadge, { mainIcon: brand.logo, mainIconSize: 16, containerSize: 16, borderColor: "transparent" }), _jsx(Label, Object.assign({ sx: Object.assign({}, (!brand.name && { color: '#B1B1B1' })) }, { children: brand.name || 'Not Available' })), !hideStatus && (_jsx(IconWithBadge, { mainIcon: icon, mainIconSize: 10, containerSize: 10, borderColor: "transparent", containerSx: { marginLeft: 'auto' } }))] })) })) })) })));
23
23
  }
@@ -2,6 +2,4 @@
2
2
  export declare const BrandsWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
3
3
  export declare const BrandName: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
4
  export declare const VerificationIcon: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
5
- export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
6
- brandName?: string | undefined;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
5
+ export declare const Label: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
@@ -7,7 +7,6 @@ export const BrandsWrapper = styled('div')(({ theme }) => ({
7
7
  borderRadius: '44px',
8
8
  padding: '4px 8px',
9
9
  lineHeight: '120%',
10
- '&:hover': { minWidth: 'max-content', overflow: 'visible' },
11
10
  }));
12
11
  export const BrandName = styled('div')(({ theme }) => ({
13
12
  fontSize: '14px',
@@ -18,6 +17,13 @@ export const VerificationIcon = styled('img')(() => ({
18
17
  width: '8px',
19
18
  height: '8px',
20
19
  }));
21
- export const Label = styled('p', {
22
- shouldForwardProp: (props) => 'brandName' !== props,
23
- })(({ theme, brandName }) => (Object.assign({ fontSize: '14px', fontWeight: 400, color: theme.palette.text.primary, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'nowrap', maxWidth: '100%', margin: '0', '&:hover': { overflow: 'visible' } }, (!brandName && { color: '#B1B1B1' }))));
20
+ export const Label = styled('p')(({ theme }) => ({
21
+ fontSize: '14px',
22
+ fontWeight: 400,
23
+ color: theme.palette.text.primary,
24
+ overflow: 'hidden',
25
+ textOverflow: 'ellipsis',
26
+ whiteSpace: 'nowrap',
27
+ maxWidth: '100%',
28
+ margin: '0',
29
+ }));
@@ -540,3 +540,5 @@ export declare const blackMobileSignalIcon: string;
540
540
  export declare const emptyMobileWifiIcon: string;
541
541
  export declare const deemaWithLabel: string;
542
542
  export declare const blackUnLinkIcon: string;
543
+ export declare const sortDescArrowIcon: string;
544
+ export declare const sortAscArrowIcon: string;
@@ -544,3 +544,5 @@ export const blackMobileSignalIcon = `${lightUrl}/blackMobileSignalIcon.svg`;
544
544
  export const emptyMobileWifiIcon = `${lightUrl}/emptyMobileWifiIcon.svg`;
545
545
  export const deemaWithLabel = `${lightUrl}/deemaWithLabel.svg`;
546
546
  export const blackUnLinkIcon = `${lightUrl}/blackUnLinkIcon.svg`;
547
+ export const sortDescArrowIcon = `${lightUrl}/sortDescArrowIcon.svg`;
548
+ export const sortAscArrowIcon = `${lightUrl}/sortAscArrowIcon.svg`;
@@ -94,6 +94,16 @@ export declare const refundTableCellWidth: {
94
94
  readonly text: "195px";
95
95
  readonly sheet: "180px";
96
96
  };
97
+ readonly payouts: {
98
+ readonly default: "195px";
99
+ readonly text: "195px";
100
+ readonly sheet: "300px";
101
+ };
102
+ readonly reason: {
103
+ readonly default: "170px";
104
+ readonly text: "240px";
105
+ readonly sheet: "160px";
106
+ };
97
107
  readonly destinations: {
98
108
  readonly default: "70px";
99
109
  readonly text: "240px";
@@ -182,7 +192,7 @@ export declare const refundTableCellWidth: {
182
192
  readonly charge_meta: {
183
193
  readonly default: "100px";
184
194
  readonly text: "100px";
185
- readonly sheet: "100px";
195
+ readonly sheet: "250px";
186
196
  };
187
197
  readonly brand: {
188
198
  readonly default: "116px";
@@ -94,6 +94,16 @@ export const refundTableCellWidth = {
94
94
  text: '195px',
95
95
  sheet: '180px',
96
96
  },
97
+ payouts: {
98
+ default: '195px',
99
+ text: '195px',
100
+ sheet: '300px',
101
+ },
102
+ reason: {
103
+ default: '170px',
104
+ text: '240px',
105
+ sheet: '160px',
106
+ },
97
107
  destinations: {
98
108
  default: '70px',
99
109
  text: '240px',
@@ -182,7 +192,7 @@ export const refundTableCellWidth = {
182
192
  charge_meta: {
183
193
  default: '100px',
184
194
  text: '100px',
185
- sheet: '100px',
195
+ sheet: '250px',
186
196
  },
187
197
  brand: {
188
198
  default: '116px',
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.91-test.7",
5
- "testVersion": 7,
4
+ "version": "0.1.92-test.1",
5
+ "testVersion": 1,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",