@tecsinapse/react-native-kit 3.5.12 → 3.5.13

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 (36) hide show
  1. package/dist/cjs/components/atoms/Button/Button.js +1 -1
  2. package/dist/cjs/components/atoms/Modal/ModalLifecycleHandler.js +11 -9
  3. package/dist/esm/components/atoms/Button/Button.js +1 -1
  4. package/dist/esm/components/atoms/Modal/ModalLifecycleHandler.js +11 -9
  5. package/dist/types/components/atoms/BottomNavigator/styled.d.ts +8 -9
  6. package/dist/types/components/atoms/GroupButton/GroupButtonOption.d.ts +0 -1
  7. package/dist/types/components/atoms/Header/styled.d.ts +6 -7
  8. package/dist/types/components/atoms/Input/styled.d.ts +2 -3
  9. package/dist/types/components/atoms/InputMask/styled.d.ts +4 -5
  10. package/dist/types/components/atoms/Modal/ui/styled.d.ts +6 -7
  11. package/dist/types/components/atoms/Skeleton/Pulse.d.ts +2 -2
  12. package/dist/types/components/atoms/Skeleton/Wave.d.ts +2 -2
  13. package/dist/types/components/atoms/Skeleton/styled.d.ts +2 -3
  14. package/dist/types/components/atoms/Text/styled.d.ts +2 -3
  15. package/dist/types/components/atoms/TextArea/styled.d.ts +4 -5
  16. package/dist/types/components/molecules/Calendar/Calendar.d.ts +0 -1
  17. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +0 -1
  18. package/dist/types/components/molecules/DatePicker/styled.d.ts +2 -3
  19. package/dist/types/components/molecules/DateTimePickerSelector/styled.d.ts +8 -9
  20. package/dist/types/components/molecules/Grid/Grid.d.ts +0 -1
  21. package/dist/types/components/molecules/Grid/Item/Item.d.ts +0 -1
  22. package/dist/types/components/molecules/IconTextButton/styled.d.ts +6 -7
  23. package/dist/types/components/molecules/LabeledSwitch/styled.d.ts +4 -5
  24. package/dist/types/components/molecules/ScrollableSelector/styled.d.ts +14 -15
  25. package/dist/types/components/molecules/Select/Select.d.ts +0 -1
  26. package/dist/types/components/molecules/Select/components/Flat.d.ts +0 -1
  27. package/dist/types/components/molecules/Select/components/Modal.d.ts +0 -1
  28. package/dist/types/components/molecules/Select/components/Option.d.ts +0 -1
  29. package/dist/types/components/molecules/Select/components/Section.d.ts +0 -1
  30. package/dist/types/components/molecules/Select/functions.d.ts +1 -1
  31. package/dist/types/components/molecules/Select/hooks/useModal.d.ts +23 -23
  32. package/dist/types/components/molecules/Select/hooks/useSelect.d.ts +23 -23
  33. package/dist/types/components/molecules/Select/styled.d.ts +24 -25
  34. package/dist/types/components/molecules/Select/types.d.ts +0 -1
  35. package/dist/types/components/molecules/Snackbar/styled.d.ts +2 -3
  36. package/package.json +3 -3
@@ -11,7 +11,7 @@ const Button = ({
11
11
  }) => {
12
12
  const handleOnPress = React.useCallback(
13
13
  (event) => {
14
- autoDismissKeyboard && reactNative.Keyboard.dismiss();
14
+ if (autoDismissKeyboard) reactNative.Keyboard.dismiss();
15
15
  onPress?.(event);
16
16
  },
17
17
  [onPress]
@@ -62,7 +62,7 @@ class ModalLifecycleHandler {
62
62
  sync = (id, modal) => {
63
63
  if (this.nodeGroup.has(id)) {
64
64
  const savedNode = this.findNode(id);
65
- savedNode && this.nodeGroup.set(id, { ...savedNode, modal });
65
+ if (savedNode) this.nodeGroup.set(id, { ...savedNode, modal });
66
66
  return;
67
67
  }
68
68
  this.nodeGroup.set(id, { id, modal });
@@ -84,7 +84,8 @@ class ModalLifecycleHandler {
84
84
  */
85
85
  remove = (id) => {
86
86
  const savedNode = this.findNode(id);
87
- savedNode && this.nodeGroup.set(id, { ...savedNode, lastVisualization: void 0 });
87
+ if (savedNode)
88
+ this.nodeGroup.set(id, { ...savedNode, lastVisualization: void 0 });
88
89
  this.update();
89
90
  };
90
91
  /**
@@ -94,7 +95,7 @@ class ModalLifecycleHandler {
94
95
  */
95
96
  findNode = (id) => {
96
97
  const node = this.nodeGroup.get(id);
97
- !node && console.warn(`No modal was found with the id "${id}"`);
98
+ if (!node) console.warn(`No modal was found with the id "${id}"`);
98
99
  return node;
99
100
  };
100
101
  /**
@@ -104,11 +105,12 @@ class ModalLifecycleHandler {
104
105
  */
105
106
  show = (id) => {
106
107
  const savedNode = this.findNode(id);
107
- savedNode && this.nodeGroup.set(id, {
108
- ...savedNode,
109
- visible: true,
110
- lastVisualization: /* @__PURE__ */ new Date()
111
- });
108
+ if (savedNode)
109
+ this.nodeGroup.set(id, {
110
+ ...savedNode,
111
+ visible: true,
112
+ lastVisualization: /* @__PURE__ */ new Date()
113
+ });
112
114
  this.update();
113
115
  };
114
116
  /**
@@ -118,7 +120,7 @@ class ModalLifecycleHandler {
118
120
  */
119
121
  close = (id) => {
120
122
  const savedNode = this.findNode(id);
121
- savedNode && this.nodeGroup.set(id, { ...savedNode, visible: false });
123
+ if (savedNode) this.nodeGroup.set(id, { ...savedNode, visible: false });
122
124
  this.update();
123
125
  };
124
126
  closeLastOpenedModal = () => {
@@ -9,7 +9,7 @@ const Button = ({
9
9
  }) => {
10
10
  const handleOnPress = useCallback(
11
11
  (event) => {
12
- autoDismissKeyboard && Keyboard.dismiss();
12
+ if (autoDismissKeyboard) Keyboard.dismiss();
13
13
  onPress?.(event);
14
14
  },
15
15
  [onPress]
@@ -60,7 +60,7 @@ class ModalLifecycleHandler {
60
60
  sync = (id, modal) => {
61
61
  if (this.nodeGroup.has(id)) {
62
62
  const savedNode = this.findNode(id);
63
- savedNode && this.nodeGroup.set(id, { ...savedNode, modal });
63
+ if (savedNode) this.nodeGroup.set(id, { ...savedNode, modal });
64
64
  return;
65
65
  }
66
66
  this.nodeGroup.set(id, { id, modal });
@@ -82,7 +82,8 @@ class ModalLifecycleHandler {
82
82
  */
83
83
  remove = (id) => {
84
84
  const savedNode = this.findNode(id);
85
- savedNode && this.nodeGroup.set(id, { ...savedNode, lastVisualization: void 0 });
85
+ if (savedNode)
86
+ this.nodeGroup.set(id, { ...savedNode, lastVisualization: void 0 });
86
87
  this.update();
87
88
  };
88
89
  /**
@@ -92,7 +93,7 @@ class ModalLifecycleHandler {
92
93
  */
93
94
  findNode = (id) => {
94
95
  const node = this.nodeGroup.get(id);
95
- !node && console.warn(`No modal was found with the id "${id}"`);
96
+ if (!node) console.warn(`No modal was found with the id "${id}"`);
96
97
  return node;
97
98
  };
98
99
  /**
@@ -102,11 +103,12 @@ class ModalLifecycleHandler {
102
103
  */
103
104
  show = (id) => {
104
105
  const savedNode = this.findNode(id);
105
- savedNode && this.nodeGroup.set(id, {
106
- ...savedNode,
107
- visible: true,
108
- lastVisualization: /* @__PURE__ */ new Date()
109
- });
106
+ if (savedNode)
107
+ this.nodeGroup.set(id, {
108
+ ...savedNode,
109
+ visible: true,
110
+ lastVisualization: /* @__PURE__ */ new Date()
111
+ });
110
112
  this.update();
111
113
  };
112
114
  /**
@@ -116,7 +118,7 @@ class ModalLifecycleHandler {
116
118
  */
117
119
  close = (id) => {
118
120
  const savedNode = this.findNode(id);
119
- savedNode && this.nodeGroup.set(id, { ...savedNode, visible: false });
121
+ if (savedNode) this.nodeGroup.set(id, { ...savedNode, visible: false });
120
122
  this.update();
121
123
  };
122
124
  closeLastOpenedModal = () => {
@@ -1,26 +1,25 @@
1
- /// <reference types="react" />
2
1
  import { PressableProps, ViewProps } from 'react-native';
3
2
  export declare const StyledView: import("@emotion/native").StyledComponent<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("@tecsinapse/react-core").ThemeProviderProps>, {}, {
7
6
  ref?: import("react").Ref<import("react-native").View> | undefined;
8
7
  }>;
9
8
  export declare const TabContainer: import("@emotion/native").StyledComponent<PressableProps & 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
  } & {
13
12
  selected: boolean;
14
13
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
15
14
  export declare const TabContent: import("@emotion/native").StyledComponent<ViewProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {
19
18
  ref?: import("react").Ref<import("react-native").View> | undefined;
20
19
  }>;
21
20
  export declare const CustomTabContent: import("@emotion/native").StyledComponent<ViewProps & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any> | undefined;
21
+ theme?: import("@emotion/react").Theme;
22
+ as?: React.ElementType;
24
23
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
25
24
  ref?: import("react").Ref<import("react-native").View> | undefined;
26
25
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GroupButtonOptionProps } from '@tecsinapse/react-core';
3
2
  declare const GroupButtonOption: (props: GroupButtonOptionProps) => JSX.Element;
4
3
  export default GroupButtonOption;
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from '@tecsinapse/react-core';
3
2
  export declare const StyledView: 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("@tecsinapse/react-core").ThemeProviderProps>, {}, {
7
6
  ref?: import("react").Ref<import("react-native").View> | undefined;
8
7
  }>;
9
8
  export declare const FloatingButton: import("@emotion/native").StyledComponent<ButtonProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
13
12
  export declare const Dummy: import("@emotion/native").StyledComponent<ButtonProps & {
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<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
@@ -1,7 +1,6 @@
1
- /// <reference types="react" />
2
1
  import { Font } from '../Text/styled';
3
2
  import { InputNativeProps } from './Input';
4
3
  export declare const StyledNativeInput: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").InputElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
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<InputNativeProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & Font, {}, {}>;
@@ -1,11 +1,10 @@
1
- /// <reference types="react" />
2
1
  import { Font } from '../Text/styled';
3
2
  import { InputMaskNativeProps } from './InputMask';
4
3
  export declare const StyledInputContainer: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").InputContainerProps & Partial<import("@tecsinapse/react-core").InputElementProps> & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
8
7
  export declare const StyledNativeInputMask: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").InputMaskElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
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<InputMaskNativeProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & Font, {}, {}>;
@@ -1,16 +1,15 @@
1
- /// <reference types="react" />
2
1
  import { Animated } from 'react-native';
3
2
  export declare const StyledPressableBackDrop: import("@emotion/native").StyledComponent<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View> & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
7
6
  export declare const BackDropView: import("@emotion/native").StyledComponent<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>> & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
11
10
  export declare const CloseBar: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
11
+ theme?: import("@emotion/react").Theme;
12
+ as?: React.ElementType;
14
13
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
15
14
  ref?: import("react").Ref<import("react-native").View> | undefined;
16
15
  }>;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IAnimationComponent } from './types';
3
- export declare const Pulse: ({ active, width, height, childrenLayout, }: IAnimationComponent) => JSX.Element;
3
+ export declare const Pulse: ({ active, width, height, childrenLayout, }: IAnimationComponent) => React.JSX.Element;
@@ -1,3 +1,3 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { IAnimationComponent } from './types';
3
- export declare const Wave: ({ active, width, height, childrenLayout, }: IAnimationComponent) => JSX.Element;
3
+ export declare const Wave: ({ active, width, height, childrenLayout, }: IAnimationComponent) => React.JSX.Element;
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  import { SkeletonProps } from './Skeleton';
3
2
  export declare const Wrapper: 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("@tecsinapse/react-core").ThemeProviderProps & SkeletonProps>, {}, {
7
6
  ref?: import("react").Ref<import("react-native").View> | undefined;
8
7
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FontStackType, FontWeightType, StyleProps } from '@tecsinapse/react-core';
3
2
  export interface Font {
4
3
  fontStack?: FontStackType;
@@ -6,6 +5,6 @@ export interface Font {
6
5
  }
7
6
  export declare const fontStyles: ({ theme, fontStack, fontWeight, }: Partial<Font & Partial<StyleProps>>) => import("@emotion/native").ReactNativeStyle;
8
7
  export declare const StyledNativeText: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
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
  } & Font & Partial<import("@tecsinapse/react-core").TextProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
@@ -1,10 +1,9 @@
1
- /// <reference types="react" />
2
1
  import { Font } from '../Text/styled';
3
2
  import { TextAreaProps } from './TextArea';
4
3
  export declare const StyledNativeInput: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").InputElementProps & import("react").RefAttributes<import("react-native").TextInput> & {
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("@tecsinapse/react-core").TextAreaProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
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
  } & Font & Partial<TextAreaProps>, {}, {}>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { CalendarProps, SelectionType } from '@tecsinapse/react-core';
3
2
  export declare const Calendar: <T extends SelectionType>({ locale, ...rest }: CalendarProps<T>) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DatePickerProps, SelectionType } from '@tecsinapse/react-core';
3
2
  export type NativeDatePickerProps<T extends SelectionType> = Omit<DatePickerProps<T>, 'CalendarComponent' | 'renderCalendar' | 'requestCloseCalendar' | 'requestShowCalendar'>;
4
3
  export declare const DatePicker: <T extends SelectionType>({ locale, onChange, value, type, ...rest }: NativeDatePickerProps<T>) => JSX.Element;
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const CalendarBoxContent: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").BoxContentProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
@@ -1,23 +1,22 @@
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("@tecsinapse/react-core").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("@tecsinapse/react-core").ThemeProviderProps>, {}, {
12
11
  ref?: import("react").Ref<import("react-native").View> | undefined;
13
12
  }>;
14
13
  export declare const BackButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").PressableSurfaceProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
18
17
  export declare const Header: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
18
+ theme?: import("@emotion/react").Theme;
19
+ as?: React.ElementType;
21
20
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
22
21
  ref?: import("react").Ref<import("react-native").View> | undefined;
23
22
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ViewProps } from 'react-native';
3
2
  import { IGrid } from '@tecsinapse/react-core';
4
3
  export type IGridNative = IGrid & Omit<ViewProps, 'children'>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DimensionValue, ViewProps } from 'react-native';
3
2
  import { IGridItem } from '@tecsinapse/react-core';
4
3
  export type IGridItemNative = IGridItem & Omit<ViewProps, 'children'> & {
@@ -1,17 +1,16 @@
1
- /// <reference types="react" />
2
1
  import { IconPositionOptions } from '@tecsinapse/react-core';
3
2
  export declare const StyledIconTextButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").ButtonProps & {
4
- autoDismissKeyboard?: boolean | undefined;
3
+ autoDismissKeyboard?: boolean;
5
4
  } & {
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("@tecsinapse/react-core").ThemeProviderProps> & {
9
8
  boxed: boolean;
10
9
  }, {}, {}>;
11
10
  export declare const StyledText: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
12
- theme?: import("@emotion/react").Theme | undefined;
13
- as?: import("react").ElementType<any> | undefined;
11
+ theme?: import("@emotion/react").Theme;
12
+ as?: React.ElementType;
14
13
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
15
14
  iconPosition: IconPositionOptions;
16
- hasIcon?: boolean | undefined;
15
+ hasIcon?: boolean;
17
16
  }, {}, {}>;
@@ -1,15 +1,14 @@
1
- /// <reference types="react" />
2
1
  import { LabelPositionOptions } from '@tecsinapse/react-core';
3
2
  import { View } from 'react-native';
4
3
  export declare const StyledView: 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
  }, {}, {
8
7
  ref?: import("react").Ref<View> | undefined;
9
8
  }>;
10
9
  export declare const StyledLabel: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").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
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
14
13
  labelPosition: LabelPositionOptions;
15
14
  }, {}, {}>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ScrollView } from 'react-native';
3
2
  interface MarkProps {
4
3
  markTop: number;
@@ -7,32 +6,32 @@ interface MarkProps {
7
6
  markWidth: number;
8
7
  }
9
8
  export declare const PickerContainer: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
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
  }, {}, {
13
12
  ref?: import("react").Ref<import("react-native").View> | undefined;
14
13
  }>;
15
14
  export declare const Block: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
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
  }, {}, {
19
18
  ref?: import("react").Ref<import("react-native").View> | undefined;
20
19
  }>;
21
20
  export declare const BlockLabels: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
22
- theme?: import("@emotion/react").Theme | undefined;
23
- as?: import("react").ElementType<any> | undefined;
21
+ theme?: import("@emotion/react").Theme;
22
+ as?: React.ElementType;
24
23
  }, {}, {
25
24
  ref?: import("react").Ref<import("react-native").View> | undefined;
26
25
  }>;
27
26
  export declare const Scroll: import("@emotion/native").StyledComponent<import("react-native").ScrollViewProps & {
28
- theme?: import("@emotion/react").Theme | undefined;
29
- as?: import("react").ElementType<any> | undefined;
27
+ theme?: import("@emotion/react").Theme;
28
+ as?: React.ElementType;
30
29
  }, {}, {
31
30
  ref?: import("react").Ref<ScrollView> | undefined;
32
31
  }>;
33
32
  export declare const DigitText: import("@emotion/native").StyledComponent<import("react-native").TextProps & {
34
- theme?: import("@emotion/react").Theme | undefined;
35
- as?: import("react").ElementType<any> | undefined;
33
+ theme?: import("@emotion/react").Theme;
34
+ as?: React.ElementType;
36
35
  } & {
37
36
  fontSize: number;
38
37
  marginBottom: number;
@@ -43,14 +42,14 @@ export declare const DigitText: import("@emotion/native").StyledComponent<import
43
42
  ref?: import("react").Ref<import("react-native").Text> | undefined;
44
43
  }>;
45
44
  export declare const Mark: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
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
  } & MarkProps & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
49
48
  ref?: import("react").Ref<import("react-native").View> | undefined;
50
49
  }>;
51
50
  export declare const StyledScrollView: import("@emotion/native").StyledComponent<import("react-native").ScrollViewProps & {
52
- theme?: import("@emotion/react").Theme | undefined;
53
- as?: import("react").ElementType<any> | undefined;
51
+ theme?: import("@emotion/react").Theme;
52
+ as?: React.ElementType;
54
53
  }, {}, {
55
54
  ref?: import("react").Ref<ScrollView> | undefined;
56
55
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectNativeProps, SelectType } from './types';
3
2
  declare function Select<Data, Type extends SelectType>(props: SelectNativeProps<Data, Type>): JSX.Element;
4
3
  export default Select;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseFlatList } from '../types';
3
2
  declare const Flat: <Data>({ options, keyExtractor, renderItem, getData, }: BaseFlatList<Data>) => JSX.Element;
4
3
  export default Flat;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { IBaseModal } from '../../../atoms/Modal';
3
2
  import { LoadingProps, OverrideModalProps, SelectType } from '../types';
4
3
  export declare const Modal: <Data, Type extends SelectType>(props: OverrideModalProps<Data, Type> & LoadingProps & IBaseModal) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { OptionData, SelectType } from '../types';
3
2
  interface IOption<Data> {
4
3
  item: OptionData<Data>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { BaseSectionList } from '../types';
3
2
  declare const Section: <Data>({ options, renderItem, getData, keyExtractor, groupLabelExtractor, }: BaseSectionList<Data>) => JSX.Element;
4
3
  export default Section;
@@ -3,7 +3,7 @@ export declare const findValue: <Data>(array: Data[], value: Data, keyExtractor:
3
3
  export declare const isOptionChecked: <Data>(type: SelectType, option: Data, src: Data[], keyExtractor: Extractor<Data>, idx: number) => boolean;
4
4
  export declare const multiBuilder: <Data>(option: Data, src: Data[], keyExtractor: Extractor<Data>) => Data[];
5
5
  export declare const singleBuilder: <Data>(option: Data, src: Data[], keyExtractor: Extractor<Data>) => Data[];
6
- export declare const isMap: <Data>(value: Data[] | Map<string, Data[]>) => boolean;
6
+ export declare const isMap: <Data>(value: Data[] | Map<string, Data[]>) => value is Map<string, Data[]>;
7
7
  export declare const mapToArray: <Data>(map: Map<string, Data[]>) => Data[];
8
8
  export declare const getMultiLabel: <Data>(value: Data[], placeholder: string, options: Data[] | Map<string, Data[]>, keyExtractor: Extractor<Data>, labelExtractor: Extractor<Data>) => string;
9
9
  export declare const getSingleLabel: <Data>(value: Data | null | undefined, placeholder: string, options: Data[] | Map<string, Data[]>, keyExtractor: Extractor<Data>, labelExtractor: Extractor<Data>) => string;
@@ -7,26 +7,26 @@ declare const useModal: <Data, Type extends SelectType>({ keyExtractor, labelExt
7
7
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
8
8
  numberOfLines?: number | undefined;
9
9
  testID?: string | undefined;
10
- borderColor?: keyof import("@tecsinapse/react-core").Color | undefined;
11
- onBlur?: (() => void) | undefined;
12
- onFocus?: (() => void) | undefined;
10
+ borderColor?: import("@tecsinapse/react-core").ColorType | undefined;
11
+ onBlur?: (() => void | never) | undefined;
12
+ onFocus?: (() => void | never) | undefined;
13
13
  disabled?: boolean | undefined;
14
14
  variant?: import("@tecsinapse/react-core").InputVariantType | undefined;
15
15
  placeholder?: string | undefined;
16
- labelColor?: keyof import("@tecsinapse/react-core").FontColor | undefined;
17
- labelColorVariant?: keyof import("@tecsinapse/react-core").Color | undefined;
18
- labelColorTone?: keyof import("@tecsinapse/react-core").ColorGradation | undefined;
19
- labelTypography?: keyof import("@tecsinapse/react-core").TypographyVariation | undefined;
20
- labelStack?: keyof import("@tecsinapse/react-core").FontStack | undefined;
16
+ labelColor?: import("@tecsinapse/react-core").FontColorType | undefined;
17
+ labelColorVariant?: import("@tecsinapse/react-core").ColorType | undefined;
18
+ labelColorTone?: import("@tecsinapse/react-core").ColorGradationType | undefined;
19
+ labelTypography?: import("@tecsinapse/react-core").TypographyVariationType | undefined;
20
+ labelStack?: import("@tecsinapse/react-core").FontStackType | undefined;
21
21
  LabelComponent?: React.FC<import("@tecsinapse/react-core").TextProps> | undefined;
22
- labelWeight?: keyof import("@tecsinapse/react-core").FontWeight | undefined;
22
+ labelWeight?: import("@tecsinapse/react-core").FontWeightType | undefined;
23
23
  leftComponent?: JSX.Element | undefined;
24
24
  rightComponent?: JSX.Element | undefined;
25
- borderColorGradation?: keyof import("@tecsinapse/react-core").ColorGradation | undefined;
25
+ borderColorGradation?: import("@tecsinapse/react-core").ColorGradationType | undefined;
26
26
  inputContainerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
27
27
  hint?: string | undefined;
28
28
  hintComponent?: JSX.Element | undefined;
29
- controlComponent?: ((onPress: () => void, displayValue?: string | undefined) => JSX.Element) | undefined;
29
+ controlComponent?: ((onPress: () => void, displayValue?: string) => JSX.Element) | undefined;
30
30
  confirmButtonText?: string | undefined;
31
31
  groupLabelExtractor?: ((title: string) => string) | undefined;
32
32
  hideSearchBar?: boolean | undefined;
@@ -34,23 +34,23 @@ declare const useModal: <Data, Type extends SelectType>({ keyExtractor, labelExt
34
34
  selectModalTitle?: string | undefined;
35
35
  selectModalTitleComponent?: JSX.Element | undefined;
36
36
  options: Data[] | Map<string, Data[]>;
37
- loading?: boolean | undefined;
38
- visible?: boolean | undefined;
39
- BoxComponent?: React.FC<any> | undefined;
40
- frozen?: boolean | undefined;
41
- isLastShown?: boolean | undefined;
42
- showCloseBar?: boolean | undefined;
43
- onClose?: (() => void) | undefined;
37
+ loading?: boolean;
38
+ visible?: boolean;
39
+ BoxComponent?: React.FC<any>;
40
+ frozen?: boolean;
41
+ isLastShown?: boolean;
42
+ showCloseBar?: boolean;
43
+ onClose?: () => void;
44
44
  children?: React.ReactNode;
45
45
  searchArg: string;
46
46
  setSearchArg: React.Dispatch<React.SetStateAction<string>>;
47
47
  ModalComponent: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
48
- theme?: import("@emotion/react").Theme | undefined;
49
- as?: React.ElementType<any> | undefined;
48
+ theme?: import("@emotion/react").Theme;
49
+ as?: React.ElementType;
50
50
  } & import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
51
51
  ref?: React.Ref<import("react-native").View> | undefined;
52
52
  }>;
53
- renderItem: ({ item }: ListRenderItemInfo<OptionData<Data>>) => JSX.Element;
53
+ renderItem: ({ item }: ListRenderItemInfo<OptionData<Data>>) => React.JSX.Element;
54
54
  getData: (_options: Data[]) => OptionData<Data>[];
55
55
  handleConfirm: () => void;
56
56
  keyExtractor: import("../types").Extractor<Data>;
@@ -58,8 +58,8 @@ declare const useModal: <Data, Type extends SelectType>({ keyExtractor, labelExt
58
58
  focused: boolean | undefined;
59
59
  type: Type;
60
60
  value: Type extends "single" ? Data | null | undefined : Data[];
61
- onSelect: (option: Type extends "single" ? Data | undefined : Data[]) => void;
62
- onSearch: ((searchArg: string) => void) | ((searchInput?: string | undefined) => Promise<Data[] | Map<string, Data[]>>) | undefined;
61
+ onSelect: (option: Type extends "single" ? Data | undefined : Data[]) => never | void;
62
+ onSearch: ((searchArg: string) => void) | ((searchInput?: string) => Promise<Data[] | Map<string, Data[]>>) | undefined;
63
63
  close: (() => void) | undefined;
64
64
  closeOnPick: boolean | undefined;
65
65
  };
@@ -1,30 +1,30 @@
1
1
  import React from 'react';
2
2
  import { SelectNativeProps, SelectType } from '../types';
3
3
  declare const useSelect: <Data, Type extends SelectType>({ value, options, keyExtractor, type, labelExtractor, placeholder, onFocus, onBlur, disabled, onSearch, label, ...rest }: SelectNativeProps<Data, Type>) => {
4
- onSelect: (option: Type extends "single" ? Data | undefined : Data[]) => void;
5
- groupLabelExtractor?: ((title: string) => string) | undefined;
6
- hideSearchBar?: boolean | undefined;
7
- searchBarPlaceholder?: string | undefined;
8
- confirmButtonText?: string | undefined;
9
- selectModalTitle?: string | undefined;
10
- selectModalTitleComponent?: JSX.Element | undefined;
11
- closeOnPick?: boolean | undefined;
12
- controlComponent?: ((onPress: () => void, displayValue?: string | undefined) => JSX.Element) | undefined;
13
- numberOfLines?: number | undefined;
4
+ onSelect: (option: Type extends "single" ? Data | undefined : Data[]) => never | void;
5
+ groupLabelExtractor?: (title: string) => string;
6
+ hideSearchBar?: boolean;
7
+ searchBarPlaceholder?: string;
8
+ confirmButtonText?: string;
9
+ selectModalTitle?: string;
10
+ selectModalTitleComponent?: JSX.Element;
11
+ closeOnPick?: boolean;
12
+ controlComponent?: (onPress: () => void, displayValue?: string) => JSX.Element;
13
+ numberOfLines?: number;
14
14
  style?: import("react-native").StyleProp<import("react-native").ViewStyle>;
15
15
  testID?: string | undefined;
16
- borderColor?: keyof import("@tecsinapse/react-core").Color | undefined;
16
+ borderColor?: import("@tecsinapse/react-core").ColorType | undefined;
17
17
  variant?: import("@tecsinapse/react-core").InputVariantType | undefined;
18
- labelColor?: keyof import("@tecsinapse/react-core").FontColor | undefined;
19
- labelColorVariant?: keyof import("@tecsinapse/react-core").Color | undefined;
20
- labelColorTone?: keyof import("@tecsinapse/react-core").ColorGradation | undefined;
21
- labelTypography?: keyof import("@tecsinapse/react-core").TypographyVariation | undefined;
22
- labelStack?: keyof import("@tecsinapse/react-core").FontStack | undefined;
18
+ labelColor?: import("@tecsinapse/react-core").FontColorType | undefined;
19
+ labelColorVariant?: import("@tecsinapse/react-core").ColorType | undefined;
20
+ labelColorTone?: import("@tecsinapse/react-core").ColorGradationType | undefined;
21
+ labelTypography?: import("@tecsinapse/react-core").TypographyVariationType | undefined;
22
+ labelStack?: import("@tecsinapse/react-core").FontStackType | undefined;
23
23
  LabelComponent?: React.FC<import("@tecsinapse/react-core").TextProps> | undefined;
24
- labelWeight?: keyof import("@tecsinapse/react-core").FontWeight | undefined;
24
+ labelWeight?: import("@tecsinapse/react-core").FontWeightType | undefined;
25
25
  leftComponent?: JSX.Element | undefined;
26
26
  rightComponent?: JSX.Element | undefined;
27
- borderColorGradation?: keyof import("@tecsinapse/react-core").ColorGradation | undefined;
27
+ borderColorGradation?: import("@tecsinapse/react-core").ColorGradationType | undefined;
28
28
  inputContainerStyle?: import("react-native").StyleProp<import("react-native").ViewStyle>;
29
29
  focused: boolean;
30
30
  hint?: string | undefined;
@@ -37,22 +37,22 @@ declare const useSelect: <Data, Type extends SelectType>({ value, options, keyEx
37
37
  loading: boolean;
38
38
  modal: {
39
39
  requestUpdate: () => void;
40
- sync: (modal: React.ReactElement<import("../../../atoms/Modal").IBaseModal, string | React.JSXElementConstructor<any>>) => null;
40
+ sync: (modal: React.ReactElement<import("../../../atoms/Modal").IBaseModal>) => null;
41
41
  show: () => void;
42
42
  close: () => void;
43
43
  };
44
44
  selectOptions: Data[] | Map<string, Data[]>;
45
45
  setSelectOptions: React.Dispatch<React.SetStateAction<Data[] | Map<string, Data[]>>>;
46
46
  value: Type extends "single" ? Data | null | undefined : Data[];
47
- options: ((searchInput?: string | undefined) => Promise<Data[] | Map<string, Data[]>>) | Data[] | Map<string, Data[]>;
47
+ options: ((searchInput?: string) => Promise<Data[] | Map<string, Data[]>>) | Data[] | Map<string, Data[]>;
48
48
  keyExtractor: import("../types").Extractor<Data>;
49
49
  type: Type;
50
50
  labelExtractor: import("../types").Extractor<Data>;
51
51
  placeholder: string | undefined;
52
- onFocus: (() => void) | undefined;
53
- onBlur: (() => void) | undefined;
52
+ onFocus: (() => void | never) | undefined;
53
+ onBlur: (() => void | never) | undefined;
54
54
  disabled: boolean | undefined;
55
- onSearch: ((searchArg: string) => void) | ((searchInput?: string | undefined) => Promise<Data[] | Map<string, Data[]>>) | undefined;
55
+ onSearch: ((searchArg: string) => void) | ((searchInput?: string) => Promise<Data[] | Map<string, Data[]>>) | undefined;
56
56
  label: string | undefined;
57
57
  };
58
58
  export default useSelect;
@@ -1,65 +1,64 @@
1
- /// <reference types="react" />
2
1
  import { InputContainerProps, PressableSurfaceProps } from '@tecsinapse/react-core';
3
2
  import { ActivityIndicator, View, ViewProps } from 'react-native';
4
3
  export declare const getStyledModal: (safeTop?: number) => import("@emotion/native").StyledComponent<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
  } & import("react-native").ModalBaseProps & import("react-native").ModalPropsIOS & import("react-native").ModalPropsAndroid & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
8
7
  ref?: import("react").Ref<View> | undefined;
9
8
  }>;
10
9
  export declare const StyledSelectionText: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").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
  } & Partial<InputContainerProps> & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
14
13
  export declare const Header: import("@emotion/native").StyledComponent<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("@tecsinapse/react-core").ThemeProviderProps>, {}, {
18
17
  ref?: import("react").Ref<View> | undefined;
19
18
  }>;
20
19
  export declare const SearchBarContainer: import("@emotion/native").StyledComponent<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
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
24
23
  ref?: import("react").Ref<View> | undefined;
25
24
  }>;
26
25
  export declare const ListItem: import("@emotion/native").StyledComponent<PressableSurfaceProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
30
29
  export declare const ModalFooter: import("@emotion/native").StyledComponent<ViewProps & {
31
- theme?: import("@emotion/react").Theme | undefined;
32
- as?: import("react").ElementType<any> | undefined;
30
+ theme?: import("@emotion/react").Theme;
31
+ as?: React.ElementType;
33
32
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
34
33
  ref?: import("react").Ref<View> | undefined;
35
34
  }>;
36
35
  export declare const SelectIcon: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").IconProps & {
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
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
40
39
  export declare const FetchIndicator: import("@emotion/native").StyledComponent<import("react-native").ActivityIndicatorProps & {
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
  }, {}, {
44
43
  ref?: import("react").Ref<ActivityIndicator> | undefined;
45
44
  }>;
46
45
  export declare const TextTitleModal: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
47
- theme?: import("@emotion/react").Theme | undefined;
48
- as?: import("react").ElementType<any> | undefined;
46
+ theme?: import("@emotion/react").Theme;
47
+ as?: React.ElementType;
49
48
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
50
49
  export declare const StyledTextItemSelect: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
51
- theme?: import("@emotion/react").Theme | undefined;
52
- as?: import("react").ElementType<any> | undefined;
50
+ theme?: import("@emotion/react").Theme;
51
+ as?: React.ElementType;
53
52
  }, {}, {}>;
54
53
  export declare const Divider: import("@emotion/native").StyledComponent<ViewProps & {
55
- theme?: import("@emotion/react").Theme | undefined;
56
- as?: import("react").ElementType<any> | undefined;
54
+ theme?: import("@emotion/react").Theme;
55
+ as?: React.ElementType;
57
56
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
58
57
  ref?: import("react").Ref<View> | undefined;
59
58
  }>;
60
59
  export declare const SectionHeader: import("@emotion/native").StyledComponent<ViewProps & {
61
- theme?: import("@emotion/react").Theme | undefined;
62
- as?: import("react").ElementType<any> | undefined;
60
+ theme?: import("@emotion/react").Theme;
61
+ as?: React.ElementType;
63
62
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {
64
63
  ref?: import("react").Ref<View> | undefined;
65
64
  }>;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputContainerProps } from '@tecsinapse/react-core';
3
2
  import { ListRenderItemInfo } from 'react-native';
4
3
  export type OptionData<T> = T & {
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
1
  export declare const SnackbarStyled: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").SnackbarProps & {
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("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-native-kit",
3
3
  "description": "React Native components library",
4
- "version": "3.5.12",
4
+ "version": "3.5.13",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@emotion/native": "~11.11.0",
20
20
  "@emotion/react": "~11.11.0",
21
- "@tecsinapse/react-core": "3.4.13",
21
+ "@tecsinapse/react-core": "3.4.14",
22
22
  "react-native-linear-gradient": "~2.8.3"
23
23
  },
24
24
  "devDependencies": {
@@ -40,5 +40,5 @@
40
40
  "react-native-safe-area-context": "^4.0.0",
41
41
  "react-native-vector-icons": "^9.2.0"
42
42
  },
43
- "gitHead": "56265c4e49e362349a4b93bef75555e0d6b25d64"
43
+ "gitHead": "facab9dc92fe7dfaf55579ab593fd81c95bb34c6"
44
44
  }