@web3icons/react 4.0.11 → 4.0.12

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.
@@ -1,8 +1,10 @@
1
- import '../chunk-EKCHZPAX.js';
1
+ import '../chunk-R5XFNRIH.js';
2
+ export { WalletUnipass_default as WalletUnipass } from '../chunk-TYDAJ3W4.js';
2
3
  export { WalletCoinbase_default as WalletCoinbase } from '../chunk-HJ4BJWDQ.js';
3
4
  export { WalletImtoken_default as WalletImtoken } from '../chunk-XWAOBNAG.js';
4
5
  export { WalletXdefi_default as WalletXdefi } from '../chunk-HJOMVPD2.js';
5
6
  export { WalletArgent_default as WalletArgent } from '../chunk-ZJKBCWQT.js';
7
+ export { WalletTrezor_default as WalletTrezor } from '../chunk-V2TRTU7Y.js';
6
8
  export { WalletEnkrypt_default as WalletEnkrypt } from '../chunk-NNUZMVDK.js';
7
9
  export { WalletAlphaWallet_default as WalletAlphaWallet } from '../chunk-F2TSDS7B.js';
8
10
  export { WalletKraken_default as WalletKraken } from '../chunk-FVP7DKUX.js';
@@ -10,7 +12,7 @@ export { WalletRainbow_default as WalletRainbow } from '../chunk-P55FQRU7.js';
10
12
  export { WalletLit_default as WalletLit } from '../chunk-KZXTHPPB.js';
11
13
  export { WalletZerion_default as WalletZerion } from '../chunk-LBOX3JJL.js';
12
14
  export { WalletSquads_default as WalletSquads } from '../chunk-SQWIIRKP.js';
13
- export { WalletUnipass_default as WalletUnipass } from '../chunk-TYDAJ3W4.js';
15
+ export { WalletClave_default as WalletClave } from '../chunk-YY4PERUK.js';
14
16
  export { WalletTrust_default as WalletTrust } from '../chunk-SMAULF7M.js';
15
17
  export { WalletRabby_default as WalletRabby } from '../chunk-PVDMJIIQ.js';
16
18
  export { WalletPhantom_default as WalletPhantom } from '../chunk-IWUFYKLQ.js';
@@ -18,7 +20,7 @@ export { WalletZengo_default as WalletZengo } from '../chunk-SCIDRDXH.js';
18
20
  export { WalletWalletConnect_default as WalletWalletConnect } from '../chunk-YWO2EG7H.js';
19
21
  export { WalletOkx_default as WalletOkx } from '../chunk-JRZE3BKC.js';
20
22
  export { WalletAlfa1_default as WalletAlfa1 } from '../chunk-DNAEI34U.js';
21
- export { WalletTrezor_default as WalletTrezor } from '../chunk-V2TRTU7Y.js';
23
+ export { WalletCoin98_default as WalletCoin98 } from '../chunk-M4HZVHDR.js';
22
24
  export { WalletSafe_default as WalletSafe } from '../chunk-Y4SFWZJ7.js';
23
25
  export { WalletMultis_default as WalletMultis } from '../chunk-QIDKOCML.js';
24
26
  export { WalletObvious_default as WalletObvious } from '../chunk-V4GGI5VJ.js';
@@ -26,7 +28,7 @@ export { WalletWallet3_default as WalletWallet3 } from '../chunk-HWAETC7V.js';
26
28
  export { WalletPortal_default as WalletPortal } from '../chunk-LQDZIXRV.js';
27
29
  export { WalletBackpack_default as WalletBackpack } from '../chunk-UFKJMVQK.js';
28
30
  export { WalletSequence_default as WalletSequence } from '../chunk-BWVPYLG2.js';
29
- export { WalletClave_default as WalletClave } from '../chunk-YY4PERUK.js';
31
+ export { WalletLedger_default as WalletLedger } from '../chunk-DG76JBLP.js';
30
32
  export { WalletMetamask_default as WalletMetamask } from '../chunk-675K4HKZ.js';
31
33
  export { WalletVenly_default as WalletVenly } from '../chunk-4KJDEEWH.js';
32
34
  export { WalletPillar_default as WalletPillar } from '../chunk-CE7CHV2O.js';
@@ -34,7 +36,5 @@ export { WalletTokenPocket_default as WalletTokenPocket } from '../chunk-S62EZMJ
34
36
  export { WalletSender_default as WalletSender } from '../chunk-D4NH2W6X.js';
35
37
  export { WalletSoul_default as WalletSoul } from '../chunk-ANZY6YSX.js';
36
38
  export { WalletRonin_default as WalletRonin } from '../chunk-7GSBH2PV.js';
37
- export { WalletCoin98_default as WalletCoin98 } from '../chunk-M4HZVHDR.js';
38
39
  export { WalletMyEtherWallet_default as WalletMyEtherWallet } from '../chunk-27EB7YGT.js';
39
- export { WalletLedger_default as WalletLedger } from '../chunk-DG76JBLP.js';
40
40
  import '../chunk-MLKFOR3D.js';
package/dist/index.d.ts CHANGED
@@ -2,113 +2,19 @@ export { fH as Token0X0, a8 as Token0XGAS, d2 as Token10SET, eN as Token1ART, ld
2
2
  export { aJ as NetworkAbstract, aD as NetworkAcala, bO as NetworkAlgorand, aL as NetworkApechain, r as NetworkApexLayer, ao as NetworkAptos, bv as NetworkArbitrumNova, bV as NetworkArbitrumOne, b8 as NetworkArweave, n as NetworkAstar, k as NetworkAurora, T as NetworkAutonomys, $ as NetworkAvalanche, al as NetworkBase, bW as NetworkBeam, bb as NetworkBerachain, aV as NetworkBinanceSmartChain, bM as NetworkBitcoin, N as NetworkBitkubChain, F as NetworkBlast, aQ as NetworkBob, A as NetworkBoba, bD as NetworkBotanix, a4 as NetworkBouncebit, bE as NetworkCardano, a2 as NetworkCelo, a0 as NetworkChiliz, X as NetworkClover, aR as NetworkCoinexSmartChain, aA as NetworkConflux, bT as NetworkCorn, H as NetworkCosmos, bn as NetworkCosmosHub, O as NetworkCronos, bm as NetworkCronosZkevm, at as NetworkDiode, V as NetworkDogechain, Q as NetworkEdgeless, b3 as NetworkElastos, G as NetworkEnergyWeb, a5 as NetworkEnuls, bi as NetworkEos, bt as NetworkEthereum, bk as NetworkEthereumClassic, ak as NetworkEtherlink, by as NetworkExpchain, _ as NetworkFantom, aW as NetworkFilecoin, d as NetworkFio, bX as NetworkFlare, R as NetworkFluence, aM as NetworkFraxtal, b1 as NetworkFuse, aH as NetworkGnosis, bp as NetworkGravity, bh as NetworkHarmony, U as NetworkHashkey, z as NetworkHederaHashgraph, aI as NetworkHemi, bK as NetworkHubbleExchange, b9 as NetworkImmutable, a6 as NetworkInjective, bI as NetworkInk, f as NetworkIotaEvm, v as NetworkIotex, a as NetworkJapanOpenChain, bG as NetworkJuno, Z as NetworkKaia, c as NetworkKakarot, ax as NetworkKardia, aB as NetworkKarura, h as NetworkKava, bH as NetworkKroma, bq as NetworkKucoin, I as NetworkKujira, bJ as NetworkL3x, aa as NetworkLavaNetwork, bN as NetworkLens, bx as NetworkLightlink, b as NetworkLinea, as as NetworkLisk, b0 as NetworkLitecoin, w as NetworkLoopring, x as NetworkLukso, P as NetworkLumia, bu as NetworkLumio, b4 as NetworkLycan, o as NetworkLyra, L as NetworkMantaPacific, ah as NetworkMantle, E as NetworkMantra, bF as NetworkMegaEth, ac as NetworkMeter, bc as NetworkMetisAndromeda, bw as NetworkMilkomedaA1, t as NetworkMilkomedaC1, a_ as NetworkMint, bC as NetworkMode, bj as NetworkMonad, bQ as NetworkMoonbase, ab as NetworkMoonbaseAlpha, ai as NetworkMoonbeam, bo as NetworkMoonriver, aS as NetworkMultiversx, be as NetworkNahmii, a1 as NetworkNearProtocol, M as NetworkNeoX, a8 as NetworkNeonEvm, bL as NetworkNexis, aG as NetworkNibiru, aP as NetworkOasys, e as NetworkOkex, u as NetworkOntology, s as NetworkOptimism, ay as NetworkOptopia, J as NetworkOrderly, a7 as NetworkOsmosis, B as NetworkParadex, au as NetworkPeaq, g as NetworkPolkadot, aU as NetworkPolygon, a$ as NetworkPolygonZkevm, aK as NetworkProm, av as NetworkPush, bd as NetworkRari, aF as NetworkRei, Y as NetworkReya, aj as NetworkRollux, bB as NetworkRonin, a9 as NetworkRootstock, aT as NetworkScroll, K as NetworkSeiNetwork, am as NetworkShiden, aX as NetworkShimmerEvm, aq as NetworkSilicon, bP as NetworkSolana, W as NetworkSoneium, y as NetworkSongbird, q as NetworkSonic, ba as NetworkStargaze, ag as NetworkStarknet, b5 as NetworkStellar, aO as NetworkStep, aC as NetworkSui, ap as NetworkSuperSeed, bs as NetworkSwell, aN as NetworkSys, bR as NetworkTaiko, b2 as NetworkTelos, bg as NetworkTenet, ad as NetworkTheta, aY as NetworkThundercore, m as NetworkTombchain, aZ as NetworkTreasure, bS as NetworkTron, az as NetworkUbiq, br as NetworkUltron, b7 as NetworkUnichain, bA as NetworkVana, aw as NetworkVanar, ae as NetworkVara, l as NetworkVelas, p as NetworkViction, a3 as NetworkWax, S as NetworkWemix, D as NetworkWorld, C as NetworkXLayer, bf as NetworkXai, b6 as NetworkXdc, ar as NetworkXrp, bl as NetworkZeroNetwork, an as NetworkZetaChain, af as NetworkZilliqa, bU as NetworkZircuit, j as NetworkZksync, aE as NetworkZora, bz as NetworkZyx, i as networkIcons } from './index-C3HoJJmk.js';
3
3
  export { y as WalletAlfa1, B as WalletAlphaWallet, L as WalletArgent, p as WalletBackpack, r as WalletClave, j as WalletCoin98, I as WalletCoinbase, A as WalletEnkrypt, J as WalletImtoken, C as WalletKraken, a as WalletLedger, E as WalletLit, b as WalletMetamask, l as WalletMultis, W as WalletMyEtherWallet, m as WalletObvious, x as WalletOkx, u as WalletPhantom, d as WalletPillar, o as WalletPortal, t as WalletRabby, D as WalletRainbow, h as WalletRonin, k as WalletSafe, f as WalletSender, q as WalletSequence, g as WalletSoul, G as WalletSquads, e as WalletTokenPocket, z as WalletTrezor, s as WalletTrust, H as WalletUnipass, c as WalletVenly, n as WalletWallet3, w as WalletWalletConnect, K as WalletXdefi, v as WalletZengo, F as WalletZerion, i as walletIcons } from './index-DCq77WMz.js';
4
4
  export { e as Exchange1inch, b as ExchangeAevo, p as ExchangeBalancer, y as ExchangeBancor, w as ExchangeBinance, k as ExchangeBithumb, a as ExchangeBitstamp, l as ExchangeBtcturk, n as ExchangeBybit, o as ExchangeCoinbase, q as ExchangeCowswap, E as ExchangeCryptoCom, t as ExchangeGateIo, h as ExchangeGemini, c as ExchangeKraken, r as ExchangeKucoin, u as ExchangeOdos, m as ExchangeOkx, g as ExchangePancakeSwap, v as ExchangeParaSwap, j as ExchangeParadex, d as ExchangeParibu, z as ExchangeSushiswap, s as ExchangeSwissborg, f as ExchangeUniswap, x as ExchangeUpbit, i as exchangeIcons } from './index-CtrY80qW.js';
5
+ import { B as BaseIconProps } from './types-C1VLGFFn.js';
6
+ export { E as ExchangeIconProps, a as IconComponent, I as IconComponentProps, N as NetworkIconProps, T as TokenIconProps, W as WalletIconProps } from './types-C1VLGFFn.js';
5
7
  import * as react from 'react';
6
- import { I as IconComponentProps } from './types-C1VLGFFn.js';
7
- export { B as BaseIconProps, E as ExchangeIconProps, a as IconComponent, N as NetworkIconProps, T as TokenIconProps, W as WalletIconProps } from './types-C1VLGFFn.js';
8
+ export { ExchangeIcon, NetworkIcon, TokenIcon, WalletIcon } from './dynamic.js';
8
9
  import '@web3icons/common';
9
10
 
10
11
  /**
11
- * @component @name TokenIcon
12
+ * renders an SVG with children or an image/fallback content
12
13
  *
13
- * @description A React component for rendering token icons dynamically based on the provided symbol, address, and network.
14
- *
15
- * @param {TokenIconProps} props
16
- * @param {SVGSVGElement} ref
17
- *
18
- * @returns {JSX.Element} JSX Element for the TokenIcon component.
19
- */
20
- declare const TokenIcon: react.ForwardRefExoticComponent<(Omit<IconComponentProps & {
21
- symbol: string;
22
- address?: undefined;
23
- network?: undefined;
24
- id?: undefined;
25
- name?: undefined;
26
- }, "ref"> | Omit<IconComponentProps & {
27
- symbol?: undefined;
28
- address: string;
29
- network: string;
30
- id?: undefined;
31
- name?: undefined;
32
- }, "ref"> | Omit<IconComponentProps & {
33
- symbol?: undefined;
34
- address?: undefined;
35
- network?: undefined;
36
- id: string;
37
- name?: undefined;
38
- }, "ref"> | Omit<IconComponentProps & {
39
- symbol?: undefined;
40
- address?: undefined;
41
- network?: undefined;
42
- id?: undefined;
43
- name: string;
44
- }, "ref">) & react.RefAttributes<SVGSVGElement>>;
45
-
46
- /**
47
- * @component @name NetworkIcon
48
- *
49
- * @description A React component for rendering network icons dynamically based on the provided network or chain ID.
50
- *
51
- * @param {NetworkIconProps} props
52
- * @param {SVGSVGElement} ref
53
- *
54
- * @returns {JSX.Element} JSX Element for the NetworkIcon component.
55
- */
56
- declare const NetworkIcon: react.ForwardRefExoticComponent<(Omit<IconComponentProps & {
57
- name: string;
58
- chainId?: undefined;
59
- caip2id?: undefined;
60
- id?: undefined;
61
- }, "ref"> | Omit<IconComponentProps & {
62
- name?: undefined;
63
- chainId: string | number;
64
- caip2id?: undefined;
65
- id?: undefined;
66
- }, "ref"> | Omit<IconComponentProps & {
67
- name?: undefined;
68
- chainId?: undefined;
69
- caip2id: string;
70
- id?: undefined;
71
- }, "ref"> | Omit<IconComponentProps & {
72
- name?: undefined;
73
- chainId?: undefined;
74
- caip2id?: undefined;
75
- id: string;
76
- }, "ref">) & react.RefAttributes<SVGSVGElement>>;
77
-
78
- /**
79
- * @component @name WalletIcon
80
- *
81
- * @description A React component for rendering wallet icons dynamically based on the provided wallet ID or name.
82
- *
83
- * @param {WalletIconProps} props
84
- * @param {SVGSVGElement} ref
85
- *
86
- * @returns {JSX.Element} JSX Element for the WalletIcon component.
87
- */
88
- declare const WalletIcon: react.ForwardRefExoticComponent<(Omit<IconComponentProps & {
89
- name: string;
90
- id?: undefined;
91
- }, "ref"> | Omit<IconComponentProps & {
92
- name?: undefined;
93
- id: string;
94
- }, "ref">) & react.RefAttributes<SVGSVGElement>>;
95
-
96
- /**
97
- * @component @name ExchangeIcon
98
- *
99
- * @description A React component for rendering exchange icons dynamically based on the provided exchange ID or name.
100
- *
101
- * @param {ExchangeIconProps} props
102
- * @param {SVGSVGElement} ref
103
- *
104
- * @returns {JSX.Element} JSX Element for the ExchangeIcon component.
14
+ * @param {BaseIconProps} props
15
+ * @param {React.ForwardedRef<SVGSVGElement | HTMLImageElement>} ref
16
+ * @returns {(JSX.Element | null)} The JSX element for the BaseIcon component.
105
17
  */
106
- declare const ExchangeIcon: react.ForwardRefExoticComponent<(Omit<IconComponentProps & {
107
- name: string;
108
- id?: undefined;
109
- }, "ref"> | Omit<IconComponentProps & {
110
- name?: undefined;
111
- id: string;
112
- }, "ref">) & react.RefAttributes<SVGSVGElement>>;
18
+ declare const BaseIcon: react.ForwardRefExoticComponent<Omit<BaseIconProps, "ref"> & react.RefAttributes<SVGSVGElement | HTMLImageElement>>;
113
19
 
114
- export { ExchangeIcon, IconComponentProps, NetworkIcon, TokenIcon, WalletIcon };
20
+ export { BaseIcon, BaseIconProps };