@hero-design/rn 8.35.0 → 8.36.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (280) hide show
  1. package/.tool-versions +1 -0
  2. package/.turbo/turbo-build.log +2 -2
  3. package/.turbo/turbo-build:types.log +1 -0
  4. package/.turbo/turbo-lint.log +172 -0
  5. package/.turbo/turbo-publish:npm.log +9 -0
  6. package/.turbo/turbo-test.log +1 -0
  7. package/.turbo/turbo-type-check.log +1 -0
  8. package/es/index.js +39 -2
  9. package/lib/index.js +39 -2
  10. package/package.json +1 -1
  11. package/src/components/FAB/ActionGroup/StyledActionGroup.tsx +12 -0
  12. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +801 -1251
  13. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +45 -35
  14. package/src/components/FAB/ActionGroup/index.tsx +65 -45
  15. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  16. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  17. package/types/components/Accordion/index.d.ts +0 -0
  18. package/types/components/Alert/StyledAlert.d.ts +0 -0
  19. package/types/components/Alert/index.d.ts +0 -0
  20. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  21. package/types/components/Attachment/index.d.ts +0 -0
  22. package/types/components/Avatar/Avatar.d.ts +0 -0
  23. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  24. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  25. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  26. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  27. package/types/components/Avatar/index.d.ts +0 -0
  28. package/types/components/Badge/Status.d.ts +0 -0
  29. package/types/components/Badge/StyledBadge.d.ts +0 -0
  30. package/types/components/Badge/index.d.ts +0 -0
  31. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  32. package/types/components/BottomNavigation/index.d.ts +0 -0
  33. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  34. package/types/components/BottomSheet/Footer.d.ts +0 -0
  35. package/types/components/BottomSheet/Header.d.ts +0 -0
  36. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  37. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  38. package/types/components/BottomSheet/index.d.ts +0 -0
  39. package/types/components/Box/StyledBox.d.ts +0 -0
  40. package/types/components/Box/config.d.ts +0 -0
  41. package/types/components/Box/index.d.ts +0 -0
  42. package/types/components/Box/types.d.ts +0 -0
  43. package/types/components/Button/Button.d.ts +0 -0
  44. package/types/components/Button/IconButton.d.ts +0 -0
  45. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  46. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  47. package/types/components/Button/StyledButton.d.ts +0 -0
  48. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  49. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  50. package/types/components/Button/index.d.ts +0 -0
  51. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  52. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  53. package/types/components/Calendar/helpers.d.ts +0 -0
  54. package/types/components/Calendar/index.d.ts +0 -0
  55. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  56. package/types/components/Card/DataCard/index.d.ts +0 -0
  57. package/types/components/Card/StyledCard.d.ts +0 -0
  58. package/types/components/Card/index.d.ts +0 -0
  59. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  60. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  61. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  62. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  63. package/types/components/Carousel/contants.d.ts +0 -0
  64. package/types/components/Carousel/index.d.ts +0 -0
  65. package/types/components/Carousel/types.d.ts +0 -0
  66. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  67. package/types/components/Checkbox/index.d.ts +0 -0
  68. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  69. package/types/components/Collapse/index.d.ts +0 -0
  70. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  71. package/types/components/ContentNavigator/index.d.ts +0 -0
  72. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  73. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  74. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  75. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  76. package/types/components/DatePicker/index.d.ts +0 -0
  77. package/types/components/DatePicker/types.d.ts +0 -0
  78. package/types/components/Divider/StyledDivider.d.ts +0 -0
  79. package/types/components/Divider/index.d.ts +0 -0
  80. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  81. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  82. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  83. package/types/components/Drawer/index.d.ts +0 -0
  84. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  85. package/types/components/Empty/index.d.ts +0 -0
  86. package/types/components/Error/StyledError.d.ts +0 -0
  87. package/types/components/Error/index.d.ts +0 -0
  88. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  89. package/types/components/FAB/ActionGroup/FABModal.d.ts +21 -0
  90. package/types/components/FAB/ActionGroup/FABModalContentWrapper.d.ts +18 -0
  91. package/types/components/FAB/ActionGroup/FABProvider.d.ts +5 -0
  92. package/types/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.d.ts +34 -0
  93. package/types/components/FAB/ActionGroup/ModalPresenter/index.d.ts +3 -0
  94. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +7 -1
  95. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  96. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  97. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  98. package/types/components/FAB/FAB.d.ts +0 -0
  99. package/types/components/FAB/StyledFAB.d.ts +0 -0
  100. package/types/components/FAB/index.d.ts +0 -0
  101. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  102. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  103. package/types/components/Icon/IconList.d.ts +0 -0
  104. package/types/components/Icon/index.d.ts +0 -0
  105. package/types/components/Icon/utils.d.ts +0 -0
  106. package/types/components/Image/index.d.ts +0 -0
  107. package/types/components/List/BasicListItem.d.ts +0 -0
  108. package/types/components/List/ListItem.d.ts +0 -0
  109. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  110. package/types/components/List/StyledListItem.d.ts +0 -0
  111. package/types/components/List/index.d.ts +0 -0
  112. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  113. package/types/components/PageControl/index.d.ts +0 -0
  114. package/types/components/PinInput/PinCell.d.ts +0 -0
  115. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  116. package/types/components/PinInput/index.d.ts +0 -0
  117. package/types/components/Progress/ProgressBar.d.ts +0 -0
  118. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  119. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  120. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  121. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  122. package/types/components/Progress/constants.d.ts +0 -0
  123. package/types/components/Progress/index.d.ts +0 -0
  124. package/types/components/Progress/types.d.ts +0 -0
  125. package/types/components/Radio/Radio.d.ts +0 -0
  126. package/types/components/Radio/RadioGroup.d.ts +0 -0
  127. package/types/components/Radio/StyledRadio.d.ts +0 -0
  128. package/types/components/Radio/index.d.ts +0 -0
  129. package/types/components/Radio/types.d.ts +0 -0
  130. package/types/components/RefreshControl/index.d.ts +0 -0
  131. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  132. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  133. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  134. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  135. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  136. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  137. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  138. package/types/components/RichTextEditor/constants.d.ts +0 -0
  139. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  140. package/types/components/RichTextEditor/index.d.ts +0 -0
  141. package/types/components/RichTextEditor/types.d.ts +0 -0
  142. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  143. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  144. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  145. package/types/components/SectionHeading/index.d.ts +0 -0
  146. package/types/components/Select/BaseOptionList.d.ts +0 -0
  147. package/types/components/Select/Footer.d.ts +0 -0
  148. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  149. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  150. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  151. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  152. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  153. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  154. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  155. package/types/components/Select/StyledSelect.d.ts +0 -0
  156. package/types/components/Select/helpers.d.ts +0 -0
  157. package/types/components/Select/index.d.ts +0 -0
  158. package/types/components/Select/types.d.ts +0 -0
  159. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  160. package/types/components/Skeleton/index.d.ts +0 -0
  161. package/types/components/Slider/index.d.ts +0 -0
  162. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  163. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  164. package/types/components/Spinner/index.d.ts +0 -0
  165. package/types/components/Success/StyledSuccess.d.ts +0 -0
  166. package/types/components/Success/index.d.ts +0 -0
  167. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  168. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  169. package/types/components/Swipeable/index.d.ts +0 -0
  170. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  171. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  172. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  173. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  174. package/types/components/Switch/index.d.ts +0 -0
  175. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  176. package/types/components/Tabs/SceneView.d.ts +0 -0
  177. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  178. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -0
  179. package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +10 -0
  180. package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +9 -0
  181. package/types/components/Tabs/ScrollableTabsV2/index.d.ts +4 -0
  182. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  183. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  184. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  185. package/types/components/Tabs/index.d.ts +0 -0
  186. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  187. package/types/components/Tabs/utils.d.ts +0 -0
  188. package/types/components/Tag/StyledTag.d.ts +0 -0
  189. package/types/components/Tag/index.d.ts +0 -0
  190. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  191. package/types/components/TextInput/index.d.ts +0 -0
  192. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  193. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  194. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  195. package/types/components/TimePicker/index.d.ts +0 -0
  196. package/types/components/TimePicker/types.d.ts +0 -0
  197. package/types/components/Toast/StyledToast.d.ts +0 -0
  198. package/types/components/Toast/Toast.d.ts +0 -0
  199. package/types/components/Toast/ToastContainer.d.ts +0 -0
  200. package/types/components/Toast/ToastContext.d.ts +0 -0
  201. package/types/components/Toast/ToastProvider.d.ts +0 -0
  202. package/types/components/Toast/index.d.ts +0 -0
  203. package/types/components/Toast/types.d.ts +0 -0
  204. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  205. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  206. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  207. package/types/components/Toolbar/index.d.ts +0 -0
  208. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  209. package/types/components/Typography/Text/index.d.ts +0 -0
  210. package/types/components/Typography/index.d.ts +0 -0
  211. package/types/index.d.ts +0 -0
  212. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  213. package/types/theme/ThemeProvider.d.ts +0 -0
  214. package/types/theme/ThemeSwitcher.d.ts +0 -0
  215. package/types/theme/components/accordion.d.ts +0 -0
  216. package/types/theme/components/alert.d.ts +0 -0
  217. package/types/theme/components/attachment.d.ts +0 -0
  218. package/types/theme/components/avatar.d.ts +0 -0
  219. package/types/theme/components/badge.d.ts +0 -0
  220. package/types/theme/components/bottomNavigation.d.ts +0 -0
  221. package/types/theme/components/bottomSheet.d.ts +0 -0
  222. package/types/theme/components/button.d.ts +0 -0
  223. package/types/theme/components/calendar.d.ts +0 -0
  224. package/types/theme/components/card.d.ts +0 -0
  225. package/types/theme/components/cardCarousel.d.ts +0 -0
  226. package/types/theme/components/carousel.d.ts +0 -0
  227. package/types/theme/components/checkbox.d.ts +0 -0
  228. package/types/theme/components/contentNavigator.d.ts +0 -0
  229. package/types/theme/components/datePicker.d.ts +0 -0
  230. package/types/theme/components/divider.d.ts +0 -0
  231. package/types/theme/components/drawer.d.ts +0 -0
  232. package/types/theme/components/empty.d.ts +0 -0
  233. package/types/theme/components/error.d.ts +0 -0
  234. package/types/theme/components/fab.d.ts +0 -0
  235. package/types/theme/components/icon.d.ts +0 -0
  236. package/types/theme/components/image.d.ts +0 -0
  237. package/types/theme/components/list.d.ts +0 -0
  238. package/types/theme/components/pageControl.d.ts +0 -0
  239. package/types/theme/components/pinInput.d.ts +0 -0
  240. package/types/theme/components/progress.d.ts +0 -0
  241. package/types/theme/components/radio.d.ts +0 -0
  242. package/types/theme/components/refreshControl.d.ts +0 -0
  243. package/types/theme/components/richTextEditor.d.ts +0 -0
  244. package/types/theme/components/sectionHeading.d.ts +0 -0
  245. package/types/theme/components/select.d.ts +0 -0
  246. package/types/theme/components/skeleton.d.ts +0 -0
  247. package/types/theme/components/slider.d.ts +0 -0
  248. package/types/theme/components/spinner.d.ts +0 -0
  249. package/types/theme/components/success.d.ts +0 -0
  250. package/types/theme/components/swipeable.d.ts +0 -0
  251. package/types/theme/components/switch.d.ts +0 -0
  252. package/types/theme/components/tabs.d.ts +0 -0
  253. package/types/theme/components/tag.d.ts +0 -0
  254. package/types/theme/components/textInput.d.ts +0 -0
  255. package/types/theme/components/timePicker.d.ts +0 -0
  256. package/types/theme/components/toast.d.ts +0 -0
  257. package/types/theme/components/toolbar.d.ts +0 -0
  258. package/types/theme/components/typography.d.ts +0 -0
  259. package/types/theme/getTheme.d.ts +0 -0
  260. package/types/theme/global/borders.d.ts +0 -0
  261. package/types/theme/global/colors/eBens.d.ts +0 -0
  262. package/types/theme/global/colors/global.d.ts +0 -0
  263. package/types/theme/global/colors/globalDark.d.ts +0 -0
  264. package/types/theme/global/colors/jobs.d.ts +0 -0
  265. package/types/theme/global/colors/swag.d.ts +0 -0
  266. package/types/theme/global/colors/swagDark.d.ts +0 -0
  267. package/types/theme/global/colors/types.d.ts +0 -0
  268. package/types/theme/global/colors/wallet.d.ts +0 -0
  269. package/types/theme/global/colors/work.d.ts +0 -0
  270. package/types/theme/global/index.d.ts +0 -0
  271. package/types/theme/global/scale.d.ts +0 -0
  272. package/types/theme/global/sizes.d.ts +0 -0
  273. package/types/theme/global/space.d.ts +0 -0
  274. package/types/theme/global/typography.d.ts +0 -0
  275. package/types/theme/index.d.ts +0 -0
  276. package/types/types.d.ts +0 -0
  277. package/types/utils/functions.d.ts +0 -0
  278. package/types/utils/helpers.d.ts +0 -0
  279. package/types/utils/hooks.d.ts +0 -0
  280. package/types/utils/scale.d.ts +0 -0
@@ -20,558 +20,968 @@ exports[`ActionGroup has active false 1`] = `
20
20
  >
21
21
  <View
22
22
  collapsable={false}
23
- pointerEvents="box-none"
24
23
  style={
25
24
  Object {
26
- "backgroundColor": "#000000",
27
- "bottom": 0,
28
- "left": 0,
29
- "opacity": 0,
30
- "position": "absolute",
31
- "right": 0,
32
- "top": 0,
33
- }
34
- }
35
- testID="back-drop"
36
- />
37
- <View
38
- collapsable={false}
39
- pointerEvents="none"
40
- style={
41
- Object {
42
- "alignItems": "flex-end",
43
- "justifyContent": "flex-end",
44
- "opacity": 0,
45
- "width": "70%",
25
+ "opacity": 1,
46
26
  }
47
27
  }
48
- testID="action-group"
49
28
  >
50
29
  <View
51
- collapsable={false}
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]}
52
40
  style={
53
- Object {
54
- "transform": Array [
41
+ Array [
42
+ Object {
43
+ "alignItems": "center",
44
+ "alignSelf": "flex-start",
45
+ "backgroundColor": "#401960",
46
+ "borderRadius": 999,
47
+ "elevation": 2,
48
+ "flexDirection": "row",
49
+ "justifyContent": "center",
50
+ "padding": 20,
51
+ "shadowColor": "#001f23",
52
+ "shadowOffset": Object {
53
+ "height": 2,
54
+ "width": 0,
55
+ },
56
+ "shadowOpacity": 0.12,
57
+ "shadowRadius": 8,
58
+ },
59
+ Array [
60
+ Array [
61
+ Object {
62
+ "alignSelf": "flex-end",
63
+ "marginRight": 24,
64
+ "marginTop": 24,
65
+ },
66
+ undefined,
67
+ ],
55
68
  Object {
56
- "translateY": 50,
69
+ "bottom": undefined,
57
70
  },
58
71
  ],
59
- }
72
+ ]
60
73
  }
74
+ testID="fab"
61
75
  >
76
+ <View
77
+ style={
78
+ Array [
79
+ Object {},
80
+ Array [
81
+ Object {
82
+ "alignItems": "center",
83
+ "height": 24,
84
+ "justifyContent": "center",
85
+ "width": 24,
86
+ },
87
+ undefined,
88
+ ],
89
+ ]
90
+ }
91
+ >
92
+ <HeroIcon
93
+ name="add"
94
+ style={
95
+ Array [
96
+ Object {
97
+ "color": "#001f23",
98
+ "fontSize": 16,
99
+ },
100
+ Array [
101
+ Object {
102
+ "color": "#ffffff",
103
+ "lineHeight": 24,
104
+ "textAlign": "center",
105
+ "textAlignVertical": "center",
106
+ },
107
+ undefined,
108
+ ],
109
+ ]
110
+ }
111
+ testID="styled-fab-icon"
112
+ themeIntent="text"
113
+ themeSize="xsmall"
114
+ />
115
+ </View>
62
116
  <Text
63
117
  allowFontScaling={false}
64
118
  style={
65
119
  Array [
66
120
  Object {
67
121
  "color": "#001f23",
68
- "fontFamily": "BeVietnamPro-SemiBold",
69
- "fontSize": 24,
70
- "letterSpacing": 0,
71
- "lineHeight": 32,
122
+ "fontFamily": "BeVietnamPro-Regular",
123
+ "fontSize": 16,
124
+ "letterSpacing": 0.48,
125
+ "lineHeight": 24,
72
126
  },
73
127
  Array [
74
128
  Object {
75
- "color": "#001f23",
76
- "marginBottom": 24,
77
- "marginRight": 24,
78
- "textAlign": "right",
129
+ "color": "#ffffff",
130
+ "marginHorizontal": 8,
131
+ "textAlign": "center",
132
+ "textAlignVertical": "center",
79
133
  },
80
134
  undefined,
81
135
  ],
82
136
  ]
83
137
  }
84
- testID="header-text"
85
138
  themeIntent="body"
86
- themeLevel="h4"
87
139
  themeTypeface="neutral"
140
+ themeVariant="regular"
88
141
  >
89
- What would you like to create?
142
+ Shout out
90
143
  </Text>
91
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
+ Array [
161
+ Object {
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
+ Object {
178
+ "opacity": 0,
179
+ }
180
+ }
181
+ >
92
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]}
93
193
  style={
94
194
  Array [
95
- Object {},
195
+ Object {
196
+ "alignItems": "center",
197
+ "alignSelf": "flex-start",
198
+ "backgroundColor": "#33144d",
199
+ "borderRadius": 999,
200
+ "elevation": 2,
201
+ "flexDirection": "row",
202
+ "justifyContent": "center",
203
+ "padding": 20,
204
+ "shadowColor": "#001f23",
205
+ "shadowOffset": Object {
206
+ "height": 2,
207
+ "width": 0,
208
+ },
209
+ "shadowOpacity": 0.12,
210
+ "shadowRadius": 8,
211
+ },
96
212
  Array [
97
- undefined,
213
+ Array [
214
+ Object {
215
+ "alignSelf": "flex-end",
216
+ "marginRight": 24,
217
+ "marginTop": 24,
218
+ },
219
+ undefined,
220
+ ],
98
221
  Object {
99
- "paddingBottom": 0,
222
+ "bottom": undefined,
100
223
  },
101
224
  ],
102
225
  ]
103
226
  }
227
+ testID="fab"
104
228
  >
105
229
  <View
106
- collapsable={false}
107
230
  style={
108
- Object {
109
- "transform": Array [
231
+ Array [
232
+ Object {},
233
+ Array [
110
234
  Object {
111
- "translateY": 50,
235
+ "alignItems": "center",
236
+ "height": 24,
237
+ "justifyContent": "center",
238
+ "width": 24,
112
239
  },
240
+ undefined,
113
241
  ],
114
- }
242
+ ]
115
243
  }
116
244
  >
117
245
  <View
118
- accessible={true}
119
- focusable={false}
120
- onClick={[Function]}
121
- onResponderGrant={[Function]}
122
- onResponderMove={[Function]}
123
- onResponderRelease={[Function]}
124
- onResponderTerminate={[Function]}
125
- onResponderTerminationRequest={[Function]}
126
- onStartShouldSetResponder={[Function]}
246
+ collapsable={false}
127
247
  style={
128
- Array [
129
- Object {
130
- "alignItems": "center",
131
- "alignSelf": "flex-end",
132
- "backgroundColor": "#795e90",
133
- "borderRadius": 999,
134
- "flexDirection": "row",
135
- "margin": 8,
136
- "marginRight": 24,
137
- "overflow": "hidden",
138
- "padding": 12,
139
- },
140
- undefined,
141
- ]
248
+ Object {
249
+ "transform": Array [
250
+ Object {
251
+ "rotate": "-45deg",
252
+ },
253
+ ],
254
+ }
142
255
  }
143
- testID="speaker-action-item"
144
256
  >
145
- <View
257
+ <HeroIcon
258
+ name="add"
146
259
  style={
147
260
  Array [
148
- Object {},
261
+ Object {
262
+ "color": "#001f23",
263
+ "fontSize": 16,
264
+ },
149
265
  Array [
150
266
  Object {
151
- "alignItems": "center",
152
- "height": 24,
153
- "justifyContent": "center",
154
- "width": 24,
267
+ "color": "#ffffff",
268
+ "lineHeight": 24,
269
+ "textAlign": "center",
270
+ "textAlignVertical": "center",
155
271
  },
156
- undefined,
272
+ Object {},
157
273
  ],
158
274
  ]
159
275
  }
160
- >
161
- <HeroIcon
162
- name="speaker"
163
- style={
164
- Array [
165
- Object {
166
- "color": "#001f23",
167
- "fontSize": 16,
168
- },
169
- Array [
170
- Object {
171
- "color": "#ffffff",
172
- },
173
- undefined,
174
- ],
175
- ]
176
- }
177
- themeIntent="text"
178
- themeSize="xsmall"
179
- />
180
- </View>
276
+ testID="animated-fab-icon"
277
+ themeIntent="text"
278
+ themeSize="xsmall"
279
+ />
280
+ </View>
281
+ </View>
282
+ </View>
283
+ </View>
284
+ <Modal
285
+ animationType="fade"
286
+ hardwareAccelerated={false}
287
+ statusBarTranslucent={true}
288
+ transparent={true}
289
+ visible={true}
290
+ >
291
+ <View
292
+ style={
293
+ Array [
294
+ Object {
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
+ Array [
304
+ undefined,
305
+ ],
306
+ ]
307
+ }
308
+ >
309
+ <View
310
+ collapsable={false}
311
+ style={
312
+ Object {
313
+ "backgroundColor": "#000000",
314
+ "bottom": 0,
315
+ "left": 0,
316
+ "opacity": 0.25,
317
+ "position": "absolute",
318
+ "right": 0,
319
+ "top": 0,
320
+ }
321
+ }
322
+ testID="back-drop"
323
+ />
324
+ <View
325
+ collapsable={false}
326
+ style={
327
+ Object {
328
+ "alignItems": "flex-end",
329
+ "justifyContent": "flex-end",
330
+ "opacity": 1,
331
+ "width": "70%",
332
+ }
333
+ }
334
+ testID="action-group"
335
+ >
336
+ <View
337
+ collapsable={false}
338
+ style={
339
+ Object {
340
+ "transform": Array [
341
+ Object {
342
+ "translateY": 50,
343
+ },
344
+ ],
345
+ }
346
+ }
347
+ >
181
348
  <Text
182
349
  allowFontScaling={false}
183
350
  style={
184
351
  Array [
185
352
  Object {
186
353
  "color": "#001f23",
187
- "fontFamily": "BeVietnamPro-Regular",
188
- "fontSize": 16,
189
- "letterSpacing": 0.48,
190
- "lineHeight": 24,
354
+ "fontFamily": "BeVietnamPro-SemiBold",
355
+ "fontSize": 24,
356
+ "letterSpacing": 0,
357
+ "lineHeight": 32,
191
358
  },
192
359
  Array [
193
360
  Object {
194
- "color": "#ffffff",
361
+ "color": "#001f23",
362
+ "marginBottom": 24,
363
+ "marginRight": 24,
364
+ "textAlign": "right",
195
365
  },
196
366
  undefined,
197
367
  ],
198
368
  ]
199
369
  }
370
+ testID="header-text"
200
371
  themeIntent="body"
372
+ themeLevel="h4"
201
373
  themeTypeface="neutral"
202
- themeVariant="regular"
203
374
  >
204
- Give shout out
375
+ What would you like to create?
205
376
  </Text>
206
377
  </View>
207
- </View>
208
- <View
209
- collapsable={false}
210
- style={
211
- Object {
212
- "transform": Array [
213
- Object {
214
- "translateY": 50,
215
- },
216
- ],
217
- }
218
- }
219
- >
220
378
  <View
221
- accessible={true}
222
- focusable={false}
223
- onClick={[Function]}
224
- onResponderGrant={[Function]}
225
- onResponderMove={[Function]}
226
- onResponderRelease={[Function]}
227
- onResponderTerminate={[Function]}
228
- onResponderTerminationRequest={[Function]}
229
- onStartShouldSetResponder={[Function]}
230
379
  style={
231
380
  Array [
232
- Object {
233
- "alignItems": "center",
234
- "alignSelf": "flex-end",
235
- "backgroundColor": "#795e90",
236
- "borderRadius": 999,
237
- "flexDirection": "row",
238
- "margin": 8,
239
- "marginRight": 24,
240
- "overflow": "hidden",
241
- "padding": 12,
242
- },
243
- undefined,
381
+ Object {},
382
+ Array [
383
+ undefined,
384
+ Object {
385
+ "paddingBottom": 0,
386
+ },
387
+ ],
244
388
  ]
245
389
  }
246
- testID="target-action-item"
247
390
  >
248
391
  <View
392
+ collapsable={false}
249
393
  style={
250
- Array [
251
- Object {},
252
- Array [
394
+ Object {
395
+ "transform": Array [
253
396
  Object {
254
- "alignItems": "center",
255
- "height": 24,
256
- "justifyContent": "center",
257
- "width": 24,
397
+ "translateY": 50,
258
398
  },
259
- undefined,
260
399
  ],
261
- ]
400
+ }
262
401
  }
263
402
  >
264
- <HeroIcon
265
- name="target"
403
+ <View
404
+ accessible={true}
405
+ focusable={false}
406
+ onClick={[Function]}
407
+ onResponderGrant={[Function]}
408
+ onResponderMove={[Function]}
409
+ onResponderRelease={[Function]}
410
+ onResponderTerminate={[Function]}
411
+ onResponderTerminationRequest={[Function]}
412
+ onStartShouldSetResponder={[Function]}
266
413
  style={
267
414
  Array [
268
415
  Object {
269
- "color": "#001f23",
270
- "fontSize": 16,
416
+ "alignItems": "center",
417
+ "alignSelf": "flex-end",
418
+ "backgroundColor": "#795e90",
419
+ "borderRadius": 999,
420
+ "flexDirection": "row",
421
+ "margin": 8,
422
+ "marginRight": 24,
423
+ "overflow": "hidden",
424
+ "padding": 12,
271
425
  },
426
+ undefined,
427
+ ]
428
+ }
429
+ testID="speaker-action-item"
430
+ >
431
+ <View
432
+ style={
433
+ Array [
434
+ Object {},
435
+ Array [
436
+ Object {
437
+ "alignItems": "center",
438
+ "height": 24,
439
+ "justifyContent": "center",
440
+ "width": 24,
441
+ },
442
+ undefined,
443
+ ],
444
+ ]
445
+ }
446
+ >
447
+ <HeroIcon
448
+ name="speaker"
449
+ style={
450
+ Array [
451
+ Object {
452
+ "color": "#001f23",
453
+ "fontSize": 16,
454
+ },
455
+ Array [
456
+ Object {
457
+ "color": "#ffffff",
458
+ },
459
+ undefined,
460
+ ],
461
+ ]
462
+ }
463
+ themeIntent="text"
464
+ themeSize="xsmall"
465
+ />
466
+ </View>
467
+ <Text
468
+ allowFontScaling={false}
469
+ style={
272
470
  Array [
273
471
  Object {
274
- "color": "#ffffff",
472
+ "color": "#001f23",
473
+ "fontFamily": "BeVietnamPro-Regular",
474
+ "fontSize": 16,
475
+ "letterSpacing": 0.48,
476
+ "lineHeight": 24,
275
477
  },
276
- undefined,
277
- ],
278
- ]
279
- }
280
- themeIntent="text"
281
- themeSize="xsmall"
282
- />
478
+ Array [
479
+ Object {
480
+ "color": "#ffffff",
481
+ },
482
+ undefined,
483
+ ],
484
+ ]
485
+ }
486
+ themeIntent="body"
487
+ themeTypeface="neutral"
488
+ themeVariant="regular"
489
+ >
490
+ Give shout out
491
+ </Text>
492
+ </View>
283
493
  </View>
284
- <Text
285
- allowFontScaling={false}
494
+ <View
495
+ collapsable={false}
286
496
  style={
287
- Array [
288
- Object {
289
- "color": "#001f23",
290
- "fontFamily": "BeVietnamPro-Regular",
291
- "fontSize": 16,
292
- "letterSpacing": 0.48,
293
- "lineHeight": 24,
294
- },
295
- Array [
497
+ Object {
498
+ "transform": Array [
296
499
  Object {
297
- "color": "#ffffff",
500
+ "translateY": 50,
298
501
  },
299
- undefined,
300
502
  ],
301
- ]
503
+ }
302
504
  }
303
- themeIntent="body"
304
- themeTypeface="neutral"
305
- themeVariant="regular"
306
505
  >
307
- Goal
308
- </Text>
309
- </View>
310
- </View>
311
- <View
312
- collapsable={false}
313
- style={
314
- Object {
315
- "transform": Array [
316
- Object {
317
- "translateY": 50,
318
- },
319
- ],
320
- }
321
- }
322
- >
323
- <View
324
- accessible={true}
325
- focusable={false}
326
- onClick={[Function]}
327
- onResponderGrant={[Function]}
328
- onResponderMove={[Function]}
329
- onResponderRelease={[Function]}
330
- onResponderTerminate={[Function]}
331
- onResponderTerminationRequest={[Function]}
332
- onStartShouldSetResponder={[Function]}
333
- style={
334
- Array [
335
- Object {
336
- "alignItems": "center",
337
- "alignSelf": "flex-end",
338
- "backgroundColor": "#795e90",
339
- "borderRadius": 999,
340
- "flexDirection": "row",
341
- "margin": 8,
342
- "marginRight": 24,
343
- "overflow": "hidden",
344
- "padding": 12,
345
- },
346
- undefined,
347
- ]
348
- }
349
- testID="plane-action-item"
350
- >
351
- <View
352
- style={
353
- Array [
354
- Object {},
506
+ <View
507
+ accessible={true}
508
+ focusable={false}
509
+ onClick={[Function]}
510
+ onResponderGrant={[Function]}
511
+ onResponderMove={[Function]}
512
+ onResponderRelease={[Function]}
513
+ onResponderTerminate={[Function]}
514
+ onResponderTerminationRequest={[Function]}
515
+ onStartShouldSetResponder={[Function]}
516
+ style={
355
517
  Array [
356
518
  Object {
357
519
  "alignItems": "center",
358
- "height": 24,
359
- "justifyContent": "center",
360
- "width": 24,
520
+ "alignSelf": "flex-end",
521
+ "backgroundColor": "#795e90",
522
+ "borderRadius": 999,
523
+ "flexDirection": "row",
524
+ "margin": 8,
525
+ "marginRight": 24,
526
+ "overflow": "hidden",
527
+ "padding": 12,
361
528
  },
362
529
  undefined,
530
+ ]
531
+ }
532
+ testID="target-action-item"
533
+ >
534
+ <View
535
+ style={
536
+ Array [
537
+ Object {},
538
+ Array [
539
+ Object {
540
+ "alignItems": "center",
541
+ "height": 24,
542
+ "justifyContent": "center",
543
+ "width": 24,
544
+ },
545
+ undefined,
546
+ ],
547
+ ]
548
+ }
549
+ >
550
+ <HeroIcon
551
+ name="target"
552
+ style={
553
+ Array [
554
+ Object {
555
+ "color": "#001f23",
556
+ "fontSize": 16,
557
+ },
558
+ Array [
559
+ Object {
560
+ "color": "#ffffff",
561
+ },
562
+ undefined,
563
+ ],
564
+ ]
565
+ }
566
+ themeIntent="text"
567
+ themeSize="xsmall"
568
+ />
569
+ </View>
570
+ <Text
571
+ allowFontScaling={false}
572
+ style={
573
+ Array [
574
+ Object {
575
+ "color": "#001f23",
576
+ "fontFamily": "BeVietnamPro-Regular",
577
+ "fontSize": 16,
578
+ "letterSpacing": 0.48,
579
+ "lineHeight": 24,
580
+ },
581
+ Array [
582
+ Object {
583
+ "color": "#ffffff",
584
+ },
585
+ undefined,
586
+ ],
587
+ ]
588
+ }
589
+ themeIntent="body"
590
+ themeTypeface="neutral"
591
+ themeVariant="regular"
592
+ >
593
+ Goal
594
+ </Text>
595
+ </View>
596
+ </View>
597
+ <View
598
+ collapsable={false}
599
+ style={
600
+ Object {
601
+ "transform": Array [
602
+ Object {
603
+ "translateY": 50,
604
+ },
363
605
  ],
364
- ]
606
+ }
365
607
  }
366
608
  >
367
- <HeroIcon
368
- name="plane"
609
+ <View
610
+ accessible={true}
611
+ focusable={false}
612
+ onClick={[Function]}
613
+ onResponderGrant={[Function]}
614
+ onResponderMove={[Function]}
615
+ onResponderRelease={[Function]}
616
+ onResponderTerminate={[Function]}
617
+ onResponderTerminationRequest={[Function]}
618
+ onStartShouldSetResponder={[Function]}
369
619
  style={
370
620
  Array [
371
621
  Object {
372
- "color": "#001f23",
373
- "fontSize": 16,
622
+ "alignItems": "center",
623
+ "alignSelf": "flex-end",
624
+ "backgroundColor": "#795e90",
625
+ "borderRadius": 999,
626
+ "flexDirection": "row",
627
+ "margin": 8,
628
+ "marginRight": 24,
629
+ "overflow": "hidden",
630
+ "padding": 12,
374
631
  },
632
+ undefined,
633
+ ]
634
+ }
635
+ testID="plane-action-item"
636
+ >
637
+ <View
638
+ style={
639
+ Array [
640
+ Object {},
641
+ Array [
642
+ Object {
643
+ "alignItems": "center",
644
+ "height": 24,
645
+ "justifyContent": "center",
646
+ "width": 24,
647
+ },
648
+ undefined,
649
+ ],
650
+ ]
651
+ }
652
+ >
653
+ <HeroIcon
654
+ name="plane"
655
+ style={
656
+ Array [
657
+ Object {
658
+ "color": "#001f23",
659
+ "fontSize": 16,
660
+ },
661
+ Array [
662
+ Object {
663
+ "color": "#ffffff",
664
+ },
665
+ undefined,
666
+ ],
667
+ ]
668
+ }
669
+ themeIntent="text"
670
+ themeSize="xsmall"
671
+ />
672
+ </View>
673
+ <Text
674
+ allowFontScaling={false}
675
+ style={
375
676
  Array [
376
677
  Object {
377
- "color": "#ffffff",
678
+ "color": "#001f23",
679
+ "fontFamily": "BeVietnamPro-Regular",
680
+ "fontSize": 16,
681
+ "letterSpacing": 0.48,
682
+ "lineHeight": 24,
378
683
  },
379
- undefined,
380
- ],
381
- ]
382
- }
383
- themeIntent="text"
384
- themeSize="xsmall"
385
- />
684
+ Array [
685
+ Object {
686
+ "color": "#ffffff",
687
+ },
688
+ undefined,
689
+ ],
690
+ ]
691
+ }
692
+ themeIntent="body"
693
+ themeTypeface="neutral"
694
+ themeVariant="regular"
695
+ >
696
+ Leave request
697
+ </Text>
698
+ </View>
386
699
  </View>
387
- <Text
388
- allowFontScaling={false}
700
+ <View
701
+ collapsable={false}
389
702
  style={
390
- Array [
391
- Object {
392
- "color": "#001f23",
393
- "fontFamily": "BeVietnamPro-Regular",
394
- "fontSize": 16,
395
- "letterSpacing": 0.48,
396
- "lineHeight": 24,
397
- },
398
- Array [
703
+ Object {
704
+ "transform": Array [
399
705
  Object {
400
- "color": "#ffffff",
706
+ "translateY": 50,
401
707
  },
402
- undefined,
403
708
  ],
404
- ]
709
+ }
405
710
  }
406
- themeIntent="body"
407
- themeTypeface="neutral"
408
- themeVariant="regular"
409
711
  >
410
- Leave request
411
- </Text>
412
- </View>
413
- </View>
414
- <View
415
- collapsable={false}
416
- style={
417
- Object {
418
- "transform": Array [
419
- Object {
420
- "translateY": 50,
421
- },
422
- ],
423
- }
424
- }
425
- >
426
- <View
427
- accessible={true}
428
- focusable={false}
429
- onClick={[Function]}
430
- onResponderGrant={[Function]}
431
- onResponderMove={[Function]}
432
- onResponderRelease={[Function]}
433
- onResponderTerminate={[Function]}
434
- onResponderTerminationRequest={[Function]}
435
- onStartShouldSetResponder={[Function]}
436
- style={
437
- Array [
438
- Object {
439
- "alignItems": "center",
440
- "alignSelf": "flex-end",
441
- "backgroundColor": "#795e90",
442
- "borderRadius": 999,
443
- "flexDirection": "row",
444
- "margin": 8,
445
- "marginRight": 24,
446
- "overflow": "hidden",
447
- "padding": 12,
448
- },
449
- undefined,
450
- ]
451
- }
452
- testID="health-bag-action-item"
453
- >
454
- <View
455
- style={
456
- Array [
457
- Object {},
712
+ <View
713
+ accessible={true}
714
+ focusable={false}
715
+ onClick={[Function]}
716
+ onResponderGrant={[Function]}
717
+ onResponderMove={[Function]}
718
+ onResponderRelease={[Function]}
719
+ onResponderTerminate={[Function]}
720
+ onResponderTerminationRequest={[Function]}
721
+ onStartShouldSetResponder={[Function]}
722
+ style={
458
723
  Array [
459
724
  Object {
460
725
  "alignItems": "center",
461
- "height": 24,
462
- "justifyContent": "center",
463
- "width": 24,
726
+ "alignSelf": "flex-end",
727
+ "backgroundColor": "#795e90",
728
+ "borderRadius": 999,
729
+ "flexDirection": "row",
730
+ "margin": 8,
731
+ "marginRight": 24,
732
+ "overflow": "hidden",
733
+ "padding": 12,
464
734
  },
465
735
  undefined,
736
+ ]
737
+ }
738
+ testID="health-bag-action-item"
739
+ >
740
+ <View
741
+ style={
742
+ Array [
743
+ Object {},
744
+ Array [
745
+ Object {
746
+ "alignItems": "center",
747
+ "height": 24,
748
+ "justifyContent": "center",
749
+ "width": 24,
750
+ },
751
+ undefined,
752
+ ],
753
+ ]
754
+ }
755
+ >
756
+ <HeroIcon
757
+ name="health-bag"
758
+ style={
759
+ Array [
760
+ Object {
761
+ "color": "#001f23",
762
+ "fontSize": 16,
763
+ },
764
+ Array [
765
+ Object {
766
+ "color": "#ffffff",
767
+ },
768
+ undefined,
769
+ ],
770
+ ]
771
+ }
772
+ themeIntent="text"
773
+ themeSize="xsmall"
774
+ />
775
+ </View>
776
+ <Text
777
+ allowFontScaling={false}
778
+ style={
779
+ Array [
780
+ Object {
781
+ "color": "#001f23",
782
+ "fontFamily": "BeVietnamPro-Regular",
783
+ "fontSize": 16,
784
+ "letterSpacing": 0.48,
785
+ "lineHeight": 24,
786
+ },
787
+ Array [
788
+ Object {
789
+ "color": "#ffffff",
790
+ },
791
+ undefined,
792
+ ],
793
+ ]
794
+ }
795
+ themeIntent="body"
796
+ themeTypeface="neutral"
797
+ themeVariant="regular"
798
+ >
799
+ Safety incident
800
+ </Text>
801
+ </View>
802
+ </View>
803
+ <View
804
+ collapsable={false}
805
+ style={
806
+ Object {
807
+ "transform": Array [
808
+ Object {
809
+ "translateY": 50,
810
+ },
466
811
  ],
467
- ]
812
+ }
468
813
  }
469
814
  >
470
- <HeroIcon
471
- name="health-bag"
815
+ <View
816
+ accessible={true}
817
+ focusable={false}
818
+ onClick={[Function]}
819
+ onResponderGrant={[Function]}
820
+ onResponderMove={[Function]}
821
+ onResponderRelease={[Function]}
822
+ onResponderTerminate={[Function]}
823
+ onResponderTerminationRequest={[Function]}
824
+ onStartShouldSetResponder={[Function]}
472
825
  style={
473
826
  Array [
474
827
  Object {
475
- "color": "#001f23",
476
- "fontSize": 16,
828
+ "alignItems": "center",
829
+ "alignSelf": "flex-end",
830
+ "backgroundColor": "#795e90",
831
+ "borderRadius": 999,
832
+ "flexDirection": "row",
833
+ "margin": 8,
834
+ "marginRight": 24,
835
+ "overflow": "hidden",
836
+ "padding": 12,
477
837
  },
838
+ undefined,
839
+ ]
840
+ }
841
+ testID="clock-action-item"
842
+ >
843
+ <View
844
+ style={
845
+ Array [
846
+ Object {},
847
+ Array [
848
+ Object {
849
+ "alignItems": "center",
850
+ "height": 24,
851
+ "justifyContent": "center",
852
+ "width": 24,
853
+ },
854
+ undefined,
855
+ ],
856
+ ]
857
+ }
858
+ >
859
+ <HeroIcon
860
+ name="clock"
861
+ style={
862
+ Array [
863
+ Object {
864
+ "color": "#001f23",
865
+ "fontSize": 16,
866
+ },
867
+ Array [
868
+ Object {
869
+ "color": "#ffffff",
870
+ },
871
+ undefined,
872
+ ],
873
+ ]
874
+ }
875
+ themeIntent="text"
876
+ themeSize="xsmall"
877
+ />
878
+ </View>
879
+ <Text
880
+ allowFontScaling={false}
881
+ style={
478
882
  Array [
479
883
  Object {
480
- "color": "#ffffff",
884
+ "color": "#001f23",
885
+ "fontFamily": "BeVietnamPro-Regular",
886
+ "fontSize": 16,
887
+ "letterSpacing": 0.48,
888
+ "lineHeight": 24,
481
889
  },
482
- undefined,
483
- ],
484
- ]
485
- }
486
- themeIntent="text"
487
- themeSize="xsmall"
488
- />
890
+ Array [
891
+ Object {
892
+ "color": "#ffffff",
893
+ },
894
+ undefined,
895
+ ],
896
+ ]
897
+ }
898
+ themeIntent="body"
899
+ themeTypeface="neutral"
900
+ themeVariant="regular"
901
+ >
902
+ Timesheets
903
+ </Text>
904
+ </View>
489
905
  </View>
490
- <Text
491
- allowFontScaling={false}
492
- style={
493
- Array [
494
- Object {
495
- "color": "#001f23",
496
- "fontFamily": "BeVietnamPro-Regular",
497
- "fontSize": 16,
498
- "letterSpacing": 0.48,
499
- "lineHeight": 24,
500
- },
501
- Array [
502
- Object {
503
- "color": "#ffffff",
504
- },
505
- undefined,
506
- ],
507
- ]
508
- }
509
- themeIntent="body"
510
- themeTypeface="neutral"
511
- themeVariant="regular"
512
- >
513
- Safety incident
514
- </Text>
515
906
  </View>
516
907
  </View>
517
908
  <View
518
- collapsable={false}
909
+ accessible={true}
910
+ focusable={false}
911
+ onClick={[Function]}
912
+ onLayout={[Function]}
913
+ onResponderGrant={[Function]}
914
+ onResponderMove={[Function]}
915
+ onResponderRelease={[Function]}
916
+ onResponderTerminate={[Function]}
917
+ onResponderTerminationRequest={[Function]}
918
+ onStartShouldSetResponder={[Function]}
519
919
  style={
520
- Object {
521
- "transform": Array [
920
+ Array [
921
+ Object {
922
+ "alignItems": "center",
923
+ "alignSelf": "flex-start",
924
+ "backgroundColor": "#33144d",
925
+ "borderRadius": 999,
926
+ "elevation": 2,
927
+ "flexDirection": "row",
928
+ "justifyContent": "center",
929
+ "padding": 20,
930
+ "shadowColor": "#001f23",
931
+ "shadowOffset": Object {
932
+ "height": 2,
933
+ "width": 0,
934
+ },
935
+ "shadowOpacity": 0.12,
936
+ "shadowRadius": 8,
937
+ },
938
+ Array [
939
+ Array [
940
+ Object {
941
+ "alignSelf": "flex-end",
942
+ "marginRight": 24,
943
+ "marginTop": 24,
944
+ },
945
+ undefined,
946
+ ],
522
947
  Object {
523
- "translateY": 50,
948
+ "bottom": undefined,
524
949
  },
525
950
  ],
526
- }
951
+ ]
527
952
  }
953
+ testID="fab-in-portal"
528
954
  >
529
955
  <View
530
- accessible={true}
531
- focusable={false}
532
- onClick={[Function]}
533
- onResponderGrant={[Function]}
534
- onResponderMove={[Function]}
535
- onResponderRelease={[Function]}
536
- onResponderTerminate={[Function]}
537
- onResponderTerminationRequest={[Function]}
538
- onStartShouldSetResponder={[Function]}
539
956
  style={
540
957
  Array [
541
- Object {
542
- "alignItems": "center",
543
- "alignSelf": "flex-end",
544
- "backgroundColor": "#795e90",
545
- "borderRadius": 999,
546
- "flexDirection": "row",
547
- "margin": 8,
548
- "marginRight": 24,
549
- "overflow": "hidden",
550
- "padding": 12,
551
- },
552
- undefined,
958
+ Object {},
959
+ Array [
960
+ Object {
961
+ "alignItems": "center",
962
+ "height": 24,
963
+ "justifyContent": "center",
964
+ "width": 24,
965
+ },
966
+ undefined,
967
+ ],
553
968
  ]
554
969
  }
555
- testID="clock-action-item"
556
970
  >
557
971
  <View
972
+ collapsable={false}
558
973
  style={
559
- Array [
560
- Object {},
561
- Array [
974
+ Object {
975
+ "transform": Array [
562
976
  Object {
563
- "alignItems": "center",
564
- "height": 24,
565
- "justifyContent": "center",
566
- "width": 24,
977
+ "rotate": "-45deg",
567
978
  },
568
- undefined,
569
979
  ],
570
- ]
980
+ }
571
981
  }
572
982
  >
573
983
  <HeroIcon
574
- name="clock"
984
+ name="add"
575
985
  style={
576
986
  Array [
577
987
  Object {
@@ -581,882 +991,22 @@ exports[`ActionGroup has active false 1`] = `
581
991
  Array [
582
992
  Object {
583
993
  "color": "#ffffff",
994
+ "lineHeight": 24,
995
+ "textAlign": "center",
996
+ "textAlignVertical": "center",
584
997
  },
585
- undefined,
998
+ Object {},
586
999
  ],
587
1000
  ]
588
1001
  }
1002
+ testID="animated-fab-icon"
589
1003
  themeIntent="text"
590
1004
  themeSize="xsmall"
591
1005
  />
592
1006
  </View>
593
- <Text
594
- allowFontScaling={false}
595
- style={
596
- Array [
597
- Object {
598
- "color": "#001f23",
599
- "fontFamily": "BeVietnamPro-Regular",
600
- "fontSize": 16,
601
- "letterSpacing": 0.48,
602
- "lineHeight": 24,
603
- },
604
- Array [
605
- Object {
606
- "color": "#ffffff",
607
- },
608
- undefined,
609
- ],
610
- ]
611
- }
612
- themeIntent="body"
613
- themeTypeface="neutral"
614
- themeVariant="regular"
615
- >
616
- Timesheets
617
- </Text>
618
1007
  </View>
619
1008
  </View>
620
1009
  </View>
621
- </View>
622
- <View
623
- accessible={true}
624
- focusable={false}
625
- onClick={[Function]}
626
- onLayout={[Function]}
627
- onResponderGrant={[Function]}
628
- onResponderMove={[Function]}
629
- onResponderRelease={[Function]}
630
- onResponderTerminate={[Function]}
631
- onResponderTerminationRequest={[Function]}
632
- onStartShouldSetResponder={[Function]}
633
- style={
634
- Array [
635
- Object {
636
- "alignItems": "center",
637
- "alignSelf": "flex-start",
638
- "backgroundColor": "#401960",
639
- "borderRadius": 999,
640
- "elevation": 2,
641
- "flexDirection": "row",
642
- "justifyContent": "center",
643
- "padding": 20,
644
- "shadowColor": "#001f23",
645
- "shadowOffset": Object {
646
- "height": 2,
647
- "width": 0,
648
- },
649
- "shadowOpacity": 0.12,
650
- "shadowRadius": 8,
651
- },
652
- Array [
653
- Array [
654
- Object {
655
- "alignSelf": "flex-end",
656
- "marginRight": 24,
657
- "marginTop": 24,
658
- },
659
- undefined,
660
- ],
661
- Object {
662
- "bottom": undefined,
663
- },
664
- ],
665
- ]
666
- }
667
- testID="fab"
668
- >
669
- <View
670
- style={
671
- Array [
672
- Object {},
673
- Array [
674
- Object {
675
- "alignItems": "center",
676
- "height": 24,
677
- "justifyContent": "center",
678
- "width": 24,
679
- },
680
- undefined,
681
- ],
682
- ]
683
- }
684
- >
685
- <HeroIcon
686
- name="add"
687
- style={
688
- Array [
689
- Object {
690
- "color": "#001f23",
691
- "fontSize": 16,
692
- },
693
- Array [
694
- Object {
695
- "color": "#ffffff",
696
- "lineHeight": 24,
697
- "textAlign": "center",
698
- "textAlignVertical": "center",
699
- },
700
- undefined,
701
- ],
702
- ]
703
- }
704
- testID="styled-fab-icon"
705
- themeIntent="text"
706
- themeSize="xsmall"
707
- />
708
- </View>
709
- <Text
710
- allowFontScaling={false}
711
- style={
712
- Array [
713
- Object {
714
- "color": "#001f23",
715
- "fontFamily": "BeVietnamPro-Regular",
716
- "fontSize": 16,
717
- "letterSpacing": 0.48,
718
- "lineHeight": 24,
719
- },
720
- Array [
721
- Object {
722
- "color": "#ffffff",
723
- "marginHorizontal": 8,
724
- "textAlign": "center",
725
- "textAlignVertical": "center",
726
- },
727
- undefined,
728
- ],
729
- ]
730
- }
731
- themeIntent="body"
732
- themeTypeface="neutral"
733
- themeVariant="regular"
734
- >
735
- Shout out
736
- </Text>
737
- </View>
738
- </View>
739
- `;
740
-
741
- exports[`ActionGroup has active true 1`] = `
742
- <View
743
- pointerEvents="box-none"
744
- style={
745
- Array [
746
- Object {
747
- "alignItems": "flex-end",
748
- "bottom": 0,
749
- "justifyContent": "flex-end",
750
- "left": 0,
751
- "position": "absolute",
752
- "right": 0,
753
- "top": 0,
754
- },
755
- undefined,
756
- ]
757
- }
758
- >
759
- <View
760
- collapsable={false}
761
- pointerEvents="auto"
762
- style={
763
- Object {
764
- "backgroundColor": "#000000",
765
- "bottom": 0,
766
- "left": 0,
767
- "opacity": 0.25,
768
- "position": "absolute",
769
- "right": 0,
770
- "top": 0,
771
- }
772
- }
773
- testID="back-drop"
774
- />
775
- <View
776
- collapsable={false}
777
- pointerEvents="auto"
778
- style={
779
- Object {
780
- "alignItems": "flex-end",
781
- "justifyContent": "flex-end",
782
- "opacity": 1,
783
- "width": "70%",
784
- }
785
- }
786
- testID="action-group"
787
- >
788
- <View
789
- collapsable={false}
790
- style={
791
- Object {
792
- "transform": Array [
793
- Object {
794
- "translateY": 50,
795
- },
796
- ],
797
- }
798
- }
799
- >
800
- <Text
801
- allowFontScaling={false}
802
- style={
803
- Array [
804
- Object {
805
- "color": "#001f23",
806
- "fontFamily": "BeVietnamPro-SemiBold",
807
- "fontSize": 24,
808
- "letterSpacing": 0,
809
- "lineHeight": 32,
810
- },
811
- Array [
812
- Object {
813
- "color": "#001f23",
814
- "marginBottom": 24,
815
- "marginRight": 24,
816
- "textAlign": "right",
817
- },
818
- undefined,
819
- ],
820
- ]
821
- }
822
- testID="header-text"
823
- themeIntent="body"
824
- themeLevel="h4"
825
- themeTypeface="neutral"
826
- >
827
- What would you like to create?
828
- </Text>
829
- </View>
830
- <View
831
- style={
832
- Array [
833
- Object {},
834
- Array [
835
- undefined,
836
- Object {
837
- "paddingBottom": 0,
838
- },
839
- ],
840
- ]
841
- }
842
- >
843
- <View
844
- collapsable={false}
845
- style={
846
- Object {
847
- "transform": Array [
848
- Object {
849
- "translateY": 50,
850
- },
851
- ],
852
- }
853
- }
854
- >
855
- <View
856
- accessible={true}
857
- focusable={false}
858
- onClick={[Function]}
859
- onResponderGrant={[Function]}
860
- onResponderMove={[Function]}
861
- onResponderRelease={[Function]}
862
- onResponderTerminate={[Function]}
863
- onResponderTerminationRequest={[Function]}
864
- onStartShouldSetResponder={[Function]}
865
- style={
866
- Array [
867
- Object {
868
- "alignItems": "center",
869
- "alignSelf": "flex-end",
870
- "backgroundColor": "#795e90",
871
- "borderRadius": 999,
872
- "flexDirection": "row",
873
- "margin": 8,
874
- "marginRight": 24,
875
- "overflow": "hidden",
876
- "padding": 12,
877
- },
878
- undefined,
879
- ]
880
- }
881
- testID="speaker-action-item"
882
- >
883
- <View
884
- style={
885
- Array [
886
- Object {},
887
- Array [
888
- Object {
889
- "alignItems": "center",
890
- "height": 24,
891
- "justifyContent": "center",
892
- "width": 24,
893
- },
894
- undefined,
895
- ],
896
- ]
897
- }
898
- >
899
- <HeroIcon
900
- name="speaker"
901
- style={
902
- Array [
903
- Object {
904
- "color": "#001f23",
905
- "fontSize": 16,
906
- },
907
- Array [
908
- Object {
909
- "color": "#ffffff",
910
- },
911
- undefined,
912
- ],
913
- ]
914
- }
915
- themeIntent="text"
916
- themeSize="xsmall"
917
- />
918
- </View>
919
- <Text
920
- allowFontScaling={false}
921
- style={
922
- Array [
923
- Object {
924
- "color": "#001f23",
925
- "fontFamily": "BeVietnamPro-Regular",
926
- "fontSize": 16,
927
- "letterSpacing": 0.48,
928
- "lineHeight": 24,
929
- },
930
- Array [
931
- Object {
932
- "color": "#ffffff",
933
- },
934
- undefined,
935
- ],
936
- ]
937
- }
938
- themeIntent="body"
939
- themeTypeface="neutral"
940
- themeVariant="regular"
941
- >
942
- Give shout out
943
- </Text>
944
- </View>
945
- </View>
946
- <View
947
- collapsable={false}
948
- style={
949
- Object {
950
- "transform": Array [
951
- Object {
952
- "translateY": 50,
953
- },
954
- ],
955
- }
956
- }
957
- >
958
- <View
959
- accessible={true}
960
- focusable={false}
961
- onClick={[Function]}
962
- onResponderGrant={[Function]}
963
- onResponderMove={[Function]}
964
- onResponderRelease={[Function]}
965
- onResponderTerminate={[Function]}
966
- onResponderTerminationRequest={[Function]}
967
- onStartShouldSetResponder={[Function]}
968
- style={
969
- Array [
970
- Object {
971
- "alignItems": "center",
972
- "alignSelf": "flex-end",
973
- "backgroundColor": "#795e90",
974
- "borderRadius": 999,
975
- "flexDirection": "row",
976
- "margin": 8,
977
- "marginRight": 24,
978
- "overflow": "hidden",
979
- "padding": 12,
980
- },
981
- undefined,
982
- ]
983
- }
984
- testID="target-action-item"
985
- >
986
- <View
987
- style={
988
- Array [
989
- Object {},
990
- Array [
991
- Object {
992
- "alignItems": "center",
993
- "height": 24,
994
- "justifyContent": "center",
995
- "width": 24,
996
- },
997
- undefined,
998
- ],
999
- ]
1000
- }
1001
- >
1002
- <HeroIcon
1003
- name="target"
1004
- style={
1005
- Array [
1006
- Object {
1007
- "color": "#001f23",
1008
- "fontSize": 16,
1009
- },
1010
- Array [
1011
- Object {
1012
- "color": "#ffffff",
1013
- },
1014
- undefined,
1015
- ],
1016
- ]
1017
- }
1018
- themeIntent="text"
1019
- themeSize="xsmall"
1020
- />
1021
- </View>
1022
- <Text
1023
- allowFontScaling={false}
1024
- style={
1025
- Array [
1026
- Object {
1027
- "color": "#001f23",
1028
- "fontFamily": "BeVietnamPro-Regular",
1029
- "fontSize": 16,
1030
- "letterSpacing": 0.48,
1031
- "lineHeight": 24,
1032
- },
1033
- Array [
1034
- Object {
1035
- "color": "#ffffff",
1036
- },
1037
- undefined,
1038
- ],
1039
- ]
1040
- }
1041
- themeIntent="body"
1042
- themeTypeface="neutral"
1043
- themeVariant="regular"
1044
- >
1045
- Goal
1046
- </Text>
1047
- </View>
1048
- </View>
1049
- <View
1050
- collapsable={false}
1051
- style={
1052
- Object {
1053
- "transform": Array [
1054
- Object {
1055
- "translateY": 50,
1056
- },
1057
- ],
1058
- }
1059
- }
1060
- >
1061
- <View
1062
- accessible={true}
1063
- focusable={false}
1064
- onClick={[Function]}
1065
- onResponderGrant={[Function]}
1066
- onResponderMove={[Function]}
1067
- onResponderRelease={[Function]}
1068
- onResponderTerminate={[Function]}
1069
- onResponderTerminationRequest={[Function]}
1070
- onStartShouldSetResponder={[Function]}
1071
- style={
1072
- Array [
1073
- Object {
1074
- "alignItems": "center",
1075
- "alignSelf": "flex-end",
1076
- "backgroundColor": "#795e90",
1077
- "borderRadius": 999,
1078
- "flexDirection": "row",
1079
- "margin": 8,
1080
- "marginRight": 24,
1081
- "overflow": "hidden",
1082
- "padding": 12,
1083
- },
1084
- undefined,
1085
- ]
1086
- }
1087
- testID="plane-action-item"
1088
- >
1089
- <View
1090
- style={
1091
- Array [
1092
- Object {},
1093
- Array [
1094
- Object {
1095
- "alignItems": "center",
1096
- "height": 24,
1097
- "justifyContent": "center",
1098
- "width": 24,
1099
- },
1100
- undefined,
1101
- ],
1102
- ]
1103
- }
1104
- >
1105
- <HeroIcon
1106
- name="plane"
1107
- style={
1108
- Array [
1109
- Object {
1110
- "color": "#001f23",
1111
- "fontSize": 16,
1112
- },
1113
- Array [
1114
- Object {
1115
- "color": "#ffffff",
1116
- },
1117
- undefined,
1118
- ],
1119
- ]
1120
- }
1121
- themeIntent="text"
1122
- themeSize="xsmall"
1123
- />
1124
- </View>
1125
- <Text
1126
- allowFontScaling={false}
1127
- style={
1128
- Array [
1129
- Object {
1130
- "color": "#001f23",
1131
- "fontFamily": "BeVietnamPro-Regular",
1132
- "fontSize": 16,
1133
- "letterSpacing": 0.48,
1134
- "lineHeight": 24,
1135
- },
1136
- Array [
1137
- Object {
1138
- "color": "#ffffff",
1139
- },
1140
- undefined,
1141
- ],
1142
- ]
1143
- }
1144
- themeIntent="body"
1145
- themeTypeface="neutral"
1146
- themeVariant="regular"
1147
- >
1148
- Leave request
1149
- </Text>
1150
- </View>
1151
- </View>
1152
- <View
1153
- collapsable={false}
1154
- style={
1155
- Object {
1156
- "transform": Array [
1157
- Object {
1158
- "translateY": 50,
1159
- },
1160
- ],
1161
- }
1162
- }
1163
- >
1164
- <View
1165
- accessible={true}
1166
- focusable={false}
1167
- onClick={[Function]}
1168
- onResponderGrant={[Function]}
1169
- onResponderMove={[Function]}
1170
- onResponderRelease={[Function]}
1171
- onResponderTerminate={[Function]}
1172
- onResponderTerminationRequest={[Function]}
1173
- onStartShouldSetResponder={[Function]}
1174
- style={
1175
- Array [
1176
- Object {
1177
- "alignItems": "center",
1178
- "alignSelf": "flex-end",
1179
- "backgroundColor": "#795e90",
1180
- "borderRadius": 999,
1181
- "flexDirection": "row",
1182
- "margin": 8,
1183
- "marginRight": 24,
1184
- "overflow": "hidden",
1185
- "padding": 12,
1186
- },
1187
- undefined,
1188
- ]
1189
- }
1190
- testID="health-bag-action-item"
1191
- >
1192
- <View
1193
- style={
1194
- Array [
1195
- Object {},
1196
- Array [
1197
- Object {
1198
- "alignItems": "center",
1199
- "height": 24,
1200
- "justifyContent": "center",
1201
- "width": 24,
1202
- },
1203
- undefined,
1204
- ],
1205
- ]
1206
- }
1207
- >
1208
- <HeroIcon
1209
- name="health-bag"
1210
- style={
1211
- Array [
1212
- Object {
1213
- "color": "#001f23",
1214
- "fontSize": 16,
1215
- },
1216
- Array [
1217
- Object {
1218
- "color": "#ffffff",
1219
- },
1220
- undefined,
1221
- ],
1222
- ]
1223
- }
1224
- themeIntent="text"
1225
- themeSize="xsmall"
1226
- />
1227
- </View>
1228
- <Text
1229
- allowFontScaling={false}
1230
- style={
1231
- Array [
1232
- Object {
1233
- "color": "#001f23",
1234
- "fontFamily": "BeVietnamPro-Regular",
1235
- "fontSize": 16,
1236
- "letterSpacing": 0.48,
1237
- "lineHeight": 24,
1238
- },
1239
- Array [
1240
- Object {
1241
- "color": "#ffffff",
1242
- },
1243
- undefined,
1244
- ],
1245
- ]
1246
- }
1247
- themeIntent="body"
1248
- themeTypeface="neutral"
1249
- themeVariant="regular"
1250
- >
1251
- Safety incident
1252
- </Text>
1253
- </View>
1254
- </View>
1255
- <View
1256
- collapsable={false}
1257
- style={
1258
- Object {
1259
- "transform": Array [
1260
- Object {
1261
- "translateY": 50,
1262
- },
1263
- ],
1264
- }
1265
- }
1266
- >
1267
- <View
1268
- accessible={true}
1269
- focusable={false}
1270
- onClick={[Function]}
1271
- onResponderGrant={[Function]}
1272
- onResponderMove={[Function]}
1273
- onResponderRelease={[Function]}
1274
- onResponderTerminate={[Function]}
1275
- onResponderTerminationRequest={[Function]}
1276
- onStartShouldSetResponder={[Function]}
1277
- style={
1278
- Array [
1279
- Object {
1280
- "alignItems": "center",
1281
- "alignSelf": "flex-end",
1282
- "backgroundColor": "#795e90",
1283
- "borderRadius": 999,
1284
- "flexDirection": "row",
1285
- "margin": 8,
1286
- "marginRight": 24,
1287
- "overflow": "hidden",
1288
- "padding": 12,
1289
- },
1290
- undefined,
1291
- ]
1292
- }
1293
- testID="clock-action-item"
1294
- >
1295
- <View
1296
- style={
1297
- Array [
1298
- Object {},
1299
- Array [
1300
- Object {
1301
- "alignItems": "center",
1302
- "height": 24,
1303
- "justifyContent": "center",
1304
- "width": 24,
1305
- },
1306
- undefined,
1307
- ],
1308
- ]
1309
- }
1310
- >
1311
- <HeroIcon
1312
- name="clock"
1313
- style={
1314
- Array [
1315
- Object {
1316
- "color": "#001f23",
1317
- "fontSize": 16,
1318
- },
1319
- Array [
1320
- Object {
1321
- "color": "#ffffff",
1322
- },
1323
- undefined,
1324
- ],
1325
- ]
1326
- }
1327
- themeIntent="text"
1328
- themeSize="xsmall"
1329
- />
1330
- </View>
1331
- <Text
1332
- allowFontScaling={false}
1333
- style={
1334
- Array [
1335
- Object {
1336
- "color": "#001f23",
1337
- "fontFamily": "BeVietnamPro-Regular",
1338
- "fontSize": 16,
1339
- "letterSpacing": 0.48,
1340
- "lineHeight": 24,
1341
- },
1342
- Array [
1343
- Object {
1344
- "color": "#ffffff",
1345
- },
1346
- undefined,
1347
- ],
1348
- ]
1349
- }
1350
- themeIntent="body"
1351
- themeTypeface="neutral"
1352
- themeVariant="regular"
1353
- >
1354
- Timesheets
1355
- </Text>
1356
- </View>
1357
- </View>
1358
- </View>
1359
- </View>
1360
- <View
1361
- accessible={true}
1362
- focusable={false}
1363
- onClick={[Function]}
1364
- onLayout={[Function]}
1365
- onResponderGrant={[Function]}
1366
- onResponderMove={[Function]}
1367
- onResponderRelease={[Function]}
1368
- onResponderTerminate={[Function]}
1369
- onResponderTerminationRequest={[Function]}
1370
- onStartShouldSetResponder={[Function]}
1371
- style={
1372
- Array [
1373
- Object {
1374
- "alignItems": "center",
1375
- "alignSelf": "flex-start",
1376
- "backgroundColor": "#33144d",
1377
- "borderRadius": 999,
1378
- "elevation": 2,
1379
- "flexDirection": "row",
1380
- "justifyContent": "center",
1381
- "padding": 20,
1382
- "shadowColor": "#001f23",
1383
- "shadowOffset": Object {
1384
- "height": 2,
1385
- "width": 0,
1386
- },
1387
- "shadowOpacity": 0.12,
1388
- "shadowRadius": 8,
1389
- },
1390
- Array [
1391
- Array [
1392
- Object {
1393
- "alignSelf": "flex-end",
1394
- "marginRight": 24,
1395
- "marginTop": 24,
1396
- },
1397
- undefined,
1398
- ],
1399
- Object {
1400
- "bottom": undefined,
1401
- },
1402
- ],
1403
- ]
1404
- }
1405
- testID="fab"
1406
- >
1407
- <View
1408
- style={
1409
- Array [
1410
- Object {},
1411
- Array [
1412
- Object {
1413
- "alignItems": "center",
1414
- "height": 24,
1415
- "justifyContent": "center",
1416
- "width": 24,
1417
- },
1418
- undefined,
1419
- ],
1420
- ]
1421
- }
1422
- >
1423
- <View
1424
- collapsable={false}
1425
- style={
1426
- Object {
1427
- "transform": Array [
1428
- Object {
1429
- "rotate": "-45deg",
1430
- },
1431
- ],
1432
- }
1433
- }
1434
- >
1435
- <HeroIcon
1436
- name="add"
1437
- style={
1438
- Array [
1439
- Object {
1440
- "color": "#001f23",
1441
- "fontSize": 16,
1442
- },
1443
- Array [
1444
- Object {
1445
- "color": "#ffffff",
1446
- "lineHeight": 24,
1447
- "textAlign": "center",
1448
- "textAlignVertical": "center",
1449
- },
1450
- Object {},
1451
- ],
1452
- ]
1453
- }
1454
- testID="animated-fab-icon"
1455
- themeIntent="text"
1456
- themeSize="xsmall"
1457
- />
1458
- </View>
1459
- </View>
1460
- </View>
1010
+ </Modal>
1461
1011
  </View>
1462
1012
  `;