@takazudo/zudo-doc 4.4.11 → 4.4.12

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/CHANGELOG.md CHANGED
@@ -4,6 +4,20 @@ All notable changes to `@takazudo/zudo-doc` are documented in this file.
4
4
 
5
5
  The format is based on Keep a Changelog, and release notes are generated from the changelog MDX pages.
6
6
 
7
+ ## [4.4.12] - 2026-07-30
8
+
9
+ ### Bug Fixes
10
+
11
+ - Restore EN `/docs/reference/design-token-panel` rendering — the page shipped its whole body as a single `<pre data-zfb-content-fallback>` blob due to a byte-offset-sensitive upstream zfb bundler bug, worked around with an exact-equivalent rewording (c3d9c78)
12
+ - Re-inject the mermaid enlarge button after a theme re-render (5b9a655)
13
+ - Close the bare same-page fragment guard hole in the link checker (ab2fea6)
14
+
15
+ ### Other Changes
16
+
17
+ - New `check:content-fallback` build gate: fail the build when any built page ships a content-fallback blob, wired into b4push and the build-site jobs of all three CI workflows (a0e4361, 945c392)
18
+ - Record Takazudo/zudo-front-builder#2186 as the content-fallback guard's upstream tracking issue and retirement condition (6cee4ca)
19
+ - Bump the zfb family to 0.1.0-next.98 and add routes-src exports (8143de0)
20
+
7
21
  ## [4.4.11] - 2026-07-28
8
22
 
9
23
  A maintenance release: CI post-deploy gate reliability, the `packages/zudo-doc` dev loop, and documentation. The published package artifacts are unchanged — the build path still cleans exactly as before.
@@ -9,6 +9,7 @@ import {
9
9
  } from "../island-types/index.js";
10
10
  const CONTENT_SCOPE_SELECTOR = "main .zd-content";
11
11
  const DIAGRAM_SVG_SELECTOR = ":scope > svg";
12
+ const INJECTED_BTN_SELECTOR = ":scope > .zd-enlarge-btn";
12
13
  const BTN_INJECTED_ATTR = "data-mermaid-enlarge-ready";
13
14
  const ZOOM_STEP = 1.25;
14
15
  const MIN_SCALE = 1;
@@ -41,7 +42,7 @@ function MermaidEnlarge() {
41
42
  useEffect(() => {
42
43
  let mutationObserver = null;
43
44
  function injectButton(container) {
44
- if (container.hasAttribute(BTN_INJECTED_ATTR)) return;
45
+ if (container.querySelector(INJECTED_BTN_SELECTOR) !== null) return;
45
46
  const rendered = container.hasAttribute("data-mermaid-rendered") || container.querySelector(DIAGRAM_SVG_SELECTOR) !== null;
46
47
  if (!rendered) return;
47
48
  container.setAttribute(BTN_INJECTED_ATTR, "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takazudo/zudo-doc",
3
- "version": "4.4.11",
3
+ "version": "4.4.12",
4
4
  "type": "module",
5
5
  "description": "zudo-doc framework primitives layer that sits on top of zfb's engine — sidebar, theme, TOC, breadcrumb, layouts, head injection, View Transitions, SSR-skip wrappers (per ADR-003).",
6
6
  "license": "MIT",
@@ -233,6 +233,7 @@
233
233
  "./page-loading.css": "./dist/page-loading.css",
234
234
  "./features.css": "./dist/features.css",
235
235
  "./theme-packs/*": "./dist/theme-packs/*",
236
+ "./routes-src/*": "./routes-src/*",
236
237
  "./tsconfig.base.json": "./tsconfig.base.json",
237
238
  "./zfb-config-shim.d.ts": "./zfb-config-shim.d.ts",
238
239
  "./virtual-modules.d.ts": "./virtual-modules.d.ts",
@@ -597,10 +598,10 @@
597
598
  ],
598
599
  "peerDependencies": {
599
600
  "@takazudo/zdtp": "^0.4.9",
600
- "@takazudo/zfb": "^0.1.0-next.96",
601
- "@takazudo/zfb-md-wasm": "^0.1.0-next.96",
602
- "@takazudo/zfb-runtime": "^0.1.0-next.96",
603
- "@takazudo/zudo-doc-history-server": "^4.4.5",
601
+ "@takazudo/zfb": "^0.1.0-next.98",
602
+ "@takazudo/zfb-md-wasm": "^0.1.0-next.98",
603
+ "@takazudo/zfb-runtime": "^0.1.0-next.98",
604
+ "@takazudo/zudo-doc-history-server": "^4.4.11",
604
605
  "diff": "^8.0.0",
605
606
  "katex": "^0.16.0",
606
607
  "preact": "^10.29.1",
@@ -634,9 +635,9 @@
634
635
  "tsx": "^4.21.0"
635
636
  },
636
637
  "devDependencies": {
637
- "@takazudo/zfb": "0.1.0-next.96",
638
- "@takazudo/zfb-md-wasm": "0.1.0-next.96",
639
- "@takazudo/zfb-runtime": "0.1.0-next.96",
638
+ "@takazudo/zfb": "0.1.0-next.98",
639
+ "@takazudo/zfb-md-wasm": "0.1.0-next.98",
640
+ "@takazudo/zfb-runtime": "0.1.0-next.98",
640
641
  "@types/fs-extra": "^11.0.4",
641
642
  "@types/minimist": "^1.2.5",
642
643
  "@types/node": "^25.3.5",
@@ -651,7 +652,7 @@
651
652
  "typescript": "^5.0.0",
652
653
  "vitest": "^4.1.0",
653
654
  "zod": "^4.3.6",
654
- "@takazudo/zudo-doc-history-server": "4.4.11"
655
+ "@takazudo/zudo-doc-history-server": "4.4.12"
655
656
  },
656
657
  "scripts": {
657
658
  "build": "tsup && tsc -p tsconfig.build.json",