@abgov/jsonforms-components 2.67.13 → 2.68.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
@@ -8905,7 +8905,8 @@ let _$8 = t => t,
8905
8905
  _t26$1,
8906
8906
  _t27$1,
8907
8907
  _t28$1,
8908
- _t29;
8908
+ _t29,
8909
+ _t30;
8909
8910
  const DeleteDialogContent = styled.div(_t$9 || (_t$9 = _$8`
8910
8911
  margin-bottom: var(--goa-space-m);
8911
8912
  `));
@@ -8920,7 +8921,14 @@ const NonEmptyCellStyle = styled.div(_t3$3 || (_t3$3 = _$8`
8920
8921
  const ToolBarHeader = styled.div(_t4$3 || (_t4$3 = _$8`
8921
8922
  margin-bottom: var(--goa-space-s);
8922
8923
  `));
8923
- const ObjectArrayTitle = styled.h3(_t5$2 || (_t5$2 = _$8`
8924
+ const ReviewItemFrame = styled.div(_t5$2 || (_t5$2 = _$8`
8925
+ border: 1px solid var(--goa-color-greyscale-200);
8926
+ border-radius: var(--goa-border-radius-m);
8927
+ padding: var(--goa-space-m) var(--goa-space-l);
8928
+ margin-bottom: var(--goa-space-l);
8929
+ background-color: var(--goa-color-greyscale-white);
8930
+ `));
8931
+ const ObjectArrayTitle = styled.h3(_t6$2 || (_t6$2 = _$8`
8924
8932
  margin-bottom: var(--goa-space-s);
8925
8933
 
8926
8934
  span {
@@ -8928,24 +8936,24 @@ const ObjectArrayTitle = styled.h3(_t5$2 || (_t5$2 = _$8`
8928
8936
  font-size: var(--goa-font-size-2);
8929
8937
  }
8930
8938
  `));
8931
- const RequiredSpan = styled.span(_t6$2 || (_t6$2 = _$8`
8939
+ const RequiredSpan = styled.span(_t7$1 || (_t7$1 = _$8`
8932
8940
  color: #666666;
8933
8941
  font-weight: var(--goa-font-weight-regular);
8934
8942
  font-size: var(--goa-font-size-2);
8935
8943
  `));
8936
- const TextCenter = styled.div(_t7$1 || (_t7$1 = _$8`
8944
+ const TextCenter = styled.div(_t8$1 || (_t8$1 = _$8`
8937
8945
  text-align: center;
8938
8946
  `));
8939
- const SideMenuItem = styled.div(_t8$1 || (_t8$1 = _$8`
8947
+ const SideMenuItem = styled.div(_t9$1 || (_t9$1 = _$8`
8940
8948
  margin-top: 1rem;
8941
8949
  `));
8942
- const RowFlex = styled.div(_t9$1 || (_t9$1 = _$8`
8950
+ const RowFlex = styled.div(_t0$1 || (_t0$1 = _$8`
8943
8951
  display: flex;
8944
8952
  margin: 1.5rem 0 1.5rem 0;
8945
8953
 
8946
8954
  align-items: flex-start;
8947
8955
  `));
8948
- const RowFlexMenuMain = styled.div(_t0$1 || (_t0$1 = _$8`
8956
+ const RowFlexMenuMain = styled.div(_t1$1 || (_t1$1 = _$8`
8949
8957
  display: flex;
8950
8958
  flex-direction: column;
8951
8959
  align-items: stretch;
@@ -8962,7 +8970,7 @@ const RowFlexMenuMain = styled.div(_t0$1 || (_t0$1 = _$8`
8962
8970
  border-color: var(--goa-color-greyscale-400);
8963
8971
  }
8964
8972
  `));
8965
- const RowFlexMenuLeft = styled.div(_t1$1 || (_t1$1 = _$8`
8973
+ const RowFlexMenuLeft = styled.div(_t10$1 || (_t10$1 = _$8`
8966
8974
  display: flex;
8967
8975
  flex-direction: row;
8968
8976
  align-items: stretch;
@@ -8978,12 +8986,12 @@ const RowFlexMenuLeft = styled.div(_t1$1 || (_t1$1 = _$8`
8978
8986
  border-color: var(--goa-color-greyscale-400);
8979
8987
  }
8980
8988
  `));
8981
- const FlexTabs = styled.div(_t10$1 || (_t10$1 = _$8`
8989
+ const FlexTabs = styled.div(_t11$1 || (_t11$1 = _$8`
8982
8990
  flex-direction: column;
8983
8991
  flex: 1;
8984
8992
  overflow-y: auto !important;
8985
8993
  `));
8986
- const FlexTabsWithMargin = styled.div(_t11$1 || (_t11$1 = _$8`
8994
+ const FlexTabsWithMargin = styled.div(_t12$1 || (_t12$1 = _$8`
8987
8995
  flex-direction: column;
8988
8996
  flex: 1;
8989
8997
  overflow-y: auto !important;
@@ -8992,64 +9000,64 @@ const FlexTabsWithMargin = styled.div(_t11$1 || (_t11$1 = _$8`
8992
9000
  flex-shrink: 1;
8993
9001
  // max-height: 500px;
8994
9002
  `));
8995
- const FlexForm = styled.div(_t12$1 || (_t12$1 = _$8`
9003
+ const FlexForm = styled.div(_t13$1 || (_t13$1 = _$8`
8996
9004
  flex-direction: column;
8997
9005
  flex: 3;
8998
9006
  flex-shrink: 0;
8999
9007
  overflow-y: visible;
9000
9008
  `));
9001
- const TabName = styled.div(_t13$1 || (_t13$1 = _$8`
9009
+ const TabName = styled.div(_t14$1 || (_t14$1 = _$8`
9002
9010
  margin: 1rem 0 1rem 1rem;
9003
9011
  font-weight: 400;
9004
9012
  white-space: nowrap;
9005
9013
  overflow: hidden;
9006
9014
  text-overflow: ellipsis;
9007
9015
  `));
9008
- const Trash = styled.div(_t14$1 || (_t14$1 = _$8`
9016
+ const Trash = styled.div(_t15$1 || (_t15$1 = _$8`
9009
9017
  margin: 0.9rem 0.4rem 0.6rem 0.75rem;
9010
9018
  margin-left: auto;
9011
9019
  `));
9012
- const ListContainer = styled.div(_t15$1 || (_t15$1 = _$8`
9020
+ const ListContainer = styled.div(_t16$1 || (_t16$1 = _$8`
9013
9021
  padding: 0 0 0 0;
9014
9022
  `));
9015
- styled.div(_t16$1 || (_t16$1 = _$8`
9023
+ styled.div(_t17$1 || (_t17$1 = _$8`
9016
9024
  padding: 0 0 var(--goa-space-l) 0;
9017
9025
  `));
9018
- const UpdateListContainer = styled.div(_t17$1 || (_t17$1 = _$8`
9026
+ const UpdateListContainer = styled.div(_t18$1 || (_t18$1 = _$8`
9019
9027
  width: 100%;
9020
9028
  border: 1px solid #dcdcdc;
9021
9029
  padding: var(--goa-space-xl);
9022
9030
  `));
9023
- styled.div(_t18$1 || (_t18$1 = _$8`
9031
+ styled.div(_t19$1 || (_t19$1 = _$8`
9024
9032
  padding: 0 1.5rem 0 0;
9025
9033
  border: 1px solid #dcdcdc;
9026
9034
  `));
9027
- styled.th(_t19$1 || (_t19$1 = _$8`
9035
+ styled.th(_t20$1 || (_t20$1 = _$8`
9028
9036
  background-color: var(--goa-color-greyscale-100) !important;
9029
9037
  vertical-align: top;
9030
9038
  `));
9031
- const ObjectArrayWarningIconDiv = styled.div(_t20$1 || (_t20$1 = _$8`
9039
+ const ObjectArrayWarningIconDiv = styled.div(_t21$1 || (_t21$1 = _$8`
9032
9040
  display: inline-flex;
9033
9041
  align-items: flex-start;
9034
9042
  gap: 0.25rem;
9035
9043
  font-size: var(--goa-font-size-2);
9036
9044
  color: var(--goa-color-interactive-error);
9037
9045
  `));
9038
- const ListWithDetailWarningIconDiv = styled.div(_t21$1 || (_t21$1 = _$8`
9046
+ const ListWithDetailWarningIconDiv = styled.div(_t22$1 || (_t22$1 = _$8`
9039
9047
  display: inline-flex;
9040
9048
  align-items: flex-start;
9041
9049
  gap: 0.25rem;
9042
9050
  font-size: var(--goa-font-size-3);
9043
9051
  color: var(--goa-color-interactive-error);
9044
9052
  `));
9045
- styled.label(_t22$1 || (_t22$1 = _$8`
9053
+ styled.label(_t23$1 || (_t23$1 = _$8`
9046
9054
  color: var(--goa-color-interactive-error);
9047
9055
  font-weight: var(--goa-font-weight-regular);
9048
9056
  font-size: var(--goa-font-size-3);
9049
9057
  line-height: var(--goa-line-height-1);
9050
9058
  font-style: normal;
9051
9059
  `));
9052
- styled.div(_t23$1 || (_t23$1 = _$8`
9060
+ styled.div(_t24$1 || (_t24$1 = _$8`
9053
9061
  margin-top: var(--goa-space-m);
9054
9062
  color: var(--goa-color-interactive-error);
9055
9063
  font-weight: var(--goa-font-weight-regular);
@@ -9057,10 +9065,10 @@ styled.div(_t23$1 || (_t23$1 = _$8`
9057
9065
  line-height: var(--goa-line-height-1);
9058
9066
  font-style: normal;
9059
9067
  `));
9060
- const HilightCellWarning = styled.div(_t24$1 || (_t24$1 = _$8`
9068
+ const HilightCellWarning = styled.div(_t25$1 || (_t25$1 = _$8`
9061
9069
  background-color: transparent;
9062
9070
  `));
9063
- const FixTableHeaderAlignment = styled.div(_t25$1 || (_t25$1 = _$8`
9071
+ const FixTableHeaderAlignment = styled.div(_t26$1 || (_t26$1 = _$8`
9064
9072
  table thead th:nth-child(3) {
9065
9073
  text-align: center;
9066
9074
  }
@@ -9069,22 +9077,22 @@ const FixTableHeaderAlignment = styled.div(_t25$1 || (_t25$1 = _$8`
9069
9077
  text-align: center;
9070
9078
  }
9071
9079
  `));
9072
- const ListWithDetailsReviewCellDiv = styled.div(_t26$1 || (_t26$1 = _$8`
9080
+ const ListWithDetailsReviewCellDiv = styled.div(_t27$1 || (_t27$1 = _$8`
9073
9081
  display: 'flex';
9074
9082
  flex-direction: 'column';
9075
9083
  text-align: 'start';
9076
9084
  `));
9077
- const IconsContainer = styled.div(_t27$1 || (_t27$1 = _$8`
9085
+ const IconsContainer = styled.div(_t28$1 || (_t28$1 = _$8`
9078
9086
  display: flex;
9079
9087
  align-items: center;
9080
9088
  justify-content: flex-end;
9081
9089
  gap: var(--goa-space-xs);
9082
9090
  padding-bottom: var(--goa-space-xs);
9083
9091
  `));
9084
- const TableContentContainer = styled.div(_t28$1 || (_t28$1 = _$8`
9092
+ const TableContentContainer = styled.div(_t29 || (_t29 = _$8`
9085
9093
  padding: var(--goa-space-l);
9086
9094
  `));
9087
- const NoDataMessage = styled.div(_t29 || (_t29 = _$8`
9095
+ const NoDataMessage = styled.div(_t30 || (_t30 = _$8`
9088
9096
  padding: var(--goa-space-xl) var(--goa-space-l);
9089
9097
  color: var(--goa-color-greyscale-700);
9090
9098
  font: var(--goa-typography-body-m);
@@ -12288,10 +12296,7 @@ const NonEmptyCellComponent = /*#__PURE__*/React.memo(function NonEmptyCellCompo
12288
12296
  });
12289
12297
  const hasRowErrors = (errors || []).some(e => e.instancePath.includes(`/${props.rowPath.replace(/\./g, '/')}/${i}`));
12290
12298
  if (!hasAnyValue && !hasRowErrors) return null;
12291
- return jsx("div", {
12292
- style: {
12293
- marginBottom: '1.5rem'
12294
- },
12299
+ return jsx(ReviewItemFrame, {
12295
12300
  "data-testid": `${rowPath}.objectList-${key}`,
12296
12301
  children: Object.entries(tableKeys).map(([key, label]) => {
12297
12302
  var _required$includes, _properties$key;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.67.13",
3
+ "version": "2.68.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-07-08T16:39:32.719Z",
4
- "sourceCommit": "1af7044ffbc0dd938e1959408d69bca6e44c0fe5",
3
+ "generatedAt": "2026-07-09T17:56:36.899Z",
4
+ "sourceCommit": "14da8d8d672299c489c33a8a1cfc98b795abd682",
5
5
  "sourcePath": "libs/jsonforms-components/src/index.ts",
6
6
  "rendererCount": 33,
7
7
  "renderers": [
@@ -2,6 +2,7 @@ export declare const DeleteDialogContent: import("styled-components/dist/types")
2
2
  export declare const MarginTop: 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;
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
+ 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;
5
6
  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;
6
7
  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;
7
8
  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;