@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,22 +1,49 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Animated, 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
|
+
enableShadow: boolean;
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
3
10
|
}>;
|
|
4
|
-
declare const StyledDragableContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
11
|
+
declare const StyledDragableContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
} & {
|
|
15
|
+
enableShadow: boolean;
|
|
16
|
+
}, {}, {
|
|
17
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
18
|
}>;
|
|
7
|
-
declare const StyledBackdrop: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
19
|
+
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
} & {
|
|
27
|
+
enableShadow: boolean;
|
|
28
|
+
}, {}, {}>;
|
|
29
|
+
declare const StyledDragableDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
30
|
+
theme?: import("@emotion/react").Theme;
|
|
31
|
+
as?: React.ElementType;
|
|
32
|
+
} & {
|
|
33
|
+
enableShadow: boolean;
|
|
34
|
+
}, {}, {}>;
|
|
35
|
+
declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme;
|
|
37
|
+
as?: React.ElementType;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
40
|
}>;
|
|
10
|
-
declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
18
|
-
}>;
|
|
19
|
-
declare const StyledHandler: import("@emotion/native").StyledComponent<any, {}, {
|
|
20
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
41
|
+
declare const StyledHandler: import("@emotion/native").StyledComponent<ViewProps & {
|
|
42
|
+
theme?: import("@emotion/react").Theme;
|
|
43
|
+
as?: React.ElementType;
|
|
44
|
+
} & {
|
|
45
|
+
active?: boolean;
|
|
46
|
+
}, {}, {
|
|
47
|
+
ref?: import("react").Ref<View> | undefined;
|
|
21
48
|
}>;
|
|
22
49
|
export { StyledBackdrop, StyledContainer, StyledDrawerContainer, StyledHandlerContainer, StyledHandler, StyledDragableContainer, StyledDragableDrawerContainer, };
|
|
@@ -1,19 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { Animated, 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 StyledContainerInModal: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
ref?:
|
|
9
|
-
}>;
|
|
10
|
-
declare const StyledFAB: import("@emotion/native").StyledComponent<any, {}, {
|
|
11
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
12
|
-
}>;
|
|
13
|
-
declare const StyledBackdropPressable: import("@emotion/native").StyledComponent<any, {}, {
|
|
14
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
15
|
-
}>;
|
|
16
|
-
declare const StyledBackdrop: import("@emotion/native").StyledComponent<any, {}, {
|
|
17
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
9
|
+
declare const StyledContainerInModal: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
}, {}, {
|
|
13
|
+
ref?: import("react").Ref<View> | undefined;
|
|
18
14
|
}>;
|
|
15
|
+
declare const StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
}, {}, {}>;
|
|
23
|
+
declare const StyledBackdropPressable: import("@emotion/native").StyledComponent<import("react-native").PressableProps & import("react").RefAttributes<View> & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
declare const StyledBackdrop: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
|
+
}, {}, {}>;
|
|
19
31
|
export { StyledActionGroupContainer, StyledBackdrop, StyledBackdropPressable, StyledContainer, StyledContainerInModal, StyledFAB, };
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}>;
|
|
7
|
-
declare const
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import type { TouchableOpacityProps } from 'react-native';
|
|
2
|
+
import type { IconProps } from '../../Icon';
|
|
3
|
+
declare const StyledActionItem: import("@emotion/native").StyledComponent<TouchableOpacityProps & import("react").RefAttributes<import("react-native").View> & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
}, {}, {}>;
|
|
7
|
+
declare const StyledActionItemText: import("@emotion/native").StyledComponent<import("../../..").BodyProps & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
} & TouchableOpacityProps, {}, {}>;
|
|
11
|
+
declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
}, {}, {}>;
|
|
10
15
|
export { StyledIcon, StyledActionItem, StyledActionItemText };
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
declare const StyledFABPairWrapper: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
declare const StyledFABPairWrapper: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & {
|
|
6
|
+
titleStyle?: import("react-native").StyleProp<import("react-native").TextStyle>;
|
|
7
|
+
} & import("react").RefAttributes<import("../FAB").FABHandles> & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
} & {
|
|
11
|
+
iconOnly?: boolean;
|
|
12
|
+
isLast?: boolean;
|
|
13
|
+
}, {}, {}>;
|
|
7
14
|
export { StyledFABPairWrapper, StyledFAB };
|
|
@@ -1,13 +1,23 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
}
|
|
4
|
-
declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import type { TextProps } from 'react-native';
|
|
2
|
+
import { Animated } from 'react-native';
|
|
3
|
+
import type { IconProps } from '../Icon';
|
|
4
|
+
declare const StyledFAB: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>> & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & {
|
|
8
|
+
themeActive?: boolean;
|
|
9
|
+
themeIconOnly?: boolean;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
declare const StyledFABIcon: import("@emotion/native").StyledComponent<IconProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const StyledFABText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
} & TextProps, {}, {}>;
|
|
19
|
+
declare const StyledIconContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
|
+
}, {}, {}>;
|
|
13
23
|
export { StyledFAB, StyledFABIcon, StyledFABText, StyledIconContainer };
|
|
@@ -1,9 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}>;
|
|
1
|
+
type Variant = 'filled' | 'outlined' | 'ghost';
|
|
2
|
+
export declare const StyledFilterWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View> & {
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
|
+
} & {
|
|
6
|
+
themeActive: boolean;
|
|
7
|
+
themeVariant: Variant;
|
|
8
|
+
themeHasLabel: boolean;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
export declare const StyledBadge: import("@emotion/native").StyledComponent<(import("../Badge").BadgeProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
}) & {
|
|
14
|
+
themeHasLabel: boolean;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export declare const StyledText: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
export {};
|
|
@@ -1,13 +1,19 @@
|
|
|
1
|
-
declare const StyledWrapper: import("@emotion/native").StyledComponent<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
ref?:
|
|
6
|
-
}>;
|
|
7
|
-
declare const StyledSuffixWrapper: import("@emotion/native").StyledComponent<any, {}, {
|
|
8
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
9
|
-
}>;
|
|
10
|
-
declare const StyledIcon: import("@emotion/native").StyledComponent<any, {}, {
|
|
11
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
1
|
+
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View> & {
|
|
2
|
+
theme?: import("@emotion/react").Theme;
|
|
3
|
+
as?: React.ElementType;
|
|
4
|
+
}, {}, {
|
|
5
|
+
ref?: import("react").Ref<any> | undefined;
|
|
12
6
|
}>;
|
|
7
|
+
declare const StyledPrefixWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
8
|
+
theme?: import("@emotion/react").Theme;
|
|
9
|
+
as?: React.ElementType;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
declare const StyledSuffixWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
12
|
+
theme?: import("@emotion/react").Theme;
|
|
13
|
+
as?: React.ElementType;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
|
+
}, {}, {}>;
|
|
13
19
|
export { StyledWrapper, StyledPrefixWrapper, StyledSuffixWrapper, StyledIcon };
|
|
@@ -1,4 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
type ThemeSize = 'xxxsmall' | 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
2
|
+
type ThemeIntent = 'text' | 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'disabled-text' | 'text-inverted' | 'muted' | 'inactive';
|
|
3
|
+
declare const StyledHeroIcon: import("@emotion/native").StyledComponent<import("react-native-vector-icons/Icon").IconProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeSize: ThemeSize;
|
|
8
|
+
themeIntent: ThemeIntent;
|
|
9
|
+
}, {}, {
|
|
10
|
+
ref?: import("react").Ref<import("react-native-vector-icons/Icon").Icon> | undefined;
|
|
3
11
|
}>;
|
|
4
12
|
export default StyledHeroIcon;
|
|
@@ -1,7 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import type { InlineLoaderTextSizeName } from './types';
|
|
3
|
+
type ThemeSize = InlineLoaderTextSizeName;
|
|
4
|
+
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;
|
|
3
9
|
}>;
|
|
4
|
-
declare const StyledIconContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
10
|
+
declare const StyledIconContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
|
+
} & {
|
|
14
|
+
themeSize: ThemeSize;
|
|
15
|
+
}, {}, {
|
|
16
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
17
|
}>;
|
|
7
18
|
export { StyledContainer, StyledIconContainer };
|
|
@@ -1,13 +1,27 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
declare const StyledPrefixContainer: 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 StyledSuffixContainer: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
8
|
+
declare const StyledSuffixContainer: 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 StyledTitleContainer: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
ref?:
|
|
14
|
+
declare const StyledTitleContainer: 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;
|
|
12
19
|
}>;
|
|
20
|
+
declare const StyledListItemContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & import("react").RefAttributes<View> & {
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: React.ElementType;
|
|
23
|
+
} & {
|
|
24
|
+
themeSelected?: boolean;
|
|
25
|
+
themeDisabled?: boolean;
|
|
26
|
+
}, {}, {}>;
|
|
13
27
|
export { StyledListItemContainer, StyledPrefixContainer, StyledTitleContainer, StyledSuffixContainer, };
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
1
2
|
type MarginHorizontal = 'none' | 'small' | 'medium' | 'large';
|
|
2
|
-
declare const StyledListGroupContainer: import("@emotion/native").StyledComponent<
|
|
3
|
-
|
|
3
|
+
declare const StyledListGroupContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
|
+
} & {
|
|
7
|
+
themeMarginHorizontal?: MarginHorizontal;
|
|
8
|
+
}, {}, {
|
|
9
|
+
ref?: import("react").Ref<View> | undefined;
|
|
4
10
|
}>;
|
|
5
11
|
export { StyledListGroupContainer };
|
|
6
12
|
export type { MarginHorizontal };
|
|
@@ -1,22 +1,51 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type Variant = 'full-width' | 'card';
|
|
3
|
+
type LeadingStatusIntent = 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
4
|
+
declare const StyledListItemContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & import("react").RefAttributes<View> & {
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
|
+
} & {
|
|
8
|
+
themeSelected?: boolean;
|
|
9
|
+
themeVariant?: Variant;
|
|
10
|
+
}, {}, {}>;
|
|
11
|
+
declare const StyledContentContainer: 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;
|
|
3
16
|
}>;
|
|
4
|
-
declare const
|
|
5
|
-
|
|
17
|
+
declare const StyledChildrenContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
|
+
} & {
|
|
21
|
+
themeHasTitle: boolean;
|
|
22
|
+
}, {}, {
|
|
23
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
24
|
}>;
|
|
7
|
-
declare const
|
|
8
|
-
|
|
25
|
+
declare const StyledLeadingStatus: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
|
+
} & {
|
|
29
|
+
themeLeadingStatusIntent: LeadingStatusIntent;
|
|
30
|
+
}, {}, {
|
|
31
|
+
ref?: import("react").Ref<View> | undefined;
|
|
9
32
|
}>;
|
|
10
|
-
declare const
|
|
11
|
-
|
|
33
|
+
declare const StyledPrefixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
}, {}, {
|
|
37
|
+
ref?: import("react").Ref<View> | undefined;
|
|
12
38
|
}>;
|
|
13
|
-
declare const
|
|
14
|
-
|
|
39
|
+
declare const StyledSuffixContainer: 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;
|
|
15
44
|
}>;
|
|
16
|
-
declare const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
ref?:
|
|
45
|
+
declare const StyledTitleContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
|
+
}, {}, {
|
|
49
|
+
ref?: import("react").Ref<View> | undefined;
|
|
21
50
|
}>;
|
|
22
51
|
export { StyledListItemContainer, StyledContentContainer, StyledChildrenContainer, StyledLeadingStatus, StyledPrefixContainer, StyledTitleContainer, StyledSuffixContainer, };
|
|
@@ -1,21 +1,41 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
type State = 'idle' | 'selected' | 'applied';
|
|
3
|
+
export declare const StyledContainer: 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
|
-
export declare const StyledContent: import("@emotion/native").StyledComponent<
|
|
5
|
-
|
|
9
|
+
export declare const StyledContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
|
+
} & {
|
|
13
|
+
themeState: State;
|
|
14
|
+
}, {}, {
|
|
15
|
+
ref?: import("react").Ref<View> | undefined;
|
|
6
16
|
}>;
|
|
7
|
-
export declare const StyledBadge: import("@emotion/native").StyledComponent<
|
|
8
|
-
|
|
17
|
+
export declare const StyledBadge: 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
|
-
export declare const StyledImage: import("@emotion/native").StyledComponent<
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
ref?:
|
|
15
|
-
}>;
|
|
16
|
-
export declare const StyledBadgeIcon: import("@emotion/native").StyledComponent<any, {}, {
|
|
17
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
18
|
-
}>;
|
|
19
|
-
export declare const StyledFocusIcon: import("@emotion/native").StyledComponent<any, {}, {
|
|
20
|
-
ref?: React.Ref<InstanceType<C>>;
|
|
23
|
+
export declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
|
+
}, {}, {
|
|
27
|
+
ref?: import("react").Ref<import("react-native").Image> | undefined;
|
|
21
28
|
}>;
|
|
29
|
+
export declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
30
|
+
theme?: import("@emotion/react").Theme;
|
|
31
|
+
as?: React.ElementType;
|
|
32
|
+
}, {}, {}>;
|
|
33
|
+
export declare const StyledBadgeIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
|
+
}, {}, {}>;
|
|
37
|
+
export declare const StyledFocusIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
38
|
+
theme?: import("@emotion/react").Theme;
|
|
39
|
+
as?: React.ElementType;
|
|
40
|
+
}, {}, {}>;
|
|
41
|
+
export {};
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Animated, View } from 'react-native';
|
|
2
|
+
declare const StyledPageControl: 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;
|
|
6
7
|
}>;
|
|
8
|
+
declare const StyledPageControlAnimatedView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
}, {}, {}>;
|
|
7
12
|
export { StyledPageControl, StyledPageControlAnimatedView };
|
|
@@ -1,31 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { TextInput, View } from 'react-native';
|
|
2
|
+
export declare const StyledWrapper: 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;
|
|
6
7
|
}>;
|
|
8
|
+
export declare const StyledPinWrapper: import("@emotion/native").StyledComponent<import("react-native").PressableProps & import("react").RefAttributes<View> & {
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
|
+
}, {}, {}>;
|
|
7
12
|
export type State = 'default' | 'disabled' | 'error';
|
|
8
|
-
export declare const StyledCell: import("@emotion/native").StyledComponent<
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
ref?:
|
|
13
|
+
export declare const StyledCell: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
|
+
} & {
|
|
17
|
+
themeFocused: boolean;
|
|
18
|
+
themeState: State;
|
|
19
|
+
}, {}, {
|
|
20
|
+
ref?: import("react").Ref<View> | undefined;
|
|
16
21
|
}>;
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
22
|
+
export declare const StyledCellText: import("@emotion/native").StyledComponent<import("../..").TitleProps & {
|
|
23
|
+
theme?: import("@emotion/react").Theme;
|
|
24
|
+
as?: React.ElementType;
|
|
25
|
+
} & {
|
|
26
|
+
themeState: State;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
export declare const StyledSpacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
29
|
+
theme?: import("@emotion/react").Theme;
|
|
30
|
+
as?: React.ElementType;
|
|
31
|
+
}, {}, {
|
|
32
|
+
ref?: import("react").Ref<View> | undefined;
|
|
19
33
|
}>;
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
34
|
+
export declare const StyledMask: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
35
|
+
theme?: import("@emotion/react").Theme;
|
|
36
|
+
as?: React.ElementType;
|
|
37
|
+
} & {
|
|
38
|
+
themeState: State;
|
|
39
|
+
}, {}, {
|
|
40
|
+
ref?: import("react").Ref<View> | undefined;
|
|
22
41
|
}>;
|
|
23
|
-
export declare const
|
|
24
|
-
|
|
42
|
+
export declare const StyledFilledMask: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
43
|
+
theme?: import("@emotion/react").Theme;
|
|
44
|
+
as?: React.ElementType;
|
|
45
|
+
} & {
|
|
46
|
+
themeState: State;
|
|
47
|
+
}, {}, {
|
|
48
|
+
ref?: import("react").Ref<View> | undefined;
|
|
25
49
|
}>;
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
50
|
+
export declare const StyledHiddenInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
51
|
+
theme?: import("@emotion/react").Theme;
|
|
52
|
+
as?: React.ElementType;
|
|
53
|
+
} & {
|
|
54
|
+
themePinLength: number;
|
|
55
|
+
}, {}, {
|
|
56
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
28
57
|
}>;
|
|
29
|
-
export declare const
|
|
30
|
-
|
|
58
|
+
export declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
59
|
+
theme?: import("@emotion/react").Theme;
|
|
60
|
+
as?: React.ElementType;
|
|
61
|
+
}, {}, {
|
|
62
|
+
ref?: import("react").Ref<View> | undefined;
|
|
31
63
|
}>;
|
|
64
|
+
export declare const StyledErrorMessage: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
|
|
65
|
+
theme?: import("@emotion/react").Theme;
|
|
66
|
+
as?: React.ElementType;
|
|
67
|
+
}, {}, {}>;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import type { PortalType } from './contexts';
|
|
2
2
|
import type { ActionTypes } from './types';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
name: string;
|
|
7
|
-
}[];
|
|
8
|
-
};
|
|
3
|
+
type State = Record<string, Array<PortalType>>;
|
|
4
|
+
export declare const reducer: (state: Record<string, Array<PortalType>>, action: ActionTypes) => State;
|
|
5
|
+
export {};
|