@mui/x-tree-view 6.0.0-alpha.0 → 6.0.0-alpha.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 +62 -0
- package/index.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/themeAugmentation/index.js +3 -0
- package/modern/index.js +1 -1
- package/modern/themeAugmentation/index.js +3 -0
- package/node/index.js +1 -1
- package/node/themeAugmentation/index.js +38 -0
- package/package.json +3 -3
- package/themeAugmentation/components.d.ts +18 -0
- package/themeAugmentation/index.d.ts +3 -0
- package/themeAugmentation/index.js +3 -0
- package/themeAugmentation/overrides.d.ts +15 -0
- package/themeAugmentation/package.json +6 -0
- package/themeAugmentation/props.d.ts +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,68 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## 6.11.1
|
|
7
|
+
|
|
8
|
+
_Aug 11, 2023_
|
|
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
|
+
- 💫 Add theme augmentation to `@mui/x-tree-view`
|
|
13
|
+
- 📈 Enable charts customization using `slot` and `slotProps` props
|
|
14
|
+
- 🌍 Improve Finnish (fi-FI) and Icelandic (is-IS) locales on the pickers
|
|
15
|
+
- 🐞 Bugfixes
|
|
16
|
+
- 📚 Documentation improvements
|
|
17
|
+
|
|
18
|
+
### Data Grid
|
|
19
|
+
|
|
20
|
+
#### `@mui/x-data-grid@6.11.1`
|
|
21
|
+
|
|
22
|
+
- [DataGrid] `getCellAggregationResult`: Handle `null` `rowNode` case (#9915) @romgrk
|
|
23
|
+
|
|
24
|
+
#### `@mui/x-data-grid-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link)
|
|
25
|
+
|
|
26
|
+
Same changes as in `@mui/x-data-grid@6.11.1`.
|
|
27
|
+
|
|
28
|
+
#### `@mui/x-data-grid-premium@6.11.1` [](https://mui.com/r/x-premium-svg-link)
|
|
29
|
+
|
|
30
|
+
Same changes as in `@mui/x-data-grid-pro@6.11.1`.
|
|
31
|
+
|
|
32
|
+
### Date Pickers
|
|
33
|
+
|
|
34
|
+
#### `@mui/x-date-pickers@6.11.1`
|
|
35
|
+
|
|
36
|
+
- [fields] Use `numeric` `inputmode` instead of `tel` (#9918) @LukasTy
|
|
37
|
+
- [pickers] Always respect locale when formatting meridiem (#9979) @flaviendelangle
|
|
38
|
+
- [pickers] Call `onChange` when selecting a shortcut with `changeImportance="set"` (#9974) @flaviendelangle
|
|
39
|
+
- [pickers] Refactor `themeAugmentation` `styleOverrides` (#9978) @LukasTy
|
|
40
|
+
- [l10n] Improve Finnish (fi-FI) locale (#9795) @kurkle
|
|
41
|
+
- [l10n] Improve Icelandic (is-IS) locale (#9639) @magnimarels
|
|
42
|
+
|
|
43
|
+
#### `@mui/x-date-pickers-pro@6.11.1` [](https://mui.com/r/x-pro-svg-link)
|
|
44
|
+
|
|
45
|
+
Same changes as in `@mui/x-date-pickers@6.11.1`.
|
|
46
|
+
|
|
47
|
+
### Charts / `@mui/x-charts@v6.0.0-alpha.7`
|
|
48
|
+
|
|
49
|
+
- [charts] Fix label and tick alignment (#9952) @LukasTy
|
|
50
|
+
- [charts] Remove not functional component `styleOverrides` (#9996) @LukasTy
|
|
51
|
+
- [charts] Set custom ticks number (#9922) @alexfauquette
|
|
52
|
+
- [charts] Use `slot`/`slotProps` for customization (#9744) @alexfauquette
|
|
53
|
+
- [charts] Extend cheerful fiesta palette (#9980) @noraleonte
|
|
54
|
+
|
|
55
|
+
### Tree View / `@mui/x-tree-view@v6.0.0-alpha.1`
|
|
56
|
+
|
|
57
|
+
- [TreeView] Add theme augmentation (#9967) @flaviendelangle
|
|
58
|
+
|
|
59
|
+
### Docs
|
|
60
|
+
|
|
61
|
+
- [docs] Clarify the `shouldDisableClock` migration code options (#9920) @LukasTy
|
|
62
|
+
|
|
63
|
+
### Core
|
|
64
|
+
|
|
65
|
+
- [core] Port GitHub workflow for ensuring triage label is present (#9924) @DanailH
|
|
66
|
+
- [docs-infra] Fix the import samples in Api pages (#9898) @alexfauquette
|
|
67
|
+
|
|
6
68
|
## 6.11.0
|
|
7
69
|
|
|
8
70
|
_Aug 4, 2023_
|
package/index.js
CHANGED
package/legacy/index.js
CHANGED
package/modern/index.js
CHANGED
package/node/index.js
CHANGED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _overrides = require("./overrides");
|
|
7
|
+
Object.keys(_overrides).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _overrides[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _overrides[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
17
|
+
var _props = require("./props");
|
|
18
|
+
Object.keys(_props).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _props[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _props[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
});
|
|
28
|
+
var _components = require("./components");
|
|
29
|
+
Object.keys(_components).forEach(function (key) {
|
|
30
|
+
if (key === "default" || key === "__esModule") return;
|
|
31
|
+
if (key in exports && exports[key] === _components[key]) return;
|
|
32
|
+
Object.defineProperty(exports, key, {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () {
|
|
35
|
+
return _components[key];
|
|
36
|
+
}
|
|
37
|
+
});
|
|
38
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/x-tree-view",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.1",
|
|
4
4
|
"description": "The community edition of the tree view components (MUI X).",
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"main": "./node/index.js",
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@babel/runtime": "^7.22.6",
|
|
35
|
-
"@mui/utils": "^5.14.
|
|
35
|
+
"@mui/utils": "^5.14.3",
|
|
36
36
|
"@types/react-transition-group": "^4.4.6",
|
|
37
|
-
"clsx": "^
|
|
37
|
+
"clsx": "^2.0.0",
|
|
38
38
|
"prop-types": "^15.8.1",
|
|
39
39
|
"react-transition-group": "^4.4.5"
|
|
40
40
|
},
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ComponentsProps, ComponentsOverrides, ComponentsVariants } from '@mui/material/styles';
|
|
2
|
+
|
|
3
|
+
export interface TreeViewComponents<Theme = unknown> {
|
|
4
|
+
MuiTreeItem?: {
|
|
5
|
+
defaultProps?: ComponentsProps['MuiTreeItem'];
|
|
6
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiTreeItem'];
|
|
7
|
+
variants?: ComponentsVariants['MuiTreeItem'];
|
|
8
|
+
};
|
|
9
|
+
MuiTreeView?: {
|
|
10
|
+
defaultProps?: ComponentsProps['MuiTreeView'];
|
|
11
|
+
styleOverrides?: ComponentsOverrides<Theme>['MuiTreeView'];
|
|
12
|
+
variants?: ComponentsVariants['MuiTreeView'];
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare module '@mui/material/styles' {
|
|
17
|
+
interface Components<Theme = unknown> extends TreeViewComponents<Theme> {}
|
|
18
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { TreeItemClassKey } from '../TreeItem';
|
|
2
|
+
import { TreeViewClassKey } from '../TreeView';
|
|
3
|
+
|
|
4
|
+
// prettier-ignore
|
|
5
|
+
export interface PickersComponentNameToClassKey {
|
|
6
|
+
MuiTreeItem: TreeItemClassKey;
|
|
7
|
+
MuiTreeView: TreeViewClassKey;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
declare module '@mui/material/styles' {
|
|
11
|
+
interface ComponentNameToClassKey extends PickersComponentNameToClassKey {}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// disable automatic export
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { TreeItemProps } from '../TreeItem';
|
|
2
|
+
import { TreeViewProps } from '../TreeView';
|
|
3
|
+
|
|
4
|
+
export interface PickersComponentsPropsList {
|
|
5
|
+
MuiTreeItem: TreeItemProps;
|
|
6
|
+
MuiTreeView: TreeViewProps;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
declare module '@mui/material/styles' {
|
|
10
|
+
interface ComponentsPropsList extends PickersComponentsPropsList {}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
// disable automatic export
|
|
14
|
+
export {};
|