@abgov/jsonforms-components 2.47.5 → 2.47.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 +10 -11
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -13131,16 +13131,12 @@ const getCategoryStatus = category => {
|
|
|
13131
13131
|
const getCategoryStatusBadge = category => {
|
|
13132
13132
|
const status = getCategoryStatus(category);
|
|
13133
13133
|
const badgeType = status === PageStatus.Complete ? 'success' : 'information';
|
|
13134
|
-
return (
|
|
13135
|
-
|
|
13136
|
-
|
|
13137
|
-
|
|
13138
|
-
|
|
13139
|
-
|
|
13140
|
-
icon: false
|
|
13141
|
-
})
|
|
13142
|
-
// </div>
|
|
13143
|
-
);
|
|
13134
|
+
return jsx(GoabBadge, {
|
|
13135
|
+
type: badgeType,
|
|
13136
|
+
content: status,
|
|
13137
|
+
ariaLabel: status,
|
|
13138
|
+
icon: false
|
|
13139
|
+
});
|
|
13144
13140
|
};
|
|
13145
13141
|
|
|
13146
13142
|
/* eslint-disable jsx-a11y/anchor-is-valid */
|
|
@@ -13160,7 +13156,10 @@ const CategoryRow = ({
|
|
|
13160
13156
|
onKeyDown: e => e.key === 'Enter' && onClick(index),
|
|
13161
13157
|
"data-testid": `page-ref-${index}`,
|
|
13162
13158
|
children: [jsx("td", {
|
|
13163
|
-
children:
|
|
13159
|
+
children: jsx("a", {
|
|
13160
|
+
href: "#",
|
|
13161
|
+
children: category.label
|
|
13162
|
+
})
|
|
13164
13163
|
}, `task-list-${index}-stepper-row-label`), jsx(CategoryStatus, {
|
|
13165
13164
|
children: jsx(Center, {
|
|
13166
13165
|
children: getCategoryStatusBadge(category)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.47.
|
|
3
|
+
"version": "2.47.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",
|