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

9
package-lock.json generated
View File

@@ -20,6 +20,7 @@
"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"
},
"devDependencies": {
@@ -9563,6 +9564,14 @@
"react-dom": ">=16.6.0"
}
},
"node_modules/react18-json-view": {
"version": "0.2.6",
"resolved": "https://registry.npmjs.org/react18-json-view/-/react18-json-view-0.2.6.tgz",
"integrity": "sha512-RHAY880UwC7SClyQBoij50q2InpSrj5zmP2DCL73vEaaVTyj/QbMPBk4FRKMQ7LF8FSxhh+VI6mK3AhlBaCBxw==",
"peerDependencies": {
"react": ">=16.8.0"
}
},
"node_modules/reactjs-popup": {
"version": "2.0.6",
"resolved": "https://registry.npmjs.org/reactjs-popup/-/reactjs-popup-2.0.6.tgz",