@reown/appkit-ui-react-native 1.0.2 → 1.1.1
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/assets/svg/ArrowBottomCircle.js +21 -0
- package/lib/commonjs/assets/svg/ArrowBottomCircle.js.map +1 -0
- package/lib/commonjs/assets/svg/Farcaster.js +28 -0
- package/lib/commonjs/assets/svg/Farcaster.js.map +1 -0
- package/lib/commonjs/assets/svg/FarcasterSquare.js +28 -0
- package/lib/commonjs/assets/svg/FarcasterSquare.js.map +1 -0
- package/lib/commonjs/assets/svg/{TwitterIcon.js → More.js} +16 -5
- package/lib/commonjs/assets/svg/More.js.map +1 -0
- package/lib/commonjs/assets/svg/Paperplane.js +21 -0
- package/lib/commonjs/assets/svg/Paperplane.js.map +1 -0
- package/lib/commonjs/assets/svg/WalletConnect.js +19 -1
- package/lib/commonjs/assets/svg/WalletConnect.js.map +1 -1
- package/lib/commonjs/assets/svg/{Twitter.js → X.js} +18 -28
- package/lib/commonjs/assets/svg/X.js.map +1 -0
- package/lib/commonjs/assets/visual/Google.js +59 -0
- package/lib/commonjs/assets/visual/Google.js.map +1 -0
- package/lib/commonjs/assets/visual/Lightbulb.js +58 -0
- package/lib/commonjs/assets/visual/Lightbulb.js.map +1 -0
- package/lib/commonjs/assets/visual/Pencil.js +81 -0
- package/lib/commonjs/assets/visual/Pencil.js.map +1 -0
- package/lib/commonjs/assets/visual/Profile.js +2 -2
- package/lib/commonjs/assets/visual/Profile.js.map +1 -1
- package/lib/commonjs/components/wui-card/index.js +1 -1
- package/lib/commonjs/components/wui-card/styles.js +1 -1
- package/lib/commonjs/components/wui-card/styles.js.map +1 -1
- package/lib/commonjs/components/wui-icon/index.js +18 -7
- package/lib/commonjs/components/wui-icon/index.js.map +1 -1
- package/lib/commonjs/components/wui-visual/index.js +6 -0
- package/lib/commonjs/components/wui-visual/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-button/index.js +13 -7
- package/lib/commonjs/composites/wui-account-button/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-button/styles.js +5 -5
- package/lib/commonjs/composites/wui-account-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-account-pill/index.js +67 -0
- package/lib/commonjs/composites/wui-account-pill/index.js.map +1 -0
- package/lib/commonjs/composites/wui-account-pill/styles.js +29 -0
- package/lib/commonjs/composites/wui-account-pill/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-avatar/styles.js +2 -1
- package/lib/commonjs/composites/wui-avatar/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-balance/index.js +27 -0
- package/lib/commonjs/composites/wui-balance/index.js.map +1 -0
- package/lib/commonjs/composites/wui-banner/index.js +36 -0
- package/lib/commonjs/composites/wui-banner/index.js.map +1 -0
- package/lib/commonjs/composites/wui-banner/styles.js +21 -0
- package/lib/commonjs/composites/wui-banner/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-button/index.js +3 -3
- package/lib/commonjs/composites/wui-button/index.js.map +1 -1
- package/lib/commonjs/composites/wui-button/styles.js +3 -3
- package/lib/commonjs/composites/wui-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-card-select/index.js +4 -2
- package/lib/commonjs/composites/wui-card-select/index.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/index.js +11 -9
- package/lib/commonjs/composites/wui-chip/index.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/styles.js +3 -3
- package/lib/commonjs/composites/wui-chip/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-compatible-network/index.js +58 -0
- package/lib/commonjs/composites/wui-compatible-network/index.js.map +1 -0
- package/lib/commonjs/composites/wui-connect-button/styles.js +1 -1
- package/lib/commonjs/composites/wui-connect-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-icon-box/index.js +17 -1
- package/lib/commonjs/composites/wui-icon-box/index.js.map +1 -1
- package/lib/commonjs/composites/wui-input-text/index.js +3 -3
- package/lib/commonjs/composites/wui-input-text/index.js.map +1 -1
- package/lib/commonjs/composites/wui-input-text/styles.js +1 -1
- package/lib/commonjs/composites/wui-input-text/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-list-item/index.js +10 -10
- package/lib/commonjs/composites/wui-list-item/index.js.map +1 -1
- package/lib/commonjs/composites/wui-list-item/styles.js +4 -3
- package/lib/commonjs/composites/wui-list-item/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-list-item-loader/index.js +34 -0
- package/lib/commonjs/composites/wui-list-item-loader/index.js.map +1 -0
- package/lib/commonjs/composites/wui-list-item-loader/styles.js +18 -0
- package/lib/commonjs/composites/wui-list-item-loader/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-list-social/index.js +54 -0
- package/lib/commonjs/composites/wui-list-social/index.js.map +1 -0
- package/lib/commonjs/composites/wui-list-social/styles.js +34 -0
- package/lib/commonjs/composites/wui-list-social/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-list-token/index.js +78 -0
- package/lib/commonjs/composites/wui-list-token/index.js.map +1 -0
- package/lib/commonjs/composites/wui-list-token/styles.js +30 -0
- package/lib/commonjs/composites/wui-list-token/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-list-transaction/index.js +64 -0
- package/lib/commonjs/composites/wui-list-transaction/index.js.map +1 -0
- package/lib/commonjs/composites/wui-list-transaction/styles.js +16 -0
- package/lib/commonjs/composites/wui-list-transaction/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-list-transaction/utils.js +88 -0
- package/lib/commonjs/composites/wui-list-transaction/utils.js.map +1 -0
- package/lib/commonjs/composites/wui-list-wallet/index.js +1 -1
- package/lib/commonjs/composites/wui-list-wallet/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo/index.js +4 -2
- package/lib/commonjs/composites/wui-logo/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo-select/index.js +6 -3
- package/lib/commonjs/composites/wui-logo-select/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo-select/styles.js +3 -3
- package/lib/commonjs/composites/wui-logo-select/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-network-button/index.js +17 -11
- package/lib/commonjs/composites/wui-network-button/index.js.map +1 -1
- package/lib/commonjs/composites/wui-network-button/styles.js +4 -4
- package/lib/commonjs/composites/wui-network-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-network-image/index.js +48 -21
- package/lib/commonjs/composites/wui-network-image/index.js.map +1 -1
- package/lib/commonjs/composites/wui-network-image/styles.js +3 -1
- package/lib/commonjs/composites/wui-network-image/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-otp/index.js +1 -2
- package/lib/commonjs/composites/wui-otp/index.js.map +1 -1
- package/lib/commonjs/composites/wui-promo/index.js +48 -0
- package/lib/commonjs/composites/wui-promo/index.js.map +1 -0
- package/lib/commonjs/composites/wui-qr-code/index.js +20 -13
- package/lib/commonjs/composites/wui-qr-code/index.js.map +1 -1
- package/lib/commonjs/composites/wui-search-bar/index.js +2 -4
- package/lib/commonjs/composites/wui-search-bar/index.js.map +1 -1
- package/lib/commonjs/composites/wui-snackbar/index.js +3 -1
- package/lib/commonjs/composites/wui-snackbar/index.js.map +1 -1
- package/lib/commonjs/composites/wui-snackbar/styles.js +3 -2
- package/lib/commonjs/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-tabs/index.js +22 -8
- package/lib/commonjs/composites/wui-tabs/index.js.map +1 -1
- package/lib/commonjs/composites/wui-tabs/styles.js +2 -3
- package/lib/commonjs/composites/wui-tabs/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-token-button/index.js +37 -0
- package/lib/commonjs/composites/wui-token-button/index.js.map +1 -0
- package/lib/commonjs/composites/wui-token-button/styles.js +24 -0
- package/lib/commonjs/composites/wui-token-button/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-transaction-visual/index.js +73 -0
- package/lib/commonjs/composites/wui-transaction-visual/index.js.map +1 -0
- package/lib/commonjs/composites/wui-transaction-visual/styles.js +42 -0
- package/lib/commonjs/composites/wui-transaction-visual/styles.js.map +1 -0
- package/lib/commonjs/composites/wui-wallet-image/styles.js +1 -1
- package/lib/commonjs/composites/wui-wallet-image/styles.js.map +1 -1
- package/lib/commonjs/index.js +77 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/layout/wui-flex/index.js.map +1 -1
- package/lib/commonjs/utils/ThemeUtil.js +4 -2
- package/lib/commonjs/utils/ThemeUtil.js.map +1 -1
- package/lib/commonjs/utils/TransactionUtil.js +139 -0
- package/lib/commonjs/utils/TransactionUtil.js.map +1 -0
- package/lib/commonjs/utils/UiUtil.js +15 -0
- package/lib/commonjs/utils/UiUtil.js.map +1 -1
- package/lib/module/assets/svg/ArrowBottomCircle.js +13 -0
- package/lib/module/assets/svg/ArrowBottomCircle.js.map +1 -0
- package/lib/module/assets/svg/Farcaster.js +20 -0
- package/lib/module/assets/svg/Farcaster.js.map +1 -0
- package/lib/module/assets/svg/FarcasterSquare.js +20 -0
- package/lib/module/assets/svg/FarcasterSquare.js.map +1 -0
- package/lib/module/assets/svg/More.js +22 -0
- package/lib/module/assets/svg/More.js.map +1 -0
- package/lib/module/assets/svg/Paperplane.js +13 -0
- package/lib/module/assets/svg/Paperplane.js.map +1 -0
- package/lib/module/assets/svg/WalletConnect.js +18 -1
- package/lib/module/assets/svg/WalletConnect.js.map +1 -1
- package/lib/module/assets/svg/X.js +27 -0
- package/lib/module/assets/svg/X.js.map +1 -0
- package/lib/module/assets/visual/Google.js +51 -0
- package/lib/module/assets/visual/Google.js.map +1 -0
- package/lib/module/assets/visual/Lightbulb.js +50 -0
- package/lib/module/assets/visual/Lightbulb.js.map +1 -0
- package/lib/module/assets/visual/Pencil.js +73 -0
- package/lib/module/assets/visual/Pencil.js.map +1 -0
- package/lib/module/assets/visual/Profile.js +2 -2
- package/lib/module/assets/visual/Profile.js.map +1 -1
- package/lib/module/components/wui-card/index.js +1 -1
- package/lib/module/components/wui-card/styles.js +1 -1
- package/lib/module/components/wui-card/styles.js.map +1 -1
- package/lib/module/components/wui-icon/index.js +16 -7
- package/lib/module/components/wui-icon/index.js.map +1 -1
- package/lib/module/components/wui-visual/index.js +6 -0
- package/lib/module/components/wui-visual/index.js.map +1 -1
- package/lib/module/composites/wui-account-button/index.js +13 -7
- package/lib/module/composites/wui-account-button/index.js.map +1 -1
- package/lib/module/composites/wui-account-button/styles.js +6 -6
- package/lib/module/composites/wui-account-button/styles.js.map +1 -1
- package/lib/module/composites/wui-account-pill/index.js +60 -0
- package/lib/module/composites/wui-account-pill/index.js.map +1 -0
- package/lib/module/composites/wui-account-pill/styles.js +23 -0
- package/lib/module/composites/wui-account-pill/styles.js.map +1 -0
- package/lib/module/composites/wui-avatar/styles.js +2 -1
- package/lib/module/composites/wui-avatar/styles.js.map +1 -1
- package/lib/module/composites/wui-balance/index.js +21 -0
- package/lib/module/composites/wui-balance/index.js.map +1 -0
- package/lib/module/composites/wui-banner/index.js +29 -0
- package/lib/module/composites/wui-banner/index.js.map +1 -0
- package/lib/module/composites/wui-banner/styles.js +15 -0
- package/lib/module/composites/wui-banner/styles.js.map +1 -0
- package/lib/module/composites/wui-button/index.js +3 -3
- package/lib/module/composites/wui-button/index.js.map +1 -1
- package/lib/module/composites/wui-button/styles.js +3 -3
- package/lib/module/composites/wui-button/styles.js.map +1 -1
- package/lib/module/composites/wui-card-select/index.js +4 -2
- package/lib/module/composites/wui-card-select/index.js.map +1 -1
- package/lib/module/composites/wui-chip/index.js +12 -10
- package/lib/module/composites/wui-chip/index.js.map +1 -1
- package/lib/module/composites/wui-chip/styles.js +3 -3
- package/lib/module/composites/wui-chip/styles.js.map +1 -1
- package/lib/module/composites/wui-compatible-network/index.js +52 -0
- package/lib/module/composites/wui-compatible-network/index.js.map +1 -0
- package/lib/module/composites/wui-connect-button/styles.js +1 -1
- package/lib/module/composites/wui-connect-button/styles.js.map +1 -1
- package/lib/module/composites/wui-icon-box/index.js +17 -1
- package/lib/module/composites/wui-icon-box/index.js.map +1 -1
- package/lib/module/composites/wui-input-text/index.js +3 -3
- package/lib/module/composites/wui-input-text/index.js.map +1 -1
- package/lib/module/composites/wui-input-text/styles.js +1 -1
- package/lib/module/composites/wui-input-text/styles.js.map +1 -1
- package/lib/module/composites/wui-list-item/index.js +10 -10
- package/lib/module/composites/wui-list-item/index.js.map +1 -1
- package/lib/module/composites/wui-list-item/styles.js +4 -3
- package/lib/module/composites/wui-list-item/styles.js.map +1 -1
- package/lib/module/composites/wui-list-item-loader/index.js +27 -0
- package/lib/module/composites/wui-list-item-loader/index.js.map +1 -0
- package/lib/module/composites/wui-list-item-loader/styles.js +12 -0
- package/lib/module/composites/wui-list-item-loader/styles.js.map +1 -0
- package/lib/module/composites/wui-list-social/index.js +47 -0
- package/lib/module/composites/wui-list-social/index.js.map +1 -0
- package/lib/module/composites/wui-list-social/styles.js +28 -0
- package/lib/module/composites/wui-list-social/styles.js.map +1 -0
- package/lib/module/composites/wui-list-token/index.js +71 -0
- package/lib/module/composites/wui-list-token/index.js.map +1 -0
- package/lib/module/composites/wui-list-token/styles.js +24 -0
- package/lib/module/composites/wui-list-token/styles.js.map +1 -0
- package/lib/module/composites/wui-list-transaction/index.js +57 -0
- package/lib/module/composites/wui-list-transaction/index.js.map +1 -0
- package/lib/module/composites/wui-list-transaction/styles.js +10 -0
- package/lib/module/composites/wui-list-transaction/styles.js.map +1 -0
- package/lib/module/composites/wui-list-transaction/utils.js +79 -0
- package/lib/module/composites/wui-list-transaction/utils.js.map +1 -0
- package/lib/module/composites/wui-list-wallet/index.js +1 -1
- package/lib/module/composites/wui-list-wallet/index.js.map +1 -1
- package/lib/module/composites/wui-logo/index.js +4 -2
- package/lib/module/composites/wui-logo/index.js.map +1 -1
- package/lib/module/composites/wui-logo-select/index.js +6 -3
- package/lib/module/composites/wui-logo-select/index.js.map +1 -1
- package/lib/module/composites/wui-logo-select/styles.js +3 -3
- package/lib/module/composites/wui-logo-select/styles.js.map +1 -1
- package/lib/module/composites/wui-network-button/index.js +18 -12
- package/lib/module/composites/wui-network-button/index.js.map +1 -1
- package/lib/module/composites/wui-network-button/styles.js +5 -5
- package/lib/module/composites/wui-network-button/styles.js.map +1 -1
- package/lib/module/composites/wui-network-image/index.js +49 -22
- package/lib/module/composites/wui-network-image/index.js.map +1 -1
- package/lib/module/composites/wui-network-image/styles.js +2 -0
- package/lib/module/composites/wui-network-image/styles.js.map +1 -1
- package/lib/module/composites/wui-otp/index.js +2 -3
- package/lib/module/composites/wui-otp/index.js.map +1 -1
- package/lib/module/composites/wui-promo/index.js +42 -0
- package/lib/module/composites/wui-promo/index.js.map +1 -0
- package/lib/module/composites/wui-qr-code/index.js +20 -13
- package/lib/module/composites/wui-qr-code/index.js.map +1 -1
- package/lib/module/composites/wui-search-bar/index.js +2 -4
- package/lib/module/composites/wui-search-bar/index.js.map +1 -1
- package/lib/module/composites/wui-snackbar/index.js +3 -1
- package/lib/module/composites/wui-snackbar/index.js.map +1 -1
- package/lib/module/composites/wui-snackbar/styles.js +3 -2
- package/lib/module/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/module/composites/wui-tabs/index.js +22 -8
- package/lib/module/composites/wui-tabs/index.js.map +1 -1
- package/lib/module/composites/wui-tabs/styles.js +2 -3
- package/lib/module/composites/wui-tabs/styles.js.map +1 -1
- package/lib/module/composites/wui-token-button/index.js +30 -0
- package/lib/module/composites/wui-token-button/index.js.map +1 -0
- package/lib/module/composites/wui-token-button/styles.js +18 -0
- package/lib/module/composites/wui-token-button/styles.js.map +1 -0
- package/lib/module/composites/wui-transaction-visual/index.js +66 -0
- package/lib/module/composites/wui-transaction-visual/index.js.map +1 -0
- package/lib/module/composites/wui-transaction-visual/styles.js +36 -0
- package/lib/module/composites/wui-transaction-visual/styles.js.map +1 -0
- package/lib/module/composites/wui-wallet-image/styles.js +1 -1
- package/lib/module/composites/wui-wallet-image/styles.js.map +1 -1
- package/lib/module/index.js +11 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/layout/wui-flex/index.js.map +1 -1
- package/lib/module/layout/wui-separator/index.js.map +1 -1
- package/lib/module/utils/ThemeUtil.js +4 -2
- package/lib/module/utils/ThemeUtil.js.map +1 -1
- package/lib/module/utils/TransactionUtil.js +134 -0
- package/lib/module/utils/TransactionUtil.js.map +1 -0
- package/lib/module/utils/UiUtil.js +15 -0
- package/lib/module/utils/UiUtil.js.map +1 -1
- package/lib/typescript/assets/svg/ArrowBottomCircle.d.ts +4 -0
- package/lib/typescript/assets/svg/ArrowBottomCircle.d.ts.map +1 -0
- package/lib/typescript/assets/svg/Farcaster.d.ts +4 -0
- package/lib/typescript/assets/svg/Farcaster.d.ts.map +1 -0
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts +4 -0
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts.map +1 -0
- package/lib/typescript/assets/svg/More.d.ts +4 -0
- package/lib/typescript/assets/svg/More.d.ts.map +1 -0
- package/lib/typescript/assets/svg/Paperplane.d.ts +4 -0
- package/lib/typescript/assets/svg/Paperplane.d.ts.map +1 -0
- package/lib/typescript/assets/svg/WalletConnect.d.ts +1 -0
- package/lib/typescript/assets/svg/WalletConnect.d.ts.map +1 -1
- package/lib/typescript/assets/svg/X.d.ts +4 -0
- package/lib/typescript/assets/svg/X.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Google.d.ts +4 -0
- package/lib/typescript/assets/visual/Google.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Lightbulb.d.ts +4 -0
- package/lib/typescript/assets/visual/Lightbulb.d.ts.map +1 -0
- package/lib/typescript/assets/visual/Pencil.d.ts +4 -0
- package/lib/typescript/assets/visual/Pencil.d.ts.map +1 -0
- package/lib/typescript/components/wui-icon/index.d.ts +1 -1
- package/lib/typescript/components/wui-icon/index.d.ts.map +1 -1
- package/lib/typescript/components/wui-visual/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-account-button/index.d.ts +2 -2
- package/lib/typescript/composites/wui-account-button/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-account-pill/index.d.ts +10 -0
- package/lib/typescript/composites/wui-account-pill/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-account-pill/styles.d.ts +22 -0
- package/lib/typescript/composites/wui-account-pill/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-avatar/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-balance/index.d.ts +6 -0
- package/lib/typescript/composites/wui-balance/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-banner/index.d.ts +7 -0
- package/lib/typescript/composites/wui-banner/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-banner/styles.d.ts +14 -0
- package/lib/typescript/composites/wui-banner/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-button/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-card-select/index.d.ts +2 -1
- package/lib/typescript/composites/wui-card-select/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-chip/index.d.ts +4 -3
- package/lib/typescript/composites/wui-chip/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-compatible-network/index.d.ts +10 -0
- package/lib/typescript/composites/wui-compatible-network/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-icon-box/index.d.ts +1 -1
- package/lib/typescript/composites/wui-icon-box/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-item/index.d.ts +6 -4
- package/lib/typescript/composites/wui-list-item/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-item/styles.d.ts +1 -0
- package/lib/typescript/composites/wui-list-item/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-item-loader/index.d.ts +6 -0
- package/lib/typescript/composites/wui-list-item-loader/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-item-loader/styles.d.ts +11 -0
- package/lib/typescript/composites/wui-list-item-loader/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-social/index.d.ts +15 -0
- package/lib/typescript/composites/wui-list-social/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-social/styles.d.ts +27 -0
- package/lib/typescript/composites/wui-list-social/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-token/index.d.ts +11 -0
- package/lib/typescript/composites/wui-list-token/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-token/styles.d.ts +23 -0
- package/lib/typescript/composites/wui-list-token/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-transaction/index.d.ts +15 -0
- package/lib/typescript/composites/wui-list-transaction/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-transaction/styles.d.ts +10 -0
- package/lib/typescript/composites/wui-list-transaction/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-transaction/utils.d.ts +6 -0
- package/lib/typescript/composites/wui-list-transaction/utils.d.ts.map +1 -0
- package/lib/typescript/composites/wui-list-wallet/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo/index.d.ts +3 -1
- package/lib/typescript/composites/wui-logo/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo-select/index.d.ts +4 -1
- package/lib/typescript/composites/wui-logo-select/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-network-button/index.d.ts +7 -4
- package/lib/typescript/composites/wui-network-button/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-network-button/styles.d.ts +1 -1
- package/lib/typescript/composites/wui-network-image/index.d.ts +6 -2
- package/lib/typescript/composites/wui-network-image/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-network-image/styles.d.ts +2 -0
- package/lib/typescript/composites/wui-network-image/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-otp/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-promo/index.d.ts +8 -0
- package/lib/typescript/composites/wui-promo/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-qr-code/index.d.ts +6 -1
- package/lib/typescript/composites/wui-qr-code/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-search-bar/index.d.ts +1 -2
- package/lib/typescript/composites/wui-search-bar/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-snackbar/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-snackbar/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-tabs/index.d.ts +4 -2
- package/lib/typescript/composites/wui-tabs/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-tabs/styles.d.ts +1 -2
- package/lib/typescript/composites/wui-tabs/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-token-button/index.d.ts +7 -0
- package/lib/typescript/composites/wui-token-button/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-token-button/styles.d.ts +17 -0
- package/lib/typescript/composites/wui-token-button/styles.d.ts.map +1 -0
- package/lib/typescript/composites/wui-transaction-visual/index.d.ts +8 -0
- package/lib/typescript/composites/wui-transaction-visual/index.d.ts.map +1 -0
- package/lib/typescript/composites/wui-transaction-visual/styles.d.ts +35 -0
- package/lib/typescript/composites/wui-transaction-visual/styles.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +11 -0
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/layout/wui-flex/index.d.ts.map +1 -1
- package/lib/typescript/layout/wui-separator/index.d.ts.map +1 -1
- package/lib/typescript/utils/ThemeUtil.d.ts +2 -0
- package/lib/typescript/utils/ThemeUtil.d.ts.map +1 -1
- package/lib/typescript/utils/TransactionUtil.d.ts +13 -0
- package/lib/typescript/utils/TransactionUtil.d.ts.map +1 -0
- package/lib/typescript/utils/TypesUtil.d.ts +6 -5
- package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
- package/lib/typescript/utils/UiUtil.d.ts +1 -0
- package/lib/typescript/utils/UiUtil.d.ts.map +1 -1
- package/package.json +4 -4
- package/readme.md +1 -1
- package/src/assets/svg/ArrowBottomCircle.tsx +12 -0
- package/src/assets/svg/Farcaster.tsx +15 -0
- package/src/assets/svg/FarcasterSquare.tsx +15 -0
- package/src/assets/svg/More.tsx +16 -0
- package/src/assets/svg/Paperplane.tsx +12 -0
- package/src/assets/svg/WalletConnect.tsx +24 -1
- package/src/assets/svg/X.tsx +26 -0
- package/src/assets/visual/Google.tsx +43 -0
- package/src/assets/visual/Lightbulb.tsx +54 -0
- package/src/assets/visual/Pencil.tsx +80 -0
- package/src/assets/visual/Profile.tsx +2 -2
- package/src/components/wui-card/index.tsx +1 -1
- package/src/components/wui-card/styles.ts +1 -1
- package/src/components/wui-icon/index.tsx +17 -8
- package/src/components/wui-visual/index.tsx +6 -0
- package/src/composites/wui-account-button/index.tsx +17 -8
- package/src/composites/wui-account-button/styles.ts +6 -6
- package/src/composites/wui-account-pill/index.tsx +64 -0
- package/src/composites/wui-account-pill/styles.ts +23 -0
- package/src/composites/wui-avatar/styles.ts +2 -1
- package/src/composites/wui-balance/index.tsx +25 -0
- package/src/composites/wui-banner/index.tsx +28 -0
- package/src/composites/wui-banner/styles.ts +15 -0
- package/src/composites/wui-button/index.tsx +12 -10
- package/src/composites/wui-button/styles.ts +3 -3
- package/src/composites/wui-card-select/index.tsx +4 -1
- package/src/composites/wui-chip/index.tsx +14 -13
- package/src/composites/wui-chip/styles.ts +3 -3
- package/src/composites/wui-compatible-network/index.tsx +64 -0
- package/src/composites/wui-connect-button/styles.ts +1 -1
- package/src/composites/wui-icon-box/index.tsx +18 -2
- package/src/composites/wui-input-text/index.tsx +1 -1
- package/src/composites/wui-input-text/styles.ts +1 -1
- package/src/composites/wui-list-item/index.tsx +15 -14
- package/src/composites/wui-list-item/styles.ts +4 -3
- package/src/composites/wui-list-item-loader/index.tsx +29 -0
- package/src/composites/wui-list-item-loader/styles.ts +12 -0
- package/src/composites/wui-list-social/index.tsx +65 -0
- package/src/composites/wui-list-social/styles.ts +28 -0
- package/src/composites/wui-list-token/index.tsx +83 -0
- package/src/composites/wui-list-token/styles.ts +24 -0
- package/src/composites/wui-list-transaction/index.tsx +65 -0
- package/src/composites/wui-list-transaction/styles.ts +10 -0
- package/src/composites/wui-list-transaction/utils.ts +83 -0
- package/src/composites/wui-list-wallet/index.tsx +2 -2
- package/src/composites/wui-logo/index.tsx +4 -2
- package/src/composites/wui-logo-select/index.tsx +7 -4
- package/src/composites/wui-logo-select/styles.ts +3 -3
- package/src/composites/wui-network-button/index.tsx +25 -15
- package/src/composites/wui-network-button/styles.ts +5 -5
- package/src/composites/wui-network-image/index.tsx +57 -21
- package/src/composites/wui-network-image/styles.ts +6 -0
- package/src/composites/wui-otp/index.tsx +2 -4
- package/src/composites/wui-promo/index.tsx +42 -0
- package/src/composites/wui-qr-code/index.tsx +21 -12
- package/src/composites/wui-search-bar/index.tsx +1 -4
- package/src/composites/wui-snackbar/index.tsx +7 -1
- package/src/composites/wui-snackbar/styles.ts +3 -2
- package/src/composites/wui-tabs/index.tsx +33 -9
- package/src/composites/wui-tabs/styles.ts +2 -3
- package/src/composites/wui-token-button/index.tsx +29 -0
- package/src/composites/wui-token-button/styles.ts +18 -0
- package/src/composites/wui-transaction-visual/index.tsx +78 -0
- package/src/composites/wui-transaction-visual/styles.ts +36 -0
- package/src/composites/wui-wallet-image/styles.ts +1 -1
- package/src/index.ts +14 -0
- package/src/layout/wui-flex/index.tsx +1 -2
- package/src/layout/wui-separator/index.tsx +1 -1
- package/src/utils/ThemeUtil.ts +4 -2
- package/src/utils/TransactionUtil.ts +173 -0
- package/src/utils/TypesUtil.ts +58 -6
- package/src/utils/UiUtil.ts +18 -0
- package/lib/commonjs/assets/svg/Twitter.js.map +0 -1
- package/lib/commonjs/assets/svg/TwitterIcon.js.map +0 -1
- package/lib/module/assets/svg/Twitter.js +0 -37
- package/lib/module/assets/svg/Twitter.js.map +0 -1
- package/lib/module/assets/svg/TwitterIcon.js +0 -11
- package/lib/module/assets/svg/TwitterIcon.js.map +0 -1
- package/lib/typescript/assets/svg/Twitter.d.ts +0 -4
- package/lib/typescript/assets/svg/Twitter.d.ts.map +0 -1
- package/lib/typescript/assets/svg/TwitterIcon.d.ts +0 -4
- package/lib/typescript/assets/svg/TwitterIcon.d.ts.map +0 -1
- package/src/assets/svg/Twitter.tsx +0 -27
- package/src/assets/svg/TwitterIcon.tsx +0 -10
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type StyleProp, type ViewStyle, View } from 'react-native';
|
|
2
2
|
|
|
3
3
|
import type {
|
|
4
4
|
FlexAlignType,
|
|
@@ -9,7 +9,6 @@ import type {
|
|
|
9
9
|
FlexWrapType,
|
|
10
10
|
SpacingType
|
|
11
11
|
} from '../../utils/TypesUtil';
|
|
12
|
-
|
|
13
12
|
import { UiUtil } from '../../utils/UiUtil';
|
|
14
13
|
|
|
15
14
|
export interface FlexViewProps {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { type StyleProp, type ViewStyle, View } from 'react-native';
|
|
2
2
|
import { Text } from '../../components/wui-text';
|
|
3
3
|
import { FlexView } from '../../layout/wui-flex';
|
|
4
4
|
import { useTheme } from '../../hooks/useTheme';
|
package/src/utils/ThemeUtil.ts
CHANGED
|
@@ -155,7 +155,8 @@ export const BorderRadius = {
|
|
|
155
155
|
's': 20,
|
|
156
156
|
'm': 28,
|
|
157
157
|
'l': 36,
|
|
158
|
-
'3xl': 80
|
|
158
|
+
'3xl': 80,
|
|
159
|
+
'full': 100
|
|
159
160
|
};
|
|
160
161
|
|
|
161
162
|
export const IconSize = {
|
|
@@ -163,7 +164,8 @@ export const IconSize = {
|
|
|
163
164
|
xs: 12,
|
|
164
165
|
sm: 14,
|
|
165
166
|
md: 16,
|
|
166
|
-
lg: 20
|
|
167
|
+
lg: 20,
|
|
168
|
+
xl: 24
|
|
167
169
|
};
|
|
168
170
|
|
|
169
171
|
export const SpinnerSize = {
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { DateUtil } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type {
|
|
3
|
+
TransactionTransfer,
|
|
4
|
+
Transaction,
|
|
5
|
+
TransactionImage
|
|
6
|
+
} from '@reown/appkit-common-react-native';
|
|
7
|
+
import type { TransactionType } from './TypesUtil';
|
|
8
|
+
import { UiUtil } from './UiUtil';
|
|
9
|
+
|
|
10
|
+
// -- Helpers --------------------------------------------- //
|
|
11
|
+
const FLOAT_FIXED_VALUE = 2;
|
|
12
|
+
const SMALL_FLOAT_FIXED_VALUE = 4;
|
|
13
|
+
const plusTypes: TransactionType[] = ['receive', 'deposit', 'borrow', 'claim'];
|
|
14
|
+
const minusTypes: TransactionType[] = ['withdraw', 'repay', 'burn'];
|
|
15
|
+
|
|
16
|
+
export const TransactionUtil = {
|
|
17
|
+
getTransactionGroupTitle(year: string, month: string) {
|
|
18
|
+
const currentYear = DateUtil.getYear().toString();
|
|
19
|
+
const monthName = DateUtil.getMonth(parseInt(month));
|
|
20
|
+
const isCurrentYear = year === currentYear;
|
|
21
|
+
const groupTitle = isCurrentYear ? monthName : `${monthName} ${year}`;
|
|
22
|
+
|
|
23
|
+
return groupTitle;
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
getTransactionImages(transfers: TransactionTransfer[]): TransactionImage[] {
|
|
27
|
+
const [transfer, secondTransfer] = transfers;
|
|
28
|
+
const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));
|
|
29
|
+
const haveMultipleTransfers = transfers?.length > 1;
|
|
30
|
+
const haveTwoTransfers = transfers?.length === 2;
|
|
31
|
+
|
|
32
|
+
if (haveTwoTransfers && !isAllNFT) {
|
|
33
|
+
return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
if (haveMultipleTransfers) {
|
|
37
|
+
return transfers.map(item => this.getTransactionImage(item));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
return [this.getTransactionImage(transfer)];
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
getTransactionImage(transfer?: TransactionTransfer): TransactionImage {
|
|
44
|
+
return {
|
|
45
|
+
type: TransactionUtil.getTransactionTransferTokenType(transfer),
|
|
46
|
+
url: TransactionUtil.getTransactionImageURL(transfer)
|
|
47
|
+
};
|
|
48
|
+
},
|
|
49
|
+
|
|
50
|
+
getTransactionImageURL(transfer: TransactionTransfer | undefined) {
|
|
51
|
+
let imageURL;
|
|
52
|
+
const isNFT = Boolean(transfer?.nft_info);
|
|
53
|
+
const isFungible = Boolean(transfer?.fungible_info);
|
|
54
|
+
|
|
55
|
+
if (transfer && isNFT) {
|
|
56
|
+
imageURL = transfer?.nft_info?.content?.preview?.url;
|
|
57
|
+
} else if (transfer && isFungible) {
|
|
58
|
+
imageURL = transfer?.fungible_info?.icon?.url;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return imageURL;
|
|
62
|
+
},
|
|
63
|
+
|
|
64
|
+
getTransactionTransferTokenType(transfer?: TransactionTransfer): 'FUNGIBLE' | 'NFT' | undefined {
|
|
65
|
+
if (transfer?.fungible_info) {
|
|
66
|
+
return 'FUNGIBLE';
|
|
67
|
+
} else if (transfer?.nft_info) {
|
|
68
|
+
return 'NFT';
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
return undefined;
|
|
72
|
+
},
|
|
73
|
+
|
|
74
|
+
getTransactionDescriptions(transaction: Transaction) {
|
|
75
|
+
const type = transaction?.metadata?.operationType as TransactionType;
|
|
76
|
+
|
|
77
|
+
const transfers = transaction?.transfers;
|
|
78
|
+
const haveTransfer = transaction?.transfers?.length > 0;
|
|
79
|
+
const haveMultipleTransfers = transaction?.transfers?.length > 1;
|
|
80
|
+
const isSendOrReceive = type === 'send' || type === 'receive';
|
|
81
|
+
const isFungible =
|
|
82
|
+
haveTransfer && transfers?.every(transfer => Boolean(transfer?.fungible_info));
|
|
83
|
+
const [firstTransfer, secondTransfer] = transfers;
|
|
84
|
+
|
|
85
|
+
let firstDescription = this.getTransferDescription(firstTransfer);
|
|
86
|
+
let secondDescription = this.getTransferDescription(secondTransfer);
|
|
87
|
+
|
|
88
|
+
if (!haveTransfer) {
|
|
89
|
+
if (isSendOrReceive && isFungible) {
|
|
90
|
+
firstDescription = UiUtil.getTruncateString({
|
|
91
|
+
string: transaction?.metadata.sentFrom,
|
|
92
|
+
charsStart: 4,
|
|
93
|
+
charsEnd: 6,
|
|
94
|
+
truncate: 'middle'
|
|
95
|
+
});
|
|
96
|
+
secondDescription = UiUtil.getTruncateString({
|
|
97
|
+
string: transaction?.metadata.sentTo,
|
|
98
|
+
charsStart: 4,
|
|
99
|
+
charsEnd: 6,
|
|
100
|
+
truncate: 'middle'
|
|
101
|
+
});
|
|
102
|
+
|
|
103
|
+
return [firstDescription, secondDescription];
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
return [transaction.metadata.status];
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
if (haveMultipleTransfers) {
|
|
110
|
+
return transfers.map(item => this.getTransferDescription(item));
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
let prefix = '';
|
|
114
|
+
if (plusTypes.includes(type)) {
|
|
115
|
+
prefix = '+';
|
|
116
|
+
} else if (minusTypes.includes(type)) {
|
|
117
|
+
prefix = '-';
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
firstDescription = prefix.concat(firstDescription);
|
|
121
|
+
|
|
122
|
+
if (isSendOrReceive) {
|
|
123
|
+
const isSend = type === 'send';
|
|
124
|
+
const address = UiUtil.getTruncateString({
|
|
125
|
+
string: isSend ? transaction.metadata.sentTo : transaction.metadata.sentFrom,
|
|
126
|
+
charsStart: 4,
|
|
127
|
+
charsEnd: 4,
|
|
128
|
+
truncate: 'middle'
|
|
129
|
+
});
|
|
130
|
+
const arrow = isSend ? '→' : '←';
|
|
131
|
+
firstDescription = firstDescription.concat(` ${arrow} ${address}`);
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
return [firstDescription];
|
|
135
|
+
},
|
|
136
|
+
|
|
137
|
+
getTransferDescription(transfer?: TransactionTransfer) {
|
|
138
|
+
let description = '';
|
|
139
|
+
|
|
140
|
+
if (!transfer) {
|
|
141
|
+
return description;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
if (transfer?.nft_info) {
|
|
145
|
+
description = transfer?.nft_info?.name || '-';
|
|
146
|
+
} else if (transfer?.fungible_info) {
|
|
147
|
+
description = this.getFungibleTransferDescription(transfer) ?? '-';
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
return description;
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
getFungibleTransferDescription(transfer?: TransactionTransfer) {
|
|
154
|
+
if (!transfer) {
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
const quantity = this.getQuantityFixedValue(transfer?.quantity.numeric);
|
|
159
|
+
const description = [quantity, transfer?.fungible_info?.symbol].join(' ').trim();
|
|
160
|
+
|
|
161
|
+
return description;
|
|
162
|
+
},
|
|
163
|
+
|
|
164
|
+
getQuantityFixedValue(value: string | undefined) {
|
|
165
|
+
if (!value) {
|
|
166
|
+
return null;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
const parsedValue = parseFloat(value);
|
|
170
|
+
|
|
171
|
+
return parsedValue.toFixed(parsedValue > 1 ? FLOAT_FIXED_VALUE : SMALL_FLOAT_FIXED_VALUE);
|
|
172
|
+
}
|
|
173
|
+
};
|
package/src/utils/TypesUtil.ts
CHANGED
|
@@ -91,14 +91,36 @@ export type ColorType =
|
|
|
91
91
|
| 'error-100'
|
|
92
92
|
| 'fg-100'
|
|
93
93
|
| 'fg-150'
|
|
94
|
+
| 'fg-175'
|
|
94
95
|
| 'fg-200'
|
|
95
96
|
| 'fg-250'
|
|
96
97
|
| 'fg-275'
|
|
97
98
|
| 'fg-300'
|
|
99
|
+
| 'bg-100'
|
|
100
|
+
| 'bg-125'
|
|
101
|
+
| 'bg-150'
|
|
102
|
+
| 'bg-175'
|
|
103
|
+
| 'bg-200'
|
|
104
|
+
| 'bg-225'
|
|
105
|
+
| 'bg-250'
|
|
106
|
+
| 'bg-275'
|
|
107
|
+
| 'bg-300'
|
|
108
|
+
| 'accent-glass-020'
|
|
109
|
+
| 'accent-glass-015'
|
|
110
|
+
| 'accent-glass-010'
|
|
111
|
+
| 'accent-glass-005'
|
|
98
112
|
| 'gray-glass-020'
|
|
113
|
+
| 'gray-glass-010'
|
|
114
|
+
| 'gray-glass-005'
|
|
99
115
|
| 'inverse-000'
|
|
100
116
|
| 'inverse-100'
|
|
101
|
-
| 'success-100'
|
|
117
|
+
| 'success-100'
|
|
118
|
+
| 'teal-100'
|
|
119
|
+
| 'magenta-100'
|
|
120
|
+
| 'indigo-100'
|
|
121
|
+
| 'orange-100'
|
|
122
|
+
| 'purple-100'
|
|
123
|
+
| 'yellow-100';
|
|
102
124
|
|
|
103
125
|
export type SizeType = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
104
126
|
|
|
@@ -112,6 +134,7 @@ export type IconType =
|
|
|
112
134
|
| 'allWallets'
|
|
113
135
|
| 'apple'
|
|
114
136
|
| 'arrowBottom'
|
|
137
|
+
| 'arrowBottomCircle'
|
|
115
138
|
| 'arrowLeft'
|
|
116
139
|
| 'arrowRight'
|
|
117
140
|
| 'arrowTop'
|
|
@@ -136,6 +159,8 @@ export type IconType =
|
|
|
136
159
|
| 'extension'
|
|
137
160
|
| 'externalLink'
|
|
138
161
|
| 'facebook'
|
|
162
|
+
| 'farcaster'
|
|
163
|
+
| 'farcasterSquare'
|
|
139
164
|
| 'filters'
|
|
140
165
|
| 'github'
|
|
141
166
|
| 'google'
|
|
@@ -143,9 +168,11 @@ export type IconType =
|
|
|
143
168
|
| 'infoCircle'
|
|
144
169
|
| 'mail'
|
|
145
170
|
| 'mobile'
|
|
171
|
+
| 'more'
|
|
146
172
|
| 'networkPlaceholder'
|
|
147
173
|
| 'nftPlaceholder'
|
|
148
174
|
| 'off'
|
|
175
|
+
| 'paperplane'
|
|
149
176
|
| 'qrCode'
|
|
150
177
|
| 'refresh'
|
|
151
178
|
| 'search'
|
|
@@ -153,14 +180,14 @@ export type IconType =
|
|
|
153
180
|
| 'swapVertical'
|
|
154
181
|
| 'telegram'
|
|
155
182
|
| 'twitch'
|
|
156
|
-
| 'twitter'
|
|
157
|
-
| 'twitterIcon'
|
|
158
183
|
| 'verify'
|
|
159
184
|
| 'wallet'
|
|
160
185
|
| 'walletSmall'
|
|
161
186
|
| 'walletConnect'
|
|
187
|
+
| 'walletConnectLightBrown'
|
|
162
188
|
| 'walletPlaceholder'
|
|
163
|
-
| 'warningCircle'
|
|
189
|
+
| 'warningCircle'
|
|
190
|
+
| 'x';
|
|
164
191
|
|
|
165
192
|
export type VisualType =
|
|
166
193
|
| 'browser'
|
|
@@ -168,12 +195,15 @@ export type VisualType =
|
|
|
168
195
|
| 'defi'
|
|
169
196
|
| 'defiAlt'
|
|
170
197
|
| 'eth'
|
|
198
|
+
| 'google'
|
|
171
199
|
| 'layers'
|
|
200
|
+
| 'lightbulb'
|
|
172
201
|
| 'lock'
|
|
173
202
|
| 'login'
|
|
174
203
|
| 'network'
|
|
175
204
|
| 'nft'
|
|
176
205
|
| 'noun'
|
|
206
|
+
| 'pencil'
|
|
177
207
|
| 'profile'
|
|
178
208
|
| 'system';
|
|
179
209
|
|
|
@@ -181,11 +211,14 @@ export type LogoType =
|
|
|
181
211
|
| 'apple'
|
|
182
212
|
| 'discord'
|
|
183
213
|
| 'facebook'
|
|
214
|
+
| 'farcaster'
|
|
215
|
+
| 'farcasterSquare'
|
|
184
216
|
| 'github'
|
|
185
217
|
| 'google'
|
|
218
|
+
| 'more'
|
|
186
219
|
| 'telegram'
|
|
187
220
|
| 'twitch'
|
|
188
|
-
| '
|
|
221
|
+
| 'x';
|
|
189
222
|
|
|
190
223
|
export type TagType = 'main' | 'shade' | 'error' | 'success';
|
|
191
224
|
|
|
@@ -193,7 +226,7 @@ export type CardSelectType = 'wallet' | 'network';
|
|
|
193
226
|
|
|
194
227
|
export type TabOptionType = {
|
|
195
228
|
icon: IconType;
|
|
196
|
-
label
|
|
229
|
+
label?: string;
|
|
197
230
|
};
|
|
198
231
|
|
|
199
232
|
export type SpacingType =
|
|
@@ -238,3 +271,22 @@ export type TruncateOptions = {
|
|
|
238
271
|
charsEnd: number;
|
|
239
272
|
truncate: TruncateType;
|
|
240
273
|
};
|
|
274
|
+
|
|
275
|
+
export type TransactionType =
|
|
276
|
+
| 'approve'
|
|
277
|
+
| 'bought'
|
|
278
|
+
| 'borrow'
|
|
279
|
+
| 'burn'
|
|
280
|
+
| 'cancel'
|
|
281
|
+
| 'claim'
|
|
282
|
+
| 'deploy'
|
|
283
|
+
| 'deposit'
|
|
284
|
+
| 'execute'
|
|
285
|
+
| 'mint'
|
|
286
|
+
| 'receive'
|
|
287
|
+
| 'repay'
|
|
288
|
+
| 'send'
|
|
289
|
+
| 'stake'
|
|
290
|
+
| 'trade'
|
|
291
|
+
| 'unstake'
|
|
292
|
+
| 'withdraw';
|
package/src/utils/UiUtil.ts
CHANGED
|
@@ -68,5 +68,23 @@ export const UiUtil = {
|
|
|
68
68
|
|
|
69
69
|
getWalletName(name: string, short = true) {
|
|
70
70
|
return short ? name.split(' ')[0] : name;
|
|
71
|
+
},
|
|
72
|
+
|
|
73
|
+
formatNumberToLocalString(value: string | number | undefined, decimals = 2) {
|
|
74
|
+
if (value === undefined) {
|
|
75
|
+
return '0.00';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
if (typeof value === 'number') {
|
|
79
|
+
return value.toLocaleString('en-US', {
|
|
80
|
+
maximumFractionDigits: decimals,
|
|
81
|
+
minimumFractionDigits: decimals
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
return parseFloat(value).toLocaleString('en-US', {
|
|
86
|
+
maximumFractionDigits: decimals,
|
|
87
|
+
minimumFractionDigits: decimals
|
|
88
|
+
});
|
|
71
89
|
}
|
|
72
90
|
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","SvgTwitter","props","React","createElement","viewBox","fill","G","clipPath","Circle","cx","cy","stroke","strokeOpacity","Path","d","Defs","ClipPath","id","_default","exports"],"sourceRoot":"../../../../src","sources":["assets/svg/Twitter.tsx"],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["_reactNativeSvg","_interopRequireWildcard","require","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","prototype","hasOwnProperty","call","i","set","_extends","assign","bind","target","arguments","length","source","key","apply","SvgTwitter","props","React","createElement","viewBox","fill","Path","d","_default","exports"],"sourceRoot":"../../../../src","sources":["assets/svg/TwitterIcon.tsx"],"mappings":";;;;;;AAAA,IAAAA,eAAA,GAAAC,uBAAA,CAAAC,OAAA;AAA4D,SAAAC,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAH,wBAAAG,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,CAAA,IAAAd,CAAA,oBAAAc,CAAA,IAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAjB,CAAA,EAAAc,CAAA,SAAAI,CAAA,GAAAR,CAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAb,CAAA,EAAAc,CAAA,UAAAI,CAAA,KAAAA,CAAA,CAAAX,GAAA,IAAAW,CAAA,CAAAC,GAAA,IAAAR,MAAA,CAAAC,cAAA,CAAAJ,CAAA,EAAAM,CAAA,EAAAI,CAAA,IAAAV,CAAA,CAAAM,CAAA,IAAAd,CAAA,CAAAc,CAAA,YAAAN,CAAA,CAAAH,OAAA,GAAAL,CAAA,EAAAG,CAAA,IAAAA,CAAA,CAAAgB,GAAA,CAAAnB,CAAA,EAAAQ,CAAA,GAAAA,CAAA;AAAA,SAAAY,SAAA,IAAAA,QAAA,GAAAT,MAAA,CAAAU,MAAA,GAAAV,MAAA,CAAAU,MAAA,CAAAC,IAAA,eAAAC,MAAA,aAAAL,CAAA,MAAAA,CAAA,GAAAM,SAAA,CAAAC,MAAA,EAAAP,CAAA,UAAAQ,MAAA,GAAAF,SAAA,CAAAN,CAAA,YAAAS,GAAA,IAAAD,MAAA,QAAAf,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAS,MAAA,EAAAC,GAAA,KAAAJ,MAAA,CAAAI,GAAA,IAAAD,MAAA,CAAAC,GAAA,gBAAAJ,MAAA,YAAAH,QAAA,CAAAQ,KAAA,OAAAJ,SAAA;AAC5D,MAAMK,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACpC,eAAA,CAAAS,OAAG,EAAAe,QAAA;EAACa,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC;AAAM,GAAKJ,KAAK,gBAC5CC,KAAA,CAAAC,aAAA,CAACpC,eAAA,CAAAuC,IAAI;EACHD,IAAI,EAAEJ,KAAK,CAACI,IAAI,IAAI,MAAO;EAC3BE,CAAC,EAAC;AAAqW,CACxW,CACE,CACN;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAjC,OAAA,GACawB,UAAU"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import Svg, { G, Circle, Path, Defs, ClipPath } from 'react-native-svg';
|
|
3
|
-
const SvgTwitter = props => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
4
|
-
viewBox: "0 0 40 40"
|
|
5
|
-
}, props, {
|
|
6
|
-
fill: "none"
|
|
7
|
-
}), /*#__PURE__*/React.createElement(G, {
|
|
8
|
-
clipPath: "url(#Twitter_svg__a)"
|
|
9
|
-
}, /*#__PURE__*/React.createElement(G, {
|
|
10
|
-
clipPath: "url(#Twitter_svg__b)"
|
|
11
|
-
}, /*#__PURE__*/React.createElement(Circle, {
|
|
12
|
-
cx: 20,
|
|
13
|
-
cy: 19.886,
|
|
14
|
-
r: 20,
|
|
15
|
-
fill: "#1D9BF0"
|
|
16
|
-
}), /*#__PURE__*/React.createElement(Circle, {
|
|
17
|
-
cx: 20,
|
|
18
|
-
cy: 19.886,
|
|
19
|
-
r: 19.5,
|
|
20
|
-
stroke: "#fff",
|
|
21
|
-
strokeOpacity: 0.1
|
|
22
|
-
}), /*#__PURE__*/React.createElement(Path, {
|
|
23
|
-
fill: "#fff",
|
|
24
|
-
d: "M30 13.81a8.189 8.189 0 0 1-2.357.646 4.11 4.11 0 0 0 1.805-2.27 8.22 8.22 0 0 1-2.606.996 4.096 4.096 0 0 0-2.995-1.296c-2.65 0-4.596 2.471-3.998 5.037a11.648 11.648 0 0 1-8.457-4.286 4.109 4.109 0 0 0 1.27 5.478 4.086 4.086 0 0 1-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.114 4.114 0 0 1-1.853.07 4.106 4.106 0 0 0 3.833 2.849 8.25 8.25 0 0 1-6.075 1.7 11.616 11.616 0 0 0 6.29 1.843c7.618 0 11.922-6.434 11.663-12.205A8.354 8.354 0 0 0 30 13.81Z"
|
|
25
|
-
}))), /*#__PURE__*/React.createElement(Defs, null, /*#__PURE__*/React.createElement(ClipPath, {
|
|
26
|
-
id: "Twitter_svg__a"
|
|
27
|
-
}, /*#__PURE__*/React.createElement(Path, {
|
|
28
|
-
fill: "#fff",
|
|
29
|
-
d: "M0 20C0 8.954 8.954 0 20 0s20 8.954 20 20-8.954 20-20 20S0 31.046 0 20Z"
|
|
30
|
-
})), /*#__PURE__*/React.createElement(ClipPath, {
|
|
31
|
-
id: "Twitter_svg__b"
|
|
32
|
-
}, /*#__PURE__*/React.createElement(Path, {
|
|
33
|
-
fill: "#fff",
|
|
34
|
-
d: "M0 0h40v40H0z"
|
|
35
|
-
}))));
|
|
36
|
-
export default SvgTwitter;
|
|
37
|
-
//# sourceMappingURL=Twitter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Svg","G","Circle","Path","Defs","ClipPath","SvgTwitter","props","React","createElement","_extends","viewBox","fill","clipPath","cx","cy","r","stroke","strokeOpacity","d","id"],"sourceRoot":"../../../../src","sources":["assets/svg/Twitter.tsx"],"mappings":";AAAA,OAAOA,GAAG,IAAIC,CAAC,EAAEC,MAAM,EAAEC,IAAI,EAAEC,IAAI,EAAEC,QAAQ,QAAuB,kBAAkB;AACtF,MAAMC,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACT,GAAG,EAAAU,QAAA;EAACC,OAAO,EAAC;AAAW,GAAKJ,KAAK;EAAEK,IAAI,EAAC;AAAM,iBAC7CJ,KAAA,CAAAC,aAAA,CAACR,CAAC;EAACY,QAAQ,EAAC;AAAsB,gBAChCL,KAAA,CAAAC,aAAA,CAACR,CAAC;EAACY,QAAQ,EAAC;AAAsB,gBAChCL,KAAA,CAAAC,aAAA,CAACP,MAAM;EAACY,EAAE,EAAE,EAAG;EAACC,EAAE,EAAE,MAAO;EAACC,CAAC,EAAE,EAAG;EAACJ,IAAI,EAAC;AAAS,CAAE,CAAC,eACpDJ,KAAA,CAAAC,aAAA,CAACP,MAAM;EAACY,EAAE,EAAE,EAAG;EAACC,EAAE,EAAE,MAAO;EAACC,CAAC,EAAE,IAAK;EAACC,MAAM,EAAC,MAAM;EAACC,aAAa,EAAE;AAAI,CAAE,CAAC,eACzEV,KAAA,CAAAC,aAAA,CAACN,IAAI;EACHS,IAAI,EAAC,MAAM;EACXO,CAAC,EAAC;AAAuc,CAC1c,CACA,CACF,CAAC,eACJX,KAAA,CAAAC,aAAA,CAACL,IAAI,qBACHI,KAAA,CAAAC,aAAA,CAACJ,QAAQ;EAACe,EAAE,EAAC;AAAgB,gBAC3BZ,KAAA,CAAAC,aAAA,CAACN,IAAI;EACHS,IAAI,EAAC,MAAM;EACXO,CAAC,EAAC;AAAyE,CAC5E,CACO,CAAC,eACXX,KAAA,CAAAC,aAAA,CAACJ,QAAQ;EAACe,EAAE,EAAC;AAAgB,gBAC3BZ,KAAA,CAAAC,aAAA,CAACN,IAAI;EAACS,IAAI,EAAC,MAAM;EAACO,CAAC,EAAC;AAAe,CAAE,CAC7B,CACN,CACH,CACN;AACD,eAAeb,UAAU"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import Svg, { Path } from 'react-native-svg';
|
|
3
|
-
const SvgTwitter = props => /*#__PURE__*/React.createElement(Svg, _extends({
|
|
4
|
-
viewBox: "0 0 16 16",
|
|
5
|
-
fill: "none"
|
|
6
|
-
}, props), /*#__PURE__*/React.createElement(Path, {
|
|
7
|
-
fill: props.fill || '#fff',
|
|
8
|
-
d: "m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
9
|
-
}));
|
|
10
|
-
export default SvgTwitter;
|
|
11
|
-
//# sourceMappingURL=TwitterIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Svg","Path","SvgTwitter","props","React","createElement","_extends","viewBox","fill","d"],"sourceRoot":"../../../../src","sources":["assets/svg/TwitterIcon.tsx"],"mappings":";AAAA,OAAOA,GAAG,IAAIC,IAAI,QAAuB,kBAAkB;AAC3D,MAAMC,UAAU,GAAIC,KAAe,iBACjCC,KAAA,CAAAC,aAAA,CAACL,GAAG,EAAAM,QAAA;EAACC,OAAO,EAAC,WAAW;EAACC,IAAI,EAAC;AAAM,GAAKL,KAAK,gBAC5CC,KAAA,CAAAC,aAAA,CAACJ,IAAI;EACHO,IAAI,EAAEL,KAAK,CAACK,IAAI,IAAI,MAAO;EAC3BC,CAAC,EAAC;AAAqW,CACxW,CACE,CACN;AACD,eAAeP,UAAU"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Twitter.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/Twitter.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAmC,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACvF,QAAA,MAAM,UAAU,UAAW,QAAQ,4CAwBlC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"TwitterIcon.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/TwitterIcon.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,QAAA,MAAM,UAAU,UAAW,QAAQ,4CAOlC,CAAC;AACF,eAAe,UAAU,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import Svg, { G, Circle, Path, Defs, ClipPath, type SvgProps } from 'react-native-svg';
|
|
2
|
-
const SvgTwitter = (props: SvgProps) => (
|
|
3
|
-
<Svg viewBox="0 0 40 40" {...props} fill="none">
|
|
4
|
-
<G clipPath="url(#Twitter_svg__a)">
|
|
5
|
-
<G clipPath="url(#Twitter_svg__b)">
|
|
6
|
-
<Circle cx={20} cy={19.886} r={20} fill="#1D9BF0" />
|
|
7
|
-
<Circle cx={20} cy={19.886} r={19.5} stroke="#fff" strokeOpacity={0.1} />
|
|
8
|
-
<Path
|
|
9
|
-
fill="#fff"
|
|
10
|
-
d="M30 13.81a8.189 8.189 0 0 1-2.357.646 4.11 4.11 0 0 0 1.805-2.27 8.22 8.22 0 0 1-2.606.996 4.096 4.096 0 0 0-2.995-1.296c-2.65 0-4.596 2.471-3.998 5.037a11.648 11.648 0 0 1-8.457-4.286 4.109 4.109 0 0 0 1.27 5.478 4.086 4.086 0 0 1-1.858-.513c-.045 1.9 1.318 3.679 3.291 4.075a4.114 4.114 0 0 1-1.853.07 4.106 4.106 0 0 0 3.833 2.849 8.25 8.25 0 0 1-6.075 1.7 11.616 11.616 0 0 0 6.29 1.843c7.618 0 11.922-6.434 11.663-12.205A8.354 8.354 0 0 0 30 13.81Z"
|
|
11
|
-
/>
|
|
12
|
-
</G>
|
|
13
|
-
</G>
|
|
14
|
-
<Defs>
|
|
15
|
-
<ClipPath id="Twitter_svg__a">
|
|
16
|
-
<Path
|
|
17
|
-
fill="#fff"
|
|
18
|
-
d="M0 20C0 8.954 8.954 0 20 0s20 8.954 20 20-8.954 20-20 20S0 31.046 0 20Z"
|
|
19
|
-
/>
|
|
20
|
-
</ClipPath>
|
|
21
|
-
<ClipPath id="Twitter_svg__b">
|
|
22
|
-
<Path fill="#fff" d="M0 0h40v40H0z" />
|
|
23
|
-
</ClipPath>
|
|
24
|
-
</Defs>
|
|
25
|
-
</Svg>
|
|
26
|
-
);
|
|
27
|
-
export default SvgTwitter;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import Svg, { Path, type SvgProps } from 'react-native-svg';
|
|
2
|
-
const SvgTwitter = (props: SvgProps) => (
|
|
3
|
-
<Svg viewBox="0 0 16 16" fill="none" {...props}>
|
|
4
|
-
<Path
|
|
5
|
-
fill={props.fill || '#fff'}
|
|
6
|
-
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
7
|
-
/>
|
|
8
|
-
</Svg>
|
|
9
|
-
);
|
|
10
|
-
export default SvgTwitter;
|