@thenamespace/ens-components 0.0.5-alpha → 0.0.7-alpha
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/index.css +218 -208
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +37 -26
- package/dist/index.js +1374 -960
- package/dist/index.js.map +1 -1
- package/dist/types/components/atoms/chain-icon/icons/ArbSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/BaseSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/BitcoinSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/CeloSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/EthSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/MaticSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/OpSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/SolSvg.d.ts +6 -0
- package/dist/types/components/atoms/chain-icon/icons/ZoraSvg.d.ts +6 -0
- package/dist/types/components/index.d.ts +3 -2
- package/dist/types/constants/records/textConstants.d.ts +1 -1
- package/dist/types/hooks/useWeb3Clients.d.ts +14 -14
- package/dist/types/types/chain.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export
|
|
2
|
-
export { PendingTransaction, TransactionState } from "./pending-transaction/PendingTransaction";
|
|
1
|
+
export * from "./pending-transaction/PendingTransaction";
|
|
3
2
|
export * from "./atoms";
|
|
4
3
|
export * from "./molecules";
|
|
4
|
+
export * from "./ens-records-form/EnsRecordsForm";
|
|
5
|
+
export * from "./select-records-form/SelectRecordsForm";
|
|
@@ -10,7 +10,7 @@ export interface SupportedTextRecord {
|
|
|
10
10
|
category: TextRecordCategory;
|
|
11
11
|
label?: string;
|
|
12
12
|
placeholder?: string;
|
|
13
|
+
socialRecordPrefix?: string;
|
|
13
14
|
}
|
|
14
15
|
export declare const supportedTexts: SupportedTextRecord[];
|
|
15
|
-
export declare const getSupportedTextMap: () => Record<string, SupportedTextRecord>;
|
|
16
16
|
export declare const getSupportedText: (key: string) => SupportedTextRecord | undefined;
|
|
@@ -4202,8 +4202,8 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4202
4202
|
[x: `bytes8[${string}]`]: undefined;
|
|
4203
4203
|
[x: `bytes2[${string}]`]: undefined;
|
|
4204
4204
|
[x: `bytes10[${string}]`]: undefined;
|
|
4205
|
-
[x: `bytes18[${string}]`]: undefined;
|
|
4206
4205
|
[x: `bytes16[${string}]`]: undefined;
|
|
4206
|
+
[x: `bytes18[${string}]`]: undefined;
|
|
4207
4207
|
[x: `bytes22[${string}]`]: undefined;
|
|
4208
4208
|
[x: `bytes12[${string}]`]: undefined;
|
|
4209
4209
|
[x: `bytes30[${string}]`]: undefined;
|
|
@@ -4302,8 +4302,8 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4302
4302
|
bytes8?: undefined;
|
|
4303
4303
|
bytes2?: undefined;
|
|
4304
4304
|
bytes10?: undefined;
|
|
4305
|
-
bytes18?: undefined;
|
|
4306
4305
|
bytes16?: undefined;
|
|
4306
|
+
bytes18?: undefined;
|
|
4307
4307
|
bytes22?: undefined;
|
|
4308
4308
|
bytes12?: undefined;
|
|
4309
4309
|
bytes30?: undefined;
|
|
@@ -4412,7 +4412,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4412
4412
|
transport?: undefined;
|
|
4413
4413
|
type?: undefined;
|
|
4414
4414
|
uid?: undefined;
|
|
4415
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, import("viem").Account>, "
|
|
4415
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, import("viem").Account>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain, import("viem").Account>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, import("viem").WalletActions<import("viem").Chain, import("viem").Account>>) => client) => import("viem").Client<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, import("viem").Account, import("viem").WalletRpcSchema, { [K in keyof client]: client[K]; } & import("viem").WalletActions<import("viem").Chain, import("viem").Account>>;
|
|
4416
4416
|
} | undefined;
|
|
4417
4417
|
publicClient: {
|
|
4418
4418
|
account: undefined;
|
|
@@ -4483,7 +4483,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4483
4483
|
s: import("viem").Hex;
|
|
4484
4484
|
v: bigint;
|
|
4485
4485
|
chainId?: number | undefined;
|
|
4486
|
-
yParity?: undefined | undefined;
|
|
4487
4486
|
gas: bigint;
|
|
4488
4487
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4489
4488
|
gasPrice: bigint;
|
|
@@ -4493,6 +4492,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4493
4492
|
blobVersionedHashes?: undefined | undefined;
|
|
4494
4493
|
authorizationList?: undefined | undefined;
|
|
4495
4494
|
hash: import("viem").Hash;
|
|
4495
|
+
yParity?: undefined | undefined;
|
|
4496
4496
|
typeHex: import("viem").Hex | null;
|
|
4497
4497
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
|
|
4498
4498
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4508,7 +4508,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4508
4508
|
s: import("viem").Hex;
|
|
4509
4509
|
v: bigint;
|
|
4510
4510
|
chainId: number;
|
|
4511
|
-
yParity: number;
|
|
4512
4511
|
gas: bigint;
|
|
4513
4512
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4514
4513
|
gasPrice: bigint;
|
|
@@ -4518,6 +4517,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4518
4517
|
blobVersionedHashes?: undefined | undefined;
|
|
4519
4518
|
authorizationList?: undefined | undefined;
|
|
4520
4519
|
hash: import("viem").Hash;
|
|
4520
|
+
yParity: number;
|
|
4521
4521
|
typeHex: import("viem").Hex | null;
|
|
4522
4522
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
|
|
4523
4523
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4533,7 +4533,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4533
4533
|
s: import("viem").Hex;
|
|
4534
4534
|
v: bigint;
|
|
4535
4535
|
chainId: number;
|
|
4536
|
-
yParity: number;
|
|
4537
4536
|
gas: bigint;
|
|
4538
4537
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4539
4538
|
gasPrice?: undefined | undefined;
|
|
@@ -4543,6 +4542,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4543
4542
|
blobVersionedHashes?: undefined | undefined;
|
|
4544
4543
|
authorizationList?: undefined | undefined;
|
|
4545
4544
|
hash: import("viem").Hash;
|
|
4545
|
+
yParity: number;
|
|
4546
4546
|
typeHex: import("viem").Hex | null;
|
|
4547
4547
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
|
|
4548
4548
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4558,7 +4558,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4558
4558
|
s: import("viem").Hex;
|
|
4559
4559
|
v: bigint;
|
|
4560
4560
|
chainId: number;
|
|
4561
|
-
yParity: number;
|
|
4562
4561
|
gas: bigint;
|
|
4563
4562
|
maxFeePerBlobGas: bigint;
|
|
4564
4563
|
gasPrice?: undefined | undefined;
|
|
@@ -4568,6 +4567,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4568
4567
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
4569
4568
|
authorizationList?: undefined | undefined;
|
|
4570
4569
|
hash: import("viem").Hash;
|
|
4570
|
+
yParity: number;
|
|
4571
4571
|
typeHex: import("viem").Hex | null;
|
|
4572
4572
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
|
|
4573
4573
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4583,7 +4583,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4583
4583
|
s: import("viem").Hex;
|
|
4584
4584
|
v: bigint;
|
|
4585
4585
|
chainId: number;
|
|
4586
|
-
yParity: number;
|
|
4587
4586
|
gas: bigint;
|
|
4588
4587
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4589
4588
|
gasPrice?: undefined | undefined;
|
|
@@ -4593,6 +4592,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4593
4592
|
blobVersionedHashes?: undefined | undefined;
|
|
4594
4593
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4595
4594
|
hash: import("viem").Hash;
|
|
4595
|
+
yParity: number;
|
|
4596
4596
|
typeHex: import("viem").Hex | null;
|
|
4597
4597
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
|
|
4598
4598
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4633,7 +4633,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4633
4633
|
s: import("viem").Hex;
|
|
4634
4634
|
v: bigint;
|
|
4635
4635
|
chainId?: number | undefined;
|
|
4636
|
-
yParity?: undefined | undefined;
|
|
4637
4636
|
gas: bigint;
|
|
4638
4637
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4639
4638
|
gasPrice: bigint;
|
|
@@ -4643,6 +4642,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4643
4642
|
blobVersionedHashes?: undefined | undefined;
|
|
4644
4643
|
authorizationList?: undefined | undefined;
|
|
4645
4644
|
hash: import("viem").Hash;
|
|
4645
|
+
yParity?: undefined | undefined;
|
|
4646
4646
|
typeHex: import("viem").Hex | null;
|
|
4647
4647
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T ? T extends (blockTag extends "pending" ? true : false) ? T extends true ? null : bigint : never : never;
|
|
4648
4648
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_1 ? T_1 extends (blockTag extends "pending" ? true : false) ? T_1 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4658,7 +4658,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4658
4658
|
s: import("viem").Hex;
|
|
4659
4659
|
v: bigint;
|
|
4660
4660
|
chainId: number;
|
|
4661
|
-
yParity: number;
|
|
4662
4661
|
gas: bigint;
|
|
4663
4662
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4664
4663
|
gasPrice: bigint;
|
|
@@ -4668,6 +4667,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4668
4667
|
blobVersionedHashes?: undefined | undefined;
|
|
4669
4668
|
authorizationList?: undefined | undefined;
|
|
4670
4669
|
hash: import("viem").Hash;
|
|
4670
|
+
yParity: number;
|
|
4671
4671
|
typeHex: import("viem").Hex | null;
|
|
4672
4672
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_3 ? T_3 extends (blockTag extends "pending" ? true : false) ? T_3 extends true ? null : bigint : never : never;
|
|
4673
4673
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_4 ? T_4 extends (blockTag extends "pending" ? true : false) ? T_4 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4683,7 +4683,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4683
4683
|
s: import("viem").Hex;
|
|
4684
4684
|
v: bigint;
|
|
4685
4685
|
chainId: number;
|
|
4686
|
-
yParity: number;
|
|
4687
4686
|
gas: bigint;
|
|
4688
4687
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4689
4688
|
gasPrice?: undefined | undefined;
|
|
@@ -4693,6 +4692,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4693
4692
|
blobVersionedHashes?: undefined | undefined;
|
|
4694
4693
|
authorizationList?: undefined | undefined;
|
|
4695
4694
|
hash: import("viem").Hash;
|
|
4695
|
+
yParity: number;
|
|
4696
4696
|
typeHex: import("viem").Hex | null;
|
|
4697
4697
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_6 ? T_6 extends (blockTag extends "pending" ? true : false) ? T_6 extends true ? null : bigint : never : never;
|
|
4698
4698
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_7 ? T_7 extends (blockTag extends "pending" ? true : false) ? T_7 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4708,7 +4708,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4708
4708
|
s: import("viem").Hex;
|
|
4709
4709
|
v: bigint;
|
|
4710
4710
|
chainId: number;
|
|
4711
|
-
yParity: number;
|
|
4712
4711
|
gas: bigint;
|
|
4713
4712
|
maxFeePerBlobGas: bigint;
|
|
4714
4713
|
gasPrice?: undefined | undefined;
|
|
@@ -4718,6 +4717,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4718
4717
|
blobVersionedHashes: readonly import("viem").Hex[];
|
|
4719
4718
|
authorizationList?: undefined | undefined;
|
|
4720
4719
|
hash: import("viem").Hash;
|
|
4720
|
+
yParity: number;
|
|
4721
4721
|
typeHex: import("viem").Hex | null;
|
|
4722
4722
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_9 ? T_9 extends (blockTag extends "pending" ? true : false) ? T_9 extends true ? null : bigint : never : never;
|
|
4723
4723
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_10 ? T_10 extends (blockTag extends "pending" ? true : false) ? T_10 extends true ? null : `0x${string}` : never : never;
|
|
@@ -4733,7 +4733,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4733
4733
|
s: import("viem").Hex;
|
|
4734
4734
|
v: bigint;
|
|
4735
4735
|
chainId: number;
|
|
4736
|
-
yParity: number;
|
|
4737
4736
|
gas: bigint;
|
|
4738
4737
|
maxFeePerBlobGas?: undefined | undefined;
|
|
4739
4738
|
gasPrice?: undefined | undefined;
|
|
@@ -4743,6 +4742,7 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
4743
4742
|
blobVersionedHashes?: undefined | undefined;
|
|
4744
4743
|
authorizationList: import("viem").SignedAuthorizationList;
|
|
4745
4744
|
hash: import("viem").Hash;
|
|
4745
|
+
yParity: number;
|
|
4746
4746
|
typeHex: import("viem").Hex | null;
|
|
4747
4747
|
blockNumber: (blockTag extends "pending" ? true : false) extends infer T_12 ? T_12 extends (blockTag extends "pending" ? true : false) ? T_12 extends true ? null : bigint : never : never;
|
|
4748
4748
|
blockHash: (blockTag extends "pending" ? true : false) extends infer T_13 ? T_13 extends (blockTag extends "pending" ? true : false) ? T_13 extends true ? null : `0x${string}` : never : never;
|
|
@@ -8036,6 +8036,6 @@ export declare const useWeb3Client: ({ chainId }: {
|
|
|
8036
8036
|
transport?: undefined;
|
|
8037
8037
|
type?: undefined;
|
|
8038
8038
|
uid?: undefined;
|
|
8039
|
-
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, undefined>, "
|
|
8039
|
+
} & import("viem").ExactPartial<Pick<import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, undefined>, "call" | "createContractEventFilter" | "createEventFilter" | "estimateContractGas" | "estimateGas" | "getBlock" | "getBlockNumber" | "getChainId" | "getContractEvents" | "getEnsText" | "getFilterChanges" | "getGasPrice" | "getLogs" | "getTransaction" | "getTransactionCount" | "getTransactionReceipt" | "prepareTransactionRequest" | "readContract" | "sendRawTransaction" | "simulateContract" | "uninstallFilter" | "watchBlockNumber" | "watchContractEvent"> & Pick<import("viem").WalletActions<import("viem").Chain, undefined>, "sendTransaction" | "writeContract">>>(fn: (client: import("viem").Client<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, undefined, import("viem").PublicRpcSchema, import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain>>) => client) => import("viem").Client<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain, undefined, import("viem").PublicRpcSchema, { [K in keyof client]: client[K]; } & import("viem").PublicActions<import("wagmi").Transport<string, Record<string, any>, import("viem").EIP1193RequestFn>, import("viem").Chain>>;
|
|
8040
8040
|
} | undefined;
|
|
8041
8041
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ChainName = "eth" | "arb" | "base" | "bitcoin" | "matic" | "op" | "sol" | "zora";
|
|
1
|
+
export type ChainName = "eth" | "arb" | "base" | "bitcoin" | "matic" | "op" | "sol" | "zora" | "celo";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thenamespace/ens-components",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.7-alpha",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@ensdomains/address-encoder": "^1.1.4",
|
|
16
16
|
"@ensdomains/content-hash": "^3.0.0",
|
|
17
17
|
"@tanstack/react-query": "^5.87.0",
|
|
18
|
-
"lucide-react": "
|
|
18
|
+
"lucide-react": ">=0.525.0",
|
|
19
19
|
"react": ">=18",
|
|
20
20
|
"react-dom": ">=18",
|
|
21
21
|
"viem": "^2.36.0",
|