@hero-design/rn 8.23.0 → 8.24.0-alpha.1

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 (300) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/.turbo/turbo-build:types.log +2 -0
  3. package/.turbo/turbo-lint.log +146 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/.turbo/turbo-test.log +451 -0
  6. package/.turbo/turbo-type-check.log +1 -0
  7. package/es/index.js +289 -101
  8. package/lib/index.js +289 -101
  9. package/package.json +1 -1
  10. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +21 -9
  11. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +7 -3
  12. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +7 -3
  13. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +7 -3
  14. package/src/components/RichTextEditor/RichTextEditor.tsx +10 -7
  15. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +10 -8
  16. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +37 -16
  17. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +37 -16
  18. package/src/components/Tabs/ScrollableTabs.tsx +10 -149
  19. package/src/components/Tabs/ScrollableTabsHeader.tsx +214 -0
  20. package/src/components/Tabs/ScrollableTabsV2/SceneView.tsx +61 -0
  21. package/src/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.tsx +120 -0
  22. package/src/components/Tabs/ScrollableTabsV2/__tests__/SceneView.spec.tsx +76 -0
  23. package/src/components/Tabs/ScrollableTabsV2/__tests__/ScrollableTabsV2.spec.tsx +166 -0
  24. package/src/components/Tabs/ScrollableTabsV2/__tests__/__snapshots__/SceneView.spec.tsx.snap +161 -0
  25. package/src/components/Tabs/ScrollableTabsV2/__tests__/__snapshots__/ScrollableTabsV2.spec.tsx.snap +2497 -0
  26. package/src/components/Tabs/ScrollableTabsV2/index.tsx +5 -0
  27. package/src/components/Tabs/__tests__/ScrollableTabsHeader.spec.tsx +80 -0
  28. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +587 -0
  29. package/src/components/Tabs/index.tsx +2 -0
  30. package/src/components/TextInput/StyledTextInput.tsx +40 -29
  31. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +48 -57
  32. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +84 -58
  33. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +326 -74
  34. package/src/components/TextInput/__tests__/index.spec.tsx +16 -4
  35. package/src/components/TextInput/index.tsx +25 -15
  36. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +14 -6
  37. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +14 -6
  38. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +8 -3
  39. package/src/theme/components/textInput.ts +10 -4
  40. package/testUtils/setup.tsx +6 -0
  41. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  42. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  43. package/types/components/Accordion/index.d.ts +0 -0
  44. package/types/components/Alert/StyledAlert.d.ts +0 -0
  45. package/types/components/Alert/index.d.ts +0 -0
  46. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  47. package/types/components/Attachment/index.d.ts +0 -0
  48. package/types/components/Avatar/Avatar.d.ts +0 -0
  49. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  50. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  51. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  52. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  53. package/types/components/Avatar/index.d.ts +0 -0
  54. package/types/components/Badge/Status.d.ts +0 -0
  55. package/types/components/Badge/StyledBadge.d.ts +0 -0
  56. package/types/components/Badge/index.d.ts +0 -0
  57. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  58. package/types/components/BottomNavigation/index.d.ts +0 -0
  59. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  60. package/types/components/BottomSheet/Footer.d.ts +0 -0
  61. package/types/components/BottomSheet/Header.d.ts +0 -0
  62. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  63. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  64. package/types/components/BottomSheet/index.d.ts +0 -0
  65. package/types/components/Box/StyledBox.d.ts +0 -0
  66. package/types/components/Box/config.d.ts +0 -0
  67. package/types/components/Box/index.d.ts +0 -0
  68. package/types/components/Box/types.d.ts +0 -0
  69. package/types/components/Button/Button.d.ts +0 -0
  70. package/types/components/Button/IconButton.d.ts +0 -0
  71. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  72. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  73. package/types/components/Button/StyledButton.d.ts +0 -0
  74. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  75. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  76. package/types/components/Button/index.d.ts +0 -0
  77. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  78. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  79. package/types/components/Calendar/helpers.d.ts +0 -0
  80. package/types/components/Calendar/index.d.ts +0 -0
  81. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  82. package/types/components/Card/DataCard/index.d.ts +0 -0
  83. package/types/components/Card/StyledCard.d.ts +0 -0
  84. package/types/components/Card/index.d.ts +0 -0
  85. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  86. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  87. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  88. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  89. package/types/components/Carousel/contants.d.ts +0 -0
  90. package/types/components/Carousel/index.d.ts +0 -0
  91. package/types/components/Carousel/types.d.ts +0 -0
  92. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  93. package/types/components/Checkbox/index.d.ts +0 -0
  94. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  95. package/types/components/Collapse/index.d.ts +0 -0
  96. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  97. package/types/components/ContentNavigator/index.d.ts +0 -0
  98. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  99. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  100. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  101. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  102. package/types/components/DatePicker/index.d.ts +0 -0
  103. package/types/components/DatePicker/types.d.ts +0 -0
  104. package/types/components/Divider/StyledDivider.d.ts +0 -0
  105. package/types/components/Divider/index.d.ts +0 -0
  106. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  107. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  108. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  109. package/types/components/Drawer/index.d.ts +0 -0
  110. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  111. package/types/components/Empty/index.d.ts +0 -0
  112. package/types/components/Error/StyledError.d.ts +0 -0
  113. package/types/components/Error/index.d.ts +0 -0
  114. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  115. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  116. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  117. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  118. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  119. package/types/components/FAB/FAB.d.ts +0 -0
  120. package/types/components/FAB/StyledFAB.d.ts +0 -0
  121. package/types/components/FAB/index.d.ts +0 -0
  122. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  123. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  124. package/types/components/Icon/IconList.d.ts +0 -0
  125. package/types/components/Icon/index.d.ts +0 -0
  126. package/types/components/Icon/utils.d.ts +0 -0
  127. package/types/components/Image/index.d.ts +0 -0
  128. package/types/components/List/BasicListItem.d.ts +0 -0
  129. package/types/components/List/ListItem.d.ts +0 -0
  130. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  131. package/types/components/List/StyledListItem.d.ts +0 -0
  132. package/types/components/List/index.d.ts +0 -0
  133. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  134. package/types/components/PageControl/index.d.ts +0 -0
  135. package/types/components/PinInput/PinCell.d.ts +0 -0
  136. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  137. package/types/components/PinInput/index.d.ts +0 -0
  138. package/types/components/Progress/ProgressBar.d.ts +0 -0
  139. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  140. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  141. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  142. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  143. package/types/components/Progress/constants.d.ts +0 -0
  144. package/types/components/Progress/index.d.ts +0 -0
  145. package/types/components/Progress/types.d.ts +0 -0
  146. package/types/components/Radio/Radio.d.ts +0 -0
  147. package/types/components/Radio/RadioGroup.d.ts +0 -0
  148. package/types/components/Radio/StyledRadio.d.ts +0 -0
  149. package/types/components/Radio/index.d.ts +0 -0
  150. package/types/components/Radio/types.d.ts +0 -0
  151. package/types/components/RefreshControl/index.d.ts +0 -0
  152. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  153. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  154. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  155. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  156. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  157. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  158. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  159. package/types/components/RichTextEditor/constants.d.ts +0 -0
  160. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  161. package/types/components/RichTextEditor/index.d.ts +0 -0
  162. package/types/components/RichTextEditor/types.d.ts +0 -0
  163. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  164. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  165. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  166. package/types/components/SectionHeading/index.d.ts +0 -0
  167. package/types/components/Select/BaseOptionList.d.ts +0 -0
  168. package/types/components/Select/Footer.d.ts +0 -0
  169. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  170. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  171. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  172. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  173. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  174. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  175. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  176. package/types/components/Select/StyledSelect.d.ts +0 -0
  177. package/types/components/Select/helpers.d.ts +0 -0
  178. package/types/components/Select/index.d.ts +0 -0
  179. package/types/components/Select/types.d.ts +0 -0
  180. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  181. package/types/components/Skeleton/index.d.ts +0 -0
  182. package/types/components/Slider/index.d.ts +0 -0
  183. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  184. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  185. package/types/components/Spinner/index.d.ts +0 -0
  186. package/types/components/Success/StyledSuccess.d.ts +0 -0
  187. package/types/components/Success/index.d.ts +0 -0
  188. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  189. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  190. package/types/components/Swipeable/index.d.ts +0 -0
  191. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  192. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  193. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  194. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  195. package/types/components/Switch/index.d.ts +0 -0
  196. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  197. package/types/components/Tabs/SceneView.d.ts +9 -0
  198. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  199. package/types/components/Tabs/ScrollableTabsHeader.d.ts +35 -0
  200. package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +10 -0
  201. package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +9 -0
  202. package/types/components/Tabs/ScrollableTabsV2/index.d.ts +4 -0
  203. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  204. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  205. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  206. package/types/components/Tabs/index.d.ts +3 -0
  207. package/types/components/Tabs/utils.d.ts +0 -0
  208. package/types/components/Tag/StyledTag.d.ts +0 -0
  209. package/types/components/Tag/index.d.ts +0 -0
  210. package/types/components/TextInput/StyledTextInput.d.ts +12 -7
  211. package/types/components/TextInput/index.d.ts +8 -4
  212. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  213. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  214. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  215. package/types/components/TimePicker/index.d.ts +0 -0
  216. package/types/components/TimePicker/types.d.ts +0 -0
  217. package/types/components/Toast/StyledToast.d.ts +0 -0
  218. package/types/components/Toast/Toast.d.ts +0 -0
  219. package/types/components/Toast/ToastContainer.d.ts +0 -0
  220. package/types/components/Toast/ToastContext.d.ts +0 -0
  221. package/types/components/Toast/ToastProvider.d.ts +0 -0
  222. package/types/components/Toast/index.d.ts +0 -0
  223. package/types/components/Toast/types.d.ts +0 -0
  224. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  225. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  226. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  227. package/types/components/Toolbar/index.d.ts +0 -0
  228. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  229. package/types/components/Typography/Text/index.d.ts +0 -0
  230. package/types/components/Typography/index.d.ts +0 -0
  231. package/types/index.d.ts +0 -0
  232. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  233. package/types/theme/ThemeProvider.d.ts +0 -0
  234. package/types/theme/ThemeSwitcher.d.ts +0 -0
  235. package/types/theme/components/accordion.d.ts +0 -0
  236. package/types/theme/components/alert.d.ts +0 -0
  237. package/types/theme/components/attachment.d.ts +0 -0
  238. package/types/theme/components/avatar.d.ts +0 -0
  239. package/types/theme/components/badge.d.ts +0 -0
  240. package/types/theme/components/bottomNavigation.d.ts +0 -0
  241. package/types/theme/components/bottomSheet.d.ts +0 -0
  242. package/types/theme/components/button.d.ts +0 -0
  243. package/types/theme/components/calendar.d.ts +0 -0
  244. package/types/theme/components/card.d.ts +0 -0
  245. package/types/theme/components/cardCarousel.d.ts +0 -0
  246. package/types/theme/components/carousel.d.ts +0 -0
  247. package/types/theme/components/checkbox.d.ts +0 -0
  248. package/types/theme/components/contentNavigator.d.ts +0 -0
  249. package/types/theme/components/datePicker.d.ts +0 -0
  250. package/types/theme/components/divider.d.ts +0 -0
  251. package/types/theme/components/drawer.d.ts +0 -0
  252. package/types/theme/components/empty.d.ts +0 -0
  253. package/types/theme/components/error.d.ts +0 -0
  254. package/types/theme/components/fab.d.ts +0 -0
  255. package/types/theme/components/icon.d.ts +0 -0
  256. package/types/theme/components/image.d.ts +0 -0
  257. package/types/theme/components/list.d.ts +0 -0
  258. package/types/theme/components/pageControl.d.ts +0 -0
  259. package/types/theme/components/pinInput.d.ts +0 -0
  260. package/types/theme/components/progress.d.ts +0 -0
  261. package/types/theme/components/radio.d.ts +0 -0
  262. package/types/theme/components/refreshControl.d.ts +0 -0
  263. package/types/theme/components/richTextEditor.d.ts +0 -0
  264. package/types/theme/components/sectionHeading.d.ts +0 -0
  265. package/types/theme/components/select.d.ts +0 -0
  266. package/types/theme/components/skeleton.d.ts +0 -0
  267. package/types/theme/components/slider.d.ts +0 -0
  268. package/types/theme/components/spinner.d.ts +0 -0
  269. package/types/theme/components/success.d.ts +0 -0
  270. package/types/theme/components/swipeable.d.ts +0 -0
  271. package/types/theme/components/switch.d.ts +0 -0
  272. package/types/theme/components/tabs.d.ts +0 -0
  273. package/types/theme/components/tag.d.ts +0 -0
  274. package/types/theme/components/textInput.d.ts +5 -0
  275. package/types/theme/components/timePicker.d.ts +0 -0
  276. package/types/theme/components/toast.d.ts +0 -0
  277. package/types/theme/components/toolbar.d.ts +0 -0
  278. package/types/theme/components/typography.d.ts +0 -0
  279. package/types/theme/getTheme.d.ts +0 -0
  280. package/types/theme/global/borders.d.ts +0 -0
  281. package/types/theme/global/colors/eBens.d.ts +0 -0
  282. package/types/theme/global/colors/global.d.ts +0 -0
  283. package/types/theme/global/colors/globalDark.d.ts +0 -0
  284. package/types/theme/global/colors/jobs.d.ts +0 -0
  285. package/types/theme/global/colors/swag.d.ts +0 -0
  286. package/types/theme/global/colors/swagDark.d.ts +0 -0
  287. package/types/theme/global/colors/types.d.ts +0 -0
  288. package/types/theme/global/colors/wallet.d.ts +0 -0
  289. package/types/theme/global/colors/work.d.ts +0 -0
  290. package/types/theme/global/index.d.ts +0 -0
  291. package/types/theme/global/scale.d.ts +0 -0
  292. package/types/theme/global/sizes.d.ts +0 -0
  293. package/types/theme/global/space.d.ts +0 -0
  294. package/types/theme/global/typography.d.ts +0 -0
  295. package/types/theme/index.d.ts +0 -0
  296. package/types/types.d.ts +0 -0
  297. package/types/utils/functions.d.ts +0 -0
  298. package/types/utils/helpers.d.ts +0 -0
  299. package/types/utils/hooks.d.ts +0 -0
  300. package/types/utils/scale.d.ts +0 -0
@@ -50,7 +50,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
50
50
  }
51
51
  testID="text-input-border"
52
52
  themeFocused={false}
53
- themeVariant="filled"
53
+ themeState="filled"
54
54
  />
55
55
  <View
56
56
  pointerEvents="none"
@@ -94,8 +94,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
94
94
  themeFontSize="small"
95
95
  themeFontWeight="regular"
96
96
  themeIntent="body"
97
+ themeState="filled"
97
98
  themeTypeface="neutral"
98
- themeVariant="filled"
99
99
  >
100
100
  *
101
101
  </Text>
@@ -124,8 +124,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
124
124
  themeFontSize="small"
125
125
  themeFontWeight="regular"
126
126
  themeIntent="body"
127
+ themeState="filled"
127
128
  themeTypeface="neutral"
128
- themeVariant="filled"
129
129
  >
130
130
  Amount (AUD)
131
131
  </Text>
@@ -178,8 +178,11 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
178
178
  Object {
179
179
  "alignSelf": "stretch",
180
180
  "flexGrow": 2,
181
- "fontSize": 14,
181
+ "fontFamily": "BeVietnamPro-Regular",
182
+ "fontSize": 16,
183
+ "height": undefined,
182
184
  "marginHorizontal": 8,
185
+ "maxHeight": 144,
183
186
  "paddingVertical": 0,
184
187
  "textAlignVertical": "center",
185
188
  },
@@ -190,6 +193,7 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
190
193
  ]
191
194
  }
192
195
  testID="text-input"
196
+ themeVariant="text"
193
197
  value="2000"
194
198
  />
195
199
  </View>
@@ -270,8 +274,8 @@ exports[`TextInput backgroundColor renders correctly 1`] = `
270
274
  themeFontSize="small"
271
275
  themeFontWeight="regular"
272
276
  themeIntent="body"
277
+ themeState="filled"
273
278
  themeTypeface="neutral"
274
- themeVariant="filled"
275
279
  >
276
280
  4
277
281
  /
@@ -332,7 +336,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
332
336
  }
333
337
  testID="text-input-border"
334
338
  themeFocused={false}
335
- themeVariant="filled"
339
+ themeState="filled"
336
340
  />
337
341
  <View
338
342
  pointerEvents="none"
@@ -376,8 +380,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
376
380
  themeFontSize="small"
377
381
  themeFontWeight="regular"
378
382
  themeIntent="body"
383
+ themeState="filled"
379
384
  themeTypeface="neutral"
380
- themeVariant="filled"
381
385
  >
382
386
  *
383
387
  </Text>
@@ -406,8 +410,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
406
410
  themeFontSize="small"
407
411
  themeFontWeight="regular"
408
412
  themeIntent="body"
413
+ themeState="filled"
409
414
  themeTypeface="neutral"
410
- themeVariant="filled"
411
415
  >
412
416
  Amount (AUD)
413
417
  </Text>
@@ -460,8 +464,11 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
460
464
  Object {
461
465
  "alignSelf": "stretch",
462
466
  "flexGrow": 2,
463
- "fontSize": 14,
467
+ "fontFamily": "BeVietnamPro-Regular",
468
+ "fontSize": 16,
469
+ "height": undefined,
464
470
  "marginHorizontal": 8,
471
+ "maxHeight": 144,
465
472
  "paddingVertical": 0,
466
473
  "textAlignVertical": "center",
467
474
  },
@@ -472,6 +479,7 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
472
479
  ]
473
480
  }
474
481
  testID="text-input"
482
+ themeVariant="text"
475
483
  />
476
484
  </View>
477
485
  </View>
@@ -551,8 +559,8 @@ exports[`TextInput defaultValue TextInput is idle renders correctly 1`] = `
551
559
  themeFontSize="small"
552
560
  themeFontWeight="regular"
553
561
  themeIntent="body"
562
+ themeState="filled"
554
563
  themeTypeface="neutral"
555
- themeVariant="filled"
556
564
  >
557
565
  4
558
566
  /
@@ -613,7 +621,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
613
621
  }
614
622
  testID="text-input-border"
615
623
  themeFocused={false}
616
- themeVariant="filled"
624
+ themeState="filled"
617
625
  />
618
626
  <View
619
627
  pointerEvents="none"
@@ -657,8 +665,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
657
665
  themeFontSize="small"
658
666
  themeFontWeight="regular"
659
667
  themeIntent="body"
668
+ themeState="filled"
660
669
  themeTypeface="neutral"
661
- themeVariant="filled"
662
670
  >
663
671
  *
664
672
  </Text>
@@ -687,8 +695,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
687
695
  themeFontSize="small"
688
696
  themeFontWeight="regular"
689
697
  themeIntent="body"
698
+ themeState="filled"
690
699
  themeTypeface="neutral"
691
- themeVariant="filled"
692
700
  >
693
701
  Amount (AUD)
694
702
  </Text>
@@ -741,8 +749,11 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
741
749
  Object {
742
750
  "alignSelf": "stretch",
743
751
  "flexGrow": 2,
744
- "fontSize": 14,
752
+ "fontFamily": "BeVietnamPro-Regular",
753
+ "fontSize": 16,
754
+ "height": undefined,
745
755
  "marginHorizontal": 8,
756
+ "maxHeight": 144,
746
757
  "paddingVertical": 0,
747
758
  "textAlignVertical": "center",
748
759
  },
@@ -753,6 +764,7 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
753
764
  ]
754
765
  }
755
766
  testID="text-input"
767
+ themeVariant="text"
756
768
  value="2000"
757
769
  />
758
770
  </View>
@@ -833,8 +845,8 @@ exports[`TextInput defaultValue default Value and Value renders correctly with 2
833
845
  themeFontSize="small"
834
846
  themeFontWeight="regular"
835
847
  themeIntent="body"
848
+ themeState="filled"
836
849
  themeTypeface="neutral"
837
- themeVariant="filled"
838
850
  >
839
851
  4
840
852
  /
@@ -896,7 +908,7 @@ exports[`TextInput disabled renders correctly 1`] = `
896
908
  }
897
909
  testID="text-input-border"
898
910
  themeFocused={false}
899
- themeVariant="disabled"
911
+ themeState="disabled"
900
912
  />
901
913
  <View
902
914
  pointerEvents="none"
@@ -940,8 +952,8 @@ exports[`TextInput disabled renders correctly 1`] = `
940
952
  themeFontSize="small"
941
953
  themeFontWeight="regular"
942
954
  themeIntent="body"
955
+ themeState="disabled"
943
956
  themeTypeface="neutral"
944
- themeVariant="disabled"
945
957
  >
946
958
  *
947
959
  </Text>
@@ -970,8 +982,8 @@ exports[`TextInput disabled renders correctly 1`] = `
970
982
  themeFontSize="small"
971
983
  themeFontWeight="regular"
972
984
  themeIntent="body"
985
+ themeState="disabled"
973
986
  themeTypeface="neutral"
974
- themeVariant="disabled"
975
987
  >
976
988
  Amount (AUD)
977
989
  </Text>
@@ -1007,8 +1019,11 @@ exports[`TextInput disabled renders correctly 1`] = `
1007
1019
  Object {
1008
1020
  "alignSelf": "stretch",
1009
1021
  "flexGrow": 2,
1010
- "fontSize": 14,
1022
+ "fontFamily": "BeVietnamPro-Regular",
1023
+ "fontSize": 16,
1024
+ "height": undefined,
1011
1025
  "marginHorizontal": 8,
1026
+ "maxHeight": 144,
1012
1027
  "paddingVertical": 0,
1013
1028
  "textAlignVertical": "center",
1014
1029
  },
@@ -1019,6 +1034,7 @@ exports[`TextInput disabled renders correctly 1`] = `
1019
1034
  ]
1020
1035
  }
1021
1036
  testID="text-input"
1037
+ themeVariant="text"
1022
1038
  value="100"
1023
1039
  />
1024
1040
  </View>
@@ -1099,7 +1115,7 @@ exports[`TextInput error renders correctly 1`] = `
1099
1115
  }
1100
1116
  testID="text-input-border"
1101
1117
  themeFocused={false}
1102
- themeVariant="error"
1118
+ themeState="error"
1103
1119
  />
1104
1120
  <HeroIcon
1105
1121
  name="dollar-sign"
@@ -1147,6 +1163,7 @@ exports[`TextInput error renders correctly 1`] = `
1147
1163
  undefined,
1148
1164
  ]
1149
1165
  }
1166
+ themeVariant="text"
1150
1167
  >
1151
1168
  <Text
1152
1169
  allowFontScaling={false}
@@ -1162,7 +1179,7 @@ exports[`TextInput error renders correctly 1`] = `
1162
1179
  Array [
1163
1180
  Object {
1164
1181
  "color": "#de350b",
1165
- "fontSize": 14,
1182
+ "fontSize": 16,
1166
1183
  },
1167
1184
  undefined,
1168
1185
  ],
@@ -1171,8 +1188,8 @@ exports[`TextInput error renders correctly 1`] = `
1171
1188
  themeFontSize="medium"
1172
1189
  themeFontWeight="regular"
1173
1190
  themeIntent="body"
1191
+ themeState="error"
1174
1192
  themeTypeface="neutral"
1175
- themeVariant="error"
1176
1193
  >
1177
1194
  *
1178
1195
  </Text>
@@ -1192,7 +1209,7 @@ exports[`TextInput error renders correctly 1`] = `
1192
1209
  "alignContent": "center",
1193
1210
  "alignItems": "center",
1194
1211
  "color": "#001f23",
1195
- "fontSize": 14,
1212
+ "fontSize": 16,
1196
1213
  "marginTop": -2,
1197
1214
  "textAlignVertical": "center",
1198
1215
  },
@@ -1204,8 +1221,8 @@ exports[`TextInput error renders correctly 1`] = `
1204
1221
  themeFontSize="medium"
1205
1222
  themeFontWeight="regular"
1206
1223
  themeIntent="body"
1224
+ themeState="error"
1207
1225
  themeTypeface="neutral"
1208
- themeVariant="error"
1209
1226
  >
1210
1227
  Amount (AUD)
1211
1228
  </Text>
@@ -1227,8 +1244,11 @@ exports[`TextInput error renders correctly 1`] = `
1227
1244
  Object {
1228
1245
  "alignSelf": "stretch",
1229
1246
  "flexGrow": 2,
1230
- "fontSize": 14,
1247
+ "fontFamily": "BeVietnamPro-Regular",
1248
+ "fontSize": 16,
1249
+ "height": undefined,
1231
1250
  "marginHorizontal": 8,
1251
+ "maxHeight": 144,
1232
1252
  "paddingVertical": 0,
1233
1253
  "textAlignVertical": "center",
1234
1254
  },
@@ -1239,6 +1259,7 @@ exports[`TextInput error renders correctly 1`] = `
1239
1259
  ]
1240
1260
  }
1241
1261
  testID="text-input"
1262
+ themeVariant="text"
1242
1263
  />
1243
1264
  </View>
1244
1265
  </View>
@@ -1378,7 +1399,7 @@ exports[`TextInput filled renders correctly 1`] = `
1378
1399
  }
1379
1400
  testID="text-input-border"
1380
1401
  themeFocused={false}
1381
- themeVariant="filled"
1402
+ themeState="filled"
1382
1403
  />
1383
1404
  <View
1384
1405
  pointerEvents="none"
@@ -1425,8 +1446,8 @@ exports[`TextInput filled renders correctly 1`] = `
1425
1446
  themeFontSize="small"
1426
1447
  themeFontWeight="regular"
1427
1448
  themeIntent="body"
1449
+ themeState="filled"
1428
1450
  themeTypeface="neutral"
1429
- themeVariant="filled"
1430
1451
  >
1431
1452
  Amount (AUD)
1432
1453
  </Text>
@@ -1477,8 +1498,11 @@ exports[`TextInput filled renders correctly 1`] = `
1477
1498
  Object {
1478
1499
  "alignSelf": "stretch",
1479
1500
  "flexGrow": 2,
1480
- "fontSize": 14,
1501
+ "fontFamily": "BeVietnamPro-Regular",
1502
+ "fontSize": 16,
1503
+ "height": undefined,
1481
1504
  "marginHorizontal": 8,
1505
+ "maxHeight": 144,
1482
1506
  "paddingVertical": 0,
1483
1507
  "textAlignVertical": "center",
1484
1508
  },
@@ -1489,6 +1513,7 @@ exports[`TextInput filled renders correctly 1`] = `
1489
1513
  ]
1490
1514
  }
1491
1515
  testID="text-input"
1516
+ themeVariant="text"
1492
1517
  value="100"
1493
1518
  />
1494
1519
  </View>
@@ -1584,7 +1609,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1584
1609
  }
1585
1610
  testID="text-input-border"
1586
1611
  themeFocused={false}
1587
- themeVariant="default"
1612
+ themeState="default"
1588
1613
  />
1589
1614
  <HeroIcon
1590
1615
  name="dollar-sign"
@@ -1632,6 +1657,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1632
1657
  undefined,
1633
1658
  ]
1634
1659
  }
1660
+ themeVariant="text"
1635
1661
  >
1636
1662
  <Text
1637
1663
  allowFontScaling={false}
@@ -1647,7 +1673,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1647
1673
  Array [
1648
1674
  Object {
1649
1675
  "color": "#de350b",
1650
- "fontSize": 14,
1676
+ "fontSize": 16,
1651
1677
  },
1652
1678
  undefined,
1653
1679
  ],
@@ -1656,8 +1682,8 @@ exports[`TextInput helper text renders correctly 1`] = `
1656
1682
  themeFontSize="medium"
1657
1683
  themeFontWeight="regular"
1658
1684
  themeIntent="body"
1685
+ themeState="default"
1659
1686
  themeTypeface="neutral"
1660
- themeVariant="default"
1661
1687
  >
1662
1688
  *
1663
1689
  </Text>
@@ -1677,7 +1703,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1677
1703
  "alignContent": "center",
1678
1704
  "alignItems": "center",
1679
1705
  "color": "#001f23",
1680
- "fontSize": 14,
1706
+ "fontSize": 16,
1681
1707
  "marginTop": -2,
1682
1708
  "textAlignVertical": "center",
1683
1709
  },
@@ -1689,8 +1715,8 @@ exports[`TextInput helper text renders correctly 1`] = `
1689
1715
  themeFontSize="medium"
1690
1716
  themeFontWeight="regular"
1691
1717
  themeIntent="body"
1718
+ themeState="default"
1692
1719
  themeTypeface="neutral"
1693
- themeVariant="default"
1694
1720
  >
1695
1721
  Amount (AUD)
1696
1722
  </Text>
@@ -1712,8 +1738,11 @@ exports[`TextInput helper text renders correctly 1`] = `
1712
1738
  Object {
1713
1739
  "alignSelf": "stretch",
1714
1740
  "flexGrow": 2,
1715
- "fontSize": 14,
1741
+ "fontFamily": "BeVietnamPro-Regular",
1742
+ "fontSize": 16,
1743
+ "height": undefined,
1716
1744
  "marginHorizontal": 8,
1745
+ "maxHeight": 144,
1717
1746
  "paddingVertical": 0,
1718
1747
  "textAlignVertical": "center",
1719
1748
  },
@@ -1724,6 +1753,7 @@ exports[`TextInput helper text renders correctly 1`] = `
1724
1753
  ]
1725
1754
  }
1726
1755
  testID="text-input"
1756
+ themeVariant="text"
1727
1757
  />
1728
1758
  </View>
1729
1759
  </View>
@@ -1833,7 +1863,7 @@ exports[`TextInput idle renders correctly 1`] = `
1833
1863
  }
1834
1864
  testID="text-input-border"
1835
1865
  themeFocused={false}
1836
- themeVariant="default"
1866
+ themeState="default"
1837
1867
  />
1838
1868
  <HeroIcon
1839
1869
  name="dollar-sign"
@@ -1881,6 +1911,7 @@ exports[`TextInput idle renders correctly 1`] = `
1881
1911
  undefined,
1882
1912
  ]
1883
1913
  }
1914
+ themeVariant="text"
1884
1915
  >
1885
1916
  <Text
1886
1917
  allowFontScaling={false}
@@ -1898,7 +1929,7 @@ exports[`TextInput idle renders correctly 1`] = `
1898
1929
  "alignContent": "center",
1899
1930
  "alignItems": "center",
1900
1931
  "color": "#001f23",
1901
- "fontSize": 14,
1932
+ "fontSize": 16,
1902
1933
  "marginTop": -2,
1903
1934
  "textAlignVertical": "center",
1904
1935
  },
@@ -1910,8 +1941,8 @@ exports[`TextInput idle renders correctly 1`] = `
1910
1941
  themeFontSize="medium"
1911
1942
  themeFontWeight="regular"
1912
1943
  themeIntent="body"
1944
+ themeState="default"
1913
1945
  themeTypeface="neutral"
1914
- themeVariant="default"
1915
1946
  >
1916
1947
  Amount (AUD)
1917
1948
  </Text>
@@ -1933,8 +1964,11 @@ exports[`TextInput idle renders correctly 1`] = `
1933
1964
  Object {
1934
1965
  "alignSelf": "stretch",
1935
1966
  "flexGrow": 2,
1936
- "fontSize": 14,
1967
+ "fontFamily": "BeVietnamPro-Regular",
1968
+ "fontSize": 16,
1969
+ "height": undefined,
1937
1970
  "marginHorizontal": 8,
1971
+ "maxHeight": 144,
1938
1972
  "paddingVertical": 0,
1939
1973
  "textAlignVertical": "center",
1940
1974
  },
@@ -1945,6 +1979,7 @@ exports[`TextInput idle renders correctly 1`] = `
1945
1979
  ]
1946
1980
  }
1947
1981
  testID="text-input"
1982
+ themeVariant="text"
1948
1983
  />
1949
1984
  </View>
1950
1985
  <HeroIcon
@@ -2039,7 +2074,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2039
2074
  }
2040
2075
  testID="text-input-border"
2041
2076
  themeFocused={false}
2042
- themeVariant="default"
2077
+ themeState="default"
2043
2078
  />
2044
2079
  <HeroIcon
2045
2080
  name="eye-circle"
@@ -2087,6 +2122,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2087
2122
  undefined,
2088
2123
  ]
2089
2124
  }
2125
+ themeVariant="text"
2090
2126
  >
2091
2127
  <Text
2092
2128
  allowFontScaling={false}
@@ -2102,7 +2138,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2102
2138
  Array [
2103
2139
  Object {
2104
2140
  "color": "#de350b",
2105
- "fontSize": 14,
2141
+ "fontSize": 16,
2106
2142
  },
2107
2143
  undefined,
2108
2144
  ],
@@ -2111,8 +2147,8 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2111
2147
  themeFontSize="medium"
2112
2148
  themeFontWeight="regular"
2113
2149
  themeIntent="body"
2150
+ themeState="default"
2114
2151
  themeTypeface="neutral"
2115
- themeVariant="default"
2116
2152
  >
2117
2153
  *
2118
2154
  </Text>
@@ -2132,7 +2168,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2132
2168
  "alignContent": "center",
2133
2169
  "alignItems": "center",
2134
2170
  "color": "#001f23",
2135
- "fontSize": 14,
2171
+ "fontSize": 16,
2136
2172
  "marginTop": -2,
2137
2173
  "textAlignVertical": "center",
2138
2174
  },
@@ -2144,8 +2180,8 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2144
2180
  themeFontSize="medium"
2145
2181
  themeFontWeight="regular"
2146
2182
  themeIntent="body"
2183
+ themeState="default"
2147
2184
  themeTypeface="neutral"
2148
- themeVariant="default"
2149
2185
  >
2150
2186
  Amount (AUD)
2151
2187
  </Text>
@@ -2167,8 +2203,11 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2167
2203
  Object {
2168
2204
  "alignSelf": "stretch",
2169
2205
  "flexGrow": 2,
2170
- "fontSize": 14,
2206
+ "fontFamily": "BeVietnamPro-Regular",
2207
+ "fontSize": 16,
2208
+ "height": undefined,
2171
2209
  "marginHorizontal": 8,
2210
+ "maxHeight": 144,
2172
2211
  "paddingVertical": 0,
2173
2212
  "textAlignVertical": "center",
2174
2213
  },
@@ -2179,6 +2218,7 @@ exports[`TextInput idle with suffix and prefix are React Element renders correct
2179
2218
  ]
2180
2219
  }
2181
2220
  testID="text-input"
2221
+ themeVariant="text"
2182
2222
  />
2183
2223
  </View>
2184
2224
  <HeroIcon
@@ -2273,7 +2313,7 @@ exports[`TextInput loading renders correctly 1`] = `
2273
2313
  }
2274
2314
  testID="text-input-border"
2275
2315
  themeFocused={false}
2276
- themeVariant="readonly"
2316
+ themeState="readonly"
2277
2317
  />
2278
2318
  <View
2279
2319
  style={
@@ -2306,6 +2346,7 @@ exports[`TextInput loading renders correctly 1`] = `
2306
2346
  undefined,
2307
2347
  ]
2308
2348
  }
2349
+ themeVariant="text"
2309
2350
  />
2310
2351
  <TextInput
2311
2352
  accessibilityState={
@@ -2323,8 +2364,11 @@ exports[`TextInput loading renders correctly 1`] = `
2323
2364
  Object {
2324
2365
  "alignSelf": "stretch",
2325
2366
  "flexGrow": 2,
2326
- "fontSize": 14,
2367
+ "fontFamily": "BeVietnamPro-Regular",
2368
+ "fontSize": 16,
2369
+ "height": undefined,
2327
2370
  "marginHorizontal": 8,
2371
+ "maxHeight": 144,
2328
2372
  "paddingVertical": 0,
2329
2373
  "textAlignVertical": "center",
2330
2374
  },
@@ -2335,6 +2379,7 @@ exports[`TextInput loading renders correctly 1`] = `
2335
2379
  ]
2336
2380
  }
2337
2381
  testID="text-input"
2382
+ themeVariant="text"
2338
2383
  />
2339
2384
  </View>
2340
2385
  <View
@@ -2442,7 +2487,7 @@ exports[`TextInput max length renders correctly 1`] = `
2442
2487
  }
2443
2488
  testID="text-input-border"
2444
2489
  themeFocused={false}
2445
- themeVariant="error"
2490
+ themeState="error"
2446
2491
  />
2447
2492
  <View
2448
2493
  pointerEvents="none"
@@ -2486,8 +2531,8 @@ exports[`TextInput max length renders correctly 1`] = `
2486
2531
  themeFontSize="small"
2487
2532
  themeFontWeight="regular"
2488
2533
  themeIntent="body"
2534
+ themeState="error"
2489
2535
  themeTypeface="neutral"
2490
- themeVariant="error"
2491
2536
  >
2492
2537
  *
2493
2538
  </Text>
@@ -2516,8 +2561,8 @@ exports[`TextInput max length renders correctly 1`] = `
2516
2561
  themeFontSize="small"
2517
2562
  themeFontWeight="regular"
2518
2563
  themeIntent="body"
2564
+ themeState="error"
2519
2565
  themeTypeface="neutral"
2520
- themeVariant="error"
2521
2566
  >
2522
2567
  Shout out
2523
2568
  </Text>
@@ -2555,8 +2600,11 @@ exports[`TextInput max length renders correctly 1`] = `
2555
2600
  Object {
2556
2601
  "alignSelf": "stretch",
2557
2602
  "flexGrow": 2,
2558
- "fontSize": 14,
2603
+ "fontFamily": "BeVietnamPro-Regular",
2604
+ "fontSize": 16,
2605
+ "height": undefined,
2559
2606
  "marginHorizontal": 8,
2607
+ "maxHeight": 144,
2560
2608
  "paddingVertical": 0,
2561
2609
  "textAlignVertical": "center",
2562
2610
  },
@@ -2567,6 +2615,7 @@ exports[`TextInput max length renders correctly 1`] = `
2567
2615
  ]
2568
2616
  }
2569
2617
  testID="text-input"
2618
+ themeVariant="text"
2570
2619
  value="shout out Tung Van"
2571
2620
  />
2572
2621
  </View>
@@ -2680,8 +2729,8 @@ exports[`TextInput max length renders correctly 1`] = `
2680
2729
  themeFontSize="small"
2681
2730
  themeFontWeight="regular"
2682
2731
  themeIntent="body"
2732
+ themeState="error"
2683
2733
  themeTypeface="neutral"
2684
- themeVariant="error"
2685
2734
  >
2686
2735
  18
2687
2736
  /
@@ -2742,7 +2791,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2742
2791
  }
2743
2792
  testID="text-input-border"
2744
2793
  themeFocused={false}
2745
- themeVariant="error"
2794
+ themeState="error"
2746
2795
  />
2747
2796
  <View
2748
2797
  pointerEvents="none"
@@ -2786,8 +2835,8 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2786
2835
  themeFontSize="small"
2787
2836
  themeFontWeight="regular"
2788
2837
  themeIntent="body"
2838
+ themeState="error"
2789
2839
  themeTypeface="neutral"
2790
- themeVariant="error"
2791
2840
  >
2792
2841
  *
2793
2842
  </Text>
@@ -2816,8 +2865,8 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2816
2865
  themeFontSize="small"
2817
2866
  themeFontWeight="regular"
2818
2867
  themeIntent="body"
2868
+ themeState="error"
2819
2869
  themeTypeface="neutral"
2820
- themeVariant="error"
2821
2870
  >
2822
2871
  Shout out
2823
2872
  </Text>
@@ -2855,8 +2904,11 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2855
2904
  Object {
2856
2905
  "alignSelf": "stretch",
2857
2906
  "flexGrow": 2,
2858
- "fontSize": 14,
2907
+ "fontFamily": "BeVietnamPro-Regular",
2908
+ "fontSize": 16,
2909
+ "height": undefined,
2859
2910
  "marginHorizontal": 8,
2911
+ "maxHeight": 144,
2860
2912
  "paddingVertical": 0,
2861
2913
  "textAlignVertical": "center",
2862
2914
  },
@@ -2867,6 +2919,7 @@ exports[`TextInput max length renders correctly with hide character count 1`] =
2867
2919
  ]
2868
2920
  }
2869
2921
  testID="text-input"
2922
+ themeVariant="text"
2870
2923
  value="shout out Tung Van"
2871
2924
  />
2872
2925
  </View>
@@ -3007,7 +3060,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3007
3060
  }
3008
3061
  testID="text-input-border"
3009
3062
  themeFocused={false}
3010
- themeVariant="default"
3063
+ themeState="default"
3011
3064
  />
3012
3065
  <HeroIcon
3013
3066
  name="dollar-sign"
@@ -3055,6 +3108,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3055
3108
  undefined,
3056
3109
  ]
3057
3110
  }
3111
+ themeVariant="text"
3058
3112
  >
3059
3113
  <Text
3060
3114
  allowFontScaling={false}
@@ -3070,7 +3124,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3070
3124
  Array [
3071
3125
  Object {
3072
3126
  "color": "#de350b",
3073
- "fontSize": 14,
3127
+ "fontSize": 16,
3074
3128
  },
3075
3129
  undefined,
3076
3130
  ],
@@ -3079,8 +3133,8 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3079
3133
  themeFontSize="medium"
3080
3134
  themeFontWeight="regular"
3081
3135
  themeIntent="body"
3136
+ themeState="default"
3082
3137
  themeTypeface="neutral"
3083
- themeVariant="default"
3084
3138
  >
3085
3139
  *
3086
3140
  </Text>
@@ -3100,7 +3154,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3100
3154
  "alignContent": "center",
3101
3155
  "alignItems": "center",
3102
3156
  "color": "#001f23",
3103
- "fontSize": 14,
3157
+ "fontSize": 16,
3104
3158
  "marginTop": -2,
3105
3159
  "textAlignVertical": "center",
3106
3160
  },
@@ -3112,8 +3166,8 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3112
3166
  themeFontSize="medium"
3113
3167
  themeFontWeight="regular"
3114
3168
  themeIntent="body"
3169
+ themeState="default"
3115
3170
  themeTypeface="neutral"
3116
- themeVariant="default"
3117
3171
  >
3118
3172
  Amount (AUD)
3119
3173
  </Text>
@@ -3135,8 +3189,11 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3135
3189
  Object {
3136
3190
  "alignSelf": "stretch",
3137
3191
  "flexGrow": 2,
3138
- "fontSize": 14,
3192
+ "fontFamily": "BeVietnamPro-Regular",
3193
+ "fontSize": 16,
3194
+ "height": undefined,
3139
3195
  "marginHorizontal": 8,
3196
+ "maxHeight": 144,
3140
3197
  "paddingVertical": 0,
3141
3198
  "textAlignVertical": "center",
3142
3199
  },
@@ -3147,6 +3204,7 @@ exports[`TextInput placeholder TextInput is idle renders correctly 1`] = `
3147
3204
  ]
3148
3205
  }
3149
3206
  testID="text-input"
3207
+ themeVariant="text"
3150
3208
  />
3151
3209
  </View>
3152
3210
  </View>
@@ -3253,7 +3311,7 @@ exports[`TextInput readonly renders correctly 1`] = `
3253
3311
  }
3254
3312
  testID="text-input-border"
3255
3313
  themeFocused={false}
3256
- themeVariant="readonly"
3314
+ themeState="readonly"
3257
3315
  />
3258
3316
  <View
3259
3317
  pointerEvents="none"
@@ -3297,8 +3355,8 @@ exports[`TextInput readonly renders correctly 1`] = `
3297
3355
  themeFontSize="small"
3298
3356
  themeFontWeight="regular"
3299
3357
  themeIntent="body"
3358
+ themeState="readonly"
3300
3359
  themeTypeface="neutral"
3301
- themeVariant="readonly"
3302
3360
  >
3303
3361
  *
3304
3362
  </Text>
@@ -3327,8 +3385,8 @@ exports[`TextInput readonly renders correctly 1`] = `
3327
3385
  themeFontSize="small"
3328
3386
  themeFontWeight="regular"
3329
3387
  themeIntent="body"
3388
+ themeState="readonly"
3330
3389
  themeTypeface="neutral"
3331
- themeVariant="readonly"
3332
3390
  >
3333
3391
  Amount (AUD)
3334
3392
  </Text>
@@ -3379,8 +3437,11 @@ exports[`TextInput readonly renders correctly 1`] = `
3379
3437
  Object {
3380
3438
  "alignSelf": "stretch",
3381
3439
  "flexGrow": 2,
3382
- "fontSize": 14,
3440
+ "fontFamily": "BeVietnamPro-Regular",
3441
+ "fontSize": 16,
3442
+ "height": undefined,
3383
3443
  "marginHorizontal": 8,
3444
+ "maxHeight": 144,
3384
3445
  "paddingVertical": 0,
3385
3446
  "textAlignVertical": "center",
3386
3447
  },
@@ -3391,6 +3452,7 @@ exports[`TextInput readonly renders correctly 1`] = `
3391
3452
  ]
3392
3453
  }
3393
3454
  testID="text-input"
3455
+ themeVariant="text"
3394
3456
  value="100"
3395
3457
  />
3396
3458
  </View>
@@ -3486,7 +3548,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3486
3548
  }
3487
3549
  testID="text-input-border"
3488
3550
  themeFocused={false}
3489
- themeVariant="filled"
3551
+ themeState="filled"
3490
3552
  />
3491
3553
  <View
3492
3554
  pointerEvents="none"
@@ -3533,8 +3595,8 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3533
3595
  themeFontSize="small"
3534
3596
  themeFontWeight="regular"
3535
3597
  themeIntent="body"
3598
+ themeState="filled"
3536
3599
  themeTypeface="neutral"
3537
- themeVariant="filled"
3538
3600
  >
3539
3601
  Amount (AUD)
3540
3602
  </Text>
@@ -3570,8 +3632,11 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3570
3632
  Object {
3571
3633
  "alignSelf": "stretch",
3572
3634
  "flexGrow": 2,
3573
- "fontSize": 14,
3635
+ "fontFamily": "BeVietnamPro-Regular",
3636
+ "fontSize": 16,
3637
+ "height": undefined,
3574
3638
  "marginHorizontal": 8,
3639
+ "maxHeight": 144,
3575
3640
  "paddingVertical": 0,
3576
3641
  "textAlignVertical": "center",
3577
3642
  },
@@ -3582,6 +3647,7 @@ exports[`TextInput ref ref methods work correctly 1`] = `
3582
3647
  ]
3583
3648
  }
3584
3649
  testID="text-input"
3650
+ themeVariant="text"
3585
3651
  value="2000"
3586
3652
  />
3587
3653
  </View>
@@ -3662,7 +3728,7 @@ exports[`TextInput required renders correctly 1`] = `
3662
3728
  }
3663
3729
  testID="text-input-border"
3664
3730
  themeFocused={false}
3665
- themeVariant="default"
3731
+ themeState="default"
3666
3732
  />
3667
3733
  <HeroIcon
3668
3734
  name="dollar-sign"
@@ -3710,6 +3776,7 @@ exports[`TextInput required renders correctly 1`] = `
3710
3776
  undefined,
3711
3777
  ]
3712
3778
  }
3779
+ themeVariant="text"
3713
3780
  >
3714
3781
  <Text
3715
3782
  allowFontScaling={false}
@@ -3725,7 +3792,7 @@ exports[`TextInput required renders correctly 1`] = `
3725
3792
  Array [
3726
3793
  Object {
3727
3794
  "color": "#de350b",
3728
- "fontSize": 14,
3795
+ "fontSize": 16,
3729
3796
  },
3730
3797
  undefined,
3731
3798
  ],
@@ -3734,8 +3801,8 @@ exports[`TextInput required renders correctly 1`] = `
3734
3801
  themeFontSize="medium"
3735
3802
  themeFontWeight="regular"
3736
3803
  themeIntent="body"
3804
+ themeState="default"
3737
3805
  themeTypeface="neutral"
3738
- themeVariant="default"
3739
3806
  >
3740
3807
  *
3741
3808
  </Text>
@@ -3755,7 +3822,7 @@ exports[`TextInput required renders correctly 1`] = `
3755
3822
  "alignContent": "center",
3756
3823
  "alignItems": "center",
3757
3824
  "color": "#001f23",
3758
- "fontSize": 14,
3825
+ "fontSize": 16,
3759
3826
  "marginTop": -2,
3760
3827
  "textAlignVertical": "center",
3761
3828
  },
@@ -3767,8 +3834,8 @@ exports[`TextInput required renders correctly 1`] = `
3767
3834
  themeFontSize="medium"
3768
3835
  themeFontWeight="regular"
3769
3836
  themeIntent="body"
3837
+ themeState="default"
3770
3838
  themeTypeface="neutral"
3771
- themeVariant="default"
3772
3839
  >
3773
3840
  Amount (AUD)
3774
3841
  </Text>
@@ -3790,8 +3857,11 @@ exports[`TextInput required renders correctly 1`] = `
3790
3857
  Object {
3791
3858
  "alignSelf": "stretch",
3792
3859
  "flexGrow": 2,
3793
- "fontSize": 14,
3860
+ "fontFamily": "BeVietnamPro-Regular",
3861
+ "fontSize": 16,
3862
+ "height": undefined,
3794
3863
  "marginHorizontal": 8,
3864
+ "maxHeight": 144,
3795
3865
  "paddingVertical": 0,
3796
3866
  "textAlignVertical": "center",
3797
3867
  },
@@ -3802,6 +3872,7 @@ exports[`TextInput required renders correctly 1`] = `
3802
3872
  ]
3803
3873
  }
3804
3874
  testID="text-input"
3875
+ themeVariant="text"
3805
3876
  />
3806
3877
  </View>
3807
3878
  <HeroIcon
@@ -3845,3 +3916,184 @@ exports[`TextInput required renders correctly 1`] = `
3845
3916
  </View>
3846
3917
  </View>
3847
3918
  `;
3919
+
3920
+ exports[`TextInput variants renders textarea variant correctly 1`] = `
3921
+ <View
3922
+ pointerEvents="auto"
3923
+ style={
3924
+ Array [
3925
+ Object {
3926
+ "marginTop": 8,
3927
+ "width": "100%",
3928
+ },
3929
+ undefined,
3930
+ ]
3931
+ }
3932
+ >
3933
+ <View
3934
+ style={
3935
+ Array [
3936
+ Object {
3937
+ "alignItems": "center",
3938
+ "backgroundColor": "#ffffff",
3939
+ "borderRadius": 8,
3940
+ "flexDirection": "row",
3941
+ "padding": 16,
3942
+ },
3943
+ undefined,
3944
+ ]
3945
+ }
3946
+ >
3947
+ <View
3948
+ style={
3949
+ Array [
3950
+ Object {
3951
+ "borderColor": "#001f23",
3952
+ "borderRadius": 8,
3953
+ "borderWidth": 1,
3954
+ "bottom": 0,
3955
+ "left": 0,
3956
+ "position": "absolute",
3957
+ "right": 0,
3958
+ "top": 0,
3959
+ },
3960
+ Array [
3961
+ Object {
3962
+ "backgroundColor": "#ffffff",
3963
+ },
3964
+ undefined,
3965
+ ],
3966
+ ]
3967
+ }
3968
+ testID="text-input-border"
3969
+ themeFocused={false}
3970
+ themeState="filled"
3971
+ />
3972
+ <View
3973
+ pointerEvents="none"
3974
+ style={
3975
+ Array [
3976
+ Object {
3977
+ "backgroundColor": "#ffffff",
3978
+ "flexDirection": "row",
3979
+ "left": 16,
3980
+ "paddingHorizontal": 4,
3981
+ "position": "absolute",
3982
+ "top": -10,
3983
+ "zIndex": 1,
3984
+ },
3985
+ Object {
3986
+ "backgroundColor": "#ffffff",
3987
+ },
3988
+ ]
3989
+ }
3990
+ testID="label-container"
3991
+ >
3992
+ <Text
3993
+ allowFontScaling={false}
3994
+ style={
3995
+ Array [
3996
+ Object {
3997
+ "color": "#001f23",
3998
+ "fontFamily": "BeVietnamPro-Regular",
3999
+ "fontSize": 12,
4000
+ "letterSpacing": 0.36,
4001
+ "lineHeight": 20,
4002
+ },
4003
+ Array [
4004
+ Object {
4005
+ "color": "#001f23",
4006
+ },
4007
+ Object {
4008
+ "backgroundColor": "#ffffff",
4009
+ },
4010
+ ],
4011
+ ]
4012
+ }
4013
+ testID="input-label"
4014
+ themeFontSize="small"
4015
+ themeFontWeight="regular"
4016
+ themeIntent="body"
4017
+ themeState="filled"
4018
+ themeTypeface="neutral"
4019
+ >
4020
+ Amount (AUD)
4021
+ </Text>
4022
+ </View>
4023
+ <View
4024
+ style={
4025
+ Array [
4026
+ Object {
4027
+ "alignItems": "center",
4028
+ "alignSelf": "stretch",
4029
+ "flexDirection": "row",
4030
+ "flexGrow": 2,
4031
+ "flexShrink": 1,
4032
+ },
4033
+ undefined,
4034
+ ]
4035
+ }
4036
+ >
4037
+ <TextInput
4038
+ accessibilityState={
4039
+ Object {
4040
+ "disabled": false,
4041
+ }
4042
+ }
4043
+ allowFontScaling={false}
4044
+ editable={true}
4045
+ multiline={true}
4046
+ onBlur={[Function]}
4047
+ onChangeText={[Function]}
4048
+ onFocus={[Function]}
4049
+ placeholder=" "
4050
+ style={
4051
+ Array [
4052
+ Object {
4053
+ "alignSelf": "stretch",
4054
+ "flexGrow": 2,
4055
+ "fontFamily": "BeVietnamPro-Regular",
4056
+ "fontSize": 16,
4057
+ "height": 144,
4058
+ "marginHorizontal": 8,
4059
+ "maxHeight": 144,
4060
+ "paddingVertical": 0,
4061
+ "textAlignVertical": "top",
4062
+ },
4063
+ Object {
4064
+ "backgroundColor": "#ffffff",
4065
+ "color": "#001f23",
4066
+ },
4067
+ ]
4068
+ }
4069
+ testID="text-input"
4070
+ themeVariant="textarea"
4071
+ value="2000"
4072
+ />
4073
+ </View>
4074
+ </View>
4075
+ <View
4076
+ style={
4077
+ Array [
4078
+ Object {
4079
+ "minHeight": 16,
4080
+ "paddingLeft": 16,
4081
+ },
4082
+ undefined,
4083
+ ]
4084
+ }
4085
+ >
4086
+ <View
4087
+ style={
4088
+ Array [
4089
+ Object {
4090
+ "flexDirection": "row",
4091
+ "justifyContent": "space-between",
4092
+ },
4093
+ undefined,
4094
+ ]
4095
+ }
4096
+ />
4097
+ </View>
4098
+ </View>
4099
+ `;