@mui/docs 5.15.14 β†’ 5.15.17

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 CHANGED
@@ -1,5 +1,128 @@
1
1
  # [Versions](https://mui.com/versions/)
2
2
 
3
+ ## v5.15.17
4
+
5
+ <!-- generated comparing v5.15.16..master -->
6
+
7
+ _May 8, 2024_
8
+
9
+ A big thanks to the 4 contributors who made this release possible.
10
+ This release was mostly about πŸ› bug fixes and πŸ“š documentation improvements.
11
+
12
+ ### `@mui/material@5.15.17`
13
+
14
+ - [Slider] Move palette styles to the bottom (#41676) @siriwatknp
15
+
16
+ ### Docs
17
+
18
+ - Fix SEO redirection issues @oliviertassinari
19
+ - [material-ui] Fix broken link (@aarongarciah) (#42143) @github-actions[bot]
20
+ - [material-ui] Fix link on the Sync page (@danilo-leal) (#42089) @github-actions[bot]
21
+
22
+ ### Core
23
+
24
+ - [blog] Shorten title to fit @oliviertassinari
25
+ - [blog] Update Sync post OG image (@danilo-leal) (#42117) @github-actions[bot]
26
+ - [blog] A few tweaks in introducing-sync-plugin (@oliviertassinari) (#42094) @github-actions[bot]
27
+ - [docs-infra] Fix code block layout shift (#41917) @oliviertassinari
28
+ - [website] Fix home page slider's track position (@aarongarciah) (#42144) @github-actions[bot]
29
+ - [website] Closing the survey @oliviertassinari
30
+ - [website] Remove Survey banner from website and Core docs (#42104) @joserodolfofreitas
31
+
32
+ All contributors of this release in alphabetical order: @github-actions[bot], @joserodolfofreitas, @oliviertassinari, @siriwatknp
33
+
34
+ ## v5.15.16
35
+
36
+ <!-- generated comparing v5.15.15..master -->
37
+
38
+ _May 1, 2024_
39
+
40
+ A big thanks to the 8 contributors who made this release possible. Here are some highlights ✨:
41
+ This release was mostly about πŸ› bug fixes and πŸ“š documentation improvements.
42
+
43
+ ### `@mui/material@5.15.16`
44
+
45
+ - [material-ui][Dialog] Prevent onClick on the root element from being overwritten (@ryanburr) (#41914) @github-actions[bot]
46
+ - [material-ui][Select] Fix `muiName` property TypeScript error (@EyaOuenniche) (#41786) @github-actions[bot]
47
+ - β€”>[material-ui][l10n] Fix typo in is-IS locale (@magnimarels) (#41815) @github-actions[bot]
48
+
49
+ ### Docs
50
+
51
+ - Fix small SEO issues @oliviertassinari
52
+ - Fix 301 Toolpad links @oliviertassinari
53
+ - Fix 301 Toolpad links @oliviertassinari
54
+ - Fix 301 image redirections @oliviertassinari
55
+ - Fix small SEO issues @oliviertassinari
56
+ - Fix 301 redirection @oliviertassinari
57
+ - Fix format git diff regression (#41882) @oliviertassinari
58
+ - Fix 301 links @oliviertassinari
59
+ - [material-ui] Fix import statement in migration guide (@sai6855) (#41864) @github-actions[bot]
60
+ - [material-ui] Update Figma plugin name (@danilo-leal) (#42057) @github-actions[bot]
61
+ - [material-ui] Fix minor spelling error in the "About the lab" page (@ryanhartwig) (#42075) @github-actions[bot]
62
+ - [material-ui] Add missing backticks to HTML tag in the installation page (@Miguelrom) (#42009) @github-actions[bot]
63
+ - [material-ui] Add Connect-related content (@danilo-leal) (#41924) @DiegoAndai
64
+ - [material-ui] Fix Material 3 message typo (@aarongarciah) (#41822) @github-actions[bot]
65
+ - [material-ui] Remove Data Grid v7 beta callout (@cherniavskii) (#41842) @github-actions[bot]
66
+ - [material-ui][templates] Fix input props attributes in Landing Page template (@5-tom) (#42034) @github-actions[bot]
67
+ - [system] Update typo on the sx prop page (@bricker) (#42078) @github-actions[bot]
68
+
69
+ ### Core
70
+
71
+ - [blog] Add post to introduce the Connect plugin (@danilo-leal) (#41929) @DiegoAndai
72
+ - [core] Automate cherry-pick of PRs from `next` -> `master` (#41742) @aarongarciah
73
+ - [docs-infra] Improve Twitter OG:image (#41860) @oliviertassinari
74
+ - [docs-infra] Use edge function for card generation (#41188) @alexfauquette
75
+ - [docs-infra] Fix drawer performances (#41807) (#41820) @alexfauquette
76
+ - [docs-infra] Fix analytics about inline ads (#41474) @alexfauquette
77
+ - [website] Sync career roles (@oliviertassinari) (#42059) @github-actions[bot]
78
+ - [website] Add content about the Sync plugin in the MaterialΒ UI page (@danilo-leal) (#42074) @github-actions[bot]
79
+ - [website] Add Nadja on the about page (#42054) @mnajdova
80
+ - [website] Close the `Design Engineer - X` role (#42014) @DanailH
81
+ - [website] Remove customer support agent role from website (@rluzists1) (#41996) @github-actions[bot]
82
+ - [website] Add Jose to About Us (#41759) @JCQuintas
83
+
84
+ All contributors of this release in alphabetical order: @aarongarciah, @alexfauquette, @DanailH, @DiegoAndai, @github-actions[bot], @JCQuintas, @mnajdova, @oliviertassinari
85
+
86
+ ## v5.15.15
87
+
88
+ <!-- generated comparing v5.15.14..master -->
89
+
90
+ _Apr 4, 2024_
91
+
92
+ A big thanks to the 7 contributors who made this release possible. Here are some highlights ✨:
93
+ This release was mostly about πŸ› bug fixes and πŸ“š documentation improvements.
94
+
95
+ ### `@mui/material@5.15.15`
96
+
97
+ - [Autocomplete] Display options provided to the `options` prop even if loading is true (#41677) @ZeeshanTamboli
98
+ - [RadioGroup] Apply classnames (#41681) @ZeeshanTamboli
99
+
100
+ ### `@mui/system@5.15.15`
101
+
102
+ - Fix typo to avoid infinite recursion in function call (#41678) @ZeeshanTamboli
103
+
104
+ ### Docs
105
+
106
+ - [material-ui][Slider] Remove `valueLabelFormat` from restricted values demo so that the tooltip thumb label displays the same as the value text (#41679) @ZeeshanTamboli
107
+ - [material-ui] Remove deleted page from the sidenav (#41594) @danilo-leal
108
+ - [material-ui] Fix typo in CSS theme variables customization (#41680) @ZeeshanTamboli
109
+ - Continue migration of BaseΒ UI to sperate repository @oliviertassinari
110
+ - Add notification for MUIΒ X v7 blog post (#41587) (#41605) @cherniavskii
111
+ - Update the versions dropdown to show v6 (#41557) @mnajdova
112
+
113
+ ### Core
114
+
115
+ - [blog] Link to Romain's blog post in MUIΒ X v7 announcement post (#41641) @cherniavskii
116
+ - [blog] Blog post with MUIΒ X v7.0.0 annoucement (#41563) (#41604) @cherniavskii
117
+ - [blog] Add post about remote (#41565) @danilo-leal
118
+ - [core] Continue rename of Toolpad @oliviertassinari
119
+ - [docs-infra] Add Toolpad product/category IDs to types (#41551) @bharatkashyap
120
+ - [website] Add AarΓ³n to About Us (#41747) @aarongarciah
121
+ - [website] Add stray design adjustments throughout the site (#41642) @mnajdova
122
+ - [website] Update pricing table (#41606) @cherniavskii
123
+
124
+ All contributors of this release in alphabetical order: @aarongarciah, @bharatkashyap, @cherniavskii, @danilo-leal, @mnajdova, @oliviertassinari, @ZeeshanTamboli
125
+
3
126
  ## v5.15.14
4
127
 
5
128
  <!-- generated comparing v5.15.13..master -->
@@ -7922,7 +8045,7 @@ A big thanks to the 25 contributors who made this release possible. Here are som
7922
8045
 
7923
8046
  <a href="https://mui.com/components/tables/#unstyled-table"><img width="800" alt="unstyled table" src="https://user-images.githubusercontent.com/4512430/144862194-584356ef-7d9d-462c-a631-186a7e716193.png"></a>
7924
8047
 
7925
- You can follow our progress with unstyled components at https://github.com/mui/material-ui/issues/27170.
8048
+ You can follow our progress with unstyled components at https://github.com/mui/base-ui/issues/10.
7926
8049
 
7927
8050
  - πŸŽ‰ We have added an example of how to use MUI with [Remix](https://remix.run/) (#29952) @mnajdova
7928
8051
 
@@ -9392,7 +9515,7 @@ A big thanks to the 17 contributors who made this release possible. Here are som
9392
9515
 
9393
9516
  <a href="https://mui.com/components/switches/#unstyled"><img width="832" alt="switch" src="https://user-images.githubusercontent.com/3165635/125192249-236f8a80-e247-11eb-9df9-17d476379a32.png"></a>
9394
9517
 
9395
- You can follow our progress at https://github.com/mui/material-ui/issues/27170.
9518
+ You can follow our progress at https://github.com/mui/base-ui/issues/10.
9396
9519
 
9397
9520
  - πŸ’„ We have updated the default `info` `success` `warning` color to be more accessible (#26817) @siriwatknp.
9398
9521
  You can find the new [default values](https://mui.com/material-ui/customization/palette/#default-values) in the documentation.
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import { TypographyProps } from '@mui/material/Typography';
3
+ import { LinkProps } from '../Link';
4
+ interface GlowingIconContainerProps {
5
+ icon: React.ReactNode;
6
+ }
7
+ export declare function GlowingIconContainer({ icon }: GlowingIconContainerProps): React.JSX.Element;
8
+ interface InfoCardProps {
9
+ classNameDescription?: string;
10
+ classNameTitle?: string;
11
+ dense?: boolean;
12
+ description?: string;
13
+ icon?: React.ReactNode;
14
+ link?: string;
15
+ prefetch?: LinkProps['prefetch'];
16
+ svg?: React.ReactNode;
17
+ title: string;
18
+ titleProps?: TypographyProps;
19
+ }
20
+ export declare function InfoCard(props: InfoCardProps): React.JSX.Element;
21
+ export {};
@@ -0,0 +1,87 @@
1
+ import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/esm/objectWithoutPropertiesLoose";
2
+ import _extends from "@babel/runtime/helpers/esm/extends";
3
+ const _excluded = ["classNameDescription", "classNameTitle", "dense", "description", "icon", "link", "svg", "title", "titleProps"];
4
+ import * as React from 'react';
5
+ import { alpha } from '@mui/material/styles';
6
+ import Box from '@mui/material/Box';
7
+ import Paper from '@mui/material/Paper';
8
+ import Typography from '@mui/material/Typography';
9
+ import { Link } from '../Link';
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ import { jsxs as _jsxs } from "react/jsx-runtime";
12
+ export function GlowingIconContainer({
13
+ icon
14
+ }) {
15
+ return /*#__PURE__*/_jsx(Box, {
16
+ sx: theme => _extends({
17
+ width: 40,
18
+ height: 40,
19
+ display: 'flex',
20
+ justifyContent: 'center',
21
+ alignItems: 'center',
22
+ flexShrink: 0,
23
+ borderRadius: 1,
24
+ border: '1px solid',
25
+ borderColor: 'primary.200',
26
+ bgcolor: 'primary.50',
27
+ boxShadow: `0px 0 0 2px ${alpha(theme.palette.primary[500], 0.1)}, 0px 2px 12px 0px rgba(234, 237, 241, 0.3) inset`
28
+ }, theme.applyDarkStyles({
29
+ borderColor: alpha(theme.palette.primary[400], 0.25),
30
+ bgcolor: alpha(theme.palette.primary[900], 0.4),
31
+ boxShadow: `0 0 0 2px ${alpha(theme.palette.primary[600], 0.1)}, 0px 2px 12px 0px rgba(0, 0, 0, 0.25) inset`
32
+ })),
33
+ children: icon
34
+ });
35
+ }
36
+ export function InfoCard(props) {
37
+ const {
38
+ classNameDescription,
39
+ classNameTitle,
40
+ dense,
41
+ description,
42
+ icon,
43
+ link,
44
+ svg,
45
+ title,
46
+ titleProps
47
+ } = props,
48
+ other = _objectWithoutPropertiesLoose(props, _excluded);
49
+ return /*#__PURE__*/_jsxs(Paper, _extends({
50
+ variant: "outlined",
51
+ component: link ? Link : 'div',
52
+ href: link
53
+ }, link ? {
54
+ noLinkStyle: true,
55
+ // Fix overloading with prefetch={false}, only prefetch on hover.
56
+ prefetch: false
57
+ } : {}, {
58
+ sx: theme => _extends({
59
+ p: dense ? 2.5 : 3.5,
60
+ height: '100%',
61
+ background: `${(theme.vars || theme).palette.gradients.linearSubtle}`
62
+ }, theme.applyDarkStyles({
63
+ bgcolor: alpha(theme.palette.primaryDark[800], 0.25),
64
+ background: `${(theme.vars || theme).palette.gradients.linearSubtle}`,
65
+ borderColor: 'primaryDark.700'
66
+ }))
67
+ }, other, {
68
+ children: [svg && svg, icon && /*#__PURE__*/_jsx(GlowingIconContainer, {
69
+ icon: icon
70
+ }), /*#__PURE__*/_jsx(Typography, _extends({
71
+ fontWeight: "bold",
72
+ component: "h3",
73
+ color: "text.primary",
74
+ variant: "body2",
75
+ mt: icon ? 2 : 0,
76
+ mb: description ? 0.5 : 0,
77
+ className: classNameTitle
78
+ }, titleProps, {
79
+ children: title
80
+ })), /*#__PURE__*/_jsx(Typography, {
81
+ variant: "body2",
82
+ color: "text.secondary",
83
+ className: classNameDescription,
84
+ children: description
85
+ })]
86
+ }));
87
+ }
@@ -0,0 +1 @@
1
+ export * from './InfoCard';
@@ -0,0 +1 @@
1
+ export * from './InfoCard';
@@ -0,0 +1,6 @@
1
+ {
2
+ "sideEffects": false,
3
+ "module": "./index.js",
4
+ "main": "../node/InfoCard/index.js",
5
+ "types": "./index.d.ts"
6
+ }
@@ -0,0 +1,9 @@
1
+ import * as React from 'react';
2
+ export interface BrandingProviderProps {
3
+ children: React.ReactNode;
4
+ /**
5
+ * If not `undefined`, the provider is considered nesting and does not render NextNProgressBar & CssBaseline
6
+ */
7
+ mode: 'light' | 'dark';
8
+ }
9
+ export declare function BrandingProvider(props: BrandingProviderProps): React.JSX.Element;
@@ -0,0 +1,17 @@
1
+ import * as React from 'react';
2
+ import { ThemeProvider, useTheme } from '@mui/material/styles';
3
+ import { brandingDarkTheme, brandingLightTheme } from './brandingTheme';
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ export function BrandingProvider(props) {
6
+ const {
7
+ children,
8
+ mode: modeProp
9
+ } = props;
10
+ const upperTheme = useTheme();
11
+ const mode = modeProp || upperTheme.palette.mode;
12
+ const theme = mode === 'dark' ? brandingDarkTheme : brandingLightTheme;
13
+ return /*#__PURE__*/_jsx(ThemeProvider, {
14
+ theme: modeProp ? () => theme : theme,
15
+ children: children
16
+ });
17
+ }
@@ -0,0 +1,152 @@
1
+ import type { CSSObject } from '@mui/system';
2
+ import { ThemeOptions, Theme } from '@mui/material/styles';
3
+ interface ApplyDarkStyles {
4
+ (scheme: CSSObject): CSSObject;
5
+ }
6
+ declare module '@mui/material/styles' {
7
+ interface Theme {
8
+ applyDarkStyles: ApplyDarkStyles;
9
+ }
10
+ }
11
+ declare module '@mui/material/styles/createPalette' {
12
+ interface ColorRange {
13
+ 50: string;
14
+ 100: string;
15
+ 200: string;
16
+ 300: string;
17
+ 400: string;
18
+ 500: string;
19
+ 600: string;
20
+ 700: string;
21
+ 800: string;
22
+ 900: string;
23
+ }
24
+ interface PaletteColor extends ColorRange {
25
+ }
26
+ interface Palette {
27
+ primaryDark: PaletteColor;
28
+ gradients: {
29
+ radioSubtle: string;
30
+ linearSubtle: string;
31
+ };
32
+ }
33
+ interface TypeText {
34
+ tertiary: string;
35
+ }
36
+ }
37
+ declare module '@mui/material/styles/createTypography' {
38
+ interface TypographyOptions {
39
+ fontWeightSemiBold?: number;
40
+ fontWeightExtraBold?: number;
41
+ fontFamilyCode?: string;
42
+ fontFamilySystem?: string;
43
+ }
44
+ interface Typography {
45
+ fontWeightSemiBold: number;
46
+ fontWeightExtraBold: number;
47
+ fontFamilyCode: string;
48
+ fontFamilySystem: string;
49
+ }
50
+ }
51
+ declare module '@mui/material/Chip' {
52
+ interface ChipPropsColorOverrides {
53
+ grey: true;
54
+ }
55
+ }
56
+ declare module '@mui/material/SvgIcon' {
57
+ interface SvgIconPropsColorOverrides {
58
+ danger: true;
59
+ }
60
+ interface SvgIconPropsSizeOverrides {
61
+ xs: true;
62
+ sm: true;
63
+ md: true;
64
+ lg: true;
65
+ xl: true;
66
+ xl2: true;
67
+ xl3: true;
68
+ xl4: true;
69
+ }
70
+ }
71
+ export declare const blue: {
72
+ 50: string;
73
+ 100: string;
74
+ 200: string;
75
+ 300: string;
76
+ 400: string;
77
+ main: string;
78
+ 500: string;
79
+ 600: string;
80
+ 700: string;
81
+ 800: string;
82
+ 900: string;
83
+ };
84
+ export declare const blueDark: {
85
+ 50: string;
86
+ 100: string;
87
+ 200: string;
88
+ 300: string;
89
+ main: string;
90
+ 400: string;
91
+ 500: string;
92
+ 600: string;
93
+ 700: string;
94
+ 800: string;
95
+ 900: string;
96
+ };
97
+ export declare const grey: {
98
+ 50: string;
99
+ 100: string;
100
+ 200: string;
101
+ 300: string;
102
+ 400: string;
103
+ 500: string;
104
+ 600: string;
105
+ 700: string;
106
+ 800: string;
107
+ 900: string;
108
+ };
109
+ export declare const error: {
110
+ 50: string;
111
+ 100: string;
112
+ 200: string;
113
+ 300: string;
114
+ 400: string;
115
+ 500: string;
116
+ main: string;
117
+ 600: string;
118
+ 700: string;
119
+ 800: string;
120
+ 900: string;
121
+ };
122
+ export declare const success: {
123
+ 50: string;
124
+ 100: string;
125
+ 200: string;
126
+ 300: string;
127
+ 400: string;
128
+ 500: string;
129
+ 600: string;
130
+ 700: string;
131
+ 800: string;
132
+ 900: string;
133
+ };
134
+ export declare const warning: {
135
+ 50: string;
136
+ 100: string;
137
+ 200: string;
138
+ 300: string;
139
+ 400: string;
140
+ 500: string;
141
+ main: string;
142
+ 600: string;
143
+ 700: string;
144
+ 800: string;
145
+ 900: string;
146
+ };
147
+ export declare const getMetaThemeColor: (mode: 'light' | 'dark') => string;
148
+ export declare const getDesignTokens: (mode: 'light' | 'dark') => ThemeOptions;
149
+ export declare function getThemedComponents(): ThemeOptions;
150
+ export declare const brandingDarkTheme: Theme;
151
+ export declare const brandingLightTheme: Theme;
152
+ export {};