@nowline/embed 0.0.0-dev.20261014001415.g49e010f → 0.0.0-dev.20261014154114.g5da7d2a

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
@@ -9626,13 +9626,18 @@
9626
9626
  "format": "esm"
9627
9627
  },
9628
9628
  "../layout/dist/schedule.js": {
9629
- "bytes": 14956,
9629
+ "bytes": 14911,
9630
9630
  "imports": [
9631
9631
  {
9632
9632
  "path": "../core/dist/index.js",
9633
9633
  "kind": "import-statement",
9634
9634
  "original": "@nowline/core"
9635
9635
  },
9636
+ {
9637
+ "path": "../core/dist/internal.js",
9638
+ "kind": "import-statement",
9639
+ "original": "@nowline/core/internal"
9640
+ },
9636
9641
  {
9637
9642
  "path": "../layout/dist/calendar.js",
9638
9643
  "kind": "import-statement",
@@ -10166,7 +10171,7 @@
10166
10171
  "imports": [],
10167
10172
  "exports": [],
10168
10173
  "inputs": {},
10169
- "bytes": 3618146
10174
+ "bytes": 3617808
10170
10175
  },
10171
10176
  "dist/nowline.min.js": {
10172
10177
  "imports": [],
@@ -11266,7 +11271,7 @@
11266
11271
  "bytesInOutput": 146
11267
11272
  },
11268
11273
  "../layout/dist/schedule.js": {
11269
- "bytesInOutput": 3526
11274
+ "bytesInOutput": 3394
11270
11275
  },
11271
11276
  "../layout/dist/layout.js": {
11272
11277
  "bytesInOutput": 136
@@ -11338,7 +11343,7 @@
11338
11343
  "bytesInOutput": 257
11339
11344
  }
11340
11345
  },
11341
- "bytes": 663671
11346
+ "bytes": 663539
11342
11347
  }
11343
11348
  }
11344
11349
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261014001415.g49e010f sha=49e010f built=2026-10-14T00:08:54Z */
1
+ /*! @nowline/embed 0.0.0-dev.20261014154114.g5da7d2a sha=5da7d2a built=2026-10-14T15:35:52Z */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -36115,11 +36115,9 @@ function scheduleRoadmap(file, resolved, options = {}) {
36115
36115
  return scope.milestoneEnd.get(ref);
36116
36116
  return 0;
36117
36117
  };
36118
- const walkLane = (children, baselineEnd) => {
36118
+ const walkLane = (container, baselineEnd) => {
36119
36119
  let prevEnd = baselineEnd;
36120
- for (const child of children) {
36121
- if (child.$type === "DescriptionDirective")
36122
- continue;
36120
+ for (const child of trackChildren(container)) {
36123
36121
  prevEnd = walkNode(child, prevEnd);
36124
36122
  reach(prevEnd);
36125
36123
  }
@@ -36158,11 +36156,8 @@ function scheduleRoadmap(file, resolved, options = {}) {
36158
36156
  if (wave)
36159
36157
  containerStart = wave.apply(node, containerStart);
36160
36158
  let parallelEnd = containerStart;
36161
- for (const child of node.content) {
36162
- if (child.$type === "DescriptionDirective")
36163
- continue;
36164
- const childEnd = walkNode(child, containerStart);
36165
- parallelEnd = Math.max(parallelEnd, childEnd);
36159
+ for (const child of trackChildren(node)) {
36160
+ parallelEnd = Math.max(parallelEnd, walkNode(child, containerStart));
36166
36161
  }
36167
36162
  return parallelEnd;
36168
36163
  }
@@ -36171,7 +36166,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
36171
36166
  let containerStart = after.length > 0 ? Math.max(prevEnd, ...after.map(resolveAfterDay2)) : prevEnd;
36172
36167
  if (wave)
36173
36168
  containerStart = wave.apply(node, containerStart);
36174
- return walkLane(node.content, containerStart);
36169
+ return walkLane(node, containerStart);
36175
36170
  }
36176
36171
  return prevEnd;
36177
36172
  };
@@ -36204,7 +36199,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
36204
36199
  inByNode: firstLevel
36205
36200
  }, void 0, reachMax);
36206
36201
  for (const lane of content.swimlanes.values())
36207
- walkLane(lane.content, 0);
36202
+ walkLane(lane, 0);
36208
36203
  for (const [id, ms] of content.milestones) {
36209
36204
  const day = milestoneDay(ms, resolveAfterDay2);
36210
36205
  if (day === void 0)
@@ -36220,7 +36215,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
36220
36215
  if (!plan) {
36221
36216
  const { walkLane } = makeWalker(mainScope(), void 0, reachMax);
36222
36217
  for (const lane of resolved.content.swimlanes.values()) {
36223
- walkLane(lane.content, 0);
36218
+ walkLane(lane, 0);
36224
36219
  }
36225
36220
  } else {
36226
36221
  const ids = plan.waves.map((w) => w.name);
@@ -36239,7 +36234,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
36239
36234
  const pass = new WavePass(plan, S);
36240
36235
  const { walkLane } = makeWalker(mainScope(), pass, reachPass);
36241
36236
  for (const lane of resolved.content.swimlanes.values()) {
36242
- walkLane(lane.content, 0);
36237
+ walkLane(lane, 0);
36243
36238
  }
36244
36239
  for (const region of resolved.content.isolatedRegions) {
36245
36240
  const regionWalker = makeWalker({
@@ -36250,7 +36245,7 @@ function scheduleRoadmap(file, resolved, options = {}) {
36250
36245
  inByNode: true
36251
36246
  }, pass, reachPass);
36252
36247
  for (const lane of region.content.swimlanes.values()) {
36253
- regionWalker.walkLane(lane.content, 0);
36248
+ regionWalker.walkLane(lane, 0);
36254
36249
  }
36255
36250
  }
36256
36251
  finalPass = pass;
@@ -40182,8 +40177,8 @@ function effectiveTheme(theme, systemTheme) {
40182
40177
  }
40183
40178
 
40184
40179
  // src/index.ts
40185
- var version = true ? "0.0.0-dev.20261014001415.g49e010f" : "0.0.0";
40186
- var sha = true ? "49e010f" : "unknown";
40180
+ var version = true ? "0.0.0-dev.20261014154114.g5da7d2a" : "0.0.0";
40181
+ var sha = true ? "5da7d2a" : "unknown";
40187
40182
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
40188
40183
  var initialConfig = {
40189
40184
  theme: "auto",