@nowline/embed 0.0.0-dev.20261005034046.gf8b6da7 → 0.0.0-dev.20261005055631.gfccf552
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/dist/meta.json +5 -5
- package/dist/nowline.esm.js +11 -11
- package/dist/nowline.esm.js.map +2 -2
- package/dist/nowline.min.js +2 -2
- package/dist/nowline.min.js.map +2 -2
- package/package.json +6 -6
package/dist/meta.json
CHANGED
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"format": "esm"
|
|
75
75
|
},
|
|
76
76
|
"../core/dist/convert/schema.js": {
|
|
77
|
-
"bytes":
|
|
77
|
+
"bytes": 2505,
|
|
78
78
|
"imports": [],
|
|
79
79
|
"format": "esm"
|
|
80
80
|
},
|
|
@@ -9209,7 +9209,7 @@
|
|
|
9209
9209
|
"format": "esm"
|
|
9210
9210
|
},
|
|
9211
9211
|
"../renderer/dist/svg/render.js": {
|
|
9212
|
-
"bytes":
|
|
9212
|
+
"bytes": 81926,
|
|
9213
9213
|
"imports": [
|
|
9214
9214
|
{
|
|
9215
9215
|
"path": "../layout/dist/index.js",
|
|
@@ -9424,7 +9424,7 @@
|
|
|
9424
9424
|
"imports": [],
|
|
9425
9425
|
"exports": [],
|
|
9426
9426
|
"inputs": {},
|
|
9427
|
-
"bytes":
|
|
9427
|
+
"bytes": 3463599
|
|
9428
9428
|
},
|
|
9429
9429
|
"dist/nowline.min.js": {
|
|
9430
9430
|
"imports": [],
|
|
@@ -10659,7 +10659,7 @@
|
|
|
10659
10659
|
"bytesInOutput": 728
|
|
10660
10660
|
},
|
|
10661
10661
|
"../renderer/dist/svg/render.js": {
|
|
10662
|
-
"bytesInOutput":
|
|
10662
|
+
"bytesInOutput": 22758
|
|
10663
10663
|
},
|
|
10664
10664
|
"../renderer/dist/index.js": {
|
|
10665
10665
|
"bytesInOutput": 0
|
|
@@ -10689,7 +10689,7 @@
|
|
|
10689
10689
|
"bytesInOutput": 257
|
|
10690
10690
|
}
|
|
10691
10691
|
},
|
|
10692
|
-
"bytes":
|
|
10692
|
+
"bytes": 673259
|
|
10693
10693
|
}
|
|
10694
10694
|
}
|
|
10695
10695
|
}
|
package/dist/nowline.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @nowline/embed 0.0.0-dev.
|
|
1
|
+
/*! @nowline/embed 0.0.0-dev.20261005055631.gfccf552 sha=fccf552 built=2026-10-04T22:56:05-07:00 */
|
|
2
2
|
var __create = Object.create;
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -38928,7 +38928,7 @@ function renderMilestone(m, palette, fonts) {
|
|
|
38928
38928
|
const label = m.title ? textTag(labelAttrs, m.title) : "";
|
|
38929
38929
|
return tag("g", { "data-layer": "milestone", "data-id": m.id ?? null }, flag + label);
|
|
38930
38930
|
}
|
|
38931
|
-
function renderMilestoneCutLine(m, palette) {
|
|
38931
|
+
function renderMilestoneCutLine(m, idPrefix, palette) {
|
|
38932
38932
|
const stroke = m.isOverrun ? palette.milestoneDiamond.cutLineOverrun : palette.milestoneDiamond.cutLineNormal;
|
|
38933
38933
|
const parts = [];
|
|
38934
38934
|
parts.push(tag("line", {
|
|
@@ -38951,13 +38951,13 @@ function renderMilestoneCutLine(m, palette) {
|
|
|
38951
38951
|
"stroke-width": 1.1,
|
|
38952
38952
|
"stroke-dasharray": "3 3",
|
|
38953
38953
|
"stroke-linecap": "round",
|
|
38954
|
-
"marker-end":
|
|
38954
|
+
"marker-end": `url(#${idPrefix}-arrow-dark)`
|
|
38955
38955
|
}));
|
|
38956
38956
|
}
|
|
38957
38957
|
}
|
|
38958
38958
|
return parts.join("");
|
|
38959
38959
|
}
|
|
38960
|
-
function renderEdge(e, palette) {
|
|
38960
|
+
function renderEdge(e, idPrefix, palette) {
|
|
38961
38961
|
const color2 = e.kind === "overflow" ? palette.dependency.overflowStroke : palette.dependency.edgeStroke;
|
|
38962
38962
|
const points = e.waypoints;
|
|
38963
38963
|
if (points.length < 2)
|
|
@@ -38970,7 +38970,7 @@ function renderEdge(e, palette) {
|
|
|
38970
38970
|
"stroke-width": strokeWidth,
|
|
38971
38971
|
"stroke-dasharray": e.kind === "overflow" ? "4 2" : null,
|
|
38972
38972
|
"stroke-linejoin": "round",
|
|
38973
|
-
"marker-end":
|
|
38973
|
+
"marker-end": `url(#${idPrefix}-arrow)`
|
|
38974
38974
|
});
|
|
38975
38975
|
}
|
|
38976
38976
|
function roundedOrthogonalPath(points, radius) {
|
|
@@ -39256,7 +39256,7 @@ async function renderSvg(model, options = {}) {
|
|
|
39256
39256
|
const arrowFillLight = palette.arrowhead.light;
|
|
39257
39257
|
const arrowFillDark = palette.arrowhead.dark;
|
|
39258
39258
|
const arrowDef = (id, fill) => `<marker id="${id}" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto"><path d="M 0 0 L 10 5 L 0 10 z" fill="${fill}"/></marker>`;
|
|
39259
|
-
const defs = `<defs>${allShadowDefs(idPrefix)}` + arrowDef(
|
|
39259
|
+
const defs = `<defs>${allShadowDefs(idPrefix)}` + arrowDef(`${idPrefix}-arrow`, arrowFillNeutral) + arrowDef(`${idPrefix}-arrow-light`, arrowFillLight) + arrowDef(`${idPrefix}-arrow-dark`, arrowFillDark) + `</defs>`;
|
|
39260
39260
|
parts.push(defs);
|
|
39261
39261
|
parts.push(tag("rect", {
|
|
39262
39262
|
x: 0,
|
|
@@ -39271,7 +39271,7 @@ async function renderSvg(model, options = {}) {
|
|
|
39271
39271
|
parts.push(renderGridLines(model.timeline, model.chartBox.y, palette));
|
|
39272
39272
|
for (const e of model.edges) {
|
|
39273
39273
|
if (e.kind === "underBar")
|
|
39274
|
-
parts.push(renderEdge(e, palette));
|
|
39274
|
+
parts.push(renderEdge(e, idPrefix, palette));
|
|
39275
39275
|
}
|
|
39276
39276
|
for (const s of model.swimlanes)
|
|
39277
39277
|
parts.push(renderSwimlane(s, options, idPrefix, palette, fonts));
|
|
@@ -39279,12 +39279,12 @@ async function renderSvg(model, options = {}) {
|
|
|
39279
39279
|
parts.push(renderIncludeRegion(r, options, idPrefix, palette, fonts));
|
|
39280
39280
|
for (const e of model.edges) {
|
|
39281
39281
|
if (e.kind !== "underBar")
|
|
39282
|
-
parts.push(renderEdge(e, palette));
|
|
39282
|
+
parts.push(renderEdge(e, idPrefix, palette));
|
|
39283
39283
|
}
|
|
39284
39284
|
for (const a of model.anchors)
|
|
39285
39285
|
parts.push(renderAnchorCutLine(a, palette));
|
|
39286
39286
|
for (const m of model.milestones)
|
|
39287
|
-
parts.push(renderMilestoneCutLine(m, palette));
|
|
39287
|
+
parts.push(renderMilestoneCutLine(m, idPrefix, palette));
|
|
39288
39288
|
for (const a of model.anchors)
|
|
39289
39289
|
parts.push(renderAnchor(a, palette, fonts));
|
|
39290
39290
|
for (const m of model.milestones)
|
|
@@ -40158,8 +40158,8 @@ function effectiveTheme(theme, systemTheme) {
|
|
|
40158
40158
|
}
|
|
40159
40159
|
|
|
40160
40160
|
// src/index.ts
|
|
40161
|
-
var version = true ? "0.0.0-dev.
|
|
40162
|
-
var sha = true ? "
|
|
40161
|
+
var version = true ? "0.0.0-dev.20261005055631.gfccf552" : "0.0.0";
|
|
40162
|
+
var sha = true ? "fccf552" : "unknown";
|
|
40163
40163
|
var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
|
|
40164
40164
|
var initialConfig = {
|
|
40165
40165
|
theme: "auto",
|