@mui/x-license 8.0.0-alpha.10 → 8.0.0-alpha.12
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 +267 -2
- package/Unstable_LicenseInfoProvider/LicenseInfoProvider.d.ts +7 -4
- package/Unstable_LicenseInfoProvider/LicenseInfoProvider.js +13 -5
- package/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.d.ts +2 -2
- package/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.js +8 -2
- package/Unstable_LicenseInfoProvider/index.d.ts +2 -2
- package/Unstable_LicenseInfoProvider/index.js +12 -1
- package/Watermark/Watermark.d.ts +4 -4
- package/Watermark/Watermark.js +23 -17
- package/Watermark/index.d.ts +1 -1
- package/Watermark/index.js +16 -1
- package/encoding/base64.d.ts +1 -1
- package/encoding/base64.js +11 -3
- package/encoding/md5.d.ts +1 -1
- package/encoding/md5.js +7 -1
- package/esm/Unstable_LicenseInfoProvider/LicenseInfoProvider.d.ts +16 -0
- package/esm/Unstable_LicenseInfoProvider/LicenseInfoProvider.js +19 -0
- package/esm/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.d.ts +4 -0
- package/esm/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.js +10 -0
- package/esm/Unstable_LicenseInfoProvider/index.d.ts +2 -0
- package/esm/Unstable_LicenseInfoProvider/index.js +1 -0
- package/esm/Watermark/Watermark.d.ts +9 -0
- package/esm/Watermark/Watermark.js +51 -0
- package/esm/Watermark/index.d.ts +1 -0
- package/esm/Watermark/index.js +1 -0
- package/esm/encoding/base64.d.ts +2 -0
- package/{node → esm}/encoding/base64.js +3 -11
- package/esm/encoding/md5.d.ts +1 -0
- package/{node → esm}/encoding/md5.js +1 -7
- package/esm/generateLicense/generateLicense.d.ts +10 -0
- package/esm/generateLicense/generateLicense.js +19 -0
- package/esm/generateLicense/index.d.ts +1 -0
- package/esm/generateLicense/index.js +1 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.js +13 -0
- package/esm/package.json +1 -0
- package/esm/useLicenseVerifier/index.d.ts +1 -0
- package/esm/useLicenseVerifier/index.js +1 -0
- package/esm/useLicenseVerifier/useLicenseVerifier.d.ts +11 -0
- package/esm/useLicenseVerifier/useLicenseVerifier.js +61 -0
- package/esm/utils/commercialPackages.d.ts +1 -0
- package/esm/utils/commercialPackages.js +1 -0
- package/esm/utils/index.d.ts +6 -0
- package/esm/utils/index.js +4 -0
- package/esm/utils/licenseErrorMessageUtils.d.ts +33 -0
- package/{node → esm}/utils/licenseErrorMessageUtils.js +7 -19
- package/esm/utils/licenseInfo.d.ts +11 -0
- package/{node → esm}/utils/licenseInfo.js +5 -11
- package/esm/utils/licenseModel.d.ts +2 -0
- package/{node → esm}/utils/licenseModel.js +1 -7
- package/esm/utils/licenseStatus.d.ts +11 -0
- package/{node → esm}/utils/licenseStatus.js +1 -7
- package/esm/utils/plan.d.ts +4 -0
- package/esm/utils/plan.js +2 -0
- package/esm/verifyLicense/index.d.ts +1 -0
- package/esm/verifyLicense/index.js +1 -0
- package/esm/verifyLicense/verifyLicense.d.ts +15 -0
- package/{node → esm}/verifyLicense/verifyLicense.js +25 -32
- package/generateLicense/generateLicense.d.ts +8 -8
- package/generateLicense/generateLicense.js +14 -8
- package/generateLicense/index.d.ts +1 -1
- package/generateLicense/index.js +16 -1
- package/index.d.ts +6 -6
- package/index.js +72 -7
- package/modern/Unstable_LicenseInfoProvider/LicenseInfoProvider.d.ts +16 -0
- package/modern/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.d.ts +4 -0
- package/modern/Unstable_LicenseInfoProvider/index.d.ts +2 -0
- package/modern/Watermark/Watermark.d.ts +9 -0
- package/modern/Watermark/index.d.ts +1 -0
- package/modern/encoding/base64.d.ts +2 -0
- package/modern/encoding/md5.d.ts +1 -0
- package/modern/generateLicense/generateLicense.d.ts +10 -0
- package/modern/generateLicense/index.d.ts +1 -0
- package/modern/index.d.ts +6 -0
- package/modern/index.js +1 -1
- package/modern/package.json +1 -0
- package/modern/useLicenseVerifier/index.d.ts +1 -0
- package/modern/useLicenseVerifier/useLicenseVerifier.d.ts +11 -0
- package/modern/utils/commercialPackages.d.ts +1 -0
- package/modern/utils/index.d.ts +6 -0
- package/modern/utils/licenseErrorMessageUtils.d.ts +33 -0
- package/modern/utils/licenseInfo.d.ts +11 -0
- package/modern/utils/licenseModel.d.ts +2 -0
- package/modern/utils/licenseStatus.d.ts +11 -0
- package/modern/utils/plan.d.ts +4 -0
- package/modern/verifyLicense/index.d.ts +1 -0
- package/modern/verifyLicense/verifyLicense.d.ts +15 -0
- package/package.json +36 -6
- package/tsconfig.build.tsbuildinfo +1 -0
- package/useLicenseVerifier/index.d.ts +1 -1
- package/useLicenseVerifier/index.js +12 -1
- package/useLicenseVerifier/useLicenseVerifier.d.ts +10 -12
- package/useLicenseVerifier/useLicenseVerifier.js +36 -27
- package/utils/commercialPackages.d.ts +1 -1
- package/utils/commercialPackages.js +5 -1
- package/utils/index.d.ts +4 -4
- package/utils/index.js +38 -4
- package/utils/licenseErrorMessageUtils.d.ts +27 -14
- package/utils/licenseErrorMessageUtils.js +19 -7
- package/utils/licenseInfo.d.ts +5 -5
- package/utils/licenseInfo.js +11 -5
- package/utils/licenseModel.d.ts +1 -1
- package/utils/licenseModel.js +7 -1
- package/utils/licenseStatus.d.ts +9 -9
- package/utils/licenseStatus.js +7 -1
- package/utils/plan.d.ts +1 -1
- package/utils/plan.js +8 -2
- package/verifyLicense/index.d.ts +1 -1
- package/verifyLicense/index.js +16 -1
- package/verifyLicense/verifyLicense.d.ts +13 -9
- package/verifyLicense/verifyLicense.js +32 -25
- package/Unstable_LicenseInfoProvider/package.json +0 -6
- package/Watermark/package.json +0 -6
- package/generateLicense/package.json +0 -6
- package/node/Unstable_LicenseInfoProvider/LicenseInfoProvider.js +0 -27
- package/node/Unstable_LicenseInfoProvider/MuiLicenseInfoContext.js +0 -16
- package/node/Unstable_LicenseInfoProvider/index.js +0 -12
- package/node/Watermark/Watermark.js +0 -57
- package/node/Watermark/index.js +0 -16
- package/node/generateLicense/generateLicense.js +0 -25
- package/node/generateLicense/index.js +0 -16
- package/node/index.js +0 -78
- package/node/useLicenseVerifier/index.js +0 -12
- package/node/useLicenseVerifier/useLicenseVerifier.js +0 -70
- package/node/utils/commercialPackages.js +0 -5
- package/node/utils/index.js +0 -38
- package/node/utils/plan.js +0 -8
- package/node/verifyLicense/index.js +0 -16
- package/useLicenseVerifier/package.json +0 -6
- package/utils/package.json +0 -6
- package/verifyLicense/package.json +0 -6
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,270 @@
|
|
|
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
|
+
## 8.0.0-alpha.12
|
|
9
|
+
|
|
10
|
+
_Feb 17, 2025_
|
|
11
|
+
|
|
12
|
+
We'd like to offer a big thanks to the 16 contributors who made this release possible. Here are some highlights ✨:
|
|
13
|
+
|
|
14
|
+
- 📦 Data Grid [data source](https://next.mui.com/x/react-data-grid/server-side-data/) is now available in the Community plan
|
|
15
|
+
- ⚡ Improve Data Grid Excel export serialization performance
|
|
16
|
+
- 🚫 Add ["No columns" overlay](https://next.mui.com/x/react-data-grid/overlays/#no-columns-overlay) to Data Grid
|
|
17
|
+
- 🌍 Improve Polish (pl-PL) and Ukrainian (uk-UA) locales on the Data Grid
|
|
18
|
+
- 🐞 Bugfixes
|
|
19
|
+
|
|
20
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
21
|
+
@Neonin, @nusr, and @pawelkula.
|
|
22
|
+
Following are all team members who have contributed to this release:
|
|
23
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @cherniavskii, @Janpot, @JCQuintas, @KenanYusuf, @LukasTy, @MBilalShafi, @michelengelen, @oliviertassinari, @romgrk, and @mapache-salvaje.
|
|
24
|
+
|
|
25
|
+
### Data Grid
|
|
26
|
+
|
|
27
|
+
#### Breaking changes
|
|
28
|
+
|
|
29
|
+
- The `main--hasSkeletonLoadingOverlay` class has been renamed to `main--hiddenContent` and is now also applied when the "No columns" overlay is displayed.
|
|
30
|
+
|
|
31
|
+
- The `apiRef.current.forceUpdate()` method was removed. Use selectors combined with `useGridSelector()` hook to react to changes in the state.
|
|
32
|
+
|
|
33
|
+
- The selectors signature has been updated. They are only accepting `apiRef` as a first argument and `instanceId` is no longer the third argument.
|
|
34
|
+
|
|
35
|
+
```diff
|
|
36
|
+
-mySelector(state, arguments, instanceId)
|
|
37
|
+
+mySelector(apiRef, arguments)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
#### `@mui/x-data-grid@8.0.0-alpha.12`
|
|
41
|
+
|
|
42
|
+
- [DataGrid] Add "No columns" overlay (#16543) @KenanYusuf
|
|
43
|
+
- [DataGrid] All selectors accept only `apiRef` as first argument (#16198) @arminmeh
|
|
44
|
+
- [DataGrid] Avoid `undefined` value for pagination `rowCount` (#16488) @cherniavskii
|
|
45
|
+
- [DataGrid] Create the base Checkbox slot (#16445) @romgrk
|
|
46
|
+
- [DataGrid] Create the base Input slot (#16443) @romgrk
|
|
47
|
+
- [DataGrid] Create the base MenuList slot (#16481) @romgrk
|
|
48
|
+
- [DataGrid] Create the base Popper slot (#16362) @romgrk
|
|
49
|
+
- [DataGrid] Create the base Select slot (#16394) @romgrk
|
|
50
|
+
- [DataGrid] Create the base Switch slot (#16527) @romgrk
|
|
51
|
+
- [DataGrid] Extract `getRowId()` API method as a selector (#16487) @MBilalShafi
|
|
52
|
+
- [DataGrid] Fix the `onClock` prop of the base Select slot (#16557) @romgrk
|
|
53
|
+
- [DataGrid] Go to the first page when sorting/filtering is applied (#16447) @arminmeh
|
|
54
|
+
- [DataGrid] Make base data source available in the Community plan (#16359) @MBilalShafi
|
|
55
|
+
- [DataGrid] Remove `apiRef.current.forceUpdate()` method (#16560) @MBilalShafi
|
|
56
|
+
- [DataGrid] Fix the unexpected behavior of the pagination when using `-1` for "All" rows per page (#16485) @nusr
|
|
57
|
+
- [l10n] Improve Polish (pl-PL) locale (#16123) @pawelkula
|
|
58
|
+
- [l10n] Improve Ukrainian (uk-UA) locale (#16463) @Neonin
|
|
59
|
+
|
|
60
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
61
|
+
|
|
62
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.12`.
|
|
63
|
+
|
|
64
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.12` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
65
|
+
|
|
66
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.12`, plus:
|
|
67
|
+
|
|
68
|
+
- [DataGridPremium] Fix Excel export Web Worker demo not working in dev mode (#16517) @cherniavskii
|
|
69
|
+
- [DataGridPremium] Fix loading issue + add skeleton overlay (#16282) @MBilalShafi
|
|
70
|
+
- [DataGridPremium] Improve Excel export serialization performance (#16526) @cherniavskii
|
|
71
|
+
- [DataGridPremium] Namespace Excel export worker (#16020) @oliviertassinari
|
|
72
|
+
|
|
73
|
+
### Date and Time Pickers
|
|
74
|
+
|
|
75
|
+
#### Breaking changes
|
|
76
|
+
|
|
77
|
+
- The `aria-label` on the `<Clock />` component and Time Picker opening button has been fixed to rely on the set `ampm` property instead of defaulting to the user's locale.
|
|
78
|
+
|
|
79
|
+
- The following unused formats have been removed from the adapters and can no longer be overridden via the `dateFormats` prop on the `<LocalizationProvider />` component:
|
|
80
|
+
|
|
81
|
+
- `fullTime` - please use `fullTime12h` and `fullTime24h` instead:
|
|
82
|
+
```diff
|
|
83
|
+
<LocalizationProvider
|
|
84
|
+
dateFormats={{
|
|
85
|
+
- fullTime: 'LT',
|
|
86
|
+
+ fullTime12h: 'hh:mm A',
|
|
87
|
+
+ fullTime24h: 'hh:mm',
|
|
88
|
+
}}
|
|
89
|
+
>
|
|
90
|
+
```
|
|
91
|
+
- `keyboardDateTime` - please use `keyboardDateTime12h` and `keyboardDateTime24h` instead:
|
|
92
|
+
```diff
|
|
93
|
+
<LocalizationProvider
|
|
94
|
+
dateFormats={{
|
|
95
|
+
- keyboardDateTime: 'DD.MM.YYYY | LT',
|
|
96
|
+
+ keyboardDateTime12h: 'DD.MM.YYYY | hh:mm A',
|
|
97
|
+
+ keyboardDateTime24h: 'DD.MM.YYYY | hh:mm',
|
|
98
|
+
}}
|
|
99
|
+
>
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.12`
|
|
103
|
+
|
|
104
|
+
- [pickers] Fix time related aria labels to depend on `ampm` flag value (#16572) @LukasTy
|
|
105
|
+
- [pickers] Remove unused adapter formats (#16522) @LukasTy
|
|
106
|
+
|
|
107
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
108
|
+
|
|
109
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.12`, plus:
|
|
110
|
+
|
|
111
|
+
- [DateRangePicker] Avoid unnecessary field section focusing (#16474) @LukasTy
|
|
112
|
+
|
|
113
|
+
### Charts
|
|
114
|
+
|
|
115
|
+
#### Breaking changes
|
|
116
|
+
|
|
117
|
+
- The `useSeries` hook family has been stabilized and renamed accordingly — [Learn more](https://next.mui.com/x/migration/migration-charts-v7/#stabilize-useseries-and-usexxxseries-hooks-✅)
|
|
118
|
+
|
|
119
|
+
#### `@mui/x-charts@8.0.0-alpha.12`
|
|
120
|
+
|
|
121
|
+
- [charts] Add docs for scatter "Size" section (#16556) @bernardobelchior
|
|
122
|
+
- [charts] Add `test:performance:browser` script #16600 @bernardobelchior
|
|
123
|
+
- [charts] Add warning when using unknown ids in `useXxxSeries` hooks (#16552) @JCQuintas
|
|
124
|
+
- [charts] Divide the logic for `useXxxSeries` into `useXxxSeriesContext` (#16546) @JCQuintas
|
|
125
|
+
- [charts] Document plugins for internal use (#16504) @JCQuintas
|
|
126
|
+
- [charts] Fix internal typo (#16524) @alexfauquette
|
|
127
|
+
- [charts] Fix type overloads (#16581) @JCQuintas
|
|
128
|
+
- [charts] Fix zoom filter regression (#16507) @alexfauquette
|
|
129
|
+
- [charts] Improve tooltip placement in mobile (#16553) @bernardobelchior
|
|
130
|
+
- [charts] Let the `useXxxSeries` support array of ids and document them (#15545) @JCQuintas
|
|
131
|
+
- [charts] Memoize some tooltip internals (#16564) @alexfauquette
|
|
132
|
+
- [charts] Move Voronoi handler in a dedicated plugin (#16470) @alexfauquette
|
|
133
|
+
- [charts] Performance tests: set license on setup. Update vitest minor version. (#16525) @bernardobelchior
|
|
134
|
+
- [charts] Propagate the axis scale to the `valueFormatter` (#16555) @alexfauquette
|
|
135
|
+
- [charts] Remove `colors` prop from `SparkLineChart`. (#16494) @bernardobelchior
|
|
136
|
+
- [charts] Stabilize series hooks (`useSeries`, `usePieSeries`, etc.) (#16459) @bernardobelchior
|
|
137
|
+
|
|
138
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
139
|
+
|
|
140
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.12`.
|
|
141
|
+
|
|
142
|
+
### Tree View
|
|
143
|
+
|
|
144
|
+
#### `@mui/x-tree-view@8.0.0-alpha.12`
|
|
145
|
+
|
|
146
|
+
Internal changes.
|
|
147
|
+
|
|
148
|
+
#### `@mui/x-tree-view-pro@8.0.0-alpha.12` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
149
|
+
|
|
150
|
+
Same changes as in `@mui/x-tree-view@8.0.0-alpha.12`.
|
|
151
|
+
|
|
152
|
+
### Docs
|
|
153
|
+
|
|
154
|
+
- [docs] Add demo for Scatter Chart with linked points (#16505) @bernardobelchior
|
|
155
|
+
- [docs] Improve license installation page (#16403) @michelengelen
|
|
156
|
+
- [docs] Standardize getting started docs across all packages (#16302) @mapache-salvaje
|
|
157
|
+
|
|
158
|
+
### Core
|
|
159
|
+
|
|
160
|
+
- [core] Update charts folder structure (#16471) @alexfauquette
|
|
161
|
+
- [code-infra] Bump @mui/monorepo (#16422) @LukasTy
|
|
162
|
+
- [code-infra] Fix lock file (#16562) @LukasTy
|
|
163
|
+
- [code-infra] Fix root package version (#16503) @JCQuintas
|
|
164
|
+
- [code-infra] Update internal packages to `next` releases (#16423) @LukasTy
|
|
165
|
+
- [code-infra] Update package layout for better ESM support (#14386) @Janpot
|
|
166
|
+
- [code-infra] Update peer dependencies for v8 (#16563) @Janpot
|
|
167
|
+
|
|
168
|
+
## 8.0.0-alpha.11
|
|
169
|
+
|
|
170
|
+
_Feb 7, 2025_
|
|
171
|
+
|
|
172
|
+
We'd like to offer a big thanks to the 11 contributors who made this release possible. Here are some highlights ✨:
|
|
173
|
+
|
|
174
|
+
- ⚡ Mount and resize performance improvements for the Data Grid
|
|
175
|
+
|
|
176
|
+
Special thanks go out to the community contributors who have helped make this release possible:
|
|
177
|
+
@lauri865.
|
|
178
|
+
Following are all team members who have contributed to this release:
|
|
179
|
+
@alexfauquette, @arminmeh, @bernardobelchior, @flaviendelangle, @Janpot, @KenanYusuf, @LukasTy, @MBilalShafi, @noraleonte, @romgrk.
|
|
180
|
+
|
|
181
|
+
<!--/ HIGHLIGHT_ABOVE_SEPARATOR /-->
|
|
182
|
+
|
|
183
|
+
### Data Grid
|
|
184
|
+
|
|
185
|
+
#### Breaking changes
|
|
186
|
+
|
|
187
|
+
- `createUseGridApiEventHandler()` is not exported anymore.
|
|
188
|
+
- The `filteredRowsLookup` object of the filter state does not contain `true` values anymore. If the row is filtered out, the value is `false`. Otherwise, the row id is not present in the object.
|
|
189
|
+
This change only impacts you if you relied on `filteredRowsLookup` to get ids of filtered rows. In this case,use `gridDataRowIdsSelector` selector to get row ids and check `filteredRowsLookup` for `false` values:
|
|
190
|
+
|
|
191
|
+
```diff
|
|
192
|
+
const filteredRowsLookup = gridFilteredRowsLookupSelector(apiRef);
|
|
193
|
+
-const filteredRowIds = Object.keys(filteredRowsLookup).filter((rowId) => filteredRowsLookup[rowId] === true);
|
|
194
|
+
+const rowIds = gridDataRowIdsSelector(apiRef);
|
|
195
|
+
+const filteredRowIds = rowIds.filter((rowId) => filteredRowsLookup[rowId] !== false);
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
- The `visibleRowsLookup` state does not contain `true` values anymore. If the row is not visible, the value is `false`. Otherwise, the row id is not present in the object:
|
|
199
|
+
|
|
200
|
+
```diff
|
|
201
|
+
const visibleRowsLookup = gridVisibleRowsLookupSelector(apiRef);
|
|
202
|
+
-const isRowVisible = visibleRowsLookup[rowId] === true;
|
|
203
|
+
+const isRowVisible = visibleRowsLookup[rowId] !== false;
|
|
204
|
+
```
|
|
205
|
+
|
|
206
|
+
#### `@mui/x-data-grid@8.0.0-alpha.11`
|
|
207
|
+
|
|
208
|
+
- [DataGrid] Avoid `<GridRoot />` double-render pass on mount in SPA mode (#15648) @lauri865
|
|
209
|
+
- [DataGrid] Fix loading overlay not in sync with scroll (#16437) @MBilalShafi
|
|
210
|
+
- [DataGrid] Refactor: remove material `MenuList` import (#16444) @romgrk
|
|
211
|
+
- [DataGrid] Refactor: simplify `useGridApiEventHandler()` (#16479) @romgrk
|
|
212
|
+
|
|
213
|
+
#### `@mui/x-data-grid-pro@8.0.0-alpha.11` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
214
|
+
|
|
215
|
+
Same changes as in `@mui/x-data-grid@8.0.0-alpha.11`, plus:
|
|
216
|
+
|
|
217
|
+
- [DataGridPro] Fix the return type of `useGridApiContext()` for Pro and Premium packages on React < 19 (#16441) @arminmeh
|
|
218
|
+
|
|
219
|
+
#### `@mui/x-data-grid-premium@8.0.0-alpha.11` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
220
|
+
|
|
221
|
+
Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.11`, plus:
|
|
222
|
+
|
|
223
|
+
- [DataGridPremium] Fix "no rows" overlay not showing with active aggregation (#16466) @KenanYusuf
|
|
224
|
+
|
|
225
|
+
### Date and Time Pickers
|
|
226
|
+
|
|
227
|
+
#### `@mui/x-date-pickers@8.0.0-alpha.11`
|
|
228
|
+
|
|
229
|
+
Internal changes.
|
|
230
|
+
|
|
231
|
+
#### `@mui/x-date-pickers-pro@8.0.0-alpha.11` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
232
|
+
|
|
233
|
+
Same changes as in `@mui/x-date-pickers@8.0.0-alpha.11`, plus:
|
|
234
|
+
|
|
235
|
+
- [DateRangeCalendar] Support arrow navigation with multiple months rendered (#16363) @flaviendelangle
|
|
236
|
+
- [DateRangePicker] Fix `currentMonthCalendarPosition` prop behavior on mobile (#16455) @LukasTy
|
|
237
|
+
- [DateRangePicker] Fix vertical alignment for multi input fields (#16489) @noraleonte
|
|
238
|
+
|
|
239
|
+
### Charts
|
|
240
|
+
|
|
241
|
+
#### `@mui/x-charts@8.0.0-alpha.11`
|
|
242
|
+
|
|
243
|
+
- [charts] Add `color` prop to `Sparkline` and deprecate `colors` (#16477) @bernardobelchior
|
|
244
|
+
- [charts] Make typescript more flexible about plugins and their params (#16478) @alexfauquette
|
|
245
|
+
- [charts] Remove component for axis event listener (#16314) @alexfauquette
|
|
246
|
+
|
|
247
|
+
#### `@mui/x-charts-pro@8.0.0-alpha.11` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
248
|
+
|
|
249
|
+
Same changes as in `@mui/x-charts@8.0.0-alpha.11`.
|
|
250
|
+
|
|
251
|
+
### Tree View
|
|
252
|
+
|
|
253
|
+
#### `@mui/x-tree-view@8.0.0-alpha.11`
|
|
254
|
+
|
|
255
|
+
Internal changes.
|
|
256
|
+
|
|
257
|
+
#### `@mui/x-tree-view-pro@8.0.0-alpha.11` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
258
|
+
|
|
259
|
+
Same changes as in `@mui/x-tree-view@8.0.0-alpha.11`.
|
|
260
|
+
|
|
261
|
+
### Docs
|
|
262
|
+
|
|
263
|
+
- [docs] Update charts colors default value (#16484) @bernardobelchior
|
|
264
|
+
|
|
265
|
+
### Core
|
|
266
|
+
|
|
267
|
+
- [core] Fix corepack and pnpm installation in CircleCI (#16434) @flaviendelangle
|
|
268
|
+
- [code-infra] Update monorepo (#16112) @Janpot
|
|
269
|
+
- [test] Avoid test warning when running on React 18 (#16486) @LukasTy
|
|
270
|
+
- [test] Disable `react-transition-group` transitions in unit testing (#16288) @lauri865
|
|
271
|
+
|
|
8
272
|
## 8.0.0-alpha.10
|
|
9
273
|
|
|
10
274
|
_Jan 30, 2025_
|
|
@@ -50,6 +314,7 @@ Following are all team members who have contributed to this release:
|
|
|
50
314
|
+ },
|
|
51
315
|
});
|
|
52
316
|
```
|
|
317
|
+
|
|
53
318
|
- The `detailPanels`, `pinnedColumns`, and `pinnedRowsRenderZone` classes have been removed.
|
|
54
319
|
- Return type of the `useGridApiRef()` hook and the type of `apiRef` prop are updated to explicitly include the possibilty of `null`. In addition to this, `useGridApiRef()` returns a reference that is initialized with `null` instead of `{}`.
|
|
55
320
|
|
|
@@ -91,7 +356,7 @@ Same changes as in `@mui/x-data-grid-pro@8.0.0-alpha.10`.
|
|
|
91
356
|
|
|
92
357
|
#### Breaking changes
|
|
93
358
|
|
|
94
|
-
- The component passed to the `field` slot no longer receives the `ref`,
|
|
359
|
+
- The component passed to the `field` slot no longer receives the `ref`, `disabled`, `className`, `sx`, `label`, `name`, `formatDensity`, `enableAccessibleFieldDOMStructure`, `selectedSections`, `onSelectedSectionsChange` and `inputRef` props — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#slot-field)
|
|
95
360
|
- The `MuiPickersPopper` theme entry have been renamed `MuiPickerPopper` and some of its props have been removed — [Learn more](https://next.mui.com/x/migration/migration-pickers-v7/#muipickerspopper)
|
|
96
361
|
|
|
97
362
|
#### `@mui/x-date-pickers@8.0.0-alpha.10`
|
|
@@ -111,7 +376,7 @@ Same changes as in `@mui/x-date-pickers@8.0.0-alpha.10`.
|
|
|
111
376
|
|
|
112
377
|
- Replace `legend.position.horizontal` from `"left" | "middle" | "right"` to `"start" | "center" | "end"`.
|
|
113
378
|
This is to align with the CSS values and reflect the RTL ability of the legend component.
|
|
114
|
-
- The default colors have changed. To keep using the old palette. It is possible to import `blueberryTwilightPalette` from
|
|
379
|
+
- The default colors have changed. To keep using the old palette. It is possible to import `blueberryTwilightPalette` from `@mui/x-charts/colorPalettes` and set it on the `colors` property of charts.
|
|
115
380
|
- The `id` property is now optional on the `Pie` and `Scatter` data types.
|
|
116
381
|
|
|
117
382
|
#### `@mui/x-charts@8.0.0-alpha.10`
|
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MuiLicenseInfo } from
|
|
2
|
+
import { MuiLicenseInfo } from "../utils/licenseInfo.js";
|
|
3
3
|
/**
|
|
4
4
|
* @ignore - do not document.
|
|
5
5
|
*/
|
|
6
6
|
export interface LicenseInfoProviderProps {
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
info: MuiLicenseInfo;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
11
|
* @ignore - do not document.
|
|
12
12
|
*/
|
|
13
|
-
export declare function LicenseInfoProvider({
|
|
13
|
+
export declare function LicenseInfoProvider({
|
|
14
|
+
info,
|
|
15
|
+
children
|
|
16
|
+
}: LicenseInfoProviderProps): React.JSX.Element;
|
|
@@ -1,18 +1,26 @@
|
|
|
1
|
-
|
|
2
|
-
import MuiLicenseInfoContext from "./MuiLicenseInfoContext.js";
|
|
1
|
+
"use strict";
|
|
3
2
|
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.LicenseInfoProvider = LicenseInfoProvider;
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _MuiLicenseInfoContext = _interopRequireDefault(require("./MuiLicenseInfoContext"));
|
|
11
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
4
12
|
/**
|
|
5
13
|
* @ignore - do not document.
|
|
6
14
|
*/
|
|
7
|
-
|
|
15
|
+
|
|
8
16
|
/**
|
|
9
17
|
* @ignore - do not document.
|
|
10
18
|
*/
|
|
11
|
-
|
|
19
|
+
function LicenseInfoProvider({
|
|
12
20
|
info,
|
|
13
21
|
children
|
|
14
22
|
}) {
|
|
15
|
-
return /*#__PURE__*/
|
|
23
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_MuiLicenseInfoContext.default.Provider, {
|
|
16
24
|
value: info,
|
|
17
25
|
children: children
|
|
18
26
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MuiLicenseInfo } from
|
|
2
|
+
import { MuiLicenseInfo } from "../utils/licenseInfo.js";
|
|
3
3
|
declare const MuiLicenseInfoContext: React.Context<MuiLicenseInfo>;
|
|
4
|
-
export default MuiLicenseInfoContext;
|
|
4
|
+
export default MuiLicenseInfoContext;
|
|
@@ -1,10 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
'use client';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
5
|
+
Object.defineProperty(exports, "__esModule", {
|
|
6
|
+
value: true
|
|
7
|
+
});
|
|
8
|
+
exports.default = void 0;
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
4
10
|
const MuiLicenseInfoContext = /*#__PURE__*/React.createContext({
|
|
5
11
|
key: undefined
|
|
6
12
|
});
|
|
7
13
|
if (process.env.NODE_ENV !== 'production') {
|
|
8
14
|
MuiLicenseInfoContext.displayName = 'MuiLicenseInfoContext';
|
|
9
15
|
}
|
|
10
|
-
|
|
16
|
+
var _default = exports.default = MuiLicenseInfoContext;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LicenseInfoProvider as Unstable_LicenseInfoProvider } from
|
|
2
|
-
export type { LicenseInfoProviderProps as Unstable_LicenseInfoProviderProps } from './LicenseInfoProvider';
|
|
1
|
+
export { LicenseInfoProvider as Unstable_LicenseInfoProvider } from "./LicenseInfoProvider.js";
|
|
2
|
+
export type { LicenseInfoProviderProps as Unstable_LicenseInfoProviderProps } from './LicenseInfoProvider';
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Unstable_LicenseInfoProvider", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function () {
|
|
9
|
+
return _LicenseInfoProvider.LicenseInfoProvider;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _LicenseInfoProvider = require("./LicenseInfoProvider");
|
package/Watermark/Watermark.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { MuiCommercialPackageName } from
|
|
2
|
+
import { MuiCommercialPackageName } from "../utils/commercialPackages.js";
|
|
3
3
|
interface WatermarkProps {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
packageName: MuiCommercialPackageName;
|
|
5
|
+
releaseInfo: string;
|
|
6
6
|
}
|
|
7
7
|
declare function Watermark(props: WatermarkProps): React.JSX.Element | null;
|
|
8
8
|
declare const MemoizedWatermark: typeof Watermark;
|
|
9
|
-
export { MemoizedWatermark as Watermark };
|
|
9
|
+
export { MemoizedWatermark as Watermark };
|
package/Watermark/Watermark.js
CHANGED
|
@@ -1,22 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireWildcard = require("@babel/runtime/helpers/interopRequireWildcard").default;
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.Watermark = void 0;
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _fastMemo = require("@mui/x-internals/fastMemo");
|
|
10
|
+
var _useLicenseVerifier = require("../useLicenseVerifier");
|
|
11
|
+
var _licenseStatus = require("../utils/licenseStatus");
|
|
12
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
6
13
|
function getLicenseErrorMessage(licenseStatus) {
|
|
7
14
|
switch (licenseStatus) {
|
|
8
|
-
case LICENSE_STATUS.ExpiredAnnualGrace:
|
|
9
|
-
case LICENSE_STATUS.ExpiredAnnual:
|
|
15
|
+
case _licenseStatus.LICENSE_STATUS.ExpiredAnnualGrace:
|
|
16
|
+
case _licenseStatus.LICENSE_STATUS.ExpiredAnnual:
|
|
10
17
|
return 'MUI X Expired license key';
|
|
11
|
-
case LICENSE_STATUS.ExpiredVersion:
|
|
18
|
+
case _licenseStatus.LICENSE_STATUS.ExpiredVersion:
|
|
12
19
|
return 'MUI X Expired package version';
|
|
13
|
-
case LICENSE_STATUS.Invalid:
|
|
20
|
+
case _licenseStatus.LICENSE_STATUS.Invalid:
|
|
14
21
|
return 'MUI X Invalid license key';
|
|
15
|
-
case LICENSE_STATUS.OutOfScope:
|
|
22
|
+
case _licenseStatus.LICENSE_STATUS.OutOfScope:
|
|
16
23
|
return 'MUI X License key plan mismatch';
|
|
17
|
-
case LICENSE_STATUS.NotAvailableInInitialProPlan:
|
|
24
|
+
case _licenseStatus.LICENSE_STATUS.NotAvailableInInitialProPlan:
|
|
18
25
|
return 'MUI X Product not covered by plan';
|
|
19
|
-
case LICENSE_STATUS.NotFound:
|
|
26
|
+
case _licenseStatus.LICENSE_STATUS.NotFound:
|
|
20
27
|
return 'MUI X Missing license key';
|
|
21
28
|
default:
|
|
22
29
|
throw new Error('Unhandled MUI X license status.');
|
|
@@ -27,11 +34,11 @@ function Watermark(props) {
|
|
|
27
34
|
packageName,
|
|
28
35
|
releaseInfo
|
|
29
36
|
} = props;
|
|
30
|
-
const licenseStatus = useLicenseVerifier(packageName, releaseInfo);
|
|
31
|
-
if (licenseStatus.status === LICENSE_STATUS.Valid) {
|
|
37
|
+
const licenseStatus = (0, _useLicenseVerifier.useLicenseVerifier)(packageName, releaseInfo);
|
|
38
|
+
if (licenseStatus.status === _licenseStatus.LICENSE_STATUS.Valid) {
|
|
32
39
|
return null;
|
|
33
40
|
}
|
|
34
|
-
return /*#__PURE__*/
|
|
41
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
|
|
35
42
|
style: {
|
|
36
43
|
position: 'absolute',
|
|
37
44
|
pointerEvents: 'none',
|
|
@@ -47,5 +54,4 @@ function Watermark(props) {
|
|
|
47
54
|
children: getLicenseErrorMessage(licenseStatus.status)
|
|
48
55
|
});
|
|
49
56
|
}
|
|
50
|
-
const MemoizedWatermark = fastMemo(Watermark);
|
|
51
|
-
export { MemoizedWatermark as Watermark };
|
|
57
|
+
const MemoizedWatermark = exports.Watermark = (0, _fastMemo.fastMemo)(Watermark);
|
package/Watermark/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from
|
|
1
|
+
export * from "./Watermark.js";
|
package/Watermark/index.js
CHANGED
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _Watermark = require("./Watermark");
|
|
7
|
+
Object.keys(_Watermark).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _Watermark[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _Watermark[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
package/encoding/base64.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export declare const base64Decode: (input: string) => string;
|
|
2
|
-
export declare const base64Encode: (input: string) => string;
|
|
2
|
+
export declare const base64Encode: (input: string) => string;
|
package/encoding/base64.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.base64Encode = exports.base64Decode = void 0;
|
|
1
7
|
/* eslint-disable */
|
|
2
8
|
const _keyStr = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=';
|
|
3
9
|
function utf8Encode(str) {
|
|
@@ -9,7 +15,7 @@ function utf8Encode(str) {
|
|
|
9
15
|
}
|
|
10
16
|
return str;
|
|
11
17
|
}
|
|
12
|
-
|
|
18
|
+
const base64Decode = input => {
|
|
13
19
|
let output = '';
|
|
14
20
|
let chr1, chr2, chr3;
|
|
15
21
|
let enc1, enc2, enc3, enc4;
|
|
@@ -33,7 +39,8 @@ export const base64Decode = input => {
|
|
|
33
39
|
}
|
|
34
40
|
return output;
|
|
35
41
|
};
|
|
36
|
-
|
|
42
|
+
exports.base64Decode = base64Decode;
|
|
43
|
+
const base64Encode = input => {
|
|
37
44
|
let output = '';
|
|
38
45
|
let chr1, chr2, chr3, enc1, enc2, enc3, enc4;
|
|
39
46
|
let i = 0;
|
|
@@ -54,4 +61,5 @@ export const base64Encode = input => {
|
|
|
54
61
|
output = output + _keyStr.charAt(enc1) + _keyStr.charAt(enc2) + _keyStr.charAt(enc3) + _keyStr.charAt(enc4);
|
|
55
62
|
}
|
|
56
63
|
return output;
|
|
57
|
-
};
|
|
64
|
+
};
|
|
65
|
+
exports.base64Encode = base64Encode;
|
package/encoding/md5.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function md5(s: any): any;
|
|
1
|
+
export declare function md5(s: any): any;
|
package/encoding/md5.js
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.md5 = md5;
|
|
1
7
|
/* eslint-disable */
|
|
2
8
|
// See "precomputation" in notes
|
|
3
9
|
const k = [];
|
|
@@ -6,7 +12,7 @@ for (; i < 64;) {
|
|
|
6
12
|
k[i] = 0 | Math.sin(++i % Math.PI) * 4294967296;
|
|
7
13
|
// k[i] = 0 | (Math.abs(Math.sin(++i)) * 4294967296);
|
|
8
14
|
}
|
|
9
|
-
|
|
15
|
+
function md5(s) {
|
|
10
16
|
const words = [];
|
|
11
17
|
let b,
|
|
12
18
|
c,
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MuiLicenseInfo } from "../utils/licenseInfo.js";
|
|
3
|
+
/**
|
|
4
|
+
* @ignore - do not document.
|
|
5
|
+
*/
|
|
6
|
+
export interface LicenseInfoProviderProps {
|
|
7
|
+
info: MuiLicenseInfo;
|
|
8
|
+
children?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @ignore - do not document.
|
|
12
|
+
*/
|
|
13
|
+
export declare function LicenseInfoProvider({
|
|
14
|
+
info,
|
|
15
|
+
children
|
|
16
|
+
}: LicenseInfoProviderProps): React.JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import MuiLicenseInfoContext from "./MuiLicenseInfoContext.js";
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @ignore - do not document.
|
|
6
|
+
*/
|
|
7
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
+
/**
|
|
9
|
+
* @ignore - do not document.
|
|
10
|
+
*/
|
|
11
|
+
export function LicenseInfoProvider({
|
|
12
|
+
info,
|
|
13
|
+
children
|
|
14
|
+
}) {
|
|
15
|
+
return /*#__PURE__*/_jsx(MuiLicenseInfoContext.Provider, {
|
|
16
|
+
value: info,
|
|
17
|
+
children: children
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import * as React from 'react';
|
|
4
|
+
const MuiLicenseInfoContext = /*#__PURE__*/React.createContext({
|
|
5
|
+
key: undefined
|
|
6
|
+
});
|
|
7
|
+
if (process.env.NODE_ENV !== 'production') {
|
|
8
|
+
MuiLicenseInfoContext.displayName = 'MuiLicenseInfoContext';
|
|
9
|
+
}
|
|
10
|
+
export default MuiLicenseInfoContext;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { LicenseInfoProvider as Unstable_LicenseInfoProvider } from "./LicenseInfoProvider.js";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { MuiCommercialPackageName } from "../utils/commercialPackages.js";
|
|
3
|
+
interface WatermarkProps {
|
|
4
|
+
packageName: MuiCommercialPackageName;
|
|
5
|
+
releaseInfo: string;
|
|
6
|
+
}
|
|
7
|
+
declare function Watermark(props: WatermarkProps): React.JSX.Element | null;
|
|
8
|
+
declare const MemoizedWatermark: typeof Watermark;
|
|
9
|
+
export { MemoizedWatermark as Watermark };
|