@abgov/jsonforms-components 1.58.0 → 1.58.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.
Files changed (2) hide show
  1. package/index.esm.js +2 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5197,9 +5197,6 @@ const CheckboxGroup = props => {
5197
5197
  const newSchema = schema;
5198
5198
  const enumData = (schema === null || schema === void 0 ? void 0 : schema.enum) || ((_a = newSchema === null || newSchema === void 0 ? void 0 : newSchema.items) === null || _a === void 0 ? void 0 : _a.enum) || [];
5199
5199
  const appliedUiSchemaOptions = merge({}, config, props.uischema.options, options);
5200
- useEffect(() => {
5201
- handleChange(path, data || []);
5202
- }, []);
5203
5200
  return jsx(Checkboxes, {
5204
5201
  orientation: ((_b = uischema.options) === null || _b === void 0 ? void 0 : _b.orientation) ? (_c = uischema.options) === null || _c === void 0 ? void 0 : _c.orientation : 'vertical',
5205
5202
  testId: `${label || id}-jsonforms-checkboxes`,
@@ -5238,7 +5235,8 @@ const warningIcon = errorMessage => {
5238
5235
  type: "warning",
5239
5236
  size: "small",
5240
5237
  theme: "filled",
5241
- mt: "2xs"
5238
+ mt: "2xs",
5239
+ ariaLabel: "warning"
5242
5240
  }), errorMessage]
5243
5241
  });
5244
5242
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.58.0",
3
+ "version": "1.58.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",