@astral/ui 0.4.1-alpha.1 → 0.4.1-alpha.4
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/cjs/index.d.ts +1 -0
- package/cjs/src/Badge/Badge.d.ts +4 -0
- package/cjs/src/Badge/index.d.ts +2 -0
- package/cjs/src/Badge/styled.d.ts +49 -0
- package/cjs/src/Badge/types.d.ts +5 -0
- package/cjs/src/Button/Button.d.ts +3 -0
- package/cjs/src/Button/index.d.ts +2 -0
- package/cjs/src/Button/styled.d.ts +12 -0
- package/cjs/src/Button/types.d.ts +7 -0
- package/cjs/src/ButtonBase/ButtonBase.d.ts +3 -0
- package/cjs/src/ButtonBase/constants.d.ts +22 -0
- package/cjs/src/ButtonBase/index.d.ts +3 -0
- package/cjs/src/ButtonBase/styled.d.ts +27 -0
- package/cjs/src/ButtonBase/types.d.ts +11 -0
- package/cjs/src/Checkbox/Checkbox.d.ts +3 -0
- package/cjs/src/Checkbox/icons.d.ts +5 -0
- package/cjs/src/Checkbox/index.d.ts +2 -0
- package/cjs/src/Checkbox/styled.d.ts +4 -0
- package/cjs/src/Checkbox/types.d.ts +2 -0
- package/cjs/src/CircularProgress/CircularProgress.d.ts +4 -0
- package/cjs/src/CircularProgress/constants.d.ts +8 -0
- package/cjs/src/CircularProgress/index.d.ts +2 -0
- package/cjs/src/CircularProgress/styled.d.ts +6 -0
- package/cjs/src/CircularProgress/types.d.ts +8 -0
- package/cjs/src/DashboardLayout/DashboardLayout.d.ts +15 -0
- package/cjs/src/DashboardLayout/Header/Header.d.ts +4 -0
- package/cjs/src/DashboardLayout/Header/index.d.ts +2 -0
- package/cjs/src/DashboardLayout/Header/styled.d.ts +23 -0
- package/cjs/src/DashboardLayout/Header/types.d.ts +10 -0
- package/cjs/src/DashboardLayout/Main/Main.d.ts +6 -0
- package/cjs/src/DashboardLayout/Main/index.d.ts +1 -0
- package/cjs/src/DashboardLayout/Main/styled.d.ts +5 -0
- package/cjs/src/DashboardLayout/SideBar/SideBar.d.ts +6 -0
- package/cjs/src/DashboardLayout/SideBar/index.d.ts +1 -0
- package/cjs/src/DashboardLayout/SideBar/styled.d.ts +3 -0
- package/cjs/src/DashboardLayout/index.d.ts +1 -0
- package/cjs/src/DashboardLayout/styled.d.ts +6 -0
- package/cjs/src/FormControlLabel/FormControlLabel.d.ts +3 -0
- package/cjs/src/FormControlLabel/index.d.ts +2 -0
- package/cjs/src/FormControlLabel/styled.d.ts +3 -0
- package/cjs/src/FormControlLabel/types.d.ts +2 -0
- package/cjs/src/FormHelperText/FormHelperText.d.ts +4 -0
- package/cjs/src/FormHelperText/index.d.ts +1 -0
- package/cjs/src/FormHelperText/styled.d.ts +41 -0
- package/cjs/src/FormHelperText/types.d.ts +6 -0
- package/cjs/src/GlobalStyles/GlobalStyles.d.ts +3 -0
- package/cjs/src/GlobalStyles/index.d.ts +1 -0
- package/cjs/src/Grid/Grid.d.ts +3 -0
- package/cjs/src/Grid/index.d.ts +2 -0
- package/cjs/src/Grid/styled.d.ts +13 -0
- package/cjs/src/Grid/types.d.ts +30 -0
- package/cjs/src/IconButton/IconButton.d.ts +3 -0
- package/cjs/src/IconButton/index.d.ts +1 -0
- package/cjs/src/IconButton/styled.d.ts +19 -0
- package/cjs/src/Menu/Menu.d.ts +3 -0
- package/cjs/src/Menu/index.d.ts +1 -0
- package/cjs/src/MenuItem/MenuItem.d.ts +3 -0
- package/cjs/src/MenuItem/index.d.ts +1 -0
- package/cjs/src/MenuList/MenuList.d.ts +3 -0
- package/cjs/src/MenuList/index.d.ts +2 -0
- package/cjs/src/MenuList/styled.d.ts +20 -0
- package/cjs/src/MenuList/types.d.ts +2 -0
- package/cjs/src/Radio/Icon.d.ts +3 -0
- package/cjs/src/Radio/Radio.d.ts +4 -0
- package/cjs/src/Radio/index.d.ts +2 -0
- package/cjs/src/Radio/styled.d.ts +4 -0
- package/cjs/src/Radio/types.d.ts +2 -0
- package/cjs/src/RadioGroup/RadioGroup.d.ts +2 -0
- package/cjs/src/StylesCacheProvider/index.d.ts +1 -0
- package/cjs/src/Tag/Tag.d.ts +3 -0
- package/cjs/src/Tag/constants.d.ts +21 -0
- package/cjs/src/Tag/index.d.ts +2 -0
- package/cjs/src/Tag/styled.d.ts +25 -0
- package/cjs/src/Tag/types.d.ts +12 -0
- package/cjs/src/TextArea/TextArea.d.ts +3 -0
- package/cjs/src/TextArea/index.d.ts +2 -0
- package/cjs/src/TextArea/types.d.ts +2 -0
- package/cjs/src/TextField/TextField.d.ts +4 -0
- package/cjs/src/TextField/index.d.ts +2 -0
- package/cjs/src/TextField/types.d.ts +6 -0
- package/cjs/src/ThemeProvider/ThemeProvider.d.ts +7 -0
- package/cjs/src/ThemeProvider/index.d.ts +1 -0
- package/cjs/src/Tooltip/Tooltip.d.ts +3 -0
- package/cjs/src/Tooltip/constants.d.ts +4 -0
- package/cjs/src/Tooltip/index.d.ts +2 -0
- package/cjs/src/Tooltip/styled.d.ts +5 -0
- package/cjs/src/Tooltip/types.d.ts +6 -0
- package/cjs/src/Typography/Typography.d.ts +8 -0
- package/cjs/src/Typography/index.d.ts +1 -0
- package/cjs/src/createStylesCache/index.d.ts +2 -0
- package/cjs/src/createStylesServer/index.d.ts +1 -0
- package/cjs/src/declaration/emotion.d.ts +6 -0
- package/cjs/src/declaration/mui-material.d.ts +14 -0
- package/cjs/src/index.d.ts +24 -0
- package/cjs/src/styles/index.d.ts +1 -0
- package/cjs/src/styles/styled/index.d.ts +1 -0
- package/cjs/src/styles/styled/styled.d.ts +2 -0
- package/cjs/src/styles/styled/types.d.ts +48 -0
- package/cjs/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
- package/cjs/src/theme/baseTheme.d.ts +20 -0
- package/cjs/src/theme/components/MuiFormHelperText.d.ts +4 -0
- package/cjs/src/theme/components/MuiFormLabel.d.ts +4 -0
- package/cjs/src/theme/components/MuiInputBase.d.ts +4 -0
- package/cjs/src/theme/components/MuiInputLabel.d.ts +4 -0
- package/cjs/src/theme/components/MuiOutlinedInput.d.ts +4 -0
- package/cjs/src/theme/components/MuiTypography.d.ts +21 -0
- package/cjs/src/theme/components/components.d.ts +21 -0
- package/cjs/src/theme/components/index.d.ts +1 -0
- package/cjs/src/theme/constants.d.ts +9 -0
- package/cjs/src/theme/elevation.d.ts +8 -0
- package/cjs/src/theme/hooks/index.d.ts +1 -0
- package/cjs/src/theme/hooks/useTheme/index.d.ts +2 -0
- package/cjs/src/theme/index.d.ts +6 -0
- package/cjs/src/theme/palette/brandPalette.d.ts +15 -0
- package/cjs/src/theme/palette/index.d.ts +2 -0
- package/cjs/src/theme/palette/palette.d.ts +29 -0
- package/cjs/src/theme/shape.d.ts +6 -0
- package/cjs/src/theme/typography.d.ts +20 -0
- package/esm/index.d.ts +1 -0
- package/esm/src/Badge/Badge.d.ts +4 -0
- package/esm/src/Badge/index.d.ts +2 -0
- package/esm/src/Badge/styled.d.ts +49 -0
- package/esm/src/Badge/types.d.ts +5 -0
- package/esm/src/Button/Button.d.ts +3 -0
- package/esm/src/Button/index.d.ts +2 -0
- package/esm/src/Button/styled.d.ts +12 -0
- package/esm/src/Button/types.d.ts +7 -0
- package/esm/src/ButtonBase/ButtonBase.d.ts +3 -0
- package/esm/src/ButtonBase/constants.d.ts +22 -0
- package/esm/src/ButtonBase/index.d.ts +3 -0
- package/esm/src/ButtonBase/styled.d.ts +27 -0
- package/esm/src/ButtonBase/types.d.ts +11 -0
- package/esm/src/Checkbox/Checkbox.d.ts +3 -0
- package/esm/src/Checkbox/icons.d.ts +5 -0
- package/esm/src/Checkbox/index.d.ts +2 -0
- package/esm/src/Checkbox/styled.d.ts +4 -0
- package/esm/src/Checkbox/types.d.ts +2 -0
- package/esm/src/CircularProgress/CircularProgress.d.ts +4 -0
- package/esm/src/CircularProgress/constants.d.ts +8 -0
- package/esm/src/CircularProgress/index.d.ts +2 -0
- package/esm/src/CircularProgress/styled.d.ts +6 -0
- package/esm/src/CircularProgress/types.d.ts +8 -0
- package/esm/src/DashboardLayout/DashboardLayout.d.ts +15 -0
- package/esm/src/DashboardLayout/Header/Header.d.ts +4 -0
- package/esm/src/DashboardLayout/Header/index.d.ts +2 -0
- package/esm/src/DashboardLayout/Header/styled.d.ts +23 -0
- package/esm/src/DashboardLayout/Header/types.d.ts +10 -0
- package/esm/src/DashboardLayout/Main/Main.d.ts +6 -0
- package/esm/src/DashboardLayout/Main/index.d.ts +1 -0
- package/esm/src/DashboardLayout/Main/styled.d.ts +5 -0
- package/esm/src/DashboardLayout/SideBar/SideBar.d.ts +6 -0
- package/esm/src/DashboardLayout/SideBar/index.d.ts +1 -0
- package/esm/src/DashboardLayout/SideBar/styled.d.ts +3 -0
- package/esm/src/DashboardLayout/index.d.ts +1 -0
- package/esm/src/DashboardLayout/styled.d.ts +6 -0
- package/esm/src/FormControlLabel/FormControlLabel.d.ts +3 -0
- package/esm/src/FormControlLabel/index.d.ts +2 -0
- package/esm/src/FormControlLabel/styled.d.ts +3 -0
- package/esm/src/FormControlLabel/types.d.ts +2 -0
- package/esm/src/FormHelperText/FormHelperText.d.ts +4 -0
- package/esm/src/FormHelperText/index.d.ts +1 -0
- package/esm/src/FormHelperText/styled.d.ts +41 -0
- package/esm/src/FormHelperText/types.d.ts +6 -0
- package/esm/src/GlobalStyles/GlobalStyles.d.ts +3 -0
- package/esm/src/GlobalStyles/index.d.ts +1 -0
- package/esm/src/Grid/Grid.d.ts +3 -0
- package/esm/src/Grid/index.d.ts +2 -0
- package/esm/src/Grid/styled.d.ts +13 -0
- package/esm/src/Grid/types.d.ts +30 -0
- package/esm/src/IconButton/IconButton.d.ts +3 -0
- package/esm/src/IconButton/index.d.ts +1 -0
- package/esm/src/IconButton/styled.d.ts +19 -0
- package/esm/src/Menu/Menu.d.ts +3 -0
- package/esm/src/Menu/index.d.ts +1 -0
- package/esm/src/MenuItem/MenuItem.d.ts +3 -0
- package/esm/src/MenuItem/index.d.ts +1 -0
- package/esm/src/MenuList/MenuList.d.ts +3 -0
- package/esm/src/MenuList/index.d.ts +2 -0
- package/esm/src/MenuList/styled.d.ts +20 -0
- package/esm/src/MenuList/types.d.ts +2 -0
- package/esm/src/Radio/Icon.d.ts +3 -0
- package/esm/src/Radio/Radio.d.ts +4 -0
- package/esm/src/Radio/index.d.ts +2 -0
- package/esm/src/Radio/styled.d.ts +4 -0
- package/esm/src/Radio/types.d.ts +2 -0
- package/esm/src/RadioGroup/RadioGroup.d.ts +2 -0
- package/esm/src/StylesCacheProvider/index.d.ts +1 -0
- package/esm/src/Tag/Tag.d.ts +3 -0
- package/esm/src/Tag/constants.d.ts +21 -0
- package/esm/src/Tag/index.d.ts +2 -0
- package/esm/src/Tag/styled.d.ts +25 -0
- package/esm/src/Tag/types.d.ts +12 -0
- package/esm/src/TextArea/TextArea.d.ts +3 -0
- package/esm/src/TextArea/index.d.ts +2 -0
- package/esm/src/TextArea/types.d.ts +2 -0
- package/esm/src/TextField/TextField.d.ts +4 -0
- package/esm/src/TextField/index.d.ts +2 -0
- package/esm/src/TextField/types.d.ts +6 -0
- package/esm/src/ThemeProvider/ThemeProvider.d.ts +7 -0
- package/esm/src/ThemeProvider/index.d.ts +1 -0
- package/esm/src/Tooltip/Tooltip.d.ts +3 -0
- package/esm/src/Tooltip/constants.d.ts +4 -0
- package/esm/src/Tooltip/index.d.ts +2 -0
- package/esm/src/Tooltip/styled.d.ts +5 -0
- package/esm/src/Tooltip/types.d.ts +6 -0
- package/esm/src/Typography/Typography.d.ts +8 -0
- package/esm/src/Typography/index.d.ts +1 -0
- package/esm/src/createStylesCache/index.d.ts +2 -0
- package/esm/src/createStylesServer/index.d.ts +1 -0
- package/esm/src/declaration/emotion.d.ts +6 -0
- package/esm/src/declaration/mui-material.d.ts +14 -0
- package/esm/src/index.d.ts +24 -0
- package/esm/src/styles/index.d.ts +1 -0
- package/esm/src/styles/styled/index.d.ts +1 -0
- package/esm/src/styles/styled/styled.d.ts +2 -0
- package/esm/src/styles/styled/types.d.ts +48 -0
- package/esm/src/theme/__tests__/BaseTheme.test.d.ts +1 -0
- package/esm/src/theme/baseTheme.d.ts +20 -0
- package/esm/src/theme/components/MuiFormHelperText.d.ts +4 -0
- package/esm/src/theme/components/MuiFormLabel.d.ts +4 -0
- package/esm/src/theme/components/MuiInputBase.d.ts +4 -0
- package/esm/src/theme/components/MuiInputLabel.d.ts +4 -0
- package/esm/src/theme/components/MuiOutlinedInput.d.ts +4 -0
- package/esm/src/theme/components/MuiTypography.d.ts +21 -0
- package/esm/src/theme/components/components.d.ts +21 -0
- package/esm/src/theme/components/index.d.ts +1 -0
- package/esm/src/theme/constants.d.ts +9 -0
- package/esm/src/theme/elevation.d.ts +8 -0
- package/esm/src/theme/hooks/index.d.ts +1 -0
- package/esm/src/theme/hooks/useTheme/index.d.ts +2 -0
- package/esm/src/theme/index.d.ts +6 -0
- package/esm/src/theme/palette/brandPalette.d.ts +15 -0
- package/esm/src/theme/palette/index.d.ts +2 -0
- package/esm/src/theme/palette/palette.d.ts +29 -0
- package/esm/src/theme/shape.d.ts +6 -0
- package/esm/src/theme/typography.d.ts +20 -0
- package/package.json +1 -2
- package/cjs/src/declaration/index.js +0 -14
- package/esm/src/declaration/index.js +0 -2
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Typography } from '@mui/material/styles/createTypography';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
declare type CustomTypographyVariantStyle = {
|
|
4
|
+
fontSize: CSSProperties['fontSize'];
|
|
5
|
+
fontWeight: CSSProperties['fontWeight'];
|
|
6
|
+
lineHeight: CSSProperties['lineHeight'];
|
|
7
|
+
};
|
|
8
|
+
export declare type TypographyThemeOptions = Typography & {
|
|
9
|
+
h7: CustomTypographyVariantStyle;
|
|
10
|
+
h8: CustomTypographyVariantStyle;
|
|
11
|
+
h9: CustomTypographyVariantStyle;
|
|
12
|
+
ui: CustomTypographyVariantStyle;
|
|
13
|
+
link: CustomTypographyVariantStyle;
|
|
14
|
+
pointer: CustomTypographyVariantStyle;
|
|
15
|
+
small: CustomTypographyVariantStyle;
|
|
16
|
+
code: CustomTypographyVariantStyle;
|
|
17
|
+
};
|
|
18
|
+
export declare const pxToRem: (fontSize: number, htmlFontSize?: number) => string;
|
|
19
|
+
export declare const typography: Partial<TypographyThemeOptions>;
|
|
20
|
+
export {};
|
package/esm/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './src';
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BadgeColor, BadgeProps } from './types';
|
|
3
|
+
export declare const StyledBadge: import("@emotion/styled").StyledComponent<{
|
|
4
|
+
classes?: (Partial<import("@mui/material").BadgeUnstyledClasses> & {
|
|
5
|
+
colorPrimary?: string | undefined;
|
|
6
|
+
colorSecondary?: string | undefined;
|
|
7
|
+
colorError?: string | undefined;
|
|
8
|
+
colorInfo?: string | undefined;
|
|
9
|
+
colorSuccess?: string | undefined;
|
|
10
|
+
colorWarning?: string | undefined;
|
|
11
|
+
anchorOriginTopRightRectangular?: string | undefined;
|
|
12
|
+
anchorOriginBottomRightRectangular?: string | undefined;
|
|
13
|
+
anchorOriginTopLeftRectangular?: string | undefined;
|
|
14
|
+
anchorOriginBottomLeftRectangular?: string | undefined;
|
|
15
|
+
anchorOriginTopRightCircular?: string | undefined;
|
|
16
|
+
anchorOriginBottomRightCircular?: string | undefined;
|
|
17
|
+
anchorOriginTopLeftCircular?: string | undefined;
|
|
18
|
+
anchorOriginBottomLeftCircular?: string | undefined;
|
|
19
|
+
overlapRectangular?: string | undefined;
|
|
20
|
+
overlapCircular?: string | undefined;
|
|
21
|
+
}) | undefined;
|
|
22
|
+
color?: "primary" | "secondary" | "default" | "error" | "warning" | "info" | "success" | undefined;
|
|
23
|
+
overlap?: "circular" | "rectangular" | undefined;
|
|
24
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
25
|
+
variant?: "standard" | "dot" | undefined;
|
|
26
|
+
} & {
|
|
27
|
+
anchorOrigin?: import("@mui/material").BadgeOrigin | undefined;
|
|
28
|
+
components?: {
|
|
29
|
+
Root?: import("react").ElementType<any> | undefined;
|
|
30
|
+
Badge?: import("react").ElementType<any> | undefined;
|
|
31
|
+
} | undefined;
|
|
32
|
+
componentsProps?: {
|
|
33
|
+
root?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
|
|
34
|
+
badge?: (import("react").HTMLAttributes<HTMLSpanElement> & import("@mui/material").BadgeUnstyledComponentsPropsOverrides) | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
badgeContent?: import("react").ReactNode;
|
|
37
|
+
children?: import("react").ReactNode;
|
|
38
|
+
classes?: Partial<import("@mui/material").BadgeUnstyledClasses> | undefined;
|
|
39
|
+
invisible?: boolean | undefined;
|
|
40
|
+
max?: number | undefined;
|
|
41
|
+
showZero?: boolean | undefined;
|
|
42
|
+
variant?: string | undefined;
|
|
43
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
44
|
+
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
45
|
+
}, "color" | "components" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "variant" | "componentsProps" | "invisible" | "anchorOrigin" | "overlap" | "badgeContent" | "max" | "showZero"> & {
|
|
46
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
47
|
+
} & Omit<BadgeProps, "color"> & {
|
|
48
|
+
customColor: BadgeColor;
|
|
49
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "variant" | "size"> & {
|
|
3
|
+
color?: "primary" | "error" | "warning" | "success" | undefined;
|
|
4
|
+
variant?: "link" | "light" | "text" | "contained" | undefined;
|
|
5
|
+
size?: "large" | "medium" | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
loading?: boolean | undefined;
|
|
10
|
+
startIcon?: import("react").ReactNode;
|
|
11
|
+
endIcon?: import("react").ReactNode;
|
|
12
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum ButtonColors {
|
|
2
|
+
ERROR = "error",
|
|
3
|
+
SUCCESS = "success",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
PRIMARY = "primary"
|
|
6
|
+
}
|
|
7
|
+
export declare enum ButtonVariants {
|
|
8
|
+
CONTAINED = "contained",
|
|
9
|
+
LIGHT = "light",
|
|
10
|
+
TEXT = "text",
|
|
11
|
+
LINK = "link"
|
|
12
|
+
}
|
|
13
|
+
export declare enum ButtonSizes {
|
|
14
|
+
MEDIUM = "medium",
|
|
15
|
+
LARGE = "large"
|
|
16
|
+
}
|
|
17
|
+
export declare enum ButtonStates {
|
|
18
|
+
DEFAULT = "default",
|
|
19
|
+
ACTIVE = "active",
|
|
20
|
+
FOCUS = "focus",
|
|
21
|
+
HOVER = "hover"
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { BaseButtonProps, ButtonColor, ButtonSize, ButtonState, ButtonVariant } from './types';
|
|
4
|
+
declare type StyledButtonBaseThemeProps = {
|
|
5
|
+
customColor?: ButtonColor;
|
|
6
|
+
customVariant?: ButtonVariant;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
theme: Theme;
|
|
9
|
+
};
|
|
10
|
+
export declare const getColor: ({ theme, customVariant, customColor, buttonState, }: StyledButtonBaseThemeProps & {
|
|
11
|
+
buttonState: ButtonState;
|
|
12
|
+
}) => string;
|
|
13
|
+
export declare const getBgColor: ({ customColor, customVariant, buttonState, theme, }: StyledButtonBaseThemeProps & {
|
|
14
|
+
buttonState: ButtonState;
|
|
15
|
+
}) => string;
|
|
16
|
+
export declare const getButtonHeight: ({ size, }: StyledButtonBaseThemeProps) => string;
|
|
17
|
+
export declare const getButtonPadding: ({ size, theme, }: StyledButtonBaseThemeProps) => string;
|
|
18
|
+
export declare const getDisabledBgColor: ({ theme, customVariant, }: StyledButtonBaseThemeProps) => string;
|
|
19
|
+
export declare const StyledButtonBase: import("@emotion/styled").StyledComponent<Pick<import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps & Omit<any, keyof import("@mui/base/ButtonUnstyled").ButtonUnstyledOwnProps> & {
|
|
20
|
+
component?: import("react").ElementType<any> | undefined;
|
|
21
|
+
}, string | number | symbol> & import("react").RefAttributes<any> & {
|
|
22
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
23
|
+
} & Omit<BaseButtonProps, "color" | "variant"> & {
|
|
24
|
+
customColor?: "primary" | "error" | "warning" | "success" | undefined;
|
|
25
|
+
customVariant?: "link" | "light" | "text" | "contained" | undefined;
|
|
26
|
+
}, {}, {}>;
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ButtonUnstyledProps } from '@mui/base/ButtonUnstyled';
|
|
2
|
+
import { ButtonColors, ButtonSizes, ButtonStates, ButtonVariants } from './constants';
|
|
3
|
+
export declare type ButtonColor = `${ButtonColors}`;
|
|
4
|
+
export declare type ButtonVariant = `${ButtonVariants}`;
|
|
5
|
+
export declare type ButtonSize = `${ButtonSizes}`;
|
|
6
|
+
export declare type ButtonState = `${ButtonStates}`;
|
|
7
|
+
export declare type BaseButtonProps = Omit<ButtonUnstyledProps, 'color' | 'variant' | 'size'> & {
|
|
8
|
+
color?: ButtonColor;
|
|
9
|
+
variant?: ButtonVariant;
|
|
10
|
+
size?: ButtonSize;
|
|
11
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SvgIconProps } from '@mui/material';
|
|
3
|
+
export declare const DefaultIcon: React.FunctionComponent<SvgIconProps>;
|
|
4
|
+
export declare const CheckedIcon: React.FunctionComponent<SvgIconProps>;
|
|
5
|
+
export declare const IndeterminateIcon: React.FunctionComponent<SvgIconProps>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CircularProgressProps } from './types';
|
|
2
|
+
export declare const StyledCircularProgress: import("@emotion/styled").StyledComponent<import("@mui/material").CircularProgressProps & {
|
|
3
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
4
|
+
} & Omit<CircularProgressProps, "color" | "size"> & {
|
|
5
|
+
customColor?: "primary" | "inverted" | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CircularProgressProps as MuiCircularProgressProps } from '@mui/material';
|
|
2
|
+
import { CircularProgressColors, CircularProgressSizes } from './constants';
|
|
3
|
+
export declare type CircularProgressColor = `${CircularProgressColors}`;
|
|
4
|
+
export declare type CircularProgressSize = `${CircularProgressSizes}`;
|
|
5
|
+
export declare type CircularProgressProps = Omit<MuiCircularProgressProps, 'color' | 'size'> & {
|
|
6
|
+
color?: CircularProgressColor;
|
|
7
|
+
size?: CircularProgressSize;
|
|
8
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
interface DashBoardLayoutProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
export declare const DashboardLayout: {
|
|
6
|
+
({ children }: DashBoardLayoutProps): JSX.Element;
|
|
7
|
+
Header: import("react").ForwardRefExoticComponent<import("./Header/types").HeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
8
|
+
SideBar: import("react").ForwardRefExoticComponent<{
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
11
|
+
Main: import("react").ForwardRefExoticComponent<{
|
|
12
|
+
children: ReactNode;
|
|
13
|
+
} & import("react").RefAttributes<HTMLDivElement>>;
|
|
14
|
+
};
|
|
15
|
+
export default DashboardLayout;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledHeader: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
6
|
+
export declare const InnerContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const LeftContainer: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
+
export declare const LogoContainer: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any> | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
withWidget: boolean;
|
|
19
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
20
|
+
export declare const LogoStyle: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
22
|
+
as?: import("react").ElementType<any> | undefined;
|
|
23
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Main';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledMain: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SideBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './DashboardLayout';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledDashboard: import("@emotion/styled").StyledComponent<import("../Grid").GridContainerProps & import("../Grid").GridElementsProps & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
} & {
|
|
5
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
6
|
+
}, {}, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './FormHelperText';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SuccessIcon: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
5
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "warning" | "info" | "success" | "action" | undefined;
|
|
6
|
+
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
7
|
+
htmlColor?: string | undefined;
|
|
8
|
+
inheritViewBox?: boolean | undefined;
|
|
9
|
+
shapeRendering?: string | undefined;
|
|
10
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
11
|
+
titleAccess?: string | undefined;
|
|
12
|
+
viewBox?: string | undefined;
|
|
13
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "className" | "style" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "path" | "key" | "name" | "type" | "local" | "in" | "max" | "href" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
14
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
15
|
+
}, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
16
|
+
children?: import("react").ReactNode;
|
|
17
|
+
} & {
|
|
18
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
19
|
+
}, {}, {}>;
|
|
20
|
+
export declare const ErrorIcon: import("@emotion/styled").StyledComponent<{
|
|
21
|
+
children?: import("react").ReactNode;
|
|
22
|
+
classes?: Partial<import("@mui/material").SvgIconClasses> | undefined;
|
|
23
|
+
color?: "inherit" | "primary" | "secondary" | "disabled" | "error" | "warning" | "info" | "success" | "action" | undefined;
|
|
24
|
+
fontSize?: "inherit" | "large" | "medium" | "small" | undefined;
|
|
25
|
+
htmlColor?: string | undefined;
|
|
26
|
+
inheritViewBox?: boolean | undefined;
|
|
27
|
+
shapeRendering?: string | undefined;
|
|
28
|
+
sx?: import("@mui/system").SxProps<import("@mui/material").Theme> | undefined;
|
|
29
|
+
titleAccess?: string | undefined;
|
|
30
|
+
viewBox?: string | undefined;
|
|
31
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").SVGProps<SVGSVGElement>, "string" | "fontSize" | "fontWeight" | "fontFamily" | "clipPath" | "color" | "cursor" | "direction" | "display" | "filter" | "fontSizeAdjust" | "fontStretch" | "fontStyle" | "fontVariant" | "height" | "imageRendering" | "letterSpacing" | "opacity" | "order" | "paintOrder" | "pointerEvents" | "rotate" | "scale" | "textRendering" | "transform" | "unicodeBidi" | "visibility" | "width" | "wordSpacing" | "writingMode" | "mask" | "offset" | "overflow" | "textDecoration" | "azimuth" | "clip" | "alignmentBaseline" | "baselineShift" | "clipRule" | "colorInterpolation" | "colorRendering" | "dominantBaseline" | "fill" | "fillOpacity" | "fillRule" | "floodColor" | "floodOpacity" | "glyphOrientationVertical" | "lightingColor" | "markerEnd" | "markerMid" | "markerStart" | "shapeRendering" | "stopColor" | "stopOpacity" | "stroke" | "strokeDasharray" | "strokeDashoffset" | "strokeLinecap" | "strokeLinejoin" | "strokeMiterlimit" | "strokeOpacity" | "strokeWidth" | "textAnchor" | "vectorEffect" | "elevation" | "spacing" | "mode" | "className" | "style" | "id" | "lang" | "tabIndex" | "role" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "path" | "key" | "name" | "type" | "local" | "in" | "max" | "href" | "orientation" | "media" | "target" | "origin" | "min" | "viewBox" | "method" | "crossOrigin" | "accentHeight" | "accumulate" | "additive" | "allowReorder" | "alphabetic" | "amplitude" | "arabicForm" | "ascent" | "attributeName" | "attributeType" | "autoReverse" | "baseFrequency" | "baseProfile" | "bbox" | "begin" | "bias" | "by" | "calcMode" | "capHeight" | "clipPathUnits" | "colorInterpolationFilters" | "colorProfile" | "contentScriptType" | "contentStyleType" | "cx" | "cy" | "d" | "decelerate" | "descent" | "diffuseConstant" | "divisor" | "dur" | "dx" | "dy" | "edgeMode" | "enableBackground" | "end" | "exponent" | "externalResourcesRequired" | "filterRes" | "filterUnits" | "focusable" | "format" | "fr" | "from" | "fx" | "fy" | "g1" | "g2" | "glyphName" | "glyphOrientationHorizontal" | "glyphRef" | "gradientTransform" | "gradientUnits" | "hanging" | "horizAdvX" | "horizOriginX" | "ideographic" | "in2" | "intercept" | "k1" | "k2" | "k3" | "k4" | "k" | "kernelMatrix" | "kernelUnitLength" | "kerning" | "keyPoints" | "keySplines" | "keyTimes" | "lengthAdjust" | "limitingConeAngle" | "markerHeight" | "markerUnits" | "markerWidth" | "maskContentUnits" | "maskUnits" | "mathematical" | "numOctaves" | "operator" | "orient" | "overlinePosition" | "overlineThickness" | "panose1" | "pathLength" | "patternContentUnits" | "patternTransform" | "patternUnits" | "points" | "pointsAtX" | "pointsAtY" | "pointsAtZ" | "preserveAlpha" | "preserveAspectRatio" | "primitiveUnits" | "r" | "radius" | "refX" | "refY" | "renderingIntent" | "repeatCount" | "repeatDur" | "requiredExtensions" | "requiredFeatures" | "restart" | "result" | "rx" | "ry" | "seed" | "slope" | "specularConstant" | "specularExponent" | "speed" | "spreadMethod" | "startOffset" | "stdDeviation" | "stemh" | "stemv" | "stitchTiles" | "strikethroughPosition" | "strikethroughThickness" | "surfaceScale" | "systemLanguage" | "tableValues" | "targetX" | "targetY" | "textLength" | "to" | "u1" | "u2" | "underlinePosition" | "underlineThickness" | "unicode" | "unicodeRange" | "unitsPerEm" | "vAlphabetic" | "values" | "version" | "vertAdvY" | "vertOriginX" | "vertOriginY" | "vHanging" | "vIdeographic" | "viewTarget" | "vMathematical" | "widths" | "x1" | "x2" | "x" | "xChannelSelector" | "xHeight" | "xlinkActuate" | "xlinkArcrole" | "xlinkHref" | "xlinkRole" | "xlinkShow" | "xlinkTitle" | "xlinkType" | "xmlBase" | "xmlLang" | "xmlns" | "xmlnsXlink" | "xmlSpace" | "y1" | "y2" | "y" | "yChannelSelector" | "z" | "zoomAndPan"> & {
|
|
32
|
+
ref?: ((instance: SVGSVGElement | null) => void) | import("react").RefObject<SVGSVGElement> | null | undefined;
|
|
33
|
+
}, "fontSize" | "color" | "shapeRendering" | keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "htmlColor" | "inheritViewBox" | "titleAccess" | "viewBox"> & {
|
|
34
|
+
children?: import("react").ReactNode;
|
|
35
|
+
} & {
|
|
36
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
37
|
+
}, {}, {}>;
|
|
38
|
+
export declare const Content: import("@emotion/styled").StyledComponent<{
|
|
39
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any> | undefined;
|
|
41
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GlobalStyles';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { GridProps } from './types';
|
|
3
|
+
export declare const Grid: ({ container, templateColumns, templateRows, templateAreas, columnSpacing, rowSpacing, spacing, autoColumns, autoRows, autoFlow, column, row, area, children, ...props }: GridProps) => JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledGrid: import("@emotion/styled").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
3
|
+
children?: import("react").ReactNode;
|
|
4
|
+
component?: import("react").ElementType<any> | undefined;
|
|
5
|
+
ref?: import("react").Ref<unknown> | undefined;
|
|
6
|
+
sx?: import("@mui/material").SxProps<import("@mui/material").Theme> | undefined;
|
|
7
|
+
} & import("@mui/material/OverridableComponent").CommonProps & Omit<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "key" | keyof import("react").HTMLAttributes<HTMLDivElement>> & {
|
|
8
|
+
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
9
|
+
}, keyof import("@mui/material/OverridableComponent").CommonProps | "children" | "sx" | "ref" | ("fontSize" | "fontWeight" | "lineHeight" | "fontFamily" | "alignContent" | "alignItems" | "alignSelf" | "bottom" | "boxShadow" | "boxSizing" | "color" | "columnGap" | "display" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "fontStyle" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "height" | "justifyContent" | "justifyItems" | "justifySelf" | "left" | "letterSpacing" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "order" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "position" | "right" | "rowGap" | "textAlign" | "textOverflow" | "textTransform" | "top" | "visibility" | "whiteSpace" | "width" | "zIndex" | "border" | "borderBottom" | "borderColor" | "borderLeft" | "borderRadius" | "borderRight" | "borderTop" | "flex" | "gap" | "gridArea" | "gridColumn" | "gridRow" | "margin" | "overflow" | "padding" | "typography" | "p" | "displayPrint" | "bgcolor" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "my" | "pt" | "pr" | "pb" | "pl" | "px" | "py" | "marginX" | "marginY" | "paddingX" | "paddingY") | "component"> & {
|
|
10
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
container: boolean;
|
|
13
|
+
}, {}, {}>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Breakpoint } from '@mui/material/styles';
|
|
3
|
+
declare type StyleCSSType<Type extends keyof React.CSSProperties> = React.CSSProperties[Type] | Partial<Record<Breakpoint, React.CSSProperties[Type]>>;
|
|
4
|
+
export declare type GridContainerProps = {
|
|
5
|
+
container?: boolean;
|
|
6
|
+
templateColumns?: StyleCSSType<'gridTemplateColumns'>;
|
|
7
|
+
templateRows?: StyleCSSType<'gridTemplateRows'>;
|
|
8
|
+
templateAreas?: StyleCSSType<'gridTemplateAreas'>;
|
|
9
|
+
columnSpacing?: StyleCSSType<'gridColumnGap'>;
|
|
10
|
+
rowSpacing?: StyleCSSType<'gridRowGap'>;
|
|
11
|
+
spacing?: StyleCSSType<'gridGap'>;
|
|
12
|
+
justifyItems?: StyleCSSType<'justifyItems'>;
|
|
13
|
+
alignItems?: StyleCSSType<'alignItems'>;
|
|
14
|
+
justifyContent?: StyleCSSType<'justifyContent'>;
|
|
15
|
+
alignContent?: StyleCSSType<'alignContent'>;
|
|
16
|
+
autoColumns?: StyleCSSType<'gridAutoColumns'>;
|
|
17
|
+
autoRows?: StyleCSSType<'gridAutoRows'>;
|
|
18
|
+
autoFlow?: StyleCSSType<'gridAutoFlow'>;
|
|
19
|
+
};
|
|
20
|
+
export declare type GridElementsProps = {
|
|
21
|
+
column?: StyleCSSType<'gridColumn'>;
|
|
22
|
+
row?: StyleCSSType<'gridRow'>;
|
|
23
|
+
area?: StyleCSSType<'gridArea'>;
|
|
24
|
+
justifySelf?: StyleCSSType<'justifySelf'>;
|
|
25
|
+
alignSelf?: StyleCSSType<'alignSelf'>;
|
|
26
|
+
};
|
|
27
|
+
export declare type GridProps = GridContainerProps & GridElementsProps & {
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
};
|
|
30
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './IconButton';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Theme } from '../theme';
|
|
3
|
+
import { ButtonProps } from '../Button';
|
|
4
|
+
declare type StyledIconButtonThemeProps = ButtonProps & {
|
|
5
|
+
theme: Theme;
|
|
6
|
+
};
|
|
7
|
+
export declare const getButtonHeight: ({ size, }: StyledIconButtonThemeProps) => string;
|
|
8
|
+
export declare const StyledIconButton: import("@emotion/styled").StyledComponent<Omit<import("@mui/base/ButtonUnstyled/ButtonUnstyledProps").default<"button", {}>, "color" | "variant" | "size"> & {
|
|
9
|
+
color?: "primary" | "error" | "warning" | "success" | undefined;
|
|
10
|
+
variant?: "link" | "light" | "text" | "contained" | undefined;
|
|
11
|
+
size?: "large" | "medium" | undefined;
|
|
12
|
+
} & {
|
|
13
|
+
theme?: import("@mui/material").Theme | undefined;
|
|
14
|
+
} & {
|
|
15
|
+
loading?: boolean | undefined;
|
|
16
|
+
startIcon?: import("react").ReactNode;
|
|
17
|
+
endIcon?: import("react").ReactNode;
|
|
18
|
+
}, {}, {}>;
|
|
19
|
+
export {};
|