@teamvelix/velix 5.1.1 → 5.1.3

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.2";
694
694
 
695
695
  // logger.ts
696
696
  var colors = {
@@ -804,6 +804,9 @@ var logger = {
804
804
  };
805
805
  var logger_default = logger;
806
806
 
807
+ // plugins/tailwind.ts
808
+ var NPX = process.platform === "win32" ? "npx.cmd" : "npx";
809
+
807
810
  // metadata/index.ts
808
811
  init_esm_shims();
809
812
  function generateMetadataTags(metadata, baseUrl) {
@@ -1471,12 +1474,12 @@ function generateDevToolsHtml(isDev, ctx = {}) {
1471
1474
  var btn = document.getElementById('__vtab-btn-' + t);
1472
1475
  if(!body || !btn) return;
1473
1476
  var active = t === name;
1474
- body.style.display = active ? '' : 'none';
1477
+ body.style.display = active ? 'block' : 'none';
1475
1478
  btn.classList.toggle('active', active);
1476
1479
  });
1477
1480
  };
1478
1481
 
1479
- window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = ''; };
1482
+ window.__vdtOpen = function(){ document.getElementById('__vdt').style.display = 'block'; };
1480
1483
  window.__vdtClose = function(){ document.getElementById('__vdt').style.display = 'none'; };
1481
1484
 
1482
1485
  /* \u2500\u2500 Route info \u2500\u2500 */
@@ -2524,7 +2527,9 @@ async function serveVelixInternal(pathname, req, res, projectRoot) {
2524
2527
  const __dirname2 = path7.dirname(__filename2);
2525
2528
  const candidates = [
2526
2529
  path7.join(__dirname2, "..", "assets", "logo.webp"),
2530
+ path7.join(__dirname2, "..", "..", "assets", "logo.webp"),
2527
2531
  path7.join(process.cwd(), "node_modules", "@teamvelix", "velix", "assets", "logo.webp"),
2532
+ path7.join(process.cwd(), "packages", "velix", "assets", "logo.webp"),
2528
2533
  path7.join(process.cwd(), "node_modules", "velix", "assets", "logo.webp"),
2529
2534
  path7.join(process.cwd(), "public", "favicon.webp")
2530
2535
  ];