@hero-design/rn 8.33.1 → 8.34.0

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 (202) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/es/index.js +868 -655
  4. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  5. package/lib/index.js +871 -656
  6. package/package.json +8 -7
  7. package/rollup.config.js +1 -0
  8. package/src/components/Accordion/AccordionItem.tsx +1 -3
  9. package/src/components/Accordion/__tests__/AccordionItem.spec.tsx +5 -5
  10. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +26 -34
  11. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +36 -48
  12. package/src/components/Accordion/__tests__/index.spec.tsx +2 -2
  13. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +26 -39
  14. package/src/components/Alert/__tests__/index.spec.tsx +8 -2
  15. package/src/components/Alert/index.tsx +2 -2
  16. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  17. package/src/components/Attachment/index.tsx +3 -1
  18. package/src/components/Badge/StyledBadge.tsx +1 -4
  19. package/src/components/Badge/__tests__/Status.spec.tsx +1 -1
  20. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +18 -48
  21. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -3
  22. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  23. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -12
  24. package/src/components/BottomNavigation/index.tsx +0 -1
  25. package/src/components/BottomSheet/Header.tsx +1 -3
  26. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  27. package/src/components/Button/Button.tsx +34 -11
  28. package/src/components/Button/StyledButton.tsx +45 -38
  29. package/src/components/Button/UtilityButton/StyledUtilityButton.tsx +2 -4
  30. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +8 -14
  31. package/src/components/Button/__tests__/StyledButton.spec.tsx +12 -6
  32. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +66 -90
  33. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +56 -86
  34. package/src/components/Calendar/CalendarRowItem.tsx +5 -2
  35. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +10 -15
  36. package/src/components/Calendar/index.tsx +1 -1
  37. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +12 -18
  38. package/src/components/Card/__tests__/index.spec.tsx +1 -1
  39. package/src/components/Carousel/CardCarousel.tsx +2 -0
  40. package/src/components/Carousel/CarouselItem.tsx +4 -4
  41. package/src/components/Carousel/StyledCarousel.tsx +1 -4
  42. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +18 -18
  43. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +24 -20
  44. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +99 -165
  45. package/src/components/Checkbox/StyledCheckbox.tsx +1 -1
  46. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +8 -12
  47. package/src/components/Checkbox/index.tsx +1 -1
  48. package/src/components/ContentNavigator/StyledContentNavigator.tsx +1 -6
  49. package/src/components/ContentNavigator/__tests__/StyledContentNavigator.spec.tsx +1 -9
  50. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +0 -29
  51. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +124 -17
  52. package/src/components/ContentNavigator/__tests__/index.spec.tsx +16 -0
  53. package/src/components/ContentNavigator/index.tsx +30 -9
  54. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +12 -18
  55. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +4 -6
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +4 -6
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +13 -18
  58. package/src/components/Empty/StyledEmpty.tsx +2 -6
  59. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +22 -36
  60. package/src/components/Empty/index.tsx +4 -2
  61. package/src/components/Error/StyledError.tsx +2 -8
  62. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +44 -76
  63. package/src/components/Error/index.tsx +6 -2
  64. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +1 -4
  65. package/src/components/FAB/ActionGroup/StyledActionItem.tsx +1 -5
  66. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +54 -116
  67. package/src/components/FAB/ActionGroup/index.tsx +1 -1
  68. package/src/components/FAB/StyledFAB.tsx +1 -4
  69. package/src/components/FAB/__tests__/StyledFAB.spec.tsx +1 -1
  70. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +2 -3
  71. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -8
  72. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  73. package/src/components/Icon/IconList.ts +2 -0
  74. package/src/components/List/BasicListItem.tsx +2 -6
  75. package/src/components/List/ListItem.tsx +3 -5
  76. package/src/components/List/__tests__/ListItem.spec.tsx +4 -4
  77. package/src/components/List/__tests__/StyledBasicListItem.spec.tsx +3 -1
  78. package/src/components/List/__tests__/StyledListItem.spec.tsx +3 -1
  79. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -10
  80. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +23 -37
  81. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +8 -12
  82. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +8 -12
  83. package/src/components/Modal/ModalContentWrapper.tsx +112 -0
  84. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +135 -0
  85. package/src/components/Modal/ModalPresenter/index.tsx +9 -0
  86. package/src/components/Modal/ModalProvider.tsx +8 -0
  87. package/src/components/Modal/__tests__/ModalContentWrapper.spec.tsx +25 -0
  88. package/src/components/Modal/__tests__/ModalPresenter.spec.tsx +57 -0
  89. package/src/components/Modal/__tests__/__snapshots__/ModalContentWrapper.spec.tsx.snap +35 -0
  90. package/src/components/Modal/__tests__/__snapshots__/ModalPresenter.spec.tsx.snap +55 -0
  91. package/src/components/Modal/__tests__/index.spec.tsx +50 -0
  92. package/src/components/Modal/index.tsx +121 -0
  93. package/src/components/PageControl/index.tsx +0 -1
  94. package/src/components/PinInput/PinCell.tsx +3 -1
  95. package/src/components/PinInput/StyledPinInput.tsx +2 -7
  96. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +25 -45
  97. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +18 -34
  98. package/src/components/PinInput/index.tsx +2 -0
  99. package/src/components/Progress/ProgressCircle.tsx +1 -3
  100. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +3 -6
  101. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -4
  102. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -6
  103. package/src/components/RichTextEditor/RichTextEditor.tsx +7 -11
  104. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +16 -24
  105. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  106. package/src/components/SectionHeading/__tests__/index.spec.tsx +3 -1
  107. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  108. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
  109. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +86 -130
  110. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +6 -10
  111. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  112. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +12 -24
  113. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +49 -79
  114. package/src/components/Select/SingleSelect/__tests__/index.spec.tsx +5 -9
  115. package/src/components/Success/StyledSuccess.tsx +2 -6
  116. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +40 -64
  117. package/src/components/Success/index.tsx +3 -1
  118. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +2 -2
  119. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +6 -9
  120. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +2 -3
  121. package/src/components/Swipeable/__tests__/index.spec.tsx +6 -4
  122. package/src/components/Switch/SelectorSwitch/Option.tsx +1 -1
  123. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -2
  124. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -2
  125. package/src/components/Tabs/ScrollableTabsHeader.tsx +3 -3
  126. package/src/components/Tabs/__tests__/SceneView.spec.tsx +4 -4
  127. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +6 -9
  128. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +33 -60
  129. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +7 -13
  130. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +3 -8
  131. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +45 -81
  132. package/src/components/Tabs/index.tsx +3 -3
  133. package/src/components/Tag/StyledTag.tsx +1 -4
  134. package/src/components/Tag/__tests__/Tag.spec.tsx +5 -1
  135. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +47 -93
  136. package/src/components/Tag/index.tsx +5 -1
  137. package/src/components/TextInput/StyledTextInput.tsx +8 -16
  138. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +72 -134
  139. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +145 -257
  140. package/src/components/TextInput/index.tsx +2 -3
  141. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +12 -23
  142. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +21 -35
  143. package/src/components/Toast/Toast.tsx +6 -5
  144. package/src/components/Toast/ToastContainer.tsx +2 -0
  145. package/src/components/Toast/__tests__/Toast.spec.tsx +5 -1
  146. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +26 -39
  147. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  148. package/src/components/Toolbar/ToolbarItem.tsx +4 -6
  149. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -18
  150. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +14 -21
  151. package/src/index.ts +2 -0
  152. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +4 -0
  153. package/src/theme/components/badge.ts +15 -0
  154. package/src/theme/components/button.ts +16 -0
  155. package/src/theme/components/carousel.ts +15 -0
  156. package/src/theme/components/empty.ts +12 -0
  157. package/src/theme/components/error.ts +16 -0
  158. package/src/theme/components/fab.ts +11 -0
  159. package/src/theme/components/pinInput.ts +15 -0
  160. package/src/theme/components/success.ts +12 -0
  161. package/src/theme/components/tag.ts +16 -0
  162. package/src/theme/components/textInput.ts +1 -0
  163. package/src/theme/getTheme.ts +18 -18
  164. package/testUtils/setup.tsx +24 -0
  165. package/types/components/Badge/StyledBadge.d.ts +1 -1
  166. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +1 -1
  167. package/types/components/Button/StyledButton.d.ts +12 -5
  168. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +1 -1
  169. package/types/components/Carousel/StyledCarousel.d.ts +1 -1
  170. package/types/components/Checkbox/StyledCheckbox.d.ts +1 -1
  171. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -5
  172. package/types/components/Empty/StyledEmpty.d.ts +2 -2
  173. package/types/components/Error/StyledError.d.ts +2 -2
  174. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +2 -2
  175. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +1 -1
  176. package/types/components/FAB/StyledFAB.d.ts +1 -1
  177. package/types/components/Icon/IconList.d.ts +1 -1
  178. package/types/components/Icon/index.d.ts +1 -1
  179. package/types/components/Icon/utils.d.ts +1 -1
  180. package/types/components/Modal/ModalContentWrapper.d.ts +16 -0
  181. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +34 -0
  182. package/types/components/Modal/ModalPresenter/index.d.ts +3 -0
  183. package/types/components/Modal/ModalProvider.d.ts +5 -0
  184. package/types/components/Modal/index.d.ts +33 -0
  185. package/types/components/PinInput/StyledPinInput.d.ts +2 -2
  186. package/types/components/RichTextEditor/RichTextEditor.d.ts +2 -2
  187. package/types/components/Success/StyledSuccess.d.ts +2 -2
  188. package/types/components/Tag/StyledTag.d.ts +1 -1
  189. package/types/components/TextInput/StyledTextInput.d.ts +7 -10
  190. package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
  191. package/types/index.d.ts +2 -1
  192. package/types/theme/components/badge.d.ts +15 -0
  193. package/types/theme/components/button.d.ts +14 -0
  194. package/types/theme/components/carousel.d.ts +15 -0
  195. package/types/theme/components/empty.d.ts +11 -0
  196. package/types/theme/components/error.d.ts +15 -0
  197. package/types/theme/components/fab.d.ts +11 -0
  198. package/types/theme/components/pinInput.d.ts +15 -0
  199. package/types/theme/components/success.d.ts +11 -0
  200. package/types/theme/components/tag.d.ts +15 -0
  201. package/types/theme/components/textInput.d.ts +1 -0
  202. package/types/theme/getTheme.d.ts +18 -18
@@ -79,25 +79,22 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
79
79
  Object {
80
80
  "color": "#001f23",
81
81
  "fontFamily": "BeVietnamPro-Regular",
82
- "fontSize": 14,
83
- "letterSpacing": 0.42,
84
- "lineHeight": 22,
82
+ "fontSize": 12,
83
+ "letterSpacing": 0.48,
84
+ "lineHeight": 16,
85
85
  },
86
86
  Array [
87
87
  Object {
88
88
  "color": "#de350b",
89
- "fontSize": 12,
90
89
  "lineHeight": 12,
91
90
  },
92
91
  undefined,
93
92
  ],
94
93
  ]
95
94
  }
96
- themeFontSize="medium"
97
95
  themeFontWeight="regular"
98
96
  themeIntent="body"
99
97
  themeState="filled"
100
- themeTypeface="neutral"
101
98
  >
102
99
  *
103
100
  </Text>
@@ -108,14 +105,13 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
108
105
  Object {
109
106
  "color": "#001f23",
110
107
  "fontFamily": "BeVietnamPro-Regular",
111
- "fontSize": 14,
112
- "letterSpacing": 0.42,
113
- "lineHeight": 22,
108
+ "fontSize": 12,
109
+ "letterSpacing": 0.48,
110
+ "lineHeight": 16,
114
111
  },
115
112
  Array [
116
113
  Object {
117
114
  "color": "#001f23",
118
- "fontSize": 12,
119
115
  "lineHeight": 12,
120
116
  },
121
117
  Object {
@@ -125,11 +121,9 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
125
121
  ]
126
122
  }
127
123
  testID="input-label"
128
- themeFontSize="medium"
129
124
  themeFontWeight="regular"
130
125
  themeIntent="body"
131
126
  themeState="filled"
132
- themeTypeface="neutral"
133
127
  >
134
128
  Amount (AUD)
135
129
  </Text>
@@ -208,6 +202,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
208
202
  Object {
209
203
  "minHeight": 16,
210
204
  "paddingLeft": 16,
205
+ "paddingTop": 2,
211
206
  },
212
207
  undefined,
213
208
  ]
@@ -231,22 +226,15 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
231
226
  Object {
232
227
  "color": "#001f23",
233
228
  "fontFamily": "BeVietnamPro-Regular",
234
- "fontSize": 14,
235
- "letterSpacing": 0.42,
236
- "lineHeight": 22,
229
+ "fontSize": 12,
230
+ "letterSpacing": 0.48,
231
+ "lineHeight": 16,
237
232
  },
238
- Array [
239
- Object {
240
- "fontSize": 12,
241
- },
242
- undefined,
243
- ],
233
+ undefined,
244
234
  ]
245
235
  }
246
- themeFontSize="medium"
247
236
  themeFontWeight="regular"
248
237
  themeIntent="body"
249
- themeTypeface="neutral"
250
238
  >
251
239
  This is helper text
252
240
  </Text>
@@ -258,7 +246,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
258
246
  "color": "#001f23",
259
247
  "fontFamily": "BeVietnamPro-Regular",
260
248
  "fontSize": 12,
261
- "letterSpacing": 0.36,
249
+ "letterSpacing": 0.48,
262
250
  "lineHeight": 16,
263
251
  },
264
252
  Array [
@@ -267,7 +255,6 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
267
255
  "color": "#001f23",
268
256
  "flex": 1,
269
257
  "flexGrow": 1,
270
- "fontSize": 12,
271
258
  "marginRight": 4,
272
259
  "textAlign": "right",
273
260
  },
@@ -275,11 +262,9 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
275
262
  ],
276
263
  ]
277
264
  }
278
- themeFontSize="small"
279
265
  themeFontWeight="regular"
280
266
  themeIntent="body"
281
267
  themeState="filled"
282
- themeTypeface="neutral"
283
268
  >
284
269
  4
285
270
  /
@@ -369,25 +354,22 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
369
354
  Object {
370
355
  "color": "#001f23",
371
356
  "fontFamily": "BeVietnamPro-Regular",
372
- "fontSize": 14,
373
- "letterSpacing": 0.42,
374
- "lineHeight": 22,
357
+ "fontSize": 12,
358
+ "letterSpacing": 0.48,
359
+ "lineHeight": 16,
375
360
  },
376
361
  Array [
377
362
  Object {
378
363
  "color": "#de350b",
379
- "fontSize": 12,
380
364
  "lineHeight": 12,
381
365
  },
382
366
  undefined,
383
367
  ],
384
368
  ]
385
369
  }
386
- themeFontSize="medium"
387
370
  themeFontWeight="regular"
388
371
  themeIntent="body"
389
372
  themeState="filled"
390
- themeTypeface="neutral"
391
373
  >
392
374
  *
393
375
  </Text>
@@ -398,14 +380,13 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
398
380
  Object {
399
381
  "color": "#001f23",
400
382
  "fontFamily": "BeVietnamPro-Regular",
401
- "fontSize": 14,
402
- "letterSpacing": 0.42,
403
- "lineHeight": 22,
383
+ "fontSize": 12,
384
+ "letterSpacing": 0.48,
385
+ "lineHeight": 16,
404
386
  },
405
387
  Array [
406
388
  Object {
407
389
  "color": "#001f23",
408
- "fontSize": 12,
409
390
  "lineHeight": 12,
410
391
  },
411
392
  Object {
@@ -415,11 +396,9 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
415
396
  ]
416
397
  }
417
398
  testID="input-label"
418
- themeFontSize="medium"
419
399
  themeFontWeight="regular"
420
400
  themeIntent="body"
421
401
  themeState="filled"
422
- themeTypeface="neutral"
423
402
  >
424
403
  Amount (AUD)
425
404
  </Text>
@@ -497,6 +476,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
497
476
  Object {
498
477
  "minHeight": 16,
499
478
  "paddingLeft": 16,
479
+ "paddingTop": 2,
500
480
  },
501
481
  undefined,
502
482
  ]
@@ -520,22 +500,15 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
520
500
  Object {
521
501
  "color": "#001f23",
522
502
  "fontFamily": "BeVietnamPro-Regular",
523
- "fontSize": 14,
524
- "letterSpacing": 0.42,
525
- "lineHeight": 22,
503
+ "fontSize": 12,
504
+ "letterSpacing": 0.48,
505
+ "lineHeight": 16,
526
506
  },
527
- Array [
528
- Object {
529
- "fontSize": 12,
530
- },
531
- undefined,
532
- ],
507
+ undefined,
533
508
  ]
534
509
  }
535
- themeFontSize="medium"
536
510
  themeFontWeight="regular"
537
511
  themeIntent="body"
538
- themeTypeface="neutral"
539
512
  >
540
513
  This is helper text
541
514
  </Text>
@@ -547,7 +520,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
547
520
  "color": "#001f23",
548
521
  "fontFamily": "BeVietnamPro-Regular",
549
522
  "fontSize": 12,
550
- "letterSpacing": 0.36,
523
+ "letterSpacing": 0.48,
551
524
  "lineHeight": 16,
552
525
  },
553
526
  Array [
@@ -556,7 +529,6 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
556
529
  "color": "#001f23",
557
530
  "flex": 1,
558
531
  "flexGrow": 1,
559
- "fontSize": 12,
560
532
  "marginRight": 4,
561
533
  "textAlign": "right",
562
534
  },
@@ -564,11 +536,9 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
564
536
  ],
565
537
  ]
566
538
  }
567
- themeFontSize="small"
568
539
  themeFontWeight="regular"
569
540
  themeIntent="body"
570
541
  themeState="filled"
571
- themeTypeface="neutral"
572
542
  >
573
543
  4
574
544
  /
@@ -658,25 +628,22 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
658
628
  Object {
659
629
  "color": "#001f23",
660
630
  "fontFamily": "BeVietnamPro-Regular",
661
- "fontSize": 14,
662
- "letterSpacing": 0.42,
663
- "lineHeight": 22,
631
+ "fontSize": 12,
632
+ "letterSpacing": 0.48,
633
+ "lineHeight": 16,
664
634
  },
665
635
  Array [
666
636
  Object {
667
637
  "color": "#de350b",
668
- "fontSize": 12,
669
638
  "lineHeight": 12,
670
639
  },
671
640
  undefined,
672
641
  ],
673
642
  ]
674
643
  }
675
- themeFontSize="medium"
676
644
  themeFontWeight="regular"
677
645
  themeIntent="body"
678
646
  themeState="filled"
679
- themeTypeface="neutral"
680
647
  >
681
648
  *
682
649
  </Text>
@@ -687,14 +654,13 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
687
654
  Object {
688
655
  "color": "#001f23",
689
656
  "fontFamily": "BeVietnamPro-Regular",
690
- "fontSize": 14,
691
- "letterSpacing": 0.42,
692
- "lineHeight": 22,
657
+ "fontSize": 12,
658
+ "letterSpacing": 0.48,
659
+ "lineHeight": 16,
693
660
  },
694
661
  Array [
695
662
  Object {
696
663
  "color": "#001f23",
697
- "fontSize": 12,
698
664
  "lineHeight": 12,
699
665
  },
700
666
  Object {
@@ -704,11 +670,9 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
704
670
  ]
705
671
  }
706
672
  testID="input-label"
707
- themeFontSize="medium"
708
673
  themeFontWeight="regular"
709
674
  themeIntent="body"
710
675
  themeState="filled"
711
- themeTypeface="neutral"
712
676
  >
713
677
  Amount (AUD)
714
678
  </Text>
@@ -787,6 +751,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
787
751
  Object {
788
752
  "minHeight": 16,
789
753
  "paddingLeft": 16,
754
+ "paddingTop": 2,
790
755
  },
791
756
  undefined,
792
757
  ]
@@ -810,22 +775,15 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
810
775
  Object {
811
776
  "color": "#001f23",
812
777
  "fontFamily": "BeVietnamPro-Regular",
813
- "fontSize": 14,
814
- "letterSpacing": 0.42,
815
- "lineHeight": 22,
778
+ "fontSize": 12,
779
+ "letterSpacing": 0.48,
780
+ "lineHeight": 16,
816
781
  },
817
- Array [
818
- Object {
819
- "fontSize": 12,
820
- },
821
- undefined,
822
- ],
782
+ undefined,
823
783
  ]
824
784
  }
825
- themeFontSize="medium"
826
785
  themeFontWeight="regular"
827
786
  themeIntent="body"
828
- themeTypeface="neutral"
829
787
  >
830
788
  This is helper text
831
789
  </Text>
@@ -837,7 +795,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
837
795
  "color": "#001f23",
838
796
  "fontFamily": "BeVietnamPro-Regular",
839
797
  "fontSize": 12,
840
- "letterSpacing": 0.36,
798
+ "letterSpacing": 0.48,
841
799
  "lineHeight": 16,
842
800
  },
843
801
  Array [
@@ -846,7 +804,6 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
846
804
  "color": "#001f23",
847
805
  "flex": 1,
848
806
  "flexGrow": 1,
849
- "fontSize": 12,
850
807
  "marginRight": 4,
851
808
  "textAlign": "right",
852
809
  },
@@ -854,11 +811,9 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
854
811
  ],
855
812
  ]
856
813
  }
857
- themeFontSize="small"
858
814
  themeFontWeight="regular"
859
815
  themeIntent="body"
860
816
  themeState="filled"
861
- themeTypeface="neutral"
862
817
  >
863
818
  4
864
819
  /
@@ -949,25 +904,22 @@ exports[`TextInput disabled renders correctly 1`] = `
949
904
  Object {
950
905
  "color": "#001f23",
951
906
  "fontFamily": "BeVietnamPro-Regular",
952
- "fontSize": 14,
953
- "letterSpacing": 0.42,
954
- "lineHeight": 22,
907
+ "fontSize": 12,
908
+ "letterSpacing": 0.48,
909
+ "lineHeight": 16,
955
910
  },
956
911
  Array [
957
912
  Object {
958
913
  "color": "#bfc1c5",
959
- "fontSize": 12,
960
914
  "lineHeight": 12,
961
915
  },
962
916
  undefined,
963
917
  ],
964
918
  ]
965
919
  }
966
- themeFontSize="medium"
967
920
  themeFontWeight="regular"
968
921
  themeIntent="body"
969
922
  themeState="disabled"
970
- themeTypeface="neutral"
971
923
  >
972
924
  *
973
925
  </Text>
@@ -978,14 +930,13 @@ exports[`TextInput disabled renders correctly 1`] = `
978
930
  Object {
979
931
  "color": "#001f23",
980
932
  "fontFamily": "BeVietnamPro-Regular",
981
- "fontSize": 14,
982
- "letterSpacing": 0.42,
983
- "lineHeight": 22,
933
+ "fontSize": 12,
934
+ "letterSpacing": 0.48,
935
+ "lineHeight": 16,
984
936
  },
985
937
  Array [
986
938
  Object {
987
939
  "color": "#bfc1c5",
988
- "fontSize": 12,
989
940
  "lineHeight": 12,
990
941
  },
991
942
  Object {
@@ -995,11 +946,9 @@ exports[`TextInput disabled renders correctly 1`] = `
995
946
  ]
996
947
  }
997
948
  testID="input-label"
998
- themeFontSize="medium"
999
949
  themeFontWeight="regular"
1000
950
  themeIntent="body"
1001
951
  themeState="disabled"
1002
- themeTypeface="neutral"
1003
952
  >
1004
953
  Amount (AUD)
1005
954
  </Text>
@@ -1061,6 +1010,7 @@ exports[`TextInput disabled renders correctly 1`] = `
1061
1010
  Object {
1062
1011
  "minHeight": 16,
1063
1012
  "paddingLeft": 16,
1013
+ "paddingTop": 2,
1064
1014
  },
1065
1015
  undefined,
1066
1016
  ]
@@ -1188,24 +1138,22 @@ exports[`TextInput error renders correctly 1`] = `
1188
1138
  Object {
1189
1139
  "color": "#001f23",
1190
1140
  "fontFamily": "BeVietnamPro-Regular",
1191
- "fontSize": 14,
1192
- "letterSpacing": 0.42,
1193
- "lineHeight": 22,
1141
+ "fontSize": 16,
1142
+ "letterSpacing": 0.48,
1143
+ "lineHeight": 24,
1194
1144
  },
1195
1145
  Array [
1196
1146
  Object {
1197
1147
  "color": "#de350b",
1198
- "fontSize": 16,
1199
1148
  },
1200
1149
  undefined,
1201
1150
  ],
1202
1151
  ]
1203
1152
  }
1204
- themeFontSize="medium"
1205
- themeFontWeight="regular"
1206
1153
  themeIntent="body"
1207
1154
  themeState="error"
1208
1155
  themeTypeface="neutral"
1156
+ themeVariant="regular"
1209
1157
  >
1210
1158
  *
1211
1159
  </Text>
@@ -1216,16 +1164,15 @@ exports[`TextInput error renders correctly 1`] = `
1216
1164
  Object {
1217
1165
  "color": "#001f23",
1218
1166
  "fontFamily": "BeVietnamPro-Regular",
1219
- "fontSize": 14,
1220
- "letterSpacing": 0.42,
1221
- "lineHeight": 22,
1167
+ "fontSize": 16,
1168
+ "letterSpacing": 0.48,
1169
+ "lineHeight": 24,
1222
1170
  },
1223
1171
  Array [
1224
1172
  Object {
1225
1173
  "alignContent": "center",
1226
1174
  "alignItems": "center",
1227
1175
  "color": "#001f23",
1228
- "fontSize": 16,
1229
1176
  "marginTop": -2,
1230
1177
  "textAlignVertical": "center",
1231
1178
  },
@@ -1234,11 +1181,10 @@ exports[`TextInput error renders correctly 1`] = `
1234
1181
  ]
1235
1182
  }
1236
1183
  testID="input-label"
1237
- themeFontSize="medium"
1238
- themeFontWeight="regular"
1239
1184
  themeIntent="body"
1240
1185
  themeState="error"
1241
1186
  themeTypeface="neutral"
1187
+ themeVariant="regular"
1242
1188
  >
1243
1189
  Amount (AUD)
1244
1190
  </Text>
@@ -1285,6 +1231,7 @@ exports[`TextInput error renders correctly 1`] = `
1285
1231
  Object {
1286
1232
  "minHeight": 16,
1287
1233
  "paddingLeft": 16,
1234
+ "paddingTop": 2,
1288
1235
  },
1289
1236
  undefined,
1290
1237
  ]
@@ -1337,14 +1284,13 @@ exports[`TextInput error renders correctly 1`] = `
1337
1284
  Object {
1338
1285
  "color": "#001f23",
1339
1286
  "fontFamily": "BeVietnamPro-Regular",
1340
- "fontSize": 14,
1341
- "letterSpacing": 0.42,
1342
- "lineHeight": 22,
1287
+ "fontSize": 12,
1288
+ "letterSpacing": 0.48,
1289
+ "lineHeight": 16,
1343
1290
  },
1344
1291
  Array [
1345
1292
  Object {
1346
1293
  "color": "#de350b",
1347
- "fontSize": 12,
1348
1294
  "marginLeft": 4,
1349
1295
  },
1350
1296
  undefined,
@@ -1352,10 +1298,8 @@ exports[`TextInput error renders correctly 1`] = `
1352
1298
  ]
1353
1299
  }
1354
1300
  testID="input-error-message"
1355
- themeFontSize="medium"
1356
1301
  themeFontWeight="regular"
1357
1302
  themeIntent="body"
1358
- themeTypeface="neutral"
1359
1303
  >
1360
1304
  This field is required
1361
1305
  </Text>
@@ -1444,14 +1388,13 @@ exports[`TextInput filled renders correctly 1`] = `
1444
1388
  Object {
1445
1389
  "color": "#001f23",
1446
1390
  "fontFamily": "BeVietnamPro-Regular",
1447
- "fontSize": 14,
1448
- "letterSpacing": 0.42,
1449
- "lineHeight": 22,
1391
+ "fontSize": 12,
1392
+ "letterSpacing": 0.48,
1393
+ "lineHeight": 16,
1450
1394
  },
1451
1395
  Array [
1452
1396
  Object {
1453
1397
  "color": "#001f23",
1454
- "fontSize": 12,
1455
1398
  "lineHeight": 12,
1456
1399
  },
1457
1400
  Object {
@@ -1461,11 +1404,9 @@ exports[`TextInput filled renders correctly 1`] = `
1461
1404
  ]
1462
1405
  }
1463
1406
  testID="input-label"
1464
- themeFontSize="medium"
1465
1407
  themeFontWeight="regular"
1466
1408
  themeIntent="body"
1467
1409
  themeState="filled"
1468
- themeTypeface="neutral"
1469
1410
  >
1470
1411
  Amount (AUD)
1471
1412
  </Text>
@@ -1557,6 +1498,7 @@ exports[`TextInput filled renders correctly 1`] = `
1557
1498
  Object {
1558
1499
  "minHeight": 16,
1559
1500
  "paddingLeft": 16,
1501
+ "paddingTop": 2,
1560
1502
  },
1561
1503
  undefined,
1562
1504
  ]
@@ -1684,24 +1626,22 @@ exports[`TextInput helper text renders correctly 1`] = `
1684
1626
  Object {
1685
1627
  "color": "#001f23",
1686
1628
  "fontFamily": "BeVietnamPro-Regular",
1687
- "fontSize": 14,
1688
- "letterSpacing": 0.42,
1689
- "lineHeight": 22,
1629
+ "fontSize": 16,
1630
+ "letterSpacing": 0.48,
1631
+ "lineHeight": 24,
1690
1632
  },
1691
1633
  Array [
1692
1634
  Object {
1693
1635
  "color": "#de350b",
1694
- "fontSize": 16,
1695
1636
  },
1696
1637
  undefined,
1697
1638
  ],
1698
1639
  ]
1699
1640
  }
1700
- themeFontSize="medium"
1701
- themeFontWeight="regular"
1702
1641
  themeIntent="body"
1703
1642
  themeState="default"
1704
1643
  themeTypeface="neutral"
1644
+ themeVariant="regular"
1705
1645
  >
1706
1646
  *
1707
1647
  </Text>
@@ -1712,16 +1652,15 @@ exports[`TextInput helper text renders correctly 1`] = `
1712
1652
  Object {
1713
1653
  "color": "#001f23",
1714
1654
  "fontFamily": "BeVietnamPro-Regular",
1715
- "fontSize": 14,
1716
- "letterSpacing": 0.42,
1717
- "lineHeight": 22,
1655
+ "fontSize": 16,
1656
+ "letterSpacing": 0.48,
1657
+ "lineHeight": 24,
1718
1658
  },
1719
1659
  Array [
1720
1660
  Object {
1721
1661
  "alignContent": "center",
1722
1662
  "alignItems": "center",
1723
1663
  "color": "#001f23",
1724
- "fontSize": 16,
1725
1664
  "marginTop": -2,
1726
1665
  "textAlignVertical": "center",
1727
1666
  },
@@ -1730,11 +1669,10 @@ exports[`TextInput helper text renders correctly 1`] = `
1730
1669
  ]
1731
1670
  }
1732
1671
  testID="input-label"
1733
- themeFontSize="medium"
1734
- themeFontWeight="regular"
1735
1672
  themeIntent="body"
1736
1673
  themeState="default"
1737
1674
  themeTypeface="neutral"
1675
+ themeVariant="regular"
1738
1676
  >
1739
1677
  Amount (AUD)
1740
1678
  </Text>
@@ -1781,6 +1719,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1781
1719
  Object {
1782
1720
  "minHeight": 16,
1783
1721
  "paddingLeft": 16,
1722
+ "paddingTop": 2,
1784
1723
  },
1785
1724
  undefined,
1786
1725
  ]
@@ -1804,22 +1743,15 @@ exports[`TextInput helper text renders correctly 1`] = `
1804
1743
  Object {
1805
1744
  "color": "#001f23",
1806
1745
  "fontFamily": "BeVietnamPro-Regular",
1807
- "fontSize": 14,
1808
- "letterSpacing": 0.42,
1809
- "lineHeight": 22,
1746
+ "fontSize": 12,
1747
+ "letterSpacing": 0.48,
1748
+ "lineHeight": 16,
1810
1749
  },
1811
- Array [
1812
- Object {
1813
- "fontSize": 12,
1814
- },
1815
- undefined,
1816
- ],
1750
+ undefined,
1817
1751
  ]
1818
1752
  }
1819
- themeFontSize="medium"
1820
1753
  themeFontWeight="regular"
1821
1754
  themeIntent="body"
1822
- themeTypeface="neutral"
1823
1755
  >
1824
1756
  This is helper text
1825
1757
  </Text>
@@ -1938,16 +1870,15 @@ exports[`TextInput idle renders correctly 1`] = `
1938
1870
  Object {
1939
1871
  "color": "#001f23",
1940
1872
  "fontFamily": "BeVietnamPro-Regular",
1941
- "fontSize": 14,
1942
- "letterSpacing": 0.42,
1943
- "lineHeight": 22,
1873
+ "fontSize": 16,
1874
+ "letterSpacing": 0.48,
1875
+ "lineHeight": 24,
1944
1876
  },
1945
1877
  Array [
1946
1878
  Object {
1947
1879
  "alignContent": "center",
1948
1880
  "alignItems": "center",
1949
1881
  "color": "#001f23",
1950
- "fontSize": 16,
1951
1882
  "marginTop": -2,
1952
1883
  "textAlignVertical": "center",
1953
1884
  },
@@ -1956,11 +1887,10 @@ exports[`TextInput idle renders correctly 1`] = `
1956
1887
  ]
1957
1888
  }
1958
1889
  testID="input-label"
1959
- themeFontSize="medium"
1960
- themeFontWeight="regular"
1961
1890
  themeIntent="body"
1962
1891
  themeState="default"
1963
1892
  themeTypeface="neutral"
1893
+ themeVariant="regular"
1964
1894
  >
1965
1895
  Amount (AUD)
1966
1896
  </Text>
@@ -2022,6 +1952,7 @@ exports[`TextInput idle renders correctly 1`] = `
2022
1952
  Object {
2023
1953
  "minHeight": 16,
2024
1954
  "paddingLeft": 16,
1955
+ "paddingTop": 2,
2025
1956
  },
2026
1957
  undefined,
2027
1958
  ]
@@ -2149,24 +2080,22 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2149
2080
  Object {
2150
2081
  "color": "#001f23",
2151
2082
  "fontFamily": "BeVietnamPro-Regular",
2152
- "fontSize": 14,
2153
- "letterSpacing": 0.42,
2154
- "lineHeight": 22,
2083
+ "fontSize": 16,
2084
+ "letterSpacing": 0.48,
2085
+ "lineHeight": 24,
2155
2086
  },
2156
2087
  Array [
2157
2088
  Object {
2158
2089
  "color": "#de350b",
2159
- "fontSize": 16,
2160
2090
  },
2161
2091
  undefined,
2162
2092
  ],
2163
2093
  ]
2164
2094
  }
2165
- themeFontSize="medium"
2166
- themeFontWeight="regular"
2167
2095
  themeIntent="body"
2168
2096
  themeState="default"
2169
2097
  themeTypeface="neutral"
2098
+ themeVariant="regular"
2170
2099
  >
2171
2100
  *
2172
2101
  </Text>
@@ -2177,16 +2106,15 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2177
2106
  Object {
2178
2107
  "color": "#001f23",
2179
2108
  "fontFamily": "BeVietnamPro-Regular",
2180
- "fontSize": 14,
2181
- "letterSpacing": 0.42,
2182
- "lineHeight": 22,
2109
+ "fontSize": 16,
2110
+ "letterSpacing": 0.48,
2111
+ "lineHeight": 24,
2183
2112
  },
2184
2113
  Array [
2185
2114
  Object {
2186
2115
  "alignContent": "center",
2187
2116
  "alignItems": "center",
2188
2117
  "color": "#001f23",
2189
- "fontSize": 16,
2190
2118
  "marginTop": -2,
2191
2119
  "textAlignVertical": "center",
2192
2120
  },
@@ -2195,11 +2123,10 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2195
2123
  ]
2196
2124
  }
2197
2125
  testID="input-label"
2198
- themeFontSize="medium"
2199
- themeFontWeight="regular"
2200
2126
  themeIntent="body"
2201
2127
  themeState="default"
2202
2128
  themeTypeface="neutral"
2129
+ themeVariant="regular"
2203
2130
  >
2204
2131
  Amount (AUD)
2205
2132
  </Text>
@@ -2261,6 +2188,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2261
2188
  Object {
2262
2189
  "minHeight": 16,
2263
2190
  "paddingLeft": 16,
2191
+ "paddingTop": 2,
2264
2192
  },
2265
2193
  undefined,
2266
2194
  ]
@@ -2435,6 +2363,7 @@ exports[`TextInput loading renders correctly 1`] = `
2435
2363
  Object {
2436
2364
  "minHeight": 16,
2437
2365
  "paddingLeft": 16,
2366
+ "paddingTop": 2,
2438
2367
  },
2439
2368
  undefined,
2440
2369
  ]
@@ -2534,25 +2463,22 @@ exports[`TextInput max length renders correctly 1`] = `
2534
2463
  Object {
2535
2464
  "color": "#001f23",
2536
2465
  "fontFamily": "BeVietnamPro-Regular",
2537
- "fontSize": 14,
2538
- "letterSpacing": 0.42,
2539
- "lineHeight": 22,
2466
+ "fontSize": 12,
2467
+ "letterSpacing": 0.48,
2468
+ "lineHeight": 16,
2540
2469
  },
2541
2470
  Array [
2542
2471
  Object {
2543
2472
  "color": "#de350b",
2544
- "fontSize": 12,
2545
2473
  "lineHeight": 12,
2546
2474
  },
2547
2475
  undefined,
2548
2476
  ],
2549
2477
  ]
2550
2478
  }
2551
- themeFontSize="medium"
2552
2479
  themeFontWeight="regular"
2553
2480
  themeIntent="body"
2554
2481
  themeState="error"
2555
- themeTypeface="neutral"
2556
2482
  >
2557
2483
  *
2558
2484
  </Text>
@@ -2563,14 +2489,13 @@ exports[`TextInput max length renders correctly 1`] = `
2563
2489
  Object {
2564
2490
  "color": "#001f23",
2565
2491
  "fontFamily": "BeVietnamPro-Regular",
2566
- "fontSize": 14,
2567
- "letterSpacing": 0.42,
2568
- "lineHeight": 22,
2492
+ "fontSize": 12,
2493
+ "letterSpacing": 0.48,
2494
+ "lineHeight": 16,
2569
2495
  },
2570
2496
  Array [
2571
2497
  Object {
2572
2498
  "color": "#001f23",
2573
- "fontSize": 12,
2574
2499
  "lineHeight": 12,
2575
2500
  },
2576
2501
  Object {
@@ -2580,11 +2505,9 @@ exports[`TextInput max length renders correctly 1`] = `
2580
2505
  ]
2581
2506
  }
2582
2507
  testID="input-label"
2583
- themeFontSize="medium"
2584
2508
  themeFontWeight="regular"
2585
2509
  themeIntent="body"
2586
2510
  themeState="error"
2587
- themeTypeface="neutral"
2588
2511
  >
2589
2512
  Shout out
2590
2513
  </Text>
@@ -2648,6 +2571,7 @@ exports[`TextInput max length renders correctly 1`] = `
2648
2571
  Object {
2649
2572
  "minHeight": 16,
2650
2573
  "paddingLeft": 16,
2574
+ "paddingTop": 2,
2651
2575
  },
2652
2576
  undefined,
2653
2577
  ]
@@ -2700,14 +2624,13 @@ exports[`TextInput max length renders correctly 1`] = `
2700
2624
  Object {
2701
2625
  "color": "#001f23",
2702
2626
  "fontFamily": "BeVietnamPro-Regular",
2703
- "fontSize": 14,
2704
- "letterSpacing": 0.42,
2705
- "lineHeight": 22,
2627
+ "fontSize": 12,
2628
+ "letterSpacing": 0.48,
2629
+ "lineHeight": 16,
2706
2630
  },
2707
2631
  Array [
2708
2632
  Object {
2709
2633
  "color": "#de350b",
2710
- "fontSize": 12,
2711
2634
  "marginLeft": 4,
2712
2635
  },
2713
2636
  undefined,
@@ -2715,10 +2638,8 @@ exports[`TextInput max length renders correctly 1`] = `
2715
2638
  ]
2716
2639
  }
2717
2640
  testID="input-error-message"
2718
- themeFontSize="medium"
2719
2641
  themeFontWeight="regular"
2720
2642
  themeIntent="body"
2721
- themeTypeface="neutral"
2722
2643
  >
2723
2644
  must not exceed character limit
2724
2645
  </Text>
@@ -2731,7 +2652,7 @@ exports[`TextInput max length renders correctly 1`] = `
2731
2652
  "color": "#001f23",
2732
2653
  "fontFamily": "BeVietnamPro-Regular",
2733
2654
  "fontSize": 12,
2734
- "letterSpacing": 0.36,
2655
+ "letterSpacing": 0.48,
2735
2656
  "lineHeight": 16,
2736
2657
  },
2737
2658
  Array [
@@ -2740,7 +2661,6 @@ exports[`TextInput max length renders correctly 1`] = `
2740
2661
  "color": "#de350b",
2741
2662
  "flex": 1,
2742
2663
  "flexGrow": 1,
2743
- "fontSize": 12,
2744
2664
  "marginRight": 4,
2745
2665
  "textAlign": "right",
2746
2666
  },
@@ -2748,11 +2668,9 @@ exports[`TextInput max length renders correctly 1`] = `
2748
2668
  ],
2749
2669
  ]
2750
2670
  }
2751
- themeFontSize="small"
2752
2671
  themeFontWeight="regular"
2753
2672
  themeIntent="body"
2754
2673
  themeState="error"
2755
- themeTypeface="neutral"
2756
2674
  >
2757
2675
  18
2758
2676
  /
@@ -2842,25 +2760,22 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2842
2760
  Object {
2843
2761
  "color": "#001f23",
2844
2762
  "fontFamily": "BeVietnamPro-Regular",
2845
- "fontSize": 14,
2846
- "letterSpacing": 0.42,
2847
- "lineHeight": 22,
2763
+ "fontSize": 12,
2764
+ "letterSpacing": 0.48,
2765
+ "lineHeight": 16,
2848
2766
  },
2849
2767
  Array [
2850
2768
  Object {
2851
2769
  "color": "#de350b",
2852
- "fontSize": 12,
2853
2770
  "lineHeight": 12,
2854
2771
  },
2855
2772
  undefined,
2856
2773
  ],
2857
2774
  ]
2858
2775
  }
2859
- themeFontSize="medium"
2860
2776
  themeFontWeight="regular"
2861
2777
  themeIntent="body"
2862
2778
  themeState="error"
2863
- themeTypeface="neutral"
2864
2779
  >
2865
2780
  *
2866
2781
  </Text>
@@ -2871,14 +2786,13 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2871
2786
  Object {
2872
2787
  "color": "#001f23",
2873
2788
  "fontFamily": "BeVietnamPro-Regular",
2874
- "fontSize": 14,
2875
- "letterSpacing": 0.42,
2876
- "lineHeight": 22,
2789
+ "fontSize": 12,
2790
+ "letterSpacing": 0.48,
2791
+ "lineHeight": 16,
2877
2792
  },
2878
2793
  Array [
2879
2794
  Object {
2880
2795
  "color": "#001f23",
2881
- "fontSize": 12,
2882
2796
  "lineHeight": 12,
2883
2797
  },
2884
2798
  Object {
@@ -2888,11 +2802,9 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2888
2802
  ]
2889
2803
  }
2890
2804
  testID="input-label"
2891
- themeFontSize="medium"
2892
2805
  themeFontWeight="regular"
2893
2806
  themeIntent="body"
2894
2807
  themeState="error"
2895
- themeTypeface="neutral"
2896
2808
  >
2897
2809
  Shout out
2898
2810
  </Text>
@@ -2956,6 +2868,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2956
2868
  Object {
2957
2869
  "minHeight": 16,
2958
2870
  "paddingLeft": 16,
2871
+ "paddingTop": 2,
2959
2872
  },
2960
2873
  undefined,
2961
2874
  ]
@@ -3008,14 +2921,13 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
3008
2921
  Object {
3009
2922
  "color": "#001f23",
3010
2923
  "fontFamily": "BeVietnamPro-Regular",
3011
- "fontSize": 14,
3012
- "letterSpacing": 0.42,
3013
- "lineHeight": 22,
2924
+ "fontSize": 12,
2925
+ "letterSpacing": 0.48,
2926
+ "lineHeight": 16,
3014
2927
  },
3015
2928
  Array [
3016
2929
  Object {
3017
2930
  "color": "#de350b",
3018
- "fontSize": 12,
3019
2931
  "marginLeft": 4,
3020
2932
  },
3021
2933
  undefined,
@@ -3023,10 +2935,8 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
3023
2935
  ]
3024
2936
  }
3025
2937
  testID="input-error-message"
3026
- themeFontSize="medium"
3027
2938
  themeFontWeight="regular"
3028
2939
  themeIntent="body"
3029
- themeTypeface="neutral"
3030
2940
  >
3031
2941
  must not exceed character limit
3032
2942
  </Text>
@@ -3143,24 +3053,22 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3143
3053
  Object {
3144
3054
  "color": "#001f23",
3145
3055
  "fontFamily": "BeVietnamPro-Regular",
3146
- "fontSize": 14,
3147
- "letterSpacing": 0.42,
3148
- "lineHeight": 22,
3056
+ "fontSize": 16,
3057
+ "letterSpacing": 0.48,
3058
+ "lineHeight": 24,
3149
3059
  },
3150
3060
  Array [
3151
3061
  Object {
3152
3062
  "color": "#de350b",
3153
- "fontSize": 16,
3154
3063
  },
3155
3064
  undefined,
3156
3065
  ],
3157
3066
  ]
3158
3067
  }
3159
- themeFontSize="medium"
3160
- themeFontWeight="regular"
3161
3068
  themeIntent="body"
3162
3069
  themeState="default"
3163
3070
  themeTypeface="neutral"
3071
+ themeVariant="regular"
3164
3072
  >
3165
3073
  *
3166
3074
  </Text>
@@ -3171,16 +3079,15 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3171
3079
  Object {
3172
3080
  "color": "#001f23",
3173
3081
  "fontFamily": "BeVietnamPro-Regular",
3174
- "fontSize": 14,
3175
- "letterSpacing": 0.42,
3176
- "lineHeight": 22,
3082
+ "fontSize": 16,
3083
+ "letterSpacing": 0.48,
3084
+ "lineHeight": 24,
3177
3085
  },
3178
3086
  Array [
3179
3087
  Object {
3180
3088
  "alignContent": "center",
3181
3089
  "alignItems": "center",
3182
3090
  "color": "#001f23",
3183
- "fontSize": 16,
3184
3091
  "marginTop": -2,
3185
3092
  "textAlignVertical": "center",
3186
3093
  },
@@ -3189,11 +3096,10 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3189
3096
  ]
3190
3097
  }
3191
3098
  testID="input-label"
3192
- themeFontSize="medium"
3193
- themeFontWeight="regular"
3194
3099
  themeIntent="body"
3195
3100
  themeState="default"
3196
3101
  themeTypeface="neutral"
3102
+ themeVariant="regular"
3197
3103
  >
3198
3104
  Amount (AUD)
3199
3105
  </Text>
@@ -3240,6 +3146,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3240
3146
  Object {
3241
3147
  "minHeight": 16,
3242
3148
  "paddingLeft": 16,
3149
+ "paddingTop": 2,
3243
3150
  },
3244
3151
  undefined,
3245
3152
  ]
@@ -3263,22 +3170,15 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3263
3170
  Object {
3264
3171
  "color": "#001f23",
3265
3172
  "fontFamily": "BeVietnamPro-Regular",
3266
- "fontSize": 14,
3267
- "letterSpacing": 0.42,
3268
- "lineHeight": 22,
3173
+ "fontSize": 12,
3174
+ "letterSpacing": 0.48,
3175
+ "lineHeight": 16,
3269
3176
  },
3270
- Array [
3271
- Object {
3272
- "fontSize": 12,
3273
- },
3274
- undefined,
3275
- ],
3177
+ undefined,
3276
3178
  ]
3277
3179
  }
3278
- themeFontSize="medium"
3279
3180
  themeFontWeight="regular"
3280
3181
  themeIntent="body"
3281
- themeTypeface="neutral"
3282
3182
  >
3283
3183
  This is helper text
3284
3184
  </Text>
@@ -3366,25 +3266,22 @@ exports[`TextInput readonly renders correctly 1`] = `
3366
3266
  Object {
3367
3267
  "color": "#001f23",
3368
3268
  "fontFamily": "BeVietnamPro-Regular",
3369
- "fontSize": 14,
3370
- "letterSpacing": 0.42,
3371
- "lineHeight": 22,
3269
+ "fontSize": 12,
3270
+ "letterSpacing": 0.48,
3271
+ "lineHeight": 16,
3372
3272
  },
3373
3273
  Array [
3374
3274
  Object {
3375
3275
  "color": "#808f91",
3376
- "fontSize": 12,
3377
3276
  "lineHeight": 12,
3378
3277
  },
3379
3278
  undefined,
3380
3279
  ],
3381
3280
  ]
3382
3281
  }
3383
- themeFontSize="medium"
3384
3282
  themeFontWeight="regular"
3385
3283
  themeIntent="body"
3386
3284
  themeState="readonly"
3387
- themeTypeface="neutral"
3388
3285
  >
3389
3286
  *
3390
3287
  </Text>
@@ -3395,14 +3292,13 @@ exports[`TextInput readonly renders correctly 1`] = `
3395
3292
  Object {
3396
3293
  "color": "#001f23",
3397
3294
  "fontFamily": "BeVietnamPro-Regular",
3398
- "fontSize": 14,
3399
- "letterSpacing": 0.42,
3400
- "lineHeight": 22,
3295
+ "fontSize": 12,
3296
+ "letterSpacing": 0.48,
3297
+ "lineHeight": 16,
3401
3298
  },
3402
3299
  Array [
3403
3300
  Object {
3404
3301
  "color": "#808f91",
3405
- "fontSize": 12,
3406
3302
  "lineHeight": 12,
3407
3303
  },
3408
3304
  Object {
@@ -3412,11 +3308,9 @@ exports[`TextInput readonly renders correctly 1`] = `
3412
3308
  ]
3413
3309
  }
3414
3310
  testID="input-label"
3415
- themeFontSize="medium"
3416
3311
  themeFontWeight="regular"
3417
3312
  themeIntent="body"
3418
3313
  themeState="readonly"
3419
- themeTypeface="neutral"
3420
3314
  >
3421
3315
  Amount (AUD)
3422
3316
  </Text>
@@ -3508,6 +3402,7 @@ exports[`TextInput readonly renders correctly 1`] = `
3508
3402
  Object {
3509
3403
  "minHeight": 16,
3510
3404
  "paddingLeft": 16,
3405
+ "paddingTop": 2,
3511
3406
  },
3512
3407
  undefined,
3513
3408
  ]
@@ -3607,14 +3502,13 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3607
3502
  Object {
3608
3503
  "color": "#001f23",
3609
3504
  "fontFamily": "BeVietnamPro-Regular",
3610
- "fontSize": 14,
3611
- "letterSpacing": 0.42,
3612
- "lineHeight": 22,
3505
+ "fontSize": 12,
3506
+ "letterSpacing": 0.48,
3507
+ "lineHeight": 16,
3613
3508
  },
3614
3509
  Array [
3615
3510
  Object {
3616
3511
  "color": "#001f23",
3617
- "fontSize": 12,
3618
3512
  "lineHeight": 12,
3619
3513
  },
3620
3514
  Object {
@@ -3624,11 +3518,9 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3624
3518
  ]
3625
3519
  }
3626
3520
  testID="input-label"
3627
- themeFontSize="medium"
3628
3521
  themeFontWeight="regular"
3629
3522
  themeIntent="body"
3630
3523
  themeState="filled"
3631
- themeTypeface="neutral"
3632
3524
  >
3633
3525
  Amount (AUD)
3634
3526
  </Text>
@@ -3690,6 +3582,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3690
3582
  Object {
3691
3583
  "minHeight": 16,
3692
3584
  "paddingLeft": 16,
3585
+ "paddingTop": 2,
3693
3586
  },
3694
3587
  undefined,
3695
3588
  ]
@@ -3817,24 +3710,22 @@ exports[`TextInput required renders correctly 1`] = `
3817
3710
  Object {
3818
3711
  "color": "#001f23",
3819
3712
  "fontFamily": "BeVietnamPro-Regular",
3820
- "fontSize": 14,
3821
- "letterSpacing": 0.42,
3822
- "lineHeight": 22,
3713
+ "fontSize": 16,
3714
+ "letterSpacing": 0.48,
3715
+ "lineHeight": 24,
3823
3716
  },
3824
3717
  Array [
3825
3718
  Object {
3826
3719
  "color": "#de350b",
3827
- "fontSize": 16,
3828
3720
  },
3829
3721
  undefined,
3830
3722
  ],
3831
3723
  ]
3832
3724
  }
3833
- themeFontSize="medium"
3834
- themeFontWeight="regular"
3835
3725
  themeIntent="body"
3836
3726
  themeState="default"
3837
3727
  themeTypeface="neutral"
3728
+ themeVariant="regular"
3838
3729
  >
3839
3730
  *
3840
3731
  </Text>
@@ -3845,16 +3736,15 @@ exports[`TextInput required renders correctly 1`] = `
3845
3736
  Object {
3846
3737
  "color": "#001f23",
3847
3738
  "fontFamily": "BeVietnamPro-Regular",
3848
- "fontSize": 14,
3849
- "letterSpacing": 0.42,
3850
- "lineHeight": 22,
3739
+ "fontSize": 16,
3740
+ "letterSpacing": 0.48,
3741
+ "lineHeight": 24,
3851
3742
  },
3852
3743
  Array [
3853
3744
  Object {
3854
3745
  "alignContent": "center",
3855
3746
  "alignItems": "center",
3856
3747
  "color": "#001f23",
3857
- "fontSize": 16,
3858
3748
  "marginTop": -2,
3859
3749
  "textAlignVertical": "center",
3860
3750
  },
@@ -3863,11 +3753,10 @@ exports[`TextInput required renders correctly 1`] = `
3863
3753
  ]
3864
3754
  }
3865
3755
  testID="input-label"
3866
- themeFontSize="medium"
3867
- themeFontWeight="regular"
3868
3756
  themeIntent="body"
3869
3757
  themeState="default"
3870
3758
  themeTypeface="neutral"
3759
+ themeVariant="regular"
3871
3760
  >
3872
3761
  Amount (AUD)
3873
3762
  </Text>
@@ -3929,6 +3818,7 @@ exports[`TextInput required renders correctly 1`] = `
3929
3818
  Object {
3930
3819
  "minHeight": 16,
3931
3820
  "paddingLeft": 16,
3821
+ "paddingTop": 2,
3932
3822
  },
3933
3823
  undefined,
3934
3824
  ]
@@ -4028,14 +3918,13 @@ exports[`TextInput variants renders textarea variant correctly 1`] = `
4028
3918
  Object {
4029
3919
  "color": "#001f23",
4030
3920
  "fontFamily": "BeVietnamPro-Regular",
4031
- "fontSize": 14,
4032
- "letterSpacing": 0.42,
4033
- "lineHeight": 22,
3921
+ "fontSize": 12,
3922
+ "letterSpacing": 0.48,
3923
+ "lineHeight": 16,
4034
3924
  },
4035
3925
  Array [
4036
3926
  Object {
4037
3927
  "color": "#001f23",
4038
- "fontSize": 12,
4039
3928
  "lineHeight": 12,
4040
3929
  },
4041
3930
  Object {
@@ -4045,11 +3934,9 @@ exports[`TextInput variants renders textarea variant correctly 1`] = `
4045
3934
  ]
4046
3935
  }
4047
3936
  testID="input-label"
4048
- themeFontSize="medium"
4049
3937
  themeFontWeight="regular"
4050
3938
  themeIntent="body"
4051
3939
  themeState="filled"
4052
- themeTypeface="neutral"
4053
3940
  >
4054
3941
  Amount (AUD)
4055
3942
  </Text>
@@ -4112,6 +3999,7 @@ exports[`TextInput variants renders textarea variant correctly 1`] = `
4112
3999
  Object {
4113
4000
  "minHeight": 16,
4114
4001
  "paddingLeft": 16,
4002
+ "paddingTop": 2,
4115
4003
  },
4116
4004
  undefined,
4117
4005
  ]