signer-test-sdk-react 0.0.18 → 0.0.20
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/src/AbstraxnProvider.d.ts +2 -2
- package/dist/src/AbstraxnProvider.js +603 -534
- package/dist/src/AbstraxnProvider.js.map +1 -1
- package/dist/src/ConnectButton.css +1 -1
- package/dist/src/ExternalWalletButtons.css +1 -1
- package/dist/src/WalletModal.css +193 -373
- package/dist/src/WalletModal.d.ts +1 -1
- package/dist/src/WalletModal.js +108 -45
- package/dist/src/WalletModal.js.map +1 -1
- package/dist/src/chains.d.ts +4 -3
- package/dist/src/chains.js +154 -84
- package/dist/src/chains.js.map +1 -1
- package/dist/src/components/OnboardingUI/OnboardingUI.css +6 -5
- package/dist/src/components/OnboardingUI/OnboardingUIWeb.js +6 -0
- package/dist/src/components/OnboardingUI/OnboardingUIWeb.js.map +1 -1
- package/dist/src/components/WalletModal/components/ChainSelector.css +249 -102
- package/dist/src/components/WalletModal/components/ChainSelector.d.ts +7 -6
- package/dist/src/components/WalletModal/components/ChainSelector.js +68 -27
- package/dist/src/components/WalletModal/components/ChainSelector.js.map +1 -1
- package/dist/src/components/WalletModal/components/ExportKeyModal.css +89 -88
- package/dist/src/components/WalletModal/components/ExportKeyModal.d.ts +6 -1
- package/dist/src/components/WalletModal/components/ExportKeyModal.js +6 -11
- package/dist/src/components/WalletModal/components/ExportKeyModal.js.map +1 -1
- package/dist/src/components/WalletModal/components/ExportWarningModal.css +107 -2
- package/dist/src/components/WalletModal/components/ExportWarningModal.d.ts +7 -1
- package/dist/src/components/WalletModal/components/ExportWarningModal.js +5 -3
- package/dist/src/components/WalletModal/components/ExportWarningModal.js.map +1 -1
- package/dist/src/components/WalletModal/components/ManageWalletModal.css +90 -4
- package/dist/src/components/WalletModal/components/ManageWalletModal.d.ts +3 -3
- package/dist/src/components/WalletModal/components/ManageWalletModal.js +28 -13
- package/dist/src/components/WalletModal/components/ManageWalletModal.js.map +1 -1
- package/dist/src/components/WalletModal/components/PreviewTransactionModal.css +3 -4
- package/dist/src/components/WalletModal/components/ReceiveModal.css +93 -58
- package/dist/src/components/WalletModal/components/ReceiveModal.js +1 -1
- package/dist/src/components/WalletModal/components/ReceiveModal.js.map +1 -1
- package/dist/src/components/WalletModal/components/SendModal.css +170 -127
- package/dist/src/components/WalletModal/components/SendModal.d.ts +4 -6
- package/dist/src/components/WalletModal/components/SendModal.js +131 -39
- package/dist/src/components/WalletModal/components/SendModal.js.map +1 -1
- package/dist/src/components/WalletModal/components/SuccessModal.css +7 -8
- package/dist/src/components/WalletModal/components/TokenSelectorModal.css +240 -0
- package/dist/src/components/WalletModal/components/TokenSelectorModal.d.ts +21 -0
- package/dist/src/components/WalletModal/components/TokenSelectorModal.js +44 -0
- package/dist/src/components/WalletModal/components/TokenSelectorModal.js.map +1 -0
- package/dist/src/components/WalletModal/components/index.d.ts +2 -0
- package/dist/src/components/WalletModal/components/index.js +1 -0
- package/dist/src/components/WalletModal/components/index.js.map +1 -1
- package/dist/src/hooks.js +5 -39
- package/dist/src/hooks.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/types.d.ts +18 -0
- package/dist/src/wagmiConfig.d.ts +1 -1
- package/dist/src/wagmiConfig.js +9 -8
- package/dist/src/wagmiConfig.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/chains.js
CHANGED
|
@@ -8,110 +8,173 @@
|
|
|
8
8
|
export const EVM_CHAINS = {
|
|
9
9
|
ethereum: {
|
|
10
10
|
id: 1,
|
|
11
|
-
name:
|
|
12
|
-
displayName:
|
|
13
|
-
rpcUrl:
|
|
14
|
-
explorerUrl:
|
|
11
|
+
name: "ethereum",
|
|
12
|
+
displayName: "Ethereum",
|
|
13
|
+
rpcUrl: "https://eth.llamarpc.com",
|
|
14
|
+
explorerUrl: "https://etherscan.io",
|
|
15
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/eth.png",
|
|
15
16
|
nativeCurrency: {
|
|
16
|
-
name:
|
|
17
|
-
symbol:
|
|
17
|
+
name: "Ether",
|
|
18
|
+
symbol: "ETH",
|
|
18
19
|
decimals: 18,
|
|
19
20
|
},
|
|
20
|
-
type:
|
|
21
|
+
type: "evm",
|
|
21
22
|
isTestnet: false,
|
|
22
23
|
blockExplorer: {
|
|
23
|
-
name:
|
|
24
|
-
url:
|
|
24
|
+
name: "Etherscan",
|
|
25
|
+
url: "https://etherscan.io",
|
|
25
26
|
},
|
|
26
27
|
},
|
|
27
28
|
sepolia: {
|
|
28
29
|
id: 11155111,
|
|
29
|
-
name:
|
|
30
|
-
displayName:
|
|
31
|
-
rpcUrl:
|
|
32
|
-
explorerUrl:
|
|
30
|
+
name: "sepolia",
|
|
31
|
+
displayName: "Sepolia",
|
|
32
|
+
rpcUrl: "https://sepolia.infura.io/v3/",
|
|
33
|
+
explorerUrl: "https://sepolia.etherscan.io",
|
|
34
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/eth.png",
|
|
33
35
|
nativeCurrency: {
|
|
34
|
-
name:
|
|
35
|
-
symbol:
|
|
36
|
+
name: "Sepolia Ether",
|
|
37
|
+
symbol: "ETH",
|
|
36
38
|
decimals: 18,
|
|
37
39
|
},
|
|
38
|
-
type:
|
|
40
|
+
type: "evm",
|
|
39
41
|
isTestnet: true,
|
|
40
42
|
blockExplorer: {
|
|
41
|
-
name:
|
|
42
|
-
url:
|
|
43
|
+
name: "Etherscan",
|
|
44
|
+
url: "https://sepolia.etherscan.io",
|
|
43
45
|
},
|
|
44
46
|
},
|
|
45
47
|
polygon: {
|
|
46
48
|
id: 137,
|
|
47
|
-
name:
|
|
48
|
-
displayName:
|
|
49
|
-
rpcUrl:
|
|
50
|
-
explorerUrl:
|
|
49
|
+
name: "polygon",
|
|
50
|
+
displayName: "Polygon",
|
|
51
|
+
rpcUrl: "https://polygon-rpc.com",
|
|
52
|
+
explorerUrl: "https://polygonscan.com",
|
|
53
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/matic.png",
|
|
51
54
|
nativeCurrency: {
|
|
52
|
-
name:
|
|
53
|
-
symbol:
|
|
55
|
+
name: "MATIC",
|
|
56
|
+
symbol: "MATIC",
|
|
54
57
|
decimals: 18,
|
|
55
58
|
},
|
|
56
|
-
type:
|
|
59
|
+
type: "evm",
|
|
57
60
|
isTestnet: false,
|
|
58
61
|
blockExplorer: {
|
|
59
|
-
name:
|
|
60
|
-
url:
|
|
62
|
+
name: "Polygonscan",
|
|
63
|
+
url: "https://polygonscan.com",
|
|
61
64
|
},
|
|
62
65
|
},
|
|
63
66
|
polygonAmoy: {
|
|
64
67
|
id: 80002,
|
|
65
|
-
name:
|
|
66
|
-
displayName:
|
|
67
|
-
rpcUrl:
|
|
68
|
-
explorerUrl:
|
|
68
|
+
name: "polygon-amoy",
|
|
69
|
+
displayName: "Polygon Amoy",
|
|
70
|
+
rpcUrl: "https://rpc-amoy.polygon.technology",
|
|
71
|
+
explorerUrl: "https://amoy.polygonscan.com",
|
|
72
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/matic.png",
|
|
69
73
|
nativeCurrency: {
|
|
70
|
-
name:
|
|
71
|
-
symbol:
|
|
74
|
+
name: "MATIC",
|
|
75
|
+
symbol: "MATIC",
|
|
72
76
|
decimals: 18,
|
|
73
77
|
},
|
|
74
|
-
type:
|
|
78
|
+
type: "evm",
|
|
75
79
|
isTestnet: true,
|
|
76
80
|
blockExplorer: {
|
|
77
|
-
name:
|
|
78
|
-
url:
|
|
81
|
+
name: "Polygonscan",
|
|
82
|
+
url: "https://amoy.polygonscan.com",
|
|
79
83
|
},
|
|
80
84
|
},
|
|
81
85
|
base: {
|
|
82
86
|
id: 8453,
|
|
83
|
-
name:
|
|
84
|
-
displayName:
|
|
85
|
-
rpcUrl:
|
|
86
|
-
explorerUrl:
|
|
87
|
+
name: "base",
|
|
88
|
+
displayName: "Base",
|
|
89
|
+
rpcUrl: "https://mainnet.base.org",
|
|
90
|
+
explorerUrl: "https://basescan.org",
|
|
91
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/eth.png",
|
|
87
92
|
nativeCurrency: {
|
|
88
|
-
name:
|
|
89
|
-
symbol:
|
|
93
|
+
name: "Ether",
|
|
94
|
+
symbol: "ETH",
|
|
90
95
|
decimals: 18,
|
|
91
96
|
},
|
|
92
|
-
type:
|
|
97
|
+
type: "evm",
|
|
93
98
|
isTestnet: false,
|
|
94
99
|
blockExplorer: {
|
|
95
|
-
name:
|
|
96
|
-
url:
|
|
100
|
+
name: "Basescan",
|
|
101
|
+
url: "https://basescan.org",
|
|
97
102
|
},
|
|
98
103
|
},
|
|
99
104
|
baseSepolia: {
|
|
100
105
|
id: 84532,
|
|
101
|
-
name:
|
|
102
|
-
displayName:
|
|
103
|
-
rpcUrl:
|
|
104
|
-
explorerUrl:
|
|
106
|
+
name: "base-sepolia",
|
|
107
|
+
displayName: "Base Sepolia",
|
|
108
|
+
rpcUrl: "https://sepolia.base.org",
|
|
109
|
+
explorerUrl: "https://sepolia.basescan.org",
|
|
110
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/eth.png",
|
|
105
111
|
nativeCurrency: {
|
|
106
|
-
name:
|
|
107
|
-
symbol:
|
|
112
|
+
name: "Sepolia Ether",
|
|
113
|
+
symbol: "ETH",
|
|
108
114
|
decimals: 18,
|
|
109
115
|
},
|
|
110
|
-
type:
|
|
116
|
+
type: "evm",
|
|
111
117
|
isTestnet: true,
|
|
112
118
|
blockExplorer: {
|
|
113
|
-
name:
|
|
114
|
-
url:
|
|
119
|
+
name: "Basescan",
|
|
120
|
+
url: "https://sepolia.basescan.org",
|
|
121
|
+
},
|
|
122
|
+
},
|
|
123
|
+
optimism: {
|
|
124
|
+
id: 10,
|
|
125
|
+
name: "optimism",
|
|
126
|
+
displayName: "OP Mainnet",
|
|
127
|
+
rpcUrl: "https://mainnet.optimism.io",
|
|
128
|
+
explorerUrl: "https://optimistic.etherscan.io",
|
|
129
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/op.png",
|
|
130
|
+
nativeCurrency: {
|
|
131
|
+
name: "Ether",
|
|
132
|
+
symbol: "ETH",
|
|
133
|
+
decimals: 18,
|
|
134
|
+
},
|
|
135
|
+
type: "evm",
|
|
136
|
+
isTestnet: false,
|
|
137
|
+
blockExplorer: {
|
|
138
|
+
name: "Optimism Etherscan",
|
|
139
|
+
url: "https://optimistic.etherscan.io",
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
arbitrum: {
|
|
143
|
+
id: 42161,
|
|
144
|
+
name: "arbitrum",
|
|
145
|
+
displayName: "Arbitrum One",
|
|
146
|
+
rpcUrl: "https://arb1.arbitrum.io/rpc",
|
|
147
|
+
explorerUrl: "https://arbiscan.io",
|
|
148
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/arb.png",
|
|
149
|
+
nativeCurrency: {
|
|
150
|
+
name: "Ether",
|
|
151
|
+
symbol: "ETH",
|
|
152
|
+
decimals: 18,
|
|
153
|
+
},
|
|
154
|
+
type: "evm",
|
|
155
|
+
isTestnet: false,
|
|
156
|
+
blockExplorer: {
|
|
157
|
+
name: "Arbiscan",
|
|
158
|
+
url: "https://arbiscan.io",
|
|
159
|
+
},
|
|
160
|
+
},
|
|
161
|
+
abstract: {
|
|
162
|
+
id: 2741,
|
|
163
|
+
name: "abstract",
|
|
164
|
+
displayName: "Abstract",
|
|
165
|
+
rpcUrl: "https://api.mainnet.abs.xyz",
|
|
166
|
+
explorerUrl: "https://explorer.abs.xyz",
|
|
167
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/eth.png",
|
|
168
|
+
nativeCurrency: {
|
|
169
|
+
name: "Abstract",
|
|
170
|
+
symbol: "ABS",
|
|
171
|
+
decimals: 18,
|
|
172
|
+
},
|
|
173
|
+
type: "evm",
|
|
174
|
+
isTestnet: false,
|
|
175
|
+
blockExplorer: {
|
|
176
|
+
name: "Abstract Explorer",
|
|
177
|
+
url: "https://explorer.abs.xyz",
|
|
115
178
|
},
|
|
116
179
|
},
|
|
117
180
|
};
|
|
@@ -121,38 +184,39 @@ export const EVM_CHAINS = {
|
|
|
121
184
|
export const SOLANA_CHAINS = {
|
|
122
185
|
solana: {
|
|
123
186
|
id: 101,
|
|
124
|
-
name:
|
|
125
|
-
displayName:
|
|
126
|
-
rpcUrl:
|
|
127
|
-
explorerUrl:
|
|
187
|
+
name: "solana",
|
|
188
|
+
displayName: "Solana",
|
|
189
|
+
rpcUrl: "https://api.mainnet-beta.solana.com",
|
|
190
|
+
explorerUrl: "https://solscan.io",
|
|
191
|
+
iconUrl: "https://raw.githubusercontent.com/spothq/cryptocurrency-icons/master/128/color/sol.png",
|
|
128
192
|
nativeCurrency: {
|
|
129
|
-
name:
|
|
130
|
-
symbol:
|
|
193
|
+
name: "SOL",
|
|
194
|
+
symbol: "SOL",
|
|
131
195
|
decimals: 9,
|
|
132
196
|
},
|
|
133
|
-
type:
|
|
197
|
+
type: "solana",
|
|
134
198
|
isTestnet: false,
|
|
135
199
|
blockExplorer: {
|
|
136
|
-
name:
|
|
137
|
-
url:
|
|
200
|
+
name: "Solscan",
|
|
201
|
+
url: "https://solscan.io",
|
|
138
202
|
},
|
|
139
203
|
},
|
|
140
204
|
solanaDevnet: {
|
|
141
205
|
id: 103,
|
|
142
|
-
name:
|
|
143
|
-
displayName:
|
|
144
|
-
rpcUrl:
|
|
145
|
-
explorerUrl:
|
|
206
|
+
name: "solana-devnet",
|
|
207
|
+
displayName: "Solana Devnet",
|
|
208
|
+
rpcUrl: "https://api.devnet.solana.com",
|
|
209
|
+
explorerUrl: "https://solscan.io/?cluster=devnet",
|
|
146
210
|
nativeCurrency: {
|
|
147
|
-
name:
|
|
148
|
-
symbol:
|
|
211
|
+
name: "SOL",
|
|
212
|
+
symbol: "SOL",
|
|
149
213
|
decimals: 9,
|
|
150
214
|
},
|
|
151
|
-
type:
|
|
215
|
+
type: "solana",
|
|
152
216
|
isTestnet: true,
|
|
153
217
|
blockExplorer: {
|
|
154
|
-
name:
|
|
155
|
-
url:
|
|
218
|
+
name: "Solscan",
|
|
219
|
+
url: "https://solscan.io/?cluster=devnet",
|
|
156
220
|
},
|
|
157
221
|
},
|
|
158
222
|
};
|
|
@@ -167,13 +231,13 @@ export const ALL_CHAINS = {
|
|
|
167
231
|
* Get chain by ID
|
|
168
232
|
*/
|
|
169
233
|
export function getChainById(chainId) {
|
|
170
|
-
return Object.values(ALL_CHAINS).find(chain => chain.id === chainId);
|
|
234
|
+
return Object.values(ALL_CHAINS).find((chain) => chain.id === chainId);
|
|
171
235
|
}
|
|
172
236
|
/**
|
|
173
237
|
* Get chains by type
|
|
174
238
|
*/
|
|
175
239
|
export function getChainsByType(type) {
|
|
176
|
-
return Object.values(ALL_CHAINS).filter(chain => chain.type === type);
|
|
240
|
+
return Object.values(ALL_CHAINS).filter((chain) => chain.type === type);
|
|
177
241
|
}
|
|
178
242
|
/**
|
|
179
243
|
* Get default chains (Ethereum, Polygon, Base for EVM; Solana for Solana)
|
|
@@ -183,6 +247,12 @@ export function getDefaultChains() {
|
|
|
183
247
|
EVM_CHAINS.ethereum,
|
|
184
248
|
EVM_CHAINS.polygon,
|
|
185
249
|
EVM_CHAINS.base,
|
|
250
|
+
EVM_CHAINS.optimism,
|
|
251
|
+
EVM_CHAINS.arbitrum,
|
|
252
|
+
EVM_CHAINS.abstract,
|
|
253
|
+
EVM_CHAINS.sepolia,
|
|
254
|
+
EVM_CHAINS.polygonAmoy,
|
|
255
|
+
EVM_CHAINS.baseSepolia,
|
|
186
256
|
SOLANA_CHAINS.solana,
|
|
187
257
|
];
|
|
188
258
|
}
|
|
@@ -203,19 +273,19 @@ export function toCoreChain(chainData) {
|
|
|
203
273
|
export function getChainIcon(chainId) {
|
|
204
274
|
const chain = getChainById(chainId);
|
|
205
275
|
if (!chain)
|
|
206
|
-
return
|
|
276
|
+
return "";
|
|
207
277
|
// Return SVG path based on chain
|
|
208
278
|
switch (chain.name) {
|
|
209
|
-
case
|
|
210
|
-
return
|
|
211
|
-
case
|
|
212
|
-
return
|
|
213
|
-
case
|
|
214
|
-
return
|
|
215
|
-
case
|
|
216
|
-
return
|
|
279
|
+
case "ethereum":
|
|
280
|
+
return "M12 0L8 4L12 8L16 4L12 0ZM8 4L4 8L8 12L12 8L8 4ZM16 4L20 8L16 12L12 8L16 4ZM8 12L12 16L16 12L12 8L8 12Z";
|
|
281
|
+
case "polygon":
|
|
282
|
+
return "M12 2L2 7L12 12L22 7L12 2ZM2 17L12 22L22 17M2 12L12 17L22 12";
|
|
283
|
+
case "base":
|
|
284
|
+
return "M12 0L0 6L0 18L12 24L24 18L24 6L12 0Z";
|
|
285
|
+
case "solana":
|
|
286
|
+
return "M12 0C5.373 0 0 5.373 0 12C0 18.627 5.373 24 12 24C18.627 24 24 18.627 24 12C24 5.373 18.627 0 12 0Z";
|
|
217
287
|
default:
|
|
218
|
-
return
|
|
288
|
+
return "";
|
|
219
289
|
}
|
|
220
290
|
}
|
|
221
291
|
//# sourceMappingURL=chains.js.map
|
package/dist/src/chains.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chains.js","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAAA;;;GAGG;
|
|
1
|
+
{"version":3,"file":"chains.js","sourceRoot":"","sources":["../../src/chains.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAuBH;;GAEG;AACH,MAAM,CAAC,MAAM,UAAU,GAA8B;IACnD,QAAQ,EAAE;QACR,EAAE,EAAE,CAAC;QACL,IAAI,EAAE,UAAU;QAChB,WAAW,EAAE,UAAU;QACvB,MAAM,EAAE,0BAA0B;QAClC,W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AW;QACtB,aAAa,CAAC,MAAM;KACrB,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,WAAW,CACzB,SAAoB;IAEpB,OAAO;QACL,EAAE,EAAE,SAAS,CAAC,EAAE;QAChB,IAAI,EAAE,SAAS,CAAC,IAAI;QACpB,MAAM,EAAE,SAAS,CAAC,MAAM;QACxB,cAAc,EAAE,SAAS,CAAC,cAAc;KACzC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,YAAY,CAAC,OAAe;IAC1C,MAAM,KAAK,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;IACpC,IAAI,CAAC,KAAK;QAAE,OAAO,EAAE,CAAC;IAEtB,iCAAiC;IACjC,QAAQ,KAAK,CAAC,IAAI,EAAE,CAAC;QACnB,KAAK,UAAU;YACb,OAAO,yGAAyG,CAAC;QACnH,KAAK,SAAS;YACZ,OAAO,8DAA8D,CAAC;QACxE,KAAK,MAAM;YACT,OAAO,uCAAuC,CAAC;QACjD,KAAK,QAAQ;YACX,OAAO,sGAAsG,CAAC;QAChH;YACE,OAAO,EAAE,CAAC;IACd,CAAC;AACH,CAAC"}
|
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
justify-content: center;
|
|
10
10
|
min-height: 100vh;
|
|
11
11
|
padding: 20px;
|
|
12
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto',
|
|
13
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
14
|
-
sans-serif;
|
|
12
|
+
font-family: 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
|
|
15
13
|
-webkit-font-smoothing: antialiased;
|
|
16
14
|
-moz-osx-font-smoothing: grayscale;
|
|
17
15
|
}
|
|
@@ -205,7 +203,7 @@
|
|
|
205
203
|
|
|
206
204
|
.onboarding-title {
|
|
207
205
|
font-size: 24px;
|
|
208
|
-
font-weight:
|
|
206
|
+
font-weight: 500;
|
|
209
207
|
margin: 0;
|
|
210
208
|
color: inherit;
|
|
211
209
|
text-align: center;
|
|
@@ -792,7 +790,7 @@
|
|
|
792
790
|
|
|
793
791
|
.onboarding-otp-title {
|
|
794
792
|
font-size: 22px;
|
|
795
|
-
font-weight:
|
|
793
|
+
font-weight: 500;
|
|
796
794
|
margin: 0 0 16px 0;
|
|
797
795
|
color: inherit;
|
|
798
796
|
line-height: 1.4;
|
|
@@ -856,6 +854,9 @@
|
|
|
856
854
|
.onboarding-otp-verification .onboarding-button {
|
|
857
855
|
margin-top: 0;
|
|
858
856
|
margin-bottom: 0;
|
|
857
|
+
/* Match OTP inputs width: 6 inputs × 44px + 5 gaps × 10px = 314px */
|
|
858
|
+
width: 314px;
|
|
859
|
+
max-width: 314px;
|
|
859
860
|
}
|
|
860
861
|
|
|
861
862
|
.onboarding-otp-input {
|
|
@@ -715,6 +715,12 @@ const ONBOARDING_UI_STYLES = `
|
|
|
715
715
|
width: 100%;
|
|
716
716
|
}
|
|
717
717
|
|
|
718
|
+
.onboarding-otp-verification .onboarding-button {
|
|
719
|
+
/* Match OTP inputs width: 6 inputs × 44px + 5 gaps × 10px = 314px */
|
|
720
|
+
width: 314px;
|
|
721
|
+
max-width: 314px;
|
|
722
|
+
}
|
|
723
|
+
|
|
718
724
|
.onboarding-otp-icon-container {
|
|
719
725
|
width: 64px;
|
|
720
726
|
height: 64px;
|