@mui/docs 6.0.0-dev.240424162023-9968b4889d → 6.0.0
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/Ad/Ad.d.ts +6 -0
- package/Ad/Ad.js +228 -0
- package/Ad/AdCarbon.d.ts +3 -0
- package/Ad/AdCarbon.js +120 -0
- package/Ad/AdDisplay.d.ts +16 -0
- package/Ad/AdDisplay.js +89 -0
- package/Ad/AdGuest.d.ts +10 -0
- package/Ad/AdGuest.js +29 -0
- package/Ad/AdInHouse.d.ts +5 -0
- package/Ad/AdInHouse.js +15 -0
- package/Ad/AdManager.d.ts +16 -0
- package/Ad/AdManager.js +36 -0
- package/Ad/AdProvider.d.ts +15 -0
- package/Ad/AdProvider.js +24 -0
- package/Ad/ad.styles.d.ts +4327 -0
- package/Ad/ad.styles.js +89 -0
- package/Ad/index.d.ts +5 -0
- package/Ad/index.js +7 -0
- package/Ad/package.json +6 -0
- package/CHANGELOG.md +1367 -22
- package/CodeCopy/CodeCopy.js +1 -1
- package/CodeCopy/CodeCopyButton.js +11 -20
- package/CodeCopy/index.js +3 -3
- package/CodeCopy/useClipboardCopy.js +1 -1
- package/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
- package/ComponentLinkHeader/ComponentLinkHeader.js +197 -0
- package/ComponentLinkHeader/index.d.ts +2 -0
- package/ComponentLinkHeader/index.js +2 -0
- package/ComponentLinkHeader/package.json +6 -0
- package/DocsProvider/DocsProvider.d.ts +3 -1
- package/DocsProvider/DocsProvider.js +10 -5
- package/DocsProvider/index.js +1 -1
- package/HighlightedCode/HighlightedCode.d.ts +3 -1
- package/HighlightedCode/HighlightedCode.js +50 -24
- package/HighlightedCode/index.js +1 -1
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.d.ts +29 -0
- package/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +355 -0
- package/HighlightedCodeWithTabs/index.d.ts +2 -0
- package/HighlightedCodeWithTabs/index.js +2 -0
- package/HighlightedCodeWithTabs/package.json +6 -0
- package/InfoCard/InfoCard.d.ts +0 -1
- package/InfoCard/InfoCard.js +46 -45
- package/InfoCard/index.js +1 -1
- package/Link/Link.js +41 -41
- package/Link/index.js +1 -1
- package/MarkdownElement/MarkdownElement.d.ts +1 -0
- package/MarkdownElement/MarkdownElement.js +187 -165
- package/MarkdownElement/index.js +1 -1
- package/NProgressBar/NProgressBar.js +6 -7
- package/NProgressBar/index.js +1 -1
- package/README.md +2 -2
- package/SectionTitle/SectionTitle.d.ts +7 -0
- package/SectionTitle/SectionTitle.js +30 -0
- package/SectionTitle/index.d.ts +1 -0
- package/SectionTitle/index.js +1 -0
- package/SectionTitle/package.json +6 -0
- package/branding/BrandingProvider.d.ts +1 -1
- package/branding/BrandingProvider.js +1 -1
- package/branding/brandingTheme.d.ts +2 -2
- package/branding/brandingTheme.js +657 -369
- package/branding/index.js +2 -2
- package/i18n/i18n.d.ts +2 -1
- package/i18n/i18n.js +19 -9
- package/i18n/index.js +1 -1
- package/node/Ad/Ad.js +238 -0
- package/node/Ad/AdCarbon.js +130 -0
- package/node/Ad/AdDisplay.js +97 -0
- package/node/Ad/AdGuest.js +37 -0
- package/node/Ad/AdInHouse.js +24 -0
- package/node/Ad/AdManager.js +46 -0
- package/node/Ad/AdProvider.js +33 -0
- package/node/Ad/ad.styles.js +97 -0
- package/node/Ad/index.js +63 -0
- package/node/CodeCopy/CodeCopy.js +10 -16
- package/node/CodeCopy/CodeCopyButton.js +10 -19
- package/node/CodeCopy/useClipboardCopy.js +1 -1
- package/node/ComponentLinkHeader/ComponentLinkHeader.js +206 -0
- package/node/ComponentLinkHeader/index.js +24 -0
- package/node/DocsProvider/DocsProvider.js +9 -4
- package/node/HighlightedCode/HighlightedCode.js +48 -22
- package/node/HighlightedCodeWithTabs/HighlightedCodeWithTabs.js +365 -0
- package/node/HighlightedCodeWithTabs/index.js +24 -0
- package/node/InfoCard/InfoCard.js +45 -44
- package/node/Link/Link.js +43 -42
- package/node/MarkdownElement/MarkdownElement.js +642 -623
- package/node/NProgressBar/NProgressBar.js +6 -7
- package/node/SectionTitle/SectionTitle.js +38 -0
- package/node/SectionTitle/index.js +16 -0
- package/node/branding/brandingTheme.js +657 -369
- package/node/i18n/i18n.js +18 -8
- package/node/svgIcons/AdobeXDIcon.js +22 -0
- package/node/svgIcons/BundleSizeIcon.js +22 -0
- package/node/svgIcons/FigmaIcon.js +31 -0
- package/node/svgIcons/FileDownload.js +3 -3
- package/node/svgIcons/JavaScript.js +3 -3
- package/node/svgIcons/MaterialDesignIcon.js +27 -0
- package/node/svgIcons/SketchIcon.js +36 -0
- package/node/svgIcons/TypeScript.js +3 -3
- package/node/svgIcons/W3CIcon.js +24 -0
- package/node/translations/translations.json +9 -4
- package/node/utils/loadScript.js +15 -0
- package/package.json +12 -10
- package/svgIcons/AdobeXDIcon.d.ts +4 -0
- package/svgIcons/AdobeXDIcon.js +14 -0
- package/svgIcons/BundleSizeIcon.d.ts +4 -0
- package/svgIcons/BundleSizeIcon.js +14 -0
- package/svgIcons/FigmaIcon.d.ts +4 -0
- package/svgIcons/FigmaIcon.js +23 -0
- package/svgIcons/FileDownload.d.ts +7 -0
- package/svgIcons/FileDownload.js +3 -3
- package/svgIcons/JavaScript.d.ts +7 -0
- package/svgIcons/JavaScript.js +3 -3
- package/svgIcons/MaterialDesignIcon.d.ts +4 -0
- package/svgIcons/MaterialDesignIcon.js +19 -0
- package/svgIcons/SketchIcon.d.ts +4 -0
- package/svgIcons/SketchIcon.js +28 -0
- package/svgIcons/TypeScript.d.ts +7 -0
- package/svgIcons/TypeScript.js +3 -3
- package/svgIcons/W3CIcon.d.ts +4 -0
- package/svgIcons/W3CIcon.js +16 -0
- package/translations/index.js +1 -1
- package/translations/translations.json +9 -4
- package/tsconfig.build.tsbuildinfo +1 -1
- package/utils/loadScript.d.ts +1 -0
- package/utils/loadScript.js +9 -0
package/node/i18n/i18n.js
CHANGED
|
@@ -32,7 +32,11 @@ function getPath(obj, path) {
|
|
|
32
32
|
if (!path || typeof path !== 'string') {
|
|
33
33
|
return null;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
const translation = path.split('.').reduce((acc, item) => acc && typeof acc === 'object' && acc[item] || null, obj);
|
|
36
|
+
if (typeof translation === 'object') {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return translation;
|
|
36
40
|
}
|
|
37
41
|
const UserLanguageContext = /*#__PURE__*/React.createContext({
|
|
38
42
|
userLanguage: '',
|
|
@@ -73,6 +77,16 @@ function useSetUserLanguage() {
|
|
|
73
77
|
return React.useContext(UserLanguageContext).setUserLanguage;
|
|
74
78
|
}
|
|
75
79
|
const warnedOnce = {};
|
|
80
|
+
|
|
81
|
+
// TODO, migrate to use warnOnce() helper
|
|
82
|
+
const warn = (userLanguage, key, ignoreWarning) => {
|
|
83
|
+
const fullKey = `${userLanguage}:${key}`;
|
|
84
|
+
// No warnings in CI env
|
|
85
|
+
if (!ignoreWarning && !warnedOnce[fullKey] && typeof window !== 'undefined') {
|
|
86
|
+
console.warn(`Missing translation for ${fullKey}`);
|
|
87
|
+
warnedOnce[fullKey] = true;
|
|
88
|
+
}
|
|
89
|
+
};
|
|
76
90
|
function useTranslate() {
|
|
77
91
|
const userLanguage = useUserLanguage();
|
|
78
92
|
const translations = React.useContext(TranslationsContext);
|
|
@@ -87,13 +101,9 @@ function useTranslate() {
|
|
|
87
101
|
}
|
|
88
102
|
const translation = getPath(wordings, key);
|
|
89
103
|
if (!translation) {
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
console.error(`Missing translation for ${fullKey}`);
|
|
94
|
-
warnedOnce[fullKey] = true;
|
|
95
|
-
}
|
|
96
|
-
return getPath(translations.en, key);
|
|
104
|
+
warn(userLanguage, key, ignoreWarning);
|
|
105
|
+
const enTranslation = getPath(translations.en, key);
|
|
106
|
+
return enTranslation ?? null;
|
|
97
107
|
}
|
|
98
108
|
return translation;
|
|
99
109
|
}, [userLanguage, translations]);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fillRule: "nonzero",
|
|
14
|
+
fill: "none",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
d: "M5.54 2h12.92C20.42 2 22 3.6 22 5.58v12.55a3.56 3.56 0 01-3.54 3.58H5.54A3.56 3.56 0 012 18.13V5.58A3.56 3.56 0 015.54 2z",
|
|
17
|
+
fill: "#470137"
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
d: "M12.52 7.28L10 11.45l2.68 4.41c.01.04.02.07.01.1 0 .04-.04.01-.09.02H10.7c-.13 0-.22 0-.28-.1l-.54-1.04c-.17-.35-.36-.7-.57-1.06l-.6-1.1h-.02c-.17.36-.36.73-.56 1.09l-.57 1.07-.57 1.06c-.04.09-.1.1-.2.1H4.94c-.03 0-.06.01-.06-.03 0-.03 0-.07.02-.1l2.6-4.28-2.53-4.31c-.03-.04-.04-.07-.02-.09.02-.02.05-.03.09-.03h1.9a.5.5 0 01.11.01c.04.02.06.05.09.08.16.36.34.72.53 1.09l.6 1.06c.2.36.39.71.57 1.07h.01c.18-.37.36-.73.55-1.08.18-.36.37-.71.57-1.06l.56-1.06c0-.04.02-.07.05-.09.03-.01.06-.02.1-.01h1.77c.04-.01.09.01.1.06 0 0-.01.04-.03.05zM16.39 16.16c-.62 0-1.24-.12-1.8-.38a2.92 2.92 0 01-1.27-1.15 3.65 3.65 0 01-.46-1.91 3.46 3.46 0 011.8-3.08 4.27 4.27 0 012.29-.48c.07 0 .16 0 .26.02V6.52c0-.06.02-.1.08-.1H19c.04 0 .08.03.08.07v8.01l.02.51.03.49c0 .06-.02.11-.08.13a6.37 6.37 0 01-2.65.53zm.82-1.69v-3.7a2.11 2.11 0 00-1.45.16c-.29.15-.53.36-.71.63-.19.27-.28.63-.28 1.06 0 .3.04.6.14.87a1.44 1.44 0 00.95.93c.23.08.46.11.7.11a4.49 4.49 0 00.65-.06z",
|
|
20
|
+
fill: "#FF61F6"
|
|
21
|
+
})]
|
|
22
|
+
}), 'AdobeXD');
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
fillRule: "nonzero",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
d: "M5.84 3c-.52 0-1 .25-1.3.67l-1.4 2.05c-.06.09-.1.19-.14.28h8V3H5.84zM20.86 5.72l-1.4-2.05c-.3-.42-.81-.67-1.33-.67H13v3h8c-.05-.1-.08-.2-.14-.28z",
|
|
17
|
+
fillOpacity: ".79"
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
d: "M20.98 7H3.02L3 7.11V19.4c0 .89.71 1.61 1.58 1.61h14.84A1.6 1.6 0 0021 19.4V7.1L20.98 7zm-6.87 5.36H9.89a1.6 1.6 0 01-1.58-1.61c0-.89.7-1.6 1.58-1.6h4.22c.87 0 1.58.71 1.58 1.6 0 .89-.7 1.6-1.58 1.6z",
|
|
20
|
+
fillOpacity: ".87"
|
|
21
|
+
})]
|
|
22
|
+
}), 'BundleSize');
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fillRule: "nonzero",
|
|
14
|
+
fill: "none",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
d: "M8 24a4 4 0 004-4v-4H8a4 4 0 000 8z",
|
|
17
|
+
fill: "#0ACF83"
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
d: "M4 12a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
20
|
+
fill: "#A259FF"
|
|
21
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
22
|
+
d: "M4 4a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
23
|
+
fill: "#F24E1E"
|
|
24
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
25
|
+
d: "M12 0h4a4 4 0 010 8h-4V0z",
|
|
26
|
+
fill: "#FF7262"
|
|
27
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
28
|
+
d: "M20 12a4 4 0 11-8 0 4 4 0 018 0z",
|
|
29
|
+
fill: "#1ABCFE"
|
|
30
|
+
})]
|
|
31
|
+
}), 'Figma');
|
|
@@ -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(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
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 = exports.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(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
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 = exports.default = JavaScript;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fill: "none",
|
|
14
|
+
fillRule: "evenodd",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("circle", {
|
|
16
|
+
fill: "#737373",
|
|
17
|
+
cx: "12",
|
|
18
|
+
cy: "12",
|
|
19
|
+
r: "12"
|
|
20
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
21
|
+
fill: "#BDBDBD",
|
|
22
|
+
d: "M4 4h16v16H4z"
|
|
23
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
24
|
+
fill: "#FFF",
|
|
25
|
+
d: "M12 20l8-16H4z"
|
|
26
|
+
})]
|
|
27
|
+
}), 'MaterialDesign');
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fillRule: "nonzero",
|
|
14
|
+
fill: "none",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
fill: "#FDB300",
|
|
17
|
+
d: "M5.24 2.7L12 2l6.76.7L24 9.48 12 23 0 9.49z"
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
19
|
+
fill: "#EA6C00",
|
|
20
|
+
d: "M4.85 9l7.13 14L0 9zM19.1 9l-7.12 14L23.95 9z"
|
|
21
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
22
|
+
fill: "#FDAD00",
|
|
23
|
+
d: "M4.85 9H19.1l-7.12 14z"
|
|
24
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
25
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
26
|
+
fill: "#FDD231",
|
|
27
|
+
d: "M11.98 2l-6.75.65-.38 6.34zM11.98 2l6.75.65.37 6.34z"
|
|
28
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
29
|
+
fill: "#FDAD00",
|
|
30
|
+
d: "M23.95 9l-5.22-6.35.37 6.34zM0 9l5.23-6.35-.38 6.34z"
|
|
31
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
32
|
+
fill: "#FEEEB7",
|
|
33
|
+
d: "M11.98 2L4.85 9H19.1z"
|
|
34
|
+
})]
|
|
35
|
+
})]
|
|
36
|
+
}), 'Sketch');
|
|
@@ -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(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
14
13
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
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 = exports.default = TypeScript;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = void 0;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _utils = require("@mui/material/utils");
|
|
9
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
|
|
11
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
12
|
+
var _default = exports.default = (0, _utils.createSvgIcon)( /*#__PURE__*/(0, _jsxRuntime.jsxs)("g", {
|
|
13
|
+
fillRule: "nonzero",
|
|
14
|
+
fill: "none",
|
|
15
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
16
|
+
d: "M6.92 6.1l2.33 7.99 2.32-8h6.3v.8l-2.37 4.14c.83.27 1.46.76 1.89 1.47.43.71.64 1.55.64 2.51 0 1.2-.31 2.2-.94 3a2.93 2.93 0 01-2.42 1.22 2.9 2.9 0 01-1.96-.72 4.25 4.25 0 01-1.23-1.96l1.31-.55c.2.5.45.9.76 1.18.32.28.69.43 1.12.43.44 0 .82-.26 1.13-.76.31-.51.47-1.12.47-1.84 0-.79-.17-1.4-.5-1.83-.38-.5-.99-.76-1.81-.76h-.64v-.78l2.24-3.92h-2.7l-.16.26-3.3 11.25h-.15l-2.4-8.14-2.41 8.14h-.16L.43 6.1H2.1l2.33 7.99L6 8.71 5.24 6.1h1.68z",
|
|
17
|
+
fill: "#005A9C"
|
|
18
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("g", {
|
|
19
|
+
fill: "currentColor",
|
|
20
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("path", {
|
|
21
|
+
d: "M23.52 6.25l.28 1.62-.98 1.8s-.38-.76-1.01-1.19c-.53-.35-.87-.43-1.41-.33-.7.14-1.48.93-1.82 1.9-.41 1.18-.42 1.74-.43 2.26a4.9 4.9 0 00.11 1.33s-.6-1.06-.59-2.61c0-1.1.19-2.11.72-3.1.47-.87 1.17-1.4 1.8-1.45.63-.07 1.14.23 1.53.55.42.33.83 1.07.83 1.07l.97-1.85zM23.64 15.4s-.43.75-.7 1.04c-.27.28-.76.79-1.36 1.04-.6.25-.91.3-1.5.25a3.03 3.03 0 01-1.34-.52 5.08 5.08 0 01-1.67-2.04s.24.75.39 1.07c.09.18.36.74.74 1.23a3.5 3.5 0 002.1 1.42c1.04.18 1.76-.27 1.94-.38a5.32 5.32 0 001.4-1.43c.1-.14.25-.43.25-.43l-.25-1.25z"
|
|
22
|
+
})
|
|
23
|
+
})]
|
|
24
|
+
}), 'W3C');
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"adblock": "If you don't mind tech-related ads (no tracking or remarketing), and want to keep us running, please whitelist us in your blocker.",
|
|
3
|
+
"adPublisher": "ad by {{publisher}}",
|
|
3
4
|
"api-docs": {
|
|
4
5
|
"componentName": "Component name",
|
|
5
6
|
"componentsApi": "Components API",
|
|
@@ -15,6 +16,7 @@
|
|
|
15
16
|
"defaultComponent": "Default component",
|
|
16
17
|
"defaultValue": "Default value",
|
|
17
18
|
"defaultHTMLTag": "Default HTML tag",
|
|
19
|
+
"defaultDeprecationMessage": "This API is deprecated.",
|
|
18
20
|
"demos": "Demos",
|
|
19
21
|
"deprecated": "Deprecated",
|
|
20
22
|
"description": "Description",
|
|
@@ -43,6 +45,7 @@
|
|
|
43
45
|
"refNotHeld": "The component cannot hold a ref.",
|
|
44
46
|
"refRootElement": "The <code>ref</code> is forwarded to the root element.",
|
|
45
47
|
"ruleName": "Rule name",
|
|
48
|
+
"seeSourceCode": "If you did not find the information in this page, consider having a look at the <a href=\"{{href}}\">implementation of the component</a> for more detail.",
|
|
46
49
|
"signature": "Signature",
|
|
47
50
|
"slots": "Slots",
|
|
48
51
|
"spreadHint": "Props of the {{spreadHintElement}} component are also available.",
|
|
@@ -50,6 +53,7 @@
|
|
|
50
53
|
"styleOverrides": "The name <code>{{componentStyles.name}}</code> can be used when providing <a href={{defaultPropsLink}}>default props</a> or <a href={{styleOverridesLink}}>style overrides</a> in the theme.",
|
|
51
54
|
"slotDescription": "To learn how to customize the slot, check out the <a href={{slotGuideLink}}>Overriding component structure</a> guide.",
|
|
52
55
|
"slotName": "Slot name",
|
|
56
|
+
"source-code": "Source code",
|
|
53
57
|
"type": "Type",
|
|
54
58
|
"required": "Required",
|
|
55
59
|
"optional": "Optional",
|
|
@@ -62,8 +66,8 @@
|
|
|
62
66
|
"joy-variant": "To learn how to add your own variants, check out <a href='/joy-ui/customization/themed-components/#extend-variants'>Themed components—Extend variants</a>."
|
|
63
67
|
}
|
|
64
68
|
},
|
|
65
|
-
"
|
|
66
|
-
"
|
|
69
|
+
"marketingPageDescr": "A responsive marketing page layout with common sections found in marketing pages.",
|
|
70
|
+
"marketingPageTitle": "Marketing page",
|
|
67
71
|
"searchButton": "Search…",
|
|
68
72
|
"algoliaSearch": "What are you looking for?",
|
|
69
73
|
"appFrame": {
|
|
@@ -75,6 +79,7 @@
|
|
|
75
79
|
"toggleSettings": "Toggle settings drawer"
|
|
76
80
|
},
|
|
77
81
|
"backToTop": "Scroll back to top",
|
|
82
|
+
"backToOpenRoles": "Back to open roles",
|
|
78
83
|
"blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
|
|
79
84
|
"blogTitle": "Blog",
|
|
80
85
|
"bundleSize": "Bundle size",
|
|
@@ -92,12 +97,12 @@
|
|
|
92
97
|
"copySource": "Copy the source",
|
|
93
98
|
"copySourceLinkJS": "Copy link to JavaScript source",
|
|
94
99
|
"copySourceLinkTS": "Copy link to TypeScript source",
|
|
95
|
-
"dashboardDescr": "
|
|
100
|
+
"dashboardDescr": "A collection of charts and complex components in a responsive dashboard layout.",
|
|
96
101
|
"dashboardTitle": "Dashboard",
|
|
97
102
|
"decreaseSpacing": "decrease spacing",
|
|
98
103
|
"demoToolbarLabel": "demo source",
|
|
99
104
|
"demoStylingSelectSystem": "MUI System",
|
|
100
|
-
"demoStylingSelectTailwind": "Tailwind
|
|
105
|
+
"demoStylingSelectTailwind": "Tailwind CSS",
|
|
101
106
|
"demoStylingSelectCSS": "Plain CSS",
|
|
102
107
|
"diamondSponsors": "Diamond sponsors",
|
|
103
108
|
"becomeADiamondSponsor": "Become a Diamond sponsor",
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.default = loadScript;
|
|
7
|
+
function loadScript(src, position) {
|
|
8
|
+
const script = document.createElement('script');
|
|
9
|
+
script.setAttribute('async', '');
|
|
10
|
+
script.src = src;
|
|
11
|
+
if (position) {
|
|
12
|
+
position.appendChild(script);
|
|
13
|
+
}
|
|
14
|
+
return script;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "6.0.0
|
|
3
|
+
"version": "6.0.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -23,21 +23,23 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.
|
|
26
|
+
"@babel/runtime": "^7.25.0",
|
|
27
27
|
"clipboard-copy": "^4.0.1",
|
|
28
|
-
"clsx": "^2.1.
|
|
28
|
+
"clsx": "^2.1.1",
|
|
29
29
|
"nprogress": "^0.2.0",
|
|
30
30
|
"prop-types": "^15.8.1",
|
|
31
|
-
"@mui/internal-markdown": "^1.0.
|
|
31
|
+
"@mui/internal-markdown": "^1.0.11"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@mui/base": "*",
|
|
35
|
-
"@mui/icons-material": "^5.0.0",
|
|
36
|
-
"@mui/material": "^5.0.0",
|
|
37
|
-
"@mui/system": "^5.0.0",
|
|
38
|
-
"@types/react": "^17.0.0 || ^18.0.0",
|
|
35
|
+
"@mui/icons-material": "^5.0.0 || ^6.0.0",
|
|
36
|
+
"@mui/material": "^5.0.0 || ^6.0.0",
|
|
37
|
+
"@mui/system": "^5.0.0 || ^6.0.0",
|
|
38
|
+
"@types/react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
39
|
+
"chai": "^4.4.1",
|
|
40
|
+
"csstype": "^3.1.3",
|
|
39
41
|
"next": "^13.5.1 || ^14",
|
|
40
|
-
"react": "^17.0.0 || ^18.0.0"
|
|
42
|
+
"react": "^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
41
43
|
},
|
|
42
44
|
"peerDependenciesMeta": {
|
|
43
45
|
"@types/react": {
|
|
@@ -49,7 +51,7 @@
|
|
|
49
51
|
"directory": "build"
|
|
50
52
|
},
|
|
51
53
|
"engines": {
|
|
52
|
-
"node": ">=
|
|
54
|
+
"node": ">=14.0.0"
|
|
53
55
|
},
|
|
54
56
|
"module": "./index.js"
|
|
55
57
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
fill: "none",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
d: "M5.54 2h12.92C20.42 2 22 3.6 22 5.58v12.55a3.56 3.56 0 01-3.54 3.58H5.54A3.56 3.56 0 012 18.13V5.58A3.56 3.56 0 015.54 2z",
|
|
9
|
+
fill: "#470137"
|
|
10
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
11
|
+
d: "M12.52 7.28L10 11.45l2.68 4.41c.01.04.02.07.01.1 0 .04-.04.01-.09.02H10.7c-.13 0-.22 0-.28-.1l-.54-1.04c-.17-.35-.36-.7-.57-1.06l-.6-1.1h-.02c-.17.36-.36.73-.56 1.09l-.57 1.07-.57 1.06c-.04.09-.1.1-.2.1H4.94c-.03 0-.06.01-.06-.03 0-.03 0-.07.02-.1l2.6-4.28-2.53-4.31c-.03-.04-.04-.07-.02-.09.02-.02.05-.03.09-.03h1.9a.5.5 0 01.11.01c.04.02.06.05.09.08.16.36.34.72.53 1.09l.6 1.06c.2.36.39.71.57 1.07h.01c.18-.37.36-.73.55-1.08.18-.36.37-.71.57-1.06l.56-1.06c0-.04.02-.07.05-.09.03-.01.06-.02.1-.01h1.77c.04-.01.09.01.1.06 0 0-.01.04-.03.05zM16.39 16.16c-.62 0-1.24-.12-1.8-.38a2.92 2.92 0 01-1.27-1.15 3.65 3.65 0 01-.46-1.91 3.46 3.46 0 011.8-3.08 4.27 4.27 0 012.29-.48c.07 0 .16 0 .26.02V6.52c0-.06.02-.1.08-.1H19c.04 0 .08.03.08.07v8.01l.02.51.03.49c0 .06-.02.11-.08.13a6.37 6.37 0 01-2.65.53zm.82-1.69v-3.7a2.11 2.11 0 00-1.45.16c-.29.15-.53.36-.71.63-.19.27-.28.63-.28 1.06 0 .3.04.6.14.87a1.44 1.44 0 00.95.93c.23.08.46.11.7.11a4.49 4.49 0 00.65-.06z",
|
|
12
|
+
fill: "#FF61F6"
|
|
13
|
+
})]
|
|
14
|
+
}), 'AdobeXD');
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fill: "currentColor",
|
|
6
|
+
fillRule: "nonzero",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
d: "M5.84 3c-.52 0-1 .25-1.3.67l-1.4 2.05c-.06.09-.1.19-.14.28h8V3H5.84zM20.86 5.72l-1.4-2.05c-.3-.42-.81-.67-1.33-.67H13v3h8c-.05-.1-.08-.2-.14-.28z",
|
|
9
|
+
fillOpacity: ".79"
|
|
10
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
11
|
+
d: "M20.98 7H3.02L3 7.11V19.4c0 .89.71 1.61 1.58 1.61h14.84A1.6 1.6 0 0021 19.4V7.1L20.98 7zm-6.87 5.36H9.89a1.6 1.6 0 01-1.58-1.61c0-.89.7-1.6 1.58-1.6h4.22c.87 0 1.58.71 1.58 1.6 0 .89-.7 1.6-1.58 1.6z",
|
|
12
|
+
fillOpacity: ".87"
|
|
13
|
+
})]
|
|
14
|
+
}), 'BundleSize');
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
fill: "none",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
d: "M8 24a4 4 0 004-4v-4H8a4 4 0 000 8z",
|
|
9
|
+
fill: "#0ACF83"
|
|
10
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
11
|
+
d: "M4 12a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
12
|
+
fill: "#A259FF"
|
|
13
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
+
d: "M4 4a4 4 0 014-4h4v8H8a4 4 0 01-4-4z",
|
|
15
|
+
fill: "#F24E1E"
|
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
17
|
+
d: "M12 0h4a4 4 0 010 8h-4V0z",
|
|
18
|
+
fill: "#FF7262"
|
|
19
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
20
|
+
d: "M20 12a4 4 0 11-8 0 4 4 0 018 0z",
|
|
21
|
+
fill: "#1ABCFE"
|
|
22
|
+
})]
|
|
23
|
+
}), 'Figma');
|
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;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fill: "none",
|
|
6
|
+
fillRule: "evenodd",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("circle", {
|
|
8
|
+
fill: "#737373",
|
|
9
|
+
cx: "12",
|
|
10
|
+
cy: "12",
|
|
11
|
+
r: "12"
|
|
12
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
13
|
+
fill: "#BDBDBD",
|
|
14
|
+
d: "M4 4h16v16H4z"
|
|
15
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
16
|
+
fill: "#FFF",
|
|
17
|
+
d: "M12 20l8-16H4z"
|
|
18
|
+
})]
|
|
19
|
+
}), 'MaterialDesign');
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createSvgIcon } from '@mui/material/utils';
|
|
3
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
4
|
+
export default createSvgIcon( /*#__PURE__*/_jsxs("g", {
|
|
5
|
+
fillRule: "nonzero",
|
|
6
|
+
fill: "none",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
8
|
+
fill: "#FDB300",
|
|
9
|
+
d: "M5.24 2.7L12 2l6.76.7L24 9.48 12 23 0 9.49z"
|
|
10
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
11
|
+
fill: "#EA6C00",
|
|
12
|
+
d: "M4.85 9l7.13 14L0 9zM19.1 9l-7.12 14L23.95 9z"
|
|
13
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
+
fill: "#FDAD00",
|
|
15
|
+
d: "M4.85 9H19.1l-7.12 14z"
|
|
16
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
17
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
18
|
+
fill: "#FDD231",
|
|
19
|
+
d: "M11.98 2l-6.75.65-.38 6.34zM11.98 2l6.75.65.37 6.34z"
|
|
20
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
21
|
+
fill: "#FDAD00",
|
|
22
|
+
d: "M23.95 9l-5.22-6.35.37 6.34zM0 9l5.23-6.35-.38 6.34z"
|
|
23
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
24
|
+
fill: "#FEEEB7",
|
|
25
|
+
d: "M11.98 2L4.85 9H19.1z"
|
|
26
|
+
})]
|
|
27
|
+
})]
|
|
28
|
+
}), 'Sketch');
|