@abgov/jsonforms-components 1.53.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.53.2",
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[];
@@ -18,7 +18,7 @@ interface NonEmptyRowComponentProps {
18
18
  schema: JsonSchema;
19
19
  rootSchema?: JsonSchema;
20
20
  rowPath: string;
21
- errors: string;
21
+ errors?: Record<string, any>;
22
22
  enabled: boolean;
23
23
  renderers?: JsonFormsRendererRegistryEntry[];
24
24
  cells?: JsonFormsCellRendererRegistryEntry[];