wrec 0.25.3 → 0.25.4

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.
Files changed (2) hide show
  1. package/dist/wrec.es.js +1 -1
  2. package/package.json +1 -1
package/dist/wrec.es.js CHANGED
@@ -432,7 +432,7 @@ const w = class w extends Ct {
432
432
  );
433
433
  }
434
434
  displayIfSet(t, e = "block") {
435
- return `display: ${t ? e : "none"}`;
435
+ return `display: ${t == null ? "none" : e}`;
436
436
  }
437
437
  // This method is called automatically if
438
438
  // the component is nested in form element AND
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "wrec",
3
3
  "description": "a small library that greatly simplifies building web components",
4
4
  "author": "R. Mark Volkmann",
5
- "version": "0.25.3",
5
+ "version": "0.25.4",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",