@ape.swap/bonds-sdk 1.1.0-test.69 → 1.1.0-test.70
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.
- package/dist/components/BondRows/BondRow.d.ts +0 -1
- package/dist/main.js +2 -2
- package/dist/styles.css +4 -3
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -17767,14 +17767,14 @@ const IconButton = (_a) => {
|
|
|
17767
17767
|
|
|
17768
17768
|
const ModalHeader = (_a) => {
|
|
17769
17769
|
var { children, onDismiss, hideDivider } = _a, props = __rest(_a, ["children", "onDismiss", "hideDivider"]);
|
|
17770
|
-
return (jsxs(Fragment$1, { children: [jsxs(Flex$1, Object.assign({}, props, { sx: styles$b.modalHead, children: [children, onDismiss && jsx$2(IconButton, { icon: "close", color: "text", variant: "transparent", onClick: onDismiss })] })), !hideDivider && jsx$2(Divider, {})] }));
|
|
17770
|
+
return (jsxs(Fragment$1, { children: [jsxs(Flex$1, Object.assign({ className: 'modal-header-container' }, props, { sx: styles$b.modalHead, children: [children, onDismiss && jsx$2(IconButton, { icon: "close", color: "text", variant: "transparent", onClick: onDismiss })] })), !hideDivider && jsx$2(Divider, {})] }));
|
|
17771
17771
|
};
|
|
17772
17772
|
|
|
17773
17773
|
const Modal = (_a) => {
|
|
17774
17774
|
var { children, onDismiss, open = true, title, zIndex = 'modal', onAnimationComplete, backdrop } = _a, props = __rest(_a, ["children", "onDismiss", "open", "title", "zIndex", "onAnimationComplete", "backdrop"]);
|
|
17775
17775
|
const { handleClose } = useContext(Context);
|
|
17776
17776
|
const onClose = onDismiss || handleClose;
|
|
17777
|
-
return (jsxs(Box$1, { id: title, sx: { zIndex }, children: [jsx$2(AnimatePresence, { children: open && (jsxs(motion.div, Object.assign({ initial: {
|
|
17777
|
+
return (jsxs(Box$1, { className: 'modal-box', id: title, sx: { zIndex }, children: [jsx$2(AnimatePresence, { children: open && (jsxs(motion.div, Object.assign({ initial: {
|
|
17778
17778
|
opacity: 0,
|
|
17779
17779
|
transform: 'translate(-50%, -50%) scale(0.1)',
|
|
17780
17780
|
}, animate: {
|
package/dist/styles.css
CHANGED
|
@@ -59,7 +59,6 @@
|
|
|
59
59
|
width: 100%;
|
|
60
60
|
max-width: 700px;
|
|
61
61
|
min-width: 700px;
|
|
62
|
-
padding: 20px;
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
.gpt {
|
|
@@ -253,11 +252,13 @@
|
|
|
253
252
|
flex-direction: column;
|
|
254
253
|
justify-content: center;
|
|
255
254
|
font-size: 12px;
|
|
255
|
+
padding-top: 10px;
|
|
256
|
+
padding-bottom: 10px;
|
|
256
257
|
}
|
|
257
258
|
|
|
258
259
|
.text-container.row {
|
|
259
|
-
padding-top:
|
|
260
|
-
padding-bottom:
|
|
260
|
+
padding-top: 5px;
|
|
261
|
+
padding-bottom: 5px;
|
|
261
262
|
display: flex;
|
|
262
263
|
flex-direction: row;
|
|
263
264
|
justify-content: space-between;
|