@mui/docs 6.0.0-alpha.5 → 6.0.0-alpha.7
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 +95 -0
- package/CodeCopy/CodeCopyButton.js +4 -11
- package/ComponentLinkHeader/ComponentLinkHeader.d.ts +9 -0
- package/ComponentLinkHeader/ComponentLinkHeader.js +179 -0
- package/ComponentLinkHeader/index.d.ts +2 -0
- package/ComponentLinkHeader/index.js +2 -0
- package/ComponentLinkHeader/package.json +6 -0
- package/InfoCard/InfoCard.d.ts +0 -1
- package/InfoCard/InfoCard.js +10 -8
- package/MarkdownElement/MarkdownElement.js +25 -33
- 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/brandingTheme.js +2 -1
- package/node/CodeCopy/CodeCopyButton.js +4 -11
- package/node/ComponentLinkHeader/ComponentLinkHeader.js +189 -0
- package/node/ComponentLinkHeader/index.js +24 -0
- package/node/InfoCard/InfoCard.js +10 -8
- package/node/MarkdownElement/MarkdownElement.js +25 -33
- package/node/SectionTitle/SectionTitle.js +38 -0
- package/node/SectionTitle/index.js +16 -0
- package/node/branding/brandingTheme.js +2 -1
- package/node/svgIcons/AdobeXDIcon.js +22 -0
- package/node/svgIcons/BundleSizeIcon.js +22 -0
- package/node/svgIcons/FigmaIcon.js +31 -0
- package/node/svgIcons/MaterialDesignIcon.js +27 -0
- package/node/svgIcons/SketchIcon.js +36 -0
- package/node/svgIcons/W3CIcon.js +24 -0
- package/node/translations/translations.json +1 -0
- package/package.json +3 -3
- 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/JavaScript.d.ts +7 -0
- 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/W3CIcon.d.ts +4 -0
- package/svgIcons/W3CIcon.js +16 -0
- package/translations/translations.json +1 -0
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.ComponentLinkHeader = ComponentLinkHeader;
|
|
8
|
+
var React = _interopRequireWildcard(require("react"));
|
|
9
|
+
var _Chip = _interopRequireDefault(require("@mui/material/Chip"));
|
|
10
|
+
var _Tooltip = _interopRequireDefault(require("@mui/material/Tooltip"));
|
|
11
|
+
var _ChatRounded2 = _interopRequireDefault(require("@mui/icons-material/ChatRounded"));
|
|
12
|
+
var _styles = require("@mui/material/styles");
|
|
13
|
+
var _SketchIcon = _interopRequireDefault(require("../svgIcons/SketchIcon"));
|
|
14
|
+
var _FigmaIcon = _interopRequireDefault(require("../svgIcons/FigmaIcon"));
|
|
15
|
+
var _AdobeXDIcon = _interopRequireDefault(require("../svgIcons/AdobeXDIcon"));
|
|
16
|
+
var _BundleSizeIcon2 = _interopRequireDefault(require("../svgIcons/BundleSizeIcon"));
|
|
17
|
+
var _W3CIcon2 = _interopRequireDefault(require("../svgIcons/W3CIcon"));
|
|
18
|
+
var _MaterialDesignIcon2 = _interopRequireDefault(require("../svgIcons/MaterialDesignIcon"));
|
|
19
|
+
var _i18n = require("../i18n");
|
|
20
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
21
|
+
var _ChatRounded, _BundleSizeIcon, _W3CIcon, _MaterialDesignIcon, _li, _React$Fragment;
|
|
22
|
+
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); }
|
|
23
|
+
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; }
|
|
24
|
+
const Root = (0, _styles.styled)('ul')({
|
|
25
|
+
margin: 0,
|
|
26
|
+
padding: 0,
|
|
27
|
+
listStyle: 'none',
|
|
28
|
+
display: 'flex',
|
|
29
|
+
flexWrap: 'wrap',
|
|
30
|
+
gap: 8,
|
|
31
|
+
'& .MuiChip-root': {
|
|
32
|
+
height: 26,
|
|
33
|
+
padding: '0 8px',
|
|
34
|
+
gap: 6,
|
|
35
|
+
'& .MuiChip-label': {
|
|
36
|
+
padding: 0
|
|
37
|
+
},
|
|
38
|
+
'& .MuiChip-iconSmall': {
|
|
39
|
+
margin: 0,
|
|
40
|
+
fontSize: 14
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
const defaultPackageNames = {
|
|
45
|
+
'material-ui': '@mui/material',
|
|
46
|
+
'joy-ui': '@mui/joy',
|
|
47
|
+
'base-ui': '@mui/base',
|
|
48
|
+
system: '@mui/system'
|
|
49
|
+
};
|
|
50
|
+
function ComponentLinkHeader(props) {
|
|
51
|
+
var _ref, _headers$packageName;
|
|
52
|
+
const {
|
|
53
|
+
markdown: {
|
|
54
|
+
headers
|
|
55
|
+
},
|
|
56
|
+
design
|
|
57
|
+
} = props;
|
|
58
|
+
const t = (0, _i18n.useTranslate)();
|
|
59
|
+
const packageName = (_ref = (_headers$packageName = headers.packageName) != null ? _headers$packageName : defaultPackageNames[headers.productId]) != null ? _ref : '@mui/material';
|
|
60
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(Root, {
|
|
61
|
+
children: [headers.githubLabel ? /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
62
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
63
|
+
clickable: true,
|
|
64
|
+
role: undefined,
|
|
65
|
+
component: "a",
|
|
66
|
+
size: "small",
|
|
67
|
+
variant: "outlined",
|
|
68
|
+
rel: "nofollow",
|
|
69
|
+
href: `${process.env.SOURCE_CODE_REPO}/labels/${encodeURIComponent(headers.githubLabel)}`,
|
|
70
|
+
icon: _ChatRounded || (_ChatRounded = /*#__PURE__*/(0, _jsxRuntime.jsx)(_ChatRounded2.default, {
|
|
71
|
+
color: "primary"
|
|
72
|
+
})),
|
|
73
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
74
|
+
"data-ga-event-action": "click",
|
|
75
|
+
"data-ga-event-label": t('githubLabel'),
|
|
76
|
+
"data-ga-event-split": "0.1",
|
|
77
|
+
label: t('githubLabel')
|
|
78
|
+
})
|
|
79
|
+
}) : null, /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
80
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Tooltip.default, {
|
|
81
|
+
title: t('bundleSizeTooltip'),
|
|
82
|
+
describeChild: true,
|
|
83
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
84
|
+
clickable: true,
|
|
85
|
+
role: undefined,
|
|
86
|
+
component: "a",
|
|
87
|
+
size: "small",
|
|
88
|
+
variant: "outlined",
|
|
89
|
+
rel: "nofollow",
|
|
90
|
+
href: `https://bundlephobia.com/package/${packageName}@latest`,
|
|
91
|
+
icon: _BundleSizeIcon || (_BundleSizeIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_BundleSizeIcon2.default, {
|
|
92
|
+
color: "primary"
|
|
93
|
+
})),
|
|
94
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
95
|
+
"data-ga-event-action": "click",
|
|
96
|
+
"data-ga-event-label": t('bundleSize'),
|
|
97
|
+
"data-ga-event-split": "0.1",
|
|
98
|
+
label: t('bundleSize')
|
|
99
|
+
})
|
|
100
|
+
})
|
|
101
|
+
}), headers.waiAria ? /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
102
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
103
|
+
clickable: true,
|
|
104
|
+
role: undefined,
|
|
105
|
+
component: "a",
|
|
106
|
+
size: "small",
|
|
107
|
+
variant: "outlined",
|
|
108
|
+
rel: "nofollow",
|
|
109
|
+
href: headers.waiAria,
|
|
110
|
+
icon: _W3CIcon || (_W3CIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_W3CIcon2.default, {
|
|
111
|
+
color: "primary"
|
|
112
|
+
})),
|
|
113
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
114
|
+
"data-ga-event-action": "click",
|
|
115
|
+
"data-ga-event-label": "WAI-ARIA",
|
|
116
|
+
"data-ga-event-split": "0.1",
|
|
117
|
+
label: "WAI-ARIA"
|
|
118
|
+
})
|
|
119
|
+
}) : null, headers.materialDesign ? /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
120
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
121
|
+
clickable: true,
|
|
122
|
+
role: undefined,
|
|
123
|
+
component: "a",
|
|
124
|
+
size: "small",
|
|
125
|
+
variant: "outlined",
|
|
126
|
+
rel: "nofollow",
|
|
127
|
+
href: headers.materialDesign,
|
|
128
|
+
icon: _MaterialDesignIcon || (_MaterialDesignIcon = /*#__PURE__*/(0, _jsxRuntime.jsx)(_MaterialDesignIcon2.default, {})),
|
|
129
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
130
|
+
"data-ga-event-action": "click",
|
|
131
|
+
"data-ga-event-label": "Material Design",
|
|
132
|
+
"data-ga-event-split": "0.1",
|
|
133
|
+
label: "Material Design"
|
|
134
|
+
})
|
|
135
|
+
}) : null, design === false ? null : /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
136
|
+
children: [_li || (_li = /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
137
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
138
|
+
clickable: true,
|
|
139
|
+
role: undefined,
|
|
140
|
+
component: "a",
|
|
141
|
+
size: "small",
|
|
142
|
+
variant: "outlined",
|
|
143
|
+
rel: "nofollow",
|
|
144
|
+
href: "https://mui.com/store/items/figma-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
|
|
145
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_FigmaIcon.default, {}),
|
|
146
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
147
|
+
"data-ga-event-action": "click",
|
|
148
|
+
"data-ga-event-label": "Figma",
|
|
149
|
+
"data-ga-event-split": "0.1",
|
|
150
|
+
label: "Figma"
|
|
151
|
+
})
|
|
152
|
+
})), packageName === '@mui/joy' ? null : _React$Fragment || (_React$Fragment = /*#__PURE__*/(0, _jsxRuntime.jsxs)(React.Fragment, {
|
|
153
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
154
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
155
|
+
clickable: true,
|
|
156
|
+
role: undefined,
|
|
157
|
+
component: "a",
|
|
158
|
+
size: "small",
|
|
159
|
+
variant: "outlined",
|
|
160
|
+
rel: "nofollow",
|
|
161
|
+
href: "https://mui.com/store/items/adobe-xd-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
|
|
162
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_AdobeXDIcon.default, {}),
|
|
163
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
164
|
+
"data-ga-event-action": "click",
|
|
165
|
+
"data-ga-event-label": "Adobe XD",
|
|
166
|
+
"data-ga-event-split": "0.1",
|
|
167
|
+
label: "Adobe"
|
|
168
|
+
})
|
|
169
|
+
}), /*#__PURE__*/(0, _jsxRuntime.jsx)("li", {
|
|
170
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_Chip.default, {
|
|
171
|
+
clickable: true,
|
|
172
|
+
role: undefined,
|
|
173
|
+
component: "a",
|
|
174
|
+
size: "small",
|
|
175
|
+
variant: "outlined",
|
|
176
|
+
rel: "nofollow",
|
|
177
|
+
href: "https://mui.com/store/items/sketch-react/?utm_source=docs&utm_medium=referral&utm_campaign=component-link-header",
|
|
178
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_SketchIcon.default, {}),
|
|
179
|
+
"data-ga-event-category": "ComponentLinkHeader",
|
|
180
|
+
"data-ga-event-action": "click",
|
|
181
|
+
"data-ga-event-label": "Sketch",
|
|
182
|
+
"data-ga-event-split": "0.1",
|
|
183
|
+
label: "Sketch"
|
|
184
|
+
})
|
|
185
|
+
})]
|
|
186
|
+
}))]
|
|
187
|
+
})]
|
|
188
|
+
});
|
|
189
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _exportNames = {};
|
|
7
|
+
Object.defineProperty(exports, "default", {
|
|
8
|
+
enumerable: true,
|
|
9
|
+
get: function () {
|
|
10
|
+
return _ComponentLinkHeader.ComponentLinkHeader;
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
var _ComponentLinkHeader = require("./ComponentLinkHeader");
|
|
14
|
+
Object.keys(_ComponentLinkHeader).forEach(function (key) {
|
|
15
|
+
if (key === "default" || key === "__esModule") return;
|
|
16
|
+
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
17
|
+
if (key in exports && exports[key] === _ComponentLinkHeader[key]) return;
|
|
18
|
+
Object.defineProperty(exports, key, {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () {
|
|
21
|
+
return _ComponentLinkHeader[key];
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -15,7 +15,7 @@ var _Paper = _interopRequireDefault(require("@mui/material/Paper"));
|
|
|
15
15
|
var _Typography = _interopRequireDefault(require("@mui/material/Typography"));
|
|
16
16
|
var _Link = require("../Link");
|
|
17
17
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
-
const _excluded = ["classNameDescription", "classNameTitle", "
|
|
18
|
+
const _excluded = ["classNameDescription", "classNameTitle", "description", "icon", "link", "svg", "title", "titleProps"];
|
|
19
19
|
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); }
|
|
20
20
|
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; }
|
|
21
21
|
function GlowingIconContainer({
|
|
@@ -23,8 +23,8 @@ function GlowingIconContainer({
|
|
|
23
23
|
}) {
|
|
24
24
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Box.default, {
|
|
25
25
|
sx: theme => (0, _extends2.default)({
|
|
26
|
-
width:
|
|
27
|
-
height:
|
|
26
|
+
width: 36,
|
|
27
|
+
height: 36,
|
|
28
28
|
display: 'flex',
|
|
29
29
|
justifyContent: 'center',
|
|
30
30
|
alignItems: 'center',
|
|
@@ -33,10 +33,13 @@ function GlowingIconContainer({
|
|
|
33
33
|
border: '1px solid',
|
|
34
34
|
borderColor: 'primary.200',
|
|
35
35
|
bgcolor: 'primary.50',
|
|
36
|
-
boxShadow: `0px 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[500], 0.1)}, 0px 2px 12px 0px rgba(234, 237, 241, 0.3) inset
|
|
36
|
+
boxShadow: `0px 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[500], 0.1)}, 0px 2px 12px 0px rgba(234, 237, 241, 0.3) inset`,
|
|
37
|
+
'& .MuiSvgIcon-root': {
|
|
38
|
+
fontSize: theme.typography.pxToRem(18)
|
|
39
|
+
}
|
|
37
40
|
}, theme.applyDarkStyles({
|
|
38
41
|
borderColor: (0, _styles.alpha)(theme.palette.primary[400], 0.25),
|
|
39
|
-
bgcolor: (0, _styles.alpha)(theme.palette.primary[900], 0.
|
|
42
|
+
bgcolor: (0, _styles.alpha)(theme.palette.primary[900], 0.2),
|
|
40
43
|
boxShadow: `0 0 0 2px ${(0, _styles.alpha)(theme.palette.primary[600], 0.1)}, 0px 2px 12px 0px rgba(0, 0, 0, 0.25) inset`
|
|
41
44
|
})),
|
|
42
45
|
children: icon
|
|
@@ -46,7 +49,6 @@ function InfoCard(props) {
|
|
|
46
49
|
const {
|
|
47
50
|
classNameDescription,
|
|
48
51
|
classNameTitle,
|
|
49
|
-
dense,
|
|
50
52
|
description,
|
|
51
53
|
icon,
|
|
52
54
|
link,
|
|
@@ -65,7 +67,7 @@ function InfoCard(props) {
|
|
|
65
67
|
prefetch: false
|
|
66
68
|
} : {}, {
|
|
67
69
|
sx: theme => (0, _extends2.default)({
|
|
68
|
-
p:
|
|
70
|
+
p: 2.5,
|
|
69
71
|
height: '100%',
|
|
70
72
|
background: `${(theme.vars || theme).palette.gradients.linearSubtle}`
|
|
71
73
|
}, theme.applyDarkStyles({
|
|
@@ -77,7 +79,7 @@ function InfoCard(props) {
|
|
|
77
79
|
children: [svg && svg, icon && /*#__PURE__*/(0, _jsxRuntime.jsx)(GlowingIconContainer, {
|
|
78
80
|
icon: icon
|
|
79
81
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Typography.default, (0, _extends2.default)({
|
|
80
|
-
fontWeight: "
|
|
82
|
+
fontWeight: "semiBold",
|
|
81
83
|
component: "h3",
|
|
82
84
|
color: "text.primary",
|
|
83
85
|
variant: "body2",
|
|
@@ -537,45 +537,35 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
537
537
|
top: 0
|
|
538
538
|
},
|
|
539
539
|
'& .MuiCode-copy': {
|
|
540
|
-
display: 'inline-flex',
|
|
541
|
-
flexDirection: 'row-reverse',
|
|
542
|
-
alignItems: 'center',
|
|
543
|
-
width: 26,
|
|
544
|
-
height: 26,
|
|
545
540
|
cursor: 'pointer',
|
|
546
541
|
position: 'absolute',
|
|
547
542
|
top: 12,
|
|
548
543
|
right: 12,
|
|
544
|
+
display: 'inline-flex',
|
|
545
|
+
flexDirection: 'row-reverse',
|
|
546
|
+
alignItems: 'center',
|
|
547
|
+
height: 24,
|
|
549
548
|
padding: theme.spacing(0.5),
|
|
550
|
-
|
|
551
|
-
|
|
549
|
+
paddingBottom: '5px',
|
|
550
|
+
// optical alignment
|
|
551
|
+
fontFamily: _branding.brandingLightTheme.typography.fontFamily,
|
|
552
|
+
fontWeight: _branding.brandingLightTheme.typography.fontWeightMedium,
|
|
553
|
+
fontSize: _branding.brandingLightTheme.typography.pxToRem(12),
|
|
552
554
|
borderRadius: 6,
|
|
553
|
-
border: '
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
color:
|
|
555
|
+
border: '1px solid',
|
|
556
|
+
borderColor: (0, _styles.alpha)(_branding.brandingLightTheme.palette.primaryDark[600], 0.5),
|
|
557
|
+
backgroundColor: (0, _styles.alpha)(_branding.brandingLightTheme.palette.primaryDark[800], 0.5),
|
|
558
|
+
color: `var(--muidocs-palette-grey-200, ${_branding.brandingLightTheme.palette.grey[200]})`,
|
|
557
559
|
transition: theme.transitions.create(['background', 'borderColor', 'display'], {
|
|
558
560
|
duration: theme.transitions.duration.shortest
|
|
559
561
|
}),
|
|
560
|
-
'&
|
|
561
|
-
userSelect: 'none',
|
|
562
|
-
width: theme.typography.pxToRem(16),
|
|
563
|
-
height: theme.typography.pxToRem(16),
|
|
564
|
-
display: 'inline-block',
|
|
565
|
-
fill: 'currentcolor',
|
|
566
|
-
flexShrink: 0,
|
|
567
|
-
fontSize: '18px',
|
|
568
|
-
margin: 'auto',
|
|
569
|
-
opacity: 0.5
|
|
570
|
-
},
|
|
571
|
-
'& .MuiCode-copied-icon': {
|
|
562
|
+
'& .MuiCode-copied-label': {
|
|
572
563
|
display: 'none'
|
|
573
564
|
},
|
|
574
565
|
'&:hover, &:focus': {
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
},
|
|
566
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${_branding.brandingLightTheme.palette.primaryDark[400]})`,
|
|
567
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${_branding.brandingLightTheme.palette.primaryDark[700]})`,
|
|
568
|
+
color: '#FFF',
|
|
579
569
|
'& .MuiCode-copyKeypress': {
|
|
580
570
|
display: 'block',
|
|
581
571
|
// Approximate no hover capabilities with no keyboard
|
|
@@ -588,17 +578,19 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
588
578
|
'& .MuiCode-copyKeypress': {
|
|
589
579
|
display: 'none',
|
|
590
580
|
position: 'absolute',
|
|
591
|
-
right:
|
|
581
|
+
right: 34
|
|
592
582
|
},
|
|
593
583
|
'&[data-copied]': {
|
|
594
|
-
|
|
595
|
-
|
|
584
|
+
borderColor: `var(--muidocs-palette-primaryDark-400, ${_branding.brandingLightTheme.palette.primaryDark[400]})`,
|
|
585
|
+
backgroundColor: `var(--muidocs-palette-primaryDark-700, ${_branding.brandingLightTheme.palette.primaryDark[700]})`,
|
|
596
586
|
color: '#fff',
|
|
597
|
-
|
|
598
|
-
|
|
587
|
+
'& .MuiCode-copyKeypress': {
|
|
588
|
+
opacity: 0
|
|
589
|
+
},
|
|
590
|
+
'& .MuiCode-copy-label': {
|
|
599
591
|
display: 'none'
|
|
600
592
|
},
|
|
601
|
-
'& .MuiCode-copied-
|
|
593
|
+
'& .MuiCode-copied-label': {
|
|
602
594
|
display: 'block'
|
|
603
595
|
}
|
|
604
596
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SectionTitle = SectionTitle;
|
|
7
|
+
var React = _interopRequireWildcard(require("react"));
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
var _span;
|
|
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
|
+
function SectionTitle(props) {
|
|
13
|
+
const {
|
|
14
|
+
title,
|
|
15
|
+
hash,
|
|
16
|
+
level: Level = 'h2'
|
|
17
|
+
} = props;
|
|
18
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsx)(Level, {
|
|
19
|
+
id: hash,
|
|
20
|
+
style: {
|
|
21
|
+
flexGrow: 1
|
|
22
|
+
},
|
|
23
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsxs)("a", {
|
|
24
|
+
"aria-labelledby": hash,
|
|
25
|
+
className: "title-link-to-anchor",
|
|
26
|
+
href: `#${hash}`,
|
|
27
|
+
tabIndex: -1,
|
|
28
|
+
children: [title, _span || (_span = /*#__PURE__*/(0, _jsxRuntime.jsx)("span", {
|
|
29
|
+
className: "anchor-icon",
|
|
30
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("svg", {
|
|
31
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)("use", {
|
|
32
|
+
xlinkHref: "#anchor-link-icon"
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
}))]
|
|
36
|
+
})
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
var _SectionTitle = require("./SectionTitle");
|
|
7
|
+
Object.keys(_SectionTitle).forEach(function (key) {
|
|
8
|
+
if (key === "default" || key === "__esModule") return;
|
|
9
|
+
if (key in exports && exports[key] === _SectionTitle[key]) return;
|
|
10
|
+
Object.defineProperty(exports, key, {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () {
|
|
13
|
+
return _SectionTitle[key];
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
});
|
|
@@ -672,7 +672,8 @@ function getThemedComponents() {
|
|
|
672
672
|
fontSize: theme.typography.pxToRem(14),
|
|
673
673
|
fontWeight: 500,
|
|
674
674
|
'&:hover, &:focus': {
|
|
675
|
-
backgroundColor: (theme.vars || theme).palette.grey[
|
|
675
|
+
backgroundColor: (theme.vars || theme).palette.grey[100],
|
|
676
|
+
color: (theme.vars || theme).palette.text.primary
|
|
676
677
|
},
|
|
677
678
|
'&:focus-visible': {
|
|
678
679
|
outline: 'none'
|
|
@@ -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');
|
|
@@ -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');
|
|
@@ -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');
|
|
@@ -75,6 +75,7 @@
|
|
|
75
75
|
"toggleSettings": "Toggle settings drawer"
|
|
76
76
|
},
|
|
77
77
|
"backToTop": "Scroll back to top",
|
|
78
|
+
"backToOpenRoles": "Back to open roles",
|
|
78
79
|
"blogDescr": "A polished blog page layout. Markdown support is courtesy of markdown-to-jsx.",
|
|
79
80
|
"blogTitle": "Blog",
|
|
80
81
|
"bundleSize": "Bundle size",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/docs",
|
|
3
|
-
"version": "6.0.0-alpha.
|
|
3
|
+
"version": "6.0.0-alpha.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
},
|
|
24
24
|
"homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@babel/runtime": "^7.24.
|
|
26
|
+
"@babel/runtime": "^7.24.5",
|
|
27
27
|
"clipboard-copy": "^4.0.1",
|
|
28
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.4"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@mui/base": "*",
|