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