@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
@@ -19,12 +19,21 @@ exports[`theme returns correct theme object 1`] = `
19
19
  "base": 1,
20
20
  },
21
21
  "colors": {
22
+ "backgrounds": {
23
+ "error": "#fcebe7",
24
+ "info": "#ecf0ff",
25
+ "notification": "#ffffff",
26
+ "success": "#f0fef4",
27
+ "warning": "#fff6eb",
28
+ },
22
29
  "divider": "#e8e9ea",
23
- "error": "#f46363",
24
- "info": "#b5c3fd",
25
- "notification": "#ffffff",
26
- "success": "#5ace7d",
27
- "warning": "#ffbe71",
30
+ "texts": {
31
+ "error": "#cb300a",
32
+ "info": "#355bfb",
33
+ "notification": "#001f23",
34
+ "success": "#017d6d",
35
+ "warning": "#ac5d00",
36
+ },
28
37
  },
29
38
  "radii": {
30
39
  "default": 16,
@@ -41,7 +50,7 @@ exports[`theme returns correct theme object 1`] = `
41
50
  },
42
51
  "attachment": {
43
52
  "colors": {
44
- "highlightedBackground": "#F1E9FB",
53
+ "highlightedBackground": "#ece8ef",
45
54
  },
46
55
  "radii": {
47
56
  "container": 8,
@@ -62,7 +71,7 @@ exports[`theme returns correct theme object 1`] = `
62
71
  "colors": {
63
72
  "danger": "#f46363",
64
73
  "info": "#b5c3fd",
65
- "primary": "#7622d7",
74
+ "primary": "#401960",
66
75
  "success": "#5ace7d",
67
76
  "text": "#ffffff",
68
77
  "warning": "#ffbe71",
@@ -111,28 +120,42 @@ exports[`theme returns correct theme object 1`] = `
111
120
  "archived": "#606065",
112
121
  "danger": "#cb300a",
113
122
  "info": "#355bfb",
114
- "primary": "#7622d7",
123
+ "primary": "#401960",
115
124
  "success": "#017d6d",
116
125
  "text": "#ffffff",
117
126
  "warning": "#ac5d00",
118
127
  },
119
128
  "fontSizes": {
120
- "default": 12,
129
+ "medium": 12,
130
+ "small": 8,
121
131
  },
122
132
  "fonts": {
123
- "default": "BeVietnamPro-SemiBold",
133
+ "medium": "BeVietnamPro-Regular",
134
+ "small": "BeVietnamPro-SemiBold",
124
135
  },
125
136
  "lineHeights": {
126
- "default": 16,
137
+ "medium": 16,
138
+ "small": 10,
127
139
  },
128
140
  "sizes": {
129
- "height": 20,
130
- "minWidth": 20,
141
+ "medium": {
142
+ "height": 24,
143
+ "minWidth": 24,
144
+ },
145
+ "small": {
146
+ "height": 16,
147
+ "minWidth": 16,
148
+ },
131
149
  "statusHeight": 8,
132
150
  "statusWidth": 8,
133
151
  },
134
152
  "space": {
135
- "horizontalPadding": 8,
153
+ "medium": {
154
+ "horizontalPadding": 8,
155
+ },
156
+ "small": {
157
+ "horizontalPadding": 4,
158
+ },
136
159
  "statusPositionRight": -2,
137
160
  "statusPositionTop": -2,
138
161
  },
@@ -140,7 +163,7 @@ exports[`theme returns correct theme object 1`] = `
140
163
  "bottomNavigation": {
141
164
  "colors": {
142
165
  "background": "#ffffff",
143
- "shadow": "#7622d7",
166
+ "shadow": "#401960",
144
167
  },
145
168
  "shadows": {
146
169
  "elevation": 10,
@@ -162,10 +185,13 @@ exports[`theme returns correct theme object 1`] = `
162
185
  "colors": {
163
186
  "backdrop": "#000000",
164
187
  "background": "#ffffff",
188
+ "floatingHeaderIconBackground": "#dadbde",
165
189
  "shadow": "#001f23",
166
190
  },
167
191
  "radii": {
168
192
  "default": 16,
193
+ "floating": 32,
194
+ "floatingHeaderIcon": 999,
169
195
  },
170
196
  "shadows": {
171
197
  "elevation": 10,
@@ -178,9 +204,13 @@ exports[`theme returns correct theme object 1`] = `
178
204
  },
179
205
  "sizes": {
180
206
  "closeIcon": 48,
207
+ "floatingCloseIcon": 12,
181
208
  },
182
209
  "space": {
183
210
  "closeIconMargin": 12,
211
+ "floatingContentMargin": 16,
212
+ "floatingHeaderIconPadding": 8,
213
+ "floatingInnerPadding": 8,
184
214
  "footerHorizontalPadding": 12,
185
215
  "footerVerticalPadding": 2,
186
216
  "headerWrapperHorizontalPadding": 16,
@@ -200,18 +230,18 @@ exports[`theme returns correct theme object 1`] = `
200
230
  "invertedText": "#ffffff",
201
231
  "pressedBackground": {
202
232
  "filledDanger": "#fcebe7",
203
- "filledPrimary": "#380060",
204
- "filledSecondary": "#380060",
233
+ "filledPrimary": "#33144d",
234
+ "filledSecondary": "#33144d",
205
235
  "outlineDanger": "#fcebe7",
206
- "outlinedPrimary": "#F1E9FB",
207
- "outlinedSecondary": "#F1E9FB",
236
+ "outlinedPrimary": "#ece8ef",
237
+ "outlinedSecondary": "#ece8ef",
208
238
  "textDanger": "#fcebe7",
209
- "textPrimary": "#F1E9FB",
210
- "textSecondary": "#F1E9FB",
239
+ "textPrimary": "#ece8ef",
240
+ "textSecondary": "#ece8ef",
211
241
  },
212
- "primary": "#7622d7",
213
- "secondary": "#460078",
214
- "textLoadingBackground": "#F1E9FB",
242
+ "primary": "#401960",
243
+ "secondary": "#795e90",
244
+ "textLoadingBackground": "#ece8ef",
215
245
  "utilityBackground": "#ffffff",
216
246
  },
217
247
  "fontSize": {
@@ -246,7 +276,7 @@ exports[`theme returns correct theme object 1`] = `
246
276
  "background": "#ffffff",
247
277
  "border": "#001f23",
248
278
  "inverted": "#ffffff",
249
- "primary": "#7622d7",
279
+ "primary": "#401960",
250
280
  },
251
281
  "radii": {
252
282
  "default": 999,
@@ -271,10 +301,10 @@ exports[`theme returns correct theme object 1`] = `
271
301
  "colors": {
272
302
  "archived": "#abacaf",
273
303
  "danger": "#f46363",
274
- "dataCardIndicator": "#7622d7",
304
+ "dataCardIndicator": "#401960",
275
305
  "info": "#b5c3fd",
276
306
  "neutral": "#f6f6f7",
277
- "primary": "#7622d7",
307
+ "primary": "#401960",
278
308
  "success": "#5ace7d",
279
309
  "warning": "#ffbe71",
280
310
  },
@@ -287,7 +317,7 @@ exports[`theme returns correct theme object 1`] = `
287
317
  },
288
318
  "cardCarousel": {
289
319
  "colors": {
290
- "carouselItemBackground": "#FDFBFF",
320
+ "carouselItemBackground": "#f6f6f7",
291
321
  },
292
322
  "radii": {
293
323
  "card": 8,
@@ -351,7 +381,7 @@ exports[`theme returns correct theme object 1`] = `
351
381
  "filledBackground": "#ffffff",
352
382
  "outlinedBackground": "transparent",
353
383
  "primaryBackground": "#001f23",
354
- "secondaryBackground": "#F1E9FB",
384
+ "secondaryBackground": "#ece8ef",
355
385
  "selectedPrimaryText": "#ffffff",
356
386
  "wrapperBorder": "#001f23",
357
387
  "wrapperSelectedBorder": "transparent",
@@ -460,7 +490,7 @@ exports[`theme returns correct theme object 1`] = `
460
490
  "error": {
461
491
  "colors": {
462
492
  "description": "#4d6265",
463
- "fullScreenBackground": "#B382FD",
493
+ "fullScreenBackground": "#ccd2d3",
464
494
  "inPageBackground": "#f6f6f7",
465
495
  "title": "#001f23",
466
496
  },
@@ -493,15 +523,15 @@ exports[`theme returns correct theme object 1`] = `
493
523
  },
494
524
  "fab": {
495
525
  "colors": {
496
- "actionItemBackground": "#460078",
497
- "actionItemPressedBackground": "#380060",
498
- "actionItemText": "#FDFBFF",
526
+ "actionItemBackground": "#795e90",
527
+ "actionItemPressedBackground": "#33144d",
528
+ "actionItemText": "#ffffff",
499
529
  "backdropBackground": "#000000",
500
- "buttonActiveBackground": "#380060",
501
- "buttonBackground": "#7622d7",
502
- "buttonPressedBackground": "#380060",
503
- "icon": "#FDFBFF",
504
- "titleText": "#FDFBFF",
530
+ "buttonActiveBackground": "#33144d",
531
+ "buttonBackground": "#401960",
532
+ "buttonPressedBackground": "#33144d",
533
+ "icon": "#ffffff",
534
+ "titleText": "#ffffff",
505
535
  },
506
536
  "fontSizes": {
507
537
  "actionItemText": 16,
@@ -552,8 +582,8 @@ exports[`theme returns correct theme object 1`] = `
552
582
  "disabledText": "#bfc1c5",
553
583
  "info": "#b5c3fd",
554
584
  "invertedText": "#ffffff",
555
- "primary": "#7622d7",
556
- "secondary": "#460078",
585
+ "primary": "#401960",
586
+ "secondary": "#795e90",
557
587
  "success": "#5ace7d",
558
588
  "text": "#001f23",
559
589
  "warning": "#ffbe71",
@@ -574,7 +604,7 @@ exports[`theme returns correct theme object 1`] = `
574
604
  },
575
605
  "list": {
576
606
  "colors": {
577
- "checkedListItemContainerBackground": "#F1E9FB",
607
+ "checkedListItemContainerBackground": "#ece8ef",
578
608
  "leadingStatus": {
579
609
  "archived": "#abacaf",
580
610
  "danger": "#f46363",
@@ -618,7 +648,7 @@ exports[`theme returns correct theme object 1`] = `
618
648
  },
619
649
  "pageControl": {
620
650
  "colors": {
621
- "paginatorBackgroundColor": "#7622d7",
651
+ "paginatorBackgroundColor": "#401960",
622
652
  },
623
653
  "radii": {
624
654
  "paginatorBorderRadius": 999,
@@ -681,7 +711,7 @@ exports[`theme returns correct theme object 1`] = `
681
711
  "dangerInverted": "#ffffff",
682
712
  "info": "#b5c3fd",
683
713
  "infoInverted": "#ffffff",
684
- "primary": "#7622d7",
714
+ "primary": "#401960",
685
715
  "primaryInverted": "#ffffff",
686
716
  "success": "#5ace7d",
687
717
  "successInverted": "#ffffff",
@@ -696,12 +726,17 @@ exports[`theme returns correct theme object 1`] = `
696
726
  "info": "#e8e9ea",
697
727
  "infoInverted": "#c4cffd",
698
728
  "primary": "#e8e9ea",
699
- "primaryInverted": "#914edf",
729
+ "primaryInverted": "#664780",
700
730
  "success": "#e8e9ea",
701
731
  "successInverted": "#7bd897",
702
732
  "warning": "#e8e9ea",
703
733
  "warningInverted": "#ffcb8d",
704
734
  },
735
+ "step": {
736
+ "complete": "#401960",
737
+ "current": "#DACCE4",
738
+ "incomplete": "#dadbde",
739
+ },
705
740
  },
706
741
  "radii": {
707
742
  "default": 999,
@@ -710,6 +745,10 @@ exports[`theme returns correct theme object 1`] = `
710
745
  "barHeight": 8,
711
746
  "circleCompletenessHeight": 8,
712
747
  "circleDiameter": 72,
748
+ "stepHeight": 8,
749
+ },
750
+ "space": {
751
+ "stepGap": 4,
713
752
  },
714
753
  },
715
754
  "radio": {
@@ -717,8 +756,8 @@ exports[`theme returns correct theme object 1`] = `
717
756
  "circle": 2,
718
757
  },
719
758
  "colors": {
720
- "checked": "#F1E9FB",
721
- "circle": "#7622d7",
759
+ "checked": "#ece8ef",
760
+ "circle": "#401960",
722
761
  "intents": {
723
762
  "dark": "#f6f6f7",
724
763
  "light": "#ffffff",
@@ -736,7 +775,7 @@ exports[`theme returns correct theme object 1`] = `
736
775
  },
737
776
  "rate": {
738
777
  "colors": {
739
- "iconStroke": "#7622d7",
778
+ "iconStroke": "#401960",
740
779
  },
741
780
  "spaces": {
742
781
  "iconWrapperMarginRight": 4,
@@ -745,7 +784,7 @@ exports[`theme returns correct theme object 1`] = `
745
784
  },
746
785
  "refreshControl": {
747
786
  "colors": {
748
- "indicator": "#7622d7",
787
+ "indicator": "#401960",
749
788
  },
750
789
  },
751
790
  "richTextEditor": {
@@ -753,7 +792,7 @@ exports[`theme returns correct theme object 1`] = `
753
792
  "text": "#001f23",
754
793
  "toolbarBackgroundColor": "#f6f6f7",
755
794
  "toolbarBorderColor": "#e8e9ea",
756
- "toolbarButtonSelectedBackground": "#F1E9FB",
795
+ "toolbarButtonSelectedBackground": "#ece8ef",
757
796
  },
758
797
  "fontSizes": {
759
798
  "editor": 14,
@@ -774,10 +813,46 @@ exports[`theme returns correct theme object 1`] = `
774
813
  "wrapperMarginBottom": 16,
775
814
  },
776
815
  },
816
+ "search": {
817
+ "borderWidths": {
818
+ "container": {
819
+ "focused": 2,
820
+ "normal": 1,
821
+ },
822
+ },
823
+ "colors": {
824
+ "borders": "#001f23",
825
+ "containerBackground": "#f6f6f7",
826
+ "surfixBackground": "#ffffff",
827
+ "text": "#001f23",
828
+ },
829
+ "fontSizes": {
830
+ "text": 16,
831
+ },
832
+ "fonts": {
833
+ "text": "BeVietnamPro-Regular",
834
+ },
835
+ "radii": {
836
+ "container": 999,
837
+ "surfix": 999,
838
+ },
839
+ "sizes": {
840
+ "surfixSize": 40,
841
+ },
842
+ "space": {
843
+ "badgeRight": -2,
844
+ "badgeTop": -2,
845
+ "containerHorizontalPadding": 8,
846
+ "containerVerticalPadding": 8,
847
+ "inputHorizontalMargin": 8,
848
+ "prefixHorizontalPadding": 4,
849
+ "surfixPadding": 8,
850
+ },
851
+ },
777
852
  "sectionHeading": {
778
853
  "colors": {
779
854
  "background": "#f6f6f7",
780
- "backgroundSmall": "#B382FD",
855
+ "backgroundSmall": "#ccd2d3",
781
856
  },
782
857
  "space": {
783
858
  "headingHorizontalPadding": 16,
@@ -819,16 +894,16 @@ exports[`theme returns correct theme object 1`] = `
819
894
  },
820
895
  "slider": {
821
896
  "colors": {
822
- "maximumTrackTint": "#F1E9FB",
823
- "minimumTrackTint": "#7622d7",
824
- "thumbTint": "#7622d7",
897
+ "maximumTrackTint": "#ece8ef",
898
+ "minimumTrackTint": "#401960",
899
+ "thumbTint": "#401960",
825
900
  },
826
901
  },
827
902
  "spinner": {
828
903
  "colors": {
829
904
  "dot": {
830
- "inverted": "#FDFBFF",
831
- "primary": "#7622d7",
905
+ "inverted": "#ffffff",
906
+ "primary": "#401960",
832
907
  },
833
908
  },
834
909
  "radii": {
@@ -852,7 +927,7 @@ exports[`theme returns correct theme object 1`] = `
852
927
  "success": {
853
928
  "colors": {
854
929
  "description": "#4d6265",
855
- "fullScreenBackground": "#B382FD",
930
+ "fullScreenBackground": "#ccd2d3",
856
931
  "inPageBackground": "#f6f6f7",
857
932
  "title": "#001f23",
858
933
  },
@@ -883,7 +958,7 @@ exports[`theme returns correct theme object 1`] = `
883
958
  "colors": {
884
959
  "danger": "#f46363",
885
960
  "defaultContainerBackground": "#ffffff",
886
- "primary": "#7622d7",
961
+ "primary": "#401960",
887
962
  "success": "#5ace7d",
888
963
  },
889
964
  "radii": {
@@ -896,14 +971,14 @@ exports[`theme returns correct theme object 1`] = `
896
971
  "switch": {
897
972
  "colors": {
898
973
  "backgroundColors": {
899
- "checked": "#7622d7",
900
- "disabled-checked": "#F1E9FB",
974
+ "checked": "#401960",
975
+ "disabled-checked": "#ece8ef",
901
976
  "disabled-unchecked": "#bfc1c5",
902
977
  "unchecked": "#808f91",
903
978
  },
904
979
  "selector": {
905
980
  "background": "#ffffff",
906
- "textBackground": "#B382FD",
981
+ "textBackground": "#ccd2d3",
907
982
  },
908
983
  "thumb": "#ffffff",
909
984
  },
@@ -935,10 +1010,10 @@ exports[`theme returns correct theme object 1`] = `
935
1010
  },
936
1011
  "colors": {
937
1012
  "active": "#001f23",
938
- "activeBackground": "#B382FD",
1013
+ "activeBackground": "#ccd2d3",
939
1014
  "headerBottom": "#e8e9ea",
940
1015
  "inactive": "#001f23",
941
- "indicator": "#7622d7",
1016
+ "indicator": "#401960",
942
1017
  "text": "#001f23",
943
1018
  },
944
1019
  "radii": {
@@ -968,8 +1043,8 @@ exports[`theme returns correct theme object 1`] = `
968
1043
  "dangerBackground": "#fcebe7",
969
1044
  "info": "#355bfb",
970
1045
  "infoBackground": "#ecf0ff",
971
- "primary": "#7622d7",
972
- "primaryBackground": "#F1E9FB",
1046
+ "primary": "#401960",
1047
+ "primaryBackground": "#ece8ef",
973
1048
  "success": "#017d6d",
974
1049
  "successBackground": "#f0fef4",
975
1050
  "text": "#001f23",
@@ -1131,10 +1206,10 @@ exports[`theme returns correct theme object 1`] = `
1131
1206
  "danger": "#ffbe71",
1132
1207
  "disabled": "#bfc1c5",
1133
1208
  "error": "#f46363",
1134
- "iconButtonBackground": "#F1E9FB",
1209
+ "iconButtonBackground": "#ece8ef",
1135
1210
  "info": "#b5c3fd",
1136
- "primary": "#7622d7",
1137
- "secondary": "#460078",
1211
+ "primary": "#401960",
1212
+ "secondary": "#795e90",
1138
1213
  "success": "#5ace7d",
1139
1214
  },
1140
1215
  "radii": {
@@ -1158,8 +1233,8 @@ exports[`theme returns correct theme object 1`] = `
1158
1233
  "disabled": "#bfc1c5",
1159
1234
  "info": "#355bfb",
1160
1235
  "inverted": "#ffffff",
1161
- "primary": "#7622d7",
1162
- "secondary": "#460078",
1236
+ "primary": "#401960",
1237
+ "secondary": "#795e90",
1163
1238
  "subdued": "#4d6265",
1164
1239
  "success": "#5ace7d",
1165
1240
  "warning": "#ffbe71",
@@ -1332,15 +1407,15 @@ exports[`theme returns correct theme object 1`] = `
1332
1407
  "archived": "#abacaf",
1333
1408
  "archivedSurface": "#dadbde",
1334
1409
  "darkGlobalSurface": "#001f23",
1335
- "decorativePrimary": "#FDFBFF",
1336
- "decorativePrimarySurface": "#B382FD",
1410
+ "decorativePrimary": "#ffffff",
1411
+ "decorativePrimarySurface": "#ccd2d3",
1337
1412
  "defaultGlobalSurface": "#ffffff",
1338
- "defaultSurface": "#FDFBFF",
1413
+ "defaultSurface": "#f6f6f7",
1339
1414
  "disabledOnDefaultGlobalSurface": "#bfc1c5",
1340
1415
  "disabledOutline": "#bfc1c5",
1341
1416
  "error": "#f46363",
1342
1417
  "errorSurface": "#fcebe7",
1343
- "highlightedSurface": "#F1E9FB",
1418
+ "highlightedSurface": "#ece8ef",
1344
1419
  "inactiveOnDefaultGlobalSurface": "#808f91",
1345
1420
  "inactiveOutline": "#808f91",
1346
1421
  "info": "#b5c3fd",
@@ -1357,15 +1432,15 @@ exports[`theme returns correct theme object 1`] = `
1357
1432
  "onDefaultGlobalSurface": "#001f23",
1358
1433
  "onErrorSurface": "#cb300a",
1359
1434
  "onInfoSurface": "#355bfb",
1360
- "onPrimary": "#FDFBFF",
1435
+ "onPrimary": "#ffffff",
1361
1436
  "onSecondary": "#ffffff",
1362
1437
  "onSuccessSurface": "#017d6d",
1363
1438
  "onWarningSurface": "#ac5d00",
1364
1439
  "overlayGlobalSurface": "#000000",
1365
- "pressedSurface": "#380060",
1366
- "primary": "#7622d7",
1440
+ "pressedSurface": "#33144d",
1441
+ "primary": "#401960",
1367
1442
  "primaryOutline": "#001f23",
1368
- "secondary": "#460078",
1443
+ "secondary": "#795e90",
1369
1444
  "secondaryOutline": "#e8e9ea",
1370
1445
  "success": "#5ace7d",
1371
1446
  "successSurface": "#f0fef4",
@@ -2,11 +2,20 @@ import type { GlobalTheme } from '../global';
2
2
 
3
3
  const getAlertTheme = (theme: GlobalTheme) => {
4
4
  const colors = {
5
- success: theme.colors.success,
6
- warning: theme.colors.warning,
7
- error: theme.colors.error,
8
- info: theme.colors.info,
9
- notification: theme.colors.defaultGlobalSurface,
5
+ backgrounds: {
6
+ success: theme.colors.successSurface,
7
+ warning: theme.colors.warningSurface,
8
+ error: theme.colors.errorSurface,
9
+ info: theme.colors.infoSurface,
10
+ notification: theme.colors.defaultGlobalSurface,
11
+ },
12
+ texts: {
13
+ success: theme.colors.onSuccessSurface,
14
+ warning: theme.colors.onWarningSurface,
15
+ error: theme.colors.onErrorSurface,
16
+ info: theme.colors.onInfoSurface,
17
+ notification: theme.colors.onDefaultGlobalSurface,
18
+ },
10
19
  divider: theme.colors.secondaryOutline,
11
20
  };
12
21
 
@@ -12,26 +12,40 @@ const getBadgeTheme = (theme: GlobalTheme) => {
12
12
  };
13
13
 
14
14
  const fonts = {
15
- default: theme.fonts.neutral.semiBold,
15
+ medium: theme.fonts.neutral.regular,
16
+ small: theme.fonts.neutral.semiBold,
16
17
  };
17
18
 
18
19
  const fontSizes = {
19
- default: theme.fontSizes.small,
20
+ medium: theme.fontSizes.small,
21
+ small: 8,
20
22
  };
21
23
 
22
24
  const lineHeights = {
23
- default: theme.lineHeights.small,
25
+ medium: theme.lineHeights.small,
26
+ small: 10,
24
27
  };
25
28
 
26
29
  const sizes = {
27
- height: theme.fontSizes.small + theme.sizes.small,
28
- minWidth: theme.fontSizes.small + theme.sizes.small,
30
+ medium: {
31
+ height: theme.sizes.large,
32
+ minWidth: theme.sizes.large,
33
+ },
34
+ small: {
35
+ height: theme.sizes.medium,
36
+ minWidth: theme.sizes.medium,
37
+ },
29
38
  statusHeight: theme.sizes.small,
30
39
  statusWidth: theme.sizes.small,
31
40
  };
32
41
 
33
42
  const space = {
34
- horizontalPadding: theme.space.small,
43
+ medium: {
44
+ horizontalPadding: theme.space.small,
45
+ },
46
+ small: {
47
+ horizontalPadding: theme.space.xsmall,
48
+ },
35
49
  statusPositionTop: -theme.space.xxsmall,
36
50
  statusPositionRight: -theme.space.xxsmall,
37
51
  };
@@ -39,19 +53,5 @@ const getBadgeTheme = (theme: GlobalTheme) => {
39
53
  return { colors, fonts, fontSizes, sizes, space, lineHeights };
40
54
  };
41
55
 
42
- type GetBadgeThemeReturnType = ReturnType<typeof getBadgeTheme>;
43
- export interface BadgeThemeType extends GetBadgeThemeReturnType {
44
- /**
45
- * @deprecated will be removed in v9
46
- * */
47
- fonts: GetBadgeThemeReturnType['fonts'];
48
- /**
49
- * @deprecated will be removed in v9
50
- * */
51
- fontSizes: GetBadgeThemeReturnType['fontSizes'];
52
- /**
53
- * @deprecated will be removed in v9
54
- * */
55
- lineHeights: GetBadgeThemeReturnType['lineHeights'];
56
- }
56
+ export type BadgeThemeType = ReturnType<typeof getBadgeTheme>;
57
57
  export default getBadgeTheme;
@@ -5,10 +5,12 @@ const getBottomSheetTheme = (theme: GlobalTheme) => {
5
5
  shadow: theme.colors.primaryOutline,
6
6
  background: theme.colors.defaultGlobalSurface,
7
7
  backdrop: theme.colors.overlayGlobalSurface,
8
+ floatingHeaderIconBackground: theme.colors.archivedSurface,
8
9
  };
9
10
 
10
11
  const sizes = {
11
12
  closeIcon: theme.sizes.xxxlarge,
13
+ floatingCloseIcon: theme.sizes.smallMedium,
12
14
  };
13
15
 
14
16
  const space = {
@@ -17,6 +19,9 @@ const getBottomSheetTheme = (theme: GlobalTheme) => {
17
19
  closeIconMargin: theme.space.smallMedium,
18
20
  footerVerticalPadding: theme.space.xxsmall,
19
21
  footerHorizontalPadding: theme.space.smallMedium,
22
+ floatingContentMargin: theme.space.medium,
23
+ floatingInnerPadding: theme.space.small,
24
+ floatingHeaderIconPadding: theme.space.small,
20
25
  };
21
26
 
22
27
  const shadows = {
@@ -28,6 +33,8 @@ const getBottomSheetTheme = (theme: GlobalTheme) => {
28
33
 
29
34
  const radii = {
30
35
  default: theme.radii.xlarge,
36
+ floating: theme.radii['5xlarge'],
37
+ floatingHeaderIcon: theme.radii.rounded,
31
38
  };
32
39
 
33
40
  return { colors, shadows, radii, sizes, space };
@@ -37,19 +37,29 @@ const getProgressTheme = (theme: GlobalTheme) => {
37
37
  infoInverted: theme.colors.mutedInfo,
38
38
  archivedInverted: theme.colors.mutedArchived,
39
39
  },
40
+ step: {
41
+ complete: theme.colors.primary,
42
+ incomplete: theme.colors.archivedSurface,
43
+ current: '#DACCE4',
44
+ },
40
45
  };
41
46
 
42
47
  const sizes = {
43
48
  circleDiameter: theme.sizes['6xlarge'],
44
49
  circleCompletenessHeight: theme.sizes.small,
45
50
  barHeight: theme.sizes.small,
51
+ stepHeight: theme.sizes.small,
46
52
  };
47
53
 
48
54
  const radii = {
49
55
  default: theme.radii.rounded,
50
56
  };
51
57
 
52
- return { colors, sizes, radii };
58
+ const space = {
59
+ stepGap: theme.space.xsmall,
60
+ };
61
+
62
+ return { colors, sizes, radii, space };
53
63
  };
54
64
 
55
65
  export default getProgressTheme;