@abgov/jsonforms-components 1.37.0 → 1.38.0

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.37.0",
3
+ "version": "1.38.0",
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",
@@ -8,7 +8,7 @@ export interface DropdownProps {
8
8
  selected: string;
9
9
  optionListMaxHeight?: string;
10
10
  onChange: (value: string) => void;
11
- isAutocompletion?: boolean;
11
+ isAutoCompletion?: boolean;
12
12
  id?: string;
13
13
  }
14
14
  export interface GoADropdownTextboxProps {
@@ -1,2 +1,3 @@
1
1
  import { DropdownProps } from './DropDownTypes';
2
+ export declare const isValidKey: (keyCode: string) => boolean;
2
3
  export declare const Dropdown: (props: DropdownProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ import { ControlProps } from '@jsonforms/core';
2
+ type AddressViewProps = ControlProps;
3
+ export declare const AddressLookUpControlReview: (props: AddressViewProps) => JSX.Element;
4
+ export {};
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface AddressInputsProps {
3
+ data: Record<string, string>;
4
+ isAlbertaAddress?: boolean;
5
+ }
6
+ export declare const AddressViews: React.FC<AddressInputsProps>;
7
+ export {};
@@ -1,2 +1,3 @@
1
1
  export * from './AddressLookUpControl';
2
+ export * from './AddressLookUpControlReview';
2
3
  export * from './AddressLookupTester';
@@ -0,0 +1,5 @@
1
+ import { ControlProps } from '@jsonforms/core';
2
+ type FullNameProps = ControlProps;
3
+ export declare const FullNameReviewControl: (props: FullNameProps) => JSX.Element;
4
+ export declare const FullNameControl: (props: FullNameProps) => JSX.Element;
5
+ export {};
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ interface Data {
3
+ firstName: string;
4
+ middleName: string;
5
+ lastName: string;
6
+ }
7
+ interface NameInputsProps {
8
+ firstName: string;
9
+ middleName?: string;
10
+ lastName: string;
11
+ isStepperReview?: boolean;
12
+ data: Data;
13
+ requiredFields: string[];
14
+ handleInputChange: (field: string, value: string) => void;
15
+ }
16
+ export declare const NameInputs: React.FC<NameInputsProps>;
17
+ export {};
@@ -0,0 +1,3 @@
1
+ import { RankedTester, UISchemaElement, JsonSchema, TesterContext } from '@jsonforms/core';
2
+ export declare const isFullName: (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext) => boolean;
3
+ export declare const FullNameTester: RankedTester;
@@ -0,0 +1,2 @@
1
+ export * from './FullNameControl';
2
+ export * from './FullNameTester';
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,4 @@
1
+ import { ControlProps } from '@jsonforms/core';
2
+ type DateOfBirthControlProps = ControlProps;
3
+ export declare const FullNameDobControl: (props: DateOfBirthControlProps) => JSX.Element;
4
+ export {};
@@ -0,0 +1,4 @@
1
+ import { ControlProps } from '@jsonforms/core';
2
+ type DateOfBirthReviewControlProps = ControlProps;
3
+ export declare const FullNameDobReviewControl: (props: DateOfBirthReviewControlProps) => JSX.Element;
4
+ export {};
@@ -0,0 +1,3 @@
1
+ import { RankedTester, UISchemaElement, JsonSchema, TesterContext } from '@jsonforms/core';
2
+ export declare const isFullNameDoB: (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext) => boolean;
3
+ export declare const FullNameDobTester: RankedTester;
@@ -0,0 +1,3 @@
1
+ export * from './FullNameDobControl';
2
+ export * from './FullNameDobReviewControl';
3
+ export * from './FullNameDobTester';
@@ -3,3 +3,5 @@ export * from './FormStepper';
3
3
  export * from './FileUploader';
4
4
  export * from './ObjectArray';
5
5
  export * from './AddressLookup';
6
+ export * from './FullName';
7
+ export * from './FullNameDOB';