@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,265 +2,290 @@
2
2
 
3
3
  exports[`DatePickerIOS renders correctly 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="datePickerInputIOS"
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="datePickerInputIOS"
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
- Start date
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
+ Start date
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",
173
+ "flexShrink": 1,
169
174
  },
175
+ undefined,
176
+ ]
177
+ }
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="21/12/1995"
213
+ />
214
+ </View>
215
+ <HeroIcon
216
+ name="calendar-dates-outlined"
217
+ style={
218
+ [
170
219
  {
171
- "backgroundColor": "#ffffff",
172
220
  "color": "#001f23",
221
+ "fontSize": 24,
173
222
  },
223
+ undefined,
174
224
  ]
175
225
  }
176
- testID="text-input"
177
- themeVariant="text"
178
- value="21/12/1995"
226
+ testID="input-suffix"
227
+ themeIntent="text"
228
+ themeSize="medium"
179
229
  />
180
230
  </View>
181
- <HeroIcon
182
- name="calendar-dates-outlined"
183
- style={
184
- [
185
- {
186
- "color": "#001f23",
187
- "fontSize": 24,
188
- },
189
- undefined,
190
- ]
191
- }
192
- testID="input-suffix"
193
- themeIntent="text"
194
- themeSize="medium"
195
- />
196
- </View>
197
- <View
198
- style={
199
- [
200
- {
201
- "minHeight": 16,
202
- "paddingLeft": 16,
203
- "paddingTop": 2,
204
- },
205
- undefined,
206
- ]
207
- }
208
- >
209
231
  <View
210
232
  style={
211
233
  [
212
234
  {
213
- "flexDirection": "row",
214
- "justifyContent": "space-between",
235
+ "minHeight": 16,
236
+ "paddingLeft": 16,
237
+ "paddingTop": 2,
215
238
  },
216
239
  undefined,
217
240
  ]
218
241
  }
219
- />
242
+ >
243
+ <View
244
+ style={
245
+ [
246
+ {
247
+ "flexDirection": "row",
248
+ "justifyContent": "space-between",
249
+ },
250
+ undefined,
251
+ ]
252
+ }
253
+ />
254
+ </View>
220
255
  </View>
221
256
  </View>
222
- </View>
223
- <RCTModalHostView
224
- animationType="none"
225
- hardwareAccelerated={false}
226
- identifier={0}
227
- onDismiss={[Function]}
228
- onRequestClose={[Function]}
229
- onStartShouldSetResponder={[Function]}
230
- presentationStyle="overFullScreen"
231
- style={
232
- {
233
- "position": "absolute",
234
- }
235
- }
236
- transparent={true}
237
- visible={true}
238
- >
239
- <View
240
- collapsable={false}
257
+ <RCTModalHostView
258
+ animationType="none"
259
+ hardwareAccelerated={false}
260
+ identifier={0}
261
+ onDismiss={[Function]}
262
+ onRequestClose={[Function]}
263
+ onStartShouldSetResponder={[Function]}
264
+ presentationStyle="overFullScreen"
241
265
  style={
242
- [
243
- {
244
- "flex": 1,
245
- "left": 0,
246
- "top": 0,
247
- },
248
- {
249
- "backgroundColor": "transparent",
250
- },
251
- ]
266
+ {
267
+ "position": "absolute",
268
+ }
252
269
  }
270
+ transparent={true}
271
+ visible={true}
253
272
  >
254
273
  <View
255
- pointerEvents="box-none"
274
+ collapsable={false}
256
275
  style={
257
- {
258
- "flex": 1,
259
- }
276
+ [
277
+ {
278
+ "flex": 1,
279
+ "left": 0,
280
+ "top": 0,
281
+ },
282
+ {
283
+ "backgroundColor": "transparent",
284
+ },
285
+ ]
260
286
  }
261
287
  >
262
288
  <View
263
- collapsable={true}
264
289
  pointerEvents="box-none"
265
290
  style={
266
291
  {
@@ -269,295 +294,367 @@ exports[`DatePickerIOS renders correctly 1`] = `
269
294
  }
270
295
  >
271
296
  <View
297
+ collapsable={true}
272
298
  pointerEvents="box-none"
273
299
  style={
274
- [
275
- {
276
- "bottom": 0,
277
- "flexDirection": "column-reverse",
278
- "left": 0,
279
- "position": "absolute",
280
- "right": 0,
281
- "top": 0,
282
- },
283
- undefined,
284
- ]
300
+ {
301
+ "flex": 1,
302
+ }
285
303
  }
286
304
  >
287
305
  <View
288
- onLayout={[Function]}
306
+ pointerEvents="box-none"
289
307
  style={
290
308
  [
291
- [
292
- {
293
- "flex": 1,
294
- "flexDirection": "column-reverse",
295
- },
296
- undefined,
297
- ],
298
- {
299
- "paddingBottom": 0,
300
- },
301
- ]
302
- }
303
- >
304
- <View
305
- accessible={true}
306
- collapsable={false}
307
- focusable={true}
308
- onBlur={[Function]}
309
- onClick={[Function]}
310
- onFocus={[Function]}
311
- onResponderGrant={[Function]}
312
- onResponderMove={[Function]}
313
- onResponderRelease={[Function]}
314
- onResponderTerminate={[Function]}
315
- onResponderTerminationRequest={[Function]}
316
- onStartShouldSetResponder={[Function]}
317
- style={
318
309
  {
319
- "backgroundColor": "#000000",
320
310
  "bottom": 0,
311
+ "flexDirection": "column-reverse",
321
312
  "left": 0,
322
- "opacity": 0.48,
323
313
  "position": "absolute",
324
314
  "right": 0,
325
315
  "top": 0,
326
- }
327
- }
328
- />
329
- <RCTSafeAreaView
330
- collapsable={false}
331
- emulateUnlessSupported={true}
316
+ },
317
+ undefined,
318
+ ]
319
+ }
320
+ >
321
+ <View
322
+ onLayout={[Function]}
332
323
  style={
333
- {
334
- "backgroundColor": "#ffffff",
335
- "borderTopLeftRadius": 16,
336
- "borderTopRightRadius": 16,
337
- "elevation": 10,
338
- "maxHeight": "94%",
339
- "shadowColor": "#001f23",
340
- "shadowOffset": {
341
- "height": 3,
342
- "width": 0,
343
- },
344
- "shadowOpacity": 0.4,
345
- "shadowRadius": 16,
346
- "transform": [
347
- {
348
- "scaleY": 1,
349
- },
324
+ [
325
+ [
350
326
  {
351
- "translateY": 0,
327
+ "flex": 1,
328
+ "flexDirection": "column-reverse",
352
329
  },
330
+ undefined,
353
331
  ],
354
- "width": "100%",
355
- }
332
+ {
333
+ "paddingBottom": 0,
334
+ },
335
+ ]
356
336
  }
357
337
  >
358
338
  <View
339
+ accessibilityState={
340
+ {
341
+ "busy": undefined,
342
+ "checked": undefined,
343
+ "disabled": undefined,
344
+ "expanded": undefined,
345
+ "selected": undefined,
346
+ }
347
+ }
348
+ accessibilityValue={
349
+ {
350
+ "max": undefined,
351
+ "min": undefined,
352
+ "now": undefined,
353
+ "text": undefined,
354
+ }
355
+ }
356
+ accessible={true}
357
+ collapsable={false}
358
+ focusable={true}
359
+ onBlur={[Function]}
360
+ onClick={[Function]}
361
+ onFocus={[Function]}
362
+ onResponderGrant={[Function]}
363
+ onResponderMove={[Function]}
364
+ onResponderRelease={[Function]}
365
+ onResponderTerminate={[Function]}
366
+ onResponderTerminationRequest={[Function]}
367
+ onStartShouldSetResponder={[Function]}
359
368
  style={
360
- [
361
- {
362
- "flexDirection": "row",
363
- "paddingHorizontal": 16,
364
- "paddingVertical": 8,
369
+ {
370
+ "backgroundColor": "#000000",
371
+ "bottom": 0,
372
+ "left": 0,
373
+ "opacity": 0.48,
374
+ "position": "absolute",
375
+ "right": 0,
376
+ "top": 0,
377
+ }
378
+ }
379
+ />
380
+ <RCTSafeAreaView
381
+ collapsable={false}
382
+ style={
383
+ {
384
+ "backgroundColor": "#ffffff",
385
+ "borderTopLeftRadius": 16,
386
+ "borderTopRightRadius": 16,
387
+ "elevation": 10,
388
+ "maxHeight": "94%",
389
+ "shadowColor": "#001f23",
390
+ "shadowOffset": {
391
+ "height": 3,
392
+ "width": 0,
365
393
  },
366
- undefined,
367
- ]
394
+ "shadowOpacity": 0.4,
395
+ "shadowRadius": 16,
396
+ "transform": [
397
+ {
398
+ "scaleY": 1,
399
+ },
400
+ {
401
+ "translateY": 0,
402
+ },
403
+ ],
404
+ "width": "100%",
405
+ }
368
406
  }
369
407
  >
370
408
  <View
371
409
  style={
372
410
  [
373
411
  {
374
- "flex": 1,
375
- "justifyContent": "center",
412
+ "flexDirection": "row",
413
+ "paddingHorizontal": 16,
414
+ "paddingVertical": 8,
376
415
  },
377
416
  undefined,
378
417
  ]
379
418
  }
380
419
  >
381
- <Text
382
- allowFontScaling={false}
420
+ <View
383
421
  style={
384
422
  [
385
423
  {
386
- "color": "#001f23",
387
- "fontFamily": "BeVietnamPro-SemiBold",
388
- "fontSize": 16,
389
- "letterSpacing": 0.24,
390
- "lineHeight": 24,
424
+ "flex": 1,
425
+ "justifyContent": "center",
391
426
  },
392
427
  undefined,
393
428
  ]
394
429
  }
395
- themeIntent="body"
396
- themeTypeface="neutral"
397
- themeVariant="regular-bold"
398
- >
399
- Start date
400
- </Text>
401
- </View>
402
- <View
403
- style={
404
- [
405
- {
406
- "alignItems": "center",
407
- "height": 48,
408
- "justifyContent": "center",
409
- "marginLeft": 12,
410
- "width": 48,
411
- },
412
- undefined,
413
- ]
414
- }
415
- >
416
- <View
417
- accessible={true}
418
- collapsable={false}
419
- focusable={true}
420
- onClick={[Function]}
421
- onResponderGrant={[Function]}
422
- onResponderMove={[Function]}
423
- onResponderRelease={[Function]}
424
- onResponderTerminate={[Function]}
425
- onResponderTerminationRequest={[Function]}
426
- onStartShouldSetResponder={[Function]}
427
- style={
428
- {
429
- "opacity": 1,
430
- }
431
- }
432
- testID="bottom-sheet-close-icon"
433
430
  >
434
- <HeroIcon
435
- name="cancel"
431
+ <Text
432
+ allowFontScaling={false}
436
433
  style={
437
434
  [
438
435
  {
439
436
  "color": "#001f23",
437
+ "fontFamily": "BeVietnamPro-SemiBold",
440
438
  "fontSize": 16,
439
+ "letterSpacing": 0.24,
440
+ "lineHeight": 24,
441
441
  },
442
442
  undefined,
443
443
  ]
444
444
  }
445
- themeIntent="text"
446
- themeSize="xsmall"
447
- />
445
+ themeIntent="body"
446
+ themeTypeface="neutral"
447
+ themeVariant="regular-bold"
448
+ >
449
+ Start date
450
+ </Text>
448
451
  </View>
449
- </View>
450
- </View>
451
- <View
452
- style={
453
- [
454
- {
455
- "height": 176,
456
- },
457
- undefined,
458
- ]
459
- }
460
- >
461
- <Picker
462
- display="spinner"
463
- mode="date"
464
- onChange={[Function]}
465
- style={
466
- {
467
- "flex": 1,
452
+ <View
453
+ style={
454
+ [
455
+ {
456
+ "alignItems": "center",
457
+ "height": 48,
458
+ "justifyContent": "center",
459
+ "marginLeft": 12,
460
+ "width": 48,
461
+ },
462
+ undefined,
463
+ ]
468
464
  }
469
- }
470
- testID="datePickerIOS"
471
- textColor="#001f23"
472
- value={1995-12-21T00:00:00.000Z}
473
- />
474
- </View>
475
- <View>
465
+ >
466
+ <View
467
+ accessibilityState={
468
+ {
469
+ "busy": undefined,
470
+ "checked": undefined,
471
+ "disabled": undefined,
472
+ "expanded": undefined,
473
+ "selected": undefined,
474
+ }
475
+ }
476
+ accessibilityValue={
477
+ {
478
+ "max": undefined,
479
+ "min": undefined,
480
+ "now": undefined,
481
+ "text": undefined,
482
+ }
483
+ }
484
+ accessible={true}
485
+ collapsable={false}
486
+ focusable={true}
487
+ onClick={[Function]}
488
+ onResponderGrant={[Function]}
489
+ onResponderMove={[Function]}
490
+ onResponderRelease={[Function]}
491
+ onResponderTerminate={[Function]}
492
+ onResponderTerminationRequest={[Function]}
493
+ onStartShouldSetResponder={[Function]}
494
+ style={
495
+ {
496
+ "opacity": 1,
497
+ }
498
+ }
499
+ testID="bottom-sheet-close-icon"
500
+ >
501
+ <HeroIcon
502
+ name="cancel"
503
+ style={
504
+ [
505
+ {
506
+ "color": "#001f23",
507
+ "fontSize": 16,
508
+ },
509
+ undefined,
510
+ ]
511
+ }
512
+ themeIntent="text"
513
+ themeSize="xsmall"
514
+ />
515
+ </View>
516
+ </View>
517
+ </View>
476
518
  <View
477
519
  style={
478
520
  [
479
521
  {
480
- "alignItems": "center",
481
- "flexDirection": "row",
482
- "justifyContent": "flex-end",
483
- "paddingHorizontal": 12,
484
- "paddingVertical": 2,
522
+ "height": 176,
485
523
  },
486
524
  undefined,
487
525
  ]
488
526
  }
489
527
  >
490
- <View
491
- accessibilityState={
528
+ <Picker
529
+ display="spinner"
530
+ mode="date"
531
+ onChange={[Function]}
532
+ style={
492
533
  {
493
- "disabled": false,
534
+ "flex": 1,
494
535
  }
495
536
  }
496
- accessible={true}
497
- focusable={true}
498
- onClick={[Function]}
499
- onResponderGrant={[Function]}
500
- onResponderMove={[Function]}
501
- onResponderRelease={[Function]}
502
- onResponderTerminate={[Function]}
503
- onResponderTerminationRequest={[Function]}
504
- onStartShouldSetResponder={[Function]}
537
+ testID="datePickerIOS"
538
+ textColor="#001f23"
539
+ value={1995-12-21T00:00:00.000Z}
540
+ />
541
+ </View>
542
+ <View>
543
+ <View
505
544
  style={
506
545
  [
507
546
  {
508
547
  "alignItems": "center",
509
- "backgroundColor": "transparent",
510
- "borderRadius": 4,
511
- "borderWidth": 0,
512
548
  "flexDirection": "row",
513
- "justifyContent": "center",
514
- "padding": 12,
549
+ "justifyContent": "flex-end",
550
+ "paddingHorizontal": 12,
551
+ "paddingVertical": 2,
515
552
  },
516
553
  undefined,
517
554
  ]
518
555
  }
519
556
  >
520
- <Text
521
- allowFontScaling={false}
522
- disabled={false}
523
- ellipsizeMode="tail"
524
- numberOfLines={1}
557
+ <View
558
+ accessibilityState={
559
+ {
560
+ "disabled": false,
561
+ }
562
+ }
563
+ accessibilityValue={
564
+ {
565
+ "max": undefined,
566
+ "min": undefined,
567
+ "now": undefined,
568
+ "text": undefined,
569
+ }
570
+ }
571
+ accessible={true}
572
+ focusable={true}
573
+ onClick={[Function]}
574
+ onResponderGrant={[Function]}
575
+ onResponderMove={[Function]}
576
+ onResponderRelease={[Function]}
577
+ onResponderTerminate={[Function]}
578
+ onResponderTerminationRequest={[Function]}
579
+ onStartShouldSetResponder={[Function]}
525
580
  style={
526
581
  [
527
582
  {
528
- "color": "#001f23",
529
- "fontFamily": "BeVietnamPro-SemiBold",
530
- "fontSize": 16,
531
- "letterSpacing": 0.24,
532
- "lineHeight": 24,
583
+ "alignItems": "center",
584
+ "backgroundColor": "transparent",
585
+ "borderRadius": 4,
586
+ "borderWidth": 0,
587
+ "flexDirection": "row",
588
+ "height": 60,
589
+ "justifyContent": "center",
590
+ "padding": 12,
533
591
  },
534
- [
535
- {
536
- "color": "#401960",
537
- "flexShrink": 1,
538
- "lineHeight": 22,
539
- "textAlign": "center",
540
- },
541
- undefined,
542
- ],
592
+ undefined,
543
593
  ]
544
594
  }
545
- themeButtonVariant="text-primary"
546
- themeIntent="body"
547
- themeTypeface="neutral"
548
- themeVariant="regular-bold"
549
595
  >
550
- Confirm
551
- </Text>
596
+ <Text
597
+ allowFontScaling={false}
598
+ disabled={false}
599
+ ellipsizeMode="tail"
600
+ numberOfLines={1}
601
+ style={
602
+ [
603
+ {
604
+ "color": "#001f23",
605
+ "fontFamily": "BeVietnamPro-SemiBold",
606
+ "fontSize": 16,
607
+ "letterSpacing": 0.24,
608
+ "lineHeight": 24,
609
+ },
610
+ [
611
+ {
612
+ "color": "#401960",
613
+ "flexShrink": 1,
614
+ "lineHeight": 22,
615
+ "textAlign": "center",
616
+ },
617
+ undefined,
618
+ ],
619
+ ]
620
+ }
621
+ themeButtonVariant="text-primary"
622
+ themeIntent="body"
623
+ themeTypeface="neutral"
624
+ themeVariant="regular-bold"
625
+ >
626
+ Confirm
627
+ </Text>
628
+ </View>
552
629
  </View>
553
630
  </View>
554
- </View>
555
- </RCTSafeAreaView>
631
+ </RCTSafeAreaView>
632
+ </View>
556
633
  </View>
557
634
  </View>
558
635
  </View>
559
636
  </View>
560
- </View>
561
- </RCTModalHostView>
637
+ </RCTModalHostView>
638
+ </View>
639
+ <View
640
+ pointerEvents="box-none"
641
+ position="bottom"
642
+ style={
643
+ [
644
+ {
645
+ "bottom": 0,
646
+ "elevation": 9999,
647
+ "flexDirection": "column-reverse",
648
+ "left": 0,
649
+ "paddingHorizontal": 24,
650
+ "paddingVertical": 16,
651
+ "position": "absolute",
652
+ "right": 0,
653
+ "top": 0,
654
+ },
655
+ undefined,
656
+ ]
657
+ }
658
+ />
562
659
  </View>
563
660
  `;