@hero-design/rn 8.52.2-rc2.0 → 8.53.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 (184) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +4 -16
  3. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  4. package/es/index.js +997 -700
  5. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  6. package/lib/index.js +996 -698
  7. package/package.json +7 -7
  8. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -0
  9. package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +2 -0
  10. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  11. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
  12. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  13. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +2 -0
  14. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  15. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -0
  16. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  17. package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +6 -0
  18. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +2 -0
  19. package/src/components/BottomNavigation/StyledBottomNavigation.tsx +60 -0
  20. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +413 -0
  21. package/src/components/BottomNavigation/__tests__/index.spec.tsx +97 -0
  22. package/src/components/BottomNavigation/index.tsx +166 -0
  23. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +21 -32
  24. package/src/components/BottomSheet/index.tsx +1 -1
  25. package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +21 -0
  26. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +10 -0
  27. package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +10 -0
  28. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  29. package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +16 -0
  30. package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +1 -0
  31. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +32 -0
  32. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  33. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +7 -0
  34. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  35. package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -0
  36. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  37. package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +2 -0
  38. package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +4 -0
  39. package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +1 -0
  40. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +803 -1
  41. package/src/components/Carousel/__tests__/index.spec.tsx +47 -37
  42. package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +8 -0
  43. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  44. package/src/components/Checkbox/index.tsx +13 -1
  45. package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  46. package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +2 -0
  47. package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  48. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
  49. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  50. package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +15 -0
  51. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  52. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +1 -0
  53. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +329 -309
  54. package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +12 -0
  55. package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  56. package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  57. package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  58. package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  59. package/src/components/Error/index.tsx +20 -3
  60. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  61. package/src/components/FAB/ActionGroup/index.tsx +14 -1
  62. package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +2 -0
  63. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +3 -0
  64. package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  65. package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  66. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  67. package/src/components/Icon/IconList.ts +7 -0
  68. package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  69. package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  70. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +2 -0
  71. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +4 -0
  72. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  73. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +9 -0
  74. package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  75. package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  76. package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +5 -0
  77. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  78. package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  79. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +5 -0
  80. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
  81. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +1 -0
  82. package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  83. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  84. package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +1 -0
  85. package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +1 -0
  86. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +2 -0
  87. package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +4 -0
  88. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +6 -0
  89. package/src/components/SectionHeading/__tests__/index.spec.tsx +1 -0
  90. package/src/components/SectionHeading/index.tsx +57 -32
  91. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  92. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
  93. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +42 -128
  94. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  95. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +4 -0
  96. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +35 -96
  97. package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +7 -0
  98. package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  99. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +1 -0
  100. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +24 -0
  101. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  102. package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  103. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  104. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  105. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +4 -0
  106. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  107. package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +5 -0
  108. package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  109. package/src/components/Tabs/__tests__/SceneView.spec.tsx +1 -1
  110. package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +4 -0
  111. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +3 -0
  112. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +1 -0
  113. package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +2 -0
  114. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +3 -0
  115. package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +10 -0
  116. package/src/components/Tag/index.tsx +12 -0
  117. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +21 -0
  118. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +17 -0
  119. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
  120. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +330 -309
  121. package/src/components/Toast/StyledToast.tsx +9 -7
  122. package/src/components/Toast/Toast.tsx +4 -1
  123. package/src/components/Toast/ToastContainer.tsx +6 -2
  124. package/src/components/Toast/ToastContext.ts +5 -2
  125. package/src/components/Toast/ToastProvider.tsx +19 -2
  126. package/src/components/Toast/__tests__/ToastContainer.spec.tsx +15 -12
  127. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +7 -0
  128. package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +14 -6
  129. package/src/components/Toast/types.ts +5 -1
  130. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +3 -0
  131. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +8 -0
  132. package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +16 -0
  133. package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +19 -0
  134. package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +10 -0
  135. package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +13 -0
  136. package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +8 -0
  137. package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
  138. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +20 -0
  139. package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +20 -0
  140. package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +23 -0
  141. package/src/index.ts +2 -0
  142. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +102 -0
  143. package/src/theme/components/badge.ts +28 -1
  144. package/src/theme/components/bottomNavigation.ts +27 -0
  145. package/src/theme/components/button.ts +24 -0
  146. package/src/theme/components/carousel.ts +28 -1
  147. package/src/theme/components/empty.ts +23 -1
  148. package/src/theme/components/error.ts +32 -1
  149. package/src/theme/components/fab.ts +13 -2
  150. package/src/theme/components/pinInput.ts +32 -0
  151. package/src/theme/components/success.ts +23 -1
  152. package/src/theme/components/tag.ts +28 -1
  153. package/src/theme/components/textInput.ts +5 -0
  154. package/src/theme/getTheme.ts +21 -18
  155. package/src/types.ts +2 -0
  156. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +52 -0
  157. package/types/components/BottomNavigation/index.d.ts +45 -0
  158. package/types/components/Checkbox/index.d.ts +6 -1
  159. package/types/components/Error/index.d.ts +9 -3
  160. package/types/components/FAB/ActionGroup/index.d.ts +5 -0
  161. package/types/components/Icon/IconList.d.ts +1 -1
  162. package/types/components/Icon/index.d.ts +1 -1
  163. package/types/components/Icon/utils.d.ts +1 -1
  164. package/types/components/SectionHeading/index.d.ts +11 -1
  165. package/types/components/Tag/index.d.ts +6 -1
  166. package/types/components/Toast/StyledToast.d.ts +2 -0
  167. package/types/components/Toast/ToastContext.d.ts +2 -2
  168. package/types/components/Toast/ToastProvider.d.ts +1 -1
  169. package/types/components/Toast/index.d.ts +1 -1
  170. package/types/components/Toast/types.d.ts +5 -1
  171. package/types/index.d.ts +2 -1
  172. package/types/theme/components/badge.d.ts +24 -0
  173. package/types/theme/components/bottomNavigation.d.ts +23 -0
  174. package/types/theme/components/button.d.ts +20 -0
  175. package/types/theme/components/carousel.d.ts +24 -0
  176. package/types/theme/components/empty.d.ts +19 -0
  177. package/types/theme/components/error.d.ts +27 -0
  178. package/types/theme/components/fab.d.ts +19 -8
  179. package/types/theme/components/pinInput.d.ts +27 -0
  180. package/types/theme/components/success.d.ts +19 -0
  181. package/types/theme/components/tag.d.ts +24 -0
  182. package/types/theme/components/textInput.d.ts +5 -0
  183. package/types/theme/getTheme.d.ts +20 -18
  184. package/types/types.d.ts +2 -1
package/es/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import * as reactNative from 'react-native';
2
- import { Platform, Dimensions, StyleSheet as StyleSheet$1, Animated, View, UIManager, LayoutAnimation, TouchableOpacity, Text as Text$1, Easing, Image as Image$1, Pressable, SafeAreaView, KeyboardAvoidingView, TouchableHighlight, ScrollView, BackHandler, FlatList, useWindowDimensions, TextInput as TextInput$1, PanResponder, Modal as Modal$1, InteractionManager, Keyboard, SectionList, TouchableWithoutFeedback, RefreshControl as RefreshControl$1 } from 'react-native';
2
+ import { Platform, Dimensions, StyleSheet as StyleSheet$1, Animated, View, UIManager, LayoutAnimation, TouchableOpacity, Text as Text$1, Easing, Image as Image$1, TouchableWithoutFeedback, Pressable, SafeAreaView, KeyboardAvoidingView, TouchableHighlight, ScrollView, Modal as Modal$1, FlatList, useWindowDimensions, TextInput as TextInput$1, PanResponder, BackHandler, InteractionManager, Keyboard, SectionList, RefreshControl as RefreshControl$1 } from 'react-native';
3
3
  import React, { useContext, createContext, createElement, useMemo, forwardRef, useEffect, useCallback, useRef, useState, memo, useReducer, useLayoutEffect, useImperativeHandle, isValidElement } from 'react';
4
4
  import { createIconSet } from 'react-native-vector-icons';
5
+ import { useSafeAreaInsets } from 'react-native-safe-area-context';
5
6
  import { MonthYearPickerViewIOS, MonthYearPickerDialogueAndroid } from '@hero-design/react-native-month-year-picker';
6
7
  import DateTimePicker from '@react-native-community/datetimepicker';
7
8
  import RnSlider from '@react-native-community/slider';
8
9
  import { RectButton, GestureHandlerRootView, Swipeable as Swipeable$1 } from 'react-native-gesture-handler';
9
10
  import LinearGradient from 'react-native-linear-gradient';
10
- import { useSafeAreaInsets } from 'react-native-safe-area-context';
11
11
  import PagerView from 'react-native-pager-view';
12
12
  import { EventEmitter } from 'events';
13
13
  import { WebView } from 'react-native-webview';
@@ -2170,6 +2170,15 @@ var getBadgeTheme = function getBadgeTheme(theme) {
2170
2170
  archived: theme.colors.onArchivedSurface,
2171
2171
  text: theme.colors.onDarkGlobalSurface
2172
2172
  };
2173
+ var fonts = {
2174
+ "default": theme.fonts.neutral.semiBold
2175
+ };
2176
+ var fontSizes = {
2177
+ "default": theme.fontSizes.small
2178
+ };
2179
+ var lineHeights = {
2180
+ "default": theme.lineHeights.small
2181
+ };
2173
2182
  var sizes = {
2174
2183
  height: theme.fontSizes.small + theme.sizes.small,
2175
2184
  minWidth: theme.fontSizes.small + theme.sizes.small,
@@ -2183,6 +2192,37 @@ var getBadgeTheme = function getBadgeTheme(theme) {
2183
2192
  };
2184
2193
  return {
2185
2194
  colors: colors,
2195
+ fonts: fonts,
2196
+ fontSizes: fontSizes,
2197
+ sizes: sizes,
2198
+ space: space,
2199
+ lineHeights: lineHeights
2200
+ };
2201
+ };
2202
+
2203
+ var getBottomNavigationTheme = function getBottomNavigationTheme(theme) {
2204
+ var colors = {
2205
+ shadow: theme.colors.primary,
2206
+ background: theme.colors.defaultGlobalSurface
2207
+ };
2208
+ var sizes = {
2209
+ height: theme.sizes['6xlarge']
2210
+ };
2211
+ var shadows = {
2212
+ offset: {
2213
+ width: 0,
2214
+ height: 3
2215
+ },
2216
+ opacity: 0.27,
2217
+ radius: 4.65,
2218
+ elevation: 10
2219
+ };
2220
+ var space = {
2221
+ titleMarginTop: theme.space.xsmall
2222
+ };
2223
+ return {
2224
+ colors: colors,
2225
+ shadows: shadows,
2186
2226
  sizes: sizes,
2187
2227
  space: space
2188
2228
  };
@@ -2226,6 +2266,15 @@ var getBottomSheetTheme = function getBottomSheetTheme(theme) {
2226
2266
  };
2227
2267
 
2228
2268
  var getButtonTheme = function getButtonTheme(theme) {
2269
+ var fonts = {
2270
+ "default": theme.fonts.neutral.semiBold,
2271
+ utility: theme.fonts.neutral.regular
2272
+ };
2273
+ var fontSize = {
2274
+ "default": theme.fontSizes.xlarge,
2275
+ utility: theme.fontSizes.large,
2276
+ textVariant: theme.fontSizes.large
2277
+ };
2229
2278
  var borderWidth = {
2230
2279
  "default": theme.space.xxsmall
2231
2280
  };
@@ -2272,6 +2321,8 @@ var getButtonTheme = function getButtonTheme(theme) {
2272
2321
  return {
2273
2322
  lineHeights: lineHeights,
2274
2323
  borderWidth: borderWidth,
2324
+ fonts: fonts,
2325
+ fontSize: fontSize,
2275
2326
  sizes: sizes,
2276
2327
  radii: radii,
2277
2328
  colors: colors,
@@ -2347,8 +2398,20 @@ var getCarouselTheme = function getCarouselTheme(theme) {
2347
2398
  pageControlPaddingVertical: theme.space.small,
2348
2399
  pageControlWrapperHeight: scale(48)
2349
2400
  };
2401
+ var fontSizes = {
2402
+ heading: theme.fontSizes['xxxxxlarge']
2403
+ };
2404
+ var fonts = {
2405
+ heading: theme.fonts.playful.semiBold
2406
+ };
2407
+ var lineHeights = {
2408
+ heading: theme.lineHeights['6xlarge']
2409
+ };
2350
2410
  return {
2351
- space: space
2411
+ space: space,
2412
+ fonts: fonts,
2413
+ fontSizes: fontSizes,
2414
+ lineHeights: lineHeights
2352
2415
  };
2353
2416
  };
2354
2417
 
@@ -2532,10 +2595,20 @@ var getEmptyTheme = function getEmptyTheme(theme) {
2532
2595
  subduedText: theme.colors.mutedOnDefaultGlobalSurface,
2533
2596
  invertedSubduedText: theme.colors.onDarkGlobalSurface
2534
2597
  };
2598
+ var fontSizes = {
2599
+ title: theme.fontSizes.xxxlarge,
2600
+ description: theme.fontSizes.xlarge
2601
+ };
2602
+ var fonts = {
2603
+ title: theme.fonts.playful.semiBold,
2604
+ description: theme.fonts.playful.regular
2605
+ };
2535
2606
  return {
2607
+ fontSizes: fontSizes,
2536
2608
  colors: colors,
2537
2609
  sizes: sizes,
2538
- space: space
2610
+ space: space,
2611
+ fonts: fonts
2539
2612
  };
2540
2613
  };
2541
2614
 
@@ -2560,10 +2633,25 @@ var getErrorTheme = function getErrorTheme(theme) {
2560
2633
  fullScreenBackground: theme.colors.decorativePrimarySurface,
2561
2634
  inPageBackground: theme.colors.neutralGlobalSurface
2562
2635
  };
2636
+ var fontSizes = {
2637
+ title: theme.fontSizes.xxxlarge,
2638
+ description: theme.fontSizes.xlarge
2639
+ };
2640
+ var fonts = {
2641
+ title: theme.fonts.playful.semiBold,
2642
+ description: theme.fonts.playful.regular
2643
+ };
2644
+ var lineHeight = {
2645
+ title: theme.lineHeights.xxxlarge,
2646
+ description: theme.lineHeights.xlarge
2647
+ };
2563
2648
  return {
2649
+ fontSizes: fontSizes,
2564
2650
  colors: colors,
2565
2651
  sizes: sizes,
2566
- space: space
2652
+ space: space,
2653
+ fonts: fonts,
2654
+ lineHeight: lineHeight
2567
2655
  };
2568
2656
  };
2569
2657
 
@@ -2620,10 +2708,10 @@ var getFABTheme = function getFABTheme(theme) {
2620
2708
  };
2621
2709
  return {
2622
2710
  radii: radii,
2623
- colors: colors,
2624
- sizes: sizes,
2625
2711
  fonts: fonts,
2626
2712
  fontSizes: fontSizes,
2713
+ colors: colors,
2714
+ sizes: sizes,
2627
2715
  lineHeights: lineHeights,
2628
2716
  shadows: shadows,
2629
2717
  space: space
@@ -2748,6 +2836,18 @@ var getPinInputTheme = function getPinInputTheme(theme) {
2748
2836
  error: theme.colors.onErrorSurface,
2749
2837
  disabled: theme.colors.disabledOnDefaultGlobalSurface
2750
2838
  };
2839
+ var fonts = {
2840
+ cellText: theme.fonts.neutral.semiBold,
2841
+ errorMessage: theme.fonts.neutral.regular
2842
+ };
2843
+ var fontSizes = {
2844
+ cellText: theme.fontSizes.xxxxlarge,
2845
+ errorMessage: theme.fontSizes.small
2846
+ };
2847
+ var lineHeights = {
2848
+ cellText: theme.lineHeights.xxxxlarge,
2849
+ errorMessage: theme.fontSizes.small
2850
+ };
2751
2851
  var sizes = {
2752
2852
  cellWidth: theme.sizes.xxlarge,
2753
2853
  cellHeight: theme.sizes.xxxlarge,
@@ -2763,7 +2863,10 @@ var getPinInputTheme = function getPinInputTheme(theme) {
2763
2863
  };
2764
2864
  return {
2765
2865
  borderWidths: borderWidths,
2866
+ lineHeights: lineHeights,
2766
2867
  colors: colors,
2868
+ fonts: fonts,
2869
+ fontSizes: fontSizes,
2767
2870
  sizes: sizes,
2768
2871
  space: space,
2769
2872
  radii: radii
@@ -3022,10 +3125,20 @@ var getSuccessTheme = function getSuccessTheme(theme) {
3022
3125
  fullScreenBackground: theme.colors.decorativePrimarySurface,
3023
3126
  inPageBackground: theme.colors.neutralGlobalSurface
3024
3127
  };
3128
+ var fontSizes = {
3129
+ title: theme.fontSizes.xxxlarge,
3130
+ description: theme.fontSizes.xlarge
3131
+ };
3132
+ var fonts = {
3133
+ title: theme.fonts.playful.semiBold,
3134
+ description: theme.fonts.playful.regular
3135
+ };
3025
3136
  return {
3137
+ fontSizes: fontSizes,
3026
3138
  colors: colors,
3027
3139
  sizes: sizes,
3028
- space: space
3140
+ space: space,
3141
+ fonts: fonts
3029
3142
  };
3030
3143
  };
3031
3144
 
@@ -3146,6 +3259,15 @@ var getTagTheme = function getTagTheme(theme) {
3146
3259
  archivedBackground: theme.colors.archivedSurface,
3147
3260
  text: theme.colors.onDefaultGlobalSurface
3148
3261
  };
3262
+ var fonts = {
3263
+ "default": theme.fonts.neutral.semiBold
3264
+ };
3265
+ var fontSizes = {
3266
+ "default": theme.fontSizes.small
3267
+ };
3268
+ var lineHeights = {
3269
+ "default": theme.lineHeights.small
3270
+ };
3149
3271
  var space = {
3150
3272
  horizontalPadding: theme.space.small,
3151
3273
  verticalPadding: theme.space.xsmall
@@ -3156,8 +3278,11 @@ var getTagTheme = function getTagTheme(theme) {
3156
3278
  return {
3157
3279
  borderWidths: borderWidths,
3158
3280
  colors: colors,
3281
+ fonts: fonts,
3282
+ fontSizes: fontSizes,
3159
3283
  space: space,
3160
- radii: radii
3284
+ radii: radii,
3285
+ lineHeights: lineHeights
3161
3286
  };
3162
3287
  };
3163
3288
 
@@ -3221,7 +3346,12 @@ var getTextInputTheme = function getTextInputTheme(theme) {
3221
3346
  text: theme.fonts.neutral.regular
3222
3347
  };
3223
3348
  var fontSizes = {
3224
- text: theme.fontSizes.large
3349
+ text: theme.fontSizes.large,
3350
+ labelInsideTextInput: theme.fontSizes.large,
3351
+ error: theme.fontSizes.small,
3352
+ maxLength: theme.fontSizes.small,
3353
+ asteriskLabel: theme.fontSizes.large,
3354
+ topLabel: theme.fontSizes.small
3225
3355
  };
3226
3356
  var borderWidths = {
3227
3357
  container: {
@@ -3523,6 +3653,7 @@ var getTheme$1 = function getTheme() {
3523
3653
  attachment: getAttachmentTheme(globalTheme),
3524
3654
  avatar: getAvatarTheme(globalTheme),
3525
3655
  badge: getBadgeTheme(globalTheme),
3656
+ bottomNavigation: getBottomNavigationTheme(globalTheme),
3526
3657
  bottomSheet: getBottomSheetTheme(globalTheme),
3527
3658
  button: getButtonTheme(globalTheme),
3528
3659
  calendar: getCalendarTheme(globalTheme),
@@ -6566,7 +6697,7 @@ var StyledText$3 = index$a(Text$1)(function (_ref) {
6566
6697
  });
6567
6698
  });
6568
6699
 
6569
- var _excluded$z = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6700
+ var _excluded$A = ["children", "fontSize", "fontWeight", "intent", "typeface", "allowFontScaling"];
6570
6701
  var Text = function Text(_ref) {
6571
6702
  var children = _ref.children,
6572
6703
  _ref$fontSize = _ref.fontSize,
@@ -6579,7 +6710,7 @@ var Text = function Text(_ref) {
6579
6710
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6580
6711
  _ref$allowFontScaling = _ref.allowFontScaling,
6581
6712
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6582
- nativeProps = _objectWithoutProperties(_ref, _excluded$z);
6713
+ nativeProps = _objectWithoutProperties(_ref, _excluded$A);
6583
6714
  useDeprecation('Typography.Text is deprecated and will be removed in the next major release, please refer to https://design.employmenthero.com/mobile/Components/typography for the appropriate alternatives.');
6584
6715
  return /*#__PURE__*/React.createElement(StyledText$3, _extends$1({}, nativeProps, {
6585
6716
  themeFontSize: fontSize,
@@ -6609,7 +6740,7 @@ var StyledCaption = index$a(Text$1)(function (_ref) {
6609
6740
  };
6610
6741
  });
6611
6742
 
6612
- var _excluded$y = ["children", "fontWeight", "intent", "allowFontScaling"];
6743
+ var _excluded$z = ["children", "fontWeight", "intent", "allowFontScaling"];
6613
6744
  var Caption = function Caption(_ref) {
6614
6745
  var children = _ref.children,
6615
6746
  _ref$fontWeight = _ref.fontWeight,
@@ -6618,7 +6749,7 @@ var Caption = function Caption(_ref) {
6618
6749
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6619
6750
  _ref$allowFontScaling = _ref.allowFontScaling,
6620
6751
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6621
- nativeProps = _objectWithoutProperties(_ref, _excluded$y);
6752
+ nativeProps = _objectWithoutProperties(_ref, _excluded$z);
6622
6753
  return /*#__PURE__*/React.createElement(StyledCaption, _extends$1({}, nativeProps, {
6623
6754
  themeFontWeight: fontWeight,
6624
6755
  themeIntent: intent,
@@ -6637,14 +6768,14 @@ var StyledLabel$1 = index$a(Text$1)(function (_ref) {
6637
6768
  };
6638
6769
  });
6639
6770
 
6640
- var _excluded$x = ["children", "intent", "allowFontScaling"];
6771
+ var _excluded$y = ["children", "intent", "allowFontScaling"];
6641
6772
  var Label = function Label(_ref) {
6642
6773
  var children = _ref.children,
6643
6774
  _ref$intent = _ref.intent,
6644
6775
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
6645
6776
  _ref$allowFontScaling = _ref.allowFontScaling,
6646
6777
  allowFontScaling = _ref$allowFontScaling === void 0 ? false : _ref$allowFontScaling,
6647
- nativeProps = _objectWithoutProperties(_ref, _excluded$x);
6778
+ nativeProps = _objectWithoutProperties(_ref, _excluded$y);
6648
6779
  return /*#__PURE__*/React.createElement(StyledLabel$1, _extends$1({}, nativeProps, {
6649
6780
  themeIntent: intent,
6650
6781
  allowFontScaling: allowFontScaling
@@ -6665,7 +6796,7 @@ var StyledTitle$1 = index$a(Text$1)(function (_ref) {
6665
6796
  };
6666
6797
  });
6667
6798
 
6668
- var _excluded$w = ["children", "intent", "allowFontScaling", "level", "typeface"];
6799
+ var _excluded$x = ["children", "intent", "allowFontScaling", "level", "typeface"];
6669
6800
  var Title = function Title(_ref) {
6670
6801
  var children = _ref.children,
6671
6802
  _ref$intent = _ref.intent,
@@ -6676,7 +6807,7 @@ var Title = function Title(_ref) {
6676
6807
  level = _ref$level === void 0 ? 'h1' : _ref$level,
6677
6808
  _ref$typeface = _ref.typeface,
6678
6809
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6679
- nativeProps = _objectWithoutProperties(_ref, _excluded$w);
6810
+ nativeProps = _objectWithoutProperties(_ref, _excluded$x);
6680
6811
  return /*#__PURE__*/React.createElement(StyledTitle$1, _extends$1({}, nativeProps, {
6681
6812
  themeLevel: level,
6682
6813
  themeTypeface: typeface,
@@ -6711,7 +6842,7 @@ var StyledBody = index$a(Text$1)(function (_ref) {
6711
6842
  };
6712
6843
  });
6713
6844
 
6714
- var _excluded$v = ["children", "intent", "allowFontScaling", "typeface", "variant"];
6845
+ var _excluded$w = ["children", "intent", "allowFontScaling", "typeface", "variant"];
6715
6846
  var Body = function Body(_ref) {
6716
6847
  var children = _ref.children,
6717
6848
  _ref$intent = _ref.intent,
@@ -6722,7 +6853,7 @@ var Body = function Body(_ref) {
6722
6853
  typeface = _ref$typeface === void 0 ? 'neutral' : _ref$typeface,
6723
6854
  _ref$variant = _ref.variant,
6724
6855
  variant = _ref$variant === void 0 ? 'regular' : _ref$variant,
6725
- nativeProps = _objectWithoutProperties(_ref, _excluded$v);
6856
+ nativeProps = _objectWithoutProperties(_ref, _excluded$w);
6726
6857
  return /*#__PURE__*/React.createElement(StyledBody, _extends$1({}, nativeProps, {
6727
6858
  themeTypeface: typeface,
6728
6859
  themeIntent: intent,
@@ -6740,7 +6871,7 @@ var Typography = {
6740
6871
  };
6741
6872
 
6742
6873
  // 🔴 DO NOT EDIT — This file is generated automatically.
6743
- var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
6874
+ var IconList = ['activate', 'add-emoji', 'add-person', 'adjustment', 'alignment', 'antenna', 'archive', 'assignment-warning', 'bank', 'bell', 'billing', 'bolt', 'bookmark-added', 'bookmark', 'box-check', 'box', 'bpay', 'buildings', 'cake', 'calendar-clock', 'calendar', 'candy-box-menu', 'caret-down-small', 'caret-down', 'caret-left-small', 'caret-left', 'caret-right-small', 'caret-right', 'caret-up-small', 'caret-up', 'check-radio', 'circle-add', 'circle-cancel', 'circle-check', 'circle-down', 'circle-info', 'circle-left', 'circle-ok', 'circle-pencil', 'circle-question', 'circle-remove', 'circle-right', 'circle-up', 'circle-warning', 'clock-3', 'clock', 'cloud-download', 'cloud-upload', 'cog', 'coin', 'contacts', 'credit-card', 'diamond', 'direction-arrows', 'directory', 'document', 'dollar-coin-shine', 'double-buildings', 'edit-template', 'envelope', 'exclude', 'expand-content', 'expense', 'eye-circle', 'eye-invisible', 'eye', 'face-meh', 'face-sad', 'face-smiley', 'feed', 'feedbacks', 'file-certified', 'file-clone', 'file-copy', 'file-csv', 'file-dispose', 'file-doc', 'file-excel', 'file-export', 'file-lock', 'file-pdf', 'file-powerpoint', 'file-search', 'file-secured', 'file-sheets', 'file-slide', 'file-verified', 'file-word', 'file', 'filter', 'folder-user', 'folder', 'format-bold', 'format-heading1', 'format-heading2', 'format-italic', 'format-list-bulleted', 'format-list-numbered', 'format-underlined', 'funnel-filter', 'global-dollar', 'globe', 'graduation-cap', 'graph', 'happy-sun', 'health-bag', 'heart', 'home', 'image', 'import', 'incident-siren', 'instapay-daily', 'instapay-now', 'instapay', 'list', 'loading-2', 'loading', 'location-on', 'location', 'lock', 'looks-one', 'looks-two', 'media-content', 'menu', 'money-notes', 'moneybag', 'moon', 'multiple-stars', 'multiple-users', 'near-me', 'node', 'open-folder', 'paperclip', 'payment-summary', 'pencil', 'phone', 'piggy-bank', 'plane-up', 'plane', 'play-circle', 'print', 'raising-hands', 'reply-arrow', 'reply', 'reschedule', 'rostering', 'salary-sacrifice', 'save', 'schedule-send', 'schedule', 'search-person', 'send', 'speaker-active', 'speaker', 'star-award', 'star-badge', 'star-circle', 'star-medal', 'star', 'steps-circle', 'stopwatch', 'suitcase', 'surfing', 'survey', 'swag-pillar-benefit', 'swag-pillar-career', 'swag-pillar-money', 'swag-pillar-work', 'swag', 'swipe-right', 'switch', 'tag', 'target', 'teams', 'timesheet', 'touch-id', 'trash-bin', 'unlock', 'user', 'video-1', 'video-2', 'wallet', 'warning', 'activate-outlined', 'add-credit-card-outlined', 'add-person-outlined', 'add-section-outlined', 'add-time-outlined', 'add', 'adjustment-outlined', 'ai-outlined', 'alignment-2-outlined', 'alignment-outlined', 'all-caps', 'application-outlined', 'arrow-down', 'arrow-downwards', 'arrow-left', 'arrow-leftwards', 'arrow-right', 'arrow-rightwards', 'arrow-up', 'arrow-upwards', 'article-outlined', 'at-sign', 'auto-graph-outlined', 'beer-outlined', 'bell-active-outlined', 'bell-outlined', 'bell-slash-outlined', 'billing-outlined', 'body-outlined', 'bold', 'bolt-outlined', 'book-outlined', 'bookmark-added-outlined', 'bookmark-outlined', 'box-check-outlined', 'box-outlined', 'bullet-points', 'cake-outlined', 'calendar-dates-outlined', 'calendar-star-outlined', 'call-outlined', 'call-split-outlined', 'camera-outlined', 'cancel', 'car-forward-outlined', 'cashback-outlined', 'charging-station-outlined', 'chat-bubble-outlined', 'chat-unread-outlined', 'checkmark', 'circle-add-outlined', 'circle-cancel-outlined', 'circle-down-outlined', 'circle-info-outlined', 'circle-left-outlined', 'circle-ok-outlined', 'circle-question-outlined', 'circle-remove-outlined', 'circle-right-outlined', 'circle-up-outlined', 'circle-warning-outlined', 'clock-2-outlined', 'clock-outlined', 'cog-outlined', 'coin-outlined', 'coin-super-outlined', 'comment-outlined', 'contacts-outlined', 'contacts-user-outlined', 'credit-card-outlined', 'cup-outlined', 'dentistry-outlined', 'direction-arrows-outlined', 'directory-outlined', 'document-outlined', 'dollar-box-outlined', 'dollar-card-outlined', 'dollar-coin-shine-outlined', 'dollar-credit-card-outlined', 'dollar-sign', 'double-buildings-outlined', 'double-left-arrows', 'double-right-arrows', 'download-box-outlined', 'download-outlined', 'edit-template-outlined', 'email-outlined', 'enter-arrow', 'envelope-outlined', 'expense-approval-outlined', 'expense-outlined', 'explore-outlined', 'extension-outlined', 'external-link', 'eye-invisible-outlined', 'eye-outlined', 'face-id', 'face-meh-outlined', 'face-open-smiley-outlined', 'face-sad-outlined', 'face-smiley-outlined', 'fastfood-outlined', 'feed-outlined', 'file-certified-outlined', 'file-clone-outlined', 'file-copy-outlined', 'file-dispose-outlined', 'file-dollar-certified-outlined', 'file-dollar-outlined', 'file-download-outlined', 'file-export-outlined', 'file-lock-outlined', 'file-outlined', 'file-search-outlined', 'file-secured-outlined', 'file-statutory-outlined', 'file-verified-outlined', 'filter-outlined', 'folder-outlined', 'folder-user-outlined', 'form-outlined', 'funnel-filter-outline', 'goal-outlined', 'graph-outlined', 'hand-holding-user-outlined', 'happy-sun-outlined', 'health-bag-outlined', 'heart-outlined', 'home-active-outlined', 'home-outlined', 'id-card-outlined', 'image-outlined', 'import-outlined', 'instapay-outlined', 'italic', 'job-search-outlined', 'leave-approval-outlined', 'link-1', 'link-2', 'list-outlined', 'live-help-outlined', 'location-on-outlined', 'location-outlined', 'lock-outlined', 'locked-file-outlined', 'log-out', 'mail-outlined', 'media-content-outlined', 'menu-close', 'menu-expand', 'menu-fold-outlined', 'menu-unfold-outlined', 'moneybag-outlined', 'moon-outlined', 'more-horizontal', 'more-vertical', 'multiple-folders-outlined', 'multiple-users-outlined', 'near-me-outlined', 'node-outlined', 'number-points', 'number', 'overview-outlined', 'payment-summary-outlined', 'payslip-outlined', 'pencil-outlined', 'percentage', 'phone-outlined', 'piggy-bank-outlined', 'plane-outlined', 'play-circle-outlined', 'print-outlined', 'propane-tank-outlined', 'qr-code-outlined', 'qualification-outlined', 're-assign', 'redeem', 'refresh', 'remove', 'reply-outlined', 'restart', 'resume-outlined', 'return-arrow', 'rostering-outlined', 'safety-outlined', 'save-outlined', 'schedule-outlined', 'search-outlined', 'search-secured-outlined', 'send-outlined', 'share-1', 'share-2', 'share-outlined', 'show-chart-outlined', 'single-down-arrow', 'single-left-arrow', 'single-right-arrow', 'single-up-arrow', 'smart-match-outlined', 'sparkle-outlined', 'speaker-active-outlined', 'speaker-outlined', 'star-circle-outlined', 'star-outlined', 'stash-outlined', 'stopwatch-outlined', 'strikethrough', 'styler-outlined', 'suitcase-clock-outlined', 'suitcase-outlined', 'survey-outlined', 'switch-outlined', 'sync', 'tag-outlined', 'target-outlined', 'tennis-outlined', 'ticket-outlined', 'timesheet-outlined', 'timesheets-outlined', 'today-outlined', 'transfer', 'trash-bin-outlined', 'umbrela-outlined', 'unavailability-outlined', 'unavailable', 'underline', 'union-outlined', 'unlock-outlined', 'upload-outlined', 'user-circle-outlined', 'user-gear-outlined', 'user-outlined', 'user-rectangle-outlined', 'video-1-outlined', 'video-2-outlined', 'volunteer-outlined', 'wallet-outlined'];
6744
6875
 
6745
6876
  var activate = 59000;
6746
6877
  var adjustment = 59003;
@@ -6778,57 +6909,57 @@ var graph = 59103;
6778
6909
  var heart = 59106;
6779
6910
  var home = 59107;
6780
6911
  var image = 59108;
6781
- var instapay = 59111;
6782
- var list = 59112;
6783
- var loading = 59114;
6784
- var location = 59116;
6785
- var lock = 59117;
6786
- var menu = 59121;
6787
- var moneybag = 59123;
6788
- var moon = 59124;
6789
- var node = 59128;
6790
- var paperclip = 59130;
6791
- var pencil = 59132;
6792
- var phone = 59133;
6793
- var plane = 59136;
6794
- var print = 59138;
6795
- var reply = 59141;
6796
- var reschedule = 59142;
6797
- var rostering = 59143;
6798
- var save = 59144;
6799
- var schedule = 59146;
6800
- var send = 59148;
6801
- var speaker = 59150;
6802
- var star = 59155;
6803
- var stopwatch = 59157;
6804
- var suitcase = 59158;
6805
- var surfing = 59159;
6806
- var survey = 59160;
6807
- var swag = 59165;
6808
- var tag = 59168;
6809
- var target = 59169;
6810
- var teams = 59170;
6811
- var timesheet = 59171;
6812
- var unlock = 59174;
6813
- var user = 59175;
6814
- var wallet = 59178;
6815
- var warning = 59179;
6816
- var add = 59185;
6817
- var bold = 59209;
6818
- var cancel = 59223;
6819
- var checkmark = 59228;
6820
- var italic = 59313;
6821
- var number = 59340;
6822
- var percentage = 59345;
6823
- var redeem = 59355;
6824
- var refresh = 59356;
6825
- var remove = 59357;
6826
- var restart = 59359;
6827
- var strikethrough = 59383;
6828
- var sync = 59389;
6829
- var transfer = 59397;
6830
- var unavailable = 59400;
6831
- var underline = 59401;
6912
+ var instapay = 59113;
6913
+ var list = 59114;
6914
+ var loading = 59116;
6915
+ var location = 59118;
6916
+ var lock = 59119;
6917
+ var menu = 59123;
6918
+ var moneybag = 59125;
6919
+ var moon = 59126;
6920
+ var node = 59130;
6921
+ var paperclip = 59132;
6922
+ var pencil = 59134;
6923
+ var phone = 59135;
6924
+ var plane = 59138;
6925
+ var print = 59140;
6926
+ var reply = 59143;
6927
+ var reschedule = 59144;
6928
+ var rostering = 59145;
6929
+ var save = 59147;
6930
+ var schedule = 59149;
6931
+ var send = 59151;
6932
+ var speaker = 59153;
6933
+ var star = 59158;
6934
+ var stopwatch = 59160;
6935
+ var suitcase = 59161;
6936
+ var surfing = 59162;
6937
+ var survey = 59163;
6938
+ var swag = 59168;
6939
+ var tag = 59171;
6940
+ var target = 59172;
6941
+ var teams = 59173;
6942
+ var timesheet = 59174;
6943
+ var unlock = 59177;
6944
+ var user = 59178;
6945
+ var wallet = 59181;
6946
+ var warning = 59182;
6947
+ var add = 59188;
6948
+ var bold = 59212;
6949
+ var cancel = 59226;
6950
+ var checkmark = 59232;
6951
+ var italic = 59317;
6952
+ var number = 59344;
6953
+ var percentage = 59349;
6954
+ var redeem = 59359;
6955
+ var refresh = 59360;
6956
+ var remove = 59361;
6957
+ var restart = 59363;
6958
+ var strikethrough = 59389;
6959
+ var sync = 59395;
6960
+ var transfer = 59403;
6961
+ var unavailable = 59407;
6962
+ var underline = 59408;
6832
6963
  var glyphMap = {
6833
6964
  activate: activate,
6834
6965
  "add-emoji": 59001,
@@ -6941,308 +7072,315 @@ var glyphMap = {
6941
7072
  image: image,
6942
7073
  "import": 59109,
6943
7074
  "incident-siren": 59110,
7075
+ "instapay-daily": 59111,
7076
+ "instapay-now": 59112,
6944
7077
  instapay: instapay,
6945
7078
  list: list,
6946
- "loading-2": 59113,
7079
+ "loading-2": 59115,
6947
7080
  loading: loading,
6948
- "location-on": 59115,
7081
+ "location-on": 59117,
6949
7082
  location: location,
6950
7083
  lock: lock,
6951
- "looks-one": 59118,
6952
- "looks-two": 59119,
6953
- "media-content": 59120,
7084
+ "looks-one": 59120,
7085
+ "looks-two": 59121,
7086
+ "media-content": 59122,
6954
7087
  menu: menu,
6955
- "money-notes": 59122,
7088
+ "money-notes": 59124,
6956
7089
  moneybag: moneybag,
6957
7090
  moon: moon,
6958
- "multiple-stars": 59125,
6959
- "multiple-users": 59126,
6960
- "near-me": 59127,
7091
+ "multiple-stars": 59127,
7092
+ "multiple-users": 59128,
7093
+ "near-me": 59129,
6961
7094
  node: node,
6962
- "open-folder": 59129,
7095
+ "open-folder": 59131,
6963
7096
  paperclip: paperclip,
6964
- "payment-summary": 59131,
7097
+ "payment-summary": 59133,
6965
7098
  pencil: pencil,
6966
7099
  phone: phone,
6967
- "piggy-bank": 59134,
6968
- "plane-up": 59135,
7100
+ "piggy-bank": 59136,
7101
+ "plane-up": 59137,
6969
7102
  plane: plane,
6970
- "play-circle": 59137,
7103
+ "play-circle": 59139,
6971
7104
  print: print,
6972
- "raising-hands": 59139,
6973
- "reply-arrow": 59140,
7105
+ "raising-hands": 59141,
7106
+ "reply-arrow": 59142,
6974
7107
  reply: reply,
6975
7108
  reschedule: reschedule,
6976
7109
  rostering: rostering,
7110
+ "salary-sacrifice": 59146,
6977
7111
  save: save,
6978
- "schedule-send": 59145,
7112
+ "schedule-send": 59148,
6979
7113
  schedule: schedule,
6980
- "search-person": 59147,
7114
+ "search-person": 59150,
6981
7115
  send: send,
6982
- "speaker-active": 59149,
7116
+ "speaker-active": 59152,
6983
7117
  speaker: speaker,
6984
- "star-award": 59151,
6985
- "star-badge": 59152,
6986
- "star-circle": 59153,
6987
- "star-medal": 59154,
7118
+ "star-award": 59154,
7119
+ "star-badge": 59155,
7120
+ "star-circle": 59156,
7121
+ "star-medal": 59157,
6988
7122
  star: star,
6989
- "steps-circle": 59156,
7123
+ "steps-circle": 59159,
6990
7124
  stopwatch: stopwatch,
6991
7125
  suitcase: suitcase,
6992
7126
  surfing: surfing,
6993
7127
  survey: survey,
6994
- "swag-pillar-benefit": 59161,
6995
- "swag-pillar-career": 59162,
6996
- "swag-pillar-money": 59163,
6997
- "swag-pillar-work": 59164,
7128
+ "swag-pillar-benefit": 59164,
7129
+ "swag-pillar-career": 59165,
7130
+ "swag-pillar-money": 59166,
7131
+ "swag-pillar-work": 59167,
6998
7132
  swag: swag,
6999
- "swipe-right": 59166,
7000
- "switch": 59167,
7133
+ "swipe-right": 59169,
7134
+ "switch": 59170,
7001
7135
  tag: tag,
7002
7136
  target: target,
7003
7137
  teams: teams,
7004
7138
  timesheet: timesheet,
7005
- "touch-id": 59172,
7006
- "trash-bin": 59173,
7139
+ "touch-id": 59175,
7140
+ "trash-bin": 59176,
7007
7141
  unlock: unlock,
7008
7142
  user: user,
7009
- "video-1": 59176,
7010
- "video-2": 59177,
7143
+ "video-1": 59179,
7144
+ "video-2": 59180,
7011
7145
  wallet: wallet,
7012
7146
  warning: warning,
7013
- "activate-outlined": 59180,
7014
- "add-credit-card-outlined": 59181,
7015
- "add-person-outlined": 59182,
7016
- "add-section-outlined": 59183,
7017
- "add-time-outlined": 59184,
7147
+ "activate-outlined": 59183,
7148
+ "add-credit-card-outlined": 59184,
7149
+ "add-person-outlined": 59185,
7150
+ "add-section-outlined": 59186,
7151
+ "add-time-outlined": 59187,
7018
7152
  add: add,
7019
- "adjustment-outlined": 59186,
7020
- "ai-outlined": 59187,
7021
- "alignment-2-outlined": 59188,
7022
- "alignment-outlined": 59189,
7023
- "all-caps": 59190,
7024
- "application-outlined": 59191,
7025
- "arrow-down": 59192,
7026
- "arrow-downwards": 59193,
7027
- "arrow-left": 59194,
7028
- "arrow-leftwards": 59195,
7029
- "arrow-right": 59196,
7030
- "arrow-rightwards": 59197,
7031
- "arrow-up": 59198,
7032
- "arrow-upwards": 59199,
7033
- "article-outlined": 59200,
7034
- "at-sign": 59201,
7035
- "auto-graph-outlined": 59202,
7036
- "beer-outlined": 59203,
7037
- "bell-active-outlined": 59204,
7038
- "bell-outlined": 59205,
7039
- "bell-slash-outlined": 59206,
7040
- "billing-outlined": 59207,
7041
- "body-outlined": 59208,
7153
+ "adjustment-outlined": 59189,
7154
+ "ai-outlined": 59190,
7155
+ "alignment-2-outlined": 59191,
7156
+ "alignment-outlined": 59192,
7157
+ "all-caps": 59193,
7158
+ "application-outlined": 59194,
7159
+ "arrow-down": 59195,
7160
+ "arrow-downwards": 59196,
7161
+ "arrow-left": 59197,
7162
+ "arrow-leftwards": 59198,
7163
+ "arrow-right": 59199,
7164
+ "arrow-rightwards": 59200,
7165
+ "arrow-up": 59201,
7166
+ "arrow-upwards": 59202,
7167
+ "article-outlined": 59203,
7168
+ "at-sign": 59204,
7169
+ "auto-graph-outlined": 59205,
7170
+ "beer-outlined": 59206,
7171
+ "bell-active-outlined": 59207,
7172
+ "bell-outlined": 59208,
7173
+ "bell-slash-outlined": 59209,
7174
+ "billing-outlined": 59210,
7175
+ "body-outlined": 59211,
7042
7176
  bold: bold,
7043
- "bolt-outlined": 59210,
7044
- "book-outlined": 59211,
7045
- "bookmark-added-outlined": 59212,
7046
- "bookmark-outlined": 59213,
7047
- "box-check-outlined": 59214,
7048
- "box-outlined": 59215,
7049
- "bullet-points": 59216,
7050
- "cake-outlined": 59217,
7051
- "calendar-dates-outlined": 59218,
7052
- "calendar-star-outlined": 59219,
7053
- "call-outlined": 59220,
7054
- "call-split-outlined": 59221,
7055
- "camera-outlined": 59222,
7177
+ "bolt-outlined": 59213,
7178
+ "book-outlined": 59214,
7179
+ "bookmark-added-outlined": 59215,
7180
+ "bookmark-outlined": 59216,
7181
+ "box-check-outlined": 59217,
7182
+ "box-outlined": 59218,
7183
+ "bullet-points": 59219,
7184
+ "cake-outlined": 59220,
7185
+ "calendar-dates-outlined": 59221,
7186
+ "calendar-star-outlined": 59222,
7187
+ "call-outlined": 59223,
7188
+ "call-split-outlined": 59224,
7189
+ "camera-outlined": 59225,
7056
7190
  cancel: cancel,
7057
- "car-forward-outlined": 59224,
7058
- "charging-station-outlined": 59225,
7059
- "chat-bubble-outlined": 59226,
7060
- "chat-unread-outlined": 59227,
7191
+ "car-forward-outlined": 59227,
7192
+ "cashback-outlined": 59228,
7193
+ "charging-station-outlined": 59229,
7194
+ "chat-bubble-outlined": 59230,
7195
+ "chat-unread-outlined": 59231,
7061
7196
  checkmark: checkmark,
7062
- "circle-add-outlined": 59229,
7063
- "circle-cancel-outlined": 59230,
7064
- "circle-down-outlined": 59231,
7065
- "circle-info-outlined": 59232,
7066
- "circle-left-outlined": 59233,
7067
- "circle-ok-outlined": 59234,
7068
- "circle-question-outlined": 59235,
7069
- "circle-remove-outlined": 59236,
7070
- "circle-right-outlined": 59237,
7071
- "circle-up-outlined": 59238,
7072
- "circle-warning-outlined": 59239,
7073
- "clock-2-outlined": 59240,
7074
- "clock-outlined": 59241,
7075
- "cog-outlined": 59242,
7076
- "coin-outlined": 59243,
7077
- "coin-super-outlined": 59244,
7078
- "comment-outlined": 59245,
7079
- "contacts-outlined": 59246,
7080
- "contacts-user-outlined": 59247,
7081
- "credit-card-outlined": 59248,
7082
- "cup-outlined": 59249,
7083
- "dentistry-outlined": 59250,
7084
- "direction-arrows-outlined": 59251,
7085
- "directory-outlined": 59252,
7086
- "document-outlined": 59253,
7087
- "dollar-box-outlined": 59254,
7088
- "dollar-card-outlined": 59255,
7089
- "dollar-coin-shine-outlined": 59256,
7090
- "dollar-credit-card-outlined": 59257,
7091
- "dollar-sign": 59258,
7092
- "double-buildings-outlined": 59259,
7093
- "double-left-arrows": 59260,
7094
- "double-right-arrows": 59261,
7095
- "download-box-outlined": 59262,
7096
- "download-outlined": 59263,
7097
- "edit-template-outlined": 59264,
7098
- "email-outlined": 59265,
7099
- "enter-arrow": 59266,
7100
- "envelope-outlined": 59267,
7101
- "expense-approval-outlined": 59268,
7102
- "expense-outlined": 59269,
7103
- "explore-outlined": 59270,
7104
- "extension-outlined": 59271,
7105
- "external-link": 59272,
7106
- "eye-invisible-outlined": 59273,
7107
- "eye-outlined": 59274,
7108
- "face-id": 59275,
7109
- "face-meh-outlined": 59276,
7110
- "face-open-smiley-outlined": 59277,
7111
- "face-sad-outlined": 59278,
7112
- "face-smiley-outlined": 59279,
7113
- "fastfood-outlined": 59280,
7114
- "feed-outlined": 59281,
7115
- "file-certified-outlined": 59282,
7116
- "file-clone-outlined": 59283,
7117
- "file-copy-outlined": 59284,
7118
- "file-dispose-outlined": 59285,
7119
- "file-dollar-certified-outlined": 59286,
7120
- "file-dollar-outlined": 59287,
7121
- "file-download-outlined": 59288,
7122
- "file-export-outlined": 59289,
7123
- "file-lock-outlined": 59290,
7124
- "file-outlined": 59291,
7125
- "file-search-outlined": 59292,
7126
- "file-secured-outlined": 59293,
7127
- "file-statutory-outlined": 59294,
7128
- "file-verified-outlined": 59295,
7129
- "filter-outlined": 59296,
7130
- "folder-outlined": 59297,
7131
- "folder-user-outlined": 59298,
7132
- "form-outlined": 59299,
7133
- "funnel-filter-outline": 59300,
7134
- "goal-outlined": 59301,
7135
- "graph-outlined": 59302,
7136
- "hand-holding-user-outlined": 59303,
7137
- "happy-sun-outlined": 59304,
7138
- "health-bag-outlined": 59305,
7139
- "heart-outlined": 59306,
7140
- "home-active-outlined": 59307,
7141
- "home-outlined": 59308,
7142
- "id-card-outlined": 59309,
7143
- "image-outlined": 59310,
7144
- "import-outlined": 59311,
7145
- "instapay-outlined": 59312,
7197
+ "circle-add-outlined": 59233,
7198
+ "circle-cancel-outlined": 59234,
7199
+ "circle-down-outlined": 59235,
7200
+ "circle-info-outlined": 59236,
7201
+ "circle-left-outlined": 59237,
7202
+ "circle-ok-outlined": 59238,
7203
+ "circle-question-outlined": 59239,
7204
+ "circle-remove-outlined": 59240,
7205
+ "circle-right-outlined": 59241,
7206
+ "circle-up-outlined": 59242,
7207
+ "circle-warning-outlined": 59243,
7208
+ "clock-2-outlined": 59244,
7209
+ "clock-outlined": 59245,
7210
+ "cog-outlined": 59246,
7211
+ "coin-outlined": 59247,
7212
+ "coin-super-outlined": 59248,
7213
+ "comment-outlined": 59249,
7214
+ "contacts-outlined": 59250,
7215
+ "contacts-user-outlined": 59251,
7216
+ "credit-card-outlined": 59252,
7217
+ "cup-outlined": 59253,
7218
+ "dentistry-outlined": 59254,
7219
+ "direction-arrows-outlined": 59255,
7220
+ "directory-outlined": 59256,
7221
+ "document-outlined": 59257,
7222
+ "dollar-box-outlined": 59258,
7223
+ "dollar-card-outlined": 59259,
7224
+ "dollar-coin-shine-outlined": 59260,
7225
+ "dollar-credit-card-outlined": 59261,
7226
+ "dollar-sign": 59262,
7227
+ "double-buildings-outlined": 59263,
7228
+ "double-left-arrows": 59264,
7229
+ "double-right-arrows": 59265,
7230
+ "download-box-outlined": 59266,
7231
+ "download-outlined": 59267,
7232
+ "edit-template-outlined": 59268,
7233
+ "email-outlined": 59269,
7234
+ "enter-arrow": 59270,
7235
+ "envelope-outlined": 59271,
7236
+ "expense-approval-outlined": 59272,
7237
+ "expense-outlined": 59273,
7238
+ "explore-outlined": 59274,
7239
+ "extension-outlined": 59275,
7240
+ "external-link": 59276,
7241
+ "eye-invisible-outlined": 59277,
7242
+ "eye-outlined": 59278,
7243
+ "face-id": 59279,
7244
+ "face-meh-outlined": 59280,
7245
+ "face-open-smiley-outlined": 59281,
7246
+ "face-sad-outlined": 59282,
7247
+ "face-smiley-outlined": 59283,
7248
+ "fastfood-outlined": 59284,
7249
+ "feed-outlined": 59285,
7250
+ "file-certified-outlined": 59286,
7251
+ "file-clone-outlined": 59287,
7252
+ "file-copy-outlined": 59288,
7253
+ "file-dispose-outlined": 59289,
7254
+ "file-dollar-certified-outlined": 59290,
7255
+ "file-dollar-outlined": 59291,
7256
+ "file-download-outlined": 59292,
7257
+ "file-export-outlined": 59293,
7258
+ "file-lock-outlined": 59294,
7259
+ "file-outlined": 59295,
7260
+ "file-search-outlined": 59296,
7261
+ "file-secured-outlined": 59297,
7262
+ "file-statutory-outlined": 59298,
7263
+ "file-verified-outlined": 59299,
7264
+ "filter-outlined": 59300,
7265
+ "folder-outlined": 59301,
7266
+ "folder-user-outlined": 59302,
7267
+ "form-outlined": 59303,
7268
+ "funnel-filter-outline": 59304,
7269
+ "goal-outlined": 59305,
7270
+ "graph-outlined": 59306,
7271
+ "hand-holding-user-outlined": 59307,
7272
+ "happy-sun-outlined": 59308,
7273
+ "health-bag-outlined": 59309,
7274
+ "heart-outlined": 59310,
7275
+ "home-active-outlined": 59311,
7276
+ "home-outlined": 59312,
7277
+ "id-card-outlined": 59313,
7278
+ "image-outlined": 59314,
7279
+ "import-outlined": 59315,
7280
+ "instapay-outlined": 59316,
7146
7281
  italic: italic,
7147
- "job-search-outlined": 59314,
7148
- "leave-approval-outlined": 59315,
7149
- "link-1": 59316,
7150
- "link-2": 59317,
7151
- "list-outlined": 59318,
7152
- "live-help-outlined": 59319,
7153
- "location-on-outlined": 59320,
7154
- "location-outlined": 59321,
7155
- "lock-outlined": 59322,
7156
- "locked-file-outlined": 59323,
7157
- "log-out": 59324,
7158
- "mail-outlined": 59325,
7159
- "media-content-outlined": 59326,
7160
- "menu-close": 59327,
7161
- "menu-expand": 59328,
7162
- "menu-fold-outlined": 59329,
7163
- "menu-unfold-outlined": 59330,
7164
- "moneybag-outlined": 59331,
7165
- "moon-outlined": 59332,
7166
- "more-horizontal": 59333,
7167
- "more-vertical": 59334,
7168
- "multiple-folders-outlined": 59335,
7169
- "multiple-users-outlined": 59336,
7170
- "near-me-outlined": 59337,
7171
- "node-outlined": 59338,
7172
- "number-points": 59339,
7282
+ "job-search-outlined": 59318,
7283
+ "leave-approval-outlined": 59319,
7284
+ "link-1": 59320,
7285
+ "link-2": 59321,
7286
+ "list-outlined": 59322,
7287
+ "live-help-outlined": 59323,
7288
+ "location-on-outlined": 59324,
7289
+ "location-outlined": 59325,
7290
+ "lock-outlined": 59326,
7291
+ "locked-file-outlined": 59327,
7292
+ "log-out": 59328,
7293
+ "mail-outlined": 59329,
7294
+ "media-content-outlined": 59330,
7295
+ "menu-close": 59331,
7296
+ "menu-expand": 59332,
7297
+ "menu-fold-outlined": 59333,
7298
+ "menu-unfold-outlined": 59334,
7299
+ "moneybag-outlined": 59335,
7300
+ "moon-outlined": 59336,
7301
+ "more-horizontal": 59337,
7302
+ "more-vertical": 59338,
7303
+ "multiple-folders-outlined": 59339,
7304
+ "multiple-users-outlined": 59340,
7305
+ "near-me-outlined": 59341,
7306
+ "node-outlined": 59342,
7307
+ "number-points": 59343,
7173
7308
  number: number,
7174
- "overview-outlined": 59341,
7175
- "payment-summary-outlined": 59342,
7176
- "payslip-outlined": 59343,
7177
- "pencil-outlined": 59344,
7309
+ "overview-outlined": 59345,
7310
+ "payment-summary-outlined": 59346,
7311
+ "payslip-outlined": 59347,
7312
+ "pencil-outlined": 59348,
7178
7313
  percentage: percentage,
7179
- "phone-outlined": 59346,
7180
- "piggy-bank-outlined": 59347,
7181
- "plane-outlined": 59348,
7182
- "play-circle-outlined": 59349,
7183
- "print-outlined": 59350,
7184
- "propane-tank-outlined": 59351,
7185
- "qr-code-outlined": 59352,
7186
- "qualification-outlined": 59353,
7187
- "re-assign": 59354,
7314
+ "phone-outlined": 59350,
7315
+ "piggy-bank-outlined": 59351,
7316
+ "plane-outlined": 59352,
7317
+ "play-circle-outlined": 59353,
7318
+ "print-outlined": 59354,
7319
+ "propane-tank-outlined": 59355,
7320
+ "qr-code-outlined": 59356,
7321
+ "qualification-outlined": 59357,
7322
+ "re-assign": 59358,
7188
7323
  redeem: redeem,
7189
7324
  refresh: refresh,
7190
7325
  remove: remove,
7191
- "reply-outlined": 59358,
7326
+ "reply-outlined": 59362,
7192
7327
  restart: restart,
7193
- "resume-outlined": 59360,
7194
- "return-arrow": 59361,
7195
- "rostering-outlined": 59362,
7196
- "save-outlined": 59363,
7197
- "schedule-outlined": 59364,
7198
- "search-outlined": 59365,
7199
- "search-secured-outlined": 59366,
7200
- "send-outlined": 59367,
7201
- "share-1": 59368,
7202
- "share-2": 59369,
7203
- "share-outlined": 59370,
7204
- "show-chart-outlined": 59371,
7205
- "single-down-arrow": 59372,
7206
- "single-left-arrow": 59373,
7207
- "single-right-arrow": 59374,
7208
- "single-up-arrow": 59375,
7209
- "smart-match-outlined": 59376,
7210
- "sparkle-outlined": 59377,
7211
- "speaker-active-outlined": 59378,
7212
- "speaker-outlined": 59379,
7213
- "star-circle-outlined": 59380,
7214
- "star-outlined": 59381,
7215
- "stopwatch-outlined": 59382,
7328
+ "resume-outlined": 59364,
7329
+ "return-arrow": 59365,
7330
+ "rostering-outlined": 59366,
7331
+ "safety-outlined": 59367,
7332
+ "save-outlined": 59368,
7333
+ "schedule-outlined": 59369,
7334
+ "search-outlined": 59370,
7335
+ "search-secured-outlined": 59371,
7336
+ "send-outlined": 59372,
7337
+ "share-1": 59373,
7338
+ "share-2": 59374,
7339
+ "share-outlined": 59375,
7340
+ "show-chart-outlined": 59376,
7341
+ "single-down-arrow": 59377,
7342
+ "single-left-arrow": 59378,
7343
+ "single-right-arrow": 59379,
7344
+ "single-up-arrow": 59380,
7345
+ "smart-match-outlined": 59381,
7346
+ "sparkle-outlined": 59382,
7347
+ "speaker-active-outlined": 59383,
7348
+ "speaker-outlined": 59384,
7349
+ "star-circle-outlined": 59385,
7350
+ "star-outlined": 59386,
7351
+ "stash-outlined": 59387,
7352
+ "stopwatch-outlined": 59388,
7216
7353
  strikethrough: strikethrough,
7217
- "styler-outlined": 59384,
7218
- "suitcase-clock-outlined": 59385,
7219
- "suitcase-outlined": 59386,
7220
- "survey-outlined": 59387,
7221
- "switch-outlined": 59388,
7354
+ "styler-outlined": 59390,
7355
+ "suitcase-clock-outlined": 59391,
7356
+ "suitcase-outlined": 59392,
7357
+ "survey-outlined": 59393,
7358
+ "switch-outlined": 59394,
7222
7359
  sync: sync,
7223
- "tag-outlined": 59390,
7224
- "target-outlined": 59391,
7225
- "tennis-outlined": 59392,
7226
- "ticket-outlined": 59393,
7227
- "timesheet-outlined": 59394,
7228
- "timesheets-outlined": 59395,
7229
- "today-outlined": 59396,
7360
+ "tag-outlined": 59396,
7361
+ "target-outlined": 59397,
7362
+ "tennis-outlined": 59398,
7363
+ "ticket-outlined": 59399,
7364
+ "timesheet-outlined": 59400,
7365
+ "timesheets-outlined": 59401,
7366
+ "today-outlined": 59402,
7230
7367
  transfer: transfer,
7231
- "trash-bin-outlined": 59398,
7232
- "umbrela-outlined": 59399,
7368
+ "trash-bin-outlined": 59404,
7369
+ "umbrela-outlined": 59405,
7370
+ "unavailability-outlined": 59406,
7233
7371
  unavailable: unavailable,
7234
7372
  underline: underline,
7235
- "union-outlined": 59402,
7236
- "unlock-outlined": 59403,
7237
- "upload-outlined": 59404,
7238
- "user-circle-outlined": 59405,
7239
- "user-gear-outlined": 59406,
7240
- "user-outlined": 59407,
7241
- "user-rectangle-outlined": 59408,
7242
- "video-1-outlined": 59409,
7243
- "video-2-outlined": 59410,
7244
- "volunteer-outlined": 59411,
7245
- "wallet-outlined": 59412
7373
+ "union-outlined": 59409,
7374
+ "unlock-outlined": 59410,
7375
+ "upload-outlined": 59411,
7376
+ "user-circle-outlined": 59412,
7377
+ "user-gear-outlined": 59413,
7378
+ "user-outlined": 59414,
7379
+ "user-rectangle-outlined": 59415,
7380
+ "video-1-outlined": 59416,
7381
+ "video-2-outlined": 59417,
7382
+ "volunteer-outlined": 59418,
7383
+ "wallet-outlined": 59419
7246
7384
  };
7247
7385
 
7248
7386
  var HeroIcon = createIconSet(glyphMap, 'hero-icons-mobile', 'hero-icons-mobile.ttf');
@@ -7267,10 +7405,10 @@ var StyledHeroIcon = index$a(HeroIcon)(function (_ref) {
7267
7405
  };
7268
7406
  });
7269
7407
 
7270
- var _excluded$u = ["style"];
7408
+ var _excluded$v = ["style"];
7271
7409
  var AnimatedIcon = function AnimatedIcon(_ref) {
7272
7410
  var style = _ref.style,
7273
- otherProps = _objectWithoutProperties(_ref, _excluded$u);
7411
+ otherProps = _objectWithoutProperties(_ref, _excluded$v);
7274
7412
  var rotateAnimation = useRef(new Animated.Value(0));
7275
7413
  useEffect(function () {
7276
7414
  var animation = Animated.loop(Animated.timing(rotateAnimation.current, {
@@ -7375,7 +7513,7 @@ var AccordionItem = function AccordionItem(_ref) {
7375
7513
  }, content));
7376
7514
  };
7377
7515
 
7378
- var _excluded$t = ["key"];
7516
+ var _excluded$u = ["key"];
7379
7517
  var Accordion = function Accordion(_ref) {
7380
7518
  var items = _ref.items,
7381
7519
  activeItemKey = _ref.activeItemKey,
@@ -7396,7 +7534,7 @@ var Accordion = function Accordion(_ref) {
7396
7534
  testID: testID
7397
7535
  }, items.map(function (_ref2, index) {
7398
7536
  var key = _ref2.key,
7399
- props = _objectWithoutProperties(_ref2, _excluded$t);
7537
+ props = _objectWithoutProperties(_ref2, _excluded$u);
7400
7538
  var open = _activeItemKey === key;
7401
7539
  return /*#__PURE__*/React.createElement(React.Fragment, {
7402
7540
  key: key
@@ -7674,7 +7812,7 @@ var Avatar = function Avatar(_ref) {
7674
7812
  }));
7675
7813
  };
7676
7814
 
7677
- Platform.OS === 'ios';
7815
+ var isIOS = Platform.OS === 'ios';
7678
7816
  var isAndroid = Platform.OS === 'android';
7679
7817
  function pick(keys, obj) {
7680
7818
  return keys.filter(function (key) {
@@ -7866,7 +8004,7 @@ var borderWidths = {
7866
8004
  var config = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, colors), space), radii), borderWidths);
7867
8005
  var flexPropsKey = ['alignContent', 'alignItems', 'alignSelf', 'display', 'flex', 'flexBasis', 'flexDirection', 'flexGrow', 'flexShrink', 'flexWrap', 'justifyContent'];
7868
8006
 
7869
- var _excluded$s = ["theme"];
8007
+ var _excluded$t = ["theme"];
7870
8008
  var getThemeValue = function getThemeValue(theme, key, props) {
7871
8009
  var propConfig = config[key];
7872
8010
  var propValue = props[key];
@@ -7893,18 +8031,18 @@ var mapStylePropToThemeValue = function mapStylePropToThemeValue(theme, props) {
7893
8031
  var configKeys = Object.keys(config);
7894
8032
  var StyledBox = index$a(View)(function (_ref5) {
7895
8033
  var theme = _ref5.theme,
7896
- otherProps = _objectWithoutProperties(_ref5, _excluded$s);
8034
+ otherProps = _objectWithoutProperties(_ref5, _excluded$t);
7897
8035
  var styleProps = pick(configKeys, otherProps);
7898
8036
  var flexProps = pick(_toConsumableArray(flexPropsKey), otherProps);
7899
8037
  return _objectSpread2(_objectSpread2({}, mapStylePropToThemeValue(theme, styleProps)), flexProps);
7900
8038
  });
7901
8039
 
7902
- var _excluded$r = ["children", "style", "testID"];
8040
+ var _excluded$s = ["children", "style", "testID"];
7903
8041
  var Box = function Box(_ref) {
7904
8042
  var children = _ref.children,
7905
8043
  style = _ref.style,
7906
8044
  testID = _ref.testID,
7907
- otherProps = _objectWithoutProperties(_ref, _excluded$r);
8045
+ otherProps = _objectWithoutProperties(_ref, _excluded$s);
7908
8046
  return /*#__PURE__*/React.createElement(StyledBox, _extends$1({}, otherProps, {
7909
8047
  style: style,
7910
8048
  testID: testID
@@ -8118,7 +8256,7 @@ var StyledStatus = index$a(Animated.View)(function (_ref3) {
8118
8256
  };
8119
8257
  });
8120
8258
 
8121
- var _excluded$q = ["children", "visible", "intent", "style", "testID"];
8259
+ var _excluded$r = ["children", "visible", "intent", "style", "testID"];
8122
8260
  var Status = function Status(_ref) {
8123
8261
  var children = _ref.children,
8124
8262
  _ref$visible = _ref.visible,
@@ -8127,7 +8265,7 @@ var Status = function Status(_ref) {
8127
8265
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8128
8266
  style = _ref.style,
8129
8267
  testID = _ref.testID,
8130
- nativeProps = _objectWithoutProperties(_ref, _excluded$q);
8268
+ nativeProps = _objectWithoutProperties(_ref, _excluded$r);
8131
8269
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
8132
8270
  opacity = _React$useRef.current;
8133
8271
  var isFirstRendering = React.useRef(true);
@@ -8160,7 +8298,7 @@ var Status = function Status(_ref) {
8160
8298
  }));
8161
8299
  };
8162
8300
 
8163
- var _excluded$p = ["content", "visible", "max", "intent", "style", "testID"];
8301
+ var _excluded$q = ["content", "visible", "max", "intent", "style", "testID"];
8164
8302
  var DEFAULT_MAX_NUMBER = 99;
8165
8303
  var getPaddingState = function getPaddingState(content) {
8166
8304
  return content.length > 1 ? 'wideContent' : 'narrowContent';
@@ -8175,7 +8313,7 @@ var Badge = function Badge(_ref) {
8175
8313
  intent = _ref$intent === void 0 ? 'danger' : _ref$intent,
8176
8314
  style = _ref.style,
8177
8315
  testID = _ref.testID,
8178
- nativeProps = _objectWithoutProperties(_ref, _excluded$p);
8316
+ nativeProps = _objectWithoutProperties(_ref, _excluded$q);
8179
8317
  var _React$useRef = React.useRef(new Animated.Value(visible ? 1 : 0)),
8180
8318
  opacity = _React$useRef.current;
8181
8319
  var isFirstRendering = React.useRef(true);
@@ -8211,6 +8349,136 @@ var Badge$1 = Object.assign(Badge, {
8211
8349
  Status: Status
8212
8350
  });
8213
8351
 
8352
+ var isHeroIcon = function isHeroIcon(x) {
8353
+ return IconList.includes(x);
8354
+ };
8355
+
8356
+ var BottomNavigationTab = index$a(View)(function (_ref) {
8357
+ var themeVisibility = _ref.themeVisibility;
8358
+ return {
8359
+ flex: 1,
8360
+ display: themeVisibility === false ? 'none' : 'flex'
8361
+ };
8362
+ });
8363
+ var BottomNavigationContainer = index$a(View)({
8364
+ flex: 1,
8365
+ overflow: 'hidden'
8366
+ });
8367
+ var ContentWrapper$2 = index$a(View)({
8368
+ flex: 1
8369
+ });
8370
+ var BottomBarWrapper = index$a(View)(function (_ref2) {
8371
+ var themeInsets = _ref2.themeInsets,
8372
+ theme = _ref2.theme;
8373
+ return {
8374
+ height: theme.__hd__.bottomNavigation.sizes.height + themeInsets.bottom,
8375
+ paddingBottom: themeInsets.bottom,
8376
+ paddingLeft: Math.max(themeInsets.left, themeInsets.right),
8377
+ paddingRight: Math.max(themeInsets.left, themeInsets.right),
8378
+ backgroundColor: theme.__hd__.bottomNavigation.colors.background,
8379
+ shadowColor: theme.__hd__.bottomNavigation.colors.shadow,
8380
+ shadowOffset: theme.__hd__.bottomNavigation.shadows.offset,
8381
+ shadowOpacity: theme.__hd__.bottomNavigation.shadows.opacity,
8382
+ shadowRadius: theme.__hd__.bottomNavigation.shadows.radius,
8383
+ elevation: theme.__hd__.bottomNavigation.shadows.elevation
8384
+ };
8385
+ });
8386
+ var BottomBar = index$a(View)({
8387
+ flex: 1,
8388
+ flexDirection: 'row',
8389
+ overflow: 'hidden',
8390
+ alignItems: 'center'
8391
+ });
8392
+ var BottomBarItem = index$a(View)({
8393
+ flex: 1,
8394
+ alignItems: 'center'
8395
+ });
8396
+ var StyledBottomBarText = index$a(Typography.Caption)(function (_ref3) {
8397
+ var theme = _ref3.theme;
8398
+ return {
8399
+ marginTop: theme.__hd__.bottomNavigation.space.titleMarginTop
8400
+ };
8401
+ });
8402
+
8403
+ var _excluded$p = ["onTabPress", "renderActiveTabOnly", "selectedTabKey", "tabs"];
8404
+ var getInactiveIcon = function getInactiveIcon(icon) {
8405
+ var inactiveIcon = "".concat(icon, "-outlined");
8406
+ return isHeroIcon(inactiveIcon) ? inactiveIcon : icon;
8407
+ };
8408
+ var BottomNavigation = function BottomNavigation(_ref) {
8409
+ var onTabPress = _ref.onTabPress,
8410
+ _ref$renderActiveTabO = _ref.renderActiveTabOnly,
8411
+ renderActiveTabOnly = _ref$renderActiveTabO === void 0 ? false : _ref$renderActiveTabO,
8412
+ selectedTabKey = _ref.selectedTabKey,
8413
+ tabs = _ref.tabs,
8414
+ nativeProps = _objectWithoutProperties(_ref, _excluded$p);
8415
+ useDeprecation('BottomNavigation is deprecated and will be removed in the next major release. Please remove it.');
8416
+ var insets = useSafeAreaInsets();
8417
+ /**
8418
+ * List of loaded tabs, tabs will be loaded when navigated to.
8419
+ */
8420
+ var _React$useState = React.useState([selectedTabKey]),
8421
+ _React$useState2 = _slicedToArray(_React$useState, 2),
8422
+ loaded = _React$useState2[0],
8423
+ setLoaded = _React$useState2[1];
8424
+ if (!loaded.includes(selectedTabKey)) {
8425
+ // Set the current tab to be loaded if it was not loaded before
8426
+ setLoaded(function (loadedState) {
8427
+ return [].concat(_toConsumableArray(loadedState), [selectedTabKey]);
8428
+ });
8429
+ }
8430
+ return /*#__PURE__*/React.createElement(BottomNavigationContainer, nativeProps, /*#__PURE__*/React.createElement(ContentWrapper$2, null, tabs.map(function (tab) {
8431
+ var key = tab.key,
8432
+ component = tab.component,
8433
+ testID = tab.testID;
8434
+ var active = selectedTabKey === key;
8435
+ if (renderActiveTabOnly && !active) {
8436
+ return null;
8437
+ }
8438
+ if (!loaded.includes(key)) {
8439
+ // Don't render a screen if we've never navigated to it
8440
+ return null;
8441
+ }
8442
+ return /*#__PURE__*/React.createElement(BottomNavigationTab, {
8443
+ key: key,
8444
+ testID: testID ? "route-screen-".concat(testID) : undefined,
8445
+ pointerEvents: active ? 'auto' : 'none',
8446
+ accessibilityElementsHidden: !active,
8447
+ importantForAccessibility: active ? 'auto' : 'no-hide-descendants',
8448
+ collapsable: false,
8449
+ removeClippedSubviews:
8450
+ // On iOS, set removeClippedSubviews to true only when not focused
8451
+ // This is an workaround for a bug where the clipped view never re-appears.
8452
+ isIOS ? selectedTabKey !== key : true,
8453
+ themeVisibility: active
8454
+ }, component);
8455
+ })), /*#__PURE__*/React.createElement(BottomBarWrapper, {
8456
+ themeInsets: insets
8457
+ }, /*#__PURE__*/React.createElement(BottomBar, null, tabs.map(function (tab) {
8458
+ var key = tab.key,
8459
+ icon = tab.icon,
8460
+ title = tab.title,
8461
+ testID = tab.testID;
8462
+ var active = selectedTabKey === key;
8463
+ var inactiveIcon = getInactiveIcon(icon);
8464
+ return /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
8465
+ key: key,
8466
+ onPress: function onPress() {
8467
+ return onTabPress(key);
8468
+ },
8469
+ testID: testID
8470
+ }, /*#__PURE__*/React.createElement(BottomBarItem, null, /*#__PURE__*/React.createElement(Icon, {
8471
+ icon: active ? icon : inactiveIcon,
8472
+ intent: active ? 'primary' : 'text',
8473
+ testID: "hero-icon-".concat(icon)
8474
+ }), !!title && /*#__PURE__*/React.createElement(StyledBottomBarText, {
8475
+ fontWeight: "semi-bold",
8476
+ intent: active ? 'primary' : 'body',
8477
+ numberOfLines: 1
8478
+ }, title)));
8479
+ }))));
8480
+ };
8481
+
8214
8482
  var BottomSheetContext = /*#__PURE__*/createContext({});
8215
8483
 
8216
8484
  var StyledDivider = index$a(View)(function (_ref) {
@@ -8864,332 +9132,6 @@ var BottomSheetScrollView = function BottomSheetScrollView(_ref) {
8864
9132
  }));
8865
9133
  };
8866
9134
 
8867
- var customAlphabet = function customAlphabet(alphabet) {
8868
- var defaultSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 21;
8869
- return function () {
8870
- var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultSize;
8871
- var id = '';
8872
- var i = size;
8873
- while (i--) {
8874
- id += alphabet[Math.random() * alphabet.length | 0];
8875
- }
8876
- return id;
8877
- };
8878
- };
8879
-
8880
- var ACTIONS;
8881
- (function (ACTIONS) {
8882
- ACTIONS[ACTIONS["REGISTER_HOST"] = 0] = "REGISTER_HOST";
8883
- ACTIONS[ACTIONS["DEREGISTER_HOST"] = 1] = "DEREGISTER_HOST";
8884
- ACTIONS[ACTIONS["ADD_UPDATE_PORTAL"] = 2] = "ADD_UPDATE_PORTAL";
8885
- ACTIONS[ACTIONS["REMOVE_PORTAL"] = 3] = "REMOVE_PORTAL";
8886
- })(ACTIONS || (ACTIONS = {}));
8887
- var INITIAL_STATE = {};
8888
-
8889
- var PortalStateContext = /*#__PURE__*/createContext(null);
8890
- var PortalDispatchContext = /*#__PURE__*/createContext(null);
8891
-
8892
- var usePortal = function usePortal() {
8893
- var hostName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'root';
8894
- var dispatch = useContext(PortalDispatchContext);
8895
- if (dispatch === null) {
8896
- throw new Error("You must add 'PortalProvider' to the root component.");
8897
- }
8898
- var registerHost = useCallback(function () {
8899
- dispatch({
8900
- type: ACTIONS.REGISTER_HOST,
8901
- hostName: hostName
8902
- });
8903
- }, []);
8904
- var deregisterHost = useCallback(function () {
8905
- dispatch({
8906
- type: ACTIONS.DEREGISTER_HOST,
8907
- hostName: hostName
8908
- });
8909
- }, []);
8910
- var addUpdatePortal = useCallback(function (name, node) {
8911
- dispatch({
8912
- type: ACTIONS.ADD_UPDATE_PORTAL,
8913
- hostName: hostName,
8914
- portalName: name,
8915
- node: node
8916
- });
8917
- }, []);
8918
- var removePortal = useCallback(function (name) {
8919
- dispatch({
8920
- type: ACTIONS.REMOVE_PORTAL,
8921
- hostName: hostName,
8922
- portalName: name
8923
- });
8924
- }, []);
8925
- return {
8926
- registerHost: registerHost,
8927
- deregisterHost: deregisterHost,
8928
- addPortal: addUpdatePortal,
8929
- updatePortal: addUpdatePortal,
8930
- removePortal: removePortal
8931
- };
8932
- };
8933
-
8934
- var usePortalState = function usePortalState(hostName) {
8935
- var state = useContext(PortalStateContext);
8936
- if (state === null) {
8937
- throw new Error("You must add 'PortalProvider' to the root component.");
8938
- }
8939
- return state[hostName] || [];
8940
- };
8941
-
8942
- var PortalHostComponent = function PortalHostComponent(_ref) {
8943
- var name = _ref.name;
8944
- var state = usePortalState(name);
8945
- var _usePortal = usePortal(name),
8946
- registerHost = _usePortal.registerHost,
8947
- deregisterHost = _usePortal.deregisterHost;
8948
- useEffect(function () {
8949
- registerHost();
8950
- return function () {
8951
- deregisterHost();
8952
- };
8953
- }, []);
8954
- return /*#__PURE__*/React.createElement(React.Fragment, null, state.map(function (item) {
8955
- return item.node;
8956
- }));
8957
- };
8958
- var PortalHost = /*#__PURE__*/memo(PortalHostComponent);
8959
- PortalHost.displayName = 'PortalHost';
8960
-
8961
- var registerHostIfNotExist = function registerHostIfNotExist(state, hostName) {
8962
- if (!(hostName in state)) {
8963
- return _objectSpread2(_objectSpread2({}, state), {}, _defineProperty({}, hostName, []));
8964
- }
8965
- return _objectSpread2({}, state);
8966
- };
8967
- var deregisterHost = function deregisterHost(state, hostName) {
8968
- return _objectSpread2({}, omit([hostName], state));
8969
- };
8970
- var addUpdatePortal = function addUpdatePortal(state, hostName, portalName, node) {
8971
- var newState = registerHostIfNotExist(state, hostName);
8972
- var index = newState[hostName].findIndex(function (item) {
8973
- return item.name === portalName;
8974
- });
8975
- if (index !== -1) {
8976
- return _objectSpread2(_objectSpread2({}, newState), {}, _defineProperty({}, hostName, newState[hostName].map(function (item, i) {
8977
- if (index === i) {
8978
- return _objectSpread2(_objectSpread2({}, item), {}, {
8979
- node: node
8980
- });
8981
- }
8982
- return item;
8983
- })));
8984
- }
8985
- return _objectSpread2(_objectSpread2({}, newState), {}, _defineProperty({}, hostName, [].concat(_toConsumableArray(newState[hostName]), [{
8986
- name: portalName,
8987
- node: node
8988
- }])));
8989
- };
8990
- var removePortal = function removePortal(state, hostName, portalName) {
8991
- if (!(hostName in state)) {
8992
- return _objectSpread2({}, state);
8993
- }
8994
- return _objectSpread2(_objectSpread2({}, state), {}, _defineProperty({}, hostName, state[hostName].filter(function (item) {
8995
- return item.name !== portalName;
8996
- })));
8997
- };
8998
- var reducer = function reducer(state, action) {
8999
- var type = action.type;
9000
- switch (type) {
9001
- case ACTIONS.REGISTER_HOST:
9002
- return registerHostIfNotExist(state, action.hostName);
9003
- case ACTIONS.DEREGISTER_HOST:
9004
- return deregisterHost(state, action.hostName);
9005
- case ACTIONS.ADD_UPDATE_PORTAL:
9006
- return addUpdatePortal(state, action.hostName, action.portalName, action.node);
9007
- case ACTIONS.REMOVE_PORTAL:
9008
- return removePortal(state, action.hostName, action.portalName);
9009
- default:
9010
- return _objectSpread2({}, state);
9011
- }
9012
- };
9013
-
9014
- var PortalProviderComponent = function PortalProviderComponent(_ref) {
9015
- var _ref$rootHostName = _ref.rootHostName,
9016
- rootHostName = _ref$rootHostName === void 0 ? 'root' : _ref$rootHostName,
9017
- children = _ref.children;
9018
- var _useReducer = useReducer(reducer, INITIAL_STATE),
9019
- _useReducer2 = _slicedToArray(_useReducer, 2),
9020
- state = _useReducer2[0],
9021
- dispatch = _useReducer2[1];
9022
- return /*#__PURE__*/React.createElement(PortalDispatchContext.Provider, {
9023
- value: dispatch
9024
- }, /*#__PURE__*/React.createElement(PortalStateContext.Provider, {
9025
- value: state
9026
- }, children, /*#__PURE__*/React.createElement(PortalHost, {
9027
- name: rootHostName
9028
- })));
9029
- };
9030
- var PortalProvider = /*#__PURE__*/memo(PortalProviderComponent);
9031
- PortalProvider.displayName = 'PortalProvider';
9032
-
9033
- var nanoid = customAlphabet('abcdefghijklmnopqrstuvwxyz0123456789', 10);
9034
- var PortalComponent = function PortalComponent(_ref) {
9035
- var name = _ref.name,
9036
- hostName = _ref.hostName,
9037
- children = _ref.children,
9038
- theme = _ref.theme;
9039
- var defaultTheme = useTheme();
9040
- var _usePortal = usePortal(hostName),
9041
- addUpdatePortal = _usePortal.addPortal,
9042
- removePortal = _usePortal.removePortal;
9043
- var nameOrRandom = useMemo(function () {
9044
- return name || nanoid();
9045
- }, [name]);
9046
- var ChildrenComponent = useMemo(function () {
9047
- return /*#__PURE__*/React.createElement(ThemeProvider, {
9048
- theme: theme || defaultTheme
9049
- }, children);
9050
- }, [theme, children, defaultTheme]);
9051
- useLayoutEffect(function () {
9052
- addUpdatePortal(nameOrRandom, ChildrenComponent);
9053
- return function () {
9054
- removePortal(nameOrRandom);
9055
- };
9056
- }, [addUpdatePortal]);
9057
- useLayoutEffect(function () {
9058
- addUpdatePortal(nameOrRandom, ChildrenComponent);
9059
- }, [ChildrenComponent]);
9060
- return null;
9061
- };
9062
- var Portal = /*#__PURE__*/memo(PortalComponent);
9063
- Portal.displayName = 'Portal';
9064
- var Portal$1 = Object.assign(Portal, {
9065
- Provider: PortalProvider,
9066
- Host: PortalHost
9067
- });
9068
-
9069
- var _excluded$l = ["visible"];
9070
- var DEFAULT_BACKDROP_OPACITY = 0.4;
9071
- var DEFAULT_ANIMATION_CONFIG = {
9072
- easing: Easing.inOut(Easing.cubic),
9073
- useNativeDriver: Platform.OS !== 'web',
9074
- duration: 400
9075
- };
9076
- var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
9077
- var children = _ref.children,
9078
- onShow = _ref.onShow,
9079
- onRequestClose = _ref.onRequestClose,
9080
- testID = _ref.testID,
9081
- _ref$animationType = _ref.animationType,
9082
- animationType = _ref$animationType === void 0 ? 'none' : _ref$animationType,
9083
- _ref$transparent = _ref.transparent,
9084
- transparent = _ref$transparent === void 0 ? false : _ref$transparent,
9085
- onDismiss = _ref.onDismiss;
9086
- var theme = useTheme();
9087
- var animatedBackdropValue = useRef(new Animated.Value(0)).current;
9088
- var animatedModalValue = useRef(new Animated.Value(0)).current;
9089
- // Show or hide the backdrop and modal content
9090
- var animateBackdropAndContent = useCallback(function (_ref2) {
9091
- var toValue = _ref2.toValue,
9092
- callback = _ref2.callback;
9093
- if (animationType !== 'none') {
9094
- // Backdrop animation
9095
- if (!transparent) {
9096
- Animated.timing(animatedBackdropValue, _objectSpread2({
9097
- toValue: toValue
9098
- }, DEFAULT_ANIMATION_CONFIG)).start();
9099
- }
9100
- // Modal content animation
9101
- Animated.timing(animatedModalValue, _objectSpread2({
9102
- toValue: toValue
9103
- }, DEFAULT_ANIMATION_CONFIG)).start(callback);
9104
- } else {
9105
- callback === null || callback === void 0 || callback();
9106
- }
9107
- }, [animationType, onShow, transparent]);
9108
- var backdropOpacityAnimation = animatedBackdropValue.interpolate({
9109
- inputRange: [0, 1],
9110
- outputRange: [0, DEFAULT_BACKDROP_OPACITY]
9111
- });
9112
- var modalAnimation = animatedModalValue.interpolate({
9113
- inputRange: [0, 1],
9114
- outputRange: animationType === 'slide' ? [Dimensions.get('window').height, 0] : [0, 1]
9115
- });
9116
- useImperativeHandle(ref, function () {
9117
- return {
9118
- show: function show() {
9119
- animateBackdropAndContent({
9120
- toValue: 1,
9121
- callback: onShow
9122
- });
9123
- },
9124
- hide: function hide(wrapperCallback) {
9125
- animateBackdropAndContent({
9126
- toValue: 0,
9127
- callback: function callback() {
9128
- if (Platform.OS === 'ios') {
9129
- onDismiss === null || onDismiss === void 0 || onDismiss();
9130
- }
9131
- wrapperCallback();
9132
- }
9133
- });
9134
- }
9135
- };
9136
- }, [onDismiss, onShow, animateBackdropAndContent]);
9137
- // Back button handler
9138
- useEffect(function () {
9139
- var backHandler = BackHandler.addEventListener('hardwareBackPress', function () {
9140
- onRequestClose === null || onRequestClose === void 0 || onRequestClose();
9141
- return true;
9142
- });
9143
- return function () {
9144
- return backHandler.remove();
9145
- };
9146
- }, [onRequestClose]);
9147
- return /*#__PURE__*/React.createElement(Portal$1, null, /*#__PURE__*/React.createElement(Animated.View, {
9148
- style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
9149
- backgroundColor: transparent ? 'transparent' : theme.colors.overlayGlobalSurface,
9150
- opacity: animationType !== 'none' ? backdropOpacityAnimation : DEFAULT_BACKDROP_OPACITY
9151
- })
9152
- }), /*#__PURE__*/React.createElement(Animated.View, {
9153
- testID: testID,
9154
- style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
9155
- opacity: animationType === 'fade' ? modalAnimation : 1,
9156
- transform: [{
9157
- translateY: animationType === 'slide' ? modalAnimation : 0
9158
- }]
9159
- })
9160
- }, children));
9161
- });
9162
- var ModalWrapper = function ModalWrapper(_ref3) {
9163
- var _ref3$visible = _ref3.visible,
9164
- visible = _ref3$visible === void 0 ? true : _ref3$visible,
9165
- props = _objectWithoutProperties(_ref3, _excluded$l);
9166
- var modalRef = useRef(null);
9167
- var _useState = useState(visible),
9168
- _useState2 = _slicedToArray(_useState, 2),
9169
- internalVisible = _useState2[0],
9170
- setInternalVisible = _useState2[1];
9171
- useEffect(function () {
9172
- if (visible) {
9173
- setInternalVisible(true);
9174
- } else {
9175
- var _modalRef$current;
9176
- // Wait for animation to finish before hiding the modal
9177
- (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
9178
- return setInternalVisible(false);
9179
- });
9180
- }
9181
- }, [visible]);
9182
- useEffect(function () {
9183
- if (internalVisible) {
9184
- var _modalRef$current2;
9185
- (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
9186
- }
9187
- }, [internalVisible]);
9188
- return internalVisible ? /*#__PURE__*/React.createElement(Modal, _extends$1({
9189
- ref: modalRef
9190
- }, props)) : null;
9191
- };
9192
-
9193
9135
  var BottomSheet = function BottomSheet(_ref) {
9194
9136
  var open = _ref.open,
9195
9137
  header = _ref.header,
@@ -9266,7 +9208,7 @@ var BottomSheet = function BottomSheet(_ref) {
9266
9208
  setInternalShowDivider: setInternalShowDivider
9267
9209
  };
9268
9210
  }, [setInternalShowDivider]);
9269
- return /*#__PURE__*/React.createElement(ModalWrapper, {
9211
+ return /*#__PURE__*/React.createElement(Modal$1, {
9270
9212
  visible: visible,
9271
9213
  onRequestClose: onRequestClose,
9272
9214
  transparent: true,
@@ -11955,12 +11897,12 @@ var Indicator = index$a(View)(function (_ref2) {
11955
11897
  };
11956
11898
  });
11957
11899
 
11958
- var _excluded$k = ["intent", "children"];
11900
+ var _excluded$l = ["intent", "children"];
11959
11901
  var DataCard = function DataCard(_ref) {
11960
11902
  var _ref$intent = _ref.intent,
11961
11903
  intent = _ref$intent === void 0 ? 'info' : _ref$intent,
11962
11904
  children = _ref.children,
11963
- nativeProps = _objectWithoutProperties(_ref, _excluded$k);
11905
+ nativeProps = _objectWithoutProperties(_ref, _excluded$l);
11964
11906
  return /*#__PURE__*/React.createElement(StyledDataCard, nativeProps, /*#__PURE__*/React.createElement(Indicator, {
11965
11907
  themeIntent: intent,
11966
11908
  testID: "data-card-indicator"
@@ -11978,11 +11920,11 @@ var StyledCard$1 = index$a(View)(function (_ref) {
11978
11920
  });
11979
11921
  });
11980
11922
 
11981
- var _excluded$j = ["intent", "children"];
11923
+ var _excluded$k = ["intent", "children"];
11982
11924
  var Card = function Card(_ref) {
11983
11925
  var intent = _ref.intent,
11984
11926
  children = _ref.children,
11985
- nativeProps = _objectWithoutProperties(_ref, _excluded$j);
11927
+ nativeProps = _objectWithoutProperties(_ref, _excluded$k);
11986
11928
  return /*#__PURE__*/React.createElement(StyledCard$1, _extends$1({}, nativeProps, {
11987
11929
  themeIntent: intent
11988
11930
  }), children);
@@ -12247,7 +12189,7 @@ var CardCarousel = /*#__PURE__*/forwardRef(function (_ref, ref) {
12247
12189
  });
12248
12190
  CardCarousel.displayName = 'CardCarousel';
12249
12191
 
12250
- var _excluded$i = ["rounded", "size", "testID", "style"];
12192
+ var _excluded$j = ["rounded", "size", "testID", "style"];
12251
12193
  var Image = function Image(_ref) {
12252
12194
  var _ref$rounded = _ref.rounded,
12253
12195
  rounded = _ref$rounded === void 0 ? false : _ref$rounded,
@@ -12255,7 +12197,7 @@ var Image = function Image(_ref) {
12255
12197
  size = _ref$size === void 0 ? '6xlarge' : _ref$size,
12256
12198
  testID = _ref.testID,
12257
12199
  style = _ref.style,
12258
- imageNativeProps = _objectWithoutProperties(_ref, _excluded$i);
12200
+ imageNativeProps = _objectWithoutProperties(_ref, _excluded$j);
12259
12201
  var theme = useTheme();
12260
12202
  var imageSize = theme.__hd__.image.sizes[size];
12261
12203
  return /*#__PURE__*/React.createElement(Image$1, _extends$1({
@@ -12375,7 +12317,7 @@ var CarouselItem = function CarouselItem(_ref) {
12375
12317
  }, heading), body ? /*#__PURE__*/React.createElement(Typography.Body, null, body) : null));
12376
12318
  };
12377
12319
 
12378
- var _excluded$h = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12320
+ var _excluded$i = ["items", "onItemIndexChange", "renderActions", "selectedItemIndex", "style", "shouldShowPagination", "testID", "pageControlPosition"];
12379
12321
  function useStateFromProp(initialValue) {
12380
12322
  var _useState = useState(initialValue),
12381
12323
  _useState2 = _slicedToArray(_useState, 2),
@@ -12402,7 +12344,7 @@ var Carousel = function Carousel(_ref) {
12402
12344
  testID = _ref.testID,
12403
12345
  _ref$pageControlPosit = _ref.pageControlPosition,
12404
12346
  pageControlPosition = _ref$pageControlPosit === void 0 ? 'top' : _ref$pageControlPosit,
12405
- nativeProps = _objectWithoutProperties(_ref, _excluded$h);
12347
+ nativeProps = _objectWithoutProperties(_ref, _excluded$i);
12406
12348
  useDeprecation("shouldShowPagination prop has been deprecated", shouldShowPagination !== noop);
12407
12349
  useDeprecation("The use of 'pageControlPosition == bottom' has been deprecated", pageControlPosition === 'bottom');
12408
12350
  var theme = useTheme();
@@ -12597,7 +12539,7 @@ var StyledIcon$1 = index$a(Icon)(function (_ref4) {
12597
12539
  };
12598
12540
  });
12599
12541
 
12600
- var _excluded$g = ["label", "variant", "selected", "icon", "onPress"];
12542
+ var _excluded$h = ["label", "variant", "selected", "icon", "onPress"];
12601
12543
  var Chip = function Chip(_ref) {
12602
12544
  var label = _ref.label,
12603
12545
  _ref$variant = _ref.variant,
@@ -12606,7 +12548,7 @@ var Chip = function Chip(_ref) {
12606
12548
  selected = _ref$selected === void 0 ? false : _ref$selected,
12607
12549
  icon = _ref.icon,
12608
12550
  onPress = _ref.onPress,
12609
- otherProps = _objectWithoutProperties(_ref, _excluded$g);
12551
+ otherProps = _objectWithoutProperties(_ref, _excluded$h);
12610
12552
  var internalIcon = React.useMemo(function () {
12611
12553
  if (icon && variant === 'filled') {
12612
12554
  return icon;
@@ -12693,6 +12635,8 @@ var getThemeState = function getThemeState(_ref) {
12693
12635
  var Checkbox = function Checkbox(_ref2) {
12694
12636
  var checked = _ref2.checked,
12695
12637
  description = _ref2.description,
12638
+ _ref2$withBorder = _ref2.withBorder,
12639
+ withBorder = _ref2$withBorder === void 0 ? false : _ref2$withBorder,
12696
12640
  _ref2$disabled = _ref2.disabled,
12697
12641
  disabled = _ref2$disabled === void 0 ? false : _ref2$disabled,
12698
12642
  onPress = _ref2.onPress,
@@ -12700,6 +12644,7 @@ var Checkbox = function Checkbox(_ref2) {
12700
12644
  testID = _ref2.testID,
12701
12645
  _ref2$readonly = _ref2.readonly,
12702
12646
  readonly = _ref2$readonly === void 0 ? false : _ref2$readonly;
12647
+ useDeprecation("Checkbox's withBorder prop will be removed in the next major release, all checkboxes will have border by default. Please remove it.", withBorder === true);
12703
12648
  var themeState = getThemeState({
12704
12649
  disabled: disabled,
12705
12650
  readonly: readonly
@@ -12850,7 +12795,7 @@ var StyledErrorAndMaxLengthContainer = index$a(View)(function () {
12850
12795
  };
12851
12796
  });
12852
12797
 
12853
- var _excluded$f = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
12798
+ var _excluded$g = ["label", "prefix", "suffix", "style", "textStyle", "testID", "accessibilityLabelledBy", "error", "required", "editable", "disabled", "loading", "maxLength", "hideCharacterCount", "helpText", "value", "defaultValue", "renderInputValue", "allowFontScaling", "variant"];
12854
12799
  var getState$1 = function getState(_ref) {
12855
12800
  var disabled = _ref.disabled,
12856
12801
  error = _ref.error,
@@ -12903,7 +12848,7 @@ var TextInput = /*#__PURE__*/forwardRef(function (_ref2, ref) {
12903
12848
  allowFontScaling = _ref2$allowFontScalin === void 0 ? false : _ref2$allowFontScalin,
12904
12849
  _ref2$variant = _ref2.variant,
12905
12850
  variant = _ref2$variant === void 0 ? 'text' : _ref2$variant,
12906
- nativeProps = _objectWithoutProperties(_ref2, _excluded$f);
12851
+ nativeProps = _objectWithoutProperties(_ref2, _excluded$g);
12907
12852
  var displayText = (_ref3 = value !== undefined ? value : defaultValue) !== null && _ref3 !== void 0 ? _ref3 : '';
12908
12853
  var isEmptyValue = displayText.length === 0;
12909
12854
  var actualSuffix = loading ? 'loading' : suffix;
@@ -13448,11 +13393,11 @@ var DatePickerIOS = function DatePickerIOS(_ref) {
13448
13393
  }))));
13449
13394
  };
13450
13395
 
13451
- var _excluded$e = ["variant"];
13396
+ var _excluded$f = ["variant"];
13452
13397
  var DatePicker = function DatePicker(_ref) {
13453
13398
  var _ref$variant = _ref.variant,
13454
13399
  variant = _ref$variant === void 0 ? 'default' : _ref$variant,
13455
- props = _objectWithoutProperties(_ref, _excluded$e);
13400
+ props = _objectWithoutProperties(_ref, _excluded$f);
13456
13401
  if (variant === 'calendar') {
13457
13402
  return /*#__PURE__*/React.createElement(DatePickerCalendar, props);
13458
13403
  }
@@ -13804,6 +13749,332 @@ var Empty = function Empty(_ref) {
13804
13749
  }, description));
13805
13750
  };
13806
13751
 
13752
+ var customAlphabet = function customAlphabet(alphabet) {
13753
+ var defaultSize = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 21;
13754
+ return function () {
13755
+ var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultSize;
13756
+ var id = '';
13757
+ var i = size;
13758
+ while (i--) {
13759
+ id += alphabet[Math.random() * alphabet.length | 0];
13760
+ }
13761
+ return id;
13762
+ };
13763
+ };
13764
+
13765
+ var ACTIONS;
13766
+ (function (ACTIONS) {
13767
+ ACTIONS[ACTIONS["REGISTER_HOST"] = 0] = "REGISTER_HOST";
13768
+ ACTIONS[ACTIONS["DEREGISTER_HOST"] = 1] = "DEREGISTER_HOST";
13769
+ ACTIONS[ACTIONS["ADD_UPDATE_PORTAL"] = 2] = "ADD_UPDATE_PORTAL";
13770
+ ACTIONS[ACTIONS["REMOVE_PORTAL"] = 3] = "REMOVE_PORTAL";
13771
+ })(ACTIONS || (ACTIONS = {}));
13772
+ var INITIAL_STATE = {};
13773
+
13774
+ var PortalStateContext = /*#__PURE__*/createContext(null);
13775
+ var PortalDispatchContext = /*#__PURE__*/createContext(null);
13776
+
13777
+ var usePortal = function usePortal() {
13778
+ var hostName = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'root';
13779
+ var dispatch = useContext(PortalDispatchContext);
13780
+ if (dispatch === null) {
13781
+ throw new Error("You must add 'PortalProvider' to the root component.");
13782
+ }
13783
+ var registerHost = useCallback(function () {
13784
+ dispatch({
13785
+ type: ACTIONS.REGISTER_HOST,
13786
+ hostName: hostName
13787
+ });
13788
+ }, []);
13789
+ var deregisterHost = useCallback(function () {
13790
+ dispatch({
13791
+ type: ACTIONS.DEREGISTER_HOST,
13792
+ hostName: hostName
13793
+ });
13794
+ }, []);
13795
+ var addUpdatePortal = useCallback(function (name, node) {
13796
+ dispatch({
13797
+ type: ACTIONS.ADD_UPDATE_PORTAL,
13798
+ hostName: hostName,
13799
+ portalName: name,
13800
+ node: node
13801
+ });
13802
+ }, []);
13803
+ var removePortal = useCallback(function (name) {
13804
+ dispatch({
13805
+ type: ACTIONS.REMOVE_PORTAL,
13806
+ hostName: hostName,
13807
+ portalName: name
13808
+ });
13809
+ }, []);
13810
+ return {
13811
+ registerHost: registerHost,
13812
+ deregisterHost: deregisterHost,
13813
+ addPortal: addUpdatePortal,
13814
+ updatePortal: addUpdatePortal,
13815
+ removePortal: removePortal
13816
+ };
13817
+ };
13818
+
13819
+ var usePortalState = function usePortalState(hostName) {
13820
+ var state = useContext(PortalStateContext);
13821
+ if (state === null) {
13822
+ throw new Error("You must add 'PortalProvider' to the root component.");
13823
+ }
13824
+ return state[hostName] || [];
13825
+ };
13826
+
13827
+ var PortalHostComponent = function PortalHostComponent(_ref) {
13828
+ var name = _ref.name;
13829
+ var state = usePortalState(name);
13830
+ var _usePortal = usePortal(name),
13831
+ registerHost = _usePortal.registerHost,
13832
+ deregisterHost = _usePortal.deregisterHost;
13833
+ useEffect(function () {
13834
+ registerHost();
13835
+ return function () {
13836
+ deregisterHost();
13837
+ };
13838
+ }, []);
13839
+ return /*#__PURE__*/React.createElement(React.Fragment, null, state.map(function (item) {
13840
+ return item.node;
13841
+ }));
13842
+ };
13843
+ var PortalHost = /*#__PURE__*/memo(PortalHostComponent);
13844
+ PortalHost.displayName = 'PortalHost';
13845
+
13846
+ var registerHostIfNotExist = function registerHostIfNotExist(state, hostName) {
13847
+ if (!(hostName in state)) {
13848
+ return _objectSpread2(_objectSpread2({}, state), {}, _defineProperty({}, hostName, []));
13849
+ }
13850
+ return _objectSpread2({}, state);
13851
+ };
13852
+ var deregisterHost = function deregisterHost(state, hostName) {
13853
+ return _objectSpread2({}, omit([hostName], state));
13854
+ };
13855
+ var addUpdatePortal = function addUpdatePortal(state, hostName, portalName, node) {
13856
+ var newState = registerHostIfNotExist(state, hostName);
13857
+ var index = newState[hostName].findIndex(function (item) {
13858
+ return item.name === portalName;
13859
+ });
13860
+ if (index !== -1) {
13861
+ return _objectSpread2(_objectSpread2({}, newState), {}, _defineProperty({}, hostName, newState[hostName].map(function (item, i) {
13862
+ if (index === i) {
13863
+ return _objectSpread2(_objectSpread2({}, item), {}, {
13864
+ node: node
13865
+ });
13866
+ }
13867
+ return item;
13868
+ })));
13869
+ }
13870
+ return _objectSpread2(_objectSpread2({}, newState), {}, _defineProperty({}, hostName, [].concat(_toConsumableArray(newState[hostName]), [{
13871
+ name: portalName,
13872
+ node: node
13873
+ }])));
13874
+ };
13875
+ var removePortal = function removePortal(state, hostName, portalName) {
13876
+ if (!(hostName in state)) {
13877
+ return _objectSpread2({}, state);
13878
+ }
13879
+ return _objectSpread2(_objectSpread2({}, state), {}, _defineProperty({}, hostName, state[hostName].filter(function (item) {
13880
+ return item.name !== portalName;
13881
+ })));
13882
+ };
13883
+ var reducer = function reducer(state, action) {
13884
+ var type = action.type;
13885
+ switch (type) {
13886
+ case ACTIONS.REGISTER_HOST:
13887
+ return registerHostIfNotExist(state, action.hostName);
13888
+ case ACTIONS.DEREGISTER_HOST:
13889
+ return deregisterHost(state, action.hostName);
13890
+ case ACTIONS.ADD_UPDATE_PORTAL:
13891
+ return addUpdatePortal(state, action.hostName, action.portalName, action.node);
13892
+ case ACTIONS.REMOVE_PORTAL:
13893
+ return removePortal(state, action.hostName, action.portalName);
13894
+ default:
13895
+ return _objectSpread2({}, state);
13896
+ }
13897
+ };
13898
+
13899
+ var PortalProviderComponent = function PortalProviderComponent(_ref) {
13900
+ var _ref$rootHostName = _ref.rootHostName,
13901
+ rootHostName = _ref$rootHostName === void 0 ? 'root' : _ref$rootHostName,
13902
+ children = _ref.children;
13903
+ var _useReducer = useReducer(reducer, INITIAL_STATE),
13904
+ _useReducer2 = _slicedToArray(_useReducer, 2),
13905
+ state = _useReducer2[0],
13906
+ dispatch = _useReducer2[1];
13907
+ return /*#__PURE__*/React.createElement(PortalDispatchContext.Provider, {
13908
+ value: dispatch
13909
+ }, /*#__PURE__*/React.createElement(PortalStateContext.Provider, {
13910
+ value: state
13911
+ }, children, /*#__PURE__*/React.createElement(PortalHost, {
13912
+ name: rootHostName
13913
+ })));
13914
+ };
13915
+ var PortalProvider = /*#__PURE__*/memo(PortalProviderComponent);
13916
+ PortalProvider.displayName = 'PortalProvider';
13917
+
13918
+ var nanoid = customAlphabet('abcdefghijklmnopqrstuvwxyz0123456789', 10);
13919
+ var PortalComponent = function PortalComponent(_ref) {
13920
+ var name = _ref.name,
13921
+ hostName = _ref.hostName,
13922
+ children = _ref.children,
13923
+ theme = _ref.theme;
13924
+ var defaultTheme = useTheme();
13925
+ var _usePortal = usePortal(hostName),
13926
+ addUpdatePortal = _usePortal.addPortal,
13927
+ removePortal = _usePortal.removePortal;
13928
+ var nameOrRandom = useMemo(function () {
13929
+ return name || nanoid();
13930
+ }, [name]);
13931
+ var ChildrenComponent = useMemo(function () {
13932
+ return /*#__PURE__*/React.createElement(ThemeProvider, {
13933
+ theme: theme || defaultTheme
13934
+ }, children);
13935
+ }, [theme, children, defaultTheme]);
13936
+ useLayoutEffect(function () {
13937
+ addUpdatePortal(nameOrRandom, ChildrenComponent);
13938
+ return function () {
13939
+ removePortal(nameOrRandom);
13940
+ };
13941
+ }, [addUpdatePortal]);
13942
+ useLayoutEffect(function () {
13943
+ addUpdatePortal(nameOrRandom, ChildrenComponent);
13944
+ }, [ChildrenComponent]);
13945
+ return null;
13946
+ };
13947
+ var Portal = /*#__PURE__*/memo(PortalComponent);
13948
+ Portal.displayName = 'Portal';
13949
+ var Portal$1 = Object.assign(Portal, {
13950
+ Provider: PortalProvider,
13951
+ Host: PortalHost
13952
+ });
13953
+
13954
+ var _excluded$e = ["visible"];
13955
+ var DEFAULT_BACKDROP_OPACITY = 0.4;
13956
+ var DEFAULT_ANIMATION_CONFIG = {
13957
+ easing: Easing.inOut(Easing.cubic),
13958
+ useNativeDriver: Platform.OS !== 'web',
13959
+ duration: 400
13960
+ };
13961
+ var Modal = /*#__PURE__*/forwardRef(function (_ref, ref) {
13962
+ var children = _ref.children,
13963
+ onShow = _ref.onShow,
13964
+ onRequestClose = _ref.onRequestClose,
13965
+ testID = _ref.testID,
13966
+ _ref$animationType = _ref.animationType,
13967
+ animationType = _ref$animationType === void 0 ? 'none' : _ref$animationType,
13968
+ _ref$transparent = _ref.transparent,
13969
+ transparent = _ref$transparent === void 0 ? false : _ref$transparent,
13970
+ onDismiss = _ref.onDismiss;
13971
+ var theme = useTheme();
13972
+ var animatedBackdropValue = useRef(new Animated.Value(0)).current;
13973
+ var animatedModalValue = useRef(new Animated.Value(0)).current;
13974
+ // Show or hide the backdrop and modal content
13975
+ var animateBackdropAndContent = useCallback(function (_ref2) {
13976
+ var toValue = _ref2.toValue,
13977
+ callback = _ref2.callback;
13978
+ if (animationType !== 'none') {
13979
+ // Backdrop animation
13980
+ if (!transparent) {
13981
+ Animated.timing(animatedBackdropValue, _objectSpread2({
13982
+ toValue: toValue
13983
+ }, DEFAULT_ANIMATION_CONFIG)).start();
13984
+ }
13985
+ // Modal content animation
13986
+ Animated.timing(animatedModalValue, _objectSpread2({
13987
+ toValue: toValue
13988
+ }, DEFAULT_ANIMATION_CONFIG)).start(callback);
13989
+ } else {
13990
+ callback === null || callback === void 0 || callback();
13991
+ }
13992
+ }, [animationType, onShow, transparent]);
13993
+ var backdropOpacityAnimation = animatedBackdropValue.interpolate({
13994
+ inputRange: [0, 1],
13995
+ outputRange: [0, DEFAULT_BACKDROP_OPACITY]
13996
+ });
13997
+ var modalAnimation = animatedModalValue.interpolate({
13998
+ inputRange: [0, 1],
13999
+ outputRange: animationType === 'slide' ? [Dimensions.get('window').height, 0] : [0, 1]
14000
+ });
14001
+ useImperativeHandle(ref, function () {
14002
+ return {
14003
+ show: function show() {
14004
+ animateBackdropAndContent({
14005
+ toValue: 1,
14006
+ callback: onShow
14007
+ });
14008
+ },
14009
+ hide: function hide(wrapperCallback) {
14010
+ animateBackdropAndContent({
14011
+ toValue: 0,
14012
+ callback: function callback() {
14013
+ if (Platform.OS === 'ios') {
14014
+ onDismiss === null || onDismiss === void 0 || onDismiss();
14015
+ }
14016
+ wrapperCallback();
14017
+ }
14018
+ });
14019
+ }
14020
+ };
14021
+ }, [onDismiss, onShow, animateBackdropAndContent]);
14022
+ // Back button handler
14023
+ useEffect(function () {
14024
+ var backHandler = BackHandler.addEventListener('hardwareBackPress', function () {
14025
+ onRequestClose === null || onRequestClose === void 0 || onRequestClose();
14026
+ return true;
14027
+ });
14028
+ return function () {
14029
+ return backHandler.remove();
14030
+ };
14031
+ }, [onRequestClose]);
14032
+ return /*#__PURE__*/React.createElement(Portal$1, null, /*#__PURE__*/React.createElement(Animated.View, {
14033
+ style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
14034
+ backgroundColor: transparent ? 'transparent' : theme.colors.overlayGlobalSurface,
14035
+ opacity: animationType !== 'none' ? backdropOpacityAnimation : DEFAULT_BACKDROP_OPACITY
14036
+ })
14037
+ }), /*#__PURE__*/React.createElement(Animated.View, {
14038
+ testID: testID,
14039
+ style: _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
14040
+ opacity: animationType === 'fade' ? modalAnimation : 1,
14041
+ transform: [{
14042
+ translateY: animationType === 'slide' ? modalAnimation : 0
14043
+ }]
14044
+ })
14045
+ }, children));
14046
+ });
14047
+ var ModalWrapper = function ModalWrapper(_ref3) {
14048
+ var _ref3$visible = _ref3.visible,
14049
+ visible = _ref3$visible === void 0 ? true : _ref3$visible,
14050
+ props = _objectWithoutProperties(_ref3, _excluded$e);
14051
+ var modalRef = useRef(null);
14052
+ var _useState = useState(visible),
14053
+ _useState2 = _slicedToArray(_useState, 2),
14054
+ internalVisible = _useState2[0],
14055
+ setInternalVisible = _useState2[1];
14056
+ useEffect(function () {
14057
+ if (visible) {
14058
+ setInternalVisible(true);
14059
+ } else {
14060
+ var _modalRef$current;
14061
+ // Wait for animation to finish before hiding the modal
14062
+ (_modalRef$current = modalRef.current) === null || _modalRef$current === void 0 || _modalRef$current.hide(function () {
14063
+ return setInternalVisible(false);
14064
+ });
14065
+ }
14066
+ }, [visible]);
14067
+ useEffect(function () {
14068
+ if (internalVisible) {
14069
+ var _modalRef$current2;
14070
+ (_modalRef$current2 = modalRef.current) === null || _modalRef$current2 === void 0 || _modalRef$current2.show();
14071
+ }
14072
+ }, [internalVisible]);
14073
+ return internalVisible ? /*#__PURE__*/React.createElement(Modal, _extends$1({
14074
+ ref: modalRef
14075
+ }, props)) : null;
14076
+ };
14077
+
13807
14078
  var StyledErrorModal = index$a(ModalWrapper)({
13808
14079
  height: '100%',
13809
14080
  width: '100%'
@@ -13887,7 +14158,7 @@ var StyledErrorDescription = index$a(Typography.Body)(function (_ref9) {
13887
14158
  });
13888
14159
 
13889
14160
  var _excluded$d = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"],
13890
- _excluded2 = ["variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
14161
+ _excluded2 = ["visible", "variant", "title", "description", "image", "testID", "ctaText", "onCtaPress", "secondaryCtaText", "onSecondaryCtaPress"];
13891
14162
  var renderImage$1 = function renderImage(image) {
13892
14163
  if ( /*#__PURE__*/isValidElement(image)) {
13893
14164
  return /*#__PURE__*/React.cloneElement(image, {
@@ -13941,7 +14212,9 @@ var ErrorPage = function ErrorPage(_ref) {
13941
14212
  * @return {*} {ReactElement}
13942
14213
  */
13943
14214
  var Error$1 = function Error(_ref2) {
13944
- var _ref2$variant = _ref2.variant,
14215
+ var _ref2$visible = _ref2.visible,
14216
+ visible = _ref2$visible === void 0 ? true : _ref2$visible,
14217
+ _ref2$variant = _ref2.variant,
13945
14218
  variant = _ref2$variant === void 0 ? 'in-page' : _ref2$variant,
13946
14219
  title = _ref2.title,
13947
14220
  description = _ref2.description,
@@ -13952,7 +14225,8 @@ var Error$1 = function Error(_ref2) {
13952
14225
  secondaryCtaText = _ref2.secondaryCtaText,
13953
14226
  onSecondaryCtaPress = _ref2.onSecondaryCtaPress,
13954
14227
  nativeProps = _objectWithoutProperties(_ref2, _excluded2);
13955
- var _useState = useState(true),
14228
+ useDeprecation("Visible prop is deprecated. Use conditional rendering instead", visible);
14229
+ var _useState = useState(visible),
13956
14230
  _useState2 = _slicedToArray(_useState, 2),
13957
14231
  isVisible = _useState2[0],
13958
14232
  setIsVisible = _useState2[1];
@@ -13969,6 +14243,9 @@ var Error$1 = function Error(_ref2) {
13969
14243
  }
13970
14244
  setCtaPressed(null);
13971
14245
  }, [ctaPressed, onCtaPress, onSecondaryCtaPress]);
14246
+ useEffect(function () {
14247
+ setIsVisible(visible);
14248
+ }, [visible]);
13972
14249
  // These useEffect lines prevents race condition error when callback contains navigation logic
13973
14250
  useEffect(function () {
13974
14251
  if (ctaPressed) {
@@ -14325,7 +14602,8 @@ var StyledBackdrop = index$a(AnimatedPressable)(function (_ref2) {
14325
14602
  });
14326
14603
 
14327
14604
  var ActionGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
14328
- var onPress = _ref.onPress,
14605
+ var headerTitle = _ref.headerTitle,
14606
+ onPress = _ref.onPress,
14329
14607
  active = _ref.active,
14330
14608
  style = _ref.style,
14331
14609
  items = _ref.items,
@@ -14334,6 +14612,7 @@ var ActionGroup = /*#__PURE__*/forwardRef(function (_ref, ref) {
14334
14612
  onBackdropPress = _ref.onBackdropPress,
14335
14613
  _ref$fabIcon = _ref.fabIcon,
14336
14614
  fabIcon = _ref$fabIcon === void 0 ? 'add' : _ref$fabIcon;
14615
+ useDeprecation("FAB.ActionGroup's headerTitle prop will be removed in the next major release. Please remove it.", headerTitle !== undefined);
14337
14616
  var fabRef = useRef(null);
14338
14617
  var tranlateXAnimation = useRef(new Animated.Value(active ? 1 : 0));
14339
14618
  React.useImperativeHandle(ref, function () {
@@ -14428,11 +14707,12 @@ var index$6 = Object.assign(FAB, {
14428
14707
  });
14429
14708
 
14430
14709
  var ToastContainerWrapper = index$a(View)(function (_ref) {
14431
- var theme = _ref.theme;
14710
+ var theme = _ref.theme,
14711
+ position = _ref.position;
14432
14712
  return _objectSpread2(_objectSpread2({}, StyleSheet$1.absoluteFillObject), {}, {
14433
14713
  paddingHorizontal: theme.__hd__.toast.space.wrapperVerticalPadding,
14434
14714
  paddingVertical: theme.__hd__.toast.space.wrapperHorizontalPadding,
14435
- flexDirection: 'column-reverse',
14715
+ flexDirection: position === 'bottom' ? 'column-reverse' : 'column',
14436
14716
  elevation: 9999
14437
14717
  });
14438
14718
  });
@@ -14485,6 +14765,15 @@ var CTAWrapper = index$a(TouchableOpacity)(function (_ref6) {
14485
14765
  };
14486
14766
  });
14487
14767
 
14768
+ var ToastContext = /*#__PURE__*/createContext({});
14769
+ var ToastConfigContext = /*#__PURE__*/createContext({});
14770
+ var useToastConfig = function useToastConfig() {
14771
+ return useContext(ToastConfigContext);
14772
+ };
14773
+ var useToast = function useToast() {
14774
+ return useContext(ToastContext);
14775
+ };
14776
+
14488
14777
  var getIntentIcon = function getIntentIcon(intent) {
14489
14778
  switch (intent) {
14490
14779
  case 'success':
@@ -14528,6 +14817,7 @@ var Toast$1 = function Toast(_ref2) {
14528
14817
  _ref2$distance = _ref2.distance,
14529
14818
  distance = _ref2$distance === void 0 ? 0 : _ref2$distance;
14530
14819
  var animatedValue = useRef(new Animated.Value(0)).current;
14820
+ var toastConfig = useToastConfig();
14531
14821
  useEffect(function () {
14532
14822
  if (autoDismiss && duration >= 0) {
14533
14823
  var id = setTimeout(function () {
@@ -14553,7 +14843,7 @@ var Toast$1 = function Toast(_ref2) {
14553
14843
  });
14554
14844
  var interpolateY = animatedValue.interpolate({
14555
14845
  inputRange: [0, 1],
14556
- outputRange: [20, -distance]
14846
+ outputRange: toastConfig.position === 'top' ? [-20, distance] : [20, -distance]
14557
14847
  });
14558
14848
  return /*#__PURE__*/React.createElement(Container, {
14559
14849
  themeVariant: variant,
@@ -14611,6 +14901,8 @@ var SingleToastDisplay = function SingleToastDisplay(_ref) {
14611
14901
  var ToastContainer = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
14612
14902
  var _ref2$displayType = _ref2.displayType,
14613
14903
  displayType = _ref2$displayType === void 0 ? 'single' : _ref2$displayType,
14904
+ _ref2$position = _ref2.position,
14905
+ position = _ref2$position === void 0 ? 'bottom' : _ref2$position,
14614
14906
  style = _ref2.style;
14615
14907
  var theme = useTheme$1();
14616
14908
  var _useState = useState([]),
@@ -14643,6 +14935,7 @@ var ToastContainer = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
14643
14935
  });
14644
14936
  return /*#__PURE__*/React.createElement(ToastContainerWrapper, {
14645
14937
  pointerEvents: "box-none",
14938
+ position: position,
14646
14939
  style: style
14647
14940
  }, displayType === 'single' ? /*#__PURE__*/React.createElement(SingleToastDisplay, {
14648
14941
  toastList: toastList,
@@ -14669,16 +14962,13 @@ var ToastContainer = /*#__PURE__*/React.forwardRef(function (_ref2, ref) {
14669
14962
  });
14670
14963
  ToastContainer.displayName = 'ToastContainer';
14671
14964
 
14672
- var ToastContext = /*#__PURE__*/createContext({});
14673
- var ToastConfigContext = /*#__PURE__*/createContext({});
14674
- var useToast = function useToast() {
14675
- return useContext(ToastContext);
14676
- };
14677
-
14678
14965
  var ToastProvider = function ToastProvider(_ref) {
14679
14966
  var children = _ref.children,
14680
14967
  _ref$displayType = _ref.displayType,
14681
- displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType;
14968
+ displayType = _ref$displayType === void 0 ? 'single' : _ref$displayType,
14969
+ _position = _ref.position;
14970
+ var position = _position === undefined ? 'bottom' : _position;
14971
+ useDeprecation("Toast's position prop is deprecated and will be removed in the next major release.\nPlease remove it.", _position !== undefined);
14682
14972
  var toastRef = useRef(null);
14683
14973
  // @ts-expect-error: TODO: @tungv Fix this type error
14684
14974
  var _useState = useState(null),
@@ -14692,9 +14982,10 @@ var ToastProvider = function ToastProvider(_ref) {
14692
14982
  }, []);
14693
14983
  var config = useMemo(function () {
14694
14984
  return {
14695
- displayType: displayType
14985
+ displayType: displayType,
14986
+ position: position
14696
14987
  };
14697
- }, [displayType]);
14988
+ }, [displayType, position]);
14698
14989
  return /*#__PURE__*/React.createElement(ToastContext.Provider, {
14699
14990
  value: refState
14700
14991
  }, /*#__PURE__*/React.createElement(View, {
@@ -14705,7 +14996,8 @@ var ToastProvider = function ToastProvider(_ref) {
14705
14996
  value: config
14706
14997
  }, /*#__PURE__*/React.createElement(ToastContainer, {
14707
14998
  ref: toastRef,
14708
- displayType: displayType
14999
+ displayType: displayType,
15000
+ position: position
14709
15001
  }))));
14710
15002
  };
14711
15003
 
@@ -15812,12 +16104,18 @@ var SectionHeading = function SectionHeading(_ref) {
15812
16104
  var icon = _ref.icon,
15813
16105
  text = _ref.text,
15814
16106
  rightChildren = _ref.rightChildren,
16107
+ _ref$fontSize = _ref.fontSize,
16108
+ fontSize = _ref$fontSize === void 0 ? 'large' : _ref$fontSize,
15815
16109
  _ref$intent = _ref.intent,
15816
16110
  intent = _ref$intent === void 0 ? 'body' : _ref$intent,
16111
+ _ref$fontWeight = _ref.fontWeight,
16112
+ fontWeight = _ref$fontWeight === void 0 ? 'regular' : _ref$fontWeight,
15817
16113
  _ref$size = _ref.size,
15818
16114
  size = _ref$size === void 0 ? 'medium' : _ref$size,
15819
16115
  style = _ref.style,
15820
16116
  testID = _ref.testID;
16117
+ useDeprecation("SectionHeading's fontSize prop is deprecated and will be removed in the next major release, please remove it.", fontSize !== undefined);
16118
+ useDeprecation("SectionHeading's fontWeight prop is deprecated and will be removed in the next major release, please remove it.", fontWeight !== undefined);
15821
16119
  return /*#__PURE__*/React.createElement(StyledHeading, {
15822
16120
  themeSize: size,
15823
16121
  style: style,
@@ -17030,10 +17328,6 @@ var useAnimatedValueArray = function useAnimatedValueArray(initialValues) {
17030
17328
  return refs.current;
17031
17329
  };
17032
17330
 
17033
- var isHeroIcon = function isHeroIcon(x) {
17034
- return IconList.includes(x);
17035
- };
17036
-
17037
17331
  var TabWithBadge = function TabWithBadge(_ref) {
17038
17332
  var config = _ref.config,
17039
17333
  tabItem = _ref.tabItem;
@@ -17454,14 +17748,17 @@ var StyledText = index$a(Typography.Caption)(function (_ref2) {
17454
17748
  };
17455
17749
  });
17456
17750
 
17457
- var _excluded$2 = ["content", "intent", "style", "testID"];
17751
+ var _excluded$2 = ["content", "variant", "intent", "style", "testID"];
17458
17752
  var Tag = function Tag(_ref) {
17459
17753
  var content = _ref.content,
17754
+ _ref$variant = _ref.variant,
17755
+ variant = _ref$variant === void 0 ? 'outlined' : _ref$variant,
17460
17756
  _ref$intent = _ref.intent,
17461
17757
  intent = _ref$intent === void 0 ? 'primary' : _ref$intent,
17462
17758
  style = _ref.style,
17463
17759
  testID = _ref.testID,
17464
17760
  nativeProps = _objectWithoutProperties(_ref, _excluded$2);
17761
+ useDeprecation("Tag's variant prop is deprecated and will be removed in the next major release. Please remove it.", variant !== undefined);
17465
17762
  return /*#__PURE__*/React.createElement(StyledView, _extends$1({}, nativeProps, {
17466
17763
  themeIntent: intent,
17467
17764
  style: style,
@@ -34016,4 +34313,4 @@ var index = Object.assign(RichTextEditorWithRef, {
34016
34313
  Toolbar: EditorToolbar
34017
34314
  });
34018
34315
 
34019
- export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$8 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, Error$1 as Error, index$6 as FAB, HeroDesignProvider, Icon, Image, List, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, SectionHeading, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };
34316
+ export { Accordion, Alert, Attachment, index$9 as Avatar, Badge$1 as Badge, BottomNavigation, BottomSheet$1 as BottomSheet, Box, CompoundButton as Button, Calendar, Card$1 as Card, index$8 as Carousel, Checkbox, Chip, Collapse, ContentNavigator, DatePicker, Divider, index$7 as Drawer, Empty, Error$1 as Error, index$6 as FAB, HeroDesignProvider, Icon, Image, List, PageControl, PinInput, Portal$1 as Portal, Progress, CompoundRadio as Radio, Rate, RefreshControl, index as RichTextEditor, SectionHeading, index$4 as Select, Skeleton, Slider, Spinner, Success, index$5 as Swipeable, index$3 as Switch, index$2 as Tabs, Tag, TextInput, ThemeProvider, ThemeSwitcher, TimePicker, Toast, index$1 as Toolbar, Typography, eBensSystemPalette, getTheme$1 as getTheme, jobsSystemPalette, scale, swagDarkSystemPalette, swagSystemPalette, defaultTheme as theme, useAvatarColors, useTheme, walletSystemPalette, withTheme, workSystemPalette };