@mezo-org/mezo-clay 0.1.0-dev.5 → 0.1.0-dev.6
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/components/index.d.ts +1 -0
- package/dist/components/modal/index.d.ts +3 -0
- package/dist/components/modal/modal.d.ts +24 -0
- package/dist/mezo-clay.es.js +10770 -9927
- package/dist/mezo-clay.umd.js +38 -38
- package/package.json +1 -1
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ComponentProps, PropsWithChildren } from 'react';
|
|
2
|
+
import { ModalHeader as BaseModalHeader, ModalFooter as BaseModalFooter, ModalBody as BaseModalBody, ModalButton as BaseModalButton, ModalProps as BaseModalProps, SharedStylePropsArg } from 'baseui/modal';
|
|
3
|
+
export type ModalHeaderProps = ComponentProps<typeof BaseModalHeader>;
|
|
4
|
+
export declare function ModalHeader(props: ModalHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
5
|
+
type ModalImageProps = {
|
|
6
|
+
imageSrc: string;
|
|
7
|
+
imageAriaLabel: string;
|
|
8
|
+
};
|
|
9
|
+
export type ModalHeaderWithImageProps = ModalHeaderProps & ModalImageProps;
|
|
10
|
+
export declare function ModalHeaderWithImage({ imageSrc, imageAriaLabel, children, ...restProps }: ModalHeaderWithImageProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export type ModalBodyWithImageProps = ComponentProps<typeof BaseModalBody> & ModalImageProps & {
|
|
12
|
+
imageLayout?: "left" | "right";
|
|
13
|
+
imageWidth?: "string";
|
|
14
|
+
};
|
|
15
|
+
export declare function ModalBodyWithImage({ children, imageSrc, imageAriaLabel, imageLayout, imageWidth, }: ModalBodyWithImageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
export type ModalFooterProps = ComponentProps<typeof BaseModalFooter>;
|
|
17
|
+
export declare function ModalFooter(props: ModalFooterProps): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
export declare function ModalSecondaryButtonWrapper({ children }: PropsWithChildren): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export type ModalButtonProps = ComponentProps<typeof BaseModalButton>;
|
|
20
|
+
export declare function ModalButton({ overrides, ...restProps }: ModalButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function ModalClose(props: SharedStylePropsArg): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
export type ModalProps = BaseModalProps;
|
|
23
|
+
export declare function Modal({ overrides, ...restProps }: BaseModalProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
export {};
|