@hero-design/rn 8.82.1 → 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/es/index.js +40 -0
  2. package/eslint.config.js +2 -4
  3. package/lib/index.js +40 -0
  4. package/package.json +3 -3
  5. package/types/components/Accordion/AccordionItem.d.ts +1 -1
  6. package/types/components/Accordion/StyledAccordion.d.ts +11 -11
  7. package/types/components/Accordion/index.d.ts +1 -1
  8. package/types/components/Alert/StyledAlert.d.ts +16 -16
  9. package/types/components/Alert/index.d.ts +1 -1
  10. package/types/components/Attachment/StyledAttachment.d.ts +8 -8
  11. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
  12. package/types/components/Avatar/StyledAvatar.d.ts +10 -10
  13. package/types/components/Badge/StyledBadge.d.ts +12 -12
  14. package/types/components/Badge/index.d.ts +1 -1
  15. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
  16. package/types/components/BottomNavigation/index.d.ts +1 -1
  17. package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
  18. package/types/components/BottomSheet/Header.d.ts +2 -2
  19. package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
  20. package/types/components/Box/StyledBox.d.ts +2 -2
  21. package/types/components/Box/config.d.ts +2 -2
  22. package/types/components/Box/types.d.ts +3 -3
  23. package/types/components/Button/Button.d.ts +1 -1
  24. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
  25. package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
  26. package/types/components/Button/StyledButton.d.ts +22 -22
  27. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
  28. package/types/components/Calendar/StyledCalendar.d.ts +22 -22
  29. package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
  30. package/types/components/Card/StyledCard.d.ts +4 -4
  31. package/types/components/Carousel/CardCarousel.d.ts +1 -1
  32. package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
  33. package/types/components/Carousel/StyledCarousel.d.ts +21 -21
  34. package/types/components/Carousel/types.d.ts +2 -2
  35. package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
  36. package/types/components/Checkbox/index.d.ts +1 -1
  37. package/types/components/Chip/StyledChip.d.ts +5 -5
  38. package/types/components/Collapse/StyledCollapse.d.ts +6 -6
  39. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
  40. package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
  41. package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
  42. package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
  43. package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
  44. package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
  45. package/types/components/Divider/StyledDivider.d.ts +5 -5
  46. package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
  47. package/types/components/Drawer/StyledDrawer.d.ts +15 -15
  48. package/types/components/Empty/StyledEmpty.d.ts +7 -7
  49. package/types/components/Error/StyledError.d.ts +21 -21
  50. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
  51. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
  52. package/types/components/FAB/ActionGroup/index.d.ts +1 -1
  53. package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
  54. package/types/components/FAB/FAB.d.ts +1 -1
  55. package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
  56. package/types/components/FAB/Pair/index.d.ts +1 -1
  57. package/types/components/FAB/StyledFAB.d.ts +9 -9
  58. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
  59. package/types/components/Icon/AnimatedIcon.d.ts +1 -1
  60. package/types/components/Icon/HeroIcon/index.d.ts +4 -4
  61. package/types/components/Icon/index.d.ts +1 -1
  62. package/types/components/Icon/utils.d.ts +2 -1
  63. package/types/components/List/StyledBasicListItem.d.ts +10 -10
  64. package/types/components/List/StyledListItem.d.ts +18 -18
  65. package/types/components/MapPin/StyledMapPin.d.ts +11 -11
  66. package/types/components/MapPin/types.d.ts +1 -1
  67. package/types/components/PageControl/StyledPageControl.d.ts +4 -4
  68. package/types/components/PinInput/StyledPinInput.d.ts +21 -21
  69. package/types/components/Portal/reducer.d.ts +1 -1
  70. package/types/components/Portal/types.d.ts +1 -1
  71. package/types/components/Progress/ProgressStep.d.ts +1 -1
  72. package/types/components/Progress/StyledProgressBar.d.ts +4 -4
  73. package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
  74. package/types/components/Progress/StyledStep.d.ts +10 -10
  75. package/types/components/Progress/types.d.ts +1 -1
  76. package/types/components/Radio/StyledRadio.d.ts +9 -9
  77. package/types/components/Radio/index.d.ts +1 -1
  78. package/types/components/Radio/types.d.ts +1 -1
  79. package/types/components/Rate/StyledRate.d.ts +4 -4
  80. package/types/components/RefreshControl/index.d.ts +1 -1
  81. package/types/components/RichTextEditor/EditorEvent.d.ts +0 -1
  82. package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
  83. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
  84. package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
  85. package/types/components/RichTextEditor/types.d.ts +1 -1
  86. package/types/components/Search/SearchOneLine.d.ts +5 -5
  87. package/types/components/Search/StyledSearch.d.ts +18 -18
  88. package/types/components/Search/index.d.ts +1 -1
  89. package/types/components/Search/utils.d.ts +2 -2
  90. package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
  91. package/types/components/Select/BaseOptionList.d.ts +1 -1
  92. package/types/components/Select/MultiSelect/Option.d.ts +2 -2
  93. package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
  94. package/types/components/Select/SingleSelect/Option.d.ts +2 -2
  95. package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
  96. package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
  97. package/types/components/Select/StyledSelect.d.ts +6 -6
  98. package/types/components/Select/helpers.d.ts +2 -2
  99. package/types/components/Select/types.d.ts +6 -6
  100. package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
  101. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
  102. package/types/components/Spinner/StyledSpinner.d.ts +13 -13
  103. package/types/components/Success/StyledSuccess.d.ts +19 -19
  104. package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
  105. package/types/components/Swipeable/index.d.ts +2 -2
  106. package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -5
  107. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
  108. package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
  109. package/types/components/Switch/StyledSwitch.d.ts +5 -5
  110. package/types/components/Switch/index.d.ts +3 -3
  111. package/types/components/Tabs/SceneView.d.ts +3 -3
  112. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
  113. package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
  114. package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
  115. package/types/components/Tabs/StyledTabs.d.ts +14 -14
  116. package/types/components/Tabs/TabWithBadge.d.ts +3 -3
  117. package/types/components/Tabs/index.d.ts +2 -2
  118. package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
  119. package/types/components/Tag/StyledTag.d.ts +5 -5
  120. package/types/components/TextInput/StyledTextInput.d.ts +28 -28
  121. package/types/components/TextInput/index.d.ts +16 -16
  122. package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
  123. package/types/components/Toast/StyledToast.d.ts +18 -18
  124. package/types/components/Toast/ToastContext.d.ts +2 -2
  125. package/types/components/Toast/ToastProvider.d.ts +1 -1
  126. package/types/components/Toast/types.d.ts +2 -2
  127. package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
  128. package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
  129. package/types/components/Typography/Body/StyledBody.d.ts +4 -4
  130. package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
  131. package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
  132. package/types/components/Typography/Text/StyledText.d.ts +6 -6
  133. package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
  134. package/types/components/Typography/types.d.ts +1 -1
  135. package/types/testHelpers/utils.d.ts +1 -1
  136. package/types/theme/ThemeSwitcher.d.ts +3 -3
  137. package/types/theme/components/badge.d.ts +1 -1
  138. package/types/theme/components/button.d.ts +1 -1
  139. package/types/theme/components/carousel.d.ts +1 -1
  140. package/types/theme/components/empty.d.ts +1 -1
  141. package/types/theme/components/error.d.ts +1 -1
  142. package/types/theme/components/fab.d.ts +1 -1
  143. package/types/theme/components/pinInput.d.ts +1 -1
  144. package/types/theme/components/success.d.ts +1 -1
  145. package/types/theme/components/tag.d.ts +1 -1
  146. package/types/theme/getTheme.d.ts +1 -1
  147. package/types/theme/global/colors/types.d.ts +3 -3
  148. package/types/theme/global/index.d.ts +4 -4
  149. package/types/theme/global/scale.d.ts +1 -1
  150. package/types/theme/global/shadows.d.ts +1 -1
  151. package/types/theme/global/typography.d.ts +1 -1
  152. package/.turbo/turbo-build.log +0 -7
@@ -1,34 +1,34 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
- declare type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
2
+ type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
3
3
  export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
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
  themeState: CheckboxThemeState;
8
8
  }, {}, {
9
9
  ref?: import("react").Ref<TouchableOpacity> | undefined;
10
10
  }>;
11
11
  export declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
14
  }, {}, {}>;
15
15
  export declare const StyledCheckboxContainer: import("@emotion/native").StyledComponent<import("react-native").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
19
  ref?: import("react").Ref<View> | undefined;
20
20
  }>;
21
21
  export declare const StyledCheckbox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
24
  } & {
25
25
  themeState: CheckboxThemeState;
26
26
  }, {}, {
27
27
  ref?: import("react").Ref<View> | undefined;
28
28
  }>;
29
29
  export declare const StyledCheckMark: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
30
- theme?: import("@emotion/react").Theme | undefined;
31
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
+ theme?: import("@emotion/react").Theme;
31
+ as?: React.ElementType;
32
32
  } & {
33
33
  themeState: CheckboxThemeState;
34
34
  }, {}, {}>;
@@ -35,7 +35,7 @@ export interface CheckboxProps {
35
35
  */
36
36
  readonly?: boolean;
37
37
  }
38
- declare type getStateType = {
38
+ type getStateType = {
39
39
  disabled: boolean;
40
40
  readonly: boolean;
41
41
  };
@@ -1,16 +1,16 @@
1
1
  import { TouchableOpacity } from 'react-native';
2
- declare type StyledChipWrapperProps = {
2
+ type StyledChipWrapperProps = {
3
3
  themeVariant?: 'outlined' | 'filled' | 'compact' | 'compact-outlined';
4
4
  themeSelected?: boolean;
5
5
  };
6
6
  declare const StyledChipWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: React.ElementType;
9
9
  } & StyledChipWrapperProps, {}, {
10
10
  ref?: import("react").Ref<TouchableOpacity> | undefined;
11
11
  }>;
12
12
  declare const StyledChipIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
15
15
  }, {}, {}>;
16
16
  export { StyledChipWrapper, StyledChipIcon };
@@ -1,7 +1,7 @@
1
1
  import { Animated, View } from 'react-native';
2
2
  declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
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
  /**
7
7
  * Height need to be high enough to cover most scenario
@@ -9,14 +9,14 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.
9
9
  * to use with Animated.timing
10
10
  */
11
11
  declare const StyledHiddenWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
14
  }, {}, {
15
15
  ref?: import("react").Ref<View> | undefined;
16
16
  }>;
17
17
  declare const StyledChildWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
18
- theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
20
20
  }, {}, {
21
21
  ref?: import("react").Ref<View> | undefined;
22
22
  }>;
@@ -1,7 +1,7 @@
1
1
  import { View } from 'react-native';
2
2
  declare const Wrapper: 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
  }>;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DatePickerProps } from './types';
3
- declare type DatePickerAndroidProps = Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'> & {
3
+ type DatePickerAndroidProps = Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'> & {
4
4
  variant?: 'default' | 'month-year';
5
5
  };
6
6
  declare const DatePickerAndroid: ({ value, minDate, maxDate, label, placeholder, onChange, displayFormat, disabled, required, error, helpText, style, testID, variant, }: DatePickerAndroidProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
1
  import React from 'react';
2
2
  import type { DatePickerProps } from './types';
3
- declare const DatePickerCalendar: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, monthPickerConfirmLabel, monthPickerCancelLabel, supportedOrientations, }: Omit<DatePickerProps, 'variant'>) => React.JSX.Element;
3
+ declare const DatePickerCalendar: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, monthPickerConfirmLabel, monthPickerCancelLabel, supportedOrientations, }: Omit<DatePickerProps, "variant">) => React.JSX.Element;
4
4
  export default DatePickerCalendar;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { DatePickerProps } from './types';
3
- declare type DatePickerIOSProps = Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'> & {
3
+ type DatePickerIOSProps = Omit<DatePickerProps, 'variant' | 'monthPickerConfirmLabel' | 'monthPickerCancelLabel'> & {
4
4
  variant?: 'default' | 'month-year';
5
5
  };
6
6
  declare const DatePickerIOS: ({ value, minDate, maxDate, label, placeholder, onChange, confirmLabel, displayFormat, disabled, required, error, helpText, style, testID, supportedOrientations, variant, }: DatePickerIOSProps) => React.JSX.Element;
@@ -1,8 +1,8 @@
1
1
  import { View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledPickerWrapper: 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
  }>;
@@ -1,4 +1,4 @@
1
1
  import { DatePickerProps } from './types';
2
2
  export declare const getDateValue: (value: Date, minDate?: Date | undefined, maxDate?: Date | undefined) => Date;
3
- declare const useCalculateDate: ({ maxDate, minDate, onChange, value, }: Pick<DatePickerProps, 'maxDate' | 'minDate' | 'onChange' | 'value'>) => void;
3
+ declare const useCalculateDate: ({ maxDate, minDate, onChange, value, }: Pick<DatePickerProps, "maxDate" | "minDate" | "onChange" | "value">) => void;
4
4
  export default useCalculateDate;
@@ -1,11 +1,11 @@
1
1
  import { View } from 'react-native';
2
- declare type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2
+ type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3
3
  declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").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
- themeMarginHorizontal?: MarginSize | undefined;
8
- themeMarginVertical?: MarginSize | undefined;
7
+ themeMarginHorizontal?: MarginSize;
8
+ themeMarginVertical?: MarginSize;
9
9
  }, {}, {
10
10
  ref?: import("react").Ref<View> | undefined;
11
11
  }>;
@@ -1,5 +1,5 @@
1
1
  export declare const getOffset: (height: number, percentage: number) => number;
2
- export declare type SnapPointsData = {
2
+ export type SnapPointsData = {
3
3
  list: number[];
4
4
  minHeightOffset: number;
5
5
  maxHeightOffset: number;
@@ -1,48 +1,48 @@
1
1
  import { Animated, 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
  enableShadow: boolean;
8
8
  }, {}, {
9
9
  ref?: import("react").Ref<View> | undefined;
10
10
  }>;
11
11
  declare const StyledDragableContainer: import("@emotion/native").StyledComponent<ViewProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
14
  } & {
15
15
  enableShadow: boolean;
16
16
  }, {}, {
17
17
  ref?: import("react").Ref<View> | undefined;
18
18
  }>;
19
19
  declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & 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 StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
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
  enableShadow: boolean;
28
28
  }, {}, {}>;
29
29
  declare const StyledDragableDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
30
- theme?: import("@emotion/react").Theme | undefined;
31
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
+ theme?: import("@emotion/react").Theme;
31
+ as?: React.ElementType;
32
32
  } & {
33
33
  enableShadow: boolean;
34
34
  }, {}, {}>;
35
35
  declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<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 StyledHandler: import("@emotion/native").StyledComponent<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
- active?: boolean | undefined;
45
+ active?: boolean;
46
46
  }, {}, {
47
47
  ref?: import("react").Ref<View> | undefined;
48
48
  }>;
@@ -1,20 +1,20 @@
1
1
  import { View } from 'react-native';
2
- declare type ThemeVariant = 'light' | 'dark';
2
+ type ThemeVariant = 'light' | 'dark';
3
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, 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 StyledTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
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
  themeVariant: ThemeVariant;
14
14
  }, {}, {}>;
15
15
  declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
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
  themeVariant: ThemeVariant;
20
20
  }, {}, {}>;
@@ -1,53 +1,53 @@
1
1
  import { View } from 'react-native';
2
- declare type ErrorVariant = 'full-screen' | 'in-page';
2
+ type ErrorVariant = 'full-screen' | 'in-page';
3
3
  declare const StyledErrorModal: import("@emotion/native").StyledComponent<import("../Modal").ModalProps & {
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
  declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
10
10
  } & {
11
11
  themeVariant: ErrorVariant;
12
12
  }, {}, {
13
13
  ref?: import("react").Ref<View> | undefined;
14
14
  }>;
15
15
  declare const StyledErrorContent: import("@emotion/native").StyledComponent<import("react-native").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
19
  ref?: import("react").Ref<View> | undefined;
20
20
  }>;
21
21
  declare const StyledErrorButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
24
  }, {}, {
25
25
  ref?: import("react").Ref<View> | undefined;
26
26
  }>;
27
27
  declare const StyledErrorButtonPrimary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
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 StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
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
  declare const StyledErrorImageContainer: 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 StyledErrorImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
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
  declare const StyledErrorTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
46
- theme?: import("@emotion/react").Theme | undefined;
47
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
46
+ theme?: import("@emotion/react").Theme;
47
+ as?: React.ElementType;
48
48
  }, {}, {}>;
49
49
  declare const StyledErrorDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
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
  export { ErrorVariant, StyledErrorModal, StyledErrorImage, StyledErrorContainer, StyledErrorButtonContainer, StyledErrorButtonPrimary, StyledErrorButtonSecondary, StyledErrorContent, StyledErrorTitle, StyledErrorDescription, StyledErrorImageContainer, };
@@ -1,27 +1,27 @@
1
1
  import { Animated, 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 StyledContainerInModal: 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 StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
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 StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
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 StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
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
  export { StyledActionGroupContainer, StyledBackdrop, StyledContainer, StyledContainerInModal, StyledFAB, };
@@ -2,17 +2,17 @@ import { TouchableOpacity } from 'react-native';
2
2
  import type { TouchableOpacityProps } from 'react-native';
3
3
  import type { IconProps } from '../../Icon';
4
4
  declare const StyledActionItem: import("@emotion/native").StyledComponent<TouchableOpacityProps & {
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
  ref?: import("react").Ref<TouchableOpacity> | undefined;
9
9
  }>;
10
10
  declare const StyledActionItemText: import("@emotion/native").StyledComponent<import("../../Typography/Body").BodyProps & {
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
  } & TouchableOpacityProps, {}, {}>;
14
14
  declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
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
  export { StyledIcon, StyledActionItem, StyledActionItemText };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { IconName } from '../../Icon';
4
4
  import type { ActionItemProps } from './ActionItem';
5
- export declare type ActionGroupHandles = {
5
+ export type ActionGroupHandles = {
6
6
  showFAB: () => void;
7
7
  collapseFAB: () => void;
8
8
  hideFAB: () => void;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { IconProps } from '../Icon';
3
- declare type Props = {
3
+ type Props = {
4
4
  active?: boolean;
5
5
  } & IconProps;
6
6
  declare const AnimatedFABIcon: ({ active, ...iconProps }: Props) => React.JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
3
  import type { IconName } from '../Icon';
4
- export declare type FABHandles = {
4
+ export type FABHandles = {
5
5
  show: () => void;
6
6
  collapse: () => void;
7
7
  hide: () => void;
@@ -1,12 +1,12 @@
1
1
  declare const StyledFABPairWrapper: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
2
- theme?: import("@emotion/react").Theme | undefined;
3
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
4
  }, {}, {}>;
5
5
  declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
8
  } & {
9
- iconOnly?: boolean | undefined;
10
- isLast?: boolean | undefined;
9
+ iconOnly?: boolean;
10
+ isLast?: boolean;
11
11
  }, {}, {}>;
12
12
  export { StyledFABPairWrapper, StyledFAB };
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ViewProps } from 'react-native';
3
3
  import { FABProps } from '../FAB';
4
- export declare type InnerFABProps = Pick<FABProps, 'icon' | 'title' | 'onPress' | 'testID'>;
4
+ export type InnerFABProps = Pick<FABProps, 'icon' | 'title' | 'onPress' | 'testID'>;
5
5
  export interface FABPairProps extends ViewProps {
6
6
  /**
7
7
  * Configuration for the main FAB.
@@ -1,21 +1,21 @@
1
1
  import { TextProps, Animated, TouchableOpacity } from 'react-native';
2
2
  import type { IconProps } from '../Icon';
3
3
  declare const StyledFAB: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").TouchableOpacityProps & import("react").RefAttributes<TouchableOpacity>> & {
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
- themeActive?: boolean | undefined;
7
+ themeActive?: boolean;
8
8
  }, {}, {}>;
9
9
  declare const StyledFABIcon: import("@emotion/native").StyledComponent<IconProps & {
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
  declare const StyledFABText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
16
16
  } & TextProps, {}, {}>;
17
17
  declare const StyledIconContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
18
- theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
20
20
  }, {}, {}>;
21
21
  export { StyledFAB, StyledFABIcon, StyledFABText, StyledIconContainer };
@@ -1,19 +1,19 @@
1
- declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native/types").TouchableOpacityProps & {
2
- theme?: import("@emotion/react").Theme | undefined;
3
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
1
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
4
4
  }, {}, {
5
- ref?: import("react").Ref<import("react-native/types").TouchableOpacity> | undefined;
5
+ ref?: import("react").Ref<import("react-native").TouchableOpacity> | undefined;
6
6
  }>;
7
7
  declare const StyledPrefixWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
10
10
  }, {}, {}>;
11
11
  declare const StyledSuffixWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
14
  }, {}, {}>;
15
15
  declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
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
  export { StyledWrapper, StyledPrefixWrapper, StyledSuffixWrapper, StyledIcon };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ComponentProps } from 'react';
3
3
  import StyledHeroIcon from './HeroIcon';
4
- declare type AnimatedIconProps = ComponentProps<typeof StyledHeroIcon>;
4
+ type AnimatedIconProps = ComponentProps<typeof StyledHeroIcon>;
5
5
  declare const AnimatedIcon: ({ style, ...otherProps }: AnimatedIconProps) => React.JSX.Element;
6
6
  export default AnimatedIcon;
@@ -1,8 +1,8 @@
1
- declare type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2
- declare type ThemeIntent = 'text' | 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'disabled-text' | 'text-inverted' | 'muted';
1
+ type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2
+ type ThemeIntent = 'text' | 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'disabled-text' | 'text-inverted' | 'muted';
3
3
  declare const StyledHeroIcon: import("@emotion/native").StyledComponent<import("react-native-vector-icons/Icon").IconProps & {
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
  themeSize: ThemeSize;
8
8
  themeIntent: ThemeIntent;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import type { AccessibilityProps, StyleProp, TextStyle } from 'react-native';
3
3
  import IconList from './IconList';
4
- export declare type IconName = typeof IconList[number];
4
+ export type IconName = typeof IconList[number];
5
5
  export interface IconProps extends AccessibilityProps {
6
6
  /**
7
7
  * Name of the Icon.