@televet/kibble-ui 0.1.0 → 1.0.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.
- package/README.md +190 -30
- package/build/components/Banner/index.d.ts +3 -0
- package/build/components/Button/index.d.ts +5 -0
- package/build/components/Input/index.d.ts +3 -0
- package/build/index.d.ts +5 -3
- package/build/index.js +335 -12575
- package/build/index.js.map +1 -1
- package/build/providers/ThemeProvider/index.d.ts +5 -0
- package/build/theme/index.d.ts +33 -0
- package/build/theme/tokens/blur.d.ts +12 -0
- package/build/theme/tokens/borders.d.ts +15 -0
- package/build/theme/tokens/colors.d.ts +194 -0
- package/build/theme/tokens/fontSizes.d.ts +17 -0
- package/build/theme/tokens/fontWeights.d.ts +13 -0
- package/build/theme/tokens/fonts.d.ts +7 -0
- package/build/theme/tokens/letterSpacings.d.ts +17 -0
- package/build/theme/tokens/lineHeights.d.ts +19 -0
- package/build/theme/tokens/radii.d.ts +13 -0
- package/build/theme/tokens/shadows.d.ts +27 -0
- package/build/theme/tokens/sizes.d.ts +27 -0
- package/build/theme/tokens/space.d.ts +37 -0
- package/build/theme/tokens/transition.d.ts +28 -0
- package/build/theme/tokens/zIndeces.d.ts +17 -0
- package/package.json +33 -29
- package/build/index.es.js +0 -12692
- package/build/index.es.js.map +0 -1
- package/build/providers/ThemeProvider/ThemeProvider.d.ts +0 -5
- package/build/theme/theme.d.ts +0 -2
- package/build/theme/tokens/colors/colors.d.ts +0 -190
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ISemanticTokens, TColors } from './tokens/colors';
|
|
2
|
+
import { Tblur } from './tokens/blur';
|
|
3
|
+
import { Tborders } from './tokens/borders';
|
|
4
|
+
import { TRadii } from './tokens/radii';
|
|
5
|
+
import { TShadows } from './tokens/shadows';
|
|
6
|
+
import { TSpace } from './tokens/space';
|
|
7
|
+
import { TSizes } from './tokens/sizes';
|
|
8
|
+
import { TTransition } from './tokens/transition';
|
|
9
|
+
import { TFonts } from './tokens/fonts';
|
|
10
|
+
import { TFontSizes } from './tokens/fontSizes';
|
|
11
|
+
import { TFontWeights } from './tokens/fontWeights';
|
|
12
|
+
import { TLineHeights } from './tokens/lineHeights';
|
|
13
|
+
import { TZIndices } from './tokens/zIndeces';
|
|
14
|
+
declare const theme: ITheme;
|
|
15
|
+
export interface ITheme {
|
|
16
|
+
blur: Tblur;
|
|
17
|
+
borders: Tborders;
|
|
18
|
+
colors: TColors;
|
|
19
|
+
radii: TRadii;
|
|
20
|
+
shadows: TShadows;
|
|
21
|
+
sizes: TSizes;
|
|
22
|
+
fonts: TFonts;
|
|
23
|
+
fontSizes: TFontSizes;
|
|
24
|
+
fontWeights: TFontWeights;
|
|
25
|
+
lineHeights: TLineHeights;
|
|
26
|
+
space: TSpace;
|
|
27
|
+
transition: TTransition;
|
|
28
|
+
zIndices: TZIndices;
|
|
29
|
+
semanticTokens: ISemanticTokens;
|
|
30
|
+
initialColorMode: string;
|
|
31
|
+
useSystemColorMode: boolean;
|
|
32
|
+
}
|
|
33
|
+
export default theme;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
declare const borders: {
|
|
2
|
+
none: number;
|
|
3
|
+
'1px': string;
|
|
4
|
+
'2px': string;
|
|
5
|
+
'4px': string;
|
|
6
|
+
'8px': string;
|
|
7
|
+
};
|
|
8
|
+
export declare type Tborders = {
|
|
9
|
+
none: number;
|
|
10
|
+
'1px': string;
|
|
11
|
+
'2px': string;
|
|
12
|
+
'4px': string;
|
|
13
|
+
'8px': string;
|
|
14
|
+
};
|
|
15
|
+
export default borders;
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
export declare const baseColors: IBaseColors;
|
|
2
|
+
export declare const semanticTokens: ISemanticTokens;
|
|
3
|
+
interface IBaseColors {
|
|
4
|
+
transparent: string;
|
|
5
|
+
current: string;
|
|
6
|
+
black: string;
|
|
7
|
+
white: string;
|
|
8
|
+
whiteAlpha: {
|
|
9
|
+
50: string;
|
|
10
|
+
100: string;
|
|
11
|
+
200: string;
|
|
12
|
+
300: string;
|
|
13
|
+
400: string;
|
|
14
|
+
500: string;
|
|
15
|
+
600: string;
|
|
16
|
+
700: string;
|
|
17
|
+
800: string;
|
|
18
|
+
900: string;
|
|
19
|
+
};
|
|
20
|
+
blackAlpha: {
|
|
21
|
+
50: string;
|
|
22
|
+
100: string;
|
|
23
|
+
200: string;
|
|
24
|
+
300: string;
|
|
25
|
+
400: string;
|
|
26
|
+
500: string;
|
|
27
|
+
600: string;
|
|
28
|
+
700: string;
|
|
29
|
+
800: string;
|
|
30
|
+
900: string;
|
|
31
|
+
};
|
|
32
|
+
gray: {
|
|
33
|
+
50: string;
|
|
34
|
+
100: string;
|
|
35
|
+
200: string;
|
|
36
|
+
300: string;
|
|
37
|
+
400: string;
|
|
38
|
+
500: string;
|
|
39
|
+
600: string;
|
|
40
|
+
700: string;
|
|
41
|
+
800: string;
|
|
42
|
+
900: string;
|
|
43
|
+
};
|
|
44
|
+
red: {
|
|
45
|
+
50: string;
|
|
46
|
+
100: string;
|
|
47
|
+
200: string;
|
|
48
|
+
300: string;
|
|
49
|
+
400: string;
|
|
50
|
+
500: string;
|
|
51
|
+
600: string;
|
|
52
|
+
700: string;
|
|
53
|
+
800: string;
|
|
54
|
+
900: string;
|
|
55
|
+
};
|
|
56
|
+
orange: {
|
|
57
|
+
50: string;
|
|
58
|
+
100: string;
|
|
59
|
+
200: string;
|
|
60
|
+
300: string;
|
|
61
|
+
400: string;
|
|
62
|
+
500: string;
|
|
63
|
+
600: string;
|
|
64
|
+
700: string;
|
|
65
|
+
800: string;
|
|
66
|
+
900: string;
|
|
67
|
+
};
|
|
68
|
+
yellow: {
|
|
69
|
+
50: string;
|
|
70
|
+
100: string;
|
|
71
|
+
200: string;
|
|
72
|
+
300: string;
|
|
73
|
+
400: string;
|
|
74
|
+
500: string;
|
|
75
|
+
600: string;
|
|
76
|
+
700: string;
|
|
77
|
+
800: string;
|
|
78
|
+
900: string;
|
|
79
|
+
};
|
|
80
|
+
green: {
|
|
81
|
+
50: string;
|
|
82
|
+
100: string;
|
|
83
|
+
200: string;
|
|
84
|
+
300: string;
|
|
85
|
+
400: string;
|
|
86
|
+
500: string;
|
|
87
|
+
600: string;
|
|
88
|
+
700: string;
|
|
89
|
+
800: string;
|
|
90
|
+
900: string;
|
|
91
|
+
};
|
|
92
|
+
teal: {
|
|
93
|
+
50: string;
|
|
94
|
+
100: string;
|
|
95
|
+
200: string;
|
|
96
|
+
300: string;
|
|
97
|
+
400: string;
|
|
98
|
+
500: string;
|
|
99
|
+
600: string;
|
|
100
|
+
700: string;
|
|
101
|
+
800: string;
|
|
102
|
+
900: string;
|
|
103
|
+
};
|
|
104
|
+
blue: {
|
|
105
|
+
50: string;
|
|
106
|
+
100: string;
|
|
107
|
+
200: string;
|
|
108
|
+
300: string;
|
|
109
|
+
400: string;
|
|
110
|
+
500: string;
|
|
111
|
+
600: string;
|
|
112
|
+
700: string;
|
|
113
|
+
800: string;
|
|
114
|
+
900: string;
|
|
115
|
+
};
|
|
116
|
+
comet: {
|
|
117
|
+
50: string;
|
|
118
|
+
100: string;
|
|
119
|
+
200: string;
|
|
120
|
+
300: string;
|
|
121
|
+
400: string;
|
|
122
|
+
500: string;
|
|
123
|
+
600: string;
|
|
124
|
+
700: string;
|
|
125
|
+
800: string;
|
|
126
|
+
900: string;
|
|
127
|
+
};
|
|
128
|
+
}
|
|
129
|
+
export interface ISemanticTokens {
|
|
130
|
+
text: {
|
|
131
|
+
onLight: string;
|
|
132
|
+
linkOnLight: string;
|
|
133
|
+
onLightSubtle: string;
|
|
134
|
+
onDark: string;
|
|
135
|
+
headline: string;
|
|
136
|
+
placeholder: string;
|
|
137
|
+
success: string;
|
|
138
|
+
warning: string;
|
|
139
|
+
error: string;
|
|
140
|
+
};
|
|
141
|
+
background: {
|
|
142
|
+
light: string;
|
|
143
|
+
grayLight: string;
|
|
144
|
+
grayDark: string;
|
|
145
|
+
tealLight: string;
|
|
146
|
+
dark: string;
|
|
147
|
+
table: string;
|
|
148
|
+
overlay: string;
|
|
149
|
+
info: string;
|
|
150
|
+
error: string;
|
|
151
|
+
warning: string;
|
|
152
|
+
success: string;
|
|
153
|
+
};
|
|
154
|
+
icon: {
|
|
155
|
+
onLight: string;
|
|
156
|
+
onLightSubtle: string;
|
|
157
|
+
onDark: string;
|
|
158
|
+
inactive: string;
|
|
159
|
+
active: string;
|
|
160
|
+
success: string;
|
|
161
|
+
warning: string;
|
|
162
|
+
error: string;
|
|
163
|
+
};
|
|
164
|
+
border: {
|
|
165
|
+
default: string;
|
|
166
|
+
dark: string;
|
|
167
|
+
focus: string;
|
|
168
|
+
info: string;
|
|
169
|
+
error: string;
|
|
170
|
+
warning: string;
|
|
171
|
+
success: string;
|
|
172
|
+
};
|
|
173
|
+
divider: {
|
|
174
|
+
onLight: string;
|
|
175
|
+
};
|
|
176
|
+
status: {
|
|
177
|
+
open: string;
|
|
178
|
+
confirmed: string;
|
|
179
|
+
success: string;
|
|
180
|
+
warning: string;
|
|
181
|
+
action: string;
|
|
182
|
+
negative: string;
|
|
183
|
+
error: string;
|
|
184
|
+
archived: string;
|
|
185
|
+
closed: string;
|
|
186
|
+
};
|
|
187
|
+
general: {
|
|
188
|
+
brand: string;
|
|
189
|
+
error: string;
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
export declare type TColors = IBaseColors & ISemanticTokens;
|
|
193
|
+
declare const colors: TColors;
|
|
194
|
+
export default colors;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const fontSizes: TFontSizes;
|
|
2
|
+
export declare type TFontSizes = {
|
|
3
|
+
xs: string;
|
|
4
|
+
sm: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
xl: string;
|
|
8
|
+
'2xl': string;
|
|
9
|
+
'3xl': string;
|
|
10
|
+
'4xl': string;
|
|
11
|
+
'5xl': string;
|
|
12
|
+
'6xl': string;
|
|
13
|
+
'7xl': string;
|
|
14
|
+
'8xl': string;
|
|
15
|
+
'9xl': string;
|
|
16
|
+
};
|
|
17
|
+
export default fontSizes;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare const fontWeights: TFontWeights;
|
|
2
|
+
export declare type TFontWeights = {
|
|
3
|
+
hairline: number;
|
|
4
|
+
thin: number;
|
|
5
|
+
light: number;
|
|
6
|
+
normal: number;
|
|
7
|
+
medium: number;
|
|
8
|
+
semibold: number;
|
|
9
|
+
bold: number;
|
|
10
|
+
extrabold: number;
|
|
11
|
+
black: number;
|
|
12
|
+
};
|
|
13
|
+
export default fontWeights;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const letterSpacings: {
|
|
2
|
+
tighter: string;
|
|
3
|
+
tight: string;
|
|
4
|
+
normal: string;
|
|
5
|
+
wide: string;
|
|
6
|
+
wider: string;
|
|
7
|
+
widest: string;
|
|
8
|
+
};
|
|
9
|
+
export declare type TLetterSpacings = {
|
|
10
|
+
tighter: string;
|
|
11
|
+
tight: string;
|
|
12
|
+
normal: string;
|
|
13
|
+
wide: string;
|
|
14
|
+
wider: string;
|
|
15
|
+
widest: string;
|
|
16
|
+
};
|
|
17
|
+
export default letterSpacings;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare const lineHeights: TLineHeights;
|
|
2
|
+
export declare type TLineHeights = {
|
|
3
|
+
normal: string;
|
|
4
|
+
none: number;
|
|
5
|
+
shorter: number;
|
|
6
|
+
short: number;
|
|
7
|
+
base: number;
|
|
8
|
+
tall: number;
|
|
9
|
+
taller: string;
|
|
10
|
+
'3': string;
|
|
11
|
+
'4': string;
|
|
12
|
+
'5': string;
|
|
13
|
+
'6': string;
|
|
14
|
+
'7': string;
|
|
15
|
+
'8': string;
|
|
16
|
+
'9': string;
|
|
17
|
+
'10': string;
|
|
18
|
+
};
|
|
19
|
+
export default lineHeights;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const shadows: {
|
|
2
|
+
xs: string;
|
|
3
|
+
sm: string;
|
|
4
|
+
base: string;
|
|
5
|
+
md: string;
|
|
6
|
+
lg: string;
|
|
7
|
+
xl: string;
|
|
8
|
+
'2xl': string;
|
|
9
|
+
outline: string;
|
|
10
|
+
inner: string;
|
|
11
|
+
none: string;
|
|
12
|
+
'dark-lg': string;
|
|
13
|
+
};
|
|
14
|
+
export declare type TShadows = {
|
|
15
|
+
xs: string;
|
|
16
|
+
sm: string;
|
|
17
|
+
base: string;
|
|
18
|
+
md: string;
|
|
19
|
+
lg: string;
|
|
20
|
+
xl: string;
|
|
21
|
+
'2xl': string;
|
|
22
|
+
outline: string;
|
|
23
|
+
inner: string;
|
|
24
|
+
none: string;
|
|
25
|
+
'dark-lg': string;
|
|
26
|
+
};
|
|
27
|
+
export default shadows;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
declare const sizes: TSizes;
|
|
2
|
+
export declare type TSizes = {
|
|
3
|
+
max: string;
|
|
4
|
+
min: string;
|
|
5
|
+
full: string;
|
|
6
|
+
'3xs': string;
|
|
7
|
+
'2xs': string;
|
|
8
|
+
xs: string;
|
|
9
|
+
sm: string;
|
|
10
|
+
md: string;
|
|
11
|
+
lg: string;
|
|
12
|
+
xl: string;
|
|
13
|
+
'2xl': string;
|
|
14
|
+
'3xl': string;
|
|
15
|
+
'4xl': string;
|
|
16
|
+
'5xl': string;
|
|
17
|
+
'6xl': string;
|
|
18
|
+
'7xl': string;
|
|
19
|
+
'8xl': string;
|
|
20
|
+
container: {
|
|
21
|
+
sm: string;
|
|
22
|
+
md: string;
|
|
23
|
+
lg: string;
|
|
24
|
+
xl: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export default sizes;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
declare const space: TSpace;
|
|
2
|
+
export declare type TSpace = {
|
|
3
|
+
px: string;
|
|
4
|
+
0.5: string;
|
|
5
|
+
1: string;
|
|
6
|
+
1.5: string;
|
|
7
|
+
2: string;
|
|
8
|
+
2.5: string;
|
|
9
|
+
3: string;
|
|
10
|
+
3.5: string;
|
|
11
|
+
4: string;
|
|
12
|
+
5: string;
|
|
13
|
+
6: string;
|
|
14
|
+
7: string;
|
|
15
|
+
8: string;
|
|
16
|
+
9: string;
|
|
17
|
+
10: string;
|
|
18
|
+
12: string;
|
|
19
|
+
14: string;
|
|
20
|
+
16: string;
|
|
21
|
+
20: string;
|
|
22
|
+
24: string;
|
|
23
|
+
28: string;
|
|
24
|
+
32: string;
|
|
25
|
+
36: string;
|
|
26
|
+
40: string;
|
|
27
|
+
44: string;
|
|
28
|
+
48: string;
|
|
29
|
+
52: string;
|
|
30
|
+
56: string;
|
|
31
|
+
60: string;
|
|
32
|
+
64: string;
|
|
33
|
+
72: string;
|
|
34
|
+
80: string;
|
|
35
|
+
96: string;
|
|
36
|
+
};
|
|
37
|
+
export default space;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
interface ITransitionProperty {
|
|
2
|
+
common: string;
|
|
3
|
+
colors: string;
|
|
4
|
+
dimensions: string;
|
|
5
|
+
position: string;
|
|
6
|
+
background: string;
|
|
7
|
+
}
|
|
8
|
+
interface ITransitionTimingFunction {
|
|
9
|
+
'ease-in': string;
|
|
10
|
+
'ease-out': string;
|
|
11
|
+
'ease-in-out': string;
|
|
12
|
+
}
|
|
13
|
+
interface ITransitionDuration {
|
|
14
|
+
'ultra-fast': string;
|
|
15
|
+
faster: string;
|
|
16
|
+
fast: string;
|
|
17
|
+
normal: string;
|
|
18
|
+
slow: string;
|
|
19
|
+
slower: string;
|
|
20
|
+
'ultra-slow': string;
|
|
21
|
+
}
|
|
22
|
+
declare const transition: TTransition;
|
|
23
|
+
export declare type TTransition = {
|
|
24
|
+
property: ITransitionProperty;
|
|
25
|
+
easing: ITransitionTimingFunction;
|
|
26
|
+
duration: ITransitionDuration;
|
|
27
|
+
};
|
|
28
|
+
export default transition;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const zIndices: TZIndices;
|
|
2
|
+
export declare type TZIndices = {
|
|
3
|
+
hide: number;
|
|
4
|
+
auto: string;
|
|
5
|
+
base: number;
|
|
6
|
+
docked: number;
|
|
7
|
+
dropdown: number;
|
|
8
|
+
sticky: number;
|
|
9
|
+
banner: number;
|
|
10
|
+
overlay: number;
|
|
11
|
+
modal: number;
|
|
12
|
+
popover: number;
|
|
13
|
+
skipLink: number;
|
|
14
|
+
toast: number;
|
|
15
|
+
tooltip: number;
|
|
16
|
+
};
|
|
17
|
+
export default zIndices;
|
package/package.json
CHANGED
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@televet/kibble-ui",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "Kibble Design System by Televet",
|
|
5
5
|
"author": "TeleVet",
|
|
6
6
|
"main": "build/index.js",
|
|
7
|
-
"
|
|
7
|
+
"types": "build/index.d.ts",
|
|
8
8
|
"files": [
|
|
9
9
|
"build"
|
|
10
10
|
],
|
|
11
11
|
"scripts": {
|
|
12
12
|
"test": "react-scripts test",
|
|
13
13
|
"eject": "react-scripts eject",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"fix:style": "npx stylelint ./src/ --fix",
|
|
19
|
-
"start:docs": "start-storybook -p 6006 -s public",
|
|
20
|
-
"build:docs": "build-storybook -s public",
|
|
21
|
-
"prepare": "husky install"
|
|
14
|
+
"fix": "npx eslint --fix ./src/ && npx stylelint ./src/ --fix",
|
|
15
|
+
"lint": "npx eslint ./src/ && npx stylelint ./src/",
|
|
16
|
+
"start": "start-storybook -p 6006 && npx rollup -c --watch",
|
|
17
|
+
"build": "build-storybook -o docs && npx rollup -c"
|
|
22
18
|
},
|
|
23
19
|
"browserslist": {
|
|
24
20
|
"production": [
|
|
@@ -42,13 +38,12 @@
|
|
|
42
38
|
"@babel/preset-env": "^7.15.0",
|
|
43
39
|
"@babel/preset-react": "^7.14.5",
|
|
44
40
|
"@babel/runtime": "^7.15.3",
|
|
45
|
-
"@chakra-ui/
|
|
46
|
-
"@chakra-ui/
|
|
47
|
-
"@chakra-ui/react": "^1.8.6",
|
|
41
|
+
"@chakra-ui/icons": "^1.0.14",
|
|
42
|
+
"@chakra-ui/react": "^1.6.5",
|
|
48
43
|
"@chakra-ui/theme-tools": "^1.3.6",
|
|
49
44
|
"@chakra-ui/storybook-addon": "^1.0.3",
|
|
50
|
-
"@emotion/react": "^11.
|
|
51
|
-
"@emotion/styled": "^11.
|
|
45
|
+
"@emotion/react": "^11.4.0",
|
|
46
|
+
"@emotion/styled": "^11.3.0",
|
|
52
47
|
"@rollup/plugin-babel": "^5.3.0",
|
|
53
48
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
54
49
|
"@rollup/plugin-node-resolve": "^13.0.4",
|
|
@@ -56,13 +51,20 @@
|
|
|
56
51
|
"@storybook/addon-docs": "^6.4.19",
|
|
57
52
|
"@storybook/addon-essentials": "6.4.19",
|
|
58
53
|
"@storybook/addon-links": "6.4.17",
|
|
54
|
+
"@storybook/addons": "^6.4.22",
|
|
59
55
|
"@storybook/node-logger": "6.4.19",
|
|
60
56
|
"@storybook/preset-create-react-app": "^3.2.0",
|
|
61
57
|
"@storybook/react": "^6.3.8",
|
|
58
|
+
"@storybook/theming": "^6.4.22",
|
|
62
59
|
"@testing-library/jest-dom": "^5.14.1",
|
|
63
60
|
"@testing-library/react": "^12.0.0",
|
|
64
61
|
"@testing-library/react-hooks": "^7.0.2",
|
|
65
62
|
"@testing-library/user-event": "^13.2.1",
|
|
63
|
+
"@types/jest": "^27.4.1",
|
|
64
|
+
"@types/node": "^17.0.21",
|
|
65
|
+
"@types/react": "^17.0.40",
|
|
66
|
+
"@types/react-dom": "^17.0.13",
|
|
67
|
+
"@types/styled-components": "^5.1.24",
|
|
66
68
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
67
69
|
"@typescript-eslint/parser": "^4.29.0",
|
|
68
70
|
"autoprefixer": "^9.8.6",
|
|
@@ -85,36 +87,38 @@
|
|
|
85
87
|
"postcss-preset-env": "^6.7.0",
|
|
86
88
|
"prettier": "^2.3.2",
|
|
87
89
|
"prop-types": "^15.7.2",
|
|
90
|
+
"react": "^16.13.1",
|
|
91
|
+
"react-dom": "^16.13.1",
|
|
88
92
|
"react-scripts": "^4.0.3",
|
|
89
93
|
"recursive-copy": "^2.0.13",
|
|
90
94
|
"rimraf": "^3.0.2",
|
|
91
95
|
"rollup": "^2.56.3",
|
|
96
|
+
"rollup-plugin-commonjs": "^10.1.0",
|
|
92
97
|
"rollup-plugin-eslint": "^7.0.0",
|
|
93
98
|
"rollup-plugin-filesize": "^9.1.1",
|
|
94
99
|
"rollup-plugin-includepaths": "^0.2.4",
|
|
100
|
+
"rollup-plugin-node-resolve": "^5.2.0",
|
|
95
101
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
96
102
|
"rollup-plugin-postcss": "^3.1.8",
|
|
97
103
|
"rollup-plugin-stylelint": "^1.0.0",
|
|
98
104
|
"rollup-plugin-terser": "^7.0.2",
|
|
99
|
-
"rollup-plugin-
|
|
100
|
-
"rollup-plugin-commonjs": "^10.1.0",
|
|
105
|
+
"rollup-plugin-typescript2": "^0.27.1",
|
|
101
106
|
"stylelint": "^13.13.1",
|
|
102
107
|
"stylelint-config-standard": "^22.0.0",
|
|
103
108
|
"stylelint-order": "^4.1.0",
|
|
104
|
-
"
|
|
105
|
-
},
|
|
106
|
-
"dependencies": {
|
|
107
|
-
"@types/jest": "^27.4.1",
|
|
108
|
-
"@types/node": "^17.0.21",
|
|
109
|
-
"@types/react": "^17.0.40",
|
|
110
|
-
"@types/react-dom": "^17.0.13",
|
|
111
|
-
"react": ">=16.8.0",
|
|
112
|
-
"react-dom": ">=16.8.0",
|
|
109
|
+
"styled-components": "^5.3.3",
|
|
113
110
|
"typescript": "^4.6.2"
|
|
114
111
|
},
|
|
115
112
|
"peerDependencies": {
|
|
116
|
-
"react": ">=
|
|
117
|
-
"
|
|
118
|
-
"
|
|
113
|
+
"@chakra-ui/react": ">=1.6.5",
|
|
114
|
+
"@chakra-ui/icons": ">=1.0.14",
|
|
115
|
+
"@chakra-ui/theme-tools": "^1.3.6",
|
|
116
|
+
"@emotion/react": "^11.4.0",
|
|
117
|
+
"@emotion/styled": "^11.3.0",
|
|
118
|
+
"prop-types": ">=15.0.0",
|
|
119
|
+
"react": ">=16.13.1",
|
|
120
|
+
"react-dom": ">=16.13.1",
|
|
121
|
+
"react-hook-form": ">=5.7.0",
|
|
122
|
+
"styled-components": ">=5.0.0"
|
|
119
123
|
}
|
|
120
124
|
}
|