@takazudo/zudo-doc 0.2.2 → 0.2.3

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.
@@ -2,4 +2,5 @@ export { Toc, TocProps } from './toc.js';
2
2
  export { MobileToc, MobileTocProps } from './mobile-toc.js';
3
3
  export { UseActiveHeadingResult, getActiveHeadingId, useActiveHeading } from './use-active-heading.js';
4
4
  export { HeadingItem } from './types.js';
5
+ export { getTocTitle } from './toc-title.js';
5
6
  import 'preact';
package/dist/toc/index.js CHANGED
@@ -1,9 +1,11 @@
1
1
  import { Toc } from "./toc.js";
2
2
  import { MobileToc } from "./mobile-toc.js";
3
3
  import { useActiveHeading, getActiveHeadingId } from "./use-active-heading.js";
4
+ import { getTocTitle } from "./toc-title.js";
4
5
  export {
5
6
  MobileToc,
6
7
  Toc,
7
8
  getActiveHeadingId,
9
+ getTocTitle,
8
10
  useActiveHeading
9
11
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takazudo/zudo-doc",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
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",
@@ -164,11 +164,11 @@
164
164
  ],
165
165
  "peerDependencies": {
166
166
  "preact": "^10.29.1",
167
- "@takazudo/zfb": "^0.1.0-next.38",
168
- "@takazudo/zfb-runtime": "^0.1.0-next.38",
167
+ "@takazudo/zfb": "^0.1.0-next.40",
168
+ "@takazudo/zfb-runtime": "^0.1.0-next.40",
169
169
  "@takazudo/zdtp": "^0.2.0-next.2",
170
170
  "shiki": "^4.0.2",
171
- "@takazudo/zudo-doc-history-server": "^0.2.2"
171
+ "@takazudo/zudo-doc-history-server": "^0.2.3"
172
172
  },
173
173
  "peerDependenciesMeta": {
174
174
  "@takazudo/zudo-doc-history-server": {
@@ -193,8 +193,8 @@
193
193
  "tsup": "^8.0.0",
194
194
  "typescript": "^5.0.0",
195
195
  "vitest": "^4.1.0",
196
- "@takazudo/zfb": "0.1.0-next.38",
197
- "@takazudo/zfb-runtime": "0.1.0-next.38"
196
+ "@takazudo/zfb": "0.1.0-next.40",
197
+ "@takazudo/zfb-runtime": "0.1.0-next.40"
198
198
  },
199
199
  "scripts": {
200
200
  "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 tsup",