@mui/x-tree-view-pro 8.0.0-alpha.1 β 8.0.0-alpha.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 +228 -7
- package/RichTreeViewPro/RichTreeViewPro.types.d.ts +2 -2
- package/index.js +1 -1
- package/internals/utils/releaseInfo.js +2 -2
- package/modern/index.js +1 -1
- package/modern/internals/utils/releaseInfo.js +2 -2
- package/node/index.js +1 -1
- package/node/internals/utils/releaseInfo.js +4 -3
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,133 @@
|
|
|
5
5
|
All notable changes to this project will be documented in this file.
|
|
6
6
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
7
7
|
|
|
8
|
+
## v8.0.0-alpha.2
|
|
9
|
+
|
|
10
|
+
_Nov 29, 2024_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 17 contributors who made this release possible. Here are some highlights β¨:
|
|
13
|
+
|
|
14
|
+
- π¨π½βπ» Improve resize performance on the Data Gird.
|
|
15
|
+
- `<ChartDataProvider />` and `<ChartsSurface />` components are now fully divided β [Learn more](https://next.mui.com/x/react-charts/composition/#overview).
|
|
16
|
+
- Users can create their own HTML components using chart data β [Learn more](https://next.mui.com/x/react-charts/components/#html-components).
|
|
17
|
+
- π Improve Spanish, Portuguese, Chinese locales on the Data Grid component.
|
|
18
|
+
- π Improve Dutch locale on the Date and Time Pickers components.
|
|
19
|
+
- π Bugfixes
|
|
20
|
+
- π Documentation improvements
|
|
21
|
+
|
|
22
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
23
|
+
@dloeda, @headironc, @jedesroches, @k-rajat19, @lauri865, @mathzdev, @nphmuller, @zinoroman.
|
|
24
|
+
Following are all team members who have contributed to this release:
|
|
25
|
+
@arminmeh, @alexfauquette, @cherniavskii, @flaviendelangle, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @oliviertassinari.
|
|
26
|
+
|
|
27
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
28
|
+
|
|
29
|
+
### Data Grid
|
|
30
|
+
|
|
31
|
+
#### Breaking changes
|
|
32
|
+
|
|
33
|
+
- The `<GridOverlays />` component is not exported anymore.
|
|
34
|
+
- The `indeterminateCheckboxAction` prop has been removed. Clicking on an indeterminate checkbox "selects" the unselected descendants.
|
|
35
|
+
- The `apiRef.current.resize()` method was removed.
|
|
36
|
+
- The default value of the `rowSelectionPropagation` prop has been changed to `{ parents: true, descendants: true }` which means that the selection will be propagated to the parents and descendants by default.
|
|
37
|
+
To revert to the previous behavior, pass `rowSelectionPropagation` as `{ parents: false, descendants: false }`.
|
|
38
|
+
- If `estimatedRowCount` is used, the text provided to the [Table Pagination](/material-ui/api/table-pagination/) component from the MaterialΒ UI library is updated and requires additional translations. Check the example at the end of [Index-based pagination section](/x/react-data-grid/pagination/#index-based-pagination).
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid@v8.0.0-alpha.2`
|
|
41
|
+
|
|
42
|
+
- [DataGrid] Change test dom check from `/jsdom/` to `/jsdom|HappyDOM/`. (#15634) @jedesroches
|
|
43
|
+
- [DataGrid] Clear timers on unmount (#15620) @cherniavskii
|
|
44
|
+
- [DataGrid] Fix order of spread props on toolbar items (#15556) @KenanYusuf
|
|
45
|
+
- [DataGrid] Improve resize performance (#15549) @lauri865
|
|
46
|
+
- [DataGrid] Make estimation label more accurate (#15632) @arminmeh
|
|
47
|
+
- [DataGrid] Remove `<GridOverlays />` export (#15573) @k-rajat19
|
|
48
|
+
- [DataGrid] Remove `indeterminateCheckboxAction` prop (#15522) @MBilalShafi
|
|
49
|
+
- [DataGrid] Remove try/catch from `<GridCell />` due to performance issues (#15616) @lauri865
|
|
50
|
+
- [DataGrid] Remove unused `resize` method (#15599) @cherniavskii
|
|
51
|
+
- [DataGrid] Support column virtualization with dynamic row height (#15541) @cherniavskii
|
|
52
|
+
- [DataGrid] Update the default value for `rowSelectionPropagation` (#15523) @MBilalShafi
|
|
53
|
+
- [l10n] Improve Chinese (zh-CN) locale (#15570) @headironc
|
|
54
|
+
- [l10n] Improve Portuguese (pt-PT) locale (#15561) @mathzdev
|
|
55
|
+
|
|
56
|
+
#### `@mui/x-data-grid-pro@v8.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
57
|
+
|
|
58
|
+
Same changes as in `@mui/x-data-grid@v8.0.0-alpha.2`, plus:
|
|
59
|
+
|
|
60
|
+
- [DataGridPro] Fix header filtering with `boolean` column type (#15528) @k-rajat19
|
|
61
|
+
- [DataGridPro] Fix pagination state not updating if the data source response has no rows (#15622) @zinoroman
|
|
62
|
+
- [DataGridPro] Fix selection propagation issue on initialization (#15461) @MBilalShafi
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-data-grid-premium@v8.0.0-alpha.2` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.2`.
|
|
67
|
+
|
|
68
|
+
### Date and Time Pickers
|
|
69
|
+
|
|
70
|
+
#### Breaking changes
|
|
71
|
+
|
|
72
|
+
- The props received by the `layout` and the `toolbar` slots have been reworked β [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#do-not-pass-the-section-type-as-a-generic).
|
|
73
|
+
|
|
74
|
+
- The `TSection` generic of the `FieldRef` type has been replaced with the `TValue` generic β [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
|
|
75
|
+
|
|
76
|
+
#### `@mui/x-date-pickers@v8.0.0-alpha.2`
|
|
77
|
+
|
|
78
|
+
- [l10n] Improve Dutch (nl-NL) locale (#15564) @nphmuller
|
|
79
|
+
- [pickers] Fix DST issue with `America/Asuncion` timezone and `AdapterMoment` (#15552) @flaviendelangle
|
|
80
|
+
- [pickers] Improve validation internals (#15419) @flaviendelangle
|
|
81
|
+
- [pickers] Remove `TSection` and strictly type `TValue` (#15434) @flaviendelangle
|
|
82
|
+
- [pickers] Remove `orientation`, `isLandscape`, `isRtl`, `wrapperVariant` and `disabled` props from `PickersLayout` (#15494) @flaviendelangle
|
|
83
|
+
- [pickers] Use the new `ownerState` in `<PickersCalendarHeader />`, `<PickersArrowSwitcher />` and `<DayCalendarSkeleton />` (#15499) @flaviendelangle
|
|
84
|
+
- [pickers] Use the new `ownerState` object in all the field components (#15510) @flaviendelangle
|
|
85
|
+
|
|
86
|
+
#### `@mui/x-date-pickers-pro@v8.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
87
|
+
|
|
88
|
+
Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.2`.
|
|
89
|
+
|
|
90
|
+
### Charts
|
|
91
|
+
|
|
92
|
+
#### Breaking changes
|
|
93
|
+
|
|
94
|
+
- Charts Container don't have a `<div />` wrapping them anymore. All props are now passed to the root `<svg />` instead of the `<div />`.
|
|
95
|
+
|
|
96
|
+
#### `@mui/x-charts@v8.0.0-alpha.2`
|
|
97
|
+
|
|
98
|
+
- [charts] Allow the creation of custom HTML components using charts data (#15511) @JCQuintas
|
|
99
|
+
- [charts] Flatten imports from `@mui/utils` and `@mui/system` (#15603) @alexfauquette
|
|
100
|
+
- [charts] Introduce the plugin system (#15513) @alexfauquette
|
|
101
|
+
- [charts] Prevent invalid `releasePointerCapture` (#15602) @alexfauquette
|
|
102
|
+
- [charts] Fix custom Tooltip demos (#15631) @alexfauquette
|
|
103
|
+
|
|
104
|
+
#### `@mui/x-charts-pro@v8.0.0-alpha.2` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
105
|
+
|
|
106
|
+
Same changes as in `@mui/x-charts@v8.0.0-alpha.2`.
|
|
107
|
+
|
|
108
|
+
### Tree View
|
|
109
|
+
|
|
110
|
+
#### `@mui/x-tree-view@v8.0.0-alpha.2`
|
|
111
|
+
|
|
112
|
+
- [TreeView] Flatten import from `@mui/utils` and `@mui/system` (#15604) @alexfauquette
|
|
113
|
+
|
|
114
|
+
#### `@mui/x-tree-view-pro@v8.0.0-alpha.2`
|
|
115
|
+
|
|
116
|
+
Same changes as in `@mui/x-tree-view@v8.0.0-alpha.2`.
|
|
117
|
+
|
|
118
|
+
### Docs
|
|
119
|
+
|
|
120
|
+
- [docs] Fix 404 links (#15575) @oliviertassinari
|
|
121
|
+
- [docs] Fix bash comments (#15571) @oliviertassinari
|
|
122
|
+
- [docs] Fix Pickers theme augmentation example (#15672) @LukasTy
|
|
123
|
+
- [docs] Replace use of "e.g." with "for example" (#15572) @oliviertassinari
|
|
124
|
+
- [docs] Update stale `new` and `preview` tags in v8 docs (#15547) @JCQuintas
|
|
125
|
+
- [docs] Fix layout shift image on Tree View docs (#15626) @oliviertassinari
|
|
126
|
+
- [docs] Fix `anchorEl` API page for charts (#15625) @oliviertassinari
|
|
127
|
+
- [docs] Add documentation for the list view feature (#15344) @KenanYusuf
|
|
128
|
+
|
|
129
|
+
### Core
|
|
130
|
+
|
|
131
|
+
- [core] Follow `()` function convention for docs @oliviertassinari
|
|
132
|
+
- [core] Remove dead translation key (#15566) @oliviertassinari
|
|
133
|
+
- [code-infra] Auto-merge `@types/node` bumps (#15591) @LukasTy
|
|
134
|
+
|
|
8
135
|
## v8.0.0-alpha.1
|
|
9
136
|
|
|
10
137
|
_Nov 22, 2024_
|
|
@@ -17,8 +144,6 @@ We'd like to offer a big thanks to the 16 contributors who made this release pos
|
|
|
17
144
|
- π Bugfixes
|
|
18
145
|
- π Documentation improvements
|
|
19
146
|
|
|
20
|
-
### Breaking change
|
|
21
|
-
|
|
22
147
|
Special thanks go out to the community contributors who have helped make this release possible:
|
|
23
148
|
@CarlosLopezLg, @headironc, @hendrikpeilke, @k-rajat19, @lhilgert9, @viktormelin.
|
|
24
149
|
Following are all team members who have contributed to this release:
|
|
@@ -56,7 +181,7 @@ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.1`, plus:
|
|
|
56
181
|
#### Breaking change
|
|
57
182
|
|
|
58
183
|
- The `FieldValueType` type has been renamed to `PickerValueType` β [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#renamed-variables).
|
|
59
|
-
- The `toolbar` and `layout` slots no longer receive the
|
|
184
|
+
- The `toolbar` and `layout` slots no longer receive the `disabled` and `readOnly` props β [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slots-breaking-changes).
|
|
60
185
|
|
|
61
186
|
#### `@mui/x-date-pickers@v8.0.0-alpha.1`
|
|
62
187
|
|
|
@@ -64,9 +189,9 @@ Same changes as in `@mui/x-data-grid-pro@v8.0.0-alpha.1`, plus:
|
|
|
64
189
|
- [pickers] React 19 support (#15342) @arminmeh
|
|
65
190
|
- [pickers] Add new properties to `PickerOwnerState` and `PickerContextValue` (#15415) @flaviendelangle
|
|
66
191
|
- [pickers] Always use `props.value` when it changes (#15490) @flaviendelangle
|
|
67
|
-
- [pickers] Ensure internal value timezone is updated
|
|
192
|
+
- [pickers] Ensure internal value timezone is updated (#15435) @LukasTy
|
|
68
193
|
- [pickers] Fix unused code in `<PickersToolbar />` component (#15515) @LukasTy
|
|
69
|
-
- [pickers] Remove
|
|
194
|
+
- [pickers] Remove `FieldValueType` in favor of `PickerValueType` (#15259) @arthurbalduini
|
|
70
195
|
- [pickers] Remove the form props from the layout and the toolbar slots (#15492) @flaviendelangle
|
|
71
196
|
- [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15532) @flaviendelangle
|
|
72
197
|
- [TimePicker] Prevent mouse events after `touchend` event (#15346) @arthurbalduini
|
|
@@ -82,12 +207,14 @@ Same changes as in `@mui/x-date-pickers@v8.0.0-alpha.1`, plus:
|
|
|
82
207
|
#### Breaking change
|
|
83
208
|
|
|
84
209
|
- The DX of the Tooltip customization has been refactored
|
|
210
|
+
|
|
85
211
|
- The `tooltip` prop has been removed in favor of `slotProps.tooltip` for consistency.
|
|
86
|
-
- The `popper`, `axisContent`,
|
|
212
|
+
- The `popper`, `axisContent`, and `itemContent` slots have been removed in favor of the `tooltip` slot which overrides the entire tooltip.
|
|
87
213
|
- To override the tooltip content, use the `useItemTooltip` or `useAxisTooltip` hook to get the data, and wrap your component in `ChartsTooltipContainer` to follow the pointer position.
|
|
88
214
|
- To override the tooltip placement, use the `ChartsItemTooltipContent` or `ChartsItemTooltipContent` to get default data and place them in your custom tooltip.
|
|
89
215
|
|
|
90
216
|
- The library now uses the SVG `filter` attribute instead of `d3-color` for color manipulation.
|
|
217
|
+
|
|
91
218
|
- This modification impacts the `LinePlot`, `AreaPlot`, and `BarPlot` components.
|
|
92
219
|
If you've customized the `fill` of those elements, you might need to override it by using the CSS `filter`.
|
|
93
220
|
- The `theme.styleOverride` is removed for `MuiLineElement`, `MuiAreaElement`, and `MuiBarElement` to improve performance.
|
|
@@ -338,6 +465,100 @@ Same changes as in `@mui/x-charts@8.0.0-alpha.0`.
|
|
|
338
465
|
- [release] v8 preparation (#15054) @michelengelen
|
|
339
466
|
- [test] Fix advanced list view regression test snapshot (#15260) @KenanYusuf
|
|
340
467
|
|
|
468
|
+
## 7.23.0
|
|
469
|
+
|
|
470
|
+
_Nov 29, 2024_
|
|
471
|
+
|
|
472
|
+
We'd like to offer a big thanks to the 10 contributors who made this release possible. Here are some highlights β¨:
|
|
473
|
+
|
|
474
|
+
- β¨ Support for a new display mode on the Data Grid with the [List View feature](https://mui.com/x/react-data-grid/list-view/), offering an extremely flexible way to render datasets and enabling developers to adapt how data is displayed across different screen sizes.
|
|
475
|
+
|
|
476
|
+
https://github.com/user-attachments/assets/61286adc-03fc-4323-9739-8ca726fcc16c
|
|
477
|
+
|
|
478
|
+
- βοΈ React 19 support
|
|
479
|
+
- π Documentation improvements
|
|
480
|
+
- π Improve Spanish, Portuguese, Chinese locales on the Data Grid component.
|
|
481
|
+
- π Improve Dutch locale on the Date and Time Picker components.
|
|
482
|
+
- π Bugfixes
|
|
483
|
+
|
|
484
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
485
|
+
@dloeda, @headironc, @mathzdev, @nphmuller, @lhilgert9, @lauri865.
|
|
486
|
+
Following are all team members who have contributed to this release:
|
|
487
|
+
@oliviertassinari, @arminmeh, @KenanYusuf, @flaviendelangle, @MBilalShafi.
|
|
488
|
+
|
|
489
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
490
|
+
|
|
491
|
+
### Data Grid
|
|
492
|
+
|
|
493
|
+
#### `@mui/x-data-grid@v7.23.0`
|
|
494
|
+
|
|
495
|
+
- [DataGrid] React 19 support (#15557) @arminmeh
|
|
496
|
+
- [DataGrid] Change test dom check from `/jsdom/` to `/jsdom|HappyDOM/`. (#15642) @jedesroches
|
|
497
|
+
- [DataGrid] Fix last separator not being hidden when grid is scrollable (#15551) @KenanYusuf
|
|
498
|
+
- [DataGrid] Fix order of spread props on toolbar items (#15556) @KenanYusuf
|
|
499
|
+
- [DataGrid] Fix row-spanning in combination with column-pinning (#15460) @lhilgert9
|
|
500
|
+
- [DataGrid] Improve resize performance (#15592) @lauri865
|
|
501
|
+
- [DataGrid] Support column virtualization with dynamic row height (#15567) @cherniavskii
|
|
502
|
+
- [DataGrid] Improve `GridCell` performance (#15621) @lauri865
|
|
503
|
+
- [l10n] Improve Chinese (zh-CN) locale (#15570) @headironc
|
|
504
|
+
- [l10n] Improve Portuguese (pt-PT) locale (#15561) @mathzdev
|
|
505
|
+
|
|
506
|
+
#### `@mui/x-data-grid-pro@v7.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
507
|
+
|
|
508
|
+
Same changes as in `@mui/x-data-grid@v7.23.0`, plus:
|
|
509
|
+
|
|
510
|
+
- [DataGridPro] Fix header filtering with `boolean` column type (#15640) @k-rajat19
|
|
511
|
+
- [DataGridPro] Fix pagination state not updating if the data source response has no rows (#15643) @zinoroman
|
|
512
|
+
- [DataGridPro] Fix selection propagation issue on initialization (#15593) @MBilalShafi
|
|
513
|
+
|
|
514
|
+
#### `@mui/x-data-grid-premium@v7.23.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
515
|
+
|
|
516
|
+
Same changes as in `@mui/x-data-grid-pro@v7.23.0`.
|
|
517
|
+
|
|
518
|
+
### Date and Time Pickers
|
|
519
|
+
|
|
520
|
+
#### `@mui/x-date-pickers@v7.23.0`
|
|
521
|
+
|
|
522
|
+
- [pickers] React 19 support (#15557) @arminmeh
|
|
523
|
+
- [pickers] Fix DST issue with `America/Asuncion` timezone and `AdapterMoment` (#15653) @flaviendelangle
|
|
524
|
+
- [pickers] Use `props.referenceDate` timezone when `props.value` and `props.defaultValue` are not defined (#15544) @flaviendelangle
|
|
525
|
+
- [l10n] Improve Dutch (nl-NL) locale (#15564) @nphmuller
|
|
526
|
+
|
|
527
|
+
#### `@mui/x-date-pickers-pro@v7.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
528
|
+
|
|
529
|
+
Same changes as in `@mui/x-date-pickers@v7.23.0`.
|
|
530
|
+
|
|
531
|
+
### Charts
|
|
532
|
+
|
|
533
|
+
#### `@mui/x-charts@v7.23.0`
|
|
534
|
+
|
|
535
|
+
- [charts] React 19 support (#15557) @arminmeh
|
|
536
|
+
- [charts] Prevent invalid `releasePointerCapture` (#15609) @alexfauquette
|
|
537
|
+
|
|
538
|
+
#### `@mui/x-charts-pro@v7.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
539
|
+
|
|
540
|
+
Same changes as in `@mui/x-charts@v7.23.0`.
|
|
541
|
+
|
|
542
|
+
### Tree View
|
|
543
|
+
|
|
544
|
+
#### `@mui/x-tree-view@v7.23.0`
|
|
545
|
+
|
|
546
|
+
- [TreeView] React 19 support (#15557) @arminmeh
|
|
547
|
+
|
|
548
|
+
#### `@mui/x-tree-view-pro@7.23.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
549
|
+
|
|
550
|
+
Same changes as in `@mui/x-tree-view@7.23.0`.
|
|
551
|
+
|
|
552
|
+
### Docs
|
|
553
|
+
|
|
554
|
+
- [docs] Add data caching to lazy loaded detail panel demo (#15555) @cherniavskii
|
|
555
|
+
- [docs] Remove selectors section from list view docs (#15639) @KenanYusuf
|
|
556
|
+
- [docs] Add documentation for the list view feature (#15344) @KenanYusuf
|
|
557
|
+
|
|
558
|
+
### Core
|
|
559
|
+
|
|
560
|
+
- [core] Update @mui/monorepo (#15574) @oliviertassinari
|
|
561
|
+
|
|
341
562
|
## v7.22.3
|
|
342
563
|
|
|
343
564
|
_Nov 21, 2024_
|
|
@@ -4803,7 +5024,7 @@ Same changes as in `@mui/x-data-grid-pro@7.0.0-alpha.5`.
|
|
|
4803
5024
|
|
|
4804
5025
|
The `useClearableField` hook API has been simplified to now take a `props` parameter instead of a `fieldProps`, `InputProps`, `clearable`, `onClear`, `slots` and `slotProps` parameters.
|
|
4805
5026
|
|
|
4806
|
-
You should now be able to directly pass the returned value from your field hook (
|
|
5027
|
+
You should now be able to directly pass the returned value from your field hook (for example `useDateField`) to `useClearableField`
|
|
4807
5028
|
|
|
4808
5029
|
```diff
|
|
4809
5030
|
const fieldResponse = useDateField(props);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { Theme } from '@mui/material/styles';
|
|
3
|
-
import { SxProps } from '@mui/system';
|
|
4
|
-
import { SlotComponentProps } from '@mui/utils';
|
|
3
|
+
import { SxProps } from '@mui/system/styleFunctionSx';
|
|
4
|
+
import { SlotComponentProps } from '@mui/utils/types';
|
|
5
5
|
import { TreeViewPublicAPI, TreeViewExperimentalFeatures, RichTreeViewItemsSlots, RichTreeViewItemsSlotProps } from '@mui/x-tree-view/internals';
|
|
6
6
|
import { RichTreeViewProClasses } from './richTreeViewProClasses';
|
|
7
7
|
import { RichTreeViewProPluginParameters, RichTreeViewProPluginSlotProps, RichTreeViewProPluginSlots, RichTreeViewProPluginSignatures } from './RichTreeViewPro.plugins';
|
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ponyfillGlobal from '@mui/utils/ponyfillGlobal';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczMjgzNDgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/modern/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import ponyfillGlobal from '@mui/utils/ponyfillGlobal';
|
|
2
2
|
export const getReleaseInfo = () => {
|
|
3
|
-
const releaseInfo = "
|
|
3
|
+
const releaseInfo = "MTczMjgzNDgwMDAwMA==";
|
|
4
4
|
if (process.env.NODE_ENV !== 'production') {
|
|
5
5
|
// A simple hack to set the value in the test environment (has no build step).
|
|
6
6
|
// eslint-disable-next-line no-useless-concat
|
package/node/index.js
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
3
4
|
Object.defineProperty(exports, "__esModule", {
|
|
4
5
|
value: true
|
|
5
6
|
});
|
|
6
7
|
exports.getReleaseInfo = void 0;
|
|
7
|
-
var
|
|
8
|
+
var _ponyfillGlobal = _interopRequireDefault(require("@mui/utils/ponyfillGlobal"));
|
|
8
9
|
const getReleaseInfo = () => {
|
|
9
|
-
const releaseInfo = "
|
|
10
|
+
const releaseInfo = "MTczMjgzNDgwMDAwMA==";
|
|
10
11
|
if (process.env.NODE_ENV !== 'production') {
|
|
11
12
|
// A simple hack to set the value in the test environment (has no build step).
|
|
12
13
|
// eslint-disable-next-line no-useless-concat
|
|
13
14
|
if (releaseInfo === '__RELEASE' + '_INFO__') {
|
|
14
15
|
// eslint-disable-next-line no-underscore-dangle
|
|
15
|
-
return
|
|
16
|
+
return _ponyfillGlobal.default.__MUI_RELEASE_INFO__;
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
return releaseInfo;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view-pro",
|
|
3
|
-
"version": "8.0.0-alpha.
|
|
3
|
+
"version": "8.0.0-alpha.2",
|
|
4
4
|
"description": "The Pro plan edition of the Tree View components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"react-transition-group": "^4.4.5",
|
|
42
42
|
"reselect": "^5.1.1",
|
|
43
43
|
"use-sync-external-store": "^1.2.2",
|
|
44
|
-
"@mui/x-
|
|
45
|
-
"@mui/x-
|
|
46
|
-
"@mui/x-
|
|
44
|
+
"@mui/x-license": "8.0.0-alpha.2",
|
|
45
|
+
"@mui/x-tree-view": "8.0.0-alpha.2",
|
|
46
|
+
"@mui/x-internals": "8.0.0-alpha.2"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
49
|
"@emotion/react": "^11.9.0",
|