@abgov/jsonforms-components 2.27.0 → 2.27.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
|
@@ -7100,8 +7100,7 @@ let _$5 = t => t,
|
|
|
7100
7100
|
_t20$1,
|
|
7101
7101
|
_t21,
|
|
7102
7102
|
_t22,
|
|
7103
|
-
_t23
|
|
7104
|
-
_t24;
|
|
7103
|
+
_t23;
|
|
7105
7104
|
const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
|
|
7106
7105
|
display: flex;
|
|
7107
7106
|
flex-direction: column;
|
|
@@ -7202,17 +7201,14 @@ const TableReviewCategoryLabel = styled.h3(_t18$1 || (_t18$1 = _$5`
|
|
|
7202
7201
|
const CategoryStatus = styled.td(_t19$1 || (_t19$1 = _$5`
|
|
7203
7202
|
width: var(--goa-space-xl);
|
|
7204
7203
|
padding-right: var(--goa-space-xl);
|
|
7204
|
+
align-content: center;
|
|
7205
7205
|
`));
|
|
7206
|
-
const
|
|
7207
|
-
padding-left: var(--goa-space-xl);
|
|
7208
|
-
`));
|
|
7209
|
-
const CompletionStatus = styled.div(_t21 || (_t21 = _$5`
|
|
7206
|
+
const CompletionStatus = styled.div(_t20$1 || (_t20$1 = _$5`
|
|
7210
7207
|
padding: 0;
|
|
7211
7208
|
margin: 0;
|
|
7212
|
-
|
|
7213
|
-
padding-bottom: var(--goa-space-xl);
|
|
7209
|
+
margin-bottom: 0 !important;
|
|
7214
7210
|
`));
|
|
7215
|
-
const PageStepperRow = styled.tr(
|
|
7211
|
+
const PageStepperRow = styled.tr(_t21 || (_t21 = _$5`
|
|
7216
7212
|
${0}
|
|
7217
7213
|
`), ({
|
|
7218
7214
|
disabled
|
|
@@ -7222,18 +7218,19 @@ const PageStepperRow = styled.tr(_t22 || (_t22 = _$5`
|
|
|
7222
7218
|
` : `
|
|
7223
7219
|
cursor: pointer;
|
|
7224
7220
|
`);
|
|
7225
|
-
const SectionHeaderRowTr = styled.tr(
|
|
7221
|
+
const SectionHeaderRowTr = styled.tr(_t22 || (_t22 = _$5`
|
|
7226
7222
|
& > td {
|
|
7227
7223
|
border: 0 !important;
|
|
7228
7224
|
padding-top: var(--goa-space-l);
|
|
7229
7225
|
padding-bottom: var(--goa-space-s);
|
|
7226
|
+
padding-left: 0 !important;
|
|
7230
7227
|
}
|
|
7231
7228
|
|
|
7232
7229
|
& + tr > td {
|
|
7233
7230
|
border-top: none !important;
|
|
7234
7231
|
}
|
|
7235
7232
|
`));
|
|
7236
|
-
const SummaryRowLink = styled.a(
|
|
7233
|
+
const SummaryRowLink = styled.a(_t23 || (_t23 = _$5`
|
|
7237
7234
|
position: relative;
|
|
7238
7235
|
top: var(--goa-space-xs);
|
|
7239
7236
|
`));
|
|
@@ -8338,9 +8335,8 @@ const SectionHeaderRow = ({
|
|
|
8338
8335
|
colSpan: 2,
|
|
8339
8336
|
children: jsx(GoAText, {
|
|
8340
8337
|
size: "heading-m",
|
|
8341
|
-
mt: "
|
|
8338
|
+
mt: "xl",
|
|
8342
8339
|
mb: "m",
|
|
8343
|
-
ml: "m",
|
|
8344
8340
|
children: section
|
|
8345
8341
|
})
|
|
8346
8342
|
})
|
|
@@ -8374,7 +8370,7 @@ const CategoryRow = ({
|
|
|
8374
8370
|
}) => {
|
|
8375
8371
|
return category.visible ? jsxs(PageStepperRow, {
|
|
8376
8372
|
disabled: !(category === null || category === void 0 ? void 0 : category.isEnabled),
|
|
8377
|
-
children: [jsx(
|
|
8373
|
+
children: [jsx("td", {
|
|
8378
8374
|
children: jsx("a", {
|
|
8379
8375
|
"data-testid": `page-ref-${index}`,
|
|
8380
8376
|
href: "#",
|
|
@@ -8382,10 +8378,7 @@ const CategoryRow = ({
|
|
|
8382
8378
|
e.preventDefault();
|
|
8383
8379
|
onClick(index);
|
|
8384
8380
|
},
|
|
8385
|
-
children:
|
|
8386
|
-
ml: "l",
|
|
8387
|
-
children: category.label
|
|
8388
|
-
})
|
|
8381
|
+
children: category.label
|
|
8389
8382
|
})
|
|
8390
8383
|
}), jsx(CategoryStatus, {
|
|
8391
8384
|
children: getCategoryStatusBadge(category)
|
|
@@ -8402,9 +8395,8 @@ const SummaryRow = ({
|
|
|
8402
8395
|
return jsx("tr", {
|
|
8403
8396
|
children: jsx(GoAText, {
|
|
8404
8397
|
size: "heading-m",
|
|
8405
|
-
mt: "
|
|
8398
|
+
mt: "xl",
|
|
8406
8399
|
mb: "xl",
|
|
8407
|
-
ml: "xl",
|
|
8408
8400
|
children: jsx(SummaryRowLink, {
|
|
8409
8401
|
"data-testid": `page-ref-${index}`,
|
|
8410
8402
|
href: "#",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.27.
|
|
3
|
+
"version": "2.27.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",
|
|
@@ -17,7 +17,6 @@ export declare const TableReviewItem: import("styled-components/dist/types").ISt
|
|
|
17
17
|
export declare const TableReviewPageTitleRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
18
18
|
export declare const TableReviewCategoryLabel: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
19
19
|
export declare const CategoryStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
20
|
-
export declare const TocPageRef: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
21
20
|
export declare const CompletionStatus: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
22
21
|
interface PageStepperRowProps {
|
|
23
22
|
disabled: boolean;
|