@abgov/jsonforms-components 1.28.0 → 1.28.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 CHANGED
@@ -4,7 +4,7 @@ import { GoAFormItem, GoAInput, GoATextArea, GoACallout, GoAInputDate, GoAInputD
4
4
  import styled from 'styled-components';
5
5
  import axios from 'axios';
6
6
  import get$1 from 'lodash/get';
7
- import { rankWith, isStringControl, and, optionIs, uiTypeIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, isEnumControl, isBooleanControl, getAjv, isVisible, isEnabled, deriveLabelForUISchemaElement, schemaTypeIs, formatIs, createDefaultValue, Paths, or, isObjectArrayControl, isPrimitiveArrayControl, withIncreasedRank, hasType, isControl, isCategorization, isLayout } from '@jsonforms/core';
7
+ import { rankWith, isStringControl, and, optionIs, uiTypeIs, isDateControl, isNumberControl, isIntegerControl, isDateTimeControl, isTimeControl, isEnumControl, isBooleanControl, getAjv, isVisible, isEnabled, deriveLabelForUISchemaElement, schemaTypeIs, formatIs, createDefaultValue, Paths, or, isObjectArrayControl, isPrimitiveArrayControl, hasType, isControl, isCategorization, isLayout } from '@jsonforms/core';
8
8
  import { withJsonFormsControlProps, withJsonFormsRendererProps, withJsonFormsEnumProps, withTranslateProps, useJsonForms, JsonFormsDispatch, withJsonFormsLayoutProps, withJsonFormsArrayLayoutProps, withJsonFormsCellProps } from '@jsonforms/react';
9
9
  import merge from 'lodash/merge';
10
10
  import isEmpty$1 from 'lodash/isEmpty';
@@ -6480,7 +6480,6 @@ const GoAVerticalLayoutComponent = ({
6480
6480
  const GoAlVerticalLayoutTester = rankWith(1, uiTypeIs('VerticalLayout'));
6481
6481
  const GoAVerticalLayout = withJsonFormsLayoutProps(GoAVerticalLayoutComponent, true);
6482
6482
 
6483
- const groupTester = rankWith(1, uiTypeIs('Group'));
6484
6483
  const GoAGroupControlComponent = props => {
6485
6484
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
6486
6485
  const {
@@ -6520,8 +6519,8 @@ const GoAGroupControlComponent = props => {
6520
6519
  })]
6521
6520
  });
6522
6521
  };
6523
- const GoAGroupLayoutTester = withIncreasedRank(1, groupTester);
6524
- const GoAGroupControl = withJsonFormsLayoutProps(GoAGroupControlComponent);
6522
+ const GoAGroupLayoutTester = rankWith(1, uiTypeIs('Group'));
6523
+ const GoAGroupControl = withJsonFormsLayoutProps(GoAGroupControlComponent, true);
6525
6524
 
6526
6525
  let _ = t => t,
6527
6526
  _t;
@@ -6995,6 +6994,9 @@ const GoABaseReviewRenderers = [
6995
6994
  }, {
6996
6995
  tester: GoAlVerticalLayoutTester,
6997
6996
  renderer: GoAVerticalLayout
6997
+ }, {
6998
+ tester: GoAGroupLayoutTester,
6999
+ renderer: GoAGroupControl
6998
7000
  }, {
6999
7001
  tester: HelpContentTester,
7000
7002
  renderer: HelpReviewContent
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "1.28.0",
3
+ "version": "1.28.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",
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
2
  import { LayoutProps, RankedTester } from '@jsonforms/core';
3
- export declare const groupTester: RankedTester;
4
3
  export declare const GoAGroupControlComponent: (props: LayoutProps) => JSX.Element;
5
4
  export declare const GoAGroupLayoutTester: RankedTester;
6
5
  export declare const GoAGroupControl: React.ComponentType<LayoutProps & import("@jsonforms/core").OwnPropsOfLayout>;