@likelion-design/ui 1.0.23 → 1.0.26
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/colors.css.css +1 -1
- package/dist/colors.css.css.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +48 -306
- package/dist/index.d.ts +48 -306
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import React from 'react';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
3
|
|
|
4
4
|
type ButtonSize = "xlarge" | "large" | "medium" | "small";
|
|
5
5
|
type ButtonColor = "primary" | "neutral" | "secondary";
|
|
@@ -25,7 +25,7 @@ interface ActionButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
25
25
|
suffixIcon?: React.ReactNode;
|
|
26
26
|
}
|
|
27
27
|
/** ActionButton 컴포넌트는 사용자가 어떠한 액션을 트리거하거나 이벤트를 실행할 때 사용한다. */
|
|
28
|
-
declare const ActionButton:
|
|
28
|
+
declare const ActionButton: React.ForwardRefExoticComponent<ActionButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
29
29
|
|
|
30
30
|
type IconButtonSize = "xlarge" | "large" | "medium" | "small";
|
|
31
31
|
/** 버튼 색상. solid/outline: primary | neutral | secondary. weak: primary | neutral-dark | neutral-light */
|
|
@@ -51,7 +51,7 @@ interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElem
|
|
|
51
51
|
styles?: Partial<Record<IconButtonSlot, React.CSSProperties>>;
|
|
52
52
|
}
|
|
53
53
|
/** IconButton 컴포넌트는 텍스트 레이블 없이 아이콘만으로 액션을 전달하는 버튼 컴포넌트이다. */
|
|
54
|
-
declare const IconButton:
|
|
54
|
+
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
55
55
|
|
|
56
56
|
type TabType = "round" | "text";
|
|
57
57
|
type TabSize = "large" | "medium";
|
|
@@ -74,7 +74,7 @@ interface TabProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "
|
|
|
74
74
|
disabled?: boolean;
|
|
75
75
|
}
|
|
76
76
|
/** Tab 컴포넌트는 사용자가 여러 옵션 중 하나를 선택할 때 사용하는 탭 컴포넌트이다. */
|
|
77
|
-
declare const Tab:
|
|
77
|
+
declare const Tab: React.ForwardRefExoticComponent<TabProps & React.RefAttributes<HTMLButtonElement>>;
|
|
78
78
|
interface TabItem {
|
|
79
79
|
/** 탭 식별 값 */
|
|
80
80
|
value: string;
|
|
@@ -204,10 +204,7 @@ declare const ChipGroup: {
|
|
|
204
204
|
({ value: valueProp, defaultValue, onChange, multiple, type, size, variant, showCheck, disabled, items, children, className, ...rest }: ChipGroupProps): react_jsx_runtime.JSX.Element;
|
|
205
205
|
displayName: string;
|
|
206
206
|
};
|
|
207
|
-
declare const Chip: {
|
|
208
|
-
({ type, size, variant, value, onChange, checked: checkedProp, defaultChecked, selectedValue, selectedValues, label, prefixIcon, suffixIcon, showCheck, showClose, onClose, className, disabled, onClick, ...props }: ChipProps): react_jsx_runtime.JSX.Element;
|
|
209
|
-
displayName: string;
|
|
210
|
-
} & {
|
|
207
|
+
declare const Chip: React.ForwardRefExoticComponent<ChipProps & React.RefAttributes<HTMLButtonElement>> & {
|
|
211
208
|
Group: {
|
|
212
209
|
({ value: valueProp, defaultValue, onChange, multiple, type, size, variant, showCheck, disabled, items, children, className, ...rest }: ChipGroupProps): react_jsx_runtime.JSX.Element;
|
|
213
210
|
displayName: string;
|
|
@@ -234,7 +231,7 @@ interface DialogActionItem {
|
|
|
234
231
|
/** 클릭 시 다이얼로그 닫기 여부 (기본값: true) */
|
|
235
232
|
closeOnClick?: boolean;
|
|
236
233
|
}
|
|
237
|
-
interface DialogProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
234
|
+
interface DialogProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
|
|
238
235
|
open?: boolean;
|
|
239
236
|
onClose?: () => void;
|
|
240
237
|
/** 오버레이 클릭 시 닫기 여부 (기본값: true) */
|
|
@@ -257,8 +254,8 @@ interface DialogProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"
|
|
|
257
254
|
actionItems?: DialogActionItem[];
|
|
258
255
|
/** actionItems 사용 시 버튼 레이아웃 */
|
|
259
256
|
footerLayout?: DialogFooterLayout;
|
|
260
|
-
/**
|
|
261
|
-
|
|
257
|
+
/** 다이얼로그 너비 (미지정 시 기본 고정 너비 사용) */
|
|
258
|
+
width?: number | string;
|
|
262
259
|
className?: string;
|
|
263
260
|
children?: React.ReactNode;
|
|
264
261
|
}
|
|
@@ -282,7 +279,10 @@ interface DialogButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonEl
|
|
|
282
279
|
/** 클릭 시 다이얼로그 닫기 여부 (기본값: false - 명시적으로 닫아야 함) */
|
|
283
280
|
closeOnClick?: boolean;
|
|
284
281
|
}
|
|
285
|
-
declare const Dialog:
|
|
282
|
+
declare const Dialog: {
|
|
283
|
+
({ open, onClose, closeOnOverlayClick, closeOnEsc, withClose, variant, align, title, description, icon, actionItems, footerLayout, width, className, children, ...props }: DialogProps): React.ReactPortal | null;
|
|
284
|
+
displayName: string;
|
|
285
|
+
} & {
|
|
286
286
|
Header: ({ title, icon, className, children, ...props }: DialogHeaderProps) => react_jsx_runtime.JSX.Element;
|
|
287
287
|
Body: ({ className, children, ...props }: DialogBodyProps) => react_jsx_runtime.JSX.Element;
|
|
288
288
|
Footer: ({ layout, className, children, ...props }: DialogFooterProps) => react_jsx_runtime.JSX.Element;
|
|
@@ -296,17 +296,16 @@ interface DialogOptions {
|
|
|
296
296
|
description?: React.ReactNode;
|
|
297
297
|
icon?: React.ReactNode;
|
|
298
298
|
buttons?: DialogActionItem[];
|
|
299
|
-
content?: React.ReactNode;
|
|
300
299
|
onClose?: () => void;
|
|
301
300
|
closeOnOverlayClick?: boolean;
|
|
302
301
|
closeOnEsc?: boolean;
|
|
303
302
|
withClose?: boolean;
|
|
304
303
|
}
|
|
305
|
-
interface AlertOptions extends Omit<DialogOptions, "buttons"
|
|
304
|
+
interface AlertOptions extends Omit<DialogOptions, "buttons"> {
|
|
306
305
|
confirmLabel?: string;
|
|
307
306
|
onConfirm?: () => void | Promise<void>;
|
|
308
307
|
}
|
|
309
|
-
interface ConfirmOptions extends Omit<DialogOptions, "buttons"
|
|
308
|
+
interface ConfirmOptions extends Omit<DialogOptions, "buttons"> {
|
|
310
309
|
confirmLabel?: string;
|
|
311
310
|
cancelLabel?: string;
|
|
312
311
|
onConfirm?: () => void | Promise<void>;
|
|
@@ -354,287 +353,7 @@ interface TextProps extends React.HTMLAttributes<HTMLElement> {
|
|
|
354
353
|
children: React.ReactNode;
|
|
355
354
|
}
|
|
356
355
|
/** Text 컴포넌트는 텍스트 스타일을 일관되게 적용하는 컴포넌트입니다. */
|
|
357
|
-
declare const Text:
|
|
358
|
-
defaultChecked?: boolean | undefined;
|
|
359
|
-
defaultValue?: string | number | readonly string[] | undefined;
|
|
360
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
361
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
362
|
-
accessKey?: string | undefined;
|
|
363
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
364
|
-
autoFocus?: boolean | undefined;
|
|
365
|
-
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
366
|
-
contextMenu?: string | undefined;
|
|
367
|
-
dir?: string | undefined;
|
|
368
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
369
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
370
|
-
hidden?: boolean | undefined;
|
|
371
|
-
id?: string | undefined;
|
|
372
|
-
lang?: string | undefined;
|
|
373
|
-
nonce?: string | undefined;
|
|
374
|
-
slot?: string | undefined;
|
|
375
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
376
|
-
style?: React.CSSProperties | undefined;
|
|
377
|
-
tabIndex?: number | undefined;
|
|
378
|
-
title?: string | undefined;
|
|
379
|
-
translate?: "yes" | "no" | undefined;
|
|
380
|
-
radioGroup?: string | undefined;
|
|
381
|
-
role?: React.AriaRole | undefined;
|
|
382
|
-
about?: string | undefined;
|
|
383
|
-
content?: string | undefined;
|
|
384
|
-
datatype?: string | undefined;
|
|
385
|
-
inlist?: any;
|
|
386
|
-
prefix?: string | undefined;
|
|
387
|
-
property?: string | undefined;
|
|
388
|
-
rel?: string | undefined;
|
|
389
|
-
resource?: string | undefined;
|
|
390
|
-
rev?: string | undefined;
|
|
391
|
-
typeof?: string | undefined;
|
|
392
|
-
vocab?: string | undefined;
|
|
393
|
-
autoCorrect?: string | undefined;
|
|
394
|
-
autoSave?: string | undefined;
|
|
395
|
-
color?: string | undefined;
|
|
396
|
-
itemProp?: string | undefined;
|
|
397
|
-
itemScope?: boolean | undefined;
|
|
398
|
-
itemType?: string | undefined;
|
|
399
|
-
itemID?: string | undefined;
|
|
400
|
-
itemRef?: string | undefined;
|
|
401
|
-
results?: number | undefined;
|
|
402
|
-
security?: string | undefined;
|
|
403
|
-
unselectable?: "on" | "off" | undefined;
|
|
404
|
-
popover?: "" | "auto" | "manual" | "hint" | undefined;
|
|
405
|
-
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
406
|
-
popoverTarget?: string | undefined;
|
|
407
|
-
inert?: boolean | undefined;
|
|
408
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
409
|
-
is?: string | undefined;
|
|
410
|
-
exportparts?: string | undefined;
|
|
411
|
-
part?: string | undefined;
|
|
412
|
-
"aria-activedescendant"?: string | undefined;
|
|
413
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
414
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
415
|
-
"aria-braillelabel"?: string | undefined;
|
|
416
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
417
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
418
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
419
|
-
"aria-colcount"?: number | undefined;
|
|
420
|
-
"aria-colindex"?: number | undefined;
|
|
421
|
-
"aria-colindextext"?: string | undefined;
|
|
422
|
-
"aria-colspan"?: number | undefined;
|
|
423
|
-
"aria-controls"?: string | undefined;
|
|
424
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
425
|
-
"aria-describedby"?: string | undefined;
|
|
426
|
-
"aria-description"?: string | undefined;
|
|
427
|
-
"aria-details"?: string | undefined;
|
|
428
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
429
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
430
|
-
"aria-errormessage"?: string | undefined;
|
|
431
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
432
|
-
"aria-flowto"?: string | undefined;
|
|
433
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
434
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
435
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
436
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
437
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
438
|
-
"aria-label"?: string | undefined;
|
|
439
|
-
"aria-labelledby"?: string | undefined;
|
|
440
|
-
"aria-level"?: number | undefined;
|
|
441
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
442
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
443
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
444
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
445
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
446
|
-
"aria-owns"?: string | undefined;
|
|
447
|
-
"aria-placeholder"?: string | undefined;
|
|
448
|
-
"aria-posinset"?: number | undefined;
|
|
449
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
450
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
451
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
452
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
453
|
-
"aria-roledescription"?: string | undefined;
|
|
454
|
-
"aria-rowcount"?: number | undefined;
|
|
455
|
-
"aria-rowindex"?: number | undefined;
|
|
456
|
-
"aria-rowindextext"?: string | undefined;
|
|
457
|
-
"aria-rowspan"?: number | undefined;
|
|
458
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
459
|
-
"aria-setsize"?: number | undefined;
|
|
460
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
461
|
-
"aria-valuemax"?: number | undefined;
|
|
462
|
-
"aria-valuemin"?: number | undefined;
|
|
463
|
-
"aria-valuenow"?: number | undefined;
|
|
464
|
-
"aria-valuetext"?: string | undefined;
|
|
465
|
-
dangerouslySetInnerHTML?: {
|
|
466
|
-
__html: string | TrustedHTML;
|
|
467
|
-
} | undefined;
|
|
468
|
-
onCopy?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
469
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
470
|
-
onCut?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
471
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
472
|
-
onPaste?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
473
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
474
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
475
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
476
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
477
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
478
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
479
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
480
|
-
onFocus?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
481
|
-
onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
482
|
-
onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
483
|
-
onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
484
|
-
onChange?: React.FormEventHandler<HTMLElement> | undefined;
|
|
485
|
-
onChangeCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
486
|
-
onBeforeInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
487
|
-
onBeforeInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
488
|
-
onInput?: React.FormEventHandler<HTMLElement> | undefined;
|
|
489
|
-
onInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
490
|
-
onReset?: React.FormEventHandler<HTMLElement> | undefined;
|
|
491
|
-
onResetCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
492
|
-
onSubmit?: React.FormEventHandler<HTMLElement> | undefined;
|
|
493
|
-
onSubmitCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
494
|
-
onInvalid?: React.FormEventHandler<HTMLElement> | undefined;
|
|
495
|
-
onInvalidCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
496
|
-
onLoad?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
497
|
-
onLoadCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
498
|
-
onError?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
499
|
-
onErrorCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
500
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
501
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
502
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
503
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
504
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
505
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
506
|
-
onAbort?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
507
|
-
onAbortCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
508
|
-
onCanPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
509
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
510
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
511
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
512
|
-
onDurationChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
513
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
514
|
-
onEmptied?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
515
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
516
|
-
onEncrypted?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
517
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
518
|
-
onEnded?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
519
|
-
onEndedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
520
|
-
onLoadedData?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
521
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
522
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
523
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
524
|
-
onLoadStart?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
525
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
526
|
-
onPause?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
527
|
-
onPauseCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
528
|
-
onPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
529
|
-
onPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
530
|
-
onPlaying?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
531
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
532
|
-
onProgress?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
533
|
-
onProgressCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
534
|
-
onRateChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
535
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
536
|
-
onSeeked?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
537
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
538
|
-
onSeeking?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
539
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
540
|
-
onStalled?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
541
|
-
onStalledCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
542
|
-
onSuspend?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
543
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
544
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
545
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
546
|
-
onVolumeChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
547
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
548
|
-
onWaiting?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
549
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
550
|
-
onAuxClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
551
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
552
|
-
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
553
|
-
onClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
554
|
-
onContextMenu?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
555
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
556
|
-
onDoubleClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
557
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
558
|
-
onDrag?: React.DragEventHandler<HTMLElement> | undefined;
|
|
559
|
-
onDragCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
560
|
-
onDragEnd?: React.DragEventHandler<HTMLElement> | undefined;
|
|
561
|
-
onDragEndCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
562
|
-
onDragEnter?: React.DragEventHandler<HTMLElement> | undefined;
|
|
563
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
564
|
-
onDragExit?: React.DragEventHandler<HTMLElement> | undefined;
|
|
565
|
-
onDragExitCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
566
|
-
onDragLeave?: React.DragEventHandler<HTMLElement> | undefined;
|
|
567
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
568
|
-
onDragOver?: React.DragEventHandler<HTMLElement> | undefined;
|
|
569
|
-
onDragOverCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
570
|
-
onDragStart?: React.DragEventHandler<HTMLElement> | undefined;
|
|
571
|
-
onDragStartCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
572
|
-
onDrop?: React.DragEventHandler<HTMLElement> | undefined;
|
|
573
|
-
onDropCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
574
|
-
onMouseDown?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
575
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
576
|
-
onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
577
|
-
onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
578
|
-
onMouseMove?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
579
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
580
|
-
onMouseOut?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
581
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
582
|
-
onMouseOver?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
583
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
584
|
-
onMouseUp?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
585
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
586
|
-
onSelect?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
587
|
-
onSelectCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
588
|
-
onTouchCancel?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
589
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
590
|
-
onTouchEnd?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
591
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
592
|
-
onTouchMove?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
593
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
594
|
-
onTouchStart?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
595
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
596
|
-
onPointerDown?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
597
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
598
|
-
onPointerMove?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
599
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
600
|
-
onPointerUp?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
601
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
602
|
-
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
603
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
604
|
-
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
605
|
-
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
606
|
-
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
607
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
608
|
-
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
609
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
610
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
611
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
612
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
613
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
614
|
-
onScroll?: React.UIEventHandler<HTMLElement> | undefined;
|
|
615
|
-
onScrollCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
616
|
-
onScrollEnd?: React.UIEventHandler<HTMLElement> | undefined;
|
|
617
|
-
onScrollEndCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
618
|
-
onWheel?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
619
|
-
onWheelCapture?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
620
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
621
|
-
onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
622
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
623
|
-
onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
624
|
-
onAnimationIteration?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
625
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
626
|
-
onToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
627
|
-
onBeforeToggle?: React.ToggleEventHandler<HTMLElement> | undefined;
|
|
628
|
-
onTransitionCancel?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
629
|
-
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
630
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
631
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
632
|
-
onTransitionRun?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
633
|
-
onTransitionRunCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
634
|
-
onTransitionStart?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
635
|
-
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
636
|
-
className: string;
|
|
637
|
-
}, Element>;
|
|
356
|
+
declare const Text: React.ForwardRefExoticComponent<TextProps & React.RefAttributes<HTMLElement>>;
|
|
638
357
|
|
|
639
358
|
interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange"> {
|
|
640
359
|
/** Checkbox 라벨 */
|
|
@@ -820,6 +539,8 @@ interface SelectHeaderProps {
|
|
|
820
539
|
placeholder?: string;
|
|
821
540
|
/** 비활성화 상태 */
|
|
822
541
|
disabled?: boolean;
|
|
542
|
+
/** 읽기 전용 (값은 표시되지만 변경 불가) */
|
|
543
|
+
readOnly?: boolean;
|
|
823
544
|
/** 에러 상태 */
|
|
824
545
|
error?: boolean;
|
|
825
546
|
/** Help text (도움말 텍스트) */
|
|
@@ -867,7 +588,7 @@ interface SelectHeaderProps {
|
|
|
867
588
|
}
|
|
868
589
|
/** SelectHeader 컴포넌트는 선택된 값을 표시하고 드롭다운을 여는 헤더 컴포넌트다. items를 주면 클릭 시 메뉴가 열린다. */
|
|
869
590
|
declare const SelectHeader: {
|
|
870
|
-
({ type, title, required, value: valueProp, placeholder, disabled, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuClassName, menuStyle, menuMaxRows, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
|
|
591
|
+
({ type, title, required, value: valueProp, placeholder, disabled, readOnly, error, description, accentIcon, onClick, onClear, prefixIcon, icon, className, id, items, defaultValue, onChange, multiple, showClear, wrapperClassName, wrapperStyle, width, size, menuItemTextProps, menuSuffixIcon, menuClassName, menuStyle, menuMaxRows, }: SelectHeaderProps): react_jsx_runtime.JSX.Element;
|
|
871
592
|
displayName: string;
|
|
872
593
|
};
|
|
873
594
|
|
|
@@ -890,6 +611,8 @@ type SelectBoxSpecificProps = {
|
|
|
890
611
|
size?: SelectBoxSize;
|
|
891
612
|
/** 비활성화 */
|
|
892
613
|
disabled?: boolean;
|
|
614
|
+
/** 읽기 전용 (값은 표시되지만 변경 불가) */
|
|
615
|
+
readOnly?: boolean;
|
|
893
616
|
/** 에러 상태 */
|
|
894
617
|
error?: boolean;
|
|
895
618
|
/** 성공 상태 */
|
|
@@ -923,7 +646,7 @@ type SelectBoxSpecificProps = {
|
|
|
923
646
|
width?: string | number;
|
|
924
647
|
};
|
|
925
648
|
/** SelectHeader에서 SelectBox가 오버라이드하는 props 제외 */
|
|
926
|
-
type SelectHeaderPassThrough = Omit<SelectHeaderProps, "type" | "size" | "title" | "disabled" | "error" | "description" | "accentIcon" | "icon" | "prefixIcon" | "wrapperClassName" | "menuClassName" | "menuStyle" | "style" | "className" | "width"> & {
|
|
649
|
+
type SelectHeaderPassThrough = Omit<SelectHeaderProps, "type" | "size" | "title" | "disabled" | "readOnly" | "error" | "description" | "accentIcon" | "icon" | "prefixIcon" | "wrapperClassName" | "menuClassName" | "menuStyle" | "style" | "className" | "width"> & {
|
|
927
650
|
/** SelectHeader 타입 (outlined | underlined) */
|
|
928
651
|
headerType?: SelectHeaderType;
|
|
929
652
|
};
|
|
@@ -939,7 +662,7 @@ type SelectMenuPassThrough = {
|
|
|
939
662
|
type SelectBoxProps = SelectBoxSpecificProps & SelectHeaderPassThrough & SelectMenuPassThrough;
|
|
940
663
|
/** SelectBox는 SelectHeader와 SelectMenu를 하나로 통합한 컴포넌트로, 미리 정의된 목록에서 항목을 선택하도록 돕습니다. */
|
|
941
664
|
declare const SelectBox: {
|
|
942
|
-
({ size, disabled, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, maxRows, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
|
|
665
|
+
({ size, disabled, readOnly, error, success, loading, label, required, placeholder, items, value, defaultValue, onChange, multiple, description, prefixIcon, className, style, classNames, styles, width, headerType, onClear, showClear, wrapperStyle, onClick, id, itemTextProps, suffixIcon, maxRows, ...restHeaderProps }: SelectBoxProps): react_jsx_runtime.JSX.Element;
|
|
943
666
|
displayName: string;
|
|
944
667
|
};
|
|
945
668
|
|
|
@@ -1037,7 +760,7 @@ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
1037
760
|
maxValue?: number;
|
|
1038
761
|
}
|
|
1039
762
|
/** Badge 컴포넌트는 알림 카운트, 상태 등을 시각적으로 표현하는 원형 라벨 컴포넌트다. */
|
|
1040
|
-
declare const Badge:
|
|
763
|
+
declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1041
764
|
|
|
1042
765
|
type TagType = "solid" | "outline" | "weak";
|
|
1043
766
|
type TagSize = "medium" | "small";
|
|
@@ -1057,7 +780,7 @@ interface TagProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
|
1057
780
|
suffixIcon?: React.ReactNode;
|
|
1058
781
|
}
|
|
1059
782
|
/** Tag 컴포넌트는 콘텐츠의 속성, 상태, 카테고리를 시각적으로 표현하는 읽기 전용 라벨 컴포넌트다. */
|
|
1060
|
-
declare const Tag:
|
|
783
|
+
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1061
784
|
|
|
1062
785
|
type TooltipPosition = "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
|
|
1063
786
|
type TooltipType = "word" | "sentence";
|
|
@@ -1096,7 +819,10 @@ interface TooltipProps {
|
|
|
1096
819
|
className?: string;
|
|
1097
820
|
}
|
|
1098
821
|
/** Tooltip 컴포넌트는 사용자에게 추가 정보나 설명을 제공하는 작은 팝오버입니다. */
|
|
1099
|
-
declare const Tooltip:
|
|
822
|
+
declare const Tooltip: {
|
|
823
|
+
({ label, type, prefixIcon, onClose, direction, withArrow, opened: openedProp, defaultOpened, disabled, width, offset, withinPortal, openDelay, closeDelay, children, className, }: TooltipProps): react_jsx_runtime.JSX.Element;
|
|
824
|
+
displayName: string;
|
|
825
|
+
};
|
|
1100
826
|
|
|
1101
827
|
type ToastSize = "medium" | "small";
|
|
1102
828
|
type ToastState = "default" | "error" | "warning" | "success" | "information";
|
|
@@ -1125,7 +851,10 @@ interface ToastProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style">
|
|
|
1125
851
|
style?: React.CSSProperties;
|
|
1126
852
|
}
|
|
1127
853
|
/** Toast 컴포넌트는 화면에 짧은 시간 동안 나타났다가 자동으로 사라지는 경량 알림 컴포넌트다. */
|
|
1128
|
-
declare const Toast:
|
|
854
|
+
declare const Toast: {
|
|
855
|
+
(props: ToastProps): react_jsx_runtime.JSX.Element;
|
|
856
|
+
displayName: string;
|
|
857
|
+
};
|
|
1129
858
|
interface ToastOptions {
|
|
1130
859
|
/** Toast 상태 */
|
|
1131
860
|
state?: ToastState;
|
|
@@ -1363,6 +1092,8 @@ type ManagedDateInputProps = "type" | "value" | "startDate" | "endDate" | "onCli
|
|
|
1363
1092
|
type DatePickerBaseProps = {
|
|
1364
1093
|
/** 비활성화 */
|
|
1365
1094
|
disabled?: boolean;
|
|
1095
|
+
/** 읽기 전용 (값은 표시되지만 변경 불가) */
|
|
1096
|
+
readOnly?: boolean;
|
|
1366
1097
|
/** 에러 상태 */
|
|
1367
1098
|
error?: boolean;
|
|
1368
1099
|
/** 도움말 텍스트 */
|
|
@@ -1536,7 +1267,7 @@ interface TextFieldAreaProps extends TextFieldBaseProps, Omit<React.TextareaHTML
|
|
|
1536
1267
|
}
|
|
1537
1268
|
type TextFieldProps = TextFieldInputProps | TextFieldAreaProps;
|
|
1538
1269
|
/** TextField 컴포넌트는 사용자로부터 텍스트 입력을 받는 폼 컴포넌트입니다. input과 textarea를 통합합니다. */
|
|
1539
|
-
declare const TextField:
|
|
1270
|
+
declare const TextField: React.ForwardRefExoticComponent<TextFieldProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
|
|
1540
1271
|
|
|
1541
1272
|
type LogoType = "likelion-eng" | "likelion-kr" | "bootcamp" | "symbol" | "favicon" | "og-image";
|
|
1542
1273
|
type LogoColor = "primary" | "black" | "white";
|
|
@@ -1555,7 +1286,10 @@ interface LogoProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1555
1286
|
* Logo 컴포넌트는 브랜드 아이덴티티를 표현하는 로고 컴포넌트다.
|
|
1556
1287
|
* `size` 외에 `className` 또는 `style`로 너비/높이를 직접 지정할 수 있다.
|
|
1557
1288
|
*/
|
|
1558
|
-
declare const Logo:
|
|
1289
|
+
declare const Logo: {
|
|
1290
|
+
({ type, color, size, service, className, style, ...props }: LogoProps): react_jsx_runtime.JSX.Element;
|
|
1291
|
+
displayName: string;
|
|
1292
|
+
};
|
|
1559
1293
|
|
|
1560
1294
|
interface BreakpointContextType {
|
|
1561
1295
|
isMobile?: boolean;
|
|
@@ -1617,4 +1351,12 @@ declare const LAYOUT_SYSTEM: {
|
|
|
1617
1351
|
};
|
|
1618
1352
|
};
|
|
1619
1353
|
|
|
1620
|
-
|
|
1354
|
+
/**
|
|
1355
|
+
* LIKELION Design System 통합 Provider
|
|
1356
|
+
* DialogProvider + ToastProvider를 하나로 감싸줍니다.
|
|
1357
|
+
*/
|
|
1358
|
+
declare const LDSProvider: ({ children }: {
|
|
1359
|
+
children: React.ReactNode;
|
|
1360
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1361
|
+
|
|
1362
|
+
export { ActionButton, type ActionButtonProps, type AlertOptions, BREAKPOINTS, Badge, type BadgeProps, type BadgeType, type BadgeVariant, BreakpointProvider, ActionButton as Button, type ButtonColor, type ActionButtonProps as ButtonProps, type ButtonSize, type ButtonType, Calendar, type CalendarProps, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxItem, type CheckboxProps, Chip, ChipGroup, type ChipGroupProps, type ChipItem, type ChipProps, type ChipSize, type ChipType, type ChipVariant, type ConfirmOptions, DateInput, type DateInputProps, type DateInputSlot, type DateInputType, DatePicker, type DatePickerProps, type DatePickerRangeProps, type DatePickerSingleProps, type DatePickerSlot, type DatePickerType, Dialog, type DialogActionColor, type DialogActionItem, type DialogActionSize, type DialogActionType, type DialogAlign, type DialogFooterLayout, type DialogOptions, type DialogProps, DialogProvider, type DialogVariant, IconButton, type IconButtonColor, type IconButtonProps, type IconButtonSize, type IconButtonSlot, type IconButtonType, LAYOUT_SYSTEM, LDSProvider, Logo, type LogoColor, type LogoProps, type LogoSize, type LogoType, MEDIA_QUERIES, Pagination, type PaginationProps, RadioButton, RadioButtonGroup, type RadioButtonGroupProps, type RadioButtonItem, type RadioButtonProps, SelectBox, type SelectBoxClassNames, type SelectBoxProps, type SelectBoxSize, type SelectBoxStyles, SelectHeader, type SelectHeaderProps, type SelectHeaderType, SelectMenu, type SelectMenuItem, SelectMenuOverlay, TAILWIND_SCREENS, Tab, TabGroup, type TabGroupProps, type TabItem, type TabProps, type TabSize, type TabType, Tag, type TagProps, type TagSize, type TagState, type TagType, Text, type TextDecoration, TextField, type TextFieldProps, type TextFieldSize, type TextFieldType, type TextProps, type TextVariant, TimePicker, type TimePickerProps, Toast, type ToastHorizontalAlign, type ToastOptions, type ToastPosition, type ToastProps, ToastProvider, type ToastSize, type ToastState, Toggle, type ToggleProps, type ToggleSize, Tooltip, type TooltipPosition, type TooltipProps, type TooltipType, type UseCheckboxGroupOptions, type UseCheckboxGroupResult, formatDate, parseDate, useBreakpoint, useCheckboxGroup, useDialog, useMediaQuery, useToast };
|