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