@hero-design/rn 0.0.0-mainIsReactNative-1 → 0.0.0-mainIsReactNative-2
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 -5
- 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
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
declare const LegendBox: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
declare const LegendBox: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
declare const LegendItem: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
declare const LegendCircle: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeColor: string;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const LegendValue: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {}>;
|
|
13
19
|
export { LegendBox, LegendCircle, LegendItem, LegendValue };
|
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
declare const StyledHeader: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
1
|
+
declare const StyledHeader: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
declare const StyledTrack: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
declare const StyledSegment: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeColor: string;
|
|
14
|
+
themeWidthPercent: number;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
declare const StyledEmptyText: import("@emotion/native").StyledComponent<import("../../..").CaptionProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
}, {}, {}>;
|
|
13
20
|
export { StyledHeader, StyledSegment, StyledTrack, StyledEmptyText };
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare const
|
|
5
|
-
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { ThemeIntent } from './types';
|
|
4
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & {
|
|
8
|
+
themeIntent: ThemeIntent;
|
|
9
|
+
}, {}, {
|
|
10
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
11
|
}>;
|
|
12
|
+
declare const StyledInner: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
} & {
|
|
16
|
+
themeIntent: ThemeIntent;
|
|
17
|
+
}, {}, {}>;
|
|
7
18
|
export { StyledWrapper, StyledInner };
|
|
@@ -1,7 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
8
|
}>;
|
|
4
|
-
declare const StyledDonutCircle: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
9
|
+
declare const StyledDonutCircle: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
14
|
}>;
|
|
7
15
|
export { StyledContainer, StyledDonutCircle };
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}>;
|
|
1
|
+
type StepState = 'complete' | 'incomplete' | 'current';
|
|
2
|
+
declare const StyledStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
declare const StyledStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
} & {
|
|
10
|
+
themeState: StepState;
|
|
11
|
+
themeWidth: number;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
declare const StyledSingleStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
}, {}, {}>;
|
|
17
|
+
declare const StyledSingleStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
|
+
} & {
|
|
21
|
+
themeState: "complete" | "incomplete";
|
|
22
|
+
}, {}, {}>;
|
|
13
23
|
export { StyledStepContainer, StyledStep, StyledSingleStepContainer, StyledSingleStep, };
|
|
@@ -1,13 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type RadioIntent = 'light' | 'dark';
|
|
3
|
+
declare const Circle: 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;
|
|
3
8
|
}>;
|
|
4
|
-
declare const InnerCircle: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
9
|
+
declare const InnerCircle: 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;
|
|
6
14
|
}>;
|
|
7
|
-
declare const Spacer: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themeIntent: RadioIntent;
|
|
20
|
+
}, {}, {
|
|
21
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
22
|
}>;
|
|
23
|
+
declare const StyledRadio: import("@emotion/native").StyledComponent<import("../List").ListItemProps & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
} & {
|
|
27
|
+
themeIntent: RadioIntent;
|
|
28
|
+
themeChecked: boolean;
|
|
29
|
+
}, {}, {}>;
|
|
13
30
|
export { Circle, InnerCircle, Spacer, StyledRadio };
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
declare const StyledIconWrapper: 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
|
+
}, {}, {}>;
|
|
7
10
|
export { StyledWrapper, StyledIconWrapper };
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { WebView } from 'react-native-webview';
|
|
2
|
+
export declare const StyledWebView: import("@emotion/native").StyledComponent<import("react-native-webview/lib/WebViewTypes").IOSWebViewProps & import("react-native-webview/lib/WebViewTypes").AndroidWebViewProps & import("react-native-webview/lib/WebViewTypes").WindowsWebViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {
|
|
6
|
+
ref?: import("react").Ref<WebView<unknown>> | undefined;
|
|
3
7
|
}>;
|
|
@@ -1,9 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
export declare const StyledToolbarButton: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
selected: boolean;
|
|
7
|
+
}, {}, {}>;
|
|
8
|
+
export declare const StyledToolbar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
}, {}, {
|
|
12
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
13
|
}>;
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ref?:
|
|
14
|
+
export declare const StyledSeparator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
|
+
}, {}, {
|
|
18
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
19
|
}>;
|
|
@@ -1,22 +1,49 @@
|
|
|
1
|
+
import { TextInput, View } from 'react-native';
|
|
1
2
|
export type State = 'default' | 'filled' | 'disabled' | 'readonly';
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
type Variant = 'basic' | 'reversed';
|
|
4
|
+
export declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
4
9
|
}>;
|
|
5
|
-
export declare const StyledInputContainer: import("@emotion/native").StyledComponent<
|
|
6
|
-
|
|
10
|
+
export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
} & {
|
|
14
|
+
themeVariant: Variant;
|
|
15
|
+
}, {}, {
|
|
16
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
17
|
}>;
|
|
8
|
-
export declare const StyledAffixContainer: import("@emotion/native").StyledComponent<
|
|
9
|
-
|
|
18
|
+
export declare const StyledAffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
19
|
+
theme?: import("@emotion/react").Theme;
|
|
20
|
+
as?: React.ElementType;
|
|
21
|
+
}, {}, {
|
|
22
|
+
ref?: import("react").Ref<View> | undefined;
|
|
10
23
|
}>;
|
|
11
|
-
export declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<
|
|
12
|
-
|
|
24
|
+
export declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
|
+
}, {}, {
|
|
28
|
+
ref?: import("react").Ref<View> | undefined;
|
|
13
29
|
}>;
|
|
14
|
-
export declare const StyledInput: import("@emotion/native").StyledComponent<
|
|
15
|
-
|
|
30
|
+
export declare const StyledInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
33
|
+
}, {}, {
|
|
34
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
16
35
|
}>;
|
|
17
|
-
export declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
ref?:
|
|
36
|
+
export declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
37
|
+
theme?: import("@emotion/react").Theme;
|
|
38
|
+
as?: React.ElementType;
|
|
39
|
+
}, {}, {
|
|
40
|
+
ref?: import("react").Ref<View> | undefined;
|
|
22
41
|
}>;
|
|
42
|
+
export declare const StyledBadge: import("@emotion/native").StyledComponent<(import("../Badge/types").BasicBadgeProps & {
|
|
43
|
+
theme?: import("@emotion/react").Theme;
|
|
44
|
+
as?: React.ElementType;
|
|
45
|
+
}) | (import("../Badge/types").IconBadgeProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
}), {}, {}>;
|
|
49
|
+
export {};
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type StyledHeadingProps = {
|
|
3
|
+
themeSize: 'small' | 'medium';
|
|
4
|
+
};
|
|
5
|
+
declare const StyledHeading: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
} & StyledHeadingProps, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
10
|
}>;
|
|
4
|
-
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
11
|
+
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
}, {}, {
|
|
15
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
16
|
}>;
|
|
7
|
-
declare const StyledWrapper: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
17
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
|
+
}, {}, {
|
|
21
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
22
|
}>;
|
|
10
23
|
export { StyledHeading, StyledIconWrapper, StyledWrapper };
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
1
2
|
export type RowPosition = 'top' | 'bottom' | 'middle' | 'single';
|
|
2
3
|
export type MarginHorizontal = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | 'none';
|
|
3
|
-
declare const StyledRow: import("@emotion/native").StyledComponent<
|
|
4
|
-
|
|
4
|
+
declare const StyledRow: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & {
|
|
8
|
+
themePosition: RowPosition;
|
|
9
|
+
themeMarginHorizontal?: MarginHorizontal;
|
|
10
|
+
}, {}, {
|
|
11
|
+
ref?: import("react").Ref<View> | undefined;
|
|
5
12
|
}>;
|
|
6
|
-
declare const StyledDividerWrapper: import("@emotion/native").StyledComponent<
|
|
7
|
-
|
|
13
|
+
declare const StyledDividerWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
} & {
|
|
17
|
+
themeMarginHorizontal?: MarginHorizontal;
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
20
|
}>;
|
|
9
|
-
declare const StyledSectionSpacer: import("@emotion/native").StyledComponent<
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
21
|
+
declare const StyledSectionSpacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
} & {
|
|
25
|
+
themeCompact: boolean;
|
|
26
|
+
}, {}, {
|
|
27
|
+
ref?: import("react").Ref<View> | undefined;
|
|
14
28
|
}>;
|
|
29
|
+
declare const StyledSectionHeading: import("@emotion/native").StyledComponent<import("../SectionHeading").SectionHeadingProps & {
|
|
30
|
+
theme?: import("@emotion/react").Theme;
|
|
31
|
+
as?: React.ElementType;
|
|
32
|
+
}, {}, {}>;
|
|
15
33
|
export { StyledRow, StyledDividerWrapper, StyledSectionSpacer, StyledSectionHeading, };
|
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
declare const StyledSegmentedControlWrapper: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>;
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
declare const StyledSegmentedControlWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
} & {
|
|
5
|
+
themeSize: "medium" | "large";
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const StyledSegmentedItem: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View> & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
} & {
|
|
11
|
+
themeSize: "medium" | "large";
|
|
12
|
+
themeSelected: boolean;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
declare const StyledSegmentedItemWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
declare const StyledSegmentedItemLabelWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
19
|
+
theme?: import("@emotion/react").Theme;
|
|
20
|
+
as?: React.ElementType;
|
|
21
|
+
}, {}, {}>;
|
|
22
|
+
declare const StyledSegmentedItemText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
}, {}, {}>;
|
|
16
26
|
export { StyledSegmentedControlWrapper, StyledSegmentedItem, StyledSegmentedItemLabelWrapper, StyledSegmentedItemText, StyledSegmentedItemWrapper, };
|
|
@@ -1,12 +1,21 @@
|
|
|
1
|
-
import { SectionList } from 'react-native';
|
|
2
|
-
declare const SectionSpacer: import("@emotion/native").StyledComponent<
|
|
3
|
-
|
|
1
|
+
import { SectionList, View } from 'react-native';
|
|
2
|
+
declare const SectionSpacer: 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;
|
|
4
7
|
}>;
|
|
5
|
-
declare const OptionSpacer: import("@emotion/native").StyledComponent<
|
|
6
|
-
|
|
8
|
+
declare const OptionSpacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
}, {}, {
|
|
12
|
+
ref?: import("react").Ref<View> | undefined;
|
|
7
13
|
}>;
|
|
8
|
-
declare const StyledSearchBar: import("@emotion/native").StyledComponent<
|
|
9
|
-
|
|
14
|
+
declare const StyledSearchBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
|
+
}, {}, {
|
|
18
|
+
ref?: import("react").Ref<View> | undefined;
|
|
10
19
|
}>;
|
|
11
20
|
declare const StyledSectionList: typeof SectionList;
|
|
12
21
|
export { SectionSpacer, OptionSpacer, StyledSearchBar, StyledSectionList };
|
|
@@ -1,7 +1,16 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
1
|
+
type ThemeIntent = 'light' | 'dark';
|
|
2
|
+
type ThemeVariant = 'circular' | 'rectangular' | 'rounded';
|
|
3
|
+
declare const StyledContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeIntent: ThemeIntent;
|
|
8
|
+
themeVariant: ThemeVariant;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
declare const StyledGradientContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
} & {
|
|
14
|
+
themeVariant: ThemeVariant;
|
|
15
|
+
}, {}, {}>;
|
|
7
16
|
export { StyledContainer, StyledGradientContainer };
|
|
@@ -1,4 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledMarker: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
themeDisabled: boolean;
|
|
7
|
+
}, {}, {
|
|
8
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
9
|
}>;
|
|
4
10
|
export { StyledMarker };
|
|
@@ -1,13 +1,34 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
declare const StyledView: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
8
|
}>;
|
|
4
|
-
declare const StyledSpinnerContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
9
|
+
declare const StyledSpinnerContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
14
|
}>;
|
|
7
|
-
declare const StyledSpinnerRow: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
15
|
+
declare const StyledSpinnerRow: import("@emotion/native").StyledComponent<ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themePosition: "top" | "bottom";
|
|
20
|
+
themeSize: "small" | "medium";
|
|
21
|
+
}, {}, {
|
|
22
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
23
|
}>;
|
|
10
|
-
declare const StyledSpinnerDot: import("@emotion/native").StyledComponent<
|
|
11
|
-
|
|
24
|
+
declare const StyledSpinnerDot: import("@emotion/native").StyledComponent<ViewProps & {
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
|
+
} & {
|
|
28
|
+
themePosition: "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
29
|
+
themeSize: "small" | "medium";
|
|
30
|
+
themeIntent: "primary" | "inverted";
|
|
31
|
+
}, {}, {
|
|
32
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
33
|
}>;
|
|
13
34
|
export { StyledView, StyledSpinnerContainer, StyledSpinnerRow, StyledSpinnerDot, };
|
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type ThemeVariant = 'light' | 'dark';
|
|
3
|
+
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;
|
|
3
8
|
}>;
|
|
4
|
-
declare const StyledTitle: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>;
|
|
10
|
-
declare const
|
|
11
|
-
|
|
9
|
+
declare const StyledTitle: import("@emotion/native").StyledComponent<import("../../..").TitleProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeVariant: ThemeVariant;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const StyledDescription: import("@emotion/native").StyledComponent<import("../../..").BodyProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themeVariant: ThemeVariant;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
declare const StyledEmptyImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
26
|
}>;
|
|
13
27
|
export { StyledWrapper, StyledTitle, StyledDescription, StyledEmptyImageContainer, };
|