@nurihaus/web-design-system 3.26.1 → 3.27.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.
Files changed (149) hide show
  1. package/dist/agreement.js +6 -198
  2. package/dist/ai/components.md +696 -77
  3. package/dist/ai/migration.md +25 -0
  4. package/dist/ai/motion.md +10 -4
  5. package/dist/ai/patterns.md +1631 -663
  6. package/dist/ai/tokens.md +14 -8
  7. package/dist/check-box.js +24 -14
  8. package/dist/chip-group.js +23 -7
  9. package/dist/chunk-244.js +31 -0
  10. package/dist/chunk-2735.js +123 -0
  11. package/dist/chunk-4359.js +96 -0
  12. package/dist/{chunk-6096.js → chunk-4709.js} +17 -33
  13. package/dist/chunk-4955.js +115 -0
  14. package/dist/chunk-7024.js +3 -1
  15. package/dist/chunk-7187.js +35 -0
  16. package/dist/chunk-7829.js +10 -2
  17. package/dist/chunk-8144.js +106 -0
  18. package/dist/chunk-9350.js +23 -0
  19. package/dist/components/check-box/check-box-type.d.ts +2 -0
  20. package/dist/components/check-box/check-box.stories.d.ts +2 -0
  21. package/dist/components/chip-group/chip-group-props.d.ts +6 -3
  22. package/dist/components/chip-group/chip-group-type.d.ts +4 -1
  23. package/dist/components/chip-group/chip-group.stories.d.ts +6 -2
  24. package/dist/components/description-list/description-list-props.d.ts +15 -1
  25. package/dist/components/description-list/description-list-type.d.ts +11 -1
  26. package/dist/components/description-list/description-list.d.ts +1 -1
  27. package/dist/components/description-list/description-list.stories.d.ts +7 -0
  28. package/dist/components/drop-down/drop-down-type.d.ts +14 -2
  29. package/dist/components/drop-down/drop-down.stories.d.ts +3 -1
  30. package/dist/components/empty-state/empty-state-props.d.ts +3 -0
  31. package/dist/components/empty-state/empty-state-type.d.ts +8 -2
  32. package/dist/components/empty-state/empty-state.d.ts +3 -0
  33. package/dist/components/empty-state/empty-state.stories.d.ts +297 -5
  34. package/dist/components/form-field/base-form-field.d.ts +13 -0
  35. package/dist/components/form-field/form-field-context.d.ts +7 -0
  36. package/dist/components/form-field/form-field-props.d.ts +21 -0
  37. package/dist/components/form-field/form-field-type.d.ts +51 -0
  38. package/dist/components/form-field/form-field.d.ts +9 -0
  39. package/dist/components/form-field/form-field.stories.d.ts +335 -0
  40. package/dist/components/form-section/base-form-section.d.ts +4 -0
  41. package/dist/components/form-section/form-section-props.d.ts +2 -0
  42. package/dist/components/form-section/form-section-type.d.ts +16 -0
  43. package/dist/components/form-section/form-section.d.ts +5 -0
  44. package/dist/components/form-section/form-section.stories.d.ts +308 -0
  45. package/dist/components/icon/icon.stories.d.ts +1 -1
  46. package/dist/components/list/list-footer.stories.d.ts +2 -2
  47. package/dist/components/list/list-row.stories.d.ts +1 -1
  48. package/dist/components/message/message.stories.d.ts +3 -3
  49. package/dist/components/modal/modal-props.d.ts +10 -3
  50. package/dist/components/modal/modal-type.d.ts +22 -4
  51. package/dist/components/modal/modal-with-double-button.stories.d.ts +16 -1
  52. package/dist/components/modal/modal.stories.d.ts +5 -1
  53. package/dist/components/notice/notice-type.d.ts +3 -0
  54. package/dist/components/notice/notice.stories.d.ts +279 -0
  55. package/dist/components/overlay/overlay-type.d.ts +1 -1
  56. package/dist/components/pagination/pagination-type.d.ts +10 -0
  57. package/dist/components/pagination/pagination.stories.d.ts +7 -1
  58. package/dist/components/radio/base-radio.d.ts +2 -2
  59. package/dist/components/radio/radio-props.d.ts +8 -2
  60. package/dist/components/radio/radio-type.d.ts +14 -3
  61. package/dist/components/radio/radio.stories.d.ts +11 -1
  62. package/dist/components/search-field/search-field-type.d.ts +19 -3
  63. package/dist/components/search-field/search-field.d.ts +1 -1
  64. package/dist/components/search-field/search-field.stories.d.ts +2 -0
  65. package/dist/components/segmented-control/segmented-control-props.d.ts +8 -0
  66. package/dist/components/segmented-control/segmented-control-type.d.ts +3 -1
  67. package/dist/components/segmented-control/segmented-control.stories.d.ts +8 -0
  68. package/dist/components/skeleton/skeleton.stories.d.ts +3 -3
  69. package/dist/components/stat/base-stat.d.ts +13 -4
  70. package/dist/components/stat/stat-group.d.ts +8 -0
  71. package/dist/components/stat/stat-group.stories.d.ts +27 -0
  72. package/dist/components/stat/stat-props.d.ts +5 -3
  73. package/dist/components/stat/stat-type.d.ts +40 -2
  74. package/dist/components/stat/stat.d.ts +1 -1
  75. package/dist/components/stat/stat.stories.d.ts +3 -1
  76. package/dist/components/table/base-table.d.ts +5 -1
  77. package/dist/components/table/data-table.d.ts +6 -1
  78. package/dist/components/table/table-props.d.ts +10 -0
  79. package/dist/components/table/table-type.d.ts +42 -6
  80. package/dist/components/table/table.stories.d.ts +101 -2
  81. package/dist/components/text-area/base-text-area.d.ts +2 -2
  82. package/dist/components/text-area/text-area-props.d.ts +8 -0
  83. package/dist/components/text-area/text-area-type.d.ts +12 -1
  84. package/dist/components/text-area/text-area.stories.d.ts +11 -1
  85. package/dist/components/text-button/text-button-type.d.ts +5 -0
  86. package/dist/components/text-button/text-button.stories.d.ts +2 -0
  87. package/dist/components/text-field/base-text-field.d.ts +2 -2
  88. package/dist/components/text-field/text-field-props.d.ts +8 -0
  89. package/dist/components/text-field/text-field-type.d.ts +13 -1
  90. package/dist/components/text-field/text-field.stories.d.ts +10 -2
  91. package/dist/components/toast/toast-props.d.ts +10 -2
  92. package/dist/components/toast/toast-type.d.ts +3 -1
  93. package/dist/components/toast/toast.stories.d.ts +18 -3
  94. package/dist/components.css +1598 -142
  95. package/dist/data-table.js +301 -50
  96. package/dist/description-list.js +221 -6
  97. package/dist/docs/patterns/desktop/admin-apply.stories.d.ts +16 -0
  98. package/dist/docs/patterns/desktop/admin-bulk.stories.d.ts +7 -4
  99. package/dist/docs/patterns/desktop/admin-dashboard.stories.d.ts +4 -2
  100. package/dist/docs/patterns/desktop/admin-detail.stories.d.ts +5 -0
  101. package/dist/docs/patterns/desktop/admin-feature-intro.stories.d.ts +18 -0
  102. package/dist/docs/patterns/desktop/admin-form.stories.d.ts +4 -2
  103. package/dist/docs/patterns/desktop/admin-list.stories.d.ts +5 -0
  104. package/dist/docs/patterns/desktop/admin-picker.stories.d.ts +18 -0
  105. package/dist/docs/patterns/desktop/admin-queue.stories.d.ts +23 -0
  106. package/dist/docs/patterns/desktop/admin-report.stories.d.ts +3 -2
  107. package/dist/docs/patterns/desktop/admin-review.stories.d.ts +6 -2
  108. package/dist/docs/patterns/desktop/admin-settings.stories.d.ts +6 -2
  109. package/dist/docs/patterns/desktop/admin-split.stories.d.ts +18 -0
  110. package/dist/docs/patterns/desktop/admin-states.stories.d.ts +5 -3
  111. package/dist/docs/patterns/desktop/admin-upload.stories.d.ts +18 -0
  112. package/dist/docs/patterns/desktop/admin-wallet.stories.d.ts +18 -0
  113. package/dist/docs/patterns/desktop/admin-wizard.stories.d.ts +6 -3
  114. package/dist/docs/patterns/mobile/form.stories.d.ts +1 -0
  115. package/dist/drop-down.js +64 -155
  116. package/dist/empty-state.js +26 -14
  117. package/dist/form-field.js +511 -0
  118. package/dist/form-section.js +298 -0
  119. package/dist/full-secure-keypad.js +4 -4
  120. package/dist/helpers/motion/use-attention-handle.d.ts +1 -1
  121. package/dist/helpers/motion/use-effect-trigger.d.ts +1 -1
  122. package/dist/icon-button.js +2 -1
  123. package/dist/icon-text-badge.js +4 -4
  124. package/dist/index.d.ts +6 -1
  125. package/dist/index.js +2220 -648
  126. package/dist/loading.js +6 -6
  127. package/dist/modal-with-double-button.js +95 -44
  128. package/dist/modal.js +24 -6
  129. package/dist/notice.js +5 -4
  130. package/dist/option-badge.js +4 -4
  131. package/dist/overlay.js +134 -61
  132. package/dist/pagination.js +291 -57
  133. package/dist/radio.js +165 -37
  134. package/dist/search-field.js +188 -77
  135. package/dist/section-header.js +14 -7
  136. package/dist/segmented-control.js +9 -1
  137. package/dist/split-text-field.js +16 -14
  138. package/dist/stat-group.js +441 -0
  139. package/dist/stat.js +90 -75
  140. package/dist/styles.css +1357 -164
  141. package/dist/text-area.js +90 -53
  142. package/dist/text-button.js +14 -7
  143. package/dist/text-field.js +94 -62
  144. package/dist/toast.js +27 -15
  145. package/dist/tokens/generated/semantic-admin.d.ts +1 -0
  146. package/dist/tokens/generated/semantic-app.d.ts +2 -4
  147. package/dist/tokens.css +24 -9
  148. package/dist/tokens.js +3 -4
  149. package/package.json +13 -1
@@ -0,0 +1,27 @@
1
+ import type { StoryObj } from '@storybook/react-webpack5';
2
+ declare const meta: {
3
+ title: string;
4
+ component: import("react").ForwardRefExoticComponent<import("./stat-type").StatGroupProps & import("react").RefAttributes<HTMLDivElement>>;
5
+ parameters: {
6
+ layout: string;
7
+ docs: {
8
+ description: {
9
+ component: string;
10
+ };
11
+ };
12
+ };
13
+ args: {
14
+ label: string;
15
+ items: never[];
16
+ };
17
+ };
18
+ export default meta;
19
+ type Story = StoryObj<typeof meta>;
20
+ /** 한 줄 넷. 누르면 그 칸이 연한 주색이 되고 onValueChange 가 칸 id 로 불린다 */
21
+ export declare const Default: Story;
22
+ /** 주문 상태 요약. 칸 여덟을 두 줄로, 하나를 골랐고 아래 목록 제목이 고른 칸을 따른다 */
23
+ export declare const OrderStatusSummary: Story;
24
+ /** 걸러지지 않는 수치는 readOnly. 누를 수 없고 세로선으로만 나뉜다 */
25
+ export declare const ReadOnly: Story;
26
+ /** 좁은 화면에서는 칸이 줄지 않고 묶음 안에서 가로로 민다. 문서는 넘치지 않는다 */
27
+ export declare const Mobile: Story;
@@ -1,7 +1,9 @@
1
- /** 숫자 크기. m 은 2xl(수치 타일), l 은 3xl(화면의 주 수치 하나). 무드 규칙 3 이 허용한 둘뿐이다 */
2
- export declare const sizes: readonly ["m", "l"];
1
+ /** 숫자 크기. s 는 xl(상태 요약 칸), m 은 2xl(수치 타일), l 은 3xl(화면의 주 수치 하나) */
2
+ export declare const sizes: readonly ["s", "m", "l"];
3
3
  /** 증감의 뜻. positive 는 좋아짐(초록), negative 는 나빠짐(빨강), neutral 은 그대로(회색). 부호와 따로다 */
4
4
  export declare const tone: readonly ["positive", "negative", "neutral"];
5
+ /** 숫자 색. danger 는 처리해야 할 건수(발송기한 초과 등)에만 붙는다 */
6
+ export declare const valueTone: readonly ["default", "danger"];
5
7
  export declare const statProps: {
6
- size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["m", "l"]>;
8
+ size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["s", "m", "l"]>;
7
9
  };
@@ -1,7 +1,11 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
- import { sizes, tone } from './stat-props';
2
+ import { PressEffectProps } from '../../helpers/motion/motion-props';
3
+ import { StyleProps } from '../../helpers/types/common-props';
4
+ import { TrackProps } from '../logging/logging-type';
5
+ import { sizes, tone, valueTone } from './stat-props';
3
6
  export type StatSize = (typeof sizes)[number];
4
7
  export type StatTone = (typeof tone)[number];
8
+ export type StatValueTone = (typeof valueTone)[number];
5
9
  /** 숫자 아래 줄 앞의 색 글자 한 조각. 값과 뜻이 늘 같이 온다 */
6
10
  export interface StatDelta {
7
11
  /** 부호까지 쓴 글자 (예: '+18.2%', '-3') */
@@ -10,15 +14,49 @@ export interface StatDelta {
10
14
  tone: StatTone;
11
15
  }
12
16
  export type BaseStatProps = ComponentPropsWithRef<'dl'>;
17
+ export type StatGroupBaseProps = ComponentPropsWithRef<'div'>;
18
+ export type StatItemBaseProps = ComponentPropsWithRef<'div'>;
19
+ export type StatToggleBaseProps = ComponentPropsWithRef<'button'>;
13
20
  export interface StatProps extends Omit<ComponentPropsWithRef<'dl'>, 'children'> {
14
21
  /** 숫자 위 작은 회색 이름 (예: '새 신청') */
15
22
  label: ReactNode;
16
23
  /** 굵은 숫자. 단위까지 쓴 글자 (예: '1,180,000P'). 자리 구분은 쓰는 쪽이 한다 */
17
24
  value: ReactNode;
18
- /** 숫자 크기. 기본 m(2xl). 화면의 주 수치 하나는 l(3xl) */
25
+ /** 숫자 크기. 기본 m(2xl). 화면의 주 수치 하나는 l(3xl), 상태 요약 칸은 s(xl) */
19
26
  size?: StatSize;
20
27
  /** 아래 줄 앞의 증감 */
21
28
  delta?: StatDelta;
22
29
  /** 아래 줄의 회색 글. 증감의 기준('지난주 대비')이나 상태('집계 전') */
23
30
  caption?: ReactNode;
31
+ /** 라벨과 숫자 왼쪽의 아이콘 타일. `Asset.Frame shape="square" size="s"`(40px) 를 넣는다 */
32
+ icon?: ReactNode;
33
+ /** 라벨 옆 ⓘ 에 마우스를 올리거나 포커스하면 뜨는 설명 */
34
+ help?: ReactNode;
35
+ /** 숫자 색. 기본 default(검정). danger 는 처리해야 할 건수 */
36
+ valueTone?: StatValueTone;
37
+ }
38
+ export interface StatGroupItem {
39
+ id: string;
40
+ label: ReactNode;
41
+ /** 단위까지 쓴 글자 (예: '239건', '0건') */
42
+ value: ReactNode;
43
+ icon?: ReactNode;
44
+ help?: ReactNode;
45
+ /** 처리해야 할 건수가 0 이 아닐 때 danger */
46
+ valueTone?: StatValueTone;
47
+ /** 표시만 하는 칸. 누를 수 없고 고를 수 없다 */
48
+ readOnly?: boolean;
49
+ /** 이 칸부터 새 줄에 놓는다 */
50
+ newRow?: boolean;
51
+ }
52
+ export interface StatGroupProps extends StyleProps, TrackProps, PressEffectProps {
53
+ items: StatGroupItem[];
54
+ /** 'aria-label' 로 붙는다 (예: '주문 상태') */
55
+ label: string;
56
+ /** 고른 칸 id. null 이면 아무것도 고르지 않았다 */
57
+ value?: string | null;
58
+ /** 기본 null(아무것도 고르지 않음) */
59
+ defaultValue?: string | null;
60
+ /** 다른 칸을 누르면 그 id 로 불린다. 고른 칸을 다시 누르면 불리지 않는다 */
61
+ onValueChange?: (id: string) => void;
24
62
  }
@@ -2,4 +2,4 @@ import { StatProps } from './stat-type';
2
2
  /** 수치 한 묶음. 작은 회색 라벨 위, 굵은 숫자 아래, 그 아래 증감과 기준 글. 면은 Card 가 갖는다 */
3
3
  declare const Stat: import("react").ForwardRefExoticComponent<Omit<StatProps, "ref"> & import("react").RefAttributes<HTMLDListElement>>;
4
4
  export default Stat;
5
- export type { StatDelta, StatProps, StatSize, StatTone } from './stat-type';
5
+ export type { StatDelta, StatProps, StatSize, StatTone, StatValueTone } from './stat-type';
@@ -14,7 +14,7 @@ declare const meta: {
14
14
  control: {
15
15
  type: "select";
16
16
  };
17
- options: readonly ["m", "l"];
17
+ options: readonly ["s", "m", "l"];
18
18
  };
19
19
  };
20
20
  args: {
@@ -33,6 +33,8 @@ export declare const Default: Story;
33
33
  export declare const Sizes: Story;
34
34
  /** 색은 tone 이 정한다. 검수 대기가 늘어난 것은 + 여도 negative 다 */
35
35
  export declare const Tones: Story;
36
+ /** 왼쪽 아이콘 타일과 라벨 옆 ⓘ 도움말. 처리해야 할 건수는 valueTone danger 로 숫자가 빨갛다 */
37
+ export declare const IconHelpAndTone: Story;
36
38
  /** 증감이 아직 없으면 caption 만 둔다 */
37
39
  export declare const CaptionOnly: Story;
38
40
  /** 모바일 수치 타일은 한 줄에 둘이다. 긴 숫자는 칸 안에서 줄을 바꾼다 */
@@ -1,8 +1,12 @@
1
- import { TableBodyProps, TableCellProps, TableHeaderProps, TableRootProps, TableRowProps } from './table-type';
1
+ import { TableBodyProps, TableCellProps, TableCellTextProps, TableHeaderProps, TableRootProps, TableRowProps } from './table-type';
2
2
  declare const TableRoot: import("react").ForwardRefExoticComponent<Omit<TableRootProps, "ref"> & import("react").RefAttributes<HTMLTableElement>> & {
3
3
  Header: import("react").ForwardRefExoticComponent<Omit<TableHeaderProps, "ref"> & import("react").RefAttributes<HTMLTableSectionElement>>;
4
4
  Body: import("react").ForwardRefExoticComponent<Omit<TableBodyProps, "ref"> & import("react").RefAttributes<HTMLTableSectionElement>>;
5
5
  Row: import("react").ForwardRefExoticComponent<Omit<TableRowProps, "ref"> & import("react").RefAttributes<HTMLTableRowElement>>;
6
6
  Cell: import("react").ForwardRefExoticComponent<Omit<TableCellProps, "ref"> & import("react").RefAttributes<HTMLTableCellElement>>;
7
+ CellText: import("react").ForwardRefExoticComponent<Omit<TableCellTextProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
8
+ HoverActions: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
9
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
10
+ }, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
7
11
  };
8
12
  export default TableRoot;
@@ -1,6 +1,11 @@
1
1
  import { RefAttributes } from 'react';
2
2
  import { DataTableProps, RowItem } from './table-type';
3
3
  declare const DataTableBase: import("react").ForwardRefExoticComponent<DataTableProps<readonly RowItem[]> & RefAttributes<HTMLTableElement>>;
4
- declare const DataTable: <T extends readonly RowItem[]>(props: DataTableProps<T> & RefAttributes<HTMLTableElement>) => ReturnType<typeof DataTableBase>;
4
+ declare const DataTable: (<T extends readonly RowItem[]>(props: DataTableProps<T> & RefAttributes<HTMLTableElement>) => ReturnType<typeof DataTableBase>) & {
5
+ CellText: import("react").ForwardRefExoticComponent<Omit<import("./table-type").TableCellTextProps, "ref"> & RefAttributes<HTMLSpanElement>>;
6
+ HoverActions: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
7
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
8
+ }, "ref"> & RefAttributes<HTMLSpanElement>>;
9
+ };
5
10
  export default DataTable;
6
11
  export type { DataTableProps, RowItem } from './table-type';
@@ -1,4 +1,8 @@
1
1
  export declare const variants: readonly ["plain", "padded"];
2
+ /** 머리 행 바탕. tinted 는 회색 머리(토스 목록 표) */
3
+ export declare const headerVariants: readonly ["plain", "tinted"];
4
+ /** 열 정렬. 숫자·금액 열은 end */
5
+ export declare const aligns: readonly ["start", "center", "end"];
2
6
  export declare const dataTableProps: {
3
7
  variant: {
4
8
  type: "className";
@@ -6,6 +10,12 @@ export declare const dataTableProps: {
6
10
  values: readonly ["plain", "padded"];
7
11
  default: "plain";
8
12
  };
13
+ headerVariant: {
14
+ type: "className";
15
+ className: string;
16
+ values: readonly ["plain", "tinted"];
17
+ default: "plain";
18
+ };
9
19
  };
10
20
  export declare const dataTableHeaderProps: {
11
21
  headerHeight: {
@@ -1,7 +1,7 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { PressEffectProps } from '../../helpers/motion/motion-props';
3
3
  import { TrackProps } from '../logging/logging-type';
4
- import { variants } from './table-props';
4
+ import { aligns, headerVariants, variants } from './table-props';
5
5
  export interface TableProps {
6
6
  children: React.ReactNode;
7
7
  }
@@ -15,25 +15,61 @@ export interface TableBodyProps extends Omit<TableProps, 'children'>, ComponentP
15
15
  }
16
16
  export interface TableCellProps extends Omit<TableProps, 'children'>, ComponentPropsWithRef<'td'> {
17
17
  }
18
+ export interface TableCellTextProps extends Omit<ComponentPropsWithRef<'span'>, 'title'> {
19
+ /** 윗줄. 이름처럼 그 행을 가리키는 글 */
20
+ title: ReactNode;
21
+ /** 아랫줄. ID·옵션처럼 작은 회색 보조 글 */
22
+ description?: ReactNode;
23
+ }
24
+ export type TableHoverActionsProps = ComponentPropsWithRef<'span'>;
18
25
  export interface RowItem {
19
26
  id: string;
20
27
  value: ReactNode;
21
28
  onClickRow?: (id: RowItem['id']) => void;
22
29
  /** 열 너비. 헤더 칸과 본문 셀에 같이 붙는다. 숫자는 px. */
23
30
  width?: number | string;
31
+ /** 머리 칸과 본문 셀의 가로 정렬. 숫자·금액 열은 `end`. 기본 `start` */
32
+ align?: (typeof aligns)[number];
33
+ /** 머리 글 옆 ⓘ 에 마우스를 올리거나 포커스하면 뜨는 설명 */
34
+ info?: ReactNode;
35
+ }
36
+ /** 데이터 행 하나에 함께 주는 행 정보. 열 id 로 쓰지 않는다 */
37
+ export interface DataRowMeta {
38
+ /** 행 선택(`selectable`)이 고른 행을 가리키는 id. 없으면 행 순서(`'0'`, `'1'` …)다 */
39
+ rowId?: string;
40
+ /** 행 체크박스의 이름 `{rowLabel} 선택`. 없으면 `{n}번째 행 선택` */
41
+ rowLabel?: string;
42
+ /** 고를 수 없는 행. 체크박스가 꺼지고 머리 체크박스의 전체 선택에서 빠진다 */
43
+ rowDisabled?: boolean;
44
+ }
45
+ export interface DataCell<T extends RowItem = RowItem> {
46
+ value: ReactNode | ((item: T) => ReactNode);
47
+ onClickCell?: () => void;
24
48
  }
25
49
  type ColumnsType<T extends readonly RowItem[]> = Array<{
26
- [K in T[number]['id']]: {
27
- value: ReactNode | ((item: T[number]) => ReactNode);
28
- onClickCell?: () => void;
29
- };
30
- }>;
50
+ [K in T[number]['id']]: DataCell<T[number]>;
51
+ } & DataRowMeta>;
31
52
  export interface DataTableProps<T extends readonly RowItem[]> extends TrackProps, PressEffectProps {
32
53
  rows: T;
33
54
  columns: ColumnsType<T>;
34
55
  /** `padded` 면 셀 여백·글자 기본값과 마지막 고정 열 경계선을 그린다. 기본 `plain` 은 셀 내용이 모양을 정한다. */
35
56
  variant?: (typeof variants)[number];
57
+ /** `tinted` 면 머리 행이 회색 바탕이다. 기본 `plain`(흰 바탕) */
58
+ headerVariant?: (typeof headerVariants)[number];
36
59
  fixedRowsIndex?: number;
60
+ /** 오른쪽 끝에서 이만큼의 열을 고정한다. 행 안 버튼 열에 쓴다 */
61
+ fixedEndRowsCount?: number;
62
+ /** 넓은 화면에서도 표가 넘치면 감싸개 안에서 가로로 스크롤한다. 머리행 sticky 는 페이지 대신 감싸개에 붙는다 */
63
+ scrollX?: boolean;
64
+ /** 첫 열에 행 체크박스, 머리에 전체 선택 체크박스를 그린다 */
65
+ selectable?: boolean;
66
+ /** 고른 행의 `rowId` 목록(controlled) */
67
+ selectedRowIds?: string[];
68
+ /** 처음 고른 행의 `rowId` 목록(uncontrolled) */
69
+ defaultSelectedRowIds?: string[];
70
+ onSelectedRowIdsChange?: (rowIds: string[]) => void;
71
+ /** `columns` 가 비면 본문 자리에 가운데 회색 글로 보인다. 줄바꿈(`\n`)이 그대로 줄이 된다 */
72
+ empty?: ReactNode;
37
73
  headerHeight?: number;
38
74
  rowHeight?: number;
39
75
  cellHeight?: number;
@@ -9,7 +9,12 @@ declare const meta: {
9
9
  };
10
10
  };
11
11
  };
12
- component: <T extends readonly import("./table-type").RowItem[]>(props: DataTableProps<T> & import("react").RefAttributes<HTMLTableElement>) => ReturnType<import("react").ForwardRefExoticComponent<DataTableProps<readonly import("./table-type").RowItem[]> & import("react").RefAttributes<HTMLTableElement>>>;
12
+ component: (<T extends readonly import("./table-type").RowItem[]>(props: DataTableProps<T> & import("react").RefAttributes<HTMLTableElement>) => ReturnType<import("react").ForwardRefExoticComponent<DataTableProps<readonly import("./table-type").RowItem[]> & import("react").RefAttributes<HTMLTableElement>>>) & {
13
+ CellText: import("react").ForwardRefExoticComponent<Omit<import("./table-type").TableCellTextProps, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
14
+ HoverActions: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
15
+ ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
16
+ }, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
17
+ };
13
18
  };
14
19
  export default meta;
15
20
  declare const rowItems: readonly [{
@@ -102,7 +107,7 @@ export declare const Heights: StoryObj<DataTableProps<typeof smallRows>>;
102
107
  export declare const FixedColumns: StoryObj<DataTableProps<typeof rowItems>>;
103
108
  /** padded: 셀 여백·글자 기본값, 마지막 고정 열 경계선. 열 너비는 rows 의 width 로 준다. */
104
109
  export declare const Padded: StoryObj<DataTableProps<typeof paddedRows>>;
105
- /** 데이터가 없는 표다. 빈 상태 문구 없이 머리글만 남는다. */
110
+ /** 데이터가 없는 표다. empty 를 주지 않으면 문구 없이 머리글만 남는다. */
106
111
  export declare const Empty: StoryObj<DataTableProps<typeof smallRows>>;
107
112
  declare const pressRows: readonly [{
108
113
  readonly id: "id";
@@ -137,3 +142,97 @@ declare const mobileRows: readonly [{
137
142
  readonly value: import("react/jsx-runtime").JSX.Element;
138
143
  }];
139
144
  export declare const Mobile: StoryObj<DataTableProps<typeof mobileRows>>;
145
+ declare const orderRows: readonly [{
146
+ readonly id: "order";
147
+ readonly value: "주문번호";
148
+ readonly width: 160;
149
+ }, {
150
+ readonly id: "product";
151
+ readonly value: "상품명/옵션";
152
+ readonly width: 280;
153
+ readonly info: "옵션이 여럿이면 첫 옵션만 보입니다.";
154
+ }, {
155
+ readonly id: "status";
156
+ readonly value: "주문 상태";
157
+ readonly width: 104;
158
+ }, {
159
+ readonly id: "quantity";
160
+ readonly value: "수량";
161
+ readonly width: 64;
162
+ readonly align: "end";
163
+ }, {
164
+ readonly id: "amount";
165
+ readonly value: "결제 금액";
166
+ readonly width: 120;
167
+ readonly align: "end";
168
+ readonly info: "쿠폰·포인트를 뺀 금액입니다.";
169
+ }, {
170
+ readonly id: "buyer";
171
+ readonly value: "구매자";
172
+ readonly width: 96;
173
+ }, {
174
+ readonly id: "phone";
175
+ readonly value: "연락처";
176
+ readonly width: 140;
177
+ }, {
178
+ readonly id: "address";
179
+ readonly value: "배송지";
180
+ readonly width: 240;
181
+ }, {
182
+ readonly id: "action";
183
+ readonly value: "처리";
184
+ readonly width: 104;
185
+ }];
186
+ /**
187
+ * 토스 목록 표(주문 목록). 체크박스 선택(취소 행은 고를 수 없다), 두 줄 셀, 상태 배지, 오른쪽 정렬 금액,
188
+ * 머리 ⓘ, 회색 머리, 왼쪽 주문번호와 오른쪽 처리 열 고정, 가로 스크롤, 아래 결과 수·페이지 크기가 붙은 Pagination.
189
+ * 가로로 밀면 가려진 쪽 고정 열 경계에만 그림자가 생긴다.
190
+ */
191
+ export declare const OrderListStory: StoryObj;
192
+ export declare const OrderListMobile: StoryObj;
193
+ declare const campaignRows: readonly [{
194
+ readonly id: "status";
195
+ readonly value: "상태";
196
+ readonly width: 96;
197
+ }, {
198
+ readonly id: "name";
199
+ readonly value: "캠페인";
200
+ readonly width: 360;
201
+ }, {
202
+ readonly id: "exposure";
203
+ readonly value: "노출";
204
+ readonly width: 72;
205
+ readonly align: "end";
206
+ }];
207
+ /** 줄 행동(일별성과·수정·삭제)은 마우스를 올린 행과 Tab 으로 포커스가 들어간 행에만 보인다. 768px 미만에서는 늘 보인다. */
208
+ export declare const HoverActions: StoryObj<DataTableProps<typeof campaignRows>>;
209
+ declare const controlRows: readonly [{
210
+ readonly id: "name";
211
+ readonly value: "상품";
212
+ readonly width: 200;
213
+ }, {
214
+ readonly id: "courier";
215
+ readonly value: "택배사";
216
+ readonly width: 160;
217
+ }, {
218
+ readonly id: "invoice";
219
+ readonly value: "송장번호";
220
+ readonly width: 180;
221
+ }, {
222
+ readonly id: "price";
223
+ readonly value: "판매가";
224
+ readonly width: 140;
225
+ readonly align: "end";
226
+ }, {
227
+ readonly id: "sale";
228
+ readonly value: "판매";
229
+ readonly width: 72;
230
+ }, {
231
+ readonly id: "action";
232
+ readonly value: "처리";
233
+ readonly width: 104;
234
+ }];
235
+ /** 행 안 컨트롤(DropDown·TextField·Switch·작은 버튼)을 넣어도 행 높이와 세로 가운데가 맞는다. 컨트롤은 xs(28px)로 맞춘다. */
236
+ export declare const RowControls: StoryObj<DataTableProps<typeof controlRows>>;
237
+ /** 결과가 0건이면 empty 문구를 본문 자리 가운데 회색 두 줄로 보인다. 버튼은 두지 않는다. */
238
+ export declare const EmptyMessage: StoryObj<DataTableProps<typeof orderRows>>;
@@ -3,9 +3,9 @@ declare const TextAreaRoot: {
3
3
  (props: TextAreaRootProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  } & {
6
- Label: import("react").ForwardRefExoticComponent<TextAreaLabelProps & import("react").RefAttributes<HTMLElement>>;
6
+ Label: import("react").ForwardRefExoticComponent<TextAreaLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
7
7
  Textarea: import("react").ForwardRefExoticComponent<Omit<TextAreaTextareaProps, "ref"> & import("react").RefAttributes<HTMLTextAreaElement>>;
8
8
  Action: import("react").ForwardRefExoticComponent<Omit<TextAreaActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
9
- HelperText: import("react").ForwardRefExoticComponent<TextAreaHelperTextProps & import("react").RefAttributes<HTMLElement>>;
9
+ HelperText: import("react").ForwardRefExoticComponent<TextAreaHelperTextProps & import("react").RefAttributes<HTMLDivElement>>;
10
10
  };
11
11
  export default TextAreaRoot;
@@ -1,5 +1,7 @@
1
1
  export declare const sizes: readonly ["s", "m"];
2
2
  export declare const resize: readonly ["none", "vertical"];
3
+ /** TextField 와 같다. outline 은 흰 바탕에 회색 선(기본), fill 은 선 없는 연회색 면 */
4
+ export { variant } from '../text-field/text-field-props';
3
5
  export declare const textAreaProps: {
4
6
  size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["s", "m"]>;
5
7
  width: import("../../helpers/types/propsDef").CSSPropsTypeWithoutValues<string | number>;
@@ -9,4 +11,10 @@ export declare const textAreaProps: {
9
11
  values: readonly ["none", "vertical"];
10
12
  default: "vertical";
11
13
  };
14
+ variant: {
15
+ type: "className";
16
+ className: string;
17
+ values: readonly ["outline", "fill"];
18
+ default: "outline";
19
+ };
12
20
  };
@@ -1,6 +1,6 @@
1
1
  import { ChangeEvent, ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { TrackProps } from '../logging/logging-type';
3
- import { resize, sizes } from './text-area-props';
3
+ import { resize, sizes, variant } from './text-area-props';
4
4
  export interface TextAreaRootProps {
5
5
  children: ReactNode;
6
6
  /** 없으면 uncontrolled — DOM 이 값을 쥔다 (react-hook-form register 가 ref 로 넣은 값이 남는다) */
@@ -8,9 +8,12 @@ export interface TextAreaRootProps {
8
8
  defaultValue?: string;
9
9
  onChange: (e: ChangeEvent<HTMLTextAreaElement>) => void;
10
10
  }
11
+ /** 상자 위 라벨. `<label>` 이라 htmlFor 가 가리키는 textarea 의 이름이 된다 */
11
12
  export interface TextAreaLabelProps {
12
13
  text: ReactNode;
13
14
  className?: string;
15
+ /** 이름을 줄 textarea 의 id */
16
+ htmlFor?: string;
14
17
  }
15
18
  export interface TextAreaTextareaProps extends Omit<ComponentPropsWithRef<'textarea'>, 'title'> {
16
19
  name: string;
@@ -25,15 +28,23 @@ export interface TextAreaActionProps extends Omit<ComponentPropsWithRef<'button'
25
28
  export interface TextAreaHelperTextProps {
26
29
  text: ReactNode;
27
30
  className?: string;
31
+ /** textarea 의 aria-describedby 가 가리킬 id */
32
+ id?: string;
28
33
  }
29
34
  export interface TextAreaProps extends Omit<ComponentPropsWithRef<'textarea'>, 'title'>, TrackProps {
30
35
  size?: (typeof sizes)[number];
31
36
  width?: number | string;
32
37
  resize?: (typeof resize)[number];
38
+ /** 기본 'outline'(흰 바탕 + 회색 선). 'fill' 은 선 없는 연회색 면이다 */
39
+ variant?: (typeof variant)[number];
33
40
  name: string;
41
+ /** 상자 위 라벨. textarea 의 이름이 된다. required 면 오른쪽 위에 빨간 점이 붙는다 */
34
42
  title?: ReactNode;
43
+ /** 상자 아래 글. textarea 의 aria-describedby 가 가리킨다 */
35
44
  helperText?: ReactNode;
36
45
  isError?: boolean;
46
+ /** maxLength 와 함께 주면 상자 안 오른쪽 아래에 `글자 수/maxLength` 를 보인다 */
47
+ showCount?: boolean;
37
48
  /** 값이 있고 포커스가 안에 있으면 지우기 버튼(X)을 띄운다 */
38
49
  clearable?: boolean;
39
50
  /** 지우기 버튼으로 지운 뒤 불린다. onChange 는 그 앞에 '' 로 불린다 */
@@ -22,6 +22,12 @@ declare const meta: {
22
22
  };
23
23
  options: readonly ["none", "vertical"];
24
24
  };
25
+ variant: {
26
+ control: {
27
+ type: "select";
28
+ };
29
+ options: readonly ["outline", "fill"];
30
+ };
25
31
  };
26
32
  args: {
27
33
  name: string;
@@ -33,6 +39,10 @@ export default meta;
33
39
  type Story = StoryObj<typeof meta>;
34
40
  /** 제목·자리 글·도움말을 단 기본 여러 줄 입력이다. */
35
41
  export declare const Default: Story;
42
+ /** outline(기본)은 흰 바탕에 회색 선, fill 은 선 없는 연회색 면이다. 모양은 TextField 와 같다. */
43
+ export declare const Variants: Story;
44
+ /** required 면 라벨 오른쪽 위에 빨간 점이 붙고 textarea 에 required 가 간다. */
45
+ export declare const Required: Story;
36
46
  /** 크기별 여러 줄 입력이다. */
37
47
  export declare const Sizes: Story;
38
48
  /** resize 값별 여러 줄 입력이다. 오른쪽 아래 모서리를 끌어 늘어나는 방향을 본다. */
@@ -43,5 +53,5 @@ export declare const ErrorState: Story;
43
53
  export declare const Disabled: Story;
44
54
  /** clearable 이면 값이 있고 포커스가 안에 있을 때 첫 줄 오른쪽에 지우기 버튼이 뜬다. */
45
55
  export declare const Clearable: Story;
46
- /** 20자까지만 들어가는 여러 줄 입력이다. 20자를 넘겨 입력해 본다. */
56
+ /** 20자까지만 들어가는 여러 줄 입력이다. showCount 면 상자 안 오른쪽 아래에 글자 수가 보인다. 20자를 넘겨 입력해 본다. */
47
57
  export declare const MaxLength: Story;
@@ -1,6 +1,7 @@
1
1
  import { ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { PressEffectProps } from '../../helpers/motion/motion-props';
3
3
  import { AsChildProps } from '../../helpers/types/common-props';
4
+ import { IconName } from '../icon/icon-type';
4
5
  import { TrackProps } from '../logging/logging-type';
5
6
  import { color, sizes, variant } from './text-button-props';
6
7
  export interface BaseTextButtonProps extends ComponentPropsWithRef<'button'>, AsChildProps {
@@ -12,6 +13,10 @@ export interface TextButtonProps extends Omit<ComponentPropsWithRef<'button'>, '
12
13
  /** 무슨 색. 역할 이름이고 토큰 이름이 아니다. 기본 `primary` */
13
14
  color?: (typeof color)[number];
14
15
  size?: (typeof sizes)[number];
16
+ /** 글자 앞 아이콘 이름(`plus` 등). 크기는 size 가 정한다 */
17
+ leftIcon?: IconName;
18
+ /** 글자 뒤 아이콘 이름(`gear-six` 등). 크기는 size 가 정한다. 주면 `arrow` 의 화살표 자리를 대신한다 */
19
+ rightIcon?: IconName;
15
20
  /** asChild 일 때 링크 요소 하나(`<a>`·라우터 Link). 글자는 그 안에 들어간다 */
16
21
  children?: ReactNode;
17
22
  }
@@ -45,3 +45,5 @@ export declare const Disabled: Story;
45
45
  export declare const AsLink: Story;
46
46
  /** 누르고 있으면 흐려진다. 아래는 pressEffect={false} */
47
47
  export declare const MotionPress: Story;
48
+ /** 아이콘이 붙은 글자 버튼. 앞(`leftIcon`)·뒤(`rightIcon`) 아이콘 크기는 size 가 정한다 */
49
+ export declare const WithIcon: Story;
@@ -3,7 +3,7 @@ declare const TextFieldRoot: {
3
3
  (props: TextFieldRootProps): import("react/jsx-runtime").JSX.Element;
4
4
  displayName: string;
5
5
  } & {
6
- Label: import("react").ForwardRefExoticComponent<TextFieldLabelProps & import("react").RefAttributes<HTMLElement>>;
6
+ Label: import("react").ForwardRefExoticComponent<TextFieldLabelProps & import("react").RefAttributes<HTMLLabelElement>>;
7
7
  Input: import("react").ForwardRefExoticComponent<Omit<TextFieldInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
8
8
  Prefix: import("react").ForwardRefExoticComponent<Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
9
9
  ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
@@ -12,6 +12,6 @@ declare const TextFieldRoot: {
12
12
  ref?: ((instance: HTMLSpanElement | null) => void | import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import("react").DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import("react").RefObject<HTMLSpanElement> | null | undefined;
13
13
  }, "ref"> & import("react").RefAttributes<HTMLSpanElement>>;
14
14
  Action: import("react").ForwardRefExoticComponent<Omit<TextFieldActionProps, "ref"> & import("react").RefAttributes<HTMLButtonElement>>;
15
- HelperText: import("react").ForwardRefExoticComponent<TextFieldHelperTextProps & import("react").RefAttributes<HTMLElement>>;
15
+ HelperText: import("react").ForwardRefExoticComponent<TextFieldHelperTextProps & import("react").RefAttributes<HTMLDivElement>>;
16
16
  };
17
17
  export default TextFieldRoot;
@@ -1,5 +1,13 @@
1
1
  export declare const sizes: readonly ["xs", "s", "m", "l", "xl"];
2
+ /** outline 은 흰 바탕에 회색 선(기본), fill 은 선 없는 연회색 면(검색 상자·회색 바탕 위) */
3
+ export declare const variant: readonly ["outline", "fill"];
2
4
  export declare const textFieldProps: {
3
5
  size: import("../../helpers/types/propsDef").ClassNamePropsType<readonly ["xs", "s", "m", "l", "xl"]>;
4
6
  width: import("../../helpers/types/propsDef").CSSPropsTypeWithoutValues<string | number>;
7
+ variant: {
8
+ type: "className";
9
+ className: string;
10
+ values: readonly ["outline", "fill"];
11
+ default: "outline";
12
+ };
5
13
  };
@@ -1,6 +1,6 @@
1
1
  import { ChangeEvent, ComponentPropsWithRef, ReactNode } from 'react';
2
2
  import { TrackProps } from '../logging/logging-type';
3
- import { sizes } from './text-field-props';
3
+ import { sizes, variant } from './text-field-props';
4
4
  /** 값(raw)과 화면 글을 오가는 한 쌍. 값은 늘 raw 이고 input 에는 transform(raw) 가 보인다 */
5
5
  export interface TextFieldFormat {
6
6
  transform: (raw: string) => string;
@@ -16,9 +16,13 @@ export interface TextFieldRootProps {
16
16
  /** event.target.value 는 이미 raw 로 되돌려져 있다 */
17
17
  onChange: (e: ChangeEvent<HTMLInputElement>) => void;
18
18
  }
19
+ /** 상자 위 라벨. `<label>` 이라 htmlFor 가 가리키는 input 의 이름이 된다 */
19
20
  export interface TextFieldLabelProps {
20
21
  text: ReactNode;
21
22
  className?: string;
23
+ /** 이름을 줄 input 의 id */
24
+ htmlFor?: string;
25
+ id?: string;
22
26
  }
23
27
  export interface TextFieldInputProps extends Omit<ComponentPropsWithRef<'input'>, 'title' | 'size'> {
24
28
  placeholder?: string;
@@ -40,10 +44,14 @@ export interface TextFieldActionItem extends TextFieldActionProps {
40
44
  export interface TextFieldHelperTextProps {
41
45
  text: ReactNode;
42
46
  className?: string;
47
+ /** input 의 aria-describedby 가 가리킬 id */
48
+ id?: string;
43
49
  }
44
50
  export interface TextFieldProps extends Omit<ComponentPropsWithRef<'input'>, 'title' | 'size' | 'prefix'>, TrackProps {
45
51
  size: (typeof sizes)[number];
46
52
  width: number | string;
53
+ /** 기본 'outline'(흰 바탕 + 회색 선). 'fill' 은 선 없는 연회색 면이다 */
54
+ variant?: (typeof variant)[number];
47
55
  leftIcon?: ReactNode;
48
56
  rightIcon?: ReactNode;
49
57
  /** input 앞에 붙는 고정 글(단위·국가 번호 등). leftIcon 뒤에 온다 */
@@ -60,9 +68,13 @@ export interface TextFieldProps extends Omit<ComponentPropsWithRef<'input'>, 'ti
60
68
  passwordToggle?: boolean;
61
69
  onVisibilityChange?: (visible: boolean) => void;
62
70
  name: string;
71
+ /** 상자 위 라벨. input 의 이름이 된다. required 면 오른쪽 위에 빨간 점이 붙는다 */
63
72
  title?: ReactNode;
73
+ /** 상자 아래 글. input 의 aria-describedby 가 가리킨다 */
64
74
  helperText?: ReactNode;
65
75
  isError?: boolean;
76
+ /** maxLength 와 함께 주면 상자 안 오른쪽에 `글자 수/maxLength` 를 보인다 */
77
+ showCount?: boolean;
66
78
  value?: string;
67
79
  defaultValue?: string;
68
80
  className?: string;