@hero-design/rn 8.22.0-alpha.0 → 8.23.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 (295) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/.turbo/turbo-publish:npm.log +0 -9
  3. package/es/index.js +283 -91
  4. package/lib/index.js +283 -90
  5. package/package.json +5 -5
  6. package/src/components/Alert/index.tsx +6 -0
  7. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
  8. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +5 -5
  9. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +180 -138
  10. package/src/components/FAB/FAB.tsx +17 -12
  11. package/src/components/FAB/StyledFAB.tsx +13 -4
  12. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +13 -21
  13. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +214 -151
  14. package/src/components/List/ListItem.tsx +12 -8
  15. package/src/components/Success/StyledSuccess.tsx +87 -0
  16. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +497 -0
  17. package/src/components/Success/__tests__/index.spec.tsx +78 -0
  18. package/src/components/Success/index.tsx +129 -0
  19. package/src/components/Tag/StyledTag.tsx +1 -1
  20. package/src/components/Tag/__tests__/Tag.spec.tsx +22 -71
  21. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +106 -53
  22. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +265 -0
  23. package/src/components/TextInput/__tests__/index.spec.tsx +29 -0
  24. package/src/components/TextInput/index.tsx +6 -1
  25. package/src/index.ts +2 -0
  26. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +43 -3
  27. package/src/theme/components/empty.ts +1 -1
  28. package/src/theme/components/error.ts +1 -1
  29. package/src/theme/components/fab.ts +18 -1
  30. package/src/theme/components/success.ts +40 -0
  31. package/src/theme/components/tag.ts +1 -1
  32. package/src/theme/getTheme.ts +3 -0
  33. package/src/theme/global/colors/__tests__/__snapshots__/globalDark.spec.ts.snap +19 -19
  34. package/src/theme/global/colors/__tests__/__snapshots__/swagDark.spec.ts.snap +19 -19
  35. package/src/theme/global/colors/globalDark.ts +24 -24
  36. package/src/utils/hooks.ts +1 -1
  37. package/types/components/Accordion/AccordionItem.d.ts +0 -0
  38. package/types/components/Accordion/StyledAccordion.d.ts +0 -0
  39. package/types/components/Accordion/index.d.ts +0 -0
  40. package/types/components/Alert/StyledAlert.d.ts +0 -0
  41. package/types/components/Alert/index.d.ts +0 -0
  42. package/types/components/Attachment/StyledAttachment.d.ts +0 -0
  43. package/types/components/Attachment/index.d.ts +0 -0
  44. package/types/components/Avatar/Avatar.d.ts +0 -0
  45. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +0 -0
  46. package/types/components/Avatar/AvatarStack/index.d.ts +0 -0
  47. package/types/components/Avatar/AvatarStack/utils.d.ts +0 -0
  48. package/types/components/Avatar/StyledAvatar.d.ts +0 -0
  49. package/types/components/Avatar/index.d.ts +0 -0
  50. package/types/components/Badge/Status.d.ts +0 -0
  51. package/types/components/Badge/StyledBadge.d.ts +0 -0
  52. package/types/components/Badge/index.d.ts +0 -0
  53. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +0 -0
  54. package/types/components/BottomNavigation/index.d.ts +0 -0
  55. package/types/components/BottomSheet/BottomSheetContext.d.ts +0 -0
  56. package/types/components/BottomSheet/Footer.d.ts +0 -0
  57. package/types/components/BottomSheet/Header.d.ts +0 -0
  58. package/types/components/BottomSheet/ScrollView.d.ts +0 -0
  59. package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -0
  60. package/types/components/BottomSheet/index.d.ts +0 -0
  61. package/types/components/Box/StyledBox.d.ts +0 -0
  62. package/types/components/Box/config.d.ts +0 -0
  63. package/types/components/Box/index.d.ts +0 -0
  64. package/types/components/Box/types.d.ts +0 -0
  65. package/types/components/Button/Button.d.ts +0 -0
  66. package/types/components/Button/IconButton.d.ts +0 -0
  67. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +0 -0
  68. package/types/components/Button/LoadingIndicator/index.d.ts +0 -0
  69. package/types/components/Button/StyledButton.d.ts +0 -0
  70. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +0 -0
  71. package/types/components/Button/UtilityButton/index.d.ts +0 -0
  72. package/types/components/Button/index.d.ts +0 -0
  73. package/types/components/Calendar/CalendarRowItem.d.ts +0 -0
  74. package/types/components/Calendar/StyledCalendar.d.ts +0 -0
  75. package/types/components/Calendar/helpers.d.ts +0 -0
  76. package/types/components/Calendar/index.d.ts +0 -0
  77. package/types/components/Card/DataCard/StyledDataCard.d.ts +0 -0
  78. package/types/components/Card/DataCard/index.d.ts +0 -0
  79. package/types/components/Card/StyledCard.d.ts +0 -0
  80. package/types/components/Card/index.d.ts +0 -0
  81. package/types/components/Carousel/CardCarousel.d.ts +0 -0
  82. package/types/components/Carousel/CarouselItem.d.ts +0 -0
  83. package/types/components/Carousel/StyledCardCarousel.d.ts +0 -0
  84. package/types/components/Carousel/StyledCarousel.d.ts +0 -0
  85. package/types/components/Carousel/contants.d.ts +0 -0
  86. package/types/components/Carousel/index.d.ts +0 -0
  87. package/types/components/Carousel/types.d.ts +0 -0
  88. package/types/components/Checkbox/StyledCheckbox.d.ts +0 -0
  89. package/types/components/Checkbox/index.d.ts +0 -0
  90. package/types/components/Collapse/StyledCollapse.d.ts +0 -0
  91. package/types/components/Collapse/index.d.ts +0 -0
  92. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +0 -0
  93. package/types/components/ContentNavigator/index.d.ts +0 -0
  94. package/types/components/DatePicker/DatePickerAndroid.d.ts +0 -0
  95. package/types/components/DatePicker/DatePickerCalendar.d.ts +0 -0
  96. package/types/components/DatePicker/DatePickerIOS.d.ts +0 -0
  97. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  98. package/types/components/DatePicker/index.d.ts +0 -0
  99. package/types/components/DatePicker/types.d.ts +0 -0
  100. package/types/components/Divider/StyledDivider.d.ts +0 -0
  101. package/types/components/Divider/index.d.ts +0 -0
  102. package/types/components/Drawer/DragableDrawer/helpers.d.ts +0 -0
  103. package/types/components/Drawer/DragableDrawer/index.d.ts +0 -0
  104. package/types/components/Drawer/StyledDrawer.d.ts +0 -0
  105. package/types/components/Drawer/index.d.ts +0 -0
  106. package/types/components/Empty/StyledEmpty.d.ts +0 -0
  107. package/types/components/Empty/index.d.ts +0 -0
  108. package/types/components/Error/StyledError.d.ts +0 -0
  109. package/types/components/Error/index.d.ts +0 -0
  110. package/types/components/FAB/ActionGroup/ActionItem.d.ts +0 -0
  111. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -0
  112. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +0 -0
  113. package/types/components/FAB/ActionGroup/index.d.ts +0 -0
  114. package/types/components/FAB/AnimatedFABIcon.d.ts +0 -0
  115. package/types/components/FAB/FAB.d.ts +0 -0
  116. package/types/components/FAB/StyledFAB.d.ts +7 -3
  117. package/types/components/FAB/index.d.ts +0 -0
  118. package/types/components/Icon/AnimatedIcon.d.ts +0 -0
  119. package/types/components/Icon/HeroIcon/index.d.ts +0 -0
  120. package/types/components/Icon/IconList.d.ts +0 -0
  121. package/types/components/Icon/index.d.ts +0 -0
  122. package/types/components/Icon/utils.d.ts +0 -0
  123. package/types/components/Image/index.d.ts +0 -0
  124. package/types/components/List/BasicListItem.d.ts +0 -0
  125. package/types/components/List/ListItem.d.ts +0 -0
  126. package/types/components/List/StyledBasicListItem.d.ts +0 -0
  127. package/types/components/List/StyledListItem.d.ts +0 -0
  128. package/types/components/List/index.d.ts +0 -0
  129. package/types/components/PageControl/StyledPageControl.d.ts +0 -0
  130. package/types/components/PageControl/index.d.ts +0 -0
  131. package/types/components/PinInput/PinCell.d.ts +0 -0
  132. package/types/components/PinInput/StyledPinInput.d.ts +0 -0
  133. package/types/components/PinInput/index.d.ts +0 -0
  134. package/types/components/Progress/ProgressBar.d.ts +0 -0
  135. package/types/components/Progress/ProgressCircle.d.ts +0 -0
  136. package/types/components/Progress/StyledProgressBar.d.ts +0 -0
  137. package/types/components/Progress/StyledProgressCircle.d.ts +0 -0
  138. package/types/components/Progress/__tests__/index.spec.d.ts +0 -0
  139. package/types/components/Progress/constants.d.ts +0 -0
  140. package/types/components/Progress/index.d.ts +0 -0
  141. package/types/components/Progress/types.d.ts +0 -0
  142. package/types/components/Radio/Radio.d.ts +0 -0
  143. package/types/components/Radio/RadioGroup.d.ts +0 -0
  144. package/types/components/Radio/StyledRadio.d.ts +0 -0
  145. package/types/components/Radio/index.d.ts +0 -0
  146. package/types/components/Radio/types.d.ts +0 -0
  147. package/types/components/RefreshControl/index.d.ts +0 -0
  148. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -0
  149. package/types/components/RichTextEditor/EditorToolbar.d.ts +0 -0
  150. package/types/components/RichTextEditor/MentionList.d.ts +0 -0
  151. package/types/components/RichTextEditor/RichTextEditor.d.ts +0 -0
  152. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +0 -0
  153. package/types/components/RichTextEditor/StyledToolbar.d.ts +0 -0
  154. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +0 -0
  155. package/types/components/RichTextEditor/constants.d.ts +0 -0
  156. package/types/components/RichTextEditor/heroEditorApp.d.ts +0 -0
  157. package/types/components/RichTextEditor/index.d.ts +0 -0
  158. package/types/components/RichTextEditor/types.d.ts +0 -0
  159. package/types/components/RichTextEditor/utils/events.d.ts +0 -0
  160. package/types/components/RichTextEditor/utils/rnWebView.d.ts +0 -0
  161. package/types/components/SectionHeading/StyledHeading.d.ts +0 -0
  162. package/types/components/SectionHeading/index.d.ts +0 -0
  163. package/types/components/Select/BaseOptionList.d.ts +0 -0
  164. package/types/components/Select/Footer.d.ts +0 -0
  165. package/types/components/Select/MultiSelect/Option.d.ts +0 -0
  166. package/types/components/Select/MultiSelect/OptionList.d.ts +0 -0
  167. package/types/components/Select/MultiSelect/index.d.ts +0 -0
  168. package/types/components/Select/SingleSelect/Option.d.ts +0 -0
  169. package/types/components/Select/SingleSelect/OptionList.d.ts +0 -0
  170. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +0 -0
  171. package/types/components/Select/SingleSelect/index.d.ts +0 -0
  172. package/types/components/Select/StyledSelect.d.ts +0 -0
  173. package/types/components/Select/helpers.d.ts +0 -0
  174. package/types/components/Select/index.d.ts +0 -0
  175. package/types/components/Select/types.d.ts +0 -0
  176. package/types/components/Skeleton/StyledSkeleton.d.ts +0 -0
  177. package/types/components/Skeleton/index.d.ts +0 -0
  178. package/types/components/Slider/index.d.ts +0 -0
  179. package/types/components/Spinner/AnimatedSpinner.d.ts +0 -0
  180. package/types/components/Spinner/StyledSpinner.d.ts +0 -0
  181. package/types/components/Spinner/index.d.ts +0 -0
  182. package/types/components/Success/StyledSuccess.d.ts +54 -0
  183. package/types/components/Success/index.d.ts +42 -0
  184. package/types/components/Swipeable/StyledSwipeable.d.ts +0 -0
  185. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  186. package/types/components/Swipeable/index.d.ts +0 -0
  187. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  188. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  189. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  190. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  191. package/types/components/Switch/index.d.ts +0 -0
  192. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  193. package/types/components/Tabs/ScrollableTabs.d.ts +0 -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/utils.d.ts +0 -0
  199. package/types/components/Tag/StyledTag.d.ts +0 -0
  200. package/types/components/Tag/index.d.ts +0 -0
  201. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  202. package/types/components/TextInput/index.d.ts +5 -1
  203. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  204. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  205. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  206. package/types/components/TimePicker/index.d.ts +0 -0
  207. package/types/components/TimePicker/types.d.ts +0 -0
  208. package/types/components/Toast/StyledToast.d.ts +0 -0
  209. package/types/components/Toast/Toast.d.ts +0 -0
  210. package/types/components/Toast/ToastContainer.d.ts +0 -0
  211. package/types/components/Toast/ToastContext.d.ts +0 -0
  212. package/types/components/Toast/ToastProvider.d.ts +0 -0
  213. package/types/components/Toast/index.d.ts +0 -0
  214. package/types/components/Toast/types.d.ts +0 -0
  215. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  216. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  217. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  218. package/types/components/Toolbar/index.d.ts +0 -0
  219. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  220. package/types/components/Typography/Text/index.d.ts +0 -0
  221. package/types/components/Typography/index.d.ts +0 -0
  222. package/types/index.d.ts +2 -1
  223. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  224. package/types/theme/ThemeProvider.d.ts +0 -0
  225. package/types/theme/ThemeSwitcher.d.ts +0 -0
  226. package/types/theme/components/accordion.d.ts +0 -0
  227. package/types/theme/components/alert.d.ts +0 -0
  228. package/types/theme/components/attachment.d.ts +0 -0
  229. package/types/theme/components/avatar.d.ts +0 -0
  230. package/types/theme/components/badge.d.ts +0 -0
  231. package/types/theme/components/bottomNavigation.d.ts +0 -0
  232. package/types/theme/components/bottomSheet.d.ts +0 -0
  233. package/types/theme/components/button.d.ts +0 -0
  234. package/types/theme/components/calendar.d.ts +0 -0
  235. package/types/theme/components/card.d.ts +0 -0
  236. package/types/theme/components/cardCarousel.d.ts +0 -0
  237. package/types/theme/components/carousel.d.ts +0 -0
  238. package/types/theme/components/checkbox.d.ts +0 -0
  239. package/types/theme/components/contentNavigator.d.ts +0 -0
  240. package/types/theme/components/datePicker.d.ts +0 -0
  241. package/types/theme/components/divider.d.ts +0 -0
  242. package/types/theme/components/drawer.d.ts +0 -0
  243. package/types/theme/components/empty.d.ts +0 -0
  244. package/types/theme/components/error.d.ts +0 -0
  245. package/types/theme/components/fab.d.ts +10 -0
  246. package/types/theme/components/icon.d.ts +0 -0
  247. package/types/theme/components/image.d.ts +0 -0
  248. package/types/theme/components/list.d.ts +0 -0
  249. package/types/theme/components/pageControl.d.ts +0 -0
  250. package/types/theme/components/pinInput.d.ts +0 -0
  251. package/types/theme/components/progress.d.ts +0 -0
  252. package/types/theme/components/radio.d.ts +0 -0
  253. package/types/theme/components/refreshControl.d.ts +0 -0
  254. package/types/theme/components/richTextEditor.d.ts +0 -0
  255. package/types/theme/components/sectionHeading.d.ts +0 -0
  256. package/types/theme/components/select.d.ts +0 -0
  257. package/types/theme/components/skeleton.d.ts +0 -0
  258. package/types/theme/components/slider.d.ts +0 -0
  259. package/types/theme/components/spinner.d.ts +0 -0
  260. package/types/theme/components/success.d.ts +32 -0
  261. package/types/theme/components/swipeable.d.ts +0 -0
  262. package/types/theme/components/switch.d.ts +0 -0
  263. package/types/theme/components/tabs.d.ts +0 -0
  264. package/types/theme/components/tag.d.ts +0 -0
  265. package/types/theme/components/textInput.d.ts +0 -0
  266. package/types/theme/components/timePicker.d.ts +0 -0
  267. package/types/theme/components/toast.d.ts +0 -0
  268. package/types/theme/components/toolbar.d.ts +0 -0
  269. package/types/theme/components/typography.d.ts +0 -0
  270. package/types/theme/getTheme.d.ts +2 -0
  271. package/types/theme/global/borders.d.ts +0 -0
  272. package/types/theme/global/colors/eBens.d.ts +0 -0
  273. package/types/theme/global/colors/global.d.ts +0 -0
  274. package/types/theme/global/colors/globalDark.d.ts +0 -0
  275. package/types/theme/global/colors/jobs.d.ts +0 -0
  276. package/types/theme/global/colors/swag.d.ts +0 -0
  277. package/types/theme/global/colors/swagDark.d.ts +0 -0
  278. package/types/theme/global/colors/types.d.ts +0 -0
  279. package/types/theme/global/colors/wallet.d.ts +0 -0
  280. package/types/theme/global/colors/work.d.ts +0 -0
  281. package/types/theme/global/index.d.ts +0 -0
  282. package/types/theme/global/scale.d.ts +0 -0
  283. package/types/theme/global/sizes.d.ts +0 -0
  284. package/types/theme/global/space.d.ts +0 -0
  285. package/types/theme/global/typography.d.ts +0 -0
  286. package/types/theme/index.d.ts +0 -0
  287. package/types/types.d.ts +0 -0
  288. package/types/utils/functions.d.ts +0 -0
  289. package/types/utils/helpers.d.ts +0 -0
  290. package/types/utils/hooks.d.ts +0 -0
  291. package/types/utils/scale.d.ts +0 -0
  292. package/.turbo/turbo-build:types.log +0 -2
  293. package/.turbo/turbo-lint.log +0 -146
  294. package/.turbo/turbo-test.log +0 -451
  295. package/.turbo/turbo-type-check.log +0 -2
package/lib/index.js CHANGED
@@ -1457,26 +1457,26 @@ var globalPalette = {
1457
1457
  inactiveOutline: palette$7.maasstrichtBlueLight60,
1458
1458
  disabledOutline: palette$7.greyDark20,
1459
1459
  // Accents
1460
- error: palette$7.pastelRed,
1461
- mutedError: palette$7.pastelRedLight20,
1462
- errorSurface: palette$7.linen,
1463
- onErrorSurface: palette$7.vermilion,
1464
- warning: palette$7.mellowApricot,
1465
- mutedWarning: palette$7.mellowApricotLight20,
1466
- warningSurface: palette$7.seashell,
1467
- onWarningSurface: palette$7.deepSaffron,
1468
- success: palette$7.emerald,
1469
- mutedSuccess: palette$7.emeraldLight20,
1470
- successSurface: palette$7.honeydew,
1471
- onSuccessSurface: palette$7.pineGreen,
1472
- info: palette$7.vodka,
1473
- mutedInfo: palette$7.vodkaLight20,
1474
- infoSurface: palette$7.aliceBlue,
1475
- onInfoSurface: palette$7.ultramarineBlue,
1476
- archived: palette$7.silverChalice,
1477
- mutedArchived: palette$7.silverChaliceLight20,
1478
- archivedSurface: palette$7.antiFlashWhite,
1479
- onArchivedSurface: palette$7.sonicSilver
1460
+ error: palette$7.vermilionDark10,
1461
+ mutedError: palette$7.vermilionLight20,
1462
+ errorSurface: palette$7.moussaka,
1463
+ onErrorSurface: palette$7.indianDance,
1464
+ warning: palette$7.theatreGold,
1465
+ mutedWarning: palette$7.theatreGoldLight20,
1466
+ warningSurface: palette$7.uniformGreen,
1467
+ onWarningSurface: palette$7.blazingBonfire,
1468
+ success: palette$7.pineGreenDark10,
1469
+ mutedSuccess: palette$7.pineGreenLight20,
1470
+ successSurface: palette$7.deepIntoTheJungle,
1471
+ onSuccessSurface: palette$7.mintLeaf,
1472
+ info: palette$7.ultramarineBlueDark10,
1473
+ mutedInfo: palette$7.ultramarineBlueLight20,
1474
+ infoSurface: palette$7.blueOblivion,
1475
+ onInfoSurface: palette$7.pastelBlue,
1476
+ archived: palette$7.sonicSilverDark10,
1477
+ mutedArchived: palette$7.sonicSilverLight50,
1478
+ archivedSurface: palette$7.bigStone,
1479
+ onArchivedSurface: palette$7.flagstone
1480
1480
  // End of Updated 21 / Nov / 22
1481
1481
  };
1482
1482
 
@@ -2211,7 +2211,7 @@ var getDrawerTheme = function getDrawerTheme(theme) {
2211
2211
 
2212
2212
  var getEmptyTheme = function getEmptyTheme(theme) {
2213
2213
  var space = {
2214
- titleMargin: theme.space.medium,
2214
+ titleMargin: theme.space.small,
2215
2215
  imageMargin: theme.space.large,
2216
2216
  wrapperPadding: theme.space.medium
2217
2217
  };
@@ -2244,7 +2244,7 @@ var getEmptyTheme = function getEmptyTheme(theme) {
2244
2244
  var getErrorTheme = function getErrorTheme(theme) {
2245
2245
  var space = {
2246
2246
  titleMarginBottom: theme.space.small,
2247
- imageMarginBottom: theme.space.xlarge,
2247
+ imageMarginBottom: theme.space.large,
2248
2248
  wrapperPadding: theme.space.large,
2249
2249
  button: {
2250
2250
  wrapperHorizontalPadding: theme.space.medium,
@@ -2289,7 +2289,8 @@ var getFABTheme = function getFABTheme(theme) {
2289
2289
  actionItemPressedBackground: theme.colors.pressedSurface,
2290
2290
  backdropBackground: theme.colors.overlayGlobalSurface,
2291
2291
  titleText: theme.colors.onPrimary,
2292
- actionItemText: theme.colors.onPrimary
2292
+ actionItemText: theme.colors.onPrimary,
2293
+ shadow: theme.colors.primaryOutline
2293
2294
  };
2294
2295
  var sizes = {
2295
2296
  width: theme.sizes.xxxxxlarge,
@@ -2311,6 +2312,15 @@ var getFABTheme = function getFABTheme(theme) {
2311
2312
  title: theme.lineHeights.large,
2312
2313
  icon: theme.lineHeights.large
2313
2314
  };
2315
+ var shadows = {
2316
+ offset: {
2317
+ width: 0,
2318
+ height: 2
2319
+ },
2320
+ opacity: 0.12,
2321
+ radius: theme.radii.medium,
2322
+ elevation: 2
2323
+ };
2314
2324
  var space = {
2315
2325
  actionItemPaddingLeft: theme.space.medium,
2316
2326
  actionItemPaddingRight: theme.space.medium,
@@ -2337,6 +2347,7 @@ var getFABTheme = function getFABTheme(theme) {
2337
2347
  colors: colors,
2338
2348
  sizes: sizes,
2339
2349
  lineHeights: lineHeights,
2350
+ shadows: shadows,
2340
2351
  space: space
2341
2352
  };
2342
2353
  };
@@ -2712,6 +2723,44 @@ var getSpinnerTheme = function getSpinnerTheme(theme) {
2712
2723
  };
2713
2724
  };
2714
2725
 
2726
+ var getSuccessTheme = function getSuccessTheme(theme) {
2727
+ var space = {
2728
+ titleMarginBottom: theme.space.small,
2729
+ imageMarginBottom: theme.space.xlarge,
2730
+ wrapperPadding: theme.space.large,
2731
+ button: {
2732
+ wrapperHorizontalPadding: theme.space.medium,
2733
+ wrapperVerticalPadding: theme.space.xxxlarge,
2734
+ margin: theme.space.medium,
2735
+ padding: theme.space.medium
2736
+ }
2737
+ };
2738
+ var sizes = {
2739
+ image: theme.sizes['19xlarge']
2740
+ };
2741
+ var colors = {
2742
+ title: theme.colors.onDefaultGlobalSurface,
2743
+ description: theme.colors.mutedOnDefaultGlobalSurface,
2744
+ fullScreenBackground: theme.colors.decorativePrimarySurface,
2745
+ inPageBackground: theme.colors.neutralGlobalSurface
2746
+ };
2747
+ var fontSizes = {
2748
+ title: theme.fontSizes.xxxlarge,
2749
+ description: theme.fontSizes.xlarge
2750
+ };
2751
+ var fonts = {
2752
+ title: theme.fonts.playful.semiBold,
2753
+ description: theme.fonts.playful.regular
2754
+ };
2755
+ return {
2756
+ fontSizes: fontSizes,
2757
+ colors: colors,
2758
+ sizes: sizes,
2759
+ space: space,
2760
+ fonts: fonts
2761
+ };
2762
+ };
2763
+
2715
2764
  var getSwipeableTheme = function getSwipeableTheme(theme) {
2716
2765
  var colors = {
2717
2766
  success: theme.colors.success,
@@ -2806,7 +2855,7 @@ var getTagTheme = function getTagTheme(theme) {
2806
2855
  "default": theme.borderWidths.base
2807
2856
  };
2808
2857
  var colors = {
2809
- primary: theme.colors.primary,
2858
+ primary: theme.colors.onDefaultGlobalSurface,
2810
2859
  primaryBackground: undefined,
2811
2860
  info: theme.colors.onInfoSurface,
2812
2861
  infoBackground: theme.colors.infoSurface,
@@ -3095,6 +3144,7 @@ var getTheme$1 = function getTheme() {
3095
3144
  skeleton: getSkeletonTheme(globalTheme),
3096
3145
  slider: getSliderTheme(globalTheme),
3097
3146
  spinner: getSpinnerTheme(globalTheme),
3147
+ success: getSuccessTheme(globalTheme),
3098
3148
  swipeable: getSwipeableTheme(globalTheme),
3099
3149
  "switch": getSwitchTheme(globalTheme),
3100
3150
  tabs: getTabsTheme(globalTheme),
@@ -6019,7 +6069,7 @@ var useDeprecation = function useDeprecation(message) {
6019
6069
  React.useEffect(function () {
6020
6070
  // eslint-disable-next-line no-console
6021
6071
  if (cond) {
6022
- console.error(message);
6072
+ console.warn(message);
6023
6073
  }
6024
6074
  }, [message, cond]);
6025
6075
  };
@@ -6115,7 +6165,7 @@ var StyledText$3 = index$a(reactNative.Text)(function (_ref) {
6115
6165
  });
6116
6166
  });
6117
6167
 
6118
- var _excluded$s = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6168
+ var _excluded$t = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6119
6169
  var Text = function Text(_ref) {
6120
6170
  var children = _ref.children,
6121
6171
  _ref$fontSize = _ref.fontSize,
@@ -6128,7 +6178,7 @@ var Text = function Text(_ref) {
6128
6178
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6129
6179
  _ref$allowFontScaling = _ref.allowFontScaling,
6130
6180
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6131
- nativeProps = _objectWithoutProperties(_ref, _excluded$s);
6181
+ nativeProps = _objectWithoutProperties(_ref, _excluded$t);
6132
6182
  return /*#__PURE__*/React__default["default"].createElement(StyledText$3, _extends$1({}, nativeProps, {
6133
6183
  themeFontSize: fontSize,
6134
6184
  themeFontWeight: fontWeight,
@@ -6650,10 +6700,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6650
6700
  };
6651
6701
  });
6652
6702
 
6653
- var _excluded$r = ["style"];
6703
+ var _excluded$s = ["style"];
6654
6704
  var AnimatedIcon = function AnimatedIcon(_ref) {
6655
6705
  var style = _ref.style,
6656
- otherProps = _objectWithoutProperties(_ref, _excluded$r);
6706
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
6657
6707
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(0));
6658
6708
  React.useEffect(function () {
6659
6709
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(rotateAnimation.current, {
@@ -6759,7 +6809,7 @@ var AccordionItem = function AccordionItem(_ref) {
6759
6809
  }, content));
6760
6810
  };
6761
6811
 
6762
- var _excluded$q = ["key"];
6812
+ var _excluded$r = ["key"];
6763
6813
  var Accordion = function Accordion(_ref) {
6764
6814
  var items = _ref.items,
6765
6815
  activeItemKey = _ref.activeItemKey,
@@ -6780,7 +6830,7 @@ var Accordion = function Accordion(_ref) {
6780
6830
  testID: testID
6781
6831
  }, items.map(function (_ref2, index) {
6782
6832
  var key = _ref2.key,
6783
- props = _objectWithoutProperties(_ref2, _excluded$q);
6833
+ props = _objectWithoutProperties(_ref2, _excluded$r);
6784
6834
  var open = _activeItemKey === key;
6785
6835
  return /*#__PURE__*/React__default["default"].createElement(React__default["default"].Fragment, {
6786
6836
  key: key
@@ -6875,6 +6925,7 @@ var Alert = function Alert(_ref2) {
6875
6925
  variant = _ref2$variant === void 0 ? 'rounded' : _ref2$variant,
6876
6926
  style = _ref2.style,
6877
6927
  testID = _ref2.testID;
6928
+ useDeprecation("Alert's notification intent is deprecated and will be removed in the next major release. Please use other intents instead.", intent === 'notification');
6878
6929
  return /*#__PURE__*/React__default["default"].createElement(Container$1, {
6879
6930
  themeVariant: variant,
6880
6931
  themeIntent: intent,
@@ -7177,7 +7228,7 @@ var StyledStatus = index$a(reactNative.Animated.View)(function (_ref3) {
7177
7228
  };
7178
7229
  });
7179
7230
 
7180
- var _excluded$p = ["children", "visible", "intent", "style", "testID"];
7231
+ var _excluded$q = ["children", "visible", "intent", "style", "testID"];
7181
7232
  var Status = function Status(_ref) {
7182
7233
  var children = _ref.children,
7183
7234
  _ref$visible = _ref.visible,
@@ -7186,7 +7237,7 @@ var Status = function Status(_ref) {
7186
7237
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7187
7238
  style = _ref.style,
7188
7239
  testID = _ref.testID,
7189
- nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7240
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
7190
7241
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7191
7242
  opacity = _React$useRef.current;
7192
7243
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7219,7 +7270,7 @@ var Status = function Status(_ref) {
7219
7270
  }));
7220
7271
  };
7221
7272
 
7222
- var _excluded$o = ["content", "visible", "max", "intent", "style", "testID"];
7273
+ var _excluded$p = ["content", "visible", "max", "intent", "style", "testID"];
7223
7274
  var DEFAULT_MAX_NUMBER = 99;
7224
7275
  var getPaddingState = function getPaddingState(content) {
7225
7276
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -7234,7 +7285,7 @@ var Badge = function Badge(_ref) {
7234
7285
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7235
7286
  style = _ref.style,
7236
7287
  testID = _ref.testID,
7237
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7288
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7238
7289
  var _React$useRef = React__default["default"].useRef(new reactNative.Animated.Value(visible ? 1 : 0)),
7239
7290
  opacity = _React$useRef.current;
7240
7291
  var isFirstRendering = React__default["default"].useRef(true);
@@ -7338,7 +7389,7 @@ function omit(keys, obj) {
7338
7389
  return result;
7339
7390
  }
7340
7391
 
7341
- var _excluded$n = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7392
+ var _excluded$o = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7342
7393
  var getInactiveIcon = function getInactiveIcon(icon) {
7343
7394
  var inactiveIcon = "".concat(icon, "-outlined");
7344
7395
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -7349,7 +7400,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
7349
7400
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
7350
7401
  selectedTabKey = _ref.selectedTabKey,
7351
7402
  tabs = _ref.tabs,
7352
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7403
+ nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7353
7404
  var insets = reactNativeSafeAreaContext.useSafeAreaInsets();
7354
7405
  /**
7355
7406
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7436,13 +7487,13 @@ var StyledDivider = index$a(reactNative.View)(function (_ref) {
7436
7487
  }, horizontalMargin), verticalMargin);
7437
7488
  });
7438
7489
 
7439
- var _excluded$m = ["marginHorizontal", "marginVertical", "style", "testID"];
7490
+ var _excluded$n = ["marginHorizontal", "marginVertical", "style", "testID"];
7440
7491
  var Divider = function Divider(_ref) {
7441
7492
  var marginHorizontal = _ref.marginHorizontal,
7442
7493
  marginVertical = _ref.marginVertical,
7443
7494
  style = _ref.style,
7444
7495
  testID = _ref.testID,
7445
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
7496
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7446
7497
  return /*#__PURE__*/React__default["default"].createElement(StyledDivider, _extends$1({}, nativeProps, {
7447
7498
  themeMarginHorizontal: marginHorizontal,
7448
7499
  themeMarginVertical: marginVertical,
@@ -7572,7 +7623,7 @@ var StyledLoadingDot = index$a(reactNative.View)(function (_ref2) {
7572
7623
  }, themeStyling());
7573
7624
  });
7574
7625
 
7575
- var _excluded$l = ["count", "size", "testID", "themeVariant"];
7626
+ var _excluded$m = ["count", "size", "testID", "themeVariant"];
7576
7627
  var AnimatedLoadingIndicatorWrapper = reactNative.Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7577
7628
  var AnimatedLoadingDot = reactNative.Animated.createAnimatedComponent(StyledLoadingDot);
7578
7629
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7604,7 +7655,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7604
7655
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7605
7656
  testID = _ref2.testID,
7606
7657
  themeVariant = _ref2.themeVariant,
7607
- nativeProps = _objectWithoutProperties(_ref2, _excluded$l);
7658
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$m);
7608
7659
  var progressAnimation = React.useRef(new reactNative.Animated.Value(0));
7609
7660
  React.useEffect(function () {
7610
7661
  var animation = reactNative.Animated.loop(reactNative.Animated.timing(progressAnimation.current, {
@@ -8031,11 +8082,11 @@ var Header = function Header(_ref) {
8031
8082
  })) : null), showDivider ? /*#__PURE__*/React__default["default"].createElement(Divider, null) : null);
8032
8083
  };
8033
8084
 
8034
- var _excluded$k = ["scrollEventThrottle"];
8085
+ var _excluded$l = ["scrollEventThrottle"];
8035
8086
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
8036
8087
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
8037
8088
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
8038
- props = _objectWithoutProperties(_ref, _excluded$k);
8089
+ props = _objectWithoutProperties(_ref, _excluded$l);
8039
8090
  var _useContext = React.useContext(BottomSheetContext),
8040
8091
  setInternalShowDivider = _useContext.setInternalShowDivider;
8041
8092
  var onScrollBeginDrag = React.useCallback(function (e) {
@@ -8350,7 +8401,7 @@ var borderWidths = {
8350
8401
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8351
8402
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8352
8403
 
8353
- var _excluded$j = ["theme"];
8404
+ var _excluded$k = ["theme"];
8354
8405
  var getThemeValue = function getThemeValue(theme, key, props) {
8355
8406
  var propConfig = config[key];
8356
8407
  var propValue = props[key];
@@ -8377,18 +8428,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8377
8428
  var configKeys = Object.keys(config);
8378
8429
  var StyledBox = index$a(reactNative.View)(function (_ref5) {
8379
8430
  var theme = _ref5.theme,
8380
- otherProps = _objectWithoutProperties(_ref5, _excluded$j);
8431
+ otherProps = _objectWithoutProperties(_ref5, _excluded$k);
8381
8432
  var styleProps = pick(configKeys, otherProps);
8382
8433
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8383
8434
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8384
8435
  });
8385
8436
 
8386
- var _excluded$i = ["children", "style", "testID"];
8437
+ var _excluded$j = ["children", "style", "testID"];
8387
8438
  var Box = function Box(_ref) {
8388
8439
  var children = _ref.children,
8389
8440
  style = _ref.style,
8390
8441
  testID = _ref.testID,
8391
- otherProps = _objectWithoutProperties(_ref, _excluded$i);
8442
+ otherProps = _objectWithoutProperties(_ref, _excluded$j);
8392
8443
  return /*#__PURE__*/React__default["default"].createElement(StyledBox, _extends$1({}, otherProps, {
8393
8444
  style: style,
8394
8445
  testID: testID
@@ -10956,7 +11007,7 @@ var Calendar = function Calendar(_ref) {
10956
11007
  })));
10957
11008
  };
10958
11009
 
10959
- var _excluded$h = ["rounded", "size", "testID", "style"];
11010
+ var _excluded$i = ["rounded", "size", "testID", "style"];
10960
11011
  var Image = function Image(_ref) {
10961
11012
  var _ref$rounded = _ref.rounded,
10962
11013
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10964,7 +11015,7 @@ var Image = function Image(_ref) {
10964
11015
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10965
11016
  testID = _ref.testID,
10966
11017
  style = _ref.style,
10967
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$h);
11018
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$i);
10968
11019
  var theme = useTheme();
10969
11020
  var imageSize = theme.__hd__.image.sizes[size];
10970
11021
  return /*#__PURE__*/React__default["default"].createElement(reactNative.Image, _extends$1({
@@ -11168,12 +11219,12 @@ var Indicator = index$a(reactNative.View)(function (_ref2) {
11168
11219
  };
11169
11220
  });
11170
11221
 
11171
- var _excluded$g = ["intent", "children"];
11222
+ var _excluded$h = ["intent", "children"];
11172
11223
  var DataCard = function DataCard(_ref) {
11173
11224
  var _ref$intent = _ref.intent,
11174
11225
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
11175
11226
  children = _ref.children,
11176
- nativeProps = _objectWithoutProperties(_ref, _excluded$g);
11227
+ nativeProps = _objectWithoutProperties(_ref, _excluded$h);
11177
11228
  return /*#__PURE__*/React__default["default"].createElement(StyledDataCard, nativeProps, /*#__PURE__*/React__default["default"].createElement(Indicator, {
11178
11229
  themeIntent: intent,
11179
11230
  testID: "data-card-indicator"
@@ -11191,11 +11242,11 @@ var StyledCard$1 = index$a(reactNative.View)(function (_ref) {
11191
11242
  });
11192
11243
  });
11193
11244
 
11194
- var _excluded$f = ["intent", "children"];
11245
+ var _excluded$g = ["intent", "children"];
11195
11246
  var Card = function Card(_ref) {
11196
11247
  var intent = _ref.intent,
11197
11248
  children = _ref.children,
11198
- nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11249
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
11199
11250
  return /*#__PURE__*/React__default["default"].createElement(StyledCard$1, _extends$1({}, nativeProps, {
11200
11251
  themeIntent: intent
11201
11252
  }), children);
@@ -11383,7 +11434,7 @@ var CardCarousel = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
11383
11434
  }));
11384
11435
  });
11385
11436
 
11386
- var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11437
+ var _excluded$f = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11387
11438
  function useStateFromProp(initialValue) {
11388
11439
  var _useState = React.useState(initialValue),
11389
11440
  _useState2 = _slicedToArray(_useState, 2),
@@ -11408,7 +11459,7 @@ var Carousel = function Carousel(_ref) {
11408
11459
  shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop : _ref$shouldShowPagina,
11409
11460
  _ref$pageControlPosit = _ref.pageControlPosition,
11410
11461
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'bottom' : _ref$pageControlPosit,
11411
- nativeProps = _objectWithoutProperties(_ref, _excluded$e);
11462
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11412
11463
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
11413
11464
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
11414
11465
  var carouselRef = React.useRef(null);
@@ -11725,7 +11776,7 @@ var StyledErrorAndMaxLengthContainer = index$a(reactNative.View)(function () {
11725
11776
  };
11726
11777
  });
11727
11778
 
11728
- var _excluded$d = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11779
+ var _excluded$e = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11729
11780
  var getVariant$1 = function getVariant(_ref) {
11730
11781
  var disabled = _ref.disabled,
11731
11782
  error = _ref.error,
@@ -11767,13 +11818,15 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11767
11818
  _ref2$loading = _ref2.loading,
11768
11819
  loading = _ref2$loading === void 0 ? false : _ref2$loading,
11769
11820
  maxLength = _ref2.maxLength,
11821
+ _ref2$hideCharacterCo = _ref2.hideCharacterCount,
11822
+ hideCharacterCount = _ref2$hideCharacterCo === void 0 ? false : _ref2$hideCharacterCo,
11770
11823
  helpText = _ref2.helpText,
11771
11824
  value = _ref2.value,
11772
11825
  defaultValue = _ref2.defaultValue,
11773
11826
  renderInputValue = _ref2.renderInputValue,
11774
11827
  _ref2$allowFontScalin = _ref2.allowFontScaling,
11775
11828
  allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
11776
- nativeProps = _objectWithoutProperties(_ref2, _excluded$d);
11829
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$e);
11777
11830
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11778
11831
  var isEmptyValue = displayText.length === 0;
11779
11832
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11789,7 +11842,7 @@ var TextInput = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
11789
11842
  isFocused: isFocused,
11790
11843
  isEmptyValue: isEmptyValue
11791
11844
  });
11792
- var shouldShowMaxLength = maxLength !== undefined;
11845
+ var shouldShowMaxLength = maxLength !== undefined && !hideCharacterCount;
11793
11846
  var theme = useTheme();
11794
11847
  var innerTextInput = React__default["default"].useRef();
11795
11848
  React__default["default"].useImperativeHandle(ref, function () {
@@ -12198,11 +12251,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
12198
12251
  }))));
12199
12252
  };
12200
12253
 
12201
- var _excluded$c = ["variant"];
12254
+ var _excluded$d = ["variant"];
12202
12255
  var DatePicker = function DatePicker(_ref) {
12203
12256
  var _ref$variant = _ref.variant,
12204
12257
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12205
- props = _objectWithoutProperties(_ref, _excluded$c);
12258
+ props = _objectWithoutProperties(_ref, _excluded$d);
12206
12259
  if (variant === 'calendar') {
12207
12260
  return /*#__PURE__*/React__default["default"].createElement(DatePickerCalendar, props);
12208
12261
  }
@@ -12641,9 +12694,9 @@ var StyledErrorDescription = index$a(Typography.Text)(function (_ref9) {
12641
12694
  };
12642
12695
  });
12643
12696
 
12644
- var _excluded$b = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
12697
+ var _excluded$c = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
12645
12698
  _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
12646
- var renderImage = function renderImage(image) {
12699
+ var renderImage$1 = function renderImage(image) {
12647
12700
  if ( /*#__PURE__*/React.isValidElement(image)) {
12648
12701
  return /*#__PURE__*/React__default["default"].cloneElement(image, {
12649
12702
  testID: 'error-image'
@@ -12667,14 +12720,14 @@ var ErrorPage = function ErrorPage(_ref) {
12667
12720
  onCtaPress = _ref.onCtaPress,
12668
12721
  secondaryCtaText = _ref.secondaryCtaText,
12669
12722
  onSecondaryCtaPress = _ref.onSecondaryCtaPress,
12670
- nativeProps = _objectWithoutProperties(_ref, _excluded$b);
12723
+ nativeProps = _objectWithoutProperties(_ref, _excluded$c);
12671
12724
  var showCta = ctaText && onCtaPress !== undefined;
12672
12725
  var showSecondaryCta = secondaryCtaText && onSecondaryCtaPress !== undefined;
12673
12726
  var showButtonContainer = showCta || showSecondaryCta;
12674
12727
  return /*#__PURE__*/React__default["default"].createElement(StyledErrorContainer$1, _extends$1({
12675
12728
  testID: testID,
12676
12729
  themeVariant: variant
12677
- }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledErrorContent, null, image && /*#__PURE__*/React__default["default"].createElement(StyledErrorImageContainer, null, renderImage(image)), /*#__PURE__*/React__default["default"].createElement(StyledErrorTitle, null, title), description && /*#__PURE__*/React__default["default"].createElement(StyledErrorDescription, null, description)), showButtonContainer && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonPrimary, {
12730
+ }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledErrorContent, null, image && /*#__PURE__*/React__default["default"].createElement(StyledErrorImageContainer, null, renderImage$1(image)), /*#__PURE__*/React__default["default"].createElement(StyledErrorTitle, null, title), description && /*#__PURE__*/React__default["default"].createElement(StyledErrorDescription, null, description)), showButtonContainer && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonContainer, null, showCta && /*#__PURE__*/React__default["default"].createElement(StyledErrorButtonPrimary, {
12678
12731
  variant: "filled",
12679
12732
  text: ctaText,
12680
12733
  onPress: onCtaPress
@@ -12775,7 +12828,7 @@ var Error$1 = function Error(_ref2) {
12775
12828
  }, nativeProps));
12776
12829
  };
12777
12830
 
12778
- var StyledFABContainer = index$a(reactNative.TouchableHighlight)(function (_ref) {
12831
+ var StyledFAB$1 = index$a(reactNative.TouchableHighlight)(function (_ref) {
12779
12832
  var theme = _ref.theme;
12780
12833
  return {
12781
12834
  backgroundColor: theme.__hd__.fab.colors.buttonBackground,
@@ -12786,7 +12839,8 @@ var StyledFABContainer = index$a(reactNative.TouchableHighlight)(function (_ref)
12786
12839
  alignSelf: 'flex-start',
12787
12840
  paddingHorizontal: theme.__hd__.fab.space.containerPaddingHorizontal,
12788
12841
  paddingVertical: theme.__hd__.fab.space.containerPaddingVertical,
12789
- flexDirection: 'row'
12842
+ flexDirection: 'row',
12843
+ elevation: theme.__hd__.fab.shadows.elevation
12790
12844
  };
12791
12845
  });
12792
12846
  var StyledFABIcon = index$a(Icon)(function (_ref2) {
@@ -12810,12 +12864,21 @@ var StyledFABText = index$a(Typography.Text)(function (_ref3) {
12810
12864
  marginHorizontal: theme.__hd__.fab.space.titleMarginHorizontal
12811
12865
  };
12812
12866
  });
12867
+ var StyledFABContainer = index$a(Box)(function (_ref4) {
12868
+ var theme = _ref4.theme;
12869
+ return {
12870
+ shadowColor: theme.__hd__.fab.colors.shadow,
12871
+ shadowOffset: theme.__hd__.fab.shadows.offset,
12872
+ shadowRadius: theme.__hd__.fab.shadows.radius,
12873
+ shadowOpacity: theme.__hd__.fab.shadows.opacity
12874
+ };
12875
+ });
12813
12876
 
12814
- var _excluded$a = ["active"];
12877
+ var _excluded$b = ["active"];
12815
12878
  var AnimatedIcons = reactNative.Animated.createAnimatedComponent(StyledFABIcon);
12816
12879
  var AnimatedFABIcon = function AnimatedFABIcon(_ref) {
12817
12880
  var active = _ref.active,
12818
- iconProps = _objectWithoutProperties(_ref, _excluded$a);
12881
+ iconProps = _objectWithoutProperties(_ref, _excluded$b);
12819
12882
  var rotateAnimation = React.useRef(new reactNative.Animated.Value(active ? 1 : 0));
12820
12883
  React.useEffect(function () {
12821
12884
  var animation = reactNative.Animated.timing(rotateAnimation.current, {
@@ -12876,9 +12939,10 @@ var FAB = function FAB(_ref3) {
12876
12939
  var isIconOnly = !title;
12877
12940
  var theme = useTheme();
12878
12941
  return /*#__PURE__*/React__default["default"].createElement(StyledFABContainer, {
12879
- underlayColor: theme.__hd__.fab.colors.buttonPressedBackground,
12880
- testID: testID,
12881
12942
  style: style,
12943
+ testID: testID
12944
+ }, /*#__PURE__*/React__default["default"].createElement(StyledFAB$1, {
12945
+ underlayColor: theme.__hd__.fab.colors.buttonPressedBackground,
12882
12946
  onPress: onPress
12883
12947
  }, isIconOnly ? /*#__PURE__*/React__default["default"].createElement(IconOnlyContent, {
12884
12948
  animated: animated,
@@ -12887,7 +12951,7 @@ var FAB = function FAB(_ref3) {
12887
12951
  }) : /*#__PURE__*/React__default["default"].createElement(IconWithTextContent, {
12888
12952
  icon: icon,
12889
12953
  title: title
12890
- }));
12954
+ })));
12891
12955
  };
12892
12956
 
12893
12957
  var StyledActionItem = index$a(reactNative.TouchableHighlight)(function (_ref) {
@@ -13171,10 +13235,10 @@ var ListItem = function ListItem(_ref) {
13171
13235
  }, prefix && /*#__PURE__*/React__default["default"].createElement(StyledPrefixContainer$1, null, typeof prefix === 'string' ? /*#__PURE__*/React__default["default"].createElement(Icon, {
13172
13236
  icon: prefix,
13173
13237
  intent: disabled ? 'disabled-text' : 'primary'
13174
- }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13238
+ }) : prefix), /*#__PURE__*/React__default["default"].createElement(StyledTitleContainer$1, null, typeof title === 'string' ? /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13175
13239
  intent: "body",
13176
13240
  fontSize: "large"
13177
- }, title), !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13241
+ }, title) : title, !!subtitle && /*#__PURE__*/React__default["default"].createElement(Typography.Text, {
13178
13242
  intent: "subdued",
13179
13243
  fontSize: "small"
13180
13244
  }, subtitle)), suffix && /*#__PURE__*/React__default["default"].createElement(StyledSuffixContainer$1, null, typeof suffix === 'string' ? /*#__PURE__*/React__default["default"].createElement(Icon, {
@@ -13554,7 +13618,7 @@ var StyledStrokeEnd = index$a(reactNative.View)(function (_ref6) {
13554
13618
  };
13555
13619
  });
13556
13620
 
13557
- var _excluded$9 = ["value", "renderValue", "intent", "style", "testID"];
13621
+ var _excluded$a = ["value", "renderValue", "intent", "style", "testID"];
13558
13622
  var HalfCircle = function HalfCircle(_ref) {
13559
13623
  var type = _ref.type,
13560
13624
  themeIntent = _ref.themeIntent;
@@ -13575,7 +13639,7 @@ var ProgressCircle = function ProgressCircle(_ref2) {
13575
13639
  intent = _ref2$intent === void 0 ? 'primary' : _ref2$intent,
13576
13640
  style = _ref2.style,
13577
13641
  testID = _ref2.testID,
13578
- nativeProps = _objectWithoutProperties(_ref2, _excluded$9);
13642
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$a);
13579
13643
  var theme = useTheme$1();
13580
13644
  var radius = theme.__hd__.progress.sizes.circleDiameter / 2;
13581
13645
  var progressAnimatedValue = React.useRef(new reactNative.Animated.Value(0));
@@ -13692,14 +13756,14 @@ var StyledInner = index$a(reactNative.Animated.View)(function (_ref2) {
13692
13756
  };
13693
13757
  });
13694
13758
 
13695
- var _excluded$8 = ["value", "intent", "style", "testID"];
13759
+ var _excluded$9 = ["value", "intent", "style", "testID"];
13696
13760
  var ProgressBar = function ProgressBar(_ref) {
13697
13761
  var value = _ref.value,
13698
13762
  _ref$intent = _ref.intent,
13699
13763
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
13700
13764
  style = _ref.style,
13701
13765
  testID = _ref.testID,
13702
- nativeProps = _objectWithoutProperties(_ref, _excluded$8);
13766
+ nativeProps = _objectWithoutProperties(_ref, _excluded$9);
13703
13767
  var _useState = React.useState(0),
13704
13768
  _useState2 = _slicedToArray(_useState, 2),
13705
13769
  width = _useState2[0],
@@ -13890,14 +13954,14 @@ var AnimatedSpinner = function AnimatedSpinner(_ref) {
13890
13954
  }, dotProps))));
13891
13955
  };
13892
13956
 
13893
- var _excluded$7 = ["testID", "size", "intent"];
13957
+ var _excluded$8 = ["testID", "size", "intent"];
13894
13958
  var Spinner = function Spinner(_ref) {
13895
13959
  var testID = _ref.testID,
13896
13960
  _ref$size = _ref.size,
13897
13961
  size = _ref$size === void 0 ? 'medium' : _ref$size,
13898
13962
  _ref$intent = _ref.intent,
13899
13963
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
13900
- nativeProps = _objectWithoutProperties(_ref, _excluded$7);
13964
+ nativeProps = _objectWithoutProperties(_ref, _excluded$8);
13901
13965
  return /*#__PURE__*/React__default["default"].createElement(StyledView$1, nativeProps, /*#__PURE__*/React__default["default"].createElement(StyledSpinnerContainer, {
13902
13966
  testID: testID
13903
13967
  }, /*#__PURE__*/React__default["default"].createElement(AnimatedSpinner, {
@@ -13930,7 +13994,7 @@ var SwipeableAction = function SwipeableAction(_ref) {
13930
13994
  }, children);
13931
13995
  };
13932
13996
 
13933
- var _excluded$6 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
13997
+ var _excluded$7 = ["children", "state", "onStateChange", "leftActions", "leftActionsWidth", "rightActions", "rightActionsWidth"];
13934
13998
  var renderActions = function renderActions(actions, width, progress, direction) {
13935
13999
  var trans = progress.interpolate({
13936
14000
  inputRange: [0, 1],
@@ -13955,7 +14019,7 @@ var Swipeable = function Swipeable(_ref) {
13955
14019
  leftActionsWidth = _ref.leftActionsWidth,
13956
14020
  rightActions = _ref.rightActions,
13957
14021
  rightActionsWidth = _ref.rightActionsWidth,
13958
- swipeableProps = _objectWithoutProperties(_ref, _excluded$6);
14022
+ swipeableProps = _objectWithoutProperties(_ref, _excluded$7);
13959
14023
  var _useWindowDimensions = reactNative.useWindowDimensions(),
13960
14024
  width = _useWindowDimensions.width;
13961
14025
  var swipeableRef = React.useRef(null);
@@ -14260,7 +14324,7 @@ var StyledSectionList = index$a(reactNative.SectionList)(function (_ref4) {
14260
14324
  };
14261
14325
  });
14262
14326
 
14263
- var _excluded$5 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
14327
+ var _excluded$6 = ["keyExtractor", "loading", "onEndReached", "onQueryChange", "sections", "renderItem", "sectionListRef"];
14264
14328
  var BaseOptionList = function BaseOptionList(_ref) {
14265
14329
  var keyExtractor = _ref.keyExtractor,
14266
14330
  loading = _ref.loading,
@@ -14269,7 +14333,7 @@ var BaseOptionList = function BaseOptionList(_ref) {
14269
14333
  sections = _ref.sections,
14270
14334
  renderItem = _ref.renderItem,
14271
14335
  sectionListRef = _ref.sectionListRef,
14272
- rest = _objectWithoutProperties(_ref, _excluded$5);
14336
+ rest = _objectWithoutProperties(_ref, _excluded$6);
14273
14337
  var theme = useTheme$1();
14274
14338
  var _useState = React.useState(false),
14275
14339
  _useState2 = _slicedToArray(_useState, 2),
@@ -14338,7 +14402,7 @@ var Option$2 = function Option(_ref) {
14338
14402
  return highlighted === true ? /*#__PURE__*/React__default["default"].createElement(List.Item, props) : /*#__PURE__*/React__default["default"].createElement(List.BasicItem, props);
14339
14403
  };
14340
14404
 
14341
- var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14405
+ var _excluded$5 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14342
14406
  var OptionList$1 = function OptionList(_ref) {
14343
14407
  var keyExtractor = _ref.keyExtractor,
14344
14408
  loading = _ref.loading,
@@ -14349,7 +14413,7 @@ var OptionList$1 = function OptionList(_ref) {
14349
14413
  renderOption = _ref.renderOption,
14350
14414
  value = _ref.value,
14351
14415
  sectionListRef = _ref.sectionListRef,
14352
- rest = _objectWithoutProperties(_ref, _excluded$4);
14416
+ rest = _objectWithoutProperties(_ref, _excluded$5);
14353
14417
  var renderItem = function renderItem(info) {
14354
14418
  var item = info.item;
14355
14419
  var selected = value.includes(info.item.value);
@@ -14537,7 +14601,7 @@ var StyledOptionList = index$a(BaseOptionList)(function (_ref) {
14537
14601
  };
14538
14602
  });
14539
14603
 
14540
- var _excluded$3 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14604
+ var _excluded$4 = ["keyExtractor", "loading", "onEndReached", "onPress", "onQueryChange", "sections", "renderOption", "value", "sectionListRef"];
14541
14605
  var OptionList = function OptionList(_ref) {
14542
14606
  var keyExtractor = _ref.keyExtractor,
14543
14607
  loading = _ref.loading,
@@ -14548,7 +14612,7 @@ var OptionList = function OptionList(_ref) {
14548
14612
  renderOption = _ref.renderOption,
14549
14613
  value = _ref.value,
14550
14614
  sectionListRef = _ref.sectionListRef,
14551
- rest = _objectWithoutProperties(_ref, _excluded$3);
14615
+ rest = _objectWithoutProperties(_ref, _excluded$4);
14552
14616
  var renderItem = function renderItem(info) {
14553
14617
  var item = info.item;
14554
14618
  var selected = item.value === value;
@@ -14713,7 +14777,7 @@ var StyledGradientContainer = index$a(Box)(function (_ref2) {
14713
14777
  };
14714
14778
  });
14715
14779
 
14716
- var _excluded$2 = ["intent", "variant", "style", "onLayout"];
14780
+ var _excluded$3 = ["intent", "variant", "style", "onLayout"];
14717
14781
  var AnimatedLinearGradient = reactNative.Animated.createAnimatedComponent(LinearGradient__default["default"]);
14718
14782
  var gradientPositions = {
14719
14783
  start: {
@@ -14745,7 +14809,7 @@ var Skeleton = function Skeleton(_ref) {
14745
14809
  variant = _ref$variant === void 0 ? 'rounded' : _ref$variant,
14746
14810
  style = _ref.style,
14747
14811
  onLayout = _ref.onLayout,
14748
- props = _objectWithoutProperties(_ref, _excluded$2);
14812
+ props = _objectWithoutProperties(_ref, _excluded$3);
14749
14813
  var theme = useTheme();
14750
14814
  var colors = React.useMemo(function () {
14751
14815
  return getGradientColors(theme, intent);
@@ -14809,6 +14873,134 @@ var Skeleton = function Skeleton(_ref) {
14809
14873
  })));
14810
14874
  };
14811
14875
 
14876
+ var StyledSuccessContainer = index$a(reactNative.View)(function (_ref) {
14877
+ var theme = _ref.theme,
14878
+ themeVariant = _ref.themeVariant;
14879
+ return {
14880
+ display: 'flex',
14881
+ flex: 1,
14882
+ flexDirection: 'column',
14883
+ backgroundColor: themeVariant === 'in-page' ? theme.__hd__.success.colors.inPageBackground : theme.__hd__.success.colors.fullScreenBackground
14884
+ };
14885
+ });
14886
+ var StyledSuccessImage = index$a(Image)(function (_ref2) {
14887
+ var theme = _ref2.theme;
14888
+ return {
14889
+ marginBottom: theme.__hd__.success.space.imageMarginBottom,
14890
+ width: theme.__hd__.success.sizes.image,
14891
+ height: theme.__hd__.success.sizes.image,
14892
+ resizeMode: 'contain'
14893
+ };
14894
+ });
14895
+ var StyledSuccessContent = index$a(reactNative.View)(function (_ref3) {
14896
+ var theme = _ref3.theme;
14897
+ return {
14898
+ display: 'flex',
14899
+ flex: 1,
14900
+ flexDirection: 'column',
14901
+ justifyContent: 'center',
14902
+ alignItems: 'center',
14903
+ padding: theme.__hd__.success.space.wrapperPadding
14904
+ };
14905
+ });
14906
+ var StyledSuccessImageContainer = index$a(reactNative.View)(function (_ref4) {
14907
+ var theme = _ref4.theme;
14908
+ return {
14909
+ marginBottom: theme.__hd__.success.space.imageMarginBottom,
14910
+ width: theme.__hd__.success.sizes.image,
14911
+ height: theme.__hd__.success.sizes.image
14912
+ };
14913
+ });
14914
+ var StyledSuccessTitle = index$a(Typography.Text)(function (_ref5) {
14915
+ var theme = _ref5.theme;
14916
+ return {
14917
+ fontFamily: theme.__hd__.success.fonts.title,
14918
+ fontSize: theme.__hd__.success.fontSizes.title,
14919
+ textAlign: 'center',
14920
+ marginBottom: theme.__hd__.success.space.titleMarginBottom,
14921
+ color: theme.__hd__.success.colors.title
14922
+ };
14923
+ });
14924
+ var StyledSuccessDescription = index$a(Typography.Text)(function (_ref6) {
14925
+ var theme = _ref6.theme;
14926
+ return {
14927
+ fontFamily: theme.__hd__.success.fonts.description,
14928
+ fontSize: theme.__hd__.success.fontSizes.description,
14929
+ textAlign: 'center',
14930
+ color: theme.__hd__.success.colors.description
14931
+ };
14932
+ });
14933
+ var StyledSuccessButtonContainer = index$a(reactNative.View)(function (_ref7) {
14934
+ var theme = _ref7.theme;
14935
+ return {
14936
+ display: 'flex',
14937
+ flexDirection: 'column',
14938
+ justifyContent: 'center',
14939
+ alignItems: 'center',
14940
+ paddingHorizontal: theme.__hd__.success.space.button.wrapperHorizontalPadding,
14941
+ paddingVertical: theme.__hd__.success.space.button.wrapperVerticalPadding
14942
+ };
14943
+ });
14944
+ var StyledSuccessButtonPrimary = index$a(CompoundButton)(function (_ref8) {
14945
+ var theme = _ref8.theme;
14946
+ return {
14947
+ padding: theme.__hd__.success.space.button.padding
14948
+ };
14949
+ });
14950
+ var StyledSuccessModal = index$a(reactNative.Modal)({
14951
+ height: '100%',
14952
+ width: '100%'
14953
+ });
14954
+
14955
+ var _excluded$2 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress"];
14956
+ var renderImage = function renderImage(image) {
14957
+ if ( /*#__PURE__*/React.isValidElement(image)) {
14958
+ return /*#__PURE__*/React__default["default"].cloneElement(image, {
14959
+ testID: 'success-image'
14960
+ });
14961
+ }
14962
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessImage, {
14963
+ source: typeof image === 'string' ? {
14964
+ uri: image
14965
+ } : image,
14966
+ testID: "success-image"
14967
+ });
14968
+ };
14969
+ var SuccessPage = function SuccessPage(_ref) {
14970
+ var _ref$variant = _ref.variant,
14971
+ variant = _ref$variant === void 0 ? 'in-page' : _ref$variant,
14972
+ title = _ref.title,
14973
+ description = _ref.description,
14974
+ image = _ref.image,
14975
+ testID = _ref.testID,
14976
+ ctaText = _ref.ctaText,
14977
+ _ref$onCtaPress = _ref.onCtaPress,
14978
+ onCtaPress = _ref$onCtaPress === void 0 ? noop$1 : _ref$onCtaPress,
14979
+ nativeProps = _objectWithoutProperties(_ref, _excluded$2);
14980
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessContainer, _extends$1({
14981
+ testID: testID,
14982
+ themeVariant: variant
14983
+ }, nativeProps), /*#__PURE__*/React__default["default"].createElement(StyledSuccessContent, null, !!image && /*#__PURE__*/React__default["default"].createElement(StyledSuccessImageContainer, null, renderImage(image)), /*#__PURE__*/React__default["default"].createElement(StyledSuccessTitle, null, title), !!description && /*#__PURE__*/React__default["default"].createElement(StyledSuccessDescription, null, description)), !!ctaText && /*#__PURE__*/React__default["default"].createElement(StyledSuccessButtonContainer, null, /*#__PURE__*/React__default["default"].createElement(StyledSuccessButtonPrimary, {
14984
+ text: ctaText,
14985
+ onPress: onCtaPress
14986
+ })));
14987
+ };
14988
+ /**
14989
+ * Renders success page
14990
+ *
14991
+ * @param {SuccessProps} props
14992
+ * @return {*} {ReactElement}
14993
+ */
14994
+ var Success = function Success(props) {
14995
+ var variant = props.variant;
14996
+ if (variant === 'full-screen') {
14997
+ return /*#__PURE__*/React__default["default"].createElement(StyledSuccessModal, {
14998
+ animationType: "slide"
14999
+ }, /*#__PURE__*/React__default["default"].createElement(SuccessPage, props));
15000
+ }
15001
+ return /*#__PURE__*/React__default["default"].createElement(SuccessPage, props);
15002
+ };
15003
+
14812
15004
  var StyledWrapper$1 = index$a(reactNative.View)(function (_ref) {
14813
15005
  var theme = _ref.theme;
14814
15006
  return {
@@ -15439,7 +15631,7 @@ var index$2 = Object.assign(Tabs, {
15439
15631
 
15440
15632
  var getFilledStyles = function getFilledStyles(themeIntent, theme) {
15441
15633
  return {
15442
- textColor: theme.__hd__.tag.colors.text,
15634
+ textColor: theme.__hd__.tag.colors[themeIntent],
15443
15635
  borderColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")],
15444
15636
  backgroundColor: theme.__hd__.tag.colors["".concat(themeIntent, "Background")]
15445
15637
  };
@@ -32488,6 +32680,7 @@ exports.Select = index$4;
32488
32680
  exports.Skeleton = Skeleton;
32489
32681
  exports.Slider = Slider;
32490
32682
  exports.Spinner = Spinner;
32683
+ exports.Success = Success;
32491
32684
  exports.Swipeable = index$5;
32492
32685
  exports.Switch = index$3;
32493
32686
  exports.Tabs = index$2;