@bigtablet/design-system 3.23.1 → 3.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -64,10 +64,22 @@ type PolymorphicProps<T extends React$1.ElementType, Own> = Own & {
64
64
  as?: T;
65
65
  /** 루트 요소 ref (React 19 ref-as-prop) */
66
66
  ref?: PolymorphicRef<T>;
67
- } & Omit<React$1.ComponentPropsWithoutRef<T>, keyof Own | "as" | "ref">;
67
+ } & Omit<React$1.ComponentPropsWithoutRef<T>, keyof Own | "as" | "ref" | "dangerouslySetInnerHTML">;
68
68
  /** `as` 에 준 요소의 ref 타입 */
69
69
  type PolymorphicRef<T extends React$1.ElementType> = React$1.ComponentPropsWithRef<T>["ref"];
70
70
 
71
+ /**
72
+ * 컴포넌트 props 에서 `dangerouslySetInnerHTML` 을 뺀다 (시큐어코딩 가이드 W-1-4-6).
73
+ *
74
+ * DS 컴포넌트는 나머지 props 를 루트 요소에 펼치므로, HTML 속성 타입을 그대로 확장하면
75
+ * `<Button dangerouslySetInnerHTML={{ __html: input }} />` 가 타입 검사를 통과해 그대로 DOM 에
76
+ * 닿는다. 마크업이 필요하면 `children` 으로 넘긴다.
77
+ *
78
+ * 새 컴포넌트는 `React.*HTMLAttributes<…>` 를 직접 확장하지 말고 이 타입으로 감싼다 -
79
+ * `safe-html.type-test.tsx` 가 공개 export 전체를 검사해 빠진 곳을 tsc 에러로 잡는다.
80
+ */
81
+ type SafeHTMLProps<P> = Omit<P, "dangerouslySetInnerHTML">;
82
+
71
83
  interface FocusTrapOptions {
72
84
  /**
73
85
  * 초기 포커스를 **먼저 찾을** 영역. 여기 안에 포커스 가능한 컨트롤이 있으면 그 첫 번째로
@@ -80,6 +92,13 @@ interface FocusTrapOptions {
80
92
  * 우회 없이 세 갈래가 그대로 표현된다.
81
93
  */
82
94
  preferWithin?: React$1.RefObject<HTMLElement | null>;
95
+ /**
96
+ * 초기 포커스를 **이 요소**에 둔다. `preferWithin` 보다 먼저 본다. 컨테이너 안에 붙어 있어야
97
+ * 하고, 아직 없거나 밖이면 기존 순서(`preferWithin` → skip 없는 첫 요소 → 첫 요소 → 컨테이너)
98
+ * 로 떨어진다. 기본 순서가 틀린 자리로 가는 화면 - 검색 모달의 검색 입력, 위험 확인 모달의
99
+ * "취소" - 에서 쓴다.
100
+ */
101
+ initialFocus?: React$1.RefObject<HTMLElement | null>;
83
102
  }
84
103
  declare function useFocusTrap(containerRef: React$1.RefObject<HTMLElement | null>, isActive: boolean, options?: FocusTrapOptions): void;
85
104
 
@@ -246,7 +265,7 @@ interface AccordionItem {
246
265
  content: React$1.ReactNode;
247
266
  disabled?: boolean;
248
267
  }
249
- interface AccordionProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
268
+ interface AccordionProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange"> {
250
269
  /** 아이템 목록 */
251
270
  items: AccordionItem[];
252
271
  /** 여러 개 동시에 펼침 허용 (기본 false - 한 번에 하나) */
@@ -272,7 +291,7 @@ declare const Accordion: ({ items, multiple, defaultOpenKeys, openKeys: controll
272
291
 
273
292
  type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
274
293
  type AvatarShape = "circle" | "square";
275
- interface AvatarProps extends React$1.HTMLAttributes<HTMLSpanElement> {
294
+ interface AvatarProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>> {
276
295
  /** 이미지 URL */
277
296
  src?: string;
278
297
  /** alt 텍스트 (이미지일 때) 또는 initials 추출용 이름 */
@@ -300,7 +319,7 @@ type BadgeVariant = "accent" | "neutral" | "info" | "success" | "warning" | "err
300
319
  type BadgeShape = "dot" | "count" | "label";
301
320
  type BadgeSize = "sm" | "md" | "lg";
302
321
  type BadgeAppearance = "solid" | "soft";
303
- interface BadgeProps extends React$1.HTMLAttributes<HTMLSpanElement> {
322
+ interface BadgeProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>> {
304
323
  /** 색상 variant (기본값: "accent") */
305
324
  variant?: BadgeVariant;
306
325
  /** 모양 (기본값: "label"). dot=점만 / count=숫자 / label=텍스트 */
@@ -345,7 +364,7 @@ interface DescriptionListItem {
345
364
  full?: boolean;
346
365
  }
347
366
  type DescriptionListLayout = "row" | "stack";
348
- interface DescriptionListProps extends React$1.HTMLAttributes<HTMLDListElement> {
367
+ interface DescriptionListProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDListElement>> {
349
368
  /** 이름·값 쌍 */
350
369
  items: DescriptionListItem[];
351
370
  /**
@@ -383,7 +402,7 @@ declare const DescriptionList: ({ items, layout, divided, className, ref, ...pro
383
402
 
384
403
  /** 변화량의 색. 방향(↑↓)과 좋음/나쁨은 다르다 - "재고 부족 +2" 는 오르지만 나쁘다 */
385
404
  type StatDeltaTone = "positive" | "negative" | "neutral";
386
- interface StatProps extends React$1.HTMLAttributes<HTMLDivElement> {
405
+ interface StatProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
387
406
  /** 지표 이름 */
388
407
  label: React$1.ReactNode;
389
408
  /** 지표 값. 숫자는 `tabular-nums` 로 폭이 고정된다 */
@@ -420,7 +439,7 @@ interface TimelineItem {
420
439
  /** 항목 아래에 붙일 임의 내용 (첨부, 액션 버튼 등) */
421
440
  children?: React$1.ReactNode;
422
441
  }
423
- interface TimelineProps extends React$1.HTMLAttributes<HTMLOListElement> {
442
+ interface TimelineProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLOListElement>> {
424
443
  /** 위에서 아래로 흐르는 순서대로 */
425
444
  items: TimelineItem[];
426
445
  /** 루트 요소 ref (React 19 ref-as-prop) */
@@ -428,7 +447,7 @@ interface TimelineProps extends React$1.HTMLAttributes<HTMLOListElement> {
428
447
  }
429
448
  declare const Timeline: ({ items, className, ref, ...props }: TimelineProps) => React$1.JSX.Element;
430
449
 
431
- interface EmptyStateProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
450
+ interface EmptyStateProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title"> {
432
451
  /**
433
452
  * 일러스트 영역 (아이콘/이미지 등). **장식 전용** - `aria-hidden="true"` 래퍼로 접근성 트리에서
434
453
  * 제외된다. 포커스 가능한 요소(버튼/링크 등)를 넣으면 포커스는 가는데 보조기기엔 없는 요소가
@@ -467,7 +486,7 @@ interface EmptyStateProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
467
486
  declare const EmptyState: ({ illustration, title, description, action, size, fillHeight, className, ...props }: EmptyStateProps) => React$1.JSX.Element;
468
487
 
469
488
  type ErrorStateVariant = "page" | "widget";
470
- interface ErrorStateProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
489
+ interface ErrorStateProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title"> {
471
490
  /** 제목 (기본 "문제가 발생했습니다") */
472
491
  title?: React$1.ReactNode;
473
492
  /** 보조 설명 */
@@ -507,7 +526,7 @@ interface ErrorStateProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "
507
526
  */
508
527
  declare const ErrorState: ({ title: titleProp, description, icon, action, variant, className, ...props }: ErrorStateProps) => React$1.JSX.Element;
509
528
 
510
- interface BottomNavProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "onChange"> {
529
+ interface BottomNavProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>>, "onChange"> {
511
530
  /** 스크린 리더 레이블 (기본 "주요 메뉴") */
512
531
  ariaLabel?: string;
513
532
  /** 2–5 개의 `BottomNavItem` */
@@ -566,7 +585,7 @@ declare const BottomNavItem: <T extends React$1.ElementType = "button">(props: B
566
585
  * 페이지 본문 끝에 두면 `BottomNav` 가 콘텐츠를 가리지 않게 빈 공간 확보.
567
586
  * `--bt-bottom-nav-height` (+ safe-area) 만큼 height.
568
587
  */
569
- declare const BottomNavSpacer: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => React$1.JSX.Element;
588
+ declare const BottomNavSpacer: ({ className, ...props }: SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>) => React$1.JSX.Element;
570
589
 
571
590
  interface BreadcrumbItem {
572
591
  /** 표시 텍스트 */
@@ -587,7 +606,7 @@ interface BreadcrumbItem {
587
606
  */
588
607
  as?: React$1.ElementType;
589
608
  }
590
- interface BreadcrumbProps extends React$1.HTMLAttributes<HTMLElement> {
609
+ interface BreadcrumbProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>> {
591
610
  /** 경로 아이템 배열. 마지막은 현재 페이지로 간주 */
592
611
  items: BreadcrumbItem[];
593
612
  /** 구분자 (기본값: ChevronRight 아이콘) */
@@ -656,7 +675,7 @@ interface NavBarLocaleConfig {
656
675
  */
657
676
  ariaLabel?: string;
658
677
  }
659
- interface NavBarProps extends React$1.HTMLAttributes<HTMLElement> {
678
+ interface NavBarProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>> {
660
679
  /** 왼쪽 brand/로고 영역 */
661
680
  brand?: React$1.ReactNode;
662
681
  /** 중앙 또는 우측의 검색 영역 (TextField 등) */
@@ -712,7 +731,7 @@ type NavLinkProps<T extends React$1.ElementType = "a"> = PolymorphicProps<T, Nav
712
731
  declare const NavLink: <T extends React$1.ElementType = "a">(props: NavLinkProps<T>) => React$1.JSX.Element;
713
732
 
714
733
  type SidebarMode = "auto" | "static";
715
- interface SidebarProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "onChange"> {
734
+ interface SidebarProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>>, "onChange"> {
716
735
  /** 상단 brand 영역 (펼친 상태 로고) */
717
736
  header?: React$1.ReactNode;
718
737
  /** collapsed 상태 헤더 (보통 favicon). 미지정 시 collapsed 에서도 `header` 사용. */
@@ -785,16 +804,71 @@ type SidebarItemProps<T extends React$1.ElementType = "button"> = PolymorphicPro
785
804
  href: string;
786
805
  } : Record<never, never>);
787
806
  declare const SidebarItem: <T extends React$1.ElementType = "button">(props: SidebarItemProps<T>) => React$1.JSX.Element;
788
- interface SidebarSectionProps extends React$1.HTMLAttributes<HTMLDivElement> {
807
+ interface SidebarSectionProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
789
808
  /** 섹션 라벨 (collapsed 상태에선 hidden) */
790
809
  label?: string;
791
810
  }
792
811
  /** SidebarItem 그룹 라벨. collapsed에선 sr-only로 숨김. */
793
812
  declare const SidebarSection: ({ label, className, children, ...props }: SidebarSectionProps) => React$1.JSX.Element;
794
813
 
814
+ /** 단계의 진행 상태. `current` 와의 인덱스 비교로 파생된다 - 소비자가 따로 관리하지 않는다 */
815
+ type StepperStatus = "done" | "active" | "pending";
816
+ type StepperOrientation = "horizontal" | "vertical";
817
+ interface StepperStep {
818
+ /** 목록 키 */
819
+ id: string | number;
820
+ /** 단계 이름. 인라인 내용만 - 클릭 가능한 단계는 `<button>` 안에 그려진다 */
821
+ label: React$1.ReactNode;
822
+ /** 이름 아래 짧은 설명. 인라인 내용만 */
823
+ description?: React$1.ReactNode;
824
+ }
825
+ interface StepperProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLOListElement>>, "onClick"> {
826
+ /** 순서대로 */
827
+ steps: StepperStep[];
828
+ /** 현재 단계 인덱스 (0-based). 앞은 `done`, 뒤는 `pending` 이 된다 */
829
+ current: number;
830
+ /** 배치 방향 (기본값: "horizontal") */
831
+ orientation?: StepperOrientation;
832
+ /**
833
+ * 주면 모든 단계가 버튼이 되되 **지나간 단계만 눌린다**. 현재·이후 단계는 `aria-disabled` 다 -
834
+ * 아직 오지 않은 단계로 건너뛰는 것은 그 사이 폼 검증을 우회하는 일이라 컴포넌트가 열지 않는다.
835
+ */
836
+ onStepClick?: (index: number, step: StepperStep) => void;
837
+ /** 루트 요소 ref (React 19 ref-as-prop) */
838
+ ref?: React$1.Ref<HTMLOListElement>;
839
+ }
840
+ /**
841
+ * 다단계 폼의 진행 표시. 가입·온보딩·결제처럼 "몇 단계 중 어디" 를 보여 준다.
842
+ *
843
+ * `<ol>` 로 렌더한다 - 순서가 있는 목록이고 스크린리더가 "3개 중 2번째" 를 읽어 준다. 현재 단계는
844
+ * `aria-current="step"`, 지나간 단계는 시각 숨김 텍스트 "완료" 를 함께 갖는다. 색·모양만으로
845
+ * 상태를 전달하지 않는다 (WCAG 1.4.1) - `done` 은 체크, `active`·`pending` 은 번호이고 `pending`
846
+ * 은 빈 원이다.
847
+ *
848
+ * `Timeline` 과의 경계: 시간 순 **기록**(주문 추적, 활동 로그)은 `Timeline`, 사용자가 **밟아
849
+ * 가는 절차**는 `Stepper`.
850
+ *
851
+ * @example
852
+ * ```tsx
853
+ * <Stepper
854
+ * steps={[
855
+ * { id: "account", label: "계정" },
856
+ * { id: "profile", label: "프로필", description: "이름과 소속" },
857
+ * { id: "done", label: "완료" },
858
+ * ]}
859
+ * current={1}
860
+ * onStepClick={setStep}
861
+ * />
862
+ * ```
863
+ */
864
+ declare const Stepper: {
865
+ ({ steps, current, orientation, onStepClick, className, ref, ...props }: StepperProps): React$1.JSX.Element;
866
+ displayName: string;
867
+ };
868
+
795
869
  type TabsVariant = "line" | "fills";
796
870
  type TabsSize = "sm" | "md";
797
- interface TabsProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
871
+ interface TabsProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange"> {
798
872
  /** 제어형: 현재 활성 tab의 value */
799
873
  value?: string;
800
874
  /** 비제어형: 초기 활성 tab의 value */
@@ -813,17 +887,17 @@ interface TabsProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChan
813
887
  * - 비제어형: `defaultValue`
814
888
  */
815
889
  declare const Tabs: ({ value: controlledValue, defaultValue, onValueChange, variant, size, className, children, ...props }: TabsProps) => React$1.JSX.Element;
816
- interface TabListProps extends React$1.HTMLAttributes<HTMLDivElement> {
890
+ interface TabListProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
817
891
  /** 스크린리더 라벨 */
818
892
  ariaLabel?: string;
819
893
  }
820
894
  declare const TabList: ({ ariaLabel, className, children, ...props }: TabListProps) => React$1.JSX.Element;
821
- interface TabProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "value"> {
895
+ interface TabProps extends Omit<SafeHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>>, "value"> {
822
896
  /** 이 tab의 value */
823
897
  value: string;
824
898
  }
825
899
  declare const Tab: ({ value, className, children, onClick, onKeyDown, ...props }: TabProps) => React$1.JSX.Element;
826
- interface TabPanelProps extends React$1.HTMLAttributes<HTMLDivElement> {
900
+ interface TabPanelProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
827
901
  /** 이 panel을 활성화할 tab의 value */
828
902
  value: string;
829
903
  /** 비활성 panel을 unmount 할지 (기본 true). false면 display: none으로 유지 */
@@ -1396,7 +1470,7 @@ declare const zIndex: {
1396
1470
 
1397
1471
  type CardVariant = "default" | "accent" | "glass" | "outlined";
1398
1472
  type CardFooterAlign = "start" | "between" | "end";
1399
- interface CardProps extends React$1.HTMLAttributes<HTMLDivElement> {
1473
+ interface CardProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
1400
1474
  /** 카드 상단에 표시할 제목 */
1401
1475
  heading?: React$1.ReactNode;
1402
1476
  /** 제목에 사용할 시맨틱 헤딩 태그 (기본값: "h3"). 스크린리더 outline에 반영됩니다. */
@@ -1434,7 +1508,7 @@ declare const Card: ({ heading, headingAs: HeadingTag, shadow, padding, bordered
1434
1508
  type ChipType = "basic" | "input" | "filter" | "static";
1435
1509
  type ChipSize = "sm" | "md";
1436
1510
  type ChipTone = "default" | "accent" | "info" | "success" | "warning" | "error";
1437
- interface ChipProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onClick"> {
1511
+ interface ChipProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onClick"> {
1438
1512
  /** 칩 유형 (기본값: "basic"). `static`은 비인터랙티브 라벨 (구 Tag 대체) */
1439
1513
  type?: ChipType;
1440
1514
  /** 칩 크기 (미지정 시 기본 32px). "sm"=24px, "md"=28px */
@@ -1539,8 +1613,15 @@ type TableProps<T extends object> = {
1539
1613
  onSortChange?: (sort: TableSort | undefined) => void;
1540
1614
  /** 전체 선택 체크박스 aria-label */
1541
1615
  selectAllAriaLabel?: string;
1542
- /** 개별 행 선택 체크박스 aria-label. 인자는 `rowIndexOffset` 이 더해진 **전체 순번**이다 (기본값: (i) => `${i+1}번째 행 선택`) */
1543
- selectRowAriaLabel?: (index: number) => string;
1616
+ /**
1617
+ * 개별 행 선택 체크박스 aria-label. 첫 인자는 `rowIndexOffset` 이 더해진 **전체 순번**, 둘째는
1618
+ * 그 행의 데이터 - 번호 대신 이름으로 읽히게 할 때 쓴다 (기본값: (i) => `${i+1}번째 행 선택`)
1619
+ * @example
1620
+ * ```tsx
1621
+ * selectRowAriaLabel={(_, row) => `${row.name} 선택`}
1622
+ * ```
1623
+ */
1624
+ selectRowAriaLabel?: (index: number, row: T) => string;
1544
1625
  /**
1545
1626
  * 이 표의 첫 행이 전체에서 몇 번째인지 (0-based, 기본 0). 서버 페이지네이션처럼 한 쪽만
1546
1627
  * 받아 그릴 때 준다.
@@ -1607,7 +1688,7 @@ interface DataViewPagination {
1607
1688
  /** 페이지 변경 콜백 */
1608
1689
  onPageChange: (page: number) => void;
1609
1690
  }
1610
- interface DataViewProps<T extends object> extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
1691
+ interface DataViewProps<T extends object> extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "children"> {
1611
1692
  /** 데이터와 그 상태 */
1612
1693
  query: DataViewQuery<T>;
1613
1694
  /** 표 컬럼 정의 */
@@ -1636,15 +1717,14 @@ interface DataViewProps<T extends object> extends Omit<React$1.HTMLAttributes<HT
1636
1717
  /** 전체 선택 체크박스의 라벨 (기본값: `Table` 의 기본 라벨) */
1637
1718
  selectAllAriaLabel?: string;
1638
1719
  /**
1639
- * 행 선택 체크박스의 라벨. 인자는 `pagination.pageSize` 를 반영한 **전체 순번**(0-based)이다.
1640
- * 기본값은 순번만 읽어 주므로, 행을 이름으로 구분하려면 바깥 `rows` 를 닫아 넘긴다.
1720
+ * 행 선택 체크박스의 라벨. 첫 인자는 `pagination.pageSize` 를 반영한 **전체 순번**(0-based),
1721
+ * 둘째는 그 행의 데이터. 기본값은 순번만 읽어 주므로 행을 이름으로 구분하려면 둘째 인자를 쓴다.
1641
1722
  * @example
1642
1723
  * ```tsx
1643
- * const offset = (page - 1) * SIZE;
1644
- * selectRowAriaLabel={(index) => `${rows[index - offset].name} 선택`}
1724
+ * selectRowAriaLabel={(_, row) => `${row.name} 선택`}
1645
1725
  * ```
1646
1726
  */
1647
- selectRowAriaLabel?: (index: number) => string;
1727
+ selectRowAriaLabel?: (index: number, row: T) => string;
1648
1728
  /** 선택 액션 줄의 안내 문구 (기본값: (n) => `${n}개 선택됨`) */
1649
1729
  selectionSummary?: (count: number) => string;
1650
1730
  /** 선택 해제 버튼 라벨 */
@@ -1678,7 +1758,7 @@ interface DataViewProps<T extends object> extends Omit<React$1.HTMLAttributes<HT
1678
1758
  */
1679
1759
  declare const DataView: <T extends object>({ query, columns, rowKey, toolbar, selectionActions, pagination, empty, sort, onSortChange, onRowClick, ariaLabel, selectAllAriaLabel, selectRowAriaLabel, selectionSummary: selectionSummaryProp, clearSelectionLabel: clearSelectionLabelProp, errorTitle: errorTitleProp, retryLabel: retryLabelProp, className, ...props }: DataViewProps<T>) => React$1.JSX.Element;
1680
1760
 
1681
- interface DividerProps extends React$1.HTMLAttributes<HTMLHRElement> {
1761
+ interface DividerProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLHRElement>> {
1682
1762
  /** 구분선 두께 (기본값: "standard") */
1683
1763
  weight?: "standard" | "heavy";
1684
1764
  }
@@ -1701,7 +1781,7 @@ interface HeroAction {
1701
1781
  type HeroHeight = "sm" | "md" | "lg" | "full";
1702
1782
  type HeroAlign = "left" | "center" | "right";
1703
1783
  type HeroOverlay = boolean | "dark" | "light";
1704
- interface HeroProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
1784
+ interface HeroProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLElement>>, "title"> {
1705
1785
  /** 히어로 높이 (기본값: "md"). sm=320 / md=480 / lg=640 / full=100vh */
1706
1786
  height?: HeroHeight;
1707
1787
  /** 텍스트 정렬 (기본값: "left") */
@@ -1739,7 +1819,7 @@ interface HeroProps extends Omit<React$1.HTMLAttributes<HTMLElement>, "title"> {
1739
1819
  */
1740
1820
  declare const Hero: ({ height, align, backgroundImage, backgroundColor, overlay, title, subtitle, eyebrow, textColor, primaryAction, secondaryAction, children, className, style, ...props }: HeroProps) => React$1.JSX.Element;
1741
1821
 
1742
- interface IconProps extends Omit<LucideProps, "ref"> {
1822
+ interface IconProps extends Omit<LucideProps, "ref" | "dangerouslySetInnerHTML"> {
1743
1823
  /** lucide-react 아이콘 컴포넌트 */
1744
1824
  icon: LucideIcon;
1745
1825
  }
@@ -1763,7 +1843,7 @@ declare const Icon: {
1763
1843
  displayName: string;
1764
1844
  };
1765
1845
 
1766
- interface ListItemProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onClick"> {
1846
+ interface ListItemProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onClick"> {
1767
1847
  /** 오버라인 (상단 작은 글씨). 문자열 또는 노드(강조/링크/아이콘) */
1768
1848
  overline?: React$1.ReactNode;
1769
1849
  /** 라벨 (주요 텍스트). 문자열 또는 노드(강조/링크/Badge 등) */
@@ -1799,7 +1879,7 @@ interface MediaCardImage {
1799
1879
  src: string;
1800
1880
  alt: string;
1801
1881
  }
1802
- interface MediaCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
1882
+ interface MediaCardProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title"> {
1803
1883
  /** 이미지 정보 (src + alt). alt=""는 장식 이미지로 처리됨 */
1804
1884
  image: MediaCardImage;
1805
1885
  /** 이미지 위치 (기본값: "top"). overlay = 이미지 위에 텍스트가 얹힘 */
@@ -1830,7 +1910,7 @@ interface MediaCardProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "t
1830
1910
  declare const MediaCard: ({ image, imagePosition, aspectRatio, heading, headingAs: HeadingTag, eyebrow, shadow, bordered, clickable, meta, children, className, ...props }: MediaCardProps) => React$1.JSX.Element;
1831
1911
 
1832
1912
  type ProseSize = "md" | "lg";
1833
- interface ProseProps extends React$1.HTMLAttributes<HTMLDivElement> {
1913
+ interface ProseProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
1834
1914
  /**
1835
1915
  * 본문 스케일 (기본값: "md").
1836
1916
  * - `md`: 공지·FAQ·이메일 프리뷰처럼 좁은 폭에 들어가는 본문 (h1 24 / h2 20 / h3 18)
@@ -1902,7 +1982,7 @@ declare const AlertProvider: React$1.FC<{
1902
1982
  children: React$1.ReactNode;
1903
1983
  }>;
1904
1984
 
1905
- interface LinearProgressProps extends React.HTMLAttributes<HTMLDivElement> {
1985
+ interface LinearProgressProps extends SafeHTMLProps<React.HTMLAttributes<HTMLDivElement>> {
1906
1986
  /** 전체 단계 수 */
1907
1987
  totalSteps: number;
1908
1988
  /** 현재 단계 (0부터 totalSteps까지) */
@@ -1919,7 +1999,7 @@ interface LinearProgressProps extends React.HTMLAttributes<HTMLDivElement> {
1919
1999
  declare const LinearProgress: ({ totalSteps, currentStep, className, ...props }: LinearProgressProps) => React$1.JSX.Element;
1920
2000
 
1921
2001
  type SkeletonVariant = "text" | "title" | "avatar" | "rect";
1922
- interface SkeletonProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
2002
+ interface SkeletonProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "children"> {
1923
2003
  /** 스켈레톤 모양 (기본값: "text") */
1924
2004
  variant?: SkeletonVariant;
1925
2005
  /** CSS width 값 (예: "100%", 200, "16rem"). variant=avatar는 width=height로 사용 */
@@ -1951,6 +2031,25 @@ interface SpinnerProps {
1951
2031
  declare const Spinner: ({ size, ariaLabel: ariaLabelProp }: SpinnerProps) => React$1.JSX.Element;
1952
2032
 
1953
2033
  type ToastVariant = "success" | "error" | "warning" | "info" | "default";
2034
+ interface ToastAction {
2035
+ /** 버튼 라벨 - "실행 취소" 등 */
2036
+ label: string;
2037
+ /** 누르면 실행되고, 이어서 토스트가 닫힌다 */
2038
+ onClick: () => void;
2039
+ }
2040
+ interface ToastOptions {
2041
+ /** 자동 닫힘까지의 ms (기본값: 3000). `Infinity` 면 닫기 버튼·`dismiss` 로만 닫힌다 - 진행 토스트용 */
2042
+ duration?: number;
2043
+ /** 메시지 옆 버튼. 한 번 누를 수 있는 되돌리기 같은 동작에 쓴다 */
2044
+ action?: ToastAction;
2045
+ }
2046
+ /** `update` 로 바꿀 수 있는 필드. `action: null` 이면 버튼을 뗀다 */
2047
+ type ToastPatch = Partial<{
2048
+ message: string;
2049
+ variant: ToastVariant;
2050
+ duration: number;
2051
+ action: ToastAction | null;
2052
+ }>;
1954
2053
  interface ToastProviderProps {
1955
2054
  /** 앱 루트에서 감싸는 자식 요소 */
1956
2055
  children: React$1.ReactNode;
@@ -1972,19 +2071,23 @@ declare const ToastProvider: ({ children, maxCount, closeAriaLabel: closeAriaLab
1972
2071
  /**
1973
2072
  * 토스트 메시지를 표시하는 훅.
1974
2073
  * ToastProvider 내부에서만 사용할 수 있다.
1975
- * @returns 토스트 메시지 표시 함수 객체
2074
+ * @returns 토스트 표시·닫기·갱신 함수 객체. 표시 함수는 토스트 id 를 반환한다
1976
2075
  */
1977
2076
  declare const useToast: () => {
1978
- /** 성공 메시지를 표시한다 */
1979
- success: (message: string, duration?: number) => void;
2077
+ /** 성공 메시지를 표시한다. 두 번째 인자는 ms 또는 `{ duration, action }` */
2078
+ success: (message: string, options?: number | ToastOptions) => string;
1980
2079
  /** 오류 메시지를 표시한다 */
1981
- error: (message: string, duration?: number) => void;
2080
+ error: (message: string, options?: number | ToastOptions) => string;
1982
2081
  /** 경고 메시지를 표시한다 */
1983
- warning: (message: string, duration?: number) => void;
2082
+ warning: (message: string, options?: number | ToastOptions) => string;
1984
2083
  /** 정보 메시지를 표시한다 */
1985
- info: (message: string, duration?: number) => void;
2084
+ info: (message: string, options?: number | ToastOptions) => string;
1986
2085
  /** 기본 메시지를 표시한다 */
1987
- message: (message: string, duration?: number) => void;
2086
+ message: (message: string, options?: number | ToastOptions) => string;
2087
+ /** id 의 토스트를 닫는다 - 닫기 버튼과 같은 퇴출 모션 */
2088
+ dismiss: (id: string) => void;
2089
+ /** id 의 토스트 내용을 바꾼다 - "업로드 중…" 을 "완료" 로 */
2090
+ update: (id: string, patch: ToastPatch) => void;
1988
2091
  };
1989
2092
 
1990
2093
  interface TopLoadingProps {
@@ -2007,7 +2110,7 @@ interface TopLoadingProps {
2007
2110
  */
2008
2111
  declare const TopLoading: ({ progress, color, height, isLoading, ariaLabel: ariaLabelProp, }: TopLoadingProps) => React$1.JSX.Element | null;
2009
2112
 
2010
- interface CheckboxProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
2113
+ interface CheckboxProps extends Omit<SafeHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>>, "size"> {
2011
2114
  /** 체크박스 옆에 표시할 라벨 */
2012
2115
  label?: React$1.ReactNode;
2013
2116
  /** 중간 선택(indeterminate) 상태 여부 */
@@ -2037,7 +2140,7 @@ interface ComboboxOption {
2037
2140
  disabled?: boolean;
2038
2141
  }
2039
2142
  type ComboboxSize = "sm" | "md" | "lg";
2040
- interface ComboboxProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2143
+ interface ComboboxProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange" | "defaultValue"> {
2041
2144
  /** 선택된 값 (제어형) */
2042
2145
  value?: ComboboxOption | null;
2043
2146
  /** 선택 변경 콜백 */
@@ -2348,7 +2451,7 @@ interface FieldControl {
2348
2451
  * ```
2349
2452
  */
2350
2453
  declare function useFieldControl(): FieldControl | undefined;
2351
- interface FieldProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "children"> {
2454
+ interface FieldProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "children"> {
2352
2455
  /** 필드 이름. `Form` 의 `errors[name]` 을 찾는 키이자 입력 id 의 접두사 */
2353
2456
  name: string;
2354
2457
  /** 라벨 텍스트. `Field` 가 소유하므로 자식 입력에는 `label` 을 주지 않는다 */
@@ -2392,7 +2495,7 @@ interface FieldProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "child
2392
2495
  declare const Field: ({ name, label, labelAction, required, help, error: errorProp, children, className, ...props }: FieldProps) => React$1.JSX.Element;
2393
2496
 
2394
2497
  type FileInputVariant = "button" | "preview";
2395
- interface FileInputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
2498
+ interface FileInputProps extends SafeHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>> {
2396
2499
  /** 파일 선택 버튼 라벨 / preview variant 빈 상태 텍스트 */
2397
2500
  label?: string;
2398
2501
  /** 파일 선택 시 호출되는 콜백 */
@@ -2418,7 +2521,7 @@ interface FileInputProps extends React$1.InputHTMLAttributes<HTMLInputElement> {
2418
2521
  */
2419
2522
  declare const FileInput: ({ label: labelProp, onFiles, supportingText, preview, variant, previewSize, className, disabled, accept, onChange, ...props }: FileInputProps) => React$1.JSX.Element;
2420
2523
 
2421
- interface FormProps extends Omit<React$1.FormHTMLAttributes<HTMLFormElement>, "onSubmit"> {
2524
+ interface FormProps extends Omit<SafeHTMLProps<React$1.FormHTMLAttributes<HTMLFormElement>>, "onSubmit"> {
2422
2525
  /**
2423
2526
  * 필드 이름 → 에러 메시지. 해당 `Field` 가 자기 이름으로 찾아 표시한다.
2424
2527
  * 서버 검증 실패(422) 응답을 필드에 꽂는 표준 경로다.
@@ -2453,7 +2556,7 @@ declare const Form: {
2453
2556
  displayName: string;
2454
2557
  };
2455
2558
  };
2456
- interface FormActionsProps extends React$1.HTMLAttributes<HTMLDivElement> {
2559
+ interface FormActionsProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
2457
2560
  /** 버튼 정렬 (기본값: "end") */
2458
2561
  align?: "start" | "center" | "end" | "between";
2459
2562
  children: React$1.ReactNode;
@@ -2579,7 +2682,7 @@ declare const OtpInput: {
2579
2682
  displayName: string;
2580
2683
  };
2581
2684
 
2582
- interface RadioProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size"> {
2685
+ interface RadioProps extends Omit<SafeHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>>, "size"> {
2583
2686
  /** 라디오 버튼 옆에 표시할 라벨 */
2584
2687
  label?: React$1.ReactNode;
2585
2688
  /** 라디오 버튼 크기 (기본값: "md"). `RadioGroup` 안에서는 그룹 size 가 기본값. */
@@ -2618,7 +2721,7 @@ interface RadioGroupContextValue {
2618
2721
  * `RadioGroup` 밖에서 쓰이면 `null` 을 반환 — 이 경우 Radio 는 standalone 으로 동작.
2619
2722
  */
2620
2723
  declare function useRadioGroupContext(): RadioGroupContextValue | null;
2621
- interface RadioGroupProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange"> {
2724
+ interface RadioGroupProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange"> {
2622
2725
  /** 제어형: 선택된 value */
2623
2726
  value?: string;
2624
2727
  /** 비제어형: 초기 선택 value */
@@ -2664,7 +2767,7 @@ declare const RadioGroup: {
2664
2767
  };
2665
2768
 
2666
2769
  type TagInputSize = "sm" | "md" | "lg";
2667
- interface TagInputProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> {
2770
+ interface TagInputProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "onChange" | "defaultValue"> {
2668
2771
  /** 태그 목록 (제어형). 주지 않으면 내부 상태로 동작한다 */
2669
2772
  value?: string[];
2670
2773
  /** 비제어형 초기 태그 */
@@ -2717,7 +2820,7 @@ type TextFieldVariant = "outline" | "filled";
2717
2820
  * - `immediate`: 조합 중에도 매 입력마다 즉시 호출 (실시간 검색/필터/미리보기용).
2718
2821
  */
2719
2822
  type ImeStrategy = "delayed" | "immediate";
2720
- interface TextFieldProps extends Omit<React$1.InputHTMLAttributes<HTMLInputElement>, "size" | "onChange" | "value" | "defaultValue"> {
2823
+ interface TextFieldProps extends Omit<SafeHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>>, "size" | "onChange" | "value" | "defaultValue"> {
2721
2824
  /** 입력 필드 크기 */
2722
2825
  size?: TextFieldSize;
2723
2826
  /** 입력 필드 시각 변형 */
@@ -2805,7 +2908,7 @@ declare const TextField: {
2805
2908
 
2806
2909
  type TextareaSize = TextFieldSize;
2807
2910
  type TextareaResize = "none" | "vertical" | "both";
2808
- interface TextareaProps extends Omit<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>, "size" | "onChange" | "value" | "defaultValue" | "rows"> {
2911
+ interface TextareaProps extends Omit<SafeHTMLProps<React$1.TextareaHTMLAttributes<HTMLTextAreaElement>>, "size" | "onChange" | "value" | "defaultValue" | "rows"> {
2809
2912
  /** 입력 필드 크기 (기본값: "md") */
2810
2913
  size?: TextareaSize;
2811
2914
  /** 입력 필드 위에 표시할 라벨 텍스트 */
@@ -2918,7 +3021,7 @@ interface TimePickerProps {
2918
3021
  */
2919
3022
  declare const TimePicker: ({ label, value, onValueChange, minuteStep, minTime, maxTime, disabled, required, fullWidth, hourLabel: hourLabelProp, minuteLabel: minuteLabelProp, }: TimePickerProps) => React$1.JSX.Element;
2920
3023
 
2921
- interface ToggleProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "onChange"> {
3024
+ interface ToggleProps extends Omit<SafeHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>>, "onChange"> {
2922
3025
  /** 제어형 토글 상태 */
2923
3026
  checked?: boolean;
2924
3027
  /** 비제어형 초기 토글 상태 */
@@ -3018,7 +3121,7 @@ declare const Button: <T extends React$1.ElementType = "button">(props: ButtonPr
3018
3121
  type IconButtonVariant = "standard" | "filled" | "tonal" | "outlined";
3019
3122
  type IconButtonSize = "sm" | "md";
3020
3123
  /** 접근성 이름을 제외한 IconButton 공통 props */
3021
- interface IconButtonBaseProps extends Omit<React$1.ButtonHTMLAttributes<HTMLButtonElement>, "aria-label" | "aria-labelledby"> {
3124
+ interface IconButtonBaseProps extends Omit<SafeHTMLProps<React$1.ButtonHTMLAttributes<HTMLButtonElement>>, "aria-label" | "aria-labelledby"> {
3022
3125
  /** 아이콘 버튼 스타일 변형 (기본값: "standard") */
3023
3126
  variant?: IconButtonVariant;
3024
3127
  /** 아이콘 버튼 크기 (기본값: "md") */
@@ -3099,7 +3202,7 @@ declare const Pagination: ({ page, totalPages, onPageChange, onChange, prevLabel
3099
3202
 
3100
3203
  /** Drawer 가 미끄러져 들어오는 방향 (top 은 범위 외) */
3101
3204
  type DrawerPlacement = "left" | "right" | "bottom";
3102
- interface DrawerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title" | "onClick" | "onKeyDown" | "onPointerDown"> {
3205
+ interface DrawerProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title" | "onClick" | "onKeyDown" | "onPointerDown"> {
3103
3206
  /** 드로어 열림 여부 */
3104
3207
  open: boolean;
3105
3208
  /** 드로어 닫기 콜백 */
@@ -3131,6 +3234,12 @@ interface DrawerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "titl
3131
3234
  * 둘 다 비우면 이름 없는 대화상자가 되고 axe `aria-dialog-name` 이 잡는다.
3132
3235
  */
3133
3236
  ariaLabel?: string;
3237
+ /**
3238
+ * 열릴 때 포커스를 둘 요소. 기본 순서(본문 첫 컨트롤 → 닫기 버튼 → 패널)가 틀린 자리로 가는
3239
+ * 화면에서 쓴다 - 검색 드로어의 검색 입력, 위험 확인 드로어의 "취소" 버튼. 패널 안에 붙어
3240
+ * 있는 요소여야 하고, 아니면 기본 순서로 떨어진다.
3241
+ */
3242
+ initialFocusRef?: React$1.RefObject<HTMLElement | null>;
3134
3243
  /**
3135
3244
  * 퇴출 애니메이션이 끝나 패널이 실제로 언마운트된 뒤 호출된다.
3136
3245
  * `open` 을 끈 직후가 아니라 이 시점에 상세 데이터를 비워야 본문만 먼저 사라지지 않는다.
@@ -3145,12 +3254,12 @@ interface DrawerProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "titl
3145
3254
  * @returns 열림 상태일 때 렌더링된 드로어, 닫힘 상태면 null
3146
3255
  */
3147
3256
  declare const Drawer: {
3148
- ({ open, onClose, placement, size, title, footer, closeOnOverlay, dismissible, showCloseIcon, closeLabel: closeLabelProp, ariaLabel, onExited, children, className, ...props }: DrawerProps): React$1.ReactPortal | null;
3257
+ ({ open, onClose, placement, size, title, footer, closeOnOverlay, dismissible, showCloseIcon, closeLabel: closeLabelProp, ariaLabel, initialFocusRef, onExited, children, className, ...props }: DrawerProps): React$1.ReactPortal | null;
3149
3258
  displayName: string;
3150
3259
  };
3151
3260
 
3152
3261
  type ModalFooterAlign = "end" | "between" | "start";
3153
- interface ModalProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title" | "onClick" | "onKeyDown" | "onPointerDown"> {
3262
+ interface ModalProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title" | "onClick" | "onKeyDown" | "onPointerDown"> {
3154
3263
  /** 모달 열림 여부 */
3155
3264
  open: boolean;
3156
3265
  /** 모달 닫기 콜백 */
@@ -3184,6 +3293,12 @@ interface ModalProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title
3184
3293
  * 둘 다 비우면 이름 없는 대화상자가 되고 axe `aria-dialog-name` 이 잡는다.
3185
3294
  */
3186
3295
  ariaLabel?: string;
3296
+ /**
3297
+ * 열릴 때 포커스를 둘 요소. 기본 순서(본문 첫 컨트롤 → 닫기 버튼 → 패널)가 틀린 자리로 가는
3298
+ * 화면에서 쓴다 - 검색 모달의 검색 입력, 위험 확인 모달의 "취소" 버튼. 패널 안에 붙어
3299
+ * 있는 요소여야 하고, 아니면 기본 순서로 떨어진다.
3300
+ */
3301
+ initialFocusRef?: React$1.RefObject<HTMLElement | null>;
3187
3302
  /**
3188
3303
  * 퇴출 애니메이션이 끝나 패널이 실제로 언마운트된 뒤 호출된다.
3189
3304
  * `open` 을 끈 직후가 아니라 이 시점에 상세 데이터를 비워야 본문만 먼저 사라지지 않는다.
@@ -3196,7 +3311,7 @@ interface ModalProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title
3196
3311
  * @param props 모달 속성
3197
3312
  * @returns 열림 상태일 때 렌더링된 모달, 닫힘 상태면 null
3198
3313
  */
3199
- declare const Modal: ({ open, onClose, closeOnOverlay, dismissible, width, title, description, footer, footerAlign, showCloseIcon, closeLabel: closeLabelProp, children, className, ariaLabel, onExited, ...props }: ModalProps) => React$1.ReactPortal | null;
3314
+ declare const Modal: ({ open, onClose, closeOnOverlay, dismissible, width, title, description, footer, footerAlign, showCloseIcon, closeLabel: closeLabelProp, children, className, ariaLabel, initialFocusRef, onExited, ...props }: ModalProps) => React$1.ReactPortal | null;
3200
3315
 
3201
3316
  /**
3202
3317
  * DS 가 스스로 렌더하는 모든 사용자 노출 문구. 컴포넌트 안에 흩어져 있던 기본값을 한곳에 모은다.
@@ -3269,6 +3384,8 @@ interface LocaleMessages {
3269
3384
  "pagination.next": string;
3270
3385
  "pagination.prev": string;
3271
3386
  "sidebar.toggle": string;
3387
+ "stepper.current": string;
3388
+ "stepper.done": string;
3272
3389
  "drawer.close": string;
3273
3390
  "modal.close": string;
3274
3391
  }
@@ -3356,7 +3473,7 @@ interface ThemeProviderProps {
3356
3473
  */
3357
3474
  declare const ThemeProvider: React$1.FC<ThemeProviderProps>;
3358
3475
 
3359
- interface AppShellProps extends React$1.HTMLAttributes<HTMLDivElement> {
3476
+ interface AppShellProps extends SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>> {
3360
3477
  /** 좌측 네비게이션. 보통 `Sidebar` */
3361
3478
  sidebar?: React$1.ReactNode;
3362
3479
  /** 콘텐츠 열 위에 고정되는 헤더. 보통 `NavBar` */
@@ -3480,7 +3597,7 @@ type GridProps<T extends React$1.ElementType = "div"> = PolymorphicProps<T, Grid
3480
3597
  */
3481
3598
  declare const Grid: <T extends React$1.ElementType = "div">({ cols, minColWidth, gap, rowGap, colGap, singleColOnMobile, as, ref, className, children, style, ...props }: GridProps<T>) => React$1.JSX.Element;
3482
3599
 
3483
- interface PageHeaderProps extends Omit<React$1.HTMLAttributes<HTMLDivElement>, "title"> {
3600
+ interface PageHeaderProps extends Omit<SafeHTMLProps<React$1.HTMLAttributes<HTMLDivElement>>, "title"> {
3484
3601
  /** 화면 제목. `h1` 로 렌더된다 */
3485
3602
  title: React$1.ReactNode;
3486
3603
  /** 제목 아래 한 줄 설명 */
@@ -3607,4 +3724,4 @@ type StackProps<T extends React$1.ElementType = "div"> = PolymorphicProps<T, Sta
3607
3724
  */
3608
3725
  declare const Stack: <T extends React$1.ElementType = "div">({ direction, gap, align, justify, wrap, as, ref, className, children, style, ...props }: StackProps<T>) => React$1.JSX.Element;
3609
3726
 
3610
- export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertOptions, AlertProvider, type AlertVariant, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonAsAnchor, type ButtonAsButton, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, Container, type ContainerProps, type ContainerSize, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseListboxPopupArgs, type UseListboxPopupResult, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useSpringHover, useSpringPresence, useTheme, useToast, zIndex };
3727
+ export { Accordion, type AccordionItem, type AccordionProps, type AlertActionsAlign, type AlertOptions, AlertProvider, type AlertVariant, AppShell, type AppShellProps, Avatar, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeAppearance, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, BottomNav, BottomNavItem, type BottomNavItemProps, type BottomNavProps, BottomNavSpacer, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, Button, type ButtonAsAnchor, type ButtonAsButton, type ButtonProps, type ButtonSize, type ButtonVariant, Card, type CardFooterAlign, type CardProps, type CardVariant, Checkbox, type CheckboxProps, Chip, type ChipProps, type ChipSize, type ChipTone, type ChipType, Combobox, type ComboboxOption, type ComboboxProps, type ComboboxSize, Container, type ContainerProps, type ContainerSize, type CropImageSize, type CropOffset, type CropRect, DataView, type DataViewPagination, type DataViewProps, type DataViewQuery, type DataViewSelectionAction, type DataViewToolbar, DatePicker, type DatePickerProps, type DateRange, DateRangePicker, type DateRangePickerProps, DescriptionList, type DescriptionListItem, type DescriptionListLayout, type DescriptionListProps, Divider, type DividerProps, Drawer, type DrawerPlacement, type DrawerProps, Dropdown, type DropdownMultipleProps, type DropdownOption, type DropdownProps, type DropdownSingleProps, type DropdownSize, type DropdownVariant, EmptyState, type EmptyStateProps, ErrorState, type ErrorStateProps, type ErrorStateVariant, Field, type FieldControl, type FieldProps, FileInput, type FileInputProps, type FileInputVariant, type FocusTrapOptions, Form, type FormActionsProps, type FormProps, Grid, type GridCols, type GridGap, type GridProps, Hero, type HeroAction, type HeroAlign, type HeroHeight, type HeroOverlay, type HeroProps, Icon, IconButton, type IconButtonProps, type IconButtonSize, type IconButtonVariant, type IconProps, ImageCropper, type ImageCropperHandle, type ImageCropperProps, type ImeStrategy, LinearProgress, type LinearProgressProps, ListItem, type ListItemProps, type ListboxItem, type LocaleKey, type LocaleMessages, type LocaleName, LocaleProvider, type LocaleProviderProps, type LocaleText, MediaCard, type MediaCardImage, type MediaCardImagePosition, type MediaCardProps, type MediaCardShadow, Menu, type MenuItem, type MenuProps, Modal, type ModalFooterAlign, type ModalProps, NavBar, type NavBarLayout, type NavBarLocaleConfig, type NavBarLocaleOption, type NavBarProps, type NavBarVariant, NavLink, type NavLinkProps, OtpInput, type OtpInputProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, type PolymorphicProps, type PolymorphicRef, Popover, type PopoverPlacement, type PopoverProps, Prose, type ProseProps, type ProseSize, Radio, RadioGroup, type RadioGroupContextValue, type RadioGroupOrientation, type RadioGroupProps, type RadioGroupSize, type RadioProps, type ResolvedTheme, Section, type SectionBg, type SectionProps, type SectionSpacing, Sidebar, SidebarItem, type SidebarItemProps, type SidebarMode, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, Stack, type StackAlign, type StackDirection, type StackGap, type StackJustify, type StackProps, type StackWrap, Stat, type StatDeltaTone, type StatProps, Stepper, type StepperOrientation, type StepperProps, type StepperStatus, type StepperStep, Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Table, type TableColumn, type TableProps, type TableSize, type TableSort, type TableSortDirection, Tabs, type TabsProps, type TabsSize, type TabsVariant, TagInput, type TagInputProps, type TagInputSize, TextField, type TextFieldProps, type TextFieldSize, type TextFieldVariant, Textarea, type TextareaProps, type TextareaResize, type TextareaSize, type ThemeMode, ThemeProvider, type ThemeProviderProps, TimePicker, type TimePickerProps, Timeline, type TimelineItem, type TimelineProps, type TimelineStatus, type ToastAction, type ToastOptions, type ToastPatch, ToastProvider, type ToastProviderProps, type ToastVariant, Toggle, type ToggleProps, Tooltip, type TooltipPlacement, type TooltipProps, TopLoading, type TopLoadingProps, type UseListboxPopupArgs, type UseListboxPopupResult, a11y, baseBorderWidth, baseColors, baseTypography, borderWidth, breakpoints, catalogs, cn, colors, elevation, en, iconSize, ko, motion, opacity, radius, skeleton, spacing, typography, useAlert, useFieldControl, useFocusTrap, useListboxPopup, useLocaleName, useLocaleText, useRadioGroupContext, useReducedMotion, useSpringHover, useSpringPresence, useTheme, useToast, zIndex };