@abgov/jsonforms-components 2.38.0 → 2.38.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 +7 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -5250,7 +5250,7 @@ const GoAInputBaseControl = props => {
|
|
|
5250
5250
|
children: jsx(GoAFormItem, {
|
|
5251
5251
|
requirement: (_c = (_b = (_a = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _a === void 0 ? void 0 : _a.componentProps) === null || _b === void 0 ? void 0 : _b.requirement) !== null && _c !== void 0 ? _c : required || getRequiredIfThen(props).length > 0 ? 'required' : undefined,
|
|
5252
5252
|
error: isVisited === true ? modifiedErrors : undefined,
|
|
5253
|
-
testId:
|
|
5253
|
+
testId: isStepperReview === true ? `review-base-${path}` : path,
|
|
5254
5254
|
label: (props === null || props === void 0 ? void 0 : props.noLabel) === true ? '' : labelToUpdate,
|
|
5255
5255
|
helpText: typeof ((_d = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _d === void 0 ? void 0 : _d.help) === 'string' && !isStepperReview ? (_e = uischema === null || uischema === void 0 ? void 0 : uischema.options) === null || _e === void 0 ? void 0 : _e.help : '',
|
|
5256
5256
|
children: jsx(InnerComponent, Object.assign({}, props, {
|
|
@@ -8749,10 +8749,12 @@ const ApplicationStatus = ({
|
|
|
8749
8749
|
const completed = completedGroups;
|
|
8750
8750
|
const badge = totalGroups === completed ? jsx(GoABadge, {
|
|
8751
8751
|
type: "success",
|
|
8752
|
-
content: "Complete"
|
|
8752
|
+
content: "Complete",
|
|
8753
|
+
icon: false
|
|
8753
8754
|
}) : jsx(GoABadge, {
|
|
8754
8755
|
type: "information",
|
|
8755
|
-
content: "Incomplete"
|
|
8756
|
+
content: "Incomplete",
|
|
8757
|
+
icon: false
|
|
8756
8758
|
});
|
|
8757
8759
|
const mainHeading = 'Application Progress';
|
|
8758
8760
|
const progressPercentageAccurate = 100 * completed / totalGroups;
|
|
@@ -8833,7 +8835,8 @@ const getCategoryStatusBadge = category => {
|
|
|
8833
8835
|
jsx(GoABadge, {
|
|
8834
8836
|
type: badgeType,
|
|
8835
8837
|
content: status,
|
|
8836
|
-
ariaLabel: status
|
|
8838
|
+
ariaLabel: status,
|
|
8839
|
+
icon: false
|
|
8837
8840
|
})
|
|
8838
8841
|
// </div>
|
|
8839
8842
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.38.
|
|
3
|
+
"version": "2.38.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",
|