@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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-item/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-list-item/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAiCG"}
|
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
3
2
|
export interface NetworkButtonProps {
|
|
4
|
-
children: string
|
|
3
|
+
children: string;
|
|
5
4
|
onPress: () => void;
|
|
6
|
-
background?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
5
|
imageSrc?: string;
|
|
9
6
|
imageHeaders?: Record<string, string>;
|
|
10
|
-
|
|
7
|
+
disabled?: boolean;
|
|
11
8
|
style?: StyleProp<ViewStyle>;
|
|
9
|
+
loading?: boolean;
|
|
12
10
|
}
|
|
13
|
-
export declare function NetworkButton({
|
|
11
|
+
export declare function NetworkButton({ imageSrc, imageHeaders, disabled, onPress, style, loading, children }: NetworkButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
14
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-button/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAYnF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,OAAO,EACP,KAAK,EACL,OAAO,EACP,QAAQ,EACT,EAAE,kBAAkB,2CAgCpB"}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import type { StyleProp, ViewStyle } from 'react-native';
|
|
2
1
|
import type { SizeType } from '../../utils/TypesUtil';
|
|
3
2
|
export interface NetworkImageProps {
|
|
4
3
|
imageSrc?: string;
|
|
5
4
|
imageHeaders?: Record<string, string>;
|
|
6
5
|
selected?: boolean;
|
|
7
|
-
size?: Exclude<SizeType, 'xl' | 'xxs'>;
|
|
6
|
+
size?: Exclude<SizeType, 'xl' | 'sm' | 'xs' | 'xxs'>;
|
|
8
7
|
disabled?: boolean;
|
|
9
|
-
style?: StyleProp<ViewStyle>;
|
|
10
|
-
borderColor?: string;
|
|
11
|
-
borderWidth?: number;
|
|
12
8
|
}
|
|
13
|
-
export declare function NetworkImage({ imageSrc, imageHeaders, disabled, selected, size
|
|
9
|
+
export declare function NetworkImage({ imageSrc, imageHeaders, disabled, selected, size }: NetworkImageProps): import("react/jsx-runtime").JSX.Element;
|
|
14
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-image/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-image/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,MAAM,WAAW,iBAAiB;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,OAAO,CAAC,QAAQ,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC,CAAC;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,QAAQ,EACR,IAAW,EACZ,EAAE,iBAAiB,2CA6BnB"}
|
|
@@ -1,5 +1,3 @@
|
|
|
1
1
|
export declare const PathLg = "M41.1429 4.01705C45.3861 1.56723 50.6139 1.56723 54.8572 4.01705L82.7121 20.0991C86.9553 22.5489 89.5692 27.0764 89.5692 31.976V64.1401C89.5692 69.0398 86.9553 73.5672 82.7121 76.0171L54.8571 92.0991C50.6139 94.5489 45.3861 94.5489 41.1429 92.0991L13.2879 76.0171C9.04471 73.5672 6.43079 69.0398 6.43079 64.1401V31.976C6.43079 27.0764 9.04471 22.5489 13.2879 20.0991L41.1429 4.01705Z";
|
|
2
2
|
export declare const PathNormal = "M24.0002 2.34328C26.4754 0.914219 29.525 0.914219 32.0002 2.34328L48.2489 11.7245C50.7241 13.1535 52.2489 15.7946 52.2489 18.6527V37.4151C52.2489 40.2732 50.7241 42.9142 48.2489 44.3433L32.0002 53.7245C29.525 55.1535 26.4754 55.1535 24.0002 53.7245L7.75146 44.3433C5.27625 42.9142 3.75146 40.2732 3.75146 37.4151V18.6527C3.75146 15.7946 5.27626 13.1535 7.75146 11.7245L24.0002 2.34328Z";
|
|
3
|
-
export declare const PathSmall = "M17.1428 1.67377C18.9108 0.653013 21.0891 0.653014 22.8571 1.67377L34.4633 8.37463C36.2313 9.39539 37.3205 11.2818 37.3205 13.3233V26.7251C37.3205 28.7666 36.2313 30.653 34.4633 31.6738L22.8571 38.3746C21.0891 39.3954 18.9108 39.3954 17.1428 38.3746L5.53659 31.6738C3.76858 30.653 2.67944 28.7666 2.67944 26.7251V13.3233C2.67944 11.2818 3.76858 9.39539 5.53659 8.37463L17.1428 1.67377Z";
|
|
4
|
-
export declare const PathXS = "M8.57153 0.836886C9.45553 0.326507 10.5447 0.326507 11.4287 0.836886L17.2318 4.18731C18.1158 4.69769 18.6604 5.64091 18.6604 6.66167V13.3625C18.6604 14.3833 18.1158 15.3265 17.2318 15.8369L11.4287 19.1873C10.5447 19.6977 9.45553 19.6977 8.57153 19.1873L2.76841 15.8369C1.88441 15.3265 1.33984 14.3833 1.33984 13.3625V6.66167C1.33984 5.64091 1.88441 4.69769 2.76841 4.18731L8.57153 0.836886Z";
|
|
5
3
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-image/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,oYACgX,CAAC;AAEpY,eAAO,MAAM,UAAU,sYAC8W,CAAC
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-network-image/styles.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,MAAM,oYACgX,CAAC;AAEpY,eAAO,MAAM,UAAU,sYAC8W,CAAC"}
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
1
|
export interface QrCodeProps {
|
|
3
2
|
size: number;
|
|
4
3
|
uri?: string;
|
|
5
4
|
imageSrc?: string;
|
|
6
5
|
testID?: string;
|
|
7
|
-
arenaClear?: boolean;
|
|
8
|
-
style?: StyleProp<ViewStyle>;
|
|
9
6
|
}
|
|
10
|
-
export declare function QrCode({ size, uri, imageSrc, testID
|
|
7
|
+
export declare function QrCode({ size, uri, imageSrc, testID }: QrCodeProps): import("react/jsx-runtime").JSX.Element;
|
|
11
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/index.tsx"],"names":[],"mappings":"AAYA,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,WAAW,2CA6DlE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-snackbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGxE,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-snackbar/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAGxE,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAIjE,MAAM,WAAW,aAAa;IAC5B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,SAAS,CAAC;IACrB,IAAI,EAAE,QAAQ,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,aAAa,2CAiB1E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-snackbar/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-snackbar/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAEA,wBAYG"}
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { type StyleProp, type ViewStyle } from 'react-native';
|
|
2
1
|
import type { TabOptionType } from '../../utils/TypesUtil';
|
|
3
2
|
export interface TabsProps {
|
|
4
3
|
onTabChange: (index: number) => void;
|
|
5
|
-
tabs: TabOptionType[]
|
|
6
|
-
style?: StyleProp<ViewStyle>;
|
|
4
|
+
tabs: TabOptionType[];
|
|
7
5
|
}
|
|
8
|
-
export declare function Tabs({ tabs, onTabChange
|
|
6
|
+
export declare function Tabs({ tabs, onTabChange }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
9
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-tabs/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-tabs/index.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAG3D,MAAM,WAAW,SAAS;IACxB,WAAW,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,IAAI,EAAE,aAAa,EAAE,CAAC;CACvB;AAED,wBAAgB,IAAI,CAAC,EAAE,IAAI,EAAE,WAAW,EAAE,EAAE,SAAS,2CAqDpD"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
2
|
container: {
|
|
3
3
|
height: number;
|
|
4
|
-
width: "100%";
|
|
5
4
|
flexDirection: "row";
|
|
6
5
|
alignItems: "center";
|
|
7
6
|
paddingHorizontal: number;
|
|
@@ -11,6 +10,7 @@ declare const _default: {
|
|
|
11
10
|
flexDirection: "row";
|
|
12
11
|
justifyContent: "center";
|
|
13
12
|
alignItems: "center";
|
|
13
|
+
width: number;
|
|
14
14
|
paddingVertical: number;
|
|
15
15
|
};
|
|
16
16
|
tabIcon: {
|
|
@@ -19,6 +19,7 @@ declare const _default: {
|
|
|
19
19
|
activeMark: {
|
|
20
20
|
position: "absolute";
|
|
21
21
|
height: number;
|
|
22
|
+
width: number;
|
|
22
23
|
borderWidth: number;
|
|
23
24
|
borderRadius: number;
|
|
24
25
|
margin: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-tabs/styles.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-tabs/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBA0BG"}
|
|
@@ -8,16 +8,12 @@ export { Text, type TextProps } from './components/wui-text';
|
|
|
8
8
|
export { Visual, type VisualProps } from './components/wui-visual';
|
|
9
9
|
export { Shimmer, type ShimmerProps } from './components/wui-shimmer';
|
|
10
10
|
export { AccountButton, type AccountButtonProps } from './composites/wui-account-button';
|
|
11
|
-
export { AccountPill, type AccountPillProps } from './composites/wui-account-pill';
|
|
12
11
|
export { ActionEntry, type ActionEntryProps } from './composites/wui-action-entry';
|
|
13
12
|
export { Avatar, type AvatarProps } from './composites/wui-avatar';
|
|
14
|
-
export { Balance, type BalanceProps } from './composites/wui-balance';
|
|
15
|
-
export { Banner, type BannerProps } from './composites/wui-banner';
|
|
16
13
|
export { Button, type ButtonProps } from './composites/wui-button';
|
|
17
14
|
export { CardSelectLoader, CardSelectLoaderHeight, type CardSelectLoaderProps } from './composites/wui-card-select-loader';
|
|
18
15
|
export { CardSelect, CardSelectHeight, CardSelectWidth, type CardSelectProps } from './composites/wui-card-select';
|
|
19
16
|
export { Chip, type ChipProps } from './composites/wui-chip';
|
|
20
|
-
export { CompatibleNetwork, type CompatibleNetworkProps } from './composites/wui-compatible-network';
|
|
21
17
|
export { ConnectButton, type ConnectButtonProps } from './composites/wui-connect-button';
|
|
22
18
|
export { EmailInput, type EmailInputProps } from './composites/wui-email-input';
|
|
23
19
|
export { IconBox, type IconBoxProps } from './composites/wui-icon-box';
|
|
@@ -27,8 +23,6 @@ export { InputNumeric, type InputNumericProps } from './composites/wui-input-num
|
|
|
27
23
|
export { InputText, type InputTextProps } from './composites/wui-input-text';
|
|
28
24
|
export { Link, type LinkProps } from './composites/wui-link';
|
|
29
25
|
export { ListItem, type ListItemProps } from './composites/wui-list-item';
|
|
30
|
-
export { ListToken, type ListTokenProps } from './composites/wui-list-token';
|
|
31
|
-
export { ListTransaction, type ListTransactionProps } from './composites/wui-list-transaction';
|
|
32
26
|
export { ListWallet, type ListWalletProps } from './composites/wui-list-wallet';
|
|
33
27
|
export { Logo, type LogoProps } from './composites/wui-logo';
|
|
34
28
|
export { LogoSelect, type LogoSelectProps } from './composites/wui-logo-select';
|
|
@@ -40,7 +34,6 @@ export { SearchBar, type SearchBarProps } from './composites/wui-search-bar';
|
|
|
40
34
|
export { Snackbar, type SnackbarProps } from './composites/wui-snackbar';
|
|
41
35
|
export { Tabs, type TabsProps } from './composites/wui-tabs';
|
|
42
36
|
export { Tag, type TagProps } from './composites/wui-tag';
|
|
43
|
-
export { TokenButton, type TokenButtonProps } from './composites/wui-token-button';
|
|
44
37
|
export { Tooltip, type TooltipProps } from './composites/wui-tooltip';
|
|
45
38
|
export { WalletImage, type WalletImageProps } from './composites/wui-wallet-image';
|
|
46
39
|
export { Overlay, type OverlayProps } from './layout/wui-overlay';
|
|
@@ -48,7 +41,6 @@ export { FlexView, type FlexViewProps } from './layout/wui-flex';
|
|
|
48
41
|
export { Separator } from './layout/wui-separator';
|
|
49
42
|
export type { ButtonType, CardSelectType, ChipType, ColorType, ThemeKeys as ThemeColorType, IconType, LogoType, PlacementType, SizeType, TagType, TextType, VisualType } from './utils/TypesUtil';
|
|
50
43
|
export { UiUtil } from './utils/UiUtil';
|
|
51
|
-
export { TransactionUtil } from './utils/TransactionUtil';
|
|
52
44
|
export { Spacing, BorderRadius } from './utils/ThemeUtil';
|
|
53
45
|
export { useTheme } from './hooks/useTheme';
|
|
54
46
|
export { useAnimatedValue } from './hooks/useAnimatedValue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAC5F,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAA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AAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ThemeUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,SAAS,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAuEnD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAuEpD,CAAC;AAEF,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"ThemeUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/ThemeUtil.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE1D,eAAO,MAAM,SAAS,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAuEnD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE;KAAG,GAAG,IAAI,SAAS,GAAG,MAAM;CAuEpD,CAAC;AAEF,eAAO,MAAM,YAAY;;;;;;;;;;CAUxB,CAAC;AAEF,eAAO,MAAM,QAAQ;;;;;;CAMpB,CAAC;AAEF,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE;KAAG,CAAC,IAAI,WAAW,GAAG,MAAM;CAajD,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;CAM3B,CAAC"}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
export type ThemeKeys = 'accent-100' | 'accent-090' | 'accent-080' | 'accent-020' | 'accent-glass-090' | 'accent-glass-080' | 'accent-glass-020' | 'accent-glass-015' | 'accent-glass-010' | 'accent-glass-005' | 'accent-glass-002' | 'fg-100' | 'fg-125' | 'fg-150' | 'fg-175' | 'fg-200' | 'fg-225' | 'fg-250' | 'fg-275' | 'fg-300' | 'bg-100' | 'bg-125' | 'bg-150' | 'bg-175' | 'bg-200' | 'bg-225' | 'bg-250' | 'bg-275' | 'bg-300' | 'inverse-100' | 'inverse-000' | 'success-100' | 'success-glass-020' | 'success-glass-015' | 'success-glass-010' | 'success-glass-005' | 'error-100' | 'error-glass-020' | 'error-glass-015' | 'error-glass-010' | 'error-glass-005' | 'teal-100' | 'magenta-100' | 'indigo-100' | 'orange-100' | 'purple-100' | 'yellow-100' | 'gray-glass-001' | 'gray-glass-002' | 'gray-glass-005' | 'gray-glass-010' | 'gray-glass-015' | 'gray-glass-020' | 'gray-glass-025' | 'gray-glass-030' | 'gray-glass-060' | 'gray-glass-070' | 'gray-glass-080' | 'gray-glass-090' | 'icon-box-bg-error-100' | 'icon-box-bg-success-100';
|
|
2
2
|
export type TextType = 'medium-title-400' | 'medium-title-500' | 'medium-title-600' | 'small-title-400' | 'small-title-500' | 'small-title-600' | 'large-400' | 'large-500' | 'large-600' | 'medium-400' | 'medium-500' | 'medium-600' | 'paragraph-400' | 'paragraph-500' | 'paragraph-600' | 'small-400' | 'small-500' | 'small-600' | 'tiny-400' | 'tiny-500' | 'tiny-600' | 'micro-600' | 'micro-700';
|
|
3
|
-
export type ColorType = 'accent-100' | 'error-100' | 'fg-100' | 'fg-150' | 'fg-
|
|
3
|
+
export type ColorType = 'accent-100' | 'error-100' | 'fg-100' | 'fg-150' | 'fg-200' | 'fg-250' | 'fg-275' | 'fg-300' | 'gray-glass-020' | 'inverse-000' | 'inverse-100' | 'success-100';
|
|
4
4
|
export type SizeType = 'xl' | 'lg' | 'md' | 'sm' | 'xs' | 'xxs';
|
|
5
5
|
export type PlacementType = 'bottom' | 'left' | 'right' | 'top';
|
|
6
6
|
export type ButtonType = 'accent' | 'fill' | 'shade';
|
|
7
7
|
export type ChipType = 'fill' | 'shade' | 'transparent';
|
|
8
|
-
export type IconType = 'allWallets' | 'apple' | 'arrowBottom' | '
|
|
8
|
+
export type IconType = 'allWallets' | 'apple' | 'arrowBottom' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'browser' | 'checkmark' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronRightSmall' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'copySmall' | 'cursor' | 'desktop' | 'disconnect' | 'discord' | 'etherscan' | 'extension' | 'externalLink' | 'facebook' | 'filters' | 'github' | 'google' | 'helpCircle' | 'infoCircle' | 'mail' | 'mobile' | 'networkPlaceholder' | 'nftPlaceholder' | 'off' | 'qrCode' | 'refresh' | 'search' | 'swapHorizontal' | 'swapVertical' | 'telegram' | 'twitch' | 'twitter' | 'twitterIcon' | 'verify' | 'wallet' | 'walletSmall' | 'walletConnect' | 'walletPlaceholder' | 'warningCircle';
|
|
9
9
|
export type VisualType = 'browser' | 'dao' | 'defi' | 'defiAlt' | 'eth' | 'layers' | 'lock' | 'login' | 'network' | 'nft' | 'noun' | 'profile' | 'system';
|
|
10
10
|
export type LogoType = 'apple' | 'discord' | 'facebook' | 'github' | 'google' | 'telegram' | 'twitch' | 'twitter';
|
|
11
11
|
export type TagType = 'main' | 'shade' | 'error' | 'success';
|
|
12
12
|
export type CardSelectType = 'wallet' | 'network';
|
|
13
13
|
export type TabOptionType = {
|
|
14
14
|
icon: IconType;
|
|
15
|
-
label
|
|
15
|
+
label: string;
|
|
16
16
|
};
|
|
17
17
|
export type SpacingType = '0' | '4xs' | '3xs' | '2xs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl';
|
|
18
18
|
export type BorderRadiusType = Exclude<SpacingType, 'xl' | 'xxl'>;
|
|
@@ -29,5 +29,4 @@ export type TruncateOptions = {
|
|
|
29
29
|
charsEnd: number;
|
|
30
30
|
truncate: TruncateType;
|
|
31
31
|
};
|
|
32
|
-
export type TransactionType = 'approve' | 'bought' | 'borrow' | 'burn' | 'cancel' | 'claim' | 'deploy' | 'deposit' | 'execute' | 'mint' | 'receive' | 'repay' | 'send' | 'stake' | 'trade' | 'unstake' | 'withdraw';
|
|
33
32
|
//# sourceMappingURL=TypesUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TypesUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/TypesUtil.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,aAAa,GACb,aAAa,GACb,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,WAAW,GACX,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,UAAU,GACV,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,uBAAuB,GACvB,yBAAyB,CAAC;AAE9B,MAAM,MAAM,QAAQ,GAChB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,WAAW,GACX,WAAW,GACX,WAAW,GACX,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,eAAe,GACf,eAAe,GACf,eAAe,GACf,WAAW,GACX,WAAW,GACX,WAAW,GACX,UAAU,GACV,UAAU,GACV,UAAU,GACV,WAAW,GACX,WAAW,CAAC;AAEhB,MAAM,MAAM,SAAS,GACjB,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,
|
|
1
|
+
{"version":3,"file":"TypesUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/TypesUtil.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,SAAS,GACjB,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,kBAAkB,GAClB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,aAAa,GACb,aAAa,GACb,aAAa,GACb,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,WAAW,GACX,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,iBAAiB,GACjB,UAAU,GACV,aAAa,GACb,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,uBAAuB,GACvB,yBAAyB,CAAC;AAE9B,MAAM,MAAM,QAAQ,GA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,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;AAE1F,MAAM,MAAM,sBAAsB,GAC9B,QAAQ,GACR,UAAU,GACV,YAAY,GACZ,cAAc,GACd,eAAe,GACf,cAAc,CAAC;AAEnB,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAEtD,MAAM,MAAM,eAAe,GAAG;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,YAAY,CAAC;CACxB,CAAC"}
|
|
@@ -6,6 +6,5 @@ export declare const UiUtil: {
|
|
|
6
6
|
tintColor(rgb: [number, number, number], tint: number): [number, number, number];
|
|
7
7
|
getTruncateString({ string, charsStart, charsEnd, truncate }: TruncateOptions): string;
|
|
8
8
|
getWalletName(name: string, short?: boolean): string | undefined;
|
|
9
|
-
formatNumberToLocalString(value: string | number | undefined, decimals?: number): string;
|
|
10
9
|
};
|
|
11
10
|
//# sourceMappingURL=UiUtil.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/UiUtil.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,eAAO,MAAM,MAAM;8BACS,WAAW,GAAG,WAAW,EAAE,SAAS,MAAM;mCAUrC,MAAM;kBAiBvB,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;mBAUhC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,QAAQ,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;kEASlB,eAAe;wBAgBzD,MAAM;
|
|
1
|
+
{"version":3,"file":"UiUtil.d.ts","sourceRoot":"","sources":["../../../src/utils/UiUtil.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEhE,eAAO,MAAM,MAAM;8BACS,WAAW,GAAG,WAAW,EAAE,SAAS,MAAM;mCAUrC,MAAM;kBAiBvB,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;mBAUhC,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,QAAQ,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC;kEASlB,eAAe;wBAgBzD,MAAM;CAG3B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reown/appkit-ui-react-native",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-fix-email-login-20241010173711",
|
|
4
4
|
"main": "lib/commonjs/index.js",
|
|
5
5
|
"types": "lib/typescript/index.d.ts",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -26,12 +26,12 @@
|
|
|
26
26
|
"walletconnect",
|
|
27
27
|
"react-native"
|
|
28
28
|
],
|
|
29
|
-
"repository": "https://github.com/
|
|
29
|
+
"repository": "https://github.com/WalletConnect/web3modal-react-native",
|
|
30
30
|
"author": "Reown <support@reown.com> (https://reown.com)",
|
|
31
|
-
"homepage": "https://
|
|
31
|
+
"homepage": "https://github.com/WalletConnect/web3modal-react-native",
|
|
32
32
|
"license": "Apache-2.0",
|
|
33
33
|
"bugs": {
|
|
34
|
-
"url": "https://github.com/
|
|
34
|
+
"url": "https://github.com/WalletConnect/web3modal-react-native/issues"
|
|
35
35
|
},
|
|
36
36
|
"publishConfig": {
|
|
37
37
|
"registry": "https://registry.npmjs.org/",
|
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#### 📚 [Documentation](https://docs.reown.com/appkit/react-native/core/installation)
|
|
2
2
|
|
|
3
|
-
#### 🔎 [Examples](https://github.com/
|
|
3
|
+
#### 🔎 [Examples](https://github.com/WalletConnect/react-native-examples)
|
|
4
4
|
|
|
5
5
|
#### 🔗 [Website](https://reown.com/appkit)
|
|
6
6
|
|
|
@@ -5,7 +5,6 @@ import type { ColorType, IconType, SizeType, ThemeKeys } from '../../utils/Types
|
|
|
5
5
|
import AllWalletsSvg from '../../assets/svg/AllWallets';
|
|
6
6
|
import AppleSvg from '../../assets/svg/Apple';
|
|
7
7
|
import ArrowBottomSvg from '../../assets/svg/ArrowBottom';
|
|
8
|
-
import ArrowBottomCircleSvg from '../../assets/svg/ArrowBottomCircle';
|
|
9
8
|
import ArrowLeftSvg from '../../assets/svg/ArrowLeft';
|
|
10
9
|
import ArrowRightSvg from '../../assets/svg/ArrowRight';
|
|
11
10
|
import ArrowTopSvg from '../../assets/svg/ArrowTop';
|
|
@@ -40,7 +39,6 @@ import MobileSvg from '../../assets/svg/Mobile';
|
|
|
40
39
|
import NetworkPlaceholderSvg from '../../assets/svg/NetworkPlaceholder';
|
|
41
40
|
import NftPlaceholderSvg from '../../assets/svg/NftPlaceholder';
|
|
42
41
|
import OffSvg from '../../assets/svg/Off';
|
|
43
|
-
import PaperplaneSvg from '../../assets/svg/Paperplane';
|
|
44
42
|
import QrCodeSvg from '../../assets/svg/QrCode';
|
|
45
43
|
import RefreshSvg from '../../assets/svg/Refresh';
|
|
46
44
|
import SearchSvg from '../../assets/svg/Search';
|
|
@@ -63,7 +61,6 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
|
|
|
63
61
|
allWallets: AllWalletsSvg,
|
|
64
62
|
apple: AppleSvg,
|
|
65
63
|
arrowBottom: ArrowBottomSvg,
|
|
66
|
-
arrowBottomCircle: ArrowBottomCircleSvg,
|
|
67
64
|
arrowLeft: ArrowLeftSvg,
|
|
68
65
|
arrowRight: ArrowRightSvg,
|
|
69
66
|
arrowTop: ArrowTopSvg,
|
|
@@ -98,7 +95,6 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
|
|
|
98
95
|
networkPlaceholder: NetworkPlaceholderSvg,
|
|
99
96
|
nftPlaceholder: NftPlaceholderSvg,
|
|
100
97
|
off: OffSvg,
|
|
101
|
-
paperplane: PaperplaneSvg,
|
|
102
98
|
qrCode: QrCodeSvg,
|
|
103
99
|
refresh: RefreshSvg,
|
|
104
100
|
search: SearchSvg,
|
|
@@ -15,7 +15,7 @@ export interface AccountButtonProps {
|
|
|
15
15
|
imageHeaders?: Record<string, string>;
|
|
16
16
|
avatarSrc?: string;
|
|
17
17
|
address?: string;
|
|
18
|
-
|
|
18
|
+
isProfileName?: boolean;
|
|
19
19
|
balance?: string;
|
|
20
20
|
onPress?: () => void;
|
|
21
21
|
disabled?: boolean;
|
|
@@ -28,7 +28,7 @@ export function AccountButton({
|
|
|
28
28
|
imageHeaders,
|
|
29
29
|
avatarSrc,
|
|
30
30
|
address,
|
|
31
|
-
|
|
31
|
+
isProfileName,
|
|
32
32
|
balance,
|
|
33
33
|
onPress,
|
|
34
34
|
disabled,
|
|
@@ -73,20 +73,6 @@ export function AccountButton({
|
|
|
73
73
|
return null;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
const formattedAddress = profileName
|
|
77
|
-
? UiUtil.getTruncateString({
|
|
78
|
-
string: profileName,
|
|
79
|
-
charsStart: 18,
|
|
80
|
-
charsEnd: 0,
|
|
81
|
-
truncate: 'end'
|
|
82
|
-
})
|
|
83
|
-
: UiUtil.getTruncateString({
|
|
84
|
-
string: address || '',
|
|
85
|
-
charsStart: 4,
|
|
86
|
-
charsEnd: 6,
|
|
87
|
-
truncate: 'middle'
|
|
88
|
-
});
|
|
89
|
-
|
|
90
76
|
return (
|
|
91
77
|
<AnimatedPressable
|
|
92
78
|
onPress={onPress}
|
|
@@ -116,7 +102,12 @@ export function AccountButton({
|
|
|
116
102
|
/>
|
|
117
103
|
{address && (
|
|
118
104
|
<Text variant="paragraph-500" color="fg-200" style={styles.address}>
|
|
119
|
-
{
|
|
105
|
+
{UiUtil.getTruncateString({
|
|
106
|
+
string: address,
|
|
107
|
+
charsStart: isProfileName ? 18 : 4,
|
|
108
|
+
charsEnd: isProfileName ? 0 : 6,
|
|
109
|
+
truncate: isProfileName ? 'end' : 'middle'
|
|
110
|
+
})}
|
|
120
111
|
</Text>
|
|
121
112
|
)}
|
|
122
113
|
</View>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { StyleSheet } from 'react-native';
|
|
2
|
-
import {
|
|
2
|
+
import { Spacing } from '../../utils/ThemeUtil';
|
|
3
3
|
|
|
4
4
|
export default StyleSheet.create({
|
|
5
5
|
container: {
|
|
6
6
|
flexDirection: 'row',
|
|
7
7
|
height: 40,
|
|
8
|
-
borderRadius:
|
|
8
|
+
borderRadius: 100,
|
|
9
9
|
borderWidth: 1,
|
|
10
10
|
justifyContent: 'center',
|
|
11
11
|
alignItems: 'center',
|
|
@@ -14,7 +14,7 @@ export default StyleSheet.create({
|
|
|
14
14
|
image: {
|
|
15
15
|
height: 24,
|
|
16
16
|
width: 24,
|
|
17
|
-
borderRadius:
|
|
17
|
+
borderRadius: 100,
|
|
18
18
|
borderWidth: 2
|
|
19
19
|
},
|
|
20
20
|
avatarPlaceholder: {
|
|
@@ -35,7 +35,7 @@ export default StyleSheet.create({
|
|
|
35
35
|
alignItems: 'center',
|
|
36
36
|
paddingLeft: Spacing['3xs'],
|
|
37
37
|
paddingRight: Spacing.xs,
|
|
38
|
-
borderRadius:
|
|
38
|
+
borderRadius: 100,
|
|
39
39
|
borderWidth: 1
|
|
40
40
|
},
|
|
41
41
|
address: {
|
|
@@ -97,15 +97,13 @@ export function Button({
|
|
|
97
97
|
)}
|
|
98
98
|
{loading ? (
|
|
99
99
|
<LoadingSpinner color={iconColor} />
|
|
100
|
-
) :
|
|
100
|
+
) : (
|
|
101
101
|
<Text
|
|
102
102
|
variant={size === 'md' ? 'paragraph-600' : 'small-600'}
|
|
103
103
|
style={[styles.text, themedTextStyle]}
|
|
104
104
|
>
|
|
105
105
|
{children}
|
|
106
106
|
</Text>
|
|
107
|
-
) : (
|
|
108
|
-
children
|
|
109
107
|
)}
|
|
110
108
|
{iconRight && (
|
|
111
109
|
<Icon
|
|
@@ -14,7 +14,7 @@ export const getThemedButtonStyle = (
|
|
|
14
14
|
|
|
15
15
|
if (disabled) {
|
|
16
16
|
return {
|
|
17
|
-
backgroundColor: variant === 'fill' ? theme['gray-glass-
|
|
17
|
+
backgroundColor: variant === 'fill' ? theme['gray-glass-002'] : theme['gray-glass-010'],
|
|
18
18
|
borderColor: theme['gray-glass-002']
|
|
19
19
|
};
|
|
20
20
|
}
|
|
@@ -28,7 +28,7 @@ export const getThemedButtonStyle = (
|
|
|
28
28
|
|
|
29
29
|
return {
|
|
30
30
|
...buttonBaseStyle,
|
|
31
|
-
backgroundColor: variant === 'fill' ? theme['accent-100'] :
|
|
31
|
+
backgroundColor: variant === 'fill' ? theme['accent-100'] : 'transparent'
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRef, useState } from 'react';
|
|
2
|
-
import { Animated, Pressable, type StyleProp, type ViewStyle } from 'react-native';
|
|
2
|
+
import { Animated, Linking, Pressable, type StyleProp, type ViewStyle } from 'react-native';
|
|
3
3
|
import type { ChipType, ColorType, IconType, SizeType } from '../../utils/TypesUtil';
|
|
4
4
|
import { useTheme } from '../../hooks/useTheme';
|
|
5
5
|
import { Text } from '../../components/wui-text';
|
|
@@ -10,6 +10,7 @@ import styles, { getThemedChipStyle, getThemedTextColor } from './styles';
|
|
|
10
10
|
const AnimatedPressable = Animated.createAnimatedComponent(Pressable);
|
|
11
11
|
|
|
12
12
|
export interface ChipProps {
|
|
13
|
+
link: string;
|
|
13
14
|
label?: string;
|
|
14
15
|
imageSrc?: string;
|
|
15
16
|
icon?: IconType;
|
|
@@ -17,11 +18,10 @@ export interface ChipProps {
|
|
|
17
18
|
size?: Exclude<SizeType, 'xl' | 'lg' | 'xs' | 'xxs'>;
|
|
18
19
|
disabled?: boolean;
|
|
19
20
|
style?: StyleProp<ViewStyle>;
|
|
20
|
-
onPress?: () => void;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
export function Chip({
|
|
24
|
-
|
|
24
|
+
link,
|
|
25
25
|
imageSrc,
|
|
26
26
|
icon,
|
|
27
27
|
variant = 'fill',
|
|
@@ -38,8 +38,10 @@ export function Chip({
|
|
|
38
38
|
const themedTextColor = getThemedTextColor(variant, disabled, pressed);
|
|
39
39
|
const iconSize = size === 'md' ? 'sm' : 'xs';
|
|
40
40
|
|
|
41
|
-
const
|
|
42
|
-
|
|
41
|
+
const onPress = () => {
|
|
42
|
+
Linking.canOpenURL(link).then(supported => {
|
|
43
|
+
if (supported) Linking.openURL(link);
|
|
44
|
+
});
|
|
43
45
|
};
|
|
44
46
|
|
|
45
47
|
const onPressIn = () => {
|
|
@@ -76,7 +78,7 @@ export function Chip({
|
|
|
76
78
|
style={[styles.container, styles[`${size}Chip`], { borderColor, backgroundColor }, style]}
|
|
77
79
|
onPressIn={onPressIn}
|
|
78
80
|
onPressOut={onPressOut}
|
|
79
|
-
onPress={
|
|
81
|
+
onPress={onPress}
|
|
80
82
|
>
|
|
81
83
|
{imageSrc && (
|
|
82
84
|
<Image
|
|
@@ -93,7 +95,7 @@ export function Chip({
|
|
|
93
95
|
variant={size === 'md' ? 'paragraph-600' : 'small-600'}
|
|
94
96
|
style={[styles.link, { color: Theme[themedTextColor] }]}
|
|
95
97
|
>
|
|
96
|
-
{label}
|
|
98
|
+
{label || link}
|
|
97
99
|
</Text>
|
|
98
100
|
{icon && (
|
|
99
101
|
<Icon
|