@mui/system
Advanced tools
Comparing version 5.5.2 to 5.5.3
export {}; |
@@ -44,3 +44,3 @@ "use strict"; | ||
function hexToRgb(color) { | ||
color = color.substr(1); | ||
color = color.slice(1); | ||
const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g'); | ||
@@ -97,3 +97,3 @@ let colors = color.match(re); | ||
if (values.length === 4 && values[3].charAt(0) === '/') { | ||
values[3] = values[3].substr(1); | ||
values[3] = values[3].slice(1); | ||
} | ||
@@ -100,0 +100,0 @@ |
export {}; |
@@ -0,0 +0,0 @@ export declare type SpacingOptions = number | Spacing | ((abs: number) => number | string) | ((abs: number | string) => number | string) | ReadonlyArray<string | number>; |
export {}; |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ declare type NestedRecord<V = any> = { |
@@ -0,0 +0,0 @@ /// <reference types="react" /> |
export { default } from './createCssVarsProvider'; |
@@ -0,0 +0,0 @@ export declare type Mode = 'light' | 'dark' | 'system'; |
@@ -27,3 +27,3 @@ import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils"; | ||
export function hexToRgb(color) { | ||
color = color.substr(1); | ||
color = color.slice(1); | ||
const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g'); | ||
@@ -80,3 +80,3 @@ let colors = color.match(re); | ||
if (values.length === 4 && values[3].charAt(0) === '/') { | ||
values[3] = values[3].substr(1); | ||
values[3] = values[3].slice(1); | ||
} | ||
@@ -83,0 +83,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.5.2 | ||
/** @license MUI v5.5.3 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
export {}; |
@@ -30,3 +30,3 @@ import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils"; | ||
export function hexToRgb(color) { | ||
color = color.substr(1); | ||
color = color.slice(1); | ||
var re = new RegExp(".{1,".concat(color.length >= 6 ? 2 : 1, "}"), 'g'); | ||
@@ -84,3 +84,3 @@ var colors = color.match(re); | ||
if (values.length === 4 && values[3].charAt(0) === '/') { | ||
values[3] = values[3].substr(1); | ||
values[3] = values[3].slice(1); | ||
} | ||
@@ -87,0 +87,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.5.2 | ||
/** @license MUI v5.5.3 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
@@ -27,3 +27,3 @@ import { formatMuiErrorMessage as _formatMuiErrorMessage } from "@mui/utils"; | ||
export function hexToRgb(color) { | ||
color = color.substr(1); | ||
color = color.slice(1); | ||
const re = new RegExp(`.{1,${color.length >= 6 ? 2 : 1}}`, 'g'); | ||
@@ -80,3 +80,3 @@ let colors = color.match(re); | ||
if (values.length === 4 && values[3].charAt(0) === '/') { | ||
values[3] = values[3].substr(1); | ||
values[3] = values[3].slice(1); | ||
} | ||
@@ -83,0 +83,0 @@ |
@@ -1,2 +0,2 @@ | ||
/** @license MUI v5.5.2 | ||
/** @license MUI v5.5.3 | ||
* | ||
@@ -3,0 +3,0 @@ * This source code is licensed under the MIT license found in the |
{ | ||
"name": "@mui/system", | ||
"version": "5.5.2", | ||
"version": "5.5.3", | ||
"private": false, | ||
@@ -47,6 +47,6 @@ "author": "MUI Team", | ||
"@babel/runtime": "^7.17.2", | ||
"@mui/private-theming": "^5.4.4", | ||
"@mui/private-theming": "^5.5.3", | ||
"@mui/styled-engine": "^5.5.2", | ||
"@mui/types": "^7.1.3", | ||
"@mui/utils": "^5.4.4", | ||
"@mui/utils": "^5.5.3", | ||
"clsx": "^1.1.1", | ||
@@ -53,0 +53,0 @@ "csstype": "^3.0.11", |
export {}; |
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
841892
Updated@mui/private-theming@^5.5.3
Updated@mui/utils@^5.5.3