126 lines
3.0 KiB
TypeScript
126 lines
3.0 KiB
TypeScript
import * as _chakra_ui_styled_system from '@chakra-ui/styled-system';
|
|
|
|
declare const modalTheme: {
|
|
baseStyle?: ((props: _chakra_ui_styled_system.StyleFunctionProps) => {
|
|
overlay: {
|
|
bg: string;
|
|
zIndex: string;
|
|
};
|
|
dialogContainer: {
|
|
display: string;
|
|
zIndex: string;
|
|
justifyContent: string;
|
|
alignItems: string;
|
|
overflow: string;
|
|
overscrollBehaviorY: string;
|
|
};
|
|
dialog: {
|
|
[x: string]: string | {
|
|
[x: string]: string;
|
|
} | undefined;
|
|
borderRadius: string;
|
|
color: string;
|
|
my: string;
|
|
mx: string | undefined;
|
|
zIndex: string;
|
|
maxH: string | undefined;
|
|
_dark: {
|
|
[x: string]: string;
|
|
};
|
|
bg: string;
|
|
boxShadow: string;
|
|
};
|
|
header: {
|
|
px: string;
|
|
py: string;
|
|
fontSize: string;
|
|
fontWeight: string;
|
|
};
|
|
closeButton: {
|
|
position: string;
|
|
top: string;
|
|
insetEnd: string;
|
|
};
|
|
body: {
|
|
px: string;
|
|
py: string;
|
|
flex: string;
|
|
overflow: string | undefined;
|
|
};
|
|
footer: {
|
|
px: string;
|
|
py: string;
|
|
};
|
|
}) | undefined;
|
|
sizes?: {
|
|
xs: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
sm: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
md: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
lg: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
xl: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
"2xl": {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
"3xl": {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
"4xl": {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
"5xl": {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
"6xl": {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
full: {
|
|
dialog: {
|
|
maxW: string;
|
|
};
|
|
};
|
|
} | undefined;
|
|
variants?: {
|
|
[key: string]: _chakra_ui_styled_system.PartsStyleInterpolation<{
|
|
keys: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
}>;
|
|
} | undefined;
|
|
defaultProps?: {
|
|
size?: "md" | "full" | "xs" | "sm" | "lg" | "xl" | "2xl" | "3xl" | "4xl" | "5xl" | "6xl" | undefined;
|
|
variant?: string | number | undefined;
|
|
colorScheme?: string | undefined;
|
|
} | undefined;
|
|
parts: ("overlay" | "dialogContainer" | "dialog" | "header" | "closeButton" | "body" | "footer")[];
|
|
};
|
|
|
|
export { modalTheme };
|