@hero-design/rn 8.105.3 → 8.105.4-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (349) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/CHANGELOG.md +16 -0
  3. package/es/index.js +48 -20
  4. package/lib/index.js +48 -20
  5. package/package.json +1 -1
  6. package/src/components/Alert/StyledAlert.tsx +3 -2
  7. package/src/components/AnimatedScroller/AnimatedFAB.tsx +4 -6
  8. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +4 -4
  9. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +4 -3
  10. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +4 -3
  11. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +4 -3
  12. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +4 -4
  13. package/src/components/AppCue/index.tsx +2 -4
  14. package/src/components/AppCue/utils.ts +1 -1
  15. package/src/components/Attachment/index.tsx +4 -3
  16. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +2 -1
  17. package/src/components/Avatar/AvatarStack/index.tsx +4 -3
  18. package/src/components/Avatar/StyledAvatar.tsx +1 -1
  19. package/src/components/Badge/index.tsx +1 -1
  20. package/src/components/Badge/types.ts +2 -2
  21. package/src/components/BottomSheet/ScrollView.tsx +4 -5
  22. package/src/components/BottomSheet/StyledBottomSheet.tsx +1 -2
  23. package/src/components/BottomSheet/index.tsx +4 -7
  24. package/src/components/Box/StyledBox.tsx +4 -3
  25. package/src/components/Box/types.ts +5 -5
  26. package/src/components/Button/Button.tsx +4 -2
  27. package/src/components/Calendar/CalendarRange.tsx +1 -1
  28. package/src/components/Calendar/helpers.ts +1 -1
  29. package/src/components/Calendar/index.tsx +1 -1
  30. package/src/components/Calendar/shared/hooks/useCalendarLayout.ts +1 -1
  31. package/src/components/Carousel/CardCarousel.tsx +2 -4
  32. package/src/components/Carousel/CarouselItem.tsx +1 -1
  33. package/src/components/Carousel/StyledCardCarousel.tsx +6 -3
  34. package/src/components/Carousel/StyledCarousel.tsx +2 -1
  35. package/src/components/Carousel/__tests__/CardCarousel.spec.tsx +4 -2
  36. package/src/components/Carousel/__tests__/index.spec.tsx +2 -2
  37. package/src/components/Carousel/index.tsx +5 -13
  38. package/src/components/Carousel/types.ts +2 -2
  39. package/src/components/Chart/ChartSelect/index.tsx +2 -1
  40. package/src/components/Chart/ColumnChart/ColumnChartContent.tsx +1 -1
  41. package/src/components/Chart/ColumnChart/StackedSegment.tsx +1 -1
  42. package/src/components/Chart/ColumnChart/__tests__/index.spec.tsx +2 -1
  43. package/src/components/Chart/ColumnChart/index.tsx +2 -2
  44. package/src/components/Chart/Line/Line.tsx +1 -1
  45. package/src/components/Chart/Line/__tests__/index.spec.tsx +2 -1
  46. package/src/components/Chart/Line/index.tsx +2 -2
  47. package/src/components/Chart/shared/ChartFrame.tsx +2 -2
  48. package/src/components/Chart/shared/ChartHeader.tsx +2 -2
  49. package/src/components/Chart/shared/EmptyState.tsx +3 -2
  50. package/src/components/Chart/shared/XAxis.tsx +1 -1
  51. package/src/components/Chart/shared/XAxisGrid.tsx +1 -1
  52. package/src/components/Chart/shared/YAxis.tsx +1 -1
  53. package/src/components/Chart/shared/YAxisGrid.tsx +1 -1
  54. package/src/components/Chart/shared/__tests__/ChartFrame.spec.tsx +2 -1
  55. package/src/components/Chart/shared/__tests__/XAXisGrid.spec.tsx +2 -1
  56. package/src/components/Chart/shared/__tests__/XAxis.spec.tsx +2 -1
  57. package/src/components/Chart/shared/__tests__/YAxis.spec.tsx +2 -1
  58. package/src/components/Chart/shared/__tests__/YAxisGrid.spec.tsx +2 -1
  59. package/src/components/Chart/shared/niceNumbers.ts +1 -1
  60. package/src/components/Chip/index.tsx +4 -3
  61. package/src/components/DatePicker/Dialog/AndroidDialog.tsx +3 -4
  62. package/src/components/DatePicker/Dialog/IOSDialog.tsx +3 -4
  63. package/src/components/DatePicker/Dialog/__tests__/AndroidDialog.spec.tsx +2 -1
  64. package/src/components/DatePicker/Dialog/__tests__/IOSDialog.spec.tsx +1 -1
  65. package/src/components/DatePicker/Dialog.tsx +1 -1
  66. package/src/components/DatePicker/hooks/useCalculateDate.tsx +1 -1
  67. package/src/components/DatePicker/hooks/utils.ts +1 -1
  68. package/src/components/DatePicker/index.internal.tsx +2 -2
  69. package/src/components/DatePicker/index.tsx +2 -2
  70. package/src/components/DatePicker/types.ts +1 -1
  71. package/src/components/FAB/ActionGroup/ActionItem.tsx +1 -1
  72. package/src/components/FAB/ActionGroup/__tests__/index.spec.tsx +2 -1
  73. package/src/components/FAB/ActionGroup/index.tsx +1 -1
  74. package/src/components/FAB/FAB.tsx +1 -2
  75. package/src/components/FAB/Pair/__tests__/index.spec.tsx +2 -1
  76. package/src/components/FAB/Pair/index.tsx +2 -2
  77. package/src/components/FAB/StyledFAB.tsx +2 -1
  78. package/src/components/FAB/__tests__/index.spec.tsx +2 -1
  79. package/src/components/FilterTrigger/StyledFilterTrigger.tsx +1 -1
  80. package/src/components/FilterTrigger/__tests__/index.spec.tsx +2 -1
  81. package/src/components/FilterTrigger/index.tsx +1 -1
  82. package/src/components/FloatingIsland/index.tsx +4 -3
  83. package/src/components/HeroDesignProvider/index.tsx +3 -2
  84. package/src/components/List/ListItem.tsx +2 -2
  85. package/src/components/LocaleProvider/context.ts +1 -1
  86. package/src/components/LocaleProvider/index.tsx +1 -1
  87. package/src/components/LocaleProvider/utils.ts +1 -1
  88. package/src/components/MapPin/Focussed.tsx +1 -1
  89. package/src/components/MapPin/index.tsx +2 -2
  90. package/src/components/MapPin/types.ts +2 -2
  91. package/src/components/Modal/index.tsx +1 -1
  92. package/src/components/PageControl/index.tsx +2 -1
  93. package/src/components/PinInput/index.tsx +3 -3
  94. package/src/components/Portal/PortalHost.tsx +1 -1
  95. package/src/components/Portal/contexts.ts +3 -2
  96. package/src/components/Portal/index.tsx +4 -2
  97. package/src/components/Portal/reducer.ts +1 -1
  98. package/src/components/Portal/usePortal.ts +2 -1
  99. package/src/components/Progress/ProgressStep.tsx +1 -1
  100. package/src/components/Radio/Radio.tsx +1 -1
  101. package/src/components/Radio/types.ts +2 -2
  102. package/src/components/Rate/index.tsx +2 -1
  103. package/src/components/RefreshControl/__tests__/index.spec.tsx +2 -1
  104. package/src/components/RefreshControl/index.tsx +2 -4
  105. package/src/components/RichTextEditor/EditorToolbar.tsx +1 -1
  106. package/src/components/RichTextEditor/RichTextEditor.tsx +2 -2
  107. package/src/components/RichTextEditor/utils/events.ts +1 -1
  108. package/src/components/RichTextEditor/utils/rnWebView.ts +1 -1
  109. package/src/components/Search/SearchOneLine.tsx +2 -2
  110. package/src/components/Search/SearchSuffixIcon.tsx +3 -3
  111. package/src/components/Search/SearchTwoLine.tsx +2 -2
  112. package/src/components/Search/StyledSearch.tsx +2 -1
  113. package/src/components/Search/utils.tsx +2 -1
  114. package/src/components/SegmentedControl/SegmentedItem.tsx +3 -2
  115. package/src/components/SegmentedControl/__tests__/index.spec.tsx +2 -1
  116. package/src/components/SegmentedControl/index.tsx +1 -1
  117. package/src/components/Select/BaseOptionList.tsx +2 -1
  118. package/src/components/Select/MultiSelect/OptionList.tsx +2 -1
  119. package/src/components/Select/MultiSelect/index.tsx +2 -1
  120. package/src/components/Select/MultiSelect/utils.ts +1 -1
  121. package/src/components/Select/SingleSelect/OptionList.tsx +3 -6
  122. package/src/components/Select/SingleSelect/index.tsx +2 -1
  123. package/src/components/Select/index.tsx +1 -1
  124. package/src/components/Select/types.ts +1 -1
  125. package/src/components/Skeleton/index.tsx +4 -9
  126. package/src/components/Slider/RangeSlider.tsx +2 -1
  127. package/src/components/Slider/SingleSlider.tsx +1 -1
  128. package/src/components/StatusScreens/Empty/index.tsx +6 -3
  129. package/src/components/StatusScreens/Error/StyledError.tsx +8 -0
  130. package/src/components/StatusScreens/Error/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  131. package/src/components/StatusScreens/Error/index.tsx +9 -12
  132. package/src/components/StatusScreens/StatusIcon/__tests__/index.spec.tsx +2 -1
  133. package/src/components/StatusScreens/StatusIcon/assets/Add.tsx +1 -1
  134. package/src/components/StatusScreens/StatusIcon/assets/Boom.tsx +1 -1
  135. package/src/components/StatusScreens/StatusIcon/assets/Build.tsx +1 -1
  136. package/src/components/StatusScreens/StatusIcon/assets/Clock.tsx +1 -1
  137. package/src/components/StatusScreens/StatusIcon/assets/Confetti.tsx +1 -1
  138. package/src/components/StatusScreens/StatusIcon/assets/Connections.tsx +1 -1
  139. package/src/components/StatusScreens/StatusIcon/assets/Error.tsx +1 -1
  140. package/src/components/StatusScreens/StatusIcon/assets/Info.tsx +1 -1
  141. package/src/components/StatusScreens/StatusIcon/assets/List.tsx +1 -1
  142. package/src/components/StatusScreens/StatusIcon/assets/Location.tsx +1 -1
  143. package/src/components/StatusScreens/StatusIcon/assets/Lock.tsx +1 -1
  144. package/src/components/StatusScreens/StatusIcon/assets/Merge.tsx +1 -1
  145. package/src/components/StatusScreens/StatusIcon/assets/NoResult.tsx +1 -1
  146. package/src/components/StatusScreens/StatusIcon/assets/Notifications.tsx +1 -1
  147. package/src/components/StatusScreens/StatusIcon/assets/Search.tsx +1 -1
  148. package/src/components/StatusScreens/StatusIcon/assets/Star.tsx +1 -1
  149. package/src/components/StatusScreens/StatusIcon/assets/Success.tsx +1 -1
  150. package/src/components/StatusScreens/StatusIcon/assets/Unlock.tsx +1 -1
  151. package/src/components/StatusScreens/StatusIcon/assets/User.tsx +1 -1
  152. package/src/components/StatusScreens/Success/StyledSuccess.tsx +14 -0
  153. package/src/components/StatusScreens/Success/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  154. package/src/components/StatusScreens/Success/index.tsx +13 -8
  155. package/src/components/Swipeable/SwipeableAction.tsx +5 -3
  156. package/src/components/Swipeable/index.tsx +2 -7
  157. package/src/components/Switch/SelectorSwitch/Option.tsx +2 -1
  158. package/src/components/Switch/SelectorSwitch/index.tsx +3 -10
  159. package/src/components/Switch/index.tsx +2 -1
  160. package/src/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.tsx +2 -8
  161. package/src/components/Tabs/TabWithBadge.tsx +2 -1
  162. package/src/components/Tabs/index.tsx +1 -1
  163. package/src/components/Tabs/useHandlePageScroll.tsx +1 -1
  164. package/src/components/Tag/index.tsx +2 -1
  165. package/src/components/TextInput/__tests__/index.spec.tsx +1 -1
  166. package/src/components/TextInput/index.tsx +4 -8
  167. package/src/components/TimePicker/index.internal.tsx +2 -2
  168. package/src/components/TimePicker/index.tsx +1 -1
  169. package/src/components/TimePicker/types.ts +1 -1
  170. package/src/components/Toast/StyledToast.tsx +4 -3
  171. package/src/components/Toolbar/StyledToolbar.tsx +1 -1
  172. package/src/components/Toolbar/ToolbarItem.tsx +1 -1
  173. package/src/components/Toolbar/ToolbarMessage.tsx +2 -2
  174. package/src/components/Toolbar/index.tsx +1 -1
  175. package/src/components/Typography/Caption/StyledCaption.tsx +2 -1
  176. package/src/emotion.d.ts +1 -1
  177. package/src/locales/en_AU.ts +1 -1
  178. package/src/locales/en_CA.ts +1 -1
  179. package/src/theme/ThemeSwitcher.tsx +2 -1
  180. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +6 -3
  181. package/src/theme/components/datePicker.ts +1 -1
  182. package/src/theme/components/error.ts +3 -2
  183. package/src/theme/components/success.ts +3 -1
  184. package/src/theme/components/timePicker.ts +1 -1
  185. package/src/theme/getTheme.ts +19 -10
  186. package/src/theme/global/colors/ehJobs.ts +1 -1
  187. package/src/theme/global/colors/ehWorkDark.ts +1 -1
  188. package/src/theme/global/colors/swagLight.ts +1 -1
  189. package/src/theme/global/colors/swagLightJobs.ts +1 -1
  190. package/src/theme/global/colors/swagSystemPalette.ts +1 -1
  191. package/src/theme/global/shadows/index.ts +1 -1
  192. package/src/types.ts +26 -19
  193. package/types/components/Alert/StyledAlert.d.ts +2 -2
  194. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +3 -3
  195. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +3 -3
  196. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +3 -3
  197. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +3 -3
  198. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +3 -3
  199. package/types/components/AppCue/index.d.ts +2 -2
  200. package/types/components/AppCue/utils.d.ts +1 -1
  201. package/types/components/Attachment/index.d.ts +3 -3
  202. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +1 -1
  203. package/types/components/Avatar/AvatarStack/index.d.ts +4 -3
  204. package/types/components/Avatar/StyledAvatar.d.ts +1 -1
  205. package/types/components/Badge/index.d.ts +1 -1
  206. package/types/components/Badge/types.d.ts +2 -2
  207. package/types/components/BottomSheet/ScrollView.d.ts +2 -1
  208. package/types/components/BottomSheet/StyledBottomSheet.d.ts +2 -2
  209. package/types/components/BottomSheet/index.d.ts +1 -2
  210. package/types/components/Box/StyledBox.d.ts +2 -2
  211. package/types/components/Box/types.d.ts +5 -5
  212. package/types/components/Button/Button.d.ts +1 -1
  213. package/types/components/Calendar/CalendarRange.d.ts +1 -1
  214. package/types/components/Calendar/helpers.d.ts +1 -1
  215. package/types/components/Calendar/index.d.ts +1 -1
  216. package/types/components/Calendar/shared/hooks/useCalendarLayout.d.ts +1 -1
  217. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  218. package/types/components/Carousel/CarouselItem.d.ts +1 -1
  219. package/types/components/Carousel/StyledCardCarousel.d.ts +4 -3
  220. package/types/components/Carousel/StyledCarousel.d.ts +2 -1
  221. package/types/components/Carousel/index.d.ts +4 -3
  222. package/types/components/Carousel/types.d.ts +2 -2
  223. package/types/components/Chart/ChartSelect/index.d.ts +1 -1
  224. package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +1 -1
  225. package/types/components/Chart/ColumnChart/StackedSegment.d.ts +1 -1
  226. package/types/components/Chart/ColumnChart/index.d.ts +2 -2
  227. package/types/components/Chart/Line/Line.d.ts +1 -1
  228. package/types/components/Chart/Line/index.d.ts +2 -2
  229. package/types/components/Chart/shared/ChartFrame.d.ts +1 -1
  230. package/types/components/Chart/shared/ChartHeader.d.ts +2 -2
  231. package/types/components/Chart/shared/EmptyState.d.ts +1 -1
  232. package/types/components/Chart/shared/XAxis.d.ts +1 -1
  233. package/types/components/Chart/shared/XAxisGrid.d.ts +1 -1
  234. package/types/components/Chart/shared/YAxis.d.ts +1 -1
  235. package/types/components/Chart/shared/YAxisGrid.d.ts +1 -1
  236. package/types/components/Chart/shared/niceNumbers.d.ts +1 -1
  237. package/types/components/Chip/index.d.ts +4 -3
  238. package/types/components/DatePicker/Dialog/AndroidDialog.d.ts +1 -1
  239. package/types/components/DatePicker/Dialog/IOSDialog.d.ts +1 -1
  240. package/types/components/DatePicker/Dialog.d.ts +1 -1
  241. package/types/components/DatePicker/hooks/useCalculateDate.d.ts +1 -1
  242. package/types/components/DatePicker/hooks/utils.d.ts +1 -1
  243. package/types/components/DatePicker/index.d.ts +2 -2
  244. package/types/components/DatePicker/index.internal.d.ts +2 -2
  245. package/types/components/DatePicker/types.d.ts +1 -1
  246. package/types/components/FAB/ActionGroup/ActionItem.d.ts +1 -1
  247. package/types/components/FAB/FAB.d.ts +1 -1
  248. package/types/components/FAB/Pair/index.d.ts +2 -2
  249. package/types/components/FAB/StyledFAB.d.ts +2 -1
  250. package/types/components/FilterTrigger/index.d.ts +1 -1
  251. package/types/components/FloatingIsland/index.d.ts +4 -3
  252. package/types/components/HeroDesignProvider/index.d.ts +2 -2
  253. package/types/components/List/ListItem.d.ts +2 -2
  254. package/types/components/LocaleProvider/context.d.ts +1 -1
  255. package/types/components/LocaleProvider/index.d.ts +1 -1
  256. package/types/components/LocaleProvider/utils.d.ts +1 -1
  257. package/types/components/MapPin/Focussed.d.ts +1 -1
  258. package/types/components/MapPin/index.d.ts +1 -1
  259. package/types/components/MapPin/types.d.ts +2 -2
  260. package/types/components/Modal/index.d.ts +2 -1
  261. package/types/components/PageControl/index.d.ts +1 -1
  262. package/types/components/PinInput/index.d.ts +3 -3
  263. package/types/components/Portal/contexts.d.ts +2 -2
  264. package/types/components/Portal/index.d.ts +3 -2
  265. package/types/components/Portal/reducer.d.ts +1 -1
  266. package/types/components/Portal/usePortal.d.ts +1 -1
  267. package/types/components/Progress/ProgressStep.d.ts +1 -1
  268. package/types/components/Radio/Radio.d.ts +1 -1
  269. package/types/components/Radio/types.d.ts +2 -2
  270. package/types/components/Rate/index.d.ts +1 -1
  271. package/types/components/RefreshControl/index.d.ts +1 -1
  272. package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
  273. package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  274. package/types/components/RichTextEditor/utils/events.d.ts +1 -1
  275. package/types/components/RichTextEditor/utils/rnWebView.d.ts +1 -1
  276. package/types/components/Search/SearchOneLine.d.ts +2 -2
  277. package/types/components/Search/SearchSuffixIcon.d.ts +3 -3
  278. package/types/components/Search/SearchTwoLine.d.ts +2 -2
  279. package/types/components/Search/utils.d.ts +1 -1
  280. package/types/components/SegmentedControl/index.d.ts +1 -1
  281. package/types/components/Select/BaseOptionList.d.ts +1 -1
  282. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  283. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  284. package/types/components/Select/MultiSelect/utils.d.ts +1 -1
  285. package/types/components/Select/SingleSelect/OptionList.d.ts +2 -2
  286. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  287. package/types/components/Select/index.d.ts +1 -1
  288. package/types/components/Select/types.d.ts +1 -1
  289. package/types/components/Skeleton/index.d.ts +1 -1
  290. package/types/components/Slider/RangeSlider.d.ts +1 -1
  291. package/types/components/Slider/SingleSlider.d.ts +1 -1
  292. package/types/components/StatusScreens/Empty/index.d.ts +5 -3
  293. package/types/components/StatusScreens/Error/StyledError.d.ts +7 -1
  294. package/types/components/StatusScreens/Error/index.d.ts +5 -4
  295. package/types/components/StatusScreens/StatusIcon/assets/Add.d.ts +1 -1
  296. package/types/components/StatusScreens/StatusIcon/assets/Boom.d.ts +1 -1
  297. package/types/components/StatusScreens/StatusIcon/assets/Build.d.ts +1 -1
  298. package/types/components/StatusScreens/StatusIcon/assets/Clock.d.ts +1 -1
  299. package/types/components/StatusScreens/StatusIcon/assets/Confetti.d.ts +1 -1
  300. package/types/components/StatusScreens/StatusIcon/assets/Connections.d.ts +1 -1
  301. package/types/components/StatusScreens/StatusIcon/assets/Error.d.ts +1 -1
  302. package/types/components/StatusScreens/StatusIcon/assets/Info.d.ts +1 -1
  303. package/types/components/StatusScreens/StatusIcon/assets/List.d.ts +1 -1
  304. package/types/components/StatusScreens/StatusIcon/assets/Location.d.ts +1 -1
  305. package/types/components/StatusScreens/StatusIcon/assets/Lock.d.ts +1 -1
  306. package/types/components/StatusScreens/StatusIcon/assets/Merge.d.ts +1 -1
  307. package/types/components/StatusScreens/StatusIcon/assets/NoResult.d.ts +1 -1
  308. package/types/components/StatusScreens/StatusIcon/assets/Notifications.d.ts +1 -1
  309. package/types/components/StatusScreens/StatusIcon/assets/Search.d.ts +1 -1
  310. package/types/components/StatusScreens/StatusIcon/assets/Star.d.ts +1 -1
  311. package/types/components/StatusScreens/StatusIcon/assets/Success.d.ts +1 -1
  312. package/types/components/StatusScreens/StatusIcon/assets/Unlock.d.ts +1 -1
  313. package/types/components/StatusScreens/StatusIcon/assets/User.d.ts +1 -1
  314. package/types/components/StatusScreens/Success/StyledSuccess.d.ts +11 -1
  315. package/types/components/StatusScreens/Success/index.d.ts +6 -5
  316. package/types/components/Swipeable/SwipeableAction.d.ts +4 -3
  317. package/types/components/Swipeable/index.d.ts +2 -1
  318. package/types/components/Switch/SelectorSwitch/Option.d.ts +1 -1
  319. package/types/components/Switch/SelectorSwitch/index.d.ts +2 -2
  320. package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +1 -1
  321. package/types/components/Tabs/TabWithBadge.d.ts +2 -1
  322. package/types/components/Tabs/index.d.ts +1 -1
  323. package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
  324. package/types/components/Tag/index.d.ts +1 -1
  325. package/types/components/TextInput/index.d.ts +2 -3
  326. package/types/components/TimePicker/index.d.ts +1 -1
  327. package/types/components/TimePicker/index.internal.d.ts +2 -2
  328. package/types/components/TimePicker/types.d.ts +1 -1
  329. package/types/components/Toast/StyledToast.d.ts +3 -3
  330. package/types/components/Toolbar/StyledToolbar.d.ts +1 -1
  331. package/types/components/Toolbar/ToolbarItem.d.ts +1 -1
  332. package/types/components/Toolbar/ToolbarMessage.d.ts +2 -3
  333. package/types/components/Toolbar/index.d.ts +1 -1
  334. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
  335. package/types/locales/en_AU.d.ts +1 -1
  336. package/types/locales/en_CA.d.ts +1 -1
  337. package/types/theme/ThemeSwitcher.d.ts +2 -1
  338. package/types/theme/components/datePicker.d.ts +1 -1
  339. package/types/theme/components/error.d.ts +1 -0
  340. package/types/theme/components/success.d.ts +2 -0
  341. package/types/theme/components/timePicker.d.ts +1 -1
  342. package/types/theme/getTheme.d.ts +10 -10
  343. package/types/theme/global/colors/ehJobs.d.ts +1 -1
  344. package/types/theme/global/colors/ehWorkDark.d.ts +1 -1
  345. package/types/theme/global/colors/swagLight.d.ts +1 -1
  346. package/types/theme/global/colors/swagLightJobs.d.ts +1 -1
  347. package/types/theme/global/colors/swagSystemPalette.d.ts +1 -1
  348. package/types/theme/global/shadows/index.d.ts +1 -1
  349. package/types/types.d.ts +19 -19
@@ -2,13 +2,13 @@ import getAccordionTheme from './components/accordion';
2
2
  import getAlertTheme from './components/alert';
3
3
  import getAttachmentTheme from './components/attachment';
4
4
  import getAvatarTheme from './components/avatar';
5
- import { BadgeThemeType } from './components/badge';
5
+ import type { BadgeThemeType } from './components/badge';
6
6
  import getBottomNavigationTheme from './components/bottomNavigation';
7
7
  import getBottomSheetTheme from './components/bottomSheet';
8
- import { ButtonThemeType } from './components/button';
8
+ import type { ButtonThemeType } from './components/button';
9
9
  import getCalendarTheme from './components/calendar';
10
10
  import getCardTheme from './components/card';
11
- import { CarouselThemeType } from './components/carousel';
11
+ import type { CarouselThemeType } from './components/carousel';
12
12
  import getCardCarouselTheme from './components/cardCarousel';
13
13
  import getCheckboxTheme from './components/checkbox';
14
14
  import getChipTheme from './components/chip';
@@ -18,14 +18,14 @@ import getContentNavigatorTheme from './components/contentNavigator';
18
18
  import getDatePickerTheme from './components/datePicker';
19
19
  import getDividerTheme from './components/divider';
20
20
  import getDrawerTheme from './components/drawer';
21
- import { EmptyThemeType } from './components/empty';
22
- import { ErrorThemeType } from './components/error';
23
- import { FABThemeType } from './components/fab';
21
+ import type { EmptyThemeType } from './components/empty';
22
+ import type { ErrorThemeType } from './components/error';
23
+ import type { FABThemeType } from './components/fab';
24
24
  import getIconTheme from './components/icon';
25
25
  import getImageTheme from './components/image';
26
26
  import getListTheme from './components/list';
27
27
  import getPageControlTheme from './components/pageControl';
28
- import { PinInputThemeType } from './components/pinInput';
28
+ import type { PinInputThemeType } from './components/pinInput';
29
29
  import getProgressTheme from './components/progress';
30
30
  import getRadioTheme from './components/radio';
31
31
  import getRateTheme from './components/rate';
@@ -36,11 +36,11 @@ import getSelectTheme from './components/select';
36
36
  import getSkeletonTheme from './components/skeleton';
37
37
  import getSliderTheme from './components/slider';
38
38
  import getSpinnerTheme from './components/spinner';
39
- import { SuccessThemeType } from './components/success';
39
+ import type { SuccessThemeType } from './components/success';
40
40
  import getSwipeableTheme from './components/swipeable';
41
41
  import getSwitchTheme from './components/switch';
42
42
  import getTabsTheme from './components/tabs';
43
- import { TagThemeType } from './components/tag';
43
+ import type { TagThemeType } from './components/tag';
44
44
  import getTextInputTheme from './components/textInput';
45
45
  import getTimePickerTheme from './components/timePicker';
46
46
  import getToastTheme from './components/toast';
@@ -51,7 +51,7 @@ import getSearchTheme from './components/search';
51
51
  import getMapPinTheme from './components/mapPin';
52
52
  import getFloatingIslandTheme from './components/floatingIsland';
53
53
  import getAppCueTheme from './components/appCue';
54
- import { ThemeMode } from './global/colors/types';
54
+ import type { ThemeMode } from './global/colors/types';
55
55
  import getFilterTriggerTheme from './components/filterTrigger';
56
56
  import getSegmentedControlTheme from './components/segmentedControl';
57
57
  type Theme = GlobalTheme & {
@@ -1,3 +1,3 @@
1
- import { SystemPalette } from './types';
1
+ import type { SystemPalette } from './types';
2
2
  declare const ehJobsSystemPalette: SystemPalette;
3
3
  export default ehJobsSystemPalette;
@@ -1,3 +1,3 @@
1
- import { SystemPalette } from './types';
1
+ import type { SystemPalette } from './types';
2
2
  declare const ehWorkDarkSystemPalette: SystemPalette;
3
3
  export default ehWorkDarkSystemPalette;
@@ -1,4 +1,4 @@
1
- import { SystemPalette } from './types';
1
+ import type { SystemPalette } from './types';
2
2
  /**
3
3
  * @deprecated This palette is deprecated and will be removed in the next major release.
4
4
  */
@@ -1,4 +1,4 @@
1
- import { SystemPalette } from './types';
1
+ import type { SystemPalette } from './types';
2
2
  /**
3
3
  * @deprecated This palette is deprecated and will be removed in the next major release.
4
4
  */
@@ -1,3 +1,3 @@
1
- import { SystemPalette } from './types';
1
+ import type { SystemPalette } from './types';
2
2
  export declare const swagSystemPalette: SystemPalette;
3
3
  export default swagSystemPalette;
@@ -1,4 +1,4 @@
1
- import { SystemPalette } from '../colors/types';
1
+ import type { SystemPalette } from '../colors/types';
2
2
  declare const getShadows: (palette: SystemPalette) => import("./types").ShadowPalette;
3
3
  type Shadows = ReturnType<typeof getShadows>;
4
4
  export { getShadows };
package/types/types.d.ts CHANGED
@@ -5,21 +5,21 @@ import type { TabType } from './components/Tabs';
5
5
  import type { TextInputProps, TextInputHandles } from './components/TextInput';
6
6
  import type { RichTextEditorRef, RichTextEditorProps } from './components/RichTextEditor';
7
7
  import type { Theme } from './theme';
8
- import { ListRenderOptionInfo, SectionListRenderOptionInfo, SelectOptionType } from './components/Select/types';
9
- import { SwipeableProps } from './components/Swipeable';
10
- import { TextProps } from './components/Typography/Text';
11
- import { CardCarouselHandles } from './components/Carousel/CardCarousel';
12
- import { FABHandles } from './components/FAB/FAB';
13
- import { ActionGroupHandles, ActionGroupProps } from './components/FAB/ActionGroup';
8
+ import type { ListRenderOptionInfo, SectionListRenderOptionInfo, SelectOptionType } from './components/Select/types';
9
+ import type { SwipeableProps } from './components/Swipeable';
10
+ import type { TextProps } from './components/Typography/Text';
11
+ import type { CardCarouselHandles } from './components/Carousel/CardCarousel';
12
+ import type { FABHandles } from './components/FAB/FAB';
13
+ import type { ActionGroupHandles, ActionGroupProps } from './components/FAB/ActionGroup';
14
14
  import type { ActionItemProps } from './components/FAB/ActionGroup/ActionItem';
15
15
  import type { SliderRangeValue } from './components/Slider/RangeSlider';
16
16
  import type { CalendarDateRange } from './components/Calendar/CalendarRange';
17
- import { LocaleCode, LocaleValues, DateTimeFormats } from './locales/types';
17
+ import type { LocaleCode, LocaleValues, DateTimeFormats } from './locales/types';
18
18
  import type { ColumnChartProps } from './components/Chart/ColumnChart';
19
- import { LineChartProps } from './components/Chart/Line';
19
+ import type { LineChartProps } from './components/Chart/Line';
20
20
  import type { Scale, SystemPalette } from './theme/global';
21
21
  import type { BrandSystemPalette, GlobalSystemPalette } from './theme/global/colors/types';
22
- import { ToolbarItemProps } from './components/Toolbar/ToolbarItem';
22
+ import type { ToolbarItemProps } from './components/Toolbar/ToolbarItem';
23
23
  import type { CheckboxProps } from './components/Checkbox';
24
24
  import type { SwitchOptionType } from './components/Switch/SelectorSwitch';
25
25
  import type { BoxProps } from './components/Box';
@@ -28,15 +28,15 @@ import type { ToolbarButtonName } from './components/RichTextEditor/types';
28
28
  import type { ListItemProps } from './components/List/ListItem';
29
29
  import type { IconButtonProps } from './components/Button/IconButton';
30
30
  import type { BadgeProps } from './components/Badge';
31
- import { ToastProps } from './components/Toast/types';
32
- import { Space } from './theme/global/space';
33
- import { CaptionProps } from './components/Typography/Caption';
34
- import { Radii } from './theme/global/borders';
35
- import { TitleProps } from './components/Typography/Title';
36
- import { CarouselData, CarouselImageProps } from './components/Carousel/types';
37
- import { PinInputHandler } from './components/PinInput';
38
- import { ThemeScale } from './components/Box/types';
39
- import { TimePickerProps } from './components/TimePicker/types';
40
- import { DatePickerProps } from './components/DatePicker/types';
31
+ import type { ToastProps } from './components/Toast/types';
32
+ import type { Space } from './theme/global/space';
33
+ import type { CaptionProps } from './components/Typography/Caption';
34
+ import type { Radii } from './theme/global/borders';
35
+ import type { TitleProps } from './components/Typography/Title';
36
+ import type { CarouselData, CarouselImageProps } from './components/Carousel/types';
37
+ import type { PinInputHandler } from './components/PinInput';
38
+ import type { ThemeScale } from './components/Box/types';
39
+ import type { TimePickerProps } from './components/TimePicker/types';
40
+ import type { DatePickerProps } from './components/DatePicker/types';
41
41
  import type { SegmentedControlItemConfig } from './components/SegmentedControl/types';
42
42
  export type { Space, CaptionProps, Radii, TitleProps, CarouselData, CarouselImageProps, PinInputHandler, ThemeScale, ToastProps, ActionGroupProps, ToolbarItemProps, BottomNavigationTabType, IconName, SingleSelectProps, MultiSelectProps, ListRenderOptionInfo, SectionListRenderOptionInfo, SelectOptionType, SwipeableProps, RichTextEditorProps, RichTextEditorRef, TabType, TextInputProps, TextProps, TextInputHandles, Theme, CardCarouselHandles, FABHandles, ActionGroupHandles, ActionItemProps, SliderRangeValue, CalendarDateRange, LocaleCode, LocaleValues, DateTimeFormats, ColumnChartProps, LineChartProps, Scale, SystemPalette, BrandSystemPalette, GlobalSystemPalette, IconProps, CheckboxProps, SwitchOptionType, BoxProps, BodyProps, ToolbarButtonName, ListItemProps, IconButtonProps, BadgeProps, TimePickerProps, DatePickerProps, SegmentedControlItemConfig, };