@abgov/jsonforms-components 2.58.6 → 2.59.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 CHANGED
@@ -10059,6 +10059,7 @@ const GoAInputBaseTableReview = props => {
10059
10059
  }
10060
10060
  // eslint-disable-next-line
10061
10061
  const stepId = (_uischema$options4 = uischema.options) == null ? void 0 : _uischema$options4.stepId;
10062
+ const showInlineValue = reviewText === null || reviewText === undefined || typeof reviewText === 'string' || typeof reviewText === 'number' || /*#__PURE__*/React.isValidElement(reviewText) || Array.isArray(reviewText) && reviewText.length === 0;
10062
10063
  return jsx("tr", {
10063
10064
  "data-testid": `input-base-table-${label}-row`,
10064
10065
  children: jsxs(PageReviewContainer, {
@@ -10075,9 +10076,9 @@ const GoAInputBaseTableReview = props => {
10075
10076
  children: "Change"
10076
10077
  })]
10077
10078
  }), jsxs(ReviewValue, {
10078
- children: [typeof reviewText === 'string' || typeof reviewText === 'number' || /*#__PURE__*/React.isValidElement(reviewText) ? jsx("div", {
10079
+ children: [showInlineValue ? jsx("div", {
10079
10080
  "data-testid": `review-value-${label}`,
10080
- children: reviewText
10081
+ children: reviewText != null ? reviewText : ''
10081
10082
  }) : jsx(JsonFormsDispatch, {
10082
10083
  "data-testid": `jsonforms-object-list-defined-elements-dispatch`,
10083
10084
  schema: schema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.58.6",
3
+ "version": "2.59.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",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-04-07T18:06:10.408Z",
4
- "sourceCommit": "b82179eeb9f3786b5b9681123ea064e4e8f6797b",
3
+ "generatedAt": "2026-04-08T15:18:24.865Z",
4
+ "sourceCommit": "4eb89d4a45740fd054804409a0174dd1dcf4b9a4",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [