@mui/lab 5.0.0-alpha.155 → 5.0.0-alpha.157
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 +102 -2
- package/LoadingButton/LoadingButton.d.ts +1 -0
- package/LoadingButton/LoadingButton.js +5 -1
- package/index.js +1 -1
- package/legacy/LoadingButton/LoadingButton.js +5 -1
- package/legacy/index.js +1 -1
- package/modern/LoadingButton/LoadingButton.js +5 -1
- package/modern/index.js +1 -1
- package/node/LoadingButton/LoadingButton.js +5 -1
- package/node/index.js +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,105 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.15.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.15.0..master -->
|
|
6
|
+
|
|
7
|
+
_Dec 19, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 15 contributors who made this release possible.
|
|
10
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
### `@mui/material@5.15.1`
|
|
13
|
+
|
|
14
|
+
- ​<!-- 13 -->[CardActions][DialogActions] Apply margin for all children except for 1st child (#40168) @sai6855
|
|
15
|
+
- ​<!-- 03 -->[TablePagination] Add ability to change icons in TablePaginationActions using `slots` and `slotProps` (#33797) @pratikkarad
|
|
16
|
+
- ​<!-- 13 -->[CssVarsProvider] Fix HSL breaking button styles (#39869) @gitstart
|
|
17
|
+
|
|
18
|
+
### `@mui/joy@5.0.0-beta.19`
|
|
19
|
+
|
|
20
|
+
- ​<!-- 05 -->[FormControl] Fix issue with the conditional setting of `htmlFor` and `id` attributes not functioning properly for form labels (#40180) @ReaZzy
|
|
21
|
+
- ​<!-- 04 -->[typescript] Address TypeScript issue with custom zIndex not functioning (#40133) @qiweiii
|
|
22
|
+
|
|
23
|
+
### `@mui/styled-engine-sc@6.0.0-alpha.9`
|
|
24
|
+
|
|
25
|
+
- ​<!-- 02 -->[typescript] Fix `theme` being of type any (#40200) @mnajdova
|
|
26
|
+
|
|
27
|
+
### Docs
|
|
28
|
+
|
|
29
|
+
- ​<!-- 09 -->[joy-ui] Fix typo in the CSS baseline page (#40222) @possibilities
|
|
30
|
+
- ​<!-- 08 -->[joy-ui] Document missing Autocomplete props (#39979) @ZeeshanTamboli
|
|
31
|
+
- ​<!-- 10 -->[joy-ui] Fix typo about Typography levels (#40230) @zanivan
|
|
32
|
+
- ​<!-- 07 -->[material-ui] Update the related projects page to list `mui-tiptap` for rich text (#40216) @sjdemartini
|
|
33
|
+
- ​<!-- 06 -->[material-ui] Fix typo in the Next.js integration page (#40209) @s8990
|
|
34
|
+
|
|
35
|
+
### Core
|
|
36
|
+
|
|
37
|
+
- ​<!-- 14 -->[blog] Fix access to Notion without an account @oliviertassinari
|
|
38
|
+
- ​<!-- 12 -->[core] Update workflows and issue templates to reflect the updated label (#40197) @MBilalShafi
|
|
39
|
+
- ​<!-- 11 -->[docs] Replace Twitter with X (#40193) @mbrookes
|
|
40
|
+
- ​<!-- 10 -->[docs-infra] Uplift the Algolia search modal design (#40186) @danilo-leal
|
|
41
|
+
- ​<!-- 01 -->[website] Update product descriptions and social preview images (#32181) @danilo-leal
|
|
42
|
+
|
|
43
|
+
All contributors of this release in alphabetical order: @danilo-leal, @gitstart, @MBilalShafi, @mbrookes, @mnajdova, @oliviertassinari, @possibilities, @pratikkarad, @qiweiii, @ReaZzy, @s8990, @sai6855, @sjdemartini, @zanivan, @ZeeshanTamboli
|
|
44
|
+
|
|
45
|
+
## 5.15.0
|
|
46
|
+
|
|
47
|
+
<!-- generated comparing v5.14.20..master -->
|
|
48
|
+
|
|
49
|
+
_Dec 11, 2023_
|
|
50
|
+
|
|
51
|
+
A big thanks to the 15 contributors who made this release possible. Here are some highlights ✨:
|
|
52
|
+
|
|
53
|
+
- 🚀 Added [a new package for a better Material UI integration with Next.js](https://mui.com/material-ui/guides/nextjs) (#39947) @siriwatknp
|
|
54
|
+
|
|
55
|
+
### `@mui/material@5.15.0`
|
|
56
|
+
|
|
57
|
+
- ​<!-- 12 -->Revert "[Select][material-ui] Add name to hidden input element" (#40174) @mj12albert
|
|
58
|
+
- ​<!-- 02 -->[material-ui] Refactor ComponentsVariants type into a generic (#39623) @blakenetz
|
|
59
|
+
|
|
60
|
+
### `@mui/material-nextjs@5.15.0`
|
|
61
|
+
|
|
62
|
+
- ​<!-- 01 -->[material-ui] Add new Next.js integration package (#39947) @siriwatknp
|
|
63
|
+
|
|
64
|
+
### `@mui/material-next@6.0.0-alpha.113`
|
|
65
|
+
|
|
66
|
+
- ​<!-- 11 -->[Badge][material-next] Apply new OwnerState type to Badge (#40119) @lhilgert9
|
|
67
|
+
- ​<!-- 06 -->[material-next][ButtonGroup] Change `ButtonGroup` files to ts (#39794) @lhilgert9
|
|
68
|
+
|
|
69
|
+
### `@mui/icons-material@5.15.0`
|
|
70
|
+
|
|
71
|
+
- ​<!-- 05 -->[icons] Add X logo (#38811) @abreel
|
|
72
|
+
|
|
73
|
+
### `@mui/base@5.0.0-beta.27`
|
|
74
|
+
|
|
75
|
+
- ​<!-- 10 -->[base-ui] useControllableReducer warns when controlled props become uncontrolled (and vice versa) (#39096) @mj12albert
|
|
76
|
+
|
|
77
|
+
### `@mui/joy@5.0.0-beta.18`
|
|
78
|
+
|
|
79
|
+
- ​<!-- 04 -->[joy-ui][Radio][Input] Fix inheritance of disabled prop (#39934) @sai6855
|
|
80
|
+
|
|
81
|
+
### `@mui/lab@5.0.0-alpha.156`
|
|
82
|
+
|
|
83
|
+
- ​<!-- 03 -->[lab][LoadingButton] LoadingButton now inherits props from ButtonGroup (#39679) @lhilgert9
|
|
84
|
+
|
|
85
|
+
### Docs
|
|
86
|
+
|
|
87
|
+
- ​<!-- 09 -->[docs] Fix reference to non-existent checkmark in supported-components.md (#40056) @mbrookes
|
|
88
|
+
- ​<!-- 09 -->[docs][base-ui] Add copy button & primary color picker to the component gallery page (#39884) @mnajdova
|
|
89
|
+
- ​<!-- 08 -->[docs-infra] Update CodeSandbox links (#39992) @anle9650
|
|
90
|
+
- ​<!-- 04 -->[material-ui][docs] Fix wrong root element for emotion styles in shadow DOM (#35326) @EloB
|
|
91
|
+
- ​<!-- 03 -->[material-ui][docs] Move the responsive font charts from recharts to MUI X (#40097) @alexfauquette
|
|
92
|
+
- ​<!-- 02 -->[joy-ui][templates] Remove outdated code (#40095) @zanivan
|
|
93
|
+
- ​<!-- 05 -->[material-ui][docs][Popper] Update Positioned Popper demo styles (#40170) @sai6855
|
|
94
|
+
|
|
95
|
+
### Core
|
|
96
|
+
|
|
97
|
+
- ​<!-- 08 -->[blog] Add a Phuket retreat blog post (#40055) @mikailaread
|
|
98
|
+
- ​<!-- 07 -->[blog] Adjust the latest MUI X blog post (#40046) @danilo-leal
|
|
99
|
+
- ​<!-- 05 -->[core] Migrate from tslint to eslint (#40020) @ZeeshanTamboli
|
|
100
|
+
|
|
101
|
+
All contributors of this release in alphabetical order: @abreel, @alexfauquette, @anle9650, @blakenetz, @danilo-leal, @EloB, @lhilgert9, @mbrookes, @mikailaread, @mj12albert, @mnajdova, @sai6855, @siriwatknp, @zanivan, @ZeeshanTamboli
|
|
102
|
+
|
|
3
103
|
## 5.14.20
|
|
4
104
|
|
|
5
105
|
<!-- generated comparing v5.14.19..master -->
|
|
@@ -11056,7 +11156,7 @@ A big thanks to the 13 contributors who made this release possible. Here are som
|
|
|
11056
11156
|
<Typography variant="poster">poster</Typography>;
|
|
11057
11157
|
```
|
|
11058
11158
|
|
|
11059
|
-
[A full demo](https://codesandbox.io/
|
|
11159
|
+
[A full demo](https://codesandbox.io/p/sandbox/fontsizetheme-material-demo-forked-l9u05?file=/demo.tsx:725-773)
|
|
11060
11160
|
|
|
11061
11161
|
- 📚 Add a shortcut to open the Algolia search (#23959) @hmaddisb.
|
|
11062
11162
|
- And many more 🐛 bug fixes and 📚 improvements.
|
|
@@ -12250,7 +12350,7 @@ Here are some highlights ✨:
|
|
|
12250
12350
|
|
|
12251
12351
|
You can find a [new version](https://mui.com/components/slider-styled/) of the slider in the lab powered by [emotion](https://emotion.sh/).
|
|
12252
12352
|
|
|
12253
|
-
In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/
|
|
12353
|
+
In the event that you are already using styled-components in your application, you can swap emotion for styled-components 💅. Check [this CodeSandbox](https://codesandbox.io/p/sandbox/sliderstyled-with-styled-components-forked-olc27?file=/package.json) for a demo. It relies on aliases to prevent any bundle size overhead.
|
|
12254
12354
|
|
|
12255
12355
|
The new styling solution saves 2kB gzipped in the bundle compared to JSS, and about 14 kB gzipped if you were already using emotion or styled-components.
|
|
12256
12356
|
|
|
@@ -8,7 +8,9 @@ import { capitalize, unstable_useId as useId } from '@mui/material/utils';
|
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
9
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
10
10
|
import Button from '@mui/material/Button';
|
|
11
|
+
import { ButtonGroupContext } from '@mui/material/ButtonGroup';
|
|
11
12
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
13
|
+
import resolveProps from '@mui/utils/resolveProps';
|
|
12
14
|
import loadingButtonClasses, { getLoadingButtonUtilityClass } from './loadingButtonClasses';
|
|
13
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -111,8 +113,10 @@ const LoadingButtonLoadingIndicator = styled('span', {
|
|
|
111
113
|
right: -10
|
|
112
114
|
}));
|
|
113
115
|
const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
|
|
116
|
+
const contextProps = React.useContext(ButtonGroupContext);
|
|
117
|
+
const resolvedProps = resolveProps(contextProps, inProps);
|
|
114
118
|
const props = useThemeProps({
|
|
115
|
-
props:
|
|
119
|
+
props: resolvedProps,
|
|
116
120
|
name: 'MuiLoadingButton'
|
|
117
121
|
});
|
|
118
122
|
const {
|
package/index.js
CHANGED
|
@@ -8,7 +8,9 @@ import { capitalize, unstable_useId as useId } from '@mui/material/utils';
|
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
9
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
10
10
|
import Button from '@mui/material/Button';
|
|
11
|
+
import { ButtonGroupContext } from '@mui/material/ButtonGroup';
|
|
11
12
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
13
|
+
import resolveProps from '@mui/utils/resolveProps';
|
|
12
14
|
import loadingButtonClasses, { getLoadingButtonUtilityClass } from './loadingButtonClasses';
|
|
13
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -102,8 +104,10 @@ var LoadingButtonLoadingIndicator = styled('span', {
|
|
|
102
104
|
});
|
|
103
105
|
});
|
|
104
106
|
var LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
|
|
107
|
+
var contextProps = React.useContext(ButtonGroupContext);
|
|
108
|
+
var resolvedProps = resolveProps(contextProps, inProps);
|
|
105
109
|
var props = useThemeProps({
|
|
106
|
-
props:
|
|
110
|
+
props: resolvedProps,
|
|
107
111
|
name: 'MuiLoadingButton'
|
|
108
112
|
});
|
|
109
113
|
var children = props.children,
|
package/legacy/index.js
CHANGED
|
@@ -8,7 +8,9 @@ import { capitalize, unstable_useId as useId } from '@mui/material/utils';
|
|
|
8
8
|
import { unstable_composeClasses as composeClasses } from '@mui/base';
|
|
9
9
|
import { styled, useThemeProps } from '@mui/material/styles';
|
|
10
10
|
import Button from '@mui/material/Button';
|
|
11
|
+
import { ButtonGroupContext } from '@mui/material/ButtonGroup';
|
|
11
12
|
import CircularProgress from '@mui/material/CircularProgress';
|
|
13
|
+
import resolveProps from '@mui/utils/resolveProps';
|
|
12
14
|
import loadingButtonClasses, { getLoadingButtonUtilityClass } from './loadingButtonClasses';
|
|
13
15
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
16
|
import { jsxs as _jsxs } from "react/jsx-runtime";
|
|
@@ -111,8 +113,10 @@ const LoadingButtonLoadingIndicator = styled('span', {
|
|
|
111
113
|
right: -10
|
|
112
114
|
}));
|
|
113
115
|
const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
|
|
116
|
+
const contextProps = React.useContext(ButtonGroupContext);
|
|
117
|
+
const resolvedProps = resolveProps(contextProps, inProps);
|
|
114
118
|
const props = useThemeProps({
|
|
115
|
-
props:
|
|
119
|
+
props: resolvedProps,
|
|
116
120
|
name: 'MuiLoadingButton'
|
|
117
121
|
});
|
|
118
122
|
const {
|
package/modern/index.js
CHANGED
|
@@ -14,7 +14,9 @@ var _utils2 = require("@mui/material/utils");
|
|
|
14
14
|
var _base = require("@mui/base");
|
|
15
15
|
var _styles = require("@mui/material/styles");
|
|
16
16
|
var _Button = _interopRequireDefault(require("@mui/material/Button"));
|
|
17
|
+
var _ButtonGroup = require("@mui/material/ButtonGroup");
|
|
17
18
|
var _CircularProgress = _interopRequireDefault(require("@mui/material/CircularProgress"));
|
|
19
|
+
var _resolveProps = _interopRequireDefault(require("@mui/utils/resolveProps"));
|
|
18
20
|
var _loadingButtonClasses = _interopRequireWildcard(require("./loadingButtonClasses"));
|
|
19
21
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
20
22
|
const _excluded = ["children", "disabled", "id", "loading", "loadingIndicator", "loadingPosition", "variant"];
|
|
@@ -119,8 +121,10 @@ const LoadingButtonLoadingIndicator = (0, _styles.styled)('span', {
|
|
|
119
121
|
right: -10
|
|
120
122
|
}));
|
|
121
123
|
const LoadingButton = /*#__PURE__*/React.forwardRef(function LoadingButton(inProps, ref) {
|
|
124
|
+
const contextProps = React.useContext(_ButtonGroup.ButtonGroupContext);
|
|
125
|
+
const resolvedProps = (0, _resolveProps.default)(contextProps, inProps);
|
|
122
126
|
const props = (0, _styles.useThemeProps)({
|
|
123
|
-
props:
|
|
127
|
+
props: resolvedProps,
|
|
124
128
|
name: 'MuiLoadingButton'
|
|
125
129
|
});
|
|
126
130
|
const {
|
package/node/index.js
CHANGED
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.157",
|
|
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-org"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@babel/runtime": "^7.23.
|
|
32
|
-
"@mui/base": "5.0.0-beta.
|
|
33
|
-
"@mui/system": "^5.
|
|
34
|
-
"@mui/types": "^7.2.
|
|
35
|
-
"@mui/utils": "^5.
|
|
31
|
+
"@babel/runtime": "^7.23.5",
|
|
32
|
+
"@mui/base": "5.0.0-beta.28",
|
|
33
|
+
"@mui/system": "^5.15.1",
|
|
34
|
+
"@mui/types": "^7.2.11",
|
|
35
|
+
"@mui/utils": "^5.15.1",
|
|
36
36
|
"clsx": "^2.0.0",
|
|
37
37
|
"prop-types": "^15.8.1"
|
|
38
38
|
},
|