@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.
- package/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +12 -0
- package/es/index.js +5205 -4772
- package/lib/index.js +5211 -4775
- package/package.json +1 -1
- package/src/components/AnimatedScroller/AnimatedFAB.tsx +105 -0
- package/src/components/AnimatedScroller/AnimatedScrollable.tsx +55 -0
- package/src/components/AnimatedScroller/FlatListWithFAB.tsx +23 -0
- package/src/components/AnimatedScroller/ScrollViewWithFAB.tsx +21 -0
- package/src/components/AnimatedScroller/SectionListWithFAB.tsx +26 -0
- package/src/components/AnimatedScroller/__tests__/ScrollablesWithFAB.spec.tsx +172 -0
- package/src/components/AnimatedScroller/__tests__/__snapshots__/ScrollablesWithFAB.spec.tsx.snap +3435 -0
- package/src/components/AnimatedScroller/index.tsx +5 -0
- package/src/components/FAB/FAB.tsx +6 -6
- package/src/index.ts +8 -0
- package/types/components/Accordion/StyledAccordion.d.ts +5 -5
- package/types/components/Alert/StyledAlert.d.ts +5 -5
- package/types/components/AnimatedScroller/AnimatedFAB.d.ts +10 -0
- package/types/components/AnimatedScroller/AnimatedScrollable.d.ts +16 -0
- package/types/components/AnimatedScroller/FlatListWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/ScrollViewWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/SectionListWithFAB.d.ts +12 -0
- package/types/components/AnimatedScroller/index.d.ts +4 -0
- package/types/components/Attachment/StyledAttachment.d.ts +4 -4
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +3 -3
- package/types/components/Avatar/StyledAvatar.d.ts +4 -4
- package/types/components/Badge/StyledBadge.d.ts +3 -3
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +7 -7
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -8
- package/types/components/Box/StyledBox.d.ts +1 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +2 -2
- package/types/components/Button/StyledButton.d.ts +5 -5
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -3
- package/types/components/Calendar/StyledCalendar.d.ts +9 -9
- package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -2
- package/types/components/Card/StyledCard.d.ts +1 -1
- package/types/components/Carousel/StyledCardCarousel.d.ts +4 -4
- package/types/components/Carousel/StyledCarousel.d.ts +9 -9
- package/types/components/Checkbox/StyledCheckbox.d.ts +5 -5
- package/types/components/Chip/StyledChip.d.ts +4 -4
- package/types/components/Collapse/StyledCollapse.d.ts +3 -3
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +1 -1
- package/types/components/Drawer/StyledDrawer.d.ts +7 -7
- package/types/components/Empty/StyledEmpty.d.ts +3 -3
- package/types/components/Error/StyledError.d.ts +10 -10
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +5 -5
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
- package/types/components/FAB/StyledFAB.d.ts +4 -4
- package/types/components/Icon/HeroIcon/index.d.ts +1 -1
- package/types/components/List/StyledBasicListItem.d.ts +4 -4
- package/types/components/List/StyledListItem.d.ts +7 -7
- package/types/components/PageControl/StyledPageControl.d.ts +2 -2
- package/types/components/PinInput/StyledPinInput.d.ts +10 -10
- package/types/components/Progress/StyledProgressBar.d.ts +2 -2
- package/types/components/Progress/StyledProgressCircle.d.ts +6 -6
- package/types/components/Radio/StyledRadio.d.ts +3 -3
- package/types/components/Rate/StyledRate.d.ts +2 -2
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -2
- package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -3
- package/types/components/SectionHeading/StyledHeading.d.ts +3 -3
- package/types/components/Select/StyledSelect.d.ts +3 -3
- package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
- package/types/components/Spinner/StyledSpinner.d.ts +4 -4
- package/types/components/Success/StyledSuccess.d.ts +9 -9
- package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -4
- package/types/components/Switch/StyledSwitch.d.ts +2 -2
- package/types/components/Tabs/StyledScrollableTabs.d.ts +8 -8
- package/types/components/Tabs/StyledTabs.d.ts +8 -8
- package/types/components/Tag/StyledTag.d.ts +2 -2
- package/types/components/TextInput/StyledTextInput.d.ts +13 -13
- package/types/components/TimePicker/StyledTimePicker.d.ts +1 -1
- package/types/components/Toast/StyledToast.d.ts +6 -6
- package/types/components/Toolbar/StyledToolbar.d.ts +5 -5
- package/types/components/Typography/Body/StyledBody.d.ts +1 -1
- package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
- package/types/components/Typography/Label/StyledLabel.d.ts +1 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
- package/types/index.d.ts +2 -1
|
@@ -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
|
-
|
|
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';
|