@hero-design/rn 8.44.0-alpha.0 → 8.44.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) 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 +2852 -2683
  5. package/jest-setup.ts +2 -0
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +2855 -2687
  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 +622 -457
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +212 -157
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +204 -149
  58. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +483 -386
  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/RichTextEditor.tsx +76 -38
  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 +403 -305
  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 +856 -174
  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 +674 -150
  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/StyledTextInput.tsx +8 -31
  133. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +0 -44
  134. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +990 -711
  135. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3200 -2431
  136. package/src/components/TextInput/__tests__/index.spec.tsx +2 -2
  137. package/src/components/TextInput/index.tsx +113 -57
  138. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +414 -304
  139. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +686 -534
  140. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
  141. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  142. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
  143. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
  144. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  145. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  146. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  147. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  148. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  149. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  150. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  151. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  152. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  153. package/src/index.ts +2 -2
  154. package/src/testHelpers/renderWithTheme.tsx +2 -2
  155. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +40 -3
  156. package/src/theme/components/button.ts +0 -1
  157. package/src/theme/components/chip.ts +47 -0
  158. package/src/theme/components/textInput.ts +2 -2
  159. package/src/theme/getTheme.ts +3 -0
  160. package/testUtils/setup.tsx +0 -18
  161. package/tsconfig.json +4 -1
  162. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  163. package/types/components/Accordion/index.d.ts +1 -1
  164. package/types/components/Attachment/index.d.ts +2 -1
  165. package/types/components/Avatar/Avatar.d.ts +2 -1
  166. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  167. package/types/components/Avatar/index.d.ts +3 -2
  168. package/types/components/Badge/StyledBadge.d.ts +0 -4
  169. package/types/components/BottomSheet/Footer.d.ts +2 -1
  170. package/types/components/BottomSheet/Header.d.ts +2 -1
  171. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  172. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  173. package/types/components/Box/index.d.ts +2 -1
  174. package/types/components/Button/IconButton.d.ts +2 -1
  175. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
  176. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  177. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  178. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  179. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  180. package/types/components/Calendar/index.d.ts +2 -1
  181. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  182. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  183. package/types/components/Carousel/index.d.ts +2 -2
  184. package/types/components/Checkbox/index.d.ts +2 -1
  185. package/types/components/Chip/StyledChip.d.ts +31 -0
  186. package/types/components/Chip/index.d.ts +27 -0
  187. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  188. package/types/components/Collapse/index.d.ts +2 -1
  189. package/types/components/ContentNavigator/index.d.ts +2 -1
  190. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  191. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  192. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  193. package/types/components/DatePicker/index.d.ts +2 -1
  194. package/types/components/Divider/index.d.ts +2 -1
  195. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  196. package/types/components/Error/StyledError.d.ts +3 -9
  197. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  198. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  199. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  200. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  201. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  202. package/types/components/Icon/IconList.d.ts +1 -1
  203. package/types/components/Icon/index.d.ts +3 -2
  204. package/types/components/Icon/utils.d.ts +1 -1
  205. package/types/components/Image/index.d.ts +1 -0
  206. package/types/components/Modal/index.d.ts +12 -8
  207. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  208. package/types/components/PageControl/index.d.ts +2 -1
  209. package/types/components/PinInput/PinCell.d.ts +2 -1
  210. package/types/components/Portal/PortalHost.d.ts +1 -1
  211. package/types/components/Portal/PortalProvider.d.ts +1 -1
  212. package/types/components/Portal/index.d.ts +2 -2
  213. package/types/components/Progress/ProgressBar.d.ts +1 -0
  214. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  215. package/types/components/Progress/index.d.ts +1 -0
  216. package/types/components/Rate/StyledRate.d.ts +0 -2
  217. package/types/components/Rate/index.d.ts +2 -1
  218. package/types/components/RefreshControl/index.d.ts +2 -1
  219. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  220. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  221. package/types/components/RichTextEditor/index.d.ts +2 -2
  222. package/types/components/Select/BaseOptionList.d.ts +1 -1
  223. package/types/components/Select/Footer.d.ts +2 -1
  224. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  225. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  226. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  227. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  228. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  229. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  230. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  231. package/types/components/Select/helpers.d.ts +1 -2
  232. package/types/components/Select/index.d.ts +2 -1
  233. package/types/components/Skeleton/index.d.ts +2 -1
  234. package/types/components/Slider/index.d.ts +2 -1
  235. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  236. package/types/components/Success/StyledSuccess.d.ts +3 -7
  237. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  238. package/types/components/Swipeable/index.d.ts +3 -3
  239. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  240. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  241. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  242. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  243. package/types/components/Tabs/SceneView.d.ts +1 -1
  244. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  245. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  246. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  247. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  248. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  249. package/types/components/Tabs/index.d.ts +2 -1
  250. package/types/components/TextInput/StyledTextInput.d.ts +5 -25
  251. package/types/components/TextInput/index.d.ts +2 -1
  252. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  253. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  254. package/types/components/TimePicker/index.d.ts +2 -1
  255. package/types/components/Toast/StyledToast.d.ts +0 -2
  256. package/types/components/Toast/Toast.d.ts +1 -0
  257. package/types/components/Toast/ToastProvider.d.ts +2 -1
  258. package/types/components/Toast/index.d.ts +1 -1
  259. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  260. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  261. package/types/components/Toolbar/index.d.ts +3 -2
  262. package/types/components/Typography/Body/index.d.ts +2 -1
  263. package/types/components/Typography/Caption/index.d.ts +2 -1
  264. package/types/components/Typography/Label/index.d.ts +2 -1
  265. package/types/components/Typography/Text/index.d.ts +2 -1
  266. package/types/components/Typography/Title/index.d.ts +2 -1
  267. package/types/index.d.ts +2 -2
  268. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  269. package/types/theme/ThemeSwitcher.d.ts +2 -2
  270. package/types/theme/components/button.d.ts +0 -1
  271. package/types/theme/components/chip.d.ts +40 -0
  272. package/types/theme/getTheme.d.ts +2 -0
  273. package/.turbo/turbo-publish:npm.log +0 -0
  274. package/src/components/Modal/ModalContentWrapper.tsx +0 -112
  275. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
  276. package/src/components/Modal/ModalPresenter/index.tsx +0 -9
  277. package/src/components/Modal/ModalProvider.tsx +0 -8
  278. package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
  279. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
  280. package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
  281. package/types/components/Modal/ModalProvider.d.ts +0 -5
@@ -1,461 +1,1021 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`StyledText has body intent style 1`] = `
4
- <Text
4
+ <View
5
5
  style={
6
- [
7
- {
8
- "color": "#001f23",
9
- "fontFamily": "BeVietnamPro-Regular",
10
- "fontSize": 14,
11
- "letterSpacing": 0.42,
12
- "lineHeight": 22,
13
- },
14
- undefined,
15
- ]
6
+ {
7
+ "flex": 1,
8
+ }
16
9
  }
17
- themeFontSize="medium"
18
- themeFontWeight="regular"
19
- themeIntent="body"
20
- themeTypeface="neutral"
21
10
  >
22
- This is a test
23
- </Text>
11
+ <Text
12
+ style={
13
+ [
14
+ {
15
+ "color": "#001f23",
16
+ "fontFamily": "BeVietnamPro-Regular",
17
+ "fontSize": 14,
18
+ "letterSpacing": 0.42,
19
+ "lineHeight": 22,
20
+ },
21
+ undefined,
22
+ ]
23
+ }
24
+ themeFontSize="medium"
25
+ themeFontWeight="regular"
26
+ themeIntent="body"
27
+ themeTypeface="neutral"
28
+ >
29
+ This is a test
30
+ </Text>
31
+ <View
32
+ pointerEvents="box-none"
33
+ position="bottom"
34
+ style={
35
+ [
36
+ {
37
+ "bottom": 0,
38
+ "elevation": 9999,
39
+ "flexDirection": "column-reverse",
40
+ "left": 0,
41
+ "paddingHorizontal": 24,
42
+ "paddingVertical": 16,
43
+ "position": "absolute",
44
+ "right": 0,
45
+ "top": 0,
46
+ },
47
+ undefined,
48
+ ]
49
+ }
50
+ />
51
+ </View>
24
52
  `;
25
53
 
26
54
  exports[`StyledText has danger intent style 1`] = `
27
- <Text
55
+ <View
28
56
  style={
29
- [
30
- {
31
- "color": "#f46363",
32
- "fontFamily": "BeVietnamPro-Regular",
33
- "fontSize": 14,
34
- "letterSpacing": 0.42,
35
- "lineHeight": 22,
36
- },
37
- undefined,
38
- ]
57
+ {
58
+ "flex": 1,
59
+ }
39
60
  }
40
- themeFontSize="medium"
41
- themeFontWeight="regular"
42
- themeIntent="danger"
43
- themeTypeface="neutral"
44
61
  >
45
- This is a test
46
- </Text>
62
+ <Text
63
+ style={
64
+ [
65
+ {
66
+ "color": "#f46363",
67
+ "fontFamily": "BeVietnamPro-Regular",
68
+ "fontSize": 14,
69
+ "letterSpacing": 0.42,
70
+ "lineHeight": 22,
71
+ },
72
+ undefined,
73
+ ]
74
+ }
75
+ themeFontSize="medium"
76
+ themeFontWeight="regular"
77
+ themeIntent="danger"
78
+ themeTypeface="neutral"
79
+ >
80
+ This is a test
81
+ </Text>
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,
99
+ ]
100
+ }
101
+ />
102
+ </View>
47
103
  `;
48
104
 
49
105
  exports[`StyledText has info intent style 1`] = `
50
- <Text
106
+ <View
51
107
  style={
52
- [
53
- {
54
- "color": "#355bfb",
55
- "fontFamily": "BeVietnamPro-Regular",
56
- "fontSize": 14,
57
- "letterSpacing": 0.42,
58
- "lineHeight": 22,
59
- },
60
- undefined,
61
- ]
108
+ {
109
+ "flex": 1,
110
+ }
62
111
  }
63
- themeFontSize="medium"
64
- themeFontWeight="regular"
65
- themeIntent="info"
66
- themeTypeface="neutral"
67
112
  >
68
- This is a test
69
- </Text>
113
+ <Text
114
+ style={
115
+ [
116
+ {
117
+ "color": "#355bfb",
118
+ "fontFamily": "BeVietnamPro-Regular",
119
+ "fontSize": 14,
120
+ "letterSpacing": 0.42,
121
+ "lineHeight": 22,
122
+ },
123
+ undefined,
124
+ ]
125
+ }
126
+ themeFontSize="medium"
127
+ themeFontWeight="regular"
128
+ themeIntent="info"
129
+ themeTypeface="neutral"
130
+ >
131
+ This is a test
132
+ </Text>
133
+ <View
134
+ pointerEvents="box-none"
135
+ position="bottom"
136
+ style={
137
+ [
138
+ {
139
+ "bottom": 0,
140
+ "elevation": 9999,
141
+ "flexDirection": "column-reverse",
142
+ "left": 0,
143
+ "paddingHorizontal": 24,
144
+ "paddingVertical": 16,
145
+ "position": "absolute",
146
+ "right": 0,
147
+ "top": 0,
148
+ },
149
+ undefined,
150
+ ]
151
+ }
152
+ />
153
+ </View>
70
154
  `;
71
155
 
72
156
  exports[`StyledText has inverted intent style 1`] = `
73
- <Text
157
+ <View
74
158
  style={
75
- [
76
- {
77
- "color": "#ffffff",
78
- "fontFamily": "BeVietnamPro-Regular",
79
- "fontSize": 14,
80
- "letterSpacing": 0.42,
81
- "lineHeight": 22,
82
- },
83
- undefined,
84
- ]
159
+ {
160
+ "flex": 1,
161
+ }
85
162
  }
86
- themeFontSize="medium"
87
- themeFontWeight="regular"
88
- themeIntent="inverted"
89
- themeTypeface="neutral"
90
163
  >
91
- This is a test
92
- </Text>
164
+ <Text
165
+ style={
166
+ [
167
+ {
168
+ "color": "#ffffff",
169
+ "fontFamily": "BeVietnamPro-Regular",
170
+ "fontSize": 14,
171
+ "letterSpacing": 0.42,
172
+ "lineHeight": 22,
173
+ },
174
+ undefined,
175
+ ]
176
+ }
177
+ themeFontSize="medium"
178
+ themeFontWeight="regular"
179
+ themeIntent="inverted"
180
+ themeTypeface="neutral"
181
+ >
182
+ This is a test
183
+ </Text>
184
+ <View
185
+ pointerEvents="box-none"
186
+ position="bottom"
187
+ style={
188
+ [
189
+ {
190
+ "bottom": 0,
191
+ "elevation": 9999,
192
+ "flexDirection": "column-reverse",
193
+ "left": 0,
194
+ "paddingHorizontal": 24,
195
+ "paddingVertical": 16,
196
+ "position": "absolute",
197
+ "right": 0,
198
+ "top": 0,
199
+ },
200
+ undefined,
201
+ ]
202
+ }
203
+ />
204
+ </View>
93
205
  `;
94
206
 
95
207
  exports[`StyledText has large fontSize style 1`] = `
96
- <Text
208
+ <View
97
209
  style={
98
- [
99
- {
100
- "color": "#001f23",
101
- "fontFamily": "BeVietnamPro-Regular",
102
- "fontSize": 16,
103
- "letterSpacing": 0.48,
104
- "lineHeight": 24,
105
- },
106
- undefined,
107
- ]
210
+ {
211
+ "flex": 1,
212
+ }
108
213
  }
109
- themeFontSize="large"
110
- themeFontWeight="regular"
111
- themeIntent="body"
112
- themeTypeface="neutral"
113
214
  >
114
- This is a test
115
- </Text>
215
+ <Text
216
+ style={
217
+ [
218
+ {
219
+ "color": "#001f23",
220
+ "fontFamily": "BeVietnamPro-Regular",
221
+ "fontSize": 16,
222
+ "letterSpacing": 0.48,
223
+ "lineHeight": 24,
224
+ },
225
+ undefined,
226
+ ]
227
+ }
228
+ themeFontSize="large"
229
+ themeFontWeight="regular"
230
+ themeIntent="body"
231
+ themeTypeface="neutral"
232
+ >
233
+ This is a test
234
+ </Text>
235
+ <View
236
+ pointerEvents="box-none"
237
+ position="bottom"
238
+ style={
239
+ [
240
+ {
241
+ "bottom": 0,
242
+ "elevation": 9999,
243
+ "flexDirection": "column-reverse",
244
+ "left": 0,
245
+ "paddingHorizontal": 24,
246
+ "paddingVertical": 16,
247
+ "position": "absolute",
248
+ "right": 0,
249
+ "top": 0,
250
+ },
251
+ undefined,
252
+ ]
253
+ }
254
+ />
255
+ </View>
116
256
  `;
117
257
 
118
258
  exports[`StyledText has light fontWeight style 1`] = `
119
- <Text
259
+ <View
120
260
  style={
121
- [
122
- {
123
- "color": "#001f23",
124
- "fontFamily": "BeVietnamPro-Light",
125
- "fontSize": 14,
126
- "letterSpacing": 0.42,
127
- "lineHeight": 22,
128
- },
129
- undefined,
130
- ]
261
+ {
262
+ "flex": 1,
263
+ }
131
264
  }
132
- themeFontSize="medium"
133
- themeFontWeight="light"
134
- themeIntent="body"
135
- themeTypeface="neutral"
136
265
  >
137
- This is a test
138
- </Text>
266
+ <Text
267
+ style={
268
+ [
269
+ {
270
+ "color": "#001f23",
271
+ "fontFamily": "BeVietnamPro-Light",
272
+ "fontSize": 14,
273
+ "letterSpacing": 0.42,
274
+ "lineHeight": 22,
275
+ },
276
+ undefined,
277
+ ]
278
+ }
279
+ themeFontSize="medium"
280
+ themeFontWeight="light"
281
+ themeIntent="body"
282
+ themeTypeface="neutral"
283
+ >
284
+ This is a test
285
+ </Text>
286
+ <View
287
+ pointerEvents="box-none"
288
+ position="bottom"
289
+ style={
290
+ [
291
+ {
292
+ "bottom": 0,
293
+ "elevation": 9999,
294
+ "flexDirection": "column-reverse",
295
+ "left": 0,
296
+ "paddingHorizontal": 24,
297
+ "paddingVertical": 16,
298
+ "position": "absolute",
299
+ "right": 0,
300
+ "top": 0,
301
+ },
302
+ undefined,
303
+ ]
304
+ }
305
+ />
306
+ </View>
139
307
  `;
140
308
 
141
309
  exports[`StyledText has medium fontSize style 1`] = `
142
- <Text
310
+ <View
143
311
  style={
144
- [
145
- {
146
- "color": "#001f23",
147
- "fontFamily": "BeVietnamPro-Regular",
148
- "fontSize": 14,
149
- "letterSpacing": 0.42,
150
- "lineHeight": 22,
151
- },
152
- undefined,
153
- ]
312
+ {
313
+ "flex": 1,
314
+ }
154
315
  }
155
- themeFontSize="medium"
156
- themeFontWeight="regular"
157
- themeIntent="body"
158
- themeTypeface="neutral"
159
316
  >
160
- This is a test
161
- </Text>
317
+ <Text
318
+ style={
319
+ [
320
+ {
321
+ "color": "#001f23",
322
+ "fontFamily": "BeVietnamPro-Regular",
323
+ "fontSize": 14,
324
+ "letterSpacing": 0.42,
325
+ "lineHeight": 22,
326
+ },
327
+ undefined,
328
+ ]
329
+ }
330
+ themeFontSize="medium"
331
+ themeFontWeight="regular"
332
+ themeIntent="body"
333
+ themeTypeface="neutral"
334
+ >
335
+ This is a test
336
+ </Text>
337
+ <View
338
+ pointerEvents="box-none"
339
+ position="bottom"
340
+ style={
341
+ [
342
+ {
343
+ "bottom": 0,
344
+ "elevation": 9999,
345
+ "flexDirection": "column-reverse",
346
+ "left": 0,
347
+ "paddingHorizontal": 24,
348
+ "paddingVertical": 16,
349
+ "position": "absolute",
350
+ "right": 0,
351
+ "top": 0,
352
+ },
353
+ undefined,
354
+ ]
355
+ }
356
+ />
357
+ </View>
162
358
  `;
163
359
 
164
360
  exports[`StyledText has neutral typeface style 1`] = `
165
- <Text
361
+ <View
166
362
  style={
167
- [
168
- {
169
- "color": "#001f23",
170
- "fontFamily": "BeVietnamPro-Regular",
171
- "fontSize": 14,
172
- "letterSpacing": 0.42,
173
- "lineHeight": 22,
174
- },
175
- undefined,
176
- ]
363
+ {
364
+ "flex": 1,
365
+ }
177
366
  }
178
- themeFontSize="medium"
179
- themeFontWeight="regular"
180
- themeIntent="body"
181
- themeTypeface="neutral"
182
367
  >
183
- This is a test
184
- </Text>
368
+ <Text
369
+ style={
370
+ [
371
+ {
372
+ "color": "#001f23",
373
+ "fontFamily": "BeVietnamPro-Regular",
374
+ "fontSize": 14,
375
+ "letterSpacing": 0.42,
376
+ "lineHeight": 22,
377
+ },
378
+ undefined,
379
+ ]
380
+ }
381
+ themeFontSize="medium"
382
+ themeFontWeight="regular"
383
+ themeIntent="body"
384
+ themeTypeface="neutral"
385
+ >
386
+ This is a test
387
+ </Text>
388
+ <View
389
+ pointerEvents="box-none"
390
+ position="bottom"
391
+ style={
392
+ [
393
+ {
394
+ "bottom": 0,
395
+ "elevation": 9999,
396
+ "flexDirection": "column-reverse",
397
+ "left": 0,
398
+ "paddingHorizontal": 24,
399
+ "paddingVertical": 16,
400
+ "position": "absolute",
401
+ "right": 0,
402
+ "top": 0,
403
+ },
404
+ undefined,
405
+ ]
406
+ }
407
+ />
408
+ </View>
185
409
  `;
186
410
 
187
411
  exports[`StyledText has playful typeface style 1`] = `
188
- <Text
412
+ <View
189
413
  style={
190
- [
191
- {
192
- "color": "#001f23",
193
- "fontFamily": "RebondGrotesque",
194
- "fontSize": 14,
195
- "letterSpacing": 0.42,
196
- "lineHeight": 22,
197
- },
198
- undefined,
199
- ]
414
+ {
415
+ "flex": 1,
416
+ }
200
417
  }
201
- themeFontSize="medium"
202
- themeFontWeight="regular"
203
- themeIntent="body"
204
- themeTypeface="playful"
205
418
  >
206
- This is a test
207
- </Text>
419
+ <Text
420
+ style={
421
+ [
422
+ {
423
+ "color": "#001f23",
424
+ "fontFamily": "RebondGrotesque",
425
+ "fontSize": 14,
426
+ "letterSpacing": 0.42,
427
+ "lineHeight": 22,
428
+ },
429
+ undefined,
430
+ ]
431
+ }
432
+ themeFontSize="medium"
433
+ themeFontWeight="regular"
434
+ themeIntent="body"
435
+ themeTypeface="playful"
436
+ >
437
+ This is a test
438
+ </Text>
439
+ <View
440
+ pointerEvents="box-none"
441
+ position="bottom"
442
+ style={
443
+ [
444
+ {
445
+ "bottom": 0,
446
+ "elevation": 9999,
447
+ "flexDirection": "column-reverse",
448
+ "left": 0,
449
+ "paddingHorizontal": 24,
450
+ "paddingVertical": 16,
451
+ "position": "absolute",
452
+ "right": 0,
453
+ "top": 0,
454
+ },
455
+ undefined,
456
+ ]
457
+ }
458
+ />
459
+ </View>
208
460
  `;
209
461
 
210
462
  exports[`StyledText has primary intent style 1`] = `
211
- <Text
463
+ <View
212
464
  style={
213
- [
214
- {
215
- "color": "#401960",
216
- "fontFamily": "BeVietnamPro-Regular",
217
- "fontSize": 14,
218
- "letterSpacing": 0.42,
219
- "lineHeight": 22,
220
- },
221
- undefined,
222
- ]
465
+ {
466
+ "flex": 1,
467
+ }
223
468
  }
224
- themeFontSize="medium"
225
- themeFontWeight="regular"
226
- themeIntent="primary"
227
- themeTypeface="neutral"
228
469
  >
229
- This is a test
230
- </Text>
470
+ <Text
471
+ style={
472
+ [
473
+ {
474
+ "color": "#401960",
475
+ "fontFamily": "BeVietnamPro-Regular",
476
+ "fontSize": 14,
477
+ "letterSpacing": 0.42,
478
+ "lineHeight": 22,
479
+ },
480
+ undefined,
481
+ ]
482
+ }
483
+ themeFontSize="medium"
484
+ themeFontWeight="regular"
485
+ themeIntent="primary"
486
+ themeTypeface="neutral"
487
+ >
488
+ This is a test
489
+ </Text>
490
+ <View
491
+ pointerEvents="box-none"
492
+ position="bottom"
493
+ style={
494
+ [
495
+ {
496
+ "bottom": 0,
497
+ "elevation": 9999,
498
+ "flexDirection": "column-reverse",
499
+ "left": 0,
500
+ "paddingHorizontal": 24,
501
+ "paddingVertical": 16,
502
+ "position": "absolute",
503
+ "right": 0,
504
+ "top": 0,
505
+ },
506
+ undefined,
507
+ ]
508
+ }
509
+ />
510
+ </View>
231
511
  `;
232
512
 
233
513
  exports[`StyledText has regular fontWeight style 1`] = `
234
- <Text
514
+ <View
235
515
  style={
236
- [
237
- {
238
- "color": "#001f23",
239
- "fontFamily": "BeVietnamPro-Regular",
240
- "fontSize": 14,
241
- "letterSpacing": 0.42,
242
- "lineHeight": 22,
243
- },
244
- undefined,
245
- ]
516
+ {
517
+ "flex": 1,
518
+ }
246
519
  }
247
- themeFontSize="medium"
248
- themeFontWeight="regular"
249
- themeIntent="body"
250
- themeTypeface="neutral"
251
520
  >
252
- This is a test
253
- </Text>
521
+ <Text
522
+ style={
523
+ [
524
+ {
525
+ "color": "#001f23",
526
+ "fontFamily": "BeVietnamPro-Regular",
527
+ "fontSize": 14,
528
+ "letterSpacing": 0.42,
529
+ "lineHeight": 22,
530
+ },
531
+ undefined,
532
+ ]
533
+ }
534
+ themeFontSize="medium"
535
+ themeFontWeight="regular"
536
+ themeIntent="body"
537
+ themeTypeface="neutral"
538
+ >
539
+ This is a test
540
+ </Text>
541
+ <View
542
+ pointerEvents="box-none"
543
+ position="bottom"
544
+ style={
545
+ [
546
+ {
547
+ "bottom": 0,
548
+ "elevation": 9999,
549
+ "flexDirection": "column-reverse",
550
+ "left": 0,
551
+ "paddingHorizontal": 24,
552
+ "paddingVertical": 16,
553
+ "position": "absolute",
554
+ "right": 0,
555
+ "top": 0,
556
+ },
557
+ undefined,
558
+ ]
559
+ }
560
+ />
561
+ </View>
254
562
  `;
255
563
 
256
564
  exports[`StyledText has semi-bold fontWeight style 1`] = `
257
- <Text
565
+ <View
258
566
  style={
259
- [
260
- {
261
- "color": "#001f23",
262
- "fontFamily": "BeVietnamPro-SemiBold",
263
- "fontSize": 14,
264
- "letterSpacing": 0.42,
265
- "lineHeight": 22,
266
- },
267
- undefined,
268
- ]
567
+ {
568
+ "flex": 1,
569
+ }
269
570
  }
270
- themeFontSize="medium"
271
- themeFontWeight="semi-bold"
272
- themeIntent="body"
273
- themeTypeface="neutral"
274
571
  >
275
- This is a test
276
- </Text>
572
+ <Text
573
+ style={
574
+ [
575
+ {
576
+ "color": "#001f23",
577
+ "fontFamily": "BeVietnamPro-SemiBold",
578
+ "fontSize": 14,
579
+ "letterSpacing": 0.42,
580
+ "lineHeight": 22,
581
+ },
582
+ undefined,
583
+ ]
584
+ }
585
+ themeFontSize="medium"
586
+ themeFontWeight="semi-bold"
587
+ themeIntent="body"
588
+ themeTypeface="neutral"
589
+ >
590
+ This is a test
591
+ </Text>
592
+ <View
593
+ pointerEvents="box-none"
594
+ position="bottom"
595
+ style={
596
+ [
597
+ {
598
+ "bottom": 0,
599
+ "elevation": 9999,
600
+ "flexDirection": "column-reverse",
601
+ "left": 0,
602
+ "paddingHorizontal": 24,
603
+ "paddingVertical": 16,
604
+ "position": "absolute",
605
+ "right": 0,
606
+ "top": 0,
607
+ },
608
+ undefined,
609
+ ]
610
+ }
611
+ />
612
+ </View>
277
613
  `;
278
614
 
279
615
  exports[`StyledText has small fontSize style 1`] = `
280
- <Text
616
+ <View
281
617
  style={
282
- [
283
- {
284
- "color": "#001f23",
285
- "fontFamily": "BeVietnamPro-Regular",
286
- "fontSize": 12,
287
- "letterSpacing": 0.36,
288
- "lineHeight": 16,
289
- },
290
- undefined,
291
- ]
618
+ {
619
+ "flex": 1,
620
+ }
292
621
  }
293
- themeFontSize="small"
294
- themeFontWeight="regular"
295
- themeIntent="body"
296
- themeTypeface="neutral"
297
622
  >
298
- This is a test
299
- </Text>
623
+ <Text
624
+ style={
625
+ [
626
+ {
627
+ "color": "#001f23",
628
+ "fontFamily": "BeVietnamPro-Regular",
629
+ "fontSize": 12,
630
+ "letterSpacing": 0.36,
631
+ "lineHeight": 16,
632
+ },
633
+ undefined,
634
+ ]
635
+ }
636
+ themeFontSize="small"
637
+ themeFontWeight="regular"
638
+ themeIntent="body"
639
+ themeTypeface="neutral"
640
+ >
641
+ This is a test
642
+ </Text>
643
+ <View
644
+ pointerEvents="box-none"
645
+ position="bottom"
646
+ style={
647
+ [
648
+ {
649
+ "bottom": 0,
650
+ "elevation": 9999,
651
+ "flexDirection": "column-reverse",
652
+ "left": 0,
653
+ "paddingHorizontal": 24,
654
+ "paddingVertical": 16,
655
+ "position": "absolute",
656
+ "right": 0,
657
+ "top": 0,
658
+ },
659
+ undefined,
660
+ ]
661
+ }
662
+ />
663
+ </View>
300
664
  `;
301
665
 
302
666
  exports[`StyledText has subdued intent style 1`] = `
303
- <Text
667
+ <View
304
668
  style={
305
- [
306
- {
307
- "color": "#4d6265",
308
- "fontFamily": "BeVietnamPro-Regular",
309
- "fontSize": 14,
310
- "letterSpacing": 0.42,
311
- "lineHeight": 22,
312
- },
313
- undefined,
314
- ]
669
+ {
670
+ "flex": 1,
671
+ }
315
672
  }
316
- themeFontSize="medium"
317
- themeFontWeight="regular"
318
- themeIntent="subdued"
319
- themeTypeface="neutral"
320
673
  >
321
- This is a test
322
- </Text>
674
+ <Text
675
+ style={
676
+ [
677
+ {
678
+ "color": "#4d6265",
679
+ "fontFamily": "BeVietnamPro-Regular",
680
+ "fontSize": 14,
681
+ "letterSpacing": 0.42,
682
+ "lineHeight": 22,
683
+ },
684
+ undefined,
685
+ ]
686
+ }
687
+ themeFontSize="medium"
688
+ themeFontWeight="regular"
689
+ themeIntent="subdued"
690
+ themeTypeface="neutral"
691
+ >
692
+ This is a test
693
+ </Text>
694
+ <View
695
+ pointerEvents="box-none"
696
+ position="bottom"
697
+ style={
698
+ [
699
+ {
700
+ "bottom": 0,
701
+ "elevation": 9999,
702
+ "flexDirection": "column-reverse",
703
+ "left": 0,
704
+ "paddingHorizontal": 24,
705
+ "paddingVertical": 16,
706
+ "position": "absolute",
707
+ "right": 0,
708
+ "top": 0,
709
+ },
710
+ undefined,
711
+ ]
712
+ }
713
+ />
714
+ </View>
323
715
  `;
324
716
 
325
717
  exports[`StyledText has success intent style 1`] = `
326
- <Text
718
+ <View
327
719
  style={
328
- [
329
- {
330
- "color": "#5ace7d",
331
- "fontFamily": "BeVietnamPro-Regular",
332
- "fontSize": 14,
333
- "letterSpacing": 0.42,
334
- "lineHeight": 22,
335
- },
336
- undefined,
337
- ]
720
+ {
721
+ "flex": 1,
722
+ }
338
723
  }
339
- themeFontSize="medium"
340
- themeFontWeight="regular"
341
- themeIntent="success"
342
- themeTypeface="neutral"
343
724
  >
344
- This is a test
345
- </Text>
725
+ <Text
726
+ style={
727
+ [
728
+ {
729
+ "color": "#5ace7d",
730
+ "fontFamily": "BeVietnamPro-Regular",
731
+ "fontSize": 14,
732
+ "letterSpacing": 0.42,
733
+ "lineHeight": 22,
734
+ },
735
+ undefined,
736
+ ]
737
+ }
738
+ themeFontSize="medium"
739
+ themeFontWeight="regular"
740
+ themeIntent="success"
741
+ themeTypeface="neutral"
742
+ >
743
+ This is a test
744
+ </Text>
745
+ <View
746
+ pointerEvents="box-none"
747
+ position="bottom"
748
+ style={
749
+ [
750
+ {
751
+ "bottom": 0,
752
+ "elevation": 9999,
753
+ "flexDirection": "column-reverse",
754
+ "left": 0,
755
+ "paddingHorizontal": 24,
756
+ "paddingVertical": 16,
757
+ "position": "absolute",
758
+ "right": 0,
759
+ "top": 0,
760
+ },
761
+ undefined,
762
+ ]
763
+ }
764
+ />
765
+ </View>
346
766
  `;
347
767
 
348
768
  exports[`StyledText has warning intent style 1`] = `
349
- <Text
769
+ <View
350
770
  style={
351
- [
352
- {
353
- "color": "#ffbe71",
354
- "fontFamily": "BeVietnamPro-Regular",
355
- "fontSize": 14,
356
- "letterSpacing": 0.42,
357
- "lineHeight": 22,
358
- },
359
- undefined,
360
- ]
771
+ {
772
+ "flex": 1,
773
+ }
361
774
  }
362
- themeFontSize="medium"
363
- themeFontWeight="regular"
364
- themeIntent="warning"
365
- themeTypeface="neutral"
366
775
  >
367
- This is a test
368
- </Text>
776
+ <Text
777
+ style={
778
+ [
779
+ {
780
+ "color": "#ffbe71",
781
+ "fontFamily": "BeVietnamPro-Regular",
782
+ "fontSize": 14,
783
+ "letterSpacing": 0.42,
784
+ "lineHeight": 22,
785
+ },
786
+ undefined,
787
+ ]
788
+ }
789
+ themeFontSize="medium"
790
+ themeFontWeight="regular"
791
+ themeIntent="warning"
792
+ themeTypeface="neutral"
793
+ >
794
+ This is a test
795
+ </Text>
796
+ <View
797
+ pointerEvents="box-none"
798
+ position="bottom"
799
+ style={
800
+ [
801
+ {
802
+ "bottom": 0,
803
+ "elevation": 9999,
804
+ "flexDirection": "column-reverse",
805
+ "left": 0,
806
+ "paddingHorizontal": 24,
807
+ "paddingVertical": 16,
808
+ "position": "absolute",
809
+ "right": 0,
810
+ "top": 0,
811
+ },
812
+ undefined,
813
+ ]
814
+ }
815
+ />
816
+ </View>
369
817
  `;
370
818
 
371
819
  exports[`StyledText has xlarge fontSize style 1`] = `
372
- <Text
820
+ <View
373
821
  style={
374
- [
375
- {
376
- "color": "#001f23",
377
- "fontFamily": "BeVietnamPro-Regular",
378
- "fontSize": 18,
379
- "letterSpacing": 0.54,
380
- "lineHeight": 26,
381
- },
382
- undefined,
383
- ]
822
+ {
823
+ "flex": 1,
824
+ }
384
825
  }
385
- themeFontSize="xlarge"
386
- themeFontWeight="regular"
387
- themeIntent="body"
388
- themeTypeface="neutral"
389
826
  >
390
- This is a test
391
- </Text>
827
+ <Text
828
+ style={
829
+ [
830
+ {
831
+ "color": "#001f23",
832
+ "fontFamily": "BeVietnamPro-Regular",
833
+ "fontSize": 18,
834
+ "letterSpacing": 0.54,
835
+ "lineHeight": 26,
836
+ },
837
+ undefined,
838
+ ]
839
+ }
840
+ themeFontSize="xlarge"
841
+ themeFontWeight="regular"
842
+ themeIntent="body"
843
+ themeTypeface="neutral"
844
+ >
845
+ This is a test
846
+ </Text>
847
+ <View
848
+ pointerEvents="box-none"
849
+ position="bottom"
850
+ style={
851
+ [
852
+ {
853
+ "bottom": 0,
854
+ "elevation": 9999,
855
+ "flexDirection": "column-reverse",
856
+ "left": 0,
857
+ "paddingHorizontal": 24,
858
+ "paddingVertical": 16,
859
+ "position": "absolute",
860
+ "right": 0,
861
+ "top": 0,
862
+ },
863
+ undefined,
864
+ ]
865
+ }
866
+ />
867
+ </View>
392
868
  `;
393
869
 
394
870
  exports[`StyledText has xsmall fontSize style 1`] = `
395
- <Text
871
+ <View
396
872
  style={
397
- [
398
- {
399
- "color": "#001f23",
400
- "fontFamily": "BeVietnamPro-Regular",
401
- "fontSize": 10,
402
- "letterSpacing": 0.3,
403
- "lineHeight": 14,
404
- },
405
- undefined,
406
- ]
873
+ {
874
+ "flex": 1,
875
+ }
407
876
  }
408
- themeFontSize="xsmall"
409
- themeFontWeight="regular"
410
- themeIntent="body"
411
- themeTypeface="neutral"
412
877
  >
413
- This is a test
414
- </Text>
878
+ <Text
879
+ style={
880
+ [
881
+ {
882
+ "color": "#001f23",
883
+ "fontFamily": "BeVietnamPro-Regular",
884
+ "fontSize": 10,
885
+ "letterSpacing": 0.3,
886
+ "lineHeight": 14,
887
+ },
888
+ undefined,
889
+ ]
890
+ }
891
+ themeFontSize="xsmall"
892
+ themeFontWeight="regular"
893
+ themeIntent="body"
894
+ themeTypeface="neutral"
895
+ >
896
+ This is a test
897
+ </Text>
898
+ <View
899
+ pointerEvents="box-none"
900
+ position="bottom"
901
+ style={
902
+ [
903
+ {
904
+ "bottom": 0,
905
+ "elevation": 9999,
906
+ "flexDirection": "column-reverse",
907
+ "left": 0,
908
+ "paddingHorizontal": 24,
909
+ "paddingVertical": 16,
910
+ "position": "absolute",
911
+ "right": 0,
912
+ "top": 0,
913
+ },
914
+ undefined,
915
+ ]
916
+ }
917
+ />
918
+ </View>
415
919
  `;
416
920
 
417
921
  exports[`StyledText has xxxlarge fontSize style 1`] = `
418
- <Text
922
+ <View
419
923
  style={
420
- [
421
- {
422
- "color": "#001f23",
423
- "fontFamily": "BeVietnamPro-Regular",
424
- "fontSize": 24,
425
- "letterSpacing": 0.72,
426
- "lineHeight": 32,
427
- },
428
- undefined,
429
- ]
924
+ {
925
+ "flex": 1,
926
+ }
430
927
  }
431
- themeFontSize="xxxlarge"
432
- themeFontWeight="regular"
433
- themeIntent="body"
434
- themeTypeface="neutral"
435
928
  >
436
- This is a test
437
- </Text>
929
+ <Text
930
+ style={
931
+ [
932
+ {
933
+ "color": "#001f23",
934
+ "fontFamily": "BeVietnamPro-Regular",
935
+ "fontSize": 24,
936
+ "letterSpacing": 0.72,
937
+ "lineHeight": 32,
938
+ },
939
+ undefined,
940
+ ]
941
+ }
942
+ themeFontSize="xxxlarge"
943
+ themeFontWeight="regular"
944
+ themeIntent="body"
945
+ themeTypeface="neutral"
946
+ >
947
+ This is a test
948
+ </Text>
949
+ <View
950
+ pointerEvents="box-none"
951
+ position="bottom"
952
+ style={
953
+ [
954
+ {
955
+ "bottom": 0,
956
+ "elevation": 9999,
957
+ "flexDirection": "column-reverse",
958
+ "left": 0,
959
+ "paddingHorizontal": 24,
960
+ "paddingVertical": 16,
961
+ "position": "absolute",
962
+ "right": 0,
963
+ "top": 0,
964
+ },
965
+ undefined,
966
+ ]
967
+ }
968
+ />
969
+ </View>
438
970
  `;
439
971
 
440
972
  exports[`StyledText has xxxxxlarge fontSize style 1`] = `
441
- <Text
973
+ <View
442
974
  style={
443
- [
444
- {
445
- "color": "#001f23",
446
- "fontFamily": "BeVietnamPro-Regular",
447
- "fontSize": 32,
448
- "letterSpacing": 0.96,
449
- "lineHeight": 40,
450
- },
451
- undefined,
452
- ]
975
+ {
976
+ "flex": 1,
977
+ }
453
978
  }
454
- themeFontSize="xxxxxlarge"
455
- themeFontWeight="regular"
456
- themeIntent="body"
457
- themeTypeface="neutral"
458
979
  >
459
- This is a test
460
- </Text>
980
+ <Text
981
+ style={
982
+ [
983
+ {
984
+ "color": "#001f23",
985
+ "fontFamily": "BeVietnamPro-Regular",
986
+ "fontSize": 32,
987
+ "letterSpacing": 0.96,
988
+ "lineHeight": 40,
989
+ },
990
+ undefined,
991
+ ]
992
+ }
993
+ themeFontSize="xxxxxlarge"
994
+ themeFontWeight="regular"
995
+ themeIntent="body"
996
+ themeTypeface="neutral"
997
+ >
998
+ This is a test
999
+ </Text>
1000
+ <View
1001
+ pointerEvents="box-none"
1002
+ position="bottom"
1003
+ style={
1004
+ [
1005
+ {
1006
+ "bottom": 0,
1007
+ "elevation": 9999,
1008
+ "flexDirection": "column-reverse",
1009
+ "left": 0,
1010
+ "paddingHorizontal": 24,
1011
+ "paddingVertical": 16,
1012
+ "position": "absolute",
1013
+ "right": 0,
1014
+ "top": 0,
1015
+ },
1016
+ undefined,
1017
+ ]
1018
+ }
1019
+ />
1020
+ </View>
461
1021
  `;