@adobe/react-native-aepmessaging 7.3.0 → 7.4.0

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 (289) hide show
  1. package/RCTAEPMessaging.podspec +1 -1
  2. package/README.md +145 -16
  3. package/android/src/main/java/com/adobe/marketing/mobile/reactnative/messaging/RCTAEPMessagingModule.java +82 -32
  4. package/babel.config.js +3 -0
  5. package/dist/module/Messaging.js +334 -0
  6. package/dist/module/Messaging.js.map +1 -0
  7. package/dist/module/index.js +30 -0
  8. package/dist/module/index.js.map +1 -0
  9. package/dist/module/models/ContentCard.js +24 -0
  10. package/dist/module/models/ContentCard.js.map +1 -0
  11. package/dist/{models → module/models}/HTMLProposition.js +8 -9
  12. package/dist/module/models/HTMLProposition.js.map +1 -0
  13. package/dist/module/models/InAppMessage.js +4 -0
  14. package/dist/module/models/InAppMessage.js.map +1 -0
  15. package/dist/module/models/JSONProposition.js +22 -0
  16. package/dist/module/models/JSONProposition.js.map +1 -0
  17. package/dist/module/models/Message.js +182 -0
  18. package/dist/module/models/Message.js.map +1 -0
  19. package/dist/module/models/MessagingDelegate.js +4 -0
  20. package/dist/module/models/MessagingDelegate.js.map +1 -0
  21. package/dist/module/models/MessagingEdgeEventType.js +24 -0
  22. package/dist/module/models/MessagingEdgeEventType.js.map +1 -0
  23. package/dist/module/models/MessagingProposition.js +57 -0
  24. package/dist/module/models/MessagingProposition.js.map +1 -0
  25. package/dist/module/models/MessagingPropositionItem.js +4 -0
  26. package/dist/module/models/MessagingPropositionItem.js.map +1 -0
  27. package/dist/module/models/PersonalizationSchema.js +26 -0
  28. package/dist/module/models/PersonalizationSchema.js.map +1 -0
  29. package/dist/module/models/PropositionItem.js +113 -0
  30. package/dist/module/models/PropositionItem.js.map +1 -0
  31. package/dist/module/models/ScopeDetails.js +2 -0
  32. package/dist/module/models/ScopeDetails.js.map +1 -0
  33. package/dist/{models/JSONProposition.js → module/models/index.js} +14 -12
  34. package/dist/module/models/index.js.map +1 -0
  35. package/dist/module/ui/components/Button/Button.js +57 -0
  36. package/dist/module/ui/components/Button/Button.js.map +1 -0
  37. package/dist/module/ui/components/Button/Button.spec.js +476 -0
  38. package/dist/module/ui/components/Button/Button.spec.js.map +1 -0
  39. package/dist/module/ui/components/ContentCardView/ContentCardView.js +257 -0
  40. package/dist/module/ui/components/ContentCardView/ContentCardView.js.map +1 -0
  41. package/dist/module/ui/components/ContentCardView/ContentCardView.spec.js +363 -0
  42. package/dist/module/ui/components/ContentCardView/ContentCardView.spec.js.map +1 -0
  43. package/dist/module/ui/components/DismissButton/DismissButton.js +70 -0
  44. package/dist/module/ui/components/DismissButton/DismissButton.js.map +1 -0
  45. package/dist/module/ui/components/DismissButton/DismissButton.spec.js +279 -0
  46. package/dist/module/ui/components/DismissButton/DismissButton.spec.js.map +1 -0
  47. package/dist/module/ui/components/FullScreenCenterView/FullScreenCenterView.js +34 -0
  48. package/dist/module/ui/components/FullScreenCenterView/FullScreenCenterView.js.map +1 -0
  49. package/dist/module/ui/components/Inbox/EmptyState.js +64 -0
  50. package/dist/module/ui/components/Inbox/EmptyState.js.map +1 -0
  51. package/dist/module/ui/components/Inbox/Inbox.js +235 -0
  52. package/dist/module/ui/components/Inbox/Inbox.js.map +1 -0
  53. package/dist/module/ui/components/Inbox/Inbox.spec.js +847 -0
  54. package/dist/module/ui/components/Inbox/Inbox.spec.js.map +1 -0
  55. package/dist/module/ui/components/Pagination/Pagination.js +176 -0
  56. package/dist/module/ui/components/Pagination/Pagination.js.map +1 -0
  57. package/dist/module/ui/components/Pagination/Pagination.spec.js +193 -0
  58. package/dist/module/ui/components/Pagination/Pagination.spec.js.map +1 -0
  59. package/dist/module/ui/components/UnreadIcon/UnreadIcon.js +184 -0
  60. package/dist/module/ui/components/UnreadIcon/UnreadIcon.js.map +1 -0
  61. package/dist/module/ui/components/UnreadIcon/UnreadIcon.spec.js +815 -0
  62. package/dist/module/ui/components/UnreadIcon/UnreadIcon.spec.js.map +1 -0
  63. package/dist/{models/ContentCard.js → module/ui/components/index.js} +12 -12
  64. package/dist/module/ui/components/index.js.map +1 -0
  65. package/dist/module/ui/hooks/index.js +18 -0
  66. package/dist/module/ui/hooks/index.js.map +1 -0
  67. package/dist/module/ui/hooks/useAspectRatio.js +33 -0
  68. package/dist/module/ui/hooks/useAspectRatio.js.map +1 -0
  69. package/dist/module/ui/hooks/useAspectRatio.spec.js +65 -0
  70. package/dist/module/ui/hooks/useAspectRatio.spec.js.map +1 -0
  71. package/dist/module/ui/hooks/useContentCardUI.js +51 -0
  72. package/dist/module/ui/hooks/useContentCardUI.js.map +1 -0
  73. package/dist/module/ui/hooks/useContentCardUI.spec.js +85 -0
  74. package/dist/module/ui/hooks/useContentCardUI.spec.js.map +1 -0
  75. package/dist/module/ui/hooks/useInbox.js +49 -0
  76. package/dist/module/ui/hooks/useInbox.js.map +1 -0
  77. package/dist/module/ui/hooks/useInbox.spec.js +93 -0
  78. package/dist/module/ui/hooks/useInbox.spec.js.map +1 -0
  79. package/dist/module/ui/hooks/useInboxSettings.js +26 -0
  80. package/dist/module/ui/hooks/useInboxSettings.js.map +1 -0
  81. package/dist/module/ui/hooks/useInboxSettings.spec.js +50 -0
  82. package/dist/module/ui/hooks/useInboxSettings.spec.js.map +1 -0
  83. package/dist/module/ui/index.js +10 -0
  84. package/dist/module/ui/index.js.map +1 -0
  85. package/dist/module/ui/providers/InboxProvider.js +27 -0
  86. package/dist/module/ui/providers/InboxProvider.js.map +1 -0
  87. package/dist/module/ui/theme/Theme.js +2 -0
  88. package/dist/module/ui/theme/Theme.js.map +1 -0
  89. package/dist/module/ui/theme/ThemeProvider.js +112 -0
  90. package/dist/module/ui/theme/ThemeProvider.js.map +1 -0
  91. package/dist/{models/InAppMessage.js → module/ui/theme/index.js} +6 -3
  92. package/dist/module/ui/theme/index.js.map +1 -0
  93. package/dist/module/ui/types/ContentViewEvent.js +2 -0
  94. package/dist/module/ui/types/ContentViewEvent.js.map +1 -0
  95. package/dist/module/ui/types/Templates.js +26 -0
  96. package/dist/module/ui/types/Templates.js.map +1 -0
  97. package/dist/{models/ScopeDetails.js → module/ui/types/index.js} +6 -3
  98. package/dist/module/ui/types/index.js.map +1 -0
  99. package/dist/module/ui/utils/generateCardHash.js +50 -0
  100. package/dist/module/ui/utils/generateCardHash.js.map +1 -0
  101. package/dist/module/ui/utils/generateCardHash.spec.js +103 -0
  102. package/dist/module/ui/utils/generateCardHash.spec.js.map +1 -0
  103. package/dist/module/ui/utils/inboxStorage.js +65 -0
  104. package/dist/module/ui/utils/inboxStorage.js.map +1 -0
  105. package/dist/module/ui/utils/inboxStorage.spec.js +123 -0
  106. package/dist/module/ui/utils/inboxStorage.spec.js.map +1 -0
  107. package/dist/module/ui/utils/index.js +5 -0
  108. package/dist/module/ui/utils/index.js.map +1 -0
  109. package/dist/{Messaging.d.ts → typescript/Messaging.d.ts} +23 -7
  110. package/dist/typescript/Messaging.d.ts.map +1 -0
  111. package/dist/{index.d.ts → typescript/index.d.ts} +4 -2
  112. package/dist/typescript/index.d.ts.map +1 -0
  113. package/dist/typescript/models/ContentCard.d.ts +57 -0
  114. package/dist/typescript/models/ContentCard.d.ts.map +1 -0
  115. package/dist/{models → typescript/models}/HTMLProposition.d.ts +1 -0
  116. package/dist/typescript/models/HTMLProposition.d.ts.map +1 -0
  117. package/dist/{models → typescript/models}/InAppMessage.d.ts +1 -0
  118. package/dist/typescript/models/InAppMessage.d.ts.map +1 -0
  119. package/dist/{models → typescript/models}/JSONProposition.d.ts +1 -0
  120. package/dist/typescript/models/JSONProposition.d.ts.map +1 -0
  121. package/dist/{models → typescript/models}/Message.d.ts +1 -0
  122. package/dist/typescript/models/Message.d.ts.map +1 -0
  123. package/dist/{models → typescript/models}/MessagingDelegate.d.ts +1 -0
  124. package/dist/typescript/models/MessagingDelegate.d.ts.map +1 -0
  125. package/dist/{models → typescript/models}/MessagingEdgeEventType.d.ts +1 -0
  126. package/dist/typescript/models/MessagingEdgeEventType.d.ts.map +1 -0
  127. package/dist/{models → typescript/models}/MessagingProposition.d.ts +1 -0
  128. package/dist/typescript/models/MessagingProposition.d.ts.map +1 -0
  129. package/dist/{models → typescript/models}/MessagingPropositionItem.d.ts +1 -0
  130. package/dist/typescript/models/MessagingPropositionItem.d.ts.map +1 -0
  131. package/dist/{models → typescript/models}/PersonalizationSchema.d.ts +2 -0
  132. package/dist/typescript/models/PersonalizationSchema.d.ts.map +1 -0
  133. package/dist/{models → typescript/models}/PropositionItem.d.ts +1 -0
  134. package/dist/typescript/models/PropositionItem.d.ts.map +1 -0
  135. package/dist/{models → typescript/models}/ScopeDetails.d.ts +1 -0
  136. package/dist/typescript/models/ScopeDetails.d.ts.map +1 -0
  137. package/dist/typescript/models/index.d.ts +11 -0
  138. package/dist/typescript/models/index.d.ts.map +1 -0
  139. package/dist/typescript/ui/components/Button/Button.d.ts +14 -0
  140. package/dist/typescript/ui/components/Button/Button.d.ts.map +1 -0
  141. package/dist/typescript/ui/components/Button/Button.spec.d.ts +2 -0
  142. package/dist/typescript/ui/components/Button/Button.spec.d.ts.map +1 -0
  143. package/dist/typescript/ui/components/ContentCardView/ContentCardView.d.ts +39 -0
  144. package/dist/typescript/ui/components/ContentCardView/ContentCardView.d.ts.map +1 -0
  145. package/dist/typescript/ui/components/ContentCardView/ContentCardView.spec.d.ts +2 -0
  146. package/dist/typescript/ui/components/ContentCardView/ContentCardView.spec.d.ts.map +1 -0
  147. package/dist/typescript/ui/components/DismissButton/DismissButton.d.ts +13 -0
  148. package/dist/typescript/ui/components/DismissButton/DismissButton.d.ts.map +1 -0
  149. package/dist/typescript/ui/components/DismissButton/DismissButton.spec.d.ts +2 -0
  150. package/dist/typescript/ui/components/DismissButton/DismissButton.spec.d.ts.map +1 -0
  151. package/dist/typescript/ui/components/FullScreenCenterView/FullScreenCenterView.d.ts +5 -0
  152. package/dist/typescript/ui/components/FullScreenCenterView/FullScreenCenterView.d.ts.map +1 -0
  153. package/dist/typescript/ui/components/Inbox/EmptyState.d.ts +19 -0
  154. package/dist/typescript/ui/components/Inbox/EmptyState.d.ts.map +1 -0
  155. package/dist/typescript/ui/components/Inbox/Inbox.d.ts +21 -0
  156. package/dist/typescript/ui/components/Inbox/Inbox.d.ts.map +1 -0
  157. package/dist/typescript/ui/components/Inbox/Inbox.spec.d.ts +2 -0
  158. package/dist/typescript/ui/components/Inbox/Inbox.spec.d.ts.map +1 -0
  159. package/dist/typescript/ui/components/Pagination/Pagination.d.ts +14 -0
  160. package/dist/typescript/ui/components/Pagination/Pagination.d.ts.map +1 -0
  161. package/dist/typescript/ui/components/Pagination/Pagination.spec.d.ts +2 -0
  162. package/dist/typescript/ui/components/Pagination/Pagination.spec.d.ts.map +1 -0
  163. package/dist/typescript/ui/components/UnreadIcon/UnreadIcon.d.ts +14 -0
  164. package/dist/typescript/ui/components/UnreadIcon/UnreadIcon.d.ts.map +1 -0
  165. package/dist/typescript/ui/components/UnreadIcon/UnreadIcon.spec.d.ts +2 -0
  166. package/dist/typescript/ui/components/UnreadIcon/UnreadIcon.spec.d.ts.map +1 -0
  167. package/dist/typescript/ui/components/index.d.ts +10 -0
  168. package/dist/typescript/ui/components/index.d.ts.map +1 -0
  169. package/dist/typescript/ui/hooks/index.d.ts +4 -0
  170. package/dist/typescript/ui/hooks/index.d.ts.map +1 -0
  171. package/dist/typescript/ui/hooks/useAspectRatio.d.ts +3 -0
  172. package/dist/typescript/ui/hooks/useAspectRatio.d.ts.map +1 -0
  173. package/dist/typescript/ui/hooks/useAspectRatio.spec.d.ts +2 -0
  174. package/dist/typescript/ui/hooks/useAspectRatio.spec.d.ts.map +1 -0
  175. package/dist/typescript/ui/hooks/useContentCardUI.d.ts +14 -0
  176. package/dist/typescript/ui/hooks/useContentCardUI.d.ts.map +1 -0
  177. package/dist/typescript/ui/hooks/useContentCardUI.spec.d.ts +2 -0
  178. package/dist/typescript/ui/hooks/useContentCardUI.spec.d.ts.map +1 -0
  179. package/dist/typescript/ui/hooks/useInbox.d.ts +12 -0
  180. package/dist/typescript/ui/hooks/useInbox.d.ts.map +1 -0
  181. package/dist/typescript/ui/hooks/useInbox.spec.d.ts +2 -0
  182. package/dist/typescript/ui/hooks/useInbox.spec.d.ts.map +1 -0
  183. package/dist/typescript/ui/hooks/useInboxSettings.d.ts +7 -0
  184. package/dist/typescript/ui/hooks/useInboxSettings.d.ts.map +1 -0
  185. package/dist/typescript/ui/hooks/useInboxSettings.spec.d.ts +2 -0
  186. package/dist/typescript/ui/hooks/useInboxSettings.spec.d.ts.map +1 -0
  187. package/dist/typescript/ui/index.d.ts +8 -0
  188. package/dist/typescript/ui/index.d.ts.map +1 -0
  189. package/dist/typescript/ui/providers/InboxProvider.d.ts +56 -0
  190. package/dist/typescript/ui/providers/InboxProvider.d.ts.map +1 -0
  191. package/dist/typescript/ui/theme/Theme.d.ts +44 -0
  192. package/dist/typescript/ui/theme/Theme.d.ts.map +1 -0
  193. package/dist/typescript/ui/theme/ThemeProvider.d.ts +21 -0
  194. package/dist/typescript/ui/theme/ThemeProvider.d.ts.map +1 -0
  195. package/dist/typescript/ui/theme/index.d.ts +3 -0
  196. package/dist/typescript/ui/theme/index.d.ts.map +1 -0
  197. package/dist/typescript/ui/types/ContentViewEvent.d.ts +9 -0
  198. package/dist/typescript/ui/types/ContentViewEvent.d.ts.map +1 -0
  199. package/dist/typescript/ui/types/Templates.d.ts +43 -0
  200. package/dist/typescript/ui/types/Templates.d.ts.map +1 -0
  201. package/dist/typescript/ui/types/index.d.ts +3 -0
  202. package/dist/typescript/ui/types/index.d.ts.map +1 -0
  203. package/dist/typescript/ui/utils/generateCardHash.d.ts +21 -0
  204. package/dist/typescript/ui/utils/generateCardHash.d.ts.map +1 -0
  205. package/dist/typescript/ui/utils/generateCardHash.spec.d.ts +2 -0
  206. package/dist/typescript/ui/utils/generateCardHash.spec.d.ts.map +1 -0
  207. package/dist/typescript/ui/utils/inboxStorage.d.ts +20 -0
  208. package/dist/typescript/ui/utils/inboxStorage.d.ts.map +1 -0
  209. package/dist/typescript/ui/utils/inboxStorage.spec.d.ts +2 -0
  210. package/dist/typescript/ui/utils/inboxStorage.spec.d.ts.map +1 -0
  211. package/dist/typescript/ui/utils/index.d.ts +3 -0
  212. package/dist/typescript/ui/utils/index.d.ts.map +1 -0
  213. package/ios/src/RCTAEPMessaging.mm +11 -0
  214. package/ios/src/RCTAEPMessaging.swift +30 -3
  215. package/jest.config.js +15 -0
  216. package/package.json +33 -5
  217. package/src/Messaging.ts +287 -32
  218. package/src/index.ts +3 -3
  219. package/src/models/ContentCard.ts +52 -27
  220. package/src/models/HTMLProposition.ts +1 -1
  221. package/src/models/JSONProposition.ts +1 -1
  222. package/src/models/PersonalizationSchema.ts +1 -0
  223. package/src/models/index.ts +22 -0
  224. package/src/ui/components/Button/Button.spec.tsx +496 -0
  225. package/src/ui/components/Button/Button.tsx +76 -0
  226. package/src/ui/components/ContentCardView/ContentCardView.spec.tsx +278 -0
  227. package/src/ui/components/ContentCardView/ContentCardView.tsx +400 -0
  228. package/src/ui/components/DismissButton/DismissButton.spec.tsx +314 -0
  229. package/src/ui/components/DismissButton/DismissButton.tsx +100 -0
  230. package/src/ui/components/FullScreenCenterView/FullScreenCenterView.tsx +32 -0
  231. package/src/ui/components/Inbox/EmptyState.tsx +89 -0
  232. package/src/ui/components/Inbox/Inbox.spec.tsx +478 -0
  233. package/src/ui/components/Inbox/Inbox.tsx +275 -0
  234. package/src/ui/components/Pagination/Pagination.spec.tsx +159 -0
  235. package/src/ui/components/Pagination/Pagination.tsx +222 -0
  236. package/src/ui/components/UnreadIcon/UnreadIcon.spec.tsx +878 -0
  237. package/src/ui/components/UnreadIcon/UnreadIcon.tsx +234 -0
  238. package/src/ui/components/index.ts +22 -0
  239. package/{dist/models/MessagingPropositionItem.js → src/ui/hooks/index.ts} +5 -4
  240. package/src/ui/hooks/useAspectRatio.spec.tsx +66 -0
  241. package/src/ui/hooks/useAspectRatio.tsx +39 -0
  242. package/src/ui/hooks/useContentCardUI.spec.tsx +82 -0
  243. package/src/ui/hooks/useContentCardUI.ts +48 -0
  244. package/src/ui/hooks/useInbox.spec.tsx +87 -0
  245. package/src/ui/hooks/useInbox.ts +46 -0
  246. package/src/ui/hooks/useInboxSettings.spec.tsx +41 -0
  247. package/src/ui/hooks/useInboxSettings.ts +24 -0
  248. package/src/ui/index.ts +7 -0
  249. package/src/ui/providers/InboxProvider.tsx +79 -0
  250. package/src/ui/theme/Theme.ts +57 -0
  251. package/src/ui/theme/ThemeProvider.tsx +120 -0
  252. package/src/ui/theme/index.ts +14 -0
  253. package/src/ui/types/ContentViewEvent.ts +20 -0
  254. package/src/ui/types/Templates.ts +77 -0
  255. package/src/ui/types/index.ts +14 -0
  256. package/src/ui/utils/generateCardHash.spec.tsx +86 -0
  257. package/src/ui/utils/generateCardHash.ts +59 -0
  258. package/src/ui/utils/inboxStorage.spec.tsx +136 -0
  259. package/src/ui/utils/inboxStorage.ts +64 -0
  260. package/src/ui/utils/index.ts +3 -0
  261. package/tutorials/ContentCardCustomizationGuide.md +661 -0
  262. package/tutorials/ContentCards.md +419 -0
  263. package/tutorials/Inbox.md +515 -0
  264. package/tutorials/resources/image-only-template.png +0 -0
  265. package/tutorials/resources/large-image-template.png +0 -0
  266. package/tutorials/resources/small-image-template.png +0 -0
  267. package/dist/Messaging.js +0 -152
  268. package/dist/Messaging.js.map +0 -1
  269. package/dist/index.js +0 -34
  270. package/dist/index.js.map +0 -1
  271. package/dist/models/ContentCard.d.ts +0 -51
  272. package/dist/models/ContentCard.js.map +0 -1
  273. package/dist/models/HTMLProposition.js.map +0 -1
  274. package/dist/models/InAppMessage.js.map +0 -1
  275. package/dist/models/JSONProposition.js.map +0 -1
  276. package/dist/models/Message.js +0 -156
  277. package/dist/models/Message.js.map +0 -1
  278. package/dist/models/MessagingDelegate.js +0 -14
  279. package/dist/models/MessagingDelegate.js.map +0 -1
  280. package/dist/models/MessagingEdgeEventType.js +0 -24
  281. package/dist/models/MessagingEdgeEventType.js.map +0 -1
  282. package/dist/models/MessagingProposition.js +0 -59
  283. package/dist/models/MessagingProposition.js.map +0 -1
  284. package/dist/models/MessagingPropositionItem.js.map +0 -1
  285. package/dist/models/PersonalizationSchema.js +0 -25
  286. package/dist/models/PersonalizationSchema.js.map +0 -1
  287. package/dist/models/PropositionItem.js +0 -78
  288. package/dist/models/PropositionItem.js.map +0 -1
  289. package/dist/models/ScopeDetails.js.map +0 -1
@@ -0,0 +1,476 @@
1
+ "use strict";
2
+
3
+ /*
4
+ Copyright 2026 Adobe. All rights reserved.
5
+ This file is licensed to you under the Apache License, Version 2.0 (the
6
+ "License"); you may not use this file except in compliance with the License.
7
+ You may obtain a copy of the License at
8
+ http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
9
+ or agreed to in writing, software distributed under the License is
10
+ distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF
11
+ ANY KIND, either express or implied. See the License for the specific
12
+ language governing permissions and limitations under the License.
13
+ */
14
+ import { fireEvent, render, screen, waitFor } from '@testing-library/react-native';
15
+ import React from 'react';
16
+ import { Linking } from 'react-native';
17
+ import { ThemeProvider } from "../../theme/ThemeProvider.js";
18
+ import Button from "./Button.js";
19
+
20
+ // Mock Linking
21
+ jest.spyOn(Linking, 'openURL');
22
+ jest.spyOn(Linking, 'canOpenURL');
23
+
24
+ // Helper to render with theme
25
+ const renderWithTheme = (component, customThemes) => {
26
+ return render(/*#__PURE__*/React.createElement(ThemeProvider, {
27
+ customThemes: customThemes
28
+ }, component));
29
+ };
30
+ describe('Button', () => {
31
+ const mockOnPress = jest.fn();
32
+ beforeEach(() => {
33
+ jest.clearAllMocks();
34
+ Linking.canOpenURL.mockResolvedValue(true);
35
+ Linking.openURL.mockResolvedValue(undefined);
36
+ });
37
+ afterEach(() => {
38
+ jest.clearAllMocks();
39
+ });
40
+ describe('Basic rendering', () => {
41
+ it('should render a button with the provided title', () => {
42
+ render(/*#__PURE__*/React.createElement(Button, {
43
+ title: "Click Me"
44
+ }));
45
+ const button = screen.getByText('Click Me');
46
+ expect(button).toBeTruthy();
47
+ });
48
+ it('should render with different title text', () => {
49
+ render(/*#__PURE__*/React.createElement(Button, {
50
+ title: "Submit"
51
+ }));
52
+ expect(screen.getByText('Submit')).toBeTruthy();
53
+ });
54
+ it('should render button as Pressable component', () => {
55
+ const {
56
+ getByTestId
57
+ } = render(/*#__PURE__*/React.createElement(Button, {
58
+ title: "Test",
59
+ testID: "test-button"
60
+ }));
61
+ const button = getByTestId('test-button');
62
+ expect(button.type).toBe('View'); // Pressable renders as View
63
+ });
64
+ });
65
+ describe('Press handling', () => {
66
+ it('should call onPress when the button is pressed', () => {
67
+ render(/*#__PURE__*/React.createElement(Button, {
68
+ title: "Press Me",
69
+ onPress: mockOnPress
70
+ }));
71
+ const button = screen.getByText('Press Me');
72
+ fireEvent.press(button);
73
+ expect(mockOnPress).toHaveBeenCalledTimes(1);
74
+ });
75
+ it('should call onPress with interactId when provided', () => {
76
+ render(/*#__PURE__*/React.createElement(Button, {
77
+ title: "Press Me",
78
+ onPress: mockOnPress,
79
+ interactId: "test-interact-id"
80
+ }));
81
+ const button = screen.getByText('Press Me');
82
+ fireEvent.press(button);
83
+
84
+ // First argument should be interactId; second (event) may be undefined in tests
85
+ expect(mockOnPress).toHaveBeenCalled();
86
+ expect((mockOnPress.mock.calls[0] ?? [])[0]).toBe('test-interact-id');
87
+ });
88
+ it('should call onPress multiple times when pressed multiple times', () => {
89
+ render(/*#__PURE__*/React.createElement(Button, {
90
+ title: "Press Me",
91
+ onPress: mockOnPress
92
+ }));
93
+ const button = screen.getByText('Press Me');
94
+ fireEvent.press(button);
95
+ fireEvent.press(button);
96
+ fireEvent.press(button);
97
+ expect(mockOnPress).toHaveBeenCalledTimes(3);
98
+ });
99
+ it('should not throw error when onPress is not provided', () => {
100
+ render(/*#__PURE__*/React.createElement(Button, {
101
+ title: "Press Me"
102
+ }));
103
+ const button = screen.getByText('Press Me');
104
+ expect(() => fireEvent.press(button)).not.toThrow();
105
+ });
106
+ });
107
+ describe('actionUrl handling', () => {
108
+ it('should open URL when actionUrl is provided and button is pressed', async () => {
109
+ const testUrl = 'https://example.com';
110
+ render(/*#__PURE__*/React.createElement(Button, {
111
+ title: "Link",
112
+ actionUrl: testUrl
113
+ }));
114
+ const button = screen.getByText('Link');
115
+ fireEvent.press(button);
116
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledWith(testUrl));
117
+ });
118
+ it('should call both onPress and open URL when both are provided', async () => {
119
+ const testUrl = 'https://example.com';
120
+ render(/*#__PURE__*/React.createElement(Button, {
121
+ title: "Link",
122
+ actionUrl: testUrl,
123
+ onPress: mockOnPress
124
+ }));
125
+ const button = screen.getByText('Link');
126
+ fireEvent.press(button);
127
+ expect(mockOnPress).toHaveBeenCalledTimes(1);
128
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledWith(testUrl));
129
+ });
130
+ it('should call onPress with interactId and open URL', async () => {
131
+ const testUrl = 'https://example.com';
132
+ render(/*#__PURE__*/React.createElement(Button, {
133
+ title: "Link",
134
+ actionUrl: testUrl,
135
+ onPress: mockOnPress,
136
+ interactId: "link-interact-id"
137
+ }));
138
+ const button = screen.getByText('Link');
139
+ fireEvent.press(button);
140
+ expect(mockOnPress).toHaveBeenCalled();
141
+ expect((mockOnPress.mock.calls[0] ?? [])[0]).toBe('link-interact-id');
142
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledWith(testUrl));
143
+ });
144
+ it('should call openURL even if it might fail', async () => {
145
+ const testUrl = 'https://example.com';
146
+ render(/*#__PURE__*/React.createElement(Button, {
147
+ title: "Link",
148
+ actionUrl: testUrl
149
+ }));
150
+ const button = screen.getByText('Link');
151
+ fireEvent.press(button);
152
+
153
+ // Verify the URL opening was attempted
154
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledWith(testUrl));
155
+ });
156
+ it('should warn if openURL throws', async () => {
157
+ const warnSpy = jest.spyOn(console, 'warn').mockImplementation(() => {});
158
+ const testUrl = 'https://example.com';
159
+ Linking.canOpenURL.mockResolvedValueOnce(true);
160
+ Linking.openURL.mockImplementationOnce(() => Promise.reject(new Error('open failed')));
161
+ render(/*#__PURE__*/React.createElement(Button, {
162
+ title: "Link",
163
+ actionUrl: testUrl
164
+ }));
165
+ const button = screen.getByText('Link');
166
+ expect(() => fireEvent.press(button)).not.toThrow();
167
+ await waitFor(() => expect(warnSpy).toHaveBeenCalledWith(expect.stringContaining(`Failed to open URL: ${testUrl}`), expect.any(Error)));
168
+ warnSpy.mockRestore();
169
+ });
170
+ it('should not try to open URL when actionUrl is not provided', () => {
171
+ render(/*#__PURE__*/React.createElement(Button, {
172
+ title: "No Link",
173
+ onPress: mockOnPress
174
+ }));
175
+ const button = screen.getByText('No Link');
176
+ fireEvent.press(button);
177
+ expect(Linking.openURL).not.toHaveBeenCalled();
178
+ });
179
+ it('should not open URL if canOpenURL returns false', () => {
180
+ Linking.canOpenURL.mockResolvedValueOnce(false);
181
+ const testUrl = 'https://example.com';
182
+ render(/*#__PURE__*/React.createElement(Button, {
183
+ title: "Link",
184
+ actionUrl: testUrl
185
+ }));
186
+ const button = screen.getByText('Link');
187
+ fireEvent.press(button);
188
+ expect(Linking.openURL).not.toHaveBeenCalled();
189
+ });
190
+ });
191
+ describe('Theme support', () => {
192
+ it('should apply theme button text color when theme is provided', () => {
193
+ const customThemes = {
194
+ light: {
195
+ colors: {
196
+ buttonTextColor: '#FF5733'
197
+ }
198
+ },
199
+ dark: {
200
+ colors: {
201
+ buttonTextColor: '#FF5733'
202
+ }
203
+ }
204
+ };
205
+ renderWithTheme(/*#__PURE__*/React.createElement(Button, {
206
+ title: "Themed"
207
+ }), customThemes);
208
+ const text = screen.getByText('Themed');
209
+ expect(text.props.style).toEqual(expect.arrayContaining([expect.objectContaining({
210
+ color: '#FF5733'
211
+ })]));
212
+ });
213
+ it('should handle theme with undefined buttonTextColor', () => {
214
+ const customThemes = {
215
+ light: {
216
+ colors: {}
217
+ },
218
+ dark: {
219
+ colors: {}
220
+ }
221
+ };
222
+ renderWithTheme(/*#__PURE__*/React.createElement(Button, {
223
+ title: "Default"
224
+ }), customThemes);
225
+ const text = screen.getByText('Default');
226
+ expect(text).toBeTruthy();
227
+ });
228
+ it('should render without theme provider', () => {
229
+ expect(() => {
230
+ render(/*#__PURE__*/React.createElement(Button, {
231
+ title: "No Theme"
232
+ }));
233
+ }).not.toThrow();
234
+ });
235
+ });
236
+ describe('Custom styles', () => {
237
+ it('should accept and apply custom textStyle', () => {
238
+ const customTextStyle = {
239
+ fontSize: 20,
240
+ fontWeight: 'bold'
241
+ };
242
+ render(/*#__PURE__*/React.createElement(Button, {
243
+ title: "Styled",
244
+ textStyle: customTextStyle
245
+ }));
246
+ const text = screen.getByText('Styled');
247
+ expect(text.props.style).toEqual(expect.arrayContaining([expect.objectContaining({
248
+ fontSize: 20,
249
+ fontWeight: 'bold'
250
+ })]));
251
+ });
252
+ it('should accept and apply array of textStyles', () => {
253
+ const textStyles = [{
254
+ fontSize: 16
255
+ }, {
256
+ fontWeight: 'bold'
257
+ }, {
258
+ color: 'blue'
259
+ }];
260
+ render(/*#__PURE__*/React.createElement(Button, {
261
+ title: "Multi Style",
262
+ textStyle: textStyles
263
+ }));
264
+ const text = screen.getByText('Multi Style');
265
+ const styles = JSON.stringify(text.props.style);
266
+ expect(styles).toContain('"fontSize":16');
267
+ expect(styles).toContain('"fontWeight":"bold"');
268
+ expect(styles).toContain('"color":"blue"');
269
+ });
270
+ it('should accept and apply custom Pressable style', () => {
271
+ const customStyle = {
272
+ padding: 10,
273
+ backgroundColor: 'red'
274
+ };
275
+ const {
276
+ getByTestId
277
+ } = render(/*#__PURE__*/React.createElement(Button, {
278
+ title: "Styled Button",
279
+ style: customStyle,
280
+ testID: "button"
281
+ }));
282
+ const button = getByTestId('button');
283
+ expect(button.props.style).toEqual(customStyle);
284
+ });
285
+ it('should merge theme color with custom textStyle', () => {
286
+ const customThemes = {
287
+ light: {
288
+ colors: {
289
+ buttonTextColor: '#FF5733'
290
+ }
291
+ },
292
+ dark: {
293
+ colors: {
294
+ buttonTextColor: '#FF5733'
295
+ }
296
+ }
297
+ };
298
+ const customTextStyle = {
299
+ fontSize: 18
300
+ };
301
+ renderWithTheme(/*#__PURE__*/React.createElement(Button, {
302
+ title: "Merged",
303
+ textStyle: customTextStyle
304
+ }), customThemes);
305
+ const text = screen.getByText('Merged');
306
+ expect(text.props.style).toEqual(expect.arrayContaining([expect.objectContaining({
307
+ color: '#FF5733'
308
+ }), expect.objectContaining({
309
+ fontSize: 18
310
+ })]));
311
+ });
312
+ });
313
+ describe('Additional Pressable props', () => {
314
+ it('should accept disabled prop', () => {
315
+ const {
316
+ getByTestId
317
+ } = render(/*#__PURE__*/React.createElement(Button, {
318
+ title: "Disabled",
319
+ disabled: true,
320
+ testID: "button"
321
+ }));
322
+ const button = getByTestId('button');
323
+ expect(button.props.accessibilityState.disabled).toBe(true);
324
+ });
325
+ it('should accept accessibility props', () => {
326
+ const {
327
+ getByTestId
328
+ } = render(/*#__PURE__*/React.createElement(Button, {
329
+ title: "Accessible",
330
+ testID: "button",
331
+ accessibilityLabel: "Submit form",
332
+ accessibilityHint: "Double tap to submit the form"
333
+ }));
334
+ const button = getByTestId('button');
335
+ expect(button.props.accessibilityLabel).toBe('Submit form');
336
+ expect(button.props.accessibilityHint).toBe('Double tap to submit the form');
337
+ });
338
+ it('should accept testID prop', () => {
339
+ const {
340
+ getByTestId
341
+ } = render(/*#__PURE__*/React.createElement(Button, {
342
+ title: "Test ID",
343
+ testID: "my-button"
344
+ }));
345
+ const button = getByTestId('my-button');
346
+ expect(button).toBeTruthy();
347
+ });
348
+ it('should spread additional Pressable props', () => {
349
+ const {
350
+ getByTestId
351
+ } = render(/*#__PURE__*/React.createElement(Button, {
352
+ title: "Extended",
353
+ testID: "button",
354
+ hitSlop: 10,
355
+ accessibilityRole: "button"
356
+ }));
357
+ const button = getByTestId('button');
358
+ expect(button.props.hitSlop).toBe(10);
359
+ expect(button.props.accessibilityRole).toBe('button');
360
+ });
361
+ });
362
+ describe('ID prop', () => {
363
+ it('should accept id prop without error', () => {
364
+ expect(() => {
365
+ render(/*#__PURE__*/React.createElement(Button, {
366
+ title: "With ID",
367
+ id: "button-123"
368
+ }));
369
+ }).not.toThrow();
370
+ });
371
+ it('should render correctly with id prop', () => {
372
+ render(/*#__PURE__*/React.createElement(Button, {
373
+ title: "ID Button",
374
+ id: "unique-id"
375
+ }));
376
+ const button = screen.getByText('ID Button');
377
+ expect(button).toBeTruthy();
378
+ });
379
+ });
380
+ describe('Edge cases', () => {
381
+ it('should handle empty title string', () => {
382
+ render(/*#__PURE__*/React.createElement(Button, {
383
+ title: ""
384
+ }));
385
+
386
+ // Should not throw, but may not be visible
387
+ expect(() => screen.getByText('')).not.toThrow();
388
+ });
389
+ it('should handle very long title text', () => {
390
+ const longTitle = 'A'.repeat(1000);
391
+ render(/*#__PURE__*/React.createElement(Button, {
392
+ title: longTitle
393
+ }));
394
+ const button = screen.getByText(longTitle);
395
+ expect(button).toBeTruthy();
396
+ });
397
+ it('should handle special characters in title', () => {
398
+ const specialTitle = '!@#$%^&*()_+-={}[]|:;<>?,./~`';
399
+ render(/*#__PURE__*/React.createElement(Button, {
400
+ title: specialTitle
401
+ }));
402
+ const button = screen.getByText(specialTitle);
403
+ expect(button).toBeTruthy();
404
+ });
405
+ it('should handle undefined interactId', () => {
406
+ render(/*#__PURE__*/React.createElement(Button, {
407
+ title: "Test",
408
+ onPress: mockOnPress,
409
+ interactId: undefined
410
+ }));
411
+ const button = screen.getByText('Test');
412
+ fireEvent.press(button);
413
+ expect(mockOnPress).toHaveBeenCalled();
414
+ expect((mockOnPress.mock.calls[0] ?? [])[0]).toBeUndefined();
415
+ });
416
+ it('should handle empty string as actionUrl', () => {
417
+ render(/*#__PURE__*/React.createElement(Button, {
418
+ title: "Empty URL",
419
+ actionUrl: ""
420
+ }));
421
+ const button = screen.getByText('Empty URL');
422
+ fireEvent.press(button);
423
+
424
+ // Empty string is falsy, so openURL should not be called
425
+ expect(Linking.openURL).not.toHaveBeenCalled();
426
+ });
427
+ });
428
+ describe('Callback stability', () => {
429
+ it('should maintain stable callback reference', async () => {
430
+ const {
431
+ rerender
432
+ } = render(/*#__PURE__*/React.createElement(Button, {
433
+ title: "Stable",
434
+ onPress: mockOnPress,
435
+ actionUrl: "https://example.com"
436
+ }));
437
+ const button = screen.getByText('Stable');
438
+ fireEvent.press(button);
439
+ expect(mockOnPress).toHaveBeenCalledTimes(1);
440
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledTimes(1));
441
+
442
+ // Rerender with same props
443
+ rerender(/*#__PURE__*/React.createElement(Button, {
444
+ title: "Stable",
445
+ onPress: mockOnPress,
446
+ actionUrl: "https://example.com"
447
+ }));
448
+ fireEvent.press(button);
449
+ expect(mockOnPress).toHaveBeenCalledTimes(2);
450
+ await waitFor(() => expect(Linking.openURL).toHaveBeenCalledTimes(2));
451
+ });
452
+ it('should update callback when dependencies change', () => {
453
+ const {
454
+ rerender
455
+ } = render(/*#__PURE__*/React.createElement(Button, {
456
+ title: "Dynamic",
457
+ onPress: mockOnPress,
458
+ interactId: "id-1"
459
+ }));
460
+ const button = screen.getByText('Dynamic');
461
+ fireEvent.press(button);
462
+ expect(mockOnPress).toHaveBeenCalled();
463
+ expect((mockOnPress.mock.calls[0] ?? [])[0]).toBe('id-1');
464
+
465
+ // Rerender with different interactId
466
+ rerender(/*#__PURE__*/React.createElement(Button, {
467
+ title: "Dynamic",
468
+ onPress: mockOnPress,
469
+ interactId: "id-2"
470
+ }));
471
+ fireEvent.press(button);
472
+ expect((mockOnPress.mock.calls[1] ?? [])[0]).toBe('id-2');
473
+ });
474
+ });
475
+ });
476
+ //# sourceMappingURL=Button.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["fireEvent","render","screen","waitFor","React","Linking","ThemeProvider","Button","jest","spyOn","renderWithTheme","component","customThemes","createElement","describe","mockOnPress","fn","beforeEach","clearAllMocks","canOpenURL","mockResolvedValue","openURL","undefined","afterEach","it","title","button","getByText","expect","toBeTruthy","getByTestId","testID","type","toBe","onPress","press","toHaveBeenCalledTimes","interactId","toHaveBeenCalled","mock","calls","not","toThrow","testUrl","actionUrl","toHaveBeenCalledWith","warnSpy","console","mockImplementation","mockResolvedValueOnce","mockImplementationOnce","Promise","reject","Error","stringContaining","any","mockRestore","light","colors","buttonTextColor","dark","text","props","style","toEqual","arrayContaining","objectContaining","color","customTextStyle","fontSize","fontWeight","textStyle","textStyles","styles","JSON","stringify","toContain","customStyle","padding","backgroundColor","disabled","accessibilityState","accessibilityLabel","accessibilityHint","hitSlop","accessibilityRole","id","longTitle","repeat","specialTitle","toBeUndefined","rerender"],"sourceRoot":"../../../../../src","sources":["ui/components/Button/Button.spec.tsx"],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAASA,SAAS,EAAEC,MAAM,EAAEC,MAAM,EAAEC,OAAO,QAAQ,+BAA+B;AAClF,OAAOC,KAAK,MAAM,OAAO;AACzB,SAASC,OAAO,QAAQ,cAAc;AACtC,SAASC,aAAa,QAAQ,8BAA2B;AACzD,OAAOC,MAAM,MAAM,aAAU;;AAE7B;AACAC,IAAI,CAACC,KAAK,CAACJ,OAAO,EAAE,SAAS,CAAC;AAC9BG,IAAI,CAACC,KAAK,CAACJ,OAAO,EAAE,YAAY,CAAC;;AAEjC;AACA,MAAMK,eAAe,GAAGA,CAACC,SAA6B,EAAEC,YAAkB,KAAK;EAC7E,OAAOX,MAAM,cACXG,KAAA,CAAAS,aAAA,CAACP,aAAa;IAACM,YAAY,EAAEA;EAAa,GAAED,SAAyB,CACvE,CAAC;AACH,CAAC;AAEDG,QAAQ,CAAC,QAAQ,EAAE,MAAM;EACvB,MAAMC,WAAW,GAAGP,IAAI,CAACQ,EAAE,CAAC,CAAC;EAE7BC,UAAU,CAAC,MAAM;IACfT,IAAI,CAACU,aAAa,CAAC,CAAC;IACnBb,OAAO,CAACc,UAAU,CAA0BC,iBAA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