@nowline/embed 0.0.0-dev.20261017171934.g3481383 → 0.0.0-dev.20261017174947.ge897dee

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
@@ -5999,7 +5999,7 @@
5999
5999
  "format": "esm"
6000
6000
  },
6001
6001
  "../layout/dist/view-preset.js": {
6002
- "bytes": 24848,
6002
+ "bytes": 24714,
6003
6003
  "imports": [
6004
6004
  {
6005
6005
  "path": "../core/dist/internal.js",
@@ -10304,7 +10304,7 @@
10304
10304
  "imports": [],
10305
10305
  "exports": [],
10306
10306
  "inputs": {},
10307
- "bytes": 3666145
10307
+ "bytes": 3665920
10308
10308
  },
10309
10309
  "dist/nowline.min.js": {
10310
10310
  "imports": [],
@@ -11272,7 +11272,7 @@
11272
11272
  "bytesInOutput": 2059
11273
11273
  },
11274
11274
  "../layout/dist/view-preset.js": {
11275
- "bytesInOutput": 5895
11275
+ "bytesInOutput": 5859
11276
11276
  },
11277
11277
  "../layout/dist/phases/date-window.js": {
11278
11278
  "bytesInOutput": 1118
@@ -11485,7 +11485,7 @@
11485
11485
  "bytesInOutput": 257
11486
11486
  }
11487
11487
  },
11488
- "bytes": 671344
11488
+ "bytes": 671308
11489
11489
  }
11490
11490
  }
11491
11491
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261017171934.g3481383 sha=3481383 built=2026-10-17T17:14:06Z */
1
+ /*! @nowline/embed 0.0.0-dev.20261017174947.ge897dee sha=e897dee built=2026-10-17T17:44:54Z */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -31708,15 +31708,13 @@ function resolveScale(file, scaleBlock) {
31708
31708
  const defaultLabelEvery = labelEveryOverride ?? LABEL_THINNING[unit] ?? 4;
31709
31709
  const defaultFlag = (hasLabelEvery) => labelEveryOverride === void 0 && !hasLabelEvery ? { labelEveryDefault: true } : {};
31710
31710
  if (scaleBlock) {
31711
- const unitProp = findProp(scaleBlock.properties, "unit");
31712
- const resolvedUnit = unitProp?.value ?? unit;
31713
31711
  const labelProp = findProp(scaleBlock.properties, "label-every");
31714
31712
  const explicitLabelEvery = labelProp ? parseInt(labelProp.value, 10) || 0 : 0;
31715
31713
  const labelEvery = explicitLabelEvery !== 0 ? Math.max(1, explicitLabelEvery) : defaultLabelEvery;
31716
31714
  return {
31717
- unit: resolvedUnit,
31715
+ unit,
31718
31716
  labelEvery,
31719
- pixelsPerUnit: pixelsPerUnitOverride ?? unitPx(resolvedUnit),
31717
+ pixelsPerUnit: pixelsPerUnitOverride ?? unitPx(unit),
31720
31718
  ...defaultFlag(explicitLabelEvery !== 0)
31721
31719
  };
31722
31720
  }
@@ -40623,8 +40621,8 @@ function effectiveTheme(theme, systemTheme) {
40623
40621
  }
40624
40622
 
40625
40623
  // src/index.ts
40626
- var version = true ? "0.0.0-dev.20261017171934.g3481383" : "0.0.0";
40627
- var sha = true ? "3481383" : "unknown";
40624
+ var version = true ? "0.0.0-dev.20261017174947.ge897dee" : "0.0.0";
40625
+ var sha = true ? "e897dee" : "unknown";
40628
40626
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
40629
40627
  var initialConfig = {
40630
40628
  theme: "auto",