@abgov/jsonforms-components 2.3.6 → 2.3.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.
Files changed (2) hide show
  1. package/index.esm.js +13 -10
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -5848,16 +5848,14 @@ const GoAInputBaseTableReviewControl = withJsonFormsControlProps(GoAInputBaseTab
5848
5848
  let _$7 = t => t,
5849
5849
  _t$7;
5850
5850
  const renderLayoutElements = (elements, schema, path, enabled, renderers, cells) => {
5851
- return elements.map((child, index) => jsx("div", {
5852
- children: jsx(JsonFormsDispatch, {
5853
- uischema: child,
5854
- schema: schema,
5855
- path: path,
5856
- enabled: enabled,
5857
- renderers: renderers,
5858
- cells: cells
5859
- }, path)
5860
- }, index));
5851
+ return elements.map((child, index) => jsx(JsonFormsDispatch, {
5852
+ uischema: child,
5853
+ schema: schema,
5854
+ path: path,
5855
+ enabled: enabled,
5856
+ renderers: renderers,
5857
+ cells: cells
5858
+ }, `review-${path}_${index}`));
5861
5859
  };
5862
5860
  const withAjvProps = Component => function WithAjvProps(props) {
5863
5861
  const ctx = useJsonForms();
@@ -10369,6 +10367,7 @@ const FullNameControlReview = props => {
10369
10367
  mb: "m",
10370
10368
  children: [jsx(GoAFormItem, {
10371
10369
  label: "First name",
10370
+ requirement: "required",
10372
10371
  children: jsx(TextWrapDiv, {
10373
10372
  children: jsx("div", {
10374
10373
  "data-testid": `firstName-control-${props.id}`,
@@ -10385,6 +10384,7 @@ const FullNameControlReview = props => {
10385
10384
  })
10386
10385
  }), jsx(GoAFormItem, {
10387
10386
  label: "Last name",
10387
+ requirement: "required",
10388
10388
  children: jsx(TextWrapDiv, {
10389
10389
  children: jsx("div", {
10390
10390
  "data-testid": `lastName-control-${props.id}`,
@@ -10543,6 +10543,7 @@ const FullNameDobReviewControl = props => {
10543
10543
  mb: "m",
10544
10544
  children: [jsx(GoAFormItem, {
10545
10545
  label: "First name",
10546
+ requirement: "required",
10546
10547
  children: jsx(TextWrapDiv, {
10547
10548
  children: jsx("div", {
10548
10549
  "data-testid": `firstName-control-${props.id}`,
@@ -10559,6 +10560,7 @@ const FullNameDobReviewControl = props => {
10559
10560
  })
10560
10561
  }), jsx(GoAFormItem, {
10561
10562
  label: "Last name",
10563
+ requirement: "required",
10562
10564
  children: jsx(TextWrapDiv, {
10563
10565
  children: jsx("div", {
10564
10566
  "data-testid": `lastName-control-${props.id}`,
@@ -10571,6 +10573,7 @@ const FullNameDobReviewControl = props => {
10571
10573
  gap: "s",
10572
10574
  children: jsx(GoAFormItem, {
10573
10575
  label: "Date of birth",
10576
+ requirement: "required",
10574
10577
  children: jsx(TextWrapDiv, {
10575
10578
  children: jsx("div", {
10576
10579
  "data-testid": `dob-control-${props.id}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.3.6",
3
+ "version": "2.3.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",