@nowline/embed 0.0.0-dev.20261015070140.g0e948e9 → 0.0.0-dev.20261015073146.gdb78b2e

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
@@ -4861,7 +4861,7 @@
4861
4861
  "format": "esm"
4862
4862
  },
4863
4863
  "../core/dist/language/value-tables.js": {
4864
- "bytes": 1873,
4864
+ "bytes": 3582,
4865
4865
  "imports": [
4866
4866
  {
4867
4867
  "path": "../core/dist/language/calendar-declarations.js",
@@ -5388,7 +5388,7 @@
5388
5388
  "format": "esm"
5389
5389
  },
5390
5390
  "../core/dist/language/validator/tables.js": {
5391
- "bytes": 10959,
5391
+ "bytes": 10145,
5392
5392
  "imports": [
5393
5393
  {
5394
5394
  "path": "../core/dist/language/value-tables.js",
@@ -10171,7 +10171,7 @@
10171
10171
  "imports": [],
10172
10172
  "exports": [],
10173
10173
  "inputs": {},
10174
- "bytes": 3617808
10174
+ "bytes": 3618963
10175
10175
  },
10176
10176
  "dist/nowline.min.js": {
10177
10177
  "imports": [],
@@ -10980,7 +10980,7 @@
10980
10980
  "bytesInOutput": 547
10981
10981
  },
10982
10982
  "../core/dist/language/value-tables.js": {
10983
- "bytesInOutput": 207
10983
+ "bytesInOutput": 923
10984
10984
  },
10985
10985
  "../layout/dist/capacity.js": {
10986
10986
  "bytesInOutput": 834
@@ -11079,7 +11079,7 @@
11079
11079
  "bytesInOutput": 580
11080
11080
  },
11081
11081
  "../core/dist/language/validator/tables.js": {
11082
- "bytesInOutput": 3174
11082
+ "bytesInOutput": 2421
11083
11083
  },
11084
11084
  "../core/dist/language/validator/calendar.js": {
11085
11085
  "bytesInOutput": 3851
@@ -11343,7 +11343,7 @@
11343
11343
  "bytesInOutput": 257
11344
11344
  }
11345
11345
  },
11346
- "bytes": 663539
11346
+ "bytes": 663502
11347
11347
  }
11348
11348
  }
11349
11349
  }
@@ -1,4 +1,4 @@
1
- /*! @nowline/embed 0.0.0-dev.20261015070140.g0e948e9 sha=0e948e9 built=2026-10-15T06:56:38Z */
1
+ /*! @nowline/embed 0.0.0-dev.20261015073146.gdb78b2e sha=db78b2e built=2026-10-15T07:26:54Z */
2
2
  var __create = Object.create;
3
3
  var __defProp = Object.defineProperty;
4
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
@@ -21675,6 +21675,38 @@ var BUILTIN_ICON_NAMES = [
21675
21675
  "calendar"
21676
21676
  ];
21677
21677
  var NON_WORKING_DISPLAYS = ["hide", "show"];
21678
+ var STYLE_PROP_ENUMS = {
21679
+ border: ["solid", "dashed", "dotted"],
21680
+ shadow: ["none", "subtle", "soft", "hard"],
21681
+ font: ["sans", "serif", "mono"],
21682
+ weight: ["thin", "light", "normal", "bold"],
21683
+ italic: ["true", "false"],
21684
+ "text-size": ["none", "xs", "sm", "md", "lg", "xl"],
21685
+ padding: ["none", "xs", "sm", "md", "lg", "xl"],
21686
+ spacing: ["none", "xs", "sm", "md", "lg", "xl"],
21687
+ "header-height": ["none", "xs", "sm", "md", "lg", "xl"],
21688
+ "corner-radius": ["none", "xs", "sm", "md", "lg", "xl", "full"],
21689
+ bracket: ["none", "solid", "dashed"],
21690
+ "header-position": ["beside", "above"],
21691
+ "timeline-position": ["top", "bottom", "both"],
21692
+ "minor-grid": ["true", "false"]
21693
+ };
21694
+ var COLOR_NAMES = [
21695
+ "red",
21696
+ "blue",
21697
+ "yellow",
21698
+ "green",
21699
+ "orange",
21700
+ "purple",
21701
+ "violet",
21702
+ "gray",
21703
+ "grey",
21704
+ "navy",
21705
+ "white",
21706
+ "none"
21707
+ ];
21708
+ var CALENDAR_MODES = ["business", "full", "custom"];
21709
+ var INCLUDE_MODES = ["merge", "ignore", "isolate"];
21678
21710
 
21679
21711
  // ../layout/dist/capacity.js
21680
21712
  var BUILTIN_CAPACITY_ICON_SET = new Set(BUILTIN_CAPACITY_ICONS);
@@ -28495,37 +28527,9 @@ var ROADMAP_ONLY_STYLE_KEYS = /* @__PURE__ */ new Set([
28495
28527
  "non-working"
28496
28528
  ]);
28497
28529
  var UTILIZATION_NONE = "none";
28498
- var STYLE_PROP_ENUMS = {
28499
- border: /* @__PURE__ */ new Set(["solid", "dashed", "dotted"]),
28500
- shadow: /* @__PURE__ */ new Set(["none", "subtle", "soft", "hard"]),
28501
- font: /* @__PURE__ */ new Set(["sans", "serif", "mono"]),
28502
- weight: /* @__PURE__ */ new Set(["thin", "light", "normal", "bold"]),
28503
- italic: /* @__PURE__ */ new Set(["true", "false"]),
28504
- "text-size": /* @__PURE__ */ new Set(["none", "xs", "sm", "md", "lg", "xl"]),
28505
- padding: /* @__PURE__ */ new Set(["none", "xs", "sm", "md", "lg", "xl"]),
28506
- spacing: /* @__PURE__ */ new Set(["none", "xs", "sm", "md", "lg", "xl"]),
28507
- "header-height": /* @__PURE__ */ new Set(["none", "xs", "sm", "md", "lg", "xl"]),
28508
- "corner-radius": /* @__PURE__ */ new Set(["none", "xs", "sm", "md", "lg", "xl", "full"]),
28509
- bracket: /* @__PURE__ */ new Set(["none", "solid", "dashed"]),
28510
- "header-position": /* @__PURE__ */ new Set(["beside", "above"]),
28511
- "timeline-position": /* @__PURE__ */ new Set(["top", "bottom", "both"]),
28512
- "minor-grid": /* @__PURE__ */ new Set(["true", "false"])
28513
- };
28514
- var COLOR_NAMES = /* @__PURE__ */ new Set([
28515
- "red",
28516
- "blue",
28517
- "yellow",
28518
- "green",
28519
- "orange",
28520
- "purple",
28521
- "violet",
28522
- "gray",
28523
- "grey",
28524
- "navy",
28525
- "white",
28526
- "none"
28527
- ]);
28528
- var CALENDAR_MODES = /* @__PURE__ */ new Set(["business", "full", "custom"]);
28530
+ var STYLE_PROP_ENUMS2 = Object.fromEntries(Object.entries(STYLE_PROP_ENUMS).map(([key, values]) => [key, new Set(values)]));
28531
+ var COLOR_NAMES2 = new Set(COLOR_NAMES);
28532
+ var CALENDAR_MODES2 = new Set(CALENDAR_MODES);
28529
28533
  var CALENDAR_FIELDS = /* @__PURE__ */ new Set([
28530
28534
  "days-per-week",
28531
28535
  "days-per-month",
@@ -28643,7 +28647,7 @@ var POSITIVE_DECIMAL_FRACTION_RE = /^\d+\.\d+$/;
28643
28647
  var POSITIVE_INTEGER_RE = /^\d+$/;
28644
28648
  var ASCII_FALLBACK_RE = /^[\x20-\x7E]{1,3}$/;
28645
28649
  var BCP47_RE = /^[a-zA-Z]{2,3}(-[a-zA-Z]{2}|-\d{3})?$/;
28646
- var INCLUDE_MODES = /* @__PURE__ */ new Set(["merge", "ignore", "isolate"]);
28650
+ var INCLUDE_MODES2 = new Set(INCLUDE_MODES);
28647
28651
  var DIRECTIVE_FIELDS = /* @__PURE__ */ new Set(["locale"]);
28648
28652
 
28649
28653
  // ../core/dist/language/validator/calendar.js
@@ -29123,7 +29127,7 @@ function checkPropertyValues(prop, accept) {
29123
29127
  }
29124
29128
  break;
29125
29129
  case "calendar":
29126
- if (val && !CALENDAR_MODES.has(val)) {
29130
+ if (val && !CALENDAR_MODES2.has(val)) {
29127
29131
  acceptTr(accept, "error", { node: prop, property: "value" }, "NL.E0407", {
29128
29132
  value: val
29129
29133
  });
@@ -29228,8 +29232,8 @@ function checkPropertyValues(prop, accept) {
29228
29232
  key
29229
29233
  });
29230
29234
  }
29231
- } else if (key in STYLE_PROP_ENUMS) {
29232
- const allowed = STYLE_PROP_ENUMS[key];
29235
+ } else if (key in STYLE_PROP_ENUMS2) {
29236
+ const allowed = STYLE_PROP_ENUMS2[key];
29233
29237
  if (val && !allowed.has(val)) {
29234
29238
  acceptTr(accept, "error", { node: prop, property: "value" }, "NL.E0802", {
29235
29239
  value: val,
@@ -29293,8 +29297,8 @@ function checkStylePropertyEnum(prop, accept) {
29293
29297
  }
29294
29298
  } else if (key === "non-working") {
29295
29299
  checkNonWorkingValue(val, prop, accept);
29296
- } else if (key in STYLE_PROP_ENUMS) {
29297
- const allowed = STYLE_PROP_ENUMS[key];
29300
+ } else if (key in STYLE_PROP_ENUMS2) {
29301
+ const allowed = STYLE_PROP_ENUMS2[key];
29298
29302
  if (!allowed.has(val)) {
29299
29303
  acceptTr(accept, "error", { node: prop, property: "value" }, "NL.E0802", {
29300
29304
  value: val,
@@ -29309,7 +29313,7 @@ function checkStylePropertyEnum(prop, accept) {
29309
29313
  function checkRoadmapProperties(_roadmap, _accept) {
29310
29314
  }
29311
29315
  function isColorValue(val) {
29312
- return COLOR_NAMES.has(val) || HEX_COLOR_RE.test(val);
29316
+ return COLOR_NAMES2.has(val) || HEX_COLOR_RE.test(val);
29313
29317
  }
29314
29318
  function checkNonWorkingValue(value, node, accept) {
29315
29319
  if (value === void 0 || NON_WORKING_VALUES.has(value))
@@ -29667,7 +29671,7 @@ function checkSwimlaneRequired(file, accept) {
29667
29671
  }
29668
29672
  }
29669
29673
  function checkIncludeMode(option2, accept) {
29670
- if (!INCLUDE_MODES.has(option2.value)) {
29674
+ if (!INCLUDE_MODES2.has(option2.value)) {
29671
29675
  acceptTr(accept, "error", { node: option2, property: "value" }, "NL.E0200", {
29672
29676
  value: option2.value
29673
29677
  });
@@ -40177,8 +40181,8 @@ function effectiveTheme(theme, systemTheme) {
40177
40181
  }
40178
40182
 
40179
40183
  // src/index.ts
40180
- var version = true ? "0.0.0-dev.20261015070140.g0e948e9" : "0.0.0";
40181
- var sha = true ? "0e948e9" : "unknown";
40184
+ var version = true ? "0.0.0-dev.20261015073146.gdb78b2e" : "0.0.0";
40185
+ var sha = true ? "db78b2e" : "unknown";
40182
40186
  var DEFAULT_SELECTOR = "pre code.language-nowline, code.language-nowline";
40183
40187
  var initialConfig = {
40184
40188
  theme: "auto",