@hero-design/rn 8.68.0-alpha.1 → 8.69.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 (392) hide show
  1. package/.turbo/turbo-build.log +8 -0
  2. package/CHANGELOG.md +27 -0
  3. package/es/index.js +706 -188
  4. package/lib/index.js +707 -187
  5. package/package.json +2 -2
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  8. package/src/components/Alert/StyledAlert.tsx +24 -2
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +150 -30
  10. package/src/components/Alert/index.tsx +15 -10
  11. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -2
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -1
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  15. package/src/components/Badge/StyledBadge.tsx +13 -5
  16. package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +129 -13
  18. package/src/components/Badge/index.tsx +8 -2
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  20. package/src/components/BottomSheet/Header.tsx +50 -27
  21. package/src/components/BottomSheet/StyledBottomSheet.tsx +35 -8
  22. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +352 -1
  23. package/src/components/BottomSheet/__tests__/index.spec.tsx +30 -0
  24. package/src/components/BottomSheet/index.tsx +47 -30
  25. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  27. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +21 -21
  28. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +12 -12
  29. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  31. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  32. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
  33. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
  35. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
  36. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  37. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
  38. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  39. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
  40. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  41. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
  42. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  43. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  44. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  45. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  46. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
  47. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  48. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  49. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  50. package/src/components/Progress/ProgressStep.tsx +87 -0
  51. package/src/components/Progress/StyledStep.tsx +48 -0
  52. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +214 -5
  53. package/src/components/Progress/__tests__/index.spec.js +26 -0
  54. package/src/components/Progress/index.tsx +6 -1
  55. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
  56. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
  57. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  58. package/src/components/Search/SearchOneLine.tsx +196 -0
  59. package/src/components/Search/SearchSuffixIcon.tsx +37 -0
  60. package/src/components/Search/SearchTwoLine.tsx +64 -0
  61. package/src/components/Search/StyledSearch.tsx +67 -0
  62. package/src/components/Search/__tests__/SearchOneLine.spec.tsx +197 -0
  63. package/src/components/Search/__tests__/SearchSuffixIcon.spec.tsx +12 -0
  64. package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +20 -0
  65. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +707 -0
  66. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +134 -0
  67. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +170 -0
  68. package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +115 -0
  69. package/src/components/Search/__tests__/utils.spec.tsx +19 -0
  70. package/src/components/Search/index.tsx +17 -0
  71. package/src/components/Search/utils.tsx +31 -0
  72. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  73. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  74. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
  75. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
  76. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
  77. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  78. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
  79. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  80. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  81. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  82. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
  83. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  84. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  85. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
  86. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  87. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
  88. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -9
  89. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +19 -9
  90. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +7 -2
  91. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +24 -9
  92. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
  93. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +2 -2
  94. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
  95. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
  96. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
  97. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  98. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
  99. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  100. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
  101. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  102. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  103. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
  104. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  105. package/src/index.ts +4 -0
  106. package/src/theme/ThemeSwitcher.tsx +2 -12
  107. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +152 -77
  108. package/src/theme/components/alert.ts +14 -5
  109. package/src/theme/components/badge.ts +21 -21
  110. package/src/theme/components/bottomSheet.ts +7 -0
  111. package/src/theme/components/progress.ts +11 -1
  112. package/src/theme/components/search.ts +56 -0
  113. package/src/theme/getTheme.ts +5 -2
  114. package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +7 -7
  115. package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +50 -0
  116. package/src/theme/global/colors/__tests__/swagLightJobs.spec.ts +7 -0
  117. package/src/theme/global/colors/swagLight.ts +7 -8
  118. package/src/theme/global/colors/swagLightJobs.ts +11 -0
  119. package/src/theme/global/colors/types.ts +4 -0
  120. package/src/theme/global/index.ts +2 -0
  121. package/src/theme/index.ts +2 -0
  122. package/stats/8.67.0/rn-stats.html +4844 -0
  123. package/stats/8.68.0/rn-stats.html +4842 -0
  124. package/stats/8.69.0/rn-stats.html +4842 -0
  125. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  126. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  127. package/types/components/Accordion/index.d.ts +0 -0
  128. package/types/components/Alert/StyledAlert.d.ts +17 -2
  129. package/types/components/Alert/index.d.ts +0 -0
  130. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  131. package/types/components/Attachment/index.d.ts +0 -0
  132. package/types/components/Avatar/Avatar.d.ts +0 -0
  133. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  134. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  135. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  136. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  137. package/types/components/Avatar/index.d.ts +0 -0
  138. package/types/components/Badge/Status.d.ts +0 -0
  139. package/types/components/Badge/StyledBadge.d.ts +4 -0
  140. package/types/components/Badge/index.d.ts +6 -2
  141. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  142. package/types/components/BottomNavigation/index.d.ts +0 -0
  143. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  144. package/types/components/BottomSheet/Footer.d.ts +0 -0
  145. package/types/components/BottomSheet/Header.d.ts +3 -2
  146. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  147. package/types/components/BottomSheet/StyledBottomSheet.d.ts +16 -2
  148. package/types/components/BottomSheet/index.d.ts +5 -1
  149. package/types/components/Box/StyledBox.d.ts +1 -1
  150. package/types/components/Box/config.d.ts +0 -0
  151. package/types/components/Box/index.d.ts +0 -0
  152. package/types/components/Box/types.d.ts +0 -0
  153. package/types/components/Button/Button.d.ts +0 -0
  154. package/types/components/Button/IconButton.d.ts +0 -0
  155. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  156. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  157. package/types/components/Button/StyledButton.d.ts +0 -0
  158. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  159. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  160. package/types/components/Button/index.d.ts +0 -0
  161. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  162. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  163. package/types/components/Calendar/helpers.d.ts +0 -0
  164. package/types/components/Calendar/index.d.ts +0 -0
  165. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  166. package/types/components/Card/DataCard/index.d.ts +0 -0
  167. package/types/components/Card/StyledCard.d.ts +0 -0
  168. package/types/components/Card/index.d.ts +0 -0
  169. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  170. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  171. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  172. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  173. package/types/components/Carousel/contants.d.ts +0 -0
  174. package/types/components/Carousel/index.d.ts +0 -0
  175. package/types/components/Carousel/types.d.ts +0 -0
  176. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  177. package/types/components/Checkbox/index.d.ts +0 -0
  178. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  179. package/types/components/Collapse/index.d.ts +0 -0
  180. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  181. package/types/components/ContentNavigator/index.d.ts +0 -0
  182. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  183. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  184. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  185. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  186. package/types/components/DatePicker/index.d.ts +0 -0
  187. package/types/components/DatePicker/types.d.ts +0 -0
  188. package/types/components/Divider/StyledDivider.d.ts +0 -0
  189. package/types/components/Divider/index.d.ts +0 -0
  190. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  191. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  192. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  193. package/types/components/Drawer/index.d.ts +0 -0
  194. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  195. package/types/components/Empty/index.d.ts +0 -0
  196. package/types/components/Error/StyledError.d.ts +0 -0
  197. package/types/components/Error/index.d.ts +0 -0
  198. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  199. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  200. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  201. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  202. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  203. package/types/components/FAB/FAB.d.ts +0 -0
  204. package/types/components/FAB/StyledFAB.d.ts +0 -0
  205. package/types/components/FAB/index.d.ts +0 -0
  206. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  207. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  208. package/types/components/Icon/IconList.d.ts +0 -0
  209. package/types/components/Icon/index.d.ts +0 -0
  210. package/types/components/Icon/utils.d.ts +0 -0
  211. package/types/components/Image/index.d.ts +0 -0
  212. package/types/components/List/BasicListItem.d.ts +0 -0
  213. package/types/components/List/ListItem.d.ts +0 -0
  214. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  215. package/types/components/List/StyledListItem.d.ts +0 -0
  216. package/types/components/List/index.d.ts +0 -0
  217. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  218. package/types/components/PageControl/index.d.ts +0 -0
  219. package/types/components/PinInput/PinCell.d.ts +0 -0
  220. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  221. package/types/components/PinInput/index.d.ts +0 -0
  222. package/types/components/Progress/ProgressBar.d.ts +0 -0
  223. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  224. package/types/components/Progress/ProgressStep.d.ts +20 -0
  225. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  226. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  227. package/types/components/Progress/StyledStep.d.ts +21 -0
  228. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  229. package/types/components/Progress/constants.d.ts +0 -0
  230. package/types/components/Progress/index.d.ts +1 -0
  231. package/types/components/Progress/types.d.ts +0 -0
  232. package/types/components/Radio/Radio.d.ts +0 -0
  233. package/types/components/Radio/RadioGroup.d.ts +0 -0
  234. package/types/components/Radio/StyledRadio.d.ts +0 -0
  235. package/types/components/Radio/index.d.ts +0 -0
  236. package/types/components/Radio/types.d.ts +0 -0
  237. package/types/components/RefreshControl/index.d.ts +0 -0
  238. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  239. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  240. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  241. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  242. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  243. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  244. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  245. package/types/components/RichTextEditor/constants.d.ts +0 -0
  246. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  247. package/types/components/RichTextEditor/index.d.ts +0 -0
  248. package/types/components/RichTextEditor/types.d.ts +0 -0
  249. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  250. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  251. package/types/components/Search/SearchOneLine.d.ts +60 -0
  252. package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
  253. package/types/components/Search/SearchTwoLine.d.ts +31 -0
  254. package/types/components/Search/StyledSearch.d.ts +44 -0
  255. package/types/components/Search/index.d.ts +10 -0
  256. package/types/components/Search/utils.d.ts +8 -0
  257. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  258. package/types/components/SectionHeading/index.d.ts +0 -0
  259. package/types/components/Select/BaseOptionList.d.ts +0 -0
  260. package/types/components/Select/Footer.d.ts +0 -0
  261. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  262. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  263. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  264. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  265. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  266. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  267. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  268. package/types/components/Select/StyledSelect.d.ts +0 -0
  269. package/types/components/Select/helpers.d.ts +0 -0
  270. package/types/components/Select/index.d.ts +0 -0
  271. package/types/components/Select/types.d.ts +0 -0
  272. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  273. package/types/components/Skeleton/index.d.ts +0 -0
  274. package/types/components/Slider/index.d.ts +0 -0
  275. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  276. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  277. package/types/components/Spinner/index.d.ts +0 -0
  278. package/types/components/Success/StyledSuccess.d.ts +0 -0
  279. package/types/components/Success/index.d.ts +0 -0
  280. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  281. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  282. package/types/components/Swipeable/index.d.ts +0 -0
  283. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  284. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  285. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  286. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  287. package/types/components/Switch/index.d.ts +0 -0
  288. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  289. package/types/components/Tabs/SceneView.d.ts +0 -0
  290. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  291. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  292. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  293. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  294. package/types/components/Tabs/index.d.ts +0 -0
  295. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  296. package/types/components/Tabs/utils.d.ts +0 -0
  297. package/types/components/Tag/StyledTag.d.ts +0 -0
  298. package/types/components/Tag/index.d.ts +0 -0
  299. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  300. package/types/components/TextInput/index.d.ts +0 -0
  301. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  302. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  303. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  304. package/types/components/TimePicker/index.d.ts +0 -0
  305. package/types/components/TimePicker/types.d.ts +0 -0
  306. package/types/components/Toast/StyledToast.d.ts +0 -0
  307. package/types/components/Toast/Toast.d.ts +0 -0
  308. package/types/components/Toast/ToastContainer.d.ts +0 -0
  309. package/types/components/Toast/ToastContext.d.ts +0 -0
  310. package/types/components/Toast/ToastProvider.d.ts +0 -0
  311. package/types/components/Toast/index.d.ts +0 -0
  312. package/types/components/Toast/types.d.ts +0 -0
  313. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  314. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  315. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  316. package/types/components/Toolbar/index.d.ts +0 -0
  317. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  318. package/types/components/Typography/Text/index.d.ts +0 -0
  319. package/types/components/Typography/index.d.ts +0 -0
  320. package/types/index.d.ts +3 -2
  321. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  322. package/types/theme/ThemeProvider.d.ts +0 -0
  323. package/types/theme/ThemeSwitcher.d.ts +1 -1
  324. package/types/theme/components/accordion.d.ts +0 -0
  325. package/types/theme/components/alert.d.ts +14 -5
  326. package/types/theme/components/attachment.d.ts +0 -0
  327. package/types/theme/components/avatar.d.ts +0 -0
  328. package/types/theme/components/badge.d.ts +21 -21
  329. package/types/theme/components/bottomNavigation.d.ts +0 -0
  330. package/types/theme/components/bottomSheet.d.ts +7 -0
  331. package/types/theme/components/button.d.ts +0 -0
  332. package/types/theme/components/calendar.d.ts +0 -0
  333. package/types/theme/components/card.d.ts +0 -0
  334. package/types/theme/components/cardCarousel.d.ts +0 -0
  335. package/types/theme/components/carousel.d.ts +0 -0
  336. package/types/theme/components/checkbox.d.ts +0 -0
  337. package/types/theme/components/contentNavigator.d.ts +0 -0
  338. package/types/theme/components/datePicker.d.ts +0 -0
  339. package/types/theme/components/divider.d.ts +0 -0
  340. package/types/theme/components/drawer.d.ts +0 -0
  341. package/types/theme/components/empty.d.ts +0 -0
  342. package/types/theme/components/error.d.ts +0 -0
  343. package/types/theme/components/fab.d.ts +0 -0
  344. package/types/theme/components/icon.d.ts +0 -0
  345. package/types/theme/components/image.d.ts +0 -0
  346. package/types/theme/components/list.d.ts +0 -0
  347. package/types/theme/components/pageControl.d.ts +0 -0
  348. package/types/theme/components/pinInput.d.ts +0 -0
  349. package/types/theme/components/progress.d.ts +9 -0
  350. package/types/theme/components/radio.d.ts +0 -0
  351. package/types/theme/components/refreshControl.d.ts +0 -0
  352. package/types/theme/components/richTextEditor.d.ts +0 -0
  353. package/types/theme/components/search.d.ts +38 -0
  354. package/types/theme/components/sectionHeading.d.ts +0 -0
  355. package/types/theme/components/select.d.ts +0 -0
  356. package/types/theme/components/skeleton.d.ts +0 -0
  357. package/types/theme/components/slider.d.ts +0 -0
  358. package/types/theme/components/spinner.d.ts +0 -0
  359. package/types/theme/components/success.d.ts +0 -0
  360. package/types/theme/components/swipeable.d.ts +0 -0
  361. package/types/theme/components/switch.d.ts +0 -0
  362. package/types/theme/components/tabs.d.ts +0 -0
  363. package/types/theme/components/tag.d.ts +0 -0
  364. package/types/theme/components/textInput.d.ts +0 -0
  365. package/types/theme/components/timePicker.d.ts +0 -0
  366. package/types/theme/components/toast.d.ts +0 -0
  367. package/types/theme/components/toolbar.d.ts +0 -0
  368. package/types/theme/components/typography.d.ts +0 -0
  369. package/types/theme/getTheme.d.ts +2 -0
  370. package/types/theme/global/borders.d.ts +0 -0
  371. package/types/theme/global/colors/eBens.d.ts +0 -0
  372. package/types/theme/global/colors/global.d.ts +0 -0
  373. package/types/theme/global/colors/globalDark.d.ts +0 -0
  374. package/types/theme/global/colors/jobs.d.ts +0 -0
  375. package/types/theme/global/colors/swag.d.ts +0 -0
  376. package/types/theme/global/colors/swagDark.d.ts +0 -0
  377. package/types/theme/global/colors/swagLightJobs.d.ts +47 -0
  378. package/types/theme/global/colors/types.d.ts +2 -0
  379. package/types/theme/global/colors/wallet.d.ts +0 -0
  380. package/types/theme/global/colors/work.d.ts +0 -0
  381. package/types/theme/global/index.d.ts +4 -1
  382. package/types/theme/global/scale.d.ts +0 -0
  383. package/types/theme/global/sizes.d.ts +0 -0
  384. package/types/theme/global/space.d.ts +0 -0
  385. package/types/theme/global/typography.d.ts +0 -0
  386. package/types/theme/index.d.ts +2 -2
  387. package/types/types.d.ts +0 -0
  388. package/types/utils/functions.d.ts +0 -0
  389. package/types/utils/helpers.d.ts +0 -0
  390. package/types/utils/hooks.d.ts +0 -0
  391. package/types/utils/scale.d.ts +0 -0
  392. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
@@ -103,7 +103,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
103
103
  onStartShouldSetResponder={[Function]}
104
104
  style={
105
105
  {
106
- "backgroundColor": "#7622d7",
106
+ "backgroundColor": "#401960",
107
107
  "borderRadius": 999,
108
108
  "height": 32,
109
109
  "opacity": 1,
@@ -226,7 +226,7 @@ exports[`ListItem renders correctly ListItem with children 1`] = `
226
226
  style={
227
227
  [
228
228
  {
229
- "color": "#7622d7",
229
+ "color": "#401960",
230
230
  "fontSize": 20,
231
231
  },
232
232
  undefined,
@@ -505,7 +505,7 @@ exports[`ListItem renders correctly ListItem with icon 1`] = `
505
505
  style={
506
506
  [
507
507
  {
508
- "color": "#7622d7",
508
+ "color": "#401960",
509
509
  "fontSize": 20,
510
510
  },
511
511
  undefined,
@@ -665,7 +665,7 @@ exports[`ListItem renders correctly ListItem with leading status 1`] = `
665
665
  style={
666
666
  [
667
667
  {
668
- "color": "#7622d7",
668
+ "color": "#401960",
669
669
  "fontSize": 20,
670
670
  },
671
671
  undefined,
@@ -805,7 +805,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
805
805
  onStartShouldSetResponder={[Function]}
806
806
  style={
807
807
  {
808
- "backgroundColor": "#7622d7",
808
+ "backgroundColor": "#401960",
809
809
  "borderRadius": 999,
810
810
  "height": 32,
811
811
  "opacity": 1,
@@ -945,7 +945,7 @@ exports[`ListItem renders correctly ListItem with prefix suffix is React.Element
945
945
  style={
946
946
  [
947
947
  {
948
- "backgroundColor": "#7622d7",
948
+ "backgroundColor": "#401960",
949
949
  "borderRadius": 999,
950
950
  "display": "flex",
951
951
  "height": 24,
@@ -198,7 +198,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
198
198
  [
199
199
  {
200
200
  "alignItems": "center",
201
- "backgroundColor": "#F1E9FB",
201
+ "backgroundColor": "#ece8ef",
202
202
  "borderRadius": 4,
203
203
  "flexDirection": "row",
204
204
  "opacity": 1,
@@ -282,7 +282,7 @@ exports[`StyledListItemContainer renders correctly themeSelected true themeDisab
282
282
  [
283
283
  {
284
284
  "alignItems": "center",
285
- "backgroundColor": "#F1E9FB",
285
+ "backgroundColor": "#ece8ef",
286
286
  "borderRadius": 4,
287
287
  "flexDirection": "row",
288
288
  "opacity": 0.38,
@@ -428,7 +428,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant car
428
428
  [
429
429
  {
430
430
  "alignItems": "center",
431
- "backgroundColor": "#F1E9FB",
431
+ "backgroundColor": "#ece8ef",
432
432
  "borderRadius": 8,
433
433
  "elevation": 3,
434
434
  "flexDirection": "row",
@@ -518,7 +518,7 @@ exports[`ListItemContainer renders correctly themeSelected true themeVariant ful
518
518
  style={
519
519
  [
520
520
  {
521
- "backgroundColor": "#F1E9FB",
521
+ "backgroundColor": "#ece8ef",
522
522
  "borderRadius": 8,
523
523
  "flexDirection": "row",
524
524
  "padding": 16,
@@ -28,7 +28,7 @@ exports[`RefreshControl renders correctly 1`] = `
28
28
  collapsable={false}
29
29
  style={
30
30
  {
31
- "backgroundColor": "#7622d7",
31
+ "backgroundColor": "#401960",
32
32
  "borderRadius": 999,
33
33
  "height": 8,
34
34
  "marginHorizontal": 8,
@@ -47,7 +47,7 @@ exports[`RefreshControl renders correctly 1`] = `
47
47
  collapsable={false}
48
48
  style={
49
49
  {
50
- "backgroundColor": "#7622d7",
50
+ "backgroundColor": "#401960",
51
51
  "borderRadius": 999,
52
52
  "height": 8,
53
53
  "marginHorizontal": 8,
@@ -66,7 +66,7 @@ exports[`RefreshControl renders correctly 1`] = `
66
66
  collapsable={false}
67
67
  style={
68
68
  {
69
- "backgroundColor": "#7622d7",
69
+ "backgroundColor": "#401960",
70
70
  "borderRadius": 999,
71
71
  "height": 8,
72
72
  "marginHorizontal": 8,
@@ -0,0 +1,87 @@
1
+ import { useTheme } from '@emotion/react';
2
+ import React, { useMemo } from 'react';
3
+ import { LayoutChangeEvent, ViewProps } from 'react-native';
4
+ import {
5
+ StyledSingleStep,
6
+ StyledSingleStepContainer,
7
+ StyledStep,
8
+ StyledStepContainer,
9
+ } from './StyledStep';
10
+
11
+ export interface ProgressStepProps extends ViewProps {
12
+ /**
13
+ * The total number of steps.
14
+ */
15
+ steps: number;
16
+ /**
17
+ * The current step.
18
+ */
19
+ current: number;
20
+ /**
21
+ * Test ID of the component.
22
+ */
23
+ testID?: string;
24
+ }
25
+
26
+ type StepState = 'complete' | 'incomplete' | 'current';
27
+
28
+ export const getStepState = (current: number, index: number): StepState => {
29
+ if (index < current) {
30
+ return 'complete';
31
+ }
32
+
33
+ if (index === current) {
34
+ return 'current';
35
+ }
36
+
37
+ return 'incomplete';
38
+ };
39
+
40
+ const ProgressStep = ({
41
+ steps,
42
+ current,
43
+ onLayout,
44
+ ...props
45
+ }: ProgressStepProps) => {
46
+ const theme = useTheme();
47
+ const [containerWidth, setContainerWidth] = React.useState(0);
48
+
49
+ const onContainerLayout = (event: LayoutChangeEvent) => {
50
+ setContainerWidth(event.nativeEvent.layout.width);
51
+
52
+ onLayout?.(event);
53
+ };
54
+
55
+ // Calculate the width for each step
56
+ const stepWidth = useMemo(() => {
57
+ let width = 0;
58
+ if (containerWidth > 0) {
59
+ width =
60
+ (containerWidth - (steps - 1) * theme.__hd__.progress.space.stepGap) /
61
+ steps;
62
+ }
63
+
64
+ return width;
65
+ }, [containerWidth, steps, theme]);
66
+
67
+ if (steps === 1) {
68
+ return (
69
+ <StyledSingleStepContainer {...props}>
70
+ <StyledSingleStep />
71
+ </StyledSingleStepContainer>
72
+ );
73
+ }
74
+
75
+ return (
76
+ <StyledStepContainer {...props} onLayout={onContainerLayout}>
77
+ {Array.from({ length: steps }).map((_, index) => (
78
+ <StyledStep
79
+ themeState={getStepState(current - 1, index)}
80
+ themeWidth={stepWidth}
81
+ />
82
+ ))}
83
+ </StyledStepContainer>
84
+ );
85
+ };
86
+
87
+ export default ProgressStep;
@@ -0,0 +1,48 @@
1
+ import styled from '@emotion/native';
2
+ import Box from '../Box';
3
+
4
+ type StepState = 'complete' | 'incomplete' | 'current';
5
+
6
+ const StyledStepContainer = styled(Box)({
7
+ display: 'flex',
8
+ flexDirection: 'row',
9
+ justifyContent: 'space-between',
10
+ alignItems: 'center',
11
+ });
12
+
13
+ const StyledStep = styled(Box)<{
14
+ themeState: StepState;
15
+ themeWidth: number;
16
+ }>(({ theme, themeState, themeWidth }) => ({
17
+ height: theme.__hd__.progress.sizes.stepHeight,
18
+ borderRadius: theme.__hd__.progress.radii.default,
19
+ backgroundColor: theme.__hd__.progress.colors.step[themeState],
20
+ width: themeWidth,
21
+ }));
22
+
23
+ const StyledSingleStepContainer = styled(Box)(({ theme }) => ({
24
+ height: theme.__hd__.progress.sizes.stepHeight,
25
+ borderRadius: theme.__hd__.progress.radii.default,
26
+ backgroundColor: theme.__hd__.progress.colors.step.current,
27
+ width: '100%',
28
+ position: 'relative',
29
+ }));
30
+
31
+ const StyledSingleStep = styled(Box)(({ theme }) => ({
32
+ height: theme.__hd__.progress.sizes.stepHeight,
33
+ borderRadius: theme.__hd__.progress.radii.default,
34
+ backgroundColor: theme.__hd__.progress.colors.step.complete,
35
+ width: '70%',
36
+ position: 'absolute',
37
+ top: 0,
38
+ left: 0,
39
+ bottom: 0,
40
+ right: 0,
41
+ }));
42
+
43
+ export {
44
+ StyledStepContainer,
45
+ StyledStep,
46
+ StyledSingleStepContainer,
47
+ StyledSingleStep,
48
+ };
@@ -30,7 +30,7 @@ exports[`Progress.Bar renders correctly 1`] = `
30
30
  style={
31
31
  {
32
32
  "alignSelf": "stretch",
33
- "backgroundColor": "#7622d7",
33
+ "backgroundColor": "#401960",
34
34
  "borderBottomRightRadius": 999,
35
35
  "borderTopRightRadius": 999,
36
36
  "flex": 1,
@@ -491,7 +491,7 @@ exports[`Progress.Circle renders correctly 1`] = `
491
491
  style={
492
492
  [
493
493
  {
494
- "borderColor": "#7622d7",
494
+ "borderColor": "#401960",
495
495
  "borderRadius": 999,
496
496
  "borderWidth": 8,
497
497
  "height": 72,
@@ -585,7 +585,7 @@ exports[`Progress.Circle renders correctly 1`] = `
585
585
  style={
586
586
  [
587
587
  {
588
- "borderColor": "#7622d7",
588
+ "borderColor": "#401960",
589
589
  "borderRadius": 999,
590
590
  "borderWidth": 8,
591
591
  "height": 72,
@@ -655,7 +655,7 @@ exports[`Progress.Circle renders correctly 1`] = `
655
655
  style={
656
656
  [
657
657
  {
658
- "backgroundColor": "#7622d7",
658
+ "backgroundColor": "#401960",
659
659
  "borderRadius": 999,
660
660
  "height": 8,
661
661
  "left": 32,
@@ -691,7 +691,7 @@ exports[`Progress.Circle renders correctly 1`] = `
691
691
  style={
692
692
  [
693
693
  {
694
- "backgroundColor": "#7622d7",
694
+ "backgroundColor": "#401960",
695
695
  "borderRadius": 999,
696
696
  "height": 8,
697
697
  "left": 32,
@@ -1087,3 +1087,212 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
1087
1087
  />
1088
1088
  </View>
1089
1089
  `;
1090
+
1091
+ exports[`Progress.Step renders correctly 1`] = `
1092
+ <View
1093
+ style={
1094
+ {
1095
+ "flex": 1,
1096
+ }
1097
+ }
1098
+ >
1099
+ <View
1100
+ onLayout={[Function]}
1101
+ style={
1102
+ [
1103
+ {},
1104
+ [
1105
+ {
1106
+ "alignItems": "center",
1107
+ "display": "flex",
1108
+ "flexDirection": "row",
1109
+ "justifyContent": "space-between",
1110
+ },
1111
+ undefined,
1112
+ ],
1113
+ ]
1114
+ }
1115
+ >
1116
+ <View
1117
+ style={
1118
+ [
1119
+ {},
1120
+ [
1121
+ {
1122
+ "backgroundColor": "#401960",
1123
+ "borderRadius": 999,
1124
+ "height": 8,
1125
+ "width": 0,
1126
+ },
1127
+ undefined,
1128
+ ],
1129
+ ]
1130
+ }
1131
+ themeState="complete"
1132
+ themeWidth={0}
1133
+ />
1134
+ <View
1135
+ style={
1136
+ [
1137
+ {},
1138
+ [
1139
+ {
1140
+ "backgroundColor": "#DACCE4",
1141
+ "borderRadius": 999,
1142
+ "height": 8,
1143
+ "width": 0,
1144
+ },
1145
+ undefined,
1146
+ ],
1147
+ ]
1148
+ }
1149
+ themeState="current"
1150
+ themeWidth={0}
1151
+ />
1152
+ <View
1153
+ style={
1154
+ [
1155
+ {},
1156
+ [
1157
+ {
1158
+ "backgroundColor": "#dadbde",
1159
+ "borderRadius": 999,
1160
+ "height": 8,
1161
+ "width": 0,
1162
+ },
1163
+ undefined,
1164
+ ],
1165
+ ]
1166
+ }
1167
+ themeState="incomplete"
1168
+ themeWidth={0}
1169
+ />
1170
+ <View
1171
+ style={
1172
+ [
1173
+ {},
1174
+ [
1175
+ {
1176
+ "backgroundColor": "#dadbde",
1177
+ "borderRadius": 999,
1178
+ "height": 8,
1179
+ "width": 0,
1180
+ },
1181
+ undefined,
1182
+ ],
1183
+ ]
1184
+ }
1185
+ themeState="incomplete"
1186
+ themeWidth={0}
1187
+ />
1188
+ <View
1189
+ style={
1190
+ [
1191
+ {},
1192
+ [
1193
+ {
1194
+ "backgroundColor": "#dadbde",
1195
+ "borderRadius": 999,
1196
+ "height": 8,
1197
+ "width": 0,
1198
+ },
1199
+ undefined,
1200
+ ],
1201
+ ]
1202
+ }
1203
+ themeState="incomplete"
1204
+ themeWidth={0}
1205
+ />
1206
+ </View>
1207
+ <View
1208
+ pointerEvents="box-none"
1209
+ position="bottom"
1210
+ style={
1211
+ [
1212
+ {
1213
+ "bottom": 0,
1214
+ "elevation": 9999,
1215
+ "flexDirection": "column-reverse",
1216
+ "left": 0,
1217
+ "paddingHorizontal": 24,
1218
+ "paddingVertical": 16,
1219
+ "position": "absolute",
1220
+ "right": 0,
1221
+ "top": 0,
1222
+ },
1223
+ undefined,
1224
+ ]
1225
+ }
1226
+ />
1227
+ </View>
1228
+ `;
1229
+
1230
+ exports[`Progress.Step renders correctly with single step 1`] = `
1231
+ <View
1232
+ style={
1233
+ {
1234
+ "flex": 1,
1235
+ }
1236
+ }
1237
+ >
1238
+ <View
1239
+ style={
1240
+ [
1241
+ {},
1242
+ [
1243
+ {
1244
+ "backgroundColor": "#DACCE4",
1245
+ "borderRadius": 999,
1246
+ "height": 8,
1247
+ "position": "relative",
1248
+ "width": "100%",
1249
+ },
1250
+ undefined,
1251
+ ],
1252
+ ]
1253
+ }
1254
+ >
1255
+ <View
1256
+ style={
1257
+ [
1258
+ {},
1259
+ [
1260
+ {
1261
+ "backgroundColor": "#401960",
1262
+ "borderRadius": 999,
1263
+ "bottom": 0,
1264
+ "height": 8,
1265
+ "left": 0,
1266
+ "position": "absolute",
1267
+ "right": 0,
1268
+ "top": 0,
1269
+ "width": "70%",
1270
+ },
1271
+ undefined,
1272
+ ],
1273
+ ]
1274
+ }
1275
+ />
1276
+ </View>
1277
+ <View
1278
+ pointerEvents="box-none"
1279
+ position="bottom"
1280
+ style={
1281
+ [
1282
+ {
1283
+ "bottom": 0,
1284
+ "elevation": 9999,
1285
+ "flexDirection": "column-reverse",
1286
+ "left": 0,
1287
+ "paddingHorizontal": 24,
1288
+ "paddingVertical": 16,
1289
+ "position": "absolute",
1290
+ "right": 0,
1291
+ "top": 0,
1292
+ },
1293
+ undefined,
1294
+ ]
1295
+ }
1296
+ />
1297
+ </View>
1298
+ `;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import renderWithTheme from '../../../testHelpers/renderWithTheme';
3
3
 
4
4
  import Progress from '..';
5
+ import { getStepState } from '../ProgressStep';
5
6
 
6
7
  describe('Progress.Circle', () => {
7
8
  it('renders correctly', () => {
@@ -59,3 +60,28 @@ describe('Progress.Bar', () => {
59
60
  expect(toJSON()).toMatchSnapshot();
60
61
  });
61
62
  });
63
+
64
+ describe('Progress.Step', () => {
65
+ it('renders correctly', () => {
66
+ const { toJSON } = renderWithTheme(<Progress.Step steps={5} current={2} />);
67
+
68
+ expect(toJSON()).toMatchSnapshot();
69
+ });
70
+
71
+ it('renders correctly with single step', () => {
72
+ const { toJSON } = renderWithTheme(<Progress.Step steps={1} current={1} />);
73
+
74
+ expect(toJSON()).toMatchSnapshot();
75
+ });
76
+
77
+ it.each`
78
+ current | index | state
79
+ ${1} | ${0} | ${'complete'}
80
+ ${1} | ${1} | ${'current'}
81
+ ${1} | ${2} | ${'incomplete'}
82
+ `('getStepState returns correct variant', ({ current, index, state }) => {
83
+ const result = getStepState(current, index);
84
+
85
+ expect(result).toBe(state);
86
+ });
87
+ });
@@ -1,6 +1,11 @@
1
1
  import ProgressCircle from './ProgressCircle';
2
2
  import ProgressBar from './ProgressBar';
3
+ import ProgressStep from './ProgressStep';
3
4
 
4
- const Progress = { Circle: ProgressCircle, Bar: ProgressBar } as const;
5
+ const Progress = {
6
+ Circle: ProgressCircle,
7
+ Bar: ProgressBar,
8
+ Step: ProgressStep,
9
+ } as const;
5
10
 
6
11
  export default Progress;
@@ -34,14 +34,14 @@ exports[`rendering renders correctly when checked with inactiveIntent=dark 1`] =
34
34
  style={
35
35
  [
36
36
  {
37
- "backgroundColor": "#F1E9FB",
37
+ "backgroundColor": "#ece8ef",
38
38
  "borderRadius": 8,
39
39
  "flexDirection": "row",
40
40
  "padding": 16,
41
41
  },
42
42
  [
43
43
  {
44
- "backgroundColor": "#F1E9FB",
44
+ "backgroundColor": "#ece8ef",
45
45
  },
46
46
  undefined,
47
47
  ],
@@ -114,7 +114,7 @@ exports[`rendering renders correctly when checked with inactiveIntent=dark 1`] =
114
114
  [
115
115
  {
116
116
  "alignItems": "center",
117
- "borderColor": "#7622d7",
117
+ "borderColor": "#401960",
118
118
  "borderRadius": 999,
119
119
  "borderWidth": 2,
120
120
  "height": 20,
@@ -129,7 +129,7 @@ exports[`rendering renders correctly when checked with inactiveIntent=dark 1`] =
129
129
  style={
130
130
  [
131
131
  {
132
- "backgroundColor": "#7622d7",
132
+ "backgroundColor": "#401960",
133
133
  "borderRadius": 999,
134
134
  "height": 10,
135
135
  "width": 10,
@@ -201,14 +201,14 @@ exports[`rendering renders correctly when checked with inactiveIntent=light 1`]
201
201
  style={
202
202
  [
203
203
  {
204
- "backgroundColor": "#F1E9FB",
204
+ "backgroundColor": "#ece8ef",
205
205
  "borderRadius": 8,
206
206
  "flexDirection": "row",
207
207
  "padding": 16,
208
208
  },
209
209
  [
210
210
  {
211
- "backgroundColor": "#F1E9FB",
211
+ "backgroundColor": "#ece8ef",
212
212
  },
213
213
  undefined,
214
214
  ],
@@ -281,7 +281,7 @@ exports[`rendering renders correctly when checked with inactiveIntent=light 1`]
281
281
  [
282
282
  {
283
283
  "alignItems": "center",
284
- "borderColor": "#7622d7",
284
+ "borderColor": "#401960",
285
285
  "borderRadius": 999,
286
286
  "borderWidth": 2,
287
287
  "height": 20,
@@ -296,7 +296,7 @@ exports[`rendering renders correctly when checked with inactiveIntent=light 1`]
296
296
  style={
297
297
  [
298
298
  {
299
- "backgroundColor": "#7622d7",
299
+ "backgroundColor": "#401960",
300
300
  "borderRadius": 999,
301
301
  "height": 10,
302
302
  "width": 10,
@@ -448,7 +448,7 @@ exports[`rendering renders correctly when not checked with inactiveIntent=dark 1
448
448
  [
449
449
  {
450
450
  "alignItems": "center",
451
- "borderColor": "#7622d7",
451
+ "borderColor": "#401960",
452
452
  "borderRadius": 999,
453
453
  "borderWidth": 2,
454
454
  "height": 20,
@@ -600,7 +600,7 @@ exports[`rendering renders correctly when not checked with inactiveIntent=light
600
600
  [
601
601
  {
602
602
  "alignItems": "center",
603
- "borderColor": "#7622d7",
603
+ "borderColor": "#401960",
604
604
  "borderRadius": 999,
605
605
  "borderWidth": 2,
606
606
  "height": 20,