@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 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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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_
@@ -10,7 +10,6 @@ const dataCache = new LRUCache({
10
10
  max: 10,
11
11
  ttl: 60 * 5 * 1e3 // 5 minutes
12
12
  });
13
-
14
13
  // Generate fake data from a seed.
15
14
  // It's about x20 faster than getRealData.
16
15
  async function extrapolateSeed(rowLength, data) {
package/hooks/useQuery.js CHANGED
@@ -137,7 +137,6 @@ export const loadServerRows = (rows, queryOptions, serverOptions, columnsWithDef
137
137
  }, delay); // simulate network latency
138
138
  });
139
139
  };
140
-
141
140
  const DEFAULT_DATASET_OPTIONS = {
142
141
  dataSet: 'Commodity',
143
142
  rowLength: 100,
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.19.1
2
+ * @mui/x-data-grid-generator v6.19.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -157,7 +157,6 @@ export var loadServerRows = function loadServerRows(rows, queryOptions, serverOp
157
157
  }, delay); // simulate network latency
158
158
  });
159
159
  };
160
-
161
160
  var DEFAULT_DATASET_OPTIONS = {
162
161
  dataSet: 'Commodity',
163
162
  rowLength: 100,
package/legacy/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.19.1
2
+ * @mui/x-data-grid-generator v6.19.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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 _ref2 = {
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
- }, _defineProperty(_ref2, "& .".concat(sliderClasses.rail), {
22
+ }, "& .".concat(sliderClasses.rail), {
24
23
  height: '100%',
25
24
  backgroundColor: 'transparent'
26
- }), _defineProperty(_ref2, "& .".concat(sliderClasses.track), {
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
- }), _defineProperty(_ref2, "& .".concat(sliderClasses.thumb), {
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
- }), _ref2;
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,
@@ -10,7 +10,6 @@ const dataCache = new LRUCache({
10
10
  max: 10,
11
11
  ttl: 60 * 5 * 1e3 // 5 minutes
12
12
  });
13
-
14
13
  // Generate fake data from a seed.
15
14
  // It's about x20 faster than getRealData.
16
15
  async function extrapolateSeed(rowLength, data) {
@@ -135,7 +135,6 @@ export const loadServerRows = (rows, queryOptions, serverOptions, columnsWithDef
135
135
  }, delay); // simulate network latency
136
136
  });
137
137
  };
138
-
139
138
  const DEFAULT_DATASET_OPTIONS = {
140
139
  dataSet: 'Commodity',
141
140
  rowLength: 100,
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.19.1
2
+ * @mui/x-data-grid-generator v6.19.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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,
@@ -19,7 +19,6 @@ const dataCache = new _lruCache.default({
19
19
  max: 10,
20
20
  ttl: 60 * 5 * 1e3 // 5 minutes
21
21
  });
22
-
23
22
  // Generate fake data from a seed.
24
23
  // It's about x20 faster than getRealData.
25
24
  async function extrapolateSeed(rowLength, data) {
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-data-grid-generator v6.19.1
2
+ * @mui/x-data-grid-generator v6.19.3
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -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.1",
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.1",
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,