@hero-design/rn 8.82.2-alpha.0 → 8.82.2-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -6
- package/es/index.js +40 -0
- package/eslint.config.js +2 -4
- package/lib/index.js +40 -0
- package/package.json +3 -3
- package/types/components/Accordion/AccordionItem.d.ts +1 -1
- package/types/components/Accordion/StyledAccordion.d.ts +11 -11
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Alert/StyledAlert.d.ts +16 -16
- package/types/components/Alert/index.d.ts +1 -1
- package/types/components/Attachment/StyledAttachment.d.ts +8 -8
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +9 -9
- package/types/components/Avatar/StyledAvatar.d.ts +10 -10
- package/types/components/Badge/StyledBadge.d.ts +12 -12
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +15 -15
- package/types/components/BottomNavigation/index.d.ts +1 -1
- package/types/components/BottomSheet/BottomSheetContext.d.ts +1 -1
- package/types/components/BottomSheet/Header.d.ts +2 -2
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/Box/StyledBox.d.ts +2 -2
- package/types/components/Box/config.d.ts +2 -2
- package/types/components/Box/types.d.ts +3 -3
- package/types/components/Button/Button.d.ts +1 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +6 -6
- package/types/components/Button/LoadingIndicator/index.d.ts +1 -1
- package/types/components/Button/StyledButton.d.ts +22 -22
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +6 -6
- package/types/components/Calendar/StyledCalendar.d.ts +22 -22
- package/types/components/Card/DataCard/StyledDataCard.d.ts +5 -5
- package/types/components/Card/StyledCard.d.ts +4 -4
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/StyledCardCarousel.d.ts +8 -8
- package/types/components/Carousel/StyledCarousel.d.ts +21 -21
- package/types/components/Carousel/types.d.ts +2 -2
- package/types/components/Checkbox/StyledCheckbox.d.ts +11 -11
- package/types/components/Checkbox/index.d.ts +1 -1
- package/types/components/Chip/StyledChip.d.ts +5 -5
- package/types/components/Collapse/StyledCollapse.d.ts +6 -6
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +2 -2
- package/types/components/DatePicker/DatePickerAndroid.d.ts +1 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +1 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +1 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +2 -2
- package/types/components/DatePicker/useCalculateDate.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Drawer/DragableDrawer/helpers.d.ts +1 -1
- package/types/components/Drawer/StyledDrawer.d.ts +15 -15
- package/types/components/Empty/StyledEmpty.d.ts +7 -7
- package/types/components/Error/StyledError.d.ts +21 -21
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +10 -10
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +6 -6
- package/types/components/FAB/ActionGroup/index.d.ts +1 -1
- package/types/components/FAB/AnimatedFABIcon.d.ts +1 -1
- package/types/components/FAB/FAB.d.ts +1 -1
- package/types/components/FAB/Pair/StyledFAB.d.ts +6 -6
- package/types/components/FAB/Pair/index.d.ts +1 -1
- package/types/components/FAB/StyledFAB.d.ts +9 -9
- package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +10 -10
- package/types/components/Icon/AnimatedIcon.d.ts +1 -1
- package/types/components/Icon/HeroIcon/index.d.ts +4 -4
- package/types/components/Icon/index.d.ts +1 -1
- package/types/components/Icon/utils.d.ts +2 -1
- package/types/components/List/StyledBasicListItem.d.ts +10 -10
- package/types/components/List/StyledListItem.d.ts +18 -18
- package/types/components/MapPin/StyledMapPin.d.ts +11 -11
- package/types/components/MapPin/types.d.ts +1 -1
- package/types/components/PageControl/StyledPageControl.d.ts +4 -4
- package/types/components/PinInput/StyledPinInput.d.ts +21 -21
- package/types/components/Portal/reducer.d.ts +1 -1
- package/types/components/Portal/types.d.ts +1 -1
- package/types/components/Progress/ProgressStep.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +4 -4
- package/types/components/Progress/StyledProgressCircle.d.ts +12 -12
- package/types/components/Progress/StyledStep.d.ts +10 -10
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/Radio/index.d.ts +1 -1
- package/types/components/Radio/types.d.ts +1 -1
- package/types/components/Rate/StyledRate.d.ts +4 -4
- package/types/components/RefreshControl/index.d.ts +1 -1
- package/types/components/RichTextEditor/EditorEvent.d.ts +0 -1
- package/types/components/RichTextEditor/RichTextEditor.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +4 -4
- package/types/components/RichTextEditor/StyledToolbar.d.ts +6 -6
- package/types/components/RichTextEditor/types.d.ts +1 -1
- package/types/components/Search/SearchOneLine.d.ts +5 -5
- package/types/components/Search/StyledSearch.d.ts +18 -18
- package/types/components/Search/index.d.ts +1 -1
- package/types/components/Search/utils.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +7 -7
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -2
- package/types/components/Select/MultiSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -2
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/StyledSelect.d.ts +6 -6
- package/types/components/Select/helpers.d.ts +2 -2
- package/types/components/Select/types.d.ts +6 -6
- package/types/components/Skeleton/StyledSkeleton.d.ts +6 -6
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -2
- package/types/components/Spinner/StyledSpinner.d.ts +13 -13
- package/types/components/Success/StyledSuccess.d.ts +19 -19
- package/types/components/Swipeable/StyledSwipeable.d.ts +3 -3
- package/types/components/Swipeable/index.d.ts +2 -2
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -5
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +8 -8
- package/types/components/Switch/SelectorSwitch/index.d.ts +3 -3
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Switch/index.d.ts +3 -3
- package/types/components/Tabs/SceneView.d.ts +3 -3
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitHighlightedAnimation.d.ts +2 -2
- package/types/components/Tabs/ScrollableTabsHeader/hooks/useInitUnderlinedAnimation.d.ts +2 -2
- package/types/components/Tabs/StyledScrollableTabs.d.ts +17 -17
- package/types/components/Tabs/StyledTabs.d.ts +14 -14
- package/types/components/Tabs/TabWithBadge.d.ts +3 -3
- package/types/components/Tabs/index.d.ts +2 -2
- package/types/components/Tabs/useHandlePageScroll.d.ts +1 -1
- package/types/components/Tag/StyledTag.d.ts +5 -5
- package/types/components/TextInput/StyledTextInput.d.ts +28 -28
- package/types/components/TextInput/index.d.ts +16 -16
- package/types/components/TimePicker/StyledTimePicker.d.ts +2 -2
- package/types/components/Toast/StyledToast.d.ts +18 -18
- package/types/components/Toast/ToastContext.d.ts +2 -2
- package/types/components/Toast/ToastProvider.d.ts +1 -1
- package/types/components/Toast/types.d.ts +2 -2
- package/types/components/Toolbar/StyledToolbar.d.ts +25 -25
- package/types/components/Toolbar/ToolbarMessage.d.ts +4 -4
- package/types/components/Typography/Body/StyledBody.d.ts +4 -4
- package/types/components/Typography/Caption/StyledCaption.d.ts +3 -3
- package/types/components/Typography/Label/StyledLabel.d.ts +2 -2
- package/types/components/Typography/Text/StyledText.d.ts +6 -6
- package/types/components/Typography/Title/StyledTitle.d.ts +4 -4
- package/types/components/Typography/types.d.ts +1 -1
- package/types/testHelpers/utils.d.ts +1 -1
- package/types/theme/ThemeSwitcher.d.ts +3 -3
- package/types/theme/components/badge.d.ts +1 -1
- package/types/theme/components/button.d.ts +1 -1
- package/types/theme/components/carousel.d.ts +1 -1
- package/types/theme/components/empty.d.ts +1 -1
- package/types/theme/components/error.d.ts +1 -1
- package/types/theme/components/fab.d.ts +1 -1
- package/types/theme/components/pinInput.d.ts +1 -1
- package/types/theme/components/success.d.ts +1 -1
- package/types/theme/components/tag.d.ts +1 -1
- package/types/theme/getTheme.d.ts +1 -1
- package/types/theme/global/colors/types.d.ts +3 -3
- package/types/theme/global/index.d.ts +4 -4
- package/types/theme/global/scale.d.ts +1 -1
- package/types/theme/global/shadows.d.ts +1 -1
- package/types/theme/global/typography.d.ts +1 -1
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
import IconList from './IconList';
|
|
2
|
+
declare const isHeroIcon: (x: any) => x is (typeof IconList)[number];
|
|
2
3
|
export { isHeroIcon };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { TouchableHighlight, View } from 'react-native';
|
|
2
2
|
declare const StyledPrefixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
7
7
|
}>;
|
|
8
8
|
declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
11
|
}, {}, {
|
|
12
12
|
ref?: import("react").Ref<View> | undefined;
|
|
13
13
|
}>;
|
|
14
14
|
declare const StyledTitleContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
15
|
-
theme?: import("@emotion/react").Theme
|
|
16
|
-
as?:
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType;
|
|
17
17
|
}, {}, {
|
|
18
18
|
ref?: import("react").Ref<View> | undefined;
|
|
19
19
|
}>;
|
|
20
20
|
declare const StyledListItemContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
|
|
21
|
-
theme?: import("@emotion/react").Theme
|
|
22
|
-
as?:
|
|
21
|
+
theme?: import("@emotion/react").Theme;
|
|
22
|
+
as?: React.ElementType;
|
|
23
23
|
} & {
|
|
24
|
-
themeSelected?: boolean
|
|
25
|
-
themeDisabled?: boolean
|
|
24
|
+
themeSelected?: boolean;
|
|
25
|
+
themeDisabled?: boolean;
|
|
26
26
|
}, {}, {
|
|
27
27
|
ref?: import("react").Ref<TouchableHighlight> | undefined;
|
|
28
28
|
}>;
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import { TouchableHighlight, View } from 'react-native';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type Variant = 'full-width' | 'card';
|
|
3
|
+
export type LeadingStatusIntent = 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
4
4
|
declare const StyledListItemContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
6
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
7
|
} & {
|
|
8
|
-
themeSelected?: boolean
|
|
9
|
-
themeVariant?: Variant
|
|
8
|
+
themeSelected?: boolean;
|
|
9
|
+
themeVariant?: Variant;
|
|
10
10
|
}, {}, {
|
|
11
11
|
ref?: import("react").Ref<TouchableHighlight> | undefined;
|
|
12
12
|
}>;
|
|
13
13
|
declare const StyledContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
14
|
-
theme?: import("@emotion/react").Theme
|
|
15
|
-
as?:
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
16
|
}, {}, {
|
|
17
17
|
ref?: import("react").Ref<View> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
declare const StyledChildrenContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
20
|
-
theme?: import("@emotion/react").Theme
|
|
21
|
-
as?:
|
|
20
|
+
theme?: import("@emotion/react").Theme;
|
|
21
|
+
as?: React.ElementType;
|
|
22
22
|
}, {}, {
|
|
23
23
|
ref?: import("react").Ref<View> | undefined;
|
|
24
24
|
}>;
|
|
25
25
|
declare const StyledLeadingStatus: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
26
|
-
theme?: import("@emotion/react").Theme
|
|
27
|
-
as?:
|
|
26
|
+
theme?: import("@emotion/react").Theme;
|
|
27
|
+
as?: React.ElementType;
|
|
28
28
|
} & {
|
|
29
29
|
themeLeadingStatusIntent: LeadingStatusIntent;
|
|
30
30
|
}, {}, {
|
|
31
31
|
ref?: import("react").Ref<View> | undefined;
|
|
32
32
|
}>;
|
|
33
33
|
declare const StyledPrefixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
34
|
-
theme?: import("@emotion/react").Theme
|
|
35
|
-
as?:
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType;
|
|
36
36
|
}, {}, {
|
|
37
37
|
ref?: import("react").Ref<View> | undefined;
|
|
38
38
|
}>;
|
|
39
39
|
declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
40
|
-
theme?: import("@emotion/react").Theme
|
|
41
|
-
as?:
|
|
40
|
+
theme?: import("@emotion/react").Theme;
|
|
41
|
+
as?: React.ElementType;
|
|
42
42
|
}, {}, {
|
|
43
43
|
ref?: import("react").Ref<View> | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
declare const StyledTitleContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
46
|
-
theme?: import("@emotion/react").Theme
|
|
47
|
-
as?:
|
|
46
|
+
theme?: import("@emotion/react").Theme;
|
|
47
|
+
as?: React.ElementType;
|
|
48
48
|
}, {}, {
|
|
49
49
|
ref?: import("react").Ref<View> | undefined;
|
|
50
50
|
}>;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
|
-
|
|
2
|
+
type State = 'idle' | 'selected' | 'applied';
|
|
3
3
|
export declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
export declare const StyledContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
12
|
} & {
|
|
13
13
|
themeState: State;
|
|
14
14
|
}, {}, {
|
|
15
15
|
ref?: import("react").Ref<View> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
export declare const StyledBadge: import("@emotion/native").StyledComponent<import("../Badge/types").IconBadgeProps & {
|
|
18
|
-
theme?: import("@emotion/react").Theme
|
|
19
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
20
|
}, {}, {}>;
|
|
21
21
|
export declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
|
|
22
|
-
theme?: import("@emotion/react").Theme
|
|
23
|
-
as?:
|
|
22
|
+
theme?: import("@emotion/react").Theme;
|
|
23
|
+
as?: React.ElementType;
|
|
24
24
|
}, {}, {
|
|
25
25
|
ref?: import("react").Ref<import("react-native").Image> | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
export declare const StyledFocusIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
28
|
-
theme?: import("@emotion/react").Theme
|
|
29
|
-
as?:
|
|
28
|
+
theme?: import("@emotion/react").Theme;
|
|
29
|
+
as?: React.ElementType;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
declare const StyledPageControl: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
7
7
|
}>;
|
|
8
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?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
11
|
}, {}, {}>;
|
|
12
12
|
export { StyledPageControl, StyledPageControlAnimatedView };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { TextInput, View } from 'react-native';
|
|
2
2
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
7
7
|
}>;
|
|
8
8
|
export declare const StyledPinWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
9
|
-
theme?: import("@emotion/react").Theme
|
|
10
|
-
as?:
|
|
9
|
+
theme?: import("@emotion/react").Theme;
|
|
10
|
+
as?: React.ElementType;
|
|
11
11
|
}, {}, {
|
|
12
12
|
ref?: import("react").Ref<View> | undefined;
|
|
13
13
|
}>;
|
|
14
|
-
export
|
|
14
|
+
export type State = 'default' | 'disabled' | 'error';
|
|
15
15
|
export declare const StyledCell: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
} & {
|
|
19
19
|
themeFocused: boolean;
|
|
20
20
|
themeState: State;
|
|
@@ -22,48 +22,48 @@ export declare const StyledCell: import("@emotion/native").StyledComponent<impor
|
|
|
22
22
|
ref?: import("react").Ref<View> | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
export declare const StyledCellText: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
25
|
-
theme?: import("@emotion/react").Theme
|
|
26
|
-
as?:
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
27
|
} & {
|
|
28
28
|
themeState: State;
|
|
29
29
|
}, {}, {}>;
|
|
30
30
|
export declare const StyledSpacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
31
|
-
theme?: import("@emotion/react").Theme
|
|
32
|
-
as?:
|
|
31
|
+
theme?: import("@emotion/react").Theme;
|
|
32
|
+
as?: React.ElementType;
|
|
33
33
|
}, {}, {
|
|
34
34
|
ref?: import("react").Ref<View> | undefined;
|
|
35
35
|
}>;
|
|
36
36
|
export declare const StyledMask: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
37
|
-
theme?: import("@emotion/react").Theme
|
|
38
|
-
as?:
|
|
37
|
+
theme?: import("@emotion/react").Theme;
|
|
38
|
+
as?: React.ElementType;
|
|
39
39
|
} & {
|
|
40
40
|
themeState: State;
|
|
41
41
|
}, {}, {
|
|
42
42
|
ref?: import("react").Ref<View> | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
export declare const StyledFilledMask: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
45
|
-
theme?: import("@emotion/react").Theme
|
|
46
|
-
as?:
|
|
45
|
+
theme?: import("@emotion/react").Theme;
|
|
46
|
+
as?: React.ElementType;
|
|
47
47
|
} & {
|
|
48
48
|
themeState: State;
|
|
49
49
|
}, {}, {
|
|
50
50
|
ref?: import("react").Ref<View> | undefined;
|
|
51
51
|
}>;
|
|
52
52
|
export declare const StyledHiddenInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
53
|
-
theme?: import("@emotion/react").Theme
|
|
54
|
-
as?:
|
|
53
|
+
theme?: import("@emotion/react").Theme;
|
|
54
|
+
as?: React.ElementType;
|
|
55
55
|
} & {
|
|
56
56
|
themePinLength: number;
|
|
57
57
|
}, {}, {
|
|
58
58
|
ref?: import("react").Ref<TextInput> | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
61
|
-
theme?: import("@emotion/react").Theme
|
|
62
|
-
as?:
|
|
61
|
+
theme?: import("@emotion/react").Theme;
|
|
62
|
+
as?: React.ElementType;
|
|
63
63
|
}, {}, {
|
|
64
64
|
ref?: import("react").Ref<View> | undefined;
|
|
65
65
|
}>;
|
|
66
66
|
export declare const StyledErrorMessage: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
|
|
67
|
-
theme?: import("@emotion/react").Theme
|
|
68
|
-
as?:
|
|
67
|
+
theme?: import("@emotion/react").Theme;
|
|
68
|
+
as?: React.ElementType;
|
|
69
69
|
}, {}, {}>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PortalType } from './contexts';
|
|
2
2
|
import type { ActionTypes } from './types';
|
|
3
|
-
|
|
3
|
+
type State = Record<string, Array<PortalType>>;
|
|
4
4
|
export declare const reducer: (state: Record<string, Array<PortalType>>, action: ActionTypes) => State;
|
|
5
5
|
export {};
|
|
@@ -19,4 +19,4 @@ export interface UnregisterHostAction {
|
|
|
19
19
|
type: ACTIONS;
|
|
20
20
|
hostName: string;
|
|
21
21
|
}
|
|
22
|
-
export
|
|
22
|
+
export type ActionTypes = AddUpdatePortalAction | RemovePortalAction | RegisterHostAction | UnregisterHostAction;
|
|
@@ -14,7 +14,7 @@ export interface ProgressStepProps extends ViewProps {
|
|
|
14
14
|
*/
|
|
15
15
|
testID?: string;
|
|
16
16
|
}
|
|
17
|
-
|
|
17
|
+
type StepState = 'complete' | 'incomplete' | 'current';
|
|
18
18
|
export declare const getStepState: (current: number, index: number) => StepState;
|
|
19
19
|
declare const ProgressStep: ({ steps, current, onLayout, ...props }: ProgressStepProps) => React.JSX.Element;
|
|
20
20
|
export default ProgressStep;
|
|
@@ -2,16 +2,16 @@ import { Animated, View } from 'react-native';
|
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
import type { ThemeIntent } from './types';
|
|
4
4
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
6
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
7
|
} & {
|
|
8
8
|
themeIntent: ThemeIntent;
|
|
9
9
|
}, {}, {
|
|
10
10
|
ref?: import("react").Ref<View> | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
declare const StyledInner: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
13
|
-
theme?: import("@emotion/react").Theme
|
|
14
|
-
as?:
|
|
13
|
+
theme?: import("@emotion/react").Theme;
|
|
14
|
+
as?: React.ElementType;
|
|
15
15
|
} & {
|
|
16
16
|
themeIntent: ThemeIntent;
|
|
17
17
|
}, {}, {}>;
|
|
@@ -2,42 +2,42 @@ import { View } from 'react-native';
|
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
import type { ThemeIntent } from './types';
|
|
4
4
|
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
5
|
-
theme?: import("@emotion/react").Theme
|
|
6
|
-
as?:
|
|
5
|
+
theme?: import("@emotion/react").Theme;
|
|
6
|
+
as?: React.ElementType;
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<View> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
declare const StyledHalfCircleWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme
|
|
12
|
-
as?:
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledHalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme
|
|
18
|
-
as?:
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
19
|
} & {
|
|
20
20
|
themeIntent: ThemeIntent;
|
|
21
21
|
}, {}, {
|
|
22
22
|
ref?: import("react").Ref<View> | undefined;
|
|
23
23
|
}>;
|
|
24
24
|
declare const StyledHalfCircleInnerBG: import("@emotion/native").StyledComponent<ViewProps & {
|
|
25
|
-
theme?: import("@emotion/react").Theme
|
|
26
|
-
as?:
|
|
25
|
+
theme?: import("@emotion/react").Theme;
|
|
26
|
+
as?: React.ElementType;
|
|
27
27
|
} & {
|
|
28
28
|
themeIntent: ThemeIntent;
|
|
29
29
|
}, {}, {
|
|
30
30
|
ref?: import("react").Ref<View> | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
declare const StyledDonutCircle: import("@emotion/native").StyledComponent<ViewProps & {
|
|
33
|
-
theme?: import("@emotion/react").Theme
|
|
34
|
-
as?:
|
|
33
|
+
theme?: import("@emotion/react").Theme;
|
|
34
|
+
as?: React.ElementType;
|
|
35
35
|
}, {}, {
|
|
36
36
|
ref?: import("react").Ref<View> | undefined;
|
|
37
37
|
}>;
|
|
38
38
|
declare const StyledStrokeEnd: import("@emotion/native").StyledComponent<ViewProps & {
|
|
39
|
-
theme?: import("@emotion/react").Theme
|
|
40
|
-
as?:
|
|
39
|
+
theme?: import("@emotion/react").Theme;
|
|
40
|
+
as?: React.ElementType;
|
|
41
41
|
} & {
|
|
42
42
|
themeIntent: ThemeIntent;
|
|
43
43
|
}, {}, {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
|
|
1
|
+
type StepState = 'complete' | 'incomplete' | 'current';
|
|
2
2
|
declare const StyledStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
declare const StyledStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
7
|
-
theme?: import("@emotion/react").Theme
|
|
8
|
-
as?:
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
9
|
} & {
|
|
10
10
|
themeState: StepState;
|
|
11
11
|
themeWidth: number;
|
|
12
12
|
}, {}, {}>;
|
|
13
13
|
declare const StyledSingleStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
14
|
-
theme?: import("@emotion/react").Theme
|
|
15
|
-
as?:
|
|
14
|
+
theme?: import("@emotion/react").Theme;
|
|
15
|
+
as?: React.ElementType;
|
|
16
16
|
}, {}, {}>;
|
|
17
17
|
declare const StyledSingleStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
18
|
-
theme?: import("@emotion/react").Theme
|
|
19
|
-
as?:
|
|
18
|
+
theme?: import("@emotion/react").Theme;
|
|
19
|
+
as?: React.ElementType;
|
|
20
20
|
} & {
|
|
21
|
-
themeState:
|
|
21
|
+
themeState: "complete" | "incomplete";
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
export { StyledStepContainer, StyledStep, StyledSingleStepContainer, StyledSingleStep, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived' | 'primary-inverted' | 'success-inverted' | 'warning-inverted' | 'danger-inverted' | 'info-inverted' | 'archived-inverted';
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
|
-
|
|
2
|
+
type RadioIntent = 'light' | 'dark';
|
|
3
3
|
declare const Circle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
declare const InnerCircle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
12
|
}, {}, {
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
-
theme?: import("@emotion/react").Theme
|
|
17
|
-
as?:
|
|
16
|
+
theme?: import("@emotion/react").Theme;
|
|
17
|
+
as?: React.ElementType;
|
|
18
18
|
} & {
|
|
19
19
|
themeIntent: RadioIntent;
|
|
20
20
|
}, {}, {
|
|
21
21
|
ref?: import("react").Ref<View> | undefined;
|
|
22
22
|
}>;
|
|
23
23
|
declare const StyledRadio: import("@emotion/native").StyledComponent<import("../List/ListItem").ListItemProps & {
|
|
24
|
-
theme?: import("@emotion/react").Theme
|
|
25
|
-
as?:
|
|
24
|
+
theme?: import("@emotion/react").Theme;
|
|
25
|
+
as?: React.ElementType;
|
|
26
26
|
} & {
|
|
27
27
|
themeIntent: RadioIntent;
|
|
28
28
|
themeChecked: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
declare const CompoundRadio: {
|
|
2
|
-
readonly Group: <T>({ value, onPress, options, keyExtractor, style, testID, inactiveIntent, }: import("./RadioGroup").RadioGroupProps<T>) => import("react").ReactElement
|
|
2
|
+
readonly Group: <T>({ value, onPress, options, keyExtractor, style, testID, inactiveIntent, }: import("./RadioGroup").RadioGroupProps<T>) => import("react").ReactElement;
|
|
3
3
|
};
|
|
4
4
|
export default CompoundRadio;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
}, {}, {}>;
|
|
6
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?:
|
|
7
|
+
theme?: import("@emotion/react").Theme;
|
|
8
|
+
as?: React.ElementType;
|
|
9
9
|
}, {}, {}>;
|
|
10
10
|
export { StyledWrapper, StyledIconWrapper };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RefreshControlProps as NativeRefreshControlProps } from 'react-native';
|
|
3
|
-
export
|
|
3
|
+
export type RefreshControlProps = Omit<NativeRefreshControlProps, 'colors' | 'tintColor'>;
|
|
4
4
|
declare const RefreshControl: ({ ...props }: RefreshControlProps) => React.JSX.Element;
|
|
5
5
|
export default RefreshControl;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
import { WebView } from 'react-native-webview';
|
|
3
3
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?: import("@emotion/react").Theme
|
|
5
|
-
as?:
|
|
4
|
+
theme?: import("@emotion/react").Theme;
|
|
5
|
+
as?: React.ElementType;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
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 & {
|
|
10
|
-
theme?: import("@emotion/react").Theme
|
|
11
|
-
as?:
|
|
10
|
+
theme?: import("@emotion/react").Theme;
|
|
11
|
+
as?: React.ElementType;
|
|
12
12
|
} & {
|
|
13
13
|
height: number | undefined;
|
|
14
14
|
}, {}, {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
2
|
export declare const StyledToolbarButton: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
3
|
-
theme?: import("@emotion/react").Theme
|
|
4
|
-
as?:
|
|
3
|
+
theme?: import("@emotion/react").Theme;
|
|
4
|
+
as?: React.ElementType;
|
|
5
5
|
} & {
|
|
6
6
|
selected: boolean;
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
export declare const StyledToolbar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?: import("@emotion/react").Theme
|
|
12
|
-
as?:
|
|
11
|
+
theme?: import("@emotion/react").Theme;
|
|
12
|
+
as?: React.ElementType;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
export declare const StyledSeparator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
17
|
-
theme?: import("@emotion/react").Theme
|
|
18
|
-
as?:
|
|
17
|
+
theme?: import("@emotion/react").Theme;
|
|
18
|
+
as?: React.ElementType;
|
|
19
19
|
}, {}, {
|
|
20
20
|
ref?: import("react").Ref<View> | undefined;
|
|
21
21
|
}>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ToolbarButtonName = 'bold' | 'italic' | 'underline' | 'bulletedList' | 'numberedList' | 'headingOne' | 'headingTwo' | '|';
|