@abgov/jsonforms-components 1.43.10 → 1.44.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
|
@@ -5338,7 +5338,8 @@ let _$5 = t => t,
|
|
|
5338
5338
|
_t7$1,
|
|
5339
5339
|
_t8$1,
|
|
5340
5340
|
_t9$1,
|
|
5341
|
-
_t10$1
|
|
5341
|
+
_t10$1,
|
|
5342
|
+
_t11$1;
|
|
5342
5343
|
const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
|
|
5343
5344
|
display: flex;
|
|
5344
5345
|
flex-direction: column;
|
|
@@ -5352,8 +5353,8 @@ const ReviewItem = styled.div(_t$5 || (_t$5 = _$5`
|
|
|
5352
5353
|
`));
|
|
5353
5354
|
const ReviewItemSection = styled.div(_t2$3 || (_t2$3 = _$5`
|
|
5354
5355
|
background-color: #f1f1f1;
|
|
5355
|
-
margin-bottom:
|
|
5356
|
-
padding:
|
|
5356
|
+
margin-bottom: var(--goa-space-m);
|
|
5357
|
+
padding: var(--goa-space-m);
|
|
5357
5358
|
border: 1px solid #dcdcdc;
|
|
5358
5359
|
border-radius: 5px;
|
|
5359
5360
|
`));
|
|
@@ -5361,12 +5362,12 @@ const ReviewItemHeader = styled.div(_t3$3 || (_t3$3 = _$5`
|
|
|
5361
5362
|
display: flex;
|
|
5362
5363
|
align-items: center;
|
|
5363
5364
|
justify-content: space-between;
|
|
5364
|
-
margin-bottom:
|
|
5365
|
+
margin-bottom: var(--goa-space-xl);
|
|
5365
5366
|
`));
|
|
5366
5367
|
const ReviewItemTitle = styled.div(_t4$2 || (_t4$2 = _$5`
|
|
5367
|
-
font-size: var(--
|
|
5368
|
-
line-height: var(--
|
|
5369
|
-
font-weight:
|
|
5368
|
+
font-size: var(--goa-space-l);
|
|
5369
|
+
line-height: var(--goa-space-xl);
|
|
5370
|
+
font-weight: 300;
|
|
5370
5371
|
`));
|
|
5371
5372
|
const Anchor = styled.div(_t5$1 || (_t5$1 = _$5`
|
|
5372
5373
|
color: #0070c4;
|
|
@@ -5397,6 +5398,13 @@ const RightAlignmentDiv = styled.div(_t10$1 || (_t10$1 = _$5`
|
|
|
5397
5398
|
justify-content: flex-end;
|
|
5398
5399
|
margin-bottom: var(--goa-space-l);
|
|
5399
5400
|
`));
|
|
5401
|
+
const FormStepperSummaryH3 = styled.h3(_t11$1 || (_t11$1 = _$5`
|
|
5402
|
+
flex: 1;
|
|
5403
|
+
margin-bottom: var(--goa-space-m);
|
|
5404
|
+
font-size: var(--goa-font-size-7);
|
|
5405
|
+
line-height: var(--goa-line-height-4);
|
|
5406
|
+
font-weight: var(--goa-font-weight-regular);
|
|
5407
|
+
`));
|
|
5400
5408
|
|
|
5401
5409
|
class ContextProviderClass {
|
|
5402
5410
|
addDataByUrl(key, url, processDataFunction, token) {
|
|
@@ -5863,11 +5871,7 @@ const FormStepper = props => {
|
|
|
5863
5871
|
}, `${visibleCategoryLabels[index]}`);
|
|
5864
5872
|
}), jsxs("div", {
|
|
5865
5873
|
"data-testid": "summary_step-content",
|
|
5866
|
-
children: [jsx(
|
|
5867
|
-
style: {
|
|
5868
|
-
flex: 1,
|
|
5869
|
-
marginBottom: '1rem'
|
|
5870
|
-
},
|
|
5874
|
+
children: [jsx(FormStepperSummaryH3, {
|
|
5871
5875
|
children: summaryLabel
|
|
5872
5876
|
}), jsx(FormStepperReviewer, Object.assign({
|
|
5873
5877
|
navigationFunc: setPage
|
|
@@ -7553,12 +7557,10 @@ const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
|
|
|
7553
7557
|
background: var(--color-white);
|
|
7554
7558
|
box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
|
|
7555
7559
|
z-index: 99;
|
|
7556
|
-
padding-left: 0px;
|
|
7557
|
-
|
|
7558
7560
|
overflow: hidden auto;
|
|
7559
7561
|
}
|
|
7560
7562
|
.suggestions li {
|
|
7561
|
-
padding: var(--goa-space-2xs);
|
|
7563
|
+
padding: var(--goa-space-xs) var(--goa-space-2xs) var(--goa-space-xs) 2px;
|
|
7562
7564
|
color: var(--color-gray-900);
|
|
7563
7565
|
}
|
|
7564
7566
|
.suggestion-active,
|
|
@@ -7587,8 +7589,8 @@ const AddressIndent = styled.div(_t2 || (_t2 = _$1`
|
|
|
7587
7589
|
margin: 1em 1.5em 0 1.5em;
|
|
7588
7590
|
`));
|
|
7589
7591
|
const LabelDiv = styled.div(_t3 || (_t3 = _$1`
|
|
7590
|
-
font-size: var(--
|
|
7591
|
-
padding-bottom:
|
|
7592
|
+
font-size: var(--goa-font-size-2);
|
|
7593
|
+
padding-bottom: var(--goa-space-l);
|
|
7592
7594
|
`));
|
|
7593
7595
|
/* istanbul ignore next */
|
|
7594
7596
|
const ListItem = styled.li(_t4 || (_t4 = _$1`
|
|
@@ -8045,7 +8047,7 @@ const AddressLookUpControl = props => {
|
|
|
8045
8047
|
const formUrl = `${formHost}/${ADDRESS_PATH}`;
|
|
8046
8048
|
const autocompletion = ((_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.autocomplete) !== false;
|
|
8047
8049
|
const [open, setOpen] = useState(false);
|
|
8048
|
-
const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' && uischema.label ? uischema.label :
|
|
8050
|
+
const label = typeof (uischema === null || uischema === void 0 ? void 0 : uischema.label) === 'string' && uischema.label ? uischema.label : '';
|
|
8049
8051
|
const defaultAddress = {
|
|
8050
8052
|
addressLine1: '',
|
|
8051
8053
|
addressLine2: '',
|
|
@@ -8165,8 +8167,10 @@ const AddressLookUpControl = props => {
|
|
|
8165
8167
|
};
|
|
8166
8168
|
const readOnly = (_f = (_e = (_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.componentProps) === null || _e === void 0 ? void 0 : _e.readOnly) !== null && _f !== void 0 ? _f : false;
|
|
8167
8169
|
return jsxs("div", {
|
|
8168
|
-
children: [renderHelp(), jsx(
|
|
8169
|
-
|
|
8170
|
+
children: [renderHelp(), jsx("h3", {
|
|
8171
|
+
children: label
|
|
8172
|
+
}), jsx(GoAFormItem, {
|
|
8173
|
+
label: 'Street address or P.O. box',
|
|
8170
8174
|
error: (_g = errors === null || errors === void 0 ? void 0 : errors['addressLine1']) !== null && _g !== void 0 ? _g : '',
|
|
8171
8175
|
"data-testId": "form-address-line1",
|
|
8172
8176
|
children: jsxs(SearchBox, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.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",
|
|
@@ -9,3 +9,4 @@ export declare const ReviewListWrapper: import("styled-components/dist/types").I
|
|
|
9
9
|
export declare const ListWithDetail: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
10
10
|
export declare const ListWithDetailHeading: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, never>> & string;
|
|
11
11
|
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;
|
|
12
|
+
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;
|