@reown/appkit-ui-react-native 2.0.0-alpha.2 → 2.0.0-alpha.4

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.
Files changed (179) hide show
  1. package/lib/commonjs/assets/svg/Reown.js +47 -0
  2. package/lib/commonjs/assets/svg/Reown.js.map +1 -0
  3. package/lib/commonjs/components/wui-card/styles.js +2 -1
  4. package/lib/commonjs/components/wui-card/styles.js.map +1 -1
  5. package/lib/commonjs/components/wui-icon/index.js +2 -0
  6. package/lib/commonjs/components/wui-icon/index.js.map +1 -1
  7. package/lib/commonjs/components/wui-modal/index.js +138 -0
  8. package/lib/commonjs/components/wui-modal/index.js.map +1 -0
  9. package/lib/commonjs/components/wui-modal/styles.js +31 -0
  10. package/lib/commonjs/components/wui-modal/styles.js.map +1 -0
  11. package/lib/commonjs/components/wui-shimmer/index.js +92 -32
  12. package/lib/commonjs/components/wui-shimmer/index.js.map +1 -1
  13. package/lib/commonjs/composites/wui-account-button/index.js +2 -2
  14. package/lib/commonjs/composites/wui-account-button/index.js.map +1 -1
  15. package/lib/commonjs/composites/wui-button/index.js +5 -5
  16. package/lib/commonjs/composites/wui-button/index.js.map +1 -1
  17. package/lib/commonjs/composites/wui-card-select/index.js +2 -2
  18. package/lib/commonjs/composites/wui-card-select/index.js.map +1 -1
  19. package/lib/commonjs/composites/wui-card-select-loader/index.js +7 -3
  20. package/lib/commonjs/composites/wui-card-select-loader/index.js.map +1 -1
  21. package/lib/commonjs/composites/wui-chip/index.js +5 -5
  22. package/lib/commonjs/composites/wui-chip/index.js.map +1 -1
  23. package/lib/commonjs/composites/wui-email-input/index.js +3 -3
  24. package/lib/commonjs/composites/wui-email-input/index.js.map +1 -1
  25. package/lib/commonjs/composites/wui-input-text/index.js +2 -2
  26. package/lib/commonjs/composites/wui-input-text/index.js.map +1 -1
  27. package/lib/commonjs/composites/wui-link/index.js +4 -4
  28. package/lib/commonjs/composites/wui-link/index.js.map +1 -1
  29. package/lib/commonjs/composites/wui-list-transaction/index.js +2 -2
  30. package/lib/commonjs/composites/wui-list-transaction/index.js.map +1 -1
  31. package/lib/commonjs/composites/wui-logo-select/index.js +1 -1
  32. package/lib/commonjs/composites/wui-logo-select/index.js.map +1 -1
  33. package/lib/commonjs/composites/wui-otp/index.js +1 -1
  34. package/lib/commonjs/composites/wui-otp/index.js.map +1 -1
  35. package/lib/commonjs/composites/wui-qr-code/index.js +7 -25
  36. package/lib/commonjs/composites/wui-qr-code/index.js.map +1 -1
  37. package/lib/commonjs/composites/wui-qr-code/styles.js +0 -3
  38. package/lib/commonjs/composites/wui-qr-code/styles.js.map +1 -1
  39. package/lib/commonjs/composites/wui-search-bar/index.js +2 -2
  40. package/lib/commonjs/composites/wui-search-bar/index.js.map +1 -1
  41. package/lib/commonjs/composites/wui-tabs/index.js +2 -2
  42. package/lib/commonjs/composites/wui-tabs/index.js.map +1 -1
  43. package/lib/commonjs/composites/wui-toggle/index.js +2 -2
  44. package/lib/commonjs/composites/wui-toggle/index.js.map +1 -1
  45. package/lib/commonjs/composites/wui-token-button/index.js +4 -4
  46. package/lib/commonjs/composites/wui-token-button/index.js.map +1 -1
  47. package/lib/commonjs/composites/wui-transaction-visual/index.js +3 -3
  48. package/lib/commonjs/composites/wui-transaction-visual/index.js.map +1 -1
  49. package/lib/commonjs/composites/wui-wallet-image/index.js +2 -2
  50. package/lib/commonjs/composites/wui-wallet-image/index.js.map +1 -1
  51. package/lib/commonjs/hooks/useCustomDimensions.js +41 -0
  52. package/lib/commonjs/hooks/useCustomDimensions.js.map +1 -0
  53. package/lib/commonjs/index.js +14 -0
  54. package/lib/commonjs/index.js.map +1 -1
  55. package/lib/commonjs/layout/wui-flex/index.js +3 -0
  56. package/lib/commonjs/layout/wui-flex/index.js.map +1 -1
  57. package/lib/commonjs/utils/QRCodeUtil.js +2 -2
  58. package/lib/commonjs/utils/QRCodeUtil.js.map +1 -1
  59. package/lib/commonjs/utils/UiUtil.js +1 -1
  60. package/lib/commonjs/utils/UiUtil.js.map +1 -1
  61. package/lib/module/assets/svg/Reown.js +42 -0
  62. package/lib/module/assets/svg/Reown.js.map +1 -0
  63. package/lib/module/components/wui-card/styles.js +2 -1
  64. package/lib/module/components/wui-card/styles.js.map +1 -1
  65. package/lib/module/components/wui-icon/index.js +2 -0
  66. package/lib/module/components/wui-icon/index.js.map +1 -1
  67. package/lib/module/components/wui-modal/index.js +133 -0
  68. package/lib/module/components/wui-modal/index.js.map +1 -0
  69. package/lib/module/components/wui-modal/styles.js +27 -0
  70. package/lib/module/components/wui-modal/styles.js.map +1 -0
  71. package/lib/module/components/wui-shimmer/index.js +93 -32
  72. package/lib/module/components/wui-shimmer/index.js.map +1 -1
  73. package/lib/module/composites/wui-account-button/index.js +2 -2
  74. package/lib/module/composites/wui-account-button/index.js.map +1 -1
  75. package/lib/module/composites/wui-button/index.js +5 -5
  76. package/lib/module/composites/wui-button/index.js.map +1 -1
  77. package/lib/module/composites/wui-card-select/index.js +2 -2
  78. package/lib/module/composites/wui-card-select/index.js.map +1 -1
  79. package/lib/module/composites/wui-card-select-loader/index.js +5 -1
  80. package/lib/module/composites/wui-card-select-loader/index.js.map +1 -1
  81. package/lib/module/composites/wui-chip/index.js +5 -5
  82. package/lib/module/composites/wui-chip/index.js.map +1 -1
  83. package/lib/module/composites/wui-email-input/index.js +3 -3
  84. package/lib/module/composites/wui-email-input/index.js.map +1 -1
  85. package/lib/module/composites/wui-input-text/index.js +2 -2
  86. package/lib/module/composites/wui-input-text/index.js.map +1 -1
  87. package/lib/module/composites/wui-link/index.js +4 -4
  88. package/lib/module/composites/wui-link/index.js.map +1 -1
  89. package/lib/module/composites/wui-list-transaction/index.js +2 -2
  90. package/lib/module/composites/wui-list-transaction/index.js.map +1 -1
  91. package/lib/module/composites/wui-logo-select/index.js +1 -1
  92. package/lib/module/composites/wui-logo-select/index.js.map +1 -1
  93. package/lib/module/composites/wui-otp/index.js +1 -1
  94. package/lib/module/composites/wui-otp/index.js.map +1 -1
  95. package/lib/module/composites/wui-qr-code/index.js +7 -25
  96. package/lib/module/composites/wui-qr-code/index.js.map +1 -1
  97. package/lib/module/composites/wui-qr-code/styles.js +0 -3
  98. package/lib/module/composites/wui-qr-code/styles.js.map +1 -1
  99. package/lib/module/composites/wui-search-bar/index.js +2 -2
  100. package/lib/module/composites/wui-search-bar/index.js.map +1 -1
  101. package/lib/module/composites/wui-tabs/index.js +2 -2
  102. package/lib/module/composites/wui-tabs/index.js.map +1 -1
  103. package/lib/module/composites/wui-toggle/index.js +2 -2
  104. package/lib/module/composites/wui-toggle/index.js.map +1 -1
  105. package/lib/module/composites/wui-token-button/index.js +4 -4
  106. package/lib/module/composites/wui-token-button/index.js.map +1 -1
  107. package/lib/module/composites/wui-transaction-visual/index.js +3 -3
  108. package/lib/module/composites/wui-transaction-visual/index.js.map +1 -1
  109. package/lib/module/composites/wui-wallet-image/index.js +2 -2
  110. package/lib/module/composites/wui-wallet-image/index.js.map +1 -1
  111. package/lib/module/hooks/useCustomDimensions.js +38 -0
  112. package/lib/module/hooks/useCustomDimensions.js.map +1 -0
  113. package/lib/module/index.js +11 -0
  114. package/lib/module/index.js.map +1 -1
  115. package/lib/module/layout/wui-flex/index.js +3 -0
  116. package/lib/module/layout/wui-flex/index.js.map +1 -1
  117. package/lib/module/utils/QRCodeUtil.js +3 -3
  118. package/lib/module/utils/QRCodeUtil.js.map +1 -1
  119. package/lib/module/utils/UiUtil.js +1 -1
  120. package/lib/module/utils/UiUtil.js.map +1 -1
  121. package/lib/typescript/assets/svg/Reown.d.ts +4 -0
  122. package/lib/typescript/assets/svg/Reown.d.ts.map +1 -0
  123. package/lib/typescript/components/wui-card/styles.d.ts +1 -0
  124. package/lib/typescript/components/wui-card/styles.d.ts.map +1 -1
  125. package/lib/typescript/components/wui-icon/index.d.ts.map +1 -1
  126. package/lib/typescript/components/wui-modal/index.d.ts +8 -0
  127. package/lib/typescript/components/wui-modal/index.d.ts.map +1 -0
  128. package/lib/typescript/components/wui-modal/styles.d.ts +24 -0
  129. package/lib/typescript/components/wui-modal/styles.d.ts.map +1 -0
  130. package/lib/typescript/components/wui-shimmer/index.d.ts +11 -3
  131. package/lib/typescript/components/wui-shimmer/index.d.ts.map +1 -1
  132. package/lib/typescript/composites/wui-card-select-loader/index.d.ts +3 -1
  133. package/lib/typescript/composites/wui-card-select-loader/index.d.ts.map +1 -1
  134. package/lib/typescript/composites/wui-qr-code/index.d.ts.map +1 -1
  135. package/lib/typescript/composites/wui-qr-code/styles.d.ts +0 -3
  136. package/lib/typescript/composites/wui-qr-code/styles.d.ts.map +1 -1
  137. package/lib/typescript/composites/wui-token-button/index.d.ts.map +1 -1
  138. package/lib/typescript/hooks/useCustomDimensions.d.ts +14 -0
  139. package/lib/typescript/hooks/useCustomDimensions.d.ts.map +1 -0
  140. package/lib/typescript/index.d.ts +7 -0
  141. package/lib/typescript/index.d.ts.map +1 -1
  142. package/lib/typescript/layout/wui-flex/index.d.ts +3 -0
  143. package/lib/typescript/layout/wui-flex/index.d.ts.map +1 -1
  144. package/lib/typescript/utils/TypesUtil.d.ts +1 -1
  145. package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
  146. package/lib/typescript/utils/UiUtil.d.ts +1 -1
  147. package/lib/typescript/utils/UiUtil.d.ts.map +1 -1
  148. package/package.json +2 -2
  149. package/src/assets/svg/Reown.tsx +40 -0
  150. package/src/components/wui-card/styles.ts +2 -1
  151. package/src/components/wui-icon/index.tsx +2 -0
  152. package/src/components/wui-modal/index.tsx +142 -0
  153. package/src/components/wui-modal/styles.ts +25 -0
  154. package/src/components/wui-shimmer/index.tsx +105 -39
  155. package/src/composites/wui-account-button/index.tsx +2 -2
  156. package/src/composites/wui-button/index.tsx +5 -5
  157. package/src/composites/wui-card-select/index.tsx +2 -2
  158. package/src/composites/wui-card-select-loader/index.tsx +5 -1
  159. package/src/composites/wui-chip/index.tsx +5 -5
  160. package/src/composites/wui-email-input/index.tsx +3 -3
  161. package/src/composites/wui-input-text/index.tsx +1 -1
  162. package/src/composites/wui-link/index.tsx +4 -4
  163. package/src/composites/wui-list-transaction/index.tsx +2 -2
  164. package/src/composites/wui-logo-select/index.tsx +1 -1
  165. package/src/composites/wui-otp/index.tsx +1 -1
  166. package/src/composites/wui-qr-code/index.tsx +6 -18
  167. package/src/composites/wui-qr-code/styles.ts +0 -3
  168. package/src/composites/wui-search-bar/index.tsx +2 -2
  169. package/src/composites/wui-tabs/index.tsx +2 -2
  170. package/src/composites/wui-toggle/index.tsx +2 -2
  171. package/src/composites/wui-token-button/index.tsx +4 -2
  172. package/src/composites/wui-transaction-visual/index.tsx +4 -4
  173. package/src/composites/wui-wallet-image/index.tsx +2 -2
  174. package/src/hooks/useCustomDimensions.ts +38 -0
  175. package/src/index.ts +8 -0
  176. package/src/layout/wui-flex/index.tsx +6 -0
  177. package/src/utils/QRCodeUtil.tsx +3 -3
  178. package/src/utils/TypesUtil.ts +1 -0
  179. package/src/utils/UiUtil.ts +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-card/styles.ts"],"names":[],"mappings":";;;;;;;AAGA,wBAMG"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-card/styles.ts"],"names":[],"mappings":";;;;;;;;AAGA,wBAOG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAkItF,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG;IACjC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC;AAEF,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAgB,EAChB,IAAW,EACX,KAAK,EACL,GAAG,IAAI,EACR,EAAE,SAAS,2CAaX"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-icon/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAa,MAAM,uBAAuB,CAAC;AAoItF,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG;IACjC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC;AAEF,wBAAgB,IAAI,CAAC,EACnB,IAAI,EACJ,KAAK,EACL,MAAM,EACN,KAAgB,EAChB,IAAW,EACX,KAAK,EACL,GAAG,IAAI,EACR,EAAE,SAAS,2CAaX"}
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { type ModalProps as RNModalProps } from 'react-native';
3
+ export type ModalProps = Pick<RNModalProps, 'visible' | 'onDismiss' | 'testID' | 'onRequestClose'> & {
4
+ children: React.ReactNode;
5
+ onBackdropPress?: () => void;
6
+ };
7
+ export declare function Modal({ visible, onBackdropPress, onRequestClose, testID, children }: ModalProps): import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-modal/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAGL,KAAK,UAAU,IAAI,YAAY,EAIhC,MAAM,cAAc,CAAC;AAItB,MAAM,MAAM,UAAU,GAAG,IAAI,CAC3B,YAAY,EACZ,SAAS,GAAG,WAAW,GAAG,QAAQ,GAAG,gBAAgB,CACtD,GAAG;IACF,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B,CAAC;AAEF,wBAAgB,KAAK,CAAC,EAAE,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,UAAU,2CAyH/F"}
@@ -0,0 +1,24 @@
1
+ declare const _default: {
2
+ outerBackdrop: {
3
+ position: "absolute";
4
+ top: number;
5
+ left: number;
6
+ right: number;
7
+ bottom: number;
8
+ backgroundColor: string;
9
+ };
10
+ innerBackdropTouchable: {
11
+ flexGrow: number;
12
+ };
13
+ modal: {
14
+ borderTopLeftRadius: number;
15
+ borderTopRightRadius: number;
16
+ position: "absolute";
17
+ top: number;
18
+ left: number;
19
+ right: number;
20
+ bottom: number;
21
+ };
22
+ };
23
+ export default _default;
24
+ //# sourceMappingURL=styles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-modal/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAGA,wBAqBG"}
@@ -1,12 +1,20 @@
1
+ /// <reference types="react" />
1
2
  import { type StyleProp, type ViewStyle } from 'react-native';
3
+ type PercentString = `${number}%`;
4
+ type ShimmerDimension = number | PercentString;
2
5
  export interface ShimmerProps {
3
- width?: number | string;
4
- height?: number | string;
6
+ width?: ShimmerDimension;
7
+ height?: ShimmerDimension;
5
8
  duration?: number;
6
9
  borderRadius?: number;
7
10
  backgroundColor?: string;
8
11
  foregroundColor?: string;
12
+ highlightWidthRatio?: number;
13
+ highlightOpacity?: number;
14
+ angle?: number;
9
15
  style?: StyleProp<ViewStyle>;
10
16
  }
11
- export declare const Shimmer: ({ width, height, duration, borderRadius, backgroundColor, foregroundColor, style }: ShimmerProps) => import("react/jsx-runtime").JSX.Element;
17
+ declare function _Shimmer({ width, height, duration, borderRadius, backgroundColor, foregroundColor, highlightWidthRatio, highlightOpacity, angle, style }: ShimmerProps): import("react/jsx-runtime").JSX.Element;
18
+ export declare const Shimmer: import("react").MemoExoticComponent<typeof _Shimmer>;
19
+ export {};
12
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-shimmer/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAKpF,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,eAAO,MAAM,OAAO,uFAQjB,YAAY,4CAyCd,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-shimmer/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAA8B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAI1F,KAAK,aAAa,GAAG,GAAG,MAAM,GAAG,CAAC;AAClC,KAAK,gBAAgB,GAAG,MAAM,GAAG,aAAa,CAAC;AAE/C,MAAM,WAAW,YAAY;IAC3B,KAAK,CAAC,EAAE,gBAAgB,CAAC;IACzB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,iBAAS,QAAQ,CAAC,EAChB,KAAW,EACX,MAAY,EACZ,QAAe,EACf,YAAgB,EAChB,eAAe,EACf,eAAe,EACf,mBAAyB,EACzB,gBAAsB,EACtB,KAAU,EACV,KAAK,EACN,EAAE,YAAY,2CAgGd;AAED,eAAO,MAAM,OAAO,sDAElB,CAAC"}
@@ -1,7 +1,9 @@
1
+ /// <reference types="react" />
1
2
  import { type StyleProp, type ViewStyle } from 'react-native';
2
3
  export declare const CardSelectLoaderHeight = 96;
3
4
  export interface CardSelectLoaderProps {
4
5
  style?: StyleProp<ViewStyle>;
5
6
  }
6
- export declare function CardSelectLoader({ style }: CardSelectLoaderProps): import("react/jsx-runtime").JSX.Element;
7
+ export declare function _CardSelectLoader({ style }: CardSelectLoaderProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare const CardSelectLoader: import("react").MemoExoticComponent<typeof _CardSelectLoader>;
7
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-card-select-loader/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D,eAAO,MAAM,sBAAsB,KAAc,CAAC;AAElD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,gBAAgB,CAAC,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAsBhE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-card-select-loader/index.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D,eAAO,MAAM,sBAAsB,KAAc,CAAC;AAElD,MAAM,WAAW,qBAAqB;IACpC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,iBAAiB,CAAC,EAAE,KAAK,EAAE,EAAE,qBAAqB,2CAsBjE;AACD,eAAO,MAAM,gBAAgB,+DAE3B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAID,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,WAAW,2CAgE3F"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAOpE,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAGtD,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,MAAM,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,WAAW,2CAwD3F"}
@@ -9,9 +9,6 @@ declare const _default: {
9
9
  icon: {
10
10
  position: "absolute";
11
11
  };
12
- label: {
13
- marginTop: number;
14
- };
15
12
  };
16
13
  export default _default;
17
14
  //# sourceMappingURL=styles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAGA,wBAcG"}
1
+ {"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-qr-code/styles.ts"],"names":[],"mappings":";;;;;;;;;;;;AAGA,wBAWG"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/composites/wui-token-button/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AASpE,MAAM,WAAW,gBAAgB;IAC/B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,KAAK,CAAC,EAAE,S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 /**
2
+ * Hook used to get the width of the screen and the padding needed to accomplish portrait and landscape modes.
3
+ * @returns { width: number, isPortrait: boolean, isLandscape: boolean, padding: number }
4
+ */
5
+ type CustomDimensionsType = {
6
+ maxWidth: number;
7
+ maxHeight: number;
8
+ isPortrait: boolean;
9
+ isLandscape: boolean;
10
+ padding: number;
11
+ };
12
+ export declare function useCustomDimensions(): CustomDimensionsType;
13
+ export {};
14
+ //# sourceMappingURL=useCustomDimensions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useCustomDimensions.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCustomDimensions.ts"],"names":[],"mappings":"AAGA;;;GAGG;AAEH,KAAK,oBAAoB,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,OAAO,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AAQF,wBAAgB,mBAAmB,IAAI,oBAAoB,CAe1D"}
@@ -1,3 +1,4 @@
1
+ /********** Components **********/
1
2
  export { Card, type CardProps } from './components/wui-card';
2
3
  export { Icon, type IconProps } from './components/wui-icon';
3
4
  export { Image, type ImageProps } from './components/wui-image';
@@ -7,6 +8,7 @@ export { LoadingThumbnail, type LoadingThumbnailProps } from './components/wui-l
7
8
  export { Text, type TextProps } from './components/wui-text';
8
9
  export { Visual, type VisualProps } from './components/wui-visual';
9
10
  export { Shimmer, type ShimmerProps } from './components/wui-shimmer';
11
+ /********** Composites **********/
10
12
  export { AccountButton, type AccountButtonProps } from './composites/wui-account-button';
11
13
  export { AccountPill, type AccountPillProps } from './composites/wui-account-pill';
12
14
  export { ActionEntry, type ActionEntryProps } from './composites/wui-action-entry';
@@ -35,6 +37,7 @@ export { ListTransaction, type ListTransactionProps } from './composites/wui-lis
35
37
  export { ListWallet, type ListWalletProps } from './composites/wui-list-wallet';
36
38
  export { Logo, type LogoProps } from './composites/wui-logo';
37
39
  export { LogoSelect, type LogoSelectProps } from './composites/wui-logo-select';
40
+ export { Modal, type ModalProps } from './components/wui-modal';
38
41
  export { NetworkButton, type NetworkButtonProps } from './composites/wui-network-button';
39
42
  export { NetworkImage, type NetworkImageProps } from './composites/wui-network-image';
40
43
  export { NumericKeyboard, type NumericKeyboardProps } from './composites/wui-numeric-keyboard';
@@ -52,11 +55,15 @@ export { WalletImage, type WalletImageProps } from './composites/wui-wallet-imag
52
55
  export { Overlay, type OverlayProps } from './layout/wui-overlay';
53
56
  export { FlexView, type FlexViewProps } from './layout/wui-flex';
54
57
  export { Separator } from './layout/wui-separator';
58
+ /********** Types **********/
55
59
  export type { ButtonType, CardSelectType, ChipType, ColorType, ThemeKeys as ThemeColorType, IconType, LogoType, PlacementType, SizeType, TagType, TextType, VisualType, TransactionType } from './utils/TypesUtil';
60
+ /********** Utils **********/
56
61
  export { UiUtil } from './utils/UiUtil';
57
62
  export { TransactionUtil } from './utils/TransactionUtil';
58
63
  export { Spacing, BorderRadius } from './utils/ThemeUtil';
64
+ /********** Hooks **********/
59
65
  export { useTheme } from './hooks/useTheme';
60
66
  export { ThemeProvider } from './context/ThemeContext';
61
67
  export { useAnimatedValue } from './hooks/useAnimatedValue';
68
+ export { useCustomDimensions } from './hooks/useCustomDimensions';
62
69
  //# sourceMappingURL=index.d.ts.map
@@ -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,MAA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lexShrinkType;
11
11
  alignItems?: FlexAlignType;
12
12
  alignSelf?: FlexAlignType;
13
+ rowGap?: SpacingType;
14
+ gap?: SpacingType;
15
+ columnGap?: SpacingType;
13
16
  justifyContent?: FlexJustifyContentType;
14
17
  padding?: SpacingType | SpacingType[];
15
18
  margin?: SpacingType | SpacingType[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/wui-flex/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAQ,MAAM,cAAc,CAAC;AAE5F,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAG/B,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CAwB5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layout/wui-flex/index.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,SAAS,EAAE,KAAK,SAAS,EAAQ,MAAM,cAAc,CAAC;AAE5F,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,YAAY,EACZ,sBAAsB,EACtB,cAAc,EACd,YAAY,EACZ,WAAW,EACZ,MAAM,uBAAuB,CAAC;AAG/B,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC9C,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,UAAU,CAAC,EAAE,cAAc,CAAC;IAC5B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,GAAG,CAAC,EAAE,WAAW,CAAC;IAClB,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,cAAc,CAAC,EAAE,sBAAsB,CAAC;IACxC,OAAO,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IACtC,MAAM,CAAC,EAAE,WAAW,GAAG,WAAW,EAAE,CAAC;IACrC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,KAAK,EAAE,aAAa,2CA2B5C"}
@@ -5,7 +5,7 @@ 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' | 'arrowBottomCircle' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'browser' | 'card' | 'checkmark' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronRightSmall' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'copySmall' | 'cursor' | 'currencyDollar' | 'desktop' | 'disconnect' | 'discord' | 'etherscan' | 'extension' | 'externalLink' | 'facebook' | 'farcaster' | 'farcasterSquare' | 'filters' | 'github' | 'google' | 'helpCircle' | 'infoCircle' | 'email' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'off' | 'paperplane' | 'qrCode' | 'recycleHorizontal' | 'refresh' | 'search' | 'settings' | 'swapHorizontal' | 'swapVertical' | 'telegram' | 'twitch' | 'verify' | 'wallet' | 'walletSmall' | 'walletConnect' | 'walletConnectLightBrown' | 'walletPlaceholder' | 'warningCircle' | 'x';
8
+ export type IconType = 'allWallets' | 'apple' | 'arrowBottom' | 'arrowBottomCircle' | 'arrowLeft' | 'arrowRight' | 'arrowTop' | 'browser' | 'card' | 'checkmark' | 'chevronBottom' | 'chevronLeft' | 'chevronRight' | 'chevronRightSmall' | 'chevronTop' | 'clock' | 'close' | 'coinPlaceholder' | 'compass' | 'copy' | 'copySmall' | 'cursor' | 'currencyDollar' | 'desktop' | 'disconnect' | 'discord' | 'etherscan' | 'extension' | 'externalLink' | 'facebook' | 'farcaster' | 'farcasterSquare' | 'filters' | 'github' | 'google' | 'helpCircle' | 'infoCircle' | 'email' | 'mobile' | 'more' | 'networkPlaceholder' | 'nftPlaceholder' | 'off' | 'paperplane' | 'qrCode' | 'recycleHorizontal' | 'refresh' | 'reown' | 'search' | 'settings' | 'swapHorizontal' | 'swapVertical' | 'telegram' | 'twitch' | 'verify' | 'wallet' | 'walletSmall' | 'walletConnect' | 'walletConnectLightBrown' | 'walletPlaceholder' | 'warningCircle' | 'x';
9
9
  export type VisualType = 'browser' | 'dao' | 'defi' | 'defiAlt' | 'eth' | 'google' | 'layers' | 'lightbulb' | 'lock' | 'login' | 'network' | 'nft' | 'noun' | 'pencil' | 'profile' | 'system';
10
10
  export type LogoType = 'apple' | 'discord' | 'facebook' | 'farcaster' | 'farcasterSquare' | 'github' | 'google' | 'more' | 'telegram' | 'twitch' | 'email' | 'x';
11
11
  export type TagType = 'main' | 'shade' | 'error' | 'success';
@@ -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,kBA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D,MAAM,MAAM,YAAY,GAAG,CAAC,GAAG,CAAC,CAAC;AAEjC,MAAM,MAAM,cAAc,GAAG,CAAC,GAAG,CAAC,CAAC;AAEnC,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;AAEF,MAAM,MAAM,eAAe,GACvB,SAAS,GACT,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,SAAS,GACT,SAAS,GACT,MAAM,GACN,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,OAAO,GACP,SAAS,GACT,UAAU,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { SpacingType, TruncateOptions } from './TypesUtil';
2
2
  export declare const UiUtil: {
3
- getSpacingStyles(spacing: SpacingType | SpacingType[], index: number): number | undefined;
3
+ getSpacingStyles(spacing: SpacingType | SpacingType[], index?: number): number | undefined;
4
4
  generateAvatarColors(address?: string): string[];
5
5
  hexToRgb(hex: string): [number, number, number];
6
6
  tintColor(rgb: [number, number, number], tint: number): [number, number, number];
@@ -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;qCAIO,MAAM,GAAG,MAAM,GAAG,SAAS;CAe7D,CAAC"}
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,UAAU,MAAM;mCAUtC,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;qCAIO,MAAM,GAAG,MAAM,GAAG,SAAS;CAe7D,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-ui-react-native",
3
- "version": "2.0.0-alpha.2",
3
+ "version": "2.0.0-alpha.4",
4
4
  "main": "lib/commonjs/index.js",
5
5
  "types": "lib/typescript/index.d.ts",
6
6
  "module": "lib/module/index.js",
@@ -39,7 +39,7 @@
39
39
  "access": "public"
40
40
  },
41
41
  "dependencies": {
42
- "@reown/appkit-common-react-native": "2.0.0-alpha.2",
42
+ "@reown/appkit-common-react-native": "2.0.0-alpha.4",
43
43
  "polished": "4.3.1",
44
44
  "qrcode": "1.5.3"
45
45
  },
@@ -0,0 +1,40 @@
1
+ import Svg, { Path, type SvgProps } from 'react-native-svg';
2
+ const SvgReown = (props: SvgProps) => (
3
+ <Svg viewBox="0 0 60 16" fill="none" {...props}>
4
+ <Path
5
+ d="M9.3335 4.66667C9.3335 2.08934 11.4229 0 14.0002 0H20.6669C23.2442 0 25.3335 2.08934 25.3335 4.66667V11.3333C25.3335 13.9106 23.2442 16 20.6669 16H14.0002C11.4229 16 9.3335 13.9106 9.3335 11.3333V4.66667Z"
6
+ fill="#363636"
7
+ />
8
+ <Path d="M15.6055 11.0003L17.9448 4.66699H18.6316L16.2923 11.0003H15.6055Z" fill="#F6F6F6" />
9
+ <Path
10
+ d="M0 4.33333C0 1.9401 1.9401 0 4.33333 0C6.72657 0 8.66669 1.9401 8.66669 4.33333V11.6667C8.66669 14.0599 6.72657 16 4.33333 16C1.9401 16 0 14.0599 0 11.6667V4.33333Z"
11
+ fill="#363636"
12
+ />
13
+ <Path d="M3.9165 9.99934V9.16602H4.74983V9.99934H3.9165Z" fill="#F6F6F6" />
14
+ <Path
15
+ d="M26 8C26 3.58172 29.3517 0 33.4863 0H52.5137C56.6483 0 60 3.58172 60 8C60 12.4183 56.6483 16 52.5137 16H33.4863C29.3517 16 26 12.4183 26 8Z"
16
+ fill="#363636"
17
+ />
18
+ <Path
19
+ d="M49.3687 9.95834V6.26232H50.0213V6.81966C50.256 6.40899 50.7326 6.16699 51.2606 6.16699C52.0599 6.16699 52.6173 6.67299 52.6173 7.65566V9.95834H51.972V7.69234C51.972 7.04696 51.6053 6.70966 51.07 6.70966C50.4906 6.70966 50.0213 7.17168 50.0213 7.82433V9.95834H49.3687Z"
20
+ fill="#F6F6F6"
21
+ />
22
+ <Path
23
+ d="M45.2538 9.95773L44.5718 6.26172H45.1877L45.6717 9.31242L46.3098 7.30306H46.9184L47.5491 9.29041L48.0404 6.26172H48.6564L47.9744 9.95773H47.2411L46.6178 8.03641L45.9871 9.95773H45.2538Z"
24
+ fill="#F6F6F6"
25
+ />
26
+ <Path
27
+ d="M42.3709 10.0536C41.2489 10.0536 40.5889 9.21765 40.5889 8.1103C40.5889 7.01035 41.2489 6.16699 42.3709 6.16699C43.4929 6.16699 44.1529 7.01035 44.1529 8.1103C44.1529 9.21765 43.4929 10.0536 42.3709 10.0536ZM42.3709 9.51096C43.1775 9.51096 43.4856 8.82164 43.4856 8.10296C43.4856 7.39163 43.1775 6.70966 42.3709 6.70966C41.5642 6.70966 41.2562 7.39163 41.2562 8.10296C41.2562 8.82164 41.5642 9.51096 42.3709 9.51096Z"
28
+ fill="#F6F6F6"
29
+ />
30
+ <Path
31
+ d="M38.2805 10.0536C37.1952 10.0536 36.5132 9.22499 36.5132 8.1103C36.5132 7.00302 37.1952 6.16699 38.2805 6.16699C39.1972 6.16699 40.0038 6.68766 39.9159 8.27896H37.1805C37.2319 8.96103 37.5472 9.5183 38.2805 9.5183C38.7718 9.5183 39.0945 9.21765 39.2045 8.87299H39.8499C39.7472 9.48903 39.1679 10.0536 38.2805 10.0536ZM37.1952 7.78765H39.2852C39.2338 7.04696 38.8892 6.70232 38.2805 6.70232C37.6132 6.70232 37.2832 7.18635 37.1952 7.78765Z"
32
+ fill="#F6F6F6"
33
+ />
34
+ <Path
35
+ d="M33.3828 9.95773V6.26172H34.0501V6.88506C34.2848 6.47439 34.6882 6.26172 35.1061 6.26172H35.9935V6.88506H35.0548C34.4682 6.88506 34.0501 7.26638 34.0501 8.00706V9.95773H33.3828Z"
36
+ fill="#F6F6F6"
37
+ />
38
+ </Svg>
39
+ );
40
+ export default SvgReown;
@@ -4,7 +4,8 @@ import { BorderRadius } from '../../utils/ThemeUtil';
4
4
  export default StyleSheet.create({
5
5
  container: {
6
6
  borderRadius: BorderRadius.l,
7
- borderWidth: StyleSheet.hairlineWidth,
7
+ borderWidth: 0.5,
8
+ borderBottomWidth: 0,
8
9
  overflow: 'hidden'
9
10
  }
10
11
  });
@@ -49,6 +49,7 @@ import PaperplaneSvg from '../../assets/svg/Paperplane';
49
49
  import QrCodeSvg from '../../assets/svg/QrCode';
50
50
  import RecycleHorizontalSvg from '../../assets/svg/RecycleHorizontal';
51
51
  import RefreshSvg from '../../assets/svg/Refresh';
52
+ import ReownSvg from '../../assets/svg/Reown';
52
53
  import SearchSvg from '../../assets/svg/Search';
53
54
  import SettingsSvg from '../../assets/svg/Settings';
54
55
  import SwapHorizontalSvg from '../../assets/svg/SwapHorizontal';
@@ -113,6 +114,7 @@ const svgOptions: Record<IconType, (props: SvgProps) => JSX.Element> = {
113
114
  qrCode: QrCodeSvg,
114
115
  recycleHorizontal: RecycleHorizontalSvg,
115
116
  refresh: RefreshSvg,
117
+ reown: ReownSvg,
116
118
  search: SearchSvg,
117
119
  settings: SettingsSvg,
118
120
  swapHorizontal: SwapHorizontalSvg,
@@ -0,0 +1,142 @@
1
+ import { useEffect, useRef, useState } from 'react';
2
+ import {
3
+ useWindowDimensions,
4
+ Modal as RNModal,
5
+ type ModalProps as RNModalProps,
6
+ TouchableOpacity,
7
+ Animated,
8
+ StatusBar
9
+ } from 'react-native';
10
+ import { useTheme } from '../../hooks/useTheme';
11
+ import styles from './styles';
12
+
13
+ export type ModalProps = Pick<
14
+ RNModalProps,
15
+ 'visible' | 'onDismiss' | 'testID' | 'onRequestClose'
16
+ > & {
17
+ children: React.ReactNode;
18
+ onBackdropPress?: () => void;
19
+ };
20
+
21
+ export function Modal({ visible, onBackdropPress, onRequestClose, testID, children }: ModalProps) {
22
+ const Theme = useTheme();
23
+ const { height } = useWindowDimensions();
24
+
25
+ const backdropOpacity = useRef(new Animated.Value(0)).current;
26
+ const translateY = useRef(new Animated.Value(height)).current;
27
+ const [showBackdrop, setShowBackdrop] = useState(false);
28
+ const [modalVisible, setModalVisible] = useState(false);
29
+ const [contentHeight, setContentHeight] = useState(0);
30
+
31
+ const onContentLayout = (event: any) => {
32
+ const { height: measuredHeight } = event.nativeEvent.layout;
33
+
34
+ setContentHeight(measuredHeight > height ? height : measuredHeight);
35
+ };
36
+
37
+ // Handle modal visibility
38
+ useEffect(() => {
39
+ if (visible) {
40
+ setModalVisible(true);
41
+ setShowBackdrop(true);
42
+ }
43
+ }, [visible]);
44
+
45
+ // Handle backdrop animation
46
+ useEffect(() => {
47
+ let backdropAnimation: Animated.CompositeAnimation;
48
+
49
+ if (visible) {
50
+ backdropAnimation = Animated.timing(backdropOpacity, {
51
+ toValue: 1,
52
+ duration: 300,
53
+ useNativeDriver: true
54
+ });
55
+ backdropAnimation.start();
56
+ } else if (modalVisible) {
57
+ backdropAnimation = Animated.timing(backdropOpacity, {
58
+ toValue: 0,
59
+ duration: 250,
60
+ useNativeDriver: true
61
+ });
62
+ backdropAnimation.start(() => {
63
+ setShowBackdrop(false);
64
+ });
65
+ }
66
+
67
+ return () => {
68
+ backdropAnimation?.stop();
69
+ };
70
+ }, [visible, modalVisible, backdropOpacity]);
71
+
72
+ // Handle modal position animation + visibility
73
+ useEffect(() => {
74
+ let modalAnimation: Animated.CompositeAnimation;
75
+
76
+ if (visible && modalVisible) {
77
+ // Calculate the target position (screen height - card height)
78
+ const targetY =
79
+ contentHeight > 0 ? height - contentHeight + (StatusBar.currentHeight ?? 0) : height * 0.2; // fallback to 20% from bottom
80
+
81
+ modalAnimation = Animated.spring(translateY, {
82
+ toValue: targetY,
83
+ damping: 25,
84
+ stiffness: 220,
85
+ mass: 1,
86
+ useNativeDriver: true
87
+ });
88
+ modalAnimation.start();
89
+ } else if (!visible && modalVisible) {
90
+ // Hide modal to the bottom of the screen. Not using spring as it blocks the UI for a bit when closed
91
+ modalAnimation = Animated.timing(translateY, {
92
+ toValue: height,
93
+ duration: 150,
94
+ useNativeDriver: true
95
+ });
96
+ modalAnimation.start(() => {
97
+ setModalVisible(false);
98
+ });
99
+ }
100
+
101
+ return () => {
102
+ modalAnimation?.stop();
103
+ };
104
+ }, [visible, modalVisible, translateY, height, contentHeight]);
105
+
106
+ // Reset animation values when modal is fully closed
107
+ useEffect(() => {
108
+ if (!modalVisible) {
109
+ translateY.setValue(height);
110
+ backdropOpacity.setValue(0);
111
+ }
112
+ }, [modalVisible, translateY, backdropOpacity, height]);
113
+
114
+ return (
115
+ <>
116
+ {showBackdrop ? (
117
+ <Animated.View style={[styles.outerBackdrop, { opacity: backdropOpacity }]} />
118
+ ) : null}
119
+ <RNModal
120
+ visible={modalVisible}
121
+ transparent
122
+ animationType="none"
123
+ statusBarTranslucent
124
+ onRequestClose={onRequestClose}
125
+ testID={testID}
126
+ >
127
+ {showBackdrop ? (
128
+ <TouchableOpacity
129
+ style={styles.innerBackdropTouchable}
130
+ activeOpacity={1}
131
+ onPress={onBackdropPress}
132
+ />
133
+ ) : null}
134
+ <Animated.View
135
+ style={[styles.modal, { backgroundColor: Theme['bg-100'], transform: [{ translateY }] }]}
136
+ >
137
+ <Animated.View onLayout={onContentLayout}>{children}</Animated.View>
138
+ </Animated.View>
139
+ </RNModal>
140
+ </>
141
+ );
142
+ }
@@ -0,0 +1,25 @@
1
+ import { StyleSheet } from 'react-native';
2
+ import { BorderRadius } from '../../utils/ThemeUtil';
3
+
4
+ export default StyleSheet.create({
5
+ outerBackdrop: {
6
+ position: 'absolute',
7
+ top: 0,
8
+ left: 0,
9
+ right: 0,
10
+ bottom: 0,
11
+ backgroundColor: 'rgba(0, 0, 0, 0.5)'
12
+ },
13
+ innerBackdropTouchable: {
14
+ flexGrow: 1
15
+ },
16
+ modal: {
17
+ borderTopLeftRadius: BorderRadius.l,
18
+ borderTopRightRadius: BorderRadius.l,
19
+ position: 'absolute',
20
+ top: 0,
21
+ left: 0,
22
+ right: 0,
23
+ bottom: 0
24
+ }
25
+ });