@nowline/embed 0.0.0-dev.20261105233915.g49a2d2a → 0.0.0-dev.20261106000822.g2041c05

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
@@ -6650,7 +6650,7 @@
6650
6650
  "format": "esm"
6651
6651
  },
6652
6652
  "../layout/dist/nodes/region-markers.js": {
6653
- "bytes": 6325,
6653
+ "bytes": 6454,
6654
6654
  "imports": [
6655
6655
  {
6656
6656
  "path": "../layout/dist/text-measure.js",
@@ -6810,7 +6810,7 @@
6810
6810
  "format": "esm"
6811
6811
  },
6812
6812
  "../layout/dist/nodes/include-node.js": {
6813
- "bytes": 7446,
6813
+ "bytes": 7512,
6814
6814
  "imports": [
6815
6815
  {
6816
6816
  "path": "../layout/dist/chart-translation.js",
@@ -7000,7 +7000,7 @@
7000
7000
  "format": "esm"
7001
7001
  },
7002
7002
  "../layout/dist/schedule.js": {
7003
- "bytes": 15664,
7003
+ "bytes": 16355,
7004
7004
  "imports": [
7005
7005
  {
7006
7006
  "path": "../core/dist/index.js",
@@ -10722,7 +10722,7 @@
10722
10722
  "imports": [],
10723
10723
  "exports": [],
10724
10724
  "inputs": {},
10725
- "bytes": 3734834
10725
+ "bytes": 3736129
10726
10726
  },
10727
10727
  "dist/nowline.min.js": {
10728
10728
  "imports": [],
@@ -10847,7 +10847,7 @@
10847
10847
  "bytesInOutput": 281
10848
10848
  },
10849
10849
  "../../node_modules/.pnpm/chevrotain@13.2.0/node_modules/chevrotain/lib/src/scan/lexer_public.js": {
10850
- "bytesInOutput": 10826
10850
+ "bytesInOutput": 10823
10851
10851
  },
10852
10852
  "../../node_modules/.pnpm/chevrotain@13.2.0/node_modules/chevrotain/lib/src/scan/tokens_public.js": {
10853
10853
  "bytesInOutput": 1098
@@ -11408,7 +11408,7 @@
11408
11408
  "bytesInOutput": 3836
11409
11409
  },
11410
11410
  "../../node_modules/.pnpm/vscode-uri@3.1.0/node_modules/vscode-uri/lib/esm/index.mjs": {
11411
- "bytesInOutput": 10757
11411
+ "bytesInOutput": 10740
11412
11412
  },
11413
11413
  "../../node_modules/.pnpm/langium@4.4.0/node_modules/langium/lib/utils/uri-utils.js": {
11414
11414
  "bytesInOutput": 2458
@@ -11522,10 +11522,10 @@
11522
11522
  "bytesInOutput": 896
11523
11523
  },
11524
11524
  "../core/dist/util/props.js": {
11525
- "bytesInOutput": 516
11525
+ "bytesInOutput": 518
11526
11526
  },
11527
11527
  "../core/dist/language/calendar-declarations.js": {
11528
- "bytesInOutput": 1228
11528
+ "bytesInOutput": 1229
11529
11529
  },
11530
11530
  "../core/dist/language/style-chain.js": {
11531
11531
  "bytesInOutput": 547
@@ -11537,7 +11537,7 @@
11537
11537
  "bytesInOutput": 474
11538
11538
  },
11539
11539
  "../layout/dist/capacity.js": {
11540
- "bytesInOutput": 1036
11540
+ "bytesInOutput": 1037
11541
11541
  },
11542
11542
  "../layout/dist/dsl-utils.js": {
11543
11543
  "bytesInOutput": 50
@@ -11615,16 +11615,16 @@
11615
11615
  "bytesInOutput": 1175
11616
11616
  },
11617
11617
  "../core/dist/language/waves.js": {
11618
- "bytesInOutput": 6245
11618
+ "bytesInOutput": 6250
11619
11619
  },
11620
11620
  "../core/dist/language/waves-order.js": {
11621
- "bytesInOutput": 9621
11621
+ "bytesInOutput": 9623
11622
11622
  },
11623
11623
  "../core/dist/language/include-waves.js": {
11624
- "bytesInOutput": 3936
11624
+ "bytesInOutput": 3937
11625
11625
  },
11626
11626
  "../core/dist/language/references.js": {
11627
- "bytesInOutput": 281
11627
+ "bytesInOutput": 282
11628
11628
  },
11629
11629
  "../core/dist/language/include-references.js": {
11630
11630
  "bytesInOutput": 375
@@ -11636,34 +11636,34 @@
11636
11636
  "bytesInOutput": 8163
11637
11637
  },
11638
11638
  "../core/dist/language/validator/support.js": {
11639
- "bytesInOutput": 580
11639
+ "bytesInOutput": 581
11640
11640
  },
11641
11641
  "../core/dist/language/validator/tables.js": {
11642
11642
  "bytesInOutput": 1409
11643
11643
  },
11644
11644
  "../core/dist/language/validator/calendar.js": {
11645
- "bytesInOutput": 3851
11645
+ "bytesInOutput": 3859
11646
11646
  },
11647
11647
  "../core/dist/language/validator/entities.js": {
11648
- "bytesInOutput": 4175
11648
+ "bytesInOutput": 4188
11649
11649
  },
11650
11650
  "../core/dist/util/allowed-link.js": {
11651
11651
  "bytesInOutput": 60
11652
11652
  },
11653
11653
  "../core/dist/language/validator/properties.js": {
11654
- "bytesInOutput": 4382
11654
+ "bytesInOutput": 4386
11655
11655
  },
11656
11656
  "../core/dist/language/validator/references.js": {
11657
- "bytesInOutput": 2786
11657
+ "bytesInOutput": 2789
11658
11658
  },
11659
11659
  "../core/dist/language/validator/structure.js": {
11660
- "bytesInOutput": 2046
11660
+ "bytesInOutput": 2048
11661
11661
  },
11662
11662
  "../core/dist/language/validator/style.js": {
11663
- "bytesInOutput": 1489
11663
+ "bytesInOutput": 1492
11664
11664
  },
11665
11665
  "../core/dist/language/validator/symbols.js": {
11666
- "bytesInOutput": 1553
11666
+ "bytesInOutput": 1558
11667
11667
  },
11668
11668
  "../core/dist/language/nowline-validator.js": {
11669
11669
  "bytesInOutput": 4965
@@ -11693,7 +11693,7 @@
11693
11693
  "bytesInOutput": 386
11694
11694
  },
11695
11695
  "../layout/dist/style-resolution.js": {
11696
- "bytesInOutput": 2059
11696
+ "bytesInOutput": 2061
11697
11697
  },
11698
11698
  "../layout/dist/view-preset.js": {
11699
11699
  "bytesInOutput": 5861
@@ -11747,10 +11747,10 @@
11747
11747
  "bytesInOutput": 1766
11748
11748
  },
11749
11749
  "../layout/dist/nodes/item-measure.js": {
11750
- "bytesInOutput": 4836
11750
+ "bytesInOutput": 4834
11751
11751
  },
11752
11752
  "../layout/dist/nodes/sequence-item.js": {
11753
- "bytesInOutput": 3064
11753
+ "bytesInOutput": 3062
11754
11754
  },
11755
11755
  "../layout/dist/nodes/dependency-edges.js": {
11756
11756
  "bytesInOutput": 1821
@@ -11759,13 +11759,13 @@
11759
11759
  "bytesInOutput": 1361
11760
11760
  },
11761
11761
  "../layout/dist/nodes/marker-band.js": {
11762
- "bytesInOutput": 2915
11762
+ "bytesInOutput": 2912
11763
11763
  },
11764
11764
  "../layout/dist/nodes/milestone-node.js": {
11765
11765
  "bytesInOutput": 3363
11766
11766
  },
11767
11767
  "../layout/dist/nodes/region-markers.js": {
11768
- "bytesInOutput": 1404
11768
+ "bytesInOutput": 1409
11769
11769
  },
11770
11770
  "../layout/dist/lane-utilization.js": {
11771
11771
  "bytesInOutput": 1842
@@ -11780,7 +11780,7 @@
11780
11780
  "bytesInOutput": 1878
11781
11781
  },
11782
11782
  "../layout/dist/nodes/include-node.js": {
11783
- "bytesInOutput": 1441
11783
+ "bytesInOutput": 1433
11784
11784
  },
11785
11785
  "../layout/dist/nodes/nowline-node.js": {
11786
11786
  "bytesInOutput": 506
@@ -11789,7 +11789,7 @@
11789
11789
  "bytesInOutput": 499
11790
11790
  },
11791
11791
  "../layout/dist/nodes/wave-node.js": {
11792
- "bytesInOutput": 5485
11792
+ "bytesInOutput": 5482
11793
11793
  },
11794
11794
  "../layout/dist/time-scale.js": {
11795
11795
  "bytesInOutput": 1928
@@ -11798,10 +11798,10 @@
11798
11798
  "bytesInOutput": 1646
11799
11799
  },
11800
11800
  "../layout/dist/schedule.js": {
11801
- "bytesInOutput": 3533
11801
+ "bytesInOutput": 3650
11802
11802
  },
11803
11803
  "../layout/dist/phases/measure.js": {
11804
- "bytesInOutput": 1918
11804
+ "bytesInOutput": 1915
11805
11805
  },
11806
11806
  "../layout/dist/phases/finalize.js": {
11807
11807
  "bytesInOutput": 12611
@@ -11831,7 +11831,7 @@
11831
11831
  "bytesInOutput": 727
11832
11832
  },
11833
11833
  "../layout/dist/phases/place.js": {
11834
- "bytesInOutput": 2179
11834
+ "bytesInOutput": 2177
11835
11835
  },
11836
11836
  "../layout/dist/nodes/group-node.js": {
11837
11837
  "bytesInOutput": 1240
@@ -11915,7 +11915,7 @@
11915
11915
  "bytesInOutput": 2753
11916
11916
  },
11917
11917
  "../renderer/dist/svg/include-region.js": {
11918
- "bytesInOutput": 1655
11918
+ "bytesInOutput": 1652
11919
11919
  },
11920
11920
  "../renderer/dist/svg/nowline.js": {
11921
11921
  "bytesInOutput": 1254
@@ -11933,7 +11933,7 @@
11933
11933
  "bytesInOutput": 852
11934
11934
  },
11935
11935
  "../../node_modules/.pnpm/fflate@0.8.3/node_modules/fflate/esm/browser.js": {
11936
- "bytesInOutput": 6560
11936
+ "bytesInOutput": 6553
11937
11937
  },
11938
11938
  "../share-link/dist/index.js": {
11939
11939
  "bytesInOutput": 665
@@ -11948,7 +11948,7 @@
11948
11948
  "bytesInOutput": 257
11949
11949
  }
11950
11950
  },
11951
- "bytes": 680206
11951
+ "bytes": 680329
11952
11952
  }
11953
11953
  }
11954
11954
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261105233915.g49a2d2a sha=49a2d2a built=2026-11-05T23:27:06Z */
1
+ /*! @nowline/embed 0.0.0-dev.20261106000822.g2041c05 sha=2041c05 built=2026-11-06T00:03:17Z */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -34322,7 +34322,7 @@ var REGION_MARKER_INSET_X_PX = 16;
34322
34322
  var REGION_MARKER_BAND_TOP_PX = 8;
34323
34323
  var REGION_MARKER_BAND_GAP_PX = 6;
34324
34324
  function placeRegionMarkers(region, ctx, regionTopY, lanesTopY, lanesBottomY, chartRightX) {
34325
- seedRegionAnchorEdges(region.content.anchors, ctx);
34325
+ seedRegionDatedEdges(region.content, ctx);
34326
34326
  const placements = buildMilestones(region.content.milestones, ctx);
34327
34327
  const entries = regionMarkerEntries(region.content.anchors, placements, ctx);
34328
34328
  if (entries.length === 0)
@@ -34391,8 +34391,8 @@ function positionedEntry(m, bold) {
34391
34391
  ...slipX !== void 0 ? { slipFromX: m.center.x } : {}
34392
34392
  };
34393
34393
  }
34394
- function seedRegionAnchorEdges(anchors2, ctx) {
34395
- for (const e of datePinnedMarkerEntries(anchors2, /* @__PURE__ */ new Map(), ctx.scale)) {
34394
+ function seedRegionDatedEdges(content, ctx) {
34395
+ for (const e of datePinnedMarkerEntries(content.anchors, content.milestones, ctx.scale)) {
34396
34396
  ctx.entityLeftEdges.set(e.id, e.centerX);
34397
34397
  ctx.entityRightEdges.set(e.id, e.centerX);
34398
34398
  }
@@ -34889,7 +34889,7 @@ function buildIncludeRegions(regions, ctx, startY, helpers, chartRightX) {
34889
34889
  if (ctx.waves) {
34890
34890
  seedWaveEdges(ctx.waves, childCtx.entityLeftEdges, childCtx.entityRightEdges);
34891
34891
  } else {
34892
- seedRegionAnchorEdges(region.content.anchors, childCtx);
34892
+ seedRegionDatedEdges(region.content, childCtx);
34893
34893
  }
34894
34894
  const nestedSwimlanes = [];
34895
34895
  let cursorY = innerStartY;
@@ -35646,6 +35646,14 @@ function scheduleRoadmap(file, resolved, options = {}) {
35646
35646
  reachMax(day);
35647
35647
  }
35648
35648
  }
35649
+ const seedDatedMilestones = (milestones, into) => {
35650
+ for (const [id, ms] of milestones) {
35651
+ const d = parseIsoDate(propValue(ms.properties, "date"));
35652
+ if (d)
35653
+ into.set(id, dayOf(d));
35654
+ }
35655
+ };
35656
+ seedDatedMilestones(resolved.content.milestones, milestoneEnd);
35649
35657
  const mainScope = () => ({
35650
35658
  itemEnd,
35651
35659
  anchorEnd,
@@ -35743,6 +35751,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
35743
35751
  reachMax(day);
35744
35752
  }
35745
35753
  }
35754
+ seedDatedMilestones(content.milestones, regionMilestoneEnd);
35746
35755
  const { walkLane, resolveAfterDay: resolveAfterDay2 } = makeWalker({
35747
35756
  itemEnd: regionItemEnd,
35748
35757
  anchorEnd: regionAnchorEnd,
@@ -41082,8 +41091,8 @@ function effectiveTheme(theme, systemTheme) {
41082
41091
  }
41083
41092
 
41084
41093
  // src/index.ts
41085
- var version = true ? "0.0.0-dev.20261105233915.g49a2d2a" : "0.0.0";
41086
- var sha = true ? "49a2d2a" : "unknown";
41094
+ var version = true ? "0.0.0-dev.20261106000822.g2041c05" : "0.0.0";
41095
+ var sha = true ? "2041c05" : "unknown";
41087
41096
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
41088
41097
  var initialConfig = {
41089
41098
  theme: "auto",