@jects/jds 0.2.1 → 0.2.2

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/index.d.cts CHANGED
@@ -1,14 +1,173 @@
1
- import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
2
1
  import * as react from 'react';
3
- import { MouseEvent, ReactNode, ElementType, ComponentPropsWithoutRef, ComponentPropsWithRef, ChangeEvent, ComponentProps } from 'react';
4
- import { ToggleGroup, Tabs, Tooltip as Tooltip$1, DropdownMenu } from 'radix-ui';
2
+ import { ComponentPropsWithoutRef, MouseEvent, ReactNode, ElementType, ComponentPropsWithRef, HTMLAttributes, ChangeEvent, ComponentProps } from 'react';
3
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
4
+ import * as _emotion_react_jsx_runtime from '@emotion/react/jsx-runtime';
5
+ import * as DialogPrimitive from '@radix-ui/react-dialog';
6
+ import { DropdownMenu, ToggleGroup, Tabs, Tooltip as Tooltip$1 } from 'radix-ui';
7
+ import * as NavigationMenu from '@radix-ui/react-navigation-menu';
5
8
  import { ToggleGroupSingleProps, ToggleGroupItemProps } from '@radix-ui/react-toggle-group';
6
9
  import * as TabPrimitive from '@radix-ui/react-tabs';
7
10
  import * as _emotion_styled from '@emotion/styled';
8
11
  import * as _emotion_react from '@emotion/react';
9
- import * as NavigationMenu from '@radix-ui/react-navigation-menu';
10
- import * as DialogPrimitive from '@radix-ui/react-dialog';
11
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
12
+
13
+ declare const iconMap: {
14
+ readonly absolute: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
15
+ readonly "account-circle-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
16
+ readonly "add-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
17
+ readonly "alert-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
18
+ readonly "alert-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
19
+ readonly "arrow-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
20
+ readonly "arrow-down-s-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
21
+ readonly "arrow-down-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
22
+ readonly "arrow-down-wide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
23
+ readonly "arrow-go-back-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
24
+ readonly "arrow-go-forward-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
25
+ readonly "arrow-left-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
26
+ readonly "arrow-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
27
+ readonly "arrow-left-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
28
+ readonly "arrow-left-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
29
+ readonly "arrow-right-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
30
+ readonly "arrow-right-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
31
+ readonly "arrow-right-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
32
+ readonly "arrow-right-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
33
+ readonly "arrow-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
34
+ readonly "arrow-up-s-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
35
+ readonly "arrow-up-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
36
+ readonly "arrow-up-wide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
37
+ readonly asterisk: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
38
+ readonly "at-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
39
+ readonly "attachment-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
40
+ readonly bar: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
41
+ readonly blank: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
42
+ readonly "bookmark-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
43
+ readonly "bookmark-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
44
+ readonly "calendar-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
45
+ readonly "chat-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
46
+ readonly "check-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
47
+ readonly "circle-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
48
+ readonly "circle-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
49
+ readonly "close-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
50
+ readonly "cloud-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
51
+ readonly "cloud-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
52
+ readonly "code-s-slash-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
53
+ readonly "coin-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
54
+ readonly component: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
55
+ readonly "computer-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
56
+ readonly "corner-down-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
57
+ readonly "corner-down-right-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
58
+ readonly "cursor-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
59
+ readonly "delete-bin-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
60
+ readonly "download-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
61
+ readonly draggable: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
62
+ readonly effect: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
63
+ readonly "error-warning-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
64
+ readonly "export-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
65
+ readonly "external-link-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
66
+ readonly "eye-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
67
+ readonly "eye-off-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
68
+ readonly "file-3-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
69
+ readonly "file-text-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
70
+ readonly "file-unknow-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
71
+ readonly "file-warning-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
72
+ readonly "figma-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
73
+ readonly "flag-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
74
+ readonly "flag-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
75
+ readonly "flow-chart": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
76
+ readonly "folder-4-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
77
+ readonly "footer-logo": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
78
+ readonly frame: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
79
+ readonly "function-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
80
+ readonly "github-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
81
+ readonly "global-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
82
+ readonly "guide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
83
+ readonly "heart-3-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
84
+ readonly "heart-3-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
85
+ readonly "home-2-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
86
+ readonly "home-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
87
+ readonly "image-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
88
+ readonly "information-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
89
+ readonly "information-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
90
+ readonly instagram: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
91
+ readonly instance: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
92
+ readonly layer: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
93
+ readonly line: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
94
+ readonly "link-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
95
+ readonly "mail-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
96
+ readonly "mail-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
97
+ readonly "megaphone-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
98
+ readonly "message-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
99
+ readonly "moon-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
100
+ readonly "more-horizontal": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
101
+ readonly "more-vertical": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
102
+ readonly "notification-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
103
+ readonly "notion-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
104
+ readonly "pencil-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
105
+ readonly property: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
106
+ readonly "qr-code-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
107
+ readonly "question-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
108
+ readonly "radius-angled": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
109
+ readonly "radius-circle": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
110
+ readonly "radius-rounded": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
111
+ readonly "reset-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
112
+ readonly "restart-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
113
+ readonly "robot-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
114
+ readonly "save-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
115
+ readonly "search-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
116
+ readonly shapes: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
117
+ readonly "slash-command": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
118
+ readonly "smartphone-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
119
+ readonly spinner: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
120
+ readonly "square-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
121
+ readonly "square-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
122
+ readonly "sticky-note-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
123
+ readonly style: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
124
+ readonly "subtract-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
125
+ readonly "sun-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
126
+ readonly "tablet-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
127
+ readonly text: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
128
+ readonly "upload-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
129
+ readonly "user-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
130
+ readonly variable: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
131
+ readonly vector: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
132
+ readonly "youtube-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
133
+ readonly "menu-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
134
+ readonly frontend: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
135
+ readonly backend: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
136
+ readonly product: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
137
+ readonly design: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
138
+ };
139
+
140
+ type IconName = keyof typeof iconMap;
141
+ type IconSize = "5xl" | "4xl" | "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" | "2xs";
142
+ interface IconProps extends Omit<ComponentPropsWithoutRef<"svg">, "width" | "height"> {
143
+ name: IconName;
144
+ size?: IconSize;
145
+ color?: string;
146
+ }
147
+
148
+ declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
149
+
150
+ type AccordionSize = "lg" | "md" | "sm";
151
+ interface AccordionRootBaseProps {
152
+ isStretched?: boolean;
153
+ size?: AccordionSize;
154
+ }
155
+ type AccordionPrimitiveProps = AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps;
156
+ type AccordionRootProps = AccordionRootBaseProps & AccordionPrimitiveProps;
157
+ type AccordionItemProps = AccordionPrimitive.AccordionItemProps;
158
+ type AccordionTriggerProps = AccordionPrimitive.AccordionTriggerProps & {
159
+ withPrefixIcon?: IconName;
160
+ };
161
+ type AccordionContentProps = AccordionPrimitive.AccordionContentProps;
162
+
163
+ declare const Accordion: {
164
+ Root: react.ForwardRefExoticComponent<AccordionRootProps & react.RefAttributes<HTMLDivElement>>;
165
+ Item: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionItemProps & react.RefAttributes<HTMLDivElement>>;
166
+ Trigger: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionTriggerProps & {
167
+ withPrefixIcon?: IconName;
168
+ } & react.RefAttributes<HTMLButtonElement>>;
169
+ Content: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionContentProps & react.RefAttributes<HTMLDivElement>>;
170
+ };
12
171
 
13
172
  type BadgeStyle = {
14
173
  bg: string;
@@ -176,6 +335,69 @@ interface BlockButtonFeedbackProps extends BaseBlockButtonProps {
176
335
  intent: FeedbackIntent;
177
336
  }
178
337
 
338
+ declare const IconButton: {
339
+ Basic: react.ForwardRefExoticComponent<IconButtonBasicProps & react.RefAttributes<HTMLButtonElement>>;
340
+ Feedback: react.ForwardRefExoticComponent<IconButtonFeedbackProps & react.RefAttributes<HTMLButtonElement>>;
341
+ };
342
+
343
+ type IconButtonSize = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
344
+ type IconButtonHierarchy = "accent" | "primary" | "secondary" | "tertiary";
345
+ type IconButtonIntent = "positive" | "destructive";
346
+ interface BaseIconButtonProps extends ComponentPropsWithoutRef<"button"> {
347
+ icon: IconName;
348
+ size?: IconButtonSize;
349
+ "aria-label"?: string;
350
+ }
351
+ interface IconButtonBasicProps extends BaseIconButtonProps {
352
+ hierarchy?: IconButtonHierarchy;
353
+ }
354
+ interface IconButtonFeedbackProps extends BaseIconButtonProps {
355
+ intent: IconButtonIntent;
356
+ }
357
+
358
+ declare const LabelButton: {
359
+ Basic: react.ForwardRefExoticComponent<LabelButtonBasicProps & react.RefAttributes<HTMLButtonElement>>;
360
+ Feedback: react.ForwardRefExoticComponent<LabelButtonFeedbackProps & react.RefAttributes<HTMLButtonElement>>;
361
+ };
362
+
363
+ type LabelButtonSize = "xs" | "sm" | "md" | "lg";
364
+ type LabelButtonHierarchy = "accent" | "primary" | "secondary" | "tertiary";
365
+ type LabelButtonIntent = "positive" | "destructive";
366
+ interface BaseLabelButtonProps extends ComponentPropsWithoutRef<"button"> {
367
+ children: ReactNode;
368
+ size?: LabelButtonSize;
369
+ prefixIcon?: IconName;
370
+ suffixIcon?: IconName;
371
+ }
372
+ interface LabelButtonBasicProps extends BaseLabelButtonProps {
373
+ hierarchy?: LabelButtonHierarchy;
374
+ }
375
+ interface LabelButtonFeedbackProps extends BaseLabelButtonProps {
376
+ intent: LabelButtonIntent;
377
+ }
378
+
379
+ type BasicHierarchy = "primary" | "secondary";
380
+ type FeedbackHierarchy = "positive" | "destructive" | "notifying";
381
+ type CalloutSize = "lg" | "md" | "sm" | "xs";
382
+ interface BaseCalloutProps {
383
+ size?: CalloutSize;
384
+ title?: string;
385
+ className?: string;
386
+ labelButtonProps?: Omit<LabelButtonBasicProps, "size">;
387
+ children: ReactNode;
388
+ }
389
+ interface BasicCalloutModeProps extends BaseCalloutProps {
390
+ hierarchy?: BasicHierarchy;
391
+ feedback?: never;
392
+ }
393
+ interface FeedbackCalloutModeProps extends BaseCalloutProps {
394
+ feedback: FeedbackHierarchy;
395
+ hierarchy?: never;
396
+ }
397
+ type CalloutProps = BasicCalloutModeProps | FeedbackCalloutModeProps;
398
+
399
+ declare const Callout: ({ size, title, labelButtonProps, children, className, ...props }: CalloutProps) => _emotion_react_jsx_runtime.JSX.Element;
400
+
179
401
  type CardLayout = "vertical" | "horizontal";
180
402
  type CardVariant = "plate" | "post";
181
403
  type CardStyle = "outlined" | "empty";
@@ -307,7 +529,6 @@ declare const Card: {
307
529
  Preset: {
308
530
  PlateWithTitle: {
309
531
  Link: react.ForwardRefExoticComponent<{
310
- isDisabled?: boolean | undefined;
311
532
  body: react.ReactNode;
312
533
  caption?: string | undefined;
313
534
  title: string;
@@ -318,10 +539,10 @@ declare const Card: {
318
539
  target?: string | undefined;
319
540
  href: string;
320
541
  rel?: string | undefined;
542
+ isDisabled?: boolean | undefined;
321
543
  layout?: CardLayout | undefined;
322
544
  } & react.RefAttributes<HTMLDivElement>>;
323
545
  Button: react.ForwardRefExoticComponent<{
324
- isDisabled?: boolean | undefined;
325
546
  body: react.ReactNode;
326
547
  caption?: string | undefined;
327
548
  title: string;
@@ -331,12 +552,12 @@ declare const Card: {
331
552
  } | undefined;
332
553
  type?: ("button" | "submit" | "reset") | undefined;
333
554
  onClick: () => void;
555
+ isDisabled?: boolean | undefined;
334
556
  layout?: CardLayout | undefined;
335
557
  } & react.RefAttributes<HTMLDivElement>>;
336
558
  };
337
559
  PlateWithLabel: {
338
560
  Link: react.ForwardRefExoticComponent<{
339
- isDisabled?: boolean | undefined;
340
561
  body: react.ReactNode;
341
562
  caption?: string | undefined;
342
563
  label: string;
@@ -347,10 +568,10 @@ declare const Card: {
347
568
  target?: string | undefined;
348
569
  href: string;
349
570
  rel?: string | undefined;
571
+ isDisabled?: boolean | undefined;
350
572
  layout?: CardLayout | undefined;
351
573
  } & react.RefAttributes<HTMLDivElement>>;
352
574
  Button: react.ForwardRefExoticComponent<{
353
- isDisabled?: boolean | undefined;
354
575
  body: react.ReactNode;
355
576
  caption?: string | undefined;
356
577
  label: string;
@@ -360,12 +581,12 @@ declare const Card: {
360
581
  } | undefined;
361
582
  type?: ("button" | "submit" | "reset") | undefined;
362
583
  onClick: () => void;
584
+ isDisabled?: boolean | undefined;
363
585
  layout?: CardLayout | undefined;
364
586
  } & react.RefAttributes<HTMLDivElement>>;
365
587
  };
366
588
  PlateCompact: {
367
589
  Link: react.ForwardRefExoticComponent<{
368
- isDisabled?: boolean | undefined;
369
590
  body: react.ReactNode;
370
591
  caption: string;
371
592
  image?: {
@@ -375,10 +596,10 @@ declare const Card: {
375
596
  target?: string | undefined;
376
597
  href: string;
377
598
  rel?: string | undefined;
599
+ isDisabled?: boolean | undefined;
378
600
  layout?: CardLayout | undefined;
379
601
  } & react.RefAttributes<HTMLDivElement>>;
380
602
  Button: react.ForwardRefExoticComponent<{
381
- isDisabled?: boolean | undefined;
382
603
  body: react.ReactNode;
383
604
  caption: string;
384
605
  image?: {
@@ -387,12 +608,12 @@ declare const Card: {
387
608
  } | undefined;
388
609
  type?: ("button" | "submit" | "reset") | undefined;
389
610
  onClick: () => void;
611
+ isDisabled?: boolean | undefined;
390
612
  layout?: CardLayout | undefined;
391
613
  } & react.RefAttributes<HTMLDivElement>>;
392
614
  };
393
615
  Post: {
394
616
  Link: react.ForwardRefExoticComponent<{
395
- isDisabled?: boolean | undefined;
396
617
  body: react.ReactNode;
397
618
  title: string;
398
619
  image?: {
@@ -403,12 +624,12 @@ declare const Card: {
403
624
  href: string;
404
625
  rel?: string | undefined;
405
626
  date: string;
627
+ isDisabled?: boolean | undefined;
406
628
  layout?: CardLayout | undefined;
407
629
  cardStyle?: ("outlined" | "empty") | undefined;
408
630
  author: string;
409
631
  } & react.RefAttributes<HTMLDivElement>>;
410
632
  Button: react.ForwardRefExoticComponent<{
411
- isDisabled?: boolean | undefined;
412
633
  body: react.ReactNode;
413
634
  title: string;
414
635
  image?: {
@@ -418,6 +639,7 @@ declare const Card: {
418
639
  type?: ("button" | "submit" | "reset") | undefined;
419
640
  onClick: () => void;
420
641
  date: string;
642
+ isDisabled?: boolean | undefined;
421
643
  layout?: CardLayout | undefined;
422
644
  cardStyle?: ("outlined" | "empty") | undefined;
423
645
  author: string;
@@ -426,52 +648,9 @@ declare const Card: {
426
648
  };
427
649
  };
428
650
 
429
- declare const LabelButton: {
430
- Basic: react.ForwardRefExoticComponent<LabelButtonBasicProps & react.RefAttributes<HTMLButtonElement>>;
431
- Feedback: react.ForwardRefExoticComponent<LabelButtonFeedbackProps & react.RefAttributes<HTMLButtonElement>>;
432
- };
433
-
434
- type LabelButtonSize = "xs" | "sm" | "md" | "lg";
435
- type LabelButtonHierarchy = "accent" | "primary" | "secondary" | "tertiary";
436
- type LabelButtonIntent = "positive" | "destructive";
437
- interface BaseLabelButtonProps extends ComponentPropsWithoutRef<"button"> {
438
- children: ReactNode;
439
- size?: LabelButtonSize;
440
- prefixIcon?: IconName;
441
- suffixIcon?: IconName;
442
- }
443
- interface LabelButtonBasicProps extends BaseLabelButtonProps {
444
- hierarchy?: LabelButtonHierarchy;
445
- }
446
- interface LabelButtonFeedbackProps extends BaseLabelButtonProps {
447
- intent: LabelButtonIntent;
448
- }
449
-
450
- type BasicHierarchy = "primary" | "secondary";
451
- type FeedbackHierarchy = "positive" | "destructive" | "notifying";
452
- type CalloutSize = "lg" | "md" | "sm" | "xs";
453
- interface BaseCalloutProps {
454
- size?: CalloutSize;
455
- title?: string;
456
- className?: string;
457
- labelButtonProps?: Omit<LabelButtonBasicProps, "size">;
458
- children: ReactNode;
459
- }
460
- interface BasicCalloutModeProps extends BaseCalloutProps {
461
- hierarchy?: BasicHierarchy;
462
- feedback?: never;
463
- }
464
- interface FeedbackCalloutModeProps extends BaseCalloutProps {
465
- feedback: FeedbackHierarchy;
466
- hierarchy?: never;
467
- }
468
- type CalloutProps = BasicCalloutModeProps | FeedbackCalloutModeProps;
469
-
470
- declare const Callout: ({ size, title, labelButtonProps, children, className, ...props }: CalloutProps) => _emotion_react_jsx_runtime.JSX.Element;
471
-
472
- declare const Checkbox: {
473
- Basic: react.ForwardRefExoticComponent<CheckboxBasicProps & react.RefAttributes<HTMLInputElement>>;
474
- Content: react.ForwardRefExoticComponent<CheckboxContentProps & react.RefAttributes<HTMLInputElement>>;
651
+ declare const Checkbox: {
652
+ Basic: react.ForwardRefExoticComponent<CheckboxBasicProps & react.RefAttributes<HTMLInputElement>>;
653
+ Content: react.ForwardRefExoticComponent<CheckboxContentProps & react.RefAttributes<HTMLInputElement>>;
475
654
  };
476
655
 
477
656
  type CheckboxSize = "xs" | "sm" | "md" | "lg";
@@ -499,6 +678,74 @@ interface CheckboxContentProps extends CheckboxCommonProps {
499
678
  checked?: CheckedState;
500
679
  }
501
680
 
681
+ type CodeSize = "lg" | "md" | "sm" | "xs";
682
+ interface CodeProps extends HTMLAttributes<HTMLElement> {
683
+ children: ReactNode;
684
+ size?: CodeSize;
685
+ }
686
+ interface CodeStyleProps {
687
+ $size: CodeSize;
688
+ }
689
+
690
+ declare const Code: {
691
+ ({ children, size, className, ...restProps }: CodeProps): _emotion_react_jsx_runtime.JSX.Element;
692
+ displayName: string;
693
+ };
694
+
695
+ type BlockButtonActionProps$1 = Pick<BlockButtonBasicProps, "children" | "onClick" | "disabled" | "hierarchy">;
696
+ type CheckBoxActionProps = Pick<CheckboxContentProps, "label" | "checked" | "onCheckedChange">;
697
+ type RadixDialogProps = Omit<DialogPrimitive.DialogProps, "children">;
698
+ type DialogActionOptions = {
699
+ secondaryAction?: undefined;
700
+ tertiaryAction?: never;
701
+ } | {
702
+ secondaryAction: BlockButtonActionProps$1;
703
+ tertiaryAction?: BlockButtonActionProps$1;
704
+ };
705
+ interface DialogBaseProps {
706
+ header: string;
707
+ body: ReactNode;
708
+ isButtonStretched?: boolean;
709
+ checkboxAction?: CheckBoxActionProps;
710
+ primaryAction: BlockButtonActionProps$1;
711
+ }
712
+ type DialogProps = DialogBaseProps & DialogActionOptions & RadixDialogProps;
713
+
714
+ declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
715
+
716
+ type DividerThickness = "normal" | "bold" | "bolder" | "boldest";
717
+ type DividerOrientation = "horizontal" | "vertical";
718
+ type DividerVariant = "solid" | "dashed";
719
+ interface DividerProps extends Omit<ComponentPropsWithoutRef<"hr">, "children" | "color"> {
720
+ thickness?: DividerThickness;
721
+ decorative?: boolean;
722
+ orientation?: DividerOrientation;
723
+ variant?: DividerVariant;
724
+ }
725
+
726
+ declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement | HTMLHRElement>>;
727
+
728
+ type EmptyStateStyleVariant = {
729
+ variant?: "empty" | "outlined" | "alpha";
730
+ layout?: "vertical" | "horizontal";
731
+ };
732
+ type BlockButtonActionProps = Pick<BlockButtonBasicProps, "children" | "onClick" | "disabled">;
733
+ type EmptyStateActionOptions = {
734
+ primaryAction?: undefined;
735
+ secondaryAction?: never;
736
+ } | {
737
+ primaryAction: BlockButtonActionProps;
738
+ secondaryAction?: BlockButtonActionProps;
739
+ };
740
+ interface EmptyStateBaseProps {
741
+ header: string;
742
+ body: string;
743
+ icon?: IconName;
744
+ }
745
+ type EmptyStateProps = EmptyStateStyleVariant & EmptyStateBaseProps & EmptyStateActionOptions;
746
+
747
+ declare const EmptyState: react.ForwardRefExoticComponent<EmptyStateProps & react.RefAttributes<HTMLDivElement>>;
748
+
502
749
  interface FileItemProps extends ComponentPropsWithoutRef<"button"> {
503
750
  fileName: ReactNode;
504
751
  fileSize?: ReactNode;
@@ -512,141 +759,6 @@ interface FileItemProps extends ComponentPropsWithoutRef<"button"> {
512
759
 
513
760
  declare const FileItem: react.ForwardRefExoticComponent<FileItemProps & react.RefAttributes<HTMLButtonElement>>;
514
761
 
515
- declare const iconMap: {
516
- readonly absolute: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
517
- readonly "account-circle-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
518
- readonly "add-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
519
- readonly "alert-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
520
- readonly "alert-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
521
- readonly "arrow-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
522
- readonly "arrow-down-s-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
523
- readonly "arrow-down-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
524
- readonly "arrow-down-wide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
525
- readonly "arrow-go-back-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
526
- readonly "arrow-go-forward-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
527
- readonly "arrow-left-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
528
- readonly "arrow-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
529
- readonly "arrow-left-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
530
- readonly "arrow-left-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
531
- readonly "arrow-right-down-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
532
- readonly "arrow-right-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
533
- readonly "arrow-right-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
534
- readonly "arrow-right-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
535
- readonly "arrow-up-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
536
- readonly "arrow-up-s-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
537
- readonly "arrow-up-s-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
538
- readonly "arrow-up-wide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
539
- readonly asterisk: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
540
- readonly "at-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
541
- readonly "attachment-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
542
- readonly bar: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
543
- readonly blank: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
544
- readonly "bookmark-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
545
- readonly "bookmark-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
546
- readonly "calendar-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
547
- readonly "chat-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
548
- readonly "check-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
549
- readonly "circle-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
550
- readonly "circle-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
551
- readonly "close-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
552
- readonly "cloud-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
553
- readonly "cloud-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
554
- readonly "code-s-slash-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
555
- readonly "coin-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
556
- readonly component: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
557
- readonly "computer-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
558
- readonly "corner-down-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
559
- readonly "corner-down-right-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
560
- readonly "cursor-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
561
- readonly "delete-bin-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
562
- readonly "download-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
563
- readonly draggable: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
564
- readonly effect: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
565
- readonly "error-warning-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
566
- readonly "export-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
567
- readonly "external-link-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
568
- readonly "eye-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
569
- readonly "eye-off-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
570
- readonly "file-3-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
571
- readonly "file-text-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
572
- readonly "file-unknow-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
573
- readonly "file-warning-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
574
- readonly "figma-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
575
- readonly "flag-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
576
- readonly "flag-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
577
- readonly "flow-chart": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
578
- readonly "folder-4-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
579
- readonly "footer-logo": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
580
- readonly frame: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
581
- readonly "function-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
582
- readonly "github-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
583
- readonly "global-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
584
- readonly "guide-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
585
- readonly "heart-3-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
586
- readonly "heart-3-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
587
- readonly "home-2-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
588
- readonly "home-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
589
- readonly "image-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
590
- readonly "information-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
591
- readonly "information-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
592
- readonly instagram: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
593
- readonly instance: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
594
- readonly layer: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
595
- readonly line: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
596
- readonly "link-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
597
- readonly "mail-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
598
- readonly "mail-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
599
- readonly "megaphone-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
600
- readonly "message-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
601
- readonly "moon-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
602
- readonly "more-horizontal": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
603
- readonly "more-vertical": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
604
- readonly "notification-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
605
- readonly "notion-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
606
- readonly "pencil-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
607
- readonly property: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
608
- readonly "qr-code-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
609
- readonly "question-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
610
- readonly "radius-angled": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
611
- readonly "radius-circle": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
612
- readonly "radius-rounded": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
613
- readonly "reset-left-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
614
- readonly "restart-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
615
- readonly "robot-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
616
- readonly "save-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
617
- readonly "search-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
618
- readonly shapes: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
619
- readonly "slash-command": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
620
- readonly "smartphone-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
621
- readonly spinner: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
622
- readonly "square-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
623
- readonly "square-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
624
- readonly "sticky-note-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
625
- readonly style: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
626
- readonly "subtract-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
627
- readonly "sun-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
628
- readonly "tablet-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
629
- readonly text: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
630
- readonly "upload-2-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
631
- readonly "user-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
632
- readonly variable: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
633
- readonly vector: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
634
- readonly "youtube-fill": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
635
- readonly "menu-line": (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
636
- readonly frontend: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
637
- readonly backend: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
638
- readonly product: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
639
- readonly design: (props: react.SVGProps<SVGSVGElement>) => _emotion_react_jsx_runtime.JSX.Element;
640
- };
641
-
642
- type IconName = keyof typeof iconMap;
643
- type IconSize = "5xl" | "4xl" | "3xl" | "2xl" | "xl" | "lg" | "md" | "sm" | "xs" | "2xs";
644
- interface IconProps extends Omit<ComponentPropsWithoutRef<"svg">, "width" | "height"> {
645
- name: IconName;
646
- size?: IconSize;
647
- color?: string;
648
- }
649
-
650
762
  interface FooterLink {
651
763
  label: string;
652
764
  href: string;
@@ -724,28 +836,6 @@ interface HeroProps extends React.HTMLAttributes<HTMLDivElement> {
724
836
  }
725
837
  declare const Hero: react.ForwardRefExoticComponent<HeroProps & react.RefAttributes<HTMLDivElement>>;
726
838
 
727
- declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
728
-
729
- declare const IconButton: {
730
- Basic: react.ForwardRefExoticComponent<IconButtonBasicProps & react.RefAttributes<HTMLButtonElement>>;
731
- Feedback: react.ForwardRefExoticComponent<IconButtonFeedbackProps & react.RefAttributes<HTMLButtonElement>>;
732
- };
733
-
734
- type IconButtonSize = "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
735
- type IconButtonHierarchy = "accent" | "primary" | "secondary" | "tertiary";
736
- type IconButtonIntent = "positive" | "destructive";
737
- interface BaseIconButtonProps extends ComponentPropsWithoutRef<"button"> {
738
- icon: IconName;
739
- size?: IconButtonSize;
740
- "aria-label"?: string;
741
- }
742
- interface IconButtonBasicProps extends BaseIconButtonProps {
743
- hierarchy?: IconButtonHierarchy;
744
- }
745
- interface IconButtonFeedbackProps extends BaseIconButtonProps {
746
- intent: IconButtonIntent;
747
- }
748
-
749
839
  type InputStyle = "outlined" | "empty";
750
840
  type InputValidation = "none" | "error" | "success";
751
841
  type InputInteraction = "enabled" | "disabled" | "readOnly";
@@ -854,10 +944,30 @@ declare const Input: {
854
944
  };
855
945
  };
856
946
 
857
- declare const TEXT_ALIGN_MAPPING: {
858
- readonly center: "center";
859
- readonly left: "flex-start";
860
- readonly right: "flex-end";
947
+ type KbdSize = "lg" | "md" | "sm" | "xs";
948
+ type KbdType = "key" | "text" | "function";
949
+ interface KbdProps extends HTMLAttributes<HTMLElement> {
950
+ children: ReactNode;
951
+ size?: KbdSize;
952
+ type?: KbdType;
953
+ muted?: boolean;
954
+ "aria-label"?: string;
955
+ }
956
+ interface KbdStyleProps {
957
+ $size: KbdSize;
958
+ $type: KbdType;
959
+ $isMuted: boolean;
960
+ }
961
+
962
+ declare const Kbd: {
963
+ ({ children, size, type, muted, className, ...restProps }: KbdProps): _emotion_react_jsx_runtime.JSX.Element;
964
+ displayName: string;
965
+ };
966
+
967
+ declare const TEXT_ALIGN_MAPPING: {
968
+ readonly center: "center";
969
+ readonly left: "flex-start";
970
+ readonly right: "flex-end";
861
971
  };
862
972
  type LabelSize = "lg" | "md" | "sm" | "xs";
863
973
  type LabelTextAlign = keyof typeof TEXT_ALIGN_MAPPING;
@@ -897,6 +1007,203 @@ interface LogoProps extends Omit<ComponentPropsWithoutRef<"a">, "children"> {
897
1007
 
898
1008
  declare const Logo: react.ForwardRefExoticComponent<LogoProps & react.RefAttributes<HTMLAnchorElement>>;
899
1009
 
1010
+ type MegaMenuProps = ComponentPropsWithoutRef<"div">;
1011
+ interface MegaMenuSectionProps extends ComponentPropsWithoutRef<"div"> {
1012
+ sectionName?: string;
1013
+ children: ReactNode;
1014
+ }
1015
+ interface MegaMenuGroupProps extends ComponentPropsWithoutRef<"ul"> {
1016
+ children: ReactNode;
1017
+ }
1018
+ type MegaMenuGroupItemProps = ComponentPropsWithoutRef<"li">;
1019
+
1020
+ declare const MegaMenu: {
1021
+ Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1022
+ Section: react.ForwardRefExoticComponent<MegaMenuSectionProps & react.RefAttributes<HTMLDivElement>>;
1023
+ Divider: {
1024
+ (): _emotion_react_jsx_runtime.JSX.Element;
1025
+ displayName: string;
1026
+ };
1027
+ Group: react.ForwardRefExoticComponent<MegaMenuGroupProps & react.RefAttributes<HTMLUListElement>>;
1028
+ GroupItem: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & react.RefAttributes<HTMLLIElement>>;
1029
+ };
1030
+
1031
+ type MenuItemVariant = "icon" | "thumbnail";
1032
+ type MenuItemSize = "lg" | "md" | "sm";
1033
+ interface MenuItemButtonProps extends ComponentPropsWithoutRef<"button"> {
1034
+ variant?: MenuItemVariant;
1035
+ size?: MenuItemSize;
1036
+ isSelected?: boolean;
1037
+ isDestructive?: boolean;
1038
+ prefixIcon?: IconName;
1039
+ suffixIcon?: IconName;
1040
+ prefixIconVisible?: boolean;
1041
+ suffixIconVisible?: boolean;
1042
+ children: ReactNode;
1043
+ imageAlt?: string;
1044
+ imageSrc?: string;
1045
+ }
1046
+ interface MenuItemAnchorProps extends ComponentPropsWithoutRef<"a"> {
1047
+ variant?: MenuItemVariant;
1048
+ size?: MenuItemSize;
1049
+ disabled?: boolean;
1050
+ isSelected?: boolean;
1051
+ isDestructive?: boolean;
1052
+ prefixIcon?: IconName;
1053
+ suffixIcon?: IconName;
1054
+ prefixIconVisible?: boolean;
1055
+ suffixIconVisible?: boolean;
1056
+ children: ReactNode;
1057
+ imageAlt?: string;
1058
+ imageSrc?: string;
1059
+ }
1060
+
1061
+ declare const MenuItem: {
1062
+ Button: react.ForwardRefExoticComponent<MenuItemButtonProps & react.RefAttributes<HTMLButtonElement>>;
1063
+ Anchor: react.ForwardRefExoticComponent<MenuItemAnchorProps & react.RefAttributes<HTMLAnchorElement>>;
1064
+ };
1065
+
1066
+ type MenuStyle = "solid" | "empty";
1067
+ type MenuSize = "lg" | "md" | "sm";
1068
+ interface MenuRootProps extends ComponentPropsWithoutRef<typeof DropdownMenu.Root> {
1069
+ menuStyle?: MenuStyle;
1070
+ size?: MenuSize;
1071
+ children: ReactNode;
1072
+ }
1073
+ interface MenuContentProps extends ComponentPropsWithoutRef<typeof DropdownMenu.Content> {
1074
+ children: ReactNode;
1075
+ }
1076
+ interface MenuCategoryProps extends LabelOwnProps {
1077
+ children: ReactNode;
1078
+ }
1079
+ interface MenuGroupProps {
1080
+ children: ReactNode;
1081
+ }
1082
+ type MenuTrigger = DropdownMenu.DropdownMenuTriggerProps;
1083
+ type MenuItemProps = ComponentPropsWithoutRef<typeof DropdownMenu.Item>;
1084
+ type MenuButtonProps = MenuItemButtonProps;
1085
+ type MenuAnchorProps = MenuItemAnchorProps;
1086
+
1087
+ declare const Menu: {
1088
+ Root: {
1089
+ ({ children, menuStyle, size, ...rest }: MenuRootProps): _emotion_react_jsx_runtime.JSX.Element;
1090
+ displayName: string;
1091
+ };
1092
+ Trigger: react.ForwardRefExoticComponent<DropdownMenu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
1093
+ Content: react.ForwardRefExoticComponent<MenuContentProps & react.RefAttributes<HTMLDivElement>>;
1094
+ Category: react.ForwardRefExoticComponent<MenuCategoryProps & react.RefAttributes<HTMLDivElement>>;
1095
+ Group: react.ForwardRefExoticComponent<MenuGroupProps & react.RefAttributes<HTMLUListElement>>;
1096
+ GroupItem: react.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLLIElement>>;
1097
+ Button: react.ForwardRefExoticComponent<MenuItemButtonProps & react.RefAttributes<HTMLButtonElement>>;
1098
+ Anchor: react.ForwardRefExoticComponent<MenuItemAnchorProps & react.RefAttributes<HTMLAnchorElement>>;
1099
+ };
1100
+
1101
+ type GlobalNavigationVariant = "empty" | "solid";
1102
+ type GlobalNavigationVariantAlign = "left" | "center" | "right";
1103
+ interface GlobalNavigationRootProps extends NavigationMenu.NavigationMenuProps {
1104
+ variant?: GlobalNavigationVariant;
1105
+ }
1106
+ interface GlobalNavigationListProps extends NavigationMenu.NavigationMenuListProps {
1107
+ align?: GlobalNavigationVariantAlign;
1108
+ }
1109
+ interface GlobalNavigationToggleItemProps extends NavigationMenu.NavigationMenuItemProps {
1110
+ label?: ReactNode;
1111
+ }
1112
+ interface GlobalNavigationBlockItemProps extends NavigationMenu.NavigationMenuLinkProps {
1113
+ href: string;
1114
+ }
1115
+ interface GlobalNavigationMenuContentProps extends NavigationMenu.NavigationMenuContentProps {
1116
+ offset?: number;
1117
+ }
1118
+ interface GlobalNavigationLogoItemProps extends ComponentPropsWithoutRef<"div"> {
1119
+ children?: ReactNode;
1120
+ }
1121
+ interface GlobalNavigationLogoLinkProps extends NavigationMenu.NavigationMenuLinkProps {
1122
+ children?: ReactNode;
1123
+ href: string;
1124
+ }
1125
+ type GlobalNavigationMobileMenuButtonProps = Omit<IconButtonBasicProps, "hierarchy" | "icon" | "size" | "aria-label">;
1126
+
1127
+ declare const GlobalNavigation: {
1128
+ Root: react.ForwardRefExoticComponent<GlobalNavigationRootProps & react.RefAttributes<HTMLElement>>;
1129
+ List: react.ForwardRefExoticComponent<GlobalNavigationListProps & react.RefAttributes<HTMLUListElement>>;
1130
+ Item: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuItemProps & react.RefAttributes<HTMLLIElement>>;
1131
+ Trigger: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
1132
+ Link: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>>;
1133
+ LogoItem: react.ForwardRefExoticComponent<GlobalNavigationLogoItemProps & react.RefAttributes<HTMLDivElement>>;
1134
+ LogoLink: react.ForwardRefExoticComponent<GlobalNavigationLogoLinkProps & react.RefAttributes<HTMLAnchorElement>>;
1135
+ Divider: () => _emotion_react_jsx_runtime.JSX.Element;
1136
+ Content: react.ForwardRefExoticComponent<GlobalNavigationMenuContentProps & react.RefAttributes<HTMLDivElement>>;
1137
+ MobileMenuButton: react.ForwardRefExoticComponent<GlobalNavigationMobileMenuButtonProps & react.RefAttributes<HTMLButtonElement>>;
1138
+ };
1139
+
1140
+ interface UseGlobalNavigationVariantOptions {
1141
+ threshold?: number;
1142
+ }
1143
+ declare const useGlobalNavigationVariant: (options?: UseGlobalNavigationVariantOptions) => GlobalNavigationVariant;
1144
+
1145
+ interface LocalNavigationRootProps {
1146
+ isStretched?: boolean;
1147
+ children?: ReactNode;
1148
+ }
1149
+ type LocalNavigationBackButtonProps = Omit<IconButtonBasicProps, 'icon' | 'hierarchy' | 'size'>;
1150
+ interface LocalNavigationTitleProps {
1151
+ as?: ElementType;
1152
+ children?: ReactNode;
1153
+ }
1154
+ interface LocalNavigationButtonGroupProps {
1155
+ extraButtonVisible?: boolean;
1156
+ children?: ReactNode;
1157
+ }
1158
+
1159
+ declare const LocalNavigation: {
1160
+ Root: react.ForwardRefExoticComponent<LocalNavigationRootProps & react.RefAttributes<HTMLDivElement>>;
1161
+ BackButton: react.ForwardRefExoticComponent<LocalNavigationBackButtonProps & react.RefAttributes<HTMLButtonElement>>;
1162
+ Title: react.ForwardRefExoticComponent<LocalNavigationTitleProps & react.RefAttributes<HTMLDivElement>>;
1163
+ ButtonGroup: react.ForwardRefExoticComponent<LocalNavigationButtonGroupProps & react.RefAttributes<HTMLDivElement>>;
1164
+ };
1165
+
1166
+ type RadioSize = "lg" | "md" | "sm" | "xs";
1167
+ type RadioStyle = "empty" | "outline";
1168
+ type RadioAlign = "left" | "right";
1169
+ interface RadioRootProps {
1170
+ radioSize?: RadioSize;
1171
+ radioStyle?: RadioStyle;
1172
+ radioAlign?: RadioAlign;
1173
+ disabled?: boolean;
1174
+ value?: string;
1175
+ onChange?: (value: string) => void;
1176
+ name?: string;
1177
+ children: ReactNode;
1178
+ }
1179
+ interface RadioBasicProps extends ComponentPropsWithoutRef<"input"> {
1180
+ radioSize?: RadioSize;
1181
+ }
1182
+ interface RadioItemProps extends ComponentPropsWithoutRef<"div"> {
1183
+ radioSize?: RadioSize;
1184
+ radioStyle?: RadioStyle;
1185
+ radioAlign?: RadioAlign;
1186
+ disabled?: boolean;
1187
+ children: ReactNode;
1188
+ }
1189
+ interface RadioLabelProps {
1190
+ children: ReactNode;
1191
+ }
1192
+ interface RadioSubLabelProps {
1193
+ children: ReactNode;
1194
+ }
1195
+
1196
+ declare const Radio: {
1197
+ Root: {
1198
+ ({ radioSize, radioStyle, radioAlign, disabled, value, onChange, name, children, }: RadioRootProps): _emotion_react_jsx_runtime.JSX.Element;
1199
+ displayName: string;
1200
+ };
1201
+ Item: react.ForwardRefExoticComponent<RadioItemProps & react.RefAttributes<HTMLDivElement>>;
1202
+ Basic: react.ForwardRefExoticComponent<RadioBasicProps & react.RefAttributes<HTMLInputElement>>;
1203
+ Label: react.ForwardRefExoticComponent<RadioLabelProps & react.RefAttributes<HTMLDivElement>>;
1204
+ SubLabel: react.ForwardRefExoticComponent<RadioSubLabelProps & react.RefAttributes<HTMLDivElement>>;
1205
+ };
1206
+
900
1207
  type SegmentedControlSize = "lg" | "md" | "sm" | "xs";
901
1208
  interface SegmentedControlRootProps extends Omit<ToggleGroupSingleProps, "type"> {
902
1209
  size?: SegmentedControlSize;
@@ -959,6 +1266,70 @@ declare const Select: react.ForwardRefExoticComponent<SelectProps & react.RefAtt
959
1266
  Checkbox: react.ForwardRefExoticComponent<SelectCheckboxProps & react.RefAttributes<HTMLDivElement>>;
960
1267
  };
961
1268
 
1269
+ interface LimitedQueueProviderBaseItem {
1270
+ id: string;
1271
+ isClosing?: boolean;
1272
+ }
1273
+
1274
+ type SnackbarVariant = "positive" | "destructive";
1275
+ type SnackbarStyle = "basic" | SnackbarVariant;
1276
+ type SnackbarButtonProps = Omit<BlockButtonBasicProps, "hierarchy" | "size" | "variants">;
1277
+ interface SnackbarButtonsProps {
1278
+ prefixButtonProps?: SnackbarButtonProps;
1279
+ suffixButtonProps?: SnackbarButtonProps;
1280
+ }
1281
+ interface SnackbarBaseProps {
1282
+ title: ReactNode;
1283
+ caption?: ReactNode;
1284
+ prefixButtonProps?: SnackbarButtonProps;
1285
+ suffixButtonProps?: SnackbarButtonProps;
1286
+ }
1287
+ type SnackbarBase = SnackbarBaseProps & LimitedQueueProviderBaseItem;
1288
+ interface SnackbarBasicProps extends SnackbarBase {
1289
+ onRemove?: () => void;
1290
+ }
1291
+ interface SnackbarFeedbackProps extends SnackbarBase {
1292
+ variant?: SnackbarVariant;
1293
+ onRemove?: () => void;
1294
+ }
1295
+ interface SnackbarItem extends SnackbarBase {
1296
+ type: SnackbarStyle;
1297
+ }
1298
+ interface SnackbarHandler {
1299
+ basic: (snackbarFnParam: SnackbarBaseProps) => void;
1300
+ positive: (snackbarFnParam: SnackbarBaseProps) => void;
1301
+ destructive: (snackbarFnParam: SnackbarBaseProps) => void;
1302
+ }
1303
+
1304
+ declare const Snackbar: {
1305
+ Basic: {
1306
+ ({ id, caption, prefixButtonProps, suffixButtonProps, title, onRemove, isClosing, }: SnackbarBasicProps): _emotion_react_jsx_runtime.JSX.Element;
1307
+ displayName: string;
1308
+ };
1309
+ Feedback: {
1310
+ ({ id, variant, caption, prefixButtonProps, suffixButtonProps, title, onRemove, isClosing, }: SnackbarFeedbackProps): _emotion_react_jsx_runtime.JSX.Element;
1311
+ displayName: string;
1312
+ };
1313
+ };
1314
+
1315
+ interface SnackbarContextType {
1316
+ snackbar: SnackbarHandler;
1317
+ removeSnackbar: (id: string) => void;
1318
+ }
1319
+ declare const SnackbarProvider: ({ children }: {
1320
+ children: ReactNode;
1321
+ }) => _emotion_react_jsx_runtime.JSX.Element;
1322
+ declare const useSnackbar: () => SnackbarContextType;
1323
+
1324
+ type SnackbarController = {
1325
+ setHandler: (handler: SnackbarHandler) => void;
1326
+ clearHandler: () => void;
1327
+ basic: SnackbarHandler["basic"];
1328
+ positive: SnackbarHandler["positive"];
1329
+ destructive: SnackbarHandler["destructive"];
1330
+ };
1331
+ declare const snackbarController: SnackbarController;
1332
+
962
1333
  type StepSize = 'lg' | 'md' | 'sm' | 'xs';
963
1334
  type StepStatus = 'completed' | 'ongoing' | 'uncompleted';
964
1335
  interface StepRootProps extends ComponentPropsWithoutRef<'div'> {
@@ -1015,315 +1386,75 @@ declare const Tab: {
1015
1386
  Content: react.ForwardRefExoticComponent<Omit<Tabs.TabsContentProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1016
1387
  };
1017
1388
 
1018
- type TitleSize = "lg" | "md" | "sm" | "xs";
1019
- type TitleTextAlign = keyof typeof TEXT_ALIGN_MAPPING$1;
1020
- interface StyledTitleProps {
1021
- size: TitleSize;
1022
- textAlign: TitleTextAlign;
1023
- color?: string;
1389
+ interface TableRowItemBaseProps extends HTMLAttributes<HTMLTableCellElement> {
1390
+ hasDivider?: boolean;
1391
+ children: ReactNode;
1024
1392
  }
1025
- declare const StyledTitle: _emotion_styled.StyledComponent<{
1026
- theme?: _emotion_react.Theme;
1027
- as?: React.ElementType;
1028
- } & StyledTitleProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1029
-
1030
- interface TitleProps extends ComponentProps<typeof StyledTitle> {
1393
+ interface TableHeaderProps extends HTMLAttributes<HTMLTableCellElement> {
1031
1394
  children: ReactNode;
1395
+ width?: string | number;
1032
1396
  }
1033
- declare const Title: react.ForwardRefExoticComponent<Omit<TitleProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1034
-
1035
- interface TooltipProps extends Omit<Tooltip$1.TooltipProps, "children"> {
1397
+ interface TableRowProps extends HTMLAttributes<HTMLTableRowElement> {
1036
1398
  children: ReactNode;
1037
1399
  }
1038
- type TooltipTriggerProps = Tooltip$1.TooltipTriggerProps;
1039
- interface TooltipContentProps extends Tooltip$1.TooltipContentProps {
1040
- children?: ReactNode;
1041
- }
1042
-
1043
- declare const Tooltip: {
1044
- Provider: react.FC<Tooltip$1.TooltipProviderProps>;
1045
- Root: {
1046
- ({ children, delayDuration, ...radixProps }: TooltipProps): _emotion_react_jsx_runtime.JSX.Element;
1047
- displayName: string;
1048
- };
1049
- Trigger: {
1050
- ({ children, asChild, ...restProps }: TooltipTriggerProps): _emotion_react_jsx_runtime.JSX.Element;
1051
- displayName: string;
1052
- };
1053
- Content: {
1054
- ({ children, side, sideOffset, collisionPadding, avoidCollisions, ...restProps }: TooltipContentProps): _emotion_react_jsx_runtime.JSX.Element;
1055
- displayName: string;
1056
- };
1057
- };
1058
-
1059
- type ByteNumber = number;
1060
- type UploadError = {
1061
- type: UploadErrorType;
1062
- file: File;
1063
- };
1064
- type UploadErrorType = "FILE_TOO_LARGE" | "INVALID_TYPE" | "TOTAL_SIZE_EXCEEDED";
1065
- interface UploaderOptions {
1066
- accept?: string[];
1067
- maxFileSize?: ByteNumber;
1068
- maxTotalSize?: ByteNumber;
1069
- existingFilesSize?: ByteNumber;
1070
- files?: File[];
1071
- onUpload?: (files: File[]) => void;
1072
- onError?: (error: UploadError) => void;
1073
- }
1074
- interface UploaderMessages {
1075
- rest: ReactNode;
1076
- loading: ReactNode;
1077
- disabled: ReactNode;
1078
- }
1079
- interface UploaderFileButtonProps {
1080
- triggerUpload: () => void;
1081
- isLoading?: boolean;
1082
- isDisabled?: boolean;
1083
- uploadButton?: (triggerUpload: () => void) => ReactNode;
1084
- cancelButton?: ReactNode;
1085
- helperLabel?: ReactNode;
1400
+ interface TableProps extends HTMLAttributes<HTMLTableElement> {
1401
+ children: ReactNode;
1086
1402
  }
1087
- interface UploaderFileProps extends UploaderOptions, Omit<UploaderFileButtonProps, "triggerUpload"> {
1088
- multiple?: boolean;
1089
- messages?: UploaderMessages;
1403
+ interface TableRowItemLabelProps extends TableRowItemBaseProps {
1404
+ variant: "label";
1405
+ description?: string;
1406
+ prefixIcon?: IconName;
1407
+ color?: string;
1090
1408
  }
1091
- interface UploaderImageButtonProps {
1092
- isDisabled?: boolean;
1093
- isLoading?: boolean;
1094
- uploadLabel?: string;
1095
- loadingLabel?: string;
1096
- cancelButton?: ReactNode;
1409
+ interface TableRowItemCodeProps extends TableRowItemBaseProps {
1410
+ variant: "code";
1411
+ description?: string;
1097
1412
  }
1098
- interface UploaderImageProps extends UploaderOptions, UploaderImageButtonProps {
1099
- multiple?: boolean;
1413
+ interface TableRowItemBadgeProps extends TableRowItemBaseProps {
1414
+ variant: "badge";
1100
1415
  }
1416
+ type TableRowItemProps = TableRowItemLabelProps | TableRowItemCodeProps | TableRowItemBadgeProps;
1101
1417
 
1102
- declare const Uploader: {
1103
- File: {
1104
- ({ accept, multiple, maxFileSize, maxTotalSize, existingFilesSize, files: controlledFiles, onUpload, onError, isLoading, isDisabled, messages, uploadButton, cancelButton, helperLabel, }: UploaderFileProps): _emotion_react_jsx_runtime.JSX.Element;
1418
+ declare const Table: {
1419
+ Root: react.ForwardRefExoticComponent<TableProps & react.RefAttributes<HTMLTableElement>>;
1420
+ Header: {
1421
+ ({ children }: Pick<TableHeaderProps, "children">): _emotion_react_jsx_runtime.JSX.Element;
1105
1422
  displayName: string;
1106
1423
  };
1107
- Image: {
1108
- ({ accept, multiple, maxFileSize, maxTotalSize, existingFilesSize, files: controlledFiles, onUpload, onError, isLoading, isDisabled, uploadLabel, loadingLabel, cancelButton, }: UploaderImageProps): _emotion_react_jsx_runtime.JSX.Element;
1424
+ HeaderItem: {
1425
+ ({ children }: TableHeaderProps): _emotion_react_jsx_runtime.JSX.Element;
1109
1426
  displayName: string;
1110
1427
  };
1111
- };
1112
-
1113
- type GlobalNavigationVariant = "empty" | "solid";
1114
- type GlobalNavigationVariantAlign = "left" | "center" | "right";
1115
- interface GlobalNavigationRootProps extends NavigationMenu.NavigationMenuProps {
1116
- variant?: GlobalNavigationVariant;
1117
- }
1118
- interface GlobalNavigationListProps extends NavigationMenu.NavigationMenuListProps {
1119
- align?: GlobalNavigationVariantAlign;
1120
- }
1121
- interface GlobalNavigationToggleItemProps extends NavigationMenu.NavigationMenuItemProps {
1122
- label?: ReactNode;
1123
- }
1124
- interface GlobalNavigationBlockItemProps extends NavigationMenu.NavigationMenuLinkProps {
1125
- href: string;
1126
- }
1127
- interface GlobalNavigationMenuContentProps extends NavigationMenu.NavigationMenuContentProps {
1128
- offset?: number;
1129
- }
1130
- interface GlobalNavigationLogoItemProps extends ComponentPropsWithoutRef<"div"> {
1131
- children?: ReactNode;
1132
- }
1133
- interface GlobalNavigationLogoLinkProps extends NavigationMenu.NavigationMenuLinkProps {
1134
- children?: ReactNode;
1135
- href: string;
1136
- }
1137
- type GlobalNavigationMobileMenuButtonProps = Omit<IconButtonBasicProps, "hierarchy" | "icon" | "size" | "aria-label">;
1138
-
1139
- declare const GlobalNavigation: {
1140
- Root: react.ForwardRefExoticComponent<GlobalNavigationRootProps & react.RefAttributes<HTMLElement>>;
1141
- List: react.ForwardRefExoticComponent<GlobalNavigationListProps & react.RefAttributes<HTMLUListElement>>;
1142
- Item: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuItemProps & react.RefAttributes<HTMLLIElement>>;
1143
- Trigger: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
1144
- Link: react.ForwardRefExoticComponent<NavigationMenu.NavigationMenuLinkProps & react.RefAttributes<HTMLAnchorElement>>;
1145
- LogoItem: react.ForwardRefExoticComponent<GlobalNavigationLogoItemProps & react.RefAttributes<HTMLDivElement>>;
1146
- LogoLink: react.ForwardRefExoticComponent<GlobalNavigationLogoLinkProps & react.RefAttributes<HTMLAnchorElement>>;
1147
- Divider: () => _emotion_react_jsx_runtime.JSX.Element;
1148
- Content: react.ForwardRefExoticComponent<GlobalNavigationMenuContentProps & react.RefAttributes<HTMLDivElement>>;
1149
- MobileMenuButton: react.ForwardRefExoticComponent<GlobalNavigationMobileMenuButtonProps & react.RefAttributes<HTMLButtonElement>>;
1150
- };
1151
-
1152
- interface UseGlobalNavigationVariantOptions {
1153
- threshold?: number;
1154
- }
1155
- declare const useGlobalNavigationVariant: (options?: UseGlobalNavigationVariantOptions) => GlobalNavigationVariant;
1156
-
1157
- interface LocalNavigationRootProps {
1158
- isStretched?: boolean;
1159
- children?: ReactNode;
1160
- }
1161
- type LocalNavigationBackButtonProps = Omit<IconButtonBasicProps, 'icon' | 'hierarchy' | 'size'>;
1162
- interface LocalNavigationTitleProps {
1163
- as?: ElementType;
1164
- children?: ReactNode;
1165
- }
1166
- interface LocalNavigationButtonGroupProps {
1167
- extraButtonVisible?: boolean;
1168
- children?: ReactNode;
1169
- }
1170
-
1171
- declare const LocalNavigation: {
1172
- Root: react.ForwardRefExoticComponent<LocalNavigationRootProps & react.RefAttributes<HTMLDivElement>>;
1173
- BackButton: react.ForwardRefExoticComponent<LocalNavigationBackButtonProps & react.RefAttributes<HTMLButtonElement>>;
1174
- Title: react.ForwardRefExoticComponent<LocalNavigationTitleProps & react.RefAttributes<HTMLDivElement>>;
1175
- ButtonGroup: react.ForwardRefExoticComponent<LocalNavigationButtonGroupProps & react.RefAttributes<HTMLDivElement>>;
1176
- };
1177
-
1178
- type DividerThickness = "normal" | "bold" | "bolder" | "boldest";
1179
- type DividerOrientation = "horizontal" | "vertical";
1180
- type DividerVariant = "solid" | "dashed";
1181
- interface DividerProps extends Omit<ComponentPropsWithoutRef<"hr">, "children" | "color"> {
1182
- thickness?: DividerThickness;
1183
- decorative?: boolean;
1184
- orientation?: DividerOrientation;
1185
- variant?: DividerVariant;
1186
- }
1187
-
1188
- declare const Divider: react.ForwardRefExoticComponent<DividerProps & react.RefAttributes<HTMLDivElement | HTMLHRElement>>;
1189
-
1190
- type EmptyStateStyleVariant = {
1191
- variant?: "empty" | "outlined" | "alpha";
1192
- layout?: "vertical" | "horizontal";
1193
- };
1194
- type BlockButtonActionProps$1 = Pick<BlockButtonBasicProps, "children" | "onClick" | "disabled">;
1195
- type EmptyStateActionOptions = {
1196
- primaryAction?: undefined;
1197
- secondaryAction?: never;
1198
- } | {
1199
- primaryAction: BlockButtonActionProps$1;
1200
- secondaryAction?: BlockButtonActionProps$1;
1201
- };
1202
- interface EmptyStateBaseProps {
1203
- header: string;
1204
- body: string;
1205
- icon?: IconName;
1206
- }
1207
- type EmptyStateProps = EmptyStateStyleVariant & EmptyStateBaseProps & EmptyStateActionOptions;
1208
-
1209
- declare const EmptyState: react.ForwardRefExoticComponent<EmptyStateProps & react.RefAttributes<HTMLDivElement>>;
1210
-
1211
- type MegaMenuProps = ComponentPropsWithoutRef<"div">;
1212
- interface MegaMenuSectionProps extends ComponentPropsWithoutRef<"div"> {
1213
- sectionName?: string;
1214
- children: ReactNode;
1215
- }
1216
- interface MegaMenuGroupProps extends ComponentPropsWithoutRef<"ul"> {
1217
- children: ReactNode;
1218
- }
1219
- type MegaMenuGroupItemProps = ComponentPropsWithoutRef<"li">;
1220
-
1221
- declare const MegaMenu: {
1222
- Root: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & react.RefAttributes<HTMLDivElement>>;
1223
- Section: react.ForwardRefExoticComponent<MegaMenuSectionProps & react.RefAttributes<HTMLDivElement>>;
1224
- Divider: {
1225
- (): _emotion_react_jsx_runtime.JSX.Element;
1428
+ Body: {
1429
+ ({ children }: TableRowProps): _emotion_react_jsx_runtime.JSX.Element;
1226
1430
  displayName: string;
1227
1431
  };
1228
- Group: react.ForwardRefExoticComponent<MegaMenuGroupProps & react.RefAttributes<HTMLUListElement>>;
1229
- GroupItem: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & react.RefAttributes<HTMLLIElement>>;
1230
- };
1231
-
1232
- type MenuItemVariant = "icon" | "thumbnail";
1233
- type MenuItemSize = "lg" | "md" | "sm";
1234
- interface MenuItemButtonProps extends ComponentPropsWithoutRef<"button"> {
1235
- variant?: MenuItemVariant;
1236
- size?: MenuItemSize;
1237
- isSelected?: boolean;
1238
- isDestructive?: boolean;
1239
- prefixIcon?: IconName;
1240
- suffixIcon?: IconName;
1241
- prefixIconVisible?: boolean;
1242
- suffixIconVisible?: boolean;
1243
- children: ReactNode;
1244
- imageAlt?: string;
1245
- imageSrc?: string;
1246
- }
1247
- interface MenuItemAnchorProps extends ComponentPropsWithoutRef<"a"> {
1248
- variant?: MenuItemVariant;
1249
- size?: MenuItemSize;
1250
- disabled?: boolean;
1251
- isSelected?: boolean;
1252
- isDestructive?: boolean;
1253
- prefixIcon?: IconName;
1254
- suffixIcon?: IconName;
1255
- prefixIconVisible?: boolean;
1256
- suffixIconVisible?: boolean;
1257
- children: ReactNode;
1258
- imageAlt?: string;
1259
- imageSrc?: string;
1260
- }
1261
-
1262
- declare const MenuItem: {
1263
- Button: react.ForwardRefExoticComponent<MenuItemButtonProps & react.RefAttributes<HTMLButtonElement>>;
1264
- Anchor: react.ForwardRefExoticComponent<MenuItemAnchorProps & react.RefAttributes<HTMLAnchorElement>>;
1265
- };
1266
-
1267
- type MenuStyle = "solid" | "empty";
1268
- type MenuSize = "lg" | "md" | "sm";
1269
- interface MenuRootProps extends ComponentPropsWithoutRef<typeof DropdownMenu.Root> {
1270
- menuStyle?: MenuStyle;
1271
- size?: MenuSize;
1272
- children: ReactNode;
1273
- }
1274
- interface MenuContentProps extends ComponentPropsWithoutRef<typeof DropdownMenu.Content> {
1275
- children: ReactNode;
1276
- }
1277
- interface MenuCategoryProps extends LabelOwnProps {
1278
- children: ReactNode;
1279
- }
1280
- interface MenuGroupProps {
1281
- children: ReactNode;
1282
- }
1283
- type MenuTrigger = DropdownMenu.DropdownMenuTriggerProps;
1284
- type MenuItemProps = ComponentPropsWithoutRef<typeof DropdownMenu.Item>;
1285
- type MenuButtonProps = MenuItemButtonProps;
1286
- type MenuAnchorProps = MenuItemAnchorProps;
1287
-
1288
- declare const Menu: {
1289
- Root: {
1290
- ({ children, menuStyle, size, ...rest }: MenuRootProps): _emotion_react_jsx_runtime.JSX.Element;
1432
+ Row: {
1433
+ ({ children, ...restProps }: TableRowProps): _emotion_react_jsx_runtime.JSX.Element;
1434
+ displayName: string;
1435
+ };
1436
+ RowItem: {
1437
+ (props: TableRowItemProps): _emotion_react_jsx_runtime.JSX.Element;
1291
1438
  displayName: string;
1292
1439
  };
1293
- Trigger: react.ForwardRefExoticComponent<DropdownMenu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>;
1294
- Content: react.ForwardRefExoticComponent<MenuContentProps & react.RefAttributes<HTMLDivElement>>;
1295
- Category: react.ForwardRefExoticComponent<MenuCategoryProps & react.RefAttributes<HTMLDivElement>>;
1296
- Group: react.ForwardRefExoticComponent<MenuGroupProps & react.RefAttributes<HTMLUListElement>>;
1297
- GroupItem: react.ForwardRefExoticComponent<Omit<DropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>, "ref"> & react.RefAttributes<HTMLLIElement>>;
1298
- Button: react.ForwardRefExoticComponent<MenuItemButtonProps & react.RefAttributes<HTMLButtonElement>>;
1299
- Anchor: react.ForwardRefExoticComponent<MenuItemAnchorProps & react.RefAttributes<HTMLAnchorElement>>;
1300
1440
  };
1301
1441
 
1302
- type BlockButtonActionProps = Pick<BlockButtonBasicProps, "children" | "onClick" | "disabled" | "hierarchy">;
1303
- type CheckBoxActionProps = Pick<CheckboxContentProps, "label" | "checked" | "onCheckedChange">;
1304
- type RadixDialogProps = Omit<DialogPrimitive.DialogProps, "children">;
1305
- type DialogActionOptions = {
1306
- secondaryAction?: undefined;
1307
- tertiaryAction?: never;
1308
- } | {
1309
- secondaryAction: BlockButtonActionProps;
1310
- tertiaryAction?: BlockButtonActionProps;
1311
- };
1312
- interface DialogBaseProps {
1313
- header: string;
1314
- body: ReactNode;
1315
- isButtonStretched?: boolean;
1316
- checkboxAction?: CheckBoxActionProps;
1317
- primaryAction: BlockButtonActionProps;
1442
+ type TitleSize = "lg" | "md" | "sm" | "xs";
1443
+ type TitleTextAlign = keyof typeof TEXT_ALIGN_MAPPING$1;
1444
+ interface StyledTitleProps {
1445
+ size: TitleSize;
1446
+ textAlign: TitleTextAlign;
1447
+ color?: string;
1318
1448
  }
1319
- type DialogProps = DialogBaseProps & DialogActionOptions & RadixDialogProps;
1320
-
1321
- declare const Dialog: react.ForwardRefExoticComponent<DialogProps & react.RefAttributes<HTMLDivElement>>;
1449
+ declare const StyledTitle: _emotion_styled.StyledComponent<{
1450
+ theme?: _emotion_react.Theme;
1451
+ as?: React.ElementType;
1452
+ } & StyledTitleProps, react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
1322
1453
 
1323
- interface LimitedQueueProviderBaseItem {
1324
- id: string;
1325
- isClosing?: boolean;
1454
+ interface TitleProps extends ComponentProps<typeof StyledTitle> {
1455
+ children: ReactNode;
1326
1456
  }
1457
+ declare const Title: react.ForwardRefExoticComponent<Omit<TitleProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
1327
1458
 
1328
1459
  type ToastVariant = "positive" | "destructive";
1329
1460
  type ToastStyle = "basic" | ToastVariant;
@@ -1377,87 +1508,84 @@ type ToastController = {
1377
1508
  };
1378
1509
  declare const toastController: ToastController;
1379
1510
 
1380
- type SnackbarVariant = "positive" | "destructive";
1381
- type SnackbarStyle = "basic" | SnackbarVariant;
1382
- type SnackbarButtonProps = Omit<BlockButtonBasicProps, "hierarchy" | "size" | "variants">;
1383
- interface SnackbarButtonsProps {
1384
- prefixButtonProps?: SnackbarButtonProps;
1385
- suffixButtonProps?: SnackbarButtonProps;
1386
- }
1387
- interface SnackbarBaseProps {
1388
- title: ReactNode;
1389
- caption?: ReactNode;
1390
- prefixButtonProps?: SnackbarButtonProps;
1391
- suffixButtonProps?: SnackbarButtonProps;
1392
- }
1393
- type SnackbarBase = SnackbarBaseProps & LimitedQueueProviderBaseItem;
1394
- interface SnackbarBasicProps extends SnackbarBase {
1395
- onRemove?: () => void;
1396
- }
1397
- interface SnackbarFeedbackProps extends SnackbarBase {
1398
- variant?: SnackbarVariant;
1399
- onRemove?: () => void;
1400
- }
1401
- interface SnackbarItem extends SnackbarBase {
1402
- type: SnackbarStyle;
1511
+ interface TooltipProps extends Omit<Tooltip$1.TooltipProps, "children"> {
1512
+ children: ReactNode;
1403
1513
  }
1404
- interface SnackbarHandler {
1405
- basic: (snackbarFnParam: SnackbarBaseProps) => void;
1406
- positive: (snackbarFnParam: SnackbarBaseProps) => void;
1407
- destructive: (snackbarFnParam: SnackbarBaseProps) => void;
1514
+ type TooltipTriggerProps = Tooltip$1.TooltipTriggerProps;
1515
+ interface TooltipContentProps extends Tooltip$1.TooltipContentProps {
1516
+ children?: ReactNode;
1408
1517
  }
1409
1518
 
1410
- declare const Snackbar: {
1411
- Basic: {
1412
- ({ id, caption, prefixButtonProps, suffixButtonProps, title, onRemove, isClosing, }: SnackbarBasicProps): _emotion_react_jsx_runtime.JSX.Element;
1519
+ declare const Tooltip: {
1520
+ Provider: react.FC<Tooltip$1.TooltipProviderProps>;
1521
+ Root: {
1522
+ ({ children, delayDuration, ...radixProps }: TooltipProps): _emotion_react_jsx_runtime.JSX.Element;
1413
1523
  displayName: string;
1414
1524
  };
1415
- Feedback: {
1416
- ({ id, variant, caption, prefixButtonProps, suffixButtonProps, title, onRemove, isClosing, }: SnackbarFeedbackProps): _emotion_react_jsx_runtime.JSX.Element;
1525
+ Trigger: {
1526
+ ({ children, asChild, ...restProps }: TooltipTriggerProps): _emotion_react_jsx_runtime.JSX.Element;
1527
+ displayName: string;
1528
+ };
1529
+ Content: {
1530
+ ({ children, side, sideOffset, collisionPadding, avoidCollisions, ...restProps }: TooltipContentProps): _emotion_react_jsx_runtime.JSX.Element;
1417
1531
  displayName: string;
1418
1532
  };
1419
1533
  };
1420
1534
 
1421
- interface SnackbarContextType {
1422
- snackbar: SnackbarHandler;
1423
- removeSnackbar: (id: string) => void;
1424
- }
1425
- declare const SnackbarProvider: ({ children }: {
1426
- children: ReactNode;
1427
- }) => _emotion_react_jsx_runtime.JSX.Element;
1428
- declare const useSnackbar: () => SnackbarContextType;
1429
-
1430
- type SnackbarController = {
1431
- setHandler: (handler: SnackbarHandler) => void;
1432
- clearHandler: () => void;
1433
- basic: SnackbarHandler["basic"];
1434
- positive: SnackbarHandler["positive"];
1435
- destructive: SnackbarHandler["destructive"];
1535
+ type ByteNumber = number;
1536
+ type UploadError = {
1537
+ type: UploadErrorType;
1538
+ file: File;
1436
1539
  };
1437
- declare const snackbarController: SnackbarController;
1438
-
1439
- type AccordionSize = "lg" | "md" | "sm";
1440
- interface AccordionRootBaseProps {
1441
- isStretched?: boolean;
1442
- size?: AccordionSize;
1540
+ type UploadErrorType = "FILE_TOO_LARGE" | "INVALID_TYPE" | "TOTAL_SIZE_EXCEEDED";
1541
+ interface UploaderOptions {
1542
+ accept?: string[];
1543
+ maxFileSize?: ByteNumber;
1544
+ maxTotalSize?: ByteNumber;
1545
+ existingFilesSize?: ByteNumber;
1546
+ files?: File[];
1547
+ onUpload?: (files: File[]) => void;
1548
+ onError?: (error: UploadError) => void;
1549
+ }
1550
+ interface UploaderMessages {
1551
+ rest: ReactNode;
1552
+ loading: ReactNode;
1553
+ disabled: ReactNode;
1554
+ }
1555
+ interface UploaderFileButtonProps {
1556
+ triggerUpload: () => void;
1557
+ isLoading?: boolean;
1558
+ isDisabled?: boolean;
1559
+ uploadButton?: (triggerUpload: () => void) => ReactNode;
1560
+ cancelButton?: ReactNode;
1561
+ helperLabel?: ReactNode;
1562
+ }
1563
+ interface UploaderFileProps extends UploaderOptions, Omit<UploaderFileButtonProps, "triggerUpload"> {
1564
+ multiple?: boolean;
1565
+ messages?: UploaderMessages;
1566
+ }
1567
+ interface UploaderImageButtonProps {
1568
+ isDisabled?: boolean;
1569
+ isLoading?: boolean;
1570
+ uploadLabel?: string;
1571
+ loadingLabel?: string;
1572
+ cancelButton?: ReactNode;
1573
+ }
1574
+ interface UploaderImageProps extends UploaderOptions, UploaderImageButtonProps {
1575
+ multiple?: boolean;
1443
1576
  }
1444
- type AccordionPrimitiveProps = AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps;
1445
- type AccordionRootProps = AccordionRootBaseProps & AccordionPrimitiveProps;
1446
- type AccordionItemProps = AccordionPrimitive.AccordionItemProps;
1447
- type AccordionTriggerProps = AccordionPrimitive.AccordionTriggerProps & {
1448
- withPrefixIcon?: IconName;
1449
- };
1450
- type AccordionContentProps = AccordionPrimitive.AccordionContentProps;
1451
1577
 
1452
- declare const Accordion: {
1453
- Root: react.ForwardRefExoticComponent<AccordionRootProps & react.RefAttributes<HTMLDivElement>>;
1454
- Item: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionItemProps & react.RefAttributes<HTMLDivElement>>;
1455
- Trigger: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionTriggerProps & {
1456
- withPrefixIcon?: IconName;
1457
- } & react.RefAttributes<HTMLButtonElement>>;
1458
- Content: react.ForwardRefExoticComponent<AccordionPrimitive.AccordionContentProps & react.RefAttributes<HTMLDivElement>>;
1578
+ declare const Uploader: {
1579
+ File: {
1580
+ ({ accept, multiple, maxFileSize, maxTotalSize, existingFilesSize, files: controlledFiles, onUpload, onError, isLoading, isDisabled, messages, uploadButton, cancelButton, helperLabel, }: UploaderFileProps): _emotion_react_jsx_runtime.JSX.Element;
1581
+ displayName: string;
1582
+ };
1583
+ Image: {
1584
+ ({ accept, multiple, maxFileSize, maxTotalSize, existingFilesSize, files: controlledFiles, onUpload, onError, isLoading, isDisabled, uploadLabel, loadingLabel, cancelButton, }: UploaderImageProps): _emotion_react_jsx_runtime.JSX.Element;
1585
+ displayName: string;
1586
+ };
1459
1587
  };
1460
1588
 
1461
1589
  declare const JDS_VERSION = "0.0.1";
1462
1590
 
1463
- export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputStyle, type InputValidation, JDS_VERSION, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type SelectListProps, type SelectProps, type SelectRadioProps, type SelectSize, type SelectValue, type SelectVariant, Snackbar, type SnackbarBase, type SnackbarBaseProps, type SnackbarBasicProps, type SnackbarButtonsProps, type SnackbarFeedbackProps, type SnackbarHandler, type SnackbarItem, SnackbarProvider, type SnackbarStyle, type SnackbarVariant, Step, type StepItemProps, type StepRootProps, type StepSize, type StepStatus, Tab, TabContent, type TabContentProps, TabList, type TabListProps, TabRoot, type TabRootProps, TabTrigger, type TabTriggerProps, type TabVariant, type Tag, TagField, type TagFieldProps, TextField, type TextFieldButtonProps, type TextFieldProps, type TextFieldPublicProps, type ThemeVariant, Title, type TitleProps, Toast, type ToastBaseProps, type ToastFeedbackProps, type ToastHandler, type ToastItem, ToastProvider, type ToastStyle, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, type UploadError, type UploadErrorType, Uploader, type UploaderFileButtonProps, type UploaderFileProps, type UploaderImageButtonProps, type UploaderImageProps, type UploaderOptions, snackbarController, toastController, useGlobalNavigationVariant, useSnackbar, useToast };
1591
+ export { Accordion, type AccordionContentProps, type AccordionItemProps, type AccordionRootProps, type AccordionTriggerProps, type BadgeSize, type BadgeStyle, type BadgeStyleWithoutBorder, Banner, type BannerBarProps, type BannerImageProps, type BannerProps, type BannerVariant, type BasicHierarchy$1 as BasicHierarchy, BlockButton, type BlockButtonBasicProps, type BlockButtonFeedbackProps, type BlockButtonHierarchy, type BlockButtonSize, type BlockButtonStyle, Callout, Card, type CardBodyProps, type CardCaptionProps, type CardContentProps, type CardImageProps, type CardLabelProps, type CardLayout, type CardMetaItemProps, type CardMetaProps, type CardRootOwnProps, type CardStyle, type CardTitleProps, type CardVariant, Checkbox, type CheckboxAlign, type CheckboxBasicProps, type CheckboxBoxProps, type CheckboxContentProps, type CheckboxSize, type CheckboxVariant, type CheckedState, Code, type CodeProps, type CodeSize, type CodeStyleProps, ContentBadge, type ContentBadgeBasicProps, type ContentBadgeStyle, type ContentFeedbackBadgeProps, type ContentThemeBadgeProps, Dialog, type DialogProps, Divider, type DividerOrientation, type DividerProps, type DividerThickness, type DividerVariant, DotBadge, DotBadgeFeedback, type DotBadgeFeedbackProps, EmptyState, type EmptyStateProps, type FeedbackIntent, type FeedbackVariant, type FieldInputPublicProps, type FieldPublicProps, type FieldTextAreaPublicProps, FileItem, type FileItemProps, Footer, type FooterBottomProps, type FooterContentProps, type FooterHeaderProps, type FooterLink, type FooterLogoDivProps, type FooterLogoLinkProps, type FooterNavProps, type FooterRootProps, type FooterSection, type FooterSectionProps, type FooterSocialProps, GlobalNavigation, type GlobalNavigationBlockItemProps, type GlobalNavigationListProps, type GlobalNavigationLogoItemProps, type GlobalNavigationLogoLinkProps, type GlobalNavigationRootProps, type GlobalNavigationToggleItemProps, type GlobalNavigationVariant, Hero, type HeroProps, Icon, IconButton, type IconButtonBasicProps, type IconButtonFeedbackProps, type IconButtonHierarchy, type IconButtonIntent, type IconButtonSize, type IconName, type IconProps, type IconSize, Image, type ImageOwnProps, type ImgOrientation, type ImgRatio, Input, InputArea, type InputAreaLayout, type InputAreaProps, type InputAreaStatus, type InputAreaStyle, type InputAreaValidation, type InputStyle, type InputValidation, JDS_VERSION, Kbd, type KbdProps, type KbdSize, type KbdStyleProps, type KbdType, Label, LabelButton, type LabelButtonBasicProps, type LabelButtonFeedbackProps, type LabelButtonHierarchy, type LabelButtonIntent, type LabelButtonSize, type LabelOwnProps, LocalNavigation, type LocalNavigationBackButtonProps, type LocalNavigationButtonGroupProps, type LocalNavigationRootProps, type LocalNavigationTitleProps, Logo, type LogoHierarchy, type LogoProps, MegaMenu, type MegaMenuGroupItemProps, type MegaMenuGroupProps, type MegaMenuProps, type MegaMenuSectionProps, Menu, type MenuAnchorProps, type MenuButtonProps, type MenuCategoryProps, type MenuContentProps, type MenuGroupProps, MenuItem, type MenuItemAnchorProps, type MenuItemButtonProps, type MenuItemProps, type MenuItemSize, type MenuItemVariant, type MenuRootProps, type MenuSize, type MenuStyle, type MenuTrigger, NumericBadge, type NumericBadgeBasicProps, type NumericBadgeStyle, type NumericBasicBadgeProps, type PlateCompactPresetProps, type PlateWithLabelPresetProps, type PlateWithTitlePresetProps, type PostPresetProps, Radio, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlRootProps, type SegmentedControlSize, Select, type SelectCheckboxProps, type SelectContextType, SelectField, type SelectFieldProps, type SelectListProps, type SelectProps, type SelectRadioProps, type SelectSize, type SelectValue, type SelectVariant, Snackbar, type SnackbarBase, type SnackbarBaseProps, type SnackbarBasicProps, type SnackbarButtonsProps, type SnackbarFeedbackProps, type SnackbarHandler, type SnackbarItem, SnackbarProvider, type SnackbarStyle, type SnackbarVariant, Step, type StepItemProps, type StepRootProps, type StepSize, type StepStatus, Tab, TabContent, type TabContentProps, TabList, type TabListProps, TabRoot, type TabRootProps, TabTrigger, type TabTriggerProps, type TabVariant, Table, type Tag, TagField, type TagFieldProps, TextField, type TextFieldButtonProps, type TextFieldProps, type TextFieldPublicProps, type ThemeVariant, Title, type TitleProps, Toast, type ToastBaseProps, type ToastFeedbackProps, type ToastHandler, type ToastItem, ToastProvider, type ToastStyle, Tooltip, type TooltipContentProps, type TooltipProps, type TooltipTriggerProps, type UploadError, type UploadErrorType, Uploader, type UploaderFileButtonProps, type UploaderFileProps, type UploaderImageButtonProps, type UploaderImageProps, type UploaderOptions, snackbarController, toastController, useGlobalNavigationVariant, useSnackbar, useToast };