@hero-design/rn 8.68.0-alpha.1 → 8.68.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 (370) hide show
  1. package/.turbo/turbo-build.log +8 -0
  2. package/CHANGELOG.md +12 -0
  3. package/es/index.js +514 -155
  4. package/lib/index.js +514 -154
  5. package/package.json +1 -1
  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/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
  21. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
  22. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +21 -21
  23. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +12 -12
  24. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
  25. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  26. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  27. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +4 -4
  28. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +3 -3
  29. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +2 -2
  30. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +30 -30
  31. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  32. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +1 -1
  33. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  34. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +22 -22
  35. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -2
  36. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -3
  37. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  38. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  39. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  40. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -2
  41. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +6 -6
  42. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +2 -2
  43. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +2 -2
  44. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
  45. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -5
  46. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +10 -10
  47. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +14 -14
  48. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +10 -10
  49. package/src/components/Search/SearchOneLine.tsx +196 -0
  50. package/src/components/Search/SearchSuffixIcon.tsx +37 -0
  51. package/src/components/Search/SearchTwoLine.tsx +64 -0
  52. package/src/components/Search/StyledSearch.tsx +67 -0
  53. package/src/components/Search/__tests__/SearchOneLine.spec.tsx +197 -0
  54. package/src/components/Search/__tests__/SearchSuffixIcon.spec.tsx +12 -0
  55. package/src/components/Search/__tests__/SearchTwoLine.spec.tsx +20 -0
  56. package/src/components/Search/__tests__/__snapshots__/SearchOneLine.spec.tsx.snap +707 -0
  57. package/src/components/Search/__tests__/__snapshots__/SearchSuffixIcon.spec.tsx.snap +134 -0
  58. package/src/components/Search/__tests__/__snapshots__/SearchTwoLine.spec.tsx.snap +170 -0
  59. package/src/components/Search/__tests__/__snapshots__/utils.spec.tsx.snap +115 -0
  60. package/src/components/Search/__tests__/utils.spec.tsx +19 -0
  61. package/src/components/Search/index.tsx +17 -0
  62. package/src/components/Search/utils.tsx +31 -0
  63. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +1 -1
  64. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  65. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +2 -2
  66. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +14 -14
  67. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +14 -14
  68. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -1
  69. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -8
  70. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  71. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +9 -9
  72. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +4 -4
  73. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +32 -32
  74. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +4 -4
  75. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  76. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +1 -1
  77. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  78. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +2 -2
  79. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +24 -9
  80. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +19 -9
  81. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +7 -2
  82. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +24 -9
  83. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +5 -5
  84. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +1 -1
  85. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +18 -18
  86. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +7 -7
  87. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +1 -1
  88. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  89. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +1 -1
  90. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  91. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +1 -1
  92. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  93. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +1 -1
  94. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +1 -1
  95. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  96. package/src/index.ts +2 -0
  97. package/src/theme/ThemeSwitcher.tsx +2 -12
  98. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +136 -77
  99. package/src/theme/components/alert.ts +14 -5
  100. package/src/theme/components/badge.ts +21 -21
  101. package/src/theme/components/search.ts +56 -0
  102. package/src/theme/getTheme.ts +5 -2
  103. package/src/theme/global/colors/swagLight.ts +1 -1
  104. package/stats/8.67.0/rn-stats.html +4844 -0
  105. package/stats/8.68.0/rn-stats.html +4842 -0
  106. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  107. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  108. package/types/components/Accordion/index.d.ts +0 -0
  109. package/types/components/Alert/StyledAlert.d.ts +17 -2
  110. package/types/components/Alert/index.d.ts +0 -0
  111. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  112. package/types/components/Attachment/index.d.ts +0 -0
  113. package/types/components/Avatar/Avatar.d.ts +0 -0
  114. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  115. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  116. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  117. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  118. package/types/components/Avatar/index.d.ts +0 -0
  119. package/types/components/Badge/Status.d.ts +0 -0
  120. package/types/components/Badge/StyledBadge.d.ts +4 -0
  121. package/types/components/Badge/index.d.ts +6 -2
  122. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  123. package/types/components/BottomNavigation/index.d.ts +0 -0
  124. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  125. package/types/components/BottomSheet/Footer.d.ts +0 -0
  126. package/types/components/BottomSheet/Header.d.ts +0 -0
  127. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  128. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  129. package/types/components/BottomSheet/index.d.ts +0 -0
  130. package/types/components/Box/StyledBox.d.ts +0 -0
  131. package/types/components/Box/config.d.ts +0 -0
  132. package/types/components/Box/index.d.ts +0 -0
  133. package/types/components/Box/types.d.ts +0 -0
  134. package/types/components/Button/Button.d.ts +0 -0
  135. package/types/components/Button/IconButton.d.ts +0 -0
  136. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  137. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  138. package/types/components/Button/StyledButton.d.ts +0 -0
  139. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  140. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  141. package/types/components/Button/index.d.ts +0 -0
  142. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  143. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  144. package/types/components/Calendar/helpers.d.ts +0 -0
  145. package/types/components/Calendar/index.d.ts +0 -0
  146. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  147. package/types/components/Card/DataCard/index.d.ts +0 -0
  148. package/types/components/Card/StyledCard.d.ts +0 -0
  149. package/types/components/Card/index.d.ts +0 -0
  150. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  151. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  152. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  153. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  154. package/types/components/Carousel/contants.d.ts +0 -0
  155. package/types/components/Carousel/index.d.ts +0 -0
  156. package/types/components/Carousel/types.d.ts +0 -0
  157. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  158. package/types/components/Checkbox/index.d.ts +0 -0
  159. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  160. package/types/components/Collapse/index.d.ts +0 -0
  161. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  162. package/types/components/ContentNavigator/index.d.ts +0 -0
  163. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  164. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  165. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  166. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  167. package/types/components/DatePicker/index.d.ts +0 -0
  168. package/types/components/DatePicker/types.d.ts +0 -0
  169. package/types/components/Divider/StyledDivider.d.ts +0 -0
  170. package/types/components/Divider/index.d.ts +0 -0
  171. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  172. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  173. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  174. package/types/components/Drawer/index.d.ts +0 -0
  175. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  176. package/types/components/Empty/index.d.ts +0 -0
  177. package/types/components/Error/StyledError.d.ts +0 -0
  178. package/types/components/Error/index.d.ts +0 -0
  179. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  180. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  181. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  182. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  183. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  184. package/types/components/FAB/FAB.d.ts +0 -0
  185. package/types/components/FAB/StyledFAB.d.ts +0 -0
  186. package/types/components/FAB/index.d.ts +0 -0
  187. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  188. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  189. package/types/components/Icon/IconList.d.ts +0 -0
  190. package/types/components/Icon/index.d.ts +0 -0
  191. package/types/components/Icon/utils.d.ts +0 -0
  192. package/types/components/Image/index.d.ts +0 -0
  193. package/types/components/List/BasicListItem.d.ts +0 -0
  194. package/types/components/List/ListItem.d.ts +0 -0
  195. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  196. package/types/components/List/StyledListItem.d.ts +0 -0
  197. package/types/components/List/index.d.ts +0 -0
  198. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  199. package/types/components/PageControl/index.d.ts +0 -0
  200. package/types/components/PinInput/PinCell.d.ts +0 -0
  201. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  202. package/types/components/PinInput/index.d.ts +0 -0
  203. package/types/components/Progress/ProgressBar.d.ts +0 -0
  204. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  205. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  206. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  207. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  208. package/types/components/Progress/constants.d.ts +0 -0
  209. package/types/components/Progress/index.d.ts +0 -0
  210. package/types/components/Progress/types.d.ts +0 -0
  211. package/types/components/Radio/Radio.d.ts +0 -0
  212. package/types/components/Radio/RadioGroup.d.ts +0 -0
  213. package/types/components/Radio/StyledRadio.d.ts +0 -0
  214. package/types/components/Radio/index.d.ts +0 -0
  215. package/types/components/Radio/types.d.ts +0 -0
  216. package/types/components/RefreshControl/index.d.ts +0 -0
  217. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  218. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  219. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  220. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  221. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  222. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  223. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  224. package/types/components/RichTextEditor/constants.d.ts +0 -0
  225. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  226. package/types/components/RichTextEditor/index.d.ts +0 -0
  227. package/types/components/RichTextEditor/types.d.ts +0 -0
  228. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  229. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  230. package/types/components/Search/SearchOneLine.d.ts +60 -0
  231. package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
  232. package/types/components/Search/SearchTwoLine.d.ts +31 -0
  233. package/types/components/Search/StyledSearch.d.ts +44 -0
  234. package/types/components/Search/index.d.ts +10 -0
  235. package/types/components/Search/utils.d.ts +8 -0
  236. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  237. package/types/components/SectionHeading/index.d.ts +0 -0
  238. package/types/components/Select/BaseOptionList.d.ts +0 -0
  239. package/types/components/Select/Footer.d.ts +0 -0
  240. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  241. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  242. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  243. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  244. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  245. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  246. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  247. package/types/components/Select/StyledSelect.d.ts +0 -0
  248. package/types/components/Select/helpers.d.ts +0 -0
  249. package/types/components/Select/index.d.ts +0 -0
  250. package/types/components/Select/types.d.ts +0 -0
  251. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  252. package/types/components/Skeleton/index.d.ts +0 -0
  253. package/types/components/Slider/index.d.ts +0 -0
  254. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  255. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  256. package/types/components/Spinner/index.d.ts +0 -0
  257. package/types/components/Success/StyledSuccess.d.ts +0 -0
  258. package/types/components/Success/index.d.ts +0 -0
  259. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  260. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  261. package/types/components/Swipeable/index.d.ts +0 -0
  262. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  263. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  264. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  265. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  266. package/types/components/Switch/index.d.ts +0 -0
  267. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  268. package/types/components/Tabs/SceneView.d.ts +0 -0
  269. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  270. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  271. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  272. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  273. package/types/components/Tabs/index.d.ts +0 -0
  274. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  275. package/types/components/Tabs/utils.d.ts +0 -0
  276. package/types/components/Tag/StyledTag.d.ts +0 -0
  277. package/types/components/Tag/index.d.ts +0 -0
  278. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  279. package/types/components/TextInput/index.d.ts +0 -0
  280. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  281. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  282. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  283. package/types/components/TimePicker/index.d.ts +0 -0
  284. package/types/components/TimePicker/types.d.ts +0 -0
  285. package/types/components/Toast/StyledToast.d.ts +0 -0
  286. package/types/components/Toast/Toast.d.ts +0 -0
  287. package/types/components/Toast/ToastContainer.d.ts +0 -0
  288. package/types/components/Toast/ToastContext.d.ts +0 -0
  289. package/types/components/Toast/ToastProvider.d.ts +0 -0
  290. package/types/components/Toast/index.d.ts +0 -0
  291. package/types/components/Toast/types.d.ts +0 -0
  292. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  293. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  294. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  295. package/types/components/Toolbar/index.d.ts +0 -0
  296. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  297. package/types/components/Typography/Text/index.d.ts +0 -0
  298. package/types/components/Typography/index.d.ts +0 -0
  299. package/types/index.d.ts +2 -1
  300. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  301. package/types/theme/ThemeProvider.d.ts +0 -0
  302. package/types/theme/ThemeSwitcher.d.ts +1 -1
  303. package/types/theme/components/accordion.d.ts +0 -0
  304. package/types/theme/components/alert.d.ts +14 -5
  305. package/types/theme/components/attachment.d.ts +0 -0
  306. package/types/theme/components/avatar.d.ts +0 -0
  307. package/types/theme/components/badge.d.ts +21 -21
  308. package/types/theme/components/bottomNavigation.d.ts +0 -0
  309. package/types/theme/components/bottomSheet.d.ts +0 -0
  310. package/types/theme/components/button.d.ts +0 -0
  311. package/types/theme/components/calendar.d.ts +0 -0
  312. package/types/theme/components/card.d.ts +0 -0
  313. package/types/theme/components/cardCarousel.d.ts +0 -0
  314. package/types/theme/components/carousel.d.ts +0 -0
  315. package/types/theme/components/checkbox.d.ts +0 -0
  316. package/types/theme/components/contentNavigator.d.ts +0 -0
  317. package/types/theme/components/datePicker.d.ts +0 -0
  318. package/types/theme/components/divider.d.ts +0 -0
  319. package/types/theme/components/drawer.d.ts +0 -0
  320. package/types/theme/components/empty.d.ts +0 -0
  321. package/types/theme/components/error.d.ts +0 -0
  322. package/types/theme/components/fab.d.ts +0 -0
  323. package/types/theme/components/icon.d.ts +0 -0
  324. package/types/theme/components/image.d.ts +0 -0
  325. package/types/theme/components/list.d.ts +0 -0
  326. package/types/theme/components/pageControl.d.ts +0 -0
  327. package/types/theme/components/pinInput.d.ts +0 -0
  328. package/types/theme/components/progress.d.ts +0 -0
  329. package/types/theme/components/radio.d.ts +0 -0
  330. package/types/theme/components/refreshControl.d.ts +0 -0
  331. package/types/theme/components/richTextEditor.d.ts +0 -0
  332. package/types/theme/components/search.d.ts +38 -0
  333. package/types/theme/components/sectionHeading.d.ts +0 -0
  334. package/types/theme/components/select.d.ts +0 -0
  335. package/types/theme/components/skeleton.d.ts +0 -0
  336. package/types/theme/components/slider.d.ts +0 -0
  337. package/types/theme/components/spinner.d.ts +0 -0
  338. package/types/theme/components/success.d.ts +0 -0
  339. package/types/theme/components/swipeable.d.ts +0 -0
  340. package/types/theme/components/switch.d.ts +0 -0
  341. package/types/theme/components/tabs.d.ts +0 -0
  342. package/types/theme/components/tag.d.ts +0 -0
  343. package/types/theme/components/textInput.d.ts +0 -0
  344. package/types/theme/components/timePicker.d.ts +0 -0
  345. package/types/theme/components/toast.d.ts +0 -0
  346. package/types/theme/components/toolbar.d.ts +0 -0
  347. package/types/theme/components/typography.d.ts +0 -0
  348. package/types/theme/getTheme.d.ts +2 -0
  349. package/types/theme/global/borders.d.ts +0 -0
  350. package/types/theme/global/colors/eBens.d.ts +0 -0
  351. package/types/theme/global/colors/global.d.ts +0 -0
  352. package/types/theme/global/colors/globalDark.d.ts +0 -0
  353. package/types/theme/global/colors/jobs.d.ts +0 -0
  354. package/types/theme/global/colors/swag.d.ts +0 -0
  355. package/types/theme/global/colors/swagDark.d.ts +0 -0
  356. package/types/theme/global/colors/types.d.ts +0 -0
  357. package/types/theme/global/colors/wallet.d.ts +0 -0
  358. package/types/theme/global/colors/work.d.ts +0 -0
  359. package/types/theme/global/index.d.ts +0 -0
  360. package/types/theme/global/scale.d.ts +0 -0
  361. package/types/theme/global/sizes.d.ts +0 -0
  362. package/types/theme/global/space.d.ts +0 -0
  363. package/types/theme/global/typography.d.ts +0 -0
  364. package/types/theme/index.d.ts +0 -0
  365. package/types/types.d.ts +0 -0
  366. package/types/utils/functions.d.ts +0 -0
  367. package/types/utils/helpers.d.ts +0 -0
  368. package/types/utils/hooks.d.ts +0 -0
  369. package/types/utils/scale.d.ts +0 -0
  370. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -35
package/lib/index.js CHANGED
@@ -1943,7 +1943,7 @@ var swagBrandSystemPallete = {
1943
1943
  highlightedSurface: '#F1E9FB',
1944
1944
  pressedSurface: '#380060',
1945
1945
  decorativePrimary: '#FDFBFF',
1946
- decorativePrimarySurface: '#DDC8F5'
1946
+ decorativePrimarySurface: '#B382FD'
1947
1947
  };
1948
1948
  var swagSystemPalette = _objectSpread2(_objectSpread2({}, globalPalette$1), swagBrandSystemPallete);
1949
1949
 
@@ -2183,11 +2183,20 @@ var getAccordionTheme = function getAccordionTheme(theme) {
2183
2183
 
2184
2184
  var getAlertTheme = function getAlertTheme(theme) {
2185
2185
  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,
2186
+ backgrounds: {
2187
+ success: theme.colors.successSurface,
2188
+ warning: theme.colors.warningSurface,
2189
+ error: theme.colors.errorSurface,
2190
+ info: theme.colors.infoSurface,
2191
+ notification: theme.colors.defaultGlobalSurface
2192
+ },
2193
+ texts: {
2194
+ success: theme.colors.onSuccessSurface,
2195
+ warning: theme.colors.onWarningSurface,
2196
+ error: theme.colors.onErrorSurface,
2197
+ info: theme.colors.onInfoSurface,
2198
+ notification: theme.colors.onDefaultGlobalSurface
2199
+ },
2191
2200
  divider: theme.colors.secondaryOutline
2192
2201
  };
2193
2202
  var sizes = {
@@ -2308,22 +2317,36 @@ var getBadgeTheme = function getBadgeTheme(theme) {
2308
2317
  text: theme.colors.onDarkGlobalSurface
2309
2318
  };
2310
2319
  var fonts = {
2311
- "default": theme.fonts.neutral.semiBold
2320
+ medium: theme.fonts.neutral.regular,
2321
+ small: theme.fonts.neutral.semiBold
2312
2322
  };
2313
2323
  var fontSizes = {
2314
- "default": theme.fontSizes.small
2324
+ medium: theme.fontSizes.small,
2325
+ small: 8
2315
2326
  };
2316
2327
  var lineHeights = {
2317
- "default": theme.lineHeights.small
2328
+ medium: theme.lineHeights.small,
2329
+ small: 10
2318
2330
  };
2319
2331
  var sizes = {
2320
- height: theme.fontSizes.small + theme.sizes.small,
2321
- minWidth: theme.fontSizes.small + theme.sizes.small,
2332
+ medium: {
2333
+ height: theme.sizes.large,
2334
+ minWidth: theme.sizes.large
2335
+ },
2336
+ small: {
2337
+ height: theme.sizes.medium,
2338
+ minWidth: theme.sizes.medium
2339
+ },
2322
2340
  statusHeight: theme.sizes.small,
2323
2341
  statusWidth: theme.sizes.small
2324
2342
  };
2325
2343
  var space = {
2326
- horizontalPadding: theme.space.small,
2344
+ medium: {
2345
+ horizontalPadding: theme.space.small
2346
+ },
2347
+ small: {
2348
+ horizontalPadding: theme.space.xsmall
2349
+ },
2327
2350
  statusPositionTop: -theme.space.xxsmall,
2328
2351
  statusPositionRight: -theme.space.xxsmall
2329
2352
  };
@@ -3790,9 +3813,55 @@ var getTypographyTheme = function getTypographyTheme(theme) {
3790
3813
  };
3791
3814
  };
3792
3815
 
3816
+ var getSearchTheme = function getSearchTheme(theme) {
3817
+ var colors = {
3818
+ containerBackground: theme.colors.neutralGlobalSurface,
3819
+ surfixBackground: theme.colors.defaultGlobalSurface,
3820
+ text: theme.colors.onDefaultGlobalSurface,
3821
+ borders: theme.colors.primaryOutline
3822
+ };
3823
+ var space = {
3824
+ containerHorizontalPadding: theme.space.small,
3825
+ containerVerticalPadding: theme.space.small,
3826
+ inputHorizontalMargin: theme.space.small,
3827
+ prefixHorizontalPadding: theme.space.xsmall,
3828
+ surfixPadding: theme.space.small,
3829
+ badgeTop: -theme.space.xxsmall,
3830
+ badgeRight: -theme.space.xxsmall
3831
+ };
3832
+ var fonts = {
3833
+ text: theme.fonts.neutral.regular
3834
+ };
3835
+ var fontSizes = {
3836
+ text: theme.fontSizes.large
3837
+ };
3838
+ var borderWidths = {
3839
+ container: {
3840
+ normal: theme.borderWidths.base,
3841
+ focused: theme.borderWidths.medium
3842
+ }
3843
+ };
3844
+ var radii = {
3845
+ container: theme.radii.rounded,
3846
+ surfix: theme.radii.rounded
3847
+ };
3848
+ var sizes = {
3849
+ surfixSize: theme.sizes.xxlarge
3850
+ };
3851
+ return {
3852
+ colors: colors,
3853
+ space: space,
3854
+ fonts: fonts,
3855
+ fontSizes: fontSizes,
3856
+ borderWidths: borderWidths,
3857
+ radii: radii,
3858
+ sizes: sizes
3859
+ };
3860
+ };
3861
+
3793
3862
  var getTheme$1 = function getTheme() {
3794
3863
  var scale = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : scale$1;
3795
- var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette;
3864
+ var systemPallete = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : swagSystemPalette$1;
3796
3865
  var globalTheme = getGlobalTheme(scale, systemPallete);
3797
3866
  return _objectSpread2(_objectSpread2({}, globalTheme), {}, {
3798
3867
  __hd__: {
@@ -3827,6 +3896,7 @@ var getTheme$1 = function getTheme() {
3827
3896
  rate: getRateTheme(globalTheme),
3828
3897
  refreshControl: getRefreshControlTheme(globalTheme),
3829
3898
  richTextEditor: getRichTextEditorTheme(globalTheme),
3899
+ search: getSearchTheme(globalTheme),
3830
3900
  sectionHeading: getSectionHeadingTheme(globalTheme),
3831
3901
  select: getSelectTheme(globalTheme),
3832
3902
  skeleton: getSkeletonTheme(globalTheme),
@@ -5011,7 +5081,7 @@ var useTheme = useTheme$1;
5011
5081
 
5012
5082
  var ThemeSwitcher = function ThemeSwitcher(_ref) {
5013
5083
  var _ref$name = _ref.name,
5014
- name = _ref$name === void 0 ? 'swagLight' : _ref$name,
5084
+ name = _ref$name === void 0 ? 'swag' : _ref$name,
5015
5085
  children = _ref.children;
5016
5086
  var theme = React.useMemo(function () {
5017
5087
  switch (name) {
@@ -5027,8 +5097,6 @@ var ThemeSwitcher = function ThemeSwitcher(_ref) {
5027
5097
  return getTheme$1(scale$1, eBensSystemPalette);
5028
5098
  case 'swagDark':
5029
5099
  return getTheme$1(scale$1, swagDarkSystemPalette);
5030
- case 'swagLight':
5031
- return getTheme$1(scale$1, swagSystemPalette);
5032
5100
  }
5033
5101
  }, [name]);
5034
5102
  return /*#__PURE__*/React__namespace.default.createElement(ThemeProvider, {
@@ -6920,7 +6988,7 @@ var StyledText$3 = index$9(reactNative.Text)(function (_ref) {
6920
6988
  });
6921
6989
  });
6922
6990
 
6923
- var _excluded$D = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6991
+ var _excluded$E = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6924
6992
  var Text = function Text(_ref) {
6925
6993
  var children = _ref.children,
6926
6994
  _ref$fontSize = _ref.fontSize,
@@ -6933,7 +7001,7 @@ var Text = function Text(_ref) {
6933
7001
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6934
7002
  _ref$allowFontScaling = _ref.allowFontScaling,
6935
7003
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6936
- nativeProps = _objectWithoutProperties(_ref, _excluded$D);
7004
+ nativeProps = _objectWithoutProperties(_ref, _excluded$E);
6937
7005
  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
7006
  return /*#__PURE__*/React__namespace.default.createElement(StyledText$3, _extends$1({}, nativeProps, {
6939
7007
  themeFontSize: fontSize,
@@ -6963,7 +7031,7 @@ var StyledCaption = index$9(reactNative.Text)(function (_ref) {
6963
7031
  };
6964
7032
  });
6965
7033
 
6966
- var _excluded$C = ["children", "fontWeight", "intent", "allowFontScaling"];
7034
+ var _excluded$D = ["children", "fontWeight", "intent", "allowFontScaling"];
6967
7035
  var Caption = function Caption(_ref) {
6968
7036
  var children = _ref.children,
6969
7037
  _ref$fontWeight = _ref.fontWeight,
@@ -6972,7 +7040,7 @@ var Caption = function Caption(_ref) {
6972
7040
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6973
7041
  _ref$allowFontScaling = _ref.allowFontScaling,
6974
7042
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6975
- nativeProps = _objectWithoutProperties(_ref, _excluded$C);
7043
+ nativeProps = _objectWithoutProperties(_ref, _excluded$D);
6976
7044
  return /*#__PURE__*/React__namespace.default.createElement(StyledCaption, _extends$1({}, nativeProps, {
6977
7045
  themeFontWeight: fontWeight,
6978
7046
  themeIntent: intent,
@@ -6991,14 +7059,14 @@ var StyledLabel$1 = index$9(reactNative.Text)(function (_ref) {
6991
7059
  };
6992
7060
  });
6993
7061
 
6994
- var _excluded$B = ["children", "intent", "allowFontScaling"];
7062
+ var _excluded$C = ["children", "intent", "allowFontScaling"];
6995
7063
  var Label = function Label(_ref) {
6996
7064
  var children = _ref.children,
6997
7065
  _ref$intent = _ref.intent,
6998
7066
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6999
7067
  _ref$allowFontScaling = _ref.allowFontScaling,
7000
7068
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
7001
- nativeProps = _objectWithoutProperties(_ref, _excluded$B);
7069
+ nativeProps = _objectWithoutProperties(_ref, _excluded$C);
7002
7070
  return /*#__PURE__*/React__namespace.default.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
7003
7071
  themeIntent: intent,
7004
7072
  allowFontScaling: allowFontScaling
@@ -7019,7 +7087,7 @@ var StyledTitle$1 = index$9(reactNative.Text)(function (_ref) {
7019
7087
  };
7020
7088
  });
7021
7089
 
7022
- var _excluded$A = ["children", "intent", "allowFontScaling", "level", "typeface"];
7090
+ var _excluded$B = ["children", "intent", "allowFontScaling", "level", "typeface"];
7023
7091
  var Title = function Title(_ref) {
7024
7092
  var children = _ref.children,
7025
7093
  _ref$intent = _ref.intent,
@@ -7030,7 +7098,7 @@ var Title = function Title(_ref) {
7030
7098
  level = _ref$level === void 0 ? 'h1' : _ref$level,
7031
7099
  _ref$typeface = _ref.typeface,
7032
7100
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7033
- nativeProps = _objectWithoutProperties(_ref, _excluded$A);
7101
+ nativeProps = _objectWithoutProperties(_ref, _excluded$B);
7034
7102
  return /*#__PURE__*/React__namespace.default.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
7035
7103
  themeLevel: level,
7036
7104
  themeTypeface: typeface,
@@ -7051,7 +7119,7 @@ var FONTSIZE_MAP = {
7051
7119
  'regular-bold': 'regular',
7052
7120
  'small-bold': 'small'
7053
7121
  };
7054
- var StyledBody = index$9(reactNative.Text)(function (_ref) {
7122
+ var StyledBody$1 = index$9(reactNative.Text)(function (_ref) {
7055
7123
  var themeIntent = _ref.themeIntent,
7056
7124
  theme = _ref.theme,
7057
7125
  themeTypeface = _ref.themeTypeface,
@@ -7065,7 +7133,7 @@ var StyledBody = index$9(reactNative.Text)(function (_ref) {
7065
7133
  };
7066
7134
  });
7067
7135
 
7068
- var _excluded$z = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7136
+ var _excluded$A = ["children", "intent", "allowFontScaling", "typeface", "variant"];
7069
7137
  var Body = function Body(_ref) {
7070
7138
  var children = _ref.children,
7071
7139
  _ref$intent = _ref.intent,
@@ -7076,8 +7144,8 @@ var Body = function Body(_ref) {
7076
7144
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
7077
7145
  _ref$variant = _ref.variant,
7078
7146
  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, {
7147
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
7148
+ return /*#__PURE__*/React__namespace.default.createElement(StyledBody$1, _extends$1({}, nativeProps, {
7081
7149
  themeTypeface: typeface,
7082
7150
  themeIntent: intent,
7083
7151
  themeVariant: variant,
@@ -7643,10 +7711,10 @@ var StyledHeroIcon = index$9(HeroIcon)(function (_ref) {
7643
7711
  };
7644
7712
  });
7645
7713
 
7646
- var _excluded$y = ["style"];
7714
+ var _excluded$z = ["style"];
7647
7715
  var AnimatedIcon = function AnimatedIcon(_ref) {
7648
7716
  var style = _ref.style,
7649
- otherProps = _objectWithoutProperties(_ref, _excluded$y);
7717
+ otherProps = _objectWithoutProperties(_ref, _excluded$z);
7650
7718
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
7651
7719
  React.useEffect(function () {
7652
7720
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -7751,7 +7819,7 @@ var AccordionItem = function AccordionItem(_ref) {
7751
7819
  }, content));
7752
7820
  };
7753
7821
 
7754
- var _excluded$x = ["key"];
7822
+ var _excluded$y = ["key"];
7755
7823
  var Accordion = function Accordion(_ref) {
7756
7824
  var items = _ref.items,
7757
7825
  activeItemKey = _ref.activeItemKey,
@@ -7772,7 +7840,7 @@ var Accordion = function Accordion(_ref) {
7772
7840
  testID: testID
7773
7841
  }, items.map(function (_ref2, index) {
7774
7842
  var key = _ref2.key,
7775
- props = _objectWithoutProperties(_ref2, _excluded$x);
7843
+ props = _objectWithoutProperties(_ref2, _excluded$y);
7776
7844
  var open = _activeItemKey === key;
7777
7845
  return /*#__PURE__*/React__namespace.default.createElement(React__namespace.default.Fragment, {
7778
7846
  key: key
@@ -7795,7 +7863,7 @@ var Container$1 = index$9(reactNative.View)(function (_ref) {
7795
7863
  themeIntent = _ref.themeIntent;
7796
7864
  return {
7797
7865
  borderRadius: themeVariant === 'rounded' ? theme.__hd__.alert.radii["default"] : 0,
7798
- backgroundColor: theme.__hd__.alert.colors[themeIntent],
7866
+ backgroundColor: theme.__hd__.alert.colors.backgrounds[themeIntent],
7799
7867
  minHeight: theme.__hd__.alert.sizes.height,
7800
7868
  flexDirection: 'row'
7801
7869
  };
@@ -7807,16 +7875,30 @@ var IconContainer$1 = index$9(reactNative.View)(function (_ref2) {
7807
7875
  paddingLeft: theme.__hd__.alert.space.iconLeftPadding
7808
7876
  };
7809
7877
  });
7810
- var TextContainer$1 = index$9(reactNative.View)(function (_ref3) {
7811
- var theme = _ref3.theme;
7878
+ var StyledIcon$2 = index$9(Icon)(function (_ref3) {
7879
+ var theme = _ref3.theme,
7880
+ themeIntent = _ref3.themeIntent;
7881
+ return {
7882
+ color: theme.__hd__.alert.colors.texts[themeIntent]
7883
+ };
7884
+ });
7885
+ var TextContainer$1 = index$9(reactNative.View)(function (_ref4) {
7886
+ var theme = _ref4.theme;
7812
7887
  return {
7813
7888
  paddingHorizontal: theme.__hd__.alert.space.textPaddingHorizontal,
7814
7889
  flex: 1
7815
7890
  };
7816
7891
  });
7817
- var ContentContainer$1 = index$9(reactNative.View)(function (_ref4) {
7818
- var theme = _ref4.theme,
7819
- showDivider = _ref4.showDivider;
7892
+ var StyledBody = index$9(Typography.Body)(function (_ref5) {
7893
+ var theme = _ref5.theme,
7894
+ themeIntent = _ref5.themeIntent;
7895
+ return {
7896
+ color: theme.__hd__.alert.colors.texts[themeIntent]
7897
+ };
7898
+ });
7899
+ var ContentContainer$1 = index$9(reactNative.View)(function (_ref6) {
7900
+ var theme = _ref6.theme,
7901
+ showDivider = _ref6.showDivider;
7820
7902
  return {
7821
7903
  paddingVertical: theme.__hd__.alert.space.contentPaddingHorizontal,
7822
7904
  flex: 1,
@@ -7825,8 +7907,8 @@ var ContentContainer$1 = index$9(reactNative.View)(function (_ref4) {
7825
7907
  flexDirection: 'row'
7826
7908
  };
7827
7909
  });
7828
- var CTAWrapper$1 = index$9(reactNative.TouchableOpacity)(function (_ref5) {
7829
- var theme = _ref5.theme;
7910
+ var CTAWrapper$1 = index$9(reactNative.TouchableOpacity)(function (_ref7) {
7911
+ var theme = _ref7.theme;
7830
7912
  return {
7831
7913
  paddingHorizontal: theme.__hd__.alert.space.ctaPadding,
7832
7914
  justifyContent: 'center'
@@ -7848,12 +7930,14 @@ var getIntentIcon$1 = function getIntentIcon(intent) {
7848
7930
  }
7849
7931
  };
7850
7932
  var AlertIcon = function AlertIcon(_ref) {
7851
- var icon = _ref.icon;
7933
+ var icon = _ref.icon,
7934
+ intent = _ref.intent;
7852
7935
  return icon ? /*#__PURE__*/React__namespace.default.createElement(IconContainer$1, {
7853
7936
  testID: "alert-left-icon"
7854
- }, /*#__PURE__*/React__namespace.default.createElement(Icon, {
7937
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
7855
7938
  icon: icon,
7856
- size: "small"
7939
+ size: "small",
7940
+ themeIntent: intent
7857
7941
  })) : null;
7858
7942
  };
7859
7943
  var Alert = function Alert(_ref2) {
@@ -7877,23 +7961,28 @@ var Alert = function Alert(_ref2) {
7877
7961
  }, /*#__PURE__*/React__namespace.default.createElement(ContentContainer$1, {
7878
7962
  showDivider: !!onClose
7879
7963
  }, 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"
7964
+ icon: icon || getIntentIcon$1(intent),
7965
+ intent: intent
7966
+ }) : null, /*#__PURE__*/React__namespace.default.createElement(TextContainer$1, null, typeof title === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
7967
+ variant: "small-bold",
7968
+ themeIntent: intent
7969
+ }, title) : title, typeof content === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
7970
+ variant: "small",
7971
+ themeIntent: intent
7885
7972
  }, content) : content)), onClose ? /*#__PURE__*/React__namespace.default.createElement(CTAWrapper$1, {
7886
7973
  onPress: onClose,
7887
7974
  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, {
7975
+ }, typeof actionLabel === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledBody, {
7976
+ variant: "small-bold",
7977
+ themeIntent: intent
7978
+ }, actionLabel) : /*#__PURE__*/React__namespace.default.createElement(StyledIcon$2, {
7891
7979
  icon: "cancel",
7892
- size: "small"
7980
+ size: "small",
7981
+ themeIntent: intent
7893
7982
  })) : null);
7894
7983
  };
7895
7984
 
7896
- var StyledContainer$6 = index$9(reactNative.View)({
7985
+ var StyledContainer$7 = index$9(reactNative.View)({
7897
7986
  alignItems: 'center',
7898
7987
  flexDirection: 'row'
7899
7988
  });
@@ -7935,7 +8024,7 @@ var Attachment = function Attachment(_ref) {
7935
8024
  backgroundHighlighted = _ref$backgroundHighli === void 0 ? false : _ref$backgroundHighli,
7936
8025
  style = _ref.style,
7937
8026
  testID = _ref.testID;
7938
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$6, {
8027
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$7, {
7939
8028
  testID: testID,
7940
8029
  style: style
7941
8030
  }, /*#__PURE__*/React__namespace.default.createElement(StyledContentContainer$1, {
@@ -8245,7 +8334,7 @@ var borderWidths = {
8245
8334
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8246
8335
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8247
8336
 
8248
- var _excluded$w = ["theme"];
8337
+ var _excluded$x = ["theme"];
8249
8338
  var getThemeValue = function getThemeValue(theme, key, props) {
8250
8339
  var propConfig = config[key];
8251
8340
  var propValue = props[key];
@@ -8272,18 +8361,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8272
8361
  var configKeys = Object.keys(config);
8273
8362
  var StyledBox = index$9(reactNative.View)(function (_ref5) {
8274
8363
  var theme = _ref5.theme,
8275
- otherProps = _objectWithoutProperties(_ref5, _excluded$w);
8364
+ otherProps = _objectWithoutProperties(_ref5, _excluded$x);
8276
8365
  var styleProps = pick(configKeys, otherProps);
8277
8366
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8278
8367
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8279
8368
  });
8280
8369
 
8281
- var _excluded$v = ["children", "style", "testID"];
8370
+ var _excluded$w = ["children", "style", "testID"];
8282
8371
  var Box = function Box(_ref) {
8283
8372
  var children = _ref.children,
8284
8373
  style = _ref.style,
8285
8374
  testID = _ref.testID,
8286
- otherProps = _objectWithoutProperties(_ref, _excluded$v);
8375
+ otherProps = _objectWithoutProperties(_ref, _excluded$w);
8287
8376
  return /*#__PURE__*/React__namespace.default.createElement(StyledBox, _extends$1({}, otherProps, {
8288
8377
  style: style,
8289
8378
  testID: testID
@@ -8463,20 +8552,25 @@ var index$8 = Object.assign(Avatar, {
8463
8552
  var StyledView$2 = index$9(reactNative.Animated.View)(function (_ref) {
8464
8553
  var themeIntent = _ref.themeIntent,
8465
8554
  themePadding = _ref.themePadding,
8555
+ themeSize = _ref.themeSize,
8466
8556
  theme = _ref.theme;
8467
8557
  return {
8468
- height: theme.__hd__.badge.sizes.height,
8469
- minWidth: theme.__hd__.badge.sizes.minWidth,
8558
+ height: theme.__hd__.badge.sizes[themeSize].height,
8559
+ minWidth: theme.__hd__.badge.sizes[themeSize].minWidth,
8470
8560
  alignItems: 'center',
8471
8561
  justifyContent: 'center',
8472
8562
  backgroundColor: theme.__hd__.badge.colors[themeIntent],
8473
8563
  borderRadius: theme.radii.rounded,
8474
- paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space.horizontalPadding : undefined
8564
+ paddingHorizontal: themePadding === 'wideContent' ? theme.__hd__.badge.space[themeSize].horizontalPadding : undefined
8475
8565
  };
8476
8566
  });
8477
8567
  var StyledText$1 = index$9(Typography.Caption)(function (_ref2) {
8478
- var theme = _ref2.theme;
8568
+ var theme = _ref2.theme,
8569
+ themeSize = _ref2.themeSize;
8479
8570
  return {
8571
+ fontSize: theme.__hd__.badge.fontSizes[themeSize],
8572
+ lineHeight: theme.__hd__.badge.lineHeights[themeSize],
8573
+ fontFamily: theme.__hd__.badge.fonts[themeSize],
8480
8574
  color: theme.__hd__.badge.colors.text,
8481
8575
  includeFontPadding: false,
8482
8576
  textAlignVertical: 'center',
@@ -8497,7 +8591,7 @@ var StyledStatus = index$9(reactNative.Animated.View)(function (_ref3) {
8497
8591
  };
8498
8592
  });
8499
8593
 
8500
- var _excluded$u = ["children", "visible", "intent", "style", "testID"];
8594
+ var _excluded$v = ["children", "visible", "intent", "style", "testID"];
8501
8595
  var Status = function Status(_ref) {
8502
8596
  var children = _ref.children,
8503
8597
  _ref$visible = _ref.visible,
@@ -8506,7 +8600,7 @@ var Status = function Status(_ref) {
8506
8600
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8507
8601
  style = _ref.style,
8508
8602
  testID = _ref.testID,
8509
- nativeProps = _objectWithoutProperties(_ref, _excluded$u);
8603
+ nativeProps = _objectWithoutProperties(_ref, _excluded$v);
8510
8604
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8511
8605
  opacity = _React$useRef.current;
8512
8606
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8539,7 +8633,7 @@ var Status = function Status(_ref) {
8539
8633
  }));
8540
8634
  };
8541
8635
 
8542
- var _excluded$t = ["content", "visible", "max", "intent", "style", "testID"];
8636
+ var _excluded$u = ["content", "visible", "max", "intent", "style", "testID", "size"];
8543
8637
  var DEFAULT_MAX_NUMBER = 99;
8544
8638
  var getPaddingState = function getPaddingState(content) {
8545
8639
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -8554,7 +8648,9 @@ var Badge = function Badge(_ref) {
8554
8648
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8555
8649
  style = _ref.style,
8556
8650
  testID = _ref.testID,
8557
- nativeProps = _objectWithoutProperties(_ref, _excluded$t);
8651
+ _ref$size = _ref.size,
8652
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
8653
+ nativeProps = _objectWithoutProperties(_ref, _excluded$u);
8558
8654
  var _React$useRef = React__namespace.default.useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
8559
8655
  opacity = _React$useRef.current;
8560
8656
  var isFirstRendering = React__namespace.default.useRef(true);
@@ -8574,6 +8670,7 @@ var Badge = function Badge(_ref) {
8574
8670
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$2, _extends$1({}, nativeProps, {
8575
8671
  themeIntent: intent,
8576
8672
  themePadding: getPaddingState(content),
8673
+ themeSize: size,
8577
8674
  style: [{
8578
8675
  opacity: opacity,
8579
8676
  transform: [{
@@ -8584,7 +8681,9 @@ var Badge = function Badge(_ref) {
8584
8681
  }]
8585
8682
  }, style],
8586
8683
  testID: testID
8587
- }), /*#__PURE__*/React__namespace.default.createElement(StyledText$1, null, content));
8684
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledText$1, {
8685
+ themeSize: size
8686
+ }, content));
8588
8687
  };
8589
8688
  var Badge$1 = Object.assign(Badge, {
8590
8689
  Status: Status
@@ -8641,7 +8740,7 @@ var StyledBottomBarText = index$9(Typography.Caption)(function (_ref3) {
8641
8740
  };
8642
8741
  });
8643
8742
 
8644
- var _excluded$s = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8743
+ var _excluded$t = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8645
8744
  var getInactiveIcon = function getInactiveIcon(icon) {
8646
8745
  var inactiveIcon = "".concat(icon, "-outlined");
8647
8746
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -8652,7 +8751,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
8652
8751
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
8653
8752
  selectedTabKey = _ref.selectedTabKey,
8654
8753
  tabs = _ref.tabs,
8655
- nativeProps = _objectWithoutProperties(_ref, _excluded$s);
8754
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
8656
8755
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
8657
8756
  /**
8658
8757
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -8738,13 +8837,13 @@ var StyledDivider = index$9(reactNative.View)(function (_ref) {
8738
8837
  }, horizontalMargin), verticalMargin);
8739
8838
  });
8740
8839
 
8741
- var _excluded$r = ["marginHorizontal", "marginVertical", "style", "testID"];
8840
+ var _excluded$s = ["marginHorizontal", "marginVertical", "style", "testID"];
8742
8841
  var Divider = function Divider(_ref) {
8743
8842
  var marginHorizontal = _ref.marginHorizontal,
8744
8843
  marginVertical = _ref.marginVertical,
8745
8844
  style = _ref.style,
8746
8845
  testID = _ref.testID,
8747
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
8846
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
8748
8847
  return /*#__PURE__*/React__namespace.default.createElement(StyledDivider, _extends$1({}, nativeProps, {
8749
8848
  themeMarginHorizontal: marginHorizontal,
8750
8849
  themeMarginVertical: marginVertical,
@@ -8868,7 +8967,7 @@ var StyledLoadingDot = index$9(reactNative.View)(function (_ref) {
8868
8967
  }, themeStyling());
8869
8968
  });
8870
8969
 
8871
- var _excluded$q = ["count", "size", "testID", "themeVariant"];
8970
+ var _excluded$r = ["count", "size", "testID", "themeVariant"];
8872
8971
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
8873
8972
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
8874
8973
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -8900,7 +8999,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
8900
8999
  size = _ref2$size === void 0 ? 12 : _ref2$size,
8901
9000
  testID = _ref2.testID,
8902
9001
  themeVariant = _ref2.themeVariant,
8903
- nativeProps = _objectWithoutProperties(_ref2, _excluded$q);
9002
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$r);
8904
9003
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
8905
9004
  React.useEffect(function () {
8906
9005
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -9335,11 +9434,11 @@ var Header = function Header(_ref) {
9335
9434
  })) : null), showDivider ? /*#__PURE__*/React__namespace.default.createElement(Divider, null) : null);
9336
9435
  };
9337
9436
 
9338
- var _excluded$p = ["scrollEventThrottle"];
9437
+ var _excluded$q = ["scrollEventThrottle"];
9339
9438
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
9340
9439
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
9341
9440
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
9342
- props = _objectWithoutProperties(_ref, _excluded$p);
9441
+ props = _objectWithoutProperties(_ref, _excluded$q);
9343
9442
  var _useContext = React.useContext(BottomSheetContext),
9344
9443
  setInternalShowDivider = _useContext.setInternalShowDivider;
9345
9444
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -11797,7 +11896,7 @@ function ContentNavigator(_ref) {
11797
11896
  }));
11798
11897
  }
11799
11898
 
11800
- var StyledContainer$5 = index$9(reactNative.View)(function (_ref) {
11899
+ var StyledContainer$6 = index$9(reactNative.View)(function (_ref) {
11801
11900
  var theme = _ref.theme;
11802
11901
  return {
11803
11902
  backgroundColor: theme.__hd__.calendar.colors.background
@@ -12011,7 +12110,7 @@ var Calendar = function Calendar(_ref) {
12011
12110
  var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
12012
12111
  return date !== undefined;
12013
12112
  }) || maxDate <= lastDateOfMonth;
12014
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
12113
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$6, {
12015
12114
  testID: testID
12016
12115
  }, /*#__PURE__*/React__namespace.default.createElement(StyledCalendarHeader, null, /*#__PURE__*/React__namespace.default.createElement(ContentNavigator, {
12017
12116
  value: !useMonthPicker ? format('MMMM yyyy', visibleDate) : /*#__PURE__*/React__namespace.default.createElement(reactNative.TouchableOpacity, {
@@ -12151,12 +12250,12 @@ var Indicator = index$9(reactNative.View)(function (_ref2) {
12151
12250
  };
12152
12251
  });
12153
12252
 
12154
- var _excluded$o = ["intent", "children"];
12253
+ var _excluded$p = ["intent", "children"];
12155
12254
  var DataCard = function DataCard(_ref) {
12156
12255
  var _ref$intent = _ref.intent,
12157
12256
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
12158
12257
  children = _ref.children,
12159
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
12258
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
12160
12259
  return /*#__PURE__*/React__namespace.default.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__namespace.default.createElement(Indicator, {
12161
12260
  themeIntent: intent,
12162
12261
  testID: "data-card-indicator"
@@ -12174,11 +12273,11 @@ var StyledCard$1 = index$9(reactNative.View)(function (_ref) {
12174
12273
  });
12175
12274
  });
12176
12275
 
12177
- var _excluded$n = ["intent", "children"];
12276
+ var _excluded$o = ["intent", "children"];
12178
12277
  var Card = function Card(_ref) {
12179
12278
  var intent = _ref.intent,
12180
12279
  children = _ref.children,
12181
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
12280
+ nativeProps = _objectWithoutProperties(_ref, _excluded$o);
12182
12281
  return /*#__PURE__*/React__namespace.default.createElement(StyledCard$1, _extends$1({}, nativeProps, {
12183
12282
  themeIntent: intent
12184
12283
  }), children);
@@ -12439,7 +12538,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
12439
12538
  });
12440
12539
  CardCarousel.displayName = 'CardCarousel';
12441
12540
 
12442
- var _excluded$m = ["rounded", "size", "testID", "style"];
12541
+ var _excluded$n = ["rounded", "size", "testID", "style"];
12443
12542
  var Image = function Image(_ref) {
12444
12543
  var _ref$rounded = _ref.rounded,
12445
12544
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -12447,7 +12546,7 @@ var Image = function Image(_ref) {
12447
12546
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
12448
12547
  testID = _ref.testID,
12449
12548
  style = _ref.style,
12450
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$m);
12549
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$n);
12451
12550
  var theme = useTheme();
12452
12551
  var imageSize = theme.__hd__.image.sizes[size];
12453
12552
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.Image, _extends$1({
@@ -12581,7 +12680,7 @@ var CarouselItem = function CarouselItem(_ref) {
12581
12680
  }, heading), !!body && /*#__PURE__*/React__namespace.default.createElement(Typography.Body, null, body)));
12582
12681
  };
12583
12682
 
12584
- var _excluded$l = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12683
+ var _excluded$m = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12585
12684
  function useStateFromProp(initialValue) {
12586
12685
  var _useState = React.useState(initialValue),
12587
12686
  _useState2 = _slicedToArray(_useState, 2),
@@ -12608,7 +12707,7 @@ var Carousel = function Carousel(_ref) {
12608
12707
  testID = _ref.testID,
12609
12708
  _ref$pageControlPosit = _ref.pageControlPosition,
12610
12709
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
12611
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
12710
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
12612
12711
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
12613
12712
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
12614
12713
  var theme = useTheme();
@@ -12818,7 +12917,7 @@ var StyledIcon$1 = index$9(Icon)(function (_ref4) {
12818
12917
  };
12819
12918
  });
12820
12919
 
12821
- var _excluded$k = ["label", "variant", "selected", "icon", "onPress"];
12920
+ var _excluded$l = ["label", "variant", "selected", "icon", "onPress"];
12822
12921
  var Chip = function Chip(_ref) {
12823
12922
  var label = _ref.label,
12824
12923
  _ref$variant = _ref.variant,
@@ -12827,7 +12926,7 @@ var Chip = function Chip(_ref) {
12827
12926
  selected = _ref$selected === void 0 ? false : _ref$selected,
12828
12927
  icon = _ref.icon,
12829
12928
  onPress = _ref.onPress,
12830
- otherProps = _objectWithoutProperties(_ref, _excluded$k);
12929
+ otherProps = _objectWithoutProperties(_ref, _excluded$l);
12831
12930
  var internalIcon = React__namespace.default.useMemo(function () {
12832
12931
  if (icon && variant === 'filled') {
12833
12932
  return icon;
@@ -12946,7 +13045,7 @@ var Checkbox = function Checkbox(_ref2) {
12946
13045
  })));
12947
13046
  };
12948
13047
 
12949
- var StyledContainer$4 = index$9(reactNative.View)(function (_ref) {
13048
+ var StyledContainer$5 = index$9(reactNative.View)(function (_ref) {
12950
13049
  var theme = _ref.theme;
12951
13050
  return {
12952
13051
  width: '100%',
@@ -13074,8 +13173,8 @@ var StyledErrorAndMaxLengthContainer = index$9(reactNative.View)(function () {
13074
13173
  };
13075
13174
  });
13076
13175
 
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) {
13176
+ var _excluded$k = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
13177
+ var getState$2 = function getState(_ref) {
13079
13178
  var disabled = _ref.disabled,
13080
13179
  error = _ref.error,
13081
13180
  editable = _ref.editable,
@@ -13111,7 +13210,7 @@ var renderErrorOrHelpText = function renderErrorOrHelpText(_ref2) {
13111
13210
  testID: "input-error-message"
13112
13211
  }, error)) : !!helpText && /*#__PURE__*/React__namespace.default.createElement(StyledHelperText, null, helpText);
13113
13212
  };
13114
- var renderInput = function renderInput(_ref3) {
13213
+ var renderInput$1 = function renderInput(_ref3) {
13115
13214
  var variant = _ref3.variant,
13116
13215
  nativeInputProps = _ref3.nativeInputProps,
13117
13216
  renderInputValue = _ref3.renderInputValue,
@@ -13122,7 +13221,7 @@ var renderInput = function renderInput(_ref3) {
13122
13221
  ref: ref
13123
13222
  }));
13124
13223
  };
13125
- var renderSuffix = function renderSuffix(_ref4) {
13224
+ var renderSuffix$1 = function renderSuffix(_ref4) {
13126
13225
  var state = _ref4.state,
13127
13226
  loading = _ref4.loading,
13128
13227
  suffix = _ref4.suffix;
@@ -13135,7 +13234,7 @@ var renderSuffix = function renderSuffix(_ref4) {
13135
13234
  size: "medium"
13136
13235
  }) : suffix;
13137
13236
  };
13138
- var renderPrefix = function renderPrefix(_ref5) {
13237
+ var renderPrefix$1 = function renderPrefix(_ref5) {
13139
13238
  var state = _ref5.state,
13140
13239
  prefix = _ref5.prefix;
13141
13240
  return typeof prefix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
@@ -13186,7 +13285,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13186
13285
  allowFontScaling = _ref8$allowFontScalin === void 0 ? false : _ref8$allowFontScalin,
13187
13286
  _ref8$variant = _ref8.variant,
13188
13287
  variant = _ref8$variant === void 0 ? 'text' : _ref8$variant,
13189
- nativeProps = _objectWithoutProperties(_ref8, _excluded$j);
13288
+ nativeProps = _objectWithoutProperties(_ref8, _excluded$k);
13190
13289
  var displayText = getDisplayText(value, defaultValue);
13191
13290
  var isEmptyValue = displayText.length === 0;
13192
13291
  var _React$useState = React__namespace.default.useState({
@@ -13208,7 +13307,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13208
13307
  _React$useState8 = _slicedToArray(_React$useState7, 2),
13209
13308
  isFocused = _React$useState8[0],
13210
13309
  setIsFocused = _React$useState8[1];
13211
- var state = getState$1({
13310
+ var state = getState$2({
13212
13311
  disabled: disabled,
13213
13312
  error: error,
13214
13313
  editable: editable,
@@ -13338,7 +13437,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13338
13437
  defaultValue: defaultValue,
13339
13438
  placeholder: isFocused || label === undefined ? nativeProps.placeholder : EMPTY_PLACEHOLDER_VALUE
13340
13439
  });
13341
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
13440
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
13342
13441
  style: styleWithoutBackgroundColor,
13343
13442
  pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
13344
13443
  testID: testID
@@ -13353,7 +13452,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13353
13452
  }, borderStyle]
13354
13453
  }), /*#__PURE__*/React__namespace.default.createElement(reactNative.View, {
13355
13454
  onLayout: onPrefixLayout
13356
- }, renderPrefix({
13455
+ }, renderPrefix$1({
13357
13456
  state: state,
13358
13457
  prefix: prefix
13359
13458
  })), /*#__PURE__*/React__namespace.default.createElement(StyledLabelContainerInsideTextInput, {
@@ -13393,14 +13492,14 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref8, ref) {
13393
13492
  testID: "input-label",
13394
13493
  themeState: state,
13395
13494
  onLayout: onLabelLayout
13396
- }, label)), /*#__PURE__*/React__namespace.default.createElement(StyledTextInputAndLabelContainer, null, renderInput({
13495
+ }, label)), /*#__PURE__*/React__namespace.default.createElement(StyledTextInputAndLabelContainer, null, renderInput$1({
13397
13496
  variant: variant,
13398
13497
  nativeInputProps: nativeInputProps,
13399
13498
  renderInputValue: renderInputValue,
13400
13499
  ref: function ref(rnTextInputRef) {
13401
13500
  innerTextInput.current = rnTextInputRef;
13402
13501
  }
13403
- })), renderSuffix({
13502
+ })), renderSuffix$1({
13404
13503
  state: state,
13405
13504
  loading: loading,
13406
13505
  suffix: suffix
@@ -13731,11 +13830,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
13731
13830
  }))));
13732
13831
  };
13733
13832
 
13734
- var _excluded$i = ["variant"];
13833
+ var _excluded$j = ["variant"];
13735
13834
  var DatePicker = function DatePicker(_ref) {
13736
13835
  var _ref$variant = _ref.variant,
13737
13836
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
13738
- props = _objectWithoutProperties(_ref, _excluded$i);
13837
+ props = _objectWithoutProperties(_ref, _excluded$j);
13739
13838
  if (variant === 'calendar') {
13740
13839
  return /*#__PURE__*/React__namespace.default.createElement(DatePickerCalendar, props);
13741
13840
  }
@@ -13746,7 +13845,7 @@ var DatePicker = function DatePicker(_ref) {
13746
13845
  };
13747
13846
 
13748
13847
  var AnimatedPressable$1 = reactNative.Animated.createAnimatedComponent(reactNative.Pressable);
13749
- var StyledContainer$3 = index$9(reactNative.View)(function (_ref) {
13848
+ var StyledContainer$4 = index$9(reactNative.View)(function (_ref) {
13750
13849
  var theme = _ref.theme,
13751
13850
  enableShadow = _ref.enableShadow;
13752
13851
  return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
@@ -13802,7 +13901,7 @@ var StyledDragableDrawerContainer = index$9(reactNative.Animated.View)(function
13802
13901
  maxHeight: '100%'
13803
13902
  };
13804
13903
  });
13805
- var StyledHandlerContainer = index$9(reactNative.View)(function (_ref6) {
13904
+ var StyledHandlerContainer$1 = index$9(reactNative.View)(function (_ref6) {
13806
13905
  var theme = _ref6.theme;
13807
13906
  return {
13808
13907
  backgroundColor: theme.__hd__.drawer.colors.background,
@@ -13970,7 +14069,7 @@ var DragableDrawer = function DragableDrawer(_ref) {
13970
14069
  var nativeEvent = _ref3.nativeEvent;
13971
14070
  setHeight(nativeEvent.layout.height);
13972
14071
  }
13973
- }, /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer, panResponder.panHandlers, /*#__PURE__*/React__namespace.default.createElement(StyledHandler, null)), children));
14072
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer$1, panResponder.panHandlers, /*#__PURE__*/React__namespace.default.createElement(StyledHandler, null)), children));
13974
14073
  };
13975
14074
 
13976
14075
  var Drawer = function Drawer(_ref) {
@@ -14005,7 +14104,7 @@ var Drawer = function Drawer(_ref) {
14005
14104
  return animation.stop();
14006
14105
  };
14007
14106
  }, [visible]);
14008
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, {
14107
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
14009
14108
  testID: testID,
14010
14109
  enableShadow: enableShadow,
14011
14110
  pointerEvents: "box-none"
@@ -14289,7 +14388,7 @@ var Portal$1 = Object.assign(Portal, {
14289
14388
  Host: PortalHost
14290
14389
  });
14291
14390
 
14292
- var _excluded$h = ["visible"];
14391
+ var _excluded$i = ["visible"];
14293
14392
  var DEFAULT_BACKDROP_OPACITY = 0.4;
14294
14393
  var DEFAULT_ANIMATION_CONFIG = {
14295
14394
  easing: reactNative.Easing.inOut(reactNative.Easing.cubic),
@@ -14385,7 +14484,7 @@ var Modal = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14385
14484
  var ModalWrapper = function ModalWrapper(_ref3) {
14386
14485
  var _ref3$visible = _ref3.visible,
14387
14486
  visible = _ref3$visible === void 0 ? true : _ref3$visible,
14388
- props = _objectWithoutProperties(_ref3, _excluded$h);
14487
+ props = _objectWithoutProperties(_ref3, _excluded$i);
14389
14488
  var modalRef = React.useRef(null);
14390
14489
  var _useState = React.useState(visible),
14391
14490
  _useState2 = _slicedToArray(_useState, 2),
@@ -14495,7 +14594,7 @@ var StyledErrorDescription = index$9(Typography.Body)(function (_ref9) {
14495
14594
  };
14496
14595
  });
14497
14596
 
14498
- var _excluded$g = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14597
+ var _excluded$h = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
14499
14598
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
14500
14599
  var renderImage$1 = function renderImage(image) {
14501
14600
  if ( /*#__PURE__*/React.isValidElement(image)) {
@@ -14521,7 +14620,7 @@ var ErrorPage = function ErrorPage(_ref) {
14521
14620
  onCtaPress = _ref.onCtaPress,
14522
14621
  secondaryCtaText = _ref.secondaryCtaText,
14523
14622
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
14524
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
14623
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
14525
14624
  var showCta = ctaText && onCtaPress !== undefined;
14526
14625
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
14527
14626
  var showButtonContainer = showCta || showSecondaryCta;
@@ -14682,11 +14781,11 @@ var StyledIconContainer = index$9(Box)(function (_ref4) {
14682
14781
  };
14683
14782
  });
14684
14783
 
14685
- var _excluded$f = ["active"];
14784
+ var _excluded$g = ["active"];
14686
14785
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
14687
14786
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
14688
14787
  var active = _ref.active,
14689
- iconProps = _objectWithoutProperties(_ref, _excluded$f);
14788
+ iconProps = _objectWithoutProperties(_ref, _excluded$g);
14690
14789
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
14691
14790
  React.useEffect(function () {
14692
14791
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -14934,7 +15033,7 @@ var ActionItem = function ActionItem(_ref) {
14934
15033
  })), /*#__PURE__*/React__namespace.default.createElement(StyledActionItemText, null, title))));
14935
15034
  };
14936
15035
 
14937
- var StyledContainer$2 = index$9(reactNative.View)({
15036
+ var StyledContainer$3 = index$9(reactNative.View)({
14938
15037
  position: 'absolute',
14939
15038
  left: 0,
14940
15039
  right: 0,
@@ -15030,7 +15129,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15030
15129
  inputRange: [0, 1],
15031
15130
  outputRange: [0, 1]
15032
15131
  });
15033
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, {
15132
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$3, {
15034
15133
  testID: testID,
15035
15134
  pointerEvents: "box-none",
15036
15135
  style: style
@@ -15480,7 +15579,7 @@ var StyledPrefixContainer$1 = index$9(reactNative.View)(function (_ref4) {
15480
15579
  marginRight: theme.__hd__.list.space.prefixContainerMarginRight
15481
15580
  };
15482
15581
  });
15483
- var StyledSuffixContainer$1 = index$9(reactNative.View)(function (_ref5) {
15582
+ var StyledSuffixContainer$2 = index$9(reactNative.View)(function (_ref5) {
15484
15583
  var theme = _ref5.theme;
15485
15584
  return {
15486
15585
  marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
@@ -15532,7 +15631,7 @@ var ListItem = function ListItem(_ref) {
15532
15631
  intent: "body"
15533
15632
  }, title) : title, !!subtitle && /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
15534
15633
  intent: "subdued"
15535
- }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15634
+ }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$2, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15536
15635
  icon: suffix,
15537
15636
  intent: disabled ? 'disabled-text' : 'primary',
15538
15637
  size: "small"
@@ -15545,7 +15644,7 @@ var StyledPrefixContainer = index$9(reactNative.View)(function (_ref) {
15545
15644
  marginRight: theme.__hd__.list.space.prefixContainerMarginRight
15546
15645
  };
15547
15646
  });
15548
- var StyledSuffixContainer = index$9(reactNative.View)(function (_ref2) {
15647
+ var StyledSuffixContainer$1 = index$9(reactNative.View)(function (_ref2) {
15549
15648
  var theme = _ref2.theme;
15550
15649
  return {
15551
15650
  marginLeft: theme.__hd__.list.space.suffixContainerMarginLeft
@@ -15598,7 +15697,7 @@ var BasicListItem = function BasicListItem(_ref) {
15598
15697
  intent: "body"
15599
15698
  }, title) : title, subtitle && /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
15600
15699
  intent: "subdued"
15601
- }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15700
+ }, subtitle)), suffix && /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(Icon, {
15602
15701
  icon: suffix,
15603
15702
  size: "small",
15604
15703
  intent: disabled ? 'disabled-text' : 'primary'
@@ -15727,7 +15826,7 @@ function PinCell(_ref) {
15727
15826
  }, value));
15728
15827
  }
15729
15828
 
15730
- function getState(_ref) {
15829
+ function getState$1(_ref) {
15731
15830
  var disabled = _ref.disabled,
15732
15831
  error = _ref.error;
15733
15832
  if (disabled) {
@@ -15766,7 +15865,7 @@ var PinInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
15766
15865
  _useState2 = _slicedToArray(_useState, 2),
15767
15866
  focused = _useState2[0],
15768
15867
  setFocused = _useState2[1];
15769
- var state = getState({
15868
+ var state = getState$1({
15770
15869
  disabled: disabled,
15771
15870
  error: error
15772
15871
  });
@@ -15869,7 +15968,7 @@ var THEME_INTENT_MAP = {
15869
15968
  'archived-inverted': 'archivedInverted'
15870
15969
  };
15871
15970
 
15872
- var StyledContainer$1 = index$9(reactNative.View)(function (_ref) {
15971
+ var StyledContainer$2 = index$9(reactNative.View)(function (_ref) {
15873
15972
  var theme = _ref.theme;
15874
15973
  return {
15875
15974
  flexDirection: 'row',
@@ -15935,7 +16034,7 @@ var StyledStrokeEnd = index$9(reactNative.View)(function (_ref6) {
15935
16034
  };
15936
16035
  });
15937
16036
 
15938
- var _excluded$e = ["value", "renderValue", "intent", "style", "testID"];
16037
+ var _excluded$f = ["value", "renderValue", "intent", "style", "testID"];
15939
16038
  var HalfCircle = function HalfCircle(_ref) {
15940
16039
  var type = _ref.type,
15941
16040
  themeIntent = _ref.themeIntent;
@@ -15956,7 +16055,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
15956
16055
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
15957
16056
  style = _ref2.style,
15958
16057
  testID = _ref2.testID,
15959
- nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
16058
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$f);
15960
16059
  var theme = useTheme$1();
15961
16060
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
15962
16061
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -15996,7 +16095,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
15996
16095
  return /*#__PURE__*/React__namespace.default.createElement(reactNative.View, _extends$1({}, nativeProps, {
15997
16096
  testID: testID,
15998
16097
  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, {
16098
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledContainer$2, null, /*#__PURE__*/React__namespace.default.createElement(reactNative.View, null, /*#__PURE__*/React__namespace.default.createElement(HalfCircle, {
16000
16099
  type: "foreground",
16001
16100
  themeIntent: intent
16002
16101
  }), /*#__PURE__*/React__namespace.default.createElement(reactNative.Animated.View, {
@@ -16072,14 +16171,14 @@ var StyledInner = index$9(reactNative.Animated.View)(function (_ref2) {
16072
16171
  };
16073
16172
  });
16074
16173
 
16075
- var _excluded$d = ["value", "intent", "style", "testID"];
16174
+ var _excluded$e = ["value", "intent", "style", "testID"];
16076
16175
  var ProgressBar = function ProgressBar(_ref) {
16077
16176
  var value = _ref.value,
16078
16177
  _ref$intent = _ref.intent,
16079
16178
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16080
16179
  style = _ref.style,
16081
16180
  testID = _ref.testID,
16082
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
16181
+ nativeProps = _objectWithoutProperties(_ref, _excluded$e);
16083
16182
  var _useState = React.useState(0),
16084
16183
  _useState2 = _slicedToArray(_useState, 2),
16085
16184
  width = _useState2[0],
@@ -16270,14 +16369,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
16270
16369
  }, dotProps))));
16271
16370
  };
16272
16371
 
16273
- var _excluded$c = ["testID", "size", "intent"];
16372
+ var _excluded$d = ["testID", "size", "intent"];
16274
16373
  var Spinner = function Spinner(_ref) {
16275
16374
  var testID = _ref.testID,
16276
16375
  _ref$size = _ref.size,
16277
16376
  size = _ref$size === void 0 ? 'medium' : _ref$size,
16278
16377
  _ref$intent = _ref.intent,
16279
16378
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
16280
- nativeProps = _objectWithoutProperties(_ref, _excluded$c);
16379
+ nativeProps = _objectWithoutProperties(_ref, _excluded$d);
16281
16380
  return /*#__PURE__*/React__namespace.default.createElement(StyledView$1, nativeProps, /*#__PURE__*/React__namespace.default.createElement(StyledSpinnerContainer, {
16282
16381
  testID: testID
16283
16382
  }, /*#__PURE__*/React__namespace.default.createElement(AnimatedSpinner, {
@@ -16310,7 +16409,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
16310
16409
  }, children);
16311
16410
  };
16312
16411
 
16313
- var _excluded$b = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16412
+ var _excluded$c = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth", "variant"];
16314
16413
  var renderActions = function renderActions(actions, width, progress, direction) {
16315
16414
  var trans = progress.interpolate({
16316
16415
  inputRange: [0, 1],
@@ -16339,7 +16438,7 @@ var Swipeable = function Swipeable(_ref) {
16339
16438
  rightActionsWidth = _ref.rightActionsWidth,
16340
16439
  _ref$variant = _ref.variant,
16341
16440
  variant = _ref$variant === void 0 ? 'card' : _ref$variant,
16342
- swipeableProps = _objectWithoutProperties(_ref, _excluded$b);
16441
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$c);
16343
16442
  var theme = useTheme();
16344
16443
  var _useWindowDimensions = reactNative.useWindowDimensions(),
16345
16444
  width = _useWindowDimensions.width;
@@ -16690,7 +16789,7 @@ var StyledSectionList = index$9(reactNative.SectionList)(function (_ref4) {
16690
16789
  };
16691
16790
  });
16692
16791
 
16693
- var _excluded$a = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
16792
+ var _excluded$b = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
16694
16793
  var BaseOptionList = function BaseOptionList(_ref) {
16695
16794
  var keyExtractor = _ref.keyExtractor,
16696
16795
  loading = _ref.loading,
@@ -16699,7 +16798,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
16699
16798
  sections = _ref.sections,
16700
16799
  renderItem = _ref.renderItem,
16701
16800
  sectionListRef = _ref.sectionListRef,
16702
- rest = _objectWithoutProperties(_ref, _excluded$a);
16801
+ rest = _objectWithoutProperties(_ref, _excluded$b);
16703
16802
  var theme = useTheme$1();
16704
16803
  var _useState = React.useState(false),
16705
16804
  _useState2 = _slicedToArray(_useState, 2),
@@ -16769,7 +16868,7 @@ var Option$2 = function Option(_ref) {
16769
16868
  return highlighted === true ? /*#__PURE__*/React__namespace.default.createElement(List.Item, props) : /*#__PURE__*/React__namespace.default.createElement(List.BasicItem, props);
16770
16869
  };
16771
16870
 
16772
- var _excluded$9 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
16871
+ var _excluded$a = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
16773
16872
  var OptionList$1 = function OptionList(_ref) {
16774
16873
  var keyExtractor = _ref.keyExtractor,
16775
16874
  loading = _ref.loading,
@@ -16780,7 +16879,7 @@ var OptionList$1 = function OptionList(_ref) {
16780
16879
  renderOption = _ref.renderOption,
16781
16880
  value = _ref.value,
16782
16881
  sectionListRef = _ref.sectionListRef,
16783
- rest = _objectWithoutProperties(_ref, _excluded$9);
16882
+ rest = _objectWithoutProperties(_ref, _excluded$a);
16784
16883
  var renderItem = function renderItem(info) {
16785
16884
  var item = info.item;
16786
16885
  var selected = value.includes(info.item.value);
@@ -16971,7 +17070,7 @@ var StyledOptionList = index$9(BaseOptionList)(function (_ref) {
16971
17070
  };
16972
17071
  });
16973
17072
 
16974
- var _excluded$8 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
17073
+ var _excluded$9 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
16975
17074
  var OptionList = function OptionList(_ref) {
16976
17075
  var keyExtractor = _ref.keyExtractor,
16977
17076
  loading = _ref.loading,
@@ -16982,7 +17081,7 @@ var OptionList = function OptionList(_ref) {
16982
17081
  renderOption = _ref.renderOption,
16983
17082
  value = _ref.value,
16984
17083
  sectionListRef = _ref.sectionListRef,
16985
- rest = _objectWithoutProperties(_ref, _excluded$8);
17084
+ rest = _objectWithoutProperties(_ref, _excluded$9);
16986
17085
  var renderItem = function renderItem(info) {
16987
17086
  var item = info.item;
16988
17087
  var selected = item.value === value;
@@ -17132,7 +17231,7 @@ var index$4 = Object.assign(SingleSelect, {
17132
17231
  Multi: MultiSelect
17133
17232
  });
17134
17233
 
17135
- var StyledContainer = index$9(Box)(function (_ref) {
17234
+ var StyledContainer$1 = index$9(Box)(function (_ref) {
17136
17235
  var theme = _ref.theme,
17137
17236
  themeIntent = _ref.themeIntent,
17138
17237
  themeVariant = _ref.themeVariant;
@@ -17150,7 +17249,7 @@ var StyledGradientContainer = index$9(Box)(function (_ref2) {
17150
17249
  };
17151
17250
  });
17152
17251
 
17153
- var _excluded$7 = ["intent", "variant", "style", "onLayout"];
17252
+ var _excluded$8 = ["intent", "variant", "style", "onLayout"];
17154
17253
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default.default);
17155
17254
  var gradientPositions = {
17156
17255
  start: {
@@ -17182,7 +17281,7 @@ var Skeleton = function Skeleton(_ref) {
17182
17281
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
17183
17282
  style = _ref.style,
17184
17283
  onLayout = _ref.onLayout,
17185
- props = _objectWithoutProperties(_ref, _excluded$7);
17284
+ props = _objectWithoutProperties(_ref, _excluded$8);
17186
17285
  var theme = useTheme();
17187
17286
  var colors = React.useMemo(function () {
17188
17287
  return getGradientColors(theme, intent);
@@ -17218,7 +17317,7 @@ var Skeleton = function Skeleton(_ref) {
17218
17317
  }
17219
17318
  onLayout === null || onLayout === void 0 || onLayout(e);
17220
17319
  }, []);
17221
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, _extends$1({
17320
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$1, _extends$1({
17222
17321
  style: style,
17223
17322
  themeVariant: variant,
17224
17323
  themeIntent: intent,
@@ -17314,7 +17413,7 @@ var StyledSuccessModal = index$9(ModalWrapper)({
17314
17413
  width: '100%'
17315
17414
  });
17316
17415
 
17317
- var _excluded$6 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17416
+ var _excluded$7 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
17318
17417
  var renderImage = function renderImage(image) {
17319
17418
  if ( /*#__PURE__*/React.isValidElement(image)) {
17320
17419
  return /*#__PURE__*/React__namespace.default.cloneElement(image, {
@@ -17340,7 +17439,7 @@ var SuccessPage = function SuccessPage(_ref) {
17340
17439
  onCtaPress = _ref$onCtaPress === void 0 ? noop$1 : _ref$onCtaPress,
17341
17440
  secondaryCtaText = _ref.secondaryCtaText,
17342
17441
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
17343
- nativeProps = _objectWithoutProperties(_ref, _excluded$6);
17442
+ nativeProps = _objectWithoutProperties(_ref, _excluded$7);
17344
17443
  var showSecondaryButton = secondaryCtaText && onSecondaryCtaPress;
17345
17444
  return /*#__PURE__*/React__namespace.default.createElement(StyledSuccessContainer, _extends$1({
17346
17445
  testID: testID,
@@ -18358,7 +18457,7 @@ var StyledText = index$9(Typography.Caption)(function (_ref2) {
18358
18457
  };
18359
18458
  });
18360
18459
 
18361
- var _excluded$5 = ["content", "variant", "intent", "style", "testID"];
18460
+ var _excluded$6 = ["content", "variant", "intent", "style", "testID"];
18362
18461
  var Tag = function Tag(_ref) {
18363
18462
  var content = _ref.content,
18364
18463
  _ref$variant = _ref.variant,
@@ -18367,7 +18466,7 @@ var Tag = function Tag(_ref) {
18367
18466
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
18368
18467
  style = _ref.style,
18369
18468
  testID = _ref.testID,
18370
- nativeProps = _objectWithoutProperties(_ref, _excluded$5);
18469
+ nativeProps = _objectWithoutProperties(_ref, _excluded$6);
18371
18470
  useDeprecation("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
18372
18471
  return /*#__PURE__*/React__namespace.default.createElement(StyledView, _extends$1({}, nativeProps, {
18373
18472
  themeIntent: intent,
@@ -18685,10 +18784,10 @@ var ToolbarGroup = function ToolbarGroup(_ref) {
18685
18784
  }));
18686
18785
  };
18687
18786
 
18688
- var _excluded$4 = ["children"];
18787
+ var _excluded$5 = ["children"];
18689
18788
  var Toolbar = function Toolbar(_ref) {
18690
18789
  var children = _ref.children,
18691
- rest = _objectWithoutProperties(_ref, _excluded$4);
18790
+ rest = _objectWithoutProperties(_ref, _excluded$5);
18692
18791
  return /*#__PURE__*/React__namespace.default.createElement(ToolbarWrapper, rest, children);
18693
18792
  };
18694
18793
  var index$1 = Object.assign(Toolbar, {
@@ -18707,7 +18806,7 @@ var StyledIconWrapper = index$9(AnimatedBox)(function (_ref) {
18707
18806
  };
18708
18807
  });
18709
18808
 
18710
- var _excluded$3 = ["options", "value", "onChange", "readonly", "disabled"];
18809
+ var _excluded$4 = ["options", "value", "onChange", "readonly", "disabled"];
18711
18810
  var Rate = function Rate(_ref) {
18712
18811
  var options = _ref.options,
18713
18812
  value = _ref.value,
@@ -18716,7 +18815,7 @@ var Rate = function Rate(_ref) {
18716
18815
  readonly = _ref$readonly === void 0 ? false : _ref$readonly,
18717
18816
  _ref$disabled = _ref.disabled,
18718
18817
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
18719
- otherProps = _objectWithoutProperties(_ref, _excluded$3);
18818
+ otherProps = _objectWithoutProperties(_ref, _excluded$4);
18720
18819
  var valueIndex = React.useMemo(function () {
18721
18820
  return options.findIndex(function (item) {
18722
18821
  return item.value === value;
@@ -35881,7 +35980,7 @@ var RichTextEditor = function RichTextEditor(_ref) {
35881
35980
  break;
35882
35981
  }
35883
35982
  }, []);
35884
- return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$4, {
35983
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer$5, {
35885
35984
  testID: testID
35886
35985
  }, /*#__PURE__*/React__namespace.default.createElement(StyledLabelContainerInsideTextInput, {
35887
35986
  themeVariant: "text",
@@ -36107,36 +36206,296 @@ function AnimatedScroller(_ref) {
36107
36206
  }));
36108
36207
  }
36109
36208
 
36110
- var _excluded$2 = ["fabProps"];
36209
+ var _excluded$3 = ["fabProps"];
36111
36210
  var ScrollViewWithFAB = function ScrollViewWithFAB(_ref) {
36112
36211
  var fabProps = _ref.fabProps,
36113
- props = _objectWithoutProperties(_ref, _excluded$2);
36212
+ props = _objectWithoutProperties(_ref, _excluded$3);
36114
36213
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36115
36214
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.ScrollView, props),
36116
36215
  fabProps: fabProps
36117
36216
  });
36118
36217
  };
36119
36218
 
36120
- var _excluded$1 = ["fabProps"];
36219
+ var _excluded$2 = ["fabProps"];
36121
36220
  function FlatListWithFAB(_ref) {
36122
36221
  var fabProps = _ref.fabProps,
36123
- props = _objectWithoutProperties(_ref, _excluded$1);
36222
+ props = _objectWithoutProperties(_ref, _excluded$2);
36124
36223
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36125
36224
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.FlatList, props),
36126
36225
  fabProps: fabProps
36127
36226
  });
36128
36227
  }
36129
36228
 
36130
- var _excluded = ["fabProps"];
36229
+ var _excluded$1 = ["fabProps"];
36131
36230
  function SectionListWithFAB(_ref) {
36132
36231
  var fabProps = _ref.fabProps,
36133
- props = _objectWithoutProperties(_ref, _excluded);
36232
+ props = _objectWithoutProperties(_ref, _excluded$1);
36134
36233
  return /*#__PURE__*/React__namespace.default.createElement(AnimatedScroller, {
36135
36234
  ScrollComponent: /*#__PURE__*/React__namespace.default.createElement(reactNative.SectionList, props),
36136
36235
  fabProps: fabProps
36137
36236
  });
36138
36237
  }
36139
36238
 
36239
+ var StyledContainer = index$9(reactNative.View)(function () {
36240
+ return {
36241
+ width: '100%'
36242
+ };
36243
+ });
36244
+ var StyledInputContainer = index$9(reactNative.View)(function (_ref) {
36245
+ var theme = _ref.theme,
36246
+ themeFocused = _ref.themeFocused;
36247
+ return {
36248
+ flexDirection: 'row',
36249
+ alignItems: 'center',
36250
+ paddingHorizontal: theme.__hd__.search.space.containerHorizontalPadding,
36251
+ paddingVertical: theme.__hd__.search.space.containerVerticalPadding,
36252
+ backgroundColor: theme.__hd__.search.colors.containerBackground,
36253
+ height: 56,
36254
+ borderRadius: theme.__hd__.search.radii.container,
36255
+ borderWidth: theme.__hd__.search.borderWidths.container.focused,
36256
+ borderColor: themeFocused ? theme.__hd__.search.colors.borders : theme.__hd__.search.colors.containerBackground
36257
+ };
36258
+ });
36259
+ var StyledAffixContainer = index$9(reactNative.View)(function (_ref2) {
36260
+ var theme = _ref2.theme;
36261
+ return {
36262
+ paddingHorizontal: theme.__hd__.search.space.prefixHorizontalPadding
36263
+ };
36264
+ });
36265
+ var StyledSuffixContainer = index$9(reactNative.View)(function (_ref3) {
36266
+ var theme = _ref3.theme;
36267
+ return {
36268
+ display: 'flex',
36269
+ justifyContent: 'center',
36270
+ alignItems: 'center',
36271
+ width: theme.__hd__.search.sizes.surfixSize,
36272
+ height: theme.__hd__.search.sizes.surfixSize,
36273
+ backgroundColor: theme.__hd__.search.colors.surfixBackground,
36274
+ borderRadius: theme.__hd__.search.radii.surfix
36275
+ };
36276
+ });
36277
+ var StyledInput = index$9(reactNative.TextInput)(function (_ref4) {
36278
+ var theme = _ref4.theme;
36279
+ return {
36280
+ textAlignVertical: 'center',
36281
+ fontSize: theme.__hd__.search.fontSizes.text,
36282
+ alignSelf: 'stretch',
36283
+ flexGrow: 1,
36284
+ flexShrink: 1,
36285
+ marginHorizontal: theme.__hd__.search.space.inputHorizontalMargin,
36286
+ paddingVertical: 0,
36287
+ fontFamily: theme.__hd__.search.fonts.text
36288
+ };
36289
+ });
36290
+ var StyledHandlerContainer = index$9(reactNative.View)(function (_ref5) {
36291
+ var theme = _ref5.theme;
36292
+ return {
36293
+ display: 'flex',
36294
+ flexDirection: 'column',
36295
+ justifyContent: 'space-between',
36296
+ alignItems: 'flex-start',
36297
+ flexGrow: 1,
36298
+ height: '100%',
36299
+ marginHorizontal: theme.__hd__.search.space.inputHorizontalMargin
36300
+ };
36301
+ });
36302
+ var StyledBadge = index$9(Badge$1)(function (_ref6) {
36303
+ var theme = _ref6.theme;
36304
+ return {
36305
+ position: 'absolute',
36306
+ top: theme.__hd__.search.space.badgeTop,
36307
+ right: theme.__hd__.search.space.badgeRight,
36308
+ zIndex: 2
36309
+ };
36310
+ });
36311
+
36312
+ var renderPrefix = function renderPrefix(_ref) {
36313
+ var prefix = _ref.prefix;
36314
+ return typeof prefix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledAffixContainer, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
36315
+ intent: "text",
36316
+ testID: "input-prefix",
36317
+ icon: prefix,
36318
+ size: "small"
36319
+ })) : prefix;
36320
+ };
36321
+ var renderSuffix = function renderSuffix(_ref2) {
36322
+ var suffix = _ref2.suffix;
36323
+ return typeof suffix === 'string' ? /*#__PURE__*/React__namespace.default.createElement(StyledAffixContainer, null, /*#__PURE__*/React__namespace.default.createElement(Icon, {
36324
+ intent: "text",
36325
+ testID: "input-suffix",
36326
+ icon: suffix,
36327
+ size: "small"
36328
+ })) : suffix;
36329
+ };
36330
+
36331
+ var SearchTwoLine = function SearchTwoLine(props) {
36332
+ var _props$prefix = props.prefix,
36333
+ prefix = _props$prefix === void 0 ? 'search-outlined' : _props$prefix,
36334
+ suffix = props.suffix,
36335
+ style = props.style,
36336
+ label = props.label,
36337
+ content = props.content,
36338
+ testID = props.testID;
36339
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
36340
+ style: style,
36341
+ testID: testID
36342
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
36343
+ themeFocused: false
36344
+ }, renderPrefix({
36345
+ prefix: prefix
36346
+ }), /*#__PURE__*/React__namespace.default.createElement(StyledHandlerContainer, null, /*#__PURE__*/React__namespace.default.createElement(Typography.Caption, {
36347
+ fontWeight: "semi-bold"
36348
+ }, label), content), !!suffix && renderSuffix({
36349
+ suffix: suffix
36350
+ })));
36351
+ };
36352
+
36353
+ var _excluded = ["prefix", "suffix", "style", "allowFontScaling", "accessibilityLabelledBy", "editable", "maxLength", "value", "defaultValue", "placeholder", "disabled", "testID"];
36354
+ var getState = function getState(_ref) {
36355
+ var disabled = _ref.disabled,
36356
+ editable = _ref.editable,
36357
+ isEmptyValue = _ref.isEmptyValue;
36358
+ if (disabled) {
36359
+ return 'disabled';
36360
+ }
36361
+ if (!editable) {
36362
+ return 'readonly';
36363
+ }
36364
+ if (!isEmptyValue) {
36365
+ return 'filled';
36366
+ }
36367
+ return 'default';
36368
+ };
36369
+ var renderInput = function renderInput(_ref2) {
36370
+ var nativeInputProps = _ref2.nativeInputProps,
36371
+ ref = _ref2.ref;
36372
+ return /*#__PURE__*/React__namespace.default.createElement(StyledInput, _extends$1({}, nativeInputProps, {
36373
+ ref: ref
36374
+ }));
36375
+ };
36376
+ var SearchOneLine = /*#__PURE__*/React.forwardRef(function (props, ref) {
36377
+ var _ref3;
36378
+ var _props$prefix = props.prefix,
36379
+ prefix = _props$prefix === void 0 ? 'search-outlined' : _props$prefix,
36380
+ suffix = props.suffix,
36381
+ style = props.style,
36382
+ allowFontScaling = props.allowFontScaling,
36383
+ accessibilityLabelledBy = props.accessibilityLabelledBy,
36384
+ _props$editable = props.editable,
36385
+ editable = _props$editable === void 0 ? true : _props$editable,
36386
+ maxLength = props.maxLength,
36387
+ value = props.value,
36388
+ defaultValue = props.defaultValue,
36389
+ placeholder = props.placeholder,
36390
+ _props$disabled = props.disabled,
36391
+ disabled = _props$disabled === void 0 ? false : _props$disabled,
36392
+ testID = props.testID,
36393
+ nativeProps = _objectWithoutProperties(props, _excluded);
36394
+ var _React$useState = React__namespace.default.useState(false),
36395
+ _React$useState2 = _slicedToArray(_React$useState, 2),
36396
+ isFocused = _React$useState2[0],
36397
+ setIsFocused = _React$useState2[1];
36398
+ var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
36399
+ var isEmptyValue = displayText.length === 0;
36400
+ var state = getState({
36401
+ disabled: disabled,
36402
+ editable: editable,
36403
+ isFocused: isFocused,
36404
+ isEmptyValue: isEmptyValue
36405
+ });
36406
+ var innerTextInput = React__namespace.default.useRef();
36407
+ React__namespace.default.useImperativeHandle(ref, function () {
36408
+ return {
36409
+ // we don't expose this method, it's for testing https://medium.com/developer-rants/how-to-test-useref-without-mocking-useref-699165f4994e
36410
+ getNativeTextInputRef: function getNativeTextInputRef() {
36411
+ return innerTextInput.current;
36412
+ },
36413
+ setNativeProps: function setNativeProps(args) {
36414
+ var _innerTextInput$curre;
36415
+ return (_innerTextInput$curre = innerTextInput.current) === null || _innerTextInput$curre === void 0 ? void 0 : _innerTextInput$curre.setNativeProps(args);
36416
+ },
36417
+ focus: function focus() {
36418
+ var _innerTextInput$curre2;
36419
+ (_innerTextInput$curre2 = innerTextInput.current) === null || _innerTextInput$curre2 === void 0 || _innerTextInput$curre2.focus();
36420
+ },
36421
+ blur: function blur() {
36422
+ var _innerTextInput$curre3;
36423
+ return (_innerTextInput$curre3 = innerTextInput.current) === null || _innerTextInput$curre3 === void 0 ? void 0 : _innerTextInput$curre3.blur();
36424
+ },
36425
+ clear: function clear() {
36426
+ var _innerTextInput$curre4;
36427
+ return (_innerTextInput$curre4 = innerTextInput.current) === null || _innerTextInput$curre4 === void 0 ? void 0 : _innerTextInput$curre4.clear();
36428
+ },
36429
+ isFocused: function isFocused() {
36430
+ var _innerTextInput$curre5;
36431
+ return ((_innerTextInput$curre5 = innerTextInput.current) === null || _innerTextInput$curre5 === void 0 ? void 0 : _innerTextInput$curre5.isFocused()) || false;
36432
+ }
36433
+ };
36434
+ }, [innerTextInput]);
36435
+ return /*#__PURE__*/React__namespace.default.createElement(StyledContainer, {
36436
+ pointerEvents: state === 'disabled' || state === 'readonly' ? 'none' : 'auto',
36437
+ testID: testID,
36438
+ style: style
36439
+ }, /*#__PURE__*/React__namespace.default.createElement(StyledInputContainer, {
36440
+ themeFocused: isFocused
36441
+ }, renderPrefix({
36442
+ prefix: prefix
36443
+ }), renderInput({
36444
+ nativeInputProps: _objectSpread2(_objectSpread2({
36445
+ testID: 'text-input',
36446
+ accessibilityState: {
36447
+ disabled: state === 'disabled' || state === 'readonly'
36448
+ },
36449
+ accessibilityLabelledBy: accessibilityLabelledBy,
36450
+ allowFontScaling: allowFontScaling
36451
+ }, nativeProps), {}, {
36452
+ onFocus: function onFocus(event) {
36453
+ var _nativeProps$onFocus;
36454
+ setIsFocused(true);
36455
+ (_nativeProps$onFocus = nativeProps.onFocus) === null || _nativeProps$onFocus === void 0 || _nativeProps$onFocus.call(nativeProps, event);
36456
+ },
36457
+ onBlur: function onBlur(event) {
36458
+ var _nativeProps$onBlur;
36459
+ setIsFocused(false);
36460
+ (_nativeProps$onBlur = nativeProps.onBlur) === null || _nativeProps$onBlur === void 0 || _nativeProps$onBlur.call(nativeProps, event);
36461
+ },
36462
+ editable: editable,
36463
+ maxLength: maxLength,
36464
+ value: value,
36465
+ defaultValue: defaultValue,
36466
+ placeholder: placeholder
36467
+ }),
36468
+ ref: function ref(rnTextInputRef) {
36469
+ innerTextInput.current = rnTextInputRef;
36470
+ }
36471
+ }), !!suffix && renderSuffix({
36472
+ suffix: suffix
36473
+ })));
36474
+ });
36475
+
36476
+ var SearchSuffixIcon = function SearchSuffixIcon(props) {
36477
+ var suffix = props.suffix,
36478
+ testID = props.testID,
36479
+ style = props.style,
36480
+ badge = props.badge;
36481
+ return /*#__PURE__*/React__namespace.default.createElement(StyledSuffixContainer, {
36482
+ testID: testID,
36483
+ style: style
36484
+ }, !!badge && /*#__PURE__*/React__namespace.default.createElement(StyledBadge, _extends$1({
36485
+ intent: "primary"
36486
+ }, badge, {
36487
+ size: "small"
36488
+ })), renderSuffix({
36489
+ suffix: suffix
36490
+ }));
36491
+ };
36492
+
36493
+ var Search = {
36494
+ OneLine: SearchOneLine,
36495
+ TwoLine: SearchTwoLine,
36496
+ SuffixIcon: SearchSuffixIcon
36497
+ };
36498
+
36140
36499
  exports.Accordion = Accordion;
36141
36500
  exports.Alert = Alert;
36142
36501
  exports.Attachment = Attachment;
@@ -36173,6 +36532,7 @@ exports.Rate = Rate;
36173
36532
  exports.RefreshControl = RefreshControl;
36174
36533
  exports.RichTextEditor = index;
36175
36534
  exports.ScrollViewWithFAB = ScrollViewWithFAB;
36535
+ exports.Search = Search;
36176
36536
  exports.SectionHeading = SectionHeading;
36177
36537
  exports.SectionListWithFAB = SectionListWithFAB;
36178
36538
  exports.Select = index$4;