@reown/appkit-react-native 0.0.0-fix-height-calc-20250815195135 → 0.0.0-fix-improvements-20250827190629
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/lib/commonjs/AppKit.js +7 -5
- package/lib/commonjs/AppKit.js.map +1 -1
- package/lib/commonjs/connectors/WalletConnectConnector.js +1 -2
- package/lib/commonjs/connectors/WalletConnectConnector.js.map +1 -1
- package/lib/commonjs/partials/w3m-account-activity/index.js +3 -4
- package/lib/commonjs/partials/w3m-account-activity/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-account-activity/styles.js +1 -4
- package/lib/commonjs/partials/w3m-account-activity/styles.js.map +1 -1
- package/lib/commonjs/partials/w3m-account-tokens/index.js +1 -2
- package/lib/commonjs/partials/w3m-account-tokens/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-list/components/Loading.js +9 -35
- package/lib/commonjs/partials/w3m-all-wallets-list/components/Loading.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-list/components/WalletItem.js +4 -3
- package/lib/commonjs/partials/w3m-all-wallets-list/components/WalletItem.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-list/index.js +3 -2
- package/lib/commonjs/partials/w3m-all-wallets-list/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-list/styles.js +3 -2
- package/lib/commonjs/partials/w3m-all-wallets-list/styles.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-search/index.js +3 -2
- package/lib/commonjs/partials/w3m-all-wallets-search/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-all-wallets-search/styles.js +2 -2
- package/lib/commonjs/partials/w3m-all-wallets-search/styles.js.map +1 -1
- package/lib/commonjs/partials/w3m-connecting-mobile/index.js +1 -3
- package/lib/commonjs/partials/w3m-connecting-mobile/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-connecting-qrcode/index.js +1 -0
- package/lib/commonjs/partials/w3m-connecting-qrcode/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-connecting-web/index.js +1 -3
- package/lib/commonjs/partials/w3m-connecting-web/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-selector-modal/index.js +29 -2
- package/lib/commonjs/partials/w3m-selector-modal/index.js.map +1 -1
- package/lib/commonjs/partials/w3m-selector-modal/styles.js +3 -2
- package/lib/commonjs/partials/w3m-selector-modal/styles.js.map +1 -1
- package/lib/commonjs/views/w3m-account-default-view/index.js +2 -12
- package/lib/commonjs/views/w3m-account-default-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-account-view/index.js +2 -3
- package/lib/commonjs/views/w3m-account-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-all-wallets-view/index.js +1 -1
- package/lib/commonjs/views/w3m-all-wallets-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-connect-socials-view/index.js +1 -9
- package/lib/commonjs/views/w3m-connect-socials-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-connect-view/index.js +3 -10
- package/lib/commonjs/views/w3m-connect-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-connecting-external-view/index.js +1 -3
- package/lib/commonjs/views/w3m-connecting-external-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-get-wallet-view/index.js +2 -10
- package/lib/commonjs/views/w3m-get-wallet-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-networks-view/index.js +26 -33
- package/lib/commonjs/views/w3m-networks-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-onramp-loading-view/index.js +1 -3
- package/lib/commonjs/views/w3m-onramp-loading-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-onramp-view/components/LoadingView.js +1 -2
- package/lib/commonjs/views/w3m-onramp-view/components/LoadingView.js.map +1 -1
- package/lib/commonjs/views/w3m-onramp-view/components/SelectPaymentModal.js +51 -13
- package/lib/commonjs/views/w3m-onramp-view/components/SelectPaymentModal.js.map +1 -1
- package/lib/commonjs/views/w3m-onramp-view/index.js +16 -18
- package/lib/commonjs/views/w3m-onramp-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-swap-preview-view/index.js +1 -9
- package/lib/commonjs/views/w3m-swap-preview-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-swap-view/index.js +6 -9
- package/lib/commonjs/views/w3m-swap-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-swap-view/styles.js +2 -1
- package/lib/commonjs/views/w3m-swap-view/styles.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-compatible-networks-view/index.js +2 -12
- package/lib/commonjs/views/w3m-wallet-compatible-networks-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-receive-view/index.js +1 -8
- package/lib/commonjs/views/w3m-wallet-receive-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-send-preview-view/index.js +1 -8
- package/lib/commonjs/views/w3m-wallet-send-preview-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-send-select-token-view/index.js +17 -6
- package/lib/commonjs/views/w3m-wallet-send-select-token-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-send-select-token-view/styles.js +2 -1
- package/lib/commonjs/views/w3m-wallet-send-select-token-view/styles.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-send-view/index.js +6 -10
- package/lib/commonjs/views/w3m-wallet-send-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-wallet-send-view/styles.js +2 -1
- package/lib/commonjs/views/w3m-wallet-send-view/styles.js.map +1 -1
- package/lib/commonjs/views/w3m-what-is-a-network-view/index.js +2 -10
- package/lib/commonjs/views/w3m-what-is-a-network-view/index.js.map +1 -1
- package/lib/commonjs/views/w3m-what-is-a-wallet-view/index.js +2 -11
- package/lib/commonjs/views/w3m-what-is-a-wallet-view/index.js.map +1 -1
- package/lib/module/AppKit.js +7 -5
- package/lib/module/AppKit.js.map +1 -1
- package/lib/module/connectors/WalletConnectConnector.js +1 -2
- package/lib/module/connectors/WalletConnectConnector.js.map +1 -1
- package/lib/module/partials/w3m-account-activity/index.js +4 -5
- package/lib/module/partials/w3m-account-activity/index.js.map +1 -1
- package/lib/module/partials/w3m-account-activity/styles.js +1 -4
- package/lib/module/partials/w3m-account-activity/styles.js.map +1 -1
- package/lib/module/partials/w3m-account-tokens/index.js +2 -3
- package/lib/module/partials/w3m-account-tokens/index.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-list/components/Loading.js +9 -35
- package/lib/module/partials/w3m-all-wallets-list/components/Loading.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-list/components/WalletItem.js +4 -3
- package/lib/module/partials/w3m-all-wallets-list/components/WalletItem.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-list/index.js +3 -2
- package/lib/module/partials/w3m-all-wallets-list/index.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-list/styles.js +3 -2
- package/lib/module/partials/w3m-all-wallets-list/styles.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-search/index.js +3 -2
- package/lib/module/partials/w3m-all-wallets-search/index.js.map +1 -1
- package/lib/module/partials/w3m-all-wallets-search/styles.js +2 -2
- package/lib/module/partials/w3m-all-wallets-search/styles.js.map +1 -1
- package/lib/module/partials/w3m-connecting-mobile/index.js +2 -4
- package/lib/module/partials/w3m-connecting-mobile/index.js.map +1 -1
- package/lib/module/partials/w3m-connecting-qrcode/index.js +1 -0
- package/lib/module/partials/w3m-connecting-qrcode/index.js.map +1 -1
- package/lib/module/partials/w3m-connecting-web/index.js +2 -4
- package/lib/module/partials/w3m-connecting-web/index.js.map +1 -1
- package/lib/module/partials/w3m-selector-modal/index.js +30 -3
- package/lib/module/partials/w3m-selector-modal/index.js.map +1 -1
- package/lib/module/partials/w3m-selector-modal/styles.js +3 -2
- package/lib/module/partials/w3m-selector-modal/styles.js.map +1 -1
- package/lib/module/views/w3m-account-default-view/index.js +3 -12
- package/lib/module/views/w3m-account-default-view/index.js.map +1 -1
- package/lib/module/views/w3m-account-view/index.js +2 -3
- package/lib/module/views/w3m-account-view/index.js.map +1 -1
- package/lib/module/views/w3m-all-wallets-view/index.js +1 -1
- package/lib/module/views/w3m-all-wallets-view/index.js.map +1 -1
- package/lib/module/views/w3m-connect-socials-view/index.js +1 -9
- package/lib/module/views/w3m-connect-socials-view/index.js.map +1 -1
- package/lib/module/views/w3m-connect-view/index.js +4 -11
- package/lib/module/views/w3m-connect-view/index.js.map +1 -1
- package/lib/module/views/w3m-connecting-external-view/index.js +2 -4
- package/lib/module/views/w3m-connecting-external-view/index.js.map +1 -1
- package/lib/module/views/w3m-get-wallet-view/index.js +3 -11
- package/lib/module/views/w3m-get-wallet-view/index.js.map +1 -1
- package/lib/module/views/w3m-networks-view/index.js +28 -35
- package/lib/module/views/w3m-networks-view/index.js.map +1 -1
- package/lib/module/views/w3m-onramp-loading-view/index.js +2 -4
- package/lib/module/views/w3m-onramp-loading-view/index.js.map +1 -1
- package/lib/module/views/w3m-onramp-view/components/LoadingView.js +2 -3
- package/lib/module/views/w3m-onramp-view/components/LoadingView.js.map +1 -1
- package/lib/module/views/w3m-onramp-view/components/SelectPaymentModal.js +53 -15
- package/lib/module/views/w3m-onramp-view/components/SelectPaymentModal.js.map +1 -1
- package/lib/module/views/w3m-onramp-view/index.js +16 -18
- package/lib/module/views/w3m-onramp-view/index.js.map +1 -1
- package/lib/module/views/w3m-swap-preview-view/index.js +1 -9
- package/lib/module/views/w3m-swap-preview-view/index.js.map +1 -1
- package/lib/module/views/w3m-swap-view/index.js +7 -10
- package/lib/module/views/w3m-swap-view/index.js.map +1 -1
- package/lib/module/views/w3m-swap-view/styles.js +2 -1
- package/lib/module/views/w3m-swap-view/styles.js.map +1 -1
- package/lib/module/views/w3m-wallet-compatible-networks-view/index.js +2 -12
- package/lib/module/views/w3m-wallet-compatible-networks-view/index.js.map +1 -1
- package/lib/module/views/w3m-wallet-receive-view/index.js +2 -9
- package/lib/module/views/w3m-wallet-receive-view/index.js.map +1 -1
- package/lib/module/views/w3m-wallet-send-preview-view/index.js +1 -8
- package/lib/module/views/w3m-wallet-send-preview-view/index.js.map +1 -1
- package/lib/module/views/w3m-wallet-send-select-token-view/index.js +17 -6
- package/lib/module/views/w3m-wallet-send-select-token-view/index.js.map +1 -1
- package/lib/module/views/w3m-wallet-send-select-token-view/styles.js +2 -1
- package/lib/module/views/w3m-wallet-send-select-token-view/styles.js.map +1 -1
- package/lib/module/views/w3m-wallet-send-view/index.js +6 -10
- package/lib/module/views/w3m-wallet-send-view/index.js.map +1 -1
- package/lib/module/views/w3m-wallet-send-view/styles.js +2 -1
- package/lib/module/views/w3m-wallet-send-view/styles.js.map +1 -1
- package/lib/module/views/w3m-what-is-a-network-view/index.js +3 -11
- package/lib/module/views/w3m-what-is-a-network-view/index.js.map +1 -1
- package/lib/module/views/w3m-what-is-a-wallet-view/index.js +2 -11
- package/lib/module/views/w3m-what-is-a-wallet-view/index.js.map +1 -1
- package/lib/typescript/AppKit.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-account-activity/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-account-activity/styles.d.ts +0 -3
- package/lib/typescript/partials/w3m-account-activity/styles.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-account-tokens/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-list/components/Loading.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-list/components/WalletItem.d.ts +2 -1
- package/lib/typescript/partials/w3m-all-wallets-list/components/WalletItem.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-list/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-list/styles.d.ts +2 -1
- package/lib/typescript/partials/w3m-all-wallets-list/styles.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-search/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-all-wallets-search/styles.d.ts +1 -1
- package/lib/typescript/partials/w3m-connecting-mobile/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-connecting-qrcode/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-connecting-web/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-selector-modal/index.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-selector-modal/styles.d.ts +2 -1
- package/lib/typescript/partials/w3m-selector-modal/styles.d.ts.map +1 -1
- package/lib/typescript/views/w3m-account-default-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-connect-socials-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-connect-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-connecting-external-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-get-wallet-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-networks-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-onramp-loading-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-onramp-view/components/SelectPaymentModal.d.ts.map +1 -1
- package/lib/typescript/views/w3m-swap-preview-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-swap-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-swap-view/styles.d.ts +1 -0
- package/lib/typescript/views/w3m-swap-view/styles.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-compatible-networks-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-receive-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-send-preview-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-send-select-token-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-send-select-token-view/styles.d.ts +1 -0
- package/lib/typescript/views/w3m-wallet-send-select-token-view/styles.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-send-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-wallet-send-view/styles.d.ts +1 -0
- package/lib/typescript/views/w3m-wallet-send-view/styles.d.ts.map +1 -1
- package/lib/typescript/views/w3m-what-is-a-network-view/index.d.ts.map +1 -1
- package/lib/typescript/views/w3m-what-is-a-wallet-view/index.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/AppKit.ts +13 -5
- package/src/connectors/WalletConnectConnector.ts +2 -2
- package/src/partials/w3m-account-activity/index.tsx +5 -5
- package/src/partials/w3m-account-activity/styles.ts +1 -4
- package/src/partials/w3m-account-tokens/index.tsx +3 -9
- package/src/partials/w3m-all-wallets-list/components/Loading.tsx +9 -11
- package/src/partials/w3m-all-wallets-list/components/WalletItem.tsx +5 -3
- package/src/partials/w3m-all-wallets-list/index.tsx +5 -1
- package/src/partials/w3m-all-wallets-list/styles.ts +3 -2
- package/src/partials/w3m-all-wallets-search/index.tsx +5 -1
- package/src/partials/w3m-all-wallets-search/styles.ts +2 -2
- package/src/partials/w3m-connecting-mobile/index.tsx +4 -3
- package/src/partials/w3m-connecting-qrcode/index.tsx +1 -0
- package/src/partials/w3m-connecting-web/index.tsx +4 -3
- package/src/partials/w3m-selector-modal/index.tsx +30 -3
- package/src/partials/w3m-selector-modal/styles.ts +3 -2
- package/src/views/w3m-account-default-view/index.tsx +4 -7
- package/src/views/w3m-account-view/index.tsx +3 -3
- package/src/views/w3m-all-wallets-view/index.tsx +1 -1
- package/src/views/w3m-connect-socials-view/index.tsx +2 -4
- package/src/views/w3m-connect-view/index.tsx +5 -6
- package/src/views/w3m-connecting-external-view/index.tsx +4 -3
- package/src/views/w3m-get-wallet-view/index.tsx +4 -10
- package/src/views/w3m-networks-view/index.tsx +26 -29
- package/src/views/w3m-onramp-loading-view/index.tsx +4 -8
- package/src/views/w3m-onramp-view/components/LoadingView.tsx +3 -3
- package/src/views/w3m-onramp-view/components/SelectPaymentModal.tsx +46 -11
- package/src/views/w3m-onramp-view/index.tsx +20 -20
- package/src/views/w3m-swap-preview-view/index.tsx +2 -4
- package/src/views/w3m-swap-view/index.tsx +4 -12
- package/src/views/w3m-swap-view/styles.ts +2 -1
- package/src/views/w3m-wallet-compatible-networks-view/index.tsx +3 -11
- package/src/views/w3m-wallet-receive-view/index.tsx +3 -4
- package/src/views/w3m-wallet-send-preview-view/index.tsx +2 -4
- package/src/views/w3m-wallet-send-select-token-view/index.tsx +18 -6
- package/src/views/w3m-wallet-send-select-token-view/styles.ts +2 -1
- package/src/views/w3m-wallet-send-view/index.tsx +4 -6
- package/src/views/w3m-wallet-send-view/styles.ts +2 -1
- package/src/views/w3m-what-is-a-network-view/index.tsx +4 -5
- package/src/views/w3m-what-is-a-wallet-view/index.tsx +3 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-compatible-networks-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-compatible-networks-view/index.tsx"],"names":[],"mappings":"AAUA,wBAAgB,wBAAwB,4CAsCvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-receive-view/index.tsx"],"names":[],"mappings":"AAuBA,wBAAgB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-receive-view/index.tsx"],"names":[],"mappings":"AAuBA,wBAAgB,iBAAiB,wDAqEhC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-preview-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-preview-view/index.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,qBAAqB,4CA+GpC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-select-token-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-select-token-view/index.tsx"],"names":[],"mappings":"AAuBA,wBAAgB,yBAAyB,4CA0ExC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-select-token-view/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-select-token-view/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAGA,wBAYG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-view/index.tsx"],"names":[],"mappings":"AAeA,wBAAgB,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-view/index.tsx"],"names":[],"mappings":"AAeA,wBAAgB,cAAc,4CAsG7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-view/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-wallet-send-view/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,wBAqBG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-what-is-a-network-view/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-what-is-a-network-view/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,kBAAkB,4CA0CjC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-what-is-a-wallet-view/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-what-is-a-wallet-view/index.tsx"],"names":[],"mappings":"AAIA,wBAAgB,iBAAiB,4CAsDhC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-react-native",
|
|
3
|
-
"version": "0.0.0-fix-
|
|
3
|
+
"version": "0.0.0-fix-improvements-20250827190629",
|
|
4
4
|
"main": "lib/commonjs/index.js",
|
|
5
5
|
"types": "lib/typescript/index.d.ts",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -38,10 +38,10 @@
|
|
|
38
38
|
"access": "public"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@reown/appkit-common-react-native": "0.0.0-fix-
|
|
42
|
-
"@reown/appkit-core-react-native": "0.0.0-fix-
|
|
43
|
-
"@reown/appkit-siwe-react-native": "0.0.0-fix-
|
|
44
|
-
"@reown/appkit-ui-react-native": "0.0.0-fix-
|
|
41
|
+
"@reown/appkit-common-react-native": "0.0.0-fix-improvements-20250827190629",
|
|
42
|
+
"@reown/appkit-core-react-native": "0.0.0-fix-improvements-20250827190629",
|
|
43
|
+
"@reown/appkit-siwe-react-native": "0.0.0-fix-improvements-20250827190629",
|
|
44
|
+
"@reown/appkit-ui-react-native": "0.0.0-fix-improvements-20250827190629",
|
|
45
45
|
"@walletconnect/universal-provider": "2.21.5",
|
|
46
46
|
"valtio": "2.1.5"
|
|
47
47
|
},
|
package/src/AppKit.ts
CHANGED
|
@@ -663,6 +663,7 @@ export class AppKit {
|
|
|
663
663
|
OptionsController.setEnableAnalytics(options.enableAnalytics);
|
|
664
664
|
OptionsController.setDebug(options.debug);
|
|
665
665
|
OptionsController.setFeatures(options.features);
|
|
666
|
+
OptionsController.setRequestedNetworks(this.networks);
|
|
666
667
|
|
|
667
668
|
if (options.defaultNetwork) {
|
|
668
669
|
const network = NetworkUtil.formatNetwork(options.defaultNetwork, this.projectId);
|
|
@@ -709,14 +710,17 @@ export class AppKit {
|
|
|
709
710
|
const wallets = await StorageUtil.getRecentWallets();
|
|
710
711
|
const filteredWallets = wallets.filter(wallet => {
|
|
711
712
|
const { includeWalletIds, excludeWalletIds } = options;
|
|
712
|
-
|
|
713
|
+
|
|
714
|
+
if (includeWalletIds?.length) {
|
|
713
715
|
return includeWalletIds.includes(wallet.id);
|
|
714
716
|
}
|
|
715
|
-
if (excludeWalletIds) {
|
|
717
|
+
if (excludeWalletIds?.length) {
|
|
716
718
|
return !excludeWalletIds.includes(wallet.id);
|
|
717
719
|
}
|
|
718
720
|
|
|
719
|
-
return
|
|
721
|
+
return this.networks.some(
|
|
722
|
+
network => wallet.chains?.some(chain => network.caipNetworkId === chain)
|
|
723
|
+
);
|
|
720
724
|
});
|
|
721
725
|
|
|
722
726
|
WcController.setRecentWallets(filteredWallets);
|
|
@@ -740,8 +744,12 @@ export class AppKit {
|
|
|
740
744
|
|
|
741
745
|
const customList = [...(customWallets ?? [])];
|
|
742
746
|
|
|
743
|
-
const
|
|
747
|
+
const isSolanaEnabled =
|
|
744
748
|
adapters.some(adapter => adapter.getSupportedNamespace() === 'solana') &&
|
|
749
|
+
this.networks.some(network => network.chainNamespace === 'solana');
|
|
750
|
+
|
|
751
|
+
const addPhantom =
|
|
752
|
+
isSolanaEnabled &&
|
|
745
753
|
extraConnectors?.some(connector => connector.type.toLowerCase() === 'phantom') &&
|
|
746
754
|
!customList.some(wallet => wallet.id === ConstantsUtil.PHANTOM_CUSTOM_WALLET.id);
|
|
747
755
|
|
|
@@ -750,7 +758,7 @@ export class AppKit {
|
|
|
750
758
|
}
|
|
751
759
|
|
|
752
760
|
const addSolflare =
|
|
753
|
-
|
|
761
|
+
isSolanaEnabled &&
|
|
754
762
|
extraConnectors?.some(connector => connector.type.toLowerCase() === 'solflare') &&
|
|
755
763
|
!customList.some(wallet => wallet.id === ConstantsUtil.SOLFLARE_CUSTOM_WALLET.id);
|
|
756
764
|
|
|
@@ -210,12 +210,12 @@ export class WalletConnectConnector extends WalletConnector {
|
|
|
210
210
|
const provider = this.provider as IUniversalProvider;
|
|
211
211
|
|
|
212
212
|
if (namespace) {
|
|
213
|
-
const _chainId = this.getChainId(namespace);
|
|
214
|
-
|
|
215
213
|
// @ts-ignore
|
|
216
214
|
return {
|
|
217
215
|
...provider,
|
|
218
216
|
request: (args: RequestArguments, chainId?: CaipNetworkId) => {
|
|
217
|
+
const _chainId = this.getChainId(namespace);
|
|
218
|
+
|
|
219
219
|
return provider.request(args, chainId || _chainId);
|
|
220
220
|
}
|
|
221
221
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { View, type StyleProp, type ViewStyle, RefreshControl } from 'react-native';
|
|
4
4
|
import {
|
|
5
5
|
FlexView,
|
|
6
6
|
Link,
|
|
@@ -8,7 +8,8 @@ import {
|
|
|
8
8
|
LoadingSpinner,
|
|
9
9
|
Text,
|
|
10
10
|
TransactionUtil,
|
|
11
|
-
useTheme
|
|
11
|
+
useTheme,
|
|
12
|
+
ScrollView
|
|
12
13
|
} from '@reown/appkit-ui-react-native';
|
|
13
14
|
import { type Transaction, type TransactionImage } from '@reown/appkit-common-react-native';
|
|
14
15
|
import {
|
|
@@ -121,9 +122,8 @@ export function AccountActivity({ style }: Props) {
|
|
|
121
122
|
|
|
122
123
|
return (
|
|
123
124
|
<ScrollView
|
|
124
|
-
style={
|
|
125
|
-
|
|
126
|
-
contentContainerStyle={[styles.contentContainer]}
|
|
125
|
+
style={style}
|
|
126
|
+
contentContainerStyle={styles.contentContainer}
|
|
127
127
|
refreshControl={
|
|
128
128
|
<RefreshControl
|
|
129
129
|
refreshing={refreshing}
|
|
@@ -2,11 +2,8 @@ import { Spacing } from '@reown/appkit-ui-react-native';
|
|
|
2
2
|
import { StyleSheet } from 'react-native';
|
|
3
3
|
|
|
4
4
|
export default StyleSheet.create({
|
|
5
|
-
container: {
|
|
6
|
-
paddingHorizontal: Spacing.xs
|
|
7
|
-
},
|
|
8
5
|
contentContainer: {
|
|
9
|
-
paddingBottom: Spacing.
|
|
6
|
+
paddingBottom: Spacing.xl
|
|
10
7
|
},
|
|
11
8
|
separatorText: {
|
|
12
9
|
marginVertical: Spacing.xs
|
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { useCallback, useState } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
RefreshControl,
|
|
4
|
-
ScrollView,
|
|
5
|
-
StyleSheet,
|
|
6
|
-
type StyleProp,
|
|
7
|
-
type ViewStyle
|
|
8
|
-
} from 'react-native';
|
|
2
|
+
import { RefreshControl, StyleSheet, type StyleProp, type ViewStyle } from 'react-native';
|
|
9
3
|
import { useSnapshot } from 'valtio';
|
|
10
4
|
import {
|
|
11
5
|
AssetController,
|
|
@@ -20,7 +14,8 @@ import {
|
|
|
20
14
|
ListToken,
|
|
21
15
|
useTheme,
|
|
22
16
|
Spacing,
|
|
23
|
-
LoadingSpinner
|
|
17
|
+
LoadingSpinner,
|
|
18
|
+
ScrollView
|
|
24
19
|
} from '@reown/appkit-ui-react-native';
|
|
25
20
|
|
|
26
21
|
interface Props {
|
|
@@ -70,7 +65,6 @@ export function AccountTokens({ style, isLoading }: Props) {
|
|
|
70
65
|
|
|
71
66
|
return (
|
|
72
67
|
<ScrollView
|
|
73
|
-
fadingEdgeLength={20}
|
|
74
68
|
style={style}
|
|
75
69
|
refreshControl={
|
|
76
70
|
<RefreshControl
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CardSelectLoader, FlexView, useCustomDimensions } from '@reown/appkit-ui-react-native';
|
|
2
2
|
import { memo } from 'react';
|
|
3
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
|
+
import { type StyleProp, type ViewStyle, StyleSheet } from 'react-native';
|
|
4
4
|
|
|
5
5
|
interface LoadingProps {
|
|
6
6
|
itemWidth?: number;
|
|
@@ -15,8 +15,7 @@ function _Loading({ itemWidth, containerStyle }: LoadingProps) {
|
|
|
15
15
|
flexDirection="row"
|
|
16
16
|
flexWrap="wrap"
|
|
17
17
|
alignSelf="center"
|
|
18
|
-
|
|
19
|
-
style={{ maxWidth, maxHeight }}
|
|
18
|
+
style={[styles.container, { maxWidth, maxHeight }]}
|
|
20
19
|
>
|
|
21
20
|
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
22
21
|
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
@@ -30,18 +29,17 @@ function _Loading({ itemWidth, containerStyle }: LoadingProps) {
|
|
|
30
29
|
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
31
30
|
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
32
31
|
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
33
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
34
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
35
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
36
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
37
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
38
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
39
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
40
|
-
<CardSelectLoader style={[containerStyle, { width: itemWidth }]} />
|
|
41
32
|
</FlexView>
|
|
42
33
|
);
|
|
43
34
|
}
|
|
44
35
|
|
|
36
|
+
const styles = StyleSheet.create({
|
|
37
|
+
container: {
|
|
38
|
+
alignSelf: 'center',
|
|
39
|
+
justifyContent: 'center'
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
|
|
45
43
|
export const Loading = memo(_Loading, () => {
|
|
46
44
|
return true;
|
|
47
45
|
});
|
|
@@ -11,6 +11,7 @@ interface WalletItemProps {
|
|
|
11
11
|
itemWidth?: number;
|
|
12
12
|
imageHeaders?: Record<string, string>;
|
|
13
13
|
onItemPress: (wallet: WcWallet) => void;
|
|
14
|
+
style?: StyleProp<ViewStyle>;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
export function WalletItem({
|
|
@@ -18,20 +19,21 @@ export function WalletItem({
|
|
|
18
19
|
item,
|
|
19
20
|
itemWidth,
|
|
20
21
|
imageHeaders,
|
|
21
|
-
onItemPress
|
|
22
|
+
onItemPress,
|
|
23
|
+
style
|
|
22
24
|
}: WalletItemProps) {
|
|
23
25
|
const { walletImages } = useSnapshot(AssetController.state);
|
|
24
26
|
const isInstalled = ApiController.state.installed.find(wallet => wallet?.id === item?.id);
|
|
25
27
|
const imageSrc = AssetUtil.getWalletImage(item, walletImages);
|
|
26
28
|
|
|
27
29
|
if (!item?.id) {
|
|
28
|
-
return <CardSelectLoader style={[containerStyle, { width: itemWidth }]} />;
|
|
30
|
+
return <CardSelectLoader style={[containerStyle, { width: itemWidth }, style]} />;
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
return (
|
|
32
34
|
<CardSelect
|
|
33
35
|
imageSrc={imageSrc}
|
|
34
|
-
style={[containerStyle, { width: itemWidth }]}
|
|
36
|
+
style={[containerStyle, { width: itemWidth }, style]}
|
|
35
37
|
imageHeaders={imageHeaders}
|
|
36
38
|
name={item?.name ?? 'Unknown'}
|
|
37
39
|
onPress={() => onItemPress(item)}
|
|
@@ -126,10 +126,14 @@ export function AllWalletsList({
|
|
|
126
126
|
itemWidth={itemWidth}
|
|
127
127
|
imageHeaders={imageHeaders}
|
|
128
128
|
onItemPress={onItemPress}
|
|
129
|
+
style={styles.itemContainer}
|
|
129
130
|
/>
|
|
130
131
|
)}
|
|
131
132
|
style={{ maxHeight: maxHeight - headerHeight - Spacing['4xl'] }}
|
|
132
|
-
contentContainerStyle={[
|
|
133
|
+
contentContainerStyle={[
|
|
134
|
+
styles.contentContainer,
|
|
135
|
+
{ paddingHorizontal: padding + Spacing['2xs'] }
|
|
136
|
+
]}
|
|
133
137
|
onEndReached={fetchNextPage}
|
|
134
138
|
onEndReachedThreshold={2}
|
|
135
139
|
keyExtractor={(item, index) => item?.id ?? index}
|
|
@@ -3,12 +3,13 @@ import { StyleSheet } from 'react-native';
|
|
|
3
3
|
|
|
4
4
|
export default StyleSheet.create({
|
|
5
5
|
contentContainer: {
|
|
6
|
-
paddingBottom: Spacing['
|
|
6
|
+
paddingBottom: Spacing['4xl'],
|
|
7
|
+
paddingTop: Spacing['3xs']
|
|
7
8
|
},
|
|
8
9
|
itemContainer: {
|
|
9
10
|
alignItems: 'center',
|
|
10
11
|
justifyContent: 'center',
|
|
11
|
-
|
|
12
|
+
margin: Spacing['4xs']
|
|
12
13
|
},
|
|
13
14
|
pageLoader: {
|
|
14
15
|
marginTop: Spacing.xl
|
|
@@ -98,10 +98,14 @@ export function AllWalletsSearch({
|
|
|
98
98
|
itemWidth={itemWidth}
|
|
99
99
|
imageHeaders={imageHeaders}
|
|
100
100
|
onItemPress={onItemPress}
|
|
101
|
+
style={styles.itemContainer}
|
|
101
102
|
/>
|
|
102
103
|
)}
|
|
103
104
|
style={{ maxHeight: maxHeight - headerHeight - Spacing['2xl'] }}
|
|
104
|
-
contentContainerStyle={[
|
|
105
|
+
contentContainerStyle={[
|
|
106
|
+
styles.contentContainer,
|
|
107
|
+
{ paddingHorizontal: padding + Spacing['2xs'] }
|
|
108
|
+
]}
|
|
105
109
|
keyExtractor={item => item.id}
|
|
106
110
|
getItemLayout={(_, index) => ({
|
|
107
111
|
length: ITEM_HEIGHT,
|
|
@@ -3,7 +3,7 @@ import { StyleSheet } from 'react-native';
|
|
|
3
3
|
|
|
4
4
|
export default StyleSheet.create({
|
|
5
5
|
contentContainer: {
|
|
6
|
-
paddingBottom: Spacing['
|
|
6
|
+
paddingBottom: Spacing['4xl']
|
|
7
7
|
},
|
|
8
8
|
placeholderContainer: {
|
|
9
9
|
flex: 0,
|
|
@@ -19,7 +19,7 @@ export default StyleSheet.create({
|
|
|
19
19
|
itemContainer: {
|
|
20
20
|
alignItems: 'center',
|
|
21
21
|
justifyContent: 'center',
|
|
22
|
-
|
|
22
|
+
margin: Spacing['4xs']
|
|
23
23
|
},
|
|
24
24
|
text: {
|
|
25
25
|
marginTop: Spacing.xs
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { useCallback, useEffect, useState } from 'react';
|
|
3
|
-
import { Platform
|
|
3
|
+
import { Platform } from 'react-native';
|
|
4
4
|
import {
|
|
5
5
|
RouterController,
|
|
6
6
|
ApiController,
|
|
@@ -19,7 +19,8 @@ import {
|
|
|
19
19
|
WalletImage,
|
|
20
20
|
Link,
|
|
21
21
|
IconBox,
|
|
22
|
-
useCustomDimensions
|
|
22
|
+
useCustomDimensions,
|
|
23
|
+
ScrollView
|
|
23
24
|
} from '@reown/appkit-ui-react-native';
|
|
24
25
|
|
|
25
26
|
import { StoreLink } from './components/StoreLink';
|
|
@@ -100,7 +101,7 @@ export function ConnectingMobile({ onRetry, onCopyUri, isInstalled }: Props) {
|
|
|
100
101
|
}, [wcUri, onConnect]);
|
|
101
102
|
|
|
102
103
|
return (
|
|
103
|
-
<ScrollView
|
|
104
|
+
<ScrollView contentContainerStyle={styles.container}>
|
|
104
105
|
<FlexView
|
|
105
106
|
alignItems="center"
|
|
106
107
|
alignSelf="center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { useCallback } from 'react';
|
|
3
|
-
import { Linking
|
|
3
|
+
import { Linking } from 'react-native';
|
|
4
4
|
import {
|
|
5
5
|
RouterController,
|
|
6
6
|
ApiController,
|
|
@@ -17,7 +17,8 @@ import {
|
|
|
17
17
|
LoadingThumbnail,
|
|
18
18
|
WalletImage,
|
|
19
19
|
Link,
|
|
20
|
-
IconBox
|
|
20
|
+
IconBox,
|
|
21
|
+
ScrollView
|
|
21
22
|
} from '@reown/appkit-ui-react-native';
|
|
22
23
|
|
|
23
24
|
import { ConnectingBody, getMessage } from '../w3m-connecting-body';
|
|
@@ -65,7 +66,7 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
|
|
|
65
66
|
}, [data?.wallet, wcUri]);
|
|
66
67
|
|
|
67
68
|
return (
|
|
68
|
-
<ScrollView
|
|
69
|
+
<ScrollView>
|
|
69
70
|
<FlexView alignItems="center" padding={['2xl', 'm', '3xl', 'm']}>
|
|
70
71
|
<LoadingThumbnail paused={wcError}>
|
|
71
72
|
<WalletImage
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
|
-
import { FlatList, View, Modal } from 'react-native';
|
|
2
|
+
import { FlatList, View, Modal, Animated } from 'react-native';
|
|
3
3
|
import {
|
|
4
4
|
FlexView,
|
|
5
5
|
IconBox,
|
|
@@ -13,6 +13,7 @@ import {
|
|
|
13
13
|
} from '@reown/appkit-ui-react-native';
|
|
14
14
|
import styles from './styles';
|
|
15
15
|
import { AssetController, AssetUtil, ConnectionsController } from '@reown/appkit-core-react-native';
|
|
16
|
+
import { useEffect, useRef } from 'react';
|
|
16
17
|
|
|
17
18
|
interface SelectorModalProps {
|
|
18
19
|
title?: string;
|
|
@@ -47,6 +48,32 @@ export function SelectorModal({
|
|
|
47
48
|
const { activeNetwork } = useSnapshot(ConnectionsController.state);
|
|
48
49
|
const { networkImages } = useSnapshot(AssetController.state);
|
|
49
50
|
const networkImage = AssetUtil.getNetworkImage(activeNetwork, networkImages);
|
|
51
|
+
const backdropOpacity = useRef(new Animated.Value(0)).current;
|
|
52
|
+
|
|
53
|
+
// Handle backdrop animation
|
|
54
|
+
useEffect(() => {
|
|
55
|
+
let backdropAnimation: Animated.CompositeAnimation;
|
|
56
|
+
|
|
57
|
+
if (visible) {
|
|
58
|
+
backdropAnimation = Animated.timing(backdropOpacity, {
|
|
59
|
+
toValue: 1,
|
|
60
|
+
duration: 300,
|
|
61
|
+
useNativeDriver: true
|
|
62
|
+
});
|
|
63
|
+
backdropAnimation.start();
|
|
64
|
+
} else {
|
|
65
|
+
backdropAnimation = Animated.timing(backdropOpacity, {
|
|
66
|
+
toValue: 0,
|
|
67
|
+
duration: 50,
|
|
68
|
+
useNativeDriver: true
|
|
69
|
+
});
|
|
70
|
+
backdropAnimation.start();
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
return () => {
|
|
74
|
+
backdropAnimation?.stop();
|
|
75
|
+
};
|
|
76
|
+
}, [visible, backdropOpacity]);
|
|
50
77
|
|
|
51
78
|
const renderSeparator = () => {
|
|
52
79
|
return <View style={{ height: SEPARATOR_HEIGHT }} />;
|
|
@@ -54,7 +81,7 @@ export function SelectorModal({
|
|
|
54
81
|
|
|
55
82
|
return (
|
|
56
83
|
<Modal visible={visible} transparent animationType="slide" onRequestClose={onClose}>
|
|
57
|
-
<View style={styles.modal}>
|
|
84
|
+
<Animated.View style={[styles.modal, { opacity: backdropOpacity }]}>
|
|
58
85
|
<FlexView style={[styles.container, { backgroundColor: Theme['bg-100'] }]}>
|
|
59
86
|
<FlexView
|
|
60
87
|
alignItems="center"
|
|
@@ -115,7 +142,7 @@ export function SelectorModal({
|
|
|
115
142
|
}
|
|
116
143
|
/>
|
|
117
144
|
</FlexView>
|
|
118
|
-
</View>
|
|
145
|
+
</Animated.View>
|
|
119
146
|
</Modal>
|
|
120
147
|
);
|
|
121
148
|
}
|
|
@@ -5,14 +5,15 @@ export default StyleSheet.create({
|
|
|
5
5
|
modal: {
|
|
6
6
|
flex: 1,
|
|
7
7
|
margin: 0,
|
|
8
|
-
justifyContent: 'flex-end'
|
|
8
|
+
justifyContent: 'flex-end',
|
|
9
|
+
backgroundColor: 'rgba(0, 0, 0, 0.5)'
|
|
9
10
|
},
|
|
10
11
|
header: {
|
|
11
12
|
marginBottom: Spacing.s,
|
|
12
13
|
paddingHorizontal: Spacing.m
|
|
13
14
|
},
|
|
14
15
|
container: {
|
|
15
|
-
height: '
|
|
16
|
+
height: '90%',
|
|
16
17
|
borderTopLeftRadius: BorderRadius.l,
|
|
17
18
|
borderTopRightRadius: BorderRadius.l,
|
|
18
19
|
paddingTop: Spacing.m
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { useState } from 'react';
|
|
3
|
-
import { Linking
|
|
3
|
+
import { Linking } from 'react-native';
|
|
4
4
|
import {
|
|
5
5
|
ApiController,
|
|
6
6
|
CoreHelperUtil,
|
|
@@ -16,7 +16,6 @@ import {
|
|
|
16
16
|
AssetController,
|
|
17
17
|
AssetUtil
|
|
18
18
|
} from '@reown/appkit-core-react-native';
|
|
19
|
-
// import { ConstantsUtil as CommonConstantsUtil } from '@reown/appkit-common-react-native';
|
|
20
19
|
import {
|
|
21
20
|
Avatar,
|
|
22
21
|
Button,
|
|
@@ -26,7 +25,7 @@ import {
|
|
|
26
25
|
UiUtil,
|
|
27
26
|
Spacing,
|
|
28
27
|
ListItem,
|
|
29
|
-
|
|
28
|
+
ScrollView
|
|
30
29
|
} from '@reown/appkit-ui-react-native';
|
|
31
30
|
|
|
32
31
|
import { useInternalAppKit } from '../../AppKitContext';
|
|
@@ -77,8 +76,6 @@ export function AccountDefaultView() {
|
|
|
77
76
|
activeNamespace &&
|
|
78
77
|
ConstantsUtil.ONRAMP_SUPPORTED_NAMESPACES.includes(activeNamespace);
|
|
79
78
|
|
|
80
|
-
const { padding } = useCustomDimensions();
|
|
81
|
-
|
|
82
79
|
async function onDisconnect() {
|
|
83
80
|
setDisconnecting(true);
|
|
84
81
|
await disconnect(ConnectionsController.state.activeNamespace);
|
|
@@ -192,8 +189,8 @@ export function AccountDefaultView() {
|
|
|
192
189
|
onPress={ModalController.close}
|
|
193
190
|
testID="header-close"
|
|
194
191
|
/>
|
|
195
|
-
<ScrollView
|
|
196
|
-
<FlexView alignItems="center" padding={['3xl', 's', '
|
|
192
|
+
<ScrollView>
|
|
193
|
+
<FlexView alignItems="center" padding={['3xl', 's', '2xl', 's']}>
|
|
197
194
|
<Avatar imageSrc={identity?.avatar} address={account ?? ''} />
|
|
198
195
|
<FlexView flexDirection="row" alignItems="center" margin={['s', '0', '0', '0']}>
|
|
199
196
|
<Text variant="medium-title-600">
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { useEffect } from 'react';
|
|
3
|
-
import { ScrollView } from 'react-native';
|
|
4
3
|
import {
|
|
5
4
|
AccountPill,
|
|
6
5
|
FlexView,
|
|
@@ -8,7 +7,8 @@ import {
|
|
|
8
7
|
IconLink,
|
|
9
8
|
NetworkButton,
|
|
10
9
|
useTheme,
|
|
11
|
-
useCustomDimensions
|
|
10
|
+
useCustomDimensions,
|
|
11
|
+
ScrollView
|
|
12
12
|
} from '@reown/appkit-ui-react-native';
|
|
13
13
|
import {
|
|
14
14
|
ApiController,
|
|
@@ -51,7 +51,7 @@ export function AccountView() {
|
|
|
51
51
|
|
|
52
52
|
return (
|
|
53
53
|
<ScrollView
|
|
54
|
-
|
|
54
|
+
disablePadding
|
|
55
55
|
contentContainerStyle={[
|
|
56
56
|
styles.contentContainer,
|
|
57
57
|
{
|
|
@@ -23,7 +23,7 @@ export function AllWalletsView() {
|
|
|
23
23
|
const { maxWidth } = useCustomDimensions();
|
|
24
24
|
const [headerHeight, setHeaderHeight] = useState<number>(0);
|
|
25
25
|
const numColumns = 4;
|
|
26
|
-
const usableWidth = maxWidth - Spacing
|
|
26
|
+
const usableWidth = maxWidth - Spacing['s'] * 2;
|
|
27
27
|
const itemWidth = Math.abs(Math.trunc(usableWidth / numColumns));
|
|
28
28
|
|
|
29
29
|
const { debouncedCallback: onInputChange } = useDebounceCallback({ callback: setSearchQuery });
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
|
-
import { ScrollView } from 'react-native';
|
|
3
2
|
import { StringUtil, type SocialProvider } from '@reown/appkit-common-react-native';
|
|
4
3
|
import {
|
|
5
4
|
EventsController,
|
|
6
5
|
OptionsController,
|
|
7
6
|
RouterController
|
|
8
7
|
} from '@reown/appkit-core-react-native';
|
|
9
|
-
import { FlexView, ListSocial, Text
|
|
8
|
+
import { FlexView, ScrollView, ListSocial, Text } from '@reown/appkit-ui-react-native';
|
|
10
9
|
|
|
11
10
|
import styles from './styles';
|
|
12
11
|
|
|
13
12
|
export function ConnectSocialsView() {
|
|
14
13
|
const { features } = useSnapshot(OptionsController.state);
|
|
15
|
-
const { padding } = useCustomDimensions();
|
|
16
14
|
const socialProviders = (features?.socials ?? []) as SocialProvider[];
|
|
17
15
|
|
|
18
16
|
const onItemPress = (provider: SocialProvider) => {
|
|
@@ -26,7 +24,7 @@ export function ConnectSocialsView() {
|
|
|
26
24
|
};
|
|
27
25
|
|
|
28
26
|
return (
|
|
29
|
-
<ScrollView
|
|
27
|
+
<ScrollView>
|
|
30
28
|
<FlexView padding={['xs', 'm', '2xl', 'm']}>
|
|
31
29
|
{socialProviders.map(provider => (
|
|
32
30
|
<ListSocial
|