@hero-design/rn 0.0.0-mainIsReactNative-1 → 0.0.0-mainIsReactNative-3
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/es/index.js +42700 -929
- package/lib/index.js +44030 -0
- package/package.json +5 -6
- package/types/components/Accordion/StyledAccordion.d.ts +26 -12
- package/types/components/Alert/StyledAlert.d.ts +46 -17
- package/types/components/AppCue/StyledAppCue.d.ts +22 -9
- package/types/components/Attachment/StyledAttachment.d.ts +22 -9
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +29 -8
- package/types/components/Avatar/StyledAvatar.d.ts +29 -10
- package/types/components/Badge/StyledBadge.d.ts +44 -17
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +44 -15
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +58 -33
- package/types/components/Box/StyledBox.d.ts +8 -2
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +16 -4
- package/types/components/Button/StyledButton.d.ts +55 -17
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +14 -8
- package/types/components/Calendar/StyledCalendar.d.ts +59 -23
- package/types/components/Card/DataCard/StyledDataCard.d.ts +18 -6
- package/types/components/Card/StyledCard.d.ts +9 -2
- package/types/components/Card/index.d.ts +5 -2
- package/types/components/Carousel/StyledCardCarousel.d.ts +24 -10
- package/types/components/Carousel/StyledCarousel.d.ts +53 -26
- package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +6 -2
- package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +6 -2
- package/types/components/Chart/StyledChart.d.ts +8 -6
- package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +31 -13
- package/types/components/Checkbox/StyledInlineCheckBox.d.ts +43 -13
- package/types/components/Checkbox/utils.d.ts +1 -1
- package/types/components/Chip/StyledChip.d.ts +12 -6
- package/types/components/Collapse/StyledCollapse.d.ts +15 -7
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +6 -2
- package/types/components/DatePicker/StyledDatePicker.d.ts +7 -2
- package/types/components/Divider/StyledDivider.d.ts +10 -2
- package/types/components/Drawer/StyledDrawer.d.ts +44 -17
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +28 -16
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +14 -9
- package/types/components/FAB/Pair/StyledFAB.d.ts +13 -6
- package/types/components/FAB/StyledFAB.d.ts +22 -12
- package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +20 -9
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +17 -11
- package/types/components/Icon/HeroIcon/index.d.ts +10 -2
- package/types/components/InlineLoader/StyledInlineLoader.d.ts +15 -4
- package/types/components/List/StyledBasicListItem.d.ts +23 -9
- package/types/components/List/StyledListGroup.d.ts +8 -2
- package/types/components/List/StyledListItem.d.ts +44 -15
- package/types/components/MapPin/StyledMapPin.d.ts +37 -17
- package/types/components/PageControl/StyledPageControl.d.ts +10 -5
- package/types/components/PinInput/StyledPinInput.d.ts +59 -23
- package/types/components/Portal/reducer.d.ts +3 -6
- package/types/components/Progress/SegmentedBar/StyledLegend.d.ts +18 -12
- package/types/components/Progress/SegmentedBar/StyledSegmentedBar.d.ts +19 -12
- package/types/components/Progress/StyledProgressBar.d.ts +16 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -4
- package/types/components/Progress/StyledStep.d.ts +22 -12
- package/types/components/Radio/StyledRadio.d.ts +26 -9
- package/types/components/Rate/StyledRate.d.ts +9 -6
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -2
- package/types/components/RichTextEditor/StyledToolbar.d.ts +17 -7
- package/types/components/Search/StyledSearch.d.ts +42 -15
- package/types/components/SectionHeading/StyledHeading.d.ts +19 -6
- package/types/components/SectionList/StyledSectionList.d.ts +27 -9
- package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +25 -15
- package/types/components/Select/StyledSelect.d.ts +16 -7
- package/types/components/Skeleton/StyledSkeleton.d.ts +15 -6
- package/types/components/Slider/StyledRangeSlider.d.ts +8 -2
- package/types/components/Spinner/StyledSpinner.d.ts +29 -8
- package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +24 -10
- package/types/components/StatusScreens/Error/StyledError.d.ts +53 -30
- package/types/components/StatusScreens/Success/StyledSuccess.d.ts +53 -30
- package/types/components/Swipeable/StyledSwipeable.d.ts +6 -3
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +18 -11
- package/types/components/Switch/StyledSwitch.d.ts +12 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +59 -30
- package/types/components/Tabs/StyledTabs.d.ts +39 -13
- package/types/components/Tag/StyledTag.d.ts +22 -8
- package/types/components/TextInput/AssistiveInfoTrigger/StyledAssistiveInfoTrigger.d.ts +10 -5
- package/types/components/TextInput/StyledTextInput.d.ts +91 -33
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/components/TimePicker/StyledTimePicker.d.ts +7 -2
- package/types/components/Toast/StyledToast.d.ts +56 -24
- package/types/components/Toolbar/StyledToolbar.d.ts +59 -25
- package/types/components/Typography/Body/StyledBody.d.ts +13 -2
- package/types/components/Typography/Caption/StyledCaption.d.ts +11 -2
- package/types/components/Typography/Label/StyledLabel.d.ts +11 -2
- package/types/components/Typography/Text/StyledText.d.ts +11 -2
- package/types/components/Typography/Title/StyledTitle.d.ts +13 -2
- package/types/index.d.ts +70 -8818
- package/types/testHelpers/renderWithTheme.d.ts +10 -11
package/package.json
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/rn",
|
|
3
|
-
"version": "0.0.0-mainIsReactNative-
|
|
3
|
+
"version": "0.0.0-mainIsReactNative-3",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "lib/index.js",
|
|
6
|
+
"module": "es/index.js",
|
|
6
7
|
"types": "types/index.d.ts",
|
|
7
|
-
|
|
8
|
+
"typesVersions": {
|
|
8
9
|
"*": {
|
|
9
|
-
"locales/*": [
|
|
10
|
-
"types/locales/*"
|
|
11
|
-
]
|
|
10
|
+
"locales/*": ["types/locales/*"]
|
|
12
11
|
}
|
|
13
12
|
},
|
|
14
13
|
"scripts": {
|
|
@@ -1,16 +1,30 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
1
2
|
export type Variant = 'default' | 'card';
|
|
2
|
-
export declare const StyledWrapper: import("@emotion/native").StyledComponent<
|
|
3
|
-
|
|
3
|
+
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
4
8
|
}>;
|
|
5
|
-
export declare const StyledItemWrapper: import("@emotion/native").StyledComponent<
|
|
6
|
-
|
|
9
|
+
export declare const StyledItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeVariant: Variant;
|
|
14
|
+
}, {}, {
|
|
15
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
16
|
}>;
|
|
8
|
-
export declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
17
|
+
export declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
export declare const StyledCollapse: import("@emotion/native").StyledComponent<import("../Collapse").CollapseProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
|
+
}, {}, {
|
|
29
|
+
ref?: import("react").Ref<View> | undefined;
|
|
16
30
|
}>;
|
|
@@ -1,22 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { TextProps } from '../Typography/Text';
|
|
4
|
+
import type { IconProps } from '../Icon';
|
|
5
|
+
type ThemeIntent = 'success' | 'info' | 'warning' | 'error' | 'notification';
|
|
6
|
+
declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
} & {
|
|
10
|
+
themeVariant: "rounded" | "unrounded";
|
|
11
|
+
themeIntent: ThemeIntent;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
14
|
}>;
|
|
4
|
-
declare const IconContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
15
|
+
declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
20
|
}>;
|
|
7
|
-
declare const StyledIcon: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
21
|
+
declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
} & {
|
|
25
|
+
themeIntent: ThemeIntent;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, {}, {
|
|
31
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
32
|
}>;
|
|
10
|
-
declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
-
declare const ContentContainer: import("@emotion/native").StyledComponent<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
33
|
+
declare const StyledBody: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
} & TextProps & {
|
|
37
|
+
themeIntent: ThemeIntent;
|
|
38
|
+
}, {}, {}>;
|
|
39
|
+
declare const ContentContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
40
|
+
theme?: import("@emotion/react").Theme;
|
|
41
|
+
as?: React.ElementType;
|
|
42
|
+
} & {
|
|
43
|
+
showDivider: boolean;
|
|
44
|
+
}, {}, {
|
|
45
|
+
ref?: import("react").Ref<View> | undefined;
|
|
21
46
|
}>;
|
|
47
|
+
declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
48
|
+
theme?: import("@emotion/react").Theme;
|
|
49
|
+
as?: React.ElementType;
|
|
50
|
+
}, {}, {}>;
|
|
22
51
|
export { Container, ContentContainer, TextContainer, IconContainer, CTAWrapper, StyledBody, StyledIcon, };
|
|
@@ -1,13 +1,26 @@
|
|
|
1
|
+
import { View, Animated } from 'react-native';
|
|
1
2
|
export type Placement = 'top' | 'bottom' | 'right' | 'left' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
2
|
-
export declare const StyledContent: import("@emotion/native").StyledComponent<
|
|
3
|
-
|
|
3
|
+
export declare const StyledContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
4
8
|
}>;
|
|
5
|
-
export declare const StyledModalContainer: import("@emotion/native").StyledComponent<
|
|
6
|
-
|
|
9
|
+
export declare const StyledModalContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
14
|
}>;
|
|
8
|
-
export declare const StyledContentPositioner: import("@emotion/native").StyledComponent<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
ref?:
|
|
15
|
+
export declare const StyledContentPositioner: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
13
20
|
}>;
|
|
21
|
+
export declare const StyledIconContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
} & {
|
|
25
|
+
themePlacement: Placement;
|
|
26
|
+
}, {}, {}>;
|
|
@@ -1,13 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
7
|
}>;
|
|
4
|
-
declare const StyledContentContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
8
|
+
declare const StyledContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
} & {
|
|
12
|
+
themeHighlighted: boolean;
|
|
13
|
+
}, {}, {
|
|
14
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
15
|
}>;
|
|
7
|
-
declare const StyledTextContainer: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ref?:
|
|
16
|
+
declare const StyledTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
}, {}, {
|
|
20
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
21
|
}>;
|
|
22
|
+
declare const StyledCTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
}, {}, {}>;
|
|
13
26
|
export { StyledContainer, StyledContentContainer, StyledCTAWrapper, StyledTextContainer, };
|
|
@@ -1,9 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { AvatarProps } from '../Avatar';
|
|
3
|
+
type ThemeVariant = 'horizontal' | 'vertical';
|
|
4
|
+
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & {
|
|
8
|
+
themeSize: Required<AvatarProps>["size"];
|
|
9
|
+
themeAvatarCount: number;
|
|
10
|
+
themeVariant: ThemeVariant;
|
|
11
|
+
themeHasSurplus: boolean;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
14
|
}>;
|
|
15
|
+
export declare const StyledAvatar: import("@emotion/native").StyledComponent<AvatarProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themeIndex: number;
|
|
20
|
+
themeVariant: ThemeVariant;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
export declare const StyledSurplusContainer: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
} & {
|
|
26
|
+
themeIndex: number;
|
|
27
|
+
themeSize: AvatarProps["size"];
|
|
28
|
+
themeVariant: ThemeVariant;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
export {};
|
|
@@ -1,13 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View, Image } from 'react-native';
|
|
2
|
+
import type { TextProps } from '../Typography/Text';
|
|
3
|
+
type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
|
|
4
|
+
type ThemeIntent = 'neutral' | 'primary' | 'info' | 'danger' | 'success' | 'warning';
|
|
5
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
} & {
|
|
9
|
+
themeSize: ThemeSize;
|
|
10
|
+
themeIntent: ThemeIntent;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
declare const StyledTextWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
}, {}, {
|
|
16
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
17
|
}>;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>;
|
|
10
|
-
declare const StyledImage: import("@emotion/native").StyledComponent<
|
|
11
|
-
|
|
18
|
+
declare const StyledText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
19
|
+
theme?: import("@emotion/react").Theme;
|
|
20
|
+
as?: React.ElementType;
|
|
21
|
+
} & TextProps & {
|
|
22
|
+
themeSize: ThemeSize;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
|
+
} & {
|
|
28
|
+
themeSize: ThemeSize;
|
|
29
|
+
}, {}, {
|
|
30
|
+
ref?: import("react").Ref<Image> | undefined;
|
|
12
31
|
}>;
|
|
13
32
|
export { StyledWrapper, StyledImage, StyledTextWrapper, StyledText };
|
|
@@ -1,19 +1,46 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
-
declare const
|
|
17
|
-
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'neutral';
|
|
3
|
+
type ThemePadding = 'narrowContent' | 'wideContent';
|
|
4
|
+
type ThemeSize = 'medium' | 'small';
|
|
5
|
+
type ThemeVariant = 'filled' | 'outlined';
|
|
6
|
+
declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
} & {
|
|
10
|
+
themeIntent: ThemeIntent;
|
|
11
|
+
themePadding: ThemePadding;
|
|
12
|
+
themeSize: ThemeSize;
|
|
13
|
+
themeVariant: ThemeVariant;
|
|
14
|
+
themeIsStringBadge: boolean;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
declare const StyledText: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
} & {
|
|
20
|
+
themeSize: ThemeSize;
|
|
21
|
+
themeIntent: ThemeIntent;
|
|
22
|
+
themeIsStringBadge: boolean;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
|
+
} & {
|
|
28
|
+
themeIntent: ThemeIntent;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
declare const StyledCount: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
33
|
+
}, {}, {
|
|
34
|
+
ref?: import("react").Ref<View> | undefined;
|
|
18
35
|
}>;
|
|
36
|
+
declare const StyledCountText: import("@emotion/native").StyledComponent<import("../..").TextProps & {
|
|
37
|
+
theme?: import("@emotion/react").Theme;
|
|
38
|
+
as?: React.ElementType;
|
|
39
|
+
}, {}, {}>;
|
|
40
|
+
declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
41
|
+
theme?: import("@emotion/react").Theme;
|
|
42
|
+
as?: React.ElementType;
|
|
43
|
+
} & {
|
|
44
|
+
themeSize: ThemeSize;
|
|
45
|
+
}, {}, {}>;
|
|
19
46
|
export { StyledCountText, StyledView, StyledText, StyledStatus, StyledIcon, StyledCount, };
|
|
@@ -1,22 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const BottomNavigationTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
themeVisibility?: boolean;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
9
|
}>;
|
|
4
|
-
declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
10
|
+
declare const BottomNavigationContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
}, {}, {
|
|
14
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
15
|
}>;
|
|
7
|
-
declare const ContentWrapper: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
16
|
+
declare const ContentWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
}, {}, {
|
|
20
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
21
|
}>;
|
|
10
|
-
declare const BottomBarWrapper: import("@emotion/native").StyledComponent<
|
|
11
|
-
|
|
22
|
+
declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
} & {
|
|
26
|
+
themeInsets: {
|
|
27
|
+
top: number;
|
|
28
|
+
right: number;
|
|
29
|
+
bottom: number;
|
|
30
|
+
left: number;
|
|
31
|
+
};
|
|
32
|
+
}, {}, {
|
|
33
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
34
|
}>;
|
|
13
|
-
declare const BottomBar: import("@emotion/native").StyledComponent<
|
|
14
|
-
|
|
35
|
+
declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme;
|
|
37
|
+
as?: React.ElementType;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
15
40
|
}>;
|
|
16
|
-
declare const BottomBarItem: import("@emotion/native").StyledComponent<
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ref?:
|
|
41
|
+
declare const BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
}, {}, {
|
|
45
|
+
ref?: import("react").Ref<View> | undefined;
|
|
21
46
|
}>;
|
|
47
|
+
declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../..").LabelProps & {
|
|
48
|
+
theme?: import("@emotion/react").Theme;
|
|
49
|
+
as?: React.ElementType;
|
|
50
|
+
}, {}, {}>;
|
|
22
51
|
export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
|
|
@@ -1,34 +1,59 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}>;
|
|
19
|
-
declare const
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
}>;
|
|
31
|
-
declare const
|
|
32
|
-
|
|
33
|
-
|
|
1
|
+
import type { ViewProps, KeyboardAvoidingViewProps } from 'react-native';
|
|
2
|
+
import { Animated, KeyboardAvoidingView, View } from 'react-native';
|
|
3
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
declare const StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<KeyboardAvoidingView> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
declare const StyledFloatingWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native-safe-area-context").NativeSafeAreaViewProps & import("react").RefAttributes<import("react").Component<import("react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaView").NativeProps, {}, any> & import("react-native").NativeMethods>> & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
declare const StyledFloatingBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native-safe-area-context").NativeSafeAreaViewProps & import("react").RefAttributes<import("react").Component<import("react-native-safe-area-context/lib/typescript/src/specs/NativeSafeAreaView").NativeProps, {}, any> & import("react-native").NativeMethods>> & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, {}, {}>;
|
|
31
|
+
declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
32
|
+
theme?: import("@emotion/react").Theme;
|
|
33
|
+
as?: React.ElementType;
|
|
34
|
+
}, {}, {
|
|
35
|
+
ref?: import("react").Ref<View> | undefined;
|
|
36
|
+
}>;
|
|
37
|
+
declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
|
|
38
|
+
theme?: import("@emotion/react").Theme;
|
|
39
|
+
as?: React.ElementType;
|
|
40
|
+
}, {}, {
|
|
41
|
+
ref?: import("react").Ref<View> | undefined;
|
|
42
|
+
}>;
|
|
43
|
+
declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
|
|
44
|
+
theme?: import("@emotion/react").Theme;
|
|
45
|
+
as?: React.ElementType;
|
|
46
|
+
}, {}, {
|
|
47
|
+
ref?: import("react").Ref<View> | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
as?: React.ElementType;
|
|
52
|
+
}, {}, {
|
|
53
|
+
ref?: import("react").Ref<View> | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
declare const StyledFloatingHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
56
|
+
theme?: import("@emotion/react").Theme;
|
|
57
|
+
as?: React.ElementType;
|
|
58
|
+
}, {}, {}>;
|
|
34
59
|
export { StyledBackdrop, StyledBottomSheet, StyledFloatingBottomSheet, StyledFloatingHeaderWrapper, StyledFloatingWrapper, StyledFooter, StyledHeader, StyledHeaderWrapper, StyledIconWrapper, StyledKeyboardAvoidingView, StyledWrapper, };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { Theme } from '@emotion/react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { FlexStyleProps, StyleProps } from './types';
|
|
4
|
+
declare const StyledBox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & StyleProps & FlexStyleProps, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
9
|
}>;
|
|
4
10
|
export { StyledBox };
|
|
@@ -1,7 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'filled-white' | 'filled-inverted' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'outlined-white' | 'outlined-inverted' | 'text-primary' | 'text-secondary' | 'text-danger' | 'text-white' | 'text-inverted';
|
|
4
|
+
declare const StyledLoadingIndicatorWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
9
|
}>;
|
|
4
|
-
declare const StyledLoadingDot: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
10
|
+
declare const StyledLoadingDot: import("@emotion/native").StyledComponent<ViewProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
} & {
|
|
14
|
+
size?: number;
|
|
15
|
+
themeVariant: ThemeVariant;
|
|
16
|
+
}, {}, {
|
|
17
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
18
|
}>;
|
|
7
19
|
export { StyledLoadingDot, StyledLoadingIndicatorWrapper };
|