@abgov/jsonforms-components 1.53.1 → 1.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.esm.js +444 -409
- package/package.json +1 -1
- package/src/lib/Controls/FormStepper/context/util.d.ts +1 -0
- package/src/lib/Controls/Inputs/InputBaseReviewControl.d.ts +2 -2
- package/src/lib/Controls/Inputs/style-component.d.ts +2 -0
- package/src/lib/Controls/ObjectArray/ObjectListControl.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.53.
|
|
3
|
+
"version": "1.53.3",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "Government of Alberta - React renderers for JSON Forms based on the design system.",
|
|
6
6
|
"repository": "https://github.com/GovAlta/adsp-monorepo",
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import Ajv, { ErrorObject } from 'ajv';
|
|
2
2
|
export declare const isErrorPathIncluded: (errorPaths: string[], path: string) => boolean;
|
|
3
3
|
export declare const getIncompletePaths: (ajv: Ajv, scopes: string[]) => string[];
|
|
4
|
+
export declare const subErrorInParent: (error: ErrorObject, paths: string[]) => boolean;
|
|
4
5
|
export declare const getErrorsInScopes: (errors: ErrorObject[], scopes: string[]) => ErrorObject[];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CellProps, WithClassname, ControlProps } from '@jsonforms/core';
|
|
2
|
+
import { CellProps, WithClassname, ControlProps, StatePropsOfControl } from '@jsonforms/core';
|
|
3
3
|
import { WithInputProps } from './type';
|
|
4
|
-
export type WithBaseInputReviewProps = CellProps & WithClassname & WithInputProps;
|
|
4
|
+
export type WithBaseInputReviewProps = CellProps & WithClassname & WithInputProps & StatePropsOfControl;
|
|
5
5
|
export declare const GoABaseInputReviewComponent: (props: WithBaseInputReviewProps) => JSX.Element;
|
|
6
6
|
export declare const GoInputBaseReview: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export declare const GoInputBaseReviewControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const FormFieldWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
3
|
+
export declare const WarningIconDiv: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
4
|
+
export declare const RequiredTextLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, never>> & string;
|
|
@@ -18,7 +18,7 @@ interface NonEmptyRowComponentProps {
|
|
|
18
18
|
schema: JsonSchema;
|
|
19
19
|
rootSchema?: JsonSchema;
|
|
20
20
|
rowPath: string;
|
|
21
|
-
errors
|
|
21
|
+
errors?: Record<string, any>;
|
|
22
22
|
enabled: boolean;
|
|
23
23
|
renderers?: JsonFormsRendererRegistryEntry[];
|
|
24
24
|
cells?: JsonFormsCellRendererRegistryEntry[];
|