@hero-design/rn 8.55.1-rc2.3 → 8.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/CHANGELOG.md +5 -34
  3. package/es/index.js +5385 -4937
  4. package/lib/index.js +5390 -4939
  5. package/package.json +8 -8
  6. package/sonar-project.properties +1 -0
  7. package/src/components/AnimatedScroller/AnimatedFAB.tsx +105 -0
  8. package/src/components/AnimatedScroller/AnimatedScrollable.tsx +55 -0
  9. package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
  10. package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
  11. package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
  12. package/src/components/AnimatedScroller/index.tsx +5 -0
  13. package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +26 -833
  14. package/src/components/Carousel/__tests__/index.spec.tsx +9 -3
  15. package/src/components/Carousel/index.tsx +19 -6
  16. package/src/components/FAB/FAB.tsx +6 -6
  17. package/src/index.ts +8 -0
  18. package/types/components/Accordion/StyledAccordion.d.ts +5 -5
  19. package/types/components/Alert/StyledAlert.d.ts +5 -5
  20. package/types/components/AnimatedScroller/AnimatedFAB.d.ts +10 -0
  21. package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
  22. package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
  23. package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
  24. package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
  25. package/types/components/AnimatedScroller/index.d.ts +4 -0
  26. package/types/components/Attachment/StyledAttachment.d.ts +4 -4
  27. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +3 -3
  28. package/types/components/Avatar/StyledAvatar.d.ts +4 -4
  29. package/types/components/Badge/StyledBadge.d.ts +3 -3
  30. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +7 -7
  31. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -8
  32. package/types/components/Box/StyledBox.d.ts +1 -1
  33. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +2 -2
  34. package/types/components/Button/StyledButton.d.ts +5 -5
  35. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -3
  36. package/types/components/Calendar/StyledCalendar.d.ts +9 -9
  37. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -2
  38. package/types/components/Card/StyledCard.d.ts +1 -1
  39. package/types/components/Carousel/StyledCardCarousel.d.ts +4 -4
  40. package/types/components/Carousel/StyledCarousel.d.ts +9 -9
  41. package/types/components/Checkbox/StyledCheckbox.d.ts +5 -5
  42. package/types/components/Chip/StyledChip.d.ts +4 -4
  43. package/types/components/Collapse/StyledCollapse.d.ts +3 -3
  44. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -1
  45. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -1
  46. package/types/components/Divider/StyledDivider.d.ts +1 -1
  47. package/types/components/Drawer/StyledDrawer.d.ts +7 -7
  48. package/types/components/Empty/StyledEmpty.d.ts +3 -3
  49. package/types/components/Error/StyledError.d.ts +10 -10
  50. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +5 -5
  51. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
  52. package/types/components/FAB/StyledFAB.d.ts +4 -4
  53. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  54. package/types/components/List/StyledBasicListItem.d.ts +4 -4
  55. package/types/components/List/StyledListItem.d.ts +7 -7
  56. package/types/components/PageControl/StyledPageControl.d.ts +2 -2
  57. package/types/components/PinInput/StyledPinInput.d.ts +10 -10
  58. package/types/components/Progress/StyledProgressBar.d.ts +2 -2
  59. package/types/components/Progress/StyledProgressCircle.d.ts +6 -6
  60. package/types/components/Radio/StyledRadio.d.ts +3 -3
  61. package/types/components/Rate/StyledRate.d.ts +2 -2
  62. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -2
  63. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -3
  64. package/types/components/SectionHeading/StyledHeading.d.ts +3 -3
  65. package/types/components/Select/StyledSelect.d.ts +3 -3
  66. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
  67. package/types/components/Spinner/StyledSpinner.d.ts +4 -4
  68. package/types/components/Success/StyledSuccess.d.ts +9 -9
  69. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
  70. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -4
  71. package/types/components/Switch/StyledSwitch.d.ts +2 -2
  72. package/types/components/Tabs/StyledScrollableTabs.d.ts +8 -8
  73. package/types/components/Tabs/StyledTabs.d.ts +8 -8
  74. package/types/components/Tag/StyledTag.d.ts +2 -2
  75. package/types/components/TextInput/StyledTextInput.d.ts +13 -13
  76. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -1
  77. package/types/components/Toast/StyledToast.d.ts +6 -6
  78. package/types/components/Toolbar/StyledToolbar.d.ts +5 -5
  79. package/types/components/Typography/Body/StyledBody.d.ts +1 -1
  80. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
  81. package/types/components/Typography/Label/StyledLabel.d.ts +1 -1
  82. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  83. package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
  84. package/types/index.d.ts +2 -1
@@ -3,13 +3,13 @@ import { Animated, View } from 'react-native';
3
3
  import PagerView from 'react-native-pager-view';
4
4
  declare const TabContainer: 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
  declare const HeaderTabWrapper: 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
  themeInsets: {
15
15
  top: number;
@@ -22,35 +22,35 @@ declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import
22
22
  }>;
23
23
  declare const HeaderTab: 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
  ref?: import("react").Ref<View> | undefined;
28
28
  }>;
29
29
  declare const HeaderTabItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
30
30
  theme?: import("@emotion/react").Theme | undefined;
31
- as?: import("react").ElementType<any> | undefined;
31
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
32
  }, {}, {
33
33
  ref?: import("react").Ref<View> | undefined;
34
34
  }>;
35
35
  declare const ContentWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native-pager-view").PagerViewProps & import("react").RefAttributes<PagerView>> & {
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
37
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
38
  }, {}, {}>;
39
39
  declare const TabScreen: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
40
40
  theme?: import("@emotion/react").Theme | undefined;
41
- as?: import("react").ElementType<any> | undefined;
41
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
42
42
  }, {}, {
43
43
  ref?: import("react").Ref<View> | undefined;
44
44
  }>;
45
45
  declare const StyledIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
46
46
  theme?: import("@emotion/react").Theme | undefined;
47
- as?: import("react").ElementType<any> | undefined;
47
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
48
  } & {
49
49
  themeWidth: number;
50
50
  }, {}, {}>;
51
51
  declare const StyledBadgeWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
52
52
  theme?: import("@emotion/react").Theme | undefined;
53
- as?: import("react").ElementType<any> | undefined;
53
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
54
54
  }, {}, {
55
55
  ref?: import("react").Ref<View> | undefined;
56
56
  }>;
@@ -3,7 +3,7 @@ import { View } from 'react-native';
3
3
  declare type ThemeIntent = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived';
4
4
  declare const StyledView: 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
  themeIntent: ThemeIntent;
9
9
  }, {}, {
@@ -11,7 +11,7 @@ declare const StyledView: import("@emotion/native").StyledComponent<import("reac
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
  themeIntent: ThemeIntent;
17
17
  }, {}, {}>;
@@ -4,48 +4,48 @@ export declare type State = 'default' | 'filled' | 'disabled' | 'readonly' | 'er
4
4
  declare type Variant = 'text' | 'textarea';
5
5
  declare const StyledContainer: 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
  ref?: import("react").Ref<View> | undefined;
10
10
  }>;
11
11
  declare const StyledLabelContainerInsideTextInput: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
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
  themeVariant: Variant;
16
16
  }, {}, {}>;
17
17
  declare const StyledLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
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
  themeState: State;
22
22
  }, {}, {}>;
23
23
  declare const StyledAsteriskLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
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
  themeState: State;
28
28
  }, {}, {}>;
29
29
  declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
30
30
  theme?: import("@emotion/react").Theme | undefined;
31
- as?: import("react").ElementType<any> | undefined;
31
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
32
  }, {}, {
33
33
  ref?: import("react").Ref<View> | undefined;
34
34
  }>;
35
35
  declare const StyledError: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
36
36
  theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
37
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
38
38
  }, {}, {}>;
39
39
  declare const StyledMaxLengthMessage: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
40
40
  theme?: import("@emotion/react").Theme | undefined;
41
- as?: import("react").ElementType<any> | undefined;
41
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
42
42
  } & {
43
43
  themeState: State;
44
44
  }, {}, {}>;
45
45
  declare const StyledHelperText: ({ children, fontWeight, intent, allowFontScaling, ...nativeProps }: import("../Typography/Caption").CaptionProps) => import("react").JSX.Element;
46
46
  declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
47
47
  theme?: import("@emotion/react").Theme | undefined;
48
- as?: import("react").ElementType<any> | undefined;
48
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
49
49
  } & {
50
50
  themeVariant: Variant;
51
51
  }, {}, {
@@ -53,7 +53,7 @@ declare const StyledTextInput: import("@emotion/native").StyledComponent<import(
53
53
  }>;
54
54
  declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
55
55
  theme?: import("@emotion/react").Theme | undefined;
56
- as?: import("react").ElementType<any> | undefined;
56
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
57
57
  } & {
58
58
  themeState: State;
59
59
  themeFocused: boolean;
@@ -62,25 +62,25 @@ declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<im
62
62
  }>;
63
63
  declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
64
64
  theme?: import("@emotion/react").Theme | undefined;
65
- as?: import("react").ElementType<any> | undefined;
65
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
66
66
  }, {}, {
67
67
  ref?: import("react").Ref<View> | undefined;
68
68
  }>;
69
69
  declare const StyledTextInputAndLabelContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
70
70
  theme?: import("@emotion/react").Theme | undefined;
71
- as?: import("react").ElementType<any> | undefined;
71
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
72
72
  }, {}, {
73
73
  ref?: import("react").Ref<View> | undefined;
74
74
  }>;
75
75
  declare const StyledErrorAndHelpTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
76
76
  theme?: import("@emotion/react").Theme | undefined;
77
- as?: import("react").ElementType<any> | undefined;
77
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
78
78
  }, {}, {
79
79
  ref?: import("react").Ref<View> | undefined;
80
80
  }>;
81
81
  declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
82
82
  theme?: import("@emotion/react").Theme | undefined;
83
- as?: import("react").ElementType<any> | undefined;
83
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
84
84
  }, {}, {
85
85
  ref?: import("react").Ref<View> | undefined;
86
86
  }>;
@@ -3,7 +3,7 @@ import { View } from 'react-native';
3
3
  import type { ViewProps } from 'react-native';
4
4
  declare const StyledPickerWrapper: 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
  }>;
@@ -4,7 +4,7 @@ import type { ViewProps } from 'react-native';
4
4
  import { IntentType } from './types';
5
5
  declare const ToastContainerWrapper: import("@emotion/native").StyledComponent<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
  position: 'top' | 'bottom';
10
10
  }, {}, {
@@ -12,26 +12,26 @@ declare const ToastContainerWrapper: import("@emotion/native").StyledComponent<V
12
12
  }>;
13
13
  declare const Container: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
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
  themeVariant: 'default' | 'round';
18
18
  themeIntent: IntentType;
19
19
  }, {}, {}>;
20
20
  declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
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
  ref?: import("react").Ref<View> | undefined;
25
25
  }>;
26
26
  declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
27
27
  theme?: import("@emotion/react").Theme | undefined;
28
- as?: import("react").ElementType<any> | undefined;
28
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
29
29
  }, {}, {
30
30
  ref?: import("react").Ref<View> | undefined;
31
31
  }>;
32
32
  declare const ContentContainer: import("@emotion/native").StyledComponent<ViewProps & {
33
33
  theme?: import("@emotion/react").Theme | undefined;
34
- as?: import("react").ElementType<any> | undefined;
34
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
35
35
  } & {
36
36
  showDivider: boolean;
37
37
  }, {}, {
@@ -39,7 +39,7 @@ declare const ContentContainer: import("@emotion/native").StyledComponent<ViewPr
39
39
  }>;
40
40
  declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
41
41
  theme?: import("@emotion/react").Theme | undefined;
42
- as?: import("react").ElementType<any> | undefined;
42
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
43
43
  }, {}, {
44
44
  ref?: import("react").Ref<TouchableOpacity> | undefined;
45
45
  }>;
@@ -3,13 +3,13 @@ import { TouchableOpacity, View } from 'react-native';
3
3
  import type { ViewProps } from 'react-native';
4
4
  declare const ToolbarWrapper: 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 ToolbarGroupWrapper: 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
  align: 'left' | 'center' | 'right';
15
15
  }, {}, {
@@ -17,18 +17,18 @@ declare const ToolbarGroupWrapper: import("@emotion/native").StyledComponent<Vie
17
17
  }>;
18
18
  declare const ToolbarItemWrapper: 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
  declare const IconButtonWrapper: 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 IconButtonLabel: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
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
  export { ToolbarWrapper, ToolbarGroupWrapper, ToolbarItemWrapper, IconButtonWrapper, IconButtonLabel, };
@@ -4,7 +4,7 @@ import { ThemeIntent } from '../types';
4
4
  declare type ThemeVariant = 'small' | 'small-bold' | 'regular' | 'regular-bold';
5
5
  declare const StyledBody: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
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
  themeTypeface: 'neutral' | 'playful';
@@ -3,7 +3,7 @@ import { Text } from 'react-native';
3
3
  import { ThemeIntent } from '../types';
4
4
  declare const StyledCaption: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
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
  themeFontWeight: 'regular' | 'semi-bold';
9
9
  themeIntent: ThemeIntent;
@@ -3,7 +3,7 @@ import { Text } from 'react-native';
3
3
  import { ThemeIntent } from '../types';
4
4
  declare const StyledLabel: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
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
  themeIntent: ThemeIntent;
9
9
  }, {}, {
@@ -2,7 +2,7 @@
2
2
  import { Text } from 'react-native';
3
3
  declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
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
  themeFontSize: 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge' | '6xlarge' | '7xlarge';
8
8
  themeFontWeight: 'light' | 'regular' | 'semi-bold';
@@ -4,7 +4,7 @@ import { ThemeIntent } from '../types';
4
4
  declare type ThemeLevel = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
5
5
  declare const StyledTitle: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
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
  themeLevel: ThemeLevel;
package/types/index.d.ts CHANGED
@@ -49,5 +49,6 @@ import RefreshControl from './components/RefreshControl';
49
49
  import RichTextEditor from './components/RichTextEditor';
50
50
  import PageControl from './components/PageControl';
51
51
  import Portal from './components/Portal';
52
- export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, withTheme, swagSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, Accordion, Alert, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Carousel, Chip, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, Error, FAB, Icon, Image, HeroDesignProvider, List, PinInput, Progress, Portal, PageControl, Skeleton, Slider, Spinner, Swipeable, Radio, SectionHeading, Select, Success, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, Rate, RefreshControl, RichTextEditor, };
52
+ import { ScrollViewWithFAB, SectionListWithFAB, FlatListWithFAB } from './components/AnimatedScroller';
53
+ export { theme, getTheme, useTheme, scale, ThemeProvider, ThemeSwitcher, withTheme, swagSystemPalette, swagDarkSystemPalette, workSystemPalette, jobsSystemPalette, walletSystemPalette, eBensSystemPalette, Accordion, Alert, Attachment, Avatar, useAvatarColors, Badge, BottomNavigation, BottomSheet, Box, Button, Calendar, Card, Carousel, Chip, Collapse, Checkbox, ContentNavigator, DatePicker, Divider, Drawer, Empty, Error, FAB, FlatListWithFAB, Icon, Image, HeroDesignProvider, List, PinInput, Progress, Portal, PageControl, Skeleton, Slider, Spinner, Swipeable, Radio, ScrollViewWithFAB, SectionHeading, SectionListWithFAB, Select, Success, Switch, Tabs, Tag, TextInput, TimePicker, Toast, Toolbar, Typography, Rate, RefreshControl, RichTextEditor, };
53
54
  export * from './types';