@hero-design/rn 7.25.1 → 7.26.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 (140) hide show
  1. package/.turbo/turbo-build.log +9 -9
  2. package/assets/fonts/BeVietnamPro-Bold.ttf +0 -0
  3. package/assets/fonts/{be-vietnam-pro-light.ttf → BeVietnamPro-Light.ttf} +0 -0
  4. package/assets/fonts/{be-vietnam-pro-regular.ttf → BeVietnamPro-Regular.ttf} +0 -0
  5. package/assets/fonts/{be-vietnam-pro-semibold.ttf → BeVietnamPro-SemiBold.ttf} +0 -0
  6. package/assets/fonts/RebondGrotesque-Light.otf +0 -0
  7. package/assets/fonts/RebondGrotesque-Regular.otf +0 -0
  8. package/assets/fonts/RebondGrotesque-SemiBold.otf +0 -0
  9. package/assets/fonts/hero-icons-mobile.ttf +0 -0
  10. package/es/index.js +9150 -12295
  11. package/jest.config.js +6 -2
  12. package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
  13. package/lib/index.js +9150 -12294
  14. package/package.json +4 -4
  15. package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +8 -0
  16. package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  17. package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +11 -0
  18. package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  19. package/src/components/Avatar/{index.tsx → Avatar.tsx} +33 -18
  20. package/src/components/Avatar/AvatarStack/StyledAvatarStack.tsx +29 -0
  21. package/src/components/Avatar/AvatarStack/__tests__/StyledAvatarStack.spec.tsx +33 -0
  22. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +80 -0
  23. package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +552 -0
  24. package/src/components/Avatar/AvatarStack/__tests__/index.spec.tsx +59 -0
  25. package/src/components/Avatar/AvatarStack/index.tsx +61 -0
  26. package/src/components/Avatar/AvatarStack/utils.ts +22 -0
  27. package/src/components/Avatar/StyledAvatar.tsx +6 -25
  28. package/src/components/Avatar/__tests__/StyledAvatar.spec.tsx +3 -19
  29. package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -24
  30. package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +118 -20
  31. package/src/components/Avatar/__tests__/index.spec.tsx +25 -8
  32. package/src/components/Avatar/index.ts +6 -0
  33. package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +1 -0
  34. package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  35. package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  36. package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  37. package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +11 -0
  38. package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -0
  39. package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
  40. package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
  41. package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  42. package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  43. package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +1 -0
  44. package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -0
  45. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +1 -0
  46. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +3 -0
  47. package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -0
  48. package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -0
  49. package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
  50. package/src/components/Icon/IconList.ts +11 -0
  51. package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +4 -0
  52. package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +54 -31
  53. package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +4 -0
  54. package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +5 -1
  55. package/src/components/Progress/ProgressBar.tsx +19 -2
  56. package/src/components/Progress/ProgressCircle.tsx +30 -9
  57. package/src/components/Progress/StyledProgressBar.tsx +14 -7
  58. package/src/components/Progress/StyledProgressCircle.tsx +35 -24
  59. package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +337 -30
  60. package/src/components/Progress/__tests__/index.spec.js +15 -0
  61. package/src/components/Progress/constants.ts +16 -0
  62. package/src/components/Progress/types.ts +7 -1
  63. package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +2 -0
  64. package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +3 -0
  65. package/src/components/RichTextEditor/RichTextEditor.tsx +1 -1
  66. package/src/components/RichTextEditor/__mocks__/heroEditorApp.ts +2 -0
  67. package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +36 -25
  68. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +8 -4
  69. package/src/components/RichTextEditor/heroEditorApp.ts +3 -0
  70. package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +4 -0
  71. package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  72. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  73. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +51 -0
  74. package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +22 -0
  75. package/src/components/Select/MultiSelect/index.tsx +35 -13
  76. package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  77. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +20 -0
  78. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +46 -0
  79. package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -0
  80. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +3 -0
  81. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  82. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +1 -0
  83. package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +1 -0
  84. package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2 -0
  85. package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +5 -0
  86. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +22 -0
  87. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +31 -0
  88. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +1 -0
  89. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +3 -0
  90. package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +13 -0
  91. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +6 -0
  92. package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -0
  93. package/src/components/Typography/Text/StyledText.tsx +6 -2
  94. package/src/components/Typography/Text/__tests__/StyledText.spec.tsx +22 -0
  95. package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +63 -0
  96. package/src/components/Typography/Text/index.tsx +8 -0
  97. package/src/index.ts +2 -1
  98. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +84 -21
  99. package/src/theme/components/avatar.ts +29 -5
  100. package/src/theme/components/badge.ts +1 -1
  101. package/src/theme/components/button.ts +2 -2
  102. package/src/theme/components/empty.ts +2 -2
  103. package/src/theme/components/fab.ts +3 -3
  104. package/src/theme/components/pinInput.ts +2 -2
  105. package/src/theme/components/progress.ts +37 -9
  106. package/src/theme/components/tag.ts +1 -1
  107. package/src/theme/components/typography.ts +1 -7
  108. package/src/theme/global/colors/global.ts +12 -3
  109. package/src/theme/global/colors/types.ts +5 -0
  110. package/src/theme/global/scale.ts +6 -2
  111. package/src/theme/global/typography.ts +23 -5
  112. package/types/components/Avatar/Avatar.d.ts +33 -0
  113. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +17 -0
  114. package/types/components/Avatar/AvatarStack/index.d.ts +23 -0
  115. package/types/components/Avatar/AvatarStack/utils.d.ts +4 -0
  116. package/types/components/Avatar/StyledAvatar.d.ts +2 -12
  117. package/types/components/Avatar/index.d.ts +6 -25
  118. package/types/components/Icon/IconList.d.ts +1 -1
  119. package/types/components/Icon/index.d.ts +1 -1
  120. package/types/components/Icon/utils.d.ts +1 -1
  121. package/types/components/Progress/ProgressBar.d.ts +1 -1
  122. package/types/components/Progress/ProgressCircle.d.ts +4 -2
  123. package/types/components/Progress/StyledProgressBar.d.ts +2 -0
  124. package/types/components/Progress/StyledProgressCircle.d.ts +2 -0
  125. package/types/components/Progress/constants.d.ts +15 -0
  126. package/types/components/Progress/index.d.ts +1 -1
  127. package/types/components/Progress/types.d.ts +1 -1
  128. package/types/components/RichTextEditor/__mocks__/heroEditorApp.d.ts +2 -0
  129. package/types/components/RichTextEditor/heroEditorApp.d.ts +2 -0
  130. package/types/components/Select/MultiSelect/index.d.ts +4 -1
  131. package/types/components/Typography/Text/StyledText.d.ts +1 -0
  132. package/types/components/Typography/Text/index.d.ts +7 -1
  133. package/types/index.d.ts +2 -2
  134. package/types/theme/components/avatar.d.ts +4 -2
  135. package/types/theme/components/progress.d.ts +30 -9
  136. package/types/theme/components/typography.d.ts +1 -5
  137. package/types/theme/global/colors/types.d.ts +5 -0
  138. package/types/theme/global/index.d.ts +5 -0
  139. package/types/theme/global/scale.d.ts +4 -1
  140. package/types/theme/global/typography.d.ts +9 -2
@@ -4,7 +4,8 @@ const BASE_SPACE = 8;
4
4
 
5
5
  const BASE_SIZE = 8;
6
6
 
7
- const BASE_FONT = 'BeVietnamPro';
7
+ const NEUTRAL_FONT = 'BeVietnamPro';
8
+ const PLAYFUL_FONT = 'DarkerGrotesque';
8
9
 
9
10
  const BASE_FONT_SIZE = 10;
10
11
 
@@ -14,7 +15,10 @@ const scale = {
14
15
  borderWidth: BASE_BORDER_WIDTH,
15
16
  space: BASE_SPACE,
16
17
  size: BASE_SIZE,
17
- font: BASE_FONT,
18
+ font: {
19
+ neutral: NEUTRAL_FONT,
20
+ playful: PLAYFUL_FONT,
21
+ },
18
22
  fontSize: BASE_FONT_SIZE,
19
23
  radius: BASE_RADIUS,
20
24
  };
@@ -1,11 +1,16 @@
1
1
  import { scale } from '../../utils/scale';
2
2
 
3
- interface Fonts {
3
+ interface FontWeights {
4
4
  light: string;
5
5
  regular: string;
6
6
  semiBold: string;
7
7
  }
8
8
 
9
+ interface Fonts {
10
+ neutral: FontWeights;
11
+ playful: FontWeights;
12
+ }
13
+
9
14
  interface FontSizes {
10
15
  xxxxxlarge: number;
11
16
  xxxxlarge: number;
@@ -25,10 +30,23 @@ type LineHeights = FontSizes;
25
30
  const genFontSize = (prev: number, at: number): number =>
26
31
  prev + Math.floor(Math.abs((at - 2) / 4) + 1) * 2;
27
32
 
28
- const getFonts = (baseFont: string): Fonts => ({
29
- light: `${baseFont}-Light`,
30
- regular: `${baseFont}-Regular`,
31
- semiBold: `${baseFont}-SemiBold`,
33
+ const getFonts = ({
34
+ neutral,
35
+ playful,
36
+ }: {
37
+ neutral: string;
38
+ playful: string;
39
+ }): Fonts => ({
40
+ neutral: {
41
+ light: `${neutral}-Light`,
42
+ regular: `${neutral}-Regular`,
43
+ semiBold: `${neutral}-SemiBold`,
44
+ },
45
+ playful: {
46
+ light: `${playful}-Light`,
47
+ regular: `${playful}-Regular`,
48
+ semiBold: `${playful}-SemiBold`,
49
+ },
32
50
  });
33
51
 
34
52
  const getFontSizes = (baseFontSize: number): FontSizes => {
@@ -0,0 +1,33 @@
1
+ import type { ImageSourcePropType, StyleProp, ViewProps, ViewStyle } from 'react-native';
2
+ export interface AvatarProps extends ViewProps {
3
+ /**
4
+ * Callback function when pressing component.
5
+ */
6
+ onPress?: () => void;
7
+ /**
8
+ * Image source to be displayed on avatar.
9
+ */
10
+ source?: ImageSourcePropType;
11
+ /**
12
+ * Renders title in the placeholder.
13
+ */
14
+ title?: string;
15
+ /**
16
+ * Intent of the Icon.
17
+ */
18
+ intent?: 'primary' | 'info' | 'danger' | 'success' | 'warning';
19
+ /**
20
+ * Size of the avatar.
21
+ */
22
+ size?: 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
23
+ /**
24
+ * Additional style.
25
+ */
26
+ style?: StyleProp<ViewStyle>;
27
+ /**
28
+ * Testing id of the component.
29
+ */
30
+ testID?: string;
31
+ }
32
+ declare const Avatar: ({ onPress, source, testID, style, title, size, intent, }: AvatarProps) => JSX.Element | null;
33
+ export default Avatar;
@@ -0,0 +1,17 @@
1
+ import { View } from 'react-native';
2
+ import { AvatarProps } from '../Avatar';
3
+ export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ } & {
7
+ themeSize: Required<AvatarProps>['size'];
8
+ themeAvatarCount: number;
9
+ }, {}, {
10
+ ref?: import("react").Ref<View> | undefined;
11
+ }>;
12
+ export declare const StyledAvatar: import("@emotion/native").StyledComponent<AvatarProps & {
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any> | undefined;
15
+ } & {
16
+ themeIndex: number;
17
+ }, {}, {}>;
@@ -0,0 +1,23 @@
1
+ import { ReactElement } from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import { AvatarProps } from '../Avatar';
4
+ export interface AvatarStackProps extends Pick<AvatarProps, 'size'> {
5
+ /**
6
+ * Avatar elements to be rendered.
7
+ */
8
+ children: ReactElement<Omit<AvatarProps, 'size' | 'style'>>[];
9
+ /**
10
+ * Max avatars to show.
11
+ */
12
+ max?: number;
13
+ /**
14
+ * Additional style.
15
+ */
16
+ style?: StyleProp<ViewStyle>;
17
+ /**
18
+ * Testing id of the component.
19
+ */
20
+ testID?: string;
21
+ }
22
+ declare const AvatarStack: ({ children, max, size, style, testID, }: AvatarStackProps) => JSX.Element;
23
+ export default AvatarStack;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Hook that returns a memoized and shuffled array of visualisation colors for Avatar.
3
+ */
4
+ export declare const useAvatarColors: () => string[];
@@ -1,7 +1,7 @@
1
1
  import { View, Image, TouchableOpacity, Text } from 'react-native';
2
2
  declare type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
3
3
  declare type ThemeIntent = 'primary' | 'info' | 'danger' | 'success' | 'warning';
4
- declare const StyledPressable: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
4
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
7
7
  } & {
@@ -10,15 +10,6 @@ declare const StyledPressable: import("@emotion/native").StyledComponent<import(
10
10
  }, {}, {
11
11
  ref?: import("react").Ref<TouchableOpacity> | undefined;
12
12
  }>;
13
- declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
16
- } & {
17
- themeSize: ThemeSize;
18
- themeIntent: ThemeIntent;
19
- }, {}, {
20
- ref?: import("react").Ref<View> | undefined;
21
- }>;
22
13
  declare const StyledTextWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
14
  theme?: import("@emotion/react").Theme | undefined;
24
15
  as?: import("react").ElementType<any> | undefined;
@@ -30,7 +21,6 @@ declare const StyledText: import("@emotion/native").StyledComponent<import("reac
30
21
  as?: import("react").ElementType<any> | undefined;
31
22
  } & {
32
23
  themeSize: ThemeSize;
33
- themeIntent: ThemeIntent;
34
24
  }, {}, {
35
25
  ref?: import("react").Ref<Text> | undefined;
36
26
  }>;
@@ -42,4 +32,4 @@ declare const StyledImage: import("@emotion/native").StyledComponent<import("rea
42
32
  }, {}, {
43
33
  ref?: import("react").Ref<Image> | undefined;
44
34
  }>;
45
- export { StyledPressable, StyledView, StyledImage, StyledTextWrapper, StyledText, };
35
+ export { StyledWrapper, StyledImage, StyledTextWrapper, StyledText };
@@ -1,25 +1,6 @@
1
- import type { ImageSourcePropType, StyleProp, ViewProps, ViewStyle } from 'react-native';
2
- interface AvatarProps extends ViewProps {
3
- /** Callback function when pressing component. */
4
- onPress?: () => void;
5
- /** Image source to be displayed on avatar. */
6
- source?: ImageSourcePropType;
7
- /** Renders title in the placeholder. */
8
- title?: string;
9
- /**
10
- * Intent of the Icon.
11
- */
12
- intent?: 'primary' | 'info' | 'danger' | 'success' | 'warning';
13
- /** Size of the avatar. */
14
- size?: 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
15
- /**
16
- * Additional style.
17
- */
18
- style?: StyleProp<ViewStyle>;
19
- /**
20
- * Testing id of the component.
21
- */
22
- testID?: string;
23
- }
24
- declare const Avatar: ({ onPress, source, testID, style, title, size, intent, }: AvatarProps) => JSX.Element | null;
25
- export default Avatar;
1
+ import { useAvatarColors } from './AvatarStack/utils';
2
+ declare const _default: (({ onPress, source, testID, style, title, size, intent, }: import("./Avatar").AvatarProps) => JSX.Element | null) & {
3
+ Stack: ({ children, max, size, style, testID, }: import("./AvatarStack").AvatarStackProps) => JSX.Element;
4
+ };
5
+ export default _default;
6
+ export { useAvatarColors };
@@ -1,2 +1,2 @@
1
- declare const IconList: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-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", "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", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "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-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "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", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "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", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
1
+ declare const IconList: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "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", "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", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "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-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "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", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "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", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "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", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
2
2
  export default IconList;
@@ -29,6 +29,6 @@ export interface IconProps {
29
29
  }
30
30
  declare const Icon: {
31
31
  ({ icon, style, size, intent, testID, spin, }: IconProps): JSX.Element;
32
- List: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-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", "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", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "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-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "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", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-active-outlined", "home-outlined", "id-card-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "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", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
32
+ List: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "antenna", "archive", "assignment-warning", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left-small", "carat-left", "carat-right-small", "carat-right", "carat-up-small", "carat-up", "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", "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", "lock", "looks-one", "looks-two", "media-content", "menu", "moneybag", "moon", "multiple-stars", "multiple-users", "node", "open-folder", "paperclip", "payment-summary", "pencil", "phone", "piggy-bank", "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-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "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", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-downwards", "arrow-left", "arrow-leftwards", "arrow-right", "arrow-rightwards", "arrow-up", "arrow-upwards", "at-sign", "bell-active-outlined", "bell-outlined", "bell-slash-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-added-outlined", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "comment-outlined", "contacts-outlined", "credit-card-outlined", "cup-outlined", "direction-arrows-outlined", "directory-outlined", "document-outlined", "dollar-card-outlined", "dollar-coin-shine-outlined", "dollar-sign", "double-buildings-outlined", "double-left-arrows", "double-right-arrows", "download-outlined", "edit-template-outlined", "email-outlined", "enter-arrow", "envelope-outlined", "expense-outlined", "explore-outlined", "external-link", "eye-invisible-outlined", "eye-outlined", "face-id", "face-meh-outlined", "face-open-smiley-outlined", "face-sad-outlined", "face-smiley-outlined", "feed-outlined", "file-certified-outlined", "file-clone-outlined", "file-copy-outlined", "file-dispose-outlined", "file-dollar-outlined", "file-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "filter-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "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", "link-1", "link-2", "list-outlined", "live-help-outlined", "location-outlined", "lock-outlined", "locked-file-outlined", "log-out", "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", "payment-summary-outlined", "payslip-outlined", "pencil-outlined", "percentage", "phone-outlined", "piggy-bank-outlined", "plane-outlined", "play-circle-outlined", "print-outlined", "qr-code-outlined", "re-assign", "redeem", "refresh", "remove", "reply-outlined", "restart", "return-arrow", "rostering-outlined", "save-outlined", "schedule-outlined", "search-outlined", "search-secured-outlined", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-active-outlined", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-clock-outlined", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "umbrela-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-gear-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined"];
33
33
  };
34
34
  export default Icon;
@@ -1,2 +1,2 @@
1
- declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "list" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left-small" | "carat-left" | "carat-right-small" | "carat-right" | "carat-up-small" | "carat-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" | "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" | "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" | "import" | "incident-siren" | "instapay" | "loading-2" | "loading" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "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-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "at-sign" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "billing-outlined" | "body-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "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" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "cup-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "explore-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "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" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-active-outlined" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
1
+ declare const isHeroIcon: (x: any) => x is "number" | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "list" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left-small" | "carat-left" | "carat-right-small" | "carat-right" | "carat-up-small" | "carat-up" | "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" | "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" | "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" | "import" | "incident-siren" | "instapay" | "loading-2" | "loading" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "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-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "at-sign" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "billing-outlined" | "body-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "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" | "comment-outlined" | "contacts-outlined" | "credit-card-outlined" | "cup-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "enter-arrow" | "envelope-outlined" | "expense-outlined" | "explore-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "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" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "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" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "qr-code-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "restart" | "return-arrow" | "rostering-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-active-outlined" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
2
2
  export { isHeroIcon };
@@ -7,7 +7,7 @@ export interface ProgressBarProps extends ViewProps {
7
7
  /**
8
8
  * Set intent for your progress.
9
9
  */
10
- intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
10
+ intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'primary-inverted' | 'success-inverted' | 'warning-inverted' | 'danger-inverted' | 'info-inverted' | 'archived-inverted';
11
11
  /**
12
12
  * Additional style.
13
13
  */
@@ -1,18 +1,20 @@
1
+ import React from 'react';
1
2
  import type { ViewProps, StyleProp, ViewStyle } from 'react-native';
2
3
  export interface ProgressCircleProps extends ViewProps {
3
4
  /**
4
5
  * The progress completion percentage: 0-100.
5
6
  */
6
7
  value: number;
8
+ renderValue?: (value: number) => React.ReactNode;
7
9
  /**
8
10
  * Set intent for your progress.
9
11
  */
10
- intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
12
+ intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'primary-inverted' | 'success-inverted' | 'warning-inverted' | 'danger-inverted' | 'info-inverted' | 'archived-inverted';
11
13
  /**
12
14
  * Additional style.
13
15
  */
14
16
  style?: StyleProp<ViewStyle>;
15
17
  testID?: string;
16
18
  }
17
- declare const ProgressCircle: ({ value, intent, style, testID, ...nativeProps }: ProgressCircleProps) => JSX.Element;
19
+ declare const ProgressCircle: ({ value, renderValue, intent, style, testID, ...nativeProps }: ProgressCircleProps) => JSX.Element;
18
20
  export default ProgressCircle;
@@ -4,6 +4,8 @@ import type { ThemeIntent } from './types';
4
4
  declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
6
  as?: import("react").ElementType<any> | undefined;
7
+ } & {
8
+ themeIntent: ThemeIntent;
7
9
  }, {}, {
8
10
  ref?: import("react").Ref<View> | undefined;
9
11
  }>;
@@ -24,6 +24,8 @@ declare const StyledHalfCircleInnerFG: import("@emotion/native").StyledComponent
24
24
  declare const StyledHalfCircleInnerBG: import("@emotion/native").StyledComponent<ViewProps & {
25
25
  theme?: import("@emotion/react").Theme | undefined;
26
26
  as?: import("react").ElementType<any> | undefined;
27
+ } & {
28
+ themeIntent: ThemeIntent;
27
29
  }, {}, {
28
30
  ref?: import("react").Ref<View> | undefined;
29
31
  }>;
@@ -0,0 +1,15 @@
1
+ declare const THEME_INTENT_MAP: {
2
+ readonly primary: "primary";
3
+ readonly success: "success";
4
+ readonly warning: "warning";
5
+ readonly danger: "danger";
6
+ readonly info: "info";
7
+ readonly archived: "archived";
8
+ readonly 'primary-inverted': "primaryInverted";
9
+ readonly 'success-inverted': "successInverted";
10
+ readonly 'warning-inverted': "warningInverted";
11
+ readonly 'danger-inverted': "dangerInverted";
12
+ readonly 'info-inverted': "infoInverted";
13
+ readonly 'archived-inverted': "archivedInverted";
14
+ };
15
+ export { THEME_INTENT_MAP };
@@ -1,5 +1,5 @@
1
1
  declare const Progress: {
2
- readonly Circle: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressCircle").ProgressCircleProps) => JSX.Element;
2
+ readonly Circle: ({ value, renderValue, intent, style, testID, ...nativeProps }: import("./ProgressCircle").ProgressCircleProps) => JSX.Element;
3
3
  readonly Bar: ({ value, intent, style, testID, ...nativeProps }: import("./ProgressBar").ProgressBarProps) => JSX.Element;
4
4
  };
5
5
  export default Progress;
@@ -1 +1 @@
1
- export declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
1
+ export declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'primary-inverted' | 'success-inverted' | 'warning-inverted' | 'danger-inverted' | 'info-inverted' | 'archived-inverted';
@@ -0,0 +1,2 @@
1
+ declare const mockHeroEditApp = "mockHeroEditApp";
2
+ export default mockHeroEditApp;
@@ -0,0 +1,2 @@
1
+ import * as heroEditorApp from 'hero-editor/dist/app.js';
2
+ export default heroEditorApp;
@@ -13,7 +13,10 @@ export interface MultiSelectProps<V, T extends OptionType<V> = OptionType<V>> ex
13
13
  /**
14
14
  * Footer label.
15
15
  */
16
- footerLabel: string;
16
+ footerLabel: string | (({ value, closeModal, }: {
17
+ value: V[];
18
+ closeModal: () => void;
19
+ }) => React.ReactNode);
17
20
  /**
18
21
  * Customise the selected value rendering.
19
22
  */
@@ -6,6 +6,7 @@ declare const StyledText: import("@emotion/native").StyledComponent<import("reac
6
6
  themeFontSize: 'small' | 'medium' | 'large' | 'xlarge' | 'xxxlarge' | 'xxxxxlarge';
7
7
  themeFontWeight: 'light' | 'regular' | 'semi-bold';
8
8
  themeIntent: 'body' | 'subdued' | 'primary' | 'secondary' | 'success' | 'info' | 'warning' | 'danger' | 'inverted';
9
+ themeTypeface: 'neutral' | 'playful';
9
10
  }, {}, {
10
11
  ref?: import("react").Ref<Text> | undefined;
11
12
  }>;
@@ -25,6 +25,12 @@ export interface TextProps extends NativeTextProps {
25
25
  * Testing id of the component.
26
26
  */
27
27
  testID?: string;
28
+ /**
29
+ * The typeface to render the text in:
30
+ * - `neutral`: The default typeface for the platform.
31
+ * - `playful`: To visualise a playful content.
32
+ */
33
+ typeface?: 'neutral' | 'playful';
28
34
  }
29
- declare const Text: ({ children, fontSize, fontWeight, intent, ...nativeProps }: TextProps) => JSX.Element;
35
+ declare const Text: ({ children, fontSize, fontWeight, intent, typeface, ...nativeProps }: TextProps) => JSX.Element;
30
36
  export default Text;
package/types/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { scale } from './utils/scale';
3
3
  import Accordion from './components/Accordion';
4
4
  import Alert from './components/Alert';
5
5
  import Attachment from './components/Attachment';
6
- import Avatar from './components/Avatar';
6
+ import Avatar, { useAvatarColors } from './components/Avatar';
7
7
  import Badge from './components/Badge';
8
8
  import BottomNavigation from './components/BottomNavigation';
9
9
  import BottomSheet from './components/BottomSheet';
@@ -40,5 +40,5 @@ import Toolbar from './components/Toolbar';
40
40
  import Typography from './components/Typography';
41
41
  import RefreshControl from './components/RefreshControl';
42
42
  import RichTextEditor from './components/RichTextEditor';
43
- export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, swagSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, Accordion, Alert, Attachment, Avatar, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, FAB, Icon, Image, List, PinInput, Progress, Slider, Spinner, Swipeable, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, RefreshControl, RichTextEditor, };
43
+ export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, swagSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, Accordion, Alert, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, FAB, Icon, Image, List, PinInput, Progress, Slider, Spinner, Swipeable, Radio, SectionHeading, Select, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, RefreshControl, RichTextEditor, };
44
44
  export * from './types';
@@ -6,6 +6,8 @@ declare const getAvatarTheme: (theme: GlobalTheme) => {
6
6
  danger: string;
7
7
  success: string;
8
8
  warning: string;
9
+ text: string;
10
+ visualisation: string[];
9
11
  };
10
12
  sizes: {
11
13
  small: number;
@@ -20,8 +22,8 @@ declare const getAvatarTheme: (theme: GlobalTheme) => {
20
22
  radii: {
21
23
  rounded: number;
22
24
  };
23
- borderWidths: {
24
- default: number;
25
+ fonts: {
26
+ default: string;
25
27
  };
26
28
  fontSizes: {
27
29
  small: number;
@@ -1,17 +1,38 @@
1
1
  import type { GlobalTheme } from '../global';
2
2
  declare const getProgressTheme: (theme: GlobalTheme) => {
3
3
  colors: {
4
- primary: string;
5
- success: string;
6
- warning: string;
7
- danger: string;
8
- info: string;
9
- archived: string;
10
- background: string;
11
- innerBackground: string;
4
+ completeness: {
5
+ primary: string;
6
+ success: string;
7
+ warning: string;
8
+ danger: string;
9
+ info: string;
10
+ archived: string;
11
+ primaryInverted: string;
12
+ successInverted: string;
13
+ warningInverted: string;
14
+ dangerInverted: string;
15
+ infoInverted: string;
16
+ archivedInverted: string;
17
+ };
18
+ incompleteness: {
19
+ primary: string;
20
+ success: string;
21
+ warning: string;
22
+ danger: string;
23
+ info: string;
24
+ archived: string;
25
+ primaryInverted: string;
26
+ successInverted: string;
27
+ warningInverted: string;
28
+ dangerInverted: string;
29
+ infoInverted: string;
30
+ archivedInverted: string;
31
+ };
12
32
  };
13
33
  sizes: {
14
- circleWidth: number;
34
+ circleDiameter: number;
35
+ circleCompletenessHeight: number;
15
36
  barHeight: number;
16
37
  };
17
38
  radii: {
@@ -11,11 +11,7 @@ declare const getTypographyTheme: (theme: GlobalTheme) => {
11
11
  success: string;
12
12
  inverted: string;
13
13
  };
14
- fonts: {
15
- light: string;
16
- regular: string;
17
- semiBold: string;
18
- };
14
+ fonts: import("../global/typography").Fonts;
19
15
  fontSizes: {
20
16
  small: number;
21
17
  medium: number;
@@ -12,18 +12,23 @@ export declare type GlobalSystemPalette = {
12
12
  inactiveOutline: string;
13
13
  disabledOutline: string;
14
14
  error: string;
15
+ mutedError: string;
15
16
  errorSurface: string;
16
17
  onErrorSurface: string;
17
18
  warning: string;
19
+ mutedWarning: string;
18
20
  warningSurface: string;
19
21
  onWarningSurface: string;
20
22
  success: string;
23
+ mutedSuccess: string;
21
24
  successSurface: string;
22
25
  onSuccessSurface: string;
23
26
  info: string;
27
+ mutedInfo: string;
24
28
  infoSurface: string;
25
29
  onInfoSurface: string;
26
30
  archived: string;
31
+ mutedArchived: string;
27
32
  archivedSurface: string;
28
33
  onArchivedSurface: string;
29
34
  };