@coinswap-app/uikit 1.0.5 → 1.0.7
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/AddToCap/AddToCap.d.ts +56 -1
- package/dist/components/Button/Button.d.ts +1 -1
- package/dist/components/Button/IconButton.d.ts +55 -1
- package/dist/components/Button/types.d.ts +7 -3
- package/dist/components/Card/CardBody.d.ts +3 -1
- package/dist/components/Card/CardFooter.d.ts +3 -1
- package/dist/components/Card/types.d.ts +4 -0
- package/dist/components/EarnedCarouselWrapper/EarnedCarouselWrapperHeader.d.ts +3 -1
- package/dist/components/EarnedWrapper/EarnedWrapperHeader.d.ts +3 -1
- package/dist/components/Heading/Heading.d.ts +2 -2
- package/dist/components/InfoBox/InfoBoxBody.d.ts +3 -1
- package/dist/components/InfoBox/InfoBoxFooter.d.ts +3 -1
- package/dist/components/Link/Link.d.ts +1 -1
- package/dist/components/Overlay/Overlay.d.ts +2 -2
- package/dist/components/Radio/Radio.d.ts +2 -2
- package/dist/components/Svg/types.d.ts +2 -2
- package/dist/components/Text/types.d.ts +2 -0
- package/dist/index.cjs.js +328 -321
- package/dist/index.esm.js +328 -321
- package/dist/widgets/ConnectVerifyPanel/components/ChangeProviderButton.d.ts +55 -1
- package/dist/widgets/ConnectVerifyPanel/components/LogoutButton.d.ts +55 -1
- package/dist/widgets/ConnectVerifyPanel/components/SettingsButton.d.ts +55 -1
- package/dist/widgets/Menu/components/MenuButton.d.ts +1 -1
- package/package.json +1 -2
package/dist/index.esm.js
CHANGED
|
@@ -19,7 +19,6 @@ import { useDropzone } from 'react-dropzone';
|
|
|
19
19
|
import { TextField } from '@mui/material';
|
|
20
20
|
import noop from 'lodash/noop';
|
|
21
21
|
import _, { some } from 'lodash';
|
|
22
|
-
import FacebookShare from 'react-facebook-share-link';
|
|
23
22
|
import { Link as Link$1, NavLink, useLocation } from 'react-router-dom';
|
|
24
23
|
import { useWeb3React } from '@web3-react/core';
|
|
25
24
|
import { CSSTransition, TransitionGroup } from 'react-transition-group';
|
|
@@ -312,26 +311,33 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
312
311
|
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
313
312
|
var rotate$1 = keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
314
313
|
var spinStyle = css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
315
|
-
var Svg = styled("svg")
|
|
314
|
+
var Svg = styled("svg").withConfig({
|
|
315
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
316
|
+
return !['$spin', '$opac'].includes(prop);
|
|
317
|
+
}
|
|
318
|
+
})(_templateObject3$O || (_templateObject3$O = _taggedTemplateLiteral(["\n fill: ", ";\n flex-shrink: 0;\n width: ", ";\n xmlns: ", ";\n\n ", "\n ", "\n path {\n fill: ", ";\n //Opacity set on 0.5\n fill-opacity: ", ";\n }\n"])), function (_ref) {
|
|
316
319
|
var theme = _ref.theme,
|
|
317
|
-
color = _ref.color
|
|
320
|
+
_ref$color = _ref.color,
|
|
321
|
+
color = _ref$color === void 0 ? "text" : _ref$color;
|
|
318
322
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
319
323
|
}, function (_ref2) {
|
|
320
|
-
var
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
324
|
+
var _ref2$width = _ref2.width,
|
|
325
|
+
width = _ref2$width === void 0 ? "20px" : _ref2$width;
|
|
326
|
+
return width;
|
|
327
|
+
}, function (_ref3) {
|
|
328
|
+
var _ref3$xmlns = _ref3.xmlns,
|
|
329
|
+
xmlns = _ref3$xmlns === void 0 ? "http://www.w3.org/2000/svg" : _ref3$xmlns;
|
|
330
|
+
return xmlns;
|
|
325
331
|
}, function (_ref4) {
|
|
326
|
-
var
|
|
327
|
-
return
|
|
332
|
+
var $spin = _ref4.$spin;
|
|
333
|
+
return $spin && spinStyle;
|
|
334
|
+
}, space, function (_ref5) {
|
|
335
|
+
var fill = _ref5.fill;
|
|
336
|
+
return fill;
|
|
337
|
+
}, function (_ref6) {
|
|
338
|
+
var $opac = _ref6.$opac;
|
|
339
|
+
return $opac ? 1 : 0.5;
|
|
328
340
|
});
|
|
329
|
-
Svg.defaultProps = {
|
|
330
|
-
color: "text",
|
|
331
|
-
width: "20px",
|
|
332
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
333
|
-
spin: false
|
|
334
|
-
};
|
|
335
341
|
|
|
336
342
|
var Icon$2H = function Icon(props) {
|
|
337
343
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -388,20 +394,21 @@ var getColor$1 = function getColor(_ref) {
|
|
|
388
394
|
};
|
|
389
395
|
var getFontSize = function getFontSize(_ref2) {
|
|
390
396
|
var fontSize = _ref2.fontSize,
|
|
391
|
-
small = _ref2
|
|
392
|
-
return small ? "14px" : fontSize || "16px";
|
|
397
|
+
$small = _ref2.$small;
|
|
398
|
+
return $small ? "14px" : fontSize || "16px";
|
|
393
399
|
};
|
|
394
|
-
var Text = styled.div
|
|
395
|
-
|
|
396
|
-
|
|
400
|
+
var Text = styled.div.withConfig({
|
|
401
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
402
|
+
return !['$bold', '$small'].includes(prop);
|
|
403
|
+
}
|
|
404
|
+
})(_templateObject$2a || (_templateObject$2a = _taggedTemplateLiteral(["\n color: ", ";\n font-size: ", ";\n font-weight: ", ";\n line-height: 1.5;\n ", "\n ", "\n ", "\n"])), getColor$1, getFontSize, function (_ref3) {
|
|
405
|
+
var $bold = _ref3.$bold,
|
|
406
|
+
bold = _ref3.bold;
|
|
407
|
+
return $bold || bold ? 700 : 400;
|
|
397
408
|
}, function (_ref4) {
|
|
398
409
|
var textTransform = _ref4.textTransform;
|
|
399
410
|
return textTransform && "text-transform: ".concat(textTransform, ";");
|
|
400
411
|
}, space, typography);
|
|
401
|
-
Text.defaultProps = {
|
|
402
|
-
color: "text",
|
|
403
|
-
small: false
|
|
404
|
-
};
|
|
405
412
|
|
|
406
413
|
var getExternalLinkProps = function getExternalLinkProps() {
|
|
407
414
|
return {
|
|
@@ -443,9 +450,9 @@ var variants$4 = {
|
|
|
443
450
|
|
|
444
451
|
var _templateObject$29;
|
|
445
452
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
446
|
-
var isLoading = _ref
|
|
453
|
+
var $isLoading = _ref.$isLoading,
|
|
447
454
|
theme = _ref.theme;
|
|
448
|
-
if (isLoading === true) {
|
|
455
|
+
if ($isLoading === true) {
|
|
449
456
|
return "\n &:disabled,\n &.button--disabled {\n cursor: not-allowed;\n }\n ";
|
|
450
457
|
}
|
|
451
458
|
return "\n &:disabled,\n &.button--disabled {\n background-color: ".concat(theme.colors.backgroundDisabled, ";\n border-color: ").concat(theme.colors.backgroundDisabled, ";\n box-shadow: none;\n color: ").concat(theme.colors.textDisabled, ";\n cursor: not-allowed;\n }\n ");
|
|
@@ -466,12 +473,17 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
466
473
|
return theme.button[variant][prop];
|
|
467
474
|
};
|
|
468
475
|
};
|
|
469
|
-
var StyledButton$2 = styled.button
|
|
470
|
-
|
|
471
|
-
|
|
476
|
+
var StyledButton$2 = styled.button.withConfig({
|
|
477
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
478
|
+
return !['$fullWidth', '$isLoading', '$white'].includes(prop);
|
|
479
|
+
}
|
|
480
|
+
})(_templateObject$29 || (_templateObject$29 = _taggedTemplateLiteral(["\n align-items: center;\n background-color: ", ";\n border: ", ";\n border-radius: 10px;\n color: ", ";\n cursor: pointer;\n display: inline-flex;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n padding: ", ";\n transition: background-color 0.2s;\n opacity: ", ";\n\n &:hover:not(:disabled):not(.button--disabled):not(:active) {\n background-color: ", ";\n border-color: ", ";\n }\n\n &:focus:not(:active) {\n box-shadow: 0 0 0 1px ", ";\n }\n\n &:active {\n background-color: ", ";\n box-shadow: ", ";\n }\n\n ", "\n ", "\n ", "\n"])), getButtonVariantProp$3("background"), getButtonVariantProp$3("border"), function (_ref4) {
|
|
481
|
+
var $white = _ref4.$white;
|
|
482
|
+
return $white ? "white" : getButtonVariantProp$3("color");
|
|
472
483
|
}, function (_ref5) {
|
|
473
|
-
var fullWidth = _ref5
|
|
474
|
-
|
|
484
|
+
var _ref5$$fullWidth = _ref5.$fullWidth,
|
|
485
|
+
$fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
|
|
486
|
+
return $fullWidth ? "100%" : "max-content";
|
|
475
487
|
}, function (_ref6) {
|
|
476
488
|
var size = _ref6.size;
|
|
477
489
|
return size === "sm" ? "32px" : "40px";
|
|
@@ -479,49 +491,51 @@ var StyledButton$2 = styled.button(_templateObject$29 || (_templateObject$29 = _
|
|
|
479
491
|
var size = _ref7.size;
|
|
480
492
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
481
493
|
}, function (_ref8) {
|
|
482
|
-
var isLoading = _ref8
|
|
483
|
-
|
|
494
|
+
var _ref8$$isLoading = _ref8.$isLoading,
|
|
495
|
+
$isLoading = _ref8$$isLoading === void 0 ? false : _ref8$$isLoading;
|
|
496
|
+
return $isLoading ? 0.5 : 1;
|
|
484
497
|
}, getButtonVariantProp$3("backgroundHover"), getButtonVariantProp$3("borderColorHover"), function (_ref9) {
|
|
485
498
|
var theme = _ref9.theme;
|
|
486
499
|
return theme.colors.secondary;
|
|
487
500
|
}, getButtonVariantProp$3("backgroundActive"), getButtonVariantProp$3("boxShadowActive"), getDisabledStyles$3, removePointerEvents$3, space);
|
|
488
|
-
StyledButton$2.defaultProps = {
|
|
489
|
-
fullWidth: false,
|
|
490
|
-
type: "button"
|
|
491
|
-
};
|
|
492
501
|
|
|
493
|
-
var _excluded$12 = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "white"];
|
|
494
|
-
var Button$1 = function
|
|
502
|
+
var _excluded$12 = ["startIcon", "style", "endIcon", "children", "external", "$isLoading", "disabled", "$white", "$fullWidth", "fullWidth", "isLoading", "white"];
|
|
503
|
+
var Button$1 = /*#__PURE__*/React__default.forwardRef(function (_ref) {
|
|
495
504
|
var startIcon = _ref.startIcon,
|
|
496
505
|
style = _ref.style,
|
|
497
506
|
endIcon = _ref.endIcon,
|
|
498
507
|
children = _ref.children,
|
|
499
|
-
external = _ref.external,
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
508
|
+
_ref$external = _ref.external,
|
|
509
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
510
|
+
$isLoadingProp = _ref.$isLoading,
|
|
511
|
+
_ref$disabled = _ref.disabled,
|
|
512
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
513
|
+
$whiteProp = _ref.$white,
|
|
514
|
+
$fullWidthProp = _ref.$fullWidth,
|
|
515
|
+
fullWidthProp = _ref.fullWidth,
|
|
516
|
+
isLoadingProp = _ref.isLoading,
|
|
517
|
+
whiteProp = _ref.white,
|
|
503
518
|
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
504
519
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
505
|
-
var
|
|
520
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
521
|
+
var $white = $whiteProp || whiteProp;
|
|
522
|
+
var $fullWidth = $fullWidthProp || fullWidthProp;
|
|
523
|
+
var isDisabled = $isLoading || disabled;
|
|
506
524
|
return /*#__PURE__*/jsxs(StyledButton$2, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
507
|
-
isLoading: isLoading,
|
|
525
|
+
$isLoading: $isLoading,
|
|
508
526
|
disabled: isDisabled,
|
|
509
527
|
style: style,
|
|
510
|
-
white: white,
|
|
528
|
+
$white: $white,
|
|
529
|
+
$fullWidth: $fullWidth,
|
|
530
|
+
type: props.type || "button",
|
|
511
531
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
512
532
|
mr: "0.5rem"
|
|
513
533
|
}), children, /*#__PURE__*/React__default.isValidElement(endIcon) && /*#__PURE__*/React__default.cloneElement(endIcon, {
|
|
514
534
|
ml: "0.5rem"
|
|
515
535
|
})]
|
|
516
536
|
}));
|
|
517
|
-
};
|
|
518
|
-
Button$1.
|
|
519
|
-
variant: variants$4.PRIMARY,
|
|
520
|
-
size: sizes$2.MD,
|
|
521
|
-
external: false,
|
|
522
|
-
isLoading: false,
|
|
523
|
-
disabled: false
|
|
524
|
-
};
|
|
537
|
+
});
|
|
538
|
+
Button$1.displayName = "Button";
|
|
525
539
|
|
|
526
540
|
var Icon$2D = function Icon(props) {
|
|
527
541
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -7919,7 +7933,7 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7919
7933
|
extended: extended,
|
|
7920
7934
|
children: children
|
|
7921
7935
|
}), /*#__PURE__*/jsx(Icon$1l, {
|
|
7922
|
-
opac: true
|
|
7936
|
+
$opac: true
|
|
7923
7937
|
})]
|
|
7924
7938
|
});
|
|
7925
7939
|
};
|
|
@@ -7947,9 +7961,9 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7947
7961
|
},
|
|
7948
7962
|
extended: extended,
|
|
7949
7963
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
7950
|
-
opac: true
|
|
7964
|
+
$opac: true
|
|
7951
7965
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
7952
|
-
opac: true,
|
|
7966
|
+
$opac: true,
|
|
7953
7967
|
display: extended ? "block" : "none"
|
|
7954
7968
|
})]
|
|
7955
7969
|
});
|
|
@@ -8394,21 +8408,25 @@ var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({},
|
|
|
8394
8408
|
fontSize: "48px",
|
|
8395
8409
|
fontSizeLg: "64px"
|
|
8396
8410
|
});
|
|
8397
|
-
var Heading = styled(Text).attrs({
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8411
|
+
var Heading = styled(Text).attrs(function (_ref) {
|
|
8412
|
+
var _ref$as = _ref.as,
|
|
8413
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
8414
|
+
return {
|
|
8415
|
+
bold: true,
|
|
8416
|
+
as: as
|
|
8417
|
+
};
|
|
8418
|
+
})(_templateObject$1$ || (_templateObject$1$ = _taggedTemplateLiteral(["\n font-size: ", ";\n font-weight: 600;\n line-height: 1.1;\n\n ", " {\n font-size: ", ";\n }\n"])), function (_ref2) {
|
|
8419
|
+
var _ref2$size = _ref2.size,
|
|
8420
|
+
size = _ref2$size === void 0 ? sizes$1.MD : _ref2$size;
|
|
8421
|
+
return style[size].fontSize;
|
|
8405
8422
|
}, function (_ref3) {
|
|
8406
|
-
var
|
|
8407
|
-
return
|
|
8423
|
+
var theme = _ref3.theme;
|
|
8424
|
+
return theme.mediaQueries.lg;
|
|
8425
|
+
}, function (_ref4) {
|
|
8426
|
+
var _ref4$size = _ref4.size,
|
|
8427
|
+
size = _ref4$size === void 0 ? sizes$1.MD : _ref4$size;
|
|
8428
|
+
return style[size].fontSizeLg;
|
|
8408
8429
|
});
|
|
8409
|
-
Heading.defaultProps = {
|
|
8410
|
-
as: tags.H2
|
|
8411
|
-
};
|
|
8412
8430
|
|
|
8413
8431
|
var _templateObject$1_, _templateObject2$12, _templateObject3$M, _templateObject4$x;
|
|
8414
8432
|
var StyledModal = styled.div(_templateObject$1_ || (_templateObject$1_ = _taggedTemplateLiteral(["\n background: ", ";\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n @-moz-document url-prefix() {\n background: #191921 !important;\n }\n border-radius: 15px;\n width: 100%;\n z-index: 99;\n overflow-y: auto;\n padding-bottom: 8px;\n ", " {\n width: auto;\n min-width: 360px;\n max-width: 100%;\n max-height: 80%;\n }\n ", " {\n max-height: 80vh;\n }\n"])), function (_ref) {
|
|
@@ -8453,7 +8471,7 @@ var Modal = function Modal(_ref4) {
|
|
|
8453
8471
|
"aria-label": "Close the dialog",
|
|
8454
8472
|
children: /*#__PURE__*/jsx(Icon$2j, {
|
|
8455
8473
|
color: "primary",
|
|
8456
|
-
opac: true
|
|
8474
|
+
$opac: true
|
|
8457
8475
|
})
|
|
8458
8476
|
})]
|
|
8459
8477
|
}), /*#__PURE__*/jsx(Flex, {
|
|
@@ -8465,22 +8483,29 @@ var Modal = function Modal(_ref4) {
|
|
|
8465
8483
|
};
|
|
8466
8484
|
|
|
8467
8485
|
var _templateObject$1Z;
|
|
8468
|
-
var Overlay = styled.div.attrs({
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8486
|
+
var Overlay = styled.div.attrs(function (_ref) {
|
|
8487
|
+
var _ref$show = _ref.show,
|
|
8488
|
+
show = _ref$show === void 0 ? false : _ref$show,
|
|
8489
|
+
_ref$zIndex = _ref.zIndex,
|
|
8490
|
+
zIndex = _ref$zIndex === void 0 ? 10 : _ref$zIndex;
|
|
8491
|
+
return {
|
|
8492
|
+
role: "presentation",
|
|
8493
|
+
show: show,
|
|
8494
|
+
zIndex: zIndex
|
|
8495
|
+
};
|
|
8496
|
+
})(_templateObject$1Z || (_templateObject$1Z = _taggedTemplateLiteral(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: rgb(22, 22, 29);\n transition: opacity 0.4s;\n opacity: ", ";\n z-index: ", ";\n pointer-events: ", ";\n"])), function (_ref2) {
|
|
8497
|
+
var _ref2$show = _ref2.show,
|
|
8498
|
+
show = _ref2$show === void 0 ? false : _ref2$show;
|
|
8472
8499
|
return show ? 0.6 : 0;
|
|
8473
|
-
}, function (_ref2) {
|
|
8474
|
-
var zIndex = _ref2.zIndex;
|
|
8475
|
-
return zIndex;
|
|
8476
8500
|
}, function (_ref3) {
|
|
8477
|
-
var
|
|
8501
|
+
var _ref3$zIndex = _ref3.zIndex,
|
|
8502
|
+
zIndex = _ref3$zIndex === void 0 ? 10 : _ref3$zIndex;
|
|
8503
|
+
return zIndex;
|
|
8504
|
+
}, function (_ref4) {
|
|
8505
|
+
var _ref4$show = _ref4.show,
|
|
8506
|
+
show = _ref4$show === void 0 ? false : _ref4$show;
|
|
8478
8507
|
return show ? "initial" : "none";
|
|
8479
8508
|
});
|
|
8480
|
-
Overlay.defaultProps = {
|
|
8481
|
-
show: false,
|
|
8482
|
-
zIndex: 10
|
|
8483
|
-
};
|
|
8484
8509
|
|
|
8485
8510
|
var _templateObject$1Y;
|
|
8486
8511
|
var ModalWrapper = styled.div(_templateObject$1Y || (_templateObject$1Y = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: ", ";\n ", " {\n justify-content: flex-start;\n padding-top: 50px;\n }\n"])), function (_ref) {
|
|
@@ -8825,7 +8850,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8825
8850
|
_useCookies2[0];
|
|
8826
8851
|
_useCookies2[1];
|
|
8827
8852
|
return /*#__PURE__*/jsxs(Button$1, {
|
|
8828
|
-
fullWidth: true,
|
|
8853
|
+
$fullWidth: true,
|
|
8829
8854
|
variant: buttonVariant.OUTLINE,
|
|
8830
8855
|
onClick: function onClick() {
|
|
8831
8856
|
login(walletConfig.connectorId, title);
|
|
@@ -8843,7 +8868,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8843
8868
|
children: title
|
|
8844
8869
|
}), /*#__PURE__*/jsx(Icon, {
|
|
8845
8870
|
width: "20px",
|
|
8846
|
-
opac: true
|
|
8871
|
+
$opac: true
|
|
8847
8872
|
})]
|
|
8848
8873
|
});
|
|
8849
8874
|
};
|
|
@@ -8874,21 +8899,23 @@ var ConnectModal = function ConnectModal(_ref) {
|
|
|
8874
8899
|
});
|
|
8875
8900
|
};
|
|
8876
8901
|
|
|
8877
|
-
var _excluded$p = ["external"];
|
|
8902
|
+
var _excluded$p = ["external", "color"];
|
|
8878
8903
|
var _templateObject$1X;
|
|
8879
8904
|
var StyledLink$1 = styled(Text)(_templateObject$1X || (_templateObject$1X = _taggedTemplateLiteral(["\n display: flex;\n align-items: center;\n width: fit-content;\n margin-right: 21px;\n &:hover {\n text-decoration: underline;\n }\n"])));
|
|
8880
|
-
var Link = function
|
|
8905
|
+
var Link = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
8881
8906
|
var external = _ref.external,
|
|
8907
|
+
_ref$color = _ref.color,
|
|
8908
|
+
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
8882
8909
|
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
8883
8910
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
8884
8911
|
return /*#__PURE__*/jsx(StyledLink$1, _objectSpread2(_objectSpread2({
|
|
8912
|
+
ref: ref,
|
|
8885
8913
|
as: "a",
|
|
8886
|
-
bold: true
|
|
8914
|
+
bold: true,
|
|
8915
|
+
color: color
|
|
8887
8916
|
}, internalProps), props));
|
|
8888
|
-
};
|
|
8889
|
-
Link.
|
|
8890
|
-
color: "primary"
|
|
8891
|
-
};
|
|
8917
|
+
});
|
|
8918
|
+
Link.displayName = "Link";
|
|
8892
8919
|
|
|
8893
8920
|
var _excluded$o = ["children"];
|
|
8894
8921
|
var LinkExternal = function LinkExternal(_ref) {
|
|
@@ -8901,7 +8928,7 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
8901
8928
|
color: "primary",
|
|
8902
8929
|
ml: "10px",
|
|
8903
8930
|
width: 15,
|
|
8904
|
-
opac: true
|
|
8931
|
+
$opac: true
|
|
8905
8932
|
})]
|
|
8906
8933
|
}));
|
|
8907
8934
|
};
|
|
@@ -9494,10 +9521,6 @@ var StyledButton$1 = styled.button(_templateObject$1R || (_templateObject$1R = _
|
|
|
9494
9521
|
var theme = _ref10.theme;
|
|
9495
9522
|
return theme.colors.primary;
|
|
9496
9523
|
}, getDisabledStyles$2, removePointerEvents$2, space);
|
|
9497
|
-
StyledButton$1.defaultProps = {
|
|
9498
|
-
fullWidth: false,
|
|
9499
|
-
type: "button"
|
|
9500
|
-
};
|
|
9501
9524
|
|
|
9502
9525
|
var _excluded$m = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "lined"];
|
|
9503
9526
|
var Button = function Button(_ref) {
|
|
@@ -9505,9 +9528,12 @@ var Button = function Button(_ref) {
|
|
|
9505
9528
|
style = _ref.style,
|
|
9506
9529
|
endIcon = _ref.endIcon,
|
|
9507
9530
|
children = _ref.children,
|
|
9508
|
-
external = _ref.external,
|
|
9509
|
-
|
|
9510
|
-
|
|
9531
|
+
_ref$external = _ref.external,
|
|
9532
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
9533
|
+
_ref$isLoading = _ref.isLoading,
|
|
9534
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
9535
|
+
_ref$disabled = _ref.disabled,
|
|
9536
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9511
9537
|
lined = _ref.lined,
|
|
9512
9538
|
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
9513
9539
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
@@ -9526,13 +9552,6 @@ var Button = function Button(_ref) {
|
|
|
9526
9552
|
})]
|
|
9527
9553
|
}));
|
|
9528
9554
|
};
|
|
9529
|
-
Button.defaultProps = {
|
|
9530
|
-
variant: variants$2.PRIMARY,
|
|
9531
|
-
size: sizes.MD,
|
|
9532
|
-
external: false,
|
|
9533
|
-
isLoading: false,
|
|
9534
|
-
disabled: false
|
|
9535
|
-
};
|
|
9536
9555
|
|
|
9537
9556
|
var getColor = function getColor(color, theme) {
|
|
9538
9557
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
@@ -9563,7 +9582,11 @@ var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide
|
|
|
9563
9582
|
var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
|
|
9564
9583
|
var ButtonBody = styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9565
9584
|
var ButtonTag = styled(StyledTag)(_templateObject2$Z || (_templateObject2$Z = _taggedTemplateLiteral(["\n margin-left: 7px;\n font-weight: bold;\n font-size: 11px;\n padding: 1px 5px;\n height: unset;\n border-width: 1px;\n"])));
|
|
9566
|
-
var InactiveButton$1 = styled(Button)
|
|
9585
|
+
var InactiveButton$1 = styled(Button).withConfig({
|
|
9586
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9587
|
+
return prop !== 'colorKey';
|
|
9588
|
+
}
|
|
9589
|
+
})(_templateObject3$L || (_templateObject3$L = _taggedTemplateLiteral(["\n background-color: transparent;\n color: #535459;\n .dot {\n background-color: transparent;\n }\n\n &:hover:not(:disabled):not(:active) {\n background-color: transparent;\n }\n"])));
|
|
9567
9590
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9568
9591
|
var _ref$isActive = _ref.isActive,
|
|
9569
9592
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9673,10 +9696,6 @@ var StyledButtonActivity = styled.button(_templateObject$1N || (_templateObject$
|
|
|
9673
9696
|
var size = _ref6.size;
|
|
9674
9697
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
9675
9698
|
}, getButtonVariantProp$1("borderColorHover"), getDisabledStyles$1, removePointerEvents$1, space);
|
|
9676
|
-
StyledButtonActivity.defaultProps = {
|
|
9677
|
-
fullWidth: false,
|
|
9678
|
-
type: "button"
|
|
9679
|
-
};
|
|
9680
9699
|
|
|
9681
9700
|
var _excluded$k = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
9682
9701
|
var ButtonActivity = function ButtonActivity(_ref) {
|
|
@@ -9684,9 +9703,12 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9684
9703
|
style = _ref.style,
|
|
9685
9704
|
endIcon = _ref.endIcon,
|
|
9686
9705
|
children = _ref.children,
|
|
9687
|
-
external = _ref.external,
|
|
9688
|
-
|
|
9689
|
-
|
|
9706
|
+
_ref$external = _ref.external,
|
|
9707
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
9708
|
+
_ref$isLoading = _ref.isLoading,
|
|
9709
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
9710
|
+
_ref$disabled = _ref.disabled,
|
|
9711
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9690
9712
|
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
9691
9713
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
9692
9714
|
var isDisabled = isLoading || disabled;
|
|
@@ -9701,13 +9723,6 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9701
9723
|
})]
|
|
9702
9724
|
}));
|
|
9703
9725
|
};
|
|
9704
|
-
ButtonActivity.defaultProps = {
|
|
9705
|
-
variant: variants$2.PRIMARY,
|
|
9706
|
-
size: sizes.MD,
|
|
9707
|
-
external: false,
|
|
9708
|
-
isLoading: false,
|
|
9709
|
-
disabled: false
|
|
9710
|
-
};
|
|
9711
9726
|
|
|
9712
9727
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9713
9728
|
var _templateObject$1M;
|
|
@@ -9776,10 +9791,6 @@ var StyledButtonSwitch = styled.button(_templateObject$1L || (_templateObject$1L
|
|
|
9776
9791
|
active = _ref7.active;
|
|
9777
9792
|
return active ? theme.colors.primary : theme.colors.grey;
|
|
9778
9793
|
}, getDisabledStyles, removePointerEvents, space);
|
|
9779
|
-
StyledButtonSwitch.defaultProps = {
|
|
9780
|
-
fullWidth: false,
|
|
9781
|
-
type: "button"
|
|
9782
|
-
};
|
|
9783
9794
|
|
|
9784
9795
|
var _excluded$i = ["style", "children", "isLoading", "disabled", "active"];
|
|
9785
9796
|
var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
@@ -9829,7 +9840,8 @@ var StyledToggle = styled.div(_templateObject3$K || (_templateObject3$K = _tagge
|
|
|
9829
9840
|
var _excluded$h = ["checked", "variant"];
|
|
9830
9841
|
var Toggle$1 = function Toggle(_ref) {
|
|
9831
9842
|
var checked = _ref.checked,
|
|
9832
|
-
variant = _ref.variant,
|
|
9843
|
+
_ref$variant = _ref.variant,
|
|
9844
|
+
variant = _ref$variant === void 0 ? variants$1.PANEL : _ref$variant,
|
|
9833
9845
|
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
9834
9846
|
var isChecked = !!checked;
|
|
9835
9847
|
var disabled = props.disabled,
|
|
@@ -9849,9 +9861,6 @@ var Toggle$1 = function Toggle(_ref) {
|
|
|
9849
9861
|
})]
|
|
9850
9862
|
}));
|
|
9851
9863
|
};
|
|
9852
|
-
Toggle$1.defaultProps = {
|
|
9853
|
-
variant: variants$1.PANEL
|
|
9854
|
-
};
|
|
9855
9864
|
|
|
9856
9865
|
var _excluded$g = ["onClick", "active"];
|
|
9857
9866
|
var ButtonSwitchMenuItem = function ButtonSwitchMenuItem(_ref) {
|
|
@@ -9907,22 +9916,32 @@ var _templateObject$1I;
|
|
|
9907
9916
|
* Priority: Warning --> Success --> Active
|
|
9908
9917
|
*/
|
|
9909
9918
|
var getBoxShadow$2 = function getBoxShadow(_ref) {
|
|
9910
|
-
var isActive = _ref
|
|
9919
|
+
var $isActive = _ref.$isActive,
|
|
9920
|
+
isActive = _ref.isActive,
|
|
9921
|
+
$isSuccess = _ref.$isSuccess,
|
|
9911
9922
|
isSuccess = _ref.isSuccess,
|
|
9923
|
+
$isWarning = _ref.$isWarning,
|
|
9912
9924
|
isWarning = _ref.isWarning,
|
|
9913
9925
|
theme = _ref.theme;
|
|
9914
|
-
|
|
9926
|
+
var isWarningValue = $isWarning || isWarning;
|
|
9927
|
+
var isSuccessValue = $isSuccess || isSuccess;
|
|
9928
|
+
var isActiveValue = $isActive || isActive;
|
|
9929
|
+
if (isWarningValue) {
|
|
9915
9930
|
return theme.card.boxShadowWarning;
|
|
9916
9931
|
}
|
|
9917
|
-
if (
|
|
9932
|
+
if (isSuccessValue) {
|
|
9918
9933
|
return theme.card.boxShadowSuccess;
|
|
9919
9934
|
}
|
|
9920
|
-
if (
|
|
9935
|
+
if (isActiveValue) {
|
|
9921
9936
|
return theme.card.boxShadowActive;
|
|
9922
9937
|
}
|
|
9923
9938
|
return theme.card.boxShadow;
|
|
9924
9939
|
};
|
|
9925
|
-
var StyledCard = styled.div
|
|
9940
|
+
var StyledCard = styled.div.withConfig({
|
|
9941
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9942
|
+
return !['$isActive', '$isSuccess', '$isWarning', '$isDisabled'].includes(prop);
|
|
9943
|
+
}
|
|
9944
|
+
})(_templateObject$1I || (_templateObject$1I = _taggedTemplateLiteral(["\n background: ", ";\n @-moz-document url-prefix() {\n background: rgba(36, 36, 36, 0.95) !important;\n }\n box-shadow: 0 13px 20px rgba(0, 0, 0, 0.25);\n border: 1px solid ", ";\n border-radius: 15px;\n box-shadow: ", ";\n color: ", ";\n overflow: hidden;\n position: relative;\n padding: 30px;\n\n ", "\n"])), function (_ref2) {
|
|
9926
9945
|
var theme = _ref2.theme;
|
|
9927
9946
|
return theme.colors.card;
|
|
9928
9947
|
}, function (_ref3) {
|
|
@@ -9930,15 +9949,10 @@ var StyledCard = styled.div(_templateObject$1I || (_templateObject$1I = _taggedT
|
|
|
9930
9949
|
return theme.colors.white7;
|
|
9931
9950
|
}, getBoxShadow$2, function (_ref4) {
|
|
9932
9951
|
var theme = _ref4.theme,
|
|
9952
|
+
$isDisabled = _ref4.$isDisabled,
|
|
9933
9953
|
isDisabled = _ref4.isDisabled;
|
|
9934
|
-
return theme.colors[isDisabled ? "textDisabled" : "text"];
|
|
9954
|
+
return theme.colors[$isDisabled || isDisabled ? "textDisabled" : "text"];
|
|
9935
9955
|
}, space);
|
|
9936
|
-
StyledCard.defaultProps = {
|
|
9937
|
-
isActive: false,
|
|
9938
|
-
isSuccess: false,
|
|
9939
|
-
isWarning: false,
|
|
9940
|
-
isDisabled: false
|
|
9941
|
-
};
|
|
9942
9956
|
|
|
9943
9957
|
var _excluded$f = ["ribbon", "children"];
|
|
9944
9958
|
var Card = function Card(_ref) {
|
|
@@ -9951,20 +9965,25 @@ var Card = function Card(_ref) {
|
|
|
9951
9965
|
};
|
|
9952
9966
|
|
|
9953
9967
|
var _templateObject$1H;
|
|
9954
|
-
var CardBody = styled.div(
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9968
|
+
var CardBody = styled.div.attrs(function (_ref) {
|
|
9969
|
+
var _ref$p = _ref.p,
|
|
9970
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
9971
|
+
return {
|
|
9972
|
+
p: p
|
|
9973
|
+
};
|
|
9974
|
+
})(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
9958
9975
|
|
|
9959
9976
|
var _templateObject$1G;
|
|
9960
9977
|
var CardHeader = styled.div(_templateObject$1G || (_templateObject$1G = _taggedTemplateLiteral(["\n ", "\n font-weight: 700;\n font-size: 26px;\n line-height: 130%;\n display: flex;\n width: 100%;\n justify-content: space-between;\n"])), space);
|
|
9961
|
-
CardHeader.defaultProps = {};
|
|
9962
9978
|
|
|
9963
9979
|
var _templateObject$1F;
|
|
9964
|
-
var CardFooter = styled.div(
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9980
|
+
var CardFooter = styled.div.attrs(function (_ref) {
|
|
9981
|
+
var _ref$p = _ref.p,
|
|
9982
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
9983
|
+
return {
|
|
9984
|
+
p: p
|
|
9985
|
+
};
|
|
9986
|
+
})(_templateObject$1F || (_templateObject$1F = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), space);
|
|
9968
9987
|
|
|
9969
9988
|
var _templateObject$1E;
|
|
9970
9989
|
var StyledCardRibbon = styled.div(_templateObject$1E || (_templateObject$1E = _taggedTemplateLiteral(["\n background-color: ", ";\n color: white;\n margin: 0;\n padding: 0;\n padding: 8px 0;\n position: absolute;\n right: 0;\n top: 0;\n text-align: center;\n transform: translateX(30%) translateY(0%) rotate(45deg);\n transform-origin: top left;\n width: 96px;\n\n &:before,\n &:after {\n background-color: ", ";\n content: \"\";\n height: 100%;\n margin: 0 -1px; /* Removes tiny gap */\n position: absolute;\n top: 0;\n width: 100%;\n }\n\n &:before {\n right: 100%;\n }\n\n &:after {\n left: 100%;\n }\n\n & > div {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n width: 96px;\n }\n"])), function (_ref) {
|
|
@@ -10033,9 +10052,6 @@ var Checkbox = styled.input.attrs({
|
|
|
10033
10052
|
var bordered = _ref9.bordered;
|
|
10034
10053
|
return bordered ? "none !important" : "";
|
|
10035
10054
|
});
|
|
10036
|
-
Checkbox.defaultProps = {
|
|
10037
|
-
scale: scales$2.MD
|
|
10038
|
-
};
|
|
10039
10055
|
|
|
10040
10056
|
var _templateObject$1C, _templateObject2$X;
|
|
10041
10057
|
var getLeft = function getLeft(_ref) {
|
|
@@ -10078,9 +10094,6 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
10078
10094
|
})]
|
|
10079
10095
|
});
|
|
10080
10096
|
};
|
|
10081
|
-
Dropdown.defaultProps = {
|
|
10082
|
-
position: "bottom"
|
|
10083
|
-
};
|
|
10084
10097
|
|
|
10085
10098
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10086
10099
|
var _templateObject$1B, _templateObject2$W, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$j, _templateObject7$f;
|
|
@@ -10208,16 +10221,19 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10208
10221
|
};
|
|
10209
10222
|
|
|
10210
10223
|
var _templateObject$1z;
|
|
10211
|
-
var EarnedWrapperHeader = styled.div(
|
|
10212
|
-
var
|
|
10213
|
-
|
|
10214
|
-
|
|
10224
|
+
var EarnedWrapperHeader = styled.div.attrs(function (_ref) {
|
|
10225
|
+
var _ref$as = _ref.as,
|
|
10226
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
10227
|
+
return {
|
|
10228
|
+
as: as
|
|
10229
|
+
};
|
|
10230
|
+
})(_templateObject$1z || (_templateObject$1z = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref2) {
|
|
10215
10231
|
var theme = _ref2.theme;
|
|
10232
|
+
return theme.colors.white;
|
|
10233
|
+
}, function (_ref3) {
|
|
10234
|
+
var theme = _ref3.theme;
|
|
10216
10235
|
return theme.mediaQueries.md;
|
|
10217
10236
|
});
|
|
10218
|
-
EarnedWrapperHeader.defaultProps = {
|
|
10219
|
-
as: tags.H2
|
|
10220
|
-
};
|
|
10221
10237
|
|
|
10222
10238
|
var _templateObject$1y;
|
|
10223
10239
|
var GridLayout$1 = styled.div(_templateObject$1y || (_templateObject$1y = _taggedTemplateLiteral(["\n display: grid;\n grid-template-columns: repeat(8, 1fr);\n grid-gap: 16px;\n ", " {\n grid-gap: 10px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 24px;\n }\n ", " {\n grid-template-columns: repeat(12, 1fr);\n grid-gap: 32px;\n }\n"])), function (_ref) {
|
|
@@ -10353,16 +10369,19 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10353
10369
|
};
|
|
10354
10370
|
|
|
10355
10371
|
var _templateObject$1u;
|
|
10356
|
-
var EarnedCarouselWrapperHeader = styled.div(
|
|
10357
|
-
var
|
|
10358
|
-
|
|
10359
|
-
|
|
10372
|
+
var EarnedCarouselWrapperHeader = styled.div.attrs(function (_ref) {
|
|
10373
|
+
var _ref$as = _ref.as,
|
|
10374
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
10375
|
+
return {
|
|
10376
|
+
as: as
|
|
10377
|
+
};
|
|
10378
|
+
})(_templateObject$1u || (_templateObject$1u = _taggedTemplateLiteral(["\n font-size: 20px;\n line-height: 26px;\n padding: 15px;\n font-weight: 700;\n color: ", ";\n display: flex;\n justify-content: flex-start;\n align-items: center;\n\n ", " {\n font-size: 26px;\n line-height: 33.8px;\n padding: 25px 10px 25px 30px;\n }\n"])), function (_ref2) {
|
|
10360
10379
|
var theme = _ref2.theme;
|
|
10380
|
+
return theme.colors.white;
|
|
10381
|
+
}, function (_ref3) {
|
|
10382
|
+
var theme = _ref3.theme;
|
|
10361
10383
|
return theme.mediaQueries.md;
|
|
10362
10384
|
});
|
|
10363
|
-
EarnedCarouselWrapperHeader.defaultProps = {
|
|
10364
|
-
as: tags.H2
|
|
10365
|
-
};
|
|
10366
10385
|
|
|
10367
10386
|
var _templateObject$1t, _templateObject2$U, _templateObject3$H;
|
|
10368
10387
|
var CSSTokenWrapper = styled.div(_templateObject$1t || (_templateObject$1t = _taggedTemplateLiteral(["\n padding: 0 10px;\n\n @media (max-width: 800px) {\n width: 50%;\n }\n @media (min-width: 800px) {\n width: 33.3%;\n }\n @media (min-width: 1200px) {\n width: 25%;\n }\n"])));
|
|
@@ -10564,10 +10583,6 @@ var StyledInfoBox = styled.div(_templateObject$1s || (_templateObject$1s = _tagg
|
|
|
10564
10583
|
var theme = _ref3.theme;
|
|
10565
10584
|
return theme.colors.text;
|
|
10566
10585
|
}, space);
|
|
10567
|
-
StyledInfoBox.defaultProps = {
|
|
10568
|
-
isActive: false,
|
|
10569
|
-
isWarning: false
|
|
10570
|
-
};
|
|
10571
10586
|
|
|
10572
10587
|
var _excluded$a = ["children"];
|
|
10573
10588
|
var InfoBox$1 = function InfoBox(_ref) {
|
|
@@ -10579,20 +10594,25 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10579
10594
|
};
|
|
10580
10595
|
|
|
10581
10596
|
var _templateObject$1r;
|
|
10582
|
-
var InfoBox = styled.div(
|
|
10583
|
-
|
|
10584
|
-
|
|
10585
|
-
|
|
10597
|
+
var InfoBox = styled.div.attrs(function (_ref) {
|
|
10598
|
+
var _ref$p = _ref.p,
|
|
10599
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
10600
|
+
return {
|
|
10601
|
+
p: p
|
|
10602
|
+
};
|
|
10603
|
+
})(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10586
10604
|
|
|
10587
10605
|
var _templateObject$1q;
|
|
10588
10606
|
var InfoBoxHeader = styled.div(_templateObject$1q || (_templateObject$1q = _taggedTemplateLiteral(["\n ", ";\n font-weight: 600;\n font-size: 24px;\n line-height: 130%;\n color: white;\n\n display: flex;\n height: 55px;\n padding: 0 20px;\n justify-content: space-between;\n align-items: center;\n background: rgba(10, 10, 10, 1);\n"])), space);
|
|
10589
|
-
InfoBoxHeader.defaultProps = {};
|
|
10590
10607
|
|
|
10591
10608
|
var _templateObject$1p;
|
|
10592
|
-
var InfoBoxFooter = styled.div(
|
|
10593
|
-
|
|
10594
|
-
|
|
10595
|
-
|
|
10609
|
+
var InfoBoxFooter = styled.div.attrs(function (_ref) {
|
|
10610
|
+
var _ref$p = _ref.p,
|
|
10611
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
10612
|
+
return {
|
|
10613
|
+
p: p
|
|
10614
|
+
};
|
|
10615
|
+
})(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), space);
|
|
10596
10616
|
|
|
10597
10617
|
var scales$1 = {
|
|
10598
10618
|
SM: "sm",
|
|
@@ -10650,11 +10670,6 @@ var Input = styled.input(_templateObject$1o || (_templateObject$1o = _taggedTemp
|
|
|
10650
10670
|
var theme = _ref8.theme;
|
|
10651
10671
|
return theme.shadows.focus;
|
|
10652
10672
|
});
|
|
10653
|
-
Input.defaultProps = {
|
|
10654
|
-
scale: scales$1.MD,
|
|
10655
|
-
isSuccess: false,
|
|
10656
|
-
isWarning: false
|
|
10657
|
-
};
|
|
10658
10673
|
|
|
10659
10674
|
var _excluded$9 = ["children"],
|
|
10660
10675
|
_excluded2 = ["children"],
|
|
@@ -11011,7 +11026,7 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11011
11026
|
fill: theme.colors.error,
|
|
11012
11027
|
width: 24,
|
|
11013
11028
|
height: 24,
|
|
11014
|
-
opac: true
|
|
11029
|
+
$opac: true
|
|
11015
11030
|
}) : success && /*#__PURE__*/jsx(Icon$1b, {})
|
|
11016
11031
|
}
|
|
11017
11032
|
/* eslint-disable-next-line react/jsx-no-duplicate-props */,
|
|
@@ -11101,39 +11116,49 @@ var getCheckedScale = function getCheckedScale(_ref2) {
|
|
|
11101
11116
|
return "20px";
|
|
11102
11117
|
}
|
|
11103
11118
|
};
|
|
11104
|
-
var Radio = styled.input.attrs({
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
11109
|
-
|
|
11119
|
+
var Radio = styled.input.attrs(function (_ref3) {
|
|
11120
|
+
var _ref3$scale = _ref3.scale,
|
|
11121
|
+
scale = _ref3$scale === void 0 ? scales.MD : _ref3$scale,
|
|
11122
|
+
_ref3$m = _ref3.m,
|
|
11123
|
+
m = _ref3$m === void 0 ? 0 : _ref3$m;
|
|
11124
|
+
return {
|
|
11125
|
+
type: "radio",
|
|
11126
|
+
scale: scale,
|
|
11127
|
+
m: m
|
|
11128
|
+
};
|
|
11129
|
+
})(_templateObject$1i || (_templateObject$1i = _taggedTemplateLiteral(["\n appearance: none;\n overflow: hidden;\n cursor: pointer;\n position: relative;\n display: inline-block;\n height: ", ";\n width: ", ";\n vertical-align: middle;\n transition: background-color 0.2s ease-in-out;\n border: 0;\n border-radius: 50%;\n background-color: ", ";\n box-shadow: ", ";\n\n &:after {\n border-radius: 50%;\n content: \"\";\n height: ", ";\n left: 6px;\n position: absolute;\n top: 6px;\n width: ", ";\n }\n\n &:hover:not(:disabled):not(:checked) {\n box-shadow: ", ";\n }\n\n &:focus {\n outline: none;\n box-shadow: ", ";\n }\n\n &:checked {\n background-color: ", ";\n &:after {\n background-color: ", ";\n }\n }\n\n &:disabled {\n cursor: default;\n opacity: 0.6;\n }\n ", "\n"])), getScale, getScale, function (_ref4) {
|
|
11110
11130
|
var theme = _ref4.theme;
|
|
11111
|
-
return theme.
|
|
11112
|
-
},
|
|
11131
|
+
return theme.colors.input;
|
|
11132
|
+
}, function (_ref5) {
|
|
11113
11133
|
var theme = _ref5.theme;
|
|
11114
|
-
return theme.shadows.
|
|
11115
|
-
}, function (_ref6) {
|
|
11134
|
+
return theme.shadows.inset;
|
|
11135
|
+
}, getCheckedScale, getCheckedScale, function (_ref6) {
|
|
11116
11136
|
var theme = _ref6.theme;
|
|
11117
11137
|
return theme.shadows.focus;
|
|
11118
11138
|
}, function (_ref7) {
|
|
11119
11139
|
var theme = _ref7.theme;
|
|
11120
|
-
return theme.
|
|
11140
|
+
return theme.shadows.focus;
|
|
11121
11141
|
}, function (_ref8) {
|
|
11122
11142
|
var theme = _ref8.theme;
|
|
11143
|
+
return theme.colors.success;
|
|
11144
|
+
}, function (_ref9) {
|
|
11145
|
+
var theme = _ref9.theme;
|
|
11123
11146
|
return theme.radio.handleBackground;
|
|
11124
11147
|
}, space);
|
|
11125
|
-
Radio.defaultProps = {
|
|
11126
|
-
scale: scales.MD,
|
|
11127
|
-
m: 0
|
|
11128
|
-
};
|
|
11129
11148
|
|
|
11130
|
-
var _excluded$7 = ["startIcon", "endIcon", "children"];
|
|
11149
|
+
var _excluded$7 = ["startIcon", "endIcon", "children", "variant", "outline"];
|
|
11131
11150
|
var Tag = function Tag(_ref) {
|
|
11132
11151
|
var startIcon = _ref.startIcon,
|
|
11133
11152
|
endIcon = _ref.endIcon,
|
|
11134
11153
|
children = _ref.children,
|
|
11154
|
+
_ref$variant = _ref.variant,
|
|
11155
|
+
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
11156
|
+
_ref$outline = _ref.outline,
|
|
11157
|
+
outline = _ref$outline === void 0 ? false : _ref$outline,
|
|
11135
11158
|
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11136
11159
|
return /*#__PURE__*/jsxs(StyledTag, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
11160
|
+
variant: variant,
|
|
11161
|
+
outline: outline,
|
|
11137
11162
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
11138
11163
|
mr: "0.5rem"
|
|
11139
11164
|
}), children, /*#__PURE__*/React__default.isValidElement(endIcon) && /*#__PURE__*/React__default.cloneElement(endIcon, {
|
|
@@ -11141,10 +11166,6 @@ var Tag = function Tag(_ref) {
|
|
|
11141
11166
|
})]
|
|
11142
11167
|
}));
|
|
11143
11168
|
};
|
|
11144
|
-
Tag.defaultProps = {
|
|
11145
|
-
variant: "primary",
|
|
11146
|
-
outline: false
|
|
11147
|
-
};
|
|
11148
11169
|
|
|
11149
11170
|
var tagVariant;
|
|
11150
11171
|
(function (tagVariant) {
|
|
@@ -11282,7 +11303,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11282
11303
|
return {
|
|
11283
11304
|
color: theme.colors.lightBlue,
|
|
11284
11305
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11285
|
-
opac: true,
|
|
11306
|
+
$opac: true,
|
|
11286
11307
|
fill: active ? theme.colors.lightBlue : theme.colors.grey
|
|
11287
11308
|
})
|
|
11288
11309
|
};
|
|
@@ -11290,7 +11311,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11290
11311
|
return {
|
|
11291
11312
|
color: brandColors.binance,
|
|
11292
11313
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11293
|
-
opac: true,
|
|
11314
|
+
$opac: true,
|
|
11294
11315
|
fill: active ? brandColors.binance : theme.colors.grey
|
|
11295
11316
|
})
|
|
11296
11317
|
};
|
|
@@ -11298,7 +11319,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11298
11319
|
return {
|
|
11299
11320
|
color: theme.colors.vividBlue,
|
|
11300
11321
|
icon: /*#__PURE__*/jsx(Icon$1a, {
|
|
11301
|
-
opac: true,
|
|
11322
|
+
$opac: true,
|
|
11302
11323
|
stroke: active ? theme.colors.vividBlue : theme.colors.grey
|
|
11303
11324
|
})
|
|
11304
11325
|
};
|
|
@@ -11306,7 +11327,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11306
11327
|
return {
|
|
11307
11328
|
color: theme.colors.primary,
|
|
11308
11329
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11309
|
-
opac: true,
|
|
11330
|
+
$opac: true,
|
|
11310
11331
|
fill: active ? theme.colors.primary : theme.colors.grey
|
|
11311
11332
|
})
|
|
11312
11333
|
};
|
|
@@ -11332,10 +11353,6 @@ var CoreTag = function CoreTag(_ref8) {
|
|
|
11332
11353
|
})]
|
|
11333
11354
|
});
|
|
11334
11355
|
};
|
|
11335
|
-
CoreTag.defaultProps = {
|
|
11336
|
-
variant: "primary",
|
|
11337
|
-
outline: false
|
|
11338
|
-
};
|
|
11339
11356
|
|
|
11340
11357
|
var Icon$M = function Icon(props) {
|
|
11341
11358
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -11449,11 +11466,9 @@ var List = function List(_ref3) {
|
|
|
11449
11466
|
|
|
11450
11467
|
var _templateObject$1e, _templateObject2$L;
|
|
11451
11468
|
var Bar = styled.div(_templateObject$1e || (_templateObject$1e = _taggedTemplateLiteral(["\n position: absolute;\n top: 0;\n left: 0;\n background-color: ", ";\n border-top-left-radius: 32px;\n border-bottom-left-radius: 32px;\n height: 16px;\n transition: width 200ms ease;\n"])), function (props) {
|
|
11452
|
-
|
|
11469
|
+
var _props$primary;
|
|
11470
|
+
return ((_props$primary = props.primary) !== null && _props$primary !== void 0 ? _props$primary : false) ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11453
11471
|
});
|
|
11454
|
-
Bar.defaultProps = {
|
|
11455
|
-
primary: false
|
|
11456
|
-
};
|
|
11457
11472
|
var StyledProgress = styled.div(_templateObject2$L || (_templateObject2$L = _taggedTemplateLiteral(["\n position: relative;\n background-color: ", ";\n border-radius: 32px;\n box-shadow: ", ";\n height: 16px;\n overflow: hidden;\n"])), function (_ref) {
|
|
11458
11473
|
var theme = _ref.theme;
|
|
11459
11474
|
return theme.colors.input;
|
|
@@ -12319,10 +12334,10 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12319
12334
|
},
|
|
12320
12335
|
children: active ? /*#__PURE__*/jsx(Icon$2l, {
|
|
12321
12336
|
fill: darkColors.primary,
|
|
12322
|
-
opac: true
|
|
12337
|
+
$opac: true
|
|
12323
12338
|
}) : /*#__PURE__*/jsx(Icon$2o, {
|
|
12324
12339
|
fill: baseColors.white55,
|
|
12325
|
-
opac: true
|
|
12340
|
+
$opac: true
|
|
12326
12341
|
})
|
|
12327
12342
|
})]
|
|
12328
12343
|
}), active ? /*#__PURE__*/jsx(StyledTableDetails, {
|
|
@@ -12516,10 +12531,10 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12516
12531
|
children: [/*#__PURE__*/jsxs(DifferenceBox, {
|
|
12517
12532
|
children: [!_.isNil(difference) && (difference > 0 ? /*#__PURE__*/jsx(Icon$2l, {
|
|
12518
12533
|
fill: baseColors.green,
|
|
12519
|
-
opac: true
|
|
12534
|
+
$opac: true
|
|
12520
12535
|
}) : /*#__PURE__*/jsx(Icon$2o, {
|
|
12521
12536
|
fill: baseColors.red,
|
|
12522
|
-
opac: true
|
|
12537
|
+
$opac: true
|
|
12523
12538
|
})), /*#__PURE__*/jsx(Text, {
|
|
12524
12539
|
style: {
|
|
12525
12540
|
fontSize: "16px",
|
|
@@ -13120,7 +13135,7 @@ var ProviderRow = function ProviderRow(_ref4) {
|
|
|
13120
13135
|
isTheLastItem: isTheLastItem,
|
|
13121
13136
|
children: [/*#__PURE__*/jsx(Icon, {
|
|
13122
13137
|
width: "40px",
|
|
13123
|
-
opac: true
|
|
13138
|
+
$opac: true
|
|
13124
13139
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13125
13140
|
children: title
|
|
13126
13141
|
})]
|
|
@@ -13228,7 +13243,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13228
13243
|
isUserVerified: isUserVerified,
|
|
13229
13244
|
textAlign: "right",
|
|
13230
13245
|
children: [isUserVerified && /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13231
|
-
opac: true
|
|
13246
|
+
$opac: true
|
|
13232
13247
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13233
13248
|
bold: true,
|
|
13234
13249
|
fontSize: "14px",
|
|
@@ -13243,7 +13258,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13243
13258
|
children: [isUserVerified && /*#__PURE__*/jsxs(VerificationInfo, {
|
|
13244
13259
|
marginTop: "20px",
|
|
13245
13260
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13246
|
-
opac: true
|
|
13261
|
+
$opac: true
|
|
13247
13262
|
}), /*#__PURE__*/jsx(Text, {
|
|
13248
13263
|
color: "#818C92",
|
|
13249
13264
|
children: "Wallet connection has been verified"
|
|
@@ -13251,7 +13266,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13251
13266
|
}), connectedProvider && /*#__PURE__*/jsxs(ConnectedProvider, {
|
|
13252
13267
|
children: [/*#__PURE__*/jsx(connectedProvider.icon, {
|
|
13253
13268
|
width: "40px",
|
|
13254
|
-
opac: true
|
|
13269
|
+
$opac: true
|
|
13255
13270
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13256
13271
|
children: connectedProvider.title
|
|
13257
13272
|
})]
|
|
@@ -13339,7 +13354,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13339
13354
|
}), /*#__PURE__*/jsxs(AccountNumberWrapper, {
|
|
13340
13355
|
isVerifiedUser: true,
|
|
13341
13356
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13342
|
-
opac: true
|
|
13357
|
+
$opac: true
|
|
13343
13358
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13344
13359
|
bold: true,
|
|
13345
13360
|
fontSize: "14px",
|
|
@@ -13349,7 +13364,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13349
13364
|
}), /*#__PURE__*/jsxs(MiddleRow, {
|
|
13350
13365
|
children: [/*#__PURE__*/jsxs(VerificationInfo, {
|
|
13351
13366
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13352
|
-
opac: true
|
|
13367
|
+
$opac: true
|
|
13353
13368
|
}), /*#__PURE__*/jsx(Text, {
|
|
13354
13369
|
color: "#818C92",
|
|
13355
13370
|
children: "Wallet connection has been verified"
|
|
@@ -13357,7 +13372,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13357
13372
|
}), connectedProvider && /*#__PURE__*/jsxs(ConnectedProvider, {
|
|
13358
13373
|
children: [connectedProvider && /*#__PURE__*/jsx(connectedProvider.icon, {
|
|
13359
13374
|
width: "40px",
|
|
13360
|
-
opac: true
|
|
13375
|
+
$opac: true
|
|
13361
13376
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13362
13377
|
children: connectedProvider.title
|
|
13363
13378
|
})]
|
|
@@ -14119,7 +14134,7 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14119
14134
|
right: 30,
|
|
14120
14135
|
children: /*#__PURE__*/jsx(StyledInfoIcon, {
|
|
14121
14136
|
fill: baseColors.primary,
|
|
14122
|
-
opac: true
|
|
14137
|
+
$opac: true
|
|
14123
14138
|
})
|
|
14124
14139
|
})]
|
|
14125
14140
|
}), /*#__PURE__*/jsx(CSSPowerValue, {
|
|
@@ -14548,7 +14563,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14548
14563
|
children: [isSigned ? /*#__PURE__*/jsx(Icon$1_, {
|
|
14549
14564
|
color: baseColors.primary
|
|
14550
14565
|
}) : /*#__PURE__*/jsx(Icon$1Z, {
|
|
14551
|
-
opac: true
|
|
14566
|
+
$opac: true
|
|
14552
14567
|
}), /*#__PURE__*/jsx(Text, {
|
|
14553
14568
|
ml: "16px",
|
|
14554
14569
|
bold: true,
|
|
@@ -14597,7 +14612,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14597
14612
|
},
|
|
14598
14613
|
disabled: !eligible || actionPending || buttonDisabled,
|
|
14599
14614
|
endIcon: actionPending && /*#__PURE__*/jsx(Icon$2v, {
|
|
14600
|
-
spin: true,
|
|
14615
|
+
$spin: true,
|
|
14601
14616
|
color: "currentColor"
|
|
14602
14617
|
}),
|
|
14603
14618
|
children: getActionButtonText()
|
|
@@ -14692,7 +14707,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14692
14707
|
right: 30,
|
|
14693
14708
|
children: /*#__PURE__*/jsx(StyledInfoIcon, {
|
|
14694
14709
|
fill: baseColors.primary,
|
|
14695
|
-
opac: true
|
|
14710
|
+
$opac: true
|
|
14696
14711
|
})
|
|
14697
14712
|
})]
|
|
14698
14713
|
}), isParticipation && isSigned && /*#__PURE__*/jsxs(PersonalValuesWrapper, {
|
|
@@ -14749,7 +14764,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14749
14764
|
}), /*#__PURE__*/jsxs(MainFunctionsWrapper, {
|
|
14750
14765
|
children: [/*#__PURE__*/jsx(AddCapButton, {
|
|
14751
14766
|
endIcon: actionPending && /*#__PURE__*/jsx(Icon$2v, {
|
|
14752
|
-
spin: true,
|
|
14767
|
+
$spin: true,
|
|
14753
14768
|
color: "currentColor"
|
|
14754
14769
|
}),
|
|
14755
14770
|
disabled: isButtonDisabled() || error !== "",
|
|
@@ -15375,7 +15390,7 @@ var AccountInfo = function AccountInfo(_ref27) {
|
|
|
15375
15390
|
},
|
|
15376
15391
|
onClick: copyAccount,
|
|
15377
15392
|
fill: accountCopied ? baseColors.white55 : baseColors.primary,
|
|
15378
|
-
opac: true
|
|
15393
|
+
$opac: true
|
|
15379
15394
|
})]
|
|
15380
15395
|
})
|
|
15381
15396
|
})]
|
|
@@ -15697,7 +15712,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15697
15712
|
}), /*#__PURE__*/jsx(Button$1, {
|
|
15698
15713
|
as: "a",
|
|
15699
15714
|
href: powerUpHref,
|
|
15700
|
-
fullWidth: true,
|
|
15715
|
+
$fullWidth: true,
|
|
15701
15716
|
padding: "24px 0px",
|
|
15702
15717
|
marginTop: "40px",
|
|
15703
15718
|
children: /*#__PURE__*/jsx(Text, {
|
|
@@ -15711,7 +15726,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15711
15726
|
variant: buttonVariant.OUTLINE,
|
|
15712
15727
|
as: "a",
|
|
15713
15728
|
href: learnMoreHref,
|
|
15714
|
-
fullWidth: true,
|
|
15729
|
+
$fullWidth: true,
|
|
15715
15730
|
padding: "16px 0px",
|
|
15716
15731
|
marginTop: "16px",
|
|
15717
15732
|
children: /*#__PURE__*/jsx(Text, {
|
|
@@ -15941,10 +15956,10 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
|
15941
15956
|
},
|
|
15942
15957
|
children: refCopied ? /*#__PURE__*/jsx(Icon$2q, {
|
|
15943
15958
|
fill: baseColors.secondary,
|
|
15944
|
-
opac: true
|
|
15959
|
+
$opac: true
|
|
15945
15960
|
}) : /*#__PURE__*/jsx(Icon$2g, {
|
|
15946
15961
|
fill: baseColors.secondary,
|
|
15947
|
-
opac: true
|
|
15962
|
+
$opac: true
|
|
15948
15963
|
})
|
|
15949
15964
|
})]
|
|
15950
15965
|
}), /*#__PURE__*/jsxs(SocialRow, {
|
|
@@ -15954,18 +15969,13 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
|
15954
15969
|
href: "https://twitter.com/intent/tweet?url=".concat(getEncodedUrl(refLink)),
|
|
15955
15970
|
target: "_blank",
|
|
15956
15971
|
children: /*#__PURE__*/jsx(Icon$1t, {})
|
|
15957
|
-
}), /*#__PURE__*/jsx(
|
|
15958
|
-
|
|
15959
|
-
|
|
15960
|
-
|
|
15961
|
-
|
|
15962
|
-
|
|
15963
|
-
|
|
15964
|
-
ml: 22,
|
|
15965
|
-
height: 17
|
|
15966
|
-
})]
|
|
15967
|
-
});
|
|
15968
|
-
}
|
|
15972
|
+
}), /*#__PURE__*/jsx(Link, {
|
|
15973
|
+
href: "https://www.facebook.com/sharer/sharer.php?u=".concat(getEncodedUrl(refLink)),
|
|
15974
|
+
target: "_blank",
|
|
15975
|
+
children: /*#__PURE__*/jsx(Icon$1p, {
|
|
15976
|
+
ml: 22,
|
|
15977
|
+
height: 17
|
|
15978
|
+
})
|
|
15969
15979
|
}), /*#__PURE__*/jsx(Link, {
|
|
15970
15980
|
href: "https://telegram.me/share/url?url=".concat(getEncodedUrl(refLink)),
|
|
15971
15981
|
target: "_blank",
|
|
@@ -16638,7 +16648,7 @@ var StyledLink = styled(Link$1)(_templateObject$o || (_templateObject$o = _tagge
|
|
|
16638
16648
|
var theme = _ref.theme;
|
|
16639
16649
|
return theme.mediaQueries.nav;
|
|
16640
16650
|
});
|
|
16641
|
-
var CoinswapLogo = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref2) {
|
|
16651
|
+
var CoinswapLogo = styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n $opacity: ", ";\n width: ", ";\n transition: width 0.6s, $opacity 0.3s;\n"])), function (_ref2) {
|
|
16642
16652
|
var isPushed = _ref2.isPushed;
|
|
16643
16653
|
return isPushed ? 1 : 0;
|
|
16644
16654
|
}, function (_ref3) {
|
|
@@ -16655,13 +16665,13 @@ var Logo$1 = function Logo(_ref4) {
|
|
|
16655
16665
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
16656
16666
|
children: [/*#__PURE__*/jsx(Icon$2d, {
|
|
16657
16667
|
className: "mobile-icon",
|
|
16658
|
-
opac: true
|
|
16668
|
+
$opac: true
|
|
16659
16669
|
}), /*#__PURE__*/jsx(CoinswapLogo, {
|
|
16660
16670
|
isPushed: pushed,
|
|
16661
16671
|
children: !isMobile ? /*#__PURE__*/jsx(LogoWithText, {
|
|
16662
16672
|
className: "desktop-icon",
|
|
16663
16673
|
isDark: isDark,
|
|
16664
|
-
opac: true
|
|
16674
|
+
$opac: true
|
|
16665
16675
|
}) : /*#__PURE__*/jsx(Fragment, {})
|
|
16666
16676
|
})]
|
|
16667
16677
|
});
|
|
@@ -16874,11 +16884,6 @@ var MenuEntry = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTe
|
|
|
16874
16884
|
var theme = _ref10.theme;
|
|
16875
16885
|
return theme.colors.gradients.bubblegum;
|
|
16876
16886
|
});
|
|
16877
|
-
MenuEntry.defaultProps = {
|
|
16878
|
-
secondary: false,
|
|
16879
|
-
isActive: false,
|
|
16880
|
-
role: "button"
|
|
16881
|
-
};
|
|
16882
16887
|
|
|
16883
16888
|
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
16884
16889
|
var Container$2 = styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
@@ -17012,7 +17017,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17012
17017
|
height: "18px",
|
|
17013
17018
|
mr: "8px",
|
|
17014
17019
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17015
|
-
opac: true
|
|
17020
|
+
$opac: true
|
|
17016
17021
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17017
17022
|
var calloutClass = entry.calloutClass ? entry.calloutClass : undefined;
|
|
17018
17023
|
if (entry.items) {
|
|
@@ -17035,7 +17040,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17035
17040
|
var entryIconElement = EntryIcon ? /*#__PURE__*/jsx(EntryIcon, {
|
|
17036
17041
|
width: "18px",
|
|
17037
17042
|
mr: "8px",
|
|
17038
|
-
opac: true
|
|
17043
|
+
$opac: true
|
|
17039
17044
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17040
17045
|
return /*#__PURE__*/jsxs(MenuEntry, {
|
|
17041
17046
|
isActive: item.href === location.pathname,
|
|
@@ -17073,30 +17078,40 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17073
17078
|
});
|
|
17074
17079
|
};
|
|
17075
17080
|
|
|
17076
|
-
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
17081
|
+
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "$isLoading", "isLoading", "disabled"];
|
|
17077
17082
|
var _templateObject$k;
|
|
17078
|
-
var StyledNavButton = styled.button
|
|
17079
|
-
|
|
17080
|
-
|
|
17083
|
+
var StyledNavButton = styled.button.withConfig({
|
|
17084
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
17085
|
+
return !['$fullWidth', '$isLoading'].includes(prop);
|
|
17086
|
+
}
|
|
17087
|
+
})(_templateObject$k || (_templateObject$k = _taggedTemplateLiteral(["\n align-items: center;\n cursor: pointer;\n display: flex;\n justify-content: center;\n font-family: inherit;\n font-size: 16px;\n font-weight: 600;\n /* max-content instead of auto for Safari fix */\n width: ", ";\n height: ", ";\n line-height: 1;\n letter-spacing: 0.03em;\n justify-content: center;\n outline: 0;\n border: none;\n transition: background-color 0.2s;\n background-color: transparent;\n opacity: ", ";\n margin-left: 10px;\n"])), function (_ref) {
|
|
17088
|
+
var $fullWidth = _ref.$fullWidth,
|
|
17089
|
+
fullWidth = _ref.fullWidth;
|
|
17090
|
+
return $fullWidth || fullWidth ? "100%" : "max-content";
|
|
17081
17091
|
}, function (_ref2) {
|
|
17082
17092
|
var size = _ref2.size;
|
|
17083
17093
|
return size === "sm" ? "32px" : "48px";
|
|
17084
17094
|
}, function (_ref3) {
|
|
17085
|
-
var isLoading = _ref3
|
|
17086
|
-
|
|
17095
|
+
var $isLoading = _ref3.$isLoading,
|
|
17096
|
+
isLoading = _ref3.isLoading;
|
|
17097
|
+
return $isLoading || isLoading ? 0.5 : 1;
|
|
17087
17098
|
});
|
|
17088
17099
|
var NavButton = function NavButton(_ref4) {
|
|
17089
17100
|
var startIcon = _ref4.startIcon,
|
|
17090
17101
|
endIcon = _ref4.endIcon,
|
|
17091
17102
|
children = _ref4.children,
|
|
17092
|
-
external = _ref4.external,
|
|
17093
|
-
|
|
17094
|
-
|
|
17103
|
+
_ref4$external = _ref4.external,
|
|
17104
|
+
external = _ref4$external === void 0 ? false : _ref4$external,
|
|
17105
|
+
$isLoadingProp = _ref4.$isLoading,
|
|
17106
|
+
isLoadingProp = _ref4.isLoading,
|
|
17107
|
+
_ref4$disabled = _ref4.disabled,
|
|
17108
|
+
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
17095
17109
|
props = _objectWithoutProperties(_ref4, _excluded$1);
|
|
17096
17110
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
17097
|
-
var
|
|
17111
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
17112
|
+
var isDisabled = $isLoading || disabled;
|
|
17098
17113
|
return /*#__PURE__*/jsxs(StyledNavButton, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
17099
|
-
isLoading: isLoading,
|
|
17114
|
+
$isLoading: $isLoading,
|
|
17100
17115
|
disabled: isDisabled,
|
|
17101
17116
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
17102
17117
|
mr: "0.5rem"
|
|
@@ -17105,49 +17120,41 @@ var NavButton = function NavButton(_ref4) {
|
|
|
17105
17120
|
})]
|
|
17106
17121
|
}));
|
|
17107
17122
|
};
|
|
17108
|
-
NavButton.defaultProps = {
|
|
17109
|
-
variant: variants$4.PRIMARY,
|
|
17110
|
-
size: sizes$2.MD,
|
|
17111
|
-
external: false,
|
|
17112
|
-
isLoading: false,
|
|
17113
|
-
disabled: false
|
|
17114
|
-
};
|
|
17115
17123
|
|
|
17116
17124
|
var _templateObject$j;
|
|
17117
|
-
var MenuButton = styled(NavButton)(
|
|
17125
|
+
var MenuButton = styled(NavButton).attrs({
|
|
17126
|
+
variant: "text",
|
|
17127
|
+
size: "sm"
|
|
17128
|
+
})(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
17118
17129
|
var theme = _ref.theme;
|
|
17119
17130
|
return theme.colors.text;
|
|
17120
17131
|
});
|
|
17121
|
-
MenuButton.defaultProps = {
|
|
17122
|
-
variant: "text",
|
|
17123
|
-
size: "sm"
|
|
17124
|
-
};
|
|
17125
17132
|
|
|
17126
17133
|
var getLangFlag = function getLangFlag(lang) {
|
|
17127
17134
|
switch (lang.code) {
|
|
17128
17135
|
case "EN":
|
|
17129
17136
|
return /*#__PURE__*/jsx(Icon$15, {
|
|
17130
|
-
opac: true
|
|
17137
|
+
$opac: true
|
|
17131
17138
|
});
|
|
17132
17139
|
case "CH":
|
|
17133
17140
|
return /*#__PURE__*/jsx(Icon$14, {
|
|
17134
|
-
opac: true
|
|
17141
|
+
$opac: true
|
|
17135
17142
|
});
|
|
17136
17143
|
case "IN":
|
|
17137
17144
|
return /*#__PURE__*/jsx(Icon$13, {
|
|
17138
|
-
opac: true
|
|
17145
|
+
$opac: true
|
|
17139
17146
|
});
|
|
17140
17147
|
case "VIE":
|
|
17141
17148
|
return /*#__PURE__*/jsx(Icon$12, {
|
|
17142
|
-
opac: true
|
|
17149
|
+
$opac: true
|
|
17143
17150
|
});
|
|
17144
17151
|
case "TH":
|
|
17145
17152
|
return /*#__PURE__*/jsx(Icon$11, {
|
|
17146
|
-
opac: true
|
|
17153
|
+
$opac: true
|
|
17147
17154
|
});
|
|
17148
17155
|
case "SP":
|
|
17149
17156
|
return /*#__PURE__*/jsx(Icon$10, {
|
|
17150
|
-
opac: true
|
|
17157
|
+
$opac: true
|
|
17151
17158
|
});
|
|
17152
17159
|
default:
|
|
17153
17160
|
return /*#__PURE__*/jsx("div", {});
|
|
@@ -17223,7 +17230,7 @@ var LangSelector$1 = function LangSelector(_ref9) {
|
|
|
17223
17230
|
style: {
|
|
17224
17231
|
marginRight: 10
|
|
17225
17232
|
},
|
|
17226
|
-
opac: true
|
|
17233
|
+
$opac: true
|
|
17227
17234
|
}),
|
|
17228
17235
|
isPushed: isPushed,
|
|
17229
17236
|
children: [/*#__PURE__*/jsx(MainLangText, {
|
|
@@ -17262,7 +17269,7 @@ var LangSelector$1 = function LangSelector(_ref9) {
|
|
|
17262
17269
|
}), /*#__PURE__*/jsx(LangsList, {
|
|
17263
17270
|
children: langs.map(function (lang, index) {
|
|
17264
17271
|
return /*#__PURE__*/jsxs(MenuButton, {
|
|
17265
|
-
fullWidth: true,
|
|
17272
|
+
$fullWidth: true,
|
|
17266
17273
|
onClick: function onClick() {
|
|
17267
17274
|
return chooseLangHandler(lang);
|
|
17268
17275
|
},
|
|
@@ -17351,7 +17358,7 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
17351
17358
|
height: "17px",
|
|
17352
17359
|
mb: "7px",
|
|
17353
17360
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17354
|
-
opac: true
|
|
17361
|
+
$opac: true
|
|
17355
17362
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17356
17363
|
return /*#__PURE__*/jsx(MobileEntry, {
|
|
17357
17364
|
isActive: activeLink,
|
|
@@ -17505,13 +17512,13 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17505
17512
|
children: /*#__PURE__*/jsxs(Flex, {
|
|
17506
17513
|
justifyContent: "space-between",
|
|
17507
17514
|
children: [/*#__PURE__*/jsx(Button$1, {
|
|
17508
|
-
white: true,
|
|
17515
|
+
$white: true,
|
|
17509
17516
|
size: "md",
|
|
17510
17517
|
variant: "secondary",
|
|
17511
17518
|
onClick: function onClick() {
|
|
17512
17519
|
return onClickHandler(false);
|
|
17513
17520
|
},
|
|
17514
|
-
fullWidth: true,
|
|
17521
|
+
$fullWidth: true,
|
|
17515
17522
|
children: t("Decline")
|
|
17516
17523
|
}), /*#__PURE__*/jsx(Space, {}), /*#__PURE__*/jsx(Button$1, {
|
|
17517
17524
|
disabled: some(checkBoxes, {
|
|
@@ -17522,7 +17529,7 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17522
17529
|
onClick: function onClick() {
|
|
17523
17530
|
return onClickHandler(true);
|
|
17524
17531
|
},
|
|
17525
|
-
fullWidth: true,
|
|
17532
|
+
$fullWidth: true,
|
|
17526
17533
|
children: t("Agree")
|
|
17527
17534
|
})]
|
|
17528
17535
|
})
|
|
@@ -17703,7 +17710,7 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
17703
17710
|
setIsConnectWalletPanelOpen(true);
|
|
17704
17711
|
},
|
|
17705
17712
|
children: [isUserVerified ? /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
17706
|
-
opac: true
|
|
17713
|
+
$opac: true
|
|
17707
17714
|
}) : /*#__PURE__*/jsx(VerifyAddressIndicator, {
|
|
17708
17715
|
fontSize: "12px",
|
|
17709
17716
|
fontWeight: 500,
|
|
@@ -17774,7 +17781,7 @@ var BellNotifier = function BellNotifier(_ref1) {
|
|
|
17774
17781
|
onClick: onClick,
|
|
17775
17782
|
hasMsg: hasMessage,
|
|
17776
17783
|
children: [/*#__PURE__*/jsx(Icon$1e, {
|
|
17777
|
-
opac: true,
|
|
17784
|
+
$opac: true,
|
|
17778
17785
|
fill: !hasMessage ? "#2B2B32" : undefined
|
|
17779
17786
|
}), /*#__PURE__*/jsx(NotificationNumber, {
|
|
17780
17787
|
hasMsg: hasMessage,
|
|
@@ -17801,7 +17808,7 @@ var CryptoDropdownWrapper = styled.button(_templateObject$a || (_templateObject$
|
|
|
17801
17808
|
var theme = _ref2.theme;
|
|
17802
17809
|
return theme.mediaQueries.mobile;
|
|
17803
17810
|
});
|
|
17804
|
-
var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n width: 159px;\n height: 89px;\n top: 53px;\n right: 0px;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n opacity: ", ";\n display: flex;\n z-index: ", "999;\n transition-property: opacity, box-shadow;\n transition-duration: 0.5s, 0.3s;\n box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n ", " {\n display: ", ";\n }\n"])), function (_ref3) {
|
|
17811
|
+
var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _taggedTemplateLiteral(["\n position: absolute;\n width: 159px;\n height: 89px;\n top: 53px;\n right: 0px;\n background: ", ";\n border: 1px solid ", ";\n box-sizing: border-box;\n $opacity: ", ";\n display: flex;\n z-index: ", "999;\n transition-property: $opacity, box-shadow;\n transition-duration: 0.5s, 0.3s;\n box-shadow: 0px 0px 24px -11px rgba(0, 0, 0, 0.25);\n border-radius: 10px;\n flex-direction: column;\n justify-content: space-between;\n align-items: center;\n ", " {\n display: ", ";\n }\n"])), function (_ref3) {
|
|
17805
17812
|
var theme = _ref3.theme;
|
|
17806
17813
|
return theme.backgrounds.secondary;
|
|
17807
17814
|
}, function (_ref4) {
|
|
@@ -17817,7 +17824,7 @@ var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _t
|
|
|
17817
17824
|
}, function (props) {
|
|
17818
17825
|
return props.visible ? "flex" : "none";
|
|
17819
17826
|
});
|
|
17820
|
-
var ButtonRow = styled(Link)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 11px;\n width: 100%;\n height: 100%;\n overflow: visible;\n z-index: 99999;\n svg {\n opacity: 0.55;\n }\n &:hover {\n svg {\n opacity: 1;\n }\n }\n transition: all 0.3s ease-in;\n"])));
|
|
17827
|
+
var ButtonRow = styled(Link)(_templateObject3$6 || (_templateObject3$6 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n justify-content: space-between;\n align-items: center;\n padding: 11px;\n width: 100%;\n height: 100%;\n overflow: visible;\n z-index: 99999;\n svg {\n $opacity: 0.55;\n }\n &:hover {\n svg {\n $opacity: 1;\n }\n }\n transition: all 0.3s ease-in;\n"])));
|
|
17821
17828
|
var ButtonsSpacer = styled.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n border: 1px solid #373749;\n width: calc(100% - 20px);\n"])));
|
|
17822
17829
|
var CryptoButton = function CryptoButton(_ref6) {
|
|
17823
17830
|
var _ref6$extended = _ref6.extended,
|
|
@@ -17842,18 +17849,18 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17842
17849
|
return closeDropDownHandler();
|
|
17843
17850
|
},
|
|
17844
17851
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
17845
|
-
opac: true,
|
|
17852
|
+
$opac: true,
|
|
17846
17853
|
height: "11"
|
|
17847
17854
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
17848
|
-
opac: true,
|
|
17855
|
+
$opac: true,
|
|
17849
17856
|
height: "16.6"
|
|
17850
17857
|
}), /*#__PURE__*/jsx(Icon$2m, {
|
|
17851
17858
|
fill: baseColors.primaryBright,
|
|
17852
|
-
opac: true
|
|
17859
|
+
$opac: true
|
|
17853
17860
|
}), /*#__PURE__*/jsx(Icon$16, {
|
|
17854
|
-
opac: true
|
|
17861
|
+
$opac: true
|
|
17855
17862
|
}), /*#__PURE__*/jsx(Icon$17, {
|
|
17856
|
-
opac: true
|
|
17863
|
+
$opac: true
|
|
17857
17864
|
})]
|
|
17858
17865
|
}), /*#__PURE__*/jsx(ButtonsSpacer, {}), /*#__PURE__*/jsxs(ButtonRow, {
|
|
17859
17866
|
as: "a",
|
|
@@ -17863,17 +17870,17 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17863
17870
|
return closeDropDownHandler();
|
|
17864
17871
|
},
|
|
17865
17872
|
children: [/*#__PURE__*/jsx(Icon$16, {
|
|
17866
|
-
opac: true
|
|
17873
|
+
$opac: true
|
|
17867
17874
|
}), /*#__PURE__*/jsx(Icon$17, {
|
|
17868
|
-
opac: true
|
|
17875
|
+
$opac: true
|
|
17869
17876
|
}), /*#__PURE__*/jsx(Icon$2m, {
|
|
17870
17877
|
fill: baseColors.primaryBright,
|
|
17871
|
-
opac: true
|
|
17878
|
+
$opac: true
|
|
17872
17879
|
}), /*#__PURE__*/jsx(Icon$1i, {
|
|
17873
|
-
opac: true,
|
|
17880
|
+
$opac: true,
|
|
17874
17881
|
height: "11"
|
|
17875
17882
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
17876
|
-
opac: true,
|
|
17883
|
+
$opac: true,
|
|
17877
17884
|
height: "16.6"
|
|
17878
17885
|
})]
|
|
17879
17886
|
})]
|
|
@@ -17888,14 +17895,14 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17888
17895
|
return closeDropDownHandler();
|
|
17889
17896
|
},
|
|
17890
17897
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
17891
|
-
opac: true,
|
|
17898
|
+
$opac: true,
|
|
17892
17899
|
height: isMobile ? "12" : ""
|
|
17893
17900
|
}), extended && /*#__PURE__*/jsx(Icon$1h, {
|
|
17894
|
-
opac: true,
|
|
17901
|
+
$opac: true,
|
|
17895
17902
|
display: extended ? "block" : "none",
|
|
17896
17903
|
height: isMobile ? "14" : ""
|
|
17897
17904
|
}), extended && /*#__PURE__*/jsx(Icon$2o, {
|
|
17898
|
-
opac: true
|
|
17905
|
+
$opac: true
|
|
17899
17906
|
}), /*#__PURE__*/jsx(ButtonsContainer, {
|
|
17900
17907
|
visible: dropToggled,
|
|
17901
17908
|
children: transactionsButtons()
|
|
@@ -18318,7 +18325,7 @@ var VerificationModal = function VerificationModal(props) {
|
|
|
18318
18325
|
bodyPadding: "0px 57px 32px 57px",
|
|
18319
18326
|
children: /*#__PURE__*/jsxs(VerificationModalContent, {
|
|
18320
18327
|
children: [/*#__PURE__*/jsx(Icon$28, {
|
|
18321
|
-
opac: true,
|
|
18328
|
+
$opac: true,
|
|
18322
18329
|
height: 48,
|
|
18323
18330
|
width: 48,
|
|
18324
18331
|
color: baseColors.vividBlue
|
|
@@ -18575,9 +18582,9 @@ var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
|
18575
18582
|
}), /*#__PURE__*/jsx(ModalButton, {
|
|
18576
18583
|
disabled: isButtonDisabled(),
|
|
18577
18584
|
type: "submit",
|
|
18578
|
-
isLoading: extensionsLoading,
|
|
18585
|
+
$isLoading: extensionsLoading,
|
|
18579
18586
|
endIcon: extensionsLoading && /*#__PURE__*/jsx(Icon$2v, {
|
|
18580
|
-
spin: true,
|
|
18587
|
+
$spin: true,
|
|
18581
18588
|
color: "currentColor"
|
|
18582
18589
|
}),
|
|
18583
18590
|
children: "Continue"
|