@coin-voyage/paykit 0.1.21 → 0.1.22
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/LICENSE +26 -26
- package/README.md +35 -35
- package/dist/assets/chains.d.ts +1 -0
- package/dist/assets/chains.js +5 -1
- package/dist/assets/chains.js.map +1 -1
- package/dist/assets/logos.d.ts +26 -26
- package/dist/assets/logos.js +31 -28
- package/dist/assets/logos.js.map +1 -1
- package/dist/assets/mobile-with-logos.d.ts +1 -0
- package/dist/assets/mobile-with-logos.js +7 -0
- package/dist/assets/mobile-with-logos.js.map +1 -0
- package/dist/assets/scan-icon-with-logos.d.ts +4 -0
- package/dist/assets/{ScanIconWithLogos.js → scan-icon-with-logos.js} +19 -19
- package/dist/assets/scan-icon-with-logos.js.map +1 -0
- package/dist/components/Pages/About/graphics.js +39 -39
- package/dist/components/Pages/About/styles.js +123 -123
- package/dist/components/Pages/Confirmation/index.js +53 -53
- package/dist/components/Pages/Connectors/index.js +3 -11
- package/dist/components/Pages/Connectors/index.js.map +1 -1
- package/dist/components/Pages/Connectors/styles.js +248 -248
- package/dist/components/Pages/MobileConnectors/index.js +56 -41
- package/dist/components/Pages/MobileConnectors/index.js.map +1 -1
- package/dist/components/Pages/MobileConnectors/styles.js +51 -51
- package/dist/components/Pages/Onboarding/index.js +1 -1
- package/dist/components/Pages/Onboarding/index.js.map +1 -1
- package/dist/components/Pages/Onboarding/styles.js +208 -208
- package/dist/components/Pages/PayWithToken/index.js +39 -39
- package/dist/components/Pages/SelectMethod/index.js +7 -61
- package/dist/components/Pages/SelectMethod/index.js.map +1 -1
- package/dist/components/Pages/SelectMethod/styles.js +246 -246
- package/dist/components/Pages/SelectToken/index.js +8 -64
- package/dist/components/Pages/SelectToken/index.js.map +1 -1
- package/dist/components/pay-button/styles.js +28 -28
- package/dist/components/pay-modal/ConnectUsing.d.ts +1 -2
- package/dist/components/pay-modal/ConnectUsing.js +5 -6
- package/dist/components/pay-modal/ConnectUsing.js.map +1 -1
- package/dist/components/pay-modal/ConnectWithInjector/index.js +2 -4
- package/dist/components/pay-modal/ConnectWithInjector/index.js.map +1 -1
- package/dist/components/pay-modal/ConnectWithInjector/styles.js +82 -82
- package/dist/components/pay-modal/ConnectWithQRCode.d.ts +1 -2
- package/dist/components/pay-modal/ConnectWithQRCode.js +14 -23
- package/dist/components/pay-modal/ConnectWithQRCode.js.map +1 -1
- package/dist/components/pay-modal/index.js +7 -4
- package/dist/components/pay-modal/index.js.map +1 -1
- package/dist/components/spinners/CircleSpinner/styles.js +105 -105
- package/dist/components/spinners/SquircleSpinner/styles.js +56 -56
- package/dist/components/ui/Alert/styles.js +42 -42
- package/dist/components/ui/AnimationContainer/styles.js +32 -32
- package/dist/components/ui/BrowserIcon/styles.js +13 -13
- package/dist/components/ui/Button/styles.js +259 -259
- package/dist/components/ui/ChainSelectList/styles.js +209 -209
- package/dist/components/ui/ConnectorList/index.d.ts +1 -2
- package/dist/components/ui/ConnectorList/index.js +40 -34
- package/dist/components/ui/ConnectorList/index.js.map +1 -1
- package/dist/components/ui/ConnectorList/styles.js +285 -285
- package/dist/components/ui/CopyToClipboard/CopyToClipboardIcon.js +55 -55
- package/dist/components/ui/CopyToClipboard/index.d.ts +1 -1
- package/dist/components/ui/CopyToClipboard/index.js +34 -41
- package/dist/components/ui/CopyToClipboard/index.js.map +1 -1
- package/dist/components/ui/CustomQRCode/styles.js +140 -140
- package/dist/components/ui/Logo/styles.js +21 -21
- package/dist/components/ui/Modal/index.js +3 -4
- package/dist/components/ui/Modal/index.js.map +1 -1
- package/dist/components/ui/Modal/styles.js +645 -645
- package/dist/components/ui/OptionsList/index.d.ts +5 -12
- package/dist/components/ui/OptionsList/index.js +64 -65
- package/dist/components/ui/OptionsList/index.js.map +1 -1
- package/dist/components/ui/OptionsList/styles.js +150 -150
- package/dist/components/ui/OptionsList/types.d.ts +9 -0
- package/dist/components/ui/OptionsList/types.js +2 -0
- package/dist/components/ui/OptionsList/types.js.map +1 -0
- package/dist/components/ui/OrderHeader/index.js +68 -68
- package/dist/components/ui/PoweredByFooter/index.js +29 -29
- package/dist/components/ui/ScrollArea/styles.js +156 -156
- package/dist/components/ui/Skeleton/styles.js +8 -8
- package/dist/components/ui/Spinner/styles.js +13 -13
- package/dist/components/ui/ThemedButton/styles.js +151 -151
- package/dist/components/ui/TokenChainLogo/index.d.ts +6 -0
- package/dist/components/ui/TokenChainLogo/index.js +7 -0
- package/dist/components/ui/TokenChainLogo/index.js.map +1 -0
- package/dist/components/ui/TokenChainLogo/styles.d.ts +2 -0
- package/dist/components/ui/TokenChainLogo/styles.js +16 -0
- package/dist/components/ui/TokenChainLogo/styles.js.map +1 -0
- package/dist/components/ui/Tooltip/index.d.ts +1 -3
- package/dist/components/ui/Tooltip/index.js +2 -3
- package/dist/components/ui/Tooltip/index.js.map +1 -1
- package/dist/components/ui/Tooltip/styles.js +72 -72
- package/dist/hooks/useChainIsSupported.js +3 -3
- package/dist/hooks/useChainIsSupported.js.map +1 -1
- package/dist/hooks/useConnect.js +2 -17
- package/dist/hooks/useConnect.js.map +1 -1
- package/dist/hooks/useConnectors.d.ts +0 -4
- package/dist/hooks/useConnectors.js +0 -44
- package/dist/hooks/useConnectors.js.map +1 -1
- package/dist/hooks/useFocusTrap.js +8 -8
- package/dist/hooks/useMethodOptions.d.ts +12 -0
- package/dist/hooks/useMethodOptions.js +68 -0
- package/dist/hooks/useMethodOptions.js.map +1 -0
- package/dist/hooks/usePaymentState.d.ts +1 -1
- package/dist/hooks/usePaymentState.js +3 -3
- package/dist/hooks/usePaymentState.js.map +1 -1
- package/dist/hooks/useTokenOptions.d.ts +10 -0
- package/dist/hooks/useTokenOptions.js +51 -0
- package/dist/hooks/useTokenOptions.js.map +1 -0
- package/dist/hooks/useWalletConnectModal.js +55 -27
- package/dist/hooks/useWalletConnectModal.js.map +1 -1
- package/dist/hooks/useWalletConnectUri.js +8 -18
- package/dist/hooks/useWalletConnectUri.js.map +1 -1
- package/dist/hooks/useWallets.js +10 -12
- package/dist/hooks/useWallets.js.map +1 -1
- package/dist/lib/api/client.js +2 -1
- package/dist/lib/api/client.js.map +1 -1
- package/dist/lib/config/wallet.js +92 -247
- package/dist/lib/config/wallet.js.map +1 -1
- package/dist/lib/localizations/locales/ar-AE.js +2 -2
- package/dist/providers/api-provider.js +2 -1
- package/dist/providers/api-provider.js.map +1 -1
- package/dist/providers/paykit-provider.js +40 -4
- package/dist/providers/paykit-provider.js.map +1 -1
- package/dist/styles/index.js +84 -84
- package/dist/styles/themes/web95.js +16 -16
- package/dist/types/state.d.ts +9 -0
- package/dist/types/state.js +2 -0
- package/dist/types/state.js.map +1 -0
- package/dist/types.d.ts +0 -2
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.js +6 -1
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/p3.js +5 -5
- package/package.json +7 -6
- package/dist/assets/ScanIconWithLogos.d.ts +0 -5
- package/dist/assets/ScanIconWithLogos.js.map +0 -1
- package/dist/components/contexts/web3/index.d.ts +0 -25
- package/dist/components/contexts/web3/index.js +0 -26
- package/dist/components/contexts/web3/index.js.map +0 -1
- package/dist/hooks/useLastConnector.d.ts +0 -4
- package/dist/hooks/useLastConnector.js +0 -21
- package/dist/hooks/useLastConnector.js.map +0 -1
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import { css, keyframes } from "styled-components";
|
|
2
2
|
import styled from "../../../styles/styled";
|
|
3
|
-
export const WalletItem = styled.div `
|
|
4
|
-
text-align: center;
|
|
5
|
-
transition: opacity 100ms ease;
|
|
6
|
-
opacity: ${(props) => (props.$waiting ? 0.4 : 1)};
|
|
3
|
+
export const WalletItem = styled.div `
|
|
4
|
+
text-align: center;
|
|
5
|
+
transition: opacity 100ms ease;
|
|
6
|
+
opacity: ${(props) => (props.$waiting ? 0.4 : 1)};
|
|
7
7
|
`;
|
|
8
|
-
export const WalletIcon = styled.div `
|
|
9
|
-
z-index: 9;
|
|
10
|
-
position: relative;
|
|
11
|
-
margin: 0 auto 10px;
|
|
12
|
-
border-radius: 16px;
|
|
13
|
-
width: 60px;
|
|
14
|
-
height: 60px;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
background: rgba(0, 0, 0, 0.04);
|
|
8
|
+
export const WalletIcon = styled.div `
|
|
9
|
+
z-index: 9;
|
|
10
|
+
position: relative;
|
|
11
|
+
margin: 0 auto 10px;
|
|
12
|
+
border-radius: 16px;
|
|
13
|
+
width: 60px;
|
|
14
|
+
height: 60px;
|
|
15
|
+
overflow: hidden;
|
|
16
|
+
background: rgba(0, 0, 0, 0.04);
|
|
17
17
|
${(props) => props.$outline &&
|
|
18
|
-
`
|
|
19
|
-
&:before {
|
|
20
|
-
content: '';
|
|
21
|
-
z-index: 2;
|
|
22
|
-
position: absolute;
|
|
23
|
-
inset: 0;
|
|
24
|
-
border-radius: inherit;
|
|
25
|
-
box-shadow: inset 0 0 0 1px var(--ck-body-background-tertiary);
|
|
26
|
-
}`}
|
|
27
|
-
svg {
|
|
28
|
-
display: block;
|
|
29
|
-
position: relative;
|
|
30
|
-
width: 100%;
|
|
31
|
-
height: auto;
|
|
32
|
-
}
|
|
18
|
+
`
|
|
19
|
+
&:before {
|
|
20
|
+
content: '';
|
|
21
|
+
z-index: 2;
|
|
22
|
+
position: absolute;
|
|
23
|
+
inset: 0;
|
|
24
|
+
border-radius: inherit;
|
|
25
|
+
box-shadow: inset 0 0 0 1px var(--ck-body-background-tertiary);
|
|
26
|
+
}`}
|
|
27
|
+
svg {
|
|
28
|
+
display: block;
|
|
29
|
+
position: relative;
|
|
30
|
+
width: 100%;
|
|
31
|
+
height: auto;
|
|
32
|
+
}
|
|
33
33
|
`;
|
|
34
|
-
export const WalletLabel = styled.div `
|
|
35
|
-
color: var(--ck-body-color);
|
|
36
|
-
font-size: 13px;
|
|
37
|
-
line-height: 15px;
|
|
38
|
-
font-weight: 500;
|
|
39
|
-
opacity: 0.75;
|
|
34
|
+
export const WalletLabel = styled.div `
|
|
35
|
+
color: var(--ck-body-color);
|
|
36
|
+
font-size: 13px;
|
|
37
|
+
line-height: 15px;
|
|
38
|
+
font-weight: 500;
|
|
39
|
+
opacity: 0.75;
|
|
40
40
|
`;
|
|
41
|
-
const PulseKeyframes = keyframes `
|
|
42
|
-
0%,100% { opacity:1; }
|
|
43
|
-
50% { opacity:0.5; }
|
|
41
|
+
const PulseKeyframes = keyframes `
|
|
42
|
+
0%,100% { opacity:1; }
|
|
43
|
+
50% { opacity:0.5; }
|
|
44
44
|
`;
|
|
45
|
-
export const WalletList = styled.div `
|
|
46
|
-
display: grid;
|
|
47
|
-
grid-template-columns: repeat(4, 1fr);
|
|
48
|
-
gap: 22px 8px;
|
|
49
|
-
margin: 0 -10px;
|
|
50
|
-
padding: 4px 0 0;
|
|
51
|
-
transition: opacity 300ms ease;
|
|
45
|
+
export const WalletList = styled.div `
|
|
46
|
+
display: grid;
|
|
47
|
+
grid-template-columns: repeat(4, 1fr);
|
|
48
|
+
gap: 22px 8px;
|
|
49
|
+
margin: 0 -10px;
|
|
50
|
+
padding: 4px 0 0;
|
|
51
|
+
transition: opacity 300ms ease;
|
|
52
52
|
${(props) => props.$disabled &&
|
|
53
|
-
css `
|
|
54
|
-
pointer-events: none;
|
|
55
|
-
opacity: 0.4;
|
|
56
|
-
${WalletItem} {
|
|
57
|
-
animation: ${PulseKeyframes} 1s infinite ease-in-out;
|
|
58
|
-
}
|
|
59
|
-
`}
|
|
53
|
+
css `
|
|
54
|
+
pointer-events: none;
|
|
55
|
+
opacity: 0.4;
|
|
56
|
+
${WalletItem} {
|
|
57
|
+
animation: ${PulseKeyframes} 1s infinite ease-in-out;
|
|
58
|
+
}
|
|
59
|
+
`}
|
|
60
60
|
`;
|
|
61
61
|
export const Container = styled.div ``;
|
|
62
62
|
//# sourceMappingURL=styles.js.map
|
|
@@ -8,6 +8,6 @@ import Button from "../../ui/Button";
|
|
|
8
8
|
export default function Introduction() {
|
|
9
9
|
const locales = useLocales({});
|
|
10
10
|
const ctaUrl = locales.onboardingScreen_ctaUrl;
|
|
11
|
-
return (_jsxs(PageContent, { children: [_jsxs(Graphic, { children: [_jsxs(LogoGroup, { children: [_jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.Coinbase, { background: true }) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.MetaMask, { background: true }) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.Trust, {}) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.
|
|
11
|
+
return (_jsxs(PageContent, { children: [_jsxs(Graphic, { children: [_jsxs(LogoGroup, { children: [_jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.Coinbase, { background: true }) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.MetaMask, { background: true }) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.Trust, {}) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.Ready, {}) }) }) }) }) }) }), _jsx(Logo, { children: _jsx(LogoPosition, { children: _jsx(LogoInner, { children: _jsx(FloatWrapper, { children: _jsx(RotateWrapper, { children: _jsx(LogoGraphic, { children: _jsx(Logos.ImToken, {}) }) }) }) }) }) })] }), _jsx(GraphicBackground, { children: wave })] }), _jsxs(ModalContent, { style: { paddingBottom: 18 }, children: [_jsx(ModalH1, { "$small": true, children: locales.onboardingScreen_h1 }), _jsx(ModalBody, { children: locales.onboardingScreen_p })] }), _jsx(Button, { href: ctaUrl, arrow: true, children: locales.onboardingScreen_ctaText })] }));
|
|
12
12
|
}
|
|
13
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Pages/Onboarding/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,SAAS,EACT,SAAS,EACT,YAAY,EACZ,aAAa,GACd,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,MAAM,uBAAuB,CAAA;AACzC,OAAO,IAAI,MAAM,sBAAsB,CAAA;AACvC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,WAAW,GACZ,MAAM,uBAAuB,CAAA;AAE9B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,CAAC,OAAO,UAAU,YAAY;IAClC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAA;IAE9B,MAAM,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAA;IAC9C,OAAO,CACL,MAAC,WAAW,eACV,MAAC,OAAO,eACN,MAAC,SAAS,eACR,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,QAAQ,IAAC,UAAU,SAAG,GACjB,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,QAAQ,IAAC,UAAU,SAAG,GACjB,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,KAAK,KAAG,GACH,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/components/Pages/Onboarding/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,YAAY,EACZ,OAAO,EACP,iBAAiB,EACjB,IAAI,EACJ,WAAW,EACX,SAAS,EACT,SAAS,EACT,YAAY,EACZ,aAAa,GACd,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,MAAM,uBAAuB,CAAA;AACzC,OAAO,IAAI,MAAM,sBAAsB,CAAA;AACvC,OAAO,EACL,SAAS,EACT,YAAY,EACZ,OAAO,EACP,WAAW,GACZ,MAAM,uBAAuB,CAAA;AAE9B,OAAO,UAAU,MAAM,2BAA2B,CAAA;AAClD,OAAO,MAAM,MAAM,iBAAiB,CAAA;AAEpC,MAAM,CAAC,OAAO,UAAU,YAAY;IAClC,MAAM,OAAO,GAAG,UAAU,CAAC,EAAE,CAAC,CAAA;IAE9B,MAAM,MAAM,GAAG,OAAO,CAAC,uBAAuB,CAAA;IAC9C,OAAO,CACL,MAAC,WAAW,eACV,MAAC,OAAO,eACN,MAAC,SAAS,eACR,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,QAAQ,IAAC,UAAU,SAAG,GACjB,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,QAAQ,IAAC,UAAU,SAAG,GACjB,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,KAAK,KAAG,GACH,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,KAAK,KAAG,GACH,GACA,GACH,GACL,GACC,GACV,EACP,KAAC,IAAI,cACH,KAAC,YAAY,cACX,KAAC,SAAS,cACR,KAAC,YAAY,cACX,KAAC,aAAa,cACZ,KAAC,WAAW,cACV,KAAC,KAAK,CAAC,OAAO,KAAG,GACL,GACA,GACH,GACL,GACC,GACV,IACG,EACZ,KAAC,iBAAiB,cAAE,IAAI,GAAqB,IACrC,EACV,MAAC,YAAY,IAAC,KAAK,EAAE,EAAE,aAAa,EAAE,EAAE,EAAE,aACxC,KAAC,OAAO,8BAAS,OAAO,CAAC,mBAAmB,GAAW,EACvD,KAAC,SAAS,cAAE,OAAO,CAAC,kBAAkB,GAAa,IACtC,EACf,KAAC,MAAM,IAAC,IAAI,EAAE,MAAM,EAAE,KAAK,kBACxB,OAAO,CAAC,wBAAwB,GAC1B,IACG,CACf,CAAA;AACH,CAAC"}
|
|
@@ -2,225 +2,225 @@ import { motion } from "framer-motion";
|
|
|
2
2
|
import { keyframes } from "styled-components";
|
|
3
3
|
import defaultTheme from "../../../lib/config/default-theme";
|
|
4
4
|
import styled from "../../../styles/styled";
|
|
5
|
-
export const Graphic = styled(motion.div) `
|
|
6
|
-
position: relative;
|
|
7
|
-
margin: 16px auto 20px;
|
|
8
|
-
height: 190px;
|
|
9
|
-
max-width: 295px;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
user-select: none;
|
|
12
|
-
@media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
13
|
-
height: 200px;
|
|
14
|
-
max-width: 100%;
|
|
15
|
-
margin-bottom: 32px;
|
|
16
|
-
}
|
|
5
|
+
export const Graphic = styled(motion.div) `
|
|
6
|
+
position: relative;
|
|
7
|
+
margin: 16px auto 20px;
|
|
8
|
+
height: 190px;
|
|
9
|
+
max-width: 295px;
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
user-select: none;
|
|
12
|
+
@media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
13
|
+
height: 200px;
|
|
14
|
+
max-width: 100%;
|
|
15
|
+
margin-bottom: 32px;
|
|
16
|
+
}
|
|
17
17
|
`;
|
|
18
|
-
export const LogoGroup = styled(motion.div) `
|
|
19
|
-
position: absolute;
|
|
20
|
-
inset: 0;
|
|
21
|
-
z-index: 2;
|
|
18
|
+
export const LogoGroup = styled(motion.div) `
|
|
19
|
+
position: absolute;
|
|
20
|
+
inset: 0;
|
|
21
|
+
z-index: 2;
|
|
22
22
|
`;
|
|
23
|
-
const graphicIn = keyframes `
|
|
24
|
-
0%{
|
|
25
|
-
opacity:0;
|
|
26
|
-
transform:scale(0.9);
|
|
27
|
-
}
|
|
28
|
-
100%{
|
|
29
|
-
opacity:1;
|
|
30
|
-
transform:none;
|
|
31
|
-
}
|
|
23
|
+
const graphicIn = keyframes `
|
|
24
|
+
0%{
|
|
25
|
+
opacity:0;
|
|
26
|
+
transform:scale(0.9);
|
|
27
|
+
}
|
|
28
|
+
100%{
|
|
29
|
+
opacity:1;
|
|
30
|
+
transform:none;
|
|
31
|
+
}
|
|
32
32
|
`;
|
|
33
|
-
export const GraphicBackground = styled(motion.div) `
|
|
34
|
-
z-index: 1;
|
|
35
|
-
position: absolute;
|
|
36
|
-
inset: 0;
|
|
37
|
-
top: -2px;
|
|
38
|
-
overflow: hidden;
|
|
39
|
-
&:before {
|
|
40
|
-
content: "";
|
|
41
|
-
position: absolute;
|
|
42
|
-
inset: 0;
|
|
43
|
-
background: var(--ck-body-background);
|
|
44
|
-
background: radial-gradient(
|
|
45
|
-
closest-side,
|
|
46
|
-
var(--ck-body-background-transparent, transparent) 18.75%,
|
|
47
|
-
var(--ck-body-background) 100%
|
|
48
|
-
);
|
|
49
|
-
background-size: 100%;
|
|
50
|
-
}
|
|
51
|
-
svg {
|
|
52
|
-
display: block;
|
|
53
|
-
width: 100%;
|
|
54
|
-
height: auto;
|
|
55
|
-
}
|
|
56
|
-
animation: ${graphicIn} 1000ms 100ms ease both;
|
|
57
|
-
// @media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
58
|
-
// animation: none;
|
|
59
|
-
// }
|
|
33
|
+
export const GraphicBackground = styled(motion.div) `
|
|
34
|
+
z-index: 1;
|
|
35
|
+
position: absolute;
|
|
36
|
+
inset: 0;
|
|
37
|
+
top: -2px;
|
|
38
|
+
overflow: hidden;
|
|
39
|
+
&:before {
|
|
40
|
+
content: "";
|
|
41
|
+
position: absolute;
|
|
42
|
+
inset: 0;
|
|
43
|
+
background: var(--ck-body-background);
|
|
44
|
+
background: radial-gradient(
|
|
45
|
+
closest-side,
|
|
46
|
+
var(--ck-body-background-transparent, transparent) 18.75%,
|
|
47
|
+
var(--ck-body-background) 100%
|
|
48
|
+
);
|
|
49
|
+
background-size: 100%;
|
|
50
|
+
}
|
|
51
|
+
svg {
|
|
52
|
+
display: block;
|
|
53
|
+
width: 100%;
|
|
54
|
+
height: auto;
|
|
55
|
+
}
|
|
56
|
+
animation: ${graphicIn} 1000ms 100ms ease both;
|
|
57
|
+
// @media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
58
|
+
// animation: none;
|
|
59
|
+
// }
|
|
60
60
|
`;
|
|
61
|
-
const logoIn = keyframes `
|
|
62
|
-
0%{
|
|
63
|
-
opacity:0;
|
|
64
|
-
transform:scale(0) translateY(40%);
|
|
65
|
-
}
|
|
66
|
-
100%{
|
|
67
|
-
opacity:1;
|
|
68
|
-
transform:none;
|
|
69
|
-
}
|
|
61
|
+
const logoIn = keyframes `
|
|
62
|
+
0%{
|
|
63
|
+
opacity:0;
|
|
64
|
+
transform:scale(0) translateY(40%);
|
|
65
|
+
}
|
|
66
|
+
100%{
|
|
67
|
+
opacity:1;
|
|
68
|
+
transform:none;
|
|
69
|
+
}
|
|
70
70
|
`;
|
|
71
|
-
export const LogoPosition = styled(motion.div) `
|
|
72
|
-
position: absolute;
|
|
73
|
-
inset: 0;
|
|
74
|
-
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
75
|
-
animation-delay: inherit;
|
|
71
|
+
export const LogoPosition = styled(motion.div) `
|
|
72
|
+
position: absolute;
|
|
73
|
+
inset: 0;
|
|
74
|
+
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
75
|
+
animation-delay: inherit;
|
|
76
76
|
`;
|
|
77
|
-
export const LogoInner = styled(motion.div) `
|
|
78
|
-
position: absolute;
|
|
77
|
+
export const LogoInner = styled(motion.div) `
|
|
78
|
+
position: absolute;
|
|
79
79
|
`;
|
|
80
|
-
export const LogoGraphic = styled(motion.div) `
|
|
81
|
-
position: relative;
|
|
82
|
-
overflow: hidden;
|
|
83
|
-
height: 58px;
|
|
84
|
-
width: 58px;
|
|
85
|
-
border-radius: 13.84px;
|
|
86
|
-
box-shadow:
|
|
87
|
-
0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
88
|
-
0 2px 20px 0 rgba(0, 0, 0, 0.03);
|
|
89
|
-
|
|
90
|
-
svg {
|
|
91
|
-
display: block;
|
|
92
|
-
width: 100%;
|
|
93
|
-
height: 100%;
|
|
94
|
-
}
|
|
80
|
+
export const LogoGraphic = styled(motion.div) `
|
|
81
|
+
position: relative;
|
|
82
|
+
overflow: hidden;
|
|
83
|
+
height: 58px;
|
|
84
|
+
width: 58px;
|
|
85
|
+
border-radius: 13.84px;
|
|
86
|
+
box-shadow:
|
|
87
|
+
0 0 0 1px rgba(0, 0, 0, 0.05),
|
|
88
|
+
0 2px 20px 0 rgba(0, 0, 0, 0.03);
|
|
89
|
+
|
|
90
|
+
svg {
|
|
91
|
+
display: block;
|
|
92
|
+
width: 100%;
|
|
93
|
+
height: 100%;
|
|
94
|
+
}
|
|
95
95
|
`;
|
|
96
|
-
const float = keyframes `
|
|
97
|
-
0%,100%{ transform:none; }
|
|
98
|
-
50%{ transform: translateY(-10%) }
|
|
96
|
+
const float = keyframes `
|
|
97
|
+
0%,100%{ transform:none; }
|
|
98
|
+
50%{ transform: translateY(-10%) }
|
|
99
99
|
`;
|
|
100
|
-
export const FloatWrapper = styled(motion.div) `
|
|
101
|
-
position: relative;
|
|
102
|
-
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
103
|
-
animation-name: ${float};
|
|
104
|
-
animation-duration: 3600ms;
|
|
100
|
+
export const FloatWrapper = styled(motion.div) `
|
|
101
|
+
position: relative;
|
|
102
|
+
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
103
|
+
animation-name: ${float};
|
|
104
|
+
animation-duration: 3600ms;
|
|
105
105
|
`;
|
|
106
|
-
const rotate = keyframes `
|
|
107
|
-
0%,100%{ transform:rotate(-3deg); }
|
|
108
|
-
50%{ transform:rotate(3deg); }
|
|
106
|
+
const rotate = keyframes `
|
|
107
|
+
0%,100%{ transform:rotate(-3deg); }
|
|
108
|
+
50%{ transform:rotate(3deg); }
|
|
109
109
|
`;
|
|
110
|
-
export const RotateWrapper = styled(motion.div) `
|
|
111
|
-
position: relative;
|
|
112
|
-
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
113
|
-
animation-name: ${rotate};
|
|
114
|
-
animation-duration: 3200ms;
|
|
110
|
+
export const RotateWrapper = styled(motion.div) `
|
|
111
|
+
position: relative;
|
|
112
|
+
animation: cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite both;
|
|
113
|
+
animation-name: ${rotate};
|
|
114
|
+
animation-duration: 3200ms;
|
|
115
115
|
`;
|
|
116
|
-
export const Logo = styled(motion.div) `
|
|
117
|
-
position: absolute;
|
|
118
|
-
inset: 0;
|
|
119
|
-
|
|
120
|
-
animation: ${logoIn} 750ms cubic-bezier(0.19, 1, 0.22, 1) both;
|
|
121
|
-
&:nth-child(1) {
|
|
122
|
-
z-index: 2;
|
|
123
|
-
animation-delay: 0ms;
|
|
124
|
-
}
|
|
125
|
-
&:nth-child(2) {
|
|
126
|
-
z-index: 1;
|
|
127
|
-
animation-delay: 60ms;
|
|
128
|
-
}
|
|
129
|
-
&:nth-child(3) {
|
|
130
|
-
z-index: 1;
|
|
131
|
-
animation-delay: 30ms;
|
|
132
|
-
}
|
|
133
|
-
&:nth-child(4) {
|
|
134
|
-
z-index: 1;
|
|
135
|
-
animation-delay: 90ms;
|
|
136
|
-
}
|
|
137
|
-
&:nth-child(5) {
|
|
138
|
-
z-index: 1;
|
|
139
|
-
animation-delay: 120ms;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&:nth-child(1) {
|
|
143
|
-
${RotateWrapper} {
|
|
144
|
-
animation-delay: 0ms;
|
|
145
|
-
}
|
|
146
|
-
}
|
|
147
|
-
&:nth-child(2) {
|
|
148
|
-
${RotateWrapper} {
|
|
149
|
-
animation-delay: -600ms;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
&:nth-child(3) {
|
|
153
|
-
${RotateWrapper} {
|
|
154
|
-
animation-delay: -1200ms;
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
&:nth-child(4) {
|
|
158
|
-
${RotateWrapper} {
|
|
159
|
-
animation-delay: -1800ms;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
&:nth-child(5) {
|
|
163
|
-
${RotateWrapper} {
|
|
164
|
-
animation-delay: -2400ms;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
&:nth-child(1) {
|
|
169
|
-
${FloatWrapper} {
|
|
170
|
-
animation-delay: -200ms;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
&:nth-child(2) {
|
|
174
|
-
${FloatWrapper} {
|
|
175
|
-
animation-delay: -600ms;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
&:nth-child(3) {
|
|
179
|
-
${FloatWrapper} {
|
|
180
|
-
animation-delay: -800ms;
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
&:nth-child(4) {
|
|
184
|
-
${FloatWrapper} {
|
|
185
|
-
animation-delay: -300ms;
|
|
186
|
-
}
|
|
187
|
-
}
|
|
188
|
-
&:nth-child(5) {
|
|
189
|
-
${FloatWrapper} {
|
|
190
|
-
animation-delay: -3200ms;
|
|
191
|
-
}
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
// @media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
195
|
-
// animation: none !important;
|
|
196
|
-
// ${RotateWrapper},${FloatWrapper} {
|
|
197
|
-
// animation: none !important;
|
|
198
|
-
// }
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
${LogoInner} {
|
|
202
|
-
transform: translate(-50%, -50%);
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
&:nth-child(1) ${LogoPosition} {
|
|
206
|
-
transform: translate(50%, 50%);
|
|
207
|
-
${LogoGraphic} {
|
|
208
|
-
border-radius: 17.2px;
|
|
209
|
-
width: 72px;
|
|
210
|
-
height: 72px;
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
&:nth-child(2) ${LogoPosition} {
|
|
214
|
-
transform: translate(21%, 21.5%);
|
|
215
|
-
}
|
|
216
|
-
&:nth-child(3) ${LogoPosition} {
|
|
217
|
-
transform: translate(78%, 14%);
|
|
218
|
-
}
|
|
219
|
-
&:nth-child(4) ${LogoPosition} {
|
|
220
|
-
transform: translate(22.5%, 76%);
|
|
221
|
-
}
|
|
222
|
-
&:nth-child(5) ${LogoPosition} {
|
|
223
|
-
transform: translate(76%, 80%);
|
|
224
|
-
}
|
|
116
|
+
export const Logo = styled(motion.div) `
|
|
117
|
+
position: absolute;
|
|
118
|
+
inset: 0;
|
|
119
|
+
|
|
120
|
+
animation: ${logoIn} 750ms cubic-bezier(0.19, 1, 0.22, 1) both;
|
|
121
|
+
&:nth-child(1) {
|
|
122
|
+
z-index: 2;
|
|
123
|
+
animation-delay: 0ms;
|
|
124
|
+
}
|
|
125
|
+
&:nth-child(2) {
|
|
126
|
+
z-index: 1;
|
|
127
|
+
animation-delay: 60ms;
|
|
128
|
+
}
|
|
129
|
+
&:nth-child(3) {
|
|
130
|
+
z-index: 1;
|
|
131
|
+
animation-delay: 30ms;
|
|
132
|
+
}
|
|
133
|
+
&:nth-child(4) {
|
|
134
|
+
z-index: 1;
|
|
135
|
+
animation-delay: 90ms;
|
|
136
|
+
}
|
|
137
|
+
&:nth-child(5) {
|
|
138
|
+
z-index: 1;
|
|
139
|
+
animation-delay: 120ms;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
&:nth-child(1) {
|
|
143
|
+
${RotateWrapper} {
|
|
144
|
+
animation-delay: 0ms;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
&:nth-child(2) {
|
|
148
|
+
${RotateWrapper} {
|
|
149
|
+
animation-delay: -600ms;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
&:nth-child(3) {
|
|
153
|
+
${RotateWrapper} {
|
|
154
|
+
animation-delay: -1200ms;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
&:nth-child(4) {
|
|
158
|
+
${RotateWrapper} {
|
|
159
|
+
animation-delay: -1800ms;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
&:nth-child(5) {
|
|
163
|
+
${RotateWrapper} {
|
|
164
|
+
animation-delay: -2400ms;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:nth-child(1) {
|
|
169
|
+
${FloatWrapper} {
|
|
170
|
+
animation-delay: -200ms;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
&:nth-child(2) {
|
|
174
|
+
${FloatWrapper} {
|
|
175
|
+
animation-delay: -600ms;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
&:nth-child(3) {
|
|
179
|
+
${FloatWrapper} {
|
|
180
|
+
animation-delay: -800ms;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
&:nth-child(4) {
|
|
184
|
+
${FloatWrapper} {
|
|
185
|
+
animation-delay: -300ms;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
&:nth-child(5) {
|
|
189
|
+
${FloatWrapper} {
|
|
190
|
+
animation-delay: -3200ms;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
// @media only screen and (max-width: ${defaultTheme.mobileWidth}px) {
|
|
195
|
+
// animation: none !important;
|
|
196
|
+
// ${RotateWrapper},${FloatWrapper} {
|
|
197
|
+
// animation: none !important;
|
|
198
|
+
// }
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
${LogoInner} {
|
|
202
|
+
transform: translate(-50%, -50%);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
&:nth-child(1) ${LogoPosition} {
|
|
206
|
+
transform: translate(50%, 50%);
|
|
207
|
+
${LogoGraphic} {
|
|
208
|
+
border-radius: 17.2px;
|
|
209
|
+
width: 72px;
|
|
210
|
+
height: 72px;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
&:nth-child(2) ${LogoPosition} {
|
|
214
|
+
transform: translate(21%, 21.5%);
|
|
215
|
+
}
|
|
216
|
+
&:nth-child(3) ${LogoPosition} {
|
|
217
|
+
transform: translate(78%, 14%);
|
|
218
|
+
}
|
|
219
|
+
&:nth-child(4) ${LogoPosition} {
|
|
220
|
+
transform: translate(22.5%, 76%);
|
|
221
|
+
}
|
|
222
|
+
&:nth-child(5) ${LogoPosition} {
|
|
223
|
+
transform: translate(76%, 80%);
|
|
224
|
+
}
|
|
225
225
|
`;
|
|
226
226
|
//# sourceMappingURL=styles.js.map
|
|
@@ -127,45 +127,45 @@ export default function PayWithToken() {
|
|
|
127
127
|
_jsxs(_Fragment, { children: [_jsxs(ModalH1, { "$error": true, children: [_jsx(AlertIcon, {}), locales.injectionScreen_rejected_h1] }), _jsx(ModalBody, { children: locales.injectionScreen_rejected_p })] }), payState === PayState.SwitchingChain &&
|
|
128
128
|
_jsx(ModalH1, { children: locales.switchNetworkScreen_heading }), payState === PayState.RequestingPayment && (_jsxs(_Fragment, { children: [_jsx(ModalH1, { children: locales.requesting_payment_h1 }), _jsx(ModalBody, { children: locales.requesting_payment_p })] })), payState === PayState.RequestSuccessful && (_jsx(ModalH1, { children: locales.injectionScreen_connected_h1 }))] }) : _jsxs(ModalContent, { children: [_jsxs(ModalH1, { "$warning": true, children: [_jsx(AlertIcon, {}), locales.payWithTokenScreen_expired_h1] }), _jsx(ModalBody, { children: locales.payWithTokenScreen_expired_p })] })] }));
|
|
129
129
|
}
|
|
130
|
-
const LoadingContainer = styled(motion.div) `
|
|
131
|
-
display: flex;
|
|
132
|
-
align-items: center;
|
|
133
|
-
justify-content: center;
|
|
134
|
-
margin: 10px auto 16px;
|
|
135
|
-
height: 120px;
|
|
130
|
+
const LoadingContainer = styled(motion.div) `
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
justify-content: center;
|
|
134
|
+
margin: 10px auto 16px;
|
|
135
|
+
height: 120px;
|
|
136
136
|
`;
|
|
137
|
-
const ChainLogoContainer = styled(motion.div) `
|
|
138
|
-
z-index: 10;
|
|
139
|
-
position: absolute;
|
|
140
|
-
right: 2px;
|
|
141
|
-
bottom: 2px;
|
|
142
|
-
padding: 0;
|
|
143
|
-
display: flex;
|
|
144
|
-
align-items: center;
|
|
145
|
-
justify-content: center;
|
|
146
|
-
width: 32px;
|
|
147
|
-
height: 32px;
|
|
148
|
-
border-radius: 16px;
|
|
149
|
-
overflow: hidden;
|
|
150
|
-
|
|
151
|
-
color: var(--ck-body-background);
|
|
152
|
-
transition: color 200ms ease;
|
|
153
|
-
|
|
154
|
-
&:before {
|
|
155
|
-
z-index: 5;
|
|
156
|
-
content: "";
|
|
157
|
-
position: absolute;
|
|
158
|
-
inset: 0;
|
|
159
|
-
opacity: 0;
|
|
160
|
-
transition: opacity 200ms ease;
|
|
161
|
-
background: var(--ck-body-color);
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
svg {
|
|
165
|
-
display: block;
|
|
166
|
-
position: relative;
|
|
167
|
-
width: 100%;
|
|
168
|
-
height: 100%;
|
|
169
|
-
}
|
|
137
|
+
const ChainLogoContainer = styled(motion.div) `
|
|
138
|
+
z-index: 10;
|
|
139
|
+
position: absolute;
|
|
140
|
+
right: 2px;
|
|
141
|
+
bottom: 2px;
|
|
142
|
+
padding: 0;
|
|
143
|
+
display: flex;
|
|
144
|
+
align-items: center;
|
|
145
|
+
justify-content: center;
|
|
146
|
+
width: 32px;
|
|
147
|
+
height: 32px;
|
|
148
|
+
border-radius: 16px;
|
|
149
|
+
overflow: hidden;
|
|
150
|
+
|
|
151
|
+
color: var(--ck-body-background);
|
|
152
|
+
transition: color 200ms ease;
|
|
153
|
+
|
|
154
|
+
&:before {
|
|
155
|
+
z-index: 5;
|
|
156
|
+
content: "";
|
|
157
|
+
position: absolute;
|
|
158
|
+
inset: 0;
|
|
159
|
+
opacity: 0;
|
|
160
|
+
transition: opacity 200ms ease;
|
|
161
|
+
background: var(--ck-body-color);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
svg {
|
|
165
|
+
display: block;
|
|
166
|
+
position: relative;
|
|
167
|
+
width: 100%;
|
|
168
|
+
height: 100%;
|
|
169
|
+
}
|
|
170
170
|
`;
|
|
171
171
|
//# sourceMappingURL=index.js.map
|