@mui/x-data-grid-generator 6.19.1 → 6.19.3
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 +84 -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,90 @@
|
|
|
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.3
|
|
7
|
+
|
|
8
|
+
_Feb 1, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 4 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 🌍 Improve Hebrew (he-IL) locale (#11831) @danielmishan85
|
|
13
|
+
- 🐞 Bugfixes
|
|
14
|
+
- 📚 Documentation improvements
|
|
15
|
+
|
|
16
|
+
### Data Grid
|
|
17
|
+
|
|
18
|
+
#### `@mui/x-data-grid@6.19.3`
|
|
19
|
+
|
|
20
|
+
- [l10n] Improve Hebrew (he-IL) locale (@danielmishan85) (#11831)
|
|
21
|
+
|
|
22
|
+
#### `@mui/x-data-grid-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
23
|
+
|
|
24
|
+
Same changes as in `@mui/x-data-grid@6.19.3`.
|
|
25
|
+
|
|
26
|
+
#### `@mui/x-data-grid-premium@6.19.3` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
27
|
+
|
|
28
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.3`.
|
|
29
|
+
|
|
30
|
+
### Date Pickers
|
|
31
|
+
|
|
32
|
+
#### `@mui/x-date-pickers@6.19.3`
|
|
33
|
+
|
|
34
|
+
- [TimePicker] Add missing toolbar classes descriptions (#11862) @LukasTy
|
|
35
|
+
|
|
36
|
+
#### `@mui/x-date-pickers-pro@6.19.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
37
|
+
|
|
38
|
+
Same changes as in `@mui/x-date-pickers@6.19.3`.
|
|
39
|
+
|
|
40
|
+
### Charts / `@mui/x-charts@6.19.3`
|
|
41
|
+
|
|
42
|
+
- [charts] Document how to modify color according to values (#11854) @alexfauquette
|
|
43
|
+
|
|
44
|
+
### Docs
|
|
45
|
+
|
|
46
|
+
- [docs] Add a general uplift to the whats new page (#11883) @danilo-leal
|
|
47
|
+
- [docs] Fix 404 (#11852) @alexfauquette
|
|
48
|
+
- [docs] Fix <title> generation (#11825) @alexfauquette
|
|
49
|
+
- [docs] Fix docs:api when typo in slots typing (#11861) @alexfauquette
|
|
50
|
+
- [docs] Improve Support page (#11556) @oliviertassinari
|
|
51
|
+
- [docs] Sync support page with core @oliviertassinari
|
|
52
|
+
- [docs] These API don't exist in MUI X v6 @oliviertassinari
|
|
53
|
+
- [docs] Update whats new page with v7 Beta blogpost content (#11886) @joserodolfofreitas
|
|
54
|
+
|
|
55
|
+
## 6.19.2
|
|
56
|
+
|
|
57
|
+
_Jan 25, 2024_
|
|
58
|
+
|
|
59
|
+
We'd like to offer a big thanks to the 2 contributors who made this release possible. Here are some highlights ✨:
|
|
60
|
+
|
|
61
|
+
- 🚀 Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
62
|
+
- 🐞 Bugfixes
|
|
63
|
+
|
|
64
|
+
### Date Pickers
|
|
65
|
+
|
|
66
|
+
#### `@mui/x-date-pickers@6.19.2`
|
|
67
|
+
|
|
68
|
+
- [pickers] Apply the `layout.tabs` class to `Tabs` slot (@LukasTy) (#11782)
|
|
69
|
+
|
|
70
|
+
#### `@mui/x-date-pickers-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
71
|
+
|
|
72
|
+
Same changes as in `@mui/x-date-pickers@6.19.2`, plus:
|
|
73
|
+
|
|
74
|
+
- [DateRangePicker] Remove `calendars` prop on `Mobile` (@LukasTy) (#11771)
|
|
75
|
+
|
|
76
|
+
### Data Grid
|
|
77
|
+
|
|
78
|
+
#### `@mui/x-data-grid@6.19.2`
|
|
79
|
+
|
|
80
|
+
- [DataGrid] Fix support for tree with more than 50,000 children (@zenazn) (#11808)
|
|
81
|
+
|
|
82
|
+
#### `@mui/x-data-grid-pro@6.19.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
83
|
+
|
|
84
|
+
Same changes as in `@mui/x-data-grid@6.19.2`.
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-data-grid-premium@6.19.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
87
|
+
|
|
88
|
+
Same changes as in `@mui/x-data-grid-pro@6.19.2`.
|
|
89
|
+
|
|
6
90
|
## 6.19.1
|
|
7
91
|
|
|
8
92
|
_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.3",
|
|
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.3",
|
|
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,
|