@mui/internal-docs-infra 0.2.1-canary.1 → 0.2.1-canary.2
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.
|
@@ -894,11 +894,11 @@ export function CodeHighlighterClient(props) {
|
|
|
894
894
|
setIsEnhanceAllowed = _React$useState10[1];
|
|
895
895
|
React.useEffect(function () {
|
|
896
896
|
if (enhanceAfter === 'idle') {
|
|
897
|
-
var idleRequest =
|
|
897
|
+
var idleRequest = requestIdleCallback(function () {
|
|
898
898
|
setIsEnhanceAllowed(true);
|
|
899
899
|
});
|
|
900
900
|
return function () {
|
|
901
|
-
return
|
|
901
|
+
return cancelIdleCallback(idleRequest);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
904
|
return undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/internal-docs-infra",
|
|
3
|
-
"version": "0.2.1-canary.
|
|
3
|
+
"version": "0.2.1-canary.2",
|
|
4
4
|
"author": "MUI Team",
|
|
5
5
|
"description": "MUI Infra - internal documentation creation tools.",
|
|
6
6
|
"keywords": [
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=22.12.0"
|
|
55
55
|
},
|
|
56
|
-
"gitSha": "
|
|
56
|
+
"gitSha": "8c9d4d78ce782486510dbbe4a363e4ee1389bf29",
|
|
57
57
|
"type": "commonjs",
|
|
58
58
|
"exports": {
|
|
59
59
|
"./package.json": "./package.json",
|