@mui/x-license 7.0.0-beta.6 → 7.1.1

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,457 @@
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
+ ## 7.1.1
7
+
8
+ _Apr 5, 2024_
9
+
10
+ We'd like to offer a big thanks to the 19 contributors who made this release possible. Here are some highlights ✨:
11
+
12
+ - 🚀 Add `setItemExpansion` Tree View API method (#12595) @flaviendelangle
13
+ - 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Spanish (es-ES) locale on the Data Grid
14
+ - 🌍 Improve Persian (fa-IR), Portuguese (pt-BR), and Ukrainian (uk-UA) locale on the Pickers
15
+ - 🐞 Bugfixes
16
+ - 📚 Documentation improvements
17
+
18
+ ### Data Grid
19
+
20
+ #### `@mui/x-data-grid@7.1.1`
21
+
22
+ - [DataGrid] Allow higher packages' props to be used in MIT (#12365) @MBilalShafi
23
+ - [DataGrid] Fix RTL mode (#12583) @romgrk
24
+ - [DataGrid] Fix `ColDefChangesGridNoSnap` demo crash (#12663) @MBilalShafi
25
+ - [DataGrid] Fix server-side filter demo not working (#12662) @MBilalShafi
26
+ - [DataGrid] Log error if `rowCount` is used with client-side pagination (#12448) @michelengelen
27
+ - [DataGrid] Remove `GridFormatterParams` completely (#12660) @romgrk
28
+ - [DataGrid] Restore main slot (#12657) @romgrk
29
+ - [l10n] Improve Persian (fa-IR) locale (#12630) @amirhosseinzf
30
+ - [l10n] Improve Portuguese (pt-BR) locale (#12618) @hugoalkimim
31
+ - [l10n] Improve Spanish (es-ES) locale (#12606) @aitor40
32
+
33
+ #### `@mui/x-data-grid-pro@7.1.1` [![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@7.1.1`.
36
+
37
+ #### `@mui/x-data-grid-premium@7.1.1` [![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@7.1.1`.
40
+
41
+ ### Date and Time Pickers
42
+
43
+ #### `@mui/x-date-pickers@7.1.1`
44
+
45
+ - [fields] Fix `readOnly` behavior (#12609) @LukasTy
46
+ - [l10n] Improve Persian (fa-IR) locale (#12632) @misafari
47
+ - [l10n] Improve Portuguese (pt-BR) locale (#12613) @cnHealth
48
+ - [l10n] Improve Ukrainian (uk-UA) locale (#12627) @alexkobylansky
49
+
50
+ #### `@mui/x-date-pickers-pro@7.1.1` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
51
+
52
+ Same changes as in `@mui/x-date-pickers@7.1.1`, plus:
53
+
54
+ - [DateTimeRangePicker] Fix selection on same day (#12604) @LukasTy
55
+
56
+ ### Charts
57
+
58
+ #### `@mui/x-charts@7.1.1`
59
+
60
+ - [charts] Fix `tickInterval` usage for y-axis (#12592) @alexfauquette
61
+ - [charts] Fix Scatter series highlight when `id` is a `number` (#12677) @JCQuintas
62
+ - [charts] Fix TS error when using `sx` property on `ChartsTooltip` (#12659) @JCQuintas
63
+
64
+ ### Tree View
65
+
66
+ #### `@mui/x-tree-view@7.1.1`
67
+
68
+ - [TreeView] Add JSDoc to all `publicAPI` methods (#12649) @flaviendelangle
69
+ - [TreeView] Create `RichTreeViewPro` component (not released yet) (#12610) @flaviendelangle
70
+ - [TreeView] Create pro package (not released yet) (#12240) @flaviendelangle
71
+ - [TreeView] Fix typo in errors (#12623) @alissa-tung
72
+ - [TreeView] New API method: `setItemExpansion` (#12595) @flaviendelangle
73
+
74
+ ### Docs
75
+
76
+ - [docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop (#12646) @michelengelen
77
+ - [docs] Explain the use of `_action: 'delete'` in `processRowUpdate` (#12670) @michelengelen
78
+ - [docs] Fix formatting and typo on migration guide @oliviertassinari
79
+ - [docs] Fix formatting in changelog @oliviertassinari
80
+ - [docs] Fix grammar in TreeView migration doc (#12615) @joshkel
81
+ - [docs] Fix missing closing props in `PieShapeNoSnap` demo (#12636) @alp-ex
82
+ - [docs] Fix type arguments in Custom Field page (#12619) @Juneezee
83
+ - [docs] Fix typo in `getItemId` prop description (#12637) @flaviendelangle
84
+ - [docs] Make the Charts `margin` usage more visible (#12591) @alexfauquette
85
+ - [docs] Match IE 11 spacing with Material UI @oliviertassinari
86
+ - [docs] Move data grid interfaces to standard API page layout (#12016) @alexfauquette
87
+ - [docs] Remove ` around @default values (#12158) @alexfauquette
88
+ - [docs] Remove `day` from the default `dayOfWeekFormatter` function params (#12644) @LukasTy
89
+ - [docs] Use `TreeItem2` for icon expansion example on `RichTreeView` (#12563) @flaviendelangle
90
+
91
+ ### Core
92
+
93
+ - [core] Add cherry-pick `master` to `v6` action (#12648) @LukasTy
94
+ - [core] Fix typo in `@mui/x-tree-view-pro/themeAugmentation` (#12674) @flaviendelangle
95
+ - [core] Introduce `describeTreeView` to run test on `SimpleTreeView` and `RichTreeView`, using `TreeItem` and `TreeItem2` + migrate expansion tests (#12428) @flaviendelangle
96
+ - [core] Limit `test-types` CI step allowed memory (#12651) @LukasTy
97
+ - [core] Remove explicit `express` package (#12602) @LukasTy
98
+ - [core] Update to new embedded translations in the docs package (#12232) @Janpot
99
+ - [core] Use PR labels to identify the package a `l10n` PR belongs to (#12639) @LukasTy
100
+ - [core] Use `describeTreeView` for selection tests (#12647) @flaviendelangle
101
+ - [docs-infra] Adjust the links to search for issues (#11995) @michelengelen
102
+ - [infra] Polish support survey experience (#12624) @oliviertassinari
103
+ - [support-infra] Replace author association with a permission check in survey action (#12068) @michelengelen
104
+ - [support-infra] Fix user permission check (#12669) @michelengelen
105
+ - [test] Fix Tree View test import (#12668) @LukasTy
106
+
107
+ ## 7.1.0
108
+
109
+ _Mar 28, 2024_
110
+
111
+ We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights ✨:
112
+
113
+ - 🚀 Add `resizeThrottleMs` prop (#12556) @romgrk
114
+ - 🌍 Improve Chinese (Hong Kong) (zh-HK) and Italian (it-IT) locale on the Pickers
115
+ - 🐞 Bugfixes
116
+ - 📚 Documentation improvements
117
+
118
+ ### Data Grid
119
+
120
+ #### `@mui/x-data-grid@7.1.0`
121
+
122
+ - [DataGrid] Add `resizeThrottleMs` prop (#12556) @romgrk
123
+ - [DataGrid] Do not publish `rowEditStop` event if row has fields with errors (#11383) @cherniavskii
124
+ - [DataGrid] Fix bug in suspense (#12553) @romgrk
125
+ - [DataGrid] Fix missing class name in the `GridToolbarQuickFilter` component (#12484) @jhawkins11
126
+
127
+ #### `@mui/x-data-grid-pro@7.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
128
+
129
+ Same changes as in `@mui/x-data-grid@7.1.0`.
130
+
131
+ #### `@mui/x-data-grid-premium@7.1.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
132
+
133
+ Same changes as in `@mui/x-data-grid-pro@7.1.0`.
134
+
135
+ ### Date and Time Pickers
136
+
137
+ #### `@mui/x-date-pickers@7.1.0`
138
+
139
+ - [fields] Fix placeholder override (#12589) @flaviendelangle
140
+ - [l10n] Improve Chinese (Hong Kong) (zh-HK) locale (#12547) @samchiu90
141
+ - [l10n] Improve Italian (it-IT) locale (#12549) @antomanc
142
+ - [pickers] Prepare compatibility with `@mui/zero-runtime` (stop using `ownerState` in `styled`) (#12003) @flaviendelangle
143
+
144
+ #### `@mui/x-date-pickers-pro@7.1.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
145
+
146
+ Same changes as in `@mui/x-date-pickers@7.1.0`, plus:
147
+
148
+ - [DateRangePicker] Fix selection behavior with single input field when `readOnly` (#12593) @LukasTy
149
+
150
+ ### Charts
151
+
152
+ #### `@mui/x-charts@7.1.0`
153
+
154
+ - [charts] Fix tooltip causing crash on data change (#12571) @Rishi556
155
+
156
+ ### Tree View
157
+
158
+ #### `@mui/x-tree-view@7.1.0`
159
+
160
+ - [TreeView] Do not use outdated version of the state to compute new label first char in `RichTreeView` (#12512) @flaviendelangle
161
+
162
+ ### Docs
163
+
164
+ - [docs] Add example to add a second icon next to the field's opening button (#12524) @flaviendelangle
165
+ - [docs] Add missing note to Data Grid migration guide (#12557) @romgrk
166
+ - [docs] Fix Charts title for SEO (#12545) @oliviertassinari
167
+ - [docs] Fix small typo (#12558) @diogoparente
168
+ - [docs] Improve codemod related documentation (#12582) @MBilalShafi
169
+ - [docs] Reduce noise in migration docs side navigation (#12552) @cherniavskii
170
+ - [docs] Sync static images from core repository (#12525) @LukasTy
171
+
172
+ ### Core
173
+
174
+ - [core] Fix `l10n` script on Windows (#12550) @LukasTy
175
+ - [core] Include `DateTimeRangePicker` tag in `releaseChangelog` (#12526) @LukasTy
176
+ - [core] Upgrade monorepo (#12536) @cherniavskii
177
+
178
+ ## 7.0.0
179
+
180
+ _Mar 22, 2024_
181
+
182
+ We're excited to [announce the first v7 stable release](https://mui.com/blog/mui-x-v7/)! 🎉🚀
183
+
184
+ This is now the officially supported major version, where we'll keep rolling out new features, bug fixes, and improvements.
185
+ Migration guides are available with a complete list of the breaking changes:
186
+
187
+ - [Data Grid](https://mui.com/x/migration/migration-data-grid-v6/)
188
+ - [Date and Time Pickers](https://mui.com/x/migration/migration-pickers-v6/)
189
+ - [Tree View](https://mui.com/x/migration/migration-tree-view-v6/)
190
+ - [Charts](https://mui.com/x/migration/migration-charts-v6/)
191
+
192
+ We'd like to offer a big thanks to the 12 contributors who made this release possible. Here are some highlights ✨:
193
+
194
+ - 🚀 Improve the usage of custom `viewRenderers` on `DateTimePicker` (#12441) @LukasTy
195
+ - ✨ Set focus on the focused Tree Item instead of the Tree View (#12226) @flaviendelangle
196
+ - 🕹️ Support controlled `density` for the Data Grid (#12332) @MBilalShafi
197
+ - 🎁 Dynamic virtualization range for the Data Grid (#12353) @romgrk
198
+ - 🐞 Bugfixes
199
+ - 📚 Documentation improvements
200
+
201
+ ### Data Grid
202
+
203
+ #### Breaking changes
204
+
205
+ - The `density` is a [controlled prop](https://mui.com/x/react-data-grid/accessibility/#set-the-density-programmatically) now, if you were previously passing the `density` prop to the Data Grid, you will need to do one of the following:
206
+
207
+ 1. Move it to the `initialState.density` to initialize it.
208
+
209
+ ```diff
210
+ <DataGrid
211
+ - density="compact"
212
+ + initialState={{ density: "compact" }}
213
+ />
214
+ ```
215
+
216
+ 2. Move it to the state and use `onDensityChange` callback to update the `density` prop accordingly for it to work as expected.
217
+
218
+ ```diff
219
+ + const [density, setDensity] = React.useState<GridDensity>('compact');
220
+ <DataGrid
221
+ - density="compact"
222
+ + density={density}
223
+ + onDensityChange={(newDensity) => setDensity(newDensity)}
224
+ />
225
+ ```
226
+
227
+ - The selector `gridDensityValueSelector` was removed, use the `gridDensitySelector` instead.
228
+
229
+ - The props `rowBuffer` and `columnBuffer` were renamed to `rowBufferPx` and `columnBufferPx`.
230
+ Their value is now a pixel value rather than a number of items. Their default value is now `150`.
231
+
232
+ - The props `rowThreshold` and `columnThreshold` have been removed.
233
+ If you had the `rowThreshold` prop set to `0` to force new rows to be rendered more often – this is no longer necessary.
234
+
235
+ #### `@mui/x-data-grid@7.0.0`
236
+
237
+ - [DataGrid] Allow to control the grid density (#12332) @MBilalShafi
238
+ - [DataGrid] Dynamic virtualization range (#12353) @romgrk
239
+ - [DataGrid] Fix `ElementType` usage (#12479) @cherniavskii
240
+ - [DataGrid] Fix cell value formatting on copy (#12357) @sai6855
241
+ - [DataGrid] Fix checkbox selection is keeping selection when filtering (#11751) @g1mishra
242
+ - [DataGrid] Make `rows` an optional prop (#12478) @MBilalShafi
243
+
244
+ #### `@mui/x-data-grid-pro@7.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
245
+
246
+ Same changes as in `@mui/x-data-grid@7.0.0`.
247
+
248
+ #### `@mui/x-data-grid-premium@7.0.0` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
249
+
250
+ Same changes as in `@mui/x-data-grid-pro@7.0.0`, plus:
251
+
252
+ - [DataGridPremium] Add support for confirmation before clipboard paste (#12225) @cherniavskii
253
+ - [DataGridPremium] Fix single grouping column sorting (#9679) @cherniavskii
254
+ - [DataGridPremium] Fix boolean cell not rendered in group rows (#12492) @sai6855
255
+
256
+ ### Date and Time Pickers
257
+
258
+ #### Breaking changes
259
+
260
+ - The `DesktopDateTimePicker` view rendering has been optimized by using the same technique as for `DesktopDateTimeRangePicker`.
261
+ - The `dateTimeViewRenderers` have been removed in favor of reusing existing time view renderers (`renderTimeViewClock`, `renderDigitalClockTimeView` and `renderMultiSectionDigitalClockTimeView`) and date view renderer (`renderDateViewCalendar`).
262
+ - Passing `renderTimeViewClock` to time view renderers will no longer revert to the old behavior of rendering only date or time view.
263
+
264
+ #### `@mui/x-date-pickers@7.0.0`
265
+
266
+ - [fields] Allow to override the separator between the start and the end date in all range fields (#12174) @flaviendelangle
267
+ - [fields] Support format without separator (#12489) @flaviendelangle
268
+ - [pickers] Use renderer interceptor on `DesktopDateTimePicker` (#12441) @LukasTy
269
+
270
+ #### `@mui/x-date-pickers-pro@7.0.0` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
271
+
272
+ Same changes as in `@mui/x-date-pickers@7.0.0`, plus:
273
+
274
+ - [DateTimeRangePicker] Add component `JSDoc` (#12518) @LukasTy
275
+ - [DateTimeRangePicker] Fix views behavior regression (#12529) @LukasTy
276
+
277
+ ### Charts
278
+
279
+ #### `@mui/x-charts@7.0.0`
280
+
281
+ - [charts] Fix small typo in `CartesianContextProvider` (#12461) @Janpot
282
+
283
+ ### Tree View
284
+
285
+ #### Breaking changes
286
+
287
+ - The required `nodeId` prop used by the `TreeItem` has been renamed to `itemId` for consistency:
288
+
289
+ ```diff
290
+ <TreeView>
291
+ - <TreeItem label="Item 1" nodeId="one">
292
+ + <TreeItem label="Item 1" itemId="one">
293
+ </TreeView>
294
+ ```
295
+
296
+ - The focus is now applied to the Tree Item root element instead of the Tree View root element.
297
+
298
+ This change will allow new features that require the focus to be on the Tree Item,
299
+ like the drag and drop reordering of items.
300
+ It also solves several issues with focus management,
301
+ like the inability to scroll to the focused item when a lot of items are rendered.
302
+
303
+ This will mostly impact how you write tests to interact with the Tree View:
304
+
305
+ For example, if you were writing a test with `react-testing-library`, here is what the changes could look like:
306
+
307
+ ```diff
308
+ it('test example on first item', () => {
309
+ - const { getByRole } = render(
310
+ + const { getAllByRole } = render(
311
+ <SimpleTreeView>
312
+ <TreeItem nodeId="one" />
313
+ <TreeItem nodeId="two" />
314
+ </SimpleTreeView>
315
+ );
316
+
317
+ - const tree = getByRole('tree');
318
+ + const firstTreeItem = getAllByRole('treeitem')[0];
319
+ act(() => {
320
+ - tree.focus();
321
+ + firstTreeItem.focus();
322
+ });
323
+ - fireEvent.keyDown(tree, { key: 'ArrowDown' });
324
+ + fireEvent.keyDown(firstTreeItem, { key: 'ArrowDown' });
325
+ })
326
+ ```
327
+
328
+ #### `@mui/x-tree-view@7.0.0`
329
+
330
+ - [TreeView] Rename `nodeId` to `itemId` (#12418) @noraleonte
331
+ - [TreeView] Set focus on the focused Tree Item instead of the Tree View (#12226) @flaviendelangle
332
+ - [TreeView] Update JSDoc of the `ContentComponent` prop to avoid using the word "node" (#12476) @flaviendelangle
333
+
334
+ ### `@mui/x-codemod@7.0.0`
335
+
336
+ - [codemod] Add a codemod and update the grid migration guide (#12488) @MBilalShafi
337
+
338
+ ### Docs
339
+
340
+ - [docs] Finalize migration guide (#12501) @noraleonte
341
+ - [docs] Fix nested cells alignment in the popular features demo (#12450) @cherniavskii
342
+ - [docs] Fix some Vale errors (#12469) @oliviertassinari
343
+ - [docs] Remove mentions of pre release (#12513) @noraleonte
344
+ - [docs] Update branch name and tags (#12498) @cherniavskii
345
+ - [docs] Update links to v6 (#12496) @cherniavskii
346
+ - [docs] Update links to v7 docs (#12500) @noraleonte
347
+ - [docs] Update supported versions (#12508) @joserodolfofreitas
348
+ - [docs] Update "What's new in MUI X" page #12527 @cherniavskii
349
+
350
+ ### Core
351
+
352
+ - [core] Bump `@mui/material` peer dependency for all packages (#12516) @LukasTy
353
+ - [core] Fix `no-restricted-imports` ESLint rule not working for Data Grid packages (#12477) @cherniavskii
354
+ - [core] Lower the frequency of `no-response` action runs (#12491) @michaldudak
355
+ - [core] Remove leftover `legacy` `browserlistrc` entry (#12415) @LukasTy
356
+ - [core] Update NPM tag (#12511) @cherniavskii
357
+ - [core] Update supported browsers (browserlistrc) (#12521) @LukasTy
358
+ - [core] Use Circle CI context @oliviertassinari
359
+ - [license] Fix grammar on expired license error message (#12460) @joserodolfofreitas
360
+
361
+ ## 7.0.0-beta.7
362
+
363
+ _Mar 14, 2024_
364
+
365
+ We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
366
+
367
+ - 🦥 The Lazy loading feature is now stable and the `lazyLoading` feature flag was removed from the `experimentalFeatures` prop.
368
+ - 🌍 Improve Japanese (ja-JP) locale for the Data Grid
369
+ - 🐞 Bugfixes
370
+ - 📚 Documentation improvements
371
+
372
+ ### Data Grid
373
+
374
+ #### Breaking changes
375
+
376
+ - The `columnHeader--showColumnBorder` class was replaced by `columnHeader--withLeftBorder` and `columnHeader--withRightBorder`.
377
+ - The `columnHeadersInner`, `columnHeadersInner--scrollable`, and `columnHeaderDropZone` classes were removed since the inner wrapper was removed in our effort to simplify the DOM structure and improve accessibility.
378
+ - The `pinnedColumnHeaders`, `pinnedColumnHeaders--left`, and `pinnedColumnHeaders--right` classes were removed along with the element they were applied to.
379
+ The pinned column headers now use `position: 'sticky'` and are rendered in the same row element as the regular column headers.
380
+
381
+ #### `@mui/x-data-grid@7.0.0-beta.7`
382
+
383
+ - [DataGrid] Fix focus visible style on scrollbar (#12402) @oliviertassinari
384
+ - [DataGrid] Fix the issue where pressing the Delete key resets various cell values to an empty string. (#12216) @sooster910
385
+ - [DataGrid] Make `rowCount` part of the state (#12381) @MBilalShafi
386
+ - [DataGrid] Make column resizing and autosizing available in Community plan (#12420) @cherniavskii
387
+ - [DataGrid] Remove `baseSwitch` slot (#12439) @romgrk
388
+ - [l10n] Improve Japanese (ja-JP) locale (#12398) @makoto14
389
+
390
+ #### `@mui/x-data-grid-pro@7.0.0-beta.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
391
+
392
+ Same changes as in `@mui/x-data-grid@7.0.0-beta.7`, plus:
393
+
394
+ - [DataGridPro] Add `inputRef` to the props passed to `colDef.renderHeaderFilter` (#12328) @vovarudomanenko
395
+ - [DataGridPro] Fix filler rendered for no reason when there are pinned columns (#12440) @cherniavskii
396
+ - [DataGridPro] Make lazy loading feature stable (#12421) @cherniavskii
397
+ - [DataGridPro] Render pinned and non-pinned column headers in one row (#12376) @cherniavskii
398
+
399
+ #### `@mui/x-data-grid-premium@7.0.0-beta.7` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
400
+
401
+ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.7`, plus:
402
+
403
+ - [DataGridPremium] Fix auto-scroll not working when selecting cell range (#12267) @cherniavskii
404
+
405
+ ### Date and Time Pickers
406
+
407
+ #### `@mui/x-date-pickers@7.0.0-beta.7`
408
+
409
+ - [fields] Fix `tabIndex` on accessible field DOM structure (#12311) @flaviendelangle
410
+ - [fields] Fix items alignment on multi input range fields (#12312) @flaviendelangle
411
+ - [pickers] Improve the customization of the range picker calendar header (#11988) @flaviendelangle
412
+ - [pickers] Keep the existing time when looking for closest enabled date (#12377) @LukasTy
413
+
414
+ #### `@mui/x-date-pickers-pro@7.0.0-beta.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
415
+
416
+ Same changes as in `@mui/x-date-pickers@7.0.0-beta.7`.
417
+
418
+ ### Charts
419
+
420
+ #### `@mui/x-charts@7.0.0-beta.7`
421
+
422
+ - [charts] Fix axis highlight when axis is reversed (#12407) @alexfauquette
423
+
424
+ ### Tree View
425
+
426
+ #### Breaking changes
427
+
428
+ The `onNodeFocus` callback has been renamed to `onItemFocus` for consistency:
429
+
430
+ ```diff
431
+ <SimpleTreeView
432
+ - onNodeFocus={onNodeFocus}
433
+ + onItemFocus={onItemFocus}
434
+ />
435
+ ```
436
+
437
+ #### `@mui/x-tree-view@7.0.0-beta.7`
438
+
439
+ - [TreeView] Clean the usage of the term "item" and "node" in API introduced during v7 (#12368) @noraleonte
440
+ - [TreeView] Introduce a new `TreeItem2` component and a new `useTreeItem2` hook (#11721) @flaviendelangle
441
+ - [TreeView] Rename `onNodeFocus` to `onItemFocus` (#12419) @noraleonte
442
+
443
+ ### Docs
444
+
445
+ - [docs] Add `legacy` bundle drop mention in migration pages (#12424) @LukasTy
446
+ - [docs] Add missing luxon `Info` import (#12427) @LukasTy
447
+ - [docs] Improve slots definitions for charts (#12408) @alexfauquette
448
+ - [docs] Polish What's new in MUI X blog titles (#12309) @oliviertassinari
449
+ - [docs] Replace `rel="noreferrer"` by `rel="noopener"` @oliviertassinari
450
+ - [docs] Update `date-fns` `weekStarsOn` overriding example (#12416) @LukasTy
451
+
452
+ ### Core
453
+
454
+ - [core] Fix CI (#12414) @flaviendelangle
455
+ - [core] Fix PR deploy link for Tree View doc pages (#12411) @flaviendelangle
456
+
6
457
  ## 7.0.0-beta.6
7
458
 
8
459
  _Mar 8, 2024_
@@ -156,7 +607,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-beta.5`.
156
607
  ### Docs
157
608
 
158
609
  - [docs] Fix image layout shift when loading @oliviertassinari
159
- - [docs] Match Material UI repo comment for redirections @oliviertassinari
610
+ - [docs] Match Material UI repo comment for redirections @oliviertassinari
160
611
  - [docs] Non breaking spaces @oliviertassinari
161
612
  - [docs] Polish the Date Picker playground (#11869) @zanivan
162
613
  - [docs] Standardize WAI-ARIA references @oliviertassinari
@@ -167,9 +618,9 @@ Same changes as in `@mui/x-date-pickers@7.0.0-beta.5`.
167
618
  - [core] Remove grid folder from `getComponentInfo` RegExp (#12241) @flaviendelangle
168
619
  - [core] Remove `window.` reference for common globals @oliviertassinari
169
620
  - [core] Use runtime agnostic setTimeout type @oliviertassinari
170
- - [docs-infra] Fix Stack Overflow breaking space @oliviertassinari
621
+ - [docs-infra] Fix Stack Overflow breaking space @oliviertassinari
171
622
  - [docs-infra] Fix missing non breaking spaces @oliviertassinari
172
- - [github] Update `no-response` workflow (#12193) @MBilalShafi
623
+ - [infra] Update `no-response` workflow (#12193) @MBilalShafi
173
624
  - [infra] Fix missing permission reset @oliviertassinari
174
625
 
175
626
  ## 7.0.0-beta.4
@@ -180,13 +631,13 @@ We'd like to offer a big thanks to the 10 contributors who made this release pos
180
631
 
181
632
  - 🎁 Introduce a new DOM structure for the field components that provides a better accessibility
182
633
  - 🚀 Simplify Data Grid DOM structure for improved performance (#12013) @romgrk
183
- - 🕥 The support for IE11 has been removed (#12151) @flaviendelangle
634
+ - 🕥 The support for IE 11 has been removed (#12151) @flaviendelangle
184
635
  - 🐞 Bugfixes
185
636
  - 📚 Documentation improvements
186
637
 
187
638
  ### Breaking changes
188
639
 
189
- - The support for IE11 has been removed from all MUI X packages. The `legacy` bundle that used to support old browsers like IE11 is no longer included.
640
+ - The support for IE 11 has been removed from all MUI X packages. The `legacy` bundle that used to support old browsers like IE 11 is no longer included.
190
641
 
191
642
  ### Data Grid
192
643
 
@@ -228,7 +679,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-beta.4`.
228
679
  - The headless field hooks (e.g.: `useDateField`) now returns a new prop called `enableAccessibleFieldDOMStructure`.
229
680
  This property is utilized to determine whether the anticipated UI is constructed using an accessible DOM structure. Learn more about this new [accessible DOM structure](/x/react-date-pickers/fields/#accessible-dom-structure).
230
681
 
231
- When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
682
+ When building a custom UI, you are most-likely only supporting one DOM structure, so you can remove `enableAccessibleFieldDOMStructure` before it is passed to the DOM:
232
683
 
233
684
  ```diff
234
685
  function MyCustomTextField(props) {
@@ -291,12 +742,12 @@ These components are no longer exported from `@mui/x-charts`:
291
742
 
292
743
  ### Tree View / `@mui/x-tree-view@7.0.0-beta.4`
293
744
 
294
- - [TreeView] Stop using custom `findIndex` to support IE11 (#12129) @flaviendelangle
745
+ - [TreeView] Stop using custom `findIndex` to support IE 11 (#12129) @flaviendelangle
295
746
 
296
747
  ### Docs
297
748
 
298
749
  - [docs] Add recipe for hiding separator on non-resizable columns (#12134) @michelengelen
299
- - [docs] Add small improvements to the Gauge Chart page (#12076) @danilo-leal
750
+ - [docs] Add small improvements to the Gauge page (#12076) @danilo-leal
300
751
  - [docs] Add the 'point' scaleType to the axis documentation (#12179) @alexfauquette
301
752
  - [docs] Clarify Pickers 'Component composition' section (#12097) @LukasTy
302
753
  - [docs] Fix "Licensing" page link (#12156) @LukasTy
@@ -879,7 +1330,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.9`.
879
1330
 
880
1331
  - [charts] Do not propagate `innerRadius` and `outerRadius` to the DOM (#11689) @alexfauquette
881
1332
  - [charts] Fix default `stackOffset` for `LineChart` (#11647) @alexfauquette
882
- - [charts] Remove a TS ignore (#11688) @alexfauquette
1333
+ - [charts] Remove a TypeScript ignore (#11688) @alexfauquette
883
1334
 
884
1335
  ### Tree View
885
1336
 
@@ -1308,7 +1759,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.7`.
1308
1759
  - [core] Fix release changelog (#11496) @romgrk
1309
1760
  - [core] Fix use of ::before & ::after (#11515) @oliviertassinari
1310
1761
  - [core] Localize the issue template to MUI X (#11511) @oliviertassinari
1311
- - [core] Regen api files (#11542) @flaviendelangle
1762
+ - [core] Regenerate API files (#11542) @flaviendelangle
1312
1763
  - [core] Remove issue emoji @oliviertassinari
1313
1764
  - [core] Sync the release instructions with MUI Core @oliviertassinari
1314
1765
  - [core] Yaml format match most common convention @oliviertassinari
@@ -1351,7 +1802,7 @@ We'd like to offer a big thanks to the 6 contributors who made this release poss
1351
1802
 
1352
1803
  - The `filterModel` now supports `Date` objects as values for `date` and `dateTime` column types.
1353
1804
  The `filterModel` still accepts strings as values for `date` and `dateTime` column types,
1354
- but all updates to the `filterModel` coming from the UI (e.g. filter panel) will set the value as a `Date` object.
1805
+ but all updates to the `filterModel` coming from the UI (for example filter panel) will set the value as a `Date` object.
1355
1806
 
1356
1807
  #### `@mui/x-data-grid@7.0.0-alpha.6`
1357
1808
 
@@ -1562,7 +2013,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.5`, plus:
1562
2013
  ### Core
1563
2014
 
1564
2015
  - [core] Automate cherry-pick of PRs from `next` -> `master` (#11382) @MBilalShafi
1565
- - [github] Update `no-response` workflow (#11369) @MBilalShafi
2016
+ - [infra] Update `no-response` workflow (#11369) @MBilalShafi
1566
2017
  - [test] Fix flaky screenshots (#11388) @cherniavskii
1567
2018
 
1568
2019
  ## 7.0.0-alpha.4
@@ -1731,7 +2182,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.3`, plus:
1731
2182
  The Firefox browser currently does not support this behavior because the [getWeekInfo](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/Locale/getWeekInfo) API is not yet implemented.
1732
2183
 
1733
2184
  ```ts
1734
- import { Settings } from 'luxon';
2185
+ import { Settings, Info } from 'luxon';
1735
2186
 
1736
2187
  Settings.defaultWeekSettings = {
1737
2188
  firstDay: 1,
@@ -1800,7 +2251,7 @@ Same changes as in `@mui/x-date-pickers@7.0.0-alpha.3`.
1800
2251
 
1801
2252
  - [charts] Adjusted `defaultizeValueFormatter` util to accept an optional `series.valueFormatter` value (#11144) @michelengelen
1802
2253
  - [charts] Apply `labelStyle` and `tickLabelStyle` props on `<ChartsYAxis />` (#11180) @akamfoad
1803
- - [charts] Fix TS config (#11259) @alexfauquette
2254
+ - [charts] Fix TypeScript config (#11259) @alexfauquette
1804
2255
  - [charts] Fix error with empty dataset (#11063) @alexfauquette
1805
2256
  - [charts] Fix export strategy (#11235) @alexfauquette
1806
2257
  - [charts] Remove outdated prop-types (#11045) @alexfauquette
@@ -2521,6 +2972,96 @@ Here is an example of the renaming for the `<ChartsTooltip />` component.
2521
2972
  - [core] Update release instructions as per v7 configuration (#10962) @MBilalShafi
2522
2973
  - [license] Correctly throw errors (#10924) @oliviertassinari
2523
2974
 
2975
+ ## 6.19.9
2976
+
2977
+ _Apr 5, 2024_
2978
+
2979
+ We'd like to offer a big thanks to the 3 contributors who made this release possible. Here are some highlights ✨:
2980
+
2981
+ - 🐞 Bugfixes
2982
+ - 📚 Documentation improvements
2983
+
2984
+ ### Data Grid
2985
+
2986
+ #### `@mui/x-data-grid@6.19.9`
2987
+
2988
+ - [DataGrid] Remove legacy editing API event: `rowEditCommit` (#12087) @MBilalShafi
2989
+
2990
+ #### `@mui/x-data-grid-pro@6.19.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
2991
+
2992
+ Same changes as in `@mui/x-data-grid@6.19.9`.
2993
+
2994
+ #### `@mui/x-data-grid-premium@6.19.9` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
2995
+
2996
+ Same changes as in `@mui/x-data-grid-pro@6.19.9`.
2997
+
2998
+ ### Date Pickers
2999
+
3000
+ #### `@mui/x-date-pickers@6.19.9`
3001
+
3002
+ No changes.
3003
+
3004
+ #### `@mui/x-date-pickers-pro@6.19.9` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
3005
+
3006
+ - [DateRangePicker] Fix selection behavior with single input field when `readOnly` (#12605) @LukasTy
3007
+
3008
+ ### Docs
3009
+
3010
+ - [docs] Add a recipe for the `checkboxSelectionVisibleOnly` prop (#12667) @michelengelen
3011
+ - [docs] Explain the use of `_action: 'delete'` in `processRowUpdate` (#12673) @michelengelen
3012
+
3013
+ ### Core
3014
+
3015
+ - [core] Use Circle CI context (#12607) @cherniavskii
3016
+
3017
+ ## 6.19.8
3018
+
3019
+ _Mar 20, 2024_
3020
+
3021
+ We'd like to offer a big thanks to the 3 contributors who made this release possible.
3022
+
3023
+ ### Data Grid
3024
+
3025
+ #### `@mui/x-data-grid@6.19.8`
3026
+
3027
+ - [DataGrid] Fix `ElementType` usage (#12505) @cherniavskii
3028
+ - [DataGrid] Fix cell value formatting on copy (#12483) @sai6855
3029
+ - [DataGrid] Fix checkbox selection when filtering (#12485) @g1mishra
3030
+
3031
+ #### `@mui/x-data-grid-pro@6.19.8` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
3032
+
3033
+ Same changes as in `@mui/x-data-grid@6.19.8`.
3034
+
3035
+ #### `@mui/x-data-grid-premium@6.19.8` [![premium](https://mui.com/r/x-premium-svg)](https://mui.com/r/x-premium-svg-link 'Premium plan')
3036
+
3037
+ Same changes as in `@mui/x-data-grid-pro@6.19.8`, plus:
3038
+
3039
+ - [DataGridPremium] Add support for confirmation before clipboard paste (#12466) @cherniavskii
3040
+
3041
+ ### Docs
3042
+
3043
+ - [docs] Update links to v7 (#12495) @cherniavskii
3044
+
3045
+ ## 6.19.7
3046
+
3047
+ _Mar 14, 2024_
3048
+
3049
+ We'd like to offer a big thanks to @LukasTy who made this release possible.
3050
+
3051
+ ### Date Pickers
3052
+
3053
+ #### `@mui/x-date-pickers@6.19.7`
3054
+
3055
+ - [pickers] Keep the existing time when looking for closest enabled date (#12410) @LukasTy
3056
+
3057
+ #### `@mui/x-date-pickers-pro@6.19.7` [![pro](https://mui.com/r/x-pro-svg)](https://mui.com/r/x-pro-svg-link 'Pro plan')
3058
+
3059
+ Same changes as in `@mui/x-date-pickers@6.19.7`.
3060
+
3061
+ ### Docs
3062
+
3063
+ - [docs] Add Pickers custom start of week section (#12425) @LukasTy
3064
+
2524
3065
  ## 6.19.6
2525
3066
 
2526
3067
  _Mar 1, 2024_
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.0.0-beta.6
2
+ * @mui/x-license v7.1.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
package/modern/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.0.0-beta.6
2
+ * @mui/x-license v7.1.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -23,12 +23,12 @@ export function showExpiredAnnualGraceLicenseKeyError({
23
23
  licenseKey,
24
24
  expiryTimestamp
25
25
  }) {
26
- showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
26
+ showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
27
27
  }
28
28
  export function showExpiredAnnualLicenseKeyError({
29
29
  plan,
30
30
  licenseKey,
31
31
  expiryTimestamp
32
32
  }) {
33
- throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
33
+ throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
34
34
  }
package/node/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/x-license v7.0.0-beta.6
2
+ * @mui/x-license v7.1.1
3
3
  *
4
4
  * @license MUI X Commercial
5
5
  * This source code is licensed under the commercial license found in the
@@ -34,12 +34,12 @@ function showExpiredAnnualGraceLicenseKeyError({
34
34
  licenseKey,
35
35
  expiryTimestamp
36
36
  }) {
37
- showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
37
+ showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
38
38
  }
39
39
  function showExpiredAnnualLicenseKeyError({
40
40
  plan,
41
41
  licenseKey,
42
42
  expiryTimestamp
43
43
  }) {
44
- throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
44
+ throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
45
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/x-license",
3
- "version": "7.0.0-beta.6",
3
+ "version": "7.1.1",
4
4
  "description": "MUI X License verification",
5
5
  "author": "MUI Team",
6
6
  "main": "./node/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.24.0",
27
- "@mui/utils": "^5.15.9"
27
+ "@mui/utils": "^5.15.14"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "react": "^17.0.0 || ^18.0.0"
@@ -1,5 +1,5 @@
1
1
  import { LicenseStatus } from '../utils/licenseStatus';
2
- export type MuiCommercialPackageName = 'x-data-grid-pro' | 'x-data-grid-premium' | 'x-date-pickers-pro';
2
+ export type MuiCommercialPackageName = 'x-data-grid-pro' | 'x-data-grid-premium' | 'x-date-pickers-pro' | 'x-tree-view-pro';
3
3
  export declare const sharedLicenseStatuses: {
4
4
  [packageName in MuiCommercialPackageName]?: {
5
5
  key: string | undefined;
@@ -11,7 +11,7 @@ export function useLicenseVerifier(packageName, releaseInfo) {
11
11
  key: contextKey
12
12
  } = React.useContext(MuiLicenseInfoContext);
13
13
  return React.useMemo(() => {
14
- const licenseKey = contextKey != null ? contextKey : LicenseInfo.getLicenseKey();
14
+ const licenseKey = contextKey ?? LicenseInfo.getLicenseKey();
15
15
 
16
16
  // Cache the response to not trigger the error twice.
17
17
  if (sharedLicenseStatuses[packageName] && sharedLicenseStatuses[packageName].key === licenseKey) {
@@ -23,12 +23,12 @@ export function showExpiredAnnualGraceLicenseKeyError({
23
23
  licenseKey,
24
24
  expiryTimestamp
25
25
  }) {
26
- showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
26
+ showError(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, '']);
27
27
  }
28
28
  export function showExpiredAnnualLicenseKeyError({
29
29
  plan,
30
30
  licenseKey,
31
31
  expiryTimestamp
32
32
  }) {
33
- throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan}'s on non-production environments is expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
33
+ throw new Error(['MUI X: Expired license key.', '', `Your annual license key to use MUI X ${plan} in non-production environments has expired. If you are seeing this development console message, you might be close to breach the license terms by making direct or indirect changes to the frontend of an app that render a MUI X ${plan} component (more details in https://mui.com/r/x-license-annual).`, '', 'To solve the problem you can either:', '', '- Renew your license https://mui.com/r/x-get-license and use the new key', `- Stop making changes to code depending directly or indirectly on MUI X ${plan}'s APIs`, '', 'Note that your license is perpetual in production environments with any version released before your license term ends.', '', `- License key expiry timestamp: ${new Date(expiryTimestamp)}`, `- Installed license key: ${licenseKey}`, ''].join('\n'));
34
34
  }