@nowline/embed 0.0.0-dev.20261007204002.g0c1b43f → 0.0.0-dev.20261007205200.g9919f48

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
@@ -6125,7 +6125,7 @@
6125
6125
  "format": "esm"
6126
6126
  },
6127
6127
  "../layout/dist/non-working-display.js": {
6128
- "bytes": 1221,
6128
+ "bytes": 1276,
6129
6129
  "imports": [],
6130
6130
  "format": "esm"
6131
6131
  },
@@ -6145,7 +6145,7 @@
6145
6145
  "format": "esm"
6146
6146
  },
6147
6147
  "../layout/dist/themes/index.js": {
6148
- "bytes": 2224,
6148
+ "bytes": 2502,
6149
6149
  "imports": [
6150
6150
  {
6151
6151
  "path": "../layout/dist/themes/dark.js",
@@ -9469,7 +9469,7 @@
9469
9469
  "format": "esm"
9470
9470
  },
9471
9471
  "../layout/dist/index.js": {
9472
- "bytes": 4718,
9472
+ "bytes": 4731,
9473
9473
  "imports": [
9474
9474
  {
9475
9475
  "path": "../layout/dist/calendar-resolver.js",
@@ -9838,7 +9838,7 @@
9838
9838
  "imports": [],
9839
9839
  "exports": [],
9840
9840
  "inputs": {},
9841
- "bytes": 3770522
9841
+ "bytes": 3770869
9842
9842
  },
9843
9843
  "dist/nowline.min.js": {
9844
9844
  "imports": [],
@@ -10869,7 +10869,7 @@
10869
10869
  "bytesInOutput": 3322
10870
10870
  },
10871
10871
  "../layout/dist/themes/index.js": {
10872
- "bytesInOutput": 382
10872
+ "bytesInOutput": 386
10873
10873
  },
10874
10874
  "../layout/dist/style-resolution.js": {
10875
10875
  "bytesInOutput": 2460
@@ -11013,7 +11013,7 @@
11013
11013
  "bytesInOutput": 257
11014
11014
  }
11015
11015
  },
11016
- "bytes": 733412
11016
+ "bytes": 733416
11017
11017
  }
11018
11018
  }
11019
11019
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261007204002.g0c1b43f sha=0c1b43f built=2026-10-07T13:39:28-07:00 */
1
+ /*! @nowline/embed 0.0.0-dev.20261007205200.g9919f48 sha=9919f48 built=2026-10-07T13:51:33-07:00 */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -35454,6 +35454,7 @@ var lightTheme = {
35454
35454
  };
35455
35455
 
35456
35456
  // ../layout/dist/themes/index.js
35457
+ var THEME_NAMES = ["light", "dark", "grayscale"];
35457
35458
  var themes = {
35458
35459
  light: lightTheme,
35459
35460
  dark: darkTheme,
@@ -35465,10 +35466,7 @@ var THEME_ALIASES = {
35465
35466
  function normalizeThemeName(raw) {
35466
35467
  const lower = raw.toLowerCase();
35467
35468
  const canonical = THEME_ALIASES[lower] ?? lower;
35468
- if (canonical === "light" || canonical === "dark" || canonical === "grayscale") {
35469
- return canonical;
35470
- }
35471
- return void 0;
35469
+ return THEME_NAMES.find((name) => name === canonical);
35472
35470
  }
35473
35471
  var COLOR_ALIASES = {
35474
35472
  grey: "gray",
@@ -42853,8 +42851,8 @@ function effectiveTheme(theme, systemTheme) {
42853
42851
  }
42854
42852
 
42855
42853
  // src/index.ts
42856
- var version = true ? "0.0.0-dev.20261007204002.g0c1b43f" : "0.0.0";
42857
- var sha = true ? "0c1b43f" : "unknown";
42854
+ var version = true ? "0.0.0-dev.20261007205200.g9919f48" : "0.0.0";
42855
+ var sha = true ? "9919f48" : "unknown";
42858
42856
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
42859
42857
  var initialConfig = {
42860
42858
  theme: "auto",