@tap-payments/os-micro-frontend-shared 0.1.376-test.7 → 0.1.376-test.8

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.
@@ -31,13 +31,13 @@ function BalanceCell(_a) {
31
31
  }, [remainingAmount, currency]);
32
32
  if (percentage === 0)
33
33
  return null;
34
- return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Tooltip, Object.assign({ title: generatedTooltip }, { children: _jsx("div", { children: _jsxs(BalanceCellContainer, Object.assign({ whileHover: ['animate', 'fadeIn'], animate: "start", sx: {
34
+ return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(Tooltip, Object.assign({ title: generatedTooltip, placement: "top" }, { children: _jsx("div", { children: _jsxs(BalanceCellContainer, Object.assign({ whileHover: ['animate', 'fadeIn'], animate: "start", sx: {
35
35
  zIndex: 22,
36
36
  }, variants: {
37
37
  animate: {
38
38
  boxShadow: theme.shadows[4],
39
39
  },
40
- } }, { children: [_jsxs(PercentageContainer, Object.assign({ percentage: percentage }, { children: [percentage, "% ", _jsx(PiePercentage, { percentage: formatPercentage(percentage) })] })), _jsx(motion.div, Object.assign({ style: {
40
+ } }, { children: [_jsxs(PercentageContainer, Object.assign({ percentage: percentage }, { children: [percentage, "% ", _jsx(PiePercentage, { percentage: formatPercentage(percentage) })] })), days && (_jsx(motion.div, Object.assign({ style: {
41
41
  display: 'none',
42
42
  alignItems: 'center',
43
43
  justifyContent: 'center',
@@ -61,6 +61,6 @@ function BalanceCell(_a) {
61
61
  },
62
62
  opacity: 1,
63
63
  },
64
- } }, { children: days && _jsxs("span", { children: [days, " days left"] }) }))] })) }) })) })));
64
+ } }, { children: _jsxs("span", { children: [days, " days left"] }) })))] })) }) })) })));
65
65
  }
66
66
  export default BalanceCell;
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.376-test.7",
5
- "testVersion": 7,
4
+ "version": "0.1.376-test.8",
5
+ "testVersion": 8,
6
6
  "type": "module",
7
7
  "main": "build/index.js",
8
8
  "module": "build/index.js",