@docusaurus/plugin-debug 3.5.2 → 3.6.0-canary-6134
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.
|
@@ -5,9 +5,11 @@
|
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
|
-
import {JsonView} from 'react-json-view-lite';
|
|
8
|
+
import {JsonView, defaultStyles} from 'react-json-view-lite';
|
|
9
9
|
import styles from './styles.module.css';
|
|
10
10
|
const paraisoStyles = {
|
|
11
|
+
clickableLabel: defaultStyles.clickableLabel,
|
|
12
|
+
noQuotesForStringValues: false,
|
|
11
13
|
container: styles.containerParaiso,
|
|
12
14
|
basicChildStyle: styles.basicElementParaiso,
|
|
13
15
|
label: styles.labelParaiso,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docusaurus/plugin-debug",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0-canary-6134",
|
|
4
4
|
"description": "Debug plugin for Docusaurus.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "src/plugin-debug.d.ts",
|
|
@@ -20,9 +20,9 @@
|
|
|
20
20
|
},
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@docusaurus/core": "3.
|
|
24
|
-
"@docusaurus/types": "3.
|
|
25
|
-
"@docusaurus/utils": "3.
|
|
23
|
+
"@docusaurus/core": "3.6.0-canary-6134",
|
|
24
|
+
"@docusaurus/types": "3.6.0-canary-6134",
|
|
25
|
+
"@docusaurus/utils": "3.6.0-canary-6134",
|
|
26
26
|
"fs-extra": "^11.1.1",
|
|
27
27
|
"react-json-view-lite": "^1.2.0",
|
|
28
28
|
"tslib": "^2.6.0"
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"engines": {
|
|
35
35
|
"node": ">=18.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "706c96c3bdd92c7d3ac61447ec49e4bfa6d0526b"
|
|
38
38
|
}
|
|
@@ -6,11 +6,17 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import React from 'react';
|
|
9
|
-
import {
|
|
9
|
+
import {
|
|
10
|
+
JsonView,
|
|
11
|
+
defaultStyles,
|
|
12
|
+
type Props as JsonViewProps,
|
|
13
|
+
} from 'react-json-view-lite';
|
|
10
14
|
import type {Props} from '@theme/DebugJsonView';
|
|
11
15
|
import styles from './styles.module.css';
|
|
12
16
|
|
|
13
|
-
const paraisoStyles = {
|
|
17
|
+
const paraisoStyles: JsonViewProps['style'] = {
|
|
18
|
+
clickableLabel: defaultStyles.clickableLabel,
|
|
19
|
+
noQuotesForStringValues: false,
|
|
14
20
|
container: styles.containerParaiso!,
|
|
15
21
|
basicChildStyle: styles.basicElementParaiso!,
|
|
16
22
|
label: styles.labelParaiso!,
|