json-edit-react
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -98,2 +98,2 @@ /// <reference types="react" /> | ||
export { JsonEditor, Theme, ThemeName, themes }; | ||
export { JsonEditor, Theme, ThemeInput, ThemeName, themes }; |
{ | ||
"name": "json-edit-react", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"description": "React component for editing or viewing JSON/object data", | ||
@@ -5,0 +5,0 @@ "main": "build/index.cjs.js", |
@@ -34,2 +34,3 @@ # json-edit-react | ||
- [Roadmap](#roadmap) | ||
- [Inspiration](#inspiration) | ||
- [Changelog](#changelog) | ||
@@ -219,3 +220,3 @@ | ||
The `styles` property is the main one to focus on. Each key (`property`, `bracket`, `itemCount`) refers to a part of the UI. The value for each key is *either* a `string`, in which case it is interpreted as the colour (or background colour in the case of `container` and `inputHighlight`), *or* a full CSS style object for fine-grained definition. You only need to provide properties you wish to override —— all unspecified ones will fallback to either the default theme, or another theme that you specify as the "base". | ||
The `styles` property is the main one to focus on. Each key (`property`, `bracket`, `itemCount`) refers to a part of the UI. The value for each key is *either* a `string`, in which case it is interpreted as the colour (or background colour in the case of `container` and `inputHighlight`), *or* a full CSS style object for fine-grained definition. You only need to provide properties you wish to override — all unspecified ones will fallback to either the default theme, or another theme that you specify as the "base". | ||
@@ -333,5 +334,10 @@ For example, if you want to use the "githubDark" theme, but just change a couple of small things, you'd specify something like this: | ||
## Inspiration | ||
This component is heavily inspired by [react-json-view](https://github.com/mac-s-g/react-json-view), a great package that I've used in my own projects. However, it seems to have been abandoned now, and requires a few critical fixes, so I decided to create my own from scratch and extend the functionality while I was at it. | ||
## Changelog | ||
- **0.9.0**: Initial release | ||
- **0.9.0**: Initial release | ||
- **0.9.1**: Export more Types from the package | ||
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147777
341