@abgov/jsonforms-components 2.6.1 → 2.6.2
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
|
@@ -6888,7 +6888,8 @@ let _$5 = t => t,
|
|
|
6888
6888
|
_t19$1,
|
|
6889
6889
|
_t20$1,
|
|
6890
6890
|
_t21,
|
|
6891
|
-
_t22
|
|
6891
|
+
_t22,
|
|
6892
|
+
_t23;
|
|
6892
6893
|
const ReviewItem = styled.div(_t$6 || (_t$6 = _$5`
|
|
6893
6894
|
display: flex;
|
|
6894
6895
|
flex-direction: column;
|
|
@@ -6966,47 +6967,50 @@ const FormStepperSummaryH3 = styled.h3(_t11$1 || (_t11$1 = _$5`
|
|
|
6966
6967
|
const PageRenderPadding = styled.div(_t12$1 || (_t12$1 = _$5`
|
|
6967
6968
|
margin-top: var(--goa-space-2xl);
|
|
6968
6969
|
`));
|
|
6969
|
-
const
|
|
6970
|
+
const PageRenderPaddingBottom = styled.div(_t13$1 || (_t13$1 = _$5`
|
|
6971
|
+
margin-bottom: var(--goa-space-2xl);
|
|
6972
|
+
`));
|
|
6973
|
+
const PageBorder = styled.h3(_t14$1 || (_t14$1 = _$5`
|
|
6970
6974
|
padding: var(--goa-space-3xl);
|
|
6971
6975
|
`));
|
|
6972
|
-
const TableReviewItemSection = styled.div(
|
|
6976
|
+
const TableReviewItemSection = styled.div(_t15$1 || (_t15$1 = _$5`
|
|
6973
6977
|
.element-style {
|
|
6974
6978
|
max-width: 1600px;
|
|
6975
6979
|
}
|
|
6976
6980
|
`));
|
|
6977
|
-
const TableReviewItem = styled.div(
|
|
6981
|
+
const TableReviewItem = styled.div(_t16$1 || (_t16$1 = _$5`
|
|
6978
6982
|
border: 1px solid #dcdcdc;
|
|
6979
6983
|
border-radius: 5px;
|
|
6980
6984
|
padding: var(--goa-space-2xl);
|
|
6981
6985
|
`));
|
|
6982
|
-
const TableReviewPageTitleRow = styled.div(
|
|
6986
|
+
const TableReviewPageTitleRow = styled.div(_t17$1 || (_t17$1 = _$5`
|
|
6983
6987
|
margin-top: var(--goa-space-xl);
|
|
6984
6988
|
display: flex;
|
|
6985
6989
|
justify-content: space-between;
|
|
6986
6990
|
`));
|
|
6987
|
-
const TableReviewCategoryLabel = styled.h3(
|
|
6991
|
+
const TableReviewCategoryLabel = styled.h3(_t18$1 || (_t18$1 = _$5`
|
|
6988
6992
|
color: var(--goa-color-text-secondary) !important;
|
|
6989
6993
|
margin-bottom: var(--goa-space-l);
|
|
6990
6994
|
`));
|
|
6991
|
-
const CategoryStatus = styled.td(
|
|
6995
|
+
const CategoryStatus = styled.td(_t19$1 || (_t19$1 = _$5`
|
|
6992
6996
|
width: var(--goa-space-xl);
|
|
6993
6997
|
padding-right: var(--goa-space-xl);
|
|
6994
6998
|
`));
|
|
6995
|
-
const TocPageRef = styled.td(
|
|
6999
|
+
const TocPageRef = styled.td(_t20$1 || (_t20$1 = _$5`
|
|
6996
7000
|
padding-left: var(--goa-space-xl);
|
|
6997
7001
|
`));
|
|
6998
|
-
const TocTitle = styled.h1(
|
|
7002
|
+
const TocTitle = styled.h1(_t21 || (_t21 = _$5`
|
|
6999
7003
|
padding: 0;
|
|
7000
7004
|
margin: 0;
|
|
7001
7005
|
padding-left: var(--goa-space-xl);
|
|
7002
7006
|
padding-bottom: var(--goa-space-3xl);
|
|
7003
7007
|
`));
|
|
7004
|
-
const TocSubtitle = styled.h2(
|
|
7008
|
+
const TocSubtitle = styled.h2(_t22 || (_t22 = _$5`
|
|
7005
7009
|
padding: 0;
|
|
7006
7010
|
margin: 0;
|
|
7007
7011
|
padding-left: var(--goa-space-xl);
|
|
7008
7012
|
`));
|
|
7009
|
-
const CompletionStatus = styled.div(
|
|
7013
|
+
const CompletionStatus = styled.div(_t23 || (_t23 = _$5`
|
|
7010
7014
|
padding: 0;
|
|
7011
7015
|
margin: 0;
|
|
7012
7016
|
padding-left: var(--goa-space-xl);
|
|
@@ -8301,7 +8305,13 @@ const RenderPages = props => {
|
|
|
8301
8305
|
}
|
|
8302
8306
|
}), isOnReview && jsxs("div", {
|
|
8303
8307
|
"data-testid": "stepper-pages-review-page",
|
|
8304
|
-
children: [jsx(
|
|
8308
|
+
children: [jsx(PageRenderPaddingBottom, {
|
|
8309
|
+
children: jsx(BackButton, {
|
|
8310
|
+
testId: "review-back-button",
|
|
8311
|
+
link: () => goToTableOfContext(),
|
|
8312
|
+
text: "Back"
|
|
8313
|
+
})
|
|
8314
|
+
}), jsx(FormStepperPageReviewer, Object.assign({}, props.categoryProps, {
|
|
8305
8315
|
navigationFunc: goToPage
|
|
8306
8316
|
})), jsx(PageRenderPadding, {
|
|
8307
8317
|
children: jsx(GoAButtonGroup, {
|
|
@@ -10419,7 +10429,7 @@ const fetchAddressSuggestions = async (formUrl, searchTerm, isAlbertaAddress) =>
|
|
|
10419
10429
|
}
|
|
10420
10430
|
};
|
|
10421
10431
|
const filterAlbertaAddresses = suggestions => {
|
|
10422
|
-
return suggestions.filter(suggestion => suggestion.Description.includes('AB'));
|
|
10432
|
+
return suggestions.filter(suggestion => suggestion.Description.includes('AB')).slice(0, 10);
|
|
10423
10433
|
};
|
|
10424
10434
|
const filterSuggestionsWithoutAddressCount = suggestions => {
|
|
10425
10435
|
return suggestions.filter(suggestion => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.2",
|
|
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",
|
|
@@ -10,6 +10,7 @@ export declare const ListWithDetailHeading: import("styled-components/dist/types
|
|
|
10
10
|
export declare const RightAlignmentDiv: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
11
11
|
export declare const FormStepperSummaryH3: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
12
12
|
export declare const PageRenderPadding: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
|
+
export declare const PageRenderPaddingBottom: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
13
14
|
export declare const PageBorder: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
14
15
|
export declare const TableReviewItemSection: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
15
16
|
export declare const TableReviewItem: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|