@lets-events/react 12.10.14 → 12.10.16
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/.turbo/turbo-build.log +6 -6
- package/CHANGELOG.md +12 -0
- package/dist/index.d.mts +409 -394
- package/dist/index.d.ts +409 -394
- package/dist/index.js +10 -10
- package/dist/index.mjs +10 -10
- package/package.json +1 -1
- package/src/components/Badge.tsx +15 -6
- package/src/components/Button/index.tsx +19 -8
- package/src/components/Flex.tsx +4 -4
- package/src/components/Text.tsx +4 -3
package/dist/index.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ import PropTypes from 'prop-types';
|
|
|
5
5
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
6
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
7
7
|
import * as React$1 from 'react';
|
|
8
|
-
import React__default, { ElementType, ReactNode, CSSProperties, ComponentProps, MouseEvent, HTMLAttributes, JSX } from 'react';
|
|
8
|
+
import React__default, { ElementType, ReactNode, CSSProperties, ButtonHTMLAttributes, ComponentProps, MouseEvent, HTMLAttributes, JSX } from 'react';
|
|
9
9
|
import * as _radix_ui_themes from '@radix-ui/themes';
|
|
10
10
|
import { TextField as TextField$1, RadioGroup as RadioGroup$1, CheckboxGroup as CheckboxGroup$1, DropdownMenu as DropdownMenu$1, AlertDialog, Switch as Switch$1 } from '@radix-ui/themes';
|
|
11
|
+
import { CSS } from '@stitches/react';
|
|
11
12
|
import { Colors } from '@lets-events/tokens';
|
|
12
|
-
import { VariantProps } from '@stitches/react';
|
|
13
13
|
import { MaskOptions, format, unformat } from '@react-input/mask';
|
|
14
14
|
import { Dialog } from 'radix-ui';
|
|
15
15
|
import * as TooltipPrimitive from '@radix-ui/react-tooltip';
|
|
@@ -31,6 +31,385 @@ declare const Icon: {
|
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
|
|
34
|
+
declare const config: {
|
|
35
|
+
prefix: "";
|
|
36
|
+
media: {
|
|
37
|
+
md: "(max-width: 690px)";
|
|
38
|
+
};
|
|
39
|
+
theme: {
|
|
40
|
+
colors: {
|
|
41
|
+
brand50: string;
|
|
42
|
+
brand100: string;
|
|
43
|
+
brand200: string;
|
|
44
|
+
brand300: string;
|
|
45
|
+
brand400: string;
|
|
46
|
+
brand500: string;
|
|
47
|
+
brand600: string;
|
|
48
|
+
brand700: string;
|
|
49
|
+
brand800: string;
|
|
50
|
+
brand900: string;
|
|
51
|
+
brand950: string;
|
|
52
|
+
blue50: string;
|
|
53
|
+
blue100: string;
|
|
54
|
+
blue200: string;
|
|
55
|
+
blue300: string;
|
|
56
|
+
blue400: string;
|
|
57
|
+
blue500: string;
|
|
58
|
+
blue600: string;
|
|
59
|
+
blue700: string;
|
|
60
|
+
blue800: string;
|
|
61
|
+
blue900: string;
|
|
62
|
+
blue950: string;
|
|
63
|
+
red50: string;
|
|
64
|
+
red100: string;
|
|
65
|
+
red200: string;
|
|
66
|
+
red300: string;
|
|
67
|
+
red400: string;
|
|
68
|
+
red500: string;
|
|
69
|
+
red600: string;
|
|
70
|
+
red700: string;
|
|
71
|
+
red800: string;
|
|
72
|
+
red900: string;
|
|
73
|
+
red950: string;
|
|
74
|
+
purple50: string;
|
|
75
|
+
purple100: string;
|
|
76
|
+
purple200: string;
|
|
77
|
+
purple300: string;
|
|
78
|
+
purple400: string;
|
|
79
|
+
purple500: string;
|
|
80
|
+
purple600: string;
|
|
81
|
+
purple700: string;
|
|
82
|
+
purple800: string;
|
|
83
|
+
purple900: string;
|
|
84
|
+
purple950: string;
|
|
85
|
+
yellow50: string;
|
|
86
|
+
yellow100: string;
|
|
87
|
+
yellow200: string;
|
|
88
|
+
yellow300: string;
|
|
89
|
+
yellow400: string;
|
|
90
|
+
yellow500: string;
|
|
91
|
+
yellow600: string;
|
|
92
|
+
yellow700: string;
|
|
93
|
+
yellow800: string;
|
|
94
|
+
yellow900: string;
|
|
95
|
+
yellow950: string;
|
|
96
|
+
dark50: string;
|
|
97
|
+
dark100: string;
|
|
98
|
+
dark200: string;
|
|
99
|
+
dark300: string;
|
|
100
|
+
dark400: string;
|
|
101
|
+
dark500: string;
|
|
102
|
+
dark600: string;
|
|
103
|
+
dark700: string;
|
|
104
|
+
dark800: string;
|
|
105
|
+
dark900: string;
|
|
106
|
+
dark950: string;
|
|
107
|
+
neutral50: string;
|
|
108
|
+
neutral100: string;
|
|
109
|
+
neutral200: string;
|
|
110
|
+
neutral300: string;
|
|
111
|
+
neutral400: string;
|
|
112
|
+
neutral500: string;
|
|
113
|
+
neutral600: string;
|
|
114
|
+
neutral700: string;
|
|
115
|
+
neutral800: string;
|
|
116
|
+
neutral900: string;
|
|
117
|
+
neutral950: string;
|
|
118
|
+
green50: string;
|
|
119
|
+
green100: string;
|
|
120
|
+
green200: string;
|
|
121
|
+
green300: string;
|
|
122
|
+
green400: string;
|
|
123
|
+
green500: string;
|
|
124
|
+
green600: string;
|
|
125
|
+
green700: string;
|
|
126
|
+
green800: string;
|
|
127
|
+
green900: string;
|
|
128
|
+
green950: string;
|
|
129
|
+
grey50: string;
|
|
130
|
+
grey100: string;
|
|
131
|
+
grey200: string;
|
|
132
|
+
grey300: string;
|
|
133
|
+
grey400: string;
|
|
134
|
+
grey500: string;
|
|
135
|
+
grey600: string;
|
|
136
|
+
grey700: string;
|
|
137
|
+
grey800: string;
|
|
138
|
+
grey900: string;
|
|
139
|
+
grey950: string;
|
|
140
|
+
error50: string;
|
|
141
|
+
error100: string;
|
|
142
|
+
error200: string;
|
|
143
|
+
error300: string;
|
|
144
|
+
error400: string;
|
|
145
|
+
error500: string;
|
|
146
|
+
error600: string;
|
|
147
|
+
error700: string;
|
|
148
|
+
error800: string;
|
|
149
|
+
error900: string;
|
|
150
|
+
error950: string;
|
|
151
|
+
success50: string;
|
|
152
|
+
success100: string;
|
|
153
|
+
success200: string;
|
|
154
|
+
success300: string;
|
|
155
|
+
success400: string;
|
|
156
|
+
success500: string;
|
|
157
|
+
success600: string;
|
|
158
|
+
success700: string;
|
|
159
|
+
success800: string;
|
|
160
|
+
success900: string;
|
|
161
|
+
success950: string;
|
|
162
|
+
warning50: string;
|
|
163
|
+
warning100: string;
|
|
164
|
+
warning200: string;
|
|
165
|
+
warning300: string;
|
|
166
|
+
warning400: string;
|
|
167
|
+
warning500: string;
|
|
168
|
+
warning600: string;
|
|
169
|
+
warning700: string;
|
|
170
|
+
warning800: string;
|
|
171
|
+
warning900: string;
|
|
172
|
+
warning950: string;
|
|
173
|
+
info50: string;
|
|
174
|
+
info100: string;
|
|
175
|
+
info200: string;
|
|
176
|
+
info300: string;
|
|
177
|
+
info400: string;
|
|
178
|
+
info500: string;
|
|
179
|
+
info600: string;
|
|
180
|
+
info700: string;
|
|
181
|
+
info800: string;
|
|
182
|
+
info900: string;
|
|
183
|
+
info950: string;
|
|
184
|
+
};
|
|
185
|
+
fontSizes: {
|
|
186
|
+
2: string;
|
|
187
|
+
4: string;
|
|
188
|
+
6: string;
|
|
189
|
+
8: string;
|
|
190
|
+
10: string;
|
|
191
|
+
12: string;
|
|
192
|
+
13: string;
|
|
193
|
+
14: string;
|
|
194
|
+
16: string;
|
|
195
|
+
18: string;
|
|
196
|
+
20: string;
|
|
197
|
+
22: string;
|
|
198
|
+
24: string;
|
|
199
|
+
32: string;
|
|
200
|
+
36: string;
|
|
201
|
+
40: string;
|
|
202
|
+
48: string;
|
|
203
|
+
56: string;
|
|
204
|
+
64: string;
|
|
205
|
+
72: string;
|
|
206
|
+
80: string;
|
|
207
|
+
xs: string;
|
|
208
|
+
sm: string;
|
|
209
|
+
md: string;
|
|
210
|
+
lg: string;
|
|
211
|
+
'2xl': string;
|
|
212
|
+
'3xl': string;
|
|
213
|
+
'4xl': string;
|
|
214
|
+
full: string;
|
|
215
|
+
};
|
|
216
|
+
fonts: {
|
|
217
|
+
default: string;
|
|
218
|
+
};
|
|
219
|
+
fontWeights: {
|
|
220
|
+
regular: string;
|
|
221
|
+
medium: string;
|
|
222
|
+
semibold: string;
|
|
223
|
+
bold: string;
|
|
224
|
+
};
|
|
225
|
+
lineHeights: {
|
|
226
|
+
smaller: string;
|
|
227
|
+
shorter: string;
|
|
228
|
+
short: string;
|
|
229
|
+
base: string;
|
|
230
|
+
tall: string;
|
|
231
|
+
};
|
|
232
|
+
radii: {
|
|
233
|
+
'3xs': string;
|
|
234
|
+
'2xs': string;
|
|
235
|
+
xs: string;
|
|
236
|
+
sm: string;
|
|
237
|
+
md: string;
|
|
238
|
+
lg: string;
|
|
239
|
+
xl: string;
|
|
240
|
+
'2xl': string;
|
|
241
|
+
'3xl': string;
|
|
242
|
+
'4xl': string;
|
|
243
|
+
'5xl': string;
|
|
244
|
+
'6xl': string;
|
|
245
|
+
'7xl': string;
|
|
246
|
+
'8xl': string;
|
|
247
|
+
'9xl': string;
|
|
248
|
+
'10xl': string;
|
|
249
|
+
'11xl': string;
|
|
250
|
+
'12xl': string;
|
|
251
|
+
'13xl': string;
|
|
252
|
+
'14xl': string;
|
|
253
|
+
full: string;
|
|
254
|
+
};
|
|
255
|
+
space: {
|
|
256
|
+
2: string;
|
|
257
|
+
4: string;
|
|
258
|
+
6: string;
|
|
259
|
+
8: string;
|
|
260
|
+
10: string;
|
|
261
|
+
12: string;
|
|
262
|
+
13: string;
|
|
263
|
+
14: string;
|
|
264
|
+
16: string;
|
|
265
|
+
18: string;
|
|
266
|
+
20: string;
|
|
267
|
+
22: string;
|
|
268
|
+
24: string;
|
|
269
|
+
32: string;
|
|
270
|
+
36: string;
|
|
271
|
+
40: string;
|
|
272
|
+
48: string;
|
|
273
|
+
56: string;
|
|
274
|
+
64: string;
|
|
275
|
+
72: string;
|
|
276
|
+
80: string;
|
|
277
|
+
full: string;
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
themeMap: {
|
|
281
|
+
height: "space";
|
|
282
|
+
width: "space";
|
|
283
|
+
gap: "space";
|
|
284
|
+
gridGap: "space";
|
|
285
|
+
columnGap: "space";
|
|
286
|
+
gridColumnGap: "space";
|
|
287
|
+
rowGap: "space";
|
|
288
|
+
gridRowGap: "space";
|
|
289
|
+
inset: "space";
|
|
290
|
+
insetBlock: "space";
|
|
291
|
+
insetBlockEnd: "space";
|
|
292
|
+
insetBlockStart: "space";
|
|
293
|
+
insetInline: "space";
|
|
294
|
+
insetInlineEnd: "space";
|
|
295
|
+
insetInlineStart: "space";
|
|
296
|
+
margin: "space";
|
|
297
|
+
marginTop: "space";
|
|
298
|
+
marginRight: "space";
|
|
299
|
+
marginBottom: "space";
|
|
300
|
+
marginLeft: "space";
|
|
301
|
+
marginBlock: "space";
|
|
302
|
+
marginBlockEnd: "space";
|
|
303
|
+
marginBlockStart: "space";
|
|
304
|
+
marginInline: "space";
|
|
305
|
+
marginInlineEnd: "space";
|
|
306
|
+
marginInlineStart: "space";
|
|
307
|
+
padding: "space";
|
|
308
|
+
paddingTop: "space";
|
|
309
|
+
paddingRight: "space";
|
|
310
|
+
paddingBottom: "space";
|
|
311
|
+
paddingLeft: "space";
|
|
312
|
+
paddingBlock: "space";
|
|
313
|
+
paddingBlockEnd: "space";
|
|
314
|
+
paddingBlockStart: "space";
|
|
315
|
+
paddingInline: "space";
|
|
316
|
+
paddingInlineEnd: "space";
|
|
317
|
+
paddingInlineStart: "space";
|
|
318
|
+
scrollMargin: "space";
|
|
319
|
+
scrollMarginTop: "space";
|
|
320
|
+
scrollMarginRight: "space";
|
|
321
|
+
scrollMarginBottom: "space";
|
|
322
|
+
scrollMarginLeft: "space";
|
|
323
|
+
scrollMarginBlock: "space";
|
|
324
|
+
scrollMarginBlockEnd: "space";
|
|
325
|
+
scrollMarginBlockStart: "space";
|
|
326
|
+
scrollMarginInline: "space";
|
|
327
|
+
scrollMarginInlineEnd: "space";
|
|
328
|
+
scrollMarginInlineStart: "space";
|
|
329
|
+
scrollPadding: "space";
|
|
330
|
+
scrollPaddingTop: "space";
|
|
331
|
+
scrollPaddingRight: "space";
|
|
332
|
+
scrollPaddingBottom: "space";
|
|
333
|
+
scrollPaddingLeft: "space";
|
|
334
|
+
scrollPaddingBlock: "space";
|
|
335
|
+
scrollPaddingBlockEnd: "space";
|
|
336
|
+
scrollPaddingBlockStart: "space";
|
|
337
|
+
scrollPaddingInline: "space";
|
|
338
|
+
scrollPaddingInlineEnd: "space";
|
|
339
|
+
scrollPaddingInlineStart: "space";
|
|
340
|
+
top: "space";
|
|
341
|
+
right: "space";
|
|
342
|
+
bottom: "space";
|
|
343
|
+
left: "space";
|
|
344
|
+
fontSize: "fontSizes";
|
|
345
|
+
background: "colors";
|
|
346
|
+
backgroundColor: "colors";
|
|
347
|
+
backgroundImage: "colors";
|
|
348
|
+
borderImage: "colors";
|
|
349
|
+
border: "colors";
|
|
350
|
+
borderBlock: "colors";
|
|
351
|
+
borderBlockEnd: "colors";
|
|
352
|
+
borderBlockStart: "colors";
|
|
353
|
+
borderBottom: "colors";
|
|
354
|
+
borderBottomColor: "colors";
|
|
355
|
+
borderColor: "colors";
|
|
356
|
+
borderInline: "colors";
|
|
357
|
+
borderInlineEnd: "colors";
|
|
358
|
+
borderInlineStart: "colors";
|
|
359
|
+
borderLeft: "colors";
|
|
360
|
+
borderLeftColor: "colors";
|
|
361
|
+
borderRight: "colors";
|
|
362
|
+
borderRightColor: "colors";
|
|
363
|
+
borderTop: "colors";
|
|
364
|
+
borderTopColor: "colors";
|
|
365
|
+
caretColor: "colors";
|
|
366
|
+
color: "colors";
|
|
367
|
+
columnRuleColor: "colors";
|
|
368
|
+
outline: "colors";
|
|
369
|
+
outlineColor: "colors";
|
|
370
|
+
fill: "colors";
|
|
371
|
+
stroke: "colors";
|
|
372
|
+
textDecorationColor: "colors";
|
|
373
|
+
fontFamily: "fonts";
|
|
374
|
+
fontWeight: "fontWeights";
|
|
375
|
+
lineHeight: "lineHeights";
|
|
376
|
+
letterSpacing: "letterSpacings";
|
|
377
|
+
blockSize: "sizes";
|
|
378
|
+
minBlockSize: "sizes";
|
|
379
|
+
maxBlockSize: "sizes";
|
|
380
|
+
inlineSize: "sizes";
|
|
381
|
+
minInlineSize: "sizes";
|
|
382
|
+
maxInlineSize: "sizes";
|
|
383
|
+
minWidth: "sizes";
|
|
384
|
+
maxWidth: "sizes";
|
|
385
|
+
minHeight: "sizes";
|
|
386
|
+
maxHeight: "sizes";
|
|
387
|
+
flexBasis: "sizes";
|
|
388
|
+
gridTemplateColumns: "sizes";
|
|
389
|
+
gridTemplateRows: "sizes";
|
|
390
|
+
borderWidth: "borderWidths";
|
|
391
|
+
borderTopWidth: "borderWidths";
|
|
392
|
+
borderLeftWidth: "borderWidths";
|
|
393
|
+
borderRightWidth: "borderWidths";
|
|
394
|
+
borderBottomWidth: "borderWidths";
|
|
395
|
+
borderStyle: "borderStyles";
|
|
396
|
+
borderTopStyle: "borderStyles";
|
|
397
|
+
borderLeftStyle: "borderStyles";
|
|
398
|
+
borderRightStyle: "borderStyles";
|
|
399
|
+
borderBottomStyle: "borderStyles";
|
|
400
|
+
borderRadius: "radii";
|
|
401
|
+
borderTopLeftRadius: "radii";
|
|
402
|
+
borderTopRightRadius: "radii";
|
|
403
|
+
borderBottomRightRadius: "radii";
|
|
404
|
+
borderBottomLeftRadius: "radii";
|
|
405
|
+
boxShadow: "shadows";
|
|
406
|
+
textShadow: "shadows";
|
|
407
|
+
transition: "transitions";
|
|
408
|
+
zIndex: "zIndices";
|
|
409
|
+
};
|
|
410
|
+
utils: {};
|
|
411
|
+
};
|
|
412
|
+
|
|
34
413
|
declare const typographyValues: {
|
|
35
414
|
displayLarge: {
|
|
36
415
|
fontSize: string;
|
|
@@ -567,398 +946,26 @@ type TextProps = {
|
|
|
567
946
|
"aria-hidden"?: boolean | "true" | "false";
|
|
568
947
|
className?: string;
|
|
569
948
|
style?: CSSProperties;
|
|
570
|
-
css?:
|
|
949
|
+
css?: CSS<typeof config>;
|
|
571
950
|
};
|
|
572
951
|
declare function Text({ color, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
573
952
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
md: "(max-width: 690px)";
|
|
585
|
-
}, _stitches_react_types_css_util.CSS<{
|
|
586
|
-
md: "(max-width: 690px)";
|
|
587
|
-
}, {
|
|
588
|
-
colors: {
|
|
589
|
-
brand50: string;
|
|
590
|
-
brand100: string;
|
|
591
|
-
brand200: string;
|
|
592
|
-
brand300: string;
|
|
593
|
-
brand400: string;
|
|
594
|
-
brand500: string;
|
|
595
|
-
brand600: string;
|
|
596
|
-
brand700: string;
|
|
597
|
-
brand800: string;
|
|
598
|
-
brand900: string;
|
|
599
|
-
brand950: string;
|
|
600
|
-
blue50: string;
|
|
601
|
-
blue100: string;
|
|
602
|
-
blue200: string;
|
|
603
|
-
blue300: string;
|
|
604
|
-
blue400: string;
|
|
605
|
-
blue500: string;
|
|
606
|
-
blue600: string;
|
|
607
|
-
blue700: string;
|
|
608
|
-
blue800: string;
|
|
609
|
-
blue900: string;
|
|
610
|
-
blue950: string;
|
|
611
|
-
red50: string;
|
|
612
|
-
red100: string;
|
|
613
|
-
red200: string;
|
|
614
|
-
red300: string;
|
|
615
|
-
red400: string;
|
|
616
|
-
red500: string;
|
|
617
|
-
red600: string;
|
|
618
|
-
red700: string;
|
|
619
|
-
red800: string;
|
|
620
|
-
red900: string;
|
|
621
|
-
red950: string;
|
|
622
|
-
purple50: string;
|
|
623
|
-
purple100: string;
|
|
624
|
-
purple200: string;
|
|
625
|
-
purple300: string;
|
|
626
|
-
purple400: string;
|
|
627
|
-
purple500: string;
|
|
628
|
-
purple600: string;
|
|
629
|
-
purple700: string;
|
|
630
|
-
purple800: string;
|
|
631
|
-
purple900: string;
|
|
632
|
-
purple950: string;
|
|
633
|
-
yellow50: string;
|
|
634
|
-
yellow100: string;
|
|
635
|
-
yellow200: string;
|
|
636
|
-
yellow300: string;
|
|
637
|
-
yellow400: string;
|
|
638
|
-
yellow500: string;
|
|
639
|
-
yellow600: string;
|
|
640
|
-
yellow700: string;
|
|
641
|
-
yellow800: string;
|
|
642
|
-
yellow900: string;
|
|
643
|
-
yellow950: string;
|
|
644
|
-
dark50: string;
|
|
645
|
-
dark100: string;
|
|
646
|
-
dark200: string;
|
|
647
|
-
dark300: string;
|
|
648
|
-
dark400: string;
|
|
649
|
-
dark500: string;
|
|
650
|
-
dark600: string;
|
|
651
|
-
dark700: string;
|
|
652
|
-
dark800: string;
|
|
653
|
-
dark900: string;
|
|
654
|
-
dark950: string;
|
|
655
|
-
neutral50: string;
|
|
656
|
-
neutral100: string;
|
|
657
|
-
neutral200: string;
|
|
658
|
-
neutral300: string;
|
|
659
|
-
neutral400: string;
|
|
660
|
-
neutral500: string;
|
|
661
|
-
neutral600: string;
|
|
662
|
-
neutral700: string;
|
|
663
|
-
neutral800: string;
|
|
664
|
-
neutral900: string;
|
|
665
|
-
neutral950: string;
|
|
666
|
-
green50: string;
|
|
667
|
-
green100: string;
|
|
668
|
-
green200: string;
|
|
669
|
-
green300: string;
|
|
670
|
-
green400: string;
|
|
671
|
-
green500: string;
|
|
672
|
-
green600: string;
|
|
673
|
-
green700: string;
|
|
674
|
-
green800: string;
|
|
675
|
-
green900: string;
|
|
676
|
-
green950: string;
|
|
677
|
-
grey50: string;
|
|
678
|
-
grey100: string;
|
|
679
|
-
grey200: string;
|
|
680
|
-
grey300: string;
|
|
681
|
-
grey400: string;
|
|
682
|
-
grey500: string;
|
|
683
|
-
grey600: string;
|
|
684
|
-
grey700: string;
|
|
685
|
-
grey800: string;
|
|
686
|
-
grey900: string;
|
|
687
|
-
grey950: string;
|
|
688
|
-
error50: string;
|
|
689
|
-
error100: string;
|
|
690
|
-
error200: string;
|
|
691
|
-
error300: string;
|
|
692
|
-
error400: string;
|
|
693
|
-
error500: string;
|
|
694
|
-
error600: string;
|
|
695
|
-
error700: string;
|
|
696
|
-
error800: string;
|
|
697
|
-
error900: string;
|
|
698
|
-
error950: string;
|
|
699
|
-
success50: string;
|
|
700
|
-
success100: string;
|
|
701
|
-
success200: string;
|
|
702
|
-
success300: string;
|
|
703
|
-
success400: string;
|
|
704
|
-
success500: string;
|
|
705
|
-
success600: string;
|
|
706
|
-
success700: string;
|
|
707
|
-
success800: string;
|
|
708
|
-
success900: string;
|
|
709
|
-
success950: string;
|
|
710
|
-
warning50: string;
|
|
711
|
-
warning100: string;
|
|
712
|
-
warning200: string;
|
|
713
|
-
warning300: string;
|
|
714
|
-
warning400: string;
|
|
715
|
-
warning500: string;
|
|
716
|
-
warning600: string;
|
|
717
|
-
warning700: string;
|
|
718
|
-
warning800: string;
|
|
719
|
-
warning900: string;
|
|
720
|
-
warning950: string;
|
|
721
|
-
info50: string;
|
|
722
|
-
info100: string;
|
|
723
|
-
info200: string;
|
|
724
|
-
info300: string;
|
|
725
|
-
info400: string;
|
|
726
|
-
info500: string;
|
|
727
|
-
info600: string;
|
|
728
|
-
info700: string;
|
|
729
|
-
info800: string;
|
|
730
|
-
info900: string;
|
|
731
|
-
info950: string;
|
|
732
|
-
};
|
|
733
|
-
fontSizes: {
|
|
734
|
-
2: string;
|
|
735
|
-
4: string;
|
|
736
|
-
6: string;
|
|
737
|
-
8: string;
|
|
738
|
-
10: string;
|
|
739
|
-
12: string;
|
|
740
|
-
13: string;
|
|
741
|
-
14: string;
|
|
742
|
-
16: string;
|
|
743
|
-
18: string;
|
|
744
|
-
20: string;
|
|
745
|
-
22: string;
|
|
746
|
-
24: string;
|
|
747
|
-
32: string;
|
|
748
|
-
36: string;
|
|
749
|
-
40: string;
|
|
750
|
-
48: string;
|
|
751
|
-
56: string;
|
|
752
|
-
64: string;
|
|
753
|
-
72: string;
|
|
754
|
-
80: string;
|
|
755
|
-
xs: string;
|
|
756
|
-
sm: string;
|
|
757
|
-
md: string;
|
|
758
|
-
lg: string;
|
|
759
|
-
'2xl': string;
|
|
760
|
-
'3xl': string;
|
|
761
|
-
'4xl': string;
|
|
762
|
-
full: string;
|
|
763
|
-
};
|
|
764
|
-
fonts: {
|
|
765
|
-
default: string;
|
|
766
|
-
};
|
|
767
|
-
fontWeights: {
|
|
768
|
-
regular: string;
|
|
769
|
-
medium: string;
|
|
770
|
-
semibold: string;
|
|
771
|
-
bold: string;
|
|
772
|
-
};
|
|
773
|
-
lineHeights: {
|
|
774
|
-
smaller: string;
|
|
775
|
-
shorter: string;
|
|
776
|
-
short: string;
|
|
777
|
-
base: string;
|
|
778
|
-
tall: string;
|
|
779
|
-
};
|
|
780
|
-
radii: {
|
|
781
|
-
'3xs': string;
|
|
782
|
-
'2xs': string;
|
|
783
|
-
xs: string;
|
|
784
|
-
sm: string;
|
|
785
|
-
md: string;
|
|
786
|
-
lg: string;
|
|
787
|
-
xl: string;
|
|
788
|
-
'2xl': string;
|
|
789
|
-
'3xl': string;
|
|
790
|
-
'4xl': string;
|
|
791
|
-
'5xl': string;
|
|
792
|
-
'6xl': string;
|
|
793
|
-
'7xl': string;
|
|
794
|
-
'8xl': string;
|
|
795
|
-
'9xl': string;
|
|
796
|
-
'10xl': string;
|
|
797
|
-
'11xl': string;
|
|
798
|
-
'12xl': string;
|
|
799
|
-
'13xl': string;
|
|
800
|
-
'14xl': string;
|
|
801
|
-
full: string;
|
|
802
|
-
};
|
|
803
|
-
space: {
|
|
804
|
-
2: string;
|
|
805
|
-
4: string;
|
|
806
|
-
6: string;
|
|
807
|
-
8: string;
|
|
808
|
-
10: string;
|
|
809
|
-
12: string;
|
|
810
|
-
13: string;
|
|
811
|
-
14: string;
|
|
812
|
-
16: string;
|
|
813
|
-
18: string;
|
|
814
|
-
20: string;
|
|
815
|
-
22: string;
|
|
816
|
-
24: string;
|
|
817
|
-
32: string;
|
|
818
|
-
36: string;
|
|
819
|
-
40: string;
|
|
820
|
-
48: string;
|
|
821
|
-
56: string;
|
|
822
|
-
64: string;
|
|
823
|
-
72: string;
|
|
824
|
-
80: string;
|
|
825
|
-
full: string;
|
|
826
|
-
};
|
|
827
|
-
}, {
|
|
828
|
-
height: "space";
|
|
829
|
-
width: "space";
|
|
830
|
-
gap: "space";
|
|
831
|
-
gridGap: "space";
|
|
832
|
-
columnGap: "space";
|
|
833
|
-
gridColumnGap: "space";
|
|
834
|
-
rowGap: "space";
|
|
835
|
-
gridRowGap: "space";
|
|
836
|
-
inset: "space";
|
|
837
|
-
insetBlock: "space";
|
|
838
|
-
insetBlockEnd: "space";
|
|
839
|
-
insetBlockStart: "space";
|
|
840
|
-
insetInline: "space";
|
|
841
|
-
insetInlineEnd: "space";
|
|
842
|
-
insetInlineStart: "space";
|
|
843
|
-
margin: "space";
|
|
844
|
-
marginTop: "space";
|
|
845
|
-
marginRight: "space";
|
|
846
|
-
marginBottom: "space";
|
|
847
|
-
marginLeft: "space";
|
|
848
|
-
marginBlock: "space";
|
|
849
|
-
marginBlockEnd: "space";
|
|
850
|
-
marginBlockStart: "space";
|
|
851
|
-
marginInline: "space";
|
|
852
|
-
marginInlineEnd: "space";
|
|
853
|
-
marginInlineStart: "space";
|
|
854
|
-
padding: "space";
|
|
855
|
-
paddingTop: "space";
|
|
856
|
-
paddingRight: "space";
|
|
857
|
-
paddingBottom: "space";
|
|
858
|
-
paddingLeft: "space";
|
|
859
|
-
paddingBlock: "space";
|
|
860
|
-
paddingBlockEnd: "space";
|
|
861
|
-
paddingBlockStart: "space";
|
|
862
|
-
paddingInline: "space";
|
|
863
|
-
paddingInlineEnd: "space";
|
|
864
|
-
paddingInlineStart: "space";
|
|
865
|
-
scrollMargin: "space";
|
|
866
|
-
scrollMarginTop: "space";
|
|
867
|
-
scrollMarginRight: "space";
|
|
868
|
-
scrollMarginBottom: "space";
|
|
869
|
-
scrollMarginLeft: "space";
|
|
870
|
-
scrollMarginBlock: "space";
|
|
871
|
-
scrollMarginBlockEnd: "space";
|
|
872
|
-
scrollMarginBlockStart: "space";
|
|
873
|
-
scrollMarginInline: "space";
|
|
874
|
-
scrollMarginInlineEnd: "space";
|
|
875
|
-
scrollMarginInlineStart: "space";
|
|
876
|
-
scrollPadding: "space";
|
|
877
|
-
scrollPaddingTop: "space";
|
|
878
|
-
scrollPaddingRight: "space";
|
|
879
|
-
scrollPaddingBottom: "space";
|
|
880
|
-
scrollPaddingLeft: "space";
|
|
881
|
-
scrollPaddingBlock: "space";
|
|
882
|
-
scrollPaddingBlockEnd: "space";
|
|
883
|
-
scrollPaddingBlockStart: "space";
|
|
884
|
-
scrollPaddingInline: "space";
|
|
885
|
-
scrollPaddingInlineEnd: "space";
|
|
886
|
-
scrollPaddingInlineStart: "space";
|
|
887
|
-
top: "space";
|
|
888
|
-
right: "space";
|
|
889
|
-
bottom: "space";
|
|
890
|
-
left: "space";
|
|
891
|
-
fontSize: "fontSizes";
|
|
892
|
-
background: "colors";
|
|
893
|
-
backgroundColor: "colors";
|
|
894
|
-
backgroundImage: "colors";
|
|
895
|
-
borderImage: "colors";
|
|
896
|
-
border: "colors";
|
|
897
|
-
borderBlock: "colors";
|
|
898
|
-
borderBlockEnd: "colors";
|
|
899
|
-
borderBlockStart: "colors";
|
|
900
|
-
borderBottom: "colors";
|
|
901
|
-
borderBottomColor: "colors";
|
|
902
|
-
borderColor: "colors";
|
|
903
|
-
borderInline: "colors";
|
|
904
|
-
borderInlineEnd: "colors";
|
|
905
|
-
borderInlineStart: "colors";
|
|
906
|
-
borderLeft: "colors";
|
|
907
|
-
borderLeftColor: "colors";
|
|
908
|
-
borderRight: "colors";
|
|
909
|
-
borderRightColor: "colors";
|
|
910
|
-
borderTop: "colors";
|
|
911
|
-
borderTopColor: "colors";
|
|
912
|
-
caretColor: "colors";
|
|
913
|
-
color: "colors";
|
|
914
|
-
columnRuleColor: "colors";
|
|
915
|
-
outline: "colors";
|
|
916
|
-
outlineColor: "colors";
|
|
917
|
-
fill: "colors";
|
|
918
|
-
stroke: "colors";
|
|
919
|
-
textDecorationColor: "colors";
|
|
920
|
-
fontFamily: "fonts";
|
|
921
|
-
fontWeight: "fontWeights";
|
|
922
|
-
lineHeight: "lineHeights";
|
|
923
|
-
letterSpacing: "letterSpacings";
|
|
924
|
-
blockSize: "sizes";
|
|
925
|
-
minBlockSize: "sizes";
|
|
926
|
-
maxBlockSize: "sizes";
|
|
927
|
-
inlineSize: "sizes";
|
|
928
|
-
minInlineSize: "sizes";
|
|
929
|
-
maxInlineSize: "sizes";
|
|
930
|
-
minWidth: "sizes";
|
|
931
|
-
maxWidth: "sizes";
|
|
932
|
-
minHeight: "sizes";
|
|
933
|
-
maxHeight: "sizes";
|
|
934
|
-
flexBasis: "sizes";
|
|
935
|
-
gridTemplateColumns: "sizes";
|
|
936
|
-
gridTemplateRows: "sizes";
|
|
937
|
-
borderWidth: "borderWidths";
|
|
938
|
-
borderTopWidth: "borderWidths";
|
|
939
|
-
borderLeftWidth: "borderWidths";
|
|
940
|
-
borderRightWidth: "borderWidths";
|
|
941
|
-
borderBottomWidth: "borderWidths";
|
|
942
|
-
borderStyle: "borderStyles";
|
|
943
|
-
borderTopStyle: "borderStyles";
|
|
944
|
-
borderLeftStyle: "borderStyles";
|
|
945
|
-
borderRightStyle: "borderStyles";
|
|
946
|
-
borderBottomStyle: "borderStyles";
|
|
947
|
-
borderRadius: "radii";
|
|
948
|
-
borderTopLeftRadius: "radii";
|
|
949
|
-
borderTopRightRadius: "radii";
|
|
950
|
-
borderBottomRightRadius: "radii";
|
|
951
|
-
borderBottomLeftRadius: "radii";
|
|
952
|
-
boxShadow: "shadows";
|
|
953
|
-
textShadow: "shadows";
|
|
954
|
-
transition: "transitions";
|
|
955
|
-
zIndex: "zIndices";
|
|
956
|
-
}, {}>>;
|
|
957
|
-
|
|
958
|
-
type ButtonVariantProps = VariantProps<typeof ButtonStyled>;
|
|
959
|
-
interface ButtonProps extends ComponentProps<typeof ButtonStyled>, ButtonVariantProps {
|
|
953
|
+
type TextAlign = "center" | "left" | "right";
|
|
954
|
+
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
955
|
+
color?: "brand" | "purple" | "error" | "info" | "success" | "warning" | "neutral" | "white";
|
|
956
|
+
size?: "extraSmall" | "small" | "medium" | "large";
|
|
957
|
+
variant?: "text" | "toggle" | "contained" | "outlined" | "menuDropdownItem" | "menuDropdownItemDelete";
|
|
958
|
+
fontWeight?: "regular" | "medium" | "semibold" | "bold";
|
|
959
|
+
textAlign?: TextAlign;
|
|
960
|
+
outlinedBgColor?: "neutral" | "transparent";
|
|
961
|
+
radii?: "full";
|
|
962
|
+
isCircle?: boolean;
|
|
960
963
|
asChild?: boolean;
|
|
961
964
|
loading?: boolean;
|
|
965
|
+
children?: ReactNode;
|
|
966
|
+
className?: string;
|
|
967
|
+
style?: CSSProperties;
|
|
968
|
+
css?: CSS<typeof config>;
|
|
962
969
|
}
|
|
963
970
|
declare function Button({ asChild, children, loading, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
|
|
964
971
|
|
|
@@ -4472,10 +4479,19 @@ declare const BadgeStyled: _stitches_react_types_styled_component.StyledComponen
|
|
|
4472
4479
|
transition: "transitions";
|
|
4473
4480
|
zIndex: "zIndices";
|
|
4474
4481
|
}, {}>>;
|
|
4475
|
-
type BadgeProps =
|
|
4482
|
+
type BadgeProps = {
|
|
4476
4483
|
as?: ElementType;
|
|
4484
|
+
asChild?: boolean;
|
|
4485
|
+
color?: "primary" | "dark" | "light" | "red" | "green" | "yellow" | "orange" | "blue" | "pink" | "purple" | "grey" | "disable";
|
|
4486
|
+
size?: "xs" | "sm" | "md" | "xl";
|
|
4487
|
+
fontWeight?: "regular" | "medium" | "semibold" | "bold";
|
|
4488
|
+
radii?: "full";
|
|
4477
4489
|
icon?: boolean;
|
|
4478
|
-
children:
|
|
4490
|
+
children: ReactNode;
|
|
4491
|
+
id?: string;
|
|
4492
|
+
className?: string;
|
|
4493
|
+
style?: CSSProperties;
|
|
4494
|
+
css?: CSS<typeof config>;
|
|
4479
4495
|
};
|
|
4480
4496
|
declare function Badge({ asChild, children, ...props }: BadgeProps): react_jsx_runtime.JSX.Element;
|
|
4481
4497
|
|
|
@@ -13310,8 +13326,7 @@ declare const FlexStyled: _stitches_react_types_styled_component.StyledComponent
|
|
|
13310
13326
|
transition: "transitions";
|
|
13311
13327
|
zIndex: "zIndices";
|
|
13312
13328
|
}, {}>>;
|
|
13313
|
-
type
|
|
13314
|
-
type GapValue = NonNullable<StitchesFlexProps['gap']>;
|
|
13329
|
+
type GapValue = NonNullable<ComponentProps<typeof FlexStyled>['gap']>;
|
|
13315
13330
|
type FlexProps = {
|
|
13316
13331
|
as?: ElementType;
|
|
13317
13332
|
children: ReactNode;
|
|
@@ -13324,7 +13339,7 @@ type FlexProps = {
|
|
|
13324
13339
|
gapY?: Exclude<GapValue, 0 | '0'>;
|
|
13325
13340
|
className?: string;
|
|
13326
13341
|
style?: CSSProperties;
|
|
13327
|
-
css?:
|
|
13342
|
+
css?: CSS<typeof config>;
|
|
13328
13343
|
};
|
|
13329
13344
|
declare function Flex({ children, ...props }: FlexProps): react_jsx_runtime.JSX.Element;
|
|
13330
13345
|
|