@abgov/jsonforms-components 2.66.2 → 2.66.3

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
@@ -8186,7 +8186,6 @@ const EnumSelect = props => {
8186
8186
  value: ''
8187
8187
  }, ...staticOptions, ...filteredDynamicOptions];
8188
8188
  return newOptions;
8189
- // eslint-disable-next-line
8190
8189
  }, [registerData, options, valuePath, labelPath]);
8191
8190
  const width = (uischema == null || (_uischema$options4 = uischema.options) == null || (_uischema$options4 = _uischema$options4.componentProps) == null ? void 0 : _uischema$options4.width) || '100%';
8192
8191
  useEffect(() => {
@@ -8214,13 +8213,14 @@ const EnumSelect = props => {
8214
8213
  },
8215
8214
  width: width,
8216
8215
  testId: `jsonforms-${path}-dropdown`,
8217
- children: mergedOptions.map(item => {
8216
+ children: mergedOptions.map((item, index) => {
8218
8217
  const displayLabel = item.label.trim() === '' ? '\u00A0' : item.label;
8219
8218
  return jsx(GoabDropdownItem, {
8220
8219
  testId: `jsonforms-${path}-dropdown-${item.label}`,
8221
8220
  label: displayLabel,
8222
- value: item.value
8223
- }, item.value);
8221
+ value: item.value,
8222
+ mountType: item.label === placeholder ? 'prepend' : 'append'
8223
+ }, `${item.label}-${item.value}-${index}`);
8224
8224
  })
8225
8225
  }, `jsonforms-${path}-dropdown`)
8226
8226
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.66.2",
3
+ "version": "2.66.3",
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,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-06-10T21:02:15.886Z",
4
- "sourceCommit": "9bdc8d695b8c7698f1f5781a431aaa7e3e62e62f",
3
+ "generatedAt": "2026-06-12T18:22:13.360Z",
4
+ "sourceCommit": "0e419d8addab8bc60c47d0cf73a930746dd45b39",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [