@abgov/jsonforms-components 2.13.0 → 2.13.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 +5 -5
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -10291,7 +10291,6 @@ class ListWithDetailControl extends React.Component {
|
|
|
10291
10291
|
}
|
|
10292
10292
|
|
|
10293
10293
|
const ListWithDetailsControl = props => {
|
|
10294
|
-
var _a, _b;
|
|
10295
10294
|
const [open, setOpen] = useState(false);
|
|
10296
10295
|
const [path, setPath] = useState();
|
|
10297
10296
|
const [name, setName] = useState();
|
|
@@ -10324,9 +10323,10 @@ const ListWithDetailsControl = props => {
|
|
|
10324
10323
|
setOpen(false);
|
|
10325
10324
|
// eslint-disable-next-line
|
|
10326
10325
|
}, [setOpen, path, rowData, rowData]);
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10326
|
+
// const deleteTitle =
|
|
10327
|
+
// props.translations !== null && props.translations.deleteDialogTitle !== undefined
|
|
10328
|
+
// ? props.translations.deleteDialogTitle
|
|
10329
|
+
// : '';
|
|
10330
10330
|
return jsxs(Visible, {
|
|
10331
10331
|
visible: visible,
|
|
10332
10332
|
children: [jsx(ListWithDetailControl, Object.assign({}, props, {
|
|
@@ -10338,7 +10338,7 @@ const ListWithDetailsControl = props => {
|
|
|
10338
10338
|
open: open,
|
|
10339
10339
|
onCancel: deleteCancel,
|
|
10340
10340
|
onConfirm: deleteConfirm,
|
|
10341
|
-
title:
|
|
10341
|
+
title: 'Delete confirmation',
|
|
10342
10342
|
message: `Are you sure you wish to delete ${name}`
|
|
10343
10343
|
})]
|
|
10344
10344
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abgov/jsonforms-components",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.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",
|