@abgov/jsonforms-components 2.11.1 → 2.12.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 +2 -2
  2. package/package.json +1 -1
package/index.esm.js CHANGED
@@ -8700,12 +8700,12 @@ const FileUploader = _ref => {
8700
8700
  children: [jsx("div", {
8701
8701
  children: getFileName(index)
8702
8702
  }), jsxs(GoAContextMenu, {
8703
- children: [jsx(GoAContextMenuIcon, {
8703
+ children: [noDownloadButton !== true && jsx(GoAContextMenuIcon, {
8704
8704
  testId: "download-icon",
8705
8705
  title: "Download",
8706
8706
  type: "download",
8707
8707
  onClick: () => downloadFile(getFile(index))
8708
- }), noDownloadButton !== true && jsx(GoAContextMenuIcon, {
8708
+ }), jsx(GoAContextMenuIcon, {
8709
8709
  "data-testid": "delete-icon",
8710
8710
  title: "Delete",
8711
8711
  type: "trash",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abgov/jsonforms-components",
3
- "version": "2.11.1",
3
+ "version": "2.12.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",