@hero-design/rn 8.34.2 → 8.35.0-alpha.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 (292) hide show
  1. package/.tool-versions +1 -0
  2. package/.turbo/turbo-build.log +2 -2
  3. package/.turbo/turbo-build:types.log +9 -0
  4. package/.turbo/turbo-lint.log +163 -0
  5. package/.turbo/turbo-publish:npm.log +9 -0
  6. package/.turbo/turbo-test.log +725 -0
  7. package/.turbo/turbo-type-check.log +1 -0
  8. package/es/index.js +199 -64
  9. package/lib/index.js +199 -64
  10. package/package.json +9 -8
  11. package/src/components/FAB/ActionGroup/FABModal.tsx +63 -0
  12. package/src/components/FAB/ActionGroup/FABModalContentWrapper.tsx +31 -0
  13. package/src/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.tsx +133 -0
  14. package/src/components/FAB/ActionGroup/ModalPresenter/index.tsx +13 -0
  15. package/src/components/FAB/ActionGroup/index.tsx +48 -46
  16. package/src/components/Progress/StyledProgressBar.tsx +0 -1
  17. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +44 -46
  18. package/src/components/Switch/SelectorSwitch/StyledSelectorSwitch.tsx +7 -4
  19. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +8 -8
  20. package/src/components/Switch/SelectorSwitch/index.tsx +15 -7
  21. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +12 -12
  22. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +4 -4
  23. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +7 -7
  24. package/src/theme/components/progress.ts +2 -2
  25. package/src/theme/components/switch.ts +4 -4
  26. package/src/theme/components/tabs.ts +1 -1
  27. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  28. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  29. package/types/components/Accordion/index.d.ts +0 -0
  30. package/types/components/Alert/StyledAlert.d.ts +0 -0
  31. package/types/components/Alert/index.d.ts +0 -0
  32. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  33. package/types/components/Attachment/index.d.ts +0 -0
  34. package/types/components/Avatar/Avatar.d.ts +0 -0
  35. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  36. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  37. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  38. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  39. package/types/components/Avatar/index.d.ts +0 -0
  40. package/types/components/Badge/Status.d.ts +0 -0
  41. package/types/components/Badge/StyledBadge.d.ts +0 -0
  42. package/types/components/Badge/index.d.ts +0 -0
  43. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  44. package/types/components/BottomNavigation/index.d.ts +0 -0
  45. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  46. package/types/components/BottomSheet/Footer.d.ts +0 -0
  47. package/types/components/BottomSheet/Header.d.ts +0 -0
  48. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  49. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  50. package/types/components/BottomSheet/index.d.ts +0 -0
  51. package/types/components/Box/StyledBox.d.ts +0 -0
  52. package/types/components/Box/config.d.ts +0 -0
  53. package/types/components/Box/index.d.ts +0 -0
  54. package/types/components/Box/types.d.ts +0 -0
  55. package/types/components/Button/Button.d.ts +0 -0
  56. package/types/components/Button/IconButton.d.ts +0 -0
  57. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  58. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  59. package/types/components/Button/StyledButton.d.ts +0 -0
  60. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  61. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  62. package/types/components/Button/index.d.ts +0 -0
  63. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  64. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  65. package/types/components/Calendar/helpers.d.ts +0 -0
  66. package/types/components/Calendar/index.d.ts +0 -0
  67. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  68. package/types/components/Card/DataCard/index.d.ts +0 -0
  69. package/types/components/Card/StyledCard.d.ts +0 -0
  70. package/types/components/Card/index.d.ts +0 -0
  71. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  72. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  73. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  74. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  75. package/types/components/Carousel/contants.d.ts +0 -0
  76. package/types/components/Carousel/index.d.ts +0 -0
  77. package/types/components/Carousel/types.d.ts +0 -0
  78. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  79. package/types/components/Checkbox/index.d.ts +0 -0
  80. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  81. package/types/components/Collapse/index.d.ts +0 -0
  82. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  83. package/types/components/ContentNavigator/index.d.ts +0 -0
  84. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  85. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  86. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  87. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  88. package/types/components/DatePicker/index.d.ts +0 -0
  89. package/types/components/DatePicker/types.d.ts +0 -0
  90. package/types/components/Divider/StyledDivider.d.ts +0 -0
  91. package/types/components/Divider/index.d.ts +0 -0
  92. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  93. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  94. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  95. package/types/components/Drawer/index.d.ts +0 -0
  96. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  97. package/types/components/Empty/index.d.ts +0 -0
  98. package/types/components/Error/StyledError.d.ts +0 -0
  99. package/types/components/Error/index.d.ts +0 -0
  100. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  101. package/types/components/FAB/ActionGroup/FABModal.d.ts +21 -0
  102. package/types/components/FAB/ActionGroup/FABModalContentWrapper.d.ts +18 -0
  103. package/types/components/FAB/ActionGroup/FABProvider.d.ts +5 -0
  104. package/types/components/FAB/ActionGroup/ModalPresenter/ModalPresenter.d.ts +34 -0
  105. package/types/components/FAB/ActionGroup/ModalPresenter/index.d.ts +3 -0
  106. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  107. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  108. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  109. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  110. package/types/components/FAB/FAB.d.ts +0 -0
  111. package/types/components/FAB/StyledFAB.d.ts +0 -0
  112. package/types/components/FAB/index.d.ts +0 -0
  113. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  114. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  115. package/types/components/Icon/IconList.d.ts +0 -0
  116. package/types/components/Icon/index.d.ts +0 -0
  117. package/types/components/Icon/utils.d.ts +0 -0
  118. package/types/components/Image/index.d.ts +0 -0
  119. package/types/components/List/BasicListItem.d.ts +0 -0
  120. package/types/components/List/ListItem.d.ts +0 -0
  121. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  122. package/types/components/List/StyledListItem.d.ts +0 -0
  123. package/types/components/List/index.d.ts +0 -0
  124. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  125. package/types/components/PageControl/index.d.ts +0 -0
  126. package/types/components/PinInput/PinCell.d.ts +0 -0
  127. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  128. package/types/components/PinInput/index.d.ts +0 -0
  129. package/types/components/Progress/ProgressBar.d.ts +0 -0
  130. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  131. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  132. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  133. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  134. package/types/components/Progress/constants.d.ts +0 -0
  135. package/types/components/Progress/index.d.ts +0 -0
  136. package/types/components/Progress/types.d.ts +0 -0
  137. package/types/components/Radio/Radio.d.ts +0 -0
  138. package/types/components/Radio/RadioGroup.d.ts +0 -0
  139. package/types/components/Radio/StyledRadio.d.ts +0 -0
  140. package/types/components/Radio/index.d.ts +0 -0
  141. package/types/components/Radio/types.d.ts +0 -0
  142. package/types/components/RefreshControl/index.d.ts +0 -0
  143. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  144. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  145. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  146. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  147. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  148. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  149. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  150. package/types/components/RichTextEditor/constants.d.ts +0 -0
  151. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  152. package/types/components/RichTextEditor/index.d.ts +0 -0
  153. package/types/components/RichTextEditor/types.d.ts +0 -0
  154. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  155. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  156. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  157. package/types/components/SectionHeading/index.d.ts +0 -0
  158. package/types/components/Select/BaseOptionList.d.ts +0 -0
  159. package/types/components/Select/Footer.d.ts +0 -0
  160. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  161. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  162. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  163. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  164. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  165. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  166. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  167. package/types/components/Select/StyledSelect.d.ts +0 -0
  168. package/types/components/Select/helpers.d.ts +0 -0
  169. package/types/components/Select/index.d.ts +0 -0
  170. package/types/components/Select/types.d.ts +0 -0
  171. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  172. package/types/components/Skeleton/index.d.ts +0 -0
  173. package/types/components/Slider/index.d.ts +0 -0
  174. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  175. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  176. package/types/components/Spinner/index.d.ts +0 -0
  177. package/types/components/Success/StyledSuccess.d.ts +0 -0
  178. package/types/components/Success/index.d.ts +0 -0
  179. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  180. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  181. package/types/components/Swipeable/index.d.ts +0 -0
  182. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  183. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  184. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  185. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  186. package/types/components/Switch/index.d.ts +0 -0
  187. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  188. package/types/components/Tabs/SceneView.d.ts +0 -0
  189. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  190. package/types/components/Tabs/ScrollableTabsHeader.d.ts +0 -0
  191. package/types/components/Tabs/ScrollableTabsV2/SceneView.d.ts +10 -0
  192. package/types/components/Tabs/ScrollableTabsV2/ScrollableTabsV2.d.ts +9 -0
  193. package/types/components/Tabs/ScrollableTabsV2/index.d.ts +4 -0
  194. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  195. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  196. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  197. package/types/components/Tabs/index.d.ts +0 -0
  198. package/types/components/Tabs/useIsFocused.d.ts +0 -0
  199. package/types/components/Tabs/utils.d.ts +0 -0
  200. package/types/components/Tag/StyledTag.d.ts +0 -0
  201. package/types/components/Tag/index.d.ts +0 -0
  202. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  203. package/types/components/TextInput/index.d.ts +0 -0
  204. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  205. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  206. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  207. package/types/components/TimePicker/index.d.ts +0 -0
  208. package/types/components/TimePicker/types.d.ts +0 -0
  209. package/types/components/Toast/StyledToast.d.ts +0 -0
  210. package/types/components/Toast/Toast.d.ts +0 -0
  211. package/types/components/Toast/ToastContainer.d.ts +0 -0
  212. package/types/components/Toast/ToastContext.d.ts +0 -0
  213. package/types/components/Toast/ToastProvider.d.ts +0 -0
  214. package/types/components/Toast/index.d.ts +0 -0
  215. package/types/components/Toast/types.d.ts +0 -0
  216. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  217. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  218. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  219. package/types/components/Toolbar/index.d.ts +0 -0
  220. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  221. package/types/components/Typography/Text/index.d.ts +0 -0
  222. package/types/components/Typography/index.d.ts +0 -0
  223. package/types/index.d.ts +0 -0
  224. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  225. package/types/theme/ThemeProvider.d.ts +0 -0
  226. package/types/theme/ThemeSwitcher.d.ts +0 -0
  227. package/types/theme/components/accordion.d.ts +0 -0
  228. package/types/theme/components/alert.d.ts +0 -0
  229. package/types/theme/components/attachment.d.ts +0 -0
  230. package/types/theme/components/avatar.d.ts +0 -0
  231. package/types/theme/components/badge.d.ts +0 -0
  232. package/types/theme/components/bottomNavigation.d.ts +0 -0
  233. package/types/theme/components/bottomSheet.d.ts +0 -0
  234. package/types/theme/components/button.d.ts +0 -0
  235. package/types/theme/components/calendar.d.ts +0 -0
  236. package/types/theme/components/card.d.ts +0 -0
  237. package/types/theme/components/cardCarousel.d.ts +0 -0
  238. package/types/theme/components/carousel.d.ts +0 -0
  239. package/types/theme/components/checkbox.d.ts +0 -0
  240. package/types/theme/components/contentNavigator.d.ts +0 -0
  241. package/types/theme/components/datePicker.d.ts +0 -0
  242. package/types/theme/components/divider.d.ts +0 -0
  243. package/types/theme/components/drawer.d.ts +0 -0
  244. package/types/theme/components/empty.d.ts +0 -0
  245. package/types/theme/components/error.d.ts +0 -0
  246. package/types/theme/components/fab.d.ts +0 -0
  247. package/types/theme/components/icon.d.ts +0 -0
  248. package/types/theme/components/image.d.ts +0 -0
  249. package/types/theme/components/list.d.ts +0 -0
  250. package/types/theme/components/pageControl.d.ts +0 -0
  251. package/types/theme/components/pinInput.d.ts +0 -0
  252. package/types/theme/components/progress.d.ts +0 -0
  253. package/types/theme/components/radio.d.ts +0 -0
  254. package/types/theme/components/refreshControl.d.ts +0 -0
  255. package/types/theme/components/richTextEditor.d.ts +0 -0
  256. package/types/theme/components/sectionHeading.d.ts +0 -0
  257. package/types/theme/components/select.d.ts +0 -0
  258. package/types/theme/components/skeleton.d.ts +0 -0
  259. package/types/theme/components/slider.d.ts +0 -0
  260. package/types/theme/components/spinner.d.ts +0 -0
  261. package/types/theme/components/success.d.ts +0 -0
  262. package/types/theme/components/swipeable.d.ts +0 -0
  263. package/types/theme/components/switch.d.ts +1 -1
  264. package/types/theme/components/tabs.d.ts +0 -0
  265. package/types/theme/components/tag.d.ts +0 -0
  266. package/types/theme/components/textInput.d.ts +0 -0
  267. package/types/theme/components/timePicker.d.ts +0 -0
  268. package/types/theme/components/toast.d.ts +0 -0
  269. package/types/theme/components/toolbar.d.ts +0 -0
  270. package/types/theme/components/typography.d.ts +0 -0
  271. package/types/theme/getTheme.d.ts +0 -0
  272. package/types/theme/global/borders.d.ts +0 -0
  273. package/types/theme/global/colors/eBens.d.ts +0 -0
  274. package/types/theme/global/colors/global.d.ts +0 -0
  275. package/types/theme/global/colors/globalDark.d.ts +0 -0
  276. package/types/theme/global/colors/jobs.d.ts +0 -0
  277. package/types/theme/global/colors/swag.d.ts +0 -0
  278. package/types/theme/global/colors/swagDark.d.ts +0 -0
  279. package/types/theme/global/colors/types.d.ts +0 -0
  280. package/types/theme/global/colors/wallet.d.ts +0 -0
  281. package/types/theme/global/colors/work.d.ts +0 -0
  282. package/types/theme/global/index.d.ts +0 -0
  283. package/types/theme/global/scale.d.ts +0 -0
  284. package/types/theme/global/sizes.d.ts +0 -0
  285. package/types/theme/global/space.d.ts +0 -0
  286. package/types/theme/global/typography.d.ts +0 -0
  287. package/types/theme/index.d.ts +0 -0
  288. package/types/types.d.ts +0 -0
  289. package/types/utils/functions.d.ts +0 -0
  290. package/types/utils/helpers.d.ts +0 -0
  291. package/types/utils/hooks.d.ts +0 -0
  292. package/types/utils/scale.d.ts +0 -0
package/lib/index.js CHANGED
@@ -2554,8 +2554,8 @@ var getProgressTheme = function getProgressTheme(theme) {
2554
2554
  };
2555
2555
  var sizes = {
2556
2556
  circleDiameter: theme.sizes['6xlarge'],
2557
- circleCompletenessHeight: theme.sizes.small,
2558
- barHeight: theme.sizes.small
2557
+ circleCompletenessHeight: theme.sizes.xsmall,
2558
+ barHeight: theme.sizes.xsmall
2559
2559
  };
2560
2560
  var radii = {
2561
2561
  "default": theme.radii.rounded
@@ -2809,8 +2809,8 @@ var getSwitchTheme = function getSwitchTheme(theme) {
2809
2809
  },
2810
2810
  thumb: theme.colors.onSecondary,
2811
2811
  selector: {
2812
- background: theme.colors.defaultGlobalSurface,
2813
- textBackground: theme.colors.decorativePrimarySurface
2812
+ background: theme.colors.neutralGlobalSurface,
2813
+ textBackground: theme.colors.decorativePrimary
2814
2814
  }
2815
2815
  };
2816
2816
  var sizes = {
@@ -2818,14 +2818,14 @@ var getSwitchTheme = function getSwitchTheme(theme) {
2818
2818
  width: theme.sizes.xxxlarge,
2819
2819
  height: theme.sizes.large,
2820
2820
  selector: {
2821
- height: theme.sizes.xxlarge
2821
+ height: theme.sizes.xxxxlarge
2822
2822
  }
2823
2823
  };
2824
2824
  var spaces = {
2825
2825
  paddingHorizontal: theme.space.xsmall,
2826
2826
  selector: {
2827
2827
  iconPadding: theme.space.medium,
2828
- wrapperHorizontalPadding: theme.space.xsmall
2828
+ wrapperPadding: theme.space.xsmall
2829
2829
  }
2830
2830
  };
2831
2831
  var radii = {
@@ -2860,7 +2860,7 @@ var getTabsTheme = function getTabsTheme(theme) {
2860
2860
  outlineVerticalPadding: theme.space.xsmall
2861
2861
  };
2862
2862
  var radii = {
2863
- outline: theme.radii.xlarge
2863
+ outline: theme.radii.medium
2864
2864
  };
2865
2865
  var borderWidths = {
2866
2866
  headerBottom: theme.borderWidths.base
@@ -6355,7 +6355,7 @@ var StyledText$3 = index$b(reactNative.Text)(function (_ref) {
6355
6355
  });
6356
6356
  });
6357
6357
 
6358
- var _excluded$z = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6358
+ var _excluded$A = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6359
6359
  var Text = function Text(_ref) {
6360
6360
  var children = _ref.children,
6361
6361
  _ref$fontSize = _ref.fontSize,
@@ -6368,7 +6368,7 @@ var Text = function Text(_ref) {
6368
6368
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6369
6369
  _ref$allowFontScaling = _ref.allowFontScaling,
6370
6370
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6371
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
6371
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
6372
6372
  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.');
6373
6373
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
6374
6374
  themeFontSize: fontSize,
@@ -6398,7 +6398,7 @@ var StyledCaption = index$b(reactNative.Text)(function (_ref) {
6398
6398
  };
6399
6399
  });
6400
6400
 
6401
- var _excluded$y = ["children", "fontWeight", "intent", "allowFontScaling"];
6401
+ var _excluded$z = ["children", "fontWeight", "intent", "allowFontScaling"];
6402
6402
  var Caption = function Caption(_ref) {
6403
6403
  var children = _ref.children,
6404
6404
  _ref$fontWeight = _ref.fontWeight,
@@ -6407,7 +6407,7 @@ var Caption = function Caption(_ref) {
6407
6407
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6408
6408
  _ref$allowFontScaling = _ref.allowFontScaling,
6409
6409
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6410
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
6410
+ nativeProps = _objectWithoutProperties(_ref, _excluded$z);
6411
6411
  return /*#__PURE__*/React__default["default"].createElement(StyledCaption, _extends$1({}, nativeProps, {
6412
6412
  themeFontWeight: fontWeight,
6413
6413
  themeIntent: intent,
@@ -6426,14 +6426,14 @@ var StyledLabel$1 = index$b(reactNative.Text)(function (_ref) {
6426
6426
  };
6427
6427
  });
6428
6428
 
6429
- var _excluded$x = ["children", "intent", "allowFontScaling"];
6429
+ var _excluded$y = ["children", "intent", "allowFontScaling"];
6430
6430
  var Label = function Label(_ref) {
6431
6431
  var children = _ref.children,
6432
6432
  _ref$intent = _ref.intent,
6433
6433
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6434
6434
  _ref$allowFontScaling = _ref.allowFontScaling,
6435
6435
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6436
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
6436
+ nativeProps = _objectWithoutProperties(_ref, _excluded$y);
6437
6437
  return /*#__PURE__*/React__default["default"].createElement(StyledLabel$1, _extends$1({}, nativeProps, {
6438
6438
  themeIntent: intent,
6439
6439
  allowFontScaling: allowFontScaling
@@ -6454,7 +6454,7 @@ var StyledTitle$1 = index$b(reactNative.Text)(function (_ref) {
6454
6454
  };
6455
6455
  });
6456
6456
 
6457
- var _excluded$w = ["children", "intent", "allowFontScaling", "level", "typeface"];
6457
+ var _excluded$x = ["children", "intent", "allowFontScaling", "level", "typeface"];
6458
6458
  var Title = function Title(_ref) {
6459
6459
  var children = _ref.children,
6460
6460
  _ref$intent = _ref.intent,
@@ -6465,7 +6465,7 @@ var Title = function Title(_ref) {
6465
6465
  level = _ref$level === void 0 ? 'h1' : _ref$level,
6466
6466
  _ref$typeface = _ref.typeface,
6467
6467
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6468
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
6468
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
6469
6469
  return /*#__PURE__*/React__default["default"].createElement(StyledTitle$1, _extends$1({}, nativeProps, {
6470
6470
  themeLevel: level,
6471
6471
  themeTypeface: typeface,
@@ -6500,7 +6500,7 @@ var StyledBody = index$b(reactNative.Text)(function (_ref) {
6500
6500
  };
6501
6501
  });
6502
6502
 
6503
- var _excluded$v = ["children", "intent", "allowFontScaling", "typeface", "variant"];
6503
+ var _excluded$w = ["children", "intent", "allowFontScaling", "typeface", "variant"];
6504
6504
  var Body = function Body(_ref) {
6505
6505
  var children = _ref.children,
6506
6506
  _ref$intent = _ref.intent,
@@ -6511,7 +6511,7 @@ var Body = function Body(_ref) {
6511
6511
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6512
6512
  _ref$variant = _ref.variant,
6513
6513
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
6514
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
6514
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
6515
6515
  return /*#__PURE__*/React__default["default"].createElement(StyledBody, _extends$1({}, nativeProps, {
6516
6516
  themeTypeface: typeface,
6517
6517
  themeIntent: intent,
@@ -7041,10 +7041,10 @@ var StyledHeroIcon = index$b(HeroIcon)(function (_ref) {
7041
7041
  };
7042
7042
  });
7043
7043
 
7044
- var _excluded$u = ["style"];
7044
+ var _excluded$v = ["style"];
7045
7045
  var AnimatedIcon = function AnimatedIcon(_ref) {
7046
7046
  var style = _ref.style,
7047
- otherProps = _objectWithoutProperties(_ref, _excluded$u);
7047
+ otherProps = _objectWithoutProperties(_ref, _excluded$v);
7048
7048
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
7049
7049
  React.useEffect(function () {
7050
7050
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -7149,7 +7149,7 @@ var AccordionItem = function AccordionItem(_ref) {
7149
7149
  }, content));
7150
7150
  };
7151
7151
 
7152
- var _excluded$t = ["key"];
7152
+ var _excluded$u = ["key"];
7153
7153
  var Accordion = function Accordion(_ref) {
7154
7154
  var items = _ref.items,
7155
7155
  activeItemKey = _ref.activeItemKey,
@@ -7170,7 +7170,7 @@ var Accordion = function Accordion(_ref) {
7170
7170
  testID: testID
7171
7171
  }, items.map(function (_ref2, index) {
7172
7172
  var key = _ref2.key,
7173
- props = _objectWithoutProperties(_ref2, _excluded$t);
7173
+ props = _objectWithoutProperties(_ref2, _excluded$u);
7174
7174
  var open = _activeItemKey === key;
7175
7175
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
7176
7176
  key: key
@@ -7568,7 +7568,7 @@ var StyledStatus = index$b(reactNative.Animated.View)(function (_ref3) {
7568
7568
  };
7569
7569
  });
7570
7570
 
7571
- var _excluded$s = ["children", "visible", "intent", "style", "testID"];
7571
+ var _excluded$t = ["children", "visible", "intent", "style", "testID"];
7572
7572
  var Status = function Status(_ref) {
7573
7573
  var children = _ref.children,
7574
7574
  _ref$visible = _ref.visible,
@@ -7577,7 +7577,7 @@ var Status = function Status(_ref) {
7577
7577
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7578
7578
  style = _ref.style,
7579
7579
  testID = _ref.testID,
7580
- nativeProps = _objectWithoutProperties(_ref, _excluded$s);
7580
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
7581
7581
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7582
7582
  opacity = _React$useRef.current;
7583
7583
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7610,7 +7610,7 @@ var Status = function Status(_ref) {
7610
7610
  }));
7611
7611
  };
7612
7612
 
7613
- var _excluded$r = ["content", "visible", "max", "intent", "style", "testID"];
7613
+ var _excluded$s = ["content", "visible", "max", "intent", "style", "testID"];
7614
7614
  var DEFAULT_MAX_NUMBER = 99;
7615
7615
  var getPaddingState = function getPaddingState(content) {
7616
7616
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -7625,7 +7625,7 @@ var Badge = function Badge(_ref) {
7625
7625
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7626
7626
  style = _ref.style,
7627
7627
  testID = _ref.testID,
7628
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
7628
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
7629
7629
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7630
7630
  opacity = _React$useRef.current;
7631
7631
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7729,7 +7729,7 @@ function omit(keys, obj) {
7729
7729
  return result;
7730
7730
  }
7731
7731
 
7732
- var _excluded$q = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7732
+ var _excluded$r = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7733
7733
  var getInactiveIcon = function getInactiveIcon(icon) {
7734
7734
  var inactiveIcon = "".concat(icon, "-outlined");
7735
7735
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -7740,7 +7740,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
7740
7740
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
7741
7741
  selectedTabKey = _ref.selectedTabKey,
7742
7742
  tabs = _ref.tabs,
7743
- nativeProps = _objectWithoutProperties(_ref, _excluded$q);
7743
+ nativeProps = _objectWithoutProperties(_ref, _excluded$r);
7744
7744
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
7745
7745
  /**
7746
7746
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7826,13 +7826,13 @@ var StyledDivider = index$b(reactNative.View)(function (_ref) {
7826
7826
  }, horizontalMargin), verticalMargin);
7827
7827
  });
7828
7828
 
7829
- var _excluded$p = ["marginHorizontal", "marginVertical", "style", "testID"];
7829
+ var _excluded$q = ["marginHorizontal", "marginVertical", "style", "testID"];
7830
7830
  var Divider = function Divider(_ref) {
7831
7831
  var marginHorizontal = _ref.marginHorizontal,
7832
7832
  marginVertical = _ref.marginVertical,
7833
7833
  style = _ref.style,
7834
7834
  testID = _ref.testID,
7835
- nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7835
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
7836
7836
  return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
7837
7837
  themeMarginHorizontal: marginHorizontal,
7838
7838
  themeMarginVertical: marginVertical,
@@ -7962,7 +7962,7 @@ var StyledLoadingDot = index$b(reactNative.View)(function (_ref2) {
7962
7962
  }, themeStyling());
7963
7963
  });
7964
7964
 
7965
- var _excluded$o = ["count", "size", "testID", "themeVariant"];
7965
+ var _excluded$p = ["count", "size", "testID", "themeVariant"];
7966
7966
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7967
7967
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7968
7968
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7994,7 +7994,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7994
7994
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7995
7995
  testID = _ref2.testID,
7996
7996
  themeVariant = _ref2.themeVariant,
7997
- nativeProps = _objectWithoutProperties(_ref2, _excluded$o);
7997
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$p);
7998
7998
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7999
7999
  React.useEffect(function () {
8000
8000
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -8433,11 +8433,11 @@ var Header = function Header(_ref) {
8433
8433
  })) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
8434
8434
  };
8435
8435
 
8436
- var _excluded$n = ["scrollEventThrottle"];
8436
+ var _excluded$o = ["scrollEventThrottle"];
8437
8437
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
8438
8438
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
8439
8439
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
8440
- props = _objectWithoutProperties(_ref, _excluded$n);
8440
+ props = _objectWithoutProperties(_ref, _excluded$o);
8441
8441
  var _useContext = React.useContext(BottomSheetContext),
8442
8442
  setInternalShowDivider = _useContext.setInternalShowDivider;
8443
8443
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -8752,7 +8752,7 @@ var borderWidths = {
8752
8752
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8753
8753
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8754
8754
 
8755
- var _excluded$m = ["theme"];
8755
+ var _excluded$n = ["theme"];
8756
8756
  var getThemeValue = function getThemeValue(theme, key, props) {
8757
8757
  var propConfig = config[key];
8758
8758
  var propValue = props[key];
@@ -8779,18 +8779,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8779
8779
  var configKeys = Object.keys(config);
8780
8780
  var StyledBox = index$b(reactNative.View)(function (_ref5) {
8781
8781
  var theme = _ref5.theme,
8782
- otherProps = _objectWithoutProperties(_ref5, _excluded$m);
8782
+ otherProps = _objectWithoutProperties(_ref5, _excluded$n);
8783
8783
  var styleProps = pick(configKeys, otherProps);
8784
8784
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8785
8785
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8786
8786
  });
8787
8787
 
8788
- var _excluded$l = ["children", "style", "testID"];
8788
+ var _excluded$m = ["children", "style", "testID"];
8789
8789
  var Box = function Box(_ref) {
8790
8790
  var children = _ref.children,
8791
8791
  style = _ref.style,
8792
8792
  testID = _ref.testID,
8793
- otherProps = _objectWithoutProperties(_ref, _excluded$l);
8793
+ otherProps = _objectWithoutProperties(_ref, _excluded$m);
8794
8794
  return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
8795
8795
  style: style,
8796
8796
  testID: testID
@@ -11426,7 +11426,7 @@ var Calendar = function Calendar(_ref) {
11426
11426
  })));
11427
11427
  };
11428
11428
 
11429
- var _excluded$k = ["rounded", "size", "testID", "style"];
11429
+ var _excluded$l = ["rounded", "size", "testID", "style"];
11430
11430
  var Image = function Image(_ref) {
11431
11431
  var _ref$rounded = _ref.rounded,
11432
11432
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -11434,7 +11434,7 @@ var Image = function Image(_ref) {
11434
11434
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
11435
11435
  testID = _ref.testID,
11436
11436
  style = _ref.style,
11437
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$k);
11437
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$l);
11438
11438
  var theme = useTheme();
11439
11439
  var imageSize = theme.__hd__.image.sizes[size];
11440
11440
  return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
@@ -11636,12 +11636,12 @@ var Indicator = index$b(reactNative.View)(function (_ref2) {
11636
11636
  };
11637
11637
  });
11638
11638
 
11639
- var _excluded$j = ["intent", "children"];
11639
+ var _excluded$k = ["intent", "children"];
11640
11640
  var DataCard = function DataCard(_ref) {
11641
11641
  var _ref$intent = _ref.intent,
11642
11642
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
11643
11643
  children = _ref.children,
11644
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
11644
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
11645
11645
  return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
11646
11646
  themeIntent: intent,
11647
11647
  testID: "data-card-indicator"
@@ -11659,11 +11659,11 @@ var StyledCard$1 = index$b(reactNative.View)(function (_ref) {
11659
11659
  });
11660
11660
  });
11661
11661
 
11662
- var _excluded$i = ["intent", "children"];
11662
+ var _excluded$j = ["intent", "children"];
11663
11663
  var Card = function Card(_ref) {
11664
11664
  var intent = _ref.intent,
11665
11665
  children = _ref.children,
11666
- nativeProps = _objectWithoutProperties(_ref, _excluded$i);
11666
+ nativeProps = _objectWithoutProperties(_ref, _excluded$j);
11667
11667
  return /*#__PURE__*/React__default["default"].createElement(StyledCard$1, _extends$1({}, nativeProps, {
11668
11668
  themeIntent: intent
11669
11669
  }), children);
@@ -11870,7 +11870,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11870
11870
  });
11871
11871
  CardCarousel.displayName = 'CardCarousel';
11872
11872
 
11873
- var _excluded$h = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11873
+ var _excluded$i = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11874
11874
  function useStateFromProp(initialValue) {
11875
11875
  var _useState = React.useState(initialValue),
11876
11876
  _useState2 = _slicedToArray(_useState, 2),
@@ -11895,7 +11895,7 @@ var Carousel = function Carousel(_ref) {
11895
11895
  shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop : _ref$shouldShowPagina,
11896
11896
  _ref$pageControlPosit = _ref.pageControlPosition,
11897
11897
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'bottom' : _ref$pageControlPosit,
11898
- nativeProps = _objectWithoutProperties(_ref, _excluded$h);
11898
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
11899
11899
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
11900
11900
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
11901
11901
  var carouselRef = React.useRef(null);
@@ -12218,7 +12218,7 @@ var StyledErrorAndMaxLengthContainer = index$b(reactNative.View)(function () {
12218
12218
  };
12219
12219
  });
12220
12220
 
12221
- var _excluded$g = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
12221
+ var _excluded$h = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
12222
12222
  var getState$1 = function getState(_ref) {
12223
12223
  var disabled = _ref.disabled,
12224
12224
  error = _ref.error,
@@ -12270,7 +12270,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
12270
12270
  allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
12271
12271
  _ref2$variant = _ref2.variant,
12272
12272
  variant = _ref2$variant === void 0 ? 'text' : _ref2$variant,
12273
- nativeProps = _objectWithoutProperties(_ref2, _excluded$g);
12273
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$h);
12274
12274
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
12275
12275
  var isEmptyValue = displayText.length === 0;
12276
12276
  var actualSuffix = loading ? 'loading' : suffix;
@@ -12714,11 +12714,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
12714
12714
  }))));
12715
12715
  };
12716
12716
 
12717
- var _excluded$f = ["variant"];
12717
+ var _excluded$g = ["variant"];
12718
12718
  var DatePicker = function DatePicker(_ref) {
12719
12719
  var _ref$variant = _ref.variant,
12720
12720
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12721
- props = _objectWithoutProperties(_ref, _excluded$f);
12721
+ props = _objectWithoutProperties(_ref, _excluded$g);
12722
12722
  if (variant === 'calendar') {
12723
12723
  return /*#__PURE__*/React__default["default"].createElement(DatePickerCalendar, props);
12724
12724
  }
@@ -13152,7 +13152,7 @@ var StyledErrorDescription = index$b(Typography.Body)(function (_ref9) {
13152
13152
  };
13153
13153
  });
13154
13154
 
13155
- var _excluded$e = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
13155
+ var _excluded$f = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
13156
13156
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
13157
13157
  var renderImage$1 = function renderImage(image) {
13158
13158
  if ( /*#__PURE__*/React.isValidElement(image)) {
@@ -13178,7 +13178,7 @@ var ErrorPage = function ErrorPage(_ref) {
13178
13178
  onCtaPress = _ref.onCtaPress,
13179
13179
  secondaryCtaText = _ref.secondaryCtaText,
13180
13180
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
13181
- nativeProps = _objectWithoutProperties(_ref, _excluded$e);
13181
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
13182
13182
  var showCta = ctaText && onCtaPress !== undefined;
13183
13183
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
13184
13184
  var showButtonContainer = showCta || showSecondaryCta;
@@ -13337,11 +13337,11 @@ var StyledIconContainer = index$b(Box)(function (_ref4) {
13337
13337
  };
13338
13338
  });
13339
13339
 
13340
- var _excluded$d = ["active"];
13340
+ var _excluded$e = ["active"];
13341
13341
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
13342
13342
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
13343
13343
  var active = _ref.active,
13344
- iconProps = _objectWithoutProperties(_ref, _excluded$d);
13344
+ iconProps = _objectWithoutProperties(_ref, _excluded$e);
13345
13345
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
13346
13346
  React.useEffect(function () {
13347
13347
  var animation = reactNative.Animated.spring(rotateAnimation.current, {
@@ -13594,6 +13594,136 @@ var StyledHeaderText = index$b(Typography.Title)(function (_ref3) {
13594
13594
  };
13595
13595
  });
13596
13596
 
13597
+ var _excluded$d = ["style", "children"];
13598
+ var FABModalPresenter = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
13599
+ var style = _ref2.style,
13600
+ children = _ref2.children,
13601
+ props = _objectWithoutProperties(_ref2, _excluded$d);
13602
+ var animatedOpacity = React.useRef(new reactNative.Animated.Value(0));
13603
+ React__default["default"].useEffect(function () {
13604
+ reactNative.Animated.spring(animatedOpacity.current, {
13605
+ toValue: 1,
13606
+ useNativeDriver: true
13607
+ }).start();
13608
+ }, []);
13609
+ React__default["default"].useImperativeHandle(ref, function () {
13610
+ return {
13611
+ animatedOut: function animatedOut(completion) {
13612
+ reactNative.Animated.spring(animatedOpacity.current, {
13613
+ toValue: 0,
13614
+ useNativeDriver: true
13615
+ }).start(function () {
13616
+ completion === null || completion === void 0 ? void 0 : completion();
13617
+ });
13618
+ }
13619
+ };
13620
+ });
13621
+ return /*#__PURE__*/React__default["default"].createElement(Box, {
13622
+ style: reactNative.StyleSheet.absoluteFill,
13623
+ pointerEvents: "box-none"
13624
+ }, /*#__PURE__*/React__default["default"].createElement(reactNative.Animated.View, _extends$1({
13625
+ style: [{
13626
+ width: '100%',
13627
+ height: '100%',
13628
+ justifyContent: 'center',
13629
+ alignItems: 'center',
13630
+ opacity: animatedOpacity.current
13631
+ }, style]
13632
+ }, props, {
13633
+ pointerEvents: "box-none"
13634
+ }), children));
13635
+ });
13636
+ /**
13637
+ * Present a modal on screen immediately.
13638
+ *
13639
+ * The new presented modal will be on top of existing modals if there are any.
13640
+ *
13641
+ * @param Content A component to be presented as a modal on screen.
13642
+ * This component will be centered horizontally and vertically on screen with
13643
+ * a semitransparent black overlay underneath.
13644
+ * @param contentProps Props for this modal component.
13645
+ * @returns A `ModalHandler` you can use to dismiss the modal.
13646
+ */
13647
+ var showFABModal = function showFABModal(content) {
13648
+ var _ref3 = null;
13649
+ var rootSiblings = null;
13650
+ var dismiss = function dismiss(onDismiss) {
13651
+ if (rootSiblings) {
13652
+ var cleanup = function cleanup() {
13653
+ var _rootSiblings;
13654
+ (_rootSiblings = rootSiblings) === null || _rootSiblings === void 0 ? void 0 : _rootSiblings.destroy();
13655
+ rootSiblings = null;
13656
+ _ref3 = null;
13657
+ onDismiss === null || onDismiss === void 0 ? void 0 : onDismiss();
13658
+ };
13659
+ if (_ref3) {
13660
+ _ref3.animatedOut(cleanup);
13661
+ } else {
13662
+ cleanup();
13663
+ }
13664
+ }
13665
+ };
13666
+ var update = function update(newContent) {
13667
+ var _rootSiblings2;
13668
+ (_rootSiblings2 = rootSiblings) === null || _rootSiblings2 === void 0 ? void 0 : _rootSiblings2.update( /*#__PURE__*/React__default["default"].createElement(FABModalPresenter, {
13669
+ ref: function ref(_ref) {
13670
+ _ref3 = _ref;
13671
+ }
13672
+ }, newContent));
13673
+ };
13674
+ rootSiblings = new RootSiblings__default["default"]( /*#__PURE__*/React__default["default"].createElement(FABModalPresenter, {
13675
+ ref: function ref(_ref) {
13676
+ _ref3 = _ref;
13677
+ }
13678
+ }, content));
13679
+ return {
13680
+ dismiss: dismiss,
13681
+ update: update
13682
+ };
13683
+ };
13684
+ FABModalPresenter.displayName = 'FABModalPresenter';
13685
+
13686
+ var wrapperStyle$1 = {
13687
+ width: reactNative.Dimensions.get('window').width,
13688
+ height: reactNative.Dimensions.get('window').height
13689
+ };
13690
+ var fABModal = function fABModal(_ref) {
13691
+ var children = _ref.children,
13692
+ onShow = _ref.onShow,
13693
+ testID = _ref.testID,
13694
+ _ref$visible = _ref.visible,
13695
+ visible = _ref$visible === void 0 ? true : _ref$visible;
13696
+ var _React$useState = React__default["default"].useState(),
13697
+ _React$useState2 = _slicedToArray(_React$useState, 2),
13698
+ modalHandler = _React$useState2[0],
13699
+ setModalHandler = _React$useState2[1];
13700
+ var getModalContent = React__default["default"].useCallback(function () {
13701
+ return /*#__PURE__*/React__default["default"].createElement(reactNative.View, {
13702
+ pointerEvents: "box-none",
13703
+ style: wrapperStyle$1,
13704
+ testID: testID
13705
+ }, children);
13706
+ }, [visible, children, onShow, testID]);
13707
+ React__default["default"].useEffect(function () {
13708
+ if (visible) {
13709
+ // Modal does not exist, create a new one
13710
+ if (!modalHandler) {
13711
+ var newModalHandler = showFABModal(getModalContent());
13712
+ setModalHandler(newModalHandler);
13713
+ onShow === null || onShow === void 0 ? void 0 : onShow();
13714
+ }
13715
+ // Modal already exists, update it
13716
+ else {
13717
+ modalHandler.update(getModalContent());
13718
+ }
13719
+ } else {
13720
+ modalHandler === null || modalHandler === void 0 ? void 0 : modalHandler.dismiss();
13721
+ setModalHandler(undefined);
13722
+ }
13723
+ }, [getModalContent]);
13724
+ return null;
13725
+ };
13726
+
13597
13727
  var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13598
13728
  var headerTitle = _ref.headerTitle,
13599
13729
  onPress = _ref.onPress,
@@ -13644,7 +13774,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13644
13774
  inputRange: [0, 1],
13645
13775
  outputRange: [0, 1]
13646
13776
  });
13647
- return /*#__PURE__*/React__default["default"].createElement(StyledContainer$2, {
13777
+ return /*#__PURE__*/React__default["default"].createElement(fABModal, null, /*#__PURE__*/React__default["default"].createElement(StyledContainer$2, {
13648
13778
  testID: testID,
13649
13779
  pointerEvents: "box-none",
13650
13780
  style: style
@@ -13688,7 +13818,7 @@ var ActionGroup = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
13688
13818
  active: active,
13689
13819
  title: fabTitle,
13690
13820
  ref: fabRef
13691
- }));
13821
+ })));
13692
13822
  });
13693
13823
  ActionGroup.displayName = 'FAB.ActionGroup';
13694
13824
 
@@ -14532,8 +14662,7 @@ var StyledWrapper$4 = index$b(reactNative.View)(function (_ref) {
14532
14662
  height: theme.__hd__.progress.sizes.barHeight,
14533
14663
  alignSelf: 'stretch',
14534
14664
  backgroundColor: theme.__hd__.progress.colors.incompleteness[THEME_INTENT_MAP[themeIntent]],
14535
- overflow: 'hidden',
14536
- borderRadius: theme.__hd__.progress.radii["default"]
14665
+ overflow: 'hidden'
14537
14666
  };
14538
14667
  });
14539
14668
  var StyledInner = index$b(reactNative.Animated.View)(function (_ref2) {
@@ -15800,7 +15929,7 @@ var StyledWrapper$2 = index$b(reactNative.View)(function (_ref) {
15800
15929
  height: theme.__hd__["switch"].sizes.selector.height,
15801
15930
  borderRadius: theme.__hd__["switch"].radii.selector["default"],
15802
15931
  backgroundColor: theme.__hd__["switch"].colors.selector.background,
15803
- paddingHorizontal: theme.__hd__["switch"].spaces.selector.wrapperHorizontalPadding,
15932
+ padding: theme.__hd__["switch"].spaces.selector.wrapperPadding,
15804
15933
  position: 'relative'
15805
15934
  };
15806
15935
  });
@@ -15825,10 +15954,15 @@ var StyledIconWrapper$1 = index$b(AnimatedView)(function (_ref3) {
15825
15954
  });
15826
15955
  var StyledKnot$1 = index$b(AnimatedView)(function (_ref4) {
15827
15956
  var theme = _ref4.theme;
15828
- return _objectSpread2(_objectSpread2({}, reactNative.StyleSheet.absoluteFillObject), {}, {
15957
+ return {
15829
15958
  borderRadius: theme.__hd__["switch"].radii.selector["default"],
15830
- backgroundColor: theme.__hd__["switch"].colors.selector.textBackground
15831
- });
15959
+ backgroundColor: theme.__hd__["switch"].colors.selector.textBackground,
15960
+ position: 'absolute',
15961
+ top: theme.__hd__["switch"].spaces.selector.wrapperPadding,
15962
+ bottom: theme.__hd__["switch"].spaces.selector.wrapperPadding,
15963
+ left: theme.__hd__["switch"].spaces.selector.wrapperPadding,
15964
+ right: theme.__hd__["switch"].spaces.selector.wrapperPadding
15965
+ };
15832
15966
  });
15833
15967
 
15834
15968
  var OptionContent = function OptionContent(_ref) {
@@ -15904,6 +16038,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
15904
16038
  _onPress = _ref.onPress,
15905
16039
  style = _ref.style,
15906
16040
  testID = _ref.testID;
16041
+ var theme = useTheme$1();
15907
16042
  var _useState = React.useState(0),
15908
16043
  _useState2 = _slicedToArray(_useState, 2),
15909
16044
  knotWidth = _useState2[0],
@@ -15915,7 +16050,7 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
15915
16050
  var animatedValue = React.useRef(new reactNative.Animated.Value(0)).current;
15916
16051
  var translateX = animatedValue.interpolate({
15917
16052
  inputRange: [0, 1],
15918
- outputRange: [0, Math.floor(containerWidth - knotWidth)]
16053
+ outputRange: [0, Math.floor(containerWidth - knotWidth - theme.space.small)]
15919
16054
  });
15920
16055
  React.useEffect(function () {
15921
16056
  reactNative.Animated.timing(animatedValue, {
@@ -15924,10 +16059,10 @@ var SelectorSwitch = function SelectorSwitch(_ref) {
15924
16059
  easing: reactNative.Easing.inOut(reactNative.Easing.ease),
15925
16060
  useNativeDriver: reactNative.Platform.OS === 'ios' || reactNative.Platform.OS === 'android'
15926
16061
  }).start();
15927
- }, [value, animatedValue, options]);
16062
+ }, [value]);
15928
16063
  var onContainerLayout = React.useCallback(function (e) {
15929
16064
  setContainerWidth(e.nativeEvent.layout.width);
15930
- }, []);
16065
+ }, [options]);
15931
16066
  var onItemLayout = React.useCallback(function (e, optionValue) {
15932
16067
  if (optionValue === value) {
15933
16068
  setKnotWidth(e.nativeEvent.layout.width);