@astral/ui 0.3.1-beta.9 → 0.4.1-alpha.0
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/src/DashboardLayout/DashboardLayout.js +28 -0
- package/cjs/src/DashboardLayout/Header/Header.js +22 -0
- package/cjs/src/DashboardLayout/Header/index.js +14 -0
- package/cjs/src/DashboardLayout/Header/styled.js +32 -0
- package/cjs/src/DashboardLayout/Header/types.js +2 -0
- package/cjs/src/DashboardLayout/Main/Main.js +22 -0
- package/cjs/src/DashboardLayout/Main/index.js +13 -0
- package/cjs/src/DashboardLayout/Main/styled.js +10 -0
- package/cjs/src/DashboardLayout/SideBar/SideBar.js +22 -0
- package/cjs/src/DashboardLayout/SideBar/index.js +13 -0
- package/cjs/src/DashboardLayout/SideBar/styled.js +23 -0
- package/cjs/src/DashboardLayout/index.js +13 -0
- package/cjs/src/DashboardLayout/styled.js +11 -0
- package/cjs/src/Tooltip/Tooltip.js +33 -0
- package/cjs/src/Tooltip/constants.js +8 -0
- package/cjs/src/Tooltip/index.js +14 -0
- package/cjs/src/Tooltip/styled.js +72 -0
- package/cjs/src/Tooltip/types.js +2 -0
- package/cjs/src/createStylesServer/index.js +2 -2
- package/cjs/src/declaration/index.js +14 -0
- package/cjs/src/index.js +2 -0
- package/cjs/src/theme/baseTheme.js +1 -1
- package/cjs/src/theme/typography.js +15 -0
- package/esm/src/DashboardLayout/DashboardLayout.js +24 -0
- package/esm/src/DashboardLayout/Header/Header.js +19 -0
- package/esm/src/DashboardLayout/Header/index.js +2 -0
- package/esm/src/DashboardLayout/Header/styled.js +29 -0
- package/{types/src/theme/__tests__/BaseTheme.test.d.ts → esm/src/DashboardLayout/Header/types.js} +0 -0
- package/esm/src/DashboardLayout/Main/Main.js +19 -0
- package/esm/src/DashboardLayout/Main/index.js +1 -0
- package/esm/src/DashboardLayout/Main/styled.js +7 -0
- package/esm/src/DashboardLayout/SideBar/SideBar.js +19 -0
- package/esm/src/DashboardLayout/SideBar/index.js +1 -0
- package/esm/src/DashboardLayout/SideBar/styled.js +20 -0
- package/esm/src/DashboardLayout/index.js +1 -0
- package/esm/src/DashboardLayout/styled.js +8 -0
- package/esm/src/Tooltip/Tooltip.js +30 -0
- package/esm/src/Tooltip/constants.js +5 -0
- package/esm/src/Tooltip/index.js +2 -0
- package/esm/src/Tooltip/styled.js +69 -0
- package/esm/src/Tooltip/types.js +1 -0
- package/esm/src/createStylesServer/index.js +1 -1
- package/esm/src/declaration/index.js +2 -0
- package/esm/src/index.js +2 -0
- package/esm/src/theme/baseTheme.js +2 -2
- package/esm/src/theme/typography.js +15 -0
- package/package.json +4 -11
- package/types/index.d.ts +0 -1
- package/types/src/Badge/Badge.d.ts +0 -4
- package/types/src/Badge/index.d.ts +0 -2
- package/types/src/Badge/styled.d.ts +0 -50
- package/types/src/Badge/types.d.ts +0 -5
- package/types/src/Button/Button.d.ts +0 -3
- package/types/src/Button/index.d.ts +0 -2
- package/types/src/Button/styled.d.ts +0 -13
- package/types/src/Button/types.d.ts +0 -7
- package/types/src/ButtonBase/ButtonBase.d.ts +0 -3
- package/types/src/ButtonBase/constants.d.ts +0 -22
- package/types/src/ButtonBase/index.d.ts +0 -3
- package/types/src/ButtonBase/styled.d.ts +0 -27
- package/types/src/ButtonBase/types.d.ts +0 -11
- package/types/src/Checkbox/Checkbox.d.ts +0 -3
- package/types/src/Checkbox/icons.d.ts +0 -5
- package/types/src/Checkbox/index.d.ts +0 -2
- package/types/src/Checkbox/styled.d.ts +0 -4
- package/types/src/Checkbox/types.d.ts +0 -2
- package/types/src/CircularProgress/CircularProgress.d.ts +0 -4
- package/types/src/CircularProgress/constants.d.ts +0 -8
- package/types/src/CircularProgress/index.d.ts +0 -2
- package/types/src/CircularProgress/styled.d.ts +0 -7
- package/types/src/CircularProgress/types.d.ts +0 -8
- package/types/src/FormControlLabel/FormControlLabel.d.ts +0 -3
- package/types/src/FormControlLabel/index.d.ts +0 -2
- package/types/src/FormControlLabel/styled.d.ts +0 -3
- package/types/src/FormControlLabel/types.d.ts +0 -2
- package/types/src/FormHelperText/FormHelperText.d.ts +0 -4
- package/types/src/FormHelperText/index.d.ts +0 -1
- package/types/src/FormHelperText/styled.d.ts +0 -41
- package/types/src/FormHelperText/types.d.ts +0 -6
- package/types/src/GlobalStyles/GlobalStyles.d.ts +0 -3
- package/types/src/GlobalStyles/index.d.ts +0 -1
- package/types/src/Grid/Grid.d.ts +0 -3
- package/types/src/Grid/index.d.ts +0 -2
- package/types/src/Grid/styled.d.ts +0 -13
- package/types/src/Grid/types.d.ts +0 -30
- package/types/src/IconButton/IconButton.d.ts +0 -3
- package/types/src/IconButton/index.d.ts +0 -1
- package/types/src/IconButton/styled.d.ts +0 -19
- package/types/src/Menu/Menu.d.ts +0 -3
- package/types/src/Menu/index.d.ts +0 -1
- package/types/src/MenuItem/MenuItem.d.ts +0 -3
- package/types/src/MenuItem/index.d.ts +0 -1
- package/types/src/MenuList/MenuList.d.ts +0 -3
- package/types/src/MenuList/index.d.ts +0 -2
- package/types/src/MenuList/styled.d.ts +0 -20
- package/types/src/MenuList/types.d.ts +0 -2
- package/types/src/Radio/Icon.d.ts +0 -3
- package/types/src/Radio/Radio.d.ts +0 -4
- package/types/src/Radio/index.d.ts +0 -2
- package/types/src/Radio/styled.d.ts +0 -4
- package/types/src/Radio/types.d.ts +0 -2
- package/types/src/RadioGroup/RadioGroup.d.ts +0 -2
- package/types/src/StylesCacheProvider/index.d.ts +0 -1
- package/types/src/Tag/Tag.d.ts +0 -3
- package/types/src/Tag/constants.d.ts +0 -21
- package/types/src/Tag/index.d.ts +0 -2
- package/types/src/Tag/styled.d.ts +0 -26
- package/types/src/Tag/types.d.ts +0 -12
- package/types/src/TextArea/TextArea.d.ts +0 -3
- package/types/src/TextArea/index.d.ts +0 -2
- package/types/src/TextArea/types.d.ts +0 -2
- package/types/src/TextField/TextField.d.ts +0 -4
- package/types/src/TextField/index.d.ts +0 -2
- package/types/src/TextField/types.d.ts +0 -6
- package/types/src/ThemeProvider/ThemeProvider.d.ts +0 -7
- package/types/src/ThemeProvider/index.d.ts +0 -1
- package/types/src/Typography/Typography.d.ts +0 -8
- package/types/src/Typography/index.d.ts +0 -1
- package/types/src/createStylesCache/index.d.ts +0 -2
- package/types/src/createStylesServer/index.d.ts +0 -1
- package/types/src/index.d.ts +0 -22
- package/types/src/styles/index.d.ts +0 -1
- package/types/src/styles/styled/index.d.ts +0 -1
- package/types/src/styles/styled/styled.d.ts +0 -2
- package/types/src/styles/styled/types.d.ts +0 -48
- package/types/src/theme/baseTheme.d.ts +0 -28
- package/types/src/theme/components/MuiFormHelperText.d.ts +0 -4
- package/types/src/theme/components/MuiFormLabel.d.ts +0 -4
- package/types/src/theme/components/MuiInputBase.d.ts +0 -4
- package/types/src/theme/components/MuiInputLabel.d.ts +0 -4
- package/types/src/theme/components/MuiOutlinedInput.d.ts +0 -4
- package/types/src/theme/components/MuiTypography.d.ts +0 -21
- package/types/src/theme/components/components.d.ts +0 -21
- package/types/src/theme/components/index.d.ts +0 -1
- package/types/src/theme/constants.d.ts +0 -9
- package/types/src/theme/elevation.d.ts +0 -8
- package/types/src/theme/hooks/index.d.ts +0 -1
- package/types/src/theme/hooks/useTheme/index.d.ts +0 -2
- package/types/src/theme/index.d.ts +0 -6
- package/types/src/theme/palette/brandPalette.d.ts +0 -15
- package/types/src/theme/palette/index.d.ts +0 -2
- package/types/src/theme/palette/palette.d.ts +0 -29
- package/types/src/theme/shape.d.ts +0 -6
- package/types/src/theme/typography.d.ts +0 -19
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Components } from '@mui/material';
|
|
2
|
-
export declare type FontsUrls = {
|
|
3
|
-
bold: {
|
|
4
|
-
woff: string;
|
|
5
|
-
woff2: string;
|
|
6
|
-
};
|
|
7
|
-
light: {
|
|
8
|
-
woff: string;
|
|
9
|
-
woff2: string;
|
|
10
|
-
};
|
|
11
|
-
medium: {
|
|
12
|
-
woff: string;
|
|
13
|
-
woff2: string;
|
|
14
|
-
};
|
|
15
|
-
regular: {
|
|
16
|
-
woff: string;
|
|
17
|
-
woff2: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const MuiTypography: Components['MuiTypography'];
|
|
21
|
-
export default MuiTypography;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Components } from '@mui/material';
|
|
2
|
-
import type { Theme } from '../baseTheme';
|
|
3
|
-
export declare type FontsUrls = {
|
|
4
|
-
bold: {
|
|
5
|
-
woff: string;
|
|
6
|
-
woff2: string;
|
|
7
|
-
};
|
|
8
|
-
light: {
|
|
9
|
-
woff: string;
|
|
10
|
-
woff2: string;
|
|
11
|
-
};
|
|
12
|
-
medium: {
|
|
13
|
-
woff: string;
|
|
14
|
-
woff2: string;
|
|
15
|
-
};
|
|
16
|
-
regular: {
|
|
17
|
-
woff: string;
|
|
18
|
-
woff2: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
export declare const getComponents: (fontUrls: FontsUrls) => Components<Theme>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './components';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useTheme';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Brand } from '../constants';
|
|
2
|
-
declare type BrandColors = {
|
|
3
|
-
secondary: string;
|
|
4
|
-
900: string;
|
|
5
|
-
800: string;
|
|
6
|
-
700: string;
|
|
7
|
-
600: string;
|
|
8
|
-
500: string;
|
|
9
|
-
400: string;
|
|
10
|
-
300: string;
|
|
11
|
-
200: string;
|
|
12
|
-
100: string;
|
|
13
|
-
};
|
|
14
|
-
export declare const brandPalette: Record<Brand, BrandColors>;
|
|
15
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { PaletteOptions as MuiPaletteOptions, PaletteColorOptions } from '@mui/material';
|
|
2
|
-
import { TypeBackground } from '@mui/material/styles/createPalette';
|
|
3
|
-
import { Brand } from '../constants';
|
|
4
|
-
export declare type Color = {
|
|
5
|
-
900: string;
|
|
6
|
-
800: string;
|
|
7
|
-
700: string;
|
|
8
|
-
600: string;
|
|
9
|
-
500: string;
|
|
10
|
-
400: string;
|
|
11
|
-
300: string;
|
|
12
|
-
200: string;
|
|
13
|
-
100: string;
|
|
14
|
-
};
|
|
15
|
-
export declare type PrimaryColorOptions = PaletteColorOptions & Color;
|
|
16
|
-
export declare type Background = TypeBackground & {
|
|
17
|
-
element: string;
|
|
18
|
-
elementHover: string;
|
|
19
|
-
};
|
|
20
|
-
declare type PaletteOptions = MuiPaletteOptions & {
|
|
21
|
-
red: Color;
|
|
22
|
-
green: Color;
|
|
23
|
-
yellow: Color;
|
|
24
|
-
grey: Color;
|
|
25
|
-
primary: PrimaryColorOptions;
|
|
26
|
-
background: Background;
|
|
27
|
-
};
|
|
28
|
-
export declare const getPalette: (brand?: Brand) => PaletteOptions;
|
|
29
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
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
|
-
};
|
|
7
|
-
export declare type TypographyThemeOptions = Typography & {
|
|
8
|
-
h7: CustomTypographyVariantStyle;
|
|
9
|
-
h8: CustomTypographyVariantStyle;
|
|
10
|
-
h9: CustomTypographyVariantStyle;
|
|
11
|
-
ui: CustomTypographyVariantStyle;
|
|
12
|
-
link: CustomTypographyVariantStyle;
|
|
13
|
-
pointer: CustomTypographyVariantStyle;
|
|
14
|
-
small: CustomTypographyVariantStyle;
|
|
15
|
-
code: CustomTypographyVariantStyle;
|
|
16
|
-
};
|
|
17
|
-
export declare const pxToRem: (fontSize: number, htmlFontSize?: number) => string;
|
|
18
|
-
export declare const typography: Partial<TypographyThemeOptions>;
|
|
19
|
-
export {};
|