@mui/docs 5.12.3 โ 5.12.4
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 +124 -0
- package/NProgressBar/NProgressBar.js +6 -7
- package/index.js +1 -1
- package/legacy/NProgressBar/NProgressBar.js +5 -3
- package/legacy/index.js +1 -1
- package/legacy/svgIcons/FileDownload.js +4 -2
- package/legacy/svgIcons/JavaScript.js +4 -2
- package/legacy/svgIcons/TypeScript.js +4 -2
- package/node/NProgressBar/NProgressBar.js +6 -7
- package/node/index.js +1 -1
- package/node/svgIcons/FileDownload.js +3 -3
- package/node/svgIcons/JavaScript.js +3 -3
- package/node/svgIcons/TypeScript.js +3 -3
- package/package.json +2 -2
- package/svgIcons/FileDownload.js +3 -3
- package/svgIcons/JavaScript.js +3 -3
- package/svgIcons/TypeScript.js +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,129 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.13.1
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.13.0..master -->
|
|
6
|
+
|
|
7
|
+
_May 16, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 25 contributors who made this release possible. Here are some highlights โจ:
|
|
10
|
+
|
|
11
|
+
- ๐ Added Central Myanmar (my-MY), Malay (ms-MS), Nepali (ne-NP), Tagalog (tl-TL) locales (#37017) @cccEric
|
|
12
|
+
- ๐ bug fixes and ๐ documentation improvements.
|
|
13
|
+
|
|
14
|
+
### `@mui/material@5.13.1`
|
|
15
|
+
|
|
16
|
+
- [Autocomplete] Allow tooltip text selection (#36503) @safeamiiir
|
|
17
|
+
- [Dialog] Fixed broken dialog when using maxWidth="xs" and custom breakpoint unit (#37237) @jguddas
|
|
18
|
+
- [l10n] Add Central Myanmar (my-MY), Malay (ms-MS), Nepali (ne-NP), Tagalog (tl-TL) locales (#37017) @cccEric
|
|
19
|
+
|
|
20
|
+
### `@mui/utils@5.13.1`
|
|
21
|
+
|
|
22
|
+
- [utils] Fix downstream bundlers remove React 17 useId compatibility (#37183) @nickiaconis
|
|
23
|
+
|
|
24
|
+
### `@mui/base@5.0.0-beta.1`
|
|
25
|
+
|
|
26
|
+
- [Select][base] Keep focus on the trigger element when listbox is open (#37244) @michaldudak
|
|
27
|
+
|
|
28
|
+
### `@mui/joy@5.0.0-alpha.80`
|
|
29
|
+
|
|
30
|
+
- [Autocomplete] Fixed scroll into view (#37217) @sai6855
|
|
31
|
+
- [AutocompleteOption][Avatar] js test replaced with ts test (#37088) @PunitSoniME
|
|
32
|
+
- [Breadcrumbs] Replace js-tests with ts-tests (#37107) @mauwaz
|
|
33
|
+
- [RadioGroup] Turn JS test to TS test (#37138) @uuxxx
|
|
34
|
+
- [SvgIcon] Turn JS test to TS test (#37151) @nicolas-ot
|
|
35
|
+
- [Tooltip] Turn JS test to TS test (#37149) @nicolas-ot
|
|
36
|
+
- [Typography] Convert Typography test to TypeScript (#37165) @DerTimonius
|
|
37
|
+
- [Sheet][Slider][Stack][Switch] Replace js-tests with ts-tests (#37139) @mauwaz
|
|
38
|
+
- Miscellaneous fixes (#37274) @siriwatknp
|
|
39
|
+
|
|
40
|
+
### Docs
|
|
41
|
+
|
|
42
|
+
- [docs] Remove upload button (#36844) @Bastian
|
|
43
|
+
- [docs] Update link to overriding component structure guide (#36870) @hbjORbj
|
|
44
|
+
- [docs] Fix Material Design templates (#37187) @oliviertassinari
|
|
45
|
+
- [docs] Fix link to Joy UI GitHub issues @oliviertassinari
|
|
46
|
+
- [docs] Show default value for `filterOptions` prop in Autocomplete's API docs (#37230) @ZeeshanTamboli
|
|
47
|
+
- [docs] Add summary and improve `test_static` CI doc in CONTRIBUTING readme file (#36711) @kriskw1999
|
|
48
|
+
- [docs] Update theme customization typescript (#35551) @siriwatknp
|
|
49
|
+
- [docs] Add Joy Frames X web blocks template (#37203) @siriwatknp
|
|
50
|
+
- [docs] Change Base UI `alpha` to `beta` in README (#37228) @ZeeshanTamboli
|
|
51
|
+
- [docs] Improve Base UI overview page (#37227) @mnajdova
|
|
52
|
+
- [docs] Update Joy + Material guide (#36911) @cherniavskii
|
|
53
|
+
|
|
54
|
+
### Core
|
|
55
|
+
|
|
56
|
+
- [core] Remove `toEqualDateTime` chai matcher (#37073) @flaviendelangle
|
|
57
|
+
- [core] Check dependency cycles inside packages directory only (#37223) @michaldudak
|
|
58
|
+
- [core] Remove outdated babel proposal plugins (#36795) @kkocdko
|
|
59
|
+
- [website] Add Diego to About Us page (#37284) @DiegoAndai
|
|
60
|
+
- [website] Add Victor teamMember card to 'About' (#37283) @zanivan
|
|
61
|
+
- [website] Add Rich to the 'About' page (#37221) @richbustos
|
|
62
|
+
|
|
63
|
+
All contributors of this release in alphabetical order: @Bastian, @binh1298, @cccEric, @cherniavskii, @DerTimonius, @DiegoAndai, @flaviendelangle, @hbjORbj, @jguddas, @kkocdko, @kriskw1999, @mauwaz, @michaldudak, @mnajdova, @nickiaconis, @nicolas-ot, @oliviertassinari, @PunitSoniME, @richbustos, @safeamiiir, @sai6855, @siriwatknp, @uuxxx, @zanivan, @ZeeshanTamboli
|
|
64
|
+
|
|
65
|
+
## 5.13.0
|
|
66
|
+
|
|
67
|
+
<!-- generated comparing v5.12.3..master -->
|
|
68
|
+
|
|
69
|
+
_May 10, 2023_
|
|
70
|
+
|
|
71
|
+
A big thanks to the 18 contributors who made this release possible. Here are some highlights โจ:
|
|
72
|
+
|
|
73
|
+
- ๐ Base UI is now in beta - all planned breaking changes are now complete!
|
|
74
|
+
- ๐บ We have a new [project roadmap](https://github.com/orgs/mui/projects/18/views/1) on GitHub where you can learn about what's coming next.
|
|
75
|
+
- ๐ Various bug fixes, ๐ documentation and ๐งช testing improvements
|
|
76
|
+
|
|
77
|
+
### `@mui/material@5.13.0`
|
|
78
|
+
|
|
79
|
+
- [Autocomplete] Support `ChipComponent` type (#37112) @sai6855
|
|
80
|
+
- [AppBar] Fix component type (#37172) @sai6855
|
|
81
|
+
- [Select] Simplify handleChange in SelectInput (#37040) @ulrichstark
|
|
82
|
+
|
|
83
|
+
### `@mui/joy@5.0.0-alpha.79`
|
|
84
|
+
|
|
85
|
+
- [Input][joy] Improve alignment on date fields (#37146) @wewakekumar
|
|
86
|
+
- [Alery][joy] Turn JS test to TS test (#37077) @hbjORbj
|
|
87
|
+
- [AspectRatio][joy] js test replaced with ts test (#37087) @PunitSoniME
|
|
88
|
+
- [Badge][AvatarGroup][joy] js test replaced with ts test (#37089) @PunitSoniME
|
|
89
|
+
- [Box][Card][MenuList][joy] Turn JS test to TS test (#37126) @uuxxx
|
|
90
|
+
- [List][Menu][joy] Turn JS test to TS test (#37123) @uuxxx
|
|
91
|
+
- [test][Joy] Remove duplicate Avatar test (#37201) @zignis
|
|
92
|
+
- [test][joy] js test cases converted to ts (#37117) @PunitSoniME
|
|
93
|
+
- [Button][joy] Convert Button test to typescript (#37181) @akash191095
|
|
94
|
+
- [CardContent][CardCover][CardOverflow][Chip][ChipDelete][joy] js text case converted to ts (#37116) @PunitSoniME
|
|
95
|
+
- [Radio][IconButton][Checkbox][Option][joy] Switch to TypeScript unit test (#37137) @DerTimonius
|
|
96
|
+
|
|
97
|
+
### `@mui/base@5.0.0-beta.0`
|
|
98
|
+
|
|
99
|
+
- [Select][base] Do not call onChange after initial render (#37141) @michaldudak
|
|
100
|
+
- [Select][base] Rename the `optionStringifier` prop (#37118) @michaldudak
|
|
101
|
+
- [typescript][base] Fix types of components callbacks parameters (#37169) @michaldudak
|
|
102
|
+
- [Select], [TablePagination] Use more descriptive parameter names (#37064) @michaldudak
|
|
103
|
+
|
|
104
|
+
### Docs
|
|
105
|
+
|
|
106
|
+
- [docs] Stray design tweaks to Base UI demos (#37003) @danilo-leal
|
|
107
|
+
- [docs] Move outdated CSS prefixing docs (#36710) @kriskw1999
|
|
108
|
+
- [docs] Improve "Example projects" page design (#37007) @danilo-leal
|
|
109
|
+
- [docs] Redirect NoSsr, Portal and TextareaAutosize to Base UI API page (#37175) @ZeeshanTamboli
|
|
110
|
+
- [docs] Demonstrate `TextField` customization using theme style overrides (#36805) @ZeeshanTamboli
|
|
111
|
+
- [docs] Tweak the "Edit this page" button icon (#37142) @danilo-leal
|
|
112
|
+
- [docs] Update links to the public roadmap (#36995) @mnajdova
|
|
113
|
+
- [docs] Improve Multiselect demo styling (#37120) @michaldudak
|
|
114
|
+
- [Stack] Fix import description @oliviertassinari
|
|
115
|
+
|
|
116
|
+
### Core
|
|
117
|
+
|
|
118
|
+
- [blog] Fix images using "MUI Base" instead of "Base UI" (#37044) @danilo-leal
|
|
119
|
+
- [core] Add VSCode extensions recommendations (#37166) @michaldudak
|
|
120
|
+
- [test] `e2e-website` related minor fixes (#37204) @ZeeshanTamboli
|
|
121
|
+
- [website] Update the active positions (#37075) @DanailH
|
|
122
|
+
- [website] Add Romain to the About page (#37124) @romgrk
|
|
123
|
+
- [website] Make Toolpad alpha labels consistent (#37125) @gerdadesign
|
|
124
|
+
|
|
125
|
+
All contributors of this release in alphabetical order: @akash191095, @DanailH, @danilo-leal, @DerTimonius, @gerdadesign, @hbjORbj, @kriskw1999, @michaldudak, @mnajdova, @oliviertassinari, @PunitSoniME, @romgrk, @sai6855, @ulrichstark, @uuxxx, @wewakekumar, @ZeeshanTamboli, @zignis
|
|
126
|
+
|
|
3
127
|
## 5.12.3
|
|
4
128
|
|
|
5
129
|
<!-- generated comparing v5.12.2..master -->
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
let _ = t => t,
|
|
3
2
|
_t;
|
|
4
3
|
import * as React from 'react';
|
|
@@ -41,7 +40,7 @@ function NProgressBar(props) {
|
|
|
41
40
|
return /*#__PURE__*/_jsxs(NoSsr, {
|
|
42
41
|
children: [props.children, /*#__PURE__*/_jsx(GlobalStyles, {
|
|
43
42
|
styles: theme => ({
|
|
44
|
-
'#nprogress':
|
|
43
|
+
'#nprogress': {
|
|
45
44
|
direction: 'ltr',
|
|
46
45
|
pointerEvents: 'none',
|
|
47
46
|
position: 'fixed',
|
|
@@ -50,10 +49,10 @@ function NProgressBar(props) {
|
|
|
50
49
|
right: 0,
|
|
51
50
|
height: 2,
|
|
52
51
|
zIndex: (theme.vars || theme).zIndex.tooltip,
|
|
53
|
-
backgroundColor: (theme.vars || theme).palette.primary[200]
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
52
|
+
backgroundColor: (theme.vars || theme).palette.primary[200],
|
|
53
|
+
...theme.applyDarkStyles({
|
|
54
|
+
backgroundColor: (theme.vars || theme).palette.primary[700]
|
|
55
|
+
}),
|
|
57
56
|
'& .nprogress-bar': {
|
|
58
57
|
position: 'fixed',
|
|
59
58
|
backgroundColor: (theme.vars || theme).palette.primary.main,
|
|
@@ -82,7 +81,7 @@ function NProgressBar(props) {
|
|
|
82
81
|
right: -80,
|
|
83
82
|
clip: 'rect(-6px,90px,14px,-6px)'
|
|
84
83
|
}
|
|
85
|
-
}
|
|
84
|
+
}
|
|
86
85
|
})
|
|
87
86
|
})]
|
|
88
87
|
});
|
package/index.js
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/esm/taggedTemplateLiteral";
|
|
3
3
|
var _templateObject;
|
|
4
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
5
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4
6
|
import * as React from 'react';
|
|
5
7
|
import PropTypes from 'prop-types';
|
|
6
8
|
import NProgress from 'nprogress';
|
|
@@ -25,7 +27,7 @@ function NProgressBar(props) {
|
|
|
25
27
|
children: [props.children, /*#__PURE__*/_jsx(GlobalStyles, {
|
|
26
28
|
styles: function styles(theme) {
|
|
27
29
|
return {
|
|
28
|
-
'#nprogress':
|
|
30
|
+
'#nprogress': _objectSpread(_objectSpread({
|
|
29
31
|
direction: 'ltr',
|
|
30
32
|
pointerEvents: 'none',
|
|
31
33
|
position: 'fixed',
|
|
@@ -37,7 +39,7 @@ function NProgressBar(props) {
|
|
|
37
39
|
backgroundColor: (theme.vars || theme).palette.primary[200]
|
|
38
40
|
}, theme.applyDarkStyles({
|
|
39
41
|
backgroundColor: (theme.vars || theme).palette.primary[700]
|
|
40
|
-
}), {
|
|
42
|
+
})), {}, {
|
|
41
43
|
'& .nprogress-bar': {
|
|
42
44
|
position: 'fixed',
|
|
43
45
|
backgroundColor: (theme.vars || theme).palette.primary.main,
|
package/legacy/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
var _path;
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3
5
|
import * as React from 'react';
|
|
4
6
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
function FileDownload(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
9
|
+
return /*#__PURE__*/_jsx(SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
|
|
8
10
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
11
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
10
12
|
}))
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
var _path;
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3
5
|
import * as React from 'react';
|
|
4
6
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
function JavaScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
9
|
+
return /*#__PURE__*/_jsx(SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
|
|
8
10
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
11
|
d: "M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"
|
|
10
12
|
}))
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
2
|
var _path;
|
|
3
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
3
5
|
import * as React from 'react';
|
|
4
6
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
7
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
8
|
function TypeScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
9
|
+
return /*#__PURE__*/_jsx(SvgIcon, _objectSpread(_objectSpread({}, props), {}, {
|
|
8
10
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
11
|
d: "M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"
|
|
10
12
|
}))
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
11
10
|
var _nprogress = _interopRequireDefault(require("nprogress"));
|
|
@@ -47,7 +46,7 @@ function NProgressBar(props) {
|
|
|
47
46
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_NoSsr.default, {
|
|
48
47
|
children: [props.children, /*#__PURE__*/(0, _jsxRuntime.jsx)(_GlobalStyles.default, {
|
|
49
48
|
styles: theme => ({
|
|
50
|
-
'#nprogress':
|
|
49
|
+
'#nprogress': {
|
|
51
50
|
direction: 'ltr',
|
|
52
51
|
pointerEvents: 'none',
|
|
53
52
|
position: 'fixed',
|
|
@@ -56,10 +55,10 @@ function NProgressBar(props) {
|
|
|
56
55
|
right: 0,
|
|
57
56
|
height: 2,
|
|
58
57
|
zIndex: (theme.vars || theme).zIndex.tooltip,
|
|
59
|
-
backgroundColor: (theme.vars || theme).palette.primary[200]
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
58
|
+
backgroundColor: (theme.vars || theme).palette.primary[200],
|
|
59
|
+
...theme.applyDarkStyles({
|
|
60
|
+
backgroundColor: (theme.vars || theme).palette.primary[700]
|
|
61
|
+
}),
|
|
63
62
|
'& .nprogress-bar': {
|
|
64
63
|
position: 'fixed',
|
|
65
64
|
backgroundColor: (theme.vars || theme).palette.primary.main,
|
|
@@ -88,7 +87,7 @@ function NProgressBar(props) {
|
|
|
88
87
|
right: -80,
|
|
89
88
|
clip: 'rect(-6px,90px,14px,-6px)'
|
|
90
89
|
}
|
|
91
|
-
}
|
|
90
|
+
}
|
|
92
91
|
})
|
|
93
92
|
})]
|
|
94
93
|
});
|
package/node/index.js
CHANGED
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
14
|
function FileDownload(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
FileDownload.muiName = 'SvgIcon';
|
|
23
23
|
var _default = FileDownload;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
14
|
function JavaScript(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
JavaScript.muiName = 'SvgIcon';
|
|
23
23
|
var _default = JavaScript;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
|
-
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
9
8
|
var React = _interopRequireWildcard(require("react"));
|
|
10
9
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
11
10
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
@@ -13,11 +12,12 @@ var _path;
|
|
|
13
12
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
13
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
14
|
function TypeScript(props) {
|
|
16
|
-
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default,
|
|
15
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, {
|
|
16
|
+
...props,
|
|
17
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
18
18
|
d: "M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"
|
|
19
19
|
}))
|
|
20
|
-
})
|
|
20
|
+
});
|
|
21
21
|
}
|
|
22
22
|
TypeScript.muiName = 'SvgIcon';
|
|
23
23
|
var _default = TypeScript;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "5.12.
|
|
3
|
+
"version": "5.12.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@babel/runtime": "^7.21.0",
|
|
37
|
-
"@mui/utils": "^5.
|
|
37
|
+
"@mui/utils": "^5.13.1",
|
|
38
38
|
"nprogress": "^0.2.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
package/svgIcons/FileDownload.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function FileDownload(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
FileDownload.muiName = 'SvgIcon';
|
|
14
14
|
export default FileDownload;
|
package/svgIcons/JavaScript.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function JavaScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M3,3H21V21H3V3M7.73,18.04C8.13,18.89 8.92,19.59 10.27,19.59C11.77,19.59 12.8,18.79 12.8,17.04V11.26H11.1V17C11.1,17.86 10.75,18.08 10.2,18.08C9.62,18.08 9.38,17.68 9.11,17.21L7.73,18.04M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86Z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
JavaScript.muiName = 'SvgIcon';
|
|
14
14
|
export default JavaScript;
|
package/svgIcons/TypeScript.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
1
|
var _path;
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
5
4
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
6
5
|
function TypeScript(props) {
|
|
7
|
-
return /*#__PURE__*/_jsx(SvgIcon,
|
|
6
|
+
return /*#__PURE__*/_jsx(SvgIcon, {
|
|
7
|
+
...props,
|
|
8
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
9
9
|
d: "M3,3H21V21H3V3M13.71,17.86C14.21,18.84 15.22,19.59 16.8,19.59C18.4,19.59 19.6,18.76 19.6,17.23C19.6,15.82 18.79,15.19 17.35,14.57L16.93,14.39C16.2,14.08 15.89,13.87 15.89,13.37C15.89,12.96 16.2,12.64 16.7,12.64C17.18,12.64 17.5,12.85 17.79,13.37L19.1,12.5C18.55,11.54 17.77,11.17 16.7,11.17C15.19,11.17 14.22,12.13 14.22,13.4C14.22,14.78 15.03,15.43 16.25,15.95L16.67,16.13C17.45,16.47 17.91,16.68 17.91,17.26C17.91,17.74 17.46,18.09 16.76,18.09C15.93,18.09 15.45,17.66 15.09,17.06L13.71,17.86M13,11.25H8V12.75H9.5V20H11.25V12.75H13V11.25Z"
|
|
10
10
|
}))
|
|
11
|
-
})
|
|
11
|
+
});
|
|
12
12
|
}
|
|
13
13
|
TypeScript.muiName = 'SvgIcon';
|
|
14
14
|
export default TypeScript;
|