@abgov/jsonforms-components 2.60.6 → 2.60.7

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
@@ -9063,6 +9063,8 @@ const EmptyList$1 = ({
9063
9063
  noDataMessage
9064
9064
  }) => jsx(GoabGrid, {
9065
9065
  minChildWidth: "60ch",
9066
+ mt: "l",
9067
+ mb: "l",
9066
9068
  children: jsx(TextCenter, {
9067
9069
  children: jsx("b", {
9068
9070
  children: noDataMessage
@@ -12816,25 +12818,34 @@ const GoAHorizontalLayoutComponent = ({
12816
12818
  enabled,
12817
12819
  visible
12818
12820
  }) => {
12819
- var _layout$elements, _uischema$options;
12821
+ var _uischema$options;
12820
12822
  const layout = uischema;
12821
- const hasHelpContent = (_layout$elements = layout.elements) == null ? void 0 : _layout$elements.some(element => element.type === 'HelpContent');
12823
+ const elements = layout.elements || [];
12824
+ const helpElements = elements.filter(element => element.type === 'HelpContent');
12825
+ const contentElements = elements.filter(element => element.type !== 'HelpContent');
12822
12826
  const childProps = {
12823
- elements: layout.elements,
12824
12827
  schema,
12825
12828
  path,
12826
12829
  enabled,
12827
- direction: hasHelpContent ? 'column' : 'row',
12828
12830
  visible,
12829
12831
  width: (uischema == null || (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.width) || '300px',
12830
12832
  option: {
12831
12833
  space: 'xl'
12832
12834
  }
12833
12835
  };
12834
- return jsx(LayoutRenderer, Object.assign({}, childProps, {
12835
- renderers: renderers,
12836
- cells: cells
12837
- }));
12836
+ return jsxs(Fragment, {
12837
+ children: [helpElements.length > 0 && jsx(LayoutRenderer, Object.assign({}, childProps, {
12838
+ direction: "column",
12839
+ elements: helpElements,
12840
+ renderers: renderers,
12841
+ cells: cells
12842
+ })), contentElements.length > 0 && jsx(LayoutRenderer, Object.assign({}, childProps, {
12843
+ direction: "row",
12844
+ elements: contentElements,
12845
+ renderers: renderers,
12846
+ cells: cells
12847
+ }))]
12848
+ });
12838
12849
  };
12839
12850
  const GoAHorizontalReviewLayoutComponent = ({
12840
12851
  uischema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.60.6",
3
+ "version": "2.60.7",
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-04-17T15:42:29.517Z",
4
- "sourceCommit": "5149af8455ea3e52212089ed42d0e955fe2569e5",
3
+ "generatedAt": "2026-04-17T18:52:26.336Z",
4
+ "sourceCommit": "717e95fb1c7f01c427aad1200eaeefe5bbd842c3",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [