@abgov/jsonforms-components 2.4.6 → 2.5.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.
Files changed (2) hide show
  1. package/index.esm.js +4 -4
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -8535,7 +8535,8 @@ const FileUploader = _ref => {
8535
8535
  deleteTrigger(fileInList, propertyId);
8536
8536
  }
8537
8537
  }
8538
- uploadTrigger(file, propertyId);
8538
+ // To support multipleFileUploader, the propertyId (path) is in propertyId.index format
8539
+ uploadTrigger(file, `${propertyId}.${fileListLength}`);
8539
8540
  setDeleteHide(false);
8540
8541
  }
8541
8542
  }
@@ -8998,10 +8999,9 @@ const DeleteDialog = /*#__PURE__*/React.memo(function DeleteDialog({
8998
8999
  heading: title,
8999
9000
  children: [jsx(DeleteDialogContent, {
9000
9001
  "data-testid": "object-array-modal-content",
9001
- children: message
9002
+ children: `${message}?`
9002
9003
  }), jsxs(GoAButtonGroup, {
9003
9004
  alignment: "end",
9004
- mb: 'l',
9005
9005
  children: [jsx(GoAButton, {
9006
9006
  type: "secondary",
9007
9007
  testId: "object-array-modal-button",
@@ -10141,7 +10141,7 @@ const ListWithDetailsControl = props => {
10141
10141
  onCancel: deleteCancel,
10142
10142
  onConfirm: deleteConfirm,
10143
10143
  title: props.translations.deleteDialogTitle || '',
10144
- message: `Are you sure you wish to delete ${name} `
10144
+ message: `Are you sure you wish to delete ${name}`
10145
10145
  })]
10146
10146
  });
10147
10147
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.4.6",
3
+ "version": "2.5.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",