@up42/up-components 1.13.2 → 2.0.0-beta.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/dist/cjs/index.js +2 -2
- package/dist/cjs/types/components/Typography/Typography.d.ts +0 -9
- package/dist/cjs/types/components/Typography/Typography.overrides.d.ts +1 -29
- package/dist/esm/index.js +2 -2
- package/dist/esm/types/components/Typography/Typography.d.ts +0 -9
- package/dist/esm/types/components/Typography/Typography.overrides.d.ts +1 -29
- package/dist/index.d.ts +0 -9
- package/package.json +2 -2
- package/dist/cjs/types/components/Typography/Typography-legacy.overrides.d.ts +0 -11
- package/dist/esm/types/components/Typography/Typography-legacy.overrides.d.ts +0 -11
|
@@ -5,15 +5,6 @@ export declare type TypographyProps = MUITypographyProps & {
|
|
|
5
5
|
variant?: MUITypographyProps['variant'] | 'heading' | 'headingSmall' | 'headingXSmall' | 'body' | 'label' | 'note';
|
|
6
6
|
};
|
|
7
7
|
/**
|
|
8
|
-
* Douglas `variant` prop migration helper:
|
|
9
|
-
* - `h1` -> `heading`
|
|
10
|
-
* - `h2` -> `headingSmall`
|
|
11
|
-
* - `h3` -> `headingXSmall`
|
|
12
|
-
* - `body1` -> `body`
|
|
13
|
-
* - `caption` ->`note`
|
|
14
|
-
* - `overline` -> `label`
|
|
15
|
-
* - (no variant) -> `body`
|
|
16
|
-
*
|
|
17
8
|
* Documentation: https://up-components.up42.com/?path=/docs/data-display-typography--docs
|
|
18
9
|
*/
|
|
19
10
|
export declare const Typography: React.ForwardRefExoticComponent<Pick<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
@@ -41,32 +41,4 @@ declare module '@mui/material/Typography' {
|
|
|
41
41
|
}
|
|
42
42
|
export declare const MuiTypography: OverridesStyleRules;
|
|
43
43
|
export declare const typographyTheme: TypographyOptions;
|
|
44
|
-
export declare const typographyOverrides:
|
|
45
|
-
heading?: import("react").CSSProperties | undefined;
|
|
46
|
-
headingSmall?: import("react").CSSProperties | undefined;
|
|
47
|
-
headingXSmall?: import("react").CSSProperties | undefined;
|
|
48
|
-
body?: import("react").CSSProperties | undefined;
|
|
49
|
-
label?: import("react").CSSProperties | undefined;
|
|
50
|
-
note?: import("react").CSSProperties | undefined;
|
|
51
|
-
button?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
52
|
-
caption?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
53
|
-
h1?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
54
|
-
h2?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
55
|
-
h3?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
56
|
-
h4?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
57
|
-
h5?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
58
|
-
h6?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
59
|
-
overline?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
60
|
-
subtitle1?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
61
|
-
subtitle2?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
62
|
-
body1?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
63
|
-
body2?: import("@mui/material/styles/createTypography").TypographyStyleOptions | undefined;
|
|
64
|
-
allVariants?: import("react").CSSProperties | undefined;
|
|
65
|
-
fontFamily?: import("csstype").Property.FontFamily | undefined;
|
|
66
|
-
fontSize?: number | undefined;
|
|
67
|
-
fontWeightLight?: import("csstype").Property.FontWeight | undefined;
|
|
68
|
-
fontWeightRegular?: import("csstype").Property.FontWeight | undefined;
|
|
69
|
-
fontWeightMedium?: import("csstype").Property.FontWeight | undefined;
|
|
70
|
-
fontWeightBold?: import("csstype").Property.FontWeight | undefined;
|
|
71
|
-
htmlFontSize?: number | undefined;
|
|
72
|
-
};
|
|
44
|
+
export declare const typographyOverrides: TypographyOptions;
|