@abgov/jsonforms-components 1.36.1 → 1.37.1

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.36.1",
3
+ "version": "1.37.1",
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 {};
@@ -1,3 +1,3 @@
1
- import { RankedTester, UISchemaElement, JsonSchema, TesterContext } from '@jsonforms/core';
2
- export declare const isAddressLookup: (uischema: UISchemaElement, schema: JsonSchema, context: TesterContext) => boolean;
1
+ import { RankedTester } from '@jsonforms/core';
2
+ export declare const isAddressLookup: import("@jsonforms/core").Tester;
3
3
  export declare const AddressLookUpTester: RankedTester;
@@ -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,3 @@
1
+ import { Tester, RankedTester } from '@jsonforms/core';
2
+ export declare const createSchemaMatchTester: (props: string[], isExactMatch?: boolean) => Tester;
3
+ export declare const createSchemaMatchRankedTester: (props: string[], isExactMatch?: boolean) => RankedTester;