@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,23 +1,61 @@
|
|
|
1
|
+
import type { Theme } from '@emotion/react';
|
|
2
|
+
import { View } from 'react-native';
|
|
1
3
|
import { type CamelCase } from '../../utils/helpers';
|
|
2
4
|
type Intent = 'primary' | 'secondary' | 'danger' | 'white' | 'inverted';
|
|
3
5
|
type ThemeVariant = '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 StyledButtonContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}>;
|
|
16
|
-
declare const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
6
|
+
declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & import("react").RefAttributes<View> & {
|
|
7
|
+
theme?: Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
} & {
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
themeButtonVariant: ThemeVariant;
|
|
12
|
+
loading?: boolean;
|
|
13
|
+
themeInlineText?: boolean;
|
|
14
|
+
themeIsCompact?: boolean;
|
|
15
|
+
themeIsMedium?: boolean;
|
|
16
|
+
themeIsIconOnly?: boolean;
|
|
17
|
+
}, {}, {}>;
|
|
18
|
+
declare const StyledButtonText: import("@emotion/native").StyledComponent<import("../..").TitleProps & {
|
|
19
|
+
theme?: Theme;
|
|
20
|
+
as?: React.ElementType;
|
|
21
|
+
} & {
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
themeButtonVariant: ThemeVariant;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
declare const StyledSmallButtonText: import("@emotion/native").StyledComponent<import("../..").TitleProps & {
|
|
26
|
+
theme?: Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
|
+
} & {
|
|
29
|
+
disabled?: boolean;
|
|
30
|
+
themeButtonVariant: ThemeVariant;
|
|
31
|
+
} & import("../..").BodyProps, {}, {}>;
|
|
32
|
+
declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
33
|
+
theme?: Theme;
|
|
34
|
+
as?: React.ElementType;
|
|
35
|
+
} & {
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
themeButtonVariant: "text-primary" | "text-secondary" | "text-danger" | "text-white" | "text-inverted";
|
|
38
|
+
themeIsPressed?: boolean;
|
|
39
|
+
themeIsCompact: boolean;
|
|
40
|
+
}, {}, {}>;
|
|
41
|
+
declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
42
|
+
theme?: Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
} & {
|
|
45
|
+
themePosition: "left" | "right";
|
|
46
|
+
themeIsCompact?: boolean;
|
|
47
|
+
themeIsIconOnly?: boolean;
|
|
48
|
+
}, {}, {
|
|
49
|
+
ref?: import("react").Ref<View> | undefined;
|
|
21
50
|
}>;
|
|
51
|
+
declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
52
|
+
theme?: Theme;
|
|
53
|
+
as?: React.ElementType;
|
|
54
|
+
} & {
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
themeButtonVariant: ThemeVariant;
|
|
57
|
+
themeIsPressed?: boolean;
|
|
58
|
+
themeIsCompact?: boolean;
|
|
59
|
+
}, {}, {}>;
|
|
22
60
|
export { StyledButtonContainer, StyledButtonIcon, StyledButtonIconWrapper, StyledButtonText, StyledButtonTitleOfVariantText, StyledSmallButtonText, };
|
|
23
61
|
export type { Intent, ThemeVariant, CamelCase };
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
export declare const ButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
|
+
}, {}, {
|
|
10
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
11
|
}>;
|
|
12
|
+
export declare const ButtonText: import("@emotion/native").StyledComponent<import("../../..").BodyProps & {
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
as?: React.ElementType;
|
|
15
|
+
}, {}, {}>;
|
|
@@ -1,25 +1,61 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
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;
|
|
8
|
+
}>;
|
|
9
|
+
declare const StyledCalendarHeader: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
declare const StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<ViewProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & {
|
|
19
|
+
themeItemWidth?: number;
|
|
20
|
+
}, {}, {
|
|
21
|
+
ref?: import("react").Ref<View> | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
} & {
|
|
27
|
+
variant?: "default" | "current" | "selected" | "highlighted";
|
|
28
|
+
themeItemWidth?: number;
|
|
29
|
+
}, {}, {}>;
|
|
30
|
+
declare const StyledCalendarRow: import("@emotion/native").StyledComponent<ViewProps & {
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
33
|
+
}, {}, {
|
|
34
|
+
ref?: import("react").Ref<View> | undefined;
|
|
35
|
+
}>;
|
|
36
|
+
declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
|
|
37
|
+
theme?: import("@emotion/react").Theme;
|
|
38
|
+
as?: React.ElementType;
|
|
39
|
+
} & {
|
|
40
|
+
themeItemWidth?: number;
|
|
41
|
+
isHighlighted?: boolean;
|
|
42
|
+
}, {}, {
|
|
43
|
+
ref?: import("react").Ref<View> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
} & {
|
|
49
|
+
themeItemWidth?: number;
|
|
50
|
+
}, {}, {
|
|
51
|
+
ref?: import("react").Ref<View> | undefined;
|
|
52
|
+
}>;
|
|
53
|
+
declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
|
|
54
|
+
theme?: import("@emotion/react").Theme;
|
|
55
|
+
as?: React.ElementType;
|
|
56
|
+
} & {
|
|
57
|
+
variant: "primary" | "inverted";
|
|
58
|
+
}, {}, {
|
|
59
|
+
ref?: import("react").Ref<View> | undefined;
|
|
24
60
|
}>;
|
|
25
61
|
export { StyledContainer, StyledCalendarHeader, StyledCalendarRow, StyledCalendarRowItem, StyledDisabledCalendarRowItem, StyledCalendarDayNameCell, StyledCalendarCell, StyledMark, };
|
|
@@ -1,10 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledDataCard: 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 StyledDataCardContent: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
8
|
+
declare const StyledDataCardContent: 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;
|
|
6
13
|
}>;
|
|
7
|
-
declare const Indicator: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
14
|
+
declare const Indicator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
|
+
} & {
|
|
18
|
+
themeIntent: "success" | "info" | "warning" | "danger" | "archived" | "primary";
|
|
19
|
+
}, {}, {
|
|
20
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
21
|
}>;
|
|
10
22
|
export { StyledDataCard, Indicator, StyledDataCardContent };
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledCard: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
themeIntent?: "primary" | "secondary" | "success" | "warning" | "danger" | "archived" | "neutral";
|
|
7
|
+
themeVariant?: "basic" | "super-round";
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
10
|
}>;
|
|
4
11
|
export { StyledCard };
|
|
@@ -22,8 +22,11 @@ export interface CardProps extends ViewProps {
|
|
|
22
22
|
}
|
|
23
23
|
declare const _default: (({ intent, children, variant, ...nativeProps }: CardProps) => ReactElement) & {
|
|
24
24
|
Data: ({ intent, children, ...nativeProps }: import("./DataCard").DataCardProps) => ReactElement;
|
|
25
|
-
DataContent: import("@emotion/native").StyledComponent<
|
|
26
|
-
|
|
25
|
+
DataContent: import("@emotion/native").StyledComponent<ViewProps & {
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
|
+
}, {}, {
|
|
29
|
+
ref?: React.Ref<import("react-native").View> | undefined;
|
|
27
30
|
}>;
|
|
28
31
|
};
|
|
29
32
|
export default _default;
|
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import type { ViewProps } from 'react-native';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import type { CardProps } from '../Card';
|
|
4
|
+
import type { PageControlProps } from '../PageControl';
|
|
5
|
+
declare const StyledPageControl: import("@emotion/native").StyledComponent<PageControlProps & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
14
|
}>;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
15
|
+
declare const StyledCard: import("@emotion/native").StyledComponent<CardProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
declare const StyledItemWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
} & {
|
|
23
|
+
themeGap: "xsmall" | "small" | "medium";
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
26
|
}>;
|
|
13
27
|
export { StyledCard, StyledItemWrapper, StyledWrapper, StyledPageControl };
|
|
@@ -1,28 +1,55 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}>;
|
|
25
|
-
declare const
|
|
26
|
-
|
|
1
|
+
import type { ImageResizeMode } from 'react-native';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
declare const StyledBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeSlideBackground: string;
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
10
|
+
}>;
|
|
11
|
+
declare const StyledCarouselView: 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;
|
|
16
|
+
}>;
|
|
17
|
+
declare const StyledCarouselHeading: import("@emotion/native").StyledComponent<import("../..").TitleProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
|
+
}, {}, {}>;
|
|
21
|
+
declare const StyledCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
declare const StyledCustomSizeCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
|
+
} & {
|
|
29
|
+
themeHeight?: number | `${number}%`;
|
|
30
|
+
themeWidth?: number | `${number}%`;
|
|
31
|
+
themeResizeMode?: ImageResizeMode;
|
|
32
|
+
}, {}, {}>;
|
|
33
|
+
declare const StyledCarouselContentWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
} & {
|
|
37
|
+
width: number;
|
|
38
|
+
}, {}, {}>;
|
|
39
|
+
declare const StyledCarouselFooterWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
40
|
+
theme?: import("@emotion/react").Theme;
|
|
41
|
+
as?: React.ElementType;
|
|
42
|
+
}, {}, {
|
|
43
|
+
ref?: import("react").Ref<View> | undefined;
|
|
44
|
+
}>;
|
|
45
|
+
declare const StyledPageControl: import("@emotion/native").StyledComponent<import("../PageControl").PageControlProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
}, {}, {}>;
|
|
49
|
+
declare const StyledPageControlWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
50
|
+
theme?: import("@emotion/react").Theme;
|
|
51
|
+
as?: React.ElementType;
|
|
52
|
+
}, {}, {
|
|
53
|
+
ref?: import("react").Ref<View> | undefined;
|
|
27
54
|
}>;
|
|
28
55
|
export { StyledBackDrop, StyledCarouselView, StyledCarouselHeading, StyledCarouselImage, StyledCarouselContentWrapper, StyledCarouselFooterWrapper, StyledCustomSizeCarouselImage, StyledPageControl, StyledPageControlWrapper, };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledHeaderContainer: 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
8
|
export { StyledHeaderContainer };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledColumnChartWrapper: 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
8
|
export { StyledColumnChartWrapper };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
declare const StyledChartHeader: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const StyledChartHeader: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
declare const StyledLineChartWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
}, {}, {}>;
|
|
7
9
|
export { StyledChartHeader, StyledLineChartWrapper };
|
|
@@ -1,15 +1,33 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type CheckboxThemeState = 'default' | 'checked' | 'disabled' | 'readonly';
|
|
3
|
+
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeState: CheckboxThemeState;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export declare const StyledDescription: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export declare const StyledCheckboxContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
}, {}, {
|
|
17
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
18
|
}>;
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
12
|
-
}>;
|
|
13
|
-
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<any, {}, {
|
|
14
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
19
|
+
export declare const StyledCheckbox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
} & {
|
|
23
|
+
themeState: CheckboxThemeState;
|
|
24
|
+
}, {}, {
|
|
25
|
+
ref?: import("react").Ref<View> | undefined;
|
|
15
26
|
}>;
|
|
27
|
+
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
} & {
|
|
31
|
+
themeState: CheckboxThemeState;
|
|
32
|
+
}, {}, {}>;
|
|
33
|
+
export {};
|
|
@@ -1,15 +1,45 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type CheckboxThemeState = 'default' | 'checked' | 'disabled' | 'readonly';
|
|
3
|
+
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeState: CheckboxThemeState;
|
|
8
|
+
}, {}, {}>;
|
|
9
|
+
export declare const StyledDescription: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {}>;
|
|
13
|
+
export declare const StyledCheckboxContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
} & {
|
|
17
|
+
themeSize?: "medium" | "large";
|
|
18
|
+
}, {}, {
|
|
19
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
20
|
}>;
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ref?:
|
|
12
|
-
}>;
|
|
13
|
-
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<any, {}, {
|
|
14
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
21
|
+
export declare const StyledCheckbox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
|
+
} & {
|
|
25
|
+
themeState: CheckboxThemeState;
|
|
26
|
+
themeSize?: "medium" | "large";
|
|
27
|
+
}, {}, {
|
|
28
|
+
ref?: import("react").Ref<View> | undefined;
|
|
15
29
|
}>;
|
|
30
|
+
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<import("react-native-vector-icons/Icon").IconProps & {
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
33
|
+
} & {
|
|
34
|
+
themeSize: "small" | "xsmall" | "medium" | "large" | "xlarge" | "xxxsmall";
|
|
35
|
+
themeIntent: "primary" | "secondary" | "text" | "success" | "info" | "warning" | "danger" | "muted" | "inactive" | "disabled-text" | "text-inverted";
|
|
36
|
+
} & {
|
|
37
|
+
ref?: import("react").Ref<import("react-native-vector-icons/Icon").Icon> | undefined;
|
|
38
|
+
} & {
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: React.ElementType;
|
|
41
|
+
} & {
|
|
42
|
+
themeState: CheckboxThemeState;
|
|
43
|
+
themeSize?: "medium" | "large";
|
|
44
|
+
}, {}, {}>;
|
|
45
|
+
export {};
|
|
@@ -3,5 +3,5 @@ type getStateType = {
|
|
|
3
3
|
readonly: boolean;
|
|
4
4
|
checked?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export declare const getThemeState: ({ disabled, readonly, checked, }: getStateType) => "default" | "disabled" | "
|
|
6
|
+
export declare const getThemeState: ({ disabled, readonly, checked, }: getStateType) => "default" | "disabled" | "checked" | "readonly";
|
|
7
7
|
export {};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
type StyledChipWrapperProps = {
|
|
2
|
+
themeVariant?: 'selection' | 'filter' | 'compact' | 'compact-outlined';
|
|
3
|
+
themeSelected?: boolean;
|
|
4
|
+
};
|
|
5
|
+
declare const StyledChipWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View> & {
|
|
6
|
+
theme?: import("@emotion/react").Theme;
|
|
7
|
+
as?: React.ElementType;
|
|
8
|
+
} & StyledChipWrapperProps, {}, {}>;
|
|
9
|
+
declare const StyledChipIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {}>;
|
|
7
13
|
export { StyledChipWrapper, StyledChipIcon };
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
}, {}, {}>;
|
|
4
6
|
/**
|
|
5
7
|
* Height need to be high enough to cover most scenario
|
|
6
8
|
* This container's purpose is only to help get correct children height and returns it
|
|
7
9
|
* to use with Animated.timing
|
|
8
10
|
*/
|
|
9
|
-
declare const StyledHiddenWrapper: import("@emotion/native").StyledComponent<
|
|
10
|
-
|
|
11
|
+
declare const StyledHiddenWrapper: 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;
|
|
11
16
|
}>;
|
|
12
|
-
declare const StyledChildWrapper: import("@emotion/native").StyledComponent<
|
|
13
|
-
|
|
17
|
+
declare const StyledChildWrapper: 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;
|
|
14
22
|
}>;
|
|
15
23
|
export { StyledWrapper, StyledHiddenWrapper, StyledChildWrapper };
|
|
@@ -1,4 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const Wrapper: 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
8
|
export { Wrapper };
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
declare const StyledPickerWrapper: 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
9
|
export { StyledPickerWrapper };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
+
declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeMarginHorizontal?: MarginSize;
|
|
8
|
+
themeMarginVertical?: MarginSize;
|
|
9
|
+
}, {}, {
|
|
10
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
11
|
}>;
|
|
4
12
|
export { StyledDivider };
|