@tecsinapse/react-core 3.3.6 → 3.3.7
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.
- package/package.json +3 -3
- package/dist/types/components/atoms/Avatar/Avatar.d.ts +0 -4
- package/dist/types/components/atoms/Avatar/Avatar.stories.d.ts +0 -8
- package/dist/types/components/atoms/Avatar/helpers.d.ts +0 -1
- package/dist/types/components/atoms/Avatar/index.d.ts +0 -2
- package/dist/types/components/atoms/Avatar/styled.d.ts +0 -24
- package/dist/types/components/atoms/Avatar/types.d.ts +0 -12
- package/dist/types/components/atoms/Badge/Badge.d.ts +0 -12
- package/dist/types/components/atoms/Badge/index.d.ts +0 -2
- package/dist/types/components/atoms/Badge/styled.d.ts +0 -15
- package/dist/types/components/atoms/BoxContent/BoxContent.d.ts +0 -7
- package/dist/types/components/atoms/BoxContent/BoxContent.stories.d.ts +0 -8
- package/dist/types/components/atoms/BoxContent/index.d.ts +0 -2
- package/dist/types/components/atoms/BoxContent/styled.d.ts +0 -11
- package/dist/types/components/atoms/Button/Button.d.ts +0 -28
- package/dist/types/components/atoms/Button/States/BaseState.d.ts +0 -7
- package/dist/types/components/atoms/Button/States/Error.d.ts +0 -4
- package/dist/types/components/atoms/Button/States/Loading.d.ts +0 -4
- package/dist/types/components/atoms/Button/States/Success.d.ts +0 -4
- package/dist/types/components/atoms/Button/States/index.d.ts +0 -3
- package/dist/types/components/atoms/Button/States/styled.d.ts +0 -7
- package/dist/types/components/atoms/Button/index.d.ts +0 -3
- package/dist/types/components/atoms/Button/styled.d.ts +0 -6
- package/dist/types/components/atoms/Card/Card.d.ts +0 -10
- package/dist/types/components/atoms/Card/Card.stories.d.ts +0 -7
- package/dist/types/components/atoms/Card/Footer/Footer.d.ts +0 -8
- package/dist/types/components/atoms/Card/Footer/index.d.ts +0 -2
- package/dist/types/components/atoms/Card/Header/Header.d.ts +0 -8
- package/dist/types/components/atoms/Card/Header/index.d.ts +0 -2
- package/dist/types/components/atoms/Card/index.d.ts +0 -2
- package/dist/types/components/atoms/Card/styled.d.ts +0 -1
- package/dist/types/components/atoms/Checkbox/Checkbox.d.ts +0 -15
- package/dist/types/components/atoms/Checkbox/Checkbox.stories.d.ts +0 -7
- package/dist/types/components/atoms/Checkbox/index.d.ts +0 -2
- package/dist/types/components/atoms/Checkbox/styled.d.ts +0 -23
- package/dist/types/components/atoms/Divider/Divider.d.ts +0 -8
- package/dist/types/components/atoms/Divider/Divider.stories.d.ts +0 -8
- package/dist/types/components/atoms/Divider/index.d.ts +0 -2
- package/dist/types/components/atoms/Divider/styled.d.ts +0 -1
- package/dist/types/components/atoms/GroupButton/GroupButton.d.ts +0 -32
- package/dist/types/components/atoms/GroupButton/GroupButton.stories.d.ts +0 -7
- package/dist/types/components/atoms/GroupButton/GroupButtonOption.d.ts +0 -9
- package/dist/types/components/atoms/GroupButton/index.d.ts +0 -4
- package/dist/types/components/atoms/GroupButton/styled.d.ts +0 -38
- package/dist/types/components/atoms/Icon/AntDesign.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Entypo.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Evil.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Feather.d.ts +0 -3
- package/dist/types/components/atoms/Icon/FontAwesome.d.ts +0 -3
- package/dist/types/components/atoms/Icon/FontAwesomeFive.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Fontisto.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Foundation.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Icon.d.ts +0 -15
- package/dist/types/components/atoms/Icon/Icon.stories.d.ts +0 -8
- package/dist/types/components/atoms/Icon/Ionicon.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Material.d.ts +0 -3
- package/dist/types/components/atoms/Icon/MaterialCommunity.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Octicon.d.ts +0 -3
- package/dist/types/components/atoms/Icon/SimpleLine.d.ts +0 -3
- package/dist/types/components/atoms/Icon/Zocial.d.ts +0 -3
- package/dist/types/components/atoms/Icon/functions.d.ts +0 -6
- package/dist/types/components/atoms/Icon/index.d.ts +0 -2
- package/dist/types/components/atoms/Icon/styled.d.ts +0 -3
- package/dist/types/components/atoms/Icon/types.d.ts +0 -12
- package/dist/types/components/atoms/Input/Hint.d.ts +0 -10
- package/dist/types/components/atoms/Input/InputContainer/InputContainer.d.ts +0 -30
- package/dist/types/components/atoms/Input/InputElement/InputElement.d.ts +0 -13
- package/dist/types/components/atoms/Input/InputMaskElement/InputMaskElement.d.ts +0 -16
- package/dist/types/components/atoms/Input/PressableInputContainer/PressableInputContainer.d.ts +0 -11
- package/dist/types/components/atoms/Input/PressableInputContainer/index.d.ts +0 -2
- package/dist/types/components/atoms/Input/PressableInputContainer/styled.d.ts +0 -5
- package/dist/types/components/atoms/Input/hooks/useInputFocus.d.ts +0 -5
- package/dist/types/components/atoms/Input/hooks/useNumberMask.d.ts +0 -8
- package/dist/types/components/atoms/Input/hooks/useStringMask.d.ts +0 -8
- package/dist/types/components/atoms/Input/index.d.ts +0 -13
- package/dist/types/components/atoms/Input/styled.d.ts +0 -58
- package/dist/types/components/atoms/Paper/Paper.d.ts +0 -9
- package/dist/types/components/atoms/Paper/Paper.stories.d.ts +0 -7
- package/dist/types/components/atoms/Paper/index.d.ts +0 -2
- package/dist/types/components/atoms/Paper/styled.d.ts +0 -1
- package/dist/types/components/atoms/PressableSurface/PressableSurface.d.ts +0 -11
- package/dist/types/components/atoms/PressableSurface/index.d.ts +0 -2
- package/dist/types/components/atoms/ProgressBar/ProgressBar.d.ts +0 -12
- package/dist/types/components/atoms/ProgressBar/ProgressBar.stories.d.ts +0 -7
- package/dist/types/components/atoms/ProgressBar/index.d.ts +0 -2
- package/dist/types/components/atoms/ProgressBar/styled.d.ts +0 -19
- package/dist/types/components/atoms/RadioButton/RadioButton.d.ts +0 -15
- package/dist/types/components/atoms/RadioButton/RadioButton.stories.d.ts +0 -7
- package/dist/types/components/atoms/RadioButton/index.d.ts +0 -2
- package/dist/types/components/atoms/RadioButton/styled.d.ts +0 -27
- package/dist/types/components/atoms/Switch/Switch.d.ts +0 -16
- package/dist/types/components/atoms/Switch/Switch.stories.d.ts +0 -8
- package/dist/types/components/atoms/Switch/animation.d.ts +0 -2
- package/dist/types/components/atoms/Switch/index.d.ts +0 -3
- package/dist/types/components/atoms/Switch/styled.d.ts +0 -4
- package/dist/types/components/atoms/Tag/Tag.d.ts +0 -15
- package/dist/types/components/atoms/Tag/index.d.ts +0 -2
- package/dist/types/components/atoms/Tag/styled.d.ts +0 -22
- package/dist/types/components/atoms/Text/Text.d.ts +0 -20
- package/dist/types/components/atoms/Text/Text.stories.d.ts +0 -8
- package/dist/types/components/atoms/Text/functions.d.ts +0 -2
- package/dist/types/components/atoms/Text/index.d.ts +0 -2
- package/dist/types/components/atoms/Text/styled.d.ts +0 -6
- package/dist/types/components/atoms/shared/PaperAndCard.d.ts +0 -3
- package/dist/types/components/molecules/Calendar/Calendar.d.ts +0 -22
- package/dist/types/components/molecules/Calendar/Calendar.stories.d.ts +0 -7
- package/dist/types/components/molecules/Calendar/components/MemoizedYearCard.d.ts +0 -10
- package/dist/types/components/molecules/Calendar/components/MonthWeek.d.ts +0 -13
- package/dist/types/components/molecules/Calendar/components/SelectYear.d.ts +0 -12
- package/dist/types/components/molecules/Calendar/components/Weekdays.d.ts +0 -8
- package/dist/types/components/molecules/Calendar/components/index.d.ts +0 -4
- package/dist/types/components/molecules/Calendar/index.d.ts +0 -2
- package/dist/types/components/molecules/Calendar/styled.d.ts +0 -63
- package/dist/types/components/molecules/ControlledDateTimeSelector/ControlledDateTimeSelector.d.ts +0 -20
- package/dist/types/components/molecules/ControlledDateTimeSelector/index.d.ts +0 -2
- package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +0 -19
- package/dist/types/components/molecules/DatePicker/index.d.ts +0 -3
- package/dist/types/components/molecules/DatePicker/styled.d.ts +0 -11
- package/dist/types/components/molecules/DateTimePicker/DateTimePicker.d.ts +0 -17
- package/dist/types/components/molecules/DateTimePicker/index.d.ts +0 -2
- package/dist/types/components/molecules/DateTimePicker/styled.d.ts +0 -6
- package/dist/types/components/molecules/DateTimeSelector/DateTimeSelector.d.ts +0 -28
- package/dist/types/components/molecules/DateTimeSelector/Selector.d.ts +0 -17
- package/dist/types/components/molecules/DateTimeSelector/index.d.ts +0 -2
- package/dist/types/components/molecules/DateTimeSelector/styled.d.ts +0 -48
- package/dist/types/components/molecules/Grid/functions.d.ts +0 -3
- package/dist/types/components/molecules/Grid/index.d.ts +0 -42
- package/dist/types/components/molecules/HintInputContainer/HintInputContainer.d.ts +0 -17
- package/dist/types/components/molecules/HintInputContainer/index.d.ts +0 -2
- package/dist/types/components/molecules/HintInputContainer/styled.d.ts +0 -0
- package/dist/types/components/molecules/IconTextButton/IconComponent.d.ts +0 -9
- package/dist/types/components/molecules/IconTextButton/IconTextButton.d.ts +0 -8
- package/dist/types/components/molecules/IconTextButton/index.d.ts +0 -2
- package/dist/types/components/molecules/InputPassword/InputPasswordIcon.d.ts +0 -8
- package/dist/types/components/molecules/InputPassword/index.d.ts +0 -1
- package/dist/types/components/molecules/InputPassword/styled.d.ts +0 -5
- package/dist/types/components/molecules/LabeledSwitch/LabeledSwitch.d.ts +0 -11
- package/dist/types/components/molecules/LabeledSwitch/index.d.ts +0 -1
- package/dist/types/components/molecules/Snackbar/Snackbar.d.ts +0 -21
- package/dist/types/components/molecules/Snackbar/index.d.ts +0 -2
- package/dist/types/components/molecules/Snackbar/styled.d.ts +0 -37
- package/dist/types/components/molecules/TextArea/TextArea.d.ts +0 -14
- package/dist/types/components/molecules/TextArea/index.d.ts +0 -3
- package/dist/types/components/molecules/TextArea/styled.d.ts +0 -2
- package/dist/types/hooks/index.d.ts +0 -2
- package/dist/types/hooks/useDebouncedState.d.ts +0 -2
- package/dist/types/hooks/useTheme.d.ts +0 -2
- package/dist/types/index.d.ts +0 -66
- package/dist/types/styles/ThemeProvider.d.ts +0 -4
- package/dist/types/styles/definitions.d.ts +0 -45
- package/dist/types/styles/light.d.ts +0 -2
- package/dist/types/types/defaults.d.ts +0 -134
- package/dist/types/utils/IPhoneXHelper.d.ts +0 -4
- package/dist/types/utils/ResponsiveFontSize.d.ts +0 -3
- package/dist/types/utils/extractNumbersFromString.d.ts +0 -2
- package/dist/types/utils/formatWithMask.d.ts +0 -3
- package/dist/types/utils/index.d.ts +0 -7
- package/dist/types/utils/lightenDarkenColor.d.ts +0 -1
- package/dist/types/utils/masks.d.ts +0 -12
- package/dist/types/utils/variantComplement.d.ts +0 -6
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
export type Color = {
|
|
3
|
-
primary: ColorGradation;
|
|
4
|
-
secondary: ColorGradation;
|
|
5
|
-
error: ColorGradation;
|
|
6
|
-
success: ColorGradation;
|
|
7
|
-
info: ColorGradation;
|
|
8
|
-
warning: ColorGradation;
|
|
9
|
-
};
|
|
10
|
-
export type TypographyVariation = {
|
|
11
|
-
h1: Typography;
|
|
12
|
-
h2: Typography;
|
|
13
|
-
h3: Typography;
|
|
14
|
-
h4: Typography;
|
|
15
|
-
h5: Typography;
|
|
16
|
-
base: Typography;
|
|
17
|
-
sub: Typography;
|
|
18
|
-
label: Typography;
|
|
19
|
-
};
|
|
20
|
-
export type Miscellaneous = {
|
|
21
|
-
shadow: string;
|
|
22
|
-
overlay: string;
|
|
23
|
-
bodyColor: string;
|
|
24
|
-
surfaceColor: string;
|
|
25
|
-
};
|
|
26
|
-
export type Spacing = {
|
|
27
|
-
nano: string;
|
|
28
|
-
micro: string;
|
|
29
|
-
mili: string;
|
|
30
|
-
centi: string;
|
|
31
|
-
deca: string;
|
|
32
|
-
kilo: string;
|
|
33
|
-
mega: string;
|
|
34
|
-
giga: string;
|
|
35
|
-
tera: string;
|
|
36
|
-
peta: string;
|
|
37
|
-
hexa: string;
|
|
38
|
-
};
|
|
39
|
-
export type IconSize = {
|
|
40
|
-
micro: string;
|
|
41
|
-
mili: string;
|
|
42
|
-
centi: string;
|
|
43
|
-
deca: string;
|
|
44
|
-
kilo: string;
|
|
45
|
-
mega: string;
|
|
46
|
-
};
|
|
47
|
-
export type BorderRadius = {
|
|
48
|
-
nano: string;
|
|
49
|
-
micro: string;
|
|
50
|
-
mili: string;
|
|
51
|
-
centi: string;
|
|
52
|
-
deca: string;
|
|
53
|
-
pill: string;
|
|
54
|
-
};
|
|
55
|
-
export type BorderWidth = {
|
|
56
|
-
pico: string;
|
|
57
|
-
nano: string;
|
|
58
|
-
};
|
|
59
|
-
export type Typography = {
|
|
60
|
-
lineHeight: string;
|
|
61
|
-
fontSize: string;
|
|
62
|
-
};
|
|
63
|
-
export type ColorGradation = {
|
|
64
|
-
xlight: string;
|
|
65
|
-
light: string;
|
|
66
|
-
medium: string;
|
|
67
|
-
dark: string;
|
|
68
|
-
xdark: string;
|
|
69
|
-
};
|
|
70
|
-
export type FontStack = {
|
|
71
|
-
default: string;
|
|
72
|
-
mono: string;
|
|
73
|
-
};
|
|
74
|
-
export type FontColor = {
|
|
75
|
-
light: string;
|
|
76
|
-
medium: string;
|
|
77
|
-
dark: string;
|
|
78
|
-
orange: string;
|
|
79
|
-
};
|
|
80
|
-
export type ZIndex = {
|
|
81
|
-
default: number;
|
|
82
|
-
absolute: number;
|
|
83
|
-
drawer: number;
|
|
84
|
-
select: number;
|
|
85
|
-
input: number;
|
|
86
|
-
popover: number;
|
|
87
|
-
tooltip: number;
|
|
88
|
-
header: number;
|
|
89
|
-
backdrop: number;
|
|
90
|
-
sidebar: number;
|
|
91
|
-
modal: number;
|
|
92
|
-
};
|
|
93
|
-
export type FontWeight = {
|
|
94
|
-
regular: string;
|
|
95
|
-
bold: string;
|
|
96
|
-
black: string;
|
|
97
|
-
};
|
|
98
|
-
export type Breakpoints = {
|
|
99
|
-
sm: number;
|
|
100
|
-
md: number;
|
|
101
|
-
lg: number;
|
|
102
|
-
};
|
|
103
|
-
export type ThemeProp = {
|
|
104
|
-
color: Color;
|
|
105
|
-
miscellaneous: Miscellaneous;
|
|
106
|
-
spacing: Spacing;
|
|
107
|
-
iconSize: IconSize;
|
|
108
|
-
borderRadius: BorderRadius;
|
|
109
|
-
borderWidth: BorderWidth;
|
|
110
|
-
typography: TypographyVariation;
|
|
111
|
-
font: {
|
|
112
|
-
color: FontColor;
|
|
113
|
-
stack: FontStack;
|
|
114
|
-
weight: FontWeight;
|
|
115
|
-
files: FontWeight;
|
|
116
|
-
};
|
|
117
|
-
zIndex: ZIndex;
|
|
118
|
-
breakpoints: Breakpoints;
|
|
119
|
-
};
|
|
120
|
-
export interface ThemeProviderProps {
|
|
121
|
-
children?: ReactNode;
|
|
122
|
-
theme: ThemeProp;
|
|
123
|
-
}
|
|
124
|
-
export type StyleProps = ThemeProviderProps;
|
|
125
|
-
export type ColorType = keyof Color;
|
|
126
|
-
export type SpacingType = keyof Spacing;
|
|
127
|
-
export type TypographyVariationType = keyof TypographyVariation;
|
|
128
|
-
export type FontWeightType = keyof FontWeight;
|
|
129
|
-
export type VariantType = 'filled' | 'outlined' | 'text';
|
|
130
|
-
export type ColorGradationType = keyof ColorGradation;
|
|
131
|
-
export type FontColorType = keyof FontColor;
|
|
132
|
-
export type BorderRadiusType = keyof BorderRadius;
|
|
133
|
-
export type FontStackType = keyof FontStack;
|
|
134
|
-
export type IconSizeType = keyof IconSize;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export { extractDigitsFromString, extractNumbersFromString, } from './extractNumbersFromString';
|
|
2
|
-
export * from './formatWithMask';
|
|
3
|
-
export * from './IPhoneXHelper';
|
|
4
|
-
export { lightenDarkenColor } from './lightenDarkenColor';
|
|
5
|
-
export * from './masks';
|
|
6
|
-
export * from './ResponsiveFontSize';
|
|
7
|
-
export * from './variantComplement';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lightenDarkenColor: (color: string, variation: number) => string;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const Masks: {
|
|
2
|
-
CPF: string[];
|
|
3
|
-
CNPJ: string[];
|
|
4
|
-
DATE: string[];
|
|
5
|
-
HOUR: string[];
|
|
6
|
-
MONTH_YEAR: string[];
|
|
7
|
-
CEP: string[];
|
|
8
|
-
PHONE: string[];
|
|
9
|
-
PHONE_EXTENDED: string[];
|
|
10
|
-
COMBINED_PHONE: (value: string) => string[];
|
|
11
|
-
COMBINED_CPF_CNPJ: (value: string) => string[];
|
|
12
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ColorGradationType, ColorType, FontColorType, VariantType } from '../types/defaults';
|
|
2
|
-
export declare const fontColorVC: Record<VariantType, FontColorType>;
|
|
3
|
-
export declare const colorVC: Record<VariantType, ColorType>;
|
|
4
|
-
export declare const colorGradationVC: Record<VariantType, ColorGradationType>;
|
|
5
|
-
export declare const borderColorVC: Record<VariantType, ColorType>;
|
|
6
|
-
export declare const borderColorGradationVC: Record<VariantType, ColorGradationType>;
|