@hero-design/rn 8.82.2-alpha.0 → 8.82.2-alpha.1

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 (152) hide show
  1. package/CHANGELOG.md +0 -6
  2. package/es/index.js +40 -0
  3. package/eslint.config.js +2 -4
  4. package/lib/index.js +40 -0
  5. package/package.json +3 -3
  6. package/types/components/Accordion/AccordionItem.d.ts +1 -1
  7. package/types/components/Accordion/StyledAccordion.d.ts +11 -11
  8. package/types/components/Accordion/index.d.ts +1 -1
  9. package/types/components/Alert/StyledAlert.d.ts +16 -16
  10. package/types/components/Alert/index.d.ts +1 -1
  11. package/types/components/Attachment/StyledAttachment.d.ts +8 -8
  12. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
  13. package/types/components/Avatar/StyledAvatar.d.ts +10 -10
  14. package/types/components/Badge/StyledBadge.d.ts +12 -12
  15. package/types/components/Badge/index.d.ts +1 -1
  16. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
  17. package/types/components/BottomNavigation/index.d.ts +1 -1
  18. package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
  19. package/types/components/BottomSheet/Header.d.ts +2 -2
  20. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  21. package/types/components/Box/StyledBox.d.ts +2 -2
  22. package/types/components/Box/config.d.ts +2 -2
  23. package/types/components/Box/types.d.ts +3 -3
  24. package/types/components/Button/Button.d.ts +1 -1
  25. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
  26. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  27. package/types/components/Button/StyledButton.d.ts +22 -22
  28. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
  29. package/types/components/Calendar/StyledCalendar.d.ts +22 -22
  30. package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
  31. package/types/components/Card/StyledCard.d.ts +4 -4
  32. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  33. package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
  34. package/types/components/Carousel/StyledCarousel.d.ts +21 -21
  35. package/types/components/Carousel/types.d.ts +2 -2
  36. package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
  37. package/types/components/Checkbox/index.d.ts +1 -1
  38. package/types/components/Chip/StyledChip.d.ts +5 -5
  39. package/types/components/Collapse/StyledCollapse.d.ts +6 -6
  40. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
  41. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  42. package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
  43. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  44. package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
  45. package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
  46. package/types/components/Divider/StyledDivider.d.ts +5 -5
  47. package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
  48. package/types/components/Drawer/StyledDrawer.d.ts +15 -15
  49. package/types/components/Empty/StyledEmpty.d.ts +7 -7
  50. package/types/components/Error/StyledError.d.ts +21 -21
  51. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
  52. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
  53. package/types/components/FAB/ActionGroup/index.d.ts +1 -1
  54. package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
  55. package/types/components/FAB/FAB.d.ts +1 -1
  56. package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
  57. package/types/components/FAB/Pair/index.d.ts +1 -1
  58. package/types/components/FAB/StyledFAB.d.ts +9 -9
  59. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
  60. package/types/components/Icon/AnimatedIcon.d.ts +1 -1
  61. package/types/components/Icon/HeroIcon/index.d.ts +4 -4
  62. package/types/components/Icon/index.d.ts +1 -1
  63. package/types/components/Icon/utils.d.ts +2 -1
  64. package/types/components/List/StyledBasicListItem.d.ts +10 -10
  65. package/types/components/List/StyledListItem.d.ts +18 -18
  66. package/types/components/MapPin/StyledMapPin.d.ts +11 -11
  67. package/types/components/MapPin/types.d.ts +1 -1
  68. package/types/components/PageControl/StyledPageControl.d.ts +4 -4
  69. package/types/components/PinInput/StyledPinInput.d.ts +21 -21
  70. package/types/components/Portal/reducer.d.ts +1 -1
  71. package/types/components/Portal/types.d.ts +1 -1
  72. package/types/components/Progress/ProgressStep.d.ts +1 -1
  73. package/types/components/Progress/StyledProgressBar.d.ts +4 -4
  74. package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
  75. package/types/components/Progress/StyledStep.d.ts +10 -10
  76. package/types/components/Progress/types.d.ts +1 -1
  77. package/types/components/Radio/StyledRadio.d.ts +9 -9
  78. package/types/components/Radio/index.d.ts +1 -1
  79. package/types/components/Radio/types.d.ts +1 -1
  80. package/types/components/Rate/StyledRate.d.ts +4 -4
  81. package/types/components/RefreshControl/index.d.ts +1 -1
  82. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -1
  83. package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  84. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
  85. package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
  86. package/types/components/RichTextEditor/types.d.ts +1 -1
  87. package/types/components/Search/SearchOneLine.d.ts +5 -5
  88. package/types/components/Search/StyledSearch.d.ts +18 -18
  89. package/types/components/Search/index.d.ts +1 -1
  90. package/types/components/Search/utils.d.ts +2 -2
  91. package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
  92. package/types/components/Select/BaseOptionList.d.ts +1 -1
  93. package/types/components/Select/MultiSelect/Option.d.ts +2 -2
  94. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  95. package/types/components/Select/SingleSelect/Option.d.ts +2 -2
  96. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  97. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  98. package/types/components/Select/StyledSelect.d.ts +6 -6
  99. package/types/components/Select/helpers.d.ts +2 -2
  100. package/types/components/Select/types.d.ts +6 -6
  101. package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
  102. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
  103. package/types/components/Spinner/StyledSpinner.d.ts +13 -13
  104. package/types/components/Success/StyledSuccess.d.ts +19 -19
  105. package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
  106. package/types/components/Swipeable/index.d.ts +2 -2
  107. package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -5
  108. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
  109. package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
  110. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  111. package/types/components/Switch/index.d.ts +3 -3
  112. package/types/components/Tabs/SceneView.d.ts +3 -3
  113. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
  114. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
  115. package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
  116. package/types/components/Tabs/StyledTabs.d.ts +14 -14
  117. package/types/components/Tabs/TabWithBadge.d.ts +3 -3
  118. package/types/components/Tabs/index.d.ts +2 -2
  119. package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
  120. package/types/components/Tag/StyledTag.d.ts +5 -5
  121. package/types/components/TextInput/StyledTextInput.d.ts +28 -28
  122. package/types/components/TextInput/index.d.ts +16 -16
  123. package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
  124. package/types/components/Toast/StyledToast.d.ts +18 -18
  125. package/types/components/Toast/ToastContext.d.ts +2 -2
  126. package/types/components/Toast/ToastProvider.d.ts +1 -1
  127. package/types/components/Toast/types.d.ts +2 -2
  128. package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
  129. package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
  130. package/types/components/Typography/Body/StyledBody.d.ts +4 -4
  131. package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
  132. package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
  133. package/types/components/Typography/Text/StyledText.d.ts +6 -6
  134. package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
  135. package/types/components/Typography/types.d.ts +1 -1
  136. package/types/testHelpers/utils.d.ts +1 -1
  137. package/types/theme/ThemeSwitcher.d.ts +3 -3
  138. package/types/theme/components/badge.d.ts +1 -1
  139. package/types/theme/components/button.d.ts +1 -1
  140. package/types/theme/components/carousel.d.ts +1 -1
  141. package/types/theme/components/empty.d.ts +1 -1
  142. package/types/theme/components/error.d.ts +1 -1
  143. package/types/theme/components/fab.d.ts +1 -1
  144. package/types/theme/components/pinInput.d.ts +1 -1
  145. package/types/theme/components/success.d.ts +1 -1
  146. package/types/theme/components/tag.d.ts +1 -1
  147. package/types/theme/getTheme.d.ts +1 -1
  148. package/types/theme/global/colors/types.d.ts +3 -3
  149. package/types/theme/global/index.d.ts +4 -4
  150. package/types/theme/global/scale.d.ts +1 -1
  151. package/types/theme/global/shadows.d.ts +1 -1
  152. package/types/theme/global/typography.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  import { BasicBadgeProps, IconBadgeProps } from './types';
2
- export declare type BadgeProps = BasicBadgeProps | IconBadgeProps;
2
+ export type BadgeProps = BasicBadgeProps | IconBadgeProps;
3
3
  declare const _default: (({ content: originalContent, visible, max, intent, style, testID, size, variant, icon, ...nativeProps }: BadgeProps) => JSX.Element) & {
4
4
  Status: ({ children, visible, intent, style, testID, ...nativeProps }: import("./Status").StatusProps) => JSX.Element;
5
5
  };
@@ -1,27 +1,27 @@
1
1
  import { View } from 'react-native';
2
2
  declare const BottomNavigationTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
5
  } & {
6
- themeVisibility?: boolean | undefined;
6
+ themeVisibility?: boolean;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
+ theme?: import("@emotion/react").Theme;
12
+ as?: React.ElementType;
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
16
16
  declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
+ theme?: import("@emotion/react").Theme;
18
+ as?: React.ElementType;
19
19
  }, {}, {
20
20
  ref?: import("react").Ref<View> | undefined;
21
21
  }>;
22
22
  declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
+ theme?: import("@emotion/react").Theme;
24
+ as?: React.ElementType;
25
25
  } & {
26
26
  themeInsets: {
27
27
  top: number;
@@ -33,19 +33,19 @@ declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import
33
33
  ref?: import("react").Ref<View> | undefined;
34
34
  }>;
35
35
  declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
36
- theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
36
+ theme?: import("@emotion/react").Theme;
37
+ as?: React.ElementType;
38
38
  }, {}, {
39
39
  ref?: import("react").Ref<View> | undefined;
40
40
  }>;
41
41
  declare const BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
42
- theme?: import("@emotion/react").Theme | undefined;
43
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
42
+ theme?: import("@emotion/react").Theme;
43
+ as?: React.ElementType;
44
44
  }, {}, {
45
45
  ref?: import("react").Ref<View> | undefined;
46
46
  }>;
47
47
  declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
48
- theme?: import("@emotion/react").Theme | undefined;
49
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
+ theme?: import("@emotion/react").Theme;
49
+ as?: React.ElementType;
50
50
  }, {}, {}>;
51
51
  export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
@@ -1,7 +1,7 @@
1
1
  import type { ReactNode } from 'react';
2
2
  import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
3
3
  import type { IconName } from '../Icon';
4
- export declare type BottomNavigationTabType = {
4
+ export type BottomNavigationTabType = {
5
5
  key: string;
6
6
  title?: string;
7
7
  icon: IconName;
@@ -1,4 +1,4 @@
1
- export declare type BottomSheetContextType = {
1
+ export type BottomSheetContextType = {
2
2
  setInternalShowDivider: (value: boolean) => void;
3
3
  };
4
4
  declare const BottomSheetContext: import("react").Context<BottomSheetContextType>;
@@ -3,8 +3,8 @@ import React from 'react';
3
3
  declare const Header: ({ content, showDivider, onRequestClose, showCloseButton, variant, }: {
4
4
  content: string | ReactElement;
5
5
  showDivider: boolean;
6
- onRequestClose?: (() => void) | undefined;
6
+ onRequestClose?: () => void;
7
7
  showCloseButton: boolean;
8
- variant?: "fixed" | "floating" | undefined;
8
+ variant?: "fixed" | "floating";
9
9
  }) => React.JSX.Element;
10
10
  export default Header;
@@ -1,60 +1,60 @@
1
1
  import type { ViewProps } from 'react-native';
2
2
  import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView, TouchableOpacity, View } from 'react-native';
3
3
  declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View> | undefined;
8
8
  }>;
9
9
  declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
12
12
  }, {}, {
13
13
  ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
14
14
  }>;
15
15
  declare const StyledFloatingWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
18
18
  }, {}, {}>;
19
19
  declare const StyledFloatingBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
+ theme?: import("@emotion/react").Theme;
21
+ as?: React.ElementType;
22
22
  }, {}, {}>;
23
23
  declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
+ theme?: import("@emotion/react").Theme;
25
+ as?: React.ElementType;
26
26
  }, {}, {}>;
27
27
  declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
28
- theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
30
  }, {}, {}>;
31
31
  declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
+ theme?: import("@emotion/react").Theme;
33
+ as?: React.ElementType;
34
34
  }, {}, {
35
35
  ref?: import("react").Ref<View> | undefined;
36
36
  }>;
37
37
  declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
38
- theme?: import("@emotion/react").Theme | undefined;
39
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
+ theme?: import("@emotion/react").Theme;
39
+ as?: React.ElementType;
40
40
  }, {}, {
41
41
  ref?: import("react").Ref<View> | undefined;
42
42
  }>;
43
43
  declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
44
- theme?: import("@emotion/react").Theme | undefined;
45
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
+ theme?: import("@emotion/react").Theme;
45
+ as?: React.ElementType;
46
46
  }, {}, {
47
47
  ref?: import("react").Ref<View> | undefined;
48
48
  }>;
49
49
  declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
50
- theme?: import("@emotion/react").Theme | undefined;
51
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
50
+ theme?: import("@emotion/react").Theme;
51
+ as?: React.ElementType;
52
52
  }, {}, {
53
53
  ref?: import("react").Ref<View> | undefined;
54
54
  }>;
55
55
  declare const StyledFloatingHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
56
- theme?: import("@emotion/react").Theme | undefined;
57
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
56
+ theme?: import("@emotion/react").Theme;
57
+ as?: React.ElementType;
58
58
  }, {}, {
59
59
  ref?: import("react").Ref<TouchableOpacity> | undefined;
60
60
  }>;
@@ -7,8 +7,8 @@ export declare const getThemeValue: (theme: Theme, key: keyof StyleProps, props:
7
7
  [x: string]: number;
8
8
  } | undefined;
9
9
  declare const StyledBox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
- theme?: Theme | undefined;
11
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
10
+ theme?: Theme;
11
+ as?: React.ElementType;
12
12
  } & StyleProps & FlexStyleProps, {}, {
13
13
  ref?: import("react").Ref<View> | undefined;
14
14
  }>;
@@ -165,6 +165,6 @@ declare const config: {
165
165
  };
166
166
  };
167
167
  export declare const flexPropsKey: readonly ["alignContent", "alignItems", "alignSelf", "display", "flex", "flexBasis", "flexDirection", "flexGrow", "flexShrink", "flexWrap", "justifyContent"];
168
- export declare type ConfigType = typeof config;
169
- export declare type FlexPropsKeyType = typeof flexPropsKey[number];
168
+ export type ConfigType = typeof config;
169
+ export type FlexPropsKeyType = typeof flexPropsKey[number];
170
170
  export default config;
@@ -9,11 +9,11 @@ export interface ThemeScale {
9
9
  radii: keyof Radii;
10
10
  borderWidths: keyof BorderWidths;
11
11
  }
12
- declare type ConfigKeyType = keyof ConfigType;
13
- export declare type StyleProps = {
12
+ type ConfigKeyType = keyof ConfigType;
13
+ export type StyleProps = {
14
14
  [key in ConfigKeyType]?: ThemeScale[ConfigType[key]['scale']];
15
15
  };
16
- export declare type FlexStyleProps = Pick<Omit<ViewStyle, keyof StyleProps>, FlexPropsKeyType>;
16
+ export type FlexStyleProps = Pick<Omit<ViewStyle, keyof StyleProps>, FlexPropsKeyType>;
17
17
  export interface BoxViewProps extends ViewProps {
18
18
  /**
19
19
  * Box's content.
@@ -52,6 +52,6 @@ export interface ButtonProps {
52
52
  */
53
53
  variant?: 'filled' | 'outlined' | 'text' | 'inline-text';
54
54
  }
55
- export declare const getThemeVariant: (variant: 'filled' | 'outlined' | 'text', intent: Intent) => ThemeVariant;
55
+ export declare const getThemeVariant: (variant: "filled" | "outlined" | "text", intent: Intent) => ThemeVariant;
56
56
  declare const Button: ({ accessibilityHint, accessibilityLabel, disabled, icon, intent, loading, onPress, rightIcon, style, testID, text, variant, }: ButtonProps) => JSX.Element;
57
57
  export default Button;
@@ -1,18 +1,18 @@
1
1
  import type { Theme } from '@emotion/react';
2
2
  import type { ViewProps } from 'react-native';
3
3
  import { View } from 'react-native';
4
- declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
4
+ type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
5
5
  declare const StyledLoadingIndicatorWrapper: import("@emotion/native").StyledComponent<ViewProps & {
6
- theme?: Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ theme?: Theme;
7
+ as?: React.ElementType;
8
8
  }, {}, {
9
9
  ref?: import("react").Ref<View> | undefined;
10
10
  }>;
11
11
  declare const StyledLoadingDot: import("@emotion/native").StyledComponent<ViewProps & {
12
- theme?: Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ theme?: Theme;
13
+ as?: React.ElementType;
14
14
  } & {
15
- size?: number | undefined;
15
+ size?: number;
16
16
  themeVariant: ThemeVariant;
17
17
  }, {}, {
18
18
  ref?: import("react").Ref<View> | undefined;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { StyleProp, ViewStyle, ViewProps } from 'react-native';
3
- declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
3
+ type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
4
4
  interface LoadingIndicatorProps extends ViewProps {
5
5
  /**
6
6
  * Size of the loading dot.
@@ -1,48 +1,48 @@
1
1
  import { TouchableHighlight, View } from 'react-native';
2
2
  import type { Theme } from '@emotion/react';
3
- declare type Intent = 'primary' | 'secondary' | 'danger';
4
- declare type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
3
+ type Intent = 'primary' | 'secondary' | 'danger';
4
+ type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
5
5
  declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
6
- theme?: Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ theme?: Theme;
7
+ as?: React.ElementType;
8
8
  } & {
9
- disabled?: boolean | undefined;
9
+ disabled?: boolean;
10
10
  themeButtonVariant: ThemeVariant;
11
- loading?: boolean | undefined;
12
- themeInlineText?: boolean | undefined;
11
+ loading?: boolean;
12
+ themeInlineText?: boolean;
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<TouchableHighlight> | undefined;
15
15
  }>;
16
16
  declare const StyledButtonText: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
17
- theme?: Theme | undefined;
18
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
+ theme?: Theme;
18
+ as?: React.ElementType;
19
19
  } & {
20
- disabled?: boolean | undefined;
20
+ disabled?: boolean;
21
21
  themeButtonVariant: ThemeVariant;
22
22
  }, {}, {}>;
23
23
  declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
24
- theme?: Theme | undefined;
25
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
+ theme?: Theme;
25
+ as?: React.ElementType;
26
26
  } & {
27
- disabled?: boolean | undefined;
28
- themeButtonVariant: 'text-primary' | 'text-secondary' | 'text-danger';
29
- themeIsPressed?: boolean | undefined;
27
+ disabled?: boolean;
28
+ themeButtonVariant: "text-primary" | "text-secondary" | "text-danger";
29
+ themeIsPressed?: boolean;
30
30
  }, {}, {}>;
31
31
  declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
32
- theme?: Theme | undefined;
33
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
+ theme?: Theme;
33
+ as?: React.ElementType;
34
34
  } & {
35
- themePosition: 'left' | 'right';
35
+ themePosition: "left" | "right";
36
36
  }, {}, {
37
37
  ref?: import("react").Ref<View> | undefined;
38
38
  }>;
39
39
  declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
40
- theme?: Theme | undefined;
41
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
+ theme?: Theme;
41
+ as?: React.ElementType;
42
42
  } & {
43
- disabled?: boolean | undefined;
43
+ disabled?: boolean;
44
44
  themeButtonVariant: ThemeVariant;
45
- themeIsPressed?: boolean | undefined;
45
+ themeIsPressed?: boolean;
46
46
  }, {}, {}>;
47
47
  export { StyledButtonContainer, StyledButtonText, StyledButtonIconWrapper, StyledButtonIcon, StyledButtonTitleOfVariantText, };
48
48
  export type { Intent, ThemeVariant };
@@ -1,17 +1,17 @@
1
1
  import { View, TouchableOpacity } from 'react-native';
2
2
  export declare const ButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
5
  }, {}, {
6
6
  ref?: import("react").Ref<TouchableOpacity> | undefined;
7
7
  }>;
8
8
  export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
11
  }, {}, {
12
12
  ref?: import("react").Ref<View> | undefined;
13
13
  }>;
14
14
  export declare const ButtonText: import("@emotion/native").StyledComponent<import("../../Typography/Body").BodyProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
17
17
  }, {}, {}>;
@@ -1,61 +1,61 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View> | undefined;
8
8
  }>;
9
9
  declare const StyledCalendarHeader: import("@emotion/native").StyledComponent<ViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
12
12
  }, {}, {
13
13
  ref?: import("react").Ref<View> | undefined;
14
14
  }>;
15
15
  declare const StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<ViewProps & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
18
18
  } & {
19
- themeItemWidth?: number | undefined;
19
+ themeItemWidth?: number;
20
20
  }, {}, {
21
21
  ref?: import("react").Ref<View> | undefined;
22
22
  }>;
23
23
  declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
24
- theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
+ theme?: import("@emotion/react").Theme;
25
+ as?: React.ElementType;
26
26
  } & {
27
- variant?: "selected" | "default" | "current" | undefined;
28
- themeItemWidth?: number | undefined;
27
+ variant?: "default" | "current" | "selected";
28
+ themeItemWidth?: number;
29
29
  }, {}, {
30
30
  ref?: import("react").Ref<TouchableOpacity> | undefined;
31
31
  }>;
32
32
  declare const StyledCalendarRow: import("@emotion/native").StyledComponent<ViewProps & {
33
- theme?: import("@emotion/react").Theme | undefined;
34
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
33
+ theme?: import("@emotion/react").Theme;
34
+ as?: React.ElementType;
35
35
  }, {}, {
36
36
  ref?: import("react").Ref<View> | undefined;
37
37
  }>;
38
38
  declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
39
- theme?: import("@emotion/react").Theme | undefined;
40
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
+ theme?: import("@emotion/react").Theme;
40
+ as?: React.ElementType;
41
41
  } & {
42
- themeItemWidth?: number | undefined;
42
+ themeItemWidth?: number;
43
43
  }, {}, {
44
44
  ref?: import("react").Ref<View> | undefined;
45
45
  }>;
46
46
  declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
47
- theme?: import("@emotion/react").Theme | undefined;
48
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
47
+ theme?: import("@emotion/react").Theme;
48
+ as?: React.ElementType;
49
49
  } & {
50
- themeItemWidth?: number | undefined;
50
+ themeItemWidth?: number;
51
51
  }, {}, {
52
52
  ref?: import("react").Ref<View> | undefined;
53
53
  }>;
54
54
  declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
55
- theme?: import("@emotion/react").Theme | undefined;
56
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
55
+ theme?: import("@emotion/react").Theme;
56
+ as?: React.ElementType;
57
57
  } & {
58
- variant: 'primary' | 'inverted';
58
+ variant: "primary" | "inverted";
59
59
  }, {}, {
60
60
  ref?: import("react").Ref<View> | undefined;
61
61
  }>;
@@ -1,15 +1,15 @@
1
1
  import { View } from 'react-native';
2
2
  declare const StyledDataCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
5
  }, {}, {
6
6
  ref?: import("react").Ref<View> | undefined;
7
7
  }>;
8
8
  declare const Indicator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
11
  } & {
12
- themeIntent: 'success' | 'info' | 'warning' | 'danger' | 'archived' | 'primary';
12
+ themeIntent: "success" | "info" | "warning" | "danger" | "archived" | "primary";
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
@@ -1,10 +1,10 @@
1
1
  import { View } from 'react-native';
2
2
  declare const StyledCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
5
  } & {
6
- themeIntent?: "neutral" | "primary" | "success" | "warning" | "danger" | "archived" | undefined;
7
- themeVariant?: "basic" | "super-round" | undefined;
6
+ themeIntent?: "primary" | "success" | "warning" | "danger" | "archived" | "neutral";
7
+ themeVariant?: "basic" | "super-round";
8
8
  }, {}, {
9
9
  ref?: import("react").Ref<View> | undefined;
10
10
  }>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { LayoutChangeEvent, StyleProp, ViewStyle } from 'react-native';
3
- export declare type CardCarouselHandles = {
3
+ export type CardCarouselHandles = {
4
4
  snapToIndex: (index: number) => void;
5
5
  };
6
6
  export interface CardCarouselProps {
@@ -2,22 +2,22 @@ import { View, ViewProps } from 'react-native';
2
2
  import { CardProps } from '../Card';
3
3
  import { PageControlProps } from '../PageControl';
4
4
  declare const StyledPageControl: import("@emotion/native").StyledComponent<PageControlProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
7
  }, {}, {}>;
8
8
  declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
11
  }, {}, {
12
12
  ref?: import("react").Ref<View> | undefined;
13
13
  }>;
14
14
  declare const StyledCard: import("@emotion/native").StyledComponent<CardProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
17
17
  }, {}, {}>;
18
18
  declare const StyledItemWrapper: import("@emotion/native").StyledComponent<ViewProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
21
21
  }, {}, {
22
22
  ref?: import("react").Ref<View> | undefined;
23
23
  }>;
@@ -1,53 +1,53 @@
1
1
  import { View, ImageResizeMode } from 'react-native';
2
2
  declare const StyledBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
5
  } & {
6
6
  themeSlideBackground: string;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const StyledCarouselView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
+ theme?: import("@emotion/react").Theme;
12
+ as?: React.ElementType;
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
16
16
  declare const StyledCarouselHeading: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
+ theme?: import("@emotion/react").Theme;
18
+ as?: React.ElementType;
19
19
  }, {}, {}>;
20
20
  declare const StyledCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
21
+ theme?: import("@emotion/react").Theme;
22
+ as?: React.ElementType;
23
23
  }, {}, {}>;
24
24
  declare const StyledCustomSizeCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
25
- theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
+ theme?: import("@emotion/react").Theme;
26
+ as?: React.ElementType;
27
27
  } & {
28
- themeHeight?: number | `${number}%` | undefined;
29
- themeWidth?: number | `${number}%` | undefined;
30
- themeResizeMode?: ImageResizeMode | undefined;
28
+ themeHeight?: number | `${number}%`;
29
+ themeWidth?: number | `${number}%`;
30
+ themeResizeMode?: ImageResizeMode;
31
31
  }, {}, {}>;
32
32
  declare const StyledCarouselContentWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
33
- theme?: import("@emotion/react").Theme | undefined;
34
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
33
+ theme?: import("@emotion/react").Theme;
34
+ as?: React.ElementType;
35
35
  } & {
36
36
  width: number;
37
37
  }, {}, {}>;
38
38
  declare const StyledCarouselFooterWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
39
- theme?: import("@emotion/react").Theme | undefined;
40
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
+ theme?: import("@emotion/react").Theme;
40
+ as?: React.ElementType;
41
41
  }, {}, {
42
42
  ref?: import("react").Ref<View> | undefined;
43
43
  }>;
44
44
  declare const StyledPageControl: import("@emotion/native").StyledComponent<import("../PageControl").PageControlProps & {
45
- theme?: import("@emotion/react").Theme | undefined;
46
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
45
+ theme?: import("@emotion/react").Theme;
46
+ as?: React.ElementType;
47
47
  }, {}, {}>;
48
48
  declare const StyledPageControlWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
49
- theme?: import("@emotion/react").Theme | undefined;
50
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
49
+ theme?: import("@emotion/react").Theme;
50
+ as?: React.ElementType;
51
51
  }, {}, {
52
52
  ref?: import("react").Ref<View> | undefined;
53
53
  }>;
@@ -1,11 +1,11 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ImageSourcePropType, ImageResizeMode } from 'react-native';
3
- export declare type CarouselImageProps = ImageSourcePropType & {
3
+ export type CarouselImageProps = ImageSourcePropType & {
4
4
  height?: number | `${number}%`;
5
5
  width?: number | `${number}%`;
6
6
  resizeMode?: ImageResizeMode;
7
7
  };
8
- export declare type CarouselData = {
8
+ export type CarouselData = {
9
9
  image?: CarouselImageProps | string;
10
10
  content?: ReactNode;
11
11
  heading?: string;