@tap-payments/os-micro-frontend-shared 0.0.295 → 0.0.296-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.
|
@@ -3,9 +3,10 @@ export const BrandsWrapper = styled('div')(({ theme }) => ({
|
|
|
3
3
|
display: 'flex',
|
|
4
4
|
alignItems: 'center',
|
|
5
5
|
gap: theme.spacing(1),
|
|
6
|
+
border: '1 solid #F2F2F2',
|
|
6
7
|
borderRadius: '44px',
|
|
8
|
+
padding: '4px 8px',
|
|
7
9
|
lineHeight: '120%',
|
|
8
|
-
cursor: 'pointer',
|
|
9
10
|
}));
|
|
10
11
|
export const BrandName = styled('div')(({ theme }) => ({
|
|
11
12
|
fontSize: '14px',
|
|
@@ -32,7 +32,7 @@ function SegmentsCell(_a) {
|
|
|
32
32
|
}, onClose: () => {
|
|
33
33
|
setIsTooltipOpen(false);
|
|
34
34
|
}, title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: referenceSourceAnimation(index, theme.shadows[4], isTextShown ? 83 : 0), sx: {
|
|
35
|
-
width: isTextShown ? '79px' : '
|
|
35
|
+
width: isTextShown ? '79px' : '36px',
|
|
36
36
|
} }, { children: isTextShown ? (_jsx(ReferenceTextWrapper, { children: _jsx(ReferenceTextLabel, { children: startCase(segment) }) })) : (_jsx(StyledSourceImage, { src: (segmentData === null || segmentData === void 0 ? void 0 : segmentData.icon) || segmentsIcons[segment], alt: segment, sx: Object.assign(Object.assign({}, (segment === 'order' && { width: '11.82px' })), ((segmentData === null || segmentData === void 0 ? void 0 : segmentData.icon) && { borderRadius: '40px' })), onError: (e) => {
|
|
37
37
|
e.currentTarget.src = segmentsIcons[segment];
|
|
38
38
|
e.currentTarget.style.borderRadius = '0px';
|
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.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.0.296-test.1",
|
|
5
|
+
"testVersion": 1,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|
|
@@ -131,4 +131,4 @@
|
|
|
131
131
|
"publishConfig": {
|
|
132
132
|
"registry": "https://registry.npmjs.org/"
|
|
133
133
|
}
|
|
134
|
-
}
|
|
134
|
+
}
|