@abgov/jsonforms-components 2.31.0 → 2.32.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.
Files changed (2) hide show
  1. package/index.esm.js +7 -1
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5988,7 +5988,7 @@ const callout = props => {
5988
5988
  const testid = (_a = componentProps.message) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, '');
5989
5989
  return jsx(GoACallout, Object.assign({}, componentProps, {
5990
5990
  "data-testid": testid,
5991
- children: componentProps.message
5991
+ children: componentProps === null || componentProps === void 0 ? void 0 : componentProps.message
5992
5992
  }));
5993
5993
  };
5994
5994
  const GoACalloutController = props => {
@@ -5999,6 +5999,7 @@ const GoACalloutController = props => {
5999
5999
  data
6000
6000
  } = props;
6001
6001
  let showCallout;
6002
+ /* istanbul ignore next */
6002
6003
  if (data === undefined || Array.isArray(data) && data.length === 0) {
6003
6004
  showCallout = false;
6004
6005
  } else {
@@ -6010,6 +6011,7 @@ const GoACalloutController = props => {
6010
6011
  children: callout(calloutProps)
6011
6012
  });
6012
6013
  };
6014
+ /* istanbul ignore next */
6013
6015
  const CalloutReviewControl = () => {
6014
6016
  return jsx(Fragment, {});
6015
6017
  };
@@ -6329,9 +6331,11 @@ const GoATimeInput = props => {
6329
6331
  readonly: readOnly,
6330
6332
  testId: (appliedUiSchemaOptions === null || appliedUiSchemaOptions === void 0 ? void 0 : appliedUiSchemaOptions.testId) || `${id}-input`,
6331
6333
  onBlur: (name, value) => {
6334
+ /* istanbul ignore next */
6332
6335
  if (isVisited === false && setIsVisited) {
6333
6336
  setIsVisited();
6334
6337
  }
6338
+ /* istanbul ignore next */
6335
6339
  handleChange(path, value === '' ? undefined : value);
6336
6340
  },
6337
6341
  onChange: (name, value) => {},
@@ -11434,6 +11438,7 @@ const AddressLookUpControl = props => {
11434
11438
  }, [debouncedRenderAddress]); // eslint-disable-line react-hooks/exhaustive-deps
11435
11439
  useEffect(() => {
11436
11440
  const fetchSuggestions = async () => {
11441
+ /* istanbul ignore next */
11437
11442
  if (debouncedRenderAddress.length > 2 && dropdownSelected === false) {
11438
11443
  setLoading(true);
11439
11444
  setOpen(true);
@@ -11465,6 +11470,7 @@ const AddressLookUpControl = props => {
11465
11470
  const handleDropdownChange = value => {
11466
11471
  setSearchTerm(value);
11467
11472
  };
11473
+ /* istanbul ignore next */
11468
11474
  const handleSuggestionClick = suggestion => {
11469
11475
  const suggestAddress = mapSuggestionToAddress(suggestion);
11470
11476
  setAddress(suggestAddress);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.31.0",
3
+ "version": "2.32.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",