@tap-payments/os-micro-frontend-shared 0.1.123-test.1 → 0.1.123-test.3
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.
|
@@ -16,10 +16,8 @@ import { Box } from '@mui/material';
|
|
|
16
16
|
import { marketPlaceBlueIcon } from '../../../../constants/index.js';
|
|
17
17
|
export default function MarketPlaceCell(_a) {
|
|
18
18
|
var { marketPlaceIcon, marketPlaceName } = _a, props = __rest(_a, ["marketPlaceIcon", "marketPlaceName"]);
|
|
19
|
-
const logo = marketPlaceIcon !== null && marketPlaceIcon !== void 0 ? marketPlaceIcon : (_jsx("img", { src: marketPlaceBlueIcon, alt: "marketplace", style: { maxWidth: '18px', maxHeight: '18px', objectFit: 'cover' }
|
|
20
|
-
|
|
21
|
-
} }));
|
|
22
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: _jsx(Tooltip, Object.assign({ title: marketPlaceName }, { children: _jsx(Box, Object.assign({ sx: {
|
|
19
|
+
const logo = marketPlaceIcon !== null && marketPlaceIcon !== void 0 ? marketPlaceIcon : (_jsx("img", { src: marketPlaceBlueIcon, alt: "marketplace", style: { maxWidth: '18px', maxHeight: '18px', objectFit: 'cover' } }));
|
|
20
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: marketPlaceName && (_jsx(Tooltip, Object.assign({ title: marketPlaceName }, { children: _jsx(Box, Object.assign({ sx: {
|
|
23
21
|
width: '24px',
|
|
24
22
|
height: '24px',
|
|
25
23
|
border: '1px solid #F2F2F2',
|
|
@@ -27,5 +25,5 @@ export default function MarketPlaceCell(_a) {
|
|
|
27
25
|
display: 'flex',
|
|
28
26
|
alignItems: 'center',
|
|
29
27
|
justifyContent: 'center',
|
|
30
|
-
} }, { children: logo })) })) })) })));
|
|
28
|
+
} }, { children: logo })) }))) })) })));
|
|
31
29
|
}
|
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.123-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.123-test.3",
|
|
5
|
+
"testVersion": 3,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|