feat: migrate rpc-tool to redocly

Differences between original:
- react18-json-view used for responses
- cleaned up markup for expand and collapse

Original work on this was done by @khancode

Co-authored-by: Omar Khan <khancodegt@gmail.com>

Fix RPC sidebar and width
This commit is contained in:
Caleb Kniffen
2023-12-20 12:48:03 -06:00
committed by mDuo13
parent 4bb290c74d
commit 9ca9a69ab2
7 changed files with 445 additions and 91 deletions

View File

@@ -16,13 +16,14 @@
"@codemirror/view": "^6.22.2",
"@lezer/highlight": "^1.2.0",
"@redocly/realm": "0.69.4",
"@uiw/react-codemirror": "^4.21.21",
"@uiw/codemirror-themes": "4.21.21",
"@uiw/react-codemirror": "^4.21.21",
"clsx": "^2.0.0",
"lottie-react": "^2.4.0",
"moment": "^2.29.4",
"react": "^18.2.0",
"react-alert": "^7.0.3",
"react18-json-view": "^0.2.6",
"xrpl": "^3.0.0-beta.1"
},
"overrides": {
@@ -30,8 +31,8 @@
"react-dom": "^18.2.0"
},
"devDependencies": {
"bootstrap": "^4.6.2",
"htmltojsx": "^0.3.0",
"sass": "1.26.10",
"bootstrap": "^4.6.2"
"sass": "1.26.10"
}
}