react-json-schema-ui-editor
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -127,3 +127,3 @@ import * as react_jsx_runtime from 'react/jsx-runtime'; | ||
declare const jsonSchemaAvailableTypes: readonly ["string", "number", "integer", "boolean", "date", "object", "array"]; | ||
declare const jsonSchemaAvailableTypes: readonly ["string", "number", "integer", "boolean", "object", "array"]; | ||
declare const jsonSchemaPossibleFields: readonly ["type", "description", "title", "property", "minimum", "maximum", "enum"]; | ||
@@ -130,0 +130,0 @@ declare const jsonSchemaPossibleFieldType: readonly ["select", "integer", "float", "string", "bigString", "enum"]; |
@@ -144,3 +144,3 @@ // src/components/JsonSchemaContext.tsx | ||
// src/jsonSchemaDescriptor.ts | ||
var jsonSchemaAvailableTypes = ["string", "number", "integer", "boolean", "date", "object", "array"]; | ||
var jsonSchemaAvailableTypes = ["string", "number", "integer", "boolean", "object", "array"]; | ||
var jsonSchemaPossibleFields = ["type", "description", "title", "property", "minimum", "maximum", "enum"]; | ||
@@ -155,3 +155,4 @@ var jsonSchemaPossibleFieldType = ["select", "integer", "float", "string", "bigString", "enum"]; | ||
renderInput, | ||
path | ||
path, | ||
onClickAddProperty | ||
}) => { | ||
@@ -177,2 +178,3 @@ const { | ||
setPropertyToBeAdded(""); | ||
if (onClickAddProperty) onClickAddProperty(); | ||
} | ||
@@ -318,3 +320,6 @@ }) | ||
renderInput, | ||
path | ||
path, | ||
onClickAddProperty: () => { | ||
if (isRowCollapsed) setRowCollapsed(false); | ||
} | ||
} | ||
@@ -321,0 +326,0 @@ ), |
{ | ||
"name": "react-json-schema-ui-editor", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "React component to edit json schema in a UI.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
![NPM Version](https://img.shields.io/npm/v/react-json-schema-ui-editor) | ||
![Tests Status](https://github.com/Sangrene/react-json-schema-ui-editor/actions/workflows/tests.yml/badge.svg) | ||
# React Json Schema Editor | ||
@@ -3,0 +4,0 @@ A configurable React component to display and edit a JSON Schema. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
91163
976
68