@aws-amplify/ui-react-native 1.2.22 → 1.2.23

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 (351) hide show
  1. package/dist/version.d.ts +1 -1
  2. package/dist/version.js +1 -1
  3. package/lib/Authenticator/Authenticator.js +72 -0
  4. package/lib/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.js +43 -0
  5. package/lib/Authenticator/Defaults/ConfirmResetPassword/index.js +8 -0
  6. package/lib/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.js +42 -0
  7. package/lib/Authenticator/Defaults/ConfirmSignIn/index.js +8 -0
  8. package/lib/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.js +43 -0
  9. package/lib/Authenticator/Defaults/ConfirmSignUp/index.js +8 -0
  10. package/lib/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.js +42 -0
  11. package/lib/Authenticator/Defaults/ConfirmVerifyUser/index.js +8 -0
  12. package/lib/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.js +45 -0
  13. package/lib/Authenticator/Defaults/ForceNewPassword/index.js +8 -0
  14. package/lib/Authenticator/Defaults/ResetPassword/ResetPassword.js +42 -0
  15. package/lib/Authenticator/Defaults/ResetPassword/index.js +8 -0
  16. package/lib/Authenticator/Defaults/SetupTOTP/SetupTOTP.js +52 -0
  17. package/lib/Authenticator/Defaults/SetupTOTP/index.js +8 -0
  18. package/lib/Authenticator/Defaults/SetupTOTP/styles.js +8 -0
  19. package/lib/Authenticator/Defaults/SignIn/SignIn.js +50 -0
  20. package/lib/Authenticator/Defaults/SignIn/index.js +8 -0
  21. package/lib/Authenticator/Defaults/SignUp/SignUp.js +48 -0
  22. package/lib/Authenticator/Defaults/SignUp/index.js +8 -0
  23. package/lib/Authenticator/Defaults/VerifyUser/VerifyUser.js +33 -0
  24. package/lib/Authenticator/Defaults/VerifyUser/index.js +8 -0
  25. package/lib/Authenticator/Defaults/index.js +23 -0
  26. package/lib/Authenticator/Defaults/types.js +2 -0
  27. package/lib/Authenticator/common/DefaultContainer/DefaultContainer.js +37 -0
  28. package/lib/Authenticator/common/DefaultContainer/InnerContainer.js +15 -0
  29. package/lib/Authenticator/common/DefaultContainer/index.js +10 -0
  30. package/lib/Authenticator/common/DefaultContainer/styles.js +31 -0
  31. package/lib/Authenticator/common/DefaultContainer/types.js +2 -0
  32. package/lib/Authenticator/common/DefaultContent/DefaultContent.js +33 -0
  33. package/lib/Authenticator/common/DefaultContent/index.js +8 -0
  34. package/lib/Authenticator/common/DefaultContent/styles.js +54 -0
  35. package/lib/Authenticator/common/DefaultContent/types.js +2 -0
  36. package/lib/Authenticator/common/DefaultFooter/DefaultFooter.js +9 -0
  37. package/lib/Authenticator/common/DefaultFooter/index.js +8 -0
  38. package/lib/Authenticator/common/DefaultFooter/types.js +2 -0
  39. package/lib/Authenticator/common/DefaultFormFields/DefaultRadioFormFields.js +28 -0
  40. package/lib/Authenticator/common/DefaultFormFields/DefaultTextFormFields.js +21 -0
  41. package/lib/Authenticator/common/DefaultFormFields/Field.js +37 -0
  42. package/lib/Authenticator/common/DefaultFormFields/FieldErrors.js +17 -0
  43. package/lib/Authenticator/common/DefaultFormFields/index.js +10 -0
  44. package/lib/Authenticator/common/DefaultFormFields/types.js +2 -0
  45. package/lib/Authenticator/common/DefaultHeader/DefaultHeader.js +11 -0
  46. package/lib/Authenticator/common/DefaultHeader/index.js +8 -0
  47. package/lib/Authenticator/common/DefaultHeader/types.js +2 -0
  48. package/lib/Authenticator/common/FederatedProviderButton/FederatedProviderButton.js +18 -0
  49. package/lib/Authenticator/common/FederatedProviderButton/index.js +8 -0
  50. package/lib/Authenticator/common/FederatedProviderButton/styles.js +21 -0
  51. package/lib/Authenticator/common/FederatedProviderButton/types.js +2 -0
  52. package/lib/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.js +26 -0
  53. package/lib/Authenticator/common/FederatedProviderButtons/index.js +8 -0
  54. package/lib/Authenticator/common/FederatedProviderButtons/styles.js +8 -0
  55. package/lib/Authenticator/common/FederatedProviderButtons/types.js +2 -0
  56. package/lib/Authenticator/common/index.js +10 -0
  57. package/lib/Authenticator/hooks/index.js +5 -0
  58. package/lib/Authenticator/hooks/types.js +2 -0
  59. package/lib/Authenticator/hooks/useFieldValues/constants.js +11 -0
  60. package/lib/Authenticator/hooks/useFieldValues/index.js +10 -0
  61. package/lib/Authenticator/hooks/useFieldValues/types.js +2 -0
  62. package/lib/Authenticator/hooks/useFieldValues/useFieldValues.js +101 -0
  63. package/lib/Authenticator/hooks/useFieldValues/utils.js +139 -0
  64. package/lib/Authenticator/index.js +13 -0
  65. package/lib/Authenticator/types.js +2 -0
  66. package/lib/Authenticator/withAuthenticator.js +15 -0
  67. package/lib/InAppMessaging/components/BannerMessage/BannerMessage.js +20 -0
  68. package/lib/InAppMessaging/components/BannerMessage/index.js +8 -0
  69. package/lib/InAppMessaging/components/BannerMessage/styles.js +81 -0
  70. package/lib/InAppMessaging/components/BannerMessage/types.js +2 -0
  71. package/lib/InAppMessaging/components/CarouselMessage/CarouselMessage.js +25 -0
  72. package/lib/InAppMessaging/components/CarouselMessage/CarouselMessageItem.js +22 -0
  73. package/lib/InAppMessaging/components/CarouselMessage/index.js +8 -0
  74. package/lib/InAppMessaging/components/CarouselMessage/styles.js +103 -0
  75. package/lib/InAppMessaging/components/CarouselMessage/types.js +2 -0
  76. package/lib/InAppMessaging/components/FullScreenMessage/FullScreenMessage.js +22 -0
  77. package/lib/InAppMessaging/components/FullScreenMessage/index.js +8 -0
  78. package/lib/InAppMessaging/components/FullScreenMessage/styles.js +91 -0
  79. package/lib/InAppMessaging/components/FullScreenMessage/types.js +2 -0
  80. package/lib/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.js +32 -0
  81. package/lib/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.js +26 -0
  82. package/lib/InAppMessaging/components/InAppMessageDisplay/index.js +8 -0
  83. package/lib/InAppMessaging/components/InAppMessageDisplay/types.js +2 -0
  84. package/lib/InAppMessaging/components/MessageLayout/MessageLayout.js +38 -0
  85. package/lib/InAppMessaging/components/MessageLayout/index.js +8 -0
  86. package/lib/InAppMessaging/components/MessageLayout/types.js +2 -0
  87. package/lib/InAppMessaging/components/MessageWrapper/MessageWrapper.js +24 -0
  88. package/lib/InAppMessaging/components/MessageWrapper/index.js +8 -0
  89. package/lib/InAppMessaging/components/MessageWrapper/styles.js +8 -0
  90. package/lib/InAppMessaging/components/MessageWrapper/types.js +2 -0
  91. package/lib/InAppMessaging/components/ModalMessage/ModalMessage.js +22 -0
  92. package/lib/InAppMessaging/components/ModalMessage/index.js +8 -0
  93. package/lib/InAppMessaging/components/ModalMessage/styles.js +104 -0
  94. package/lib/InAppMessaging/components/ModalMessage/types.js +2 -0
  95. package/lib/InAppMessaging/components/index.js +7 -0
  96. package/lib/InAppMessaging/components/withInAppMessaging/index.js +8 -0
  97. package/lib/InAppMessaging/components/withInAppMessaging/withInAppMessaging.js +15 -0
  98. package/lib/InAppMessaging/constants.js +48 -0
  99. package/lib/InAppMessaging/hooks/index.js +7 -0
  100. package/lib/InAppMessaging/hooks/useMessageImage/constants.js +21 -0
  101. package/lib/InAppMessaging/hooks/useMessageImage/index.js +8 -0
  102. package/lib/InAppMessaging/hooks/useMessageImage/types.js +9 -0
  103. package/lib/InAppMessaging/hooks/useMessageImage/useMessageImage.js +53 -0
  104. package/lib/InAppMessaging/hooks/useMessageImage/utils.js +61 -0
  105. package/lib/InAppMessaging/hooks/useMessageProps/index.js +8 -0
  106. package/lib/InAppMessaging/hooks/useMessageProps/types.js +2 -0
  107. package/lib/InAppMessaging/hooks/useMessageProps/useMessageProps.js +52 -0
  108. package/lib/InAppMessaging/hooks/useMessageProps/utils.js +201 -0
  109. package/lib/InAppMessaging/index.js +9 -0
  110. package/lib/assets/icons/amazonLogo.png +0 -0
  111. package/lib/assets/icons/amazonLogo@2x.png +0 -0
  112. package/lib/assets/icons/amazonLogo@3x.png +0 -0
  113. package/lib/assets/icons/appleLogo.png +0 -0
  114. package/lib/assets/icons/appleLogo@2x.png +0 -0
  115. package/lib/assets/icons/appleLogo@3x.png +0 -0
  116. package/lib/assets/icons/checkboxFilled.png +0 -0
  117. package/lib/assets/icons/checkboxFilled@2x.png +0 -0
  118. package/lib/assets/icons/checkboxFilled@3x.png +0 -0
  119. package/lib/assets/icons/checkboxOutline.png +0 -0
  120. package/lib/assets/icons/checkboxOutline@2x.png +0 -0
  121. package/lib/assets/icons/checkboxOutline@3x.png +0 -0
  122. package/lib/assets/icons/close.png +0 -0
  123. package/lib/assets/icons/close@2x.png +0 -0
  124. package/lib/assets/icons/close@3x.png +0 -0
  125. package/lib/assets/icons/copy.png +0 -0
  126. package/lib/assets/icons/copy@2x.png +0 -0
  127. package/lib/assets/icons/copy@3x.png +0 -0
  128. package/lib/assets/icons/error.png +0 -0
  129. package/lib/assets/icons/error@2x.png +0 -0
  130. package/lib/assets/icons/error@3x.png +0 -0
  131. package/lib/assets/icons/facebookLogo.png +0 -0
  132. package/lib/assets/icons/facebookLogo@2x.png +0 -0
  133. package/lib/assets/icons/facebookLogo@3x.png +0 -0
  134. package/lib/assets/icons/googleLogo.png +0 -0
  135. package/lib/assets/icons/googleLogo@2x.png +0 -0
  136. package/lib/assets/icons/googleLogo@3x.png +0 -0
  137. package/lib/assets/icons/index.js +16 -0
  138. package/lib/assets/icons/index.ts +17 -0
  139. package/lib/assets/icons/visibilityOff.png +0 -0
  140. package/lib/assets/icons/visibilityOff@2x.png +0 -0
  141. package/lib/assets/icons/visibilityOff@3x.png +0 -0
  142. package/lib/assets/icons/visibilityOn.png +0 -0
  143. package/lib/assets/icons/visibilityOn@2x.png +0 -0
  144. package/lib/assets/icons/visibilityOn@3x.png +0 -0
  145. package/lib/assets/index.js +8 -0
  146. package/lib/hooks/index.js +9 -0
  147. package/lib/hooks/useDeprecationWarning/index.js +8 -0
  148. package/lib/hooks/useDeprecationWarning/useDeprecationWarning.js +13 -0
  149. package/lib/hooks/useDeviceOrientation/index.js +8 -0
  150. package/lib/hooks/useDeviceOrientation/useDeviceOrientation.js +37 -0
  151. package/lib/hooks/usePressableContainerStyles/index.js +5 -0
  152. package/lib/hooks/usePressableContainerStyles/usePressableContainerStyles.js +19 -0
  153. package/lib/index.js +14 -0
  154. package/lib/primitives/Button/Button.js +31 -0
  155. package/lib/primitives/Button/index.js +8 -0
  156. package/lib/primitives/Button/styles.js +55 -0
  157. package/lib/primitives/Button/types.js +2 -0
  158. package/lib/primitives/Carousel/Carousel.js +63 -0
  159. package/lib/primitives/Carousel/CarouselPageIndicator.js +14 -0
  160. package/lib/primitives/Carousel/constants.js +21 -0
  161. package/lib/primitives/Carousel/index.js +10 -0
  162. package/lib/primitives/Carousel/styles.js +14 -0
  163. package/lib/primitives/Carousel/types.js +2 -0
  164. package/lib/primitives/Checkbox/Checkbox.js +28 -0
  165. package/lib/primitives/Checkbox/index.js +8 -0
  166. package/lib/primitives/Checkbox/styles.js +28 -0
  167. package/lib/primitives/Checkbox/types.js +2 -0
  168. package/lib/primitives/Divider/Divider.js +22 -0
  169. package/lib/primitives/Divider/index.js +8 -0
  170. package/lib/primitives/Divider/styles.js +28 -0
  171. package/lib/primitives/Divider/types.js +2 -0
  172. package/lib/primitives/ErrorMessage/ErrorMessage.js +22 -0
  173. package/lib/primitives/ErrorMessage/index.js +8 -0
  174. package/lib/primitives/ErrorMessage/styles.js +30 -0
  175. package/lib/primitives/ErrorMessage/types.js +2 -0
  176. package/lib/primitives/Heading/Heading.js +15 -0
  177. package/lib/primitives/Heading/index.js +8 -0
  178. package/lib/primitives/Heading/styles.js +51 -0
  179. package/lib/primitives/Heading/types.js +2 -0
  180. package/lib/primitives/Icon/Icon.js +21 -0
  181. package/lib/primitives/Icon/constants.js +10 -0
  182. package/lib/primitives/Icon/index.js +10 -0
  183. package/lib/primitives/Icon/styles.js +34 -0
  184. package/lib/primitives/Icon/types.js +2 -0
  185. package/lib/primitives/IconButton/IconButton.js +26 -0
  186. package/lib/primitives/IconButton/index.js +8 -0
  187. package/lib/primitives/IconButton/styles.js +21 -0
  188. package/lib/primitives/IconButton/types.js +2 -0
  189. package/lib/primitives/Label/Label.js +16 -0
  190. package/lib/primitives/Label/index.js +8 -0
  191. package/lib/primitives/Label/styles.js +45 -0
  192. package/lib/primitives/Label/types.js +2 -0
  193. package/lib/primitives/Label/utils.js +25 -0
  194. package/lib/primitives/PasswordField/PasswordField.js +24 -0
  195. package/lib/primitives/PasswordField/index.js +8 -0
  196. package/lib/primitives/PasswordField/styles.js +17 -0
  197. package/lib/primitives/PasswordField/types.js +2 -0
  198. package/lib/primitives/PhoneNumberField/PhoneNumberField.js +13 -0
  199. package/lib/primitives/PhoneNumberField/index.js +8 -0
  200. package/lib/primitives/PhoneNumberField/styles.js +22 -0
  201. package/lib/primitives/PhoneNumberField/types.js +2 -0
  202. package/lib/primitives/Radio/Radio.js +46 -0
  203. package/lib/primitives/Radio/getRadioDimensions.js +43 -0
  204. package/lib/primitives/Radio/index.js +8 -0
  205. package/lib/primitives/Radio/styles.js +68 -0
  206. package/lib/primitives/Radio/types.js +2 -0
  207. package/lib/primitives/RadioGroup/RadioGroup.js +55 -0
  208. package/lib/primitives/RadioGroup/index.js +8 -0
  209. package/lib/primitives/RadioGroup/styles.js +20 -0
  210. package/lib/primitives/RadioGroup/types.js +2 -0
  211. package/lib/primitives/Tabs/Tab.js +27 -0
  212. package/lib/primitives/Tabs/Tabs.js +29 -0
  213. package/lib/primitives/Tabs/index.js +10 -0
  214. package/lib/primitives/Tabs/styles.js +58 -0
  215. package/lib/primitives/Tabs/types.js +2 -0
  216. package/lib/primitives/TextField/TextField.js +31 -0
  217. package/lib/primitives/TextField/index.js +8 -0
  218. package/lib/primitives/TextField/styles.js +46 -0
  219. package/lib/primitives/TextField/types.js +2 -0
  220. package/lib/primitives/index.js +18 -0
  221. package/lib/theme/ThemeContext.js +9 -0
  222. package/lib/theme/ThemeProvider.js +12 -0
  223. package/lib/theme/createTheme.js +113 -0
  224. package/lib/theme/defaultTheme.js +11 -0
  225. package/lib/theme/index.js +12 -0
  226. package/lib/theme/types.js +2 -0
  227. package/lib/theme/useTheme.js +11 -0
  228. package/lib/utils/font.js +8 -0
  229. package/lib/utils/index.js +10 -0
  230. package/lib/utils/platform.js +21 -0
  231. package/lib/version.js +4 -0
  232. package/package.json +19 -10
  233. package/src/version.ts +1 -1
  234. package/.eslintrc.js +0 -12
  235. package/.lintstagedrc.js +0 -6
  236. package/.turbo/turbo-build.log +0 -3
  237. package/CHANGELOG.md +0 -332
  238. package/babel.config.js +0 -3
  239. package/dist/assets/index.ts +0 -1
  240. package/jest.config.js +0 -22
  241. package/jest.setup.js +0 -3
  242. package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/ConfirmResetPassword.spec.tsx +0 -89
  243. package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/__snapshots__/ConfirmResetPassword.spec.tsx.snap +0 -1090
  244. package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/ConfirmSignIn.spec.tsx +0 -78
  245. package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/__snapshots__/ConfirmSignIn.spec.tsx.snap +0 -512
  246. package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/ConfirmSignUp.spec.tsx +0 -64
  247. package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/__snapshots__/ConfirmSignUp.spec.tsx.snap +0 -528
  248. package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/ConfirmVerifyUser.spec.tsx +0 -71
  249. package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/__snapshots__/ConfirmVerifyUser.spec.tsx.snap +0 -492
  250. package/src/Authenticator/Defaults/ForceNewPassword/__tests__/ForceNewPassword.spec.tsx +0 -79
  251. package/src/Authenticator/Defaults/ForceNewPassword/__tests__/__snapshots__/ForceNewPassword.spec.tsx.snap +0 -896
  252. package/src/Authenticator/Defaults/ResetPassword/__tests__/ResetPassword.spec.tsx +0 -78
  253. package/src/Authenticator/Defaults/ResetPassword/__tests__/__snapshots__/ResetPassword.spec.tsx.snap +0 -512
  254. package/src/Authenticator/Defaults/SetupTOTP/__tests__/SetupTOTP.spec.tsx +0 -85
  255. package/src/Authenticator/Defaults/SetupTOTP/__tests__/__snapshots__/SetupTOTP.spec.tsx.snap +0 -602
  256. package/src/Authenticator/Defaults/SignIn/__tests__/SignIn.spec.tsx +0 -67
  257. package/src/Authenticator/Defaults/SignIn/__tests__/__snapshots__/SignIn.spec.tsx.snap +0 -1281
  258. package/src/Authenticator/Defaults/SignUp/__tests__/SignUp.spec.tsx +0 -102
  259. package/src/Authenticator/Defaults/SignUp/__tests__/__snapshots__/SignUp.spec.tsx.snap +0 -3122
  260. package/src/Authenticator/Defaults/VerifyUser/__tests__/VerifyUser.spec.tsx +0 -107
  261. package/src/Authenticator/Defaults/VerifyUser/__tests__/__snapshots__/VerifyUser.spec.tsx.snap +0 -692
  262. package/src/Authenticator/__tests__/Authenticator.spec.tsx +0 -131
  263. package/src/Authenticator/__tests__/__snapshots__/Authenticator.spec.tsx.snap +0 -90
  264. package/src/Authenticator/__tests__/__snapshots__/withAuthenticator.spec.tsx.snap +0 -68
  265. package/src/Authenticator/__tests__/withAuthenticator.spec.tsx +0 -73
  266. package/src/Authenticator/common/DefaultContainer/__tests__/DefaultContainer.spec.tsx +0 -19
  267. package/src/Authenticator/common/DefaultContainer/__tests__/__snapshots__/DefaultContainer.spec.tsx.snap +0 -83
  268. package/src/Authenticator/common/DefaultFooter/__tests__/DefaultFooter.spec.tsx +0 -26
  269. package/src/Authenticator/common/DefaultFooter/__tests__/__snapshots__/DefaultFooter.spec.tsx.snap +0 -40
  270. package/src/Authenticator/common/DefaultFormFields/__tests__/DefaultFormFields.spec.tsx +0 -15
  271. package/src/Authenticator/common/DefaultFormFields/__tests__/FieldErrors.spec.tsx +0 -29
  272. package/src/Authenticator/common/DefaultFormFields/__tests__/__snapshots__/DefaultFormFields.spec.tsx.snap +0 -3
  273. package/src/Authenticator/common/DefaultFormFields/__tests__/__snapshots__/FieldErrors.spec.tsx.snap +0 -32
  274. package/src/Authenticator/common/DefaultHeader/__tests__/DefaultHeader.spec.tsx +0 -23
  275. package/src/Authenticator/common/DefaultHeader/__tests__/__snapshots__/DefaultHeader.spec.tsx.snap +0 -24
  276. package/src/Authenticator/common/FederatedProviderButton/__tests__/FederatedProviderButton.spec.tsx +0 -67
  277. package/src/Authenticator/common/FederatedProviderButton/__tests__/__snapshots__/FederatedProviderButton.spec.tsx.snap +0 -185
  278. package/src/Authenticator/common/FederatedProviderButtons/__tests__/FederatedProviderButtons.spec.tsx +0 -55
  279. package/src/Authenticator/common/FederatedProviderButtons/__tests__/__snapshots__/FederatedProviderButtons.spec.tsx.snap +0 -167
  280. package/src/Authenticator/hooks/useFieldValues/__tests__/useFieldValues.spec.ts +0 -399
  281. package/src/Authenticator/hooks/useFieldValues/__tests__/utils.spec.ts +0 -282
  282. package/src/InAppMessaging/components/BannerMessage/__tests__/BannerMessage.spec.tsx +0 -151
  283. package/src/InAppMessaging/components/BannerMessage/__tests__/__snapshots__/BannerMessage.spec.tsx.snap +0 -618
  284. package/src/InAppMessaging/components/CarouselMessage/__tests__/CarouselMessage.spec.tsx +0 -92
  285. package/src/InAppMessaging/components/CarouselMessage/__tests__/CarouselMessageItem.spec.tsx +0 -50
  286. package/src/InAppMessaging/components/CarouselMessage/__tests__/__snapshots__/CarouselMessage.spec.tsx.snap +0 -124
  287. package/src/InAppMessaging/components/CarouselMessage/__tests__/__snapshots__/CarouselMessageItem.spec.tsx.snap +0 -248
  288. package/src/InAppMessaging/components/FullScreenMessage/__tests__/FullScreenMessage.spec.tsx +0 -53
  289. package/src/InAppMessaging/components/FullScreenMessage/__tests__/__snapshots__/FullScreenMessage.spec.tsx.snap +0 -238
  290. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.tsx +0 -34
  291. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/__snapshots__/InAppMessageDisplay.spec.tsx.snap +0 -9
  292. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/handleMessageLinkAction.spec.ts +0 -51
  293. package/src/InAppMessaging/components/MessageWrapper/__tests__/MessageWrapper.spec.tsx +0 -19
  294. package/src/InAppMessaging/components/MessageWrapper/__tests__/__snapshots__/MessageWrapper.spec.tsx.snap +0 -35
  295. package/src/InAppMessaging/components/ModalMessage/__tests__/ModalMessage.spec.tsx +0 -169
  296. package/src/InAppMessaging/components/ModalMessage/__tests__/__snapshots__/ModalMessage.spec.tsx.snap +0 -727
  297. package/src/InAppMessaging/components/withInAppMessaging/__tests__/__snapshots__/withInAppMessaging.spec.tsx.snap +0 -3
  298. package/src/InAppMessaging/components/withInAppMessaging/__tests__/withInAppMessaging.spec.tsx +0 -15
  299. package/src/InAppMessaging/hooks/useMessageImage/__tests__/useMessageImage.spec.ts +0 -141
  300. package/src/InAppMessaging/hooks/useMessageImage/__tests__/utils.spec.ts +0 -107
  301. package/src/InAppMessaging/hooks/useMessageProps/__tests__/__snapshots__/utils.spec.ts.snap +0 -223
  302. package/src/InAppMessaging/hooks/useMessageProps/__tests__/useMessageProps.spec.ts +0 -162
  303. package/src/InAppMessaging/hooks/useMessageProps/__tests__/utils.spec.ts +0 -355
  304. package/src/__mocks__/@react-native-async-storage/async-storage.ts +0 -2
  305. package/src/__mocks__/@react-native-community/netinfo.ts +0 -3
  306. package/src/__mocks__/react-native-safe-area-context.ts +0 -9
  307. package/src/__tests__/__snapshots__/index.spec.ts.snap +0 -26
  308. package/src/__tests__/index.spec.ts +0 -8
  309. package/src/hooks/useDeprecationWarning/__tests__/useDeprecationWarning.spec.ts +0 -42
  310. package/src/hooks/useDeviceOrientation/__tests__/useDeviceOrientation.spec.ts +0 -89
  311. package/src/hooks/usePressableContainerStyles/__tests__/usePressableContainerStyles.spec.ts +0 -68
  312. package/src/primitives/Button/__tests__/Button.spec.tsx +0 -92
  313. package/src/primitives/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -143
  314. package/src/primitives/Carousel/__tests__/Carousel.spec.tsx +0 -174
  315. package/src/primitives/Carousel/__tests__/CarouselPageIndicator.spec.tsx +0 -73
  316. package/src/primitives/Carousel/__tests__/__snapshots__/Carousel.spec.tsx.snap +0 -310
  317. package/src/primitives/Carousel/__tests__/__snapshots__/CarouselPageIndicator.spec.tsx.snap +0 -191
  318. package/src/primitives/Checkbox/__tests__/Checkbox.spec.tsx +0 -150
  319. package/src/primitives/Checkbox/__tests__/__snapshots__/Checkbox.spec.tsx.snap +0 -527
  320. package/src/primitives/Divider/__tests__/Divider.spec.tsx +0 -50
  321. package/src/primitives/Divider/__tests__/__snapshots__/Divider.spec.tsx.snap +0 -165
  322. package/src/primitives/ErrorMessage/__tests__/ErrorMessage.spec.tsx +0 -60
  323. package/src/primitives/ErrorMessage/__tests__/__snapshots__/ErrorMessage.spec.tsx.snap +0 -123
  324. package/src/primitives/Heading/__tests__/Heading.spec.tsx +0 -73
  325. package/src/primitives/Heading/__tests__/__snapshots__/Heading.spec.tsx.snap +0 -171
  326. package/src/primitives/Icon/__tests__/Icon.spec.tsx +0 -100
  327. package/src/primitives/Icon/__tests__/__snapshots__/Icon.spec.tsx.snap +0 -139
  328. package/src/primitives/IconButton/__tests__/IconButton.spec.tsx +0 -71
  329. package/src/primitives/IconButton/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -192
  330. package/src/primitives/Label/__tests__/Label.spec.tsx +0 -75
  331. package/src/primitives/Label/__tests__/__snapshots__/Label.spec.tsx.snap +0 -91
  332. package/src/primitives/PasswordField/__tests__/PasswordField.spec.tsx +0 -110
  333. package/src/primitives/PasswordField/__tests__/__snapshots__/PasswordField.spec.tsx.snap +0 -625
  334. package/src/primitives/PhoneNumberField/__tests__/PhoneNumberField.spec.tsx +0 -53
  335. package/src/primitives/PhoneNumberField/__tests__/__snapshots__/PhoneNumberField.spec.tsx.snap +0 -188
  336. package/src/primitives/Radio/__tests__/Radio.spec.tsx +0 -166
  337. package/src/primitives/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +0 -678
  338. package/src/primitives/RadioGroup/__tests__/RadioGroup.spec.tsx +0 -183
  339. package/src/primitives/RadioGroup/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +0 -1789
  340. package/src/primitives/Tabs/__tests__/Tab.spec.tsx +0 -75
  341. package/src/primitives/Tabs/__tests__/Tabs.spec.tsx +0 -81
  342. package/src/primitives/Tabs/__tests__/__snapshots__/Tab.spec.tsx.snap +0 -278
  343. package/src/primitives/Tabs/__tests__/__snapshots__/Tabs.spec.tsx.snap +0 -163
  344. package/src/primitives/TextField/__tests__/TextField.spec.tsx +0 -202
  345. package/src/primitives/TextField/__tests__/__snapshots__/TextField.spec.tsx.snap +0 -507
  346. package/src/theme/__tests__/ThemeProvider.spec.tsx +0 -23
  347. package/src/theme/__tests__/__snapshots__/useTheme.spec.tsx.snap +0 -226
  348. package/src/theme/__tests__/createTheme.spec.ts +0 -244
  349. package/src/theme/__tests__/useTheme.spec.tsx +0 -51
  350. package/tsconfig.dist.json +0 -4
  351. package/tsconfig.json +0 -9
@@ -1,50 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react-native';
3
-
4
- import { useDeviceOrientation } from '../../../../hooks';
5
- import { useMessageImage } from '../../../hooks/useMessageImage';
6
-
7
- import CarouselMessageItem from '../CarouselMessageItem';
8
-
9
- jest.mock('../../../../hooks');
10
- jest.mock('../../../hooks/useMessageImage');
11
- jest.mock('../../MessageLayout', () => ({ MessageLayout: 'MessageLayout' }));
12
- jest.mock('../../MessageWrapper', () => ({ MessageWrapper: 'MessageWrapper' }));
13
-
14
- const baseProps = { layout: 'CAROUSEL' as const };
15
-
16
- describe('CarouselMessageItem', () => {
17
- beforeEach(() => {
18
- jest.clearAllMocks();
19
- });
20
-
21
- it.each([
22
- ['landscape', false],
23
- ['portrait', true],
24
- ])('renders as expected in %s mode', (deviceOrientation, isPortraitMode) => {
25
- (useDeviceOrientation as jest.Mock).mockReturnValue({
26
- deviceOrientation,
27
- isPortraitMode,
28
- });
29
- (useMessageImage as jest.Mock).mockReturnValueOnce({
30
- hasRenderableImage: false,
31
- imageDimensions: { height: null, width: null },
32
- isImageFetching: false,
33
- });
34
-
35
- const { toJSON } = render(<CarouselMessageItem {...baseProps} />);
36
-
37
- expect(toJSON()).toMatchSnapshot();
38
- });
39
-
40
- it('returns null if message is not ready for rendering', () => {
41
- (useMessageImage as jest.Mock).mockReturnValueOnce({
42
- hasRenderableImage: false,
43
- imageDimensions: { height: null, width: null },
44
- isImageFetching: true,
45
- });
46
- const { toJSON } = render(<CarouselMessageItem {...baseProps} />);
47
-
48
- expect(toJSON()).toBeNull();
49
- });
50
- });
@@ -1,124 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CarouselMessage allows style overrides 1`] = `
4
- <MessageWrapper
5
- disableSafeAreaView={true}
6
- >
7
- <Carousel
8
- data={Array []}
9
- indicatorActiveStyle={
10
- Array [
11
- Object {
12
- "backgroundColor": "#a1a1a1",
13
- "borderRadius": 6,
14
- "height": 12,
15
- "margin": 4,
16
- "width": 12,
17
- },
18
- Object {
19
- "backgroundColor": "red",
20
- },
21
- ]
22
- }
23
- indicatorInactiveStyle={
24
- Array [
25
- Object {
26
- "backgroundColor": "#d8d8d8",
27
- "borderRadius": 6,
28
- "height": 12,
29
- "margin": 4,
30
- "width": 12,
31
- },
32
- Object {
33
- "backgroundColor": "blue",
34
- },
35
- ]
36
- }
37
- renderItem={[Function]}
38
- testID="in-app-messaging--carousel"
39
- />
40
- </MessageWrapper>
41
- `;
42
-
43
- exports[`CarouselMessage renders as expected 1`] = `
44
- <MessageWrapper
45
- disableSafeAreaView={true}
46
- >
47
- <Carousel
48
- data={Array []}
49
- indicatorActiveStyle={
50
- Array [
51
- Object {
52
- "backgroundColor": "#a1a1a1",
53
- "borderRadius": 6,
54
- "height": 12,
55
- "margin": 4,
56
- "width": 12,
57
- },
58
- undefined,
59
- ]
60
- }
61
- indicatorInactiveStyle={
62
- Array [
63
- Object {
64
- "backgroundColor": "#d8d8d8",
65
- "borderRadius": 6,
66
- "height": 12,
67
- "margin": 4,
68
- "width": 12,
69
- },
70
- undefined,
71
- ]
72
- }
73
- renderItem={[Function]}
74
- testID="in-app-messaging--carousel"
75
- />
76
- </MessageWrapper>
77
- `;
78
-
79
- exports[`CarouselMessage renders as expected with minimal props 1`] = `
80
- <MessageWrapper
81
- disableSafeAreaView={true}
82
- >
83
- <Carousel
84
- data={Array []}
85
- indicatorActiveStyle={
86
- Array [
87
- Object {
88
- "backgroundColor": "#a1a1a1",
89
- "borderRadius": 6,
90
- "height": 12,
91
- "margin": 4,
92
- "width": 12,
93
- },
94
- undefined,
95
- ]
96
- }
97
- indicatorInactiveStyle={
98
- Array [
99
- Object {
100
- "backgroundColor": "#d8d8d8",
101
- "borderRadius": 6,
102
- "height": 12,
103
- "margin": 4,
104
- "width": 12,
105
- },
106
- undefined,
107
- ]
108
- }
109
- renderItem={[Function]}
110
- testID="in-app-messaging--carousel"
111
- />
112
- </MessageWrapper>
113
- `;
114
-
115
- exports[`CarouselMessage renders items 1`] = `
116
- <CarouselMessageItem
117
- image={
118
- Object {
119
- "src": "image-src",
120
- }
121
- }
122
- layout="CAROUSEL"
123
- />
124
- `;
@@ -1,248 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`CarouselMessageItem renders as expected in landscape mode 1`] = `
4
- <SafeAreaView
5
- style={
6
- Array [
7
- Object {
8
- "backgroundColor": "#fff",
9
- "flex": 1,
10
- },
11
- Object {},
12
- Object {},
13
- Object {},
14
- ]
15
- }
16
- >
17
- <MessageLayout
18
- hasButtons={false}
19
- hasPrimaryButton={false}
20
- hasRenderableImage={false}
21
- hasSecondaryButton={false}
22
- layout="CAROUSEL"
23
- orientation="landscape"
24
- shouldRenderMessage={true}
25
- styles={
26
- Object {
27
- "body": Array [
28
- Object {
29
- "fontSize": 16,
30
- "fontWeight": "400",
31
- "lineHeight": 24,
32
- },
33
- Object {},
34
- undefined,
35
- ],
36
- "buttonsContainer": Object {
37
- "flexDirection": "row",
38
- "justifyContent": "center",
39
- },
40
- "container": Array [
41
- Array [
42
- Object {
43
- "flex": 1,
44
- "padding": 16,
45
- },
46
- Object {},
47
- Object {},
48
- ],
49
- Object {
50
- "paddingBottom": 36,
51
- },
52
- ],
53
- "contentContainer": Object {
54
- "alignContent": "center",
55
- "flex": 1,
56
- "flexDirection": "row",
57
- "justifyContent": "center",
58
- },
59
- "header": Array [
60
- Object {
61
- "fontSize": 18,
62
- "fontWeight": "600",
63
- "lineHeight": 27,
64
- },
65
- Object {},
66
- undefined,
67
- ],
68
- "iconButton": Object {
69
- "container": Array [
70
- Object {
71
- "alignSelf": "flex-start",
72
- "marginBottom": 8,
73
- "marginLeft": "auto",
74
- "marginRight": 8,
75
- },
76
- undefined,
77
- ],
78
- "iconColor": undefined,
79
- },
80
- "image": Array [
81
- Object {
82
- "height": null,
83
- "width": null,
84
- },
85
- undefined,
86
- ],
87
- "imageContainer": Object {
88
- "alignItems": "center",
89
- "justifyContent": "center",
90
- "margin": 12,
91
- },
92
- "primaryButton": Object {
93
- "container": [Function],
94
- "text": Array [
95
- Object {
96
- "fontSize": 16,
97
- "fontWeight": "400",
98
- "lineHeight": 24,
99
- "textAlign": "center",
100
- },
101
- Object {},
102
- Object {},
103
- ],
104
- },
105
- "secondaryButton": Object {
106
- "container": [Function],
107
- "text": Array [
108
- Object {
109
- "fontSize": 16,
110
- "fontWeight": "400",
111
- "lineHeight": 24,
112
- "textAlign": "center",
113
- },
114
- Object {},
115
- Object {},
116
- ],
117
- },
118
- "textContainer": Object {
119
- "flex": 1,
120
- "justifyContent": "center",
121
- "paddingHorizontal": 8,
122
- },
123
- }
124
- }
125
- />
126
- </SafeAreaView>
127
- `;
128
-
129
- exports[`CarouselMessageItem renders as expected in portrait mode 1`] = `
130
- <SafeAreaView
131
- style={
132
- Array [
133
- Object {
134
- "backgroundColor": "#fff",
135
- "flex": 1,
136
- },
137
- Object {},
138
- Object {},
139
- Object {},
140
- ]
141
- }
142
- >
143
- <MessageLayout
144
- hasButtons={false}
145
- hasPrimaryButton={false}
146
- hasRenderableImage={false}
147
- hasSecondaryButton={false}
148
- layout="CAROUSEL"
149
- orientation="portrait"
150
- shouldRenderMessage={true}
151
- styles={
152
- Object {
153
- "body": Array [
154
- Object {
155
- "fontSize": 16,
156
- "fontWeight": "400",
157
- "lineHeight": 24,
158
- },
159
- Object {},
160
- undefined,
161
- ],
162
- "buttonsContainer": Object {
163
- "flexDirection": "row",
164
- "justifyContent": "center",
165
- },
166
- "container": Array [
167
- Array [
168
- Object {
169
- "flex": 1,
170
- "padding": 16,
171
- },
172
- Object {},
173
- Object {},
174
- ],
175
- Object {
176
- "paddingBottom": 36,
177
- },
178
- ],
179
- "contentContainer": Object {
180
- "flex": 1,
181
- },
182
- "header": Array [
183
- Object {
184
- "fontSize": 18,
185
- "fontWeight": "600",
186
- "lineHeight": 27,
187
- },
188
- Object {},
189
- undefined,
190
- ],
191
- "iconButton": Object {
192
- "container": Array [
193
- Object {
194
- "alignSelf": "flex-start",
195
- "marginBottom": 8,
196
- "marginLeft": "auto",
197
- "marginRight": 8,
198
- },
199
- undefined,
200
- ],
201
- "iconColor": undefined,
202
- },
203
- "image": Array [
204
- Object {
205
- "height": null,
206
- "width": null,
207
- },
208
- undefined,
209
- ],
210
- "imageContainer": Object {
211
- "alignItems": "center",
212
- "margin": 12,
213
- },
214
- "primaryButton": Object {
215
- "container": [Function],
216
- "text": Array [
217
- Object {
218
- "fontSize": 16,
219
- "fontWeight": "400",
220
- "lineHeight": 24,
221
- "textAlign": "center",
222
- },
223
- Object {},
224
- Object {},
225
- ],
226
- },
227
- "secondaryButton": Object {
228
- "container": [Function],
229
- "text": Array [
230
- Object {
231
- "fontSize": 16,
232
- "fontWeight": "400",
233
- "lineHeight": 24,
234
- "textAlign": "center",
235
- },
236
- Object {},
237
- Object {},
238
- ],
239
- },
240
- "textContainer": Object {
241
- "marginVertical": 12,
242
- "paddingHorizontal": 8,
243
- },
244
- }
245
- }
246
- />
247
- </SafeAreaView>
248
- `;
@@ -1,53 +0,0 @@
1
- import React from 'react';
2
- import { render } from '@testing-library/react-native';
3
-
4
- import { useDeviceOrientation } from '../../../../hooks';
5
- import { useMessageImage } from '../../../hooks';
6
-
7
- import FullScreenMessage from '../FullScreenMessage';
8
-
9
- jest.mock('../../../../hooks');
10
- jest.mock('../../../hooks/useMessageImage');
11
- jest.mock('../../MessageWrapper', () => ({ MessageWrapper: 'MessageWrapper' }));
12
- jest.mock('../../MessageLayout', () => ({ MessageLayout: 'MessageLayout' }));
13
-
14
- const baseProps = { layout: 'FULL_SCREEN' as const };
15
-
16
- const mockUseMessageImage = useMessageImage as jest.Mock;
17
-
18
- describe('FullScreenMessage', () => {
19
- beforeEach(() => {
20
- jest.clearAllMocks();
21
- });
22
-
23
- it.each([
24
- ['landscape', false],
25
- ['portrait', true],
26
- ])('renders as expected in %s mode', (deviceOrientation, isPortraitMode) => {
27
- (useDeviceOrientation as jest.Mock).mockReturnValue({
28
- deviceOrientation,
29
- isPortraitMode,
30
- });
31
- mockUseMessageImage.mockReturnValueOnce({
32
- hasRenderableImage: false,
33
- imageDimensions: { height: null, width: null },
34
- isImageFetching: false,
35
- });
36
-
37
- const { toJSON } = render(<FullScreenMessage {...baseProps} />);
38
-
39
- expect(toJSON()).toMatchSnapshot();
40
- });
41
-
42
- it('returns null while an image is fetching', () => {
43
- mockUseMessageImage.mockReturnValueOnce({
44
- hasRenderableImage: false,
45
- imageDimensions: { height: null, width: null },
46
- isImageFetching: true,
47
- });
48
-
49
- const { toJSON } = render(<FullScreenMessage {...baseProps} />);
50
-
51
- expect(toJSON()).toBeNull();
52
- });
53
- });
@@ -1,238 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`FullScreenMessage renders as expected in landscape mode 1`] = `
4
- <MessageWrapper
5
- style={
6
- Array [
7
- Object {
8
- "backgroundColor": "#fff",
9
- "flex": 1,
10
- },
11
- Object {},
12
- Object {},
13
- Object {},
14
- ]
15
- }
16
- >
17
- <MessageLayout
18
- hasButtons={false}
19
- hasPrimaryButton={false}
20
- hasRenderableImage={false}
21
- hasSecondaryButton={false}
22
- layout="FULL_SCREEN"
23
- orientation="landscape"
24
- shouldRenderMessage={true}
25
- styles={
26
- Object {
27
- "body": Array [
28
- Object {
29
- "fontSize": 16,
30
- "fontWeight": "400",
31
- "lineHeight": 24,
32
- },
33
- Object {},
34
- undefined,
35
- ],
36
- "buttonsContainer": Object {
37
- "flexDirection": "row",
38
- "justifyContent": "center",
39
- },
40
- "container": Array [
41
- Object {
42
- "flex": 1,
43
- "padding": 16,
44
- },
45
- Object {},
46
- Object {},
47
- ],
48
- "contentContainer": Object {
49
- "flex": 1,
50
- "flexDirection": "row",
51
- },
52
- "header": Array [
53
- Object {
54
- "fontSize": 18,
55
- "fontWeight": "600",
56
- "lineHeight": 27,
57
- },
58
- Object {},
59
- undefined,
60
- ],
61
- "iconButton": Object {
62
- "container": Array [
63
- Object {
64
- "alignSelf": "flex-start",
65
- "marginBottom": 8,
66
- "marginLeft": "auto",
67
- "marginRight": 8,
68
- },
69
- undefined,
70
- ],
71
- "iconColor": undefined,
72
- },
73
- "image": Array [
74
- Object {
75
- "height": null,
76
- "width": null,
77
- },
78
- undefined,
79
- ],
80
- "imageContainer": Object {
81
- "alignItems": "center",
82
- "justifyContent": "center",
83
- "margin": 12,
84
- },
85
- "primaryButton": Object {
86
- "container": [Function],
87
- "text": Array [
88
- Object {
89
- "fontSize": 16,
90
- "fontWeight": "400",
91
- "lineHeight": 24,
92
- "textAlign": "center",
93
- },
94
- Object {},
95
- Object {},
96
- ],
97
- },
98
- "secondaryButton": Object {
99
- "container": [Function],
100
- "text": Array [
101
- Object {
102
- "fontSize": 16,
103
- "fontWeight": "400",
104
- "lineHeight": 24,
105
- "textAlign": "center",
106
- },
107
- Object {},
108
- Object {},
109
- ],
110
- },
111
- "textContainer": Object {
112
- "flex": 1,
113
- "justifyContent": "center",
114
- "paddingHorizontal": 8,
115
- },
116
- }
117
- }
118
- testID="inappmessaging-fullscreen-dialog"
119
- />
120
- </MessageWrapper>
121
- `;
122
-
123
- exports[`FullScreenMessage renders as expected in portrait mode 1`] = `
124
- <MessageWrapper
125
- style={
126
- Array [
127
- Object {
128
- "backgroundColor": "#fff",
129
- },
130
- Object {},
131
- Object {},
132
- Object {},
133
- ]
134
- }
135
- >
136
- <MessageLayout
137
- hasButtons={false}
138
- hasPrimaryButton={false}
139
- hasRenderableImage={false}
140
- hasSecondaryButton={false}
141
- layout="FULL_SCREEN"
142
- orientation="portrait"
143
- shouldRenderMessage={true}
144
- styles={
145
- Object {
146
- "body": Array [
147
- Object {
148
- "fontSize": 16,
149
- "fontWeight": "400",
150
- "lineHeight": 24,
151
- },
152
- Object {},
153
- undefined,
154
- ],
155
- "buttonsContainer": Object {
156
- "flexDirection": "row",
157
- "justifyContent": "center",
158
- "marginTop": "auto",
159
- },
160
- "container": Array [
161
- Object {
162
- "flex": 1,
163
- "padding": 16,
164
- },
165
- Object {},
166
- Object {},
167
- ],
168
- "contentContainer": Object {
169
- "flex": 1,
170
- },
171
- "header": Array [
172
- Object {
173
- "fontSize": 18,
174
- "fontWeight": "600",
175
- "lineHeight": 27,
176
- },
177
- Object {},
178
- undefined,
179
- ],
180
- "iconButton": Object {
181
- "container": Array [
182
- Object {
183
- "alignSelf": "flex-start",
184
- "marginBottom": 8,
185
- "marginLeft": "auto",
186
- "marginRight": 8,
187
- },
188
- undefined,
189
- ],
190
- "iconColor": undefined,
191
- },
192
- "image": Array [
193
- Object {
194
- "height": null,
195
- "width": null,
196
- },
197
- undefined,
198
- ],
199
- "imageContainer": Object {
200
- "alignItems": "center",
201
- "margin": 12,
202
- },
203
- "primaryButton": Object {
204
- "container": [Function],
205
- "text": Array [
206
- Object {
207
- "fontSize": 16,
208
- "fontWeight": "400",
209
- "lineHeight": 24,
210
- "textAlign": "center",
211
- },
212
- Object {},
213
- Object {},
214
- ],
215
- },
216
- "secondaryButton": Object {
217
- "container": [Function],
218
- "text": Array [
219
- Object {
220
- "fontSize": 16,
221
- "fontWeight": "400",
222
- "lineHeight": 24,
223
- "textAlign": "center",
224
- },
225
- Object {},
226
- Object {},
227
- ],
228
- },
229
- "textContainer": Object {
230
- "marginVertical": 12,
231
- "paddingHorizontal": 8,
232
- },
233
- }
234
- }
235
- testID="inappmessaging-fullscreen-dialog"
236
- />
237
- </MessageWrapper>
238
- `;