oolib 2.125.3 → 2.125.5

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.
@@ -45,7 +45,7 @@ var ModalConfirmAction = function (_a) {
45
45
  var handleParentClick = function (e) {
46
46
  // usecase: actionMenu in table
47
47
  e.stopPropagation();
48
- setModal(true);
48
+ setModal(e);
49
49
  };
50
50
  var handleConfirm = function () {
51
51
  callback(modal);
@@ -111,7 +111,7 @@ function PDFInput(_a) {
111
111
  react_1.default.createElement(StyledActionsButtonWrapper, null,
112
112
  react_1.default.createElement(PDFActions_1.PDFActions, { id: id, isInRTE: isInRTE, inputRef: inputRef, parentOnChange: parentOnChange })))); })),
113
113
  react_1.default.createElement("input", { type: "file" // When user clicks on upload new video from action menu inputRef.current.click() this does not work for upload button. this approch deals with that issue.
114
- , accept: "application/pdf", ref: inputRef, style: { display: "none" }, id: "pdfField", onChange: function (v) { return handleUpload(v.target.files); } })));
114
+ , accept: "application/pdf", ref: inputRef, style: { display: "none" }, id: "pdfField", onChange: function (v) { return handleUpload({ files: v.target.files }); } })));
115
115
  }
116
116
  exports.default = PDFInput;
117
117
  var templateObject_1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oolib",
3
- "version": "2.125.3",
3
+ "version": "2.125.5",
4
4
  "description": " OKE Component Library",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",