@liner-fe/prism 3.6.2 → 4.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/lib/index.css +939 -970
- package/lib/index.d.ts +283 -337
- package/lib/index.js +439 -790
- package/package.json +5 -4
package/lib/index.d.ts
CHANGED
|
@@ -1,38 +1,98 @@
|
|
|
1
1
|
import { SystemKeys, TypographyCaptionPrefix, TypographyParagraphPrefix, TypographyHeadingPrefix, TypographyTitlePrefix, TypographyDisplayPrefix, BasicColorType } from '@liner-fe/design-token-primitive';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ButtonHTMLAttributes, HTMLAttributes, JSX, ReactNode, ComponentPropsWithoutRef, InputHTMLAttributes, MouseEventHandler, ReactElement
|
|
3
|
+
import react__default, { ButtonHTMLAttributes, HTMLAttributes, JSX, ReactNode, ComponentPropsWithoutRef, InputHTMLAttributes, MouseEventHandler, ReactElement } from 'react';
|
|
4
4
|
import * as cva from 'cva';
|
|
5
5
|
import { VariantProps } from 'cva';
|
|
6
6
|
import { IconProps, IconComponentType } from '@liner-fe/icon';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
8
8
|
import * as _artsy_fresnel_dist_Media from '@artsy/fresnel/dist/Media';
|
|
9
|
-
import { breakpointOrigin
|
|
9
|
+
import { breakpointOrigin } from '@liner-fe/design-token';
|
|
10
10
|
import { Popover as Popover$1, Tooltip as Tooltip$1, Checkbox as Checkbox$1, RadioGroup, Select as Select$1, Label as Label$1, Avatar as Avatar$1, AlertDialog as AlertDialog$1, Dialog as Dialog$1 } from 'radix-ui';
|
|
11
11
|
import * as PopoverPrimitive from '@radix-ui/react-popover';
|
|
12
12
|
import { PopoverProps, PopoverPortalProps } from '@radix-ui/react-popover';
|
|
13
13
|
import { Drawer } from 'vaul';
|
|
14
|
+
export { Box, BoxProps, Container, ContainerProps, Flex, FlexProps, Grid, GridProps, Section, SectionProps } from '@radix-ui/themes';
|
|
14
15
|
|
|
15
16
|
declare const objectToArray: <T extends Record<string, unknown>>(obj: T) => [keyof T, T[keyof T]][];
|
|
16
17
|
declare const arrayToStyleObject: <T extends SystemKeys>(colorKeys: T[], style: {
|
|
17
18
|
readonly [key: string]: string;
|
|
18
|
-
}, prefix?: string) => Partial<Record<
|
|
19
|
+
}, prefix?: string) => Partial<Record<"surface-neutral-lowest" | "surface-neutral-lowest-hover" | "surface-neutral-low" | "surface-neutral-low-hover" | "surface-neutral-mid" | "surface-neutral-mid-hover" | "surface-neutral-high" | "surface-neutral-high-hover" | "surface-neutral-highest" | "surface-neutral-static-lowest" | "surface-neutral-static-lowest-hover" | "surface-neutral-variation-lowest" | "control-fill-neutral-lowest" | "control-fill-neutral-lowest-hover" | "control-fill-neutral-low" | "control-fill-neutral-low-hover" | "control-fill-neutral-mid" | "control-fill-neutral-mid-hover" | "control-fill-neutral-high" | "control-fill-neutral-high-hover" | "control-fill-neutral-highest" | "label-neutral-base" | "label-neutral-secondary" | "label-neutral-tertiary" | "label-neutral-quaternary" | "label-neutral-static" | "border-neutral-alpha-strong" | "border-neutral-alpha-normal" | "border-neutral-alpha-subtle" | "border-neutral-alpha-hint" | "border-neutral-strong" | "border-neutral-normal" | "border-neutral-subtle" | "surface-inverse-lowest" | "surface-inverse-lowest-hover" | "surface-inverse-low" | "surface-inverse-low-hover" | "surface-inverse-mid" | "surface-inverse-mid-hover" | "surface-inverse-high" | "surface-inverse-high-hover" | "surface-inverse-static-high" | "surface-inverse-static-high-hover" | "surface-inverse-highest" | "label-on-inverse-base" | "label-on-inverse-secondary" | "label-on-inverse-tertiary" | "label-on-inverse-quaternary" | "label-on-inverse-static-base" | "label-on-inverse-static-secondary" | "border-on-inverse-alpha-strong" | "border-on-inverse-alpha-normal" | "border-on-inverse-alpha-subtle" | "border-on-inverse-alpha-hint" | "border-on-inverse-strong" | "border-on-inverse-normal" | "border-on-inverse-subtle" | "control-fill-brand" | "control-fill-brand-hover" | "control-fill-brand-strong" | "control-fill-brand-faint" | "control-fill-brand-faint-hover" | "label-brand-base" | "label-brand-secondary" | "border-brand-normal" | "border-brand-strong" | "label-on-brand" | "brandinverse-fill-static-low" | "brandinverse-fill-static-low-hover" | "accent-label-base" | "accent-label-yellow" | "accent-label-mint" | "accent-label-cyan" | "accent-label-purple" | "accent-label-pink" | "accent-control-fill-base" | "positive-strong" | "negative-strong" | "negative-strong-hover" | "caution" | "highlight" | "control-fill-selected" | "control-fill-drag" | "positive-faint" | "negative-faint" | "positive-base" | "negative-base" | "link" | "overlay-dim" | "background-default" | "background-subtle" | "control-fill-neutral-opaque-lowest" | "control-fill-neutral-opaque-lowest-hover" | "control-fill-neutral-opaque-low" | "control-fill-neutral-opaque-low-hover" | "control-fill-neutral-opaque-static-lowest" | "control-fill-neutral-lowest-pressed" | "control-fill-neutral-low-pressed" | "control-fill-neutral-mid-pressed" | "control-fill-neutral-high-pressed" | "control-fill-brand-pressed" | "control-fill-brand-faint-pressed" | "surface-neutral-lowest-pressed" | "surface-neutral-low-pressed" | "surface-neutral-mid-pressed" | "surface-neutral-static-lowest-pressed" | "surface-inverse-lowest-pressed" | "surface-inverse-low-pressed" | "surface-inverse-mid-pressed" | "surface-inverse-high-pressed" | "negative-strong-pressed" | "focus", string>>;
|
|
19
20
|
declare const isEmptyObject: (obj: object) => boolean;
|
|
20
21
|
|
|
21
22
|
declare const DEFAULT_LEVEL_OPTIONS: readonly ["primary", "secondary", "tertiary", "quaternary", "quinary", "negative", "static", "inverse-static"];
|
|
22
23
|
type DefaultLevelType = (typeof DEFAULT_LEVEL_OPTIONS)[number];
|
|
23
24
|
declare const DEFAULT_SIZE_OPTIONS: readonly ["cta", "l", "m", "s"];
|
|
24
25
|
type ButtonSizeType = (typeof DEFAULT_SIZE_OPTIONS)[number];
|
|
25
|
-
declare const defaultButtonVariants:
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
26
|
+
declare const defaultButtonVariants: cva.CVAComponent<Omit<{
|
|
27
|
+
base: string;
|
|
28
|
+
variants: {
|
|
29
|
+
level: {
|
|
30
|
+
primary: string;
|
|
31
|
+
secondary: string;
|
|
32
|
+
tertiary: string;
|
|
33
|
+
quaternary: string;
|
|
34
|
+
quinary: string;
|
|
35
|
+
negative: string;
|
|
36
|
+
static: string;
|
|
37
|
+
'inverse-static': string;
|
|
38
|
+
};
|
|
39
|
+
size: {
|
|
40
|
+
cta: string[];
|
|
41
|
+
l: string[];
|
|
42
|
+
m: string[];
|
|
43
|
+
s: string[];
|
|
44
|
+
};
|
|
45
|
+
width: {
|
|
46
|
+
full: string;
|
|
47
|
+
'fit-content': string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}, "defaultVariants"> & {
|
|
51
|
+
variants: {
|
|
52
|
+
level: {
|
|
53
|
+
primary: string;
|
|
54
|
+
secondary: string;
|
|
55
|
+
tertiary: string;
|
|
56
|
+
quaternary: string;
|
|
57
|
+
quinary: string;
|
|
58
|
+
negative: string;
|
|
59
|
+
static: string;
|
|
60
|
+
'inverse-static': string;
|
|
61
|
+
};
|
|
62
|
+
size: {
|
|
63
|
+
cta: string[];
|
|
64
|
+
l: string[];
|
|
65
|
+
m: string[];
|
|
66
|
+
s: string[];
|
|
67
|
+
};
|
|
68
|
+
width: {
|
|
69
|
+
full: string;
|
|
70
|
+
'fit-content': string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
defaultVariants: Omit<{}, never>;
|
|
74
|
+
}, {
|
|
75
|
+
level: {
|
|
76
|
+
primary: string;
|
|
77
|
+
secondary: string;
|
|
78
|
+
tertiary: string;
|
|
79
|
+
quaternary: string;
|
|
80
|
+
quinary: string;
|
|
81
|
+
negative: string;
|
|
82
|
+
static: string;
|
|
83
|
+
'inverse-static': string;
|
|
84
|
+
};
|
|
85
|
+
size: {
|
|
86
|
+
cta: string[];
|
|
87
|
+
l: string[];
|
|
88
|
+
m: string[];
|
|
89
|
+
s: string[];
|
|
90
|
+
};
|
|
91
|
+
width: {
|
|
92
|
+
full: string;
|
|
93
|
+
'fit-content': string;
|
|
94
|
+
};
|
|
95
|
+
}>;
|
|
36
96
|
interface CommonButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
37
97
|
asChild?: boolean;
|
|
38
98
|
}
|
|
@@ -194,23 +254,14 @@ type TypographyType = (props: Partial<Record<BreakPointsKey, TypoSet>> & {
|
|
|
194
254
|
}) => JSX.Element;
|
|
195
255
|
declare const Typography: TypographyType;
|
|
196
256
|
|
|
197
|
-
/**
|
|
198
|
-
* PopoverRoot
|
|
199
|
-
*/
|
|
200
257
|
interface PopoverRootProps {
|
|
201
258
|
isOpen?: boolean;
|
|
202
259
|
children?: react.ReactNode;
|
|
203
260
|
onChange?: (isOpen: boolean) => void;
|
|
204
261
|
}
|
|
205
|
-
/**
|
|
206
|
-
* PopoverTrigger
|
|
207
|
-
*/
|
|
208
262
|
interface PopoverTriggerProps {
|
|
209
263
|
by?: ReactNode;
|
|
210
264
|
}
|
|
211
|
-
/**
|
|
212
|
-
* PopoverContent
|
|
213
|
-
*/
|
|
214
265
|
interface PopoverContentProps extends HTMLAttributes<HTMLDivElement>, Popover$1.PopoverContentProps {
|
|
215
266
|
level?: 'primary' | 'secondary';
|
|
216
267
|
tag?: string;
|
|
@@ -313,16 +364,58 @@ declare const Tooltip: (({ children, ...props }: TooltipRootProps) => react_jsx_
|
|
|
313
364
|
declare const ICON_SIZE_OPTIONS: string[];
|
|
314
365
|
declare const ICON_LEVEL_OPTIONS: readonly ["primary", "secondary", "tertiary", "quaternary", "quinary", "static", "inverse-static"];
|
|
315
366
|
type IconButtonLevelType = (typeof ICON_LEVEL_OPTIONS)[number];
|
|
316
|
-
declare const iconButtonVariants:
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
367
|
+
declare const iconButtonVariants: cva.CVAComponent<Omit<{
|
|
368
|
+
base: string[];
|
|
369
|
+
variants: {
|
|
370
|
+
level: {
|
|
371
|
+
primary: string;
|
|
372
|
+
secondary: string;
|
|
373
|
+
tertiary: string;
|
|
374
|
+
quaternary: string;
|
|
375
|
+
static: string;
|
|
376
|
+
quinary: string;
|
|
377
|
+
'inverse-static': string;
|
|
378
|
+
};
|
|
379
|
+
size: {
|
|
380
|
+
l: string;
|
|
381
|
+
m: string;
|
|
382
|
+
s: string;
|
|
383
|
+
};
|
|
384
|
+
};
|
|
385
|
+
}, "defaultVariants"> & {
|
|
386
|
+
variants: {
|
|
387
|
+
level: {
|
|
388
|
+
primary: string;
|
|
389
|
+
secondary: string;
|
|
390
|
+
tertiary: string;
|
|
391
|
+
quaternary: string;
|
|
392
|
+
static: string;
|
|
393
|
+
quinary: string;
|
|
394
|
+
'inverse-static': string;
|
|
395
|
+
};
|
|
396
|
+
size: {
|
|
397
|
+
l: string;
|
|
398
|
+
m: string;
|
|
399
|
+
s: string;
|
|
400
|
+
};
|
|
401
|
+
};
|
|
402
|
+
defaultVariants: Omit<{}, never>;
|
|
403
|
+
}, {
|
|
404
|
+
level: {
|
|
405
|
+
primary: string;
|
|
406
|
+
secondary: string;
|
|
407
|
+
tertiary: string;
|
|
408
|
+
quaternary: string;
|
|
409
|
+
static: string;
|
|
410
|
+
quinary: string;
|
|
411
|
+
'inverse-static': string;
|
|
412
|
+
};
|
|
413
|
+
size: {
|
|
414
|
+
l: string;
|
|
415
|
+
m: string;
|
|
416
|
+
s: string;
|
|
417
|
+
};
|
|
418
|
+
}>;
|
|
326
419
|
interface IconButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof iconButtonVariants> {
|
|
327
420
|
asChild?: boolean;
|
|
328
421
|
level?: IconButtonLevelType;
|
|
@@ -347,15 +440,28 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<RadioGroup.RadioGroupP
|
|
|
347
440
|
Item: react.ForwardRefExoticComponent<RadioItemProps & react.RefAttributes<HTMLButtonElement>>;
|
|
348
441
|
};
|
|
349
442
|
|
|
350
|
-
declare const defaultTextfieldVariants:
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
}
|
|
443
|
+
declare const defaultTextfieldVariants: cva.CVAComponent<Omit<{
|
|
444
|
+
base: string;
|
|
445
|
+
variants: {
|
|
446
|
+
color: {
|
|
447
|
+
'surface-neutral-mid': string;
|
|
448
|
+
'surface-neutral-lowest': string;
|
|
449
|
+
};
|
|
450
|
+
};
|
|
451
|
+
}, "defaultVariants"> & {
|
|
452
|
+
variants: {
|
|
453
|
+
color: {
|
|
454
|
+
'surface-neutral-mid': string;
|
|
455
|
+
'surface-neutral-lowest': string;
|
|
456
|
+
};
|
|
457
|
+
};
|
|
458
|
+
defaultVariants: Omit<{}, never>;
|
|
459
|
+
}, {
|
|
460
|
+
color: {
|
|
461
|
+
'surface-neutral-mid': string;
|
|
462
|
+
'surface-neutral-lowest': string;
|
|
463
|
+
};
|
|
464
|
+
}>;
|
|
359
465
|
type TextfieldButtonProps = Omit<DefaultButtonProps, 'size'>;
|
|
360
466
|
type TextfieldLabelType = 'in' | 'out' | 'visually-hidden';
|
|
361
467
|
interface TextfieldLabelProps {
|
|
@@ -369,7 +475,7 @@ interface TextfieldProps extends InputHTMLAttributes<HTMLInputElement>, VariantP
|
|
|
369
475
|
error?: string;
|
|
370
476
|
disabled?: boolean;
|
|
371
477
|
button?: TextfieldButtonProps;
|
|
372
|
-
color?: Extract<BasicColorType, 'neutral-
|
|
478
|
+
color?: Extract<BasicColorType, 'surface-neutral-mid' | 'surface-neutral-lowest'>;
|
|
373
479
|
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
374
480
|
onClear?: () => void;
|
|
375
481
|
}
|
|
@@ -573,20 +679,88 @@ declare const List: react.ForwardRefExoticComponent<ListProps & react.RefAttribu
|
|
|
573
679
|
Group: react.ForwardRefExoticComponent<ListGroupProps & react.RefAttributes<HTMLDivElement>>;
|
|
574
680
|
};
|
|
575
681
|
|
|
576
|
-
declare const defaultLabelVariants:
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
}
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
682
|
+
declare const defaultLabelVariants: cva.CVAComponent<Omit<{
|
|
683
|
+
base: string[];
|
|
684
|
+
variants: {
|
|
685
|
+
level: {
|
|
686
|
+
primary: string;
|
|
687
|
+
secondary: string;
|
|
688
|
+
};
|
|
689
|
+
position: {
|
|
690
|
+
top: string;
|
|
691
|
+
right: string;
|
|
692
|
+
};
|
|
693
|
+
size: {
|
|
694
|
+
l: string[];
|
|
695
|
+
m: string[];
|
|
696
|
+
s: string[];
|
|
697
|
+
};
|
|
698
|
+
offset: {
|
|
699
|
+
high: string;
|
|
700
|
+
medium: string;
|
|
701
|
+
low: string;
|
|
702
|
+
};
|
|
703
|
+
disabled: {
|
|
704
|
+
true: string;
|
|
705
|
+
};
|
|
706
|
+
error: {
|
|
707
|
+
true: string;
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
}, "defaultVariants"> & {
|
|
711
|
+
variants: {
|
|
712
|
+
level: {
|
|
713
|
+
primary: string;
|
|
714
|
+
secondary: string;
|
|
715
|
+
};
|
|
716
|
+
position: {
|
|
717
|
+
top: string;
|
|
718
|
+
right: string;
|
|
719
|
+
};
|
|
720
|
+
size: {
|
|
721
|
+
l: string[];
|
|
722
|
+
m: string[];
|
|
723
|
+
s: string[];
|
|
724
|
+
};
|
|
725
|
+
offset: {
|
|
726
|
+
high: string;
|
|
727
|
+
medium: string;
|
|
728
|
+
low: string;
|
|
729
|
+
};
|
|
730
|
+
disabled: {
|
|
731
|
+
true: string;
|
|
732
|
+
};
|
|
733
|
+
error: {
|
|
734
|
+
true: string;
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
defaultVariants: Omit<{}, never>;
|
|
738
|
+
}, {
|
|
739
|
+
level: {
|
|
740
|
+
primary: string;
|
|
741
|
+
secondary: string;
|
|
742
|
+
};
|
|
743
|
+
position: {
|
|
744
|
+
top: string;
|
|
745
|
+
right: string;
|
|
746
|
+
};
|
|
747
|
+
size: {
|
|
748
|
+
l: string[];
|
|
749
|
+
m: string[];
|
|
750
|
+
s: string[];
|
|
751
|
+
};
|
|
752
|
+
offset: {
|
|
753
|
+
high: string;
|
|
754
|
+
medium: string;
|
|
755
|
+
low: string;
|
|
756
|
+
};
|
|
757
|
+
disabled: {
|
|
758
|
+
true: string;
|
|
759
|
+
};
|
|
760
|
+
error: {
|
|
761
|
+
true: string;
|
|
762
|
+
};
|
|
763
|
+
}>;
|
|
590
764
|
interface LabelProps extends ComponentPropsWithoutRef<typeof Label$1.Root>, VariantProps<typeof defaultLabelVariants> {
|
|
591
765
|
level?: 'primary' | 'secondary';
|
|
592
766
|
position?: 'top' | 'right';
|
|
@@ -601,17 +775,55 @@ declare const TEXT_LEVEL_OPTIONS: readonly ["primary", "secondary", "tertiary"];
|
|
|
601
775
|
type TextLevelType = (typeof TEXT_LEVEL_OPTIONS)[number];
|
|
602
776
|
declare const TEXT_SIZE_OPTIONS: readonly ["m", "s", "xs"];
|
|
603
777
|
type TextSizeType = (typeof TEXT_SIZE_OPTIONS)[number];
|
|
604
|
-
declare const textButtonVariants:
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
778
|
+
declare const textButtonVariants: cva.CVAComponent<Omit<{
|
|
779
|
+
base: string[];
|
|
780
|
+
variants: {
|
|
781
|
+
level: {
|
|
782
|
+
primary: string;
|
|
783
|
+
secondary: string;
|
|
784
|
+
tertiary: string;
|
|
785
|
+
};
|
|
786
|
+
size: {
|
|
787
|
+
m: string[];
|
|
788
|
+
s: string[];
|
|
789
|
+
xs: string[];
|
|
790
|
+
};
|
|
791
|
+
underline: {
|
|
792
|
+
true: string;
|
|
793
|
+
};
|
|
794
|
+
};
|
|
795
|
+
}, "defaultVariants"> & {
|
|
796
|
+
variants: {
|
|
797
|
+
level: {
|
|
798
|
+
primary: string;
|
|
799
|
+
secondary: string;
|
|
800
|
+
tertiary: string;
|
|
801
|
+
};
|
|
802
|
+
size: {
|
|
803
|
+
m: string[];
|
|
804
|
+
s: string[];
|
|
805
|
+
xs: string[];
|
|
806
|
+
};
|
|
807
|
+
underline: {
|
|
808
|
+
true: string;
|
|
809
|
+
};
|
|
810
|
+
};
|
|
811
|
+
defaultVariants: Omit<{}, never>;
|
|
812
|
+
}, {
|
|
813
|
+
level: {
|
|
814
|
+
primary: string;
|
|
815
|
+
secondary: string;
|
|
816
|
+
tertiary: string;
|
|
817
|
+
};
|
|
818
|
+
size: {
|
|
819
|
+
m: string[];
|
|
820
|
+
s: string[];
|
|
821
|
+
xs: string[];
|
|
822
|
+
};
|
|
823
|
+
underline: {
|
|
824
|
+
true: string;
|
|
825
|
+
};
|
|
826
|
+
}>;
|
|
615
827
|
interface TextButtonProps extends CommonButtonProps, VariantProps<typeof textButtonVariants> {
|
|
616
828
|
asChild?: boolean;
|
|
617
829
|
level?: TextLevelType;
|
|
@@ -626,7 +838,7 @@ interface TextButtonProps extends CommonButtonProps, VariantProps<typeof textBut
|
|
|
626
838
|
declare const TextButton: react.ForwardRefExoticComponent<TextButtonProps & react.RefAttributes<HTMLButtonElement>>;
|
|
627
839
|
|
|
628
840
|
type LoadingSizeType = 'xl' | 'l' | 'm' | 's' | 'xs';
|
|
629
|
-
type LoadingLevelType = 'brand-
|
|
841
|
+
type LoadingLevelType = 'label-brand-base' | 'label-neutral-base' | 'label-neutral-static' | 'label-on-inverse-base' | 'label-on-inverse-static-base' | 'label-neutral-secondary' | 'label-on-inverse-secondary';
|
|
630
842
|
interface LoadingProps extends HTMLAttributes<HTMLSpanElement> {
|
|
631
843
|
size?: LoadingSizeType;
|
|
632
844
|
level?: LoadingLevelType;
|
|
@@ -675,7 +887,7 @@ interface LogoProps {
|
|
|
675
887
|
*/
|
|
676
888
|
height?: number;
|
|
677
889
|
/**
|
|
678
|
-
* 단색(테마 적응) 로고의 색 토큰. 기본 `brand-
|
|
890
|
+
* 단색(테마 적응) 로고의 색 토큰. 기본 `label-brand-secondary`.
|
|
679
891
|
* 고정색 로고(badge 등)에는 무시된다.
|
|
680
892
|
*/
|
|
681
893
|
fill?: BasicColorType;
|
|
@@ -837,44 +1049,22 @@ declare const Avatar: react.ForwardRefExoticComponent<Omit<Avatar$1.AvatarProps
|
|
|
837
1049
|
onLoadingStatusChange?: (status: AvatarLoadingStatus) => void;
|
|
838
1050
|
} & react.RefAttributes<HTMLSpanElement>>;
|
|
839
1051
|
|
|
840
|
-
/**
|
|
841
|
-
* AlertDialogRoot
|
|
842
|
-
*
|
|
843
|
-
* ESC·Overlay 클릭으로 닫히지 않는다. dismiss/confirm 액션이 유일한 탈출구다.
|
|
844
|
-
*/
|
|
845
1052
|
type AlertDialogRootProps = react.ComponentProps<typeof AlertDialog$1.Root>;
|
|
846
|
-
/**
|
|
847
|
-
* AlertDialogTrigger
|
|
848
|
-
*/
|
|
849
1053
|
interface AlertDialogTriggerProps {
|
|
850
1054
|
by?: react.ReactNode;
|
|
851
1055
|
}
|
|
852
|
-
/**
|
|
853
|
-
* AlertDialog의 액션 정의
|
|
854
|
-
*/
|
|
855
1056
|
interface AlertDialogAction {
|
|
856
|
-
/** 버튼에 표시할 텍스트 */
|
|
857
1057
|
label: string;
|
|
858
|
-
/** 버튼 클릭 시 실행할 함수. 실행 후 dialog가 닫힌다. */
|
|
859
1058
|
onClick?: () => void;
|
|
860
1059
|
}
|
|
861
1060
|
type AlertDialogConfirmAction = AlertDialogAction & {
|
|
862
|
-
/** confirm 버튼의 레벨. 복구 비용이 큰(파괴적인) 액션은 negative를 사용한다. */
|
|
863
1061
|
level?: 'primary' | 'negative';
|
|
864
1062
|
};
|
|
865
|
-
/**
|
|
866
|
-
* AlertDialogContent
|
|
867
|
-
*/
|
|
868
1063
|
interface AlertDialogContentProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
869
|
-
/** 제목 (선택). 넘기면 표시되고, 없으면 렌더하지 않는다. aria-labelledby로 연결된다. */
|
|
870
1064
|
title?: string;
|
|
871
|
-
/** 본문. aria-describedby로 연결된다. (필수) */
|
|
872
1065
|
description: react.ReactNode;
|
|
873
|
-
/** 닫기(취소) 액션 (필수) */
|
|
874
1066
|
dismiss: AlertDialogAction;
|
|
875
|
-
/** 확인(주요 처리) 액션 (필수) */
|
|
876
1067
|
confirm: AlertDialogConfirmAction;
|
|
877
|
-
/** Portal이 렌더링될 컨테이너 */
|
|
878
1068
|
container?: HTMLElement;
|
|
879
1069
|
}
|
|
880
1070
|
declare const AlertDialog: ((props: AlertDialogRootProps) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -884,53 +1074,25 @@ declare const AlertDialog: ((props: AlertDialogRootProps) => react_jsx_runtime.J
|
|
|
884
1074
|
}) => react_jsx_runtime.JSX.Element;
|
|
885
1075
|
};
|
|
886
1076
|
|
|
887
|
-
/**
|
|
888
|
-
* DialogRoot
|
|
889
|
-
*
|
|
890
|
-
* AlertDialog와 달리 ESC·Overlay 클릭으로 닫힌다.
|
|
891
|
-
*/
|
|
892
1077
|
type DialogRootProps = react.ComponentProps<typeof Dialog$1.Root>;
|
|
893
|
-
/**
|
|
894
|
-
* DialogTrigger
|
|
895
|
-
*/
|
|
896
1078
|
interface DialogTriggerProps {
|
|
897
1079
|
by?: react.ReactNode;
|
|
898
1080
|
}
|
|
899
|
-
/**
|
|
900
|
-
* Dialog의 액션 정의
|
|
901
|
-
*/
|
|
902
1081
|
interface DialogAction {
|
|
903
|
-
/** 버튼에 표시할 텍스트 */
|
|
904
1082
|
label: string;
|
|
905
|
-
/** 버튼 클릭 시 실행할 함수. 실행 후 dialog가 닫힌다. */
|
|
906
1083
|
onClick?: () => void;
|
|
907
1084
|
}
|
|
908
1085
|
type DialogConfirmAction = DialogAction & {
|
|
909
|
-
/** confirm 버튼의 레벨. 복구 비용이 큰(파괴적인) 액션은 negative를 사용한다. */
|
|
910
1086
|
level?: 'primary' | 'negative';
|
|
911
1087
|
};
|
|
912
|
-
/**
|
|
913
|
-
* DialogContent
|
|
914
|
-
*/
|
|
915
1088
|
interface DialogContentProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
916
|
-
/**
|
|
917
|
-
* 상단 일러스트 슬롯 (선택). 일러스트를 넣는다. 없으면 렌더하지 않는다.
|
|
918
|
-
* content 상단에 가운데 정렬로 노출된다. (full-bleed 아님)
|
|
919
|
-
*/
|
|
920
1089
|
illust?: react.ReactNode;
|
|
921
|
-
/** 제목 (필수). aria-labelledby로 연결된다. */
|
|
922
1090
|
title: string;
|
|
923
|
-
/** 본문. aria-describedby로 연결된다. */
|
|
924
1091
|
description?: react.ReactNode;
|
|
925
|
-
/** 닫기(취소) 액션 (선택). 없으면 해당 버튼을 렌더하지 않는다. */
|
|
926
1092
|
dismiss?: DialogAction;
|
|
927
|
-
/** 확인(주요 처리) 액션 (선택). 없으면 해당 버튼을 렌더하지 않는다. */
|
|
928
1093
|
confirm?: DialogConfirmAction;
|
|
929
|
-
/** 보조 액션 (선택). primary/secondary 아래 가운데 정렬되는 텍스트 버튼. Figma `extra.items` 슬롯. */
|
|
930
1094
|
extra?: DialogAction;
|
|
931
|
-
/** 우상단 닫기(X) 버튼 노출 여부. 기본 true. */
|
|
932
1095
|
showClose?: boolean;
|
|
933
|
-
/** Portal이 렌더링될 컨테이너 */
|
|
934
1096
|
container?: HTMLElement;
|
|
935
1097
|
}
|
|
936
1098
|
declare const Dialog: ((props: DialogRootProps) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1036,220 +1198,4 @@ interface RatioProps extends react.HTMLAttributes<HTMLDivElement> {
|
|
|
1036
1198
|
*/
|
|
1037
1199
|
declare const Ratio: react.ForwardRefExoticComponent<RatioProps & react.RefAttributes<HTMLDivElement>>;
|
|
1038
1200
|
|
|
1039
|
-
|
|
1040
|
-
type PaddingToken = keyof typeof vars.padding;
|
|
1041
|
-
/** gap prop 스케일. `positive-*` 계열(요소 사이 간격). */
|
|
1042
|
-
type GapToken = keyof typeof vars.gap;
|
|
1043
|
-
/** margin prop 스케일. 원시 size 스케일(`minus*`로 음수 마진 지원). */
|
|
1044
|
-
type MarginToken = keyof typeof vars.size;
|
|
1045
|
-
/** Section 세로 여백 스케일 — padding 토큰 중 `section-*` 계열만. */
|
|
1046
|
-
type SectionPaddingToken = Extract<PaddingToken, `section-${string}`>;
|
|
1047
|
-
type BoxDisplay = 'none' | 'inline' | 'inline-block' | 'block' | 'flex' | 'inline-flex' | 'grid' | 'inline-grid' | 'contents';
|
|
1048
|
-
interface PaddingProps {
|
|
1049
|
-
/** 전체 padding */
|
|
1050
|
-
p?: PaddingToken;
|
|
1051
|
-
/** 좌우 padding (padding-inline) */
|
|
1052
|
-
px?: PaddingToken;
|
|
1053
|
-
/** 상하 padding (padding-block) */
|
|
1054
|
-
py?: PaddingToken;
|
|
1055
|
-
/** padding-top */
|
|
1056
|
-
pt?: PaddingToken;
|
|
1057
|
-
/** padding-right */
|
|
1058
|
-
pr?: PaddingToken;
|
|
1059
|
-
/** padding-bottom */
|
|
1060
|
-
pb?: PaddingToken;
|
|
1061
|
-
/** padding-left */
|
|
1062
|
-
pl?: PaddingToken;
|
|
1063
|
-
}
|
|
1064
|
-
interface MarginProps {
|
|
1065
|
-
/** 전체 margin */
|
|
1066
|
-
m?: MarginToken;
|
|
1067
|
-
/** 좌우 margin (margin-inline) */
|
|
1068
|
-
mx?: MarginToken;
|
|
1069
|
-
/** 상하 margin (margin-block) */
|
|
1070
|
-
my?: MarginToken;
|
|
1071
|
-
/** margin-top */
|
|
1072
|
-
mt?: MarginToken;
|
|
1073
|
-
/** margin-right */
|
|
1074
|
-
mr?: MarginToken;
|
|
1075
|
-
/** margin-bottom */
|
|
1076
|
-
mb?: MarginToken;
|
|
1077
|
-
/** margin-left */
|
|
1078
|
-
ml?: MarginToken;
|
|
1079
|
-
}
|
|
1080
|
-
interface SizingProps {
|
|
1081
|
-
/** raw CSS 값. 예: `'100%'`, `'320px'` */
|
|
1082
|
-
width?: CSSProperties['width'];
|
|
1083
|
-
height?: CSSProperties['height'];
|
|
1084
|
-
minWidth?: CSSProperties['minWidth'];
|
|
1085
|
-
maxWidth?: CSSProperties['maxWidth'];
|
|
1086
|
-
minHeight?: CSSProperties['minHeight'];
|
|
1087
|
-
maxHeight?: CSSProperties['maxHeight'];
|
|
1088
|
-
}
|
|
1089
|
-
interface PositionProps {
|
|
1090
|
-
position?: CSSProperties['position'];
|
|
1091
|
-
inset?: CSSProperties['inset'];
|
|
1092
|
-
overflow?: CSSProperties['overflow'];
|
|
1093
|
-
}
|
|
1094
|
-
interface FlexItemProps {
|
|
1095
|
-
flexBasis?: CSSProperties['flexBasis'];
|
|
1096
|
-
flexGrow?: CSSProperties['flexGrow'];
|
|
1097
|
-
flexShrink?: CSSProperties['flexShrink'];
|
|
1098
|
-
}
|
|
1099
|
-
interface GridItemProps {
|
|
1100
|
-
gridColumn?: CSSProperties['gridColumn'];
|
|
1101
|
-
gridRow?: CSSProperties['gridRow'];
|
|
1102
|
-
gridArea?: CSSProperties['gridArea'];
|
|
1103
|
-
}
|
|
1104
|
-
/** Box가 소비하는 모든 레이아웃 prop의 합집합. Flex/Grid/Container/Section이 확장한다. */
|
|
1105
|
-
interface LayoutProps extends PaddingProps, MarginProps, SizingProps, PositionProps, FlexItemProps, GridItemProps {
|
|
1106
|
-
display?: BoxDisplay;
|
|
1107
|
-
}
|
|
1108
|
-
interface BoxProps extends LayoutProps, Omit<HTMLAttributes<HTMLElement>, 'color'> {
|
|
1109
|
-
/** 렌더할 엘리먼트. 기본 `div`. */
|
|
1110
|
-
as?: ElementType;
|
|
1111
|
-
/** true면 자식 엘리먼트에 props를 병합(radix Slot). `as`보다 우선. */
|
|
1112
|
-
asChild?: boolean;
|
|
1113
|
-
}
|
|
1114
|
-
declare const gapTok: (k?: GapToken) => string | undefined;
|
|
1115
|
-
/**
|
|
1116
|
-
* Box 레이아웃 prop들을 inline style로 해석한다.
|
|
1117
|
-
* 우선순위: 축약(p/px/py, m/mx/my) < 개별 변(pt/pr/pb/pl, mt/mr/mb/ml).
|
|
1118
|
-
*/
|
|
1119
|
-
declare function resolveLayoutStyle(props: LayoutProps): CSSProperties;
|
|
1120
|
-
/**
|
|
1121
|
-
* LayoutProps를 소비하고 나머지(HTML 속성)만 남긴다.
|
|
1122
|
-
* Flex/Grid/Container/Section이 Box에 위임할 때 자기 prop만 뽑고 나머지를 넘기기 위해 쓴다.
|
|
1123
|
-
*/
|
|
1124
|
-
declare function splitLayoutProps<T extends LayoutProps>(props: T): {
|
|
1125
|
-
layout: LayoutProps;
|
|
1126
|
-
rest: Omit<T, keyof LayoutProps>;
|
|
1127
|
-
};
|
|
1128
|
-
/** align/justify 문자열을 flexbox CSS 값으로 매핑. Flex에서 재사용. */
|
|
1129
|
-
declare const FLEX_ALIGN: {
|
|
1130
|
-
readonly start: "flex-start";
|
|
1131
|
-
readonly center: "center";
|
|
1132
|
-
readonly end: "flex-end";
|
|
1133
|
-
readonly baseline: "baseline";
|
|
1134
|
-
readonly stretch: "stretch";
|
|
1135
|
-
};
|
|
1136
|
-
declare const FLEX_JUSTIFY: {
|
|
1137
|
-
readonly start: "flex-start";
|
|
1138
|
-
readonly center: "center";
|
|
1139
|
-
readonly end: "flex-end";
|
|
1140
|
-
readonly between: "space-between";
|
|
1141
|
-
readonly around: "space-around";
|
|
1142
|
-
readonly evenly: "space-evenly";
|
|
1143
|
-
};
|
|
1144
|
-
|
|
1145
|
-
/**
|
|
1146
|
-
* 토큰 세이프한 spacing(padding/margin)·display·sizing prop을 붙인 범용 레이아웃 블록.
|
|
1147
|
-
* 너비 제약이나 정렬 의견이 없다(그건 Container/Flex의 역할). 기본 `div`로 렌더하며
|
|
1148
|
-
* `as`로 시맨틱 엘리먼트, `asChild`로 자식에 병합할 수 있다.
|
|
1149
|
-
*
|
|
1150
|
-
* ```tsx
|
|
1151
|
-
* <Box p="component-400" m="8" maxWidth="640px">…</Box>
|
|
1152
|
-
* ```
|
|
1153
|
-
*/
|
|
1154
|
-
declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLElement>>;
|
|
1155
|
-
|
|
1156
|
-
type FlexDirection = 'row' | 'column' | 'row-reverse' | 'column-reverse';
|
|
1157
|
-
type FlexAlign = keyof typeof FLEX_ALIGN;
|
|
1158
|
-
type FlexJustify = keyof typeof FLEX_JUSTIFY;
|
|
1159
|
-
type FlexWrap = 'nowrap' | 'wrap' | 'wrap-reverse';
|
|
1160
|
-
interface FlexProps extends BoxProps {
|
|
1161
|
-
/** true면 `inline-flex`로 렌더. */
|
|
1162
|
-
inline?: boolean;
|
|
1163
|
-
/** flex-direction. 기본 `row`. */
|
|
1164
|
-
direction?: FlexDirection;
|
|
1165
|
-
/** align-items. `start | center | end | baseline | stretch`. */
|
|
1166
|
-
align?: FlexAlign;
|
|
1167
|
-
/** justify-content. `start | center | end | between | around | evenly`. */
|
|
1168
|
-
justify?: FlexJustify;
|
|
1169
|
-
/** flex-wrap. 기본 `nowrap`. */
|
|
1170
|
-
wrap?: FlexWrap;
|
|
1171
|
-
/** 요소 사이 간격(gap 토큰). */
|
|
1172
|
-
gap?: GapToken;
|
|
1173
|
-
/** 가로 간격(column-gap). `gap`보다 우선. */
|
|
1174
|
-
gapX?: GapToken;
|
|
1175
|
-
/** 세로 간격(row-gap). `gap`보다 우선. */
|
|
1176
|
-
gapY?: GapToken;
|
|
1177
|
-
}
|
|
1178
|
-
/**
|
|
1179
|
-
* flexbox 컨테이너. Box 위에 flex 배치 prop(direction/align/justify/wrap/gap)을 얹는다.
|
|
1180
|
-
* 모든 Box prop(padding/margin/sizing/asChild 등)을 그대로 받는다.
|
|
1181
|
-
*
|
|
1182
|
-
* ```tsx
|
|
1183
|
-
* <Flex direction="column" gap="positive-300" align="center" p="component-400">…</Flex>
|
|
1184
|
-
* ```
|
|
1185
|
-
*/
|
|
1186
|
-
declare const Flex: react.ForwardRefExoticComponent<FlexProps & react.RefAttributes<HTMLElement>>;
|
|
1187
|
-
|
|
1188
|
-
type GridAlign = 'start' | 'center' | 'end' | 'baseline' | 'stretch';
|
|
1189
|
-
type GridJustify = 'start' | 'center' | 'end' | 'between';
|
|
1190
|
-
type GridFlow = 'row' | 'column' | 'dense' | 'row-dense' | 'column-dense';
|
|
1191
|
-
interface GridProps extends BoxProps {
|
|
1192
|
-
/** true면 `inline-grid`로 렌더. */
|
|
1193
|
-
inline?: boolean;
|
|
1194
|
-
/** grid-template-columns. 숫자 N → `repeat(N, minmax(0, 1fr))`, 문자열 → 그대로. */
|
|
1195
|
-
columns?: number | string;
|
|
1196
|
-
/** grid-template-rows. 숫자 N → `repeat(N, minmax(0, 1fr))`, 문자열 → 그대로. */
|
|
1197
|
-
rows?: number | string;
|
|
1198
|
-
/** grid-auto-flow. */
|
|
1199
|
-
flow?: GridFlow;
|
|
1200
|
-
/** align-items. `start | center | end | baseline | stretch`. */
|
|
1201
|
-
align?: GridAlign;
|
|
1202
|
-
/** justify-content. `start | center | end | between`. */
|
|
1203
|
-
justify?: GridJustify;
|
|
1204
|
-
/** 셀 사이 간격(gap 토큰). */
|
|
1205
|
-
gap?: GapToken;
|
|
1206
|
-
/** 가로 간격(column-gap). `gap`보다 우선. */
|
|
1207
|
-
gapX?: GapToken;
|
|
1208
|
-
/** 세로 간격(row-gap). `gap`보다 우선. */
|
|
1209
|
-
gapY?: GapToken;
|
|
1210
|
-
}
|
|
1211
|
-
/**
|
|
1212
|
-
* CSS grid 컨테이너. Box 위에 grid 배치 prop(columns/rows/flow/align/justify/gap)을 얹는다.
|
|
1213
|
-
*
|
|
1214
|
-
* ```tsx
|
|
1215
|
-
* <Grid columns={3} gap="positive-200">…</Grid>
|
|
1216
|
-
* <Grid columns="1fr 2fr" rows="auto 1fr">…</Grid>
|
|
1217
|
-
* ```
|
|
1218
|
-
*/
|
|
1219
|
-
declare const Grid: react.ForwardRefExoticComponent<GridProps & react.RefAttributes<HTMLElement>>;
|
|
1220
|
-
|
|
1221
|
-
/** Container 최대 너비 프리셋 — breakpoint 토큰 값을 재사용한다. */
|
|
1222
|
-
type ContainerSize = 's' | 'm' | 'l' | 'xl';
|
|
1223
|
-
interface ContainerProps extends BoxProps {
|
|
1224
|
-
/** 최대 너비 프리셋. 기본 `l`(1366px). `maxWidth`를 직접 주면 그 값이 우선한다. */
|
|
1225
|
-
size?: ContainerSize;
|
|
1226
|
-
}
|
|
1227
|
-
/**
|
|
1228
|
-
* 콘텐츠를 읽기 좋은 최대 너비로 제한하고 가로 중앙 정렬하는 페이지 레벨 래퍼다.
|
|
1229
|
-
* 와이드 스크린에서 본문이 화면 끝까지 늘어나지 않게 감쌀 때 쓴다.
|
|
1230
|
-
* (Box와 달리 `max-width` + 중앙정렬 의견을 가진 프리셋이다.)
|
|
1231
|
-
*
|
|
1232
|
-
* ```tsx
|
|
1233
|
-
* <Container size="l" px="component-400">…</Container>
|
|
1234
|
-
* ```
|
|
1235
|
-
*/
|
|
1236
|
-
declare const Container: react.ForwardRefExoticComponent<ContainerProps & react.RefAttributes<HTMLElement>>;
|
|
1237
|
-
|
|
1238
|
-
interface SectionProps extends BoxProps {
|
|
1239
|
-
/**
|
|
1240
|
-
* 세로 여백 프리셋(`section-*` 토큰). 기본 `section-400`.
|
|
1241
|
-
* `py`를 직접 주면 그 값이 우선한다.
|
|
1242
|
-
*/
|
|
1243
|
-
size?: SectionPaddingToken;
|
|
1244
|
-
}
|
|
1245
|
-
/**
|
|
1246
|
-
* 페이지를 세로로 나누는 구획이다. `section-*` 여백 스케일로 위아래 리듬을 준다.
|
|
1247
|
-
* 기본 시맨틱 엘리먼트는 `<section>`이며 `as`로 바꿀 수 있다.
|
|
1248
|
-
*
|
|
1249
|
-
* ```tsx
|
|
1250
|
-
* <Section size="section-500">…</Section>
|
|
1251
|
-
* ```
|
|
1252
|
-
*/
|
|
1253
|
-
declare const Section: react.ForwardRefExoticComponent<SectionProps & react.RefAttributes<HTMLElement>>;
|
|
1254
|
-
|
|
1255
|
-
export { AlertDialog, type AlertDialogAction, type AlertDialogConfirmAction, type AlertDialogContentProps, Avatar, type AvatarLoadingStatus, type AvatarProps, type AvatarSize, Badge, type BadgeColor, type BadgeIconProps, type BadgeProps, type BadgeSize, type BadgeVariant, BottomSheet, type BottomSheetAction, type BottomSheetConfirmAction, type BottomSheetContentProps, type BottomSheetMode, Box, type BoxDisplay, type BoxProps, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, CoachMark, type CoachMarkContentProps, type CommonButtonProps, CompactCoachMark, type CompactCoachMarkContentProps, Container, type ContainerProps, type ContainerSize, DEFAULT_LEVEL_OPTIONS, DEFAULT_SIZE_OPTIONS, DefaultButton, type DefaultButtonProps, type DefaultLevelType, Dialog, type DialogAction, type DialogConfirmAction, type DialogContentProps, Display, FLEX_ALIGN, FLEX_JUSTIFY, Flex, type FlexAlign, type FlexDirection, type FlexItemProps, type FlexJustify, type FlexProps, type FlexWrap, type GapToken, Grid, type GridAlign, type GridFlow, type GridItemProps, type GridJustify, type GridProps, Heading, ICON_LEVEL_OPTIONS, ICON_SIZE_OPTIONS, type ICaptionProps, type IDisplayProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsNormalBold, type IPropsPost, type ITitleProps, IconButton, type IconButtonProps, LOGOS, Label, type LayoutProps, List, type ListGroupProps, ListItem, type ListItemProps, type ListProps, Loading, type LoadingLevelType, Logo, type LogoCategory, type LogoName, type LogoProps, type MarginProps, type MarginToken, Media, MediaContextProvider, type PaddingProps, type PaddingToken, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, type PositionProps, PrimitiveCoachMark, type PrimitiveCoachMarkContentProps, type PrimitiveCoachMarkRootProps, PrimitiveListItem, type PrimitiveListItemProps, type PromiseToastOptions, RATIO, Radio, Ratio, type RatioProps, Section, type SectionPaddingToken, type SectionProps, Select, type SelectButtonSize, type SelectContentProps, type SelectFieldSize, type SelectGroupProps, type SelectItemProps, type SelectPrimitiveItemProps, type SelectProps, type SelectTriggerProps, type SelectTriggerType, type SelectWidthOptions, type SizingProps, TEXT_LEVEL_OPTIONS, TEXT_SIZE_OPTIONS, Tag, TextButton, type TextButtonProps, type TextSizeType, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, type ToastOptions, type ToastType, Toaster, Tooltip, Typography, arrayToStyleObject, isEmptyObject, objectToArray, gapTok as resolveGapToken, resolveLayoutStyle, rootMediaStyle, splitLayoutProps, toast };
|
|
1201
|
+
export { AlertDialog, type AlertDialogAction, type AlertDialogConfirmAction, type AlertDialogContentProps, Avatar, type AvatarLoadingStatus, type AvatarProps, type AvatarSize, Badge, type BadgeColor, type BadgeIconProps, type BadgeProps, type BadgeSize, type BadgeVariant, BottomSheet, type BottomSheetAction, type BottomSheetConfirmAction, type BottomSheetContentProps, type BottomSheetMode, type BreakPointsKey, Button, type ButtonIconProps, type ButtonProps, type ButtonSizeType, Caption, Checkbox, CoachMark, type CoachMarkContentProps, type CommonButtonProps, CompactCoachMark, type CompactCoachMarkContentProps, DEFAULT_LEVEL_OPTIONS, DEFAULT_SIZE_OPTIONS, DefaultButton, type DefaultButtonProps, type DefaultLevelType, Dialog, type DialogAction, type DialogConfirmAction, type DialogContentProps, Display, Heading, ICON_LEVEL_OPTIONS, ICON_SIZE_OPTIONS, type ICaptionProps, type IDisplayProps, type IHeadingProps, type IPropsAccent, type IPropsAnswer, type IPropsNormal, type IPropsNormalBold, type IPropsPost, type ITitleProps, IconButton, type IconButtonProps, LOGOS, Label, List, type ListGroupProps, ListItem, type ListItemProps, type ListProps, Loading, type LoadingLevelType, Logo, type LogoCategory, type LogoName, type LogoProps, Media, MediaContextProvider, Paragraph, type ParagraphProps, Popover, type PopoverContentProps, PrimitiveCoachMark, type PrimitiveCoachMarkContentProps, type PrimitiveCoachMarkRootProps, PrimitiveListItem, type PrimitiveListItemProps, type PromiseToastOptions, RATIO, Radio, Ratio, type RatioProps, Select, type SelectButtonSize, type SelectContentProps, type SelectFieldSize, type SelectGroupProps, type SelectItemProps, type SelectPrimitiveItemProps, type SelectProps, type SelectTriggerProps, type SelectTriggerType, type SelectWidthOptions, TEXT_LEVEL_OPTIONS, TEXT_SIZE_OPTIONS, Tag, TextButton, type TextButtonProps, type TextSizeType, Textfield, type TextfieldButtonProps, type TextfieldLabelType, type TextfieldProps, Title, type ToastOptions, type ToastType, Toaster, Tooltip, Typography, arrayToStyleObject, isEmptyObject, objectToArray, rootMediaStyle, toast };
|