@mui/docs 5.10.9 → 5.10.14
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 +574 -214
- package/NProgressBar/NProgressBar.js +1 -8
- package/index.js +1 -1
- package/legacy/NProgressBar/NProgressBar.js +1 -8
- package/legacy/index.js +1 -1
- package/legacy/svgIcons/FileDownload.js +0 -4
- package/legacy/svgIcons/JavaScript.js +0 -4
- package/legacy/svgIcons/TypeScript.js +0 -4
- package/node/NProgressBar/NProgressBar.js +1 -20
- package/node/NProgressBar/index.js +0 -2
- package/node/index.js +1 -6
- package/node/svgIcons/FileDownload.js +0 -10
- package/node/svgIcons/JavaScript.js +0 -10
- package/node/svgIcons/TypeScript.js +0 -10
- package/package.json +3 -3
- package/svgIcons/FileDownload.js +0 -4
- package/svgIcons/JavaScript.js +0 -4
- package/svgIcons/TypeScript.js +0 -4
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
var _GlobalStyles;
|
|
2
|
-
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import NProgress from 'nprogress';
|
|
@@ -18,12 +17,10 @@ NProgress.configure({
|
|
|
18
17
|
</div>
|
|
19
18
|
`
|
|
20
19
|
});
|
|
21
|
-
|
|
22
20
|
const styles = theme => {
|
|
23
21
|
if (!theme.nprogress.color) {
|
|
24
22
|
throw new Error('MUI: You need to provide a `theme.nprogress.color` property' + ' for using the `NProgressBar` component.');
|
|
25
23
|
}
|
|
26
|
-
|
|
27
24
|
return {
|
|
28
25
|
'@global': {
|
|
29
26
|
'#nprogress': {
|
|
@@ -79,30 +76,26 @@ const styles = theme => {
|
|
|
79
76
|
}
|
|
80
77
|
};
|
|
81
78
|
};
|
|
82
|
-
|
|
83
79
|
const defaultTheme = createTheme();
|
|
84
80
|
const GlobalStyles = withStyles(styles, {
|
|
85
81
|
defaultTheme,
|
|
86
82
|
flip: false,
|
|
87
83
|
name: 'MuiNProgressBar'
|
|
88
84
|
})(() => null);
|
|
85
|
+
|
|
89
86
|
/**
|
|
90
87
|
* Elegant and ready-to-use wrapper on top of https://github.com/rstacruz/nprogress/.
|
|
91
88
|
* The implementation is highly inspired by the YouTube one.
|
|
92
89
|
*/
|
|
93
|
-
|
|
94
90
|
function NProgressBar(props) {
|
|
95
91
|
return /*#__PURE__*/_jsxs(NoSsr, {
|
|
96
92
|
children: [props.children, _GlobalStyles || (_GlobalStyles = /*#__PURE__*/_jsx(GlobalStyles, {}))]
|
|
97
93
|
});
|
|
98
94
|
}
|
|
99
|
-
|
|
100
95
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = {
|
|
101
96
|
children: PropTypes.node
|
|
102
97
|
} : void 0;
|
|
103
|
-
|
|
104
98
|
if (process.env.NODE_ENV !== 'production') {
|
|
105
99
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = exactProp(NProgressBar.propTypes) : void 0;
|
|
106
100
|
}
|
|
107
|
-
|
|
108
101
|
export default NProgressBar;
|
package/index.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
var _GlobalStyles;
|
|
2
|
-
|
|
3
2
|
import * as React from 'react';
|
|
4
3
|
import PropTypes from 'prop-types';
|
|
5
4
|
import NProgress from 'nprogress';
|
|
@@ -13,12 +12,10 @@ NProgress.configure({
|
|
|
13
12
|
barSelector: '.nprogress-bar',
|
|
14
13
|
template: "\n <div class=\"nprogress-bar\">\n <div></div>\n <div></div>\n </div>\n "
|
|
15
14
|
});
|
|
16
|
-
|
|
17
15
|
var styles = function styles(theme) {
|
|
18
16
|
if (!theme.nprogress.color) {
|
|
19
17
|
throw new Error('MUI: You need to provide a `theme.nprogress.color` property' + ' for using the `NProgressBar` component.');
|
|
20
18
|
}
|
|
21
|
-
|
|
22
19
|
return {
|
|
23
20
|
'@global': {
|
|
24
21
|
'#nprogress': {
|
|
@@ -74,7 +71,6 @@ var styles = function styles(theme) {
|
|
|
74
71
|
}
|
|
75
72
|
};
|
|
76
73
|
};
|
|
77
|
-
|
|
78
74
|
var defaultTheme = createTheme();
|
|
79
75
|
var GlobalStyles = withStyles(styles, {
|
|
80
76
|
defaultTheme: defaultTheme,
|
|
@@ -83,23 +79,20 @@ var GlobalStyles = withStyles(styles, {
|
|
|
83
79
|
})(function () {
|
|
84
80
|
return null;
|
|
85
81
|
});
|
|
82
|
+
|
|
86
83
|
/**
|
|
87
84
|
* Elegant and ready-to-use wrapper on top of https://github.com/rstacruz/nprogress/.
|
|
88
85
|
* The implementation is highly inspired by the YouTube one.
|
|
89
86
|
*/
|
|
90
|
-
|
|
91
87
|
function NProgressBar(props) {
|
|
92
88
|
return /*#__PURE__*/_jsxs(NoSsr, {
|
|
93
89
|
children: [props.children, _GlobalStyles || (_GlobalStyles = /*#__PURE__*/_jsx(GlobalStyles, {}))]
|
|
94
90
|
});
|
|
95
91
|
}
|
|
96
|
-
|
|
97
92
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = {
|
|
98
93
|
children: PropTypes.node
|
|
99
94
|
} : void 0;
|
|
100
|
-
|
|
101
95
|
if (process.env.NODE_ENV !== 'production') {
|
|
102
96
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = exactProp(NProgressBar.propTypes) : void 0;
|
|
103
97
|
}
|
|
104
|
-
|
|
105
98
|
export default NProgressBar;
|
package/legacy/index.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function FileDownload(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function FileDownload(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
FileDownload.muiName = 'SvgIcon';
|
|
18
14
|
export default FileDownload;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function JavaScript(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function JavaScript(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
JavaScript.muiName = 'SvgIcon';
|
|
18
14
|
export default JavaScript;
|
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function TypeScript(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function TypeScript(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
TypeScript.muiName = 'SvgIcon';
|
|
18
14
|
export default TypeScript;
|
|
@@ -1,34 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var React = _interopRequireWildcard(require("react"));
|
|
11
|
-
|
|
12
9
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
|
-
|
|
14
10
|
var _nprogress = _interopRequireDefault(require("nprogress"));
|
|
15
|
-
|
|
16
11
|
var _styles = require("@mui/styles");
|
|
17
|
-
|
|
18
12
|
var _styles2 = require("@mui/material/styles");
|
|
19
|
-
|
|
20
13
|
var _NoSsr = _interopRequireDefault(require("@mui/base/NoSsr"));
|
|
21
|
-
|
|
22
14
|
var _utils = require("@mui/utils");
|
|
23
|
-
|
|
24
15
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
25
|
-
|
|
26
16
|
var _GlobalStyles;
|
|
27
|
-
|
|
28
17
|
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); }
|
|
29
|
-
|
|
30
18
|
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; }
|
|
31
|
-
|
|
32
19
|
_nprogress.default.configure({
|
|
33
20
|
barSelector: '.nprogress-bar',
|
|
34
21
|
template: `
|
|
@@ -38,12 +25,10 @@ _nprogress.default.configure({
|
|
|
38
25
|
</div>
|
|
39
26
|
`
|
|
40
27
|
});
|
|
41
|
-
|
|
42
28
|
const styles = theme => {
|
|
43
29
|
if (!theme.nprogress.color) {
|
|
44
30
|
throw new Error('MUI: You need to provide a `theme.nprogress.color` property' + ' for using the `NProgressBar` component.');
|
|
45
31
|
}
|
|
46
|
-
|
|
47
32
|
return {
|
|
48
33
|
'@global': {
|
|
49
34
|
'#nprogress': {
|
|
@@ -99,31 +84,27 @@ const styles = theme => {
|
|
|
99
84
|
}
|
|
100
85
|
};
|
|
101
86
|
};
|
|
102
|
-
|
|
103
87
|
const defaultTheme = (0, _styles2.createTheme)();
|
|
104
88
|
const GlobalStyles = (0, _styles.withStyles)(styles, {
|
|
105
89
|
defaultTheme,
|
|
106
90
|
flip: false,
|
|
107
91
|
name: 'MuiNProgressBar'
|
|
108
92
|
})(() => null);
|
|
93
|
+
|
|
109
94
|
/**
|
|
110
95
|
* Elegant and ready-to-use wrapper on top of https://github.com/rstacruz/nprogress/.
|
|
111
96
|
* The implementation is highly inspired by the YouTube one.
|
|
112
97
|
*/
|
|
113
|
-
|
|
114
98
|
function NProgressBar(props) {
|
|
115
99
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_NoSsr.default, {
|
|
116
100
|
children: [props.children, _GlobalStyles || (_GlobalStyles = /*#__PURE__*/(0, _jsxRuntime.jsx)(GlobalStyles, {}))]
|
|
117
101
|
});
|
|
118
102
|
}
|
|
119
|
-
|
|
120
103
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = {
|
|
121
104
|
children: _propTypes.default.node
|
|
122
105
|
} : void 0;
|
|
123
|
-
|
|
124
106
|
if (process.env.NODE_ENV !== 'production') {
|
|
125
107
|
process.env.NODE_ENV !== "production" ? NProgressBar.propTypes = (0, _utils.exactProp)(NProgressBar.propTypes) : void 0;
|
|
126
108
|
}
|
|
127
|
-
|
|
128
109
|
var _default = NProgressBar;
|
|
129
110
|
exports.default = _default;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
@@ -11,5 +10,4 @@ Object.defineProperty(exports, "default", {
|
|
|
11
10
|
return _NProgressBar.default;
|
|
12
11
|
}
|
|
13
12
|
});
|
|
14
|
-
|
|
15
13
|
var _NProgressBar = _interopRequireDefault(require("./NProgressBar"));
|
package/node/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.14
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
"use strict";
|
|
7
7
|
|
|
8
8
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
9
|
-
|
|
10
9
|
Object.defineProperty(exports, "__esModule", {
|
|
11
10
|
value: true
|
|
12
11
|
});
|
|
@@ -34,11 +33,7 @@ Object.defineProperty(exports, "TypeScript", {
|
|
|
34
33
|
return _TypeScript.default;
|
|
35
34
|
}
|
|
36
35
|
});
|
|
37
|
-
|
|
38
36
|
var _FileDownload = _interopRequireDefault(require("./svgIcons/FileDownload"));
|
|
39
|
-
|
|
40
37
|
var _JavaScript = _interopRequireDefault(require("./svgIcons/JavaScript"));
|
|
41
|
-
|
|
42
38
|
var _NProgressBar = _interopRequireDefault(require("./NProgressBar"));
|
|
43
|
-
|
|
44
39
|
var _TypeScript = _interopRequireDefault(require("./svgIcons/TypeScript"));
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
10
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
15
|
-
|
|
16
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
18
12
|
var _path;
|
|
19
|
-
|
|
20
13
|
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); }
|
|
21
|
-
|
|
22
14
|
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; }
|
|
23
|
-
|
|
24
15
|
function FileDownload(props) {
|
|
25
16
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, (0, _extends2.default)({}, props, {
|
|
26
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -28,7 +19,6 @@ function FileDownload(props) {
|
|
|
28
19
|
}))
|
|
29
20
|
}));
|
|
30
21
|
}
|
|
31
|
-
|
|
32
22
|
FileDownload.muiName = 'SvgIcon';
|
|
33
23
|
var _default = FileDownload;
|
|
34
24
|
exports.default = _default;
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
10
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
15
|
-
|
|
16
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
18
12
|
var _path;
|
|
19
|
-
|
|
20
13
|
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); }
|
|
21
|
-
|
|
22
14
|
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; }
|
|
23
|
-
|
|
24
15
|
function JavaScript(props) {
|
|
25
16
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, (0, _extends2.default)({}, props, {
|
|
26
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -28,7 +19,6 @@ function JavaScript(props) {
|
|
|
28
19
|
}))
|
|
29
20
|
}));
|
|
30
21
|
}
|
|
31
|
-
|
|
32
22
|
JavaScript.muiName = 'SvgIcon';
|
|
33
23
|
var _default = JavaScript;
|
|
34
24
|
exports.default = _default;
|
|
@@ -1,26 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
4
|
Object.defineProperty(exports, "__esModule", {
|
|
6
5
|
value: true
|
|
7
6
|
});
|
|
8
7
|
exports.default = void 0;
|
|
9
|
-
|
|
10
8
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
|
|
12
9
|
var React = _interopRequireWildcard(require("react"));
|
|
13
|
-
|
|
14
10
|
var _SvgIcon = _interopRequireDefault(require("@mui/material/SvgIcon"));
|
|
15
|
-
|
|
16
11
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
17
|
-
|
|
18
12
|
var _path;
|
|
19
|
-
|
|
20
13
|
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); }
|
|
21
|
-
|
|
22
14
|
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; }
|
|
23
|
-
|
|
24
15
|
function TypeScript(props) {
|
|
25
16
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_SvgIcon.default, (0, _extends2.default)({}, props, {
|
|
26
17
|
children: _path || (_path = /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
@@ -28,7 +19,6 @@ function TypeScript(props) {
|
|
|
28
19
|
}))
|
|
29
20
|
}));
|
|
30
21
|
}
|
|
31
|
-
|
|
32
22
|
TypeScript.muiName = 'SvgIcon';
|
|
33
23
|
var _default = TypeScript;
|
|
34
24
|
exports.default = _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
}
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@babel/runtime": "^7.
|
|
37
|
-
"@mui/utils": "^5.10.
|
|
36
|
+
"@babel/runtime": "^7.20.1",
|
|
37
|
+
"@mui/utils": "^5.10.14",
|
|
38
38
|
"nprogress": "^0.2.0"
|
|
39
39
|
},
|
|
40
40
|
"publishConfig": {
|
package/svgIcons/FileDownload.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function FileDownload(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function FileDownload(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
FileDownload.muiName = 'SvgIcon';
|
|
18
14
|
export default FileDownload;
|
package/svgIcons/JavaScript.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function JavaScript(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function JavaScript(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
JavaScript.muiName = 'SvgIcon';
|
|
18
14
|
export default JavaScript;
|
package/svgIcons/TypeScript.js
CHANGED
|
@@ -1,11 +1,8 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/esm/extends";
|
|
2
|
-
|
|
3
2
|
var _path;
|
|
4
|
-
|
|
5
3
|
import * as React from 'react';
|
|
6
4
|
import SvgIcon from '@mui/material/SvgIcon';
|
|
7
5
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
8
|
-
|
|
9
6
|
function TypeScript(props) {
|
|
10
7
|
return /*#__PURE__*/_jsx(SvgIcon, _extends({}, props, {
|
|
11
8
|
children: _path || (_path = /*#__PURE__*/_jsx("path", {
|
|
@@ -13,6 +10,5 @@ function TypeScript(props) {
|
|
|
13
10
|
}))
|
|
14
11
|
}));
|
|
15
12
|
}
|
|
16
|
-
|
|
17
13
|
TypeScript.muiName = 'SvgIcon';
|
|
18
14
|
export default TypeScript;
|