@abgov/jsonforms-components 1.31.1 → 1.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 +2 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5321,7 +5321,7 @@ const categoriesAreValid = uischema => {
5321
5321
  }
5322
5322
  return isValid;
5323
5323
  };
5324
- const CategorizationRendererTester = rankWith(2, and(uiTypeIs('Categorization'), categoriesAreValid, optionIs('variant', 'stepper')));
5324
+ const CategorizationRendererTester = rankWith(2, and(uiTypeIs('Categorization'), categoriesAreValid));
5325
5325
 
5326
5326
  let _$3 = t => t,
5327
5327
  _t$3;
@@ -6865,7 +6865,7 @@ const isEmptyElements = schema => {
6865
6865
  return 'elements' in schema && schema.elements !== undefined && schema.elements !== null && Object.keys(schema.elements).length === 0;
6866
6866
  };
6867
6867
  const hasVariant = schema => {
6868
- return 'options' in schema && schema.options !== undefined && schema.options !== null && 'variant' in schema.options;
6868
+ return 'options' in schema && schema.options !== undefined && schema.options !== null;
6869
6869
  };
6870
6870
 
6871
6871
  const errCategorizationHasNonCategories = "Each element of 'Categorizations' must be of type 'Category'";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.31.1",
3
+ "version": "1.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",