@mui/internal-docs-infra 0.13.1-canary.11 → 0.13.1-canary.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-docs-infra",
3
- "version": "0.13.1-canary.11",
3
+ "version": "0.13.1-canary.13",
4
4
  "author": "MUI Team",
5
5
  "description": "MUI Infra - internal documentation creation tools.",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "homepage": "https://github.com/mui/mui-public/tree/master/packages/docs-infra",
31
31
  "dependencies": {
32
- "@babel/runtime": "^8.0.5",
32
+ "@babel/runtime": "^8.0.7",
33
33
  "@csstools/postcss-light-dark-function": "^3.0.7",
34
34
  "@csstools/postcss-relative-color-syntax": "^4.0.15",
35
35
  "@csstools/postcss-stepped-value-functions": "^5.0.9",
@@ -39,7 +39,6 @@
39
39
  "@wooorm/starry-night": "^3.11.0",
40
40
  "autoprefixer": "^10.6.1",
41
41
  "chalk": "^6.0.1",
42
- "clipboard-copy": "^4.0.1",
43
42
  "es-toolkit": "^1.52.0",
44
43
  "fflate": "^0.8.3",
45
44
  "hast-util-to-jsx-runtime": "^2.3.6",
@@ -51,7 +50,7 @@
51
50
  "kebab-case": "^2.0.2",
52
51
  "lz-string": "^1.5.0",
53
52
  "path-module": "^0.1.2",
54
- "postcss": "^8.5.28",
53
+ "postcss": "^8.5.29",
55
54
  "postcss-modules-extract-imports": "^3.1.0",
56
55
  "postcss-modules-local-by-default": "^4.2.0",
57
56
  "postcss-modules-scope": "^3.2.1",
@@ -814,5 +813,5 @@
814
813
  "bin": {
815
814
  "docs-infra": "./cli/index.mjs"
816
815
  },
817
- "gitSha": "f0f2046d46bd579cf674deedc6c85eb83f6ec2bf"
816
+ "gitSha": "9ffe3cf6919c0b4f211bfadb942b63fa70ffcb64"
818
817
  }
@@ -1,5 +1,4 @@
1
1
  import * as React from 'react';
2
- import copyToClipboard from 'clipboard-copy';
3
2
  export function useCopier(contents, opts) {
4
3
  const {
5
4
  onCopied,
@@ -15,7 +14,7 @@ export function useCopier(contents, opts) {
15
14
  try {
16
15
  const content = typeof contents === 'function' ? contents() : contents;
17
16
  if (content) {
18
- await copyToClipboard(content);
17
+ await navigator.clipboard.writeText(content);
19
18
  }
20
19
  setRecentlySuccessful(true);
21
20
  onCopied?.();