@aws-amplify/ui-react-native 1.2.21 → 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 (359) hide show
  1. package/dist/Authenticator/common/DefaultContent/styles.js +1 -2
  2. package/dist/primitives/Heading/styles.js +5 -5
  3. package/dist/primitives/Label/styles.js +2 -2
  4. package/dist/primitives/TextField/styles.js +3 -3
  5. package/dist/version.d.ts +1 -1
  6. package/dist/version.js +1 -1
  7. package/lib/Authenticator/Authenticator.js +72 -0
  8. package/lib/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.js +43 -0
  9. package/lib/Authenticator/Defaults/ConfirmResetPassword/index.js +8 -0
  10. package/lib/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.js +42 -0
  11. package/lib/Authenticator/Defaults/ConfirmSignIn/index.js +8 -0
  12. package/lib/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.js +43 -0
  13. package/lib/Authenticator/Defaults/ConfirmSignUp/index.js +8 -0
  14. package/lib/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.js +42 -0
  15. package/lib/Authenticator/Defaults/ConfirmVerifyUser/index.js +8 -0
  16. package/lib/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.js +45 -0
  17. package/lib/Authenticator/Defaults/ForceNewPassword/index.js +8 -0
  18. package/lib/Authenticator/Defaults/ResetPassword/ResetPassword.js +42 -0
  19. package/lib/Authenticator/Defaults/ResetPassword/index.js +8 -0
  20. package/lib/Authenticator/Defaults/SetupTOTP/SetupTOTP.js +52 -0
  21. package/lib/Authenticator/Defaults/SetupTOTP/index.js +8 -0
  22. package/lib/Authenticator/Defaults/SetupTOTP/styles.js +8 -0
  23. package/lib/Authenticator/Defaults/SignIn/SignIn.js +50 -0
  24. package/lib/Authenticator/Defaults/SignIn/index.js +8 -0
  25. package/lib/Authenticator/Defaults/SignUp/SignUp.js +48 -0
  26. package/lib/Authenticator/Defaults/SignUp/index.js +8 -0
  27. package/lib/Authenticator/Defaults/VerifyUser/VerifyUser.js +33 -0
  28. package/lib/Authenticator/Defaults/VerifyUser/index.js +8 -0
  29. package/lib/Authenticator/Defaults/index.js +23 -0
  30. package/lib/Authenticator/Defaults/types.js +2 -0
  31. package/lib/Authenticator/common/DefaultContainer/DefaultContainer.js +37 -0
  32. package/lib/Authenticator/common/DefaultContainer/InnerContainer.js +15 -0
  33. package/lib/Authenticator/common/DefaultContainer/index.js +10 -0
  34. package/lib/Authenticator/common/DefaultContainer/styles.js +31 -0
  35. package/lib/Authenticator/common/DefaultContainer/types.js +2 -0
  36. package/lib/Authenticator/common/DefaultContent/DefaultContent.js +33 -0
  37. package/lib/Authenticator/common/DefaultContent/index.js +8 -0
  38. package/lib/Authenticator/common/DefaultContent/styles.js +54 -0
  39. package/lib/Authenticator/common/DefaultContent/types.js +2 -0
  40. package/lib/Authenticator/common/DefaultFooter/DefaultFooter.js +9 -0
  41. package/lib/Authenticator/common/DefaultFooter/index.js +8 -0
  42. package/lib/Authenticator/common/DefaultFooter/types.js +2 -0
  43. package/lib/Authenticator/common/DefaultFormFields/DefaultRadioFormFields.js +28 -0
  44. package/lib/Authenticator/common/DefaultFormFields/DefaultTextFormFields.js +21 -0
  45. package/lib/Authenticator/common/DefaultFormFields/Field.js +37 -0
  46. package/lib/Authenticator/common/DefaultFormFields/FieldErrors.js +17 -0
  47. package/lib/Authenticator/common/DefaultFormFields/index.js +10 -0
  48. package/lib/Authenticator/common/DefaultFormFields/types.js +2 -0
  49. package/lib/Authenticator/common/DefaultHeader/DefaultHeader.js +11 -0
  50. package/lib/Authenticator/common/DefaultHeader/index.js +8 -0
  51. package/lib/Authenticator/common/DefaultHeader/types.js +2 -0
  52. package/lib/Authenticator/common/FederatedProviderButton/FederatedProviderButton.js +18 -0
  53. package/lib/Authenticator/common/FederatedProviderButton/index.js +8 -0
  54. package/lib/Authenticator/common/FederatedProviderButton/styles.js +21 -0
  55. package/lib/Authenticator/common/FederatedProviderButton/types.js +2 -0
  56. package/lib/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.js +26 -0
  57. package/lib/Authenticator/common/FederatedProviderButtons/index.js +8 -0
  58. package/lib/Authenticator/common/FederatedProviderButtons/styles.js +8 -0
  59. package/lib/Authenticator/common/FederatedProviderButtons/types.js +2 -0
  60. package/lib/Authenticator/common/index.js +10 -0
  61. package/lib/Authenticator/hooks/index.js +5 -0
  62. package/lib/Authenticator/hooks/types.js +2 -0
  63. package/lib/Authenticator/hooks/useFieldValues/constants.js +11 -0
  64. package/lib/Authenticator/hooks/useFieldValues/index.js +10 -0
  65. package/lib/Authenticator/hooks/useFieldValues/types.js +2 -0
  66. package/lib/Authenticator/hooks/useFieldValues/useFieldValues.js +101 -0
  67. package/lib/Authenticator/hooks/useFieldValues/utils.js +139 -0
  68. package/lib/Authenticator/index.js +13 -0
  69. package/lib/Authenticator/types.js +2 -0
  70. package/lib/Authenticator/withAuthenticator.js +15 -0
  71. package/lib/InAppMessaging/components/BannerMessage/BannerMessage.js +20 -0
  72. package/lib/InAppMessaging/components/BannerMessage/index.js +8 -0
  73. package/lib/InAppMessaging/components/BannerMessage/styles.js +81 -0
  74. package/lib/InAppMessaging/components/BannerMessage/types.js +2 -0
  75. package/lib/InAppMessaging/components/CarouselMessage/CarouselMessage.js +25 -0
  76. package/lib/InAppMessaging/components/CarouselMessage/CarouselMessageItem.js +22 -0
  77. package/lib/InAppMessaging/components/CarouselMessage/index.js +8 -0
  78. package/lib/InAppMessaging/components/CarouselMessage/styles.js +103 -0
  79. package/lib/InAppMessaging/components/CarouselMessage/types.js +2 -0
  80. package/lib/InAppMessaging/components/FullScreenMessage/FullScreenMessage.js +22 -0
  81. package/lib/InAppMessaging/components/FullScreenMessage/index.js +8 -0
  82. package/lib/InAppMessaging/components/FullScreenMessage/styles.js +91 -0
  83. package/lib/InAppMessaging/components/FullScreenMessage/types.js +2 -0
  84. package/lib/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.js +32 -0
  85. package/lib/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.js +26 -0
  86. package/lib/InAppMessaging/components/InAppMessageDisplay/index.js +8 -0
  87. package/lib/InAppMessaging/components/InAppMessageDisplay/types.js +2 -0
  88. package/lib/InAppMessaging/components/MessageLayout/MessageLayout.js +38 -0
  89. package/lib/InAppMessaging/components/MessageLayout/index.js +8 -0
  90. package/lib/InAppMessaging/components/MessageLayout/types.js +2 -0
  91. package/lib/InAppMessaging/components/MessageWrapper/MessageWrapper.js +24 -0
  92. package/lib/InAppMessaging/components/MessageWrapper/index.js +8 -0
  93. package/lib/InAppMessaging/components/MessageWrapper/styles.js +8 -0
  94. package/lib/InAppMessaging/components/MessageWrapper/types.js +2 -0
  95. package/lib/InAppMessaging/components/ModalMessage/ModalMessage.js +22 -0
  96. package/lib/InAppMessaging/components/ModalMessage/index.js +8 -0
  97. package/lib/InAppMessaging/components/ModalMessage/styles.js +104 -0
  98. package/lib/InAppMessaging/components/ModalMessage/types.js +2 -0
  99. package/lib/InAppMessaging/components/index.js +7 -0
  100. package/lib/InAppMessaging/components/withInAppMessaging/index.js +8 -0
  101. package/lib/InAppMessaging/components/withInAppMessaging/withInAppMessaging.js +15 -0
  102. package/lib/InAppMessaging/constants.js +48 -0
  103. package/lib/InAppMessaging/hooks/index.js +7 -0
  104. package/lib/InAppMessaging/hooks/useMessageImage/constants.js +21 -0
  105. package/lib/InAppMessaging/hooks/useMessageImage/index.js +8 -0
  106. package/lib/InAppMessaging/hooks/useMessageImage/types.js +9 -0
  107. package/lib/InAppMessaging/hooks/useMessageImage/useMessageImage.js +53 -0
  108. package/lib/InAppMessaging/hooks/useMessageImage/utils.js +61 -0
  109. package/lib/InAppMessaging/hooks/useMessageProps/index.js +8 -0
  110. package/lib/InAppMessaging/hooks/useMessageProps/types.js +2 -0
  111. package/lib/InAppMessaging/hooks/useMessageProps/useMessageProps.js +52 -0
  112. package/lib/InAppMessaging/hooks/useMessageProps/utils.js +201 -0
  113. package/lib/InAppMessaging/index.js +9 -0
  114. package/lib/assets/icons/amazonLogo.png +0 -0
  115. package/lib/assets/icons/amazonLogo@2x.png +0 -0
  116. package/lib/assets/icons/amazonLogo@3x.png +0 -0
  117. package/lib/assets/icons/appleLogo.png +0 -0
  118. package/lib/assets/icons/appleLogo@2x.png +0 -0
  119. package/lib/assets/icons/appleLogo@3x.png +0 -0
  120. package/lib/assets/icons/checkboxFilled.png +0 -0
  121. package/lib/assets/icons/checkboxFilled@2x.png +0 -0
  122. package/lib/assets/icons/checkboxFilled@3x.png +0 -0
  123. package/lib/assets/icons/checkboxOutline.png +0 -0
  124. package/lib/assets/icons/checkboxOutline@2x.png +0 -0
  125. package/lib/assets/icons/checkboxOutline@3x.png +0 -0
  126. package/lib/assets/icons/close.png +0 -0
  127. package/lib/assets/icons/close@2x.png +0 -0
  128. package/lib/assets/icons/close@3x.png +0 -0
  129. package/lib/assets/icons/copy.png +0 -0
  130. package/lib/assets/icons/copy@2x.png +0 -0
  131. package/lib/assets/icons/copy@3x.png +0 -0
  132. package/lib/assets/icons/error.png +0 -0
  133. package/lib/assets/icons/error@2x.png +0 -0
  134. package/lib/assets/icons/error@3x.png +0 -0
  135. package/lib/assets/icons/facebookLogo.png +0 -0
  136. package/lib/assets/icons/facebookLogo@2x.png +0 -0
  137. package/lib/assets/icons/facebookLogo@3x.png +0 -0
  138. package/lib/assets/icons/googleLogo.png +0 -0
  139. package/lib/assets/icons/googleLogo@2x.png +0 -0
  140. package/lib/assets/icons/googleLogo@3x.png +0 -0
  141. package/lib/assets/icons/index.js +16 -0
  142. package/lib/assets/icons/index.ts +17 -0
  143. package/lib/assets/icons/visibilityOff.png +0 -0
  144. package/lib/assets/icons/visibilityOff@2x.png +0 -0
  145. package/lib/assets/icons/visibilityOff@3x.png +0 -0
  146. package/lib/assets/icons/visibilityOn.png +0 -0
  147. package/lib/assets/icons/visibilityOn@2x.png +0 -0
  148. package/lib/assets/icons/visibilityOn@3x.png +0 -0
  149. package/lib/assets/index.js +8 -0
  150. package/lib/hooks/index.js +9 -0
  151. package/lib/hooks/useDeprecationWarning/index.js +8 -0
  152. package/lib/hooks/useDeprecationWarning/useDeprecationWarning.js +13 -0
  153. package/lib/hooks/useDeviceOrientation/index.js +8 -0
  154. package/lib/hooks/useDeviceOrientation/useDeviceOrientation.js +37 -0
  155. package/lib/hooks/usePressableContainerStyles/index.js +5 -0
  156. package/lib/hooks/usePressableContainerStyles/usePressableContainerStyles.js +19 -0
  157. package/lib/index.js +14 -0
  158. package/lib/primitives/Button/Button.js +31 -0
  159. package/lib/primitives/Button/index.js +8 -0
  160. package/lib/primitives/Button/styles.js +55 -0
  161. package/lib/primitives/Button/types.js +2 -0
  162. package/lib/primitives/Carousel/Carousel.js +63 -0
  163. package/lib/primitives/Carousel/CarouselPageIndicator.js +14 -0
  164. package/lib/primitives/Carousel/constants.js +21 -0
  165. package/lib/primitives/Carousel/index.js +10 -0
  166. package/lib/primitives/Carousel/styles.js +14 -0
  167. package/lib/primitives/Carousel/types.js +2 -0
  168. package/lib/primitives/Checkbox/Checkbox.js +28 -0
  169. package/lib/primitives/Checkbox/index.js +8 -0
  170. package/lib/primitives/Checkbox/styles.js +28 -0
  171. package/lib/primitives/Checkbox/types.js +2 -0
  172. package/lib/primitives/Divider/Divider.js +22 -0
  173. package/lib/primitives/Divider/index.js +8 -0
  174. package/lib/primitives/Divider/styles.js +28 -0
  175. package/lib/primitives/Divider/types.js +2 -0
  176. package/lib/primitives/ErrorMessage/ErrorMessage.js +22 -0
  177. package/lib/primitives/ErrorMessage/index.js +8 -0
  178. package/lib/primitives/ErrorMessage/styles.js +30 -0
  179. package/lib/primitives/ErrorMessage/types.js +2 -0
  180. package/lib/primitives/Heading/Heading.js +15 -0
  181. package/lib/primitives/Heading/index.js +8 -0
  182. package/lib/primitives/Heading/styles.js +51 -0
  183. package/lib/primitives/Heading/types.js +2 -0
  184. package/lib/primitives/Icon/Icon.js +21 -0
  185. package/lib/primitives/Icon/constants.js +10 -0
  186. package/lib/primitives/Icon/index.js +10 -0
  187. package/lib/primitives/Icon/styles.js +34 -0
  188. package/lib/primitives/Icon/types.js +2 -0
  189. package/lib/primitives/IconButton/IconButton.js +26 -0
  190. package/lib/primitives/IconButton/index.js +8 -0
  191. package/lib/primitives/IconButton/styles.js +21 -0
  192. package/lib/primitives/IconButton/types.js +2 -0
  193. package/lib/primitives/Label/Label.js +16 -0
  194. package/lib/primitives/Label/index.js +8 -0
  195. package/lib/primitives/Label/styles.js +45 -0
  196. package/lib/primitives/Label/types.js +2 -0
  197. package/lib/primitives/Label/utils.js +25 -0
  198. package/lib/primitives/PasswordField/PasswordField.js +24 -0
  199. package/lib/primitives/PasswordField/index.js +8 -0
  200. package/lib/primitives/PasswordField/styles.js +17 -0
  201. package/lib/primitives/PasswordField/types.js +2 -0
  202. package/lib/primitives/PhoneNumberField/PhoneNumberField.js +13 -0
  203. package/lib/primitives/PhoneNumberField/index.js +8 -0
  204. package/lib/primitives/PhoneNumberField/styles.js +22 -0
  205. package/lib/primitives/PhoneNumberField/types.js +2 -0
  206. package/lib/primitives/Radio/Radio.js +46 -0
  207. package/lib/primitives/Radio/getRadioDimensions.js +43 -0
  208. package/lib/primitives/Radio/index.js +8 -0
  209. package/lib/primitives/Radio/styles.js +68 -0
  210. package/lib/primitives/Radio/types.js +2 -0
  211. package/lib/primitives/RadioGroup/RadioGroup.js +55 -0
  212. package/lib/primitives/RadioGroup/index.js +8 -0
  213. package/lib/primitives/RadioGroup/styles.js +20 -0
  214. package/lib/primitives/RadioGroup/types.js +2 -0
  215. package/lib/primitives/Tabs/Tab.js +27 -0
  216. package/lib/primitives/Tabs/Tabs.js +29 -0
  217. package/lib/primitives/Tabs/index.js +10 -0
  218. package/lib/primitives/Tabs/styles.js +58 -0
  219. package/lib/primitives/Tabs/types.js +2 -0
  220. package/lib/primitives/TextField/TextField.js +31 -0
  221. package/lib/primitives/TextField/index.js +8 -0
  222. package/lib/primitives/TextField/styles.js +46 -0
  223. package/lib/primitives/TextField/types.js +2 -0
  224. package/lib/primitives/index.js +18 -0
  225. package/lib/theme/ThemeContext.js +9 -0
  226. package/lib/theme/ThemeProvider.js +12 -0
  227. package/lib/theme/createTheme.js +113 -0
  228. package/lib/theme/defaultTheme.js +11 -0
  229. package/lib/theme/index.js +12 -0
  230. package/lib/theme/types.js +2 -0
  231. package/lib/theme/useTheme.js +11 -0
  232. package/lib/utils/font.js +8 -0
  233. package/lib/utils/index.js +10 -0
  234. package/lib/utils/platform.js +21 -0
  235. package/lib/version.js +4 -0
  236. package/package.json +19 -10
  237. package/src/Authenticator/common/DefaultContent/styles.ts +1 -2
  238. package/src/primitives/Heading/styles.ts +5 -5
  239. package/src/primitives/Label/styles.ts +2 -2
  240. package/src/primitives/TextField/styles.ts +3 -3
  241. package/src/version.ts +1 -1
  242. package/.eslintrc.js +0 -12
  243. package/.lintstagedrc.js +0 -6
  244. package/.turbo/turbo-build.log +0 -3
  245. package/CHANGELOG.md +0 -321
  246. package/babel.config.js +0 -3
  247. package/dist/assets/index.ts +0 -1
  248. package/jest.config.js +0 -22
  249. package/jest.setup.js +0 -3
  250. package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/ConfirmResetPassword.spec.tsx +0 -89
  251. package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/__snapshots__/ConfirmResetPassword.spec.tsx.snap +0 -1086
  252. package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/ConfirmSignIn.spec.tsx +0 -78
  253. package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/__snapshots__/ConfirmSignIn.spec.tsx.snap +0 -512
  254. package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/ConfirmSignUp.spec.tsx +0 -64
  255. package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/__snapshots__/ConfirmSignUp.spec.tsx.snap +0 -531
  256. package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/ConfirmVerifyUser.spec.tsx +0 -71
  257. package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/__snapshots__/ConfirmVerifyUser.spec.tsx.snap +0 -495
  258. package/src/Authenticator/Defaults/ForceNewPassword/__tests__/ForceNewPassword.spec.tsx +0 -79
  259. package/src/Authenticator/Defaults/ForceNewPassword/__tests__/__snapshots__/ForceNewPassword.spec.tsx.snap +0 -893
  260. package/src/Authenticator/Defaults/ResetPassword/__tests__/ResetPassword.spec.tsx +0 -78
  261. package/src/Authenticator/Defaults/ResetPassword/__tests__/__snapshots__/ResetPassword.spec.tsx.snap +0 -512
  262. package/src/Authenticator/Defaults/SetupTOTP/__tests__/SetupTOTP.spec.tsx +0 -85
  263. package/src/Authenticator/Defaults/SetupTOTP/__tests__/__snapshots__/SetupTOTP.spec.tsx.snap +0 -602
  264. package/src/Authenticator/Defaults/SignIn/__tests__/SignIn.spec.tsx +0 -67
  265. package/src/Authenticator/Defaults/SignIn/__tests__/__snapshots__/SignIn.spec.tsx.snap +0 -1278
  266. package/src/Authenticator/Defaults/SignUp/__tests__/SignUp.spec.tsx +0 -102
  267. package/src/Authenticator/Defaults/SignUp/__tests__/__snapshots__/SignUp.spec.tsx.snap +0 -3107
  268. package/src/Authenticator/Defaults/VerifyUser/__tests__/VerifyUser.spec.tsx +0 -107
  269. package/src/Authenticator/Defaults/VerifyUser/__tests__/__snapshots__/VerifyUser.spec.tsx.snap +0 -694
  270. package/src/Authenticator/__tests__/Authenticator.spec.tsx +0 -131
  271. package/src/Authenticator/__tests__/__snapshots__/Authenticator.spec.tsx.snap +0 -90
  272. package/src/Authenticator/__tests__/__snapshots__/withAuthenticator.spec.tsx.snap +0 -68
  273. package/src/Authenticator/__tests__/withAuthenticator.spec.tsx +0 -73
  274. package/src/Authenticator/common/DefaultContainer/__tests__/DefaultContainer.spec.tsx +0 -19
  275. package/src/Authenticator/common/DefaultContainer/__tests__/__snapshots__/DefaultContainer.spec.tsx.snap +0 -83
  276. package/src/Authenticator/common/DefaultFooter/__tests__/DefaultFooter.spec.tsx +0 -26
  277. package/src/Authenticator/common/DefaultFooter/__tests__/__snapshots__/DefaultFooter.spec.tsx.snap +0 -40
  278. package/src/Authenticator/common/DefaultFormFields/__tests__/DefaultFormFields.spec.tsx +0 -15
  279. package/src/Authenticator/common/DefaultFormFields/__tests__/FieldErrors.spec.tsx +0 -29
  280. package/src/Authenticator/common/DefaultFormFields/__tests__/__snapshots__/DefaultFormFields.spec.tsx.snap +0 -3
  281. package/src/Authenticator/common/DefaultFormFields/__tests__/__snapshots__/FieldErrors.spec.tsx.snap +0 -32
  282. package/src/Authenticator/common/DefaultHeader/__tests__/DefaultHeader.spec.tsx +0 -23
  283. package/src/Authenticator/common/DefaultHeader/__tests__/__snapshots__/DefaultHeader.spec.tsx.snap +0 -24
  284. package/src/Authenticator/common/FederatedProviderButton/__tests__/FederatedProviderButton.spec.tsx +0 -67
  285. package/src/Authenticator/common/FederatedProviderButton/__tests__/__snapshots__/FederatedProviderButton.spec.tsx.snap +0 -185
  286. package/src/Authenticator/common/FederatedProviderButtons/__tests__/FederatedProviderButtons.spec.tsx +0 -55
  287. package/src/Authenticator/common/FederatedProviderButtons/__tests__/__snapshots__/FederatedProviderButtons.spec.tsx.snap +0 -167
  288. package/src/Authenticator/hooks/useFieldValues/__tests__/useFieldValues.spec.ts +0 -399
  289. package/src/Authenticator/hooks/useFieldValues/__tests__/utils.spec.ts +0 -282
  290. package/src/InAppMessaging/components/BannerMessage/__tests__/BannerMessage.spec.tsx +0 -151
  291. package/src/InAppMessaging/components/BannerMessage/__tests__/__snapshots__/BannerMessage.spec.tsx.snap +0 -618
  292. package/src/InAppMessaging/components/CarouselMessage/__tests__/CarouselMessage.spec.tsx +0 -92
  293. package/src/InAppMessaging/components/CarouselMessage/__tests__/CarouselMessageItem.spec.tsx +0 -50
  294. package/src/InAppMessaging/components/CarouselMessage/__tests__/__snapshots__/CarouselMessage.spec.tsx.snap +0 -124
  295. package/src/InAppMessaging/components/CarouselMessage/__tests__/__snapshots__/CarouselMessageItem.spec.tsx.snap +0 -248
  296. package/src/InAppMessaging/components/FullScreenMessage/__tests__/FullScreenMessage.spec.tsx +0 -53
  297. package/src/InAppMessaging/components/FullScreenMessage/__tests__/__snapshots__/FullScreenMessage.spec.tsx.snap +0 -238
  298. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.tsx +0 -34
  299. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/__snapshots__/InAppMessageDisplay.spec.tsx.snap +0 -9
  300. package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/handleMessageLinkAction.spec.ts +0 -51
  301. package/src/InAppMessaging/components/MessageWrapper/__tests__/MessageWrapper.spec.tsx +0 -19
  302. package/src/InAppMessaging/components/MessageWrapper/__tests__/__snapshots__/MessageWrapper.spec.tsx.snap +0 -35
  303. package/src/InAppMessaging/components/ModalMessage/__tests__/ModalMessage.spec.tsx +0 -169
  304. package/src/InAppMessaging/components/ModalMessage/__tests__/__snapshots__/ModalMessage.spec.tsx.snap +0 -727
  305. package/src/InAppMessaging/components/withInAppMessaging/__tests__/__snapshots__/withInAppMessaging.spec.tsx.snap +0 -3
  306. package/src/InAppMessaging/components/withInAppMessaging/__tests__/withInAppMessaging.spec.tsx +0 -15
  307. package/src/InAppMessaging/hooks/useMessageImage/__tests__/useMessageImage.spec.ts +0 -141
  308. package/src/InAppMessaging/hooks/useMessageImage/__tests__/utils.spec.ts +0 -107
  309. package/src/InAppMessaging/hooks/useMessageProps/__tests__/__snapshots__/utils.spec.ts.snap +0 -223
  310. package/src/InAppMessaging/hooks/useMessageProps/__tests__/useMessageProps.spec.ts +0 -162
  311. package/src/InAppMessaging/hooks/useMessageProps/__tests__/utils.spec.ts +0 -355
  312. package/src/__mocks__/@react-native-async-storage/async-storage.ts +0 -2
  313. package/src/__mocks__/@react-native-community/netinfo.ts +0 -3
  314. package/src/__mocks__/react-native-safe-area-context.ts +0 -9
  315. package/src/__tests__/__snapshots__/index.spec.ts.snap +0 -26
  316. package/src/__tests__/index.spec.ts +0 -8
  317. package/src/hooks/useDeprecationWarning/__tests__/useDeprecationWarning.spec.ts +0 -42
  318. package/src/hooks/useDeviceOrientation/__tests__/useDeviceOrientation.spec.ts +0 -89
  319. package/src/hooks/usePressableContainerStyles/__tests__/usePressableContainerStyles.spec.ts +0 -68
  320. package/src/primitives/Button/__tests__/Button.spec.tsx +0 -92
  321. package/src/primitives/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -143
  322. package/src/primitives/Carousel/__tests__/Carousel.spec.tsx +0 -174
  323. package/src/primitives/Carousel/__tests__/CarouselPageIndicator.spec.tsx +0 -73
  324. package/src/primitives/Carousel/__tests__/__snapshots__/Carousel.spec.tsx.snap +0 -310
  325. package/src/primitives/Carousel/__tests__/__snapshots__/CarouselPageIndicator.spec.tsx.snap +0 -191
  326. package/src/primitives/Checkbox/__tests__/Checkbox.spec.tsx +0 -150
  327. package/src/primitives/Checkbox/__tests__/__snapshots__/Checkbox.spec.tsx.snap +0 -527
  328. package/src/primitives/Divider/__tests__/Divider.spec.tsx +0 -50
  329. package/src/primitives/Divider/__tests__/__snapshots__/Divider.spec.tsx.snap +0 -165
  330. package/src/primitives/ErrorMessage/__tests__/ErrorMessage.spec.tsx +0 -60
  331. package/src/primitives/ErrorMessage/__tests__/__snapshots__/ErrorMessage.spec.tsx.snap +0 -123
  332. package/src/primitives/Heading/__tests__/Heading.spec.tsx +0 -73
  333. package/src/primitives/Heading/__tests__/__snapshots__/Heading.spec.tsx.snap +0 -171
  334. package/src/primitives/Icon/__tests__/Icon.spec.tsx +0 -100
  335. package/src/primitives/Icon/__tests__/__snapshots__/Icon.spec.tsx.snap +0 -139
  336. package/src/primitives/IconButton/__tests__/IconButton.spec.tsx +0 -71
  337. package/src/primitives/IconButton/__tests__/__snapshots__/IconButton.spec.tsx.snap +0 -192
  338. package/src/primitives/Label/__tests__/Label.spec.tsx +0 -75
  339. package/src/primitives/Label/__tests__/__snapshots__/Label.spec.tsx.snap +0 -91
  340. package/src/primitives/PasswordField/__tests__/PasswordField.spec.tsx +0 -110
  341. package/src/primitives/PasswordField/__tests__/__snapshots__/PasswordField.spec.tsx.snap +0 -620
  342. package/src/primitives/PhoneNumberField/__tests__/PhoneNumberField.spec.tsx +0 -53
  343. package/src/primitives/PhoneNumberField/__tests__/__snapshots__/PhoneNumberField.spec.tsx.snap +0 -182
  344. package/src/primitives/Radio/__tests__/Radio.spec.tsx +0 -166
  345. package/src/primitives/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +0 -678
  346. package/src/primitives/RadioGroup/__tests__/RadioGroup.spec.tsx +0 -183
  347. package/src/primitives/RadioGroup/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +0 -1789
  348. package/src/primitives/Tabs/__tests__/Tab.spec.tsx +0 -75
  349. package/src/primitives/Tabs/__tests__/Tabs.spec.tsx +0 -81
  350. package/src/primitives/Tabs/__tests__/__snapshots__/Tab.spec.tsx.snap +0 -278
  351. package/src/primitives/Tabs/__tests__/__snapshots__/Tabs.spec.tsx.snap +0 -163
  352. package/src/primitives/TextField/__tests__/TextField.spec.tsx +0 -202
  353. package/src/primitives/TextField/__tests__/__snapshots__/TextField.spec.tsx.snap +0 -501
  354. package/src/theme/__tests__/ThemeProvider.spec.tsx +0 -23
  355. package/src/theme/__tests__/__snapshots__/useTheme.spec.tsx.snap +0 -226
  356. package/src/theme/__tests__/createTheme.spec.ts +0 -244
  357. package/src/theme/__tests__/useTheme.spec.tsx +0 -51
  358. package/tsconfig.dist.json +0 -4
  359. package/tsconfig.json +0 -9
@@ -1,893 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`ForceNewPassword renders an error message 1`] = `
4
- Array [
5
- <Text
6
- accessibilityRole="header"
7
- style={
8
- Array [
9
- Object {
10
- "color": "hsl(210, 50%, 10%)",
11
- },
12
- Object {
13
- "fontSize": 24,
14
- "fontWeight": "300",
15
- "lineHeight": 36,
16
- },
17
- Object {
18
- "marginVertical": 12,
19
- "paddingHorizontal": 12,
20
- },
21
- ]
22
- }
23
- >
24
- Change Password
25
- </Text>,
26
- <View
27
- style={
28
- Object {
29
- "paddingBottom": 8,
30
- }
31
- }
32
- >
33
- <View
34
- style={
35
- Array [
36
- Object {
37
- "alignItems": "flex-start",
38
- },
39
- Array [
40
- Object {},
41
- Object {
42
- "paddingHorizontal": 12,
43
- },
44
- ],
45
- ]
46
- }
47
- testID="amplify__text-field-container"
48
- >
49
- <View
50
- accessible={true}
51
- style={
52
- Object {
53
- "alignItems": "center",
54
- "borderColor": "hsl(210, 10%, 58%)",
55
- "borderRadius": 4,
56
- "borderWidth": 1,
57
- "flexDirection": "row",
58
- "paddingHorizontal": 8,
59
- }
60
- }
61
- testID="amplify__text-field__input-container"
62
- >
63
- <TextInput
64
- accessibilityState={
65
- Object {
66
- "disabled": false,
67
- }
68
- }
69
- accessible={true}
70
- autoCapitalize="none"
71
- editable={true}
72
- onBlur={[Function]}
73
- onChangeText={[Function]}
74
- placeholderTextColor="hsl(210, 10%, 40%)"
75
- secureTextEntry={true}
76
- style={
77
- Array [
78
- Object {
79
- "color": "hsl(210, 50%, 10%)",
80
- "flexGrow": 1,
81
- "fontSize": 16,
82
- "paddingVertical": 12,
83
- },
84
- Object {},
85
- ]
86
- }
87
- />
88
- <View
89
- accessibilityLabel="Show password"
90
- accessibilityRole="button"
91
- accessibilityState={
92
- Object {
93
- "disabled": false,
94
- }
95
- }
96
- accessible={true}
97
- collapsable={false}
98
- focusable={true}
99
- onBlur={[Function]}
100
- onClick={[Function]}
101
- onFocus={[Function]}
102
- onResponderGrant={[Function]}
103
- onResponderMove={[Function]}
104
- onResponderRelease={[Function]}
105
- onResponderTerminate={[Function]}
106
- onResponderTerminationRequest={[Function]}
107
- onStartShouldSetResponder={[Function]}
108
- style={
109
- Array [
110
- Object {},
111
- undefined,
112
- undefined,
113
- ]
114
- }
115
- >
116
- <Image
117
- accessibilityRole="image"
118
- source={
119
- Object {
120
- "testUri": "../../../src/assets/icons/visibilityOff.png",
121
- }
122
- }
123
- style={
124
- Array [
125
- Object {
126
- "height": 16,
127
- "resizeMode": "contain",
128
- "tintColor": undefined,
129
- "width": 16,
130
- },
131
- Array [
132
- Object {
133
- "tintColor": "hsl(210, 10%, 40%)",
134
- },
135
- undefined,
136
- ],
137
- ]
138
- }
139
- />
140
- </View>
141
- </View>
142
- </View>
143
- <TextInput
144
- accessibilityElementsHidden={true}
145
- pointerEvents="none"
146
- style={
147
- Object {
148
- "backgroundColor": "transparent",
149
- "height": 0.1,
150
- "width": 0.1,
151
- }
152
- }
153
- />
154
- </View>,
155
- <View
156
- accessibilityRole="alert"
157
- style={
158
- Array [
159
- Object {
160
- "alignItems": "center",
161
- "backgroundColor": "hsl(0, 75%, 85%)",
162
- "flexDirection": "row",
163
- "paddingHorizontal": 8,
164
- "paddingVertical": 12,
165
- },
166
- Object {
167
- "marginHorizontal": 12,
168
- },
169
- ]
170
- }
171
- testID="amplify__error-message"
172
- >
173
- <Image
174
- accessibilityRole="image"
175
- source={
176
- Object {
177
- "testUri": "../../../src/assets/icons/error.png",
178
- }
179
- }
180
- style={
181
- Array [
182
- Object {
183
- "height": 20,
184
- "resizeMode": "contain",
185
- "tintColor": undefined,
186
- "width": 20,
187
- },
188
- Array [
189
- Object {
190
- "margin": 8,
191
- "tintColor": "hsl(0, 100%, 20%)",
192
- },
193
- Object {},
194
- ],
195
- ]
196
- }
197
- />
198
- <Text
199
- style={
200
- Array [
201
- Object {
202
- "color": "hsl(0, 100%, 20%)",
203
- "flex": 1,
204
- "fontSize": 16,
205
- "paddingHorizontal": 8,
206
- },
207
- Object {},
208
- ]
209
- }
210
- >
211
- Test error message
212
- </Text>
213
- </View>,
214
- <View
215
- accessibilityRole="button"
216
- accessibilityState={
217
- Object {
218
- "disabled": false,
219
- }
220
- }
221
- accessible={true}
222
- collapsable={false}
223
- focusable={true}
224
- onBlur={[Function]}
225
- onClick={[Function]}
226
- onFocus={[Function]}
227
- onResponderGrant={[Function]}
228
- onResponderMove={[Function]}
229
- onResponderRelease={[Function]}
230
- onResponderTerminate={[Function]}
231
- onResponderTerminationRequest={[Function]}
232
- onStartShouldSetResponder={[Function]}
233
- style={
234
- Array [
235
- Object {
236
- "alignItems": "center",
237
- "backgroundColor": "hsl(190, 95%, 30%)",
238
- "borderRadius": 4,
239
- "justifyContent": "center",
240
- "paddingHorizontal": 16,
241
- "paddingVertical": 12,
242
- },
243
- undefined,
244
- Object {
245
- "marginHorizontal": 16,
246
- "marginVertical": 12,
247
- },
248
- ]
249
- }
250
- testID="amplify__button"
251
- >
252
- <Text
253
- style={
254
- Array [
255
- Object {
256
- "color": "hsl(0, 0%, 100%)",
257
- "fontSize": 16,
258
- "fontWeight": "700",
259
- "textAlign": "center",
260
- },
261
- Object {},
262
- ]
263
- }
264
- >
265
- Change Password
266
- </Text>
267
- </View>,
268
- <View
269
- style={
270
- Object {
271
- "flexDirection": "row",
272
- "flexWrap": "wrap",
273
- "justifyContent": "center",
274
- }
275
- }
276
- >
277
- <View
278
- accessibilityRole="button"
279
- accessible={true}
280
- collapsable={false}
281
- focusable={true}
282
- onBlur={[Function]}
283
- onClick={[Function]}
284
- onFocus={[Function]}
285
- onResponderGrant={[Function]}
286
- onResponderMove={[Function]}
287
- onResponderRelease={[Function]}
288
- onResponderTerminate={[Function]}
289
- onResponderTerminationRequest={[Function]}
290
- onStartShouldSetResponder={[Function]}
291
- style={
292
- Array [
293
- Object {
294
- "alignItems": "center",
295
- "backgroundColor": "transparent",
296
- "borderRadius": 4,
297
- "justifyContent": "center",
298
- "paddingHorizontal": 16,
299
- "paddingVertical": 12,
300
- },
301
- undefined,
302
- Object {
303
- "marginVertical": 8,
304
- "minWidth": "50%",
305
- },
306
- ]
307
- }
308
- >
309
- <Text
310
- style={
311
- Array [
312
- Object {
313
- "color": "hsl(190, 95%, 30%)",
314
- "fontSize": 16,
315
- "fontWeight": "700",
316
- "textAlign": "center",
317
- },
318
- undefined,
319
- ]
320
- }
321
- >
322
- Back to Sign In
323
- </Text>
324
- </View>
325
- </View>,
326
- ]
327
- `;
328
-
329
- exports[`ForceNewPassword renders as expected 1`] = `
330
- Array [
331
- <Text
332
- accessibilityRole="header"
333
- style={
334
- Array [
335
- Object {
336
- "color": "hsl(210, 50%, 10%)",
337
- },
338
- Object {
339
- "fontSize": 24,
340
- "fontWeight": "300",
341
- "lineHeight": 36,
342
- },
343
- Object {
344
- "marginVertical": 12,
345
- "paddingHorizontal": 12,
346
- },
347
- ]
348
- }
349
- >
350
- Change Password
351
- </Text>,
352
- <View
353
- style={
354
- Object {
355
- "paddingBottom": 8,
356
- }
357
- }
358
- >
359
- <View
360
- style={
361
- Array [
362
- Object {
363
- "alignItems": "flex-start",
364
- },
365
- Array [
366
- Object {},
367
- Object {
368
- "paddingHorizontal": 12,
369
- },
370
- ],
371
- ]
372
- }
373
- testID="amplify__text-field-container"
374
- >
375
- <View
376
- accessible={true}
377
- style={
378
- Object {
379
- "alignItems": "center",
380
- "borderColor": "hsl(210, 10%, 58%)",
381
- "borderRadius": 4,
382
- "borderWidth": 1,
383
- "flexDirection": "row",
384
- "paddingHorizontal": 8,
385
- }
386
- }
387
- testID="amplify__text-field__input-container"
388
- >
389
- <TextInput
390
- accessibilityState={
391
- Object {
392
- "disabled": false,
393
- }
394
- }
395
- accessible={true}
396
- autoCapitalize="none"
397
- editable={true}
398
- onBlur={[Function]}
399
- onChangeText={[Function]}
400
- placeholderTextColor="hsl(210, 10%, 40%)"
401
- secureTextEntry={true}
402
- style={
403
- Array [
404
- Object {
405
- "color": "hsl(210, 50%, 10%)",
406
- "flexGrow": 1,
407
- "fontSize": 16,
408
- "paddingVertical": 12,
409
- },
410
- Object {},
411
- ]
412
- }
413
- />
414
- <View
415
- accessibilityLabel="Show password"
416
- accessibilityRole="button"
417
- accessibilityState={
418
- Object {
419
- "disabled": false,
420
- }
421
- }
422
- accessible={true}
423
- collapsable={false}
424
- focusable={true}
425
- onBlur={[Function]}
426
- onClick={[Function]}
427
- onFocus={[Function]}
428
- onResponderGrant={[Function]}
429
- onResponderMove={[Function]}
430
- onResponderRelease={[Function]}
431
- onResponderTerminate={[Function]}
432
- onResponderTerminationRequest={[Function]}
433
- onStartShouldSetResponder={[Function]}
434
- style={
435
- Array [
436
- Object {},
437
- undefined,
438
- undefined,
439
- ]
440
- }
441
- >
442
- <Image
443
- accessibilityRole="image"
444
- source={
445
- Object {
446
- "testUri": "../../../src/assets/icons/visibilityOff.png",
447
- }
448
- }
449
- style={
450
- Array [
451
- Object {
452
- "height": 16,
453
- "resizeMode": "contain",
454
- "tintColor": undefined,
455
- "width": 16,
456
- },
457
- Array [
458
- Object {
459
- "tintColor": "hsl(210, 10%, 40%)",
460
- },
461
- undefined,
462
- ],
463
- ]
464
- }
465
- />
466
- </View>
467
- </View>
468
- </View>
469
- <TextInput
470
- accessibilityElementsHidden={true}
471
- pointerEvents="none"
472
- style={
473
- Object {
474
- "backgroundColor": "transparent",
475
- "height": 0.1,
476
- "width": 0.1,
477
- }
478
- }
479
- />
480
- </View>,
481
- <View
482
- accessibilityRole="button"
483
- accessibilityState={
484
- Object {
485
- "disabled": false,
486
- }
487
- }
488
- accessible={true}
489
- collapsable={false}
490
- focusable={true}
491
- onBlur={[Function]}
492
- onClick={[Function]}
493
- onFocus={[Function]}
494
- onResponderGrant={[Function]}
495
- onResponderMove={[Function]}
496
- onResponderRelease={[Function]}
497
- onResponderTerminate={[Function]}
498
- onResponderTerminationRequest={[Function]}
499
- onStartShouldSetResponder={[Function]}
500
- style={
501
- Array [
502
- Object {
503
- "alignItems": "center",
504
- "backgroundColor": "hsl(190, 95%, 30%)",
505
- "borderRadius": 4,
506
- "justifyContent": "center",
507
- "paddingHorizontal": 16,
508
- "paddingVertical": 12,
509
- },
510
- undefined,
511
- Object {
512
- "marginHorizontal": 16,
513
- "marginVertical": 12,
514
- },
515
- ]
516
- }
517
- testID="amplify__button"
518
- >
519
- <Text
520
- style={
521
- Array [
522
- Object {
523
- "color": "hsl(0, 0%, 100%)",
524
- "fontSize": 16,
525
- "fontWeight": "700",
526
- "textAlign": "center",
527
- },
528
- Object {},
529
- ]
530
- }
531
- >
532
- Change Password
533
- </Text>
534
- </View>,
535
- <View
536
- style={
537
- Object {
538
- "flexDirection": "row",
539
- "flexWrap": "wrap",
540
- "justifyContent": "center",
541
- }
542
- }
543
- >
544
- <View
545
- accessibilityRole="button"
546
- accessible={true}
547
- collapsable={false}
548
- focusable={true}
549
- onBlur={[Function]}
550
- onClick={[Function]}
551
- onFocus={[Function]}
552
- onResponderGrant={[Function]}
553
- onResponderMove={[Function]}
554
- onResponderRelease={[Function]}
555
- onResponderTerminate={[Function]}
556
- onResponderTerminationRequest={[Function]}
557
- onStartShouldSetResponder={[Function]}
558
- style={
559
- Array [
560
- Object {
561
- "alignItems": "center",
562
- "backgroundColor": "transparent",
563
- "borderRadius": 4,
564
- "justifyContent": "center",
565
- "paddingHorizontal": 16,
566
- "paddingVertical": 12,
567
- },
568
- undefined,
569
- Object {
570
- "marginVertical": 8,
571
- "minWidth": "50%",
572
- },
573
- ]
574
- }
575
- >
576
- <Text
577
- style={
578
- Array [
579
- Object {
580
- "color": "hsl(190, 95%, 30%)",
581
- "fontSize": 16,
582
- "fontWeight": "700",
583
- "textAlign": "center",
584
- },
585
- undefined,
586
- ]
587
- }
588
- >
589
- Back to Sign In
590
- </Text>
591
- </View>
592
- </View>,
593
- ]
594
- `;
595
-
596
- exports[`ForceNewPassword renders as expected with validationErrors 1`] = `
597
- Array [
598
- <Text
599
- accessibilityRole="header"
600
- style={
601
- Array [
602
- Object {
603
- "color": "hsl(210, 50%, 10%)",
604
- },
605
- Object {
606
- "fontSize": 24,
607
- "fontWeight": "300",
608
- "lineHeight": 36,
609
- },
610
- Object {
611
- "marginVertical": 12,
612
- "paddingHorizontal": 12,
613
- },
614
- ]
615
- }
616
- >
617
- Change Password
618
- </Text>,
619
- <View
620
- style={
621
- Object {
622
- "paddingBottom": 8,
623
- }
624
- }
625
- >
626
- <View
627
- style={
628
- Array [
629
- Object {
630
- "alignItems": "flex-start",
631
- },
632
- Array [
633
- Object {},
634
- Object {
635
- "paddingHorizontal": 12,
636
- },
637
- ],
638
- ]
639
- }
640
- testID="amplify__text-field-container"
641
- >
642
- <View
643
- accessible={true}
644
- style={
645
- Object {
646
- "alignItems": "center",
647
- "borderColor": "hsl(0, 95%, 30%)",
648
- "borderRadius": 4,
649
- "borderWidth": 1,
650
- "flexDirection": "row",
651
- "opacity": 0.6,
652
- "paddingHorizontal": 8,
653
- }
654
- }
655
- testID="amplify__text-field__input-container"
656
- >
657
- <TextInput
658
- accessibilityState={
659
- Object {
660
- "disabled": true,
661
- }
662
- }
663
- accessible={true}
664
- autoCapitalize="none"
665
- editable={false}
666
- onBlur={[Function]}
667
- onChangeText={[Function]}
668
- placeholderTextColor="hsl(210, 10%, 40%)"
669
- secureTextEntry={true}
670
- style={
671
- Array [
672
- Object {
673
- "color": "hsl(210, 50%, 10%)",
674
- "flexGrow": 1,
675
- "fontSize": 16,
676
- "paddingVertical": 12,
677
- },
678
- Object {},
679
- ]
680
- }
681
- />
682
- <View
683
- accessibilityLabel="Show password"
684
- accessibilityRole="button"
685
- accessibilityState={
686
- Object {
687
- "disabled": true,
688
- }
689
- }
690
- accessible={true}
691
- collapsable={false}
692
- focusable={true}
693
- onBlur={[Function]}
694
- onClick={[Function]}
695
- onFocus={[Function]}
696
- onResponderGrant={[Function]}
697
- onResponderMove={[Function]}
698
- onResponderRelease={[Function]}
699
- onResponderTerminate={[Function]}
700
- onResponderTerminationRequest={[Function]}
701
- onStartShouldSetResponder={[Function]}
702
- style={
703
- Array [
704
- Object {
705
- "opacity": 0.6,
706
- },
707
- undefined,
708
- undefined,
709
- ]
710
- }
711
- >
712
- <Image
713
- accessibilityRole="image"
714
- source={
715
- Object {
716
- "testUri": "../../../src/assets/icons/visibilityOff.png",
717
- }
718
- }
719
- style={
720
- Array [
721
- Object {
722
- "height": 16,
723
- "resizeMode": "contain",
724
- "tintColor": undefined,
725
- "width": 16,
726
- },
727
- Array [
728
- Object {
729
- "tintColor": "hsl(210, 10%, 40%)",
730
- },
731
- undefined,
732
- ],
733
- ]
734
- }
735
- />
736
- </View>
737
- </View>
738
- </View>
739
- <TextInput
740
- accessibilityElementsHidden={true}
741
- pointerEvents="none"
742
- style={
743
- Object {
744
- "backgroundColor": "transparent",
745
- "height": 0.1,
746
- "width": 0.1,
747
- }
748
- }
749
- />
750
- <View
751
- style={
752
- Object {
753
- "paddingHorizontal": 16,
754
- "paddingVertical": 8,
755
- }
756
- }
757
- >
758
- <Text
759
- style={
760
- Object {
761
- "color": "hsl(0, 100%, 20%)",
762
- "paddingVertical": 1,
763
- }
764
- }
765
- >
766
- error
767
- </Text>
768
- <Text
769
- style={
770
- Object {
771
- "color": "hsl(0, 100%, 20%)",
772
- "paddingVertical": 1,
773
- }
774
- }
775
- >
776
- another error
777
- </Text>
778
- </View>
779
- </View>,
780
- <View
781
- accessibilityRole="button"
782
- accessibilityState={
783
- Object {
784
- "disabled": false,
785
- }
786
- }
787
- accessible={true}
788
- collapsable={false}
789
- focusable={true}
790
- onBlur={[Function]}
791
- onClick={[Function]}
792
- onFocus={[Function]}
793
- onResponderGrant={[Function]}
794
- onResponderMove={[Function]}
795
- onResponderRelease={[Function]}
796
- onResponderTerminate={[Function]}
797
- onResponderTerminationRequest={[Function]}
798
- onStartShouldSetResponder={[Function]}
799
- style={
800
- Array [
801
- Object {
802
- "alignItems": "center",
803
- "backgroundColor": "hsl(190, 95%, 30%)",
804
- "borderRadius": 4,
805
- "justifyContent": "center",
806
- "paddingHorizontal": 16,
807
- "paddingVertical": 12,
808
- },
809
- undefined,
810
- Object {
811
- "marginHorizontal": 16,
812
- "marginVertical": 12,
813
- },
814
- ]
815
- }
816
- testID="amplify__button"
817
- >
818
- <Text
819
- style={
820
- Array [
821
- Object {
822
- "color": "hsl(0, 0%, 100%)",
823
- "fontSize": 16,
824
- "fontWeight": "700",
825
- "textAlign": "center",
826
- },
827
- Object {},
828
- ]
829
- }
830
- >
831
- Changing
832
- </Text>
833
- </View>,
834
- <View
835
- style={
836
- Object {
837
- "flexDirection": "row",
838
- "flexWrap": "wrap",
839
- "justifyContent": "center",
840
- }
841
- }
842
- >
843
- <View
844
- accessibilityRole="button"
845
- accessible={true}
846
- collapsable={false}
847
- focusable={true}
848
- onBlur={[Function]}
849
- onClick={[Function]}
850
- onFocus={[Function]}
851
- onResponderGrant={[Function]}
852
- onResponderMove={[Function]}
853
- onResponderRelease={[Function]}
854
- onResponderTerminate={[Function]}
855
- onResponderTerminationRequest={[Function]}
856
- onStartShouldSetResponder={[Function]}
857
- style={
858
- Array [
859
- Object {
860
- "alignItems": "center",
861
- "backgroundColor": "transparent",
862
- "borderRadius": 4,
863
- "justifyContent": "center",
864
- "paddingHorizontal": 16,
865
- "paddingVertical": 12,
866
- },
867
- undefined,
868
- Object {
869
- "marginVertical": 8,
870
- "minWidth": "50%",
871
- },
872
- ]
873
- }
874
- >
875
- <Text
876
- style={
877
- Array [
878
- Object {
879
- "color": "hsl(190, 95%, 30%)",
880
- "fontSize": 16,
881
- "fontWeight": "700",
882
- "textAlign": "center",
883
- },
884
- undefined,
885
- ]
886
- }
887
- >
888
- Back to Sign In
889
- </Text>
890
- </View>
891
- </View>,
892
- ]
893
- `;