@hero-design/rn 7.14.3-alpha.2 → 7.14.3-alpha.4

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 (65) hide show
  1. package/es/index.js +2584 -3403
  2. package/lib/assets/fonts/hero-icons.ttf +0 -0
  3. package/lib/index.js +2705 -3521
  4. package/package.json +4 -4
  5. package/rollup.config.js +1 -0
  6. package/types/components/Accordion/index.d.ts +2 -5
  7. package/types/components/Badge/StyledBadge.d.ts +27 -0
  8. package/types/components/BottomSheet/StyledBottomSheet.d.ts +46 -0
  9. package/types/components/Calendar/CalendarRowItem.d.ts +10 -0
  10. package/types/components/Calendar/StyledCalendar.d.ts +54 -0
  11. package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +1 -0
  12. package/types/components/Calendar/__tests__/helper.spec.d.ts +1 -0
  13. package/types/components/Calendar/__tests__/index.spec.d.ts +1 -0
  14. package/types/components/Calendar/helpers.d.ts +3 -0
  15. package/types/components/Calendar/index.d.ts +40 -0
  16. package/types/components/Collapse/StyledCollapse.d.ts +25 -0
  17. package/types/components/ContentNavigator/index.d.ts +5 -1
  18. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  19. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  20. package/types/components/DatePicker/types.d.ts +4 -0
  21. package/types/components/Drawer/StyledDrawer.d.ts +24 -0
  22. package/types/components/Empty/StyledEmpty.d.ts +31 -0
  23. package/types/components/Empty/__tests__/index.spec.d.ts +1 -0
  24. package/types/components/Empty/index.d.ts +26 -0
  25. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +29 -0
  26. package/types/components/Icon/IconList.d.ts +1 -1
  27. package/types/components/Icon/utils.d.ts +1 -1
  28. package/types/components/Progress/StyledProgressBar.d.ts +17 -0
  29. package/types/components/RichTextEditor/EditorEvent.d.ts +3 -0
  30. package/types/components/RichTextEditor/EditorToolbar.d.ts +17 -0
  31. package/types/components/RichTextEditor/MentionList.d.ts +12 -0
  32. package/types/components/RichTextEditor/RichTextEditor.d.ts +65 -0
  33. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +16 -0
  34. package/types/components/RichTextEditor/StyledToolbar.d.ts +21 -0
  35. package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +1 -0
  36. package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +1 -0
  37. package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +1 -0
  38. package/types/components/RichTextEditor/constants.d.ts +19 -0
  39. package/types/components/RichTextEditor/index.d.ts +5 -0
  40. package/types/components/RichTextEditor/utils/events.d.ts +8 -0
  41. package/types/components/RichTextEditor/utils/rnWebView.d.ts +7 -0
  42. package/types/components/SectionHeading/index.d.ts +2 -2
  43. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  44. package/types/components/Select/MultiSelect/index.d.ts +1 -1
  45. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  46. package/types/components/Select/SingleSelect/index.d.ts +1 -1
  47. package/types/components/Select/StyledOptionList.d.ts +1 -1
  48. package/types/components/Select/index.d.ts +4 -2
  49. package/types/components/Select/types.d.ts +3 -2
  50. package/types/components/Switch/StyledSwitch.d.ts +36 -0
  51. package/types/components/Tabs/StyledScrollableTabs.d.ts +60 -0
  52. package/types/components/Tabs/StyledTabs.d.ts +54 -0
  53. package/types/components/TimePicker/TimePickerAndroid.d.ts +1 -1
  54. package/types/components/TimePicker/TimePickerIOS.d.ts +1 -1
  55. package/types/components/TimePicker/types.d.ts +4 -0
  56. package/types/components/Toast/StyledToast.d.ts +45 -0
  57. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  58. package/types/components/Typography/Text/index.d.ts +1 -1
  59. package/types/index.d.ts +4 -1
  60. package/types/theme/components/calendar.d.ts +26 -0
  61. package/types/theme/components/empty.d.ts +28 -0
  62. package/types/theme/components/richTextEditor.d.ts +26 -0
  63. package/types/theme/components/typography.d.ts +1 -0
  64. package/types/theme/index.d.ts +6 -0
  65. package/types/types.d.ts +2 -1
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "@hero-design/rn",
3
- "version": "7.14.3-alpha.2",
3
+ "version": "7.14.3-alpha.4",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
7
- "react-native": "src/index.ts",
8
7
  "types": "types/index.d.ts",
9
8
  "scripts": {
10
9
  "lint": "eslint src --ext .js,.jsx,.ts,.tsx --ignore-path ../../.gitignore",
@@ -23,11 +22,11 @@
23
22
  "@emotion/react": "^11.9.3",
24
23
  "@hero-design/colors": "7.14.2",
25
24
  "date-fns": "^2.16.1",
26
- "events": "^3.2.0",
27
- "hero-editor": "^1.9.9"
25
+ "events": "^3.2.0"
28
26
  },
29
27
  "peerDependencies": {
30
28
  "@react-native-community/datetimepicker": "^3.5.2",
29
+ "hero-editor": "^1.9.9",
31
30
  "react": "17.0.2",
32
31
  "react-dom": "17.0.2",
33
32
  "react-native": "0.65.1",
@@ -69,6 +68,7 @@
69
68
  "jest": "^27.3.1",
70
69
  "prettier": "^2.5.1",
71
70
  "react": "17.0.2",
71
+ "react-dom": "17.0.2",
72
72
  "react-native": "0.65.1",
73
73
  "react-native-pager-view": "^5.4.25",
74
74
  "react-native-safe-area-context": "^4.2.5",
package/rollup.config.js CHANGED
@@ -32,6 +32,7 @@ export default {
32
32
  'react-native-pager-view',
33
33
  'react-native-vector-icons',
34
34
  'react-dom',
35
+ 'hero-editor',
35
36
  ],
36
37
  plugins: [
37
38
  replace({
@@ -8,6 +8,7 @@ export interface AccordionProps<K extends Key> {
8
8
  header: string | ReactElement;
9
9
  content: ReactElement;
10
10
  key: K;
11
+ style?: StyleProp<ViewStyle>;
11
12
  testID?: string;
12
13
  }[];
13
14
  /**
@@ -24,10 +25,6 @@ export interface AccordionProps<K extends Key> {
24
25
  * Item type.
25
26
  */
26
27
  variant?: 'default' | 'card';
27
- /**
28
- * Additional style for item.
29
- */
30
- itemStyle?: StyleProp<ViewStyle>;
31
28
  /**
32
29
  * Additional style.
33
30
  */
@@ -37,5 +34,5 @@ export interface AccordionProps<K extends Key> {
37
34
  */
38
35
  testID?: string;
39
36
  }
40
- declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, style, itemStyle, testID, }: AccordionProps<K>) => JSX.Element;
37
+ declare const Accordion: <K extends React.Key>({ items, activeItemKey, onItemPress, variant, style, testID, }: AccordionProps<K>) => JSX.Element;
41
38
  export default Accordion;
@@ -0,0 +1,27 @@
1
+ import { Animated, Text } from 'react-native';
2
+ declare type ThemeIntent = 'success' | 'warning' | 'danger' | 'info' | 'archived';
3
+ declare type ThemePadding = 'narrowContent' | 'wideContent';
4
+ declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
5
+ children?: import("react").ReactNode;
6
+ } & {
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any> | undefined;
9
+ } & {
10
+ themeIntent: ThemeIntent;
11
+ themePadding: ThemePadding;
12
+ }, {}, {}>;
13
+ declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
14
+ theme?: import("@emotion/react").Theme | undefined;
15
+ as?: import("react").ElementType<any> | undefined;
16
+ }, {}, {
17
+ ref?: import("react").Ref<Text> | undefined;
18
+ }>;
19
+ declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
20
+ children?: import("react").ReactNode;
21
+ } & {
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ as?: import("react").ElementType<any> | undefined;
24
+ } & {
25
+ themeIntent: ThemeIntent;
26
+ }, {}, {}>;
27
+ export { StyledView, StyledText, StyledStatus };
@@ -0,0 +1,46 @@
1
+ import { Animated, View, ViewProps } from 'react-native';
2
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<View> | undefined;
7
+ }>;
8
+ declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
9
+ children?: import("react").ReactNode;
10
+ } & {
11
+ theme?: import("@emotion/react").Theme | undefined;
12
+ as?: import("react").ElementType<any> | undefined;
13
+ }, {}, {}>;
14
+ declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
15
+ children?: import("react").ReactNode;
16
+ } & {
17
+ theme?: import("@emotion/react").Theme | undefined;
18
+ as?: import("react").ElementType<any> | undefined;
19
+ }, {}, {}>;
20
+ declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
21
+ theme?: import("@emotion/react").Theme | undefined;
22
+ as?: import("react").ElementType<any> | undefined;
23
+ }, {}, {
24
+ ref?: import("react").Ref<View> | undefined;
25
+ }>;
26
+ declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
27
+ theme?: import("@emotion/react").Theme | undefined;
28
+ as?: import("react").ElementType<any> | undefined;
29
+ } & {
30
+ adjacentIcon: boolean;
31
+ }, {}, {
32
+ ref?: import("react").Ref<View> | undefined;
33
+ }>;
34
+ declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
35
+ theme?: import("@emotion/react").Theme | undefined;
36
+ as?: import("react").ElementType<any> | undefined;
37
+ }, {}, {
38
+ ref?: import("react").Ref<View> | undefined;
39
+ }>;
40
+ declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
41
+ theme?: import("@emotion/react").Theme | undefined;
42
+ as?: import("react").ElementType<any> | undefined;
43
+ }, {}, {
44
+ ref?: import("react").Ref<View> | undefined;
45
+ }>;
46
+ export { StyledWrapper, StyledHeaderWrapper, StyledHeader, StyledFooter, StyledIconWrapper, StyledBottomSheet, StyledBackdrop, };
@@ -0,0 +1,10 @@
1
+ export interface CalendarRowItemProps {
2
+ date?: Date;
3
+ onPress?: () => void;
4
+ isCurrent?: boolean;
5
+ isSelected?: boolean;
6
+ textIntent?: 'body' | 'subdued';
7
+ marked?: boolean;
8
+ }
9
+ declare const CalendarRowItem: ({ date, onPress, isCurrent, isSelected, textIntent, marked, }: CalendarRowItemProps) => JSX.Element;
10
+ export default CalendarRowItem;
@@ -0,0 +1,54 @@
1
+ import { TouchableOpacity, View, ViewProps } from 'react-native';
2
+ declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ }, {}, {
6
+ ref?: import("react").Ref<View> | undefined;
7
+ }>;
8
+ declare const StyledCalendarHeader: import("@emotion/native").StyledComponent<ViewProps & {
9
+ theme?: import("@emotion/react").Theme | undefined;
10
+ as?: import("react").ElementType<any> | undefined;
11
+ }, {}, {
12
+ ref?: import("react").Ref<View> | undefined;
13
+ }>;
14
+ declare const StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<ViewProps & {
15
+ theme?: import("@emotion/react").Theme | undefined;
16
+ as?: import("react").ElementType<any> | undefined;
17
+ }, {}, {
18
+ ref?: import("react").Ref<View> | undefined;
19
+ }>;
20
+ declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
21
+ theme?: import("@emotion/react").Theme | undefined;
22
+ as?: import("react").ElementType<any> | undefined;
23
+ } & {
24
+ variant?: "selected" | "default" | "current" | undefined;
25
+ }, {}, {
26
+ ref?: import("react").Ref<TouchableOpacity> | undefined;
27
+ }>;
28
+ declare const StyledCalendarRow: import("@emotion/native").StyledComponent<ViewProps & {
29
+ theme?: import("@emotion/react").Theme | undefined;
30
+ as?: import("react").ElementType<any> | undefined;
31
+ }, {}, {
32
+ ref?: import("react").Ref<View> | undefined;
33
+ }>;
34
+ declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
35
+ theme?: import("@emotion/react").Theme | undefined;
36
+ as?: import("react").ElementType<any> | undefined;
37
+ }, {}, {
38
+ ref?: import("react").Ref<View> | undefined;
39
+ }>;
40
+ declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
41
+ theme?: import("@emotion/react").Theme | undefined;
42
+ as?: import("react").ElementType<any> | undefined;
43
+ }, {}, {
44
+ ref?: import("react").Ref<View> | undefined;
45
+ }>;
46
+ declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
47
+ theme?: import("@emotion/react").Theme | undefined;
48
+ as?: import("react").ElementType<any> | undefined;
49
+ } & {
50
+ variant: 'primary' | 'inverted';
51
+ }, {}, {
52
+ ref?: import("react").Ref<View> | undefined;
53
+ }>;
54
+ export { StyledContainer, StyledCalendarHeader, StyledCalendarRow, StyledCalendarRowItem, StyledDisabledCalendarRowItem, StyledCalendarDayNameCell, StyledCalendarCell, StyledMark, };
@@ -0,0 +1,3 @@
1
+ export declare const initArray: <T>(length: number, func: (value: number) => T) => T[];
2
+ export declare const isEqDate: (dateA?: Date | undefined, dateB?: Date | undefined) => boolean;
3
+ export declare const getValidDate: (date: Date, minDate?: Date | undefined, maxDate?: Date | undefined) => Date | undefined;
@@ -0,0 +1,40 @@
1
+ export interface CalendarProps {
2
+ /**
3
+ * Selected date value.
4
+ */
5
+ value?: Date;
6
+ /**
7
+ * Visible date of month that calendar opens to display. Default is now.
8
+ */
9
+ visibleDate: Date;
10
+ /**
11
+ * Mininum date. Restrict the range of possible date values.
12
+ */
13
+ minDate?: Date;
14
+ /**
15
+ * Maximum date. Restrict the range of possible date values.
16
+ */
17
+ maxDate?: Date;
18
+ /**
19
+ * Callback is called when selected date value is changed.
20
+ */
21
+ onChange?: (date: Date) => void;
22
+ /**
23
+ * Handler to be called when the user taps the previous button.
24
+ */
25
+ onPreviousPress?: () => void;
26
+ /**
27
+ * Handler to be called when the user taps the next button.
28
+ */
29
+ onNextPress?: () => void;
30
+ /**
31
+ * Handler to be called when the user taps the title.
32
+ */
33
+ onTitlePress?: () => void;
34
+ /**
35
+ * Mark dates to display on calendar..
36
+ */
37
+ markedDates?: Date[];
38
+ }
39
+ declare const Calendar: ({ value, visibleDate, onChange, onPreviousPress, onNextPress, onTitlePress, minDate, maxDate, markedDates, }: CalendarProps) => JSX.Element;
40
+ export default Calendar;
@@ -0,0 +1,25 @@
1
+ import { Animated, View } from 'react-native';
2
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
3
+ children?: import("react").ReactNode;
4
+ } & {
5
+ theme?: import("@emotion/react").Theme | undefined;
6
+ as?: import("react").ElementType<any> | undefined;
7
+ }, {}, {}>;
8
+ /**
9
+ * Height need to be high enough to cover most scenario
10
+ * This container's purpose is only to help get correct children height and returns it
11
+ * to use with Animated.timing
12
+ */
13
+ declare const StyledHiddenWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
14
+ theme?: import("@emotion/react").Theme | undefined;
15
+ as?: import("react").ElementType<any> | undefined;
16
+ }, {}, {
17
+ ref?: import("react").Ref<View> | undefined;
18
+ }>;
19
+ declare const StyledChildWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
20
+ theme?: import("@emotion/react").Theme | undefined;
21
+ as?: import("react").ElementType<any> | undefined;
22
+ }, {}, {
23
+ ref?: import("react").Ref<View> | undefined;
24
+ }>;
25
+ export { StyledWrapper, StyledHiddenWrapper, StyledChildWrapper };
@@ -24,6 +24,10 @@ interface ContentNavigatorProps {
24
24
  * Whether the next icon is disabled.
25
25
  */
26
26
  nextDisabled?: boolean;
27
+ /**
28
+ * Content font size.
29
+ */
30
+ fontSize?: 'medium' | 'large';
27
31
  /**
28
32
  * Additional style.
29
33
  */
@@ -33,5 +37,5 @@ interface ContentNavigatorProps {
33
37
  */
34
38
  testID?: string;
35
39
  }
36
- declare function ContentNavigator({ onPreviousPress, onNextPress, onPress, value, previousDisabled, nextDisabled, testID, style, }: ContentNavigatorProps): JSX.Element;
40
+ declare function ContentNavigator({ onPreviousPress, onNextPress, onPress, value, previousDisabled, nextDisabled, fontSize, testID, style, }: ContentNavigatorProps): JSX.Element;
37
41
  export default ContentNavigator;
@@ -1,3 +1,3 @@
1
1
  import { DatePickerProps } from './types';
2
- declare const DatePickerAndroid: ({ value, label, placeholder, onChange, displayFormat, disabled, required, error, style, testID, }: DatePickerProps) => JSX.Element;
2
+ declare const DatePickerAndroid: ({ value, label, placeholder, onChange, displayFormat, disabled, required, error, helpText, style, testID, }: DatePickerProps) => JSX.Element;
3
3
  export default DatePickerAndroid;
@@ -1,3 +1,3 @@
1
1
  import { DatePickerProps } from './types';
2
- declare const DatePickerIOS: ({ value, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, style, testID, }: DatePickerProps) => JSX.Element;
2
+ declare const DatePickerIOS: ({ value, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, }: DatePickerProps) => JSX.Element;
3
3
  export default DatePickerIOS;
@@ -37,6 +37,10 @@ export interface DatePickerProps {
37
37
  * Whether the value is required, if true, an asterisk will be appended to the label.
38
38
  */
39
39
  required?: boolean;
40
+ /**
41
+ * The helper text to display.
42
+ */
43
+ helpText?: string;
40
44
  /**
41
45
  * Addtional style.
42
46
  */
@@ -0,0 +1,24 @@
1
+ import { Animated, View } from 'react-native';
2
+ declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any> | undefined;
5
+ } & {
6
+ enableShadow: boolean;
7
+ }, {}, {
8
+ ref?: import("react").Ref<View> | undefined;
9
+ }>;
10
+ declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
11
+ children?: import("react").ReactNode;
12
+ } & {
13
+ theme?: import("@emotion/react").Theme | undefined;
14
+ as?: import("react").ElementType<any> | undefined;
15
+ }, {}, {}>;
16
+ declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
17
+ children?: import("react").ReactNode;
18
+ } & {
19
+ theme?: import("@emotion/react").Theme | undefined;
20
+ as?: import("react").ElementType<any> | undefined;
21
+ } & {
22
+ enableShadow: boolean;
23
+ }, {}, {}>;
24
+ export { StyledBackdrop, StyledContainer, StyledDrawerContainer };
@@ -0,0 +1,31 @@
1
+ import { View, Text } from 'react-native';
2
+ declare type ThemeVariant = 'light' | 'dark';
3
+ 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
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const StyledIllustration: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
+ theme?: import("@emotion/react").Theme | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
+ }, {}, {
13
+ ref?: import("react").Ref<View> | undefined;
14
+ }>;
15
+ declare const StyledTitle: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ } & {
19
+ themeVariant: ThemeVariant;
20
+ }, {}, {
21
+ ref?: import("react").Ref<Text> | undefined;
22
+ }>;
23
+ declare const StyledDescription: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
24
+ theme?: import("@emotion/react").Theme | undefined;
25
+ as?: import("react").ElementType<any> | undefined;
26
+ } & {
27
+ themeVariant: ThemeVariant;
28
+ }, {}, {
29
+ ref?: import("react").Ref<Text> | undefined;
30
+ }>;
31
+ export { StyledWrapper, StyledIllustration, StyledTitle, StyledDescription };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,26 @@
1
+ import { StyleProp, ViewStyle } from 'react-native';
2
+ interface EmptyProps {
3
+ /**
4
+ * Empty's title.
5
+ */
6
+ title: string;
7
+ /**
8
+ * Empty's description.
9
+ */
10
+ description?: string;
11
+ /**
12
+ * Empty's variant
13
+ * 'dark' if rendered on a dark background and 'white' otherwise
14
+ */
15
+ variant?: 'light' | 'dark';
16
+ /**
17
+ * Additional style.
18
+ */
19
+ style?: StyleProp<ViewStyle>;
20
+ /**
21
+ * Testing id of the component.
22
+ */
23
+ testID?: string;
24
+ }
25
+ declare const Empty: ({ title, description, style, testID, variant, }: EmptyProps) => JSX.Element;
26
+ export default Empty;
@@ -0,0 +1,29 @@
1
+ import { Animated, View, ViewProps } from 'react-native';
2
+ import { TextProps } from '../../Typography/Text';
3
+ declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, {}, {
7
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
10
+ children?: import("react").ReactNode;
11
+ } & {
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ }, {}, {}>;
15
+ declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & {
16
+ theme?: import("@emotion/react").Theme | undefined;
17
+ as?: import("react").ElementType<any> | undefined;
18
+ }, {}, {}>;
19
+ declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
20
+ children?: import("react").ReactNode;
21
+ } & {
22
+ theme?: import("@emotion/react").Theme | undefined;
23
+ as?: import("react").ElementType<any> | undefined;
24
+ }, {}, {}>;
25
+ declare const StyledHeaderText: import("@emotion/native").StyledComponent<TextProps & {
26
+ theme?: import("@emotion/react").Theme | undefined;
27
+ as?: import("react").ElementType<any> | undefined;
28
+ }, {}, {}>;
29
+ export { StyledHeaderText, StyledBackdrop, StyledContainer, StyledActionGroupContainer, StyledFAB, };
@@ -1,2 +1,2 @@
1
- declare const IconList: readonly ["activate", "add-person", "adjustment", "alignment", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left", "carat-right", "carat-up", "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", "clock-3", "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", "funnel-filter", "global-dollar", "globe", "graduation-cap", "graph", "happy-sun", "health-bag", "heart", "home", "image", "import", "incident-siren", "instapay", "list", "loading", "loading-2", "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", "reschedule", "rostering", "save", "schedule", "search-person", "send", "speaker", "star-medal", "star", "steps-circle", "stopwatch", "suitcase", "survey", "swag", "switch", "tag", "target", "teams", "timesheet", "touch-id", "trash-bin", "unlock", "user", "video-1", "video-2", "activate-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "at-sign", "bell-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "direction-arrows-outlined", "directory-outlined", "document-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", "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-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-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", "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", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined", "warning"];
1
+ declare const IconList: readonly ["activate", "add-emoji", "add-person", "adjustment", "alignment", "archive", "bank", "bell", "billing", "bookmark", "box-check", "box", "buildings", "cake", "calendar-clock", "calendar", "candy-box-menu", "carat-down-small", "carat-down", "carat-left", "carat-right", "carat-up", "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", "clock-3", "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-outlined", "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", "loading-2", "location", "lock", "looks-one", "looks-two", "mandatory", "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", "reschedule", "rostering", "save", "schedule-send", "schedule", "search-person", "send", "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", "activate-outlined", "add-person-outlined", "add-section-outlined", "add-time-outlined", "add", "adjustment-outlined", "alignment-2-outlined", "alignment-outlined", "all-caps", "arrow-down", "arrow-left", "arrow-right", "arrow-up", "at-sign", "bell-outlined", "billing-outlined", "body-outlined", "bold", "bookmark-outlined", "box-check-outlined", "box-outlined", "bullet-points", "cake-outlined", "calendar-dates-outlined", "calendar-star-outlined", "camera-outlined", "cancel", "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", "direction-arrows-outlined", "directory-outlined", "document-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", "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-download-outlined", "file-export-outlined", "file-lock-outlined", "file-outlined", "file-search-outlined", "file-secured-outlined", "file-verified-outlined", "folder-outlined", "folder-user-outlined", "funnel-filter-outline", "graph-outlined", "happy-sun-outlined", "health-bag-outlined", "heart-outlined", "home-outlined", "image-outlined", "import-outlined", "instapay-outlined", "italic", "link-1", "link-2", "list-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", "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", "send-outlined", "share-1", "share-2", "single-down-arrow", "single-left-arrow", "single-right-arrow", "single-up-arrow", "speaker-outlined", "star-outlined", "stopwatch-outlined", "strikethrough", "suitcase-outlined", "survey-outlined", "switch-outlined", "sync", "target-outlined", "timesheet-outlined", "transfer", "trash-bin-outlined", "unavailable", "underline", "unlock-outlined", "upload-outlined", "user-circle-outlined", "user-outlined", "user-rectangle-outlined", "video-1-outlined", "video-2-outlined", "wallet-outlined", "warning"];
2
2
  export default IconList;
@@ -1,2 +1,2 @@
1
- declare const isHeroIcon: (x: any) => x is "number" | "image" | "menu" | "switch" | "list" | "bold" | "warning" | "activate" | "add-person" | "adjustment" | "alignment" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "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" | "clock-3" | "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" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "home" | "import" | "incident-siren" | "instapay" | "loading" | "loading-2" | "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" | "reschedule" | "rostering" | "save" | "schedule" | "search-person" | "send" | "speaker" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "swag" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "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" | "direction-arrows-outlined" | "directory-outlined" | "document-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" | "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-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-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" | "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" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-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" | "image" | "menu" | "switch" | "list" | "bold" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "archive" | "bank" | "bell" | "billing" | "bookmark" | "box-check" | "box" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "carat-down-small" | "carat-down" | "carat-left" | "carat-right" | "carat-up" | "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" | "clock-3" | "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-outlined" | "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" | "loading-2" | "location" | "lock" | "looks-one" | "looks-two" | "mandatory" | "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" | "reschedule" | "rostering" | "save" | "schedule-send" | "schedule" | "search-person" | "send" | "speaker" | "star-award" | "star-badge" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "survey" | "swag" | "tag" | "target" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "user" | "video-1" | "video-2" | "activate-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "arrow-down" | "arrow-left" | "arrow-right" | "arrow-up" | "at-sign" | "bell-outlined" | "billing-outlined" | "body-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "camera-outlined" | "cancel" | "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" | "direction-arrows-outlined" | "directory-outlined" | "document-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" | "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-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-verified-outlined" | "folder-outlined" | "folder-user-outlined" | "funnel-filter-outline" | "graph-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "link-1" | "link-2" | "list-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" | "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" | "send-outlined" | "share-1" | "share-2" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "speaker-outlined" | "star-outlined" | "stopwatch-outlined" | "strikethrough" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "sync" | "target-outlined" | "timesheet-outlined" | "transfer" | "trash-bin-outlined" | "unavailable" | "underline" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "wallet-outlined";
2
2
  export { isHeroIcon };
@@ -0,0 +1,17 @@
1
+ import { Animated, View, ViewProps } from 'react-native';
2
+ import { ThemeIntent } from './types';
3
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
+ theme?: import("@emotion/react").Theme | undefined;
5
+ as?: import("react").ElementType<any> | undefined;
6
+ }, {}, {
7
+ ref?: import("react").Ref<View> | undefined;
8
+ }>;
9
+ declare const StyledInner: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
10
+ children?: import("react").ReactNode;
11
+ } & {
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: import("react").ElementType<any> | undefined;
14
+ } & {
15
+ themeIntent: ThemeIntent;
16
+ }, {}, {}>;
17
+ export { StyledWrapper, StyledInner };
@@ -0,0 +1,3 @@
1
+ import { EventEmitter } from 'events';
2
+ declare const emitter: EventEmitter;
3
+ export { emitter };
@@ -0,0 +1,17 @@
1
+ import { ToolbarButtonName } from './constants';
2
+ export interface EditorToolbarProps {
3
+ /**
4
+ * List of buttons to display in toolbar
5
+ */
6
+ buttons?: ToolbarButtonName[];
7
+ /**
8
+ * Unique name used to communicate with webview, should be the same with the RichTextEditor component it used with
9
+ */
10
+ name: string;
11
+ /**
12
+ * Testing ID of the component
13
+ */
14
+ testID?: string;
15
+ }
16
+ declare const EditorToolbar: ({ name, buttons, testID, }: EditorToolbarProps) => JSX.Element | null;
17
+ export default EditorToolbar;
@@ -0,0 +1,12 @@
1
+ export interface MentionListProps {
2
+ /**
3
+ * Unique name used to communicate with webview, should be the same with the RichTextEditor component it used with
4
+ */
5
+ name: string;
6
+ /**
7
+ * Function used to render mention options
8
+ */
9
+ render: (searchText: string, onSelect: (id: string, name: string) => void) => JSX.Element;
10
+ }
11
+ declare const MentionList: ({ name: eventPrefix, render }: MentionListProps) => JSX.Element | null;
12
+ export default MentionList;