@aws-amplify/ui-react-native 1.2.17 → 1.2.19
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.
- package/CHANGELOG.md +24 -0
- package/dist/Authenticator/Authenticator.d.ts +6 -12
- package/dist/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.js +15 -4
- package/dist/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.js +13 -3
- package/dist/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.js +13 -3
- package/dist/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.js +13 -3
- package/dist/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.js +15 -4
- package/dist/Authenticator/Defaults/ResetPassword/ResetPassword.js +13 -3
- package/dist/Authenticator/Defaults/SetupTOTP/SetupTOTP.js +13 -3
- package/dist/Authenticator/Defaults/SignIn/SignIn.js +3 -2
- package/dist/Authenticator/Defaults/SignUp/SignUp.js +9 -3
- package/dist/Authenticator/Defaults/VerifyUser/VerifyUser.js +3 -3
- package/dist/Authenticator/common/DefaultContent/DefaultContent.js +2 -2
- package/dist/InAppMessaging/components/BannerMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/CarouselMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/FullScreenMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.js +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.d.ts +1 -1
- package/dist/InAppMessaging/components/InAppMessageDisplay/types.d.ts +1 -1
- package/dist/InAppMessaging/components/MessageLayout/types.d.ts +1 -1
- package/dist/InAppMessaging/components/ModalMessage/types.d.ts +1 -1
- package/dist/InAppMessaging/components/withInAppMessaging/withInAppMessaging.js +1 -1
- package/dist/InAppMessaging/hooks/useMessageImage/useMessageImage.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageImage/utils.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/types.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/useMessageProps.d.ts +1 -1
- package/dist/InAppMessaging/hooks/useMessageProps/utils.d.ts +1 -1
- package/dist/InAppMessaging/index.d.ts +1 -1
- package/dist/InAppMessaging/index.js +1 -1
- package/dist/primitives/Radio/styles.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -3
- package/src/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.tsx +19 -3
- package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/ConfirmResetPassword.spec.tsx +1 -0
- package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/__snapshots__/ConfirmResetPassword.spec.tsx.snap +13 -0
- package/src/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.tsx +17 -3
- package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/__snapshots__/ConfirmSignIn.spec.tsx.snap +13 -0
- package/src/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.tsx +17 -3
- package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/__snapshots__/ConfirmSignUp.spec.tsx.snap +19 -0
- package/src/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.tsx +17 -3
- package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/__snapshots__/ConfirmVerifyUser.spec.tsx.snap +19 -0
- package/src/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.tsx +19 -3
- package/src/Authenticator/Defaults/ForceNewPassword/__tests__/ForceNewPassword.spec.tsx +1 -0
- package/src/Authenticator/Defaults/ForceNewPassword/__tests__/__snapshots__/ForceNewPassword.spec.tsx.snap +19 -0
- package/src/Authenticator/Defaults/ResetPassword/ResetPassword.tsx +17 -3
- package/src/Authenticator/Defaults/ResetPassword/__tests__/__snapshots__/ResetPassword.spec.tsx.snap +13 -0
- package/src/Authenticator/Defaults/SetupTOTP/SetupTOTP.tsx +17 -3
- package/src/Authenticator/Defaults/SetupTOTP/__tests__/__snapshots__/SetupTOTP.spec.tsx.snap +13 -0
- package/src/Authenticator/Defaults/SignIn/SignIn.tsx +7 -2
- package/src/Authenticator/Defaults/SignIn/__tests__/__snapshots__/SignIn.spec.tsx.snap +19 -0
- package/src/Authenticator/Defaults/SignUp/SignUp.tsx +13 -2
- package/src/Authenticator/Defaults/SignUp/__tests__/SignUp.spec.tsx +1 -0
- package/src/Authenticator/Defaults/SignUp/__tests__/__snapshots__/SignUp.spec.tsx.snap +31 -0
- package/src/Authenticator/Defaults/VerifyUser/VerifyUser.tsx +7 -3
- package/src/Authenticator/Defaults/VerifyUser/__tests__/__snapshots__/VerifyUser.spec.tsx.snap +19 -0
- package/src/Authenticator/common/DefaultContent/DefaultContent.tsx +2 -0
- package/src/InAppMessaging/components/BannerMessage/types.ts +1 -1
- package/src/InAppMessaging/components/CarouselMessage/CarouselMessage.tsx +1 -1
- package/src/InAppMessaging/components/CarouselMessage/types.ts +1 -1
- package/src/InAppMessaging/components/FullScreenMessage/types.ts +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.tsx +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/__tests__/InAppMessageDisplay.spec.tsx +5 -2
- package/src/InAppMessaging/components/InAppMessageDisplay/handleMessageLinkAction.ts +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/types.ts +1 -1
- package/src/InAppMessaging/components/MessageLayout/types.ts +1 -1
- package/src/InAppMessaging/components/ModalMessage/types.ts +1 -1
- package/src/InAppMessaging/components/withInAppMessaging/withInAppMessaging.tsx +1 -1
- package/src/InAppMessaging/hooks/useMessageImage/__tests__/useMessageImage.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageImage/useMessageImage.ts +4 -1
- package/src/InAppMessaging/hooks/useMessageImage/utils.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/__tests__/useMessageProps.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/__tests__/utils.spec.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/types.ts +4 -1
- package/src/InAppMessaging/hooks/useMessageProps/useMessageProps.ts +1 -1
- package/src/InAppMessaging/hooks/useMessageProps/utils.ts +1 -1
- package/src/InAppMessaging/index.ts +1 -1
- package/src/primitives/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +9 -0
- package/src/primitives/Radio/styles.ts +2 -1
- package/src/primitives/RadioGroup/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +24 -0
- package/src/version.ts +1 -1
|
@@ -54,6 +54,7 @@ exports[`RadioGroup renders as expected when direction is horizontal 1`] = `
|
|
|
54
54
|
"borderRadius": 999,
|
|
55
55
|
"borderWidth": 2,
|
|
56
56
|
"justifyContent": "center",
|
|
57
|
+
"margin": 4,
|
|
57
58
|
},
|
|
58
59
|
Object {
|
|
59
60
|
"height": 20,
|
|
@@ -134,6 +135,7 @@ exports[`RadioGroup renders as expected when direction is horizontal 1`] = `
|
|
|
134
135
|
"borderRadius": 999,
|
|
135
136
|
"borderWidth": 2,
|
|
136
137
|
"justifyContent": "center",
|
|
138
|
+
"margin": 4,
|
|
137
139
|
},
|
|
138
140
|
Object {
|
|
139
141
|
"height": 20,
|
|
@@ -197,6 +199,7 @@ exports[`RadioGroup renders as expected when direction is horizontal 1`] = `
|
|
|
197
199
|
"borderRadius": 999,
|
|
198
200
|
"borderWidth": 2,
|
|
199
201
|
"justifyContent": "center",
|
|
202
|
+
"margin": 4,
|
|
200
203
|
},
|
|
201
204
|
Object {
|
|
202
205
|
"height": 20,
|
|
@@ -261,6 +264,7 @@ exports[`RadioGroup renders as expected when direction is horizontal 1`] = `
|
|
|
261
264
|
"borderRadius": 999,
|
|
262
265
|
"borderWidth": 2,
|
|
263
266
|
"justifyContent": "center",
|
|
267
|
+
"margin": 4,
|
|
264
268
|
},
|
|
265
269
|
Object {
|
|
266
270
|
"height": 20,
|
|
@@ -348,6 +352,7 @@ exports[`RadioGroup renders as expected when direction is vertical 1`] = `
|
|
|
348
352
|
"borderRadius": 999,
|
|
349
353
|
"borderWidth": 2,
|
|
350
354
|
"justifyContent": "center",
|
|
355
|
+
"margin": 4,
|
|
351
356
|
},
|
|
352
357
|
Object {
|
|
353
358
|
"height": 20,
|
|
@@ -428,6 +433,7 @@ exports[`RadioGroup renders as expected when direction is vertical 1`] = `
|
|
|
428
433
|
"borderRadius": 999,
|
|
429
434
|
"borderWidth": 2,
|
|
430
435
|
"justifyContent": "center",
|
|
436
|
+
"margin": 4,
|
|
431
437
|
},
|
|
432
438
|
Object {
|
|
433
439
|
"height": 20,
|
|
@@ -491,6 +497,7 @@ exports[`RadioGroup renders as expected when direction is vertical 1`] = `
|
|
|
491
497
|
"borderRadius": 999,
|
|
492
498
|
"borderWidth": 2,
|
|
493
499
|
"justifyContent": "center",
|
|
500
|
+
"margin": 4,
|
|
494
501
|
},
|
|
495
502
|
Object {
|
|
496
503
|
"height": 20,
|
|
@@ -555,6 +562,7 @@ exports[`RadioGroup renders as expected when direction is vertical 1`] = `
|
|
|
555
562
|
"borderRadius": 999,
|
|
556
563
|
"borderWidth": 2,
|
|
557
564
|
"justifyContent": "center",
|
|
565
|
+
"margin": 4,
|
|
558
566
|
},
|
|
559
567
|
Object {
|
|
560
568
|
"height": 20,
|
|
@@ -642,6 +650,7 @@ exports[`RadioGroup renders as expected when size is large 1`] = `
|
|
|
642
650
|
"borderRadius": 999,
|
|
643
651
|
"borderWidth": 2,
|
|
644
652
|
"justifyContent": "center",
|
|
653
|
+
"margin": 4,
|
|
645
654
|
},
|
|
646
655
|
Object {
|
|
647
656
|
"height": 24,
|
|
@@ -722,6 +731,7 @@ exports[`RadioGroup renders as expected when size is large 1`] = `
|
|
|
722
731
|
"borderRadius": 999,
|
|
723
732
|
"borderWidth": 2,
|
|
724
733
|
"justifyContent": "center",
|
|
734
|
+
"margin": 4,
|
|
725
735
|
},
|
|
726
736
|
Object {
|
|
727
737
|
"height": 24,
|
|
@@ -785,6 +795,7 @@ exports[`RadioGroup renders as expected when size is large 1`] = `
|
|
|
785
795
|
"borderRadius": 999,
|
|
786
796
|
"borderWidth": 2,
|
|
787
797
|
"justifyContent": "center",
|
|
798
|
+
"margin": 4,
|
|
788
799
|
},
|
|
789
800
|
Object {
|
|
790
801
|
"height": 24,
|
|
@@ -849,6 +860,7 @@ exports[`RadioGroup renders as expected when size is large 1`] = `
|
|
|
849
860
|
"borderRadius": 999,
|
|
850
861
|
"borderWidth": 2,
|
|
851
862
|
"justifyContent": "center",
|
|
863
|
+
"margin": 4,
|
|
852
864
|
},
|
|
853
865
|
Object {
|
|
854
866
|
"height": 24,
|
|
@@ -936,6 +948,7 @@ exports[`RadioGroup renders as expected when size is medium 1`] = `
|
|
|
936
948
|
"borderRadius": 999,
|
|
937
949
|
"borderWidth": 2,
|
|
938
950
|
"justifyContent": "center",
|
|
951
|
+
"margin": 4,
|
|
939
952
|
},
|
|
940
953
|
Object {
|
|
941
954
|
"height": 20,
|
|
@@ -1016,6 +1029,7 @@ exports[`RadioGroup renders as expected when size is medium 1`] = `
|
|
|
1016
1029
|
"borderRadius": 999,
|
|
1017
1030
|
"borderWidth": 2,
|
|
1018
1031
|
"justifyContent": "center",
|
|
1032
|
+
"margin": 4,
|
|
1019
1033
|
},
|
|
1020
1034
|
Object {
|
|
1021
1035
|
"height": 20,
|
|
@@ -1079,6 +1093,7 @@ exports[`RadioGroup renders as expected when size is medium 1`] = `
|
|
|
1079
1093
|
"borderRadius": 999,
|
|
1080
1094
|
"borderWidth": 2,
|
|
1081
1095
|
"justifyContent": "center",
|
|
1096
|
+
"margin": 4,
|
|
1082
1097
|
},
|
|
1083
1098
|
Object {
|
|
1084
1099
|
"height": 20,
|
|
@@ -1143,6 +1158,7 @@ exports[`RadioGroup renders as expected when size is medium 1`] = `
|
|
|
1143
1158
|
"borderRadius": 999,
|
|
1144
1159
|
"borderWidth": 2,
|
|
1145
1160
|
"justifyContent": "center",
|
|
1161
|
+
"margin": 4,
|
|
1146
1162
|
},
|
|
1147
1163
|
Object {
|
|
1148
1164
|
"height": 20,
|
|
@@ -1230,6 +1246,7 @@ exports[`RadioGroup renders as expected when size is small 1`] = `
|
|
|
1230
1246
|
"borderRadius": 999,
|
|
1231
1247
|
"borderWidth": 2,
|
|
1232
1248
|
"justifyContent": "center",
|
|
1249
|
+
"margin": 4,
|
|
1233
1250
|
},
|
|
1234
1251
|
Object {
|
|
1235
1252
|
"height": 16,
|
|
@@ -1310,6 +1327,7 @@ exports[`RadioGroup renders as expected when size is small 1`] = `
|
|
|
1310
1327
|
"borderRadius": 999,
|
|
1311
1328
|
"borderWidth": 2,
|
|
1312
1329
|
"justifyContent": "center",
|
|
1330
|
+
"margin": 4,
|
|
1313
1331
|
},
|
|
1314
1332
|
Object {
|
|
1315
1333
|
"height": 16,
|
|
@@ -1373,6 +1391,7 @@ exports[`RadioGroup renders as expected when size is small 1`] = `
|
|
|
1373
1391
|
"borderRadius": 999,
|
|
1374
1392
|
"borderWidth": 2,
|
|
1375
1393
|
"justifyContent": "center",
|
|
1394
|
+
"margin": 4,
|
|
1376
1395
|
},
|
|
1377
1396
|
Object {
|
|
1378
1397
|
"height": 16,
|
|
@@ -1437,6 +1456,7 @@ exports[`RadioGroup renders as expected when size is small 1`] = `
|
|
|
1437
1456
|
"borderRadius": 999,
|
|
1438
1457
|
"borderWidth": 2,
|
|
1439
1458
|
"justifyContent": "center",
|
|
1459
|
+
"margin": 4,
|
|
1440
1460
|
},
|
|
1441
1461
|
Object {
|
|
1442
1462
|
"height": 16,
|
|
@@ -1524,6 +1544,7 @@ exports[`RadioGroup renders default RadioGroup as expected 1`] = `
|
|
|
1524
1544
|
"borderRadius": 999,
|
|
1525
1545
|
"borderWidth": 2,
|
|
1526
1546
|
"justifyContent": "center",
|
|
1547
|
+
"margin": 4,
|
|
1527
1548
|
},
|
|
1528
1549
|
Object {
|
|
1529
1550
|
"height": 20,
|
|
@@ -1604,6 +1625,7 @@ exports[`RadioGroup renders default RadioGroup as expected 1`] = `
|
|
|
1604
1625
|
"borderRadius": 999,
|
|
1605
1626
|
"borderWidth": 2,
|
|
1606
1627
|
"justifyContent": "center",
|
|
1628
|
+
"margin": 4,
|
|
1607
1629
|
},
|
|
1608
1630
|
Object {
|
|
1609
1631
|
"height": 20,
|
|
@@ -1667,6 +1689,7 @@ exports[`RadioGroup renders default RadioGroup as expected 1`] = `
|
|
|
1667
1689
|
"borderRadius": 999,
|
|
1668
1690
|
"borderWidth": 2,
|
|
1669
1691
|
"justifyContent": "center",
|
|
1692
|
+
"margin": 4,
|
|
1670
1693
|
},
|
|
1671
1694
|
Object {
|
|
1672
1695
|
"height": 20,
|
|
@@ -1731,6 +1754,7 @@ exports[`RadioGroup renders default RadioGroup as expected 1`] = `
|
|
|
1731
1754
|
"borderRadius": 999,
|
|
1732
1755
|
"borderWidth": 2,
|
|
1733
1756
|
"justifyContent": "center",
|
|
1757
|
+
"margin": 4,
|
|
1734
1758
|
},
|
|
1735
1759
|
Object {
|
|
1736
1760
|
"height": 20,
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '1.2.
|
|
1
|
+
export const VERSION = '1.2.19';
|