@hero-design/rn 8.68.0-alpha.1 → 8.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (392) hide show
  1. package/.turbo/turbo-build.log +8 -0
  2. package/CHANGELOG.md +27 -0
  3. package/es/index.js +706 -188
  4. package/lib/index.js +707 -187
  5. package/package.json +2 -2
  6. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
  7. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
  8. package/src/components/Alert/StyledAlert.tsx +24 -2
  9. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +150 -30
  10. package/src/components/Alert/index.tsx +15 -10
  11. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +18 -18
  12. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -2
  13. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +1 -1
  14. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  15. package/src/components/Badge/StyledBadge.tsx +13 -5
  16. package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +129 -13
  18. package/src/components/Badge/index.tsx +8 -2
  19. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  20. package/src/components/BottomSheet/Header.tsx +50 -27
  21. package/src/components/BottomSheet/StyledBottomSheet.tsx +35 -8
  22. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +352 -1
  23. package/src/components/BottomSheet/__tests__/index.spec.tsx +30 -0
  24. package/src/components/BottomSheet/index.tsx +47 -30
  25. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  27. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +21 -21
  28. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +12 -12
  29. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  30. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  31. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  32. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
  33. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
  34. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
  35. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
  36. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  37. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +2 -2
  38. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  39. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
  40. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  41. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
  42. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  43. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  44. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  45. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  46. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
  47. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  48. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  49. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  50. package/src/components/Progress/ProgressStep.tsx +87 -0
  51. package/src/components/Progress/StyledStep.tsx +48 -0
  52. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +214 -5
  53. package/src/components/Progress/__tests__/index.spec.js +26 -0
  54. package/src/components/Progress/index.tsx +6 -1
  55. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
  56. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
  57. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  58. package/src/components/Search/SearchOneLine.tsx +196 -0
  59. package/src/components/Search/SearchSuffixIcon.tsx +37 -0
  60. package/src/components/Search/SearchTwoLine.tsx +64 -0
  61. package/src/components/Search/StyledSearch.tsx +67 -0
  62. package/src/components/Search/__tests__/SearchOneLine.spec.tsx +197 -0
  63. package/src/components/Search/__tests__/SearchSuffixIcon.spec.tsx +12 -0
  64. package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +20 -0
  65. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +707 -0
  66. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +134 -0
  67. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +170 -0
  68. package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +115 -0
  69. package/src/components/Search/__tests__/utils.spec.tsx +19 -0
  70. package/src/components/Search/index.tsx +17 -0
  71. package/src/components/Search/utils.tsx +31 -0
  72. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  73. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  74. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
  75. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
  76. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +18 -18
  77. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  78. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
  79. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  80. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  81. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  82. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
  83. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  84. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  85. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
  86. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  87. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
  88. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -9
  89. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +19 -9
  90. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +7 -2
  91. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +24 -9
  92. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
  93. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +2 -2
  94. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
  95. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
  96. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
  97. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  98. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
  99. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  100. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
  101. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  102. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  103. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
  104. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  105. package/src/index.ts +4 -0
  106. package/src/theme/ThemeSwitcher.tsx +2 -12
  107. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +152 -77
  108. package/src/theme/components/alert.ts +14 -5
  109. package/src/theme/components/badge.ts +21 -21
  110. package/src/theme/components/bottomSheet.ts +7 -0
  111. package/src/theme/components/progress.ts +11 -1
  112. package/src/theme/components/search.ts +56 -0
  113. package/src/theme/getTheme.ts +5 -2
  114. package/src/theme/global/colors/__tests__/__snapshots__/swagLight.spec.ts.snap +7 -7
  115. package/src/theme/global/colors/__tests__/__snapshots__/swagLightJobs.spec.ts.snap +50 -0
  116. package/src/theme/global/colors/__tests__/swagLightJobs.spec.ts +7 -0
  117. package/src/theme/global/colors/swagLight.ts +7 -8
  118. package/src/theme/global/colors/swagLightJobs.ts +11 -0
  119. package/src/theme/global/colors/types.ts +4 -0
  120. package/src/theme/global/index.ts +2 -0
  121. package/src/theme/index.ts +2 -0
  122. package/stats/8.67.0/rn-stats.html +4844 -0
  123. package/stats/8.68.0/rn-stats.html +4842 -0
  124. package/stats/8.69.0/rn-stats.html +4842 -0
  125. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  126. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  127. package/types/components/Accordion/index.d.ts +0 -0
  128. package/types/components/Alert/StyledAlert.d.ts +17 -2
  129. package/types/components/Alert/index.d.ts +0 -0
  130. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  131. package/types/components/Attachment/index.d.ts +0 -0
  132. package/types/components/Avatar/Avatar.d.ts +0 -0
  133. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  134. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  135. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  136. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  137. package/types/components/Avatar/index.d.ts +0 -0
  138. package/types/components/Badge/Status.d.ts +0 -0
  139. package/types/components/Badge/StyledBadge.d.ts +4 -0
  140. package/types/components/Badge/index.d.ts +6 -2
  141. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  142. package/types/components/BottomNavigation/index.d.ts +0 -0
  143. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  144. package/types/components/BottomSheet/Footer.d.ts +0 -0
  145. package/types/components/BottomSheet/Header.d.ts +3 -2
  146. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  147. package/types/components/BottomSheet/StyledBottomSheet.d.ts +16 -2
  148. package/types/components/BottomSheet/index.d.ts +5 -1
  149. package/types/components/Box/StyledBox.d.ts +1 -1
  150. package/types/components/Box/config.d.ts +0 -0
  151. package/types/components/Box/index.d.ts +0 -0
  152. package/types/components/Box/types.d.ts +0 -0
  153. package/types/components/Button/Button.d.ts +0 -0
  154. package/types/components/Button/IconButton.d.ts +0 -0
  155. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  156. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  157. package/types/components/Button/StyledButton.d.ts +0 -0
  158. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  159. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  160. package/types/components/Button/index.d.ts +0 -0
  161. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  162. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  163. package/types/components/Calendar/helpers.d.ts +0 -0
  164. package/types/components/Calendar/index.d.ts +0 -0
  165. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  166. package/types/components/Card/DataCard/index.d.ts +0 -0
  167. package/types/components/Card/StyledCard.d.ts +0 -0
  168. package/types/components/Card/index.d.ts +0 -0
  169. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  170. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  171. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  172. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  173. package/types/components/Carousel/contants.d.ts +0 -0
  174. package/types/components/Carousel/index.d.ts +0 -0
  175. package/types/components/Carousel/types.d.ts +0 -0
  176. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  177. package/types/components/Checkbox/index.d.ts +0 -0
  178. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  179. package/types/components/Collapse/index.d.ts +0 -0
  180. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  181. package/types/components/ContentNavigator/index.d.ts +0 -0
  182. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  183. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  184. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  185. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  186. package/types/components/DatePicker/index.d.ts +0 -0
  187. package/types/components/DatePicker/types.d.ts +0 -0
  188. package/types/components/Divider/StyledDivider.d.ts +0 -0
  189. package/types/components/Divider/index.d.ts +0 -0
  190. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  191. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  192. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  193. package/types/components/Drawer/index.d.ts +0 -0
  194. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  195. package/types/components/Empty/index.d.ts +0 -0
  196. package/types/components/Error/StyledError.d.ts +0 -0
  197. package/types/components/Error/index.d.ts +0 -0
  198. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  199. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  200. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  201. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  202. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  203. package/types/components/FAB/FAB.d.ts +0 -0
  204. package/types/components/FAB/StyledFAB.d.ts +0 -0
  205. package/types/components/FAB/index.d.ts +0 -0
  206. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  207. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  208. package/types/components/Icon/IconList.d.ts +0 -0
  209. package/types/components/Icon/index.d.ts +0 -0
  210. package/types/components/Icon/utils.d.ts +0 -0
  211. package/types/components/Image/index.d.ts +0 -0
  212. package/types/components/List/BasicListItem.d.ts +0 -0
  213. package/types/components/List/ListItem.d.ts +0 -0
  214. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  215. package/types/components/List/StyledListItem.d.ts +0 -0
  216. package/types/components/List/index.d.ts +0 -0
  217. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  218. package/types/components/PageControl/index.d.ts +0 -0
  219. package/types/components/PinInput/PinCell.d.ts +0 -0
  220. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  221. package/types/components/PinInput/index.d.ts +0 -0
  222. package/types/components/Progress/ProgressBar.d.ts +0 -0
  223. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  224. package/types/components/Progress/ProgressStep.d.ts +20 -0
  225. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  226. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  227. package/types/components/Progress/StyledStep.d.ts +21 -0
  228. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  229. package/types/components/Progress/constants.d.ts +0 -0
  230. package/types/components/Progress/index.d.ts +1 -0
  231. package/types/components/Progress/types.d.ts +0 -0
  232. package/types/components/Radio/Radio.d.ts +0 -0
  233. package/types/components/Radio/RadioGroup.d.ts +0 -0
  234. package/types/components/Radio/StyledRadio.d.ts +0 -0
  235. package/types/components/Radio/index.d.ts +0 -0
  236. package/types/components/Radio/types.d.ts +0 -0
  237. package/types/components/RefreshControl/index.d.ts +0 -0
  238. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  239. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  240. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  241. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  242. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  243. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  244. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  245. package/types/components/RichTextEditor/constants.d.ts +0 -0
  246. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  247. package/types/components/RichTextEditor/index.d.ts +0 -0
  248. package/types/components/RichTextEditor/types.d.ts +0 -0
  249. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  250. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  251. package/types/components/Search/SearchOneLine.d.ts +60 -0
  252. package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
  253. package/types/components/Search/SearchTwoLine.d.ts +31 -0
  254. package/types/components/Search/StyledSearch.d.ts +44 -0
  255. package/types/components/Search/index.d.ts +10 -0
  256. package/types/components/Search/utils.d.ts +8 -0
  257. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  258. package/types/components/SectionHeading/index.d.ts +0 -0
  259. package/types/components/Select/BaseOptionList.d.ts +0 -0
  260. package/types/components/Select/Footer.d.ts +0 -0
  261. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  262. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  263. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  264. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  265. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  266. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  267. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  268. package/types/components/Select/StyledSelect.d.ts +0 -0
  269. package/types/components/Select/helpers.d.ts +0 -0
  270. package/types/components/Select/index.d.ts +0 -0
  271. package/types/components/Select/types.d.ts +0 -0
  272. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  273. package/types/components/Skeleton/index.d.ts +0 -0
  274. package/types/components/Slider/index.d.ts +0 -0
  275. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  276. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  277. package/types/components/Spinner/index.d.ts +0 -0
  278. package/types/components/Success/StyledSuccess.d.ts +0 -0
  279. package/types/components/Success/index.d.ts +0 -0
  280. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  281. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  282. package/types/components/Swipeable/index.d.ts +0 -0
  283. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  284. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  285. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  286. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  287. package/types/components/Switch/index.d.ts +0 -0
  288. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  289. package/types/components/Tabs/SceneView.d.ts +0 -0
  290. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  291. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  292. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  293. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  294. package/types/components/Tabs/index.d.ts +0 -0
  295. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  296. package/types/components/Tabs/utils.d.ts +0 -0
  297. package/types/components/Tag/StyledTag.d.ts +0 -0
  298. package/types/components/Tag/index.d.ts +0 -0
  299. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  300. package/types/components/TextInput/index.d.ts +0 -0
  301. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  302. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  303. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  304. package/types/components/TimePicker/index.d.ts +0 -0
  305. package/types/components/TimePicker/types.d.ts +0 -0
  306. package/types/components/Toast/StyledToast.d.ts +0 -0
  307. package/types/components/Toast/Toast.d.ts +0 -0
  308. package/types/components/Toast/ToastContainer.d.ts +0 -0
  309. package/types/components/Toast/ToastContext.d.ts +0 -0
  310. package/types/components/Toast/ToastProvider.d.ts +0 -0
  311. package/types/components/Toast/index.d.ts +0 -0
  312. package/types/components/Toast/types.d.ts +0 -0
  313. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  314. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  315. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  316. package/types/components/Toolbar/index.d.ts +0 -0
  317. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  318. package/types/components/Typography/Text/index.d.ts +0 -0
  319. package/types/components/Typography/index.d.ts +0 -0
  320. package/types/index.d.ts +3 -2
  321. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  322. package/types/theme/ThemeProvider.d.ts +0 -0
  323. package/types/theme/ThemeSwitcher.d.ts +1 -1
  324. package/types/theme/components/accordion.d.ts +0 -0
  325. package/types/theme/components/alert.d.ts +14 -5
  326. package/types/theme/components/attachment.d.ts +0 -0
  327. package/types/theme/components/avatar.d.ts +0 -0
  328. package/types/theme/components/badge.d.ts +21 -21
  329. package/types/theme/components/bottomNavigation.d.ts +0 -0
  330. package/types/theme/components/bottomSheet.d.ts +7 -0
  331. package/types/theme/components/button.d.ts +0 -0
  332. package/types/theme/components/calendar.d.ts +0 -0
  333. package/types/theme/components/card.d.ts +0 -0
  334. package/types/theme/components/cardCarousel.d.ts +0 -0
  335. package/types/theme/components/carousel.d.ts +0 -0
  336. package/types/theme/components/checkbox.d.ts +0 -0
  337. package/types/theme/components/contentNavigator.d.ts +0 -0
  338. package/types/theme/components/datePicker.d.ts +0 -0
  339. package/types/theme/components/divider.d.ts +0 -0
  340. package/types/theme/components/drawer.d.ts +0 -0
  341. package/types/theme/components/empty.d.ts +0 -0
  342. package/types/theme/components/error.d.ts +0 -0
  343. package/types/theme/components/fab.d.ts +0 -0
  344. package/types/theme/components/icon.d.ts +0 -0
  345. package/types/theme/components/image.d.ts +0 -0
  346. package/types/theme/components/list.d.ts +0 -0
  347. package/types/theme/components/pageControl.d.ts +0 -0
  348. package/types/theme/components/pinInput.d.ts +0 -0
  349. package/types/theme/components/progress.d.ts +9 -0
  350. package/types/theme/components/radio.d.ts +0 -0
  351. package/types/theme/components/refreshControl.d.ts +0 -0
  352. package/types/theme/components/richTextEditor.d.ts +0 -0
  353. package/types/theme/components/search.d.ts +38 -0
  354. package/types/theme/components/sectionHeading.d.ts +0 -0
  355. package/types/theme/components/select.d.ts +0 -0
  356. package/types/theme/components/skeleton.d.ts +0 -0
  357. package/types/theme/components/slider.d.ts +0 -0
  358. package/types/theme/components/spinner.d.ts +0 -0
  359. package/types/theme/components/success.d.ts +0 -0
  360. package/types/theme/components/swipeable.d.ts +0 -0
  361. package/types/theme/components/switch.d.ts +0 -0
  362. package/types/theme/components/tabs.d.ts +0 -0
  363. package/types/theme/components/tag.d.ts +0 -0
  364. package/types/theme/components/textInput.d.ts +0 -0
  365. package/types/theme/components/timePicker.d.ts +0 -0
  366. package/types/theme/components/toast.d.ts +0 -0
  367. package/types/theme/components/toolbar.d.ts +0 -0
  368. package/types/theme/components/typography.d.ts +0 -0
  369. package/types/theme/getTheme.d.ts +2 -0
  370. package/types/theme/global/borders.d.ts +0 -0
  371. package/types/theme/global/colors/eBens.d.ts +0 -0
  372. package/types/theme/global/colors/global.d.ts +0 -0
  373. package/types/theme/global/colors/globalDark.d.ts +0 -0
  374. package/types/theme/global/colors/jobs.d.ts +0 -0
  375. package/types/theme/global/colors/swag.d.ts +0 -0
  376. package/types/theme/global/colors/swagDark.d.ts +0 -0
  377. package/types/theme/global/colors/swagLightJobs.d.ts +47 -0
  378. package/types/theme/global/colors/types.d.ts +2 -0
  379. package/types/theme/global/colors/wallet.d.ts +0 -0
  380. package/types/theme/global/colors/work.d.ts +0 -0
  381. package/types/theme/global/index.d.ts +4 -1
  382. package/types/theme/global/scale.d.ts +0 -0
  383. package/types/theme/global/sizes.d.ts +0 -0
  384. package/types/theme/global/space.d.ts +0 -0
  385. package/types/theme/global/typography.d.ts +0 -0
  386. package/types/theme/index.d.ts +2 -2
  387. package/types/types.d.ts +0 -0
  388. package/types/utils/functions.d.ts +0 -0
  389. package/types/utils/helpers.d.ts +0 -0
  390. package/types/utils/hooks.d.ts +0 -0
  391. package/types/utils/scale.d.ts +0 -0
  392. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
package/lib/index.js CHANGED
@@ -1768,7 +1768,7 @@ var palette$4 = Object.assign(Object.assign({}, palette$9), {
1768
1768
  });
1769
1769
  var violet$3 = colorScales.violet;
1770
1770
  var palette$3 = Object.assign(Object.assign({}, palette$9), {
1771
- violet: violet$3.base
1771
+ violetLight90: violet$3.lighten90
1772
1772
  });
1773
1773
  var scarletGum = colorScales.scarletGum,
1774
1774
  violet1 = colorScales.violet1,
@@ -1935,18 +1935,25 @@ var swagDarkBrandSystemPalette = {
1935
1935
  var swagDarkSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette), swagDarkBrandSystemPalette);
1936
1936
 
1937
1937
  var swagBrandSystemPallete = {
1938
- primary: palette$3.violet,
1939
- onPrimary: '#FDFBFF',
1940
- secondary: '#460078',
1938
+ primary: '#460078',
1939
+ onPrimary: '#fdfbff',
1940
+ secondary: '#b382fd',
1941
1941
  onSecondary: palette$3.white,
1942
- defaultSurface: '#FDFBFF',
1943
- highlightedSurface: '#F1E9FB',
1942
+ defaultSurface: '#fdfbff',
1943
+ highlightedSurface: palette$3.violetLight90,
1944
1944
  pressedSurface: '#380060',
1945
- decorativePrimary: '#FDFBFF',
1946
- decorativePrimarySurface: '#DDC8F5'
1945
+ decorativePrimary: '#fdfbff',
1946
+ decorativePrimarySurface: '#dacce4'
1947
1947
  };
1948
1948
  var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), swagBrandSystemPallete);
1949
1949
 
1950
+ var swagLightJobsSystemPalette = _objectSpread2(_objectSpread2({}, swagSystemPalette), {}, {
1951
+ secondary: '#40d1ff',
1952
+ onSecondary: '#460078',
1953
+ decorativeSecondary: '#fdfbff',
1954
+ decorativeSecondarySurface: '#d9f6ff'
1955
+ });
1956
+
1950
1957
  var workBrandSystemPallete = {
1951
1958
  primary: palette.black,
1952
1959
  onPrimary: palette.white,
@@ -2183,11 +2190,20 @@ var getAccordionTheme = function getAccordionTheme(theme) {
2183
2190
 
2184
2191
  var getAlertTheme = function getAlertTheme(theme) {
2185
2192
  var colors = {
2186
- success: theme.colors.success,
2187
- warning: theme.colors.warning,
2188
- error: theme.colors.error,
2189
- info: theme.colors.info,
2190
- notification: theme.colors.defaultGlobalSurface,
2193
+ backgrounds: {
2194
+ success: theme.colors.successSurface,
2195
+ warning: theme.colors.warningSurface,
2196
+ error: theme.colors.errorSurface,
2197
+ info: theme.colors.infoSurface,
2198
+ notification: theme.colors.defaultGlobalSurface
2199
+ },
2200
+ texts: {
2201
+ success: theme.colors.onSuccessSurface,
2202
+ warning: theme.colors.onWarningSurface,
2203
+ error: theme.colors.onErrorSurface,
2204
+ info: theme.colors.onInfoSurface,
2205
+ notification: theme.colors.onDefaultGlobalSurface
2206
+ },
2191
2207
  divider: theme.colors.secondaryOutline
2192
2208
  };
2193
2209
  var sizes = {
@@ -2308,22 +2324,36 @@ var getBadgeTheme = function getBadgeTheme(theme) {
2308
2324
  text: theme.colors.onDarkGlobalSurface
2309
2325
  };
2310
2326
  var fonts = {
2311
- "default": theme.fonts.neutral.semiBold
2327
+ medium: theme.fonts.neutral.regular,
2328
+ small: theme.fonts.neutral.semiBold
2312
2329
  };
2313
2330
  var fontSizes = {
2314
- "default": theme.fontSizes.small
2331
+ medium: theme.fontSizes.small,
2332
+ small: 8
2315
2333
  };
2316
2334
  var lineHeights = {
2317
- "default": theme.lineHeights.small
2335
+ medium: theme.lineHeights.small,
2336
+ small: 10
2318
2337
  };
2319
2338
  var sizes = {
2320
- height: theme.fontSizes.small + theme.sizes.small,
2321
- minWidth: theme.fontSizes.small + theme.sizes.small,
2339
+ medium: {
2340
+ height: theme.sizes.large,
2341
+ minWidth: theme.sizes.large
2342
+ },
2343
+ small: {
2344
+ height: theme.sizes.medium,
2345
+ minWidth: theme.sizes.medium
2346
+ },
2322
2347
  statusHeight: theme.sizes.small,
2323
2348
  statusWidth: theme.sizes.small
2324
2349
  };
2325
2350
  var space = {
2326
- horizontalPadding: theme.space.small,
2351
+ medium: {
2352
+ horizontalPadding: theme.space.small
2353
+ },
2354
+ small: {
2355
+ horizontalPadding: theme.space.xsmall
2356
+ },
2327
2357
  statusPositionTop: -theme.space.xxsmall,
2328
2358
  statusPositionRight: -theme.space.xxsmall
2329
2359
  };
@@ -2369,17 +2399,22 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
2369
2399
  var colors = {
2370
2400
  shadow: theme.colors.primaryOutline,
2371
2401
  background: theme.colors.defaultGlobalSurface,
2372
- backdrop: theme.colors.overlayGlobalSurface
2402
+ backdrop: theme.colors.overlayGlobalSurface,
2403
+ floatingHeaderIconBackground: theme.colors.archivedSurface
2373
2404
  };
2374
2405
  var sizes = {
2375
- closeIcon: theme.sizes.xxxlarge
2406
+ closeIcon: theme.sizes.xxxlarge,
2407
+ floatingCloseIcon: theme.sizes.smallMedium
2376
2408
  };
2377
2409
  var space = {
2378
2410
  headerWrapperVerticalPadding: theme.space.small,
2379
2411
  headerWrapperHorizontalPadding: theme.space.medium,
2380
2412
  closeIconMargin: theme.space.smallMedium,
2381
2413
  footerVerticalPadding: theme.space.xxsmall,
2382
- footerHorizontalPadding: theme.space.smallMedium
2414
+ footerHorizontalPadding: theme.space.smallMedium,
2415
+ floatingContentMargin: theme.space.medium,
2416
+ floatingInnerPadding: theme.space.small,
2417
+ floatingHeaderIconPadding: theme.space.small
2383
2418
  };
2384
2419
  var shadows = {
2385
2420
  offset: {
@@ -2391,7 +2426,9 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
2391
2426
  elevation: 10
2392
2427
  };
2393
2428
  var radii = {
2394
- "default": theme.radii.xlarge
2429
+ "default": theme.radii.xlarge,
2430
+ floating: theme.radii['5xlarge'],
2431
+ floatingHeaderIcon: theme.radii.rounded
2395
2432
  };
2396
2433
  return {
2397
2434
  colors: colors,
@@ -3044,20 +3081,30 @@ var getProgressTheme = function getProgressTheme(theme) {
3044
3081
  dangerInverted: theme.colors.mutedError,
3045
3082
  infoInverted: theme.colors.mutedInfo,
3046
3083
  archivedInverted: theme.colors.mutedArchived
3084
+ },
3085
+ step: {
3086
+ complete: theme.colors.primary,
3087
+ incomplete: theme.colors.archivedSurface,
3088
+ current: '#DACCE4'
3047
3089
  }
3048
3090
  };
3049
3091
  var sizes = {
3050
3092
  circleDiameter: theme.sizes['6xlarge'],
3051
3093
  circleCompletenessHeight: theme.sizes.small,
3052
- barHeight: theme.sizes.small
3094
+ barHeight: theme.sizes.small,
3095
+ stepHeight: theme.sizes.small
3053
3096
  };
3054
3097
  var radii = {
3055
3098
  "default": theme.radii.rounded
3056
3099
  };
3100
+ var space = {
3101
+ stepGap: theme.space.xsmall
3102
+ };
3057
3103
  return {
3058
3104
  colors: colors,
3059
3105
  sizes: sizes,
3060
- radii: radii
3106
+ radii: radii,
3107
+ space: space
3061
3108
  };
3062
3109
  };
3063
3110
 
@@ -3790,9 +3837,55 @@ var getTypographyTheme = function getTypographyTheme(theme) {
3790
3837
  };
3791
3838
  };
3792
3839
 
3840
+ var getSearchTheme = function getSearchTheme(theme) {
3841
+ var colors = {
3842
+ containerBackground: theme.colors.neutralGlobalSurface,
3843
+ surfixBackground: theme.colors.defaultGlobalSurface,
3844
+ text: theme.colors.onDefaultGlobalSurface,
3845
+ borders: theme.colors.primaryOutline
3846
+ };
3847
+ var space = {
3848
+ containerHorizontalPadding: theme.space.small,
3849
+ containerVerticalPadding: theme.space.small,
3850
+ inputHorizontalMargin: theme.space.small,
3851
+ prefixHorizontalPadding: theme.space.xsmall,
3852
+ surfixPadding: theme.space.small,
3853
+ badgeTop: -theme.space.xxsmall,
3854
+ badgeRight: -theme.space.xxsmall
3855
+ };
3856
+ var fonts = {
3857
+ text: theme.fonts.neutral.regular
3858
+ };
3859
+ var fontSizes = {
3860
+ text: theme.fontSizes.large
3861
+ };
3862
+ var borderWidths = {
3863
+ container: {
3864
+ normal: theme.borderWidths.base,
3865
+ focused: theme.borderWidths.medium
3866
+ }
3867
+ };
3868
+ var radii = {
3869
+ container: theme.radii.rounded,
3870
+ surfix: theme.radii.rounded
3871
+ };
3872
+ var sizes = {
3873
+ surfixSize: theme.sizes.xxlarge
3874
+ };
3875
+ return {
3876
+ colors: colors,
3877
+ space: space,
3878
+ fonts: fonts,
3879
+ fontSizes: fontSizes,
3880
+ borderWidths: borderWidths,
3881
+ radii: radii,
3882
+ sizes: sizes
3883
+ };
3884
+ };
3885
+
3793
3886
  var getTheme$1 = function getTheme() {
3794
3887
  var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
3795
- var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette;
3888
+ var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$1;
3796
3889
  var globalTheme = getGlobalTheme(scale, systemPallete);
3797
3890
  return _objectSpread2(_objectSpread2({}, globalTheme), {}, {
3798
3891
  __hd__: {
@@ -3827,6 +3920,7 @@ var getTheme$1 = function getTheme() {
3827
3920
  rate: getRateTheme(globalTheme),
3828
3921
  refreshControl: getRefreshControlTheme(globalTheme),
3829
3922
  richTextEditor: getRichTextEditorTheme(globalTheme),
3923
+ search: getSearchTheme(globalTheme),
3830
3924
  sectionHeading: getSectionHeadingTheme(globalTheme),
3831
3925
  select: getSelectTheme(globalTheme),
3832
3926
  skeleton: getSkeletonTheme(globalTheme),
@@ -5011,7 +5105,7 @@ var useTheme = useTheme$1;
5011
5105
 
5012
5106
  var ThemeSwitcher = function ThemeSwitcher(_ref) {
5013
5107
  var _ref$name = _ref.name,
5014
- name = _ref$name === void 0 ? 'swagLight' : _ref$name,
5108
+ name = _ref$name === void 0 ? 'swag' : _ref$name,
5015
5109
  children = _ref.children;
5016
5110
  var theme = React.useMemo(function () {
5017
5111
  switch (name) {
@@ -5027,8 +5121,6 @@ var ThemeSwitcher = function ThemeSwitcher(_ref) {
5027
5121
  return getTheme$1(scale$1, eBensSystemPalette);
5028
5122
  case 'swagDark':
5029
5123
  return getTheme$1(scale$1, swagDarkSystemPalette);
5030
- case 'swagLight':
5031
- return getTheme$1(scale$1, swagSystemPalette);
5032
5124
  }
5033
5125
  }, [name]);
5034
5126
  return /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
@@ -6920,7 +7012,7 @@ var StyledText$3 = index$9(reactNative.Text)(function (_ref) {
6920
7012
  });
6921
7013
  });
6922
7014
 
6923
- var _excluded$D = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
7015
+ var _excluded$F = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6924
7016
  var Text = function Text(_ref) {
6925
7017
  var children = _ref.children,
6926
7018
  _ref$fontSize = _ref.fontSize,
@@ -6933,7 +7025,7 @@ var Text = function Text(_ref) {
6933
7025
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6934
7026
  _ref$allowFontScaling = _ref.allowFontScaling,
6935
7027
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6936
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
7028
+ nativeProps = _objectWithoutProperties(_ref, _excluded$F);
6937
7029
  useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
6938
7030
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
6939
7031
  themeFontSize: fontSize,
@@ -6963,7 +7055,7 @@ var StyledCaption = index$9(reactNative.Text)(function (_ref) {
6963
7055
  };
6964
7056
  });
6965
7057
 
6966
- var _excluded$C = ["children", "fontWeight", "intent", "allowFontScaling"];
7058
+ var _excluded$E = ["children", "fontWeight", "intent", "allowFontScaling"];
6967
7059
  var Caption = function Caption(_ref) {
6968
7060
  var children = _ref.children,
6969
7061
  _ref$fontWeight = _ref.fontWeight,
@@ -6972,7 +7064,7 @@ var Caption = function Caption(_ref) {
6972
7064
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6973
7065
  _ref$allowFontScaling = _ref.allowFontScaling,
6974
7066
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6975
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
7067
+ nativeProps = _objectWithoutProperties(_ref, _excluded$E);
6976
7068
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
6977
7069
  themeFontWeight: fontWeight,
6978
7070
  themeIntent: intent,
@@ -6991,14 +7083,14 @@ var StyledLabel$1 = index$9(reactNative.Text)(function (_ref) {
6991
7083
  };
6992
7084
  });
6993
7085
 
6994
- var _excluded$B = ["children", "intent", "allowFontScaling"];
7086
+ var _excluded$D = ["children", "intent", "allowFontScaling"];
6995
7087
  var Label = function Label(_ref) {
6996
7088
  var children = _ref.children,
6997
7089
  _ref$intent = _ref.intent,
6998
7090
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6999
7091
  _ref$allowFontScaling = _ref.allowFontScaling,
7000
7092
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7001
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
7093
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
7002
7094
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
7003
7095
  themeIntent: intent,
7004
7096
  allowFontScaling: allowFontScaling
@@ -7019,7 +7111,7 @@ var StyledTitle$1 = index$9(reactNative.Text)(function (_ref) {
7019
7111
  };
7020
7112
  });
7021
7113
 
7022
- var _excluded$A = ["children", "intent", "allowFontScaling", "level", "typeface"];
7114
+ var _excluded$C = ["children", "intent", "allowFontScaling", "level", "typeface"];
7023
7115
  var Title = function Title(_ref) {
7024
7116
  var children = _ref.children,
7025
7117
  _ref$intent = _ref.intent,
@@ -7030,7 +7122,7 @@ var Title = function Title(_ref) {
7030
7122
  level = _ref$level === void 0 ? 'h1' : _ref$level,
7031
7123
  _ref$typeface = _ref.typeface,
7032
7124
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7033
- nativeProps = _objectWithoutProperties(_ref, _excluded$A);
7125
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
7034
7126
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
7035
7127
  themeLevel: level,
7036
7128
  themeTypeface: typeface,
@@ -7051,7 +7143,7 @@ var FONTSIZE_MAP = {
7051
7143
  'regular-bold': 'regular',
7052
7144
  'small-bold': 'small'
7053
7145
  };
7054
- var StyledBody = index$9(reactNative.Text)(function (_ref) {
7146
+ var StyledBody$1 = index$9(reactNative.Text)(function (_ref) {
7055
7147
  var themeIntent = _ref.themeIntent,
7056
7148
  theme = _ref.theme,
7057
7149
  themeTypeface = _ref.themeTypeface,
@@ -7065,7 +7157,7 @@ var StyledBody = index$9(reactNative.Text)(function (_ref) {
7065
7157
  };
7066
7158
  });
7067
7159
 
7068
- var _excluded$z = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7160
+ var _excluded$B = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7069
7161
  var Body = function Body(_ref) {
7070
7162
  var children = _ref.children,
7071
7163
  _ref$intent = _ref.intent,
@@ -7076,8 +7168,8 @@ var Body = function Body(_ref) {
7076
7168
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7077
7169
  _ref$variant = _ref.variant,
7078
7170
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
7079
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
7080
- return /*#__PURE__*/React__namespace.default.createElement(StyledBody, _extends$1({}, nativeProps, {
7171
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
7172
+ return /*#__PURE__*/React__namespace.default.createElement(StyledBody$1, _extends$1({}, nativeProps, {
7081
7173
  themeTypeface: typeface,
7082
7174
  themeIntent: intent,
7083
7175
  themeVariant: variant,
@@ -7643,10 +7735,10 @@ var StyledHeroIcon = index$9(HeroIcon)(function (_ref) {
7643
7735
  };
7644
7736
  });
7645
7737
 
7646
- var _excluded$y = ["style"];
7738
+ var _excluded$A = ["style"];
7647
7739
  var AnimatedIcon = function AnimatedIcon(_ref) {
7648
7740
  var style = _ref.style,
7649
- otherProps = _objectWithoutProperties(_ref, _excluded$y);
7741
+ otherProps = _objectWithoutProperties(_ref, _excluded$A);
7650
7742
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
7651
7743
  React.useEffect(function () {
7652
7744
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -7751,7 +7843,7 @@ var AccordionItem = function AccordionItem(_ref) {
7751
7843
  }, content));
7752
7844
  };
7753
7845
 
7754
- var _excluded$x = ["key"];
7846
+ var _excluded$z = ["key"];
7755
7847
  var Accordion = function Accordion(_ref) {
7756
7848
  var items = _ref.items,
7757
7849
  activeItemKey = _ref.activeItemKey,
@@ -7772,7 +7864,7 @@ var Accordion = function Accordion(_ref) {
7772
7864
  testID: testID
7773
7865
  }, items.map(function (_ref2, index) {
7774
7866
  var key = _ref2.key,
7775
- props = _objectWithoutProperties(_ref2, _excluded$x);
7867
+ props = _objectWithoutProperties(_ref2, _excluded$z);
7776
7868
  var open = _activeItemKey === key;
7777
7869
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
7778
7870
  key: key
@@ -7795,7 +7887,7 @@ var Container$1 = index$9(reactNative.View)(function (_ref) {
7795
7887
  themeIntent = _ref.themeIntent;
7796
7888
  return {
7797
7889
  borderRadius: themeVariant === 'rounded' ? theme.__hd__.alert.radii["default"] : 0,
7798
- backgroundColor: theme.__hd__.alert.colors[themeIntent],
7890
+ backgroundColor: theme.__hd__.alert.colors.backgrounds[themeIntent],
7799
7891
  minHeight: theme.__hd__.alert.sizes.height,
7800
7892
  flexDirection: 'row'
7801
7893
  };
@@ -7807,16 +7899,30 @@ var IconContainer$1 = index$9(reactNative.View)(function (_ref2) {
7807
7899
  paddingLeft: theme.__hd__.alert.space.iconLeftPadding
7808
7900
  };
7809
7901
  });
7810
- var TextContainer$1 = index$9(reactNative.View)(function (_ref3) {
7811
- var theme = _ref3.theme;
7902
+ var StyledIcon$2 = index$9(Icon)(function (_ref3) {
7903
+ var theme = _ref3.theme,
7904
+ themeIntent = _ref3.themeIntent;
7905
+ return {
7906
+ color: theme.__hd__.alert.colors.texts[themeIntent]
7907
+ };
7908
+ });
7909
+ var TextContainer$1 = index$9(reactNative.View)(function (_ref4) {
7910
+ var theme = _ref4.theme;
7812
7911
  return {
7813
7912
  paddingHorizontal: theme.__hd__.alert.space.textPaddingHorizontal,
7814
7913
  flex: 1
7815
7914
  };
7816
7915
  });
7817
- var ContentContainer$1 = index$9(reactNative.View)(function (_ref4) {
7818
- var theme = _ref4.theme,
7819
- showDivider = _ref4.showDivider;
7916
+ var StyledBody = index$9(Typography.Body)(function (_ref5) {
7917
+ var theme = _ref5.theme,
7918
+ themeIntent = _ref5.themeIntent;
7919
+ return {
7920
+ color: theme.__hd__.alert.colors.texts[themeIntent]
7921
+ };
7922
+ });
7923
+ var ContentContainer$1 = index$9(reactNative.View)(function (_ref6) {
7924
+ var theme = _ref6.theme,
7925
+ showDivider = _ref6.showDivider;
7820
7926
  return {
7821
7927
  paddingVertical: theme.__hd__.alert.space.contentPaddingHorizontal,
7822
7928
  flex: 1,
@@ -7825,8 +7931,8 @@ var ContentContainer$1 = index$9(reactNative.View)(function (_ref4) {
7825
7931
  flexDirection: 'row'
7826
7932
  };
7827
7933
  });
7828
- var CTAWrapper$1 = index$9(reactNative.TouchableOpacity)(function (_ref5) {
7829
- var theme = _ref5.theme;
7934
+ var CTAWrapper$1 = index$9(reactNative.TouchableOpacity)(function (_ref7) {
7935
+ var theme = _ref7.theme;
7830
7936
  return {
7831
7937
  paddingHorizontal: theme.__hd__.alert.space.ctaPadding,
7832
7938
  justifyContent: 'center'
@@ -7848,12 +7954,14 @@ var getIntentIcon$1 = function getIntentIcon(intent) {
7848
7954
  }
7849
7955
  };
7850
7956
  var AlertIcon = function AlertIcon(_ref) {
7851
- var icon = _ref.icon;
7957
+ var icon = _ref.icon,
7958
+ intent = _ref.intent;
7852
7959
  return icon ? /*#__PURE__*/React__namespace.default.createElement(IconContainer$1, {
7853
7960
  testID: "alert-left-icon"
7854
- }, /*#__PURE__*/React__namespace.default.createElement(Icon, {
7961
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
7855
7962
  icon: icon,
7856
- size: "small"
7963
+ size: "small",
7964
+ themeIntent: intent
7857
7965
  })) : null;
7858
7966
  };
7859
7967
  var Alert = function Alert(_ref2) {
@@ -7877,23 +7985,28 @@ var Alert = function Alert(_ref2) {
7877
7985
  }, /*#__PURE__*/React__namespace.default.createElement(ContentContainer$1, {
7878
7986
  showDivider: !!onClose
7879
7987
  }, icon !== null ? /*#__PURE__*/React__namespace.default.createElement(AlertIcon, {
7880
- icon: icon || getIntentIcon$1(intent)
7881
- }) : null, /*#__PURE__*/React__namespace.default.createElement(TextContainer$1, null, typeof title === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
7882
- variant: "small-bold"
7883
- }, title) : title, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
7884
- variant: "small"
7988
+ icon: icon || getIntentIcon$1(intent),
7989
+ intent: intent
7990
+ }) : null, /*#__PURE__*/React__namespace.default.createElement(TextContainer$1, null, typeof title === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
7991
+ variant: "small-bold",
7992
+ themeIntent: intent
7993
+ }, title) : title, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
7994
+ variant: "small",
7995
+ themeIntent: intent
7885
7996
  }, content) : content)), onClose ? /*#__PURE__*/React__namespace.default.createElement(CTAWrapper$1, {
7886
7997
  onPress: onClose,
7887
7998
  testID: "alert-close-icon"
7888
- }, typeof actionLabel === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Typography.Body, {
7889
- variant: "small-bold"
7890
- }, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(Icon, {
7999
+ }, typeof actionLabel === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
8000
+ variant: "small-bold",
8001
+ themeIntent: intent
8002
+ }, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
7891
8003
  icon: "cancel",
7892
- size: "small"
8004
+ size: "small",
8005
+ themeIntent: intent
7893
8006
  })) : null);
7894
8007
  };
7895
8008
 
7896
- var StyledContainer$6 = index$9(reactNative.View)({
8009
+ var StyledContainer$7 = index$9(reactNative.View)({
7897
8010
  alignItems: 'center',
7898
8011
  flexDirection: 'row'
7899
8012
  });
@@ -7935,7 +8048,7 @@ var Attachment = function Attachment(_ref) {
7935
8048
  backgroundHighlighted = _ref$backgroundHighli === void 0 ? false : _ref$backgroundHighli,
7936
8049
  style = _ref.style,
7937
8050
  testID = _ref.testID;
7938
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$6, {
8051
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$7, {
7939
8052
  testID: testID,
7940
8053
  style: style
7941
8054
  }, /*#__PURE__*/React__namespace.default.createElement(StyledContentContainer$1, {
@@ -8245,7 +8358,7 @@ var borderWidths = {
8245
8358
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8246
8359
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8247
8360
 
8248
- var _excluded$w = ["theme"];
8361
+ var _excluded$y = ["theme"];
8249
8362
  var getThemeValue = function getThemeValue(theme, key, props) {
8250
8363
  var propConfig = config[key];
8251
8364
  var propValue = props[key];
@@ -8272,18 +8385,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8272
8385
  var configKeys = Object.keys(config);
8273
8386
  var StyledBox = index$9(reactNative.View)(function (_ref5) {
8274
8387
  var theme = _ref5.theme,
8275
- otherProps = _objectWithoutProperties(_ref5, _excluded$w);
8388
+ otherProps = _objectWithoutProperties(_ref5, _excluded$y);
8276
8389
  var styleProps = pick(configKeys, otherProps);
8277
8390
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8278
8391
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8279
8392
  });
8280
8393
 
8281
- var _excluded$v = ["children", "style", "testID"];
8394
+ var _excluded$x = ["children", "style", "testID"];
8282
8395
  var Box = function Box(_ref) {
8283
8396
  var children = _ref.children,
8284
8397
  style = _ref.style,
8285
8398
  testID = _ref.testID,
8286
- otherProps = _objectWithoutProperties(_ref, _excluded$v);
8399
+ otherProps = _objectWithoutProperties(_ref, _excluded$x);
8287
8400
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
8288
8401
  style: style,
8289
8402
  testID: testID
@@ -8463,20 +8576,25 @@ var index$8 = Object.assign(Avatar, {
8463
8576
  var StyledView$2 = index$9(reactNative.Animated.View)(function (_ref) {
8464
8577
  var themeIntent = _ref.themeIntent,
8465
8578
  themePadding = _ref.themePadding,
8579
+ themeSize = _ref.themeSize,
8466
8580
  theme = _ref.theme;
8467
8581
  return {
8468
- height: theme.__hd__.badge.sizes.height,
8469
- minWidth: theme.__hd__.badge.sizes.minWidth,
8582
+ height: theme.__hd__.badge.sizes[themeSize].height,
8583
+ minWidth: theme.__hd__.badge.sizes[themeSize].minWidth,
8470
8584
  alignItems: 'center',
8471
8585
  justifyContent: 'center',
8472
8586
  backgroundColor: theme.__hd__.badge.colors[themeIntent],
8473
8587
  borderRadius: theme.radii.rounded,
8474
- paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
8588
+ paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space[themeSize].horizontalPadding : undefined
8475
8589
  };
8476
8590
  });
8477
8591
  var StyledText$1 = index$9(Typography.Caption)(function (_ref2) {
8478
- var theme = _ref2.theme;
8592
+ var theme = _ref2.theme,
8593
+ themeSize = _ref2.themeSize;
8479
8594
  return {
8595
+ fontSize: theme.__hd__.badge.fontSizes[themeSize],
8596
+ lineHeight: theme.__hd__.badge.lineHeights[themeSize],
8597
+ fontFamily: theme.__hd__.badge.fonts[themeSize],
8480
8598
  color: theme.__hd__.badge.colors.text,
8481
8599
  includeFontPadding: false,
8482
8600
  textAlignVertical: 'center',
@@ -8497,7 +8615,7 @@ var StyledStatus = index$9(reactNative.Animated.View)(function (_ref3) {
8497
8615
  };
8498
8616
  });
8499
8617
 
8500
- var _excluded$u = ["children", "visible", "intent", "style", "testID"];
8618
+ var _excluded$w = ["children", "visible", "intent", "style", "testID"];
8501
8619
  var Status = function Status(_ref) {
8502
8620
  var children = _ref.children,
8503
8621
  _ref$visible = _ref.visible,
@@ -8506,7 +8624,7 @@ var Status = function Status(_ref) {
8506
8624
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8507
8625
  style = _ref.style,
8508
8626
  testID = _ref.testID,
8509
- nativeProps = _objectWithoutProperties(_ref, _excluded$u);
8627
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
8510
8628
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8511
8629
  opacity = _React$useRef.current;
8512
8630
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8539,7 +8657,7 @@ var Status = function Status(_ref) {
8539
8657
  }));
8540
8658
  };
8541
8659
 
8542
- var _excluded$t = ["content", "visible", "max", "intent", "style", "testID"];
8660
+ var _excluded$v = ["content", "visible", "max", "intent", "style", "testID", "size"];
8543
8661
  var DEFAULT_MAX_NUMBER = 99;
8544
8662
  var getPaddingState = function getPaddingState(content) {
8545
8663
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -8554,7 +8672,9 @@ var Badge = function Badge(_ref) {
8554
8672
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8555
8673
  style = _ref.style,
8556
8674
  testID = _ref.testID,
8557
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
8675
+ _ref$size = _ref.size,
8676
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
8677
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
8558
8678
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8559
8679
  opacity = _React$useRef.current;
8560
8680
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8574,6 +8694,7 @@ var Badge = function Badge(_ref) {
8574
8694
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$2, _extends$1({}, nativeProps, {
8575
8695
  themeIntent: intent,
8576
8696
  themePadding: getPaddingState(content),
8697
+ themeSize: size,
8577
8698
  style: [{
8578
8699
  opacity: opacity,
8579
8700
  transform: [{
@@ -8584,7 +8705,9 @@ var Badge = function Badge(_ref) {
8584
8705
  }]
8585
8706
  }, style],
8586
8707
  testID: testID
8587
- }), /*#__PURE__*/React__namespace.default.createElement(StyledText$1, null, content));
8708
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledText$1, {
8709
+ themeSize: size
8710
+ }, content));
8588
8711
  };
8589
8712
  var Badge$1 = Object.assign(Badge, {
8590
8713
  Status: Status
@@ -8641,7 +8764,7 @@ var StyledBottomBarText = index$9(Typography.Caption)(function (_ref3) {
8641
8764
  };
8642
8765
  });
8643
8766
 
8644
- var _excluded$s = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8767
+ var _excluded$u = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8645
8768
  var getInactiveIcon = function getInactiveIcon(icon) {
8646
8769
  var inactiveIcon = "".concat(icon, "-outlined");
8647
8770
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -8652,7 +8775,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
8652
8775
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
8653
8776
  selectedTabKey = _ref.selectedTabKey,
8654
8777
  tabs = _ref.tabs,
8655
- nativeProps = _objectWithoutProperties(_ref, _excluded$s);
8778
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
8656
8779
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
8657
8780
  /**
8658
8781
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -8738,13 +8861,13 @@ var StyledDivider = index$9(reactNative.View)(function (_ref) {
8738
8861
  }, horizontalMargin), verticalMargin);
8739
8862
  });
8740
8863
 
8741
- var _excluded$r = ["marginHorizontal", "marginVertical", "style", "testID"];
8864
+ var _excluded$t = ["marginHorizontal", "marginVertical", "style", "testID"];
8742
8865
  var Divider = function Divider(_ref) {
8743
8866
  var marginHorizontal = _ref.marginHorizontal,
8744
8867
  marginVertical = _ref.marginVertical,
8745
8868
  style = _ref.style,
8746
8869
  testID = _ref.testID,
8747
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
8870
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
8748
8871
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
8749
8872
  themeMarginHorizontal: marginHorizontal,
8750
8873
  themeMarginVertical: marginVertical,
@@ -8764,8 +8887,29 @@ var StyledKeyboardAvoidingView = index$9(reactNative.KeyboardAvoidingView)(funct
8764
8887
  flexDirection: 'column-reverse'
8765
8888
  };
8766
8889
  });
8767
- var StyledBottomSheet = index$9(AnimatedSafeAreaView)(function (_ref) {
8890
+ var StyledFloatingWrapper = index$9(AnimatedSafeAreaView)(function (_ref) {
8768
8891
  var theme = _ref.theme;
8892
+ return {
8893
+ margin: theme.__hd__.bottomSheet.space.floatingContentMargin
8894
+ };
8895
+ });
8896
+ var StyledFloatingBottomSheet = index$9(reactNative.Animated.View)(function (_ref2) {
8897
+ var theme = _ref2.theme;
8898
+ return {
8899
+ width: '100%',
8900
+ shadowColor: theme.__hd__.bottomSheet.colors.shadow,
8901
+ shadowOffset: theme.__hd__.bottomSheet.shadows.offset,
8902
+ shadowOpacity: theme.__hd__.bottomSheet.shadows.opacity,
8903
+ shadowRadius: theme.__hd__.bottomSheet.shadows.radius,
8904
+ elevation: theme.__hd__.bottomSheet.shadows.elevation,
8905
+ backgroundColor: theme.__hd__.bottomSheet.colors.background,
8906
+ borderRadius: theme.__hd__.bottomSheet.radii.floating,
8907
+ maxHeight: '100%',
8908
+ padding: theme.__hd__.bottomSheet.space.floatingInnerPadding
8909
+ };
8910
+ });
8911
+ var StyledBottomSheet = index$9(AnimatedSafeAreaView)(function (_ref3) {
8912
+ var theme = _ref3.theme;
8769
8913
  return {
8770
8914
  borderTopLeftRadius: theme.__hd__.bottomSheet.radii["default"],
8771
8915
  borderTopRightRadius: theme.__hd__.bottomSheet.radii["default"],
@@ -8779,15 +8923,15 @@ var StyledBottomSheet = index$9(AnimatedSafeAreaView)(function (_ref) {
8779
8923
  maxHeight: '94%'
8780
8924
  };
8781
8925
  });
8782
- var StyledBackdrop$2 = index$9(AnimatedPressable$2)(function (_ref2) {
8783
- var theme = _ref2.theme;
8926
+ var StyledBackdrop$2 = index$9(AnimatedPressable$2)(function (_ref4) {
8927
+ var theme = _ref4.theme;
8784
8928
  return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
8785
8929
  backgroundColor: theme.__hd__.bottomSheet.colors.backdrop,
8786
8930
  opacity: 0.4
8787
8931
  });
8788
8932
  });
8789
- var StyledHeaderWrapper = index$9(reactNative.View)(function (_ref3) {
8790
- var theme = _ref3.theme;
8933
+ var StyledHeaderWrapper = index$9(reactNative.View)(function (_ref5) {
8934
+ var theme = _ref5.theme;
8791
8935
  return {
8792
8936
  flexDirection: 'row',
8793
8937
  paddingVertical: theme.__hd__.bottomSheet.space.headerWrapperVerticalPadding,
@@ -8798,8 +8942,8 @@ var StyledHeader = index$9(reactNative.View)({
8798
8942
  flex: 1,
8799
8943
  justifyContent: 'center'
8800
8944
  });
8801
- var StyledFooter = index$9(reactNative.View)(function (_ref4) {
8802
- var theme = _ref4.theme;
8945
+ var StyledFooter = index$9(reactNative.View)(function (_ref6) {
8946
+ var theme = _ref6.theme;
8803
8947
  return {
8804
8948
  paddingHorizontal: theme.__hd__.bottomSheet.space.footerHorizontalPadding,
8805
8949
  paddingVertical: theme.__hd__.bottomSheet.space.footerVerticalPadding,
@@ -8808,16 +8952,24 @@ var StyledFooter = index$9(reactNative.View)(function (_ref4) {
8808
8952
  flexDirection: 'row'
8809
8953
  };
8810
8954
  });
8811
- var StyledIconWrapper$4 = index$9(reactNative.View)(function (_ref5) {
8812
- var theme = _ref5.theme;
8955
+ var StyledIconWrapper$4 = index$9(reactNative.View)(function (_ref7) {
8956
+ var theme = _ref7.theme;
8813
8957
  return {
8814
- alignItems: 'center',
8958
+ alignItems: 'flex-end',
8815
8959
  justifyContent: 'center',
8816
8960
  width: theme.__hd__.bottomSheet.sizes.closeIcon,
8817
8961
  height: theme.__hd__.bottomSheet.sizes.closeIcon,
8818
8962
  marginLeft: theme.__hd__.bottomSheet.space.closeIconMargin
8819
8963
  };
8820
8964
  });
8965
+ var StyledFloatingHeaderWrapper = index$9(reactNative.TouchableOpacity)(function (_ref8) {
8966
+ var theme = _ref8.theme;
8967
+ return {
8968
+ padding: theme.__hd__.bottomSheet.space.floatingHeaderIconPadding,
8969
+ backgroundColor: theme.__hd__.bottomSheet.colors.floatingHeaderIconBackground,
8970
+ borderRadius: theme.__hd__.bottomSheet.radii.floatingHeaderIcon
8971
+ };
8972
+ });
8821
8973
 
8822
8974
  var Footer$1 = function Footer(_ref) {
8823
8975
  var children = _ref.children,
@@ -8825,6 +8977,9 @@ var Footer$1 = function Footer(_ref) {
8825
8977
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, null, showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null, /*#__PURE__*/React__namespace.default.createElement(StyledFooter, null, children));
8826
8978
  };
8827
8979
 
8980
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
8981
+ var noop$1 = function noop() {};
8982
+
8828
8983
  var genLoadingIndicatorStyles = function genLoadingIndicatorStyles(theme, intent) {
8829
8984
  return {
8830
8985
  backgroundColor: theme.__hd__.button.colors[intent]
@@ -8868,7 +9023,7 @@ var StyledLoadingDot = index$9(reactNative.View)(function (_ref) {
8868
9023
  }, themeStyling());
8869
9024
  });
8870
9025
 
8871
- var _excluded$q = ["count", "size", "testID", "themeVariant"];
9026
+ var _excluded$s = ["count", "size", "testID", "themeVariant"];
8872
9027
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
8873
9028
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
8874
9029
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -8900,7 +9055,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
8900
9055
  size = _ref2$size === void 0 ? 12 : _ref2$size,
8901
9056
  testID = _ref2.testID,
8902
9057
  themeVariant = _ref2.themeVariant,
8903
- nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
9058
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$s);
8904
9059
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
8905
9060
  React.useEffect(function () {
8906
9061
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -9311,35 +9466,43 @@ var CompoundButton = Button;
9311
9466
  CompoundButton.Icon = IconButton;
9312
9467
  CompoundButton.Utility = UtilityButton;
9313
9468
 
9314
- // eslint-disable-next-line @typescript-eslint/no-empty-function
9315
- var noop$1 = function noop() {};
9316
-
9317
9469
  var Header = function Header(_ref) {
9318
9470
  var content = _ref.content,
9319
9471
  showDivider = _ref.showDivider,
9320
9472
  _ref$onRequestClose = _ref.onRequestClose,
9321
9473
  onRequestClose = _ref$onRequestClose === void 0 ? noop$1 : _ref$onRequestClose,
9322
- showCloseButton = _ref.showCloseButton;
9474
+ showCloseButton = _ref.showCloseButton,
9475
+ _ref$variant = _ref.variant,
9476
+ variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
9477
+ var theme = useTheme();
9323
9478
  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, {
9324
9479
  variant: "regular-bold"
9325
9480
  }, content)) : /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
9326
9481
  style: {
9327
9482
  flex: 1
9328
9483
  }
9329
- }, content), showCloseButton ? /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$4, null, /*#__PURE__*/React__namespace.default.createElement(CompoundButton.Icon, {
9484
+ }, content), showCloseButton ? /*#__PURE__*/React__namespace.default.createElement(StyledIconWrapper$4, null, variant === 'fixed' ? /*#__PURE__*/React__namespace.default.createElement(CompoundButton.Icon, {
9330
9485
  icon: "cancel",
9331
9486
  onPress: onRequestClose,
9332
9487
  intent: "text",
9333
9488
  testID: "bottom-sheet-close-icon",
9334
9489
  size: "xsmall"
9335
- })) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
9490
+ }) : /*#__PURE__*/React__namespace.default.createElement(StyledFloatingHeaderWrapper, {
9491
+ onPress: onRequestClose,
9492
+ testID: "bottom-sheet-close-icon"
9493
+ }, /*#__PURE__*/React__namespace.default.createElement(Icon, {
9494
+ icon: "cancel",
9495
+ style: {
9496
+ fontSize: theme.__hd__.bottomSheet.sizes.floatingCloseIcon
9497
+ }
9498
+ }))) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
9336
9499
  };
9337
9500
 
9338
- var _excluded$p = ["scrollEventThrottle"];
9501
+ var _excluded$r = ["scrollEventThrottle"];
9339
9502
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
9340
9503
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
9341
9504
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
9342
- props = _objectWithoutProperties(_ref, _excluded$p);
9505
+ props = _objectWithoutProperties(_ref, _excluded$r);
9343
9506
  var _useContext = React.useContext(BottomSheetContext),
9344
9507
  setInternalShowDivider = _useContext.setInternalShowDivider;
9345
9508
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -9385,7 +9548,9 @@ var BottomSheet = function BottomSheet(_ref) {
9385
9548
  _ref$keyboardAvoiding = _ref.keyboardAvoidingViewProps,
9386
9549
  keyboardAvoidingViewProps = _ref$keyboardAvoiding === void 0 ? {} : _ref$keyboardAvoiding,
9387
9550
  _ref$supportedOrienta = _ref.supportedOrientations,
9388
- supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta;
9551
+ supportedOrientations = _ref$supportedOrienta === void 0 ? ['portrait'] : _ref$supportedOrienta,
9552
+ _ref$variant = _ref.variant,
9553
+ variant = _ref$variant === void 0 ? 'fixed' : _ref$variant;
9389
9554
  var _Dimensions$get = reactNative.Dimensions.get('window'),
9390
9555
  height = _Dimensions$get.height;
9391
9556
  // Internal state to control modal open/close timing with animation
@@ -9443,6 +9608,8 @@ var BottomSheet = function BottomSheet(_ref) {
9443
9608
  setInternalShowDivider: setInternalShowDivider
9444
9609
  };
9445
9610
  }, [setInternalShowDivider]);
9611
+ var BottomSheetWrapperComponent = variant === 'fixed' ? React__namespace.default.Fragment : StyledFloatingWrapper;
9612
+ var BottomSheetComponent = variant === 'fixed' ? StyledBottomSheet : StyledFloatingBottomSheet;
9446
9613
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Modal, {
9447
9614
  visible: visible,
9448
9615
  onRequestClose: onRequestClose,
@@ -9459,7 +9626,7 @@ var BottomSheet = function BottomSheet(_ref) {
9459
9626
  opacity: interpolateOpacity
9460
9627
  },
9461
9628
  onPress: onRequestClose
9462
- }), /*#__PURE__*/React__namespace.default.createElement(StyledBottomSheet, {
9629
+ }), /*#__PURE__*/React__namespace.default.createElement(BottomSheetWrapperComponent, null, /*#__PURE__*/React__namespace.default.createElement(BottomSheetComponent, {
9463
9630
  style: [style, {
9464
9631
  transform: [{
9465
9632
  scaleY: height > 0 ? 1 : 0
@@ -9468,6 +9635,7 @@ var BottomSheet = function BottomSheet(_ref) {
9468
9635
  }]
9469
9636
  }]
9470
9637
  }, header !== undefined ? /*#__PURE__*/React__namespace.default.createElement(Header, {
9638
+ variant: variant,
9471
9639
  content: header,
9472
9640
  showDivider: internalShowDivider,
9473
9641
  onRequestClose: onRequestClose,
@@ -9476,7 +9644,7 @@ var BottomSheet = function BottomSheet(_ref) {
9476
9644
  value: BottomSheetContextValue
9477
9645
  }, children), footer ? /*#__PURE__*/React__namespace.default.createElement(Footer$1, {
9478
9646
  showDivider: showDivider
9479
- }, footer) : null))));
9647
+ }, footer) : null)))));
9480
9648
  };
9481
9649
  var BottomSheet$1 = Object.assign(BottomSheet, {
9482
9650
  ScrollView: BottomSheetScrollView
@@ -11797,7 +11965,7 @@ function ContentNavigator(_ref) {
11797
11965
  }));
11798
11966
  }
11799
11967
 
11800
- var StyledContainer$5 = index$9(reactNative.View)(function (_ref) {
11968
+ var StyledContainer$6 = index$9(reactNative.View)(function (_ref) {
11801
11969
  var theme = _ref.theme;
11802
11970
  return {
11803
11971
  backgroundColor: theme.__hd__.calendar.colors.background
@@ -12011,7 +12179,7 @@ var Calendar = function Calendar(_ref) {
12011
12179
  var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
12012
12180
  return date !== undefined;
12013
12181
  }) || maxDate <= lastDateOfMonth;
12014
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
12182
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$6, {
12015
12183
  testID: testID
12016
12184
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarHeader, null, /*#__PURE__*/React__namespace.default.createElement(ContentNavigator, {
12017
12185
  value: !useMonthPicker ? format('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
@@ -12151,12 +12319,12 @@ var Indicator = index$9(reactNative.View)(function (_ref2) {
12151
12319
  };
12152
12320
  });
12153
12321
 
12154
- var _excluded$o = ["intent", "children"];
12322
+ var _excluded$q = ["intent", "children"];
12155
12323
  var DataCard = function DataCard(_ref) {
12156
12324
  var _ref$intent = _ref.intent,
12157
12325
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
12158
12326
  children = _ref.children,
12159
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
12327
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
12160
12328
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
12161
12329
  themeIntent: intent,
12162
12330
  testID: "data-card-indicator"
@@ -12174,11 +12342,11 @@ var StyledCard$1 = index$9(reactNative.View)(function (_ref) {
12174
12342
  });
12175
12343
  });
12176
12344
 
12177
- var _excluded$n = ["intent", "children"];
12345
+ var _excluded$p = ["intent", "children"];
12178
12346
  var Card = function Card(_ref) {
12179
12347
  var intent = _ref.intent,
12180
12348
  children = _ref.children,
12181
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
12349
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
12182
12350
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
12183
12351
  themeIntent: intent
12184
12352
  }), children);
@@ -12439,7 +12607,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12439
12607
  });
12440
12608
  CardCarousel.displayName = 'CardCarousel';
12441
12609
 
12442
- var _excluded$m = ["rounded", "size", "testID", "style"];
12610
+ var _excluded$o = ["rounded", "size", "testID", "style"];
12443
12611
  var Image = function Image(_ref) {
12444
12612
  var _ref$rounded = _ref.rounded,
12445
12613
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -12447,7 +12615,7 @@ var Image = function Image(_ref) {
12447
12615
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
12448
12616
  testID = _ref.testID,
12449
12617
  style = _ref.style,
12450
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$m);
12618
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$o);
12451
12619
  var theme = useTheme();
12452
12620
  var imageSize = theme.__hd__.image.sizes[size];
12453
12621
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Image, _extends$1({
@@ -12581,7 +12749,7 @@ var CarouselItem = function CarouselItem(_ref) {
12581
12749
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
12582
12750
  };
12583
12751
 
12584
- var _excluded$l = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12752
+ var _excluded$n = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12585
12753
  function useStateFromProp(initialValue) {
12586
12754
  var _useState = React.useState(initialValue),
12587
12755
  _useState2 = _slicedToArray(_useState, 2),
@@ -12608,7 +12776,7 @@ var Carousel = function Carousel(_ref) {
12608
12776
  testID = _ref.testID,
12609
12777
  _ref$pageControlPosit = _ref.pageControlPosition,
12610
12778
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
12611
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
12779
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
12612
12780
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
12613
12781
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
12614
12782
  var theme = useTheme();
@@ -12818,7 +12986,7 @@ var StyledIcon$1 = index$9(Icon)(function (_ref4) {
12818
12986
  };
12819
12987
  });
12820
12988
 
12821
- var _excluded$k = ["label", "variant", "selected", "icon", "onPress"];
12989
+ var _excluded$m = ["label", "variant", "selected", "icon", "onPress"];
12822
12990
  var Chip = function Chip(_ref) {
12823
12991
  var label = _ref.label,
12824
12992
  _ref$variant = _ref.variant,
@@ -12827,7 +12995,7 @@ var Chip = function Chip(_ref) {
12827
12995
  selected = _ref$selected === void 0 ? false : _ref$selected,
12828
12996
  icon = _ref.icon,
12829
12997
  onPress = _ref.onPress,
12830
- otherProps = _objectWithoutProperties(_ref, _excluded$k);
12998
+ otherProps = _objectWithoutProperties(_ref, _excluded$m);
12831
12999
  var internalIcon = React__namespace.default.useMemo(function () {
12832
13000
  if (icon && variant === 'filled') {
12833
13001
  return icon;
@@ -12946,7 +13114,7 @@ var Checkbox = function Checkbox(_ref2) {
12946
13114
  })));
12947
13115
  };
12948
13116
 
12949
- var StyledContainer$4 = index$9(reactNative.View)(function (_ref) {
13117
+ var StyledContainer$5 = index$9(reactNative.View)(function (_ref) {
12950
13118
  var theme = _ref.theme;
12951
13119
  return {
12952
13120
  width: '100%',
@@ -13074,8 +13242,8 @@ var StyledErrorAndMaxLengthContainer = index$9(reactNative.View)(function () {
13074
13242
  };
13075
13243
  });
13076
13244
 
13077
- var _excluded$j = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
13078
- var getState$1 = function getState(_ref) {
13245
+ var _excluded$l = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
13246
+ var getState$2 = function getState(_ref) {
13079
13247
  var disabled = _ref.disabled,
13080
13248
  error = _ref.error,
13081
13249
  editable = _ref.editable,
@@ -13111,7 +13279,7 @@ var renderErrorOrHelpText = function renderErrorOrHelpText(_ref2) {
13111
13279
  testID: "input-error-message"
13112
13280
  }, error)) : !!helpText && /*#__PURE__*/React__namespace.default.createElement(StyledHelperText, null, helpText);
13113
13281
  };
13114
- var renderInput = function renderInput(_ref3) {
13282
+ var renderInput$1 = function renderInput(_ref3) {
13115
13283
  var variant = _ref3.variant,
13116
13284
  nativeInputProps = _ref3.nativeInputProps,
13117
13285
  renderInputValue = _ref3.renderInputValue,
@@ -13122,7 +13290,7 @@ var renderInput = function renderInput(_ref3) {
13122
13290
  ref: ref
13123
13291
  }));
13124
13292
  };
13125
- var renderSuffix = function renderSuffix(_ref4) {
13293
+ var renderSuffix$1 = function renderSuffix(_ref4) {
13126
13294
  var state = _ref4.state,
13127
13295
  loading = _ref4.loading,
13128
13296
  suffix = _ref4.suffix;
@@ -13135,7 +13303,7 @@ var renderSuffix = function renderSuffix(_ref4) {
13135
13303
  size: "medium"
13136
13304
  }) : suffix;
13137
13305
  };
13138
- var renderPrefix = function renderPrefix(_ref5) {
13306
+ var renderPrefix$1 = function renderPrefix(_ref5) {
13139
13307
  var state = _ref5.state,
13140
13308
  prefix = _ref5.prefix;
13141
13309
  return typeof prefix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
@@ -13186,7 +13354,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13186
13354
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
13187
13355
  _ref8$variant = _ref8.variant,
13188
13356
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
13189
- nativeProps = _objectWithoutProperties(_ref8, _excluded$j);
13357
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$l);
13190
13358
  var displayText = getDisplayText(value, defaultValue);
13191
13359
  var isEmptyValue = displayText.length === 0;
13192
13360
  var _React$useState = React__namespace.default.useState({
@@ -13208,7 +13376,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13208
13376
  _React$useState8 = _slicedToArray(_React$useState7, 2),
13209
13377
  isFocused = _React$useState8[0],
13210
13378
  setIsFocused = _React$useState8[1];
13211
- var state = getState$1({
13379
+ var state = getState$2({
13212
13380
  disabled: disabled,
13213
13381
  error: error,
13214
13382
  editable: editable,
@@ -13338,7 +13506,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13338
13506
  defaultValue: defaultValue,
13339
13507
  placeholder: isFocused || label === undefined ? nativeProps.placeholder : EMPTY_PLACEHOLDER_VALUE
13340
13508
  });
13341
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
13509
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
13342
13510
  style: styleWithoutBackgroundColor,
13343
13511
  pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
13344
13512
  testID: testID
@@ -13353,7 +13521,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13353
13521
  }, borderStyle]
13354
13522
  }), /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
13355
13523
  onLayout: onPrefixLayout
13356
- }, renderPrefix({
13524
+ }, renderPrefix$1({
13357
13525
  state: state,
13358
13526
  prefix: prefix
13359
13527
  })), /*#__PURE__*/React__namespace.default.createElement(StyledLabelContainerInsideTextInput, {
@@ -13393,14 +13561,14 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13393
13561
  testID: "input-label",
13394
13562
  themeState: state,
13395
13563
  onLayout: onLabelLayout
13396
- }, label)), /*#__PURE__*/React__namespace.default.createElement(StyledTextInputAndLabelContainer, null, renderInput({
13564
+ }, label)), /*#__PURE__*/React__namespace.default.createElement(StyledTextInputAndLabelContainer, null, renderInput$1({
13397
13565
  variant: variant,
13398
13566
  nativeInputProps: nativeInputProps,
13399
13567
  renderInputValue: renderInputValue,
13400
13568
  ref: function ref(rnTextInputRef) {
13401
13569
  innerTextInput.current = rnTextInputRef;
13402
13570
  }
13403
- })), renderSuffix({
13571
+ })), renderSuffix$1({
13404
13572
  state: state,
13405
13573
  loading: loading,
13406
13574
  suffix: suffix
@@ -13731,11 +13899,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
13731
13899
  }))));
13732
13900
  };
13733
13901
 
13734
- var _excluded$i = ["variant"];
13902
+ var _excluded$k = ["variant"];
13735
13903
  var DatePicker = function DatePicker(_ref) {
13736
13904
  var _ref$variant = _ref.variant,
13737
13905
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
13738
- props = _objectWithoutProperties(_ref, _excluded$i);
13906
+ props = _objectWithoutProperties(_ref, _excluded$k);
13739
13907
  if (variant === 'calendar') {
13740
13908
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
13741
13909
  }
@@ -13746,7 +13914,7 @@ var DatePicker = function DatePicker(_ref) {
13746
13914
  };
13747
13915
 
13748
13916
  var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
13749
- var StyledContainer$3 = index$9(reactNative.View)(function (_ref) {
13917
+ var StyledContainer$4 = index$9(reactNative.View)(function (_ref) {
13750
13918
  var theme = _ref.theme,
13751
13919
  enableShadow = _ref.enableShadow;
13752
13920
  return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
@@ -13802,7 +13970,7 @@ var StyledDragableDrawerContainer = index$9(reactNative.Animated.View)(function
13802
13970
  maxHeight: '100%'
13803
13971
  };
13804
13972
  });
13805
- var StyledHandlerContainer = index$9(reactNative.View)(function (_ref6) {
13973
+ var StyledHandlerContainer$1 = index$9(reactNative.View)(function (_ref6) {
13806
13974
  var theme = _ref6.theme;
13807
13975
  return {
13808
13976
  backgroundColor: theme.__hd__.drawer.colors.background,
@@ -13970,7 +14138,7 @@ var DragableDrawer = function DragableDrawer(_ref) {
13970
14138
  var nativeEvent = _ref3.nativeEvent;
13971
14139
  setHeight(nativeEvent.layout.height);
13972
14140
  }
13973
- }, /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer, panResponder.panHandlers, /*#__PURE__*/React__namespace.default.createElement(StyledHandler, null)), children));
14141
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer$1, panResponder.panHandlers, /*#__PURE__*/React__namespace.default.createElement(StyledHandler, null)), children));
13974
14142
  };
13975
14143
 
13976
14144
  var Drawer = function Drawer(_ref) {
@@ -14005,7 +14173,7 @@ var Drawer = function Drawer(_ref) {
14005
14173
  return animation.stop();
14006
14174
  };
14007
14175
  }, [visible]);
14008
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, {
14176
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
14009
14177
  testID: testID,
14010
14178
  enableShadow: enableShadow,
14011
14179
  pointerEvents: "box-none"
@@ -14289,7 +14457,7 @@ var Portal$1 = Object.assign(Portal, {
14289
14457
  Host: PortalHost
14290
14458
  });
14291
14459
 
14292
- var _excluded$h = ["visible"];
14460
+ var _excluded$j = ["visible"];
14293
14461
  var DEFAULT_BACKDROP_OPACITY = 0.4;
14294
14462
  var DEFAULT_ANIMATION_CONFIG = {
14295
14463
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -14385,7 +14553,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14385
14553
  var ModalWrapper = function ModalWrapper(_ref3) {
14386
14554
  var _ref3$visible = _ref3.visible,
14387
14555
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
14388
- props = _objectWithoutProperties(_ref3, _excluded$h);
14556
+ props = _objectWithoutProperties(_ref3, _excluded$j);
14389
14557
  var modalRef = React.useRef(null);
14390
14558
  var _useState = React.useState(visible),
14391
14559
  _useState2 = _slicedToArray(_useState, 2),
@@ -14495,7 +14663,7 @@ var StyledErrorDescription = index$9(Typography.Body)(function (_ref9) {
14495
14663
  };
14496
14664
  });
14497
14665
 
14498
- var _excluded$g = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14666
+ var _excluded$i = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14499
14667
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
14500
14668
  var renderImage$1 = function renderImage(image) {
14501
14669
  if ( /*#__PURE__*/React.isValidElement(image)) {
@@ -14521,7 +14689,7 @@ var ErrorPage = function ErrorPage(_ref) {
14521
14689
  onCtaPress = _ref.onCtaPress,
14522
14690
  secondaryCtaText = _ref.secondaryCtaText,
14523
14691
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
14524
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
14692
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
14525
14693
  var showCta = ctaText && onCtaPress !== undefined;
14526
14694
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
14527
14695
  var showButtonContainer = showCta || showSecondaryCta;
@@ -14682,11 +14850,11 @@ var StyledIconContainer = index$9(Box)(function (_ref4) {
14682
14850
  };
14683
14851
  });
14684
14852
 
14685
- var _excluded$f = ["active"];
14853
+ var _excluded$h = ["active"];
14686
14854
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
14687
14855
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
14688
14856
  var active = _ref.active,
14689
- iconProps = _objectWithoutProperties(_ref, _excluded$f);
14857
+ iconProps = _objectWithoutProperties(_ref, _excluded$h);
14690
14858
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
14691
14859
  React.useEffect(function () {
14692
14860
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -14934,7 +15102,7 @@ var ActionItem = function ActionItem(_ref) {
14934
15102
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
14935
15103
  };
14936
15104
 
14937
- var StyledContainer$2 = index$9(reactNative.View)({
15105
+ var StyledContainer$3 = index$9(reactNative.View)({
14938
15106
  position: 'absolute',
14939
15107
  left: 0,
14940
15108
  right: 0,
@@ -15030,7 +15198,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15030
15198
  inputRange: [0, 1],
15031
15199
  outputRange: [0, 1]
15032
15200
  });
15033
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, {
15201
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, {
15034
15202
  testID: testID,
15035
15203
  pointerEvents: "box-none",
15036
15204
  style: style
@@ -15480,7 +15648,7 @@ var StyledPrefixContainer$1 = index$9(reactNative.View)(function (_ref4) {
15480
15648
  marginRight: theme.__hd__.list.space.prefixContainerMarginRight
15481
15649
  };
15482
15650
  });
15483
- var StyledSuffixContainer$1 = index$9(reactNative.View)(function (_ref5) {
15651
+ var StyledSuffixContainer$2 = index$9(reactNative.View)(function (_ref5) {
15484
15652
  var theme = _ref5.theme;
15485
15653
  return {
15486
15654
  marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
@@ -15532,7 +15700,7 @@ var ListItem = function ListItem(_ref) {
15532
15700
  intent: "body"
15533
15701
  }, title) : title, !!subtitle && /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
15534
15702
  intent: "subdued"
15535
- }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15703
+ }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$2, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15536
15704
  icon: suffix,
15537
15705
  intent: disabled ? 'disabled-text' : 'primary',
15538
15706
  size: "small"
@@ -15545,7 +15713,7 @@ var StyledPrefixContainer = index$9(reactNative.View)(function (_ref) {
15545
15713
  marginRight: theme.__hd__.list.space.prefixContainerMarginRight
15546
15714
  };
15547
15715
  });
15548
- var StyledSuffixContainer = index$9(reactNative.View)(function (_ref2) {
15716
+ var StyledSuffixContainer$1 = index$9(reactNative.View)(function (_ref2) {
15549
15717
  var theme = _ref2.theme;
15550
15718
  return {
15551
15719
  marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
@@ -15598,7 +15766,7 @@ var BasicListItem = function BasicListItem(_ref) {
15598
15766
  intent: "body"
15599
15767
  }, title) : title, subtitle && /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
15600
15768
  intent: "subdued"
15601
- }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15769
+ }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15602
15770
  icon: suffix,
15603
15771
  size: "small",
15604
15772
  intent: disabled ? 'disabled-text' : 'primary'
@@ -15727,7 +15895,7 @@ function PinCell(_ref) {
15727
15895
  }, value));
15728
15896
  }
15729
15897
 
15730
- function getState(_ref) {
15898
+ function getState$1(_ref) {
15731
15899
  var disabled = _ref.disabled,
15732
15900
  error = _ref.error;
15733
15901
  if (disabled) {
@@ -15766,7 +15934,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
15766
15934
  _useState2 = _slicedToArray(_useState, 2),
15767
15935
  focused = _useState2[0],
15768
15936
  setFocused = _useState2[1];
15769
- var state = getState({
15937
+ var state = getState$1({
15770
15938
  disabled: disabled,
15771
15939
  error: error
15772
15940
  });
@@ -15869,7 +16037,7 @@ var THEME_INTENT_MAP = {
15869
16037
  'archived-inverted': 'archivedInverted'
15870
16038
  };
15871
16039
 
15872
- var StyledContainer$1 = index$9(reactNative.View)(function (_ref) {
16040
+ var StyledContainer$2 = index$9(reactNative.View)(function (_ref) {
15873
16041
  var theme = _ref.theme;
15874
16042
  return {
15875
16043
  flexDirection: 'row',
@@ -15935,7 +16103,7 @@ var StyledStrokeEnd = index$9(reactNative.View)(function (_ref6) {
15935
16103
  };
15936
16104
  });
15937
16105
 
15938
- var _excluded$e = ["value", "renderValue", "intent", "style", "testID"];
16106
+ var _excluded$g = ["value", "renderValue", "intent", "style", "testID"];
15939
16107
  var HalfCircle = function HalfCircle(_ref) {
15940
16108
  var type = _ref.type,
15941
16109
  themeIntent = _ref.themeIntent;
@@ -15956,7 +16124,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
15956
16124
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
15957
16125
  style = _ref2.style,
15958
16126
  testID = _ref2.testID,
15959
- nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
16127
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$g);
15960
16128
  var theme = useTheme$1();
15961
16129
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
15962
16130
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -15996,7 +16164,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
15996
16164
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, _extends$1({}, nativeProps, {
15997
16165
  testID: testID,
15998
16166
  style: style
15999
- }), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$1, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, null, /*#__PURE__*/React__namespace.default.createElement(HalfCircle, {
16167
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, null, /*#__PURE__*/React__namespace.default.createElement(HalfCircle, {
16000
16168
  type: "foreground",
16001
16169
  themeIntent: intent
16002
16170
  }), /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
@@ -16072,14 +16240,14 @@ var StyledInner = index$9(reactNative.Animated.View)(function (_ref2) {
16072
16240
  };
16073
16241
  });
16074
16242
 
16075
- var _excluded$d = ["value", "intent", "style", "testID"];
16243
+ var _excluded$f = ["value", "intent", "style", "testID"];
16076
16244
  var ProgressBar = function ProgressBar(_ref) {
16077
16245
  var value = _ref.value,
16078
16246
  _ref$intent = _ref.intent,
16079
16247
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16080
16248
  style = _ref.style,
16081
16249
  testID = _ref.testID,
16082
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
16250
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
16083
16251
  var _useState = React.useState(0),
16084
16252
  _useState2 = _slicedToArray(_useState, 2),
16085
16253
  width = _useState2[0],
@@ -16125,9 +16293,99 @@ var ProgressBar = function ProgressBar(_ref) {
16125
16293
  }));
16126
16294
  };
16127
16295
 
16296
+ var StyledStepContainer = index$9(Box)({
16297
+ display: 'flex',
16298
+ flexDirection: 'row',
16299
+ justifyContent: 'space-between',
16300
+ alignItems: 'center'
16301
+ });
16302
+ var StyledStep = index$9(Box)(function (_ref) {
16303
+ var theme = _ref.theme,
16304
+ themeState = _ref.themeState,
16305
+ themeWidth = _ref.themeWidth;
16306
+ return {
16307
+ height: theme.__hd__.progress.sizes.stepHeight,
16308
+ borderRadius: theme.__hd__.progress.radii["default"],
16309
+ backgroundColor: theme.__hd__.progress.colors.step[themeState],
16310
+ width: themeWidth
16311
+ };
16312
+ });
16313
+ var StyledSingleStepContainer = index$9(Box)(function (_ref2) {
16314
+ var theme = _ref2.theme;
16315
+ return {
16316
+ height: theme.__hd__.progress.sizes.stepHeight,
16317
+ borderRadius: theme.__hd__.progress.radii["default"],
16318
+ backgroundColor: theme.__hd__.progress.colors.step.current,
16319
+ width: '100%',
16320
+ position: 'relative'
16321
+ };
16322
+ });
16323
+ var StyledSingleStep = index$9(Box)(function (_ref3) {
16324
+ var theme = _ref3.theme;
16325
+ return {
16326
+ height: theme.__hd__.progress.sizes.stepHeight,
16327
+ borderRadius: theme.__hd__.progress.radii["default"],
16328
+ backgroundColor: theme.__hd__.progress.colors.step.complete,
16329
+ width: '70%',
16330
+ position: 'absolute',
16331
+ top: 0,
16332
+ left: 0,
16333
+ bottom: 0,
16334
+ right: 0
16335
+ };
16336
+ });
16337
+
16338
+ var _excluded$e = ["steps", "current", "onLayout"];
16339
+ var getStepState = function getStepState(current, index) {
16340
+ if (index < current) {
16341
+ return 'complete';
16342
+ }
16343
+ if (index === current) {
16344
+ return 'current';
16345
+ }
16346
+ return 'incomplete';
16347
+ };
16348
+ var ProgressStep = function ProgressStep(_ref) {
16349
+ var steps = _ref.steps,
16350
+ current = _ref.current,
16351
+ onLayout = _ref.onLayout,
16352
+ props = _objectWithoutProperties(_ref, _excluded$e);
16353
+ var theme = useTheme$1();
16354
+ var _React$useState = React__namespace.default.useState(0),
16355
+ _React$useState2 = _slicedToArray(_React$useState, 2),
16356
+ containerWidth = _React$useState2[0],
16357
+ setContainerWidth = _React$useState2[1];
16358
+ var onContainerLayout = function onContainerLayout(event) {
16359
+ setContainerWidth(event.nativeEvent.layout.width);
16360
+ onLayout === null || onLayout === void 0 || onLayout(event);
16361
+ };
16362
+ // Calculate the width for each step
16363
+ var stepWidth = React.useMemo(function () {
16364
+ var width = 0;
16365
+ if (containerWidth > 0) {
16366
+ width = (containerWidth - (steps - 1) * theme.__hd__.progress.space.stepGap) / steps;
16367
+ }
16368
+ return width;
16369
+ }, [containerWidth, steps, theme]);
16370
+ if (steps === 1) {
16371
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSingleStepContainer, props, /*#__PURE__*/React__namespace.default.createElement(StyledSingleStep, null));
16372
+ }
16373
+ return /*#__PURE__*/React__namespace.default.createElement(StyledStepContainer, _extends$1({}, props, {
16374
+ onLayout: onContainerLayout
16375
+ }), Array.from({
16376
+ length: steps
16377
+ }).map(function (_, index) {
16378
+ return /*#__PURE__*/React__namespace.default.createElement(StyledStep, {
16379
+ themeState: getStepState(current - 1, index),
16380
+ themeWidth: stepWidth
16381
+ });
16382
+ }));
16383
+ };
16384
+
16128
16385
  var Progress = {
16129
16386
  Circle: ProgressCircle,
16130
- Bar: ProgressBar
16387
+ Bar: ProgressBar,
16388
+ Step: ProgressStep
16131
16389
  };
16132
16390
 
16133
16391
  var Slider = function Slider(_ref) {
@@ -16270,14 +16528,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
16270
16528
  }, dotProps))));
16271
16529
  };
16272
16530
 
16273
- var _excluded$c = ["testID", "size", "intent"];
16531
+ var _excluded$d = ["testID", "size", "intent"];
16274
16532
  var Spinner = function Spinner(_ref) {
16275
16533
  var testID = _ref.testID,
16276
16534
  _ref$size = _ref.size,
16277
16535
  size = _ref$size === void 0 ? 'medium' : _ref$size,
16278
16536
  _ref$intent = _ref.intent,
16279
16537
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16280
- nativeProps = _objectWithoutProperties(_ref, _excluded$c);
16538
+ nativeProps = _objectWithoutProperties(_ref, _excluded$d);
16281
16539
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
16282
16540
  testID: testID
16283
16541
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -16310,7 +16568,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
16310
16568
  }, children);
16311
16569
  };
16312
16570
 
16313
- var _excluded$b = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16571
+ var _excluded$c = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16314
16572
  var renderActions = function renderActions(actions, width, progress, direction) {
16315
16573
  var trans = progress.interpolate({
16316
16574
  inputRange: [0, 1],
@@ -16339,7 +16597,7 @@ var Swipeable = function Swipeable(_ref) {
16339
16597
  rightActionsWidth = _ref.rightActionsWidth,
16340
16598
  _ref$variant = _ref.variant,
16341
16599
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
16342
- swipeableProps = _objectWithoutProperties(_ref, _excluded$b);
16600
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$c);
16343
16601
  var theme = useTheme();
16344
16602
  var _useWindowDimensions = reactNative.useWindowDimensions(),
16345
16603
  width = _useWindowDimensions.width;
@@ -16690,7 +16948,7 @@ var StyledSectionList = index$9(reactNative.SectionList)(function (_ref4) {
16690
16948
  };
16691
16949
  });
16692
16950
 
16693
- var _excluded$a = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
16951
+ var _excluded$b = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
16694
16952
  var BaseOptionList = function BaseOptionList(_ref) {
16695
16953
  var keyExtractor = _ref.keyExtractor,
16696
16954
  loading = _ref.loading,
@@ -16699,7 +16957,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
16699
16957
  sections = _ref.sections,
16700
16958
  renderItem = _ref.renderItem,
16701
16959
  sectionListRef = _ref.sectionListRef,
16702
- rest = _objectWithoutProperties(_ref, _excluded$a);
16960
+ rest = _objectWithoutProperties(_ref, _excluded$b);
16703
16961
  var theme = useTheme$1();
16704
16962
  var _useState = React.useState(false),
16705
16963
  _useState2 = _slicedToArray(_useState, 2),
@@ -16769,7 +17027,7 @@ var Option$2 = function Option(_ref) {
16769
17027
  return highlighted === true ? /*#__PURE__*/React__namespace.default.createElement(List.Item, props) : /*#__PURE__*/React__namespace.default.createElement(List.BasicItem, props);
16770
17028
  };
16771
17029
 
16772
- var _excluded$9 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17030
+ var _excluded$a = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
16773
17031
  var OptionList$1 = function OptionList(_ref) {
16774
17032
  var keyExtractor = _ref.keyExtractor,
16775
17033
  loading = _ref.loading,
@@ -16780,7 +17038,7 @@ var OptionList$1 = function OptionList(_ref) {
16780
17038
  renderOption = _ref.renderOption,
16781
17039
  value = _ref.value,
16782
17040
  sectionListRef = _ref.sectionListRef,
16783
- rest = _objectWithoutProperties(_ref, _excluded$9);
17041
+ rest = _objectWithoutProperties(_ref, _excluded$a);
16784
17042
  var renderItem = function renderItem(info) {
16785
17043
  var item = info.item;
16786
17044
  var selected = value.includes(info.item.value);
@@ -16971,7 +17229,7 @@ var StyledOptionList = index$9(BaseOptionList)(function (_ref) {
16971
17229
  };
16972
17230
  });
16973
17231
 
16974
- var _excluded$8 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17232
+ var _excluded$9 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
16975
17233
  var OptionList = function OptionList(_ref) {
16976
17234
  var keyExtractor = _ref.keyExtractor,
16977
17235
  loading = _ref.loading,
@@ -16982,7 +17240,7 @@ var OptionList = function OptionList(_ref) {
16982
17240
  renderOption = _ref.renderOption,
16983
17241
  value = _ref.value,
16984
17242
  sectionListRef = _ref.sectionListRef,
16985
- rest = _objectWithoutProperties(_ref, _excluded$8);
17243
+ rest = _objectWithoutProperties(_ref, _excluded$9);
16986
17244
  var renderItem = function renderItem(info) {
16987
17245
  var item = info.item;
16988
17246
  var selected = item.value === value;
@@ -17132,7 +17390,7 @@ var index$4 = Object.assign(SingleSelect, {
17132
17390
  Multi: MultiSelect
17133
17391
  });
17134
17392
 
17135
- var StyledContainer = index$9(Box)(function (_ref) {
17393
+ var StyledContainer$1 = index$9(Box)(function (_ref) {
17136
17394
  var theme = _ref.theme,
17137
17395
  themeIntent = _ref.themeIntent,
17138
17396
  themeVariant = _ref.themeVariant;
@@ -17150,7 +17408,7 @@ var StyledGradientContainer = index$9(Box)(function (_ref2) {
17150
17408
  };
17151
17409
  });
17152
17410
 
17153
- var _excluded$7 = ["intent", "variant", "style", "onLayout"];
17411
+ var _excluded$8 = ["intent", "variant", "style", "onLayout"];
17154
17412
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default.default);
17155
17413
  var gradientPositions = {
17156
17414
  start: {
@@ -17182,7 +17440,7 @@ var Skeleton = function Skeleton(_ref) {
17182
17440
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
17183
17441
  style = _ref.style,
17184
17442
  onLayout = _ref.onLayout,
17185
- props = _objectWithoutProperties(_ref, _excluded$7);
17443
+ props = _objectWithoutProperties(_ref, _excluded$8);
17186
17444
  var theme = useTheme();
17187
17445
  var colors = React.useMemo(function () {
17188
17446
  return getGradientColors(theme, intent);
@@ -17218,7 +17476,7 @@ var Skeleton = function Skeleton(_ref) {
17218
17476
  }
17219
17477
  onLayout === null || onLayout === void 0 || onLayout(e);
17220
17478
  }, []);
17221
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, _extends$1({
17479
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$1, _extends$1({
17222
17480
  style: style,
17223
17481
  themeVariant: variant,
17224
17482
  themeIntent: intent,
@@ -17314,7 +17572,7 @@ var StyledSuccessModal = index$9(ModalWrapper)({
17314
17572
  width: '100%'
17315
17573
  });
17316
17574
 
17317
- var _excluded$6 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17575
+ var _excluded$7 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17318
17576
  var renderImage = function renderImage(image) {
17319
17577
  if ( /*#__PURE__*/React.isValidElement(image)) {
17320
17578
  return /*#__PURE__*/React__namespace.default.cloneElement(image, {
@@ -17340,7 +17598,7 @@ var SuccessPage = function SuccessPage(_ref) {
17340
17598
  onCtaPress = _ref$onCtaPress === void 0 ? noop$1 : _ref$onCtaPress,
17341
17599
  secondaryCtaText = _ref.secondaryCtaText,
17342
17600
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
17343
- nativeProps = _objectWithoutProperties(_ref, _excluded$6);
17601
+ nativeProps = _objectWithoutProperties(_ref, _excluded$7);
17344
17602
  var showSecondaryButton = secondaryCtaText && onSecondaryCtaPress;
17345
17603
  return /*#__PURE__*/React__namespace.default.createElement(StyledSuccessContainer, _extends$1({
17346
17604
  testID: testID,
@@ -18358,7 +18616,7 @@ var StyledText = index$9(Typography.Caption)(function (_ref2) {
18358
18616
  };
18359
18617
  });
18360
18618
 
18361
- var _excluded$5 = ["content", "variant", "intent", "style", "testID"];
18619
+ var _excluded$6 = ["content", "variant", "intent", "style", "testID"];
18362
18620
  var Tag = function Tag(_ref) {
18363
18621
  var content = _ref.content,
18364
18622
  _ref$variant = _ref.variant,
@@ -18367,7 +18625,7 @@ var Tag = function Tag(_ref) {
18367
18625
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
18368
18626
  style = _ref.style,
18369
18627
  testID = _ref.testID,
18370
- nativeProps = _objectWithoutProperties(_ref, _excluded$5);
18628
+ nativeProps = _objectWithoutProperties(_ref, _excluded$6);
18371
18629
  useDeprecation("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
18372
18630
  return /*#__PURE__*/React__namespace.default.createElement(StyledView, _extends$1({}, nativeProps, {
18373
18631
  themeIntent: intent,
@@ -18685,10 +18943,10 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
18685
18943
  }));
18686
18944
  };
18687
18945
 
18688
- var _excluded$4 = ["children"];
18946
+ var _excluded$5 = ["children"];
18689
18947
  var Toolbar = function Toolbar(_ref) {
18690
18948
  var children = _ref.children,
18691
- rest = _objectWithoutProperties(_ref, _excluded$4);
18949
+ rest = _objectWithoutProperties(_ref, _excluded$5);
18692
18950
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarWrapper, rest, children);
18693
18951
  };
18694
18952
  var index$1 = Object.assign(Toolbar, {
@@ -18707,7 +18965,7 @@ var StyledIconWrapper = index$9(AnimatedBox)(function (_ref) {
18707
18965
  };
18708
18966
  });
18709
18967
 
18710
- var _excluded$3 = ["options", "value", "onChange", "readonly", "disabled"];
18968
+ var _excluded$4 = ["options", "value", "onChange", "readonly", "disabled"];
18711
18969
  var Rate = function Rate(_ref) {
18712
18970
  var options = _ref.options,
18713
18971
  value = _ref.value,
@@ -18716,7 +18974,7 @@ var Rate = function Rate(_ref) {
18716
18974
  readonly = _ref$readonly === void 0 ? false : _ref$readonly,
18717
18975
  _ref$disabled = _ref.disabled,
18718
18976
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
18719
- otherProps = _objectWithoutProperties(_ref, _excluded$3);
18977
+ otherProps = _objectWithoutProperties(_ref, _excluded$4);
18720
18978
  var valueIndex = React.useMemo(function () {
18721
18979
  return options.findIndex(function (item) {
18722
18980
  return item.value === value;
@@ -35881,7 +36139,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
35881
36139
  break;
35882
36140
  }
35883
36141
  }, []);
35884
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
36142
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
35885
36143
  testID: testID
35886
36144
  }, /*#__PURE__*/React__namespace.default.createElement(StyledLabelContainerInsideTextInput, {
35887
36145
  themeVariant: "text",
@@ -36107,36 +36365,296 @@ function AnimatedScroller(_ref) {
36107
36365
  }));
36108
36366
  }
36109
36367
 
36110
- var _excluded$2 = ["fabProps"];
36368
+ var _excluded$3 = ["fabProps"];
36111
36369
  var ScrollViewWithFAB = function ScrollViewWithFAB(_ref) {
36112
36370
  var fabProps = _ref.fabProps,
36113
- props = _objectWithoutProperties(_ref, _excluded$2);
36371
+ props = _objectWithoutProperties(_ref, _excluded$3);
36114
36372
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36115
36373
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.ScrollView, props),
36116
36374
  fabProps: fabProps
36117
36375
  });
36118
36376
  };
36119
36377
 
36120
- var _excluded$1 = ["fabProps"];
36378
+ var _excluded$2 = ["fabProps"];
36121
36379
  function FlatListWithFAB(_ref) {
36122
36380
  var fabProps = _ref.fabProps,
36123
- props = _objectWithoutProperties(_ref, _excluded$1);
36381
+ props = _objectWithoutProperties(_ref, _excluded$2);
36124
36382
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36125
36383
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, props),
36126
36384
  fabProps: fabProps
36127
36385
  });
36128
36386
  }
36129
36387
 
36130
- var _excluded = ["fabProps"];
36388
+ var _excluded$1 = ["fabProps"];
36131
36389
  function SectionListWithFAB(_ref) {
36132
36390
  var fabProps = _ref.fabProps,
36133
- props = _objectWithoutProperties(_ref, _excluded);
36391
+ props = _objectWithoutProperties(_ref, _excluded$1);
36134
36392
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36135
36393
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.SectionList, props),
36136
36394
  fabProps: fabProps
36137
36395
  });
36138
36396
  }
36139
36397
 
36398
+ var StyledContainer = index$9(reactNative.View)(function () {
36399
+ return {
36400
+ width: '100%'
36401
+ };
36402
+ });
36403
+ var StyledInputContainer = index$9(reactNative.View)(function (_ref) {
36404
+ var theme = _ref.theme,
36405
+ themeFocused = _ref.themeFocused;
36406
+ return {
36407
+ flexDirection: 'row',
36408
+ alignItems: 'center',
36409
+ paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
36410
+ paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
36411
+ backgroundColor: theme.__hd__.search.colors.containerBackground,
36412
+ height: 56,
36413
+ borderRadius: theme.__hd__.search.radii.container,
36414
+ borderWidth: theme.__hd__.search.borderWidths.container.focused,
36415
+ borderColor: themeFocused ? theme.__hd__.search.colors.borders : theme.__hd__.search.colors.containerBackground
36416
+ };
36417
+ });
36418
+ var StyledAffixContainer = index$9(reactNative.View)(function (_ref2) {
36419
+ var theme = _ref2.theme;
36420
+ return {
36421
+ paddingHorizontal: theme.__hd__.search.space.prefixHorizontalPadding
36422
+ };
36423
+ });
36424
+ var StyledSuffixContainer = index$9(reactNative.View)(function (_ref3) {
36425
+ var theme = _ref3.theme;
36426
+ return {
36427
+ display: 'flex',
36428
+ justifyContent: 'center',
36429
+ alignItems: 'center',
36430
+ width: theme.__hd__.search.sizes.surfixSize,
36431
+ height: theme.__hd__.search.sizes.surfixSize,
36432
+ backgroundColor: theme.__hd__.search.colors.surfixBackground,
36433
+ borderRadius: theme.__hd__.search.radii.surfix
36434
+ };
36435
+ });
36436
+ var StyledInput = index$9(reactNative.TextInput)(function (_ref4) {
36437
+ var theme = _ref4.theme;
36438
+ return {
36439
+ textAlignVertical: 'center',
36440
+ fontSize: theme.__hd__.search.fontSizes.text,
36441
+ alignSelf: 'stretch',
36442
+ flexGrow: 1,
36443
+ flexShrink: 1,
36444
+ marginHorizontal: theme.__hd__.search.space.inputHorizontalMargin,
36445
+ paddingVertical: 0,
36446
+ fontFamily: theme.__hd__.search.fonts.text
36447
+ };
36448
+ });
36449
+ var StyledHandlerContainer = index$9(reactNative.View)(function (_ref5) {
36450
+ var theme = _ref5.theme;
36451
+ return {
36452
+ display: 'flex',
36453
+ flexDirection: 'column',
36454
+ justifyContent: 'space-between',
36455
+ alignItems: 'flex-start',
36456
+ flexGrow: 1,
36457
+ height: '100%',
36458
+ marginHorizontal: theme.__hd__.search.space.inputHorizontalMargin
36459
+ };
36460
+ });
36461
+ var StyledBadge = index$9(Badge$1)(function (_ref6) {
36462
+ var theme = _ref6.theme;
36463
+ return {
36464
+ position: 'absolute',
36465
+ top: theme.__hd__.search.space.badgeTop,
36466
+ right: theme.__hd__.search.space.badgeRight,
36467
+ zIndex: 2
36468
+ };
36469
+ });
36470
+
36471
+ var renderPrefix = function renderPrefix(_ref) {
36472
+ var prefix = _ref.prefix;
36473
+ return typeof prefix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledAffixContainer, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
36474
+ intent: "text",
36475
+ testID: "input-prefix",
36476
+ icon: prefix,
36477
+ size: "small"
36478
+ })) : prefix;
36479
+ };
36480
+ var renderSuffix = function renderSuffix(_ref2) {
36481
+ var suffix = _ref2.suffix;
36482
+ return typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledAffixContainer, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
36483
+ intent: "text",
36484
+ testID: "input-suffix",
36485
+ icon: suffix,
36486
+ size: "small"
36487
+ })) : suffix;
36488
+ };
36489
+
36490
+ var SearchTwoLine = function SearchTwoLine(props) {
36491
+ var _props$prefix = props.prefix,
36492
+ prefix = _props$prefix === void 0 ? 'search-outlined' : _props$prefix,
36493
+ suffix = props.suffix,
36494
+ style = props.style,
36495
+ label = props.label,
36496
+ content = props.content,
36497
+ testID = props.testID;
36498
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
36499
+ style: style,
36500
+ testID: testID
36501
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
36502
+ themeFocused: false
36503
+ }, renderPrefix({
36504
+ prefix: prefix
36505
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
36506
+ fontWeight: "semi-bold"
36507
+ }, label), content), !!suffix && renderSuffix({
36508
+ suffix: suffix
36509
+ })));
36510
+ };
36511
+
36512
+ var _excluded = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID"];
36513
+ var getState = function getState(_ref) {
36514
+ var disabled = _ref.disabled,
36515
+ editable = _ref.editable,
36516
+ isEmptyValue = _ref.isEmptyValue;
36517
+ if (disabled) {
36518
+ return 'disabled';
36519
+ }
36520
+ if (!editable) {
36521
+ return 'readonly';
36522
+ }
36523
+ if (!isEmptyValue) {
36524
+ return 'filled';
36525
+ }
36526
+ return 'default';
36527
+ };
36528
+ var renderInput = function renderInput(_ref2) {
36529
+ var nativeInputProps = _ref2.nativeInputProps,
36530
+ ref = _ref2.ref;
36531
+ return /*#__PURE__*/React__namespace.default.createElement(StyledInput, _extends$1({}, nativeInputProps, {
36532
+ ref: ref
36533
+ }));
36534
+ };
36535
+ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
36536
+ var _ref3;
36537
+ var _props$prefix = props.prefix,
36538
+ prefix = _props$prefix === void 0 ? 'search-outlined' : _props$prefix,
36539
+ suffix = props.suffix,
36540
+ style = props.style,
36541
+ allowFontScaling = props.allowFontScaling,
36542
+ accessibilityLabelledBy = props.accessibilityLabelledBy,
36543
+ _props$editable = props.editable,
36544
+ editable = _props$editable === void 0 ? true : _props$editable,
36545
+ maxLength = props.maxLength,
36546
+ value = props.value,
36547
+ defaultValue = props.defaultValue,
36548
+ placeholder = props.placeholder,
36549
+ _props$disabled = props.disabled,
36550
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
36551
+ testID = props.testID,
36552
+ nativeProps = _objectWithoutProperties(props, _excluded);
36553
+ var _React$useState = React__namespace.default.useState(false),
36554
+ _React$useState2 = _slicedToArray(_React$useState, 2),
36555
+ isFocused = _React$useState2[0],
36556
+ setIsFocused = _React$useState2[1];
36557
+ var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
36558
+ var isEmptyValue = displayText.length === 0;
36559
+ var state = getState({
36560
+ disabled: disabled,
36561
+ editable: editable,
36562
+ isFocused: isFocused,
36563
+ isEmptyValue: isEmptyValue
36564
+ });
36565
+ var innerTextInput = React__namespace.default.useRef();
36566
+ React__namespace.default.useImperativeHandle(ref, function () {
36567
+ return {
36568
+ // we don't expose this method, it's for testing https://medium.com/developer-rants/how-to-test-useref-without-mocking-useref-699165f4994e
36569
+ getNativeTextInputRef: function getNativeTextInputRef() {
36570
+ return innerTextInput.current;
36571
+ },
36572
+ setNativeProps: function setNativeProps(args) {
36573
+ var _innerTextInput$curre;
36574
+ return (_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0 ? void 0 : _innerTextInput$curre.setNativeProps(args);
36575
+ },
36576
+ focus: function focus() {
36577
+ var _innerTextInput$curre2;
36578
+ (_innerTextInput$curre2 = innerTextInput.current) === null || _innerTextInput$curre2 === void 0 || _innerTextInput$curre2.focus();
36579
+ },
36580
+ blur: function blur() {
36581
+ var _innerTextInput$curre3;
36582
+ return (_innerTextInput$curre3 = innerTextInput.current) === null || _innerTextInput$curre3 === void 0 ? void 0 : _innerTextInput$curre3.blur();
36583
+ },
36584
+ clear: function clear() {
36585
+ var _innerTextInput$curre4;
36586
+ return (_innerTextInput$curre4 = innerTextInput.current) === null || _innerTextInput$curre4 === void 0 ? void 0 : _innerTextInput$curre4.clear();
36587
+ },
36588
+ isFocused: function isFocused() {
36589
+ var _innerTextInput$curre5;
36590
+ return ((_innerTextInput$curre5 = innerTextInput.current) === null || _innerTextInput$curre5 === void 0 ? void 0 : _innerTextInput$curre5.isFocused()) || false;
36591
+ }
36592
+ };
36593
+ }, [innerTextInput]);
36594
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
36595
+ pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
36596
+ testID: testID,
36597
+ style: style
36598
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
36599
+ themeFocused: isFocused
36600
+ }, renderPrefix({
36601
+ prefix: prefix
36602
+ }), renderInput({
36603
+ nativeInputProps: _objectSpread2(_objectSpread2({
36604
+ testID: 'text-input',
36605
+ accessibilityState: {
36606
+ disabled: state === 'disabled' || state === 'readonly'
36607
+ },
36608
+ accessibilityLabelledBy: accessibilityLabelledBy,
36609
+ allowFontScaling: allowFontScaling
36610
+ }, nativeProps), {}, {
36611
+ onFocus: function onFocus(event) {
36612
+ var _nativeProps$onFocus;
36613
+ setIsFocused(true);
36614
+ (_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0 || _nativeProps$onFocus.call(nativeProps, event);
36615
+ },
36616
+ onBlur: function onBlur(event) {
36617
+ var _nativeProps$onBlur;
36618
+ setIsFocused(false);
36619
+ (_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0 || _nativeProps$onBlur.call(nativeProps, event);
36620
+ },
36621
+ editable: editable,
36622
+ maxLength: maxLength,
36623
+ value: value,
36624
+ defaultValue: defaultValue,
36625
+ placeholder: placeholder
36626
+ }),
36627
+ ref: function ref(rnTextInputRef) {
36628
+ innerTextInput.current = rnTextInputRef;
36629
+ }
36630
+ }), !!suffix && renderSuffix({
36631
+ suffix: suffix
36632
+ })));
36633
+ });
36634
+
36635
+ var SearchSuffixIcon = function SearchSuffixIcon(props) {
36636
+ var suffix = props.suffix,
36637
+ testID = props.testID,
36638
+ style = props.style,
36639
+ badge = props.badge;
36640
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer, {
36641
+ testID: testID,
36642
+ style: style
36643
+ }, !!badge && /*#__PURE__*/React__namespace.default.createElement(StyledBadge, _extends$1({
36644
+ intent: "primary"
36645
+ }, badge, {
36646
+ size: "small"
36647
+ })), renderSuffix({
36648
+ suffix: suffix
36649
+ }));
36650
+ };
36651
+
36652
+ var Search = {
36653
+ OneLine: SearchOneLine,
36654
+ TwoLine: SearchTwoLine,
36655
+ SuffixIcon: SearchSuffixIcon
36656
+ };
36657
+
36140
36658
  exports.Accordion = Accordion;
36141
36659
  exports.Alert = Alert;
36142
36660
  exports.Attachment = Attachment;
@@ -36173,6 +36691,7 @@ exports.Rate = Rate;
36173
36691
  exports.RefreshControl = RefreshControl;
36174
36692
  exports.RichTextEditor = index;
36175
36693
  exports.ScrollViewWithFAB = ScrollViewWithFAB;
36694
+ exports.Search = Search;
36176
36695
  exports.SectionHeading = SectionHeading;
36177
36696
  exports.SectionListWithFAB = SectionListWithFAB;
36178
36697
  exports.Select = index$4;
@@ -36196,6 +36715,7 @@ exports.getTheme = getTheme$1;
36196
36715
  exports.jobsSystemPalette = jobsSystemPalette;
36197
36716
  exports.scale = scale;
36198
36717
  exports.swagDarkSystemPalette = swagDarkSystemPalette;
36718
+ exports.swagLightJobsSystemPalette = swagLightJobsSystemPalette;
36199
36719
  exports.swagLightSystemPalette = swagSystemPalette;
36200
36720
  exports.swagSystemPalette = swagSystemPalette$1;
36201
36721
  exports.theme = defaultTheme;