@aic-kits/react 0.0.17 → 0.0.21

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.
@@ -0,0 +1,37 @@
1
+ import { Theme } from '../../theme';
2
+ import { ConfigType } from './config';
3
+ import { CustomBoxProps, FlexStyleProps, StyleProps } from './types';
4
+ export declare const getThemeValue: (theme: Theme, key: keyof StyleProps, props: StyleProps) => {
5
+ [x: string]: string;
6
+ } | {
7
+ [x: string]: number;
8
+ } | undefined;
9
+ export declare const mapStylePropToThemeValue: (theme: Theme, props: StyleProps) => {};
10
+ export declare const configKeys: Array<keyof ConfigType>;
11
+ export declare const genBoxStyle: (theme: Theme, props: StyleProps & FlexStyleProps & CustomBoxProps) => {
12
+ alignContent?: import("csstype").Property.AlignContent | undefined;
13
+ alignItems?: import("csstype").Property.AlignItems | undefined;
14
+ alignSelf?: import("csstype").Property.AlignSelf | undefined;
15
+ display?: import("csstype").Property.Display | undefined;
16
+ flex?: import("csstype").Property.Flex<string | number> | undefined;
17
+ flexBasis?: import("csstype").Property.FlexBasis<string | number> | undefined;
18
+ flexDirection?: import("csstype").Property.FlexDirection | undefined;
19
+ flexGrow?: import("csstype").Property.FlexGrow | undefined;
20
+ flexShrink?: import("csstype").Property.FlexShrink | undefined;
21
+ flexWrap?: import("csstype").Property.FlexWrap | undefined;
22
+ justifyContent?: import("csstype").Property.JustifyContent | undefined;
23
+ position?: import("csstype").Property.Position | undefined;
24
+ top?: import("csstype").Property.Top<string | number> | undefined;
25
+ right?: import("csstype").Property.Right<string | number> | undefined;
26
+ bottom?: import("csstype").Property.Bottom<string | number> | undefined;
27
+ left?: import("csstype").Property.Left<string | number> | undefined;
28
+ overflow?: import("csstype").Property.Overflow | undefined;
29
+ width?: import("csstype").Property.Width<string | number> | undefined;
30
+ minWidth?: import("csstype").Property.MinWidth<string | number> | undefined;
31
+ maxWidth?: import("csstype").Property.MaxWidth<string | number> | undefined;
32
+ height?: import("csstype").Property.Height<string | number> | undefined;
33
+ minHeight?: import("csstype").Property.MinHeight<string | number> | undefined;
34
+ maxHeight?: import("csstype").Property.MaxHeight<string | number> | undefined;
35
+ opacity?: import("csstype").Property.Opacity | undefined;
36
+ };
37
+ export declare const StyledBox: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, StyleProps & FlexStyleProps & CustomBoxProps>> & string;
@@ -0,0 +1,478 @@
1
+ import { CSSProperties } from 'react';
2
+ declare const colors: {
3
+ readonly bgColor: {
4
+ readonly property: "backgroundColor";
5
+ readonly scale: "colors";
6
+ };
7
+ readonly backgroundColor: {
8
+ readonly property: "backgroundColor";
9
+ readonly scale: "colors";
10
+ };
11
+ readonly borderColor: {
12
+ readonly property: "borderColor";
13
+ readonly scale: "colors";
14
+ };
15
+ readonly borderTopColor: {
16
+ readonly property: "borderTopColor";
17
+ readonly scale: "colors";
18
+ };
19
+ readonly borderBottomColor: {
20
+ readonly property: "borderBottomColor";
21
+ readonly scale: "colors";
22
+ };
23
+ readonly borderLeftColor: {
24
+ readonly property: "borderLeftColor";
25
+ readonly scale: "colors";
26
+ };
27
+ readonly borderRightColor: {
28
+ readonly property: "borderRightColor";
29
+ readonly scale: "colors";
30
+ };
31
+ };
32
+ declare const spaces: {
33
+ readonly m: {
34
+ readonly property: "margin";
35
+ readonly scale: "space";
36
+ };
37
+ readonly mt: {
38
+ readonly property: "marginTop";
39
+ readonly scale: "space";
40
+ };
41
+ readonly mb: {
42
+ readonly property: "marginBottom";
43
+ readonly scale: "space";
44
+ };
45
+ readonly ml: {
46
+ readonly property: "marginLeft";
47
+ readonly scale: "space";
48
+ };
49
+ readonly mr: {
50
+ readonly property: "marginRight";
51
+ readonly scale: "space";
52
+ };
53
+ readonly mx: {
54
+ readonly property: "marginInline";
55
+ readonly scale: "space";
56
+ };
57
+ readonly my: {
58
+ readonly property: "marginBlock";
59
+ readonly scale: "space";
60
+ };
61
+ readonly p: {
62
+ readonly property: "padding";
63
+ readonly scale: "space";
64
+ };
65
+ readonly pt: {
66
+ readonly property: "paddingTop";
67
+ readonly scale: "space";
68
+ };
69
+ readonly pb: {
70
+ readonly property: "paddingBottom";
71
+ readonly scale: "space";
72
+ };
73
+ readonly pl: {
74
+ readonly property: "paddingLeft";
75
+ readonly scale: "space";
76
+ };
77
+ readonly pr: {
78
+ readonly property: "paddingRight";
79
+ readonly scale: "space";
80
+ };
81
+ readonly px: {
82
+ readonly property: "paddingInline";
83
+ readonly scale: "space";
84
+ };
85
+ readonly py: {
86
+ readonly property: "paddingBlock";
87
+ readonly scale: "space";
88
+ };
89
+ readonly margin: {
90
+ readonly property: "margin";
91
+ readonly scale: "space";
92
+ };
93
+ readonly marginBottom: {
94
+ readonly property: "marginBottom";
95
+ readonly scale: "space";
96
+ };
97
+ readonly marginLeft: {
98
+ readonly property: "marginLeft";
99
+ readonly scale: "space";
100
+ };
101
+ readonly marginRight: {
102
+ readonly property: "marginRight";
103
+ readonly scale: "space";
104
+ };
105
+ readonly marginTop: {
106
+ readonly property: "marginTop";
107
+ readonly scale: "space";
108
+ };
109
+ readonly marginX: {
110
+ readonly property: "marginInline";
111
+ readonly scale: "space";
112
+ };
113
+ readonly marginY: {
114
+ readonly property: "marginBlock";
115
+ readonly scale: "space";
116
+ };
117
+ readonly padding: {
118
+ readonly property: "padding";
119
+ readonly scale: "space";
120
+ };
121
+ readonly paddingBottom: {
122
+ readonly property: "paddingBottom";
123
+ readonly scale: "space";
124
+ };
125
+ readonly paddingLeft: {
126
+ readonly property: "paddingLeft";
127
+ readonly scale: "space";
128
+ };
129
+ readonly paddingRight: {
130
+ readonly property: "paddingRight";
131
+ readonly scale: "space";
132
+ };
133
+ readonly paddingTop: {
134
+ readonly property: "paddingTop";
135
+ readonly scale: "space";
136
+ };
137
+ readonly paddingX: {
138
+ readonly property: "paddingInline";
139
+ readonly scale: "space";
140
+ };
141
+ readonly paddingY: {
142
+ readonly property: "paddingBlock";
143
+ readonly scale: "space";
144
+ };
145
+ readonly gap: {
146
+ readonly property: "gap";
147
+ readonly scale: "space";
148
+ };
149
+ };
150
+ declare const radii: {
151
+ readonly bbl: {
152
+ readonly property: "borderBottomLeftRadius";
153
+ readonly scale: "radii";
154
+ };
155
+ readonly bbr: {
156
+ readonly property: "borderBottomRightRadius";
157
+ readonly scale: "radii";
158
+ };
159
+ readonly btl: {
160
+ readonly property: "borderTopLeftRadius";
161
+ readonly scale: "radii";
162
+ };
163
+ readonly btr: {
164
+ readonly property: "borderTopRightRadius";
165
+ readonly scale: "radii";
166
+ };
167
+ readonly r: {
168
+ readonly property: "borderRadius";
169
+ readonly scale: "radii";
170
+ };
171
+ readonly radius: {
172
+ readonly property: "borderRadius";
173
+ readonly scale: "radii";
174
+ };
175
+ readonly borderBottomLeftRadius: {
176
+ readonly property: "borderBottomLeftRadius";
177
+ readonly scale: "radii";
178
+ };
179
+ readonly borderBottomRightRadius: {
180
+ readonly property: "borderBottomRightRadius";
181
+ readonly scale: "radii";
182
+ };
183
+ readonly borderTopLeftRadius: {
184
+ readonly property: "borderTopLeftRadius";
185
+ readonly scale: "radii";
186
+ };
187
+ readonly borderTopRightRadius: {
188
+ readonly property: "borderTopRightRadius";
189
+ readonly scale: "radii";
190
+ };
191
+ readonly borderRadius: {
192
+ readonly property: "borderRadius";
193
+ readonly scale: "radii";
194
+ };
195
+ };
196
+ declare const borderWidths: {
197
+ readonly b: {
198
+ readonly property: "borderWidth";
199
+ readonly scale: "borderWidths";
200
+ };
201
+ readonly bb: {
202
+ readonly property: "borderBottomWidth";
203
+ readonly scale: "borderWidths";
204
+ };
205
+ readonly bt: {
206
+ readonly property: "borderTopWidth";
207
+ readonly scale: "borderWidths";
208
+ };
209
+ readonly bl: {
210
+ readonly property: "borderLeftWidth";
211
+ readonly scale: "borderWidths";
212
+ };
213
+ readonly br: {
214
+ readonly property: "borderRightWidth";
215
+ readonly scale: "borderWidths";
216
+ };
217
+ readonly borderWidth: {
218
+ readonly property: "borderWidth";
219
+ readonly scale: "borderWidths";
220
+ };
221
+ readonly borderBottomWidth: {
222
+ readonly property: "borderBottomWidth";
223
+ readonly scale: "borderWidths";
224
+ };
225
+ readonly borderTopWidth: {
226
+ readonly property: "borderTopWidth";
227
+ readonly scale: "borderWidths";
228
+ };
229
+ readonly borderLeftWidth: {
230
+ readonly property: "borderLeftWidth";
231
+ readonly scale: "borderWidths";
232
+ };
233
+ readonly borderRightWidth: {
234
+ readonly property: "borderRightWidth";
235
+ readonly scale: "borderWidths";
236
+ };
237
+ };
238
+ declare const config: {
239
+ readonly b: {
240
+ readonly property: "borderWidth";
241
+ readonly scale: "borderWidths";
242
+ };
243
+ readonly bb: {
244
+ readonly property: "borderBottomWidth";
245
+ readonly scale: "borderWidths";
246
+ };
247
+ readonly bt: {
248
+ readonly property: "borderTopWidth";
249
+ readonly scale: "borderWidths";
250
+ };
251
+ readonly bl: {
252
+ readonly property: "borderLeftWidth";
253
+ readonly scale: "borderWidths";
254
+ };
255
+ readonly br: {
256
+ readonly property: "borderRightWidth";
257
+ readonly scale: "borderWidths";
258
+ };
259
+ readonly borderWidth: {
260
+ readonly property: "borderWidth";
261
+ readonly scale: "borderWidths";
262
+ };
263
+ readonly borderBottomWidth: {
264
+ readonly property: "borderBottomWidth";
265
+ readonly scale: "borderWidths";
266
+ };
267
+ readonly borderTopWidth: {
268
+ readonly property: "borderTopWidth";
269
+ readonly scale: "borderWidths";
270
+ };
271
+ readonly borderLeftWidth: {
272
+ readonly property: "borderLeftWidth";
273
+ readonly scale: "borderWidths";
274
+ };
275
+ readonly borderRightWidth: {
276
+ readonly property: "borderRightWidth";
277
+ readonly scale: "borderWidths";
278
+ };
279
+ readonly bbl: {
280
+ readonly property: "borderBottomLeftRadius";
281
+ readonly scale: "radii";
282
+ };
283
+ readonly bbr: {
284
+ readonly property: "borderBottomRightRadius";
285
+ readonly scale: "radii";
286
+ };
287
+ readonly btl: {
288
+ readonly property: "borderTopLeftRadius";
289
+ readonly scale: "radii";
290
+ };
291
+ readonly btr: {
292
+ readonly property: "borderTopRightRadius";
293
+ readonly scale: "radii";
294
+ };
295
+ readonly r: {
296
+ readonly property: "borderRadius";
297
+ readonly scale: "radii";
298
+ };
299
+ readonly radius: {
300
+ readonly property: "borderRadius";
301
+ readonly scale: "radii";
302
+ };
303
+ readonly borderBottomLeftRadius: {
304
+ readonly property: "borderBottomLeftRadius";
305
+ readonly scale: "radii";
306
+ };
307
+ readonly borderBottomRightRadius: {
308
+ readonly property: "borderBottomRightRadius";
309
+ readonly scale: "radii";
310
+ };
311
+ readonly borderTopLeftRadius: {
312
+ readonly property: "borderTopLeftRadius";
313
+ readonly scale: "radii";
314
+ };
315
+ readonly borderTopRightRadius: {
316
+ readonly property: "borderTopRightRadius";
317
+ readonly scale: "radii";
318
+ };
319
+ readonly borderRadius: {
320
+ readonly property: "borderRadius";
321
+ readonly scale: "radii";
322
+ };
323
+ readonly m: {
324
+ readonly property: "margin";
325
+ readonly scale: "space";
326
+ };
327
+ readonly mt: {
328
+ readonly property: "marginTop";
329
+ readonly scale: "space";
330
+ };
331
+ readonly mb: {
332
+ readonly property: "marginBottom";
333
+ readonly scale: "space";
334
+ };
335
+ readonly ml: {
336
+ readonly property: "marginLeft";
337
+ readonly scale: "space";
338
+ };
339
+ readonly mr: {
340
+ readonly property: "marginRight";
341
+ readonly scale: "space";
342
+ };
343
+ readonly mx: {
344
+ readonly property: "marginInline";
345
+ readonly scale: "space";
346
+ };
347
+ readonly my: {
348
+ readonly property: "marginBlock";
349
+ readonly scale: "space";
350
+ };
351
+ readonly p: {
352
+ readonly property: "padding";
353
+ readonly scale: "space";
354
+ };
355
+ readonly pt: {
356
+ readonly property: "paddingTop";
357
+ readonly scale: "space";
358
+ };
359
+ readonly pb: {
360
+ readonly property: "paddingBottom";
361
+ readonly scale: "space";
362
+ };
363
+ readonly pl: {
364
+ readonly property: "paddingLeft";
365
+ readonly scale: "space";
366
+ };
367
+ readonly pr: {
368
+ readonly property: "paddingRight";
369
+ readonly scale: "space";
370
+ };
371
+ readonly px: {
372
+ readonly property: "paddingInline";
373
+ readonly scale: "space";
374
+ };
375
+ readonly py: {
376
+ readonly property: "paddingBlock";
377
+ readonly scale: "space";
378
+ };
379
+ readonly margin: {
380
+ readonly property: "margin";
381
+ readonly scale: "space";
382
+ };
383
+ readonly marginBottom: {
384
+ readonly property: "marginBottom";
385
+ readonly scale: "space";
386
+ };
387
+ readonly marginLeft: {
388
+ readonly property: "marginLeft";
389
+ readonly scale: "space";
390
+ };
391
+ readonly marginRight: {
392
+ readonly property: "marginRight";
393
+ readonly scale: "space";
394
+ };
395
+ readonly marginTop: {
396
+ readonly property: "marginTop";
397
+ readonly scale: "space";
398
+ };
399
+ readonly marginX: {
400
+ readonly property: "marginInline";
401
+ readonly scale: "space";
402
+ };
403
+ readonly marginY: {
404
+ readonly property: "marginBlock";
405
+ readonly scale: "space";
406
+ };
407
+ readonly padding: {
408
+ readonly property: "padding";
409
+ readonly scale: "space";
410
+ };
411
+ readonly paddingBottom: {
412
+ readonly property: "paddingBottom";
413
+ readonly scale: "space";
414
+ };
415
+ readonly paddingLeft: {
416
+ readonly property: "paddingLeft";
417
+ readonly scale: "space";
418
+ };
419
+ readonly paddingRight: {
420
+ readonly property: "paddingRight";
421
+ readonly scale: "space";
422
+ };
423
+ readonly paddingTop: {
424
+ readonly property: "paddingTop";
425
+ readonly scale: "space";
426
+ };
427
+ readonly paddingX: {
428
+ readonly property: "paddingInline";
429
+ readonly scale: "space";
430
+ };
431
+ readonly paddingY: {
432
+ readonly property: "paddingBlock";
433
+ readonly scale: "space";
434
+ };
435
+ readonly gap: {
436
+ readonly property: "gap";
437
+ readonly scale: "space";
438
+ };
439
+ readonly bgColor: {
440
+ readonly property: "backgroundColor";
441
+ readonly scale: "colors";
442
+ };
443
+ readonly backgroundColor: {
444
+ readonly property: "backgroundColor";
445
+ readonly scale: "colors";
446
+ };
447
+ readonly borderColor: {
448
+ readonly property: "borderColor";
449
+ readonly scale: "colors";
450
+ };
451
+ readonly borderTopColor: {
452
+ readonly property: "borderTopColor";
453
+ readonly scale: "colors";
454
+ };
455
+ readonly borderBottomColor: {
456
+ readonly property: "borderBottomColor";
457
+ readonly scale: "colors";
458
+ };
459
+ readonly borderLeftColor: {
460
+ readonly property: "borderLeftColor";
461
+ readonly scale: "colors";
462
+ };
463
+ readonly borderRightColor: {
464
+ readonly property: "borderRightColor";
465
+ readonly scale: "colors";
466
+ };
467
+ };
468
+ export declare const flexPropsKey: readonly ["alignContent", "alignItems", "alignSelf", "display", "flex", "flexBasis", "flexDirection", "flexGrow", "flexShrink", "flexWrap", "justifyContent", "position", "top", "right", "bottom", "left", "overflow", "width", "minWidth", "maxWidth", "height", "minHeight", "maxHeight", "opacity"];
469
+ export declare const customBoxPropsKey: readonly ["fullWidth", "fullHeight", "fw", "fh"];
470
+ export type ColorPropsKeyType = keyof typeof colors;
471
+ export type SpacePropsKeyType = keyof typeof spaces;
472
+ export type RadiiPropsKeyType = keyof typeof radii;
473
+ export type BorderWidthsPropsKeyType = keyof typeof borderWidths;
474
+ export type ConfigType = typeof config;
475
+ export type FlexPropsKeyType = (typeof flexPropsKey)[number];
476
+ export type CustomBoxPropsKeyType = (typeof customBoxPropsKey)[number];
477
+ export declare const customBoxPropsConfig: Record<CustomBoxPropsKeyType, CSSProperties>;
478
+ export default config;
@@ -0,0 +1,9 @@
1
+ import { ForwardedRef } from 'react';
2
+ import { BoxProps } from './types';
3
+ declare function PlainBox({ children, style, 'data-testid': testId, ...otherProps }: BoxProps, ref: ForwardedRef<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
4
+ export declare const Box: (props: BoxProps & {
5
+ ref?: ForwardedRef<HTMLDivElement>;
6
+ }) => ReturnType<typeof PlainBox>;
7
+ export * from './config';
8
+ export * from './types';
9
+ export * from './StyledBox';
@@ -0,0 +1,49 @@
1
+ import { CSSProperties, HTMLAttributes } from 'react';
2
+ import { BorderWidth, Color, Radius, Space } from '../../theme';
3
+ import { ConfigType, FlexPropsKeyType } from './config';
4
+ export interface ThemeScale {
5
+ colors: Color;
6
+ space: Space;
7
+ radii: Radius;
8
+ borderWidths: BorderWidth;
9
+ }
10
+ type ConfigKeyType = keyof ConfigType;
11
+ export type StyleProps = {
12
+ [key in ConfigKeyType]?: ThemeScale[ConfigType[key]['scale']];
13
+ };
14
+ export type FlexStyleProps = Pick<CSSProperties, FlexPropsKeyType>;
15
+ export interface CustomBoxProps {
16
+ /**
17
+ * If true, the box will take the full width of its parent.
18
+ */
19
+ fullWidth?: boolean;
20
+ /**
21
+ * If true, the box will take the full height of its parent.
22
+ */
23
+ fullHeight?: boolean;
24
+ /**
25
+ * If true, the box will take the full width of its parent.
26
+ */
27
+ fw?: boolean;
28
+ /**
29
+ * If true, the box will take the full height of its parent.
30
+ */
31
+ fh?: boolean;
32
+ }
33
+ export interface BoxHTMLProps extends HTMLAttributes<HTMLDivElement> {
34
+ /**
35
+ * Box's content.
36
+ */
37
+ children?: React.ReactNode;
38
+ /**
39
+ * Additional styles.
40
+ */
41
+ style?: CSSProperties;
42
+ /**
43
+ * Testing id of the component.
44
+ */
45
+ 'data-testid'?: string;
46
+ }
47
+ export interface BoxProps extends StyleProps, FlexStyleProps, CustomBoxProps, BoxHTMLProps {
48
+ }
49
+ export {};
@@ -1 +0,0 @@
1
- export declare const Example: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ import { Color, FontSize, FontWeight, Typeface } from '../../theme';
2
+ interface StyledTextProps {
3
+ themeFontSize: FontSize;
4
+ themeFontWeight: FontWeight;
5
+ themeColor: Color;
6
+ themeTypeface: Typeface;
7
+ textAlign?: 'left' | 'right' | 'center' | 'justify';
8
+ textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase';
9
+ textDecoration?: 'none' | 'underline' | 'line-through' | 'underline line-through';
10
+ }
11
+ declare const StyledText: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, StyledTextProps>> & string;
12
+ export { StyledText };
@@ -0,0 +1,2 @@
1
+ import { TagStyle } from './types';
2
+ export declare const SUPPORTED_RICH_TEXT_TAGS: TagStyle[];
@@ -0,0 +1,6 @@
1
+ import { TextProps } from './types';
2
+ export declare const Text: (props: TextProps & {
3
+ useRichText?: boolean;
4
+ }) => import("react/jsx-runtime").JSX.Element;
5
+ export type { TextProps };
6
+ export * from './constants';
@@ -0,0 +1,49 @@
1
+ import { HTMLAttributes, ReactNode } from 'react';
2
+ import { Color, FontSize, FontWeight, Typeface } from '../../theme';
3
+ export interface TextProps extends HTMLAttributes<HTMLParagraphElement> {
4
+ /**
5
+ * Text content.
6
+ */
7
+ children: ReactNode;
8
+ /**
9
+ * Size of the text.
10
+ */
11
+ fontSize?: FontSize;
12
+ /**
13
+ * Font weight of the text.
14
+ */
15
+ fontWeight?: FontWeight;
16
+ /**
17
+ * Visual color to apply to the text.
18
+ */
19
+ color?: Color;
20
+ /**
21
+ * Specifies the alignment of the text.
22
+ */
23
+ textAlign?: 'left' | 'right' | 'center' | 'justify';
24
+ /**
25
+ * Transform the text.
26
+ */
27
+ textTransform?: 'none' | 'capitalize' | 'uppercase' | 'lowercase';
28
+ /**
29
+ * Specifies the decoration of the text.
30
+ */
31
+ textDecoration?: 'none' | 'underline' | 'line-through' | 'underline line-through';
32
+ /**
33
+ * Testing id of the component.
34
+ */
35
+ 'data-testid'?: string;
36
+ /**
37
+ * The typeface to render the text in:
38
+ * - `neutral`: The default typeface for the platform.
39
+ */
40
+ typeface?: Typeface;
41
+ /**
42
+ * Whether to render the text with rich text formatting.
43
+ */
44
+ useRichText?: boolean;
45
+ }
46
+ export interface TagStyle {
47
+ pattern: RegExp;
48
+ props: Partial<TextProps>;
49
+ }
@@ -0,0 +1,5 @@
1
+ import { default as React } from 'react';
2
+ import { TextProps } from './types';
3
+ export declare const withRichText: (BaseText: React.ComponentType<TextProps>) => (props: TextProps & {
4
+ useRichText?: boolean;
5
+ }) => import("react/jsx-runtime").JSX.Element;
@@ -1 +1,2 @@
1
- export * from './Example';
1
+ export * from './Box';
2
+ export * from './Text';