@mui/x-data-grid-generator 6.18.7 → 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 CHANGED
@@ -3,6 +3,112 @@
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` [![pro](https://mui.com/r/x-pro-svg)](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` [![pro](https://mui.com/r/x-pro-svg)](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` [![premium](https://mui.com/r/x-premium-svg)](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
+
41
+ ## 6.19.1
42
+
43
+ _Jan 19, 2024_
44
+
45
+ We'd like to offer a big thanks to the 1 contributors who made this release possible. Here are some highlights ✨:
46
+
47
+ - 🌍 Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
48
+ - 🐞 Bugfixes
49
+
50
+ ### Data Grid
51
+
52
+ #### `@mui/x-data-grid@6.19.1`
53
+
54
+ - [l10n] Add Croatian (hr-HR), Portuguese (pt-PT), and Chinese (Hong Kong) (zh-HK) locales (#11717) @BCaspari
55
+
56
+ #### `@mui/x-data-grid-pro@6.19.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
57
+
58
+ Same changes as in `@mui/x-data-grid@6.19.1`.
59
+
60
+ #### `@mui/x-data-grid-premium@6.19.1` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
61
+
62
+ Same changes as in `@mui/x-data-grid-pro@6.19.1`.
63
+
64
+ ### Charts / `@mui/x-charts@6.19.1`
65
+
66
+ - [charts] Add `arcLabelRadius` property (#11563) @alexfauquette
67
+ - [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11719) @alexfauquette
68
+ - [charts] Fix default `stackOffset` for `LineChart` (#11703) @alexfauquette
69
+
70
+ ## 6.19.0
71
+
72
+ _Jan 11, 2024_
73
+
74
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
75
+
76
+ - ⏰ Support date-fns v3 (#11659) @LukasTy
77
+ Pickers support both v2 and v3 of date-fns. For v3 use `AdapterDateFnsV3`.
78
+ ```js
79
+ // with date-fns v2.x
80
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFns';
81
+ import de from 'date-fns/locale/de';
82
+ ```
83
+ ```js
84
+ // with date-fns v3.x
85
+ import { AdapterDateFns } from '@mui/x-date-pickers/AdapterDateFnsV3';
86
+ import { de } from 'date-fns/locale/de';
87
+ ```
88
+
89
+ ### Date Pickers
90
+
91
+ #### `@mui/x-date-pickers@6.19.0`
92
+
93
+ - [pickers] Add date-fns@3.x adapter (#11659) @LukasTy
94
+ - [pickers] Fix clearable behavior blocking focus return to `OpenPickerButton` (#11643) @noraleonte
95
+ - [l10n] Add missing Danish (da-DK) locale export (#11641) @etlos
96
+
97
+ #### `@mui/x-date-pickers-pro@6.19.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
98
+
99
+ Same changes as in `@mui/x-date-pickers@6.19.0`.
100
+
101
+ ### Docs
102
+
103
+ - [docs] Add missing component @oliviertassinari
104
+ - [docs] Fix parsing of `x-date-pickers-pro` demo adapter imports (#11637) @LukasTy
105
+ - [docs] Push up the MUI X brand (#11533) @oliviertassinari
106
+ - [docs] Improve Server-side data grid docs (#11589) @oliviertassinari
107
+ - [docs] Add demo to the charts overview page (#11586) @danilo-leal
108
+ - [docs] Fix 404 links in the docs @oliviertassinari
109
+ - [docs] Improve landing page (#11570) @oliviertassinari
110
+ - [docs] Give a general revision to the docs (#11249) @danilo-leal
111
+
6
112
  ## 6.18.7
7
113
 
8
114
  _Jan 5, 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.18.7
2
+ * @mui/x-data-grid-generator v6.19.2
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.18.7
2
+ * @mui/x-data-grid-generator v6.19.2
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.18.7
2
+ * @mui/x-data-grid-generator v6.19.2
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.18.7
2
+ * @mui/x-data-grid-generator v6.19.2
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.18.7",
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.18.7",
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,