@nowline/embed 0.0.0-dev.20261004044228.g75c9ff9 → 0.0.0-dev.20261004050749.g26129db

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 CHANGED
@@ -5891,7 +5891,7 @@
5891
5891
  "format": "esm"
5892
5892
  },
5893
5893
  "../layout/dist/item-port-geometry.js": {
5894
- "bytes": 2495,
5894
+ "bytes": 2591,
5895
5895
  "imports": [
5896
5896
  {
5897
5897
  "path": "../layout/dist/themes/shared.js",
@@ -8795,7 +8795,7 @@
8795
8795
  "format": "esm"
8796
8796
  },
8797
8797
  "../layout/dist/nodes/milestone-node.js": {
8798
- "bytes": 9364,
8798
+ "bytes": 9415,
8799
8799
  "imports": [
8800
8800
  {
8801
8801
  "path": "../layout/dist/dsl-utils.js",
@@ -9424,7 +9424,7 @@
9424
9424
  "imports": [],
9425
9425
  "exports": [],
9426
9426
  "inputs": {},
9427
- "bytes": 3462479
9427
+ "bytes": 3462636
9428
9428
  },
9429
9429
  "dist/nowline.min.js": {
9430
9430
  "imports": [],
@@ -10410,7 +10410,7 @@
10410
10410
  "bytesInOutput": 1028
10411
10411
  },
10412
10412
  "../layout/dist/item-port-geometry.js": {
10413
- "bytesInOutput": 275
10413
+ "bytesInOutput": 238
10414
10414
  },
10415
10415
  "../layout/dist/layout-context.js": {
10416
10416
  "bytesInOutput": 49
@@ -10623,7 +10623,7 @@
10623
10623
  "bytesInOutput": 1359
10624
10624
  },
10625
10625
  "../layout/dist/nodes/milestone-node.js": {
10626
- "bytesInOutput": 2012
10626
+ "bytesInOutput": 2036
10627
10627
  },
10628
10628
  "../layout/dist/nodes/roadmap-node.js": {
10629
10629
  "bytesInOutput": 8110
@@ -10689,7 +10689,7 @@
10689
10689
  "bytesInOutput": 257
10690
10690
  }
10691
10691
  },
10692
- "bytes": 673199
10692
+ "bytes": 673186
10693
10693
  }
10694
10694
  }
10695
10695
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261004044228.g75c9ff9 sha=75c9ff9 built=2026-10-04T00:42:09-04:00 */
1
+ /*! @nowline/embed 0.0.0-dev.20261004050749.g26129db sha=26129db built=2026-10-04T01:07:24-04:00 */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -31728,7 +31728,7 @@ function itemArrowTargetPort(item, bandwidth) {
31728
31728
  const { box } = item;
31729
31729
  return {
31730
31730
  x: box.x,
31731
- y: item.textSpills ? box.y + box.height / 2 : box.y + bandwidth / 2
31731
+ y: box.y + bandwidth / 2
31732
31732
  };
31733
31733
  }
31734
31734
  function itemArrowSourcePort(item, bandwidth) {
@@ -31738,8 +31738,8 @@ function itemArrowSourcePort(item, bandwidth) {
31738
31738
  y: item.textSpills ? progressStripMidY(item) : box.y + bandwidth / 2
31739
31739
  };
31740
31740
  }
31741
- function itemSlackAttachY(item) {
31742
- return item.textSpills ? progressStripMidY(item) : item.box.y + item.box.height / 2;
31741
+ function itemSlackAttachY(item, bandwidth) {
31742
+ return item.textSpills ? progressStripMidY(item) : item.box.y + bandwidth / 2;
31743
31743
  }
31744
31744
 
31745
31745
  // ../layout/dist/layout-context.js
@@ -35777,7 +35777,7 @@ function collectMilestonePredecessors(refs, ctx) {
35777
35777
  const x2 = item ? item.box.x + item.box.width : ctx.entityRightEdges.get(ref);
35778
35778
  if (x2 === void 0)
35779
35779
  continue;
35780
- const y = item ? itemSlackAttachY(item) : ctx.entityMidpoints.get(ref)?.y ?? 0;
35780
+ const y = item ? itemSlackAttachY(item, ctx.bandScale.bandwidth()) : ctx.entityMidpoints.get(ref)?.y ?? 0;
35781
35781
  const flowKey = ctx.itemFlowKey.get(ref) ?? `marker:${ref}`;
35782
35782
  out.push({ ref, x: x2, y, flowKey });
35783
35783
  }
@@ -40154,8 +40154,8 @@ function effectiveTheme(theme, systemTheme) {
40154
40154
  }
40155
40155
 
40156
40156
  // src/index.ts
40157
- var version = true ? "0.0.0-dev.20261004044228.g75c9ff9" : "0.0.0";
40158
- var sha = true ? "75c9ff9" : "unknown";
40157
+ var version = true ? "0.0.0-dev.20261004050749.g26129db" : "0.0.0";
40158
+ var sha = true ? "26129db" : "unknown";
40159
40159
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
40160
40160
  var initialConfig = {
40161
40161
  theme: "auto",