@abgov/jsonforms-components 1.44.3 → 1.44.5
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 +6 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -5107,7 +5107,7 @@ const BooleanComponent = ({
|
|
|
5107
5107
|
errors,
|
|
5108
5108
|
schema
|
|
5109
5109
|
}) => {
|
|
5110
|
-
var _a, _b;
|
|
5110
|
+
var _a, _b, _c;
|
|
5111
5111
|
const errorsFormInput = checkFieldValidity({
|
|
5112
5112
|
data,
|
|
5113
5113
|
uischema,
|
|
@@ -5116,7 +5116,7 @@ const BooleanComponent = ({
|
|
|
5116
5116
|
errors,
|
|
5117
5117
|
schema
|
|
5118
5118
|
});
|
|
5119
|
-
const text = `${(
|
|
5119
|
+
const text = `${((_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.text) ? (_b = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _b === void 0 ? void 0 : _b.text : (schema === null || schema === void 0 ? void 0 : schema.title) ? schema === null || schema === void 0 ? void 0 : schema.title : schema === null || schema === void 0 ? void 0 : schema.description}${required ? ' (required)' : ''}`;
|
|
5120
5120
|
return jsx(GoACheckbox, Object.assign({
|
|
5121
5121
|
error: errorsFormInput.length > 0,
|
|
5122
5122
|
testId: `${path}-checkbox-test-id`,
|
|
@@ -5127,7 +5127,7 @@ const BooleanComponent = ({
|
|
|
5127
5127
|
onChange: (_, checked) => {
|
|
5128
5128
|
handleChange(path, checked);
|
|
5129
5129
|
}
|
|
5130
|
-
}, (
|
|
5130
|
+
}, (_c = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _c === void 0 ? void 0 : _c.componentProps, {
|
|
5131
5131
|
mb: "none"
|
|
5132
5132
|
}));
|
|
5133
5133
|
};
|
|
@@ -7593,10 +7593,9 @@ const SearchBox = styled.div(_t$1 || (_t$1 = _$1`
|
|
|
7593
7593
|
box-shadow: 0 8px 8px rgb(0 0 0 / 20%), 0 4px 4px rgb(0 0 0 / 10%);
|
|
7594
7594
|
z-index: 99;
|
|
7595
7595
|
overflow: hidden auto;
|
|
7596
|
+
padding-left: 0;
|
|
7596
7597
|
}
|
|
7597
7598
|
.suggestions li {
|
|
7598
|
-
padding: var(--goa-space-xs) var(--goa-space-2xs) var(--goa-space-xs) 2px;
|
|
7599
|
-
color: var(--color-gray-900);
|
|
7600
7599
|
}
|
|
7601
7600
|
.suggestion-active,
|
|
7602
7601
|
.suggestions li:hover {
|
|
@@ -7642,6 +7641,8 @@ const ListItem = styled.li(_t6 || (_t6 = _$1`
|
|
|
7642
7641
|
background-color: ${0};
|
|
7643
7642
|
color: ${0};
|
|
7644
7643
|
font-weight: ${0};
|
|
7644
|
+
padding: var(--goa-space-xs) var(--goa-space-2xs) var(--goa-space-xs) var(--goa-space-xs);
|
|
7645
|
+
margin-left: 0.25rem;
|
|
7645
7646
|
`), ({
|
|
7646
7647
|
selectedIndex,
|
|
7647
7648
|
index
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.5",
|
|
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",
|