@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.
Files changed (100) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/es/index.js +17536 -17420
  3. package/lib/index.js +18073 -17960
  4. package/package.json +13 -15
  5. package/{rollup.config.js → rollup.config.mjs} +5 -3
  6. package/src/components/BottomNavigation/index.tsx +0 -4
  7. package/src/components/PinInput/StyledPinInput.tsx +0 -1
  8. package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +30 -5
  9. package/src/components/PinInput/__tests__/index.spec.tsx +23 -11
  10. package/src/components/PinInput/index.tsx +11 -5
  11. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +1 -1
  12. package/stats/8.65.0/rn-stats.html +4842 -0
  13. package/tsconfig.json +2 -3
  14. package/tsconfig.rollup.json +27 -0
  15. package/types/components/Accordion/StyledAccordion.d.ts +5 -5
  16. package/types/components/Alert/StyledAlert.d.ts +5 -5
  17. package/types/components/Attachment/StyledAttachment.d.ts +4 -4
  18. package/types/components/Avatar/AvatarStack/StyledAvatarStack.d.ts +3 -3
  19. package/types/components/Avatar/StyledAvatar.d.ts +4 -4
  20. package/types/components/Badge/StyledBadge.d.ts +3 -3
  21. package/types/components/Badge/types.d.ts +53 -0
  22. package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +7 -7
  23. package/types/components/BottomSheet/StyledBottomSheet.d.ts +8 -8
  24. package/types/components/Box/StyledBox.d.ts +1 -1
  25. package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +2 -3
  26. package/types/components/Button/StyledButton.d.ts +5 -6
  27. package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +3 -3
  28. package/types/components/Calendar/StyledCalendar.d.ts +8 -8
  29. package/types/components/Card/DataCard/StyledDataCard.d.ts +2 -2
  30. package/types/components/Card/StyledCard.d.ts +1 -1
  31. package/types/components/Carousel/StyledCardCarousel.d.ts +4 -4
  32. package/types/components/Carousel/StyledCarousel.d.ts +9 -9
  33. package/types/components/Checkbox/StyledCheckbox.d.ts +5 -5
  34. package/types/components/Chip/StyledChip.d.ts +4 -4
  35. package/types/components/Collapse/StyledCollapse.d.ts +3 -3
  36. package/types/components/CompoundSearch/CompoundSearchHandler.d.ts +31 -0
  37. package/types/components/CompoundSearch/CompoundSearchTextInput.d.ts +60 -0
  38. package/types/components/CompoundSearch/StyledCompoundSearch.d.ts +40 -0
  39. package/types/components/CompoundSearch/index.d.ts +8 -0
  40. package/types/components/CompoundSearch/utils.d.ts +8 -0
  41. package/types/components/ContentNavigator/StyledContentNavigator.d.ts +1 -1
  42. package/types/components/DatePicker/StyledDatePicker.d.ts +1 -1
  43. package/types/components/Divider/StyledDivider.d.ts +1 -1
  44. package/types/components/Drawer/StyledDrawer.d.ts +7 -7
  45. package/types/components/Empty/StyledEmpty.d.ts +3 -3
  46. package/types/components/Error/StyledError.d.ts +10 -10
  47. package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +5 -5
  48. package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +3 -3
  49. package/types/components/FAB/Pair/StyledFAB.d.ts +12 -0
  50. package/types/components/FAB/Pair/index.d.ts +16 -0
  51. package/types/components/FAB/StyledFAB.d.ts +4 -4
  52. package/types/components/Icon/HeroIcon/index.d.ts +1 -1
  53. package/types/components/List/StyledBasicListItem.d.ts +4 -4
  54. package/types/components/List/StyledListItem.d.ts +7 -7
  55. package/types/components/MapPin/Focussed.d.ts +13 -0
  56. package/types/components/MapPin/StyledMapPin.d.ts +32 -0
  57. package/types/components/MapPin/index.d.ts +5 -0
  58. package/types/components/MapPin/types.d.ts +38 -0
  59. package/types/components/PageControl/StyledPageControl.d.ts +2 -2
  60. package/types/components/PinInput/StyledPinInput.d.ts +10 -10
  61. package/types/components/Progress/ProgressStep.d.ts +20 -0
  62. package/types/components/Progress/StyledProgressBar.d.ts +2 -2
  63. package/types/components/Progress/StyledProgressCircle.d.ts +6 -6
  64. package/types/components/Progress/StyledStep.d.ts +23 -0
  65. package/types/components/Radio/StyledRadio.d.ts +4 -4
  66. package/types/components/Rate/StyledRate.d.ts +2 -2
  67. package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +2 -2
  68. package/types/components/RichTextEditor/StyledToolbar.d.ts +3 -3
  69. package/types/components/Search/SearchOneLine.d.ts +65 -0
  70. package/types/components/Search/SearchSuffixIcon.d.ts +24 -0
  71. package/types/components/Search/SearchTwoLine.d.ts +36 -0
  72. package/types/components/Search/StyledSearch.d.ts +49 -0
  73. package/types/components/Search/index.d.ts +10 -0
  74. package/types/components/Search/utils.d.ts +8 -0
  75. package/types/components/SectionHeading/StyledHeading.d.ts +3 -3
  76. package/types/components/Select/StyledSelect.d.ts +3 -3
  77. package/types/components/Skeleton/StyledSkeleton.d.ts +2 -2
  78. package/types/components/Spinner/StyledSpinner.d.ts +4 -4
  79. package/types/components/Success/StyledSuccess.d.ts +9 -9
  80. package/types/components/Swipeable/StyledSwipeable.d.ts +1 -1
  81. package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +4 -4
  82. package/types/components/Switch/StyledSwitch.d.ts +2 -2
  83. package/types/components/Tabs/StyledScrollableTabs.d.ts +8 -8
  84. package/types/components/Tabs/StyledTabs.d.ts +7 -7
  85. package/types/components/Tag/StyledTag.d.ts +2 -2
  86. package/types/components/TextInput/StyledTextInput.d.ts +13 -13
  87. package/types/components/TimePicker/StyledTimePicker.d.ts +1 -1
  88. package/types/components/Toast/StyledToast.d.ts +6 -6
  89. package/types/components/Toolbar/StyledToolbar.d.ts +5 -5
  90. package/types/components/Typography/Body/StyledBody.d.ts +1 -1
  91. package/types/components/Typography/Caption/StyledCaption.d.ts +1 -1
  92. package/types/components/Typography/Label/StyledLabel.d.ts +1 -1
  93. package/types/components/Typography/Text/StyledText.d.ts +1 -1
  94. package/types/components/Typography/Title/StyledTitle.d.ts +1 -1
  95. package/types/theme/components/compoundSearch.d.ts +36 -0
  96. package/types/theme/components/mapPin.d.ts +40 -0
  97. package/types/theme/components/search.d.ts +64 -0
  98. package/types/theme/global/colors/swagLight.d.ts +3 -0
  99. package/types/theme/global/colors/swagLightGlobal.d.ts +3 -0
  100. package/types/theme/global/colors/swagLightJobs.d.ts +47 -0
@@ -2,21 +2,21 @@ import type { TextProps } from 'react-native';
2
2
  import { Animated, TouchableHighlight } from 'react-native';
3
3
  import type { IconProps } from '../Icon';
4
4
  declare const StyledFAB: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").TouchableHighlightProps & import("react").RefAttributes<TouchableHighlight>> & {
5
- theme?: import("@emotion/react").Theme | undefined;
5
+ theme?: any;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  themeActive?: boolean | undefined;
9
9
  }, {}, {}>;
10
10
  declare const StyledFABIcon: import("@emotion/native").StyledComponent<IconProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
11
+ theme?: any;
12
12
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
13
13
  }, {}, {}>;
14
14
  declare const StyledFABText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
15
+ theme?: any;
16
16
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
17
17
  } & TextProps, {}, {}>;
18
18
  declare const StyledIconContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
19
+ theme?: any;
20
20
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
21
21
  }, {}, {}>;
22
22
  export { StyledFAB, StyledFABIcon, StyledFABText, StyledIconContainer };
@@ -1,7 +1,7 @@
1
1
  declare type ThemeSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
2
2
  declare type ThemeIntent = 'text' | 'primary' | 'secondary' | 'info' | 'danger' | 'success' | 'warning' | 'disabled-text' | 'text-inverted';
3
3
  declare const StyledHeroIcon: import("@emotion/native").StyledComponent<import("react-native-vector-icons/Icon").IconProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
4
+ theme?: any;
5
5
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
6
6
  } & {
7
7
  themeSize: ThemeSize;
@@ -1,24 +1,24 @@
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 | undefined;
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;
7
7
  }>;
8
8
  declare const StyledSuffixContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
9
+ theme?: any;
10
10
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
15
+ theme?: any;
16
16
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
21
+ theme?: any;
22
22
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
23
23
  } & {
24
24
  themeSelected?: boolean | undefined;
@@ -2,7 +2,7 @@ import { TouchableHighlight, View } from 'react-native';
2
2
  export declare type Variant = 'full-width' | 'card';
3
3
  export declare 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 | undefined;
5
+ theme?: any;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  themeSelected?: boolean | undefined;
@@ -11,19 +11,19 @@ declare const StyledListItemContainer: import("@emotion/native").StyledComponent
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 | undefined;
14
+ theme?: any;
15
15
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
20
+ theme?: any;
21
21
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
26
+ theme?: any;
27
27
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
28
28
  } & {
29
29
  themeLeadingStatusIntent: LeadingStatusIntent;
@@ -31,19 +31,19 @@ declare const StyledLeadingStatus: import("@emotion/native").StyledComponent<imp
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 | undefined;
34
+ theme?: any;
35
35
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
40
+ theme?: any;
41
41
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
46
+ theme?: any;
47
47
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
48
48
  }, {}, {
49
49
  ref?: import("react").Ref<View> | undefined;
@@ -0,0 +1,13 @@
1
+ import { ViewProps, StyleProp, ViewStyle } from 'react-native';
2
+ export interface MapPinFocussedProps extends ViewProps {
3
+ /**
4
+ * Additional style.
5
+ */
6
+ style?: StyleProp<ViewStyle>;
7
+ /**
8
+ * Testing id of the component.
9
+ */
10
+ testID?: string;
11
+ }
12
+ declare const MapPinFocussed: ({ style, testID, ...nativeProps }: MapPinFocussedProps) => JSX.Element;
13
+ export default MapPinFocussed;
@@ -0,0 +1,32 @@
1
+ import { View } from 'react-native';
2
+ declare type State = 'idle' | 'selected' | 'applied';
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 StyledContent: 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
+ themeState: State;
14
+ themeIsIcon: boolean;
15
+ }, {}, {
16
+ ref?: import("react").Ref<View> | undefined;
17
+ }>;
18
+ export declare const StyledBadge: import("@emotion/native").StyledComponent<import("../Badge/types").IconBadgeProps & {
19
+ theme?: import("@emotion/react").Theme | undefined;
20
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
21
+ }, {}, {}>;
22
+ export declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
23
+ theme?: import("@emotion/react").Theme | undefined;
24
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
+ }, {}, {
26
+ ref?: import("react").Ref<import("react-native").Image> | undefined;
27
+ }>;
28
+ export declare const StyledFocusIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
29
+ theme?: import("@emotion/react").Theme | undefined;
30
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
31
+ }, {}, {}>;
32
+ export {};
@@ -0,0 +1,5 @@
1
+ import { MapPinProps } from './types';
2
+ declare const _default: (({ style, testID, state, image, icon, ...nativeProps }: MapPinProps) => JSX.Element) & {
3
+ Focussed: ({ style, testID, ...nativeProps }: import("./Focussed").MapPinFocussedProps) => JSX.Element;
4
+ };
5
+ export default _default;
@@ -0,0 +1,38 @@
1
+ import { ViewProps, StyleProp, ViewStyle, ImageProps } from 'react-native';
2
+ import { IconName } from '../Icon';
3
+ interface BaseMapPinProps extends ViewProps {
4
+ /**
5
+ * Additional style.
6
+ */
7
+ style?: StyleProp<ViewStyle>;
8
+ /**
9
+ * Testing id of the component.
10
+ */
11
+ testID?: string;
12
+ /**
13
+ * State of the map pin.
14
+ */
15
+ state?: 'idle' | 'selected' | 'applied';
16
+ }
17
+ interface ImageMapPinProps extends BaseMapPinProps {
18
+ /**
19
+ * Icon to display in the map pin.
20
+ */
21
+ icon?: never;
22
+ /**
23
+ * Image to display in the map pin.
24
+ */
25
+ image: ImageProps;
26
+ }
27
+ interface IconMapPinProps extends BaseMapPinProps {
28
+ /**
29
+ * Icon to display in the map pin.
30
+ */
31
+ icon: IconName;
32
+ /**
33
+ * Image to display in the map pin.
34
+ */
35
+ image?: never;
36
+ }
37
+ export declare type MapPinProps = ImageMapPinProps | IconMapPinProps;
38
+ 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 | undefined;
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;
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 | undefined;
9
+ theme?: any;
10
10
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
11
  }, {}, {}>;
12
12
  export { StyledPageControl, StyledPageControlAnimatedView };
@@ -1,19 +1,19 @@
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 | undefined;
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;
7
7
  }>;
8
8
  export declare const StyledPinWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
9
+ theme?: any;
10
10
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
11
11
  }, {}, {
12
12
  ref?: import("react").Ref<View> | undefined;
13
13
  }>;
14
14
  export declare 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 | undefined;
16
+ theme?: any;
17
17
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
18
  } & {
19
19
  themeFocused: boolean;
@@ -22,19 +22,19 @@ 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 | undefined;
25
+ theme?: any;
26
26
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
31
+ theme?: any;
32
32
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
37
+ theme?: any;
38
38
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
39
39
  } & {
40
40
  themeState: State;
@@ -42,7 +42,7 @@ export declare const StyledMask: import("@emotion/native").StyledComponent<impor
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 | undefined;
45
+ theme?: any;
46
46
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
47
47
  } & {
48
48
  themeState: State;
@@ -50,7 +50,7 @@ export declare const StyledFilledMask: import("@emotion/native").StyledComponent
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 | undefined;
53
+ theme?: any;
54
54
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
55
55
  } & {
56
56
  themePinLength: number;
@@ -58,12 +58,12 @@ export declare const StyledHiddenInput: import("@emotion/native").StyledComponen
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 | undefined;
61
+ theme?: any;
62
62
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
67
+ theme?: any;
68
68
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
69
69
  }, {}, {}>;
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { ViewProps } from 'react-native';
3
+ export interface ProgressStepProps extends ViewProps {
4
+ /**
5
+ * The total number of steps.
6
+ */
7
+ steps: number;
8
+ /**
9
+ * The current step.
10
+ */
11
+ current: number;
12
+ /**
13
+ * Test ID of the component.
14
+ */
15
+ testID?: string;
16
+ }
17
+ declare type StepState = 'complete' | 'incomplete' | 'current';
18
+ export declare const getStepState: (current: number, index: number) => StepState;
19
+ declare const ProgressStep: ({ steps, current, onLayout, ...props }: ProgressStepProps) => React.JSX.Element;
20
+ export default ProgressStep;
@@ -2,7 +2,7 @@ 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 | undefined;
5
+ theme?: any;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
7
7
  } & {
8
8
  themeIntent: ThemeIntent;
@@ -10,7 +10,7 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<ViewProps
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 | undefined;
13
+ theme?: any;
14
14
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
15
15
  } & {
16
16
  themeIntent: ThemeIntent;
@@ -2,19 +2,19 @@ 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 | undefined;
5
+ theme?: any;
6
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
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 StyledHalfCircleInnerFG: import("@emotion/native").StyledComponent<ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
17
+ theme?: any;
18
18
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  } & {
20
20
  themeIntent: ThemeIntent;
@@ -22,7 +22,7 @@ declare const StyledHalfCircleInnerFG: import("@emotion/native").StyledComponent
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 | undefined;
25
+ theme?: any;
26
26
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
27
27
  } & {
28
28
  themeIntent: ThemeIntent;
@@ -30,13 +30,13 @@ declare const StyledHalfCircleInnerBG: import("@emotion/native").StyledComponent
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 | undefined;
33
+ theme?: any;
34
34
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
39
+ theme?: any;
40
40
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
41
41
  } & {
42
42
  themeIntent: ThemeIntent;
@@ -0,0 +1,23 @@
1
+ declare type StepState = 'complete' | 'incomplete' | 'current';
2
+ declare const StyledStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
3
+ theme?: import("@emotion/react").Theme | undefined;
4
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
+ }, {}, {}>;
6
+ declare const StyledStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
7
+ theme?: import("@emotion/react").Theme | undefined;
8
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
+ } & {
10
+ themeState: StepState;
11
+ themeWidth: number;
12
+ }, {}, {}>;
13
+ declare const StyledSingleStepContainer: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
14
+ theme?: import("@emotion/react").Theme | undefined;
15
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
16
+ }, {}, {}>;
17
+ declare const StyledSingleStep: import("@emotion/native").StyledComponent<import("../Box").BoxProps & {
18
+ theme?: import("@emotion/react").Theme | undefined;
19
+ as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
+ } & {
21
+ themeState: 'complete' | 'incomplete';
22
+ }, {}, {}>;
23
+ export { StyledStepContainer, StyledStep, StyledSingleStepContainer, StyledSingleStep, };
@@ -1,19 +1,19 @@
1
1
  import { View } from 'react-native';
2
2
  declare type RadioIntent = 'light' | 'dark';
3
3
  declare const Circle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
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 InnerCircle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
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 Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
16
- theme?: import("@emotion/react").Theme | undefined;
16
+ theme?: any;
17
17
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
18
  } & {
19
19
  themeIntent: RadioIntent;
@@ -21,7 +21,7 @@ declare const Spacer: import("@emotion/native").StyledComponent<import("react-na
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 | undefined;
24
+ theme?: any;
25
25
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
26
26
  } & {
27
27
  themeIntent: RadioIntent;
@@ -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 | undefined;
3
+ theme?: any;
4
4
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
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 | undefined;
7
+ theme?: any;
8
8
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
9
9
  }, {}, {}>;
10
10
  export { StyledWrapper, StyledIconWrapper };
@@ -1,13 +1,13 @@
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 | undefined;
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
  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 | undefined;
10
+ theme?: any;
11
11
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & {
13
13
  height: number | undefined;
@@ -1,6 +1,6 @@
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 | undefined;
3
+ theme?: any;
4
4
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
5
5
  } & {
6
6
  selected: boolean;
@@ -8,13 +8,13 @@ export declare const StyledToolbarButton: import("@emotion/native").StyledCompon
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 | undefined;
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
  export declare const StyledSeparator: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
17
+ theme?: any;
18
18
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
19
19
  }, {}, {
20
20
  ref?: import("react").Ref<View> | undefined;
@@ -0,0 +1,65 @@
1
+ import React from 'react';
2
+ import type { TextInputProps as NativeTextInputProps, TextInput as RNTextInput, StyleProp, ViewStyle, TextStyle } from 'react-native';
3
+ import { State } from './StyledSearch';
4
+ import { IconName } from '../Icon';
5
+ export declare type SearchOneLineHandles = Pick<RNTextInput, 'focus' | 'clear' | 'blur' | 'isFocused' | 'setNativeProps'>;
6
+ interface SearchOneLineProps 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
+ * Variant of the SearchTwo
54
+ * @default 'basic'
55
+ */
56
+ variant?: 'basic' | 'reversed';
57
+ }
58
+ export declare const getState: ({ disabled, editable, isEmptyValue, }: {
59
+ disabled?: boolean | undefined;
60
+ editable?: boolean | undefined;
61
+ isFocused?: boolean | undefined;
62
+ isEmptyValue?: boolean | undefined;
63
+ }) => State;
64
+ declare const SearchOneLine: React.ForwardRefExoticComponent<SearchOneLineProps & React.RefAttributes<SearchOneLineHandles>>;
65
+ export default SearchOneLine;
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import { IconName } from '../Icon';
4
+ import { BadgeProps } from '../Badge';
5
+ interface SearchSuffixIconProps {
6
+ /**
7
+ * Name of Icon or ReactElement to render on the right side of the input.
8
+ */
9
+ suffix?: IconName | React.ReactElement;
10
+ /**
11
+ * Additional wrapper style.
12
+ */
13
+ style?: StyleProp<ViewStyle>;
14
+ /**
15
+ * Testing id of the component.
16
+ */
17
+ testID?: string;
18
+ /**
19
+ * Badge props to be render on the suffix.
20
+ */
21
+ badge?: Omit<BadgeProps, 'size'>;
22
+ }
23
+ declare const SearchSuffixIcon: (props: SearchSuffixIconProps) => React.JSX.Element;
24
+ export default SearchSuffixIcon;
@@ -0,0 +1,36 @@
1
+ import React from 'react';
2
+ import { StyleProp, ViewStyle } from 'react-native';
3
+ import { IconName } from '../Icon';
4
+ interface SearchTwoLineProps {
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
+ * Variant of the SearchTwo
31
+ * @default 'basic'
32
+ */
33
+ variant?: 'basic' | 'reversed';
34
+ }
35
+ declare const SearchTwoLine: (props: SearchTwoLineProps) => React.JSX.Element;
36
+ export default SearchTwoLine;