@tap-payments/os-micro-frontend-shared 0.0.296-test.3 → 0.0.296-test.4

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.
@@ -15,7 +15,7 @@ import { BrandsWrapper, Label, VerificationIcon } from './style';
15
15
  import { verificationIcon } from './constants';
16
16
  import Tooltip from '../../../Tooltip';
17
17
  import { Box } from '@mui/material';
18
- import IconWithBadge from '../../../IconWithBadge';
18
+ import Icon from '../../../Icon';
19
19
  export default function BrandsCell(_a) {
20
20
  var { brand, verificationStatus } = _a, props = __rest(_a, ["brand", "verificationStatus"]);
21
21
  const icon = verificationIcon[verificationStatus !== null && verificationStatus !== void 0 ? verificationStatus : 'incomplete'];
@@ -24,5 +24,5 @@ export default function BrandsCell(_a) {
24
24
  overlayIcon: icon ? _jsx(VerificationIcon, { src: icon }) : null,
25
25
  label: brand.name,
26
26
  };
27
- return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden' } }, { children: [_jsx(IconWithBadge, { mainIcon: item.icon, overlayIcon: item.overlayIcon }, item.label), _jsx(Label, { children: brand.name })] })) })) }) })));
27
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(BrandsWrapper, { children: _jsx(Tooltip, Object.assign({ title: brand.name }, { children: _jsxs(Box, Object.assign({ display: "flex", alignItems: "center", gap: '5px', sx: { overflow: 'hidden' } }, { children: [_jsx(Icon, { src: item.icon }, item.label), _jsx(Label, { children: brand.name })] })) })) }) })));
28
28
  }
@@ -7,8 +7,8 @@ export const StyledSourceCell = styled('span')(({ theme }) => ({
7
7
  gap: theme.spacing(1),
8
8
  }));
9
9
  export const StyledSourceImage = styled('img')(() => ({
10
- maxWidth: '12px',
11
- maxHeight: '12px',
10
+ maxWidth: '16px',
11
+ maxHeight: '16px',
12
12
  }));
13
13
  export const ReferenceSourcesContainer = styled(motion.span)(({ theme, sourcesCount }) => ({
14
14
  display: 'flex',
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.296-test.3",
5
- "testVersion": 3,
4
+ "version": "0.0.296-test.4",
5
+ "testVersion": 4,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",