@cp949/mui-react19 2.0.0 → 2.0.2
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 +13 -5
- package/dist/chunk-DGBGKY22.cjs +2 -0
- package/dist/chunk-DGBGKY22.cjs.map +1 -0
- package/dist/chunk-J5UGIABI.js +2 -0
- package/dist/chunk-J5UGIABI.js.map +1 -0
- package/dist/chunk-M4G6J7DP.cjs.map +1 -1
- 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 +38 -8
- package/dist/hooks/index.d.ts +38 -8
- 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 +143 -69
- package/dist/index.d.ts +143 -69
- 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 +12 -15
- 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 { 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,37 @@ interface BottomAbsoluteCenterProps extends BoxProps {
|
|
|
9
8
|
fullWidth?: boolean;
|
|
10
9
|
bottom?: CSSProperties['bottom'];
|
|
11
10
|
}
|
|
12
|
-
declare const BottomAbsoluteCenter:
|
|
11
|
+
declare const BottomAbsoluteCenter: {
|
|
12
|
+
({ fullWidth, bottom, sx, ref, ...props }: BottomAbsoluteCenterProps): react.JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
13
15
|
|
|
14
16
|
interface BottomAbsoluteLeftProps extends BoxProps {
|
|
15
17
|
fullWidth?: boolean;
|
|
16
18
|
bottom?: CSSProperties['bottom'];
|
|
17
19
|
left?: CSSProperties['left'];
|
|
18
20
|
}
|
|
19
|
-
declare const BottomAbsoluteLeft:
|
|
21
|
+
declare const BottomAbsoluteLeft: {
|
|
22
|
+
({ fullWidth, left, bottom, sx, ref, ...props }: BottomAbsoluteLeftProps): react.JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
20
25
|
|
|
21
26
|
interface BottomAbsoluteRightProps extends BoxProps {
|
|
22
27
|
fullWidth?: boolean;
|
|
23
28
|
bottom?: CSSProperties['bottom'];
|
|
24
29
|
right?: CSSProperties['right'];
|
|
25
30
|
}
|
|
26
|
-
declare const BottomAbsoluteRight:
|
|
31
|
+
declare const BottomAbsoluteRight: {
|
|
32
|
+
({ fullWidth, right, bottom, sx, ref, ...props }: BottomAbsoluteRightProps): react.JSX.Element;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
27
35
|
|
|
28
36
|
interface BottomAbsoluteProps extends BoxProps {
|
|
29
37
|
left?: CSSProperties['left'];
|
|
30
38
|
right?: CSSProperties['right'];
|
|
31
39
|
bottom?: CSSProperties['bottom'];
|
|
32
40
|
}
|
|
33
|
-
interface BottomAbsoluteComponent extends React.
|
|
41
|
+
interface BottomAbsoluteComponent extends React.FunctionComponent<BottomAbsoluteProps> {
|
|
34
42
|
Left: typeof BottomAbsoluteLeft;
|
|
35
43
|
Right: typeof BottomAbsoluteRight;
|
|
36
44
|
Center: typeof BottomAbsoluteCenter;
|
|
@@ -40,7 +48,10 @@ declare const BottomAbsolute: BottomAbsoluteComponent;
|
|
|
40
48
|
interface CenterProps extends BoxProps {
|
|
41
49
|
vertical?: boolean;
|
|
42
50
|
}
|
|
43
|
-
declare const Center:
|
|
51
|
+
declare const Center: {
|
|
52
|
+
({ vertical, sx, ref, ...props }: CenterProps): react.JSX.Element;
|
|
53
|
+
displayName: string;
|
|
54
|
+
};
|
|
44
55
|
|
|
45
56
|
interface CooldownButtonProps extends ButtonProps {
|
|
46
57
|
/**
|
|
@@ -48,7 +59,10 @@ interface CooldownButtonProps extends ButtonProps {
|
|
|
48
59
|
*/
|
|
49
60
|
cooldown?: number;
|
|
50
61
|
}
|
|
51
|
-
declare const CooldownButton:
|
|
62
|
+
declare const CooldownButton: {
|
|
63
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonProps): react.JSX.Element;
|
|
64
|
+
displayName: string;
|
|
65
|
+
};
|
|
52
66
|
|
|
53
67
|
interface CooldownButtonBaseProps extends ButtonBaseProps {
|
|
54
68
|
/**
|
|
@@ -56,7 +70,10 @@ interface CooldownButtonBaseProps extends ButtonBaseProps {
|
|
|
56
70
|
*/
|
|
57
71
|
cooldown?: number;
|
|
58
72
|
}
|
|
59
|
-
declare const CooldownButtonBase:
|
|
73
|
+
declare const CooldownButtonBase: {
|
|
74
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownButtonBaseProps): react.JSX.Element;
|
|
75
|
+
displayName: string;
|
|
76
|
+
};
|
|
60
77
|
|
|
61
78
|
interface CooldownIconButtonProps extends IconButtonProps {
|
|
62
79
|
/**
|
|
@@ -64,7 +81,10 @@ interface CooldownIconButtonProps extends IconButtonProps {
|
|
|
64
81
|
*/
|
|
65
82
|
cooldown?: number;
|
|
66
83
|
}
|
|
67
|
-
declare const CooldownIconButton:
|
|
84
|
+
declare const CooldownIconButton: {
|
|
85
|
+
({ cooldown, onClick, disabled, ref, ...props }: CooldownIconButtonProps): react.JSX.Element;
|
|
86
|
+
displayName: string;
|
|
87
|
+
};
|
|
68
88
|
|
|
69
89
|
interface CopyButtonWrapperProps {
|
|
70
90
|
/**
|
|
@@ -112,6 +132,12 @@ interface CopyButtonWrapperProps {
|
|
|
112
132
|
* @default 1000
|
|
113
133
|
*/
|
|
114
134
|
timeout?: number;
|
|
135
|
+
/**
|
|
136
|
+
* 클립보드 복사가 성공했을 때 호출되는 콜백 함수입니다.
|
|
137
|
+
*
|
|
138
|
+
* @param value - 클립보드에 복사된 문자열
|
|
139
|
+
*/
|
|
140
|
+
onCopySuccess?: (value: string) => void;
|
|
115
141
|
}
|
|
116
142
|
/**
|
|
117
143
|
* 클립보드 복사 버튼을 쉽게 구현하기 위한 래퍼 컴포넌트입니다.
|
|
@@ -130,36 +156,45 @@ interface CopyButtonWrapperProps {
|
|
|
130
156
|
* </CopyButtonWrapper>
|
|
131
157
|
* ```
|
|
132
158
|
*/
|
|
133
|
-
declare function CopyButtonWrapper(props: CopyButtonWrapperProps):
|
|
159
|
+
declare function CopyButtonWrapper(props: CopyButtonWrapperProps): react.JSX.Element;
|
|
134
160
|
|
|
135
161
|
interface CustomTableBodyProps extends TableBodyProps {
|
|
136
162
|
loading?: boolean;
|
|
137
163
|
stripe?: boolean;
|
|
138
164
|
}
|
|
139
|
-
declare function CustomTableBody(props: CustomTableBodyProps):
|
|
165
|
+
declare function CustomTableBody(props: CustomTableBodyProps): react.JSX.Element;
|
|
140
166
|
|
|
141
167
|
interface CenterAbsoluteCenterProps extends BoxProps {
|
|
142
168
|
fullWidth?: boolean;
|
|
143
169
|
}
|
|
144
|
-
declare const CenterAbsoluteCenter:
|
|
170
|
+
declare const CenterAbsoluteCenter: {
|
|
171
|
+
({ fullWidth, sx, ref, ...props }: CenterAbsoluteCenterProps): react.JSX.Element;
|
|
172
|
+
displayName: string;
|
|
173
|
+
};
|
|
145
174
|
|
|
146
175
|
interface CenterAbsoluteLeftProps extends BoxProps {
|
|
147
176
|
left?: CSSProperties['left'];
|
|
148
177
|
fullWidth?: boolean;
|
|
149
178
|
}
|
|
150
|
-
declare const CenterAbsoluteLeft:
|
|
179
|
+
declare const CenterAbsoluteLeft: {
|
|
180
|
+
({ fullWidth, left, sx, ref, ...props }: CenterAbsoluteLeftProps): react.JSX.Element;
|
|
181
|
+
displayName: string;
|
|
182
|
+
};
|
|
151
183
|
|
|
152
184
|
interface CenterAbsoluteRightProps extends BoxProps {
|
|
153
185
|
right?: CSSProperties['right'];
|
|
154
186
|
fullWidth?: boolean;
|
|
155
187
|
}
|
|
156
|
-
declare const CenterAbsoluteRight:
|
|
188
|
+
declare const CenterAbsoluteRight: {
|
|
189
|
+
({ fullWidth, right, sx, ref, ...props }: CenterAbsoluteRightProps): react.JSX.Element;
|
|
190
|
+
displayName: string;
|
|
191
|
+
};
|
|
157
192
|
|
|
158
193
|
interface CenterAbsoluteProps extends BoxProps {
|
|
159
194
|
left?: CSSProperties['left'];
|
|
160
195
|
right?: CSSProperties['right'];
|
|
161
196
|
}
|
|
162
|
-
interface CenterAbsoluteComponent extends React.
|
|
197
|
+
interface CenterAbsoluteComponent extends React.FunctionComponent<CenterAbsoluteProps> {
|
|
163
198
|
Left: typeof CenterAbsoluteLeft;
|
|
164
199
|
Right: typeof CenterAbsoluteRight;
|
|
165
200
|
Center: typeof CenterAbsoluteCenter;
|
|
@@ -172,7 +207,7 @@ interface DebouncedButtonProps extends ButtonProps {
|
|
|
172
207
|
*/
|
|
173
208
|
debounce?: number;
|
|
174
209
|
}
|
|
175
|
-
declare const DebouncedButton:
|
|
210
|
+
declare const DebouncedButton: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonProps) => react.JSX.Element;
|
|
176
211
|
|
|
177
212
|
interface DebouncedButtonBaseProps extends ButtonBaseProps {
|
|
178
213
|
/**
|
|
@@ -180,7 +215,7 @@ interface DebouncedButtonBaseProps extends ButtonBaseProps {
|
|
|
180
215
|
*/
|
|
181
216
|
debounce?: number;
|
|
182
217
|
}
|
|
183
|
-
declare const DebouncedButtonBase:
|
|
218
|
+
declare const DebouncedButtonBase: ({ debounce, onClick, disabled, children, ref, ...props }: DebouncedButtonBaseProps) => react.JSX.Element;
|
|
184
219
|
|
|
185
220
|
interface DebouncedIconButtonProps extends IconButtonProps {
|
|
186
221
|
/**
|
|
@@ -188,7 +223,7 @@ interface DebouncedIconButtonProps extends IconButtonProps {
|
|
|
188
223
|
*/
|
|
189
224
|
debounce?: number;
|
|
190
225
|
}
|
|
191
|
-
declare const DebouncedIconButton:
|
|
226
|
+
declare const DebouncedIconButton: ({ debounce, onClick, disabled, ref, ...props }: DebouncedIconButtonProps) => react.JSX.Element;
|
|
192
227
|
|
|
193
228
|
/**
|
|
194
229
|
* @example
|
|
@@ -277,6 +312,10 @@ interface FileButtonProps<Multiple extends boolean = false> {
|
|
|
277
312
|
* 파일 입력 요소에 전달할 추가 속성입니다.
|
|
278
313
|
*/
|
|
279
314
|
inputProps?: React.ComponentPropsWithoutRef<'input'>;
|
|
315
|
+
/**
|
|
316
|
+
* 내부 파일 입력(`<input type="file">`) 요소로 전달되는 참조입니다.
|
|
317
|
+
*/
|
|
318
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
280
319
|
}
|
|
281
320
|
type FileButtonComponent = (<Multiple extends boolean = false>(props: FileButtonProps<Multiple>) => React.ReactElement) & {
|
|
282
321
|
displayName?: string;
|
|
@@ -367,7 +406,7 @@ interface FloatingIndicatorProps extends BoxProps {
|
|
|
367
406
|
* 주어진 `target`과 `parent` 요소를 기준으로 인디케이터를 화면에 표시하는 컴포넌트입니다.
|
|
368
407
|
* 인디케이터는 부모 요소를 기준으로 `absolute` 위치로 배치되며, 다양한 전환 효과를 지원합니다.
|
|
369
408
|
*/
|
|
370
|
-
declare const FloatingIndicator:
|
|
409
|
+
declare const FloatingIndicator: (props: FloatingIndicatorProps) => react.JSX.Element | null;
|
|
371
410
|
|
|
372
411
|
interface FlexBaseProps extends BoxProps {
|
|
373
412
|
alignItems?: CSSProperties['alignItems'];
|
|
@@ -376,16 +415,16 @@ interface FlexBaseProps extends BoxProps {
|
|
|
376
415
|
inlineFlex?: boolean;
|
|
377
416
|
}
|
|
378
417
|
|
|
379
|
-
declare const FlexColumnStart: react.
|
|
380
|
-
declare const FlexColumnEnd: react.
|
|
381
|
-
declare const FlexColumnCenter: react.
|
|
382
|
-
declare const FlexColumnAround: react.
|
|
383
|
-
declare const FlexColumnBetween: react.
|
|
384
|
-
declare const FlexColumnEvenly: react.
|
|
418
|
+
declare const FlexColumnStart: react.FunctionComponent<FlexBaseProps>;
|
|
419
|
+
declare const FlexColumnEnd: react.FunctionComponent<FlexBaseProps>;
|
|
420
|
+
declare const FlexColumnCenter: react.FunctionComponent<FlexBaseProps>;
|
|
421
|
+
declare const FlexColumnAround: react.FunctionComponent<FlexBaseProps>;
|
|
422
|
+
declare const FlexColumnBetween: react.FunctionComponent<FlexBaseProps>;
|
|
423
|
+
declare const FlexColumnEvenly: react.FunctionComponent<FlexBaseProps>;
|
|
385
424
|
interface FlexColumnProps extends FlexBaseProps {
|
|
386
425
|
center?: boolean;
|
|
387
426
|
}
|
|
388
|
-
interface FlexColumnComponent extends React.
|
|
427
|
+
interface FlexColumnComponent extends React.FunctionComponent<FlexColumnProps> {
|
|
389
428
|
Start: typeof FlexColumnStart;
|
|
390
429
|
End: typeof FlexColumnEnd;
|
|
391
430
|
Center: typeof FlexColumnCenter;
|
|
@@ -395,16 +434,16 @@ interface FlexColumnComponent extends React.ForwardRefExoticComponent<FlexColumn
|
|
|
395
434
|
}
|
|
396
435
|
declare const FlexColumn: FlexColumnComponent;
|
|
397
436
|
|
|
398
|
-
declare const FlexRowStart: react.
|
|
399
|
-
declare const FlexRowEnd: react.
|
|
400
|
-
declare const FlexRowAround: react.
|
|
401
|
-
declare const FlexRowBetween: react.
|
|
402
|
-
declare const FlexRowEvenly: react.
|
|
403
|
-
declare const FlexRowCenter: react.
|
|
437
|
+
declare const FlexRowStart: react.FunctionComponent<FlexBaseProps>;
|
|
438
|
+
declare const FlexRowEnd: react.FunctionComponent<FlexBaseProps>;
|
|
439
|
+
declare const FlexRowAround: react.FunctionComponent<FlexBaseProps>;
|
|
440
|
+
declare const FlexRowBetween: react.FunctionComponent<FlexBaseProps>;
|
|
441
|
+
declare const FlexRowEvenly: react.FunctionComponent<FlexBaseProps>;
|
|
442
|
+
declare const FlexRowCenter: react.FunctionComponent<FlexBaseProps>;
|
|
404
443
|
interface FlexRowProps extends FlexBaseProps {
|
|
405
444
|
center?: boolean;
|
|
406
445
|
}
|
|
407
|
-
interface FlexRowComponent extends React.
|
|
446
|
+
interface FlexRowComponent extends React.FunctionComponent<FlexRowProps> {
|
|
408
447
|
Start: typeof FlexRowStart;
|
|
409
448
|
End: typeof FlexRowEnd;
|
|
410
449
|
Center: typeof FlexRowCenter;
|
|
@@ -483,6 +522,7 @@ interface HighlightProps {
|
|
|
483
522
|
* @default false
|
|
484
523
|
*/
|
|
485
524
|
includeDataAttribute?: boolean;
|
|
525
|
+
ref?: Ref<HTMLElement>;
|
|
486
526
|
}
|
|
487
527
|
/**
|
|
488
528
|
* `Highlight` 컴포넌트는 주어진 텍스트에서 특정 문자열을 강조 표시합니다.
|
|
@@ -505,7 +545,10 @@ interface HighlightProps {
|
|
|
505
545
|
* </Highlight>
|
|
506
546
|
* ```
|
|
507
547
|
*/
|
|
508
|
-
declare const Highlight:
|
|
548
|
+
declare const Highlight: {
|
|
549
|
+
(props: HighlightProps): react.JSX.Element;
|
|
550
|
+
displayName: string;
|
|
551
|
+
};
|
|
509
552
|
|
|
510
553
|
interface Props {
|
|
511
554
|
sx?: SxProps;
|
|
@@ -514,12 +557,12 @@ interface Props {
|
|
|
514
557
|
maxLen: number;
|
|
515
558
|
currentLen?: number;
|
|
516
559
|
}
|
|
517
|
-
declare function LengthLimitHelperText(props: Props):
|
|
560
|
+
declare function LengthLimitHelperText(props: Props): react.JSX.Element;
|
|
518
561
|
|
|
519
562
|
interface LgOrUpProps {
|
|
520
563
|
children?: ReactNode | ReactNode[];
|
|
521
564
|
}
|
|
522
|
-
declare function LgOrUp(props: LgOrUpProps):
|
|
565
|
+
declare function LgOrUp(props: LgOrUpProps): react.JSX.Element | null;
|
|
523
566
|
|
|
524
567
|
interface MarkProps {
|
|
525
568
|
sx?: SxProps;
|
|
@@ -527,45 +570,58 @@ interface MarkProps {
|
|
|
527
570
|
color?: string;
|
|
528
571
|
bgcolor?: string;
|
|
529
572
|
children?: ReactNode;
|
|
573
|
+
ref?: Ref<HTMLElement>;
|
|
530
574
|
}
|
|
531
|
-
declare const Mark:
|
|
575
|
+
declare const Mark: {
|
|
576
|
+
(props: MarkProps): react.JSX.Element;
|
|
577
|
+
displayName: string;
|
|
578
|
+
};
|
|
532
579
|
|
|
533
580
|
interface MdOrDownProps {
|
|
534
581
|
children?: ReactNode | ReactNode[];
|
|
535
582
|
}
|
|
536
|
-
declare function MdOrDown(props: MdOrDownProps):
|
|
583
|
+
declare function MdOrDown(props: MdOrDownProps): react.JSX.Element | null;
|
|
537
584
|
|
|
538
585
|
interface MdOrUpProps {
|
|
539
586
|
children?: ReactNode | ReactNode[];
|
|
540
587
|
}
|
|
541
|
-
declare function MdOrUp(props: MdOrUpProps):
|
|
588
|
+
declare function MdOrUp(props: MdOrUpProps): react.JSX.Element | null;
|
|
542
589
|
|
|
543
590
|
interface PaperProps extends PaperProps$1 {
|
|
544
591
|
squared?: boolean;
|
|
545
592
|
outlined?: boolean;
|
|
546
593
|
}
|
|
547
|
-
declare function Paper(props: PaperProps):
|
|
594
|
+
declare function Paper(props: PaperProps): react.JSX.Element;
|
|
548
595
|
|
|
549
596
|
interface PortletContentProps extends BoxProps {
|
|
550
597
|
noPadding?: boolean;
|
|
551
598
|
}
|
|
552
|
-
declare const PortletContent:
|
|
599
|
+
declare const PortletContent: {
|
|
600
|
+
(props: PortletContentProps): react.JSX.Element;
|
|
601
|
+
displayName: string;
|
|
602
|
+
};
|
|
553
603
|
|
|
554
604
|
interface PortletFooterProps extends BoxProps {
|
|
555
605
|
noDivider?: boolean;
|
|
556
606
|
}
|
|
557
|
-
declare const PortletFooter:
|
|
607
|
+
declare const PortletFooter: {
|
|
608
|
+
(props: PortletFooterProps): react.JSX.Element;
|
|
609
|
+
displayName: string;
|
|
610
|
+
};
|
|
558
611
|
|
|
559
612
|
interface PortletHeaderProps extends BoxProps {
|
|
560
613
|
noDivider?: boolean;
|
|
561
614
|
noPadding?: boolean;
|
|
562
615
|
}
|
|
563
|
-
declare const PortletHeader:
|
|
616
|
+
declare const PortletHeader: {
|
|
617
|
+
(props: PortletHeaderProps): react.JSX.Element;
|
|
618
|
+
displayName: string;
|
|
619
|
+
};
|
|
564
620
|
|
|
565
621
|
interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
|
|
566
622
|
children?: ReactNode;
|
|
567
623
|
}
|
|
568
|
-
interface PortletComponent extends React.
|
|
624
|
+
interface PortletComponent extends React.FunctionComponent<PortletProps> {
|
|
569
625
|
Content: typeof PortletContent;
|
|
570
626
|
Header: typeof PortletHeader;
|
|
571
627
|
Footer: typeof PortletFooter;
|
|
@@ -581,6 +637,8 @@ interface SegmentedControlItem {
|
|
|
581
637
|
disabled?: boolean;
|
|
582
638
|
}
|
|
583
639
|
interface SegmentedControlProps {
|
|
640
|
+
/** 루트 DOM 요소로 전달되는 ref (MUI 미상속 인터페이스라 명시 선언) */
|
|
641
|
+
ref?: Ref<HTMLDivElement>;
|
|
584
642
|
sx?: SxProps<Theme>;
|
|
585
643
|
className?: string;
|
|
586
644
|
style?: CSSProperties;
|
|
@@ -620,7 +678,7 @@ interface SegmentedControlProps {
|
|
|
620
678
|
* @param props 세그먼트 컨트롤의 다양한 설정을 정의하는 props
|
|
621
679
|
* @returns 세그먼트 컨트롤 컴포넌트
|
|
622
680
|
*/
|
|
623
|
-
declare const SegmentedControl:
|
|
681
|
+
declare const SegmentedControl: (props: SegmentedControlProps) => react.JSX.Element | null;
|
|
624
682
|
|
|
625
683
|
interface ShowProps {
|
|
626
684
|
when: boolean | null | undefined;
|
|
@@ -632,12 +690,12 @@ declare const Show: FC<ShowProps>;
|
|
|
632
690
|
interface SmOrDownProps {
|
|
633
691
|
children?: ReactNode | ReactNode[];
|
|
634
692
|
}
|
|
635
|
-
declare function SmOrDown(props: SmOrDownProps):
|
|
693
|
+
declare function SmOrDown(props: SmOrDownProps): react.JSX.Element | null;
|
|
636
694
|
|
|
637
695
|
interface SmOrUpProps {
|
|
638
696
|
children?: ReactNode | ReactNode[];
|
|
639
697
|
}
|
|
640
|
-
declare function SmOrUp(props: SmOrUpProps):
|
|
698
|
+
declare function SmOrUp(props: SmOrUpProps): react.JSX.Element | null;
|
|
641
699
|
|
|
642
700
|
interface SpaceProps extends BoxProps {
|
|
643
701
|
width?: number;
|
|
@@ -645,7 +703,10 @@ interface SpaceProps extends BoxProps {
|
|
|
645
703
|
minWidth?: number;
|
|
646
704
|
minHeight?: number;
|
|
647
705
|
}
|
|
648
|
-
declare const Space:
|
|
706
|
+
declare const Space: {
|
|
707
|
+
({ width, height, minWidth, minHeight, sx, ref, ...props }: SpaceProps): react.JSX.Element;
|
|
708
|
+
displayName: string;
|
|
709
|
+
};
|
|
649
710
|
|
|
650
711
|
interface SpoilerProps {
|
|
651
712
|
sx?: SxProps;
|
|
@@ -669,8 +730,12 @@ interface SpoilerProps {
|
|
|
669
730
|
/** Spoiler reveal transition duration in ms, set 0 or null to turn off animation, `200` by default */
|
|
670
731
|
transitionDuration?: number;
|
|
671
732
|
children?: ReactNode;
|
|
733
|
+
ref?: Ref<HTMLElement>;
|
|
672
734
|
}
|
|
673
|
-
declare const Spoiler:
|
|
735
|
+
declare const Spoiler: {
|
|
736
|
+
(props: SpoilerProps): react.JSX.Element;
|
|
737
|
+
displayName: string;
|
|
738
|
+
};
|
|
674
739
|
|
|
675
740
|
interface CreateComponentProps extends StackProps {
|
|
676
741
|
alignItems?: React.CSSProperties['alignItems'];
|
|
@@ -682,13 +747,13 @@ interface StackColumnProps extends Omit<StackProps, 'direction'> {
|
|
|
682
747
|
alignItems?: React.CSSProperties['alignItems'];
|
|
683
748
|
justifyContent?: React.CSSProperties['justifyContent'];
|
|
684
749
|
}
|
|
685
|
-
declare const StackColumnCenter: react.
|
|
686
|
-
declare const StackColumnStart: react.
|
|
687
|
-
declare const StackColumnEnd: react.
|
|
688
|
-
declare const StackColumnBetween: react.
|
|
689
|
-
declare const StackColumnAround: react.
|
|
690
|
-
declare const StackColumnEvenly: react.
|
|
691
|
-
interface StackColumnComponent extends React.
|
|
750
|
+
declare const StackColumnCenter: react.FunctionComponent<CreateComponentProps>;
|
|
751
|
+
declare const StackColumnStart: react.FunctionComponent<CreateComponentProps>;
|
|
752
|
+
declare const StackColumnEnd: react.FunctionComponent<CreateComponentProps>;
|
|
753
|
+
declare const StackColumnBetween: react.FunctionComponent<CreateComponentProps>;
|
|
754
|
+
declare const StackColumnAround: react.FunctionComponent<CreateComponentProps>;
|
|
755
|
+
declare const StackColumnEvenly: react.FunctionComponent<CreateComponentProps>;
|
|
756
|
+
interface StackColumnComponent extends React.FunctionComponent<StackColumnProps> {
|
|
692
757
|
Start: typeof StackColumnStart;
|
|
693
758
|
End: typeof StackColumnEnd;
|
|
694
759
|
Between: typeof StackColumnBetween;
|
|
@@ -703,13 +768,13 @@ interface StackRowProps extends Omit<StackProps, 'direction'> {
|
|
|
703
768
|
alignItems?: React.CSSProperties['alignItems'];
|
|
704
769
|
justifyContent?: React.CSSProperties['justifyContent'];
|
|
705
770
|
}
|
|
706
|
-
declare const StackRowCenter: react.
|
|
707
|
-
declare const StackRowStart: react.
|
|
708
|
-
declare const StackRowEnd: react.
|
|
709
|
-
declare const StackRowBetween: react.
|
|
710
|
-
declare const StackRowAround: react.
|
|
711
|
-
declare const StackRowEvenly: react.
|
|
712
|
-
interface StackRowComponent extends React.
|
|
771
|
+
declare const StackRowCenter: react.FunctionComponent<CreateComponentProps>;
|
|
772
|
+
declare const StackRowStart: react.FunctionComponent<CreateComponentProps>;
|
|
773
|
+
declare const StackRowEnd: react.FunctionComponent<CreateComponentProps>;
|
|
774
|
+
declare const StackRowBetween: react.FunctionComponent<CreateComponentProps>;
|
|
775
|
+
declare const StackRowAround: react.FunctionComponent<CreateComponentProps>;
|
|
776
|
+
declare const StackRowEvenly: react.FunctionComponent<CreateComponentProps>;
|
|
777
|
+
interface StackRowComponent extends React.FunctionComponent<StackRowProps> {
|
|
713
778
|
Start: typeof StackRowStart;
|
|
714
779
|
End: typeof StackRowEnd;
|
|
715
780
|
Between: typeof StackRowBetween;
|
|
@@ -753,7 +818,10 @@ interface TopAbsoluteCenterProps extends BoxProps {
|
|
|
753
818
|
* </TopAbsolute.Center>
|
|
754
819
|
* ```
|
|
755
820
|
*/
|
|
756
|
-
declare const TopAbsoluteCenter:
|
|
821
|
+
declare const TopAbsoluteCenter: {
|
|
822
|
+
({ fullWidth, top, sx, ref, ...props }: TopAbsoluteCenterProps): react.JSX.Element;
|
|
823
|
+
displayName: string;
|
|
824
|
+
};
|
|
757
825
|
|
|
758
826
|
/**
|
|
759
827
|
* `TopAbsoluteLeft` 컴포넌트의 속성을 정의합니다.
|
|
@@ -795,7 +863,10 @@ interface TopAbsoluteLeftProps extends BoxProps {
|
|
|
795
863
|
* </TopAbsolute.Left>
|
|
796
864
|
* ```
|
|
797
865
|
*/
|
|
798
|
-
declare const TopAbsoluteLeft:
|
|
866
|
+
declare const TopAbsoluteLeft: {
|
|
867
|
+
({ fullWidth, left, top, sx, ref, ...props }: TopAbsoluteLeftProps): react.JSX.Element;
|
|
868
|
+
displayName: string;
|
|
869
|
+
};
|
|
799
870
|
|
|
800
871
|
/**
|
|
801
872
|
* `TopAbsoluteRight` 컴포넌트의 속성을 정의합니다.
|
|
@@ -837,7 +908,10 @@ interface TopAbsoluteRightProps extends BoxProps {
|
|
|
837
908
|
* </TopAbsolute.Right>
|
|
838
909
|
* ```
|
|
839
910
|
*/
|
|
840
|
-
declare const TopAbsoluteRight:
|
|
911
|
+
declare const TopAbsoluteRight: {
|
|
912
|
+
({ fullWidth, right, top, sx, ref, ...props }: TopAbsoluteRightProps): react.JSX.Element;
|
|
913
|
+
displayName: string;
|
|
914
|
+
};
|
|
841
915
|
|
|
842
916
|
/**
|
|
843
917
|
* `TopAbsolute` 컴포넌트의 속성을 정의합니다.
|
|
@@ -862,7 +936,7 @@ interface TopAbsoluteProps extends BoxProps {
|
|
|
862
936
|
*/
|
|
863
937
|
right?: CSSProperties['right'];
|
|
864
938
|
}
|
|
865
|
-
interface TopAbsoluteComponent extends React.
|
|
939
|
+
interface TopAbsoluteComponent extends React.FunctionComponent<TopAbsoluteProps> {
|
|
866
940
|
Left: typeof TopAbsoluteLeft;
|
|
867
941
|
Right: typeof TopAbsoluteRight;
|
|
868
942
|
Center: typeof TopAbsoluteCenter;
|
|
@@ -872,7 +946,7 @@ declare const TopAbsolute: TopAbsoluteComponent;
|
|
|
872
946
|
interface XsOrDownProps {
|
|
873
947
|
children?: ReactNode | ReactNode[];
|
|
874
948
|
}
|
|
875
|
-
declare function XsOrDown(props: XsOrDownProps):
|
|
949
|
+
declare function XsOrDown(props: XsOrDownProps): react.JSX.Element | null;
|
|
876
950
|
|
|
877
951
|
declare const isTabKeyEvent: (e: React.KeyboardEvent) => boolean;
|
|
878
952
|
declare const isEnterOrTabKeyEvent: (e: React.KeyboardEvent) => boolean;
|