@hero-design/rn 8.44.0-alpha.0 → 8.45.0-test.0

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