@abgov/jsonforms-components 2.32.0 → 2.32.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
@@ -7111,7 +7111,8 @@ let _$6 = t => t,
7111
7111
  _t18$1,
7112
7112
  _t19,
7113
7113
  _t20,
7114
- _t21;
7114
+ _t21,
7115
+ _t22;
7115
7116
  const ReviewItem = styled.div(_t$6 || (_t$6 = _$6`
7116
7117
  display: flex;
7117
7118
  flex-direction: column;
@@ -7254,6 +7255,9 @@ const SummaryRowLink = styled.a(_t21 || (_t21 = _$6`
7254
7255
  position: relative;
7255
7256
  top: var(--goa-space-xs);
7256
7257
  `));
7258
+ styled.td(_t22 || (_t22 = _$6`
7259
+ border: 0 !important;
7260
+ `));
7257
7261
 
7258
7262
  class ContextProviderClass {
7259
7263
  async addDataByUrl(key, url, processDataFunction, token) {
@@ -8400,10 +8404,10 @@ const CategoryRow = ({
8400
8404
  "data-testid": `page-ref-${index}`,
8401
8405
  children: [jsx("td", {
8402
8406
  children: category.label
8403
- }), jsx(CategoryStatus, {
8407
+ }, `task-list-${index}-stepper-row-label`), jsx(CategoryStatus, {
8404
8408
  children: getCategoryStatusBadge(category)
8405
8409
  })]
8406
- }) : null;
8410
+ }, `task-list-${index}-stepper-row`) : null;
8407
8411
  };
8408
8412
 
8409
8413
  /* eslint-disable jsx-a11y/anchor-is-valid */
@@ -8466,7 +8470,7 @@ const TaskList = ({
8466
8470
  children: [sectioned.map(({
8467
8471
  sectionTitle,
8468
8472
  categories: group
8469
- }) => jsxs(Fragment, {
8473
+ }, index) => jsxs(React.Fragment, {
8470
8474
  children: [sectionTitle && showInTaskListList[globalIndex] && jsx(SectionHeaderRow, {
8471
8475
  title: sectionTitle,
8472
8476
  index: sectionIndex++
@@ -8499,14 +8503,14 @@ const TaskList = ({
8499
8503
  category: currentCategory,
8500
8504
  index: index,
8501
8505
  onClick: onClick
8502
- }, `cat-${category.label}`);
8506
+ }, `cat-${category.label}-${index}`);
8503
8507
  }
8504
8508
  })]
8505
- })), jsx(SummaryRow, {
8509
+ }, index)), jsx(SummaryRow, {
8506
8510
  index: globalIndex,
8507
8511
  isValid: isValid,
8508
8512
  onClick: onClick
8509
- })]
8513
+ }, "task-list-table-summary")]
8510
8514
  })
8511
8515
  })]
8512
8516
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.32.0",
3
+ "version": "2.32.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",
@@ -24,4 +24,5 @@ interface PageStepperRowProps {
24
24
  export declare const PageStepperRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, PageStepperRowProps>> & string;
25
25
  export declare const SectionHeaderRowTr: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
26
26
  export declare const SummaryRowLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
27
+ export declare const SummaryTd: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
27
28
  export {};