@tecsinapse/react-core 3.4.13 → 3.4.14

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 (57) hide show
  1. package/dist/cjs/components/atoms/Checkbox/Checkbox.js +1 -1
  2. package/dist/cjs/components/atoms/Input/InputMaskElement/InputMaskElement.js +1 -1
  3. package/dist/cjs/components/atoms/Input/hooks/useInputFocus.js +2 -2
  4. package/dist/cjs/components/atoms/RadioButton/RadioButton.js +1 -1
  5. package/dist/cjs/components/molecules/DatePicker/DatePicker.js +1 -1
  6. package/dist/cjs/components/molecules/DateTimeSelector/Selector.js +1 -1
  7. package/dist/esm/components/atoms/Checkbox/Checkbox.js +1 -1
  8. package/dist/esm/components/atoms/Input/InputMaskElement/InputMaskElement.js +1 -1
  9. package/dist/esm/components/atoms/Input/hooks/useInputFocus.js +2 -2
  10. package/dist/esm/components/atoms/RadioButton/RadioButton.js +1 -1
  11. package/dist/esm/components/molecules/DatePicker/DatePicker.js +1 -1
  12. package/dist/esm/components/molecules/DateTimeSelector/Selector.js +1 -1
  13. package/dist/types/components/atoms/Avatar/styled.d.ts +8 -8
  14. package/dist/types/components/atoms/Badge/styled.d.ts +4 -5
  15. package/dist/types/components/atoms/BoxContent/styled.d.ts +4 -5
  16. package/dist/types/components/atoms/Button/States/styled.d.ts +4 -4
  17. package/dist/types/components/atoms/Button/styled.d.ts +2 -3
  18. package/dist/types/components/atoms/Card/styled.d.ts +2 -3
  19. package/dist/types/components/atoms/Checkbox/styled.d.ts +8 -9
  20. package/dist/types/components/atoms/Divider/styled.d.ts +4 -5
  21. package/dist/types/components/atoms/GroupButton/GroupButton.d.ts +2 -2
  22. package/dist/types/components/atoms/GroupButton/styled.d.ts +10 -10
  23. package/dist/types/components/atoms/Icon/AntDesign.d.ts +2 -2
  24. package/dist/types/components/atoms/Icon/Entypo.d.ts +2 -2
  25. package/dist/types/components/atoms/Icon/Evil.d.ts +2 -2
  26. package/dist/types/components/atoms/Icon/Feather.d.ts +2 -2
  27. package/dist/types/components/atoms/Icon/FontAwesome.d.ts +2 -2
  28. package/dist/types/components/atoms/Icon/FontAwesomeFive.d.ts +2 -2
  29. package/dist/types/components/atoms/Icon/Fontisto.d.ts +2 -2
  30. package/dist/types/components/atoms/Icon/Foundation.d.ts +2 -2
  31. package/dist/types/components/atoms/Icon/Ionicon.d.ts +2 -2
  32. package/dist/types/components/atoms/Icon/Material.d.ts +2 -2
  33. package/dist/types/components/atoms/Icon/MaterialCommunity.d.ts +2 -2
  34. package/dist/types/components/atoms/Icon/Octicon.d.ts +2 -2
  35. package/dist/types/components/atoms/Icon/SimpleLine.d.ts +2 -2
  36. package/dist/types/components/atoms/Icon/Zocial.d.ts +2 -2
  37. package/dist/types/components/atoms/Icon/styled.d.ts +2 -2
  38. package/dist/types/components/atoms/Input/PressableInputContainer/styled.d.ts +2 -3
  39. package/dist/types/components/atoms/Input/styled.d.ts +20 -21
  40. package/dist/types/components/atoms/Paper/styled.d.ts +2 -3
  41. package/dist/types/components/atoms/ProgressBar/ProgressBar.d.ts +0 -1
  42. package/dist/types/components/atoms/ProgressBar/styled.d.ts +6 -7
  43. package/dist/types/components/atoms/RadioButton/styled.d.ts +8 -9
  44. package/dist/types/components/atoms/Switch/styled.d.ts +4 -5
  45. package/dist/types/components/atoms/Tag/styled.d.ts +6 -7
  46. package/dist/types/components/atoms/Text/styled.d.ts +6 -7
  47. package/dist/types/components/molecules/Calendar/components/MonthWeek.d.ts +1 -1
  48. package/dist/types/components/molecules/Calendar/components/SelectYear.d.ts +1 -1
  49. package/dist/types/components/molecules/Calendar/components/Weekdays.d.ts +1 -1
  50. package/dist/types/components/molecules/Calendar/styled.d.ts +19 -19
  51. package/dist/types/components/molecules/DatePicker/styled.d.ts +4 -4
  52. package/dist/types/components/molecules/DateTimePicker/styled.d.ts +2 -2
  53. package/dist/types/components/molecules/DateTimeSelector/styled.d.ts +18 -19
  54. package/dist/types/components/molecules/InputPassword/styled.d.ts +2 -3
  55. package/dist/types/components/molecules/Snackbar/styled.d.ts +12 -13
  56. package/dist/types/components/molecules/TextArea/styled.d.ts +4 -5
  57. package/package.json +2 -2
@@ -16,7 +16,7 @@ const Checkbox = ({
16
16
  ...rest
17
17
  }) => {
18
18
  const handleChange = () => {
19
- onChange && onChange(!checked);
19
+ onChange?.(!checked);
20
20
  };
21
21
  return /* @__PURE__ */ React.createElement(
22
22
  reactNative.Pressable,
@@ -40,7 +40,7 @@ const InputMaskElement = React.forwardRef(
40
40
  (value2) => {
41
41
  if (maskValue !== void 0 && setMaskValue !== void 0) {
42
42
  setMaskValue(value2);
43
- } else onChange && onChange(value2);
43
+ } else onChange?.(value2);
44
44
  },
45
45
  [value]
46
46
  );
@@ -7,13 +7,13 @@ const useInputFocus = (onFocus, onBlur, focusEnabled = true) => {
7
7
  const handleFocus = React.useCallback(() => {
8
8
  if (focusEnabled) {
9
9
  setFocused(true);
10
- onFocus && onFocus();
10
+ onFocus?.();
11
11
  }
12
12
  }, [focusEnabled, setFocused, onFocus]);
13
13
  const handleBlur = React.useCallback(() => {
14
14
  if (focusEnabled) {
15
15
  setFocused(false);
16
- onBlur && onBlur();
16
+ onBlur?.();
17
17
  }
18
18
  }, [focusEnabled, setFocused, onBlur]);
19
19
  return {
@@ -16,7 +16,7 @@ const RadioButton = ({
16
16
  ...rest
17
17
  }) => {
18
18
  const handleChange = () => {
19
- onChange && onChange(!checked);
19
+ onChange?.(!checked);
20
20
  };
21
21
  return /* @__PURE__ */ React.createElement(
22
22
  reactNative.Pressable,
@@ -91,7 +91,7 @@ function DatePicker({
91
91
  }
92
92
  if (closeOnPick && value && type === "range") {
93
93
  const { lowest, highest } = value;
94
- lowest && highest && setTimeout(handleRequestCloseCalendar, 200);
94
+ if (lowest && highest) setTimeout(handleRequestCloseCalendar, 200);
95
95
  }
96
96
  }, [value, closeOnPick, type, handleRequestCloseCalendar]);
97
97
  const calendar = /* @__PURE__ */ React__namespace.createElement(
@@ -73,7 +73,7 @@ const Selector = ({
73
73
  onChange(prev);
74
74
  };
75
75
  const handlePressOut = () => {
76
- pressInTimeoutRef.current && clearTimeout(pressInTimeoutRef.current);
76
+ if (pressInTimeoutRef.current) clearTimeout(pressInTimeoutRef.current);
77
77
  };
78
78
  return /* @__PURE__ */ React__namespace.createElement(styled.SelectorRoot, { ...rest }, /* @__PURE__ */ React__namespace.createElement(
79
79
  styled.Control,
@@ -14,7 +14,7 @@ const Checkbox = ({
14
14
  ...rest
15
15
  }) => {
16
16
  const handleChange = () => {
17
- onChange && onChange(!checked);
17
+ onChange?.(!checked);
18
18
  };
19
19
  return /* @__PURE__ */ React__default.createElement(
20
20
  Pressable,
@@ -38,7 +38,7 @@ const InputMaskElement = React__default.forwardRef(
38
38
  (value2) => {
39
39
  if (maskValue !== void 0 && setMaskValue !== void 0) {
40
40
  setMaskValue(value2);
41
- } else onChange && onChange(value2);
41
+ } else onChange?.(value2);
42
42
  },
43
43
  [value]
44
44
  );
@@ -5,13 +5,13 @@ const useInputFocus = (onFocus, onBlur, focusEnabled = true) => {
5
5
  const handleFocus = useCallback(() => {
6
6
  if (focusEnabled) {
7
7
  setFocused(true);
8
- onFocus && onFocus();
8
+ onFocus?.();
9
9
  }
10
10
  }, [focusEnabled, setFocused, onFocus]);
11
11
  const handleBlur = useCallback(() => {
12
12
  if (focusEnabled) {
13
13
  setFocused(false);
14
- onBlur && onBlur();
14
+ onBlur?.();
15
15
  }
16
16
  }, [focusEnabled, setFocused, onBlur]);
17
17
  return {
@@ -14,7 +14,7 @@ const RadioButton = ({
14
14
  ...rest
15
15
  }) => {
16
16
  const handleChange = () => {
17
- onChange && onChange(!checked);
17
+ onChange?.(!checked);
18
18
  };
19
19
  return /* @__PURE__ */ React__default.createElement(
20
20
  Pressable,
@@ -71,7 +71,7 @@ function DatePicker({
71
71
  }
72
72
  if (closeOnPick && value && type === "range") {
73
73
  const { lowest, highest } = value;
74
- lowest && highest && setTimeout(handleRequestCloseCalendar, 200);
74
+ if (lowest && highest) setTimeout(handleRequestCloseCalendar, 200);
75
75
  }
76
76
  }, [value, closeOnPick, type, handleRequestCloseCalendar]);
77
77
  const calendar = /* @__PURE__ */ React.createElement(
@@ -52,7 +52,7 @@ const Selector = ({
52
52
  onChange(prev);
53
53
  };
54
54
  const handlePressOut = () => {
55
- pressInTimeoutRef.current && clearTimeout(pressInTimeoutRef.current);
55
+ if (pressInTimeoutRef.current) clearTimeout(pressInTimeoutRef.current);
56
56
  };
57
57
  return /* @__PURE__ */ React.createElement(SelectorRoot, { ...rest }, /* @__PURE__ */ React.createElement(
58
58
  Control,
@@ -3,22 +3,22 @@ import { Image, View } from 'react-native';
3
3
  import { TextProps } from '../Text';
4
4
  import { AvatarProps } from './types';
5
5
  export declare const ContainerButtonAvatar: import("@emotion/native").StyledComponent<import("../PressableSurface").PressableSurfaceProps & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
8
  } & Partial<import("../../../types/defaults").ThemeProviderProps & AvatarProps>, {}, {}>;
9
9
  export declare const StyledAvatar: import("@emotion/native").StyledComponent<import("react-native").ImageProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
12
12
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
13
13
  ref?: import("react").Ref<Image> | undefined;
14
14
  }>;
15
15
  export declare const StyledBackground: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
18
18
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
19
19
  ref?: import("react").Ref<View> | undefined;
20
20
  }>;
21
21
  export declare const getStyledTextComponent: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<TextProps & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
24
24
  }, {}, {}>;
@@ -1,15 +1,14 @@
1
- /// <reference types="react" />
2
1
  import { View } from 'react-native';
3
2
  import { BadgeProps } from './Badge';
4
3
  export declare const BadgeStyle: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & Partial<import("../../../types/defaults").ThemeProviderProps & BadgeProps>, {}, {
8
7
  ref?: import("react").Ref<View> | undefined;
9
8
  }>;
10
9
  export declare const ViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  } & Partial<import("../../../types/defaults").ThemeProviderProps & BadgeProps>, {}, {
14
13
  ref?: import("react").Ref<View> | undefined;
15
14
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { StyleProps } from '../../../types/defaults';
3
2
  import { View } from 'react-native';
4
3
  export declare const elevatedStyles: ({ theme }: Partial<StyleProps>) => {
@@ -12,11 +11,11 @@ export declare const elevatedStyles: ({ theme }: Partial<StyleProps>) => {
12
11
  elevation: number;
13
12
  }[];
14
13
  export declare const StyledBoxContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
17
16
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & {
18
17
  ref?: import("react").Ref<View> | undefined;
19
18
  } & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
22
21
  }, {}, {}>;
@@ -3,12 +3,12 @@ import { ActivityIndicator } from 'react-native';
3
3
  import { TextProps } from '../../Text';
4
4
  import { ButtonStateProps } from '../Button';
5
5
  export declare const getStyledTextButton: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<TextProps & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
8
8
  } & Partial<ButtonStateProps> & Partial<import("../../../../types/defaults").ThemeProviderProps>, {}, {}>;
9
9
  export declare const StyledIndicator: import("@emotion/native").StyledComponent<import("react-native").ActivityIndicatorProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
12
12
  } & Partial<ButtonStateProps> & Partial<import("../../../../types/defaults").ThemeProviderProps>, {}, {
13
13
  ref?: import("react").Ref<ActivityIndicator> | undefined;
14
14
  }>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from './Button';
3
2
  export declare const StyledButton: import("@emotion/native").StyledComponent<import("../PressableSurface").PressableSurfaceProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & ButtonProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
1
  import { CardProps } from './Card';
3
2
  export declare const StyledCard: import("@emotion/native").StyledComponent<import("../PressableSurface").PressableSurfaceProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & CardProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,27 +1,26 @@
1
- /// <reference types="react" />
2
1
  import { View } from 'react-native';
3
2
  import { CheckboxProps } from './Checkbox';
4
3
  export declare const IconUncheckedStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & Partial<CheckboxProps & import("../../../types/defaults").ThemeProviderProps>, {}, {
8
7
  ref?: import("react").Ref<View> | undefined;
9
8
  }>;
10
9
  export declare const IconCheckedStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  } & Partial<CheckboxProps & import("../../../types/defaults").ThemeProviderProps>, {}, {
14
13
  ref?: import("react").Ref<View> | undefined;
15
14
  }>;
16
15
  export declare const IconViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
19
18
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
20
19
  ref?: import("react").Ref<View> | undefined;
21
20
  }>;
22
21
  export declare const ViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
25
24
  }, {}, {
26
25
  ref?: import("react").Ref<View> | undefined;
27
26
  }>;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { DividerProps } from './Divider';
3
2
  export declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & {
7
6
  ref?: import("react").Ref<import("react-native").View> | undefined;
8
7
  } & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
11
10
  } & DividerProps, {}, {}>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { StyleProp, ViewStyle } from 'react-native';
3
3
  import { ColorGradationType, ColorType } from '../../../types/defaults';
4
4
  import { ButtonSizeType } from '../Button';
@@ -29,5 +29,5 @@ export interface GroupButtonProps<T> {
29
29
  style?: StyleProp<ViewStyle>;
30
30
  disableAllOptions?: boolean;
31
31
  }
32
- declare const GroupButton: <T>({ style, ...rest }: GroupButtonProps<T>) => JSX.Element;
32
+ declare const GroupButton: <T>({ style, ...rest }: GroupButtonProps<T>) => React.JSX.Element;
33
33
  export default GroupButton;
@@ -10,29 +10,29 @@ interface PressableOptions extends GroupButtonOptions {
10
10
  buttonSize?: ButtonSizeType;
11
11
  }
12
12
  export declare const StyledGroupButton: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
13
- theme?: import("@emotion/react").Theme | undefined;
14
- as?: import("react").ElementType<any> | undefined;
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
15
15
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
16
16
  ref?: import("react").Ref<import("react-native").View> | undefined;
17
17
  }>;
18
18
  export declare const getStyledGroupItemText: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<TextProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
21
21
  } & Partial<GroupButtonOptionProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
22
22
  export declare const StyledOption: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
23
+ theme?: import("@emotion/react").Theme;
24
+ as?: React.ElementType;
25
25
  }, {}, {
26
26
  ref?: import("react").Ref<import("react-native").View> | undefined;
27
27
  }>;
28
28
  export declare const StyledDivider: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
29
- theme?: import("@emotion/react").Theme | undefined;
30
- as?: import("react").ElementType<any> | undefined;
29
+ theme?: import("@emotion/react").Theme;
30
+ as?: React.ElementType;
31
31
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
32
32
  ref?: import("react").Ref<import("react-native").View> | undefined;
33
33
  }>;
34
34
  export declare const StyledPressable: import("@emotion/native").StyledComponent<import("../PressableSurface").PressableSurfaceProps & {
35
- theme?: import("@emotion/react").Theme | undefined;
36
- as?: import("react").ElementType<any> | undefined;
35
+ theme?: import("@emotion/react").Theme;
36
+ as?: React.ElementType;
37
37
  } & PressableOptions & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
38
38
  export {};
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const AntDesign: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const AntDesign: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default AntDesign;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Entypo: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Entypo: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Entypo;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Evil: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Evil: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Evil;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Feather: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Feather: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Feather;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const FontAwesome: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const FontAwesome: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default FontAwesome;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const FontAwesomeFive: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const FontAwesomeFive: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default FontAwesomeFive;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Fontisto: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Fontisto: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Fontisto;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Foundation: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Foundation: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Foundation;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Ionicon: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Ionicon: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Ionicon;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Material: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Material: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Material;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const MaterialCommunity: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const MaterialCommunity: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default MaterialCommunity;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Octicon: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Octicon: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Octicon;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const SimpleLine: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const SimpleLine: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default SimpleLine;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IconInternalProps } from './types';
3
- declare const Zocial: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
+ declare const Zocial: ({ size, color, name, ...rest }: IconInternalProps) => React.JSX.Element;
4
4
  export default Zocial;
@@ -2,6 +2,6 @@ import { ComponentType } from 'react';
2
2
  import { IconRNVIProps } from './types';
3
3
  import { IconSizeType } from '../../../types/defaults';
4
4
  export declare const getStyledIcon: (Component: ComponentType<IconRNVIProps>, size: IconSizeType) => import("@emotion/native").StyledComponent<IconRNVIProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
7
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledPressableSurface: import("@emotion/native").StyledComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View> & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  }, {}, {}>;
@@ -1,58 +1,57 @@
1
- /// <reference types="react" />
2
1
  import { TextInput } from 'react-native';
3
2
  import { InputElementProps } from '.';
4
3
  import { StyleProps } from '../../../types/defaults';
5
4
  import { InputContainerProps } from './InputContainer/InputContainer';
6
5
  export declare const disabledInputStyles: ({ disabled, theme, }: Partial<InputContainerProps> & Partial<StyleProps>) => false | import("@emotion/native").ReactNativeStyle | undefined;
7
6
  export declare const StyledIconContent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: React.ElementType;
10
9
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
11
10
  ref?: import("react").Ref<import("react-native").View> | undefined;
12
11
  }>;
13
12
  export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
14
- theme?: import("@emotion/react").Theme | undefined;
15
- as?: import("react").ElementType<any> | undefined;
13
+ theme?: import("@emotion/react").Theme;
14
+ as?: React.ElementType;
16
15
  } & Partial<InputContainerProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
17
16
  ref?: import("react").Ref<import("react-native").View> | undefined;
18
17
  }>;
19
18
  export declare const StyledInputElementBase: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
22
21
  } & InputElementProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
23
22
  ref?: import("react").Ref<TextInput> | undefined;
24
23
  }>;
25
24
  export declare const StyledLabelContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
26
- theme?: import("@emotion/react").Theme | undefined;
27
- as?: import("react").ElementType<any> | undefined;
25
+ theme?: import("@emotion/react").Theme;
26
+ as?: React.ElementType;
28
27
  } & Partial<InputContainerProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
29
28
  ref?: import("react").Ref<import("react-native").View> | undefined;
30
29
  }>;
31
30
  export declare const StyledBorderKeeper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
32
- theme?: import("@emotion/react").Theme | undefined;
33
- as?: import("react").ElementType<any> | undefined;
31
+ theme?: import("@emotion/react").Theme;
32
+ as?: React.ElementType;
34
33
  } & Partial<InputContainerProps> & Partial<import("../../../types/defaults").ThemeProviderProps> & {
35
34
  ref?: import("react").Ref<import("react-native").View> | undefined;
36
35
  } & {
37
- theme?: import("@emotion/react").Theme | undefined;
38
- as?: import("react").ElementType<any> | undefined;
36
+ theme?: import("@emotion/react").Theme;
37
+ as?: React.ElementType;
39
38
  }, {}, {}>;
40
39
  export declare const StyledInputElement: import("@emotion/native").StyledComponent<import("react-native").TextInputProps & {
41
- theme?: import("@emotion/react").Theme | undefined;
42
- as?: import("react").ElementType<any> | undefined;
40
+ theme?: import("@emotion/react").Theme;
41
+ as?: React.ElementType;
43
42
  } & InputElementProps & Partial<import("../../../types/defaults").ThemeProviderProps> & {
44
43
  ref?: import("react").Ref<TextInput> | undefined;
45
44
  } & {
46
- theme?: import("@emotion/react").Theme | undefined;
47
- as?: import("react").ElementType<any> | undefined;
45
+ theme?: import("@emotion/react").Theme;
46
+ as?: React.ElementType;
48
47
  }, {}, {}>;
49
48
  export declare const StyledHintContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
50
- theme?: import("@emotion/react").Theme | undefined;
51
- as?: import("react").ElementType<any> | undefined;
49
+ theme?: import("@emotion/react").Theme;
50
+ as?: React.ElementType;
52
51
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
53
52
  ref?: import("react").Ref<import("react-native").View> | undefined;
54
53
  }>;
55
54
  export declare const StyledHintIcon: import("@emotion/native").StyledComponent<import("../Icon").IconProps & {
56
- theme?: import("@emotion/react").Theme | undefined;
57
- as?: import("react").ElementType<any> | undefined;
55
+ theme?: import("@emotion/react").Theme;
56
+ as?: React.ElementType;
58
57
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Animated } from 'react-native';
3
2
  import { PaperProps } from './Paper';
4
3
  export declare const StyledPaper: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & PaperProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ViewProps } from 'react-native';
3
2
  import { ColorGradationType, ColorType } from '../../../types/defaults';
4
3
  export interface ProgressBarProps extends ViewProps {
@@ -1,19 +1,18 @@
1
- /// <reference types="react" />
2
1
  export declare const Container: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
6
5
  ref?: import("react").Ref<import("react-native").View> | undefined;
7
6
  }>;
8
7
  export declare const Segment: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
11
10
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
12
11
  ref?: import("react").Ref<import("react-native").View> | undefined;
13
12
  }>;
14
13
  export declare const Progress: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
17
16
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
18
17
  ref?: import("react").Ref<import("react-native").View> | undefined;
19
18
  }>;
@@ -1,27 +1,26 @@
1
- /// <reference types="react" />
2
1
  import { View } from 'react-native';
3
2
  import { RadioButtonProps } from './RadioButton';
4
3
  export declare const IconWrapper: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & Partial<RadioButtonProps & import("../../../types/defaults").ThemeProviderProps>, {}, {
8
7
  ref?: import("react").Ref<View> | undefined;
9
8
  }>;
10
9
  export declare const ScaledView: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  }, {}, {
14
13
  ref?: import("react").Ref<View> | undefined;
15
14
  }>;
16
15
  export declare const IconViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
19
18
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
20
19
  ref?: import("react").Ref<View> | undefined;
21
20
  }>;
22
21
  export declare const ViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
25
24
  }, {}, {
26
25
  ref?: import("react").Ref<View> | undefined;
27
26
  }>;
@@ -1,12 +1,11 @@
1
- /// <reference types="react" />
2
1
  import { Animated } from 'react-native';
3
2
  export declare const SWITCH_BODY_WIDTH = "40px";
4
3
  export declare const SWITCH_PIN_WIDTH = "16px";
5
4
  export declare const StyledSwitchContent: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
6
- theme?: import("@emotion/react").Theme | undefined;
7
- as?: import("react").ElementType<any> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
8
7
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
9
8
  export declare const StyledSwitch: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
12
11
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { Animated, ViewProps } from 'react-native';
3
2
  import { ColorGradationType, ColorType } from '../../../types/defaults';
4
3
  import { IconProps } from '../Icon';
5
4
  import { TagProps } from './Tag';
6
5
  export declare const StyledTagContainer: import("@emotion/native").StyledComponent<Animated.AnimatedProps<ViewProps & import("react").RefAttributes<import("react-native").View>> & {
7
- theme?: import("@emotion/react").Theme | undefined;
8
- as?: import("react").ElementType<any> | undefined;
6
+ theme?: import("@emotion/react").Theme;
7
+ as?: React.ElementType;
9
8
  } & Partial<TagProps> & Partial<import("../../../types/defaults").ThemeProviderProps> & ViewProps & {
10
9
  visible: boolean;
11
10
  } & {
@@ -13,10 +12,10 @@ export declare const StyledTagContainer: import("@emotion/native").StyledCompone
13
12
  backgroundColorVariant: ColorGradationType;
14
13
  }, {}, {}>;
15
14
  export declare const StyledLeftIcon: import("@emotion/native").StyledComponent<IconProps & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
18
17
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
19
18
  export declare const StyledCloseIcon: import("@emotion/native").StyledComponent<IconProps & {
20
- theme?: import("@emotion/react").Theme | undefined;
21
- as?: import("react").ElementType<any> | undefined;
19
+ theme?: import("@emotion/react").Theme;
20
+ as?: React.ElementType;
22
21
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,18 +1,17 @@
1
- /// <reference types="react" />
2
1
  import { TextProps } from './Text';
3
2
  import { Text as RNText } from 'react-native';
4
3
  export declare const StyledText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & TextProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
8
7
  ref?: import("react").Ref<RNText> | undefined;
9
8
  }>;
10
9
  export declare const StyledColoredText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  } & TextProps & Partial<import("../../../types/defaults").ThemeProviderProps> & {
14
13
  ref?: import("react").Ref<RNText> | undefined;
15
14
  } & {
16
- theme?: import("@emotion/react").Theme | undefined;
17
- as?: import("react").ElementType<any> | undefined;
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
18
17
  }, {}, {}>;
@@ -9,5 +9,5 @@ interface IMonthWeek<T extends SelectionType> {
9
9
  week: Date[];
10
10
  referenceDate: Date;
11
11
  }
12
- declare const _default: React.MemoExoticComponent<(<T extends SelectionType>({ week, referenceDate, type, value, TextComponent, onChange, }: IMonthWeek<T>) => JSX.Element)>;
12
+ declare const _default: React.MemoExoticComponent<(<T extends SelectionType>({ week, referenceDate, type, value, TextComponent, onChange, }: IMonthWeek<T>) => React.JSX.Element)>;
13
13
  export default _default;
@@ -8,5 +8,5 @@ export interface SelectYearProps {
8
8
  firstYear?: number;
9
9
  numColumns?: number;
10
10
  }
11
- declare const _default: React.MemoExoticComponent<({ currentYear, onSelectYear, TextComponent, yearsToShow, firstYear, numColumns, }: SelectYearProps) => JSX.Element>;
11
+ declare const _default: React.MemoExoticComponent<({ currentYear, onSelectYear, TextComponent, yearsToShow, firstYear, numColumns, }: SelectYearProps) => React.JSX.Element>;
12
12
  export default _default;
@@ -4,5 +4,5 @@ interface IWeekdays {
4
4
  locale?: Locale;
5
5
  Capitalized: React.ElementType;
6
6
  }
7
- declare const _default: React.MemoExoticComponent<({ calendar, locale, Capitalized }: IWeekdays) => JSX.Element>;
7
+ declare const _default: React.MemoExoticComponent<({ calendar, locale, Capitalized }: IWeekdays) => React.JSX.Element>;
8
8
  export default _default;
@@ -6,46 +6,46 @@ interface ButtonBorders {
6
6
  isRight?: boolean;
7
7
  }
8
8
  export declare const TitleContainer: import("@emotion/native").StyledComponent<ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
11
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
12
12
  ref?: import("react").Ref<import("react-native").View> | undefined;
13
13
  }>;
14
14
  export declare const Control: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType;
17
17
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & ButtonBorders & {
18
- align: 'start' | 'end';
18
+ align: "start" | "end";
19
19
  }, {}, {}>;
20
20
  export declare const getCapitalizedTextComponent: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<TextProps & {
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
21
+ theme?: import("@emotion/react").Theme;
22
+ as?: React.ElementType;
23
23
  }, {}, {}>;
24
24
  export declare const Content: import("@emotion/native").StyledComponent<ViewProps & {
25
- theme?: import("@emotion/react").Theme | undefined;
26
- as?: import("react").ElementType<any> | undefined;
25
+ theme?: import("@emotion/react").Theme;
26
+ as?: React.ElementType;
27
27
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & {
28
- height?: number | undefined;
28
+ height?: number;
29
29
  }, {}, {
30
30
  ref?: import("react").Ref<import("react-native").View> | undefined;
31
31
  }>;
32
32
  export declare const Week: import("@emotion/native").StyledComponent<ViewProps & {
33
- theme?: import("@emotion/react").Theme | undefined;
34
- as?: import("react").ElementType<any> | undefined;
33
+ theme?: import("@emotion/react").Theme;
34
+ as?: React.ElementType;
35
35
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
36
36
  ref?: import("react").Ref<import("react-native").View> | undefined;
37
37
  }>;
38
38
  export declare const Selected: import("@emotion/native").StyledComponent<ViewProps & {
39
- theme?: import("@emotion/react").Theme | undefined;
40
- as?: import("react").ElementType<any> | undefined;
39
+ theme?: import("@emotion/react").Theme;
40
+ as?: React.ElementType;
41
41
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & {
42
42
  selected: boolean;
43
43
  }, {}, {
44
44
  ref?: import("react").Ref<import("react-native").View> | undefined;
45
45
  }>;
46
46
  export declare const Cell: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
47
- theme?: import("@emotion/react").Theme | undefined;
48
- as?: import("react").ElementType<any> | undefined;
47
+ theme?: import("@emotion/react").Theme;
48
+ as?: React.ElementType;
49
49
  } & PressableProps & Partial<import("../../../types/defaults").ThemeProviderProps> & {
50
50
  selected: boolean;
51
51
  highlighted: boolean;
@@ -55,9 +55,9 @@ export declare const Cell: import("@emotion/native").StyledComponent<import("../
55
55
  isRangeEnd: boolean;
56
56
  }, {}, {}>;
57
57
  export declare const YearCard: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
58
- theme?: import("@emotion/react").Theme | undefined;
59
- as?: import("react").ElementType<any> | undefined;
58
+ theme?: import("@emotion/react").Theme;
59
+ as?: React.ElementType;
60
60
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & ButtonBorders & {
61
- isSelected?: boolean | undefined;
61
+ isSelected?: boolean;
62
62
  }, {}, {}>;
63
63
  export {};
@@ -2,10 +2,10 @@ import { FC } from 'react';
2
2
  import { InputContainerProps } from '../../atoms/Input';
3
3
  import { TextProps } from '../../atoms/Text';
4
4
  export declare const getStyledTextComponent: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<TextProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
5
+ theme?: import("@emotion/react").Theme;
6
+ as?: React.ElementType;
7
7
  } & Partial<InputContainerProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
8
8
  export declare const CalendarIcon: import("@emotion/native").StyledComponent<import("../../atoms/Icon").IconProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
9
+ theme?: import("@emotion/react").Theme;
10
+ as?: React.ElementType;
11
11
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,6 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { DateTimeSelectorProps } from '../DateTimeSelector';
3
3
  export declare const getStyledDateTimeSelector: (component: FC<DateTimeSelectorProps>) => import("@emotion/native").StyledComponent<DateTimeSelectorProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
6
6
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,48 +1,47 @@
1
- /// <reference types="react" />
2
1
  export declare const Root: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
6
5
  ref?: import("react").Ref<import("react-native").View> | undefined;
7
6
  }>;
8
7
  export declare const Content: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
9
- theme?: import("@emotion/react").Theme | undefined;
10
- as?: import("react").ElementType<any> | undefined;
8
+ theme?: import("@emotion/react").Theme;
9
+ as?: React.ElementType;
11
10
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
12
11
  ref?: import("react").Ref<import("react-native").View> | undefined;
13
12
  }>;
14
13
  export declare const SelectorRoot: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
15
- theme?: import("@emotion/react").Theme | undefined;
16
- as?: import("react").ElementType<any> | undefined;
14
+ theme?: import("@emotion/react").Theme;
15
+ as?: React.ElementType;
17
16
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
18
17
  ref?: import("react").Ref<import("react-native").View> | undefined;
19
18
  }>;
20
19
  export declare const SelectorValue: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
21
- theme?: import("@emotion/react").Theme | undefined;
22
- as?: import("react").ElementType<any> | undefined;
20
+ theme?: import("@emotion/react").Theme;
21
+ as?: React.ElementType;
23
22
  }, {}, {
24
23
  ref?: import("react").Ref<import("react-native").View> | undefined;
25
24
  }>;
26
25
  export declare const SelectorContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
27
- theme?: import("@emotion/react").Theme | undefined;
28
- as?: import("react").ElementType<any> | undefined;
26
+ theme?: import("@emotion/react").Theme;
27
+ as?: React.ElementType;
29
28
  } & Partial<import("../../../types/defaults").ThemeProviderProps> & {
30
- isFirst?: boolean | undefined;
31
- isLast?: boolean | undefined;
29
+ isFirst?: boolean;
30
+ isLast?: boolean;
32
31
  }, {}, {
33
32
  ref?: import("react").Ref<import("react-native").View> | undefined;
34
33
  }>;
35
34
  export declare const Control: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
36
- theme?: import("@emotion/react").Theme | undefined;
37
- as?: import("react").ElementType<any> | undefined;
35
+ theme?: import("@emotion/react").Theme;
36
+ as?: React.ElementType;
38
37
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
39
38
  export declare const Header: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
40
- theme?: import("@emotion/react").Theme | undefined;
41
- as?: import("react").ElementType<any> | undefined;
39
+ theme?: import("@emotion/react").Theme;
40
+ as?: React.ElementType;
42
41
  }, {}, {
43
42
  ref?: import("react").Ref<import("react-native").View> | undefined;
44
43
  }>;
45
44
  export declare const BackButton: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
46
- theme?: import("@emotion/react").Theme | undefined;
47
- as?: import("react").ElementType<any> | undefined;
45
+ theme?: import("@emotion/react").Theme;
46
+ as?: React.ElementType;
48
47
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const StyledPasswordButtonIcon: import("@emotion/native").StyledComponent<import("../../atoms/Button").ButtonProps & {
3
- theme?: import("@emotion/react").Theme | undefined;
4
- as?: import("react").ElementType<any> | undefined;
2
+ theme?: import("@emotion/react").Theme;
3
+ as?: React.ElementType;
5
4
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,37 +1,36 @@
1
- /// <reference types="react" />
2
1
  import { View } from 'react-native';
3
2
  import { SnackbarProps } from './Snackbar';
4
3
  export declare const SnackbarContainer: import("@emotion/native").StyledComponent<import("../../atoms/Paper").PaperProps & {
5
- theme?: import("@emotion/react").Theme | undefined;
6
- as?: import("react").ElementType<any> | undefined;
4
+ theme?: import("@emotion/react").Theme;
5
+ as?: React.ElementType;
7
6
  } & Partial<SnackbarProps & import("../../../types/defaults").ThemeProviderProps> & {
8
7
  visible: boolean;
9
8
  }, {}, {}>;
10
9
  export declare const ContentContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
11
- theme?: import("@emotion/react").Theme | undefined;
12
- as?: import("react").ElementType<any> | undefined;
10
+ theme?: import("@emotion/react").Theme;
11
+ as?: React.ElementType;
13
12
  }, {}, {
14
13
  ref?: import("react").Ref<View> | undefined;
15
14
  }>;
16
15
  export declare const IconContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
17
- theme?: import("@emotion/react").Theme | undefined;
18
- as?: import("react").ElementType<any> | undefined;
16
+ theme?: import("@emotion/react").Theme;
17
+ as?: React.ElementType;
19
18
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
20
19
  ref?: import("react").Ref<View> | undefined;
21
20
  }>;
22
21
  export declare const DismissContainer: import("@emotion/native").StyledComponent<import("../../atoms/PressableSurface").PressableSurfaceProps & {
23
- theme?: import("@emotion/react").Theme | undefined;
24
- as?: import("react").ElementType<any> | undefined;
22
+ theme?: import("@emotion/react").Theme;
23
+ as?: React.ElementType;
25
24
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
26
25
  export declare const StyledContainerFlexRow: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
27
- theme?: import("@emotion/react").Theme | undefined;
28
- as?: import("react").ElementType<any> | undefined;
26
+ theme?: import("@emotion/react").Theme;
27
+ as?: React.ElementType;
29
28
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
30
29
  ref?: import("react").Ref<View> | undefined;
31
30
  }>;
32
31
  export declare const TextContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
33
- theme?: import("@emotion/react").Theme | undefined;
34
- as?: import("react").ElementType<any> | undefined;
32
+ theme?: import("@emotion/react").Theme;
33
+ as?: React.ElementType;
35
34
  }, {}, {
36
35
  ref?: import("react").Ref<View> | undefined;
37
36
  }>;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { TextAreaProps } from './TextArea';
3
2
  export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("../../atoms/Input").InputContainerProps & Partial<import("../../atoms/Input").InputElementProps> & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
3
+ theme?: import("@emotion/react").Theme;
4
+ as?: React.ElementType;
6
5
  } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
7
6
  export declare const TextAreaInputBase: import("@emotion/native").StyledComponent<import("../../atoms/Input").InputElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
8
- theme?: import("@emotion/react").Theme | undefined;
9
- as?: import("react").ElementType<any> | undefined;
7
+ theme?: import("@emotion/react").Theme;
8
+ as?: React.ElementType;
10
9
  } & Partial<TextAreaProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-core",
3
3
  "description": "Core hybrid React components library",
4
- "version": "3.4.13",
4
+ "version": "3.4.14",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -35,5 +35,5 @@
35
35
  "react-native": ">=0.72.0",
36
36
  "react-native-vector-icons": "^9.2.0"
37
37
  },
38
- "gitHead": "56265c4e49e362349a4b93bef75555e0d6b25d64"
38
+ "gitHead": "facab9dc92fe7dfaf55579ab593fd81c95bb34c6"
39
39
  }