@tecsinapse/react-core 3.3.6 → 3.3.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (160) hide show
  1. package/package.json +3 -3
  2. package/dist/types/components/atoms/Avatar/Avatar.d.ts +0 -4
  3. package/dist/types/components/atoms/Avatar/Avatar.stories.d.ts +0 -8
  4. package/dist/types/components/atoms/Avatar/helpers.d.ts +0 -1
  5. package/dist/types/components/atoms/Avatar/index.d.ts +0 -2
  6. package/dist/types/components/atoms/Avatar/styled.d.ts +0 -24
  7. package/dist/types/components/atoms/Avatar/types.d.ts +0 -12
  8. package/dist/types/components/atoms/Badge/Badge.d.ts +0 -12
  9. package/dist/types/components/atoms/Badge/index.d.ts +0 -2
  10. package/dist/types/components/atoms/Badge/styled.d.ts +0 -15
  11. package/dist/types/components/atoms/BoxContent/BoxContent.d.ts +0 -7
  12. package/dist/types/components/atoms/BoxContent/BoxContent.stories.d.ts +0 -8
  13. package/dist/types/components/atoms/BoxContent/index.d.ts +0 -2
  14. package/dist/types/components/atoms/BoxContent/styled.d.ts +0 -11
  15. package/dist/types/components/atoms/Button/Button.d.ts +0 -28
  16. package/dist/types/components/atoms/Button/States/BaseState.d.ts +0 -7
  17. package/dist/types/components/atoms/Button/States/Error.d.ts +0 -4
  18. package/dist/types/components/atoms/Button/States/Loading.d.ts +0 -4
  19. package/dist/types/components/atoms/Button/States/Success.d.ts +0 -4
  20. package/dist/types/components/atoms/Button/States/index.d.ts +0 -3
  21. package/dist/types/components/atoms/Button/States/styled.d.ts +0 -7
  22. package/dist/types/components/atoms/Button/index.d.ts +0 -3
  23. package/dist/types/components/atoms/Button/styled.d.ts +0 -6
  24. package/dist/types/components/atoms/Card/Card.d.ts +0 -10
  25. package/dist/types/components/atoms/Card/Card.stories.d.ts +0 -7
  26. package/dist/types/components/atoms/Card/Footer/Footer.d.ts +0 -8
  27. package/dist/types/components/atoms/Card/Footer/index.d.ts +0 -2
  28. package/dist/types/components/atoms/Card/Header/Header.d.ts +0 -8
  29. package/dist/types/components/atoms/Card/Header/index.d.ts +0 -2
  30. package/dist/types/components/atoms/Card/index.d.ts +0 -2
  31. package/dist/types/components/atoms/Card/styled.d.ts +0 -1
  32. package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +0 -15
  33. package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -7
  34. package/dist/types/components/atoms/Checkbox/index.d.ts +0 -2
  35. package/dist/types/components/atoms/Checkbox/styled.d.ts +0 -23
  36. package/dist/types/components/atoms/Divider/Divider.d.ts +0 -8
  37. package/dist/types/components/atoms/Divider/Divider.stories.d.ts +0 -8
  38. package/dist/types/components/atoms/Divider/index.d.ts +0 -2
  39. package/dist/types/components/atoms/Divider/styled.d.ts +0 -1
  40. package/dist/types/components/atoms/GroupButton/GroupButton.d.ts +0 -32
  41. package/dist/types/components/atoms/GroupButton/GroupButton.stories.d.ts +0 -7
  42. package/dist/types/components/atoms/GroupButton/GroupButtonOption.d.ts +0 -9
  43. package/dist/types/components/atoms/GroupButton/index.d.ts +0 -4
  44. package/dist/types/components/atoms/GroupButton/styled.d.ts +0 -38
  45. package/dist/types/components/atoms/Icon/AntDesign.d.ts +0 -3
  46. package/dist/types/components/atoms/Icon/Entypo.d.ts +0 -3
  47. package/dist/types/components/atoms/Icon/Evil.d.ts +0 -3
  48. package/dist/types/components/atoms/Icon/Feather.d.ts +0 -3
  49. package/dist/types/components/atoms/Icon/FontAwesome.d.ts +0 -3
  50. package/dist/types/components/atoms/Icon/FontAwesomeFive.d.ts +0 -3
  51. package/dist/types/components/atoms/Icon/Fontisto.d.ts +0 -3
  52. package/dist/types/components/atoms/Icon/Foundation.d.ts +0 -3
  53. package/dist/types/components/atoms/Icon/Icon.d.ts +0 -15
  54. package/dist/types/components/atoms/Icon/Icon.stories.d.ts +0 -8
  55. package/dist/types/components/atoms/Icon/Ionicon.d.ts +0 -3
  56. package/dist/types/components/atoms/Icon/Material.d.ts +0 -3
  57. package/dist/types/components/atoms/Icon/MaterialCommunity.d.ts +0 -3
  58. package/dist/types/components/atoms/Icon/Octicon.d.ts +0 -3
  59. package/dist/types/components/atoms/Icon/SimpleLine.d.ts +0 -3
  60. package/dist/types/components/atoms/Icon/Zocial.d.ts +0 -3
  61. package/dist/types/components/atoms/Icon/functions.d.ts +0 -6
  62. package/dist/types/components/atoms/Icon/index.d.ts +0 -2
  63. package/dist/types/components/atoms/Icon/styled.d.ts +0 -3
  64. package/dist/types/components/atoms/Icon/types.d.ts +0 -12
  65. package/dist/types/components/atoms/Input/Hint.d.ts +0 -10
  66. package/dist/types/components/atoms/Input/InputContainer/InputContainer.d.ts +0 -30
  67. package/dist/types/components/atoms/Input/InputElement/InputElement.d.ts +0 -13
  68. package/dist/types/components/atoms/Input/InputMaskElement/InputMaskElement.d.ts +0 -16
  69. package/dist/types/components/atoms/Input/PressableInputContainer/PressableInputContainer.d.ts +0 -11
  70. package/dist/types/components/atoms/Input/PressableInputContainer/index.d.ts +0 -2
  71. package/dist/types/components/atoms/Input/PressableInputContainer/styled.d.ts +0 -5
  72. package/dist/types/components/atoms/Input/hooks/useInputFocus.d.ts +0 -5
  73. package/dist/types/components/atoms/Input/hooks/useNumberMask.d.ts +0 -8
  74. package/dist/types/components/atoms/Input/hooks/useStringMask.d.ts +0 -8
  75. package/dist/types/components/atoms/Input/index.d.ts +0 -13
  76. package/dist/types/components/atoms/Input/styled.d.ts +0 -58
  77. package/dist/types/components/atoms/Paper/Paper.d.ts +0 -9
  78. package/dist/types/components/atoms/Paper/Paper.stories.d.ts +0 -7
  79. package/dist/types/components/atoms/Paper/index.d.ts +0 -2
  80. package/dist/types/components/atoms/Paper/styled.d.ts +0 -1
  81. package/dist/types/components/atoms/PressableSurface/PressableSurface.d.ts +0 -11
  82. package/dist/types/components/atoms/PressableSurface/index.d.ts +0 -2
  83. package/dist/types/components/atoms/ProgressBar/ProgressBar.d.ts +0 -12
  84. package/dist/types/components/atoms/ProgressBar/ProgressBar.stories.d.ts +0 -7
  85. package/dist/types/components/atoms/ProgressBar/index.d.ts +0 -2
  86. package/dist/types/components/atoms/ProgressBar/styled.d.ts +0 -19
  87. package/dist/types/components/atoms/RadioButton/RadioButton.d.ts +0 -15
  88. package/dist/types/components/atoms/RadioButton/RadioButton.stories.d.ts +0 -7
  89. package/dist/types/components/atoms/RadioButton/index.d.ts +0 -2
  90. package/dist/types/components/atoms/RadioButton/styled.d.ts +0 -27
  91. package/dist/types/components/atoms/Switch/Switch.d.ts +0 -16
  92. package/dist/types/components/atoms/Switch/Switch.stories.d.ts +0 -8
  93. package/dist/types/components/atoms/Switch/animation.d.ts +0 -2
  94. package/dist/types/components/atoms/Switch/index.d.ts +0 -3
  95. package/dist/types/components/atoms/Switch/styled.d.ts +0 -4
  96. package/dist/types/components/atoms/Tag/Tag.d.ts +0 -15
  97. package/dist/types/components/atoms/Tag/index.d.ts +0 -2
  98. package/dist/types/components/atoms/Tag/styled.d.ts +0 -22
  99. package/dist/types/components/atoms/Text/Text.d.ts +0 -20
  100. package/dist/types/components/atoms/Text/Text.stories.d.ts +0 -8
  101. package/dist/types/components/atoms/Text/functions.d.ts +0 -2
  102. package/dist/types/components/atoms/Text/index.d.ts +0 -2
  103. package/dist/types/components/atoms/Text/styled.d.ts +0 -6
  104. package/dist/types/components/atoms/shared/PaperAndCard.d.ts +0 -3
  105. package/dist/types/components/molecules/Calendar/Calendar.d.ts +0 -22
  106. package/dist/types/components/molecules/Calendar/Calendar.stories.d.ts +0 -7
  107. package/dist/types/components/molecules/Calendar/components/MemoizedYearCard.d.ts +0 -10
  108. package/dist/types/components/molecules/Calendar/components/MonthWeek.d.ts +0 -13
  109. package/dist/types/components/molecules/Calendar/components/SelectYear.d.ts +0 -12
  110. package/dist/types/components/molecules/Calendar/components/Weekdays.d.ts +0 -8
  111. package/dist/types/components/molecules/Calendar/components/index.d.ts +0 -4
  112. package/dist/types/components/molecules/Calendar/index.d.ts +0 -2
  113. package/dist/types/components/molecules/Calendar/styled.d.ts +0 -63
  114. package/dist/types/components/molecules/ControlledDateTimeSelector/ControlledDateTimeSelector.d.ts +0 -20
  115. package/dist/types/components/molecules/ControlledDateTimeSelector/index.d.ts +0 -2
  116. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +0 -19
  117. package/dist/types/components/molecules/DatePicker/index.d.ts +0 -3
  118. package/dist/types/components/molecules/DatePicker/styled.d.ts +0 -11
  119. package/dist/types/components/molecules/DateTimePicker/DateTimePicker.d.ts +0 -17
  120. package/dist/types/components/molecules/DateTimePicker/index.d.ts +0 -2
  121. package/dist/types/components/molecules/DateTimePicker/styled.d.ts +0 -6
  122. package/dist/types/components/molecules/DateTimeSelector/DateTimeSelector.d.ts +0 -28
  123. package/dist/types/components/molecules/DateTimeSelector/Selector.d.ts +0 -17
  124. package/dist/types/components/molecules/DateTimeSelector/index.d.ts +0 -2
  125. package/dist/types/components/molecules/DateTimeSelector/styled.d.ts +0 -48
  126. package/dist/types/components/molecules/Grid/functions.d.ts +0 -3
  127. package/dist/types/components/molecules/Grid/index.d.ts +0 -42
  128. package/dist/types/components/molecules/HintInputContainer/HintInputContainer.d.ts +0 -17
  129. package/dist/types/components/molecules/HintInputContainer/index.d.ts +0 -2
  130. package/dist/types/components/molecules/HintInputContainer/styled.d.ts +0 -0
  131. package/dist/types/components/molecules/IconTextButton/IconComponent.d.ts +0 -9
  132. package/dist/types/components/molecules/IconTextButton/IconTextButton.d.ts +0 -8
  133. package/dist/types/components/molecules/IconTextButton/index.d.ts +0 -2
  134. package/dist/types/components/molecules/InputPassword/InputPasswordIcon.d.ts +0 -8
  135. package/dist/types/components/molecules/InputPassword/index.d.ts +0 -1
  136. package/dist/types/components/molecules/InputPassword/styled.d.ts +0 -5
  137. package/dist/types/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +0 -11
  138. package/dist/types/components/molecules/LabeledSwitch/index.d.ts +0 -1
  139. package/dist/types/components/molecules/Snackbar/Snackbar.d.ts +0 -21
  140. package/dist/types/components/molecules/Snackbar/index.d.ts +0 -2
  141. package/dist/types/components/molecules/Snackbar/styled.d.ts +0 -37
  142. package/dist/types/components/molecules/TextArea/TextArea.d.ts +0 -14
  143. package/dist/types/components/molecules/TextArea/index.d.ts +0 -3
  144. package/dist/types/components/molecules/TextArea/styled.d.ts +0 -2
  145. package/dist/types/hooks/index.d.ts +0 -2
  146. package/dist/types/hooks/useDebouncedState.d.ts +0 -2
  147. package/dist/types/hooks/useTheme.d.ts +0 -2
  148. package/dist/types/index.d.ts +0 -66
  149. package/dist/types/styles/ThemeProvider.d.ts +0 -4
  150. package/dist/types/styles/definitions.d.ts +0 -45
  151. package/dist/types/styles/light.d.ts +0 -2
  152. package/dist/types/types/defaults.d.ts +0 -134
  153. package/dist/types/utils/IPhoneXHelper.d.ts +0 -4
  154. package/dist/types/utils/ResponsiveFontSize.d.ts +0 -3
  155. package/dist/types/utils/extractNumbersFromString.d.ts +0 -2
  156. package/dist/types/utils/formatWithMask.d.ts +0 -3
  157. package/dist/types/utils/index.d.ts +0 -7
  158. package/dist/types/utils/lightenDarkenColor.d.ts +0 -1
  159. package/dist/types/utils/masks.d.ts +0 -12
  160. package/dist/types/utils/variantComplement.d.ts +0 -6
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-core",
3
3
  "description": "TecSinapse hybrid React components",
4
- "version": "3.3.6",
4
+ "version": "3.3.7-beta.0",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -34,8 +34,8 @@
34
34
  "homepage": "https://tecsinapse.github.io/design-system/",
35
35
  "peerDependencies": {
36
36
  "react": "^18.0.0",
37
- "react-native": "^0.71.0",
37
+ "react-native": "^0.72.0",
38
38
  "react-native-vector-icons": "^9.2.0"
39
39
  },
40
- "gitHead": "a1489e62337d020ca4e197c864e64f464a20d1a1"
40
+ "gitHead": "a1a418553abed1699b51725c61eacd30f518fe3c"
41
41
  }
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { AvatarProps } from './types';
3
- declare const Avatar: React.FC<AvatarProps>;
4
- export default Avatar;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { AvatarProps } from './types';
3
- declare const _default: {
4
- title: string;
5
- component: React.FC<AvatarProps>;
6
- };
7
- export default _default;
8
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, AvatarProps>;
@@ -1 +0,0 @@
1
- export declare const getIniciais: (name: string) => string;
@@ -1,2 +0,0 @@
1
- export { default as Avatar } from './Avatar';
2
- export type { AvatarProps } from './types';
@@ -1,24 +0,0 @@
1
- import { FC } from 'react';
2
- import { Image, View } from 'react-native';
3
- import { TextProps } from '../Text';
4
- import { AvatarProps } from './types';
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;
8
- } & Partial<import("../../../types/defaults").ThemeProviderProps & AvatarProps>, {}, {}>;
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;
12
- } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
13
- ref?: import("react").Ref<Image> | undefined;
14
- }>;
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;
18
- } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
19
- ref?: import("react").Ref<View> | undefined;
20
- }>;
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;
24
- }, {}, {}>;
@@ -1,12 +0,0 @@
1
- import { IconSize } from '../../../types/defaults';
2
- import { ImageSourcePropType } from 'react-native';
3
- import { FC } from 'react';
4
- import { TextProps } from '../Text';
5
- export type SizeAvatar = Omit<IconSize, 'centi' | 'deca'>;
6
- export interface AvatarProps {
7
- source?: ImageSourcePropType;
8
- name: string;
9
- onPress?: () => void;
10
- size?: keyof SizeAvatar;
11
- TextComponent?: FC<TextProps>;
12
- }
@@ -1,12 +0,0 @@
1
- import React, { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { ColorGradationType, ColorType } from '@tecsinapse/react-core';
4
- export interface BadgeProps {
5
- color: ColorType;
6
- tone?: ColorGradationType;
7
- style?: StyleProp<ViewStyle>;
8
- value: React.ReactNode;
9
- children?: ReactNode;
10
- }
11
- declare const Badge: ({ children, style, color, tone, value, }: BadgeProps) => JSX.Element;
12
- export default Badge;
@@ -1,2 +0,0 @@
1
- export { default as Badge } from './Badge';
2
- export type { BadgeProps } from './Badge';
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import { View } from 'react-native';
3
- import { BadgeProps } from './Badge';
4
- 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;
7
- } & Partial<import("../../../types/defaults").ThemeProviderProps & BadgeProps>, {}, {
8
- ref?: import("react").Ref<View> | undefined;
9
- }>;
10
- 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;
13
- } & Partial<import("../../../types/defaults").ThemeProviderProps & BadgeProps>, {}, {
14
- ref?: import("react").Ref<View> | undefined;
15
- }>;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { ViewProps } from 'react-native';
3
- export interface BoxContentProps extends ViewProps {
4
- variant: 'top' | 'bottom' | 'left' | 'right';
5
- }
6
- declare const BoxContent: FC<BoxContentProps>;
7
- export default BoxContent;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { BoxContentProps } from '.';
3
- declare const _default: {
4
- title: string;
5
- component: React.FC<BoxContentProps>;
6
- };
7
- export default _default;
8
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, BoxContentProps>;
@@ -1,2 +0,0 @@
1
- export { default as BoxContent } from './BoxContent';
2
- export type { BoxContentProps } from './BoxContent';
@@ -1,11 +0,0 @@
1
- export declare const elevatedStyles: ({ theme }: StyleProps) => {
2
- shadowColor: any;
3
- shadowOffset: {
4
- width: number;
5
- height: number;
6
- };
7
- shadowOpacity: number;
8
- shadowRadius: number;
9
- elevation: number;
10
- }[];
11
- export declare const StyledBoxContent: import("@emotion/native").StyledComponent<any, {}, {}>;
@@ -1,28 +0,0 @@
1
- import React, { FC } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { BorderRadiusType, ColorGradationType, ColorType, FontColorType, VariantType } from '../../../types/defaults';
4
- import { PressableSurfaceProps } from '../PressableSurface';
5
- import { TextProps } from '../Text';
6
- export type ButtonSizeType = 'small' | 'default';
7
- export type ButtonStateType = 'loading' | 'error' | 'success' | 'default';
8
- export interface ButtonStateProps {
9
- buttonSize?: ButtonSizeType;
10
- fontColor?: FontColorType;
11
- textComponent?: React.FC<TextProps>;
12
- text?: string;
13
- }
14
- export interface ButtonProps extends PressableSurfaceProps {
15
- style?: StyleProp<ViewStyle>;
16
- color?: ColorType;
17
- variant?: VariantType;
18
- tone?: ColorGradationType;
19
- frozen?: boolean | null;
20
- borderRadius?: BorderRadiusType;
21
- size?: ButtonSizeType;
22
- state?: ButtonStateType;
23
- loadingComponent?: JSX.Element;
24
- errorComponent?: JSX.Element;
25
- successComponent?: JSX.Element;
26
- }
27
- declare const Button: FC<ButtonProps>;
28
- export default Button;
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { ButtonStateProps } from '../Button';
3
- export interface BaseStateProps extends ButtonStateProps {
4
- icon: string;
5
- }
6
- declare const BaseState: FC<BaseStateProps>;
7
- export default BaseState;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { ButtonStateProps } from '../Button';
3
- declare const Error: FC<ButtonStateProps>;
4
- export default Error;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { ButtonStateProps } from '../Button';
3
- declare const Loading: FC<ButtonStateProps>;
4
- export default Loading;
@@ -1,4 +0,0 @@
1
- import { FC } from 'react';
2
- import { ButtonStateProps } from '../Button';
3
- declare const Success: FC<ButtonStateProps>;
4
- export default Success;
@@ -1,3 +0,0 @@
1
- export { default as Error } from './Error';
2
- export { default as Loading } from './Loading';
3
- export { default as Success } from './Success';
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- import { ActivityIndicator } from 'react-native';
3
- import { TextProps } from '../../Text';
4
- export declare const getStyledTextButton: (component: FC<TextProps>) => import("@emotion/native").StyledComponent<any, {}, {}>;
5
- export declare const StyledIndicator: import("@emotion/native").StyledComponent<any, {}, {
6
- ref?: import("react").Ref<ActivityIndicator> | undefined;
7
- }>;
@@ -1,3 +0,0 @@
1
- export { default as Button } from './Button';
2
- export { Error, Success, Loading } from './States';
3
- export type { ButtonProps, ButtonSizeType, ButtonStateType, ButtonStateProps, } from './Button';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { ButtonProps } from './Button';
3
- 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;
6
- } & ButtonProps & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
@@ -1,10 +0,0 @@
1
- import { PressableSurfaceProps } from '@tecsinapse/react-core';
2
- import { ReactNode } from 'react';
3
- import { GestureResponderEvent } from 'react-native';
4
- import { PaperProps } from '../Paper';
5
- export interface CardProps extends PaperProps, Omit<PressableSurfaceProps, 'style'> {
6
- onPress?: null | ((event: GestureResponderEvent) => void);
7
- children?: ReactNode;
8
- }
9
- declare const Card: ({ children, elevated, onPress, ...rest }: CardProps) => JSX.Element;
10
- export default Card;
@@ -1,7 +0,0 @@
1
- import { CardProps } from './Card';
2
- declare const _default: {
3
- title: string;
4
- component: ({ children, elevated, onPress, ...rest }: CardProps) => JSX.Element;
5
- };
6
- export default _default;
7
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CardProps>;
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- export interface FooterProps {
4
- style?: StyleProp<ViewStyle>;
5
- children?: ReactNode;
6
- }
7
- declare const Footer: ({ children, style }: FooterProps) => JSX.Element;
8
- export default Footer;
@@ -1,2 +0,0 @@
1
- export { default as Footer } from './Footer';
2
- export type { FooterProps } from './Footer';
@@ -1,8 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- export interface HeaderProps {
4
- style?: StyleProp<ViewStyle>;
5
- children?: ReactNode;
6
- }
7
- declare const Header: ({ children, style }: HeaderProps) => JSX.Element;
8
- export default Header;
@@ -1,2 +0,0 @@
1
- export { default as Header } from './Header';
2
- export type { HeaderProps } from './Header';
@@ -1,2 +0,0 @@
1
- export { default as Card } from './Card';
2
- export type { CardProps } from './Card';
@@ -1 +0,0 @@
1
- export declare const StyledCard: import("@emotion/native").StyledComponent<any, {}, {}>;
@@ -1,15 +0,0 @@
1
- import { ReactNode } from 'react';
2
- import { StyleProp, ViewStyle } from 'react-native';
3
- import { ColorGradationType, ColorType } from '@tecsinapse/react-core';
4
- export interface CheckboxProps {
5
- checked?: boolean;
6
- onChange?: (checked: boolean) => void;
7
- labelPosition?: 'left' | 'right';
8
- disabled?: boolean;
9
- color?: ColorType;
10
- colorTone?: ColorGradationType;
11
- style?: StyleProp<ViewStyle>;
12
- children?: ReactNode;
13
- }
14
- declare const Checkbox: ({ children, checked, onChange, color, colorTone, labelPosition, disabled, ...rest }: CheckboxProps) => JSX.Element;
15
- export default Checkbox;
@@ -1,7 +0,0 @@
1
- import { CheckboxProps } from './Checkbox';
2
- declare const _default: {
3
- title: string;
4
- component: ({ children, checked, onChange, color, colorTone, labelPosition, disabled, ...rest }: CheckboxProps) => JSX.Element;
5
- };
6
- export default _default;
7
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, CheckboxProps>;
@@ -1,2 +0,0 @@
1
- export { default as Checkbox } from './Checkbox';
2
- export type { CheckboxProps } from './Checkbox';
@@ -1,23 +0,0 @@
1
- /// <reference types="react" />
2
- import { View } from 'react-native';
3
- export declare const IconUncheckedStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
4
- theme?: import("@emotion/react").Theme | undefined;
5
- as?: import("react").ElementType<any> | undefined;
6
- } & Partial<any>, {}, {
7
- ref?: import("react").Ref<View> | undefined;
8
- }>;
9
- export declare const IconCheckedStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
10
- theme?: import("@emotion/react").Theme | undefined;
11
- as?: import("react").ElementType<any> | undefined;
12
- } & Partial<any>, {}, {
13
- ref?: import("react").Ref<View> | undefined;
14
- }>;
15
- export declare const IconViewStyled: import("@emotion/native").StyledComponent<any, {}, {
16
- ref?: import("react").Ref<View> | undefined;
17
- }>;
18
- export declare const ViewStyled: import("@emotion/native").StyledComponent<import("react-native").ViewProps & {
19
- theme?: import("@emotion/react").Theme | undefined;
20
- as?: import("react").ElementType<any> | undefined;
21
- }, {}, {
22
- ref?: import("react").Ref<View> | undefined;
23
- }>;
@@ -1,8 +0,0 @@
1
- import { FC } from 'react';
2
- import { ViewProps } from 'react-native';
3
- export interface DividerProps extends ViewProps {
4
- linePosition: 'top' | 'bottom';
5
- noLine?: boolean;
6
- }
7
- declare const Divider: FC<DividerProps>;
8
- export default Divider;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { DividerProps } from './Divider';
3
- declare const _default: {
4
- title: string;
5
- component: React.FC<DividerProps>;
6
- };
7
- export default _default;
8
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, DividerProps>;
@@ -1,2 +0,0 @@
1
- export { default as Divider } from './Divider';
2
- export type { DividerProps } from './Divider';
@@ -1 +0,0 @@
1
- export declare const StyledDivider: import("@emotion/native").StyledComponent<any, {}, {}>;
@@ -1,32 +0,0 @@
1
- import { StyleProp, ViewStyle } from 'react-native';
2
- import { ColorGradationType, ColorType } from '../../../types/defaults';
3
- import { ButtonSizeType } from '../Button';
4
- export interface GroupButtonOptions {
5
- activeBackgroundColor?: ColorType;
6
- activeBackgroundColorTone?: ColorGradationType;
7
- activeBorderColor?: ColorType;
8
- activeBorderColorTone?: ColorGradationType;
9
- inactiveBackgroundColor?: ColorType;
10
- inactiveBackgroundColorTone?: ColorGradationType;
11
- inactiveBorderColor?: ColorType;
12
- inactiveBorderColorTone?: ColorGradationType;
13
- activeStyle?: StyleProp<ViewStyle>;
14
- inactiveStyle?: StyleProp<ViewStyle>;
15
- disabled?: boolean;
16
- }
17
- export interface GroupButtonValue<T> {
18
- value: T;
19
- options?: GroupButtonOptions;
20
- }
21
- export interface GroupButtonProps<T> {
22
- value: T;
23
- options: GroupButtonValue<T>[];
24
- renderKey: (option?: T) => string | number | undefined;
25
- renderOption: (option: T, active: boolean) => JSX.Element;
26
- onChange: (option: T) => void;
27
- buttonSize?: ButtonSizeType;
28
- style?: StyleProp<ViewStyle>;
29
- disableAllOptions?: boolean;
30
- }
31
- declare const GroupButton: <T>({ style, ...rest }: GroupButtonProps<T>) => JSX.Element;
32
- export default GroupButton;
@@ -1,7 +0,0 @@
1
- import { GroupButtonProps } from '../GroupButton';
2
- declare const _default: {
3
- title: string;
4
- component: <T>({ style, ...rest }: GroupButtonProps<T>) => JSX.Element;
5
- };
6
- export default _default;
7
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, GroupButtonProps<any>>;
@@ -1,9 +0,0 @@
1
- import { FC } from 'react';
2
- import { TextProps } from '../Text';
3
- export interface GroupButtonOptionProps {
4
- active: boolean;
5
- description: string;
6
- TextComponent?: FC<TextProps>;
7
- }
8
- declare const GroupButtonOption: ({ TextComponent, active, description, }: GroupButtonOptionProps) => JSX.Element;
9
- export default GroupButtonOption;
@@ -1,4 +0,0 @@
1
- export { default as GroupButton } from './GroupButton';
2
- export type { GroupButtonProps, GroupButtonValue } from './GroupButton';
3
- export { default as GroupButtonOption } from './GroupButtonOption';
4
- export type { GroupButtonOptionProps } from './GroupButtonOption';
@@ -1,38 +0,0 @@
1
- import { FC } from 'react';
2
- import { ButtonSizeType } from '../Button';
3
- import { TextProps } from '../Text';
4
- import { GroupButtonOptions } from './GroupButton';
5
- import { GroupButtonOptionProps } from './GroupButtonOption';
6
- interface PressableOptions extends GroupButtonOptions {
7
- isActive: boolean;
8
- isFirstOption: boolean;
9
- isLastOption: boolean;
10
- buttonSize?: ButtonSizeType;
11
- }
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;
15
- } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
16
- ref?: import("react").Ref<import("react-native").View> | undefined;
17
- }>;
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;
21
- } & Partial<GroupButtonOptionProps> & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
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;
25
- }, {}, {
26
- ref?: import("react").Ref<import("react-native").View> | undefined;
27
- }>;
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;
31
- } & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {
32
- ref?: import("react").Ref<import("react-native").View> | undefined;
33
- }>;
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;
37
- } & PressableOptions & Partial<import("../../../types/defaults").ThemeProviderProps>, {}, {}>;
38
- export {};
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const AntDesign: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default AntDesign;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Entypo: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Entypo;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Evil: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Evil;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Feather: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Feather;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const FontAwesome: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default FontAwesome;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const FontAwesomeFive: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default FontAwesomeFive;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Fontisto: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Fontisto;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Foundation: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Foundation;
@@ -1,15 +0,0 @@
1
- import { FC } from 'react';
2
- import { StyleProp, TextStyle } from 'react-native';
3
- import { ColorGradationType, ColorType, FontColorType, IconSizeType } from '../../../types/defaults';
4
- import { IconType } from '../../../styles/definitions';
5
- export interface IconProps {
6
- name: string;
7
- size?: IconSizeType;
8
- type: IconType;
9
- fontColor?: FontColorType;
10
- colorVariant?: ColorType;
11
- colorTone?: ColorGradationType;
12
- style?: StyleProp<TextStyle>;
13
- }
14
- declare const Icon: FC<IconProps>;
15
- export default Icon;
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { IconProps } from './Icon';
3
- declare const _default: {
4
- title: string;
5
- component: React.FC<IconProps>;
6
- };
7
- export default _default;
8
- export declare const Base: import("@storybook/types").AnnotatedStoryFn<import("@storybook/react/dist/types-0a347bb9").R, IconProps>;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Ionicon: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Ionicon;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Material: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Material;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const MaterialCommunity: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default MaterialCommunity;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Octicon: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Octicon;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const SimpleLine: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default SimpleLine;
@@ -1,3 +0,0 @@
1
- import { IconInternalProps } from './types';
2
- declare const Zocial: ({ size, color, name, ...rest }: IconInternalProps) => JSX.Element;
3
- export default Zocial;
@@ -1,6 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { ColorGradationType, ColorType } from '@tecsinapse/react-core';
3
- import { IconInternalProps } from './types';
4
- export declare const registerCustomIconType: (id: string, customIcon: any) => void;
5
- export declare const getIconComponent: (type: IconType) => ComponentType<IconInternalProps>;
6
- export declare const getIconColor: (colorVariant: ColorType | undefined, colorGradation: ColorGradationType | undefined, fontColor: FontColorType, theme: ThemeProp) => string;
@@ -1,2 +0,0 @@
1
- export { default as Icon } from './Icon';
2
- export type { IconProps } from './Icon';
@@ -1,3 +0,0 @@
1
- import { ComponentType } from 'react';
2
- import { IconRNVIProps } from './types';
3
- export declare const getStyledIcon: (Component: ComponentType<IconRNVIProps>, size: IconSizeType) => import("@emotion/native").StyledComponent<any, {}, {}>;
@@ -1,12 +0,0 @@
1
- import { ColorValue, StyleProp, TextProps, TextStyle } from 'react-native';
2
- import { IconSizeType } from '@tecsinapse/react-core';
3
- export interface IconRNVIProps extends TextProps {
4
- name: string;
5
- color?: ColorValue | number | undefined;
6
- }
7
- export interface IconInternalProps {
8
- size: IconSizeType;
9
- color: string;
10
- name: string;
11
- style?: StyleProp<TextStyle>;
12
- }
@@ -1,10 +0,0 @@
1
- import { FC } from 'react';
2
- import { InputVariantType } from '../Input';
3
- import { TextProps } from '../Text';
4
- interface HintProps {
5
- text?: string;
6
- variant: InputVariantType;
7
- TextComponent?: FC<TextProps>;
8
- }
9
- declare const Hint: FC<HintProps>;
10
- export default Hint;