@hero-design/rn 8.113.0 → 8.114.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 (540) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  3. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/lib/index.js +674 -439
  5. package/package.json +4 -4
  6. package/src/components/Alert/index.tsx +1 -1
  7. package/src/components/Badge/Count.tsx +2 -2
  8. package/src/components/Badge/Status.tsx +2 -2
  9. package/src/components/Badge/index.tsx +2 -1
  10. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +1 -1
  11. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +32 -36
  12. package/src/components/BottomNavigation/__tests__/index.spec.tsx +17 -8
  13. package/src/components/BottomNavigation/index.tsx +4 -5
  14. package/src/components/BottomSheet/ScrollView.tsx +2 -1
  15. package/src/components/BottomSheet/index.tsx +1 -1
  16. package/src/components/Button/Button.tsx +2 -2
  17. package/src/components/Calendar/__tests__/CalendarRange.spec.tsx +1 -1
  18. package/src/components/Calendar/__tests__/index.spec.tsx +4 -9
  19. package/src/components/Card/DataCard/index.tsx +2 -2
  20. package/src/components/Card/index.tsx +2 -2
  21. package/src/components/Carousel/index.tsx +2 -2
  22. package/src/components/DatePicker/Dialog/__tests__/IOSDialog.spec.tsx +0 -6
  23. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +2 -10
  24. package/src/components/DatePicker/__tests__/DatePickerIOS.spec.tsx +27 -0
  25. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +176 -728
  26. package/src/components/Drawer/DragableDrawer/index.tsx +2 -2
  27. package/src/components/Drawer/index.tsx +2 -2
  28. package/src/components/FAB/__tests__/index.spec.tsx +33 -8
  29. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  30. package/src/components/Icon/IconList.ts +3 -0
  31. package/src/components/Image/index.tsx +2 -1
  32. package/src/components/List/BasicListItem.tsx +2 -1
  33. package/src/components/List/ListItem.tsx +1 -1
  34. package/src/components/MapPin/Focussed.tsx +2 -1
  35. package/src/components/MapPin/index.tsx +2 -1
  36. package/src/components/Modal/__tests__/index.spec.tsx +46 -0
  37. package/src/components/Modal/index.tsx +121 -149
  38. package/src/components/Progress/ProgressBar.tsx +2 -1
  39. package/src/components/Progress/ProgressCircle.tsx +2 -1
  40. package/src/components/Progress/SegmentedBar/Legend.tsx +39 -0
  41. package/src/components/Progress/SegmentedBar/StyledLegend.tsx +32 -0
  42. package/src/components/Progress/SegmentedBar/StyledSegmentedBar.tsx +30 -0
  43. package/src/components/Progress/SegmentedBar/__tests__/index.spec.tsx +115 -0
  44. package/src/components/Progress/SegmentedBar/__tests__/utils.spec.tsx +24 -0
  45. package/src/components/Progress/SegmentedBar/constants.ts +8 -0
  46. package/src/components/Progress/SegmentedBar/hooks/validation.ts +71 -0
  47. package/src/components/Progress/SegmentedBar/index.tsx +153 -0
  48. package/src/components/Progress/SegmentedBar/types.ts +62 -0
  49. package/src/components/Progress/SegmentedBar/utils.ts +16 -0
  50. package/src/components/Progress/index.tsx +2 -0
  51. package/src/components/RichTextEditor/MentionList.tsx +2 -1
  52. package/src/components/Tabs/ScrollableTabs.tsx +30 -9
  53. package/src/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.tsx +5 -7
  54. package/src/components/Tabs/__tests__/ScrollableTabs.spec.tsx +74 -38
  55. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +105 -129
  56. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +30 -42
  57. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +0 -683
  58. package/src/components/Tabs/__tests__/index.spec.tsx +37 -25
  59. package/src/components/Tabs/index.tsx +4 -2
  60. package/src/components/Tag/index.tsx +1 -1
  61. package/src/components/TimePicker/__tests__/TimePickerIOS.spec.tsx +0 -6
  62. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +237 -282
  63. package/src/components/Toast/Toast.tsx +2 -1
  64. package/src/components/Toolbar/ToolbarItem.tsx +2 -1
  65. package/src/components/Typography/Label/index.tsx +1 -1
  66. package/src/testHelpers/renderWithTheme.tsx +2 -1
  67. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -1
  68. package/src/theme/components/bottomNavigation.ts +1 -1
  69. package/src/theme/components/progress.ts +8 -0
  70. package/src/types.ts +2 -0
  71. package/src/utils/helpers.ts +6 -0
  72. package/.turbo/turbo-build.log +0 -17
  73. package/es/index.js +0 -48768
  74. package/locales/en_AU.js +0 -10
  75. package/locales/en_AU.mjs +0 -8
  76. package/locales/en_CA.js +0 -10
  77. package/locales/en_CA.mjs +0 -8
  78. package/locales/index.js +0 -11
  79. package/locales/index.mjs +0 -9
  80. package/locales/types.js +0 -2
  81. package/locales/types.mjs +0 -1
  82. package/types/components/Accordion/AccordionItem.d.ts +0 -15
  83. package/types/components/Accordion/StyledAccordion.d.ts +0 -30
  84. package/types/components/Accordion/index.d.ts +0 -43
  85. package/types/components/Alert/StyledAlert.d.ts +0 -51
  86. package/types/components/Alert/index.d.ts +0 -66
  87. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +0 -12
  88. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +0 -16
  89. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +0 -12
  90. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +0 -12
  91. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +0 -12
  92. package/types/components/AnimatedScroller/index.d.ts +0 -4
  93. package/types/components/AppCue/StyledAppCue.d.ts +0 -20
  94. package/types/components/AppCue/__tests__/StyledAppCue.d.ts +0 -1
  95. package/types/components/AppCue/index.d.ts +0 -21
  96. package/types/components/AppCue/utils.d.ts +0 -66
  97. package/types/components/Attachment/StyledAttachment.d.ts +0 -26
  98. package/types/components/Attachment/index.d.ts +0 -38
  99. package/types/components/Avatar/Avatar.d.ts +0 -34
  100. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -30
  101. package/types/components/Avatar/AvatarStack/index.d.ts +0 -36
  102. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -4
  103. package/types/components/Avatar/StyledAvatar.d.ts +0 -32
  104. package/types/components/Avatar/index.d.ts +0 -6
  105. package/types/components/Badge/Count.d.ts +0 -27
  106. package/types/components/Badge/Status.d.ts +0 -23
  107. package/types/components/Badge/StyledBadge.d.ts +0 -43
  108. package/types/components/Badge/constants.d.ts +0 -1
  109. package/types/components/Badge/index.d.ts +0 -7
  110. package/types/components/Badge/types.d.ts +0 -53
  111. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -51
  112. package/types/components/BottomNavigation/index.d.ts +0 -45
  113. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -5
  114. package/types/components/BottomSheet/Footer.d.ts +0 -7
  115. package/types/components/BottomSheet/Header.d.ts +0 -10
  116. package/types/components/BottomSheet/ScrollView.d.ts +0 -5
  117. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -59
  118. package/types/components/BottomSheet/index.d.ts +0 -74
  119. package/types/components/Box/StyledBox.d.ts +0 -10
  120. package/types/components/Box/config.d.ts +0 -174
  121. package/types/components/Box/index.d.ts +0 -6
  122. package/types/components/Box/types.d.ts +0 -31
  123. package/types/components/Button/Button.d.ts +0 -64
  124. package/types/components/Button/IconButton.d.ts +0 -39
  125. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -19
  126. package/types/components/Button/LoadingIndicator/index.d.ts +0 -27
  127. package/types/components/Button/StyledButton.d.ts +0 -61
  128. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -15
  129. package/types/components/Button/UtilityButton/index.d.ts +0 -24
  130. package/types/components/Button/index.d.ts +0 -10
  131. package/types/components/Calendar/CalendarRange.d.ts +0 -11
  132. package/types/components/Calendar/CalendarRangeConnector.d.ts +0 -11
  133. package/types/components/Calendar/CalendarRowItem.d.ts +0 -13
  134. package/types/components/Calendar/StyledCalendar.d.ts +0 -61
  135. package/types/components/Calendar/constants.d.ts +0 -4
  136. package/types/components/Calendar/helpers.d.ts +0 -35
  137. package/types/components/Calendar/index.d.ts +0 -9
  138. package/types/components/Calendar/shared/hooks/useCalendarLayout.d.ts +0 -8
  139. package/types/components/Calendar/types.d.ts +0 -58
  140. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -22
  141. package/types/components/Card/DataCard/index.d.ts +0 -22
  142. package/types/components/Card/StyledCard.d.ts +0 -11
  143. package/types/components/Card/index.d.ts +0 -32
  144. package/types/components/Carousel/CardCarousel.d.ts +0 -46
  145. package/types/components/Carousel/CarouselItem.d.ts +0 -7
  146. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -27
  147. package/types/components/Carousel/StyledCarousel.d.ts +0 -55
  148. package/types/components/Carousel/contants.d.ts +0 -2
  149. package/types/components/Carousel/index.d.ts +0 -46
  150. package/types/components/Carousel/types.d.ts +0 -14
  151. package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +0 -8
  152. package/types/components/Chart/ChartSelect/index.d.ts +0 -63
  153. package/types/components/Chart/ColumnChart/ColumnChartContent.d.ts +0 -29
  154. package/types/components/Chart/ColumnChart/Segment.d.ts +0 -14
  155. package/types/components/Chart/ColumnChart/StackedSegment.d.ts +0 -32
  156. package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +0 -8
  157. package/types/components/Chart/ColumnChart/index.d.ts +0 -86
  158. package/types/components/Chart/Line/Line.d.ts +0 -23
  159. package/types/components/Chart/Line/index.d.ts +0 -41
  160. package/types/components/Chart/StyledChart.d.ts +0 -9
  161. package/types/components/Chart/index.d.ts +0 -6
  162. package/types/components/Chart/shared/AxisLabel.d.ts +0 -7
  163. package/types/components/Chart/shared/ChartFrame.d.ts +0 -30
  164. package/types/components/Chart/shared/ChartHeader.d.ts +0 -8
  165. package/types/components/Chart/shared/EmptyState.d.ts +0 -8
  166. package/types/components/Chart/shared/XAxis.d.ts +0 -8
  167. package/types/components/Chart/shared/XAxisGrid.d.ts +0 -8
  168. package/types/components/Chart/shared/YAxis.d.ts +0 -10
  169. package/types/components/Chart/shared/YAxisGrid.d.ts +0 -10
  170. package/types/components/Chart/shared/constants.d.ts +0 -4
  171. package/types/components/Chart/shared/hooks/useColorScale.d.ts +0 -7
  172. package/types/components/Chart/shared/hooks/useCustomColor.d.ts +0 -22
  173. package/types/components/Chart/shared/hooks/useGenerateTicks.d.ts +0 -6
  174. package/types/components/Chart/shared/hooks/useScaleBandX.d.ts +0 -7
  175. package/types/components/Chart/shared/hooks/useScaleLinearY.d.ts +0 -8
  176. package/types/components/Chart/shared/niceNumbers.d.ts +0 -12
  177. package/types/components/Chart/shared/utils.d.ts +0 -11
  178. package/types/components/Chart/types.d.ts +0 -91
  179. package/types/components/Checkbox/DefaultCheckBox.d.ts +0 -40
  180. package/types/components/Checkbox/InlineCheckBox.d.ts +0 -38
  181. package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +0 -33
  182. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +0 -45
  183. package/types/components/Checkbox/index.d.ts +0 -6
  184. package/types/components/Checkbox/utils.d.ts +0 -7
  185. package/types/components/Chip/StyledChip.d.ts +0 -13
  186. package/types/components/Chip/index.d.ts +0 -43
  187. package/types/components/Collapse/StyledCollapse.d.ts +0 -23
  188. package/types/components/Collapse/index.d.ts +0 -20
  189. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -8
  190. package/types/components/ContentNavigator/index.d.ts +0 -43
  191. package/types/components/DatePicker/DatePicker.d.ts +0 -4
  192. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -7
  193. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -4
  194. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -7
  195. package/types/components/DatePicker/Dialog/AndroidDialog.d.ts +0 -5
  196. package/types/components/DatePicker/Dialog/IOSDialog.d.ts +0 -4
  197. package/types/components/DatePicker/Dialog/type.d.ts +0 -50
  198. package/types/components/DatePicker/Dialog.d.ts +0 -4
  199. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -16
  200. package/types/components/DatePicker/hooks/useCalculateDate.d.ts +0 -4
  201. package/types/components/DatePicker/hooks/useFormatDate.d.ts +0 -10
  202. package/types/components/DatePicker/hooks/utils.d.ts +0 -6
  203. package/types/components/DatePicker/index.d.ts +0 -6
  204. package/types/components/DatePicker/index.internal.d.ts +0 -7
  205. package/types/components/DatePicker/types.d.ts +0 -109
  206. package/types/components/Divider/StyledDivider.d.ts +0 -12
  207. package/types/components/Divider/index.d.ts +0 -22
  208. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -8
  209. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -33
  210. package/types/components/Drawer/StyledDrawer.d.ts +0 -49
  211. package/types/components/Drawer/index.d.ts +0 -27
  212. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -18
  213. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -31
  214. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -15
  215. package/types/components/FAB/ActionGroup/index.d.ts +0 -55
  216. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -7
  217. package/types/components/FAB/FAB.d.ts +0 -40
  218. package/types/components/FAB/Pair/StyledFAB.d.ts +0 -12
  219. package/types/components/FAB/Pair/index.d.ts +0 -16
  220. package/types/components/FAB/StyledFAB.d.ts +0 -22
  221. package/types/components/FAB/index.d.ts +0 -5
  222. package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +0 -20
  223. package/types/components/FilterTrigger/index.d.ts +0 -39
  224. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +0 -19
  225. package/types/components/FloatingIsland/index.d.ts +0 -24
  226. package/types/components/HeroDesignProvider/index.d.ts +0 -8
  227. package/types/components/Icon/AnimatedIcon.d.ts +0 -6
  228. package/types/components/Icon/HeroIcon/index.d.ts +0 -12
  229. package/types/components/Icon/IconList.d.ts +0 -2
  230. package/types/components/Icon/index.d.ts +0 -37
  231. package/types/components/Icon/utils.d.ts +0 -3
  232. package/types/components/Illustration/BaseSvg.d.ts +0 -8
  233. package/types/components/Illustration/assets/Add.d.ts +0 -4
  234. package/types/components/Illustration/assets/AllInOneSketch.d.ts +0 -4
  235. package/types/components/Illustration/assets/Boom.d.ts +0 -4
  236. package/types/components/Illustration/assets/Build.d.ts +0 -4
  237. package/types/components/Illustration/assets/CelebrationSketch.d.ts +0 -4
  238. package/types/components/Illustration/assets/Clock.d.ts +0 -4
  239. package/types/components/Illustration/assets/Confetti.d.ts +0 -4
  240. package/types/components/Illustration/assets/Connections.d.ts +0 -4
  241. package/types/components/Illustration/assets/DiySketch.d.ts +0 -4
  242. package/types/components/Illustration/assets/Error.d.ts +0 -4
  243. package/types/components/Illustration/assets/ErrorSketch.d.ts +0 -4
  244. package/types/components/Illustration/assets/FreedomSketch.d.ts +0 -4
  245. package/types/components/Illustration/assets/GrowingSketch.d.ts +0 -4
  246. package/types/components/Illustration/assets/Info.d.ts +0 -4
  247. package/types/components/Illustration/assets/InstantSketch.d.ts +0 -4
  248. package/types/components/Illustration/assets/LiftSketch.d.ts +0 -4
  249. package/types/components/Illustration/assets/List.d.ts +0 -4
  250. package/types/components/Illustration/assets/Location.d.ts +0 -4
  251. package/types/components/Illustration/assets/Lock.d.ts +0 -4
  252. package/types/components/Illustration/assets/Merge.d.ts +0 -4
  253. package/types/components/Illustration/assets/NoResult.d.ts +0 -4
  254. package/types/components/Illustration/assets/Notifications.d.ts +0 -4
  255. package/types/components/Illustration/assets/OnDemandSketch.d.ts +0 -4
  256. package/types/components/Illustration/assets/ProcessingSketch.d.ts +0 -4
  257. package/types/components/Illustration/assets/RemoteJobsSketch.d.ts +0 -4
  258. package/types/components/Illustration/assets/RewardSketch.d.ts +0 -4
  259. package/types/components/Illustration/assets/Search.d.ts +0 -4
  260. package/types/components/Illustration/assets/SearchSketch.d.ts +0 -4
  261. package/types/components/Illustration/assets/SecuritySketch.d.ts +0 -4
  262. package/types/components/Illustration/assets/SentSketch.d.ts +0 -4
  263. package/types/components/Illustration/assets/SpeedSketch.d.ts +0 -4
  264. package/types/components/Illustration/assets/Star.d.ts +0 -4
  265. package/types/components/Illustration/assets/Success.d.ts +0 -4
  266. package/types/components/Illustration/assets/SuperchargeSketch.d.ts +0 -4
  267. package/types/components/Illustration/assets/Unlock.d.ts +0 -4
  268. package/types/components/Illustration/assets/UnlockSketch.d.ts +0 -4
  269. package/types/components/Illustration/assets/User.d.ts +0 -4
  270. package/types/components/Illustration/assets/WorkflowSketch.d.ts +0 -4
  271. package/types/components/Illustration/constants.d.ts +0 -1
  272. package/types/components/Illustration/hooks/useMonoColor.d.ts +0 -5
  273. package/types/components/Illustration/illustrations.d.ts +0 -42
  274. package/types/components/Illustration/index.d.ts +0 -29
  275. package/types/components/Illustration/types.d.ts +0 -7
  276. package/types/components/Image/index.d.ts +0 -20
  277. package/types/components/List/BasicListItem.d.ts +0 -43
  278. package/types/components/List/ListItem.d.ts +0 -52
  279. package/types/components/List/StyledBasicListItem.d.ts +0 -27
  280. package/types/components/List/StyledListItem.d.ts +0 -49
  281. package/types/components/List/index.d.ts +0 -8
  282. package/types/components/LocaleProvider/__tests__/utils.specs.d.ts +0 -1
  283. package/types/components/LocaleProvider/context.d.ts +0 -3
  284. package/types/components/LocaleProvider/hooks.d.ts +0 -5
  285. package/types/components/LocaleProvider/index.d.ts +0 -7
  286. package/types/components/LocaleProvider/utils.d.ts +0 -3
  287. package/types/components/MapPin/Focussed.d.ts +0 -13
  288. package/types/components/MapPin/StyledMapPin.d.ts +0 -41
  289. package/types/components/MapPin/index.d.ts +0 -5
  290. package/types/components/MapPin/types.d.ts +0 -38
  291. package/types/components/Modal/index.d.ts +0 -38
  292. package/types/components/PageControl/StyledPageControl.d.ts +0 -12
  293. package/types/components/PageControl/index.d.ts +0 -22
  294. package/types/components/PinInput/PinCell.d.ts +0 -9
  295. package/types/components/PinInput/StyledPinInput.d.ts +0 -67
  296. package/types/components/PinInput/index.d.ts +0 -73
  297. package/types/components/Portal/PortalHost.d.ts +0 -5
  298. package/types/components/Portal/PortalProvider.d.ts +0 -7
  299. package/types/components/Portal/constants.d.ts +0 -8
  300. package/types/components/Portal/contexts.d.ts +0 -9
  301. package/types/components/Portal/index.d.ts +0 -19
  302. package/types/components/Portal/reducer.d.ts +0 -5
  303. package/types/components/Portal/types.d.ts +0 -23
  304. package/types/components/Portal/usePortal.d.ts +0 -8
  305. package/types/components/Portal/usePortalState.d.ts +0 -1
  306. package/types/components/Progress/ProgressBar.d.ts +0 -18
  307. package/types/components/Progress/ProgressCircle.d.ts +0 -20
  308. package/types/components/Progress/ProgressStep.d.ts +0 -20
  309. package/types/components/Progress/StyledProgressBar.d.ts +0 -18
  310. package/types/components/Progress/StyledProgressCircle.d.ts +0 -15
  311. package/types/components/Progress/StyledStep.d.ts +0 -23
  312. package/types/components/Progress/__tests__/index.spec.d.ts +0 -1
  313. package/types/components/Progress/constants.d.ts +0 -15
  314. package/types/components/Progress/index.d.ts +0 -6
  315. package/types/components/Progress/types.d.ts +0 -1
  316. package/types/components/Radio/Radio.d.ts +0 -43
  317. package/types/components/Radio/RadioGroup.d.ts +0 -40
  318. package/types/components/Radio/StyledRadio.d.ts +0 -30
  319. package/types/components/Radio/index.d.ts +0 -4
  320. package/types/components/Radio/types.d.ts +0 -10
  321. package/types/components/Rate/StyledRate.d.ts +0 -10
  322. package/types/components/Rate/index.d.ts +0 -29
  323. package/types/components/RefreshControl/index.d.ts +0 -5
  324. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -3
  325. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -18
  326. package/types/components/RichTextEditor/MentionList.d.ts +0 -17
  327. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -27
  328. package/types/components/RichTextEditor/RichTextEditorInput.d.ts +0 -69
  329. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -7
  330. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -19
  331. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -2
  332. package/types/components/RichTextEditor/constants.d.ts +0 -17
  333. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -2
  334. package/types/components/RichTextEditor/hooks/useRichTextEditorEvents.d.ts +0 -36
  335. package/types/components/RichTextEditor/index.d.ts +0 -71
  336. package/types/components/RichTextEditor/types.d.ts +0 -2
  337. package/types/components/RichTextEditor/utils/events.d.ts +0 -7
  338. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -7
  339. package/types/components/Search/SearchOneLine.d.ts +0 -73
  340. package/types/components/Search/SearchSuffixIcon.d.ts +0 -24
  341. package/types/components/Search/SearchTwoLine.d.ts +0 -40
  342. package/types/components/Search/StyledSearch.d.ts +0 -49
  343. package/types/components/Search/index.d.ts +0 -10
  344. package/types/components/Search/utils.d.ts +0 -8
  345. package/types/components/SectionHeading/StyledHeading.d.ts +0 -23
  346. package/types/components/SectionHeading/index.d.ts +0 -45
  347. package/types/components/SegmentedControl/SegmentedItem.d.ts +0 -18
  348. package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +0 -26
  349. package/types/components/SegmentedControl/index.d.ts +0 -31
  350. package/types/components/SegmentedControl/types.d.ts +0 -43
  351. package/types/components/Select/BaseOptionList.d.ts +0 -8
  352. package/types/components/Select/Footer.d.ts +0 -6
  353. package/types/components/Select/MultiSelect/Option.d.ts +0 -10
  354. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -9
  355. package/types/components/Select/MultiSelect/index.d.ts +0 -35
  356. package/types/components/Select/MultiSelect/utils.d.ts +0 -2
  357. package/types/components/Select/SingleSelect/Option.d.ts +0 -10
  358. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -11
  359. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -2
  360. package/types/components/Select/SingleSelect/index.d.ts +0 -28
  361. package/types/components/Select/StyledSelect.d.ts +0 -28
  362. package/types/components/Select/helpers.d.ts +0 -10
  363. package/types/components/Select/index.d.ts +0 -10
  364. package/types/components/Select/index.internal.d.ts +0 -21
  365. package/types/components/Select/types.d.ts +0 -88
  366. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -16
  367. package/types/components/Skeleton/index.d.ts +0 -14
  368. package/types/components/Slider/RangeSlider.d.ts +0 -60
  369. package/types/components/Slider/SingleSlider.d.ts +0 -53
  370. package/types/components/Slider/StyledRangeSlider.d.ts +0 -10
  371. package/types/components/Slider/constants.d.ts +0 -3
  372. package/types/components/Slider/index.d.ts +0 -8
  373. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -6
  374. package/types/components/Spinner/StyledSpinner.d.ts +0 -34
  375. package/types/components/Spinner/index.d.ts +0 -18
  376. package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +0 -27
  377. package/types/components/StatusScreens/Empty/index.d.ts +0 -38
  378. package/types/components/StatusScreens/Error/StyledError.d.ts +0 -59
  379. package/types/components/StatusScreens/Error/index.d.ts +0 -62
  380. package/types/components/StatusScreens/Success/StyledSuccess.d.ts +0 -59
  381. package/types/components/StatusScreens/Success/index.d.ts +0 -56
  382. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -7
  383. package/types/components/Swipeable/SwipeableAction.d.ts +0 -28
  384. package/types/components/Swipeable/index.d.ts +0 -50
  385. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -14
  386. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -19
  387. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -37
  388. package/types/components/Switch/StyledSwitch.d.ts +0 -15
  389. package/types/components/Switch/index.d.ts +0 -28
  390. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -9
  391. package/types/components/Tabs/SceneView.d.ts +0 -10
  392. package/types/components/Tabs/ScrollableTabs.d.ts +0 -7
  393. package/types/components/Tabs/ScrollableTabsHeader/ScrollableTabsHeader.d.ts +0 -40
  394. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +0 -9
  395. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +0 -10
  396. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -55
  397. package/types/components/Tabs/StyledTabs.d.ts +0 -45
  398. package/types/components/Tabs/TabWithBadge.d.ts +0 -17
  399. package/types/components/Tabs/index.d.ts +0 -62
  400. package/types/components/Tabs/useHandlePageScroll.d.ts +0 -8
  401. package/types/components/Tabs/useIsFocused.d.ts +0 -6
  402. package/types/components/Tabs/utils.d.ts +0 -2
  403. package/types/components/Tag/StyledTag.d.ts +0 -17
  404. package/types/components/Tag/index.d.ts +0 -28
  405. package/types/components/TextInput/StyledTextInput.d.ts +0 -89
  406. package/types/components/TextInput/index.d.ts +0 -136
  407. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -16
  408. package/types/components/TimePicker/TimePicker.d.ts +0 -4
  409. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -4
  410. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -4
  411. package/types/components/TimePicker/index.d.ts +0 -4
  412. package/types/components/TimePicker/index.internal.d.ts +0 -5
  413. package/types/components/TimePicker/types.d.ts +0 -76
  414. package/types/components/Toast/StyledToast.d.ts +0 -57
  415. package/types/components/Toast/Toast.d.ts +0 -3
  416. package/types/components/Toast/ToastContainer.d.ts +0 -5
  417. package/types/components/Toast/ToastContext.d.ts +0 -13
  418. package/types/components/Toast/ToastProvider.d.ts +0 -11
  419. package/types/components/Toast/index.d.ts +0 -8
  420. package/types/components/Toast/types.d.ts +0 -74
  421. package/types/components/Toolbar/StyledToolbar.d.ts +0 -69
  422. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -25
  423. package/types/components/Toolbar/ToolbarItem.d.ts +0 -31
  424. package/types/components/Toolbar/ToolbarMessage.d.ts +0 -58
  425. package/types/components/Toolbar/index.d.ts +0 -14
  426. package/types/components/Typography/Body/StyledBody.d.ts +0 -15
  427. package/types/components/Typography/Body/__tests__/StyledBody.d.ts +0 -1
  428. package/types/components/Typography/Body/index.d.ts +0 -38
  429. package/types/components/Typography/Caption/StyledCaption.d.ts +0 -13
  430. package/types/components/Typography/Caption/index.d.ts +0 -32
  431. package/types/components/Typography/Label/StyledLabel.d.ts +0 -12
  432. package/types/components/Typography/Label/__tests__/StyledLabel.d.ts +0 -1
  433. package/types/components/Typography/Label/index.d.ts +0 -28
  434. package/types/components/Typography/Text/StyledText.d.ts +0 -13
  435. package/types/components/Typography/Text/index.d.ts +0 -40
  436. package/types/components/Typography/Title/StyledTitle.d.ts +0 -15
  437. package/types/components/Typography/Title/__tests__/StyledTitle.d.ts +0 -1
  438. package/types/components/Typography/Title/index.d.ts +0 -38
  439. package/types/components/Typography/index.d.ts +0 -17
  440. package/types/components/Typography/types.d.ts +0 -6
  441. package/types/index.d.ts +0 -64
  442. package/types/index.internal.d.ts +0 -19
  443. package/types/locales/en_AU.d.ts +0 -3
  444. package/types/locales/en_CA.d.ts +0 -3
  445. package/types/locales/index.d.ts +0 -5
  446. package/types/locales/types.d.ts +0 -10
  447. package/types/testHelpers/renderWithTheme.d.ts +0 -3
  448. package/types/testHelpers/utils.d.ts +0 -1
  449. package/types/theme/ThemeProvider.d.ts +0 -12
  450. package/types/theme/ThemeSwitcher.d.ts +0 -9
  451. package/types/theme/components/accordion.d.ts +0 -13
  452. package/types/theme/components/alert.d.ts +0 -48
  453. package/types/theme/components/appCue.d.ts +0 -16
  454. package/types/theme/components/attachment.d.ts +0 -21
  455. package/types/theme/components/avatar.d.ts +0 -50
  456. package/types/theme/components/badge.d.ts +0 -69
  457. package/types/theme/components/bottomNavigation.d.ts +0 -30
  458. package/types/theme/components/bottomSheet.d.ts +0 -29
  459. package/types/theme/components/button.d.ts +0 -127
  460. package/types/theme/components/calendar.d.ts +0 -33
  461. package/types/theme/components/card.d.ts +0 -26
  462. package/types/theme/components/cardCarousel.d.ts +0 -19
  463. package/types/theme/components/carousel.d.ts +0 -36
  464. package/types/theme/components/chart.d.ts +0 -22
  465. package/types/theme/components/checkbox.d.ts +0 -40
  466. package/types/theme/components/chip.d.ts +0 -43
  467. package/types/theme/components/columnChart.d.ts +0 -10
  468. package/types/theme/components/contentNavigator.d.ts +0 -7
  469. package/types/theme/components/datePicker.d.ts +0 -7
  470. package/types/theme/components/divider.d.ts +0 -17
  471. package/types/theme/components/drawer.d.ts +0 -30
  472. package/types/theme/components/empty.d.ts +0 -37
  473. package/types/theme/components/error.d.ts +0 -52
  474. package/types/theme/components/fab.d.ts +0 -73
  475. package/types/theme/components/filterTrigger.d.ts +0 -72
  476. package/types/theme/components/floatingIsland.d.ts +0 -32
  477. package/types/theme/components/icon.d.ts +0 -25
  478. package/types/theme/components/image.d.ts +0 -8
  479. package/types/theme/components/list.d.ts +0 -46
  480. package/types/theme/components/mapPin.d.ts +0 -43
  481. package/types/theme/components/pageControl.d.ts +0 -18
  482. package/types/theme/components/pinInput.d.ts +0 -57
  483. package/types/theme/components/progress.d.ts +0 -51
  484. package/types/theme/components/radio.d.ts +0 -24
  485. package/types/theme/components/rate.d.ts +0 -11
  486. package/types/theme/components/refreshControl.d.ts +0 -7
  487. package/types/theme/components/richTextEditor.d.ts +0 -28
  488. package/types/theme/components/search.d.ts +0 -58
  489. package/types/theme/components/sectionHeading.d.ts +0 -14
  490. package/types/theme/components/segmentedControl.d.ts +0 -55
  491. package/types/theme/components/select.d.ts +0 -18
  492. package/types/theme/components/skeleton.d.ts +0 -17
  493. package/types/theme/components/slider.d.ts +0 -33
  494. package/types/theme/components/spinner.d.ts +0 -27
  495. package/types/theme/components/success.d.ts +0 -45
  496. package/types/theme/components/swipeable.d.ts +0 -16
  497. package/types/theme/components/switch.d.ts +0 -38
  498. package/types/theme/components/tabs.d.ts +0 -31
  499. package/types/theme/components/tag.d.ts +0 -53
  500. package/types/theme/components/textInput.d.ts +0 -95
  501. package/types/theme/components/timePicker.d.ts +0 -7
  502. package/types/theme/components/toast.d.ts +0 -52
  503. package/types/theme/components/toolbar.d.ts +0 -48
  504. package/types/theme/components/typography.d.ts +0 -168
  505. package/types/theme/getTheme.d.ts +0 -119
  506. package/types/theme/global/borders.d.ts +0 -18
  507. package/types/theme/global/colors/__tests__/ehWork.spec.d.ts +0 -1
  508. package/types/theme/global/colors/eBens.d.ts +0 -6
  509. package/types/theme/global/colors/ehJobs.d.ts +0 -3
  510. package/types/theme/global/colors/ehWork.d.ts +0 -3
  511. package/types/theme/global/colors/ehWorkDark.d.ts +0 -3
  512. package/types/theme/global/colors/global.d.ts +0 -3
  513. package/types/theme/global/colors/globalDark.d.ts +0 -3
  514. package/types/theme/global/colors/jobs.d.ts +0 -6
  515. package/types/theme/global/colors/swag.d.ts +0 -6
  516. package/types/theme/global/colors/swagDark.d.ts +0 -6
  517. package/types/theme/global/colors/swagLight.d.ts +0 -6
  518. package/types/theme/global/colors/swagLightGlobal.d.ts +0 -3
  519. package/types/theme/global/colors/swagLightJobs.d.ts +0 -6
  520. package/types/theme/global/colors/swagSystemPalette.d.ts +0 -3
  521. package/types/theme/global/colors/types.d.ts +0 -58
  522. package/types/theme/global/colors/wallet.d.ts +0 -6
  523. package/types/theme/global/colors/work.d.ts +0 -6
  524. package/types/theme/global/index.d.ts +0 -78
  525. package/types/theme/global/scale.d.ts +0 -14
  526. package/types/theme/global/shadows/ehJobs.d.ts +0 -3
  527. package/types/theme/global/shadows/ehWork.d.ts +0 -3
  528. package/types/theme/global/shadows/ehWorkDark.d.ts +0 -3
  529. package/types/theme/global/shadows/index.d.ts +0 -3
  530. package/types/theme/global/shadows/types.d.ts +0 -16
  531. package/types/theme/global/sizes.d.ts +0 -14
  532. package/types/theme/global/space.d.ts +0 -16
  533. package/types/theme/global/typography.d.ts +0 -34
  534. package/types/theme/index.d.ts +0 -9
  535. package/types/types.d.ts +0 -42
  536. package/types/types.internal.d.ts +0 -18
  537. package/types/utils/functions.d.ts +0 -1
  538. package/types/utils/helpers.d.ts +0 -13
  539. package/types/utils/hooks.d.ts +0 -3
  540. package/types/utils/scale.d.ts +0 -1
package/lib/index.js CHANGED
@@ -5721,7 +5721,7 @@ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
5721
5721
  wrapper: theme.shadows.medium
5722
5722
  };
5723
5723
  var space = {
5724
- titleMarginTop: theme.space.xsmall
5724
+ titleMarginTop: theme.space.xxsmall
5725
5725
  };
5726
5726
  return {
5727
5727
  colors: colors,
@@ -6547,19 +6547,27 @@ var getProgressTheme = function getProgressTheme(theme) {
6547
6547
  complete: theme.colors.primary,
6548
6548
  incomplete: theme.colors.archivedSurface,
6549
6549
  current: theme.colors.decorativePrimarySurface
6550
- }
6550
+ },
6551
+ segmentedRemainderBackground: theme.colors.archivedSurface
6551
6552
  };
6552
6553
  var sizes = {
6553
6554
  circleDiameter: theme.sizes['6xlarge'],
6554
6555
  circleCompletenessHeight: theme.sizes.small,
6555
6556
  barHeight: theme.sizes.small,
6556
- stepHeight: theme.sizes.small
6557
+ stepHeight: theme.sizes.small,
6558
+ legendWidth: theme.space.small,
6559
+ legendHeight: theme.space.small
6557
6560
  };
6558
6561
  var radii = {
6559
- "default": theme.radii.rounded
6562
+ "default": theme.radii.rounded,
6563
+ legendCircle: theme.radii.rounded
6560
6564
  };
6561
6565
  var space = {
6562
- stepGap: theme.space.xsmall
6566
+ stepGap: theme.space.xsmall,
6567
+ segmentedHeaderMarginBottom: theme.space.small,
6568
+ legendGap: theme.space.small,
6569
+ legendInnerGap: theme.space.xsmall,
6570
+ segmentedLegendMarginTop: theme.space.small
6563
6571
  };
6564
6572
  return {
6565
6573
  colors: colors,
@@ -6873,6 +6881,11 @@ var transformKebabCaseToCamelCase = function transformKebabCaseToCamelCase(strin
6873
6881
  return /[a-z]/.test(_char4) ? _char4.toUpperCase() : _char4;
6874
6882
  });
6875
6883
  };
6884
+ function assert(condition, message) {
6885
+ if (!condition) {
6886
+ throw new Error(message);
6887
+ }
6888
+ }
6876
6889
 
6877
6890
  var getSliderTheme = function getSliderTheme(theme) {
6878
6891
  var colors = {
@@ -8263,7 +8276,7 @@ var Typography = {
8263
8276
  };
8264
8277
 
8265
8278
  // 🔴 DO NOT EDIT — This file is generated automatically.
8266
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
8279
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark-checked', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'dot', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'explore_nearby', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'global-pound', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'hero-points', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip-vertical', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-arrow', 'play-circle', 'pound-coin-shine', 'pound-sign', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rocket-launch', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'search', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'thumb-down', 'thumb-up', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'academic-hat-outlined', 'accommodation-outlined', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'afternoon-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'automotive-outlined', 'bakery-outlined', 'bar-outlined', 'beauty-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'bill-management-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-checked-outlined', 'bookmark-outlined', 'box-1-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calculator-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-in-outlined', 'clock-out-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cultural-site-outlined', 'cup-outlined', 'dentistry-outlined', 'diamond-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'electronics-outlined', 'email-outlined', 'end-break-outlined', 'enter-arrow', 'entertainment-outlined', 'envelope-outlined', 'evening-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-pound-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'fitness-outlined', 'folder-outlined', 'folder-upload-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'grocery-outlined', 'hand-holding-user-outlined', 'handshake-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'lighting-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'local_mall_outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'map-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'morning-outlined', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'park-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'pound-box-outlined', 'pound-card-outlined', 'pound-coin-shine-outlined', 'pound-credit-card-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'restaurant-outlined', 'resume-outlined', 'return-arrow', 'rocket-launch-outlined', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined-2', 'share-outlined', 'shield-check-outlined', 'shop-outlined', 'shopping_basket_outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'start-break-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'thumb-down-outlined', 'thumb-up-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'transportation-outlined', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined', 'wellness-outlined'];
8267
8280
 
8268
8281
  var activate = 59000;
8269
8282
  var adjustment = 59003;
@@ -8319,44 +8332,44 @@ var plane = 59144;
8319
8332
  var print = 59149;
8320
8333
  var reply = 59152;
8321
8334
  var reschedule = 59153;
8322
- var rostering = 59154;
8323
- var save = 59156;
8324
- var schedule$1 = 59158;
8325
- var search = 59160;
8326
- var send = 59161;
8327
- var speaker = 59163;
8328
- var star = 59168;
8329
- var stopwatch = 59170;
8330
- var suitcase = 59171;
8331
- var surfing = 59172;
8332
- var survey = 59173;
8333
- var swag = 59178;
8334
- var tag = 59181;
8335
- var target = 59182;
8336
- var teams = 59183;
8337
- var timesheet = 59186;
8338
- var unlock = 59189;
8339
- var user = 59190;
8340
- var wallet = 59193;
8341
- var warning = 59194;
8342
- var add = 59202;
8343
- var bold = 59232;
8344
- var cancel = 59249;
8345
- var checkmark = 59255;
8346
- var italic = 59352;
8347
- var local_mall_outlined = 59360;
8348
- var number$2 = 59383;
8349
- var percentage = 59389;
8350
- var redeem = 59403;
8351
- var refresh = 59404;
8352
- var remove$1 = 59405;
8353
- var restart = 59407;
8354
- var shopping_basket_outlined = 59424;
8355
- var strikethrough = 59439;
8356
- var sync = 59445;
8357
- var transfer = 59455;
8358
- var unavailable = 59460;
8359
- var underline = 59461;
8335
+ var rostering = 59155;
8336
+ var save = 59157;
8337
+ var schedule$1 = 59159;
8338
+ var search = 59161;
8339
+ var send = 59162;
8340
+ var speaker = 59164;
8341
+ var star = 59169;
8342
+ var stopwatch = 59171;
8343
+ var suitcase = 59172;
8344
+ var surfing = 59173;
8345
+ var survey = 59174;
8346
+ var swag = 59179;
8347
+ var tag = 59182;
8348
+ var target = 59183;
8349
+ var teams = 59184;
8350
+ var timesheet = 59187;
8351
+ var unlock = 59190;
8352
+ var user = 59191;
8353
+ var wallet = 59194;
8354
+ var warning = 59195;
8355
+ var add = 59203;
8356
+ var bold = 59233;
8357
+ var cancel = 59250;
8358
+ var checkmark = 59256;
8359
+ var italic = 59354;
8360
+ var local_mall_outlined = 59362;
8361
+ var number$2 = 59385;
8362
+ var percentage = 59391;
8363
+ var redeem = 59405;
8364
+ var refresh = 59406;
8365
+ var remove$1 = 59407;
8366
+ var restart = 59409;
8367
+ var shopping_basket_outlined = 59427;
8368
+ var strikethrough = 59442;
8369
+ var sync = 59448;
8370
+ var transfer = 59458;
8371
+ var unavailable = 59463;
8372
+ var underline = 59464;
8360
8373
  var glyphMap = {
8361
8374
  activate: activate,
8362
8375
  "add-emoji": 59001,
@@ -8512,326 +8525,329 @@ var glyphMap = {
8512
8525
  "reply-arrow": 59151,
8513
8526
  reply: reply,
8514
8527
  reschedule: reschedule,
8528
+ "rocket-launch": 59154,
8515
8529
  rostering: rostering,
8516
- "salary-sacrifice": 59155,
8530
+ "salary-sacrifice": 59156,
8517
8531
  save: save,
8518
- "schedule-send": 59157,
8532
+ "schedule-send": 59158,
8519
8533
  schedule: schedule$1,
8520
- "search-person": 59159,
8534
+ "search-person": 59160,
8521
8535
  search: search,
8522
8536
  send: send,
8523
- "speaker-active": 59162,
8537
+ "speaker-active": 59163,
8524
8538
  speaker: speaker,
8525
- "star-award": 59164,
8526
- "star-badge": 59165,
8527
- "star-circle": 59166,
8528
- "star-medal": 59167,
8539
+ "star-award": 59165,
8540
+ "star-badge": 59166,
8541
+ "star-circle": 59167,
8542
+ "star-medal": 59168,
8529
8543
  star: star,
8530
- "steps-circle": 59169,
8544
+ "steps-circle": 59170,
8531
8545
  stopwatch: stopwatch,
8532
8546
  suitcase: suitcase,
8533
8547
  surfing: surfing,
8534
8548
  survey: survey,
8535
- "swag-pillar-benefit": 59174,
8536
- "swag-pillar-career": 59175,
8537
- "swag-pillar-money": 59176,
8538
- "swag-pillar-work": 59177,
8549
+ "swag-pillar-benefit": 59175,
8550
+ "swag-pillar-career": 59176,
8551
+ "swag-pillar-money": 59177,
8552
+ "swag-pillar-work": 59178,
8539
8553
  swag: swag,
8540
- "swipe-right": 59179,
8541
- "switch": 59180,
8554
+ "swipe-right": 59180,
8555
+ "switch": 59181,
8542
8556
  tag: tag,
8543
8557
  target: target,
8544
8558
  teams: teams,
8545
- "thumb-down": 59184,
8546
- "thumb-up": 59185,
8559
+ "thumb-down": 59185,
8560
+ "thumb-up": 59186,
8547
8561
  timesheet: timesheet,
8548
- "touch-id": 59187,
8549
- "trash-bin": 59188,
8562
+ "touch-id": 59188,
8563
+ "trash-bin": 59189,
8550
8564
  unlock: unlock,
8551
8565
  user: user,
8552
- "video-1": 59191,
8553
- "video-2": 59192,
8566
+ "video-1": 59192,
8567
+ "video-2": 59193,
8554
8568
  wallet: wallet,
8555
8569
  warning: warning,
8556
- "academic-hat-outlined": 59195,
8557
- "accommodation-outlined": 59196,
8558
- "activate-outlined": 59197,
8559
- "add-credit-card-outlined": 59198,
8560
- "add-person-outlined": 59199,
8561
- "add-section-outlined": 59200,
8562
- "add-time-outlined": 59201,
8570
+ "academic-hat-outlined": 59196,
8571
+ "accommodation-outlined": 59197,
8572
+ "activate-outlined": 59198,
8573
+ "add-credit-card-outlined": 59199,
8574
+ "add-person-outlined": 59200,
8575
+ "add-section-outlined": 59201,
8576
+ "add-time-outlined": 59202,
8563
8577
  add: add,
8564
- "adjustment-outlined": 59203,
8565
- "afternoon-outlined": 59204,
8566
- "ai-outlined": 59205,
8567
- "alignment-2-outlined": 59206,
8568
- "alignment-outlined": 59207,
8569
- "all-caps": 59208,
8570
- "application-outlined": 59209,
8571
- "arrow-down": 59210,
8572
- "arrow-downwards": 59211,
8573
- "arrow-left": 59212,
8574
- "arrow-leftwards": 59213,
8575
- "arrow-right": 59214,
8576
- "arrow-rightwards": 59215,
8577
- "arrow-up": 59216,
8578
- "arrow-upwards": 59217,
8579
- "article-outlined": 59218,
8580
- "at-sign": 59219,
8581
- "auto-graph-outlined": 59220,
8582
- "automotive-outlined": 59221,
8583
- "bakery-outlined": 59222,
8584
- "bar-outlined": 59223,
8585
- "beauty-outlined": 59224,
8586
- "beer-outlined": 59225,
8587
- "bell-active-outlined": 59226,
8588
- "bell-outlined": 59227,
8589
- "bell-slash-outlined": 59228,
8590
- "bill-management-outlined": 59229,
8591
- "billing-outlined": 59230,
8592
- "body-outlined": 59231,
8578
+ "adjustment-outlined": 59204,
8579
+ "afternoon-outlined": 59205,
8580
+ "ai-outlined": 59206,
8581
+ "alignment-2-outlined": 59207,
8582
+ "alignment-outlined": 59208,
8583
+ "all-caps": 59209,
8584
+ "application-outlined": 59210,
8585
+ "arrow-down": 59211,
8586
+ "arrow-downwards": 59212,
8587
+ "arrow-left": 59213,
8588
+ "arrow-leftwards": 59214,
8589
+ "arrow-right": 59215,
8590
+ "arrow-rightwards": 59216,
8591
+ "arrow-up": 59217,
8592
+ "arrow-upwards": 59218,
8593
+ "article-outlined": 59219,
8594
+ "at-sign": 59220,
8595
+ "auto-graph-outlined": 59221,
8596
+ "automotive-outlined": 59222,
8597
+ "bakery-outlined": 59223,
8598
+ "bar-outlined": 59224,
8599
+ "beauty-outlined": 59225,
8600
+ "beer-outlined": 59226,
8601
+ "bell-active-outlined": 59227,
8602
+ "bell-outlined": 59228,
8603
+ "bell-slash-outlined": 59229,
8604
+ "bill-management-outlined": 59230,
8605
+ "billing-outlined": 59231,
8606
+ "body-outlined": 59232,
8593
8607
  bold: bold,
8594
- "bolt-outlined": 59233,
8595
- "book-outlined": 59234,
8596
- "bookmark-added-outlined": 59235,
8597
- "bookmark-checked-outlined": 59236,
8598
- "bookmark-outlined": 59237,
8599
- "box-1-outlined": 59238,
8600
- "box-check-outlined": 59239,
8601
- "box-outlined": 59240,
8602
- "bullet-points": 59241,
8603
- "cake-outlined": 59242,
8604
- "calculator-outlined": 59243,
8605
- "calendar-dates-outlined": 59244,
8606
- "calendar-star-outlined": 59245,
8607
- "call-outlined": 59246,
8608
- "call-split-outlined": 59247,
8609
- "camera-outlined": 59248,
8608
+ "bolt-outlined": 59234,
8609
+ "book-outlined": 59235,
8610
+ "bookmark-added-outlined": 59236,
8611
+ "bookmark-checked-outlined": 59237,
8612
+ "bookmark-outlined": 59238,
8613
+ "box-1-outlined": 59239,
8614
+ "box-check-outlined": 59240,
8615
+ "box-outlined": 59241,
8616
+ "bullet-points": 59242,
8617
+ "cake-outlined": 59243,
8618
+ "calculator-outlined": 59244,
8619
+ "calendar-dates-outlined": 59245,
8620
+ "calendar-star-outlined": 59246,
8621
+ "call-outlined": 59247,
8622
+ "call-split-outlined": 59248,
8623
+ "camera-outlined": 59249,
8610
8624
  cancel: cancel,
8611
- "car-forward-outlined": 59250,
8612
- "cashback-outlined": 59251,
8613
- "charging-station-outlined": 59252,
8614
- "chat-bubble-outlined": 59253,
8615
- "chat-unread-outlined": 59254,
8625
+ "car-forward-outlined": 59251,
8626
+ "cashback-outlined": 59252,
8627
+ "charging-station-outlined": 59253,
8628
+ "chat-bubble-outlined": 59254,
8629
+ "chat-unread-outlined": 59255,
8616
8630
  checkmark: checkmark,
8617
- "circle-add-outlined": 59256,
8618
- "circle-cancel-outlined": 59257,
8619
- "circle-down-outlined": 59258,
8620
- "circle-info-outlined": 59259,
8621
- "circle-left-outlined": 59260,
8622
- "circle-ok-outlined": 59261,
8623
- "circle-question-outlined": 59262,
8624
- "circle-remove-outlined": 59263,
8625
- "circle-right-outlined": 59264,
8626
- "circle-up-outlined": 59265,
8627
- "circle-warning-outlined": 59266,
8628
- "clock-2-outlined": 59267,
8629
- "clock-in-outlined": 59268,
8630
- "clock-out-outlined": 59269,
8631
- "clock-outlined": 59270,
8632
- "cog-outlined": 59271,
8633
- "coin-outlined": 59272,
8634
- "coin-super-outlined": 59273,
8635
- "comment-outlined": 59274,
8636
- "contacts-outlined": 59275,
8637
- "contacts-user-outlined": 59276,
8638
- "credit-card-outlined": 59277,
8639
- "cultural-site-outlined": 59278,
8640
- "cup-outlined": 59279,
8641
- "dentistry-outlined": 59280,
8642
- "direction-arrows-outlined": 59281,
8643
- "directory-outlined": 59282,
8644
- "document-outlined": 59283,
8645
- "dollar-box-outlined": 59284,
8646
- "dollar-card-outlined": 59285,
8647
- "dollar-coin-shine-outlined": 59286,
8648
- "dollar-credit-card-outlined": 59287,
8649
- "dollar-sign": 59288,
8650
- "double-buildings-outlined": 59289,
8651
- "double-left-arrows": 59290,
8652
- "double-right-arrows": 59291,
8653
- "download-box-outlined": 59292,
8654
- "download-outlined": 59293,
8655
- "edit-template-outlined": 59294,
8656
- "electronics-outlined": 59295,
8657
- "email-outlined": 59296,
8658
- "end-break-outlined": 59297,
8659
- "enter-arrow": 59298,
8660
- "entertainment-outlined": 59299,
8661
- "envelope-outlined": 59300,
8662
- "evening-outlined": 59301,
8663
- "expense-approval-outlined": 59302,
8664
- "expense-outlined": 59303,
8665
- "explore-outlined": 59304,
8666
- "extension-outlined": 59305,
8667
- "external-link": 59306,
8668
- "eye-invisible-outlined": 59307,
8669
- "eye-outlined": 59308,
8670
- "face-id": 59309,
8671
- "face-meh-outlined": 59310,
8672
- "face-open-smiley-outlined": 59311,
8673
- "face-sad-outlined": 59312,
8674
- "face-smiley-outlined": 59313,
8675
- "fastfood-outlined": 59314,
8676
- "feed-outlined": 59315,
8677
- "file-certified-outlined": 59316,
8678
- "file-clone-outlined": 59317,
8679
- "file-copy-outlined": 59318,
8680
- "file-dispose-outlined": 59319,
8681
- "file-dollar-certified-outlined": 59320,
8682
- "file-dollar-outlined": 59321,
8683
- "file-download-outlined": 59322,
8684
- "file-export-outlined": 59323,
8685
- "file-lock-outlined": 59324,
8686
- "file-outlined": 59325,
8687
- "file-pound-outlined": 59326,
8688
- "file-search-outlined": 59327,
8689
- "file-secured-outlined": 59328,
8690
- "file-statutory-outlined": 59329,
8691
- "file-verified-outlined": 59330,
8692
- "filter-outlined": 59331,
8693
- "fitness-outlined": 59332,
8694
- "folder-outlined": 59333,
8695
- "folder-upload-outlined": 59334,
8696
- "folder-user-outlined": 59335,
8697
- "form-outlined": 59336,
8698
- "funnel-filter-outline": 59337,
8699
- "goal-outlined": 59338,
8700
- "graph-outlined": 59339,
8701
- "grocery-outlined": 59340,
8702
- "hand-holding-user-outlined": 59341,
8703
- "handshake-outlined": 59342,
8704
- "happy-sun-outlined": 59343,
8705
- "health-bag-outlined": 59344,
8706
- "heart-outlined": 59345,
8707
- "home-active-outlined": 59346,
8708
- "home-outlined": 59347,
8709
- "id-card-outlined": 59348,
8710
- "image-outlined": 59349,
8711
- "import-outlined": 59350,
8712
- "instapay-outlined": 59351,
8631
+ "circle-add-outlined": 59257,
8632
+ "circle-cancel-outlined": 59258,
8633
+ "circle-down-outlined": 59259,
8634
+ "circle-info-outlined": 59260,
8635
+ "circle-left-outlined": 59261,
8636
+ "circle-ok-outlined": 59262,
8637
+ "circle-question-outlined": 59263,
8638
+ "circle-remove-outlined": 59264,
8639
+ "circle-right-outlined": 59265,
8640
+ "circle-up-outlined": 59266,
8641
+ "circle-warning-outlined": 59267,
8642
+ "clock-2-outlined": 59268,
8643
+ "clock-in-outlined": 59269,
8644
+ "clock-out-outlined": 59270,
8645
+ "clock-outlined": 59271,
8646
+ "cog-outlined": 59272,
8647
+ "coin-outlined": 59273,
8648
+ "coin-super-outlined": 59274,
8649
+ "comment-outlined": 59275,
8650
+ "contacts-outlined": 59276,
8651
+ "contacts-user-outlined": 59277,
8652
+ "credit-card-outlined": 59278,
8653
+ "cultural-site-outlined": 59279,
8654
+ "cup-outlined": 59280,
8655
+ "dentistry-outlined": 59281,
8656
+ "diamond-outlined": 59282,
8657
+ "direction-arrows-outlined": 59283,
8658
+ "directory-outlined": 59284,
8659
+ "document-outlined": 59285,
8660
+ "dollar-box-outlined": 59286,
8661
+ "dollar-card-outlined": 59287,
8662
+ "dollar-coin-shine-outlined": 59288,
8663
+ "dollar-credit-card-outlined": 59289,
8664
+ "dollar-sign": 59290,
8665
+ "double-buildings-outlined": 59291,
8666
+ "double-left-arrows": 59292,
8667
+ "double-right-arrows": 59293,
8668
+ "download-box-outlined": 59294,
8669
+ "download-outlined": 59295,
8670
+ "edit-template-outlined": 59296,
8671
+ "electronics-outlined": 59297,
8672
+ "email-outlined": 59298,
8673
+ "end-break-outlined": 59299,
8674
+ "enter-arrow": 59300,
8675
+ "entertainment-outlined": 59301,
8676
+ "envelope-outlined": 59302,
8677
+ "evening-outlined": 59303,
8678
+ "expense-approval-outlined": 59304,
8679
+ "expense-outlined": 59305,
8680
+ "explore-outlined": 59306,
8681
+ "extension-outlined": 59307,
8682
+ "external-link": 59308,
8683
+ "eye-invisible-outlined": 59309,
8684
+ "eye-outlined": 59310,
8685
+ "face-id": 59311,
8686
+ "face-meh-outlined": 59312,
8687
+ "face-open-smiley-outlined": 59313,
8688
+ "face-sad-outlined": 59314,
8689
+ "face-smiley-outlined": 59315,
8690
+ "fastfood-outlined": 59316,
8691
+ "feed-outlined": 59317,
8692
+ "file-certified-outlined": 59318,
8693
+ "file-clone-outlined": 59319,
8694
+ "file-copy-outlined": 59320,
8695
+ "file-dispose-outlined": 59321,
8696
+ "file-dollar-certified-outlined": 59322,
8697
+ "file-dollar-outlined": 59323,
8698
+ "file-download-outlined": 59324,
8699
+ "file-export-outlined": 59325,
8700
+ "file-lock-outlined": 59326,
8701
+ "file-outlined": 59327,
8702
+ "file-pound-outlined": 59328,
8703
+ "file-search-outlined": 59329,
8704
+ "file-secured-outlined": 59330,
8705
+ "file-statutory-outlined": 59331,
8706
+ "file-verified-outlined": 59332,
8707
+ "filter-outlined": 59333,
8708
+ "fitness-outlined": 59334,
8709
+ "folder-outlined": 59335,
8710
+ "folder-upload-outlined": 59336,
8711
+ "folder-user-outlined": 59337,
8712
+ "form-outlined": 59338,
8713
+ "funnel-filter-outline": 59339,
8714
+ "goal-outlined": 59340,
8715
+ "graph-outlined": 59341,
8716
+ "grocery-outlined": 59342,
8717
+ "hand-holding-user-outlined": 59343,
8718
+ "handshake-outlined": 59344,
8719
+ "happy-sun-outlined": 59345,
8720
+ "health-bag-outlined": 59346,
8721
+ "heart-outlined": 59347,
8722
+ "home-active-outlined": 59348,
8723
+ "home-outlined": 59349,
8724
+ "id-card-outlined": 59350,
8725
+ "image-outlined": 59351,
8726
+ "import-outlined": 59352,
8727
+ "instapay-outlined": 59353,
8713
8728
  italic: italic,
8714
- "job-search-outlined": 59353,
8715
- "leave-approval-outlined": 59354,
8716
- "lighting-outlined": 59355,
8717
- "link-1": 59356,
8718
- "link-2": 59357,
8719
- "list-outlined": 59358,
8720
- "live-help-outlined": 59359,
8729
+ "job-search-outlined": 59355,
8730
+ "leave-approval-outlined": 59356,
8731
+ "lighting-outlined": 59357,
8732
+ "link-1": 59358,
8733
+ "link-2": 59359,
8734
+ "list-outlined": 59360,
8735
+ "live-help-outlined": 59361,
8721
8736
  local_mall_outlined: local_mall_outlined,
8722
- "location-on-outlined": 59361,
8723
- "location-outlined": 59362,
8724
- "lock-outlined": 59363,
8725
- "locked-file-outlined": 59364,
8726
- "log-out": 59365,
8727
- "mail-outlined": 59366,
8728
- "map-outlined": 59367,
8729
- "media-content-outlined": 59368,
8730
- "menu-close": 59369,
8731
- "menu-expand": 59370,
8732
- "menu-fold-outlined": 59371,
8733
- "menu-unfold-outlined": 59372,
8734
- "moneybag-outlined": 59373,
8735
- "moon-outlined": 59374,
8736
- "more-horizontal": 59375,
8737
- "more-vertical": 59376,
8738
- "morning-outlined": 59377,
8739
- "multiple-folders-outlined": 59378,
8740
- "multiple-users-outlined": 59379,
8741
- "near-me-outlined": 59380,
8742
- "node-outlined": 59381,
8743
- "number-points": 59382,
8737
+ "location-on-outlined": 59363,
8738
+ "location-outlined": 59364,
8739
+ "lock-outlined": 59365,
8740
+ "locked-file-outlined": 59366,
8741
+ "log-out": 59367,
8742
+ "mail-outlined": 59368,
8743
+ "map-outlined": 59369,
8744
+ "media-content-outlined": 59370,
8745
+ "menu-close": 59371,
8746
+ "menu-expand": 59372,
8747
+ "menu-fold-outlined": 59373,
8748
+ "menu-unfold-outlined": 59374,
8749
+ "moneybag-outlined": 59375,
8750
+ "moon-outlined": 59376,
8751
+ "more-horizontal": 59377,
8752
+ "more-vertical": 59378,
8753
+ "morning-outlined": 59379,
8754
+ "multiple-folders-outlined": 59380,
8755
+ "multiple-users-outlined": 59381,
8756
+ "near-me-outlined": 59382,
8757
+ "node-outlined": 59383,
8758
+ "number-points": 59384,
8744
8759
  number: number$2,
8745
- "overview-outlined": 59384,
8746
- "park-outlined": 59385,
8747
- "payment-summary-outlined": 59386,
8748
- "payslip-outlined": 59387,
8749
- "pencil-outlined": 59388,
8760
+ "overview-outlined": 59386,
8761
+ "park-outlined": 59387,
8762
+ "payment-summary-outlined": 59388,
8763
+ "payslip-outlined": 59389,
8764
+ "pencil-outlined": 59390,
8750
8765
  percentage: percentage,
8751
- "phone-outlined": 59390,
8752
- "piggy-bank-outlined": 59391,
8753
- "plane-outlined": 59392,
8754
- "play-circle-outlined": 59393,
8755
- "pound-box-outlined": 59394,
8756
- "pound-card-outlined": 59395,
8757
- "pound-coin-shine-outlined": 59396,
8758
- "pound-credit-card-outlined": 59397,
8759
- "print-outlined": 59398,
8760
- "propane-tank-outlined": 59399,
8761
- "qr-code-outlined": 59400,
8762
- "qualification-outlined": 59401,
8763
- "re-assign": 59402,
8766
+ "phone-outlined": 59392,
8767
+ "piggy-bank-outlined": 59393,
8768
+ "plane-outlined": 59394,
8769
+ "play-circle-outlined": 59395,
8770
+ "pound-box-outlined": 59396,
8771
+ "pound-card-outlined": 59397,
8772
+ "pound-coin-shine-outlined": 59398,
8773
+ "pound-credit-card-outlined": 59399,
8774
+ "print-outlined": 59400,
8775
+ "propane-tank-outlined": 59401,
8776
+ "qr-code-outlined": 59402,
8777
+ "qualification-outlined": 59403,
8778
+ "re-assign": 59404,
8764
8779
  redeem: redeem,
8765
8780
  refresh: refresh,
8766
8781
  remove: remove$1,
8767
- "reply-outlined": 59406,
8782
+ "reply-outlined": 59408,
8768
8783
  restart: restart,
8769
- "restaurant-outlined": 59408,
8770
- "resume-outlined": 59409,
8771
- "return-arrow": 59410,
8772
- "rostering-outlined": 59411,
8773
- "safety-outlined": 59412,
8774
- "save-outlined": 59413,
8775
- "schedule-outlined": 59414,
8776
- "search-outlined": 59415,
8777
- "search-secured-outlined": 59416,
8778
- "send-outlined": 59417,
8779
- "share-1": 59418,
8780
- "share-2": 59419,
8781
- "share-outlined-2": 59420,
8782
- "share-outlined": 59421,
8783
- "shield-check-outlined": 59422,
8784
- "shop-outlined": 59423,
8784
+ "restaurant-outlined": 59410,
8785
+ "resume-outlined": 59411,
8786
+ "return-arrow": 59412,
8787
+ "rocket-launch-outlined": 59413,
8788
+ "rostering-outlined": 59414,
8789
+ "safety-outlined": 59415,
8790
+ "save-outlined": 59416,
8791
+ "schedule-outlined": 59417,
8792
+ "search-outlined": 59418,
8793
+ "search-secured-outlined": 59419,
8794
+ "send-outlined": 59420,
8795
+ "share-1": 59421,
8796
+ "share-2": 59422,
8797
+ "share-outlined-2": 59423,
8798
+ "share-outlined": 59424,
8799
+ "shield-check-outlined": 59425,
8800
+ "shop-outlined": 59426,
8785
8801
  shopping_basket_outlined: shopping_basket_outlined,
8786
- "show-chart-outlined": 59425,
8787
- "single-down-arrow": 59426,
8788
- "single-left-arrow": 59427,
8789
- "single-right-arrow": 59428,
8790
- "single-up-arrow": 59429,
8791
- "smart-match-outlined": 59430,
8792
- "sparkle-outlined": 59431,
8793
- "speaker-active-outlined": 59432,
8794
- "speaker-outlined": 59433,
8795
- "star-circle-outlined": 59434,
8796
- "star-outlined": 59435,
8797
- "start-break-outlined": 59436,
8798
- "stash-outlined": 59437,
8799
- "stopwatch-outlined": 59438,
8802
+ "show-chart-outlined": 59428,
8803
+ "single-down-arrow": 59429,
8804
+ "single-left-arrow": 59430,
8805
+ "single-right-arrow": 59431,
8806
+ "single-up-arrow": 59432,
8807
+ "smart-match-outlined": 59433,
8808
+ "sparkle-outlined": 59434,
8809
+ "speaker-active-outlined": 59435,
8810
+ "speaker-outlined": 59436,
8811
+ "star-circle-outlined": 59437,
8812
+ "star-outlined": 59438,
8813
+ "start-break-outlined": 59439,
8814
+ "stash-outlined": 59440,
8815
+ "stopwatch-outlined": 59441,
8800
8816
  strikethrough: strikethrough,
8801
- "styler-outlined": 59440,
8802
- "suitcase-clock-outlined": 59441,
8803
- "suitcase-outlined": 59442,
8804
- "survey-outlined": 59443,
8805
- "switch-outlined": 59444,
8817
+ "styler-outlined": 59443,
8818
+ "suitcase-clock-outlined": 59444,
8819
+ "suitcase-outlined": 59445,
8820
+ "survey-outlined": 59446,
8821
+ "switch-outlined": 59447,
8806
8822
  sync: sync,
8807
- "tag-outlined": 59446,
8808
- "target-outlined": 59447,
8809
- "tennis-outlined": 59448,
8810
- "thumb-down-outlined": 59449,
8811
- "thumb-up-outlined": 59450,
8812
- "ticket-outlined": 59451,
8813
- "timesheet-outlined": 59452,
8814
- "timesheets-outlined": 59453,
8815
- "today-outlined": 59454,
8823
+ "tag-outlined": 59449,
8824
+ "target-outlined": 59450,
8825
+ "tennis-outlined": 59451,
8826
+ "thumb-down-outlined": 59452,
8827
+ "thumb-up-outlined": 59453,
8828
+ "ticket-outlined": 59454,
8829
+ "timesheet-outlined": 59455,
8830
+ "timesheets-outlined": 59456,
8831
+ "today-outlined": 59457,
8816
8832
  transfer: transfer,
8817
- "transportation-outlined": 59456,
8818
- "trash-bin-outlined": 59457,
8819
- "umbrela-outlined": 59458,
8820
- "unavailability-outlined": 59459,
8833
+ "transportation-outlined": 59459,
8834
+ "trash-bin-outlined": 59460,
8835
+ "umbrela-outlined": 59461,
8836
+ "unavailability-outlined": 59462,
8821
8837
  unavailable: unavailable,
8822
8838
  underline: underline,
8823
- "union-outlined": 59462,
8824
- "unlock-outlined": 59463,
8825
- "upload-outlined": 59464,
8826
- "user-circle-outlined": 59465,
8827
- "user-gear-outlined": 59466,
8828
- "user-outlined": 59467,
8829
- "user-rectangle-outlined": 59468,
8830
- "video-1-outlined": 59469,
8831
- "video-2-outlined": 59470,
8832
- "volunteer-outlined": 59471,
8833
- "wallet-outlined": 59472,
8834
- "wellness-outlined": 59473
8839
+ "union-outlined": 59465,
8840
+ "unlock-outlined": 59466,
8841
+ "upload-outlined": 59467,
8842
+ "user-circle-outlined": 59468,
8843
+ "user-gear-outlined": 59469,
8844
+ "user-outlined": 59470,
8845
+ "user-rectangle-outlined": 59471,
8846
+ "video-1-outlined": 59472,
8847
+ "video-2-outlined": 59473,
8848
+ "volunteer-outlined": 59474,
8849
+ "wallet-outlined": 59475,
8850
+ "wellness-outlined": 59476
8835
8851
  };
8836
8852
 
8837
8853
  var HeroIcon = reactNativeVectorIcons.createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -10308,7 +10324,7 @@ var BottomBarItem = index$c(reactNative.View)({
10308
10324
  flex: 1,
10309
10325
  alignItems: 'center'
10310
10326
  });
10311
- var StyledBottomBarText = index$c(Typography.Caption)(function (_ref3) {
10327
+ var StyledBottomBarText = index$c(Typography.Label)(function (_ref3) {
10312
10328
  var theme = _ref3.theme;
10313
10329
  return {
10314
10330
  marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
@@ -10383,11 +10399,10 @@ var BottomNavigation = function BottomNavigation(_ref) {
10383
10399
  testID: testID
10384
10400
  }, /*#__PURE__*/React__namespace.default.createElement(BottomBarItem, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
10385
10401
  icon: active ? icon : inactiveIcon,
10386
- intent: active ? 'primary' : 'text',
10402
+ intent: active ? 'primary' : 'muted',
10387
10403
  testID: "hero-icon-".concat(icon)
10388
10404
  }), !!title && /*#__PURE__*/React__namespace.default.createElement(StyledBottomBarText, {
10389
- fontWeight: "semi-bold",
10390
- intent: active ? 'primary' : 'body',
10405
+ intent: active ? 'primary' : 'muted',
10391
10406
  numberOfLines: 1
10392
10407
  }, title)));
10393
10408
  }))));
@@ -10479,7 +10494,7 @@ var StyledHeaderWrapper = index$c(reactNative.View)(function (_ref5) {
10479
10494
  paddingHorizontal: theme.__hd__.bottomSheet.space.headerWrapperHorizontalPadding
10480
10495
  };
10481
10496
  });
10482
- var StyledHeader = index$c(reactNative.View)({
10497
+ var StyledHeader$1 = index$c(reactNative.View)({
10483
10498
  flex: 1,
10484
10499
  justifyContent: 'center'
10485
10500
  });
@@ -11189,7 +11204,7 @@ var Header = function Header(_ref) {
11189
11204
  _ref$variant = _ref.variant,
11190
11205
  variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
11191
11206
  var theme = useTheme();
11192
- return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
11207
+ return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, null, /*#__PURE__*/React__namespace.default.createElement(StyledHeaderWrapper, null, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader$1, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
11193
11208
  variant: "regular-bold"
11194
11209
  }, content)) : /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
11195
11210
  style: {
@@ -23242,15 +23257,16 @@ var Portal$1 = Object.assign(Portal, {
23242
23257
  Host: PortalHost
23243
23258
  });
23244
23259
 
23245
- var _excluded$r = ["visible"];
23246
23260
  var DEFAULT_BACKDROP_OPACITY = 0.4;
23247
23261
  var DEFAULT_ANIMATION_CONFIG = {
23248
23262
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
23249
23263
  useNativeDriver: reactNative.Platform.OS !== 'web',
23250
23264
  duration: 400
23251
23265
  };
23252
- var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23266
+ var Modal = function Modal(_ref) {
23253
23267
  var children = _ref.children,
23268
+ _ref$visible = _ref.visible,
23269
+ visible = _ref$visible === void 0 ? true : _ref$visible,
23254
23270
  onShow = _ref.onShow,
23255
23271
  onRequestClose = _ref.onRequestClose,
23256
23272
  testID = _ref.testID,
@@ -23262,56 +23278,58 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23262
23278
  var theme = useTheme();
23263
23279
  var animatedBackdropValue = React.useRef(new reactNative.Animated.Value(0)).current;
23264
23280
  var animatedModalValue = React.useRef(new reactNative.Animated.Value(0)).current;
23265
- // Show or hide the backdrop and modal content
23266
- var animateBackdropAndContent = React.useCallback(function (_ref2) {
23267
- var toValue = _ref2.toValue,
23268
- callback = _ref2.callback;
23269
- if (animationType !== 'none') {
23270
- // Backdrop animation
23271
- if (!transparent) {
23272
- reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
23273
- toValue: toValue
23274
- }, DEFAULT_ANIMATION_CONFIG)).start();
23275
- }
23276
- // Modal content animation
23277
- reactNative.Animated.timing(animatedModalValue, _objectSpread2({
23278
- toValue: toValue
23279
- }, DEFAULT_ANIMATION_CONFIG)).start(callback);
23280
- } else {
23281
- callback === null || callback === void 0 || callback();
23282
- }
23283
- }, [animationType, onShow, transparent]);
23284
- var backdropOpacityAnimation = animatedBackdropValue.interpolate({
23285
- inputRange: [0, 1],
23286
- outputRange: [0, DEFAULT_BACKDROP_OPACITY]
23287
- });
23288
- var modalAnimation = animatedModalValue.interpolate({
23289
- inputRange: [0, 1],
23290
- outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
23291
- });
23292
- React.useImperativeHandle(ref, function () {
23293
- return {
23294
- show: function show() {
23295
- animateBackdropAndContent({
23296
- toValue: 1,
23297
- callback: onShow
23281
+ var _useState = React.useState(visible),
23282
+ _useState2 = _slicedToArray(_useState, 2),
23283
+ mounted = _useState2[0],
23284
+ setMounted = _useState2[1];
23285
+ var previousVisible = React.useRef(false);
23286
+ // Animate in/out based on visible prop
23287
+ React.useEffect(function () {
23288
+ if (visible && !previousVisible.current) {
23289
+ // Show animation
23290
+ setMounted(true);
23291
+ if (animationType !== 'none') {
23292
+ if (!transparent) {
23293
+ reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
23294
+ toValue: 1
23295
+ }, DEFAULT_ANIMATION_CONFIG)).start();
23296
+ }
23297
+ reactNative.Animated.timing(animatedModalValue, _objectSpread2({
23298
+ toValue: 1
23299
+ }, DEFAULT_ANIMATION_CONFIG)).start(function () {
23300
+ onShow === null || onShow === void 0 || onShow();
23298
23301
  });
23299
- },
23300
- hide: function hide(wrapperCallback) {
23301
- animateBackdropAndContent({
23302
- toValue: 0,
23303
- callback: function callback() {
23304
- if (reactNative.Platform.OS === 'ios') {
23305
- onDismiss === null || onDismiss === void 0 || onDismiss();
23306
- }
23307
- wrapperCallback();
23302
+ } else {
23303
+ onShow === null || onShow === void 0 || onShow();
23304
+ }
23305
+ } else if (!visible && previousVisible.current) {
23306
+ // Hide animation
23307
+ if (animationType !== 'none') {
23308
+ if (!transparent) {
23309
+ reactNative.Animated.timing(animatedBackdropValue, _objectSpread2({
23310
+ toValue: 0
23311
+ }, DEFAULT_ANIMATION_CONFIG)).start();
23312
+ }
23313
+ reactNative.Animated.timing(animatedModalValue, _objectSpread2({
23314
+ toValue: 0
23315
+ }, DEFAULT_ANIMATION_CONFIG)).start(function () {
23316
+ setMounted(false);
23317
+ if (reactNative.Platform.OS === 'ios') {
23318
+ onDismiss === null || onDismiss === void 0 || onDismiss();
23308
23319
  }
23309
23320
  });
23321
+ } else {
23322
+ setMounted(false);
23323
+ if (reactNative.Platform.OS === 'ios') {
23324
+ onDismiss === null || onDismiss === void 0 || onDismiss();
23325
+ }
23310
23326
  }
23311
- };
23312
- }, [onDismiss, onShow, animateBackdropAndContent]);
23327
+ }
23328
+ previousVisible.current = visible;
23329
+ }, [visible, animationType, transparent, onShow, onDismiss]);
23313
23330
  // Back button handler
23314
23331
  React.useEffect(function () {
23332
+ if (!visible) return;
23315
23333
  var backHandler = reactNative.BackHandler.addEventListener('hardwareBackPress', function () {
23316
23334
  onRequestClose === null || onRequestClose === void 0 || onRequestClose();
23317
23335
  return true;
@@ -23319,7 +23337,18 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23319
23337
  return function () {
23320
23338
  return backHandler.remove();
23321
23339
  };
23322
- }, [onRequestClose]);
23340
+ }, [visible, onRequestClose]);
23341
+ var backdropOpacityAnimation = animatedBackdropValue.interpolate({
23342
+ inputRange: [0, 1],
23343
+ outputRange: [0, DEFAULT_BACKDROP_OPACITY]
23344
+ });
23345
+ var modalAnimation = animatedModalValue.interpolate({
23346
+ inputRange: [0, 1],
23347
+ outputRange: animationType === 'slide' ? [reactNative.Dimensions.get('window').height, 0] : [0, 1]
23348
+ });
23349
+ if (!visible && !mounted) {
23350
+ return null;
23351
+ }
23323
23352
  return /*#__PURE__*/React__namespace.default.createElement(Portal$1, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
23324
23353
  style: _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
23325
23354
  backgroundColor: transparent ? 'transparent' : theme.colors.overlayGlobalSurface,
@@ -23334,39 +23363,9 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
23334
23363
  }]
23335
23364
  })
23336
23365
  }, children));
23337
- });
23338
- var ModalWrapper = function ModalWrapper(_ref3) {
23339
- var _ref3$visible = _ref3.visible,
23340
- visible = _ref3$visible === void 0 ? true : _ref3$visible,
23341
- props = _objectWithoutProperties(_ref3, _excluded$r);
23342
- var modalRef = React.useRef(null);
23343
- var _useState = React.useState(visible),
23344
- _useState2 = _slicedToArray(_useState, 2),
23345
- internalVisible = _useState2[0],
23346
- setInternalVisible = _useState2[1];
23347
- React.useEffect(function () {
23348
- if (visible) {
23349
- setInternalVisible(true);
23350
- } else {
23351
- var _modalRef$current;
23352
- // Wait for animation to finish before hiding the modal
23353
- (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
23354
- return setInternalVisible(false);
23355
- });
23356
- }
23357
- }, [visible]);
23358
- React.useEffect(function () {
23359
- if (internalVisible) {
23360
- var _modalRef$current2;
23361
- (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
23362
- }
23363
- }, [internalVisible]);
23364
- return internalVisible ? /*#__PURE__*/React__namespace.default.createElement(Modal, _extends$1({
23365
- ref: modalRef
23366
- }, props)) : null;
23367
23366
  };
23368
23367
 
23369
- var StyledErrorModal = index$c(ModalWrapper)({
23368
+ var StyledErrorModal = index$c(Modal)({
23370
23369
  height: '100%',
23371
23370
  width: '100%'
23372
23371
  });
@@ -23458,7 +23457,7 @@ var StyledErrorDescription = index$c(Typography.Body)(function (_ref10) {
23458
23457
  };
23459
23458
  });
23460
23459
 
23461
- var _excluded$q = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23460
+ var _excluded$r = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress", "icon"],
23462
23461
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
23463
23462
  var renderImage$1 = function renderImage(image) {
23464
23463
  if (/*#__PURE__*/React.isValidElement(image)) {
@@ -23499,7 +23498,7 @@ var ErrorPage = function ErrorPage(_ref2) {
23499
23498
  secondaryCtaText = _ref2.secondaryCtaText,
23500
23499
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
23501
23500
  icon = _ref2.icon,
23502
- nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
23501
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$r);
23503
23502
  var showCta = ctaText && onCtaPress !== undefined;
23504
23503
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
23505
23504
  var showButtonContainer = showCta || showSecondaryCta;
@@ -23725,13 +23724,13 @@ var ActionItem = function ActionItem(_ref) {
23725
23724
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
23726
23725
  };
23727
23726
 
23728
- var _excluded$p = ["active"];
23727
+ var _excluded$q = ["active"];
23729
23728
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(/*#__PURE__*/React__namespace.default.forwardRef(function (props, _) {
23730
23729
  return /*#__PURE__*/React__namespace.default.createElement(StyledFABIcon, props);
23731
23730
  }));
23732
23731
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
23733
23732
  var active = _ref.active,
23734
- iconProps = _objectWithoutProperties(_ref, _excluded$p);
23733
+ iconProps = _objectWithoutProperties(_ref, _excluded$q);
23735
23734
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
23736
23735
  React.useEffect(function () {
23737
23736
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -24089,11 +24088,11 @@ var StyledFAB = index$c(FAB$1)(function (_ref) {
24089
24088
  };
24090
24089
  });
24091
24090
 
24092
- var _excluded$o = ["fabConfig", "onCancel"];
24091
+ var _excluded$p = ["fabConfig", "onCancel"];
24093
24092
  var Pair = function Pair(_ref) {
24094
24093
  var fabConfig = _ref.fabConfig,
24095
24094
  onCancel = _ref.onCancel,
24096
- props = _objectWithoutProperties(_ref, _excluded$o);
24095
+ props = _objectWithoutProperties(_ref, _excluded$p);
24097
24096
  var icon = fabConfig.icon,
24098
24097
  title = fabConfig.title,
24099
24098
  onPress = fabConfig.onPress,
@@ -24823,11 +24822,11 @@ var StyledFocusIcon = index$c(Icon)(function (_ref7) {
24823
24822
  };
24824
24823
  });
24825
24824
 
24826
- var _excluded$n = ["style", "testID"];
24825
+ var _excluded$o = ["style", "testID"];
24827
24826
  var MapPinFocussed = function MapPinFocussed(_ref) {
24828
24827
  var style = _ref.style,
24829
24828
  testID = _ref.testID,
24830
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
24829
+ nativeProps = _objectWithoutProperties(_ref, _excluded$o);
24831
24830
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
24832
24831
  style: style,
24833
24832
  testID: testID
@@ -24837,7 +24836,7 @@ var MapPinFocussed = function MapPinFocussed(_ref) {
24837
24836
  }));
24838
24837
  };
24839
24838
 
24840
- var _excluded$m = ["style", "testID", "state", "image", "icon"];
24839
+ var _excluded$n = ["style", "testID", "state", "image", "icon"];
24841
24840
  var getBadgeIconName = function getBadgeIconName(state) {
24842
24841
  var iconMap = {
24843
24842
  idle: undefined,
@@ -24853,7 +24852,7 @@ var MapPin = function MapPin(_ref) {
24853
24852
  state = _ref$state === void 0 ? 'idle' : _ref$state,
24854
24853
  image = _ref.image,
24855
24854
  icon = _ref.icon,
24856
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
24855
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
24857
24856
  var badgeIcon = getBadgeIconName(state);
24858
24857
  return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, _extends$1({}, nativeProps, {
24859
24858
  style: style,
@@ -25174,7 +25173,7 @@ var THEME_INTENT_MAP = {
25174
25173
  'archived-inverted': 'archivedInverted'
25175
25174
  };
25176
25175
 
25177
- var _excluded$l = ["value", "renderValue", "intent", "style", "testID"];
25176
+ var _excluded$m = ["value", "renderValue", "intent", "style", "testID"];
25178
25177
  var defaultRenderValue = function defaultRenderValue(value) {
25179
25178
  return "".concat(value, "%");
25180
25179
  };
@@ -25187,7 +25186,7 @@ var ProgressCircle = function ProgressCircle(_ref) {
25187
25186
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25188
25187
  style = _ref.style,
25189
25188
  testID = _ref.testID,
25190
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25189
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
25191
25190
  var theme = useTheme$1();
25192
25191
  var size = theme.__hd__.progress.sizes.circleDiameter;
25193
25192
  var strokeWidth = theme.__hd__.progress.sizes.circleCompletenessHeight;
@@ -25257,14 +25256,14 @@ var StyledInner = index$c(reactNative.Animated.View)(function (_ref2) {
25257
25256
  };
25258
25257
  });
25259
25258
 
25260
- var _excluded$k = ["value", "intent", "style", "testID"];
25259
+ var _excluded$l = ["value", "intent", "style", "testID"];
25261
25260
  var ProgressBar = function ProgressBar(_ref) {
25262
25261
  var value = _ref.value,
25263
25262
  _ref$intent = _ref.intent,
25264
25263
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
25265
25264
  style = _ref.style,
25266
25265
  testID = _ref.testID,
25267
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
25266
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
25268
25267
  var _useState = React.useState(0),
25269
25268
  _useState2 = _slicedToArray(_useState, 2),
25270
25269
  width = _useState2[0],
@@ -25354,7 +25353,7 @@ var StyledSingleStep = index$c(Box)(function (_ref3) {
25354
25353
  };
25355
25354
  });
25356
25355
 
25357
- var _excluded$j = ["steps", "current", "onLayout"];
25356
+ var _excluded$k = ["steps", "current", "onLayout"];
25358
25357
  var getStepState = function getStepState(current, index) {
25359
25358
  if (index < current) {
25360
25359
  return 'complete';
@@ -25368,7 +25367,7 @@ var ProgressStep = function ProgressStep(_ref) {
25368
25367
  var steps = _ref.steps,
25369
25368
  current = _ref.current,
25370
25369
  onLayout = _ref.onLayout,
25371
- props = _objectWithoutProperties(_ref, _excluded$j);
25370
+ props = _objectWithoutProperties(_ref, _excluded$k);
25372
25371
  var theme = useTheme$1();
25373
25372
  var _React$useState = React__namespace.default.useState(0),
25374
25373
  _React$useState2 = _slicedToArray(_React$useState, 2),
@@ -25403,9 +25402,240 @@ var ProgressStep = function ProgressStep(_ref) {
25403
25402
  }));
25404
25403
  };
25405
25404
 
25405
+ var MIN_PROGRESS_VALUE = 0;
25406
+ var MAX_PROGRESS_VALUE = 100;
25407
+ var SEGMENTED_BAR_ERRORS = {
25408
+ negativeValue: '[Progress.SegmentedBar] value:$value is less than 0',
25409
+ legendDisplayValues: '[Progress.SegmentedBar] legendConfig.displayValues must include a non-null/non-undefined entry for each data series (length must match and no null/undefined values are allowed)'
25410
+ };
25411
+
25412
+ var useValidateSegmentedBarData = function useValidateSegmentedBarData(_ref) {
25413
+ var values = _ref.values,
25414
+ dataLength = _ref.dataLength;
25415
+ var _React$useMemo = React__namespace.default.useMemo(function () {
25416
+ var foundNegativeValue = values.find(function (value) {
25417
+ return value < 0;
25418
+ });
25419
+ return {
25420
+ hasNegativeValue: foundNegativeValue !== undefined,
25421
+ negativeValue: foundNegativeValue
25422
+ };
25423
+ }, [dataLength, values]),
25424
+ hasNegativeValue = _React$useMemo.hasNegativeValue,
25425
+ negativeValue = _React$useMemo.negativeValue;
25426
+ assert(!hasNegativeValue, SEGMENTED_BAR_ERRORS.negativeValue.replace('$value', String(negativeValue)));
25427
+ };
25428
+ var useValidateSegmentedBarLegendDisplayValues = function useValidateSegmentedBarLegendDisplayValues(_ref2) {
25429
+ var dataLength = _ref2.dataLength,
25430
+ legendConfig = _ref2.legendConfig,
25431
+ fallbackValues = _ref2.fallbackValues;
25432
+ var displayValues = legendConfig === null || legendConfig === void 0 ? void 0 : legendConfig.displayValues;
25433
+ var _React$useMemo2 = React__namespace.default.useMemo(function () {
25434
+ if (displayValues === undefined) {
25435
+ return {
25436
+ valuesToUse: fallbackValues,
25437
+ hasLengthMismatch: false,
25438
+ hasEmptyEntry: false
25439
+ };
25440
+ }
25441
+ var isLengthMismatch = displayValues.length !== dataLength;
25442
+ var isEmptyEntry = displayValues.some(function (value) {
25443
+ return value === undefined || value === null;
25444
+ });
25445
+ return {
25446
+ valuesToUse: displayValues,
25447
+ hasLengthMismatch: isLengthMismatch,
25448
+ hasEmptyEntry: isEmptyEntry
25449
+ };
25450
+ }, [dataLength, displayValues, fallbackValues]),
25451
+ valuesToUse = _React$useMemo2.valuesToUse,
25452
+ hasLengthMismatch = _React$useMemo2.hasLengthMismatch,
25453
+ hasEmptyEntry = _React$useMemo2.hasEmptyEntry;
25454
+ assert(!(hasLengthMismatch || hasEmptyEntry), SEGMENTED_BAR_ERRORS.legendDisplayValues);
25455
+ return valuesToUse;
25456
+ };
25457
+
25458
+ var LegendBox = index$c(Box)(function (_ref) {
25459
+ var theme = _ref.theme;
25460
+ return {
25461
+ flexDirection: 'row',
25462
+ alignItems: 'center',
25463
+ flexWrap: 'wrap',
25464
+ marginTop: theme.__hd__.progress.space.segmentedLegendMarginTop
25465
+ };
25466
+ });
25467
+ var LegendItem = index$c(Box)(function (_ref2) {
25468
+ var theme = _ref2.theme;
25469
+ return {
25470
+ flexDirection: 'row',
25471
+ alignItems: 'center',
25472
+ marginRight: theme.__hd__.progress.space.legendGap,
25473
+ marginBottom: theme.__hd__.progress.space.legendGap
25474
+ };
25475
+ });
25476
+ var LegendCircle = index$c(Box)(function (_ref3) {
25477
+ var theme = _ref3.theme,
25478
+ themeColor = _ref3.themeColor;
25479
+ return {
25480
+ width: theme.__hd__.progress.sizes.legendWidth,
25481
+ height: theme.__hd__.progress.sizes.legendHeight,
25482
+ borderRadius: theme.__hd__.progress.radii.legendCircle,
25483
+ backgroundColor: themeColor,
25484
+ marginRight: theme.__hd__.progress.space.legendInnerGap
25485
+ };
25486
+ });
25487
+ var LegendValue = index$c(Box)(function (_ref4) {
25488
+ var theme = _ref4.theme;
25489
+ return {
25490
+ marginLeft: theme.__hd__.progress.space.legendInnerGap
25491
+ };
25492
+ });
25493
+
25494
+ var getTextComponent = function getTextComponent(content, textElement) {
25495
+ if (!content) {
25496
+ return null;
25497
+ }
25498
+ if (typeof content === 'string' || typeof content === 'number') {
25499
+ return textElement;
25500
+ }
25501
+ return content;
25502
+ };
25503
+
25504
+ var ProgressSegmentedBarLegendItem = function ProgressSegmentedBarLegendItem(_ref) {
25505
+ var title = _ref.title,
25506
+ color = _ref.color,
25507
+ displayValue = _ref.displayValue,
25508
+ testID = _ref.testID;
25509
+ var renderedDisplayValue = getTextComponent(displayValue, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
25510
+ intent: "muted"
25511
+ }, displayValue));
25512
+ return /*#__PURE__*/React__namespace.default.createElement(LegendItem, {
25513
+ testID: testID
25514
+ }, /*#__PURE__*/React__namespace.default.createElement(LegendCircle, {
25515
+ themeColor: color
25516
+ }), /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, null, "".concat(title, ":")), renderedDisplayValue ? /*#__PURE__*/React__namespace.default.createElement(LegendValue, null, renderedDisplayValue) : null);
25517
+ };
25518
+
25519
+ var StyledHeader = index$c(Box)(function (_ref) {
25520
+ var theme = _ref.theme;
25521
+ return {
25522
+ flexDirection: 'row',
25523
+ justifyContent: 'space-between',
25524
+ alignItems: 'baseline',
25525
+ flexWrap: 'wrap',
25526
+ marginBottom: theme.__hd__.progress.space.segmentedHeaderMarginBottom
25527
+ };
25528
+ });
25529
+ var StyledTrack = index$c(Box)(function (_ref2) {
25530
+ var theme = _ref2.theme;
25531
+ return {
25532
+ width: '100%',
25533
+ height: theme.__hd__.progress.sizes.barHeight,
25534
+ borderRadius: theme.__hd__.progress.radii["default"],
25535
+ overflow: 'hidden',
25536
+ flexDirection: 'row'
25537
+ };
25538
+ });
25539
+ var StyledSegment = index$c(Box)(function (_ref3) {
25540
+ var themeColor = _ref3.themeColor,
25541
+ themeWidthPercent = _ref3.themeWidthPercent;
25542
+ return {
25543
+ backgroundColor: themeColor,
25544
+ flexGrow: 0,
25545
+ flexShrink: 0,
25546
+ width: "".concat(themeWidthPercent, "%")
25547
+ };
25548
+ });
25549
+
25550
+ var _excluded$j = ["data", "headerConfig", "legendConfig", "style", "testID"];
25551
+ var ProgressSegmentedBar = function ProgressSegmentedBar(_ref) {
25552
+ var data = _ref.data,
25553
+ headerConfig = _ref.headerConfig,
25554
+ legendConfig = _ref.legendConfig,
25555
+ style = _ref.style,
25556
+ testID = _ref.testID,
25557
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
25558
+ var values = React__namespace.default.useMemo(function () {
25559
+ return data.map(function (s) {
25560
+ return s.data;
25561
+ });
25562
+ }, [data]);
25563
+ useValidateSegmentedBarData({
25564
+ dataLength: data.length,
25565
+ values: values
25566
+ });
25567
+ var legendDisplayValues = useValidateSegmentedBarLegendDisplayValues({
25568
+ dataLength: data.length,
25569
+ legendConfig: legendConfig,
25570
+ fallbackValues: values
25571
+ });
25572
+ var theme = useTheme$1();
25573
+ var totalPercent = React__namespace.default.useMemo(function () {
25574
+ return values.reduce(function (acc, value) {
25575
+ return acc + value;
25576
+ }, 0);
25577
+ }, [values]);
25578
+ var ariaValueMax = totalPercent > MAX_PROGRESS_VALUE ? totalPercent : MAX_PROGRESS_VALUE;
25579
+ var remainderPercent = React__namespace.default.useMemo(function () {
25580
+ return totalPercent >= MAX_PROGRESS_VALUE ? 0 : MAX_PROGRESS_VALUE - totalPercent;
25581
+ }, [totalPercent]);
25582
+ // Mock colors
25583
+ var segmentColors = [theme.colors.primary, theme.colors.success, theme.colors.warning, theme.colors.error, theme.colors.info, theme.colors.archived];
25584
+ var headerRight = React__namespace.default.useMemo(function () {
25585
+ return getTextComponent(headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
25586
+ intent: "muted"
25587
+ }, headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right));
25588
+ }, [headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.right]);
25589
+ var showHeader = Boolean((headerConfig === null || headerConfig === void 0 ? void 0 : headerConfig.left) || headerRight);
25590
+ var showLegend = Boolean(legendConfig && Object.keys(legendConfig).length > 0);
25591
+ return /*#__PURE__*/React__namespace.default.createElement(Box, _extends$1({}, nativeProps, {
25592
+ style: style,
25593
+ testID: testID
25594
+ }), showHeader ? /*#__PURE__*/React__namespace.default.createElement(StyledHeader, {
25595
+ testID: testID ? "".concat(testID, "-header") : undefined
25596
+ }, headerConfig !== null && headerConfig !== void 0 && headerConfig.left ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
25597
+ variant: "regular-bold",
25598
+ testID: testID ? "".concat(testID, "-header-left") : undefined
25599
+ }, headerConfig.left) : null, headerRight ? /*#__PURE__*/React__namespace.default.createElement(Box, {
25600
+ testID: testID ? "".concat(testID, "-header-right") : undefined
25601
+ }, headerRight) : null) : null, /*#__PURE__*/React__namespace.default.createElement(StyledTrack, {
25602
+ testID: testID ? "".concat(testID, "-track") : undefined,
25603
+ accessibilityRole: "progressbar",
25604
+ accessibilityValue: {
25605
+ min: MIN_PROGRESS_VALUE,
25606
+ max: ariaValueMax,
25607
+ now: totalPercent
25608
+ }
25609
+ }, data.map(function (s, index) {
25610
+ var segmentColor = segmentColors[index % segmentColors.length];
25611
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
25612
+ key: "".concat(s.label, "-").concat(segmentColor),
25613
+ themeColor: segmentColor,
25614
+ themeWidthPercent: s.data,
25615
+ testID: testID ? "".concat(testID, "-segment-").concat(s.label) : undefined
25616
+ });
25617
+ }), remainderPercent > 0 ? /*#__PURE__*/React__namespace.default.createElement(StyledSegment, {
25618
+ key: "remainder",
25619
+ themeColor: theme.__hd__.progress.colors.segmentedRemainderBackground,
25620
+ themeWidthPercent: remainderPercent,
25621
+ testID: testID ? "".concat(testID, "-segment-remainder") : undefined
25622
+ }) : null), showLegend ? /*#__PURE__*/React__namespace.default.createElement(LegendBox, {
25623
+ testID: testID ? "".concat(testID, "-legend") : 'segmented-progress-legend'
25624
+ }, data.map(function (item, index) {
25625
+ return /*#__PURE__*/React__namespace.default.createElement(ProgressSegmentedBarLegendItem, {
25626
+ key: "".concat(item.label, "-").concat(segmentColors[index % segmentColors.length]),
25627
+ title: item.label,
25628
+ color: segmentColors[index % segmentColors.length],
25629
+ displayValue: legendDisplayValues[index],
25630
+ testID: testID ? "".concat(testID, "-legend-").concat(item.label) : undefined
25631
+ });
25632
+ })) : null);
25633
+ };
25634
+
25406
25635
  var Progress = {
25407
25636
  Circle: ProgressCircle,
25408
25637
  Bar: ProgressBar,
25638
+ SegmentedBar: ProgressSegmentedBar,
25409
25639
  Step: ProgressStep
25410
25640
  };
25411
25641
 
@@ -26773,7 +27003,7 @@ var StyledSuccessButtonSecondary = index$c(CompoundButton)(function (_ref10) {
26773
27003
  marginTop: theme.__hd__.success.space.button.secondaryCTAMarginTop
26774
27004
  };
26775
27005
  });
26776
- var StyledSuccessModal = index$c(ModalWrapper)({
27006
+ var StyledSuccessModal = index$c(Modal)({
26777
27007
  height: '100%',
26778
27008
  width: '100%'
26779
27009
  });
@@ -27517,10 +27747,10 @@ var ScrollableTabHeader = function ScrollableTabHeader(_ref2) {
27517
27747
  badge = tab.badge;
27518
27748
  var active = selectedIndex === index;
27519
27749
  var activeAnimated = tabsAnims[index];
27520
- var outlineScale = active ? activeAnimated.interpolate({
27750
+ var outlineScale = activeAnimated.interpolate({
27521
27751
  inputRange: [0, 1],
27522
27752
  outputRange: [0.5, 1]
27523
- }) : 0;
27753
+ });
27524
27754
  var inactiveItem = originalInactiveItem !== null && originalInactiveItem !== void 0 ? originalInactiveItem : activeItem;
27525
27755
  var tabItem = getTabItem$1({
27526
27756
  item: active ? activeItem : inactiveItem,
@@ -27598,7 +27828,8 @@ var ScrollableTab = function ScrollableTab(_ref) {
27598
27828
  swipeEnabled = _ref$swipeEnabled === void 0 ? true : _ref$swipeEnabled,
27599
27829
  componentTestID = _ref.testID,
27600
27830
  _ref$variant = _ref.variant,
27601
- variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant;
27831
+ variant = _ref$variant === void 0 ? 'highlighted' : _ref$variant,
27832
+ header = _ref.header;
27602
27833
  var pagerViewRef = React.useRef(null);
27603
27834
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
27604
27835
  var selectedTabIndex = tabs.findIndex(function (item) {
@@ -27629,20 +27860,23 @@ var ScrollableTab = function ScrollableTab(_ref) {
27629
27860
  selectedTabKey: selectedTabKey
27630
27861
  };
27631
27862
  }, [selectedTabKey]);
27863
+ var headerProps = React.useMemo(function () {
27864
+ return {
27865
+ tabs: tabs,
27866
+ selectedIndex: selectedTabIndex,
27867
+ onTabPress: onTabPress,
27868
+ barStyle: barStyle,
27869
+ insets: insets,
27870
+ testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
27871
+ variant: variant
27872
+ };
27873
+ }, [tabs, selectedTabIndex, onTabPress, barStyle, insets, componentTestID, variant]);
27632
27874
  return /*#__PURE__*/React__namespace.default.createElement(TabContext.Provider, {
27633
27875
  value: tabContextProviderValue
27634
27876
  }, /*#__PURE__*/React__namespace.default.createElement(TabContainer, {
27635
27877
  style: containerStyle,
27636
27878
  testID: componentTestID
27637
- }, /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, {
27638
- tabs: tabs,
27639
- selectedIndex: selectedTabIndex,
27640
- onTabPress: onTabPress,
27641
- barStyle: barStyle,
27642
- insets: insets,
27643
- testID: componentTestID ? "".concat(componentTestID, "-tab-bar") : undefined,
27644
- variant: variant
27645
- }), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
27879
+ }, header ? header(headerProps) : /*#__PURE__*/React__namespace.default.createElement(ScrollableTabHeader, headerProps), /*#__PURE__*/React__namespace.default.createElement(PagerView__default.default, {
27646
27880
  initialPage: selectedTabIndex,
27647
27881
  ref: pagerViewRef,
27648
27882
  onPageScrollStateChanged: onPageScrollStateChanged,
@@ -27819,6 +28053,7 @@ var Tabs = function Tabs(_ref2) {
27819
28053
  };
27820
28054
  var index$2 = Object.assign(Tabs, {
27821
28055
  Scroll: ScrollableTab,
28056
+ ScrollHeader: ScrollableTabHeader,
27822
28057
  useIsFocused: useIsFocused
27823
28058
  });
27824
28059