@mui/styled-engine-sc
Advanced tools
Comparing version 6.1.2 to 6.1.3
@@ -11,2 +11,2 @@ import * as React from 'react'; | ||
props: GlobalStylesProps<Theme>, | ||
): React.ReactElement<any>; | ||
): React.JSX.Element; |
@@ -79,3 +79,3 @@ import * as React from 'react'; | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export function internal_processStyles( | ||
export function internal_mutateStyles( | ||
tag: React.ElementType, | ||
@@ -85,2 +85,5 @@ processor: (styles: any) => any, | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export function internal_serializeStyles<P>(styles: Interpolation<P>): object; | ||
// These are the same as the ones in @mui/styled-engine | ||
@@ -87,0 +90,0 @@ // CSS.PropertiesFallback are necessary so that we support spreading of the mixins. For example: |
11
index.js
/** | ||
* @mui/styled-engine-sc v6.1.2 | ||
* @mui/styled-engine-sc v6.1.3 | ||
* | ||
@@ -36,3 +36,3 @@ * @license MIT | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export const internal_processStyles = (tag, processor) => { | ||
export function internal_mutateStyles(tag, processor) { | ||
// Styled-components attaches an instance to `componentStyle`. | ||
@@ -46,5 +46,10 @@ // https://github.com/styled-components/styled-components/blob/da8151762dcf72735ffba358173d4c097f6d5888/packages/styled-components/src/models/StyledComponent.ts#L257 | ||
} | ||
}; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export function internal_serializeStyles(styles) { | ||
return styles; | ||
} | ||
export { ThemeContext, keyframes, css } from 'styled-components'; | ||
export { default as StyledEngineProvider } from "./StyledEngineProvider/index.js"; | ||
export { default as GlobalStyles } from "./GlobalStyles/index.js"; |
/** | ||
* @mui/styled-engine-sc v6.1.2 | ||
* @mui/styled-engine-sc v6.1.3 | ||
* | ||
@@ -36,3 +36,3 @@ * @license MIT | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export const internal_processStyles = (tag, processor) => { | ||
export function internal_mutateStyles(tag, processor) { | ||
// Styled-components attaches an instance to `componentStyle`. | ||
@@ -46,5 +46,10 @@ // https://github.com/styled-components/styled-components/blob/da8151762dcf72735ffba358173d4c097f6d5888/packages/styled-components/src/models/StyledComponent.ts#L257 | ||
} | ||
}; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
export function internal_serializeStyles(styles) { | ||
return styles; | ||
} | ||
export { ThemeContext, keyframes, css } from 'styled-components'; | ||
export { default as StyledEngineProvider } from "./StyledEngineProvider/index.js"; | ||
export { default as GlobalStyles } from "./GlobalStyles/index.js"; |
/** | ||
* @mui/styled-engine-sc v6.1.2 | ||
* @mui/styled-engine-sc v6.1.3 | ||
* | ||
@@ -40,3 +40,4 @@ * @license MIT | ||
exports.default = styled; | ||
exports.internal_processStyles = void 0; | ||
exports.internal_mutateStyles = internal_mutateStyles; | ||
exports.internal_serializeStyles = internal_serializeStyles; | ||
Object.defineProperty(exports, "keyframes", { | ||
@@ -78,3 +79,3 @@ enumerable: true, | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
const internal_processStyles = (tag, processor) => { | ||
function internal_mutateStyles(tag, processor) { | ||
// Styled-components attaches an instance to `componentStyle`. | ||
@@ -88,3 +89,7 @@ // https://github.com/styled-components/styled-components/blob/da8151762dcf72735ffba358173d4c097f6d5888/packages/styled-components/src/models/StyledComponent.ts#L257 | ||
} | ||
}; | ||
exports.internal_processStyles = internal_processStyles; | ||
} | ||
// eslint-disable-next-line @typescript-eslint/naming-convention | ||
function internal_serializeStyles(styles) { | ||
return styles; | ||
} |
{ | ||
"name": "@mui/styled-engine-sc", | ||
"version": "6.1.2", | ||
"version": "6.1.3", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "author": "MUI Team", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119489
731