@mui/lab 7.0.0-beta.11 → 7.0.0-beta.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 +97 -0
- package/Masonry/Masonry.js +9 -10
- package/TabPanel/TabPanel.js +1 -2
- package/TimelineConnector/TimelineConnector.js +1 -2
- package/TimelineSeparator/TimelineSeparator.js +1 -2
- package/esm/Masonry/Masonry.js +4 -5
- package/esm/TabPanel/TabPanel.js +1 -2
- package/esm/TimelineConnector/TimelineConnector.js +1 -2
- package/esm/TimelineSeparator/TimelineSeparator.js +1 -2
- package/esm/index.js +1 -1
- package/index.js +1 -1
- package/package.json +9 -9
- package/modern/AdapterDateFns/AdapterDateFns.d.ts +0 -6
- package/modern/AdapterDateFns/index.d.ts +0 -1
- package/modern/AdapterDayjs/AdapterDayjs.d.ts +0 -6
- package/modern/AdapterDayjs/index.d.ts +0 -1
- package/modern/AdapterLuxon/AdapterLuxon.d.ts +0 -6
- package/modern/AdapterLuxon/index.d.ts +0 -1
- package/modern/AdapterMoment/AdapterMoment.d.ts +0 -6
- package/modern/AdapterMoment/index.d.ts +0 -1
- package/modern/CalendarPicker/CalendarPicker.d.ts +0 -15
- package/modern/CalendarPicker/index.d.ts +0 -2
- package/modern/CalendarPickerSkeleton/CalendarPickerSkeleton.d.ts +0 -14
- package/modern/CalendarPickerSkeleton/index.d.ts +0 -2
- package/modern/ClockPicker/ClockPicker.d.ts +0 -15
- package/modern/ClockPicker/index.d.ts +0 -2
- package/modern/DatePicker/DatePicker.d.ts +0 -10
- package/modern/DatePicker/index.d.ts +0 -2
- package/modern/DateRangePicker/DateRangePicker.d.ts +0 -12
- package/modern/DateRangePicker/index.d.ts +0 -2
- package/modern/DateRangePickerDay/DateRangePickerDay.d.ts +0 -14
- package/modern/DateRangePickerDay/index.d.ts +0 -2
- package/modern/DateTimePicker/DateTimePicker.d.ts +0 -11
- package/modern/DateTimePicker/index.d.ts +0 -2
- package/modern/DesktopDatePicker/DesktopDatePicker.d.ts +0 -11
- package/modern/DesktopDatePicker/index.d.ts +0 -2
- package/modern/DesktopDateRangePicker/DesktopDateRangePicker.d.ts +0 -11
- package/modern/DesktopDateRangePicker/index.d.ts +0 -2
- package/modern/DesktopDateTimePicker/DesktopDateTimePicker.d.ts +0 -11
- package/modern/DesktopDateTimePicker/index.d.ts +0 -2
- package/modern/DesktopTimePicker/DesktopTimePicker.d.ts +0 -11
- package/modern/DesktopTimePicker/index.d.ts +0 -2
- package/modern/LoadingButton/LoadingButton.d.ts +0 -3
- package/modern/LoadingButton/index.d.ts +0 -2
- package/modern/LocalizationProvider/LocalizationProvider.d.ts +0 -11
- package/modern/LocalizationProvider/index.d.ts +0 -2
- package/modern/Masonry/Masonry.d.ts +0 -62
- package/modern/Masonry/index.d.ts +0 -4
- package/modern/Masonry/masonryClasses.d.ts +0 -8
- package/modern/MobileDatePicker/MobileDatePicker.d.ts +0 -11
- package/modern/MobileDatePicker/index.d.ts +0 -2
- package/modern/MobileDateRangePicker/MobileDateRangePicker.d.ts +0 -11
- package/modern/MobileDateRangePicker/index.d.ts +0 -2
- package/modern/MobileDateTimePicker/MobileDateTimePicker.d.ts +0 -11
- package/modern/MobileDateTimePicker/index.d.ts +0 -2
- package/modern/MobileTimePicker/MobileTimePicker.d.ts +0 -11
- package/modern/MobileTimePicker/index.d.ts +0 -2
- package/modern/MonthPicker/MonthPicker.d.ts +0 -14
- package/modern/MonthPicker/index.d.ts +0 -2
- package/modern/PickersDay/PickersDay.d.ts +0 -14
- package/modern/PickersDay/index.d.ts +0 -2
- package/modern/StaticDatePicker/StaticDatePicker.d.ts +0 -11
- package/modern/StaticDatePicker/index.d.ts +0 -2
- package/modern/StaticDateRangePicker/StaticDateRangePicker.d.ts +0 -11
- package/modern/StaticDateRangePicker/index.d.ts +0 -2
- package/modern/StaticDateTimePicker/StaticDateTimePicker.d.ts +0 -11
- package/modern/StaticDateTimePicker/index.d.ts +0 -2
- package/modern/StaticTimePicker/StaticTimePicker.d.ts +0 -11
- package/modern/StaticTimePicker/index.d.ts +0 -2
- package/modern/TabContext/TabContext.d.ts +0 -29
- package/modern/TabContext/index.d.ts +0 -2
- package/modern/TabList/TabList.d.ts +0 -30
- package/modern/TabList/index.d.ts +0 -2
- package/modern/TabPanel/TabPanel.d.ts +0 -41
- package/modern/TabPanel/index.d.ts +0 -4
- package/modern/TabPanel/tabPanelClasses.d.ts +0 -10
- package/modern/TimePicker/TimePicker.d.ts +0 -11
- package/modern/TimePicker/index.d.ts +0 -2
- package/modern/Timeline/Timeline.d.ts +0 -24
- package/modern/Timeline/Timeline.types.d.ts +0 -27
- package/modern/Timeline/TimelineContext.d.ts +0 -6
- package/modern/Timeline/index.d.ts +0 -4
- package/modern/Timeline/timelineClasses.d.ts +0 -16
- package/modern/TimelineConnector/TimelineConnector.d.ts +0 -31
- package/modern/TimelineConnector/index.d.ts +0 -4
- package/modern/TimelineConnector/timelineConnectorClasses.d.ts +0 -8
- package/modern/TimelineContent/TimelineContent.d.ts +0 -32
- package/modern/TimelineContent/index.d.ts +0 -4
- package/modern/TimelineContent/timelineContentClasses.d.ts +0 -16
- package/modern/TimelineDot/TimelineDot.d.ts +0 -44
- package/modern/TimelineDot/index.d.ts +0 -4
- package/modern/TimelineDot/timelineDotClasses.d.ts +0 -24
- package/modern/TimelineItem/TimelineItem.d.ts +0 -35
- package/modern/TimelineItem/index.d.ts +0 -4
- package/modern/TimelineItem/timelineItemClasses.d.ts +0 -18
- package/modern/TimelineOppositeContent/TimelineOppositeContent.d.ts +0 -35
- package/modern/TimelineOppositeContent/index.d.ts +0 -4
- package/modern/TimelineOppositeContent/timelineOppositeContentClasses.d.ts +0 -16
- package/modern/TimelineSeparator/TimelineSeparator.d.ts +0 -31
- package/modern/TimelineSeparator/index.d.ts +0 -4
- package/modern/TimelineSeparator/timelineSeparatorClasses.d.ts +0 -8
- package/modern/TreeItem/TreeItem.d.ts +0 -11
- package/modern/TreeItem/index.d.ts +0 -2
- package/modern/TreeView/TreeView.d.ts +0 -11
- package/modern/TreeView/index.d.ts +0 -2
- package/modern/YearPicker/YearPicker.d.ts +0 -15
- package/modern/YearPicker/index.d.ts +0 -2
- package/modern/index.d.ts +0 -78
- package/modern/internal/convertTimelinePositionToClass.d.ts +0 -1
- package/modern/internal/svg-icons/ArrowDropDown.d.ts +0 -7
- package/modern/internal/svg-icons/ArrowLeft.d.ts +0 -7
- package/modern/internal/svg-icons/ArrowRight.d.ts +0 -7
- package/modern/internal/svg-icons/Calendar.d.ts +0 -7
- package/modern/internal/svg-icons/Clock.d.ts +0 -7
- package/modern/internal/svg-icons/DateRange.d.ts +0 -7
- package/modern/internal/svg-icons/Pen.d.ts +0 -7
- package/modern/internal/svg-icons/Time.d.ts +0 -7
- package/modern/themeAugmentation/components.d.ts +0 -63
- package/modern/themeAugmentation/index.d.ts +0 -3
- package/modern/themeAugmentation/overrides.d.ts +0 -28
- package/modern/themeAugmentation/props.d.ts +0 -28
- package/modern/useAutocomplete/index.d.ts +0 -1
- package/modern/zero-styled/index.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,102 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 7.1.0
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v7.0.2..master -->
|
|
6
|
+
|
|
7
|
+
_May 6, 2025_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 21 contributors who made this release possible. Here are some highlights ✨:
|
|
10
|
+
|
|
11
|
+
- 🎉 Material UI now works with **Tailwind CSS v4**! Check out the [setup guide](https://mui.com/material-ui/integrations/tailwindcss/tailwindcss-v4/).
|
|
12
|
+
|
|
13
|
+
### `@mui/material@7.1.0`
|
|
14
|
+
|
|
15
|
+
- [InputBase] Text cursor jumps several lines up when inserting text fragment with new line at the end (#45246) @yermartee
|
|
16
|
+
- [OutlinedInput] Add missing `notchedOutline` slot (#45917) @siriwatknp
|
|
17
|
+
- [Snackbar] Skip default `onClickAway` behavior when `defaultMuiPrevented` is provided (#45629) @sai6855
|
|
18
|
+
- [Avatar] Fix img slot types and add missing slots (#45483) @siriwatknp
|
|
19
|
+
- [Badge] Replace useSlotProps with useSlot hook (#45871) @sai6855
|
|
20
|
+
- [BottomNavigationAction] Add slots and slotProps (#45776) @sai6855
|
|
21
|
+
- [CardActionArea] Add slots and slotProps (#45866) @sai6855
|
|
22
|
+
- [useMediaQuery] Add warning and docs for using `useMediaQuery('print')` (#44790) @good-jinu
|
|
23
|
+
- Remove unnecessary clsx usages (#46084) @sai6855
|
|
24
|
+
- Corrected generic type definition in `SelectChangeEvent` (#45941) @SuyashShukla0007
|
|
25
|
+
- Fix theme object changes between renders (#45863) @siriwatknp
|
|
26
|
+
|
|
27
|
+
### `@mui/material-nextjs@7.1.0`
|
|
28
|
+
|
|
29
|
+
- Add option to enable CSS layers for pages router (#45596) @siriwatknp
|
|
30
|
+
- Do not wrap `@layer` order rules in App Router (#45864) @Nayeem-XTREME
|
|
31
|
+
|
|
32
|
+
### `@mui/system@7.1.0`
|
|
33
|
+
|
|
34
|
+
- Fix `@mui/system` types organization (#45860) @Janpot
|
|
35
|
+
|
|
36
|
+
### `@mui/styled-engine@7.1.0`
|
|
37
|
+
|
|
38
|
+
- Infer `ownerState` from props in `styled` (#46083) @siriwatknp
|
|
39
|
+
- Fix style overrides variants type (#45478) @siriwatknp
|
|
40
|
+
|
|
41
|
+
### Docs
|
|
42
|
+
|
|
43
|
+
- [Avatar] Add avatar upload demo (#45986) @Demianeen
|
|
44
|
+
- [Dialog] Remove deprecated props usage in demos (#45923) @sai6855
|
|
45
|
+
- [Menu] Update `paper` slot JSDoc default from `Paper` to `PopoverPaper` (#45722) @andreachiera
|
|
46
|
+
- [examples] Remove create-react-app usages (#45426) @CodeLeom
|
|
47
|
+
- Add `AccordionSummary` to the v5 breaking change migration (#45947) @siriwatknp
|
|
48
|
+
- Update CSS variable usage in migration guide for Pigment CSS (#46033) @sai6855
|
|
49
|
+
- Fix docs API dark mode color (#46086) @alexfauquette
|
|
50
|
+
- Add a guide for extending Material UI classes in Tailwind CSS (#46039) @siriwatknp
|
|
51
|
+
- Add `InitColorSchemeScript` docs and API (#45927) @siriwatknp
|
|
52
|
+
- Add Tailwind CSS v4 integration guide (#45906) @siriwatknp
|
|
53
|
+
- Fix 301 links to the system v6 (#45931) @oliviertassinari
|
|
54
|
+
- Add notification for MUI X v8 announcement (#45942) @joserodolfofreitas
|
|
55
|
+
- Fix som 301 redirections (ae84b35) @oliviertassinari
|
|
56
|
+
- Fix some 301 redirections (057384e) @oliviertassinari
|
|
57
|
+
- Fix logo is not centered on small screens (#45920) @crabsim
|
|
58
|
+
- Fix line break typo (a2a62d5) @oliviertassinari
|
|
59
|
+
- Fix markdown typo in templates.md (#45914) @scyzoryck
|
|
60
|
+
- Add Next.js App Router guide for custom classnames (#45852) @siriwatknp
|
|
61
|
+
|
|
62
|
+
### Core
|
|
63
|
+
|
|
64
|
+
- [code-infra] Give a stable name to dev tool app (3889ded) @oliviertassinari
|
|
65
|
+
- [code-infra] Normalize author package in org (8135638) @oliviertassinari
|
|
66
|
+
- [code-infra] Correct some manually curated .d.ts files (#46054) @Janpot
|
|
67
|
+
- [code-infra] Align deps versions (#46048) @Janpot
|
|
68
|
+
- [code-infra] Fix dynamic import in imports resolver (#46046) @Janpot
|
|
69
|
+
- [code-infra] Eliminate `@mui/utils` deep imports (#46004) @Janpot
|
|
70
|
+
- [code-infra] Expand renovate.json for react types (#45935) @Janpot
|
|
71
|
+
- [code-infra] Make Argos upload script reusable (#45883) @Janpot
|
|
72
|
+
- [code-infra] Disallow redundant window prefixes for globals (#45880) @Janpot
|
|
73
|
+
- [code-infra] Remove type generation of modern build (#45912) @Janpot
|
|
74
|
+
- [code-infra] Clean up bundle size checker (#45622) @Janpot
|
|
75
|
+
- [code-infra] Fix `StrictMode` effects not being called twice in React 19 tests (#45812) @bernardobelchior
|
|
76
|
+
- [code-infra] Convert `@mui/utils` to typescript (#45671) @Janpot
|
|
77
|
+
- [docs-infra] Improve export into sandbox package.json (#46044) @oliviertassinari
|
|
78
|
+
- [docs-infra] Update feedback Node.js to v22 (#46064) @oliviertassinari
|
|
79
|
+
- [docs-infra] Normalize netlify.toml in org (b101d5c) @oliviertassinari
|
|
80
|
+
- [docs-infra] Uniformize Vale between repositories (0f79796) @oliviertassinari
|
|
81
|
+
- [docs-infra] Fix Vale no longer working (#46029) @oliviertassinari
|
|
82
|
+
- [docs-infra] Remove demo styling switch (#45926) @Janpot
|
|
83
|
+
- [docs-infra] StackBlitz WebContainer demos (#45924) @Janpot
|
|
84
|
+
- [docs-infra] Fix feedback management (#45872) @alexfauquette
|
|
85
|
+
- [test] Replace `playwright` with `@playwright/test` (#45998) @ZeeshanTamboli
|
|
86
|
+
- Fix internal version duplication (#46051) @oliviertassinari
|
|
87
|
+
- Avoid the need for `@mui/material/themeCssVarsAugmentation` (#46053) @Janpot
|
|
88
|
+
- Add security label to dependabot PRs (0a5c027) @oliviertassinari
|
|
89
|
+
- Remove unecessary versions (#46034) @oliviertassinari
|
|
90
|
+
- Remove redundant overrides resolver (#45970) @romgrk
|
|
91
|
+
- Fix duplicate branch reference (#45915) @oliviertassinari
|
|
92
|
+
- Fix outdated <link rel="shortcut icon" (#45916) @oliviertassinari
|
|
93
|
+
- Fix redirection chains (#45930) @oliviertassinari
|
|
94
|
+
- Run pnpm docs:sync-team (beee09f) @oliviertassinari
|
|
95
|
+
- Add `pkg.pr.new` publishing (#42984) @Aslemammad
|
|
96
|
+
- Remove @mui/base from the master branch (#45857) @mnajdova
|
|
97
|
+
|
|
98
|
+
All contributors of this release in alphabetical order: @alexfauquette, @andreachiera, @Aslemammad, @bernardobelchior, @CodeLeom, @crabsim, @Demianeen, @good-jinu, @Janpot, @joserodolfofreitas, @mnajdova, @Nayeem-XTREME, @oliviertassinari, @renovate[bot], @romgrk, @sai6855, @scyzoryck, @siriwatknp, @SuyashShukla0007, @yermartee, @ZeeshanTamboli
|
|
99
|
+
|
|
3
100
|
## 7.0.2
|
|
4
101
|
|
|
5
102
|
_Apr 9, 2025_
|
package/Masonry/Masonry.js
CHANGED
|
@@ -11,7 +11,9 @@ var _composeClasses = _interopRequireDefault(require("@mui/utils/composeClasses"
|
|
|
11
11
|
var ReactDOM = _interopRequireWildcard(require("react-dom"));
|
|
12
12
|
var _styles = require("@mui/material/styles");
|
|
13
13
|
var _system = require("@mui/system");
|
|
14
|
-
var
|
|
14
|
+
var _useForkRef = _interopRequireDefault(require("@mui/utils/useForkRef"));
|
|
15
|
+
var _useEnhancedEffect = _interopRequireDefault(require("@mui/utils/useEnhancedEffect"));
|
|
16
|
+
var _deepmerge = _interopRequireDefault(require("@mui/utils/deepmerge"));
|
|
15
17
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
16
18
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
17
19
|
var React = _interopRequireWildcard(require("react"));
|
|
@@ -97,7 +99,7 @@ const getStyle = ({
|
|
|
97
99
|
})
|
|
98
100
|
};
|
|
99
101
|
};
|
|
100
|
-
styles = (0,
|
|
102
|
+
styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
|
|
101
103
|
theme
|
|
102
104
|
}, spacingValues, spacingStyleFromPropValue));
|
|
103
105
|
const columnValues = (0, _system.unstable_resolveBreakpointValues)({
|
|
@@ -114,13 +116,13 @@ const getStyle = ({
|
|
|
114
116
|
}
|
|
115
117
|
};
|
|
116
118
|
};
|
|
117
|
-
styles = (0,
|
|
119
|
+
styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
|
|
118
120
|
theme
|
|
119
121
|
}, columnValues, columnStyleFromPropValue));
|
|
120
122
|
|
|
121
123
|
// configure width for responsive spacing values
|
|
122
124
|
if (typeof spacingValues === 'object') {
|
|
123
|
-
styles = (0,
|
|
125
|
+
styles = (0, _deepmerge.default)(styles, (0, _system.handleBreakpoints)({
|
|
124
126
|
theme
|
|
125
127
|
}, spacingValues, (propValue, breakpoint) => {
|
|
126
128
|
if (breakpoint) {
|
|
@@ -143,10 +145,7 @@ const getStyle = ({
|
|
|
143
145
|
exports.getStyle = getStyle;
|
|
144
146
|
const MasonryRoot = (0, _styles.styled)('div', {
|
|
145
147
|
name: 'MuiMasonry',
|
|
146
|
-
slot: 'Root'
|
|
147
|
-
overridesResolver: (props, styles) => {
|
|
148
|
-
return [styles.root];
|
|
149
|
-
}
|
|
148
|
+
slot: 'Root'
|
|
150
149
|
})(getStyle);
|
|
151
150
|
const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
152
151
|
const props = (0, _styles.useThemeProps)({
|
|
@@ -246,7 +245,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
246
245
|
});
|
|
247
246
|
}
|
|
248
247
|
}, [sequential]);
|
|
249
|
-
(0,
|
|
248
|
+
(0, _useEnhancedEffect.default)(() => {
|
|
250
249
|
// IE and old browsers are not supported
|
|
251
250
|
if (typeof ResizeObserver === 'undefined') {
|
|
252
251
|
return undefined;
|
|
@@ -270,7 +269,7 @@ const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
|
270
269
|
}
|
|
271
270
|
};
|
|
272
271
|
}, [columns, spacing, children, handleResize]);
|
|
273
|
-
const handleRef = (0,
|
|
272
|
+
const handleRef = (0, _useForkRef.default)(ref, masonryRef);
|
|
274
273
|
|
|
275
274
|
// columns are likely to have different heights and hence can start to merge;
|
|
276
275
|
// a line break at the end of each column prevents columns from merging
|
package/TabPanel/TabPanel.js
CHANGED
|
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
|
|
|
25
25
|
};
|
|
26
26
|
const TimelineConnectorRoot = (0, _styles.styled)('span', {
|
|
27
27
|
name: 'MuiTimelineConnector',
|
|
28
|
-
slot: 'Root'
|
|
29
|
-
overridesResolver: (props, styles) => styles.root
|
|
28
|
+
slot: 'Root'
|
|
30
29
|
})(({
|
|
31
30
|
theme
|
|
32
31
|
}) => {
|
|
@@ -25,8 +25,7 @@ const useUtilityClasses = ownerState => {
|
|
|
25
25
|
};
|
|
26
26
|
const TimelineSeparatorRoot = (0, _styles.styled)('div', {
|
|
27
27
|
name: 'MuiTimelineSeparator',
|
|
28
|
-
slot: 'Root'
|
|
29
|
-
overridesResolver: (props, styles) => styles.root
|
|
28
|
+
slot: 'Root'
|
|
30
29
|
})({
|
|
31
30
|
display: 'flex',
|
|
32
31
|
flexDirection: 'column',
|
package/esm/Masonry/Masonry.js
CHANGED
|
@@ -4,7 +4,9 @@ import composeClasses from '@mui/utils/composeClasses';
|
|
|
4
4
|
import * as ReactDOM from 'react-dom';
|
|
5
5
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
6
6
|
import { createUnarySpacing, getValue, handleBreakpoints, unstable_resolveBreakpointValues as resolveBreakpointValues } from '@mui/system';
|
|
7
|
-
import
|
|
7
|
+
import useForkRef from '@mui/utils/useForkRef';
|
|
8
|
+
import useEnhancedEffect from '@mui/utils/useEnhancedEffect';
|
|
9
|
+
import deepmerge from '@mui/utils/deepmerge';
|
|
8
10
|
import clsx from 'clsx';
|
|
9
11
|
import PropTypes from 'prop-types';
|
|
10
12
|
import * as React from 'react';
|
|
@@ -134,10 +136,7 @@ export const getStyle = ({
|
|
|
134
136
|
};
|
|
135
137
|
const MasonryRoot = styled('div', {
|
|
136
138
|
name: 'MuiMasonry',
|
|
137
|
-
slot: 'Root'
|
|
138
|
-
overridesResolver: (props, styles) => {
|
|
139
|
-
return [styles.root];
|
|
140
|
-
}
|
|
139
|
+
slot: 'Root'
|
|
141
140
|
})(getStyle);
|
|
142
141
|
const Masonry = /*#__PURE__*/React.forwardRef(function Masonry(inProps, ref) {
|
|
143
142
|
const props = useThemeProps({
|
package/esm/TabPanel/TabPanel.js
CHANGED
|
@@ -18,8 +18,7 @@ const useUtilityClasses = ownerState => {
|
|
|
18
18
|
};
|
|
19
19
|
const TimelineSeparatorRoot = styled('div', {
|
|
20
20
|
name: 'MuiTimelineSeparator',
|
|
21
|
-
slot: 'Root'
|
|
22
|
-
overridesResolver: (props, styles) => styles.root
|
|
21
|
+
slot: 'Root'
|
|
23
22
|
})({
|
|
24
23
|
display: 'flex',
|
|
25
24
|
flexDirection: 'column',
|
package/esm/index.js
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/lab",
|
|
3
|
-
"version": "7.0.0-beta.
|
|
4
|
-
"private": false,
|
|
3
|
+
"version": "7.0.0-beta.12",
|
|
5
4
|
"author": "MUI Team",
|
|
6
|
-
"description": "Laboratory for new
|
|
5
|
+
"description": "Laboratory for new Material UI modules.",
|
|
7
6
|
"main": "./index.js",
|
|
8
7
|
"keywords": [
|
|
9
8
|
"react",
|
|
@@ -28,12 +27,12 @@
|
|
|
28
27
|
"url": "https://opencollective.com/mui-org"
|
|
29
28
|
},
|
|
30
29
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.27.
|
|
30
|
+
"@babel/runtime": "^7.27.1",
|
|
32
31
|
"clsx": "^2.1.1",
|
|
33
32
|
"prop-types": "^15.8.1",
|
|
34
|
-
"@mui/
|
|
35
|
-
"@mui/
|
|
36
|
-
"@mui/
|
|
33
|
+
"@mui/utils": "^7.1.0",
|
|
34
|
+
"@mui/system": "^7.1.0",
|
|
35
|
+
"@mui/types": "^7.4.2"
|
|
37
36
|
},
|
|
38
37
|
"peerDependencies": {
|
|
39
38
|
"@emotion/react": "^11.5.0",
|
|
@@ -41,8 +40,8 @@
|
|
|
41
40
|
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
42
41
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
43
42
|
"react-dom": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
44
|
-
"@mui/material": "^7.0
|
|
45
|
-
"@mui/material-pigment-css": "^7.0
|
|
43
|
+
"@mui/material": "^7.1.0",
|
|
44
|
+
"@mui/material-pigment-css": "^7.1.0"
|
|
46
45
|
},
|
|
47
46
|
"peerDependenciesMeta": {
|
|
48
47
|
"@types/react": {
|
|
@@ -66,6 +65,7 @@
|
|
|
66
65
|
"engines": {
|
|
67
66
|
"node": ">=14.0.0"
|
|
68
67
|
},
|
|
68
|
+
"private": false,
|
|
69
69
|
"module": "./esm/index.js",
|
|
70
70
|
"exports": {
|
|
71
71
|
"./package.json": "./package.json",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDateFns.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterDayjs.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterLuxon.js";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from "./AdapterMoment.js";
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type CalendarPickerComponent = (<TDate>(props: CalendarPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The CalendarPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const CalendarPicker: CalendarPickerComponent;
|
|
10
|
-
export default CalendarPicker;
|
|
11
|
-
export declare const calendarPickerClasses: {};
|
|
12
|
-
export type CalendarPickerClassKey = any;
|
|
13
|
-
export type CalendarPickerClasses = any;
|
|
14
|
-
export type CalendarPickerProps<TDate> = Record<any, any>;
|
|
15
|
-
export type CalendarPickerView = 'year' | 'day' | 'month';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type CalendarPickerSkeletonComponent = ((props: CalendarPickerSkeletonProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The CalendarPickerSkeleton component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const CalendarPickerSkeleton: CalendarPickerSkeletonComponent;
|
|
10
|
-
export default CalendarPickerSkeleton;
|
|
11
|
-
export declare const calendarPickerSkeletonClasses: {};
|
|
12
|
-
export declare const getCalendarPickerSkeletonUtilityClass: (slot: string) => string;
|
|
13
|
-
export type CalendarPickerSkeletonProps = Record<any, any>;
|
|
14
|
-
export type CalendarPickerSkeletonClassKey = any;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type ClockPickerComponent = (<TDate>(props: ClockPickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The ClockPicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const ClockPicker: ClockPickerComponent;
|
|
10
|
-
export default ClockPicker;
|
|
11
|
-
export declare const clockPickerClasses: {};
|
|
12
|
-
export type ClockPickerProps<TDate> = Record<any, any>;
|
|
13
|
-
export type ClockPickerView = 'hours' | 'minutes' | 'seconds';
|
|
14
|
-
export type ClockPickerClasses = any;
|
|
15
|
-
export type ClockPickerClassKey = any;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DatePickerComponent = (<TDate>(props: DatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @ignore - do not document.
|
|
7
|
-
*/
|
|
8
|
-
declare const DatePicker: DatePickerComponent;
|
|
9
|
-
export default DatePicker;
|
|
10
|
-
export type DatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DateRangePickerComponent = (<TDate>(props: DateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DateRangePicker: DateRangePickerComponent;
|
|
10
|
-
export default DateRangePicker;
|
|
11
|
-
export type DateRangePickerProps = Record<any, any>;
|
|
12
|
-
export type DateRange<TDate> = [TDate | null, TDate | null];
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DateRangePickerDayComponent = (<TDate>(props: DateRangePickerDayProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DateRangePickerDay component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DateRangePickerDay: DateRangePickerDayComponent;
|
|
10
|
-
export default DateRangePickerDay;
|
|
11
|
-
export declare const getDateRangePickerDayUtilityClass: (slot: string) => string;
|
|
12
|
-
export type DateRangePickerDayProps = Record<any, any>;
|
|
13
|
-
export type DateRangePickerDayClasses = any;
|
|
14
|
-
export type DateRangePickerDayClassKey = any;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DateTimePickerComponent = (<TDate>(props: DateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DateTimePicker: DateTimePickerComponent;
|
|
10
|
-
export default DateTimePicker;
|
|
11
|
-
export type DateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DesktopDatePickerComponent = (<TDate>(props: DesktopDatePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DesktopDatePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopDatePicker: DesktopDatePickerComponent;
|
|
10
|
-
export default DesktopDatePicker;
|
|
11
|
-
export type DesktopDatePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DesktopDateRangePickerComponent = (<TDate>(props: DesktopDateRangePickerProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DesktopDateRangePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopDateRangePicker: DesktopDateRangePickerComponent;
|
|
10
|
-
export default DesktopDateRangePicker;
|
|
11
|
-
export type DesktopDateRangePickerProps = Record<any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DesktopDateTimePickerComponent = (<TDate>(props: DesktopDateTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DesktopDateTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopDateTimePicker: DesktopDateTimePickerComponent;
|
|
10
|
-
export default DesktopDateTimePicker;
|
|
11
|
-
export type DesktopDateTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type DesktopTimePickerComponent = (<TDate>(props: DesktopTimePickerProps<TDate> & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The DesktopTimePicker component was moved from `@mui/lab` to `@mui/x-date-pickers-pro`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const DesktopTimePicker: DesktopTimePickerComponent;
|
|
10
|
-
export default DesktopTimePicker;
|
|
11
|
-
export type DesktopTimePickerProps<TDate> = Record<any, any>;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type LocalizationProviderComponent = ((props: LocalizationProviderProps & React.RefAttributes<HTMLDivElement>) => React.JSX.Element) & {
|
|
3
|
-
propTypes?: any;
|
|
4
|
-
};
|
|
5
|
-
/**
|
|
6
|
-
* @deprecated The LocalizationProvider component was moved from `@mui/lab` to `@mui/x-date-pickers`. More information about this migration on our blog: https://mui.com/blog/lab-date-pickers-to-mui-x/.
|
|
7
|
-
* @ignore - do not document.
|
|
8
|
-
*/
|
|
9
|
-
declare const LocalizationProvider: LocalizationProviderComponent;
|
|
10
|
-
export default LocalizationProvider;
|
|
11
|
-
export type LocalizationProviderProps = Record<any, any>;
|