@hero-design/rn 8.44.0-alpha.0 → 8.44.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 (275) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +30 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +2773 -2662
  5. package/jest-setup.ts +2 -0
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +2776 -2666
  8. package/package.json +23 -24
  9. package/rollup.config.js +0 -1
  10. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -384
  11. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  12. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +791 -605
  13. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -567
  14. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +172 -110
  15. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -70
  16. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -581
  17. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +158 -57
  18. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -153
  19. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  20. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  21. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -242
  22. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -183
  23. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  24. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
  25. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  27. package/src/components/Button/StyledButton.tsx +4 -0
  28. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -106
  29. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1675 -1125
  30. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +71 -26
  31. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1651 -665
  32. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -330
  33. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  34. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  35. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  36. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  37. package/src/components/Carousel/CardCarousel.tsx +10 -7
  38. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -406
  39. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +197 -70
  40. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  41. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1742 -1526
  42. package/src/components/Carousel/__tests__/index.spec.tsx +50 -3
  43. package/src/components/Carousel/index.tsx +16 -22
  44. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +404 -112
  45. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -334
  46. package/src/components/Chip/StyledChip.tsx +121 -0
  47. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  48. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  49. package/src/components/Chip/index.tsx +82 -0
  50. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  51. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  52. package/src/components/Collapse/index.tsx +1 -1
  53. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  54. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +424 -268
  55. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -466
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -160
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -152
  58. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -389
  59. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  60. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  61. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  62. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  63. package/src/components/Error/StyledError.tsx +2 -1
  64. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +390 -262
  65. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  66. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +860 -723
  67. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  68. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +199 -99
  69. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +293 -185
  70. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  71. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  72. package/src/components/Icon/IconList.ts +3 -0
  73. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  74. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  75. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -170
  76. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +760 -588
  77. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +272 -128
  78. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +477 -193
  79. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  80. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  81. package/src/components/Modal/index.tsx +178 -82
  82. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  83. package/src/components/PageControl/index.tsx +1 -0
  84. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  85. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  86. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  87. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  88. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  89. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  90. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  91. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -116
  92. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +257 -205
  93. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -600
  94. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  95. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  96. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  97. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +413 -266
  98. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -35
  99. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -297
  100. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  101. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  102. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -57
  103. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2387 -2151
  104. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +621 -28
  105. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  106. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -37
  107. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2321 -2085
  108. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +473 -23
  109. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  110. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  111. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  112. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  113. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  114. package/src/components/Success/StyledSuccess.tsx +2 -1
  115. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +388 -258
  116. package/src/components/Success/__tests__/index.spec.tsx +9 -6
  117. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -75
  118. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  119. package/src/components/Swipeable/index.tsx +3 -3
  120. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  121. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +146 -109
  122. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  123. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -68
  124. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  125. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  126. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2217 -1962
  127. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -455
  128. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  129. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1641 -1398
  130. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  131. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  132. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  133. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -310
  134. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -540
  135. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
  136. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  137. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
  138. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
  139. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  140. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  141. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  142. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  143. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  144. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  145. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  146. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  147. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  148. package/src/index.ts +2 -2
  149. package/src/testHelpers/renderWithTheme.tsx +2 -2
  150. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
  151. package/src/theme/components/button.ts +0 -1
  152. package/src/theme/components/chip.ts +47 -0
  153. package/src/theme/getTheme.ts +3 -0
  154. package/testUtils/setup.tsx +0 -18
  155. package/tsconfig.json +4 -1
  156. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  157. package/types/components/Accordion/index.d.ts +1 -1
  158. package/types/components/Attachment/index.d.ts +2 -1
  159. package/types/components/Avatar/Avatar.d.ts +2 -1
  160. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  161. package/types/components/Avatar/index.d.ts +3 -2
  162. package/types/components/Badge/StyledBadge.d.ts +0 -4
  163. package/types/components/BottomSheet/Footer.d.ts +2 -1
  164. package/types/components/BottomSheet/Header.d.ts +2 -1
  165. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  166. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  167. package/types/components/Box/index.d.ts +2 -1
  168. package/types/components/Button/IconButton.d.ts +2 -1
  169. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
  170. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  171. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  172. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  173. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  174. package/types/components/Calendar/index.d.ts +2 -1
  175. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  176. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  177. package/types/components/Carousel/index.d.ts +2 -2
  178. package/types/components/Checkbox/index.d.ts +2 -1
  179. package/types/components/Chip/StyledChip.d.ts +31 -0
  180. package/types/components/Chip/index.d.ts +27 -0
  181. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  182. package/types/components/Collapse/index.d.ts +2 -1
  183. package/types/components/ContentNavigator/index.d.ts +2 -1
  184. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  185. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  186. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  187. package/types/components/DatePicker/index.d.ts +2 -1
  188. package/types/components/Divider/index.d.ts +2 -1
  189. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  190. package/types/components/Error/StyledError.d.ts +3 -9
  191. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  192. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  193. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  194. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  195. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  196. package/types/components/Icon/IconList.d.ts +1 -1
  197. package/types/components/Icon/index.d.ts +3 -2
  198. package/types/components/Icon/utils.d.ts +1 -1
  199. package/types/components/Image/index.d.ts +1 -0
  200. package/types/components/Modal/index.d.ts +12 -8
  201. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  202. package/types/components/PageControl/index.d.ts +2 -1
  203. package/types/components/PinInput/PinCell.d.ts +2 -1
  204. package/types/components/Portal/PortalHost.d.ts +1 -1
  205. package/types/components/Portal/PortalProvider.d.ts +1 -1
  206. package/types/components/Portal/index.d.ts +2 -2
  207. package/types/components/Progress/ProgressBar.d.ts +1 -0
  208. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  209. package/types/components/Progress/index.d.ts +1 -0
  210. package/types/components/Rate/StyledRate.d.ts +0 -2
  211. package/types/components/Rate/index.d.ts +2 -1
  212. package/types/components/RefreshControl/index.d.ts +2 -1
  213. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  214. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  215. package/types/components/RichTextEditor/index.d.ts +2 -2
  216. package/types/components/Select/BaseOptionList.d.ts +1 -1
  217. package/types/components/Select/Footer.d.ts +2 -1
  218. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  219. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  220. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  221. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  222. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  223. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  224. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  225. package/types/components/Select/helpers.d.ts +1 -2
  226. package/types/components/Select/index.d.ts +2 -1
  227. package/types/components/Skeleton/index.d.ts +2 -1
  228. package/types/components/Slider/index.d.ts +2 -1
  229. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  230. package/types/components/Success/StyledSuccess.d.ts +3 -7
  231. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  232. package/types/components/Swipeable/index.d.ts +3 -3
  233. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  234. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  235. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  236. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  237. package/types/components/Tabs/SceneView.d.ts +1 -1
  238. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  239. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  240. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  241. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  242. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  243. package/types/components/Tabs/index.d.ts +2 -1
  244. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  245. package/types/components/TextInput/index.d.ts +1 -1
  246. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  247. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  248. package/types/components/TimePicker/index.d.ts +2 -1
  249. package/types/components/Toast/StyledToast.d.ts +0 -2
  250. package/types/components/Toast/Toast.d.ts +1 -0
  251. package/types/components/Toast/ToastProvider.d.ts +2 -1
  252. package/types/components/Toast/index.d.ts +1 -1
  253. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  254. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  255. package/types/components/Toolbar/index.d.ts +3 -2
  256. package/types/components/Typography/Body/index.d.ts +2 -1
  257. package/types/components/Typography/Caption/index.d.ts +2 -1
  258. package/types/components/Typography/Label/index.d.ts +2 -1
  259. package/types/components/Typography/Text/index.d.ts +2 -1
  260. package/types/components/Typography/Title/index.d.ts +2 -1
  261. package/types/index.d.ts +2 -2
  262. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  263. package/types/theme/ThemeSwitcher.d.ts +2 -2
  264. package/types/theme/components/button.d.ts +0 -1
  265. package/types/theme/components/chip.d.ts +40 -0
  266. package/types/theme/getTheme.d.ts +2 -0
  267. package/.turbo/turbo-publish:npm.log +0 -0
  268. package/src/components/Modal/ModalContentWrapper.tsx +0 -112
  269. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
  270. package/src/components/Modal/ModalPresenter/index.tsx +0 -9
  271. package/src/components/Modal/ModalProvider.tsx +0 -8
  272. package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
  273. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
  274. package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
  275. package/types/components/Modal/ModalProvider.d.ts +0 -5
@@ -2,1539 +2,2089 @@
2
2
 
3
3
  exports[`Button renders correctly 1`] = `
4
4
  <View
5
- accessibilityState={
5
+ style={
6
6
  {
7
- "disabled": false,
7
+ "flex": 1,
8
8
  }
9
9
  }
10
- accessible={true}
11
- focusable={true}
12
- onClick={[Function]}
13
- onResponderGrant={[Function]}
14
- onResponderMove={[Function]}
15
- onResponderRelease={[Function]}
16
- onResponderTerminate={[Function]}
17
- onResponderTerminationRequest={[Function]}
18
- onStartShouldSetResponder={[Function]}
19
- style={
20
- [
21
- {
22
- "alignItems": "center",
23
- "alignSelf": "stretch",
24
- "backgroundColor": "#401960",
25
- "borderRadius": 32,
26
- "flexDirection": "row",
27
- "justifyContent": "center",
28
- "padding": 16,
29
- },
30
- undefined,
31
- ]
32
- }
33
10
  >
34
- <Text
35
- allowFontScaling={false}
36
- disabled={false}
37
- ellipsizeMode="tail"
38
- numberOfLines={1}
11
+ <View
12
+ accessibilityState={
13
+ {
14
+ "disabled": false,
15
+ }
16
+ }
17
+ accessibilityValue={
18
+ {
19
+ "max": undefined,
20
+ "min": undefined,
21
+ "now": undefined,
22
+ "text": undefined,
23
+ }
24
+ }
25
+ accessible={true}
26
+ focusable={true}
27
+ onClick={[Function]}
28
+ onResponderGrant={[Function]}
29
+ onResponderMove={[Function]}
30
+ onResponderRelease={[Function]}
31
+ onResponderTerminate={[Function]}
32
+ onResponderTerminationRequest={[Function]}
33
+ onStartShouldSetResponder={[Function]}
39
34
  style={
40
35
  [
41
36
  {
42
- "color": "#001f23",
43
- "fontFamily": "BeVietnamPro-SemiBold",
44
- "fontSize": 18,
45
- "letterSpacing": 0.24,
46
- "lineHeight": 28,
37
+ "alignItems": "center",
38
+ "alignSelf": "stretch",
39
+ "backgroundColor": "#401960",
40
+ "borderRadius": 32,
41
+ "flexDirection": "row",
42
+ "height": 60,
43
+ "justifyContent": "center",
44
+ "padding": 16,
47
45
  },
46
+ undefined,
47
+ ]
48
+ }
49
+ >
50
+ <Text
51
+ allowFontScaling={false}
52
+ disabled={false}
53
+ ellipsizeMode="tail"
54
+ numberOfLines={1}
55
+ style={
48
56
  [
49
57
  {
50
- "color": "#ffffff",
51
- "flexShrink": 1,
52
- "textAlign": "center",
58
+ "color": "#001f23",
59
+ "fontFamily": "BeVietnamPro-SemiBold",
60
+ "fontSize": 18,
61
+ "letterSpacing": 0.24,
62
+ "lineHeight": 28,
53
63
  },
54
- undefined,
55
- ],
64
+ [
65
+ {
66
+ "color": "#ffffff",
67
+ "flexShrink": 1,
68
+ "textAlign": "center",
69
+ },
70
+ undefined,
71
+ ],
72
+ ]
73
+ }
74
+ themeButtonVariant="filled-primary"
75
+ themeIntent="body"
76
+ themeLevel="h5"
77
+ themeTypeface="neutral"
78
+ >
79
+ A button
80
+ </Text>
81
+ </View>
82
+ <View
83
+ pointerEvents="box-none"
84
+ position="bottom"
85
+ style={
86
+ [
87
+ {
88
+ "bottom": 0,
89
+ "elevation": 9999,
90
+ "flexDirection": "column-reverse",
91
+ "left": 0,
92
+ "paddingHorizontal": 24,
93
+ "paddingVertical": 16,
94
+ "position": "absolute",
95
+ "right": 0,
96
+ "top": 0,
97
+ },
98
+ undefined,
56
99
  ]
57
100
  }
58
- themeButtonVariant="filled-primary"
59
- themeIntent="body"
60
- themeLevel="h5"
61
- themeTypeface="neutral"
62
- >
63
- A button
64
- </Text>
101
+ />
65
102
  </View>
66
103
  `;
67
104
 
68
105
  exports[`Button renders correctly 2`] = `
69
106
  <View
70
- accessibilityState={
107
+ style={
71
108
  {
72
- "disabled": true,
109
+ "flex": 1,
73
110
  }
74
111
  }
75
- accessible={true}
76
- focusable={true}
77
- onClick={[Function]}
78
- onResponderGrant={[Function]}
79
- onResponderMove={[Function]}
80
- onResponderRelease={[Function]}
81
- onResponderTerminate={[Function]}
82
- onResponderTerminationRequest={[Function]}
83
- onStartShouldSetResponder={[Function]}
84
- style={
85
- [
86
- {
87
- "alignItems": "center",
88
- "alignSelf": "stretch",
89
- "backgroundColor": "#401960",
90
- "borderRadius": 32,
91
- "flexDirection": "row",
92
- "justifyContent": "center",
93
- "padding": 16,
94
- },
95
- undefined,
96
- ]
97
- }
98
112
  >
99
113
  <View
100
- collapsable={false}
114
+ accessibilityState={
115
+ {
116
+ "disabled": true,
117
+ }
118
+ }
119
+ accessibilityValue={
120
+ {
121
+ "max": undefined,
122
+ "min": undefined,
123
+ "now": undefined,
124
+ "text": undefined,
125
+ }
126
+ }
127
+ accessible={true}
128
+ focusable={true}
129
+ onClick={[Function]}
130
+ onResponderGrant={[Function]}
131
+ onResponderMove={[Function]}
132
+ onResponderRelease={[Function]}
133
+ onResponderTerminate={[Function]}
134
+ onResponderTerminationRequest={[Function]}
135
+ onStartShouldSetResponder={[Function]}
101
136
  style={
102
137
  [
103
138
  {
104
139
  "alignItems": "center",
140
+ "alignSelf": "stretch",
141
+ "backgroundColor": "#401960",
142
+ "borderRadius": 32,
105
143
  "flexDirection": "row",
144
+ "height": 60,
106
145
  "justifyContent": "center",
107
- "paddingVertical": 1,
146
+ "padding": 16,
108
147
  },
109
- {},
148
+ undefined,
110
149
  ]
111
150
  }
112
- testID="undefined-loading-indicator"
113
151
  >
114
152
  <View
115
153
  collapsable={false}
116
154
  style={
117
- {
118
- "transform": [
119
- {
120
- "scale": 1,
121
- },
122
- ],
123
- }
155
+ [
156
+ {
157
+ "alignItems": "center",
158
+ "flexDirection": "row",
159
+ "justifyContent": "center",
160
+ },
161
+ {},
162
+ ]
124
163
  }
164
+ testID="undefined-loading-indicator"
125
165
  >
126
166
  <View
127
167
  collapsable={false}
128
- size={12}
129
168
  style={
130
- [
131
- {
132
- "backgroundColor": "#ffffff",
133
- "borderRadius": 8,
134
- "height": 12,
135
- "marginBottom": 4,
136
- "marginHorizontal": 8,
137
- "marginTop": 4,
138
- "width": 12,
139
- },
140
- {},
141
- ]
142
- }
143
- themeVariant="filled-primary"
144
- />
145
- </View>
146
- <View
147
- collapsable={false}
148
- style={
149
- {
150
- "transform": [
151
- {
152
- "scale": 1,
153
- },
154
- ],
169
+ {
170
+ "transform": [
171
+ {
172
+ "scale": 1,
173
+ },
174
+ ],
175
+ }
155
176
  }
156
- }
157
- >
177
+ >
178
+ <View
179
+ collapsable={false}
180
+ size={12}
181
+ style={
182
+ [
183
+ {
184
+ "backgroundColor": "#ffffff",
185
+ "borderRadius": 8,
186
+ "height": 12,
187
+ "marginHorizontal": 8,
188
+ "width": 12,
189
+ },
190
+ {},
191
+ ]
192
+ }
193
+ themeVariant="filled-primary"
194
+ />
195
+ </View>
158
196
  <View
159
197
  collapsable={false}
160
- size={12}
161
198
  style={
162
- [
163
- {
164
- "backgroundColor": "#ffffff",
165
- "borderRadius": 8,
166
- "height": 12,
167
- "marginBottom": 4,
168
- "marginHorizontal": 8,
169
- "marginTop": 4,
170
- "width": 12,
171
- },
172
- {},
173
- ]
174
- }
175
- themeVariant="filled-primary"
176
- />
177
- </View>
178
- <View
179
- collapsable={false}
180
- style={
181
- {
182
- "transform": [
183
- {
184
- "scale": 1,
185
- },
186
- ],
199
+ {
200
+ "transform": [
201
+ {
202
+ "scale": 1,
203
+ },
204
+ ],
205
+ }
187
206
  }
188
- }
189
- >
207
+ >
208
+ <View
209
+ collapsable={false}
210
+ size={12}
211
+ style={
212
+ [
213
+ {
214
+ "backgroundColor": "#ffffff",
215
+ "borderRadius": 8,
216
+ "height": 12,
217
+ "marginHorizontal": 8,
218
+ "width": 12,
219
+ },
220
+ {},
221
+ ]
222
+ }
223
+ themeVariant="filled-primary"
224
+ />
225
+ </View>
190
226
  <View
191
227
  collapsable={false}
192
- size={12}
193
228
  style={
194
- [
195
- {
196
- "backgroundColor": "#ffffff",
197
- "borderRadius": 8,
198
- "height": 12,
199
- "marginBottom": 4,
200
- "marginHorizontal": 8,
201
- "marginTop": 4,
202
- "width": 12,
203
- },
204
- {},
205
- ]
229
+ {
230
+ "transform": [
231
+ {
232
+ "scale": 1,
233
+ },
234
+ ],
235
+ }
206
236
  }
207
- themeVariant="filled-primary"
208
- />
237
+ >
238
+ <View
239
+ collapsable={false}
240
+ size={12}
241
+ style={
242
+ [
243
+ {
244
+ "backgroundColor": "#ffffff",
245
+ "borderRadius": 8,
246
+ "height": 12,
247
+ "marginHorizontal": 8,
248
+ "width": 12,
249
+ },
250
+ {},
251
+ ]
252
+ }
253
+ themeVariant="filled-primary"
254
+ />
255
+ </View>
209
256
  </View>
210
257
  </View>
258
+ <View
259
+ pointerEvents="box-none"
260
+ position="bottom"
261
+ style={
262
+ [
263
+ {
264
+ "bottom": 0,
265
+ "elevation": 9999,
266
+ "flexDirection": "column-reverse",
267
+ "left": 0,
268
+ "paddingHorizontal": 24,
269
+ "paddingVertical": 16,
270
+ "position": "absolute",
271
+ "right": 0,
272
+ "top": 0,
273
+ },
274
+ undefined,
275
+ ]
276
+ }
277
+ />
211
278
  </View>
212
279
  `;
213
280
 
214
281
  exports[`Button renders correctly 3`] = `
215
282
  <View
216
- accessibilityState={
283
+ style={
217
284
  {
218
- "disabled": true,
285
+ "flex": 1,
219
286
  }
220
287
  }
221
- accessible={true}
222
- focusable={true}
223
- onClick={[Function]}
224
- onResponderGrant={[Function]}
225
- onResponderMove={[Function]}
226
- onResponderRelease={[Function]}
227
- onResponderTerminate={[Function]}
228
- onResponderTerminationRequest={[Function]}
229
- onStartShouldSetResponder={[Function]}
230
- style={
231
- [
232
- {
233
- "alignItems": "center",
234
- "alignSelf": "stretch",
235
- "backgroundColor": "#bfc1c5",
236
- "borderRadius": 32,
237
- "flexDirection": "row",
238
- "justifyContent": "center",
239
- "padding": 16,
240
- },
241
- undefined,
242
- ]
243
- }
244
288
  >
245
- <Text
246
- allowFontScaling={false}
247
- disabled={true}
248
- ellipsizeMode="tail"
249
- numberOfLines={1}
289
+ <View
290
+ accessibilityState={
291
+ {
292
+ "disabled": true,
293
+ }
294
+ }
295
+ accessibilityValue={
296
+ {
297
+ "max": undefined,
298
+ "min": undefined,
299
+ "now": undefined,
300
+ "text": undefined,
301
+ }
302
+ }
303
+ accessible={true}
304
+ focusable={true}
305
+ onClick={[Function]}
306
+ onResponderGrant={[Function]}
307
+ onResponderMove={[Function]}
308
+ onResponderRelease={[Function]}
309
+ onResponderTerminate={[Function]}
310
+ onResponderTerminationRequest={[Function]}
311
+ onStartShouldSetResponder={[Function]}
250
312
  style={
251
313
  [
252
314
  {
253
- "color": "#001f23",
254
- "fontFamily": "BeVietnamPro-SemiBold",
255
- "fontSize": 18,
256
- "letterSpacing": 0.24,
257
- "lineHeight": 28,
315
+ "alignItems": "center",
316
+ "alignSelf": "stretch",
317
+ "backgroundColor": "#bfc1c5",
318
+ "borderRadius": 32,
319
+ "flexDirection": "row",
320
+ "height": 60,
321
+ "justifyContent": "center",
322
+ "padding": 16,
258
323
  },
324
+ undefined,
325
+ ]
326
+ }
327
+ >
328
+ <Text
329
+ allowFontScaling={false}
330
+ disabled={true}
331
+ ellipsizeMode="tail"
332
+ numberOfLines={1}
333
+ style={
259
334
  [
260
335
  {
261
- "color": "#ffffff",
262
- "flexShrink": 1,
263
- "textAlign": "center",
336
+ "color": "#001f23",
337
+ "fontFamily": "BeVietnamPro-SemiBold",
338
+ "fontSize": 18,
339
+ "letterSpacing": 0.24,
340
+ "lineHeight": 28,
264
341
  },
265
- undefined,
266
- ],
342
+ [
343
+ {
344
+ "color": "#ffffff",
345
+ "flexShrink": 1,
346
+ "textAlign": "center",
347
+ },
348
+ undefined,
349
+ ],
350
+ ]
351
+ }
352
+ themeButtonVariant="filled-primary"
353
+ themeIntent="body"
354
+ themeLevel="h5"
355
+ themeTypeface="neutral"
356
+ >
357
+ A button
358
+ </Text>
359
+ </View>
360
+ <View
361
+ pointerEvents="box-none"
362
+ position="bottom"
363
+ style={
364
+ [
365
+ {
366
+ "bottom": 0,
367
+ "elevation": 9999,
368
+ "flexDirection": "column-reverse",
369
+ "left": 0,
370
+ "paddingHorizontal": 24,
371
+ "paddingVertical": 16,
372
+ "position": "absolute",
373
+ "right": 0,
374
+ "top": 0,
375
+ },
376
+ undefined,
267
377
  ]
268
378
  }
269
- themeButtonVariant="filled-primary"
270
- themeIntent="body"
271
- themeLevel="h5"
272
- themeTypeface="neutral"
273
- >
274
- A button
275
- </Text>
379
+ />
276
380
  </View>
277
381
  `;
278
382
 
279
383
  exports[`Button renders correctly 4`] = `
280
384
  <View
281
- accessibilityState={
385
+ style={
282
386
  {
283
- "disabled": false,
387
+ "flex": 1,
284
388
  }
285
389
  }
286
- accessible={true}
287
- focusable={true}
288
- onClick={[Function]}
289
- onResponderGrant={[Function]}
290
- onResponderMove={[Function]}
291
- onResponderRelease={[Function]}
292
- onResponderTerminate={[Function]}
293
- onResponderTerminationRequest={[Function]}
294
- onStartShouldSetResponder={[Function]}
295
- style={
296
- [
297
- {
298
- "alignItems": "center",
299
- "alignSelf": "stretch",
300
- "backgroundColor": "transparent",
301
- "borderColor": "#401960",
302
- "borderRadius": 32,
303
- "borderWidth": 2,
304
- "flexDirection": "row",
305
- "justifyContent": "center",
306
- "padding": 14,
307
- },
308
- undefined,
309
- ]
310
- }
311
390
  >
312
- <Text
313
- allowFontScaling={false}
314
- disabled={false}
315
- ellipsizeMode="tail"
316
- numberOfLines={1}
391
+ <View
392
+ accessibilityState={
393
+ {
394
+ "disabled": false,
395
+ }
396
+ }
397
+ accessibilityValue={
398
+ {
399
+ "max": undefined,
400
+ "min": undefined,
401
+ "now": undefined,
402
+ "text": undefined,
403
+ }
404
+ }
405
+ accessible={true}
406
+ focusable={true}
407
+ onClick={[Function]}
408
+ onResponderGrant={[Function]}
409
+ onResponderMove={[Function]}
410
+ onResponderRelease={[Function]}
411
+ onResponderTerminate={[Function]}
412
+ onResponderTerminationRequest={[Function]}
413
+ onStartShouldSetResponder={[Function]}
317
414
  style={
318
415
  [
319
416
  {
320
- "color": "#001f23",
321
- "fontFamily": "BeVietnamPro-SemiBold",
322
- "fontSize": 18,
323
- "letterSpacing": 0.24,
324
- "lineHeight": 28,
417
+ "alignItems": "center",
418
+ "alignSelf": "stretch",
419
+ "backgroundColor": "transparent",
420
+ "borderColor": "#401960",
421
+ "borderRadius": 32,
422
+ "borderWidth": 2,
423
+ "flexDirection": "row",
424
+ "height": 60,
425
+ "justifyContent": "center",
426
+ "padding": 14,
325
427
  },
428
+ undefined,
429
+ ]
430
+ }
431
+ >
432
+ <Text
433
+ allowFontScaling={false}
434
+ disabled={false}
435
+ ellipsizeMode="tail"
436
+ numberOfLines={1}
437
+ style={
326
438
  [
327
439
  {
328
- "color": "#401960",
329
- "flexShrink": 1,
330
- "textAlign": "center",
440
+ "color": "#001f23",
441
+ "fontFamily": "BeVietnamPro-SemiBold",
442
+ "fontSize": 18,
443
+ "letterSpacing": 0.24,
444
+ "lineHeight": 28,
331
445
  },
332
- undefined,
333
- ],
446
+ [
447
+ {
448
+ "color": "#401960",
449
+ "flexShrink": 1,
450
+ "textAlign": "center",
451
+ },
452
+ undefined,
453
+ ],
454
+ ]
455
+ }
456
+ themeButtonVariant="outlined-primary"
457
+ themeIntent="body"
458
+ themeLevel="h5"
459
+ themeTypeface="neutral"
460
+ >
461
+ A button
462
+ </Text>
463
+ </View>
464
+ <View
465
+ pointerEvents="box-none"
466
+ position="bottom"
467
+ style={
468
+ [
469
+ {
470
+ "bottom": 0,
471
+ "elevation": 9999,
472
+ "flexDirection": "column-reverse",
473
+ "left": 0,
474
+ "paddingHorizontal": 24,
475
+ "paddingVertical": 16,
476
+ "position": "absolute",
477
+ "right": 0,
478
+ "top": 0,
479
+ },
480
+ undefined,
334
481
  ]
335
482
  }
336
- themeButtonVariant="outlined-primary"
337
- themeIntent="body"
338
- themeLevel="h5"
339
- themeTypeface="neutral"
340
- >
341
- A button
342
- </Text>
483
+ />
343
484
  </View>
344
485
  `;
345
486
 
346
487
  exports[`Button renders correctly 5`] = `
347
488
  <View
348
- accessibilityState={
489
+ style={
349
490
  {
350
- "disabled": true,
491
+ "flex": 1,
351
492
  }
352
493
  }
353
- accessible={true}
354
- focusable={true}
355
- onClick={[Function]}
356
- onResponderGrant={[Function]}
357
- onResponderMove={[Function]}
358
- onResponderRelease={[Function]}
359
- onResponderTerminate={[Function]}
360
- onResponderTerminationRequest={[Function]}
361
- onStartShouldSetResponder={[Function]}
362
- style={
363
- [
364
- {
365
- "alignItems": "center",
366
- "alignSelf": "stretch",
367
- "backgroundColor": "transparent",
368
- "borderColor": "#401960",
369
- "borderRadius": 32,
370
- "borderWidth": 2,
371
- "flexDirection": "row",
372
- "justifyContent": "center",
373
- "padding": 14,
374
- },
375
- undefined,
376
- ]
377
- }
378
494
  >
379
495
  <View
380
- collapsable={false}
496
+ accessibilityState={
497
+ {
498
+ "disabled": true,
499
+ }
500
+ }
501
+ accessibilityValue={
502
+ {
503
+ "max": undefined,
504
+ "min": undefined,
505
+ "now": undefined,
506
+ "text": undefined,
507
+ }
508
+ }
509
+ accessible={true}
510
+ focusable={true}
511
+ onClick={[Function]}
512
+ onResponderGrant={[Function]}
513
+ onResponderMove={[Function]}
514
+ onResponderRelease={[Function]}
515
+ onResponderTerminate={[Function]}
516
+ onResponderTerminationRequest={[Function]}
517
+ onStartShouldSetResponder={[Function]}
381
518
  style={
382
519
  [
383
520
  {
384
521
  "alignItems": "center",
522
+ "alignSelf": "stretch",
523
+ "backgroundColor": "transparent",
524
+ "borderColor": "#401960",
525
+ "borderRadius": 32,
526
+ "borderWidth": 2,
385
527
  "flexDirection": "row",
528
+ "height": 60,
386
529
  "justifyContent": "center",
387
- "paddingVertical": 1,
530
+ "padding": 14,
388
531
  },
389
- {},
532
+ undefined,
390
533
  ]
391
534
  }
392
- testID="undefined-loading-indicator"
393
535
  >
394
536
  <View
395
537
  collapsable={false}
396
538
  style={
397
- {
398
- "transform": [
399
- {
400
- "scale": 1,
401
- },
402
- ],
403
- }
539
+ [
540
+ {
541
+ "alignItems": "center",
542
+ "flexDirection": "row",
543
+ "justifyContent": "center",
544
+ },
545
+ {},
546
+ ]
404
547
  }
548
+ testID="undefined-loading-indicator"
405
549
  >
406
550
  <View
407
551
  collapsable={false}
408
- size={12}
409
552
  style={
410
- [
411
- {
412
- "backgroundColor": "#401960",
413
- "borderRadius": 8,
414
- "height": 12,
415
- "marginBottom": 4,
416
- "marginHorizontal": 8,
417
- "marginTop": 4,
418
- "width": 12,
419
- },
420
- {},
421
- ]
422
- }
423
- themeVariant="outlined-primary"
424
- />
425
- </View>
426
- <View
427
- collapsable={false}
428
- style={
429
- {
430
- "transform": [
431
- {
432
- "scale": 1,
433
- },
434
- ],
553
+ {
554
+ "transform": [
555
+ {
556
+ "scale": 1,
557
+ },
558
+ ],
559
+ }
435
560
  }
436
- }
437
- >
561
+ >
562
+ <View
563
+ collapsable={false}
564
+ size={12}
565
+ style={
566
+ [
567
+ {
568
+ "backgroundColor": "#401960",
569
+ "borderRadius": 8,
570
+ "height": 12,
571
+ "marginHorizontal": 8,
572
+ "width": 12,
573
+ },
574
+ {},
575
+ ]
576
+ }
577
+ themeVariant="outlined-primary"
578
+ />
579
+ </View>
438
580
  <View
439
581
  collapsable={false}
440
- size={12}
441
582
  style={
442
- [
443
- {
444
- "backgroundColor": "#401960",
445
- "borderRadius": 8,
446
- "height": 12,
447
- "marginBottom": 4,
448
- "marginHorizontal": 8,
449
- "marginTop": 4,
450
- "width": 12,
451
- },
452
- {},
453
- ]
454
- }
455
- themeVariant="outlined-primary"
456
- />
457
- </View>
458
- <View
459
- collapsable={false}
460
- style={
461
- {
462
- "transform": [
463
- {
464
- "scale": 1,
465
- },
466
- ],
583
+ {
584
+ "transform": [
585
+ {
586
+ "scale": 1,
587
+ },
588
+ ],
589
+ }
467
590
  }
468
- }
469
- >
591
+ >
592
+ <View
593
+ collapsable={false}
594
+ size={12}
595
+ style={
596
+ [
597
+ {
598
+ "backgroundColor": "#401960",
599
+ "borderRadius": 8,
600
+ "height": 12,
601
+ "marginHorizontal": 8,
602
+ "width": 12,
603
+ },
604
+ {},
605
+ ]
606
+ }
607
+ themeVariant="outlined-primary"
608
+ />
609
+ </View>
470
610
  <View
471
611
  collapsable={false}
472
- size={12}
473
612
  style={
474
- [
475
- {
476
- "backgroundColor": "#401960",
477
- "borderRadius": 8,
478
- "height": 12,
479
- "marginBottom": 4,
480
- "marginHorizontal": 8,
481
- "marginTop": 4,
482
- "width": 12,
483
- },
484
- {},
485
- ]
613
+ {
614
+ "transform": [
615
+ {
616
+ "scale": 1,
617
+ },
618
+ ],
619
+ }
486
620
  }
487
- themeVariant="outlined-primary"
488
- />
621
+ >
622
+ <View
623
+ collapsable={false}
624
+ size={12}
625
+ style={
626
+ [
627
+ {
628
+ "backgroundColor": "#401960",
629
+ "borderRadius": 8,
630
+ "height": 12,
631
+ "marginHorizontal": 8,
632
+ "width": 12,
633
+ },
634
+ {},
635
+ ]
636
+ }
637
+ themeVariant="outlined-primary"
638
+ />
639
+ </View>
489
640
  </View>
490
641
  </View>
642
+ <View
643
+ pointerEvents="box-none"
644
+ position="bottom"
645
+ style={
646
+ [
647
+ {
648
+ "bottom": 0,
649
+ "elevation": 9999,
650
+ "flexDirection": "column-reverse",
651
+ "left": 0,
652
+ "paddingHorizontal": 24,
653
+ "paddingVertical": 16,
654
+ "position": "absolute",
655
+ "right": 0,
656
+ "top": 0,
657
+ },
658
+ undefined,
659
+ ]
660
+ }
661
+ />
491
662
  </View>
492
663
  `;
493
664
 
494
665
  exports[`Button renders correctly 6`] = `
495
666
  <View
496
- accessibilityState={
667
+ style={
497
668
  {
498
- "disabled": true,
669
+ "flex": 1,
499
670
  }
500
671
  }
501
- accessible={true}
502
- focusable={true}
503
- onClick={[Function]}
504
- onResponderGrant={[Function]}
505
- onResponderMove={[Function]}
506
- onResponderRelease={[Function]}
507
- onResponderTerminate={[Function]}
508
- onResponderTerminationRequest={[Function]}
509
- onStartShouldSetResponder={[Function]}
510
- style={
511
- [
512
- {
513
- "alignItems": "center",
514
- "alignSelf": "stretch",
515
- "backgroundColor": "transparent",
516
- "borderColor": "#bfc1c5",
517
- "borderRadius": 32,
518
- "borderWidth": 2,
519
- "flexDirection": "row",
520
- "justifyContent": "center",
521
- "padding": 14,
522
- },
523
- undefined,
524
- ]
525
- }
526
672
  >
527
- <Text
528
- allowFontScaling={false}
529
- disabled={true}
530
- ellipsizeMode="tail"
531
- numberOfLines={1}
673
+ <View
674
+ accessibilityState={
675
+ {
676
+ "disabled": true,
677
+ }
678
+ }
679
+ accessibilityValue={
680
+ {
681
+ "max": undefined,
682
+ "min": undefined,
683
+ "now": undefined,
684
+ "text": undefined,
685
+ }
686
+ }
687
+ accessible={true}
688
+ focusable={true}
689
+ onClick={[Function]}
690
+ onResponderGrant={[Function]}
691
+ onResponderMove={[Function]}
692
+ onResponderRelease={[Function]}
693
+ onResponderTerminate={[Function]}
694
+ onResponderTerminationRequest={[Function]}
695
+ onStartShouldSetResponder={[Function]}
532
696
  style={
533
697
  [
534
698
  {
535
- "color": "#001f23",
536
- "fontFamily": "BeVietnamPro-SemiBold",
537
- "fontSize": 18,
538
- "letterSpacing": 0.24,
539
- "lineHeight": 28,
699
+ "alignItems": "center",
700
+ "alignSelf": "stretch",
701
+ "backgroundColor": "transparent",
702
+ "borderColor": "#bfc1c5",
703
+ "borderRadius": 32,
704
+ "borderWidth": 2,
705
+ "flexDirection": "row",
706
+ "height": 60,
707
+ "justifyContent": "center",
708
+ "padding": 14,
540
709
  },
710
+ undefined,
711
+ ]
712
+ }
713
+ >
714
+ <Text
715
+ allowFontScaling={false}
716
+ disabled={true}
717
+ ellipsizeMode="tail"
718
+ numberOfLines={1}
719
+ style={
541
720
  [
542
721
  {
543
- "color": "#bfc1c5",
544
- "flexShrink": 1,
545
- "textAlign": "center",
722
+ "color": "#001f23",
723
+ "fontFamily": "BeVietnamPro-SemiBold",
724
+ "fontSize": 18,
725
+ "letterSpacing": 0.24,
726
+ "lineHeight": 28,
546
727
  },
547
- undefined,
548
- ],
728
+ [
729
+ {
730
+ "color": "#bfc1c5",
731
+ "flexShrink": 1,
732
+ "textAlign": "center",
733
+ },
734
+ undefined,
735
+ ],
736
+ ]
737
+ }
738
+ themeButtonVariant="outlined-primary"
739
+ themeIntent="body"
740
+ themeLevel="h5"
741
+ themeTypeface="neutral"
742
+ >
743
+ A button
744
+ </Text>
745
+ </View>
746
+ <View
747
+ pointerEvents="box-none"
748
+ position="bottom"
749
+ style={
750
+ [
751
+ {
752
+ "bottom": 0,
753
+ "elevation": 9999,
754
+ "flexDirection": "column-reverse",
755
+ "left": 0,
756
+ "paddingHorizontal": 24,
757
+ "paddingVertical": 16,
758
+ "position": "absolute",
759
+ "right": 0,
760
+ "top": 0,
761
+ },
762
+ undefined,
549
763
  ]
550
764
  }
551
- themeButtonVariant="outlined-primary"
552
- themeIntent="body"
553
- themeLevel="h5"
554
- themeTypeface="neutral"
555
- >
556
- A button
557
- </Text>
765
+ />
558
766
  </View>
559
767
  `;
560
768
 
561
769
  exports[`Button renders correctly 7`] = `
562
770
  <View
563
- accessibilityState={
771
+ style={
564
772
  {
565
- "disabled": false,
773
+ "flex": 1,
566
774
  }
567
775
  }
568
- accessible={true}
569
- focusable={true}
570
- onClick={[Function]}
571
- onResponderGrant={[Function]}
572
- onResponderMove={[Function]}
573
- onResponderRelease={[Function]}
574
- onResponderTerminate={[Function]}
575
- onResponderTerminationRequest={[Function]}
576
- onStartShouldSetResponder={[Function]}
577
- style={
578
- [
579
- {
580
- "alignItems": "center",
581
- "backgroundColor": "transparent",
582
- "borderRadius": 4,
583
- "borderWidth": 0,
584
- "flexDirection": "row",
585
- "justifyContent": "center",
586
- "padding": 12,
587
- },
588
- undefined,
589
- ]
590
- }
591
776
  >
592
- <Text
593
- allowFontScaling={false}
594
- disabled={false}
595
- ellipsizeMode="tail"
596
- numberOfLines={1}
777
+ <View
778
+ accessibilityState={
779
+ {
780
+ "disabled": false,
781
+ }
782
+ }
783
+ accessibilityValue={
784
+ {
785
+ "max": undefined,
786
+ "min": undefined,
787
+ "now": undefined,
788
+ "text": undefined,
789
+ }
790
+ }
791
+ accessible={true}
792
+ focusable={true}
793
+ onClick={[Function]}
794
+ onResponderGrant={[Function]}
795
+ onResponderMove={[Function]}
796
+ onResponderRelease={[Function]}
797
+ onResponderTerminate={[Function]}
798
+ onResponderTerminationRequest={[Function]}
799
+ onStartShouldSetResponder={[Function]}
597
800
  style={
598
801
  [
599
802
  {
600
- "color": "#001f23",
601
- "fontFamily": "BeVietnamPro-SemiBold",
602
- "fontSize": 16,
603
- "letterSpacing": 0.24,
604
- "lineHeight": 24,
803
+ "alignItems": "center",
804
+ "backgroundColor": "transparent",
805
+ "borderRadius": 4,
806
+ "borderWidth": 0,
807
+ "flexDirection": "row",
808
+ "height": 60,
809
+ "justifyContent": "center",
810
+ "padding": 12,
605
811
  },
812
+ undefined,
813
+ ]
814
+ }
815
+ >
816
+ <Text
817
+ allowFontScaling={false}
818
+ disabled={false}
819
+ ellipsizeMode="tail"
820
+ numberOfLines={1}
821
+ style={
606
822
  [
607
823
  {
608
- "color": "#401960",
609
- "flexShrink": 1,
610
- "lineHeight": 22,
611
- "textAlign": "center",
824
+ "color": "#001f23",
825
+ "fontFamily": "BeVietnamPro-SemiBold",
826
+ "fontSize": 16,
827
+ "letterSpacing": 0.24,
828
+ "lineHeight": 24,
612
829
  },
613
- undefined,
614
- ],
830
+ [
831
+ {
832
+ "color": "#401960",
833
+ "flexShrink": 1,
834
+ "lineHeight": 22,
835
+ "textAlign": "center",
836
+ },
837
+ undefined,
838
+ ],
839
+ ]
840
+ }
841
+ themeButtonVariant="text-primary"
842
+ themeIntent="body"
843
+ themeTypeface="neutral"
844
+ themeVariant="regular-bold"
845
+ >
846
+ A button
847
+ </Text>
848
+ </View>
849
+ <View
850
+ pointerEvents="box-none"
851
+ position="bottom"
852
+ style={
853
+ [
854
+ {
855
+ "bottom": 0,
856
+ "elevation": 9999,
857
+ "flexDirection": "column-reverse",
858
+ "left": 0,
859
+ "paddingHorizontal": 24,
860
+ "paddingVertical": 16,
861
+ "position": "absolute",
862
+ "right": 0,
863
+ "top": 0,
864
+ },
865
+ undefined,
615
866
  ]
616
867
  }
617
- themeButtonVariant="text-primary"
618
- themeIntent="body"
619
- themeTypeface="neutral"
620
- themeVariant="regular-bold"
621
- >
622
- A button
623
- </Text>
868
+ />
624
869
  </View>
625
870
  `;
626
871
 
627
872
  exports[`Button renders correctly 8`] = `
628
873
  <View
629
- accessibilityState={
874
+ style={
630
875
  {
631
- "disabled": true,
876
+ "flex": 1,
632
877
  }
633
878
  }
634
- accessible={true}
635
- focusable={true}
636
- onClick={[Function]}
637
- onResponderGrant={[Function]}
638
- onResponderMove={[Function]}
639
- onResponderRelease={[Function]}
640
- onResponderTerminate={[Function]}
641
- onResponderTerminationRequest={[Function]}
642
- onStartShouldSetResponder={[Function]}
643
- style={
644
- [
645
- {
646
- "alignItems": "center",
647
- "backgroundColor": "#ece8ef",
648
- "borderRadius": 4,
649
- "borderWidth": 0,
650
- "flexDirection": "row",
651
- "justifyContent": "center",
652
- "padding": 12,
653
- },
654
- undefined,
655
- ]
656
- }
657
879
  >
658
880
  <View
659
- collapsable={false}
881
+ accessibilityState={
882
+ {
883
+ "disabled": true,
884
+ }
885
+ }
886
+ accessibilityValue={
887
+ {
888
+ "max": undefined,
889
+ "min": undefined,
890
+ "now": undefined,
891
+ "text": undefined,
892
+ }
893
+ }
894
+ accessible={true}
895
+ focusable={true}
896
+ onClick={[Function]}
897
+ onResponderGrant={[Function]}
898
+ onResponderMove={[Function]}
899
+ onResponderRelease={[Function]}
900
+ onResponderTerminate={[Function]}
901
+ onResponderTerminationRequest={[Function]}
902
+ onStartShouldSetResponder={[Function]}
660
903
  style={
661
904
  [
662
905
  {
663
906
  "alignItems": "center",
907
+ "backgroundColor": "#ece8ef",
908
+ "borderRadius": 4,
909
+ "borderWidth": 0,
664
910
  "flexDirection": "row",
911
+ "height": 60,
665
912
  "justifyContent": "center",
666
- "paddingVertical": 1,
913
+ "padding": 12,
667
914
  },
668
- {},
915
+ undefined,
669
916
  ]
670
917
  }
671
- testID="undefined-loading-indicator"
672
918
  >
673
919
  <View
674
920
  collapsable={false}
675
921
  style={
676
- {
677
- "transform": [
678
- {
679
- "scale": 1,
680
- },
681
- ],
682
- }
922
+ [
923
+ {
924
+ "alignItems": "center",
925
+ "flexDirection": "row",
926
+ "justifyContent": "center",
927
+ },
928
+ {},
929
+ ]
683
930
  }
931
+ testID="undefined-loading-indicator"
684
932
  >
685
933
  <View
686
934
  collapsable={false}
687
- size={12}
688
935
  style={
689
- [
690
- {
691
- "backgroundColor": "#795e90",
692
- "borderRadius": 8,
693
- "height": 12,
694
- "marginBottom": 4,
695
- "marginHorizontal": 8,
696
- "marginTop": 4,
697
- "width": 12,
698
- },
699
- {},
700
- ]
701
- }
702
- themeVariant="text-primary"
703
- />
704
- </View>
705
- <View
706
- collapsable={false}
707
- style={
708
- {
709
- "transform": [
710
- {
711
- "scale": 1,
712
- },
713
- ],
936
+ {
937
+ "transform": [
938
+ {
939
+ "scale": 1,
940
+ },
941
+ ],
942
+ }
714
943
  }
715
- }
716
- >
944
+ >
945
+ <View
946
+ collapsable={false}
947
+ size={12}
948
+ style={
949
+ [
950
+ {
951
+ "backgroundColor": "#795e90",
952
+ "borderRadius": 8,
953
+ "height": 12,
954
+ "marginHorizontal": 8,
955
+ "width": 12,
956
+ },
957
+ {},
958
+ ]
959
+ }
960
+ themeVariant="text-primary"
961
+ />
962
+ </View>
717
963
  <View
718
964
  collapsable={false}
719
- size={12}
720
965
  style={
721
- [
722
- {
723
- "backgroundColor": "#795e90",
724
- "borderRadius": 8,
725
- "height": 12,
726
- "marginBottom": 4,
727
- "marginHorizontal": 8,
728
- "marginTop": 4,
729
- "width": 12,
730
- },
731
- {},
732
- ]
733
- }
734
- themeVariant="text-primary"
735
- />
736
- </View>
737
- <View
738
- collapsable={false}
739
- style={
740
- {
741
- "transform": [
742
- {
743
- "scale": 1,
744
- },
745
- ],
966
+ {
967
+ "transform": [
968
+ {
969
+ "scale": 1,
970
+ },
971
+ ],
972
+ }
746
973
  }
747
- }
748
- >
974
+ >
975
+ <View
976
+ collapsable={false}
977
+ size={12}
978
+ style={
979
+ [
980
+ {
981
+ "backgroundColor": "#795e90",
982
+ "borderRadius": 8,
983
+ "height": 12,
984
+ "marginHorizontal": 8,
985
+ "width": 12,
986
+ },
987
+ {},
988
+ ]
989
+ }
990
+ themeVariant="text-primary"
991
+ />
992
+ </View>
749
993
  <View
750
994
  collapsable={false}
751
- size={12}
752
995
  style={
753
- [
754
- {
755
- "backgroundColor": "#795e90",
756
- "borderRadius": 8,
757
- "height": 12,
758
- "marginBottom": 4,
759
- "marginHorizontal": 8,
760
- "marginTop": 4,
761
- "width": 12,
762
- },
763
- {},
764
- ]
996
+ {
997
+ "transform": [
998
+ {
999
+ "scale": 1,
1000
+ },
1001
+ ],
1002
+ }
765
1003
  }
766
- themeVariant="text-primary"
767
- />
1004
+ >
1005
+ <View
1006
+ collapsable={false}
1007
+ size={12}
1008
+ style={
1009
+ [
1010
+ {
1011
+ "backgroundColor": "#795e90",
1012
+ "borderRadius": 8,
1013
+ "height": 12,
1014
+ "marginHorizontal": 8,
1015
+ "width": 12,
1016
+ },
1017
+ {},
1018
+ ]
1019
+ }
1020
+ themeVariant="text-primary"
1021
+ />
1022
+ </View>
768
1023
  </View>
769
1024
  </View>
1025
+ <View
1026
+ pointerEvents="box-none"
1027
+ position="bottom"
1028
+ style={
1029
+ [
1030
+ {
1031
+ "bottom": 0,
1032
+ "elevation": 9999,
1033
+ "flexDirection": "column-reverse",
1034
+ "left": 0,
1035
+ "paddingHorizontal": 24,
1036
+ "paddingVertical": 16,
1037
+ "position": "absolute",
1038
+ "right": 0,
1039
+ "top": 0,
1040
+ },
1041
+ undefined,
1042
+ ]
1043
+ }
1044
+ />
770
1045
  </View>
771
1046
  `;
772
1047
 
773
1048
  exports[`Button renders correctly 9`] = `
774
1049
  <View
775
- accessibilityState={
1050
+ style={
776
1051
  {
777
- "disabled": true,
1052
+ "flex": 1,
778
1053
  }
779
1054
  }
780
- accessible={true}
781
- focusable={true}
782
- onClick={[Function]}
783
- onResponderGrant={[Function]}
784
- onResponderMove={[Function]}
785
- onResponderRelease={[Function]}
786
- onResponderTerminate={[Function]}
787
- onResponderTerminationRequest={[Function]}
788
- onStartShouldSetResponder={[Function]}
789
- style={
790
- [
791
- {
792
- "alignItems": "center",
793
- "backgroundColor": "transparent",
794
- "borderRadius": 4,
795
- "borderWidth": 0,
796
- "flexDirection": "row",
797
- "justifyContent": "center",
798
- "padding": 12,
799
- },
800
- undefined,
801
- ]
802
- }
803
1055
  >
804
- <Text
805
- allowFontScaling={false}
806
- disabled={true}
807
- ellipsizeMode="tail"
808
- numberOfLines={1}
1056
+ <View
1057
+ accessibilityState={
1058
+ {
1059
+ "disabled": true,
1060
+ }
1061
+ }
1062
+ accessibilityValue={
1063
+ {
1064
+ "max": undefined,
1065
+ "min": undefined,
1066
+ "now": undefined,
1067
+ "text": undefined,
1068
+ }
1069
+ }
1070
+ accessible={true}
1071
+ focusable={true}
1072
+ onClick={[Function]}
1073
+ onResponderGrant={[Function]}
1074
+ onResponderMove={[Function]}
1075
+ onResponderRelease={[Function]}
1076
+ onResponderTerminate={[Function]}
1077
+ onResponderTerminationRequest={[Function]}
1078
+ onStartShouldSetResponder={[Function]}
809
1079
  style={
810
1080
  [
811
1081
  {
812
- "color": "#001f23",
813
- "fontFamily": "BeVietnamPro-SemiBold",
814
- "fontSize": 16,
815
- "letterSpacing": 0.24,
816
- "lineHeight": 24,
1082
+ "alignItems": "center",
1083
+ "backgroundColor": "transparent",
1084
+ "borderRadius": 4,
1085
+ "borderWidth": 0,
1086
+ "flexDirection": "row",
1087
+ "height": 60,
1088
+ "justifyContent": "center",
1089
+ "padding": 12,
817
1090
  },
1091
+ undefined,
1092
+ ]
1093
+ }
1094
+ >
1095
+ <Text
1096
+ allowFontScaling={false}
1097
+ disabled={true}
1098
+ ellipsizeMode="tail"
1099
+ numberOfLines={1}
1100
+ style={
818
1101
  [
819
1102
  {
820
- "color": "#bfc1c5",
821
- "flexShrink": 1,
822
- "lineHeight": 22,
823
- "textAlign": "center",
1103
+ "color": "#001f23",
1104
+ "fontFamily": "BeVietnamPro-SemiBold",
1105
+ "fontSize": 16,
1106
+ "letterSpacing": 0.24,
1107
+ "lineHeight": 24,
824
1108
  },
825
- undefined,
826
- ],
1109
+ [
1110
+ {
1111
+ "color": "#bfc1c5",
1112
+ "flexShrink": 1,
1113
+ "lineHeight": 22,
1114
+ "textAlign": "center",
1115
+ },
1116
+ undefined,
1117
+ ],
1118
+ ]
1119
+ }
1120
+ themeButtonVariant="text-primary"
1121
+ themeIntent="body"
1122
+ themeTypeface="neutral"
1123
+ themeVariant="regular-bold"
1124
+ >
1125
+ A button
1126
+ </Text>
1127
+ </View>
1128
+ <View
1129
+ pointerEvents="box-none"
1130
+ position="bottom"
1131
+ style={
1132
+ [
1133
+ {
1134
+ "bottom": 0,
1135
+ "elevation": 9999,
1136
+ "flexDirection": "column-reverse",
1137
+ "left": 0,
1138
+ "paddingHorizontal": 24,
1139
+ "paddingVertical": 16,
1140
+ "position": "absolute",
1141
+ "right": 0,
1142
+ "top": 0,
1143
+ },
1144
+ undefined,
827
1145
  ]
828
1146
  }
829
- themeButtonVariant="text-primary"
830
- themeIntent="body"
831
- themeTypeface="neutral"
832
- themeVariant="regular-bold"
833
- >
834
- A button
835
- </Text>
1147
+ />
836
1148
  </View>
837
1149
  `;
838
1150
 
839
1151
  exports[`Button renders correctly 10`] = `
840
1152
  <View
841
- accessibilityState={
1153
+ style={
842
1154
  {
843
- "disabled": false,
1155
+ "flex": 1,
844
1156
  }
845
1157
  }
846
- accessible={true}
847
- focusable={true}
848
- onClick={[Function]}
849
- onResponderGrant={[Function]}
850
- onResponderMove={[Function]}
851
- onResponderRelease={[Function]}
852
- onResponderTerminate={[Function]}
853
- onResponderTerminationRequest={[Function]}
854
- onStartShouldSetResponder={[Function]}
855
- style={
856
- [
857
- {
858
- "alignItems": "center",
859
- "backgroundColor": "transparent",
860
- "borderRadius": 4,
861
- "borderWidth": 0,
862
- "flexDirection": "row",
863
- "justifyContent": "center",
864
- "padding": 12,
865
- },
866
- undefined,
867
- ]
868
- }
869
1158
  >
870
- <Text
871
- allowFontScaling={false}
872
- disabled={false}
873
- ellipsizeMode="tail"
874
- numberOfLines={1}
1159
+ <View
1160
+ accessibilityState={
1161
+ {
1162
+ "disabled": false,
1163
+ }
1164
+ }
1165
+ accessibilityValue={
1166
+ {
1167
+ "max": undefined,
1168
+ "min": undefined,
1169
+ "now": undefined,
1170
+ "text": undefined,
1171
+ }
1172
+ }
1173
+ accessible={true}
1174
+ focusable={true}
1175
+ onClick={[Function]}
1176
+ onResponderGrant={[Function]}
1177
+ onResponderMove={[Function]}
1178
+ onResponderRelease={[Function]}
1179
+ onResponderTerminate={[Function]}
1180
+ onResponderTerminationRequest={[Function]}
1181
+ onStartShouldSetResponder={[Function]}
875
1182
  style={
876
1183
  [
877
1184
  {
878
- "color": "#001f23",
879
- "fontFamily": "BeVietnamPro-SemiBold",
880
- "fontSize": 16,
881
- "letterSpacing": 0.24,
882
- "lineHeight": 24,
1185
+ "alignItems": "center",
1186
+ "backgroundColor": "transparent",
1187
+ "borderRadius": 4,
1188
+ "borderWidth": 0,
1189
+ "flexDirection": "row",
1190
+ "height": 60,
1191
+ "justifyContent": "center",
1192
+ "padding": 12,
883
1193
  },
1194
+ undefined,
1195
+ ]
1196
+ }
1197
+ >
1198
+ <Text
1199
+ allowFontScaling={false}
1200
+ disabled={false}
1201
+ ellipsizeMode="tail"
1202
+ numberOfLines={1}
1203
+ style={
884
1204
  [
885
1205
  {
886
- "color": "#795e90",
887
- "flexShrink": 1,
888
- "lineHeight": 22,
889
- "textAlign": "center",
1206
+ "color": "#001f23",
1207
+ "fontFamily": "BeVietnamPro-SemiBold",
1208
+ "fontSize": 16,
1209
+ "letterSpacing": 0.24,
1210
+ "lineHeight": 24,
890
1211
  },
891
- undefined,
892
- ],
1212
+ [
1213
+ {
1214
+ "color": "#795e90",
1215
+ "flexShrink": 1,
1216
+ "lineHeight": 22,
1217
+ "textAlign": "center",
1218
+ },
1219
+ undefined,
1220
+ ],
1221
+ ]
1222
+ }
1223
+ themeButtonVariant="text-secondary"
1224
+ themeIntent="body"
1225
+ themeTypeface="neutral"
1226
+ themeVariant="regular-bold"
1227
+ >
1228
+ A button
1229
+ </Text>
1230
+ </View>
1231
+ <View
1232
+ pointerEvents="box-none"
1233
+ position="bottom"
1234
+ style={
1235
+ [
1236
+ {
1237
+ "bottom": 0,
1238
+ "elevation": 9999,
1239
+ "flexDirection": "column-reverse",
1240
+ "left": 0,
1241
+ "paddingHorizontal": 24,
1242
+ "paddingVertical": 16,
1243
+ "position": "absolute",
1244
+ "right": 0,
1245
+ "top": 0,
1246
+ },
1247
+ undefined,
893
1248
  ]
894
1249
  }
895
- themeButtonVariant="text-secondary"
896
- themeIntent="body"
897
- themeTypeface="neutral"
898
- themeVariant="regular-bold"
899
- >
900
- A button
901
- </Text>
1250
+ />
902
1251
  </View>
903
1252
  `;
904
1253
 
905
1254
  exports[`Button renders correctly 11`] = `
906
1255
  <View
907
- accessibilityState={
1256
+ style={
908
1257
  {
909
- "disabled": true,
1258
+ "flex": 1,
910
1259
  }
911
1260
  }
912
- accessible={true}
913
- focusable={true}
914
- onClick={[Function]}
915
- onResponderGrant={[Function]}
916
- onResponderMove={[Function]}
917
- onResponderRelease={[Function]}
918
- onResponderTerminate={[Function]}
919
- onResponderTerminationRequest={[Function]}
920
- onStartShouldSetResponder={[Function]}
921
- style={
922
- [
923
- {
924
- "alignItems": "center",
925
- "backgroundColor": "#ece8ef",
926
- "borderRadius": 4,
927
- "borderWidth": 0,
928
- "flexDirection": "row",
929
- "justifyContent": "center",
930
- "padding": 12,
931
- },
932
- undefined,
933
- ]
934
- }
935
1261
  >
936
1262
  <View
937
- collapsable={false}
1263
+ accessibilityState={
1264
+ {
1265
+ "disabled": true,
1266
+ }
1267
+ }
1268
+ accessibilityValue={
1269
+ {
1270
+ "max": undefined,
1271
+ "min": undefined,
1272
+ "now": undefined,
1273
+ "text": undefined,
1274
+ }
1275
+ }
1276
+ accessible={true}
1277
+ focusable={true}
1278
+ onClick={[Function]}
1279
+ onResponderGrant={[Function]}
1280
+ onResponderMove={[Function]}
1281
+ onResponderRelease={[Function]}
1282
+ onResponderTerminate={[Function]}
1283
+ onResponderTerminationRequest={[Function]}
1284
+ onStartShouldSetResponder={[Function]}
938
1285
  style={
939
1286
  [
940
1287
  {
941
1288
  "alignItems": "center",
1289
+ "backgroundColor": "#ece8ef",
1290
+ "borderRadius": 4,
1291
+ "borderWidth": 0,
942
1292
  "flexDirection": "row",
1293
+ "height": 60,
943
1294
  "justifyContent": "center",
944
- "paddingVertical": 1,
1295
+ "padding": 12,
945
1296
  },
946
- {},
1297
+ undefined,
947
1298
  ]
948
1299
  }
949
- testID="undefined-loading-indicator"
950
1300
  >
951
1301
  <View
952
1302
  collapsable={false}
953
1303
  style={
954
- {
955
- "transform": [
956
- {
957
- "scale": 1,
958
- },
959
- ],
960
- }
1304
+ [
1305
+ {
1306
+ "alignItems": "center",
1307
+ "flexDirection": "row",
1308
+ "justifyContent": "center",
1309
+ },
1310
+ {},
1311
+ ]
961
1312
  }
1313
+ testID="undefined-loading-indicator"
962
1314
  >
963
1315
  <View
964
1316
  collapsable={false}
965
- size={12}
966
1317
  style={
967
- [
968
- {
969
- "backgroundColor": "#795e90",
970
- "borderRadius": 8,
971
- "height": 12,
972
- "marginBottom": 4,
973
- "marginHorizontal": 8,
974
- "marginTop": 4,
975
- "width": 12,
976
- },
977
- {},
978
- ]
979
- }
980
- themeVariant="text-secondary"
981
- />
982
- </View>
983
- <View
984
- collapsable={false}
985
- style={
986
- {
987
- "transform": [
988
- {
989
- "scale": 1,
990
- },
991
- ],
1318
+ {
1319
+ "transform": [
1320
+ {
1321
+ "scale": 1,
1322
+ },
1323
+ ],
1324
+ }
992
1325
  }
993
- }
994
- >
1326
+ >
1327
+ <View
1328
+ collapsable={false}
1329
+ size={12}
1330
+ style={
1331
+ [
1332
+ {
1333
+ "backgroundColor": "#795e90",
1334
+ "borderRadius": 8,
1335
+ "height": 12,
1336
+ "marginHorizontal": 8,
1337
+ "width": 12,
1338
+ },
1339
+ {},
1340
+ ]
1341
+ }
1342
+ themeVariant="text-secondary"
1343
+ />
1344
+ </View>
995
1345
  <View
996
1346
  collapsable={false}
997
- size={12}
998
1347
  style={
999
- [
1000
- {
1001
- "backgroundColor": "#795e90",
1002
- "borderRadius": 8,
1003
- "height": 12,
1004
- "marginBottom": 4,
1005
- "marginHorizontal": 8,
1006
- "marginTop": 4,
1007
- "width": 12,
1008
- },
1009
- {},
1010
- ]
1011
- }
1012
- themeVariant="text-secondary"
1013
- />
1014
- </View>
1015
- <View
1016
- collapsable={false}
1017
- style={
1018
- {
1019
- "transform": [
1020
- {
1021
- "scale": 1,
1022
- },
1023
- ],
1348
+ {
1349
+ "transform": [
1350
+ {
1351
+ "scale": 1,
1352
+ },
1353
+ ],
1354
+ }
1024
1355
  }
1025
- }
1026
- >
1356
+ >
1357
+ <View
1358
+ collapsable={false}
1359
+ size={12}
1360
+ style={
1361
+ [
1362
+ {
1363
+ "backgroundColor": "#795e90",
1364
+ "borderRadius": 8,
1365
+ "height": 12,
1366
+ "marginHorizontal": 8,
1367
+ "width": 12,
1368
+ },
1369
+ {},
1370
+ ]
1371
+ }
1372
+ themeVariant="text-secondary"
1373
+ />
1374
+ </View>
1027
1375
  <View
1028
1376
  collapsable={false}
1029
- size={12}
1030
1377
  style={
1031
- [
1032
- {
1033
- "backgroundColor": "#795e90",
1034
- "borderRadius": 8,
1035
- "height": 12,
1036
- "marginBottom": 4,
1037
- "marginHorizontal": 8,
1038
- "marginTop": 4,
1039
- "width": 12,
1040
- },
1041
- {},
1042
- ]
1378
+ {
1379
+ "transform": [
1380
+ {
1381
+ "scale": 1,
1382
+ },
1383
+ ],
1384
+ }
1043
1385
  }
1044
- themeVariant="text-secondary"
1045
- />
1386
+ >
1387
+ <View
1388
+ collapsable={false}
1389
+ size={12}
1390
+ style={
1391
+ [
1392
+ {
1393
+ "backgroundColor": "#795e90",
1394
+ "borderRadius": 8,
1395
+ "height": 12,
1396
+ "marginHorizontal": 8,
1397
+ "width": 12,
1398
+ },
1399
+ {},
1400
+ ]
1401
+ }
1402
+ themeVariant="text-secondary"
1403
+ />
1404
+ </View>
1046
1405
  </View>
1047
1406
  </View>
1407
+ <View
1408
+ pointerEvents="box-none"
1409
+ position="bottom"
1410
+ style={
1411
+ [
1412
+ {
1413
+ "bottom": 0,
1414
+ "elevation": 9999,
1415
+ "flexDirection": "column-reverse",
1416
+ "left": 0,
1417
+ "paddingHorizontal": 24,
1418
+ "paddingVertical": 16,
1419
+ "position": "absolute",
1420
+ "right": 0,
1421
+ "top": 0,
1422
+ },
1423
+ undefined,
1424
+ ]
1425
+ }
1426
+ />
1048
1427
  </View>
1049
1428
  `;
1050
1429
 
1051
1430
  exports[`Button renders correctly 12`] = `
1052
1431
  <View
1053
- accessibilityState={
1432
+ style={
1054
1433
  {
1055
- "disabled": true,
1434
+ "flex": 1,
1056
1435
  }
1057
1436
  }
1058
- accessible={true}
1059
- focusable={true}
1060
- onClick={[Function]}
1061
- onResponderGrant={[Function]}
1062
- onResponderMove={[Function]}
1063
- onResponderRelease={[Function]}
1064
- onResponderTerminate={[Function]}
1065
- onResponderTerminationRequest={[Function]}
1066
- onStartShouldSetResponder={[Function]}
1067
- style={
1068
- [
1069
- {
1070
- "alignItems": "center",
1071
- "backgroundColor": "transparent",
1072
- "borderRadius": 4,
1073
- "borderWidth": 0,
1074
- "flexDirection": "row",
1075
- "justifyContent": "center",
1076
- "padding": 12,
1077
- },
1078
- undefined,
1079
- ]
1080
- }
1081
1437
  >
1082
- <Text
1083
- allowFontScaling={false}
1084
- disabled={true}
1085
- ellipsizeMode="tail"
1086
- numberOfLines={1}
1438
+ <View
1439
+ accessibilityState={
1440
+ {
1441
+ "disabled": true,
1442
+ }
1443
+ }
1444
+ accessibilityValue={
1445
+ {
1446
+ "max": undefined,
1447
+ "min": undefined,
1448
+ "now": undefined,
1449
+ "text": undefined,
1450
+ }
1451
+ }
1452
+ accessible={true}
1453
+ focusable={true}
1454
+ onClick={[Function]}
1455
+ onResponderGrant={[Function]}
1456
+ onResponderMove={[Function]}
1457
+ onResponderRelease={[Function]}
1458
+ onResponderTerminate={[Function]}
1459
+ onResponderTerminationRequest={[Function]}
1460
+ onStartShouldSetResponder={[Function]}
1087
1461
  style={
1088
1462
  [
1089
1463
  {
1090
- "color": "#001f23",
1091
- "fontFamily": "BeVietnamPro-SemiBold",
1092
- "fontSize": 16,
1093
- "letterSpacing": 0.24,
1094
- "lineHeight": 24,
1464
+ "alignItems": "center",
1465
+ "backgroundColor": "transparent",
1466
+ "borderRadius": 4,
1467
+ "borderWidth": 0,
1468
+ "flexDirection": "row",
1469
+ "height": 60,
1470
+ "justifyContent": "center",
1471
+ "padding": 12,
1095
1472
  },
1473
+ undefined,
1474
+ ]
1475
+ }
1476
+ >
1477
+ <Text
1478
+ allowFontScaling={false}
1479
+ disabled={true}
1480
+ ellipsizeMode="tail"
1481
+ numberOfLines={1}
1482
+ style={
1096
1483
  [
1097
1484
  {
1098
- "color": "#bfc1c5",
1099
- "flexShrink": 1,
1100
- "lineHeight": 22,
1101
- "textAlign": "center",
1485
+ "color": "#001f23",
1486
+ "fontFamily": "BeVietnamPro-SemiBold",
1487
+ "fontSize": 16,
1488
+ "letterSpacing": 0.24,
1489
+ "lineHeight": 24,
1102
1490
  },
1103
- undefined,
1104
- ],
1491
+ [
1492
+ {
1493
+ "color": "#bfc1c5",
1494
+ "flexShrink": 1,
1495
+ "lineHeight": 22,
1496
+ "textAlign": "center",
1497
+ },
1498
+ undefined,
1499
+ ],
1500
+ ]
1501
+ }
1502
+ themeButtonVariant="text-secondary"
1503
+ themeIntent="body"
1504
+ themeTypeface="neutral"
1505
+ themeVariant="regular-bold"
1506
+ >
1507
+ A button
1508
+ </Text>
1509
+ </View>
1510
+ <View
1511
+ pointerEvents="box-none"
1512
+ position="bottom"
1513
+ style={
1514
+ [
1515
+ {
1516
+ "bottom": 0,
1517
+ "elevation": 9999,
1518
+ "flexDirection": "column-reverse",
1519
+ "left": 0,
1520
+ "paddingHorizontal": 24,
1521
+ "paddingVertical": 16,
1522
+ "position": "absolute",
1523
+ "right": 0,
1524
+ "top": 0,
1525
+ },
1526
+ undefined,
1105
1527
  ]
1106
1528
  }
1107
- themeButtonVariant="text-secondary"
1108
- themeIntent="body"
1109
- themeTypeface="neutral"
1110
- themeVariant="regular-bold"
1111
- >
1112
- A button
1113
- </Text>
1529
+ />
1114
1530
  </View>
1115
1531
  `;
1116
1532
 
1117
1533
  exports[`Button renders correctly 13`] = `
1118
1534
  <View
1119
- accessibilityState={
1535
+ style={
1120
1536
  {
1121
- "disabled": false,
1537
+ "flex": 1,
1122
1538
  }
1123
1539
  }
1124
- accessible={true}
1125
- focusable={true}
1126
- onClick={[Function]}
1127
- onResponderGrant={[Function]}
1128
- onResponderMove={[Function]}
1129
- onResponderRelease={[Function]}
1130
- onResponderTerminate={[Function]}
1131
- onResponderTerminationRequest={[Function]}
1132
- onStartShouldSetResponder={[Function]}
1133
- style={
1134
- [
1135
- {
1136
- "alignItems": "center",
1137
- "backgroundColor": "transparent",
1138
- "borderRadius": 4,
1139
- "borderWidth": 0,
1140
- "flexDirection": "row",
1141
- "justifyContent": "center",
1142
- "padding": 12,
1143
- },
1144
- undefined,
1145
- ]
1146
- }
1147
1540
  >
1148
- <Text
1149
- allowFontScaling={false}
1150
- disabled={false}
1151
- ellipsizeMode="tail"
1152
- numberOfLines={1}
1541
+ <View
1542
+ accessibilityState={
1543
+ {
1544
+ "disabled": false,
1545
+ }
1546
+ }
1547
+ accessibilityValue={
1548
+ {
1549
+ "max": undefined,
1550
+ "min": undefined,
1551
+ "now": undefined,
1552
+ "text": undefined,
1553
+ }
1554
+ }
1555
+ accessible={true}
1556
+ focusable={true}
1557
+ onClick={[Function]}
1558
+ onResponderGrant={[Function]}
1559
+ onResponderMove={[Function]}
1560
+ onResponderRelease={[Function]}
1561
+ onResponderTerminate={[Function]}
1562
+ onResponderTerminationRequest={[Function]}
1563
+ onStartShouldSetResponder={[Function]}
1153
1564
  style={
1154
1565
  [
1155
1566
  {
1156
- "color": "#001f23",
1157
- "fontFamily": "BeVietnamPro-SemiBold",
1158
- "fontSize": 16,
1159
- "letterSpacing": 0.24,
1160
- "lineHeight": 24,
1567
+ "alignItems": "center",
1568
+ "backgroundColor": "transparent",
1569
+ "borderRadius": 4,
1570
+ "borderWidth": 0,
1571
+ "flexDirection": "row",
1572
+ "height": 60,
1573
+ "justifyContent": "center",
1574
+ "padding": 12,
1161
1575
  },
1576
+ undefined,
1577
+ ]
1578
+ }
1579
+ >
1580
+ <Text
1581
+ allowFontScaling={false}
1582
+ disabled={false}
1583
+ ellipsizeMode="tail"
1584
+ numberOfLines={1}
1585
+ style={
1162
1586
  [
1163
1587
  {
1164
- "color": "#cb300a",
1165
- "flexShrink": 1,
1166
- "lineHeight": 22,
1167
- "textAlign": "center",
1588
+ "color": "#001f23",
1589
+ "fontFamily": "BeVietnamPro-SemiBold",
1590
+ "fontSize": 16,
1591
+ "letterSpacing": 0.24,
1592
+ "lineHeight": 24,
1168
1593
  },
1169
- undefined,
1170
- ],
1594
+ [
1595
+ {
1596
+ "color": "#cb300a",
1597
+ "flexShrink": 1,
1598
+ "lineHeight": 22,
1599
+ "textAlign": "center",
1600
+ },
1601
+ undefined,
1602
+ ],
1603
+ ]
1604
+ }
1605
+ themeButtonVariant="text-danger"
1606
+ themeIntent="body"
1607
+ themeTypeface="neutral"
1608
+ themeVariant="regular-bold"
1609
+ >
1610
+ A button
1611
+ </Text>
1612
+ </View>
1613
+ <View
1614
+ pointerEvents="box-none"
1615
+ position="bottom"
1616
+ style={
1617
+ [
1618
+ {
1619
+ "bottom": 0,
1620
+ "elevation": 9999,
1621
+ "flexDirection": "column-reverse",
1622
+ "left": 0,
1623
+ "paddingHorizontal": 24,
1624
+ "paddingVertical": 16,
1625
+ "position": "absolute",
1626
+ "right": 0,
1627
+ "top": 0,
1628
+ },
1629
+ undefined,
1171
1630
  ]
1172
1631
  }
1173
- themeButtonVariant="text-danger"
1174
- themeIntent="body"
1175
- themeTypeface="neutral"
1176
- themeVariant="regular-bold"
1177
- >
1178
- A button
1179
- </Text>
1632
+ />
1180
1633
  </View>
1181
1634
  `;
1182
1635
 
1183
1636
  exports[`Button renders correctly 14`] = `
1184
1637
  <View
1185
- accessibilityState={
1638
+ style={
1186
1639
  {
1187
- "disabled": true,
1640
+ "flex": 1,
1188
1641
  }
1189
1642
  }
1190
- accessible={true}
1191
- focusable={true}
1192
- onClick={[Function]}
1193
- onResponderGrant={[Function]}
1194
- onResponderMove={[Function]}
1195
- onResponderRelease={[Function]}
1196
- onResponderTerminate={[Function]}
1197
- onResponderTerminationRequest={[Function]}
1198
- onStartShouldSetResponder={[Function]}
1199
- style={
1200
- [
1201
- {
1202
- "alignItems": "center",
1203
- "backgroundColor": "#ece8ef",
1204
- "borderRadius": 4,
1205
- "borderWidth": 0,
1206
- "flexDirection": "row",
1207
- "justifyContent": "center",
1208
- "padding": 12,
1209
- },
1210
- undefined,
1211
- ]
1212
- }
1213
1643
  >
1214
1644
  <View
1215
- collapsable={false}
1645
+ accessibilityState={
1646
+ {
1647
+ "disabled": true,
1648
+ }
1649
+ }
1650
+ accessibilityValue={
1651
+ {
1652
+ "max": undefined,
1653
+ "min": undefined,
1654
+ "now": undefined,
1655
+ "text": undefined,
1656
+ }
1657
+ }
1658
+ accessible={true}
1659
+ focusable={true}
1660
+ onClick={[Function]}
1661
+ onResponderGrant={[Function]}
1662
+ onResponderMove={[Function]}
1663
+ onResponderRelease={[Function]}
1664
+ onResponderTerminate={[Function]}
1665
+ onResponderTerminationRequest={[Function]}
1666
+ onStartShouldSetResponder={[Function]}
1216
1667
  style={
1217
1668
  [
1218
1669
  {
1219
1670
  "alignItems": "center",
1671
+ "backgroundColor": "#ece8ef",
1672
+ "borderRadius": 4,
1673
+ "borderWidth": 0,
1220
1674
  "flexDirection": "row",
1675
+ "height": 60,
1221
1676
  "justifyContent": "center",
1222
- "paddingVertical": 1,
1677
+ "padding": 12,
1223
1678
  },
1224
- {},
1679
+ undefined,
1225
1680
  ]
1226
1681
  }
1227
- testID="undefined-loading-indicator"
1228
1682
  >
1229
1683
  <View
1230
1684
  collapsable={false}
1231
1685
  style={
1232
- {
1233
- "transform": [
1234
- {
1235
- "scale": 1,
1236
- },
1237
- ],
1238
- }
1686
+ [
1687
+ {
1688
+ "alignItems": "center",
1689
+ "flexDirection": "row",
1690
+ "justifyContent": "center",
1691
+ },
1692
+ {},
1693
+ ]
1239
1694
  }
1695
+ testID="undefined-loading-indicator"
1240
1696
  >
1241
1697
  <View
1242
1698
  collapsable={false}
1243
- size={12}
1244
1699
  style={
1245
- [
1246
- {
1247
- "backgroundColor": "#cb300a",
1248
- "borderRadius": 8,
1249
- "height": 12,
1250
- "marginBottom": 4,
1251
- "marginHorizontal": 8,
1252
- "marginTop": 4,
1253
- "width": 12,
1254
- },
1255
- {},
1256
- ]
1257
- }
1258
- themeVariant="text-danger"
1259
- />
1260
- </View>
1261
- <View
1262
- collapsable={false}
1263
- style={
1264
- {
1265
- "transform": [
1266
- {
1267
- "scale": 1,
1268
- },
1269
- ],
1700
+ {
1701
+ "transform": [
1702
+ {
1703
+ "scale": 1,
1704
+ },
1705
+ ],
1706
+ }
1270
1707
  }
1271
- }
1272
- >
1708
+ >
1709
+ <View
1710
+ collapsable={false}
1711
+ size={12}
1712
+ style={
1713
+ [
1714
+ {
1715
+ "backgroundColor": "#cb300a",
1716
+ "borderRadius": 8,
1717
+ "height": 12,
1718
+ "marginHorizontal": 8,
1719
+ "width": 12,
1720
+ },
1721
+ {},
1722
+ ]
1723
+ }
1724
+ themeVariant="text-danger"
1725
+ />
1726
+ </View>
1273
1727
  <View
1274
1728
  collapsable={false}
1275
- size={12}
1276
1729
  style={
1277
- [
1278
- {
1279
- "backgroundColor": "#cb300a",
1280
- "borderRadius": 8,
1281
- "height": 12,
1282
- "marginBottom": 4,
1283
- "marginHorizontal": 8,
1284
- "marginTop": 4,
1285
- "width": 12,
1286
- },
1287
- {},
1288
- ]
1289
- }
1290
- themeVariant="text-danger"
1291
- />
1292
- </View>
1293
- <View
1294
- collapsable={false}
1295
- style={
1296
- {
1297
- "transform": [
1298
- {
1299
- "scale": 1,
1300
- },
1301
- ],
1730
+ {
1731
+ "transform": [
1732
+ {
1733
+ "scale": 1,
1734
+ },
1735
+ ],
1736
+ }
1302
1737
  }
1303
- }
1304
- >
1738
+ >
1739
+ <View
1740
+ collapsable={false}
1741
+ size={12}
1742
+ style={
1743
+ [
1744
+ {
1745
+ "backgroundColor": "#cb300a",
1746
+ "borderRadius": 8,
1747
+ "height": 12,
1748
+ "marginHorizontal": 8,
1749
+ "width": 12,
1750
+ },
1751
+ {},
1752
+ ]
1753
+ }
1754
+ themeVariant="text-danger"
1755
+ />
1756
+ </View>
1305
1757
  <View
1306
1758
  collapsable={false}
1307
- size={12}
1308
1759
  style={
1309
- [
1310
- {
1311
- "backgroundColor": "#cb300a",
1312
- "borderRadius": 8,
1313
- "height": 12,
1314
- "marginBottom": 4,
1315
- "marginHorizontal": 8,
1316
- "marginTop": 4,
1317
- "width": 12,
1318
- },
1319
- {},
1320
- ]
1760
+ {
1761
+ "transform": [
1762
+ {
1763
+ "scale": 1,
1764
+ },
1765
+ ],
1766
+ }
1321
1767
  }
1322
- themeVariant="text-danger"
1323
- />
1768
+ >
1769
+ <View
1770
+ collapsable={false}
1771
+ size={12}
1772
+ style={
1773
+ [
1774
+ {
1775
+ "backgroundColor": "#cb300a",
1776
+ "borderRadius": 8,
1777
+ "height": 12,
1778
+ "marginHorizontal": 8,
1779
+ "width": 12,
1780
+ },
1781
+ {},
1782
+ ]
1783
+ }
1784
+ themeVariant="text-danger"
1785
+ />
1786
+ </View>
1324
1787
  </View>
1325
1788
  </View>
1789
+ <View
1790
+ pointerEvents="box-none"
1791
+ position="bottom"
1792
+ style={
1793
+ [
1794
+ {
1795
+ "bottom": 0,
1796
+ "elevation": 9999,
1797
+ "flexDirection": "column-reverse",
1798
+ "left": 0,
1799
+ "paddingHorizontal": 24,
1800
+ "paddingVertical": 16,
1801
+ "position": "absolute",
1802
+ "right": 0,
1803
+ "top": 0,
1804
+ },
1805
+ undefined,
1806
+ ]
1807
+ }
1808
+ />
1326
1809
  </View>
1327
1810
  `;
1328
1811
 
1329
1812
  exports[`Button renders correctly 15`] = `
1330
1813
  <View
1331
- accessibilityState={
1814
+ style={
1332
1815
  {
1333
- "disabled": true,
1816
+ "flex": 1,
1334
1817
  }
1335
1818
  }
1336
- accessible={true}
1337
- focusable={true}
1338
- onClick={[Function]}
1339
- onResponderGrant={[Function]}
1340
- onResponderMove={[Function]}
1341
- onResponderRelease={[Function]}
1342
- onResponderTerminate={[Function]}
1343
- onResponderTerminationRequest={[Function]}
1344
- onStartShouldSetResponder={[Function]}
1345
- style={
1346
- [
1347
- {
1348
- "alignItems": "center",
1349
- "backgroundColor": "transparent",
1350
- "borderRadius": 4,
1351
- "borderWidth": 0,
1352
- "flexDirection": "row",
1353
- "justifyContent": "center",
1354
- "padding": 12,
1355
- },
1356
- undefined,
1357
- ]
1358
- }
1359
1819
  >
1360
- <Text
1361
- allowFontScaling={false}
1362
- disabled={true}
1363
- ellipsizeMode="tail"
1364
- numberOfLines={1}
1820
+ <View
1821
+ accessibilityState={
1822
+ {
1823
+ "disabled": true,
1824
+ }
1825
+ }
1826
+ accessibilityValue={
1827
+ {
1828
+ "max": undefined,
1829
+ "min": undefined,
1830
+ "now": undefined,
1831
+ "text": undefined,
1832
+ }
1833
+ }
1834
+ accessible={true}
1835
+ focusable={true}
1836
+ onClick={[Function]}
1837
+ onResponderGrant={[Function]}
1838
+ onResponderMove={[Function]}
1839
+ onResponderRelease={[Function]}
1840
+ onResponderTerminate={[Function]}
1841
+ onResponderTerminationRequest={[Function]}
1842
+ onStartShouldSetResponder={[Function]}
1365
1843
  style={
1366
1844
  [
1367
1845
  {
1368
- "color": "#001f23",
1369
- "fontFamily": "BeVietnamPro-SemiBold",
1370
- "fontSize": 16,
1371
- "letterSpacing": 0.24,
1372
- "lineHeight": 24,
1846
+ "alignItems": "center",
1847
+ "backgroundColor": "transparent",
1848
+ "borderRadius": 4,
1849
+ "borderWidth": 0,
1850
+ "flexDirection": "row",
1851
+ "height": 60,
1852
+ "justifyContent": "center",
1853
+ "padding": 12,
1373
1854
  },
1855
+ undefined,
1856
+ ]
1857
+ }
1858
+ >
1859
+ <Text
1860
+ allowFontScaling={false}
1861
+ disabled={true}
1862
+ ellipsizeMode="tail"
1863
+ numberOfLines={1}
1864
+ style={
1374
1865
  [
1375
1866
  {
1376
- "color": "#bfc1c5",
1377
- "flexShrink": 1,
1378
- "lineHeight": 22,
1379
- "textAlign": "center",
1867
+ "color": "#001f23",
1868
+ "fontFamily": "BeVietnamPro-SemiBold",
1869
+ "fontSize": 16,
1870
+ "letterSpacing": 0.24,
1871
+ "lineHeight": 24,
1380
1872
  },
1381
- undefined,
1382
- ],
1873
+ [
1874
+ {
1875
+ "color": "#bfc1c5",
1876
+ "flexShrink": 1,
1877
+ "lineHeight": 22,
1878
+ "textAlign": "center",
1879
+ },
1880
+ undefined,
1881
+ ],
1882
+ ]
1883
+ }
1884
+ themeButtonVariant="text-danger"
1885
+ themeIntent="body"
1886
+ themeTypeface="neutral"
1887
+ themeVariant="regular-bold"
1888
+ >
1889
+ A button
1890
+ </Text>
1891
+ </View>
1892
+ <View
1893
+ pointerEvents="box-none"
1894
+ position="bottom"
1895
+ style={
1896
+ [
1897
+ {
1898
+ "bottom": 0,
1899
+ "elevation": 9999,
1900
+ "flexDirection": "column-reverse",
1901
+ "left": 0,
1902
+ "paddingHorizontal": 24,
1903
+ "paddingVertical": 16,
1904
+ "position": "absolute",
1905
+ "right": 0,
1906
+ "top": 0,
1907
+ },
1908
+ undefined,
1383
1909
  ]
1384
1910
  }
1385
- themeButtonVariant="text-danger"
1386
- themeIntent="body"
1387
- themeTypeface="neutral"
1388
- themeVariant="regular-bold"
1389
- >
1390
- A button
1391
- </Text>
1911
+ />
1392
1912
  </View>
1393
1913
  `;
1394
1914
 
1395
1915
  exports[`Button renders loading icon 1`] = `
1396
1916
  <View
1397
- accessibilityState={
1917
+ style={
1398
1918
  {
1399
- "disabled": true,
1919
+ "flex": 1,
1400
1920
  }
1401
1921
  }
1402
- accessible={true}
1403
- focusable={true}
1404
- onClick={[Function]}
1405
- onResponderGrant={[Function]}
1406
- onResponderMove={[Function]}
1407
- onResponderRelease={[Function]}
1408
- onResponderTerminate={[Function]}
1409
- onResponderTerminationRequest={[Function]}
1410
- onStartShouldSetResponder={[Function]}
1411
- style={
1412
- [
1413
- {
1414
- "alignItems": "center",
1415
- "alignSelf": "stretch",
1416
- "backgroundColor": "#401960",
1417
- "borderRadius": 32,
1418
- "flexDirection": "row",
1419
- "justifyContent": "center",
1420
- "padding": 16,
1421
- },
1422
- undefined,
1423
- ]
1424
- }
1425
- testID="button"
1426
1922
  >
1427
1923
  <View
1428
- collapsable={false}
1924
+ accessibilityState={
1925
+ {
1926
+ "disabled": true,
1927
+ }
1928
+ }
1929
+ accessibilityValue={
1930
+ {
1931
+ "max": undefined,
1932
+ "min": undefined,
1933
+ "now": undefined,
1934
+ "text": undefined,
1935
+ }
1936
+ }
1937
+ accessible={true}
1938
+ focusable={true}
1939
+ onClick={[Function]}
1940
+ onResponderGrant={[Function]}
1941
+ onResponderMove={[Function]}
1942
+ onResponderRelease={[Function]}
1943
+ onResponderTerminate={[Function]}
1944
+ onResponderTerminationRequest={[Function]}
1945
+ onStartShouldSetResponder={[Function]}
1429
1946
  style={
1430
1947
  [
1431
1948
  {
1432
1949
  "alignItems": "center",
1950
+ "alignSelf": "stretch",
1951
+ "backgroundColor": "#401960",
1952
+ "borderRadius": 32,
1433
1953
  "flexDirection": "row",
1954
+ "height": 60,
1434
1955
  "justifyContent": "center",
1435
- "paddingVertical": 1,
1956
+ "padding": 16,
1436
1957
  },
1437
- {},
1958
+ undefined,
1438
1959
  ]
1439
1960
  }
1440
- testID="button-loading-indicator"
1961
+ testID="button"
1441
1962
  >
1442
1963
  <View
1443
1964
  collapsable={false}
1444
1965
  style={
1445
- {
1446
- "transform": [
1447
- {
1448
- "scale": 1,
1449
- },
1450
- ],
1451
- }
1966
+ [
1967
+ {
1968
+ "alignItems": "center",
1969
+ "flexDirection": "row",
1970
+ "justifyContent": "center",
1971
+ },
1972
+ {},
1973
+ ]
1452
1974
  }
1975
+ testID="button-loading-indicator"
1453
1976
  >
1454
1977
  <View
1455
1978
  collapsable={false}
1456
- size={12}
1457
1979
  style={
1458
- [
1459
- {
1460
- "backgroundColor": "#ffffff",
1461
- "borderRadius": 8,
1462
- "height": 12,
1463
- "marginBottom": 4,
1464
- "marginHorizontal": 8,
1465
- "marginTop": 4,
1466
- "width": 12,
1467
- },
1468
- {},
1469
- ]
1470
- }
1471
- themeVariant="filled-primary"
1472
- />
1473
- </View>
1474
- <View
1475
- collapsable={false}
1476
- style={
1477
- {
1478
- "transform": [
1479
- {
1480
- "scale": 1,
1481
- },
1482
- ],
1980
+ {
1981
+ "transform": [
1982
+ {
1983
+ "scale": 1,
1984
+ },
1985
+ ],
1986
+ }
1483
1987
  }
1484
- }
1485
- >
1988
+ >
1989
+ <View
1990
+ collapsable={false}
1991
+ size={12}
1992
+ style={
1993
+ [
1994
+ {
1995
+ "backgroundColor": "#ffffff",
1996
+ "borderRadius": 8,
1997
+ "height": 12,
1998
+ "marginHorizontal": 8,
1999
+ "width": 12,
2000
+ },
2001
+ {},
2002
+ ]
2003
+ }
2004
+ themeVariant="filled-primary"
2005
+ />
2006
+ </View>
1486
2007
  <View
1487
2008
  collapsable={false}
1488
- size={12}
1489
2009
  style={
1490
- [
1491
- {
1492
- "backgroundColor": "#ffffff",
1493
- "borderRadius": 8,
1494
- "height": 12,
1495
- "marginBottom": 4,
1496
- "marginHorizontal": 8,
1497
- "marginTop": 4,
1498
- "width": 12,
1499
- },
1500
- {},
1501
- ]
1502
- }
1503
- themeVariant="filled-primary"
1504
- />
1505
- </View>
1506
- <View
1507
- collapsable={false}
1508
- style={
1509
- {
1510
- "transform": [
1511
- {
1512
- "scale": 1,
1513
- },
1514
- ],
2010
+ {
2011
+ "transform": [
2012
+ {
2013
+ "scale": 1,
2014
+ },
2015
+ ],
2016
+ }
1515
2017
  }
1516
- }
1517
- >
2018
+ >
2019
+ <View
2020
+ collapsable={false}
2021
+ size={12}
2022
+ style={
2023
+ [
2024
+ {
2025
+ "backgroundColor": "#ffffff",
2026
+ "borderRadius": 8,
2027
+ "height": 12,
2028
+ "marginHorizontal": 8,
2029
+ "width": 12,
2030
+ },
2031
+ {},
2032
+ ]
2033
+ }
2034
+ themeVariant="filled-primary"
2035
+ />
2036
+ </View>
1518
2037
  <View
1519
2038
  collapsable={false}
1520
- size={12}
1521
2039
  style={
1522
- [
1523
- {
1524
- "backgroundColor": "#ffffff",
1525
- "borderRadius": 8,
1526
- "height": 12,
1527
- "marginBottom": 4,
1528
- "marginHorizontal": 8,
1529
- "marginTop": 4,
1530
- "width": 12,
1531
- },
1532
- {},
1533
- ]
2040
+ {
2041
+ "transform": [
2042
+ {
2043
+ "scale": 1,
2044
+ },
2045
+ ],
2046
+ }
1534
2047
  }
1535
- themeVariant="filled-primary"
1536
- />
2048
+ >
2049
+ <View
2050
+ collapsable={false}
2051
+ size={12}
2052
+ style={
2053
+ [
2054
+ {
2055
+ "backgroundColor": "#ffffff",
2056
+ "borderRadius": 8,
2057
+ "height": 12,
2058
+ "marginHorizontal": 8,
2059
+ "width": 12,
2060
+ },
2061
+ {},
2062
+ ]
2063
+ }
2064
+ themeVariant="filled-primary"
2065
+ />
2066
+ </View>
1537
2067
  </View>
1538
2068
  </View>
2069
+ <View
2070
+ pointerEvents="box-none"
2071
+ position="bottom"
2072
+ style={
2073
+ [
2074
+ {
2075
+ "bottom": 0,
2076
+ "elevation": 9999,
2077
+ "flexDirection": "column-reverse",
2078
+ "left": 0,
2079
+ "paddingHorizontal": 24,
2080
+ "paddingVertical": 16,
2081
+ "position": "absolute",
2082
+ "right": 0,
2083
+ "top": 0,
2084
+ },
2085
+ undefined,
2086
+ ]
2087
+ }
2088
+ />
1539
2089
  </View>
1540
2090
  `;