@tap-payments/os-micro-frontend-shared 0.1.109-test.6 → 0.1.109-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.
|
@@ -8,7 +8,7 @@ import { APP_WINDOW_Z_INDEX } from '../../constants/index.js';
|
|
|
8
8
|
import { useMouseState, useWindowDimensions } from '../../hooks/index.js';
|
|
9
9
|
import { isSafariBrowser } from '../../utils/index.js';
|
|
10
10
|
import JSONTitleBar from './components/ReceiptTitleBar';
|
|
11
|
-
import {
|
|
11
|
+
import { JSONContainer, TITLE_BAR_HEIGHT, VIEWER_HEIGHT, FOOTER_HEIGHT, } from './style';
|
|
12
12
|
const VIEWER_WIDTH = 400;
|
|
13
13
|
const animationDuration = 0.5;
|
|
14
14
|
export default function ReceiptViewer({ index, isWindowMinimized, windowOrder, onClose }) {
|
|
@@ -107,7 +107,7 @@ export default function ReceiptViewer({ index, isWindowMinimized, windowOrder, o
|
|
|
107
107
|
setTimeout(() => {
|
|
108
108
|
setIsToolbarAnimationDisabled(false);
|
|
109
109
|
}, animationDuration * 1000);
|
|
110
|
-
}, isHovered: isHovered, onMouseHover: onMouseEnter, onMouseLeave: onMouseLeave, maximized: isMaximized, id: "draggable-dialog-title" }) })),
|
|
110
|
+
}, isHovered: isHovered, onMouseHover: onMouseEnter, onMouseLeave: onMouseLeave, maximized: isMaximized, id: "draggable-dialog-title" }) })), _jsx(Box, Object.assign({ sx: {
|
|
111
111
|
display: 'flex',
|
|
112
112
|
flexDirection: 'row',
|
|
113
113
|
justifyContent: 'space-between',
|
|
@@ -118,8 +118,5 @@ export default function ReceiptViewer({ index, isWindowMinimized, windowOrder, o
|
|
|
118
118
|
background: 'transparent',
|
|
119
119
|
position: 'fixed',
|
|
120
120
|
width: '100%',
|
|
121
|
-
} }, { children:
|
|
122
|
-
flex: 1,
|
|
123
|
-
height: FOOTER_HEIGHT,
|
|
124
|
-
} }, { children: "footer" }))] }))] }) })) })) })));
|
|
121
|
+
} }, { children: _jsx(Box, Object.assign({ sx: (theme) => ({ background: theme.palette.common.white, width: '100%', height: '100%' }) }, { children: "Here new Content" })) }))] }) })) })) })));
|
|
125
122
|
}
|
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.109-test.
|
|
5
|
-
"testVersion":
|
|
4
|
+
"version": "0.1.109-test.8",
|
|
5
|
+
"testVersion": 8,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "build/index.js",
|
|
8
8
|
"module": "build/index.js",
|