@mui/docs 6.0.0-alpha.3 → 6.0.0-alpha.5

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.
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ var _MarkdownElement = require("./MarkdownElement");
7
+ Object.keys(_MarkdownElement).forEach(function (key) {
8
+ if (key === "default" || key === "__esModule") return;
9
+ if (key in exports && exports[key] === _MarkdownElement[key]) return;
10
+ Object.defineProperty(exports, key, {
11
+ enumerable: true,
12
+ get: function () {
13
+ return _MarkdownElement[key];
14
+ }
15
+ });
16
+ });
@@ -152,7 +152,7 @@ const getDesignTokens = mode => ({
152
152
  warning,
153
153
  gradients: {
154
154
  radioSubtle: mode === 'dark' ? `radial-gradient(100% 100% at 100% 100%, transparent 0, ${(0, _styles.alpha)(blue[900], 0.3)} 300%)` : `radial-gradient(100% 90% at 50% 0, transparent 0, ${(0, _styles.alpha)(blue[100], 0.3)} 300%)`,
155
- linearSubtle: mode === 'light' ? `linear-gradient(to bottom right, ${(0, _styles.alpha)(blue[50], 0.3)} 25%, ${(0, _styles.alpha)(grey[50], 0.2)} 100%)` : `linear-gradient(to bottom right, ${(0, _styles.alpha)(blue[900], 0.1)} 25%, ${(0, _styles.alpha)(blueDark[800], 0.2)} 100%)`
155
+ linearSubtle: mode === 'dark' ? `linear-gradient(0deg, ${(0, _styles.alpha)(blue[900], 0.1)}, ${(0, _styles.alpha)(blueDark[900], 0.5)})` : `linear-gradient(0deg, ${(0, _styles.alpha)(blue[50], 0.4)}, ${(0, _styles.alpha)(grey[50], 0.1)})`
156
156
  }
157
157
  }),
158
158
  shape: {
@@ -228,20 +228,17 @@ const getDesignTokens = mode => ({
228
228
  },
229
229
  body1: {
230
230
  fontSize: defaultTheme.typography.pxToRem(16),
231
- // 16px
232
231
  lineHeight: 24 / 16,
233
232
  letterSpacing: 0
234
233
  },
235
234
  body2: {
236
235
  fontSize: defaultTheme.typography.pxToRem(14),
237
- // 14px
238
236
  lineHeight: 21 / 14,
239
237
  letterSpacing: 0
240
238
  },
241
239
  caption: {
242
240
  display: 'inline-block',
243
241
  fontSize: defaultTheme.typography.pxToRem(12),
244
- // 12px
245
242
  lineHeight: 18 / 12,
246
243
  letterSpacing: 0,
247
244
  fontWeight: 700
@@ -391,7 +388,7 @@ function getThemedComponents() {
391
388
  transform: 'translateX(2px)'
392
389
  }
393
390
  }, ownerState.size === 'small' && {
394
- padding: theme.spacing('6px', 1),
391
+ padding: theme.spacing('6px', 1.5),
395
392
  fontFamily: theme.typography.fontFamily,
396
393
  fontSize: defaultTheme.typography.pxToRem(13),
397
394
  fontWeight: theme.typography.fontWeightSemiBold,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/docs",
3
- "version": "6.0.0-alpha.3",
3
+ "version": "6.0.0-alpha.5",
4
4
  "private": false,
5
5
  "author": "MUI Team",
6
6
  "description": "MUI Docs - Documentation building blocks.",
@@ -24,9 +24,11 @@
24
24
  "homepage": "https://github.com/mui/material-ui/tree/master/packages/mui-docs",
25
25
  "dependencies": {
26
26
  "@babel/runtime": "^7.24.4",
27
- "clsx": "^2.1.0",
27
+ "clipboard-copy": "^4.0.1",
28
+ "clsx": "^2.1.1",
28
29
  "nprogress": "^0.2.0",
29
- "prop-types": "^15.8.1"
30
+ "prop-types": "^15.8.1",
31
+ "@mui/internal-markdown": "^1.0.3"
30
32
  },
31
33
  "peerDependencies": {
32
34
  "@mui/base": "*",