@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.cjs.js
CHANGED
|
@@ -2913,6 +2913,7 @@ var BasicImageUploader = function BasicImageUploader(_ref) {
|
|
|
2913
2913
|
"data-cy": "uploaded-image"
|
|
2914
2914
|
})), /*#__PURE__*/React__default["default"].createElement(neetoui.Button, {
|
|
2915
2915
|
className: "absolute right-3 top-3",
|
|
2916
|
+
"data-cy": "basic-image-uploader-remove-button",
|
|
2916
2917
|
disabled: isDisabled,
|
|
2917
2918
|
icon: neetoIcons.Delete,
|
|
2918
2919
|
size: "small",
|
|
@@ -5146,11 +5147,13 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
5146
5147
|
label: t("neetoImageUploader.imageUpload.imageLibrary"),
|
|
5147
5148
|
onClick: function onClick() {
|
|
5148
5149
|
return setIsAssetLibraryOpen(true);
|
|
5149
|
-
}
|
|
5150
|
+
},
|
|
5151
|
+
"data-cy": "image-uploader-open-image-library-button"
|
|
5150
5152
|
}, {
|
|
5151
5153
|
key: OPTION_KEYS.remove,
|
|
5152
5154
|
label: t("neetoImageUploader.imageUpload.remove"),
|
|
5153
|
-
onClick: handleDelete
|
|
5155
|
+
onClick: handleDelete,
|
|
5156
|
+
"data-cy": "image-uploader-remove-button"
|
|
5154
5157
|
}];
|
|
5155
5158
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
5156
5159
|
className: classnames__default["default"](className, {
|