@bigbinary/neeto-image-uploader-frontend 1.4.12 → 1.4.13
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 +6 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +6 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6204,7 +6204,8 @@ var ImageUpload = function ImageUpload(_ref) {
|
|
|
6204
6204
|
i18nKey: "neetoImageUploader.imageUpload.dragAndDropOrBrowseFile",
|
|
6205
6205
|
components: {
|
|
6206
6206
|
span: /*#__PURE__*/React.createElement("span", {
|
|
6207
|
-
className: "neeto-ui-text-primary-500"
|
|
6207
|
+
className: "neeto-ui-text-primary-500",
|
|
6208
|
+
"data-cy": "upload-button"
|
|
6208
6209
|
})
|
|
6209
6210
|
}
|
|
6210
6211
|
})), /*#__PURE__*/React.createElement(Typography, {
|
|
@@ -6221,7 +6222,9 @@ var ImageUpload = function ImageUpload(_ref) {
|
|
|
6221
6222
|
className: "neeto-ui-text-primary-500"
|
|
6222
6223
|
})
|
|
6223
6224
|
}
|
|
6224
|
-
})), /*#__PURE__*/React.createElement("input",
|
|
6225
|
+
})), /*#__PURE__*/React.createElement("input", _extends$1({}, getInputProps(), {
|
|
6226
|
+
"data-cy": "image-upload-input"
|
|
6227
|
+
})), /*#__PURE__*/React.createElement(Typography, {
|
|
6225
6228
|
className: "text-center leading-4",
|
|
6226
6229
|
style: "body3"
|
|
6227
6230
|
}, /*#__PURE__*/React.createElement(Trans, {
|
|
@@ -6396,6 +6399,7 @@ var ImageUploader = function ImageUploader(_ref) {
|
|
|
6396
6399
|
className: "neeto-ui-bg-gray-300 w-px"
|
|
6397
6400
|
}), /*#__PURE__*/React.createElement(Button, {
|
|
6398
6401
|
className: "bg-transparent p-0",
|
|
6402
|
+
"data-cy": "attachment-remove-button",
|
|
6399
6403
|
label: t("neetoImageUploader.imageUpload.delete"),
|
|
6400
6404
|
style: "danger-text",
|
|
6401
6405
|
onClick: handleDelete
|