@abgov/jsonforms-components 2.81.1 → 2.81.3

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
@@ -7608,19 +7608,29 @@ const ReviewHeader = styled.div(_t7$2 || (_t7$2 = _$a`
7608
7608
  display: flex;
7609
7609
  justify-content: space-between;
7610
7610
  align-items: center;
7611
+ gap: var(--goa-space-s);
7611
7612
  width: 100%;
7613
+
7614
+ /* Lets the Change link drop under a long label instead of widening the review. */
7615
+ @media (max-width: 639px) {
7616
+ flex-wrap: wrap;
7617
+ }
7612
7618
  `));
7613
7619
  const ReviewLabel = styled.div(_t8$2 || (_t8$2 = _$a`
7614
7620
  font-weight: var(--goa-font-weight-bold);
7615
7621
  font-size: var(--goa-font-size-4);
7616
7622
  line-height: var(--goa-line-height-3);
7617
7623
  color: var(--goa-color-text-default);
7624
+ overflow-wrap: break-word;
7625
+ min-width: 0;
7618
7626
  `));
7619
7627
  const ReviewValue = styled.div(_t9$2 || (_t9$2 = _$a`
7620
7628
  margin-top: var(--goa-space-m);
7621
7629
  color: var(--goa-color-text-default);
7622
7630
  font-size: var(--goa-font-size-4);
7623
7631
  line-height: var(--goa-line-height-3);
7632
+ /* Review rows are table cells, which can't shrink below their longest word (a URL or email). */
7633
+ overflow-wrap: anywhere;
7624
7634
  `));
7625
7635
  //Check and unchecked are different heights otherwise
7626
7636
  const CheckboxWrapper = styled.div(_t0$2 || (_t0$2 = _$a`
@@ -10251,13 +10261,14 @@ const getNavigationTargetFromParams = params => {
10251
10261
  };
10252
10262
 
10253
10263
  const getStepperPageOptions = uischema => {
10254
- var _uischema$options$hid, _uischema$options, _uischema$options2, _uischema$options$toA, _uischema$options3, _uischema$options$sub, _uischema$options4, _uischema$options$noA, _uischema$options5;
10264
+ var _uischema$options$hid, _uischema$options, _uischema$options2, _uischema$options$toA, _uischema$options3, _uischema$options$sub, _uischema$options4, _uischema$options$noA, _uischema$options5, _uischema$options$sum, _uischema$options6;
10255
10265
  return {
10256
10266
  hideSubmit: (_uischema$options$hid = uischema == null || (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.hideSubmit) != null ? _uischema$options$hid : false,
10257
10267
  hideSummary: (uischema == null || (_uischema$options2 = uischema.options) == null ? void 0 : _uischema$options2.hideSummary) === true,
10258
10268
  toAppOverviewLabel: (_uischema$options$toA = uischema == null || (_uischema$options3 = uischema.options) == null ? void 0 : _uischema$options3.toAppOverviewLabel) != null ? _uischema$options$toA : BACK_TO_OVERVIEW_LABEL,
10259
10269
  submissionLabel: (_uischema$options$sub = uischema == null || (_uischema$options4 = uischema.options) == null ? void 0 : _uischema$options4.submissionLabel) != null ? _uischema$options$sub : NEXT_BUTTON_LABEL,
10260
- noAnswerMessage: (_uischema$options$noA = uischema == null || (_uischema$options5 = uischema.options) == null ? void 0 : _uischema$options5.noAnswerMessage) != null ? _uischema$options$noA : NO_ANSWER_MESSAGE
10270
+ noAnswerMessage: (_uischema$options$noA = uischema == null || (_uischema$options5 = uischema.options) == null ? void 0 : _uischema$options5.noAnswerMessage) != null ? _uischema$options$noA : NO_ANSWER_MESSAGE,
10271
+ summaryPageTitle: (_uischema$options$sum = uischema == null || (_uischema$options6 = uischema.options) == null ? void 0 : _uischema$options6.summaryPageTitle) != null ? _uischema$options$sum : ''
10261
10272
  };
10262
10273
  };
10263
10274
 
@@ -12542,8 +12553,11 @@ let _$8 = t => t,
12542
12553
  _t26$1,
12543
12554
  _t27$1,
12544
12555
  _t28$1,
12545
- _t29,
12546
- _t30;
12556
+ _t29$1,
12557
+ _t30,
12558
+ _t31,
12559
+ _t32,
12560
+ _t33;
12547
12561
  const DeleteDialogContent = styled.div(_t$9 || (_t$9 = _$8`
12548
12562
  margin-bottom: var(--goa-space-m);
12549
12563
  `));
@@ -12565,7 +12579,33 @@ const ReviewItemFrame = styled.div(_t5$2 || (_t5$2 = _$8`
12565
12579
  margin-bottom: var(--goa-space-l);
12566
12580
  background-color: var(--goa-color-greyscale-white);
12567
12581
  `));
12568
- const ObjectArrayTitle = styled.h3(_t6$2 || (_t6$2 = _$8`
12582
+ const ReviewRow = styled.div(_t6$2 || (_t6$2 = _$8`
12583
+ display: flex;
12584
+ margin-bottom: 0.5rem;
12585
+ align-items: flex-start;
12586
+
12587
+ @media (max-width: 479px) {
12588
+ flex-direction: column;
12589
+ }
12590
+ `));
12591
+ const ReviewRowLabel = styled.strong(_t7$1 || (_t7$1 = _$8`
12592
+ width: 50%;
12593
+ flex-shrink: 0;
12594
+
12595
+ @media (max-width: 479px) {
12596
+ width: auto;
12597
+ }
12598
+ `));
12599
+ const ReviewRowValue = styled.span(_t8$1 || (_t8$1 = _$8`
12600
+ margin-left: 1rem;
12601
+ min-width: 0;
12602
+ overflow-wrap: anywhere;
12603
+
12604
+ @media (max-width: 479px) {
12605
+ margin-left: 0;
12606
+ }
12607
+ `));
12608
+ const ObjectArrayTitle = styled.h3(_t9$1 || (_t9$1 = _$8`
12569
12609
  margin-bottom: var(--goa-space-s);
12570
12610
 
12571
12611
  span {
@@ -12573,25 +12613,25 @@ const ObjectArrayTitle = styled.h3(_t6$2 || (_t6$2 = _$8`
12573
12613
  font-size: var(--goa-font-size-2);
12574
12614
  }
12575
12615
  `));
12576
- const RequiredSpan = styled.span(_t7$1 || (_t7$1 = _$8`
12616
+ const RequiredSpan = styled.span(_t0$1 || (_t0$1 = _$8`
12577
12617
  color: #666666;
12578
12618
  font-weight: var(--goa-font-weight-regular);
12579
12619
  font-size: var(--goa-font-size-2);
12580
12620
  margin-left: var(--goa-space-xs);
12581
12621
  `));
12582
- const TextCenter = styled.div(_t8$1 || (_t8$1 = _$8`
12622
+ const TextCenter = styled.div(_t1$1 || (_t1$1 = _$8`
12583
12623
  text-align: center;
12584
12624
  `));
12585
- const SideMenuItem = styled.div(_t9$1 || (_t9$1 = _$8`
12625
+ const SideMenuItem = styled.div(_t10$1 || (_t10$1 = _$8`
12586
12626
  margin-top: 1rem;
12587
12627
  `));
12588
- const RowFlex = styled.div(_t0$1 || (_t0$1 = _$8`
12628
+ const RowFlex = styled.div(_t11$1 || (_t11$1 = _$8`
12589
12629
  display: flex;
12590
12630
  margin: 1.5rem 0 1.5rem 0;
12591
12631
 
12592
12632
  align-items: flex-start;
12593
12633
  `));
12594
- const RowFlexMenuMain = styled.div(_t1$1 || (_t1$1 = _$8`
12634
+ const RowFlexMenuMain = styled.div(_t12$1 || (_t12$1 = _$8`
12595
12635
  display: flex;
12596
12636
  flex-direction: column;
12597
12637
  align-items: stretch;
@@ -12608,7 +12648,7 @@ const RowFlexMenuMain = styled.div(_t1$1 || (_t1$1 = _$8`
12608
12648
  border-color: var(--goa-color-greyscale-400);
12609
12649
  }
12610
12650
  `));
12611
- const RowFlexMenuLeft = styled.div(_t10$1 || (_t10$1 = _$8`
12651
+ const RowFlexMenuLeft = styled.div(_t13$1 || (_t13$1 = _$8`
12612
12652
  display: flex;
12613
12653
  flex-direction: row;
12614
12654
  align-items: stretch;
@@ -12624,12 +12664,12 @@ const RowFlexMenuLeft = styled.div(_t10$1 || (_t10$1 = _$8`
12624
12664
  border-color: var(--goa-color-greyscale-400);
12625
12665
  }
12626
12666
  `));
12627
- const FlexTabs = styled.div(_t11$1 || (_t11$1 = _$8`
12667
+ const FlexTabs = styled.div(_t14$1 || (_t14$1 = _$8`
12628
12668
  flex-direction: column;
12629
12669
  flex: 1;
12630
12670
  overflow-y: auto !important;
12631
12671
  `));
12632
- const FlexTabsWithMargin = styled.div(_t12$1 || (_t12$1 = _$8`
12672
+ const FlexTabsWithMargin = styled.div(_t15$1 || (_t15$1 = _$8`
12633
12673
  flex-direction: column;
12634
12674
  flex: 1;
12635
12675
  overflow-y: auto !important;
@@ -12638,64 +12678,64 @@ const FlexTabsWithMargin = styled.div(_t12$1 || (_t12$1 = _$8`
12638
12678
  flex-shrink: 1;
12639
12679
  // max-height: 500px;
12640
12680
  `));
12641
- const FlexForm = styled.div(_t13$1 || (_t13$1 = _$8`
12681
+ const FlexForm = styled.div(_t16$1 || (_t16$1 = _$8`
12642
12682
  flex-direction: column;
12643
12683
  flex: 3;
12644
12684
  flex-shrink: 0;
12645
12685
  overflow-y: visible;
12646
12686
  `));
12647
- const TabName = styled.div(_t14$1 || (_t14$1 = _$8`
12687
+ const TabName = styled.div(_t17$1 || (_t17$1 = _$8`
12648
12688
  margin: 1rem 0 1rem 1rem;
12649
12689
  font-weight: 400;
12650
12690
  white-space: nowrap;
12651
12691
  overflow: hidden;
12652
12692
  text-overflow: ellipsis;
12653
12693
  `));
12654
- const Trash = styled.div(_t15$1 || (_t15$1 = _$8`
12694
+ const Trash = styled.div(_t18$1 || (_t18$1 = _$8`
12655
12695
  margin: 0.9rem 0.4rem 0.6rem 0.75rem;
12656
12696
  margin-left: auto;
12657
12697
  `));
12658
- const ListContainer = styled.div(_t16$1 || (_t16$1 = _$8`
12698
+ const ListContainer = styled.div(_t19$1 || (_t19$1 = _$8`
12659
12699
  padding: 0 0 0 0;
12660
12700
  `));
12661
- styled.div(_t17$1 || (_t17$1 = _$8`
12701
+ styled.div(_t20$1 || (_t20$1 = _$8`
12662
12702
  padding: 0 0 var(--goa-space-l) 0;
12663
12703
  `));
12664
- const UpdateListContainer = styled.div(_t18$1 || (_t18$1 = _$8`
12704
+ const UpdateListContainer = styled.div(_t21$1 || (_t21$1 = _$8`
12665
12705
  width: 100%;
12666
12706
  border: 1px solid #dcdcdc;
12667
12707
  padding: var(--goa-space-xl);
12668
12708
  `));
12669
- styled.div(_t19$1 || (_t19$1 = _$8`
12709
+ styled.div(_t22$1 || (_t22$1 = _$8`
12670
12710
  padding: 0 1.5rem 0 0;
12671
12711
  border: 1px solid #dcdcdc;
12672
12712
  `));
12673
- styled.th(_t20$1 || (_t20$1 = _$8`
12713
+ styled.th(_t23$1 || (_t23$1 = _$8`
12674
12714
  background-color: var(--goa-color-greyscale-100) !important;
12675
12715
  vertical-align: top;
12676
12716
  `));
12677
- const ObjectArrayWarningIconDiv = styled.div(_t21$1 || (_t21$1 = _$8`
12717
+ const ObjectArrayWarningIconDiv = styled.div(_t24$1 || (_t24$1 = _$8`
12678
12718
  display: inline-flex;
12679
12719
  align-items: flex-start;
12680
12720
  gap: 0.25rem;
12681
12721
  font-size: var(--goa-font-size-2);
12682
12722
  color: var(--goa-color-interactive-error);
12683
12723
  `));
12684
- const ListWithDetailWarningIconDiv = styled.div(_t22$1 || (_t22$1 = _$8`
12724
+ const ListWithDetailWarningIconDiv = styled.div(_t25$1 || (_t25$1 = _$8`
12685
12725
  display: inline-flex;
12686
12726
  align-items: flex-start;
12687
12727
  gap: 0.25rem;
12688
12728
  font-size: var(--goa-font-size-3);
12689
12729
  color: var(--goa-color-interactive-error);
12690
12730
  `));
12691
- styled.label(_t23$1 || (_t23$1 = _$8`
12731
+ styled.label(_t26$1 || (_t26$1 = _$8`
12692
12732
  color: var(--goa-color-interactive-error);
12693
12733
  font-weight: var(--goa-font-weight-regular);
12694
12734
  font-size: var(--goa-font-size-3);
12695
12735
  line-height: var(--goa-line-height-1);
12696
12736
  font-style: normal;
12697
12737
  `));
12698
- styled.div(_t24$1 || (_t24$1 = _$8`
12738
+ styled.div(_t27$1 || (_t27$1 = _$8`
12699
12739
  margin-top: var(--goa-space-m);
12700
12740
  color: var(--goa-color-interactive-error);
12701
12741
  font-weight: var(--goa-font-weight-regular);
@@ -12703,10 +12743,10 @@ styled.div(_t24$1 || (_t24$1 = _$8`
12703
12743
  line-height: var(--goa-line-height-1);
12704
12744
  font-style: normal;
12705
12745
  `));
12706
- const HilightCellWarning = styled.div(_t25$1 || (_t25$1 = _$8`
12746
+ const HilightCellWarning = styled.div(_t28$1 || (_t28$1 = _$8`
12707
12747
  background-color: transparent;
12708
12748
  `));
12709
- const FixTableHeaderAlignment = styled.div(_t26$1 || (_t26$1 = _$8`
12749
+ const FixTableHeaderAlignment = styled.div(_t29$1 || (_t29$1 = _$8`
12710
12750
  table thead th:nth-child(3) {
12711
12751
  text-align: center;
12712
12752
  }
@@ -12715,22 +12755,22 @@ const FixTableHeaderAlignment = styled.div(_t26$1 || (_t26$1 = _$8`
12715
12755
  text-align: center;
12716
12756
  }
12717
12757
  `));
12718
- const ListWithDetailsReviewCellDiv = styled.div(_t27$1 || (_t27$1 = _$8`
12758
+ const ListWithDetailsReviewCellDiv = styled.div(_t30 || (_t30 = _$8`
12719
12759
  display: 'flex';
12720
12760
  flex-direction: 'column';
12721
12761
  text-align: 'start';
12722
12762
  `));
12723
- const IconsContainer = styled.div(_t28$1 || (_t28$1 = _$8`
12763
+ const IconsContainer = styled.div(_t31 || (_t31 = _$8`
12724
12764
  display: flex;
12725
12765
  align-items: center;
12726
12766
  justify-content: flex-end;
12727
12767
  gap: var(--goa-space-xs);
12728
12768
  padding-bottom: var(--goa-space-xs);
12729
12769
  `));
12730
- const TableContentContainer = styled.div(_t29 || (_t29 = _$8`
12770
+ const TableContentContainer = styled.div(_t32 || (_t32 = _$8`
12731
12771
  padding: var(--goa-space-l);
12732
12772
  `));
12733
- const NoDataMessage = styled.div(_t30 || (_t30 = _$8`
12773
+ const NoDataMessage = styled.div(_t33 || (_t33 = _$8`
12734
12774
  padding: var(--goa-space-xl) var(--goa-space-l);
12735
12775
  color: var(--goa-color-greyscale-700);
12736
12776
  font: var(--goa-typography-body-m);
@@ -13994,7 +14034,9 @@ const StyledBackButton = styled.button(_t$8 || (_t$8 = _$7`
13994
14034
  color: var(--goa-color-interactive-default, #0070c4);
13995
14035
  cursor: pointer;
13996
14036
  display: inline-flex;
14037
+ flex-shrink: 0;
13997
14038
  font: inherit;
14039
+ white-space: nowrap;
13998
14040
  margin: 0;
13999
14041
  padding: 0;
14000
14042
  text-decoration: underline;
@@ -14501,7 +14543,8 @@ let _$5 = t => t,
14501
14543
  _t25,
14502
14544
  _t26,
14503
14545
  _t27,
14504
- _t28;
14546
+ _t28,
14547
+ _t29;
14505
14548
  const ReviewItem = styled.div(_t$6 || (_t$6 = _$5`
14506
14549
  display: flex;
14507
14550
  flex-direction: column;
@@ -14568,19 +14611,27 @@ const ReviewItemSection = styled.div(_t8 || (_t8 = _$5`
14568
14611
  .element-style {
14569
14612
  max-width: 1600px;
14570
14613
  }
14614
+
14615
+ @media (max-width: 639px) {
14616
+ padding: var(--goa-space-l) var(--goa-space-m);
14617
+ }
14618
+ `));
14619
+ const ReviewSectionTitle = styled.h3(_t9 || (_t9 = _$5`
14620
+ margin-bottom: var(--goa-space-m);
14621
+ overflow-wrap: anywhere;
14571
14622
  `));
14572
- const ReviewItemHeader = styled.div(_t9 || (_t9 = _$5`
14623
+ const ReviewItemHeader = styled.div(_t0 || (_t0 = _$5`
14573
14624
  display: flex;
14574
14625
  align-items: center;
14575
14626
  justify-content: space-between;
14576
14627
  margin-bottom: var(--goa-space-xl);
14577
14628
  `));
14578
- const ReviewItemTitle = styled.div(_t0 || (_t0 = _$5`
14629
+ const ReviewItemTitle = styled.div(_t1 || (_t1 = _$5`
14579
14630
  font-size: var(--goa-space-l);
14580
14631
  line-height: var(--goa-space-xl);
14581
14632
  font-weight: 300;
14582
14633
  `));
14583
- styled.div(_t1 || (_t1 = _$5`
14634
+ styled.div(_t10 || (_t10 = _$5`
14584
14635
  color: #0070c4;
14585
14636
  text-decoration: underline;
14586
14637
  outline: none;
@@ -14591,20 +14642,20 @@ styled.div(_t1 || (_t1 = _$5`
14591
14642
  background-color: #e6f7ff;
14592
14643
  }
14593
14644
  `));
14594
- styled.div(_t10 || (_t10 = _$5`
14645
+ styled.div(_t11 || (_t11 = _$5`
14595
14646
  margin-left: var(--goa-space-m);
14596
14647
  `));
14597
- styled.div(_t11 || (_t11 = _$5`
14648
+ styled.div(_t12 || (_t12 = _$5`
14598
14649
  margin-bottom: var(--goa-space-m);
14599
14650
  `));
14600
- styled.div(_t12 || (_t12 = _$5`
14651
+ styled.div(_t13 || (_t13 = _$5`
14601
14652
  margin: var(--goa-space-s);
14602
14653
  width: 100%;
14603
14654
  `));
14604
- styled.h3(_t13 || (_t13 = _$5`
14655
+ styled.h3(_t14 || (_t14 = _$5`
14605
14656
  text-transform: capitalize;
14606
14657
  `));
14607
- const RightAlignmentDiv = styled.div(_t14 || (_t14 = _$5`
14658
+ const RightAlignmentDiv = styled.div(_t15 || (_t15 = _$5`
14608
14659
  @media screen and (max-width: 767px) {
14609
14660
  margin-bottom: var(--goa-space-l);
14610
14661
  }
@@ -14614,7 +14665,7 @@ const RightAlignmentDiv = styled.div(_t14 || (_t14 = _$5`
14614
14665
  margin-bottom: var(--goa-space-l);
14615
14666
  }
14616
14667
  `));
14617
- const FormStepperSummaryH3 = styled.h3(_t15 || (_t15 = _$5`
14668
+ const FormStepperSummaryH3 = styled.h3(_t16 || (_t16 = _$5`
14618
14669
  flex: 1;
14619
14670
  max-width: 100%;
14620
14671
  margin-bottom: var(--goa-space-m);
@@ -14623,43 +14674,47 @@ const FormStepperSummaryH3 = styled.h3(_t15 || (_t15 = _$5`
14623
14674
  font-weight: var(--goa-font-weight-bold);
14624
14675
  overflow-wrap: anywhere;
14625
14676
  `));
14626
- const PageRenderPadding = styled.div(_t16 || (_t16 = _$5`
14677
+ const PageRenderPadding = styled.div(_t17 || (_t17 = _$5`
14627
14678
  margin-top: var(--goa-space-2xl);
14628
14679
  `));
14629
- styled.div(_t17 || (_t17 = _$5`
14680
+ styled.div(_t18 || (_t18 = _$5`
14630
14681
  margin-bottom: var(--goa-space-2xl);
14631
14682
  `));
14632
- const PageBorder = styled.div(_t18 || (_t18 = _$5`
14683
+ const PageBorder = styled.div(_t19 || (_t19 = _$5`
14633
14684
  padding: var(--goa-space-m) var(--goa-space-3xl);
14685
+
14686
+ @media (max-width: 639px) {
14687
+ padding: var(--goa-space-m) var(--goa-space-xs);
14688
+ }
14634
14689
  `));
14635
- styled.div(_t19 || (_t19 = _$5`
14690
+ styled.div(_t20 || (_t20 = _$5`
14636
14691
  .element-style {
14637
14692
  max-width: 1600px;
14638
14693
  }
14639
14694
  `));
14640
- styled.div(_t20 || (_t20 = _$5`
14695
+ styled.div(_t21 || (_t21 = _$5`
14641
14696
  padding: var(--goa-space-xl) var(--goa-space-2xl);
14642
14697
  border: 1px solid var(--goa-color-greyscale-300);
14643
14698
  border-radius: var(--goa-border-radius-xl);
14644
14699
  `));
14645
- styled.div(_t21 || (_t21 = _$5`
14700
+ styled.div(_t22 || (_t22 = _$5`
14646
14701
  margin-top: var(--goa-space-xl);
14647
14702
  display: flex;
14648
14703
  justify-content: space-between;
14649
14704
  `));
14650
- styled.h3(_t22 || (_t22 = _$5`
14705
+ styled.h3(_t23 || (_t23 = _$5`
14651
14706
  color: var(--goa-color-text-secondary) !important;
14652
14707
  margin-bottom: var(--goa-space-l);
14653
14708
  `));
14654
- const CategoryStatus = styled.td(_t23 || (_t23 = _$5`
14709
+ const CategoryStatus = styled.td(_t24 || (_t24 = _$5`
14655
14710
  width: var(--goa-space-xl);
14656
14711
  padding-right: var(--goa-space-xl);
14657
14712
  align-content: center;
14658
14713
  `));
14659
- const Center = styled.div(_t24 || (_t24 = _$5`
14714
+ const Center = styled.div(_t25 || (_t25 = _$5`
14660
14715
  padding-top: 5px;
14661
14716
  `));
14662
- const PageStepperRow = styled.tr(_t25 || (_t25 = _$5`
14717
+ const PageStepperRow = styled.tr(_t26 || (_t26 = _$5`
14663
14718
  ${0}
14664
14719
  `), ({
14665
14720
  disabled
@@ -14684,7 +14739,7 @@ const PageStepperRow = styled.tr(_t25 || (_t25 = _$5`
14684
14739
  outline: 3px solid var(--goa-color-interactive-focus);
14685
14740
  }
14686
14741
  `);
14687
- const SectionHeaderRowTr = styled.tr(_t26 || (_t26 = _$5`
14742
+ const SectionHeaderRowTr = styled.tr(_t27 || (_t27 = _$5`
14688
14743
  & > td {
14689
14744
  border: 0 !important;
14690
14745
  padding-top: var(--goa-space-l);
@@ -14696,7 +14751,7 @@ const SectionHeaderRowTr = styled.tr(_t26 || (_t26 = _$5`
14696
14751
  border-top: none !important;
14697
14752
  }
14698
14753
  `));
14699
- const SummaryRowLink = styled.a(_t27 || (_t27 = _$5`
14754
+ const SummaryRowLink = styled.a(_t28 || (_t28 = _$5`
14700
14755
  position: relative;
14701
14756
  top: var(--goa-space-xs);
14702
14757
  &:focus-visible {
@@ -14705,7 +14760,7 @@ const SummaryRowLink = styled.a(_t27 || (_t27 = _$5`
14705
14760
  }
14706
14761
  padding: 0 var(--goa-space-s) var(--goa-space-xs); var(--goa-space-s);
14707
14762
  `));
14708
- const SummaryTd = styled.td(_t28 || (_t28 = _$5`
14763
+ const SummaryTd = styled.td(_t29 || (_t29 = _$5`
14709
14764
  border: 0 !important;
14710
14765
  padding: 0 !important;
14711
14766
  `));
@@ -15720,25 +15775,13 @@ const NonEmptyCellComponent = /*#__PURE__*/React.memo(function NonEmptyCellCompo
15720
15775
  } else if (isRequiredField && isEmptyValue) {
15721
15776
  reviewError = `${capitalizeFirstLetter(label.replace(/[_-]/g, ' '))} is required`;
15722
15777
  }
15723
- return jsxs("div", {
15724
- style: {
15725
- display: 'flex',
15726
- marginBottom: '0.5rem',
15727
- alignItems: 'flex-start'
15728
- },
15778
+ return jsxs(ReviewRow, {
15729
15779
  "data-testid": `#/properties/${key}-input-${i}-row`,
15730
- children: [jsxs("strong", {
15731
- style: {
15732
- width: '50%',
15733
- flexShrink: 0
15734
- },
15780
+ children: [jsxs(ReviewRowLabel, {
15735
15781
  children: [(properties == null || (_properties$key = properties[key]) == null ? void 0 : _properties$key.title) || (label !== key ? label : key.replace(/([A-Z])/g, ' $1').replace(/[_-]/g, ' ').replace(/^./, c => c.toUpperCase())), isRequiredField && jsx(RequiredSpan, {
15736
15782
  children: " (required)"
15737
15783
  }), " :"]
15738
- }), jsx("span", {
15739
- style: {
15740
- marginLeft: '1rem'
15741
- },
15784
+ }), jsx(ReviewRowValue, {
15742
15785
  "data-testid": `#/properties/${key}-input-${i}-review`,
15743
15786
  children: renderCellColumn({
15744
15787
  data: isEmptyValue ? undefined : value,
@@ -17928,7 +17971,6 @@ const GoABaseTableReviewRenderers$1 = [
17928
17971
  renderer: CalloutReviewControl
17929
17972
  }];
17930
17973
  const FormStepperReviewer = props => {
17931
- var _uischema$options$com, _uischema$options, _uischema$options2;
17932
17974
  const {
17933
17975
  uischema,
17934
17976
  data,
@@ -17937,10 +17979,11 @@ const FormStepperReviewer = props => {
17937
17979
  cells,
17938
17980
  enabled
17939
17981
  } = props;
17940
- const componentProps = (_uischema$options$com = (_uischema$options = uischema.options) == null ? void 0 : _uischema$options.componentProps) != null ? _uischema$options$com : {};
17982
+ const jsonForms = useJsonForms();
17983
+ // Read from the uischema directly; the provider below is not yet in scope here.
17941
17984
  const {
17942
17985
  summaryPageTitle
17943
- } = (_uischema$options2 = uischema.options) != null ? _uischema$options2 : {};
17986
+ } = getStepperPageOptions(uischema);
17944
17987
  const categorization = uischema;
17945
17988
  const categories = categorization.elements;
17946
17989
  const rescopeMaps = ['#/properties/albertaAddress', '#/properties/canadianAddress', '#/properties/sin'];
@@ -17958,12 +18001,15 @@ const FormStepperReviewer = props => {
17958
18001
  }
17959
18002
  return true;
17960
18003
  };
18004
+ // A section title is shown once, before the first rendered category of that section.
18005
+ let lastShownSectionTitle = '';
17961
18006
  return jsx(StepperOptionsProvider, {
17962
18007
  uischema: uischema,
17963
18008
  children: jsxs(ReviewItem, {
17964
- children: [summaryPageTitle && !componentProps.readOnly && jsx(FormStepperSummaryH3, {
18009
+ children: [summaryPageTitle && !jsonForms.readonly && jsx(FormStepperSummaryH3, {
17965
18010
  children: summaryPageTitle
17966
18011
  }), categories.map((category, categoryIndex) => {
18012
+ var _category$options, _category$options$sec, _category$options2;
17967
18013
  // Preserve index stability
17968
18014
  if (!isVisible(category, data, '', ajv, undefined)) {
17969
18015
  return null;
@@ -17984,35 +18030,46 @@ const FormStepperReviewer = props => {
17984
18030
  if (elementsToRender.length === 0) {
17985
18031
  return null;
17986
18032
  }
17987
- return jsxs(ReviewItemSection, {
17988
- className: "jsonforms-table-review-section",
17989
- id: `jsonforms-table-review-section-${categoryIndex}`,
17990
- children: [jsx(ReviewItemHeader, {
17991
- children: jsx(ReviewItemTitle, {
17992
- children: categoryLabel
17993
- })
17994
- }), elementsToRender.map((element, elementIndex) => {
17995
- const stepperElement = Object.assign({}, element, {
17996
- options: Object.assign({}, element.options, {
17997
- stepId: categoryIndex
18033
+ //The tasklist can have a parent section title, we want to display if it exists
18034
+ const sectionTitle = ((_category$options = category.options) == null ? void 0 : _category$options.showInTaskList) === true ? String((_category$options$sec = (_category$options2 = category.options) == null ? void 0 : _category$options2.sectionTitle) != null ? _category$options$sec : '').trim() : '';
18035
+ const showSectionTitle = sectionTitle !== '' && sectionTitle !== lastShownSectionTitle;
18036
+ if (showSectionTitle) {
18037
+ lastShownSectionTitle = sectionTitle;
18038
+ }
18039
+ return jsxs(React.Fragment, {
18040
+ children: [showSectionTitle && jsx(ReviewSectionTitle, {
18041
+ "data-testid": `jsonforms-table-review-section-title-${categoryIndex}`,
18042
+ children: sectionTitle
18043
+ }), jsxs(ReviewItemSection, {
18044
+ className: "jsonforms-table-review-section",
18045
+ id: `jsonforms-table-review-section-${categoryIndex}`,
18046
+ children: [jsx(ReviewItemHeader, {
18047
+ children: jsx(ReviewItemTitle, {
18048
+ children: categoryLabel
17998
18049
  })
17999
- });
18000
- return jsx(GoabTable, {
18001
- width: "100%",
18002
- mb: "m",
18003
- children: jsx("tbody", {
18004
- children: jsx(JsonFormsDispatch, {
18005
- "data-testid": "jsonforms-object-list-defined-elements-dispatch",
18006
- schema: schema,
18007
- uischema: stepperElement,
18008
- enabled: enabled,
18009
- renderers: GoABaseTableReviewRenderers$1,
18010
- cells: cells
18050
+ }), elementsToRender.map((element, elementIndex) => {
18051
+ const stepperElement = Object.assign({}, element, {
18052
+ options: Object.assign({}, element.options, {
18053
+ stepId: categoryIndex
18011
18054
  })
18012
- })
18013
- }, elementIndex);
18055
+ });
18056
+ return jsx(GoabTable, {
18057
+ width: "100%",
18058
+ mb: "m",
18059
+ children: jsx("tbody", {
18060
+ children: jsx(JsonFormsDispatch, {
18061
+ "data-testid": "jsonforms-object-list-defined-elements-dispatch",
18062
+ schema: schema,
18063
+ uischema: stepperElement,
18064
+ enabled: enabled,
18065
+ renderers: GoABaseTableReviewRenderers$1,
18066
+ cells: cells
18067
+ })
18068
+ })
18069
+ }, elementIndex);
18070
+ })]
18014
18071
  })]
18015
- }, categoryIndex);
18072
+ }, `sectionTitle_${categoryIndex}`);
18016
18073
  })]
18017
18074
  })
18018
18075
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.81.1",
3
+ "version": "2.81.3",
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-11-02T14:56:18.675Z",
4
- "sourceCommit": "33712e7aaecbf06104cab371d856e71d9616efe4",
3
+ "generatedAt": "2026-11-02T22:14:11.713Z",
4
+ "sourceCommit": "fc155eb29a47b9b04d5089c421c1e35794912e01",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 23,
7
7
  "renderers": [
@@ -6,6 +6,7 @@ export declare const Percentage: import("styled-components/dist/types").IStyledC
6
6
  export declare const BadgeWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
7
7
  export declare const CompletionTextHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>>> & string;
8
8
  export declare const ReviewItemSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
9
+ export declare const ReviewSectionTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>>> & string;
9
10
  export declare const ReviewItemHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
10
11
  export declare const ReviewItemTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
11
12
  export declare const Anchor: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -5,5 +5,6 @@ export interface StepperPageOptions {
5
5
  toAppOverviewLabel?: string;
6
6
  submissionLabel?: string;
7
7
  noAnswerMessage?: string;
8
+ summaryPageTitle?: string;
8
9
  }
9
10
  export declare const getStepperPageOptions: (uischema?: UISchemaElement) => StepperPageOptions;
@@ -3,6 +3,9 @@ export declare const MarginTop: import("styled-components/dist/types").IStyledCo
3
3
  export declare const NonEmptyCellStyle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
4
4
  export declare const ToolBarHeader: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
5
5
  export declare const ReviewItemFrame: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
6
+ export declare const ReviewRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
7
+ export declare const ReviewRowLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
8
+ export declare const ReviewRowValue: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
6
9
  export declare const ObjectArrayTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>>> & string;
7
10
  export declare const RequiredSpan: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>>> & string;
8
11
  export declare const TextCenter: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;