diff --git a/CHANGELOG.md b/CHANGELOG.md index 9665449..a2782cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,12 @@ # Changelog +## 1.1.4 (2024-03-05) + +- Fix: A bug caused by trying to update `_custupDefaultUploadSentence` option in `setOptions` method. + ## 1.1.3 (2024-03-05) -Fix: Corrected the type mistake made in version 1.1.2 by removing `targetRootElement`, it is now optional in type but still required by CustUp. +- Fix: Corrected the type mistake made in version 1.1.2 by removing `targetRootElement`, it is now optional in type but still required by CustUp. ## 1.1.2 (2024-03-05) diff --git a/core/custupCore.d.ts b/core/custupCore.d.ts index 7509aa8..29a7a98 100644 --- a/core/custupCore.d.ts +++ b/core/custupCore.d.ts @@ -229,6 +229,13 @@ export default class CustUpCore extends EventTarget { link: string; clipboard: string; google_drive: string; + /** + * @protected @method show_message + * @param {string} msg + * @param {"error" | "success" | "info"} type + * @param {boolean} async - for async messages that doesn't hide until the request is done + * @param {number} timeout - timeout for hiding the message + */ dropbox: string; box_icon: string; onedrive: string; diff --git a/core/custupCore.d.ts.map b/core/custupCore.d.ts.map index 3d4b87a..53ba36f 100644 --- a/core/custupCore.d.ts.map +++ b/core/custupCore.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"custupCore.d.ts","sourceRoot":"","sources":["custupCore.js"],"names":[],"mappings":"AASA;IAsVI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA8FE;IACF,6EAkBC;IAtcD;;;OAGG;IACH,oBAAsB;IAGtB;;;OAGG;IACH,8BAAkB;IAElB;;;OAGG;IACH,+BAAmB;IAEnB;;;OAGG;IACH,8BAAkB;IAElB;;;OAGG;IACH,2CAA+B;IAE/B;;;OAGG;IACH,yCAA6B;IAE7B;;;OAGG;IACH,sCAAkC;IAElC;;;OAGG;IACH,8BAAkC;IAElC;;;OAGG;IACH;;;;;;;;;;;;;;;;;;;;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C;IAED;;OAEG;IACH,8BAEC;IAED;;OAEG;IACH,0BAEC;IAED;;OAEG;IACH,4BAEC;IAED;;OAEG;IACH,8BAEC;IAED;;OAEG;IACH,gCAEC;IAED;;OAEG;IACH,gCAGC;IAED;;OAEG;IACH,yBAEC;IAED;;;OAGG;IACH,wBAFa,OAAO,CAInB;IAED;;;;;OAKG;IACH,6FAEC;IAED;;;;;;OAMG;IACH,kCALW,WAAW,GAAG,IAAI,iBAClB,WAAW,IAAI,gCAEb,MAAM,WAAW,CAAC,CAoI9B;IAED;;;;;;;OAOG;IACH,4BANW,MAAM,QACN,OAAO,GAAG,SAAS,GAAG,MAAM,UAC5B,OAAO,YACP,MAAM,GACJ,WAAW,IAAI,CAI3B;CACJ"} \ No newline at end of file diff --git a/core/custupCore.js b/core/custupCore.js index 604664f..b1ff6f0 100644 --- a/core/custupCore.js +++ b/core/custupCore.js @@ -528,8 +528,6 @@ export default class CustUpCore extends EventTarget { this.load_default_files(); }else if (key === 'default_icons_override') { this.map_override_icons_to_default_icons(); - }else if (key === '_custupDefaultUploadSentence') { - this.uploadSentenceEl.innerHTML = this.options._custupDefaultUploadSentence; }else if (key === "default_styles_override" || key === "persist_styles_override_across_instances") { this.map_override_styles_to_default_styles(); } diff --git a/package.json b/package.json index a5cd874..524956d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "custup", - "version": "1.1.3", + "version": "1.1.4", "description": "Highly customisable file upload library with zero dependencies", "main": "src/custup.min.js", "scripts": { diff --git a/src/custup.min.js b/src/custup.min.js index 85e295b..20bccf8 100644 --- a/src/custup.min.js +++ b/src/custup.min.js @@ -1,4 +1,4 @@ -/*! custup 2024-03-05 */ +/*! custup 2024-03-06 */ import CustUpCore from"../core/custupCore.js";import _customStyles from"../utils/_customStyles.js";import file_types from"../utils/filetypes.js";export default class CustUp extends CustUpCore{constructor(e){super(e),this.uiSelect()}uiSelect(){switch(this.options.ui_type){case"resumeUploaderUI":this.resumeUploaderUI();break;case"bare":this.bareUploaderUI();break;case"detached":this.detachedUploaderUI();break;case"profilePicture":this.profilePictureUI();break;case"elegant":this.elegantUI()}this.map_override_styles_to_default_styles(this.options.default_styles_override),this.options.autoInitialize&&this.initializeUI()}resumeUploaderUI(){this.map_override_styles_to_default_styles({outerContainer:["RUIOuterContainer",!0],defaultUI:["RUIDefaultUIEl",!0],defaultUIUploadIconsContainer:["RUIDefaultUIUploadIconsContainer",!0]}),this.options.display_file_sources=!1,this.options._custupDefaultUploadSentence=`