@mui/system 5.13.6 → 5.14.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/Box/Box.js +1 -0
- package/Box/index.js +1 -0
- package/CHANGELOG.md +162 -10
- package/Container/Container.d.ts +13 -13
- package/Container/Container.js +1 -0
- package/Container/ContainerProps.d.ts +40 -40
- package/Container/containerClasses.d.ts +22 -22
- package/Container/createContainer.d.ts +18 -18
- package/Container/index.js +1 -0
- package/GlobalStyles/GlobalStyles.d.ts +13 -13
- package/GlobalStyles/GlobalStyles.js +1 -0
- package/GlobalStyles/index.d.ts +2 -2
- package/GlobalStyles/index.js +1 -0
- package/README.md +2 -2
- package/Stack/Stack.d.ts +14 -14
- package/Stack/Stack.js +1 -0
- package/Stack/StackProps.d.ts +53 -53
- package/Stack/createStack.d.ts +21 -21
- package/Stack/createStack.js +1 -1
- package/Stack/index.d.ts +5 -5
- package/Stack/index.js +1 -0
- package/Stack/stackClasses.d.ts +8 -8
- package/ThemeProvider/ThemeProvider.js +1 -0
- package/ThemeProvider/index.js +1 -0
- package/Unstable_Grid/Grid.d.ts +12 -12
- package/Unstable_Grid/Grid.js +1 -0
- package/Unstable_Grid/GridProps.d.ts +185 -185
- package/Unstable_Grid/createGrid.d.ts +11 -11
- package/Unstable_Grid/gridClasses.d.ts +20 -20
- package/Unstable_Grid/gridGenerator.d.ts +33 -33
- package/Unstable_Grid/index.d.ts +6 -6
- package/Unstable_Grid/index.js +1 -0
- package/Unstable_Grid/traverseBreakpoints.d.ts +7 -7
- package/createBox.js +1 -0
- package/createTheme/createSpacing.d.ts +10 -10
- package/cssVars/createCssVarsTheme.d.ts +15 -15
- package/cssVars/createGetCssVar.d.ts +5 -5
- package/cssVars/cssVarsParser.d.ts +64 -64
- package/cssVars/getInitColorSchemeScript.d.ts +42 -42
- package/cssVars/index.d.ts +5 -5
- package/cssVars/index.js +1 -0
- package/cssVars/prepareCssVars.d.ts +16 -16
- package/cssVars/useCurrentColorScheme.d.ts +53 -53
- package/cssVars/useCurrentColorScheme.js +1 -0
- package/esm/Box/Box.js +2 -0
- package/esm/Box/index.js +2 -0
- package/esm/Container/Container.js +2 -0
- package/esm/Container/index.js +2 -0
- package/esm/GlobalStyles/GlobalStyles.js +2 -0
- package/esm/GlobalStyles/index.js +2 -0
- package/esm/Stack/Stack.js +2 -0
- package/esm/Stack/createStack.js +1 -1
- package/esm/Stack/index.js +2 -0
- package/esm/ThemeProvider/ThemeProvider.js +2 -0
- package/esm/ThemeProvider/index.js +2 -0
- package/esm/Unstable_Grid/Grid.js +2 -0
- package/esm/Unstable_Grid/index.js +2 -0
- package/esm/createBox.js +2 -0
- package/esm/cssVars/index.js +2 -0
- package/esm/cssVars/useCurrentColorScheme.js +2 -0
- package/esm/index.js +2 -0
- package/esm/useTheme.js +2 -0
- package/esm/useThemeProps/index.js +2 -0
- package/esm/useThemeProps/useThemeProps.js +2 -0
- package/esm/useThemeWithoutDefault.js +2 -0
- package/index.js +2 -1
- package/legacy/Box/Box.js +2 -0
- package/legacy/Box/index.js +2 -0
- package/legacy/Container/Container.js +2 -0
- package/legacy/Container/index.js +2 -0
- package/legacy/GlobalStyles/GlobalStyles.js +2 -0
- package/legacy/GlobalStyles/index.js +2 -0
- package/legacy/Stack/Stack.js +2 -0
- package/legacy/Stack/createStack.js +1 -1
- package/legacy/Stack/index.js +2 -0
- package/legacy/ThemeProvider/ThemeProvider.js +2 -0
- package/legacy/ThemeProvider/index.js +2 -0
- package/legacy/Unstable_Grid/Grid.js +2 -0
- package/legacy/Unstable_Grid/index.js +2 -0
- package/legacy/createBox.js +2 -0
- package/legacy/cssVars/index.js +2 -0
- package/legacy/cssVars/useCurrentColorScheme.js +2 -0
- package/legacy/index.js +3 -1
- package/legacy/useTheme.js +2 -0
- package/legacy/useThemeProps/index.js +2 -0
- package/legacy/useThemeProps/useThemeProps.js +2 -0
- package/legacy/useThemeWithoutDefault.js +2 -0
- package/modern/Box/Box.js +2 -0
- package/modern/Box/index.js +2 -0
- package/modern/Container/Container.js +2 -0
- package/modern/Container/index.js +2 -0
- package/modern/GlobalStyles/GlobalStyles.js +2 -0
- package/modern/GlobalStyles/index.js +2 -0
- package/modern/Stack/Stack.js +2 -0
- package/modern/Stack/createStack.js +1 -1
- package/modern/Stack/index.js +2 -0
- package/modern/ThemeProvider/ThemeProvider.js +2 -0
- package/modern/ThemeProvider/index.js +2 -0
- package/modern/Unstable_Grid/Grid.js +2 -0
- package/modern/Unstable_Grid/index.js +2 -0
- package/modern/createBox.js +2 -0
- package/modern/cssVars/index.js +2 -0
- package/modern/cssVars/useCurrentColorScheme.js +2 -0
- package/modern/index.js +3 -1
- package/modern/useTheme.js +2 -0
- package/modern/useThemeProps/index.js +2 -0
- package/modern/useThemeProps/useThemeProps.js +2 -0
- package/modern/useThemeWithoutDefault.js +2 -0
- package/package.json +4 -4
- package/useTheme.js +1 -0
- package/useThemeProps/index.js +1 -0
- package/useThemeProps/useThemeProps.js +1 -0
- package/useThemeWithoutDefault.js +1 -0
package/esm/Stack/Stack.js
CHANGED
package/esm/Stack/createStack.js
CHANGED
|
@@ -101,7 +101,7 @@ export const style = ({
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
return {
|
|
104
|
-
'& > :not(style)
|
|
104
|
+
'& > :not(style) ~ :not(style)': {
|
|
105
105
|
margin: 0,
|
|
106
106
|
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
|
|
107
107
|
}
|
package/esm/Stack/index.js
CHANGED
package/esm/createBox.js
CHANGED
package/esm/cssVars/index.js
CHANGED
package/esm/index.js
CHANGED
package/esm/useTheme.js
CHANGED
package/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
8
|
"use strict";
|
|
9
|
+
'use client';
|
|
9
10
|
|
|
10
11
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
11
12
|
Object.defineProperty(exports, "__esModule", {
|
package/legacy/Box/Box.js
CHANGED
package/legacy/Box/index.js
CHANGED
package/legacy/Stack/Stack.js
CHANGED
|
@@ -105,7 +105,7 @@ export var style = function style(_ref) {
|
|
|
105
105
|
};
|
|
106
106
|
}
|
|
107
107
|
return {
|
|
108
|
-
'& > :not(style)
|
|
108
|
+
'& > :not(style) ~ :not(style)': _defineProperty({
|
|
109
109
|
margin: 0
|
|
110
110
|
}, "margin".concat(getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)), getValue(transformer, propValue))
|
|
111
111
|
};
|
package/legacy/Stack/index.js
CHANGED
package/legacy/createBox.js
CHANGED
package/legacy/cssVars/index.js
CHANGED
package/legacy/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
'use client';
|
|
9
|
+
|
|
8
10
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
9
11
|
export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine';
|
|
10
12
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/legacy/useTheme.js
CHANGED
package/modern/Box/Box.js
CHANGED
package/modern/Box/index.js
CHANGED
package/modern/Stack/Stack.js
CHANGED
|
@@ -101,7 +101,7 @@ export const style = ({
|
|
|
101
101
|
};
|
|
102
102
|
}
|
|
103
103
|
return {
|
|
104
|
-
'& > :not(style)
|
|
104
|
+
'& > :not(style) ~ :not(style)': {
|
|
105
105
|
margin: 0,
|
|
106
106
|
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)
|
|
107
107
|
}
|
package/modern/Stack/index.js
CHANGED
package/modern/createBox.js
CHANGED
package/modern/cssVars/index.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @mui/system v5.
|
|
2
|
+
* @mui/system v5.14.0
|
|
3
3
|
*
|
|
4
4
|
* @license MIT
|
|
5
5
|
* This source code is licensed under the MIT license found in the
|
|
6
6
|
* LICENSE file in the root directory of this source tree.
|
|
7
7
|
*/
|
|
8
|
+
'use client';
|
|
9
|
+
|
|
8
10
|
import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils";
|
|
9
11
|
export { css, keyframes, StyledEngineProvider } from '@mui/styled-engine';
|
|
10
12
|
export { default as GlobalStyles } from './GlobalStyles';
|
package/modern/useTheme.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/system",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "CSS utilities for rapidly laying out custom designs.",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"bugs": {
|
|
21
21
|
"url": "https://github.com/mui/material-ui/issues"
|
|
22
22
|
},
|
|
23
|
-
"homepage": "https://mui.com/system/getting-started/
|
|
23
|
+
"homepage": "https://mui.com/system/getting-started/",
|
|
24
24
|
"funding": {
|
|
25
25
|
"type": "opencollective",
|
|
26
26
|
"url": "https://opencollective.com/mui"
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@babel/runtime": "^7.22.5",
|
|
47
|
-
"@mui/private-theming": "^5.13.
|
|
47
|
+
"@mui/private-theming": "^5.13.7",
|
|
48
48
|
"@mui/styled-engine": "^5.13.2",
|
|
49
49
|
"@mui/types": "^7.2.4",
|
|
50
|
-
"@mui/utils": "^5.13.
|
|
50
|
+
"@mui/utils": "^5.13.7",
|
|
51
51
|
"clsx": "^1.2.1",
|
|
52
52
|
"csstype": "^3.1.2",
|
|
53
53
|
"prop-types": "^15.8.1"
|
package/useTheme.js
CHANGED
package/useThemeProps/index.js
CHANGED