tiny-essentials 1.22.14 → 1.22.15

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.
@@ -2633,6 +2633,7 @@ class TinyHtml {
2633
2633
  */
2634
2634
  constructor(el) {
2635
2635
  this.#el = TinyHtml._selector(el);
2636
+ this.#mainDisplay = TinyHtml.#defaultDisplay;
2636
2637
  }
2637
2638
 
2638
2639
  /**
@@ -3735,7 +3736,7 @@ class TinyHtml {
3735
3736
  // TITLE: Animate DOM (Data)
3736
3737
 
3737
3738
  /** @type {string} */
3738
- #mainDisplay = 'block';
3739
+ #mainDisplay = '';
3739
3740
 
3740
3741
  /**
3741
3742
  * Gets the current display value.
@@ -2325,6 +2325,7 @@ class TinyHtml {
2325
2325
  */
2326
2326
  constructor(el) {
2327
2327
  this.#el = TinyHtml._selector(el);
2328
+ this.#mainDisplay = TinyHtml.#defaultDisplay;
2328
2329
  }
2329
2330
  /**
2330
2331
  * Checks whether the given object is a window.
@@ -3340,7 +3341,7 @@ class TinyHtml {
3340
3341
  //////////////////////////////////////////////////
3341
3342
  // TITLE: Animate DOM (Data)
3342
3343
  /** @type {string} */
3343
- #mainDisplay = 'block';
3344
+ #mainDisplay = '';
3344
3345
  /**
3345
3346
  * Gets the current display value.
3346
3347
  * @returns {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiny-essentials",
3
- "version": "1.22.14",
3
+ "version": "1.22.15",
4
4
  "description": "Collection of small, essential scripts designed to be used across various projects. These simple utilities are crafted for speed, ease of use, and versatility.",
5
5
  "scripts": {
6
6
  "test": "npm run test:mjs && npm run test:cjs && npm run test:js",