@abgov/jsonforms-components 1.16.5 → 1.16.7

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/index.esm.js CHANGED
@@ -3998,7 +3998,6 @@ const EnumSelectAutoComplete = props => {
3998
3998
  }, [url, location, type, values, dataKey, enumerators]);
3999
3999
  if (dataKey && enumerators.getFormContextData(dataKey)) {
4000
4000
  const newData = enumerators.getFormContextData(dataKey);
4001
- // eslint-disable-next-line
4002
4001
  enumData = newData;
4003
4002
  }
4004
4003
  const readOnly = (_o = (_m = (_l = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _l === void 0 ? void 0 : _l.componentProps) === null || _m === void 0 ? void 0 : _m.readOnly) !== null && _o !== void 0 ? _o : false;
@@ -4068,9 +4067,10 @@ const RadioGroup = props => {
4068
4067
  children: enumData.map(value => {
4069
4068
  return jsx(GoARadioItem, Object.assign({
4070
4069
  name: value,
4071
- value: `${value}`,
4070
+ value: `${value}`
4071
+ }, appliedUiSchemaOptions, {
4072
4072
  label: value
4073
- }, appliedUiSchemaOptions));
4073
+ }));
4074
4074
  })
4075
4075
  }));
4076
4076
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.16.5",
3
+ "version": "1.16.7",
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",
@@ -1,4 +1,4 @@
1
- import React from 'react';
1
+ /// <reference types="react" />
2
2
  import { OwnPropsOfEnum, RankedTester } from '@jsonforms/core';
3
3
  import { TranslateProps } from '@jsonforms/react';
4
4
  import { WithInputProps } from './type';
@@ -6,5 +6,5 @@ import { EnumCellProps, WithClassname } from '@jsonforms/core';
6
6
  type EnumSelectAutoCompleteProp = EnumCellProps & WithClassname & TranslateProps & WithInputProps;
7
7
  export declare const EnumSelectAutoComplete: (props: EnumSelectAutoCompleteProp) => JSX.Element;
8
8
  export declare const GoAEnumControlAutoCompleteTester: RankedTester;
9
- export declare const GoAEnumAutoCompleteControl: React.ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
9
+ export declare const GoAEnumAutoCompleteControl: import("react").ComponentType<import("@jsonforms/core").OwnPropsOfControl & OwnPropsOfEnum>;
10
10
  export {};