@abgov/jsonforms-components 1.43.4 → 1.43.6
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 +2 -8
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -7542,6 +7542,7 @@ const LabelDiv = styled.div(_t3 || (_t3 = _$1`
|
|
|
7542
7542
|
font-size: var(--fs-sl);
|
|
7543
7543
|
padding-bottom: 1.5rem;
|
|
7544
7544
|
`));
|
|
7545
|
+
/* istanbul ignore next */
|
|
7545
7546
|
const ListItem = styled.li(_t4 || (_t4 = _$1`
|
|
7546
7547
|
background-color: ${0};
|
|
7547
7548
|
color: ${0};
|
|
@@ -8067,7 +8068,7 @@ const AddressLookUpControl = props => {
|
|
|
8067
8068
|
}
|
|
8068
8069
|
});
|
|
8069
8070
|
fetchSuggestions();
|
|
8070
|
-
}, [searchTerm, dropdownSelected]);
|
|
8071
|
+
}, [searchTerm, dropdownSelected]); // eslint-disable-line react-hooks/exhaustive-deps
|
|
8071
8072
|
const handleDropdownChange = value => {
|
|
8072
8073
|
setSearchTerm(value);
|
|
8073
8074
|
handleInputChange('addressLine1', value);
|
|
@@ -8080,7 +8081,6 @@ const AddressLookUpControl = props => {
|
|
|
8080
8081
|
setErrors({});
|
|
8081
8082
|
setDropdownSelected(true);
|
|
8082
8083
|
};
|
|
8083
|
-
/* istanbul ignore next */
|
|
8084
8084
|
const handleRequiredFieldBlur = name => {
|
|
8085
8085
|
const err = Object.assign({}, errors);
|
|
8086
8086
|
if (!(data === null || data === void 0 ? void 0 : data[name]) || data[name] === '' || (data === null || data === void 0 ? void 0 : data[name]) === undefined) {
|
|
@@ -8092,7 +8092,6 @@ const AddressLookUpControl = props => {
|
|
|
8092
8092
|
setSuggestions([]);
|
|
8093
8093
|
setOpen(false);
|
|
8094
8094
|
};
|
|
8095
|
-
/* istanbul ignore next */
|
|
8096
8095
|
const handleKeyDown = (e, value, key) => {
|
|
8097
8096
|
var _a;
|
|
8098
8097
|
if (key === 'ArrowDown') {
|
|
@@ -8338,7 +8337,6 @@ const NameInputs = ({
|
|
|
8338
8337
|
}) => {
|
|
8339
8338
|
var _a, _b;
|
|
8340
8339
|
const [errors, setErrors] = useState({});
|
|
8341
|
-
/* istanbul ignore next */
|
|
8342
8340
|
// eslint-disable-next-line
|
|
8343
8341
|
const handleRequiredFieldBlur = (name, updatedData) => {
|
|
8344
8342
|
const err = Object.assign({}, errors);
|
|
@@ -8368,7 +8366,6 @@ const NameInputs = ({
|
|
|
8368
8366
|
value: firstName || '',
|
|
8369
8367
|
onChange: (name, value) => handleInputChange(name, value),
|
|
8370
8368
|
onBlur: name => {
|
|
8371
|
-
/* istanbul ignore next */
|
|
8372
8369
|
handleRequiredFieldBlur(name);
|
|
8373
8370
|
},
|
|
8374
8371
|
width: "100%"
|
|
@@ -8399,7 +8396,6 @@ const NameInputs = ({
|
|
|
8399
8396
|
value: lastName || '',
|
|
8400
8397
|
onChange: (name, value) => handleInputChange(name, value),
|
|
8401
8398
|
onBlur: name => {
|
|
8402
|
-
/* istanbul ignore next */
|
|
8403
8399
|
handleRequiredFieldBlur(name);
|
|
8404
8400
|
},
|
|
8405
8401
|
width: "100%"
|
|
@@ -8554,7 +8550,6 @@ const FullNameDobControl = props => {
|
|
|
8554
8550
|
setFormData(updatedData);
|
|
8555
8551
|
updateFormData(updatedData);
|
|
8556
8552
|
};
|
|
8557
|
-
/* istanbul ignore next */
|
|
8558
8553
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
8559
8554
|
const handleRequiredFieldBlur = (name, updatedData) => {
|
|
8560
8555
|
const err = Object.assign({}, errors);
|
|
@@ -8585,7 +8580,6 @@ const FullNameDobControl = props => {
|
|
|
8585
8580
|
handleInputChange(name, value);
|
|
8586
8581
|
},
|
|
8587
8582
|
onBlur: name => {
|
|
8588
|
-
/* istanbul ignore next */
|
|
8589
8583
|
handleRequiredFieldBlur(name);
|
|
8590
8584
|
},
|
|
8591
8585
|
width: "100%"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.6",
|
|
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",
|