@abgov/jsonforms-components 2.8.0 → 2.9.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 +4 -0
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -10073,6 +10073,7 @@ const ObjectArrayList = ({
|
|
|
10073
10073
|
currentIndex,
|
|
10074
10074
|
setCurrentIndex
|
|
10075
10075
|
}) => {
|
|
10076
|
+
var _a, _b;
|
|
10076
10077
|
const isEmptyList = data === 0;
|
|
10077
10078
|
const rightRef = useRef(null);
|
|
10078
10079
|
const current = rightRef.current;
|
|
@@ -10093,6 +10094,9 @@ const ObjectArrayList = ({
|
|
|
10093
10094
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
10094
10095
|
}, [current, rightHeight, rightRef]);
|
|
10095
10096
|
if (isEmptyList) {
|
|
10097
|
+
if (((_a = uischema.options) === null || _a === void 0 ? void 0 : _a.noDataMessage) !== undefined) {
|
|
10098
|
+
translations.noDataMessage = (_b = uischema.options) === null || _b === void 0 ? void 0 : _b.noDataMessage;
|
|
10099
|
+
}
|
|
10096
10100
|
return jsx(EmptyList, {
|
|
10097
10101
|
numColumns: getValidColumnProps(schema).length + 1,
|
|
10098
10102
|
translations: translations
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.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",
|