@mui/x-license 7.14.0 → 7.15.0
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 +69 -0
- package/generateLicense/generateLicense.d.ts +4 -2
- package/generateLicense/generateLicense.js +11 -3
- package/index.js +1 -1
- package/modern/generateLicense/generateLicense.js +11 -3
- package/modern/index.js +1 -1
- package/node/generateLicense/generateLicense.js +11 -3
- package/node/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,75 @@
|
|
|
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.15.0
|
|
7
|
+
|
|
8
|
+
_Aug 29, 2024_
|
|
9
|
+
|
|
10
|
+
We'd like to offer a big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
|
|
11
|
+
|
|
12
|
+
- 💫 Support Material UI v6 (`@mui/material@6`) peer dependency (#14142) @cherniavskii
|
|
13
|
+
|
|
14
|
+
You can now use MUI X components with either v5 or v6 of `@mui/material` package 🎉
|
|
15
|
+
|
|
16
|
+
- 🐞 Bugfixes
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid-pro@7.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
21
|
+
|
|
22
|
+
- [DataGridPro] Export `GridRowReorderCell` component (#14079) @genepaul
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid-premium@7.15.0` [](https://mui.com/r/x-premium-svg-link 'Premium plan')
|
|
25
|
+
|
|
26
|
+
Same changes as in `@mui/x-data-grid-pro@7.15.0`.
|
|
27
|
+
|
|
28
|
+
### Date and Time Pickers
|
|
29
|
+
|
|
30
|
+
#### `@mui/x-date-pickers@7.15.0`
|
|
31
|
+
|
|
32
|
+
- [pickers] Add `onTouchStart` handler for `TimeClock` (#14305) @arthurbalduini
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-date-pickers-pro@7.15.0` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
35
|
+
|
|
36
|
+
Same changes as in `@mui/x-date-pickers@7.15.0`, plus:
|
|
37
|
+
|
|
38
|
+
- [DateTimeRangePicker] Fix date format resolving from views on 24hr locales (#14341) @arthurbalduini
|
|
39
|
+
|
|
40
|
+
### Charts
|
|
41
|
+
|
|
42
|
+
#### `@mui/x-charts@7.15.0`
|
|
43
|
+
|
|
44
|
+
- [charts] Add missing `themeAugmentation` in pro plan (#14313) @lhilgert9
|
|
45
|
+
- [charts] Fix `LineChart` transition stopping before completion (#14366) @JCQuintas
|
|
46
|
+
- [charts] Fix tooltip with horizontal layout (#14337) @alexfauquette
|
|
47
|
+
- [charts] Keep axis root classe usage explicit (#14378) @alexfauquette
|
|
48
|
+
|
|
49
|
+
#### `@mui/x-charts-pro@7.0.0-alpha.3` [](https://mui.com/r/x-pro-svg-link 'Pro plan')
|
|
50
|
+
|
|
51
|
+
Same changes as in `@mui/x-charts@7.15.0`, plus:
|
|
52
|
+
|
|
53
|
+
- [charts pro] Avoid relative reference to `@mui/x-charts` package (#14335) @LukasTy
|
|
54
|
+
|
|
55
|
+
### Docs
|
|
56
|
+
|
|
57
|
+
- [docs] Fix sentence case `h2` @oliviertassinari
|
|
58
|
+
- [docs] Clarify contribution guide references @oliviertassinari
|
|
59
|
+
- [docs] Fix Stack Overflow issue canned response @oliviertassinari
|
|
60
|
+
- [docs] Fix outdated link to support page @oliviertassinari
|
|
61
|
+
- [docs] Fix use of Material UI @oliviertassinari
|
|
62
|
+
- [docs] Update deprecated props in docs (#14295) @JCQuintas
|
|
63
|
+
|
|
64
|
+
### Core
|
|
65
|
+
|
|
66
|
+
- [core] Allow only v5.x for `MUI Core` renovate group (#14382) @LukasTy
|
|
67
|
+
- [core] Avoid visual regression when using `@mui/material@6` (#14357) @cherniavskii
|
|
68
|
+
- [core] Remove renovate rule targeting only `next` releases of `@mui/docs` (#14364) @LukasTy
|
|
69
|
+
- [core] Support `@mui/material@6` peer dependency (#14142) @cherniavskii
|
|
70
|
+
- [core] Use `useRtl` instead of `useTheme` to access direction (#14359) @LukasTy
|
|
71
|
+
- [code-infra] Typecheck nested folders in playground (#14352) @JCQuintas
|
|
72
|
+
- [infra] Fix Issue cleanup action @oliviertassinari
|
|
73
|
+
- [license] Prepare renaming of argument names @oliviertassinari
|
|
74
|
+
|
|
6
75
|
## 7.14.0
|
|
7
76
|
|
|
8
77
|
_Aug 23, 2024_
|
|
@@ -3,8 +3,10 @@ import { LicensingModel } from '../utils/licensingModel';
|
|
|
3
3
|
export interface LicenseDetails {
|
|
4
4
|
orderNumber: string;
|
|
5
5
|
expiryDate: Date;
|
|
6
|
-
scope
|
|
7
|
-
|
|
6
|
+
scope?: LicenseScope;
|
|
7
|
+
planScope?: LicenseScope;
|
|
8
|
+
licenseModel?: LicensingModel;
|
|
9
|
+
licensingModel?: LicensingModel;
|
|
8
10
|
planVersion: PlanVersion;
|
|
9
11
|
}
|
|
10
12
|
export declare function generateLicense(details: LicenseDetails): string;
|
|
@@ -4,13 +4,21 @@ import { LICENSE_SCOPES } from '../utils/licenseScope';
|
|
|
4
4
|
import { LICENSING_MODELS } from '../utils/licensingModel';
|
|
5
5
|
const licenseVersion = '2';
|
|
6
6
|
function getClearLicenseString(details) {
|
|
7
|
-
|
|
7
|
+
// TODO remove
|
|
8
|
+
if (details.licensingModel) {
|
|
9
|
+
details.licenseModel = details.licensingModel;
|
|
10
|
+
}
|
|
11
|
+
// TODO remove
|
|
12
|
+
if (details.scope) {
|
|
13
|
+
details.planScope = details.scope;
|
|
14
|
+
}
|
|
15
|
+
if (details.planScope && !LICENSE_SCOPES.includes(details.planScope)) {
|
|
8
16
|
throw new Error('MUI X: Invalid scope');
|
|
9
17
|
}
|
|
10
|
-
if (details.
|
|
18
|
+
if (details.licenseModel && !LICENSING_MODELS.includes(details.licenseModel)) {
|
|
11
19
|
throw new Error('MUI X: Invalid licensing model');
|
|
12
20
|
}
|
|
13
|
-
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.
|
|
21
|
+
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.planScope}`, `LM=${details.licenseModel}`, `PV=${details.planVersion}`, `KV=${licenseVersion}`];
|
|
14
22
|
return keyParts.join(',');
|
|
15
23
|
}
|
|
16
24
|
export function generateLicense(details) {
|
package/index.js
CHANGED
|
@@ -4,13 +4,21 @@ import { LICENSE_SCOPES } from '../utils/licenseScope';
|
|
|
4
4
|
import { LICENSING_MODELS } from '../utils/licensingModel';
|
|
5
5
|
const licenseVersion = '2';
|
|
6
6
|
function getClearLicenseString(details) {
|
|
7
|
-
|
|
7
|
+
// TODO remove
|
|
8
|
+
if (details.licensingModel) {
|
|
9
|
+
details.licenseModel = details.licensingModel;
|
|
10
|
+
}
|
|
11
|
+
// TODO remove
|
|
12
|
+
if (details.scope) {
|
|
13
|
+
details.planScope = details.scope;
|
|
14
|
+
}
|
|
15
|
+
if (details.planScope && !LICENSE_SCOPES.includes(details.planScope)) {
|
|
8
16
|
throw new Error('MUI X: Invalid scope');
|
|
9
17
|
}
|
|
10
|
-
if (details.
|
|
18
|
+
if (details.licenseModel && !LICENSING_MODELS.includes(details.licenseModel)) {
|
|
11
19
|
throw new Error('MUI X: Invalid licensing model');
|
|
12
20
|
}
|
|
13
|
-
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.
|
|
21
|
+
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.planScope}`, `LM=${details.licenseModel}`, `PV=${details.planVersion}`, `KV=${licenseVersion}`];
|
|
14
22
|
return keyParts.join(',');
|
|
15
23
|
}
|
|
16
24
|
export function generateLicense(details) {
|
package/modern/index.js
CHANGED
|
@@ -10,13 +10,21 @@ var _licenseScope = require("../utils/licenseScope");
|
|
|
10
10
|
var _licensingModel = require("../utils/licensingModel");
|
|
11
11
|
const licenseVersion = '2';
|
|
12
12
|
function getClearLicenseString(details) {
|
|
13
|
-
|
|
13
|
+
// TODO remove
|
|
14
|
+
if (details.licensingModel) {
|
|
15
|
+
details.licenseModel = details.licensingModel;
|
|
16
|
+
}
|
|
17
|
+
// TODO remove
|
|
18
|
+
if (details.scope) {
|
|
19
|
+
details.planScope = details.scope;
|
|
20
|
+
}
|
|
21
|
+
if (details.planScope && !_licenseScope.LICENSE_SCOPES.includes(details.planScope)) {
|
|
14
22
|
throw new Error('MUI X: Invalid scope');
|
|
15
23
|
}
|
|
16
|
-
if (details.
|
|
24
|
+
if (details.licenseModel && !_licensingModel.LICENSING_MODELS.includes(details.licenseModel)) {
|
|
17
25
|
throw new Error('MUI X: Invalid licensing model');
|
|
18
26
|
}
|
|
19
|
-
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.
|
|
27
|
+
const keyParts = [`O=${details.orderNumber}`, `E=${details.expiryDate.getTime()}`, `S=${details.planScope}`, `LM=${details.licenseModel}`, `PV=${details.planVersion}`, `KV=${licenseVersion}`];
|
|
20
28
|
return keyParts.join(',');
|
|
21
29
|
}
|
|
22
30
|
function generateLicense(details) {
|
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-license",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.15.0",
|
|
4
4
|
"description": "MUI X License verification",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"directory": "packages/x-license"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@babel/runtime": "^7.25.
|
|
27
|
+
"@babel/runtime": "^7.25.4",
|
|
28
28
|
"@mui/utils": "^5.16.6"
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|