@teamvelix/velix 5.1.1 → 5.1.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.
@@ -690,7 +690,7 @@ init_esm_shims();
690
690
 
691
691
  // version.ts
692
692
  init_esm_shims();
693
- var VERSION = "5.1.1";
693
+ var VERSION = "5.1.4";
694
694
 
695
695
  // logger.ts
696
696
  var colors = {
@@ -1471,12 +1471,12 @@ function generateDevToolsHtml(isDev, ctx = {}) {
1471
1471
  var btn = document.getElementById('__vtab-btn-' + t);
1472
1472
  if(!body || !btn) return;
1473
1473
  var active = t === name;
1474
- body.style.display = active ? '' : 'none';
1474
+ body.style.display = active ? 'block' : 'none';
1475
1475
  btn.classList.toggle('active', active);
1476
1476
  });
1477
1477
  };
1478
1478
 
1479
- window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = ''; };
1479
+ window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = 'block'; };
1480
1480
  window.__vdtClose = function(){ document.getElementById('__vdt').style.display = 'none'; };
1481
1481
 
1482
1482
  /* \u2500\u2500 Route info \u2500\u2500 */
@@ -2524,7 +2524,9 @@ async function serveVelixInternal(pathname, req, res, projectRoot) {
2524
2524
  const __dirname2 = path7.dirname(__filename2);
2525
2525
  const candidates = [
2526
2526
  path7.join(__dirname2, "..", "assets", "logo.webp"),
2527
+ path7.join(__dirname2, "..", "..", "assets", "logo.webp"),
2527
2528
  path7.join(process.cwd(), "node_modules", "@teamvelix", "velix", "assets", "logo.webp"),
2529
+ path7.join(process.cwd(), "packages", "velix", "assets", "logo.webp"),
2528
2530
  path7.join(process.cwd(), "node_modules", "velix", "assets", "logo.webp"),
2529
2531
  path7.join(process.cwd(), "public", "favicon.webp")
2530
2532
  ];