@abgov/jsonforms-components 2.52.0 → 2.52.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.
- package/index.esm.js +9 -6
- package/package.json +1 -1
- package/renderer-catalog.json +2 -2
package/index.esm.js
CHANGED
|
@@ -7930,7 +7930,7 @@ const EnumSelect = props => {
|
|
|
7930
7930
|
value: ''
|
|
7931
7931
|
});
|
|
7932
7932
|
}
|
|
7933
|
-
return newOptions
|
|
7933
|
+
return newOptions;
|
|
7934
7934
|
//eslint-disable-next-line
|
|
7935
7935
|
}, [registerData, options]);
|
|
7936
7936
|
const width = (uischema == null || (_uischema$options3 = uischema.options) == null || (_uischema$options3 = _uischema$options3.componentProps) == null ? void 0 : _uischema$options3.width) || '100%';
|
|
@@ -7959,11 +7959,14 @@ const EnumSelect = props => {
|
|
|
7959
7959
|
},
|
|
7960
7960
|
width: width,
|
|
7961
7961
|
testId: `jsonforms-${path}-dropdown`,
|
|
7962
|
-
children: mergedOptions.map(item =>
|
|
7963
|
-
|
|
7964
|
-
|
|
7965
|
-
|
|
7966
|
-
|
|
7962
|
+
children: mergedOptions.map(item => {
|
|
7963
|
+
const displayLabel = item.label.trim() === '' ? '\u00A0' : item.label;
|
|
7964
|
+
return jsx(GoabDropdownItem, {
|
|
7965
|
+
testId: `jsonforms-${path}-dropdown-${item.label}`,
|
|
7966
|
+
label: displayLabel,
|
|
7967
|
+
value: item.value
|
|
7968
|
+
}, item.value);
|
|
7969
|
+
})
|
|
7967
7970
|
}, `jsonforms-${path}-dropdown`)
|
|
7968
7971
|
});
|
|
7969
7972
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.52.
|
|
3
|
+
"version": "2.52.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",
|
package/renderer-catalog.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-03-
|
|
4
|
-
"sourceCommit": "
|
|
3
|
+
"generatedAt": "2026-03-06T20:40:24.548Z",
|
|
4
|
+
"sourceCommit": "0785872dca4a8cd532072a4da41458b3a3a63ab9",
|
|
5
5
|
"sourcePath": "libs/jsonforms-components/src/index.ts",
|
|
6
6
|
"rendererCount": 32,
|
|
7
7
|
"renderers": [
|