@screenbook/ui 1.6.1 → 1.7.0
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.
- package/astro.config.mjs +20 -0
- package/dist/server/entry.mjs +1 -1
- package/dist/server/{manifest_DZNz3QR8.mjs → manifest_DHNGfdfn.mjs} +1 -1
- package/package.json +5 -1
- package/public/logo.svg +5 -0
- package/src/components/LinkIcon.astro +93 -0
- package/src/components/MockFormEditor.tsx +1280 -0
- package/src/components/MockPreview.astro +811 -0
- package/src/layouts/Layout.astro +123 -0
- package/src/pages/api/save-mock.ts +182 -0
- package/src/pages/coverage.astro +465 -0
- package/src/pages/editor.astro +33 -0
- package/src/pages/graph.astro +423 -0
- package/src/pages/impact.astro +555 -0
- package/src/pages/index.astro +227 -0
- package/src/pages/screen/[id].astro +299 -0
- package/src/styles/global.css +904 -0
- package/src/styles/mock-editor.css +1351 -0
- package/src/utils/impactAnalysis.ts +304 -0
- package/src/utils/loadCoverage.ts +30 -0
- package/src/utils/loadScreens.ts +18 -0
- package/tsconfig.json +10 -0
package/astro.config.mjs
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import node from "@astrojs/node"
|
|
2
|
+
import react from "@astrojs/react"
|
|
3
|
+
import tailwindcss from "@tailwindcss/vite"
|
|
4
|
+
import { defineConfig } from "astro/config"
|
|
5
|
+
|
|
6
|
+
export default defineConfig({
|
|
7
|
+
integrations: [react()],
|
|
8
|
+
srcDir: "./src",
|
|
9
|
+
outDir: "./dist",
|
|
10
|
+
output: "server",
|
|
11
|
+
adapter: node({
|
|
12
|
+
mode: "standalone",
|
|
13
|
+
}),
|
|
14
|
+
devToolbar: {
|
|
15
|
+
enabled: false,
|
|
16
|
+
},
|
|
17
|
+
vite: {
|
|
18
|
+
plugins: [tailwindcss()],
|
|
19
|
+
},
|
|
20
|
+
})
|
package/dist/server/entry.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { renderers } from './renderers.mjs';
|
|
2
2
|
import { c as createExports, s as serverEntrypointModule } from './chunks/_@astrojs-ssr-adapter_BCPoO8PO.mjs';
|
|
3
|
-
import { manifest } from './
|
|
3
|
+
import { manifest } from './manifest_DHNGfdfn.mjs';
|
|
4
4
|
|
|
5
5
|
const serverIslandMap = new Map();;
|
|
6
6
|
|
|
@@ -95,7 +95,7 @@ function deserializeManifest(serializedManifest) {
|
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
const manifest = deserializeManifest({"hrefRoot":"file:///home/runner/work/screenbook/screenbook/packages/ui/","cacheDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/node_modules/.astro/","outDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/","srcDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/src/","publicDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/public/","buildClientDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/client/","buildServerDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/server/","adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/api/save-mock","isIndex":false,"type":"endpoint","pattern":"^\\/api\\/save-mock\\/?$","segments":[[{"content":"api","dynamic":false,"spread":false}],[{"content":"save-mock","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/api/save-mock.ts","pathname":"/api/save-mock","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/coverage.Cb0pX2ic.css"}],"routeData":{"route":"/coverage","isIndex":false,"type":"page","pattern":"^\\/coverage\\/?$","segments":[[{"content":"coverage","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/coverage.astro","pathname":"/coverage","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"inline","content":".editor-container[data-astro-cid-nmyy7qaa]{position:fixed;inset:60px 0 0;background:#141822}\n"},{"type":"external","src":"/_astro/MockFormEditor.OiYzJAtR.css"}],"routeData":{"route":"/editor","isIndex":false,"type":"page","pattern":"^\\/editor\\/?$","segments":[[{"content":"editor","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/editor.astro","pathname":"/editor","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"inline","content":".graph-controls[data-astro-cid-oy34yelw]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.view-toggle[data-astro-cid-oy34yelw]{display:flex;gap:8px;background:var(--color-surface);padding:4px;border-radius:var(--radius-lg);border:1px solid var(--color-border)}.toggle-btn[data-astro-cid-oy34yelw]{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;background:transparent;color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500;border-radius:var(--radius-md);cursor:pointer;transition:all .15s ease}.toggle-btn[data-astro-cid-oy34yelw]:hover{color:var(--color-text)}.toggle-btn[data-astro-cid-oy34yelw].active{background:var(--color-accent);color:var(--color-bg)}.toggle-btn[data-astro-cid-oy34yelw] svg[data-astro-cid-oy34yelw]{width:16px;height:16px}.graph-stats[data-astro-cid-oy34yelw]{display:flex;gap:16px}.stat[data-astro-cid-oy34yelw]{font-size:var(--text-sm);color:var(--color-text-muted)}.hidden[data-astro-cid-oy34yelw]{display:none!important}.legend-api[data-astro-cid-oy34yelw]{background:#14b8a6!important;border-color:#5eead4!important}.legend-mock[data-astro-cid-oy34yelw]{border-color:#14b8a6!important;border-width:2px!important}.stat-mock[data-astro-cid-oy34yelw]{color:#14b8a6}\n"}],"routeData":{"route":"/graph","isIndex":false,"type":"page","pattern":"^\\/graph\\/?$","segments":[[{"content":"graph","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/graph.astro","pathname":"/graph","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/impact.Cvhl64u1.css"}],"routeData":{"route":"/impact","isIndex":false,"type":"page","pattern":"^\\/impact\\/?$","segments":[[{"content":"impact","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/impact.astro","pathname":"/impact","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/_id_.BqQf-JH6.css"}],"routeData":{"route":"/screen/[id]","isIndex":false,"type":"page","pattern":"^\\/screen\\/([^/]+?)\\/?$","segments":[[{"content":"screen","dynamic":false,"spread":false}],[{"content":"id","dynamic":true,"spread":false}]],"params":["id"],"component":"src/pages/screen/[id].astro","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"}],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/coverage.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/editor.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/graph.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/impact.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/screen/[id].astro",{"propagation":"none","containsHead":true}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000noop-middleware":"_noop-middleware.mjs","\u0000virtual:astro:actions/noop-entrypoint":"noop-entrypoint.mjs","\u0000@astro-page:src/pages/api/save-mock@_@ts":"pages/api/save-mock.astro.mjs","\u0000@astro-page:src/pages/coverage@_@astro":"pages/coverage.astro.mjs","\u0000@astro-page:src/pages/editor@_@astro":"pages/editor.astro.mjs","\u0000@astro-page:src/pages/graph@_@astro":"pages/graph.astro.mjs","\u0000@astro-page:src/pages/impact@_@astro":"pages/impact.astro.mjs","\u0000@astro-page:src/pages/screen/[id]@_@astro":"pages/screen/_id_.astro.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/endpoint/node@_@js":"pages/_image.astro.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_DZNz3QR8.mjs","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/unstorage@1.17.3_db0@0.3.4_ioredis@5.8.2/node_modules/unstorage/drivers/fs-lite.mjs":"chunks/fs-lite_COtHaKzy.mjs","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_CUcgoDkm.mjs","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/graph.astro?astro&type=script&index=0&lang.ts":"_astro/graph.astro_astro_type_script_index_0_lang.BxaPom9e.js","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/impact.astro?astro&type=script&index=0&lang.ts":"_astro/impact.astro_astro_type_script_index_0_lang.VjeLQGe6.js","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro?astro&type=script&index=0&lang.ts":"_astro/index.astro_astro_type_script_index_0_lang.D9WgmwrZ.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs":"_astro/c4Diagram-YG6GDRKO.BqntXNsZ.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs":"_astro/flowDiagram-NV44I4VS.CV4Oenkb.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs":"_astro/erDiagram-Q2GNP2WA.B4hpr69H.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs":"_astro/gitGraphDiagram-NY62KEGX.BeY3JZYI.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs":"_astro/infoDiagram-WHAUD3N6.D2_J_fR6.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs":"_astro/quadrantDiagram-AYHSOK5B.Cma08fPv.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs":"_astro/requirementDiagram-UZGBJVZJ.BlhVOrX0.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs":"_astro/sequenceDiagram-WL72ISMW.3cZYkaSP.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs":"_astro/classDiagram-2ON5EDUG.DMv55r4w.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs":"_astro/classDiagram-v2-WZHVMYZB.DMv55r4w.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs":"_astro/stateDiagram-FKZM4ZOC.DdlRd9N7.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs":"_astro/stateDiagram-v2-4FDKWEC3.DCPDjwi7.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs":"_astro/journeyDiagram-XKPGCS4Q.7c4ngVDw.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs":"_astro/timeline-definition-IT6M3QCI.BshW8mMW.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs":"_astro/kanban-definition-3W4ZIXB7.D_eWex6x.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs":"_astro/diagram-S2PKOQOG.T8h5wODN.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs":"_astro/diagram-QEK2KX5R.BoqLvsuS.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs":"_astro/blockDiagram-VD42YOAC.6LO7yu7m.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/katex@0.16.27/node_modules/katex/dist/katex.mjs":"_astro/katex.XbL3y5x-.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs":"_astro/dagre-6UL2VRFP.tCLd0f1c.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs":"_astro/xychartDiagram-PRI3JC2R.Mg5_s08f.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs":"_astro/pieDiagram-ADFJNKIX.D18DPyo6.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs":"_astro/mindmap-definition-VGOIOE7T.CjNYt18e.js","@/components/MockFormEditor":"_astro/MockFormEditor.0L29BkPy.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs":"_astro/architectureDiagram-VXUJARFQ.BF0V2v9-.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs":"_astro/cose-bilkent-S5V4N54A.DlRxGhCG.js","@astrojs/react/client.js":"_astro/client.9unXo8s5.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs":"_astro/sankeyDiagram-TZEHDZUN.HRsqw4ej.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs":"_astro/diagram-PSM6KHXK.CJA_rnN3.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs":"_astro/ganttDiagram-JELNMOA3.DdpXJeX3.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro?astro&type=script&index=0&lang.ts","const l=document.getElementById(\"search\"),g=document.getElementById(\"screen-list\"),c=document.querySelectorAll(\".tag\");let s=null;function n(){const t=l?.value.toLowerCase()??\"\";g?.querySelectorAll(\".card-link\")?.forEach(e=>{const i=e.dataset.title??\"\",r=e.dataset.id??\"\",o=e.dataset.tags??\"\",d=i.includes(t)||r.includes(t),u=!s||o.includes(s);e.style.display=d&&u?\"block\":\"none\"})}l?.addEventListener(\"input\",n);c.forEach(t=>{t.addEventListener(\"click\",()=>{const a=t.dataset.tag;s===a?(s=null,c.forEach(e=>{e.classList.remove(\"active\"),e.setAttribute(\"aria-pressed\",\"false\")})):(c.forEach(e=>{e.classList.remove(\"active\"),e.setAttribute(\"aria-pressed\",\"false\")}),s=a??null,t.classList.add(\"active\"),t.setAttribute(\"aria-pressed\",\"true\")),n()})});"]],"assets":["/_astro/_id_.BqQf-JH6.css","/_astro/coverage.Cb0pX2ic.css","/_astro/coverage.BzPU-EGZ.css","/_astro/impact.Cvhl64u1.css","/logo.svg","/_astro/MockFormEditor.0L29BkPy.js","/_astro/MockFormEditor.OiYzJAtR.css","/_astro/_baseUniq.D9ouiLRJ.js","/_astro/arc.CLU0JlVT.js","/_astro/architectureDiagram-VXUJARFQ.BF0V2v9-.js","/_astro/blockDiagram-VD42YOAC.6LO7yu7m.js","/_astro/c4Diagram-YG6GDRKO.BqntXNsZ.js","/_astro/channel._8es88oH.js","/_astro/chunk-4BX2VUAB.b97OIY94.js","/_astro/chunk-55IACEB6.Cf9hglsl.js","/_astro/chunk-B4BG7PRW.vDfM6vb1.js","/_astro/chunk-DI55MBZ5.8pHdnkw9.js","/_astro/chunk-FMBD7UC4.l_Ue7ZYJ.js","/_astro/chunk-QN33PNHL.CyBZ7SCx.js","/_astro/chunk-QZHKN3VN.BC5tI2Vw.js","/_astro/chunk-TZMSLE5B.DxkkbOL4.js","/_astro/classDiagram-2ON5EDUG.DMv55r4w.js","/_astro/classDiagram-v2-WZHVMYZB.DMv55r4w.js","/_astro/client.9unXo8s5.js","/_astro/clone.COAvtnt5.js","/_astro/cose-bilkent-S5V4N54A.DlRxGhCG.js","/_astro/cytoscape.esm.DtBltrT8.js","/_astro/dagre-6UL2VRFP.tCLd0f1c.js","/_astro/defaultLocale.C4B-KCzX.js","/_astro/diagram-PSM6KHXK.CJA_rnN3.js","/_astro/diagram-QEK2KX5R.BoqLvsuS.js","/_astro/diagram-S2PKOQOG.T8h5wODN.js","/_astro/erDiagram-Q2GNP2WA.B4hpr69H.js","/_astro/flowDiagram-NV44I4VS.CV4Oenkb.js","/_astro/ganttDiagram-JELNMOA3.DdpXJeX3.js","/_astro/gitGraphDiagram-NY62KEGX.BeY3JZYI.js","/_astro/graph.CO6LxWoK.js","/_astro/graph.astro_astro_type_script_index_0_lang.BxaPom9e.js","/_astro/impact.astro_astro_type_script_index_0_lang.VjeLQGe6.js","/_astro/index.WFquGv8Z.js","/_astro/infoDiagram-WHAUD3N6.D2_J_fR6.js","/_astro/init.Gi6I4Gst.js","/_astro/journeyDiagram-XKPGCS4Q.7c4ngVDw.js","/_astro/kanban-definition-3W4ZIXB7.D_eWex6x.js","/_astro/katex.XbL3y5x-.js","/_astro/layout.Cn9EjNLq.js","/_astro/linear.BlE_mLsy.js","/_astro/mermaid.core.CgCLOZ6t.js","/_astro/min.OtQS-qlD.js","/_astro/mindmap-definition-VGOIOE7T.CjNYt18e.js","/_astro/ordinal.BYWQX77i.js","/_astro/pieDiagram-ADFJNKIX.D18DPyo6.js","/_astro/quadrantDiagram-AYHSOK5B.Cma08fPv.js","/_astro/requirementDiagram-UZGBJVZJ.BlhVOrX0.js","/_astro/sankeyDiagram-TZEHDZUN.HRsqw4ej.js","/_astro/sequenceDiagram-WL72ISMW.3cZYkaSP.js","/_astro/stateDiagram-FKZM4ZOC.DdlRd9N7.js","/_astro/stateDiagram-v2-4FDKWEC3.DCPDjwi7.js","/_astro/timeline-definition-IT6M3QCI.BshW8mMW.js","/_astro/treemap-KMMF4GRG.BxXN_YfK.js","/_astro/xychartDiagram-PRI3JC2R.Mg5_s08f.js"],"buildFormat":"directory","checkOrigin":true,"allowedDomains":[],"serverIslandNameMap":[],"key":"cCrpiu/rSG5QVnTsxbIXRZ9Jx6SoGnOZy3NjwhgZN8E=","sessionConfig":{"driver":"fs-lite","options":{"base":"/home/runner/work/screenbook/screenbook/packages/ui/node_modules/.astro/sessions"}}});
|
|
98
|
+
const manifest = deserializeManifest({"hrefRoot":"file:///home/runner/work/screenbook/screenbook/packages/ui/","cacheDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/node_modules/.astro/","outDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/","srcDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/src/","publicDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/public/","buildClientDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/client/","buildServerDir":"file:///home/runner/work/screenbook/screenbook/packages/ui/dist/server/","adapterName":"@astrojs/node","routes":[{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"page","component":"_server-islands.astro","params":["name"],"segments":[[{"content":"_server-islands","dynamic":false,"spread":false}],[{"content":"name","dynamic":true,"spread":false}]],"pattern":"^\\/_server-islands\\/([^/]+?)\\/?$","prerender":false,"isIndex":false,"fallbackRoutes":[],"route":"/_server-islands/[name]","origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"type":"endpoint","isIndex":false,"route":"/_image","pattern":"^\\/_image\\/?$","segments":[[{"content":"_image","dynamic":false,"spread":false}]],"params":[],"component":"../../node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/endpoint/node.js","pathname":"/_image","prerender":false,"fallbackRoutes":[],"origin":"internal","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[],"routeData":{"route":"/api/save-mock","isIndex":false,"type":"endpoint","pattern":"^\\/api\\/save-mock\\/?$","segments":[[{"content":"api","dynamic":false,"spread":false}],[{"content":"save-mock","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/api/save-mock.ts","pathname":"/api/save-mock","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/coverage.Cb0pX2ic.css"}],"routeData":{"route":"/coverage","isIndex":false,"type":"page","pattern":"^\\/coverage\\/?$","segments":[[{"content":"coverage","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/coverage.astro","pathname":"/coverage","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"inline","content":".editor-container[data-astro-cid-nmyy7qaa]{position:fixed;inset:60px 0 0;background:#141822}\n"},{"type":"external","src":"/_astro/MockFormEditor.OiYzJAtR.css"}],"routeData":{"route":"/editor","isIndex":false,"type":"page","pattern":"^\\/editor\\/?$","segments":[[{"content":"editor","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/editor.astro","pathname":"/editor","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"inline","content":".graph-controls[data-astro-cid-oy34yelw]{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.view-toggle[data-astro-cid-oy34yelw]{display:flex;gap:8px;background:var(--color-surface);padding:4px;border-radius:var(--radius-lg);border:1px solid var(--color-border)}.toggle-btn[data-astro-cid-oy34yelw]{display:flex;align-items:center;gap:8px;padding:8px 16px;border:none;background:transparent;color:var(--color-text-muted);font-size:var(--text-sm);font-weight:500;border-radius:var(--radius-md);cursor:pointer;transition:all .15s ease}.toggle-btn[data-astro-cid-oy34yelw]:hover{color:var(--color-text)}.toggle-btn[data-astro-cid-oy34yelw].active{background:var(--color-accent);color:var(--color-bg)}.toggle-btn[data-astro-cid-oy34yelw] svg[data-astro-cid-oy34yelw]{width:16px;height:16px}.graph-stats[data-astro-cid-oy34yelw]{display:flex;gap:16px}.stat[data-astro-cid-oy34yelw]{font-size:var(--text-sm);color:var(--color-text-muted)}.hidden[data-astro-cid-oy34yelw]{display:none!important}.legend-api[data-astro-cid-oy34yelw]{background:#14b8a6!important;border-color:#5eead4!important}.legend-mock[data-astro-cid-oy34yelw]{border-color:#14b8a6!important;border-width:2px!important}.stat-mock[data-astro-cid-oy34yelw]{color:#14b8a6}\n"}],"routeData":{"route":"/graph","isIndex":false,"type":"page","pattern":"^\\/graph\\/?$","segments":[[{"content":"graph","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/graph.astro","pathname":"/graph","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/impact.Cvhl64u1.css"}],"routeData":{"route":"/impact","isIndex":false,"type":"page","pattern":"^\\/impact\\/?$","segments":[[{"content":"impact","dynamic":false,"spread":false}]],"params":[],"component":"src/pages/impact.astro","pathname":"/impact","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"},{"type":"external","src":"/_astro/_id_.BqQf-JH6.css"}],"routeData":{"route":"/screen/[id]","isIndex":false,"type":"page","pattern":"^\\/screen\\/([^/]+?)\\/?$","segments":[[{"content":"screen","dynamic":false,"spread":false}],[{"content":"id","dynamic":true,"spread":false}]],"params":["id"],"component":"src/pages/screen/[id].astro","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":[],"scripts":[],"styles":[{"type":"external","src":"/_astro/coverage.BzPU-EGZ.css"}],"routeData":{"route":"/","isIndex":true,"type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","prerender":false,"fallbackRoutes":[],"distURL":[],"origin":"project","_meta":{"trailingSlash":"ignore"}}}],"base":"/","trailingSlash":"ignore","compressHTML":true,"componentMetadata":[["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/coverage.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/editor.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/graph.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/impact.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro",{"propagation":"none","containsHead":true}],["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/screen/[id].astro",{"propagation":"none","containsHead":true}]],"renderers":[],"clientDirectives":[["idle","(()=>{var l=(n,t)=>{let i=async()=>{await(await n())()},e=typeof t.value==\"object\"?t.value:void 0,s={timeout:e==null?void 0:e.timeout};\"requestIdleCallback\"in window?window.requestIdleCallback(i,s):setTimeout(i,s.timeout||200)};(self.Astro||(self.Astro={})).idle=l;window.dispatchEvent(new Event(\"astro:idle\"));})();"],["load","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).load=e;window.dispatchEvent(new Event(\"astro:load\"));})();"],["media","(()=>{var n=(a,t)=>{let i=async()=>{await(await a())()};if(t.value){let e=matchMedia(t.value);e.matches?i():e.addEventListener(\"change\",i,{once:!0})}};(self.Astro||(self.Astro={})).media=n;window.dispatchEvent(new Event(\"astro:media\"));})();"],["only","(()=>{var e=async t=>{await(await t())()};(self.Astro||(self.Astro={})).only=e;window.dispatchEvent(new Event(\"astro:only\"));})();"],["visible","(()=>{var a=(s,i,o)=>{let r=async()=>{await(await s())()},t=typeof i.value==\"object\"?i.value:void 0,c={rootMargin:t==null?void 0:t.rootMargin},n=new IntersectionObserver(e=>{for(let l of e)if(l.isIntersecting){n.disconnect(),r();break}},c);for(let e of o.children)n.observe(e)};(self.Astro||(self.Astro={})).visible=a;window.dispatchEvent(new Event(\"astro:visible\"));})();"]],"entryModules":{"\u0000noop-middleware":"_noop-middleware.mjs","\u0000virtual:astro:actions/noop-entrypoint":"noop-entrypoint.mjs","\u0000@astro-page:src/pages/api/save-mock@_@ts":"pages/api/save-mock.astro.mjs","\u0000@astro-page:src/pages/coverage@_@astro":"pages/coverage.astro.mjs","\u0000@astro-page:src/pages/editor@_@astro":"pages/editor.astro.mjs","\u0000@astro-page:src/pages/graph@_@astro":"pages/graph.astro.mjs","\u0000@astro-page:src/pages/impact@_@astro":"pages/impact.astro.mjs","\u0000@astro-page:src/pages/screen/[id]@_@astro":"pages/screen/_id_.astro.mjs","\u0000@astro-page:src/pages/index@_@astro":"pages/index.astro.mjs","\u0000@astrojs-ssr-virtual-entry":"entry.mjs","\u0000@astro-renderers":"renderers.mjs","\u0000@astro-page:../../node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/endpoint/node@_@js":"pages/_image.astro.mjs","\u0000@astrojs-ssr-adapter":"_@astrojs-ssr-adapter.mjs","\u0000@astrojs-manifest":"manifest_DHNGfdfn.mjs","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/unstorage@1.17.3_db0@0.3.4_ioredis@5.8.2/node_modules/unstorage/drivers/fs-lite.mjs":"chunks/fs-lite_COtHaKzy.mjs","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/astro@5.16.6_@types+node@25.0.3_db0@0.3.4_ioredis@5.8.2_jiti@2.6.1_lightningcss@1.30.2__c831498ac20d74bd769ef1f284e3b7f9/node_modules/astro/dist/assets/services/sharp.js":"chunks/sharp_CUcgoDkm.mjs","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/graph.astro?astro&type=script&index=0&lang.ts":"_astro/graph.astro_astro_type_script_index_0_lang.BxaPom9e.js","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/impact.astro?astro&type=script&index=0&lang.ts":"_astro/impact.astro_astro_type_script_index_0_lang.VjeLQGe6.js","/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro?astro&type=script&index=0&lang.ts":"_astro/index.astro_astro_type_script_index_0_lang.D9WgmwrZ.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/c4Diagram-YG6GDRKO.mjs":"_astro/c4Diagram-YG6GDRKO.BqntXNsZ.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/flowDiagram-NV44I4VS.mjs":"_astro/flowDiagram-NV44I4VS.CV4Oenkb.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-Q2GNP2WA.mjs":"_astro/erDiagram-Q2GNP2WA.B4hpr69H.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/gitGraphDiagram-NY62KEGX.mjs":"_astro/gitGraphDiagram-NY62KEGX.BeY3JZYI.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/infoDiagram-WHAUD3N6.mjs":"_astro/infoDiagram-WHAUD3N6.D2_J_fR6.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/quadrantDiagram-AYHSOK5B.mjs":"_astro/quadrantDiagram-AYHSOK5B.Cma08fPv.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-UZGBJVZJ.mjs":"_astro/requirementDiagram-UZGBJVZJ.BlhVOrX0.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WL72ISMW.mjs":"_astro/sequenceDiagram-WL72ISMW.3cZYkaSP.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-2ON5EDUG.mjs":"_astro/classDiagram-2ON5EDUG.DMv55r4w.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/classDiagram-v2-WZHVMYZB.mjs":"_astro/classDiagram-v2-WZHVMYZB.DMv55r4w.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-FKZM4ZOC.mjs":"_astro/stateDiagram-FKZM4ZOC.DdlRd9N7.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-4FDKWEC3.mjs":"_astro/stateDiagram-v2-4FDKWEC3.DCPDjwi7.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/journeyDiagram-XKPGCS4Q.mjs":"_astro/journeyDiagram-XKPGCS4Q.7c4ngVDw.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-IT6M3QCI.mjs":"_astro/timeline-definition-IT6M3QCI.BshW8mMW.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/kanban-definition-3W4ZIXB7.mjs":"_astro/kanban-definition-3W4ZIXB7.D_eWex6x.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-S2PKOQOG.mjs":"_astro/diagram-S2PKOQOG.T8h5wODN.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-QEK2KX5R.mjs":"_astro/diagram-QEK2KX5R.BoqLvsuS.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/blockDiagram-VD42YOAC.mjs":"_astro/blockDiagram-VD42YOAC.6LO7yu7m.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/katex@0.16.27/node_modules/katex/dist/katex.mjs":"_astro/katex.XbL3y5x-.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/dagre-6UL2VRFP.mjs":"_astro/dagre-6UL2VRFP.tCLd0f1c.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/xychartDiagram-PRI3JC2R.mjs":"_astro/xychartDiagram-PRI3JC2R.Mg5_s08f.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/pieDiagram-ADFJNKIX.mjs":"_astro/pieDiagram-ADFJNKIX.D18DPyo6.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/mindmap-definition-VGOIOE7T.mjs":"_astro/mindmap-definition-VGOIOE7T.CjNYt18e.js","@/components/MockFormEditor":"_astro/MockFormEditor.0L29BkPy.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/architectureDiagram-VXUJARFQ.mjs":"_astro/architectureDiagram-VXUJARFQ.BF0V2v9-.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/cose-bilkent-S5V4N54A.mjs":"_astro/cose-bilkent-S5V4N54A.DlRxGhCG.js","@astrojs/react/client.js":"_astro/client.9unXo8s5.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/sankeyDiagram-TZEHDZUN.mjs":"_astro/sankeyDiagram-TZEHDZUN.HRsqw4ej.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/diagram-PSM6KHXK.mjs":"_astro/diagram-PSM6KHXK.CJA_rnN3.js","/home/runner/work/screenbook/screenbook/node_modules/.pnpm/mermaid@11.12.2/node_modules/mermaid/dist/chunks/mermaid.core/ganttDiagram-JELNMOA3.mjs":"_astro/ganttDiagram-JELNMOA3.DdpXJeX3.js","astro:scripts/before-hydration.js":""},"inlinedScripts":[["/home/runner/work/screenbook/screenbook/packages/ui/src/pages/index.astro?astro&type=script&index=0&lang.ts","const l=document.getElementById(\"search\"),g=document.getElementById(\"screen-list\"),c=document.querySelectorAll(\".tag\");let s=null;function n(){const t=l?.value.toLowerCase()??\"\";g?.querySelectorAll(\".card-link\")?.forEach(e=>{const i=e.dataset.title??\"\",r=e.dataset.id??\"\",o=e.dataset.tags??\"\",d=i.includes(t)||r.includes(t),u=!s||o.includes(s);e.style.display=d&&u?\"block\":\"none\"})}l?.addEventListener(\"input\",n);c.forEach(t=>{t.addEventListener(\"click\",()=>{const a=t.dataset.tag;s===a?(s=null,c.forEach(e=>{e.classList.remove(\"active\"),e.setAttribute(\"aria-pressed\",\"false\")})):(c.forEach(e=>{e.classList.remove(\"active\"),e.setAttribute(\"aria-pressed\",\"false\")}),s=a??null,t.classList.add(\"active\"),t.setAttribute(\"aria-pressed\",\"true\")),n()})});"]],"assets":["/_astro/_id_.BqQf-JH6.css","/_astro/coverage.Cb0pX2ic.css","/_astro/coverage.BzPU-EGZ.css","/_astro/impact.Cvhl64u1.css","/logo.svg","/_astro/MockFormEditor.0L29BkPy.js","/_astro/MockFormEditor.OiYzJAtR.css","/_astro/_baseUniq.D9ouiLRJ.js","/_astro/arc.CLU0JlVT.js","/_astro/architectureDiagram-VXUJARFQ.BF0V2v9-.js","/_astro/blockDiagram-VD42YOAC.6LO7yu7m.js","/_astro/c4Diagram-YG6GDRKO.BqntXNsZ.js","/_astro/channel._8es88oH.js","/_astro/chunk-4BX2VUAB.b97OIY94.js","/_astro/chunk-55IACEB6.Cf9hglsl.js","/_astro/chunk-B4BG7PRW.vDfM6vb1.js","/_astro/chunk-DI55MBZ5.8pHdnkw9.js","/_astro/chunk-FMBD7UC4.l_Ue7ZYJ.js","/_astro/chunk-QN33PNHL.CyBZ7SCx.js","/_astro/chunk-QZHKN3VN.BC5tI2Vw.js","/_astro/chunk-TZMSLE5B.DxkkbOL4.js","/_astro/classDiagram-2ON5EDUG.DMv55r4w.js","/_astro/classDiagram-v2-WZHVMYZB.DMv55r4w.js","/_astro/client.9unXo8s5.js","/_astro/clone.COAvtnt5.js","/_astro/cose-bilkent-S5V4N54A.DlRxGhCG.js","/_astro/cytoscape.esm.DtBltrT8.js","/_astro/dagre-6UL2VRFP.tCLd0f1c.js","/_astro/defaultLocale.C4B-KCzX.js","/_astro/diagram-PSM6KHXK.CJA_rnN3.js","/_astro/diagram-QEK2KX5R.BoqLvsuS.js","/_astro/diagram-S2PKOQOG.T8h5wODN.js","/_astro/erDiagram-Q2GNP2WA.B4hpr69H.js","/_astro/flowDiagram-NV44I4VS.CV4Oenkb.js","/_astro/ganttDiagram-JELNMOA3.DdpXJeX3.js","/_astro/gitGraphDiagram-NY62KEGX.BeY3JZYI.js","/_astro/graph.CO6LxWoK.js","/_astro/graph.astro_astro_type_script_index_0_lang.BxaPom9e.js","/_astro/impact.astro_astro_type_script_index_0_lang.VjeLQGe6.js","/_astro/index.WFquGv8Z.js","/_astro/infoDiagram-WHAUD3N6.D2_J_fR6.js","/_astro/init.Gi6I4Gst.js","/_astro/journeyDiagram-XKPGCS4Q.7c4ngVDw.js","/_astro/kanban-definition-3W4ZIXB7.D_eWex6x.js","/_astro/katex.XbL3y5x-.js","/_astro/layout.Cn9EjNLq.js","/_astro/linear.BlE_mLsy.js","/_astro/mermaid.core.CgCLOZ6t.js","/_astro/min.OtQS-qlD.js","/_astro/mindmap-definition-VGOIOE7T.CjNYt18e.js","/_astro/ordinal.BYWQX77i.js","/_astro/pieDiagram-ADFJNKIX.D18DPyo6.js","/_astro/quadrantDiagram-AYHSOK5B.Cma08fPv.js","/_astro/requirementDiagram-UZGBJVZJ.BlhVOrX0.js","/_astro/sankeyDiagram-TZEHDZUN.HRsqw4ej.js","/_astro/sequenceDiagram-WL72ISMW.3cZYkaSP.js","/_astro/stateDiagram-FKZM4ZOC.DdlRd9N7.js","/_astro/stateDiagram-v2-4FDKWEC3.DCPDjwi7.js","/_astro/timeline-definition-IT6M3QCI.BshW8mMW.js","/_astro/treemap-KMMF4GRG.BxXN_YfK.js","/_astro/xychartDiagram-PRI3JC2R.Mg5_s08f.js"],"buildFormat":"directory","checkOrigin":true,"allowedDomains":[],"serverIslandNameMap":[],"key":"HQF+sicAwzWkmMFdDoue+f+hRg6t5X+TqtEjs3ronb0=","sessionConfig":{"driver":"fs-lite","options":{"base":"/home/runner/work/screenbook/screenbook/packages/ui/node_modules/.astro/sessions"}}});
|
|
99
99
|
if (manifest.sessionConfig) manifest.sessionConfig.driverModule = () => import('./chunks/fs-lite_COtHaKzy.mjs');
|
|
100
100
|
|
|
101
101
|
export { manifest };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@screenbook/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "UI for Screenbook - screen catalog and navigation graph viewer",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"dependencies": {
|
|
@@ -32,6 +32,10 @@
|
|
|
32
32
|
"url": "https://github.com/wadakatu/screenbook/issues"
|
|
33
33
|
},
|
|
34
34
|
"files": [
|
|
35
|
+
"src",
|
|
36
|
+
"public",
|
|
37
|
+
"astro.config.mjs",
|
|
38
|
+
"tsconfig.json",
|
|
35
39
|
"dist",
|
|
36
40
|
"README.md"
|
|
37
41
|
],
|
package/public/logo.svg
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="45" y="12" width="40" height="20" rx="3" fill="#14b8a6"/>
|
|
3
|
+
<rect x="15" y="40" width="40" height="20" rx="3" fill="#14b8a6"/>
|
|
4
|
+
<rect x="45" y="68" width="40" height="20" rx="3" fill="#14b8a6"/>
|
|
5
|
+
</svg>
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
/**
|
|
3
|
+
* LinkIcon component displays an appropriate icon based on the link type.
|
|
4
|
+
* If type is not specified, it attempts to infer the type from the URL.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
interface Props {
|
|
8
|
+
type?: "figma" | "storybook" | "docs" | "other"
|
|
9
|
+
url: string
|
|
10
|
+
size?: number
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { type, url, size = 16 } = Astro.props
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Infer link type from URL if not explicitly specified
|
|
17
|
+
*/
|
|
18
|
+
function inferType(url: string): "figma" | "storybook" | "docs" | "other" {
|
|
19
|
+
if (url.includes("figma.com")) return "figma"
|
|
20
|
+
if (url.includes("storybook")) return "storybook"
|
|
21
|
+
return "other"
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
const resolvedType = type ?? inferType(url)
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
{
|
|
28
|
+
resolvedType === "figma" && (
|
|
29
|
+
<svg
|
|
30
|
+
aria-hidden="true"
|
|
31
|
+
width={size}
|
|
32
|
+
height={size}
|
|
33
|
+
viewBox="0 0 24 24"
|
|
34
|
+
fill="currentColor"
|
|
35
|
+
>
|
|
36
|
+
<path d="M5.5 2C4.12 2 3 3.12 3 4.5v3C3 8.88 4.12 10 5.5 10H8v4H5.5C4.12 14 3 15.12 3 16.5S4.12 19 5.5 19H8v.5c0 1.38 1.12 2.5 2.5 2.5s2.5-1.12 2.5-2.5V19h2.5c1.38 0 2.5-1.12 2.5-2.5S16.88 14 15.5 14H13v-4h2.5c1.38 0 2.5-1.12 2.5-2.5S16.88 5 15.5 5H13V4.5C13 3.12 11.88 2 10.5 2H5.5zM8 5h2.5c.83 0 1.5.67 1.5 1.5V7h-4V5zm0 4h4v4H8v-4zm0 8H5.5c-.83 0-1.5-.67-1.5-1.5S4.67 14 5.5 14H8v3zm2.5 3c-.83 0-1.5-.67-1.5-1.5V17h3v1.5c0 .83-.67 1.5-1.5 1.5zM13 17h2.5c.83 0 1.5-.67 1.5-1.5s-.67-1.5-1.5-1.5H13v3zM8 5H5.5c-.83 0-1.5.67-1.5 1.5S4.67 8 5.5 8H8V5zm5 0h2.5c.83 0 1.5.67 1.5 1.5S16.33 8 15.5 8H13V5z" />
|
|
37
|
+
</svg>
|
|
38
|
+
)
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
{
|
|
42
|
+
resolvedType === "storybook" && (
|
|
43
|
+
<svg
|
|
44
|
+
aria-hidden="true"
|
|
45
|
+
width={size}
|
|
46
|
+
height={size}
|
|
47
|
+
viewBox="0 0 24 24"
|
|
48
|
+
fill="currentColor"
|
|
49
|
+
>
|
|
50
|
+
<path d="M16.34 1.1l-.16 3.28c-.01.15.1.28.25.28.07 0 .14-.03.19-.08l1.13-.9 1.01.82c.09.07.22.06.3-.03.05-.05.07-.11.07-.18l-.14-3.4c0-.07.03-.13.08-.18.05-.05.12-.07.18-.07l2.16-.14a.13.13 0 01.14.12v.01l.09 19.6a.13.13 0 01-.08.12l-.01.01c-.02.01-.05.02-.08.02-1.58-.12-1.7-.41-2.12-1.2-1.19-2.24-3.3-6.24-3.3-6.24-.18-.4-.57-.4-.57.07 0 .16.01.32.02.48.17 2.56-.38 5.48-2.57 6.3-.12.05-.26.09-.4.12l-8.12.45c-.11 0-.2-.08-.2-.19l-.05-.01.59-19.22a.26.26 0 01.25-.25l12.43-.74c.07.01.12.04.12.12zm-4.45 6.55c0 .44 3.06.24 3.48-.06 0-3.03-1.61-4.61-4.56-4.61-2.96 0-4.64 1.62-4.64 4.04 0 4.19 5.65 4.27 5.65 6.56 0 .65-.28 1.02-1 1.02-.9 0-1.28-.47-1.23-2.06 0-.33-3.49-.44-3.6 0-.26 3.65 2.01 4.71 4.88 4.71 2.78 0 4.96-1.48 4.96-4.15 0-4.49-5.74-4.39-5.74-6.61 0-.9.62-1.01 1-1.01.42 0 1.12.06.8 2.17z" />
|
|
51
|
+
</svg>
|
|
52
|
+
)
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
{
|
|
56
|
+
resolvedType === "docs" && (
|
|
57
|
+
<svg
|
|
58
|
+
aria-hidden="true"
|
|
59
|
+
width={size}
|
|
60
|
+
height={size}
|
|
61
|
+
viewBox="0 0 24 24"
|
|
62
|
+
fill="none"
|
|
63
|
+
stroke="currentColor"
|
|
64
|
+
stroke-width="2"
|
|
65
|
+
>
|
|
66
|
+
<path
|
|
67
|
+
stroke-linecap="round"
|
|
68
|
+
stroke-linejoin="round"
|
|
69
|
+
d="M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"
|
|
70
|
+
/>
|
|
71
|
+
</svg>
|
|
72
|
+
)
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
{
|
|
76
|
+
resolvedType === "other" && (
|
|
77
|
+
<svg
|
|
78
|
+
aria-hidden="true"
|
|
79
|
+
width={size}
|
|
80
|
+
height={size}
|
|
81
|
+
viewBox="0 0 24 24"
|
|
82
|
+
fill="none"
|
|
83
|
+
stroke="currentColor"
|
|
84
|
+
stroke-width="2"
|
|
85
|
+
>
|
|
86
|
+
<path
|
|
87
|
+
stroke-linecap="round"
|
|
88
|
+
stroke-linejoin="round"
|
|
89
|
+
d="M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25"
|
|
90
|
+
/>
|
|
91
|
+
</svg>
|
|
92
|
+
)
|
|
93
|
+
}
|