@bigbinary/neeto-image-uploader-frontend 1.5.1 → 1.5.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/dist/index.cjs.js +5 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/types.d.ts +4 -4
package/dist/index.js
CHANGED
|
@@ -2902,6 +2902,7 @@ var BasicImageUploader = function BasicImageUploader(_ref) {
|
|
|
2902
2902
|
"data-cy": "uploaded-image"
|
|
2903
2903
|
})), /*#__PURE__*/React.createElement(Button, {
|
|
2904
2904
|
className: "absolute right-3 top-3",
|
|
2905
|
+
"data-cy": "basic-image-uploader-remove-button",
|
|
2905
2906
|
disabled: isDisabled,
|
|
2906
2907
|
icon: Delete,
|
|
2907
2908
|
size: "small",
|
|
@@ -5135,11 +5136,13 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
5135
5136
|
label: t("neetoImageUploader.imageUpload.imageLibrary"),
|
|
5136
5137
|
onClick: function onClick() {
|
|
5137
5138
|
return setIsAssetLibraryOpen(true);
|
|
5138
|
-
}
|
|
5139
|
+
},
|
|
5140
|
+
"data-cy": "image-uploader-open-image-library-button"
|
|
5139
5141
|
}, {
|
|
5140
5142
|
key: OPTION_KEYS.remove,
|
|
5141
5143
|
label: t("neetoImageUploader.imageUpload.remove"),
|
|
5142
|
-
onClick: handleDelete
|
|
5144
|
+
onClick: handleDelete,
|
|
5145
|
+
"data-cy": "image-uploader-remove-button"
|
|
5143
5146
|
}];
|
|
5144
5147
|
return /*#__PURE__*/React.createElement("div", {
|
|
5145
5148
|
className: classnames(className, {
|