@abgov/jsonforms-components 1.14.3 → 1.14.5

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.14.3",
3
+ "version": "1.14.5",
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",
@@ -14,7 +14,7 @@ interface CustomControlProps extends ControlProps {
14
14
  uischema: CustomControlElement;
15
15
  }
16
16
  export declare const HelpContentComponent: ({ isParent, ...props }: CustomControlProps & {
17
- isParent?: boolean | undefined;
17
+ isParent?: boolean;
18
18
  }) => JSX.Element;
19
19
  export declare const HelpContentTester: RankedTester;
20
20
  export declare const HelpContent: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl>;
@@ -3,7 +3,6 @@ import { CellProps, WithClassname, ControlProps, RankedTester } from '@jsonforms
3
3
  import { WithInputProps } from './type';
4
4
  export type GoAInputDateProps = CellProps & WithClassname & WithInputProps;
5
5
  export declare const errMalformedDate: (scope: string, type: string) => string;
6
- export declare const standardizeDate: (date: Date | string) => string | undefined;
7
6
  export declare const GoADateInput: (props: GoAInputDateProps) => JSX.Element;
8
7
  export declare const GoADateControl: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
9
8
  export declare const GoADateControlTester: RankedTester;
@@ -0,0 +1 @@
1
+ export declare const standardizeDate: (date: Date | string) => string | undefined;
@@ -1,4 +1,4 @@
1
- import React, { ComponentType } from 'react';
1
+ import { ComponentType } from 'react';
2
2
  import type { UISchemaElement } from '@jsonforms/core';
3
3
  import { JsonFormsCellRendererRegistryEntry, JsonFormsRendererRegistryEntry, JsonSchema, OwnPropsOfRenderer } from '@jsonforms/core';
4
4
  import Ajv from 'ajv8';
@@ -11,5 +11,5 @@ export interface LayoutRendererProps extends OwnPropsOfRenderer {
11
11
  export interface AjvProps {
12
12
  ajv: Ajv;
13
13
  }
14
- export declare const withAjvProps: <P extends object>(Component: React.ComponentType<AjvProps & P>) => (props: P) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const withAjvProps: <P extends object>(Component: ComponentType<AjvProps & P>) => (props: P) => import("react/jsx-runtime").JSX.Element;
15
15
  export declare const LayoutRenderer: ({ elements, schema, path, enabled, direction, renderers, cells, visible, }: LayoutRendererProps) => import("react/jsx-runtime").JSX.Element | null;