@abgov/jsonforms-components 1.31.0 → 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.
- package/index.esm.js +6 -6
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -4271,10 +4271,10 @@ const EnumSelect = props => {
|
|
|
4271
4271
|
registerCtx === null || registerCtx === void 0 ? void 0 : registerCtx.fetchRegisterByUrl(registerConfig);
|
|
4272
4272
|
}
|
|
4273
4273
|
}, [registerCtx, registerConfig]);
|
|
4274
|
-
return jsx(
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4274
|
+
return jsx("div", {
|
|
4275
|
+
children: error.length > 0 ? callout({
|
|
4276
|
+
message: error
|
|
4277
|
+
}) : jsx(GoADropdown, Object.assign({
|
|
4278
4278
|
name: `${label}`,
|
|
4279
4279
|
value: data,
|
|
4280
4280
|
disabled: !enabled,
|
|
@@ -5321,7 +5321,7 @@ const categoriesAreValid = uischema => {
|
|
|
5321
5321
|
}
|
|
5322
5322
|
return isValid;
|
|
5323
5323
|
};
|
|
5324
|
-
const CategorizationRendererTester = rankWith(2, and(uiTypeIs('Categorization'), categoriesAreValid
|
|
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
|
|
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.
|
|
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",
|