@reown/appkit-ui-react-native 0.0.0-refactor-modal-migration-20241004184043 → 1.0.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/{X.js → Twitter.js} +28 -18
- package/lib/commonjs/assets/svg/Twitter.js.map +1 -0
- package/lib/commonjs/assets/svg/{More.js → TwitterIcon.js} +5 -16
- package/lib/commonjs/assets/svg/TwitterIcon.js.map +1 -0
- package/lib/commonjs/components/wui-icon/index.js +6 -14
- package/lib/commonjs/components/wui-icon/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-button/index.js +7 -13
- package/lib/commonjs/composites/wui-account-button/index.js.map +1 -1
- package/lib/commonjs/composites/wui-account-button/styles.js +3 -3
- package/lib/commonjs/composites/wui-account-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-avatar/styles.js +1 -2
- package/lib/commonjs/composites/wui-avatar/styles.js.map +1 -1
- 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 +2 -2
- package/lib/commonjs/composites/wui-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/index.js +7 -5
- package/lib/commonjs/composites/wui-chip/index.js.map +1 -1
- package/lib/commonjs/composites/wui-chip/styles.js +1 -1
- package/lib/commonjs/composites/wui-chip/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 +3 -4
- package/lib/commonjs/composites/wui-list-item/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-logo/index.js +2 -4
- package/lib/commonjs/composites/wui-logo/index.js.map +1 -1
- package/lib/commonjs/composites/wui-logo-select/index.js +3 -6
- 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 +10 -14
- package/lib/commonjs/composites/wui-network-button/index.js.map +1 -1
- package/lib/commonjs/composites/wui-network-button/styles.js +3 -3
- package/lib/commonjs/composites/wui-network-button/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-network-image/index.js +21 -48
- package/lib/commonjs/composites/wui-network-image/index.js.map +1 -1
- package/lib/commonjs/composites/wui-network-image/styles.js +1 -3
- package/lib/commonjs/composites/wui-network-image/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-qr-code/index.js +12 -16
- package/lib/commonjs/composites/wui-qr-code/index.js.map +1 -1
- package/lib/commonjs/composites/wui-snackbar/index.js +0 -1
- package/lib/commonjs/composites/wui-snackbar/index.js.map +1 -1
- package/lib/commonjs/composites/wui-snackbar/styles.js +1 -2
- package/lib/commonjs/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/commonjs/composites/wui-tabs/index.js +8 -22
- package/lib/commonjs/composites/wui-tabs/index.js.map +1 -1
- package/lib/commonjs/composites/wui-tabs/styles.js +2 -1
- package/lib/commonjs/composites/wui-tabs/styles.js.map +1 -1
- package/lib/commonjs/index.js +0 -63
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/utils/ThemeUtil.js +1 -2
- package/lib/commonjs/utils/ThemeUtil.js.map +1 -1
- package/lib/commonjs/utils/UiUtil.js +0 -15
- package/lib/commonjs/utils/UiUtil.js.map +1 -1
- package/lib/module/assets/svg/Twitter.js +37 -0
- package/lib/module/assets/svg/Twitter.js.map +1 -0
- package/lib/module/assets/svg/TwitterIcon.js +11 -0
- package/lib/module/assets/svg/TwitterIcon.js.map +1 -0
- package/lib/module/components/wui-icon/index.js +6 -14
- package/lib/module/components/wui-icon/index.js.map +1 -1
- package/lib/module/composites/wui-account-button/index.js +7 -13
- package/lib/module/composites/wui-account-button/index.js.map +1 -1
- package/lib/module/composites/wui-account-button/styles.js +4 -4
- package/lib/module/composites/wui-account-button/styles.js.map +1 -1
- package/lib/module/composites/wui-avatar/styles.js +1 -2
- package/lib/module/composites/wui-avatar/styles.js.map +1 -1
- 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 +2 -2
- package/lib/module/composites/wui-button/styles.js.map +1 -1
- package/lib/module/composites/wui-chip/index.js +8 -6
- package/lib/module/composites/wui-chip/index.js.map +1 -1
- package/lib/module/composites/wui-chip/styles.js +1 -1
- package/lib/module/composites/wui-chip/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 +3 -4
- package/lib/module/composites/wui-list-item/styles.js.map +1 -1
- package/lib/module/composites/wui-logo/index.js +2 -4
- package/lib/module/composites/wui-logo/index.js.map +1 -1
- package/lib/module/composites/wui-logo-select/index.js +3 -6
- 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 +11 -15
- package/lib/module/composites/wui-network-button/index.js.map +1 -1
- package/lib/module/composites/wui-network-button/styles.js +4 -4
- package/lib/module/composites/wui-network-button/styles.js.map +1 -1
- package/lib/module/composites/wui-network-image/index.js +22 -49
- package/lib/module/composites/wui-network-image/index.js.map +1 -1
- package/lib/module/composites/wui-network-image/styles.js +0 -2
- package/lib/module/composites/wui-network-image/styles.js.map +1 -1
- package/lib/module/composites/wui-qr-code/index.js +12 -16
- package/lib/module/composites/wui-qr-code/index.js.map +1 -1
- package/lib/module/composites/wui-snackbar/index.js +0 -1
- package/lib/module/composites/wui-snackbar/index.js.map +1 -1
- package/lib/module/composites/wui-snackbar/styles.js +1 -2
- package/lib/module/composites/wui-snackbar/styles.js.map +1 -1
- package/lib/module/composites/wui-tabs/index.js +8 -22
- package/lib/module/composites/wui-tabs/index.js.map +1 -1
- package/lib/module/composites/wui-tabs/styles.js +2 -1
- package/lib/module/composites/wui-tabs/styles.js.map +1 -1
- package/lib/module/index.js +0 -9
- package/lib/module/index.js.map +1 -1
- package/lib/module/utils/ThemeUtil.js +1 -2
- package/lib/module/utils/ThemeUtil.js.map +1 -1
- package/lib/module/utils/UiUtil.js +0 -15
- package/lib/module/utils/UiUtil.js.map +1 -1
- package/lib/typescript/assets/svg/Twitter.d.ts +4 -0
- package/lib/typescript/assets/svg/Twitter.d.ts.map +1 -0
- package/lib/typescript/assets/svg/TwitterIcon.d.ts +4 -0
- package/lib/typescript/assets/svg/TwitterIcon.d.ts.map +1 -0
- package/lib/typescript/components/wui-icon/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-avatar/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-button/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-chip/index.d.ts +2 -2
- package/lib/typescript/composites/wui-chip/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-item/index.d.ts +4 -6
- package/lib/typescript/composites/wui-list-item/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-list-item/styles.d.ts +0 -1
- package/lib/typescript/composites/wui-list-item/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo/index.d.ts +1 -3
- package/lib/typescript/composites/wui-logo/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-logo-select/index.d.ts +1 -4
- package/lib/typescript/composites/wui-logo-select/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-network-button/index.d.ts +4 -6
- 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 +2 -6
- package/lib/typescript/composites/wui-network-image/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-network-image/styles.d.ts +0 -2
- package/lib/typescript/composites/wui-network-image/styles.d.ts.map +1 -1
- package/lib/typescript/composites/wui-qr-code/index.d.ts +1 -6
- package/lib/typescript/composites/wui-qr-code/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 +2 -4
- package/lib/typescript/composites/wui-tabs/index.d.ts.map +1 -1
- package/lib/typescript/composites/wui-tabs/styles.d.ts +2 -1
- package/lib/typescript/composites/wui-tabs/styles.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +0 -9
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/utils/ThemeUtil.d.ts +0 -1
- package/lib/typescript/utils/ThemeUtil.d.ts.map +1 -1
- package/lib/typescript/utils/TypesUtil.d.ts +4 -5
- package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
- package/lib/typescript/utils/UiUtil.d.ts +0 -1
- package/lib/typescript/utils/UiUtil.d.ts.map +1 -1
- package/package.json +4 -4
- package/readme.md +1 -1
- package/src/assets/svg/Twitter.tsx +27 -0
- package/src/assets/svg/TwitterIcon.tsx +10 -0
- package/src/components/wui-icon/index.tsx +6 -14
- package/src/composites/wui-account-button/index.tsx +8 -17
- package/src/composites/wui-account-button/styles.ts +4 -4
- package/src/composites/wui-avatar/styles.ts +1 -2
- package/src/composites/wui-button/index.tsx +10 -12
- package/src/composites/wui-button/styles.ts +2 -2
- package/src/composites/wui-chip/index.tsx +9 -7
- package/src/composites/wui-chip/styles.ts +1 -1
- package/src/composites/wui-list-item/index.tsx +14 -15
- package/src/composites/wui-list-item/styles.ts +3 -4
- package/src/composites/wui-logo/index.tsx +2 -4
- package/src/composites/wui-logo-select/index.tsx +4 -7
- package/src/composites/wui-logo-select/styles.ts +3 -3
- package/src/composites/wui-network-button/index.tsx +15 -22
- package/src/composites/wui-network-button/styles.ts +4 -4
- package/src/composites/wui-network-image/index.tsx +21 -57
- package/src/composites/wui-network-image/styles.ts +0 -6
- package/src/composites/wui-qr-code/index.tsx +11 -18
- package/src/composites/wui-snackbar/index.tsx +0 -1
- package/src/composites/wui-snackbar/styles.ts +1 -2
- package/src/composites/wui-tabs/index.tsx +9 -33
- package/src/composites/wui-tabs/styles.ts +2 -1
- package/src/index.ts +0 -12
- package/src/utils/ThemeUtil.ts +1 -2
- package/src/utils/TypesUtil.ts +6 -45
- package/src/utils/UiUtil.ts +0 -18
- package/lib/commonjs/assets/svg/ArrowBottomCircle.js +0 -21
- package/lib/commonjs/assets/svg/ArrowBottomCircle.js.map +0 -1
- package/lib/commonjs/assets/svg/Farcaster.js +0 -28
- package/lib/commonjs/assets/svg/Farcaster.js.map +0 -1
- package/lib/commonjs/assets/svg/FarcasterSquare.js +0 -28
- package/lib/commonjs/assets/svg/FarcasterSquare.js.map +0 -1
- package/lib/commonjs/assets/svg/More.js.map +0 -1
- package/lib/commonjs/assets/svg/Paperplane.js +0 -21
- package/lib/commonjs/assets/svg/Paperplane.js.map +0 -1
- package/lib/commonjs/assets/svg/X.js.map +0 -1
- package/lib/commonjs/composites/wui-account-pill/index.js +0 -73
- package/lib/commonjs/composites/wui-account-pill/index.js.map +0 -1
- package/lib/commonjs/composites/wui-account-pill/styles.js +0 -25
- package/lib/commonjs/composites/wui-account-pill/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-balance/index.js +0 -27
- package/lib/commonjs/composites/wui-balance/index.js.map +0 -1
- package/lib/commonjs/composites/wui-banner/index.js +0 -36
- package/lib/commonjs/composites/wui-banner/index.js.map +0 -1
- package/lib/commonjs/composites/wui-banner/styles.js +0 -21
- package/lib/commonjs/composites/wui-banner/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-compatible-network/index.js +0 -58
- package/lib/commonjs/composites/wui-compatible-network/index.js.map +0 -1
- package/lib/commonjs/composites/wui-list-social/index.js +0 -54
- package/lib/commonjs/composites/wui-list-social/index.js.map +0 -1
- package/lib/commonjs/composites/wui-list-social/styles.js +0 -34
- package/lib/commonjs/composites/wui-list-social/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-list-token/index.js +0 -78
- package/lib/commonjs/composites/wui-list-token/index.js.map +0 -1
- package/lib/commonjs/composites/wui-list-token/styles.js +0 -30
- package/lib/commonjs/composites/wui-list-token/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-list-transaction/index.js +0 -64
- package/lib/commonjs/composites/wui-list-transaction/index.js.map +0 -1
- package/lib/commonjs/composites/wui-list-transaction/styles.js +0 -16
- package/lib/commonjs/composites/wui-list-transaction/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-list-transaction/utils.js +0 -88
- package/lib/commonjs/composites/wui-list-transaction/utils.js.map +0 -1
- package/lib/commonjs/composites/wui-token-button/index.js +0 -37
- package/lib/commonjs/composites/wui-token-button/index.js.map +0 -1
- package/lib/commonjs/composites/wui-token-button/styles.js +0 -24
- package/lib/commonjs/composites/wui-token-button/styles.js.map +0 -1
- package/lib/commonjs/composites/wui-transaction-visual/index.js +0 -73
- package/lib/commonjs/composites/wui-transaction-visual/index.js.map +0 -1
- package/lib/commonjs/composites/wui-transaction-visual/styles.js +0 -42
- package/lib/commonjs/composites/wui-transaction-visual/styles.js.map +0 -1
- package/lib/commonjs/utils/TransactionUtil.js +0 -139
- package/lib/commonjs/utils/TransactionUtil.js.map +0 -1
- package/lib/module/assets/svg/ArrowBottomCircle.js +0 -13
- package/lib/module/assets/svg/ArrowBottomCircle.js.map +0 -1
- package/lib/module/assets/svg/Farcaster.js +0 -20
- package/lib/module/assets/svg/Farcaster.js.map +0 -1
- package/lib/module/assets/svg/FarcasterSquare.js +0 -20
- package/lib/module/assets/svg/FarcasterSquare.js.map +0 -1
- package/lib/module/assets/svg/More.js +0 -22
- package/lib/module/assets/svg/More.js.map +0 -1
- package/lib/module/assets/svg/Paperplane.js +0 -13
- package/lib/module/assets/svg/Paperplane.js.map +0 -1
- package/lib/module/assets/svg/X.js +0 -27
- package/lib/module/assets/svg/X.js.map +0 -1
- package/lib/module/composites/wui-account-pill/index.js +0 -66
- package/lib/module/composites/wui-account-pill/index.js.map +0 -1
- package/lib/module/composites/wui-account-pill/styles.js +0 -19
- package/lib/module/composites/wui-account-pill/styles.js.map +0 -1
- package/lib/module/composites/wui-balance/index.js +0 -21
- package/lib/module/composites/wui-balance/index.js.map +0 -1
- package/lib/module/composites/wui-banner/index.js +0 -29
- package/lib/module/composites/wui-banner/index.js.map +0 -1
- package/lib/module/composites/wui-banner/styles.js +0 -15
- package/lib/module/composites/wui-banner/styles.js.map +0 -1
- package/lib/module/composites/wui-compatible-network/index.js +0 -52
- package/lib/module/composites/wui-compatible-network/index.js.map +0 -1
- package/lib/module/composites/wui-list-social/index.js +0 -47
- package/lib/module/composites/wui-list-social/index.js.map +0 -1
- package/lib/module/composites/wui-list-social/styles.js +0 -28
- package/lib/module/composites/wui-list-social/styles.js.map +0 -1
- package/lib/module/composites/wui-list-token/index.js +0 -71
- package/lib/module/composites/wui-list-token/index.js.map +0 -1
- package/lib/module/composites/wui-list-token/styles.js +0 -24
- package/lib/module/composites/wui-list-token/styles.js.map +0 -1
- package/lib/module/composites/wui-list-transaction/index.js +0 -57
- package/lib/module/composites/wui-list-transaction/index.js.map +0 -1
- package/lib/module/composites/wui-list-transaction/styles.js +0 -10
- package/lib/module/composites/wui-list-transaction/styles.js.map +0 -1
- package/lib/module/composites/wui-list-transaction/utils.js +0 -79
- package/lib/module/composites/wui-list-transaction/utils.js.map +0 -1
- package/lib/module/composites/wui-token-button/index.js +0 -30
- package/lib/module/composites/wui-token-button/index.js.map +0 -1
- package/lib/module/composites/wui-token-button/styles.js +0 -18
- package/lib/module/composites/wui-token-button/styles.js.map +0 -1
- package/lib/module/composites/wui-transaction-visual/index.js +0 -66
- package/lib/module/composites/wui-transaction-visual/index.js.map +0 -1
- package/lib/module/composites/wui-transaction-visual/styles.js +0 -36
- package/lib/module/composites/wui-transaction-visual/styles.js.map +0 -1
- package/lib/module/utils/TransactionUtil.js +0 -134
- package/lib/module/utils/TransactionUtil.js.map +0 -1
- package/lib/typescript/assets/svg/ArrowBottomCircle.d.ts +0 -4
- package/lib/typescript/assets/svg/ArrowBottomCircle.d.ts.map +0 -1
- package/lib/typescript/assets/svg/Farcaster.d.ts +0 -4
- package/lib/typescript/assets/svg/Farcaster.d.ts.map +0 -1
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts +0 -4
- package/lib/typescript/assets/svg/FarcasterSquare.d.ts.map +0 -1
- package/lib/typescript/assets/svg/More.d.ts +0 -4
- package/lib/typescript/assets/svg/More.d.ts.map +0 -1
- package/lib/typescript/assets/svg/Paperplane.d.ts +0 -4
- package/lib/typescript/assets/svg/Paperplane.d.ts.map +0 -1
- package/lib/typescript/assets/svg/X.d.ts +0 -4
- package/lib/typescript/assets/svg/X.d.ts.map +0 -1
- package/lib/typescript/composites/wui-account-pill/index.d.ts +0 -11
- package/lib/typescript/composites/wui-account-pill/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-account-pill/styles.d.ts +0 -18
- package/lib/typescript/composites/wui-account-pill/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-balance/index.d.ts +0 -6
- package/lib/typescript/composites/wui-balance/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-banner/index.d.ts +0 -7
- package/lib/typescript/composites/wui-banner/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-banner/styles.d.ts +0 -14
- package/lib/typescript/composites/wui-banner/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-compatible-network/index.d.ts +0 -10
- package/lib/typescript/composites/wui-compatible-network/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-social/index.d.ts +0 -15
- package/lib/typescript/composites/wui-list-social/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-social/styles.d.ts +0 -27
- package/lib/typescript/composites/wui-list-social/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-token/index.d.ts +0 -11
- package/lib/typescript/composites/wui-list-token/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-token/styles.d.ts +0 -23
- package/lib/typescript/composites/wui-list-token/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-transaction/index.d.ts +0 -15
- package/lib/typescript/composites/wui-list-transaction/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-transaction/styles.d.ts +0 -10
- package/lib/typescript/composites/wui-list-transaction/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-list-transaction/utils.d.ts +0 -6
- package/lib/typescript/composites/wui-list-transaction/utils.d.ts.map +0 -1
- package/lib/typescript/composites/wui-token-button/index.d.ts +0 -7
- package/lib/typescript/composites/wui-token-button/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-token-button/styles.d.ts +0 -17
- package/lib/typescript/composites/wui-token-button/styles.d.ts.map +0 -1
- package/lib/typescript/composites/wui-transaction-visual/index.d.ts +0 -8
- package/lib/typescript/composites/wui-transaction-visual/index.d.ts.map +0 -1
- package/lib/typescript/composites/wui-transaction-visual/styles.d.ts +0 -35
- package/lib/typescript/composites/wui-transaction-visual/styles.d.ts.map +0 -1
- package/lib/typescript/utils/TransactionUtil.d.ts +0 -13
- package/lib/typescript/utils/TransactionUtil.d.ts.map +0 -1
- package/src/assets/svg/ArrowBottomCircle.tsx +0 -12
- package/src/assets/svg/Farcaster.tsx +0 -15
- package/src/assets/svg/FarcasterSquare.tsx +0 -15
- package/src/assets/svg/More.tsx +0 -16
- package/src/assets/svg/Paperplane.tsx +0 -12
- package/src/assets/svg/X.tsx +0 -26
- package/src/composites/wui-account-pill/index.tsx +0 -72
- package/src/composites/wui-account-pill/styles.ts +0 -19
- package/src/composites/wui-balance/index.tsx +0 -25
- package/src/composites/wui-banner/index.tsx +0 -28
- package/src/composites/wui-banner/styles.ts +0 -15
- package/src/composites/wui-compatible-network/index.tsx +0 -64
- package/src/composites/wui-list-social/index.tsx +0 -65
- package/src/composites/wui-list-social/styles.ts +0 -28
- package/src/composites/wui-list-token/index.tsx +0 -83
- package/src/composites/wui-list-token/styles.ts +0 -24
- package/src/composites/wui-list-transaction/index.tsx +0 -65
- package/src/composites/wui-list-transaction/styles.ts +0 -10
- package/src/composites/wui-list-transaction/utils.ts +0 -83
- package/src/composites/wui-token-button/index.tsx +0 -29
- package/src/composites/wui-token-button/styles.ts +0 -18
- package/src/composites/wui-transaction-visual/index.tsx +0 -78
- package/src/composites/wui-transaction-visual/styles.ts +0 -36
- package/src/utils/TransactionUtil.ts +0 -173
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { BorderRadius, Spacing } from '../../utils/ThemeUtil';
|
|
3
|
-
export default StyleSheet.create({
|
|
4
|
-
selectButton: {
|
|
5
|
-
height: 40,
|
|
6
|
-
paddingHorizontal: Spacing.m
|
|
7
|
-
},
|
|
8
|
-
container: {
|
|
9
|
-
height: 40
|
|
10
|
-
},
|
|
11
|
-
image: {
|
|
12
|
-
width: 24,
|
|
13
|
-
height: 24,
|
|
14
|
-
borderRadius: BorderRadius.full,
|
|
15
|
-
marginRight: Spacing['2xs']
|
|
16
|
-
}
|
|
17
|
-
});
|
|
18
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","BorderRadius","Spacing","create","selectButton","height","paddingHorizontal","m","container","image","width","borderRadius","full","marginRight"],"sourceRoot":"../../../../src","sources":["composites/wui-token-button/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,EAAEC,OAAO,QAAQ,uBAAuB;AAE7D,eAAeF,UAAU,CAACG,MAAM,CAAC;EAC/BC,YAAY,EAAE;IACZC,MAAM,EAAE,EAAE;IACVC,iBAAiB,EAAEJ,OAAO,CAACK;EAC7B,CAAC;EACDC,SAAS,EAAE;IACTH,MAAM,EAAE;EACV,CAAC;EACDI,KAAK,EAAE;IACLC,KAAK,EAAE,EAAE;IACTL,MAAM,EAAE,EAAE;IACVM,YAAY,EAAEV,YAAY,CAACW,IAAI;IAC/BC,WAAW,EAAEX,OAAO,CAAC,KAAK;EAC5B;AACF,CAAC,CAAC"}
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { FlexView } from '../../layout/wui-flex';
|
|
2
|
-
import { Icon } from '../../components/wui-icon';
|
|
3
|
-
import { Image } from '../../components/wui-image';
|
|
4
|
-
import { useTheme } from '../../hooks/useTheme';
|
|
5
|
-
import styles from './styles';
|
|
6
|
-
export function TransactionVisual({
|
|
7
|
-
images,
|
|
8
|
-
networkSrc,
|
|
9
|
-
isAllNFT
|
|
10
|
-
}) {
|
|
11
|
-
const Theme = useTheme();
|
|
12
|
-
const backgroundColor = Theme['bg-200'];
|
|
13
|
-
const isFirstNFT = Boolean(images?.[0]?.type === 'NFT');
|
|
14
|
-
const filteredImages = images?.filter(image => image.url);
|
|
15
|
-
const [firstImage, secondImage] = filteredImages ?? [];
|
|
16
|
-
const hasOneImage = filteredImages?.length === 1;
|
|
17
|
-
const hasTwoImages = filteredImages && filteredImages?.length > 1;
|
|
18
|
-
return /*#__PURE__*/React.createElement(FlexView, null, !filteredImages?.length && /*#__PURE__*/React.createElement(FlexView, {
|
|
19
|
-
alignItems: "center",
|
|
20
|
-
justifyContent: "center",
|
|
21
|
-
style: [styles.image, {
|
|
22
|
-
backgroundColor
|
|
23
|
-
}]
|
|
24
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
25
|
-
name: isFirstNFT ? 'nftPlaceholder' : 'coinPlaceholder',
|
|
26
|
-
size: "sm",
|
|
27
|
-
color: "fg-200"
|
|
28
|
-
})), hasOneImage && firstImage?.url && /*#__PURE__*/React.createElement(Image, {
|
|
29
|
-
source: firstImage.url,
|
|
30
|
-
style: [styles.image, firstImage?.type === 'NFT' && styles.imageNft, {
|
|
31
|
-
backgroundColor
|
|
32
|
-
}]
|
|
33
|
-
}), hasTwoImages && firstImage?.url && secondImage?.url && /*#__PURE__*/React.createElement(FlexView, {
|
|
34
|
-
flexDirection: "row",
|
|
35
|
-
padding: ['0', 's', '0', '0']
|
|
36
|
-
}, /*#__PURE__*/React.createElement(FlexView, {
|
|
37
|
-
style: styles.halfContainer
|
|
38
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
39
|
-
source: firstImage.url,
|
|
40
|
-
style: [styles.image, isAllNFT && styles.imageNft, {
|
|
41
|
-
backgroundColor
|
|
42
|
-
}]
|
|
43
|
-
})), /*#__PURE__*/React.createElement(FlexView, {
|
|
44
|
-
style: styles.halfContainer
|
|
45
|
-
}, /*#__PURE__*/React.createElement(Image, {
|
|
46
|
-
source: secondImage.url,
|
|
47
|
-
style: [styles.image, styles.halfRight, isAllNFT && styles.imageNft, {
|
|
48
|
-
backgroundColor
|
|
49
|
-
}]
|
|
50
|
-
}))), /*#__PURE__*/React.createElement(FlexView, {
|
|
51
|
-
alignItems: "center",
|
|
52
|
-
justifyContent: "center",
|
|
53
|
-
style: [styles.networkImageContainer, {
|
|
54
|
-
borderColor: Theme['bg-100'],
|
|
55
|
-
backgroundColor: Theme['bg-200']
|
|
56
|
-
}]
|
|
57
|
-
}, networkSrc ? /*#__PURE__*/React.createElement(Image, {
|
|
58
|
-
source: networkSrc,
|
|
59
|
-
style: styles.networkImage
|
|
60
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
61
|
-
name: "networkPlaceholder",
|
|
62
|
-
size: "xxs",
|
|
63
|
-
color: "fg-200"
|
|
64
|
-
})));
|
|
65
|
-
}
|
|
66
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FlexView","Icon","Image","useTheme","styles","TransactionVisual","images","networkSrc","isAllNFT","Theme","backgroundColor","isFirstNFT","Boolean","type","filteredImages","filter","image","url","firstImage","secondImage","hasOneImage","length","hasTwoImages","React","createElement","alignItems","justifyContent","style","name","size","color","source","imageNft","flexDirection","padding","halfContainer","halfRight","networkImageContainer","borderColor","networ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CAACiC,qBAAqB,EAC5B;MAAEC,WAAW,EAAE7B,KAAK,CAAC,QAAQ,CAAC;MAAEC,eAAe,EAAED,KAAK,CAAC,QAAQ;IAAE,CAAC;EAClE,GAEDF,UAAU,gBACTgB,KAAA,CAAAC,aAAA,CAACtB,KAAK;IAAC6B,MAAM,EAAExB,UAAW;IAACoB,KAAK,EAAEvB,MAAM,CAACmC;EAAa,CAAE,CAAC,gBAEzDhB,KAAA,CAAAC,aAAA,CAACvB,IAAI;IAAC2B,IAAI,EAAC,oBAAoB;IAACC,IAAI,EAAC,KAAK;IAACC,KAAK,EAAC;EAAQ,CAAE,CAErD,CACF,CAAC;AAEf"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { BorderRadius, Spacing } from '../../utils/ThemeUtil';
|
|
3
|
-
export default StyleSheet.create({
|
|
4
|
-
image: {
|
|
5
|
-
height: 40,
|
|
6
|
-
width: 40,
|
|
7
|
-
borderRadius: BorderRadius.full,
|
|
8
|
-
marginRight: Spacing.s
|
|
9
|
-
},
|
|
10
|
-
imageNft: {
|
|
11
|
-
borderRadius: BorderRadius.xxs
|
|
12
|
-
},
|
|
13
|
-
halfContainer: {
|
|
14
|
-
overflow: 'hidden',
|
|
15
|
-
width: 20,
|
|
16
|
-
marginRight: 2
|
|
17
|
-
},
|
|
18
|
-
halfRight: {
|
|
19
|
-
left: -20
|
|
20
|
-
},
|
|
21
|
-
networkImageContainer: {
|
|
22
|
-
position: 'absolute',
|
|
23
|
-
bottom: -2,
|
|
24
|
-
left: 24,
|
|
25
|
-
borderWidth: 2,
|
|
26
|
-
borderRadius: BorderRadius.full,
|
|
27
|
-
width: 18,
|
|
28
|
-
height: 18
|
|
29
|
-
},
|
|
30
|
-
networkImage: {
|
|
31
|
-
width: 14,
|
|
32
|
-
height: 14,
|
|
33
|
-
borderRadius: BorderRadius.full
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","BorderRadius","Spacing","create","image","height","width","borderRadius","full","marginRight","s","imageNft","xxs","halfContainer","overflow","halfRight","left","networkImageContainer","position","bottom","borderWidth","networkImage"],"sourceRoot":"../../../../src","sources":["composites/wui-transaction-visual/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,EAAEC,OAAO,QAAQ,uBAAuB;AAE7D,eAAeF,UAAU,CAACG,MAAM,CAAC;EAC/BC,KAAK,EAAE;IACLC,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,EAAE;IACTC,YAAY,EAAEN,YAAY,CAACO,IAAI;IAC/BC,WAAW,EAAEP,OAAO,CAACQ;EACvB,CAAC;EACDC,QAAQ,EAAE;IACRJ,YAAY,EAAEN,YAAY,CAACW;EAC7B,CAAC;EACDC,aAAa,EAAE;IACbC,QAAQ,EAAE,QAAQ;IAClBR,KAAK,EAAE,EAAE;IACTG,WAAW,EAAE;EACf,CAAC;EACDM,SAAS,EAAE;IACTC,IAAI,EAAE,CAAC;EACT,CAAC;EACDC,qBAAqB,EAAE;IACrBC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC,CAAC;IACVH,IAAI,EAAE,EAAE;IACRI,WAAW,EAAE,CAAC;IACdb,YAAY,EAAEN,YAAY,CAACO,IAAI;IAC/BF,KAAK,EAAE,EAAE;IACTD,MAAM,EAAE;EACV,CAAC;EACDgB,YAAY,EAAE;IACZf,KAAK,EAAE,EAAE;IACTD,MAAM,EAAE,EAAE;IACVE,YAAY,EAAEN,YAAY,CAACO;EAC7B;AACF,CAAC,CAAC"}
|
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { DateUtil } from '@reown/appkit-common-react-native';
|
|
2
|
-
import { UiUtil } from './UiUtil';
|
|
3
|
-
|
|
4
|
-
// -- Helpers --------------------------------------------- //
|
|
5
|
-
const FLOAT_FIXED_VALUE = 2;
|
|
6
|
-
const SMALL_FLOAT_FIXED_VALUE = 4;
|
|
7
|
-
const plusTypes = ['receive', 'deposit', 'borrow', 'claim'];
|
|
8
|
-
const minusTypes = ['withdraw', 'repay', 'burn'];
|
|
9
|
-
export const TransactionUtil = {
|
|
10
|
-
getTransactionGroupTitle(year, month) {
|
|
11
|
-
const currentYear = DateUtil.getYear().toString();
|
|
12
|
-
const monthName = DateUtil.getMonth(parseInt(month));
|
|
13
|
-
const isCurrentYear = year === currentYear;
|
|
14
|
-
const groupTitle = isCurrentYear ? monthName : `${monthName} ${year}`;
|
|
15
|
-
return groupTitle;
|
|
16
|
-
},
|
|
17
|
-
getTransactionImages(transfers) {
|
|
18
|
-
const [transfer, secondTransfer] = transfers;
|
|
19
|
-
const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));
|
|
20
|
-
const haveMultipleTransfers = transfers?.length > 1;
|
|
21
|
-
const haveTwoTransfers = transfers?.length === 2;
|
|
22
|
-
if (haveTwoTransfers && !isAllNFT) {
|
|
23
|
-
return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];
|
|
24
|
-
}
|
|
25
|
-
if (haveMultipleTransfers) {
|
|
26
|
-
return transfers.map(item => this.getTransactionImage(item));
|
|
27
|
-
}
|
|
28
|
-
return [this.getTransactionImage(transfer)];
|
|
29
|
-
},
|
|
30
|
-
getTransactionImage(transfer) {
|
|
31
|
-
return {
|
|
32
|
-
type: TransactionUtil.getTransactionTransferTokenType(transfer),
|
|
33
|
-
url: TransactionUtil.getTransactionImageURL(transfer)
|
|
34
|
-
};
|
|
35
|
-
},
|
|
36
|
-
getTransactionImageURL(transfer) {
|
|
37
|
-
let imageURL;
|
|
38
|
-
const isNFT = Boolean(transfer?.nft_info);
|
|
39
|
-
const isFungible = Boolean(transfer?.fungible_info);
|
|
40
|
-
if (transfer && isNFT) {
|
|
41
|
-
imageURL = transfer?.nft_info?.content?.preview?.url;
|
|
42
|
-
} else if (transfer && isFungible) {
|
|
43
|
-
imageURL = transfer?.fungible_info?.icon?.url;
|
|
44
|
-
}
|
|
45
|
-
return imageURL;
|
|
46
|
-
},
|
|
47
|
-
getTransactionTransferTokenType(transfer) {
|
|
48
|
-
if (transfer?.fungible_info) {
|
|
49
|
-
return 'FUNGIBLE';
|
|
50
|
-
} else if (transfer?.nft_info) {
|
|
51
|
-
return 'NFT';
|
|
52
|
-
}
|
|
53
|
-
return undefined;
|
|
54
|
-
},
|
|
55
|
-
getTransactionDescriptions(transaction) {
|
|
56
|
-
const type = transaction?.metadata?.operationType;
|
|
57
|
-
const transfers = transaction?.transfers;
|
|
58
|
-
const haveTransfer = transaction?.transfers?.length > 0;
|
|
59
|
-
const haveMultipleTransfers = transaction?.transfers?.length > 1;
|
|
60
|
-
const isSendOrReceive = type === 'send' || type === 'receive';
|
|
61
|
-
const isFungible = haveTransfer && transfers?.every(transfer => Boolean(transfer?.fungible_info));
|
|
62
|
-
const [firstTransfer, secondTransfer] = transfers;
|
|
63
|
-
let firstDescription = this.getTransferDescription(firstTransfer);
|
|
64
|
-
let secondDescription = this.getTransferDescription(secondTransfer);
|
|
65
|
-
if (!haveTransfer) {
|
|
66
|
-
if (isSendOrReceive && isFungible) {
|
|
67
|
-
firstDescription = UiUtil.getTruncateString({
|
|
68
|
-
string: transaction?.metadata.sentFrom,
|
|
69
|
-
charsStart: 4,
|
|
70
|
-
charsEnd: 6,
|
|
71
|
-
truncate: 'middle'
|
|
72
|
-
});
|
|
73
|
-
secondDescription = UiUtil.getTruncateString({
|
|
74
|
-
string: transaction?.metadata.sentTo,
|
|
75
|
-
charsStart: 4,
|
|
76
|
-
charsEnd: 6,
|
|
77
|
-
truncate: 'middle'
|
|
78
|
-
});
|
|
79
|
-
return [firstDescription, secondDescription];
|
|
80
|
-
}
|
|
81
|
-
return [transaction.metadata.status];
|
|
82
|
-
}
|
|
83
|
-
if (haveMultipleTransfers) {
|
|
84
|
-
return transfers.map(item => this.getTransferDescription(item));
|
|
85
|
-
}
|
|
86
|
-
let prefix = '';
|
|
87
|
-
if (plusTypes.includes(type)) {
|
|
88
|
-
prefix = '+';
|
|
89
|
-
} else if (minusTypes.includes(type)) {
|
|
90
|
-
prefix = '-';
|
|
91
|
-
}
|
|
92
|
-
firstDescription = prefix.concat(firstDescription);
|
|
93
|
-
if (isSendOrReceive) {
|
|
94
|
-
const isSend = type === 'send';
|
|
95
|
-
const address = UiUtil.getTruncateString({
|
|
96
|
-
string: isSend ? transaction.metadata.sentTo : transaction.metadata.sentFrom,
|
|
97
|
-
charsStart: 4,
|
|
98
|
-
charsEnd: 4,
|
|
99
|
-
truncate: 'middle'
|
|
100
|
-
});
|
|
101
|
-
const arrow = isSend ? '→' : '←';
|
|
102
|
-
firstDescription = firstDescription.concat(` ${arrow} ${address}`);
|
|
103
|
-
}
|
|
104
|
-
return [firstDescription];
|
|
105
|
-
},
|
|
106
|
-
getTransferDescription(transfer) {
|
|
107
|
-
let description = '';
|
|
108
|
-
if (!transfer) {
|
|
109
|
-
return description;
|
|
110
|
-
}
|
|
111
|
-
if (transfer?.nft_info) {
|
|
112
|
-
description = transfer?.nft_info?.name || '-';
|
|
113
|
-
} else if (transfer?.fungible_info) {
|
|
114
|
-
description = this.getFungibleTransferDescription(transfer) ?? '-';
|
|
115
|
-
}
|
|
116
|
-
return description;
|
|
117
|
-
},
|
|
118
|
-
getFungibleTransferDescription(transfer) {
|
|
119
|
-
if (!transfer) {
|
|
120
|
-
return null;
|
|
121
|
-
}
|
|
122
|
-
const quantity = this.getQuantityFixedValue(transfer?.quantity.numeric);
|
|
123
|
-
const description = [quantity, transfer?.fungible_info?.symbol].join(' ').trim();
|
|
124
|
-
return description;
|
|
125
|
-
},
|
|
126
|
-
getQuantityFixedValue(value) {
|
|
127
|
-
if (!value) {
|
|
128
|
-
return null;
|
|
129
|
-
}
|
|
130
|
-
const parsedValue = parseFloat(value);
|
|
131
|
-
return parsedValue.toFixed(parsedValue > 1 ? FLOAT_FIXED_VALUE : SMALL_FLOAT_FIXED_VALUE);
|
|
132
|
-
}
|
|
133
|
-
};
|
|
134
|
-
//# sourceMappingURL=TransactionUtil.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["DateUtil","UiUtil","FLOAT_FIXED_VALUE","SMALL_FLOAT_FIXED_VALUE","plusTypes","minusTypes","TransactionUtil","getTransactionGroupTitle","year","month","currentYear","getYear","toString","monthName","getMonth","parseInt","isCurrentYear","groupTitle","getTransactionImages","transfers","transfer","secondTransfer","isAllNFT","Boolean","every","item","nft_info","haveMultipleTransfers","length","haveTwoTransfers","getTransactionImage","map","type","getTransactionTransferTokenType","url","getTransactionImageURL","imageURL","isNFT","isFungible","fungible_info","content","preview","icon","undefined","getTransactionDescriptions","transaction","metadata","operationType","haveTransfer","isSendOrReceive","firstTransfer","firstDescription","getTransferDescription","secondDescription","getTruncateString","string","sentFrom","charsStart","charsEnd","truncate","sentTo","status","prefix","includes","concat","isSend","address","arrow","description","name","getFungibleTransferDescription","quantity","getQuantityFixedValue","numeric","symbol","join","trim","value","parsedValue","parseFloat","toFixed"],"sourceRoot":"../../../src","sources":["utils/TransactionUtil.ts"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,mCAAmC;AAO5D,SAASC,MAAM,QAAQ,UAAU;;AAEjC;AACA,MAAMC,iBAAiB,GAAG,CAAC;AAC3B,MAAMC,uBAAuB,GAAG,CAAC;AACjC,MAAMC,SAA4B,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,CAAC;AAC9E,MAAMC,UAA6B,GAAG,CAAC,UAAU,EAAE,OAAO,EAAE,MAAM,CAAC;AAEnE,OAAO,MAAMC,eAAe,GAAG;EAC7BC,wBAAwBA,CAACC,IAAY,EAAEC,KAAa,EAAE;IACpD,MAAMC,WAAW,GAAGV,QAAQ,CAACW,OAAO,CAAC,CAAC,CAACC,QAAQ,CAAC,CAAC;IACjD,MAAMC,SAAS,GAAGb,QAAQ,CAACc,QAAQ,CA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OAAOC,WAAW,CAACE,OAAO,CAACF,WAAW,GAAG,CAAC,GAAG5E,iBAAiB,GAAGC,uBAAuB,CAAC;EAC3F;AACF,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ArrowBottomCircle.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/ArrowBottomCircle.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,QAAA,MAAM,oBAAoB,UAAW,QAAQ,4CAS5C,CAAC;AACF,eAAe,oBAAoB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Farcaster.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/Farcaster.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAQ,MAAM,kBAAkB,CAAC;AAClE,QAAA,MAAM,YAAY,UAAW,QAAQ,4CAYpC,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FarcasterSquare.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/FarcasterSquare.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAQ,MAAM,kBAAkB,CAAC;AAClE,QAAA,MAAM,YAAY,UAAW,QAAQ,4CAYpC,CAAC;AACF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"More.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/More.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAgB,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACpE,QAAA,MAAM,OAAO,UAAW,QAAQ,4CAa/B,CAAC;AACF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Paperplane.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/Paperplane.tsx"],"names":[],"mappings":"AAAA,OAAY,EAAQ,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5D,QAAA,MAAM,aAAa,UAAW,QAAQ,4CASrC,CAAC;AACF,eAAe,aAAa,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"X.d.ts","sourceRoot":"","sources":["../../../../src/assets/svg/X.tsx"],"names":[],"mappings":"AAAA,OAAY,EAA2B,KAAK,QAAQ,EAAQ,MAAM,kBAAkB,CAAC;AACrF,QAAA,MAAM,IAAI,UAAW,QAAQ,4CAuB5B,CAAC;AACF,eAAe,IAAI,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
export interface AccountPillProps {
|
|
3
|
-
onPress: () => void;
|
|
4
|
-
onCopy: (address: string) => void;
|
|
5
|
-
address?: string;
|
|
6
|
-
profileName?: string;
|
|
7
|
-
profileImage?: string;
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
|
-
}
|
|
10
|
-
export declare function AccountPill({ onPress, onCopy, address, profileName, profileImage, style }: AccountPillProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-account-pill/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASnF,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAID,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,MAAM,EACN,OAAO,EACP,WAAW,EACX,YAAY,EACZ,KAAK,EACN,EAAE,gBAAgB,2CA4ClB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
container: {
|
|
3
|
-
height: number;
|
|
4
|
-
minWidth: number;
|
|
5
|
-
maxWidth: number;
|
|
6
|
-
paddingLeft: number;
|
|
7
|
-
flexDirection: "row";
|
|
8
|
-
alignItems: "center";
|
|
9
|
-
justifyContent: "center";
|
|
10
|
-
borderRadius: number;
|
|
11
|
-
borderWidth: number;
|
|
12
|
-
};
|
|
13
|
-
text: {
|
|
14
|
-
marginLeft: number;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-account-pill/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,wBAeG"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-balance/index.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,YAAY;IAC3B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,wBAAgB,OAAO,CAAC,EAAE,OAAa,EAAE,OAAc,EAAE,EAAE,YAAY,2CAStE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-banner/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAOtD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,WAAW,2CAejD"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-banner/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,wBAWG"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
export interface CompatibleNetworkProps {
|
|
3
|
-
text: string;
|
|
4
|
-
onPress: () => void;
|
|
5
|
-
networkImages: string[];
|
|
6
|
-
imageHeaders: Record<string, string>;
|
|
7
|
-
style?: StyleProp<ViewStyle>;
|
|
8
|
-
}
|
|
9
|
-
export declare function CompatibleNetwork({ text, onPress, networkImages, imageHeaders, style }: CompatibleNetworkProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-compatible-network/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAc,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAG1E,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAKD,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,OAAO,EACP,aAAa,EACb,YAAY,EACZ,KAAK,EACN,EAAE,sBAAsB,2CA4BxB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
-
import type { LogoType } from '../../utils/TypesUtil';
|
|
3
|
-
import type { ReactNode } from 'react';
|
|
4
|
-
export interface ListSocialProps {
|
|
5
|
-
children?: ReactNode;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
logo: LogoType;
|
|
8
|
-
onPress?: () => void;
|
|
9
|
-
style?: StyleProp<ViewStyle>;
|
|
10
|
-
testID?: string;
|
|
11
|
-
logoWidth?: number;
|
|
12
|
-
logoHeight?: number;
|
|
13
|
-
}
|
|
14
|
-
export declare function ListSocial({ logo, children, disabled, onPress, style, testID, logoHeight, logoWidth }: ListSocialProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-social/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGzF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAItD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,OAAO,EACP,KAAK,EACL,MAAM,EACN,UAAe,EACf,SAAc,EACf,EAAE,eAAe,2CAiCjB"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
container: {
|
|
3
|
-
flexDirection: "row";
|
|
4
|
-
height: number;
|
|
5
|
-
width: "100%";
|
|
6
|
-
padding: number;
|
|
7
|
-
alignItems: "center";
|
|
8
|
-
justifyContent: "space-between";
|
|
9
|
-
borderRadius: number;
|
|
10
|
-
};
|
|
11
|
-
rightPlaceholder: {
|
|
12
|
-
width: number;
|
|
13
|
-
height: number;
|
|
14
|
-
borderRadius: number;
|
|
15
|
-
};
|
|
16
|
-
disabledLogo: {
|
|
17
|
-
opacity: number;
|
|
18
|
-
};
|
|
19
|
-
border: {
|
|
20
|
-
borderRadius: number;
|
|
21
|
-
borderWidth: number;
|
|
22
|
-
alignItems: "center";
|
|
23
|
-
justifyContent: "center";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export default _default;
|
|
27
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-social/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAwBG"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export interface ListTokenProps {
|
|
2
|
-
imageSrc: string;
|
|
3
|
-
networkSrc?: string;
|
|
4
|
-
name: string;
|
|
5
|
-
value?: number;
|
|
6
|
-
amount?: string;
|
|
7
|
-
currency: string;
|
|
8
|
-
onPress?: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare function ListToken({ imageSrc, networkSrc, name, value, amount, currency, onPress }: ListTokenProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-token/index.tsx"],"names":[],"mappings":"AASA,MAAM,WAAW,cAAc;IAC7B,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAED,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,UAAU,EACV,IAAI,EACJ,KAAK,EACL,MAAM,EACN,QAAQ,EACR,OAAO,EACR,EAAE,cAAc,2CAuDhB"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
image: {
|
|
3
|
-
height: number;
|
|
4
|
-
width: number;
|
|
5
|
-
borderRadius: number;
|
|
6
|
-
};
|
|
7
|
-
networkImageContainer: {
|
|
8
|
-
position: "absolute";
|
|
9
|
-
bottom: number;
|
|
10
|
-
left: number;
|
|
11
|
-
borderWidth: number;
|
|
12
|
-
borderRadius: number;
|
|
13
|
-
width: number;
|
|
14
|
-
height: number;
|
|
15
|
-
};
|
|
16
|
-
networkImage: {
|
|
17
|
-
width: number;
|
|
18
|
-
height: number;
|
|
19
|
-
borderRadius: number;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
export default _default;
|
|
23
|
-
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-token/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AAGA,wBAoBG"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { type TransactionImage, type TransactionStatus } from '@reown/appkit-common-react-native';
|
|
2
|
-
import type { TransactionType } from '../../utils/TypesUtil';
|
|
3
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
4
|
-
export interface ListTransactionProps {
|
|
5
|
-
date: string;
|
|
6
|
-
status?: TransactionStatus;
|
|
7
|
-
type?: TransactionType;
|
|
8
|
-
descriptions?: string[];
|
|
9
|
-
images?: TransactionImage[];
|
|
10
|
-
networkSrc?: string;
|
|
11
|
-
style?: StyleProp<ViewStyle>;
|
|
12
|
-
isAllNFT?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare function ListTransaction({ date, type, descriptions, images, networkSrc, style, isAllNFT, status }: ListTransactionProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-transaction/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAElG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAO7D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAC3B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAC9B,IAAI,EACJ,IAAI,EACJ,YAAY,EACZ,MAAM,EACN,UAAU,EACV,KAAK,EACL,QAAQ,EACR,MAAM,EACP,EAAE,oBAAoB,2CAiCtB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-transaction/styles.ts"],"names":[],"mappings":";;;;;;;;AAEA,wBAOG"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { TransactionStatus } from '@reown/appkit-common-react-native';
|
|
2
|
-
import type { IconType, TransactionType } from '../../utils/TypesUtil';
|
|
3
|
-
export declare const getIcon: (type: TransactionType) => IconType;
|
|
4
|
-
export declare const getIconColor: (status?: TransactionStatus) => "fg-200" | "success-100" | "error-100";
|
|
5
|
-
export declare const getTypeLabel: (type?: TransactionType) => "Unknown" | "Approved" | "Bought" | "Borrowed" | "Burnt" | "Canceled" | "Claimed" | "Deployed" | "Deposited" | "Executed" | "Minted" | "Received" | "Repaid" | "Sent" | "Staked" | "Swapped" | "Unstaked" | "Withdrawn";
|
|
6
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-transaction/utils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEvE,eAAO,MAAM,OAAO,SAAU,eAAe,KAAG,QAoB/C,CAAC;AAGF,eAAO,MAAM,YAAY,YAAa,iBAAiB,2CAWtD,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,eAAe,4NA2ClD,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Balance } from '@reown/appkit-common-react-native';
|
|
2
|
-
export interface TokenButtonProps {
|
|
3
|
-
onPress?: () => void;
|
|
4
|
-
token?: Balance;
|
|
5
|
-
}
|
|
6
|
-
export declare function TokenButton({ token, onPress }: TokenButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-token-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,mCAAmC,CAAC;AAMjE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,WAAW,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,gBAAgB,2CAiB/D"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
selectButton: {
|
|
3
|
-
height: number;
|
|
4
|
-
paddingHorizontal: number;
|
|
5
|
-
};
|
|
6
|
-
container: {
|
|
7
|
-
height: number;
|
|
8
|
-
};
|
|
9
|
-
image: {
|
|
10
|
-
width: number;
|
|
11
|
-
height: number;
|
|
12
|
-
borderRadius: number;
|
|
13
|
-
marginRight: number;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
17
|
-
//# sourceMappingURL=styles.d.ts.map
|