@mui/lab 5.0.0-alpha.145 → 5.0.0-alpha.147
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 +159 -0
- package/Masonry/Masonry.js +1 -1
- package/TreeItem/TreeItem.d.ts +1 -1
- package/TreeItem/TreeItem.js +1 -1
- package/TreeView/TreeView.d.ts +1 -1
- package/TreeView/TreeView.js +1 -1
- package/index.js +1 -1
- package/legacy/Masonry/Masonry.js +1 -1
- package/legacy/TreeItem/TreeItem.js +1 -1
- package/legacy/TreeView/TreeView.js +1 -1
- package/legacy/index.js +1 -1
- package/modern/Masonry/Masonry.js +1 -1
- package/modern/TreeItem/TreeItem.js +1 -1
- package/modern/TreeView/TreeView.js +1 -1
- package/modern/index.js +1 -1
- package/node/Alert/Alert.js +2 -3
- package/node/AlertTitle/AlertTitle.js +2 -3
- package/node/Autocomplete/Autocomplete.js +2 -3
- package/node/AvatarGroup/AvatarGroup.js +2 -3
- package/node/CalendarPicker/CalendarPicker.js +2 -4
- package/node/CalendarPickerSkeleton/CalendarPickerSkeleton.js +2 -4
- package/node/ClockPicker/ClockPicker.js +2 -4
- package/node/DatePicker/DatePicker.js +1 -2
- package/node/DateRangePicker/DateRangePicker.js +1 -2
- package/node/DateRangePickerDay/DateRangePickerDay.js +1 -2
- package/node/DateTimePicker/DateTimePicker.js +1 -2
- package/node/DesktopDatePicker/DesktopDatePicker.js +1 -2
- package/node/DesktopDateRangePicker/DesktopDateRangePicker.js +1 -2
- package/node/DesktopDateTimePicker/DesktopDateTimePicker.js +1 -2
- package/node/DesktopTimePicker/DesktopTimePicker.js +1 -2
- package/node/LoadingButton/LoadingButton.js +1 -2
- package/node/LoadingButton/loadingButtonClasses.js +1 -2
- package/node/LocalizationProvider/LocalizationProvider.js +1 -2
- package/node/Masonry/Masonry.js +2 -3
- package/node/Masonry/masonryClasses.js +1 -2
- package/node/MobileDatePicker/MobileDatePicker.js +1 -2
- package/node/MobileDateRangePicker/MobileDateRangePicker.js +1 -2
- package/node/MobileDateTimePicker/MobileDateTimePicker.js +1 -2
- package/node/MobileTimePicker/MobileTimePicker.js +1 -2
- package/node/MonthPicker/MonthPicker.js +2 -4
- package/node/Pagination/Pagination.js +2 -3
- package/node/PaginationItem/PaginationItem.js +2 -3
- package/node/PickersDay/PickersDay.js +2 -4
- package/node/Rating/Rating.js +2 -3
- package/node/Skeleton/Skeleton.js +2 -3
- package/node/SpeedDial/SpeedDial.js +2 -3
- package/node/SpeedDialAction/SpeedDialAction.js +2 -3
- package/node/SpeedDialIcon/SpeedDialIcon.js +2 -3
- package/node/StaticDatePicker/StaticDatePicker.js +1 -2
- package/node/StaticDateRangePicker/StaticDateRangePicker.js +1 -2
- package/node/StaticDateTimePicker/StaticDateTimePicker.js +1 -2
- package/node/StaticTimePicker/StaticTimePicker.js +1 -2
- package/node/TabList/TabList.js +1 -2
- package/node/TabPanel/TabPanel.js +1 -2
- package/node/TabPanel/tabPanelClasses.js +1 -2
- package/node/TimePicker/TimePicker.js +1 -2
- package/node/Timeline/Timeline.js +1 -2
- package/node/Timeline/TimelineContext.js +1 -2
- package/node/Timeline/timelineClasses.js +1 -2
- package/node/TimelineConnector/TimelineConnector.js +1 -2
- package/node/TimelineConnector/timelineConnectorClasses.js +1 -2
- package/node/TimelineContent/TimelineContent.js +1 -2
- package/node/TimelineContent/timelineContentClasses.js +1 -2
- package/node/TimelineDot/TimelineDot.js +1 -2
- package/node/TimelineDot/timelineDotClasses.js +1 -2
- package/node/TimelineItem/TimelineItem.js +1 -2
- package/node/TimelineItem/timelineItemClasses.js +1 -2
- package/node/TimelineOppositeContent/TimelineOppositeContent.js +1 -2
- package/node/TimelineOppositeContent/timelineOppositeContentClasses.js +1 -2
- package/node/TimelineSeparator/TimelineSeparator.js +1 -2
- package/node/TimelineSeparator/timelineSeparatorClasses.js +1 -2
- package/node/ToggleButton/ToggleButton.js +2 -3
- package/node/ToggleButtonGroup/ToggleButtonGroup.js +2 -3
- package/node/TreeItem/TreeItem.js +2 -3
- package/node/TreeView/TreeView.js +2 -3
- package/node/YearPicker/YearPicker.js +2 -4
- package/node/index.js +1 -1
- package/node/internal/svg-icons/ArrowDropDown.js +2 -3
- package/node/internal/svg-icons/ArrowLeft.js +2 -3
- package/node/internal/svg-icons/ArrowRight.js +2 -3
- package/node/internal/svg-icons/Calendar.js +2 -3
- package/node/internal/svg-icons/Clock.js +2 -3
- package/node/internal/svg-icons/DateRange.js +2 -3
- package/node/internal/svg-icons/Pen.js +2 -3
- package/node/internal/svg-icons/Time.js +2 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,164 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.12
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.14.11..master -->
|
|
6
|
+
|
|
7
|
+
_Oct 3, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 17 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🎨 Introduced color inversion utilities to Joy UI (#38916) @siriwatknp
|
|
12
|
+
- 🚀 Added Chip and related TextField components to Material You @DiegoAndai, @mj12albert
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.14.12`
|
|
15
|
+
|
|
16
|
+
- [DialogActions] Apply margin-left when children is not of `button` type (#39189) @sai6855
|
|
17
|
+
- [Select] Improve a11y by adding combobox role and aria-controls attribute (#38785) @xulingzhihou
|
|
18
|
+
- [Select] Fix MenuProps slotProps forwarding (#39177) @DiegoAndai
|
|
19
|
+
- [TextField] Polish types in Textfield demo (#39140) @sai6855
|
|
20
|
+
- [ButtonGroup] Fix rendering with conditional elements (#38989) @ZeeshanTamboli
|
|
21
|
+
|
|
22
|
+
### `@mui/system@5.14.12`
|
|
23
|
+
|
|
24
|
+
- [system] Add support for `variants` in the styled() util (#39073) @mnajdova
|
|
25
|
+
- [Box] Add missing logical spacing property types (#39169) @Semigradsky
|
|
26
|
+
|
|
27
|
+
### `@mui/base@5.0.0-beta.18`
|
|
28
|
+
|
|
29
|
+
- [useSlider] Align externalProps handling (#38854) @mj12albert
|
|
30
|
+
- [useTabs] Align external props handling for useTab/useTabPanel/useTabsList (#39037) @mj12albert
|
|
31
|
+
- [test] Fix import paths in useTab tests (#39291) @mj12albert
|
|
32
|
+
|
|
33
|
+
### `@mui/material-next@6.0.0-alpha.104`
|
|
34
|
+
|
|
35
|
+
- [Chip] Add Material You Chip component (#38927) @DiegoAndai
|
|
36
|
+
- [Divider] Copy v5 Divider (#39197) @mj12albert
|
|
37
|
+
- [FilledInput] Copy v5 FilledInput (#39040) @mj12albert
|
|
38
|
+
- [FormControl] Add FormControl component (#39032) @mj12albert
|
|
39
|
+
- [Select] Copy Select files from v5 (#39188) @DiegoAndai
|
|
40
|
+
- [TextField] Copy v5 TextField's inner components (#39166) @mj12albert
|
|
41
|
+
|
|
42
|
+
### `@mui/joy@5.0.0-beta.9`
|
|
43
|
+
|
|
44
|
+
- Introduce color inversion utilities (#38916) @siriwatknp
|
|
45
|
+
- Replace margin with `gap` property (#39147) @siriwatknp
|
|
46
|
+
- [CssBaseline] use Joy `GlobalStyles` (#39278) @siriwatknp
|
|
47
|
+
- [Drawer] Apply content styles from theme to content slot (#39199) @sai6855
|
|
48
|
+
- [List] Add gap and missing active styles (#39146) @siriwatknp
|
|
49
|
+
- [Switch] Slight adjustments to the design (#39276) @danilo-leal
|
|
50
|
+
|
|
51
|
+
### Docs
|
|
52
|
+
|
|
53
|
+
- [docs] Update Autocomplete demo for React 18 (#39162) @oliviertassinari
|
|
54
|
+
- [docs-infra] Tweak feedback footer section design (#36556) @danilo-leal
|
|
55
|
+
- [docs-infra] Improve code syntax highlight (#39181) @oliviertassinari
|
|
56
|
+
- [docs][base] Add Tailwind CSS + plain CSS demo on the TextArea page (#39046) @alisasanib
|
|
57
|
+
- [docs][base-ui] Fix style for root div of multiline input (#39182) @ttlpta
|
|
58
|
+
- [docs][base-ui] Improve Select's country select demo (#38983) @oliviertassinari
|
|
59
|
+
- [docs][joy-ui] Add scrollable tabs example (#39260) @siriwatknp
|
|
60
|
+
- [docs][joy-ui] Match `Autocomplete` github label demo to actual github label dropdown (#39228) @sai6855
|
|
61
|
+
- [docs][joy-ui] Refine the Rental dashboard template (#39059) @zanivan
|
|
62
|
+
- [docs][joy-ui] Removed incomplete sentence in the Aspect Ratio page (#39227) @Erik-McKelvey
|
|
63
|
+
- [docs][joy-ui] Fix typo in the Accordion page (#39226) @Erik-McKelvey
|
|
64
|
+
- [docs][joy-ui] Update and standardize template Sidemenus (#39271) @zanivan
|
|
65
|
+
- [docs][joy-ui] Add a roadmap page (#39163) @danilo-leal
|
|
66
|
+
- [docs][material-ui] Replace `Box` with `Stack` in applicable demos (#39174) @sai6855
|
|
67
|
+
- [docs][material-ui] Add small polish to the Templates page (#39224) @danilo-leal
|
|
68
|
+
- [docs][material-ui] Small revision to the Icons page (#38840) @danilo-leal
|
|
69
|
+
|
|
70
|
+
### Core
|
|
71
|
+
|
|
72
|
+
- Add next lint config to eslint (#39183) @Janpot
|
|
73
|
+
- [core] Update eslint rules (#39178) @romgrk
|
|
74
|
+
- [core] Fix Greg GitHub slug @oliviertassinari
|
|
75
|
+
- [core] Priority Support casing normalization @oliviertassinari
|
|
76
|
+
- [website] Add Heat map in pricing page (#39269) @oliviertassinari
|
|
77
|
+
- [website] Update `React Engineer - xCharts` Ashby link (#39172) @DanailH
|
|
78
|
+
- [website] Add Charts to the pricing table (#38680) @alexfauquette
|
|
79
|
+
- [website] Polish career experience @oliviertassinari
|
|
80
|
+
- [website] Simplify the Core products file (#39194) @danilo-leal
|
|
81
|
+
|
|
82
|
+
All contributors of this release in alphabetical order: @alexfauquette, @brijeshb42, @DanailH, @danilo-leal, @DiegoAndai, @Erik-McKelvey, @Janpot, @mj12albert, @mnajdova, @oliviertassinari, @romgrk, @sai6855, @Semigradsky, @siriwatknp, @xulingzhihou, @zanivan, @ZeeshanTamboli
|
|
83
|
+
|
|
84
|
+
## 5.14.11
|
|
85
|
+
|
|
86
|
+
<!-- generated comparing v5.14.10..master -->
|
|
87
|
+
|
|
88
|
+
_Sep 26, 2023_
|
|
89
|
+
|
|
90
|
+
A big thanks to the 23 contributors who made this release possible.
|
|
91
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
92
|
+
|
|
93
|
+
### `@mui/material@5.14.11`
|
|
94
|
+
|
|
95
|
+
- [Autocomplete] Re-export `AutocompleteValue` to make it available from path import (#38638) @vadimka123
|
|
96
|
+
- [Select][material-ui] Missing aria-multiselectable attribute on multiple Select component (#38855) @gitstart
|
|
97
|
+
- [l10n] labelDisplayedRows is added for trTR localization (#39056) @tebersefa
|
|
98
|
+
|
|
99
|
+
### `@mui/utils@5.14.11`
|
|
100
|
+
|
|
101
|
+
- Support RSC in `isMuiElement` util (#38129) @sai6855
|
|
102
|
+
|
|
103
|
+
### `@mui/base@5.0.0-beta.17`
|
|
104
|
+
|
|
105
|
+
- [NumberInput] Support adornments (#38900) @anle9650
|
|
106
|
+
- [Menu] Align external props handling for useMenu/MenuButton/MenuItem (#38946) @mj12albert
|
|
107
|
+
- [Select] Align external props handling (#39038) @mj12albert
|
|
108
|
+
- [TextareaAutosize] Simplify logic and add test (#38728) @oliviertassinari
|
|
109
|
+
|
|
110
|
+
### `@mui/joy@5.0.0-beta.8`
|
|
111
|
+
|
|
112
|
+
- [Button] Fix disabled button styling when component prop is provided (#38996) @sai6855
|
|
113
|
+
- [Drawer] Add missing `JoyDrawer` in theme components (#39074) @Studio384
|
|
114
|
+
|
|
115
|
+
### `@mui/material-next@6.0.0-alpha.103`
|
|
116
|
+
|
|
117
|
+
- [FormControl] Copy v5 FormControl (#39039) @mj12albert
|
|
118
|
+
|
|
119
|
+
### `@mui/lab@5.0.0-alpha.146`
|
|
120
|
+
|
|
121
|
+
- [TreeView] Fix JSDoc comments in TreeView and TreeItem (#38874) @jergason
|
|
122
|
+
|
|
123
|
+
### Docs
|
|
124
|
+
|
|
125
|
+
- Improve focus trap demo (#38985) @oliviertassinari
|
|
126
|
+
- Add Tailwind CSS + plain CSS demo on the Tabs page (#39000) @alisasanib
|
|
127
|
+
- Improve the default theme viewer design (#39049) @danilo-leal
|
|
128
|
+
- Add live demo with CssVarsProvider (#38792) @oliviertassinari
|
|
129
|
+
- Fix wrong hash on Card's page (#39151) @mnajdova
|
|
130
|
+
- Revise the Drawer page (#38988) @danilo-leal
|
|
131
|
+
- Simplify the button's loading indicator demo (#39082) @danilo-leal
|
|
132
|
+
- Fix the Templates link on the Overview page (#39086) @danilo-leal
|
|
133
|
+
- Refine the Sign in template (#38942) @zanivan
|
|
134
|
+
- Add `use-count-up` integration with the Circular Progress (#38952) @anon-phantom
|
|
135
|
+
|
|
136
|
+
### Core
|
|
137
|
+
|
|
138
|
+
- [blog] Add a company values blog post (#38802) @mikailaread
|
|
139
|
+
- [core] Downgrade lerna to 7.2.0 (#39149) @michaldudak
|
|
140
|
+
- [core] Simplify docs feedback interaction (#39075) @alexfauquette
|
|
141
|
+
- [core] Improve ref type definition (#38903) @oliviertassinari
|
|
142
|
+
- [core] Simplify career (#39112) @oliviertassinari
|
|
143
|
+
- [core] Update Babel types along with source packages (#39070) @michaldudak
|
|
144
|
+
- [core] Add a comment to explain `useEnhancedEffect` (#39035) @Janpot
|
|
145
|
+
- [docs-infra] Fix code removal in table of content (#39165) @alexfauquette
|
|
146
|
+
- [docs-infra] Improve callouts design (#39084) @danilo-leal
|
|
147
|
+
- [docs-infra] Fix key warning in Base UI Slider slots section (#38954) @ZeeshanTamboli
|
|
148
|
+
- [docs-infra] Fix error when redirecting to the root page (#38451) @maheshguntur
|
|
149
|
+
- [docs-infra] Open demo crash in the right repository (#39006) @oliviertassinari
|
|
150
|
+
- [test] Split the test package (#39061) @michaldudak
|
|
151
|
+
- [website] React Engineer - xCharts role (#38976) @DanailH
|
|
152
|
+
- [website] Improve the highlighter component colors (#39087) @danilo-leal
|
|
153
|
+
- [website] Fix Pricing page row hover (#39097) @danilo-leal
|
|
154
|
+
- [website] Fix typo with straight quote @oliviertassinari
|
|
155
|
+
- [website] Sync about page @oliviertassinari
|
|
156
|
+
- [website] Update the about page (#38733) @danilo-leal
|
|
157
|
+
- [website] Small fixes on the X marketing page (#38975) @flaviendelangle
|
|
158
|
+
- [website] Add stray design tweaks to the X page (#38589) @danilo-leal
|
|
159
|
+
|
|
160
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @anle9650, @anon-phantom, @DanailH, @danilo-leal, @DiegoAndai, @flaviendelangle, @gitstart, @Janpot, @jergason, @maheshguntur, @michaldudak, @mikailaread, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @Studio384, @tebersefa, @vadimka123, @zanivan, @ZeeshanTamboli
|
|
161
|
+
|
|
3
162
|
## 5.14.10
|
|
4
163
|
|
|
5
164
|
<!-- generated comparing v5.14.9..master -->
|
package/Masonry/Masonry.js
CHANGED
|
@@ -229,7 +229,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
229
229
|
let animationFrame;
|
|
230
230
|
const resizeObserver = new ResizeObserver(() => {
|
|
231
231
|
// see https://github.com/mui/material-ui/issues/36909
|
|
232
|
-
animationFrame =
|
|
232
|
+
animationFrame = requestAnimationFrame(handleResize);
|
|
233
233
|
});
|
|
234
234
|
if (masonryRef.current) {
|
|
235
235
|
masonryRef.current.childNodes.forEach(childNode => {
|
package/TreeItem/TreeItem.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TreeItemProps } from '@mui/x-tree-view/TreeItem';
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-
|
|
4
|
+
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
5
5
|
* @ignore - do not document.
|
|
6
6
|
*/
|
|
7
7
|
declare const TreeItem: React.ForwardRefExoticComponent<TreeItemProps & React.RefAttributes<HTMLLIElement>>;
|
package/TreeItem/TreeItem.js
CHANGED
|
@@ -12,7 +12,7 @@ const warn = () => {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-
|
|
15
|
+
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
|
package/TreeView/TreeView.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TreeViewProps } from '@mui/x-tree-view/TreeView';
|
|
3
3
|
/**
|
|
4
|
-
* @deprecated The
|
|
4
|
+
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
5
5
|
* @ignore - do not document.
|
|
6
6
|
*/
|
|
7
7
|
declare const TreeView: React.ForwardRefExoticComponent<TreeViewProps & React.RefAttributes<HTMLUListElement>>;
|
package/TreeView/TreeView.js
CHANGED
|
@@ -12,7 +12,7 @@ const warn = () => {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The
|
|
15
|
+
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
|
package/index.js
CHANGED
|
@@ -232,7 +232,7 @@ var Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
232
232
|
var animationFrame;
|
|
233
233
|
var resizeObserver = new ResizeObserver(function () {
|
|
234
234
|
// see https://github.com/mui/material-ui/issues/36909
|
|
235
|
-
animationFrame =
|
|
235
|
+
animationFrame = requestAnimationFrame(handleResize);
|
|
236
236
|
});
|
|
237
237
|
if (masonryRef.current) {
|
|
238
238
|
masonryRef.current.childNodes.forEach(function (childNode) {
|
|
@@ -12,7 +12,7 @@ var warn = function warn() {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-
|
|
15
|
+
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
var TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
|
|
@@ -12,7 +12,7 @@ var warn = function warn() {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The
|
|
15
|
+
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
var TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
|
package/legacy/index.js
CHANGED
|
@@ -229,7 +229,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
229
229
|
let animationFrame;
|
|
230
230
|
const resizeObserver = new ResizeObserver(() => {
|
|
231
231
|
// see https://github.com/mui/material-ui/issues/36909
|
|
232
|
-
animationFrame =
|
|
232
|
+
animationFrame = requestAnimationFrame(handleResize);
|
|
233
233
|
});
|
|
234
234
|
if (masonryRef.current) {
|
|
235
235
|
masonryRef.current.childNodes.forEach(childNode => {
|
|
@@ -12,7 +12,7 @@ const warn = () => {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-
|
|
15
|
+
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
|
|
@@ -12,7 +12,7 @@ const warn = () => {
|
|
|
12
12
|
};
|
|
13
13
|
|
|
14
14
|
/**
|
|
15
|
-
* @deprecated The
|
|
15
|
+
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
16
16
|
* @ignore - do not document.
|
|
17
17
|
*/
|
|
18
18
|
const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
|
package/modern/index.js
CHANGED
package/node/Alert/Alert.js
CHANGED
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAlert(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedAlert(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The Alert component was moved from the lab to the core.', '', "You should use `import { Alert } from '@mui/material'`", "or `import Alert from '@mui/material/Alert'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAlert(props, ref
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Alert.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAlertTitle(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedAlertTitle(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The AlertTitle component was moved from the lab to the core.', '', "You should use `import { AlertTitle } from '@mui/material'`", "or `import AlertTitle from '@mui/material/AlertTitle'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAlertTitle(props
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AlertTitle.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAutocomplete(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedAutocomplete(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The Autocomplete component was moved from the lab to the core.', '', "You should use `import { Autocomplete } from '@mui/material'`", "or `import Autocomplete from '@mui/material/Autocomplete'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAutocomplete(pro
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Autocomplete.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The AvatarGroup component was moved from the lab to the core.', '', "You should use `import { AvatarGroup } from '@mui/material'`", "or `import AvatarGroup from '@mui/material/AvatarGroup'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedAvatarGroup(prop
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_AvatarGroup.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -24,7 +24,5 @@ const CalendarPicker = /*#__PURE__*/React.forwardRef(function DeprecatedCalendar
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = CalendarPicker;
|
|
28
|
-
exports.
|
|
29
|
-
const calendarPickerClasses = {};
|
|
30
|
-
exports.calendarPickerClasses = calendarPickerClasses;
|
|
27
|
+
var _default = exports.default = CalendarPicker;
|
|
28
|
+
const calendarPickerClasses = exports.calendarPickerClasses = {};
|
|
@@ -24,10 +24,8 @@ const CalendarPickerSkeleton = /*#__PURE__*/React.forwardRef(function Deprecated
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = CalendarPickerSkeleton;
|
|
28
|
-
exports.
|
|
29
|
-
const calendarPickerSkeletonClasses = {};
|
|
30
|
-
exports.calendarPickerSkeletonClasses = calendarPickerSkeletonClasses;
|
|
27
|
+
var _default = exports.default = CalendarPickerSkeleton;
|
|
28
|
+
const calendarPickerSkeletonClasses = exports.calendarPickerSkeletonClasses = {};
|
|
31
29
|
const getCalendarPickerSkeletonUtilityClass = slot => {
|
|
32
30
|
warn();
|
|
33
31
|
return '';
|
|
@@ -24,7 +24,5 @@ const ClockPicker = /*#__PURE__*/React.forwardRef(function DeprecatedClockPicker
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = ClockPicker;
|
|
28
|
-
exports.
|
|
29
|
-
const clockPickerClasses = {};
|
|
30
|
-
exports.clockPickerClasses = clockPickerClasses;
|
|
27
|
+
var _default = exports.default = ClockPicker;
|
|
28
|
+
const clockPickerClasses = exports.clockPickerClasses = {};
|
|
@@ -24,8 +24,7 @@ const DateRangePickerDay = /*#__PURE__*/React.forwardRef(function DeprecatedDate
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = DateRangePickerDay;
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
var _default = exports.default = DateRangePickerDay;
|
|
29
28
|
const getDateRangePickerDayUtilityClass = slot => {
|
|
30
29
|
warn();
|
|
31
30
|
return '';
|
|
@@ -220,5 +220,4 @@ process.env.NODE_ENV !== "production" ? LoadingButton.propTypes /* remove-propty
|
|
|
220
220
|
*/
|
|
221
221
|
variant: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['contained', 'outlined', 'text']), _propTypes.default.string])
|
|
222
222
|
} : void 0;
|
|
223
|
-
var _default = LoadingButton;
|
|
224
|
-
exports.default = _default;
|
|
223
|
+
var _default = exports.default = LoadingButton;
|
|
@@ -12,5 +12,4 @@ function getLoadingButtonUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiLoadingButton', slot);
|
|
13
13
|
}
|
|
14
14
|
const loadingButtonClasses = (0, _generateUtilityClasses.default)('MuiLoadingButton', ['root', 'loading', 'loadingIndicator', 'loadingIndicatorCenter', 'loadingIndicatorStart', 'loadingIndicatorEnd', 'endIconLoadingEnd', 'startIconLoadingStart']);
|
|
15
|
-
var _default = loadingButtonClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = loadingButtonClasses;
|
package/node/Masonry/Masonry.js
CHANGED
|
@@ -239,7 +239,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
239
239
|
let animationFrame;
|
|
240
240
|
const resizeObserver = new ResizeObserver(() => {
|
|
241
241
|
// see https://github.com/mui/material-ui/issues/36909
|
|
242
|
-
animationFrame =
|
|
242
|
+
animationFrame = requestAnimationFrame(handleResize);
|
|
243
243
|
});
|
|
244
244
|
if (masonryRef.current) {
|
|
245
245
|
masonryRef.current.childNodes.forEach(childNode => {
|
|
@@ -323,5 +323,4 @@ process.env.NODE_ENV !== "production" ? Masonry.propTypes /* remove-proptypes */
|
|
|
323
323
|
*/
|
|
324
324
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
325
325
|
} : void 0;
|
|
326
|
-
var _default = Masonry;
|
|
327
|
-
exports.default = _default;
|
|
326
|
+
var _default = exports.default = Masonry;
|
|
@@ -12,5 +12,4 @@ function getMasonryUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiMasonry', slot);
|
|
13
13
|
}
|
|
14
14
|
const masonryClasses = (0, _generateUtilityClasses.default)('MuiMasonry', ['root']);
|
|
15
|
-
var _default = masonryClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = masonryClasses;
|
|
@@ -24,10 +24,8 @@ const MonthPicker = /*#__PURE__*/React.forwardRef(function DeprecatedMonthPicker
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = MonthPicker;
|
|
28
|
-
exports.
|
|
29
|
-
const monthPickerClasses = {};
|
|
30
|
-
exports.monthPickerClasses = monthPickerClasses;
|
|
27
|
+
var _default = exports.default = MonthPicker;
|
|
28
|
+
const monthPickerClasses = exports.monthPickerClasses = {};
|
|
31
29
|
const getMonthPickerUtilityClass = slot => {
|
|
32
30
|
warn();
|
|
33
31
|
return '';
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedPagination(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedPagination(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The Pagination component was moved from the lab to the core.', '', "You should use `import { Pagination } from '@mui/material'`", "or `import Pagination from '@mui/material/Pagination'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedPagination(props
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Pagination.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedPaginationItem(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedPaginationItem(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The PaginationItem component was moved from the lab to the core.', '', "You should use `import { PaginationItem } from '@mui/material'`", "or `import PaginationItem from '@mui/material/PaginationItem'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedPaginationItem(p
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_PaginationItem.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -24,10 +24,8 @@ const PickersDay = /*#__PURE__*/React.forwardRef(function DeprecatedPickersDay()
|
|
|
24
24
|
warn();
|
|
25
25
|
return null;
|
|
26
26
|
});
|
|
27
|
-
var _default = PickersDay;
|
|
28
|
-
exports.
|
|
29
|
-
const pickersDayClasses = {};
|
|
30
|
-
exports.pickersDayClasses = pickersDayClasses;
|
|
27
|
+
var _default = exports.default = PickersDay;
|
|
28
|
+
const pickersDayClasses = exports.pickersDayClasses = {};
|
|
31
29
|
const getPickersDayUtilityClass = slot => {
|
|
32
30
|
warn();
|
|
33
31
|
return '';
|
package/node/Rating/Rating.js
CHANGED
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedRating(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedRating(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The Rating component was moved from the lab to the core.', '', "You should use `import { Rating } from '@mui/material'`", "or `import Rating from '@mui/material/Rating'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedRating(props, re
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Rating.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSkeleton(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedSkeleton(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The Skeleton component was moved from the lab to the core.', '', "You should use `import { Skeleton } from '@mui/material'`", "or `import Skeleton from '@mui/material/Skeleton'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSkeleton(props,
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Skeleton.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDial(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDial(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The SpeedDial component was moved from the lab to the core.', '', "You should use `import { SpeedDial } from '@mui/material'`", "or `import SpeedDial from '@mui/material/SpeedDial'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDial(props,
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDial.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialAction(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialAction(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The SpeedDialAction component was moved from the lab to the core.', '', "You should use `import { SpeedDialAction } from '@mui/material'`", "or `import SpeedDialAction from '@mui/material/SpeedDialAction'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialAction(
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDialAction.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The SpeedDialIcon component was moved from the lab to the core.', '', "You should use `import { SpeedDialIcon } from '@mui/material'`", "or `import SpeedDialIcon from '@mui/material/SpeedDialIcon'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedSpeedDialIcon(pr
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SpeedDialIcon.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
package/node/TabList/TabList.js
CHANGED
|
@@ -12,5 +12,4 @@ function getTabPanelUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTabPanel', slot);
|
|
13
13
|
}
|
|
14
14
|
const tabPanelClasses = (0, _generateUtilityClasses.default)('MuiTabPanel', ['root']);
|
|
15
|
-
var _default = tabPanelClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = tabPanelClasses;
|
|
@@ -14,5 +14,4 @@ const TimelineContext = /*#__PURE__*/React.createContext({});
|
|
|
14
14
|
if (process.env.NODE_ENV !== 'production') {
|
|
15
15
|
TimelineContext.displayName = 'TimelineContext';
|
|
16
16
|
}
|
|
17
|
-
var _default = TimelineContext;
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
var _default = exports.default = TimelineContext;
|
|
@@ -12,5 +12,4 @@ function getTimelineUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimeline', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineClasses = (0, _generateUtilityClasses.default)('MuiTimeline', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);
|
|
15
|
-
var _default = timelineClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineClasses;
|
|
@@ -78,5 +78,4 @@ process.env.NODE_ENV !== "production" ? TimelineConnector.propTypes /* remove-pr
|
|
|
78
78
|
*/
|
|
79
79
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
80
80
|
} : void 0;
|
|
81
|
-
var _default = TimelineConnector;
|
|
82
|
-
exports.default = _default;
|
|
81
|
+
var _default = exports.default = TimelineConnector;
|
|
@@ -12,5 +12,4 @@ function getTimelineConnectorUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineConnector', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineConnectorClasses = (0, _generateUtilityClasses.default)('MuiTimelineConnector', ['root']);
|
|
15
|
-
var _default = timelineConnectorClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineConnectorClasses;
|
|
@@ -93,5 +93,4 @@ process.env.NODE_ENV !== "production" ? TimelineContent.propTypes /* remove-prop
|
|
|
93
93
|
*/
|
|
94
94
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
95
95
|
} : void 0;
|
|
96
|
-
var _default = TimelineContent;
|
|
97
|
-
exports.default = _default;
|
|
96
|
+
var _default = exports.default = TimelineContent;
|
|
@@ -12,5 +12,4 @@ function getTimelineContentUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineContent', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineContentClasses = (0, _generateUtilityClasses.default)('MuiTimelineContent', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);
|
|
15
|
-
var _default = timelineContentClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineContentClasses;
|
|
@@ -120,5 +120,4 @@ process.env.NODE_ENV !== "production" ? TimelineDot.propTypes /* remove-proptype
|
|
|
120
120
|
*/
|
|
121
121
|
variant: _propTypes.default /* @typescript-to-proptypes-ignore */.oneOfType([_propTypes.default.oneOf(['filled', 'outlined']), _propTypes.default.string])
|
|
122
122
|
} : void 0;
|
|
123
|
-
var _default = TimelineDot;
|
|
124
|
-
exports.default = _default;
|
|
123
|
+
var _default = exports.default = TimelineDot;
|
|
@@ -12,5 +12,4 @@ function getTimelineDotUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineDot', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineDotClasses = (0, _generateUtilityClasses.default)('MuiTimelineDot', ['root', 'filled', 'outlined', 'filledGrey', 'outlinedGrey', 'filledPrimary', 'outlinedPrimary', 'filledSecondary', 'outlinedSecondary']);
|
|
15
|
-
var _default = timelineDotClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineDotClasses;
|
|
@@ -130,5 +130,4 @@ process.env.NODE_ENV !== "production" ? TimelineItem.propTypes /* remove-proptyp
|
|
|
130
130
|
*/
|
|
131
131
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
132
132
|
} : void 0;
|
|
133
|
-
var _default = TimelineItem;
|
|
134
|
-
exports.default = _default;
|
|
133
|
+
var _default = exports.default = TimelineItem;
|
|
@@ -12,5 +12,4 @@ function getTimelineItemUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineItem', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineItemClasses = (0, _generateUtilityClasses.default)('MuiTimelineItem', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse', 'missingOppositeContent']);
|
|
15
|
-
var _default = timelineItemClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineItemClasses;
|
|
@@ -95,5 +95,4 @@ process.env.NODE_ENV !== "production" ? TimelineOppositeContent.propTypes /* rem
|
|
|
95
95
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
96
96
|
} : void 0;
|
|
97
97
|
TimelineOppositeContent.muiName = 'TimelineOppositeContent';
|
|
98
|
-
var _default = TimelineOppositeContent;
|
|
99
|
-
exports.default = _default;
|
|
98
|
+
var _default = exports.default = TimelineOppositeContent;
|
|
@@ -12,5 +12,4 @@ function getTimelineOppositeContentUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineOppositeContent', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineOppositeContentClasses = (0, _generateUtilityClasses.default)('MuiTimelineOppositeContent', ['root', 'positionLeft', 'positionRight', 'positionAlternate', 'positionAlternateReverse']);
|
|
15
|
-
var _default = timelineOppositeContentClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineOppositeContentClasses;
|
|
@@ -75,5 +75,4 @@ process.env.NODE_ENV !== "production" ? TimelineSeparator.propTypes /* remove-pr
|
|
|
75
75
|
*/
|
|
76
76
|
sx: _propTypes.default.oneOfType([_propTypes.default.arrayOf(_propTypes.default.oneOfType([_propTypes.default.func, _propTypes.default.object, _propTypes.default.bool])), _propTypes.default.func, _propTypes.default.object])
|
|
77
77
|
} : void 0;
|
|
78
|
-
var _default = TimelineSeparator;
|
|
79
|
-
exports.default = _default;
|
|
78
|
+
var _default = exports.default = TimelineSeparator;
|
|
@@ -12,5 +12,4 @@ function getTimelineSeparatorUtilityClass(slot) {
|
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiTimelineSeparator', slot);
|
|
13
13
|
}
|
|
14
14
|
const timelineSeparatorClasses = (0, _generateUtilityClasses.default)('MuiTimelineSeparator', ['root']);
|
|
15
|
-
var _default = timelineSeparatorClasses;
|
|
16
|
-
exports.default = _default;
|
|
15
|
+
var _default = exports.default = timelineSeparatorClasses;
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The ToggleButton component was moved from the lab to the core.', '', "You should use `import { ToggleButton } from '@mui/material'`", "or `import ToggleButton from '@mui/material/ToggleButton'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButton(pro
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleButton.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -16,7 +16,7 @@ let warnedOnce = false;
|
|
|
16
16
|
/**
|
|
17
17
|
* @ignore - do not document.
|
|
18
18
|
*/
|
|
19
|
-
var _default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGroup(props, ref) {
|
|
19
|
+
var _default = exports.default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGroup(props, ref) {
|
|
20
20
|
if (!warnedOnce) {
|
|
21
21
|
console.warn(['MUI: The ToggleButtonGroup component was moved from the lab to the core.', '', "You should use `import { ToggleButtonGroup } from '@mui/material'`", "or `import ToggleButtonGroup from '@mui/material/ToggleButtonGroup'`"].join('\n'));
|
|
22
22
|
warnedOnce = true;
|
|
@@ -24,5 +24,4 @@ var _default = /*#__PURE__*/React.forwardRef(function DeprecatedToggleButtonGrou
|
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_ToggleButtonGroup.default, (0, _extends2.default)({
|
|
25
25
|
ref: ref
|
|
26
26
|
}, props));
|
|
27
|
-
});
|
|
28
|
-
exports.default = _default;
|
|
27
|
+
});
|
|
@@ -21,7 +21,7 @@ const warn = () => {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-
|
|
24
|
+
* @deprecated The TreeItem component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
25
25
|
* @ignore - do not document.
|
|
26
26
|
*/
|
|
27
27
|
const TreeItem = /*#__PURE__*/React.forwardRef(function DeprecatedTreeItem(props, ref) {
|
|
@@ -40,5 +40,4 @@ process.env.NODE_ENV !== "production" ? TreeItem.propTypes /* remove-proptypes *
|
|
|
40
40
|
*/
|
|
41
41
|
children: _propTypes.default.node
|
|
42
42
|
} : void 0;
|
|
43
|
-
var _default = TreeItem;
|
|
44
|
-
exports.default = _default;
|
|
43
|
+
var _default = exports.default = TreeItem;
|
|
@@ -21,7 +21,7 @@ const warn = () => {
|
|
|
21
21
|
};
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
|
-
* @deprecated The
|
|
24
|
+
* @deprecated The TreeView component was moved from `@mui/lab` to `@mui/x-tree-view`. More information about this migration on our blog: https://mui.com/blog/lab-tree-view-to-mui-x/.
|
|
25
25
|
* @ignore - do not document.
|
|
26
26
|
*/
|
|
27
27
|
const TreeView = /*#__PURE__*/React.forwardRef(function DeprecatedTreeView(props, ref) {
|
|
@@ -40,5 +40,4 @@ process.env.NODE_ENV !== "production" ? TreeView.propTypes /* remove-proptypes *
|
|
|
40
40
|
*/
|
|
41
41
|
children: _propTypes.default.node
|
|
42
42
|
} : void 0;
|
|
43
|
-
var _default = TreeView;
|
|
44
|
-
exports.default = _default;
|
|
43
|
+
var _default = exports.default = TreeView;
|
|
@@ -21,10 +21,8 @@ const YearPicker = function DeprecatedYearPicker() {
|
|
|
21
21
|
warn();
|
|
22
22
|
return null;
|
|
23
23
|
};
|
|
24
|
-
var _default = YearPicker;
|
|
25
|
-
exports.
|
|
26
|
-
const yearPickerClasses = {};
|
|
27
|
-
exports.yearPickerClasses = yearPickerClasses;
|
|
24
|
+
var _default = exports.default = YearPicker;
|
|
25
|
+
const yearPickerClasses = exports.yearPickerClasses = {};
|
|
28
26
|
const getYearPickerUtilityClass = slot => {
|
|
29
27
|
warn();
|
|
30
28
|
return '';
|
package/node/index.js
CHANGED
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M7 10l5 5 5-5z"
|
|
17
|
-
}), 'ArrowDropDown');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'ArrowDropDown');
|
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z"
|
|
17
|
-
}), 'ArrowLeft');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'ArrowLeft');
|
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z"
|
|
17
|
-
}), 'ArrowRight');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'ArrowRight');
|
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z"
|
|
17
|
-
}), 'Calendar');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'Calendar');
|
|
@@ -12,11 +12,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
16
16
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
17
17
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
18
18
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
19
|
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
20
20
|
})]
|
|
21
|
-
}), 'Clock');
|
|
22
|
-
exports.default = _default;
|
|
21
|
+
}), 'Clock');
|
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M9 11H7v2h2v-2zm4 0h-2v2h2v-2zm4 0h-2v2h2v-2zm2-7h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V9h14v11z"
|
|
17
|
-
}), 'DateRange');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'DateRange');
|
|
@@ -12,7 +12,6 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
16
|
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"
|
|
17
|
-
}), 'Pen');
|
|
18
|
-
exports.default = _default;
|
|
17
|
+
}), 'Pen');
|
|
@@ -12,11 +12,10 @@ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj &&
|
|
|
12
12
|
/**
|
|
13
13
|
* @ignore - internal component.
|
|
14
14
|
*/
|
|
15
|
-
var _default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
15
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
16
16
|
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
17
17
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"
|
|
18
18
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
19
|
d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"
|
|
20
20
|
})]
|
|
21
|
-
}), 'Time');
|
|
22
|
-
exports.default = _default;
|
|
21
|
+
}), 'Time');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.147",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "Laboratory for new MUI modules.",
|
|
@@ -28,11 +28,11 @@
|
|
|
28
28
|
"url": "https://opencollective.com/mui"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.
|
|
32
|
-
"@mui/base": "5.0.0-beta.
|
|
33
|
-
"@mui/system": "^5.14.
|
|
34
|
-
"@mui/types": "^7.2.
|
|
35
|
-
"@mui/utils": "^5.14.
|
|
31
|
+
"@babel/runtime": "^7.23.1",
|
|
32
|
+
"@mui/base": "5.0.0-beta.18",
|
|
33
|
+
"@mui/system": "^5.14.12",
|
|
34
|
+
"@mui/types": "^7.2.5",
|
|
35
|
+
"@mui/utils": "^5.14.12",
|
|
36
36
|
"@mui/x-tree-view": "6.0.0-alpha.1",
|
|
37
37
|
"clsx": "^2.0.0",
|
|
38
38
|
"prop-types": "^15.8.1"
|