@coinswap-app/uikit 1.0.6 → 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 +321 -308
- package/dist/index.esm.js +321 -308
- 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 -1
package/dist/index.esm.js
CHANGED
|
@@ -311,26 +311,33 @@ var getThemeValue = function getThemeValue(path, fallback) {
|
|
|
311
311
|
var _templateObject$2b, _templateObject2$16, _templateObject3$O;
|
|
312
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"])));
|
|
313
313
|
var spinStyle = css(_templateObject2$16 || (_templateObject2$16 = _taggedTemplateLiteral(["\n animation: ", " 2s linear infinite;\n"])), rotate$1);
|
|
314
|
-
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) {
|
|
315
319
|
var theme = _ref.theme,
|
|
316
|
-
color = _ref.color
|
|
320
|
+
_ref$color = _ref.color,
|
|
321
|
+
color = _ref$color === void 0 ? "text" : _ref$color;
|
|
317
322
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
318
323
|
}, function (_ref2) {
|
|
319
|
-
var
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
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;
|
|
324
331
|
}, function (_ref4) {
|
|
325
|
-
var
|
|
326
|
-
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;
|
|
327
340
|
});
|
|
328
|
-
Svg.defaultProps = {
|
|
329
|
-
color: "text",
|
|
330
|
-
width: "20px",
|
|
331
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
332
|
-
spin: false
|
|
333
|
-
};
|
|
334
341
|
|
|
335
342
|
var Icon$2H = function Icon(props) {
|
|
336
343
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -387,20 +394,21 @@ var getColor$1 = function getColor(_ref) {
|
|
|
387
394
|
};
|
|
388
395
|
var getFontSize = function getFontSize(_ref2) {
|
|
389
396
|
var fontSize = _ref2.fontSize,
|
|
390
|
-
small = _ref2
|
|
391
|
-
return small ? "14px" : fontSize || "16px";
|
|
397
|
+
$small = _ref2.$small;
|
|
398
|
+
return $small ? "14px" : fontSize || "16px";
|
|
392
399
|
};
|
|
393
|
-
var Text = styled.div
|
|
394
|
-
|
|
395
|
-
|
|
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;
|
|
396
408
|
}, function (_ref4) {
|
|
397
409
|
var textTransform = _ref4.textTransform;
|
|
398
410
|
return textTransform && "text-transform: ".concat(textTransform, ";");
|
|
399
411
|
}, space, typography);
|
|
400
|
-
Text.defaultProps = {
|
|
401
|
-
color: "text",
|
|
402
|
-
small: false
|
|
403
|
-
};
|
|
404
412
|
|
|
405
413
|
var getExternalLinkProps = function getExternalLinkProps() {
|
|
406
414
|
return {
|
|
@@ -442,9 +450,9 @@ var variants$4 = {
|
|
|
442
450
|
|
|
443
451
|
var _templateObject$29;
|
|
444
452
|
var getDisabledStyles$3 = function getDisabledStyles(_ref) {
|
|
445
|
-
var isLoading = _ref
|
|
453
|
+
var $isLoading = _ref.$isLoading,
|
|
446
454
|
theme = _ref.theme;
|
|
447
|
-
if (isLoading === true) {
|
|
455
|
+
if ($isLoading === true) {
|
|
448
456
|
return "\n &:disabled,\n &.button--disabled {\n cursor: not-allowed;\n }\n ";
|
|
449
457
|
}
|
|
450
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 ");
|
|
@@ -465,12 +473,17 @@ var getButtonVariantProp$3 = function getButtonVariantProp(prop) {
|
|
|
465
473
|
return theme.button[variant][prop];
|
|
466
474
|
};
|
|
467
475
|
};
|
|
468
|
-
var StyledButton$2 = styled.button
|
|
469
|
-
|
|
470
|
-
|
|
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");
|
|
471
483
|
}, function (_ref5) {
|
|
472
|
-
var fullWidth = _ref5
|
|
473
|
-
|
|
484
|
+
var _ref5$$fullWidth = _ref5.$fullWidth,
|
|
485
|
+
$fullWidth = _ref5$$fullWidth === void 0 ? false : _ref5$$fullWidth;
|
|
486
|
+
return $fullWidth ? "100%" : "max-content";
|
|
474
487
|
}, function (_ref6) {
|
|
475
488
|
var size = _ref6.size;
|
|
476
489
|
return size === "sm" ? "32px" : "40px";
|
|
@@ -478,49 +491,51 @@ var StyledButton$2 = styled.button(_templateObject$29 || (_templateObject$29 = _
|
|
|
478
491
|
var size = _ref7.size;
|
|
479
492
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
480
493
|
}, function (_ref8) {
|
|
481
|
-
var isLoading = _ref8
|
|
482
|
-
|
|
494
|
+
var _ref8$$isLoading = _ref8.$isLoading,
|
|
495
|
+
$isLoading = _ref8$$isLoading === void 0 ? false : _ref8$$isLoading;
|
|
496
|
+
return $isLoading ? 0.5 : 1;
|
|
483
497
|
}, getButtonVariantProp$3("backgroundHover"), getButtonVariantProp$3("borderColorHover"), function (_ref9) {
|
|
484
498
|
var theme = _ref9.theme;
|
|
485
499
|
return theme.colors.secondary;
|
|
486
500
|
}, getButtonVariantProp$3("backgroundActive"), getButtonVariantProp$3("boxShadowActive"), getDisabledStyles$3, removePointerEvents$3, space);
|
|
487
|
-
StyledButton$2.defaultProps = {
|
|
488
|
-
fullWidth: false,
|
|
489
|
-
type: "button"
|
|
490
|
-
};
|
|
491
501
|
|
|
492
|
-
var _excluded$12 = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "white"];
|
|
493
|
-
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) {
|
|
494
504
|
var startIcon = _ref.startIcon,
|
|
495
505
|
style = _ref.style,
|
|
496
506
|
endIcon = _ref.endIcon,
|
|
497
507
|
children = _ref.children,
|
|
498
|
-
external = _ref.external,
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
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,
|
|
502
518
|
props = _objectWithoutProperties(_ref, _excluded$12);
|
|
503
519
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
504
|
-
var
|
|
520
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
521
|
+
var $white = $whiteProp || whiteProp;
|
|
522
|
+
var $fullWidth = $fullWidthProp || fullWidthProp;
|
|
523
|
+
var isDisabled = $isLoading || disabled;
|
|
505
524
|
return /*#__PURE__*/jsxs(StyledButton$2, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
506
|
-
isLoading: isLoading,
|
|
525
|
+
$isLoading: $isLoading,
|
|
507
526
|
disabled: isDisabled,
|
|
508
527
|
style: style,
|
|
509
|
-
white: white,
|
|
528
|
+
$white: $white,
|
|
529
|
+
$fullWidth: $fullWidth,
|
|
530
|
+
type: props.type || "button",
|
|
510
531
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
511
532
|
mr: "0.5rem"
|
|
512
533
|
}), children, /*#__PURE__*/React__default.isValidElement(endIcon) && /*#__PURE__*/React__default.cloneElement(endIcon, {
|
|
513
534
|
ml: "0.5rem"
|
|
514
535
|
})]
|
|
515
536
|
}));
|
|
516
|
-
};
|
|
517
|
-
Button$1.
|
|
518
|
-
variant: variants$4.PRIMARY,
|
|
519
|
-
size: sizes$2.MD,
|
|
520
|
-
external: false,
|
|
521
|
-
isLoading: false,
|
|
522
|
-
disabled: false
|
|
523
|
-
};
|
|
537
|
+
});
|
|
538
|
+
Button$1.displayName = "Button";
|
|
524
539
|
|
|
525
540
|
var Icon$2D = function Icon(props) {
|
|
526
541
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -7918,7 +7933,7 @@ var RampButtonLite = function RampButtonLite(_ref2) {
|
|
|
7918
7933
|
extended: extended,
|
|
7919
7934
|
children: children
|
|
7920
7935
|
}), /*#__PURE__*/jsx(Icon$1l, {
|
|
7921
|
-
opac: true
|
|
7936
|
+
$opac: true
|
|
7922
7937
|
})]
|
|
7923
7938
|
});
|
|
7924
7939
|
};
|
|
@@ -7946,9 +7961,9 @@ var RampButton = function RampButton(_ref2) {
|
|
|
7946
7961
|
},
|
|
7947
7962
|
extended: extended,
|
|
7948
7963
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
7949
|
-
opac: true
|
|
7964
|
+
$opac: true
|
|
7950
7965
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
7951
|
-
opac: true,
|
|
7966
|
+
$opac: true,
|
|
7952
7967
|
display: extended ? "block" : "none"
|
|
7953
7968
|
})]
|
|
7954
7969
|
});
|
|
@@ -8393,21 +8408,25 @@ var style = _defineProperty(_defineProperty(_defineProperty(_defineProperty({},
|
|
|
8393
8408
|
fontSize: "48px",
|
|
8394
8409
|
fontSizeLg: "64px"
|
|
8395
8410
|
});
|
|
8396
|
-
var Heading = styled(Text).attrs({
|
|
8397
|
-
|
|
8398
|
-
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
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;
|
|
8404
8422
|
}, function (_ref3) {
|
|
8405
|
-
var
|
|
8406
|
-
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;
|
|
8407
8429
|
});
|
|
8408
|
-
Heading.defaultProps = {
|
|
8409
|
-
as: tags.H2
|
|
8410
|
-
};
|
|
8411
8430
|
|
|
8412
8431
|
var _templateObject$1_, _templateObject2$12, _templateObject3$M, _templateObject4$x;
|
|
8413
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) {
|
|
@@ -8452,7 +8471,7 @@ var Modal = function Modal(_ref4) {
|
|
|
8452
8471
|
"aria-label": "Close the dialog",
|
|
8453
8472
|
children: /*#__PURE__*/jsx(Icon$2j, {
|
|
8454
8473
|
color: "primary",
|
|
8455
|
-
opac: true
|
|
8474
|
+
$opac: true
|
|
8456
8475
|
})
|
|
8457
8476
|
})]
|
|
8458
8477
|
}), /*#__PURE__*/jsx(Flex, {
|
|
@@ -8464,22 +8483,29 @@ var Modal = function Modal(_ref4) {
|
|
|
8464
8483
|
};
|
|
8465
8484
|
|
|
8466
8485
|
var _templateObject$1Z;
|
|
8467
|
-
var Overlay = styled.div.attrs({
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
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;
|
|
8471
8499
|
return show ? 0.6 : 0;
|
|
8472
|
-
}, function (_ref2) {
|
|
8473
|
-
var zIndex = _ref2.zIndex;
|
|
8474
|
-
return zIndex;
|
|
8475
8500
|
}, function (_ref3) {
|
|
8476
|
-
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;
|
|
8477
8507
|
return show ? "initial" : "none";
|
|
8478
8508
|
});
|
|
8479
|
-
Overlay.defaultProps = {
|
|
8480
|
-
show: false,
|
|
8481
|
-
zIndex: 10
|
|
8482
|
-
};
|
|
8483
8509
|
|
|
8484
8510
|
var _templateObject$1Y;
|
|
8485
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) {
|
|
@@ -8824,7 +8850,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8824
8850
|
_useCookies2[0];
|
|
8825
8851
|
_useCookies2[1];
|
|
8826
8852
|
return /*#__PURE__*/jsxs(Button$1, {
|
|
8827
|
-
fullWidth: true,
|
|
8853
|
+
$fullWidth: true,
|
|
8828
8854
|
variant: buttonVariant.OUTLINE,
|
|
8829
8855
|
onClick: function onClick() {
|
|
8830
8856
|
login(walletConfig.connectorId, title);
|
|
@@ -8842,7 +8868,7 @@ var WalletCard = function WalletCard(_ref) {
|
|
|
8842
8868
|
children: title
|
|
8843
8869
|
}), /*#__PURE__*/jsx(Icon, {
|
|
8844
8870
|
width: "20px",
|
|
8845
|
-
opac: true
|
|
8871
|
+
$opac: true
|
|
8846
8872
|
})]
|
|
8847
8873
|
});
|
|
8848
8874
|
};
|
|
@@ -8873,21 +8899,23 @@ var ConnectModal = function ConnectModal(_ref) {
|
|
|
8873
8899
|
});
|
|
8874
8900
|
};
|
|
8875
8901
|
|
|
8876
|
-
var _excluded$p = ["external"];
|
|
8902
|
+
var _excluded$p = ["external", "color"];
|
|
8877
8903
|
var _templateObject$1X;
|
|
8878
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"])));
|
|
8879
|
-
var Link = function
|
|
8905
|
+
var Link = /*#__PURE__*/React__default.forwardRef(function (_ref, ref) {
|
|
8880
8906
|
var external = _ref.external,
|
|
8907
|
+
_ref$color = _ref.color,
|
|
8908
|
+
color = _ref$color === void 0 ? "primary" : _ref$color,
|
|
8881
8909
|
props = _objectWithoutProperties(_ref, _excluded$p);
|
|
8882
8910
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
8883
8911
|
return /*#__PURE__*/jsx(StyledLink$1, _objectSpread2(_objectSpread2({
|
|
8912
|
+
ref: ref,
|
|
8884
8913
|
as: "a",
|
|
8885
|
-
bold: true
|
|
8914
|
+
bold: true,
|
|
8915
|
+
color: color
|
|
8886
8916
|
}, internalProps), props));
|
|
8887
|
-
};
|
|
8888
|
-
Link.
|
|
8889
|
-
color: "primary"
|
|
8890
|
-
};
|
|
8917
|
+
});
|
|
8918
|
+
Link.displayName = "Link";
|
|
8891
8919
|
|
|
8892
8920
|
var _excluded$o = ["children"];
|
|
8893
8921
|
var LinkExternal = function LinkExternal(_ref) {
|
|
@@ -8900,7 +8928,7 @@ var LinkExternal = function LinkExternal(_ref) {
|
|
|
8900
8928
|
color: "primary",
|
|
8901
8929
|
ml: "10px",
|
|
8902
8930
|
width: 15,
|
|
8903
|
-
opac: true
|
|
8931
|
+
$opac: true
|
|
8904
8932
|
})]
|
|
8905
8933
|
}));
|
|
8906
8934
|
};
|
|
@@ -9493,10 +9521,6 @@ var StyledButton$1 = styled.button(_templateObject$1R || (_templateObject$1R = _
|
|
|
9493
9521
|
var theme = _ref10.theme;
|
|
9494
9522
|
return theme.colors.primary;
|
|
9495
9523
|
}, getDisabledStyles$2, removePointerEvents$2, space);
|
|
9496
|
-
StyledButton$1.defaultProps = {
|
|
9497
|
-
fullWidth: false,
|
|
9498
|
-
type: "button"
|
|
9499
|
-
};
|
|
9500
9524
|
|
|
9501
9525
|
var _excluded$m = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled", "lined"];
|
|
9502
9526
|
var Button = function Button(_ref) {
|
|
@@ -9504,9 +9528,12 @@ var Button = function Button(_ref) {
|
|
|
9504
9528
|
style = _ref.style,
|
|
9505
9529
|
endIcon = _ref.endIcon,
|
|
9506
9530
|
children = _ref.children,
|
|
9507
|
-
external = _ref.external,
|
|
9508
|
-
|
|
9509
|
-
|
|
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,
|
|
9510
9537
|
lined = _ref.lined,
|
|
9511
9538
|
props = _objectWithoutProperties(_ref, _excluded$m);
|
|
9512
9539
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
@@ -9525,13 +9552,6 @@ var Button = function Button(_ref) {
|
|
|
9525
9552
|
})]
|
|
9526
9553
|
}));
|
|
9527
9554
|
};
|
|
9528
|
-
Button.defaultProps = {
|
|
9529
|
-
variant: variants$2.PRIMARY,
|
|
9530
|
-
size: sizes.MD,
|
|
9531
|
-
external: false,
|
|
9532
|
-
isLoading: false,
|
|
9533
|
-
disabled: false
|
|
9534
|
-
};
|
|
9535
9555
|
|
|
9536
9556
|
var getColor = function getColor(color, theme) {
|
|
9537
9557
|
return getThemeValue("colors.".concat(color), color)(theme);
|
|
@@ -9562,7 +9582,11 @@ var _excluded$l = ["isActive", "size", "variant", "as", "children", "tag", "hide
|
|
|
9562
9582
|
var _templateObject$1P, _templateObject2$Z, _templateObject3$L;
|
|
9563
9583
|
var ButtonBody = styled.div(_templateObject$1P || (_templateObject$1P = _taggedTemplateLiteral(["\n display: inline-flex;\n align-items: center;\n"])));
|
|
9564
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"])));
|
|
9565
|
-
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"])));
|
|
9566
9590
|
var ButtonMenuItem = function ButtonMenuItem(_ref) {
|
|
9567
9591
|
var _ref$isActive = _ref.isActive,
|
|
9568
9592
|
isActive = _ref$isActive === void 0 ? false : _ref$isActive,
|
|
@@ -9672,10 +9696,6 @@ var StyledButtonActivity = styled.button(_templateObject$1N || (_templateObject$
|
|
|
9672
9696
|
var size = _ref6.size;
|
|
9673
9697
|
return size === "sm" ? "0 16px" : "0 24px";
|
|
9674
9698
|
}, getButtonVariantProp$1("borderColorHover"), getDisabledStyles$1, removePointerEvents$1, space);
|
|
9675
|
-
StyledButtonActivity.defaultProps = {
|
|
9676
|
-
fullWidth: false,
|
|
9677
|
-
type: "button"
|
|
9678
|
-
};
|
|
9679
9699
|
|
|
9680
9700
|
var _excluded$k = ["startIcon", "style", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
9681
9701
|
var ButtonActivity = function ButtonActivity(_ref) {
|
|
@@ -9683,9 +9703,12 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9683
9703
|
style = _ref.style,
|
|
9684
9704
|
endIcon = _ref.endIcon,
|
|
9685
9705
|
children = _ref.children,
|
|
9686
|
-
external = _ref.external,
|
|
9687
|
-
|
|
9688
|
-
|
|
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,
|
|
9689
9712
|
props = _objectWithoutProperties(_ref, _excluded$k);
|
|
9690
9713
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
9691
9714
|
var isDisabled = isLoading || disabled;
|
|
@@ -9700,13 +9723,6 @@ var ButtonActivity = function ButtonActivity(_ref) {
|
|
|
9700
9723
|
})]
|
|
9701
9724
|
}));
|
|
9702
9725
|
};
|
|
9703
|
-
ButtonActivity.defaultProps = {
|
|
9704
|
-
variant: variants$2.PRIMARY,
|
|
9705
|
-
size: sizes.MD,
|
|
9706
|
-
external: false,
|
|
9707
|
-
isLoading: false,
|
|
9708
|
-
disabled: false
|
|
9709
|
-
};
|
|
9710
9726
|
|
|
9711
9727
|
var _excluded$j = ["isActive", "size", "variant", "as"];
|
|
9712
9728
|
var _templateObject$1M;
|
|
@@ -9775,10 +9791,6 @@ var StyledButtonSwitch = styled.button(_templateObject$1L || (_templateObject$1L
|
|
|
9775
9791
|
active = _ref7.active;
|
|
9776
9792
|
return active ? theme.colors.primary : theme.colors.grey;
|
|
9777
9793
|
}, getDisabledStyles, removePointerEvents, space);
|
|
9778
|
-
StyledButtonSwitch.defaultProps = {
|
|
9779
|
-
fullWidth: false,
|
|
9780
|
-
type: "button"
|
|
9781
|
-
};
|
|
9782
9794
|
|
|
9783
9795
|
var _excluded$i = ["style", "children", "isLoading", "disabled", "active"];
|
|
9784
9796
|
var ButtonSwitch = function ButtonSwitch(_ref) {
|
|
@@ -9828,7 +9840,8 @@ var StyledToggle = styled.div(_templateObject3$K || (_templateObject3$K = _tagge
|
|
|
9828
9840
|
var _excluded$h = ["checked", "variant"];
|
|
9829
9841
|
var Toggle$1 = function Toggle(_ref) {
|
|
9830
9842
|
var checked = _ref.checked,
|
|
9831
|
-
variant = _ref.variant,
|
|
9843
|
+
_ref$variant = _ref.variant,
|
|
9844
|
+
variant = _ref$variant === void 0 ? variants$1.PANEL : _ref$variant,
|
|
9832
9845
|
props = _objectWithoutProperties(_ref, _excluded$h);
|
|
9833
9846
|
var isChecked = !!checked;
|
|
9834
9847
|
var disabled = props.disabled,
|
|
@@ -9848,9 +9861,6 @@ var Toggle$1 = function Toggle(_ref) {
|
|
|
9848
9861
|
})]
|
|
9849
9862
|
}));
|
|
9850
9863
|
};
|
|
9851
|
-
Toggle$1.defaultProps = {
|
|
9852
|
-
variant: variants$1.PANEL
|
|
9853
|
-
};
|
|
9854
9864
|
|
|
9855
9865
|
var _excluded$g = ["onClick", "active"];
|
|
9856
9866
|
var ButtonSwitchMenuItem = function ButtonSwitchMenuItem(_ref) {
|
|
@@ -9906,22 +9916,32 @@ var _templateObject$1I;
|
|
|
9906
9916
|
* Priority: Warning --> Success --> Active
|
|
9907
9917
|
*/
|
|
9908
9918
|
var getBoxShadow$2 = function getBoxShadow(_ref) {
|
|
9909
|
-
var isActive = _ref
|
|
9919
|
+
var $isActive = _ref.$isActive,
|
|
9920
|
+
isActive = _ref.isActive,
|
|
9921
|
+
$isSuccess = _ref.$isSuccess,
|
|
9910
9922
|
isSuccess = _ref.isSuccess,
|
|
9923
|
+
$isWarning = _ref.$isWarning,
|
|
9911
9924
|
isWarning = _ref.isWarning,
|
|
9912
9925
|
theme = _ref.theme;
|
|
9913
|
-
|
|
9926
|
+
var isWarningValue = $isWarning || isWarning;
|
|
9927
|
+
var isSuccessValue = $isSuccess || isSuccess;
|
|
9928
|
+
var isActiveValue = $isActive || isActive;
|
|
9929
|
+
if (isWarningValue) {
|
|
9914
9930
|
return theme.card.boxShadowWarning;
|
|
9915
9931
|
}
|
|
9916
|
-
if (
|
|
9932
|
+
if (isSuccessValue) {
|
|
9917
9933
|
return theme.card.boxShadowSuccess;
|
|
9918
9934
|
}
|
|
9919
|
-
if (
|
|
9935
|
+
if (isActiveValue) {
|
|
9920
9936
|
return theme.card.boxShadowActive;
|
|
9921
9937
|
}
|
|
9922
9938
|
return theme.card.boxShadow;
|
|
9923
9939
|
};
|
|
9924
|
-
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) {
|
|
9925
9945
|
var theme = _ref2.theme;
|
|
9926
9946
|
return theme.colors.card;
|
|
9927
9947
|
}, function (_ref3) {
|
|
@@ -9929,15 +9949,10 @@ var StyledCard = styled.div(_templateObject$1I || (_templateObject$1I = _taggedT
|
|
|
9929
9949
|
return theme.colors.white7;
|
|
9930
9950
|
}, getBoxShadow$2, function (_ref4) {
|
|
9931
9951
|
var theme = _ref4.theme,
|
|
9952
|
+
$isDisabled = _ref4.$isDisabled,
|
|
9932
9953
|
isDisabled = _ref4.isDisabled;
|
|
9933
|
-
return theme.colors[isDisabled ? "textDisabled" : "text"];
|
|
9954
|
+
return theme.colors[$isDisabled || isDisabled ? "textDisabled" : "text"];
|
|
9934
9955
|
}, space);
|
|
9935
|
-
StyledCard.defaultProps = {
|
|
9936
|
-
isActive: false,
|
|
9937
|
-
isSuccess: false,
|
|
9938
|
-
isWarning: false,
|
|
9939
|
-
isDisabled: false
|
|
9940
|
-
};
|
|
9941
9956
|
|
|
9942
9957
|
var _excluded$f = ["ribbon", "children"];
|
|
9943
9958
|
var Card = function Card(_ref) {
|
|
@@ -9950,20 +9965,25 @@ var Card = function Card(_ref) {
|
|
|
9950
9965
|
};
|
|
9951
9966
|
|
|
9952
9967
|
var _templateObject$1H;
|
|
9953
|
-
var CardBody = styled.div(
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
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);
|
|
9957
9975
|
|
|
9958
9976
|
var _templateObject$1G;
|
|
9959
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);
|
|
9960
|
-
CardHeader.defaultProps = {};
|
|
9961
9978
|
|
|
9962
9979
|
var _templateObject$1F;
|
|
9963
|
-
var CardFooter = styled.div(
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
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);
|
|
9967
9987
|
|
|
9968
9988
|
var _templateObject$1E;
|
|
9969
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) {
|
|
@@ -10032,9 +10052,6 @@ var Checkbox = styled.input.attrs({
|
|
|
10032
10052
|
var bordered = _ref9.bordered;
|
|
10033
10053
|
return bordered ? "none !important" : "";
|
|
10034
10054
|
});
|
|
10035
|
-
Checkbox.defaultProps = {
|
|
10036
|
-
scale: scales$2.MD
|
|
10037
|
-
};
|
|
10038
10055
|
|
|
10039
10056
|
var _templateObject$1C, _templateObject2$X;
|
|
10040
10057
|
var getLeft = function getLeft(_ref) {
|
|
@@ -10077,9 +10094,6 @@ var Dropdown = function Dropdown(_ref7) {
|
|
|
10077
10094
|
})]
|
|
10078
10095
|
});
|
|
10079
10096
|
};
|
|
10080
|
-
Dropdown.defaultProps = {
|
|
10081
|
-
position: "bottom"
|
|
10082
|
-
};
|
|
10083
10097
|
|
|
10084
10098
|
var _excluded$e = ["tokenName", "amount", "tokenIcon", "actions"];
|
|
10085
10099
|
var _templateObject$1B, _templateObject2$W, _templateObject3$J, _templateObject4$w, _templateObject5$t, _templateObject6$j, _templateObject7$f;
|
|
@@ -10207,16 +10221,19 @@ var EarnedWrapper = function EarnedWrapper(_ref) {
|
|
|
10207
10221
|
};
|
|
10208
10222
|
|
|
10209
10223
|
var _templateObject$1z;
|
|
10210
|
-
var EarnedWrapperHeader = styled.div(
|
|
10211
|
-
var
|
|
10212
|
-
|
|
10213
|
-
|
|
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) {
|
|
10214
10231
|
var theme = _ref2.theme;
|
|
10232
|
+
return theme.colors.white;
|
|
10233
|
+
}, function (_ref3) {
|
|
10234
|
+
var theme = _ref3.theme;
|
|
10215
10235
|
return theme.mediaQueries.md;
|
|
10216
10236
|
});
|
|
10217
|
-
EarnedWrapperHeader.defaultProps = {
|
|
10218
|
-
as: tags.H2
|
|
10219
|
-
};
|
|
10220
10237
|
|
|
10221
10238
|
var _templateObject$1y;
|
|
10222
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) {
|
|
@@ -10352,16 +10369,19 @@ var EarnedCarouselWrapper = function EarnedCarouselWrapper(_ref) {
|
|
|
10352
10369
|
};
|
|
10353
10370
|
|
|
10354
10371
|
var _templateObject$1u;
|
|
10355
|
-
var EarnedCarouselWrapperHeader = styled.div(
|
|
10356
|
-
var
|
|
10357
|
-
|
|
10358
|
-
|
|
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) {
|
|
10359
10379
|
var theme = _ref2.theme;
|
|
10380
|
+
return theme.colors.white;
|
|
10381
|
+
}, function (_ref3) {
|
|
10382
|
+
var theme = _ref3.theme;
|
|
10360
10383
|
return theme.mediaQueries.md;
|
|
10361
10384
|
});
|
|
10362
|
-
EarnedCarouselWrapperHeader.defaultProps = {
|
|
10363
|
-
as: tags.H2
|
|
10364
|
-
};
|
|
10365
10385
|
|
|
10366
10386
|
var _templateObject$1t, _templateObject2$U, _templateObject3$H;
|
|
10367
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"])));
|
|
@@ -10563,10 +10583,6 @@ var StyledInfoBox = styled.div(_templateObject$1s || (_templateObject$1s = _tagg
|
|
|
10563
10583
|
var theme = _ref3.theme;
|
|
10564
10584
|
return theme.colors.text;
|
|
10565
10585
|
}, space);
|
|
10566
|
-
StyledInfoBox.defaultProps = {
|
|
10567
|
-
isActive: false,
|
|
10568
|
-
isWarning: false
|
|
10569
|
-
};
|
|
10570
10586
|
|
|
10571
10587
|
var _excluded$a = ["children"];
|
|
10572
10588
|
var InfoBox$1 = function InfoBox(_ref) {
|
|
@@ -10578,20 +10594,25 @@ var InfoBox$1 = function InfoBox(_ref) {
|
|
|
10578
10594
|
};
|
|
10579
10595
|
|
|
10580
10596
|
var _templateObject$1r;
|
|
10581
|
-
var InfoBox = styled.div(
|
|
10582
|
-
|
|
10583
|
-
|
|
10584
|
-
|
|
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);
|
|
10585
10604
|
|
|
10586
10605
|
var _templateObject$1q;
|
|
10587
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);
|
|
10588
|
-
InfoBoxHeader.defaultProps = {};
|
|
10589
10607
|
|
|
10590
10608
|
var _templateObject$1p;
|
|
10591
|
-
var InfoBoxFooter = styled.div(
|
|
10592
|
-
|
|
10593
|
-
|
|
10594
|
-
|
|
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);
|
|
10595
10616
|
|
|
10596
10617
|
var scales$1 = {
|
|
10597
10618
|
SM: "sm",
|
|
@@ -10649,11 +10670,6 @@ var Input = styled.input(_templateObject$1o || (_templateObject$1o = _taggedTemp
|
|
|
10649
10670
|
var theme = _ref8.theme;
|
|
10650
10671
|
return theme.shadows.focus;
|
|
10651
10672
|
});
|
|
10652
|
-
Input.defaultProps = {
|
|
10653
|
-
scale: scales$1.MD,
|
|
10654
|
-
isSuccess: false,
|
|
10655
|
-
isWarning: false
|
|
10656
|
-
};
|
|
10657
10673
|
|
|
10658
10674
|
var _excluded$9 = ["children"],
|
|
10659
10675
|
_excluded2 = ["children"],
|
|
@@ -11010,7 +11026,7 @@ var MuiTextInput = function MuiTextInput(_ref11) {
|
|
|
11010
11026
|
fill: theme.colors.error,
|
|
11011
11027
|
width: 24,
|
|
11012
11028
|
height: 24,
|
|
11013
|
-
opac: true
|
|
11029
|
+
$opac: true
|
|
11014
11030
|
}) : success && /*#__PURE__*/jsx(Icon$1b, {})
|
|
11015
11031
|
}
|
|
11016
11032
|
/* eslint-disable-next-line react/jsx-no-duplicate-props */,
|
|
@@ -11100,39 +11116,49 @@ var getCheckedScale = function getCheckedScale(_ref2) {
|
|
|
11100
11116
|
return "20px";
|
|
11101
11117
|
}
|
|
11102
11118
|
};
|
|
11103
|
-
var Radio = styled.input.attrs({
|
|
11104
|
-
|
|
11105
|
-
|
|
11106
|
-
|
|
11107
|
-
|
|
11108
|
-
|
|
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) {
|
|
11109
11130
|
var theme = _ref4.theme;
|
|
11110
|
-
return theme.
|
|
11111
|
-
},
|
|
11131
|
+
return theme.colors.input;
|
|
11132
|
+
}, function (_ref5) {
|
|
11112
11133
|
var theme = _ref5.theme;
|
|
11113
|
-
return theme.shadows.
|
|
11114
|
-
}, function (_ref6) {
|
|
11134
|
+
return theme.shadows.inset;
|
|
11135
|
+
}, getCheckedScale, getCheckedScale, function (_ref6) {
|
|
11115
11136
|
var theme = _ref6.theme;
|
|
11116
11137
|
return theme.shadows.focus;
|
|
11117
11138
|
}, function (_ref7) {
|
|
11118
11139
|
var theme = _ref7.theme;
|
|
11119
|
-
return theme.
|
|
11140
|
+
return theme.shadows.focus;
|
|
11120
11141
|
}, function (_ref8) {
|
|
11121
11142
|
var theme = _ref8.theme;
|
|
11143
|
+
return theme.colors.success;
|
|
11144
|
+
}, function (_ref9) {
|
|
11145
|
+
var theme = _ref9.theme;
|
|
11122
11146
|
return theme.radio.handleBackground;
|
|
11123
11147
|
}, space);
|
|
11124
|
-
Radio.defaultProps = {
|
|
11125
|
-
scale: scales.MD,
|
|
11126
|
-
m: 0
|
|
11127
|
-
};
|
|
11128
11148
|
|
|
11129
|
-
var _excluded$7 = ["startIcon", "endIcon", "children"];
|
|
11149
|
+
var _excluded$7 = ["startIcon", "endIcon", "children", "variant", "outline"];
|
|
11130
11150
|
var Tag = function Tag(_ref) {
|
|
11131
11151
|
var startIcon = _ref.startIcon,
|
|
11132
11152
|
endIcon = _ref.endIcon,
|
|
11133
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,
|
|
11134
11158
|
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
11135
11159
|
return /*#__PURE__*/jsxs(StyledTag, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
11160
|
+
variant: variant,
|
|
11161
|
+
outline: outline,
|
|
11136
11162
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
11137
11163
|
mr: "0.5rem"
|
|
11138
11164
|
}), children, /*#__PURE__*/React__default.isValidElement(endIcon) && /*#__PURE__*/React__default.cloneElement(endIcon, {
|
|
@@ -11140,10 +11166,6 @@ var Tag = function Tag(_ref) {
|
|
|
11140
11166
|
})]
|
|
11141
11167
|
}));
|
|
11142
11168
|
};
|
|
11143
|
-
Tag.defaultProps = {
|
|
11144
|
-
variant: "primary",
|
|
11145
|
-
outline: false
|
|
11146
|
-
};
|
|
11147
11169
|
|
|
11148
11170
|
var tagVariant;
|
|
11149
11171
|
(function (tagVariant) {
|
|
@@ -11281,7 +11303,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11281
11303
|
return {
|
|
11282
11304
|
color: theme.colors.lightBlue,
|
|
11283
11305
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11284
|
-
opac: true,
|
|
11306
|
+
$opac: true,
|
|
11285
11307
|
fill: active ? theme.colors.lightBlue : theme.colors.grey
|
|
11286
11308
|
})
|
|
11287
11309
|
};
|
|
@@ -11289,7 +11311,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11289
11311
|
return {
|
|
11290
11312
|
color: brandColors.binance,
|
|
11291
11313
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11292
|
-
opac: true,
|
|
11314
|
+
$opac: true,
|
|
11293
11315
|
fill: active ? brandColors.binance : theme.colors.grey
|
|
11294
11316
|
})
|
|
11295
11317
|
};
|
|
@@ -11297,7 +11319,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11297
11319
|
return {
|
|
11298
11320
|
color: theme.colors.vividBlue,
|
|
11299
11321
|
icon: /*#__PURE__*/jsx(Icon$1a, {
|
|
11300
|
-
opac: true,
|
|
11322
|
+
$opac: true,
|
|
11301
11323
|
stroke: active ? theme.colors.vividBlue : theme.colors.grey
|
|
11302
11324
|
})
|
|
11303
11325
|
};
|
|
@@ -11305,7 +11327,7 @@ var getTagPropsByVariant = function getTagPropsByVariant(variant, active, theme)
|
|
|
11305
11327
|
return {
|
|
11306
11328
|
color: theme.colors.primary,
|
|
11307
11329
|
icon: /*#__PURE__*/jsx(Icon$2p, {
|
|
11308
|
-
opac: true,
|
|
11330
|
+
$opac: true,
|
|
11309
11331
|
fill: active ? theme.colors.primary : theme.colors.grey
|
|
11310
11332
|
})
|
|
11311
11333
|
};
|
|
@@ -11331,10 +11353,6 @@ var CoreTag = function CoreTag(_ref8) {
|
|
|
11331
11353
|
})]
|
|
11332
11354
|
});
|
|
11333
11355
|
};
|
|
11334
|
-
CoreTag.defaultProps = {
|
|
11335
|
-
variant: "primary",
|
|
11336
|
-
outline: false
|
|
11337
|
-
};
|
|
11338
11356
|
|
|
11339
11357
|
var Icon$M = function Icon(props) {
|
|
11340
11358
|
return /*#__PURE__*/jsx(Svg, _objectSpread2(_objectSpread2({
|
|
@@ -11448,11 +11466,9 @@ var List = function List(_ref3) {
|
|
|
11448
11466
|
|
|
11449
11467
|
var _templateObject$1e, _templateObject2$L;
|
|
11450
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) {
|
|
11451
|
-
|
|
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");
|
|
11452
11471
|
});
|
|
11453
|
-
Bar.defaultProps = {
|
|
11454
|
-
primary: false
|
|
11455
|
-
};
|
|
11456
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) {
|
|
11457
11473
|
var theme = _ref.theme;
|
|
11458
11474
|
return theme.colors.input;
|
|
@@ -12318,10 +12334,10 @@ var TableRow = function TableRow(_ref9) {
|
|
|
12318
12334
|
},
|
|
12319
12335
|
children: active ? /*#__PURE__*/jsx(Icon$2l, {
|
|
12320
12336
|
fill: darkColors.primary,
|
|
12321
|
-
opac: true
|
|
12337
|
+
$opac: true
|
|
12322
12338
|
}) : /*#__PURE__*/jsx(Icon$2o, {
|
|
12323
12339
|
fill: baseColors.white55,
|
|
12324
|
-
opac: true
|
|
12340
|
+
$opac: true
|
|
12325
12341
|
})
|
|
12326
12342
|
})]
|
|
12327
12343
|
}), active ? /*#__PURE__*/jsx(StyledTableDetails, {
|
|
@@ -12515,10 +12531,10 @@ var ValueFull = function ValueFull(_ref) {
|
|
|
12515
12531
|
children: [/*#__PURE__*/jsxs(DifferenceBox, {
|
|
12516
12532
|
children: [!_.isNil(difference) && (difference > 0 ? /*#__PURE__*/jsx(Icon$2l, {
|
|
12517
12533
|
fill: baseColors.green,
|
|
12518
|
-
opac: true
|
|
12534
|
+
$opac: true
|
|
12519
12535
|
}) : /*#__PURE__*/jsx(Icon$2o, {
|
|
12520
12536
|
fill: baseColors.red,
|
|
12521
|
-
opac: true
|
|
12537
|
+
$opac: true
|
|
12522
12538
|
})), /*#__PURE__*/jsx(Text, {
|
|
12523
12539
|
style: {
|
|
12524
12540
|
fontSize: "16px",
|
|
@@ -13119,7 +13135,7 @@ var ProviderRow = function ProviderRow(_ref4) {
|
|
|
13119
13135
|
isTheLastItem: isTheLastItem,
|
|
13120
13136
|
children: [/*#__PURE__*/jsx(Icon, {
|
|
13121
13137
|
width: "40px",
|
|
13122
|
-
opac: true
|
|
13138
|
+
$opac: true
|
|
13123
13139
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13124
13140
|
children: title
|
|
13125
13141
|
})]
|
|
@@ -13227,7 +13243,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13227
13243
|
isUserVerified: isUserVerified,
|
|
13228
13244
|
textAlign: "right",
|
|
13229
13245
|
children: [isUserVerified && /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13230
|
-
opac: true
|
|
13246
|
+
$opac: true
|
|
13231
13247
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13232
13248
|
bold: true,
|
|
13233
13249
|
fontSize: "14px",
|
|
@@ -13242,7 +13258,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13242
13258
|
children: [isUserVerified && /*#__PURE__*/jsxs(VerificationInfo, {
|
|
13243
13259
|
marginTop: "20px",
|
|
13244
13260
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13245
|
-
opac: true
|
|
13261
|
+
$opac: true
|
|
13246
13262
|
}), /*#__PURE__*/jsx(Text, {
|
|
13247
13263
|
color: "#818C92",
|
|
13248
13264
|
children: "Wallet connection has been verified"
|
|
@@ -13250,7 +13266,7 @@ var ConnectWallet = function ConnectWallet(_ref2) {
|
|
|
13250
13266
|
}), connectedProvider && /*#__PURE__*/jsxs(ConnectedProvider, {
|
|
13251
13267
|
children: [/*#__PURE__*/jsx(connectedProvider.icon, {
|
|
13252
13268
|
width: "40px",
|
|
13253
|
-
opac: true
|
|
13269
|
+
$opac: true
|
|
13254
13270
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13255
13271
|
children: connectedProvider.title
|
|
13256
13272
|
})]
|
|
@@ -13338,7 +13354,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13338
13354
|
}), /*#__PURE__*/jsxs(AccountNumberWrapper, {
|
|
13339
13355
|
isVerifiedUser: true,
|
|
13340
13356
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13341
|
-
opac: true
|
|
13357
|
+
$opac: true
|
|
13342
13358
|
}), /*#__PURE__*/jsx(AccountNumber, {
|
|
13343
13359
|
bold: true,
|
|
13344
13360
|
fontSize: "14px",
|
|
@@ -13348,7 +13364,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13348
13364
|
}), /*#__PURE__*/jsxs(MiddleRow, {
|
|
13349
13365
|
children: [/*#__PURE__*/jsxs(VerificationInfo, {
|
|
13350
13366
|
children: [/*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
13351
|
-
opac: true
|
|
13367
|
+
$opac: true
|
|
13352
13368
|
}), /*#__PURE__*/jsx(Text, {
|
|
13353
13369
|
color: "#818C92",
|
|
13354
13370
|
children: "Wallet connection has been verified"
|
|
@@ -13356,7 +13372,7 @@ var VerifiedWallet = function VerifiedWallet(_ref) {
|
|
|
13356
13372
|
}), connectedProvider && /*#__PURE__*/jsxs(ConnectedProvider, {
|
|
13357
13373
|
children: [connectedProvider && /*#__PURE__*/jsx(connectedProvider.icon, {
|
|
13358
13374
|
width: "40px",
|
|
13359
|
-
opac: true
|
|
13375
|
+
$opac: true
|
|
13360
13376
|
}), /*#__PURE__*/jsx(ProviderTitle, {
|
|
13361
13377
|
children: connectedProvider.title
|
|
13362
13378
|
})]
|
|
@@ -14118,7 +14134,7 @@ var CSSPower = function CSSPower(_ref7) {
|
|
|
14118
14134
|
right: 30,
|
|
14119
14135
|
children: /*#__PURE__*/jsx(StyledInfoIcon, {
|
|
14120
14136
|
fill: baseColors.primary,
|
|
14121
|
-
opac: true
|
|
14137
|
+
$opac: true
|
|
14122
14138
|
})
|
|
14123
14139
|
})]
|
|
14124
14140
|
}), /*#__PURE__*/jsx(CSSPowerValue, {
|
|
@@ -14547,7 +14563,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14547
14563
|
children: [isSigned ? /*#__PURE__*/jsx(Icon$1_, {
|
|
14548
14564
|
color: baseColors.primary
|
|
14549
14565
|
}) : /*#__PURE__*/jsx(Icon$1Z, {
|
|
14550
|
-
opac: true
|
|
14566
|
+
$opac: true
|
|
14551
14567
|
}), /*#__PURE__*/jsx(Text, {
|
|
14552
14568
|
ml: "16px",
|
|
14553
14569
|
bold: true,
|
|
@@ -14596,7 +14612,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14596
14612
|
},
|
|
14597
14613
|
disabled: !eligible || actionPending || buttonDisabled,
|
|
14598
14614
|
endIcon: actionPending && /*#__PURE__*/jsx(Icon$2v, {
|
|
14599
|
-
spin: true,
|
|
14615
|
+
$spin: true,
|
|
14600
14616
|
color: "currentColor"
|
|
14601
14617
|
}),
|
|
14602
14618
|
children: getActionButtonText()
|
|
@@ -14691,7 +14707,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14691
14707
|
right: 30,
|
|
14692
14708
|
children: /*#__PURE__*/jsx(StyledInfoIcon, {
|
|
14693
14709
|
fill: baseColors.primary,
|
|
14694
|
-
opac: true
|
|
14710
|
+
$opac: true
|
|
14695
14711
|
})
|
|
14696
14712
|
})]
|
|
14697
14713
|
}), isParticipation && isSigned && /*#__PURE__*/jsxs(PersonalValuesWrapper, {
|
|
@@ -14748,7 +14764,7 @@ var AddToCap = function AddToCap(_ref18) {
|
|
|
14748
14764
|
}), /*#__PURE__*/jsxs(MainFunctionsWrapper, {
|
|
14749
14765
|
children: [/*#__PURE__*/jsx(AddCapButton, {
|
|
14750
14766
|
endIcon: actionPending && /*#__PURE__*/jsx(Icon$2v, {
|
|
14751
|
-
spin: true,
|
|
14767
|
+
$spin: true,
|
|
14752
14768
|
color: "currentColor"
|
|
14753
14769
|
}),
|
|
14754
14770
|
disabled: isButtonDisabled() || error !== "",
|
|
@@ -15374,7 +15390,7 @@ var AccountInfo = function AccountInfo(_ref27) {
|
|
|
15374
15390
|
},
|
|
15375
15391
|
onClick: copyAccount,
|
|
15376
15392
|
fill: accountCopied ? baseColors.white55 : baseColors.primary,
|
|
15377
|
-
opac: true
|
|
15393
|
+
$opac: true
|
|
15378
15394
|
})]
|
|
15379
15395
|
})
|
|
15380
15396
|
})]
|
|
@@ -15696,7 +15712,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15696
15712
|
}), /*#__PURE__*/jsx(Button$1, {
|
|
15697
15713
|
as: "a",
|
|
15698
15714
|
href: powerUpHref,
|
|
15699
|
-
fullWidth: true,
|
|
15715
|
+
$fullWidth: true,
|
|
15700
15716
|
padding: "24px 0px",
|
|
15701
15717
|
marginTop: "40px",
|
|
15702
15718
|
children: /*#__PURE__*/jsx(Text, {
|
|
@@ -15710,7 +15726,7 @@ var UserTiers = function UserTiers(props) {
|
|
|
15710
15726
|
variant: buttonVariant.OUTLINE,
|
|
15711
15727
|
as: "a",
|
|
15712
15728
|
href: learnMoreHref,
|
|
15713
|
-
fullWidth: true,
|
|
15729
|
+
$fullWidth: true,
|
|
15714
15730
|
padding: "16px 0px",
|
|
15715
15731
|
marginTop: "16px",
|
|
15716
15732
|
children: /*#__PURE__*/jsx(Text, {
|
|
@@ -15940,10 +15956,10 @@ var CopyLinkCard = function CopyLinkCard(_ref3) {
|
|
|
15940
15956
|
},
|
|
15941
15957
|
children: refCopied ? /*#__PURE__*/jsx(Icon$2q, {
|
|
15942
15958
|
fill: baseColors.secondary,
|
|
15943
|
-
opac: true
|
|
15959
|
+
$opac: true
|
|
15944
15960
|
}) : /*#__PURE__*/jsx(Icon$2g, {
|
|
15945
15961
|
fill: baseColors.secondary,
|
|
15946
|
-
opac: true
|
|
15962
|
+
$opac: true
|
|
15947
15963
|
})
|
|
15948
15964
|
})]
|
|
15949
15965
|
}), /*#__PURE__*/jsxs(SocialRow, {
|
|
@@ -16632,7 +16648,7 @@ var StyledLink = styled(Link$1)(_templateObject$o || (_templateObject$o = _tagge
|
|
|
16632
16648
|
var theme = _ref.theme;
|
|
16633
16649
|
return theme.mediaQueries.nav;
|
|
16634
16650
|
});
|
|
16635
|
-
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) {
|
|
16636
16652
|
var isPushed = _ref2.isPushed;
|
|
16637
16653
|
return isPushed ? 1 : 0;
|
|
16638
16654
|
}, function (_ref3) {
|
|
@@ -16649,13 +16665,13 @@ var Logo$1 = function Logo(_ref4) {
|
|
|
16649
16665
|
return /*#__PURE__*/jsxs(Fragment, {
|
|
16650
16666
|
children: [/*#__PURE__*/jsx(Icon$2d, {
|
|
16651
16667
|
className: "mobile-icon",
|
|
16652
|
-
opac: true
|
|
16668
|
+
$opac: true
|
|
16653
16669
|
}), /*#__PURE__*/jsx(CoinswapLogo, {
|
|
16654
16670
|
isPushed: pushed,
|
|
16655
16671
|
children: !isMobile ? /*#__PURE__*/jsx(LogoWithText, {
|
|
16656
16672
|
className: "desktop-icon",
|
|
16657
16673
|
isDark: isDark,
|
|
16658
|
-
opac: true
|
|
16674
|
+
$opac: true
|
|
16659
16675
|
}) : /*#__PURE__*/jsx(Fragment, {})
|
|
16660
16676
|
})]
|
|
16661
16677
|
});
|
|
@@ -16868,11 +16884,6 @@ var MenuEntry = styled.div(_templateObject3$d || (_templateObject3$d = _taggedTe
|
|
|
16868
16884
|
var theme = _ref10.theme;
|
|
16869
16885
|
return theme.colors.gradients.bubblegum;
|
|
16870
16886
|
});
|
|
16871
|
-
MenuEntry.defaultProps = {
|
|
16872
|
-
secondary: false,
|
|
16873
|
-
isActive: false,
|
|
16874
|
-
role: "button"
|
|
16875
|
-
};
|
|
16876
16887
|
|
|
16877
16888
|
var _templateObject$m, _templateObject2$g, _templateObject3$c;
|
|
16878
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"])));
|
|
@@ -17006,7 +17017,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17006
17017
|
height: "18px",
|
|
17007
17018
|
mr: "8px",
|
|
17008
17019
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17009
|
-
opac: true
|
|
17020
|
+
$opac: true
|
|
17010
17021
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17011
17022
|
var calloutClass = entry.calloutClass ? entry.calloutClass : undefined;
|
|
17012
17023
|
if (entry.items) {
|
|
@@ -17029,7 +17040,7 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17029
17040
|
var entryIconElement = EntryIcon ? /*#__PURE__*/jsx(EntryIcon, {
|
|
17030
17041
|
width: "18px",
|
|
17031
17042
|
mr: "8px",
|
|
17032
|
-
opac: true
|
|
17043
|
+
$opac: true
|
|
17033
17044
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17034
17045
|
return /*#__PURE__*/jsxs(MenuEntry, {
|
|
17035
17046
|
isActive: item.href === location.pathname,
|
|
@@ -17067,30 +17078,40 @@ var PanelBody = function PanelBody(_ref4) {
|
|
|
17067
17078
|
});
|
|
17068
17079
|
};
|
|
17069
17080
|
|
|
17070
|
-
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "isLoading", "disabled"];
|
|
17081
|
+
var _excluded$1 = ["startIcon", "endIcon", "children", "external", "$isLoading", "isLoading", "disabled"];
|
|
17071
17082
|
var _templateObject$k;
|
|
17072
|
-
var StyledNavButton = styled.button
|
|
17073
|
-
|
|
17074
|
-
|
|
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";
|
|
17075
17091
|
}, function (_ref2) {
|
|
17076
17092
|
var size = _ref2.size;
|
|
17077
17093
|
return size === "sm" ? "32px" : "48px";
|
|
17078
17094
|
}, function (_ref3) {
|
|
17079
|
-
var isLoading = _ref3
|
|
17080
|
-
|
|
17095
|
+
var $isLoading = _ref3.$isLoading,
|
|
17096
|
+
isLoading = _ref3.isLoading;
|
|
17097
|
+
return $isLoading || isLoading ? 0.5 : 1;
|
|
17081
17098
|
});
|
|
17082
17099
|
var NavButton = function NavButton(_ref4) {
|
|
17083
17100
|
var startIcon = _ref4.startIcon,
|
|
17084
17101
|
endIcon = _ref4.endIcon,
|
|
17085
17102
|
children = _ref4.children,
|
|
17086
|
-
external = _ref4.external,
|
|
17087
|
-
|
|
17088
|
-
|
|
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,
|
|
17089
17109
|
props = _objectWithoutProperties(_ref4, _excluded$1);
|
|
17090
17110
|
var internalProps = external ? getExternalLinkProps() : {};
|
|
17091
|
-
var
|
|
17111
|
+
var $isLoading = $isLoadingProp || isLoadingProp || false;
|
|
17112
|
+
var isDisabled = $isLoading || disabled;
|
|
17092
17113
|
return /*#__PURE__*/jsxs(StyledNavButton, _objectSpread2(_objectSpread2(_objectSpread2({}, internalProps), props), {}, {
|
|
17093
|
-
isLoading: isLoading,
|
|
17114
|
+
$isLoading: $isLoading,
|
|
17094
17115
|
disabled: isDisabled,
|
|
17095
17116
|
children: [/*#__PURE__*/React__default.isValidElement(startIcon) && /*#__PURE__*/React__default.cloneElement(startIcon, {
|
|
17096
17117
|
mr: "0.5rem"
|
|
@@ -17099,49 +17120,41 @@ var NavButton = function NavButton(_ref4) {
|
|
|
17099
17120
|
})]
|
|
17100
17121
|
}));
|
|
17101
17122
|
};
|
|
17102
|
-
NavButton.defaultProps = {
|
|
17103
|
-
variant: variants$4.PRIMARY,
|
|
17104
|
-
size: sizes$2.MD,
|
|
17105
|
-
external: false,
|
|
17106
|
-
isLoading: false,
|
|
17107
|
-
disabled: false
|
|
17108
|
-
};
|
|
17109
17123
|
|
|
17110
17124
|
var _templateObject$j;
|
|
17111
|
-
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) {
|
|
17112
17129
|
var theme = _ref.theme;
|
|
17113
17130
|
return theme.colors.text;
|
|
17114
17131
|
});
|
|
17115
|
-
MenuButton.defaultProps = {
|
|
17116
|
-
variant: "text",
|
|
17117
|
-
size: "sm"
|
|
17118
|
-
};
|
|
17119
17132
|
|
|
17120
17133
|
var getLangFlag = function getLangFlag(lang) {
|
|
17121
17134
|
switch (lang.code) {
|
|
17122
17135
|
case "EN":
|
|
17123
17136
|
return /*#__PURE__*/jsx(Icon$15, {
|
|
17124
|
-
opac: true
|
|
17137
|
+
$opac: true
|
|
17125
17138
|
});
|
|
17126
17139
|
case "CH":
|
|
17127
17140
|
return /*#__PURE__*/jsx(Icon$14, {
|
|
17128
|
-
opac: true
|
|
17141
|
+
$opac: true
|
|
17129
17142
|
});
|
|
17130
17143
|
case "IN":
|
|
17131
17144
|
return /*#__PURE__*/jsx(Icon$13, {
|
|
17132
|
-
opac: true
|
|
17145
|
+
$opac: true
|
|
17133
17146
|
});
|
|
17134
17147
|
case "VIE":
|
|
17135
17148
|
return /*#__PURE__*/jsx(Icon$12, {
|
|
17136
|
-
opac: true
|
|
17149
|
+
$opac: true
|
|
17137
17150
|
});
|
|
17138
17151
|
case "TH":
|
|
17139
17152
|
return /*#__PURE__*/jsx(Icon$11, {
|
|
17140
|
-
opac: true
|
|
17153
|
+
$opac: true
|
|
17141
17154
|
});
|
|
17142
17155
|
case "SP":
|
|
17143
17156
|
return /*#__PURE__*/jsx(Icon$10, {
|
|
17144
|
-
opac: true
|
|
17157
|
+
$opac: true
|
|
17145
17158
|
});
|
|
17146
17159
|
default:
|
|
17147
17160
|
return /*#__PURE__*/jsx("div", {});
|
|
@@ -17217,7 +17230,7 @@ var LangSelector$1 = function LangSelector(_ref9) {
|
|
|
17217
17230
|
style: {
|
|
17218
17231
|
marginRight: 10
|
|
17219
17232
|
},
|
|
17220
|
-
opac: true
|
|
17233
|
+
$opac: true
|
|
17221
17234
|
}),
|
|
17222
17235
|
isPushed: isPushed,
|
|
17223
17236
|
children: [/*#__PURE__*/jsx(MainLangText, {
|
|
@@ -17256,7 +17269,7 @@ var LangSelector$1 = function LangSelector(_ref9) {
|
|
|
17256
17269
|
}), /*#__PURE__*/jsx(LangsList, {
|
|
17257
17270
|
children: langs.map(function (lang, index) {
|
|
17258
17271
|
return /*#__PURE__*/jsxs(MenuButton, {
|
|
17259
|
-
fullWidth: true,
|
|
17272
|
+
$fullWidth: true,
|
|
17260
17273
|
onClick: function onClick() {
|
|
17261
17274
|
return chooseLangHandler(lang);
|
|
17262
17275
|
},
|
|
@@ -17345,7 +17358,7 @@ var MobileMenu = function MobileMenu(_ref3) {
|
|
|
17345
17358
|
height: "17px",
|
|
17346
17359
|
mb: "7px",
|
|
17347
17360
|
fill: activeLink ? "#12FFB8" : baseColors.grey,
|
|
17348
|
-
opac: true
|
|
17361
|
+
$opac: true
|
|
17349
17362
|
}) : /*#__PURE__*/jsx(Fragment, {});
|
|
17350
17363
|
return /*#__PURE__*/jsx(MobileEntry, {
|
|
17351
17364
|
isActive: activeLink,
|
|
@@ -17499,13 +17512,13 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17499
17512
|
children: /*#__PURE__*/jsxs(Flex, {
|
|
17500
17513
|
justifyContent: "space-between",
|
|
17501
17514
|
children: [/*#__PURE__*/jsx(Button$1, {
|
|
17502
|
-
white: true,
|
|
17515
|
+
$white: true,
|
|
17503
17516
|
size: "md",
|
|
17504
17517
|
variant: "secondary",
|
|
17505
17518
|
onClick: function onClick() {
|
|
17506
17519
|
return onClickHandler(false);
|
|
17507
17520
|
},
|
|
17508
|
-
fullWidth: true,
|
|
17521
|
+
$fullWidth: true,
|
|
17509
17522
|
children: t("Decline")
|
|
17510
17523
|
}), /*#__PURE__*/jsx(Space, {}), /*#__PURE__*/jsx(Button$1, {
|
|
17511
17524
|
disabled: some(checkBoxes, {
|
|
@@ -17516,7 +17529,7 @@ var DiclaimerModal = function DiclaimerModal(_ref) {
|
|
|
17516
17529
|
onClick: function onClick() {
|
|
17517
17530
|
return onClickHandler(true);
|
|
17518
17531
|
},
|
|
17519
|
-
fullWidth: true,
|
|
17532
|
+
$fullWidth: true,
|
|
17520
17533
|
children: t("Agree")
|
|
17521
17534
|
})]
|
|
17522
17535
|
})
|
|
@@ -17697,7 +17710,7 @@ var UserBlock = function UserBlock(_ref8) {
|
|
|
17697
17710
|
setIsConnectWalletPanelOpen(true);
|
|
17698
17711
|
},
|
|
17699
17712
|
children: [isUserVerified ? /*#__PURE__*/jsx(VerifiedWalletIcon, {
|
|
17700
|
-
opac: true
|
|
17713
|
+
$opac: true
|
|
17701
17714
|
}) : /*#__PURE__*/jsx(VerifyAddressIndicator, {
|
|
17702
17715
|
fontSize: "12px",
|
|
17703
17716
|
fontWeight: 500,
|
|
@@ -17768,7 +17781,7 @@ var BellNotifier = function BellNotifier(_ref1) {
|
|
|
17768
17781
|
onClick: onClick,
|
|
17769
17782
|
hasMsg: hasMessage,
|
|
17770
17783
|
children: [/*#__PURE__*/jsx(Icon$1e, {
|
|
17771
|
-
opac: true,
|
|
17784
|
+
$opac: true,
|
|
17772
17785
|
fill: !hasMessage ? "#2B2B32" : undefined
|
|
17773
17786
|
}), /*#__PURE__*/jsx(NotificationNumber, {
|
|
17774
17787
|
hasMsg: hasMessage,
|
|
@@ -17795,7 +17808,7 @@ var CryptoDropdownWrapper = styled.button(_templateObject$a || (_templateObject$
|
|
|
17795
17808
|
var theme = _ref2.theme;
|
|
17796
17809
|
return theme.mediaQueries.mobile;
|
|
17797
17810
|
});
|
|
17798
|
-
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) {
|
|
17799
17812
|
var theme = _ref3.theme;
|
|
17800
17813
|
return theme.backgrounds.secondary;
|
|
17801
17814
|
}, function (_ref4) {
|
|
@@ -17811,7 +17824,7 @@ var ButtonsContainer = styled.div(_templateObject2$7 || (_templateObject2$7 = _t
|
|
|
17811
17824
|
}, function (props) {
|
|
17812
17825
|
return props.visible ? "flex" : "none";
|
|
17813
17826
|
});
|
|
17814
|
-
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"])));
|
|
17815
17828
|
var ButtonsSpacer = styled.div(_templateObject4$6 || (_templateObject4$6 = _taggedTemplateLiteral(["\n border: 1px solid #373749;\n width: calc(100% - 20px);\n"])));
|
|
17816
17829
|
var CryptoButton = function CryptoButton(_ref6) {
|
|
17817
17830
|
var _ref6$extended = _ref6.extended,
|
|
@@ -17836,18 +17849,18 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17836
17849
|
return closeDropDownHandler();
|
|
17837
17850
|
},
|
|
17838
17851
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
17839
|
-
opac: true,
|
|
17852
|
+
$opac: true,
|
|
17840
17853
|
height: "11"
|
|
17841
17854
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
17842
|
-
opac: true,
|
|
17855
|
+
$opac: true,
|
|
17843
17856
|
height: "16.6"
|
|
17844
17857
|
}), /*#__PURE__*/jsx(Icon$2m, {
|
|
17845
17858
|
fill: baseColors.primaryBright,
|
|
17846
|
-
opac: true
|
|
17859
|
+
$opac: true
|
|
17847
17860
|
}), /*#__PURE__*/jsx(Icon$16, {
|
|
17848
|
-
opac: true
|
|
17861
|
+
$opac: true
|
|
17849
17862
|
}), /*#__PURE__*/jsx(Icon$17, {
|
|
17850
|
-
opac: true
|
|
17863
|
+
$opac: true
|
|
17851
17864
|
})]
|
|
17852
17865
|
}), /*#__PURE__*/jsx(ButtonsSpacer, {}), /*#__PURE__*/jsxs(ButtonRow, {
|
|
17853
17866
|
as: "a",
|
|
@@ -17857,17 +17870,17 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17857
17870
|
return closeDropDownHandler();
|
|
17858
17871
|
},
|
|
17859
17872
|
children: [/*#__PURE__*/jsx(Icon$16, {
|
|
17860
|
-
opac: true
|
|
17873
|
+
$opac: true
|
|
17861
17874
|
}), /*#__PURE__*/jsx(Icon$17, {
|
|
17862
|
-
opac: true
|
|
17875
|
+
$opac: true
|
|
17863
17876
|
}), /*#__PURE__*/jsx(Icon$2m, {
|
|
17864
17877
|
fill: baseColors.primaryBright,
|
|
17865
|
-
opac: true
|
|
17878
|
+
$opac: true
|
|
17866
17879
|
}), /*#__PURE__*/jsx(Icon$1i, {
|
|
17867
|
-
opac: true,
|
|
17880
|
+
$opac: true,
|
|
17868
17881
|
height: "11"
|
|
17869
17882
|
}), /*#__PURE__*/jsx(Icon$1h, {
|
|
17870
|
-
opac: true,
|
|
17883
|
+
$opac: true,
|
|
17871
17884
|
height: "16.6"
|
|
17872
17885
|
})]
|
|
17873
17886
|
})]
|
|
@@ -17882,14 +17895,14 @@ var CryptoButton = function CryptoButton(_ref6) {
|
|
|
17882
17895
|
return closeDropDownHandler();
|
|
17883
17896
|
},
|
|
17884
17897
|
children: [/*#__PURE__*/jsx(Icon$1i, {
|
|
17885
|
-
opac: true,
|
|
17898
|
+
$opac: true,
|
|
17886
17899
|
height: isMobile ? "12" : ""
|
|
17887
17900
|
}), extended && /*#__PURE__*/jsx(Icon$1h, {
|
|
17888
|
-
opac: true,
|
|
17901
|
+
$opac: true,
|
|
17889
17902
|
display: extended ? "block" : "none",
|
|
17890
17903
|
height: isMobile ? "14" : ""
|
|
17891
17904
|
}), extended && /*#__PURE__*/jsx(Icon$2o, {
|
|
17892
|
-
opac: true
|
|
17905
|
+
$opac: true
|
|
17893
17906
|
}), /*#__PURE__*/jsx(ButtonsContainer, {
|
|
17894
17907
|
visible: dropToggled,
|
|
17895
17908
|
children: transactionsButtons()
|
|
@@ -18312,7 +18325,7 @@ var VerificationModal = function VerificationModal(props) {
|
|
|
18312
18325
|
bodyPadding: "0px 57px 32px 57px",
|
|
18313
18326
|
children: /*#__PURE__*/jsxs(VerificationModalContent, {
|
|
18314
18327
|
children: [/*#__PURE__*/jsx(Icon$28, {
|
|
18315
|
-
opac: true,
|
|
18328
|
+
$opac: true,
|
|
18316
18329
|
height: 48,
|
|
18317
18330
|
width: 48,
|
|
18318
18331
|
color: baseColors.vividBlue
|
|
@@ -18569,9 +18582,9 @@ var IdoExtensionsModal = function IdoExtensionsModal(_ref7) {
|
|
|
18569
18582
|
}), /*#__PURE__*/jsx(ModalButton, {
|
|
18570
18583
|
disabled: isButtonDisabled(),
|
|
18571
18584
|
type: "submit",
|
|
18572
|
-
isLoading: extensionsLoading,
|
|
18585
|
+
$isLoading: extensionsLoading,
|
|
18573
18586
|
endIcon: extensionsLoading && /*#__PURE__*/jsx(Icon$2v, {
|
|
18574
|
-
spin: true,
|
|
18587
|
+
$spin: true,
|
|
18575
18588
|
color: "currentColor"
|
|
18576
18589
|
}),
|
|
18577
18590
|
children: "Continue"
|