@tap-payments/os-micro-frontend-shared 0.1.398 → 0.1.399

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.
@@ -9,21 +9,20 @@ var __rest = (this && this.__rest) || function (s, e) {
9
9
  }
10
10
  return t;
11
11
  };
12
- import { jsx as _jsx } from "react/jsx-runtime";
13
- import Tooltip from '../../../Tooltip';
12
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
14
13
  import TableCell from '../../TableCell';
15
- import { Box } from '@mui/material';
14
+ import { Box, Typography } from '@mui/material';
16
15
  import { marketPlaceBlueIcon } from '../../../../constants/index.js';
17
16
  export default function MarketPlaceCell(_a) {
18
17
  var { marketPlaceIcon, marketPlaceName } = _a, props = __rest(_a, ["marketPlaceIcon", "marketPlaceName"]);
19
18
  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: {
21
- width: '24px',
22
- height: '24px',
23
- border: '1px solid #F2F2F2',
24
- borderRadius: '50%',
25
- display: 'flex',
26
- alignItems: 'center',
27
- justifyContent: 'center',
28
- } }, { children: logo })) }))) })) })));
19
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Box, Object.assign({ sx: { display: 'flex', alignItems: 'center', gap: 1 } }, { children: marketPlaceName && (_jsxs(_Fragment, { children: [_jsx(Box, Object.assign({ sx: {
20
+ width: '24px',
21
+ height: '24px',
22
+ border: '1px solid #F2F2F2',
23
+ borderRadius: '50%',
24
+ display: 'flex',
25
+ alignItems: 'center',
26
+ justifyContent: 'center',
27
+ } }, { children: logo })), _jsx(Typography, Object.assign({ sx: { fontSize: '14px', fontWeight: 400 } }, { children: marketPlaceName }))] })) })) })));
29
28
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
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.398",
4
+ "version": "0.1.399",
5
5
  "testVersion": 0,
6
6
  "type": "module",
7
7
  "main": "build/index.js",