@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.cjs.js
CHANGED
|
@@ -20,7 +20,6 @@ var reactDropzone = require('react-dropzone');
|
|
|
20
20
|
var material = require('@mui/material');
|
|
21
21
|
var noop = require('lodash/noop');
|
|
22
22
|
var _ = require('lodash');
|
|
23
|
-
var FacebookShare = require('react-facebook-share-link');
|
|
24
23
|
var reactRouterDom = require('react-router-dom');
|
|
25
24
|
var core = require('@web3-react/core');
|
|
26
25
|
var reactTransitionGroup = require('react-transition-group');
|
|
@@ -334,26 +333,33 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
334
333
|
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
335
334
|
var rotate$1 = styledComponents.keyframes(_templateObject$2b || (_templateObject$2b = _taggedTemplateLiteral(["\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n"])));
|
|
336
335
|
var spinStyle = styledComponents.css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
337
|
-
var Svg = styledComponents.styled("svg")
|
|
336
|
+
var Svg = styledComponents.styled("svg").withConfig({
|
|
337
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
338
|
+
return !['$spin', '$opac'].includes(prop);
|
|
339
|
+
}
|
|
340
|
+
})(_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) {
|
|
338
341
|
var theme = _ref.theme,
|
|
339
|
-
color = _ref.color
|
|
342
|
+
_ref$color = _ref.color,
|
|
343
|
+
color = _ref$color === void 0 ? "text" : _ref$color;
|
|
340
344
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
341
345
|
}, function (_ref2) {
|
|
342
|
-
var
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
346
|
+
var _ref2$width = _ref2.width,
|
|
347
|
+
width = _ref2$width === void 0 ? "20px" : _ref2$width;
|
|
348
|
+
return width;
|
|
349
|
+
}, function (_ref3) {
|
|
350
|
+
var _ref3$xmlns = _ref3.xmlns,
|
|
351
|
+
xmlns = _ref3$xmlns === void 0 ? "http://www.w3.org/2000/svg" : _ref3$xmlns;
|
|
352
|
+
return xmlns;
|
|
347
353
|
}, function (_ref4) {
|
|
348
|
-
var
|
|
349
|
-
return
|
|
354
|
+
var $spin = _ref4.$spin;
|
|
355
|
+
return $spin && spinStyle;
|
|
356
|
+
}, styledSystem.space, function (_ref5) {
|
|
357
|
+
var fill = _ref5.fill;
|
|
358
|
+
return fill;
|
|
359
|
+
}, function (_ref6) {
|
|
360
|
+
var $opac = _ref6.$opac;
|
|
361
|
+
return $opac ? 1 : 0.5;
|
|
350
362
|
});
|
|
351
|
-
Svg.defaultProps = {
|
|
352
|
-
color: "text",
|
|
353
|
-
width: "20px",
|
|
354
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
355
|
-
spin: false
|
|
356
|
-
};
|
|
357
363
|
|
|
358
364
|
var Icon$2H = function Icon(props) {
|
|
359
365
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -410,20 +416,21 @@ var getColor$1 = function getColor(_ref) {
|
|
|
410
416
|
};
|
|
411
417
|
var getFontSize = function getFontSize(_ref2) {
|
|
412
418
|
var fontSize = _ref2.fontSize,
|
|
413
|
-
small = _ref2
|
|
414
|
-
return small ? "14px" : fontSize || "16px";
|
|
419
|
+
$small = _ref2.$small;
|
|
420
|
+
return $small ? "14px" : fontSize || "16px";
|
|
415
421
|
};
|
|
416
|
-
var Text = styledComponents.styled.div
|
|
417
|
-
|
|
418
|
-
|
|
422
|
+
var Text = styledComponents.styled.div.withConfig({
|
|
423
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
424
|
+
return !['$bold', '$small'].includes(prop);
|
|
425
|
+
}
|
|
426
|
+
})(_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) {
|
|
427
|
+
var $bold = _ref3.$bold,
|
|
428
|
+
bold = _ref3.bold;
|
|
429
|
+
return $bold || bold ? 700 : 400;
|
|
419
430
|
}, function (_ref4) {
|
|
420
431
|
var textTransform = _ref4.textTransform;
|
|
421
432
|
return textTransform && "text-transform: ".concat(textTransform, ";");
|
|
422
433
|
}, styledSystem.space, styledSystem.typography);
|
|
423
|
-
Text.defaultProps = {
|
|
424
|
-
color: "text",
|
|
425
|
-
small: false
|
|
426
|
-
};
|
|
427
434
|
|
|
428
435
|
var getExternalLinkProps = function getExternalLinkProps() {
|
|
429
436
|
return {
|
|
@@ -465,9 +472,9 @@ var variants$4 = {
|
|
|
465
472
|
|
|
466
473
|
var _templateObject$29;
|
|
467
474
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
468
|
-
var isLoading = _ref
|
|
475
|
+
var $isLoading = _ref.$isLoading,
|
|
469
476
|
theme = _ref.theme;
|
|
470
|
-
if (isLoading === true) {
|
|
477
|
+
if ($isLoading === true) {
|
|
471
478
|
return "\n &:disabled,\n &.button--disabled {\n cursor: not-allowed;\n }\n ";
|
|
472
479
|
}
|
|
473
480
|
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 ");
|
|
@@ -488,12 +495,17 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
488
495
|
return theme.button[variant][prop];
|
|
489
496
|
};
|
|
490
497
|
};
|
|
491
|
-
var StyledButton$2 = styledComponents.styled.button
|
|
492
|
-
|
|
493
|
-
|
|
498
|
+
var StyledButton$2 = styledComponents.styled.button.withConfig({
|
|
499
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
500
|
+
return !['$fullWidth', '$isLoading', '$white'].includes(prop);
|
|
501
|
+
}
|
|
502
|
+
})(_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) {
|
|
503
|
+
var $white = _ref4.$white;
|
|
504
|
+
return $white ? "white" : getButtonVariantProp$3("color");
|
|
494
505
|
}, function (_ref5) {
|
|
495
|
-
var fullWidth = _ref5
|
|
496
|
-
|
|
506
|
+
var _ref5$$fullWidth = _ref5.$fullWidth,
|
|
507
|
+
$fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
|
|
508
|
+
return $fullWidth ? "100%" : "max-content";
|
|
497
509
|
}, function (_ref6) {
|
|
498
510
|
var size = _ref6.size;
|
|
499
511
|
return size === "sm" ? "32px" : "40px";
|
|
@@ -501,49 +513,51 @@ var StyledButton$2 = styledComponents.styled.button(_templateObject$29 || (_temp
|
|
|
501
513
|
var size = _ref7.size;
|
|
502
514
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
503
515
|
}, function (_ref8) {
|
|
504
|
-
var isLoading = _ref8
|
|
505
|
-
|
|
516
|
+
var _ref8$$isLoading = _ref8.$isLoading,
|
|
517
|
+
$isLoading = _ref8$$isLoading === void 0 ? false : _ref8$$isLoading;
|
|
518
|
+
return $isLoading ? 0.5 : 1;
|
|
506
519
|
}, getButtonVariantProp$3("backgroundHover"), getButtonVariantProp$3("borderColorHover"), function (_ref9) {
|
|
507
520
|
var theme = _ref9.theme;
|
|
508
521
|
return theme.colors.secondary;
|
|
509
522
|
}, getButtonVariantProp$3("backgroundActive"), getButtonVariantProp$3("boxShadowActive"), getDisabledStyles$3, removePointerEvents$3, styledSystem.space);
|
|
510
|
-
StyledButton$2.defaultProps = {
|
|
511
|
-
fullWidth: false,
|
|
512
|
-
type: "button"
|
|
513
|
-
};
|
|
514
523
|
|
|
515
|
-
var _excluded$12 = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "white"];
|
|
516
|
-
var Button$1 = function
|
|
524
|
+
var _excluded$12 = ["startIcon", "style", "endIcon", "children", "external", "$isLoading", "disabled", "$white", "$fullWidth", "fullWidth", "isLoading", "white"];
|
|
525
|
+
var Button$1 = /*#__PURE__*/React.forwardRef(function (_ref) {
|
|
517
526
|
var startIcon = _ref.startIcon,
|
|
518
527
|
style = _ref.style,
|
|
519
528
|
endIcon = _ref.endIcon,
|
|
520
529
|
children = _ref.children,
|
|
521
|
-
external = _ref.external,
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
530
|
+
_ref$external = _ref.external,
|
|
531
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
532
|
+
$isLoadingProp = _ref.$isLoading,
|
|
533
|
+
_ref$disabled = _ref.disabled,
|
|
534
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
535
|
+
$whiteProp = _ref.$white,
|
|
536
|
+
$fullWidthProp = _ref.$fullWidth,
|
|
537
|
+
fullWidthProp = _ref.fullWidth,
|
|
538
|
+
isLoadingProp = _ref.isLoading,
|
|
539
|
+
whiteProp = _ref.white,
|
|
525
540
|
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
526
541
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
527
|
-
var
|
|
542
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
543
|
+
var $white = $whiteProp || whiteProp;
|
|
544
|
+
var $fullWidth = $fullWidthProp || fullWidthProp;
|
|
545
|
+
var isDisabled = $isLoading || disabled;
|
|
528
546
|
return /*#__PURE__*/jsxRuntime.jsxs(StyledButton$2, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
529
|
-
isLoading: isLoading,
|
|
547
|
+
$isLoading: $isLoading,
|
|
530
548
|
disabled: isDisabled,
|
|
531
549
|
style: style,
|
|
532
|
-
white: white,
|
|
550
|
+
$white: $white,
|
|
551
|
+
$fullWidth: $fullWidth,
|
|
552
|
+
type: props.type || "button",
|
|
533
553
|
children: [/*#__PURE__*/React.isValidElement(startIcon) && /*#__PURE__*/React.cloneElement(startIcon, {
|
|
534
554
|
mr: "0.5rem"
|
|
535
555
|
}), children, /*#__PURE__*/React.isValidElement(endIcon) && /*#__PURE__*/React.cloneElement(endIcon, {
|
|
536
556
|
ml: "0.5rem"
|
|
537
557
|
})]
|
|
538
558
|
}));
|
|
539
|
-
};
|
|
540
|
-
Button$1.
|
|
541
|
-
variant: variants$4.PRIMARY,
|
|
542
|
-
size: sizes$2.MD,
|
|
543
|
-
external: false,
|
|
544
|
-
isLoading: false,
|
|
545
|
-
disabled: false
|
|
546
|
-
};
|
|
559
|
+
});
|
|
560
|
+
Button$1.displayName = "Button";
|
|
547
561
|
|
|
548
562
|
var Icon$2D = function Icon(props) {
|
|
549
563
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -7941,7 +7955,7 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7941
7955
|
extended: extended,
|
|
7942
7956
|
children: children
|
|
7943
7957
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$1l, {
|
|
7944
|
-
opac: true
|
|
7958
|
+
$opac: true
|
|
7945
7959
|
})]
|
|
7946
7960
|
});
|
|
7947
7961
|
};
|
|
@@ -7969,9 +7983,9 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7969
7983
|
},
|
|
7970
7984
|
extended: extended,
|
|
7971
7985
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$1i, {
|
|
7972
|
-
opac: true
|
|
7986
|
+
$opac: true
|
|
7973
7987
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$1h, {
|
|
7974
|
-
opac: true,
|
|
7988
|
+
$opac: true,
|
|
7975
7989
|
display: extended ? "block" : "none"
|
|
7976
7990
|
})]
|
|
7977
7991
|
});
|
|
@@ -8416,21 +8430,25 @@ var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({},
|
|
|
8416
8430
|
fontSize: "48px",
|
|
8417
8431
|
fontSizeLg: "64px"
|
|
8418
8432
|
});
|
|
8419
|
-
var Heading = styledComponents.styled(Text).attrs({
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
|
|
8426
|
-
|
|
8433
|
+
var Heading = styledComponents.styled(Text).attrs(function (_ref) {
|
|
8434
|
+
var _ref$as = _ref.as,
|
|
8435
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
8436
|
+
return {
|
|
8437
|
+
bold: true,
|
|
8438
|
+
as: as
|
|
8439
|
+
};
|
|
8440
|
+
})(_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) {
|
|
8441
|
+
var _ref2$size = _ref2.size,
|
|
8442
|
+
size = _ref2$size === void 0 ? sizes$1.MD : _ref2$size;
|
|
8443
|
+
return style[size].fontSize;
|
|
8427
8444
|
}, function (_ref3) {
|
|
8428
|
-
var
|
|
8429
|
-
return
|
|
8445
|
+
var theme = _ref3.theme;
|
|
8446
|
+
return theme.mediaQueries.lg;
|
|
8447
|
+
}, function (_ref4) {
|
|
8448
|
+
var _ref4$size = _ref4.size,
|
|
8449
|
+
size = _ref4$size === void 0 ? sizes$1.MD : _ref4$size;
|
|
8450
|
+
return style[size].fontSizeLg;
|
|
8430
8451
|
});
|
|
8431
|
-
Heading.defaultProps = {
|
|
8432
|
-
as: tags.H2
|
|
8433
|
-
};
|
|
8434
8452
|
|
|
8435
8453
|
var _templateObject$1_, _templateObject2$12, _templateObject3$M, _templateObject4$x;
|
|
8436
8454
|
var StyledModal = styledComponents.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) {
|
|
@@ -8475,7 +8493,7 @@ var Modal = function Modal(_ref4) {
|
|
|
8475
8493
|
"aria-label": "Close the dialog",
|
|
8476
8494
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon$2j, {
|
|
8477
8495
|
color: "primary",
|
|
8478
|
-
opac: true
|
|
8496
|
+
$opac: true
|
|
8479
8497
|
})
|
|
8480
8498
|
})]
|
|
8481
8499
|
}), /*#__PURE__*/jsxRuntime.jsx(Flex, {
|
|
@@ -8487,22 +8505,29 @@ var Modal = function Modal(_ref4) {
|
|
|
8487
8505
|
};
|
|
8488
8506
|
|
|
8489
8507
|
var _templateObject$1Z;
|
|
8490
|
-
var Overlay = styledComponents.styled.div.attrs({
|
|
8491
|
-
|
|
8492
|
-
|
|
8493
|
-
|
|
8508
|
+
var Overlay = styledComponents.styled.div.attrs(function (_ref) {
|
|
8509
|
+
var _ref$show = _ref.show,
|
|
8510
|
+
show = _ref$show === void 0 ? false : _ref$show,
|
|
8511
|
+
_ref$zIndex = _ref.zIndex,
|
|
8512
|
+
zIndex = _ref$zIndex === void 0 ? 10 : _ref$zIndex;
|
|
8513
|
+
return {
|
|
8514
|
+
role: "presentation",
|
|
8515
|
+
show: show,
|
|
8516
|
+
zIndex: zIndex
|
|
8517
|
+
};
|
|
8518
|
+
})(_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) {
|
|
8519
|
+
var _ref2$show = _ref2.show,
|
|
8520
|
+
show = _ref2$show === void 0 ? false : _ref2$show;
|
|
8494
8521
|
return show ? 0.6 : 0;
|
|
8495
|
-
}, function (_ref2) {
|
|
8496
|
-
var zIndex = _ref2.zIndex;
|
|
8497
|
-
return zIndex;
|
|
8498
8522
|
}, function (_ref3) {
|
|
8499
|
-
var
|
|
8523
|
+
var _ref3$zIndex = _ref3.zIndex,
|
|
8524
|
+
zIndex = _ref3$zIndex === void 0 ? 10 : _ref3$zIndex;
|
|
8525
|
+
return zIndex;
|
|
8526
|
+
}, function (_ref4) {
|
|
8527
|
+
var _ref4$show = _ref4.show,
|
|
8528
|
+
show = _ref4$show === void 0 ? false : _ref4$show;
|
|
8500
8529
|
return show ? "initial" : "none";
|
|
8501
8530
|
});
|
|
8502
|
-
Overlay.defaultProps = {
|
|
8503
|
-
show: false,
|
|
8504
|
-
zIndex: 10
|
|
8505
|
-
};
|
|
8506
8531
|
|
|
8507
8532
|
var _templateObject$1Y;
|
|
8508
8533
|
var ModalWrapper = styledComponents.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) {
|
|
@@ -8847,7 +8872,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8847
8872
|
_useCookies2[0];
|
|
8848
8873
|
_useCookies2[1];
|
|
8849
8874
|
return /*#__PURE__*/jsxRuntime.jsxs(Button$1, {
|
|
8850
|
-
fullWidth: true,
|
|
8875
|
+
$fullWidth: true,
|
|
8851
8876
|
variant: exports.ButtonVariant.OUTLINE,
|
|
8852
8877
|
onClick: function onClick() {
|
|
8853
8878
|
login(walletConfig.connectorId, title);
|
|
@@ -8865,7 +8890,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8865
8890
|
children: title
|
|
8866
8891
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
8867
8892
|
width: "20px",
|
|
8868
|
-
opac: true
|
|
8893
|
+
$opac: true
|
|
8869
8894
|
})]
|
|
8870
8895
|
});
|
|
8871
8896
|
};
|
|
@@ -8896,21 +8921,23 @@ var ConnectModal = function ConnectModal(_ref) {
|
|
|
8896
8921
|
});
|
|
8897
8922
|
};
|
|
8898
8923
|
|
|
8899
|
-
var _excluded$p = ["external"];
|
|
8924
|
+
var _excluded$p = ["external", "color"];
|
|
8900
8925
|
var _templateObject$1X;
|
|
8901
8926
|
var StyledLink$1 = styledComponents.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"])));
|
|
8902
|
-
var Link = function
|
|
8927
|
+
var Link = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
8903
8928
|
var external = _ref.external,
|
|
8929
|
+
_ref$color = _ref.color,
|
|
8930
|
+
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
8904
8931
|
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
8905
8932
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
8906
8933
|
return /*#__PURE__*/jsxRuntime.jsx(StyledLink$1, _objectSpread2(_objectSpread2({
|
|
8934
|
+
ref: ref,
|
|
8907
8935
|
as: "a",
|
|
8908
|
-
bold: true
|
|
8936
|
+
bold: true,
|
|
8937
|
+
color: color
|
|
8909
8938
|
}, internalProps), props));
|
|
8910
|
-
};
|
|
8911
|
-
Link.
|
|
8912
|
-
color: "primary"
|
|
8913
|
-
};
|
|
8939
|
+
});
|
|
8940
|
+
Link.displayName = "Link";
|
|
8914
8941
|
|
|
8915
8942
|
var _excluded$o = ["children"];
|
|
8916
8943
|
var LinkExternal = function LinkExternal(_ref) {
|
|
@@ -8923,7 +8950,7 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
8923
8950
|
color: "primary",
|
|
8924
8951
|
ml: "10px",
|
|
8925
8952
|
width: 15,
|
|
8926
|
-
opac: true
|
|
8953
|
+
$opac: true
|
|
8927
8954
|
})]
|
|
8928
8955
|
}));
|
|
8929
8956
|
};
|
|
@@ -9516,10 +9543,6 @@ var StyledButton$1 = styledComponents.styled.button(_templateObject$1R || (_temp
|
|
|
9516
9543
|
var theme = _ref10.theme;
|
|
9517
9544
|
return theme.colors.primary;
|
|
9518
9545
|
}, getDisabledStyles$2, removePointerEvents$2, styledSystem.space);
|
|
9519
|
-
StyledButton$1.defaultProps = {
|
|
9520
|
-
fullWidth: false,
|
|
9521
|
-
type: "button"
|
|
9522
|
-
};
|
|
9523
9546
|
|
|
9524
9547
|
var _excluded$m = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "lined"];
|
|
9525
9548
|
var Button = function Button(_ref) {
|
|
@@ -9527,9 +9550,12 @@ var Button = function Button(_ref) {
|
|
|
9527
9550
|
style = _ref.style,
|
|
9528
9551
|
endIcon = _ref.endIcon,
|
|
9529
9552
|
children = _ref.children,
|
|
9530
|
-
external = _ref.external,
|
|
9531
|
-
|
|
9532
|
-
|
|
9553
|
+
_ref$external = _ref.external,
|
|
9554
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
9555
|
+
_ref$isLoading = _ref.isLoading,
|
|
9556
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
9557
|
+
_ref$disabled = _ref.disabled,
|
|
9558
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9533
9559
|
lined = _ref.lined,
|
|
9534
9560
|
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
9535
9561
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
@@ -9548,13 +9574,6 @@ var Button = function Button(_ref) {
|
|
|
9548
9574
|
})]
|
|
9549
9575
|
}));
|
|
9550
9576
|
};
|
|
9551
|
-
Button.defaultProps = {
|
|
9552
|
-
variant: variants$2.PRIMARY,
|
|
9553
|
-
size: sizes.MD,
|
|
9554
|
-
external: false,
|
|
9555
|
-
isLoading: false,
|
|
9556
|
-
disabled: false
|
|
9557
|
-
};
|
|
9558
9577
|
|
|
9559
9578
|
var getColor = function getColor(color, theme) {
|
|
9560
9579
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
@@ -9585,7 +9604,11 @@ var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide
|
|
|
9585
9604
|
var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
|
|
9586
9605
|
var ButtonBody = styledComponents.styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9587
9606
|
var ButtonTag = styledComponents.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"])));
|
|
9588
|
-
var InactiveButton$1 = styledComponents.styled(Button)
|
|
9607
|
+
var InactiveButton$1 = styledComponents.styled(Button).withConfig({
|
|
9608
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9609
|
+
return prop !== 'colorKey';
|
|
9610
|
+
}
|
|
9611
|
+
})(_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"])));
|
|
9589
9612
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9590
9613
|
var _ref$isActive = _ref.isActive,
|
|
9591
9614
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9695,10 +9718,6 @@ var StyledButtonActivity = styledComponents.styled.button(_templateObject$1N ||
|
|
|
9695
9718
|
var size = _ref6.size;
|
|
9696
9719
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
9697
9720
|
}, getButtonVariantProp$1("borderColorHover"), getDisabledStyles$1, removePointerEvents$1, styledSystem.space);
|
|
9698
|
-
StyledButtonActivity.defaultProps = {
|
|
9699
|
-
fullWidth: false,
|
|
9700
|
-
type: "button"
|
|
9701
|
-
};
|
|
9702
9721
|
|
|
9703
9722
|
var _excluded$k = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
9704
9723
|
var ButtonActivity = function ButtonActivity(_ref) {
|
|
@@ -9706,9 +9725,12 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9706
9725
|
style = _ref.style,
|
|
9707
9726
|
endIcon = _ref.endIcon,
|
|
9708
9727
|
children = _ref.children,
|
|
9709
|
-
external = _ref.external,
|
|
9710
|
-
|
|
9711
|
-
|
|
9728
|
+
_ref$external = _ref.external,
|
|
9729
|
+
external = _ref$external === void 0 ? false : _ref$external,
|
|
9730
|
+
_ref$isLoading = _ref.isLoading,
|
|
9731
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
|
|
9732
|
+
_ref$disabled = _ref.disabled,
|
|
9733
|
+
disabled = _ref$disabled === void 0 ? false : _ref$disabled,
|
|
9712
9734
|
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
9713
9735
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
9714
9736
|
var isDisabled = isLoading || disabled;
|
|
@@ -9723,13 +9745,6 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9723
9745
|
})]
|
|
9724
9746
|
}));
|
|
9725
9747
|
};
|
|
9726
|
-
ButtonActivity.defaultProps = {
|
|
9727
|
-
variant: variants$2.PRIMARY,
|
|
9728
|
-
size: sizes.MD,
|
|
9729
|
-
external: false,
|
|
9730
|
-
isLoading: false,
|
|
9731
|
-
disabled: false
|
|
9732
|
-
};
|
|
9733
9748
|
|
|
9734
9749
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9735
9750
|
var _templateObject$1M;
|
|
@@ -9798,10 +9813,6 @@ var StyledButtonSwitch = styledComponents.styled.button(_templateObject$1L || (_
|
|
|
9798
9813
|
active = _ref7.active;
|
|
9799
9814
|
return active ? theme.colors.primary : theme.colors.grey;
|
|
9800
9815
|
}, getDisabledStyles, removePointerEvents, styledSystem.space);
|
|
9801
|
-
StyledButtonSwitch.defaultProps = {
|
|
9802
|
-
fullWidth: false,
|
|
9803
|
-
type: "button"
|
|
9804
|
-
};
|
|
9805
9816
|
|
|
9806
9817
|
var _excluded$i = ["style", "children", "isLoading", "disabled", "active"];
|
|
9807
9818
|
var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
@@ -9851,7 +9862,8 @@ var StyledToggle = styledComponents.styled.div(_templateObject3$K || (_templateO
|
|
|
9851
9862
|
var _excluded$h = ["checked", "variant"];
|
|
9852
9863
|
var Toggle$1 = function Toggle(_ref) {
|
|
9853
9864
|
var checked = _ref.checked,
|
|
9854
|
-
variant = _ref.variant,
|
|
9865
|
+
_ref$variant = _ref.variant,
|
|
9866
|
+
variant = _ref$variant === void 0 ? variants$1.PANEL : _ref$variant,
|
|
9855
9867
|
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
9856
9868
|
var isChecked = !!checked;
|
|
9857
9869
|
var disabled = props.disabled,
|
|
@@ -9871,9 +9883,6 @@ var Toggle$1 = function Toggle(_ref) {
|
|
|
9871
9883
|
})]
|
|
9872
9884
|
}));
|
|
9873
9885
|
};
|
|
9874
|
-
Toggle$1.defaultProps = {
|
|
9875
|
-
variant: variants$1.PANEL
|
|
9876
|
-
};
|
|
9877
9886
|
|
|
9878
9887
|
var _excluded$g = ["onClick", "active"];
|
|
9879
9888
|
var ButtonSwitchMenuItem = function ButtonSwitchMenuItem(_ref) {
|
|
@@ -9929,22 +9938,32 @@ var _templateObject$1I;
|
|
|
9929
9938
|
* Priority: Warning --> Success --> Active
|
|
9930
9939
|
*/
|
|
9931
9940
|
var getBoxShadow$2 = function getBoxShadow(_ref) {
|
|
9932
|
-
var isActive = _ref
|
|
9941
|
+
var $isActive = _ref.$isActive,
|
|
9942
|
+
isActive = _ref.isActive,
|
|
9943
|
+
$isSuccess = _ref.$isSuccess,
|
|
9933
9944
|
isSuccess = _ref.isSuccess,
|
|
9945
|
+
$isWarning = _ref.$isWarning,
|
|
9934
9946
|
isWarning = _ref.isWarning,
|
|
9935
9947
|
theme = _ref.theme;
|
|
9936
|
-
|
|
9948
|
+
var isWarningValue = $isWarning || isWarning;
|
|
9949
|
+
var isSuccessValue = $isSuccess || isSuccess;
|
|
9950
|
+
var isActiveValue = $isActive || isActive;
|
|
9951
|
+
if (isWarningValue) {
|
|
9937
9952
|
return theme.card.boxShadowWarning;
|
|
9938
9953
|
}
|
|
9939
|
-
if (
|
|
9954
|
+
if (isSuccessValue) {
|
|
9940
9955
|
return theme.card.boxShadowSuccess;
|
|
9941
9956
|
}
|
|
9942
|
-
if (
|
|
9957
|
+
if (isActiveValue) {
|
|
9943
9958
|
return theme.card.boxShadowActive;
|
|
9944
9959
|
}
|
|
9945
9960
|
return theme.card.boxShadow;
|
|
9946
9961
|
};
|
|
9947
|
-
var StyledCard = styledComponents.styled.div
|
|
9962
|
+
var StyledCard = styledComponents.styled.div.withConfig({
|
|
9963
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
9964
|
+
return !['$isActive', '$isSuccess', '$isWarning', '$isDisabled'].includes(prop);
|
|
9965
|
+
}
|
|
9966
|
+
})(_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) {
|
|
9948
9967
|
var theme = _ref2.theme;
|
|
9949
9968
|
return theme.colors.card;
|
|
9950
9969
|
}, function (_ref3) {
|
|
@@ -9952,15 +9971,10 @@ var StyledCard = styledComponents.styled.div(_templateObject$1I || (_templateObj
|
|
|
9952
9971
|
return theme.colors.white7;
|
|
9953
9972
|
}, getBoxShadow$2, function (_ref4) {
|
|
9954
9973
|
var theme = _ref4.theme,
|
|
9974
|
+
$isDisabled = _ref4.$isDisabled,
|
|
9955
9975
|
isDisabled = _ref4.isDisabled;
|
|
9956
|
-
return theme.colors[isDisabled ? "textDisabled" : "text"];
|
|
9976
|
+
return theme.colors[$isDisabled || isDisabled ? "textDisabled" : "text"];
|
|
9957
9977
|
}, styledSystem.space);
|
|
9958
|
-
StyledCard.defaultProps = {
|
|
9959
|
-
isActive: false,
|
|
9960
|
-
isSuccess: false,
|
|
9961
|
-
isWarning: false,
|
|
9962
|
-
isDisabled: false
|
|
9963
|
-
};
|
|
9964
9978
|
|
|
9965
9979
|
var _excluded$f = ["ribbon", "children"];
|
|
9966
9980
|
var Card = function Card(_ref) {
|
|
@@ -9973,20 +9987,25 @@ var Card = function Card(_ref) {
|
|
|
9973
9987
|
};
|
|
9974
9988
|
|
|
9975
9989
|
var _templateObject$1H;
|
|
9976
|
-
var CardBody = styledComponents.styled.div(
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9990
|
+
var CardBody = styledComponents.styled.div.attrs(function (_ref) {
|
|
9991
|
+
var _ref$p = _ref.p,
|
|
9992
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
9993
|
+
return {
|
|
9994
|
+
p: p
|
|
9995
|
+
};
|
|
9996
|
+
})(_templateObject$1H || (_templateObject$1H = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
9980
9997
|
|
|
9981
9998
|
var _templateObject$1G;
|
|
9982
9999
|
var CardHeader = styledComponents.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"])), styledSystem.space);
|
|
9983
|
-
CardHeader.defaultProps = {};
|
|
9984
10000
|
|
|
9985
10001
|
var _templateObject$1F;
|
|
9986
|
-
var CardFooter = styledComponents.styled.div(
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
10002
|
+
var CardFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
10003
|
+
var _ref$p = _ref.p,
|
|
10004
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
10005
|
+
return {
|
|
10006
|
+
p: p
|
|
10007
|
+
};
|
|
10008
|
+
})(_templateObject$1F || (_templateObject$1F = _taggedTemplateLiteral(["\n ", "\n display: flex;\n justify-content: center;\n"])), styledSystem.space);
|
|
9990
10009
|
|
|
9991
10010
|
var _templateObject$1E;
|
|
9992
10011
|
var StyledCardRibbon = styledComponents.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) {
|
|
@@ -10055,9 +10074,6 @@ var Checkbox = styledComponents.styled.input.attrs({
|
|
|
10055
10074
|
var bordered = _ref9.bordered;
|
|
10056
10075
|
return bordered ? "none !important" : "";
|
|
10057
10076
|
});
|
|
10058
|
-
Checkbox.defaultProps = {
|
|
10059
|
-
scale: scales$2.MD
|
|
10060
|
-
};
|
|
10061
10077
|
|
|
10062
10078
|
var _templateObject$1C, _templateObject2$X;
|
|
10063
10079
|
var getLeft = function getLeft(_ref) {
|
|
@@ -10100,9 +10116,6 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
10100
10116
|
})]
|
|
10101
10117
|
});
|
|
10102
10118
|
};
|
|
10103
|
-
Dropdown.defaultProps = {
|
|
10104
|
-
position: "bottom"
|
|
10105
|
-
};
|
|
10106
10119
|
|
|
10107
10120
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10108
10121
|
var _templateObject$1B, _templateObject2$W, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$j, _templateObject7$f;
|
|
@@ -10230,16 +10243,19 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10230
10243
|
};
|
|
10231
10244
|
|
|
10232
10245
|
var _templateObject$1z;
|
|
10233
|
-
var EarnedWrapperHeader = styledComponents.styled.div(
|
|
10234
|
-
var
|
|
10235
|
-
|
|
10236
|
-
|
|
10246
|
+
var EarnedWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
10247
|
+
var _ref$as = _ref.as,
|
|
10248
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
10249
|
+
return {
|
|
10250
|
+
as: as
|
|
10251
|
+
};
|
|
10252
|
+
})(_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) {
|
|
10237
10253
|
var theme = _ref2.theme;
|
|
10254
|
+
return theme.colors.white;
|
|
10255
|
+
}, function (_ref3) {
|
|
10256
|
+
var theme = _ref3.theme;
|
|
10238
10257
|
return theme.mediaQueries.md;
|
|
10239
10258
|
});
|
|
10240
|
-
EarnedWrapperHeader.defaultProps = {
|
|
10241
|
-
as: tags.H2
|
|
10242
|
-
};
|
|
10243
10259
|
|
|
10244
10260
|
var _templateObject$1y;
|
|
10245
10261
|
var GridLayout$1 = styledComponents.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) {
|
|
@@ -10375,16 +10391,19 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10375
10391
|
};
|
|
10376
10392
|
|
|
10377
10393
|
var _templateObject$1u;
|
|
10378
|
-
var EarnedCarouselWrapperHeader = styledComponents.styled.div(
|
|
10379
|
-
var
|
|
10380
|
-
|
|
10381
|
-
|
|
10394
|
+
var EarnedCarouselWrapperHeader = styledComponents.styled.div.attrs(function (_ref) {
|
|
10395
|
+
var _ref$as = _ref.as,
|
|
10396
|
+
as = _ref$as === void 0 ? tags.H2 : _ref$as;
|
|
10397
|
+
return {
|
|
10398
|
+
as: as
|
|
10399
|
+
};
|
|
10400
|
+
})(_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) {
|
|
10382
10401
|
var theme = _ref2.theme;
|
|
10402
|
+
return theme.colors.white;
|
|
10403
|
+
}, function (_ref3) {
|
|
10404
|
+
var theme = _ref3.theme;
|
|
10383
10405
|
return theme.mediaQueries.md;
|
|
10384
10406
|
});
|
|
10385
|
-
EarnedCarouselWrapperHeader.defaultProps = {
|
|
10386
|
-
as: tags.H2
|
|
10387
|
-
};
|
|
10388
10407
|
|
|
10389
10408
|
var _templateObject$1t, _templateObject2$U, _templateObject3$H;
|
|
10390
10409
|
var CSSTokenWrapper = styledComponents.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"])));
|
|
@@ -10586,10 +10605,6 @@ var StyledInfoBox = styledComponents.styled.div(_templateObject$1s || (_template
|
|
|
10586
10605
|
var theme = _ref3.theme;
|
|
10587
10606
|
return theme.colors.text;
|
|
10588
10607
|
}, styledSystem.space);
|
|
10589
|
-
StyledInfoBox.defaultProps = {
|
|
10590
|
-
isActive: false,
|
|
10591
|
-
isWarning: false
|
|
10592
|
-
};
|
|
10593
10608
|
|
|
10594
10609
|
var _excluded$a = ["children"];
|
|
10595
10610
|
var InfoBox$1 = function InfoBox(_ref) {
|
|
@@ -10601,20 +10616,25 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10601
10616
|
};
|
|
10602
10617
|
|
|
10603
10618
|
var _templateObject$1r;
|
|
10604
|
-
var InfoBox = styledComponents.styled.div(
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10619
|
+
var InfoBox = styledComponents.styled.div.attrs(function (_ref) {
|
|
10620
|
+
var _ref$p = _ref.p,
|
|
10621
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
10622
|
+
return {
|
|
10623
|
+
p: p
|
|
10624
|
+
};
|
|
10625
|
+
})(_templateObject$1r || (_templateObject$1r = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10608
10626
|
|
|
10609
10627
|
var _templateObject$1q;
|
|
10610
10628
|
var InfoBoxHeader = styledComponents.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"])), styledSystem.space);
|
|
10611
|
-
InfoBoxHeader.defaultProps = {};
|
|
10612
10629
|
|
|
10613
10630
|
var _templateObject$1p;
|
|
10614
|
-
var InfoBoxFooter = styledComponents.styled.div(
|
|
10615
|
-
|
|
10616
|
-
|
|
10617
|
-
|
|
10631
|
+
var InfoBoxFooter = styledComponents.styled.div.attrs(function (_ref) {
|
|
10632
|
+
var _ref$p = _ref.p,
|
|
10633
|
+
p = _ref$p === void 0 ? "24px" : _ref$p;
|
|
10634
|
+
return {
|
|
10635
|
+
p: p
|
|
10636
|
+
};
|
|
10637
|
+
})(_templateObject$1p || (_templateObject$1p = _taggedTemplateLiteral(["\n ", ";\n padding: 20px;\n display: flex;\n justify-content: flex-start;\n"])), styledSystem.space);
|
|
10618
10638
|
|
|
10619
10639
|
var scales$1 = {
|
|
10620
10640
|
SM: "sm",
|
|
@@ -10672,11 +10692,6 @@ var Input = styledComponents.styled.input(_templateObject$1o || (_templateObject
|
|
|
10672
10692
|
var theme = _ref8.theme;
|
|
10673
10693
|
return theme.shadows.focus;
|
|
10674
10694
|
});
|
|
10675
|
-
Input.defaultProps = {
|
|
10676
|
-
scale: scales$1.MD,
|
|
10677
|
-
isSuccess: false,
|
|
10678
|
-
isWarning: false
|
|
10679
|
-
};
|
|
10680
10695
|
|
|
10681
10696
|
var _excluded$9 = ["children"],
|
|
10682
10697
|
_excluded2 = ["children"],
|
|
@@ -11033,7 +11048,7 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11033
11048
|
fill: theme.colors.error,
|
|
11034
11049
|
width: 24,
|
|
11035
11050
|
height: 24,
|
|
11036
|
-
opac: true
|
|
11051
|
+
$opac: true
|
|
11037
11052
|
}) : success && /*#__PURE__*/jsxRuntime.jsx(Icon$1b, {})
|
|
11038
11053
|
}
|
|
11039
11054
|
/* eslint-disable-next-line react/jsx-no-duplicate-props */,
|
|
@@ -11123,39 +11138,49 @@ var getCheckedScale = function getCheckedScale(_ref2) {
|
|
|
11123
11138
|
return "20px";
|
|
11124
11139
|
}
|
|
11125
11140
|
};
|
|
11126
|
-
var Radio = styledComponents.styled.input.attrs({
|
|
11127
|
-
|
|
11128
|
-
|
|
11129
|
-
|
|
11130
|
-
|
|
11131
|
-
|
|
11141
|
+
var Radio = styledComponents.styled.input.attrs(function (_ref3) {
|
|
11142
|
+
var _ref3$scale = _ref3.scale,
|
|
11143
|
+
scale = _ref3$scale === void 0 ? scales.MD : _ref3$scale,
|
|
11144
|
+
_ref3$m = _ref3.m,
|
|
11145
|
+
m = _ref3$m === void 0 ? 0 : _ref3$m;
|
|
11146
|
+
return {
|
|
11147
|
+
type: "radio",
|
|
11148
|
+
scale: scale,
|
|
11149
|
+
m: m
|
|
11150
|
+
};
|
|
11151
|
+
})(_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) {
|
|
11132
11152
|
var theme = _ref4.theme;
|
|
11133
|
-
return theme.
|
|
11134
|
-
},
|
|
11153
|
+
return theme.colors.input;
|
|
11154
|
+
}, function (_ref5) {
|
|
11135
11155
|
var theme = _ref5.theme;
|
|
11136
|
-
return theme.shadows.
|
|
11137
|
-
}, function (_ref6) {
|
|
11156
|
+
return theme.shadows.inset;
|
|
11157
|
+
}, getCheckedScale, getCheckedScale, function (_ref6) {
|
|
11138
11158
|
var theme = _ref6.theme;
|
|
11139
11159
|
return theme.shadows.focus;
|
|
11140
11160
|
}, function (_ref7) {
|
|
11141
11161
|
var theme = _ref7.theme;
|
|
11142
|
-
return theme.
|
|
11162
|
+
return theme.shadows.focus;
|
|
11143
11163
|
}, function (_ref8) {
|
|
11144
11164
|
var theme = _ref8.theme;
|
|
11165
|
+
return theme.colors.success;
|
|
11166
|
+
}, function (_ref9) {
|
|
11167
|
+
var theme = _ref9.theme;
|
|
11145
11168
|
return theme.radio.handleBackground;
|
|
11146
11169
|
}, styledSystem.space);
|
|
11147
|
-
Radio.defaultProps = {
|
|
11148
|
-
scale: scales.MD,
|
|
11149
|
-
m: 0
|
|
11150
|
-
};
|
|
11151
11170
|
|
|
11152
|
-
var _excluded$7 = ["startIcon", "endIcon", "children"];
|
|
11171
|
+
var _excluded$7 = ["startIcon", "endIcon", "children", "variant", "outline"];
|
|
11153
11172
|
var Tag = function Tag(_ref) {
|
|
11154
11173
|
var startIcon = _ref.startIcon,
|
|
11155
11174
|
endIcon = _ref.endIcon,
|
|
11156
11175
|
children = _ref.children,
|
|
11176
|
+
_ref$variant = _ref.variant,
|
|
11177
|
+
variant = _ref$variant === void 0 ? "primary" : _ref$variant,
|
|
11178
|
+
_ref$outline = _ref.outline,
|
|
11179
|
+
outline = _ref$outline === void 0 ? false : _ref$outline,
|
|
11157
11180
|
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11158
11181
|
return /*#__PURE__*/jsxRuntime.jsxs(StyledTag, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
11182
|
+
variant: variant,
|
|
11183
|
+
outline: outline,
|
|
11159
11184
|
children: [/*#__PURE__*/React.isValidElement(startIcon) && /*#__PURE__*/React.cloneElement(startIcon, {
|
|
11160
11185
|
mr: "0.5rem"
|
|
11161
11186
|
}), children, /*#__PURE__*/React.isValidElement(endIcon) && /*#__PURE__*/React.cloneElement(endIcon, {
|
|
@@ -11163,10 +11188,6 @@ var Tag = function Tag(_ref) {
|
|
|
11163
11188
|
})]
|
|
11164
11189
|
}));
|
|
11165
11190
|
};
|
|
11166
|
-
Tag.defaultProps = {
|
|
11167
|
-
variant: "primary",
|
|
11168
|
-
outline: false
|
|
11169
|
-
};
|
|
11170
11191
|
|
|
11171
11192
|
exports.TagVariant = void 0;
|
|
11172
11193
|
(function (tagVariant) {
|
|
@@ -11304,7 +11325,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11304
11325
|
return {
|
|
11305
11326
|
color: theme.colors.lightBlue,
|
|
11306
11327
|
icon: /*#__PURE__*/jsxRuntime.jsx(Icon$2p, {
|
|
11307
|
-
opac: true,
|
|
11328
|
+
$opac: true,
|
|
11308
11329
|
fill: active ? theme.colors.lightBlue : theme.colors.grey
|
|
11309
11330
|
})
|
|
11310
11331
|
};
|
|
@@ -11312,7 +11333,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11312
11333
|
return {
|
|
11313
11334
|
color: brandColors.binance,
|
|
11314
11335
|
icon: /*#__PURE__*/jsxRuntime.jsx(Icon$2p, {
|
|
11315
|
-
opac: true,
|
|
11336
|
+
$opac: true,
|
|
11316
11337
|
fill: active ? brandColors.binance : theme.colors.grey
|
|
11317
11338
|
})
|
|
11318
11339
|
};
|
|
@@ -11320,7 +11341,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11320
11341
|
return {
|
|
11321
11342
|
color: theme.colors.vividBlue,
|
|
11322
11343
|
icon: /*#__PURE__*/jsxRuntime.jsx(Icon$1a, {
|
|
11323
|
-
opac: true,
|
|
11344
|
+
$opac: true,
|
|
11324
11345
|
stroke: active ? theme.colors.vividBlue : theme.colors.grey
|
|
11325
11346
|
})
|
|
11326
11347
|
};
|
|
@@ -11328,7 +11349,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11328
11349
|
return {
|
|
11329
11350
|
color: theme.colors.primary,
|
|
11330
11351
|
icon: /*#__PURE__*/jsxRuntime.jsx(Icon$2p, {
|
|
11331
|
-
opac: true,
|
|
11352
|
+
$opac: true,
|
|
11332
11353
|
fill: active ? theme.colors.primary : theme.colors.grey
|
|
11333
11354
|
})
|
|
11334
11355
|
};
|
|
@@ -11354,10 +11375,6 @@ var CoreTag = function CoreTag(_ref8) {
|
|
|
11354
11375
|
})]
|
|
11355
11376
|
});
|
|
11356
11377
|
};
|
|
11357
|
-
CoreTag.defaultProps = {
|
|
11358
|
-
variant: "primary",
|
|
11359
|
-
outline: false
|
|
11360
|
-
};
|
|
11361
11378
|
|
|
11362
11379
|
var Icon$M = function Icon(props) {
|
|
11363
11380
|
return /*#__PURE__*/jsxRuntime.jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -11471,11 +11488,9 @@ var List = function List(_ref3) {
|
|
|
11471
11488
|
|
|
11472
11489
|
var _templateObject$1e, _templateObject2$L;
|
|
11473
11490
|
var Bar = styledComponents.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) {
|
|
11474
|
-
|
|
11491
|
+
var _props$primary;
|
|
11492
|
+
return ((_props$primary = props.primary) !== null && _props$primary !== void 0 ? _props$primary : false) ? props.theme.colors.secondary : "".concat(props.theme.colors.secondary, "80");
|
|
11475
11493
|
});
|
|
11476
|
-
Bar.defaultProps = {
|
|
11477
|
-
primary: false
|
|
11478
|
-
};
|
|
11479
11494
|
var StyledProgress = styledComponents.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) {
|
|
11480
11495
|
var theme = _ref.theme;
|
|
11481
11496
|
return theme.colors.input;
|
|
@@ -12341,10 +12356,10 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12341
12356
|
},
|
|
12342
12357
|
children: active ? /*#__PURE__*/jsxRuntime.jsx(Icon$2l, {
|
|
12343
12358
|
fill: darkColors.primary,
|
|
12344
|
-
opac: true
|
|
12359
|
+
$opac: true
|
|
12345
12360
|
}) : /*#__PURE__*/jsxRuntime.jsx(Icon$2o, {
|
|
12346
12361
|
fill: baseColors.white55,
|
|
12347
|
-
opac: true
|
|
12362
|
+
$opac: true
|
|
12348
12363
|
})
|
|
12349
12364
|
})]
|
|
12350
12365
|
}), active ? /*#__PURE__*/jsxRuntime.jsx(StyledTableDetails, {
|
|
@@ -12538,10 +12553,10 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12538
12553
|
children: [/*#__PURE__*/jsxRuntime.jsxs(DifferenceBox, {
|
|
12539
12554
|
children: [!_.isNil(difference) && (difference > 0 ? /*#__PURE__*/jsxRuntime.jsx(Icon$2l, {
|
|
12540
12555
|
fill: baseColors.green,
|
|
12541
|
-
opac: true
|
|
12556
|
+
$opac: true
|
|
12542
12557
|
}) : /*#__PURE__*/jsxRuntime.jsx(Icon$2o, {
|
|
12543
12558
|
fill: baseColors.red,
|
|
12544
|
-
opac: true
|
|
12559
|
+
$opac: true
|
|
12545
12560
|
})), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
12546
12561
|
style: {
|
|
12547
12562
|
fontSize: "16px",
|
|
@@ -13142,7 +13157,7 @@ var ProviderRow = function ProviderRow(_ref4) {
|
|
|
13142
13157
|
isTheLastItem: isTheLastItem,
|
|
13143
13158
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
13144
13159
|
width: "40px",
|
|
13145
|
-
opac: true
|
|
13160
|
+
$opac: true
|
|
13146
13161
|
}), /*#__PURE__*/jsxRuntime.jsx(ProviderTitle, {
|
|
13147
13162
|
children: title
|
|
13148
13163
|
})]
|
|
@@ -13250,7 +13265,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13250
13265
|
isUserVerified: isUserVerified,
|
|
13251
13266
|
textAlign: "right",
|
|
13252
13267
|
children: [isUserVerified && /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13253
|
-
opac: true
|
|
13268
|
+
$opac: true
|
|
13254
13269
|
}), /*#__PURE__*/jsxRuntime.jsx(AccountNumber, {
|
|
13255
13270
|
bold: true,
|
|
13256
13271
|
fontSize: "14px",
|
|
@@ -13265,7 +13280,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13265
13280
|
children: [isUserVerified && /*#__PURE__*/jsxRuntime.jsxs(VerificationInfo, {
|
|
13266
13281
|
marginTop: "20px",
|
|
13267
13282
|
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13268
|
-
opac: true
|
|
13283
|
+
$opac: true
|
|
13269
13284
|
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
13270
13285
|
color: "#818C92",
|
|
13271
13286
|
children: "Wallet connection has been verified"
|
|
@@ -13273,7 +13288,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13273
13288
|
}), connectedProvider && /*#__PURE__*/jsxRuntime.jsxs(ConnectedProvider, {
|
|
13274
13289
|
children: [/*#__PURE__*/jsxRuntime.jsx(connectedProvider.icon, {
|
|
13275
13290
|
width: "40px",
|
|
13276
|
-
opac: true
|
|
13291
|
+
$opac: true
|
|
13277
13292
|
}), /*#__PURE__*/jsxRuntime.jsx(ProviderTitle, {
|
|
13278
13293
|
children: connectedProvider.title
|
|
13279
13294
|
})]
|
|
@@ -13361,7 +13376,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13361
13376
|
}), /*#__PURE__*/jsxRuntime.jsxs(AccountNumberWrapper, {
|
|
13362
13377
|
isVerifiedUser: true,
|
|
13363
13378
|
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13364
|
-
opac: true
|
|
13379
|
+
$opac: true
|
|
13365
13380
|
}), /*#__PURE__*/jsxRuntime.jsx(AccountNumber, {
|
|
13366
13381
|
bold: true,
|
|
13367
13382
|
fontSize: "14px",
|
|
@@ -13371,7 +13386,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13371
13386
|
}), /*#__PURE__*/jsxRuntime.jsxs(MiddleRow, {
|
|
13372
13387
|
children: [/*#__PURE__*/jsxRuntime.jsxs(VerificationInfo, {
|
|
13373
13388
|
children: [/*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
13374
|
-
opac: true
|
|
13389
|
+
$opac: true
|
|
13375
13390
|
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
13376
13391
|
color: "#818C92",
|
|
13377
13392
|
children: "Wallet connection has been verified"
|
|
@@ -13379,7 +13394,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13379
13394
|
}), connectedProvider && /*#__PURE__*/jsxRuntime.jsxs(ConnectedProvider, {
|
|
13380
13395
|
children: [connectedProvider && /*#__PURE__*/jsxRuntime.jsx(connectedProvider.icon, {
|
|
13381
13396
|
width: "40px",
|
|
13382
|
-
opac: true
|
|
13397
|
+
$opac: true
|
|
13383
13398
|
}), /*#__PURE__*/jsxRuntime.jsx(ProviderTitle, {
|
|
13384
13399
|
children: connectedProvider.title
|
|
13385
13400
|
})]
|
|
@@ -14141,7 +14156,7 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14141
14156
|
right: 30,
|
|
14142
14157
|
children: /*#__PURE__*/jsxRuntime.jsx(StyledInfoIcon, {
|
|
14143
14158
|
fill: baseColors.primary,
|
|
14144
|
-
opac: true
|
|
14159
|
+
$opac: true
|
|
14145
14160
|
})
|
|
14146
14161
|
})]
|
|
14147
14162
|
}), /*#__PURE__*/jsxRuntime.jsx(CSSPowerValue, {
|
|
@@ -14570,7 +14585,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14570
14585
|
children: [isSigned ? /*#__PURE__*/jsxRuntime.jsx(Icon$1_, {
|
|
14571
14586
|
color: baseColors.primary
|
|
14572
14587
|
}) : /*#__PURE__*/jsxRuntime.jsx(Icon$1Z, {
|
|
14573
|
-
opac: true
|
|
14588
|
+
$opac: true
|
|
14574
14589
|
}), /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
14575
14590
|
ml: "16px",
|
|
14576
14591
|
bold: true,
|
|
@@ -14619,7 +14634,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14619
14634
|
},
|
|
14620
14635
|
disabled: !eligible || actionPending || buttonDisabled,
|
|
14621
14636
|
endIcon: actionPending && /*#__PURE__*/jsxRuntime.jsx(Icon$2v, {
|
|
14622
|
-
spin: true,
|
|
14637
|
+
$spin: true,
|
|
14623
14638
|
color: "currentColor"
|
|
14624
14639
|
}),
|
|
14625
14640
|
children: getActionButtonText()
|
|
@@ -14714,7 +14729,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14714
14729
|
right: 30,
|
|
14715
14730
|
children: /*#__PURE__*/jsxRuntime.jsx(StyledInfoIcon, {
|
|
14716
14731
|
fill: baseColors.primary,
|
|
14717
|
-
opac: true
|
|
14732
|
+
$opac: true
|
|
14718
14733
|
})
|
|
14719
14734
|
})]
|
|
14720
14735
|
}), isParticipation && isSigned && /*#__PURE__*/jsxRuntime.jsxs(PersonalValuesWrapper, {
|
|
@@ -14771,7 +14786,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14771
14786
|
}), /*#__PURE__*/jsxRuntime.jsxs(MainFunctionsWrapper, {
|
|
14772
14787
|
children: [/*#__PURE__*/jsxRuntime.jsx(AddCapButton, {
|
|
14773
14788
|
endIcon: actionPending && /*#__PURE__*/jsxRuntime.jsx(Icon$2v, {
|
|
14774
|
-
spin: true,
|
|
14789
|
+
$spin: true,
|
|
14775
14790
|
color: "currentColor"
|
|
14776
14791
|
}),
|
|
14777
14792
|
disabled: isButtonDisabled() || error !== "",
|
|
@@ -15397,7 +15412,7 @@ var AccountInfo = function AccountInfo(_ref27) {
|
|
|
15397
15412
|
},
|
|
15398
15413
|
onClick: copyAccount,
|
|
15399
15414
|
fill: accountCopied ? baseColors.white55 : baseColors.primary,
|
|
15400
|
-
opac: true
|
|
15415
|
+
$opac: true
|
|
15401
15416
|
})]
|
|
15402
15417
|
})
|
|
15403
15418
|
})]
|
|
@@ -15719,7 +15734,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15719
15734
|
}), /*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
15720
15735
|
as: "a",
|
|
15721
15736
|
href: powerUpHref,
|
|
15722
|
-
fullWidth: true,
|
|
15737
|
+
$fullWidth: true,
|
|
15723
15738
|
padding: "24px 0px",
|
|
15724
15739
|
marginTop: "40px",
|
|
15725
15740
|
children: /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
@@ -15733,7 +15748,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15733
15748
|
variant: exports.ButtonVariant.OUTLINE,
|
|
15734
15749
|
as: "a",
|
|
15735
15750
|
href: learnMoreHref,
|
|
15736
|
-
fullWidth: true,
|
|
15751
|
+
$fullWidth: true,
|
|
15737
15752
|
padding: "16px 0px",
|
|
15738
15753
|
marginTop: "16px",
|
|
15739
15754
|
children: /*#__PURE__*/jsxRuntime.jsx(Text, {
|
|
@@ -15963,10 +15978,10 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
|
15963
15978
|
},
|
|
15964
15979
|
children: refCopied ? /*#__PURE__*/jsxRuntime.jsx(Icon$2q, {
|
|
15965
15980
|
fill: baseColors.secondary,
|
|
15966
|
-
opac: true
|
|
15981
|
+
$opac: true
|
|
15967
15982
|
}) : /*#__PURE__*/jsxRuntime.jsx(Icon$2g, {
|
|
15968
15983
|
fill: baseColors.secondary,
|
|
15969
|
-
opac: true
|
|
15984
|
+
$opac: true
|
|
15970
15985
|
})
|
|
15971
15986
|
})]
|
|
15972
15987
|
}), /*#__PURE__*/jsxRuntime.jsxs(SocialRow, {
|
|
@@ -15976,18 +15991,13 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
|
15976
15991
|
href: "https://twitter.com/intent/tweet?url=".concat(getEncodedUrl(refLink)),
|
|
15977
15992
|
target: "_blank",
|
|
15978
15993
|
children: /*#__PURE__*/jsxRuntime.jsx(Icon$1t, {})
|
|
15979
|
-
}), /*#__PURE__*/jsxRuntime.jsx(
|
|
15980
|
-
|
|
15981
|
-
|
|
15982
|
-
|
|
15983
|
-
|
|
15984
|
-
|
|
15985
|
-
|
|
15986
|
-
ml: 22,
|
|
15987
|
-
height: 17
|
|
15988
|
-
})]
|
|
15989
|
-
});
|
|
15990
|
-
}
|
|
15994
|
+
}), /*#__PURE__*/jsxRuntime.jsx(Link, {
|
|
15995
|
+
href: "https://www.facebook.com/sharer/sharer.php?u=".concat(getEncodedUrl(refLink)),
|
|
15996
|
+
target: "_blank",
|
|
15997
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Icon$1p, {
|
|
15998
|
+
ml: 22,
|
|
15999
|
+
height: 17
|
|
16000
|
+
})
|
|
15991
16001
|
}), /*#__PURE__*/jsxRuntime.jsx(Link, {
|
|
15992
16002
|
href: "https://telegram.me/share/url?url=".concat(getEncodedUrl(refLink)),
|
|
15993
16003
|
target: "_blank",
|
|
@@ -16660,7 +16670,7 @@ var StyledLink = styledComponents.styled(reactRouterDom.Link)(_templateObject$o
|
|
|
16660
16670
|
var theme = _ref.theme;
|
|
16661
16671
|
return theme.mediaQueries.nav;
|
|
16662
16672
|
});
|
|
16663
|
-
var CoinswapLogo = styledComponents.styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n opacity: ", ";\n width: ", ";\n transition: width 0.6s, opacity 0.3s;\n"])), function (_ref2) {
|
|
16673
|
+
var CoinswapLogo = styledComponents.styled.div(_templateObject2$i || (_templateObject2$i = _taggedTemplateLiteral(["\n $opacity: ", ";\n width: ", ";\n transition: width 0.6s, $opacity 0.3s;\n"])), function (_ref2) {
|
|
16664
16674
|
var isPushed = _ref2.isPushed;
|
|
16665
16675
|
return isPushed ? 1 : 0;
|
|
16666
16676
|
}, function (_ref3) {
|
|
@@ -16677,13 +16687,13 @@ var Logo = function Logo(_ref4) {
|
|
|
16677
16687
|
return /*#__PURE__*/jsxRuntime.jsxs(jsxRuntime.Fragment, {
|
|
16678
16688
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$2d, {
|
|
16679
16689
|
className: "mobile-icon",
|
|
16680
|
-
opac: true
|
|
16690
|
+
$opac: true
|
|
16681
16691
|
}), /*#__PURE__*/jsxRuntime.jsx(CoinswapLogo, {
|
|
16682
16692
|
isPushed: pushed,
|
|
16683
16693
|
children: !isMobile ? /*#__PURE__*/jsxRuntime.jsx(LogoWithText, {
|
|
16684
16694
|
className: "desktop-icon",
|
|
16685
16695
|
isDark: isDark,
|
|
16686
|
-
opac: true
|
|
16696
|
+
$opac: true
|
|
16687
16697
|
}) : /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {})
|
|
16688
16698
|
})]
|
|
16689
16699
|
});
|
|
@@ -16896,11 +16906,6 @@ var MenuEntry = styledComponents.styled.div(_templateObject3$d || (_templateObje
|
|
|
16896
16906
|
var theme = _ref10.theme;
|
|
16897
16907
|
return theme.colors.gradients.bubblegum;
|
|
16898
16908
|
});
|
|
16899
|
-
MenuEntry.defaultProps = {
|
|
16900
|
-
secondary: false,
|
|
16901
|
-
isActive: false,
|
|
16902
|
-
role: "button"
|
|
16903
|
-
};
|
|
16904
16909
|
|
|
16905
16910
|
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
16906
16911
|
var Container$2 = styledComponents.styled.div(_templateObject$m || (_templateObject$m = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: column;\n // Safari fix\n flex-shrink: 0;\n"])));
|
|
@@ -17034,7 +17039,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17034
17039
|
height: "18px",
|
|
17035
17040
|
mr: "8px",
|
|
17036
17041
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17037
|
-
opac: true
|
|
17042
|
+
$opac: true
|
|
17038
17043
|
}) : /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
17039
17044
|
var calloutClass = entry.calloutClass ? entry.calloutClass : undefined;
|
|
17040
17045
|
if (entry.items) {
|
|
@@ -17057,7 +17062,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17057
17062
|
var entryIconElement = EntryIcon ? /*#__PURE__*/jsxRuntime.jsx(EntryIcon, {
|
|
17058
17063
|
width: "18px",
|
|
17059
17064
|
mr: "8px",
|
|
17060
|
-
opac: true
|
|
17065
|
+
$opac: true
|
|
17061
17066
|
}) : /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
17062
17067
|
return /*#__PURE__*/jsxRuntime.jsxs(MenuEntry, {
|
|
17063
17068
|
isActive: item.href === location.pathname,
|
|
@@ -17095,30 +17100,40 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17095
17100
|
});
|
|
17096
17101
|
};
|
|
17097
17102
|
|
|
17098
|
-
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
17103
|
+
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "$isLoading", "isLoading", "disabled"];
|
|
17099
17104
|
var _templateObject$k;
|
|
17100
|
-
var StyledNavButton = styledComponents.styled.button
|
|
17101
|
-
|
|
17102
|
-
|
|
17105
|
+
var StyledNavButton = styledComponents.styled.button.withConfig({
|
|
17106
|
+
shouldForwardProp: function shouldForwardProp(prop) {
|
|
17107
|
+
return !['$fullWidth', '$isLoading'].includes(prop);
|
|
17108
|
+
}
|
|
17109
|
+
})(_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) {
|
|
17110
|
+
var $fullWidth = _ref.$fullWidth,
|
|
17111
|
+
fullWidth = _ref.fullWidth;
|
|
17112
|
+
return $fullWidth || fullWidth ? "100%" : "max-content";
|
|
17103
17113
|
}, function (_ref2) {
|
|
17104
17114
|
var size = _ref2.size;
|
|
17105
17115
|
return size === "sm" ? "32px" : "48px";
|
|
17106
17116
|
}, function (_ref3) {
|
|
17107
|
-
var isLoading = _ref3
|
|
17108
|
-
|
|
17117
|
+
var $isLoading = _ref3.$isLoading,
|
|
17118
|
+
isLoading = _ref3.isLoading;
|
|
17119
|
+
return $isLoading || isLoading ? 0.5 : 1;
|
|
17109
17120
|
});
|
|
17110
17121
|
var NavButton = function NavButton(_ref4) {
|
|
17111
17122
|
var startIcon = _ref4.startIcon,
|
|
17112
17123
|
endIcon = _ref4.endIcon,
|
|
17113
17124
|
children = _ref4.children,
|
|
17114
|
-
external = _ref4.external,
|
|
17115
|
-
|
|
17116
|
-
|
|
17125
|
+
_ref4$external = _ref4.external,
|
|
17126
|
+
external = _ref4$external === void 0 ? false : _ref4$external,
|
|
17127
|
+
$isLoadingProp = _ref4.$isLoading,
|
|
17128
|
+
isLoadingProp = _ref4.isLoading,
|
|
17129
|
+
_ref4$disabled = _ref4.disabled,
|
|
17130
|
+
disabled = _ref4$disabled === void 0 ? false : _ref4$disabled,
|
|
17117
17131
|
props = _objectWithoutProperties(_ref4, _excluded$1);
|
|
17118
17132
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
17119
|
-
var
|
|
17133
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
17134
|
+
var isDisabled = $isLoading || disabled;
|
|
17120
17135
|
return /*#__PURE__*/jsxRuntime.jsxs(StyledNavButton, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
17121
|
-
isLoading: isLoading,
|
|
17136
|
+
$isLoading: $isLoading,
|
|
17122
17137
|
disabled: isDisabled,
|
|
17123
17138
|
children: [/*#__PURE__*/React.isValidElement(startIcon) && /*#__PURE__*/React.cloneElement(startIcon, {
|
|
17124
17139
|
mr: "0.5rem"
|
|
@@ -17127,49 +17142,41 @@ var NavButton = function NavButton(_ref4) {
|
|
|
17127
17142
|
})]
|
|
17128
17143
|
}));
|
|
17129
17144
|
};
|
|
17130
|
-
NavButton.defaultProps = {
|
|
17131
|
-
variant: variants$4.PRIMARY,
|
|
17132
|
-
size: sizes$2.MD,
|
|
17133
|
-
external: false,
|
|
17134
|
-
isLoading: false,
|
|
17135
|
-
disabled: false
|
|
17136
|
-
};
|
|
17137
17145
|
|
|
17138
17146
|
var _templateObject$j;
|
|
17139
|
-
var MenuButton = styledComponents.styled(NavButton)(
|
|
17147
|
+
var MenuButton = styledComponents.styled(NavButton).attrs({
|
|
17148
|
+
variant: "text",
|
|
17149
|
+
size: "sm"
|
|
17150
|
+
})(_templateObject$j || (_templateObject$j = _taggedTemplateLiteral(["\n color: ", ";\n padding: 0 8px;\n border-radius: 8px;\n"])), function (_ref) {
|
|
17140
17151
|
var theme = _ref.theme;
|
|
17141
17152
|
return theme.colors.text;
|
|
17142
17153
|
});
|
|
17143
|
-
MenuButton.defaultProps = {
|
|
17144
|
-
variant: "text",
|
|
17145
|
-
size: "sm"
|
|
17146
|
-
};
|
|
17147
17154
|
|
|
17148
17155
|
var getLangFlag = function getLangFlag(lang) {
|
|
17149
17156
|
switch (lang.code) {
|
|
17150
17157
|
case "EN":
|
|
17151
17158
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$15, {
|
|
17152
|
-
opac: true
|
|
17159
|
+
$opac: true
|
|
17153
17160
|
});
|
|
17154
17161
|
case "CH":
|
|
17155
17162
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$14, {
|
|
17156
|
-
opac: true
|
|
17163
|
+
$opac: true
|
|
17157
17164
|
});
|
|
17158
17165
|
case "IN":
|
|
17159
17166
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$13, {
|
|
17160
|
-
opac: true
|
|
17167
|
+
$opac: true
|
|
17161
17168
|
});
|
|
17162
17169
|
case "VIE":
|
|
17163
17170
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$12, {
|
|
17164
|
-
opac: true
|
|
17171
|
+
$opac: true
|
|
17165
17172
|
});
|
|
17166
17173
|
case "TH":
|
|
17167
17174
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$11, {
|
|
17168
|
-
opac: true
|
|
17175
|
+
$opac: true
|
|
17169
17176
|
});
|
|
17170
17177
|
case "SP":
|
|
17171
17178
|
return /*#__PURE__*/jsxRuntime.jsx(Icon$10, {
|
|
17172
|
-
opac: true
|
|
17179
|
+
$opac: true
|
|
17173
17180
|
});
|
|
17174
17181
|
default:
|
|
17175
17182
|
return /*#__PURE__*/jsxRuntime.jsx("div", {});
|
|
@@ -17245,7 +17252,7 @@ var LangSelector = function LangSelector(_ref9) {
|
|
|
17245
17252
|
style: {
|
|
17246
17253
|
marginRight: 10
|
|
17247
17254
|
},
|
|
17248
|
-
opac: true
|
|
17255
|
+
$opac: true
|
|
17249
17256
|
}),
|
|
17250
17257
|
isPushed: isPushed,
|
|
17251
17258
|
children: [/*#__PURE__*/jsxRuntime.jsx(MainLangText, {
|
|
@@ -17284,7 +17291,7 @@ var LangSelector = function LangSelector(_ref9) {
|
|
|
17284
17291
|
}), /*#__PURE__*/jsxRuntime.jsx(LangsList, {
|
|
17285
17292
|
children: langs.map(function (lang, index) {
|
|
17286
17293
|
return /*#__PURE__*/jsxRuntime.jsxs(MenuButton, {
|
|
17287
|
-
fullWidth: true,
|
|
17294
|
+
$fullWidth: true,
|
|
17288
17295
|
onClick: function onClick() {
|
|
17289
17296
|
return chooseLangHandler(lang);
|
|
17290
17297
|
},
|
|
@@ -17373,7 +17380,7 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
17373
17380
|
height: "17px",
|
|
17374
17381
|
mb: "7px",
|
|
17375
17382
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17376
|
-
opac: true
|
|
17383
|
+
$opac: true
|
|
17377
17384
|
}) : /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {});
|
|
17378
17385
|
return /*#__PURE__*/jsxRuntime.jsx(MobileEntry, {
|
|
17379
17386
|
isActive: activeLink,
|
|
@@ -17527,13 +17534,13 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17527
17534
|
children: /*#__PURE__*/jsxRuntime.jsxs(Flex, {
|
|
17528
17535
|
justifyContent: "space-between",
|
|
17529
17536
|
children: [/*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
17530
|
-
white: true,
|
|
17537
|
+
$white: true,
|
|
17531
17538
|
size: "md",
|
|
17532
17539
|
variant: "secondary",
|
|
17533
17540
|
onClick: function onClick() {
|
|
17534
17541
|
return onClickHandler(false);
|
|
17535
17542
|
},
|
|
17536
|
-
fullWidth: true,
|
|
17543
|
+
$fullWidth: true,
|
|
17537
17544
|
children: t("Decline")
|
|
17538
17545
|
}), /*#__PURE__*/jsxRuntime.jsx(Space, {}), /*#__PURE__*/jsxRuntime.jsx(Button$1, {
|
|
17539
17546
|
disabled: _.some(checkBoxes, {
|
|
@@ -17544,7 +17551,7 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17544
17551
|
onClick: function onClick() {
|
|
17545
17552
|
return onClickHandler(true);
|
|
17546
17553
|
},
|
|
17547
|
-
fullWidth: true,
|
|
17554
|
+
$fullWidth: true,
|
|
17548
17555
|
children: t("Agree")
|
|
17549
17556
|
})]
|
|
17550
17557
|
})
|
|
@@ -17725,7 +17732,7 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
17725
17732
|
setIsConnectWalletPanelOpen(true);
|
|
17726
17733
|
},
|
|
17727
17734
|
children: [isUserVerified ? /*#__PURE__*/jsxRuntime.jsx(VerifiedWalletIcon, {
|
|
17728
|
-
opac: true
|
|
17735
|
+
$opac: true
|
|
17729
17736
|
}) : /*#__PURE__*/jsxRuntime.jsx(VerifyAddressIndicator, {
|
|
17730
17737
|
fontSize: "12px",
|
|
17731
17738
|
fontWeight: 500,
|
|
@@ -17796,7 +17803,7 @@ var BellNotifier = function BellNotifier(_ref1) {
|
|
|
17796
17803
|
onClick: onClick,
|
|
17797
17804
|
hasMsg: hasMessage,
|
|
17798
17805
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$1e, {
|
|
17799
|
-
opac: true,
|
|
17806
|
+
$opac: true,
|
|
17800
17807
|
fill: !hasMessage ? "#2B2B32" : undefined
|
|
17801
17808
|
}), /*#__PURE__*/jsxRuntime.jsx(NotificationNumber, {
|
|
17802
17809
|
hasMsg: hasMessage,
|
|
@@ -17823,7 +17830,7 @@ var CryptoDropdownWrapper = styledComponents.styled.button(_templateObject$a ||
|
|
|
17823
17830
|
var theme = _ref2.theme;
|
|
17824
17831
|
return theme.mediaQueries.mobile;
|
|
17825
17832
|
});
|
|
17826
|
-
var ButtonsContainer = styledComponents.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) {
|
|
17833
|
+
var ButtonsContainer = styledComponents.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) {
|
|
17827
17834
|
var theme = _ref3.theme;
|
|
17828
17835
|
return theme.backgrounds.secondary;
|
|
17829
17836
|
}, function (_ref4) {
|
|
@@ -17839,7 +17846,7 @@ var ButtonsContainer = styledComponents.styled.div(_templateObject2$7 || (_templ
|
|
|
17839
17846
|
}, function (props) {
|
|
17840
17847
|
return props.visible ? "flex" : "none";
|
|
17841
17848
|
});
|
|
17842
|
-
var ButtonRow = styledComponents.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"])));
|
|
17849
|
+
var ButtonRow = styledComponents.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"])));
|
|
17843
17850
|
var ButtonsSpacer = styledComponents.styled.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n border: 1px solid #373749;\n width: calc(100% - 20px);\n"])));
|
|
17844
17851
|
var CryptoButton = function CryptoButton(_ref6) {
|
|
17845
17852
|
var _ref6$extended = _ref6.extended,
|
|
@@ -17864,18 +17871,18 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17864
17871
|
return closeDropDownHandler();
|
|
17865
17872
|
},
|
|
17866
17873
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$1i, {
|
|
17867
|
-
opac: true,
|
|
17874
|
+
$opac: true,
|
|
17868
17875
|
height: "11"
|
|
17869
17876
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$1h, {
|
|
17870
|
-
opac: true,
|
|
17877
|
+
$opac: true,
|
|
17871
17878
|
height: "16.6"
|
|
17872
17879
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$2m, {
|
|
17873
17880
|
fill: baseColors.primaryBright,
|
|
17874
|
-
opac: true
|
|
17881
|
+
$opac: true
|
|
17875
17882
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$16, {
|
|
17876
|
-
opac: true
|
|
17883
|
+
$opac: true
|
|
17877
17884
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$17, {
|
|
17878
|
-
opac: true
|
|
17885
|
+
$opac: true
|
|
17879
17886
|
})]
|
|
17880
17887
|
}), /*#__PURE__*/jsxRuntime.jsx(ButtonsSpacer, {}), /*#__PURE__*/jsxRuntime.jsxs(ButtonRow, {
|
|
17881
17888
|
as: "a",
|
|
@@ -17885,17 +17892,17 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17885
17892
|
return closeDropDownHandler();
|
|
17886
17893
|
},
|
|
17887
17894
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$16, {
|
|
17888
|
-
opac: true
|
|
17895
|
+
$opac: true
|
|
17889
17896
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$17, {
|
|
17890
|
-
opac: true
|
|
17897
|
+
$opac: true
|
|
17891
17898
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$2m, {
|
|
17892
17899
|
fill: baseColors.primaryBright,
|
|
17893
|
-
opac: true
|
|
17900
|
+
$opac: true
|
|
17894
17901
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$1i, {
|
|
17895
|
-
opac: true,
|
|
17902
|
+
$opac: true,
|
|
17896
17903
|
height: "11"
|
|
17897
17904
|
}), /*#__PURE__*/jsxRuntime.jsx(Icon$1h, {
|
|
17898
|
-
opac: true,
|
|
17905
|
+
$opac: true,
|
|
17899
17906
|
height: "16.6"
|
|
17900
17907
|
})]
|
|
17901
17908
|
})]
|
|
@@ -17910,14 +17917,14 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17910
17917
|
return closeDropDownHandler();
|
|
17911
17918
|
},
|
|
17912
17919
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$1i, {
|
|
17913
|
-
opac: true,
|
|
17920
|
+
$opac: true,
|
|
17914
17921
|
height: isMobile ? "12" : ""
|
|
17915
17922
|
}), extended && /*#__PURE__*/jsxRuntime.jsx(Icon$1h, {
|
|
17916
|
-
opac: true,
|
|
17923
|
+
$opac: true,
|
|
17917
17924
|
display: extended ? "block" : "none",
|
|
17918
17925
|
height: isMobile ? "14" : ""
|
|
17919
17926
|
}), extended && /*#__PURE__*/jsxRuntime.jsx(Icon$2o, {
|
|
17920
|
-
opac: true
|
|
17927
|
+
$opac: true
|
|
17921
17928
|
}), /*#__PURE__*/jsxRuntime.jsx(ButtonsContainer, {
|
|
17922
17929
|
visible: dropToggled,
|
|
17923
17930
|
children: transactionsButtons()
|
|
@@ -18340,7 +18347,7 @@ var VerificationModal = function VerificationModal(props) {
|
|
|
18340
18347
|
bodyPadding: "0px 57px 32px 57px",
|
|
18341
18348
|
children: /*#__PURE__*/jsxRuntime.jsxs(VerificationModalContent, {
|
|
18342
18349
|
children: [/*#__PURE__*/jsxRuntime.jsx(Icon$28, {
|
|
18343
|
-
opac: true,
|
|
18350
|
+
$opac: true,
|
|
18344
18351
|
height: 48,
|
|
18345
18352
|
width: 48,
|
|
18346
18353
|
color: baseColors.vividBlue
|
|
@@ -18597,9 +18604,9 @@ var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
|
18597
18604
|
}), /*#__PURE__*/jsxRuntime.jsx(ModalButton, {
|
|
18598
18605
|
disabled: isButtonDisabled(),
|
|
18599
18606
|
type: "submit",
|
|
18600
|
-
isLoading: extensionsLoading,
|
|
18607
|
+
$isLoading: extensionsLoading,
|
|
18601
18608
|
endIcon: extensionsLoading && /*#__PURE__*/jsxRuntime.jsx(Icon$2v, {
|
|
18602
|
-
spin: true,
|
|
18609
|
+
$spin: true,
|
|
18603
18610
|
color: "currentColor"
|
|
18604
18611
|
}),
|
|
18605
18612
|
children: "Continue"
|