@cp949/mui-react19 2.0.3 → 2.1.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 (54) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +10 -0
  3. package/dist/closables-CeOGJV-d.d.cts +136 -0
  4. package/dist/closables-CeOGJV-d.d.ts +136 -0
  5. package/dist/file-drop/index.cjs +1 -1
  6. package/dist/file-drop/index.cjs.map +1 -1
  7. package/dist/file-drop/index.d.cts +224 -217
  8. package/dist/file-drop/index.d.ts +224 -217
  9. package/dist/file-drop/index.js +1 -1
  10. package/dist/file-drop/index.js.map +1 -1
  11. package/dist/helper/index.cjs +1 -1
  12. package/dist/helper/index.cjs.map +1 -1
  13. package/dist/helper/index.d.cts +22 -38
  14. package/dist/helper/index.d.ts +22 -38
  15. package/dist/helper/index.js +1 -1
  16. package/dist/helper/index.js.map +1 -1
  17. package/dist/hooks/index.cjs +1 -1
  18. package/dist/hooks/index.cjs.map +1 -1
  19. package/dist/hooks/index.d.cts +417 -307
  20. package/dist/hooks/index.d.ts +417 -307
  21. package/dist/hooks/index.js +1 -1
  22. package/dist/hooks/index.js.map +1 -1
  23. package/dist/index.cjs +1 -1
  24. package/dist/index.cjs.map +1 -1
  25. package/dist/index.d.cts +1032 -684
  26. package/dist/index.d.ts +1032 -684
  27. package/dist/index.js +1 -1
  28. package/dist/index.js.map +1 -1
  29. package/dist/misc-utils-B2de-HS4.cjs +2 -0
  30. package/dist/misc-utils-B2de-HS4.cjs.map +1 -0
  31. package/dist/misc-utils-BXQ8UU0R.js +2 -0
  32. package/dist/misc-utils-BXQ8UU0R.js.map +1 -0
  33. package/dist/parallel-map-DyuHvxYY.js +2 -0
  34. package/dist/parallel-map-DyuHvxYY.js.map +1 -0
  35. package/dist/parallel-map-_ZhC5iBn.cjs +2 -0
  36. package/dist/parallel-map-_ZhC5iBn.cjs.map +1 -0
  37. package/dist/rolldown-runtime-Chgba0Kb.cjs +1 -0
  38. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  39. package/llm.txt +350 -0
  40. package/package.json +19 -17
  41. package/dist/chunk-2OEB5VHZ.js +0 -2
  42. package/dist/chunk-2OEB5VHZ.js.map +0 -1
  43. package/dist/chunk-4C666HHU.js +0 -2
  44. package/dist/chunk-4C666HHU.js.map +0 -1
  45. package/dist/chunk-M4G6J7DP.cjs +0 -2
  46. package/dist/chunk-M4G6J7DP.cjs.map +0 -1
  47. package/dist/chunk-QNR3IXPA.cjs +0 -2
  48. package/dist/chunk-QNR3IXPA.cjs.map +0 -1
  49. package/dist/closables-BK0Db72u.d.cts +0 -135
  50. package/dist/closables-BK0Db72u.d.ts +0 -135
  51. package/dist/parallel-map-M764G6IE.js +0 -2
  52. package/dist/parallel-map-M764G6IE.js.map +0 -1
  53. package/dist/parallel-map-V2OVUIFQ.cjs +0 -2
  54. package/dist/parallel-map-V2OVUIFQ.cjs.map +0 -1
package/dist/index.d.cts CHANGED
@@ -1,134 +1,151 @@
1
- import { BoxProps, ButtonProps, ButtonBaseProps, IconButtonProps, TableBodyProps, GridProps, SxProps, Theme, TypographyProps, PaperProps as PaperProps$1, StackProps } from '@mui/material';
2
- import * as react from 'react';
3
- import { FunctionComponent, CSSProperties, ReactNode, FC, ReactElement, Ref } from 'react';
4
- export { C as Closables } from './closables-BK0Db72u.cjs';
5
- import 'rxjs';
6
-
1
+ import { t as Closables } from "./closables-CeOGJV-d.cjs";
2
+ import { SxProps, Theme } from "@mui/material/styles";
3
+ import { CSSProperties, FC, FunctionComponent, MouseEventHandler, ReactElement, ReactNode, Ref } from "react";
4
+ import { BoxProps } from "@mui/material/Box";
5
+ import { StackProps } from "@mui/material/Stack";
6
+ import { ButtonProps } from "@mui/material/Button";
7
+ import { ButtonBaseProps } from "@mui/material/ButtonBase";
8
+ import { IconButtonProps } from "@mui/material/IconButton";
9
+ import { TableBodyProps } from "@mui/material/TableBody";
10
+ import { GridProps } from "@mui/material/Grid";
11
+ import { TypographyProps } from "@mui/material/Typography";
12
+ import { PaginationProps } from "@mui/material/Pagination";
13
+ import { PaperProps as PaperProps$1 } from "@mui/material/Paper";
14
+ import { TextFieldProps } from "@mui/material/TextField";
15
+ //#region src/components/bottom-absolute/BottomAbsoluteCenter.d.ts
7
16
  interface BottomAbsoluteCenterProps extends BoxProps {
8
- fullWidth?: boolean;
9
- bottom?: CSSProperties['bottom'];
17
+ fullWidth?: boolean;
18
+ bottom?: CSSProperties['bottom'];
10
19
  }
11
20
  declare const BottomAbsoluteCenter: FunctionComponent<BottomAbsoluteCenterProps>;
12
-
21
+ //#endregion
22
+ //#region src/components/bottom-absolute/BottomAbsoluteLeft.d.ts
13
23
  interface BottomAbsoluteLeftProps extends BoxProps {
14
- fullWidth?: boolean;
15
- bottom?: CSSProperties['bottom'];
16
- left?: CSSProperties['left'];
24
+ fullWidth?: boolean;
25
+ bottom?: CSSProperties['bottom'];
26
+ left?: CSSProperties['left'];
17
27
  }
18
28
  declare const BottomAbsoluteLeft: FunctionComponent<BottomAbsoluteLeftProps>;
19
-
29
+ //#endregion
30
+ //#region src/components/bottom-absolute/BottomAbsoluteRight.d.ts
20
31
  interface BottomAbsoluteRightProps extends BoxProps {
21
- fullWidth?: boolean;
22
- bottom?: CSSProperties['bottom'];
23
- right?: CSSProperties['right'];
32
+ fullWidth?: boolean;
33
+ bottom?: CSSProperties['bottom'];
34
+ right?: CSSProperties['right'];
24
35
  }
25
36
  declare const BottomAbsoluteRight: FunctionComponent<BottomAbsoluteRightProps>;
26
-
27
- interface BottomAbsoluteProps extends BoxProps {
28
- left?: CSSProperties['left'];
29
- right?: CSSProperties['right'];
30
- bottom?: CSSProperties['bottom'];
37
+ //#endregion
38
+ //#region src/components/bottom-absolute/BottomAbsolute.d.ts
39
+ export interface BottomAbsoluteProps extends BoxProps {
40
+ left?: CSSProperties['left'];
41
+ right?: CSSProperties['right'];
42
+ bottom?: CSSProperties['bottom'];
31
43
  }
32
44
  interface BottomAbsoluteComponent extends React.FunctionComponent<BottomAbsoluteProps> {
33
- Left: typeof BottomAbsoluteLeft;
34
- Right: typeof BottomAbsoluteRight;
35
- Center: typeof BottomAbsoluteCenter;
36
- }
37
- declare const BottomAbsolute: BottomAbsoluteComponent;
38
-
39
- interface CenterProps extends BoxProps {
40
- vertical?: boolean;
41
- }
42
- declare const Center: {
43
- ({ vertical, sx, ref, ...props }: CenterProps): react.JSX.Element;
44
- displayName: string;
45
+ Left: typeof BottomAbsoluteLeft;
46
+ Right: typeof BottomAbsoluteRight;
47
+ Center: typeof BottomAbsoluteCenter;
48
+ }
49
+ export declare const BottomAbsolute: BottomAbsoluteComponent;
50
+ //#endregion
51
+ //#region src/components/Center.d.ts
52
+ export interface CenterProps extends Omit<StackProps, 'direction'> {
53
+ vertical?: boolean;
54
+ }
55
+ export declare const Center: {
56
+ ({ vertical, sx, ref, ...props }: CenterProps): import("react").JSX.Element;
57
+ displayName: string;
45
58
  };
46
-
47
- interface CooldownButtonProps extends ButtonProps {
48
- /**
49
- * Cooldown duration in milliseconds
50
- */
51
- cooldown?: number;
52
- }
53
- declare const CooldownButton: {
54
- ({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonProps): react.JSX.Element;
55
- displayName: string;
59
+ //#endregion
60
+ //#region src/components/CooldownButton.d.ts
61
+ export interface CooldownButtonProps extends ButtonProps {
62
+ /**
63
+ * Cooldown duration in milliseconds
64
+ */
65
+ cooldown?: number;
66
+ }
67
+ export declare const CooldownButton: {
68
+ ({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonProps): import("react").JSX.Element;
69
+ displayName: string;
56
70
  };
57
-
58
- interface CooldownButtonBaseProps extends ButtonBaseProps {
59
- /**
60
- * Cooldown duration in milliseconds
61
- */
62
- cooldown?: number;
63
- }
64
- declare const CooldownButtonBase: {
65
- ({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonBaseProps): react.JSX.Element;
66
- displayName: string;
71
+ //#endregion
72
+ //#region src/components/CooldownButtonBase.d.ts
73
+ export interface CooldownButtonBaseProps extends ButtonBaseProps {
74
+ /**
75
+ * Cooldown duration in milliseconds
76
+ */
77
+ cooldown?: number;
78
+ }
79
+ export declare const CooldownButtonBase: {
80
+ ({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonBaseProps): import("react").JSX.Element;
81
+ displayName: string;
67
82
  };
68
-
69
- interface CooldownIconButtonProps extends IconButtonProps {
70
- /**
71
- * Cooldown duration in milliseconds
72
- */
73
- cooldown?: number;
74
- }
75
- declare const CooldownIconButton: {
76
- ({ cooldown, onClick, disabled, ref, ...props }: CooldownIconButtonProps): react.JSX.Element;
77
- displayName: string;
83
+ //#endregion
84
+ //#region src/components/CooldownIconButton.d.ts
85
+ export interface CooldownIconButtonProps extends IconButtonProps {
86
+ /**
87
+ * Cooldown duration in milliseconds
88
+ */
89
+ cooldown?: number;
90
+ }
91
+ export declare const CooldownIconButton: {
92
+ ({ cooldown, onClick, disabled, ref, ...props }: CooldownIconButtonProps): import("react").JSX.Element;
93
+ displayName: string;
78
94
  };
79
-
80
- interface CopyButtonWrapperProps {
81
- /**
82
- * 자식 컴포넌트 렌더링을 위한 콜백 함수입니다.
83
- * 현재 복사 상태(`copied`)와 복사 함수(`copy`)를 인자로 제공합니다.
84
- *
85
- * @param payload - 현재 상태 및 복사 함수
86
- * @param payload.copied - 복사 성공 여부를 나타내는 상태
87
- * @param payload.copy - 값을 클립보드에 복사하는 함수
88
- *
89
- * @example
90
- * ```tsx
91
- * <CopyButtonWrapper value="복사할 텍스트">
92
- * {({ copy, copied }) => (
93
- * <button onClick={copy}>
94
- * {copied ? "복사 완료!" : "복사하기"}
95
- * </button>
96
- * )}
97
- * </CopyButtonWrapper>
98
- * ```
99
- */
100
- children: (payload: {
101
- copied: boolean;
102
- copy: () => void;
103
- }) => ReactNode;
104
- /**
105
- * 버튼 클릭 시 클립보드에 복사될 값입니다.
106
- * 문자열 또는 문자열을 반환하는 함수 형태를 지원합니다.
107
- *
108
- * @example
109
- * ```tsx
110
- * <CopyButtonWrapper value="복사할 텍스트">
111
- * ...
112
- * </CopyButtonWrapper>
113
- *
114
- * <CopyButtonWrapper value={() => dynamicValue()}>
115
- * ...
116
- * </CopyButtonWrapper>
117
- * ```
118
- */
119
- value: string | null | undefined | (() => string | null | undefined);
120
- /**
121
- * 복사 성공 상태가 유지되는 시간(밀리초)입니다. 기본값은 `1000`ms입니다.
122
- *
123
- * @default 1000
124
- */
125
- timeout?: number;
126
- /**
127
- * 클립보드 복사가 성공했을 때 호출되는 콜백 함수입니다.
128
- *
129
- * @param value - 클립보드에 복사된 문자열
130
- */
131
- onCopySuccess?: (value: string) => void;
95
+ //#endregion
96
+ //#region src/components/CopyButtonWrapper.d.ts
97
+ export interface CopyButtonWrapperProps {
98
+ /**
99
+ * 자식 컴포넌트 렌더링을 위한 콜백 함수입니다.
100
+ * 현재 복사 상태(`copied`)와 복사 함수(`copy`)를 인자로 제공합니다.
101
+ *
102
+ * @param payload - 현재 상태 및 복사 함수
103
+ * @param payload.copied - 복사 성공 여부를 나타내는 상태
104
+ * @param payload.copy - 값을 클립보드에 복사하는 함수
105
+ *
106
+ * @example
107
+ * ```tsx
108
+ * <CopyButtonWrapper value="복사할 텍스트">
109
+ * {({ copy, copied }) => (
110
+ * <button onClick={copy}>
111
+ * {copied ? "복사 완료!" : "복사하기"}
112
+ * </button>
113
+ * )}
114
+ * </CopyButtonWrapper>
115
+ * ```
116
+ */
117
+ children: (payload: {
118
+ copied: boolean;
119
+ copy: () => void;
120
+ }) => ReactNode;
121
+ /**
122
+ * 버튼 클릭 시 클립보드에 복사될 값입니다.
123
+ * 문자열 또는 문자열을 반환하는 함수 형태를 지원합니다.
124
+ *
125
+ * @example
126
+ * ```tsx
127
+ * <CopyButtonWrapper value="복사할 텍스트">
128
+ * ...
129
+ * </CopyButtonWrapper>
130
+ *
131
+ * <CopyButtonWrapper value={() => dynamicValue()}>
132
+ * ...
133
+ * </CopyButtonWrapper>
134
+ * ```
135
+ */
136
+ value: string | null | undefined | (() => string | null | undefined);
137
+ /**
138
+ * 복사 성공 상태가 유지되는 시간(밀리초)입니다. 기본값은 `1000`ms입니다.
139
+ *
140
+ * @default 1000
141
+ */
142
+ timeout?: number;
143
+ /**
144
+ * 클립보드 복사가 성공했을 때 호출되는 콜백 함수입니다.
145
+ *
146
+ * @param value - 클립보드에 복사된 문자열
147
+ */
148
+ onCopySuccess?: (value: string) => void;
132
149
  }
133
150
  /**
134
151
  * 클립보드 복사 버튼을 쉽게 구현하기 위한 래퍼 컴포넌트입니다.
@@ -147,66 +164,75 @@ interface CopyButtonWrapperProps {
147
164
  * </CopyButtonWrapper>
148
165
  * ```
149
166
  */
150
- declare function CopyButtonWrapper(props: CopyButtonWrapperProps): react.JSX.Element;
151
-
152
- interface CustomTableBodyProps extends TableBodyProps {
153
- loading?: boolean;
154
- stripe?: boolean;
155
- }
156
- declare function CustomTableBody(props: CustomTableBodyProps): react.JSX.Element;
157
-
167
+ export declare function CopyButtonWrapper(props: CopyButtonWrapperProps): import("react").JSX.Element;
168
+ //#endregion
169
+ //#region src/components/CustomTableBody.d.ts
170
+ export interface CustomTableBodyProps extends TableBodyProps {
171
+ loading?: boolean;
172
+ stripe?: boolean;
173
+ }
174
+ export declare function CustomTableBody(props: CustomTableBodyProps): import("react").JSX.Element;
175
+ //#endregion
176
+ //#region src/components/center-absolute/CenterAbsoluteCenter.d.ts
158
177
  interface CenterAbsoluteCenterProps extends BoxProps {
159
- fullWidth?: boolean;
178
+ fullWidth?: boolean;
160
179
  }
161
180
  declare const CenterAbsoluteCenter: FunctionComponent<CenterAbsoluteCenterProps>;
162
-
181
+ //#endregion
182
+ //#region src/components/center-absolute/CenterAbsoluteLeft.d.ts
163
183
  interface CenterAbsoluteLeftProps extends BoxProps {
164
- left?: CSSProperties['left'];
165
- fullWidth?: boolean;
184
+ left?: CSSProperties['left'];
185
+ fullWidth?: boolean;
166
186
  }
167
187
  declare const CenterAbsoluteLeft: FunctionComponent<CenterAbsoluteLeftProps>;
168
-
188
+ //#endregion
189
+ //#region src/components/center-absolute/CenterAbsoluteRight.d.ts
169
190
  interface CenterAbsoluteRightProps extends BoxProps {
170
- right?: CSSProperties['right'];
171
- fullWidth?: boolean;
191
+ right?: CSSProperties['right'];
192
+ fullWidth?: boolean;
172
193
  }
173
194
  declare const CenterAbsoluteRight: FunctionComponent<CenterAbsoluteRightProps>;
174
-
175
- interface CenterAbsoluteProps extends BoxProps {
176
- left?: CSSProperties['left'];
177
- right?: CSSProperties['right'];
195
+ //#endregion
196
+ //#region src/components/center-absolute/CenterAbsolute.d.ts
197
+ export interface CenterAbsoluteProps extends BoxProps {
198
+ left?: CSSProperties['left'];
199
+ right?: CSSProperties['right'];
178
200
  }
179
201
  interface CenterAbsoluteComponent extends React.FunctionComponent<CenterAbsoluteProps> {
180
- Left: typeof CenterAbsoluteLeft;
181
- Right: typeof CenterAbsoluteRight;
182
- Center: typeof CenterAbsoluteCenter;
183
- }
184
- declare const CenterAbsolute: CenterAbsoluteComponent;
185
-
186
- interface DebouncedButtonProps extends ButtonProps {
187
- /**
188
- * Debounce duration in milliseconds
189
- */
190
- debounce?: number;
191
- }
192
- declare const DebouncedButton: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonProps) => react.JSX.Element;
193
-
194
- interface DebouncedButtonBaseProps extends ButtonBaseProps {
195
- /**
196
- * Debounce duration in milliseconds
197
- */
198
- debounce?: number;
199
- }
200
- declare const DebouncedButtonBase: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonBaseProps) => react.JSX.Element;
201
-
202
- interface DebouncedIconButtonProps extends IconButtonProps {
203
- /**
204
- * Debounce duration in milliseconds
205
- */
206
- debounce?: number;
207
- }
208
- declare const DebouncedIconButton: ({ debounce, onClick, disabled, ref, ...props }: DebouncedIconButtonProps) => react.JSX.Element;
209
-
202
+ Left: typeof CenterAbsoluteLeft;
203
+ Right: typeof CenterAbsoluteRight;
204
+ Center: typeof CenterAbsoluteCenter;
205
+ }
206
+ export declare const CenterAbsolute: CenterAbsoluteComponent;
207
+ //#endregion
208
+ //#region src/components/DebouncedButton.d.ts
209
+ export interface DebouncedButtonProps extends ButtonProps {
210
+ /**
211
+ * Debounce duration in milliseconds
212
+ */
213
+ debounce?: number;
214
+ }
215
+ export declare const DebouncedButton: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonProps) => import("react").JSX.Element;
216
+ //#endregion
217
+ //#region src/components/DebouncedButtonBase.d.ts
218
+ export interface DebouncedButtonBaseProps extends ButtonBaseProps {
219
+ /**
220
+ * Debounce duration in milliseconds
221
+ */
222
+ debounce?: number;
223
+ }
224
+ export declare const DebouncedButtonBase: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonBaseProps) => import("react").JSX.Element;
225
+ //#endregion
226
+ //#region src/components/DebouncedIconButton.d.ts
227
+ export interface DebouncedIconButtonProps extends IconButtonProps {
228
+ /**
229
+ * Debounce duration in milliseconds
230
+ */
231
+ debounce?: number;
232
+ }
233
+ export declare const DebouncedIconButton: ({ debounce, onClick, disabled, ref, ...props }: DebouncedIconButtonProps) => import("react").JSX.Element;
234
+ //#endregion
235
+ //#region src/components/DebouncedRender.d.ts
210
236
  /**
211
237
  * @example
212
238
  * ```tsx
@@ -227,80 +253,113 @@ declare const DebouncedIconButton: ({ debounce, onClick, disabled, ref, ...props
227
253
  *
228
254
  * @returns DebouncedRender 컴포넌트
229
255
  */
230
- interface DebouncedRenderProps {
231
- children: ReactNode;
232
- leading?: boolean;
233
- trailing?: boolean;
234
- maxWait?: number;
235
- }
236
- declare const DebouncedRender: FC<DebouncedRenderProps>;
237
-
238
- interface FileButtonProps<Multiple extends boolean = false> {
239
- /**
240
- * 파일이 선택되었을 때 호출되는 콜백 함수입니다.
241
- *
242
- * @param payload - 선택된 파일 또는 파일 배열 (다중 파일 선택 여부에 따라 달라짐)
243
- */
244
- onChange: (payload: Multiple extends true ? File[] : File) => void;
245
- /**
246
- * 버튼 렌더링에 필요한 속성을 제공하는 콜백 함수입니다.
247
- *
248
- * @param props - 렌더링할 버튼의 속성
249
- * @param props.onClick - 파일 선택 다이얼로그를 여는 함수
250
- *
251
- * @returns React 노드
252
- */
253
- children: (props: {
254
- onClick: () => void;
255
- }) => ReactNode;
256
- /**
257
- * 사용자가 여러 파일을 선택할 수 있는지 여부를 결정합니다.
258
- *
259
- * @default false
260
- */
261
- multiple?: Multiple;
262
- /**
263
- * 파일 입력의 `accept` 속성입니다.
264
- * 선택할 수 있는 파일 유형을 지정합니다.
265
- *
266
- * @example "image/png,image/jpeg"
267
- */
268
- accept?: string;
269
- /**
270
- * 파일 입력의 `name` 속성입니다.
271
- */
272
- name?: string;
273
- /**
274
- * 파일 입력의 `form` 속성입니다.
275
- */
276
- form?: string;
277
- /**
278
- * 값이 `null` 또는 빈 배열로 변경될 때 호출되는 함수의 참조입니다.
279
- */
280
- resetRef?: React.ForwardedRef<() => void>;
281
- /**
282
- * 파일 선택기를 비활성화합니다.
283
- *
284
- * @default false
285
- */
286
- disabled?: boolean;
287
- /**
288
- * 새 파일을 캡처할 때 사용할 장치를 지정합니다.
289
- *
290
- * @example "user" (사용자 측 카메라), "environment" (환경 카메라)
291
- */
292
- capture?: boolean | 'user' | 'environment';
293
- /**
294
- * 파일 입력 요소에 전달할 추가 속성입니다.
295
- */
296
- inputProps?: React.ComponentPropsWithoutRef<'input'>;
297
- /**
298
- * 내부 파일 입력(`<input type="file">`) 요소로 전달되는 참조입니다.
299
- */
300
- ref?: React.Ref<HTMLInputElement>;
256
+ export interface DebouncedRenderProps {
257
+ children: ReactNode;
258
+ leading?: boolean;
259
+ trailing?: boolean;
260
+ maxWait?: number;
261
+ }
262
+ export declare const DebouncedRender: FC<DebouncedRenderProps>;
263
+ //#endregion
264
+ //#region src/components/DelayedRender.d.ts
265
+ /**
266
+ * 지연 렌더링 컴포넌트의 속성입니다.
267
+ */
268
+ export interface DelayedRenderProps {
269
+ /**
270
+ * 자식을 렌더링하기 전에 기다릴 시간(ms)입니다.
271
+ * 0 이하이면 지연 없이 바로 렌더링합니다. 기본값: 500
272
+ */
273
+ delayMs?: number;
274
+ /** 지연 후 표시할 콘텐츠입니다. */
275
+ children: ReactNode;
276
+ }
277
+ /**
278
+ * 마운트 후 `delayMs`가 지나면 자식을 렌더링합니다.
279
+ *
280
+ * 빈 목록 안내처럼 로딩이 짧게 끝나면 보이지 않아도 되는 UI의 깜빡임을 줄일 때 씁니다.
281
+ * 지연 중에는 아무것도 렌더링하지 않습니다.
282
+ *
283
+ * - `delayMs`가 바뀌면 자식을 숨기고 새 지연 시간부터 다시 센다.
284
+ * - 한 번 표시된 뒤 `children`이 바뀌면 지연 없이 반영한다.
285
+ * - 지연 없이 보이려면 `delayMs={0}`을 지정한다.
286
+ *
287
+ * @example
288
+ * ```tsx
289
+ * <DelayedRender delayMs={300}>
290
+ * <EmptyView />
291
+ * </DelayedRender>
292
+ * ```
293
+ */
294
+ export declare function DelayedRender(props: DelayedRenderProps): ReactNode;
295
+ //#endregion
296
+ //#region src/components/FileButton.d.ts
297
+ export interface FileButtonProps<Multiple extends boolean = false> {
298
+ /**
299
+ * 파일이 선택되었을 때 호출되는 콜백 함수입니다.
300
+ *
301
+ * @param payload - 선택된 파일 또는 파일 배열 (다중 파일 선택 여부에 따라 달라짐)
302
+ */
303
+ onChange: (payload: Multiple extends true ? File[] : File) => void;
304
+ /**
305
+ * 버튼 렌더링에 필요한 속성을 제공하는 콜백 함수입니다.
306
+ *
307
+ * @param props - 렌더링할 버튼의 속성
308
+ * @param props.onClick - 파일 선택 다이얼로그를 여는 함수
309
+ *
310
+ * @returns React 노드
311
+ */
312
+ children: (props: {
313
+ onClick: () => void;
314
+ }) => ReactNode;
315
+ /**
316
+ * 사용자가 여러 파일을 선택할 수 있는지 여부를 결정합니다.
317
+ *
318
+ * @default false
319
+ */
320
+ multiple?: Multiple;
321
+ /**
322
+ * 파일 입력의 `accept` 속성입니다.
323
+ * 선택할 수 있는 파일 유형을 지정합니다.
324
+ *
325
+ * @example "image/png,image/jpeg"
326
+ */
327
+ accept?: string;
328
+ /**
329
+ * 파일 입력의 `name` 속성입니다.
330
+ */
331
+ name?: string;
332
+ /**
333
+ * 파일 입력의 `form` 속성입니다.
334
+ */
335
+ form?: string;
336
+ /**
337
+ * 값이 `null` 또는 빈 배열로 변경될 때 호출되는 함수의 참조입니다.
338
+ */
339
+ resetRef?: React.ForwardedRef<() => void>;
340
+ /**
341
+ * 파일 선택기를 비활성화합니다.
342
+ *
343
+ * @default false
344
+ */
345
+ disabled?: boolean;
346
+ /**
347
+ * 새 파일을 캡처할 때 사용할 장치를 지정합니다.
348
+ *
349
+ * @example "user" (사용자 측 카메라), "environment" (환경 카메라)
350
+ */
351
+ capture?: boolean | 'user' | 'environment';
352
+ /**
353
+ * 파일 입력 요소에 전달할 추가 속성입니다.
354
+ */
355
+ inputProps?: React.ComponentPropsWithoutRef<'input'>;
356
+ /**
357
+ * 내부 파일 입력(`<input type="file">`) 요소로 전달되는 참조입니다.
358
+ */
359
+ ref?: React.Ref<HTMLInputElement>;
301
360
  }
302
361
  type FileButtonComponent = (<Multiple extends boolean = false>(props: FileButtonProps<Multiple>) => React.ReactElement) & {
303
- displayName?: string;
362
+ displayName?: string;
304
363
  };
305
364
  /**
306
365
  * 파일 선택 버튼 컴포넌트입니다.
@@ -317,32 +376,33 @@ type FileButtonComponent = (<Multiple extends boolean = false>(props: FileButton
317
376
  * </FileButton>
318
377
  * ```
319
378
  */
320
- declare const FileButton: FileButtonComponent;
321
-
379
+ export declare const FileButton: FileButtonComponent;
380
+ //#endregion
381
+ //#region src/components/FlexItemsContainer.d.ts
322
382
  /**
323
383
  * `FlexItemsContainer`의 속성을 정의하는 인터페이스
324
384
  *
325
385
  * @template TItem - 리스트 아이템의 타입
326
386
  */
327
- type FlexItemsContainerProps<TItem> = Omit<GridProps, 'container' | 'children'> & {
328
- /** 렌더링할 아이템 배열 */
329
- items: readonly TItem[];
330
- /** 각 아이템의 고유 키를 반환하는 함수 */
331
- getItemKey: (item: TItem, index: number) => string | number;
332
- /** 각 아이템의 크기(size)를 결정하는 함수 (선택적) */
333
- getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;
334
- /** 특정 아이템이 줄 바꿈 요소인지 확인하는 함수 (선택적) */
335
- isLineBreakItem?: (item: TItem, index: number) => boolean;
336
- /** 줄 바꿈을 그룹화하는 함수 (선택적) */
337
- lineBreakGroup?: (item: TItem, index: number) => unknown;
338
- /** 특정 아이템 전에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */
339
- breakBefore?: (item: TItem, index: number) => boolean;
340
- /** 특정 아이템 후에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */
341
- breakAfter?: (item: TItem, index: number) => boolean;
342
- /** 각 아이템을 렌더링하는 함수 */
343
- children: (item: TItem, index: number) => ReactNode;
344
- /** 줄 바꿈의 높이 (예: `16px`, `1.5rem`, 숫자 등) */
345
- lineBreakHeight?: number | string;
387
+ export type FlexItemsContainerProps<TItem> = Omit<GridProps, 'container' | 'children'> & {
388
+ /** 렌더링할 아이템 배열 */
389
+ items: readonly TItem[];
390
+ /** 각 아이템의 고유 키를 반환하는 함수 */
391
+ getItemKey: (item: TItem, index: number) => string | number;
392
+ /** 각 아이템의 크기(size)를 결정하는 함수 (선택적) */
393
+ getItemSize?: (item: TItem, index: number) => GridProps['size'] | undefined;
394
+ /** 특정 아이템이 줄 바꿈 요소인지 확인하는 함수 (선택적) */
395
+ isLineBreakItem?: (item: TItem, index: number) => boolean;
396
+ /** 줄 바꿈을 그룹화하는 함수 (선택적) */
397
+ lineBreakGroup?: (item: TItem, index: number) => unknown;
398
+ /** 특정 아이템 전에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */
399
+ breakBefore?: (item: TItem, index: number) => boolean;
400
+ /** 특정 아이템 후에 줄 바꿈을 적용할지 결정하는 함수 (선택적) */
401
+ breakAfter?: (item: TItem, index: number) => boolean;
402
+ /** 각 아이템을 렌더링하는 함수 */
403
+ children: (item: TItem, index: number) => ReactNode;
404
+ /** 줄 바꿈의 높이 (예: `16px`, `1.5rem`, 숫자 등) */
405
+ lineBreakHeight?: number | string;
346
406
  };
347
407
  /**
348
408
  * `FlexItemsContainer`는 리스트 아이템을 유연하게 배치하는 컨테이너입니다.
@@ -361,89 +421,95 @@ type FlexItemsContainerProps<TItem> = Omit<GridProps, 'container' | 'children'>
361
421
  * </FlexItemsContainer>
362
422
  * ```
363
423
  */
364
- declare function FlexItemsContainer<TItem>(props: FlexItemsContainerProps<TItem>): ReactElement | null;
365
- declare namespace FlexItemsContainer {
366
- var displayName: string;
424
+ export declare function FlexItemsContainer<TItem>(props: FlexItemsContainerProps<TItem>): ReactElement | null;
425
+ export declare namespace FlexItemsContainer {
426
+ var displayName: string;
367
427
  }
368
-
428
+ //#endregion
429
+ //#region src/components/FloatingIndicator/FloatingIndicator.d.ts
369
430
  /**
370
431
  * FloatingIndicator 컴포넌트의 속성 타입입니다.
371
432
  */
372
- interface FloatingIndicatorProps extends BoxProps {
373
- /** 인디케이터가 표시될 대상 요소 */
374
- target: HTMLElement | null | undefined;
375
- /** 인디케이터의 위치를 기준으로 계산할 부모 요소 */
376
- parent: HTMLElement | null | undefined;
377
- /** 전환 시간(ms), 기본값은 150ms */
378
- transitionDuration?: number | string;
379
- /** 인디케이터가 전환이 끝난 후에 표시되는지 여부 (transform: scale(n) 스타일이 적용된 컨테이너 내부에서 사용 시 설정해야 함) */
380
- displayAfterTransitionEnd?: boolean;
381
- /**
382
- * 대상 요소의 보더 두께를 제외하여 인디케이터 크기를 계산할지 여부
383
- * 기본적으로는 대상 요소의 보더를 포함한 크기로 계산됩니다.
384
- */
385
- excludeTargetBorderWidth?: boolean;
433
+ export interface FloatingIndicatorProps extends BoxProps {
434
+ /** 인디케이터가 표시될 대상 요소 */
435
+ target: HTMLElement | null | undefined;
436
+ /** 인디케이터의 위치를 기준으로 계산할 부모 요소 */
437
+ parent: HTMLElement | null | undefined;
438
+ /** 전환 시간(ms), 기본값은 150ms */
439
+ transitionDuration?: number | string;
440
+ /** 인디케이터가 전환이 끝난 후에 표시되는지 여부 (transform: scale(n) 스타일이 적용된 컨테이너 내부에서 사용 시 설정해야 함) */
441
+ displayAfterTransitionEnd?: boolean;
442
+ /**
443
+ * 대상 요소의 보더 두께를 제외하여 인디케이터 크기를 계산할지 여부
444
+ * 기본적으로는 대상 요소의 보더를 포함한 크기로 계산됩니다.
445
+ */
446
+ excludeTargetBorderWidth?: boolean;
386
447
  }
387
448
  /**
388
449
  * 주어진 `target`과 `parent` 요소를 기준으로 인디케이터를 화면에 표시하는 컴포넌트입니다.
389
450
  * 인디케이터는 부모 요소를 기준으로 `absolute` 위치로 배치되며, 다양한 전환 효과를 지원합니다.
390
451
  */
391
- declare const FloatingIndicator: (props: FloatingIndicatorProps) => react.JSX.Element | null;
392
-
452
+ export declare const FloatingIndicator: (props: FloatingIndicatorProps) => import("react").JSX.Element | null;
453
+ //#endregion
454
+ //#region src/components/flex/types.d.ts
393
455
  interface FlexBaseProps extends BoxProps {
394
- alignItems?: CSSProperties['alignItems'];
395
- justifyContent?: CSSProperties['justifyContent'];
396
- flexWrap?: CSSProperties['flexWrap'];
397
- inlineFlex?: boolean;
456
+ alignItems?: CSSProperties['alignItems'];
457
+ justifyContent?: CSSProperties['justifyContent'];
458
+ flexWrap?: CSSProperties['flexWrap'];
459
+ inlineFlex?: boolean;
398
460
  }
399
-
461
+ //#endregion
462
+ //#region src/components/flex/FlexColumn.d.ts
400
463
  declare const FlexColumnStart: FunctionComponent<FlexBaseProps>;
401
464
  declare const FlexColumnEnd: FunctionComponent<FlexBaseProps>;
402
465
  declare const FlexColumnCenter: FunctionComponent<FlexBaseProps>;
403
466
  declare const FlexColumnAround: FunctionComponent<FlexBaseProps>;
404
467
  declare const FlexColumnBetween: FunctionComponent<FlexBaseProps>;
405
468
  declare const FlexColumnEvenly: FunctionComponent<FlexBaseProps>;
406
- interface FlexColumnProps extends FlexBaseProps {
407
- center?: boolean;
469
+ export interface FlexColumnProps extends FlexBaseProps {
470
+ center?: boolean;
408
471
  }
409
472
  interface FlexColumnComponent extends React.FunctionComponent<FlexColumnProps> {
410
- Start: typeof FlexColumnStart;
411
- End: typeof FlexColumnEnd;
412
- Center: typeof FlexColumnCenter;
413
- Between: typeof FlexColumnBetween;
414
- Around: typeof FlexColumnAround;
415
- Evenly: typeof FlexColumnEvenly;
416
- }
417
- declare const FlexColumn: FlexColumnComponent;
418
-
473
+ Start: typeof FlexColumnStart;
474
+ End: typeof FlexColumnEnd;
475
+ Center: typeof FlexColumnCenter;
476
+ Between: typeof FlexColumnBetween;
477
+ Around: typeof FlexColumnAround;
478
+ Evenly: typeof FlexColumnEvenly;
479
+ }
480
+ export declare const FlexColumn: FlexColumnComponent;
481
+ //#endregion
482
+ //#region src/components/flex/FlexRow.d.ts
419
483
  declare const FlexRowStart: FunctionComponent<FlexBaseProps>;
420
484
  declare const FlexRowEnd: FunctionComponent<FlexBaseProps>;
421
485
  declare const FlexRowAround: FunctionComponent<FlexBaseProps>;
422
486
  declare const FlexRowBetween: FunctionComponent<FlexBaseProps>;
423
487
  declare const FlexRowEvenly: FunctionComponent<FlexBaseProps>;
424
488
  declare const FlexRowCenter: FunctionComponent<FlexBaseProps>;
425
- interface FlexRowProps extends FlexBaseProps {
426
- center?: boolean;
489
+ export interface FlexRowProps extends FlexBaseProps {
490
+ center?: boolean;
427
491
  }
428
492
  interface FlexRowComponent extends React.FunctionComponent<FlexRowProps> {
429
- Start: typeof FlexRowStart;
430
- End: typeof FlexRowEnd;
431
- Center: typeof FlexRowCenter;
432
- Between: typeof FlexRowBetween;
433
- Around: typeof FlexRowAround;
434
- Evenly: typeof FlexRowEvenly;
435
- }
436
- declare const FlexRow: FlexRowComponent;
437
-
438
- interface HideProps {
439
- /**
440
- * 개발자 설명
441
- */
442
- devComment?: unknown;
443
- children?: ReactNode;
444
- }
445
- declare function Hide(_props: HideProps): null;
446
-
493
+ Start: typeof FlexRowStart;
494
+ End: typeof FlexRowEnd;
495
+ Center: typeof FlexRowCenter;
496
+ Between: typeof FlexRowBetween;
497
+ Around: typeof FlexRowAround;
498
+ Evenly: typeof FlexRowEvenly;
499
+ }
500
+ export declare const FlexRow: FlexRowComponent;
501
+ //#endregion
502
+ //#region src/components/Hide.d.ts
503
+ export interface HideProps {
504
+ /**
505
+ * 개발자 설명
506
+ */
507
+ devComment?: unknown;
508
+ children?: ReactNode;
509
+ }
510
+ export declare function Hide(_props: HideProps): null;
511
+ //#endregion
512
+ //#region src/components/Highlight/Highlight.d.ts
447
513
  /**
448
514
  * 특정 텍스트의 부분 문자열을 강조 표시하는 컴포넌트입니다.
449
515
  *
@@ -452,59 +518,59 @@ declare function Hide(_props: HideProps): null;
452
518
  * - 다양한 사용자 정의 스타일과 속성을 지원합니다.
453
519
  */
454
520
  interface HighlightProps {
455
- /**
456
- * `sx` 속성을 사용해 스타일을 추가로 설정할 수 있습니다.
457
- */
458
- sx?: SxProps<Theme>;
459
- /**
460
- * 추가로 적용할 CSS 클래스 이름입니다.
461
- */
462
- className?: string;
463
- /**
464
- * 인라인 스타일을 적용할 수 있습니다.
465
- */
466
- style?: CSSProperties;
467
- /**
468
- * MUI `Typography` 컴포넌트의 `variant` 속성입니다.
469
- */
470
- variant?: TypographyProps['variant'];
471
- /**
472
- * 강조 표시할 부분 문자열 또는 문자열 배열입니다.
473
- *
474
- * @example
475
- * ```tsx
476
- * <Highlight highlight="React">React is amazing!</Highlight>
477
- * <Highlight highlight={["React", "amazing"]}>React is amazing!</Highlight>
478
- * ```
479
- */
480
- highlight: string | string[];
481
- /**
482
- * 강조 표시된 텍스트의 색상을 지정합니다.
483
- * `theme.colors` 키 또는 유효한 CSS 색상 값을 사용할 수 있습니다.
484
- * 기본값은 `yellow`입니다.
485
- */
486
- color?: string;
487
- /**
488
- * 강조 표시된 텍스트에 적용할 추가 스타일입니다.
489
- */
490
- highlightSx?: SxProps;
491
- /**
492
- * 강조 표시 작업을 수행할 문자열입니다.
493
- */
494
- children: string;
495
- /**
496
- * 대소문자를 무시하고 강조 표시할지 여부를 설정합니다.
497
- *
498
- * @default false
499
- */
500
- ignorecase?: boolean;
501
- /**
502
- * 강조 표시된 텍스트에 `data-highlight` 속성을 추가할지 여부를 설정합니다.
503
- *
504
- * @default false
505
- */
506
- includeDataAttribute?: boolean;
507
- ref?: Ref<HTMLElement>;
521
+ /**
522
+ * `sx` 속성을 사용해 스타일을 추가로 설정할 수 있습니다.
523
+ */
524
+ sx?: SxProps<Theme>;
525
+ /**
526
+ * 추가로 적용할 CSS 클래스 이름입니다.
527
+ */
528
+ className?: string;
529
+ /**
530
+ * 인라인 스타일을 적용할 수 있습니다.
531
+ */
532
+ style?: CSSProperties;
533
+ /**
534
+ * MUI `Typography` 컴포넌트의 `variant` 속성입니다.
535
+ */
536
+ variant?: TypographyProps['variant'];
537
+ /**
538
+ * 강조 표시할 부분 문자열 또는 문자열 배열입니다.
539
+ *
540
+ * @example
541
+ * ```tsx
542
+ * <Highlight highlight="React">React is amazing!</Highlight>
543
+ * <Highlight highlight={["React", "amazing"]}>React is amazing!</Highlight>
544
+ * ```
545
+ */
546
+ highlight: string | string[];
547
+ /**
548
+ * 강조 표시된 텍스트의 색상을 지정합니다.
549
+ * `theme.colors` 키 또는 유효한 CSS 색상 값을 사용할 수 있습니다.
550
+ * 기본값은 `yellow`입니다.
551
+ */
552
+ color?: string;
553
+ /**
554
+ * 강조 표시된 텍스트에 적용할 추가 스타일입니다.
555
+ */
556
+ highlightSx?: SxProps;
557
+ /**
558
+ * 강조 표시 작업을 수행할 문자열입니다.
559
+ */
560
+ children: string;
561
+ /**
562
+ * 대소문자를 무시하고 강조 표시할지 여부를 설정합니다.
563
+ *
564
+ * @default false
565
+ */
566
+ ignorecase?: boolean;
567
+ /**
568
+ * 강조 표시된 텍스트에 `data-highlight` 속성을 추가할지 여부를 설정합니다.
569
+ *
570
+ * @default false
571
+ */
572
+ includeDataAttribute?: boolean;
573
+ ref?: Ref<HTMLElement>;
508
574
  }
509
575
  /**
510
576
  * `Highlight` 컴포넌트는 주어진 텍스트에서 특정 문자열을 강조 표시합니다.
@@ -527,56 +593,139 @@ interface HighlightProps {
527
593
  * </Highlight>
528
594
  * ```
529
595
  */
530
- declare const Highlight: {
531
- (props: HighlightProps): react.JSX.Element;
532
- displayName: string;
596
+ export declare const Highlight: {
597
+ (props: HighlightProps): import("react").JSX.Element;
598
+ displayName: string;
533
599
  };
534
-
600
+ //#endregion
601
+ //#region src/components/LengthLimitHelperText.d.ts
535
602
  interface Props {
536
- sx?: SxProps;
537
- className?: string;
538
- text?: ReactNode;
539
- maxLen: number;
540
- currentLen?: number;
541
- }
542
- declare function LengthLimitHelperText(props: Props): react.JSX.Element;
543
-
544
- interface LgOrUpProps {
545
- children?: ReactNode | ReactNode[];
546
- }
547
- declare function LgOrUp(props: LgOrUpProps): react.JSX.Element | null;
548
-
549
- interface MarkProps {
550
- sx?: SxProps;
551
- className?: string;
552
- color?: string;
553
- bgcolor?: string;
554
- children?: ReactNode;
555
- ref?: Ref<HTMLElement>;
556
- }
557
- declare const Mark: {
558
- (props: MarkProps): react.JSX.Element;
559
- displayName: string;
603
+ sx?: SxProps;
604
+ className?: string;
605
+ text?: ReactNode;
606
+ maxLen: number;
607
+ currentLen?: number;
608
+ }
609
+ export declare function LengthLimitHelperText(props: Props): import("react").JSX.Element;
610
+ //#endregion
611
+ //#region src/components/LgOrUp.d.ts
612
+ export interface LgOrUpProps {
613
+ children?: ReactNode | ReactNode[];
614
+ }
615
+ export declare function LgOrUp(props: LgOrUpProps): import("react").JSX.Element | null;
616
+ //#endregion
617
+ //#region src/components/ListPagination.d.ts
618
+ export interface ListPaginationProps extends Omit<PaginationProps, 'page' | 'count' | 'onChange' | 'hidden' | 'ref'> {
619
+ /**
620
+ * 현재 페이지 번호입니다.
621
+ * 기본은 MUI `Pagination`과 같은 1-based이며, `zeroBased`가 true이면 첫 페이지가 `0`입니다.
622
+ */
623
+ page: number;
624
+ /** 전체 페이지 수입니다. */
625
+ count: number;
626
+ /**
627
+ * 사용자가 페이지를 바꿨을 때 호출합니다.
628
+ * 전달되는 번호의 기준은 `page`와 같습니다.
629
+ */
630
+ onChange?: (pageNumber: number) => void;
631
+ /**
632
+ * `page`와 `onChange`의 페이지 번호를 0-based로 다룰지 여부입니다.
633
+ * 서버가 0-based 페이지 번호를 쓸 때 변환 코드를 반복하지 않도록 제공합니다.
634
+ * @default false
635
+ */
636
+ zeroBased?: boolean;
637
+ /**
638
+ * 컴포넌트를 강제로 숨길지 여부입니다.
639
+ * @default false
640
+ */
641
+ hidden?: boolean;
642
+ /**
643
+ * 페이지 이동 후 화면 상단으로 스크롤하는 동작을 막을지 여부입니다.
644
+ * @default false
645
+ */
646
+ disableAutoScroll?: boolean;
647
+ }
648
+ /**
649
+ * 목록 화면 하단에 쓰는 페이지네이션입니다.
650
+ * MUI `Pagination`을 가운데 정렬하고 위아래 여백(`py: 1.5`)을 더합니다.
651
+ *
652
+ * @remarks
653
+ * - `count`가 1 이하이면 아무것도 렌더링하지 않습니다.
654
+ * - 페이지를 바꾸면 기본으로 `window.scrollTo`로 화면 상단으로 이동합니다.
655
+ * - `className`과 `sx`는 바깥 래퍼에 적용되고, 나머지 props는 MUI `Pagination`에 전달됩니다.
656
+ *
657
+ * @example
658
+ * ```tsx
659
+ * <ListPagination page={page} count={totalPages} onChange={setPage} />
660
+ *
661
+ * // 서버가 0-based 페이지 번호를 쓸 때
662
+ * <ListPagination zeroBased page={pageNumber} count={totalPages} onChange={setPageNumber} />
663
+ * ```
664
+ */
665
+ export declare const ListPagination: {
666
+ ({ page, count, onChange, zeroBased, hidden, disableAutoScroll, className, sx, ...paginationProps }: ListPaginationProps): import("react").JSX.Element | null;
667
+ displayName: string;
560
668
  };
561
-
562
- interface MdOrDownProps {
563
- children?: ReactNode | ReactNode[];
564
- }
565
- declare function MdOrDown(props: MdOrDownProps): react.JSX.Element | null;
566
-
567
- interface MdOrUpProps {
568
- children?: ReactNode | ReactNode[];
569
- }
570
- declare function MdOrUp(props: MdOrUpProps): react.JSX.Element | null;
571
-
572
- interface PaperProps extends PaperProps$1 {
573
- squared?: boolean;
574
- outlined?: boolean;
575
- }
576
- declare function Paper(props: PaperProps): react.JSX.Element;
577
-
669
+ //#endregion
670
+ //#region src/components/Mark.d.ts
671
+ export interface MarkProps {
672
+ sx?: SxProps;
673
+ className?: string;
674
+ color?: string;
675
+ bgcolor?: string;
676
+ children?: ReactNode;
677
+ ref?: Ref<HTMLElement>;
678
+ }
679
+ export declare const Mark: {
680
+ (props: MarkProps): import("react").JSX.Element;
681
+ displayName: string;
682
+ };
683
+ //#endregion
684
+ //#region src/components/MdOrDown.d.ts
685
+ export interface MdOrDownProps {
686
+ children?: ReactNode | ReactNode[];
687
+ }
688
+ export declare function MdOrDown(props: MdOrDownProps): import("react").JSX.Element | null;
689
+ //#endregion
690
+ //#region src/components/MdOrUp.d.ts
691
+ export interface MdOrUpProps {
692
+ children?: ReactNode | ReactNode[];
693
+ }
694
+ export declare function MdOrUp(props: MdOrUpProps): import("react").JSX.Element | null;
695
+ //#endregion
696
+ //#region src/components/Paper.d.ts
697
+ export interface PaperProps extends PaperProps$1 {
698
+ squared?: boolean;
699
+ outlined?: boolean;
700
+ }
701
+ export declare function Paper(props: PaperProps): import("react").JSX.Element;
702
+ //#endregion
703
+ //#region src/components/PasswordTextField.d.ts
704
+ /**
705
+ * 비밀번호 표시 상태를 전환할 수 있는 입력 컴포넌트의 속성입니다.
706
+ *
707
+ * `type`은 내부에서 `password`/`text`로 전환하므로 받지 않습니다.
708
+ */
709
+ export type PasswordTextFieldProps = Omit<TextFieldProps, 'type'> & {
710
+ /** 비밀번호가 가려져 있을 때 토글 버튼의 접근성 레이블입니다. 기본값: `비밀번호 보기` */
711
+ showLabel?: string;
712
+ /** 비밀번호가 표시되어 있을 때 토글 버튼의 접근성 레이블입니다. 기본값: `비밀번호 숨기기` */
713
+ hideLabel?: string;
714
+ };
715
+ /**
716
+ * 비밀번호를 마스킹 상태와 평문 상태로 전환해 표시하는 `TextField`.
717
+ *
718
+ * 동작 규칙:
719
+ * - 끝 장식(endAdornment)에 보기/숨기기 토글 버튼을 둔다.
720
+ * - 버튼 크기는 `size`를 따르고, `disabled`이면 버튼도 비활성화한다.
721
+ * - `slotProps.input.endAdornment`를 지정하면 기본 토글 버튼 대신 그 값을 쓴다.
722
+ * - `slotProps.input` 외 슬롯(`htmlInput` 등)은 그대로 전달한다.
723
+ */
724
+ export declare function PasswordTextField(props: PasswordTextFieldProps): import("react").JSX.Element;
725
+ //#endregion
726
+ //#region src/components/portlet/PortletContent.d.ts
578
727
  interface PortletContentProps extends BoxProps {
579
- noPadding?: boolean;
728
+ noPadding?: boolean;
580
729
  }
581
730
  /**
582
731
  * Portlet의 본문 영역을 렌더링합니다.
@@ -589,12 +738,13 @@ interface PortletContentProps extends BoxProps {
589
738
  * ```
590
739
  */
591
740
  declare const PortletContent: {
592
- (props: PortletContentProps): react.JSX.Element;
593
- displayName: string;
741
+ (props: PortletContentProps): import("react").JSX.Element;
742
+ displayName: string;
594
743
  };
595
-
744
+ //#endregion
745
+ //#region src/components/portlet/PortletFooter.d.ts
596
746
  interface PortletFooterProps extends BoxProps {
597
- noDivider?: boolean;
747
+ noDivider?: boolean;
598
748
  }
599
749
  /**
600
750
  * Portlet의 하단 영역을 렌더링합니다.
@@ -607,13 +757,14 @@ interface PortletFooterProps extends BoxProps {
607
757
  * ```
608
758
  */
609
759
  declare const PortletFooter: {
610
- (props: PortletFooterProps): react.JSX.Element;
611
- displayName: string;
760
+ (props: PortletFooterProps): import("react").JSX.Element;
761
+ displayName: string;
612
762
  };
613
-
763
+ //#endregion
764
+ //#region src/components/portlet/PortletHeader.d.ts
614
765
  interface PortletHeaderProps extends BoxProps {
615
- noDivider?: boolean;
616
- noPadding?: boolean;
766
+ noDivider?: boolean;
767
+ noPadding?: boolean;
617
768
  }
618
769
  /**
619
770
  * Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.
@@ -629,15 +780,16 @@ interface PortletHeaderProps extends BoxProps {
629
780
  * ```
630
781
  */
631
782
  declare const PortletHeader: {
632
- (props: PortletHeaderProps): react.JSX.Element;
633
- displayName: string;
783
+ (props: PortletHeaderProps): import("react").JSX.Element;
784
+ displayName: string;
634
785
  };
635
-
786
+ //#endregion
787
+ //#region src/components/portlet/PortletLabel.d.ts
636
788
  interface PortletLabelProps extends BoxProps {
637
- icon?: ReactNode;
638
- /** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */
639
- title?: string;
640
- subtitle?: string;
789
+ icon?: ReactNode;
790
+ /** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */
791
+ title?: string;
792
+ subtitle?: string;
641
793
  }
642
794
  /**
643
795
  * Portlet Header에 아이콘, 제목, 부제목을 표시합니다.
@@ -650,10 +802,55 @@ interface PortletLabelProps extends BoxProps {
650
802
  * ```
651
803
  */
652
804
  declare const PortletLabel: {
653
- (props: PortletLabelProps): react.JSX.Element;
654
- displayName: string;
805
+ (props: PortletLabelProps): import("react").JSX.Element;
806
+ displayName: string;
655
807
  };
656
-
808
+ //#endregion
809
+ //#region src/components/portlet/PortletTitle.d.ts
810
+ interface PortletTitleProps extends Omit<StackProps, 'title' | 'direction' | 'children'> {
811
+ /** 문자열이면 Typography로 감싸 표시하고, 그 외 노드는 그대로 렌더링합니다. */
812
+ title: ReactNode;
813
+ /** 제목 Typography의 variant입니다. 기본값은 `h5`입니다. 문자열 제목에만 적용됩니다. */
814
+ titleVariant?: TypographyProps['variant'];
815
+ /** 0보다 클 때만 제목 옆에 표시합니다. */
816
+ itemCount?: number;
817
+ /** 건수 표시 형식입니다. 기본값은 천 단위 구분자를 넣은 숫자입니다. 단위나 번역은 여기서 붙입니다. */
818
+ formatItemCount?: (count: number) => ReactNode;
819
+ /** true이면 새로고침 버튼 대신 로딩 표시를 보여줍니다. */
820
+ loading?: boolean;
821
+ /** true이면 제목의 `nowrap` 처리를 해제합니다. */
822
+ disableNowrapTitle?: boolean;
823
+ /** 새로고침 버튼의 접근성 이름(aria-label)입니다. 기본값은 `새로고침`입니다. */
824
+ refreshLabel?: string;
825
+ /** 지정했을 때만 새로고침 버튼을 표시합니다. */
826
+ onClickRefresh?: MouseEventHandler<HTMLButtonElement>;
827
+ }
828
+ /**
829
+ * Portlet Header에 제목, 건수, 새로고침 버튼(또는 로딩 표시)을 한 줄로 표시합니다.
830
+ *
831
+ * @param props Stack 속성과 제목·건수·새로고침 설정
832
+ * @returns 제목과 새로고침 영역을 가로로 배치한 Stack
833
+ * @remarks 새로고침 영역은 버튼과 로딩 표시가 번갈아 나타나도 제목 위치가 흔들리지 않도록 최소 너비 40px을 유지합니다.
834
+ * @example
835
+ * ```tsx
836
+ * <Portlet.Header>
837
+ * <Portlet.Title
838
+ * title='사용자 목록'
839
+ * titleVariant='h6'
840
+ * itemCount={120}
841
+ * formatItemCount={(n) => `${n.toLocaleString()}건`}
842
+ * loading={loading}
843
+ * onClickRefresh={reload}
844
+ * />
845
+ * </Portlet.Header>
846
+ * ```
847
+ */
848
+ declare const PortletTitle: {
849
+ (props: PortletTitleProps): import("react").JSX.Element;
850
+ displayName: string;
851
+ };
852
+ //#endregion
853
+ //#region src/components/portlet/PortletToolbar.d.ts
657
854
  type PortletToolbarProps = BoxProps;
658
855
  /**
659
856
  * Portlet Header의 도구를 우측에 배치합니다.
@@ -666,19 +863,21 @@ type PortletToolbarProps = BoxProps;
666
863
  * ```
667
864
  */
668
865
  declare const PortletToolbar: {
669
- (props: PortletToolbarProps): react.JSX.Element;
670
- displayName: string;
866
+ (props: PortletToolbarProps): import("react").JSX.Element;
867
+ displayName: string;
671
868
  };
672
-
673
- interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
674
- children?: ReactNode;
869
+ //#endregion
870
+ //#region src/components/portlet/Portlet.d.ts
871
+ export interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
872
+ children?: ReactNode;
675
873
  }
676
874
  interface PortletComponent extends FunctionComponent<PortletProps> {
677
- Content: typeof PortletContent;
678
- Header: typeof PortletHeader;
679
- Footer: typeof PortletFooter;
680
- Label: typeof PortletLabel;
681
- Toolbar: typeof PortletToolbar;
875
+ Content: typeof PortletContent;
876
+ Header: typeof PortletHeader;
877
+ Footer: typeof PortletFooter;
878
+ Label: typeof PortletLabel;
879
+ Title: typeof PortletTitle;
880
+ Toolbar: typeof PortletToolbar;
682
881
  }
683
882
  /**
684
883
  * Label, Toolbar, Content, Footer를 조립하는 카드형 컨테이너입니다.
@@ -696,51 +895,96 @@ interface PortletComponent extends FunctionComponent<PortletProps> {
696
895
  * </Portlet>
697
896
  * ```
698
897
  */
699
- declare const Portlet: PortletComponent;
700
-
701
- interface SegmentedControlItem {
702
- /** 항목의 값 */
703
- value: string;
704
- /** 항목의 레이블 (내용) */
705
- label: ReactNode;
706
- /** 항목이 비활성화되었는지 여부 */
707
- disabled?: boolean;
708
- }
709
- interface SegmentedControlProps {
710
- /** 루트 DOM 요소로 전달되는 ref (MUI 미상속 인터페이스라 명시 선언) */
711
- ref?: Ref<HTMLDivElement>;
712
- sx?: SxProps<Theme>;
713
- className?: string;
714
- style?: CSSProperties;
715
- disabled?: boolean;
716
- /** 렌더링할 데이터를 기반으로 컨트롤 항목이 생성됩니다. */
717
- data: (string | SegmentedControlItem)[];
718
- /** 컨트롤된 컴포넌트의 값 */
719
- value?: string;
720
- /** 비제어 컴포넌트의 기본값 */
721
- defaultValue?: string;
722
- /** 값이 변경될 때 호출되는 함수 */
723
- onChange?: (value: string) => void;
724
- /** 부모의 100% 너비를 사용할지 여부, 기본값은 false */
725
- fullWidth?: boolean;
726
- /** 인디케이터의 전환 시간(ms), 기본값은 200 */
727
- transitionDuration?: number;
728
- /** 인디케이터의 transition-timing-function 속성, 기본값은 'ease' */
729
- transitionTimingFunction?: string;
730
- /** 컴포넌트가 수직 방향으로 표시될지 여부, 기본값은 'horizontal' */
731
- vertical?: boolean;
732
- /** 값이 변경될 수 있는지 여부, 읽기 전용 모드일 경우 변경 불가 */
733
- readOnly?: boolean;
734
- /** 항목의 경계를 표시할지 여부 */
735
- withItemBorder?: boolean;
736
- /** 항목 레이블의 기본 색상 */
737
- primaryColor?: TypographyProps['color'];
738
- /** 항목 레이블의 보조 색상 */
739
- secondaryColor?: TypographyProps['color'];
740
- /** 인디케이터로 표시할 ReactNode */
741
- indicator?: ReactNode;
742
- /** 컴포넌트 크기, 'small', 'medium', 'large' 중 하나 */
743
- size?: 'small' | 'medium' | 'large';
898
+ export declare const Portlet: PortletComponent;
899
+ //#endregion
900
+ //#region src/components/SearchBoxDebouncer.d.ts
901
+ /**
902
+ * 검색 입력 초안과 외부 검색 조건을 중계하는 디바운서 컴포넌트의 속성입니다.
903
+ */
904
+ export interface SearchBoxDebouncerProps<T> {
905
+ /** 디바운스 시간(ms). 기본값: 200 */
906
+ delayMs?: number;
907
+ /** 외부 검색 조건입니다. */
908
+ params: Partial<T>;
909
+ /** 입력이 멈춘 뒤 초안 전체를 전달받는 콜백입니다. */
910
+ onChange: (params: Partial<T>) => void;
911
+ /**
912
+ * 초안 상태로 검색 UI를 그립니다.
913
+ *
914
+ * - `params`: 화면에 보여줄 초안 조건
915
+ * - `onChange`: 부분 변경을 초안에 병합하고 발행을 예약
916
+ * - `flush`: 대기 중인 입력을 바로 발행 (예: Enter로 즉시 검색)
917
+ */
918
+ children: (props: {
919
+ params: Partial<T>;
920
+ onChange: (params: Partial<T>) => void;
921
+ flush: () => void;
922
+ }) => ReactNode;
923
+ }
924
+ /**
925
+ * 검색 조건 변경을 일정 시간 모아서 외부 변경 콜백으로 전달합니다.
926
+ *
927
+ * 훅 `useDebouncedParams`를 render prop으로 감싼 컴포넌트입니다.
928
+ *
929
+ * @example
930
+ * ```tsx
931
+ * <SearchBoxDebouncer<SearchParams> params={searchParams} onChange={setSearchParams}>
932
+ * {({ params, onChange, flush }) => (
933
+ * <TextField
934
+ * value={params.keyword ?? ''}
935
+ * onChange={(e) => onChange({ keyword: e.target.value })}
936
+ * onKeyDown={(e) => e.key === 'Enter' && flush()}
937
+ * />
938
+ * )}
939
+ * </SearchBoxDebouncer>
940
+ * ```
941
+ */
942
+ export declare function SearchBoxDebouncer<T>(props: SearchBoxDebouncerProps<T>): import("react").JSX.Element;
943
+ //#endregion
944
+ //#region src/components/SegmentedControl/SegmentedControl.d.ts
945
+ export interface SegmentedControlItem {
946
+ /** 항목의 값 */
947
+ value: string;
948
+ /** 항목의 레이블 (내용) */
949
+ label: ReactNode;
950
+ /** 항목이 비활성화되었는지 여부 */
951
+ disabled?: boolean;
952
+ }
953
+ export interface SegmentedControlProps {
954
+ /** 루트 DOM 요소로 전달되는 ref (MUI 미상속 인터페이스라 명시 선언) */
955
+ ref?: Ref<HTMLDivElement>;
956
+ sx?: SxProps<Theme>;
957
+ className?: string;
958
+ style?: CSSProperties;
959
+ disabled?: boolean;
960
+ /** 렌더링할 데이터를 기반으로 컨트롤 항목이 생성됩니다. */
961
+ data: (string | SegmentedControlItem)[];
962
+ /** 컨트롤된 컴포넌트의 값 */
963
+ value?: string;
964
+ /** 비제어 컴포넌트의 기본값 */
965
+ defaultValue?: string;
966
+ /** 값이 변경될 때 호출되는 함수 */
967
+ onChange?: (value: string) => void;
968
+ /** 부모의 100% 너비를 사용할지 여부, 기본값은 false */
969
+ fullWidth?: boolean;
970
+ /** 인디케이터의 전환 시간(ms), 기본값은 200 */
971
+ transitionDuration?: number;
972
+ /** 인디케이터의 transition-timing-function 속성, 기본값은 'ease' */
973
+ transitionTimingFunction?: string;
974
+ /** 컴포넌트가 수직 방향으로 표시될지 여부, 기본값은 'horizontal' */
975
+ vertical?: boolean;
976
+ /** 값이 변경될 수 있는지 여부, 읽기 전용 모드일 경우 변경 불가 */
977
+ readOnly?: boolean;
978
+ /** 항목의 경계를 표시할지 여부 */
979
+ withItemBorder?: boolean;
980
+ /** 항목 레이블의 기본 색상 */
981
+ primaryColor?: TypographyProps['color'];
982
+ /** 항목 레이블의 보조 색상 */
983
+ secondaryColor?: TypographyProps['color'];
984
+ /** 인디케이터로 표시할 ReactNode */
985
+ indicator?: ReactNode;
986
+ /** 컴포넌트 크기, 'small', 'medium', 'large' 중 하나 */
987
+ size?: 'small' | 'medium' | 'large';
744
988
  }
745
989
  /**
746
990
  * 세그먼트 컨트롤 컴포넌트는 여러 항목 중 하나를 선택하는 UI 컴포넌트입니다.
@@ -748,74 +992,80 @@ interface SegmentedControlProps {
748
992
  * @param props 세그먼트 컨트롤의 다양한 설정을 정의하는 props
749
993
  * @returns 세그먼트 컨트롤 컴포넌트
750
994
  */
751
- declare const SegmentedControl: (props: SegmentedControlProps) => react.JSX.Element | null;
752
-
753
- interface ShowProps {
754
- when: boolean | null | undefined;
755
- children?: ReactNode;
756
- fallback?: ReactNode;
757
- }
758
- declare const Show: FC<ShowProps>;
759
-
760
- interface SmOrDownProps {
761
- children?: ReactNode | ReactNode[];
762
- }
763
- declare function SmOrDown(props: SmOrDownProps): react.JSX.Element | null;
764
-
765
- interface SmOrUpProps {
766
- children?: ReactNode | ReactNode[];
767
- }
768
- declare function SmOrUp(props: SmOrUpProps): react.JSX.Element | null;
769
-
770
- interface SpaceProps extends BoxProps {
771
- width?: number;
772
- height?: number;
773
- minWidth?: number;
774
- minHeight?: number;
775
- }
776
- declare const Space: {
777
- ({ width, height, minWidth, minHeight, sx, ref, ...props }: SpaceProps): react.JSX.Element;
778
- displayName: string;
995
+ export declare const SegmentedControl: (props: SegmentedControlProps) => import("react").JSX.Element | null;
996
+ //#endregion
997
+ //#region src/components/Show.d.ts
998
+ export interface ShowProps {
999
+ when: boolean | null | undefined;
1000
+ children?: ReactNode;
1001
+ fallback?: ReactNode;
1002
+ }
1003
+ export declare const Show: FC<ShowProps>;
1004
+ //#endregion
1005
+ //#region src/components/SmOrDown.d.ts
1006
+ export interface SmOrDownProps {
1007
+ children?: ReactNode | ReactNode[];
1008
+ }
1009
+ export declare function SmOrDown(props: SmOrDownProps): import("react").JSX.Element | null;
1010
+ //#endregion
1011
+ //#region src/components/SmOrUp.d.ts
1012
+ export interface SmOrUpProps {
1013
+ children?: ReactNode | ReactNode[];
1014
+ }
1015
+ export declare function SmOrUp(props: SmOrUpProps): import("react").JSX.Element | null;
1016
+ //#endregion
1017
+ //#region src/components/Space.d.ts
1018
+ export interface SpaceProps extends BoxProps {
1019
+ width?: number;
1020
+ height?: number;
1021
+ minWidth?: number;
1022
+ minHeight?: number;
1023
+ }
1024
+ export declare const Space: {
1025
+ ({ width, height, minWidth, minHeight, sx, ref, ...props }: SpaceProps): import("react").JSX.Element;
1026
+ displayName: string;
779
1027
  };
780
-
781
- interface SpoilerProps {
782
- sx?: SxProps;
783
- className?: string;
784
- style?: CSSProperties;
785
- id?: string;
786
- /** Maximum height of the visible content, when this point is reached spoiler appears, `100` by default */
787
- maxHeight?: number;
788
- /** Label for close spoiler action */
789
- hideLabel: React.ReactNode;
790
- /** Label for open spoiler action */
791
- showLabel: React.ReactNode;
792
- /** Get ref of spoiler toggle button */
793
- controlRef?: React.ForwardedRef<HTMLButtonElement>;
794
- /** Initial spoiler state, true to wrap content in spoiler, false to show content without spoiler, opened state is updated on mount */
795
- initialState?: boolean;
796
- /** Controlled expanded state value */
797
- expanded?: boolean;
798
- /** Called when expanded state changes (when spoiler visibility is toggled by the user) */
799
- onExpandedChange?: (expanded: boolean) => void;
800
- /** Spoiler reveal transition duration in ms, set 0 or null to turn off animation, `200` by default */
801
- transitionDuration?: number;
802
- children?: ReactNode;
803
- ref?: Ref<HTMLElement>;
804
- }
805
- declare const Spoiler: {
806
- (props: SpoilerProps): react.JSX.Element;
807
- displayName: string;
1028
+ //#endregion
1029
+ //#region src/components/Spoiler.d.ts
1030
+ export interface SpoilerProps {
1031
+ sx?: SxProps;
1032
+ className?: string;
1033
+ style?: CSSProperties;
1034
+ id?: string;
1035
+ /** Maximum height of the visible content, when this point is reached spoiler appears, `100` by default */
1036
+ maxHeight?: number;
1037
+ /** Label for close spoiler action */
1038
+ hideLabel: React.ReactNode;
1039
+ /** Label for open spoiler action */
1040
+ showLabel: React.ReactNode;
1041
+ /** Get ref of spoiler toggle button */
1042
+ controlRef?: React.ForwardedRef<HTMLButtonElement>;
1043
+ /** Initial spoiler state, true to wrap content in spoiler, false to show content without spoiler, opened state is updated on mount */
1044
+ initialState?: boolean;
1045
+ /** Controlled expanded state value */
1046
+ expanded?: boolean;
1047
+ /** Called when expanded state changes (when spoiler visibility is toggled by the user) */
1048
+ onExpandedChange?: (expanded: boolean) => void;
1049
+ /** Spoiler reveal transition duration in ms, set 0 or null to turn off animation, `200` by default */
1050
+ transitionDuration?: number;
1051
+ children?: ReactNode;
1052
+ ref?: Ref<HTMLElement>;
1053
+ }
1054
+ export declare const Spoiler: {
1055
+ (props: SpoilerProps): import("react").JSX.Element;
1056
+ displayName: string;
808
1057
  };
809
-
810
- interface StackColumnProps extends Omit<StackProps, 'direction'> {
811
- center?: boolean;
812
- alignItems?: React.CSSProperties['alignItems'];
813
- justifyContent?: React.CSSProperties['justifyContent'];
1058
+ //#endregion
1059
+ //#region src/components/stack/StackColumn.d.ts
1060
+ export interface StackColumnProps extends Omit<StackProps, 'direction'> {
1061
+ center?: boolean;
1062
+ alignItems?: React.CSSProperties['alignItems'];
1063
+ justifyContent?: React.CSSProperties['justifyContent'];
814
1064
  }
815
1065
  /** 원본 createComponent가 노출하던 서브변형 Props 타입 표면과 동일(StackProps 기반, direction 포함). */
816
1066
  interface StackColumnSubVariantProps extends StackProps {
817
- alignItems?: React.CSSProperties['alignItems'];
818
- justifyContent?: React.CSSProperties['justifyContent'];
1067
+ alignItems?: React.CSSProperties['alignItems'];
1068
+ justifyContent?: React.CSSProperties['justifyContent'];
819
1069
  }
820
1070
  declare const StackColumnCenter: FunctionComponent<StackColumnSubVariantProps>;
821
1071
  declare const StackColumnStart: FunctionComponent<StackColumnSubVariantProps>;
@@ -824,23 +1074,24 @@ declare const StackColumnBetween: FunctionComponent<StackColumnSubVariantProps>;
824
1074
  declare const StackColumnAround: FunctionComponent<StackColumnSubVariantProps>;
825
1075
  declare const StackColumnEvenly: FunctionComponent<StackColumnSubVariantProps>;
826
1076
  interface StackColumnComponent extends React.FunctionComponent<StackColumnProps> {
827
- Start: typeof StackColumnStart;
828
- End: typeof StackColumnEnd;
829
- Between: typeof StackColumnBetween;
830
- Around: typeof StackColumnAround;
831
- Center: typeof StackColumnCenter;
832
- Evenly: typeof StackColumnEvenly;
833
- }
834
- declare const StackColumn: StackColumnComponent;
835
-
836
- interface StackRowProps extends Omit<StackProps, 'direction'> {
837
- center?: boolean;
838
- alignItems?: React.CSSProperties['alignItems'];
839
- justifyContent?: React.CSSProperties['justifyContent'];
1077
+ Start: typeof StackColumnStart;
1078
+ End: typeof StackColumnEnd;
1079
+ Between: typeof StackColumnBetween;
1080
+ Around: typeof StackColumnAround;
1081
+ Center: typeof StackColumnCenter;
1082
+ Evenly: typeof StackColumnEvenly;
1083
+ }
1084
+ export declare const StackColumn: StackColumnComponent;
1085
+ //#endregion
1086
+ //#region src/components/stack/StackRow.d.ts
1087
+ export interface StackRowProps extends Omit<StackProps, 'direction'> {
1088
+ center?: boolean;
1089
+ alignItems?: React.CSSProperties['alignItems'];
1090
+ justifyContent?: React.CSSProperties['justifyContent'];
840
1091
  }
841
1092
  interface StackRowSubVariantProps extends StackProps {
842
- alignItems?: React.CSSProperties['alignItems'];
843
- justifyContent?: React.CSSProperties['justifyContent'];
1093
+ alignItems?: React.CSSProperties['alignItems'];
1094
+ justifyContent?: React.CSSProperties['justifyContent'];
844
1095
  }
845
1096
  declare const StackRowCenter: FunctionComponent<StackRowSubVariantProps>;
846
1097
  declare const StackRowStart: FunctionComponent<StackRowSubVariantProps>;
@@ -849,31 +1100,32 @@ declare const StackRowBetween: FunctionComponent<StackRowSubVariantProps>;
849
1100
  declare const StackRowAround: FunctionComponent<StackRowSubVariantProps>;
850
1101
  declare const StackRowEvenly: FunctionComponent<StackRowSubVariantProps>;
851
1102
  interface StackRowComponent extends React.FunctionComponent<StackRowProps> {
852
- Start: typeof StackRowStart;
853
- End: typeof StackRowEnd;
854
- Between: typeof StackRowBetween;
855
- Around: typeof StackRowAround;
856
- Center: typeof StackRowCenter;
857
- Evenly: typeof StackRowEvenly;
858
- }
859
- declare const StackRow: StackRowComponent;
860
-
1103
+ Start: typeof StackRowStart;
1104
+ End: typeof StackRowEnd;
1105
+ Between: typeof StackRowBetween;
1106
+ Around: typeof StackRowAround;
1107
+ Center: typeof StackRowCenter;
1108
+ Evenly: typeof StackRowEvenly;
1109
+ }
1110
+ export declare const StackRow: StackRowComponent;
1111
+ //#endregion
1112
+ //#region src/components/top-absolute/TopAbsoluteCenter.d.ts
861
1113
  /**
862
1114
  * `TopAbsoluteCenter` 컴포넌트의 속성을 정의합니다.
863
1115
  */
864
1116
  interface TopAbsoluteCenterProps extends BoxProps {
865
- /**
866
- * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
867
- *
868
- * @default false
869
- */
870
- fullWidth?: boolean;
871
- /**
872
- * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
873
- *
874
- * @default 0
875
- */
876
- top?: CSSProperties['top'];
1117
+ /**
1118
+ * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
1119
+ *
1120
+ * @default false
1121
+ */
1122
+ fullWidth?: boolean;
1123
+ /**
1124
+ * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
1125
+ *
1126
+ * @default 0
1127
+ */
1128
+ top?: CSSProperties['top'];
877
1129
  }
878
1130
  /**
879
1131
  * `TopAbsoluteCenter` 컴포넌트는 요소를 상단 중앙에 배치하는 데 사용됩니다.
@@ -893,29 +1145,30 @@ interface TopAbsoluteCenterProps extends BoxProps {
893
1145
  * ```
894
1146
  */
895
1147
  declare const TopAbsoluteCenter: FunctionComponent<TopAbsoluteCenterProps>;
896
-
1148
+ //#endregion
1149
+ //#region src/components/top-absolute/TopAbsoluteLeft.d.ts
897
1150
  /**
898
1151
  * `TopAbsoluteLeft` 컴포넌트의 속성을 정의합니다.
899
1152
  */
900
1153
  interface TopAbsoluteLeftProps extends BoxProps {
901
- /**
902
- * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
903
- *
904
- * @default false
905
- */
906
- fullWidth?: boolean;
907
- /**
908
- * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
909
- *
910
- * @default 0
911
- */
912
- top?: CSSProperties['top'];
913
- /**
914
- * 좌측 위치를 설정합니다. CSS의 `left` 속성과 동일합니다.
915
- *
916
- * @default 0
917
- */
918
- left?: CSSProperties['left'];
1154
+ /**
1155
+ * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
1156
+ *
1157
+ * @default false
1158
+ */
1159
+ fullWidth?: boolean;
1160
+ /**
1161
+ * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
1162
+ *
1163
+ * @default 0
1164
+ */
1165
+ top?: CSSProperties['top'];
1166
+ /**
1167
+ * 좌측 위치를 설정합니다. CSS의 `left` 속성과 동일합니다.
1168
+ *
1169
+ * @default 0
1170
+ */
1171
+ left?: CSSProperties['left'];
919
1172
  }
920
1173
  /**
921
1174
  * `TopAbsoluteLeft` 컴포넌트는 요소를 상단 좌측에 배치하는 데 사용됩니다.
@@ -935,29 +1188,30 @@ interface TopAbsoluteLeftProps extends BoxProps {
935
1188
  * ```
936
1189
  */
937
1190
  declare const TopAbsoluteLeft: FunctionComponent<TopAbsoluteLeftProps>;
938
-
1191
+ //#endregion
1192
+ //#region src/components/top-absolute/TopAbsoluteRight.d.ts
939
1193
  /**
940
1194
  * `TopAbsoluteRight` 컴포넌트의 속성을 정의합니다.
941
1195
  */
942
1196
  interface TopAbsoluteRightProps extends BoxProps {
943
- /**
944
- * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
945
- *
946
- * @default false
947
- */
948
- fullWidth?: boolean;
949
- /**
950
- * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
951
- *
952
- * @default 0
953
- */
954
- top?: CSSProperties['top'];
955
- /**
956
- * 우측 위치를 설정합니다. CSS의 `right` 속성과 동일합니다.
957
- *
958
- * @default 0
959
- */
960
- right?: CSSProperties['right'];
1197
+ /**
1198
+ * 컴포넌트가 부모 컨테이너의 전체 너비를 차지하도록 설정합니다.
1199
+ *
1200
+ * @default false
1201
+ */
1202
+ fullWidth?: boolean;
1203
+ /**
1204
+ * 상단 위치를 설정합니다. CSS의 `top` 속성과 동일합니다.
1205
+ *
1206
+ * @default 0
1207
+ */
1208
+ top?: CSSProperties['top'];
1209
+ /**
1210
+ * 우측 위치를 설정합니다. CSS의 `right` 속성과 동일합니다.
1211
+ *
1212
+ * @default 0
1213
+ */
1214
+ right?: CSSProperties['right'];
961
1215
  }
962
1216
  /**
963
1217
  * `TopAbsoluteRight` 컴포넌트는 요소를 상단 우측에 배치하는 데 사용됩니다.
@@ -977,82 +1231,176 @@ interface TopAbsoluteRightProps extends BoxProps {
977
1231
  * ```
978
1232
  */
979
1233
  declare const TopAbsoluteRight: FunctionComponent<TopAbsoluteRightProps>;
980
-
1234
+ //#endregion
1235
+ //#region src/components/top-absolute/TopAbsolute.d.ts
981
1236
  /**
982
1237
  * `TopAbsolute` 컴포넌트의 속성을 정의합니다.
983
1238
  */
984
- interface TopAbsoluteProps extends BoxProps {
985
- /**
986
- * 상단 위치를 설정합니다.
987
- *
988
- * @default 0
989
- */
990
- top?: CSSProperties['top'];
991
- /**
992
- * 좌측 위치를 설정합니다.
993
- *
994
- * @default 0
995
- */
996
- left?: CSSProperties['left'];
997
- /**
998
- * 우측 위치를 설정합니다.
999
- *
1000
- * @default 0
1001
- */
1002
- right?: CSSProperties['right'];
1239
+ export interface TopAbsoluteProps extends BoxProps {
1240
+ /**
1241
+ * 상단 위치를 설정합니다.
1242
+ *
1243
+ * @default 0
1244
+ */
1245
+ top?: CSSProperties['top'];
1246
+ /**
1247
+ * 좌측 위치를 설정합니다.
1248
+ *
1249
+ * @default 0
1250
+ */
1251
+ left?: CSSProperties['left'];
1252
+ /**
1253
+ * 우측 위치를 설정합니다.
1254
+ *
1255
+ * @default 0
1256
+ */
1257
+ right?: CSSProperties['right'];
1003
1258
  }
1004
1259
  interface TopAbsoluteComponent extends React.FunctionComponent<TopAbsoluteProps> {
1005
- Left: typeof TopAbsoluteLeft;
1006
- Right: typeof TopAbsoluteRight;
1007
- Center: typeof TopAbsoluteCenter;
1008
- }
1009
- declare const TopAbsolute: TopAbsoluteComponent;
1010
-
1011
- interface XsOrDownProps {
1012
- children?: ReactNode | ReactNode[];
1013
- }
1014
- declare function XsOrDown(props: XsOrDownProps): react.JSX.Element | null;
1015
-
1016
- declare const isTabKeyEvent: (e: React.KeyboardEvent) => boolean;
1017
- declare const isEnterOrTabKeyEvent: (e: React.KeyboardEvent) => boolean;
1018
- declare const isEnterKeyEvent: (e: React.KeyboardEvent) => boolean;
1019
- declare const isEscapeKeyEvent: (e: React.KeyboardEvent) => boolean;
1020
- declare const isTouchEvent: (event: MouseEvent | TouchEvent) => event is TouchEvent;
1021
- declare const isMouseEvent: (event: MouseEvent | TouchEvent) => event is MouseEvent;
1022
- declare const blurEventTarget: (event: {
1023
- target: EventTarget | null;
1260
+ Left: typeof TopAbsoluteLeft;
1261
+ Right: typeof TopAbsoluteRight;
1262
+ Center: typeof TopAbsoluteCenter;
1263
+ }
1264
+ export declare const TopAbsolute: TopAbsoluteComponent;
1265
+ //#endregion
1266
+ //#region src/components/XsOrDown.d.ts
1267
+ export interface XsOrDownProps {
1268
+ children?: ReactNode | ReactNode[];
1269
+ }
1270
+ export declare function XsOrDown(props: XsOrDownProps): import("react").JSX.Element | null;
1271
+ //#endregion
1272
+ //#region src/components/YmdTextField.d.ts
1273
+ /**
1274
+ * 숫자 기반 생년월일 입력을 다루는 텍스트 필드 속성입니다.
1275
+ *
1276
+ * 핵심 계약:
1277
+ * - `value`는 "숫자만" 보관한다. (예: `19900101`)
1278
+ * - `onChange`는 항상 정규화된 숫자 문자열을 전달한다.
1279
+ * - `format`은 필수이며, 표시 포맷 기준(6자리/8자리)을 결정한다.
1280
+ */
1281
+ export interface YmdTextFieldProps extends Omit<TextFieldProps, 'value' | 'onChange'> {
1282
+ /**
1283
+ * 제어값(숫자만).
1284
+ *
1285
+ * @example
1286
+ * - `990101`
1287
+ * - `19900101`
1288
+ */
1289
+ value: string;
1290
+ /**
1291
+ * 값 변경 핸들러.
1292
+ * 사용자 입력 문자열은 내부에서 숫자만 남긴 뒤 이 콜백으로 전달된다.
1293
+ */
1294
+ onChange: (value: string) => void;
1295
+ /**
1296
+ * 화면 표시용 포맷 문자열.
1297
+ *
1298
+ * - `YYYY`가 포함되면 8자리 입력이 완성됐을 때 포맷이 적용된다.
1299
+ * - `YY`(without `YYYY`)가 포함되면 6자리 입력이 완성됐을 때 포맷이 적용된다.
1300
+ *
1301
+ * @example
1302
+ * - `YYYY-MM-DD`
1303
+ * - `YY/MM/DD`
1304
+ */
1305
+ format: string;
1306
+ }
1307
+ /**
1308
+ * YYMMDD / YYYYMMDD 날짜 입력 전용 `TextField`.
1309
+ *
1310
+ * 동작 규칙:
1311
+ * - 표시값은 `formatNumericDateWhenComplete`를 사용해 "완성 길이(6/8)"에서만 포맷 적용
1312
+ * - 입력값은 `normalizeNumericDate`로 숫자 외 문자를 제거한 뒤 부모 상태로 전달
1313
+ * - `placeholder` 미지정 시 `format` 문자열을 그대로 표시
1314
+ * - 모바일 숫자 키패드를 위해 `input`에 `inputMode='numeric'`을 적용 (`slotProps.htmlInput`으로 덮어쓸 수 있음)
1315
+ */
1316
+ export declare function YmdTextField(props: YmdTextFieldProps): import("react").JSX.Element;
1317
+ //#endregion
1318
+ //#region src/components/YmdTypography.d.ts
1319
+ /**
1320
+ * 숫자 날짜 문자열을 포매팅해 출력하는 타이포그래피 컴포넌트 속성입니다.
1321
+ */
1322
+ export interface YmdTypographyProps extends Omit<TypographyProps, 'children'> {
1323
+ /** YYYYMMDD 또는 YYMMDD 형식의 날짜 문자열 또는 숫자입니다. */
1324
+ value: number | string | null | undefined;
1325
+ /** 출력 포맷입니다. 예: `YYYY-MM-DD`, `YY/MM/DD` */
1326
+ format?: string;
1327
+ /** 값이 없거나 포매팅에 실패했을 때 대신 표시할 문자열입니다. */
1328
+ fallback?: string;
1329
+ /**
1330
+ * 가공하지 않고 표시, 기본값: false
1331
+ */
1332
+ raw?: boolean;
1333
+ }
1334
+ /**
1335
+ * YMD 날짜 문자열을 지정한 형식으로 변환해 표시합니다.
1336
+ */
1337
+ export declare function YmdTypography(props: YmdTypographyProps): import("react").JSX.Element;
1338
+ //#endregion
1339
+ //#region src/components/YmTypography.d.ts
1340
+ /**
1341
+ * 숫자 연월 문자열을 포매팅해 출력하는 타이포그래피 컴포넌트 속성입니다.
1342
+ */
1343
+ export interface YmTypographyProps extends Omit<TypographyProps, 'children'> {
1344
+ /** YYYYMM 형식의 연월 문자열 또는 숫자입니다. */
1345
+ value: number | string | null | undefined;
1346
+ /** 출력 포맷입니다. 예: `YYYY-MM`, `YYYY/MM` */
1347
+ format?: string;
1348
+ /** 값이 없거나 포매팅에 실패했을 때 대신 표시할 문자열입니다. */
1349
+ fallback?: string;
1350
+ /**
1351
+ * 가공하지 않고 표시, 기본값: false
1352
+ */
1353
+ raw?: boolean;
1354
+ }
1355
+ /**
1356
+ * YM 연월 문자열을 지정한 형식으로 변환해 표시합니다.
1357
+ */
1358
+ export declare function YmTypography(props: YmTypographyProps): import("react").JSX.Element;
1359
+ //#endregion
1360
+ //#region src/util/event-utils.d.ts
1361
+ export declare const isTabKeyEvent: (e: React.KeyboardEvent) => boolean;
1362
+ export declare const isEnterOrTabKeyEvent: (e: React.KeyboardEvent) => boolean;
1363
+ export declare const isEnterKeyEvent: (e: React.KeyboardEvent) => boolean;
1364
+ export declare const isEscapeKeyEvent: (e: React.KeyboardEvent) => boolean;
1365
+ export declare const isTouchEvent: (event: MouseEvent | TouchEvent) => event is TouchEvent;
1366
+ export declare const isMouseEvent: (event: MouseEvent | TouchEvent) => event is MouseEvent;
1367
+ export declare const blurEventTarget: (event: {
1368
+ target: EventTarget | null;
1024
1369
  }, delay?: number) => void;
1025
-
1026
- declare const requestFocusSelector: (parent: HTMLElement | Document | undefined | null, selector: string, delay?: number) => void;
1027
- declare const requestSelector: (el: HTMLElement | Document | null | undefined, selector: string, callback: (elemnt: HTMLElement) => void, timeout?: number) => void;
1028
- declare function isWebSerialSupportBrowser(): boolean;
1029
- declare function isTouchDevice(): boolean;
1030
- declare function matchesOrClosest<T extends HTMLElement>(target: Element, selector: string): T | undefined;
1031
- declare function getAbsolutePosition(element: HTMLElement): {
1032
- x: number;
1033
- y: number;
1370
+ //#endregion
1371
+ //#region src/util/misc-utils.d.ts
1372
+ export declare const requestFocusSelector: (parent: HTMLElement | Document | undefined | null, selector: string, delay?: number) => void;
1373
+ export declare const requestSelector: (el: HTMLElement | Document | null | undefined, selector: string, callback: (elemnt: HTMLElement) => void, timeout?: number) => void;
1374
+ export declare function isWebSerialSupportBrowser(): boolean;
1375
+ export declare function isTouchDevice(): boolean;
1376
+ export declare function matchesOrClosest<T extends HTMLElement>(target: Element, selector: string): T | undefined;
1377
+ export declare function getAbsolutePosition(element: HTMLElement): {
1378
+ x: number;
1379
+ y: number;
1034
1380
  };
1035
- declare const isBrowser: boolean;
1036
- declare const isNavigator: boolean;
1037
- declare const noop: () => void;
1038
-
1381
+ export declare const isBrowser: boolean;
1382
+ export declare const isNavigator: boolean;
1383
+ export declare const noop: () => void;
1384
+ //#endregion
1385
+ //#region src/util/sx-props.d.ts
1039
1386
  /**
1040
1387
  * SxProps를 flatten 한 배열로 만든다.
1041
1388
  * @param sxArray - SxProps의 배열
1042
1389
  * @returns SxProps
1043
1390
  */
1044
- declare function flatSx<T extends Theme = Theme>(...sxArray: (SxProps<T> | undefined | false | null)[]): SxProps<T>;
1045
- declare function firstSx<T extends Theme = Theme>(...sxArray: (SxProps<T> | undefined)[]): SxProps<T> | undefined;
1391
+ export declare function flatSx<T extends Theme = Theme>(...sxArray: (SxProps<T> | undefined | false | null)[]): SxProps<T>;
1392
+ export declare function firstSx<T extends Theme = Theme>(...sxArray: (SxProps<T> | undefined)[]): SxProps<T> | undefined;
1046
1393
  /**
1047
1394
  * 다이얼로그 높이 SxProps
1048
1395
  * @param key - key of height
1049
1396
  * @param heightInPercent - height in percent [0~100]
1050
1397
  * @returns Mui Dialog의 높이 설정 SxProps
1051
1398
  */
1052
- declare const sxDialogHeight: (key?: "height" | "minHeight" | "maxHeight", heightInPercent?: number) => {
1053
- '& .MuiDialog-scrollPaper > .MuiDialog-paper': {
1054
- [x: string]: string;
1055
- };
1399
+ export declare const sxDialogHeight: (key?: "height" | "minHeight" | "maxHeight", heightInPercent?: number) => {
1400
+ '& .MuiDialog-scrollPaper > .MuiDialog-paper': {
1401
+ [x: string]: string;
1402
+ };
1056
1403
  };
1057
-
1058
- export { BottomAbsolute, type BottomAbsoluteCenterProps, type BottomAbsoluteLeftProps, type BottomAbsoluteProps, type BottomAbsoluteRightProps, Center, CenterAbsolute, type CenterAbsoluteCenterProps, type CenterAbsoluteLeftProps, type CenterAbsoluteProps, type CenterAbsoluteRightProps, type CenterProps, CooldownButton, CooldownButtonBase, type CooldownButtonBaseProps, type CooldownButtonProps, CooldownIconButton, type CooldownIconButtonProps, CopyButtonWrapper, type CopyButtonWrapperProps, CustomTableBody, type CustomTableBodyProps, DebouncedButton, DebouncedButtonBase, type DebouncedButtonBaseProps, type DebouncedButtonProps, DebouncedIconButton, type DebouncedIconButtonProps, DebouncedRender, type DebouncedRenderProps, FileButton, type FileButtonProps, type FlexBaseProps, FlexColumn, type FlexColumnProps, FlexItemsContainer, type FlexItemsContainerProps, FlexRow, type FlexRowProps, FloatingIndicator, type FloatingIndicatorProps, Hide, type HideProps, Highlight, type HighlightProps, LengthLimitHelperText, LgOrUp, type LgOrUpProps, Mark, type MarkProps, MdOrDown, type MdOrDownProps, MdOrUp, type MdOrUpProps, Paper, type PaperProps, Portlet, type PortletContentProps, type PortletFooterProps, type PortletHeaderProps, type PortletLabelProps, type PortletProps, type PortletToolbarProps, SegmentedControl, type SegmentedControlItem, type SegmentedControlProps, Show, type ShowProps, SmOrDown, type SmOrDownProps, SmOrUp, type SmOrUpProps, Space, type SpaceProps, Spoiler, type SpoilerProps, StackColumn, type StackColumnProps, StackRow, type StackRowProps, TopAbsolute, type TopAbsoluteCenterProps, type TopAbsoluteLeftProps, type TopAbsoluteProps, type TopAbsoluteRightProps, XsOrDown, type XsOrDownProps, blurEventTarget, firstSx, flatSx, getAbsolutePosition, isBrowser, isEnterKeyEvent, isEnterOrTabKeyEvent, isEscapeKeyEvent, isMouseEvent, isNavigator, isTabKeyEvent, isTouchDevice, isTouchEvent, isWebSerialSupportBrowser, matchesOrClosest, noop, requestFocusSelector, requestSelector, sxDialogHeight };
1404
+ //#endregion
1405
+ export { type BottomAbsoluteCenterProps, type BottomAbsoluteLeftProps, type BottomAbsoluteRightProps, type CenterAbsoluteCenterProps, type CenterAbsoluteLeftProps, type CenterAbsoluteRightProps, Closables, type FlexBaseProps, type HighlightProps, type PortletContentProps, type PortletFooterProps, type PortletHeaderProps, type PortletLabelProps, type PortletTitleProps, type PortletToolbarProps, type TopAbsoluteCenterProps, type TopAbsoluteLeftProps, type TopAbsoluteRightProps };
1406
+ //# sourceMappingURL=index.d.cts.map