@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
package/tsconfig.json CHANGED
@@ -12,8 +12,7 @@
12
12
  "target": "esnext",
13
13
  "types": ["jest"],
14
14
  "paths": {
15
- "react": ["./node_modules/@types/react"],
16
- "react-native": ["./node_modules/react-native/types"],
15
+ "react": ["./node_modules/@types/react"]
17
16
  },
18
17
  "allowJs": true,
19
18
  "esModuleInterop": true,
@@ -21,7 +20,7 @@
21
20
  "moduleResolution": "node",
22
21
  "noEmit": true,
23
22
  "resolveJsonModule": true,
24
- "skipLibCheck": true,
23
+ "skipLibCheck": true
25
24
  },
26
25
  "include": ["src"],
27
26
  "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js"]
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "declaration": false,
4
+ "jsx": "react-native",
5
+ "noFallthroughCasesInSwitch": true,
6
+ "noImplicitAny": true,
7
+ "noUnusedLocals": true,
8
+ "noUnusedParameters": true,
9
+ "strict": true,
10
+ "strictNullChecks": true,
11
+ "target": "esnext",
12
+ "types": ["jest"],
13
+ "paths": {
14
+ "react": ["./node_modules/@types/react"],
15
+ "react-native": ["./node_modules/react-native/types"]
16
+ },
17
+ "allowJs": true,
18
+ "esModuleInterop": true,
19
+ "lib": ["DOM", "ESNext"],
20
+ "moduleResolution": "node",
21
+ "noEmit": true,
22
+ "resolveJsonModule": true,
23
+ "skipLibCheck": true
24
+ },
25
+ "include": ["src"],
26
+ "exclude": ["node_modules", "babel.config.js", "metro.config.js", "jest.config.js"]
27
+ }
@@ -1,13 +1,13 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
2
  export declare type Variant = 'default' | 'card';
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 StyledItemWrapper: 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
  themeVariant: Variant;
@@ -15,17 +15,17 @@ export declare const StyledItemWrapper: import("@emotion/native").StyledComponen
15
15
  ref?: import("react").Ref<View> | undefined;
16
16
  }>;
17
17
  export declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
18
- theme?: import("@emotion/react").Theme | undefined;
18
+ theme?: any;
19
19
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
20
20
  }, {}, {
21
21
  ref?: import("react").Ref<TouchableOpacity> | undefined;
22
22
  }>;
23
23
  export declare const StyledCollapse: import("@emotion/native").StyledComponent<import("../Collapse").CollapseProps & {
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
  export declare const Spacer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
28
- theme?: import("@emotion/react").Theme | undefined;
28
+ theme?: any;
29
29
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
30
30
  }, {}, {
31
31
  ref?: import("react").Ref<View> | undefined;
@@ -1,7 +1,7 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const Container: import("@emotion/native").StyledComponent<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
  themeVariant: 'rounded' | 'unrounded';
@@ -10,19 +10,19 @@ declare const Container: import("@emotion/native").StyledComponent<ViewProps & {
10
10
  ref?: import("react").Ref<View> | undefined;
11
11
  }>;
12
12
  declare const IconContainer: import("@emotion/native").StyledComponent<ViewProps & {
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
  ref?: import("react").Ref<View> | undefined;
17
17
  }>;
18
18
  declare const TextContainer: import("@emotion/native").StyledComponent<ViewProps & {
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
  ref?: import("react").Ref<View> | undefined;
23
23
  }>;
24
24
  declare const ContentContainer: 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
  showDivider: boolean;
@@ -30,7 +30,7 @@ declare const ContentContainer: import("@emotion/native").StyledComponent<ViewPr
30
30
  ref?: import("react").Ref<View> | undefined;
31
31
  }>;
32
32
  declare const CTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
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<TouchableOpacity> | undefined;
@@ -1,12 +1,12 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
2
  declare const StyledContainer: 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 StyledContentContainer: 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
  themeHighlighted: boolean;
@@ -14,13 +14,13 @@ declare const StyledContentContainer: import("@emotion/native").StyledComponent<
14
14
  ref?: import("react").Ref<View> | undefined;
15
15
  }>;
16
16
  declare const StyledTextContainer: 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;
21
21
  }>;
22
22
  declare const StyledCTAWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
23
+ theme?: any;
24
24
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
25
  }, {}, {
26
26
  ref?: import("react").Ref<TouchableOpacity> | undefined;
@@ -2,7 +2,7 @@ import { View } from 'react-native';
2
2
  import { AvatarProps } from '../Avatar';
3
3
  declare type ThemeVariant = 'horizontal' | 'vertical';
4
4
  export declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").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
  themeSize: Required<AvatarProps>['size'];
@@ -13,14 +13,14 @@ export declare const StyledWrapper: import("@emotion/native").StyledComponent<im
13
13
  ref?: import("react").Ref<View> | undefined;
14
14
  }>;
15
15
  export declare const StyledAvatar: import("@emotion/native").StyledComponent<AvatarProps & {
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
  themeIndex: number;
20
20
  themeVariant: ThemeVariant;
21
21
  }, {}, {}>;
22
22
  export declare const StyledSurplusContainer: import("@emotion/native").StyledComponent<import("../../Box").BoxProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
23
+ theme?: any;
24
24
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
25
  } & {
26
26
  themeIndex: number;
@@ -3,7 +3,7 @@ import { TextProps } from '../Typography/Text';
3
3
  declare type ThemeSize = 'small' | 'medium' | 'large' | 'xlarge' | 'xxlarge' | 'xxxlarge' | 'xxxxlarge' | 'xxxxxlarge';
4
4
  declare type ThemeIntent = 'primary' | 'info' | 'danger' | 'success' | 'warning';
5
5
  declare const StyledWrapper: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
6
- theme?: import("@emotion/react").Theme | undefined;
6
+ theme?: any;
7
7
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
8
  } & {
9
9
  themeSize: ThemeSize;
@@ -12,19 +12,19 @@ declare const StyledWrapper: import("@emotion/native").StyledComponent<import("r
12
12
  ref?: import("react").Ref<TouchableOpacity> | undefined;
13
13
  }>;
14
14
  declare const StyledTextWrapper: 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 StyledText: import("@emotion/native").StyledComponent<TextProps & {
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
  themeSize: ThemeSize;
25
25
  }, {}, {}>;
26
26
  declare const StyledImage: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
27
- theme?: import("@emotion/react").Theme | undefined;
27
+ theme?: any;
28
28
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
29
29
  } & {
30
30
  themeSize: ThemeSize;
@@ -2,18 +2,18 @@ import { Animated } from 'react-native';
2
2
  declare type ThemeIntent = 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
3
3
  declare type ThemePadding = 'narrowContent' | 'wideContent';
4
4
  declare const StyledView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
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;
9
9
  themePadding: ThemePadding;
10
10
  }, {}, {}>;
11
11
  declare const StyledText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
12
+ theme?: any;
13
13
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
14
  }, {}, {}>;
15
15
  declare const StyledStatus: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
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: ThemeIntent;
@@ -0,0 +1,53 @@
1
+ import { Animated, StyleProp, ViewStyle } from 'react-native';
2
+ import { IconName } from '../Icon';
3
+ interface BaseBadgeProps extends React.ComponentProps<typeof Animated.View> {
4
+ /**
5
+ * Whether the Badge is visible.
6
+ */
7
+ visible?: boolean;
8
+ /**
9
+ * The maximum number displayed on the badge. If number exceeds this value, `${max}+` are displayed instead. (Only applied when content is number.)
10
+ */
11
+ max?: number;
12
+ /**
13
+ * Visual intent color to apply to Badge.
14
+ */
15
+ intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
16
+ /**
17
+ * Additional style.
18
+ */
19
+ style?: StyleProp<ViewStyle>;
20
+ /**
21
+ * Testing id of the component.
22
+ */
23
+ testID?: string;
24
+ /**
25
+ * Size of the badge
26
+ */
27
+ size?: 'medium' | 'small';
28
+ /**
29
+ * Variant of the badge
30
+ */
31
+ variant?: 'filled' | 'outlined';
32
+ }
33
+ export interface BasicBadgeProps extends BaseBadgeProps {
34
+ /**
35
+ * Content of the Badge.
36
+ */
37
+ content: string | number;
38
+ /**
39
+ * Use Icon as the content of the Badge.
40
+ */
41
+ icon?: never;
42
+ }
43
+ export interface IconBadgeProps extends BaseBadgeProps {
44
+ /**
45
+ * Content of the Badge.
46
+ */
47
+ content?: never;
48
+ /**
49
+ * Use Icon as the content of the Badge.
50
+ */
51
+ icon: IconName;
52
+ }
53
+ export {};
@@ -1,6 +1,6 @@
1
1
  import { View } from 'react-native';
2
2
  declare const BottomNavigationTab: 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
  themeVisibility?: boolean | undefined;
@@ -8,19 +8,19 @@ declare const BottomNavigationTab: import("@emotion/native").StyledComponent<imp
8
8
  ref?: import("react").Ref<View> | undefined;
9
9
  }>;
10
10
  declare const BottomNavigationContainer: 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
  declare const ContentWrapper: 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;
21
21
  }>;
22
22
  declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
23
+ theme?: any;
24
24
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
25
  } & {
26
26
  themeInsets: {
@@ -33,19 +33,19 @@ declare const BottomBarWrapper: import("@emotion/native").StyledComponent<import
33
33
  ref?: import("react").Ref<View> | undefined;
34
34
  }>;
35
35
  declare const BottomBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
36
- theme?: import("@emotion/react").Theme | undefined;
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 BottomBarItem: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
42
- theme?: import("@emotion/react").Theme | undefined;
42
+ theme?: any;
43
43
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
44
  }, {}, {
45
45
  ref?: import("react").Ref<View> | undefined;
46
46
  }>;
47
47
  declare const StyledBottomBarText: import("@emotion/native").StyledComponent<import("../Typography/Caption").CaptionProps & {
48
- theme?: import("@emotion/react").Theme | undefined;
48
+ theme?: any;
49
49
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
50
50
  }, {}, {}>;
51
51
  export { BottomBar, BottomBarItem, BottomNavigationTab, BottomNavigationContainer, BottomBarWrapper, ContentWrapper, StyledBottomBarText, };
@@ -1,45 +1,45 @@
1
1
  import { Animated, KeyboardAvoidingView, KeyboardAvoidingViewProps, SafeAreaView, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledWrapper: import("@emotion/native").StyledComponent<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 StyledKeyboardAvoidingView: import("@emotion/native").StyledComponent<KeyboardAvoidingViewProps & {
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<KeyboardAvoidingView> | undefined;
14
14
  }>;
15
15
  declare const StyledBottomSheet: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<SafeAreaView>> & {
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
  declare const StyledBackdrop: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").PressableProps & import("react").RefAttributes<View>> & {
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
  declare const StyledHeaderWrapper: import("@emotion/native").StyledComponent<ViewProps & {
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
  ref?: import("react").Ref<View> | undefined;
28
28
  }>;
29
29
  declare const StyledHeader: import("@emotion/native").StyledComponent<ViewProps & {
30
- theme?: import("@emotion/react").Theme | undefined;
30
+ theme?: any;
31
31
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
32
  }, {}, {
33
33
  ref?: import("react").Ref<View> | undefined;
34
34
  }>;
35
35
  declare const StyledFooter: import("@emotion/native").StyledComponent<ViewProps & {
36
- theme?: import("@emotion/react").Theme | undefined;
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 StyledIconWrapper: import("@emotion/native").StyledComponent<ViewProps & {
42
- theme?: import("@emotion/react").Theme | undefined;
42
+ theme?: any;
43
43
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
44
44
  }, {}, {
45
45
  ref?: import("react").Ref<View> | undefined;
@@ -7,7 +7,7 @@ export declare const getThemeValue: (theme: Theme, key: keyof StyleProps, props:
7
7
  [x: string]: number;
8
8
  } | undefined;
9
9
  declare const StyledBox: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
- theme?: Theme | undefined;
10
+ theme?: any;
11
11
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
12
12
  } & StyleProps & FlexStyleProps, {}, {
13
13
  ref?: import("react").Ref<View> | undefined;
@@ -1,15 +1,14 @@
1
- import type { Theme } from '@emotion/react';
2
1
  import type { ViewProps } from 'react-native';
3
2
  import { View } from 'react-native';
4
3
  declare type ThemeVariant = 'basic-transparent' | 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
5
4
  declare const StyledLoadingIndicatorWrapper: import("@emotion/native").StyledComponent<ViewProps & {
6
- theme?: Theme | undefined;
5
+ theme?: any;
7
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
7
  }, {}, {
9
8
  ref?: import("react").Ref<View> | undefined;
10
9
  }>;
11
10
  declare const StyledLoadingDot: import("@emotion/native").StyledComponent<ViewProps & {
12
- theme?: Theme | undefined;
11
+ theme?: any;
13
12
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
14
13
  } & {
15
14
  size?: number | undefined;
@@ -1,9 +1,8 @@
1
1
  import { TouchableHighlight, View } from 'react-native';
2
- import type { Theme } from '@emotion/react';
3
2
  declare type Intent = 'primary' | 'secondary' | 'danger';
4
3
  declare type ThemeVariant = 'filled-primary' | 'filled-secondary' | 'filled-danger' | 'outlined-primary' | 'outlined-secondary' | 'outlined-danger' | 'text-primary' | 'text-secondary' | 'text-danger';
5
4
  declare const StyledButtonContainer: import("@emotion/native").StyledComponent<import("react-native").TouchableHighlightProps & {
6
- theme?: Theme | undefined;
5
+ theme?: any;
7
6
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
8
7
  } & {
9
8
  disabled?: boolean | undefined;
@@ -13,21 +12,21 @@ declare const StyledButtonContainer: import("@emotion/native").StyledComponent<i
13
12
  ref?: import("react").Ref<TouchableHighlight> | undefined;
14
13
  }>;
15
14
  declare const StyledButtonText: import("@emotion/native").StyledComponent<import("../Typography/Title").TitleProps & {
16
- theme?: Theme | undefined;
15
+ theme?: any;
17
16
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
18
17
  } & {
19
18
  disabled?: boolean | undefined;
20
19
  themeButtonVariant: ThemeVariant;
21
20
  }, {}, {}>;
22
21
  declare const StyledButtonTitleOfVariantText: import("@emotion/native").StyledComponent<import("../Typography/Body").BodyProps & {
23
- theme?: Theme | undefined;
22
+ theme?: any;
24
23
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
25
24
  } & {
26
25
  disabled?: boolean | undefined;
27
26
  themeButtonVariant: 'text-primary' | 'text-secondary' | 'text-danger';
28
27
  }, {}, {}>;
29
28
  declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
30
- theme?: Theme | undefined;
29
+ theme?: any;
31
30
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
32
31
  } & {
33
32
  themePosition: 'left' | 'right';
@@ -35,7 +34,7 @@ declare const StyledButtonIconWrapper: import("@emotion/native").StyledComponent
35
34
  ref?: import("react").Ref<View> | undefined;
36
35
  }>;
37
36
  declare const StyledButtonIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
38
- theme?: Theme | undefined;
37
+ theme?: any;
39
38
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
40
39
  } & {
41
40
  disabled?: boolean | undefined;
@@ -1,17 +1,17 @@
1
1
  import { View, TouchableOpacity } from 'react-native';
2
2
  export declare const ButtonContainer: 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
  ref?: import("react").Ref<TouchableOpacity> | undefined;
7
7
  }>;
8
8
  export declare const IconWrapper: 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 const ButtonText: 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
  }, {}, {}>;
@@ -1,19 +1,19 @@
1
1
  import { TouchableOpacity, View } from 'react-native';
2
2
  import type { ViewProps } from 'react-native';
3
3
  declare const StyledContainer: import("@emotion/native").StyledComponent<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 StyledCalendarHeader: import("@emotion/native").StyledComponent<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 StyledCalendarDayNameCell: import("@emotion/native").StyledComponent<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
  themeItemWidth?: number | undefined;
@@ -21,7 +21,7 @@ declare const StyledCalendarDayNameCell: import("@emotion/native").StyledCompone
21
21
  ref?: import("react").Ref<View> | undefined;
22
22
  }>;
23
23
  declare const StyledCalendarCell: import("@emotion/native").StyledComponent<import("react-native").TouchableOpacityProps & {
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
  variant?: "selected" | "default" | "current" | undefined;
@@ -30,13 +30,13 @@ declare const StyledCalendarCell: import("@emotion/native").StyledComponent<impo
30
30
  ref?: import("react").Ref<TouchableOpacity> | undefined;
31
31
  }>;
32
32
  declare const StyledCalendarRow: 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 StyledCalendarRowItem: 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
  themeItemWidth?: number | undefined;
@@ -44,7 +44,7 @@ declare const StyledCalendarRowItem: import("@emotion/native").StyledComponent<V
44
44
  ref?: import("react").Ref<View> | undefined;
45
45
  }>;
46
46
  declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledComponent<ViewProps & {
47
- theme?: import("@emotion/react").Theme | undefined;
47
+ theme?: any;
48
48
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
49
49
  } & {
50
50
  themeItemWidth?: number | undefined;
@@ -52,7 +52,7 @@ declare const StyledDisabledCalendarRowItem: import("@emotion/native").StyledCom
52
52
  ref?: import("react").Ref<View> | undefined;
53
53
  }>;
54
54
  declare const StyledMark: import("@emotion/native").StyledComponent<ViewProps & {
55
- theme?: import("@emotion/react").Theme | undefined;
55
+ theme?: any;
56
56
  as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
57
57
  } & {
58
58
  variant: 'primary' | 'inverted';
@@ -1,12 +1,12 @@
1
1
  import { View } from 'react-native';
2
2
  declare const StyledDataCard: 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 Indicator: 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
  themeIntent: 'success' | 'info' | 'warning' | 'danger' | 'archived' | 'primary';
@@ -1,6 +1,6 @@
1
1
  import { View } from 'react-native';
2
2
  declare const StyledCard: 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
  themeIntent?: "primary" | "success" | "warning" | "danger" | "archived" | undefined;
@@ -2,21 +2,21 @@ import { View, ViewProps } from 'react-native';
2
2
  import { CardProps } from '../Card';
3
3
  import { PageControlProps } from '../PageControl';
4
4
  declare const StyledPageControl: import("@emotion/native").StyledComponent<PageControlProps & {
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
  declare const StyledWrapper: import("@emotion/native").StyledComponent<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 StyledCard: import("@emotion/native").StyledComponent<CardProps & {
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
  declare const StyledItemWrapper: import("@emotion/native").StyledComponent<ViewProps & {
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
  ref?: import("react").Ref<View> | undefined;