@hero-design/rn 8.55.1 → 8.56.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 (82) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +12 -0
  3. package/es/index.js +5205 -4772
  4. package/lib/index.js +5211 -4775
  5. package/package.json +1 -1
  6. package/src/components/AnimatedScroller/AnimatedFAB.tsx +105 -0
  7. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +55 -0
  8. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  9. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  10. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  11. package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +172 -0
  12. package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3435 -0
  13. package/src/components/AnimatedScroller/index.tsx +5 -0
  14. package/src/components/FAB/FAB.tsx +6 -6
  15. package/src/index.ts +8 -0
  16. package/types/components/Accordion/StyledAccordion.d.ts +5 -5
  17. package/types/components/Alert/StyledAlert.d.ts +5 -5
  18. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +10 -0
  19. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  20. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  21. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  22. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  23. package/types/components/AnimatedScroller/index.d.ts +4 -0
  24. package/types/components/Attachment/StyledAttachment.d.ts +4 -4
  25. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +3 -3
  26. package/types/components/Avatar/StyledAvatar.d.ts +4 -4
  27. package/types/components/Badge/StyledBadge.d.ts +3 -3
  28. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +7 -7
  29. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -8
  30. package/types/components/Box/StyledBox.d.ts +1 -1
  31. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +2 -2
  32. package/types/components/Button/StyledButton.d.ts +5 -5
  33. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -3
  34. package/types/components/Calendar/StyledCalendar.d.ts +9 -9
  35. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -2
  36. package/types/components/Card/StyledCard.d.ts +1 -1
  37. package/types/components/Carousel/StyledCardCarousel.d.ts +4 -4
  38. package/types/components/Carousel/StyledCarousel.d.ts +9 -9
  39. package/types/components/Checkbox/StyledCheckbox.d.ts +5 -5
  40. package/types/components/Chip/StyledChip.d.ts +4 -4
  41. package/types/components/Collapse/StyledCollapse.d.ts +3 -3
  42. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -1
  43. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -1
  44. package/types/components/Divider/StyledDivider.d.ts +1 -1
  45. package/types/components/Drawer/StyledDrawer.d.ts +7 -7
  46. package/types/components/Empty/StyledEmpty.d.ts +3 -3
  47. package/types/components/Error/StyledError.d.ts +10 -10
  48. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +5 -5
  49. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
  50. package/types/components/FAB/StyledFAB.d.ts +4 -4
  51. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  52. package/types/components/List/StyledBasicListItem.d.ts +4 -4
  53. package/types/components/List/StyledListItem.d.ts +7 -7
  54. package/types/components/PageControl/StyledPageControl.d.ts +2 -2
  55. package/types/components/PinInput/StyledPinInput.d.ts +10 -10
  56. package/types/components/Progress/StyledProgressBar.d.ts +2 -2
  57. package/types/components/Progress/StyledProgressCircle.d.ts +6 -6
  58. package/types/components/Radio/StyledRadio.d.ts +3 -3
  59. package/types/components/Rate/StyledRate.d.ts +2 -2
  60. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -2
  61. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -3
  62. package/types/components/SectionHeading/StyledHeading.d.ts +3 -3
  63. package/types/components/Select/StyledSelect.d.ts +3 -3
  64. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
  65. package/types/components/Spinner/StyledSpinner.d.ts +4 -4
  66. package/types/components/Success/StyledSuccess.d.ts +9 -9
  67. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
  68. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -4
  69. package/types/components/Switch/StyledSwitch.d.ts +2 -2
  70. package/types/components/Tabs/StyledScrollableTabs.d.ts +8 -8
  71. package/types/components/Tabs/StyledTabs.d.ts +8 -8
  72. package/types/components/Tag/StyledTag.d.ts +2 -2
  73. package/types/components/TextInput/StyledTextInput.d.ts +13 -13
  74. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -1
  75. package/types/components/Toast/StyledToast.d.ts +6 -6
  76. package/types/components/Toolbar/StyledToolbar.d.ts +5 -5
  77. package/types/components/Typography/Body/StyledBody.d.ts +1 -1
  78. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
  79. package/types/components/Typography/Label/StyledLabel.d.ts +1 -1
  80. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  81. package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
  82. package/types/index.d.ts +2 -1
@@ -0,0 +1,5 @@
1
+ import ScrollViewWithFAB from './ScrollViewWithFAB';
2
+ import FlatListWithFAB from './FlatListWithFAB';
3
+ import SectionListWithFAB from './SectionListWithFAB';
4
+
5
+ export { ScrollViewWithFAB, FlatListWithFAB, SectionListWithFAB };
@@ -110,21 +110,21 @@ const defaultAnimation: LayoutAnimationConfig = {
110
110
  type: 'easeInEaseOut',
111
111
  property: 'opacity',
112
112
  },
113
- update: { type: 'spring', springDamping: Platform.OS === 'ios' ? 0.7 : 1 },
114
- duration: 400,
113
+ update: {
114
+ type: 'spring',
115
+ springDamping: Platform.OS === 'ios' ? 0.7 : 1.2,
116
+ },
117
+ duration: Platform.OS === 'ios' ? 300 : 400,
115
118
  };
116
119
 
117
120
  const FAB = forwardRef<FABHandles, FABProps>(
118
121
  ({ onPress, title, icon, animated, testID, active, style }, ref) => {
119
122
  const theme = useTheme();
120
-
123
+ const [canAnimate, setCanAnimate] = React.useState(false);
121
124
  const [displayState, setDisplayState] = React.useState({
122
125
  hideTitle: false,
123
126
  hideButton: false,
124
127
  });
125
-
126
- const [canAnimate, setCanAnimate] = React.useState(false);
127
-
128
128
  const isIconOnly = displayState.hideTitle || active || !title;
129
129
 
130
130
  React.useImperativeHandle(
package/src/index.ts CHANGED
@@ -62,6 +62,11 @@ import RefreshControl from './components/RefreshControl';
62
62
  import RichTextEditor from './components/RichTextEditor';
63
63
  import PageControl from './components/PageControl';
64
64
  import Portal from './components/Portal';
65
+ import {
66
+ ScrollViewWithFAB,
67
+ SectionListWithFAB,
68
+ FlatListWithFAB,
69
+ } from './components/AnimatedScroller';
65
70
 
66
71
  export {
67
72
  theme,
@@ -100,6 +105,7 @@ export {
100
105
  Empty,
101
106
  Error,
102
107
  FAB,
108
+ FlatListWithFAB,
103
109
  Icon,
104
110
  Image,
105
111
  HeroDesignProvider,
@@ -113,7 +119,9 @@ export {
113
119
  Spinner,
114
120
  Swipeable,
115
121
  Radio,
122
+ ScrollViewWithFAB,
116
123
  SectionHeading,
124
+ SectionListWithFAB,
117
125
  Select,
118
126
  Success,
119
127
  Switch,
@@ -3,13 +3,13 @@ import { TouchableOpacity, View } from 'react-native';
3
3
  export declare type Variant = 'default' | 'card';
4
4
  export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  export declare const StyledItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  } & {
14
14
  themeVariant: Variant;
15
15
  }, {}, {
@@ -17,17 +17,17 @@ export declare const StyledItemWrapper: import("@emotion/native").StyledComponen
17
17
  }>;
18
18
  export declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
19
19
  theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
20
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
21
21
  }, {}, {
22
22
  ref?: import("react").Ref<TouchableOpacity> | undefined;
23
23
  }>;
24
24
  export declare const StyledCollapse: import("@emotion/native").StyledComponent<import("../Collapse").CollapseProps & {
25
25
  theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any> | undefined;
26
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
27
27
  }, {}, {}>;
28
28
  export declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
29
29
  theme?: import("@emotion/react").Theme | undefined;
30
- as?: import("react").ElementType<any> | undefined;
30
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
31
31
  }, {}, {
32
32
  ref?: import("react").Ref<View> | undefined;
33
33
  }>;
@@ -3,7 +3,7 @@ import { TouchableOpacity, View } from 'react-native';
3
3
  import type { ViewProps } from 'react-native';
4
4
  declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  themeVariant: 'rounded' | 'unrounded';
9
9
  themeIntent: 'success' | 'info' | 'warning' | 'error' | 'notification';
@@ -12,19 +12,19 @@ declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
12
12
  }>;
13
13
  declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
14
14
  theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
15
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
16
  }, {}, {
17
17
  ref?: import("react").Ref<View> | undefined;
18
18
  }>;
19
19
  declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
20
20
  theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
21
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
22
22
  }, {}, {
23
23
  ref?: import("react").Ref<View> | undefined;
24
24
  }>;
25
25
  declare const ContentContainer: import("@emotion/native").StyledComponent<ViewProps & {
26
26
  theme?: import("@emotion/react").Theme | undefined;
27
- as?: import("react").ElementType<any> | undefined;
27
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
28
  } & {
29
29
  showDivider: boolean;
30
30
  }, {}, {
@@ -32,7 +32,7 @@ declare const ContentContainer: import("@emotion/native").StyledComponent<ViewPr
32
32
  }>;
33
33
  declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
34
34
  theme?: import("@emotion/react").Theme | undefined;
35
- as?: import("react").ElementType<any> | undefined;
35
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
36
36
  }, {}, {
37
37
  ref?: import("react").Ref<TouchableOpacity> | undefined;
38
38
  }>;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ import { Animated } from 'react-native';
3
+ import { ActionGroupProps } from '../FAB/ActionGroup';
4
+ import { FABProps } from '../FAB/FAB';
5
+ interface AnimatedFABProps {
6
+ fabProps: FABProps | ActionGroupProps;
7
+ contentOffsetY: Animated.Value;
8
+ }
9
+ declare const AnimatedFAB: ({ fabProps, contentOffsetY }: AnimatedFABProps) => React.JSX.Element;
10
+ export default AnimatedFAB;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { FlatListProps, ScrollViewProps as RnScrollViewProps, SectionListProps } from 'react-native';
3
+ import { FABProps } from '../FAB/FAB';
4
+ import { ActionGroupProps } from '../FAB/ActionGroup';
5
+ export interface AnimatedScrollerProps<T> {
6
+ /**
7
+ * Scroll component, it can be ScrollView, FlatList or SectionList.
8
+ */
9
+ ScrollComponent: React.ReactElement<RnScrollViewProps | FlatListProps<T> | SectionListProps<T>>;
10
+ /**
11
+ * FAB or FAB.ActionGroup props.
12
+ */
13
+ fabProps: FABProps | ActionGroupProps;
14
+ }
15
+ declare function AnimatedScroller<T>({ ScrollComponent, fabProps, }: AnimatedScrollerProps<T>): React.JSX.Element;
16
+ export default AnimatedScroller;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { FlatListProps } from 'react-native';
3
+ import { FABProps } from '../FAB/FAB';
4
+ import { ActionGroupProps } from '../FAB/ActionGroup';
5
+ export interface FlatListWithFABProps<T> extends FlatListProps<T> {
6
+ /**
7
+ * FAB or FAB.ActionGroup props props.
8
+ */
9
+ fabProps: FABProps | ActionGroupProps;
10
+ }
11
+ declare function FlatListWithFAB<T>({ fabProps, ...props }: FlatListWithFABProps<T>): React.JSX.Element;
12
+ export default FlatListWithFAB;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { ScrollViewProps } from 'react-native';
3
+ import { ActionGroupProps } from '../FAB/ActionGroup';
4
+ import { FABProps } from '../FAB/FAB';
5
+ export interface ScrollViewWithFABProps extends ScrollViewProps {
6
+ /**
7
+ * FAB or FAB.ActionGroup props props.
8
+ */
9
+ fabProps: FABProps | ActionGroupProps;
10
+ }
11
+ declare const ScrollViewWithFAB: ({ fabProps, ...props }: ScrollViewWithFABProps) => React.JSX.Element;
12
+ export default ScrollViewWithFAB;
@@ -0,0 +1,12 @@
1
+ import React from 'react';
2
+ import { SectionListProps } from 'react-native';
3
+ import { ActionGroupProps } from '../FAB/ActionGroup';
4
+ import { FABProps } from '../FAB/FAB';
5
+ export interface SectionListWithFABProps<T> extends SectionListProps<T> {
6
+ /**
7
+ * FAB or FAB.ActionGroup props props.
8
+ */
9
+ fabProps: FABProps | ActionGroupProps;
10
+ }
11
+ declare function SectionListWithFAB<T>({ fabProps, ...props }: SectionListWithFABProps<T>): React.JSX.Element;
12
+ export default SectionListWithFAB;
@@ -0,0 +1,4 @@
1
+ import ScrollViewWithFAB from './ScrollViewWithFAB';
2
+ import FlatListWithFAB from './FlatListWithFAB';
3
+ import SectionListWithFAB from './SectionListWithFAB';
4
+ export { ScrollViewWithFAB, FlatListWithFAB, SectionListWithFAB };
@@ -2,13 +2,13 @@
2
2
  import { TouchableOpacity, View } from 'react-native';
3
3
  declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View> | undefined;
8
8
  }>;
9
9
  declare const StyledContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & {
13
13
  themeHighlighted: boolean;
14
14
  }, {}, {
@@ -16,13 +16,13 @@ declare const StyledContentContainer: import("@emotion/native").StyledComponent<
16
16
  }>;
17
17
  declare const StyledTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any> | undefined;
19
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
20
  }, {}, {
21
21
  ref?: import("react").Ref<View> | undefined;
22
22
  }>;
23
23
  declare const StyledCTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
24
24
  theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
25
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
26
  }, {}, {
27
27
  ref?: import("react").Ref<TouchableOpacity> | undefined;
28
28
  }>;
@@ -4,7 +4,7 @@ import { AvatarProps } from '../Avatar';
4
4
  declare type ThemeVariant = 'horizontal' | 'vertical';
5
5
  export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
6
6
  theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
7
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
8
  } & {
9
9
  themeSize: Required<AvatarProps>['size'];
10
10
  themeAvatarCount: number;
@@ -15,14 +15,14 @@ export declare const StyledWrapper: import("@emotion/native").StyledComponent<im
15
15
  }>;
16
16
  export declare const StyledAvatar: import("@emotion/native").StyledComponent<AvatarProps & {
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  } & {
20
20
  themeIndex: number;
21
21
  themeVariant: ThemeVariant;
22
22
  }, {}, {}>;
23
23
  export declare const StyledSurplusContainer: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
24
24
  theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
25
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
26
  } & {
27
27
  themeIndex: number;
28
28
  themeSize: AvatarProps['size'];
@@ -5,7 +5,7 @@ declare type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | '
5
5
  declare type ThemeIntent = 'primary' | 'info' | 'danger' | 'success' | 'warning';
6
6
  declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
7
7
  theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  } & {
10
10
  themeSize: ThemeSize;
11
11
  themeIntent: ThemeIntent;
@@ -14,19 +14,19 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("r
14
14
  }>;
15
15
  declare const StyledTextWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
16
16
  theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
17
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
18
  }, {}, {
19
19
  ref?: import("react").Ref<View> | undefined;
20
20
  }>;
21
21
  declare const StyledText: import("@emotion/native").StyledComponent<TextProps & {
22
22
  theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any> | undefined;
23
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
24
24
  } & {
25
25
  themeSize: ThemeSize;
26
26
  }, {}, {}>;
27
27
  declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
28
28
  theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any> | undefined;
29
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
30
  } & {
31
31
  themeSize: ThemeSize;
32
32
  }, {}, {
@@ -4,18 +4,18 @@ declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info'
4
4
  declare type ThemePadding = 'narrowContent' | 'wideContent';
5
5
  declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
6
6
  theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
7
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
8
  } & {
9
9
  themeIntent: ThemeIntent;
10
10
  themePadding: ThemePadding;
11
11
  }, {}, {}>;
12
12
  declare const StyledText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
13
13
  theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
14
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
15
  }, {}, {}>;
16
16
  declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  } & {
20
20
  themeIntent: ThemeIntent;
21
21
  }, {}, {}>;
@@ -2,7 +2,7 @@
2
2
  import { View } from 'react-native';
3
3
  declare const BottomNavigationTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  themeVisibility?: boolean | undefined;
8
8
  }, {}, {
@@ -10,19 +10,19 @@ declare const BottomNavigationTab: import("@emotion/native").StyledComponent<imp
10
10
  }>;
11
11
  declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
12
12
  theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
13
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
14
  }, {}, {
15
15
  ref?: import("react").Ref<View> | undefined;
16
16
  }>;
17
17
  declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
18
18
  theme?: import("@emotion/react").Theme | undefined;
19
- as?: import("react").ElementType<any> | undefined;
19
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
20
  }, {}, {
21
21
  ref?: import("react").Ref<View> | undefined;
22
22
  }>;
23
23
  declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
24
24
  theme?: import("@emotion/react").Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
25
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
26
  } & {
27
27
  themeInsets: {
28
28
  top: number;
@@ -35,18 +35,18 @@ declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import
35
35
  }>;
36
36
  declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
37
37
  theme?: import("@emotion/react").Theme | undefined;
38
- as?: import("react").ElementType<any> | undefined;
38
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
39
  }, {}, {
40
40
  ref?: import("react").Ref<View> | undefined;
41
41
  }>;
42
42
  declare const BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
43
43
  theme?: import("@emotion/react").Theme | undefined;
44
- as?: import("react").ElementType<any> | undefined;
44
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
45
45
  }, {}, {
46
46
  ref?: import("react").Ref<View> | undefined;
47
47
  }>;
48
48
  declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
49
49
  theme?: import("@emotion/react").Theme | undefined;
50
- as?: import("react").ElementType<any> | undefined;
50
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
51
51
  }, {}, {}>;
52
52
  export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
@@ -3,45 +3,45 @@ import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView
3
3
  import type { ViewProps } from 'react-native';
4
4
  declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
15
15
  }>;
16
16
  declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  }, {}, {}>;
20
20
  declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
21
21
  theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
22
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
23
  }, {}, {}>;
24
24
  declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
25
25
  theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any> | undefined;
26
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
27
27
  }, {}, {
28
28
  ref?: import("react").Ref<View> | undefined;
29
29
  }>;
30
30
  declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
31
31
  theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
32
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
33
33
  }, {}, {
34
34
  ref?: import("react").Ref<View> | undefined;
35
35
  }>;
36
36
  declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
37
37
  theme?: import("@emotion/react").Theme | undefined;
38
- as?: import("react").ElementType<any> | undefined;
38
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
39
  }, {}, {
40
40
  ref?: import("react").Ref<View> | undefined;
41
41
  }>;
42
42
  declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
43
43
  theme?: import("@emotion/react").Theme | undefined;
44
- as?: import("react").ElementType<any> | undefined;
44
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
45
45
  }, {}, {
46
46
  ref?: import("react").Ref<View> | undefined;
47
47
  }>;
@@ -9,7 +9,7 @@ export declare const getThemeValue: (theme: Theme, key: keyof StyleProps, props:
9
9
  } | undefined;
10
10
  declare const StyledBox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
11
  theme?: Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  } & StyleProps & FlexStyleProps, {}, {
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
@@ -5,13 +5,13 @@ import { View } from 'react-native';
5
5
  declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
6
6
  declare const StyledLoadingIndicatorWrapper: import("@emotion/native").StyledComponent<ViewProps & {
7
7
  theme?: Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  }, {}, {
10
10
  ref?: import("react").Ref<View> | undefined;
11
11
  }>;
12
12
  declare const StyledLoadingDot: import("@emotion/native").StyledComponent<ViewProps & {
13
13
  theme?: Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
14
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
15
  } & {
16
16
  size?: number | undefined;
17
17
  themeVariant: ThemeVariant;
@@ -5,7 +5,7 @@ declare type Intent = 'primary' | 'secondary' | 'danger';
5
5
  declare type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
6
6
  declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
7
7
  theme?: Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  } & {
10
10
  disabled?: boolean | undefined;
11
11
  themeButtonVariant: ThemeVariant;
@@ -15,21 +15,21 @@ declare const StyledButtonContainer: import("@emotion/native").StyledComponent<i
15
15
  }>;
16
16
  declare const StyledButtonText: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
17
17
  theme?: Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  } & {
20
20
  disabled?: boolean | undefined;
21
21
  themeButtonVariant: ThemeVariant;
22
22
  }, {}, {}>;
23
23
  declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
24
24
  theme?: Theme | undefined;
25
- as?: import("react").ElementType<any> | undefined;
25
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
26
  } & {
27
27
  disabled?: boolean | undefined;
28
28
  themeButtonVariant: 'text-primary' | 'text-secondary' | 'text-danger';
29
29
  }, {}, {}>;
30
30
  declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
31
31
  theme?: Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
32
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
33
33
  } & {
34
34
  themePosition: 'left' | 'right';
35
35
  }, {}, {
@@ -37,7 +37,7 @@ declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent
37
37
  }>;
38
38
  declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
39
39
  theme?: Theme | undefined;
40
- as?: import("react").ElementType<any> | undefined;
40
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
41
41
  } & {
42
42
  disabled?: boolean | undefined;
43
43
  themeButtonVariant: ThemeVariant;
@@ -2,17 +2,17 @@
2
2
  import { View, TouchableOpacity } from 'react-native';
3
3
  export declare const ButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<TouchableOpacity> | undefined;
8
8
  }>;
9
9
  export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  }, {}, {
13
13
  ref?: import("react").Ref<View> | undefined;
14
14
  }>;
15
15
  export declare const ButtonText: import("@emotion/native").StyledComponent<import("../../Typography/Body").BodyProps & {
16
16
  theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
17
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
18
  }, {}, {}>;
@@ -3,51 +3,51 @@ import { TouchableOpacity, View } from 'react-native';
3
3
  import type { ViewProps } from 'react-native';
4
4
  declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
5
5
  theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
6
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  }, {}, {
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const StyledCalendarHeader: import("@emotion/native").StyledComponent<ViewProps & {
11
11
  theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
12
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  }, {}, {
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
16
16
  declare const StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<ViewProps & {
17
17
  theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
18
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  }, {}, {
20
20
  ref?: import("react").Ref<View> | undefined;
21
21
  }>;
22
22
  declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
23
23
  theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
24
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
25
  } & {
26
- variant?: "default" | "selected" | "current" | undefined;
26
+ variant?: "default" | "current" | "selected" | undefined;
27
27
  }, {}, {
28
28
  ref?: import("react").Ref<TouchableOpacity> | undefined;
29
29
  }>;
30
30
  declare const StyledCalendarRow: import("@emotion/native").StyledComponent<ViewProps & {
31
31
  theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
32
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
33
33
  }, {}, {
34
34
  ref?: import("react").Ref<View> | undefined;
35
35
  }>;
36
36
  declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
37
37
  theme?: import("@emotion/react").Theme | undefined;
38
- as?: import("react").ElementType<any> | undefined;
38
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
39
  }, {}, {
40
40
  ref?: import("react").Ref<View> | undefined;
41
41
  }>;
42
42
  declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
43
43
  theme?: import("@emotion/react").Theme | undefined;
44
- as?: import("react").ElementType<any> | undefined;
44
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
45
45
  }, {}, {
46
46
  ref?: import("react").Ref<View> | undefined;
47
47
  }>;
48
48
  declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
49
49
  theme?: import("@emotion/react").Theme | undefined;
50
- as?: import("react").ElementType<any> | undefined;
50
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
51
51
  } & {
52
52
  variant: 'primary' | 'inverted';
53
53
  }, {}, {
@@ -2,13 +2,13 @@
2
2
  import { View } from 'react-native';
3
3
  declare const StyledDataCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  }, {}, {
7
7
  ref?: import("react").Ref<View> | undefined;
8
8
  }>;
9
9
  declare const Indicator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
10
  theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
11
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & {
13
13
  themeIntent: 'success' | 'info' | 'warning' | 'danger' | 'archived' | 'primary';
14
14
  }, {}, {
@@ -2,7 +2,7 @@
2
2
  import { View } from 'react-native';
3
3
  declare const StyledCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
4
  theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
5
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  themeIntent?: "primary" | "success" | "warning" | "danger" | "archived" | undefined;
8
8
  }, {}, {