@hero-design/rn 8.83.0-test.0 → 8.83.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 (347) hide show
  1. package/.turbo/turbo-build.log +3 -4
  2. package/CHANGELOG.md +16 -2
  3. package/es/index.js +431 -38
  4. package/eslint.config.js +2 -4
  5. package/lib/index.js +429 -35
  6. package/package.json +6 -6
  7. package/src/components/AppCue/StyledAppCue.tsx +46 -0
  8. package/src/components/AppCue/__tests__/StyledAppCue.tsx +18 -0
  9. package/src/components/AppCue/__tests__/__snapshots__/StyledAppCue.tsx.snap +200 -0
  10. package/src/components/AppCue/__tests__/__snapshots__/index.spec.tsx.snap +391 -0
  11. package/src/components/AppCue/__tests__/index.spec.tsx +61 -0
  12. package/src/components/AppCue/__tests__/utils.spec.ts +90 -0
  13. package/src/components/AppCue/index.tsx +188 -0
  14. package/src/components/AppCue/utils.ts +122 -0
  15. package/src/components/Chip/StyledChip.tsx +9 -9
  16. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +434 -0
  17. package/src/components/Chip/__tests__/index.spec.tsx +4 -0
  18. package/src/components/Chip/index.tsx +32 -5
  19. package/src/components/Slider/{Range.tsx → RangeSlider.tsx} +29 -19
  20. package/src/components/Slider/StyledRangeSlider.tsx +16 -0
  21. package/src/components/Slider/__tests__/{Range.spec.tsx → RangeSlider.spec.tsx} +23 -9
  22. package/src/components/Slider/__tests__/{Single.spec.tsx → SingleSlider.spec.tsx} +1 -1
  23. package/src/components/Slider/__tests__/__snapshots__/{Range.spec.tsx.snap → RangeSlider.spec.tsx.snap} +110 -26
  24. package/src/components/Slider/index.tsx +3 -3
  25. package/src/components/Tabs/StyledScrollableTabs.tsx +2 -1
  26. package/src/components/Tabs/StyledTabs.tsx +1 -0
  27. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
  28. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +2 -0
  29. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  30. package/src/index.ts +2 -0
  31. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +39 -0
  32. package/src/theme/components/appCue.ts +22 -0
  33. package/src/theme/components/slider.ts +8 -1
  34. package/src/theme/components/tabs.ts +1 -0
  35. package/src/theme/getTheme.ts +3 -0
  36. package/src/types.ts +1 -1
  37. package/stats/8.83.0/rn-stats.html +4844 -0
  38. package/types/components/Accordion/AccordionItem.d.ts +1 -1
  39. package/types/components/Accordion/StyledAccordion.d.ts +11 -11
  40. package/types/components/Accordion/index.d.ts +1 -1
  41. package/types/components/Alert/StyledAlert.d.ts +16 -16
  42. package/types/components/Alert/index.d.ts +1 -1
  43. package/types/components/AppCue/StyledAppCue.d.ts +20 -0
  44. package/types/components/AppCue/__tests__/StyledAppCue.d.ts +1 -0
  45. package/types/components/AppCue/index.d.ts +21 -0
  46. package/types/components/AppCue/utils.d.ts +63 -0
  47. package/types/components/Attachment/StyledAttachment.d.ts +8 -8
  48. package/types/components/Attachment/index.d.ts +0 -0
  49. package/types/components/Avatar/Avatar.d.ts +0 -0
  50. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
  51. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  52. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  53. package/types/components/Avatar/StyledAvatar.d.ts +10 -10
  54. package/types/components/Avatar/index.d.ts +0 -0
  55. package/types/components/Badge/Status.d.ts +0 -0
  56. package/types/components/Badge/StyledBadge.d.ts +12 -12
  57. package/types/components/Badge/index.d.ts +1 -1
  58. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
  59. package/types/components/BottomNavigation/index.d.ts +1 -1
  60. package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
  61. package/types/components/BottomSheet/Footer.d.ts +0 -0
  62. package/types/components/BottomSheet/Header.d.ts +2 -2
  63. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  64. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  65. package/types/components/BottomSheet/index.d.ts +0 -0
  66. package/types/components/Box/StyledBox.d.ts +2 -2
  67. package/types/components/Box/config.d.ts +2 -2
  68. package/types/components/Box/index.d.ts +0 -0
  69. package/types/components/Box/types.d.ts +3 -3
  70. package/types/components/Button/Button.d.ts +1 -1
  71. package/types/components/Button/IconButton.d.ts +0 -0
  72. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
  73. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  74. package/types/components/Button/StyledButton.d.ts +22 -22
  75. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
  76. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  77. package/types/components/Button/index.d.ts +0 -0
  78. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  79. package/types/components/Calendar/StyledCalendar.d.ts +22 -22
  80. package/types/components/Calendar/helpers.d.ts +0 -0
  81. package/types/components/Calendar/index.d.ts +0 -0
  82. package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
  83. package/types/components/Card/DataCard/index.d.ts +0 -0
  84. package/types/components/Card/StyledCard.d.ts +4 -4
  85. package/types/components/Card/index.d.ts +0 -0
  86. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  87. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  88. package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
  89. package/types/components/Carousel/StyledCarousel.d.ts +21 -21
  90. package/types/components/Carousel/contants.d.ts +0 -0
  91. package/types/components/Carousel/index.d.ts +0 -0
  92. package/types/components/Carousel/types.d.ts +2 -2
  93. package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
  94. package/types/components/Checkbox/index.d.ts +1 -1
  95. package/types/components/Chip/StyledChip.d.ts +6 -6
  96. package/types/components/Chip/index.d.ts +2 -2
  97. package/types/components/Collapse/StyledCollapse.d.ts +6 -6
  98. package/types/components/Collapse/index.d.ts +0 -0
  99. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
  100. package/types/components/ContentNavigator/index.d.ts +0 -0
  101. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  102. package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
  103. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  104. package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
  105. package/types/components/DatePicker/index.d.ts +0 -0
  106. package/types/components/DatePicker/types.d.ts +0 -0
  107. package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
  108. package/types/components/Divider/StyledDivider.d.ts +5 -5
  109. package/types/components/Divider/index.d.ts +0 -0
  110. package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
  111. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  112. package/types/components/Drawer/StyledDrawer.d.ts +15 -15
  113. package/types/components/Drawer/index.d.ts +0 -0
  114. package/types/components/Empty/StyledEmpty.d.ts +7 -7
  115. package/types/components/Empty/index.d.ts +0 -0
  116. package/types/components/Error/StyledError.d.ts +21 -21
  117. package/types/components/Error/index.d.ts +0 -0
  118. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  119. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
  120. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
  121. package/types/components/FAB/ActionGroup/index.d.ts +1 -1
  122. package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
  123. package/types/components/FAB/FAB.d.ts +1 -1
  124. package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
  125. package/types/components/FAB/Pair/index.d.ts +1 -1
  126. package/types/components/FAB/StyledFAB.d.ts +9 -9
  127. package/types/components/FAB/index.d.ts +0 -0
  128. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
  129. package/types/components/Icon/AnimatedIcon.d.ts +1 -1
  130. package/types/components/Icon/HeroIcon/index.d.ts +4 -4
  131. package/types/components/Icon/IconList.d.ts +0 -0
  132. package/types/components/Icon/index.d.ts +1 -1
  133. package/types/components/Icon/utils.d.ts +2 -1
  134. package/types/components/Image/index.d.ts +0 -0
  135. package/types/components/List/BasicListItem.d.ts +0 -0
  136. package/types/components/List/ListItem.d.ts +0 -0
  137. package/types/components/List/StyledBasicListItem.d.ts +10 -10
  138. package/types/components/List/StyledListItem.d.ts +18 -18
  139. package/types/components/List/index.d.ts +0 -0
  140. package/types/components/MapPin/StyledMapPin.d.ts +11 -11
  141. package/types/components/MapPin/types.d.ts +1 -1
  142. package/types/components/PageControl/StyledPageControl.d.ts +4 -4
  143. package/types/components/PageControl/index.d.ts +0 -0
  144. package/types/components/PinInput/PinCell.d.ts +0 -0
  145. package/types/components/PinInput/StyledPinInput.d.ts +21 -21
  146. package/types/components/PinInput/index.d.ts +0 -0
  147. package/types/components/Portal/reducer.d.ts +1 -1
  148. package/types/components/Portal/types.d.ts +1 -1
  149. package/types/components/Progress/ProgressBar.d.ts +0 -0
  150. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  151. package/types/components/Progress/ProgressStep.d.ts +1 -1
  152. package/types/components/Progress/StyledProgressBar.d.ts +4 -4
  153. package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
  154. package/types/components/Progress/StyledStep.d.ts +10 -10
  155. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  156. package/types/components/Progress/constants.d.ts +0 -0
  157. package/types/components/Progress/index.d.ts +0 -0
  158. package/types/components/Progress/types.d.ts +1 -1
  159. package/types/components/Radio/Radio.d.ts +0 -0
  160. package/types/components/Radio/RadioGroup.d.ts +0 -0
  161. package/types/components/Radio/StyledRadio.d.ts +9 -9
  162. package/types/components/Radio/index.d.ts +1 -1
  163. package/types/components/Radio/types.d.ts +1 -1
  164. package/types/components/Rate/StyledRate.d.ts +4 -4
  165. package/types/components/RefreshControl/index.d.ts +1 -1
  166. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -1
  167. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  168. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  169. package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  170. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
  171. package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
  172. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  173. package/types/components/RichTextEditor/constants.d.ts +0 -0
  174. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  175. package/types/components/RichTextEditor/index.d.ts +0 -0
  176. package/types/components/RichTextEditor/types.d.ts +1 -1
  177. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  178. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  179. package/types/components/Search/SearchOneLine.d.ts +5 -5
  180. package/types/components/Search/StyledSearch.d.ts +18 -18
  181. package/types/components/Search/index.d.ts +1 -1
  182. package/types/components/Search/utils.d.ts +2 -2
  183. package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
  184. package/types/components/SectionHeading/index.d.ts +0 -0
  185. package/types/components/Select/BaseOptionList.d.ts +1 -1
  186. package/types/components/Select/Footer.d.ts +0 -0
  187. package/types/components/Select/MultiSelect/Option.d.ts +2 -2
  188. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  189. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  190. package/types/components/Select/SingleSelect/Option.d.ts +2 -2
  191. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  192. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  193. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  194. package/types/components/Select/StyledSelect.d.ts +6 -6
  195. package/types/components/Select/helpers.d.ts +2 -2
  196. package/types/components/Select/index.d.ts +0 -0
  197. package/types/components/Select/types.d.ts +6 -6
  198. package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
  199. package/types/components/Skeleton/index.d.ts +0 -0
  200. package/types/components/Slider/{Range.d.ts → RangeSlider.d.ts} +1 -1
  201. package/types/components/Slider/StyledRangeSlider.d.ts +10 -0
  202. package/types/components/Slider/index.d.ts +2 -2
  203. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
  204. package/types/components/Spinner/StyledSpinner.d.ts +13 -13
  205. package/types/components/Spinner/index.d.ts +0 -0
  206. package/types/components/Success/StyledSuccess.d.ts +19 -19
  207. package/types/components/Success/index.d.ts +0 -0
  208. package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
  209. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  210. package/types/components/Swipeable/index.d.ts +2 -2
  211. package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -5
  212. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
  213. package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
  214. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  215. package/types/components/Switch/index.d.ts +3 -3
  216. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  217. package/types/components/Tabs/SceneView.d.ts +3 -3
  218. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  219. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
  220. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
  221. package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
  222. package/types/components/Tabs/StyledTabs.d.ts +14 -14
  223. package/types/components/Tabs/TabWithBadge.d.ts +3 -3
  224. package/types/components/Tabs/index.d.ts +2 -2
  225. package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
  226. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  227. package/types/components/Tabs/utils.d.ts +0 -0
  228. package/types/components/Tag/StyledTag.d.ts +5 -5
  229. package/types/components/Tag/index.d.ts +0 -0
  230. package/types/components/TextInput/StyledTextInput.d.ts +28 -28
  231. package/types/components/TextInput/index.d.ts +16 -16
  232. package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
  233. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  234. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  235. package/types/components/TimePicker/index.d.ts +0 -0
  236. package/types/components/TimePicker/types.d.ts +0 -0
  237. package/types/components/Toast/StyledToast.d.ts +18 -18
  238. package/types/components/Toast/Toast.d.ts +0 -0
  239. package/types/components/Toast/ToastContainer.d.ts +0 -0
  240. package/types/components/Toast/ToastContext.d.ts +2 -2
  241. package/types/components/Toast/ToastProvider.d.ts +1 -1
  242. package/types/components/Toast/index.d.ts +0 -0
  243. package/types/components/Toast/types.d.ts +2 -2
  244. package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
  245. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  246. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  247. package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
  248. package/types/components/Toolbar/index.d.ts +0 -0
  249. package/types/components/Typography/Body/StyledBody.d.ts +4 -4
  250. package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
  251. package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
  252. package/types/components/Typography/Text/StyledText.d.ts +6 -6
  253. package/types/components/Typography/Text/index.d.ts +0 -0
  254. package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
  255. package/types/components/Typography/index.d.ts +0 -0
  256. package/types/components/Typography/types.d.ts +1 -1
  257. package/types/index.d.ts +2 -1
  258. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  259. package/types/testHelpers/utils.d.ts +1 -1
  260. package/types/theme/ThemeProvider.d.ts +0 -0
  261. package/types/theme/ThemeSwitcher.d.ts +3 -3
  262. package/types/theme/components/accordion.d.ts +0 -0
  263. package/types/theme/components/alert.d.ts +0 -0
  264. package/types/theme/components/appCue.d.ts +16 -0
  265. package/types/theme/components/attachment.d.ts +0 -0
  266. package/types/theme/components/avatar.d.ts +0 -0
  267. package/types/theme/components/badge.d.ts +1 -1
  268. package/types/theme/components/bottomNavigation.d.ts +0 -0
  269. package/types/theme/components/bottomSheet.d.ts +0 -0
  270. package/types/theme/components/button.d.ts +1 -1
  271. package/types/theme/components/calendar.d.ts +0 -0
  272. package/types/theme/components/card.d.ts +0 -0
  273. package/types/theme/components/cardCarousel.d.ts +0 -0
  274. package/types/theme/components/carousel.d.ts +1 -1
  275. package/types/theme/components/checkbox.d.ts +0 -0
  276. package/types/theme/components/contentNavigator.d.ts +0 -0
  277. package/types/theme/components/datePicker.d.ts +0 -0
  278. package/types/theme/components/divider.d.ts +0 -0
  279. package/types/theme/components/drawer.d.ts +0 -0
  280. package/types/theme/components/empty.d.ts +1 -1
  281. package/types/theme/components/error.d.ts +1 -1
  282. package/types/theme/components/fab.d.ts +1 -1
  283. package/types/theme/components/icon.d.ts +0 -0
  284. package/types/theme/components/image.d.ts +0 -0
  285. package/types/theme/components/list.d.ts +0 -0
  286. package/types/theme/components/pageControl.d.ts +0 -0
  287. package/types/theme/components/pinInput.d.ts +1 -1
  288. package/types/theme/components/progress.d.ts +0 -0
  289. package/types/theme/components/radio.d.ts +0 -0
  290. package/types/theme/components/refreshControl.d.ts +0 -0
  291. package/types/theme/components/richTextEditor.d.ts +0 -0
  292. package/types/theme/components/sectionHeading.d.ts +0 -0
  293. package/types/theme/components/select.d.ts +0 -0
  294. package/types/theme/components/skeleton.d.ts +0 -0
  295. package/types/theme/components/slider.d.ts +6 -0
  296. package/types/theme/components/spinner.d.ts +0 -0
  297. package/types/theme/components/success.d.ts +1 -1
  298. package/types/theme/components/swipeable.d.ts +0 -0
  299. package/types/theme/components/switch.d.ts +0 -0
  300. package/types/theme/components/tabs.d.ts +1 -0
  301. package/types/theme/components/tag.d.ts +1 -1
  302. package/types/theme/components/textInput.d.ts +0 -0
  303. package/types/theme/components/timePicker.d.ts +0 -0
  304. package/types/theme/components/toast.d.ts +0 -0
  305. package/types/theme/components/toolbar.d.ts +0 -0
  306. package/types/theme/components/typography.d.ts +0 -0
  307. package/types/theme/getTheme.d.ts +3 -1
  308. package/types/theme/global/borders.d.ts +0 -0
  309. package/types/theme/global/colors/eBens.d.ts +0 -0
  310. package/types/theme/global/colors/global.d.ts +0 -0
  311. package/types/theme/global/colors/globalDark.d.ts +0 -0
  312. package/types/theme/global/colors/jobs.d.ts +0 -0
  313. package/types/theme/global/colors/swag.d.ts +0 -0
  314. package/types/theme/global/colors/swagDark.d.ts +0 -0
  315. package/types/theme/global/colors/types.d.ts +3 -3
  316. package/types/theme/global/colors/wallet.d.ts +0 -0
  317. package/types/theme/global/colors/work.d.ts +0 -0
  318. package/types/theme/global/index.d.ts +4 -4
  319. package/types/theme/global/scale.d.ts +1 -1
  320. package/types/theme/global/shadows.d.ts +1 -1
  321. package/types/theme/global/sizes.d.ts +0 -0
  322. package/types/theme/global/space.d.ts +0 -0
  323. package/types/theme/global/typography.d.ts +1 -1
  324. package/types/theme/index.d.ts +0 -0
  325. package/types/types.d.ts +1 -1
  326. package/types/utils/functions.d.ts +0 -0
  327. package/types/utils/helpers.d.ts +0 -0
  328. package/types/utils/hooks.d.ts +0 -0
  329. package/types/utils/scale.d.ts +0 -0
  330. package/.turbo/turbo-build$colon$types.log +0 -0
  331. package/.turbo/turbo-lint.log +0 -183
  332. package/.turbo/turbo-publish:npm.log +0 -9
  333. package/.turbo/turbo-test.log +0 -4726
  334. package/.turbo/turbo-type-check.log +0 -0
  335. package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +0 -31
  336. package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +0 -60
  337. package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +0 -40
  338. package/types/components/CompoundSearch/index.d.ts +0 -8
  339. package/types/components/CompoundSearch/utils.d.ts +0 -8
  340. package/types/components/HeroDesignProvider/HeroDesignContext.d.ts +0 -5
  341. package/types/components/Search/SearchBasic.d.ts +0 -31
  342. package/types/components/Search/SearchCompound.d.ts +0 -60
  343. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
  344. package/types/theme/components/compoundSearch.d.ts +0 -36
  345. /package/src/components/Slider/{Single.tsx → SingleSlider.tsx} +0 -0
  346. /package/src/components/Slider/__tests__/__snapshots__/{Single.spec.tsx.snap → SingleSlider.spec.tsx.snap} +0 -0
  347. /package/types/components/Slider/{Single.d.ts → SingleSlider.d.ts} +0 -0
@@ -18,21 +18,9 @@ exports[`Slider.Range renders correctly by default 1`] = `
18
18
  >
19
19
  <MultiSlider
20
20
  allowOverlap={false}
21
+ customMarker={[Function]}
21
22
  enabledOne={true}
22
23
  enabledTwo={true}
23
- markerStyle={
24
- {
25
- "backgroundColor": "#401960",
26
- "elevation": 3,
27
- "shadowColor": "#001f23",
28
- "shadowOffset": {
29
- "height": 2,
30
- "width": 0,
31
- },
32
- "shadowOpacity": 0.12,
33
- "shadowRadius": 4,
34
- }
35
- }
36
24
  max={20}
37
25
  min={-10}
38
26
  onValuesChange={[Function]}
@@ -102,21 +90,9 @@ exports[`Slider.Range renders correctly when disabled is $disabled 1`] = `
102
90
  >
103
91
  <MultiSlider
104
92
  allowOverlap={false}
93
+ customMarker={[Function]}
105
94
  enabledOne={false}
106
95
  enabledTwo={false}
107
- markerStyle={
108
- {
109
- "backgroundColor": "#bfc1c5",
110
- "elevation": 3,
111
- "shadowColor": "#001f23",
112
- "shadowOffset": {
113
- "height": 2,
114
- "width": 0,
115
- },
116
- "shadowOpacity": 0.12,
117
- "shadowRadius": 4,
118
- }
119
- }
120
96
  max={10}
121
97
  min={-10}
122
98
  onValuesChange={[Function]}
@@ -166,3 +142,111 @@ exports[`Slider.Range renders correctly when disabled is $disabled 1`] = `
166
142
  />
167
143
  </View>
168
144
  `;
145
+
146
+ exports[`StyledMarker renders correctly when disabled is false 1`] = `
147
+ <View
148
+ style={
149
+ {
150
+ "flex": 1,
151
+ }
152
+ }
153
+ >
154
+ <View
155
+ style={
156
+ [
157
+ {
158
+ "backgroundColor": "#401960",
159
+ "borderRadius": 999,
160
+ "elevation": 3,
161
+ "height": 24,
162
+ "shadowColor": "#001f23",
163
+ "shadowOffset": {
164
+ "height": 2,
165
+ "width": 0,
166
+ },
167
+ "shadowOpacity": 0.12,
168
+ "shadowRadius": 4,
169
+ "width": 24,
170
+ },
171
+ undefined,
172
+ ]
173
+ }
174
+ testID="marker"
175
+ themeDisabled={false}
176
+ />
177
+ <View
178
+ pointerEvents="box-none"
179
+ position="bottom"
180
+ style={
181
+ [
182
+ {
183
+ "bottom": 0,
184
+ "elevation": 9999,
185
+ "flexDirection": "column-reverse",
186
+ "left": 0,
187
+ "paddingHorizontal": 24,
188
+ "paddingVertical": 16,
189
+ "position": "absolute",
190
+ "right": 0,
191
+ "top": 0,
192
+ },
193
+ undefined,
194
+ ]
195
+ }
196
+ />
197
+ </View>
198
+ `;
199
+
200
+ exports[`StyledMarker renders correctly when disabled is true 1`] = `
201
+ <View
202
+ style={
203
+ {
204
+ "flex": 1,
205
+ }
206
+ }
207
+ >
208
+ <View
209
+ style={
210
+ [
211
+ {
212
+ "backgroundColor": "#bfc1c5",
213
+ "borderRadius": 999,
214
+ "elevation": 3,
215
+ "height": 24,
216
+ "shadowColor": "#001f23",
217
+ "shadowOffset": {
218
+ "height": 2,
219
+ "width": 0,
220
+ },
221
+ "shadowOpacity": 0.12,
222
+ "shadowRadius": 4,
223
+ "width": 24,
224
+ },
225
+ undefined,
226
+ ]
227
+ }
228
+ testID="marker"
229
+ themeDisabled={true}
230
+ />
231
+ <View
232
+ pointerEvents="box-none"
233
+ position="bottom"
234
+ style={
235
+ [
236
+ {
237
+ "bottom": 0,
238
+ "elevation": 9999,
239
+ "flexDirection": "column-reverse",
240
+ "left": 0,
241
+ "paddingHorizontal": 24,
242
+ "paddingVertical": 16,
243
+ "position": "absolute",
244
+ "right": 0,
245
+ "top": 0,
246
+ },
247
+ undefined,
248
+ ]
249
+ }
250
+ />
251
+ </View>
252
+ `;
@@ -1,7 +1,7 @@
1
1
  import type { FunctionComponent } from 'react';
2
- import Single from './Single';
3
- import type { SingleSliderProps } from './Single';
4
- import Range from './Range';
2
+ import Single from './SingleSlider';
3
+ import type { SingleSliderProps } from './SingleSlider';
4
+ import Range from './RangeSlider';
5
5
 
6
6
  interface SliderProps extends FunctionComponent<SingleSliderProps> {
7
7
  Range: typeof Range;
@@ -12,8 +12,9 @@ const TabContainer = styled(View)({
12
12
 
13
13
  const HeaderTabWrapper = styled(View)<{
14
14
  themeInsets: { top: number; right: number; bottom: number; left: number };
15
- }>(({ themeInsets }) => ({
15
+ }>(({ themeInsets, theme }) => ({
16
16
  paddingHorizontal: Math.max(themeInsets.left, themeInsets.right),
17
+ backgroundColor: theme.__hd__.tabs.colors.headerBackground,
17
18
  }));
18
19
 
19
20
  const HeaderTabItem = styled(Animated.View)<{ isFirstItem?: boolean }>(
@@ -12,6 +12,7 @@ const HeaderTabWrapper = styled(View)<{
12
12
  paddingHorizontal: Math.max(themeInsets.left, themeInsets.right),
13
13
  borderBottomColor: theme.__hd__.tabs.colors.headerBottom,
14
14
  borderBottomWidth: theme.__hd__.tabs.borderWidths.headerBottom,
15
+ backgroundColor: theme.__hd__.tabs.colors.headerBackground,
15
16
  }));
16
17
 
17
18
  const HeaderTab = styled(View)({
@@ -128,6 +128,7 @@ exports[`Tabs.Scroll lazy not render lazy screen: xxx 1`] = `
128
128
  style={
129
129
  [
130
130
  {
131
+ "backgroundColor": "#ffffff",
131
132
  "paddingHorizontal": 0,
132
133
  },
133
134
  undefined,
@@ -1057,6 +1058,7 @@ exports[`Tabs.Scroll renders correctly 1`] = `
1057
1058
  style={
1058
1059
  [
1059
1060
  {
1061
+ "backgroundColor": "#ffffff",
1060
1062
  "paddingHorizontal": 0,
1061
1063
  },
1062
1064
  undefined,
@@ -1986,6 +1988,7 @@ exports[`useIsFocused renders correctly 1`] = `
1986
1988
  style={
1987
1989
  [
1988
1990
  {
1991
+ "backgroundColor": "#ffffff",
1989
1992
  "paddingHorizontal": 0,
1990
1993
  },
1991
1994
  undefined,
@@ -23,6 +23,7 @@ exports[`ScrollableTabsHeader highlighted variant renders correctly 1`] = `
23
23
  style={
24
24
  [
25
25
  {
26
+ "backgroundColor": "#ffffff",
26
27
  "paddingHorizontal": 0,
27
28
  },
28
29
  undefined,
@@ -695,6 +696,7 @@ exports[`ScrollableTabsHeader underlined variant renders correctly 1`] = `
695
696
  style={
696
697
  [
697
698
  {
699
+ "backgroundColor": "#ffffff",
698
700
  "paddingHorizontal": 0,
699
701
  },
700
702
  undefined,
@@ -128,6 +128,7 @@ exports[`Tabs renders correctly 1`] = `
128
128
  style={
129
129
  [
130
130
  {
131
+ "backgroundColor": "#ffffff",
131
132
  "borderBottomColor": "#e8e9ea",
132
133
  "borderBottomWidth": 2,
133
134
  "paddingHorizontal": 0,
@@ -801,6 +802,7 @@ exports[`useIsFocused renders correctly 1`] = `
801
802
  style={
802
803
  [
803
804
  {
805
+ "backgroundColor": "#ffffff",
804
806
  "borderBottomColor": "#e8e9ea",
805
807
  "borderBottomWidth": 2,
806
808
  "paddingHorizontal": 0,
@@ -1474,6 +1476,7 @@ exports[`useIsFocused renders correctly: xxxxxx 1`] = `
1474
1476
  style={
1475
1477
  [
1476
1478
  {
1479
+ "backgroundColor": "#ffffff",
1477
1480
  "borderBottomColor": "#e8e9ea",
1478
1481
  "borderBottomWidth": 2,
1479
1482
  "paddingHorizontal": 0,
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@ import { scale } from './utils/scale';
17
17
 
18
18
  import Accordion from './components/Accordion';
19
19
  import Alert from './components/Alert';
20
+ import AppCue from './components/AppCue';
20
21
  import Attachment from './components/Attachment';
21
22
  import Avatar, { useAvatarColors } from './components/Avatar';
22
23
  import Badge from './components/Badge';
@@ -91,6 +92,7 @@ export {
91
92
  eBensSystemPalette,
92
93
  Accordion,
93
94
  Alert,
95
+ AppCue,
94
96
  Attachment,
95
97
  Avatar,
96
98
  useAvatarColors,
@@ -48,6 +48,20 @@ exports[`theme returns correct theme object 1`] = `
48
48
  "textPaddingHorizontal": 12,
49
49
  },
50
50
  },
51
+ "appCue": {
52
+ "colors": {
53
+ "backdropColor": "rgba(0, 0, 0, 0.5)",
54
+ "background": "#001f23",
55
+ },
56
+ "radii": {
57
+ "container": 12,
58
+ },
59
+ "space": {
60
+ "arrowOffset": 12,
61
+ "offset": 8,
62
+ "padding": 16,
63
+ },
64
+ },
51
65
  "attachment": {
52
66
  "colors": {
53
67
  "highlightedBackground": "#ece8ef",
@@ -1008,9 +1022,33 @@ exports[`theme returns correct theme object 1`] = `
1008
1022
  },
1009
1023
  "slider": {
1010
1024
  "colors": {
1025
+ "disabledThumbTint": "#bfc1c5",
1026
+ "disabledTrackBackground": "#f6f6f7",
1011
1027
  "maximumTrackTint": "#ece8ef",
1012
1028
  "minimumTrackTint": "#401960",
1013
1029
  "thumbTint": "#401960",
1030
+ "trackBackground": "#ece8ef",
1031
+ },
1032
+ "radii": {
1033
+ "marker": 999,
1034
+ },
1035
+ "shadows": {
1036
+ "marker": {
1037
+ "elevation": 3,
1038
+ "shadowColor": "#001f23",
1039
+ "shadowOffset": {
1040
+ "height": 2,
1041
+ "width": 0,
1042
+ },
1043
+ "shadowOpacity": 0.12,
1044
+ "shadowRadius": 4,
1045
+ },
1046
+ },
1047
+ "sizes": {
1048
+ "markerBorderRadius": 999,
1049
+ "markerHeight": 24,
1050
+ "markerWidth": 24,
1051
+ "trackHeight": 4,
1014
1052
  },
1015
1053
  },
1016
1054
  "spinner": {
@@ -1125,6 +1163,7 @@ exports[`theme returns correct theme object 1`] = `
1125
1163
  "colors": {
1126
1164
  "active": "#001f23",
1127
1165
  "activeBackground": "#ccd2d3",
1166
+ "headerBackground": "#ffffff",
1128
1167
  "headerBottom": "#e8e9ea",
1129
1168
  "inactive": "#001f23",
1130
1169
  "indicator": "#401960",
@@ -0,0 +1,22 @@
1
+ import type { GlobalTheme } from '../global';
2
+
3
+ const getAppCueTheme = (theme: GlobalTheme) => {
4
+ const colors = {
5
+ background: theme.colors.darkGlobalSurface,
6
+ backdropColor: 'rgba(0, 0, 0, 0.5)',
7
+ };
8
+
9
+ const space = {
10
+ padding: theme.space.medium,
11
+ offset: theme.space.small,
12
+ arrowOffset: theme.space.smallMedium,
13
+ };
14
+
15
+ const radii = {
16
+ container: theme.radii.large,
17
+ };
18
+
19
+ return { colors, space, radii };
20
+ };
21
+
22
+ export default getAppCueTheme;
@@ -16,9 +16,16 @@ const getSliderTheme = (theme: GlobalTheme) => {
16
16
 
17
17
  const sizes = {
18
18
  trackHeight: theme.sizes.xsmall,
19
+ markerWidth: theme.sizes.large,
20
+ markerHeight: theme.sizes.large,
21
+ markerBorderRadius: theme.radii.rounded,
19
22
  };
20
23
 
21
- return { colors, shadows, sizes };
24
+ const radii = {
25
+ marker: theme.radii.rounded,
26
+ };
27
+
28
+ return { colors, shadows, sizes, radii };
22
29
  };
23
30
 
24
31
  export default getSliderTheme;
@@ -8,6 +8,7 @@ const getTabsTheme = (theme: GlobalTheme) => {
8
8
  headerBottom: theme.colors.secondaryOutline,
9
9
  indicator: theme.colors.primary,
10
10
  text: theme.colors.onDefaultGlobalSurface,
11
+ headerBackground: theme.colors.defaultGlobalSurface,
11
12
  };
12
13
 
13
14
  const space = {
@@ -51,11 +51,13 @@ import type { GlobalTheme, Scale, SystemPalette } from './global';
51
51
  import getSearchTheme from './components/search';
52
52
  import getMapPinTheme from './components/mapPin';
53
53
  import getFloatingIslandTheme from './components/floatingIsland';
54
+ import getAppCueTheme from './components/appCue';
54
55
 
55
56
  type Theme = GlobalTheme & {
56
57
  __hd__: {
57
58
  accordion: ReturnType<typeof getAccordionTheme>;
58
59
  alert: ReturnType<typeof getAlertTheme>;
60
+ appCue: ReturnType<typeof getAppCueTheme>;
59
61
  attachment: ReturnType<typeof getAttachmentTheme>;
60
62
  avatar: ReturnType<typeof getAvatarTheme>;
61
63
  badge: BadgeThemeType;
@@ -116,6 +118,7 @@ const getTheme = (
116
118
  __hd__: {
117
119
  accordion: getAccordionTheme(globalTheme),
118
120
  alert: getAlertTheme(globalTheme),
121
+ appCue: getAppCueTheme(globalTheme),
119
122
  attachment: getAttachmentTheme(globalTheme),
120
123
  avatar: getAvatarTheme(globalTheme),
121
124
  badge: getBadgeTheme(globalTheme),
package/src/types.ts CHANGED
@@ -17,7 +17,7 @@ import { TextProps } from './components/Typography/Text';
17
17
  import { CardCarouselHandles } from './components/Carousel/CardCarousel';
18
18
  import { FABHandles } from './components/FAB/FAB';
19
19
  import { ActionGroupHandles } from './components/FAB/ActionGroup';
20
- import type { SliderRangeValue } from './components/Slider/Range';
20
+ import type { SliderRangeValue } from './components/Slider/RangeSlider';
21
21
 
22
22
  export type {
23
23
  BottomNavigationTabType,