@abgov/jsonforms-components 2.58.3 → 2.58.4

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
@@ -6,7 +6,7 @@ import Ajv from 'ajv';
6
6
  import styled from 'styled-components';
7
7
  import axios from 'axios';
8
8
  import get$1 from 'lodash/get';
9
- import { isVisible, isEnabled, deriveLabelForUISchemaElement, rankWith, isStringControl, and, optionIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, uiTypeIs, isControl as isControl$1, isEnumControl, isBooleanControl, createDefaultValue, Paths, Resolve, toDataPath, schemaTypeIs, formatIs, getAjv, schemaMatches, or, isObjectArrayControl, isPrimitiveArrayControl, composePaths, hasType, isCategorization, isLayout } from '@jsonforms/core';
9
+ import { isVisible, isEnabled, deriveLabelForUISchemaElement, rankWith, isStringControl, and, optionIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, uiTypeIs, isControl as isControl$1, isEnumControl, isBooleanControl, or, createDefaultValue, Paths, Resolve, toDataPath, schemaTypeIs, formatIs, getAjv, schemaMatches, isObjectArrayControl, isPrimitiveArrayControl, composePaths, hasType, isCategorization, isLayout } from '@jsonforms/core';
10
10
  import * as _$c from 'lodash';
11
11
  import ___default, { isObject as isObject$i, isEmpty as isEmpty$1 } from 'lodash';
12
12
  import { useJsonForms, withJsonFormsControlProps, withJsonFormsEnumProps, withTranslateProps, JsonFormsDispatch, withJsonFormsAllOfProps, withJsonFormsArrayLayoutProps, withJsonFormsLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
@@ -8315,7 +8315,7 @@ const BooleanRadioComponent = ({
8315
8315
  const BooleanRadioControl = props => jsx(GoAInputBaseControl, Object.assign({}, props, {
8316
8316
  input: BooleanRadioComponent
8317
8317
  }));
8318
- const GoABooleanRadioControlTester = rankWith(3, and(isBooleanControl, optionIs('radio', true)));
8318
+ const GoABooleanRadioControlTester = rankWith(3, and(isBooleanControl, or(optionIs('format', 'radio'), optionIs('radio', true))));
8319
8319
  const GoABooleanRadioControl = withJsonFormsControlProps(BooleanRadioControl);
8320
8320
 
8321
8321
  let _$9 = t => t,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.58.3",
3
+ "version": "2.58.4",
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-06T15:32:07.375Z",
4
- "sourceCommit": "1d7a0054291ed3ec1af68caee9d7554ce382199e",
3
+ "generatedAt": "2026-04-06T15:59:11.776Z",
4
+ "sourceCommit": "9a6e59e4af0b3b0d94b6f490f509009439cd97d8",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [
@@ -375,6 +375,7 @@
375
375
  "type": "Control",
376
376
  "options": {
377
377
  "required": {
378
+ "format": "radio",
378
379
  "radio": true
379
380
  },
380
381
  "optional": {}