@hero-design/rn 8.44.0-alpha.0 → 8.44.1

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