@docusaurus/theme-live-codeblock 0.0.0-5622 → 0.0.0-5623
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* This source code is licensed under the MIT license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
|
-
|
|
7
|
+
import React from 'react';
|
|
8
8
|
import { type Props } from '@theme-init/CodeBlock';
|
|
9
|
-
declare const _default: (props: Props) => JSX.Element;
|
|
9
|
+
declare const _default: (props: Props) => React.JSX.Element;
|
|
10
10
|
export default _default;
|
|
@@ -65,7 +65,7 @@ declare const ReactLiveScope: {
|
|
|
65
65
|
forEach<C_3>(children: C_3 | readonly C_3[], fn: (child: C_3, index: number) => void): void;
|
|
66
66
|
count(children: any): number;
|
|
67
67
|
only<C_4>(children: C_4): C_4 extends any[] ? never : C_4;
|
|
68
|
-
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.
|
|
68
|
+
toArray(children: React.ReactNode | React.ReactNode[]): (string | number | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal)[];
|
|
69
69
|
};
|
|
70
70
|
Fragment: React.ExoticComponent<{
|
|
71
71
|
children?: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/theme-live-codeblock",
|
|
3
|
-
"version": "0.0.0-
|
|
3
|
+
"version": "0.0.0-5623",
|
|
4
4
|
"description": "Docusaurus live code block component.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/theme-live-codeblock.d.ts",
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
},
|
|
24
24
|
"license": "MIT",
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@docusaurus/core": "0.0.0-
|
|
27
|
-
"@docusaurus/theme-common": "0.0.0-
|
|
28
|
-
"@docusaurus/theme-translations": "0.0.0-
|
|
29
|
-
"@docusaurus/utils-validation": "0.0.0-
|
|
26
|
+
"@docusaurus/core": "0.0.0-5623",
|
|
27
|
+
"@docusaurus/theme-common": "0.0.0-5623",
|
|
28
|
+
"@docusaurus/theme-translations": "0.0.0-5623",
|
|
29
|
+
"@docusaurus/utils-validation": "0.0.0-5623",
|
|
30
30
|
"@philpl/buble": "^0.19.7",
|
|
31
31
|
"clsx": "^1.2.1",
|
|
32
|
-
"fs-extra": "^11.1.
|
|
32
|
+
"fs-extra": "^11.1.1",
|
|
33
33
|
"react-live": "2.2.3",
|
|
34
|
-
"tslib": "^2.
|
|
34
|
+
"tslib": "^2.6.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@docusaurus/types": "0.0.0-
|
|
37
|
+
"@docusaurus/types": "0.0.0-5623",
|
|
38
38
|
"@types/buble": "^0.20.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"engines": {
|
|
45
45
|
"node": ">=16.14"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "22d146cb9f1bbd8517006d6a81b89e85dd364733"
|
|
48
48
|
}
|