New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@mui/system

Package Overview
Dependencies
Maintainers
9
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mui/system - npm Package Compare versions

Comparing version 5.14.1 to 5.14.3

7

Box/Box.d.ts

@@ -177,7 +177,2 @@ import * as React from 'react';

children?: React.ReactNode;
/**
* The component used for the root node.
* Either a string to use a HTML element or a component.
*/
component?: React.ElementType;
ref?: React.Ref<unknown>;

@@ -207,4 +202,4 @@ /**

P = {},
> = OverrideProps<BoxTypeMap<P, D>, D>;
> = OverrideProps<BoxTypeMap<P, D>, D> & { component?: React.ElementType };
export default Box;

6

esm/Stack/createStack.js

@@ -104,4 +104,8 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

return {
// The useFlexGap={false} implement relies on each child to give up control of the margin.
// We need to reset the margin to avoid double spacing.
'& > :not(style):not(style)': {
margin: 0
},
'& > :not(style) ~ :not(style)': {
margin: 0,
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)

@@ -108,0 +112,0 @@ }

@@ -115,2 +115,25 @@ 'use client';

/**
* @internal
* The level of the grid starts from `0`
* and increases when the grid nests inside another grid regardless of container or item.
*
* ```js
* <Grid> // level 0
* <Grid> // level 1
* <Grid> // level 2
* <Grid> // level 1
* ```
*
* Only consecutive grid is considered nesting.
* A grid container will start at `0` if there are non-Grid element above it.
*
* ```js
* <Grid> // level 0
* <div>
* <Grid> // level 0
* <Grid> // level 1
* ```
*/
unstable_level: PropTypes.number,
/**
* Defines the `flex-wrap` style property.

@@ -117,0 +140,0 @@ * It's applied for all screen sizes.

/**
* @mui/system v5.14.1
* @mui/system v5.14.3
*

@@ -4,0 +4,0 @@ * @license MIT

/**
* @mui/system v5.14.1
* @mui/system v5.14.3
*

@@ -4,0 +4,0 @@ * @license MIT

@@ -108,5 +108,8 @@ import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";

return {
'& > :not(style) ~ :not(style)': _defineProperty({
// The useFlexGap={false} implement relies on each child to give up control of the margin.
// We need to reset the margin to avoid double spacing.
'& > :not(style):not(style)': {
margin: 0
}, "margin".concat(getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)), getValue(transformer, propValue))
},
'& > :not(style) ~ :not(style)': _defineProperty({}, "margin".concat(getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)), getValue(transformer, propValue))
};

@@ -113,0 +116,0 @@ };

@@ -115,2 +115,25 @@ 'use client';

/**
* @internal
* The level of the grid starts from `0`
* and increases when the grid nests inside another grid regardless of container or item.
*
* ```js
* <Grid> // level 0
* <Grid> // level 1
* <Grid> // level 2
* <Grid> // level 1
* ```
*
* Only consecutive grid is considered nesting.
* A grid container will start at `0` if there are non-Grid element above it.
*
* ```js
* <Grid> // level 0
* <div>
* <Grid> // level 0
* <Grid> // level 1
* ```
*/
unstable_level: PropTypes.number,
/**
* Defines the `flex-wrap` style property.

@@ -117,0 +140,0 @@ * It's applied for all screen sizes.

/**
* @mui/system v5.14.1
* @mui/system v5.14.3
*

@@ -4,0 +4,0 @@ * @license MIT

@@ -104,4 +104,8 @@ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";

return {
// The useFlexGap={false} implement relies on each child to give up control of the margin.
// We need to reset the margin to avoid double spacing.
'& > :not(style):not(style)': {
margin: 0
},
'& > :not(style) ~ :not(style)': {
margin: 0,
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: getValue(transformer, propValue)

@@ -108,0 +112,0 @@ }

@@ -115,2 +115,25 @@ 'use client';

/**
* @internal
* The level of the grid starts from `0`
* and increases when the grid nests inside another grid regardless of container or item.
*
* ```js
* <Grid> // level 0
* <Grid> // level 1
* <Grid> // level 2
* <Grid> // level 1
* ```
*
* Only consecutive grid is considered nesting.
* A grid container will start at `0` if there are non-Grid element above it.
*
* ```js
* <Grid> // level 0
* <div>
* <Grid> // level 0
* <Grid> // level 1
* ```
*/
unstable_level: PropTypes.number,
/**
* Defines the `flex-wrap` style property.

@@ -117,0 +140,0 @@ * It's applied for all screen sizes.

{
"name": "@mui/system",
"version": "5.14.1",
"version": "5.14.3",
"private": false,

@@ -50,4 +50,4 @@ "author": "MUI Team",

"@mui/types": "^7.2.4",
"@mui/utils": "^5.14.1",
"clsx": "^1.2.1",
"@mui/utils": "^5.14.3",
"clsx": "^2.0.0",
"csstype": "^3.1.2",

@@ -54,0 +54,0 @@ "prop-types": "^15.8.1"

@@ -114,4 +114,8 @@ "use strict";

return {
// The useFlexGap={false} implement relies on each child to give up control of the margin.
// We need to reset the margin to avoid double spacing.
'& > :not(style):not(style)': {
margin: 0
},
'& > :not(style) ~ :not(style)': {
margin: 0,
[`margin${getSideFromDirection(breakpoint ? directionValues[breakpoint] : ownerState.direction)}`]: (0, _spacing.getValue)(transformer, propValue)

@@ -118,0 +122,0 @@ }

@@ -121,2 +121,25 @@ "use strict";

/**
* @internal
* The level of the grid starts from `0`
* and increases when the grid nests inside another grid regardless of container or item.
*
* ```js
* <Grid> // level 0
* <Grid> // level 1
* <Grid> // level 2
* <Grid> // level 1
* ```
*
* Only consecutive grid is considered nesting.
* A grid container will start at `0` if there are non-Grid element above it.
*
* ```js
* <Grid> // level 0
* <div>
* <Grid> // level 0
* <Grid> // level 1
* ```
*/
unstable_level: _propTypes.default.number,
/**
* Defines the `flex-wrap` style property.

@@ -123,0 +146,0 @@ * It's applied for all screen sizes.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc