kss-modern 0.0.38 → 0.0.39

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.
@@ -919,7 +919,7 @@ async function generateFullPageFile(data) {
919
919
  <link rel="icon" type="image/svg+xml" href="/styleguide-assets/favicon/fullpage-light.svg">
920
920
  `}
921
921
  ${data.ogImageUrl ? `<meta property="og:image" content="${data.ogImageUrl}">` : ""}
922
- <script type="module" src="/styleguide-assets/fullpage-MsRLbo3b.js"><\/script>
922
+ <script type="module" src="/styleguide-assets/fullpage-CBMHq8rr.js"><\/script>
923
923
  ${computedStyleTags}
924
924
  </head>
925
925
  <body${data.page.bodyclass ? ` class="${data.page.bodyclass}"` : ""}>
@@ -983,7 +983,7 @@ function getHeaderHtml(config) {
983
983
  </button>
984
984
 
985
985
  <div class="flex gap-4">
986
- ${config.launchInEditor ? `
986
+ ${config.mode === "development" && config.launchInEditor ? `
987
987
  <form class="hidden editor-select md:block">
988
988
  <fieldset class="flex items-center rounded-3xl border border-styleguide-border">
989
989
  <legend class="sr-only">Select a preferred editor</legend>
@@ -1267,7 +1267,7 @@ function getMainContentRegular(section, config) {
1267
1267
  };
1268
1268
  const renderOpenInEditorLink = (editorType, contentType, link) => `
1269
1269
  <a
1270
- class="hidden editor-${editorType}-only @md:inline-flex items-center group/${editorType} gap-1.5 p-4 desktop-device-only cursor-pointer active:scale-90 transition hover:text-styleguide-highlight duration-200"
1270
+ class="hidden editor-${editorType}-only @md:inline-flex items-center group/${editorType} gap-1.5 p-4 desktop-device-only cursor-pointer active:scale-90 transition hover:text-styleguide-highlight duration-200"
1271
1271
  href="${link}"
1272
1272
  >
1273
1273
  <span class="hidden @2xl:inline-block">Open ${contentType}</span>
@@ -1939,10 +1939,10 @@ async function terminateAllWorkers() {
1939
1939
  workerPool = [];
1940
1940
  }
1941
1941
  const processCache = /* @__PURE__ */ new Map();
1942
- const __filename = fileURLToPath(import.meta.url);
1943
- const __dirname = path.dirname(__filename);
1944
- const workerFilePath = __dirname.includes("dist/") ? "./vite-pug/worker.mjs" : "./worker.ts";
1945
- const workerFilePathResolved = path.resolve(__dirname, workerFilePath);
1942
+ const __filename$1 = fileURLToPath(import.meta.url);
1943
+ const __dirname$1 = path.dirname(__filename$1);
1944
+ const workerFilePath = __dirname$1.includes("dist/") ? "./vite-pug/worker.mjs" : "./worker.ts";
1945
+ const workerFilePathResolved = path.resolve(__dirname$1, workerFilePath);
1946
1946
  const signals = ["SIGINT", "SIGTERM", "SIGQUIT"];
1947
1947
  signals.forEach((signal) => process.on(signal, async () => await terminateAllWorkers()));
1948
1948
  async function compilePugMarkup(mode, contentDir, repository) {
@@ -20,7 +20,7 @@
20
20
  "name": "utils"
21
21
  },
22
22
  "client/fullpage.ts": {
23
- "file": "fullpage-MsRLbo3b.js",
23
+ "file": "fullpage-CBMHq8rr.js",
24
24
  "name": "fullpage",
25
25
  "src": "client/fullpage.ts",
26
26
  "isEntry": true,
@@ -104,7 +104,7 @@
104
104
  ]
105
105
  },
106
106
  "node_modules/html-validate/dist/esm/browser.js": {
107
- "file": "browser-BjsUm14H.js",
107
+ "file": "browser-BkdgI_IA.js",
108
108
  "name": "browser",
109
109
  "src": "node_modules/html-validate/dist/esm/browser.js",
110
110
  "isDynamicEntry": true,