@reown/appkit-ui-react-native 0.0.0-develop-20241120213732 → 0.0.0-develop-20250117150918

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 (205) hide show
  1. package/lib/commonjs/assets/svg/RecycleHorizontal.js +21 -0
  2. package/lib/commonjs/assets/svg/RecycleHorizontal.js.map +1 -0
  3. package/lib/commonjs/components/wui-icon/index.js +2 -0
  4. package/lib/commonjs/components/wui-icon/index.js.map +1 -1
  5. package/lib/commonjs/components/wui-pressable/index.js +68 -0
  6. package/lib/commonjs/components/wui-pressable/index.js.map +1 -0
  7. package/lib/commonjs/components/wui-shimmer/index.js +5 -1
  8. package/lib/commonjs/components/wui-shimmer/index.js.map +1 -1
  9. package/lib/commonjs/components/wui-text/index.js +2 -2
  10. package/lib/commonjs/components/wui-text/index.js.map +1 -1
  11. package/lib/commonjs/composites/wui-button/index.js +2 -1
  12. package/lib/commonjs/composites/wui-button/index.js.map +1 -1
  13. package/lib/commonjs/composites/wui-button/styles.js +3 -3
  14. package/lib/commonjs/composites/wui-button/styles.js.map +1 -1
  15. package/lib/commonjs/composites/wui-card-select/index.js +4 -2
  16. package/lib/commonjs/composites/wui-card-select/index.js.map +1 -1
  17. package/lib/commonjs/composites/wui-input-text/index.js +5 -4
  18. package/lib/commonjs/composites/wui-input-text/index.js.map +1 -1
  19. package/lib/commonjs/composites/wui-list-token/index.js +29 -9
  20. package/lib/commonjs/composites/wui-list-token/index.js.map +1 -1
  21. package/lib/commonjs/composites/wui-list-token/styles.js +3 -0
  22. package/lib/commonjs/composites/wui-list-token/styles.js.map +1 -1
  23. package/lib/commonjs/composites/wui-list-wallet/index.js +2 -3
  24. package/lib/commonjs/composites/wui-list-wallet/index.js.map +1 -1
  25. package/lib/commonjs/composites/wui-network-button/index.js +4 -2
  26. package/lib/commonjs/composites/wui-network-button/index.js.map +1 -1
  27. package/lib/commonjs/composites/wui-search-bar/index.js +2 -4
  28. package/lib/commonjs/composites/wui-search-bar/index.js.map +1 -1
  29. package/lib/commonjs/composites/wui-snackbar/index.js +6 -2
  30. package/lib/commonjs/composites/wui-snackbar/index.js.map +1 -1
  31. package/lib/commonjs/composites/wui-toggle/index.js +65 -0
  32. package/lib/commonjs/composites/wui-toggle/index.js.map +1 -0
  33. package/lib/commonjs/composites/wui-toggle/styles.js +30 -0
  34. package/lib/commonjs/composites/wui-toggle/styles.js.map +1 -0
  35. package/lib/commonjs/composites/wui-token-button/index.js +21 -11
  36. package/lib/commonjs/composites/wui-token-button/index.js.map +1 -1
  37. package/lib/commonjs/composites/wui-token-button/styles.js +4 -0
  38. package/lib/commonjs/composites/wui-token-button/styles.js.map +1 -1
  39. package/lib/commonjs/context/ThemeContext.js +41 -0
  40. package/lib/commonjs/context/ThemeContext.js.map +1 -0
  41. package/lib/commonjs/hooks/useTheme.js +5 -7
  42. package/lib/commonjs/hooks/useTheme.js.map +1 -1
  43. package/lib/commonjs/index.js +27 -0
  44. package/lib/commonjs/index.js.map +1 -1
  45. package/lib/commonjs/layout/wui-flex/index.js +3 -2
  46. package/lib/commonjs/layout/wui-flex/index.js.map +1 -1
  47. package/lib/commonjs/layout/wui-separator/index.js +4 -4
  48. package/lib/commonjs/layout/wui-separator/index.js.map +1 -1
  49. package/lib/commonjs/utils/ThemeUtil.js +18 -1
  50. package/lib/commonjs/utils/ThemeUtil.js.map +1 -1
  51. package/lib/commonjs/utils/TransactionUtil.js +56 -45
  52. package/lib/commonjs/utils/TransactionUtil.js.map +1 -1
  53. package/lib/module/assets/svg/RecycleHorizontal.js +13 -0
  54. package/lib/module/assets/svg/RecycleHorizontal.js.map +1 -0
  55. package/lib/module/components/wui-icon/index.js +2 -0
  56. package/lib/module/components/wui-icon/index.js.map +1 -1
  57. package/lib/module/components/wui-pressable/index.js +62 -0
  58. package/lib/module/components/wui-pressable/index.js.map +1 -0
  59. package/lib/module/components/wui-shimmer/index.js +6 -2
  60. package/lib/module/components/wui-shimmer/index.js.map +1 -1
  61. package/lib/module/components/wui-text/index.js +2 -2
  62. package/lib/module/components/wui-text/index.js.map +1 -1
  63. package/lib/module/composites/wui-button/index.js +2 -1
  64. package/lib/module/composites/wui-button/index.js.map +1 -1
  65. package/lib/module/composites/wui-button/styles.js +3 -3
  66. package/lib/module/composites/wui-button/styles.js.map +1 -1
  67. package/lib/module/composites/wui-card-select/index.js +4 -2
  68. package/lib/module/composites/wui-card-select/index.js.map +1 -1
  69. package/lib/module/composites/wui-input-text/index.js +5 -4
  70. package/lib/module/composites/wui-input-text/index.js.map +1 -1
  71. package/lib/module/composites/wui-list-token/index.js +27 -8
  72. package/lib/module/composites/wui-list-token/index.js.map +1 -1
  73. package/lib/module/composites/wui-list-token/styles.js +3 -0
  74. package/lib/module/composites/wui-list-token/styles.js.map +1 -1
  75. package/lib/module/composites/wui-list-wallet/index.js +3 -4
  76. package/lib/module/composites/wui-list-wallet/index.js.map +1 -1
  77. package/lib/module/composites/wui-network-button/index.js +4 -2
  78. package/lib/module/composites/wui-network-button/index.js.map +1 -1
  79. package/lib/module/composites/wui-search-bar/index.js +2 -4
  80. package/lib/module/composites/wui-search-bar/index.js.map +1 -1
  81. package/lib/module/composites/wui-snackbar/index.js +6 -2
  82. package/lib/module/composites/wui-snackbar/index.js.map +1 -1
  83. package/lib/module/composites/wui-toggle/index.js +58 -0
  84. package/lib/module/composites/wui-toggle/index.js.map +1 -0
  85. package/lib/module/composites/wui-toggle/styles.js +24 -0
  86. package/lib/module/composites/wui-toggle/styles.js.map +1 -0
  87. package/lib/module/composites/wui-token-button/index.js +21 -11
  88. package/lib/module/composites/wui-token-button/index.js.map +1 -1
  89. package/lib/module/composites/wui-token-button/styles.js +4 -0
  90. package/lib/module/composites/wui-token-button/styles.js.map +1 -1
  91. package/lib/module/context/ThemeContext.js +33 -0
  92. package/lib/module/context/ThemeContext.js.map +1 -0
  93. package/lib/module/hooks/useTheme.js +4 -7
  94. package/lib/module/hooks/useTheme.js.map +1 -1
  95. package/lib/module/index.js +4 -1
  96. package/lib/module/index.js.map +1 -1
  97. package/lib/module/layout/wui-flex/index.js +3 -2
  98. package/lib/module/layout/wui-flex/index.js.map +1 -1
  99. package/lib/module/layout/wui-separator/index.js +4 -4
  100. package/lib/module/layout/wui-separator/index.js.map +1 -1
  101. package/lib/module/utils/ThemeUtil.js +16 -0
  102. package/lib/module/utils/ThemeUtil.js.map +1 -1
  103. package/lib/module/utils/TransactionUtil.js +56 -45
  104. package/lib/module/utils/TransactionUtil.js.map +1 -1
  105. package/lib/typescript/assets/svg/RecycleHorizontal.d.ts +4 -0
  106. package/lib/typescript/assets/svg/RecycleHorizontal.d.ts.map +1 -0
  107. package/lib/typescript/components/wui-icon/index.d.ts.map +1 -1
  108. package/lib/typescript/components/wui-pressable/index.d.ts +17 -0
  109. package/lib/typescript/components/wui-pressable/index.d.ts.map +1 -0
  110. package/lib/typescript/components/wui-shimmer/index.d.ts.map +1 -1
  111. package/lib/typescript/components/wui-text/index.d.ts.map +1 -1
  112. package/lib/typescript/composites/wui-card-select/index.d.ts +2 -1
  113. package/lib/typescript/composites/wui-card-select/index.d.ts.map +1 -1
  114. package/lib/typescript/composites/wui-input-text/index.d.ts +3 -1
  115. package/lib/typescript/composites/wui-input-text/index.d.ts.map +1 -1
  116. package/lib/typescript/composites/wui-list-token/index.d.ts +4 -1
  117. package/lib/typescript/composites/wui-list-token/index.d.ts.map +1 -1
  118. package/lib/typescript/composites/wui-list-token/styles.d.ts +3 -0
  119. package/lib/typescript/composites/wui-list-token/styles.d.ts.map +1 -1
  120. package/lib/typescript/composites/wui-list-wallet/index.d.ts.map +1 -1
  121. package/lib/typescript/composites/wui-network-button/index.d.ts +2 -1
  122. package/lib/typescript/composites/wui-network-button/index.d.ts.map +1 -1
  123. package/lib/typescript/composites/wui-search-bar/index.d.ts +1 -2
  124. package/lib/typescript/composites/wui-search-bar/index.d.ts.map +1 -1
  125. package/lib/typescript/composites/wui-snackbar/index.d.ts +1 -1
  126. package/lib/typescript/composites/wui-snackbar/index.d.ts.map +1 -1
  127. package/lib/typescript/composites/wui-toggle/index.d.ts +11 -0
  128. package/lib/typescript/composites/wui-toggle/index.d.ts.map +1 -0
  129. package/lib/typescript/composites/wui-toggle/styles.d.ts +23 -0
  130. package/lib/typescript/composites/wui-toggle/styles.d.ts.map +1 -0
  131. package/lib/typescript/composites/wui-token-button/index.d.ts +7 -3
  132. package/lib/typescript/composites/wui-token-button/index.d.ts.map +1 -1
  133. package/lib/typescript/composites/wui-token-button/styles.d.ts +4 -0
  134. package/lib/typescript/composites/wui-token-button/styles.d.ts.map +1 -1
  135. package/lib/typescript/context/ThemeContext.d.ts +78 -0
  136. package/lib/typescript/context/ThemeContext.d.ts.map +1 -0
  137. package/lib/typescript/hooks/useTheme.d.ts +1 -1
  138. package/lib/typescript/hooks/useTheme.d.ts.map +1 -1
  139. package/lib/typescript/index.d.ts +4 -1
  140. package/lib/typescript/index.d.ts.map +1 -1
  141. package/lib/typescript/layout/wui-flex/index.d.ts +2 -1
  142. package/lib/typescript/layout/wui-flex/index.d.ts.map +1 -1
  143. package/lib/typescript/layout/wui-separator/index.d.ts.map +1 -1
  144. package/lib/typescript/utils/ThemeUtil.d.ts +13 -0
  145. package/lib/typescript/utils/ThemeUtil.d.ts.map +1 -1
  146. package/lib/typescript/utils/TransactionUtil.d.ts +9 -1
  147. package/lib/typescript/utils/TransactionUtil.d.ts.map +1 -1
  148. package/lib/typescript/utils/TypesUtil.d.ts +2 -2
  149. package/lib/typescript/utils/TypesUtil.d.ts.map +1 -1
  150. package/package.json +2 -1
  151. package/src/assets/svg/RecycleHorizontal.tsx +12 -0
  152. package/src/components/wui-icon/index.tsx +2 -0
  153. package/src/components/wui-pressable/index.tsx +92 -0
  154. package/src/components/wui-shimmer/index.tsx +9 -2
  155. package/src/components/wui-text/index.tsx +3 -4
  156. package/src/composites/wui-button/index.tsx +1 -1
  157. package/src/composites/wui-button/styles.ts +3 -3
  158. package/src/composites/wui-card-select/index.tsx +4 -1
  159. package/src/composites/wui-input-text/index.tsx +11 -3
  160. package/src/composites/wui-list-token/index.tsx +31 -8
  161. package/src/composites/wui-list-token/styles.ts +3 -0
  162. package/src/composites/wui-list-wallet/index.tsx +5 -6
  163. package/src/composites/wui-network-button/index.tsx +4 -1
  164. package/src/composites/wui-search-bar/index.tsx +1 -4
  165. package/src/composites/wui-snackbar/index.tsx +13 -3
  166. package/src/composites/wui-toggle/index.tsx +81 -0
  167. package/src/composites/wui-toggle/styles.ts +24 -0
  168. package/src/composites/wui-token-button/index.tsx +37 -8
  169. package/src/composites/wui-token-button/styles.ts +4 -0
  170. package/src/context/ThemeContext.tsx +44 -0
  171. package/src/hooks/useTheme.ts +4 -8
  172. package/src/index.ts +4 -1
  173. package/src/layout/wui-flex/index.tsx +7 -3
  174. package/src/layout/wui-separator/index.tsx +4 -7
  175. package/src/utils/ThemeUtil.ts +18 -0
  176. package/src/utils/TransactionUtil.ts +72 -52
  177. package/src/utils/TypesUtil.ts +2 -0
  178. package/lib/commonjs/components/wui-lean-text/index.js +0 -15
  179. package/lib/commonjs/components/wui-lean-text/index.js.map +0 -1
  180. package/lib/commonjs/components/wui-lean-text/index.web.js +0 -13
  181. package/lib/commonjs/components/wui-lean-text/index.web.js.map +0 -1
  182. package/lib/commonjs/components/wui-lean-view/index.js +0 -15
  183. package/lib/commonjs/components/wui-lean-view/index.js.map +0 -1
  184. package/lib/commonjs/components/wui-lean-view/index.web.js +0 -13
  185. package/lib/commonjs/components/wui-lean-view/index.web.js.map +0 -1
  186. package/lib/module/components/wui-lean-text/index.js +0 -10
  187. package/lib/module/components/wui-lean-text/index.js.map +0 -1
  188. package/lib/module/components/wui-lean-text/index.web.js +0 -3
  189. package/lib/module/components/wui-lean-text/index.web.js.map +0 -1
  190. package/lib/module/components/wui-lean-view/index.js +0 -10
  191. package/lib/module/components/wui-lean-view/index.js.map +0 -1
  192. package/lib/module/components/wui-lean-view/index.web.js +0 -3
  193. package/lib/module/components/wui-lean-view/index.web.js.map +0 -1
  194. package/lib/typescript/components/wui-lean-text/index.d.ts +0 -5
  195. package/lib/typescript/components/wui-lean-text/index.d.ts.map +0 -1
  196. package/lib/typescript/components/wui-lean-text/index.web.d.ts +0 -3
  197. package/lib/typescript/components/wui-lean-text/index.web.d.ts.map +0 -1
  198. package/lib/typescript/components/wui-lean-view/index.d.ts +0 -5
  199. package/lib/typescript/components/wui-lean-view/index.d.ts.map +0 -1
  200. package/lib/typescript/components/wui-lean-view/index.web.d.ts +0 -3
  201. package/lib/typescript/components/wui-lean-view/index.web.d.ts.map +0 -1
  202. package/src/components/wui-lean-text/index.tsx +0 -10
  203. package/src/components/wui-lean-text/index.web.tsx +0 -3
  204. package/src/components/wui-lean-view/index.tsx +0 -10
  205. package/src/components/wui-lean-view/index.web.tsx +0 -3
@@ -2,7 +2,8 @@ import { DateUtil } from '@reown/appkit-common-react-native';
2
2
  import type {
3
3
  TransactionTransfer,
4
4
  Transaction,
5
- TransactionImage
5
+ TransactionImage,
6
+ TransactionMetadata
6
7
  } from '@reown/appkit-common-react-native';
7
8
  import type { TransactionType } from './TypesUtil';
8
9
  import { UiUtil } from './UiUtil';
@@ -24,20 +25,22 @@ export const TransactionUtil = {
24
25
  },
25
26
 
26
27
  getTransactionImages(transfers: TransactionTransfer[]): TransactionImage[] {
27
- const [transfer, secondTransfer] = transfers;
28
- const isAllNFT = Boolean(transfer) && transfers?.every(item => Boolean(item.nft_info));
28
+ const isAllNFT = Boolean(transfers[0]) && transfers?.every(item => Boolean(item.nft_info));
29
29
  const haveMultipleTransfers = transfers?.length > 1;
30
30
  const haveTwoTransfers = transfers?.length === 2;
31
31
 
32
32
  if (haveTwoTransfers && !isAllNFT) {
33
- return [this.getTransactionImage(transfer), this.getTransactionImage(secondTransfer)];
33
+ const first = transfers.find(t => t?.direction === 'out');
34
+ const second = transfers.find(t => t?.direction === 'in');
35
+
36
+ return [this.getTransactionImage(first), this.getTransactionImage(second)];
34
37
  }
35
38
 
36
39
  if (haveMultipleTransfers) {
37
40
  return transfers.map(item => this.getTransactionImage(item));
38
41
  }
39
42
 
40
- return [this.getTransactionImage(transfer)];
43
+ return [this.getTransactionImage(transfers[0])];
41
44
  },
42
45
 
43
46
  getTransactionImage(transfer?: TransactionTransfer): TransactionImage {
@@ -72,66 +75,83 @@ export const TransactionUtil = {
72
75
  },
73
76
 
74
77
  getTransactionDescriptions(transaction: Transaction) {
75
- const type = transaction?.metadata?.operationType as TransactionType;
78
+ if (!transaction.metadata) {
79
+ return ['Unknown transaction'];
80
+ }
76
81
 
82
+ const type = transaction?.metadata?.operationType as TransactionType;
77
83
  const transfers = transaction?.transfers;
78
- const haveTransfer = transaction?.transfers?.length > 0;
79
- const haveMultipleTransfers = transaction?.transfers?.length > 1;
80
- const isSendOrReceive = type === 'send' || type === 'receive';
81
- const isFungible =
82
- haveTransfer && transfers?.every(transfer => Boolean(transfer?.fungible_info));
83
- const [firstTransfer, secondTransfer] = transfers;
84
-
85
- let firstDescription = this.getTransferDescription(firstTransfer);
86
- let secondDescription = this.getTransferDescription(secondTransfer);
87
-
88
- if (!haveTransfer) {
89
- if (isSendOrReceive && isFungible) {
90
- firstDescription = UiUtil.getTruncateString({
91
- string: transaction?.metadata.sentFrom,
92
- charsStart: 4,
93
- charsEnd: 6,
94
- truncate: 'middle'
95
- });
96
- secondDescription = UiUtil.getTruncateString({
97
- string: transaction?.metadata.sentTo,
98
- charsStart: 4,
99
- charsEnd: 6,
100
- truncate: 'middle'
101
- });
102
-
103
- return [firstDescription, secondDescription];
104
- }
105
-
106
- return [transaction.metadata.status];
84
+
85
+ // Early return for trade transactions
86
+ if (type === 'trade') {
87
+ return this.getTradeDescriptions(transfers);
107
88
  }
108
89
 
109
- if (haveMultipleTransfers) {
110
- return transfers.map(item => this.getTransferDescription(item));
90
+ // Handle multiple transfers
91
+ if (transfers.length > 1) {
92
+ return transfers.map(transfer => this.getTransferDescription(transfer));
111
93
  }
112
94
 
113
- let prefix = '';
114
- if (plusTypes.includes(type)) {
115
- prefix = '+';
116
- } else if (minusTypes.includes(type)) {
117
- prefix = '-';
95
+ // Handle single transfer
96
+ if (transfers.length === 1) {
97
+ return [this.formatSingleTransfer(transfers[0]!, type, transaction.metadata)];
118
98
  }
119
99
 
120
- firstDescription = prefix.concat(firstDescription);
100
+ return [transaction.metadata.status];
101
+ },
102
+
103
+ isSendReceiveTransaction(type: TransactionType): boolean {
104
+ return type === 'send' || type === 'receive';
105
+ },
106
+
107
+ hasFungibleTransfers(transfers: TransactionTransfer[]): boolean {
108
+ return transfers.every(transfer => Boolean(transfer?.fungible_info));
109
+ },
110
+
111
+ getSendReceiveDescriptions(metadata: TransactionMetadata): string[] {
112
+ return [this.truncateAddress(metadata.sentFrom), this.truncateAddress(metadata.sentTo)];
113
+ },
114
+
115
+ truncateAddress(address: string): string {
116
+ return UiUtil.getTruncateString({
117
+ string: address,
118
+ charsStart: 4,
119
+ charsEnd: 6,
120
+ truncate: 'middle'
121
+ });
122
+ },
121
123
 
122
- if (isSendOrReceive) {
124
+ formatSingleTransfer(
125
+ transfer: TransactionTransfer,
126
+ type: TransactionType,
127
+ metadata: TransactionMetadata
128
+ ): string {
129
+ const prefix = this.getPrefix(type);
130
+ let description = prefix.concat(this.getTransferDescription(transfer));
131
+
132
+ if (this.isSendReceiveTransaction(type)) {
123
133
  const isSend = type === 'send';
124
- const address = UiUtil.getTruncateString({
125
- string: isSend ? transaction.metadata.sentTo : transaction.metadata.sentFrom,
126
- charsStart: 4,
127
- charsEnd: 4,
128
- truncate: 'middle'
129
- });
134
+
135
+ const address = this.truncateAddress(isSend ? metadata.sentTo : metadata.sentFrom);
130
136
  const arrow = isSend ? '→' : '←';
131
- firstDescription = firstDescription.concat(` ${arrow} ${address}`);
137
+ description = description.concat(` ${arrow} ${address}`);
132
138
  }
133
139
 
134
- return [firstDescription];
140
+ return description;
141
+ },
142
+
143
+ getPrefix(type: TransactionType): string {
144
+ if (plusTypes.includes(type)) return '+';
145
+ if (minusTypes.includes(type)) return '-';
146
+
147
+ return '';
148
+ },
149
+
150
+ getTradeDescriptions(transfers: TransactionTransfer[]): string[] {
151
+ const outTransfer = transfers.find(transfer => transfer?.direction === 'out');
152
+ const inTransfer = transfers.find(transfer => transfer?.direction === 'in');
153
+
154
+ return [this.getTransferDescription(outTransfer), this.getTransferDescription(inTransfer)];
135
155
  },
136
156
 
137
157
  getTransferDescription(transfer?: TransactionTransfer) {
@@ -112,6 +112,7 @@ export type ColorType =
112
112
  | 'gray-glass-020'
113
113
  | 'gray-glass-010'
114
114
  | 'gray-glass-005'
115
+ | 'gray-glass-002'
115
116
  | 'inverse-000'
116
117
  | 'inverse-100'
117
118
  | 'success-100'
@@ -174,6 +175,7 @@ export type IconType =
174
175
  | 'off'
175
176
  | 'paperplane'
176
177
  | 'qrCode'
178
+ | 'recycleHorizontal'
177
179
  | 'refresh'
178
180
  | 'search'
179
181
  | 'swapHorizontal'
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.LeanText = void 0;
7
- var _react = require("react");
8
- const LeanText = exports.LeanText = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
9
- return /*#__PURE__*/(0, _react.createElement)('RCTText', {
10
- ...props,
11
- ref
12
- });
13
- });
14
- LeanText.displayName = 'RCTText';
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","require","LeanText","exports","forwardRef","props","ref","createElement","displayName"],"sourceRoot":"../../../../src","sources":["components/wui-lean-text/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,MAAMC,QAAQ,GAAAC,OAAA,CAAAD,QAAA,gBAAG,IAAAE,iBAAU,EAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;EAC1C,oBAAO,IAAAC,oBAAa,EAAC,SAAS,EAAE;IAAE,GAAGF,KAAK;IAAEC;EAAI,CAAC,CAAC;AACpD,CAAC,CAA6B;AAE9BJ,QAAQ,CAACM,WAAW,GAAG,SAAS"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "LeanText", {
7
- enumerable: true,
8
- get: function () {
9
- return _reactNative.Text;
10
- }
11
- });
12
- var _reactNative = require("react-native");
13
- //# sourceMappingURL=index.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require"],"sourceRoot":"../../../../src","sources":["components/wui-lean-text/index.web.tsx"],"mappings":";;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.LeanView = void 0;
7
- var _react = require("react");
8
- const LeanView = exports.LeanView = /*#__PURE__*/(0, _react.forwardRef)((props, ref) => {
9
- return /*#__PURE__*/(0, _react.createElement)('RCTView', {
10
- ...props,
11
- ref
12
- });
13
- });
14
- LeanView.displayName = 'RCTView';
15
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","require","LeanView","exports","forwardRef","props","ref","createElement","displayName"],"sourceRoot":"../../../../src","sources":["components/wui-lean-view/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAGA,MAAMC,QAAQ,GAAAC,OAAA,CAAAD,QAAA,gBAAG,IAAAE,iBAAU,EAAC,CAACC,KAAK,EAAEC,GAAG,KAAK;EAC1C,oBAAO,IAAAC,oBAAa,EAAC,SAAS,EAAE;IAAE,GAAGF,KAAK;IAAEC;EAAI,CAAC,CAAC;AACpD,CAAC,CAA6B;AAE9BJ,QAAQ,CAACM,WAAW,GAAG,SAAS"}
@@ -1,13 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "LeanView", {
7
- enumerable: true,
8
- get: function () {
9
- return _reactNative.View;
10
- }
11
- });
12
- var _reactNative = require("react-native");
13
- //# sourceMappingURL=index.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_reactNative","require"],"sourceRoot":"../../../../src","sources":["components/wui-lean-view/index.web.tsx"],"mappings":";;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA"}
@@ -1,10 +0,0 @@
1
- import { createElement, forwardRef } from 'react';
2
- const LeanText = /*#__PURE__*/forwardRef((props, ref) => {
3
- return /*#__PURE__*/createElement('RCTText', {
4
- ...props,
5
- ref
6
- });
7
- });
8
- LeanText.displayName = 'RCTText';
9
- export { LeanText };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createElement","forwardRef","LeanText","props","ref","displayName"],"sourceRoot":"../../../../src","sources":["components/wui-lean-text/index.tsx"],"mappings":"AAAA,SAA6BA,aAAa,EAAEC,UAAU,QAAQ,OAAO;AAGrE,MAAMC,QAAQ,gBAAGD,UAAU,CAAC,CAACE,KAAK,EAAEC,GAAG,KAAK;EAC1C,oBAAOJ,aAAa,CAAC,SAAS,EAAE;IAAE,GAAGG,KAAK;IAAEC;EAAI,CAAC,CAAC;AACpD,CAAC,CAA6B;AAE9BF,QAAQ,CAACG,WAAW,GAAG,SAAS;AAEhC,SAASH,QAAQ"}
@@ -1,3 +0,0 @@
1
- import { Text } from 'react-native';
2
- export { Text as LeanText };
3
- //# sourceMappingURL=index.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["Text","LeanText"],"sourceRoot":"../../../../src","sources":["components/wui-lean-text/index.web.tsx"],"mappings":"AAAA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASA,IAAI,IAAIC,QAAQ"}
@@ -1,10 +0,0 @@
1
- import { createElement, forwardRef } from 'react';
2
- const LeanView = /*#__PURE__*/forwardRef((props, ref) => {
3
- return /*#__PURE__*/createElement('RCTView', {
4
- ...props,
5
- ref
6
- });
7
- });
8
- LeanView.displayName = 'RCTView';
9
- export { LeanView };
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createElement","forwardRef","LeanView","props","ref","displayName"],"sourceRoot":"../../../../src","sources":["components/wui-lean-view/index.tsx"],"mappings":"AAAA,SAA6BA,aAAa,EAAEC,UAAU,QAAQ,OAAO;AAGrE,MAAMC,QAAQ,gBAAGD,UAAU,CAAC,CAACE,KAAK,EAAEC,GAAG,KAAK;EAC1C,oBAAOJ,aAAa,CAAC,SAAS,EAAE;IAAE,GAAGG,KAAK;IAAEC;EAAI,CAAC,CAAC;AACpD,CAAC,CAA6B;AAE9BF,QAAQ,CAACG,WAAW,GAAG,SAAS;AAEhC,SAASH,QAAQ"}
@@ -1,3 +0,0 @@
1
- import { View } from 'react-native';
2
- export { View as LeanView };
3
- //# sourceMappingURL=index.web.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["View","LeanView"],"sourceRoot":"../../../../src","sources":["components/wui-lean-view/index.web.tsx"],"mappings":"AAAA,SAASA,IAAI,QAAQ,cAAc;AAEnC,SAASA,IAAI,IAAIC,QAAQ"}
@@ -1,5 +0,0 @@
1
- import { type ComponentType } from 'react';
2
- import type { TextProps } from 'react-native';
3
- declare const LeanText: ComponentType<TextProps>;
4
- export { LeanText };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-lean-text/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA6B,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,QAAQ,0BAEgB,CAAC;AAI/B,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { Text } from 'react-native';
2
- export { Text as LeanText };
3
- //# sourceMappingURL=index.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-lean-text/index.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,CAAC"}
@@ -1,5 +0,0 @@
1
- import { type ComponentType } from 'react';
2
- import type { ViewProps } from 'react-native';
3
- declare const LeanView: ComponentType<ViewProps>;
4
- export { LeanView };
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-lean-view/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAA6B,MAAM,OAAO,CAAC;AACtE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,QAAA,MAAM,QAAQ,0BAEgB,CAAC;AAI/B,OAAO,EAAE,QAAQ,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- import { View } from 'react-native';
2
- export { View as LeanView };
3
- //# sourceMappingURL=index.web.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.web.d.ts","sourceRoot":"","sources":["../../../../src/components/wui-lean-view/index.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,IAAI,IAAI,QAAQ,EAAE,CAAC"}
@@ -1,10 +0,0 @@
1
- import { type ComponentType, createElement, forwardRef } from 'react';
2
- import type { TextProps } from 'react-native';
3
-
4
- const LeanText = forwardRef((props, ref) => {
5
- return createElement('RCTText', { ...props, ref });
6
- }) as ComponentType<TextProps>;
7
-
8
- LeanText.displayName = 'RCTText';
9
-
10
- export { LeanText };
@@ -1,3 +0,0 @@
1
- import { Text } from 'react-native';
2
-
3
- export { Text as LeanText };
@@ -1,10 +0,0 @@
1
- import { type ComponentType, createElement, forwardRef } from 'react';
2
- import type { ViewProps } from 'react-native';
3
-
4
- const LeanView = forwardRef((props, ref) => {
5
- return createElement('RCTView', { ...props, ref });
6
- }) as ComponentType<ViewProps>;
7
-
8
- LeanView.displayName = 'RCTView';
9
-
10
- export { LeanView };
@@ -1,3 +0,0 @@
1
- import { View } from 'react-native';
2
-
3
- export { View as LeanView };