@jsonforms/vanilla-renderers
Advanced tools
Comparing version 3.1.0-alpha.0 to 3.1.0-alpha.1
@@ -30,5 +30,5 @@ /* | ||
} from '../src'; | ||
import { renderExample } from '../../example/src/index'; | ||
import { renderExample } from '../../examples-react/src/index'; | ||
renderExample(vanillaRenderers, vanillaCells); | ||
createThemeSelection(); |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { StatelessComponent } from 'react'; | ||
import type { StatelessComponent } from 'react'; | ||
export declare const BooleanCell: StatelessComponent<CellProps>; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const DateCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const DateTimeCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { EnumCellProps, RankedTester } from '@jsonforms/core'; | ||
import { TranslateProps } from '@jsonforms/react'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const EnumCell: (props: EnumCellProps & VanillaRendererProps & TranslateProps) => JSX.Element; | ||
@@ -6,0 +6,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const IntegerCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const NumberCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, Formatted, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const NumberFormatCell: (props: CellProps & VanillaRendererProps & Formatted<number | undefined>) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const SliderCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ export declare const sliderCellTester: RankedTester; |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const TextAreaCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const TextCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
import React from 'react'; | ||
import { CellProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const TimeCell: (props: CellProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ /** |
/// <reference types="react" /> | ||
import { ArrayControlProps } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../../index'; | ||
import type { VanillaRendererProps } from '../../index'; | ||
export declare const ArrayControl: ({ classNames, data, label, path, schema, errors, addItem, removeItems, moveUp, moveDown, uischema, uischemas, getStyleAsClassName, renderers, rootSchema }: ArrayControlProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ export declare const ArrayControlRenderer: ({ schema, uischema, data, path, rootSchema, uischemas, addItem, getStyle, getStyleAsClassName, removeItems, moveUp, moveDown, id, visible, enabled, errors }: ArrayControlProps & VanillaRendererProps) => JSX.Element; |
/// <reference types="react" /> | ||
import { Category } from '@jsonforms/core'; | ||
import type { Category } from '@jsonforms/core'; | ||
export interface CategorizationState { | ||
@@ -4,0 +4,0 @@ selectedCategory: Category; |
/// <reference types="react" /> | ||
import { Category, JsonSchema } from '@jsonforms/core'; | ||
import type { Category, JsonSchema } from '@jsonforms/core'; | ||
export interface CategoryProps { | ||
@@ -4,0 +4,0 @@ category: Category; |
import { FunctionComponent } from 'react'; | ||
import { LabelProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
/** | ||
@@ -5,0 +5,0 @@ * Default tester for a label. |
/// <reference types="react" /> | ||
import { ControlProps, ControlState, RankedTester } from '@jsonforms/core'; | ||
import { Control } from '@jsonforms/react'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare class InputControl extends Control<ControlProps & VanillaRendererProps, ControlState> { | ||
@@ -6,0 +6,0 @@ render(): JSX.Element; |
/// <reference types="react" /> | ||
import { ControlProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const OneOfRadioGroupControl: (props: ControlProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ export declare const oneOfRadioGroupControlTester: RankedTester; |
/// <reference types="react" /> | ||
import { ControlProps, OwnPropsOfEnum } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const RadioGroup: ({ classNames, id, label, options, required, description, errors, data, uischema, visible, config, enabled, path, handleChange }: ControlProps & VanillaRendererProps & OwnPropsOfEnum) => JSX.Element; |
/// <reference types="react" /> | ||
import { ControlProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
export declare const RadioGroupControl: (props: ControlProps & VanillaRendererProps) => JSX.Element; | ||
@@ -5,0 +5,0 @@ export declare const radioGroupControlTester: RankedTester; |
@@ -39,3 +39,3 @@ 'use strict'; | ||
/*! ***************************************************************************** | ||
/****************************************************************************** | ||
Copyright (c) Microsoft Corporation. | ||
@@ -42,0 +42,0 @@ |
import React, { useContext, useMemo, useState } from 'react'; | ||
import { convertToValidClassName as convertToValidClassName$2, getConfig, rankWith as rankWith$1, isBooleanControl, isDateControl, isDateTimeControl, isEnumControl, isIntegerControl, isNumberControl, isNumberFormatControl, isRangeControl, isStringControl, isMultiLineControl, isTimeControl, isControl, isDescriptionHidden, NOT_APPLICABLE, computeLabel, and, optionIs, isOneOfEnumControl, Helpers, findUISchema, createDefaultValue, composePaths, isObjectArrayWithNesting, uiTypeIs, deriveLabelForUISchemaElement, Paths, getControlPath, Resolve, encode, Test } from '@jsonforms/core'; | ||
import { getConfig, convertToValidClassName as convertToValidClassName$2, rankWith as rankWith$1, isBooleanControl, isDateControl, isDateTimeControl, isEnumControl, isIntegerControl, isNumberControl, isNumberFormatControl, isRangeControl, isStringControl, isMultiLineControl, isTimeControl, isControl, isDescriptionHidden, NOT_APPLICABLE, computeLabel, and, optionIs, isOneOfEnumControl, Helpers, findUISchema, createDefaultValue, composePaths, isObjectArrayWithNesting, uiTypeIs, deriveLabelForUISchemaElement, Paths, getControlPath, Resolve, encode, Test } from '@jsonforms/core'; | ||
import { useJsonForms, withJsonFormsCellProps, withJsonFormsEnumCellProps, withTranslateProps, withJsonFormsControlProps, Control, DispatchCell, withJsonFormsEnumProps, withJsonFormsOneOfEnumProps, withJsonFormsArrayControlProps, JsonFormsDispatch, withJsonFormsLayoutProps, RendererComponent, withJsonFormsLabelProps } from '@jsonforms/react'; | ||
@@ -4,0 +4,0 @@ import isEmpty from 'lodash/isEmpty'; |
/// <reference types="react" /> | ||
import { LayoutProps, RankedTester } from '@jsonforms/core'; | ||
import { VanillaRendererProps } from '../index'; | ||
import type { VanillaRendererProps } from '../index'; | ||
/** | ||
@@ -5,0 +5,0 @@ * Default tester for a group layout. |
{ | ||
"name": "@jsonforms/vanilla-renderers", | ||
"version": "3.1.0-alpha.0", | ||
"version": "3.1.0-alpha.1", | ||
"description": "Default Renderer Set for JSON Forms", | ||
@@ -14,4 +14,5 @@ "repository": "https://github.com/eclipsesource/jsonforms", | ||
"build": "rollup -c rollup.config.js", | ||
"build:examples-app": "rollup -c rollup.example.config.js", | ||
"dev": "webpack --config ./webpack/webpack.dev.js && webpack-dev-server --config webpack/webpack.dev.js --env=dev --inline", | ||
"clean": "rimraf lib coverage dist .nyc_output 2> /dev/null", | ||
"clean": "rimraf lib coverage dist .nyc_output example/dist 2> /dev/null", | ||
"lint": "tslint --project tsconfig.json --exclude src/models/jsonSchema.ts", | ||
@@ -23,2 +24,8 @@ "report": "nyc report --reporter=html", | ||
}, | ||
"files": [ | ||
"lib", | ||
"src", | ||
"example", | ||
"Styles.md" | ||
], | ||
"keywords": [ | ||
@@ -41,4 +48,4 @@ "vanilla", | ||
"peerDependencies": { | ||
"@jsonforms/core": "3.1.0-alpha.0", | ||
"@jsonforms/react": "3.1.0-alpha.0", | ||
"@jsonforms/core": "3.1.0-alpha.1", | ||
"@jsonforms/react": "3.1.0-alpha.1", | ||
"react": "^16.12.0 || ^17.0.0 || ^18.0.0" | ||
@@ -48,4 +55,8 @@ }, | ||
"@istanbuljs/nyc-config-typescript": "^1.0.2", | ||
"@jsonforms/core": "^3.1.0-alpha.0", | ||
"@jsonforms/react": "^3.1.0-alpha.0", | ||
"@jsonforms/core": "^3.1.0-alpha.1", | ||
"@jsonforms/react": "^3.1.0-alpha.1", | ||
"@rollup/plugin-commonjs": "^23.0.3", | ||
"@rollup/plugin-json": "^5.0.2", | ||
"@rollup/plugin-node-resolve": "^15.0.1", | ||
"@rollup/plugin-replace": "^5.0.1", | ||
"@types/enzyme": "^3.10.3", | ||
@@ -61,4 +72,6 @@ "@wojtekmaj/enzyme-adapter-react-17": "^0.6.3", | ||
"rimraf": "^3.0.2", | ||
"rollup": "^2.7.3", | ||
"rollup": "^2.78.0", | ||
"rollup-plugin-cleanup": "^3.2.1", | ||
"rollup-plugin-copy": "^3.4.0", | ||
"rollup-plugin-import-css": "^3.1.0", | ||
"rollup-plugin-typescript2": "^0.31.1", | ||
@@ -105,3 +118,3 @@ "rollup-plugin-visualizer": "^5.4.1", | ||
}, | ||
"gitHead": "91f351daa7b7ae4bb0f0dffd47f00bb6cf682ec1" | ||
"gitHead": "386174994eabc41758450b8d551e1c859498a468" | ||
} |
@@ -17,3 +17,3 @@ # JSON Forms - More Forms. Less Code | ||
If you want to customize styling, have a look at our [styles guide](https://github.com/eclipsesource/jsonforms/blob/master/packages/vanilla/Styles.md). | ||
If you want to customize styling, have a look at our [styles guide](https://github.com/eclipsesource/jsonforms/blob/master/packages/vanilla-renderers/Styles.md). | ||
@@ -20,0 +20,0 @@ ### Quick start |
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
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
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
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
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
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
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
0
580025
33
100
5598