paradiego
This commit is contained in:
2
node_modules/@mui/system/typography/index.d.ts
generated
vendored
Normal file
2
node_modules/@mui/system/typography/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default } from './typography';
|
||||
export * from './typography';
|
||||
2
node_modules/@mui/system/typography/index.js
generated
vendored
Normal file
2
node_modules/@mui/system/typography/index.js
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
export { default } from "./typography.js";
|
||||
export * from "./typography.js";
|
||||
6
node_modules/@mui/system/typography/package.json
generated
vendored
Normal file
6
node_modules/@mui/system/typography/package.json
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"sideEffects": false,
|
||||
"module": "./index.js",
|
||||
"main": "../node/typography/index.js",
|
||||
"types": "./index.d.ts"
|
||||
}
|
||||
12
node_modules/@mui/system/typography/typography.d.ts
generated
vendored
Normal file
12
node_modules/@mui/system/typography/typography.d.ts
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
import { PropsFor, SimpleStyleFunction, typography } from '../Box';
|
||||
|
||||
export const typographyVariant: SimpleStyleFunction<'typography'>;
|
||||
export const fontFamily: SimpleStyleFunction<'fontFamily'>;
|
||||
export const fontSize: SimpleStyleFunction<'fontSize'>;
|
||||
export const fontStyle: SimpleStyleFunction<'fontStyle'>;
|
||||
export const fontWeight: SimpleStyleFunction<'fontWeight'>;
|
||||
export const letterSpacing: SimpleStyleFunction<'letterSpacing'>;
|
||||
export const lineHeight: SimpleStyleFunction<'lineHeight'>;
|
||||
export const textAlign: SimpleStyleFunction<'textAlign'>;
|
||||
export const textTransform: SimpleStyleFunction<'textTransform'>;
|
||||
export type TypographyProps = PropsFor<typeof typography>;
|
||||
37
node_modules/@mui/system/typography/typography.js
generated
vendored
Normal file
37
node_modules/@mui/system/typography/typography.js
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
import style from "../style/index.js";
|
||||
import compose from "../compose/index.js";
|
||||
export const fontFamily = style({
|
||||
prop: 'fontFamily',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontSize = style({
|
||||
prop: 'fontSize',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontStyle = style({
|
||||
prop: 'fontStyle',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const fontWeight = style({
|
||||
prop: 'fontWeight',
|
||||
themeKey: 'typography'
|
||||
});
|
||||
export const letterSpacing = style({
|
||||
prop: 'letterSpacing'
|
||||
});
|
||||
export const textTransform = style({
|
||||
prop: 'textTransform'
|
||||
});
|
||||
export const lineHeight = style({
|
||||
prop: 'lineHeight'
|
||||
});
|
||||
export const textAlign = style({
|
||||
prop: 'textAlign'
|
||||
});
|
||||
export const typographyVariant = style({
|
||||
prop: 'typography',
|
||||
cssProperty: false,
|
||||
themeKey: 'typography'
|
||||
});
|
||||
const typography = compose(typographyVariant, fontFamily, fontSize, fontStyle, fontWeight, letterSpacing, lineHeight, textAlign, textTransform);
|
||||
export default typography;
|
||||
Reference in New Issue
Block a user