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