@mui/x-data-grid-generator 6.19.1 → 6.19.2
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/CHANGELOG.md +35 -0
- package/hooks/useDemoData.js +0 -1
- package/hooks/useQuery.js +0 -1
- package/index.js +1 -1
- package/legacy/hooks/useQuery.js +0 -1
- package/legacy/index.js +1 -1
- package/legacy/renderer/renderEditProgress.js +5 -6
- package/legacy/services/basic-data-service.js +0 -2
- package/modern/hooks/useDemoData.js +0 -1
- package/modern/hooks/useQuery.js +0 -1
- package/modern/index.js +1 -1
- package/modern/services/basic-data-service.js +0 -2
- package/node/hooks/useDemoData.js +0 -1
- package/node/index.js +1 -1
- package/node/services/basic-data-service.js +0 -2
- package/package.json +2 -2
- package/services/basic-data-service.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.19.2
|
|
7
|
+
|
|
8
|
+
_Jan 25, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🚀 Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
|
|
15
|
+
### Date Pickers
|
|
16
|
+
|
|
17
|
+
#### `@mui/x-date-pickers@6.19.2`
|
|
18
|
+
|
|
19
|
+
- [pickers] Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
20
|
+
|
|
21
|
+
#### `@mui/x-date-pickers-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
22
|
+
|
|
23
|
+
Same changes as in `@mui/x-date-pickers@6.19.2`, plus:
|
|
24
|
+
|
|
25
|
+
- [DateRangePicker] Remove `calendars` prop on `Mobile` (@LukasTy) (#11771)
|
|
26
|
+
|
|
27
|
+
### Data Grid
|
|
28
|
+
|
|
29
|
+
#### `@mui/x-data-grid@6.19.2`
|
|
30
|
+
|
|
31
|
+
- [DataGrid] Fix support for tree with more than 50,000 children (@zenazn) (#11808)
|
|
32
|
+
|
|
33
|
+
#### `@mui/x-data-grid-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
34
|
+
|
|
35
|
+
Same changes as in `@mui/x-data-grid@6.19.2`.
|
|
36
|
+
|
|
37
|
+
#### `@mui/x-data-grid-premium@6.19.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
38
|
+
|
|
39
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.2`.
|
|
40
|
+
|
|
6
41
|
## 6.19.1
|
|
7
42
|
|
|
8
43
|
_Jan 19, 2024_
|
package/hooks/useDemoData.js
CHANGED
package/hooks/useQuery.js
CHANGED
package/index.js
CHANGED
package/legacy/hooks/useQuery.js
CHANGED
package/legacy/index.js
CHANGED
|
@@ -10,9 +10,8 @@ import { unstable_debounce as debounce } from '@mui/utils';
|
|
|
10
10
|
import { alpha, styled } from '@mui/material/styles';
|
|
11
11
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
12
12
|
var StyledSlider = styled(Slider)(function (_ref) {
|
|
13
|
-
var _ref2;
|
|
14
13
|
var theme = _ref.theme;
|
|
15
|
-
return
|
|
14
|
+
return _defineProperty(_defineProperty(_defineProperty({
|
|
16
15
|
display: 'flex',
|
|
17
16
|
height: '100%',
|
|
18
17
|
width: '100%',
|
|
@@ -20,10 +19,10 @@ var StyledSlider = styled(Slider)(function (_ref) {
|
|
|
20
19
|
justifyContent: 'center',
|
|
21
20
|
padding: 0,
|
|
22
21
|
borderRadius: 0
|
|
23
|
-
},
|
|
22
|
+
}, "& .".concat(sliderClasses.rail), {
|
|
24
23
|
height: '100%',
|
|
25
24
|
backgroundColor: 'transparent'
|
|
26
|
-
}),
|
|
25
|
+
}), "& .".concat(sliderClasses.track), {
|
|
27
26
|
height: '100%',
|
|
28
27
|
transition: theme.transitions.create('background-color', {
|
|
29
28
|
duration: theme.transitions.duration.shorter
|
|
@@ -37,13 +36,13 @@ var StyledSlider = styled(Slider)(function (_ref) {
|
|
|
37
36
|
'&.high': {
|
|
38
37
|
backgroundColor: '#088208a3'
|
|
39
38
|
}
|
|
40
|
-
}),
|
|
39
|
+
}), "& .".concat(sliderClasses.thumb), {
|
|
41
40
|
height: '100%',
|
|
42
41
|
width: 5,
|
|
43
42
|
borderRadius: 0,
|
|
44
43
|
marginTop: 0,
|
|
45
44
|
backgroundColor: alpha('#000000', 0.2)
|
|
46
|
-
})
|
|
45
|
+
});
|
|
47
46
|
});
|
|
48
47
|
function ValueLabelComponent(props) {
|
|
49
48
|
var children = props.children,
|
|
@@ -11,7 +11,6 @@ export var getBasicGridData = function getBasicGridData(rowLength, colLength) {
|
|
|
11
11
|
for (var j = 1; j <= pricesColLength; j += 1) {
|
|
12
12
|
model["price".concat(j, "M")] = Number("".concat(i.toString()).concat(j)); // randomPrice(0.7, 2);
|
|
13
13
|
}
|
|
14
|
-
|
|
15
14
|
data.push(model);
|
|
16
15
|
}
|
|
17
16
|
var columns = [{
|
|
@@ -30,7 +29,6 @@ export var getBasicGridData = function getBasicGridData(rowLength, colLength) {
|
|
|
30
29
|
type: 'number'
|
|
31
30
|
}); // (y > 0 ? `${y}Y` : '') + `${j - y * 12}M`
|
|
32
31
|
}
|
|
33
|
-
|
|
34
32
|
columns.length = colLength; // we cut the array in case < 2;
|
|
35
33
|
return {
|
|
36
34
|
columns: columns,
|
package/modern/hooks/useQuery.js
CHANGED
package/modern/index.js
CHANGED
|
@@ -11,7 +11,6 @@ export const getBasicGridData = (rowLength, colLength) => {
|
|
|
11
11
|
for (let j = 1; j <= pricesColLength; j += 1) {
|
|
12
12
|
model[`price${j}M`] = Number(`${i.toString()}${j}`); // randomPrice(0.7, 2);
|
|
13
13
|
}
|
|
14
|
-
|
|
15
14
|
data.push(model);
|
|
16
15
|
}
|
|
17
16
|
const columns = [{
|
|
@@ -30,7 +29,6 @@ export const getBasicGridData = (rowLength, colLength) => {
|
|
|
30
29
|
type: 'number'
|
|
31
30
|
}); // (y > 0 ? `${y}Y` : '') + `${j - y * 12}M`
|
|
32
31
|
}
|
|
33
|
-
|
|
34
32
|
columns.length = colLength; // we cut the array in case < 2;
|
|
35
33
|
return {
|
|
36
34
|
columns,
|
package/node/index.js
CHANGED
|
@@ -17,7 +17,6 @@ const getBasicGridData = (rowLength, colLength) => {
|
|
|
17
17
|
for (let j = 1; j <= pricesColLength; j += 1) {
|
|
18
18
|
model[`price${j}M`] = Number(`${i.toString()}${j}`); // randomPrice(0.7, 2);
|
|
19
19
|
}
|
|
20
|
-
|
|
21
20
|
data.push(model);
|
|
22
21
|
}
|
|
23
22
|
const columns = [{
|
|
@@ -36,7 +35,6 @@ const getBasicGridData = (rowLength, colLength) => {
|
|
|
36
35
|
type: 'number'
|
|
37
36
|
}); // (y > 0 ? `${y}Y` : '') + `${j - y * 12}M`
|
|
38
37
|
}
|
|
39
|
-
|
|
40
38
|
columns.length = colLength; // we cut the array in case < 2;
|
|
41
39
|
return {
|
|
42
40
|
columns,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-data-grid-generator",
|
|
3
|
-
"version": "6.19.
|
|
3
|
+
"version": "6.19.2",
|
|
4
4
|
"description": "Generate fake data for demo purposes only.",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@babel/runtime": "^7.23.2",
|
|
23
23
|
"@mui/base": "^5.0.0-beta.22",
|
|
24
|
-
"@mui/x-data-grid-premium": "6.19.
|
|
24
|
+
"@mui/x-data-grid-premium": "6.19.2",
|
|
25
25
|
"chance": "^1.1.11",
|
|
26
26
|
"clsx": "^2.0.0",
|
|
27
27
|
"lru-cache": "^7.18.3"
|
|
@@ -11,7 +11,6 @@ export const getBasicGridData = (rowLength, colLength) => {
|
|
|
11
11
|
for (let j = 1; j <= pricesColLength; j += 1) {
|
|
12
12
|
model[`price${j}M`] = Number(`${i.toString()}${j}`); // randomPrice(0.7, 2);
|
|
13
13
|
}
|
|
14
|
-
|
|
15
14
|
data.push(model);
|
|
16
15
|
}
|
|
17
16
|
const columns = [{
|
|
@@ -30,7 +29,6 @@ export const getBasicGridData = (rowLength, colLength) => {
|
|
|
30
29
|
type: 'number'
|
|
31
30
|
}); // (y > 0 ? `${y}Y` : '') + `${j - y * 12}M`
|
|
32
31
|
}
|
|
33
|
-
|
|
34
32
|
columns.length = colLength; // we cut the array in case < 2;
|
|
35
33
|
return {
|
|
36
34
|
columns,
|