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

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 (35) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/Authenticator/common/DefaultContent/styles.js +1 -2
  3. package/dist/primitives/Heading/styles.js +5 -5
  4. package/dist/primitives/Label/styles.js +2 -2
  5. package/dist/primitives/TextField/styles.js +3 -3
  6. package/dist/version.d.ts +1 -1
  7. package/dist/version.js +1 -1
  8. package/package.json +4 -4
  9. package/src/Authenticator/Defaults/ConfirmResetPassword/__tests__/__snapshots__/ConfirmResetPassword.spec.tsx.snap +34 -30
  10. package/src/Authenticator/Defaults/ConfirmSignIn/__tests__/__snapshots__/ConfirmSignIn.spec.tsx.snap +14 -14
  11. package/src/Authenticator/Defaults/ConfirmSignUp/__tests__/__snapshots__/ConfirmSignUp.spec.tsx.snap +12 -15
  12. package/src/Authenticator/Defaults/ConfirmVerifyUser/__tests__/__snapshots__/ConfirmVerifyUser.spec.tsx.snap +6 -9
  13. package/src/Authenticator/Defaults/ForceNewPassword/__tests__/__snapshots__/ForceNewPassword.spec.tsx.snap +12 -9
  14. package/src/Authenticator/Defaults/ResetPassword/__tests__/__snapshots__/ResetPassword.spec.tsx.snap +14 -14
  15. package/src/Authenticator/Defaults/SetupTOTP/__tests__/__snapshots__/SetupTOTP.spec.tsx.snap +22 -22
  16. package/src/Authenticator/Defaults/SignIn/__tests__/__snapshots__/SignIn.spec.tsx.snap +36 -33
  17. package/src/Authenticator/Defaults/SignUp/__tests__/__snapshots__/SignUp.spec.tsx.snap +110 -95
  18. package/src/Authenticator/Defaults/VerifyUser/__tests__/__snapshots__/VerifyUser.spec.tsx.snap +16 -18
  19. package/src/Authenticator/common/DefaultContent/styles.ts +1 -2
  20. package/src/Authenticator/common/DefaultHeader/__tests__/__snapshots__/DefaultHeader.spec.tsx.snap +1 -1
  21. package/src/Authenticator/common/FederatedProviderButton/__tests__/__snapshots__/FederatedProviderButton.spec.tsx.snap +4 -4
  22. package/src/Authenticator/common/FederatedProviderButtons/__tests__/__snapshots__/FederatedProviderButtons.spec.tsx.snap +4 -4
  23. package/src/primitives/Checkbox/__tests__/__snapshots__/Checkbox.spec.tsx.snap +14 -14
  24. package/src/primitives/Divider/__tests__/__snapshots__/Divider.spec.tsx.snap +4 -4
  25. package/src/primitives/Heading/__tests__/__snapshots__/Heading.spec.tsx.snap +7 -7
  26. package/src/primitives/Heading/styles.ts +5 -5
  27. package/src/primitives/Label/__tests__/__snapshots__/Label.spec.tsx.snap +8 -8
  28. package/src/primitives/Label/styles.ts +2 -2
  29. package/src/primitives/PasswordField/__tests__/__snapshots__/PasswordField.spec.tsx.snap +25 -20
  30. package/src/primitives/PhoneNumberField/__tests__/__snapshots__/PhoneNumberField.spec.tsx.snap +6 -0
  31. package/src/primitives/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +14 -14
  32. package/src/primitives/RadioGroup/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +48 -48
  33. package/src/primitives/TextField/__tests__/__snapshots__/TextField.spec.tsx.snap +32 -26
  34. package/src/primitives/TextField/styles.ts +3 -3
  35. package/src/version.ts +1 -1
@@ -11,7 +11,7 @@ Array [
11
11
  },
12
12
  Object {
13
13
  "fontSize": 24,
14
- "fontWeight": "300",
14
+ "fontWeight": "500",
15
15
  "lineHeight": 36,
16
16
  },
17
17
  Object {
@@ -28,9 +28,9 @@ Array [
28
28
  style={
29
29
  Array [
30
30
  Object {
31
- "fontSize": 14,
31
+ "fontSize": 16,
32
32
  "fontWeight": "400",
33
- "lineHeight": 21,
33
+ "lineHeight": 24,
34
34
  },
35
35
  Object {
36
36
  "color": "hsl(210, 50%, 10%)",
@@ -118,9 +118,9 @@ Array [
118
118
  style={
119
119
  Array [
120
120
  Object {
121
- "fontSize": 14,
121
+ "fontSize": 16,
122
122
  "fontWeight": "400",
123
- "lineHeight": 21,
123
+ "lineHeight": 24,
124
124
  },
125
125
  Object {
126
126
  "color": "hsl(210, 50%, 10%)",
@@ -185,9 +185,9 @@ Array [
185
185
  style={
186
186
  Array [
187
187
  Object {
188
- "fontSize": 14,
188
+ "fontSize": 16,
189
189
  "fontWeight": "400",
190
- "lineHeight": 21,
190
+ "lineHeight": 24,
191
191
  },
192
192
  Object {
193
193
  "color": "hsl(210, 50%, 10%)",
@@ -233,8 +233,7 @@ Array [
233
233
  },
234
234
  undefined,
235
235
  Object {
236
- "marginHorizontal": 16,
237
- "marginVertical": 12,
236
+ "margin": 12,
238
237
  },
239
238
  ]
240
239
  }
@@ -328,7 +327,7 @@ Array [
328
327
  },
329
328
  Object {
330
329
  "fontSize": 24,
331
- "fontWeight": "300",
330
+ "fontWeight": "500",
332
331
  "lineHeight": 36,
333
332
  },
334
333
  Object {
@@ -345,9 +344,9 @@ Array [
345
344
  style={
346
345
  Array [
347
346
  Object {
348
- "fontSize": 14,
347
+ "fontSize": 16,
349
348
  "fontWeight": "400",
350
- "lineHeight": 21,
349
+ "lineHeight": 24,
351
350
  },
352
351
  Object {
353
352
  "color": "hsl(210, 50%, 10%)",
@@ -435,9 +434,9 @@ Array [
435
434
  style={
436
435
  Array [
437
436
  Object {
438
- "fontSize": 14,
437
+ "fontSize": 16,
439
438
  "fontWeight": "400",
440
- "lineHeight": 21,
439
+ "lineHeight": 24,
441
440
  },
442
441
  Object {
443
442
  "color": "hsl(210, 50%, 10%)",
@@ -502,9 +501,9 @@ Array [
502
501
  style={
503
502
  Array [
504
503
  Object {
505
- "fontSize": 14,
504
+ "fontSize": 16,
506
505
  "fontWeight": "400",
507
- "lineHeight": 21,
506
+ "lineHeight": 24,
508
507
  },
509
508
  Object {
510
509
  "color": "hsl(210, 50%, 10%)",
@@ -609,8 +608,7 @@ Array [
609
608
  },
610
609
  undefined,
611
610
  Object {
612
- "marginHorizontal": 16,
613
- "marginVertical": 12,
611
+ "margin": 12,
614
612
  },
615
613
  ]
616
614
  }
@@ -12,8 +12,7 @@ export const getDefaultStyle = ({
12
12
  paddingHorizontal: space.small,
13
13
  },
14
14
  buttonPrimary: {
15
- marginHorizontal: space.medium,
16
- marginVertical: space.small,
15
+ margin: space.small,
17
16
  },
18
17
  buttonPrimaryLabel: {}, // themed value only
19
18
  buttonSecondary: {
@@ -10,7 +10,7 @@ exports[`DefaultHeader renders as expected with children 1`] = `
10
10
  },
11
11
  Object {
12
12
  "fontSize": 24,
13
- "fontWeight": "300",
13
+ "fontWeight": "500",
14
14
  "lineHeight": 36,
15
15
  },
16
16
  undefined,
@@ -72,9 +72,9 @@ exports[`FederatedProviderButton applies style props 1`] = `
72
72
  style={
73
73
  Array [
74
74
  Object {
75
- "fontSize": 14,
75
+ "fontSize": 16,
76
76
  "fontWeight": "400",
77
- "lineHeight": 21,
77
+ "lineHeight": 24,
78
78
  },
79
79
  Object {
80
80
  "color": "hsl(210, 50%, 10%)",
@@ -163,9 +163,9 @@ exports[`FederatedProviderButton renders default button as expected 1`] = `
163
163
  style={
164
164
  Array [
165
165
  Object {
166
- "fontSize": 14,
166
+ "fontSize": 16,
167
167
  "fontWeight": "400",
168
- "lineHeight": 21,
168
+ "lineHeight": 24,
169
169
  },
170
170
  Object {
171
171
  "color": "hsl(210, 50%, 10%)",
@@ -79,9 +79,9 @@ exports[`FederatedProviderButtons renders as expected 1`] = `
79
79
  style={
80
80
  Array [
81
81
  Object {
82
- "fontSize": 14,
82
+ "fontSize": 16,
83
83
  "fontWeight": "400",
84
- "lineHeight": 21,
84
+ "lineHeight": 24,
85
85
  },
86
86
  Object {
87
87
  "color": "hsl(210, 50%, 10%)",
@@ -127,9 +127,9 @@ exports[`FederatedProviderButtons renders as expected 1`] = `
127
127
  style={
128
128
  Array [
129
129
  Object {
130
- "fontSize": 14,
130
+ "fontSize": 16,
131
131
  "fontWeight": "400",
132
- "lineHeight": 21,
132
+ "lineHeight": 24,
133
133
  },
134
134
  Object {
135
135
  "color": "hsl(210, 50%, 10%)",
@@ -51,9 +51,9 @@ exports[`Checkbox applies label position prop 1`] = `
51
51
  style={
52
52
  Array [
53
53
  Object {
54
- "fontSize": 14,
54
+ "fontSize": 16,
55
55
  "fontWeight": "400",
56
- "lineHeight": 21,
56
+ "lineHeight": 24,
57
57
  },
58
58
  Object {
59
59
  "color": "hsl(210, 50%, 10%)",
@@ -120,9 +120,9 @@ exports[`Checkbox applies theme and style props 1`] = `
120
120
  style={
121
121
  Array [
122
122
  Object {
123
- "fontSize": 14,
123
+ "fontSize": 16,
124
124
  "fontWeight": "400",
125
- "lineHeight": 21,
125
+ "lineHeight": 24,
126
126
  },
127
127
  Object {
128
128
  "color": "hsl(210, 50%, 10%)",
@@ -193,9 +193,9 @@ exports[`Checkbox renders as expected when disabled 1`] = `
193
193
  style={
194
194
  Array [
195
195
  Object {
196
- "fontSize": 14,
196
+ "fontSize": 16,
197
197
  "fontWeight": "400",
198
- "lineHeight": 21,
198
+ "lineHeight": 24,
199
199
  },
200
200
  Object {
201
201
  "color": "hsl(210, 50%, 10%)",
@@ -260,9 +260,9 @@ exports[`Checkbox renders as expected when passing a number to the size prop 1`]
260
260
  style={
261
261
  Array [
262
262
  Object {
263
- "fontSize": 14,
263
+ "fontSize": 16,
264
264
  "fontWeight": "400",
265
- "lineHeight": 21,
265
+ "lineHeight": 24,
266
266
  },
267
267
  Object {
268
268
  "color": "hsl(210, 50%, 10%)",
@@ -327,9 +327,9 @@ exports[`Checkbox renders as expected when selected is false 1`] = `
327
327
  style={
328
328
  Array [
329
329
  Object {
330
- "fontSize": 14,
330
+ "fontSize": 16,
331
331
  "fontWeight": "400",
332
- "lineHeight": 21,
332
+ "lineHeight": 24,
333
333
  },
334
334
  Object {
335
335
  "color": "hsl(210, 50%, 10%)",
@@ -394,9 +394,9 @@ exports[`Checkbox renders as expected when selected is true 1`] = `
394
394
  style={
395
395
  Array [
396
396
  Object {
397
- "fontSize": 14,
397
+ "fontSize": 16,
398
398
  "fontWeight": "400",
399
- "lineHeight": 21,
399
+ "lineHeight": 24,
400
400
  },
401
401
  Object {
402
402
  "color": "hsl(210, 50%, 10%)",
@@ -461,9 +461,9 @@ exports[`Checkbox renders as expected with custom accessibilityRole 1`] = `
461
461
  style={
462
462
  Array [
463
463
  Object {
464
- "fontSize": 14,
464
+ "fontSize": 16,
465
465
  "fontWeight": "400",
466
- "lineHeight": 21,
466
+ "lineHeight": 24,
467
467
  },
468
468
  Object {
469
469
  "color": "hsl(210, 50%, 10%)",
@@ -32,9 +32,9 @@ exports[`Divider applies theme and style props 1`] = `
32
32
  style={
33
33
  Array [
34
34
  Object {
35
- "fontSize": 14,
35
+ "fontSize": 16,
36
36
  "fontWeight": "400",
37
- "lineHeight": 21,
37
+ "lineHeight": 24,
38
38
  },
39
39
  Object {
40
40
  "color": "hsl(210, 50%, 10%)",
@@ -101,9 +101,9 @@ exports[`Divider renders as expected with label 1`] = `
101
101
  style={
102
102
  Array [
103
103
  Object {
104
- "fontSize": 14,
104
+ "fontSize": 16,
105
105
  "fontWeight": "400",
106
- "lineHeight": 21,
106
+ "lineHeight": 24,
107
107
  },
108
108
  Object {
109
109
  "color": "hsl(210, 50%, 10%)",
@@ -10,7 +10,7 @@ exports[`Heading applies theme and style props 1`] = `
10
10
  },
11
11
  Object {
12
12
  "fontSize": 14,
13
- "fontWeight": "900",
13
+ "fontWeight": "700",
14
14
  "lineHeight": 21,
15
15
  },
16
16
  Object {
@@ -33,7 +33,7 @@ exports[`Heading renders a level 1 Heading as expected 1`] = `
33
33
  },
34
34
  Object {
35
35
  "fontSize": 40,
36
- "fontWeight": "100",
36
+ "fontWeight": "300",
37
37
  "lineHeight": 60,
38
38
  },
39
39
  undefined,
@@ -54,7 +54,7 @@ exports[`Heading renders a level 2 Heading as expected 1`] = `
54
54
  },
55
55
  Object {
56
56
  "fontSize": 32,
57
- "fontWeight": "200",
57
+ "fontWeight": "400",
58
58
  "lineHeight": 48,
59
59
  },
60
60
  undefined,
@@ -75,7 +75,7 @@ exports[`Heading renders a level 3 Heading as expected 1`] = `
75
75
  },
76
76
  Object {
77
77
  "fontSize": 24,
78
- "fontWeight": "300",
78
+ "fontWeight": "500",
79
79
  "lineHeight": 36,
80
80
  },
81
81
  undefined,
@@ -117,7 +117,7 @@ exports[`Heading renders a level 5 Heading as expected 1`] = `
117
117
  },
118
118
  Object {
119
119
  "fontSize": 16,
120
- "fontWeight": "700",
120
+ "fontWeight": "600",
121
121
  "lineHeight": 24,
122
122
  },
123
123
  undefined,
@@ -138,7 +138,7 @@ exports[`Heading renders a level 6 Heading as expected 1`] = `
138
138
  },
139
139
  Object {
140
140
  "fontSize": 14,
141
- "fontWeight": "900",
141
+ "fontWeight": "700",
142
142
  "lineHeight": 21,
143
143
  },
144
144
  undefined,
@@ -159,7 +159,7 @@ exports[`Heading renders a level 6 Heading by default 1`] = `
159
159
  },
160
160
  Object {
161
161
  "fontSize": 14,
162
- "fontWeight": "900",
162
+ "fontWeight": "700",
163
163
  "lineHeight": 21,
164
164
  },
165
165
  undefined,
@@ -17,19 +17,19 @@ export const getThemedStyles = (theme: StrictTheme): HeadingStyles => {
17
17
  },
18
18
  1: {
19
19
  fontSize: fontSizes.xxxl,
20
- fontWeight: fontWeights.hairline,
20
+ fontWeight: fontWeights.light,
21
21
  lineHeight: getLineHeight(fontSizes.xxxl),
22
22
  ...components?.heading?.[1],
23
23
  },
24
24
  2: {
25
25
  fontSize: fontSizes.xxl,
26
- fontWeight: fontWeights.thin,
26
+ fontWeight: fontWeights.normal,
27
27
  lineHeight: getLineHeight(fontSizes.xxl),
28
28
  ...components?.heading?.[2],
29
29
  },
30
30
  3: {
31
31
  fontSize: fontSizes.xl,
32
- fontWeight: fontWeights.light,
32
+ fontWeight: fontWeights.medium,
33
33
  lineHeight: getLineHeight(fontSizes.xl),
34
34
  ...components?.heading?.[3],
35
35
  },
@@ -41,13 +41,13 @@ export const getThemedStyles = (theme: StrictTheme): HeadingStyles => {
41
41
  },
42
42
  5: {
43
43
  fontSize: fontSizes.medium,
44
- fontWeight: fontWeights.bold,
44
+ fontWeight: fontWeights.semibold,
45
45
  lineHeight: getLineHeight(fontSizes.medium),
46
46
  ...components?.heading?.[5],
47
47
  },
48
48
  6: {
49
49
  fontSize: fontSizes.small,
50
- fontWeight: fontWeights.black,
50
+ fontWeight: fontWeights.bold,
51
51
  lineHeight: getLineHeight(fontSizes.small),
52
52
  ...components?.heading?.[6],
53
53
  },
@@ -6,9 +6,9 @@ exports[`Label applies accessibility role 1`] = `
6
6
  style={
7
7
  Array [
8
8
  Object {
9
- "fontSize": 14,
9
+ "fontSize": 16,
10
10
  "fontWeight": "400",
11
- "lineHeight": 21,
11
+ "lineHeight": 24,
12
12
  },
13
13
  Object {
14
14
  "color": "hsl(210, 50%, 10%)",
@@ -28,9 +28,9 @@ exports[`Label renders a default Label 1`] = `
28
28
  style={
29
29
  Array [
30
30
  Object {
31
- "fontSize": 14,
31
+ "fontSize": 16,
32
32
  "fontWeight": "400",
33
- "lineHeight": 21,
33
+ "lineHeight": 24,
34
34
  },
35
35
  Object {
36
36
  "color": "hsl(210, 50%, 10%)",
@@ -50,9 +50,9 @@ exports[`Label should apply theme and style props 1`] = `
50
50
  style={
51
51
  Array [
52
52
  Object {
53
- "fontSize": 14,
53
+ "fontSize": 16,
54
54
  "fontWeight": "400",
55
- "lineHeight": 21,
55
+ "lineHeight": 24,
56
56
  },
57
57
  Object {
58
58
  "color": "hsl(210, 50%, 10%)",
@@ -74,9 +74,9 @@ exports[`Label should apply variant styles 1`] = `
74
74
  style={
75
75
  Array [
76
76
  Object {
77
- "fontSize": 14,
77
+ "fontSize": 16,
78
78
  "fontWeight": "400",
79
- "lineHeight": 21,
79
+ "lineHeight": 24,
80
80
  },
81
81
  Object {
82
82
  "color": "hsl(130, 27%, 29%)",
@@ -12,9 +12,9 @@ export const getThemedStyles = (theme: StrictTheme): LabelStyles => {
12
12
 
13
13
  return StyleSheet.create({
14
14
  text: {
15
- fontSize: fontSizes.small,
15
+ fontSize: fontSizes.medium,
16
16
  fontWeight: fontWeights.normal,
17
- lineHeight: getLineHeight(fontSizes.small),
17
+ lineHeight: getLineHeight(fontSizes.medium),
18
18
  ...components?.label?.text,
19
19
  },
20
20
  primary: {
@@ -6,6 +6,7 @@ exports[`PasswordField applies theme and style props 1`] = `
6
6
  Array [
7
7
  Object {
8
8
  "alignItems": "flex-start",
9
+ "marginBottom": 8,
9
10
  },
10
11
  Array [
11
12
  Object {},
@@ -23,9 +24,9 @@ exports[`PasswordField applies theme and style props 1`] = `
23
24
  style={
24
25
  Array [
25
26
  Object {
26
- "fontSize": 14,
27
+ "fontSize": 16,
27
28
  "fontWeight": "400",
28
- "lineHeight": 21,
29
+ "lineHeight": 24,
29
30
  },
30
31
  Object {
31
32
  "color": "hsl(210, 50%, 10%)",
@@ -33,8 +34,7 @@ exports[`PasswordField applies theme and style props 1`] = `
33
34
  Array [
34
35
  Object {
35
36
  "color": "hsl(210, 25%, 25%)",
36
- "lineHeight": 21,
37
- "padding": 4,
37
+ "paddingVertical": 8,
38
38
  },
39
39
  undefined,
40
40
  ],
@@ -74,6 +74,7 @@ exports[`PasswordField applies theme and style props 1`] = `
74
74
  "color": "hsl(210, 50%, 10%)",
75
75
  "flexGrow": 1,
76
76
  "fontSize": 16,
77
+ "paddingHorizontal": 4,
77
78
  "paddingVertical": 12,
78
79
  },
79
80
  undefined,
@@ -141,6 +142,7 @@ exports[`PasswordField renders as expected 1`] = `
141
142
  Array [
142
143
  Object {
143
144
  "alignItems": "flex-start",
145
+ "marginBottom": 8,
144
146
  },
145
147
  Array [
146
148
  Object {},
@@ -156,9 +158,9 @@ exports[`PasswordField renders as expected 1`] = `
156
158
  style={
157
159
  Array [
158
160
  Object {
159
- "fontSize": 14,
161
+ "fontSize": 16,
160
162
  "fontWeight": "400",
161
- "lineHeight": 21,
163
+ "lineHeight": 24,
162
164
  },
163
165
  Object {
164
166
  "color": "hsl(210, 50%, 10%)",
@@ -166,8 +168,7 @@ exports[`PasswordField renders as expected 1`] = `
166
168
  Array [
167
169
  Object {
168
170
  "color": "hsl(210, 25%, 25%)",
169
- "lineHeight": 21,
170
- "padding": 4,
171
+ "paddingVertical": 8,
171
172
  },
172
173
  undefined,
173
174
  ],
@@ -207,6 +208,7 @@ exports[`PasswordField renders as expected 1`] = `
207
208
  "color": "hsl(210, 50%, 10%)",
208
209
  "flexGrow": 1,
209
210
  "fontSize": 16,
211
+ "paddingHorizontal": 4,
210
212
  "paddingVertical": 12,
211
213
  },
212
214
  undefined,
@@ -272,6 +274,7 @@ exports[`PasswordField renders as expected when disabled 1`] = `
272
274
  Array [
273
275
  Object {
274
276
  "alignItems": "flex-start",
277
+ "marginBottom": 8,
275
278
  },
276
279
  Array [
277
280
  Object {},
@@ -287,9 +290,9 @@ exports[`PasswordField renders as expected when disabled 1`] = `
287
290
  style={
288
291
  Array [
289
292
  Object {
290
- "fontSize": 14,
293
+ "fontSize": 16,
291
294
  "fontWeight": "400",
292
- "lineHeight": 21,
295
+ "lineHeight": 24,
293
296
  },
294
297
  Object {
295
298
  "color": "hsl(210, 50%, 10%)",
@@ -297,8 +300,7 @@ exports[`PasswordField renders as expected when disabled 1`] = `
297
300
  Array [
298
301
  Object {
299
302
  "color": "hsl(210, 25%, 25%)",
300
- "lineHeight": 21,
301
- "padding": 4,
303
+ "paddingVertical": 8,
302
304
  },
303
305
  undefined,
304
306
  ],
@@ -339,6 +341,7 @@ exports[`PasswordField renders as expected when disabled 1`] = `
339
341
  "color": "hsl(210, 50%, 10%)",
340
342
  "flexGrow": 1,
341
343
  "fontSize": 16,
344
+ "paddingHorizontal": 4,
342
345
  "paddingVertical": 12,
343
346
  },
344
347
  undefined,
@@ -411,6 +414,7 @@ exports[`PasswordField should be able to hide show password icon 1`] = `
411
414
  Array [
412
415
  Object {
413
416
  "alignItems": "flex-start",
417
+ "marginBottom": 8,
414
418
  },
415
419
  Array [
416
420
  Object {},
@@ -426,9 +430,9 @@ exports[`PasswordField should be able to hide show password icon 1`] = `
426
430
  style={
427
431
  Array [
428
432
  Object {
429
- "fontSize": 14,
433
+ "fontSize": 16,
430
434
  "fontWeight": "400",
431
- "lineHeight": 21,
435
+ "lineHeight": 24,
432
436
  },
433
437
  Object {
434
438
  "color": "hsl(210, 50%, 10%)",
@@ -436,8 +440,7 @@ exports[`PasswordField should be able to hide show password icon 1`] = `
436
440
  Array [
437
441
  Object {
438
442
  "color": "hsl(210, 25%, 25%)",
439
- "lineHeight": 21,
440
- "padding": 4,
443
+ "paddingVertical": 8,
441
444
  },
442
445
  undefined,
443
446
  ],
@@ -477,6 +480,7 @@ exports[`PasswordField should be able to hide show password icon 1`] = `
477
480
  "color": "hsl(210, 50%, 10%)",
478
481
  "flexGrow": 1,
479
482
  "fontSize": 16,
483
+ "paddingHorizontal": 4,
480
484
  "paddingVertical": 12,
481
485
  },
482
486
  undefined,
@@ -494,6 +498,7 @@ exports[`PasswordField should be able to obscure text programmatically 1`] = `
494
498
  Array [
495
499
  Object {
496
500
  "alignItems": "flex-start",
501
+ "marginBottom": 8,
497
502
  },
498
503
  Array [
499
504
  Object {},
@@ -509,9 +514,9 @@ exports[`PasswordField should be able to obscure text programmatically 1`] = `
509
514
  style={
510
515
  Array [
511
516
  Object {
512
- "fontSize": 14,
517
+ "fontSize": 16,
513
518
  "fontWeight": "400",
514
- "lineHeight": 21,
519
+ "lineHeight": 24,
515
520
  },
516
521
  Object {
517
522
  "color": "hsl(210, 50%, 10%)",
@@ -519,8 +524,7 @@ exports[`PasswordField should be able to obscure text programmatically 1`] = `
519
524
  Array [
520
525
  Object {
521
526
  "color": "hsl(210, 25%, 25%)",
522
- "lineHeight": 21,
523
- "padding": 4,
527
+ "paddingVertical": 8,
524
528
  },
525
529
  undefined,
526
530
  ],
@@ -560,6 +564,7 @@ exports[`PasswordField should be able to obscure text programmatically 1`] = `
560
564
  "color": "hsl(210, 50%, 10%)",
561
565
  "flexGrow": 1,
562
566
  "fontSize": 16,
567
+ "paddingHorizontal": 4,
563
568
  "paddingVertical": 12,
564
569
  },
565
570
  undefined,
@@ -6,6 +6,7 @@ exports[`PhoneNumberField applies theming 1`] = `
6
6
  Array [
7
7
  Object {
8
8
  "alignItems": "flex-start",
9
+ "marginBottom": 8,
9
10
  },
10
11
  Array [
11
12
  Object {},
@@ -46,6 +47,7 @@ exports[`PhoneNumberField applies theming 1`] = `
46
47
  "color": "hsl(210, 50%, 10%)",
47
48
  "flexGrow": 1,
48
49
  "fontSize": 16,
50
+ "paddingHorizontal": 4,
49
51
  "paddingVertical": 12,
50
52
  },
51
53
  Array [
@@ -66,6 +68,7 @@ exports[`PhoneNumberField renders as expected 1`] = `
66
68
  Array [
67
69
  Object {
68
70
  "alignItems": "flex-start",
71
+ "marginBottom": 8,
69
72
  },
70
73
  Array [
71
74
  Object {},
@@ -106,6 +109,7 @@ exports[`PhoneNumberField renders as expected 1`] = `
106
109
  "color": "hsl(210, 50%, 10%)",
107
110
  "flexGrow": 1,
108
111
  "fontSize": 16,
112
+ "paddingHorizontal": 4,
109
113
  "paddingVertical": 12,
110
114
  },
111
115
  Array [
@@ -126,6 +130,7 @@ exports[`PhoneNumberField renders as expected when disabled 1`] = `
126
130
  Array [
127
131
  Object {
128
132
  "alignItems": "flex-start",
133
+ "marginBottom": 8,
129
134
  },
130
135
  Array [
131
136
  Object {},
@@ -167,6 +172,7 @@ exports[`PhoneNumberField renders as expected when disabled 1`] = `
167
172
  "color": "hsl(210, 50%, 10%)",
168
173
  "flexGrow": 1,
169
174
  "fontSize": 16,
175
+ "paddingHorizontal": 4,
170
176
  "paddingVertical": 12,
171
177
  },
172
178
  Array [