@loadmap/react 0.26.1 → 0.27.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/README.md +3 -1
- package/dist/{Loadmap-Rla4011L.js → Loadmap-Cv5BdNXp.js} +95 -22
- package/dist/catalog.d.ts +1 -0
- package/dist/catalog.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{later-Dg1NA8wt.js → later-Dz9AorRC.js} +14 -14
- package/dist/source.d.ts +3 -1
- package/dist/source.js +18 -8
- package/package.json +9 -5
package/README.md
CHANGED
|
@@ -67,7 +67,9 @@ export function App() {
|
|
|
67
67
|
```
|
|
68
68
|
|
|
69
69
|
Every capacity says where it came from (`measured`, `estimated`, or a fit from measurements), and `± 30 %` turns
|
|
70
|
-
each limit into a range.
|
|
70
|
+
each limit into a range. `published(kafka, { brokers: 3, replication: 3, acks: 'all', messageSize: '1 KB', producers: 4
|
|
71
|
+
})`, with `kafka` from `@loadmap/react/catalog`, takes the figure published for that configuration, labelled and
|
|
72
|
+
linked to its source; a configuration no published run matches gets no number, and the verdict says so. Add `scenarios` to compare designs, `growth` to turn multiples into dates, `expect` to fail
|
|
71
73
|
a test when headroom is lost. The layout runs in a Web Worker; nothing loads it before the first diagram. A page
|
|
72
74
|
without a bundler (from a CDN, or one self-contained HTML file) hands in its own: `elk={workerElk(…)}`, with
|
|
73
75
|
`@loadmap/react/elk.worker.js` to inline; https://jaim3r0jas.github.io/loadmap/without-a-bundler/ has both recipes.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { compare, headroom } from "@loadmap/core";
|
|
2
|
-
import { compact, fmt, monthOf, multiple, multiples, pct, secs } from "@loadmap/core/format";
|
|
1
|
+
import { compare, headroom, sourceText } from "@loadmap/core";
|
|
2
|
+
import { capital, compact, fmt, monthOf, multiple, multiples, pct, secs } from "@loadmap/core/format";
|
|
3
3
|
import { anchor, directionOf, labelsAt, layout, legPath, localElk, pointAt, structureKey } from "@loadmap/layout";
|
|
4
4
|
import { Suspense, lazy, memo, useCallback, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState, useSyncExternalStore } from "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -42,7 +42,6 @@ function rankLabels(ev, model) {
|
|
|
42
42
|
});
|
|
43
43
|
return out;
|
|
44
44
|
}
|
|
45
|
-
const capital = (s) => s.charAt(0).toUpperCase() + s.slice(1);
|
|
46
45
|
/** The limit moves from one component to another between these values. */
|
|
47
46
|
const handsOver = (a, b) => !!a.firstLimit && !!b.firstLimit && a.firstLimit.id !== b.firstLimit.id;
|
|
48
47
|
/**
|
|
@@ -212,7 +211,7 @@ function stepDetail(a, b, components) {
|
|
|
212
211
|
}).filter(Boolean).join(" · ");
|
|
213
212
|
}
|
|
214
213
|
// src/Diagram.tsx
|
|
215
|
-
const Detail = lazy(() => import("./later-
|
|
214
|
+
const Detail = lazy(() => import("./later-Dz9AorRC.js").then((m) => ({ default: m.Detail })));
|
|
216
215
|
const STATE_STROKE = {
|
|
217
216
|
off: "var(--lm-line)",
|
|
218
217
|
ok: "var(--lm-ok)",
|
|
@@ -607,7 +606,7 @@ const Structure = memo(function Structure({ lm, scene, hand, svgRef, rates, setT
|
|
|
607
606
|
tabIndex: 0,
|
|
608
607
|
role: "button",
|
|
609
608
|
className: "lm-node",
|
|
610
|
-
"aria-label": `${title && title !== c.name ? `${title}, ` : ""}${c.name}: ${c.util == null ? "switched off" : pct(c.util)}`,
|
|
609
|
+
"aria-label": `${title && title !== c.name ? `${title}, ` : ""}${c.name}: ${c.missing != null ? "no published benchmark" : c.util == null ? "switched off" : pct(c.util)}`,
|
|
611
610
|
...onClick ? { "aria-pressed": selected === n.id } : {},
|
|
612
611
|
onPointerEnter: (e) => e.pointerType === "mouse" && setTip((t) => t?.pinned ? t : {
|
|
613
612
|
id: n.id,
|
|
@@ -1807,8 +1806,25 @@ function Verdict({ lm }) {
|
|
|
1807
1806
|
children: measure.text
|
|
1808
1807
|
})] });
|
|
1809
1808
|
}
|
|
1810
|
-
/** "±30 %" for a capacity with a range. */
|
|
1811
|
-
const plusMinus = (c) => c?.within ?
|
|
1809
|
+
/** "±30 %" for a capacity with a range; "−30 %" for a best case, which a range only lowers. */
|
|
1810
|
+
const plusMinus = (c) => c?.within ? `${c.ceiling ? "−" : "±"}${pct(c.within)}` : "";
|
|
1811
|
+
/** The tag beside a component's name when its capacity is not plainly measured: estimated, published, a range, none. */
|
|
1812
|
+
function CapTag({ c, short }) {
|
|
1813
|
+
const pm = plusMinus(c ?? null);
|
|
1814
|
+
const kind = c?.missing != null ? "none" : c?.ref ? "published" : c?.provenance === "estimated" ? "estimated" : "range";
|
|
1815
|
+
const word = {
|
|
1816
|
+
none: short ? "none" : "no published benchmark",
|
|
1817
|
+
published: short ? "pub" : "published",
|
|
1818
|
+
estimated: short ? "est" : "estimate",
|
|
1819
|
+
range: ""
|
|
1820
|
+
}[kind];
|
|
1821
|
+
if (kind === "range" && !pm) return null;
|
|
1822
|
+
return /* @__PURE__ */ jsx("span", {
|
|
1823
|
+
className: "lm-tag",
|
|
1824
|
+
"data-kind": kind,
|
|
1825
|
+
children: short && kind === "range" ? "±" : [word, short ? "" : pm].filter(Boolean).join(" ")
|
|
1826
|
+
});
|
|
1827
|
+
}
|
|
1812
1828
|
/** Each component's utilization in the order they reach the target, with where they cross it and 100 %. */
|
|
1813
1829
|
function Limits({ lm, title = "Where it runs out, in order" }) {
|
|
1814
1830
|
const { ev, model } = lm;
|
|
@@ -1862,23 +1878,15 @@ function Limits({ lm, title = "Where it runs out, in order" }) {
|
|
|
1862
1878
|
"data-kind": "first",
|
|
1863
1879
|
children: "limit"
|
|
1864
1880
|
}),
|
|
1865
|
-
|
|
1866
|
-
className: "lm-tag",
|
|
1867
|
-
"data-kind": "estimated",
|
|
1868
|
-
children: ["estimate", c.capacity.within ? ` ${plusMinus(c.capacity)}` : ""]
|
|
1869
|
-
}) : !!c.capacity?.within && /* @__PURE__ */ jsx("span", {
|
|
1870
|
-
className: "lm-tag",
|
|
1871
|
-
"data-kind": "range",
|
|
1872
|
-
children: plusMinus(c.capacity)
|
|
1873
|
-
})
|
|
1881
|
+
/* @__PURE__ */ jsx(CapTag, { c: c.capacity })
|
|
1874
1882
|
] }), /* @__PURE__ */ jsx("span", {
|
|
1875
1883
|
className: "lm-sub",
|
|
1876
|
-
children: c.describe ?? (c.capacity ? `${fmt(c.capacity.value)} ${c.capacity.unit}` : "switched off")
|
|
1884
|
+
children: c.missing != null ? `No published benchmark ${c.missing}.` : c.describe ?? (c.capacity ? `${fmt(c.capacity.value)} ${c.capacity.unit}` : "switched off")
|
|
1877
1885
|
})] }),
|
|
1878
1886
|
/* @__PURE__ */ jsxs("div", {
|
|
1879
1887
|
className: "lm-track",
|
|
1880
1888
|
role: "img",
|
|
1881
|
-
"aria-label": `${c.name} at ${c.util == null ? "off" : pct(c.util)}`,
|
|
1889
|
+
"aria-label": `${c.name} at ${c.missing != null ? "no published benchmark" : c.util == null ? "off" : pct(c.util)}`,
|
|
1882
1890
|
children: [
|
|
1883
1891
|
/* @__PURE__ */ jsx("div", {
|
|
1884
1892
|
className: "lm-fill",
|
|
@@ -2202,6 +2210,23 @@ function Assumptions({ lm, extra = [] }) {
|
|
|
2202
2210
|
function describe(a) {
|
|
2203
2211
|
if (a.kind === "capacity") {
|
|
2204
2212
|
const c = a.capacity;
|
|
2213
|
+
if (c.missing != null) return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2214
|
+
/* @__PURE__ */ jsxs("b", { children: [a.name, ":"] }),
|
|
2215
|
+
" no capacity:",
|
|
2216
|
+
" ",
|
|
2217
|
+
/* @__PURE__ */ jsx("span", {
|
|
2218
|
+
className: "lm-prov",
|
|
2219
|
+
"data-kind": "published",
|
|
2220
|
+
children: "no published benchmark"
|
|
2221
|
+
}),
|
|
2222
|
+
" ",
|
|
2223
|
+
c.missing,
|
|
2224
|
+
"."
|
|
2225
|
+
] });
|
|
2226
|
+
if (c.ref) return /* @__PURE__ */ jsx(Published, {
|
|
2227
|
+
name: a.name,
|
|
2228
|
+
c
|
|
2229
|
+
});
|
|
2205
2230
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2206
2231
|
/* @__PURE__ */ jsxs("b", { children: [a.name, ":"] }),
|
|
2207
2232
|
" ",
|
|
@@ -2246,6 +2271,52 @@ function describe(a) {
|
|
|
2246
2271
|
"."
|
|
2247
2272
|
] });
|
|
2248
2273
|
}
|
|
2274
|
+
/** A published figure with what it is, its conditions and where it comes from: a vendor's run, not this system. */
|
|
2275
|
+
function Published({ name, c }) {
|
|
2276
|
+
const r = c.ref;
|
|
2277
|
+
const runs = r.versions.join(", ");
|
|
2278
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2279
|
+
/* @__PURE__ */ jsxs("b", { children: [name, ":"] }),
|
|
2280
|
+
" ",
|
|
2281
|
+
fmt(c.value),
|
|
2282
|
+
" ",
|
|
2283
|
+
c.unit,
|
|
2284
|
+
c.within ? ` ${plusMinus(c)}` : "",
|
|
2285
|
+
",",
|
|
2286
|
+
" ",
|
|
2287
|
+
/* @__PURE__ */ jsx("span", {
|
|
2288
|
+
className: "lm-prov",
|
|
2289
|
+
"data-kind": "published",
|
|
2290
|
+
children: r.measure === "limit" ? "published limit" : "published"
|
|
2291
|
+
}),
|
|
2292
|
+
": ",
|
|
2293
|
+
r.name,
|
|
2294
|
+
", ",
|
|
2295
|
+
r.what,
|
|
2296
|
+
", ",
|
|
2297
|
+
r.scope,
|
|
2298
|
+
" (",
|
|
2299
|
+
r.conditions.join("; "),
|
|
2300
|
+
"); ",
|
|
2301
|
+
r.name,
|
|
2302
|
+
" ",
|
|
2303
|
+
runs,
|
|
2304
|
+
r.version && r.version !== runs ? `, you run ${r.version}` : "",
|
|
2305
|
+
"; ",
|
|
2306
|
+
sourceText(r),
|
|
2307
|
+
" (",
|
|
2308
|
+
/^https:\/\//.test(r.source.url) ? /* @__PURE__ */ jsx("a", {
|
|
2309
|
+
href: r.source.url,
|
|
2310
|
+
target: "_blank",
|
|
2311
|
+
rel: "noopener noreferrer",
|
|
2312
|
+
children: "source"
|
|
2313
|
+
}) : r.source.url,
|
|
2314
|
+
", catalog ",
|
|
2315
|
+
r.edition,
|
|
2316
|
+
").",
|
|
2317
|
+
r.measure === "limit" ? "" : " A best case elsewhere, not a measurement of this system."
|
|
2318
|
+
] });
|
|
2319
|
+
}
|
|
2249
2320
|
/** Exact below 1,000 (3.9 cores), compact above (12k req/s). */
|
|
2250
2321
|
const num = (x) => Math.abs(x) >= 1e3 ? compact(x) : fmt(x);
|
|
2251
2322
|
const sig = (x) => Number(x.toPrecision(3)).toString();
|
|
@@ -2574,6 +2645,8 @@ const LOADMAP_CSS = `
|
|
|
2574
2645
|
.lm-tag { font: 600 .64rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }
|
|
2575
2646
|
.lm-tag[data-kind="first"] { color: var(--lm-surface); background: var(--lm-drop); }
|
|
2576
2647
|
.lm-tag[data-kind="estimated"] { color: var(--lm-warn); border: 1px solid currentColor; }
|
|
2648
|
+
.lm-tag[data-kind="published"] { color: var(--lm-alt); border: 1px solid currentColor; }
|
|
2649
|
+
.lm-tag[data-kind="none"] { color: var(--lm-muted); border: 1px dashed currentColor; }
|
|
2577
2650
|
.lm-tag[data-kind="range"], .lm-tag[data-kind="rank"] { color: var(--lm-muted); border: 1px solid currentColor; }
|
|
2578
2651
|
.lm-track { position: relative; height: 16px; background: var(--lm-bg); border-radius: 3px; overflow: hidden; }
|
|
2579
2652
|
.lm-fill { position: absolute; inset: 0 auto 0 0; background: var(--lm-ok); transition: width .25s ease; }
|
|
@@ -2604,7 +2677,7 @@ const LOADMAP_CSS = `
|
|
|
2604
2677
|
.lm-facts li { margin-bottom: 8px; break-inside: avoid; }
|
|
2605
2678
|
.lm-prov { font: 600 .66rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; }
|
|
2606
2679
|
.lm-prov[data-kind="measured"] { color: var(--lm-ok); } .lm-prov[data-kind="estimated"] { color: var(--lm-warn); }
|
|
2607
|
-
.lm-prov[data-kind="configured"] { color: var(--lm-accent); }
|
|
2680
|
+
.lm-prov[data-kind="configured"] { color: var(--lm-accent); } .lm-prov[data-kind="published"] { color: var(--lm-alt); }
|
|
2608
2681
|
|
|
2609
2682
|
/* scenario identity colours (s1–s4) are checked for colour-blind separation on both surfaces; text never wears them */
|
|
2610
2683
|
.lm-scenarios { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
|
|
@@ -3625,8 +3698,8 @@ function canvasMeasure(fontFamily) {
|
|
|
3625
3698
|
};
|
|
3626
3699
|
}
|
|
3627
3700
|
// src/Loadmap.tsx
|
|
3628
|
-
const Dock = lazy(() => import("./later-
|
|
3629
|
-
const VerdictLine = lazy(() => import("./later-
|
|
3701
|
+
const Dock = lazy(() => import("./later-Dz9AorRC.js").then((m) => ({ default: m.Dock })));
|
|
3702
|
+
const VerdictLine = lazy(() => import("./later-Dz9AorRC.js").then((m) => ({ default: m.VerdictLine })));
|
|
3630
3703
|
/** What the page's own switch says, on `<html>`: `data-theme`, or a `dark` or `light` class; null when it says nothing. */
|
|
3631
3704
|
function pageTheme() {
|
|
3632
3705
|
if (typeof document === "undefined") return null;
|
|
@@ -3879,4 +3952,4 @@ function handleOf(lm) {
|
|
|
3879
3952
|
} : null
|
|
3880
3953
|
};
|
|
3881
3954
|
}
|
|
3882
|
-
export {
|
|
3955
|
+
export { rankLabels as A, useComparison as C, workerElk as D, whenRange as E, Diagram as O, scenarioColor as S, useSize as T, Verdict as _, usePageTheme as a, HeadroomChart as b, injectStyles as c, CapTag as d, Controls as f, Meters as g, LoadRange as h, handleOf as i, boxComponent as k, Story as l, LoadBar as m, Loadmap as n, useLoadmap as o, Limits as p, LoadmapRoot as r, LOADMAP_CSS as s, LOADMAP_PANELS as t, Assumptions as u, plusMinus as v, useHeadroom as w, Scenarios as x, Compare as y };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@loadmap/core/catalog";
|
package/dist/catalog.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@loadmap/core/catalog";
|
package/dist/index.d.ts
CHANGED
|
@@ -111,7 +111,7 @@ export declare function Story({ lm }: {
|
|
|
111
111
|
* that has its own, set on the root (`.card > .lm`) so they resolve there and reach no nested board; full screen
|
|
112
112
|
* keeps both.
|
|
113
113
|
*/
|
|
114
|
-
export declare const LOADMAP_CSS = "\n.lm { \n --lm-bg: #eef2f5; --lm-surface: #ffffff; --lm-fg: #17212b; --lm-muted: #5d6d7c; --lm-line: #c6d0da;\n --lm-accent: #0b6b8f; --lm-accent-soft: #d6e9f0; --lm-alt: #7a4f9a; --lm-alt-soft: #efe5f6;\n --lm-ok: #2a7f5a; --lm-warn: #b86e00; --lm-drop: #b7392e; --lm-lane: #e3e9ee;\n --lm-tier: #f3f6f9; --lm-tier-head: #e4eaf0; --lm-tier-fg: #34424f; --lm-tier-line: #c6d0da;\n --lm-s1: #2a78d6; --lm-s2: #eb6834; --lm-s3: #6250d6; --lm-s4: #eda100; color-scheme: light;\n --lm-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n --lm-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font: 14px/1.45 var(--lm-font); color: var(--lm-fg); background: var(--lm-root-bg, var(--lm-bg));\n display: grid; gap: 14px; padding: var(--lm-pad, 16px); min-width: 0; box-sizing: border-box; }\n@media (prefers-color-scheme: dark) { .lm:not([data-theme=\"light\"]) { \n --lm-bg: #0d141b; --lm-surface: #151e27; --lm-fg: #e4ebf1; --lm-muted: #93a3b3; --lm-line: #2a3744;\n --lm-accent: #5fb7d6; --lm-accent-soft: #163442; --lm-alt: #c39be0; --lm-alt-soft: #2b2236;\n --lm-ok: #5fc08f; --lm-warn: #e2a24a; --lm-drop: #e26a5c; --lm-lane: #1b2631;\n --lm-tier: #1a2530; --lm-tier-head: #22303d; --lm-tier-fg: #c3cfda; --lm-tier-line: #33424f;\n --lm-s1: #3987e5; --lm-s2: #d95926; --lm-s3: #9085e9; --lm-s4: #c98500; color-scheme: dark; } }\n.lm[data-theme=\"dark\"] { \n --lm-bg: #0d141b; --lm-surface: #151e27; --lm-fg: #e4ebf1; --lm-muted: #93a3b3; --lm-line: #2a3744;\n --lm-accent: #5fb7d6; --lm-accent-soft: #163442; --lm-alt: #c39be0; --lm-alt-soft: #2b2236;\n --lm-ok: #5fc08f; --lm-warn: #e2a24a; --lm-drop: #e26a5c; --lm-lane: #1b2631;\n --lm-tier: #1a2530; --lm-tier-head: #22303d; --lm-tier-fg: #c3cfda; --lm-tier-line: #33424f;\n --lm-s1: #3987e5; --lm-s2: #d95926; --lm-s3: #9085e9; --lm-s4: #c98500; color-scheme: dark; }\n.lm *, .lm *::before, .lm *::after { box-sizing: border-box; }\n.lm h2 { font-size: 1.3rem; font-weight: 600; margin: 0; text-wrap: balance; }\n.lm h3 { font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); margin: 0; }\n.lm button:focus-visible, .lm input:focus-visible, .lm select:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: 2px; }\n.lm-problems { margin: 0; padding: 10px 12px; font: .8rem/1.5 var(--lm-mono); white-space: pre-wrap; overflow-x: auto; color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-left: 3px solid var(--lm-drop); border-radius: 6px; }\n.lm-note { margin: 0; font-size: .8rem; color: var(--lm-muted); }\n.lm-card { background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; padding: 14px 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }\n\n.lm-wrap { display: grid; gap: 8px; min-width: 0; position: relative; }\n.lm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }\n.lm-btn { font: 500 .8rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }\n.lm-board { position: relative; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; overflow: hidden; margin: 0 auto; width: 100%; }\n.lm-board svg { display: block; width: 100%; height: auto; font-family: var(--lm-font); }\n.lm-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }\n/* the story's title over the board while it plays: a lower third, at the top when what is framed is low; a strip\n across the top of a narrow board */\n.lm-title { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: grid; gap: 1px; max-width: min(34rem, calc(100% - 24px)); padding: 7px 12px 8px; border-left: 4px solid var(--lm-accent); border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--lm-surface) 92%, transparent); box-shadow: 0 4px 16px rgb(0 0 0 / .12); pointer-events: none; overflow-wrap: anywhere; }\n.lm-title[data-top] { top: 12px; bottom: auto; }\n.lm-title b { font-size: .95rem; font-weight: 600; }\n.lm-title span { font: 500 .8rem var(--lm-mono); color: var(--lm-muted); }\n@container (max-width: 520px) {\n .lm-title, .lm-title[data-top] { top: 0; right: 0; bottom: auto; left: 0; max-width: none; padding: 4px 8px; border-radius: 0; box-shadow: none; }\n .lm-title b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .lm-title span { display: none; }\n}\n.lm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--lm-muted); }\n.lm-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }\n\n/* full screen (the browser's, or a fixed overlay): a column that never scrolls. The diagram as wide as the screen on\n top; under it the verdict in a line and the panels, compact, in a dock the screen sizes. The load changes what is\n in them, never their size, so it never moves the board. Focus: the diagram, the story, the verdict and the load */\n.lm-side, .lm-card > .lm-panel { display: contents; }\n.lm-panel { display: grid; gap: 14px; min-width: 0; }\n.lm[data-full] { height: 100vh; height: 100dvh; padding: 16px; background: var(--lm-bg); overflow: hidden; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; position: relative; }\n.lm[data-full=\"fill\"] { height: 100%; padding: 10px; }\n.lm[data-full=\"overlay\"] { position: fixed; inset: 0; z-index: 2147483000; width: auto; max-width: none; max-height: none; margin: 0; border: 0; }\n.lm[data-full] > * { flex: none; }\n/* a page of its own keeps the rest outside full screen, as <Loadmap> does */\n.lm[data-full] > :not(.lm-head, h2, .lm-scenarios, .lm-loadbar, .lm-story, .lm-wrap, .lm-line, .lm-dock, .lm-side) { display: none; }\n.lm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; min-width: 0; }\n.lm-head h2 { font-size: 1.1rem; }\n.lm-head .lm-loadbar { flex: 1 1 520px; }\n.lm[data-full] .lm-wrap { gap: 6px; }\n/* the board as large as fits (--lm-fit, from Diagram), left under the bar, so the legend starts where the board does */\n.lm[data-full] .lm-board { width: var(--lm-fit, 100%); margin: 0; align-self: start; justify-self: start; }\n.lm-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }\n.lm-modes { display: inline-flex; margin: 0; padding: 0; min-width: 0; border: 1px solid var(--lm-line); border-radius: 6px; overflow: hidden; }\n.lm-modes button { font: 500 .8rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 0; padding: 6px 12px; cursor: pointer; }\n.lm-modes button[aria-pressed=\"true\"] { background: var(--lm-fg); color: var(--lm-surface); }\n.lm[data-full] .lm-story { padding: 6px 12px; }\n.lm[data-full] [data-out] { display: none; }\n\n.lm-line { display: flex; align-items: center; gap: 6px 14px; min-width: 0; padding: 6px 12px; border-left: 4px solid var(--lm-ok); background: var(--lm-accent-soft); border-radius: 0 6px 6px 0; }\n.lm-line[data-tier=\"warn\"] { border-color: var(--lm-warn); }\n.lm-line[data-tier=\"over\"] { border-color: var(--lm-drop); }\n.lm-headline { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-num { font: 600 .95em var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-link { font: 500 .8rem var(--lm-font); color: var(--lm-accent); background: none; border: 0; padding: 2px 4px; cursor: pointer; white-space: nowrap; }\n\n.lm-dock { display: flex; gap: 10px; min-width: 0; }\n.lm[data-full] > .lm-dock { flex: 1 1 0; min-height: clamp(200px, 26dvh, 340px); }\n.lm-tabs { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }\n.lm-mini { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; display: grid; container-type: inline-size; }\n.lm-mini[data-mini=\"controls\"] { flex-grow: 1.25; }\n.lm-mini[data-mini=\"limits\"] { flex-grow: 1.45; }\n.lm-mini[data-mini=\"live\"] { flex-grow: .8; }\n.lm-mini[data-mini=\"headroom\"] { flex-grow: .9; }\n.lm-mini[data-mini=\"compare\"] { flex-grow: 1.3; }\n.lm-mini > .lm-card { min-height: 0; overflow: hidden; padding: 10px 12px; gap: 6px; align-content: start; }\n.lm-mini [data-clip] { visibility: hidden; }\n.lm-more { position: absolute; top: 6px; right: 6px; font: 500 .8rem var(--lm-font); color: var(--lm-accent); background: var(--lm-surface); border: 0; border-radius: 4px; padding: 2px 6px; cursor: pointer; }\n.lm-more[data-more]:not([data-more=\"\"])::before { content: attr(data-more) \" \"; }\n.lm-mini .lm-meters { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px; }\n.lm-mini .lm-meter { display: flex; align-items: baseline; gap: 8px; padding: 3px 8px; }\n.lm-mini .lm-meter b { flex: none; font-size: .9rem; }\n.lm-mini .lm-meter span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n/* one grid for every row, so the bars line up whatever the names */\n.lm-mini-limits { display: grid; grid-template-columns: minmax(0, max-content) minmax(48px, 1fr) auto auto; gap: 6px 10px; }\n.lm-mini-lim { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; font-size: .8rem; }\n.lm-mini-lim .lm-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-mini-lim .lm-tag { margin-left: 5px; }\n.lm-mini-lim .lm-track { height: 9px; }\n.lm-mini-lim .lm-val { white-space: nowrap; }\n.lm-mini-lim .lm-sub { font: 400 .74rem var(--lm-mono); color: var(--lm-muted); }\n.lm-mini .lm-controls { gap: 6px; column-gap: 16px; }\n.lm-mini .lm-controls small, .lm-mini .lm-controls > h3:not(:first-child) { display: none; }\n.lm-mini .lm-controls label.lm-range { grid-template-columns: minmax(0, 1fr) minmax(90px, 1.2fr); align-items: center; gap: 10px; font-size: .8rem; }\n.lm-mini .lm-select { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .8rem; }\n.lm-mini .lm-select select { width: auto; padding: 1px 6px; font-size: .78rem; }\n.lm-mini .lm-switch { font-size: .8rem; }\n.lm-mini .lm-switch input { margin-top: 2px; }\n.lm-mini .lm-presets { gap: 4px; }\n.lm-mini .lm-presets button { padding: 2px 8px; font-size: .72rem; }\n@container (min-width: 420px) {\n .lm-mini .lm-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .lm-mini .lm-controls > :is(h3, .lm-presets) { grid-column: 1 / -1; }\n}\n.lm-mini .lm-compare > :not(h3:first-child, .lm-table-wrap:nth-child(3)) { display: none; }\n.lm-mini .lm-table { font-size: .76rem; }\n.lm-mini .lm-table th, .lm-mini .lm-table td { padding: 3px 8px 3px 0; }\n.lm-mini .lm-table small { display: none; }\n.lm-mini .lm-table thead th { white-space: nowrap; font-size: .6rem; }\n.lm-mini > .lm-card:has(> .lm-spark) { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }\n.lm-spark { position: relative; min-height: 0; }\n.lm-spark svg { position: absolute; inset: 0; display: block; overflow: hidden; }\n.lm-spark-th { stroke: var(--lm-muted); stroke-dasharray: 4 3; }\n.lm-spark-load { stroke: var(--lm-fg); opacity: .45; }\n.lm-spark-text { margin: 0; font-size: .76rem; color: var(--lm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n/* the drawer: the page's own panel, alone, over the right of the board */\n.lm[data-full] > .lm-drawer:not([data-drawer]) { display: none; }\n.lm[data-full] > .lm-drawer[data-drawer] { display: grid; gap: 14px; align-content: start; position: absolute; top: 16px; right: 16px; bottom: 16px; z-index: 4; width: min(640px, calc(100% - 32px)); overflow: auto; overscroll-behavior: contain; padding: 14px; background: var(--lm-bg); border: 1px solid var(--lm-line); border-radius: 10px; box-shadow: -8px 0 30px rgb(0 0 0 / .2); container-type: inline-size; }\n.lm-side[data-drawer] :is(.lm-panel, .lm-strip, .lm-charts, .lm-card):not([data-drawn]):not(.lm-panel *) { display: none; }\n.lm-side[data-drawer] .lm-strip { grid-template-columns: minmax(0, 1fr); }\n.lm-drawer-bar { display: flex; justify-content: flex-end; }\n\n/* a page of its own: its .lm-side is a box under the board that scrolls on its own, the board as large as leaves it a\n third of the screen */\n.lm[data-full] > .lm-side:not(.lm-drawer) { display: grid; gap: 14px; align-content: start; flex: 1 1 0; min-height: 33dvh; overflow: auto; overscroll-behavior: contain; container-type: inline-size; }\n\n/* focus: the board and what runs on it in the middle of the screen */\n.lm[data-mode=\"focus\"] > .lm-side:not(.lm-drawer) { display: none; }\n.lm[data-mode=\"focus\"] > .lm-wrap { margin-top: auto; }\n.lm[data-mode=\"focus\"] > :is(.lm-story, .lm-line) { order: 1; }\n.lm[data-mode=\"focus\"]::after { content: \"\"; order: 2; margin-top: auto; }\n.lm[data-mode=\"focus\"] > .lm-story { border-left-width: 4px; padding: 10px 14px; }\n.lm[data-mode=\"focus\"] > .lm-story p { font-size: 1.1rem; }\n\n@media (max-width: 760px) {\n .lm[data-full] { padding: 10px; gap: 8px; }\n /* the page has the title, and the legend: here they would leave the diagram no room */\n .lm[data-full] > h2, .lm[data-full] :is(.lm-head h2, .lm-legend, .lm-story legend) { display: none; }\n /* the one exception: here the diagram runs top to bottom, and shrunk to the screen it is too small to read, so it\n pans in a box of its own with the bar on top. The page never scrolls */\n .lm[data-full] .lm-board { width: 100%; }\n .lm[data-full] > .lm-wrap { height: 40dvh; overflow: auto; row-gap: 0; overscroll-behavior: contain; }\n .lm[data-mode=\"focus\"] > .lm-wrap { height: auto; flex: 1 1 0; min-height: 0; margin-top: 0; }\n .lm[data-full] .lm-bar { position: sticky; top: 0; z-index: 1; padding-bottom: 8px; background: var(--lm-bg); }\n .lm[data-full] .lm-line { flex-wrap: wrap; }\n .lm[data-full] > .lm-story { padding: 6px 10px; gap: 6px 10px; }\n .lm[data-full] > .lm-story p { font-size: .84rem; }\n .lm[data-full] .lm-story button { padding: 4px 10px; }\n .lm[data-full] .lm-headline { flex-basis: 100%; }\n .lm-dock { flex-direction: column; min-height: 0; gap: 6px; }\n /* the load bar takes some of the dock's room: the load is no longer in a card */\n .lm[data-full] > .lm-dock { min-height: clamp(170px, 22dvh, 340px); }\n .lm-tabs { display: flex; flex: none; gap: 2px; border-bottom: 1px solid var(--lm-line); overflow: hidden; }\n .lm-tabs button { font: 500 .78rem var(--lm-font); color: var(--lm-muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 8px; cursor: pointer; white-space: nowrap; }\n .lm-tabs button[aria-pressed=\"true\"] { color: var(--lm-fg); border-color: var(--lm-fg); }\n .lm-mini:not([data-active]) { display: none; }\n .lm[data-full] > .lm-side[data-drawer] { inset: 8px; width: auto; }\n /* the load in thumb reach: the bar under the board and the story, over the verdict */\n .lm[data-full] .lm-head { display: contents; }\n .lm[data-full] .lm-loadbar { order: 2; flex: none; }\n /* two lines, so the board keeps its room: the scenarios and the load's value, then the track; the label names the\n slider unseen */\n .lm[data-full] .lm-load small { display: none; }\n .lm[data-full] .lm-load { display: contents; }\n .lm[data-full] :is(.lm-loadbar legend, .lm-load > label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }\n .lm[data-full] .lm-load > output { margin-left: auto; }\n .lm[data-full] .lm-load-track { flex: 1 1 100%; }\n .lm[data-full] > :is(.lm-line, .lm-dock) { order: 3; }\n}\n\n.lm-verdict { margin: 0; padding: 10px 14px; border-left: 4px solid var(--lm-ok); background: var(--lm-accent-soft); border-radius: 0 6px 6px 0; }\n.lm-verdict[data-tier=\"warn\"] { border-color: var(--lm-warn); }\n.lm-verdict[data-tier=\"over\"] { border-color: var(--lm-drop); }\n.lm-measure { margin: 6px 0 0; padding: 0 14px; font-size: .86rem; color: var(--lm-muted); }\n\n.lm-strip { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 14px; align-items: start; }\n@container (max-width: 860px) { .lm-strip { grid-template-columns: minmax(0, 1fr); } }\n.lm { container-type: inline-size; }\n\n.lm-meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }\n.lm-meter { padding: 8px 10px; border-radius: 6px; background: var(--lm-bg); min-width: 0; }\n.lm-meter b { display: block; font: 500 1.15rem var(--lm-mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-meter span { font-size: .74rem; color: var(--lm-muted); }\n.lm-meter[data-state=\"warn\"] b { color: var(--lm-warn); } .lm-meter[data-state=\"over\"] b { color: var(--lm-drop); }\n\n.lm-limits { display: grid; gap: 10px; }\n.lm-lim, .lm-scale { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 10rem; gap: 4px 14px; align-items: center; }\n@container (max-width: 640px) { .lm-lim, .lm-scale { grid-template-columns: minmax(0, 1fr); } .lm-scale > :first-child, .lm-scale > :last-child { display: none; } }\n.lm-lim b { display: block; font-weight: 600; font-size: .88rem; }\n.lm-lim .lm-sub { display: block; font-size: .74rem; color: var(--lm-muted); }\n.lm-tag { font: 600 .64rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }\n.lm-tag[data-kind=\"first\"] { color: var(--lm-surface); background: var(--lm-drop); }\n.lm-tag[data-kind=\"estimated\"] { color: var(--lm-warn); border: 1px solid currentColor; }\n.lm-tag[data-kind=\"range\"], .lm-tag[data-kind=\"rank\"] { color: var(--lm-muted); border: 1px solid currentColor; }\n.lm-track { position: relative; height: 16px; background: var(--lm-bg); border-radius: 3px; overflow: hidden; }\n.lm-fill { position: absolute; inset: 0 auto 0 0; background: var(--lm-ok); transition: width .25s ease; }\n.lm-fill[data-state=\"warn\"] { background: var(--lm-warn); } .lm-fill[data-state=\"over\"] { background: var(--lm-drop); }\n.lm-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--lm-fg); opacity: .55; }\n.lm-val { font: 500 .8rem var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-val small { display: block; font: 400 .72rem var(--lm-font); color: var(--lm-muted); }\n.lm-scale { font: 400 .7rem var(--lm-mono); color: var(--lm-muted); }\n.lm-scale div { position: relative; height: 12px; }\n.lm-scale div span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n\n.lm-controls label.lm-range { display: grid; gap: 4px; font-size: .84rem; }\n.lm-controls label.lm-range > span { display: flex; justify-content: space-between; gap: 8px; }\n.lm-controls output { font-family: var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-controls input[type=range] { width: 100%; accent-color: var(--lm-accent); }\n.lm-presets { display: flex; flex-wrap: wrap; gap: 6px; }\n.lm-presets button { font: 500 .76rem var(--lm-font); background: var(--lm-accent-soft); color: var(--lm-fg); border: 1px solid transparent; border-radius: 5px; padding: 5px 10px; cursor: pointer; }\n.lm-presets button[aria-pressed=\"true\"] { border-color: var(--lm-accent); }\n.lm-switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; align-items: start; font-size: .84rem; cursor: pointer; }\n.lm-switch input { margin: 3px 0 0; accent-color: var(--lm-accent); }\n.lm-switch small, .lm-select small { grid-column: 2; color: var(--lm-muted); font-size: .74rem; line-height: 1.3; }\n.lm-select { display: grid; gap: 4px; font-size: .84rem; }\n.lm-select select { width: 100%; min-width: 0; font: 400 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 5px; padding: 5px 8px; }\n.lm-off { opacity: .45; cursor: default; }\n\n.lm-facts { margin: 0; padding-left: 1.1em; font-size: .88rem; columns: 2; column-gap: 28px; }\n@container (max-width: 860px) { .lm-facts { columns: 1; } }\n.lm-facts li { margin-bottom: 8px; break-inside: avoid; }\n.lm-prov { font: 600 .66rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; }\n.lm-prov[data-kind=\"measured\"] { color: var(--lm-ok); } .lm-prov[data-kind=\"estimated\"] { color: var(--lm-warn); }\n.lm-prov[data-kind=\"configured\"] { color: var(--lm-accent); }\n\n/* scenario identity colours (s1–s4) are checked for colour-blind separation on both surfaces; text never wears them */\n.lm-scenarios { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }\n.lm-scenarios legend { float: left; font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); margin-right: 6px; padding: 0; }\n.lm-scenarios button { font: 500 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }\n.lm-scenarios button[aria-pressed=\"true\"] { border-color: var(--lm-fg); box-shadow: inset 0 0 0 1px var(--lm-fg); }\n.lm-scenarios i, .lm-table i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }\n.lm-story { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; min-width: 0; padding: 8px 12px; border: 1px solid var(--lm-line); border-left: 3px solid var(--lm-accent); border-radius: 6px; background: var(--lm-surface); }\n.lm-story legend { float: left; font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); padding: 0; }\n.lm-story p { flex: 1 1 240px; display: grid; margin: 0; font: 400 .9rem/1.4 var(--lm-font); color: var(--lm-fg); }\n.lm-story p > span { grid-area: 1 / 1; }\n.lm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n.lm-story p > span:not([data-shown]), .lm-story em:not([data-shown]) { visibility: hidden; }\n.lm-story-progress { display: flex; align-items: center; gap: 4px; }\n.lm-story-progress i { position: relative; width: 28px; height: 4px; border-radius: 2px; background: var(--lm-line); overflow: hidden; }\n.lm-story-progress i[data-state=\"done\"], .lm-story:not([data-playing]) .lm-story-progress i[data-state=\"now\"] { background: var(--lm-accent); }\n.lm-story[data-playing] .lm-story-progress i[data-state=\"now\"]::before { content: \"\"; position: absolute; inset: 0; background: var(--lm-accent); transform-origin: left; animation: lm-step var(--lm-step) linear both; }\n@keyframes lm-step { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n.lm-story b { font-weight: 600; color: var(--lm-muted); margin-right: 4px; white-space: nowrap; }\n.lm-story-nav { display: flex; gap: 6px; }\n.lm-story em { color: var(--lm-muted); }\n.lm-story button { font: 500 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }\n.lm-story button[aria-disabled=\"true\"] { opacity: .45; cursor: default; }\n.lm-own { font-size: .78rem; color: var(--lm-muted); }\n\n/* the scenarios and the load over the board, in view while the page scrolls; on a phone under the board */\n.lm-loadbar { position: sticky; top: var(--lm-sticky-top, 0px); z-index: 3; container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 6px 12px 2px; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; box-shadow: 0 4px 14px -10px rgb(0 0 0 / .4); }\n.lm-loadbar .lm-scenarios { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 2px; }\n.lm-loadbar .lm-scenarios button { flex: none; white-space: nowrap; }\n.lm-loadbar .lm-load { flex: 1 1 300px; }\n@container (min-width: 720px) {\n .lm-loadbar .lm-load { grid-template: \"label track value\" / minmax(0, max-content) minmax(160px, 1fr) auto; align-items: start; }\n .lm-loadbar .lm-load > label { max-width: 14em; padding-top: 6px; }\n}\n@container (max-width: 520px) {\n .lm:not([data-full]) > .lm-loadbar { order: 1; top: auto; bottom: 0; }\n .lm:not([data-full]) > .lm-side { order: 2; }\n}\n/* the load: its label and value, the track under them, the marks under it */\n.lm-load { display: grid; grid-template: \"label value\" \"track track\" / minmax(0, 1fr) auto; align-items: center; gap: 0 12px; font-size: .84rem; min-width: 0; }\n.lm-load > label { grid-area: label; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-load > output { grid-area: value; text-align: right; font: 600 .95rem/1.2 var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-load small { display: block; font: 400 .7rem var(--lm-mono); color: var(--lm-muted); }\n.lm-load-track { grid-area: track; position: relative; min-width: 0; padding-bottom: 22px; }\n.lm-load input { display: block; width: 100%; height: 32px; margin: 0; accent-color: var(--lm-accent); cursor: pointer; }\n.lm-zones, .lm-marks { position: absolute; left: 8px; right: 8px; top: 30px; }\n.lm-zones { height: 4px; border-radius: 2px; }\n.lm-marks button { position: absolute; top: 0; transform: translateX(-50%); min-width: 20px; height: 24px; padding: 7px 2px 0; border: 0; background: none; font: 500 .68rem var(--lm-mono); color: var(--lm-accent); white-space: nowrap; cursor: pointer; }\n.lm-marks button::before { content: \"\"; position: absolute; left: 50%; top: 0; width: 2px; height: 6px; margin-left: -1px; background: currentColor; }\n.lm-marks button:not([data-label]) span { display: none; }\n.lm-marks [data-kind=\"target\"] { color: var(--lm-warn); }\n.lm-marks [data-kind=\"full\"] { color: var(--lm-drop); }\n.lm-marks [aria-pressed=\"true\"] { font-weight: 700; text-decoration: underline; }\n.lm-key { display: inline-block; width: 14px; height: 2px; border-radius: 1px; vertical-align: 3px; margin-right: 6px; }\n\n.lm-compare-text { margin: 0; }\n.lm-table-wrap { overflow-x: auto; }\n.lm-table { border-collapse: collapse; width: 100%; font-size: .84rem; }\n.lm-table th, .lm-table td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--lm-line); vertical-align: top; }\n.lm-table thead th { font: 600 .7rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; color: var(--lm-muted); }\n.lm-table tbody th { font-weight: 600; white-space: nowrap; }\n.lm-table td { font-family: var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-table td.lm-text { font-family: var(--lm-font); }\n.lm-table td small { display: block; font: 400 .72rem var(--lm-font); color: var(--lm-muted); }\n.lm-table tr[aria-current] th { text-decoration: underline; text-underline-offset: 3px; }\n\n.lm-chart { position: relative; min-width: 0; }\n.lm-chart svg { display: block; overflow: visible; }\n.lm-chart:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: 2px; }\n.lm-axis, .lm-axis text { font: 400 11px var(--lm-mono); fill: var(--lm-muted); }\n.lm-mark { font: 600 11px var(--lm-mono); fill: var(--lm-fg); }\n.lm-tip { position: absolute; z-index: 2; display: grid; gap: 2px; width: max-content; max-width: min(17rem, calc(100% - 8px)); overflow-wrap: anywhere; padding: 8px 10px; font-size: .78rem; background: var(--lm-surface); color: var(--lm-fg); border: 1px solid var(--lm-line); border-radius: 6px; box-shadow: 0 4px 14px rgb(0 0 0 / .14); pointer-events: none; }\n.lm-tip strong { font: 600 .82rem var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-tip .lm-sub { color: var(--lm-muted); }\n.lm-nowrap { white-space: nowrap; }\n.lm-node { cursor: pointer; outline: none; }\n.lm-node:focus-visible > :first-child { stroke-width: 3; }\n\n@media (prefers-reduced-motion: reduce) {\n .lm-fill { transition: none; }\n .lm-story[data-playing] .lm-story-progress i[data-state=\"now\"]::before { animation: none; transform: none; }\n}\n";
|
|
114
|
+
export declare const LOADMAP_CSS = "\n.lm { \n --lm-bg: #eef2f5; --lm-surface: #ffffff; --lm-fg: #17212b; --lm-muted: #5d6d7c; --lm-line: #c6d0da;\n --lm-accent: #0b6b8f; --lm-accent-soft: #d6e9f0; --lm-alt: #7a4f9a; --lm-alt-soft: #efe5f6;\n --lm-ok: #2a7f5a; --lm-warn: #b86e00; --lm-drop: #b7392e; --lm-lane: #e3e9ee;\n --lm-tier: #f3f6f9; --lm-tier-head: #e4eaf0; --lm-tier-fg: #34424f; --lm-tier-line: #c6d0da;\n --lm-s1: #2a78d6; --lm-s2: #eb6834; --lm-s3: #6250d6; --lm-s4: #eda100; color-scheme: light;\n --lm-font: ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, sans-serif;\n --lm-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;\n font: 14px/1.45 var(--lm-font); color: var(--lm-fg); background: var(--lm-root-bg, var(--lm-bg));\n display: grid; gap: 14px; padding: var(--lm-pad, 16px); min-width: 0; box-sizing: border-box; }\n@media (prefers-color-scheme: dark) { .lm:not([data-theme=\"light\"]) { \n --lm-bg: #0d141b; --lm-surface: #151e27; --lm-fg: #e4ebf1; --lm-muted: #93a3b3; --lm-line: #2a3744;\n --lm-accent: #5fb7d6; --lm-accent-soft: #163442; --lm-alt: #c39be0; --lm-alt-soft: #2b2236;\n --lm-ok: #5fc08f; --lm-warn: #e2a24a; --lm-drop: #e26a5c; --lm-lane: #1b2631;\n --lm-tier: #1a2530; --lm-tier-head: #22303d; --lm-tier-fg: #c3cfda; --lm-tier-line: #33424f;\n --lm-s1: #3987e5; --lm-s2: #d95926; --lm-s3: #9085e9; --lm-s4: #c98500; color-scheme: dark; } }\n.lm[data-theme=\"dark\"] { \n --lm-bg: #0d141b; --lm-surface: #151e27; --lm-fg: #e4ebf1; --lm-muted: #93a3b3; --lm-line: #2a3744;\n --lm-accent: #5fb7d6; --lm-accent-soft: #163442; --lm-alt: #c39be0; --lm-alt-soft: #2b2236;\n --lm-ok: #5fc08f; --lm-warn: #e2a24a; --lm-drop: #e26a5c; --lm-lane: #1b2631;\n --lm-tier: #1a2530; --lm-tier-head: #22303d; --lm-tier-fg: #c3cfda; --lm-tier-line: #33424f;\n --lm-s1: #3987e5; --lm-s2: #d95926; --lm-s3: #9085e9; --lm-s4: #c98500; color-scheme: dark; }\n.lm *, .lm *::before, .lm *::after { box-sizing: border-box; }\n.lm h2 { font-size: 1.3rem; font-weight: 600; margin: 0; text-wrap: balance; }\n.lm h3 { font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); margin: 0; }\n.lm button:focus-visible, .lm input:focus-visible, .lm select:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: 2px; }\n.lm-problems { margin: 0; padding: 10px 12px; font: .8rem/1.5 var(--lm-mono); white-space: pre-wrap; overflow-x: auto; color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-left: 3px solid var(--lm-drop); border-radius: 6px; }\n.lm-note { margin: 0; font-size: .8rem; color: var(--lm-muted); }\n.lm-card { background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; padding: 14px 16px; display: grid; gap: 12px; align-content: start; min-width: 0; }\n\n.lm-wrap { display: grid; gap: 8px; min-width: 0; position: relative; }\n.lm-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }\n.lm-btn { font: 500 .8rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }\n.lm-board { position: relative; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; overflow: hidden; margin: 0 auto; width: 100%; }\n.lm-board svg { display: block; width: 100%; height: auto; font-family: var(--lm-font); }\n.lm-board canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }\n/* the story's title over the board while it plays: a lower third, at the top when what is framed is low; a strip\n across the top of a narrow board */\n.lm-title { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: grid; gap: 1px; max-width: min(34rem, calc(100% - 24px)); padding: 7px 12px 8px; border-left: 4px solid var(--lm-accent); border-radius: 0 6px 6px 0; background: color-mix(in srgb, var(--lm-surface) 92%, transparent); box-shadow: 0 4px 16px rgb(0 0 0 / .12); pointer-events: none; overflow-wrap: anywhere; }\n.lm-title[data-top] { top: 12px; bottom: auto; }\n.lm-title b { font-size: .95rem; font-weight: 600; }\n.lm-title span { font: 500 .8rem var(--lm-mono); color: var(--lm-muted); }\n@container (max-width: 520px) {\n .lm-title, .lm-title[data-top] { top: 0; right: 0; bottom: auto; left: 0; max-width: none; padding: 4px 8px; border-radius: 0; box-shadow: none; }\n .lm-title b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n .lm-title span { display: none; }\n}\n.lm-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .78rem; color: var(--lm-muted); }\n.lm-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 5px; }\n\n/* full screen (the browser's, or a fixed overlay): a column that never scrolls. The diagram as wide as the screen on\n top; under it the verdict in a line and the panels, compact, in a dock the screen sizes. The load changes what is\n in them, never their size, so it never moves the board. Focus: the diagram, the story, the verdict and the load */\n.lm-side, .lm-card > .lm-panel { display: contents; }\n.lm-panel { display: grid; gap: 14px; min-width: 0; }\n.lm[data-full] { height: 100vh; height: 100dvh; padding: 16px; background: var(--lm-bg); overflow: hidden; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 10px; position: relative; }\n.lm[data-full=\"fill\"] { height: 100%; padding: 10px; }\n.lm[data-full=\"overlay\"] { position: fixed; inset: 0; z-index: 2147483000; width: auto; max-width: none; max-height: none; margin: 0; border: 0; }\n.lm[data-full] > * { flex: none; }\n/* a page of its own keeps the rest outside full screen, as <Loadmap> does */\n.lm[data-full] > :not(.lm-head, h2, .lm-scenarios, .lm-loadbar, .lm-story, .lm-wrap, .lm-line, .lm-dock, .lm-side) { display: none; }\n.lm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; min-width: 0; }\n.lm-head h2 { font-size: 1.1rem; }\n.lm-head .lm-loadbar { flex: 1 1 520px; }\n.lm[data-full] .lm-wrap { gap: 6px; }\n/* the board as large as fits (--lm-fit, from Diagram), left under the bar, so the legend starts where the board does */\n.lm[data-full] .lm-board { width: var(--lm-fit, 100%); margin: 0; align-self: start; justify-self: start; }\n.lm-tools { display: flex; align-items: center; gap: 8px; margin-left: auto; }\n.lm-modes { display: inline-flex; margin: 0; padding: 0; min-width: 0; border: 1px solid var(--lm-line); border-radius: 6px; overflow: hidden; }\n.lm-modes button { font: 500 .8rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 0; padding: 6px 12px; cursor: pointer; }\n.lm-modes button[aria-pressed=\"true\"] { background: var(--lm-fg); color: var(--lm-surface); }\n.lm[data-full] .lm-story { padding: 6px 12px; }\n.lm[data-full] [data-out] { display: none; }\n\n.lm-line { display: flex; align-items: center; gap: 6px 14px; min-width: 0; padding: 6px 12px; border-left: 4px solid var(--lm-ok); background: var(--lm-accent-soft); border-radius: 0 6px 6px 0; }\n.lm-line[data-tier=\"warn\"] { border-color: var(--lm-warn); }\n.lm-line[data-tier=\"over\"] { border-color: var(--lm-drop); }\n.lm-headline { flex: 1 1 auto; min-width: 0; margin: 0; font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-num { font: 600 .95em var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-link { font: 500 .8rem var(--lm-font); color: var(--lm-accent); background: none; border: 0; padding: 2px 4px; cursor: pointer; white-space: nowrap; }\n\n.lm-dock { display: flex; gap: 10px; min-width: 0; }\n.lm[data-full] > .lm-dock { flex: 1 1 0; min-height: clamp(200px, 26dvh, 340px); }\n.lm-tabs { display: none; margin: 0; padding: 0; border: 0; min-width: 0; }\n.lm-mini { position: relative; flex: 1 1 0; min-width: 0; min-height: 0; display: grid; container-type: inline-size; }\n.lm-mini[data-mini=\"controls\"] { flex-grow: 1.25; }\n.lm-mini[data-mini=\"limits\"] { flex-grow: 1.45; }\n.lm-mini[data-mini=\"live\"] { flex-grow: .8; }\n.lm-mini[data-mini=\"headroom\"] { flex-grow: .9; }\n.lm-mini[data-mini=\"compare\"] { flex-grow: 1.3; }\n.lm-mini > .lm-card { min-height: 0; overflow: hidden; padding: 10px 12px; gap: 6px; align-content: start; }\n.lm-mini [data-clip] { visibility: hidden; }\n.lm-more { position: absolute; top: 6px; right: 6px; font: 500 .8rem var(--lm-font); color: var(--lm-accent); background: var(--lm-surface); border: 0; border-radius: 4px; padding: 2px 6px; cursor: pointer; }\n.lm-more[data-more]:not([data-more=\"\"])::before { content: attr(data-more) \" \"; }\n.lm-mini .lm-meters { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 4px; }\n.lm-mini .lm-meter { display: flex; align-items: baseline; gap: 8px; padding: 3px 8px; }\n.lm-mini .lm-meter b { flex: none; font-size: .9rem; }\n.lm-mini .lm-meter span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }\n/* one grid for every row, so the bars line up whatever the names */\n.lm-mini-limits { display: grid; grid-template-columns: minmax(0, max-content) minmax(48px, 1fr) auto auto; gap: 6px 10px; }\n.lm-mini-lim { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; font-size: .8rem; }\n.lm-mini-lim .lm-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-mini-lim .lm-tag { margin-left: 5px; }\n.lm-mini-lim .lm-track { height: 9px; }\n.lm-mini-lim .lm-val { white-space: nowrap; }\n.lm-mini-lim .lm-sub { font: 400 .74rem var(--lm-mono); color: var(--lm-muted); }\n.lm-mini .lm-controls { gap: 6px; column-gap: 16px; }\n.lm-mini .lm-controls small, .lm-mini .lm-controls > h3:not(:first-child) { display: none; }\n.lm-mini .lm-controls label.lm-range { grid-template-columns: minmax(0, 1fr) minmax(90px, 1.2fr); align-items: center; gap: 10px; font-size: .8rem; }\n.lm-mini .lm-select { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; font-size: .8rem; }\n.lm-mini .lm-select select { width: auto; padding: 1px 6px; font-size: .78rem; }\n.lm-mini .lm-switch { font-size: .8rem; }\n.lm-mini .lm-switch input { margin-top: 2px; }\n.lm-mini .lm-presets { gap: 4px; }\n.lm-mini .lm-presets button { padding: 2px 8px; font-size: .72rem; }\n@container (min-width: 420px) {\n .lm-mini .lm-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); }\n .lm-mini .lm-controls > :is(h3, .lm-presets) { grid-column: 1 / -1; }\n}\n.lm-mini .lm-compare > :not(h3:first-child, .lm-table-wrap:nth-child(3)) { display: none; }\n.lm-mini .lm-table { font-size: .76rem; }\n.lm-mini .lm-table th, .lm-mini .lm-table td { padding: 3px 8px 3px 0; }\n.lm-mini .lm-table small { display: none; }\n.lm-mini .lm-table thead th { white-space: nowrap; font-size: .6rem; }\n.lm-mini > .lm-card:has(> .lm-spark) { grid-template-rows: auto minmax(0, 1fr) auto; align-content: stretch; }\n.lm-spark { position: relative; min-height: 0; }\n.lm-spark svg { position: absolute; inset: 0; display: block; overflow: hidden; }\n.lm-spark-th { stroke: var(--lm-muted); stroke-dasharray: 4 3; }\n.lm-spark-load { stroke: var(--lm-fg); opacity: .45; }\n.lm-spark-text { margin: 0; font-size: .76rem; color: var(--lm-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n\n/* the drawer: the page's own panel, alone, over the right of the board */\n.lm[data-full] > .lm-drawer:not([data-drawer]) { display: none; }\n.lm[data-full] > .lm-drawer[data-drawer] { display: grid; gap: 14px; align-content: start; position: absolute; top: 16px; right: 16px; bottom: 16px; z-index: 4; width: min(640px, calc(100% - 32px)); overflow: auto; overscroll-behavior: contain; padding: 14px; background: var(--lm-bg); border: 1px solid var(--lm-line); border-radius: 10px; box-shadow: -8px 0 30px rgb(0 0 0 / .2); container-type: inline-size; }\n.lm-side[data-drawer] :is(.lm-panel, .lm-strip, .lm-charts, .lm-card):not([data-drawn]):not(.lm-panel *) { display: none; }\n.lm-side[data-drawer] .lm-strip { grid-template-columns: minmax(0, 1fr); }\n.lm-drawer-bar { display: flex; justify-content: flex-end; }\n\n/* a page of its own: its .lm-side is a box under the board that scrolls on its own, the board as large as leaves it a\n third of the screen */\n.lm[data-full] > .lm-side:not(.lm-drawer) { display: grid; gap: 14px; align-content: start; flex: 1 1 0; min-height: 33dvh; overflow: auto; overscroll-behavior: contain; container-type: inline-size; }\n\n/* focus: the board and what runs on it in the middle of the screen */\n.lm[data-mode=\"focus\"] > .lm-side:not(.lm-drawer) { display: none; }\n.lm[data-mode=\"focus\"] > .lm-wrap { margin-top: auto; }\n.lm[data-mode=\"focus\"] > :is(.lm-story, .lm-line) { order: 1; }\n.lm[data-mode=\"focus\"]::after { content: \"\"; order: 2; margin-top: auto; }\n.lm[data-mode=\"focus\"] > .lm-story { border-left-width: 4px; padding: 10px 14px; }\n.lm[data-mode=\"focus\"] > .lm-story p { font-size: 1.1rem; }\n\n@media (max-width: 760px) {\n .lm[data-full] { padding: 10px; gap: 8px; }\n /* the page has the title, and the legend: here they would leave the diagram no room */\n .lm[data-full] > h2, .lm[data-full] :is(.lm-head h2, .lm-legend, .lm-story legend) { display: none; }\n /* the one exception: here the diagram runs top to bottom, and shrunk to the screen it is too small to read, so it\n pans in a box of its own with the bar on top. The page never scrolls */\n .lm[data-full] .lm-board { width: 100%; }\n .lm[data-full] > .lm-wrap { height: 40dvh; overflow: auto; row-gap: 0; overscroll-behavior: contain; }\n .lm[data-mode=\"focus\"] > .lm-wrap { height: auto; flex: 1 1 0; min-height: 0; margin-top: 0; }\n .lm[data-full] .lm-bar { position: sticky; top: 0; z-index: 1; padding-bottom: 8px; background: var(--lm-bg); }\n .lm[data-full] .lm-line { flex-wrap: wrap; }\n .lm[data-full] > .lm-story { padding: 6px 10px; gap: 6px 10px; }\n .lm[data-full] > .lm-story p { font-size: .84rem; }\n .lm[data-full] .lm-story button { padding: 4px 10px; }\n .lm[data-full] .lm-headline { flex-basis: 100%; }\n .lm-dock { flex-direction: column; min-height: 0; gap: 6px; }\n /* the load bar takes some of the dock's room: the load is no longer in a card */\n .lm[data-full] > .lm-dock { min-height: clamp(170px, 22dvh, 340px); }\n .lm-tabs { display: flex; flex: none; gap: 2px; border-bottom: 1px solid var(--lm-line); overflow: hidden; }\n .lm-tabs button { font: 500 .78rem var(--lm-font); color: var(--lm-muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 6px 8px; cursor: pointer; white-space: nowrap; }\n .lm-tabs button[aria-pressed=\"true\"] { color: var(--lm-fg); border-color: var(--lm-fg); }\n .lm-mini:not([data-active]) { display: none; }\n .lm[data-full] > .lm-side[data-drawer] { inset: 8px; width: auto; }\n /* the load in thumb reach: the bar under the board and the story, over the verdict */\n .lm[data-full] .lm-head { display: contents; }\n .lm[data-full] .lm-loadbar { order: 2; flex: none; }\n /* two lines, so the board keeps its room: the scenarios and the load's value, then the track; the label names the\n slider unseen */\n .lm[data-full] .lm-load small { display: none; }\n .lm[data-full] .lm-load { display: contents; }\n .lm[data-full] :is(.lm-loadbar legend, .lm-load > label) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }\n .lm[data-full] .lm-load > output { margin-left: auto; }\n .lm[data-full] .lm-load-track { flex: 1 1 100%; }\n .lm[data-full] > :is(.lm-line, .lm-dock) { order: 3; }\n}\n\n.lm-verdict { margin: 0; padding: 10px 14px; border-left: 4px solid var(--lm-ok); background: var(--lm-accent-soft); border-radius: 0 6px 6px 0; }\n.lm-verdict[data-tier=\"warn\"] { border-color: var(--lm-warn); }\n.lm-verdict[data-tier=\"over\"] { border-color: var(--lm-drop); }\n.lm-measure { margin: 6px 0 0; padding: 0 14px; font-size: .86rem; color: var(--lm-muted); }\n\n.lm-strip { display: grid; grid-template-columns: minmax(0, 3fr) minmax(280px, 2fr); gap: 14px; align-items: start; }\n@container (max-width: 860px) { .lm-strip { grid-template-columns: minmax(0, 1fr); } }\n.lm { container-type: inline-size; }\n\n.lm-meters { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }\n.lm-meter { padding: 8px 10px; border-radius: 6px; background: var(--lm-bg); min-width: 0; }\n.lm-meter b { display: block; font: 500 1.15rem var(--lm-mono); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-meter span { font-size: .74rem; color: var(--lm-muted); }\n.lm-meter[data-state=\"warn\"] b { color: var(--lm-warn); } .lm-meter[data-state=\"over\"] b { color: var(--lm-drop); }\n\n.lm-limits { display: grid; gap: 10px; }\n.lm-lim, .lm-scale { display: grid; grid-template-columns: minmax(0, 14rem) minmax(0, 1fr) 10rem; gap: 4px 14px; align-items: center; }\n@container (max-width: 640px) { .lm-lim, .lm-scale { grid-template-columns: minmax(0, 1fr); } .lm-scale > :first-child, .lm-scale > :last-child { display: none; } }\n.lm-lim b { display: block; font-weight: 600; font-size: .88rem; }\n.lm-lim .lm-sub { display: block; font-size: .74rem; color: var(--lm-muted); }\n.lm-tag { font: 600 .64rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; border-radius: 3px; padding: 1px 5px; margin-left: 6px; vertical-align: 1px; }\n.lm-tag[data-kind=\"first\"] { color: var(--lm-surface); background: var(--lm-drop); }\n.lm-tag[data-kind=\"estimated\"] { color: var(--lm-warn); border: 1px solid currentColor; }\n.lm-tag[data-kind=\"published\"] { color: var(--lm-alt); border: 1px solid currentColor; }\n.lm-tag[data-kind=\"none\"] { color: var(--lm-muted); border: 1px dashed currentColor; }\n.lm-tag[data-kind=\"range\"], .lm-tag[data-kind=\"rank\"] { color: var(--lm-muted); border: 1px solid currentColor; }\n.lm-track { position: relative; height: 16px; background: var(--lm-bg); border-radius: 3px; overflow: hidden; }\n.lm-fill { position: absolute; inset: 0 auto 0 0; background: var(--lm-ok); transition: width .25s ease; }\n.lm-fill[data-state=\"warn\"] { background: var(--lm-warn); } .lm-fill[data-state=\"over\"] { background: var(--lm-drop); }\n.lm-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--lm-fg); opacity: .55; }\n.lm-val { font: 500 .8rem var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-val small { display: block; font: 400 .72rem var(--lm-font); color: var(--lm-muted); }\n.lm-scale { font: 400 .7rem var(--lm-mono); color: var(--lm-muted); }\n.lm-scale div { position: relative; height: 12px; }\n.lm-scale div span { position: absolute; transform: translateX(-50%); white-space: nowrap; }\n\n.lm-controls label.lm-range { display: grid; gap: 4px; font-size: .84rem; }\n.lm-controls label.lm-range > span { display: flex; justify-content: space-between; gap: 8px; }\n.lm-controls output { font-family: var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-controls input[type=range] { width: 100%; accent-color: var(--lm-accent); }\n.lm-presets { display: flex; flex-wrap: wrap; gap: 6px; }\n.lm-presets button { font: 500 .76rem var(--lm-font); background: var(--lm-accent-soft); color: var(--lm-fg); border: 1px solid transparent; border-radius: 5px; padding: 5px 10px; cursor: pointer; }\n.lm-presets button[aria-pressed=\"true\"] { border-color: var(--lm-accent); }\n.lm-switch { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 8px; align-items: start; font-size: .84rem; cursor: pointer; }\n.lm-switch input { margin: 3px 0 0; accent-color: var(--lm-accent); }\n.lm-switch small, .lm-select small { grid-column: 2; color: var(--lm-muted); font-size: .74rem; line-height: 1.3; }\n.lm-select { display: grid; gap: 4px; font-size: .84rem; }\n.lm-select select { width: 100%; min-width: 0; font: 400 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 5px; padding: 5px 8px; }\n.lm-off { opacity: .45; cursor: default; }\n\n.lm-facts { margin: 0; padding-left: 1.1em; font-size: .88rem; columns: 2; column-gap: 28px; }\n@container (max-width: 860px) { .lm-facts { columns: 1; } }\n.lm-facts li { margin-bottom: 8px; break-inside: avoid; }\n.lm-prov { font: 600 .66rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; }\n.lm-prov[data-kind=\"measured\"] { color: var(--lm-ok); } .lm-prov[data-kind=\"estimated\"] { color: var(--lm-warn); }\n.lm-prov[data-kind=\"configured\"] { color: var(--lm-accent); } .lm-prov[data-kind=\"published\"] { color: var(--lm-alt); }\n\n/* scenario identity colours (s1–s4) are checked for colour-blind separation on both surfaces; text never wears them */\n.lm-scenarios { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }\n.lm-scenarios legend { float: left; font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); margin-right: 6px; padding: 0; }\n.lm-scenarios button { font: 500 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }\n.lm-scenarios button[aria-pressed=\"true\"] { border-color: var(--lm-fg); box-shadow: inset 0 0 0 1px var(--lm-fg); }\n.lm-scenarios i, .lm-table i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; vertical-align: -1px; margin-right: 6px; }\n.lm-story { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0; min-width: 0; padding: 8px 12px; border: 1px solid var(--lm-line); border-left: 3px solid var(--lm-accent); border-radius: 6px; background: var(--lm-surface); }\n.lm-story legend { float: left; font: 600 .74rem var(--lm-font); text-transform: uppercase; letter-spacing: .08em; color: var(--lm-muted); padding: 0; }\n.lm-story p { flex: 1 1 240px; display: grid; margin: 0; font: 400 .9rem/1.4 var(--lm-font); color: var(--lm-fg); }\n.lm-story p > span { grid-area: 1 / 1; }\n.lm-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }\n.lm-story p > span:not([data-shown]), .lm-story em:not([data-shown]) { visibility: hidden; }\n.lm-story-progress { display: flex; align-items: center; gap: 4px; }\n.lm-story-progress i { position: relative; width: 28px; height: 4px; border-radius: 2px; background: var(--lm-line); overflow: hidden; }\n.lm-story-progress i[data-state=\"done\"], .lm-story:not([data-playing]) .lm-story-progress i[data-state=\"now\"] { background: var(--lm-accent); }\n.lm-story[data-playing] .lm-story-progress i[data-state=\"now\"]::before { content: \"\"; position: absolute; inset: 0; background: var(--lm-accent); transform-origin: left; animation: lm-step var(--lm-step) linear both; }\n@keyframes lm-step { from { transform: scaleX(0); } to { transform: scaleX(1); } }\n.lm-story b { font-weight: 600; color: var(--lm-muted); margin-right: 4px; white-space: nowrap; }\n.lm-story-nav { display: flex; gap: 6px; }\n.lm-story em { color: var(--lm-muted); }\n.lm-story button { font: 500 .84rem var(--lm-font); color: var(--lm-fg); background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 6px; padding: 6px 12px; cursor: pointer; }\n.lm-story button[aria-disabled=\"true\"] { opacity: .45; cursor: default; }\n.lm-own { font-size: .78rem; color: var(--lm-muted); }\n\n/* the scenarios and the load over the board, in view while the page scrolls; on a phone under the board */\n.lm-loadbar { position: sticky; top: var(--lm-sticky-top, 0px); z-index: 3; container-type: inline-size; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding: 6px 12px 2px; background: var(--lm-surface); border: 1px solid var(--lm-line); border-radius: 8px; box-shadow: 0 4px 14px -10px rgb(0 0 0 / .4); }\n.lm-loadbar .lm-scenarios { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; padding: 2px; }\n.lm-loadbar .lm-scenarios button { flex: none; white-space: nowrap; }\n.lm-loadbar .lm-load { flex: 1 1 300px; }\n@container (min-width: 720px) {\n .lm-loadbar .lm-load { grid-template: \"label track value\" / minmax(0, max-content) minmax(160px, 1fr) auto; align-items: start; }\n .lm-loadbar .lm-load > label { max-width: 14em; padding-top: 6px; }\n}\n@container (max-width: 520px) {\n .lm:not([data-full]) > .lm-loadbar { order: 1; top: auto; bottom: 0; }\n .lm:not([data-full]) > .lm-side { order: 2; }\n}\n/* the load: its label and value, the track under them, the marks under it */\n.lm-load { display: grid; grid-template: \"label value\" \"track track\" / minmax(0, 1fr) auto; align-items: center; gap: 0 12px; font-size: .84rem; min-width: 0; }\n.lm-load > label { grid-area: label; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }\n.lm-load > output { grid-area: value; text-align: right; font: 600 .95rem/1.2 var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-load small { display: block; font: 400 .7rem var(--lm-mono); color: var(--lm-muted); }\n.lm-load-track { grid-area: track; position: relative; min-width: 0; padding-bottom: 22px; }\n.lm-load input { display: block; width: 100%; height: 32px; margin: 0; accent-color: var(--lm-accent); cursor: pointer; }\n.lm-zones, .lm-marks { position: absolute; left: 8px; right: 8px; top: 30px; }\n.lm-zones { height: 4px; border-radius: 2px; }\n.lm-marks button { position: absolute; top: 0; transform: translateX(-50%); min-width: 20px; height: 24px; padding: 7px 2px 0; border: 0; background: none; font: 500 .68rem var(--lm-mono); color: var(--lm-accent); white-space: nowrap; cursor: pointer; }\n.lm-marks button::before { content: \"\"; position: absolute; left: 50%; top: 0; width: 2px; height: 6px; margin-left: -1px; background: currentColor; }\n.lm-marks button:not([data-label]) span { display: none; }\n.lm-marks [data-kind=\"target\"] { color: var(--lm-warn); }\n.lm-marks [data-kind=\"full\"] { color: var(--lm-drop); }\n.lm-marks [aria-pressed=\"true\"] { font-weight: 700; text-decoration: underline; }\n.lm-key { display: inline-block; width: 14px; height: 2px; border-radius: 1px; vertical-align: 3px; margin-right: 6px; }\n\n.lm-compare-text { margin: 0; }\n.lm-table-wrap { overflow-x: auto; }\n.lm-table { border-collapse: collapse; width: 100%; font-size: .84rem; }\n.lm-table th, .lm-table td { text-align: left; padding: 6px 10px 6px 0; border-bottom: 1px solid var(--lm-line); vertical-align: top; }\n.lm-table thead th { font: 600 .7rem var(--lm-font); text-transform: uppercase; letter-spacing: .06em; color: var(--lm-muted); }\n.lm-table tbody th { font-weight: 600; white-space: nowrap; }\n.lm-table td { font-family: var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-table td.lm-text { font-family: var(--lm-font); }\n.lm-table td small { display: block; font: 400 .72rem var(--lm-font); color: var(--lm-muted); }\n.lm-table tr[aria-current] th { text-decoration: underline; text-underline-offset: 3px; }\n\n.lm-chart { position: relative; min-width: 0; }\n.lm-chart svg { display: block; overflow: visible; }\n.lm-chart:focus-visible { outline: 2px solid var(--lm-accent); outline-offset: 2px; }\n.lm-axis, .lm-axis text { font: 400 11px var(--lm-mono); fill: var(--lm-muted); }\n.lm-mark { font: 600 11px var(--lm-mono); fill: var(--lm-fg); }\n.lm-tip { position: absolute; z-index: 2; display: grid; gap: 2px; width: max-content; max-width: min(17rem, calc(100% - 8px)); overflow-wrap: anywhere; padding: 8px 10px; font-size: .78rem; background: var(--lm-surface); color: var(--lm-fg); border: 1px solid var(--lm-line); border-radius: 6px; box-shadow: 0 4px 14px rgb(0 0 0 / .14); pointer-events: none; }\n.lm-tip strong { font: 600 .82rem var(--lm-mono); font-variant-numeric: tabular-nums; }\n.lm-tip .lm-sub { color: var(--lm-muted); }\n.lm-nowrap { white-space: nowrap; }\n.lm-node { cursor: pointer; outline: none; }\n.lm-node:focus-visible > :first-child { stroke-width: 3; }\n\n@media (prefers-reduced-motion: reduce) {\n .lm-fill { transition: none; }\n .lm-story[data-playing] .lm-story-progress i[data-state=\"now\"]::before { animation: none; transform: none; }\n}\n";
|
|
115
115
|
/** Adds the stylesheet once per document. */
|
|
116
116
|
export declare function injectStyles(doc?: Document): void;
|
|
117
117
|
export { type AnyNodeDef, type ClusterDef, type Cue, type DiagramProps, type Dot, type EdgeDef, type ElkEngine, type Engine, type FlowColor, type FlowView, type FullScreenMode, LOADMAP_PANELS, type Label, Loadmap, type LoadmapController, type LoadmapHandle, type LoadmapOptions, type LoadmapPanel, type LoadmapProps, LoadmapRoot, type NodeDef, type PoolDef, type Theme, type TierDef, type View, type ViewDef, cluster, compact, defineView, directionOf, edge, fitLinear, fmt, handleOf, multiple, node, pct, pool, secs, useLoadmap, usePageTheme };
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { C as useComparison, D as workerElk, O as Diagram, S as scenarioColor, _ as Verdict, a as usePageTheme, b as HeadroomChart, c as injectStyles, f as Controls, g as Meters, h as LoadRange, i as handleOf, l as Story, m as LoadBar, n as Loadmap, o as useLoadmap, p as Limits, r as LoadmapRoot, s as LOADMAP_CSS, t as LOADMAP_PANELS, u as Assumptions, x as Scenarios, y as Compare } from "./Loadmap-Cv5BdNXp.js";
|
|
2
2
|
import { fitLinear } from "@loadmap/core/calibrate";
|
|
3
3
|
import { compact, fmt, multiple, pct, secs } from "@loadmap/core/format";
|
|
4
4
|
import { cluster, defineView, directionOf, edge, node, pool } from "@loadmap/layout";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as
|
|
1
|
+
import { A as rankLabels, C as useComparison, E as whenRange, S as scenarioColor, T as useSize, d as CapTag, f as Controls, g as Meters, k as boxComponent, v as plusMinus, w as useHeadroom, y as Compare } from "./Loadmap-Cv5BdNXp.js";
|
|
2
2
|
import { reach } from "@loadmap/core";
|
|
3
3
|
import { compact, fmt, multiple, multiples, pct } from "@loadmap/core/format";
|
|
4
4
|
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
@@ -24,7 +24,8 @@ function VerdictLine({ lm, verdict = true, extra = 0, open, assumptions }) {
|
|
|
24
24
|
const range = ev.target;
|
|
25
25
|
const target = `${pct(model.thresholds.target)} target`;
|
|
26
26
|
const c = first?.capacity;
|
|
27
|
-
const
|
|
27
|
+
const kind = c?.ref ? "published" : c?.provenance === "estimated" ? "estimated" : "range";
|
|
28
|
+
const sure = !c ? "" : kind === "range" ? plusMinus(c) : `${kind === "published" ? "pub" : "est"}${c.within ? ` ${plusMinus(c)}` : ""}`;
|
|
28
29
|
const over = ev.ranked.filter((x) => (x.util ?? 0) > model.thresholds.full);
|
|
29
30
|
const when = range ? whenRange(model, range) : "";
|
|
30
31
|
const estimated = ev.assumptions.filter((a) => a.kind === "capacity" && a.capacity.provenance === "estimated").length;
|
|
@@ -63,7 +64,7 @@ function VerdictLine({ lm, verdict = true, extra = 0, open, assumptions }) {
|
|
|
63
64
|
/* @__PURE__ */ jsx("b", { children: first.name }),
|
|
64
65
|
sure && /* @__PURE__ */ jsx("span", {
|
|
65
66
|
className: "lm-tag",
|
|
66
|
-
"data-kind":
|
|
67
|
+
"data-kind": kind,
|
|
67
68
|
children: sure
|
|
68
69
|
}),
|
|
69
70
|
over.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -206,14 +207,9 @@ function MiniLimits({ lm }) {
|
|
|
206
207
|
/* @__PURE__ */ jsxs("span", {
|
|
207
208
|
className: "lm-name",
|
|
208
209
|
title: c.name,
|
|
209
|
-
children: [c.name,
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
children: "est"
|
|
213
|
-
}) : !!c.capacity?.within && /* @__PURE__ */ jsx("span", {
|
|
214
|
-
className: "lm-tag",
|
|
215
|
-
"data-kind": "range",
|
|
216
|
-
children: "±"
|
|
210
|
+
children: [c.name, /* @__PURE__ */ jsx(CapTag, {
|
|
211
|
+
c: c.capacity,
|
|
212
|
+
short: true
|
|
217
213
|
})]
|
|
218
214
|
}),
|
|
219
215
|
/* @__PURE__ */ jsxs("span", {
|
|
@@ -242,7 +238,7 @@ function MiniLimits({ lm }) {
|
|
|
242
238
|
}),
|
|
243
239
|
/* @__PURE__ */ jsx("span", {
|
|
244
240
|
className: "lm-val lm-sub",
|
|
245
|
-
children: c.util == null ? "off" : c.full != null && !Number.isFinite(c.full) ? `full > ${fmt(model.searchMax)}×` : `full ${c.fullRange ? multiples(c.fullRange, model.searchMax, true) : multiple(c.full, model.searchMax)}`
|
|
241
|
+
children: c.missing != null ? "none published" : c.util == null ? "off" : c.full != null && !Number.isFinite(c.full) ? `full > ${fmt(model.searchMax)}×` : `full ${c.fullRange ? multiples(c.fullRange, model.searchMax, true) : multiple(c.full, model.searchMax)}`
|
|
246
242
|
})
|
|
247
243
|
]
|
|
248
244
|
}, c.id))
|
|
@@ -407,7 +403,11 @@ function Detail({ lm, scene, id, board, detailId }) {
|
|
|
407
403
|
"data-kind": rank.rank === 1 ? "first" : "rank",
|
|
408
404
|
children: rank.word
|
|
409
405
|
})] }),
|
|
410
|
-
c.
|
|
406
|
+
c.missing != null ? /* @__PURE__ */ jsxs("span", { children: [
|
|
407
|
+
"No published benchmark ",
|
|
408
|
+
c.missing,
|
|
409
|
+
"."
|
|
410
|
+
] }) : c.util == null || !cap ? /* @__PURE__ */ jsx("span", { children: "switched off" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
411
411
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
412
412
|
/* @__PURE__ */ jsx("strong", { children: pct(c.util) }),
|
|
413
413
|
" · ",
|
|
@@ -416,7 +416,7 @@ function Detail({ lm, scene, id, board, detailId }) {
|
|
|
416
416
|
fmt(cap.value),
|
|
417
417
|
" ",
|
|
418
418
|
cap.unit,
|
|
419
|
-
cap.within ? `
|
|
419
|
+
cap.within ? ` ${plusMinus(cap)}` : ""
|
|
420
420
|
] }),
|
|
421
421
|
/* @__PURE__ */ jsxs("span", {
|
|
422
422
|
className: "lm-sub",
|
package/dist/source.d.ts
CHANGED
|
@@ -15,4 +15,6 @@ export interface LoadmapSourceProps extends Omit<LoadmapProps<any>, 'model' | 'v
|
|
|
15
15
|
* fit it, as the editor does; `initial` is for the first. A separate entry: a page built from code never loads the
|
|
16
16
|
* compiler.
|
|
17
17
|
*/
|
|
18
|
-
export declare function LoadmapSource({ source, name, functions, theme, assumptions, initial, ref, ...props }: LoadmapSourceProps): import("react").JSX.Element;
|
|
18
|
+
export declare function LoadmapSource({ source, name, functions, theme, assumptions, initial, ref, ...props }: LoadmapSourceProps): import("react").JSX.Element;
|
|
19
|
+
/** True while a text with a `published` statement waits for the catalog, which loads once, on the first such text. */
|
|
20
|
+
export declare function useCatalog(source: string): boolean;
|
package/dist/source.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as usePageTheme, c as injectStyles, n as Loadmap } from "./Loadmap-
|
|
2
|
-
import { useCallback, useEffect, useMemo, useRef } from "react";
|
|
1
|
+
import { a as usePageTheme, c as injectStyles, n as Loadmap } from "./Loadmap-Cv5BdNXp.js";
|
|
2
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
3
3
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
import { compile, formatDiagnostic, sharedValues } from "@loadmap/dsl";
|
|
4
|
+
import { compile, formatDiagnostic, loadCatalogFor, loadedCatalog, needsCatalog, sharedValues } from "@loadmap/dsl";
|
|
5
5
|
import { fingerprint, pageOptions } from "@loadmap/dsl/internal";
|
|
6
6
|
// src/source.tsx
|
|
7
7
|
/**
|
|
@@ -15,12 +15,13 @@ function LoadmapSource({ source, name = "input.loadmap", functions, theme, assum
|
|
|
15
15
|
const fns = useRef(functions);
|
|
16
16
|
fns.current = functions;
|
|
17
17
|
const key = useMemo(() => fingerprint(source), [source]);
|
|
18
|
-
const
|
|
18
|
+
const waiting = useCatalog(source);
|
|
19
|
+
const compiled = useMemo(() => waiting ? null : {
|
|
19
20
|
source,
|
|
20
21
|
r: compile(source, fns.current ? { functions: fns.current } : {})
|
|
21
|
-
}
|
|
22
|
+
}, [key, waiting]);
|
|
22
23
|
const good = useRef(null);
|
|
23
|
-
if (compiled
|
|
24
|
+
if (compiled?.r.ok && compiled.r.definition) good.current = compiled.r.definition;
|
|
24
25
|
const def = good.current;
|
|
25
26
|
const board = useRef(null);
|
|
26
27
|
const drawn = useRef({
|
|
@@ -37,7 +38,7 @@ function LoadmapSource({ source, name = "input.loadmap", functions, theme, assum
|
|
|
37
38
|
}, [ref]);
|
|
38
39
|
const set = Object.fromEntries(Object.entries(props).filter(([, v]) => v !== void 0));
|
|
39
40
|
const lines = def && [...assumptions ?? [], ...def.options.assumptions];
|
|
40
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [!compiled.r.ok && /* @__PURE__ */ jsx(Problems, {
|
|
41
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [compiled && !compiled.r.ok && /* @__PURE__ */ jsx(Problems, {
|
|
41
42
|
theme,
|
|
42
43
|
stale: def != null,
|
|
43
44
|
children: compiled.r.diagnostics.map((d) => formatDiagnostic(d, compiled.source, name)).join("\n")
|
|
@@ -52,6 +53,15 @@ function LoadmapSource({ source, name = "input.loadmap", functions, theme, assum
|
|
|
52
53
|
...lines?.length ? { assumptions: lines } : {}
|
|
53
54
|
})] });
|
|
54
55
|
}
|
|
56
|
+
/** True while a text with a `published` statement waits for the catalog, which loads once, on the first such text. */
|
|
57
|
+
function useCatalog(source) {
|
|
58
|
+
const waiting = needsCatalog(source) && !loadedCatalog();
|
|
59
|
+
const [tried, setTried] = useState(false);
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (waiting) loadCatalogFor(source).then(() => setTried(true));
|
|
62
|
+
}, [waiting, source]);
|
|
63
|
+
return waiting && !tried;
|
|
64
|
+
}
|
|
55
65
|
/** Hands the board to the page's own ref, an object or a function. */
|
|
56
66
|
function pass(ref, h) {
|
|
57
67
|
if (typeof ref === "function") ref(h);
|
|
@@ -73,4 +83,4 @@ function Problems({ theme, stale, children }) {
|
|
|
73
83
|
})]
|
|
74
84
|
});
|
|
75
85
|
}
|
|
76
|
-
export { LoadmapSource };
|
|
86
|
+
export { LoadmapSource, useCatalog };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loadmap/react",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.0",
|
|
4
4
|
"description": "Interactive capacity models for React: an architecture diagram with moving dots, the limits ranked, the verdict, scenarios and headroom.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loadmap",
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
"types": "./dist/index.d.ts",
|
|
26
26
|
"import": "./dist/index.js"
|
|
27
27
|
},
|
|
28
|
+
"./catalog": {
|
|
29
|
+
"types": "./dist/catalog.d.ts",
|
|
30
|
+
"import": "./dist/catalog.js"
|
|
31
|
+
},
|
|
28
32
|
"./source": {
|
|
29
33
|
"types": "./dist/source.d.ts",
|
|
30
34
|
"import": "./dist/source.js"
|
|
@@ -35,10 +39,10 @@
|
|
|
35
39
|
"dist"
|
|
36
40
|
],
|
|
37
41
|
"dependencies": {
|
|
38
|
-
"@loadmap/core": "0.
|
|
39
|
-
"@loadmap/dsl": "0.
|
|
40
|
-
"@loadmap/sim": "0.
|
|
41
|
-
"@loadmap/layout": "0.
|
|
42
|
+
"@loadmap/core": "0.27.0",
|
|
43
|
+
"@loadmap/dsl": "0.27.0",
|
|
44
|
+
"@loadmap/sim": "0.27.0",
|
|
45
|
+
"@loadmap/layout": "0.27.0",
|
|
42
46
|
"elkjs": "^0.12.1"
|
|
43
47
|
},
|
|
44
48
|
"peerDependencies": {
|