@mui/docs 6.0.0-alpha.13 → 6.0.0-alpha.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 +52 -0
- package/HighlightedCode/HighlightedCodeWithTabs.d.ts +29 -0
- package/HighlightedCode/HighlightedCodeWithTabs.js +353 -0
- package/HighlightedCode/index.d.ts +1 -0
- package/HighlightedCode/index.js +2 -1
- package/MarkdownElement/MarkdownElement.js +7 -8
- package/branding/BrandingProvider.d.ts +1 -1
- package/node/HighlightedCode/HighlightedCodeWithTabs.js +363 -0
- package/node/HighlightedCode/index.js +11 -0
- package/node/MarkdownElement/MarkdownElement.js +7 -8
- package/package.json +3 -2
- package/tsconfig.build.tsbuildinfo +1 -1
|
@@ -0,0 +1,363 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
+
Object.defineProperty(exports, "__esModule", {
|
|
5
|
+
value: true
|
|
6
|
+
});
|
|
7
|
+
exports.CodeTabPanel = exports.CodeTabList = exports.CodeTab = void 0;
|
|
8
|
+
exports.HighlightedCodeWithTabs = HighlightedCodeWithTabs;
|
|
9
|
+
var React = _interopRequireWildcard(require("react"));
|
|
10
|
+
var _styles = require("@mui/material/styles");
|
|
11
|
+
var _Tabs = require("@mui/base/Tabs");
|
|
12
|
+
var _TabsList = require("@mui/base/TabsList");
|
|
13
|
+
var _TabPanel = require("@mui/base/TabPanel");
|
|
14
|
+
var _Tab = require("@mui/base/Tab");
|
|
15
|
+
var _useLocalStorageState = _interopRequireDefault(require("@mui/utils/useLocalStorageState"));
|
|
16
|
+
var _HighlightedCode = require("./HighlightedCode");
|
|
17
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
18
|
+
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); }
|
|
19
|
+
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; }
|
|
20
|
+
const CodeTabList = exports.CodeTabList = (0, _styles.styled)(_TabsList.TabsList)(({
|
|
21
|
+
theme
|
|
22
|
+
}) => ({
|
|
23
|
+
display: 'flex',
|
|
24
|
+
gap: theme.spacing(0.5),
|
|
25
|
+
borderLeft: '1px solid',
|
|
26
|
+
borderRight: '1px solid',
|
|
27
|
+
...theme.applyDarkStyles({
|
|
28
|
+
backgroundColor: (0, _styles.alpha)(theme.palette.primaryDark[800], 0.2)
|
|
29
|
+
}),
|
|
30
|
+
variants: [{
|
|
31
|
+
props: ({
|
|
32
|
+
ownerState
|
|
33
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
34
|
+
style: {
|
|
35
|
+
padding: theme.spacing(1.5, 1)
|
|
36
|
+
}
|
|
37
|
+
}, {
|
|
38
|
+
props: ({
|
|
39
|
+
ownerState
|
|
40
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
41
|
+
style: {
|
|
42
|
+
padding: theme.spacing(1)
|
|
43
|
+
}
|
|
44
|
+
}, {
|
|
45
|
+
props: ({
|
|
46
|
+
ownerState
|
|
47
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
48
|
+
style: {
|
|
49
|
+
borderTop: 'none'
|
|
50
|
+
}
|
|
51
|
+
}, {
|
|
52
|
+
props: ({
|
|
53
|
+
ownerState
|
|
54
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
55
|
+
style: {
|
|
56
|
+
borderTop: '1px solid'
|
|
57
|
+
}
|
|
58
|
+
}, {
|
|
59
|
+
props: ({
|
|
60
|
+
ownerState
|
|
61
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
62
|
+
style: {
|
|
63
|
+
borderBottom: 'none'
|
|
64
|
+
}
|
|
65
|
+
}, {
|
|
66
|
+
props: ({
|
|
67
|
+
ownerState
|
|
68
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
69
|
+
style: {
|
|
70
|
+
borderBottom: '1px solid'
|
|
71
|
+
}
|
|
72
|
+
}, {
|
|
73
|
+
props: ({
|
|
74
|
+
ownerState
|
|
75
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
76
|
+
style: {
|
|
77
|
+
borderTopLeftRadius: 0
|
|
78
|
+
}
|
|
79
|
+
}, {
|
|
80
|
+
props: ({
|
|
81
|
+
ownerState
|
|
82
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
83
|
+
style: {
|
|
84
|
+
borderTopLeftRadius: (theme.vars || theme).shape.borderRadius
|
|
85
|
+
}
|
|
86
|
+
}, {
|
|
87
|
+
props: ({
|
|
88
|
+
ownerState
|
|
89
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
90
|
+
style: {
|
|
91
|
+
borderTopRightRadius: 0
|
|
92
|
+
}
|
|
93
|
+
}, {
|
|
94
|
+
props: ({
|
|
95
|
+
ownerState
|
|
96
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
97
|
+
style: {
|
|
98
|
+
borderTopRightRadius: (theme.vars || theme).shape.borderRadius
|
|
99
|
+
}
|
|
100
|
+
}, {
|
|
101
|
+
props: ({
|
|
102
|
+
ownerState
|
|
103
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
104
|
+
style: {
|
|
105
|
+
borderColor: (theme.vars || theme).palette.divider
|
|
106
|
+
}
|
|
107
|
+
}, {
|
|
108
|
+
props: ({
|
|
109
|
+
ownerState
|
|
110
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
111
|
+
style: {
|
|
112
|
+
borderColor: (theme.vars || theme).palette.primaryDark[700]
|
|
113
|
+
}
|
|
114
|
+
}, {
|
|
115
|
+
props: ({
|
|
116
|
+
ownerState
|
|
117
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
118
|
+
style: {
|
|
119
|
+
backgroundColor: (0, _styles.alpha)(theme.palette.grey[50], 0.2)
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
props: ({
|
|
123
|
+
ownerState
|
|
124
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
125
|
+
style: {
|
|
126
|
+
backgroundColor: (theme.vars || theme).palette.primaryDark[900]
|
|
127
|
+
}
|
|
128
|
+
}]
|
|
129
|
+
}));
|
|
130
|
+
const CodeTabPanel = exports.CodeTabPanel = (0, _styles.styled)(_TabPanel.TabPanel)({
|
|
131
|
+
'& pre': {
|
|
132
|
+
borderTopLeftRadius: 0,
|
|
133
|
+
borderTopRightRadius: 0,
|
|
134
|
+
'& code': {}
|
|
135
|
+
},
|
|
136
|
+
variants: [{
|
|
137
|
+
props: ({
|
|
138
|
+
ownerState
|
|
139
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
140
|
+
style: {
|
|
141
|
+
marginTop: -1
|
|
142
|
+
}
|
|
143
|
+
}, {
|
|
144
|
+
props: ({
|
|
145
|
+
ownerState
|
|
146
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
147
|
+
style: {
|
|
148
|
+
marginTop: 0
|
|
149
|
+
}
|
|
150
|
+
}, {
|
|
151
|
+
props: ({
|
|
152
|
+
ownerState
|
|
153
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
154
|
+
style: {
|
|
155
|
+
'& pre': {
|
|
156
|
+
marginTop: 0
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}, {
|
|
160
|
+
props: ({
|
|
161
|
+
ownerState
|
|
162
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
163
|
+
style: {
|
|
164
|
+
'& pre': {
|
|
165
|
+
marginTop: -1
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}, {
|
|
169
|
+
props: ({
|
|
170
|
+
ownerState
|
|
171
|
+
}) => ownerState.mounted,
|
|
172
|
+
style: {
|
|
173
|
+
'& pre': {
|
|
174
|
+
'& code': {
|
|
175
|
+
opacity: 1
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
}, {
|
|
180
|
+
props: ({
|
|
181
|
+
ownerState
|
|
182
|
+
}) => !ownerState.mounted,
|
|
183
|
+
style: {
|
|
184
|
+
'& pre': {
|
|
185
|
+
'& code': {
|
|
186
|
+
opacity: 0
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
}]
|
|
191
|
+
});
|
|
192
|
+
const CodeTab = exports.CodeTab = (0, _styles.styled)(_Tab.Tab)(({
|
|
193
|
+
theme
|
|
194
|
+
}) => ({
|
|
195
|
+
variants: [{
|
|
196
|
+
props: ({
|
|
197
|
+
ownerState
|
|
198
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
199
|
+
style: {
|
|
200
|
+
border: '1px solid transparent',
|
|
201
|
+
fontSize: theme.typography.pxToRem(13)
|
|
202
|
+
}
|
|
203
|
+
}, {
|
|
204
|
+
props: ({
|
|
205
|
+
ownerState
|
|
206
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
207
|
+
style: {
|
|
208
|
+
border: 'none',
|
|
209
|
+
fontSize: theme.typography.pxToRem(12)
|
|
210
|
+
}
|
|
211
|
+
}, {
|
|
212
|
+
props: ({
|
|
213
|
+
ownerState
|
|
214
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
215
|
+
style: {
|
|
216
|
+
color: (theme.vars || theme).palette.text.tertiary
|
|
217
|
+
}
|
|
218
|
+
}, {
|
|
219
|
+
props: ({
|
|
220
|
+
ownerState
|
|
221
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
222
|
+
style: {
|
|
223
|
+
color: (theme.vars || theme).palette.grey[500]
|
|
224
|
+
}
|
|
225
|
+
}, {
|
|
226
|
+
props: ({
|
|
227
|
+
ownerState
|
|
228
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
229
|
+
style: {
|
|
230
|
+
fontFamily: theme.typography.fontFamily
|
|
231
|
+
}
|
|
232
|
+
}, {
|
|
233
|
+
props: ({
|
|
234
|
+
ownerState
|
|
235
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
236
|
+
style: {
|
|
237
|
+
fontFamily: theme.typography.fontFamilyCode
|
|
238
|
+
}
|
|
239
|
+
}, {
|
|
240
|
+
props: ({
|
|
241
|
+
ownerState
|
|
242
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
243
|
+
style: {
|
|
244
|
+
fontWeight: theme.typography.fontWeightMedium
|
|
245
|
+
}
|
|
246
|
+
}, {
|
|
247
|
+
props: ({
|
|
248
|
+
ownerState
|
|
249
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
250
|
+
style: {
|
|
251
|
+
fontWeight: theme.typography.fontWeightBold
|
|
252
|
+
}
|
|
253
|
+
}, {
|
|
254
|
+
props: ({
|
|
255
|
+
ownerState
|
|
256
|
+
}) => ownerState == null ? void 0 : ownerState.contained,
|
|
257
|
+
style: {
|
|
258
|
+
transition: 'background, color, 100ms ease'
|
|
259
|
+
}
|
|
260
|
+
}, {
|
|
261
|
+
props: ({
|
|
262
|
+
ownerState
|
|
263
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
264
|
+
style: {
|
|
265
|
+
transition: 'unset'
|
|
266
|
+
}
|
|
267
|
+
}, {
|
|
268
|
+
props: ({
|
|
269
|
+
ownerState
|
|
270
|
+
}) => !(ownerState != null && ownerState.contained),
|
|
271
|
+
style: {
|
|
272
|
+
'&:hover': {
|
|
273
|
+
backgroundColor: (0, _styles.alpha)(theme.palette.primaryDark[500], 0.5),
|
|
274
|
+
color: (theme.vars || theme).palette.grey[400]
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
}, {
|
|
278
|
+
props: ({
|
|
279
|
+
ownerState
|
|
280
|
+
}) => !(ownerState != null && ownerState.contained) && ownerState.mounted,
|
|
281
|
+
style: {
|
|
282
|
+
'&.base--selected': {
|
|
283
|
+
color: '#FFF',
|
|
284
|
+
'&::after': {
|
|
285
|
+
content: "''",
|
|
286
|
+
position: 'absolute',
|
|
287
|
+
left: 0,
|
|
288
|
+
bottom: '-8px',
|
|
289
|
+
height: 2,
|
|
290
|
+
width: '100%',
|
|
291
|
+
bgcolor: (theme.vars || theme).palette.primary.light
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
}],
|
|
296
|
+
...theme.unstable_sx({
|
|
297
|
+
height: 26,
|
|
298
|
+
p: '2px 8px',
|
|
299
|
+
bgcolor: 'transparent',
|
|
300
|
+
lineHeight: 1.2,
|
|
301
|
+
outline: 'none',
|
|
302
|
+
minWidth: 45,
|
|
303
|
+
cursor: 'pointer',
|
|
304
|
+
borderRadius: 99,
|
|
305
|
+
position: 'relative',
|
|
306
|
+
'&:hover': {
|
|
307
|
+
backgroundColor: (theme.vars || theme).palette.divider
|
|
308
|
+
},
|
|
309
|
+
'&:focus-visible': {
|
|
310
|
+
outline: '3px solid',
|
|
311
|
+
outlineOffset: '1px',
|
|
312
|
+
outlineColor: (theme.vars || theme).palette.primary.light
|
|
313
|
+
}
|
|
314
|
+
})
|
|
315
|
+
}));
|
|
316
|
+
function HighlightedCodeWithTabs(props) {
|
|
317
|
+
const {
|
|
318
|
+
tabs,
|
|
319
|
+
storageKey
|
|
320
|
+
} = props;
|
|
321
|
+
const availableTabs = React.useMemo(() => tabs.map(({
|
|
322
|
+
tab
|
|
323
|
+
}) => tab), [tabs]);
|
|
324
|
+
const [activeTab, setActiveTab] = (0, _useLocalStorageState.default)(storageKey != null ? storageKey : null, availableTabs[0]);
|
|
325
|
+
// During hydration, activeTab is null, default to first value.
|
|
326
|
+
const defaultizedActiveTab = activeTab != null ? activeTab : availableTabs[0];
|
|
327
|
+
const [mounted, setMounted] = React.useState(false);
|
|
328
|
+
React.useEffect(() => {
|
|
329
|
+
setMounted(true);
|
|
330
|
+
}, []);
|
|
331
|
+
const handleChange = (event, newValue) => {
|
|
332
|
+
setActiveTab(newValue);
|
|
333
|
+
};
|
|
334
|
+
const ownerState = {
|
|
335
|
+
mounted
|
|
336
|
+
};
|
|
337
|
+
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_Tabs.Tabs, {
|
|
338
|
+
selectionFollowsFocus: true,
|
|
339
|
+
value: defaultizedActiveTab,
|
|
340
|
+
onChange: handleChange,
|
|
341
|
+
children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(CodeTabList, {
|
|
342
|
+
ownerState: ownerState,
|
|
343
|
+
children: tabs.map(({
|
|
344
|
+
tab
|
|
345
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(CodeTab, {
|
|
346
|
+
ownerState: ownerState,
|
|
347
|
+
value: tab,
|
|
348
|
+
children: tab
|
|
349
|
+
}, tab))
|
|
350
|
+
}), tabs.map(({
|
|
351
|
+
tab,
|
|
352
|
+
language,
|
|
353
|
+
code
|
|
354
|
+
}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(CodeTabPanel, {
|
|
355
|
+
ownerState: ownerState,
|
|
356
|
+
value: tab,
|
|
357
|
+
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_HighlightedCode.HighlightedCode, {
|
|
358
|
+
language: language || 'bash',
|
|
359
|
+
code: typeof code === 'function' ? code(tab) : code
|
|
360
|
+
})
|
|
361
|
+
}, tab))]
|
|
362
|
+
});
|
|
363
|
+
}
|
|
@@ -13,4 +13,15 @@ Object.keys(_HighlightedCode).forEach(function (key) {
|
|
|
13
13
|
return _HighlightedCode[key];
|
|
14
14
|
}
|
|
15
15
|
});
|
|
16
|
+
});
|
|
17
|
+
var _HighlightedCodeWithTabs = require("./HighlightedCodeWithTabs");
|
|
18
|
+
Object.keys(_HighlightedCodeWithTabs).forEach(function (key) {
|
|
19
|
+
if (key === "default" || key === "__esModule") return;
|
|
20
|
+
if (key in exports && exports[key] === _HighlightedCodeWithTabs[key]) return;
|
|
21
|
+
Object.defineProperty(exports, key, {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () {
|
|
24
|
+
return _HighlightedCodeWithTabs[key];
|
|
25
|
+
}
|
|
26
|
+
});
|
|
16
27
|
});
|
|
@@ -208,11 +208,13 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
208
208
|
marginLeft: 8,
|
|
209
209
|
height: 26,
|
|
210
210
|
width: 26,
|
|
211
|
-
backgroundColor: `var(--muidocs-palette-primary-50, ${_branding.brandingLightTheme.palette.grey[50]})`,
|
|
212
211
|
color: `var(--muidocs-palette-grey-600, ${_branding.brandingLightTheme.palette.grey[600]})`,
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
backgroundColor: 'transparent',
|
|
213
|
+
border: '1px solid transparent',
|
|
215
214
|
borderRadius: 8,
|
|
215
|
+
transition: theme.transitions.create(['visibility', 'background-color', 'color', 'border-color'], {
|
|
216
|
+
duration: theme.transitions.duration.shortest
|
|
217
|
+
}),
|
|
216
218
|
'&:hover': {
|
|
217
219
|
backgroundColor: (0, _styles.alpha)(_branding.brandingLightTheme.palette.primary[100], 0.4),
|
|
218
220
|
borderColor: `var(--muidocs-palette-primary-100, ${_branding.brandingLightTheme.palette.primary[100]})`,
|
|
@@ -233,7 +235,7 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
233
235
|
display: 'none',
|
|
234
236
|
// So we can have the comment button opt-in.
|
|
235
237
|
marginLeft: 'auto',
|
|
236
|
-
transition: theme.transitions.create('
|
|
238
|
+
transition: theme.transitions.create(['background-color', 'color', 'border-color'], {
|
|
237
239
|
duration: theme.transitions.duration.shortest
|
|
238
240
|
}),
|
|
239
241
|
'& svg': {
|
|
@@ -559,7 +561,6 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
559
561
|
display: 'inline-flex',
|
|
560
562
|
flexDirection: 'row-reverse',
|
|
561
563
|
alignItems: 'center',
|
|
562
|
-
height: 24,
|
|
563
564
|
padding: theme.spacing(0.5),
|
|
564
565
|
paddingBottom: '5px',
|
|
565
566
|
// optical alignment
|
|
@@ -693,9 +694,7 @@ const Root = (0, _styles.styled)('div')(({
|
|
|
693
694
|
'& h1, & h2, & h3, & h4, & h5': {
|
|
694
695
|
color: `var(--muidocs-palette-grey-50, ${_branding.brandingDarkTheme.palette.grey[50]})`,
|
|
695
696
|
'& .anchor-icon, & .comment-link': {
|
|
696
|
-
color: `var(--muidocs-palette-primary-300, ${_branding.brandingDarkTheme.palette.primaryDark[
|
|
697
|
-
borderColor: `var(--muidocs-palette-divider, ${_branding.brandingDarkTheme.palette.divider})`,
|
|
698
|
-
backgroundColor: (0, _styles.alpha)(_branding.brandingDarkTheme.palette.primaryDark[700], 0.5),
|
|
697
|
+
color: `var(--muidocs-palette-primary-300, ${_branding.brandingDarkTheme.palette.primaryDark[400]})`,
|
|
699
698
|
'&:hover': {
|
|
700
699
|
color: `var(--muidocs-palette-primary-100, ${_branding.brandingDarkTheme.palette.primary[100]})`,
|
|
701
700
|
borderColor: `var(--muidocs-palette-primary-900, ${_branding.brandingDarkTheme.palette.primary[900]})`,
|
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.14",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "MUI Docs - Documentation building blocks.",
|
|
@@ -28,7 +28,7 @@
|
|
|
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.7"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
34
|
"@mui/base": "*",
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"@mui/material": "^5.0.0",
|
|
37
37
|
"@mui/system": "^5.0.0",
|
|
38
38
|
"@types/react": "^17.0.0 || ^18.0.0",
|
|
39
|
+
"chai": "^4.4.1",
|
|
39
40
|
"next": "^13.5.1 || ^14",
|
|
40
41
|
"react": "^17.0.0 || ^18.0.0"
|
|
41
42
|
},
|