@tap-payments/os-micro-frontend-shared 0.0.47 → 0.0.48

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.
@@ -24,7 +24,11 @@ const GroupIconChips = ({ children, className, getSourceAnimation, expandDirecti
24
24
  getSourceAnimation,
25
25
  expandDirection }));
26
26
  }), [children, getSourceAnimation, sourceCount, expandDirection]);
27
- return (_jsx(StyledSourceCell, Object.assign({ "data-testid": "styled-source-cell", sx: Object.assign({}, cellDimentions) }, { children: _jsx(SourcesContainer, Object.assign({ ref: animationContainerRef, id: "test", layout: true, className: className, whileHover: "animate", animate: "start", sourcesCount: sourceCount, variants: { animate: { width: sourceCount * (6 + 32) } }, style: {
27
+ return (_jsx(StyledSourceCell, Object.assign({ "data-testid": "styled-source-cell", sx: Object.assign({}, cellDimentions) }, { children: _jsx(SourcesContainer, Object.assign({ ref: animationContainerRef, layout: true, className: className, whileHover: "animate", animate: "start", sourcesCount: sourceCount, variants: {
28
+ animate: {
29
+ width: sourceCount * (6 + 32),
30
+ },
31
+ }, style: {
28
32
  zIndex: 29,
29
33
  } }, { children: overrideChildren })) })));
30
34
  };
@@ -39,7 +39,7 @@ export const StyledSourceCell = styled('span')(({ theme }) => ({
39
39
  gap: theme.spacing(1),
40
40
  position: 'relative',
41
41
  }));
42
- export const SourcesContainer = styled(motion.span)(({ theme, sourcesCount }) => ({
42
+ export const SourcesContainer = styled(motion.span)(({ sourcesCount }) => ({
43
43
  display: 'flex',
44
44
  alignItems: 'center',
45
45
  justifyContent: 'flex-start',
@@ -47,7 +47,7 @@ export const SourcesContainer = styled(motion.span)(({ theme, sourcesCount }) =>
47
47
  minWidth: `${sourcesCount * 6 + 36}px `,
48
48
  minHeight: '24px',
49
49
  cursor: 'pointer',
50
- backgroundColor: theme.palette.background.paper,
50
+ backgroundColor: 'transparent',
51
51
  borderRadius: '16px',
52
52
  }));
53
53
  export const defaultGetSourceAnimation = (params) => {
@@ -473,3 +473,4 @@ export declare const babyBlueCheckIcon: string;
473
473
  export declare const digitalReceiptIcon: string;
474
474
  export declare const bankNoteIcon: string;
475
475
  export declare const terminalDeviceFrame: string;
476
+ export declare const blackBrushIcon: string;
@@ -477,3 +477,4 @@ export const babyBlueCheckIcon = `${lightUrl}/babyBlueCheckIcon.svg`;
477
477
  export const digitalReceiptIcon = `${lightUrl}/digitalReceiptIcon.svg`;
478
478
  export const bankNoteIcon = `${lightUrl}/bankNoteIcon.svg`;
479
479
  export const terminalDeviceFrame = `${lightUrl}/terminalDeviceFrame.svg`;
480
+ export const blackBrushIcon = `${lightUrl}/blackBrushIcon.svg`;
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.0.47",
4
+ "version": "0.0.48",
5
5
  "type": "module",
6
6
  "main": "build/index.js",
7
7
  "module": "build/index.js",