luncconnect 1.0.1 → 1.0.4
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/README.md +88 -0
- package/build/assets/ScanIconWithLogos.d.ts +5 -0
- package/build/assets/browsers.d.ts +10 -0
- package/build/assets/chains.d.ts +15 -0
- package/build/assets/cosmosLogos.d.ts +20 -0
- package/build/assets/icons.d.ts +30 -0
- package/build/assets/index.d.ts +1 -0
- package/build/assets/logos.d.ts +181 -0
- package/build/assets/wallet.d.ts +4 -0
- package/build/assets/wave.d.ts +2 -0
- package/build/components/BalanceButton/index.d.ts +9 -0
- package/build/components/Common/Alert/index.d.ts +6 -0
- package/build/components/Common/Alert/styles.d.ts +2 -0
- package/build/components/Common/Alert/types.d.ts +5 -0
- package/build/components/Common/Avatar/index.d.ts +15 -0
- package/build/components/Common/Avatar/styles.d.ts +2 -0
- package/build/components/Common/BrowserIcon/index.d.ts +4 -0
- package/build/components/Common/BrowserIcon/styles.d.ts +1 -0
- package/build/components/Common/BrowserIcon/types.d.ts +3 -0
- package/build/components/Common/Button/index.d.ts +4 -0
- package/build/components/Common/Button/styles.d.ts +10 -0
- package/build/components/Common/Button/types.d.ts +15 -0
- package/build/components/Common/Chain/index.d.ts +8 -0
- package/build/components/Common/Chain/styles.d.ts +4 -0
- package/build/components/Common/ChainSelect/index.d.ts +3 -0
- package/build/components/Common/ChainSelectDropdown/index.d.ts +9 -0
- package/build/components/Common/ChainSelectDropdown/styles.d.ts +4 -0
- package/build/components/Common/ChainSelectList/index.d.ts +4 -0
- package/build/components/Common/ChainSelectList/styles.d.ts +9 -0
- package/build/components/Common/ConnectorList/index.d.ts +2 -0
- package/build/components/Common/ConnectorList/styles.d.ts +5 -0
- package/build/components/Common/CopyToClipboard/CopyToClipboardIcon.d.ts +5 -0
- package/build/components/Common/CopyToClipboard/index.d.ts +7 -0
- package/build/components/Common/CustomQRCode/QRCode.d.ts +12 -0
- package/build/components/Common/CustomQRCode/index.d.ts +6 -0
- package/build/components/Common/CustomQRCode/styles.d.ts +6 -0
- package/build/components/Common/CustomQRCode/types.d.ts +8 -0
- package/build/components/Common/DynamicContainer/index.d.ts +7 -0
- package/build/components/Common/FamilyAccountsButton/index.d.ts +3 -0
- package/build/components/Common/FitText/index.d.ts +8 -0
- package/build/components/Common/LazyImage/index.d.ts +8 -0
- package/build/components/Common/Logo/index.d.ts +8 -0
- package/build/components/Common/Logo/styles.d.ts +3 -0
- package/build/components/Common/Modal/index.d.ts +25 -0
- package/build/components/Common/Modal/styles.d.ts +24 -0
- package/build/components/Common/Portal/index.d.ts +2 -0
- package/build/components/Common/ScrollArea/index.d.ts +7 -0
- package/build/components/Common/ScrollArea/styles.d.ts +3 -0
- package/build/components/Common/Spinner/index.d.ts +1 -0
- package/build/components/Common/Spinner/styles.d.ts +1 -0
- package/build/components/Common/ThemedButton/index.d.ts +15 -0
- package/build/components/Common/ThemedButton/styles.d.ts +2 -0
- package/build/components/Common/Tooltip/index.d.ts +4 -0
- package/build/components/Common/Tooltip/styles.d.ts +3 -0
- package/build/components/Common/Tooltip/types.d.ts +9 -0
- package/build/components/ConnectButton/index.d.ts +29 -0
- package/build/components/ConnectButton/styles.d.ts +4 -0
- package/build/components/ConnectKit.d.ts +68 -0
- package/build/components/ConnectKitThemeProvider/ConnectKitThemeProvider.d.ts +16 -0
- package/build/components/ConnectModal/ConnectUsing.d.ts +2 -0
- package/build/components/ConnectModal/ConnectWithInjector/CircleSpinner/index.d.ts +9 -0
- package/build/components/ConnectModal/ConnectWithInjector/CircleSpinner/styles.d.ts +5 -0
- package/build/components/ConnectModal/ConnectWithInjector/SquircleSpinner/index.d.ts +5 -0
- package/build/components/ConnectModal/ConnectWithInjector/SquircleSpinner/styles.d.ts +4 -0
- package/build/components/ConnectModal/ConnectWithInjector/index.d.ts +15 -0
- package/build/components/ConnectModal/ConnectWithInjector/styles.d.ts +6 -0
- package/build/components/ConnectModal/ConnectWithQRCode.d.ts +5 -0
- package/build/components/ConnectModal/demo.d.ts +11 -0
- package/build/components/ConnectModal/index.d.ts +8 -0
- package/build/components/NetworkButton/index.d.ts +8 -0
- package/build/components/Pages/About/graphics.d.ts +11 -0
- package/build/components/Pages/About/index.d.ts +3 -0
- package/build/components/Pages/About/styles.d.ts +8 -0
- package/build/components/Pages/Connectors/index.d.ts +3 -0
- package/build/components/Pages/Connectors/styles.d.ts +10 -0
- package/build/components/Pages/DownloadApp/index.d.ts +2 -0
- package/build/components/Pages/MobileConnectors/index.d.ts +3 -0
- package/build/components/Pages/MobileConnectors/styles.d.ts +5 -0
- package/build/components/Pages/Onboarding/index.d.ts +3 -0
- package/build/components/Pages/Onboarding/styles.d.ts +9 -0
- package/build/components/Pages/Profile/index.d.ts +5 -0
- package/build/components/Pages/Profile/styles.d.ts +6 -0
- package/build/components/Pages/SwitchNetworks/index.d.ts +3 -0
- package/build/components/Standard/SIWE/index.d.ts +9 -0
- package/build/components/Standard/SIWE/styles.d.ts +1 -0
- package/build/components/contexts/web3/index.d.ts +22 -0
- package/build/constants/chainConfigs.d.ts +9 -0
- package/build/constants/defaultTheme.d.ts +4 -0
- package/build/constants/routes.d.ts +10 -0
- package/build/defaultConfig.d.ts +14 -0
- package/build/defaultConnectors.d.ts +9 -0
- package/build/defaultTransports.d.ts +5 -0
- package/build/hooks/useConnect.d.ts +16 -0
- package/build/hooks/useConnectCallback.d.ts +8 -0
- package/build/hooks/useConnectors.d.ts +8 -0
- package/build/hooks/useFitText.d.ts +14 -0
- package/build/hooks/useFocusTrap.d.ts +1 -0
- package/build/hooks/useGoogleFont.d.ts +3 -0
- package/build/hooks/useIsMobile.d.ts +1 -0
- package/build/hooks/useIsMounted.d.ts +1 -0
- package/build/hooks/useLastConnector.d.ts +4 -0
- package/build/hooks/useLocalStorage.d.ts +7 -0
- package/build/hooks/useLocales.d.ts +2 -0
- package/build/hooks/useLockBodyScroll.d.ts +1 -0
- package/build/hooks/useModal.d.ts +11 -0
- package/build/hooks/usePrevious.d.ts +1 -0
- package/build/hooks/useWindowSize.d.ts +4 -0
- package/build/index.d.ts +13 -0
- package/build/index.es.js +8372 -0
- package/build/index.es.js.map +1 -0
- package/build/localizations/index.d.ts +98 -0
- package/build/localizations/locales/en-US.d.ts +98 -0
- package/build/localizations/locales/index.d.ts +2 -0
- package/build/styles/defaultTheme.d.ts +3 -0
- package/build/styles/index.d.ts +1 -0
- package/build/styles/styled/index.d.ts +12 -0
- package/build/styles/themes/base.d.ts +129 -0
- package/build/styles/themes/index.d.ts +673 -0
- package/build/styles/themes/midnight.d.ts +74 -0
- package/build/styles/themes/minimal.d.ts +94 -0
- package/build/styles/themes/nouns.d.ts +79 -0
- package/build/styles/themes/retro.d.ts +89 -0
- package/build/styles/themes/rounded.d.ts +86 -0
- package/build/styles/themes/soft.d.ts +69 -0
- package/build/styles/themes/web95.d.ts +91 -0
- package/build/styles/types.d.ts +80 -0
- package/build/types.d.ts +13 -0
- package/build/utils/index.d.ts +21 -0
- package/build/utils/localstorage.d.ts +9 -0
- package/build/utils/p3.d.ts +2 -0
- package/build/utils/wallets.d.ts +26 -0
- package/build/wallets/index.d.ts +6 -0
- package/build/wallets/useWallets.d.ts +18 -0
- package/build/wallets/walletConfigs.d.ts +30 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
# luncconnect
|
|
2
|
+
|
|
3
|
+
Beautiful, customizable UI components for connecting Cosmos wallets to your dApp. Built specifically for Terra Classic (LUNC) and the Cosmos ecosystem.
|
|
4
|
+
|
|
5
|
+
Forked from [ConnectKit](https://github.com/family/connectkit)
|
|
6
|
+
|
|
7
|
+
## Installation
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install luncconnect cosmos-connect-react cosmos-connect-core
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Quick Start
|
|
14
|
+
|
|
15
|
+
```tsx
|
|
16
|
+
import { ConnectKitProvider, ConnectKitButton } from 'luncconnect';
|
|
17
|
+
import { CosmosProvider } from 'cosmos-connect-react';
|
|
18
|
+
import { KeplrWallet, LeapWallet } from 'cosmos-connect-core';
|
|
19
|
+
|
|
20
|
+
const terraClassic = {
|
|
21
|
+
chainId: 'columbus-5',
|
|
22
|
+
rpc: 'https://terra-classic-rpc.publicnode.com',
|
|
23
|
+
rest: 'https://terra-classic-lcd.publicnode.com',
|
|
24
|
+
bech32Prefix: 'terra',
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const config = {
|
|
28
|
+
chains: [terraClassic],
|
|
29
|
+
wallets: [new KeplrWallet(), new LeapWallet()],
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
function App() {
|
|
33
|
+
return (
|
|
34
|
+
<CosmosProvider config={config}>
|
|
35
|
+
<ConnectKitProvider>
|
|
36
|
+
<ConnectKitButton />
|
|
37
|
+
</ConnectKitProvider>
|
|
38
|
+
</CosmosProvider>
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Features
|
|
44
|
+
|
|
45
|
+
- 🎨 **Beautiful UI** - Pre-designed themes with full customization
|
|
46
|
+
- 💡 **TypeScript** - Full type safety out of the box
|
|
47
|
+
- 📱 **Mobile Support** - Deep linking for mobile wallet apps
|
|
48
|
+
- 🌐 **Multi-Wallet** - Keplr, Leap, Cosmostation, Station, and more
|
|
49
|
+
- 🎭 **Themeable** - Multiple built-in themes or create your own
|
|
50
|
+
- ⚡ **Fast** - Optimized performance with React
|
|
51
|
+
|
|
52
|
+
## Supported Wallets
|
|
53
|
+
|
|
54
|
+
- Keplr (Browser + Mobile)
|
|
55
|
+
- Leap (Browser + Mobile)
|
|
56
|
+
- Cosmostation (Browser + Mobile)
|
|
57
|
+
- Station (Terra's official wallet)
|
|
58
|
+
- Galaxy Station
|
|
59
|
+
- LUNCDash
|
|
60
|
+
|
|
61
|
+
## Customization
|
|
62
|
+
|
|
63
|
+
```tsx
|
|
64
|
+
<ConnectKitProvider
|
|
65
|
+
customTheme={{
|
|
66
|
+
'--ck-connectbutton-background': '#1a1b1f',
|
|
67
|
+
'--ck-connectbutton-color': '#ffffff',
|
|
68
|
+
'--ck-connectbutton-border-radius': '12px',
|
|
69
|
+
}}
|
|
70
|
+
>
|
|
71
|
+
<ConnectKitButton />
|
|
72
|
+
</ConnectKitProvider>
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Components
|
|
76
|
+
|
|
77
|
+
- `<ConnectKitButton />` - Main connect button
|
|
78
|
+
- `<ConnectKitProvider />` - Context provider
|
|
79
|
+
- `<Avatar />` - Account avatar
|
|
80
|
+
- Custom modal pages and components
|
|
81
|
+
|
|
82
|
+
## License
|
|
83
|
+
|
|
84
|
+
BSD-2-Clause
|
|
85
|
+
|
|
86
|
+
## Author
|
|
87
|
+
|
|
88
|
+
[@0xzahh](https://github.com/0xzahh)
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO: Move hex colors into css variables for p3 support
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
Chrome: import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
FireFox: import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Brave: import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
Edge: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
type Logo = {
|
|
2
|
+
testnet?: boolean;
|
|
3
|
+
};
|
|
4
|
+
export declare const LensChain: ({ testnet, ...props }: {
|
|
5
|
+
testnet?: boolean;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const Polygon: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Optimism: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const Arbitrum: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const Telos: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
declare const _default: {
|
|
12
|
+
UnknownChain: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
Terra: ({ testnet, ...props }: Logo) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
};
|
|
15
|
+
export default _default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const Leap: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const Cosmos: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare const Keplr: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const GalaxyStation: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
export declare const TerraClassic: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare const Cosmostation: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const LUNCDash: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const Station: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export declare const StationLogo: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
declare const _default: {
|
|
11
|
+
Keplr: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
Leap: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
GalaxyStation: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
Cosmos: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
TerraClassic: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
Cosmostation: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
LUNCDash: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
Station: ({ ...props }: any) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
};
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare const Scan: ({ ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Download: ({ ...props }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const ExternalLinkIcon: ({ ...props }: {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export declare const AlertIcon: ({ ...props }: {
|
|
11
|
+
[x: string]: any;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const DisconnectIcon: ({ ...props }: {
|
|
14
|
+
[x: string]: any;
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export declare const TickIcon: ({ ...props }: {
|
|
17
|
+
[x: string]: any;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const RetryIconCircle: ({ ...props }: {
|
|
20
|
+
[x: string]: any;
|
|
21
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export declare const RetryIcon: ({ ...props }: {
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
export declare const CopyToClipboardIcon: ({ ...props }: {
|
|
26
|
+
[x: string]: any;
|
|
27
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare const AuthIcon: ({ ...props }: {
|
|
29
|
+
[x: string]: any;
|
|
30
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as CosmosLogos } from './cosmosLogos';
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
export declare const Mock: ({ ...props }: {
|
|
2
|
+
[x: string]: any;
|
|
3
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const Injected: ({ ...props }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare const WalletConnect: ({ background, ...props }: {
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
background?: boolean | undefined;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare const MetaMask: ({ background, ...props }: {
|
|
12
|
+
[x: string]: any;
|
|
13
|
+
background?: boolean | undefined;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
export declare const Coinbase: ({ background, ...props }: {
|
|
16
|
+
[x: string]: any;
|
|
17
|
+
background?: boolean | undefined;
|
|
18
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const FamilyAccount: () => import("react/jsx-runtime").JSX.Element;
|
|
20
|
+
export declare const Family: ({ ...props }: {
|
|
21
|
+
[x: string]: any;
|
|
22
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare const Trust: ({ theme, ...props }: {
|
|
24
|
+
[x: string]: any;
|
|
25
|
+
theme?: string | undefined;
|
|
26
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
export declare const Argent: ({ ...props }: {
|
|
28
|
+
[x: string]: any;
|
|
29
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare const ImToken: ({ ...props }: {
|
|
31
|
+
[x: string]: any;
|
|
32
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const Frame: ({ ...props }: {
|
|
34
|
+
[x: string]: any;
|
|
35
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
export declare const Rainbow: ({ round, ...props }: {
|
|
37
|
+
[x: string]: any;
|
|
38
|
+
round?: boolean | undefined;
|
|
39
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
export declare const Brave: ({ ...props }: {
|
|
41
|
+
[x: string]: any;
|
|
42
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
43
|
+
export declare const Crypto: ({ ...props }: {
|
|
44
|
+
[x: string]: any;
|
|
45
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export declare const Ledger: ({ ...props }: {
|
|
47
|
+
[x: string]: any;
|
|
48
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
49
|
+
export declare const Steak: ({ ...props }: {
|
|
50
|
+
[x: string]: any;
|
|
51
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
52
|
+
export declare const Unstoppable: ({ ...props }: {
|
|
53
|
+
[x: string]: any;
|
|
54
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
55
|
+
export declare const ONTO: ({ ...props }: {
|
|
56
|
+
[x: string]: any;
|
|
57
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export declare const Slope: ({ ...props }: {
|
|
59
|
+
[x: string]: any;
|
|
60
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
61
|
+
export declare const Safe: ({ ...props }: {
|
|
62
|
+
[x: string]: any;
|
|
63
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
64
|
+
export declare const Frontier: ({ ...props }: {
|
|
65
|
+
[x: string]: any;
|
|
66
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
67
|
+
export declare const Zerion: ({ ...props }: {
|
|
68
|
+
[x: string]: any;
|
|
69
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
export declare const Phantom: ({ background, ...props }: {
|
|
71
|
+
[x: string]: any;
|
|
72
|
+
background?: boolean | undefined;
|
|
73
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
74
|
+
export declare const PlaceHolder: () => import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
export declare const Dawn: ({ ...props }: {
|
|
76
|
+
[x: string]: any;
|
|
77
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
78
|
+
export declare const InfinityWallet: ({ ...props }: {
|
|
79
|
+
[x: string]: any;
|
|
80
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
81
|
+
export declare const OtherWallets: ({ ...props }: {
|
|
82
|
+
[x: string]: any;
|
|
83
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
declare const _default: {
|
|
85
|
+
Mock: ({ ...props }: {
|
|
86
|
+
[x: string]: any;
|
|
87
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
88
|
+
Injected: ({ ...props }: {
|
|
89
|
+
[x: string]: any;
|
|
90
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
91
|
+
OtherWallets: ({ ...props }: {
|
|
92
|
+
[x: string]: any;
|
|
93
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
WalletConnect: ({ background, ...props }: {
|
|
95
|
+
[x: string]: any;
|
|
96
|
+
background?: boolean | undefined;
|
|
97
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
98
|
+
MetaMask: ({ background, ...props }: {
|
|
99
|
+
[x: string]: any;
|
|
100
|
+
background?: boolean | undefined;
|
|
101
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
102
|
+
Coinbase: ({ background, ...props }: {
|
|
103
|
+
[x: string]: any;
|
|
104
|
+
background?: boolean | undefined;
|
|
105
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
106
|
+
Family: ({ ...props }: {
|
|
107
|
+
[x: string]: any;
|
|
108
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
109
|
+
FamilyAccount: () => import("react/jsx-runtime").JSX.Element;
|
|
110
|
+
Trust: ({ theme, ...props }: {
|
|
111
|
+
[x: string]: any;
|
|
112
|
+
theme?: string | undefined;
|
|
113
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
114
|
+
Argent: ({ ...props }: {
|
|
115
|
+
[x: string]: any;
|
|
116
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
117
|
+
ImToken: ({ ...props }: {
|
|
118
|
+
[x: string]: any;
|
|
119
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
120
|
+
Rainbow: ({ round, ...props }: {
|
|
121
|
+
[x: string]: any;
|
|
122
|
+
round?: boolean | undefined;
|
|
123
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
124
|
+
Crypto: ({ ...props }: {
|
|
125
|
+
[x: string]: any;
|
|
126
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
127
|
+
Ledger: ({ ...props }: {
|
|
128
|
+
[x: string]: any;
|
|
129
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
130
|
+
Brave: ({ ...props }: {
|
|
131
|
+
[x: string]: any;
|
|
132
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
133
|
+
Steak: ({ ...props }: {
|
|
134
|
+
[x: string]: any;
|
|
135
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
136
|
+
Unstoppable: ({ ...props }: {
|
|
137
|
+
[x: string]: any;
|
|
138
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
139
|
+
ONTO: ({ ...props }: {
|
|
140
|
+
[x: string]: any;
|
|
141
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
142
|
+
Slope: ({ ...props }: {
|
|
143
|
+
[x: string]: any;
|
|
144
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
145
|
+
Safe: ({ ...props }: {
|
|
146
|
+
[x: string]: any;
|
|
147
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
148
|
+
Frontier: ({ ...props }: {
|
|
149
|
+
[x: string]: any;
|
|
150
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
151
|
+
Zerion: ({ ...props }: {
|
|
152
|
+
[x: string]: any;
|
|
153
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
154
|
+
Phantom: ({ background, ...props }: {
|
|
155
|
+
[x: string]: any;
|
|
156
|
+
background?: boolean | undefined;
|
|
157
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
158
|
+
PlaceHolder: () => import("react/jsx-runtime").JSX.Element;
|
|
159
|
+
Frame: ({ ...props }: {
|
|
160
|
+
[x: string]: any;
|
|
161
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
162
|
+
Dawn: ({ ...props }: {
|
|
163
|
+
[x: string]: any;
|
|
164
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
165
|
+
InfinityWallet: ({ ...props }: {
|
|
166
|
+
[x: string]: any;
|
|
167
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
168
|
+
Rabby: ({ ...props }: {
|
|
169
|
+
[x: string]: any;
|
|
170
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
171
|
+
Fordefi: ({ ...props }: {
|
|
172
|
+
[x: string]: any;
|
|
173
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
174
|
+
TokenPocket: ({ ...props }: {
|
|
175
|
+
[x: string]: any;
|
|
176
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
177
|
+
Talisman: ({ ...props }: {
|
|
178
|
+
[x: string]: any;
|
|
179
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
180
|
+
};
|
|
181
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { All } from './../../types';
|
|
3
|
+
type BalanceProps = {
|
|
4
|
+
hideIcon?: boolean;
|
|
5
|
+
hideSymbol?: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare const Balance: React.FC<BalanceProps>;
|
|
8
|
+
declare const BalanceButton: React.FC<All & BalanceProps>;
|
|
9
|
+
export default BalanceButton;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type CustomAvatarProps = {
|
|
3
|
+
address?: string | undefined;
|
|
4
|
+
ensName?: string | undefined;
|
|
5
|
+
ensImage?: string;
|
|
6
|
+
size: number;
|
|
7
|
+
radius: number;
|
|
8
|
+
};
|
|
9
|
+
declare const Avatar: React.FC<{
|
|
10
|
+
address?: string | undefined;
|
|
11
|
+
name?: string | undefined;
|
|
12
|
+
size?: number;
|
|
13
|
+
radius?: number;
|
|
14
|
+
}>;
|
|
15
|
+
export default Avatar;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const BrowserIconContainer: any;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare const SpinnerContainer: any;
|
|
2
|
+
export declare const Arrow: any;
|
|
3
|
+
export declare const ArrowChevron: any;
|
|
4
|
+
export declare const ArrowLine: any;
|
|
5
|
+
export declare const DownloadArrow: any;
|
|
6
|
+
export declare const DownloadArrowInner: any;
|
|
7
|
+
export declare const ButtonContainerInner: any;
|
|
8
|
+
export declare const ButtonContainer: any;
|
|
9
|
+
export declare const InnerContainer: any;
|
|
10
|
+
export declare const IconContainer: any;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type ButtonProps = {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
variant?: 'primary' | 'secondary' | 'tertiary';
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
icon?: React.ReactNode;
|
|
7
|
+
iconPosition?: 'left' | 'right';
|
|
8
|
+
roundedIcon?: boolean;
|
|
9
|
+
waiting?: boolean;
|
|
10
|
+
arrow?: boolean;
|
|
11
|
+
download?: boolean;
|
|
12
|
+
href?: string;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
onClick?: (e: any) => void;
|
|
15
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const SwitchNetworksContainer: any;
|
|
2
|
+
export declare const ChainIcon: any;
|
|
3
|
+
export declare const ChainLogoContainer: any;
|
|
4
|
+
export declare const ChainLogoSpinner: any;
|
|
5
|
+
export declare const ChainButtonContainer: any;
|
|
6
|
+
export declare const ChainButtons: any;
|
|
7
|
+
export declare const ChainButton: any;
|
|
8
|
+
export declare const ChainButtonStatus: any;
|
|
9
|
+
export declare const ChainButtonBg: any;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import QRCodeUtil from 'qrcode';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type Props = {
|
|
4
|
+
ecl?: QRCodeUtil.QRCodeErrorCorrectionLevel;
|
|
5
|
+
size?: number;
|
|
6
|
+
uri: string;
|
|
7
|
+
clearArea?: boolean;
|
|
8
|
+
image?: React.ReactNode;
|
|
9
|
+
imageBackground?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function QRCode({ ecl, size: sizeProp, uri, clearArea, image, imageBackground, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CustomQRCodeProps } from './types';
|
|
2
|
+
declare function CustomQRCode({ value, image, imageBackground, imagePosition, tooltipMessage, }: CustomQRCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare namespace CustomQRCode {
|
|
4
|
+
var displayName: string;
|
|
5
|
+
}
|
|
6
|
+
export default CustomQRCode;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const QRCodeContainer: any;
|
|
2
|
+
export declare const QRCodeContent: any;
|
|
3
|
+
export declare const PlaceholderKeyframes: import("styled-components").Keyframes;
|
|
4
|
+
export declare const QRPlaceholder: any;
|
|
5
|
+
export declare const LogoContainer: any;
|
|
6
|
+
export declare const LogoIcon: any;
|