@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
@@ -2,190 +2,284 @@
2
2
 
3
3
  exports[`Toast Icon render custom icon correctly 1`] = `
4
4
  <View
5
- collapsable={false}
6
5
  style={
7
6
  {
8
- "backgroundColor": "#b5c3fd",
9
- "borderRadius": 0,
10
- "elevation": 3,
11
- "flexDirection": "row",
12
- "minHeight": 48,
13
- "opacity": 0,
14
- "shadowColor": "#001f23",
15
- "shadowOffset": {
16
- "height": 2,
17
- "width": 0,
18
- },
19
- "shadowOpacity": 0.12,
20
- "shadowRadius": 4,
21
- "transform": [
22
- {
23
- "translateY": 20,
24
- },
25
- ],
7
+ "flex": 1,
26
8
  }
27
9
  }
28
- themeIntent="info"
29
- themeVariant="default"
30
10
  >
31
11
  <View
32
- showDivider={false}
12
+ collapsable={false}
33
13
  style={
34
- [
35
- {
36
- "borderColor": "#e8e9ea",
37
- "borderRightWidth": 0,
38
- "flex": 1,
39
- "flexDirection": "row",
40
- "paddingVertical": 12,
14
+ {
15
+ "backgroundColor": "#b5c3fd",
16
+ "borderRadius": 0,
17
+ "elevation": 3,
18
+ "flexDirection": "row",
19
+ "minHeight": 48,
20
+ "opacity": 0,
21
+ "shadowColor": "#001f23",
22
+ "shadowOffset": {
23
+ "height": 2,
24
+ "width": 0,
41
25
  },
42
- undefined,
43
- ]
26
+ "shadowOpacity": 0.12,
27
+ "shadowRadius": 4,
28
+ "transform": [
29
+ {
30
+ "translateY": 20,
31
+ },
32
+ ],
33
+ }
44
34
  }
35
+ themeIntent="info"
36
+ themeVariant="default"
45
37
  >
46
38
  <View
39
+ showDivider={false}
47
40
  style={
48
41
  [
49
42
  {
50
- "alignItems": "center",
51
- "paddingLeft": 12,
43
+ "borderColor": "#e8e9ea",
44
+ "borderRightWidth": 0,
45
+ "flex": 1,
46
+ "flexDirection": "row",
47
+ "paddingVertical": 12,
52
48
  },
53
49
  undefined,
54
50
  ]
55
51
  }
56
- testID="toast-left-icon"
57
52
  >
58
- <HeroIcon
59
- name="home"
53
+ <View
60
54
  style={
61
55
  [
62
56
  {
63
- "color": "#001f23",
64
- "fontSize": 20,
57
+ "alignItems": "center",
58
+ "paddingLeft": 12,
65
59
  },
66
60
  undefined,
67
61
  ]
68
62
  }
69
- themeIntent="text"
70
- themeSize="small"
71
- />
72
- </View>
73
- <View
74
- style={
75
- [
76
- {
77
- "flex": 1,
78
- "paddingHorizontal": 12,
79
- },
80
- undefined,
81
- ]
82
- }
83
- >
84
- <Text
85
- allowFontScaling={false}
63
+ testID="toast-left-icon"
64
+ >
65
+ <HeroIcon
66
+ name="home"
67
+ style={
68
+ [
69
+ {
70
+ "color": "#001f23",
71
+ "fontSize": 20,
72
+ },
73
+ undefined,
74
+ ]
75
+ }
76
+ themeIntent="text"
77
+ themeSize="small"
78
+ />
79
+ </View>
80
+ <View
86
81
  style={
87
82
  [
88
83
  {
89
- "color": "#001f23",
90
- "fontFamily": "BeVietnamPro-Regular",
91
- "fontSize": 14,
92
- "letterSpacing": 0.48,
93
- "lineHeight": 22,
84
+ "flex": 1,
85
+ "paddingHorizontal": 12,
94
86
  },
95
87
  undefined,
96
88
  ]
97
89
  }
98
- themeIntent="body"
99
- themeTypeface="neutral"
100
- themeVariant="small"
101
90
  >
102
- Content
103
- </Text>
91
+ <Text
92
+ allowFontScaling={false}
93
+ style={
94
+ [
95
+ {
96
+ "color": "#001f23",
97
+ "fontFamily": "BeVietnamPro-Regular",
98
+ "fontSize": 14,
99
+ "letterSpacing": 0.48,
100
+ "lineHeight": 22,
101
+ },
102
+ undefined,
103
+ ]
104
+ }
105
+ themeIntent="body"
106
+ themeTypeface="neutral"
107
+ themeVariant="small"
108
+ >
109
+ Content
110
+ </Text>
111
+ </View>
104
112
  </View>
105
113
  </View>
114
+ <View
115
+ pointerEvents="box-none"
116
+ position="bottom"
117
+ style={
118
+ [
119
+ {
120
+ "bottom": 0,
121
+ "elevation": 9999,
122
+ "flexDirection": "column-reverse",
123
+ "left": 0,
124
+ "paddingHorizontal": 24,
125
+ "paddingVertical": 16,
126
+ "position": "absolute",
127
+ "right": 0,
128
+ "top": 0,
129
+ },
130
+ undefined,
131
+ ]
132
+ }
133
+ />
106
134
  </View>
107
135
  `;
108
136
 
109
137
  exports[`Toast renders correctly when intent is error 1`] = `
110
138
  <View
111
- collapsable={false}
112
139
  style={
113
140
  {
114
- "backgroundColor": "#f46363",
115
- "borderRadius": 0,
116
- "elevation": 3,
117
- "flexDirection": "row",
118
- "minHeight": 48,
119
- "opacity": 0,
120
- "shadowColor": "#001f23",
121
- "shadowOffset": {
122
- "height": 2,
123
- "width": 0,
124
- },
125
- "shadowOpacity": 0.12,
126
- "shadowRadius": 4,
127
- "transform": [
128
- {
129
- "translateY": 20,
130
- },
131
- ],
141
+ "flex": 1,
132
142
  }
133
143
  }
134
- themeIntent="error"
135
- themeVariant="default"
136
144
  >
137
145
  <View
138
- showDivider={true}
146
+ collapsable={false}
139
147
  style={
140
- [
141
- {
142
- "borderColor": "#e8e9ea",
143
- "borderRightWidth": 1,
144
- "flex": 1,
145
- "flexDirection": "row",
146
- "paddingVertical": 12,
148
+ {
149
+ "backgroundColor": "#f46363",
150
+ "borderRadius": 0,
151
+ "elevation": 3,
152
+ "flexDirection": "row",
153
+ "minHeight": 48,
154
+ "opacity": 0,
155
+ "shadowColor": "#001f23",
156
+ "shadowOffset": {
157
+ "height": 2,
158
+ "width": 0,
147
159
  },
148
- undefined,
149
- ]
160
+ "shadowOpacity": 0.12,
161
+ "shadowRadius": 4,
162
+ "transform": [
163
+ {
164
+ "translateY": 20,
165
+ },
166
+ ],
167
+ }
150
168
  }
169
+ themeIntent="error"
170
+ themeVariant="default"
151
171
  >
152
172
  <View
173
+ showDivider={true}
153
174
  style={
154
175
  [
155
176
  {
156
- "alignItems": "center",
157
- "paddingLeft": 12,
177
+ "borderColor": "#e8e9ea",
178
+ "borderRightWidth": 1,
179
+ "flex": 1,
180
+ "flexDirection": "row",
181
+ "paddingVertical": 12,
158
182
  },
159
183
  undefined,
160
184
  ]
161
185
  }
162
- testID="toast-left-icon"
163
186
  >
164
- <HeroIcon
165
- name="circle-warning"
187
+ <View
166
188
  style={
167
189
  [
168
190
  {
169
- "color": "#001f23",
170
- "fontSize": 20,
191
+ "alignItems": "center",
192
+ "paddingLeft": 12,
171
193
  },
172
194
  undefined,
173
195
  ]
174
196
  }
175
- themeIntent="text"
176
- themeSize="small"
177
- />
197
+ testID="toast-left-icon"
198
+ >
199
+ <HeroIcon
200
+ name="circle-warning"
201
+ style={
202
+ [
203
+ {
204
+ "color": "#001f23",
205
+ "fontSize": 20,
206
+ },
207
+ undefined,
208
+ ]
209
+ }
210
+ themeIntent="text"
211
+ themeSize="small"
212
+ />
213
+ </View>
214
+ <View
215
+ style={
216
+ [
217
+ {
218
+ "flex": 1,
219
+ "paddingHorizontal": 12,
220
+ },
221
+ undefined,
222
+ ]
223
+ }
224
+ >
225
+ <Text
226
+ allowFontScaling={false}
227
+ style={
228
+ [
229
+ {
230
+ "color": "#001f23",
231
+ "fontFamily": "BeVietnamPro-Regular",
232
+ "fontSize": 14,
233
+ "letterSpacing": 0.48,
234
+ "lineHeight": 22,
235
+ },
236
+ undefined,
237
+ ]
238
+ }
239
+ themeIntent="body"
240
+ themeTypeface="neutral"
241
+ themeVariant="small"
242
+ >
243
+ Toast Content
244
+ </Text>
245
+ </View>
178
246
  </View>
179
247
  <View
248
+ accessibilityState={
249
+ {
250
+ "busy": undefined,
251
+ "checked": undefined,
252
+ "disabled": undefined,
253
+ "expanded": undefined,
254
+ "selected": undefined,
255
+ }
256
+ }
257
+ accessibilityValue={
258
+ {
259
+ "max": undefined,
260
+ "min": undefined,
261
+ "now": undefined,
262
+ "text": undefined,
263
+ }
264
+ }
265
+ accessible={true}
266
+ collapsable={false}
267
+ focusable={true}
268
+ onClick={[Function]}
269
+ onResponderGrant={[Function]}
270
+ onResponderMove={[Function]}
271
+ onResponderRelease={[Function]}
272
+ onResponderTerminate={[Function]}
273
+ onResponderTerminationRequest={[Function]}
274
+ onStartShouldSetResponder={[Function]}
180
275
  style={
181
- [
182
- {
183
- "flex": 1,
184
- "paddingHorizontal": 12,
185
- },
186
- undefined,
187
- ]
276
+ {
277
+ "justifyContent": "center",
278
+ "opacity": 1,
279
+ "paddingHorizontal": 12,
280
+ }
188
281
  }
282
+ testID="toast-action-button"
189
283
  >
190
284
  <Text
191
285
  allowFontScaling={false}
@@ -193,9 +287,9 @@ exports[`Toast renders correctly when intent is error 1`] = `
193
287
  [
194
288
  {
195
289
  "color": "#001f23",
196
- "fontFamily": "BeVietnamPro-Regular",
290
+ "fontFamily": "BeVietnamPro-SemiBold",
197
291
  "fontSize": 14,
198
- "letterSpacing": 0.48,
292
+ "letterSpacing": 0.24,
199
293
  "lineHeight": 22,
200
294
  },
201
295
  undefined,
@@ -203,136 +297,181 @@ exports[`Toast renders correctly when intent is error 1`] = `
203
297
  }
204
298
  themeIntent="body"
205
299
  themeTypeface="neutral"
206
- themeVariant="small"
300
+ themeVariant="small-bold"
207
301
  >
208
- Toast Content
302
+ Action
209
303
  </Text>
210
304
  </View>
211
305
  </View>
212
306
  <View
213
- accessible={true}
214
- collapsable={false}
215
- focusable={true}
216
- onClick={[Function]}
217
- onResponderGrant={[Function]}
218
- onResponderMove={[Function]}
219
- onResponderRelease={[Function]}
220
- onResponderTerminate={[Function]}
221
- onResponderTerminationRequest={[Function]}
222
- onStartShouldSetResponder={[Function]}
307
+ pointerEvents="box-none"
308
+ position="bottom"
223
309
  style={
224
- {
225
- "justifyContent": "center",
226
- "opacity": 1,
227
- "paddingHorizontal": 12,
228
- }
310
+ [
311
+ {
312
+ "bottom": 0,
313
+ "elevation": 9999,
314
+ "flexDirection": "column-reverse",
315
+ "left": 0,
316
+ "paddingHorizontal": 24,
317
+ "paddingVertical": 16,
318
+ "position": "absolute",
319
+ "right": 0,
320
+ "top": 0,
321
+ },
322
+ undefined,
323
+ ]
229
324
  }
230
- testID="toast-action-button"
231
- >
232
- <Text
233
- allowFontScaling={false}
234
- style={
235
- [
236
- {
237
- "color": "#001f23",
238
- "fontFamily": "BeVietnamPro-SemiBold",
239
- "fontSize": 14,
240
- "letterSpacing": 0.24,
241
- "lineHeight": 22,
242
- },
243
- undefined,
244
- ]
245
- }
246
- themeIntent="body"
247
- themeTypeface="neutral"
248
- themeVariant="small-bold"
249
- >
250
- Action
251
- </Text>
252
- </View>
325
+ />
253
326
  </View>
254
327
  `;
255
328
 
256
329
  exports[`Toast renders correctly when intent is info 1`] = `
257
330
  <View
258
- collapsable={false}
259
331
  style={
260
332
  {
261
- "backgroundColor": "#b5c3fd",
262
- "borderRadius": 0,
263
- "elevation": 3,
264
- "flexDirection": "row",
265
- "minHeight": 48,
266
- "opacity": 0,
267
- "shadowColor": "#001f23",
268
- "shadowOffset": {
269
- "height": 2,
270
- "width": 0,
271
- },
272
- "shadowOpacity": 0.12,
273
- "shadowRadius": 4,
274
- "transform": [
275
- {
276
- "translateY": 20,
277
- },
278
- ],
333
+ "flex": 1,
279
334
  }
280
335
  }
281
- themeIntent="info"
282
- themeVariant="default"
283
336
  >
284
337
  <View
285
- showDivider={true}
338
+ collapsable={false}
286
339
  style={
287
- [
288
- {
289
- "borderColor": "#e8e9ea",
290
- "borderRightWidth": 1,
291
- "flex": 1,
292
- "flexDirection": "row",
293
- "paddingVertical": 12,
340
+ {
341
+ "backgroundColor": "#b5c3fd",
342
+ "borderRadius": 0,
343
+ "elevation": 3,
344
+ "flexDirection": "row",
345
+ "minHeight": 48,
346
+ "opacity": 0,
347
+ "shadowColor": "#001f23",
348
+ "shadowOffset": {
349
+ "height": 2,
350
+ "width": 0,
294
351
  },
295
- undefined,
296
- ]
352
+ "shadowOpacity": 0.12,
353
+ "shadowRadius": 4,
354
+ "transform": [
355
+ {
356
+ "translateY": 20,
357
+ },
358
+ ],
359
+ }
297
360
  }
361
+ themeIntent="info"
362
+ themeVariant="default"
298
363
  >
299
364
  <View
365
+ showDivider={true}
300
366
  style={
301
367
  [
302
368
  {
303
- "alignItems": "center",
304
- "paddingLeft": 12,
369
+ "borderColor": "#e8e9ea",
370
+ "borderRightWidth": 1,
371
+ "flex": 1,
372
+ "flexDirection": "row",
373
+ "paddingVertical": 12,
305
374
  },
306
375
  undefined,
307
376
  ]
308
377
  }
309
- testID="toast-left-icon"
310
378
  >
311
- <HeroIcon
312
- name="circle-info"
379
+ <View
313
380
  style={
314
381
  [
315
382
  {
316
- "color": "#001f23",
317
- "fontSize": 20,
383
+ "alignItems": "center",
384
+ "paddingLeft": 12,
318
385
  },
319
386
  undefined,
320
387
  ]
321
388
  }
322
- themeIntent="text"
323
- themeSize="small"
324
- />
389
+ testID="toast-left-icon"
390
+ >
391
+ <HeroIcon
392
+ name="circle-info"
393
+ style={
394
+ [
395
+ {
396
+ "color": "#001f23",
397
+ "fontSize": 20,
398
+ },
399
+ undefined,
400
+ ]
401
+ }
402
+ themeIntent="text"
403
+ themeSize="small"
404
+ />
405
+ </View>
406
+ <View
407
+ style={
408
+ [
409
+ {
410
+ "flex": 1,
411
+ "paddingHorizontal": 12,
412
+ },
413
+ undefined,
414
+ ]
415
+ }
416
+ >
417
+ <Text
418
+ allowFontScaling={false}
419
+ style={
420
+ [
421
+ {
422
+ "color": "#001f23",
423
+ "fontFamily": "BeVietnamPro-Regular",
424
+ "fontSize": 14,
425
+ "letterSpacing": 0.48,
426
+ "lineHeight": 22,
427
+ },
428
+ undefined,
429
+ ]
430
+ }
431
+ themeIntent="body"
432
+ themeTypeface="neutral"
433
+ themeVariant="small"
434
+ >
435
+ Toast Content
436
+ </Text>
437
+ </View>
325
438
  </View>
326
439
  <View
440
+ accessibilityState={
441
+ {
442
+ "busy": undefined,
443
+ "checked": undefined,
444
+ "disabled": undefined,
445
+ "expanded": undefined,
446
+ "selected": undefined,
447
+ }
448
+ }
449
+ accessibilityValue={
450
+ {
451
+ "max": undefined,
452
+ "min": undefined,
453
+ "now": undefined,
454
+ "text": undefined,
455
+ }
456
+ }
457
+ accessible={true}
458
+ collapsable={false}
459
+ focusable={true}
460
+ onClick={[Function]}
461
+ onResponderGrant={[Function]}
462
+ onResponderMove={[Function]}
463
+ onResponderRelease={[Function]}
464
+ onResponderTerminate={[Function]}
465
+ onResponderTerminationRequest={[Function]}
466
+ onStartShouldSetResponder={[Function]}
327
467
  style={
328
- [
329
- {
330
- "flex": 1,
331
- "paddingHorizontal": 12,
332
- },
333
- undefined,
334
- ]
468
+ {
469
+ "justifyContent": "center",
470
+ "opacity": 1,
471
+ "paddingHorizontal": 12,
472
+ }
335
473
  }
474
+ testID="toast-action-button"
336
475
  >
337
476
  <Text
338
477
  allowFontScaling={false}
@@ -340,9 +479,9 @@ exports[`Toast renders correctly when intent is info 1`] = `
340
479
  [
341
480
  {
342
481
  "color": "#001f23",
343
- "fontFamily": "BeVietnamPro-Regular",
482
+ "fontFamily": "BeVietnamPro-SemiBold",
344
483
  "fontSize": 14,
345
- "letterSpacing": 0.48,
484
+ "letterSpacing": 0.24,
346
485
  "lineHeight": 22,
347
486
  },
348
487
  undefined,
@@ -350,109 +489,154 @@ exports[`Toast renders correctly when intent is info 1`] = `
350
489
  }
351
490
  themeIntent="body"
352
491
  themeTypeface="neutral"
353
- themeVariant="small"
492
+ themeVariant="small-bold"
354
493
  >
355
- Toast Content
494
+ Action
356
495
  </Text>
357
496
  </View>
358
497
  </View>
359
498
  <View
360
- accessible={true}
361
- collapsable={false}
362
- focusable={true}
363
- onClick={[Function]}
364
- onResponderGrant={[Function]}
365
- onResponderMove={[Function]}
366
- onResponderRelease={[Function]}
367
- onResponderTerminate={[Function]}
368
- onResponderTerminationRequest={[Function]}
369
- onStartShouldSetResponder={[Function]}
499
+ pointerEvents="box-none"
500
+ position="bottom"
370
501
  style={
371
- {
372
- "justifyContent": "center",
373
- "opacity": 1,
374
- "paddingHorizontal": 12,
375
- }
502
+ [
503
+ {
504
+ "bottom": 0,
505
+ "elevation": 9999,
506
+ "flexDirection": "column-reverse",
507
+ "left": 0,
508
+ "paddingHorizontal": 24,
509
+ "paddingVertical": 16,
510
+ "position": "absolute",
511
+ "right": 0,
512
+ "top": 0,
513
+ },
514
+ undefined,
515
+ ]
376
516
  }
377
- testID="toast-action-button"
378
- >
379
- <Text
380
- allowFontScaling={false}
381
- style={
382
- [
383
- {
384
- "color": "#001f23",
385
- "fontFamily": "BeVietnamPro-SemiBold",
386
- "fontSize": 14,
387
- "letterSpacing": 0.24,
388
- "lineHeight": 22,
389
- },
390
- undefined,
391
- ]
392
- }
393
- themeIntent="body"
394
- themeTypeface="neutral"
395
- themeVariant="small-bold"
396
- >
397
- Action
398
- </Text>
399
- </View>
517
+ />
400
518
  </View>
401
519
  `;
402
520
 
403
521
  exports[`Toast renders correctly when intent is notification 1`] = `
404
522
  <View
405
- collapsable={false}
406
523
  style={
407
524
  {
408
- "backgroundColor": "#ffffff",
409
- "borderRadius": 0,
410
- "elevation": 3,
411
- "flexDirection": "row",
412
- "minHeight": 48,
413
- "opacity": 0,
414
- "shadowColor": "#001f23",
415
- "shadowOffset": {
416
- "height": 2,
417
- "width": 0,
418
- },
419
- "shadowOpacity": 0.12,
420
- "shadowRadius": 4,
421
- "transform": [
422
- {
423
- "translateY": 20,
424
- },
425
- ],
525
+ "flex": 1,
426
526
  }
427
527
  }
428
- themeIntent="notification"
429
- themeVariant="default"
430
528
  >
431
529
  <View
432
- showDivider={true}
530
+ collapsable={false}
433
531
  style={
434
- [
435
- {
436
- "borderColor": "#e8e9ea",
437
- "borderRightWidth": 1,
438
- "flex": 1,
439
- "flexDirection": "row",
440
- "paddingVertical": 12,
532
+ {
533
+ "backgroundColor": "#ffffff",
534
+ "borderRadius": 0,
535
+ "elevation": 3,
536
+ "flexDirection": "row",
537
+ "minHeight": 48,
538
+ "opacity": 0,
539
+ "shadowColor": "#001f23",
540
+ "shadowOffset": {
541
+ "height": 2,
542
+ "width": 0,
441
543
  },
442
- undefined,
443
- ]
544
+ "shadowOpacity": 0.12,
545
+ "shadowRadius": 4,
546
+ "transform": [
547
+ {
548
+ "translateY": 20,
549
+ },
550
+ ],
551
+ }
444
552
  }
553
+ themeIntent="notification"
554
+ themeVariant="default"
445
555
  >
446
556
  <View
557
+ showDivider={true}
447
558
  style={
448
559
  [
449
560
  {
561
+ "borderColor": "#e8e9ea",
562
+ "borderRightWidth": 1,
450
563
  "flex": 1,
451
- "paddingHorizontal": 12,
564
+ "flexDirection": "row",
565
+ "paddingVertical": 12,
452
566
  },
453
567
  undefined,
454
568
  ]
455
569
  }
570
+ >
571
+ <View
572
+ style={
573
+ [
574
+ {
575
+ "flex": 1,
576
+ "paddingHorizontal": 12,
577
+ },
578
+ undefined,
579
+ ]
580
+ }
581
+ >
582
+ <Text
583
+ allowFontScaling={false}
584
+ style={
585
+ [
586
+ {
587
+ "color": "#001f23",
588
+ "fontFamily": "BeVietnamPro-Regular",
589
+ "fontSize": 14,
590
+ "letterSpacing": 0.48,
591
+ "lineHeight": 22,
592
+ },
593
+ undefined,
594
+ ]
595
+ }
596
+ themeIntent="body"
597
+ themeTypeface="neutral"
598
+ themeVariant="small"
599
+ >
600
+ Toast Content
601
+ </Text>
602
+ </View>
603
+ </View>
604
+ <View
605
+ accessibilityState={
606
+ {
607
+ "busy": undefined,
608
+ "checked": undefined,
609
+ "disabled": undefined,
610
+ "expanded": undefined,
611
+ "selected": undefined,
612
+ }
613
+ }
614
+ accessibilityValue={
615
+ {
616
+ "max": undefined,
617
+ "min": undefined,
618
+ "now": undefined,
619
+ "text": undefined,
620
+ }
621
+ }
622
+ accessible={true}
623
+ collapsable={false}
624
+ focusable={true}
625
+ onClick={[Function]}
626
+ onResponderGrant={[Function]}
627
+ onResponderMove={[Function]}
628
+ onResponderRelease={[Function]}
629
+ onResponderTerminate={[Function]}
630
+ onResponderTerminationRequest={[Function]}
631
+ onStartShouldSetResponder={[Function]}
632
+ style={
633
+ {
634
+ "justifyContent": "center",
635
+ "opacity": 1,
636
+ "paddingHorizontal": 12,
637
+ }
638
+ }
639
+ testID="toast-action-button"
456
640
  >
457
641
  <Text
458
642
  allowFontScaling={false}
@@ -460,9 +644,9 @@ exports[`Toast renders correctly when intent is notification 1`] = `
460
644
  [
461
645
  {
462
646
  "color": "#001f23",
463
- "fontFamily": "BeVietnamPro-Regular",
647
+ "fontFamily": "BeVietnamPro-SemiBold",
464
648
  "fontSize": 14,
465
- "letterSpacing": 0.48,
649
+ "letterSpacing": 0.24,
466
650
  "lineHeight": 22,
467
651
  },
468
652
  undefined,
@@ -470,109 +654,154 @@ exports[`Toast renders correctly when intent is notification 1`] = `
470
654
  }
471
655
  themeIntent="body"
472
656
  themeTypeface="neutral"
473
- themeVariant="small"
657
+ themeVariant="small-bold"
474
658
  >
475
- Toast Content
659
+ Action
476
660
  </Text>
477
661
  </View>
478
662
  </View>
479
663
  <View
480
- accessible={true}
481
- collapsable={false}
482
- focusable={true}
483
- onClick={[Function]}
484
- onResponderGrant={[Function]}
485
- onResponderMove={[Function]}
486
- onResponderRelease={[Function]}
487
- onResponderTerminate={[Function]}
488
- onResponderTerminationRequest={[Function]}
489
- onStartShouldSetResponder={[Function]}
664
+ pointerEvents="box-none"
665
+ position="bottom"
490
666
  style={
491
- {
492
- "justifyContent": "center",
493
- "opacity": 1,
494
- "paddingHorizontal": 12,
495
- }
667
+ [
668
+ {
669
+ "bottom": 0,
670
+ "elevation": 9999,
671
+ "flexDirection": "column-reverse",
672
+ "left": 0,
673
+ "paddingHorizontal": 24,
674
+ "paddingVertical": 16,
675
+ "position": "absolute",
676
+ "right": 0,
677
+ "top": 0,
678
+ },
679
+ undefined,
680
+ ]
496
681
  }
497
- testID="toast-action-button"
498
- >
499
- <Text
500
- allowFontScaling={false}
501
- style={
502
- [
503
- {
504
- "color": "#001f23",
505
- "fontFamily": "BeVietnamPro-SemiBold",
506
- "fontSize": 14,
507
- "letterSpacing": 0.24,
508
- "lineHeight": 22,
509
- },
510
- undefined,
511
- ]
512
- }
513
- themeIntent="body"
514
- themeTypeface="neutral"
515
- themeVariant="small-bold"
516
- >
517
- Action
518
- </Text>
519
- </View>
682
+ />
520
683
  </View>
521
684
  `;
522
685
 
523
686
  exports[`Toast renders correctly when intent is snackbar 1`] = `
524
687
  <View
525
- collapsable={false}
526
688
  style={
527
689
  {
528
- "backgroundColor": "#001f23",
529
- "borderRadius": 0,
530
- "elevation": 3,
531
- "flexDirection": "row",
532
- "minHeight": 48,
533
- "opacity": 0,
534
- "shadowColor": "#001f23",
535
- "shadowOffset": {
536
- "height": 2,
537
- "width": 0,
538
- },
539
- "shadowOpacity": 0.12,
540
- "shadowRadius": 4,
541
- "transform": [
542
- {
543
- "translateY": 20,
544
- },
545
- ],
690
+ "flex": 1,
546
691
  }
547
692
  }
548
- themeIntent="snackbar"
549
- themeVariant="default"
550
693
  >
551
694
  <View
552
- showDivider={true}
695
+ collapsable={false}
553
696
  style={
554
- [
555
- {
556
- "borderColor": "#e8e9ea",
557
- "borderRightWidth": 1,
558
- "flex": 1,
559
- "flexDirection": "row",
560
- "paddingVertical": 12,
697
+ {
698
+ "backgroundColor": "#001f23",
699
+ "borderRadius": 0,
700
+ "elevation": 3,
701
+ "flexDirection": "row",
702
+ "minHeight": 48,
703
+ "opacity": 0,
704
+ "shadowColor": "#001f23",
705
+ "shadowOffset": {
706
+ "height": 2,
707
+ "width": 0,
561
708
  },
562
- undefined,
563
- ]
709
+ "shadowOpacity": 0.12,
710
+ "shadowRadius": 4,
711
+ "transform": [
712
+ {
713
+ "translateY": 20,
714
+ },
715
+ ],
716
+ }
564
717
  }
718
+ themeIntent="snackbar"
719
+ themeVariant="default"
565
720
  >
566
721
  <View
722
+ showDivider={true}
567
723
  style={
568
724
  [
569
725
  {
726
+ "borderColor": "#e8e9ea",
727
+ "borderRightWidth": 1,
570
728
  "flex": 1,
571
- "paddingHorizontal": 12,
729
+ "flexDirection": "row",
730
+ "paddingVertical": 12,
572
731
  },
573
732
  undefined,
574
733
  ]
575
734
  }
735
+ >
736
+ <View
737
+ style={
738
+ [
739
+ {
740
+ "flex": 1,
741
+ "paddingHorizontal": 12,
742
+ },
743
+ undefined,
744
+ ]
745
+ }
746
+ >
747
+ <Text
748
+ allowFontScaling={false}
749
+ style={
750
+ [
751
+ {
752
+ "color": "#ffffff",
753
+ "fontFamily": "BeVietnamPro-Regular",
754
+ "fontSize": 14,
755
+ "letterSpacing": 0.48,
756
+ "lineHeight": 22,
757
+ },
758
+ undefined,
759
+ ]
760
+ }
761
+ themeIntent="inverted"
762
+ themeTypeface="neutral"
763
+ themeVariant="small"
764
+ >
765
+ Toast Content
766
+ </Text>
767
+ </View>
768
+ </View>
769
+ <View
770
+ accessibilityState={
771
+ {
772
+ "busy": undefined,
773
+ "checked": undefined,
774
+ "disabled": undefined,
775
+ "expanded": undefined,
776
+ "selected": undefined,
777
+ }
778
+ }
779
+ accessibilityValue={
780
+ {
781
+ "max": undefined,
782
+ "min": undefined,
783
+ "now": undefined,
784
+ "text": undefined,
785
+ }
786
+ }
787
+ accessible={true}
788
+ collapsable={false}
789
+ focusable={true}
790
+ onClick={[Function]}
791
+ onResponderGrant={[Function]}
792
+ onResponderMove={[Function]}
793
+ onResponderRelease={[Function]}
794
+ onResponderTerminate={[Function]}
795
+ onResponderTerminationRequest={[Function]}
796
+ onStartShouldSetResponder={[Function]}
797
+ style={
798
+ {
799
+ "justifyContent": "center",
800
+ "opacity": 1,
801
+ "paddingHorizontal": 12,
802
+ }
803
+ }
804
+ testID="toast-action-button"
576
805
  >
577
806
  <Text
578
807
  allowFontScaling={false}
@@ -580,9 +809,9 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
580
809
  [
581
810
  {
582
811
  "color": "#ffffff",
583
- "fontFamily": "BeVietnamPro-Regular",
812
+ "fontFamily": "BeVietnamPro-SemiBold",
584
813
  "fontSize": 14,
585
- "letterSpacing": 0.48,
814
+ "letterSpacing": 0.24,
586
815
  "lineHeight": 22,
587
816
  },
588
817
  undefined,
@@ -590,136 +819,181 @@ exports[`Toast renders correctly when intent is snackbar 1`] = `
590
819
  }
591
820
  themeIntent="inverted"
592
821
  themeTypeface="neutral"
593
- themeVariant="small"
822
+ themeVariant="small-bold"
594
823
  >
595
- Toast Content
824
+ Action
596
825
  </Text>
597
826
  </View>
598
827
  </View>
599
828
  <View
600
- accessible={true}
601
- collapsable={false}
602
- focusable={true}
603
- onClick={[Function]}
604
- onResponderGrant={[Function]}
605
- onResponderMove={[Function]}
606
- onResponderRelease={[Function]}
607
- onResponderTerminate={[Function]}
608
- onResponderTerminationRequest={[Function]}
609
- onStartShouldSetResponder={[Function]}
829
+ pointerEvents="box-none"
830
+ position="bottom"
610
831
  style={
611
- {
612
- "justifyContent": "center",
613
- "opacity": 1,
614
- "paddingHorizontal": 12,
615
- }
832
+ [
833
+ {
834
+ "bottom": 0,
835
+ "elevation": 9999,
836
+ "flexDirection": "column-reverse",
837
+ "left": 0,
838
+ "paddingHorizontal": 24,
839
+ "paddingVertical": 16,
840
+ "position": "absolute",
841
+ "right": 0,
842
+ "top": 0,
843
+ },
844
+ undefined,
845
+ ]
616
846
  }
617
- testID="toast-action-button"
618
- >
619
- <Text
620
- allowFontScaling={false}
621
- style={
622
- [
623
- {
624
- "color": "#ffffff",
625
- "fontFamily": "BeVietnamPro-SemiBold",
626
- "fontSize": 14,
627
- "letterSpacing": 0.24,
628
- "lineHeight": 22,
629
- },
630
- undefined,
631
- ]
632
- }
633
- themeIntent="inverted"
634
- themeTypeface="neutral"
635
- themeVariant="small-bold"
636
- >
637
- Action
638
- </Text>
639
- </View>
847
+ />
640
848
  </View>
641
849
  `;
642
850
 
643
851
  exports[`Toast renders correctly when intent is success 1`] = `
644
852
  <View
645
- collapsable={false}
646
853
  style={
647
854
  {
648
- "backgroundColor": "#5ace7d",
649
- "borderRadius": 0,
650
- "elevation": 3,
651
- "flexDirection": "row",
652
- "minHeight": 48,
653
- "opacity": 0,
654
- "shadowColor": "#001f23",
655
- "shadowOffset": {
656
- "height": 2,
657
- "width": 0,
658
- },
659
- "shadowOpacity": 0.12,
660
- "shadowRadius": 4,
661
- "transform": [
662
- {
663
- "translateY": 20,
664
- },
665
- ],
855
+ "flex": 1,
666
856
  }
667
857
  }
668
- themeIntent="success"
669
- themeVariant="default"
670
858
  >
671
859
  <View
672
- showDivider={true}
860
+ collapsable={false}
673
861
  style={
674
- [
675
- {
676
- "borderColor": "#e8e9ea",
677
- "borderRightWidth": 1,
678
- "flex": 1,
679
- "flexDirection": "row",
680
- "paddingVertical": 12,
862
+ {
863
+ "backgroundColor": "#5ace7d",
864
+ "borderRadius": 0,
865
+ "elevation": 3,
866
+ "flexDirection": "row",
867
+ "minHeight": 48,
868
+ "opacity": 0,
869
+ "shadowColor": "#001f23",
870
+ "shadowOffset": {
871
+ "height": 2,
872
+ "width": 0,
681
873
  },
682
- undefined,
683
- ]
874
+ "shadowOpacity": 0.12,
875
+ "shadowRadius": 4,
876
+ "transform": [
877
+ {
878
+ "translateY": 20,
879
+ },
880
+ ],
881
+ }
684
882
  }
883
+ themeIntent="success"
884
+ themeVariant="default"
685
885
  >
686
886
  <View
887
+ showDivider={true}
687
888
  style={
688
889
  [
689
890
  {
690
- "alignItems": "center",
691
- "paddingLeft": 12,
891
+ "borderColor": "#e8e9ea",
892
+ "borderRightWidth": 1,
893
+ "flex": 1,
894
+ "flexDirection": "row",
895
+ "paddingVertical": 12,
692
896
  },
693
897
  undefined,
694
898
  ]
695
899
  }
696
- testID="toast-left-icon"
697
900
  >
698
- <HeroIcon
699
- name="circle-ok"
901
+ <View
700
902
  style={
701
903
  [
702
904
  {
703
- "color": "#001f23",
704
- "fontSize": 20,
905
+ "alignItems": "center",
906
+ "paddingLeft": 12,
907
+ },
908
+ undefined,
909
+ ]
910
+ }
911
+ testID="toast-left-icon"
912
+ >
913
+ <HeroIcon
914
+ name="circle-ok"
915
+ style={
916
+ [
917
+ {
918
+ "color": "#001f23",
919
+ "fontSize": 20,
920
+ },
921
+ undefined,
922
+ ]
923
+ }
924
+ themeIntent="text"
925
+ themeSize="small"
926
+ />
927
+ </View>
928
+ <View
929
+ style={
930
+ [
931
+ {
932
+ "flex": 1,
933
+ "paddingHorizontal": 12,
705
934
  },
706
935
  undefined,
707
936
  ]
708
937
  }
709
- themeIntent="text"
710
- themeSize="small"
711
- />
938
+ >
939
+ <Text
940
+ allowFontScaling={false}
941
+ style={
942
+ [
943
+ {
944
+ "color": "#001f23",
945
+ "fontFamily": "BeVietnamPro-Regular",
946
+ "fontSize": 14,
947
+ "letterSpacing": 0.48,
948
+ "lineHeight": 22,
949
+ },
950
+ undefined,
951
+ ]
952
+ }
953
+ themeIntent="body"
954
+ themeTypeface="neutral"
955
+ themeVariant="small"
956
+ >
957
+ Toast Content
958
+ </Text>
959
+ </View>
712
960
  </View>
713
961
  <View
962
+ accessibilityState={
963
+ {
964
+ "busy": undefined,
965
+ "checked": undefined,
966
+ "disabled": undefined,
967
+ "expanded": undefined,
968
+ "selected": undefined,
969
+ }
970
+ }
971
+ accessibilityValue={
972
+ {
973
+ "max": undefined,
974
+ "min": undefined,
975
+ "now": undefined,
976
+ "text": undefined,
977
+ }
978
+ }
979
+ accessible={true}
980
+ collapsable={false}
981
+ focusable={true}
982
+ onClick={[Function]}
983
+ onResponderGrant={[Function]}
984
+ onResponderMove={[Function]}
985
+ onResponderRelease={[Function]}
986
+ onResponderTerminate={[Function]}
987
+ onResponderTerminationRequest={[Function]}
988
+ onStartShouldSetResponder={[Function]}
714
989
  style={
715
- [
716
- {
717
- "flex": 1,
718
- "paddingHorizontal": 12,
719
- },
720
- undefined,
721
- ]
990
+ {
991
+ "justifyContent": "center",
992
+ "opacity": 1,
993
+ "paddingHorizontal": 12,
994
+ }
722
995
  }
996
+ testID="toast-action-button"
723
997
  >
724
998
  <Text
725
999
  allowFontScaling={false}
@@ -727,9 +1001,9 @@ exports[`Toast renders correctly when intent is success 1`] = `
727
1001
  [
728
1002
  {
729
1003
  "color": "#001f23",
730
- "fontFamily": "BeVietnamPro-Regular",
1004
+ "fontFamily": "BeVietnamPro-SemiBold",
731
1005
  "fontSize": 14,
732
- "letterSpacing": 0.48,
1006
+ "letterSpacing": 0.24,
733
1007
  "lineHeight": 22,
734
1008
  },
735
1009
  undefined,
@@ -737,136 +1011,181 @@ exports[`Toast renders correctly when intent is success 1`] = `
737
1011
  }
738
1012
  themeIntent="body"
739
1013
  themeTypeface="neutral"
740
- themeVariant="small"
1014
+ themeVariant="small-bold"
741
1015
  >
742
- Toast Content
1016
+ Action
743
1017
  </Text>
744
1018
  </View>
745
1019
  </View>
746
1020
  <View
747
- accessible={true}
748
- collapsable={false}
749
- focusable={true}
750
- onClick={[Function]}
751
- onResponderGrant={[Function]}
752
- onResponderMove={[Function]}
753
- onResponderRelease={[Function]}
754
- onResponderTerminate={[Function]}
755
- onResponderTerminationRequest={[Function]}
756
- onStartShouldSetResponder={[Function]}
1021
+ pointerEvents="box-none"
1022
+ position="bottom"
757
1023
  style={
758
- {
759
- "justifyContent": "center",
760
- "opacity": 1,
761
- "paddingHorizontal": 12,
762
- }
1024
+ [
1025
+ {
1026
+ "bottom": 0,
1027
+ "elevation": 9999,
1028
+ "flexDirection": "column-reverse",
1029
+ "left": 0,
1030
+ "paddingHorizontal": 24,
1031
+ "paddingVertical": 16,
1032
+ "position": "absolute",
1033
+ "right": 0,
1034
+ "top": 0,
1035
+ },
1036
+ undefined,
1037
+ ]
763
1038
  }
764
- testID="toast-action-button"
765
- >
766
- <Text
767
- allowFontScaling={false}
768
- style={
769
- [
770
- {
771
- "color": "#001f23",
772
- "fontFamily": "BeVietnamPro-SemiBold",
773
- "fontSize": 14,
774
- "letterSpacing": 0.24,
775
- "lineHeight": 22,
776
- },
777
- undefined,
778
- ]
779
- }
780
- themeIntent="body"
781
- themeTypeface="neutral"
782
- themeVariant="small-bold"
783
- >
784
- Action
785
- </Text>
786
- </View>
1039
+ />
787
1040
  </View>
788
1041
  `;
789
1042
 
790
1043
  exports[`Toast renders correctly when intent is warning 1`] = `
791
1044
  <View
792
- collapsable={false}
793
1045
  style={
794
1046
  {
795
- "backgroundColor": "#ffbe71",
796
- "borderRadius": 0,
797
- "elevation": 3,
798
- "flexDirection": "row",
799
- "minHeight": 48,
800
- "opacity": 0,
801
- "shadowColor": "#001f23",
802
- "shadowOffset": {
803
- "height": 2,
804
- "width": 0,
805
- },
806
- "shadowOpacity": 0.12,
807
- "shadowRadius": 4,
808
- "transform": [
809
- {
810
- "translateY": 20,
811
- },
812
- ],
1047
+ "flex": 1,
813
1048
  }
814
1049
  }
815
- themeIntent="warning"
816
- themeVariant="default"
817
1050
  >
818
1051
  <View
819
- showDivider={true}
1052
+ collapsable={false}
820
1053
  style={
821
- [
822
- {
823
- "borderColor": "#e8e9ea",
824
- "borderRightWidth": 1,
825
- "flex": 1,
826
- "flexDirection": "row",
827
- "paddingVertical": 12,
1054
+ {
1055
+ "backgroundColor": "#ffbe71",
1056
+ "borderRadius": 0,
1057
+ "elevation": 3,
1058
+ "flexDirection": "row",
1059
+ "minHeight": 48,
1060
+ "opacity": 0,
1061
+ "shadowColor": "#001f23",
1062
+ "shadowOffset": {
1063
+ "height": 2,
1064
+ "width": 0,
828
1065
  },
829
- undefined,
830
- ]
1066
+ "shadowOpacity": 0.12,
1067
+ "shadowRadius": 4,
1068
+ "transform": [
1069
+ {
1070
+ "translateY": 20,
1071
+ },
1072
+ ],
1073
+ }
831
1074
  }
1075
+ themeIntent="warning"
1076
+ themeVariant="default"
832
1077
  >
833
1078
  <View
1079
+ showDivider={true}
834
1080
  style={
835
1081
  [
836
1082
  {
837
- "alignItems": "center",
838
- "paddingLeft": 12,
1083
+ "borderColor": "#e8e9ea",
1084
+ "borderRightWidth": 1,
1085
+ "flex": 1,
1086
+ "flexDirection": "row",
1087
+ "paddingVertical": 12,
839
1088
  },
840
1089
  undefined,
841
1090
  ]
842
1091
  }
843
- testID="toast-left-icon"
844
1092
  >
845
- <HeroIcon
846
- name="warning"
1093
+ <View
847
1094
  style={
848
1095
  [
849
1096
  {
850
- "color": "#001f23",
851
- "fontSize": 20,
1097
+ "alignItems": "center",
1098
+ "paddingLeft": 12,
1099
+ },
1100
+ undefined,
1101
+ ]
1102
+ }
1103
+ testID="toast-left-icon"
1104
+ >
1105
+ <HeroIcon
1106
+ name="warning"
1107
+ style={
1108
+ [
1109
+ {
1110
+ "color": "#001f23",
1111
+ "fontSize": 20,
1112
+ },
1113
+ undefined,
1114
+ ]
1115
+ }
1116
+ themeIntent="text"
1117
+ themeSize="small"
1118
+ />
1119
+ </View>
1120
+ <View
1121
+ style={
1122
+ [
1123
+ {
1124
+ "flex": 1,
1125
+ "paddingHorizontal": 12,
852
1126
  },
853
1127
  undefined,
854
1128
  ]
855
1129
  }
856
- themeIntent="text"
857
- themeSize="small"
858
- />
1130
+ >
1131
+ <Text
1132
+ allowFontScaling={false}
1133
+ style={
1134
+ [
1135
+ {
1136
+ "color": "#001f23",
1137
+ "fontFamily": "BeVietnamPro-Regular",
1138
+ "fontSize": 14,
1139
+ "letterSpacing": 0.48,
1140
+ "lineHeight": 22,
1141
+ },
1142
+ undefined,
1143
+ ]
1144
+ }
1145
+ themeIntent="body"
1146
+ themeTypeface="neutral"
1147
+ themeVariant="small"
1148
+ >
1149
+ Toast Content
1150
+ </Text>
1151
+ </View>
859
1152
  </View>
860
1153
  <View
1154
+ accessibilityState={
1155
+ {
1156
+ "busy": undefined,
1157
+ "checked": undefined,
1158
+ "disabled": undefined,
1159
+ "expanded": undefined,
1160
+ "selected": undefined,
1161
+ }
1162
+ }
1163
+ accessibilityValue={
1164
+ {
1165
+ "max": undefined,
1166
+ "min": undefined,
1167
+ "now": undefined,
1168
+ "text": undefined,
1169
+ }
1170
+ }
1171
+ accessible={true}
1172
+ collapsable={false}
1173
+ focusable={true}
1174
+ onClick={[Function]}
1175
+ onResponderGrant={[Function]}
1176
+ onResponderMove={[Function]}
1177
+ onResponderRelease={[Function]}
1178
+ onResponderTerminate={[Function]}
1179
+ onResponderTerminationRequest={[Function]}
1180
+ onStartShouldSetResponder={[Function]}
861
1181
  style={
862
- [
863
- {
864
- "flex": 1,
865
- "paddingHorizontal": 12,
866
- },
867
- undefined,
868
- ]
1182
+ {
1183
+ "justifyContent": "center",
1184
+ "opacity": 1,
1185
+ "paddingHorizontal": 12,
1186
+ }
869
1187
  }
1188
+ testID="toast-action-button"
870
1189
  >
871
1190
  <Text
872
1191
  allowFontScaling={false}
@@ -874,9 +1193,9 @@ exports[`Toast renders correctly when intent is warning 1`] = `
874
1193
  [
875
1194
  {
876
1195
  "color": "#001f23",
877
- "fontFamily": "BeVietnamPro-Regular",
1196
+ "fontFamily": "BeVietnamPro-SemiBold",
878
1197
  "fontSize": 14,
879
- "letterSpacing": 0.48,
1198
+ "letterSpacing": 0.24,
880
1199
  "lineHeight": 22,
881
1200
  },
882
1201
  undefined,
@@ -884,52 +1203,31 @@ exports[`Toast renders correctly when intent is warning 1`] = `
884
1203
  }
885
1204
  themeIntent="body"
886
1205
  themeTypeface="neutral"
887
- themeVariant="small"
1206
+ themeVariant="small-bold"
888
1207
  >
889
- Toast Content
1208
+ Action
890
1209
  </Text>
891
1210
  </View>
892
1211
  </View>
893
1212
  <View
894
- accessible={true}
895
- collapsable={false}
896
- focusable={true}
897
- onClick={[Function]}
898
- onResponderGrant={[Function]}
899
- onResponderMove={[Function]}
900
- onResponderRelease={[Function]}
901
- onResponderTerminate={[Function]}
902
- onResponderTerminationRequest={[Function]}
903
- onStartShouldSetResponder={[Function]}
1213
+ pointerEvents="box-none"
1214
+ position="bottom"
904
1215
  style={
905
- {
906
- "justifyContent": "center",
907
- "opacity": 1,
908
- "paddingHorizontal": 12,
909
- }
1216
+ [
1217
+ {
1218
+ "bottom": 0,
1219
+ "elevation": 9999,
1220
+ "flexDirection": "column-reverse",
1221
+ "left": 0,
1222
+ "paddingHorizontal": 24,
1223
+ "paddingVertical": 16,
1224
+ "position": "absolute",
1225
+ "right": 0,
1226
+ "top": 0,
1227
+ },
1228
+ undefined,
1229
+ ]
910
1230
  }
911
- testID="toast-action-button"
912
- >
913
- <Text
914
- allowFontScaling={false}
915
- style={
916
- [
917
- {
918
- "color": "#001f23",
919
- "fontFamily": "BeVietnamPro-SemiBold",
920
- "fontSize": 14,
921
- "letterSpacing": 0.24,
922
- "lineHeight": 22,
923
- },
924
- undefined,
925
- ]
926
- }
927
- themeIntent="body"
928
- themeTypeface="neutral"
929
- themeVariant="small-bold"
930
- >
931
- Action
932
- </Text>
933
- </View>
1231
+ />
934
1232
  </View>
935
1233
  `;