@cp949/mui-react19 2.0.2 → 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/dist/index.d.cts CHANGED
@@ -1,6 +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, Ref } from 'react';
3
+ import { FunctionComponent, CSSProperties, ReactNode, FC, ReactElement, Ref } from 'react';
4
4
  export { C as Closables } from './closables-BK0Db72u.cjs';
5
5
  import 'rxjs';
6
6
 
@@ -8,30 +8,21 @@ interface BottomAbsoluteCenterProps extends BoxProps {
8
8
  fullWidth?: boolean;
9
9
  bottom?: CSSProperties['bottom'];
10
10
  }
11
- declare const BottomAbsoluteCenter: {
12
- ({ fullWidth, bottom, sx, ref, ...props }: BottomAbsoluteCenterProps): react.JSX.Element;
13
- displayName: string;
14
- };
11
+ declare const BottomAbsoluteCenter: FunctionComponent<BottomAbsoluteCenterProps>;
15
12
 
16
13
  interface BottomAbsoluteLeftProps extends BoxProps {
17
14
  fullWidth?: boolean;
18
15
  bottom?: CSSProperties['bottom'];
19
16
  left?: CSSProperties['left'];
20
17
  }
21
- declare const BottomAbsoluteLeft: {
22
- ({ fullWidth, left, bottom, sx, ref, ...props }: BottomAbsoluteLeftProps): react.JSX.Element;
23
- displayName: string;
24
- };
18
+ declare const BottomAbsoluteLeft: FunctionComponent<BottomAbsoluteLeftProps>;
25
19
 
26
20
  interface BottomAbsoluteRightProps extends BoxProps {
27
21
  fullWidth?: boolean;
28
22
  bottom?: CSSProperties['bottom'];
29
23
  right?: CSSProperties['right'];
30
24
  }
31
- declare const BottomAbsoluteRight: {
32
- ({ fullWidth, right, bottom, sx, ref, ...props }: BottomAbsoluteRightProps): react.JSX.Element;
33
- displayName: string;
34
- };
25
+ declare const BottomAbsoluteRight: FunctionComponent<BottomAbsoluteRightProps>;
35
26
 
36
27
  interface BottomAbsoluteProps extends BoxProps {
37
28
  left?: CSSProperties['left'];
@@ -167,28 +158,19 @@ declare function CustomTableBody(props: CustomTableBodyProps): react.JSX.Element
167
158
  interface CenterAbsoluteCenterProps extends BoxProps {
168
159
  fullWidth?: boolean;
169
160
  }
170
- declare const CenterAbsoluteCenter: {
171
- ({ fullWidth, sx, ref, ...props }: CenterAbsoluteCenterProps): react.JSX.Element;
172
- displayName: string;
173
- };
161
+ declare const CenterAbsoluteCenter: FunctionComponent<CenterAbsoluteCenterProps>;
174
162
 
175
163
  interface CenterAbsoluteLeftProps extends BoxProps {
176
164
  left?: CSSProperties['left'];
177
165
  fullWidth?: boolean;
178
166
  }
179
- declare const CenterAbsoluteLeft: {
180
- ({ fullWidth, left, sx, ref, ...props }: CenterAbsoluteLeftProps): react.JSX.Element;
181
- displayName: string;
182
- };
167
+ declare const CenterAbsoluteLeft: FunctionComponent<CenterAbsoluteLeftProps>;
183
168
 
184
169
  interface CenterAbsoluteRightProps extends BoxProps {
185
170
  right?: CSSProperties['right'];
186
171
  fullWidth?: boolean;
187
172
  }
188
- declare const CenterAbsoluteRight: {
189
- ({ fullWidth, right, sx, ref, ...props }: CenterAbsoluteRightProps): react.JSX.Element;
190
- displayName: string;
191
- };
173
+ declare const CenterAbsoluteRight: FunctionComponent<CenterAbsoluteRightProps>;
192
174
 
193
175
  interface CenterAbsoluteProps extends BoxProps {
194
176
  left?: CSSProperties['left'];
@@ -415,12 +397,12 @@ interface FlexBaseProps extends BoxProps {
415
397
  inlineFlex?: boolean;
416
398
  }
417
399
 
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>;
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>;
424
406
  interface FlexColumnProps extends FlexBaseProps {
425
407
  center?: boolean;
426
408
  }
@@ -434,12 +416,12 @@ interface FlexColumnComponent extends React.FunctionComponent<FlexColumnProps> {
434
416
  }
435
417
  declare const FlexColumn: FlexColumnComponent;
436
418
 
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>;
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>;
443
425
  interface FlexRowProps extends FlexBaseProps {
444
426
  center?: boolean;
445
427
  }
@@ -596,6 +578,16 @@ declare function Paper(props: PaperProps): react.JSX.Element;
596
578
  interface PortletContentProps extends BoxProps {
597
579
  noPadding?: boolean;
598
580
  }
581
+ /**
582
+ * Portlet의 본문 영역을 렌더링합니다.
583
+ *
584
+ * @param props Box 속성과 여백 설정
585
+ * @returns 본문 레이아웃이 적용된 Box
586
+ * @example
587
+ * ```tsx
588
+ * <Portlet.Content noPadding>내용</Portlet.Content>
589
+ * ```
590
+ */
599
591
  declare const PortletContent: {
600
592
  (props: PortletContentProps): react.JSX.Element;
601
593
  displayName: string;
@@ -604,6 +596,16 @@ declare const PortletContent: {
604
596
  interface PortletFooterProps extends BoxProps {
605
597
  noDivider?: boolean;
606
598
  }
599
+ /**
600
+ * Portlet의 하단 영역을 렌더링합니다.
601
+ *
602
+ * @param props Box 속성과 구분선 설정
603
+ * @returns 하단 레이아웃이 적용된 Box
604
+ * @example
605
+ * ```tsx
606
+ * <Portlet.Footer noDivider>하단 내용</Portlet.Footer>
607
+ * ```
608
+ */
607
609
  declare const PortletFooter: {
608
610
  (props: PortletFooterProps): react.JSX.Element;
609
611
  displayName: string;
@@ -613,19 +615,87 @@ interface PortletHeaderProps extends BoxProps {
613
615
  noDivider?: boolean;
614
616
  noPadding?: boolean;
615
617
  }
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
+ */
616
631
  declare const PortletHeader: {
617
632
  (props: PortletHeaderProps): react.JSX.Element;
618
633
  displayName: string;
619
634
  };
620
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
+ };
672
+
621
673
  interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
622
674
  children?: ReactNode;
623
675
  }
624
- interface PortletComponent extends React.FunctionComponent<PortletProps> {
676
+ interface PortletComponent extends FunctionComponent<PortletProps> {
625
677
  Content: typeof PortletContent;
626
678
  Header: typeof PortletHeader;
627
679
  Footer: typeof PortletFooter;
680
+ Label: typeof PortletLabel;
681
+ Toolbar: typeof PortletToolbar;
628
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
+ */
629
699
  declare const Portlet: PortletComponent;
630
700
 
631
701
  interface SegmentedControlItem {
@@ -737,22 +807,22 @@ declare const Spoiler: {
737
807
  displayName: string;
738
808
  };
739
809
 
740
- interface CreateComponentProps extends StackProps {
810
+ interface StackColumnProps extends Omit<StackProps, 'direction'> {
811
+ center?: boolean;
741
812
  alignItems?: React.CSSProperties['alignItems'];
742
813
  justifyContent?: React.CSSProperties['justifyContent'];
743
814
  }
744
-
745
- interface StackColumnProps extends Omit<StackProps, 'direction'> {
746
- center?: boolean;
815
+ /** 원본 createComponent가 노출하던 서브변형 Props 타입 표면과 동일(StackProps 기반, direction 포함). */
816
+ interface StackColumnSubVariantProps extends StackProps {
747
817
  alignItems?: React.CSSProperties['alignItems'];
748
818
  justifyContent?: React.CSSProperties['justifyContent'];
749
819
  }
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>;
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>;
756
826
  interface StackColumnComponent extends React.FunctionComponent<StackColumnProps> {
757
827
  Start: typeof StackColumnStart;
758
828
  End: typeof StackColumnEnd;
@@ -768,12 +838,16 @@ interface StackRowProps extends Omit<StackProps, 'direction'> {
768
838
  alignItems?: React.CSSProperties['alignItems'];
769
839
  justifyContent?: React.CSSProperties['justifyContent'];
770
840
  }
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>;
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>;
777
851
  interface StackRowComponent extends React.FunctionComponent<StackRowProps> {
778
852
  Start: typeof StackRowStart;
779
853
  End: typeof StackRowEnd;
@@ -818,10 +892,7 @@ interface TopAbsoluteCenterProps extends BoxProps {
818
892
  * </TopAbsolute.Center>
819
893
  * ```
820
894
  */
821
- declare const TopAbsoluteCenter: {
822
- ({ fullWidth, top, sx, ref, ...props }: TopAbsoluteCenterProps): react.JSX.Element;
823
- displayName: string;
824
- };
895
+ declare const TopAbsoluteCenter: FunctionComponent<TopAbsoluteCenterProps>;
825
896
 
826
897
  /**
827
898
  * `TopAbsoluteLeft` 컴포넌트의 속성을 정의합니다.
@@ -863,10 +934,7 @@ interface TopAbsoluteLeftProps extends BoxProps {
863
934
  * </TopAbsolute.Left>
864
935
  * ```
865
936
  */
866
- declare const TopAbsoluteLeft: {
867
- ({ fullWidth, left, top, sx, ref, ...props }: TopAbsoluteLeftProps): react.JSX.Element;
868
- displayName: string;
869
- };
937
+ declare const TopAbsoluteLeft: FunctionComponent<TopAbsoluteLeftProps>;
870
938
 
871
939
  /**
872
940
  * `TopAbsoluteRight` 컴포넌트의 속성을 정의합니다.
@@ -908,10 +976,7 @@ interface TopAbsoluteRightProps extends BoxProps {
908
976
  * </TopAbsolute.Right>
909
977
  * ```
910
978
  */
911
- declare const TopAbsoluteRight: {
912
- ({ fullWidth, right, top, sx, ref, ...props }: TopAbsoluteRightProps): react.JSX.Element;
913
- displayName: string;
914
- };
979
+ declare const TopAbsoluteRight: FunctionComponent<TopAbsoluteRightProps>;
915
980
 
916
981
  /**
917
982
  * `TopAbsolute` 컴포넌트의 속성을 정의합니다.
@@ -990,4 +1055,4 @@ declare const sxDialogHeight: (key?: "height" | "minHeight" | "maxHeight", heigh
990
1055
  };
991
1056
  };
992
1057
 
993
- 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 };
package/dist/index.d.ts CHANGED
@@ -1,6 +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, Ref } from 'react';
3
+ import { FunctionComponent, CSSProperties, ReactNode, FC, ReactElement, Ref } from 'react';
4
4
  export { C as Closables } from './closables-BK0Db72u.js';
5
5
  import 'rxjs';
6
6
 
@@ -8,30 +8,21 @@ interface BottomAbsoluteCenterProps extends BoxProps {
8
8
  fullWidth?: boolean;
9
9
  bottom?: CSSProperties['bottom'];
10
10
  }
11
- declare const BottomAbsoluteCenter: {
12
- ({ fullWidth, bottom, sx, ref, ...props }: BottomAbsoluteCenterProps): react.JSX.Element;
13
- displayName: string;
14
- };
11
+ declare const BottomAbsoluteCenter: FunctionComponent<BottomAbsoluteCenterProps>;
15
12
 
16
13
  interface BottomAbsoluteLeftProps extends BoxProps {
17
14
  fullWidth?: boolean;
18
15
  bottom?: CSSProperties['bottom'];
19
16
  left?: CSSProperties['left'];
20
17
  }
21
- declare const BottomAbsoluteLeft: {
22
- ({ fullWidth, left, bottom, sx, ref, ...props }: BottomAbsoluteLeftProps): react.JSX.Element;
23
- displayName: string;
24
- };
18
+ declare const BottomAbsoluteLeft: FunctionComponent<BottomAbsoluteLeftProps>;
25
19
 
26
20
  interface BottomAbsoluteRightProps extends BoxProps {
27
21
  fullWidth?: boolean;
28
22
  bottom?: CSSProperties['bottom'];
29
23
  right?: CSSProperties['right'];
30
24
  }
31
- declare const BottomAbsoluteRight: {
32
- ({ fullWidth, right, bottom, sx, ref, ...props }: BottomAbsoluteRightProps): react.JSX.Element;
33
- displayName: string;
34
- };
25
+ declare const BottomAbsoluteRight: FunctionComponent<BottomAbsoluteRightProps>;
35
26
 
36
27
  interface BottomAbsoluteProps extends BoxProps {
37
28
  left?: CSSProperties['left'];
@@ -167,28 +158,19 @@ declare function CustomTableBody(props: CustomTableBodyProps): react.JSX.Element
167
158
  interface CenterAbsoluteCenterProps extends BoxProps {
168
159
  fullWidth?: boolean;
169
160
  }
170
- declare const CenterAbsoluteCenter: {
171
- ({ fullWidth, sx, ref, ...props }: CenterAbsoluteCenterProps): react.JSX.Element;
172
- displayName: string;
173
- };
161
+ declare const CenterAbsoluteCenter: FunctionComponent<CenterAbsoluteCenterProps>;
174
162
 
175
163
  interface CenterAbsoluteLeftProps extends BoxProps {
176
164
  left?: CSSProperties['left'];
177
165
  fullWidth?: boolean;
178
166
  }
179
- declare const CenterAbsoluteLeft: {
180
- ({ fullWidth, left, sx, ref, ...props }: CenterAbsoluteLeftProps): react.JSX.Element;
181
- displayName: string;
182
- };
167
+ declare const CenterAbsoluteLeft: FunctionComponent<CenterAbsoluteLeftProps>;
183
168
 
184
169
  interface CenterAbsoluteRightProps extends BoxProps {
185
170
  right?: CSSProperties['right'];
186
171
  fullWidth?: boolean;
187
172
  }
188
- declare const CenterAbsoluteRight: {
189
- ({ fullWidth, right, sx, ref, ...props }: CenterAbsoluteRightProps): react.JSX.Element;
190
- displayName: string;
191
- };
173
+ declare const CenterAbsoluteRight: FunctionComponent<CenterAbsoluteRightProps>;
192
174
 
193
175
  interface CenterAbsoluteProps extends BoxProps {
194
176
  left?: CSSProperties['left'];
@@ -415,12 +397,12 @@ interface FlexBaseProps extends BoxProps {
415
397
  inlineFlex?: boolean;
416
398
  }
417
399
 
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>;
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>;
424
406
  interface FlexColumnProps extends FlexBaseProps {
425
407
  center?: boolean;
426
408
  }
@@ -434,12 +416,12 @@ interface FlexColumnComponent extends React.FunctionComponent<FlexColumnProps> {
434
416
  }
435
417
  declare const FlexColumn: FlexColumnComponent;
436
418
 
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>;
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>;
443
425
  interface FlexRowProps extends FlexBaseProps {
444
426
  center?: boolean;
445
427
  }
@@ -596,6 +578,16 @@ declare function Paper(props: PaperProps): react.JSX.Element;
596
578
  interface PortletContentProps extends BoxProps {
597
579
  noPadding?: boolean;
598
580
  }
581
+ /**
582
+ * Portlet의 본문 영역을 렌더링합니다.
583
+ *
584
+ * @param props Box 속성과 여백 설정
585
+ * @returns 본문 레이아웃이 적용된 Box
586
+ * @example
587
+ * ```tsx
588
+ * <Portlet.Content noPadding>내용</Portlet.Content>
589
+ * ```
590
+ */
599
591
  declare const PortletContent: {
600
592
  (props: PortletContentProps): react.JSX.Element;
601
593
  displayName: string;
@@ -604,6 +596,16 @@ declare const PortletContent: {
604
596
  interface PortletFooterProps extends BoxProps {
605
597
  noDivider?: boolean;
606
598
  }
599
+ /**
600
+ * Portlet의 하단 영역을 렌더링합니다.
601
+ *
602
+ * @param props Box 속성과 구분선 설정
603
+ * @returns 하단 레이아웃이 적용된 Box
604
+ * @example
605
+ * ```tsx
606
+ * <Portlet.Footer noDivider>하단 내용</Portlet.Footer>
607
+ * ```
608
+ */
607
609
  declare const PortletFooter: {
608
610
  (props: PortletFooterProps): react.JSX.Element;
609
611
  displayName: string;
@@ -613,19 +615,87 @@ interface PortletHeaderProps extends BoxProps {
613
615
  noDivider?: boolean;
614
616
  noPadding?: boolean;
615
617
  }
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
+ */
616
631
  declare const PortletHeader: {
617
632
  (props: PortletHeaderProps): react.JSX.Element;
618
633
  displayName: string;
619
634
  };
620
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
+ };
672
+
621
673
  interface PortletProps extends Omit<PaperProps$1, 'elevation' | 'component' | 'nonce'> {
622
674
  children?: ReactNode;
623
675
  }
624
- interface PortletComponent extends React.FunctionComponent<PortletProps> {
676
+ interface PortletComponent extends FunctionComponent<PortletProps> {
625
677
  Content: typeof PortletContent;
626
678
  Header: typeof PortletHeader;
627
679
  Footer: typeof PortletFooter;
680
+ Label: typeof PortletLabel;
681
+ Toolbar: typeof PortletToolbar;
628
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
+ */
629
699
  declare const Portlet: PortletComponent;
630
700
 
631
701
  interface SegmentedControlItem {
@@ -737,22 +807,22 @@ declare const Spoiler: {
737
807
  displayName: string;
738
808
  };
739
809
 
740
- interface CreateComponentProps extends StackProps {
810
+ interface StackColumnProps extends Omit<StackProps, 'direction'> {
811
+ center?: boolean;
741
812
  alignItems?: React.CSSProperties['alignItems'];
742
813
  justifyContent?: React.CSSProperties['justifyContent'];
743
814
  }
744
-
745
- interface StackColumnProps extends Omit<StackProps, 'direction'> {
746
- center?: boolean;
815
+ /** 원본 createComponent가 노출하던 서브변형 Props 타입 표면과 동일(StackProps 기반, direction 포함). */
816
+ interface StackColumnSubVariantProps extends StackProps {
747
817
  alignItems?: React.CSSProperties['alignItems'];
748
818
  justifyContent?: React.CSSProperties['justifyContent'];
749
819
  }
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>;
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>;
756
826
  interface StackColumnComponent extends React.FunctionComponent<StackColumnProps> {
757
827
  Start: typeof StackColumnStart;
758
828
  End: typeof StackColumnEnd;
@@ -768,12 +838,16 @@ interface StackRowProps extends Omit<StackProps, 'direction'> {
768
838
  alignItems?: React.CSSProperties['alignItems'];
769
839
  justifyContent?: React.CSSProperties['justifyContent'];
770
840
  }
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>;
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>;
777
851
  interface StackRowComponent extends React.FunctionComponent<StackRowProps> {
778
852
  Start: typeof StackRowStart;
779
853
  End: typeof StackRowEnd;
@@ -818,10 +892,7 @@ interface TopAbsoluteCenterProps extends BoxProps {
818
892
  * </TopAbsolute.Center>
819
893
  * ```
820
894
  */
821
- declare const TopAbsoluteCenter: {
822
- ({ fullWidth, top, sx, ref, ...props }: TopAbsoluteCenterProps): react.JSX.Element;
823
- displayName: string;
824
- };
895
+ declare const TopAbsoluteCenter: FunctionComponent<TopAbsoluteCenterProps>;
825
896
 
826
897
  /**
827
898
  * `TopAbsoluteLeft` 컴포넌트의 속성을 정의합니다.
@@ -863,10 +934,7 @@ interface TopAbsoluteLeftProps extends BoxProps {
863
934
  * </TopAbsolute.Left>
864
935
  * ```
865
936
  */
866
- declare const TopAbsoluteLeft: {
867
- ({ fullWidth, left, top, sx, ref, ...props }: TopAbsoluteLeftProps): react.JSX.Element;
868
- displayName: string;
869
- };
937
+ declare const TopAbsoluteLeft: FunctionComponent<TopAbsoluteLeftProps>;
870
938
 
871
939
  /**
872
940
  * `TopAbsoluteRight` 컴포넌트의 속성을 정의합니다.
@@ -908,10 +976,7 @@ interface TopAbsoluteRightProps extends BoxProps {
908
976
  * </TopAbsolute.Right>
909
977
  * ```
910
978
  */
911
- declare const TopAbsoluteRight: {
912
- ({ fullWidth, right, top, sx, ref, ...props }: TopAbsoluteRightProps): react.JSX.Element;
913
- displayName: string;
914
- };
979
+ declare const TopAbsoluteRight: FunctionComponent<TopAbsoluteRightProps>;
915
980
 
916
981
  /**
917
982
  * `TopAbsolute` 컴포넌트의 속성을 정의합니다.
@@ -990,4 +1055,4 @@ declare const sxDialogHeight: (key?: "height" | "minHeight" | "maxHeight", heigh
990
1055
  };
991
1056
  };
992
1057
 
993
- 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 };