@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.
Files changed (88) hide show
  1. package/es/index.js +42700 -929
  2. package/lib/index.js +44030 -0
  3. package/package.json +5 -5
  4. package/types/components/Accordion/StyledAccordion.d.ts +26 -12
  5. package/types/components/Alert/StyledAlert.d.ts +46 -17
  6. package/types/components/AppCue/StyledAppCue.d.ts +22 -9
  7. package/types/components/Attachment/StyledAttachment.d.ts +22 -9
  8. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +29 -8
  9. package/types/components/Avatar/StyledAvatar.d.ts +29 -10
  10. package/types/components/Badge/StyledBadge.d.ts +44 -17
  11. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +44 -15
  12. package/types/components/BottomSheet/StyledBottomSheet.d.ts +58 -33
  13. package/types/components/Box/StyledBox.d.ts +8 -2
  14. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +16 -4
  15. package/types/components/Button/StyledButton.d.ts +55 -17
  16. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +14 -8
  17. package/types/components/Calendar/StyledCalendar.d.ts +59 -23
  18. package/types/components/Card/DataCard/StyledDataCard.d.ts +18 -6
  19. package/types/components/Card/StyledCard.d.ts +9 -2
  20. package/types/components/Card/index.d.ts +5 -2
  21. package/types/components/Carousel/StyledCardCarousel.d.ts +24 -10
  22. package/types/components/Carousel/StyledCarousel.d.ts +53 -26
  23. package/types/components/Chart/ChartSelect/StyledChartSelect.d.ts +6 -2
  24. package/types/components/Chart/ColumnChart/StyledColumnChart.d.ts +6 -2
  25. package/types/components/Chart/StyledChart.d.ts +8 -6
  26. package/types/components/Checkbox/StyledDefaultCheckBox.d.ts +31 -13
  27. package/types/components/Checkbox/StyledInlineCheckBox.d.ts +43 -13
  28. package/types/components/Checkbox/utils.d.ts +1 -1
  29. package/types/components/Chip/StyledChip.d.ts +12 -6
  30. package/types/components/Collapse/StyledCollapse.d.ts +15 -7
  31. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +6 -2
  32. package/types/components/DatePicker/StyledDatePicker.d.ts +7 -2
  33. package/types/components/Divider/StyledDivider.d.ts +10 -2
  34. package/types/components/Drawer/StyledDrawer.d.ts +44 -17
  35. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +28 -16
  36. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +14 -9
  37. package/types/components/FAB/Pair/StyledFAB.d.ts +13 -6
  38. package/types/components/FAB/StyledFAB.d.ts +22 -12
  39. package/types/components/FilterTrigger/StyledFilterTrigger.d.ts +20 -9
  40. package/types/components/FloatingIsland/StyledFloatingIsland.d.ts +17 -11
  41. package/types/components/Icon/HeroIcon/index.d.ts +10 -2
  42. package/types/components/InlineLoader/StyledInlineLoader.d.ts +15 -4
  43. package/types/components/List/StyledBasicListItem.d.ts +23 -9
  44. package/types/components/List/StyledListGroup.d.ts +8 -2
  45. package/types/components/List/StyledListItem.d.ts +44 -15
  46. package/types/components/MapPin/StyledMapPin.d.ts +37 -17
  47. package/types/components/PageControl/StyledPageControl.d.ts +10 -5
  48. package/types/components/PinInput/StyledPinInput.d.ts +59 -23
  49. package/types/components/Portal/reducer.d.ts +3 -6
  50. package/types/components/Progress/SegmentedBar/StyledLegend.d.ts +18 -12
  51. package/types/components/Progress/SegmentedBar/StyledSegmentedBar.d.ts +19 -12
  52. package/types/components/Progress/StyledProgressBar.d.ts +16 -5
  53. package/types/components/Progress/StyledProgressCircle.d.ts +12 -4
  54. package/types/components/Progress/StyledStep.d.ts +22 -12
  55. package/types/components/Radio/StyledRadio.d.ts +26 -9
  56. package/types/components/Rate/StyledRate.d.ts +9 -6
  57. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -2
  58. package/types/components/RichTextEditor/StyledToolbar.d.ts +17 -7
  59. package/types/components/Search/StyledSearch.d.ts +42 -15
  60. package/types/components/SectionHeading/StyledHeading.d.ts +19 -6
  61. package/types/components/SectionList/StyledSectionList.d.ts +27 -9
  62. package/types/components/SegmentedControl/StyledSegmentedControl.d.ts +25 -15
  63. package/types/components/Select/StyledSelect.d.ts +16 -7
  64. package/types/components/Skeleton/StyledSkeleton.d.ts +15 -6
  65. package/types/components/Slider/StyledRangeSlider.d.ts +8 -2
  66. package/types/components/Spinner/StyledSpinner.d.ts +29 -8
  67. package/types/components/StatusScreens/Empty/StyledEmpty.d.ts +24 -10
  68. package/types/components/StatusScreens/Error/StyledError.d.ts +53 -30
  69. package/types/components/StatusScreens/Success/StyledSuccess.d.ts +53 -30
  70. package/types/components/Swipeable/StyledSwipeable.d.ts +6 -3
  71. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +18 -11
  72. package/types/components/Switch/StyledSwitch.d.ts +12 -5
  73. package/types/components/Tabs/StyledScrollableTabs.d.ts +59 -30
  74. package/types/components/Tabs/StyledTabs.d.ts +39 -13
  75. package/types/components/Tag/StyledTag.d.ts +22 -8
  76. package/types/components/TextInput/AssistiveInfoTrigger/StyledAssistiveInfoTrigger.d.ts +10 -5
  77. package/types/components/TextInput/StyledTextInput.d.ts +91 -33
  78. package/types/components/TextInput/index.d.ts +1 -1
  79. package/types/components/TimePicker/StyledTimePicker.d.ts +7 -2
  80. package/types/components/Toast/StyledToast.d.ts +56 -24
  81. package/types/components/Toolbar/StyledToolbar.d.ts +59 -25
  82. package/types/components/Typography/Body/StyledBody.d.ts +13 -2
  83. package/types/components/Typography/Caption/StyledCaption.d.ts +11 -2
  84. package/types/components/Typography/Label/StyledLabel.d.ts +11 -2
  85. package/types/components/Typography/Text/StyledText.d.ts +11 -2
  86. package/types/components/Typography/Title/StyledTitle.d.ts +13 -2
  87. package/types/index.d.ts +70 -8818
  88. package/types/testHelpers/renderWithTheme.d.ts +10 -11
@@ -1,32 +1,55 @@
1
+ import { View } from 'react-native';
1
2
  type ErrorVariant = 'full-screen' | 'in-page';
2
- declare const StyledErrorModal: import("@emotion/native").StyledComponent<any, {}, {
3
- ref?: React.Ref<InstanceType<C>>;
4
- }>;
5
- declare const StyledErrorContainer: import("@emotion/native").StyledComponent<any, {}, {
6
- ref?: React.Ref<InstanceType<C>>;
7
- }>;
8
- declare const StyledErrorContent: import("@emotion/native").StyledComponent<any, {}, {
9
- ref?: React.Ref<InstanceType<C>>;
10
- }>;
11
- declare const StyledErrorButtonContainer: import("@emotion/native").StyledComponent<any, {}, {
12
- ref?: React.Ref<InstanceType<C>>;
13
- }>;
14
- declare const StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<any, {}, {
15
- ref?: React.Ref<InstanceType<C>>;
16
- }>;
17
- declare const StyledErrorImageContainer: import("@emotion/native").StyledComponent<any, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
19
- }>;
20
- declare const StyledErrorIconContainer: import("@emotion/native").StyledComponent<any, {}, {
21
- ref?: React.Ref<InstanceType<C>>;
22
- }>;
23
- declare const StyledErrorImage: import("@emotion/native").StyledComponent<any, {}, {
24
- ref?: React.Ref<InstanceType<C>>;
25
- }>;
26
- declare const StyledErrorTitle: import("@emotion/native").StyledComponent<any, {}, {
27
- ref?: React.Ref<InstanceType<C>>;
28
- }>;
29
- declare const StyledErrorDescription: import("@emotion/native").StyledComponent<any, {}, {
30
- ref?: React.Ref<InstanceType<C>>;
31
- }>;
3
+ declare const StyledErrorModal: import("@emotion/native").StyledComponent<import("../../Modal").ModalProps & {
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
+ }, {}, {}>;
7
+ declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
10
+ } & {
11
+ themeVariant: ErrorVariant;
12
+ }, {}, {
13
+ ref?: import("react").Ref<View> | undefined;
14
+ }>;
15
+ declare const StyledErrorContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
18
+ }, {}, {
19
+ ref?: import("react").Ref<View> | undefined;
20
+ }>;
21
+ declare const StyledErrorButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
+ }, {}, {
25
+ ref?: import("react").Ref<View> | undefined;
26
+ }>;
27
+ declare const StyledErrorButtonSecondary: import("@emotion/native").StyledComponent<import("../../..").ButtonProps & {
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
+ }, {}, {}>;
31
+ declare const StyledErrorImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
32
+ theme?: import("@emotion/react").Theme;
33
+ as?: React.ElementType;
34
+ }, {}, {
35
+ ref?: import("react").Ref<View> | undefined;
36
+ }>;
37
+ declare const StyledErrorIconContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
38
+ theme?: import("@emotion/react").Theme;
39
+ as?: React.ElementType;
40
+ }, {}, {
41
+ ref?: import("react").Ref<View> | undefined;
42
+ }>;
43
+ declare const StyledErrorImage: import("@emotion/native").StyledComponent<import("../../Image").ImageProps & {
44
+ theme?: import("@emotion/react").Theme;
45
+ as?: React.ElementType;
46
+ }, {}, {}>;
47
+ declare const StyledErrorTitle: import("@emotion/native").StyledComponent<import("../../..").TitleProps & {
48
+ theme?: import("@emotion/react").Theme;
49
+ as?: React.ElementType;
50
+ }, {}, {}>;
51
+ declare const StyledErrorDescription: import("@emotion/native").StyledComponent<import("../../..").BodyProps & {
52
+ theme?: import("@emotion/react").Theme;
53
+ as?: React.ElementType;
54
+ }, {}, {}>;
32
55
  export { ErrorVariant, StyledErrorModal, StyledErrorImage, StyledErrorContainer, StyledErrorButtonContainer, StyledErrorButtonSecondary, StyledErrorContent, StyledErrorTitle, StyledErrorDescription, StyledErrorImageContainer, StyledErrorIconContainer, };
@@ -1,32 +1,55 @@
1
+ import { View } from 'react-native';
1
2
  type SuccessVariant = 'full-screen' | 'in-page';
2
- declare const StyledSuccessContainer: import("@emotion/native").StyledComponent<any, {}, {
3
- ref?: React.Ref<InstanceType<C>>;
4
- }>;
5
- declare const StyledSuccessImage: import("@emotion/native").StyledComponent<any, {}, {
6
- ref?: React.Ref<InstanceType<C>>;
7
- }>;
8
- declare const StyledSuccessContent: import("@emotion/native").StyledComponent<any, {}, {
9
- ref?: React.Ref<InstanceType<C>>;
10
- }>;
11
- declare const StyledSuccessImageContainer: import("@emotion/native").StyledComponent<any, {}, {
12
- ref?: React.Ref<InstanceType<C>>;
13
- }>;
14
- declare const StyledSuccessIconContainer: import("@emotion/native").StyledComponent<any, {}, {
15
- ref?: React.Ref<InstanceType<C>>;
16
- }>;
17
- declare const StyledSuccessTitle: import("@emotion/native").StyledComponent<any, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
19
- }>;
20
- declare const StyledSuccessDescription: import("@emotion/native").StyledComponent<any, {}, {
21
- ref?: React.Ref<InstanceType<C>>;
22
- }>;
23
- declare const StyledSuccessButtonContainer: import("@emotion/native").StyledComponent<any, {}, {
24
- ref?: React.Ref<InstanceType<C>>;
25
- }>;
26
- declare const StyledSuccessButtonSecondary: import("@emotion/native").StyledComponent<any, {}, {
27
- ref?: React.Ref<InstanceType<C>>;
28
- }>;
29
- declare const StyledSuccessModal: import("@emotion/native").StyledComponent<any, {}, {
30
- ref?: React.Ref<InstanceType<C>>;
31
- }>;
3
+ declare const StyledSuccessContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
+ } & {
7
+ themeVariant: SuccessVariant;
8
+ }, {}, {
9
+ ref?: import("react").Ref<View> | undefined;
10
+ }>;
11
+ declare const StyledSuccessImage: import("@emotion/native").StyledComponent<import("../../Image").ImageProps & {
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ }, {}, {}>;
15
+ declare const StyledSuccessContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
18
+ }, {}, {
19
+ ref?: import("react").Ref<View> | undefined;
20
+ }>;
21
+ declare const StyledSuccessImageContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
+ }, {}, {
25
+ ref?: import("react").Ref<View> | undefined;
26
+ }>;
27
+ declare const StyledSuccessIconContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
+ }, {}, {
31
+ ref?: import("react").Ref<View> | undefined;
32
+ }>;
33
+ declare const StyledSuccessTitle: import("@emotion/native").StyledComponent<import("../../..").TitleProps & {
34
+ theme?: import("@emotion/react").Theme;
35
+ as?: React.ElementType;
36
+ }, {}, {}>;
37
+ declare const StyledSuccessDescription: import("@emotion/native").StyledComponent<import("../../..").BodyProps & {
38
+ theme?: import("@emotion/react").Theme;
39
+ as?: React.ElementType;
40
+ }, {}, {}>;
41
+ declare const StyledSuccessButtonContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
42
+ theme?: import("@emotion/react").Theme;
43
+ as?: React.ElementType;
44
+ }, {}, {
45
+ ref?: import("react").Ref<View> | undefined;
46
+ }>;
47
+ declare const StyledSuccessButtonSecondary: import("@emotion/native").StyledComponent<import("../../..").ButtonProps & {
48
+ theme?: import("@emotion/react").Theme;
49
+ as?: React.ElementType;
50
+ }, {}, {}>;
51
+ declare const StyledSuccessModal: import("@emotion/native").StyledComponent<import("../../Modal").ModalProps & {
52
+ theme?: import("@emotion/react").Theme;
53
+ as?: React.ElementType;
54
+ }, {}, {}>;
32
55
  export { SuccessVariant, StyledSuccessImage, StyledSuccessContainer, StyledSuccessContent, StyledSuccessImageContainer, StyledSuccessIconContainer, StyledSuccessTitle, StyledSuccessDescription, StyledSuccessButtonContainer, StyledSuccessButtonSecondary, StyledSuccessModal, };
@@ -1,4 +1,7 @@
1
1
  export type ActionIntent = 'primary' | 'success' | 'danger';
2
- export declare const StyledRectButton: import("@emotion/native").StyledComponent<any, {}, {
3
- ref?: React.Ref<InstanceType<C>>;
4
- }>;
2
+ export declare const StyledRectButton: 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
+ themeIntent: ActionIntent;
7
+ }, {}, {}>;
@@ -1,12 +1,19 @@
1
- export declare const StyledWrapper: import("@emotion/native").StyledComponent<any, {}, {
2
- ref?: React.Ref<InstanceType<C>>;
3
- }>;
4
- export declare const StyledTextWrapper: import("@emotion/native").StyledComponent<any, {}, {
5
- ref?: React.Ref<InstanceType<C>>;
6
- }>;
7
- export declare const StyledIconWrapper: import("@emotion/native").StyledComponent<any, {}, {
8
- ref?: React.Ref<InstanceType<C>>;
9
- }>;
10
- export declare const StyledKnot: import("@emotion/native").StyledComponent<any, {}, {
11
- ref?: React.Ref<InstanceType<C>>;
1
+ import { View, Animated } 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;
12
7
  }>;
8
+ export declare const StyledTextWrapper: 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
+ }, {}, {}>;
12
+ export declare const StyledIconWrapper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
15
+ }, {}, {}>;
16
+ export declare const StyledKnot: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
17
+ theme?: import("@emotion/react").Theme;
18
+ as?: React.ElementType;
19
+ }, {}, {}>;
@@ -1,8 +1,15 @@
1
+ import { Animated, View } from 'react-native';
1
2
  export type Variant = 'checked' | 'unchecked' | 'disabled-checked' | 'disabled-unchecked';
2
- declare const StyledWrapper: import("@emotion/native").StyledComponent<any, {}, {
3
- ref?: React.Ref<InstanceType<C>>;
4
- }>;
5
- declare const StyledKnot: import("@emotion/native").StyledComponent<any, {}, {
6
- ref?: React.Ref<InstanceType<C>>;
3
+ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
+ } & {
7
+ themeVariant: Variant;
8
+ }, {}, {
9
+ ref?: import("react").Ref<View> | undefined;
7
10
  }>;
11
+ declare const StyledKnot: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ }, {}, {}>;
8
15
  export { StyledWrapper, StyledKnot };
@@ -1,31 +1,60 @@
1
- declare const TabScreen: import("@emotion/native").StyledComponent<any, {}, {
2
- ref?: React.Ref<InstanceType<C>>;
3
- }>;
4
- declare const TabContainer: import("@emotion/native").StyledComponent<any, {}, {
5
- ref?: React.Ref<InstanceType<C>>;
6
- }>;
7
- declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<any, {}, {
8
- ref?: React.Ref<InstanceType<C>>;
9
- }>;
10
- declare const HeaderTabItem: import("@emotion/native").StyledComponent<any, {}, {
11
- ref?: React.Ref<InstanceType<C>>;
12
- }>;
13
- declare const HeaderTabPillLeft: import("@emotion/native").StyledComponent<any, {}, {
14
- ref?: React.Ref<InstanceType<C>>;
15
- }>;
16
- declare const HeaderTabPillBody: import("@emotion/native").StyledComponent<any, {}, {
17
- ref?: React.Ref<InstanceType<C>>;
18
- }>;
19
- declare const HeaderTabPillRight: import("@emotion/native").StyledComponent<any, {}, {
20
- ref?: React.Ref<InstanceType<C>>;
21
- }>;
22
- declare const HeaderTabItemActiveBorder: import("@emotion/native").StyledComponent<any, {}, {
23
- ref?: React.Ref<InstanceType<C>>;
24
- }>;
25
- declare const HeaderTabItemWrapper: import("@emotion/native").StyledComponent<any, {}, {
26
- ref?: React.Ref<InstanceType<C>>;
27
- }>;
28
- declare const HeaderTabItemIndicator: import("@emotion/native").StyledComponent<any, {}, {
29
- ref?: React.Ref<InstanceType<C>>;
30
- }>;
1
+ import { Animated, View } from 'react-native';
2
+ declare const TabScreen: 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;
7
+ }>;
8
+ declare const TabContainer: 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;
13
+ }>;
14
+ declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
17
+ } & {
18
+ themeInsets: {
19
+ top: number;
20
+ right: number;
21
+ bottom: number;
22
+ left: number;
23
+ };
24
+ }, {}, {
25
+ ref?: import("react").Ref<View> | undefined;
26
+ }>;
27
+ declare const HeaderTabItem: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
+ } & {
31
+ isFirstItem?: boolean;
32
+ themeVariant?: "underlined" | "highlighted";
33
+ }, {}, {}>;
34
+ declare const HeaderTabPillLeft: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
35
+ theme?: import("@emotion/react").Theme;
36
+ as?: React.ElementType;
37
+ }, {}, {}>;
38
+ declare const HeaderTabPillBody: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
39
+ theme?: import("@emotion/react").Theme;
40
+ as?: React.ElementType;
41
+ }, {}, {}>;
42
+ declare const HeaderTabPillRight: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
43
+ theme?: import("@emotion/react").Theme;
44
+ as?: React.ElementType;
45
+ }, {}, {}>;
46
+ declare const HeaderTabItemActiveBorder: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
47
+ theme?: import("@emotion/react").Theme;
48
+ as?: React.ElementType;
49
+ }, {}, {}>;
50
+ declare const HeaderTabItemWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
51
+ theme?: import("@emotion/react").Theme;
52
+ as?: React.ElementType;
53
+ }, {}, {
54
+ ref?: import("react").Ref<View> | undefined;
55
+ }>;
56
+ declare const HeaderTabItemIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
57
+ theme?: import("@emotion/react").Theme;
58
+ as?: React.ElementType;
59
+ }, {}, {}>;
31
60
  export { HeaderTabItem, TabScreen, TabContainer, HeaderTabWrapper, HeaderTabPillLeft, HeaderTabPillBody, HeaderTabPillRight, HeaderTabItemActiveBorder, HeaderTabItemWrapper, HeaderTabItemIndicator, };
@@ -1,19 +1,45 @@
1
- declare const TabContainer: import("@emotion/native").StyledComponent<any, {}, {
2
- ref?: React.Ref<InstanceType<C>>;
1
+ import { Animated, View } from 'react-native';
2
+ declare const TabContainer: 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 HeaderTabWrapper: import("@emotion/native").StyledComponent<any, {}, {
5
- ref?: React.Ref<InstanceType<C>>;
8
+ declare const HeaderTabWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
+ } & {
12
+ themeInsets: {
13
+ top: number;
14
+ right: number;
15
+ bottom: number;
16
+ left: number;
17
+ };
18
+ }, {}, {
19
+ ref?: import("react").Ref<View> | undefined;
6
20
  }>;
7
- declare const HeaderTab: import("@emotion/native").StyledComponent<any, {}, {
8
- ref?: React.Ref<InstanceType<C>>;
21
+ declare const HeaderTab: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
+ }, {}, {
25
+ ref?: import("react").Ref<View> | undefined;
9
26
  }>;
10
- declare const HeaderTabItem: import("@emotion/native").StyledComponent<any, {}, {
11
- ref?: React.Ref<InstanceType<C>>;
27
+ declare const HeaderTabItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
28
+ theme?: import("@emotion/react").Theme;
29
+ as?: React.ElementType;
30
+ }, {}, {
31
+ ref?: import("react").Ref<View> | undefined;
12
32
  }>;
13
- declare const StyledIndicator: import("@emotion/native").StyledComponent<any, {}, {
14
- ref?: React.Ref<InstanceType<C>>;
15
- }>;
16
- declare const StyledBadgeWrapper: import("@emotion/native").StyledComponent<any, {}, {
17
- ref?: React.Ref<InstanceType<C>>;
33
+ declare const StyledIndicator: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
34
+ theme?: import("@emotion/react").Theme;
35
+ as?: React.ElementType;
36
+ } & {
37
+ themeWidth: number;
38
+ }, {}, {}>;
39
+ declare const StyledBadgeWrapper: 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;
18
44
  }>;
19
45
  export { TabContainer, HeaderTabWrapper, HeaderTab, HeaderTabItem, StyledIndicator, StyledBadgeWrapper, };
@@ -1,10 +1,24 @@
1
- declare const StyledView: import("@emotion/native").StyledComponent<any, {}, {
2
- ref?: React.Ref<InstanceType<C>>;
3
- }>;
4
- declare const StyledText: import("@emotion/native").StyledComponent<any, {}, {
5
- ref?: React.Ref<InstanceType<C>>;
6
- }>;
7
- declare const StyledTagIcon: import("@emotion/native").StyledComponent<any, {}, {
8
- ref?: React.Ref<InstanceType<C>>;
1
+ import { View } from 'react-native';
2
+ type ThemeIntent = 'primary' | 'info' | 'success' | 'warning' | 'danger' | 'archived' | 'neutral';
3
+ declare const StyledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
+ } & {
7
+ themeIntent: ThemeIntent;
8
+ }, {}, {
9
+ ref?: import("react").Ref<View> | undefined;
9
10
  }>;
11
+ declare const StyledText: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
12
+ theme?: import("@emotion/react").Theme;
13
+ as?: React.ElementType;
14
+ } & {
15
+ themeIntent: ThemeIntent;
16
+ }, {}, {}>;
17
+ declare const StyledTagIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
20
+ } & {
21
+ themeIntent: ThemeIntent;
22
+ themePosition: "left" | "right";
23
+ }, {}, {}>;
10
24
  export { StyledText, StyledView, StyledTagIcon };
@@ -1,6 +1,11 @@
1
- export declare const StyledTouchable: import("@emotion/native").StyledComponent<any, {}, {
2
- ref?: React.Ref<InstanceType<C>>;
3
- }>;
4
- export declare const StyledRow: import("@emotion/native").StyledComponent<any, {}, {
5
- ref?: React.Ref<InstanceType<C>>;
1
+ import { View } from 'react-native';
2
+ export declare const StyledTouchable: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & import("react").RefAttributes<View> & {
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
5
+ }, {}, {}>;
6
+ export declare const StyledRow: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: React.ElementType;
9
+ }, {}, {
10
+ ref?: import("react").Ref<View> | undefined;
6
11
  }>;
@@ -1,45 +1,103 @@
1
+ import { TextInput, View, Animated } from 'react-native';
2
+ import type { Theme } from '@emotion/react';
1
3
  export type State = 'default' | 'filled' | 'disabled' | 'readonly' | 'error';
2
- declare const StyledContainer: import("@emotion/native").StyledComponent<any, {}, {
3
- ref?: React.Ref<InstanceType<C>>;
4
+ type Variant = 'text' | 'textarea';
5
+ declare const StyledContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
6
+ theme?: Theme;
7
+ as?: React.ElementType;
8
+ }, {}, {
9
+ ref?: import("react").Ref<View> | undefined;
4
10
  }>;
5
- declare const StyledLabelContainerInsideTextInput: import("@emotion/native").StyledComponent<any, {}, {
6
- ref?: React.Ref<InstanceType<C>>;
11
+ declare const StyledLabelContainerInsideTextInput: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<View>> & {
12
+ theme?: Theme;
13
+ as?: React.ElementType;
14
+ } & {
15
+ themeVariant: Variant;
16
+ }, {}, {}>;
17
+ declare const StyledLabelInsideTextInput: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
18
+ theme?: Theme;
19
+ as?: React.ElementType;
20
+ } & {
21
+ themeState: State;
22
+ }, {}, {
23
+ ref?: import("react").Ref<View> | undefined;
7
24
  }>;
8
- declare const StyledLabelInsideTextInput: import("@emotion/native").StyledComponent<any, {}, {
9
- ref?: React.Ref<InstanceType<C>>;
25
+ declare const StyledAsteriskLabelInsideTextInput: import("@emotion/native").StyledComponent<import("../..").BodyProps & {
26
+ theme?: Theme;
27
+ as?: React.ElementType;
28
+ } & {
29
+ themeState: State;
30
+ }, {}, {}>;
31
+ declare const StyledErrorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
32
+ theme?: Theme;
33
+ as?: React.ElementType;
34
+ }, {}, {
35
+ ref?: import("react").Ref<View> | undefined;
10
36
  }>;
11
- declare const StyledAsteriskLabelInsideTextInput: import("@emotion/native").StyledComponent<any, {}, {
12
- ref?: React.Ref<InstanceType<C>>;
37
+ declare const StyledError: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
38
+ theme?: Theme;
39
+ as?: React.ElementType;
40
+ }, {}, {}>;
41
+ declare const StyledMaxLengthMessage: import("@emotion/native").StyledComponent<import("../..").CaptionProps & {
42
+ theme?: Theme;
43
+ as?: React.ElementType;
44
+ } & {
45
+ themeState: State;
46
+ }, {}, {}>;
47
+ declare const StyledHelperText: ({ children, fontWeight, intent, allowFontScaling, fontStyle, style, testID, ...nativeProps }: import("../..").CaptionProps) => import("react").JSX.Element;
48
+ declare const StyledTextInput: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
49
+ theme?: Theme;
50
+ as?: React.ElementType;
51
+ } & {
52
+ themeVariant: Variant;
53
+ }, {}, {
54
+ ref?: import("react").Ref<TextInput> | undefined;
13
55
  }>;
14
- declare const StyledErrorContainer: import("@emotion/native").StyledComponent<any, {}, {
15
- ref?: React.Ref<InstanceType<C>>;
56
+ declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
57
+ theme?: Theme;
58
+ as?: React.ElementType;
59
+ } & {
60
+ themeState: State;
61
+ themeFocused: boolean;
62
+ themeFilled: boolean;
63
+ }, {}, {
64
+ ref?: import("react").Ref<View> | undefined;
16
65
  }>;
17
- declare const StyledError: import("@emotion/native").StyledComponent<any, {}, {
18
- ref?: React.Ref<InstanceType<C>>;
66
+ declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
67
+ theme?: Theme;
68
+ as?: React.ElementType;
69
+ } & {
70
+ themeVariant: Variant;
71
+ themeState: State;
72
+ }, {}, {
73
+ ref?: import("react").Ref<View> | undefined;
19
74
  }>;
20
- declare const StyledMaxLengthMessage: import("@emotion/native").StyledComponent<any, {}, {
21
- ref?: React.Ref<InstanceType<C>>;
75
+ declare const StyledInputContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
76
+ theme?: Theme;
77
+ as?: React.ElementType;
78
+ } & {
79
+ themeHasLabel: boolean;
80
+ }, {}, {
81
+ ref?: import("react").Ref<View> | undefined;
22
82
  }>;
23
- declare const StyledHelperText: ({ children, fontWeight, intent, allowFontScaling, fontStyle, style, testID, ...nativeProps }: import("../Typography/Caption").CaptionProps) => import("react").JSX.Element;
24
- declare const StyledTextInput: import("@emotion/native").StyledComponent<any, {}, {
25
- ref?: React.Ref<InstanceType<C>>;
83
+ declare const StyledTextInputAndLabelContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
84
+ theme?: Theme;
85
+ as?: React.ElementType;
86
+ } & {
87
+ themeHasLabel: boolean;
88
+ }, {}, {
89
+ ref?: import("react").Ref<View> | undefined;
26
90
  }>;
27
- declare const StyledBorderBackDrop: import("@emotion/native").StyledComponent<any, {}, {
28
- ref?: React.Ref<InstanceType<C>>;
91
+ declare const StyledErrorAndHelpTextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
92
+ theme?: Theme;
93
+ as?: React.ElementType;
94
+ }, {}, {
95
+ ref?: import("react").Ref<View> | undefined;
29
96
  }>;
30
- declare const StyledTextInputContainer: import("@emotion/native").StyledComponent<any, {}, {
31
- ref?: React.Ref<InstanceType<C>>;
32
- }>;
33
- declare const StyledInputContentContainer: import("@emotion/native").StyledComponent<any, {}, {
34
- ref?: React.Ref<InstanceType<C>>;
35
- }>;
36
- declare const StyledTextInputAndLabelContainer: import("@emotion/native").StyledComponent<any, {}, {
37
- ref?: React.Ref<InstanceType<C>>;
38
- }>;
39
- declare const StyledErrorAndHelpTextContainer: import("@emotion/native").StyledComponent<any, {}, {
40
- ref?: React.Ref<InstanceType<C>>;
41
- }>;
42
- declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").StyledComponent<any, {}, {
43
- ref?: React.Ref<InstanceType<C>>;
97
+ declare const StyledErrorAndMaxLengthContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
98
+ theme?: Theme;
99
+ as?: React.ElementType;
100
+ }, {}, {
101
+ ref?: import("react").Ref<View> | undefined;
44
102
  }>;
45
103
  export { StyledTextInputContainer, StyledAsteriskLabelInsideTextInput, StyledTextInput, StyledError, StyledMaxLengthMessage, StyledLabelInsideTextInput, StyledContainer, StyledErrorContainer, StyledHelperText, StyledInputContentContainer, StyledTextInputAndLabelContainer, StyledLabelContainerInsideTextInput, StyledErrorAndHelpTextContainer, StyledBorderBackDrop, StyledErrorAndMaxLengthContainer, };