@rabelo-digital/ds-rd 1.1.1
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/dist/chunk-CZMDBTZY.js +317 -0
- package/dist/chunk-CZMDBTZY.js.map +1 -0
- package/dist/chunk-JPWULLEO.mjs +306 -0
- package/dist/chunk-JPWULLEO.mjs.map +1 -0
- package/dist/index.css +1159 -0
- package/dist/index.css.map +1 -0
- package/dist/index.d.mts +241 -0
- package/dist/index.d.ts +241 -0
- package/dist/index.js +774 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +684 -0
- package/dist/index.mjs.map +1 -0
- package/dist/tokens/index.d.mts +295 -0
- package/dist/tokens/index.d.ts +295 -0
- package/dist/tokens/index.js +48 -0
- package/dist/tokens/index.js.map +1 -0
- package/dist/tokens/index.mjs +3 -0
- package/dist/tokens/index.mjs.map +1 -0
- package/package.json +149 -0
- package/tokens.css +238 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
declare const primitiveColors: {
|
|
2
|
+
readonly blue: {
|
|
3
|
+
readonly 50: "#EAF4FB";
|
|
4
|
+
readonly 100: "#C5E0F2";
|
|
5
|
+
readonly 200: "#9BCCE9";
|
|
6
|
+
readonly 300: "#6DB7DF";
|
|
7
|
+
readonly 400: "#42A2D5";
|
|
8
|
+
readonly 500: "#1B8ECB";
|
|
9
|
+
readonly 600: "#1170A8";
|
|
10
|
+
readonly 700: "#02548B";
|
|
11
|
+
readonly 800: "#013E6A";
|
|
12
|
+
readonly 900: "#012849";
|
|
13
|
+
};
|
|
14
|
+
readonly teal: {
|
|
15
|
+
readonly 50: "#E9FAF6";
|
|
16
|
+
readonly 100: "#C0F1E6";
|
|
17
|
+
readonly 200: "#93E7D5";
|
|
18
|
+
readonly 300: "#62DAC2";
|
|
19
|
+
readonly 400: "#34CEAF";
|
|
20
|
+
readonly 500: "#16B597";
|
|
21
|
+
readonly 600: "#0E9278";
|
|
22
|
+
readonly 700: "#087059";
|
|
23
|
+
readonly 800: "#044E3D";
|
|
24
|
+
readonly 900: "#012E24";
|
|
25
|
+
};
|
|
26
|
+
readonly orange: {
|
|
27
|
+
readonly 50: "#FFF0EB";
|
|
28
|
+
readonly 100: "#FFDDD4";
|
|
29
|
+
readonly 200: "#FFC0AE";
|
|
30
|
+
readonly 300: "#FF9F87";
|
|
31
|
+
readonly 400: "#FF7358";
|
|
32
|
+
readonly 500: "#FF3C00";
|
|
33
|
+
readonly 600: "#D83200";
|
|
34
|
+
readonly 700: "#B02700";
|
|
35
|
+
readonly 800: "#881D00";
|
|
36
|
+
readonly 900: "#601300";
|
|
37
|
+
};
|
|
38
|
+
readonly red: {
|
|
39
|
+
readonly 50: "#FEF2F2";
|
|
40
|
+
readonly 100: "#FEE2E2";
|
|
41
|
+
readonly 200: "#FECACA";
|
|
42
|
+
readonly 300: "#FCA5A5";
|
|
43
|
+
readonly 400: "#F87171";
|
|
44
|
+
readonly 500: "#EF4444";
|
|
45
|
+
readonly 600: "#DC2626";
|
|
46
|
+
readonly 700: "#B91C1C";
|
|
47
|
+
readonly 800: "#991B1B";
|
|
48
|
+
readonly 900: "#7F1D1D";
|
|
49
|
+
};
|
|
50
|
+
readonly green: {
|
|
51
|
+
readonly 50: "#ECFDF5";
|
|
52
|
+
readonly 100: "#D1FAE5";
|
|
53
|
+
readonly 200: "#A7F3D0";
|
|
54
|
+
readonly 300: "#6EE7B7";
|
|
55
|
+
readonly 400: "#34D399";
|
|
56
|
+
readonly 500: "#10B981";
|
|
57
|
+
readonly 600: "#059669";
|
|
58
|
+
readonly 700: "#047857";
|
|
59
|
+
readonly 800: "#065F46";
|
|
60
|
+
readonly 900: "#064E3B";
|
|
61
|
+
};
|
|
62
|
+
readonly yellow: {
|
|
63
|
+
readonly 50: "#FFFBEB";
|
|
64
|
+
readonly 100: "#FEF3C7";
|
|
65
|
+
readonly 200: "#FDE68A";
|
|
66
|
+
readonly 300: "#FCD34D";
|
|
67
|
+
readonly 400: "#FBBF24";
|
|
68
|
+
readonly 500: "#F59E0B";
|
|
69
|
+
readonly 600: "#D97706";
|
|
70
|
+
readonly 700: "#B45309";
|
|
71
|
+
readonly 800: "#92400E";
|
|
72
|
+
readonly 900: "#78350F";
|
|
73
|
+
};
|
|
74
|
+
readonly gray: {
|
|
75
|
+
readonly 50: "#F8F9FA";
|
|
76
|
+
readonly 100: "#E9ECEF";
|
|
77
|
+
readonly 200: "#DEE2E6";
|
|
78
|
+
readonly 300: "#CED4DA";
|
|
79
|
+
readonly 400: "#ADB5BD";
|
|
80
|
+
readonly 500: "#6C757D";
|
|
81
|
+
readonly 600: "#495057";
|
|
82
|
+
readonly 700: "#343A40";
|
|
83
|
+
readonly 800: "#212529";
|
|
84
|
+
readonly 900: "#111315";
|
|
85
|
+
};
|
|
86
|
+
readonly white: "#FFFFFF";
|
|
87
|
+
readonly black: "#000000";
|
|
88
|
+
};
|
|
89
|
+
type PrimitiveColors = typeof primitiveColors;
|
|
90
|
+
|
|
91
|
+
declare const semanticColors: {
|
|
92
|
+
readonly primary: {
|
|
93
|
+
readonly default: "#02548B";
|
|
94
|
+
readonly hover: "#1170A8";
|
|
95
|
+
readonly active: "#013E6A";
|
|
96
|
+
readonly subtle: "#EAF4FB";
|
|
97
|
+
readonly muted: "#C5E0F2";
|
|
98
|
+
readonly on: "#FFFFFF";
|
|
99
|
+
};
|
|
100
|
+
readonly secondary: {
|
|
101
|
+
readonly default: "#16B597";
|
|
102
|
+
readonly hover: "#0E9278";
|
|
103
|
+
readonly active: "#087059";
|
|
104
|
+
readonly subtle: "#E9FAF6";
|
|
105
|
+
readonly muted: "#C0F1E6";
|
|
106
|
+
readonly on: "#FFFFFF";
|
|
107
|
+
};
|
|
108
|
+
readonly accent: {
|
|
109
|
+
readonly default: "#FF3C00";
|
|
110
|
+
readonly hover: "#D83200";
|
|
111
|
+
readonly active: "#B02700";
|
|
112
|
+
readonly subtle: "#FFF0EB";
|
|
113
|
+
readonly on: "#FFFFFF";
|
|
114
|
+
};
|
|
115
|
+
readonly success: {
|
|
116
|
+
readonly default: "#059669";
|
|
117
|
+
readonly hover: "#047857";
|
|
118
|
+
readonly subtle: "#ECFDF5";
|
|
119
|
+
readonly muted: "#D1FAE5";
|
|
120
|
+
readonly on: "#FFFFFF";
|
|
121
|
+
};
|
|
122
|
+
readonly warning: {
|
|
123
|
+
readonly default: "#F59E0B";
|
|
124
|
+
readonly hover: "#D97706";
|
|
125
|
+
readonly subtle: "#FFFBEB";
|
|
126
|
+
readonly muted: "#FEF3C7";
|
|
127
|
+
readonly on: "#111315";
|
|
128
|
+
};
|
|
129
|
+
readonly error: {
|
|
130
|
+
readonly default: "#DC2626";
|
|
131
|
+
readonly hover: "#B91C1C";
|
|
132
|
+
readonly subtle: "#FEF2F2";
|
|
133
|
+
readonly muted: "#FEE2E2";
|
|
134
|
+
readonly on: "#FFFFFF";
|
|
135
|
+
};
|
|
136
|
+
readonly info: {
|
|
137
|
+
readonly default: "#1B8ECB";
|
|
138
|
+
readonly hover: "#1170A8";
|
|
139
|
+
readonly subtle: "#EAF4FB";
|
|
140
|
+
readonly muted: "#C5E0F2";
|
|
141
|
+
readonly on: "#FFFFFF";
|
|
142
|
+
};
|
|
143
|
+
readonly background: {
|
|
144
|
+
readonly default: "#FFFFFF";
|
|
145
|
+
readonly subtle: "#F8F9FA";
|
|
146
|
+
readonly muted: "#E9ECEF";
|
|
147
|
+
readonly overlay: "rgba(0, 0, 0, 0.5)";
|
|
148
|
+
};
|
|
149
|
+
readonly surface: {
|
|
150
|
+
readonly default: "#FFFFFF";
|
|
151
|
+
readonly raised: "#FFFFFF";
|
|
152
|
+
readonly overlay: "#FFFFFF";
|
|
153
|
+
};
|
|
154
|
+
readonly text: {
|
|
155
|
+
readonly default: "#212529";
|
|
156
|
+
readonly muted: "#6C757D";
|
|
157
|
+
readonly subtle: "#ADB5BD";
|
|
158
|
+
readonly disabled: "#CED4DA";
|
|
159
|
+
readonly inverse: "#FFFFFF";
|
|
160
|
+
readonly link: "#02548B";
|
|
161
|
+
readonly linkHover: "#1170A8";
|
|
162
|
+
};
|
|
163
|
+
readonly border: {
|
|
164
|
+
readonly default: "#DEE2E6";
|
|
165
|
+
readonly strong: "#CED4DA";
|
|
166
|
+
readonly muted: "#E9ECEF";
|
|
167
|
+
readonly focus: "#1B8ECB";
|
|
168
|
+
readonly error: "#EF4444";
|
|
169
|
+
};
|
|
170
|
+
readonly disabled: {
|
|
171
|
+
readonly background: "#E9ECEF";
|
|
172
|
+
readonly text: "#ADB5BD";
|
|
173
|
+
readonly border: "#DEE2E6";
|
|
174
|
+
};
|
|
175
|
+
};
|
|
176
|
+
type SemanticColors = typeof semanticColors;
|
|
177
|
+
|
|
178
|
+
declare const spacing: {
|
|
179
|
+
readonly 0: "0px";
|
|
180
|
+
readonly 1: "4px";
|
|
181
|
+
readonly 2: "8px";
|
|
182
|
+
readonly 3: "12px";
|
|
183
|
+
readonly 4: "16px";
|
|
184
|
+
readonly 5: "20px";
|
|
185
|
+
readonly 6: "24px";
|
|
186
|
+
readonly 8: "32px";
|
|
187
|
+
readonly 10: "40px";
|
|
188
|
+
readonly 12: "48px";
|
|
189
|
+
readonly 16: "64px";
|
|
190
|
+
readonly 24: "96px";
|
|
191
|
+
readonly 32: "128px";
|
|
192
|
+
};
|
|
193
|
+
type SpacingKey = keyof typeof spacing;
|
|
194
|
+
type SpacingValue = (typeof spacing)[SpacingKey];
|
|
195
|
+
|
|
196
|
+
declare const typography: {
|
|
197
|
+
readonly fontFamily: {
|
|
198
|
+
readonly base: "'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif";
|
|
199
|
+
readonly heading: "'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif";
|
|
200
|
+
readonly mono: "'JetBrains Mono', 'Fira Code', 'Courier New', monospace";
|
|
201
|
+
};
|
|
202
|
+
readonly fontSize: {
|
|
203
|
+
readonly xs: "0.75rem";
|
|
204
|
+
readonly sm: "0.875rem";
|
|
205
|
+
readonly md: "1rem";
|
|
206
|
+
readonly lg: "1.125rem";
|
|
207
|
+
readonly xl: "1.25rem";
|
|
208
|
+
readonly "2xl": "1.5rem";
|
|
209
|
+
readonly "3xl": "1.875rem";
|
|
210
|
+
readonly "4xl": "2.25rem";
|
|
211
|
+
};
|
|
212
|
+
readonly fontWeight: {
|
|
213
|
+
readonly regular: "400";
|
|
214
|
+
readonly medium: "500";
|
|
215
|
+
readonly semibold: "600";
|
|
216
|
+
readonly bold: "700";
|
|
217
|
+
};
|
|
218
|
+
readonly lineHeight: {
|
|
219
|
+
readonly tight: "1.25";
|
|
220
|
+
readonly snug: "1.375";
|
|
221
|
+
readonly normal: "1.5";
|
|
222
|
+
readonly relaxed: "1.625";
|
|
223
|
+
readonly loose: "2";
|
|
224
|
+
};
|
|
225
|
+
readonly letterSpacing: {
|
|
226
|
+
readonly tight: "-0.025em";
|
|
227
|
+
readonly normal: "0em";
|
|
228
|
+
readonly wide: "0.025em";
|
|
229
|
+
readonly wider: "0.05em";
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
type Typography = typeof typography;
|
|
233
|
+
|
|
234
|
+
declare const radii: {
|
|
235
|
+
readonly none: "0px";
|
|
236
|
+
readonly sm: "2px";
|
|
237
|
+
readonly md: "4px";
|
|
238
|
+
readonly lg: "8px";
|
|
239
|
+
readonly xl: "12px";
|
|
240
|
+
readonly "2xl": "16px";
|
|
241
|
+
readonly full: "9999px";
|
|
242
|
+
};
|
|
243
|
+
type RadiiKey = keyof typeof radii;
|
|
244
|
+
|
|
245
|
+
declare const elevation: {
|
|
246
|
+
readonly none: "none";
|
|
247
|
+
readonly sm: "0 1px 2px 0 rgba(0, 0, 0, 0.05)";
|
|
248
|
+
readonly md: "0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)";
|
|
249
|
+
readonly lg: "0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)";
|
|
250
|
+
readonly xl: "0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)";
|
|
251
|
+
readonly "2xl": "0 25px 50px -12px rgba(0, 0, 0, 0.25)";
|
|
252
|
+
};
|
|
253
|
+
type ElevationKey = keyof typeof elevation;
|
|
254
|
+
|
|
255
|
+
declare const zIndex: {
|
|
256
|
+
readonly base: 0;
|
|
257
|
+
readonly raised: 1;
|
|
258
|
+
readonly dropdown: 1000;
|
|
259
|
+
readonly sticky: 1020;
|
|
260
|
+
readonly overlay: 1040;
|
|
261
|
+
readonly modal: 1050;
|
|
262
|
+
readonly toast: 1060;
|
|
263
|
+
readonly tooltip: 1070;
|
|
264
|
+
};
|
|
265
|
+
type ZIndexKey = keyof typeof zIndex;
|
|
266
|
+
|
|
267
|
+
declare const motion: {
|
|
268
|
+
readonly duration: {
|
|
269
|
+
readonly fast: "100ms";
|
|
270
|
+
readonly normal: "200ms";
|
|
271
|
+
readonly slow: "300ms";
|
|
272
|
+
readonly slower: "500ms";
|
|
273
|
+
};
|
|
274
|
+
readonly easing: {
|
|
275
|
+
readonly easeIn: "cubic-bezier(0.4, 0, 1, 1)";
|
|
276
|
+
readonly easeOut: "cubic-bezier(0, 0, 0.2, 1)";
|
|
277
|
+
readonly easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)";
|
|
278
|
+
readonly linear: "linear";
|
|
279
|
+
readonly spring: "cubic-bezier(0.34, 1.56, 0.64, 1)";
|
|
280
|
+
};
|
|
281
|
+
};
|
|
282
|
+
type Motion = typeof motion;
|
|
283
|
+
|
|
284
|
+
declare const breakpoints: {
|
|
285
|
+
readonly xs: 0;
|
|
286
|
+
readonly sm: 576;
|
|
287
|
+
readonly md: 768;
|
|
288
|
+
readonly lg: 992;
|
|
289
|
+
readonly xl: 1200;
|
|
290
|
+
readonly xxl: 1400;
|
|
291
|
+
};
|
|
292
|
+
type BreakpointKey = keyof typeof breakpoints;
|
|
293
|
+
declare function mediaQuery(bp: BreakpointKey): string;
|
|
294
|
+
|
|
295
|
+
export { type BreakpointKey, type ElevationKey, type Motion, type PrimitiveColors, type RadiiKey, type SemanticColors, type SpacingKey, type SpacingValue, type Typography, type ZIndexKey, breakpoints, elevation, mediaQuery, motion, primitiveColors, radii, semanticColors, spacing, typography, zIndex };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkCZMDBTZY_js = require('../chunk-CZMDBTZY.js');
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
Object.defineProperty(exports, "breakpoints", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () { return chunkCZMDBTZY_js.breakpoints; }
|
|
10
|
+
});
|
|
11
|
+
Object.defineProperty(exports, "elevation", {
|
|
12
|
+
enumerable: true,
|
|
13
|
+
get: function () { return chunkCZMDBTZY_js.elevation; }
|
|
14
|
+
});
|
|
15
|
+
Object.defineProperty(exports, "mediaQuery", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunkCZMDBTZY_js.mediaQuery; }
|
|
18
|
+
});
|
|
19
|
+
Object.defineProperty(exports, "motion", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function () { return chunkCZMDBTZY_js.motion; }
|
|
22
|
+
});
|
|
23
|
+
Object.defineProperty(exports, "primitiveColors", {
|
|
24
|
+
enumerable: true,
|
|
25
|
+
get: function () { return chunkCZMDBTZY_js.primitiveColors; }
|
|
26
|
+
});
|
|
27
|
+
Object.defineProperty(exports, "radii", {
|
|
28
|
+
enumerable: true,
|
|
29
|
+
get: function () { return chunkCZMDBTZY_js.radii; }
|
|
30
|
+
});
|
|
31
|
+
Object.defineProperty(exports, "semanticColors", {
|
|
32
|
+
enumerable: true,
|
|
33
|
+
get: function () { return chunkCZMDBTZY_js.semanticColors; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "spacing", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkCZMDBTZY_js.spacing; }
|
|
38
|
+
});
|
|
39
|
+
Object.defineProperty(exports, "typography", {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function () { return chunkCZMDBTZY_js.typography; }
|
|
42
|
+
});
|
|
43
|
+
Object.defineProperty(exports, "zIndex", {
|
|
44
|
+
enumerable: true,
|
|
45
|
+
get: function () { return chunkCZMDBTZY_js.zIndex; }
|
|
46
|
+
});
|
|
47
|
+
//# sourceMappingURL=index.js.map
|
|
48
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/package.json
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rabelo-digital/ds-rd",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "Rabelo Digital Design System",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"design-system",
|
|
7
|
+
"react",
|
|
8
|
+
"components",
|
|
9
|
+
"tokens",
|
|
10
|
+
"rabelo-digital"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/rabelo-digital/ds-rd#readme",
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/rabelo-digital/ds-rd.git"
|
|
16
|
+
},
|
|
17
|
+
"license": "MIT",
|
|
18
|
+
"author": "Rabelo Digital <contato@rabelodigital.com.br>",
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"*.css"
|
|
21
|
+
],
|
|
22
|
+
"main": "./dist/index.cjs",
|
|
23
|
+
"module": "./dist/index.mjs",
|
|
24
|
+
"types": "./dist/index.d.ts",
|
|
25
|
+
"exports": {
|
|
26
|
+
".": {
|
|
27
|
+
"types": "./dist/index.d.ts",
|
|
28
|
+
"import": "./dist/index.mjs",
|
|
29
|
+
"require": "./dist/index.cjs"
|
|
30
|
+
},
|
|
31
|
+
"./tokens": {
|
|
32
|
+
"types": "./dist/tokens/index.d.ts",
|
|
33
|
+
"import": "./dist/tokens/index.mjs",
|
|
34
|
+
"require": "./dist/tokens/index.cjs"
|
|
35
|
+
},
|
|
36
|
+
"./tokens.css": "./tokens.css"
|
|
37
|
+
},
|
|
38
|
+
"files": [
|
|
39
|
+
"dist",
|
|
40
|
+
"tokens.css"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"build": "tsup",
|
|
44
|
+
"dev": "tsup --watch",
|
|
45
|
+
"storybook": "storybook dev -p 6006",
|
|
46
|
+
"build-storybook": "storybook build",
|
|
47
|
+
"test": "vitest run",
|
|
48
|
+
"test:coverage": "vitest run --coverage",
|
|
49
|
+
"lint": "eslint src --ext .ts,.tsx",
|
|
50
|
+
"lint:fix": "eslint src --ext .ts,.tsx --fix",
|
|
51
|
+
"format": "prettier --write \"src/**/*.{ts,tsx,json,css,md}\" \"*.{json,md,cjs}\"",
|
|
52
|
+
"format:check": "prettier --check \"src/**/*.{ts,tsx,json,css,md}\" \"*.{json,md,cjs}\"",
|
|
53
|
+
"typecheck": "tsc --noEmit",
|
|
54
|
+
"validate": "npm run format:check && npm run lint && npm run typecheck",
|
|
55
|
+
"ci:check": "npm run typecheck && npm run lint && npm run test && npm run build",
|
|
56
|
+
"test-storybook": "test-storybook",
|
|
57
|
+
"commit": "cz",
|
|
58
|
+
"release": "standard-version",
|
|
59
|
+
"prepare": "husky install",
|
|
60
|
+
"release:major": "standard-version --release-as major",
|
|
61
|
+
"release:minor": "standard-version --release-as minor",
|
|
62
|
+
"release:patch": "standard-version --release-as patch",
|
|
63
|
+
"release:dry-run": "standard-version --dry-run"
|
|
64
|
+
},
|
|
65
|
+
"lint-staged": {
|
|
66
|
+
"src/**/*.{ts,tsx}": [
|
|
67
|
+
"prettier --write",
|
|
68
|
+
"eslint --fix"
|
|
69
|
+
],
|
|
70
|
+
"src/**/*.{json,css,md}": [
|
|
71
|
+
"prettier --write"
|
|
72
|
+
],
|
|
73
|
+
"*.{json,md,cjs}": [
|
|
74
|
+
"prettier --write"
|
|
75
|
+
]
|
|
76
|
+
},
|
|
77
|
+
"peerDependencies": {
|
|
78
|
+
"react": ">=18.0.0",
|
|
79
|
+
"react-dom": ">=18.0.0"
|
|
80
|
+
},
|
|
81
|
+
"devDependencies": {
|
|
82
|
+
"@commitlint/cli": "^17.8.1",
|
|
83
|
+
"@commitlint/config-conventional": "^17.8.1",
|
|
84
|
+
"@size-limit/preset-small-lib": "^11.1.4",
|
|
85
|
+
"@storybook/addon-a11y": "^8.2.9",
|
|
86
|
+
"@storybook/addon-essentials": "^8.2.9",
|
|
87
|
+
"@storybook/addon-themes": "^8.2.9",
|
|
88
|
+
"@storybook/react": "^8.2.9",
|
|
89
|
+
"@storybook/react-vite": "^8.2.9",
|
|
90
|
+
"@storybook/test-runner": "^0.19.1",
|
|
91
|
+
"@testing-library/jest-dom": "^6.4.8",
|
|
92
|
+
"@testing-library/react": "^16.0.0",
|
|
93
|
+
"@testing-library/user-event": "^14.5.2",
|
|
94
|
+
"@types/react": "^18.3.3",
|
|
95
|
+
"@types/react-dom": "^18.3.0",
|
|
96
|
+
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
97
|
+
"@typescript-eslint/parser": "^8.0.0",
|
|
98
|
+
"@vitejs/plugin-react": "^4.7.0",
|
|
99
|
+
"@vitest/coverage-v8": "^2.0.5",
|
|
100
|
+
"axe-playwright": "^2.0.1",
|
|
101
|
+
"eslint": "^8.57.0",
|
|
102
|
+
"eslint-config-prettier": "^10.1.8",
|
|
103
|
+
"eslint-import-resolver-typescript": "^3.10.1",
|
|
104
|
+
"eslint-plugin-import": "^2.32.0",
|
|
105
|
+
"eslint-plugin-jsx-a11y": "^6.9.0",
|
|
106
|
+
"eslint-plugin-prettier": "^5.5.6",
|
|
107
|
+
"eslint-plugin-react": "^7.35.0",
|
|
108
|
+
"eslint-plugin-react-hooks": "^4.6.2",
|
|
109
|
+
"eslint-plugin-unused-imports": "4.4.1",
|
|
110
|
+
"husky": "8.0.1",
|
|
111
|
+
"jsdom": "^24.1.1",
|
|
112
|
+
"lint-staged": "13.0.3",
|
|
113
|
+
"prettier": "^3.8.4",
|
|
114
|
+
"size-limit": "^11.1.4",
|
|
115
|
+
"storybook": "^8.2.9",
|
|
116
|
+
"tsup": "^8.2.4",
|
|
117
|
+
"typescript": "^5.5.4",
|
|
118
|
+
"vite": "^5.3.5",
|
|
119
|
+
"vitest": "^2.0.5",
|
|
120
|
+
"standard-version": "^9.5.0",
|
|
121
|
+
"commitizen": "4.3.2",
|
|
122
|
+
"cz-conventional-changelog": "3.3.0"
|
|
123
|
+
},
|
|
124
|
+
"dependencies": {
|
|
125
|
+
"@radix-ui/react-accordion": "^1.2.0",
|
|
126
|
+
"@radix-ui/react-checkbox": "^1.1.1",
|
|
127
|
+
"@radix-ui/react-dialog": "^1.1.1",
|
|
128
|
+
"@radix-ui/react-radio-group": "^1.2.0",
|
|
129
|
+
"@radix-ui/react-select": "^2.1.1",
|
|
130
|
+
"@radix-ui/react-tabs": "^1.1.0",
|
|
131
|
+
"@radix-ui/react-toast": "^1.2.1",
|
|
132
|
+
"@radix-ui/react-tooltip": "^1.1.2",
|
|
133
|
+
"react-icons": "^5.3.0"
|
|
134
|
+
},
|
|
135
|
+
"publishConfig": {
|
|
136
|
+
"access": "public"
|
|
137
|
+
},
|
|
138
|
+
"size-limit": [
|
|
139
|
+
{
|
|
140
|
+
"path": "./dist/index.mjs",
|
|
141
|
+
"limit": "50 KB"
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"config": {
|
|
145
|
+
"commitizen": {
|
|
146
|
+
"path": "./node_modules/cz-conventional-changelog"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|