@hero-design/rn 8.44.0-alpha.0 → 8.45.0-test.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 (276) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/CHANGELOG.md +36 -0
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +2772 -2661
  5. package/jest-setup.ts +2 -0
  6. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  7. package/lib/index.js +2775 -2665
  8. package/package.json +23 -24
  9. package/rollup.config.js +0 -1
  10. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -384
  11. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
  12. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +791 -605
  13. package/src/components/Accordion/index.tsx +1 -1
  14. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -567
  15. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +172 -110
  16. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -70
  17. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -581
  18. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +158 -57
  19. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -153
  20. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
  21. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
  22. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -242
  23. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -183
  24. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
  25. package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
  27. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
  28. package/src/components/Button/StyledButton.tsx +4 -0
  29. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -106
  30. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1675 -1125
  31. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +71 -26
  32. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1651 -665
  33. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -330
  34. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
  35. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
  36. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
  37. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
  38. package/src/components/Carousel/CardCarousel.tsx +10 -7
  39. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -406
  40. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +197 -70
  41. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
  42. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1742 -1526
  43. package/src/components/Carousel/__tests__/index.spec.tsx +50 -3
  44. package/src/components/Carousel/index.tsx +16 -22
  45. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +404 -112
  46. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -334
  47. package/src/components/Chip/StyledChip.tsx +121 -0
  48. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
  49. package/src/components/Chip/__tests__/index.spec.tsx +136 -0
  50. package/src/components/Chip/index.tsx +82 -0
  51. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
  52. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
  53. package/src/components/Collapse/index.tsx +1 -1
  54. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
  55. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +424 -268
  56. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +586 -466
  57. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -160
  58. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -152
  59. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -389
  60. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
  61. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
  62. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
  63. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
  64. package/src/components/Error/StyledError.tsx +2 -1
  65. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +390 -262
  66. package/src/components/Error/__tests__/index.spec.tsx +9 -6
  67. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +860 -723
  68. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
  69. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +199 -99
  70. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +293 -185
  71. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
  72. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  73. package/src/components/Icon/IconList.ts +3 -0
  74. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
  75. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
  76. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -170
  77. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +760 -588
  78. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +272 -128
  79. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +477 -193
  80. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
  81. package/src/components/Modal/__tests__/index.spec.tsx +99 -0
  82. package/src/components/Modal/index.tsx +178 -82
  83. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
  84. package/src/components/PageControl/index.tsx +1 -0
  85. package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
  86. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
  87. package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
  88. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
  89. package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
  90. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
  91. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
  92. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -116
  93. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +257 -205
  94. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -600
  95. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
  96. package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
  97. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
  98. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +413 -266
  99. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -35
  100. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +371 -297
  101. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
  102. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
  103. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -57
  104. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2387 -2151
  105. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +621 -28
  106. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
  107. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -37
  108. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2321 -2085
  109. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +473 -23
  110. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
  111. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
  112. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
  113. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
  114. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
  115. package/src/components/Success/StyledSuccess.tsx +2 -1
  116. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +388 -258
  117. package/src/components/Success/__tests__/index.spec.tsx +9 -6
  118. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -75
  119. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
  120. package/src/components/Swipeable/index.tsx +3 -3
  121. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
  122. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +146 -109
  123. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
  124. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -68
  125. package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
  126. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
  127. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2217 -1962
  128. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -455
  129. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
  130. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1641 -1398
  131. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
  132. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
  133. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
  134. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -310
  135. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -540
  136. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
  137. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
  138. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
  139. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
  140. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
  141. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
  142. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
  143. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
  144. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
  145. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
  146. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
  147. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
  148. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
  149. package/src/index.ts +2 -2
  150. package/src/testHelpers/renderWithTheme.tsx +2 -2
  151. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +38 -1
  152. package/src/theme/components/button.ts +0 -1
  153. package/src/theme/components/chip.ts +47 -0
  154. package/src/theme/getTheme.ts +3 -0
  155. package/testUtils/setup.tsx +0 -18
  156. package/tsconfig.json +4 -1
  157. package/types/components/Accordion/AccordionItem.d.ts +2 -1
  158. package/types/components/Accordion/index.d.ts +1 -1
  159. package/types/components/Attachment/index.d.ts +2 -1
  160. package/types/components/Avatar/Avatar.d.ts +2 -1
  161. package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
  162. package/types/components/Avatar/index.d.ts +3 -2
  163. package/types/components/Badge/StyledBadge.d.ts +0 -4
  164. package/types/components/BottomSheet/Footer.d.ts +2 -1
  165. package/types/components/BottomSheet/Header.d.ts +2 -1
  166. package/types/components/BottomSheet/ScrollView.d.ts +1 -0
  167. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
  168. package/types/components/Box/index.d.ts +2 -1
  169. package/types/components/Button/IconButton.d.ts +2 -1
  170. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
  171. package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
  172. package/types/components/Button/UtilityButton/index.d.ts +2 -1
  173. package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
  174. package/types/components/Calendar/StyledCalendar.d.ts +1 -1
  175. package/types/components/Calendar/index.d.ts +2 -1
  176. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  177. package/types/components/Carousel/CarouselItem.d.ts +2 -1
  178. package/types/components/Carousel/index.d.ts +2 -2
  179. package/types/components/Checkbox/index.d.ts +2 -1
  180. package/types/components/Chip/StyledChip.d.ts +31 -0
  181. package/types/components/Chip/index.d.ts +27 -0
  182. package/types/components/Collapse/StyledCollapse.d.ts +0 -2
  183. package/types/components/Collapse/index.d.ts +2 -1
  184. package/types/components/ContentNavigator/index.d.ts +2 -1
  185. package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
  186. package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
  187. package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
  188. package/types/components/DatePicker/index.d.ts +2 -1
  189. package/types/components/Divider/index.d.ts +2 -1
  190. package/types/components/Drawer/StyledDrawer.d.ts +0 -6
  191. package/types/components/Error/StyledError.d.ts +3 -9
  192. package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
  193. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
  194. package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
  195. package/types/components/HeroDesignProvider/index.d.ts +2 -1
  196. package/types/components/Icon/AnimatedIcon.d.ts +2 -1
  197. package/types/components/Icon/IconList.d.ts +1 -1
  198. package/types/components/Icon/index.d.ts +3 -2
  199. package/types/components/Icon/utils.d.ts +1 -1
  200. package/types/components/Image/index.d.ts +1 -0
  201. package/types/components/Modal/index.d.ts +12 -8
  202. package/types/components/PageControl/StyledPageControl.d.ts +0 -2
  203. package/types/components/PageControl/index.d.ts +2 -1
  204. package/types/components/PinInput/PinCell.d.ts +2 -1
  205. package/types/components/Portal/PortalHost.d.ts +1 -1
  206. package/types/components/Portal/PortalProvider.d.ts +1 -1
  207. package/types/components/Portal/index.d.ts +2 -2
  208. package/types/components/Progress/ProgressBar.d.ts +1 -0
  209. package/types/components/Progress/StyledProgressBar.d.ts +0 -2
  210. package/types/components/Progress/index.d.ts +1 -0
  211. package/types/components/Rate/StyledRate.d.ts +0 -2
  212. package/types/components/Rate/index.d.ts +2 -1
  213. package/types/components/RefreshControl/index.d.ts +2 -1
  214. package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
  215. package/types/components/RichTextEditor/MentionList.d.ts +2 -1
  216. package/types/components/RichTextEditor/index.d.ts +2 -2
  217. package/types/components/Select/BaseOptionList.d.ts +1 -1
  218. package/types/components/Select/Footer.d.ts +2 -1
  219. package/types/components/Select/MultiSelect/Option.d.ts +2 -1
  220. package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
  221. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  222. package/types/components/Select/SingleSelect/Option.d.ts +2 -1
  223. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  224. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  225. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  226. package/types/components/Select/helpers.d.ts +1 -2
  227. package/types/components/Select/index.d.ts +2 -1
  228. package/types/components/Skeleton/index.d.ts +2 -1
  229. package/types/components/Slider/index.d.ts +2 -1
  230. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  231. package/types/components/Success/StyledSuccess.d.ts +3 -7
  232. package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
  233. package/types/components/Swipeable/index.d.ts +3 -3
  234. package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
  235. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
  236. package/types/components/Switch/StyledSwitch.d.ts +0 -2
  237. package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
  238. package/types/components/Tabs/SceneView.d.ts +1 -1
  239. package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
  240. package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
  241. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
  242. package/types/components/Tabs/StyledTabs.d.ts +0 -4
  243. package/types/components/Tabs/TabWithBadge.d.ts +2 -2
  244. package/types/components/Tabs/index.d.ts +2 -1
  245. package/types/components/TextInput/StyledTextInput.d.ts +1 -1
  246. package/types/components/TextInput/index.d.ts +1 -1
  247. package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
  248. package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
  249. package/types/components/TimePicker/index.d.ts +2 -1
  250. package/types/components/Toast/StyledToast.d.ts +0 -2
  251. package/types/components/Toast/Toast.d.ts +1 -0
  252. package/types/components/Toast/ToastProvider.d.ts +2 -1
  253. package/types/components/Toast/index.d.ts +1 -1
  254. package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
  255. package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
  256. package/types/components/Toolbar/index.d.ts +3 -2
  257. package/types/components/Typography/Body/index.d.ts +2 -1
  258. package/types/components/Typography/Caption/index.d.ts +2 -1
  259. package/types/components/Typography/Label/index.d.ts +2 -1
  260. package/types/components/Typography/Text/index.d.ts +2 -1
  261. package/types/components/Typography/Title/index.d.ts +2 -1
  262. package/types/index.d.ts +2 -2
  263. package/types/testHelpers/renderWithTheme.d.ts +1 -0
  264. package/types/theme/ThemeSwitcher.d.ts +2 -2
  265. package/types/theme/components/button.d.ts +0 -1
  266. package/types/theme/components/chip.d.ts +40 -0
  267. package/types/theme/getTheme.d.ts +2 -0
  268. package/.turbo/turbo-publish:npm.log +0 -0
  269. package/src/components/Modal/ModalContentWrapper.tsx +0 -112
  270. package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
  271. package/src/components/Modal/ModalPresenter/index.tsx +0 -9
  272. package/src/components/Modal/ModalProvider.tsx +0 -8
  273. package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
  274. package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
  275. package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
  276. package/types/components/Modal/ModalProvider.d.ts +0 -5
@@ -2,52 +2,57 @@
2
2
 
3
3
  exports[`TimePickerIOS renders correct with hide suffix 1`] = `
4
4
  <View
5
- accessibilityState={
6
- {
7
- "disabled": false,
8
- }
9
- }
10
- accessible={true}
11
- collapsable={false}
12
- focusable={true}
13
- onClick={[Function]}
14
- onResponderGrant={[Function]}
15
- onResponderMove={[Function]}
16
- onResponderRelease={[Function]}
17
- onResponderTerminate={[Function]}
18
- onResponderTerminationRequest={[Function]}
19
- onStartShouldSetResponder={[Function]}
20
5
  style={
21
6
  {
22
- "opacity": 1,
7
+ "flex": 1,
23
8
  }
24
9
  }
25
10
  >
26
11
  <View
27
- pointerEvents="none"
28
- testID="timePickerInputIOS"
12
+ accessibilityState={
13
+ {
14
+ "busy": undefined,
15
+ "checked": undefined,
16
+ "disabled": false,
17
+ "expanded": undefined,
18
+ "selected": undefined,
19
+ }
20
+ }
21
+ accessibilityValue={
22
+ {
23
+ "max": undefined,
24
+ "min": undefined,
25
+ "now": undefined,
26
+ "text": undefined,
27
+ }
28
+ }
29
+ accessible={true}
30
+ collapsable={false}
31
+ focusable={true}
32
+ onClick={[Function]}
33
+ onResponderGrant={[Function]}
34
+ onResponderMove={[Function]}
35
+ onResponderRelease={[Function]}
36
+ onResponderTerminate={[Function]}
37
+ onResponderTerminationRequest={[Function]}
38
+ onStartShouldSetResponder={[Function]}
39
+ style={
40
+ {
41
+ "opacity": 1,
42
+ }
43
+ }
29
44
  >
30
45
  <View
31
- pointerEvents="auto"
32
- style={
33
- [
34
- {
35
- "marginTop": 8,
36
- "width": "100%",
37
- },
38
- undefined,
39
- ]
40
- }
46
+ pointerEvents="none"
47
+ testID="timePickerInputIOS"
41
48
  >
42
49
  <View
50
+ pointerEvents="auto"
43
51
  style={
44
52
  [
45
53
  {
46
- "alignItems": "center",
47
- "backgroundColor": "#ffffff",
48
- "borderRadius": 8,
49
- "flexDirection": "row",
50
- "padding": 16,
54
+ "marginTop": 8,
55
+ "width": "100%",
51
56
  },
52
57
  undefined,
53
58
  ]
@@ -57,225 +62,265 @@ exports[`TimePickerIOS renders correct with hide suffix 1`] = `
57
62
  style={
58
63
  [
59
64
  {
60
- "borderColor": "#001f23",
61
- "borderRadius": 8,
62
- "borderWidth": 1,
63
- "bottom": 0,
64
- "left": 0,
65
- "position": "absolute",
66
- "right": 0,
67
- "top": 0,
68
- },
69
- [
70
- {
71
- "backgroundColor": "#ffffff",
72
- },
73
- undefined,
74
- ],
75
- ]
76
- }
77
- testID="text-input-border"
78
- themeFocused={false}
79
- themeState="filled"
80
- />
81
- <View
82
- pointerEvents="none"
83
- style={
84
- [
85
- {
65
+ "alignItems": "center",
86
66
  "backgroundColor": "#ffffff",
67
+ "borderRadius": 8,
87
68
  "flexDirection": "row",
88
- "left": 16,
89
- "paddingHorizontal": 4,
90
- "position": "absolute",
91
- "top": -4,
92
- "zIndex": 1,
93
- },
94
- {
95
- "backgroundColor": "#ffffff",
69
+ "padding": 16,
96
70
  },
71
+ undefined,
97
72
  ]
98
73
  }
99
- testID="label-container"
100
74
  >
101
- <Text
102
- allowFontScaling={false}
75
+ <View
103
76
  style={
104
77
  [
105
78
  {
106
- "color": "#001f23",
107
- "fontFamily": "BeVietnamPro-Regular",
108
- "fontSize": 12,
109
- "letterSpacing": 0.48,
110
- "lineHeight": 16,
79
+ "borderColor": "#001f23",
80
+ "borderRadius": 8,
81
+ "borderWidth": 1,
82
+ "bottom": 0,
83
+ "left": 0,
84
+ "position": "absolute",
85
+ "right": 0,
86
+ "top": 0,
111
87
  },
112
88
  [
113
- {
114
- "color": "#001f23",
115
- "lineHeight": 12,
116
- },
117
89
  {
118
90
  "backgroundColor": "#ffffff",
119
91
  },
92
+ undefined,
120
93
  ],
121
94
  ]
122
95
  }
123
- testID="input-label"
124
- themeFontWeight="regular"
125
- themeIntent="body"
96
+ testID="text-input-border"
97
+ themeFocused={false}
126
98
  themeState="filled"
99
+ />
100
+ <View
101
+ pointerEvents="none"
102
+ style={
103
+ [
104
+ {
105
+ "backgroundColor": "#ffffff",
106
+ "flexDirection": "row",
107
+ "left": 16,
108
+ "paddingHorizontal": 4,
109
+ "position": "absolute",
110
+ "top": -4,
111
+ "zIndex": 1,
112
+ },
113
+ {
114
+ "backgroundColor": "#ffffff",
115
+ },
116
+ ]
117
+ }
118
+ testID="label-container"
127
119
  >
128
- Break time
129
- </Text>
130
- </View>
131
- <View
132
- style={
133
- [
134
- {
135
- "alignItems": "center",
136
- "alignSelf": "stretch",
137
- "flexDirection": "row",
138
- "flexGrow": 2,
139
- "flexShrink": 1,
140
- },
141
- undefined,
142
- ]
143
- }
144
- >
145
- <TextInput
146
- accessibilityState={
147
- {
148
- "disabled": false,
120
+ <Text
121
+ allowFontScaling={false}
122
+ style={
123
+ [
124
+ {
125
+ "color": "#001f23",
126
+ "fontFamily": "BeVietnamPro-Regular",
127
+ "fontSize": 12,
128
+ "letterSpacing": 0.48,
129
+ "lineHeight": 16,
130
+ },
131
+ [
132
+ {
133
+ "color": "#001f23",
134
+ "lineHeight": 12,
135
+ },
136
+ {
137
+ "backgroundColor": "#ffffff",
138
+ },
139
+ ],
140
+ ]
149
141
  }
150
- }
151
- allowFontScaling={false}
152
- editable={true}
153
- onBlur={[Function]}
154
- onChangeText={[Function]}
155
- onFocus={[Function]}
156
- placeholder=" "
142
+ testID="input-label"
143
+ themeFontWeight="regular"
144
+ themeIntent="body"
145
+ themeState="filled"
146
+ >
147
+ Break time
148
+ </Text>
149
+ </View>
150
+ <View
157
151
  style={
158
152
  [
159
153
  {
154
+ "alignItems": "center",
160
155
  "alignSelf": "stretch",
156
+ "flexDirection": "row",
161
157
  "flexGrow": 2,
162
- "fontFamily": "BeVietnamPro-Regular",
163
- "fontSize": 16,
164
- "height": undefined,
165
- "marginHorizontal": 8,
166
- "maxHeight": 144,
167
- "paddingVertical": 0,
168
- "textAlignVertical": "center",
169
- },
170
- {
171
- "backgroundColor": "#ffffff",
172
- "color": "#001f23",
158
+ "flexShrink": 1,
173
159
  },
160
+ undefined,
174
161
  ]
175
162
  }
176
- testID="text-input"
177
- themeVariant="text"
178
- value="03:24 AM"
179
- />
163
+ >
164
+ <TextInput
165
+ accessibilityState={
166
+ {
167
+ "disabled": false,
168
+ }
169
+ }
170
+ allowFontScaling={false}
171
+ editable={true}
172
+ onBlur={[Function]}
173
+ onChangeText={[Function]}
174
+ onFocus={[Function]}
175
+ placeholder=" "
176
+ style={
177
+ [
178
+ {
179
+ "alignSelf": "stretch",
180
+ "flexGrow": 2,
181
+ "fontFamily": "BeVietnamPro-Regular",
182
+ "fontSize": 16,
183
+ "height": undefined,
184
+ "marginHorizontal": 8,
185
+ "maxHeight": 144,
186
+ "paddingVertical": 0,
187
+ "textAlignVertical": "center",
188
+ },
189
+ {
190
+ "backgroundColor": "#ffffff",
191
+ "color": "#001f23",
192
+ },
193
+ ]
194
+ }
195
+ testID="text-input"
196
+ themeVariant="text"
197
+ value="03:24 AM"
198
+ />
199
+ </View>
180
200
  </View>
181
- </View>
182
- <View
183
- style={
184
- [
185
- {
186
- "minHeight": 16,
187
- "paddingLeft": 16,
188
- "paddingTop": 2,
189
- },
190
- undefined,
191
- ]
192
- }
193
- >
194
201
  <View
195
202
  style={
196
203
  [
197
204
  {
198
- "flexDirection": "row",
199
- "justifyContent": "space-between",
205
+ "minHeight": 16,
206
+ "paddingLeft": 16,
207
+ "paddingTop": 2,
200
208
  },
201
209
  undefined,
202
210
  ]
203
211
  }
204
212
  >
205
- <Text
206
- allowFontScaling={false}
213
+ <View
207
214
  style={
208
215
  [
209
216
  {
210
- "color": "#001f23",
211
- "fontFamily": "BeVietnamPro-Regular",
212
- "fontSize": 12,
213
- "letterSpacing": 0.48,
214
- "lineHeight": 16,
217
+ "flexDirection": "row",
218
+ "justifyContent": "space-between",
215
219
  },
216
220
  undefined,
217
221
  ]
218
222
  }
219
- themeFontWeight="regular"
220
- themeIntent="body"
221
223
  >
222
- This is help text
223
- </Text>
224
+ <Text
225
+ allowFontScaling={false}
226
+ style={
227
+ [
228
+ {
229
+ "color": "#001f23",
230
+ "fontFamily": "BeVietnamPro-Regular",
231
+ "fontSize": 12,
232
+ "letterSpacing": 0.48,
233
+ "lineHeight": 16,
234
+ },
235
+ undefined,
236
+ ]
237
+ }
238
+ themeFontWeight="regular"
239
+ themeIntent="body"
240
+ >
241
+ This is help text
242
+ </Text>
243
+ </View>
224
244
  </View>
225
245
  </View>
226
246
  </View>
227
247
  </View>
248
+ <View
249
+ pointerEvents="box-none"
250
+ position="bottom"
251
+ style={
252
+ [
253
+ {
254
+ "bottom": 0,
255
+ "elevation": 9999,
256
+ "flexDirection": "column-reverse",
257
+ "left": 0,
258
+ "paddingHorizontal": 24,
259
+ "paddingVertical": 16,
260
+ "position": "absolute",
261
+ "right": 0,
262
+ "top": 0,
263
+ },
264
+ undefined,
265
+ ]
266
+ }
267
+ />
228
268
  </View>
229
269
  `;
230
270
 
231
271
  exports[`TimePickerIOS renders correctly 1`] = `
232
272
  <View
233
- accessibilityState={
234
- {
235
- "disabled": false,
236
- }
237
- }
238
- accessible={true}
239
- collapsable={false}
240
- focusable={true}
241
- onClick={[Function]}
242
- onResponderGrant={[Function]}
243
- onResponderMove={[Function]}
244
- onResponderRelease={[Function]}
245
- onResponderTerminate={[Function]}
246
- onResponderTerminationRequest={[Function]}
247
- onStartShouldSetResponder={[Function]}
248
273
  style={
249
274
  {
250
- "opacity": 1,
275
+ "flex": 1,
251
276
  }
252
277
  }
253
278
  >
254
279
  <View
255
- pointerEvents="none"
256
- testID="timePickerInputIOS"
280
+ accessibilityState={
281
+ {
282
+ "busy": undefined,
283
+ "checked": undefined,
284
+ "disabled": false,
285
+ "expanded": undefined,
286
+ "selected": undefined,
287
+ }
288
+ }
289
+ accessibilityValue={
290
+ {
291
+ "max": undefined,
292
+ "min": undefined,
293
+ "now": undefined,
294
+ "text": undefined,
295
+ }
296
+ }
297
+ accessible={true}
298
+ collapsable={false}
299
+ focusable={true}
300
+ onClick={[Function]}
301
+ onResponderGrant={[Function]}
302
+ onResponderMove={[Function]}
303
+ onResponderRelease={[Function]}
304
+ onResponderTerminate={[Function]}
305
+ onResponderTerminationRequest={[Function]}
306
+ onStartShouldSetResponder={[Function]}
307
+ style={
308
+ {
309
+ "opacity": 1,
310
+ }
311
+ }
257
312
  >
258
313
  <View
259
- pointerEvents="auto"
260
- style={
261
- [
262
- {
263
- "marginTop": 8,
264
- "width": "100%",
265
- },
266
- undefined,
267
- ]
268
- }
314
+ pointerEvents="none"
315
+ testID="timePickerInputIOS"
269
316
  >
270
317
  <View
318
+ pointerEvents="auto"
271
319
  style={
272
320
  [
273
321
  {
274
- "alignItems": "center",
275
- "backgroundColor": "#ffffff",
276
- "borderRadius": 8,
277
- "flexDirection": "row",
278
- "padding": 16,
322
+ "marginTop": 8,
323
+ "width": "100%",
279
324
  },
280
325
  undefined,
281
326
  ]
@@ -285,210 +330,215 @@ exports[`TimePickerIOS renders correctly 1`] = `
285
330
  style={
286
331
  [
287
332
  {
288
- "borderColor": "#001f23",
289
- "borderRadius": 8,
290
- "borderWidth": 1,
291
- "bottom": 0,
292
- "left": 0,
293
- "position": "absolute",
294
- "right": 0,
295
- "top": 0,
296
- },
297
- [
298
- {
299
- "backgroundColor": "#ffffff",
300
- },
301
- undefined,
302
- ],
303
- ]
304
- }
305
- testID="text-input-border"
306
- themeFocused={false}
307
- themeState="filled"
308
- />
309
- <View
310
- pointerEvents="none"
311
- style={
312
- [
313
- {
333
+ "alignItems": "center",
314
334
  "backgroundColor": "#ffffff",
335
+ "borderRadius": 8,
315
336
  "flexDirection": "row",
316
- "left": 16,
317
- "paddingHorizontal": 4,
318
- "position": "absolute",
319
- "top": -4,
320
- "zIndex": 1,
321
- },
322
- {
323
- "backgroundColor": "#ffffff",
337
+ "padding": 16,
324
338
  },
339
+ undefined,
325
340
  ]
326
341
  }
327
- testID="label-container"
328
342
  >
329
- <Text
330
- allowFontScaling={false}
343
+ <View
331
344
  style={
332
345
  [
333
346
  {
334
- "color": "#001f23",
335
- "fontFamily": "BeVietnamPro-Regular",
336
- "fontSize": 12,
337
- "letterSpacing": 0.48,
338
- "lineHeight": 16,
347
+ "borderColor": "#001f23",
348
+ "borderRadius": 8,
349
+ "borderWidth": 1,
350
+ "bottom": 0,
351
+ "left": 0,
352
+ "position": "absolute",
353
+ "right": 0,
354
+ "top": 0,
339
355
  },
340
356
  [
341
- {
342
- "color": "#001f23",
343
- "lineHeight": 12,
344
- },
345
357
  {
346
358
  "backgroundColor": "#ffffff",
347
359
  },
360
+ undefined,
348
361
  ],
349
362
  ]
350
363
  }
351
- testID="input-label"
352
- themeFontWeight="regular"
353
- themeIntent="body"
364
+ testID="text-input-border"
365
+ themeFocused={false}
354
366
  themeState="filled"
367
+ />
368
+ <View
369
+ pointerEvents="none"
370
+ style={
371
+ [
372
+ {
373
+ "backgroundColor": "#ffffff",
374
+ "flexDirection": "row",
375
+ "left": 16,
376
+ "paddingHorizontal": 4,
377
+ "position": "absolute",
378
+ "top": -4,
379
+ "zIndex": 1,
380
+ },
381
+ {
382
+ "backgroundColor": "#ffffff",
383
+ },
384
+ ]
385
+ }
386
+ testID="label-container"
355
387
  >
356
- Break time
357
- </Text>
358
- </View>
359
- <View
360
- style={
361
- [
362
- {
363
- "alignItems": "center",
364
- "alignSelf": "stretch",
365
- "flexDirection": "row",
366
- "flexGrow": 2,
367
- "flexShrink": 1,
368
- },
369
- undefined,
370
- ]
371
- }
372
- >
373
- <TextInput
374
- accessibilityState={
375
- {
376
- "disabled": false,
388
+ <Text
389
+ allowFontScaling={false}
390
+ style={
391
+ [
392
+ {
393
+ "color": "#001f23",
394
+ "fontFamily": "BeVietnamPro-Regular",
395
+ "fontSize": 12,
396
+ "letterSpacing": 0.48,
397
+ "lineHeight": 16,
398
+ },
399
+ [
400
+ {
401
+ "color": "#001f23",
402
+ "lineHeight": 12,
403
+ },
404
+ {
405
+ "backgroundColor": "#ffffff",
406
+ },
407
+ ],
408
+ ]
377
409
  }
378
- }
379
- allowFontScaling={false}
380
- editable={true}
381
- onBlur={[Function]}
382
- onChangeText={[Function]}
383
- onFocus={[Function]}
384
- placeholder=" "
410
+ testID="input-label"
411
+ themeFontWeight="regular"
412
+ themeIntent="body"
413
+ themeState="filled"
414
+ >
415
+ Break time
416
+ </Text>
417
+ </View>
418
+ <View
385
419
  style={
386
420
  [
387
421
  {
422
+ "alignItems": "center",
388
423
  "alignSelf": "stretch",
424
+ "flexDirection": "row",
389
425
  "flexGrow": 2,
390
- "fontFamily": "BeVietnamPro-Regular",
391
- "fontSize": 16,
392
- "height": undefined,
393
- "marginHorizontal": 8,
394
- "maxHeight": 144,
395
- "paddingVertical": 0,
396
- "textAlignVertical": "center",
426
+ "flexShrink": 1,
397
427
  },
428
+ undefined,
429
+ ]
430
+ }
431
+ >
432
+ <TextInput
433
+ accessibilityState={
434
+ {
435
+ "disabled": false,
436
+ }
437
+ }
438
+ allowFontScaling={false}
439
+ editable={true}
440
+ onBlur={[Function]}
441
+ onChangeText={[Function]}
442
+ onFocus={[Function]}
443
+ placeholder=" "
444
+ style={
445
+ [
446
+ {
447
+ "alignSelf": "stretch",
448
+ "flexGrow": 2,
449
+ "fontFamily": "BeVietnamPro-Regular",
450
+ "fontSize": 16,
451
+ "height": undefined,
452
+ "marginHorizontal": 8,
453
+ "maxHeight": 144,
454
+ "paddingVertical": 0,
455
+ "textAlignVertical": "center",
456
+ },
457
+ {
458
+ "backgroundColor": "#ffffff",
459
+ "color": "#001f23",
460
+ },
461
+ ]
462
+ }
463
+ testID="text-input"
464
+ themeVariant="text"
465
+ value="03:24 AM"
466
+ />
467
+ </View>
468
+ <HeroIcon
469
+ name="clock-3"
470
+ style={
471
+ [
398
472
  {
399
- "backgroundColor": "#ffffff",
400
473
  "color": "#001f23",
474
+ "fontSize": 24,
401
475
  },
476
+ undefined,
402
477
  ]
403
478
  }
404
- testID="text-input"
405
- themeVariant="text"
406
- value="03:24 AM"
479
+ testID="input-suffix"
480
+ themeIntent="text"
481
+ themeSize="medium"
407
482
  />
408
483
  </View>
409
- <HeroIcon
410
- name="clock-3"
411
- style={
412
- [
413
- {
414
- "color": "#001f23",
415
- "fontSize": 24,
416
- },
417
- undefined,
418
- ]
419
- }
420
- testID="input-suffix"
421
- themeIntent="text"
422
- themeSize="medium"
423
- />
424
- </View>
425
- <View
426
- style={
427
- [
428
- {
429
- "minHeight": 16,
430
- "paddingLeft": 16,
431
- "paddingTop": 2,
432
- },
433
- undefined,
434
- ]
435
- }
436
- >
437
484
  <View
438
485
  style={
439
486
  [
440
487
  {
441
- "flexDirection": "row",
442
- "justifyContent": "space-between",
488
+ "minHeight": 16,
489
+ "paddingLeft": 16,
490
+ "paddingTop": 2,
443
491
  },
444
492
  undefined,
445
493
  ]
446
494
  }
447
- />
495
+ >
496
+ <View
497
+ style={
498
+ [
499
+ {
500
+ "flexDirection": "row",
501
+ "justifyContent": "space-between",
502
+ },
503
+ undefined,
504
+ ]
505
+ }
506
+ />
507
+ </View>
448
508
  </View>
449
509
  </View>
450
- </View>
451
- <RCTModalHostView
452
- animationType="none"
453
- hardwareAccelerated={false}
454
- identifier={0}
455
- onDismiss={[Function]}
456
- onRequestClose={[Function]}
457
- onStartShouldSetResponder={[Function]}
458
- presentationStyle="overFullScreen"
459
- style={
460
- {
461
- "position": "absolute",
462
- }
463
- }
464
- transparent={true}
465
- visible={true}
466
- >
467
- <View
468
- collapsable={false}
510
+ <RCTModalHostView
511
+ animationType="none"
512
+ hardwareAccelerated={false}
513
+ identifier={0}
514
+ onDismiss={[Function]}
515
+ onRequestClose={[Function]}
516
+ onStartShouldSetResponder={[Function]}
517
+ presentationStyle="overFullScreen"
469
518
  style={
470
- [
471
- {
472
- "flex": 1,
473
- "left": 0,
474
- "top": 0,
475
- },
476
- {
477
- "backgroundColor": "transparent",
478
- },
479
- ]
519
+ {
520
+ "position": "absolute",
521
+ }
480
522
  }
523
+ transparent={true}
524
+ visible={true}
481
525
  >
482
526
  <View
483
- pointerEvents="box-none"
527
+ collapsable={false}
484
528
  style={
485
- {
486
- "flex": 1,
487
- }
529
+ [
530
+ {
531
+ "flex": 1,
532
+ "left": 0,
533
+ "top": 0,
534
+ },
535
+ {
536
+ "backgroundColor": "transparent",
537
+ },
538
+ ]
488
539
  }
489
540
  >
490
541
  <View
491
- collapsable={true}
492
542
  pointerEvents="box-none"
493
543
  style={
494
544
  {
@@ -497,295 +547,367 @@ exports[`TimePickerIOS renders correctly 1`] = `
497
547
  }
498
548
  >
499
549
  <View
550
+ collapsable={true}
500
551
  pointerEvents="box-none"
501
552
  style={
502
- [
503
- {
504
- "bottom": 0,
505
- "flexDirection": "column-reverse",
506
- "left": 0,
507
- "position": "absolute",
508
- "right": 0,
509
- "top": 0,
510
- },
511
- undefined,
512
- ]
553
+ {
554
+ "flex": 1,
555
+ }
513
556
  }
514
557
  >
515
558
  <View
516
- onLayout={[Function]}
559
+ pointerEvents="box-none"
517
560
  style={
518
561
  [
519
- [
520
- {
521
- "flex": 1,
522
- "flexDirection": "column-reverse",
523
- },
524
- undefined,
525
- ],
526
- {
527
- "paddingBottom": 0,
528
- },
529
- ]
530
- }
531
- >
532
- <View
533
- accessible={true}
534
- collapsable={false}
535
- focusable={true}
536
- onBlur={[Function]}
537
- onClick={[Function]}
538
- onFocus={[Function]}
539
- onResponderGrant={[Function]}
540
- onResponderMove={[Function]}
541
- onResponderRelease={[Function]}
542
- onResponderTerminate={[Function]}
543
- onResponderTerminationRequest={[Function]}
544
- onStartShouldSetResponder={[Function]}
545
- style={
546
562
  {
547
- "backgroundColor": "#000000",
548
563
  "bottom": 0,
564
+ "flexDirection": "column-reverse",
549
565
  "left": 0,
550
- "opacity": 0.48,
551
566
  "position": "absolute",
552
567
  "right": 0,
553
568
  "top": 0,
554
- }
555
- }
556
- />
557
- <RCTSafeAreaView
558
- collapsable={false}
559
- emulateUnlessSupported={true}
569
+ },
570
+ undefined,
571
+ ]
572
+ }
573
+ >
574
+ <View
575
+ onLayout={[Function]}
560
576
  style={
561
- {
562
- "backgroundColor": "#ffffff",
563
- "borderTopLeftRadius": 16,
564
- "borderTopRightRadius": 16,
565
- "elevation": 10,
566
- "maxHeight": "94%",
567
- "shadowColor": "#001f23",
568
- "shadowOffset": {
569
- "height": 3,
570
- "width": 0,
571
- },
572
- "shadowOpacity": 0.4,
573
- "shadowRadius": 16,
574
- "transform": [
575
- {
576
- "scaleY": 1,
577
- },
577
+ [
578
+ [
578
579
  {
579
- "translateY": 0,
580
+ "flex": 1,
581
+ "flexDirection": "column-reverse",
580
582
  },
583
+ undefined,
581
584
  ],
582
- "width": "100%",
583
- }
585
+ {
586
+ "paddingBottom": 0,
587
+ },
588
+ ]
584
589
  }
585
590
  >
586
591
  <View
592
+ accessibilityState={
593
+ {
594
+ "busy": undefined,
595
+ "checked": undefined,
596
+ "disabled": undefined,
597
+ "expanded": undefined,
598
+ "selected": undefined,
599
+ }
600
+ }
601
+ accessibilityValue={
602
+ {
603
+ "max": undefined,
604
+ "min": undefined,
605
+ "now": undefined,
606
+ "text": undefined,
607
+ }
608
+ }
609
+ accessible={true}
610
+ collapsable={false}
611
+ focusable={true}
612
+ onBlur={[Function]}
613
+ onClick={[Function]}
614
+ onFocus={[Function]}
615
+ onResponderGrant={[Function]}
616
+ onResponderMove={[Function]}
617
+ onResponderRelease={[Function]}
618
+ onResponderTerminate={[Function]}
619
+ onResponderTerminationRequest={[Function]}
620
+ onStartShouldSetResponder={[Function]}
587
621
  style={
588
- [
589
- {
590
- "flexDirection": "row",
591
- "paddingHorizontal": 16,
592
- "paddingVertical": 8,
622
+ {
623
+ "backgroundColor": "#000000",
624
+ "bottom": 0,
625
+ "left": 0,
626
+ "opacity": 0.48,
627
+ "position": "absolute",
628
+ "right": 0,
629
+ "top": 0,
630
+ }
631
+ }
632
+ />
633
+ <RCTSafeAreaView
634
+ collapsable={false}
635
+ style={
636
+ {
637
+ "backgroundColor": "#ffffff",
638
+ "borderTopLeftRadius": 16,
639
+ "borderTopRightRadius": 16,
640
+ "elevation": 10,
641
+ "maxHeight": "94%",
642
+ "shadowColor": "#001f23",
643
+ "shadowOffset": {
644
+ "height": 3,
645
+ "width": 0,
593
646
  },
594
- undefined,
595
- ]
647
+ "shadowOpacity": 0.4,
648
+ "shadowRadius": 16,
649
+ "transform": [
650
+ {
651
+ "scaleY": 1,
652
+ },
653
+ {
654
+ "translateY": 0,
655
+ },
656
+ ],
657
+ "width": "100%",
658
+ }
596
659
  }
597
660
  >
598
661
  <View
599
662
  style={
600
663
  [
601
664
  {
602
- "flex": 1,
603
- "justifyContent": "center",
665
+ "flexDirection": "row",
666
+ "paddingHorizontal": 16,
667
+ "paddingVertical": 8,
604
668
  },
605
669
  undefined,
606
670
  ]
607
671
  }
608
672
  >
609
- <Text
610
- allowFontScaling={false}
673
+ <View
611
674
  style={
612
675
  [
613
676
  {
614
- "color": "#001f23",
615
- "fontFamily": "BeVietnamPro-SemiBold",
616
- "fontSize": 16,
617
- "letterSpacing": 0.24,
618
- "lineHeight": 24,
677
+ "flex": 1,
678
+ "justifyContent": "center",
619
679
  },
620
680
  undefined,
621
681
  ]
622
682
  }
623
- themeIntent="body"
624
- themeTypeface="neutral"
625
- themeVariant="regular-bold"
626
- >
627
- Break time
628
- </Text>
629
- </View>
630
- <View
631
- style={
632
- [
633
- {
634
- "alignItems": "center",
635
- "height": 48,
636
- "justifyContent": "center",
637
- "marginLeft": 12,
638
- "width": 48,
639
- },
640
- undefined,
641
- ]
642
- }
643
- >
644
- <View
645
- accessible={true}
646
- collapsable={false}
647
- focusable={true}
648
- onClick={[Function]}
649
- onResponderGrant={[Function]}
650
- onResponderMove={[Function]}
651
- onResponderRelease={[Function]}
652
- onResponderTerminate={[Function]}
653
- onResponderTerminationRequest={[Function]}
654
- onStartShouldSetResponder={[Function]}
655
- style={
656
- {
657
- "opacity": 1,
658
- }
659
- }
660
- testID="bottom-sheet-close-icon"
661
683
  >
662
- <HeroIcon
663
- name="cancel"
684
+ <Text
685
+ allowFontScaling={false}
664
686
  style={
665
687
  [
666
688
  {
667
689
  "color": "#001f23",
690
+ "fontFamily": "BeVietnamPro-SemiBold",
668
691
  "fontSize": 16,
692
+ "letterSpacing": 0.24,
693
+ "lineHeight": 24,
669
694
  },
670
695
  undefined,
671
696
  ]
672
697
  }
673
- themeIntent="text"
674
- themeSize="xsmall"
675
- />
698
+ themeIntent="body"
699
+ themeTypeface="neutral"
700
+ themeVariant="regular-bold"
701
+ >
702
+ Break time
703
+ </Text>
676
704
  </View>
677
- </View>
678
- </View>
679
- <View
680
- style={
681
- [
682
- {
683
- "height": 176,
684
- },
685
- undefined,
686
- ]
687
- }
688
- >
689
- <Picker
690
- display="spinner"
691
- mode="time"
692
- onChange={[Function]}
693
- style={
694
- {
695
- "flex": 1,
705
+ <View
706
+ style={
707
+ [
708
+ {
709
+ "alignItems": "center",
710
+ "height": 48,
711
+ "justifyContent": "center",
712
+ "marginLeft": 12,
713
+ "width": 48,
714
+ },
715
+ undefined,
716
+ ]
696
717
  }
697
- }
698
- testID="timePickerIOS"
699
- textColor="#001f23"
700
- value={1995-12-17T03:24:00.000Z}
701
- />
702
- </View>
703
- <View>
718
+ >
719
+ <View
720
+ accessibilityState={
721
+ {
722
+ "busy": undefined,
723
+ "checked": undefined,
724
+ "disabled": undefined,
725
+ "expanded": undefined,
726
+ "selected": undefined,
727
+ }
728
+ }
729
+ accessibilityValue={
730
+ {
731
+ "max": undefined,
732
+ "min": undefined,
733
+ "now": undefined,
734
+ "text": undefined,
735
+ }
736
+ }
737
+ accessible={true}
738
+ collapsable={false}
739
+ focusable={true}
740
+ onClick={[Function]}
741
+ onResponderGrant={[Function]}
742
+ onResponderMove={[Function]}
743
+ onResponderRelease={[Function]}
744
+ onResponderTerminate={[Function]}
745
+ onResponderTerminationRequest={[Function]}
746
+ onStartShouldSetResponder={[Function]}
747
+ style={
748
+ {
749
+ "opacity": 1,
750
+ }
751
+ }
752
+ testID="bottom-sheet-close-icon"
753
+ >
754
+ <HeroIcon
755
+ name="cancel"
756
+ style={
757
+ [
758
+ {
759
+ "color": "#001f23",
760
+ "fontSize": 16,
761
+ },
762
+ undefined,
763
+ ]
764
+ }
765
+ themeIntent="text"
766
+ themeSize="xsmall"
767
+ />
768
+ </View>
769
+ </View>
770
+ </View>
704
771
  <View
705
772
  style={
706
773
  [
707
774
  {
708
- "alignItems": "center",
709
- "flexDirection": "row",
710
- "justifyContent": "flex-end",
711
- "paddingHorizontal": 12,
712
- "paddingVertical": 2,
775
+ "height": 176,
713
776
  },
714
777
  undefined,
715
778
  ]
716
779
  }
717
780
  >
718
- <View
719
- accessibilityState={
781
+ <Picker
782
+ display="spinner"
783
+ mode="time"
784
+ onChange={[Function]}
785
+ style={
720
786
  {
721
- "disabled": false,
787
+ "flex": 1,
722
788
  }
723
789
  }
724
- accessible={true}
725
- focusable={true}
726
- onClick={[Function]}
727
- onResponderGrant={[Function]}
728
- onResponderMove={[Function]}
729
- onResponderRelease={[Function]}
730
- onResponderTerminate={[Function]}
731
- onResponderTerminationRequest={[Function]}
732
- onStartShouldSetResponder={[Function]}
790
+ testID="timePickerIOS"
791
+ textColor="#001f23"
792
+ value={1995-12-17T03:24:00.000Z}
793
+ />
794
+ </View>
795
+ <View>
796
+ <View
733
797
  style={
734
798
  [
735
799
  {
736
800
  "alignItems": "center",
737
- "backgroundColor": "transparent",
738
- "borderRadius": 4,
739
- "borderWidth": 0,
740
801
  "flexDirection": "row",
741
- "justifyContent": "center",
742
- "padding": 12,
802
+ "justifyContent": "flex-end",
803
+ "paddingHorizontal": 12,
804
+ "paddingVertical": 2,
743
805
  },
744
806
  undefined,
745
807
  ]
746
808
  }
747
809
  >
748
- <Text
749
- allowFontScaling={false}
750
- disabled={false}
751
- ellipsizeMode="tail"
752
- numberOfLines={1}
810
+ <View
811
+ accessibilityState={
812
+ {
813
+ "disabled": false,
814
+ }
815
+ }
816
+ accessibilityValue={
817
+ {
818
+ "max": undefined,
819
+ "min": undefined,
820
+ "now": undefined,
821
+ "text": undefined,
822
+ }
823
+ }
824
+ accessible={true}
825
+ focusable={true}
826
+ onClick={[Function]}
827
+ onResponderGrant={[Function]}
828
+ onResponderMove={[Function]}
829
+ onResponderRelease={[Function]}
830
+ onResponderTerminate={[Function]}
831
+ onResponderTerminationRequest={[Function]}
832
+ onStartShouldSetResponder={[Function]}
753
833
  style={
754
834
  [
755
835
  {
756
- "color": "#001f23",
757
- "fontFamily": "BeVietnamPro-SemiBold",
758
- "fontSize": 16,
759
- "letterSpacing": 0.24,
760
- "lineHeight": 24,
836
+ "alignItems": "center",
837
+ "backgroundColor": "transparent",
838
+ "borderRadius": 4,
839
+ "borderWidth": 0,
840
+ "flexDirection": "row",
841
+ "height": 60,
842
+ "justifyContent": "center",
843
+ "padding": 12,
761
844
  },
762
- [
763
- {
764
- "color": "#401960",
765
- "flexShrink": 1,
766
- "lineHeight": 22,
767
- "textAlign": "center",
768
- },
769
- undefined,
770
- ],
845
+ undefined,
771
846
  ]
772
847
  }
773
- themeButtonVariant="text-primary"
774
- themeIntent="body"
775
- themeTypeface="neutral"
776
- themeVariant="regular-bold"
777
848
  >
778
- Confirm
779
- </Text>
849
+ <Text
850
+ allowFontScaling={false}
851
+ disabled={false}
852
+ ellipsizeMode="tail"
853
+ numberOfLines={1}
854
+ style={
855
+ [
856
+ {
857
+ "color": "#001f23",
858
+ "fontFamily": "BeVietnamPro-SemiBold",
859
+ "fontSize": 16,
860
+ "letterSpacing": 0.24,
861
+ "lineHeight": 24,
862
+ },
863
+ [
864
+ {
865
+ "color": "#401960",
866
+ "flexShrink": 1,
867
+ "lineHeight": 22,
868
+ "textAlign": "center",
869
+ },
870
+ undefined,
871
+ ],
872
+ ]
873
+ }
874
+ themeButtonVariant="text-primary"
875
+ themeIntent="body"
876
+ themeTypeface="neutral"
877
+ themeVariant="regular-bold"
878
+ >
879
+ Confirm
880
+ </Text>
881
+ </View>
780
882
  </View>
781
883
  </View>
782
- </View>
783
- </RCTSafeAreaView>
884
+ </RCTSafeAreaView>
885
+ </View>
784
886
  </View>
785
887
  </View>
786
888
  </View>
787
889
  </View>
788
- </View>
789
- </RCTModalHostView>
890
+ </RCTModalHostView>
891
+ </View>
892
+ <View
893
+ pointerEvents="box-none"
894
+ position="bottom"
895
+ style={
896
+ [
897
+ {
898
+ "bottom": 0,
899
+ "elevation": 9999,
900
+ "flexDirection": "column-reverse",
901
+ "left": 0,
902
+ "paddingHorizontal": 24,
903
+ "paddingVertical": 16,
904
+ "position": "absolute",
905
+ "right": 0,
906
+ "top": 0,
907
+ },
908
+ undefined,
909
+ ]
910
+ }
911
+ />
790
912
  </View>
791
913
  `;