boottent-design 0.1.78 → 0.1.80

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.
Files changed (38) hide show
  1. package/dist/boottent-design.hooks.cjs.js +1 -1
  2. package/dist/boottent-design.hooks.es.js +31 -2
  3. package/dist/boottent-design.layout.cjs.js +1 -1
  4. package/dist/boottent-design.layout.es.js +56 -6
  5. package/dist/boottent-design.provider.cjs.js +1 -1
  6. package/dist/boottent-design.provider.es.js +108 -2
  7. package/dist/boottent-design.ui.cjs.js +1 -1
  8. package/dist/boottent-design.ui.es.js +996 -27
  9. package/dist/boottent-design.utils.cjs.js +1 -1
  10. package/dist/boottent-design.utils.es.js +8 -2378
  11. package/dist/{index-BshWFt1Y.js → index-7TdmKUbH.js} +1 -1
  12. package/dist/index-BIxKM0nQ.cjs +1 -0
  13. package/dist/index-Bf4XH3AK.cjs +1 -0
  14. package/dist/index-WGpe0bEl.js +2380 -0
  15. package/dist/toggleButtonGroup-primitive-CibJg54C.cjs +52 -0
  16. package/dist/{toggleButtonGroup-primitive-DPb6avPH.js → toggleButtonGroup-primitive-ZAStZ2ee.js} +4010 -3271
  17. package/dist/types/feature.d.ts +220 -161
  18. package/dist/types/hooks.d.ts +222 -163
  19. package/dist/types/layout.d.ts +223 -163
  20. package/dist/types/provider.d.ts +220 -161
  21. package/dist/types/styles.d.ts +220 -161
  22. package/dist/types/types.d.ts +222 -163
  23. package/dist/types/ui.d.ts +378 -166
  24. package/dist/types/utils.d.ts +222 -163
  25. package/package.json +9 -4
  26. package/dist/boottent-design.main.cjs.js +0 -1
  27. package/dist/boottent-design.main.es.js +0 -48
  28. package/dist/index-BfapRZRW.js +0 -55
  29. package/dist/index-CMZc7WAs.js +0 -599
  30. package/dist/index-D286MlPY.cjs +0 -1
  31. package/dist/index-DDNLKhqC.cjs +0 -1
  32. package/dist/index-Ly7gJulk.cjs +0 -1
  33. package/dist/portal-provider-BB1ZUJea.cjs +0 -1
  34. package/dist/portal-provider-Z7EnJtHu.js +0 -110
  35. package/dist/toggleButtonGroup-primitive-CC3iAt_X.cjs +0 -52
  36. package/dist/types/main.d.ts +0 -1129
  37. package/dist/use-portal-BhH8jBDX.cjs +0 -1
  38. package/dist/use-portal-HyR5LGEj.js +0 -33
@@ -1,1129 +0,0 @@
1
- import * as AccordionPrimitive from '@radix-ui/react-accordion';
2
- import * as AspectRatioPrimitive from '@radix-ui/react-aspect-ratio';
3
- import { ClassProp } from 'class-variance-authority/types';
4
- import { ClassValue } from 'clsx';
5
- import { ComponentPropsWithRef } from 'react';
6
- import { default as default_2 } from 'react';
7
- import { DetailedHTMLProps } from 'react';
8
- import { DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES } from 'react';
9
- import { FC } from 'react';
10
- import { ForwardRefExoticComponent } from 'react';
11
- import { HTMLAttributes } from 'react';
12
- import { JSX as JSX_2 } from 'react/jsx-runtime';
13
- import * as React_2 from 'react';
14
- import { RefAttributes } from 'react';
15
- import { RefObject } from 'react';
16
- import * as ToastPrimitives from '@radix-ui/react-toast';
17
- import * as TooltipPrimitive from '@radix-ui/react-tooltip';
18
- import { VariantProps } from 'class-variance-authority';
19
-
20
- export declare const Accordion: React_2.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React_2.RefAttributes<HTMLDivElement>>;
21
-
22
- export declare const AccordionContent: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
23
-
24
- export declare const AccordionItem: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React_2.RefAttributes<HTMLDivElement>, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
25
-
26
- export declare const AccordionTrigger: React_2.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React_2.RefAttributes<HTMLButtonElement>, "ref"> & React_2.RefAttributes<HTMLButtonElement>>;
27
-
28
- declare type Action = {
29
- type: ActionType["ADD_TOAST"];
30
- toast: ToasterProps;
31
- } | {
32
- type: ActionType["UPDATE_TOAST"];
33
- toast: Partial<ToasterProps>;
34
- } | {
35
- type: ActionType["DISMISS_TOAST"];
36
- toastId?: ToasterProps["id"];
37
- } | {
38
- type: ActionType["REMOVE_TOAST"];
39
- toastId?: ToasterProps["id"];
40
- };
41
-
42
- declare type ActionType = typeof actionTypes;
43
-
44
- declare const actionTypes: {
45
- readonly ADD_TOAST: "ADD_TOAST";
46
- readonly UPDATE_TOAST: "UPDATE_TOAST";
47
- readonly DISMISS_TOAST: "DISMISS_TOAST";
48
- readonly REMOVE_TOAST: "REMOVE_TOAST";
49
- };
50
-
51
- export declare const Alert: React_2.FC<AlertProps>;
52
-
53
- export declare interface AlertPortalOptions {
54
- id: string;
55
- type: "alert";
56
- props: AlertProps;
57
- }
58
-
59
- export declare interface AlertProps {
60
- id?: string;
61
- title?: string;
62
- description: string | default_2.ReactNode;
63
- confirmText?: string;
64
- onConfirm?: () => void;
65
- size?: "sm" | "md" | "lg" | "fit";
66
- onClose?: () => void;
67
- }
68
-
69
- declare function ArrowDown({ size, fill, className, }: SvgIconType): JSX_2.Element;
70
-
71
- declare function ArrowDown2({ size, fill, className, }: SvgIconType): JSX_2.Element;
72
-
73
- declare function ArrowDown_2({ size, fill, className, }: SvgIconType): JSX_2.Element;
74
-
75
- declare function ArrowDownButton({ size, fill, className, }: SvgIconType): JSX_2.Element;
76
-
77
- declare function ArrowLeft({ size, fill, className, }: SvgIconType): JSX_2.Element;
78
-
79
- declare function ArrowLeft2({ size, fill, className, }: SvgIconType): JSX_2.Element;
80
-
81
- declare function ArrowRight({ size, fill, className, }: SvgIconType): JSX_2.Element;
82
-
83
- declare function ArrowRight2({ size, fill, className, }: SvgIconType): JSX_2.Element;
84
-
85
- declare function ArrowRightButton({ size, disabled, }: Props): JSX_2.Element;
86
-
87
- declare function ArrowUp2({ size, fill, className, }: SvgIconType): JSX_2.Element;
88
-
89
- export declare const AspectRatio: ForwardRefExoticComponent<AspectRatioPrimitive.AspectRatioProps & RefAttributes<HTMLDivElement>>;
90
-
91
- export declare const Box: ForwardRefExoticComponent<Omit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
92
- ref?: ((instance: HTMLDivElement | null) => void | DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | RefObject<HTMLDivElement> | null | undefined;
93
- }, "ref"> & RefAttributes<HTMLDivElement>>;
94
-
95
- declare type BoxProps = ComponentPropsWithRef<"div">;
96
-
97
- declare function Bubbles({ size, fill, className, }: SvgIconType): JSX_2.Element;
98
-
99
- export declare const Button: React_2.ForwardRefExoticComponent<ButtonProps & React_2.RefAttributes<HTMLButtonElement>>;
100
-
101
- export declare interface ButtonProps extends React_2.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
102
- asChild?: boolean;
103
- icLeft?: React_2.ReactNode;
104
- icRight?: React_2.ReactNode;
105
- }
106
-
107
- export declare const buttonVariants: (props?: ({
108
- theme?: "primary" | "secondary" | "etc" | null | undefined;
109
- size?: "sm" | "md" | "lg" | "xs" | "icon" | null | undefined;
110
- variant?: "text" | "solid" | "outline" | null | undefined;
111
- shape?: "square" | "rounded" | null | undefined;
112
- } & ClassProp) | undefined) => string;
113
-
114
- declare function Calendar({ size, fill, className, }: SvgIconType): JSX_2.Element;
115
-
116
- export declare const Callout: default_2.FC<CalloutBoxProps> & {
117
- Fill: default_2.FC<CalloutBoxProps>;
118
- Outline: default_2.FC<CalloutBoxProps>;
119
- };
120
-
121
- declare type CalloutBoxProps = BoxProps & {
122
- heading?: default_2.ReactNode | string;
123
- size?: "sm" | "md" | "lg";
124
- };
125
-
126
- declare function Cancel({ size, fill }: SvgIconType): JSX_2.Element;
127
-
128
- declare function Checkbox({ type, size, fill }: Props_3): JSX_2.Element;
129
-
130
- declare function CircleFillArrowRight({ size, color, className, }: ReactIconProps): JSX_2.Element;
131
-
132
- export declare const cn: (...classes: ClassValue[]) => string;
133
-
134
- export declare const colors: {
135
- [key: string]: any;
136
- };
137
-
138
- declare function Company({ fill, className }: SvgIconType): JSX_2.Element;
139
-
140
- declare function Control({ size, fill, className, }: SvgIconType): JSX_2.Element;
141
-
142
- declare function CopyLink(): JSX_2.Element;
143
-
144
- export declare interface CustomDialogProps extends Omit<DialogProps, "onConfirm" | "onCancel" | "content"> {
145
- size?: "sm" | "md" | "lg" | "fit";
146
- content?: default_2.ReactNode;
147
- description?: string;
148
- className?: string;
149
- open?: boolean;
150
- onOpenChange?: (open: boolean) => void;
151
- footer?: default_2.ReactNode;
152
- }
153
-
154
- declare function DefaultProfile({ size }: SvgIconType): JSX_2.Element;
155
-
156
- export declare const Dialog: default_2.ForwardRefExoticComponent<DialogProps & default_2.RefAttributes<HTMLDivElement>>;
157
-
158
- export declare interface DialogPortalOptions {
159
- id: string;
160
- type: "dialog";
161
- props: DialogProps;
162
- }
163
-
164
- export declare interface DialogProps {
165
- id?: string;
166
- title: string;
167
- content: string | default_2.ReactNode;
168
- onClose?: () => void;
169
- size?: "sm" | "md" | "lg" | "fit";
170
- description?: string;
171
- className?: string;
172
- open?: boolean;
173
- onOpenChange?: (open: boolean) => void;
174
- footer?: default_2.ReactNode;
175
- }
176
-
177
- export declare const Dropdown: React_2.ForwardRefExoticComponent<DropdownProps & React_2.RefAttributes<DropdownRef>>;
178
-
179
- export declare interface DropdownActionItem extends DropdownItemBase {
180
- type: "action";
181
- label: string;
182
- onClick: () => void;
183
- icLeft?: default_2.ReactNode;
184
- icRight?: default_2.ReactNode;
185
- disabled?: boolean;
186
- }
187
-
188
- export declare interface DropdownContainerOptionsType {
189
- containerType: DropdownContainerType;
190
- containerKey: string;
191
- containerTitle: string;
192
- isShowTitle?: boolean;
193
- items: DropdownItem[];
194
- isShowSeparator?: boolean;
195
- }
196
-
197
- export declare type DropdownContainerType = "default" | "checkbox" | "radio";
198
-
199
- export declare type DropdownItem = DropdownSelectableItem | DropdownSeparatorItem | DropdownTitleItem | DropdownActionItem | DropdownSubItem;
200
-
201
- export declare interface DropdownItemBase {
202
- type: DropdownItemType;
203
- }
204
-
205
- export declare type DropdownItemType = "default" | "checkbox" | "radio" | "separator" | "title" | 'action' | "sub";
206
-
207
- export declare interface DropdownProps {
208
- children: React_2.ReactNode;
209
- items: DropdownContainerOptionsType[];
210
- defaultValue?: SelectedDropdownItem[];
211
- defaultOpen?: boolean;
212
- onOpenChange?: (open: boolean) => void;
213
- onChange?: (selectedItems: SelectedDropdownItem[]) => void;
214
- size?: "fit" | number;
215
- column?: number;
216
- multiple?: boolean;
217
- className?: string;
218
- }
219
-
220
- export declare interface DropdownRef {
221
- setSelectedItems: React_2.Dispatch<React_2.SetStateAction<SelectedDropdownItem[]>>;
222
- }
223
-
224
- export declare interface DropdownSelectableItem extends DropdownItemBase {
225
- type: "default" | "checkbox" | "radio";
226
- label: string | default_2.ReactNode;
227
- value: string;
228
- disabled?: boolean;
229
- icLeft?: default_2.ReactNode;
230
- icRight?: default_2.ReactNode;
231
- onSelect?: () => void;
232
- }
233
-
234
- export declare interface DropdownSeparatorItem extends DropdownItemBase {
235
- type: "separator";
236
- }
237
-
238
- export declare interface DropdownSubItem extends DropdownItemBase {
239
- type: "sub";
240
- label: string;
241
- items: DropdownContainerOptionsType[];
242
- inset?: boolean;
243
- icLeft?: default_2.ReactNode;
244
- icRight?: default_2.ReactNode;
245
- }
246
-
247
- export declare interface DropdownTitleItem extends DropdownItemBase {
248
- type: "title";
249
- label: string;
250
- inset?: boolean;
251
- }
252
-
253
- declare function Filter({ fill, size }: SvgIconType): JSX_2.Element;
254
-
255
- export declare const FlexBox: default_2.FC<FlexBoxProps> & {
256
- Col: default_2.FC<BoxProps>;
257
- Row: default_2.FC<BoxProps>;
258
- };
259
-
260
- declare type FlexBoxProps = BoxProps;
261
-
262
- export declare const getDropdownButtonText: (selectedItems: SelectedDropdownItem[], initialText: string | React.ReactNode) => JSX_2.Element;
263
-
264
- declare function Google({ size }: SvgIconType): JSX_2.Element;
265
-
266
- export declare const GridBox: default_2.FC<GridBoxProps>;
267
-
268
- declare type GridBoxProps = BoxProps & {
269
- columns?: number;
270
- rows?: number;
271
- gap?: number;
272
- };
273
-
274
- declare function HeartFill({ size, fill, }: SvgIconType): JSX_2.Element;
275
-
276
- declare function HeartOutline({ size, fill, }: SvgIconType): JSX_2.Element;
277
-
278
- declare function Home({ size, fill, className, }: SvgIconType): JSX_2.Element;
279
-
280
- export declare const Icon: {
281
- ArrowDown: typeof ArrowDown;
282
- ArrowUp: typeof ArrowDown_2;
283
- ArrowLeft: typeof ArrowLeft;
284
- ArrowRight: typeof ArrowRight;
285
- ArrowDown2: typeof ArrowDown2;
286
- ArrowUp2: typeof ArrowUp2;
287
- ArrowLeft2: typeof ArrowLeft2;
288
- ArrowRight2: typeof ArrowRight2;
289
- ArrowDownButton: typeof ArrowDownButton;
290
- ArrowRightButton: typeof ArrowRightButton;
291
- Bubbles: typeof Bubbles;
292
- Calendar: typeof Calendar;
293
- Cancel: typeof Cancel;
294
- Company: typeof Company;
295
- Control: typeof Control;
296
- CopyLink: typeof CopyLink;
297
- DefaultProfile: typeof DefaultProfile;
298
- Filter: typeof Filter;
299
- Google: typeof Google;
300
- HeartFill: typeof HeartFill;
301
- HeartOutline: typeof HeartOutline;
302
- Home: typeof Home;
303
- Info: typeof Info;
304
- Link: typeof Info_2;
305
- Location: typeof Location_2;
306
- Menu: typeof Menu;
307
- Message: typeof Message;
308
- New: typeof New;
309
- Play: typeof Play;
310
- Present: typeof Present;
311
- Profile: typeof Profile;
312
- Program: typeof Program;
313
- Reset: typeof Reset;
314
- RICircleFillArrowRight: typeof CircleFillArrowRight;
315
- RIReturnRight: typeof ReturnRight;
316
- RIZoomIn: typeof ZoomIn;
317
- RIZoomOut: typeof ZoomOut;
318
- Search: typeof Search;
319
- Share: typeof Share;
320
- Checkbox: typeof Checkbox;
321
- Radio: typeof Radio;
322
- ViewTable: typeof ViewTable;
323
- ViewMore: typeof ViewMore;
324
- ViewCard: typeof ViewCard;
325
- };
326
-
327
- export declare type ImageProps = default_2.ComponentPropsWithoutRef<"img"> & {
328
- object?: "contain" | "cover" | "fill" | "scale-down" | "none";
329
- lazy?: boolean;
330
- size?: "full" | "fit" | "auto" | number;
331
- className?: string;
332
- };
333
-
334
- declare function Info({ size, fill, className, }: SvgIconType): JSX_2.Element;
335
-
336
- declare function Info_2({ size, fill, className, }: SvgIconType): JSX_2.Element;
337
-
338
- export declare const Input: React_2.ForwardRefExoticComponent<InputProps & React_2.RefAttributes<HTMLInputElement>>;
339
-
340
- export declare interface InputProps extends React_2.InputHTMLAttributes<HTMLInputElement> {
341
- icon?: React_2.ReactNode;
342
- iconPosition?: "left" | "right";
343
- error?: boolean;
344
- }
345
-
346
- declare type Listener = (options: PortalOptions, isOpen: boolean) => void;
347
-
348
- declare function Location_2({ fill, size, className, }: SvgIconType): JSX_2.Element;
349
-
350
- declare function Menu({ fill }: SvgIconType): JSX_2.Element;
351
-
352
- declare function Message({ size, fill, className, }: SvgIconType): JSX_2.Element;
353
-
354
- export declare const Modal: React_2.ForwardRefExoticComponent<ModalProps & React_2.RefAttributes<HTMLDivElement>>;
355
-
356
- export declare interface ModalPortalOptions {
357
- id: string;
358
- type: "modal";
359
- props: ModalProps;
360
- }
361
-
362
- export declare interface ModalProps {
363
- id?: string;
364
- title?: string;
365
- description?: string | default_2.ReactNode;
366
- subDescription?: string | default_2.ReactNode;
367
- size?: "sm" | "md" | "lg" | "fit";
368
- confirmText?: string;
369
- onConfirm?: () => void;
370
- cancelText?: string;
371
- onClose?: () => void;
372
- contents?: default_2.ReactNode;
373
- className?: string;
374
- }
375
-
376
- export declare const Multiple: default_2.FC<ToggleButtonMultipleProps>;
377
-
378
- declare function New({ size, fill }: SvgIconType): JSX_2.Element;
379
-
380
- declare function Play({ size, fill, className, }: SvgIconType): JSX_2.Element;
381
-
382
- export declare const PortalContainer: ({ children }: Props_5) => default_2.ReactPortal | null;
383
-
384
- declare class PortalManager {
385
- private listeners;
386
- private portals;
387
- private queue;
388
- private isProcessing;
389
- private processQueue;
390
- private isPortalOpen;
391
- subscribe(listener: Listener): () => void;
392
- showPortal<T extends PortalType>(type: T, props: PortalTypeMap[T] & {
393
- id?: string;
394
- }): string | null;
395
- setPortalOpen(id: string, isOpen: boolean): void;
396
- getIsPortalOpen(id: string): boolean;
397
- getOpenPortals(): string[];
398
- private generateId;
399
- }
400
-
401
- export declare const portalManager: PortalManager;
402
-
403
- export declare type PortalOptions = ModalPortalOptions | ToastPortalOptions | AlertPortalOptions | DialogPortalOptions;
404
-
405
- export declare const PortalProvider: () => JSX_2.Element;
406
-
407
- export declare type PortalType = "modal" | "toast" | "alert" | "dialog";
408
-
409
- export declare interface PortalTypeMap {
410
- modal: ModalProps;
411
- toast: ToasterProps;
412
- alert: AlertProps;
413
- dialog: DialogProps;
414
- }
415
-
416
- declare function Present({ size, fill, className, }: SvgIconType): JSX_2.Element;
417
-
418
- declare function Profile({ fill, className, size, }: SvgIconType): JSX_2.Element;
419
-
420
- declare function Program({ size, fill, className, }: SvgIconType): JSX_2.Element;
421
-
422
- declare type Props = {
423
- size?: string;
424
- disabled?: boolean;
425
- };
426
-
427
- declare type Props_2 = {
428
- size?: string;
429
- fill?: string;
430
- };
431
-
432
- declare type Props_3 = {
433
- type?: "disabled" | "checked" | "blank";
434
- size?: string;
435
- fill?: string;
436
- };
437
-
438
- declare type Props_4 = {
439
- type?: "checked" | "blank";
440
- size?: string;
441
- fill?: string;
442
- };
443
-
444
- declare type Props_5 = {
445
- children: default_2.ReactNode;
446
- };
447
-
448
- declare function Radio({ type, size, fill }: Props_4): JSX_2.Element;
449
-
450
- export declare interface ReactIconProps {
451
- size?: number;
452
- color?: string;
453
- className?: string;
454
- }
455
-
456
- export declare const reducer: (state: State, action: Action) => State;
457
-
458
- declare function Reset({ size, fill }: SvgIconType): JSX_2.Element;
459
-
460
- declare function ReturnRight({ size, color, className, }: ReactIconProps): JSX_2.Element;
461
-
462
- declare function Search({ size, fill }: SvgIconType): JSX_2.Element;
463
-
464
- export declare interface SelectedDropdownItem {
465
- containerType: DropdownContainerType;
466
- containerKey: string;
467
- label: string | default_2.ReactNode;
468
- value: string;
469
- }
470
-
471
- declare function Share({ size, fill }: Props_2): JSX_2.Element;
472
-
473
- export declare const Single: default_2.FC<ToggleButtonSingleProps>;
474
-
475
- export declare function Skeleton({ className, ...props }: default_2.HTMLAttributes<HTMLDivElement>): JSX_2.Element;
476
-
477
- export declare type SpecificPortalOptions<T extends PortalType> = {
478
- id: string;
479
- type: T;
480
- props: PortalTypeMap[T];
481
- };
482
-
483
- declare interface State {
484
- toasts: ToasterProps[];
485
- }
486
-
487
- export declare type SvgIconType = {
488
- size?: string;
489
- fill?: string;
490
- className?: string;
491
- };
492
-
493
- export declare const Symbols: {
494
- Apple: FC<SvgIconType>;
495
- FacebookRound: FC<SvgIconType>;
496
- Google: FC<SvgIconType>;
497
- GooglePlaystore: FC<SvgIconType>;
498
- GoogleRound: FC<SvgIconType>;
499
- KakaoMessage: FC<SvgIconType>;
500
- KakaoRound: FC<SvgIconType>;
501
- LinkedIn: FC<SvgIconType>;
502
- NaverBlog: FC<SvgIconType>;
503
- YouTube: FC<SvgIconType>;
504
- Boottent: FC<SvgIconType>;
505
- };
506
-
507
- export declare function Tag({ className, variant, size, shape, icLeft, icRight, ...props }: TagProps): JSX_2.Element;
508
-
509
- export declare interface TagProps extends React_2.HTMLAttributes<HTMLDivElement>, VariantProps<typeof tagVariants> {
510
- icLeft?: React_2.ReactNode;
511
- icRight?: React_2.ReactNode;
512
- }
513
-
514
- export declare const tagVariants: (props?: ({
515
- variant?: "etc" | "solid-primary-50" | "solid-primary-100" | "solid-primary-600" | "solid-secondary-100" | "solid-secondary-400" | "solid-secondary-800" | "outline-primary-600" | "outline-secondary-200" | null | undefined;
516
- size?: "sm" | "md" | "lg" | null | undefined;
517
- shape?: "square" | "round" | "ad" | null | undefined;
518
- } & ClassProp) | undefined) => string;
519
-
520
- declare const Toast: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React_2.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
521
- variant?: "white" | "black" | null | undefined;
522
- size?: "sm" | "md" | "lg" | "xl" | "full" | "fit" | null | undefined;
523
- } & ClassProp) | undefined) => string> & React_2.RefAttributes<HTMLLIElement>>;
524
-
525
- export declare function toast({ ...props }: Toast_2): {
526
- id: string;
527
- dismiss: () => void;
528
- update: (props: ToasterProps) => void;
529
- };
530
-
531
- declare type Toast_2 = Omit<ToasterProps, "id">;
532
-
533
- export declare function Toaster(): JSX_2.Element;
534
-
535
- export declare function toaster(): {
536
- toast: typeof toast;
537
- dismiss: (toastId?: string) => void;
538
- toasts: ToasterProps[];
539
- };
540
-
541
- export declare type ToasterProps = ToastProps & ToastViewportProps & {
542
- id?: string;
543
- title?: default_2.ReactNode;
544
- description?: default_2.ReactNode;
545
- action?: () => void;
546
- actionText?: string | default_2.ReactNode;
547
- closeButton?: boolean;
548
- onClose?: () => void;
549
- };
550
-
551
- export declare interface ToastPortalOptions {
552
- id: string;
553
- type: "toast";
554
- props: ToasterProps;
555
- }
556
-
557
- declare type ToastPositionsType = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
558
-
559
- declare type ToastProps = React_2.ComponentPropsWithoutRef<typeof Toast>;
560
-
561
- declare const ToastViewport: React_2.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React_2.RefAttributes<HTMLOListElement>, "ref"> & {
562
- position?: ToastPositionsType;
563
- } & React_2.RefAttributes<HTMLOListElement>>;
564
-
565
- declare type ToastViewportProps = React_2.ComponentPropsWithoutRef<typeof ToastViewport>;
566
-
567
- export declare const ToggleButtonGroup: {
568
- Single: default_2.FC<ToggleButtonSingleProps>;
569
- Multiple: default_2.FC<ToggleButtonMultipleProps>;
570
- };
571
-
572
- export declare interface ToggleButtonMultipleProps extends ToggleButtonProps {
573
- value: string[];
574
- onChange: (value: string[]) => void;
575
- }
576
-
577
- export declare interface ToggleButtonOptions extends React.ButtonHTMLAttributes<HTMLButtonElement> {
578
- value: string;
579
- label: React.ReactNode | string;
580
- tooltip?: Omit<TooltipButtonProps, "children">;
581
- }
582
-
583
- export declare interface ToggleButtonProps {
584
- options: ToggleButtonOptions[];
585
- variant?: Omit<ButtonProps["variant"], "text">;
586
- theme?: Omit<ButtonProps["theme"], "etc">;
587
- size?: Omit<ButtonProps["size"], "icon">;
588
- shape?: ButtonProps["shape"];
589
- className?: string;
590
- }
591
-
592
- export declare interface ToggleButtonSingleProps extends ToggleButtonProps {
593
- value: string;
594
- onChange: (value: string) => void;
595
- nullable?: boolean;
596
- }
597
-
598
- export declare const Tooltip: React_2.FC<TooltipButtonProps>;
599
-
600
- export declare interface TooltipButtonProps extends TooltipContentProps {
601
- label: string | React_2.ReactNode;
602
- children: React_2.ReactNode;
603
- isMobile?: boolean | number;
604
- }
605
-
606
- declare type TooltipContentProps = React_2.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content> & {
607
- variant?: "primary" | "secondary" | "white";
608
- size?: "sm" | "md";
609
- icLeft?: React_2.ReactNode;
610
- icRight?: React_2.ReactNode;
611
- position?: TooltipPosition;
612
- bubbleTip?: boolean;
613
- };
614
-
615
- declare type TooltipPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "right" | "left";
616
-
617
- export declare const usePortal: () => {
618
- modal: (props: ModalProps) => string | null;
619
- toast: (props: ToasterProps | string) => string | null;
620
- alert: (props: AlertProps | string) => string | null;
621
- dialog: (props: DialogProps) => string | null;
622
- getIsOpen: (id: string) => boolean;
623
- openPortals: string[];
624
- };
625
-
626
- declare function ViewCard({ size, fill, }: SvgIconType): JSX_2.Element;
627
-
628
- declare function ViewMore({ size, fill, }: SvgIconType): JSX_2.Element;
629
-
630
- declare function ViewTable({ size, fill, }: SvgIconType): JSX_2.Element;
631
-
632
- declare function ZoomIn({ size, color, className }: ReactIconProps): JSX_2.Element;
633
-
634
- declare function ZoomOut({ size, color, className }: ReactIconProps): JSX_2.Element;
635
-
636
- export { }
637
-
638
- declare namespace _default {
639
- let content: string[];
640
- namespace theme {
641
- export namespace container {
642
- let center: boolean;
643
- let padding: string;
644
- let screens: {
645
- "2xl": string;
646
- };
647
- }
648
- export namespace extend {
649
- export namespace colors {
650
- let border: string;
651
- let input: string;
652
- let ring: string;
653
- let background: string;
654
- let foreground: string;
655
- namespace primary {
656
- export let DEFAULT: string;
657
- let foreground_1: string;
658
- export { foreground_1 as foreground };
659
- }
660
- namespace secondary {
661
- let DEFAULT_1: string;
662
- export { DEFAULT_1 as DEFAULT };
663
- let foreground_2: string;
664
- export { foreground_2 as foreground };
665
- }
666
- namespace destructive {
667
- let DEFAULT_2: string;
668
- export { DEFAULT_2 as DEFAULT };
669
- let foreground_3: string;
670
- export { foreground_3 as foreground };
671
- }
672
- namespace muted {
673
- let DEFAULT_3: string;
674
- export { DEFAULT_3 as DEFAULT };
675
- let foreground_4: string;
676
- export { foreground_4 as foreground };
677
- let border_1: string;
678
- export { border_1 as border };
679
- }
680
- namespace accent {
681
- let DEFAULT_4: string;
682
- export { DEFAULT_4 as DEFAULT };
683
- let foreground_5: string;
684
- export { foreground_5 as foreground };
685
- }
686
- namespace popover {
687
- let DEFAULT_5: string;
688
- export { DEFAULT_5 as DEFAULT };
689
- let foreground_6: string;
690
- export { foreground_6 as foreground };
691
- }
692
- namespace card {
693
- let DEFAULT_6: string;
694
- export { DEFAULT_6 as DEFAULT };
695
- let foreground_7: string;
696
- export { foreground_7 as foreground };
697
- }
698
- }
699
- export namespace borderRadius {
700
- let lg: string;
701
- let md: string;
702
- let sm: string;
703
- }
704
- export let keyframes: {
705
- "accordion-down": {
706
- from: {
707
- height: string;
708
- };
709
- to: {
710
- height: string;
711
- };
712
- };
713
- "accordion-up": {
714
- from: {
715
- height: string;
716
- };
717
- to: {
718
- height: string;
719
- };
720
- };
721
- pokeRight: {
722
- "0%, 100%": {
723
- transform: string;
724
- animationTimingFunction: string;
725
- };
726
- "50%": {
727
- transform: string;
728
- animationTimingFunction: string;
729
- };
730
- };
731
- };
732
- export let animation: {
733
- "accordion-down": string;
734
- "accordion-up": string;
735
- pokeRight: string;
736
- };
737
- export namespace fontFamily {
738
- let pretendard: string[];
739
- }
740
- export namespace aspectRatio {
741
- let photo: string;
742
- let portrait: string;
743
- }
744
- let padding_1: {
745
- 2.5: string;
746
- 3.5: string;
747
- 7.5: string;
748
- };
749
- export { padding_1 as padding };
750
- export let backgroundImage: {
751
- "gradient-radial": string;
752
- "gradient-conic": string;
753
- };
754
- }
755
- export namespace listStyleType {
756
- let none: string;
757
- let disc: string;
758
- let decimal: string;
759
- let square: string;
760
- let roman: string;
761
- let dash: string;
762
- }
763
- export let fontSize: any;
764
- export let boxShadow: any;
765
- let screens_1: any;
766
- export { screens_1 as screens };
767
- let colors_1: {
768
- grey: {
769
- 50: string;
770
- 100: string;
771
- 200: string;
772
- 300: string;
773
- 400: string;
774
- 500: string;
775
- 600: string;
776
- 700: string;
777
- 800: string;
778
- 900: string;
779
- 950: string;
780
- };
781
- main: {
782
- 50: string;
783
- 100: string;
784
- 200: string;
785
- 300: string;
786
- 400: string;
787
- 500: string;
788
- 600: string;
789
- 700: string;
790
- 800: string;
791
- 900: string;
792
- 950: string;
793
- };
794
- red: {
795
- 50: string;
796
- 300: string;
797
- 400: string;
798
- 500: string;
799
- '100': "#fee2e2";
800
- '200': "#fecaca";
801
- '600': "#dc2626";
802
- '700': "#b91c1c";
803
- '800': "#991b1b";
804
- '900': "#7f1d1d";
805
- '950': "#450a0a";
806
- };
807
- pink: {
808
- 50: string;
809
- 500: string;
810
- '100': "#fce7f3";
811
- '200': "#fbcfe8";
812
- '300': "#f9a8d4";
813
- '400': "#f472b6";
814
- '600': "#db2777";
815
- '700': "#be185d";
816
- '800': "#9d174d";
817
- '900': "#831843";
818
- '950': "#500724";
819
- };
820
- yellow: {
821
- 100: string;
822
- 300: string;
823
- 400: string;
824
- kakao: string;
825
- '50': "#fefce8";
826
- '200': "#fef08a";
827
- '500': "#eab308";
828
- '600': "#ca8a04";
829
- '700': "#a16207";
830
- '800': "#854d0e";
831
- '900': "#713f12";
832
- '950': "#422006";
833
- };
834
- orange: {
835
- 50: string;
836
- 500: string;
837
- '100': "#ffedd5";
838
- '200': "#fed7aa";
839
- '300': "#fdba74";
840
- '400': "#fb923c";
841
- '600': "#ea580c";
842
- '700': "#c2410c";
843
- '800': "#9a3412";
844
- '900': "#7c2d12";
845
- '950': "#431407";
846
- };
847
- brown: {
848
- 50: string;
849
- 500: string;
850
- };
851
- lime: {
852
- 50: string;
853
- 500: string;
854
- '100': "#ecfccb";
855
- '200': "#d9f99d";
856
- '300': "#bef264";
857
- '400': "#a3e635";
858
- '600': "#65a30d";
859
- '700': "#4d7c0f";
860
- '800': "#3f6212";
861
- '900': "#365314";
862
- '950': "#1a2e05";
863
- };
864
- green: {
865
- 50: string;
866
- 500: string;
867
- naver: string;
868
- '100': "#dcfce7";
869
- '200': "#bbf7d0";
870
- '300': "#86efac";
871
- '400': "#4ade80";
872
- '600': "#16a34a";
873
- '700': "#15803d";
874
- '800': "#166534";
875
- '900': "#14532d";
876
- '950': "#052e16";
877
- };
878
- teal: {
879
- 50: string;
880
- 500: string;
881
- '100': "#ccfbf1";
882
- '200': "#99f6e4";
883
- '300': "#5eead4";
884
- '400': "#2dd4bf";
885
- '600': "#0d9488";
886
- '700': "#0f766e";
887
- '800': "#115e59";
888
- '900': "#134e4a";
889
- '950': "#042f2e";
890
- };
891
- blue: {
892
- 50: string;
893
- 100: string;
894
- 400: string;
895
- 500: string;
896
- 600: string;
897
- '200': "#bfdbfe";
898
- '300': "#93c5fd";
899
- '700': "#1d4ed8";
900
- '800': "#1e40af";
901
- '900': "#1e3a8a";
902
- '950': "#172554";
903
- };
904
- inherit: "inherit";
905
- current: "currentColor";
906
- transparent: "transparent";
907
- black: "#000";
908
- white: "#fff";
909
- slate: {
910
- "50": "#f8fafc";
911
- "100": "#f1f5f9";
912
- "200": "#e2e8f0";
913
- "300": "#cbd5e1";
914
- "400": "#94a3b8";
915
- "500": "#64748b";
916
- "600": "#475569";
917
- "700": "#334155";
918
- "800": "#1e293b";
919
- "900": "#0f172a";
920
- "950": "#020617";
921
- };
922
- gray: {
923
- "50": "#f9fafb";
924
- "100": "#f3f4f6";
925
- "200": "#e5e7eb";
926
- "300": "#d1d5db";
927
- "400": "#9ca3af";
928
- "500": "#6b7280";
929
- "600": "#4b5563";
930
- "700": "#374151";
931
- "800": "#1f2937";
932
- "900": "#111827";
933
- "950": "#030712";
934
- };
935
- zinc: {
936
- "50": "#fafafa";
937
- "100": "#f4f4f5";
938
- "200": "#e4e4e7";
939
- "300": "#d4d4d8";
940
- "400": "#a1a1aa";
941
- "500": "#71717a";
942
- "600": "#52525b";
943
- "700": "#3f3f46";
944
- "800": "#27272a";
945
- "900": "#18181b";
946
- "950": "#09090b";
947
- };
948
- neutral: {
949
- "50": "#fafafa";
950
- "100": "#f5f5f5";
951
- "200": "#e5e5e5";
952
- "300": "#d4d4d4";
953
- "400": "#a3a3a3";
954
- "500": "#737373";
955
- "600": "#525252";
956
- "700": "#404040";
957
- "800": "#262626";
958
- "900": "#171717";
959
- "950": "#0a0a0a";
960
- };
961
- stone: {
962
- "50": "#fafaf9";
963
- "100": "#f5f5f4";
964
- "200": "#e7e5e4";
965
- "300": "#d6d3d1";
966
- "400": "#a8a29e";
967
- "500": "#78716c";
968
- "600": "#57534e";
969
- "700": "#44403c";
970
- "800": "#292524";
971
- "900": "#1c1917";
972
- "950": "#0c0a09";
973
- };
974
- amber: {
975
- "50": "#fffbeb";
976
- "100": "#fef3c7";
977
- "200": "#fde68a";
978
- "300": "#fcd34d";
979
- "400": "#fbbf24";
980
- "500": "#f59e0b";
981
- "600": "#d97706";
982
- "700": "#b45309";
983
- "800": "#92400e";
984
- "900": "#78350f";
985
- "950": "#451a03";
986
- };
987
- emerald: {
988
- "50": "#ecfdf5";
989
- "100": "#d1fae5";
990
- "200": "#a7f3d0";
991
- "300": "#6ee7b7";
992
- "400": "#34d399";
993
- "500": "#10b981";
994
- "600": "#059669";
995
- "700": "#047857";
996
- "800": "#065f46";
997
- "900": "#064e3b";
998
- "950": "#022c22";
999
- };
1000
- cyan: {
1001
- "50": "#ecfeff";
1002
- "100": "#cffafe";
1003
- "200": "#a5f3fc";
1004
- "300": "#67e8f9";
1005
- "400": "#22d3ee";
1006
- "500": "#06b6d4";
1007
- "600": "#0891b2";
1008
- "700": "#0e7490";
1009
- "800": "#155e75";
1010
- "900": "#164e63";
1011
- "950": "#083344";
1012
- };
1013
- sky: {
1014
- "50": "#f0f9ff";
1015
- "100": "#e0f2fe";
1016
- "200": "#bae6fd";
1017
- "300": "#7dd3fc";
1018
- "400": "#38bdf8";
1019
- "500": "#0ea5e9";
1020
- "600": "#0284c7";
1021
- "700": "#0369a1";
1022
- "800": "#075985";
1023
- "900": "#0c4a6e";
1024
- "950": "#082f49";
1025
- };
1026
- indigo: {
1027
- "50": "#eef2ff";
1028
- "100": "#e0e7ff";
1029
- "200": "#c7d2fe";
1030
- "300": "#a5b4fc";
1031
- "400": "#818cf8";
1032
- "500": "#6366f1";
1033
- "600": "#4f46e5";
1034
- "700": "#4338ca";
1035
- "800": "#3730a3";
1036
- "900": "#312e81";
1037
- "950": "#1e1b4b";
1038
- };
1039
- violet: {
1040
- "50": "#f5f3ff";
1041
- "100": "#ede9fe";
1042
- "200": "#ddd6fe";
1043
- "300": "#c4b5fd";
1044
- "400": "#a78bfa";
1045
- "500": "#8b5cf6";
1046
- "600": "#7c3aed";
1047
- "700": "#6d28d9";
1048
- "800": "#5b21b6";
1049
- "900": "#4c1d95";
1050
- "950": "#2e1065";
1051
- };
1052
- purple: {
1053
- "50": "#faf5ff";
1054
- "100": "#f3e8ff";
1055
- "200": "#e9d5ff";
1056
- "300": "#d8b4fe";
1057
- "400": "#c084fc";
1058
- "500": "#a855f7";
1059
- "600": "#9333ea";
1060
- "700": "#7e22ce";
1061
- "800": "#6b21a8";
1062
- "900": "#581c87";
1063
- "950": "#3b0764";
1064
- };
1065
- fuchsia: {
1066
- "50": "#fdf4ff";
1067
- "100": "#fae8ff";
1068
- "200": "#f5d0fe";
1069
- "300": "#f0abfc";
1070
- "400": "#e879f9";
1071
- "500": "#d946ef";
1072
- "600": "#c026d3";
1073
- "700": "#a21caf";
1074
- "800": "#86198f";
1075
- "900": "#701a75";
1076
- "950": "#4a044e";
1077
- };
1078
- rose: {
1079
- "50": "#fff1f2";
1080
- "100": "#ffe4e6";
1081
- "200": "#fecdd3";
1082
- "300": "#fda4af";
1083
- "400": "#fb7185";
1084
- "500": "#f43f5e";
1085
- "600": "#e11d48";
1086
- "700": "#be123c";
1087
- "800": "#9f1239";
1088
- "900": "#881337";
1089
- "950": "#4c0519";
1090
- };
1091
- lightBlue: import("tailwindcss/types/generated/colors").DefaultColors["sky"];
1092
- warmGray: import("tailwindcss/types/generated/colors").DefaultColors["stone"];
1093
- trueGray: import("tailwindcss/types/generated/colors").DefaultColors["neutral"];
1094
- coolGray: import("tailwindcss/types/generated/colors").DefaultColors["gray"];
1095
- blueGray: import("tailwindcss/types/generated/colors").DefaultColors["slate"];
1096
- };
1097
- export { colors_1 as colors };
1098
- }
1099
- let plugins: never[];
1100
- let darkMode: string;
1101
- }
1102
-
1103
- declare namespace _default {
1104
- namespace plugins {
1105
- let tailwindcss: {};
1106
- let autoprefixer: {};
1107
- }
1108
- }
1109
-
1110
- declare namespace _default {
1111
- let preset: string;
1112
- let testEnvironment: string;
1113
- let extensionsToTreatAsEsm: string[];
1114
- let setupFilesAfterEnv: string[];
1115
- let moduleNameMapper: {
1116
- '^@/(.*)$': string;
1117
- '\\.(css|less|scss|sass)$': string;
1118
- '\\.(jpg|jpeg|png|gif|webp|svg)$': string;
1119
- };
1120
- let transform: {
1121
- '^.+\\.(ts|tsx)$': (string | {
1122
- useESM: boolean;
1123
- })[];
1124
- };
1125
- let collectCoverage: boolean;
1126
- let collectCoverageFrom: string[];
1127
- let coverageReporters: string[];
1128
- }
1129
-