@mui/x-data-grid-pro
Advanced tools
Comparing version 7.0.0-beta.3 to 7.0.0-beta.4
@@ -137,7 +137,4 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const widths = cells.map(cell => { | ||
var _cell$firstElementChi, _cell$firstElementChi2; | ||
const style = window.getComputedStyle(cell, null); | ||
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10); | ||
const contentWidth = (_cell$firstElementChi = (_cell$firstElementChi2 = cell.firstElementChild) == null ? void 0 : _cell$firstElementChi2.getBoundingClientRect().width) != null ? _cell$firstElementChi : 0; | ||
return paddingWidth + contentWidth; | ||
var _cell$getBoundingClie; | ||
return (_cell$getBoundingClie = cell.getBoundingClientRect().width) != null ? _cell$getBoundingClie : 0; | ||
}); | ||
@@ -144,0 +141,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor); |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwODAyMzYwMDAwMA=="; | ||
const releaseInfo = "MTcwODYyODQwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step). |
@@ -146,6 +146,3 @@ "use strict"; | ||
const widths = cells.map(cell => { | ||
const style = window.getComputedStyle(cell, null); | ||
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10); | ||
const contentWidth = cell.firstElementChild?.getBoundingClientRect().width ?? 0; | ||
return paddingWidth + contentWidth; | ||
return cell.getBoundingClientRect().width ?? 0; | ||
}); | ||
@@ -152,0 +149,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor); |
/** | ||
* @mui/x-data-grid-pro v7.0.0-beta.3 | ||
* @mui/x-data-grid-pro v7.0.0-beta.4 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
@@ -137,6 +137,3 @@ import _extends from "@babel/runtime/helpers/esm/extends"; | ||
const widths = cells.map(cell => { | ||
const style = window.getComputedStyle(cell, null); | ||
const paddingWidth = parseInt(style.paddingLeft, 10) + parseInt(style.paddingRight, 10); | ||
const contentWidth = cell.firstElementChild?.getBoundingClientRect().width ?? 0; | ||
return paddingWidth + contentWidth; | ||
return cell.getBoundingClientRect().width ?? 0; | ||
}); | ||
@@ -143,0 +140,0 @@ const filteredWidths = options.includeOutliers ? widths : excludeOutliers(widths, options.outliersFactor); |
/** | ||
* @mui/x-data-grid-pro v7.0.0-beta.3 | ||
* @mui/x-data-grid-pro v7.0.0-beta.4 | ||
* | ||
@@ -4,0 +4,0 @@ * @license MUI X Commercial |
import { ponyfillGlobal } from '@mui/utils'; | ||
export const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwODAyMzYwMDAwMA=="; | ||
const releaseInfo = "MTcwODYyODQwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -5,0 +5,0 @@ // A simple hack to set the value in the test environment (has no build step). |
{ | ||
"name": "@mui/x-data-grid-pro", | ||
"version": "7.0.0-beta.3", | ||
"version": "7.0.0-beta.4", | ||
"description": "The Pro plan edition of the data grid component (MUI X).", | ||
@@ -38,3 +38,3 @@ "author": "MUI Team", | ||
"@mui/utils": "^5.15.9", | ||
"@mui/x-data-grid": "7.0.0-beta.3", | ||
"@mui/x-data-grid": "7.0.0-beta.4", | ||
"@mui/x-license": "7.0.0-beta.2", | ||
@@ -41,0 +41,0 @@ "@types/format-util": "^1.0.4", |
@@ -9,3 +9,3 @@ "use strict"; | ||
const getReleaseInfo = () => { | ||
const releaseInfo = "MTcwODAyMzYwMDAwMA=="; | ||
const releaseInfo = "MTcwODYyODQwMDAwMA=="; | ||
if (process.env.NODE_ENV !== 'production') { | ||
@@ -12,0 +12,0 @@ // A simple hack to set the value in the test environment (has no build step). |
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
30
1184853
421
19922
+ Added@mui/x-data-grid@7.0.0-beta.4(transitive)
- Removed@mui/x-data-grid@7.0.0-beta.3(transitive)