@hero-design/rn 8.20.0 → 8.22.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 (288) hide show
  1. package/.turbo/turbo-build.log +2 -2
  2. package/.turbo/turbo-build:types.log +2 -0
  3. package/.turbo/turbo-lint.log +146 -0
  4. package/.turbo/turbo-publish:npm.log +9 -0
  5. package/.turbo/turbo-test.log +451 -0
  6. package/.turbo/turbo-type-check.log +2 -0
  7. package/es/index.js +236 -64
  8. package/lib/index.js +236 -64
  9. package/package.json +5 -5
  10. package/src/components/Button/Button.tsx +1 -1
  11. package/src/components/Button/StyledButton.tsx +0 -3
  12. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +0 -10
  13. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +0 -16
  14. package/src/components/Calendar/index.tsx +7 -2
  15. package/src/components/Carousel/StyledCarousel.tsx +12 -5
  16. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +793 -14
  17. package/src/components/Carousel/__tests__/index.spec.tsx +41 -31
  18. package/src/components/Carousel/index.tsx +39 -7
  19. package/src/components/DatePicker/DatePickerAndroid.tsx +1 -1
  20. package/src/components/DatePicker/DatePickerCalendar.tsx +110 -0
  21. package/src/components/DatePicker/DatePickerIOS.tsx +1 -1
  22. package/src/components/DatePicker/__tests__/DatePicker.spec.tsx +27 -8
  23. package/src/components/DatePicker/__tests__/DatePickerCalendar.spec.tsx +61 -0
  24. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +670 -0
  25. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +220 -0
  26. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +0 -1
  27. package/src/components/DatePicker/index.tsx +5 -1
  28. package/src/components/DatePicker/types.ts +7 -1
  29. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +0 -3
  30. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +0 -1
  31. package/src/components/TimePicker/types.ts +1 -1
  32. package/src/components/Toast/Toast.tsx +3 -1
  33. package/src/components/Toast/types.ts +4 -0
  34. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +2 -3
  35. package/src/theme/components/button.ts +0 -5
  36. package/src/theme/components/carousel.ts +3 -0
  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 +6 -2
  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 +7 -1
  85. package/types/components/Carousel/contants.d.ts +0 -0
  86. package/types/components/Carousel/index.d.ts +7 -1
  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 +1 -1
  95. package/types/components/DatePicker/DatePickerCalendar.d.ts +3 -0
  96. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  97. package/types/components/DatePicker/StyledDatePicker.d.ts +0 -0
  98. package/types/components/DatePicker/index.d.ts +1 -1
  99. package/types/components/DatePicker/types.d.ts +7 -1
  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 +0 -0
  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/Swipeable/StyledSwipeable.d.ts +0 -0
  183. package/types/components/Swipeable/SwipeableAction.d.ts +0 -0
  184. package/types/components/Swipeable/index.d.ts +0 -0
  185. package/types/components/Switch/SelectorSwitch/Option.d.ts +0 -0
  186. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -0
  187. package/types/components/Switch/SelectorSwitch/index.d.ts +0 -0
  188. package/types/components/Switch/StyledSwitch.d.ts +0 -0
  189. package/types/components/Switch/index.d.ts +0 -0
  190. package/types/components/Tabs/ActiveTabIndicator.d.ts +0 -0
  191. package/types/components/Tabs/ScrollableTabs.d.ts +0 -0
  192. package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -0
  193. package/types/components/Tabs/StyledTabs.d.ts +0 -0
  194. package/types/components/Tabs/TabWithBadge.d.ts +0 -0
  195. package/types/components/Tabs/index.d.ts +0 -0
  196. package/types/components/Tabs/utils.d.ts +0 -0
  197. package/types/components/Tag/StyledTag.d.ts +0 -0
  198. package/types/components/Tag/index.d.ts +0 -0
  199. package/types/components/TextInput/StyledTextInput.d.ts +0 -0
  200. package/types/components/TextInput/index.d.ts +0 -0
  201. package/types/components/TimePicker/StyledTimePicker.d.ts +0 -0
  202. package/types/components/TimePicker/TimePickerAndroid.d.ts +0 -0
  203. package/types/components/TimePicker/TimePickerIOS.d.ts +0 -0
  204. package/types/components/TimePicker/index.d.ts +0 -0
  205. package/types/components/TimePicker/types.d.ts +1 -1
  206. package/types/components/Toast/StyledToast.d.ts +0 -0
  207. package/types/components/Toast/Toast.d.ts +1 -1
  208. package/types/components/Toast/ToastContainer.d.ts +0 -0
  209. package/types/components/Toast/ToastContext.d.ts +0 -0
  210. package/types/components/Toast/ToastProvider.d.ts +0 -0
  211. package/types/components/Toast/index.d.ts +0 -0
  212. package/types/components/Toast/types.d.ts +4 -0
  213. package/types/components/Toolbar/StyledToolbar.d.ts +0 -0
  214. package/types/components/Toolbar/ToolbarGroup.d.ts +0 -0
  215. package/types/components/Toolbar/ToolbarItem.d.ts +0 -0
  216. package/types/components/Toolbar/index.d.ts +0 -0
  217. package/types/components/Typography/Text/StyledText.d.ts +0 -0
  218. package/types/components/Typography/Text/index.d.ts +0 -0
  219. package/types/components/Typography/index.d.ts +0 -0
  220. package/types/index.d.ts +0 -0
  221. package/types/testHelpers/renderWithTheme.d.ts +0 -0
  222. package/types/theme/ThemeProvider.d.ts +0 -0
  223. package/types/theme/ThemeSwitcher.d.ts +0 -0
  224. package/types/theme/components/accordion.d.ts +0 -0
  225. package/types/theme/components/alert.d.ts +0 -0
  226. package/types/theme/components/attachment.d.ts +0 -0
  227. package/types/theme/components/avatar.d.ts +0 -0
  228. package/types/theme/components/badge.d.ts +0 -0
  229. package/types/theme/components/bottomNavigation.d.ts +0 -0
  230. package/types/theme/components/bottomSheet.d.ts +0 -0
  231. package/types/theme/components/button.d.ts +0 -3
  232. package/types/theme/components/calendar.d.ts +0 -0
  233. package/types/theme/components/card.d.ts +0 -0
  234. package/types/theme/components/cardCarousel.d.ts +0 -0
  235. package/types/theme/components/carousel.d.ts +2 -0
  236. package/types/theme/components/checkbox.d.ts +0 -0
  237. package/types/theme/components/contentNavigator.d.ts +0 -0
  238. package/types/theme/components/datePicker.d.ts +0 -0
  239. package/types/theme/components/divider.d.ts +0 -0
  240. package/types/theme/components/drawer.d.ts +0 -0
  241. package/types/theme/components/empty.d.ts +0 -0
  242. package/types/theme/components/error.d.ts +0 -0
  243. package/types/theme/components/fab.d.ts +0 -0
  244. package/types/theme/components/icon.d.ts +0 -0
  245. package/types/theme/components/image.d.ts +0 -0
  246. package/types/theme/components/list.d.ts +0 -0
  247. package/types/theme/components/pageControl.d.ts +0 -0
  248. package/types/theme/components/pinInput.d.ts +0 -0
  249. package/types/theme/components/progress.d.ts +0 -0
  250. package/types/theme/components/radio.d.ts +0 -0
  251. package/types/theme/components/refreshControl.d.ts +0 -0
  252. package/types/theme/components/richTextEditor.d.ts +0 -0
  253. package/types/theme/components/sectionHeading.d.ts +0 -0
  254. package/types/theme/components/select.d.ts +0 -0
  255. package/types/theme/components/skeleton.d.ts +0 -0
  256. package/types/theme/components/slider.d.ts +0 -0
  257. package/types/theme/components/spinner.d.ts +0 -0
  258. package/types/theme/components/swipeable.d.ts +0 -0
  259. package/types/theme/components/switch.d.ts +0 -0
  260. package/types/theme/components/tabs.d.ts +0 -0
  261. package/types/theme/components/tag.d.ts +0 -0
  262. package/types/theme/components/textInput.d.ts +0 -0
  263. package/types/theme/components/timePicker.d.ts +0 -0
  264. package/types/theme/components/toast.d.ts +0 -0
  265. package/types/theme/components/toolbar.d.ts +0 -0
  266. package/types/theme/components/typography.d.ts +0 -0
  267. package/types/theme/getTheme.d.ts +0 -0
  268. package/types/theme/global/borders.d.ts +0 -0
  269. package/types/theme/global/colors/eBens.d.ts +0 -0
  270. package/types/theme/global/colors/global.d.ts +0 -0
  271. package/types/theme/global/colors/globalDark.d.ts +0 -0
  272. package/types/theme/global/colors/jobs.d.ts +0 -0
  273. package/types/theme/global/colors/swag.d.ts +0 -0
  274. package/types/theme/global/colors/swagDark.d.ts +0 -0
  275. package/types/theme/global/colors/types.d.ts +0 -0
  276. package/types/theme/global/colors/wallet.d.ts +0 -0
  277. package/types/theme/global/colors/work.d.ts +0 -0
  278. package/types/theme/global/index.d.ts +0 -0
  279. package/types/theme/global/scale.d.ts +0 -0
  280. package/types/theme/global/sizes.d.ts +0 -0
  281. package/types/theme/global/space.d.ts +0 -0
  282. package/types/theme/global/typography.d.ts +0 -0
  283. package/types/theme/index.d.ts +0 -0
  284. package/types/types.d.ts +0 -0
  285. package/types/utils/functions.d.ts +0 -0
  286. package/types/utils/helpers.d.ts +0 -0
  287. package/types/utils/hooks.d.ts +0 -0
  288. package/types/utils/scale.d.ts +0 -0
package/es/index.js CHANGED
@@ -914,13 +914,18 @@ var BASE_COLORS = {
914
914
  aliceBlue: '#ecf0ff',
915
915
  antiFlashWhite: '#f1f2f3',
916
916
  apple: '#e3602a',
917
+ bigStone: '#344348',
917
918
  blue1: '#5a68e2',
918
919
  blue: '#1dbeee',
920
+ blueOblivion: '#23438f',
921
+ blazingBonfire: '#ffa234',
919
922
  cornflowerBlue: '#5d80f0',
920
923
  currant: '#48000a',
921
924
  darkBlue: '#25006e',
922
925
  deepSaffron: '#ffa234',
926
+ deepIntoTheJungle: '#004e48',
923
927
  emerald: '#5ace7d',
928
+ flagstone: '#acacaf',
924
929
  frenchSky: '#8999ff',
925
930
  gold: '#ffd500',
926
931
  green: '#01b39c',
@@ -928,13 +933,17 @@ var BASE_COLORS = {
928
933
  grotesqueGreen: '#6af293',
929
934
  hitPink: '#ffad79',
930
935
  honeydew: '#f0fef4',
936
+ indianDance: '#f89076',
931
937
  jordyBlue: '#92abfc',
932
938
  linen: '#fcebe7',
933
939
  maasstrichtBlue: '#001f23',
934
940
  mauve: '#c38cee',
941
+ moussaka: '#6f2a17',
935
942
  mellowApricot: '#ffbe71',
943
+ mintLeaf: '#01cbb0',
936
944
  nightBlue: '#353957',
937
945
  pastelRed: '#f46363',
946
+ pastelBlue: '#a1b5fc',
938
947
  paua: '#130066',
939
948
  peach: '#f8ac7d',
940
949
  pineGreen: '#017d6d',
@@ -952,6 +961,8 @@ var BASE_COLORS = {
952
961
  violet1: '#8505a2',
953
962
  violet: '#7622d7',
954
963
  vodka: '#b5c3fd',
964
+ theatreGold: '#a56822',
965
+ uniformGreen: '#4d4628',
955
966
  yellow: '#fadb14'
956
967
  };
957
968
  var colorScales = Object.entries(BASE_COLORS).reduce(function (acc, _ref16) {
@@ -1122,13 +1133,19 @@ var palette$8 = {
1122
1133
  var aliceBlue = colorScales.aliceBlue,
1123
1134
  antiFlashWhite = colorScales.antiFlashWhite,
1124
1135
  apple$2 = colorScales.apple,
1136
+ blazingBonfire = colorScales.blazingBonfire,
1137
+ bigStone = colorScales.bigStone,
1138
+ flagstone = colorScales.flagstone,
1125
1139
  deepSaffron$1 = colorScales.deepSaffron,
1140
+ deepIntoTheJungle = colorScales.deepIntoTheJungle,
1126
1141
  emerald$1 = colorScales.emerald,
1127
1142
  grey$3 = colorScales.grey,
1128
1143
  honeydew$2 = colorScales.honeydew,
1144
+ indianDance = colorScales.indianDance,
1129
1145
  linen$2 = colorScales.linen,
1130
1146
  maasstrichtBlue$2 = colorScales.maasstrichtBlue,
1131
1147
  mellowApricot = colorScales.mellowApricot,
1148
+ moussaka = colorScales.moussaka,
1132
1149
  pastelRed$1 = colorScales.pastelRed,
1133
1150
  pineGreen$1 = colorScales.pineGreen,
1134
1151
  seashell$2 = colorScales.seashell,
@@ -1136,7 +1153,12 @@ var aliceBlue = colorScales.aliceBlue,
1136
1153
  sonicSilver$1 = colorScales.sonicSilver,
1137
1154
  ultramarineBlue$1 = colorScales.ultramarineBlue,
1138
1155
  vermilion$1 = colorScales.vermilion,
1139
- vodka = colorScales.vodka;
1156
+ vodka = colorScales.vodka,
1157
+ theatreGold = colorScales.theatreGold,
1158
+ uniformGreen = colorScales.uniformGreen,
1159
+ mintLeaf = colorScales.mintLeaf,
1160
+ blueOblivion = colorScales.blueOblivion,
1161
+ pastelBlue = colorScales.pastelBlue;
1140
1162
  var palette$7 = {
1141
1163
  black: '#000000',
1142
1164
  white: '#ffffff',
@@ -1161,17 +1183,29 @@ var palette$7 = {
1161
1183
  pastelRedLight20: pastelRed$1.lighten20,
1162
1184
  mellowApricot: mellowApricot.base,
1163
1185
  mellowApricotLight20: mellowApricot.lighten20,
1186
+ moussaka: moussaka.base,
1164
1187
  emerald: emerald$1.base,
1165
1188
  emeraldLight20: emerald$1.lighten20,
1166
1189
  emeraldDark20: emerald$1.darken20,
1167
1190
  vodka: vodka.base,
1168
1191
  vodkaLight20: vodka.lighten20,
1169
1192
  vermilion: vermilion$1.base,
1193
+ vermilionLight20: vermilion$1.lighten20,
1194
+ vermilionDark10: vermilion$1.darken10,
1170
1195
  deepSaffron: deepSaffron$1.base,
1171
1196
  deepSaffronDark20: deepSaffron$1.darken20,
1197
+ indianDance: indianDance.base,
1198
+ theatreGold: theatreGold.base,
1199
+ theatreGoldLight20: theatreGold.lighten20,
1172
1200
  pineGreen: pineGreen$1.base,
1201
+ pineGreenLight20: pineGreen$1.lighten20,
1202
+ pineGreenDark10: pineGreen$1.darken10,
1173
1203
  ultramarineBlue: ultramarineBlue$1.base,
1204
+ ultramarineBlueLight20: ultramarineBlue$1.lighten20,
1205
+ ultramarineBlueDark10: ultramarineBlue$1.darken10,
1174
1206
  sonicSilver: sonicSilver$1.base,
1207
+ sonicSilverLight50: sonicSilver$1.lighten45,
1208
+ sonicSilverDark10: sonicSilver$1.darken10,
1175
1209
  linen: linen$2.base,
1176
1210
  seashell: seashell$2.base,
1177
1211
  honeydew: honeydew$2.base,
@@ -1179,7 +1213,15 @@ var palette$7 = {
1179
1213
  antiFlashWhite: antiFlashWhite.base,
1180
1214
  apple: apple$2.base,
1181
1215
  silverChalice: silverChalice.base,
1182
- silverChaliceLight20: silverChalice.lighten20
1216
+ silverChaliceLight20: silverChalice.lighten20,
1217
+ uniformGreen: uniformGreen.base,
1218
+ blazingBonfire: blazingBonfire.base,
1219
+ deepIntoTheJungle: deepIntoTheJungle.base,
1220
+ mintLeaf: mintLeaf.base,
1221
+ blueOblivion: blueOblivion.base,
1222
+ pastelBlue: pastelBlue.base,
1223
+ bigStone: bigStone.base,
1224
+ flagstone: flagstone.base
1183
1225
  };
1184
1226
  var currant$1 = colorScales.currant,
1185
1227
  sonicSilver = colorScales.sonicSilver,
@@ -1868,9 +1910,6 @@ var getButtonTheme = function getButtonTheme(theme) {
1868
1910
  utility: theme.fontSizes.large,
1869
1911
  textVariant: theme.fontSizes.large
1870
1912
  };
1871
- var lineHeight = {
1872
- "default": theme.lineHeights.large
1873
- };
1874
1913
  var borderWidth = {
1875
1914
  "default": theme.space.xxsmall
1876
1915
  };
@@ -1918,7 +1957,6 @@ var getButtonTheme = function getButtonTheme(theme) {
1918
1957
  sizes: sizes,
1919
1958
  radii: radii,
1920
1959
  colors: colors,
1921
- lineHeight: lineHeight,
1922
1960
  space: space
1923
1961
  };
1924
1962
  };
@@ -1985,7 +2023,9 @@ var getCarouselTheme = function getCarouselTheme(theme) {
1985
2023
  headingMarginBottom: theme.space.medium,
1986
2024
  footerPaddingHorizontal: theme.space.large,
1987
2025
  footerPaddingVertical: theme.space.medium,
1988
- footerMarginBottom: theme.space.large
2026
+ footerMarginBottom: theme.space.large,
2027
+ pageControlPaddingVertical: theme.space.small,
2028
+ pageControlWrapperHeight: scale(48)
1989
2029
  };
1990
2030
  var fontSizes = {
1991
2031
  heading: theme.fontSizes['xxxxxlarge']
@@ -6045,7 +6085,7 @@ var StyledText$3 = index$a(Text$1)(function (_ref) {
6045
6085
  });
6046
6086
  });
6047
6087
 
6048
- var _excluded$r = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6088
+ var _excluded$s = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6049
6089
  var Text = function Text(_ref) {
6050
6090
  var children = _ref.children,
6051
6091
  _ref$fontSize = _ref.fontSize,
@@ -6058,7 +6098,7 @@ var Text = function Text(_ref) {
6058
6098
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6059
6099
  _ref$allowFontScaling = _ref.allowFontScaling,
6060
6100
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6061
- nativeProps = _objectWithoutProperties(_ref, _excluded$r);
6101
+ nativeProps = _objectWithoutProperties(_ref, _excluded$s);
6062
6102
  return /*#__PURE__*/React.createElement(StyledText$3, _extends$1({}, nativeProps, {
6063
6103
  themeFontSize: fontSize,
6064
6104
  themeFontWeight: fontWeight,
@@ -6580,10 +6620,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
6580
6620
  };
6581
6621
  });
6582
6622
 
6583
- var _excluded$q = ["style"];
6623
+ var _excluded$r = ["style"];
6584
6624
  var AnimatedIcon = function AnimatedIcon(_ref) {
6585
6625
  var style = _ref.style,
6586
- otherProps = _objectWithoutProperties(_ref, _excluded$q);
6626
+ otherProps = _objectWithoutProperties(_ref, _excluded$r);
6587
6627
  var rotateAnimation = useRef(new Animated.Value(0));
6588
6628
  useEffect(function () {
6589
6629
  var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
@@ -6689,7 +6729,7 @@ var AccordionItem = function AccordionItem(_ref) {
6689
6729
  }, content));
6690
6730
  };
6691
6731
 
6692
- var _excluded$p = ["key"];
6732
+ var _excluded$q = ["key"];
6693
6733
  var Accordion = function Accordion(_ref) {
6694
6734
  var items = _ref.items,
6695
6735
  activeItemKey = _ref.activeItemKey,
@@ -6710,7 +6750,7 @@ var Accordion = function Accordion(_ref) {
6710
6750
  testID: testID
6711
6751
  }, items.map(function (_ref2, index) {
6712
6752
  var key = _ref2.key,
6713
- props = _objectWithoutProperties(_ref2, _excluded$p);
6753
+ props = _objectWithoutProperties(_ref2, _excluded$q);
6714
6754
  var open = _activeItemKey === key;
6715
6755
  return /*#__PURE__*/React.createElement(React.Fragment, {
6716
6756
  key: key
@@ -7107,7 +7147,7 @@ var StyledStatus = index$a(Animated.View)(function (_ref3) {
7107
7147
  };
7108
7148
  });
7109
7149
 
7110
- var _excluded$o = ["children", "visible", "intent", "style", "testID"];
7150
+ var _excluded$p = ["children", "visible", "intent", "style", "testID"];
7111
7151
  var Status = function Status(_ref) {
7112
7152
  var children = _ref.children,
7113
7153
  _ref$visible = _ref.visible,
@@ -7116,7 +7156,7 @@ var Status = function Status(_ref) {
7116
7156
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7117
7157
  style = _ref.style,
7118
7158
  testID = _ref.testID,
7119
- nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7159
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
7120
7160
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
7121
7161
  opacity = _React$useRef.current;
7122
7162
  var isFirstRendering = React.useRef(true);
@@ -7149,7 +7189,7 @@ var Status = function Status(_ref) {
7149
7189
  }));
7150
7190
  };
7151
7191
 
7152
- var _excluded$n = ["content", "visible", "max", "intent", "style", "testID"];
7192
+ var _excluded$o = ["content", "visible", "max", "intent", "style", "testID"];
7153
7193
  var DEFAULT_MAX_NUMBER = 99;
7154
7194
  var getPaddingState = function getPaddingState(content) {
7155
7195
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -7164,7 +7204,7 @@ var Badge = function Badge(_ref) {
7164
7204
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
7165
7205
  style = _ref.style,
7166
7206
  testID = _ref.testID,
7167
- nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7207
+ nativeProps = _objectWithoutProperties(_ref, _excluded$o);
7168
7208
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
7169
7209
  opacity = _React$useRef.current;
7170
7210
  var isFirstRendering = React.useRef(true);
@@ -7268,7 +7308,7 @@ function omit(keys, obj) {
7268
7308
  return result;
7269
7309
  }
7270
7310
 
7271
- var _excluded$m = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7311
+ var _excluded$n = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
7272
7312
  var getInactiveIcon = function getInactiveIcon(icon) {
7273
7313
  var inactiveIcon = "".concat(icon, "-outlined");
7274
7314
  return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
@@ -7279,7 +7319,7 @@ var BottomNavigation = function BottomNavigation(_ref) {
7279
7319
  renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
7280
7320
  selectedTabKey = _ref.selectedTabKey,
7281
7321
  tabs = _ref.tabs,
7282
- nativeProps = _objectWithoutProperties(_ref, _excluded$m);
7322
+ nativeProps = _objectWithoutProperties(_ref, _excluded$n);
7283
7323
  var insets = useSafeAreaInsets();
7284
7324
  /**
7285
7325
  * List of loaded tabs, tabs will be loaded when navigated to.
@@ -7366,13 +7406,13 @@ var StyledDivider = index$a(View)(function (_ref) {
7366
7406
  }, horizontalMargin), verticalMargin);
7367
7407
  });
7368
7408
 
7369
- var _excluded$l = ["marginHorizontal", "marginVertical", "style", "testID"];
7409
+ var _excluded$m = ["marginHorizontal", "marginVertical", "style", "testID"];
7370
7410
  var Divider = function Divider(_ref) {
7371
7411
  var marginHorizontal = _ref.marginHorizontal,
7372
7412
  marginVertical = _ref.marginVertical,
7373
7413
  style = _ref.style,
7374
7414
  testID = _ref.testID,
7375
- nativeProps = _objectWithoutProperties(_ref, _excluded$l);
7415
+ nativeProps = _objectWithoutProperties(_ref, _excluded$m);
7376
7416
  return /*#__PURE__*/React.createElement(StyledDivider, _extends$1({}, nativeProps, {
7377
7417
  themeMarginHorizontal: marginHorizontal,
7378
7418
  themeMarginVertical: marginVertical,
@@ -7502,7 +7542,7 @@ var StyledLoadingDot = index$a(View)(function (_ref2) {
7502
7542
  }, themeStyling());
7503
7543
  });
7504
7544
 
7505
- var _excluded$k = ["count", "size", "testID", "themeVariant"];
7545
+ var _excluded$l = ["count", "size", "testID", "themeVariant"];
7506
7546
  var AnimatedLoadingIndicatorWrapper = Animated.createAnimatedComponent(StyledLoadingIndicatorWrapper);
7507
7547
  var AnimatedLoadingDot = Animated.createAnimatedComponent(StyledLoadingDot);
7508
7548
  var renderDotComponent = function renderDotComponent(_ref) {
@@ -7534,7 +7574,7 @@ var LoadingIndicator = function LoadingIndicator(_ref2) {
7534
7574
  size = _ref2$size === void 0 ? 12 : _ref2$size,
7535
7575
  testID = _ref2.testID,
7536
7576
  themeVariant = _ref2.themeVariant,
7537
- nativeProps = _objectWithoutProperties(_ref2, _excluded$k);
7577
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$l);
7538
7578
  var progressAnimation = useRef(new Animated.Value(0));
7539
7579
  useEffect(function () {
7540
7580
  var animation = Animated.loop(Animated.timing(progressAnimation.current, {
@@ -7619,8 +7659,7 @@ var genOutlineTextStyles = function genOutlineTextStyles(theme, intent, disabled
7619
7659
  };
7620
7660
  };
7621
7661
  return _objectSpread2({
7622
- fontSize: theme.__hd__.button.fontSize["default"],
7623
- lineHeight: theme.__hd__.button.lineHeight["default"]
7662
+ fontSize: theme.__hd__.button.fontSize["default"]
7624
7663
  }, textColorStyling());
7625
7664
  };
7626
7665
  var genTextVariantTextStyles = function genTextVariantTextStyles(theme, intent, disabled) {
@@ -7635,8 +7674,7 @@ var genTextVariantTextStyles = function genTextVariantTextStyles(theme, intent,
7635
7674
  };
7636
7675
  };
7637
7676
  return _objectSpread2({
7638
- fontSize: theme.__hd__.button.fontSize.textVariant,
7639
- lineHeight: theme.__hd__.button.lineHeight["default"]
7677
+ fontSize: theme.__hd__.button.fontSize.textVariant
7640
7678
  }, textColorStyling());
7641
7679
  };
7642
7680
  var StyledButtonContainer = index$a(TouchableHighlight)(function (_ref) {
@@ -7684,7 +7722,6 @@ var StyledButtonText = index$a(Typography.Text)(function (_ref2) {
7684
7722
  case 'filled-danger':
7685
7723
  return {
7686
7724
  fontSize: theme.__hd__.button.fontSize["default"],
7687
- lineHeight: theme.__hd__.button.lineHeight["default"],
7688
7725
  color: theme.__hd__.button.colors.invertedText
7689
7726
  };
7690
7727
  case 'outlined-primary':
@@ -7844,9 +7881,9 @@ var Button = function Button(_ref) {
7844
7881
  testID: "".concat(testID, "-left-icon"),
7845
7882
  themeVariant: themeVariant
7846
7883
  })), /*#__PURE__*/React.createElement(StyledButtonText, {
7847
- disabled: disabled,
7848
7884
  ellipsizeMode: "tail",
7849
7885
  numberOfLines: 1,
7886
+ disabled: disabled,
7850
7887
  themeVariant: themeVariant
7851
7888
  }, text), rightIcon !== undefined && /*#__PURE__*/React.createElement(StyledButtonIconWrapper, {
7852
7889
  themePosition: "right"
@@ -7940,13 +7977,13 @@ CompoundButton.Icon = IconButton;
7940
7977
  CompoundButton.Utility = UtilityButton;
7941
7978
 
7942
7979
  // eslint-disable-next-line @typescript-eslint/no-empty-function
7943
- var noop = function noop() {};
7980
+ var noop$1 = function noop() {};
7944
7981
 
7945
7982
  var Header = function Header(_ref) {
7946
7983
  var content = _ref.content,
7947
7984
  showDivider = _ref.showDivider,
7948
7985
  _ref$onRequestClose = _ref.onRequestClose,
7949
- onRequestClose = _ref$onRequestClose === void 0 ? noop : _ref$onRequestClose,
7986
+ onRequestClose = _ref$onRequestClose === void 0 ? noop$1 : _ref$onRequestClose,
7950
7987
  showCloseButton = _ref.showCloseButton;
7951
7988
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StyledHeaderWrapper, null, typeof content === 'string' ? /*#__PURE__*/React.createElement(StyledHeader, null, /*#__PURE__*/React.createElement(Typography.Text, {
7952
7989
  fontSize: "large",
@@ -7964,11 +8001,11 @@ var Header = function Header(_ref) {
7964
8001
  })) : null), showDivider ? /*#__PURE__*/React.createElement(Divider, null) : null);
7965
8002
  };
7966
8003
 
7967
- var _excluded$j = ["scrollEventThrottle"];
8004
+ var _excluded$k = ["scrollEventThrottle"];
7968
8005
  var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
7969
8006
  var _ref$scrollEventThrot = _ref.scrollEventThrottle,
7970
8007
  scrollEventThrottle = _ref$scrollEventThrot === void 0 ? 100 : _ref$scrollEventThrot,
7971
- props = _objectWithoutProperties(_ref, _excluded$j);
8008
+ props = _objectWithoutProperties(_ref, _excluded$k);
7972
8009
  var _useContext = useContext(BottomSheetContext),
7973
8010
  setInternalShowDivider = _useContext.setInternalShowDivider;
7974
8011
  var onScrollBeginDrag = useCallback(function (e) {
@@ -8283,7 +8320,7 @@ var borderWidths = {
8283
8320
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
8284
8321
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
8285
8322
 
8286
- var _excluded$i = ["theme"];
8323
+ var _excluded$j = ["theme"];
8287
8324
  var getThemeValue = function getThemeValue(theme, key, props) {
8288
8325
  var propConfig = config[key];
8289
8326
  var propValue = props[key];
@@ -8310,18 +8347,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
8310
8347
  var configKeys = Object.keys(config);
8311
8348
  var StyledBox = index$a(View)(function (_ref5) {
8312
8349
  var theme = _ref5.theme,
8313
- otherProps = _objectWithoutProperties(_ref5, _excluded$i);
8350
+ otherProps = _objectWithoutProperties(_ref5, _excluded$j);
8314
8351
  var styleProps = pick(configKeys, otherProps);
8315
8352
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
8316
8353
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
8317
8354
  });
8318
8355
 
8319
- var _excluded$h = ["children", "style", "testID"];
8356
+ var _excluded$i = ["children", "style", "testID"];
8320
8357
  var Box = function Box(_ref) {
8321
8358
  var children = _ref.children,
8322
8359
  style = _ref.style,
8323
8360
  testID = _ref.testID,
8324
- otherProps = _objectWithoutProperties(_ref, _excluded$h);
8361
+ otherProps = _objectWithoutProperties(_ref, _excluded$i);
8325
8362
  return /*#__PURE__*/React.createElement(StyledBox, _extends$1({}, otherProps, {
8326
8363
  style: style,
8327
8364
  testID: testID
@@ -10791,15 +10828,16 @@ var Calendar = function Calendar(_ref) {
10791
10828
  visibleDate = _ref.visibleDate,
10792
10829
  onChange = _ref.onChange,
10793
10830
  _ref$onPreviousPress = _ref.onPreviousPress,
10794
- onPreviousPress = _ref$onPreviousPress === void 0 ? noop : _ref$onPreviousPress,
10831
+ onPreviousPress = _ref$onPreviousPress === void 0 ? noop$1 : _ref$onPreviousPress,
10795
10832
  _ref$onNextPress = _ref.onNextPress,
10796
- onNextPress = _ref$onNextPress === void 0 ? noop : _ref$onNextPress,
10833
+ onNextPress = _ref$onNextPress === void 0 ? noop$1 : _ref$onNextPress,
10797
10834
  _ref$onTitlePress = _ref.onTitlePress,
10798
- onTitlePress = _ref$onTitlePress === void 0 ? noop : _ref$onTitlePress,
10835
+ onTitlePress = _ref$onTitlePress === void 0 ? noop$1 : _ref$onTitlePress,
10799
10836
  minDate = _ref.minDate,
10800
10837
  maxDate = _ref.maxDate,
10801
10838
  _ref$markedDates = _ref.markedDates,
10802
- markedDates = _ref$markedDates === void 0 ? [] : _ref$markedDates;
10839
+ markedDates = _ref$markedDates === void 0 ? [] : _ref$markedDates,
10840
+ testID = _ref.testID;
10803
10841
  var currentMonth = visibleDate.getMonth();
10804
10842
  var currentYear = visibleDate.getFullYear();
10805
10843
  var now = new Date();
@@ -10830,7 +10868,9 @@ var Calendar = function Calendar(_ref) {
10830
10868
  var disableNextButton = maxDate === undefined ? false : !daysOfNextMonth.some(function (date) {
10831
10869
  return date !== undefined;
10832
10870
  }) || maxDate <= lastDateOfMonth;
10833
- return /*#__PURE__*/React.createElement(StyledContainer$5, null, /*#__PURE__*/React.createElement(StyledCalendarHeader, null, /*#__PURE__*/React.createElement(ContentNavigator, {
10871
+ return /*#__PURE__*/React.createElement(StyledContainer$5, {
10872
+ testID: testID
10873
+ }, /*#__PURE__*/React.createElement(StyledCalendarHeader, null, /*#__PURE__*/React.createElement(ContentNavigator, {
10834
10874
  value: formatTime('MMMM yyyy', visibleDate),
10835
10875
  onPreviousPress: onPreviousPress,
10836
10876
  onNextPress: onNextPress,
@@ -10886,7 +10926,7 @@ var Calendar = function Calendar(_ref) {
10886
10926
  })));
10887
10927
  };
10888
10928
 
10889
- var _excluded$g = ["rounded", "size", "testID", "style"];
10929
+ var _excluded$h = ["rounded", "size", "testID", "style"];
10890
10930
  var Image = function Image(_ref) {
10891
10931
  var _ref$rounded = _ref.rounded,
10892
10932
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -10894,7 +10934,7 @@ var Image = function Image(_ref) {
10894
10934
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
10895
10935
  testID = _ref.testID,
10896
10936
  style = _ref.style,
10897
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$g);
10937
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$h);
10898
10938
  var theme = useTheme();
10899
10939
  var imageSize = theme.__hd__.image.sizes[size];
10900
10940
  return /*#__PURE__*/React.createElement(Image$1, _extends$1({
@@ -10990,6 +11030,7 @@ var StyledCarouselHeading = index$a(Typography.Text)(function (_ref2) {
10990
11030
  });
10991
11031
  var StyledCarouselImage = index$a(Image)(function () {
10992
11032
  return {
11033
+ flexGrow: 2,
10993
11034
  flex: 1,
10994
11035
  width: '100%',
10995
11036
  resizeMode: 'contain'
@@ -11010,8 +11051,7 @@ var StyledCustomSizeCarouselImage = index$a(Image)(function (_ref3) {
11010
11051
  var StyledCarouselContentWrapper = index$a(Box)(function (_ref4) {
11011
11052
  var width = _ref4.width;
11012
11053
  return {
11013
- width: width,
11014
- minHeight: scale(250)
11054
+ width: width
11015
11055
  };
11016
11056
  });
11017
11057
  var StyledCarouselFooterWrapper = index$a(View)(function (_ref5) {
@@ -11024,8 +11064,19 @@ var StyledCarouselFooterWrapper = index$a(View)(function (_ref5) {
11024
11064
  marginBottom: theme.__hd__.carousel.space.footerMarginBottom
11025
11065
  };
11026
11066
  });
11027
- var StyledPageControl$1 = index$a(PageControl)({
11028
- marginStart: 'auto'
11067
+ var StyledPageControl$1 = index$a(PageControl)(function (_ref6) {
11068
+ var theme = _ref6.theme;
11069
+ return {
11070
+ paddingVertical: theme.__hd__.carousel.space.pageControlPaddingVertical
11071
+ };
11072
+ });
11073
+ var StyledPageControlWrapper = index$a(View)(function (_ref7) {
11074
+ var theme = _ref7.theme;
11075
+ return {
11076
+ alignItems: 'center',
11077
+ justifyContent: 'center',
11078
+ height: theme.__hd__.carousel.space.pageControlWrapperHeight
11079
+ };
11029
11080
  });
11030
11081
 
11031
11082
  function isCarouselImageProps(image) {
@@ -11087,12 +11138,12 @@ var Indicator = index$a(View)(function (_ref2) {
11087
11138
  };
11088
11139
  });
11089
11140
 
11090
- var _excluded$f = ["intent", "children"];
11141
+ var _excluded$g = ["intent", "children"];
11091
11142
  var DataCard = function DataCard(_ref) {
11092
11143
  var _ref$intent = _ref.intent,
11093
11144
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
11094
11145
  children = _ref.children,
11095
- nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11146
+ nativeProps = _objectWithoutProperties(_ref, _excluded$g);
11096
11147
  return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
11097
11148
  themeIntent: intent,
11098
11149
  testID: "data-card-indicator"
@@ -11110,11 +11161,11 @@ var StyledCard$1 = index$a(View)(function (_ref) {
11110
11161
  });
11111
11162
  });
11112
11163
 
11113
- var _excluded$e = ["intent", "children"];
11164
+ var _excluded$f = ["intent", "children"];
11114
11165
  var Card = function Card(_ref) {
11115
11166
  var intent = _ref.intent,
11116
11167
  children = _ref.children,
11117
- nativeProps = _objectWithoutProperties(_ref, _excluded$e);
11168
+ nativeProps = _objectWithoutProperties(_ref, _excluded$f);
11118
11169
  return /*#__PURE__*/React.createElement(StyledCard$1, _extends$1({}, nativeProps, {
11119
11170
  themeIntent: intent
11120
11171
  }), children);
@@ -11302,7 +11353,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
11302
11353
  }));
11303
11354
  });
11304
11355
 
11305
- var _excluded$d = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination"];
11356
+ var _excluded$e = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "pageControlPosition"];
11306
11357
  function useStateFromProp(initialValue) {
11307
11358
  var _useState = useState(initialValue),
11308
11359
  _useState2 = _slicedToArray(_useState, 2),
@@ -11313,6 +11364,9 @@ function useStateFromProp(initialValue) {
11313
11364
  }, [initialValue]);
11314
11365
  return [value, setValue];
11315
11366
  }
11367
+ var noop = function noop(_) {
11368
+ return true;
11369
+ };
11316
11370
  var Carousel = function Carousel(_ref) {
11317
11371
  var items = _ref.items,
11318
11372
  onItemIndexChange = _ref.onItemIndexChange,
@@ -11321,10 +11375,12 @@ var Carousel = function Carousel(_ref) {
11321
11375
  selectedItemIndex = _ref$selectedItemInde === void 0 ? 0 : _ref$selectedItemInde,
11322
11376
  style = _ref.style,
11323
11377
  _ref$shouldShowPagina = _ref.shouldShowPagination,
11324
- shouldShowPagination = _ref$shouldShowPagina === void 0 ? function () {
11325
- return true;
11326
- } : _ref$shouldShowPagina,
11327
- nativeProps = _objectWithoutProperties(_ref, _excluded$d);
11378
+ shouldShowPagination = _ref$shouldShowPagina === void 0 ? noop : _ref$shouldShowPagina,
11379
+ _ref$pageControlPosit = _ref.pageControlPosition,
11380
+ pageControlPosition = _ref$pageControlPosit === void 0 ? 'bottom' : _ref$pageControlPosit,
11381
+ nativeProps = _objectWithoutProperties(_ref, _excluded$e);
11382
+ useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
11383
+ useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
11328
11384
  var carouselRef = useRef(null);
11329
11385
  var _useStateFromProp = useStateFromProp(selectedItemIndex),
11330
11386
  _useStateFromProp2 = _slicedToArray(_useStateFromProp, 2),
@@ -11366,7 +11422,10 @@ var Carousel = function Carousel(_ref) {
11366
11422
  style: style
11367
11423
  }, nativeProps), /*#__PURE__*/React.createElement(StyledBackDrop, {
11368
11424
  themeSlideBackground: items[currentSlideIndex].background
11369
- }), /*#__PURE__*/React.createElement(StyledCarouselView, null, /*#__PURE__*/React.createElement(FlatList, {
11425
+ }), /*#__PURE__*/React.createElement(StyledPageControlWrapper, null, pageControlPosition === 'top' && shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React.createElement(StyledPageControl$1, {
11426
+ numberOfPages: items.length,
11427
+ currentPage: currentSlideIndex
11428
+ })), /*#__PURE__*/React.createElement(StyledCarouselView, null, /*#__PURE__*/React.createElement(FlatList, {
11370
11429
  horizontal: true,
11371
11430
  showsHorizontalScrollIndicator: false,
11372
11431
  pagingEnabled: true,
@@ -11400,7 +11459,7 @@ var Carousel = function Carousel(_ref) {
11400
11459
  width: width
11401
11460
  });
11402
11461
  }
11403
- }), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React.createElement(StyledPageControl$1, {
11462
+ }), /*#__PURE__*/React.createElement(StyledCarouselFooterWrapper, null, renderActions && renderActions(currentSlideIndex), pageControlPosition === 'bottom' && shouldShowPagination(currentSlideIndex) && /*#__PURE__*/React.createElement(StyledPageControl$1, {
11404
11463
  numberOfPages: items.length,
11405
11464
  currentPage: currentSlideIndex
11406
11465
  }))));
@@ -11636,7 +11695,7 @@ var StyledErrorAndMaxLengthContainer = index$a(View)(function () {
11636
11695
  };
11637
11696
  });
11638
11697
 
11639
- var _excluded$c = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11698
+ var _excluded$d = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling"];
11640
11699
  var getVariant$1 = function getVariant(_ref) {
11641
11700
  var disabled = _ref.disabled,
11642
11701
  error = _ref.error,
@@ -11684,7 +11743,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
11684
11743
  renderInputValue = _ref2.renderInputValue,
11685
11744
  _ref2$allowFontScalin = _ref2.allowFontScaling,
11686
11745
  allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
11687
- nativeProps = _objectWithoutProperties(_ref2, _excluded$c);
11746
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$d);
11688
11747
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
11689
11748
  var isEmptyValue = displayText.length === 0;
11690
11749
  var actualSuffix = loading ? 'loading' : suffix;
@@ -11917,6 +11976,110 @@ var DatePickerAndroid = function DatePickerAndroid(_ref) {
11917
11976
  }) : null);
11918
11977
  };
11919
11978
 
11979
+ var InternalCalendar = function InternalCalendar(_ref) {
11980
+ var minDate = _ref.minDate,
11981
+ maxDate = _ref.maxDate,
11982
+ value = _ref.value,
11983
+ _onChange = _ref.onChange;
11984
+ var _useState = useState(value || new Date()),
11985
+ _useState2 = _slicedToArray(_useState, 2),
11986
+ visibleDate = _useState2[0],
11987
+ setVisibleDate = _useState2[1];
11988
+ var _useState3 = useState(value || new Date()),
11989
+ _useState4 = _slicedToArray(_useState3, 2),
11990
+ selectingDate = _useState4[0],
11991
+ setSelectingDate = _useState4[1];
11992
+ return /*#__PURE__*/React.createElement(Calendar, {
11993
+ testID: "calendar",
11994
+ value: selectingDate,
11995
+ visibleDate: visibleDate,
11996
+ onChange: function onChange(date) {
11997
+ setSelectingDate(date);
11998
+ if (_onChange) {
11999
+ _onChange(date);
12000
+ }
12001
+ },
12002
+ onPreviousPress: function onPreviousPress() {
12003
+ return setVisibleDate(new Date(visibleDate.getFullYear(), visibleDate.getMonth() - 1, 1));
12004
+ },
12005
+ onNextPress: function onNextPress() {
12006
+ return setVisibleDate(new Date(visibleDate.getFullYear(), visibleDate.getMonth() + 1, 1));
12007
+ },
12008
+ minDate: minDate,
12009
+ maxDate: maxDate
12010
+ });
12011
+ };
12012
+ var DatePickerCalendar = function DatePickerCalendar(_ref2) {
12013
+ var value = _ref2.value,
12014
+ _ref2$minDate = _ref2.minDate,
12015
+ minDate = _ref2$minDate === void 0 ? new Date('1900-01-01T00:00:00.000Z') : _ref2$minDate,
12016
+ _ref2$maxDate = _ref2.maxDate,
12017
+ maxDate = _ref2$maxDate === void 0 ? new Date('2100-01-01T00:00:00.000Z') : _ref2$maxDate,
12018
+ label = _ref2.label,
12019
+ placeholder = _ref2.placeholder,
12020
+ onChange = _ref2.onChange,
12021
+ confirmLabel = _ref2.confirmLabel,
12022
+ _ref2$displayFormat = _ref2.displayFormat,
12023
+ displayFormat = _ref2$displayFormat === void 0 ? 'dd/MM/yyyy' : _ref2$displayFormat,
12024
+ _ref2$disabled = _ref2.disabled,
12025
+ disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
12026
+ required = _ref2.required,
12027
+ error = _ref2.error,
12028
+ helpText = _ref2.helpText,
12029
+ style = _ref2.style,
12030
+ testID = _ref2.testID;
12031
+ var _useState5 = useState(false),
12032
+ _useState6 = _slicedToArray(_useState5, 2),
12033
+ open = _useState6[0],
12034
+ setOpen = _useState6[1];
12035
+ var _useState7 = useState(value || new Date()),
12036
+ _useState8 = _slicedToArray(_useState7, 2),
12037
+ selectingDate = _useState8[0],
12038
+ setSelectingDate = _useState8[1];
12039
+ var displayValue = value ? formatTime(displayFormat, value) : '';
12040
+ return /*#__PURE__*/React.createElement(TouchableOpacity, {
12041
+ onPress: function onPress() {
12042
+ return setOpen(true);
12043
+ },
12044
+ disabled: disabled
12045
+ }, /*#__PURE__*/React.createElement(View, {
12046
+ pointerEvents: "none",
12047
+ testID: "datePickerCalendar"
12048
+ }, /*#__PURE__*/React.createElement(TextInput, {
12049
+ label: label,
12050
+ value: displayValue,
12051
+ suffix: "calendar-dates-outlined",
12052
+ placeholder: placeholder || displayFormat,
12053
+ disabled: disabled,
12054
+ error: error,
12055
+ required: required,
12056
+ helpText: helpText,
12057
+ testID: testID,
12058
+ style: style
12059
+ })), /*#__PURE__*/React.createElement(BottomSheet$1, {
12060
+ open: open,
12061
+ onRequestClose: function onRequestClose() {
12062
+ return setOpen(false);
12063
+ },
12064
+ header: label,
12065
+ footer: /*#__PURE__*/React.createElement(CompoundButton, {
12066
+ variant: "text",
12067
+ text: confirmLabel,
12068
+ onPress: function onPress() {
12069
+ if (selectingDate) {
12070
+ onChange(selectingDate);
12071
+ }
12072
+ setOpen(false);
12073
+ }
12074
+ })
12075
+ }, /*#__PURE__*/React.createElement(InternalCalendar, {
12076
+ minDate: minDate,
12077
+ maxDate: maxDate,
12078
+ value: value,
12079
+ onChange: setSelectingDate
12080
+ })));
12081
+ };
12082
+
11920
12083
  var StyledPickerWrapper$1 = index$a(View)(function (_ref) {
11921
12084
  var theme = _ref.theme;
11922
12085
  return {
@@ -12005,7 +12168,14 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
12005
12168
  }))));
12006
12169
  };
12007
12170
 
12008
- var DatePicker = function DatePicker(props) {
12171
+ var _excluded$c = ["variant"];
12172
+ var DatePicker = function DatePicker(_ref) {
12173
+ var _ref$variant = _ref.variant,
12174
+ variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12175
+ props = _objectWithoutProperties(_ref, _excluded$c);
12176
+ if (variant === 'calendar') {
12177
+ return /*#__PURE__*/React.createElement(DatePickerCalendar, props);
12178
+ }
12009
12179
  if (Platform.OS === 'ios') {
12010
12180
  return /*#__PURE__*/React.createElement(DatePickerIOS, props);
12011
12181
  }
@@ -15566,7 +15736,9 @@ var Toast$1 = function Toast(_ref2) {
15566
15736
  autoDismiss = _ref2$autoDismiss === void 0 ? true : _ref2$autoDismiss,
15567
15737
  onAction = _ref2.onAction,
15568
15738
  actionLabel = _ref2.actionLabel,
15569
- onDismiss = _ref2.onDismiss;
15739
+ onDismiss = _ref2.onDismiss,
15740
+ _ref2$distance = _ref2.distance,
15741
+ distance = _ref2$distance === void 0 ? 0 : _ref2$distance;
15570
15742
  var animatedValue = useRef(new Animated.Value(0)).current;
15571
15743
  var toastConfig = useToastConfig();
15572
15744
  useEffect(function () {
@@ -15594,7 +15766,7 @@ var Toast$1 = function Toast(_ref2) {
15594
15766
  });
15595
15767
  var interpolateY = animatedValue.interpolate({
15596
15768
  inputRange: [0, 1],
15597
- outputRange: [toastConfig.position === 'top' ? -20 : 20, 0]
15769
+ outputRange: toastConfig.position === 'top' ? [-20, distance] : [20, -distance]
15598
15770
  });
15599
15771
  return /*#__PURE__*/React.createElement(Container, {
15600
15772
  themeVariant: variant,