@abgov/jsonforms-components 1.34.2 → 1.34.4

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.34.2",
3
+ "version": "1.34.4",
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",
@@ -4,6 +4,7 @@ interface AddressInputsProps {
4
4
  address: Address;
5
5
  handleInputChange: (field: string, value: string) => void;
6
6
  isAlbertaAddress?: boolean;
7
+ postalCodeErrorMsg?: string;
7
8
  }
8
9
  export declare const AddressInputs: React.FC<AddressInputsProps>;
9
10
  export {};
@@ -1 +1,2 @@
1
1
  export declare const SearchBox: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const LabelDiv: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -1,4 +1,6 @@
1
1
  import { Address, Suggestion } from './types';
2
2
  export declare const fetchAddressSuggestions: (formUrl: string, searchTerm: string, isAlbertaAddress?: boolean) => Promise<Suggestion[]>;
3
3
  export declare const filterAlbertaAddresses: (suggestions: Suggestion[]) => Suggestion[];
4
+ export declare const filterSuggestionsWithoutAddressCount: (suggestions: Suggestion[]) => Suggestion[];
4
5
  export declare const mapSuggestionToAddress: (suggestion: Suggestion) => Address;
6
+ export declare const validatePostalCode: (values: string) => boolean;
@@ -2,6 +2,7 @@
2
2
  import { CellProps, WithClassname, ControlProps, RankedTester } from '@jsonforms/core';
3
3
  import { WithInputProps } from './type';
4
4
  export type GoAInputTextProps = CellProps & WithClassname & WithInputProps;
5
+ export declare const formatSin: (value: string) => string;
5
6
  export declare const GoAInputText: (props: GoAInputTextProps) => JSX.Element;
6
7
  export declare const GoATextControl: (props: ControlProps) => import("react/jsx-runtime").JSX.Element;
7
8
  export declare const GoATextControlTester: RankedTester;