@aws-amplify/ui-react-native 1.2.18 → 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 +13 -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/primitives/Radio/styles.js +2 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +4 -4
- 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/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
|
@@ -499,6 +499,11 @@ Array [
|
|
|
499
499
|
</View>,
|
|
500
500
|
<View
|
|
501
501
|
accessibilityRole="button"
|
|
502
|
+
accessibilityState={
|
|
503
|
+
Object {
|
|
504
|
+
"disabled": false,
|
|
505
|
+
}
|
|
506
|
+
}
|
|
502
507
|
accessible={true}
|
|
503
508
|
collapsable={false}
|
|
504
509
|
focusable={true}
|
|
@@ -528,6 +533,7 @@ Array [
|
|
|
528
533
|
},
|
|
529
534
|
]
|
|
530
535
|
}
|
|
536
|
+
testID="amplify__button"
|
|
531
537
|
>
|
|
532
538
|
<Text
|
|
533
539
|
style={
|
|
@@ -1105,6 +1111,11 @@ Array [
|
|
|
1105
1111
|
</View>,
|
|
1106
1112
|
<View
|
|
1107
1113
|
accessibilityRole="button"
|
|
1114
|
+
accessibilityState={
|
|
1115
|
+
Object {
|
|
1116
|
+
"disabled": false,
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1108
1119
|
accessible={true}
|
|
1109
1120
|
collapsable={false}
|
|
1110
1121
|
focusable={true}
|
|
@@ -1134,6 +1145,7 @@ Array [
|
|
|
1134
1145
|
},
|
|
1135
1146
|
]
|
|
1136
1147
|
}
|
|
1148
|
+
testID="amplify__button"
|
|
1137
1149
|
>
|
|
1138
1150
|
<Text
|
|
1139
1151
|
style={
|
|
@@ -1661,6 +1673,11 @@ Array [
|
|
|
1661
1673
|
</View>,
|
|
1662
1674
|
<View
|
|
1663
1675
|
accessibilityRole="button"
|
|
1676
|
+
accessibilityState={
|
|
1677
|
+
Object {
|
|
1678
|
+
"disabled": false,
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1664
1681
|
accessible={true}
|
|
1665
1682
|
collapsable={false}
|
|
1666
1683
|
focusable={true}
|
|
@@ -1690,6 +1707,7 @@ Array [
|
|
|
1690
1707
|
},
|
|
1691
1708
|
]
|
|
1692
1709
|
}
|
|
1710
|
+
testID="amplify__button"
|
|
1693
1711
|
>
|
|
1694
1712
|
<Text
|
|
1695
1713
|
style={
|
|
@@ -2281,6 +2299,7 @@ Array [
|
|
|
2281
2299
|
},
|
|
2282
2300
|
]
|
|
2283
2301
|
}
|
|
2302
|
+
testID="amplify__error-message"
|
|
2284
2303
|
>
|
|
2285
2304
|
<Image
|
|
2286
2305
|
accessibilityRole="image"
|
|
@@ -2325,6 +2344,11 @@ Array [
|
|
|
2325
2344
|
</View>,
|
|
2326
2345
|
<View
|
|
2327
2346
|
accessibilityRole="button"
|
|
2347
|
+
accessibilityState={
|
|
2348
|
+
Object {
|
|
2349
|
+
"disabled": false,
|
|
2350
|
+
}
|
|
2351
|
+
}
|
|
2328
2352
|
accessible={true}
|
|
2329
2353
|
collapsable={false}
|
|
2330
2354
|
focusable={true}
|
|
@@ -2354,6 +2378,7 @@ Array [
|
|
|
2354
2378
|
},
|
|
2355
2379
|
]
|
|
2356
2380
|
}
|
|
2381
|
+
testID="amplify__button"
|
|
2357
2382
|
>
|
|
2358
2383
|
<Text
|
|
2359
2384
|
style={
|
|
@@ -2968,6 +2993,11 @@ Array [
|
|
|
2968
2993
|
</View>,
|
|
2969
2994
|
<View
|
|
2970
2995
|
accessibilityRole="button"
|
|
2996
|
+
accessibilityState={
|
|
2997
|
+
Object {
|
|
2998
|
+
"disabled": false,
|
|
2999
|
+
}
|
|
3000
|
+
}
|
|
2971
3001
|
accessible={true}
|
|
2972
3002
|
collapsable={false}
|
|
2973
3003
|
focusable={true}
|
|
@@ -2997,6 +3027,7 @@ Array [
|
|
|
2997
3027
|
},
|
|
2998
3028
|
]
|
|
2999
3029
|
}
|
|
3030
|
+
testID="amplify__button"
|
|
3000
3031
|
>
|
|
3001
3032
|
<Text
|
|
3002
3033
|
style={
|
|
@@ -27,7 +27,11 @@ const VerifyUser: DefaultVerifyUserComponent = ({
|
|
|
27
27
|
skipVerification,
|
|
28
28
|
...rest
|
|
29
29
|
}) => {
|
|
30
|
-
const {
|
|
30
|
+
const {
|
|
31
|
+
disableFormSubmit: disabled,
|
|
32
|
+
fields: fieldsWithHandlers,
|
|
33
|
+
handleFormSubmit,
|
|
34
|
+
} = useFieldValues({
|
|
31
35
|
componentName: COMPONENT_NAME,
|
|
32
36
|
fields,
|
|
33
37
|
handleBlur,
|
|
@@ -42,10 +46,10 @@ const VerifyUser: DefaultVerifyUserComponent = ({
|
|
|
42
46
|
|
|
43
47
|
const buttons = useMemo(
|
|
44
48
|
() => ({
|
|
45
|
-
primary: { children: verifyText, onPress: handleFormSubmit },
|
|
49
|
+
primary: { children: verifyText, disabled, onPress: handleFormSubmit },
|
|
46
50
|
links: [{ children: skipText, onPress: skipVerification }],
|
|
47
51
|
}),
|
|
48
|
-
[handleFormSubmit, skipText, skipVerification, verifyText]
|
|
52
|
+
[disabled, handleFormSubmit, skipText, skipVerification, verifyText]
|
|
49
53
|
);
|
|
50
54
|
|
|
51
55
|
return (
|
package/src/Authenticator/Defaults/VerifyUser/__tests__/__snapshots__/VerifyUser.spec.tsx.snap
CHANGED
|
@@ -102,6 +102,7 @@ Array [
|
|
|
102
102
|
"borderRadius": 999,
|
|
103
103
|
"borderWidth": 2,
|
|
104
104
|
"justifyContent": "center",
|
|
105
|
+
"margin": 4,
|
|
105
106
|
},
|
|
106
107
|
Object {
|
|
107
108
|
"height": 20,
|
|
@@ -168,6 +169,7 @@ Array [
|
|
|
168
169
|
"borderRadius": 999,
|
|
169
170
|
"borderWidth": 2,
|
|
170
171
|
"justifyContent": "center",
|
|
172
|
+
"margin": 4,
|
|
171
173
|
},
|
|
172
174
|
Object {
|
|
173
175
|
"height": 20,
|
|
@@ -201,6 +203,11 @@ Array [
|
|
|
201
203
|
</View>,
|
|
202
204
|
<View
|
|
203
205
|
accessibilityRole="button"
|
|
206
|
+
accessibilityState={
|
|
207
|
+
Object {
|
|
208
|
+
"disabled": true,
|
|
209
|
+
}
|
|
210
|
+
}
|
|
204
211
|
accessible={true}
|
|
205
212
|
collapsable={false}
|
|
206
213
|
focusable={true}
|
|
@@ -220,6 +227,7 @@ Array [
|
|
|
220
227
|
"backgroundColor": "hsl(190, 95%, 30%)",
|
|
221
228
|
"borderRadius": 4,
|
|
222
229
|
"justifyContent": "center",
|
|
230
|
+
"opacity": 0.6,
|
|
223
231
|
"paddingHorizontal": 16,
|
|
224
232
|
"paddingVertical": 12,
|
|
225
233
|
},
|
|
@@ -230,6 +238,7 @@ Array [
|
|
|
230
238
|
},
|
|
231
239
|
]
|
|
232
240
|
}
|
|
241
|
+
testID="amplify__button"
|
|
233
242
|
>
|
|
234
243
|
<Text
|
|
235
244
|
style={
|
|
@@ -410,6 +419,7 @@ Array [
|
|
|
410
419
|
"borderRadius": 999,
|
|
411
420
|
"borderWidth": 2,
|
|
412
421
|
"justifyContent": "center",
|
|
422
|
+
"margin": 4,
|
|
413
423
|
},
|
|
414
424
|
Object {
|
|
415
425
|
"height": 20,
|
|
@@ -476,6 +486,7 @@ Array [
|
|
|
476
486
|
"borderRadius": 999,
|
|
477
487
|
"borderWidth": 2,
|
|
478
488
|
"justifyContent": "center",
|
|
489
|
+
"margin": 4,
|
|
479
490
|
},
|
|
480
491
|
Object {
|
|
481
492
|
"height": 20,
|
|
@@ -523,6 +534,7 @@ Array [
|
|
|
523
534
|
},
|
|
524
535
|
]
|
|
525
536
|
}
|
|
537
|
+
testID="amplify__error-message"
|
|
526
538
|
>
|
|
527
539
|
<Image
|
|
528
540
|
accessibilityRole="image"
|
|
@@ -567,6 +579,11 @@ Array [
|
|
|
567
579
|
</View>,
|
|
568
580
|
<View
|
|
569
581
|
accessibilityRole="button"
|
|
582
|
+
accessibilityState={
|
|
583
|
+
Object {
|
|
584
|
+
"disabled": true,
|
|
585
|
+
}
|
|
586
|
+
}
|
|
570
587
|
accessible={true}
|
|
571
588
|
collapsable={false}
|
|
572
589
|
focusable={true}
|
|
@@ -586,6 +603,7 @@ Array [
|
|
|
586
603
|
"backgroundColor": "hsl(190, 95%, 30%)",
|
|
587
604
|
"borderRadius": 4,
|
|
588
605
|
"justifyContent": "center",
|
|
606
|
+
"opacity": 0.6,
|
|
589
607
|
"paddingHorizontal": 16,
|
|
590
608
|
"paddingVertical": 12,
|
|
591
609
|
},
|
|
@@ -596,6 +614,7 @@ Array [
|
|
|
596
614
|
},
|
|
597
615
|
]
|
|
598
616
|
}
|
|
617
|
+
testID="amplify__button"
|
|
599
618
|
>
|
|
600
619
|
<Text
|
|
601
620
|
style={
|
|
@@ -69,6 +69,7 @@ export default function DefaultContent<
|
|
|
69
69
|
iconStyle={themedStyles.errorMessageIcon}
|
|
70
70
|
labelStyle={themedStyles.errorMessageLabel}
|
|
71
71
|
style={themedStyles.errorMessage}
|
|
72
|
+
testID="amplify__error-message"
|
|
72
73
|
>
|
|
73
74
|
{error}
|
|
74
75
|
</ErrorMessage>
|
|
@@ -78,6 +79,7 @@ export default function DefaultContent<
|
|
|
78
79
|
variant="primary"
|
|
79
80
|
textStyle={themedStyles.buttonPrimaryLabel}
|
|
80
81
|
style={themedStyles.buttonPrimary}
|
|
82
|
+
testID="amplify__button"
|
|
81
83
|
/>
|
|
82
84
|
{secondary ? (
|
|
83
85
|
<Button
|
|
@@ -37,6 +37,7 @@ exports[`Radio applies theme and custom styles 1`] = `
|
|
|
37
37
|
"borderRadius": 999,
|
|
38
38
|
"borderWidth": 2,
|
|
39
39
|
"justifyContent": "center",
|
|
40
|
+
"margin": 4,
|
|
40
41
|
},
|
|
41
42
|
Object {
|
|
42
43
|
"height": 20,
|
|
@@ -108,6 +109,7 @@ exports[`Radio renders as expected when disabled 1`] = `
|
|
|
108
109
|
"borderRadius": 999,
|
|
109
110
|
"borderWidth": 2,
|
|
110
111
|
"justifyContent": "center",
|
|
112
|
+
"margin": 4,
|
|
111
113
|
},
|
|
112
114
|
Object {
|
|
113
115
|
"height": 20,
|
|
@@ -174,6 +176,7 @@ exports[`Radio renders as expected when passing a number to the size prop 1`] =
|
|
|
174
176
|
"borderRadius": 999,
|
|
175
177
|
"borderWidth": 2,
|
|
176
178
|
"justifyContent": "center",
|
|
179
|
+
"margin": 4,
|
|
177
180
|
},
|
|
178
181
|
Object {
|
|
179
182
|
"height": 40,
|
|
@@ -257,6 +260,7 @@ exports[`Radio renders as expected when selected is false 1`] = `
|
|
|
257
260
|
"borderRadius": 999,
|
|
258
261
|
"borderWidth": 2,
|
|
259
262
|
"justifyContent": "center",
|
|
263
|
+
"margin": 4,
|
|
260
264
|
},
|
|
261
265
|
Object {
|
|
262
266
|
"height": 20,
|
|
@@ -323,6 +327,7 @@ exports[`Radio renders as expected when selected is true 1`] = `
|
|
|
323
327
|
"borderRadius": 999,
|
|
324
328
|
"borderWidth": 2,
|
|
325
329
|
"justifyContent": "center",
|
|
330
|
+
"margin": 4,
|
|
326
331
|
},
|
|
327
332
|
Object {
|
|
328
333
|
"height": 20,
|
|
@@ -406,6 +411,7 @@ exports[`Radio renders as expected when size is large 1`] = `
|
|
|
406
411
|
"borderRadius": 999,
|
|
407
412
|
"borderWidth": 2,
|
|
408
413
|
"justifyContent": "center",
|
|
414
|
+
"margin": 4,
|
|
409
415
|
},
|
|
410
416
|
Object {
|
|
411
417
|
"height": 24,
|
|
@@ -489,6 +495,7 @@ exports[`Radio renders as expected when size is medium 1`] = `
|
|
|
489
495
|
"borderRadius": 999,
|
|
490
496
|
"borderWidth": 2,
|
|
491
497
|
"justifyContent": "center",
|
|
498
|
+
"margin": 4,
|
|
492
499
|
},
|
|
493
500
|
Object {
|
|
494
501
|
"height": 20,
|
|
@@ -572,6 +579,7 @@ exports[`Radio renders as expected when size is small 1`] = `
|
|
|
572
579
|
"borderRadius": 999,
|
|
573
580
|
"borderWidth": 2,
|
|
574
581
|
"justifyContent": "center",
|
|
582
|
+
"margin": 4,
|
|
575
583
|
},
|
|
576
584
|
Object {
|
|
577
585
|
"height": 16,
|
|
@@ -655,6 +663,7 @@ exports[`Radio renders as expected with accessibilityRole 1`] = `
|
|
|
655
663
|
"borderRadius": 999,
|
|
656
664
|
"borderWidth": 2,
|
|
657
665
|
"justifyContent": "center",
|
|
666
|
+
"margin": 4,
|
|
658
667
|
},
|
|
659
668
|
Object {
|
|
660
669
|
"height": 20,
|
|
@@ -9,7 +9,7 @@ const ROUNDED_BORDER_RADIUS = 999;
|
|
|
9
9
|
export const getThemedStyles = (theme: StrictTheme): Required<RadioStyles> => {
|
|
10
10
|
const {
|
|
11
11
|
components,
|
|
12
|
-
tokens: { colors, fontSizes, opacities, borderWidths },
|
|
12
|
+
tokens: { colors, fontSizes, opacities, borderWidths, space },
|
|
13
13
|
} = theme;
|
|
14
14
|
|
|
15
15
|
return StyleSheet.create({
|
|
@@ -31,6 +31,7 @@ export const getThemedStyles = (theme: StrictTheme): Required<RadioStyles> => {
|
|
|
31
31
|
borderRadius: ROUNDED_BORDER_RADIUS,
|
|
32
32
|
borderWidth: borderWidths.medium,
|
|
33
33
|
justifyContent: 'center',
|
|
34
|
+
margin: space.xxs,
|
|
34
35
|
...components?.radio?.radioContainer,
|
|
35
36
|
},
|
|
36
37
|
radioDot: {
|
|
@@ -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';
|