@reown/appkit-ui-react-native 0.0.0-feat-wallet-features-20240925132010 → 0.0.0-fix-email-login-20241010173711
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/components/wui-icon/index.js +0 -4
- 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 +2 -2
- 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-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 +11 -14
- 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 -56
- 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/components/wui-icon/index.js +0 -4
- 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 +2 -2
- 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-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 +11 -14
- 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 -8
- 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/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-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 -4
- 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 -8
- 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 +3 -4
- 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/components/wui-icon/index.tsx +0 -4
- 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 +1 -3
- 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-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 +10 -15
- 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 -11
- package/src/utils/ThemeUtil.ts +1 -2
- package/src/utils/TypesUtil.ts +2 -36
- 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/Paperplane.js +0 -21
- package/lib/commonjs/assets/svg/Paperplane.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-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/Paperplane.js +0 -13
- package/lib/module/assets/svg/Paperplane.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-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/Paperplane.d.ts +0 -4
- package/lib/typescript/assets/svg/Paperplane.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-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/Paperplane.tsx +0 -12
- 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-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 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["FlexView","IconBox","Text","useTheme","styles","Banner","icon","text","Theme","React","createElement","flexDirection","alignItems","style","container","backgroundColor","size","iconColor","background","variant","color"],"sourceRoot":"../../../../src","sources":["composites/wui-banner/index.tsx"],"mappings":"AACA,SAASA,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,OAAO,QAAQ,iBAAiB;AACzC,SAASC,IAAI,QAAQ,2BAA2B;AAChD,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,OAAOC,MAAM,MAAM,UAAU;AAO7B,OAAO,SAASC,MAAMA,CAAC;EAAEC,IAAI;EAAEC;AAAkB,CAAC,EAAE;EAClD,MAAMC,KAAK,GAAGL,QAAQ,CAAC,CAAC;EAExB,oBACEM,KAAA,CAAAC,aAAA,CAACV,QAAQ;IACPW,aAAa,EAAC,KAAK;IACnBC,UAAU,EAAC,QAAQ;IACnBC,KAAK,EAAE,CAACT,MAAM,CAACU,SAAS,EAAE;MAAEC,eAAe,EAAEP,KAAK,CAAC,kBAAkB;IAAE,CAAC;EAAE,gBAE1EC,KAAA,CAAAC,aAAA,CAACT,OAAO;IAACK,IAAI,EAAEA,IAAK;IAACU,IAAI,EAAC,IAAI;IAACC,SAAS,EAAC,QAAQ;IAACC,UAAU;IAACL,KAAK,EAAET,MAAM,CAACE;EAAK,CAAE,CAAC,eACnFG,KAAA,CAAAC,aAAA,CAACR,IAAI;IAACiB,OAAO,EAAC,WAAW;IAACC,KAAK,EAAC,QAAQ;IAACP,KAAK,EAAET,MAAM,CAACG;EAAK,GACzDA,IACG,CACE,CAAC;AAEf"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { BorderRadius, Spacing } from '../../utils/ThemeUtil';
|
|
3
|
-
export default StyleSheet.create({
|
|
4
|
-
container: {
|
|
5
|
-
padding: Spacing.s,
|
|
6
|
-
borderRadius: BorderRadius.s
|
|
7
|
-
},
|
|
8
|
-
icon: {
|
|
9
|
-
marginRight: Spacing.xs
|
|
10
|
-
},
|
|
11
|
-
text: {
|
|
12
|
-
flex: 1
|
|
13
|
-
}
|
|
14
|
-
});
|
|
15
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","BorderRadius","Spacing","create","container","padding","s","borderRadius","icon","marginRight","xs","text","flex"],"sourceRoot":"../../../../src","sources":["composites/wui-banner/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,EAAEC,OAAO,QAAQ,uBAAuB;AAE7D,eAAeF,UAAU,CAACG,MAAM,CAAC;EAC/BC,SAAS,EAAE;IACTC,OAAO,EAAEH,OAAO,CAACI,CAAC;IAClBC,YAAY,EAAEN,YAAY,CAACK;EAC7B,CAAC;EACDE,IAAI,EAAE;IACJC,WAAW,EAAEP,OAAO,CAACQ;EACvB,CAAC;EACDC,IAAI,EAAE;IACJC,IAAI,EAAE;EACR;AACF,CAAC,CAAC"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { Text } from '../../components/wui-text';
|
|
2
|
-
import { NetworkImage } from '../wui-network-image';
|
|
3
|
-
import { FlexView } from '../../layout/wui-flex';
|
|
4
|
-
import { ListItem } from '../wui-list-item';
|
|
5
|
-
import { StyleSheet } from 'react-native';
|
|
6
|
-
import { useTheme } from '../../hooks/useTheme';
|
|
7
|
-
const offset = [20, 15, 10, 5, 0];
|
|
8
|
-
const zIndex = [5, 4, 3, 2, 1];
|
|
9
|
-
export function CompatibleNetwork({
|
|
10
|
-
text,
|
|
11
|
-
onPress,
|
|
12
|
-
networkImages,
|
|
13
|
-
imageHeaders,
|
|
14
|
-
style
|
|
15
|
-
}) {
|
|
16
|
-
const Theme = useTheme();
|
|
17
|
-
return /*#__PURE__*/React.createElement(ListItem, {
|
|
18
|
-
onPress: onPress,
|
|
19
|
-
style: [styles.container, style],
|
|
20
|
-
contentStyle: styles.contentContainer,
|
|
21
|
-
chevron: true
|
|
22
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
23
|
-
color: "fg-200",
|
|
24
|
-
variant: "small-400"
|
|
25
|
-
}, text), /*#__PURE__*/React.createElement(FlexView, {
|
|
26
|
-
flexDirection: "row",
|
|
27
|
-
justifyContent: "center",
|
|
28
|
-
alignItems: "center"
|
|
29
|
-
}, networkImages?.map((image, index) => /*#__PURE__*/React.createElement(NetworkImage, {
|
|
30
|
-
size: "xs",
|
|
31
|
-
key: image,
|
|
32
|
-
imageSrc: image,
|
|
33
|
-
imageHeaders: imageHeaders,
|
|
34
|
-
borderColor: Theme['bg-200'],
|
|
35
|
-
borderWidth: 2,
|
|
36
|
-
style: {
|
|
37
|
-
left: offset[index],
|
|
38
|
-
zIndex: zIndex[index]
|
|
39
|
-
}
|
|
40
|
-
}))));
|
|
41
|
-
}
|
|
42
|
-
const styles = StyleSheet.create({
|
|
43
|
-
container: {
|
|
44
|
-
height: 48
|
|
45
|
-
},
|
|
46
|
-
contentContainer: {
|
|
47
|
-
flexDirection: 'row',
|
|
48
|
-
justifyContent: 'space-between',
|
|
49
|
-
paddingRight: 0
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Text","NetworkImage","FlexView","ListItem","StyleSheet","useTheme","offset","zIndex","CompatibleNetwork","text","onPress","networkImages","imageHeaders","style","Theme","React","createElement","styles","container","contentStyle","contentContainer","chevron","color","variant","flexDirection","justifyContent","alignItems","map","image","index","size","key","imageSrc","borderColor","borderWidth","left","create","height","paddingRight"],"sourceRoot":"../../../../src","sources":["composites/wui-compatible-network/index.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AC7BoB,WAAW,EAAE,CAAE;IACfrB,KAAK,EAAE;MAAEsB,IAAI,EAAE7B,MAAM,CAACuB,KAAK,CAAC;MAAEtB,MAAM,EAAEA,MAAM,CAACsB,KAAK;IAAE;EAAE,CACvD,CACF,CACO,CACF,CAAC;AAEf;AAEA,MAAMZ,MAAM,GAAGb,UAAU,CAACgC,MAAM,CAAC;EAC/BlB,SAAS,EAAE;IACTmB,MAAM,EAAE;EACV,CAAC;EACDjB,gBAAgB,EAAE;IAChBI,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/Ba,YAAY,EAAE;EAChB;AACF,CAAC,CAAC"}
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { Pressable } from 'react-native';
|
|
2
|
-
import { Icon } from '../../components/wui-icon';
|
|
3
|
-
import { Image } from '../../components/wui-image';
|
|
4
|
-
import { Text } from '../../components/wui-text';
|
|
5
|
-
import { useTheme } from '../../hooks/useTheme';
|
|
6
|
-
import { FlexView } from '../../layout/wui-flex';
|
|
7
|
-
import { UiUtil } from '../../utils/UiUtil';
|
|
8
|
-
import styles from './styles';
|
|
9
|
-
export function ListToken({
|
|
10
|
-
imageSrc,
|
|
11
|
-
networkSrc,
|
|
12
|
-
name,
|
|
13
|
-
value,
|
|
14
|
-
amount,
|
|
15
|
-
currency,
|
|
16
|
-
onPress
|
|
17
|
-
}) {
|
|
18
|
-
const Theme = useTheme();
|
|
19
|
-
return /*#__PURE__*/React.createElement(Pressable, {
|
|
20
|
-
onPress: onPress
|
|
21
|
-
}, /*#__PURE__*/React.createElement(FlexView, {
|
|
22
|
-
flexDirection: "row",
|
|
23
|
-
justifyContent: "space-between",
|
|
24
|
-
alignItems: "center",
|
|
25
|
-
padding: ['2xs', 'm', '2xs', 'xs']
|
|
26
|
-
}, /*#__PURE__*/React.createElement(FlexView, {
|
|
27
|
-
flexDirection: "row",
|
|
28
|
-
alignItems: "center"
|
|
29
|
-
}, imageSrc ? /*#__PURE__*/React.createElement(Image, {
|
|
30
|
-
source: imageSrc,
|
|
31
|
-
style: [styles.image, {
|
|
32
|
-
backgroundColor: Theme['gray-glass-005']
|
|
33
|
-
}]
|
|
34
|
-
}) : /*#__PURE__*/React.createElement(FlexView, {
|
|
35
|
-
style: [styles.image, {
|
|
36
|
-
backgroundColor: Theme['gray-glass-005']
|
|
37
|
-
}],
|
|
38
|
-
alignItems: "center",
|
|
39
|
-
justifyContent: "center"
|
|
40
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
41
|
-
name: "coinPlaceholder",
|
|
42
|
-
size: "lg",
|
|
43
|
-
color: "fg-200"
|
|
44
|
-
})), /*#__PURE__*/React.createElement(FlexView, {
|
|
45
|
-
alignItems: "center",
|
|
46
|
-
justifyContent: "center",
|
|
47
|
-
style: [styles.networkImageContainer, {
|
|
48
|
-
borderColor: Theme['bg-100'],
|
|
49
|
-
backgroundColor: Theme['bg-200']
|
|
50
|
-
}]
|
|
51
|
-
}, networkSrc ? /*#__PURE__*/React.createElement(Image, {
|
|
52
|
-
source: networkSrc,
|
|
53
|
-
style: styles.networkImage
|
|
54
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
55
|
-
name: "networkPlaceholder",
|
|
56
|
-
size: "xxs",
|
|
57
|
-
color: "fg-200"
|
|
58
|
-
})), /*#__PURE__*/React.createElement(FlexView, {
|
|
59
|
-
padding: ['0', 's', '0', 's']
|
|
60
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
61
|
-
color: "fg-100",
|
|
62
|
-
variant: "paragraph-500"
|
|
63
|
-
}, name), /*#__PURE__*/React.createElement(Text, {
|
|
64
|
-
variant: "small-400",
|
|
65
|
-
color: "fg-200"
|
|
66
|
-
}, UiUtil.formatNumberToLocalString(amount, 4), " ", currency))), /*#__PURE__*/React.createElement(Text, {
|
|
67
|
-
color: "fg-100",
|
|
68
|
-
variant: "paragraph-500"
|
|
69
|
-
}, "$", value?.toFixed(2) ?? '0.00')));
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Pressable","Icon","Image","Text","useTheme","FlexView","UiUtil","styles","ListToken","imageSrc","networkSrc","name","value","amount","currency","onPress","Theme","React","createElement","flexDirection","justifyContent","alignItems","padding","source","style","image","backgroundColor","size","color","networkImageContainer","borderColor","networkImage","variant","formatNumberToLocalString","toFixed"],"sourceRoot":"../../../../src","sources":["composites/wui-list-token/index.tsx"],"mappings":"AAAA,SAASA,SAAS,QAAQ,cAAc;AACxC,SAASC,IAAI,QAAQ,2BAA2B;AAChD,SAASC,KAAK,QAAQ,4BAA4B;AAClD,SAASC,IAAI,QAAQ,2BAA2B;AAChD,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,MAAM,QAAQ,oBAAoB;AAC3C,OAAOC,MAAM,MAAM,UAAU;AAY7B,OAAO,SAASC,SAASA,CAAC;EACxBC,QAAQ;EACRC,UAAU;EACVC,IAAI;EACJC,KAAK;EACLC,MAAM;EACNC,QAAQ;EACRC;AACc,CAAC,EAAE;EACjB,MAAMC,KAAK,GAAGZ,QAAQ,CAAC,CAAC;EAExB,oBACEa,KAAA,CAAAC,aAAA,CAAClB,SAAS;IAACe,OAAO,EAAEA;EAAQ,gBAC1BE,KAAA,CAAAC,aAAA,CAACb,QAAQ;IACPc,aAAa,EAAC,KAAK;IACnBC,cAAc,EAAC,eAAe;IAC9BC,UAAU,EAAC,QAAQ;IACnBC,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,IAAI;EAAE,gBAEnCL,KAAA,CAAAC,aAAA,CAACb,QAAQ;IAACc,aAAa,EAAC,KAAK;IAACE,UAAU,EAAC;EAAQ,GAC9CZ,QAAQ,gBACPQ,KAAA,CAAAC,aAAA,CAAChB,KAAK;IACJqB,MAAM,EAAEd,QAAS;IACjBe,KAAK,EAAE,CAACjB,MAAM,CAACkB,K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,KAAK,EAAC;EAAQ,GACrCtB,MAAM,CAAC2B,yBAAyB,CAACpB,MAAM,EAAE,CAAC,CAAC,EAAC,GAAC,EAACC,QAC3C,CACE,CACF,CAAC,eACXG,KAAA,CAAAC,aAAA,CAACf,IAAI;IAACyB,KAAK,EAAC,QAAQ;IAACI,OAAO,EAAC;EAAe,GAAC,GAC1C,EAACpB,KAAK,EAAEsB,OAAO,CAAC,CAAC,CAAC,IAAI,MACnB,CACE,CACD,CAAC;AAEhB"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
import { BorderRadius, WalletImageSize } from '../../utils/ThemeUtil';
|
|
3
|
-
export default StyleSheet.create({
|
|
4
|
-
image: {
|
|
5
|
-
height: WalletImageSize.sm,
|
|
6
|
-
width: WalletImageSize.sm,
|
|
7
|
-
borderRadius: BorderRadius.full
|
|
8
|
-
},
|
|
9
|
-
networkImageContainer: {
|
|
10
|
-
position: 'absolute',
|
|
11
|
-
bottom: -2,
|
|
12
|
-
left: 24,
|
|
13
|
-
borderWidth: 2,
|
|
14
|
-
borderRadius: BorderRadius.full,
|
|
15
|
-
width: 18,
|
|
16
|
-
height: 18
|
|
17
|
-
},
|
|
18
|
-
networkImage: {
|
|
19
|
-
width: 14,
|
|
20
|
-
height: 14,
|
|
21
|
-
borderRadius: BorderRadius.full
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","BorderRadius","WalletImageSize","create","image","height","sm","width","borderRadius","full","networkImageContainer","position","bottom","left","borderWidth","networkImage"],"sourceRoot":"../../../../src","sources":["composites/wui-list-token/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,YAAY,EAAEC,eAAe,QAAQ,uBAAuB;AAErE,eAAeF,UAAU,CAACG,MAAM,CAAC;EAC/BC,KAAK,EAAE;IACLC,MAAM,EAAEH,eAAe,CAACI,EAAE;IAC1BC,KAAK,EAAEL,eAAe,CAACI,EAAE;IACzBE,YAAY,EAAEP,YAAY,CAACQ;EAC7B,CAAC;EACDC,qBAAqB,EAAE;IACrBC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC,CAAC;IACVC,IAAI,EAAE,EAAE;IACRC,WAAW,EAAE,CAAC;IACdN,YAAY,EAAEP,YAAY,CAACQ,IAAI;IAC/BF,KAAK,EAAE,EAAE;IACTF,MAAM,EAAE;EACV,CAAC;EACDU,YAAY,EAAE;IACZR,KAAK,EAAE,EAAE;IACTF,MAAM,EAAE,EAAE;IACVG,YAAY,EAAEP,YAAY,CAACQ;EAC7B;AACF,CAAC,CAAC"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { Text } from '../../components/wui-text';
|
|
2
|
-
import { FlexView } from '../../layout/wui-flex';
|
|
3
|
-
import { IconBox } from '../wui-icon-box';
|
|
4
|
-
import { TransactionVisual } from '../wui-transaction-visual';
|
|
5
|
-
import { getIcon, getTypeLabel, getIconColor } from './utils';
|
|
6
|
-
import styles from './styles';
|
|
7
|
-
export function ListTransaction({
|
|
8
|
-
date,
|
|
9
|
-
type,
|
|
10
|
-
descriptions,
|
|
11
|
-
images,
|
|
12
|
-
networkSrc,
|
|
13
|
-
style,
|
|
14
|
-
isAllNFT,
|
|
15
|
-
status
|
|
16
|
-
}) {
|
|
17
|
-
const joinSymbol = type === 'trade' ? ' → ' : ' - ';
|
|
18
|
-
return /*#__PURE__*/React.createElement(FlexView, {
|
|
19
|
-
flexDirection: "row",
|
|
20
|
-
alignItems: "center",
|
|
21
|
-
style: style
|
|
22
|
-
}, /*#__PURE__*/React.createElement(TransactionVisual, {
|
|
23
|
-
images: images,
|
|
24
|
-
networkSrc: networkSrc,
|
|
25
|
-
isAllNFT: isAllNFT
|
|
26
|
-
}), /*#__PURE__*/React.createElement(FlexView, {
|
|
27
|
-
flexDirection: "row",
|
|
28
|
-
alignItems: "center",
|
|
29
|
-
style: styles.middleContainer
|
|
30
|
-
}, /*#__PURE__*/React.createElement(FlexView, {
|
|
31
|
-
justifyContent: "center",
|
|
32
|
-
alignItems: "flex-start"
|
|
33
|
-
}, /*#__PURE__*/React.createElement(FlexView, {
|
|
34
|
-
flexDirection: "row",
|
|
35
|
-
alignItems: "center"
|
|
36
|
-
}, type && /*#__PURE__*/React.createElement(IconBox, {
|
|
37
|
-
icon: getIcon(type),
|
|
38
|
-
size: "sm",
|
|
39
|
-
iconColor: getIconColor(status),
|
|
40
|
-
background: true,
|
|
41
|
-
border: true,
|
|
42
|
-
borderColor: "bg-100"
|
|
43
|
-
}), /*#__PURE__*/React.createElement(Text, {
|
|
44
|
-
variant: "paragraph-500",
|
|
45
|
-
color: "fg-100"
|
|
46
|
-
}, getTypeLabel(type))), /*#__PURE__*/React.createElement(Text, {
|
|
47
|
-
variant: "small-400",
|
|
48
|
-
color: "fg-200",
|
|
49
|
-
numberOfLines: 1,
|
|
50
|
-
ellipsizeMode: "tail"
|
|
51
|
-
}, descriptions?.join(joinSymbol)))), /*#__PURE__*/React.createElement(Text, {
|
|
52
|
-
variant: "micro-700",
|
|
53
|
-
color: "fg-300",
|
|
54
|
-
style: styles.date
|
|
55
|
-
}, date));
|
|
56
|
-
}
|
|
57
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Text","FlexView","IconBox","TransactionVisual","getIcon","getTypeLabel","getIconColor","styles","ListTransaction","date","type","descriptions","images","networkSrc","style","isAllNFT","status","joinSymbol","React","createElement","flexDirection","alignItems","middleContainer","justifyContent","icon","size","iconColor","background","border","borderColor","variant","color","numberOfLines","ellipsizeMode","join"],"sourceRoot":"../../../../src","sources":["composites/wui-list-transaction/index.tsx"],"mappings":"AAGA,SAASA,IAAI,QAAQ,2BAA2B;AAChD,SAASC,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,OAAO,QAAQ,iBAAiB;AAC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AQ,GACzC1B,YAAY,CAACK,IAAI,CACd,CACE,CAAC,eACXQ,KAAA,CAAAC,aAAA,CAACnB,IAAI;IAAC8B,OAAO,EAAC,WAAW;IAACC,KAAK,EAAC,QAAQ;IAACC,aAAa,EAAE,CAAE;IAACC,aAAa,EAAC;EAAM,GAC5EtB,YAAY,EAAEuB,IAAI,CAACjB,UAAU,CAC1B,CACE,CACF,CAAC,eACXC,KAAA,CAAAC,aAAA,CAACnB,IAAI;IAAC8B,OAAO,EAAC,WAAW;IAACC,KAAK,EAAC,QAAQ;IAACjB,KAAK,EAAEP,MAAM,CAACE;EAAK,GACzDA,IACG,CACE,CAAC;AAEf"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StyleSheet","create","middleContainer","flex","date","textTransform"],"sourceRoot":"../../../../src","sources":["composites/wui-list-transaction/styles.ts"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,eAAeA,UAAU,CAACC,MAAM,CAAC;EAC/BC,eAAe,EAAE;IACfC,IAAI,EAAE;EACR,CAAC;EACDC,IAAI,EAAE;IACJC,aAAa,EAAE;EACjB;AACF,CAAC,CAAC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
export const getIcon = type => {
|
|
2
|
-
switch (type) {
|
|
3
|
-
case 'approve':
|
|
4
|
-
case 'execute':
|
|
5
|
-
return 'checkmark';
|
|
6
|
-
case 'repay':
|
|
7
|
-
case 'send':
|
|
8
|
-
case 'stake':
|
|
9
|
-
case 'withdraw':
|
|
10
|
-
return 'arrowTop';
|
|
11
|
-
case 'burn':
|
|
12
|
-
case 'cancel':
|
|
13
|
-
return 'close';
|
|
14
|
-
case 'trade':
|
|
15
|
-
return 'swapHorizontal';
|
|
16
|
-
case 'deploy':
|
|
17
|
-
return 'arrowRight';
|
|
18
|
-
default:
|
|
19
|
-
return 'arrowBottom';
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
//Utils
|
|
24
|
-
export const getIconColor = status => {
|
|
25
|
-
switch (status) {
|
|
26
|
-
case 'confirmed':
|
|
27
|
-
return 'success-100';
|
|
28
|
-
case 'failed':
|
|
29
|
-
return 'error-100';
|
|
30
|
-
case 'pending':
|
|
31
|
-
return 'fg-200';
|
|
32
|
-
default:
|
|
33
|
-
return 'fg-200';
|
|
34
|
-
}
|
|
35
|
-
};
|
|
36
|
-
export const getTypeLabel = type => {
|
|
37
|
-
if (!type) {
|
|
38
|
-
return 'Unknown';
|
|
39
|
-
}
|
|
40
|
-
switch (type) {
|
|
41
|
-
case 'approve':
|
|
42
|
-
return 'Approved';
|
|
43
|
-
case 'bought':
|
|
44
|
-
return 'Bought';
|
|
45
|
-
case 'borrow':
|
|
46
|
-
return 'Borrowed';
|
|
47
|
-
case 'burn':
|
|
48
|
-
return 'Burnt';
|
|
49
|
-
case 'cancel':
|
|
50
|
-
return 'Canceled';
|
|
51
|
-
case 'claim':
|
|
52
|
-
return 'Claimed';
|
|
53
|
-
case 'deploy':
|
|
54
|
-
return 'Deployed';
|
|
55
|
-
case 'deposit':
|
|
56
|
-
return 'Deposited';
|
|
57
|
-
case 'execute':
|
|
58
|
-
return 'Executed';
|
|
59
|
-
case 'mint':
|
|
60
|
-
return 'Minted';
|
|
61
|
-
case 'receive':
|
|
62
|
-
return 'Received';
|
|
63
|
-
case 'repay':
|
|
64
|
-
return 'Repaid';
|
|
65
|
-
case 'send':
|
|
66
|
-
return 'Sent';
|
|
67
|
-
case 'stake':
|
|
68
|
-
return 'Staked';
|
|
69
|
-
case 'trade':
|
|
70
|
-
return 'Swapped';
|
|
71
|
-
case 'unstake':
|
|
72
|
-
return 'Unstaked';
|
|
73
|
-
case 'withdraw':
|
|
74
|
-
return 'Withdrawn';
|
|
75
|
-
default:
|
|
76
|
-
return 'Unknown';
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["getIcon","type","getIconColor","status","getTypeLabel"],"sourceRoot":"../../../../src","sources":["composites/wui-list-transaction/utils.ts"],"mappings":"AAGA,OAAO,MAAMA,OAAO,GAAIC,IAAqB,IAAe;EAC1D,QAAQA,IAAI;IACV,KAAK,SAAS;IACd,KAAK,SAAS;MACZ,OAAO,WAAW;IACpB,KAAK,OAAO;IACZ,KAAK,MAAM;IACX,KAAK,OAAO;IACZ,KAAK,UAAU;MACb,OAAO,UAAU;IACnB,KAAK,MAAM;IACX,KAAK,QAAQ;MACX,OAAO,OAAO;IAChB,KAAK,OAAO;MACV,OAAO,gBAAgB;IACzB,KAAK,QAAQ;MACX,OAAO,YAAY;IACrB;MACE,OAAO,aAAa;EACxB;AACF,CAAC;;AAED;AACA,OAAO,MAAMC,YAAY,GAAIC,MAA0B,IAAK;EAC1D,QAAQA,MAAM;IACZ,KAAK,WAAW;MACd,OAAO,aAAa;IACtB,KAAK,QAAQ;MACX,OAAO,WAAW;IACpB,KAAK,SAAS;MACZ,OAAO,QAAQ;IACjB;MACE,OAAO,QAAQ;EACnB;AACF,CAAC;AAED,OAAO,MAAMC,YAAY,GAAIH,IAAsB,IAAK;EACtD,IAAI,CAACA,IAAI,EAAE;IACT,OAAO,SAAS;EAClB;EAEA,QAAQA,IAAI;IACV,KAAK,SAAS;MACZ,OAAO,UAAU;IACnB,KAAK,QAAQ;MACX,OAAO,QAAQ;IACjB,KAAK,QAAQ;MACX,OAAO,UAAU;IACnB,KAAK,MAAM;MACT,OAAO,OAAO;IAChB,KAAK,QAAQ;MACX,OAAO,UAAU;IACnB,KAAK,OAAO;MACV,OAAO,SAAS;IAClB,KAAK,QAAQ;MACX,OAAO,UAAU;IACnB,KAAK,SAAS;MACZ,OAAO,WAAW;IACpB,KAAK,SAAS;MACZ,OAAO,UAAU;IACnB,KAAK,MAAM;MACT,OAAO,QAAQ;IACjB,KAAK,SAAS;MACZ,OAAO,UAAU;IACnB,KAAK,OAAO;MACV,OAAO,QAAQ;IACjB,KAAK,MAAM;MACT,OAAO,MAAM;IACf,KAAK,OAAO;MACV,OAAO,QAAQ;IACjB,KAAK,OAAO;MACV,OAAO,SAAS;IAClB,KAAK,SAAS;MACZ,OAAO,UAAU;IACnB,KAAK,UAAU;MACb,OAAO,WAAW;IACpB;MACE,OAAO,SAAS;EACpB;AACF,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Image } from '../../components/wui-image';
|
|
2
|
-
import { Text } from '../../components/wui-text';
|
|
3
|
-
import { Button } from '../wui-button';
|
|
4
|
-
import styles from './styles';
|
|
5
|
-
export function TokenButton({
|
|
6
|
-
token,
|
|
7
|
-
onPress
|
|
8
|
-
}) {
|
|
9
|
-
if (!token) {
|
|
10
|
-
return /*#__PURE__*/React.createElement(Button, {
|
|
11
|
-
variant: "accent",
|
|
12
|
-
style: styles.selectButton,
|
|
13
|
-
size: "sm",
|
|
14
|
-
onPress: onPress
|
|
15
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
16
|
-
variant: "small-600",
|
|
17
|
-
color: "accent-100"
|
|
18
|
-
}, "Select token"));
|
|
19
|
-
}
|
|
20
|
-
return /*#__PURE__*/React.createElement(Button, {
|
|
21
|
-
variant: "shade",
|
|
22
|
-
style: styles.container,
|
|
23
|
-
size: "sm",
|
|
24
|
-
onPress: onPress
|
|
25
|
-
}, token?.iconUrl && /*#__PURE__*/React.createElement(Image, {
|
|
26
|
-
source: token?.iconUrl,
|
|
27
|
-
style: styles.image
|
|
28
|
-
}), token?.symbol && /*#__PURE__*/React.createElement(Text, null, token.symbol));
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Image","Text","Button","styles","TokenButton","token","onPress","React","createElement","variant","style","selectButton","size","color","container","iconUrl","source","image","symbol"],"sourceRoot":"../../../../src","sources":["composites/wui-token-button/index.tsx"],"mappings":"AACA,SAASA,KAAK,QAAQ,4BAA4B;AAClD,SAASC,IAAI,QAAQ,2BAA2B;AAChD,SAASC,MAAM,QAAQ,eAAe;AACtC,OAAOC,MAAM,MAAM,UAAU;AAO7B,OAAO,SAASC,WAAWA,CAAC;EAAEC,KAAK;EAAEC;AAA0B,CAAC,EAAE;EAChE,IAAI,CAACD,KAAK,EAAE;IACV,oBACEE,KAAA,CAAAC,aAAA,CAACN,MAAM;MAACO,OAAO,EAAC,QAAQ;MAACC,KAAK,EAAEP,MAAM,CAACQ,YAAa;MAACC,IAAI,EAAC,IAAI;MAACN,OAAO,EAAEA;IAAQ,gBAC9EC,KAAA,CAAAC,aAAA,CAACP,IAAI;MAACQ,OAAO,EAAC,WAAW;MAACI,KAAK,EAAC;IAAY,GAAC,cAEvC,CACA,CAAC;EAEb;EAEA,oBACEN,KAAA,CAAAC,aAAA,CAACN,MAAM;IAACO,OAAO,EAAC,OAAO;IAACC,KAAK,EAAEP,MAAM,CAACW,SAAU;IAACF,IAAI,EAAC,IAAI;IAACN,OAAO,EAAEA;EAAQ,GACzED,KAAK,EAAEU,OAAO,iBAAIR,KAAA,CAAAC,aAAA,CAACR,KAAK;IAACgB,MAAM,EAAEX,KAAK,EAAEU,OAAQ;IAACL,KAAK,EAAEP,MAAM,CAACc;EAAM,CAAE,CAAC,EACxEZ,KAAK,EAAEa,MAAM,iBAAIX,KAAA,CAAAC,aAAA,CAACP,IAAI,QAAEI,KAAK,CAACa,MAAa,CACtC,CAAC;AAEb"}
|
|
@@ -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","networkImage"],"sourceRoot":"../../../../src","sources":["composites/wui-transaction-visual/index.tsx"],"mappings":"AAEA,SAASA,QAAQ,QAAQ,uBAAuB;AAChD,SAASC,IAAI,QAAQ,2BAA2B;AAChD,SAASC,KAAK,QAAQ,4BAA4B;AAClD,SAASC,QAAQ,QAAQ,sBAAsB;AAC/C,OAAOC,MAAM,MAAM,UAAU;AAQ7B,OAAO,SAASC,iBAAiBA,CAAC;EAAEC,MAAM;EAAEC,UAAU;EAAEC;AAAiC,CAAC,EAAE;EAC1F,MAAMC,KAAK,GAAGN,QAAQ,CAAC,CAAC;EACxB,MAAMO,eAAe,GAAGD,KAAK,CAAC,QAAQ,CAAC;EACvC,MAAME,UAAU,GAAGC,OAAO,CAACN,MAAM,GAAG,CAAC,CAAC,EAAEO,IAAI,KAAK,KAAK,CAAC;EACvD,MAAMC,cAAc,GAAGR,MAAM,EAAES,MAAM,CAACC,KAAK,IAAIA,KAAK,CAACC,GAAG,CAAC;EACzD,MAAM,CAACC,UAAU,EAAEC,WAAW,CAAC,GAAGL,cAAc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ACvB,MAAM,CAACY,KAAK,EAAER,QAAQ,IAAIJ,MAAM,CAAC4B,QAAQ,EAAE;MAAEtB;IAAgB,CAAC;EAAE,CACzE,CACO,CAAC,eACXa,KAAA,CAAAC,aAAA,CAACxB,QAAQ;IAAC2B,KAAK,EAAEvB,MAAM,CAAC+B;EAAc,gBACpCZ,KAAA,CAAAC,aAAA,CAACtB,KAAK;IACJ6B,MAAM,EAAEZ,WAAW,CAACF,GAAI;IACxBU,KAAK,EAAE,CACLvB,MAAM,CAACY,KAAK,EACZZ,MAAM,CAACgC,SAAS,EAChB5B,QAAQ,IAAIJ,MAAM,CAAC4B,QAAQ,EAC3B;MAAEtB;IAAgB,CAAC;EACnB,CACH,CACO,CACF,CACX,eACDa,KAAA,CAAAC,aAAA,CAACxB,QAAQ;IACPyB,UAAU,EAAC,QAAQ;IACnBC,cAAc,EAAC,QAAQ;IACvBC,KAAK,EAAE,CACLvB,MAAM,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"}
|