@hero-design/rn 8.64.9-alpha.0 → 8.65.0-alpha.0
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 +6 -0
- package/es/index.js +17536 -17420
- package/lib/index.js +18073 -17960
- package/package.json +13 -15
- package/{rollup.config.js → rollup.config.mjs} +5 -3
- package/src/components/BottomNavigation/index.tsx +0 -4
- package/src/components/PinInput/StyledPinInput.tsx +0 -1
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +30 -5
- package/src/components/PinInput/__tests__/index.spec.tsx +23 -11
- package/src/components/PinInput/index.tsx +11 -5
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
- package/stats/8.65.0/rn-stats.html +4842 -0
- package/tsconfig.json +2 -3
- package/tsconfig.rollup.json +27 -0
- package/types/components/Accordion/StyledAccordion.d.ts +5 -5
- package/types/components/Alert/StyledAlert.d.ts +5 -5
- package/types/components/Attachment/StyledAttachment.d.ts +4 -4
- package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +3 -3
- package/types/components/Avatar/StyledAvatar.d.ts +4 -4
- package/types/components/Badge/StyledBadge.d.ts +3 -3
- package/types/components/Badge/types.d.ts +53 -0
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +7 -7
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -8
- package/types/components/Box/StyledBox.d.ts +1 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +2 -3
- package/types/components/Button/StyledButton.d.ts +5 -6
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -3
- package/types/components/Calendar/StyledCalendar.d.ts +8 -8
- package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -2
- package/types/components/Card/StyledCard.d.ts +1 -1
- package/types/components/Carousel/StyledCardCarousel.d.ts +4 -4
- package/types/components/Carousel/StyledCarousel.d.ts +9 -9
- package/types/components/Checkbox/StyledCheckbox.d.ts +5 -5
- package/types/components/Chip/StyledChip.d.ts +4 -4
- package/types/components/Collapse/StyledCollapse.d.ts +3 -3
- package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +31 -0
- package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +60 -0
- package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +40 -0
- package/types/components/CompoundSearch/index.d.ts +8 -0
- package/types/components/CompoundSearch/utils.d.ts +8 -0
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +1 -1
- package/types/components/Divider/StyledDivider.d.ts +1 -1
- package/types/components/Drawer/StyledDrawer.d.ts +7 -7
- package/types/components/Empty/StyledEmpty.d.ts +3 -3
- package/types/components/Error/StyledError.d.ts +10 -10
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +5 -5
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
- package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
- package/types/components/FAB/Pair/index.d.ts +16 -0
- package/types/components/FAB/StyledFAB.d.ts +4 -4
- package/types/components/Icon/HeroIcon/index.d.ts +1 -1
- package/types/components/List/StyledBasicListItem.d.ts +4 -4
- package/types/components/List/StyledListItem.d.ts +7 -7
- package/types/components/MapPin/Focussed.d.ts +13 -0
- package/types/components/MapPin/StyledMapPin.d.ts +32 -0
- package/types/components/MapPin/index.d.ts +5 -0
- package/types/components/MapPin/types.d.ts +38 -0
- package/types/components/PageControl/StyledPageControl.d.ts +2 -2
- package/types/components/PinInput/StyledPinInput.d.ts +10 -10
- package/types/components/Progress/ProgressStep.d.ts +20 -0
- package/types/components/Progress/StyledProgressBar.d.ts +2 -2
- package/types/components/Progress/StyledProgressCircle.d.ts +6 -6
- package/types/components/Progress/StyledStep.d.ts +23 -0
- package/types/components/Radio/StyledRadio.d.ts +4 -4
- package/types/components/Rate/StyledRate.d.ts +2 -2
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -2
- package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -3
- package/types/components/Search/SearchOneLine.d.ts +65 -0
- package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
- package/types/components/Search/SearchTwoLine.d.ts +36 -0
- package/types/components/Search/StyledSearch.d.ts +49 -0
- package/types/components/Search/index.d.ts +10 -0
- package/types/components/Search/utils.d.ts +8 -0
- package/types/components/SectionHeading/StyledHeading.d.ts +3 -3
- package/types/components/Select/StyledSelect.d.ts +3 -3
- package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
- package/types/components/Spinner/StyledSpinner.d.ts +4 -4
- package/types/components/Success/StyledSuccess.d.ts +9 -9
- package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -4
- package/types/components/Switch/StyledSwitch.d.ts +2 -2
- package/types/components/Tabs/StyledScrollableTabs.d.ts +8 -8
- package/types/components/Tabs/StyledTabs.d.ts +7 -7
- package/types/components/Tag/StyledTag.d.ts +2 -2
- package/types/components/TextInput/StyledTextInput.d.ts +13 -13
- package/types/components/TimePicker/StyledTimePicker.d.ts +1 -1
- package/types/components/Toast/StyledToast.d.ts +6 -6
- package/types/components/Toolbar/StyledToolbar.d.ts +5 -5
- package/types/components/Typography/Body/StyledBody.d.ts +1 -1
- package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
- package/types/components/Typography/Label/StyledLabel.d.ts +1 -1
- package/types/components/Typography/Text/StyledText.d.ts +1 -1
- package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
- package/types/theme/components/compoundSearch.d.ts +36 -0
- package/types/theme/components/mapPin.d.ts +40 -0
- package/types/theme/components/search.d.ts +64 -0
- package/types/theme/global/colors/swagLight.d.ts +3 -0
- package/types/theme/global/colors/swagLightGlobal.d.ts +3 -0
- package/types/theme/global/colors/swagLightJobs.d.ts +47 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { View, ImageResizeMode } from 'react-native';
|
|
2
2
|
declare const StyledBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?:
|
|
3
|
+
theme?: any;
|
|
4
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
} & {
|
|
6
6
|
themeSlideBackground: string;
|
|
@@ -8,21 +8,21 @@ declare const StyledBackDrop: import("@emotion/native").StyledComponent<import("
|
|
|
8
8
|
ref?: import("react").Ref<View> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
declare const StyledCarouselView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
11
|
-
theme?:
|
|
11
|
+
theme?: any;
|
|
12
12
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
}, {}, {
|
|
14
14
|
ref?: import("react").Ref<View> | undefined;
|
|
15
15
|
}>;
|
|
16
16
|
declare const StyledCarouselHeading: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
17
|
-
theme?:
|
|
17
|
+
theme?: any;
|
|
18
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
declare const StyledCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
21
|
-
theme?:
|
|
21
|
+
theme?: any;
|
|
22
22
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
23
23
|
}, {}, {}>;
|
|
24
24
|
declare const StyledCustomSizeCarouselImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
25
|
-
theme?:
|
|
25
|
+
theme?: any;
|
|
26
26
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
27
27
|
} & {
|
|
28
28
|
themeHeight?: number | `${number}%` | undefined;
|
|
@@ -30,23 +30,23 @@ declare const StyledCustomSizeCarouselImage: import("@emotion/native").StyledCom
|
|
|
30
30
|
themeResizeMode?: ImageResizeMode | undefined;
|
|
31
31
|
}, {}, {}>;
|
|
32
32
|
declare const StyledCarouselContentWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
33
|
-
theme?:
|
|
33
|
+
theme?: any;
|
|
34
34
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
35
35
|
} & {
|
|
36
36
|
width: number;
|
|
37
37
|
}, {}, {}>;
|
|
38
38
|
declare const StyledCarouselFooterWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
39
|
-
theme?:
|
|
39
|
+
theme?: any;
|
|
40
40
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
41
41
|
}, {}, {
|
|
42
42
|
ref?: import("react").Ref<View> | undefined;
|
|
43
43
|
}>;
|
|
44
44
|
declare const StyledPageControl: import("@emotion/native").StyledComponent<import("../PageControl").PageControlProps & {
|
|
45
|
-
theme?:
|
|
45
|
+
theme?: any;
|
|
46
46
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
47
47
|
}, {}, {}>;
|
|
48
48
|
declare const StyledPageControlWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
49
|
-
theme?:
|
|
49
|
+
theme?: any;
|
|
50
50
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
51
51
|
}, {}, {
|
|
52
52
|
ref?: import("react").Ref<View> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TouchableOpacity, View } from 'react-native';
|
|
2
2
|
declare type CheckboxThemeState = 'default' | 'disabled' | 'readonly';
|
|
3
3
|
export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
themeState: CheckboxThemeState;
|
|
@@ -9,17 +9,17 @@ export declare const StyledWrapper: import("@emotion/native").StyledComponent<im
|
|
|
9
9
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
10
10
|
}>;
|
|
11
11
|
export declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
12
|
-
theme?:
|
|
12
|
+
theme?: any;
|
|
13
13
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
export declare const StyledCheckboxContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
-
theme?:
|
|
16
|
+
theme?: any;
|
|
17
17
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
}, {}, {
|
|
19
19
|
ref?: import("react").Ref<View> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
export declare const StyledCheckbox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
-
theme?:
|
|
22
|
+
theme?: any;
|
|
23
23
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
} & {
|
|
25
25
|
themeState: CheckboxThemeState;
|
|
@@ -27,7 +27,7 @@ export declare const StyledCheckbox: import("@emotion/native").StyledComponent<i
|
|
|
27
27
|
ref?: import("react").Ref<View> | undefined;
|
|
28
28
|
}>;
|
|
29
29
|
export declare const StyledCheckMark: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
30
|
-
theme?:
|
|
30
|
+
theme?: any;
|
|
31
31
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
themeState: CheckboxThemeState;
|
|
@@ -4,24 +4,24 @@ declare type StyledChipWrapperProps = {
|
|
|
4
4
|
themeSelected?: boolean;
|
|
5
5
|
};
|
|
6
6
|
declare const StyledChipWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
|
|
7
|
-
theme?:
|
|
7
|
+
theme?: any;
|
|
8
8
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
9
|
} & StyledChipWrapperProps, {}, {
|
|
10
10
|
ref?: import("react").Ref<TouchableOpacity> | undefined;
|
|
11
11
|
}>;
|
|
12
12
|
declare const StyledIconWrapper: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
|
|
13
|
-
theme?:
|
|
13
|
+
theme?: any;
|
|
14
14
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
15
15
|
}, {}, {}>;
|
|
16
16
|
declare const StyledLabel: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
17
|
-
theme?:
|
|
17
|
+
theme?: any;
|
|
18
18
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
19
19
|
} & {
|
|
20
20
|
themeSelected?: boolean | undefined;
|
|
21
21
|
themeVariant?: "filled" | "outlined" | undefined;
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
declare const StyledIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
|
|
24
|
-
theme?:
|
|
24
|
+
theme?: any;
|
|
25
25
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
themeSelected?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
|
|
3
|
-
theme?:
|
|
3
|
+
theme?: any;
|
|
4
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
/**
|
|
@@ -9,13 +9,13 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<Animated.
|
|
|
9
9
|
* to use with Animated.timing
|
|
10
10
|
*/
|
|
11
11
|
declare const StyledHiddenWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
12
|
-
theme?:
|
|
12
|
+
theme?: any;
|
|
13
13
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
}, {}, {
|
|
15
15
|
ref?: import("react").Ref<View> | undefined;
|
|
16
16
|
}>;
|
|
17
17
|
declare const StyledChildWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
-
theme?:
|
|
18
|
+
theme?: any;
|
|
19
19
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
20
|
}, {}, {
|
|
21
21
|
ref?: import("react").Ref<View> | undefined;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { StyleProp, ViewStyle } from 'react-native';
|
|
3
|
+
import { IconName } from '../Icon';
|
|
4
|
+
interface CompoundSearchHandlerProps {
|
|
5
|
+
/**
|
|
6
|
+
* Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
|
|
7
|
+
*/
|
|
8
|
+
prefix?: IconName | React.ReactElement;
|
|
9
|
+
/**
|
|
10
|
+
* Name of Icon or ReactElement to render on the right side of the input.
|
|
11
|
+
*/
|
|
12
|
+
suffix?: IconName | React.ReactElement;
|
|
13
|
+
/**
|
|
14
|
+
* Additional wrapper style.
|
|
15
|
+
*/
|
|
16
|
+
style?: StyleProp<ViewStyle>;
|
|
17
|
+
/**
|
|
18
|
+
* Label of the Input handler.
|
|
19
|
+
*/
|
|
20
|
+
label: React.ReactNode;
|
|
21
|
+
/**
|
|
22
|
+
* Content of the Input handler.
|
|
23
|
+
*/
|
|
24
|
+
content: React.ReactNode;
|
|
25
|
+
/**
|
|
26
|
+
* Testing id of the component.
|
|
27
|
+
*/
|
|
28
|
+
testID?: string;
|
|
29
|
+
}
|
|
30
|
+
declare const CompoundSearchHandler: (props: CompoundSearchHandlerProps) => React.JSX.Element;
|
|
31
|
+
export default CompoundSearchHandler;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { TextInputProps as NativeTextInputProps, TextInput as RNTextInput, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
|
3
|
+
import { State } from './StyledCompoundSearch';
|
|
4
|
+
import { IconName } from '../Icon';
|
|
5
|
+
export declare type CompoundSearchTextInputHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
|
|
6
|
+
interface CompoundSearchTextInputProps extends NativeTextInputProps {
|
|
7
|
+
/**
|
|
8
|
+
* Name of Icon or ReactElement to render on the left side of the input, before the user's cursor.
|
|
9
|
+
*/
|
|
10
|
+
prefix?: IconName | React.ReactElement;
|
|
11
|
+
/**
|
|
12
|
+
* Name of Icon or ReactElement to render on the right side of the input.
|
|
13
|
+
*/
|
|
14
|
+
suffix?: IconName | React.ReactElement;
|
|
15
|
+
/**
|
|
16
|
+
* Additional wrapper style.
|
|
17
|
+
*/
|
|
18
|
+
style?: StyleProp<ViewStyle>;
|
|
19
|
+
/**
|
|
20
|
+
* Input text style.
|
|
21
|
+
*/
|
|
22
|
+
textStyle?: StyleProp<TextStyle>;
|
|
23
|
+
/**
|
|
24
|
+
* Testing id of the component.
|
|
25
|
+
*/
|
|
26
|
+
testID?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Accessibility label for the input (Android).
|
|
29
|
+
*/
|
|
30
|
+
accessibilityLabelledBy?: string;
|
|
31
|
+
/**
|
|
32
|
+
* Placeholder text to display.
|
|
33
|
+
* */
|
|
34
|
+
placeholder?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Whether the input is editable.
|
|
37
|
+
* */
|
|
38
|
+
editable?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the input is disabled.
|
|
41
|
+
*/
|
|
42
|
+
disabled?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* The max length of the input.
|
|
45
|
+
* If the max length is set, the input will display the current length and the max length.
|
|
46
|
+
* */
|
|
47
|
+
maxLength?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to hide the character count.
|
|
50
|
+
* */
|
|
51
|
+
renderInputValue?: (inputProps: NativeTextInputProps) => React.ReactNode;
|
|
52
|
+
}
|
|
53
|
+
export declare const getState: ({ disabled, editable, isEmptyValue, }: {
|
|
54
|
+
disabled?: boolean | undefined;
|
|
55
|
+
editable?: boolean | undefined;
|
|
56
|
+
isFocused?: boolean | undefined;
|
|
57
|
+
isEmptyValue?: boolean | undefined;
|
|
58
|
+
}) => State;
|
|
59
|
+
declare const CompoundSearchTextInput: React.ForwardRefExoticComponent<CompoundSearchTextInputProps & React.RefAttributes<CompoundSearchTextInputHandles>>;
|
|
60
|
+
export default CompoundSearchTextInput;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { TextInput, View } from 'react-native';
|
|
2
|
+
export declare type State = 'default' | 'filled' | 'disabled' | 'readonly';
|
|
3
|
+
export declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
5
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
|
+
}, {}, {
|
|
7
|
+
ref?: import("react").Ref<View> | undefined;
|
|
8
|
+
}>;
|
|
9
|
+
export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
themeFocused: boolean;
|
|
14
|
+
}, {}, {
|
|
15
|
+
ref?: import("react").Ref<View> | undefined;
|
|
16
|
+
}>;
|
|
17
|
+
export declare const StyledAffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
|
+
}, {}, {
|
|
21
|
+
ref?: import("react").Ref<View> | undefined;
|
|
22
|
+
}>;
|
|
23
|
+
export declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
24
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
|
+
}, {}, {
|
|
27
|
+
ref?: import("react").Ref<View> | undefined;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const StyledInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
|
+
}, {}, {
|
|
33
|
+
ref?: import("react").Ref<TextInput> | undefined;
|
|
34
|
+
}>;
|
|
35
|
+
export declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
37
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
|
+
}, {}, {
|
|
39
|
+
ref?: import("react").Ref<View> | undefined;
|
|
40
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import CompoundSearchHandler from './CompoundSearchHandler';
|
|
2
|
+
import CompoundSearchTextInput from './CompoundSearchTextInput';
|
|
3
|
+
declare type CompoundSearchType = {
|
|
4
|
+
TextInput: typeof CompoundSearchTextInput;
|
|
5
|
+
Handler: typeof CompoundSearchHandler;
|
|
6
|
+
};
|
|
7
|
+
declare const CompoundSearch: CompoundSearchType;
|
|
8
|
+
export default CompoundSearch;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconName } from '../Icon';
|
|
3
|
+
export declare const renderPrefix: ({ prefix, }: {
|
|
4
|
+
prefix?: "number" | React.ReactElement<any, string | React.JSXElementConstructor<any>> | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "directory" | "document" | "feed" | "list" | "billing" | "home" | "user" | "send" | "file" | "loading" | "sync" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "bolt" | "bookmark-added" | "bookmark" | "box-check" | "box" | "bpay" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "exclude" | "expand-content" | "expense" | "explore_nearby" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "hero-points" | "import" | "incident-siren" | "instapay-daily" | "instapay-now" | "instapay" | "loading-2" | "location-on" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "money-notes" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "near-me" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane-up" | "plane" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "salary-sacrifice" | "save" | "schedule-send" | "schedule" | "search-person" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-circle" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "surfing" | "survey" | "swag-pillar-benefit" | "swag-pillar-career" | "swag-pillar-money" | "swag-pillar-work" | "swipe-right" | "tag" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "ai-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "application-outlined" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "article-outlined" | "at-sign" | "auto-graph-outlined" | "beer-outlined" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "bill-management-outlined" | "billing-outlined" | "body-outlined" | "bolt-outlined" | "book-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "call-outlined" | "call-split-outlined" | "camera-outlined" | "cancel" | "car-forward-outlined" | "cashback-outlined" | "charging-station-outlined" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-in-outlined" | "clock-out-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "coin-super-outlined" | "comment-outlined" | "contacts-outlined" | "contacts-user-outlined" | "credit-card-outlined" | "cup-outlined" | "dentistry-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-box-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-credit-card-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-box-outlined" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "envelope-outlined" | "expense-approval-outlined" | "expense-outlined" | "explore-outlined" | "extension-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "fastfood-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-certified-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-statutory-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "hand-holding-user-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "job-search-outlined" | "leave-approval-outlined" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "local_mall_outlined" | "location-on-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "mail-outlined" | "map-outlined" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "overview-outlined" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "propane-tank-outlined" | "qr-code-outlined" | "qualification-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "resume-outlined" | "return-arrow" | "rostering-outlined" | "safety-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined-2" | "share-outlined" | "shopping_basket_outlined" | "show-chart-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "smart-match-outlined" | "sparkle-outlined" | "speaker-active-outlined" | "speaker-outlined" | "star-circle-outlined" | "star-outlined" | "start-break-outlined" | "stash-outlined" | "stopwatch-outlined" | "strikethrough" | "styler-outlined" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailability-outlined" | "unavailable" | "underline" | "union-outlined" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "volunteer-outlined" | "wallet-outlined" | "wellness-outlined" | undefined;
|
|
5
|
+
}) => React.JSX.Element | undefined;
|
|
6
|
+
export declare const renderSuffix: ({ suffix, }: {
|
|
7
|
+
suffix?: "number" | React.ReactElement<any, string | React.JSXElementConstructor<any>> | "swag" | "wallet" | "bold" | "menu" | "filter" | "image" | "switch" | "target" | "restart" | "directory" | "document" | "feed" | "list" | "billing" | "home" | "user" | "send" | "file" | "loading" | "sync" | "warning" | "activate" | "add-emoji" | "add-person" | "adjustment" | "alignment" | "antenna" | "archive" | "assignment-warning" | "bank" | "bell" | "bolt" | "bookmark-added" | "bookmark" | "box-check" | "box" | "bpay" | "buildings" | "cake" | "calendar-clock" | "calendar" | "candy-box-menu" | "caret-down-small" | "caret-down" | "caret-left-small" | "caret-left" | "caret-right-small" | "caret-right" | "caret-up-small" | "caret-up" | "check-radio" | "circle-add" | "circle-cancel" | "circle-check" | "circle-down" | "circle-info" | "circle-left" | "circle-ok" | "circle-pencil" | "circle-question" | "circle-remove" | "circle-right" | "circle-up" | "circle-warning" | "clock-3" | "clock" | "cloud-download" | "cloud-upload" | "cog" | "coin" | "contacts" | "credit-card" | "diamond" | "direction-arrows" | "dollar-coin-shine" | "double-buildings" | "edit-template" | "envelope" | "exclude" | "expand-content" | "expense" | "explore_nearby" | "eye-circle" | "eye-invisible" | "eye" | "face-meh" | "face-sad" | "face-smiley" | "feedbacks" | "file-certified" | "file-clone" | "file-copy" | "file-csv" | "file-dispose" | "file-doc" | "file-excel" | "file-export" | "file-lock" | "file-pdf" | "file-powerpoint" | "file-search" | "file-secured" | "file-sheets" | "file-slide" | "file-verified" | "file-word" | "folder-user" | "folder" | "format-bold" | "format-heading1" | "format-heading2" | "format-italic" | "format-list-bulleted" | "format-list-numbered" | "format-underlined" | "funnel-filter" | "global-dollar" | "globe" | "graduation-cap" | "graph" | "happy-sun" | "health-bag" | "heart" | "hero-points" | "import" | "incident-siren" | "instapay-daily" | "instapay-now" | "instapay" | "loading-2" | "location-on" | "location" | "lock" | "looks-one" | "looks-two" | "media-content" | "money-notes" | "moneybag" | "moon" | "multiple-stars" | "multiple-users" | "near-me" | "node" | "open-folder" | "paperclip" | "payment-summary" | "pencil" | "phone" | "piggy-bank" | "plane-up" | "plane" | "play-circle" | "print" | "raising-hands" | "reply-arrow" | "reply" | "reschedule" | "rostering" | "salary-sacrifice" | "save" | "schedule-send" | "schedule" | "search-person" | "speaker-active" | "speaker" | "star-award" | "star-badge" | "star-circle" | "star-medal" | "star" | "steps-circle" | "stopwatch" | "suitcase" | "surfing" | "survey" | "swag-pillar-benefit" | "swag-pillar-career" | "swag-pillar-money" | "swag-pillar-work" | "swipe-right" | "tag" | "teams" | "timesheet" | "touch-id" | "trash-bin" | "unlock" | "video-1" | "video-2" | "activate-outlined" | "add-credit-card-outlined" | "add-person-outlined" | "add-section-outlined" | "add-time-outlined" | "add" | "adjustment-outlined" | "ai-outlined" | "alignment-2-outlined" | "alignment-outlined" | "all-caps" | "application-outlined" | "arrow-down" | "arrow-downwards" | "arrow-left" | "arrow-leftwards" | "arrow-right" | "arrow-rightwards" | "arrow-up" | "arrow-upwards" | "article-outlined" | "at-sign" | "auto-graph-outlined" | "beer-outlined" | "bell-active-outlined" | "bell-outlined" | "bell-slash-outlined" | "bill-management-outlined" | "billing-outlined" | "body-outlined" | "bolt-outlined" | "book-outlined" | "bookmark-added-outlined" | "bookmark-outlined" | "box-check-outlined" | "box-outlined" | "bullet-points" | "cake-outlined" | "calendar-dates-outlined" | "calendar-star-outlined" | "call-outlined" | "call-split-outlined" | "camera-outlined" | "cancel" | "car-forward-outlined" | "cashback-outlined" | "charging-station-outlined" | "chat-bubble-outlined" | "chat-unread-outlined" | "checkmark" | "circle-add-outlined" | "circle-cancel-outlined" | "circle-down-outlined" | "circle-info-outlined" | "circle-left-outlined" | "circle-ok-outlined" | "circle-question-outlined" | "circle-remove-outlined" | "circle-right-outlined" | "circle-up-outlined" | "circle-warning-outlined" | "clock-2-outlined" | "clock-in-outlined" | "clock-out-outlined" | "clock-outlined" | "cog-outlined" | "coin-outlined" | "coin-super-outlined" | "comment-outlined" | "contacts-outlined" | "contacts-user-outlined" | "credit-card-outlined" | "cup-outlined" | "dentistry-outlined" | "direction-arrows-outlined" | "directory-outlined" | "document-outlined" | "dollar-box-outlined" | "dollar-card-outlined" | "dollar-coin-shine-outlined" | "dollar-credit-card-outlined" | "dollar-sign" | "double-buildings-outlined" | "double-left-arrows" | "double-right-arrows" | "download-box-outlined" | "download-outlined" | "edit-template-outlined" | "email-outlined" | "end-break-outlined" | "enter-arrow" | "envelope-outlined" | "expense-approval-outlined" | "expense-outlined" | "explore-outlined" | "extension-outlined" | "external-link" | "eye-invisible-outlined" | "eye-outlined" | "face-id" | "face-meh-outlined" | "face-open-smiley-outlined" | "face-sad-outlined" | "face-smiley-outlined" | "fastfood-outlined" | "feed-outlined" | "file-certified-outlined" | "file-clone-outlined" | "file-copy-outlined" | "file-dispose-outlined" | "file-dollar-certified-outlined" | "file-dollar-outlined" | "file-download-outlined" | "file-export-outlined" | "file-lock-outlined" | "file-outlined" | "file-search-outlined" | "file-secured-outlined" | "file-statutory-outlined" | "file-verified-outlined" | "filter-outlined" | "folder-outlined" | "folder-user-outlined" | "form-outlined" | "funnel-filter-outline" | "goal-outlined" | "graph-outlined" | "hand-holding-user-outlined" | "happy-sun-outlined" | "health-bag-outlined" | "heart-outlined" | "home-active-outlined" | "home-outlined" | "id-card-outlined" | "image-outlined" | "import-outlined" | "instapay-outlined" | "italic" | "job-search-outlined" | "leave-approval-outlined" | "link-1" | "link-2" | "list-outlined" | "live-help-outlined" | "local_mall_outlined" | "location-on-outlined" | "location-outlined" | "lock-outlined" | "locked-file-outlined" | "log-out" | "mail-outlined" | "map-outlined" | "media-content-outlined" | "menu-close" | "menu-expand" | "menu-fold-outlined" | "menu-unfold-outlined" | "moneybag-outlined" | "moon-outlined" | "more-horizontal" | "more-vertical" | "multiple-folders-outlined" | "multiple-users-outlined" | "near-me-outlined" | "node-outlined" | "number-points" | "overview-outlined" | "payment-summary-outlined" | "payslip-outlined" | "pencil-outlined" | "percentage" | "phone-outlined" | "piggy-bank-outlined" | "plane-outlined" | "play-circle-outlined" | "print-outlined" | "propane-tank-outlined" | "qr-code-outlined" | "qualification-outlined" | "re-assign" | "redeem" | "refresh" | "remove" | "reply-outlined" | "resume-outlined" | "return-arrow" | "rostering-outlined" | "safety-outlined" | "save-outlined" | "schedule-outlined" | "search-outlined" | "search-secured-outlined" | "send-outlined" | "share-1" | "share-2" | "share-outlined-2" | "share-outlined" | "shopping_basket_outlined" | "show-chart-outlined" | "single-down-arrow" | "single-left-arrow" | "single-right-arrow" | "single-up-arrow" | "smart-match-outlined" | "sparkle-outlined" | "speaker-active-outlined" | "speaker-outlined" | "star-circle-outlined" | "star-outlined" | "start-break-outlined" | "stash-outlined" | "stopwatch-outlined" | "strikethrough" | "styler-outlined" | "suitcase-clock-outlined" | "suitcase-outlined" | "survey-outlined" | "switch-outlined" | "tag-outlined" | "target-outlined" | "tennis-outlined" | "ticket-outlined" | "timesheet-outlined" | "timesheets-outlined" | "today-outlined" | "transfer" | "trash-bin-outlined" | "umbrela-outlined" | "unavailability-outlined" | "unavailable" | "underline" | "union-outlined" | "unlock-outlined" | "upload-outlined" | "user-circle-outlined" | "user-gear-outlined" | "user-outlined" | "user-rectangle-outlined" | "video-1-outlined" | "video-2-outlined" | "volunteer-outlined" | "wallet-outlined" | "wellness-outlined" | undefined;
|
|
8
|
+
}) => React.JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare const Wrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
3
|
-
theme?:
|
|
3
|
+
theme?: any;
|
|
4
4
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
5
|
}, {}, {
|
|
6
6
|
ref?: import("react").Ref<View> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
declare const StyledPickerWrapper: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare type MarginSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
3
|
declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
themeMarginHorizontal?: MarginSize | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
} & {
|
|
7
7
|
enableShadow: boolean;
|
|
@@ -9,7 +9,7 @@ declare const StyledContainer: import("@emotion/native").StyledComponent<ViewPro
|
|
|
9
9
|
ref?: import("react").Ref<View> | undefined;
|
|
10
10
|
}>;
|
|
11
11
|
declare const StyledDragableContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
12
|
-
theme?:
|
|
12
|
+
theme?: any;
|
|
13
13
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
14
14
|
} & {
|
|
15
15
|
enableShadow: boolean;
|
|
@@ -17,29 +17,29 @@ declare const StyledDragableContainer: import("@emotion/native").StyledComponent
|
|
|
17
17
|
ref?: import("react").Ref<View> | undefined;
|
|
18
18
|
}>;
|
|
19
19
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
20
|
-
theme?:
|
|
20
|
+
theme?: any;
|
|
21
21
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
declare const StyledDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
24
|
-
theme?:
|
|
24
|
+
theme?: any;
|
|
25
25
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
} & {
|
|
27
27
|
enableShadow: boolean;
|
|
28
28
|
}, {}, {}>;
|
|
29
29
|
declare const StyledDragableDrawerContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
30
|
-
theme?:
|
|
30
|
+
theme?: any;
|
|
31
31
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
32
|
} & {
|
|
33
33
|
enableShadow: boolean;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare const StyledHandlerContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
36
|
-
theme?:
|
|
36
|
+
theme?: any;
|
|
37
37
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
38
|
}, {}, {
|
|
39
39
|
ref?: import("react").Ref<View> | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
declare const StyledHandler: import("@emotion/native").StyledComponent<ViewProps & {
|
|
42
|
-
theme?:
|
|
42
|
+
theme?: any;
|
|
43
43
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
44
44
|
} & {
|
|
45
45
|
active?: boolean | undefined;
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare type ThemeVariant = 'light' | 'dark';
|
|
3
3
|
declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
declare const StyledTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
10
|
-
theme?:
|
|
10
|
+
theme?: any;
|
|
11
11
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
12
|
} & {
|
|
13
13
|
themeVariant: ThemeVariant;
|
|
14
14
|
}, {}, {}>;
|
|
15
15
|
declare const StyledDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
16
|
-
theme?:
|
|
16
|
+
theme?: any;
|
|
17
17
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
} & {
|
|
19
19
|
themeVariant: ThemeVariant;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { View } from 'react-native';
|
|
2
2
|
declare type ErrorVariant = 'full-screen' | 'in-page';
|
|
3
3
|
declare const StyledErrorModal: import("@emotion/native").StyledComponent<import("../Modal").ModalProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, {}, {}>;
|
|
7
7
|
declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
8
|
-
theme?:
|
|
8
|
+
theme?: any;
|
|
9
9
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
10
10
|
} & {
|
|
11
11
|
themeVariant: ErrorVariant;
|
|
@@ -13,41 +13,41 @@ declare const StyledErrorContainer: import("@emotion/native").StyledComponent<im
|
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const StyledErrorContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
16
|
-
theme?:
|
|
16
|
+
theme?: any;
|
|
17
17
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
}, {}, {
|
|
19
19
|
ref?: import("react").Ref<View> | undefined;
|
|
20
20
|
}>;
|
|
21
21
|
declare const StyledErrorButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
22
|
-
theme?:
|
|
22
|
+
theme?: any;
|
|
23
23
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
24
|
}, {}, {
|
|
25
25
|
ref?: import("react").Ref<View> | undefined;
|
|
26
26
|
}>;
|
|
27
27
|
declare const StyledErrorButtonPrimary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
28
|
-
theme?:
|
|
28
|
+
theme?: any;
|
|
29
29
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
30
30
|
}, {}, {}>;
|
|
31
31
|
declare const StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<import("../Button/Button").ButtonProps & {
|
|
32
|
-
theme?:
|
|
32
|
+
theme?: any;
|
|
33
33
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
34
34
|
}, {}, {}>;
|
|
35
35
|
declare const StyledErrorImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
|
|
36
|
-
theme?:
|
|
36
|
+
theme?: any;
|
|
37
37
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
38
38
|
}, {}, {
|
|
39
39
|
ref?: import("react").Ref<View> | undefined;
|
|
40
40
|
}>;
|
|
41
41
|
declare const StyledErrorImage: import("@emotion/native").StyledComponent<import("../Image").ImageProps & {
|
|
42
|
-
theme?:
|
|
42
|
+
theme?: any;
|
|
43
43
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
44
44
|
}, {}, {}>;
|
|
45
45
|
declare const StyledErrorTitle: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
|
|
46
|
-
theme?:
|
|
46
|
+
theme?: any;
|
|
47
47
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
48
48
|
}, {}, {}>;
|
|
49
49
|
declare const StyledErrorDescription: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
|
|
50
|
-
theme?:
|
|
50
|
+
theme?: any;
|
|
51
51
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
52
52
|
}, {}, {}>;
|
|
53
53
|
export { ErrorVariant, StyledErrorModal, StyledErrorImage, StyledErrorContainer, StyledErrorButtonContainer, StyledErrorButtonPrimary, StyledErrorButtonSecondary, StyledErrorContent, StyledErrorTitle, StyledErrorDescription, StyledErrorImageContainer, };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { Animated, View } from 'react-native';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
declare const StyledContainer: import("@emotion/native").StyledComponent<ViewProps & {
|
|
4
|
-
theme?:
|
|
4
|
+
theme?: any;
|
|
5
5
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
6
6
|
}, {}, {
|
|
7
7
|
ref?: import("react").Ref<View> | undefined;
|
|
8
8
|
}>;
|
|
9
9
|
declare const StyledContainerInModal: import("@emotion/native").StyledComponent<ViewProps & {
|
|
10
|
-
theme?:
|
|
10
|
+
theme?: any;
|
|
11
11
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
12
|
}, {}, {
|
|
13
13
|
ref?: import("react").Ref<View> | undefined;
|
|
14
14
|
}>;
|
|
15
15
|
declare const StyledActionGroupContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<View>> & {
|
|
16
|
-
theme?:
|
|
16
|
+
theme?: any;
|
|
17
17
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
|
|
20
|
-
theme?:
|
|
20
|
+
theme?: any;
|
|
21
21
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
22
22
|
}, {}, {}>;
|
|
23
23
|
declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
|
|
24
|
-
theme?:
|
|
24
|
+
theme?: any;
|
|
25
25
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
26
26
|
}, {}, {}>;
|
|
27
27
|
export { StyledActionGroupContainer, StyledBackdrop, StyledContainer, StyledContainerInModal, StyledFAB, };
|
|
@@ -2,17 +2,17 @@ import { TouchableHighlight } from 'react-native';
|
|
|
2
2
|
import type { TouchableOpacityProps } from 'react-native';
|
|
3
3
|
import type { IconProps } from '../../Icon';
|
|
4
4
|
declare const StyledActionItem: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
|
|
5
|
-
theme?:
|
|
5
|
+
theme?: any;
|
|
6
6
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
7
7
|
}, {}, {
|
|
8
8
|
ref?: import("react").Ref<TouchableHighlight> | undefined;
|
|
9
9
|
}>;
|
|
10
10
|
declare const StyledActionItemText: import("@emotion/native").StyledComponent<import("../../Typography/Body").BodyProps & {
|
|
11
|
-
theme?:
|
|
11
|
+
theme?: any;
|
|
12
12
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
13
|
} & TouchableOpacityProps, {}, {}>;
|
|
14
14
|
declare const StyledIcon: import("@emotion/native").StyledComponent<IconProps & {
|
|
15
|
-
theme?:
|
|
15
|
+
theme?: any;
|
|
16
16
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
}, {}, {}>;
|
|
18
18
|
export { StyledIcon, StyledActionItem, StyledActionItemText };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const StyledFABPairWrapper: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
|
|
2
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
3
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
declare const StyledFAB: import("@emotion/native").StyledComponent<import("../FAB").FABProps & import("react").RefAttributes<import("../FAB").FABHandles> & {
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
iconOnly?: boolean | undefined;
|
|
10
|
+
isLast?: boolean | undefined;
|
|
11
|
+
}, {}, {}>;
|
|
12
|
+
export { StyledFABPairWrapper, StyledFAB };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ViewProps } from 'react-native';
|
|
3
|
+
import { FABProps } from '../FAB';
|
|
4
|
+
export declare type InnerFABProps = Pick<FABProps, 'icon' | 'title' | 'onPress' | 'testID'>;
|
|
5
|
+
export interface FABPairProps extends ViewProps {
|
|
6
|
+
/**
|
|
7
|
+
* Configuration for the main FAB.
|
|
8
|
+
*/
|
|
9
|
+
fabConfig: InnerFABProps;
|
|
10
|
+
/**
|
|
11
|
+
* Callback to be called when the cancel FAB is pressed.
|
|
12
|
+
*/
|
|
13
|
+
onCancel: () => void;
|
|
14
|
+
}
|
|
15
|
+
declare const Pair: ({ fabConfig, onCancel, ...props }: FABPairProps) => React.JSX.Element;
|
|
16
|
+
export default Pair;
|