react-json-view-lite
Advanced tools
Comparing version 2.0.0 to 2.0.1
{ | ||
"name": "react-json-view-lite", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"description": "JSON viewer component for React focused on performance for large volume input while still providing few customiziation features", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/AnyRoad/react-json-view-lite", |
@@ -44,3 +44,13 @@ <div align="center"> | ||
Also version 2 provides better a11y support, collapsing/expanding and navigation through nested elements using arrow keys ("Space" button does not collapse/expand element anymore), but library size increased about 20%. | ||
If your project uses custom styles you might need to update the css for the `basicChildStyle` property like below: | ||
```css | ||
.basic-child-style > ul { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
``` | ||
because implementation uses `ul` element `div` instead of the elemenent according to the [w3.org example](https://www.w3.org/WAI/ARIA/apg/patterns/treeview/examples/treeview-1a/). | ||
## Migration from the 0.9.x versions | ||
@@ -47,0 +57,0 @@ |
Sorry, the diff of this file is not supported yet
102294
17
949
168