@massimo-cassandro/minimo 1.20.0 → 1.20.1

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.
@@ -110,7 +110,7 @@ const config = {
110
110
 
111
111
 
112
112
  // ---------------------------------------------------------------------------
113
- // CHECK-UNRESOLVED-CUSTOM-PROPS SETTINGS
113
+ // CHECK UNRESOLVED & UNUSED CUSTOM PROPS SETTINGS
114
114
  // ---------------------------------------------------------------------------
115
115
 
116
116
  // If true, also reports custom properties that are defined (in destFile or
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/minimo",
3
- "version": "1.20.0",
3
+ "version": "1.20.1",
4
4
  "description": "Light css framework & utilities",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -192,7 +192,7 @@ export function modalAlert(params = {}) {
192
192
  ? 'cancel'
193
193
  : 'ok';
194
194
 
195
- console.log(params);
195
+ // console.log(params);
196
196
 
197
197
  const dialog = /** @type {HTMLDialogElement} */ (domBuilder([
198
198
  {
@@ -305,7 +305,7 @@ export function modalAlert(params = {}) {
305
305
  arg = btn.dataset.malertResult;
306
306
 
307
307
  } else if(params.type === 'confirm') {
308
- arg = btn.classList.contains('malert-ok');
308
+ arg = btn === okBtn;
309
309
  }
310
310
  }
311
311