@cp949/mui-react19 2.0.1 → 2.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -5
- package/dist/chunk-2OEB5VHZ.js +2 -0
- package/dist/chunk-2OEB5VHZ.js.map +1 -0
- package/dist/chunk-M4G6J7DP.cjs.map +1 -1
- package/dist/chunk-QNR3IXPA.cjs +2 -0
- package/dist/chunk-QNR3IXPA.cjs.map +1 -0
- package/dist/file-drop/index.cjs +1 -1
- package/dist/file-drop/index.cjs.map +1 -1
- package/dist/file-drop/index.d.cts +3 -2
- package/dist/file-drop/index.d.ts +3 -2
- package/dist/file-drop/index.js +1 -1
- package/dist/file-drop/index.js.map +1 -1
- package/dist/helper/index.cjs.map +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.cts +64 -34
- package/dist/hooks/index.d.ts +64 -34
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/index.js.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +213 -74
- package/dist/index.d.ts +213 -74
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/parallel-map-V2OVUIFQ.cjs.map +1 -1
- package/package.json +26 -28
- package/dist/chunk-F2OL5PTS.js +0 -2
- package/dist/chunk-F2OL5PTS.js.map +0 -1
- package/dist/chunk-YXXXYWHI.cjs +0 -2
- package/dist/chunk-YXXXYWHI.cjs.map +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { BoxProps, ButtonProps, ButtonBaseProps, IconButtonProps, TableBodyProps, GridProps, SxProps, Theme, TypographyProps, PaperProps as PaperProps$1, StackProps } from '@mui/material';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { CSSProperties, ReactNode, FC, ReactElement } from 'react';
|
|
4
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { FunctionComponent, CSSProperties, ReactNode, FC, ReactElement, Ref } from 'react';
|
|
5
4
|
export { C as Closables } from './closables-BK0Db72u.js';
|
|
6
5
|
import 'rxjs';
|
|
7
6
|
|
|
@@ -9,28 +8,28 @@ interface BottomAbsoluteCenterProps extends BoxProps {
|
|
|
9
8
|
fullWidth?: boolean;
|
|
10
9
|
bottom?: CSSProperties['bottom'];
|
|
11
10
|
}
|
|
12
|
-
declare const BottomAbsoluteCenter:
|
|
11
|
+
declare const BottomAbsoluteCenter: FunctionComponent<BottomAbsoluteCenterProps>;
|
|
13
12
|
|
|
14
13
|
interface BottomAbsoluteLeftProps extends BoxProps {
|
|
15
14
|
fullWidth?: boolean;
|
|
16
15
|
bottom?: CSSProperties['bottom'];
|
|
17
16
|
left?: CSSProperties['left'];
|
|
18
17
|
}
|
|
19
|
-
declare const BottomAbsoluteLeft:
|
|
18
|
+
declare const BottomAbsoluteLeft: FunctionComponent<BottomAbsoluteLeftProps>;
|
|
20
19
|
|
|
21
20
|
interface BottomAbsoluteRightProps extends BoxProps {
|
|
22
21
|
fullWidth?: boolean;
|
|
23
22
|
bottom?: CSSProperties['bottom'];
|
|
24
23
|
right?: CSSProperties['right'];
|
|
25
24
|
}
|
|
26
|
-
declare const BottomAbsoluteRight:
|
|
25
|
+
declare const BottomAbsoluteRight: FunctionComponent<BottomAbsoluteRightProps>;
|
|
27
26
|
|
|
28
27
|
interface BottomAbsoluteProps extends BoxProps {
|
|
29
28
|
left?: CSSProperties['left'];
|
|
30
29
|
right?: CSSProperties['right'];
|
|
31
30
|
bottom?: CSSProperties['bottom'];
|
|
32
31
|
}
|
|
33
|
-
interface BottomAbsoluteComponent extends React.
|
|
32
|
+
interface BottomAbsoluteComponent extends React.FunctionComponent<BottomAbsoluteProps> {
|
|
34
33
|
Left: typeof BottomAbsoluteLeft;
|
|
35
34
|
Right: typeof BottomAbsoluteRight;
|
|
36
35
|
Center: typeof BottomAbsoluteCenter;
|
|
@@ -40,7 +39,10 @@ declare const BottomAbsolute: BottomAbsoluteComponent;
|
|
|
40
39
|
interface CenterProps extends BoxProps {
|
|
41
40
|
vertical?: boolean;
|
|
42
41
|
}
|
|
43
|
-
declare const Center:
|
|
42
|
+
declare const Center: {
|
|
43
|
+
({ vertical, sx, ref, ...props }: CenterProps): react.JSX.Element;
|
|
44
|
+
displayName: string;
|
|
45
|
+
};
|
|
44
46
|
|
|
45
47
|
interface CooldownButtonProps extends ButtonProps {
|
|
46
48
|
/**
|
|
@@ -48,7 +50,10 @@ interface CooldownButtonProps extends ButtonProps {
|
|
|
48
50
|
*/
|
|
49
51
|
cooldown?: number;
|
|
50
52
|
}
|
|
51
|
-
declare const CooldownButton:
|
|
53
|
+
declare const CooldownButton: {
|
|
54
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonProps): react.JSX.Element;
|
|
55
|
+
displayName: string;
|
|
56
|
+
};
|
|
52
57
|
|
|
53
58
|
interface CooldownButtonBaseProps extends ButtonBaseProps {
|
|
54
59
|
/**
|
|
@@ -56,7 +61,10 @@ interface CooldownButtonBaseProps extends ButtonBaseProps {
|
|
|
56
61
|
*/
|
|
57
62
|
cooldown?: number;
|
|
58
63
|
}
|
|
59
|
-
declare const CooldownButtonBase:
|
|
64
|
+
declare const CooldownButtonBase: {
|
|
65
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonBaseProps): react.JSX.Element;
|
|
66
|
+
displayName: string;
|
|
67
|
+
};
|
|
60
68
|
|
|
61
69
|
interface CooldownIconButtonProps extends IconButtonProps {
|
|
62
70
|
/**
|
|
@@ -64,7 +72,10 @@ interface CooldownIconButtonProps extends IconButtonProps {
|
|
|
64
72
|
*/
|
|
65
73
|
cooldown?: number;
|
|
66
74
|
}
|
|
67
|
-
declare const CooldownIconButton:
|
|
75
|
+
declare const CooldownIconButton: {
|
|
76
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownIconButtonProps): react.JSX.Element;
|
|
77
|
+
displayName: string;
|
|
78
|
+
};
|
|
68
79
|
|
|
69
80
|
interface CopyButtonWrapperProps {
|
|
70
81
|
/**
|
|
@@ -112,6 +123,12 @@ interface CopyButtonWrapperProps {
|
|
|
112
123
|
* @default 1000
|
|
113
124
|
*/
|
|
114
125
|
timeout?: number;
|
|
126
|
+
/**
|
|
127
|
+
* 클립보드 복사가 성공했을 때 호출되는 콜백 함수입니다.
|
|
128
|
+
*
|
|
129
|
+
* @param value - 클립보드에 복사된 문자열
|
|
130
|
+
*/
|
|
131
|
+
onCopySuccess?: (value: string) => void;
|
|
115
132
|
}
|
|
116
133
|
/**
|
|
117
134
|
* 클립보드 복사 버튼을 쉽게 구현하기 위한 래퍼 컴포넌트입니다.
|
|
@@ -130,36 +147,36 @@ interface CopyButtonWrapperProps {
|
|
|
130
147
|
* </CopyButtonWrapper>
|
|
131
148
|
* ```
|
|
132
149
|
*/
|
|
133
|
-
declare function CopyButtonWrapper(props: CopyButtonWrapperProps):
|
|
150
|
+
declare function CopyButtonWrapper(props: CopyButtonWrapperProps): react.JSX.Element;
|
|
134
151
|
|
|
135
152
|
interface CustomTableBodyProps extends TableBodyProps {
|
|
136
153
|
loading?: boolean;
|
|
137
154
|
stripe?: boolean;
|
|
138
155
|
}
|
|
139
|
-
declare function CustomTableBody(props: CustomTableBodyProps):
|
|
156
|
+
declare function CustomTableBody(props: CustomTableBodyProps): react.JSX.Element;
|
|
140
157
|
|
|
141
158
|
interface CenterAbsoluteCenterProps extends BoxProps {
|
|
142
159
|
fullWidth?: boolean;
|
|
143
160
|
}
|
|
144
|
-
declare const CenterAbsoluteCenter:
|
|
161
|
+
declare const CenterAbsoluteCenter: FunctionComponent<CenterAbsoluteCenterProps>;
|
|
145
162
|
|
|
146
163
|
interface CenterAbsoluteLeftProps extends BoxProps {
|
|
147
164
|
left?: CSSProperties['left'];
|
|
148
165
|
fullWidth?: boolean;
|
|
149
166
|
}
|
|
150
|
-
declare const CenterAbsoluteLeft:
|
|
167
|
+
declare const CenterAbsoluteLeft: FunctionComponent<CenterAbsoluteLeftProps>;
|
|
151
168
|
|
|
152
169
|
interface CenterAbsoluteRightProps extends BoxProps {
|
|
153
170
|
right?: CSSProperties['right'];
|
|
154
171
|
fullWidth?: boolean;
|
|
155
172
|
}
|
|
156
|
-
declare const CenterAbsoluteRight:
|
|
173
|
+
declare const CenterAbsoluteRight: FunctionComponent<CenterAbsoluteRightProps>;
|
|
157
174
|
|
|
158
175
|
interface CenterAbsoluteProps extends BoxProps {
|
|
159
176
|
left?: CSSProperties['left'];
|
|
160
177
|
right?: CSSProperties['right'];
|
|
161
178
|
}
|
|
162
|
-
interface CenterAbsoluteComponent extends React.
|
|
179
|
+
interface CenterAbsoluteComponent extends React.FunctionComponent<CenterAbsoluteProps> {
|
|
163
180
|
Left: typeof CenterAbsoluteLeft;
|
|
164
181
|
Right: typeof CenterAbsoluteRight;
|
|
165
182
|
Center: typeof CenterAbsoluteCenter;
|
|
@@ -172,7 +189,7 @@ interface DebouncedButtonProps extends ButtonProps {
|
|
|
172
189
|
*/
|
|
173
190
|
debounce?: number;
|
|
174
191
|
}
|
|
175
|
-
declare const DebouncedButton:
|
|
192
|
+
declare const DebouncedButton: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonProps) => react.JSX.Element;
|
|
176
193
|
|
|
177
194
|
interface DebouncedButtonBaseProps extends ButtonBaseProps {
|
|
178
195
|
/**
|
|
@@ -180,7 +197,7 @@ interface DebouncedButtonBaseProps extends ButtonBaseProps {
|
|
|
180
197
|
*/
|
|
181
198
|
debounce?: number;
|
|
182
199
|
}
|
|
183
|
-
declare const DebouncedButtonBase:
|
|
200
|
+
declare const DebouncedButtonBase: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonBaseProps) => react.JSX.Element;
|
|
184
201
|
|
|
185
202
|
interface DebouncedIconButtonProps extends IconButtonProps {
|
|
186
203
|
/**
|
|
@@ -188,7 +205,7 @@ interface DebouncedIconButtonProps extends IconButtonProps {
|
|
|
188
205
|
*/
|
|
189
206
|
debounce?: number;
|
|
190
207
|
}
|
|
191
|
-
declare const DebouncedIconButton:
|
|
208
|
+
declare const DebouncedIconButton: ({ debounce, onClick, disabled, ref, ...props }: DebouncedIconButtonProps) => react.JSX.Element;
|
|
192
209
|
|
|
193
210
|
/**
|
|
194
211
|
* @example
|
|
@@ -277,6 +294,10 @@ interface FileButtonProps<Multiple extends boolean = false> {
|
|
|
277
294
|
* 파일 입력 요소에 전달할 추가 속성입니다.
|
|
278
295
|
*/
|
|
279
296
|
inputProps?: React.ComponentPropsWithoutRef<'input'>;
|
|
297
|
+
/**
|
|
298
|
+
* 내부 파일 입력(`<input type="file">`) 요소로 전달되는 참조입니다.
|
|
299
|
+
*/
|
|
300
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
280
301
|
}
|
|
281
302
|
type FileButtonComponent = (<Multiple extends boolean = false>(props: FileButtonProps<Multiple>) => React.ReactElement) & {
|
|
282
303
|
displayName?: string;
|
|
@@ -367,7 +388,7 @@ interface FloatingIndicatorProps extends BoxProps {
|
|
|
367
388
|
* 주어진 `target`과 `parent` 요소를 기준으로 인디케이터를 화면에 표시하는 컴포넌트입니다.
|
|
368
389
|
* 인디케이터는 부모 요소를 기준으로 `absolute` 위치로 배치되며, 다양한 전환 효과를 지원합니다.
|
|
369
390
|
*/
|
|
370
|
-
declare const FloatingIndicator:
|
|
391
|
+
declare const FloatingIndicator: (props: FloatingIndicatorProps) => react.JSX.Element | null;
|
|
371
392
|
|
|
372
393
|
interface FlexBaseProps extends BoxProps {
|
|
373
394
|
alignItems?: CSSProperties['alignItems'];
|
|
@@ -376,16 +397,16 @@ interface FlexBaseProps extends BoxProps {
|
|
|
376
397
|
inlineFlex?: boolean;
|
|
377
398
|
}
|
|
378
399
|
|
|
379
|
-
declare const FlexColumnStart:
|
|
380
|
-
declare const FlexColumnEnd:
|
|
381
|
-
declare const FlexColumnCenter:
|
|
382
|
-
declare const FlexColumnAround:
|
|
383
|
-
declare const FlexColumnBetween:
|
|
384
|
-
declare const FlexColumnEvenly:
|
|
400
|
+
declare const FlexColumnStart: FunctionComponent<FlexBaseProps>;
|
|
401
|
+
declare const FlexColumnEnd: FunctionComponent<FlexBaseProps>;
|
|
402
|
+
declare const FlexColumnCenter: FunctionComponent<FlexBaseProps>;
|
|
403
|
+
declare const FlexColumnAround: FunctionComponent<FlexBaseProps>;
|
|
404
|
+
declare const FlexColumnBetween: FunctionComponent<FlexBaseProps>;
|
|
405
|
+
declare const FlexColumnEvenly: FunctionComponent<FlexBaseProps>;
|
|
385
406
|
interface FlexColumnProps extends FlexBaseProps {
|
|
386
407
|
center?: boolean;
|
|
387
408
|
}
|
|
388
|
-
interface FlexColumnComponent extends React.
|
|
409
|
+
interface FlexColumnComponent extends React.FunctionComponent<FlexColumnProps> {
|
|
389
410
|
Start: typeof FlexColumnStart;
|
|
390
411
|
End: typeof FlexColumnEnd;
|
|
391
412
|
Center: typeof FlexColumnCenter;
|
|
@@ -395,16 +416,16 @@ interface FlexColumnComponent extends React.ForwardRefExoticComponent<FlexColumn
|
|
|
395
416
|
}
|
|
396
417
|
declare const FlexColumn: FlexColumnComponent;
|
|
397
418
|
|
|
398
|
-
declare const FlexRowStart:
|
|
399
|
-
declare const FlexRowEnd:
|
|
400
|
-
declare const FlexRowAround:
|
|
401
|
-
declare const FlexRowBetween:
|
|
402
|
-
declare const FlexRowEvenly:
|
|
403
|
-
declare const FlexRowCenter:
|
|
419
|
+
declare const FlexRowStart: FunctionComponent<FlexBaseProps>;
|
|
420
|
+
declare const FlexRowEnd: FunctionComponent<FlexBaseProps>;
|
|
421
|
+
declare const FlexRowAround: FunctionComponent<FlexBaseProps>;
|
|
422
|
+
declare const FlexRowBetween: FunctionComponent<FlexBaseProps>;
|
|
423
|
+
declare const FlexRowEvenly: FunctionComponent<FlexBaseProps>;
|
|
424
|
+
declare const FlexRowCenter: FunctionComponent<FlexBaseProps>;
|
|
404
425
|
interface FlexRowProps extends FlexBaseProps {
|
|
405
426
|
center?: boolean;
|
|
406
427
|
}
|
|
407
|
-
interface FlexRowComponent extends React.
|
|
428
|
+
interface FlexRowComponent extends React.FunctionComponent<FlexRowProps> {
|
|
408
429
|
Start: typeof FlexRowStart;
|
|
409
430
|
End: typeof FlexRowEnd;
|
|
410
431
|
Center: typeof FlexRowCenter;
|
|
@@ -483,6 +504,7 @@ interface HighlightProps {
|
|
|
483
504
|
* @default false
|
|
484
505
|
*/
|
|
485
506
|
includeDataAttribute?: boolean;
|
|
507
|
+
ref?: Ref<HTMLElement>;
|
|
486
508
|
}
|
|
487
509
|
/**
|
|
488
510
|
* `Highlight` 컴포넌트는 주어진 텍스트에서 특정 문자열을 강조 표시합니다.
|
|
@@ -505,7 +527,10 @@ interface HighlightProps {
|
|
|
505
527
|
* </Highlight>
|
|
506
528
|
* ```
|
|
507
529
|
*/
|
|
508
|
-
declare const Highlight:
|
|
530
|
+
declare const Highlight: {
|
|
531
|
+
(props: HighlightProps): react.JSX.Element;
|
|
532
|
+
displayName: string;
|
|
533
|
+
};
|
|
509
534
|
|
|
510
535
|
interface Props {
|
|
511
536
|
sx?: SxProps;
|
|
@@ -514,12 +539,12 @@ interface Props {
|
|
|
514
539
|
maxLen: number;
|
|
515
540
|
currentLen?: number;
|
|
516
541
|
}
|
|
517
|
-
declare function LengthLimitHelperText(props: Props):
|
|
542
|
+
declare function LengthLimitHelperText(props: Props): react.JSX.Element;
|
|
518
543
|
|
|
519
544
|
interface LgOrUpProps {
|
|
520
545
|
children?: ReactNode | ReactNode[];
|
|
521
546
|
}
|
|
522
|
-
declare function LgOrUp(props: LgOrUpProps):
|
|
547
|
+
declare function LgOrUp(props: LgOrUpProps): react.JSX.Element | null;
|
|
523
548
|
|
|
524
549
|
interface MarkProps {
|
|
525
550
|
sx?: SxProps;
|
|
@@ -527,49 +552,150 @@ interface MarkProps {
|
|
|
527
552
|
color?: string;
|
|
528
553
|
bgcolor?: string;
|
|
529
554
|
children?: ReactNode;
|
|
555
|
+
ref?: Ref<HTMLElement>;
|
|
530
556
|
}
|
|
531
|
-
declare const Mark:
|
|
557
|
+
declare const Mark: {
|
|
558
|
+
(props: MarkProps): react.JSX.Element;
|
|
559
|
+
displayName: string;
|
|
560
|
+
};
|
|
532
561
|
|
|
533
562
|
interface MdOrDownProps {
|
|
534
563
|
children?: ReactNode | ReactNode[];
|
|
535
564
|
}
|
|
536
|
-
declare function MdOrDown(props: MdOrDownProps):
|
|
565
|
+
declare function MdOrDown(props: MdOrDownProps): react.JSX.Element | null;
|
|
537
566
|
|
|
538
567
|
interface MdOrUpProps {
|
|
539
568
|
children?: ReactNode | ReactNode[];
|
|
540
569
|
}
|
|
541
|
-
declare function MdOrUp(props: MdOrUpProps):
|
|
570
|
+
declare function MdOrUp(props: MdOrUpProps): react.JSX.Element | null;
|
|
542
571
|
|
|
543
572
|
interface PaperProps extends PaperProps$1 {
|
|
544
573
|
squared?: boolean;
|
|
545
574
|
outlined?: boolean;
|
|
546
575
|
}
|
|
547
|
-
declare function Paper(props: PaperProps):
|
|
576
|
+
declare function Paper(props: PaperProps): react.JSX.Element;
|
|
548
577
|
|
|
549
578
|
interface PortletContentProps extends BoxProps {
|
|
550
579
|
noPadding?: boolean;
|
|
551
580
|
}
|
|
552
|
-
|
|
581
|
+
/**
|
|
582
|
+
* Portlet의 본문 영역을 렌더링합니다.
|
|
583
|
+
*
|
|
584
|
+
* @param props Box 속성과 여백 설정
|
|
585
|
+
* @returns 본문 레이아웃이 적용된 Box
|
|
586
|
+
* @example
|
|
587
|
+
* ```tsx
|
|
588
|
+
* <Portlet.Content noPadding>내용</Portlet.Content>
|
|
589
|
+
* ```
|
|
590
|
+
*/
|
|
591
|
+
declare const PortletContent: {
|
|
592
|
+
(props: PortletContentProps): react.JSX.Element;
|
|
593
|
+
displayName: string;
|
|
594
|
+
};
|
|
553
595
|
|
|
554
596
|
interface PortletFooterProps extends BoxProps {
|
|
555
597
|
noDivider?: boolean;
|
|
556
598
|
}
|
|
557
|
-
|
|
599
|
+
/**
|
|
600
|
+
* Portlet의 하단 영역을 렌더링합니다.
|
|
601
|
+
*
|
|
602
|
+
* @param props Box 속성과 구분선 설정
|
|
603
|
+
* @returns 하단 레이아웃이 적용된 Box
|
|
604
|
+
* @example
|
|
605
|
+
* ```tsx
|
|
606
|
+
* <Portlet.Footer noDivider>하단 내용</Portlet.Footer>
|
|
607
|
+
* ```
|
|
608
|
+
*/
|
|
609
|
+
declare const PortletFooter: {
|
|
610
|
+
(props: PortletFooterProps): react.JSX.Element;
|
|
611
|
+
displayName: string;
|
|
612
|
+
};
|
|
558
613
|
|
|
559
614
|
interface PortletHeaderProps extends BoxProps {
|
|
560
615
|
noDivider?: boolean;
|
|
561
616
|
noPadding?: boolean;
|
|
562
617
|
}
|
|
563
|
-
|
|
618
|
+
/**
|
|
619
|
+
* Portlet의 Label과 Toolbar를 배치하는 상단 영역을 렌더링합니다.
|
|
620
|
+
*
|
|
621
|
+
* @param props Box 속성과 여백·구분선 설정
|
|
622
|
+
* @returns 상단 레이아웃이 적용된 Box
|
|
623
|
+
* @example
|
|
624
|
+
* ```tsx
|
|
625
|
+
* <Portlet.Header>
|
|
626
|
+
* <Portlet.Label title='제목' />
|
|
627
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
628
|
+
* </Portlet.Header>
|
|
629
|
+
* ```
|
|
630
|
+
*/
|
|
631
|
+
declare const PortletHeader: {
|
|
632
|
+
(props: PortletHeaderProps): react.JSX.Element;
|
|
633
|
+
displayName: string;
|
|
634
|
+
};
|
|
635
|
+
|
|
636
|
+
interface PortletLabelProps extends BoxProps {
|
|
637
|
+
icon?: ReactNode;
|
|
638
|
+
/** 제목 Typography에 표시할 텍스트입니다. HTML `title` 속성으로 전달되지 않습니다. */
|
|
639
|
+
title?: string;
|
|
640
|
+
subtitle?: string;
|
|
641
|
+
}
|
|
642
|
+
/**
|
|
643
|
+
* Portlet Header에 아이콘, 제목, 부제목을 표시합니다.
|
|
644
|
+
*
|
|
645
|
+
* @param props Box 속성과 표시할 아이콘·제목·부제목
|
|
646
|
+
* @returns Label 레이아웃이 적용된 Box
|
|
647
|
+
* @example
|
|
648
|
+
* ```tsx
|
|
649
|
+
* <Portlet.Label title='제목' subtitle='부제목' />
|
|
650
|
+
* ```
|
|
651
|
+
*/
|
|
652
|
+
declare const PortletLabel: {
|
|
653
|
+
(props: PortletLabelProps): react.JSX.Element;
|
|
654
|
+
displayName: string;
|
|
655
|
+
};
|
|
656
|
+
|
|
657
|
+
type PortletToolbarProps = BoxProps;
|
|
658
|
+
/**
|
|
659
|
+
* Portlet Header의 도구를 우측에 배치합니다.
|
|
660
|
+
*
|
|
661
|
+
* @param props Box 속성과 Toolbar 자식 요소
|
|
662
|
+
* @returns 우측 정렬된 Toolbar Box
|
|
663
|
+
* @example
|
|
664
|
+
* ```tsx
|
|
665
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
666
|
+
* ```
|
|
667
|
+
*/
|
|
668
|
+
declare const PortletToolbar: {
|
|
669
|
+
(props: PortletToolbarProps): react.JSX.Element;
|
|
670
|
+
displayName: string;
|
|
671
|
+
};
|
|
564
672
|
|
|
565
673
|
interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
|
|
566
674
|
children?: ReactNode;
|
|
567
675
|
}
|
|
568
|
-
interface PortletComponent extends
|
|
676
|
+
interface PortletComponent extends FunctionComponent<PortletProps> {
|
|
569
677
|
Content: typeof PortletContent;
|
|
570
678
|
Header: typeof PortletHeader;
|
|
571
679
|
Footer: typeof PortletFooter;
|
|
680
|
+
Label: typeof PortletLabel;
|
|
681
|
+
Toolbar: typeof PortletToolbar;
|
|
572
682
|
}
|
|
683
|
+
/**
|
|
684
|
+
* Label, Toolbar, Content, Footer를 조립하는 카드형 컨테이너입니다.
|
|
685
|
+
*
|
|
686
|
+
* @param props Paper 속성과 Portlet 자식 요소
|
|
687
|
+
* @returns 테두리와 세로 레이아웃이 적용된 Portlet
|
|
688
|
+
* @example
|
|
689
|
+
* ```tsx
|
|
690
|
+
* <Portlet>
|
|
691
|
+
* <Portlet.Header>
|
|
692
|
+
* <Portlet.Label title='상태' />
|
|
693
|
+
* <Portlet.Toolbar>도구</Portlet.Toolbar>
|
|
694
|
+
* </Portlet.Header>
|
|
695
|
+
* <Portlet.Content>내용</Portlet.Content>
|
|
696
|
+
* </Portlet>
|
|
697
|
+
* ```
|
|
698
|
+
*/
|
|
573
699
|
declare const Portlet: PortletComponent;
|
|
574
700
|
|
|
575
701
|
interface SegmentedControlItem {
|
|
@@ -581,6 +707,8 @@ interface SegmentedControlItem {
|
|
|
581
707
|
disabled?: boolean;
|
|
582
708
|
}
|
|
583
709
|
interface SegmentedControlProps {
|
|
710
|
+
/** 루트 DOM 요소로 전달되는 ref (MUI 미상속 인터페이스라 명시 선언) */
|
|
711
|
+
ref?: Ref<HTMLDivElement>;
|
|
584
712
|
sx?: SxProps<Theme>;
|
|
585
713
|
className?: string;
|
|
586
714
|
style?: CSSProperties;
|
|
@@ -620,7 +748,7 @@ interface SegmentedControlProps {
|
|
|
620
748
|
* @param props 세그먼트 컨트롤의 다양한 설정을 정의하는 props
|
|
621
749
|
* @returns 세그먼트 컨트롤 컴포넌트
|
|
622
750
|
*/
|
|
623
|
-
declare const SegmentedControl:
|
|
751
|
+
declare const SegmentedControl: (props: SegmentedControlProps) => react.JSX.Element | null;
|
|
624
752
|
|
|
625
753
|
interface ShowProps {
|
|
626
754
|
when: boolean | null | undefined;
|
|
@@ -632,12 +760,12 @@ declare const Show: FC<ShowProps>;
|
|
|
632
760
|
interface SmOrDownProps {
|
|
633
761
|
children?: ReactNode | ReactNode[];
|
|
634
762
|
}
|
|
635
|
-
declare function SmOrDown(props: SmOrDownProps):
|
|
763
|
+
declare function SmOrDown(props: SmOrDownProps): react.JSX.Element | null;
|
|
636
764
|
|
|
637
765
|
interface SmOrUpProps {
|
|
638
766
|
children?: ReactNode | ReactNode[];
|
|
639
767
|
}
|
|
640
|
-
declare function SmOrUp(props: SmOrUpProps):
|
|
768
|
+
declare function SmOrUp(props: SmOrUpProps): react.JSX.Element | null;
|
|
641
769
|
|
|
642
770
|
interface SpaceProps extends BoxProps {
|
|
643
771
|
width?: number;
|
|
@@ -645,7 +773,10 @@ interface SpaceProps extends BoxProps {
|
|
|
645
773
|
minWidth?: number;
|
|
646
774
|
minHeight?: number;
|
|
647
775
|
}
|
|
648
|
-
declare const Space:
|
|
776
|
+
declare const Space: {
|
|
777
|
+
({ width, height, minWidth, minHeight, sx, ref, ...props }: SpaceProps): react.JSX.Element;
|
|
778
|
+
displayName: string;
|
|
779
|
+
};
|
|
649
780
|
|
|
650
781
|
interface SpoilerProps {
|
|
651
782
|
sx?: SxProps;
|
|
@@ -669,26 +800,30 @@ interface SpoilerProps {
|
|
|
669
800
|
/** Spoiler reveal transition duration in ms, set 0 or null to turn off animation, `200` by default */
|
|
670
801
|
transitionDuration?: number;
|
|
671
802
|
children?: ReactNode;
|
|
803
|
+
ref?: Ref<HTMLElement>;
|
|
672
804
|
}
|
|
673
|
-
declare const Spoiler:
|
|
805
|
+
declare const Spoiler: {
|
|
806
|
+
(props: SpoilerProps): react.JSX.Element;
|
|
807
|
+
displayName: string;
|
|
808
|
+
};
|
|
674
809
|
|
|
675
|
-
interface
|
|
810
|
+
interface StackColumnProps extends Omit<StackProps, 'direction'> {
|
|
811
|
+
center?: boolean;
|
|
676
812
|
alignItems?: React.CSSProperties['alignItems'];
|
|
677
813
|
justifyContent?: React.CSSProperties['justifyContent'];
|
|
678
814
|
}
|
|
679
|
-
|
|
680
|
-
interface
|
|
681
|
-
center?: boolean;
|
|
815
|
+
/** 원본 createComponent가 노출하던 서브변형 Props 타입 표면과 동일(StackProps 기반, direction 포함). */
|
|
816
|
+
interface StackColumnSubVariantProps extends StackProps {
|
|
682
817
|
alignItems?: React.CSSProperties['alignItems'];
|
|
683
818
|
justifyContent?: React.CSSProperties['justifyContent'];
|
|
684
819
|
}
|
|
685
|
-
declare const StackColumnCenter:
|
|
686
|
-
declare const StackColumnStart:
|
|
687
|
-
declare const StackColumnEnd:
|
|
688
|
-
declare const StackColumnBetween:
|
|
689
|
-
declare const StackColumnAround:
|
|
690
|
-
declare const StackColumnEvenly:
|
|
691
|
-
interface StackColumnComponent extends React.
|
|
820
|
+
declare const StackColumnCenter: FunctionComponent<StackColumnSubVariantProps>;
|
|
821
|
+
declare const StackColumnStart: FunctionComponent<StackColumnSubVariantProps>;
|
|
822
|
+
declare const StackColumnEnd: FunctionComponent<StackColumnSubVariantProps>;
|
|
823
|
+
declare const StackColumnBetween: FunctionComponent<StackColumnSubVariantProps>;
|
|
824
|
+
declare const StackColumnAround: FunctionComponent<StackColumnSubVariantProps>;
|
|
825
|
+
declare const StackColumnEvenly: FunctionComponent<StackColumnSubVariantProps>;
|
|
826
|
+
interface StackColumnComponent extends React.FunctionComponent<StackColumnProps> {
|
|
692
827
|
Start: typeof StackColumnStart;
|
|
693
828
|
End: typeof StackColumnEnd;
|
|
694
829
|
Between: typeof StackColumnBetween;
|
|
@@ -703,13 +838,17 @@ interface StackRowProps extends Omit<StackProps, 'direction'> {
|
|
|
703
838
|
alignItems?: React.CSSProperties['alignItems'];
|
|
704
839
|
justifyContent?: React.CSSProperties['justifyContent'];
|
|
705
840
|
}
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
declare const
|
|
711
|
-
declare const
|
|
712
|
-
|
|
841
|
+
interface StackRowSubVariantProps extends StackProps {
|
|
842
|
+
alignItems?: React.CSSProperties['alignItems'];
|
|
843
|
+
justifyContent?: React.CSSProperties['justifyContent'];
|
|
844
|
+
}
|
|
845
|
+
declare const StackRowCenter: FunctionComponent<StackRowSubVariantProps>;
|
|
846
|
+
declare const StackRowStart: FunctionComponent<StackRowSubVariantProps>;
|
|
847
|
+
declare const StackRowEnd: FunctionComponent<StackRowSubVariantProps>;
|
|
848
|
+
declare const StackRowBetween: FunctionComponent<StackRowSubVariantProps>;
|
|
849
|
+
declare const StackRowAround: FunctionComponent<StackRowSubVariantProps>;
|
|
850
|
+
declare const StackRowEvenly: FunctionComponent<StackRowSubVariantProps>;
|
|
851
|
+
interface StackRowComponent extends React.FunctionComponent<StackRowProps> {
|
|
713
852
|
Start: typeof StackRowStart;
|
|
714
853
|
End: typeof StackRowEnd;
|
|
715
854
|
Between: typeof StackRowBetween;
|
|
@@ -753,7 +892,7 @@ interface TopAbsoluteCenterProps extends BoxProps {
|
|
|
753
892
|
* </TopAbsolute.Center>
|
|
754
893
|
* ```
|
|
755
894
|
*/
|
|
756
|
-
declare const TopAbsoluteCenter:
|
|
895
|
+
declare const TopAbsoluteCenter: FunctionComponent<TopAbsoluteCenterProps>;
|
|
757
896
|
|
|
758
897
|
/**
|
|
759
898
|
* `TopAbsoluteLeft` 컴포넌트의 속성을 정의합니다.
|
|
@@ -795,7 +934,7 @@ interface TopAbsoluteLeftProps extends BoxProps {
|
|
|
795
934
|
* </TopAbsolute.Left>
|
|
796
935
|
* ```
|
|
797
936
|
*/
|
|
798
|
-
declare const TopAbsoluteLeft:
|
|
937
|
+
declare const TopAbsoluteLeft: FunctionComponent<TopAbsoluteLeftProps>;
|
|
799
938
|
|
|
800
939
|
/**
|
|
801
940
|
* `TopAbsoluteRight` 컴포넌트의 속성을 정의합니다.
|
|
@@ -837,7 +976,7 @@ interface TopAbsoluteRightProps extends BoxProps {
|
|
|
837
976
|
* </TopAbsolute.Right>
|
|
838
977
|
* ```
|
|
839
978
|
*/
|
|
840
|
-
declare const TopAbsoluteRight:
|
|
979
|
+
declare const TopAbsoluteRight: FunctionComponent<TopAbsoluteRightProps>;
|
|
841
980
|
|
|
842
981
|
/**
|
|
843
982
|
* `TopAbsolute` 컴포넌트의 속성을 정의합니다.
|
|
@@ -862,7 +1001,7 @@ interface TopAbsoluteProps extends BoxProps {
|
|
|
862
1001
|
*/
|
|
863
1002
|
right?: CSSProperties['right'];
|
|
864
1003
|
}
|
|
865
|
-
interface TopAbsoluteComponent extends React.
|
|
1004
|
+
interface TopAbsoluteComponent extends React.FunctionComponent<TopAbsoluteProps> {
|
|
866
1005
|
Left: typeof TopAbsoluteLeft;
|
|
867
1006
|
Right: typeof TopAbsoluteRight;
|
|
868
1007
|
Center: typeof TopAbsoluteCenter;
|
|
@@ -872,7 +1011,7 @@ declare const TopAbsolute: TopAbsoluteComponent;
|
|
|
872
1011
|
interface XsOrDownProps {
|
|
873
1012
|
children?: ReactNode | ReactNode[];
|
|
874
1013
|
}
|
|
875
|
-
declare function XsOrDown(props: XsOrDownProps):
|
|
1014
|
+
declare function XsOrDown(props: XsOrDownProps): react.JSX.Element | null;
|
|
876
1015
|
|
|
877
1016
|
declare const isTabKeyEvent: (e: React.KeyboardEvent) => boolean;
|
|
878
1017
|
declare const isEnterOrTabKeyEvent: (e: React.KeyboardEvent) => boolean;
|
|
@@ -916,4 +1055,4 @@ declare const sxDialogHeight: (key?: "height" | "minHeight" | "maxHeight", heigh
|
|
|
916
1055
|
};
|
|
917
1056
|
};
|
|
918
1057
|
|
|
919
|
-
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 PortletProps, 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 };
|
|
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 };
|