@shoplflow/base 0.7.0 → 0.7.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.
@@ -41,10 +41,6 @@ export interface ModalBodyOptionProps {
41
41
  height?: number;
42
42
  sizeVar?: ModalSizeType;
43
43
  }
44
- export declare const MODAL_BODY_KEY: unique symbol;
45
- export interface ModalBodyType extends React.FC<ModalBodyProps> {
46
- [MODAL_BODY_KEY]?: boolean;
47
- }
48
44
  export interface ModalFooterProps extends ModalFooterOptionProps, ChildrenProps {
49
45
  }
50
46
  export interface ModalFooterOptionProps {
@@ -1,3 +1,3 @@
1
- import type { ModalBodyType } from './Modal.types';
2
- declare const ModalBody: ModalBodyType;
1
+ import type { ModalBodyProps } from './Modal.types';
2
+ declare const ModalBody: ({ children, isIncludeHeader, isIncludeFooter, sizeVar, height: modalContainerHeight, }: ModalBodyProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default ModalBody;
@@ -1,3 +1,3 @@
1
1
  import type { ModalContainerProps } from './Modal.types';
2
- declare const ModalContainer: ({ children, outsideClick, ...rest }: ModalContainerProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ declare const ModalContainer: ({ children, outsideClick, sizeVar, ...rest }: ModalContainerProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  export default ModalContainer;
@@ -1,7 +1,7 @@
1
1
  export declare const Modal: {
2
- Container: ({ children, outsideClick, ...rest }: import("./Modal.types").ModalContainerProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
2
+ Container: ({ children, outsideClick, sizeVar, ...rest }: import("./Modal.types").ModalContainerProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
3
3
  Header: import("./Modal.types").ModalHeaderType;
4
- Body: import("./Modal.types").ModalBodyType;
4
+ Body: ({ children, isIncludeHeader, isIncludeFooter, sizeVar, height: modalContainerHeight, }: import("./Modal.types").ModalBodyProps) => import("@emotion/react/types/jsx-namespace").EmotionJSX.Element;
5
5
  Footer: import("./Modal.types").ModalFooterType;
6
6
  };
7
7
  export * from './Modal.types';