diff --git a/.github/a11y-allowlist.json b/.github/a11y-allowlist.json index 0f9f58ba..fe51488c 100644 --- a/.github/a11y-allowlist.json +++ b/.github/a11y-allowlist.json @@ -1,14 +1 @@ -[ - "tracked-search-listbox axe dark /#search aria-required-children", - "tracked-search-listbox axe dark /#search scrollable-region-focusable", - "tracked-search-listbox axe light /#search aria-required-children", - "tracked-search-listbox axe light /#search scrollable-region-focusable", - "tracked-search-listbox axe mobile-dark /#search aria-required-children", - "tracked-search-listbox axe mobile-dark /#search scrollable-region-focusable", - "tracked-search-listbox axe mobile-light /#search aria-required-children", - "tracked-search-listbox axe mobile-light /#search scrollable-region-focusable", - "tracked-search-listbox axe more-dark /#search aria-required-children", - "tracked-search-listbox axe more-dark /#search scrollable-region-focusable", - "tracked-search-listbox axe more-light /#search aria-required-children", - "tracked-search-listbox axe more-light /#search scrollable-region-focusable" -] +[] diff --git a/apps/docs/README.md b/apps/docs/README.md index 85bcc3f2..b787d588 100644 --- a/apps/docs/README.md +++ b/apps/docs/README.md @@ -62,7 +62,7 @@ That is coder.com's own convention for Markdown-for-agents copies, so a reader w `` is the site's base path plus the version's own prefix: `/docs/llms.txt` for the mainline, `/docs/v2.36/llms.txt` for v2.36. The version prefix comes first, so the router resolves the version from the leading segment and reads the file from that version's own archive prefix. -The twin is the page's post-rendered Markdown (`postprocess: { includeProcessedMarkdown: true }` on each docs collection), under a `# ` heading. +The twin is the page's processed Markdown, sliced from the authored source (`postprocess: { includeProcessedMarkdown: true }` on each docs collection), under a `# <title>` heading. No route can serve a twin at its page's URL: `app/llms.mdx/[...slug]/route.ts` and the page catch-all resolve the same paths, and a route segment cannot match on a file extension. So the routes generate the twins into `llms.mdx/`, the staging directory, and every build ends by relocating them — `relocateMarkdownTwins` in `scripts/archive-layout-helpers.mjs`, run by the stitch, by the offline build, and by the monolithic export the parity check compares against; `layoutPlan` maps the same destinations, so `_publish.json` records the keys the router reads. @@ -73,10 +73,10 @@ Both are plain text, never HTML, always with `X-Content-Type-Options: nosniff`: That section also records what these outputs do **not** do: the snapshot predates the sanitize stage, so a twin carries the corpus's raw HTML as authored. `scripts/archive-layout-helpers.mjs` pins the pair for the published archive, and `vercel.json` pins it for a Vercel deployment of the export (every `.md` path, since a twin is the only one either export holds). -Every URL inside a twin carries the site's base path, which the docs collection passes to `processedMarkdownOptions` in `source.config.ts`. +Every URL inside a twin carries the site's base path, which the docs collection passes to `createCoderMdxOptions` in `source.config.ts`. Next applies its own `basePath` to the links a page renders; this snapshot never passes through that, so without it every link in every twin would point outside the deployment. The one exception is a link written inside a raw `<details>` block, whose body reaches the snapshot as text rather than as a link node: it keeps the form the corpus wrote (2 of 5,818 links in the current corpus). -`processedMarkdownOptions` also turns off Fumadocs' `[#id]` suffix on twin headings, which is Fumadocs-only syntax that plain-Markdown readers see as noise. +`processedMarkdownOptions` turns off Fumadocs' `[#id]` suffix on twin headings, which is Fumadocs-only syntax that plain-Markdown readers see as noise. That is the same remark-phase boundary the threat-model note below describes. Each page also carries `<link rel="alternate" type="text/markdown">` to its twin, and shows fumadocs' **Copy Markdown** button and our **Open** dropdown to the right of the description, in the same row (they drop beneath it on a narrow viewport), both pointed at the same URL. diff --git a/apps/docs/scripts/a11y-axe.mjs b/apps/docs/scripts/a11y-axe.mjs index 9cbffadb..17a77c02 100644 --- a/apps/docs/scripts/a11y-axe.mjs +++ b/apps/docs/scripts/a11y-axe.mjs @@ -34,21 +34,16 @@ const settle = (page) => .every((a) => a.effect?.getTiming().iterations === Infinity || a.playState === "finished"), ); -// Opens the search dialog and selects a result whose text carries a match highlight. +// Opens the search dialog with results listed; the match highlight is a CSS highlight axe cannot see. async function openSearchWithMatch(page) { await page.keyboard.press("Control+k"); const input = page.locator('[role="dialog"] input'); await input.waitFor(); await settle(page); await input.fill(SEARCH_QUERY); - const options = page.locator('[role="option"]'); - await options.first().waitFor(); - const selected = page.locator('[role="option"][aria-selected="true"]'); - for (let i = 0, n = await options.count(); i < n; i++) { - if ((await selected.locator(".text-fd-primary").count()) > 0) return settle(page); - await page.keyboard.press("ArrowDown"); - } - throw new Error(`No search result for "${SEARCH_QUERY}" has a match highlight`); + await page.locator('[role="option"]').first().waitFor(); + await page.locator('[role="option"][aria-selected="true"]').waitFor(); + return settle(page); } async function openSettings(page) { diff --git a/apps/docs/scripts/single-version.e2e.mjs b/apps/docs/scripts/single-version.e2e.mjs index 5d201bc0..3f41293f 100644 --- a/apps/docs/scripts/single-version.e2e.mjs +++ b/apps/docs/scripts/single-version.e2e.mjs @@ -263,7 +263,7 @@ async function assertRoundTrip(out, { id, root }) { // deployment, not the origin root. Next applies its own basePath to the // links a PAGE renders; this markdown snapshot is taken in the remark phase // and never passes through that, so the collection hands the base path to - // `processedMarkdownOptions` instead. Without it every link here 404s. + // `createCoderMdxOptions` instead. Without it every link here 404s. const full = await readFile(path.join(out, "beta-docs/v0.1/llms-full.txt"), "utf8"); for (const [label, body] of [ ["the twin", twin], diff --git a/apps/docs/source.config.ts b/apps/docs/source.config.ts index 6a6268fe..b7e5cabd 100644 --- a/apps/docs/source.config.ts +++ b/apps/docs/source.config.ts @@ -6,6 +6,7 @@ import { createCoderMdxOptions, processedMarkdownOptions, } from "@coder/docs-transforms/mdx-config"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { applyMdxPreset, defineConfig, defineDocs } from "fumadocs-mdx/config"; import imageSizes from "./.generated/image-sizes.json" with { type: "json" }; import releaseScheduleJson from "./.generated/release-schedule.json" with { type: "json" }; @@ -39,6 +40,8 @@ const coderMdxOptionsFor = (version: DocVersion | undefined) => renderContext: STATIC_DOCS_RENDER_CONTEXT, linkPrefix: versionLinkPrefix(version), imageSizes, + basePath: normalizeBasePath(process.env.DOCS_BASE_PATH), + replaceSource, releaseSchedule, releaseScheduleUrl, }); @@ -67,16 +70,10 @@ const versionDocs = (version: DocVersion | undefined) => // Keep each page's post-rendered Markdown (`page.data.getText`), which // the routes under app/llms.mdx/ emit as that page's Markdown twin and // llms-full.txt concatenates. Without it those routes have nothing to - // serve and fail the build rather than shipping empty files. - // - // The base path has to be passed in: Next applies its own `basePath` to - // the links a PAGE renders, but this snapshot is taken in the remark - // phase and never passes through that, so without it every link in - // every twin would point outside the deployment. + // serve and fail the build rather than shipping empty files. The base + // path reaches the twins through `createCoderMdxOptions({ basePath })`. postprocess: { - includeProcessedMarkdown: processedMarkdownOptions({ - basePath: process.env.DOCS_BASE_PATH, - }), + includeProcessedMarkdown: processedMarkdownOptions(), }, }, }); diff --git a/apps/offlinedocs/source.config.ts b/apps/offlinedocs/source.config.ts index 6ce0042e..c85d984f 100644 --- a/apps/offlinedocs/source.config.ts +++ b/apps/offlinedocs/source.config.ts @@ -1,5 +1,6 @@ import { STATIC_DOCS_RENDER_CONTEXT, parseReleaseSchedule } from "@coder/docs-config"; import { coderPageSchema, createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { defineConfig, defineDocs } from "fumadocs-mdx/config"; import imageSizes from "./.generated/image-sizes.json" with { type: "json" }; import releaseScheduleJson from "./.generated/release-schedule.json" with { type: "json" }; @@ -26,5 +27,6 @@ export default defineConfig({ renderContext: STATIC_DOCS_RENDER_CONTEXT, imageSizes, releaseSchedule, + replaceSource, }), }); diff --git a/packages/docs-build/src/sync-includes.test.ts b/packages/docs-build/src/sync-includes.test.ts index e9706837..4e74d641 100644 --- a/packages/docs-build/src/sync-includes.test.ts +++ b/packages/docs-build/src/sync-includes.test.ts @@ -4,9 +4,10 @@ import { tmpdir } from "node:os"; import path from "node:path"; import { afterEach, beforeEach, test } from "node:test"; import type { DocSource } from "@coder/docs-config"; -import { coderMdxOptions } from "@coder/docs-transforms/mdx-config"; +import { createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; import { createProcessor } from "@mdx-js/mdx"; import { remarkLLMs } from "fumadocs-core/mdx-plugins/remark-llms"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { applyMdxPreset } from "fumadocs-mdx/config"; import { DocSyncError, syncDocSource } from "./sync.js"; @@ -231,7 +232,7 @@ test("a data-feature marker inside a fragment is validated like the page's own", // The string fumadocs-mdx keeps as `getText("processed")`: the body of a // page's Markdown twin and of its section in llms-full.txt. async function processedSnapshot(md: string): Promise<string> { - const resolved = await applyMdxPreset(coderMdxOptions)("bundler"); + const resolved = await applyMdxPreset(createCoderMdxOptions({ replaceSource }))("bundler"); const processor = createProcessor({ ...resolved, remarkPlugins: [...(resolved.remarkPlugins ?? []), [remarkLLMs, { _data: true }]], diff --git a/packages/docs-next/README.md b/packages/docs-next/README.md index 717793ef..014264e7 100644 --- a/packages/docs-next/README.md +++ b/packages/docs-next/README.md @@ -56,7 +56,7 @@ All building blocks take a `source`: the object returned by Fumadocs' `loader()` A page's twin is served at the page's own URL with `.md` in place of the trailing slash — `markdownTwinUrl` — and a version root's at `index.md`. The routes cannot generate it there, because a route segment cannot match on a file extension and the page catch-all resolves the same paths, so they write `MARKDOWN_DIR/<markdownTwinSlug>` (the extension is also what lets a static export write a twin for a page that also has children) and the consuming app's build relocates the files. Requires `postprocess: { includeProcessedMarkdown: true }` on the app's docs collection; without it the routes throw and name the option. - A twin is the page's compiled tree stringified, so it carries the pipeline's own MDX component tags verbatim (a premium block reaches a consumer as `<PremiumNote>…</PremiumNote>`), which keeps the labels those components carry rather than dropping them. + A twin is the page's authored Markdown with the pipeline's source edits applied, so each gate marker is replaced by the MDX component tag the page compiles to (a premium block reaches a consumer as `<PremiumNote>…</PremiumNote>`), which keeps the labels those components carry rather than dropping them. - `PageHeader({ description?, markdownUrl, options? })` is the row under the title that both page factories render: the description on the left and `PageActions` on the right, wrapping on a narrow viewport so the body starts higher than with a row of its own. - `PageActions({ markdownUrl, options?, className? })` is that row's actions: fumadocs' Copy Markdown button and `ViewOptions`, the "Open in ..." dropdown. Both factories take `pageActions`: `false` drops the row, `{ viewOptions: false }` keeps Copy Markdown and drops the Open dropdown (an air-gapped export, where its links to internet assistants are useless). @@ -237,11 +237,21 @@ These stay in the consumer app; this package deliberately does not provide them: ```ts import { coderPageSchema, createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; + import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; export const docs = defineDocs({ dir: "content/docs", docs: { schema: coderPageSchema } }); - export default defineConfig({ mdxOptions: createCoderMdxOptions({ renderContext }) }); + export default defineConfig({ + mdxOptions: createCoderMdxOptions({ + renderContext, + basePath: process.env.DOCS_BASE_PATH, + replaceSource, + }), + }); ``` + Pass `replaceSource` from the app's own `fumadocs-core`: the pipeline edits the Markdown twins and search records through it, and throws at build time when `fumadocs-mdx` runs against another fumadocs-core copy and none was passed, because that copy would silently drop the edits that keep hidden Experimental text out of search. + Pass `basePath` (normalized, as `normalizeBasePath` returns it) when the site is served under a base path, so the links in each Markdown twin carry it. + - The `fumadocs-mdx` generated source (the `.source` output) and a `src/lib/source.ts` that calls `loader()`, for example: ```tsx diff --git a/packages/docs-next/src/classic-anchors.e2e.test.tsx b/packages/docs-next/src/classic-anchors.e2e.test.tsx index 8be985c6..c455b666 100644 --- a/packages/docs-next/src/classic-anchors.e2e.test.tsx +++ b/packages/docs-next/src/classic-anchors.e2e.test.tsx @@ -2,9 +2,10 @@ import assert from "node:assert/strict"; import { readFile } from "node:fs/promises"; import { afterEach, beforeEach, test } from "node:test"; import { normalizeStepHeadings } from "@coder/docs-transforms"; -import { coderMdxOptions } from "@coder/docs-transforms/mdx-config"; +import { createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; import { getMDXComponents } from "@coder/docs-ui"; import { createProcessor, run } from "@mdx-js/mdx"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { applyMdxPreset } from "fumadocs-mdx/config"; import { act } from "react"; import { type Root, createRoot } from "react-dom/client"; @@ -69,7 +70,7 @@ afterEach(async () => { async function renderPage(name: keyof typeof CLASSIC_IDS, hash = "") { window.history.replaceState(null, "", `/${hash}`); const md = normalizeStepHeadings(await fixture(name)); - const resolved = await applyMdxPreset(coderMdxOptions)("bundler"); + const resolved = await applyMdxPreset(createCoderMdxOptions({ replaceSource }))("bundler"); const processor = createProcessor({ ...resolved, format: "md", outputFormat: "function-body" }); const file = await processor.process({ value: md, path: name }); const { default: Content } = await run(String(file), { ...runtime, baseUrl: import.meta.url }); diff --git a/packages/docs-next/src/hybrid-search.test.tsx b/packages/docs-next/src/hybrid-search.test.tsx index 9679ae6d..ec01edb8 100644 --- a/packages/docs-next/src/hybrid-search.test.tsx +++ b/packages/docs-next/src/hybrid-search.test.tsx @@ -90,7 +90,7 @@ async function corpusIndex(): Promise<string> { return await (await route.GET()).text(); } -test("the hybrid dialog renders corpus-shaped hits as text and still highlights the match", async (t) => { +test("the hybrid dialog renders corpus-shaped hits as text", async (t) => { serve({ "/api/search": await corpusIndex() }); const warn = console.warn; console.warn = () => {}; @@ -134,7 +134,6 @@ test("the hybrid dialog renders corpus-shaped hits as text and still highlights CORPUS_PARAGRAPHS.length * 2, "expected a page and a text hit per paragraph", ); - assert.ok(dialog?.querySelector("span.text-fd-primary"), "expected highlighted hits"); assert.equal(dialog?.querySelector(FORBIDDEN_ELEMENTS), null); assert.equal(document.head.querySelector("meta[http-equiv]"), null); }); diff --git a/packages/docs-next/src/hybrid-search.tsx b/packages/docs-next/src/hybrid-search.tsx index ac84d6f5..efe3cf75 100644 --- a/packages/docs-next/src/hybrid-search.tsx +++ b/packages/docs-next/src/hybrid-search.tsx @@ -1,6 +1,6 @@ "use client"; import type { SearchClient } from "fumadocs-core/search/client"; -import { useDocsSearch } from "fumadocs-core/search/client"; +import { experimental_useSearch } from "fumadocs-core/search/client"; import { staticClient } from "fumadocs-core/search/client/orama-static"; import { SearchDialog, @@ -13,8 +13,8 @@ import { SearchDialogOverlay, } from "fumadocs-ui/components/dialog/search"; import type { SharedProps } from "fumadocs-ui/contexts/search"; -import { type ComponentProps, useEffect, useMemo, useState } from "react"; -import { SearchResultItem } from "./search-markdown.js"; +import { useCallback, useEffect, useMemo, useState } from "react"; +import { SearchResultItem, renderSearchTable } from "./search-markdown.js"; import { type SemanticIndex, type SemanticIndexMeta, @@ -83,7 +83,7 @@ export function hybridSearchClient( }; } -function renderResult(props: ComponentProps<typeof SearchResultItem>) { +function renderResult(props: Parameters<typeof SearchResultItem>[0] & { onClick: () => void }) { return <SearchResultItem {...props} />; } @@ -103,10 +103,11 @@ export default function HybridSearchDialog({ }; }, [api, props.open]); // Re-run the current query once the semantic index arrives. - const deps = useMemo(() => [client, loaded], [client, loaded]); - const { search, setSearch, query } = useDocsSearch({ client }, deps); + // oxlint-disable-next-line react-hooks/exhaustive-deps -- `loaded` re-runs the current query once the semantic index arrives. + const run = useCallback((query: string) => client.search(query), [client, loaded]); + const search = experimental_useSearch(run); return ( - <SearchDialog search={search} onSearchChange={setSearch} isLoading={query.isLoading} {...props}> + <SearchDialog {...search} {...props}> <SearchDialogOverlay /> <SearchDialogContent> <SearchDialogHeader> @@ -114,7 +115,7 @@ export default function HybridSearchDialog({ <SearchDialogInput /> <SearchDialogClose /> </SearchDialogHeader> - <SearchDialogList items={query.data !== "empty" ? query.data : null} Item={renderResult} /> + <SearchDialogList Item={renderResult} Table={renderSearchTable} /> </SearchDialogContent> </SearchDialog> ); diff --git a/packages/docs-next/src/provider.test.tsx b/packages/docs-next/src/provider.test.tsx index 58c582f3..6bfac846 100644 --- a/packages/docs-next/src/provider.test.tsx +++ b/packages/docs-next/src/provider.test.tsx @@ -114,8 +114,8 @@ test("options.search.enabled and hotKey reach the provider's search prop", () => }); // The forwarded field is named `api` (not `from`, `url`, or `src`): verified -// against fumadocs-ui@16.10.5's `DefaultSearchDialog` props (the pinned -// version, per the catalog in the workspace root). A fumadocs upgrade that +// against fumadocs-ui's `DefaultSearchDialog` props (the version pinned +// in the workspace catalog). A fumadocs upgrade that // renames this field must re-check this mapping in `buildSearchProp`. test("options.search.from reaches the static search client's index URL", () => { captured.props = undefined; diff --git a/packages/docs-next/src/search-dialog.test.tsx b/packages/docs-next/src/search-dialog.test.tsx index f7be5e41..1c919fc5 100644 --- a/packages/docs-next/src/search-dialog.test.tsx +++ b/packages/docs-next/src/search-dialog.test.tsx @@ -1,26 +1,44 @@ import assert from "node:assert/strict"; import test, { type TestContext } from "node:test"; import { FrameworkProvider } from "fumadocs-core/framework"; -import type { SearchItemType } from "fumadocs-ui/components/dialog/search"; +import type { + SearchResult, + SearchResultItem, + SearchResultRecord, +} from "fumadocs-core/search/client"; import { act } from "react"; import { createRoot } from "react-dom/client"; -import { FORBIDDEN_ELEMENTS, highlightedIndexTexts } from "../test/search-xss.js"; -import { ComboboxSearchDialog } from "./search-dialog.js"; +import { FORBIDDEN_ELEMENTS, corpusIndexTexts } from "../test/search-xss.js"; +import { SearchDialog } from "fumadocs-ui/components/dialog/search"; +import { SearchDialogView } from "./search-dialog.js"; +import { SearchResultItem as DocsSearchResultItem } from "./search-markdown.js"; -const ITEMS: SearchItemType[] = [ - { id: "a", type: "page", content: "Workspace proxies", url: "/admin/workspace-proxies" }, - { id: "b", type: "heading", content: "Deploy a proxy", url: "/admin/workspace-proxies#deploy" }, - { - id: "c", - type: "text", - content: "Proxies relay traffic", - url: "/admin/workspace-proxies#relay", - }, +const EMPTY_HAST: SearchResultRecord["hastContent"] = { type: "root", children: [] }; + +function record( + id: string, + type: SearchResultRecord["type"], + content: string, + url: string, +): SearchResultRecord { + return { id, type, content, url, hastContent: EMPTY_HAST }; +} + +const ITEMS = [ + record("a", "page", "Workspace proxies", "/admin/workspace-proxies"), + record("b", "heading", "Deploy a proxy", "/admin/workspace-proxies#deploy"), + record("c", "text", "Proxies relay traffic", "/admin/workspace-proxies#relay"), ]; -type DialogProps = Partial<Parameters<typeof ComboboxSearchDialog>[0]>; +type DialogProps = Partial<Omit<Parameters<typeof SearchDialogView>[0], "data">> & { + items?: SearchResultItem[] | null; +}; + +function toData(items: DialogProps["items"]): SearchResult | undefined { + return items ? { query: "proxy", items } : undefined; +} -async function mount(t: TestContext, items: SearchItemType[] | null, props: DialogProps = {}) { +async function mount(t: TestContext, items: DialogProps["items"], props: DialogProps = {}) { const pushed: string[] = []; const container = document.createElement("div"); document.body.append(container); @@ -44,14 +62,14 @@ async function mount(t: TestContext, items: SearchItemType[] | null, props: Dial } useParams={() => ({})} > - <ComboboxSearchDialog + <SearchDialogView open onOpenChange={() => {}} search="proxy" onSearchChange={() => {}} - items={items} {...props} {...next} + data={toData("items" in next ? next.items : items)} /> </FrameworkProvider>, ); @@ -70,10 +88,12 @@ async function wait(ms: number) { } function status() { - const regions = document.querySelectorAll( - '[role="dialog"] output, [role="dialog"] [role="status"]', + const regions = document.querySelectorAll('[role="dialog"] output'); + assert.equal( + regions.length, + 1, + "expected exactly one result-count live region inside the dialog", ); - assert.equal(regions.length, 1, "expected exactly one status region inside the dialog"); const region = regions[0] as HTMLElement; assert.equal(region.getAttribute("aria-live"), "polite"); return region.textContent; @@ -92,12 +112,12 @@ test("the input is a combobox that controls a named listbox of options", async ( assert.equal(input.getAttribute("aria-expanded"), "true"); const listbox = document.getElementById(input.getAttribute("aria-controls") ?? ""); assert.equal(listbox?.getAttribute("role"), "listbox"); - assert.equal(listbox?.getAttribute("aria-label"), "Search results"); + assert.ok(listbox?.getAttribute("aria-label"), "the listbox is named"); + assert.equal(document.querySelectorAll('[role="listbox"]').length, 1, "no listbox wraps another"); const options = [...(listbox?.querySelectorAll('[role="option"]') ?? [])]; assert.equal(options.length, ITEMS.length); for (const option of options) { assert.ok(option.id, "every option needs an id for aria-activedescendant"); - assert.equal(option.getAttribute("tabindex"), "-1"); } assert.deepEqual( options.map((option) => option.getAttribute("aria-selected")), @@ -155,6 +175,14 @@ test("announces Searching while the index is loading", async (t) => { assert.equal(status(), "Searching"); }); +test("a failed search shows Fumadocs' Search failed status, announced once", async (t) => { + await mount(t, null, { error: new Error("index fetch failed"), announceDelayMs: 0 }); + await wait(10); + const failed = document.querySelector('[role="dialog"] p[role="status"]'); + assert.equal(failed?.textContent, "Search failed"); + assert.equal(status(), ""); +}); + test("announces nothing before a query is typed, even with suggested links", async (t) => { await mount(t, ITEMS, { search: "", announceDelayMs: 0 }); await wait(10); @@ -260,12 +288,9 @@ test("an unchanged result count is announced again", async (t) => { }); test("corpus-shaped hits render as text, never as live elements", async (t) => { - const items: SearchItemType[] = highlightedIndexTexts("workspace").map((content, i) => ({ - id: String(i), - type: "text", - content, - url: `/guide#hit-${i}`, - })); + const items = corpusIndexTexts().map((content, i) => + record(String(i), "text", content, `/guide#hit-${i}`), + ); await mount(t, items, { search: "workspace" }); const dialog = document.querySelector('[role="dialog"]'); assert.equal(dialog?.querySelector(FORBIDDEN_ELEMENTS), null); @@ -274,12 +299,102 @@ test("corpus-shaped hits render as text, never as live elements", async (t) => { null, "no meta was hoisted into <head>", ); - assert.equal(dialog?.querySelectorAll("span.text-fd-primary").length, items.length); + assert.equal(dialog?.querySelectorAll('[role="option"]').length, items.length); }); -test("a benign hit still highlights the matched word", async (t) => { - const [highlighted = ""] = highlightedIndexTexts("workspace"); - await mount(t, [{ id: "a", type: "text", content: highlighted, url: "/guide" }]); - const mark = document.querySelector('[role="option"] span.text-fd-primary'); - assert.equal(mark?.textContent, "workspace"); +test("table rows render as cells under their table's header, as options of the one listbox", async (t) => { + const row = (id: string, content: string): SearchResultRecord => ({ + id, + type: "text", + url: `/reference#${id}`, + content, + table: "table-0", + hastContent: EMPTY_HAST, + }); + const rows = [ + row("r1", "| Flag | Description |\n| ---- | ----------- |\n| `--url` | The **server** URL. |"), + row( + "r2", + "| Flag | Description |\n| ---- | ----------- |\n| `--token` | A token with a \\| pipe. |", + ), + ]; + await mount(t, [{ type: "table", id: "r1", columns: 2, header: EMPTY_HAST, rows }]); + const dialog = document.querySelector('[role="dialog"]'); + const options = [...(dialog?.querySelectorAll('[role="option"]') ?? [])]; + assert.equal(options.length, 2); + assert.equal(options[0]?.querySelector("code")?.textContent, "--url"); + assert.equal(options[0]?.querySelector("strong")?.textContent, "server"); + assert.equal(options[1]?.textContent, "--tokenA token with a | pipe."); + const group = dialog?.querySelector('[role="group"]'); + assert.equal(group?.querySelector('[aria-hidden="true"]')?.textContent, "FlagDescription"); + assert.equal(dialog?.querySelectorAll('[role="listbox"]').length, 1); + assert.equal(dialog?.querySelectorAll("table").length, 0); +}); + +test("raw HTML in a table row's cells and header renders as text, never as live elements", async (t) => { + const payloads = [ + '<img src="x" onerror="alert(1)">', + '<iframe srcdoc="<script>alert(1)</script>"></iframe>', + ]; + const rows = payloads.map((payload, i) => ({ + id: `x${i}`, + type: "text" as const, + url: `/reference#x${i}`, + content: `| ${payload} | Description |\n| --- | --- |\n| ${payload} | cell |`, + table: "table-x", + hastContent: EMPTY_HAST, + })); + await mount(t, [{ type: "table", id: "x0", columns: 2, header: EMPTY_HAST, rows }]); + const dialog = document.querySelector('[role="dialog"]'); + assert.equal(dialog?.querySelector(`${FORBIDDEN_ELEMENTS}, img`), null); + const options = [...(dialog?.querySelectorAll('[role="option"]') ?? [])]; + assert.equal(options.length, 2); + assert.ok(options[0]?.textContent?.includes("onerror"), "the payload shows as text"); + const header = dialog?.querySelector('[role="group"] [aria-hidden="true"]'); + assert.ok(header?.textContent?.includes("onerror"), "the header payload shows as text"); +}); + +test("results can change from plain items to a table without breaking the list", async (t) => { + const row = record( + "r1", + "text", + "| Flag | Description |\n| ---- | ----------- |\n| `--url` | The URL. |", + "/reference#r1", + ); + const { render } = await mount(t, ITEMS); + await render({ + items: [{ type: "table", id: "r1", columns: 2, header: EMPTY_HAST, rows: [row] }, ...ITEMS], + }); + assert.equal(document.querySelectorAll('[role="option"]').length, 4); + await render({ items: ITEMS }); + assert.equal(document.querySelectorAll('[role="option"]').length, 3); +}); + +test("a caller cannot replace the safe renderer of a result item", async (t) => { + const container = document.createElement("div"); + document.body.append(container); + const root = createRoot(container); + t.after(async () => { + await act(async () => root.unmount()); + container.remove(); + }); + await act(async () => { + root.render( + <FrameworkProvider + usePathname={() => "/"} + useRouter={() => ({ push() {}, replace() {}, refresh() {}, prefetch() {} }) as never} + useParams={() => ({})} + > + <SearchDialog open onOpenChange={() => {}} search="" onSearchChange={() => {}}> + <DocsSearchResultItem + item={record("a", "text", 'Safe <iframe src="https://example.invalid/">', "/a")} + renderMarkdown={() => <iframe title="unsafe" />} + onClick={() => {}} + /> + </SearchDialog> + </FrameworkProvider>, + ); + }); + assert.equal(container.querySelector("iframe"), null); + assert.match(container.textContent ?? "", /Safe/); }); diff --git a/packages/docs-next/src/search-dialog.tsx b/packages/docs-next/src/search-dialog.tsx index 729300dd..068a2a79 100644 --- a/packages/docs-next/src/search-dialog.tsx +++ b/packages/docs-next/src/search-dialog.tsx @@ -1,5 +1,5 @@ "use client"; -import { useDocsSearch } from "fumadocs-core/search/client"; +import { type SearchResult, experimental_useSearch } from "fumadocs-core/search/client"; import { staticClient } from "fumadocs-core/search/client/orama-static"; import { SearchDialog, @@ -12,68 +12,38 @@ import { SearchDialogList, SearchDialogOverlay, type SearchItemType, - useSearchList, } from "fumadocs-ui/components/dialog/search"; import type { DefaultSearchDialogProps } from "fumadocs-ui/components/dialog/search-default"; import { useI18n } from "fumadocs-ui/contexts/i18n"; -import { - createContext, - use, - useEffect, - useId, - useLayoutEffect, - useMemo, - useRef, - useState, -} from "react"; +import { useCallback, useEffect, useMemo, useRef, useState } from "react"; import { focusAfterNavigation, returnFocusTo } from "./return-focus.js"; -import { SearchResultItem } from "./search-markdown.js"; - -const ActiveOptionContext = createContext<(id: string | null) => void>(() => {}); - -function SearchOption({ item, onClick }: { item: SearchItemType; onClick: () => void }) { - const id = useId(); - const { active } = useSearchList(); - const selected = active === item.id; - const setActiveOption = use(ActiveOptionContext); - useLayoutEffect(() => { - if (!selected) return; - setActiveOption(id); - return () => setActiveOption(null); - }, [selected, id, setActiveOption]); - return ( - <SearchResultItem - item={item} - onClick={onClick} - id={id} - // oxlint-disable-next-line jsx-a11y/prefer-tag-over-role -- a listbox option inside the combobox pattern; a native <option> cannot live in fumadocs' result list. - role="option" - aria-selected={selected} - tabIndex={-1} - /> - ); -} +import { SearchResultItem, renderSearchTable } from "./search-markdown.js"; -function renderOption(props: { item: SearchItemType; onClick: () => void }) { - return <SearchOption {...props} />; +function renderItem(props: Parameters<typeof SearchResultItem>[0] & { onClick: () => void }) { + return <SearchResultItem {...props} />; } -// Fumadocs' own `Empty` fallback now carries `role="status"` too (16.15.14), -// which would duplicate the live region `SearchStatus` already renders. +// Fumadocs' own `Empty` fallback carries `role="status"` too, which would +// duplicate the live region `SearchStatus` already renders. function NoResults() { return <div className="py-12 text-center text-sm text-fd-muted-foreground">No results found</div>; } -export function searchStatus( - search: string, - isLoading: boolean, - items: SearchItemType[] | null, -): string { +/** The number of results a search found, counting each row of a table. */ +export function countResults(data: SearchResult | undefined): number | null { + if (!data) return null; + return data.items.reduce( + (count, item) => count + (item.type === "table" ? item.rows.length : 1), + 0, + ); +} + +export function searchStatus(search: string, isLoading: boolean, count: number | null): string { if (search.trim() === "") return ""; if (isLoading) return "Searching"; - if (items === null) return ""; - if (items.length === 0) return "No results found"; - return items.length === 1 ? "1 result" : `${items.length} results`; + if (count === null) return ""; + if (count === 0) return "No results found"; + return count === 1 ? "1 result" : `${count} results`; } function SearchStatus({ @@ -96,7 +66,7 @@ function SearchStatus({ // `search` is a deliberate extra dependency, not read in the body (see the prop's doc comment). useEffect(() => { // Clear first so a message that repeats verbatim still changes the DOM - // text twice and gets announced, matching CopyAnnouncer's pattern. + // text twice and gets announced. setSettled(""); const timer = setTimeout(() => setSettled(message), delayMs); return () => clearTimeout(timer); @@ -159,17 +129,20 @@ function useReturnFocus() { } /** - * Fumadocs' dialog layout with the ARIA 1.2 combobox pattern: the input is a - * `combobox` that points at the results `listbox` and tracks the highlighted - * `option` with `aria-activedescendant`, since focus never leaves the input. + * Fumadocs' dialog layout, which already wires the ARIA 1.2 combobox pattern + * (the input is a `combobox` that tracks the highlighted `option` of the + * results `listbox` with `aria-activedescendant`), plus a result-count live + * region, focus management on close, and results rendered without raw HTML. */ -export function ComboboxSearchDialog({ +export function SearchDialogView({ open, onOpenChange, search, onSearchChange, isLoading, - items, + data, + error, + defaultItems, footer, announceDelayMs = 500, }: { @@ -178,15 +151,13 @@ export function ComboboxSearchDialog({ search: string; onSearchChange: (value: string) => void; isLoading?: boolean; - items: SearchItemType[] | null; + data?: SearchResult; + error?: Error; + defaultItems?: SearchItemType[] | null; footer?: DefaultSearchDialogProps["footer"]; announceDelayMs?: number; }) { - const listId = useId(); - const returnFocus = useReturnFocus(); - const { onSelect, ...contentProps } = returnFocus; - const [activeOption, setActiveOption] = useState<string | null>(null); - const expanded = items !== null && items.length > 0; + const { onSelect, ...contentProps } = useReturnFocus(); return ( <SearchDialog open={open} @@ -194,38 +165,28 @@ export function ComboboxSearchDialog({ search={search} onSearchChange={onSearchChange} isLoading={isLoading} + data={data} + error={error} onSelect={onSelect} > <SearchDialogOverlay /> <SearchDialogContent {...contentProps}> <SearchStatus - message={searchStatus(search, isLoading ?? false, items)} + message={searchStatus(search, isLoading ?? false, countResults(data))} search={search} delayMs={announceDelayMs} /> <SearchDialogHeader> <SearchDialogIcon /> - <SearchDialogInput - // oxlint-disable-next-line jsx-a11y/prefer-tag-over-role -- SearchDialogInput already renders an <input>; role="combobox" is the ARIA 1.2 combobox pattern on that input. - role="combobox" - aria-label="Search the docs" - aria-autocomplete="list" - aria-expanded={expanded} - aria-controls={listId} - aria-activedescendant={expanded && activeOption ? activeOption : undefined} - /> + <SearchDialogInput aria-label="Search the docs" /> <SearchDialogClose /> </SearchDialogHeader> - <ActiveOptionContext value={setActiveOption}> - <SearchDialogList - id={listId} - role={expanded ? "listbox" : undefined} - aria-label={expanded ? "Search results" : undefined} - items={items} - Item={renderOption} - Empty={NoResults} - /> - </ActiveOptionContext> + <SearchDialogList + defaultItems={defaultItems} + Item={renderItem} + Table={renderSearchTable} + Empty={NoResults} + /> </SearchDialogContent> <SearchDialogFooter>{footer}</SearchDialogFooter> </SearchDialog> @@ -245,23 +206,28 @@ export default function DocsSearchDialog({ onOpenChange, }: DefaultSearchDialogProps) { const { locale } = useI18n(); - const client = staticClient({ from: api, locale }); - const { search, setSearch, query } = useDocsSearch({ client, delayMs }); + const client = useMemo(() => staticClient({ from: api, locale }), [api, locale]); + const run = useCallback((query: string) => client.search(query), [client]); + const { search, onSearchChange, isLoading, data, error } = experimental_useSearch(run, { + delayMs, + }); const defaultItems = useMemo<SearchItemType[] | null>( () => links.length === 0 ? null - : links.map(([name, url]) => ({ type: "page", id: name, content: name, url })), + : links.map(([name, url], i) => ({ type: "page", id: `link-${i}`, content: name, url })), [links], ); return ( - <ComboboxSearchDialog + <SearchDialogView open={open} onOpenChange={onOpenChange} search={search} - onSearchChange={setSearch} - isLoading={query.isLoading} - items={query.data !== "empty" && query.data ? query.data : defaultItems} + onSearchChange={onSearchChange} + isLoading={isLoading} + data={data} + error={error} + defaultItems={defaultItems} footer={footer} /> ); diff --git a/packages/docs-next/src/search-markdown.test.tsx b/packages/docs-next/src/search-markdown.test.tsx index 9e205c8a..145ce254 100644 --- a/packages/docs-next/src/search-markdown.test.tsx +++ b/packages/docs-next/src/search-markdown.test.tsx @@ -2,8 +2,8 @@ import assert from "node:assert/strict"; import test, { type TestContext } from "node:test"; import { act } from "react"; import { createRoot } from "react-dom/client"; -import { FORBIDDEN_ELEMENTS, highlightedIndexTexts } from "../test/search-xss.js"; -import { renderSearchMarkdown } from "./search-markdown.js"; +import { FORBIDDEN_ELEMENTS, corpusIndexTexts } from "../test/search-xss.js"; +import { parseTableRecord, renderSearchMarkdown } from "./search-markdown.js"; async function mountMarkdown(t: TestContext, content: string): Promise<HTMLElement> { const container = document.createElement("div"); @@ -17,30 +17,26 @@ async function mountMarkdown(t: TestContext, content: string): Promise<HTMLEleme return container; } -test("highlighted corpus hits render as text with a mark and no other element", async (t) => { +test("corpus hits render as text and no other element", async (t) => { const headBefore = document.head.innerHTML; - for (const highlighted of highlightedIndexTexts("workspace")) { - const container = await mountMarkdown(t, highlighted); - assert.equal(container.querySelector(FORBIDDEN_ELEMENTS), null, highlighted); + for (const text of corpusIndexTexts()) { + const container = await mountMarkdown(t, text); + assert.equal(container.querySelector(FORBIDDEN_ELEMENTS), null, text); for (const element of container.querySelectorAll("*")) { - assert.ok(["P", "SPAN"].includes(element.tagName), `${element.tagName} from ${highlighted}`); + assert.ok(["P", "SPAN"].includes(element.tagName), `${element.tagName} from ${text}`); } - const marks = container.querySelectorAll("span.text-fd-primary"); - assert.equal(marks.length, 1, highlighted); - assert.equal(marks[0]?.textContent, "workspace"); assert.match(container.textContent ?? "", /<|‹/); } assert.equal(document.head.innerHTML, headBefore, "nothing was hoisted into <head>"); }); -test("a mark with attributes, and unpaired mark tags, are text", async (t) => { +test("raw HTML, with or without attributes, is text", async (t) => { const container = await mountMarkdown( t, - '<mark onclick="x">a</mark> </mark> <mark> b <mark>c</mark>\r\n<iframe src="https://example.invalid/">', + '<mark onclick="x">a</mark> <iframe src="https://example.invalid/">', ); assert.equal(container.querySelector("iframe"), null); - assert.equal(container.querySelectorAll("span.text-fd-primary").length, 1); - assert.equal(container.querySelector("span.text-fd-primary")?.textContent, "c"); + assert.equal(container.querySelector("mark"), null); assert.match(container.textContent ?? "", /onclick="x"/); }); @@ -54,3 +50,19 @@ test("inline code, bold and links keep rendering without raw HTML or images", as assert.equal(container.querySelector("a"), null); assert.equal(container.querySelector("img"), null); }); + +test("parseTableRecord reads the row, and the header when its table has one", () => { + assert.deepEqual(parseTableRecord("| A | B |\n| - | - |\n| 1 | a \\| b |"), { + header: ["A", "B"], + row: ["1", "a \\| b"], + }); + assert.deepEqual(parseTableRecord("| 1 | 2 |\n| - | - |"), { row: ["1", "2"] }); +}); + +test("parseTableRecord keeps a data row whose cells are all dashes", () => { + assert.deepEqual(parseTableRecord("| A | B |\n| - | - |\n| - | --- |"), { + header: ["A", "B"], + row: ["-", "---"], + }); + assert.deepEqual(parseTableRecord("| - | - |\n| - | - |"), { row: ["-", "-"] }); +}); diff --git a/packages/docs-next/src/search-markdown.tsx b/packages/docs-next/src/search-markdown.tsx index b9d7bdb8..e93f8384 100644 --- a/packages/docs-next/src/search-markdown.tsx +++ b/packages/docs-next/src/search-markdown.tsx @@ -1,71 +1,32 @@ "use client"; import { createMarkdownRenderer } from "fumadocs-core/content/md"; -import { SearchDialogListItem } from "fumadocs-ui/components/dialog/search"; +import { type SearchResultTable, useHighlightQuery } from "fumadocs-core/search/client"; +import { + SearchDialogListItem, + type SearchItemType, + useSearch, +} from "fumadocs-ui/components/dialog/search"; import type { ComponentProps, ReactNode } from "react"; type MdNode = { type: string; value?: string; children?: MdNode[]; - data?: { hName?: string }; }; -type Token = MdNode | "open" | "close"; - -const MARK_TAG = /(<\/?mark>)/; - -// Pair the highlighter's `<mark>` and `</mark>` into one mark element and turn -// every other raw HTML into text. The highlighter writes each text node back -// as raw HTML, so an `html` node here is never trusted. -function neutralizeHtml(parent: MdNode): void { - const tokens: Token[] = []; - for (const child of parent.children ?? []) { - if (child.type !== "html") { - neutralizeHtml(child); - tokens.push(child); - continue; - } - for (const part of (child.value ?? "").split(MARK_TAG)) { - if (part === "<mark>") tokens.push("open"); - else if (part === "</mark>") tokens.push("close"); - else if (part) tokens.push({ type: "text", value: part }); - } - } - const children: MdNode[] = []; - for (let i = 0; i < tokens.length; i++) { - const token = tokens[i] as Token; - if (token === "close") { - children.push({ type: "text", value: "</mark>" }); - } else if (token === "open") { - const close = tokens.indexOf("close", i + 1); - const nextOpen = tokens.indexOf("open", i + 1); - if (close === -1 || (nextOpen !== -1 && nextOpen < close)) { - children.push({ type: "text", value: "<mark>" }); - } else { - children.push({ - type: "highlight", - data: { hName: "mark" }, - children: tokens.slice(i + 1, close) as MdNode[], - }); - i = close; - } - } else { - children.push(token); - } - } - if (parent.children) parent.children = children; +// Raw HTML in index text is never trusted: it becomes text. +function neutralizeHtml(node: MdNode): void { + if (node.type === "html") node.type = "text"; + for (const child of node.children ?? []) neutralizeHtml(child); } -function remarkInertHighlight() { +function remarkInertHtml() { return (tree: MdNode) => neutralizeHtml(tree); } // Mirrors the element styling of fumadocs-ui's search dialog markdown -// components (dialog/search.js, 16.15.14), minus raw-HTML and custom elements. +// components (dialog/search.js, 16.17.9), minus raw-HTML and custom elements. const components = { - mark: (props: ComponentProps<"mark">) => ( - <span {...props} className="text-fd-primary underline" /> - ), a: "span", img: () => null, p: (props: ComponentProps<"p">) => <p {...props} className="min-w-0" />, @@ -80,15 +41,125 @@ const components = { ), } as const; +const cellComponents = { ...components, p: (props: ComponentProps<"p">) => <>{props.children}</> }; + // No `allowDangerousHtml` and no `rehype-raw`: index text never becomes elements. -const renderer = createMarkdownRenderer({ remarkPlugins: [remarkInertHighlight] }); +const renderer = createMarkdownRenderer({ remarkPlugins: [remarkInertHtml] }); -/** Renders a highlighted search hit; only the highlighter's `<mark>` becomes an element. */ +/** Renders an index text as Markdown, without raw HTML or images. */ export function renderSearchMarkdown(content: string): ReactNode { return <renderer.Markdown components={components}>{content}</renderer.Markdown>; } -/** fumadocs' search result item with `renderSearchMarkdown` in place of its raw-HTML renderer. */ -export function SearchResultItem(props: ComponentProps<typeof SearchDialogListItem>) { - return <SearchDialogListItem {...props} renderMarkdown={renderSearchMarkdown} />; +const CELL_SEPARATOR = /(?<!\\)\|/; + +/** + * The cells of a table row record: a Markdown table of its header row (when + * its table has one) and the row, so the delimiter is always the second line. + */ +export function parseTableRecord(content: string): { header?: string[]; row: string[] } { + const [first = "", , row] = content.split("\n"); + const cells = (line: string) => + line + .trim() + .replace(/^\||\|$/g, "") + .split(CELL_SEPARATOR) + .map((cell) => cell.trim()); + return row === undefined ? { row: cells(first) } : { header: cells(first), row: cells(row) }; +} + +function Cells({ cells }: { cells: string[] }) { + return cells.map((cell, i) => ( + // oxlint-disable-next-line react/no-array-index-key -- the cells of one row have no identity beyond their column. + <div key={i} className="min-w-0 not-last:truncate last:line-clamp-2"> + <renderer.Markdown components={cellComponents}>{cell}</renderer.Markdown> + </div> + )); +} + +/** fumadocs' search result item with `renderSearchMarkdown` in place of its raw-HTML renderer, and table rows as cells. */ +export function SearchResultItem({ + table, + item, + ...props +}: ComponentProps<typeof SearchDialogListItem>) { + const { query } = useSearch(); + const highlightRef = useHighlightQuery(query); + if (!table || item.type === "action" || typeof item.content !== "string") { + return ( + <SearchDialogListItem + item={item} + table={table} + {...props} + renderMarkdown={renderSearchMarkdown} + /> + ); + } + const { header, row } = parseTableRecord(item.content); + return ( + <SearchDialogListItem item={item} table={table} {...props}> + <div + ref={highlightRef} + className={ + header + ? "contents" + : "contents *:first:font-medium *:first:text-fd-primary *:nth-2:text-xs *:not-first:text-fd-muted-foreground" + } + > + <Cells cells={row} /> + </div> + </SearchDialogListItem> + ); +} + +interface TableProps { + table: SearchResultTable; + Item: (props: { + item: SearchItemType; + table?: SearchResultTable; + onClick: () => void; + }) => ReactNode; + onSelect: (item: SearchItemType) => void; +} + +/** `SearchDialogList` calls its `Table` renderer as a function, so the hooks live in a component it returns. */ +export function renderSearchTable(props: TableProps) { + return <SearchResultGroup {...props} />; +} + +/** A table's rows under its header row, in fumadocs' layout. */ +function SearchResultGroup({ table, Item, onSelect }: TableProps) { + const { query } = useSearch(); + const highlightRef = useHighlightQuery(query); + const first = table.rows[0]; + const header = first && table.header ? parseTableRecord(first.content).header : undefined; + const headerId = `fd-search-table-${table.id}`; + return ( + <div + role={header ? "group" : undefined} + aria-labelledby={header ? headerId : undefined} + className="ms-3 shrink-0 border-s py-2 ps-3.25 pe-2.5" + > + <div + className="grid gap-x-3 overflow-hidden rounded-lg border bg-fd-card text-sm" + style={{ + gridTemplateColumns: `${"fit-content(30%) ".repeat(table.columns - 1)}minmax(30%, 1fr)`, + }} + > + {header ? ( + <div + id={headerId} + ref={highlightRef} + aria-hidden + className="col-span-full grid grid-cols-subgrid bg-fd-secondary px-3 py-1 text-xs text-fd-muted-foreground" + > + <Cells cells={header} /> + </div> + ) : null} + {table.rows.map((row) => ( + <Item key={row.id} item={row} table={table} onClick={() => onSelect(row)} /> + ))} + </div> + </div> + ); } diff --git a/packages/docs-next/src/search.e2e.test.ts b/packages/docs-next/src/search.e2e.test.ts index cbb78215..38eabb2c 100644 --- a/packages/docs-next/src/search.e2e.test.ts +++ b/packages/docs-next/src/search.e2e.test.ts @@ -1,10 +1,10 @@ import assert from "node:assert/strict"; import test from "node:test"; -import { coderMdxOptions } from "@coder/docs-transforms/mdx-config"; +import { createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; import { TitleText } from "@coder/docs-ui"; import { createProcessor, run } from "@mdx-js/mdx"; import type { StructuredData } from "fumadocs-core/mdx-plugins"; -import { createContentHighlighter } from "fumadocs-core/search"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { type MetaData, type VirtualFile, loader } from "fumadocs-core/source"; import type { TableOfContents } from "fumadocs-core/toc"; import { applyMdxPreset } from "fumadocs-mdx/config"; @@ -15,6 +15,9 @@ import { createDocsSearchRoute, toSearchText } from "./search.js"; import { CORPUS_PARAGRAPHS } from "../test/search-xss.js"; import type { DocsPageData, DocsSource } from "./types.js"; +// The runtime pipeline, editing through this package's own fumadocs-core copy. +const coderMdxOptions = createCoderMdxOptions({ replaceSource }); + // End-to-end pins for the search index: compile real .md through the exact // plugin chain `fumadocs-mdx` builds from `coderMdxOptions` (the same // `applyMdxPreset` expansion its processor uses), then feed the resulting @@ -354,15 +357,10 @@ test("toSearchText stays linear on a long line of unclosed tag-shaped spans", () assert.ok(performance.now() - started < 5_000); }); -test("the highlighted indexed text holds no `<` other than the highlighter's mark", () => { - const highlighter = createContentHighlighter("workspace"); +test("the indexed text holds no `<` or `>`", () => { for (const paragraph of CORPUS_PARAGRAPHS) { - const highlighted = highlighter.highlightMarkdown(toSearchText(paragraph)); - assert.equal( - highlighted.replaceAll("<mark>", "").replaceAll("</mark>", "").includes("<"), - false, - highlighted, - ); + const indexed = toSearchText(paragraph); + assert.equal(indexed.includes("<") || indexed.includes(">"), false, indexed); } }); @@ -559,7 +557,10 @@ test("e2e: the slim API reference rule applies only below reference/api", async for (const url of ["/reference/api", "/admin/api-guide"]) { const contents = docs.filter((doc) => doc.url.split("#")[0] === url).map((doc) => doc.content); assert.ok(contents.includes("Parameters"), `${url} lost its H3 headings`); - assert.ok(contents.includes("Workspace ID"), `${url} lost its table text`); + assert.ok( + contents.some((content) => content.includes("Workspace ID")), + `${url} lost its table text`, + ); } }); diff --git a/packages/docs-next/src/search.ts b/packages/docs-next/src/search.ts index d4ce5efd..3545142e 100644 --- a/packages/docs-next/src/search.ts +++ b/packages/docs-next/src/search.ts @@ -150,7 +150,11 @@ function sanitizeStructuredData(data: StructuredData): StructuredData { })), contents: data.contents.map((content) => ({ ...content, - content: toSearchText(content.content), + // A table row is a Markdown table, which needs its line breaks. + content: + content.table === undefined + ? toSearchText(content.content) + : content.content.split("\n").map(toSearchText).join("\n"), })), }; } diff --git a/packages/docs-next/src/semantic-search.test.ts b/packages/docs-next/src/semantic-search.test.ts index 9b57b01d..a8a2b413 100644 --- a/packages/docs-next/src/semantic-search.test.ts +++ b/packages/docs-next/src/semantic-search.test.ts @@ -153,12 +153,12 @@ test("vectorSearch returns each page's best section, best pages first", () => { ); }); -test("fuseResults leads with the top vector page then the top keyword page, orders the rest by weighted reciprocal rank, links each page row to the page with its best section below, keeps keyword highlights (two per page), and appends keyword-only pages", () => { +test("fuseResults leads with the top vector page then the top keyword page, orders the rest by weighted reciprocal rank, links each page row to the page with its best section below, keeps two keyword hits per page, and appends keyword-only pages", () => { const keyword: SortedResult[] = [ { id: "/k", type: "page", url: "/k", content: "Keyword only" }, - { id: "k1", type: "text", url: "/k#x", content: "<mark>match</mark>" }, - { id: "k2", type: "text", url: "/k#y", content: "<mark>match</mark> 2" }, - { id: "k3", type: "text", url: "/k#z", content: "<mark>match</mark> 3" }, + { id: "k1", type: "text", url: "/k#x", content: "match" }, + { id: "k2", type: "text", url: "/k#y", content: "match 2" }, + { id: "k3", type: "text", url: "/k#z", content: "match 3" }, { id: "/both", type: "page", url: "/both", content: "Both" }, { id: "/kw2", type: "page", url: "/kw2", content: "Keyword second" }, ]; @@ -182,8 +182,8 @@ test("fuseResults leads with the top vector page then the top keyword page, orde ["page", "/v", "Vector only"], ["heading", "/v#h", "Heading"], ["page", "/k", "Keyword only"], - ["text", "/k#x", "<mark>match</mark>"], - ["text", "/k#y", "<mark>match</mark> 2"], + ["text", "/k#x", "match"], + ["text", "/k#y", "match 2"], ["page", "/both", "Both"], ["heading", "/both#y", "Why"], ["page", "/mid", "Vector second"], @@ -192,20 +192,20 @@ test("fuseResults leads with the top vector page then the top keyword page, orde ); }); -test("hasExactMatch finds the whole query in a keyword hit, ignoring case and highlights", () => { +test("hasExactMatch finds the whole query in a keyword hit, ignoring case", () => { const keyword: SortedResult[] = [ { id: "/a", type: "page", url: "/a", content: "Networking" }, { id: "a1", type: "text", url: "/a#x", - content: "Set <mark>--wildcard-access-url</mark> first", + content: "Set --wildcard-access-url first", }, { id: "a2", type: "text", url: "/a#y", - content: "<mark>Port</mark> <mark>forwarding</mark> works", + content: "Port forwarding works", }, ]; for (const query of ["--wildcard-access-url", "port forwarding", " Port Forwarding "]) @@ -223,7 +223,7 @@ test("fuseResults ranks every keyword hit for an exact match above a full list o id: `${url}#flag`, type: "text", url: `${url}#flag`, - content: "<mark>--wildcard-access-url</mark>", + content: "--wildcard-access-url", }, ]); const order = (query: string) => diff --git a/packages/docs-next/src/semantic-search.ts b/packages/docs-next/src/semantic-search.ts index 85b5edca..01f0a1ed 100644 --- a/packages/docs-next/src/semantic-search.ts +++ b/packages/docs-next/src/semantic-search.ts @@ -15,18 +15,10 @@ const VECTOR_WEIGHT = 0.75; /** The vector side's share when a keyword hit quotes the query, so keyword hits lead and vector-only pages follow. */ const EXACT_VECTOR_WEIGHT = 0.25; -/** Whether a keyword hit contains the whole query, ignoring case and `<mark>` highlights. */ +/** Whether a keyword hit contains the whole query, ignoring case. */ export function hasExactMatch(query: string, keyword: SortedResult[]): boolean { const needle = query.trim().toLowerCase(); - return ( - needle !== "" && - keyword.some((item) => - item.content - .replace(/<\/?mark>/g, "") - .toLowerCase() - .includes(needle), - ) - ); + return needle !== "" && keyword.some((item) => item.content.toLowerCase().includes(needle)); } export interface SemanticPage { diff --git a/packages/docs-next/src/sidebar-folder.tsx b/packages/docs-next/src/sidebar-folder.tsx index fee33b80..6efc62c1 100644 --- a/packages/docs-next/src/sidebar-folder.tsx +++ b/packages/docs-next/src/sidebar-folder.tsx @@ -17,7 +17,7 @@ import { CollapsibleTrigger } from "fumadocs-ui/components/ui/collapsible"; import { useTreePath } from "fumadocs-ui/contexts/tree"; import { type ReactNode, useRef } from "react"; -// Adapted from fumadocs-ui 16.15.11 dist/layouts/docs/slots/sidebar.js (SidebarFolder*, SidebarItem). +// Adapted from fumadocs-ui 16.17.9 dist/layouts/docs/slots/sidebar.js (SidebarFolder*, SidebarItem). const itemClass = "relative flex flex-row items-center gap-2 p-2 text-start text-fd-muted-foreground wrap-anywhere [&_svg]:size-4 [&_svg]:shrink-0"; const pageLinkClass = diff --git a/packages/docs-next/src/sidebar-landmarks.tsx b/packages/docs-next/src/sidebar-landmarks.tsx index e1f050c7..c20dfc65 100644 --- a/packages/docs-next/src/sidebar-landmarks.tsx +++ b/packages/docs-next/src/sidebar-landmarks.tsx @@ -22,7 +22,7 @@ export function markSidebars(root: ParentNode): void { } } -// fumadocs-ui 16.15 `layouts/docs/slots/sidebar.tsx` has no prop or slot for these, so they go on its DOM. +// fumadocs-ui 16.17.9 `layouts/docs/slots/sidebar.tsx` has no prop or slot for these, so they go on its DOM. export function SidebarLandmarks(): null { useEffect(() => { markSidebars(document); diff --git a/packages/docs-next/test/search-xss.ts b/packages/docs-next/test/search-xss.ts index 35b05591..cdb80055 100644 --- a/packages/docs-next/test/search-xss.ts +++ b/packages/docs-next/test/search-xss.ts @@ -1,4 +1,3 @@ -import { createContentHighlighter } from "fumadocs-core/search"; import { toSearchText } from "../src/search.js"; // Element names the finding showed surviving as live elements in a result. @@ -23,10 +22,9 @@ export function legacyIndexText(paragraph: string): string { .replace(/>/g, ">"); } -export function highlightedIndexTexts(query: string): string[] { - const highlighter = createContentHighlighter(query); +export function corpusIndexTexts(): string[] { return CORPUS_PARAGRAPHS.flatMap((paragraph) => [ - highlighter.highlightMarkdown(toSearchText(paragraph)), - highlighter.highlightMarkdown(legacyIndexText(paragraph)), + toSearchText(paragraph), + legacyIndexText(paragraph), ]); } diff --git a/packages/docs-theme/src/brand.css b/packages/docs-theme/src/brand.css index 5ce2c243..8f73dcc6 100644 --- a/packages/docs-theme/src/brand.css +++ b/packages/docs-theme/src/brand.css @@ -676,16 +676,6 @@ samp { border-color: var(--docs-control-border); } -[data-sidebar-panel].opacity-0 { - visibility: hidden; - transition-property: opacity, visibility; -} - .group\/heading > button:focus-visible { opacity: 1; } - -#nd-sidebar[data-collapsed="true"]:not([data-hovered="true"]) { - visibility: hidden; - transition-property: width, inset-block, transform, translate, background-color, visibility; -} diff --git a/packages/docs-transforms/README.md b/packages/docs-transforms/README.md index d1e3ba67..c4e3c295 100644 --- a/packages/docs-transforms/README.md +++ b/packages/docs-transforms/README.md @@ -25,11 +25,16 @@ The `mdx-config` subpath is an opt-in export that composes the plugins above int ```tsx import { STATIC_DOCS_RENDER_CONTEXT } from "@coder/docs-config"; import { coderPageSchema, createCoderMdxOptions } from "@coder/docs-transforms/mdx-config"; +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; import { defineConfig, defineDocs } from "fumadocs-mdx/config"; export const docs = defineDocs({ dir: "content/docs", docs: { schema: coderPageSchema } }); export default defineConfig({ - mdxOptions: createCoderMdxOptions({ renderContext: STATIC_DOCS_RENDER_CONTEXT }), + mdxOptions: createCoderMdxOptions({ + renderContext: STATIC_DOCS_RENDER_CONTEXT, + basePath: process.env.DOCS_BASE_PATH, + replaceSource, + }), }); ``` @@ -46,6 +51,11 @@ It defaults to `""` — correct for a surface served at the origin root — and A multi-version host sets it per version, which means per collection: `defineDocs({ docs: { mdxOptions: applyMdxPreset(createCoderMdxOptions({ renderContext, linkPrefix })) } })`, since `defineConfig`'s `mdxOptions` is global. `imageSizes` maps a local image's served path (`/images/x.png`) to its intrinsic `{ width, height }`, as `syncDocSource` reports it in `SyncResult.imageSizes`. Each listed `<img>` gets the `width` and `height` it lacks, so the page reserves the image's box before it loads instead of shifting the text below it. +`replaceSource` is the `replaceSource` export of `fumadocs-core/mdx-plugins/stringifier`, imported in the app so it comes from the same fumadocs-core copy as the app's `fumadocs-mdx`. +The pipeline edits the page's Markdown twin and its search records through it: gate markers become the component tags in the twin, gate tags and callout markers leave the search records, and a runtime Experimental block's text stays out of search. +An edit made through another copy's `replaceSource` is dropped without an error, so when no `replaceSource` is passed and `fumadocs-mdx`'s default plugins come from a different fumadocs-core copy than this package's, the pipeline throws instead of building a site whose search index carries hidden text. +pnpm installs a separate copy whenever the peer dependencies differ, so always pass it. +`basePath` is the site's base path (`DOCS_BASE_PATH`, empty when served at the root, otherwise starting with `/` and without a trailing slash), which the pipeline prefixes onto every root-relative link in a page's Markdown twin; Next applies its own `basePath` to the rendered page, but the twin is taken before that. `coderMdxOptions` is the same pipeline pre-built with no `renderContext` and no `linkPrefix`, exported for a consumer that only ever needs the runtime pipeline. Both are typed as `DefaultMDXOptions` from `fumadocs-mdx/config`, so the spread above is guaranteed assignable. The pipeline prepends the Coder remark stack (GitHub callouts, Coder tabs, `<details>` accordions) and `fumadocs-core`'s `remarkSteps`, preserves raw HTML via `rehype-raw` (with MDX passthrough), disables image optimization, and sets a Shiki fallback language for the corpus's unbundled code fences. diff --git a/packages/docs-transforms/package.json b/packages/docs-transforms/package.json index 5cac7cd5..9dbf1d50 100644 --- a/packages/docs-transforms/package.json +++ b/packages/docs-transforms/package.json @@ -35,7 +35,6 @@ "hast-util-to-string": "3.0.1", "mdast-util-from-markdown": "2.0.3", "mdast-util-to-hast": "13.2.1", - "mdast-util-to-markdown": "2.1.2", "parse-entities": "4.0.2", "parse5": "7.3.0", "rehype-raw": "7.0.0", diff --git a/packages/docs-transforms/src/mdx-config.e2e.test.ts b/packages/docs-transforms/src/mdx-config.e2e.test.ts index 30093efe..878dd4cd 100644 --- a/packages/docs-transforms/src/mdx-config.e2e.test.ts +++ b/packages/docs-transforms/src/mdx-config.e2e.test.ts @@ -791,6 +791,16 @@ test("e2e: an accordion title with character references renders the literal text assert.equal(accordions[0]?.props.title, "Use <code> blocks"); }); +test("e2e: a callout's search record omits the alert marker", async () => { + const file = await compileMdFile("> [!WARNING]\n> careful here\n\n> [!NOTE]\n> second\n> line\n"); + const records = (file.data as { structuredData: { contents: { content: string }[] } }) + .structuredData.contents; + assert.deepEqual( + records.map((record) => record.content), + ["careful here", "second\nline"], + ); +}); + test("e2e: premium content renders in the page body and is searchable, but its callout is not", async () => { // Premium content is public documentation of a paid feature, so unlike an // Experimental block it is not withheld from `remarkStructure`'s @@ -1249,3 +1259,66 @@ test("e2e: a tab whose label slugs to a Next.js bootstrap global gets a prefixed const ids = findAll(tree, "Tab").map((tab) => tab.props.id); assert.deepEqual(ids, ["user-content-__next_f", "other"]); }); + +function searchRecords(file: Awaited<ReturnType<typeof compileMdFile>>): string { + return JSON.stringify((file.data as { structuredData: unknown }).structuredData); +} + +const IN_BLOCKQUOTE = (gate: string, body: string) => + `> Quote intro.\n>\n> <div ${gate}>\n>\n> ${body}\n>\n> </div>\n\nPublic.\n`; + +test("e2e: an Experimental block inside a blockquote stays out of the blockquote's search record", async () => { + const frontmatter = { experiments: { f: "F" } }; + for (const md of [ + IN_BLOCKQUOTE('data-feature="f"', "SECRET_BQ."), + `- item\n\n ${IN_BLOCKQUOTE('data-feature="f"', "SECRET_BQ.").split("\n").join("\n ")}`, + ]) { + const records = searchRecords(await compileMdFile(md, { frontmatter })); + assert.doesNotMatch(records, /SECRET_BQ/); + assert.doesNotMatch(records, /Experimental/); + assert.match(records, /Quote intro/); + assert.match(records, /Public/); + } +}); + +test("e2e: a gate nested inside a blockquoted Experimental block stays out of the search record", async () => { + const md = [ + "> Intro.", + ">", + '> <div data-feature="f">', + ">", + '> <div data-cond="premium">', + "> SECRET_NESTED", + "> </div>", + ">", + "> </div>", + "", + ].join("\n"); + const records = searchRecords( + await compileMdFile(md, { frontmatter: { experiments: { f: "F" } } }), + ); + assert.doesNotMatch(records, /SECRET_NESTED/); + assert.match(records, /Intro/); +}); + +test("e2e: a Premium gate inside a blockquote keeps its body but no tag or callout text in search", async () => { + const records = searchRecords( + await compileMdFile(IN_BLOCKQUOTE('data-cond="premium"', "PREMIUM_BQ.")), + ); + assert.match(records, /PREMIUM_BQ/); + assert.doesNotMatch(records, /Premium(Note|Callout)?>|<Premium/); + assert.doesNotMatch(records, /Requires a Coder Premium license/); + assert.doesNotMatch(records, /data-cond/); +}); + +test("e2e: a static context's gate tags stay out of search records too", async () => { + const context: StaticDocsRenderContext = { license: "oss", features: "all", vars: {} }; + const options = createCoderMdxOptions({ renderContext: context }); + for (const gate of ['data-cond="premium"', 'data-feature="f"']) { + const records = searchRecords( + await compileMdFile(IN_BLOCKQUOTE(gate, "BODY_TEXT."), { options }), + ); + assert.match(records, /BODY_TEXT/); + assert.doesNotMatch(records, /<(Premium|Experimental)|Requires a Coder Premium license/); + } +}); diff --git a/packages/docs-transforms/src/mdx-config.test.ts b/packages/docs-transforms/src/mdx-config.test.ts index 1c555a11..0d691828 100644 --- a/packages/docs-transforms/src/mdx-config.test.ts +++ b/packages/docs-transforms/src/mdx-config.test.ts @@ -14,6 +14,7 @@ import { remarkClassicHeadingIds } from "./mdx-plugins/remark-classic-heading-id import { remarkCoderTabs } from "./mdx-plugins/remark-coder-tabs.js"; import { remarkConditionalContent } from "./mdx-plugins/remark-conditional-content.js"; import { remarkDetailsAccordion } from "./mdx-plugins/remark-details-accordion.js"; +import { remarkExcludeExperimentalFromSearch } from "./mdx-plugins/remark-exclude-experimental-from-search.js"; import { remarkGithubCallouts } from "./mdx-plugins/remark-github-callouts.js"; import { remarkReleasesTable } from "./mdx-plugins/remark-releases-table.js"; import { remarkSafeHeadingIds } from "./mdx-plugins/remark-safe-heading-ids.js"; @@ -30,21 +31,21 @@ test("remarkPlugins prepends the Coder remark stack, then the caller's plugins", [remarkHeading, { customId: false }], callerPlugin, ]); - const [conditionalContent, releasesTable, ...rest] = out.slice(0, 7) as [ - [unknown, unknown], - [unknown, unknown], - ...unknown[], - ]; + const [conditionalContent, releasesTable, classicIds, githubCallouts, ...rest] = out.slice( + 0, + 8, + ) as [[unknown, unknown], [unknown, unknown], unknown, [unknown, unknown], ...unknown[]]; assert.equal(conditionalContent[0], remarkConditionalContent); assert.equal(releasesTable[0], remarkReleasesTable); + assert.equal(classicIds, remarkClassicHeadingIds); + assert.equal(githubCallouts[0], remarkGithubCallouts); assert.deepEqual(rest, [ - remarkClassicHeadingIds, - remarkGithubCallouts, remarkCoderTabs, remarkDetailsAccordion, remarkSteps, + remarkExcludeExperimentalFromSearch, ]); - assert.deepEqual(out.slice(7), [ + assert.deepEqual(out.slice(8), [ [remarkHeading, { customId: false }], remarkSafeHeadingIds, callerPlugin, @@ -55,6 +56,29 @@ test("remarkPlugins refuses a default list that has no remarkHeading", () => { assert.throws(() => (coderMdxOptions.remarkPlugins as Resolve)([callerPlugin]), /remarkHeading/); }); +test("remarkPlugins refuses another fumadocs-core copy's defaults unless replaceSource is passed", () => { + // Same name, another identity: what a second fumadocs-core install hands fumadocs-mdx. + const foreignHeading = { remarkHeading() {} }.remarkHeading; + const resolve = (options: Parameters<typeof createCoderMdxOptions>[0]) => + (createCoderMdxOptions(options).remarkPlugins as Resolve)([foreignHeading]); + assert.throws(() => resolve({}), /replaceSource/); + assert.throws(() => resolve({ renderContext: STATIC_DOCS_RENDER_CONTEXT }), /replaceSource/); + assert.doesNotThrow(() => resolve({ replaceSource: () => undefined })); + assert.doesNotThrow(() => (coderMdxOptions.remarkPlugins as Resolve)([remarkHeading])); +}); + +test("remarkPlugins refuses defaults without this package's own remarkHeading unless replaceSource is passed", () => { + // A renamed or minified copy: neither the name check nor identity matches. + const renamedHeading = { a() {} }.a; + const resolve = (defaults: unknown[]) => (coderMdxOptions.remarkPlugins as Resolve)(defaults); + assert.throws(() => resolve([renamedHeading]), /replaceSource/); + assert.throws( + () => resolve([[renamedHeading, { customId: false }], callerPlugin]), + /replaceSource/, + ); + assert.doesNotThrow(() => resolve([[remarkHeading, { customId: false }], callerPlugin])); +}); + test("headings take no author-chosen id", () => { assert.deepEqual(coderMdxOptions.remarkHeadingOptions, { customId: false }); }); diff --git a/packages/docs-transforms/src/mdx-config.ts b/packages/docs-transforms/src/mdx-config.ts index b4114a15..a654306c 100644 --- a/packages/docs-transforms/src/mdx-config.ts +++ b/packages/docs-transforms/src/mdx-config.ts @@ -3,11 +3,7 @@ import { type ReleaseSchedule, type StaticDocsRenderContext, } from "@coder/docs-config"; -import { - remarkHeading, - remarkSteps, - remarkStructureDefaultOptions, -} from "fumadocs-core/mdx-plugins"; +import { remarkHeading, remarkSteps } from "fumadocs-core/mdx-plugins"; import { pageSchema } from "fumadocs-core/source/schema"; import type { DefaultMDXOptions } from "fumadocs-mdx/config"; import rehypeRaw from "rehype-raw"; @@ -30,8 +26,11 @@ import { remarkConditionalContent, } from "./mdx-plugins/remark-conditional-content.js"; import { remarkDetailsAccordion } from "./mdx-plugins/remark-details-accordion.js"; +import { remarkExcludeExperimentalFromSearch } from "./mdx-plugins/remark-exclude-experimental-from-search.js"; import { remarkGithubCallouts } from "./mdx-plugins/remark-github-callouts.js"; import { remarkReleasesTable } from "./mdx-plugins/remark-releases-table.js"; +import { type ReplaceSource, ownReplaceSource } from "./mdx-plugins/source-edit.js"; +import { remarkTwinBasePath } from "./mdx-plugins/remark-twin-base-path.js"; import { remarkSafeHeadingIds } from "./mdx-plugins/remark-safe-heading-ids.js"; export { DEFAULT_PREMIUM_CALLOUT }; @@ -110,6 +109,24 @@ function withSafeHeadingIds(defaults: RemarkPluginList): RemarkPluginList { return [...defaults.slice(0, at + 1), remarkSafeHeadingIds, ...defaults.slice(at + 1)]; } +// Fail closed: our `replaceSource` is silently ignored by another fumadocs-core copy. +function resolveReplaceSource( + defaults: RemarkPluginList, + passed: ReplaceSource | undefined, +): ReplaceSource { + if (passed) return passed; + // By identity, so a renamed or minified foreign copy fails closed too. + const ours = defaults.some( + (entry) => (Array.isArray(entry) ? entry[0] : entry) === remarkHeading, + ); + if (!ours) { + throw new Error( + "@coder/docs-transforms: fumadocs-mdx's default plugins don't include this package's remarkHeading, so it runs against another copy of fumadocs-core; pass that copy's `replaceSource` (from fumadocs-core/mdx-plugins/stringifier) to createCoderMdxOptions", + ); + } + return ownReplaceSource; +} + export interface CoderMdxOptionsInput { /** * Compile conditional content against a fixed context. The public site and @@ -139,6 +156,21 @@ export interface CoderMdxOptionsInput { * render as before. */ imageSizes?: ImageSizes; + /** + * The site's base path (`DOCS_BASE_PATH`), which every root-relative URL in + * a page's Markdown twin and `llms-full.txt` carries. Next applies its own + * `basePath` to the links a page renders, but the twin is taken in the + * remark phase and never passes through that. Empty means none. + */ + basePath?: string; + /** + * The `replaceSource` of the fumadocs-core copy `fumadocs-mdx` runs against, + * which edits the Markdown twin and the search records. Pass the app's own + * import when it can resolve another copy than this package does; the + * pipeline throws when fumadocs-mdx's defaults come from another copy and + * none was passed, since those edits would otherwise be dropped silently. + */ + replaceSource?: ReplaceSource; /** * The release schedule fetched at build time, rendered as the Releases * page's `ReleasesTable`. Without one the page's fallback renders instead. @@ -171,6 +203,8 @@ export function createCoderMdxOptions({ renderContext, linkPrefix = "", imageSizes, + basePath = "", + replaceSource: passedReplaceSource, releaseSchedule, releaseScheduleUrl, }: CoderMdxOptionsInput = {}): DefaultMDXOptions { @@ -188,52 +222,28 @@ export function createCoderMdxOptions({ // (fumadocs-core) groups consecutive `## Title [step]` headings into a numbered // structure; the `[step]` markers are baked into the synced source by // `normalizeStepHeadings`, so no custom step plugin runs here. - remarkPlugins: (v) => [ - // Conditional-content annotations run first so the structural plugins - // below, which recurse into children, still convert callouts/tabs - // inside them. - [remarkConditionalContent, { context: renderContext, linkPrefix }], - [remarkReleasesTable, { schedule: releaseSchedule, refreshUrl: releaseScheduleUrl }], - // Before anything rewrites a heading, so each keeps its classic id. - remarkClassicHeadingIds, - remarkGithubCallouts, - remarkCoderTabs, - remarkDetailsAccordion, - remarkSteps, - ...withSafeHeadingIds(v), - ], - // The search index is built from `remarkStructure`'s structuredData after - // the plugins above run. A runtime `Experimental` block is hidden unless - // the deployment enables its flag, so its text must not be searchable by - // everyone; a `PremiumCallout` is a label, not content. Both are treated as - // single blocks that stringify to nothing. Premium bodies and the static - // `ExperimentalNote`/`PremiumNote` bodies are searchable, because every - // reader of those surfaces can see them. - remarkStructureOptions: { - mdxTypes: (node) => - node.name === "Experimental" || - node.name === "PremiumCallout" || - remarkStructureDefaultOptions.mdxTypes(node), - stringify: { - filterElement: (node) => { - if (node.type === "mdxJsxFlowElement" || node.type === "mdxJsxTextElement") { - if (node.name === "Experimental" || node.name === "PremiumCallout") return false; - // Restate fumadocs' default allowlist: providing `filterElement` - // replaces it wholesale, and the default keeps these as blocks - // while flattening every other JSX element to its children. - switch (node.name) { - case "File": - case "TypeTable": - case "Callout": - case "Card": - return true; - default: - return "children-only"; - } - } - return true; - }, - }, + remarkPlugins: (v) => { + const replaceSource = resolveReplaceSource(v, passedReplaceSource); + const twinPlugins: RemarkPluginList = + basePath === "" ? [] : [[remarkTwinBasePath, { basePath, replaceSource }]]; + return [ + // Conditional-content annotations run first so the structural plugins + // below, which recurse into children, still convert callouts/tabs + // inside them. + [remarkConditionalContent, { context: renderContext, linkPrefix, replaceSource, basePath }], + [remarkReleasesTable, { schedule: releaseSchedule, refreshUrl: releaseScheduleUrl }], + // Before anything rewrites a heading, so each keeps its classic id. + remarkClassicHeadingIds, + [remarkGithubCallouts, { replaceSource }], + remarkCoderTabs, + remarkDetailsAccordion, + remarkSteps, + // A runtime `Experimental` block is hidden unless its flag is on, so its + // text must not be searchable by everyone. + remarkExcludeExperimentalFromSearch, + ...twinPlugins, + ...withSafeHeadingIds(v), + ]; }, // Doc images are copied into the bundle and referenced by root-absolute paths // (/images/...). Disable Fumadocs' remark-image, which otherwise reads every diff --git a/packages/docs-transforms/src/mdx-plugins/mdast.ts b/packages/docs-transforms/src/mdx-plugins/mdast.ts index ca199c8c..75e8e760 100644 --- a/packages/docs-transforms/src/mdx-plugins/mdast.ts +++ b/packages/docs-transforms/src/mdx-plugins/mdast.ts @@ -6,12 +6,25 @@ export type MdastNode = { depth?: number; children?: MdastNode[]; position?: { - start?: { line?: number; column?: number }; - end?: { line?: number; column?: number }; + start?: { line?: number; column?: number; offset?: number }; + end?: { line?: number; column?: number; offset?: number }; }; [key: string]: unknown; }; +/** Drops the source positions of a subtree, for nodes whose offsets belong to another source. */ +export function stripPositions(node: MdastNode): void { + delete node.position; + for (const child of node.children ?? []) stripPositions(child); +} + +/** The positioned nodes a list holds, looking through those without a position. */ +export function positionedNodes(nodes: MdastNode[]): MdastNode[] { + return nodes.flatMap((node) => + node.position?.start?.offset === undefined ? positionedNodes(node.children ?? []) : [node], + ); +} + export function isHtml(node: MdastNode | undefined): node is MdastNode & { value: string } { return !!node && node.type === "html" && typeof node.value === "string"; } diff --git a/packages/docs-transforms/src/mdx-plugins/remark-conditional-content.ts b/packages/docs-transforms/src/mdx-plugins/remark-conditional-content.ts index a2c2528e..d8bbd4b3 100644 --- a/packages/docs-transforms/src/mdx-plugins/remark-conditional-content.ts +++ b/packages/docs-transforms/src/mdx-plugins/remark-conditional-content.ts @@ -36,7 +36,15 @@ import type { StaticDocsRenderContext } from "@coder/docs-config"; import { fromMarkdown } from "mdast-util-from-markdown"; import { divDelta, splitAtClosingDiv } from "./html-delimiters.js"; -import { isHtml, type MdastNode } from "./mdast.js"; +import { twinHref } from "../processed-markdown.js"; +import { isHtml, type MdastNode, positionedNodes, stripPositions } from "./mdast.js"; +import { withBasePath } from "./remark-twin-base-path.js"; +import { + type ReplaceSource, + type SourceFile, + type SourceNode, + ownReplaceSource, +} from "./source-edit.js"; /** * A gate opener: one marker attribute on a `div`, double-quoted token value, @@ -114,6 +122,10 @@ export interface ConditionalContentOptions { * for a surface served at the site root; `"/v2.29"` for an archived version. */ linkPrefix?: string; + /** The `replaceSource` the page's Markdown twin is edited through; refer to `ownReplaceSource`. */ + replaceSource?: ReplaceSource; + /** The base path the twin's links carry; empty (the default) for none. */ + basePath?: string; } // What the sync wrote into the page's frontmatter for this plugin: fumadocs @@ -137,9 +149,13 @@ interface CompileCtx { frontmatter: PageFrontmatter; context: StaticDocsRenderContext | undefined; linkPrefix: string; + /** The page's file, whose Markdown twin the gate's source is rewritten in. */ + file: SourceFile | undefined; + replaceSource: ReplaceSource; + basePath: string; } -function calloutChildren(ctx: CompileCtx): MdastNode[] { +function calloutSource(ctx: CompileCtx): string { const custom = typeof ctx.frontmatter.premium_callout === "string" ? ctx.frontmatter.premium_callout.trim() @@ -148,8 +164,22 @@ function calloutChildren(ctx: CompileCtx): MdastNode[] { // own, injected here after the sync has prefixed every corpus link. A page's // `premium_callout` is author Markdown the sync passes through verbatim, so // rewriting links inside it belongs to the sync's link pass, not here. - const source = custom !== "" ? custom : defaultPremiumCallout(ctx.linkPrefix); - return (fromMarkdown(source) as unknown as MdastNode).children ?? []; + return custom !== "" ? custom : defaultPremiumCallout(ctx.linkPrefix); +} + +// The callout as the twin carries it, with its links under the base path. +function twinCallout(ctx: CompileCtx): string { + const source = calloutSource(ctx); + return ctx.basePath === "" + ? source + : withBasePath(source, fromMarkdown(source) as unknown as MdastNode, ctx.basePath); +} + +function calloutChildren(ctx: CompileCtx): MdastNode[] { + const children = (fromMarkdown(calloutSource(ctx)) as unknown as MdastNode).children ?? []; + // Offsets into `source`, not the page, so they would misplace search records. + for (const child of children) stripPositions(child); + return children; } function displayNameOf(frontmatter: PageFrontmatter, flag: string): string { @@ -199,8 +229,16 @@ function varNode(name: string): MdastNode { export type GateTermination = "closed" | "unclosed" | "swallows"; type GateClose = - | { kind: "closed"; between: MdastNode[]; endIndex: number; after: string } - | { kind: "swallows"; between: MdastNode[] } + | { + kind: "closed"; + between: MdastNode[]; + endIndex: number; + after: string; + /** What the opener node holds past the marker, and what the closer node holds before its `</div>`. */ + openText: string; + closeText: string; + } + | { kind: "swallows"; between: MdastNode[]; openText: string } | { kind: "unclosed" }; // Find where the gate opened at `openIndex` ends: the single source of truth @@ -241,7 +279,14 @@ function findGateClose(children: MdastNode[], openIndex: number): GateClose | nu // entirely within this node. Resolving it here keeps the search below from // binding to a later, unrelated `</div>` and swallowing the content between. if (openSplit.before.trim()) between.push({ type: "html", value: openSplit.before }); - return { kind: "closed", between, endIndex: openIndex, after: openSplit.after }; + return { + kind: "closed", + between, + endIndex: openIndex, + after: openSplit.after, + openText: openSplit.before, + closeText: "", + }; } if (openResidual.trim()) between.push({ type: "html", value: openResidual }); @@ -271,12 +316,19 @@ function findGateClose(children: MdastNode[], openIndex: number): GateClose | nu // every remaining sibling instead. if (Number.isFinite(depth)) return { kind: "unclosed" }; between.push(...children.slice(openIndex + 1)); - return { kind: "swallows", between }; + return { kind: "swallows", between, openText: openResidual }; } const closeSplit = splitAtClosingDiv(closeNode.value, depthBeforeClose); between.push(...children.slice(openIndex + 1, closeIndex)); if (closeSplit.before.trim()) between.push({ type: "html", value: closeSplit.before }); - return { kind: "closed", between, endIndex: closeIndex, after: closeSplit.after }; + return { + kind: "closed", + between, + endIndex: closeIndex, + after: closeSplit.after, + openText: openResidual, + closeText: closeSplit.before, + }; } /** @@ -290,12 +342,28 @@ export function gateTermination(children: MdastNode[], openIndex: number): GateT return findGateClose(children, openIndex)?.kind ?? null; } -// The nodes that replace one gate block, given how the page is compiled. +// The nodes and twin tags that replace one gate block, given how the page is compiled. // Both links the engine injects here — the feature-stages link on an // experimental block and the licensing link in the default premium callout — // carry `ctx.linkPrefix`, so a reader of an archived version stays in that // version instead of being sent to the mainline page. -function annotate(kind: string, value: string, body: MdastNode[], ctx: CompileCtx): MdastNode[] { +interface Annotation { + wrap: (body: MdastNode[]) => MdastNode[]; + /** The tags around the block in the page's Markdown twin. */ + open: string; + close: string; +} + +function escapeAttribute(value: string): string { + return value.replaceAll("&", "&").replaceAll('"', """); +} + +function tagText(name: string, attributes: [string, string][] = []): string { + const attrs = attributes.map(([n, v]) => ` ${n}="${escapeAttribute(v)}"`).join(""); + return `<${name}${attrs}>`; +} + +function annotation(kind: string, value: string, ctx: CompileCtx): Annotation { if (kind.toLowerCase() === "feature") { const displayName = displayNameOf(ctx.frontmatter, value); const attributes: [string, string][] = [ @@ -303,18 +371,48 @@ function annotate(kind: string, value: string, body: MdastNode[], ctx: CompileCt ["displayName", displayName], ["href", `${ctx.linkPrefix}${FEATURE_STAGES_PATH}`], ]; + const twinAttributes = attributes.map(([n, v]) => + n === "href" ? [n, twinHref(ctx.basePath, v)] : [n, v], + ) as [string, string][]; // A static context always has `features: "all"` (the type admits nothing // else), so a static compile never deletes an experimental block: it // renders labelled and the reader decides. Only the runtime component, // asking a live deployment, ever hides one. - if (!ctx.context) return [element("Experimental", attributes, body)]; - return [element("ExperimentalNote", attributes, body)]; + const name = ctx.context ? "ExperimentalNote" : "Experimental"; + return { + wrap: (body) => [element(name, attributes, body)], + open: `${tagText(name, twinAttributes)}\n`, + close: `\n</${name}>`, + }; + } + const callout = () => element("PremiumCallout", [], calloutChildren(ctx)); + const calloutText = `<PremiumCallout>\n${twinCallout(ctx)}\n</PremiumCallout>\n\n`; + if (!ctx.context) { + return { + wrap: (body) => [element("Premium", [], [callout(), ...body])], + open: `<Premium>\n${calloutText}`, + close: "\n</Premium>", + }; } - const callout = element("PremiumCallout", [], calloutChildren(ctx)); - if (!ctx.context) return [element("Premium", [], [callout, ...body])]; - return ctx.context.license === "premium" - ? body - : [element("PremiumNote", [], [callout, ...body])]; + if (ctx.context.license === "premium") return { wrap: (body) => body, open: "", close: "" }; + return { + wrap: (body) => [element("PremiumNote", [], [callout(), ...body])], + open: `<PremiumNote>\n${calloutText}`, + close: "\n</PremiumNote>", + }; +} + +// Twin and search records are sliced from the authored source, so the gate's +// raw marker nodes are replaced there: by the tags the page compiles to in the +// twin, and by the text around them in search, where tags are not content. +function hideFromSearch(ctx: CompileCtx, node: MdastNode): void { + if (ctx.file) ctx.replaceSource(ctx.file, node as SourceNode, "", "search"); +} + +function rewriteSource(ctx: CompileCtx, node: MdastNode, twin: string, search: string): void { + if (!ctx.file || node.position?.start?.offset === undefined) return; + ctx.replaceSource(ctx.file, node as SourceNode, twin); + ctx.replaceSource(ctx.file, node as SourceNode, search, "search"); } type Built = { nodes: MdastNode[]; endIndex: number; after: string }; @@ -336,10 +434,39 @@ function buildGate(children: MdastNode[], openIndex: number, ctx: CompileCtx): B const close = findGateClose(children, openIndex); if (!close || close.kind === "unclosed") return null; - const nodes = annotate(kind, value, transformList(close.between, ctx), ctx); + const tags = annotation(kind, value, ctx); + // A runtime `Experimental` block is hidden unless its flag is on, so a + // search record, a parent's included, must not carry its text. + const hidden = kind.toLowerCase() === "feature" && !ctx.context; + const nodes = tags.wrap(transformList(close.between, ctx)); + // After transformList: only a node's last edit counts, so a nested gate's must not win. + if (hidden) { + for (const node of positionedNodes(close.between)) hideFromSearch(ctx, node); + } + const openSearch = hidden ? "" : close.openText; if (close.kind === "swallows") { + rewriteSource(ctx, openNode, tags.open + close.openText, openSearch); return { nodes, endIndex: children.length - 1, after: "" }; } + const closeNode = children[close.endIndex]; + if (closeNode === openNode) { + rewriteSource( + ctx, + openNode, + tags.open + close.openText + tags.close + close.after, + openSearch + close.after, + ); + } else { + rewriteSource(ctx, openNode, tags.open + close.openText, openSearch); + if (closeNode) { + rewriteSource( + ctx, + closeNode, + close.closeText + tags.close + close.after, + (hidden ? "" : close.closeText) + close.after, + ); + } + } return { nodes, endIndex: close.endIndex, after: close.after }; } @@ -411,6 +538,9 @@ export function remarkConditionalContent(options: ConditionalContentOptions = {} frontmatter: frontmatterOf(file), context: options.context, linkPrefix, + file: file as SourceFile | undefined, + replaceSource: options.replaceSource ?? ownReplaceSource, + basePath: options.basePath ?? "", }; if (tree.children) tree.children = transformList(tree.children, ctx); }; diff --git a/packages/docs-transforms/src/mdx-plugins/remark-exclude-experimental-from-search.ts b/packages/docs-transforms/src/mdx-plugins/remark-exclude-experimental-from-search.ts new file mode 100644 index 00000000..b56ee26c --- /dev/null +++ b/packages/docs-transforms/src/mdx-plugins/remark-exclude-experimental-from-search.ts @@ -0,0 +1,19 @@ +import { type MdastNode, positionedNodes } from "./mdast.js"; + +// Fumadocs' remarkStructure takes `data.structuredData` as the search records +// of a node in place of the node, so an empty list leaves it out of the index. +// A parent's record is kept clean by the search edits of the gate itself. +export function remarkExcludeExperimentalFromSearch() { + return (tree: MdastNode): void => { + const visit = (node: MdastNode): void => { + if (node.type === "mdxJsxFlowElement" && node.name === "Experimental") { + for (const child of positionedNodes(node.children ?? [])) { + child.data = { ...(child.data as object | undefined), structuredData: { contents: [] } }; + } + return; + } + for (const child of node.children ?? []) visit(child); + }; + visit(tree); + }; +} diff --git a/packages/docs-transforms/src/mdx-plugins/remark-github-callouts.ts b/packages/docs-transforms/src/mdx-plugins/remark-github-callouts.ts index e62c6371..80857bbe 100644 --- a/packages/docs-transforms/src/mdx-plugins/remark-github-callouts.ts +++ b/packages/docs-transforms/src/mdx-plugins/remark-github-callouts.ts @@ -3,8 +3,19 @@ // `unist-util-visit`, which is not guaranteed to resolve under pnpm here. import type { MdastNode } from "./mdast.js"; +import { + type ReplaceSource, + type SourceFile, + type SourceNode, + ownReplaceSource, +} from "./source-edit.js"; -type GithubAlert = "NOTE" | "TIP" | "IMPORTANT" | "WARNING" | "CAUTION"; +const ALERTS = ["NOTE", "TIP", "IMPORTANT", "WARNING", "CAUTION"] as const; +type GithubAlert = (typeof ALERTS)[number]; +const ALERT_KINDS = ALERTS.join("|"); + +// The marker as written, with the line break and quote prefix after it. +const SOURCE_MARKER = new RegExp(`^\\[!(?:${ALERT_KINDS})\\][ \\t]*(?:\\r?\\n[ \\t]*>[ \\t]*)?`); // GitHub alert -> Fumadocs Callout `type`. const TYPE_MAP: Record<GithubAlert, string> = { @@ -24,9 +35,13 @@ const LABEL_MAP: Record<GithubAlert, string> = { }; // Strict on purpose: matches only GitHub's canonical marker (uppercase, no space after `!`). -const MARKER = /^\[!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]\s*/; +const MARKER = new RegExp(`^\\[!(${ALERT_KINDS})\\]\\s*`); -function toCallout(blockquote: MdastNode): MdastNode | null { +function toCallout( + blockquote: MdastNode, + file: SourceFile | undefined, + replaceSource: ReplaceSource, +): MdastNode | null { const firstParagraph = blockquote.children?.[0]; if (!firstParagraph || firstParagraph.type !== "paragraph" || !firstParagraph.children) { return null; @@ -41,6 +56,16 @@ function toCallout(blockquote: MdastNode): MdastNode | null { if (!match) return null; const kind = match[1] as GithubAlert; + // Search records are sliced from the authored source, marker included. + const start = firstText.position?.start?.offset; + const end = firstText.position?.end?.offset; + const marker = + !file || start === undefined ? null : SOURCE_MARKER.exec(String(file).slice(start)); + if (file && marker && start !== undefined && end !== undefined) { + const from = start + marker[0].length; + replaceSource(file, firstText as SourceNode, (s) => s.slice(from, end), "search"); + } + firstText.value = firstText.value.slice(match[0].length); if (firstText.value === "") { firstParagraph.children.shift(); @@ -64,24 +89,26 @@ function toCallout(blockquote: MdastNode): MdastNode | null { }; } -function walk(node: MdastNode): void { +function walk(node: MdastNode, file: SourceFile | undefined, replaceSource: ReplaceSource): void { if (!node.children) return; for (let i = 0; i < node.children.length; i++) { const child = node.children[i] as MdastNode; if (child.type === "blockquote") { - const callout = toCallout(child); + const callout = toCallout(child, file, replaceSource); if (callout) { node.children[i] = callout; - walk(callout); // handle nested alerts inside the callout body + walk(callout, file, replaceSource); // handle nested alerts inside the callout body continue; } } - walk(child); + walk(child, file, replaceSource); } } -export function remarkGithubCallouts() { - return (tree: MdastNode): void => { - walk(tree); +export function remarkGithubCallouts({ + replaceSource = ownReplaceSource, +}: { replaceSource?: ReplaceSource } = {}) { + return (tree: MdastNode, file?: SourceFile): void => { + walk(tree, file, replaceSource); }; } diff --git a/packages/docs-transforms/src/mdx-plugins/remark-twin-base-path.ts b/packages/docs-transforms/src/mdx-plugins/remark-twin-base-path.ts new file mode 100644 index 00000000..526441c6 --- /dev/null +++ b/packages/docs-transforms/src/mdx-plugins/remark-twin-base-path.ts @@ -0,0 +1,72 @@ +import { twinHref } from "../processed-markdown.js"; +import type { MdastNode } from "./mdast.js"; +import { + type ReplaceSource, + type SourceFile, + type SourceNode, + ownReplaceSource, +} from "./source-edit.js"; + +interface UrlEdit { + start: number; + end: number; + next: string; +} + +/** The source range of a link, image or definition URL, and the URL under the base path. */ +function urlEdit(node: MdastNode, source: string, basePath: string): UrlEdit | undefined { + if (node.type !== "link" && node.type !== "image" && node.type !== "definition") return; + const url = node.url; + const start = node.position?.start?.offset; + const end = node.position?.end?.offset; + if (typeof url !== "string" || url === "" || start === undefined || end === undefined) return; + const next = twinHref(basePath, url); + const raw = source.slice(start, end); + const at = + node.type === "definition" + ? raw.indexOf(url, Math.max(raw.indexOf("]:"), 0)) + : raw.lastIndexOf(url); + if (next === url || at === -1) return; + return { start: start + at, end: start + at + url.length, next }; +} + +/** Markdown with every root-relative link under the base path. */ +export function withBasePath(source: string, tree: MdastNode, basePath: string): string { + const edits: UrlEdit[] = []; + const visit = (node: MdastNode): void => { + const edit = urlEdit(node, source, basePath); + if (edit) edits.push(edit); + for (const child of node.children ?? []) visit(child); + }; + visit(tree); + return edits + .sort((a, b) => b.start - a.start) + .reduce((text, e) => text.slice(0, e.start) + e.next + text.slice(e.end), source); +} + +// Fumadocs' Markdown snapshot slices the authored source, so a link's URL is +// rewritten by editing its source range. Reference links carry their URL on +// the definition. +export function remarkTwinBasePath({ + basePath, + replaceSource = ownReplaceSource, +}: { + basePath: string; + replaceSource?: ReplaceSource; +}) { + return (tree: MdastNode, file: SourceFile): void => { + const source = String(file); + const visit = (node: MdastNode): void => { + const edit = urlEdit(node, source, basePath); + if (edit) { + const target = node as SourceNode; + replaceSource(file, target, (s) => { + s.edit(edit.start, edit.end, edit.next, target); + return s.stringify(target); + }); + } + for (const child of node.children ?? []) visit(child); + }; + visit(tree); + }; +} diff --git a/packages/docs-transforms/src/mdx-plugins/source-edit.ts b/packages/docs-transforms/src/mdx-plugins/source-edit.ts new file mode 100644 index 00000000..d2bf2c6a --- /dev/null +++ b/packages/docs-transforms/src/mdx-plugins/source-edit.ts @@ -0,0 +1,12 @@ +import { replaceSource } from "fumadocs-core/mdx-plugins/stringifier"; + +export type ReplaceSource = typeof replaceSource; +export type SourceFile = Parameters<ReplaceSource>[0]; +export type SourceNode = Parameters<ReplaceSource>[1]; + +/** + * This package's own copy of `replaceSource`, which edits only the Markdown + * output of the copy of fumadocs-core it came from. A build whose + * `fumadocs-mdx` runs against another copy passes its own. + */ +export const ownReplaceSource: ReplaceSource = replaceSource; diff --git a/packages/docs-transforms/src/processed-markdown.test.ts b/packages/docs-transforms/src/processed-markdown.test.ts index eb2ed985..5060cce3 100644 --- a/packages/docs-transforms/src/processed-markdown.test.ts +++ b/packages/docs-transforms/src/processed-markdown.test.ts @@ -1,9 +1,10 @@ import assert from "node:assert/strict"; import test from "node:test"; +import type { StaticDocsRenderContext } from "@coder/docs-config"; import { createProcessor } from "@mdx-js/mdx"; import { remarkLLMs } from "fumadocs-core/mdx-plugins/remark-llms"; import { applyMdxPreset } from "fumadocs-mdx/config"; -import { coderMdxOptions } from "./mdx-config.js"; +import { createCoderMdxOptions } from "./mdx-config.js"; import { processedMarkdownOptions, twinHref } from "./processed-markdown.js"; import { normalizeStepHeadings } from "./transform.js"; @@ -46,18 +47,18 @@ test("twinHref never touches a URL that does not name this site", () => { } }); -test("processedMarkdownOptions adds no link handlers when the site is served at the root", () => { - // Nothing to prefix, so no handler rebuilds a node for no change. - assert.deepEqual(processedMarkdownOptions(), { headingIds: false }); - assert.deepEqual(processedMarkdownOptions({ basePath: "" }), { headingIds: false }); -}); - // The snapshot as fumadocs-mdx takes it: the real pipeline's remark plugins, // then `remarkLLMs` with the options a collection would pass, exactly as // `remarkPostprocess` calls it. Nothing here fakes a stringifier state. -async function snapshot(md: string, basePath?: string): Promise<string> { - const resolved = await applyMdxPreset(coderMdxOptions)("bundler"); - const options = processedMarkdownOptions({ basePath }); +async function snapshot( + md: string, + basePath?: string, + renderContext?: StaticDocsRenderContext, +): Promise<string> { + const resolved = await applyMdxPreset(createCoderMdxOptions({ basePath, renderContext }))( + "bundler", + ); + const options = processedMarkdownOptions(); const processor = createProcessor({ ...resolved, remarkPlugins: [...(resolved.remarkPlugins ?? []), [remarkLLMs, { ...options, _data: true }]], @@ -101,6 +102,15 @@ test("e2e: every kind of corpus link in a twin carries the base path", async () test("e2e: with no base path the snapshot is byte-identical to fumadocs' own", async () => { const md = "[page](/admin)\n\n![logo](/images/logo.svg)\n"; assert.equal(await snapshot(md, ""), await snapshot(md, undefined)); + assert.match(await snapshot(md, ""), /\(\/admin\)/); +}); + +test("e2e: a link with a title and formatted text keeps both under the base path", async () => { + const out = await snapshot( + 'See [the **admin** guide](/admin "Admin guide") now.\n', + "/beta-docs", + ); + assert.equal(out.trim(), 'See [the **admin** guide](/beta-docs/admin/ "Admin guide") now.'); }); test("e2e: the snapshot carries the corpus's raw HTML exactly as authored", async () => { @@ -142,3 +152,66 @@ test("e2e: a heading reads in the twin as the page shows it, without Fumadocs' i const headings = lines.filter((line) => line.startsWith("#")); assert.deepEqual(headings, ["## Install and start Coder", "## Install Coder via `docker run`"]); }); + +test("e2e: links in a CRLF page carry the base path", async () => { + const out = await snapshot( + "[page](/admin)\r\n\r\n![logo](/images/logo.svg)\r\n\r\n[r]: /admin/users\r\n", + "/beta-docs", + ); + assert.match(out, /\[page\]\(\/beta-docs\/admin\/\)/); + assert.match(out, /\(\/beta-docs\/images\/logo\.svg\)/); + assert.match(out, /^\[r\]: \/beta-docs\/admin\/users\/\r?$/m); +}); + +test("e2e: a gate's marker becomes its tags in the twin, with the gated text kept", async () => { + const out = await snapshot( + [ + '<div data-cond="premium">', + "", + "Premium body.", + "", + "</div>", + "", + "Public text.", + "", + '<div data-feature="mcp-server-http">', + "", + "Flag body.", + "", + "</div>", + "", + "After.", + "", + ].join("\n"), + ); + assert.doesNotMatch(out, /data-cond|data-feature/); + assert.match(out, /<Premium>[\s\S]*Premium body\.[\s\S]*<\/Premium>/); + assert.match( + out, + /<Experimental flag="mcp-server-http"[\s\S]*Flag body\.[\s\S]*<\/Experimental>/, + ); + assert.match(out, /Public text\./); + assert.match(out, /After\./); +}); + +test("e2e: a static render context's gates are tags in the twin too", async () => { + const context: StaticDocsRenderContext = { license: "oss", features: "all", vars: {} }; + const out = await snapshot( + '<div data-cond="premium">\n\nPremium body.\n\n</div>\n\n<div data-feature="x">\n\nFlag body.\n\n</div>\n', + undefined, + context, + ); + assert.doesNotMatch(out, /data-cond|data-feature/); + assert.match(out, /<PremiumNote>[\s\S]*Premium body\.[\s\S]*<\/PremiumNote>/); + assert.match(out, /<ExperimentalNote flag="x"[\s\S]*Flag body\.[\s\S]*<\/ExperimentalNote>/); +}); + +test("e2e: the links a gate's tags carry in the twin are under the base path", async () => { + const out = await snapshot( + '<div data-cond="premium">\n\nBody.\n\n</div>\n\n<div data-feature="x">\n\nFlag.\n\n</div>\n', + "/beta-docs", + ); + assert.match(out, /\[Learn about licensing\]\(\/beta-docs\/admin\/licensing\/\)/); + assert.match(out, /href="\/beta-docs\/install\/releases\/feature-stages\/"/); + assert.doesNotMatch(out, /\]\(\/(?!beta-docs\/)/); +}); diff --git a/packages/docs-transforms/src/processed-markdown.ts b/packages/docs-transforms/src/processed-markdown.ts index 173c7f17..56afc585 100644 --- a/packages/docs-transforms/src/processed-markdown.ts +++ b/packages/docs-transforms/src/processed-markdown.ts @@ -16,8 +16,6 @@ * README for what the snapshot deliberately does NOT do: it is taken before * the rehype stage, so `rehypeSanitizeCoderDocs` has not run over it. */ -import { defaultHandlers } from "mdast-util-to-markdown"; - /** A URL that names something outside this site, left exactly as authored. */ function isExternal(url: string): boolean { // A scheme (`https:`, `mailto:`, and anything else), a protocol-relative @@ -57,39 +55,10 @@ export function twinHref(basePath: string, url: string): string { } /** - * The `includeProcessedMarkdown` value a docs collection passes, carrying - * `basePath` into every URL the snapshot holds. - * - * The handlers rewrite a COPY of each node rather than the node itself: this - * runs inside the remark phase on the same tree that then compiles to the - * page component, so mutating a node here would move the rendered page's - * links too — and those already get `basePath` from Next. + * The `includeProcessedMarkdown` value a docs collection passes. The base path + * reaches the snapshot through `createCoderMdxOptions({ basePath })`. */ -export function processedMarkdownOptions(options: { basePath?: string } = {}) { - const basePath = options.basePath ?? ""; +export function processedMarkdownOptions() { // Fumadocs' `[#id]` heading syntax is noise to the plain-Markdown readers a twin serves. - if (basePath === "") return { headingIds: false }; - const href = (url: string) => twinHref(basePath, url); - return { - headingIds: false, - handlers: { - link: (node: { url: string }, ...rest: unknown[]) => - (defaultHandlers.link as (...args: unknown[]) => string)( - { ...node, url: href(node.url) }, - ...rest, - ), - image: (node: { url: string }, ...rest: unknown[]) => - (defaultHandlers.image as (...args: unknown[]) => string)( - { ...node, url: href(node.url) }, - ...rest, - ), - // Reference-style links (`[text][id]` with `[id]: /admin` below) carry - // their URL on the definition, not on the link. - definition: (node: { url: string }, ...rest: unknown[]) => - (defaultHandlers.definition as (...args: unknown[]) => string)( - { ...node, url: href(node.url) }, - ...rest, - ), - }, - }; + return { headingIds: false }; } diff --git a/packages/docs-ui/src/scroll-table.tsx b/packages/docs-ui/src/scroll-table.tsx index f133a4b3..1615d581 100644 --- a/packages/docs-ui/src/scroll-table.tsx +++ b/packages/docs-ui/src/scroll-table.tsx @@ -85,7 +85,7 @@ function regionName(wrapper: HTMLElement, captionId: string): RegionName { return { "aria-label": names.get(wrapper) ?? "Table" }; } -// fumadocs-ui 16.15.14 `Table` (src/mdx.tsx), made keyboard-scrollable when it overflows. +// Unlike fumadocs-ui 16.17.9's `Table` (src/mdx.tsx), a named tab stop only when it overflows. export function ScrollTable(props: TableHTMLAttributes<HTMLTableElement>) { const ref = useRef<HTMLDivElement>(null); const captionId = useId(); diff --git a/packages/docs-ui/src/tabs.tsx b/packages/docs-ui/src/tabs.tsx index b22cc059..0721a4e3 100644 --- a/packages/docs-ui/src/tabs.tsx +++ b/packages/docs-ui/src/tabs.tsx @@ -10,7 +10,7 @@ export function escapeTabValue(value: string): string { return value.toLowerCase().replace(/\s/, "-"); } -// Container styling of fumadocs-ui 16.15's styled `Tabs`, plus the offset headings scroll with. +// Container styling of fumadocs-ui 16.17.9's styled `Tabs`, plus the offset headings scroll with. export const TABS_CLASSNAME = "flex flex-col overflow-hidden rounded-xl border bg-fd-secondary my-4 scroll-m-28"; diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0e2173f8..9b483977 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,14 +19,14 @@ catalogs: specifier: 1.5.1 version: 1.5.1 fumadocs-core: - specifier: 16.15.14 - version: 16.15.14 + specifier: 16.17.9 + version: 16.17.9 fumadocs-mdx: - specifier: 15.4.4 - version: 15.4.4 + specifier: 15.4.10 + version: 15.4.10 fumadocs-ui: - specifier: 16.15.14 - version: 16.15.14 + specifier: 16.17.9 + version: 16.17.9 next: specifier: 16.4.5 version: 16.4.5 @@ -115,13 +115,13 @@ importers: version: 2.8.0 fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) fumadocs-mdx: specifier: 'catalog:' - version: 15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) + version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) fumadocs-ui: specifier: 'catalog:' - version: 16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) + version: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) next: specifier: 'catalog:' version: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) @@ -218,13 +218,13 @@ importers: version: 5.3.0 fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) fumadocs-mdx: specifier: 'catalog:' - version: 15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) + version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) fumadocs-ui: specifier: 'catalog:' - version: 16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) + version: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) next: specifier: 'catalog:' version: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) @@ -332,10 +332,10 @@ importers: version: 24.19.2 fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) fumadocs-mdx: specifier: 'catalog:' - version: 15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) + version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) tsx: specifier: ^4 version: 4.23.12 @@ -391,10 +391,10 @@ importers: version: link:../docs-ui fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) fumadocs-ui: specifier: 'catalog:' - version: 16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) + version: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) lucide-react: specifier: 1.46.0 version: 1.46.0(react@19.2.7) @@ -419,7 +419,7 @@ importers: version: 19.2.3(@types/react@19.2.17) fumadocs-mdx: specifier: 'catalog:' - version: 15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) + version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) jsdom: specifier: 25.0.1 version: 25.0.1 @@ -474,7 +474,7 @@ importers: version: link:../docs-config fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6) github-slugger: specifier: 2.0.0 version: 2.0.0 @@ -493,9 +493,6 @@ importers: mdast-util-to-hast: specifier: 13.2.1 version: 13.2.1 - mdast-util-to-markdown: - specifier: 2.1.2 - version: 2.1.2 parse-entities: specifier: 4.0.2 version: 4.0.2 @@ -526,7 +523,7 @@ importers: version: 19.2.3(@types/react@19.2.17) fumadocs-mdx: specifier: 'catalog:' - version: 15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) + version: 15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7) hast-util-to-html: specifier: 9.0.5 version: 9.0.5 @@ -556,10 +553,10 @@ importers: version: 2.1.10(react-dom@19.2.7(react@19.2.7))(react@19.2.7) fumadocs-core: specifier: 'catalog:' - version: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + version: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) fumadocs-ui: specifier: 'catalog:' - version: 16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) + version: 16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3) devDependencies: '@types/mdx': specifier: 2.0.14 @@ -1063,8 +1060,8 @@ packages: '@types/react': optional: true - '@fumadocs/tailwind@0.1.2': - resolution: {integrity: sha512-VppeXgIRXjZMgpf2qijj1hcfxyeYl1s0ok8k6N3jyjiX64M7sDwnt2zGPd6dbfDybgbBvDw6C6J1e42gB5NzsA==} + '@fumadocs/tailwind@0.1.4': + resolution: {integrity: sha512-1LAmuroJ6TJoQodyODRhMC9ThAkfrV2N5vZjaj4KKs+dpF2bs0d/2z0604iMKBLv2BKstR7zE9TUa/L0pxGnhA==} peerDependencies: tailwindcss: ^4.0.0 peerDependenciesMeta: @@ -2186,11 +2183,11 @@ packages: '@radix-ui/number@1.1.3': resolution: {integrity: sha512-Road2bidD0uu/1BGDOWNdPI06g0lIRy6IF9GZcIrDK2KGItfor8IQwQa+yM2ERgHM1MmHxaxpTzk0/Jp42lNfA==} - '@radix-ui/primitive@1.1.7': - resolution: {integrity: sha512-rqWnm76nYT8HoNNqEjpgJ7Pw/DrBj5iBTrmEPo6HTX5+VJyBNOqTdv4g89G63HuR5g0AaENoAcH7Is5fF2kZ8Q==} + '@radix-ui/primitive@1.2.0': + resolution: {integrity: sha512-KABY+VMIRPJL+Vyzv/335FEhXXD/xDv8BMb1kl48/aXJZMH0LtHCTx5ga5RnxaEP3nZHtmTLf1P9vanmFX46bw==} - '@radix-ui/react-accordion@1.2.20': - resolution: {integrity: sha512-jDhG9FvAEnlhnjrsINbNXcUa4G+L1KqSkJSunkbKEzFRcAb52jvM0PjPxPRvhe1HNc5F5yc0yzzWeeqlH4yBIg==} + '@radix-ui/react-accordion@1.3.1': + resolution: {integrity: sha512-lCZ6sbGS/7WO0j84yx4srIgOf0MRJ/sZ13RonADXxvKBym8xrxNCq5f6DibGcr38sIlwPk8/52uYdXeOPsbEDw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2202,8 +2199,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-arrow@1.1.15': - resolution: {integrity: sha512-v4zggRcjadnI+ClKDuijlQEW4tw3NoaeHc/PwpKnLoLLKNUG4InLegkstooLcRIUWCs+8L22dGURCVuFfOKfnA==} + '@radix-ui/react-arrow@1.1.17': + resolution: {integrity: sha512-67jjcVvxjXCCStnTW3Z+M7jmaFMuMR7M2JgpDzH4w7JSRrikmzhjfYgP/09ECb8n7whnsgh1ifJ+Ie96qEj+pQ==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2215,8 +2212,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-collapsible@1.1.20': - resolution: {integrity: sha512-mcGesGplBnzN2sbvJETzpCNfSMyPnb29q1GRLU+Ib7bJrpIG2ywmRoh2V5VbA2uNvKikKUlVbAPks7JDjz4A8Q==} + '@radix-ui/react-collapsible@1.2.1': + resolution: {integrity: sha512-fSzLb/qy1wuZSxQBcxpW0hNXYHDMWiIXDGyJGdA4+FSLknOWZsNRrTCUavxb4PI8b8lvHo/CysO6NVi5zLpo5g==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2228,8 +2225,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-collection@1.1.15': - resolution: {integrity: sha512-9W+B9NPF0NaaPh/1NJd3+KqsnlLqU9H7T2rvww+fp+T/evVXdNAyYcnfRQZFOjkR1ajQp3yORlqnI8soawLvNA==} + '@radix-ui/react-collection@1.2.0': + resolution: {integrity: sha512-+yiQzqcc7Sy7/5s0jrMCjpPRFB3538VNrXPWdTLZhE/SCfgEws4aI6lHWN/vvcnyhHndROWBzqmqB4QBrITZ9Q==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2250,8 +2247,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-context@1.2.2': - resolution: {integrity: sha512-RHCUGwKHDr0hDGg4X7ma4JG4/+12qxw8rkh5QKdDldlCvtja6nUx1Ef/8HVrJze81lEsgLQlqjzjGNHantgnQA==} + '@radix-ui/react-context@1.3.0': + resolution: {integrity: sha512-v5AYEocMISkbJ+1fTXzZpiFv7NRr3D2WiYbLIKf+FkmJ8VkP6d503eV2n34MFussHXY1pcoq3yfJiQH77dc4Mg==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2259,8 +2256,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-dialog@1.1.23': - resolution: {integrity: sha512-Ksw4WeROkO4rC9k/onilX/Ao2Cr1ku1unMNH+XSCcP4jSXYu7HDsg9n4ojMjVb22XpYjAQ9qfrFlVbru1vXDUA==} + '@radix-ui/react-dialog@1.3.1': + resolution: {integrity: sha512-+0E4qvVTwjAWra9sEhJ+9BTsvHE00zkUuNw1VGh7S+Gc13dfYk+S1PVQdchWDj+XYHhAai7Z7IpzXVDCGsDplg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2272,8 +2269,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-direction@1.1.4': - resolution: {integrity: sha512-5pzg4FGQNpExhnhT2zlrP1wZFaYCd1K0nYWoFAdcYoYK868IEigqMX3B3f8yIoRlAhAeDWciLI6ZdCKHF9P4Vg==} + '@radix-ui/react-direction@1.2.0': + resolution: {integrity: sha512-FtRA52a/r+LKStFT+neLUm+8vSe7wbzkbQGGeU8ixFiwC8NU14Evoq9ATECqL3eGbcUzJR4fyfA4KkK/q6dfqg==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2281,8 +2278,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-dismissable-layer@1.1.19': - resolution: {integrity: sha512-8g4pfOL9HoKKLWGiypT+dphVqjFfmcXO5GBnhsG6zI+lxAx/8feQpr+1LSN8Re3hiZ+XkLNS4O9ztK11/LzQ6w==} + '@radix-ui/react-dismissable-layer@1.2.1': + resolution: {integrity: sha512-KIfDcAsx+oVylFZ4xryVKusJUrLLhTQmfnJW4kwk4Km5myvhHCrj04hnWWUC166+xD4DHdH8tQGylwYX1h6+Pg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2294,8 +2291,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-focus-guards@1.1.6': - resolution: {integrity: sha512-RNOJjfZMTyBM6xYmV3IVGXkPjIhcBAuv48POevAXwrGJhkWZ9p1rFoIS1JFooPuT193AZmRsCPhpoVJxx6OPoQ==} + '@radix-ui/react-focus-guards@1.2.0': + resolution: {integrity: sha512-MPm5R0iRGUDrDnPNxmLBkv+X7pN4XKzt+MbWJEuJQsH3NFH4omrbpXpucyYCCKTSt+na/ZxGhEWQrWTZ0285cA==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2303,8 +2300,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-focus-scope@1.1.16': - resolution: {integrity: sha512-wmRZ2WWLvmt6KHy2rNPOdPUjwq5xOHY02+m+udwJTn0aNIox/rkskAvJTyTLGhPK6KgrUjlJUJpgmx/+wFiFIQ==} + '@radix-ui/react-focus-scope@1.3.1': + resolution: {integrity: sha512-ugeMhbXt4y5S2T1GnIqbWDKEN962PDwnX1fN0eKOOgf5f63Dh2mn8F1FUySlgW0iF6GiVsRF32DzuDIWTUyQJg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2325,8 +2322,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-navigation-menu@1.2.22': - resolution: {integrity: sha512-ou7iLEJ+yrhQndkkA4U21XIdS/CS45F4iXIkTZcb6/Ne9EMsOuDudVmCwmDnfFZZ+y1FZqXRNSIgBy+YMvZVZg==} + '@radix-ui/react-navigation-menu@1.4.1': + resolution: {integrity: sha512-XPPZjkeyCSMNNvt0FyDv/PUauG7Ow4GwHQ/XZSwW36F/TS7rR4HFTsXH8ewLnXTOLn3x96/pmTPNQIVoTX/86g==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2338,8 +2335,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popover@1.1.23': - resolution: {integrity: sha512-mw58MrBlyHWFisTOYignD0vf/3gdcgAR+9of1s9G/38CbFiUwH1nCDkc0AUM9IrXFgN5Ue8n45j9WCgyM1sbiQ==} + '@radix-ui/react-popover@1.3.1': + resolution: {integrity: sha512-ZNxvXRx5W2Wos4fXCXb5lpdqN0Z5chf+mStOUOTr4ik7d+62MRvoe9rzCA/eGNg36lxXqSrKEKmwuZEcUrIstw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2351,8 +2348,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-popper@1.3.7': - resolution: {integrity: sha512-UsJrrd7w4wuKKTdvd/DNERVlwSlUcyXzjhyDwBk+3aPOsCjOY6ZSbxuw8E6lZTjjfP8Cpd0J8VVkrYUWyGYXyg==} + '@radix-ui/react-popper@1.4.0': + resolution: {integrity: sha512-yCWRvLeGv9Pz3+efwHqGPp70mZ56r3kfIgQVF56Oj2aAa4uP/Tb+IE59wNcc+758rctqbCKx4LbK8II/r7Bn0Q==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2364,8 +2361,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-portal@1.1.17': - resolution: {integrity: sha512-vKQLcWypUnwZVvfV7UkGahH2g6ySe8M8R+zYBwPrv5byZ9QAW6cQVvNKo7GgmD+p8aYb6D9JBuvy8/WhOno2wQ==} + '@radix-ui/react-portal@1.2.0': + resolution: {integrity: sha512-StX7xXnaRU41VvFtMm9zlhVGz8XF6GmWWTXftkQaY+tqVkbs/R9UmAp5mLzHHapk5hM9RMZQvO/3usyIP/g42g==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2377,8 +2374,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-presence@1.1.10': - resolution: {integrity: sha512-3wyzCQ6+ubRA+D4uv9m95JYLXxmOHp05qjrkjeA7uKHHtjpPggQzc6DAb0URl7j67oR0K2foO4ip27TiX037Bw==} + '@radix-ui/react-presence@1.1.11': + resolution: {integrity: sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2390,8 +2387,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-primitive@2.1.10': - resolution: {integrity: sha512-MucOnzh6hR5mid6VpkbglRAMYMjKLqRnGBbjXkzjK52fuQDd1qbkx78a5P40mkcnVXJdEVxm26E9OPAiUq7nBg==} + '@radix-ui/react-primitive@2.2.0': + resolution: {integrity: sha512-HCTSPMNqv55Qk0IX4geJbpyXazmqulcimwuyjxTkKi29v+QZbG2Zho9BnbBq4YS2PF+KlNb2CXoLz66uUmblkg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2403,8 +2400,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-roving-focus@1.1.19': - resolution: {integrity: sha512-V9jI6hDjT7l3jsCQD9bLNvDLM3tH/gdbOTp7Tefp3hbbgCGQoK7tUvrWiRlcoBHIZ809ElXwNQwVo0B98LuTXQ==} + '@radix-ui/react-roving-focus@1.2.1': + resolution: {integrity: sha512-UwraORzVUeEPMclhO1p0vz0qI+TbdDLO9i+FiOqhJyHKwdpCRCck9yVEscUnAMIzCiuNoQa8D4A9bIpOPXGt6Q==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2416,8 +2413,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-scroll-area@1.2.18': - resolution: {integrity: sha512-Zn5Cd171wxsO3Dfg8HaW6RifTb9CYTKQJHs/G4+LN1GfmJpaQMZQyQxMprVPHpaz7QY4l9BxK2JwQuzHsXC8nA==} + '@radix-ui/react-scroll-area@1.4.0': + resolution: {integrity: sha512-CFrLqHNejWq5FhKAcj9V/WPGRsol76HBQto81NdOBVFEOqIEkJkKIJt0Z824A/9hHLCtoiR/Kw3euRgzXP2pxg==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2429,8 +2426,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-slot@1.3.3': - resolution: {integrity: sha512-qx7oqnYbxnK9kYI9m317qmFmEgo6ywqWvbTogdj7cL9p3/yx4M48p7Rnw5z3H890cL/ow/EeWJsuTykeZVXP5Q==} + '@radix-ui/react-slot@1.5.0': + resolution: {integrity: sha512-tyYd9ddPXAysAbdbD9eYxgwpCSv6f3PncqVSNKQFSR5lcJVLz3cb/pANDoYrLiHBpXv7skortyUgGUWsYuPPFQ==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2438,8 +2435,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-tabs@1.1.21': - resolution: {integrity: sha512-UKxJlZid7FVtsk/WTxj4i4uSEgj2Au+KBbS7SQyTlzMhhn+86Cz3tISZdTa87bfEfcuvZezf2ZsxD4xuEKtkog==} + '@radix-ui/react-tabs@1.2.1': + resolution: {integrity: sha512-hRoJlode+hg5ZNlR+3tkfkUliIybdTpD5lkAvHQ9yaXseGf7XVO9Ib2GPEIOuaJJbo7YWYbNpDDRfo8Dhf6/xA==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2451,8 +2448,8 @@ packages: '@types/react-dom': optional: true - '@radix-ui/react-use-callback-ref@1.1.4': - resolution: {integrity: sha512-R6OUY2e2fA6Yn6s+VSx5KBV6Nx8LQEhu+cz7LCej18rQ1HLyg9PSC9jP/ZNx0o6FAIK9c0F1kHylzSxKsdlkrQ==} + '@radix-ui/react-use-callback-ref@1.1.5': + resolution: {integrity: sha512-Y5GBf4NKeADoXI1geiMlMuMoURT3k9MizzzKhGb/m55H94aGigZ01PIpkvsO6lML13BA6XYAXSJ6gza7vTn5nw==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2460,8 +2457,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-use-controllable-state@1.2.6': - resolution: {integrity: sha512-uEQJGT97ZA/TgP/Hydw47lHu+/vQj6z/0jA+WeTbK1o9Rx45GImjpD0tc3W5ad3D6XTSR6e1yEO0FvGq6WQfVQ==} + '@radix-ui/react-use-controllable-state@1.3.0': + resolution: {integrity: sha512-TAcBI7bw2ljYCbv4+zuTSd6zICu8pRt6SDN2vJ/Z06K2MXh6I9WYFe/A9ovlFDtR5HVHGm5iDxDoABm/++dbKg==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2514,8 +2511,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-use-size@1.1.4': - resolution: {integrity: sha512-D3anSY15EJoxrihpsXI6SMrmmonnQtR2ni7arO+Lfdg3O95b9hNXxONk8jA5C8ANdF/h5HMAxejgs8PWJ6rlhw==} + '@radix-ui/react-use-size@1.1.5': + resolution: {integrity: sha512-V1McDQkMGzgivwqdu7u96APs7oi0Jvj9LTzgq3WWrDZqxWdAqU9yZnZQqk5OizGFR8badUQwZsrlao7MOlWYOA==} peerDependencies: '@types/react': '*' react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc @@ -2523,8 +2520,8 @@ packages: '@types/react': optional: true - '@radix-ui/react-visually-hidden@1.2.11': - resolution: {integrity: sha512-NFS86RYYZb4/exihaESBGOpMJFz8MGLAfu3mOBSGByVnVPC9JPASfYubxd/8KbkQK0sYAv8lVQDEQukDX/qXvQ==} + '@radix-ui/react-visually-hidden@1.2.13': + resolution: {integrity: sha512-feijiN1oPk4rck4u9Dm9tsU4mT6Wp9oeEEhaz1WUEs1VuqLf8xzsFG+Qk+uWq6TnMH9O+WRECRg0NftyP9E4Fw==} peerDependencies: '@types/react': '*' '@types/react-dom': '*' @@ -2872,36 +2869,36 @@ packages: resolution: {integrity: sha512-qZIXHS84Pa9/KHnVFHjNh6Yk8v+U4Z7xfVPa+Bpa1bArZ8jNHL9NOEigZIb1rOx/KyCw0SDdrzQytcuiFSBmsg==} engines: {node: '>=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0'} - '@shikijs/core@4.4.3': - resolution: {integrity: sha512-QCR4q2ZO/ILJEuwiBMel4wdcTDb1JGwfjKTxPDF6x8ixOaluPrVqIn06C99AcRPhmYlBR56d/Fb+GN58GzExpg==} + '@shikijs/core@4.6.0': + resolution: {integrity: sha512-bfd4OKgvoyXYiYmMRuleA656P4V7M/Du9lcTl38Ngm6KszMj7bq4J1IGZwSYR4c95Tv5UQALtYNWUwaI9UT3xw==} engines: {node: '>=20'} - '@shikijs/engine-javascript@4.4.3': - resolution: {integrity: sha512-FbOjFJp9VLdo1Wevs10BBtVxiTWwNLqZh5Gkhjgda/ioL15YOgeSl9n+6XMa3qRlPQzfhFNe641SrynFHYG0nQ==} + '@shikijs/engine-javascript@4.6.0': + resolution: {integrity: sha512-K0oqxFoL+kEMdz89mHLFO15Tsbv3kFZ6WR1cXZKMvLSc+oqaM00A6pyga1qSeXB22dP0tTiSApRcGBaKWsEccg==} engines: {node: '>=20'} - '@shikijs/engine-oniguruma@4.4.3': - resolution: {integrity: sha512-EcOQkxdxGQrc1Row/cC2c96/v1dbZqGnEVu1qTuT/MJmp6+cXCvQussowVmCv5Tqr3KuY3c7IbM6HTW3LJ1k9w==} + '@shikijs/engine-oniguruma@4.6.0': + resolution: {integrity: sha512-aggd6Q7SuJOXNnsUbfG2XesxBJKBMAw/PDTUo9PyRjMaaJJ2dNrI+q0C+25ARXAK9yLHAlwxc9oRT2u68YKZ7w==} engines: {node: '>=20'} - '@shikijs/langs@4.4.3': - resolution: {integrity: sha512-ePic0yfAJGOF83D5wBHK/00EjK65oahBYxFk5epgq33WRv7X9UuxLEV8PtR0szC0z8dl7INIpIodB99JRFlR+A==} + '@shikijs/langs@4.6.0': + resolution: {integrity: sha512-1yMEX3oCVV54LUq/ovfpRkDQoYDkcvjSWFFa/YLUDMiSoRzMi2uxLJYbv41ahT8Lu9lFMaa7hecd3Q39trqUyg==} engines: {node: '>=20'} - '@shikijs/primitive@4.4.3': - resolution: {integrity: sha512-m0wBeLDQDeIxRdUmrCPdQqfuUamDwRL5isCfYbguKD6NiaKpVbsv+3J81DyIKgNW5h4WAIIr8T4EkgQrBBxvaQ==} + '@shikijs/primitive@4.6.0': + resolution: {integrity: sha512-c54+TQEo9ToqgfL/AU8FpjnV09+GA9Oa7M5ROkkXteZfp5XzpAJGXjjvZQFQioJOwm/w/6Z3lIzQstAkl8coag==} engines: {node: '>=20'} - '@shikijs/themes@4.4.3': - resolution: {integrity: sha512-w8UHjeUnIR965KMWJHUPXOc2mNJUnK3vpVLYLvw5IYU2mnTTJ89E24OrJDBNiJDQ0qzb0tc4l7mrIXx5cFeIyw==} + '@shikijs/themes@4.6.0': + resolution: {integrity: sha512-qHAVAs80RiGD+IRuH9G+JPDOEc9A/kHsng4EzCUCwB9bLzW6Z0y9WETh2YyCcADJBmfrIaJ1Jp7KBNP6FHkgtQ==} engines: {node: '>=20'} - '@shikijs/types@4.4.3': - resolution: {integrity: sha512-UEJxmRR++MAGR6hugn0vgVS2W/6lWAts84FFSrnlH9sP0LNol7E5+NQ792pH8liWUhyMyjhTgSUH3k7iD7tc5g==} + '@shikijs/types@4.6.0': + resolution: {integrity: sha512-+ENG1adsKt/X7cRYw1Nl7BEpBmPOjmQ7bR/eGmHuMlT8gtOFf3KEi5l31DJYyAWhW6Y6bjP1plU7FmaxWGENFw==} engines: {node: '>=20'} - '@shikijs/vscode-textmate@10.0.2': - resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==} + '@shikijs/vscode-textmate@10.1.0': + resolution: {integrity: sha512-cVBuhDQjBZaNMTwBquYfPydrUP+E3hE6oYGasx8h6ZrODIM7/r+gxLDXdd66oszbrggZHEntdE6j+5gYIVyMWQ==} '@sinclair/typebox@0.25.24': resolution: {integrity: sha512-XJfwUVUKDHF5ugKwIcxEgc9k8b7HbznCp6eUfWgu710hMPNIO4aw4/zB5RogDQz8nd6gyCDpU9O/m6qYEWY6yQ==} @@ -3333,86 +3330,74 @@ packages: '@workflow/serde@4.1.0-beta.2': resolution: {integrity: sha512-8kkeoQKLDaKXefjV5dbhBj2aErfKp1Mc4pb6tj8144cF+Em5SPbyMbyLCHp+BVrFfFVCBluCtMx+jjvaFVZGww==} - '@yuku-analyzer/binding-android-arm64@0.10.2': - resolution: {integrity: sha512-xt4Vy3RTBw1NfszBlf4A0Rr6ZjA/th2Pj9XlWFLQHW9A1qOCtxNCoIWSzn/INtnZLMB4jO2gWdEtSaHUtK73wA==} + '@yuku-core/binding-android-arm64@0.19.0': + resolution: {integrity: sha512-wdL2XmTiZixAOaHk9Z0JJZ8u9Qm8d333Zjpc6gaxXFX+UR5BlsfxZ7a2+2Rm71pamppsPYGUGFq2oVLbh6DISw==} cpu: [arm64] os: [android] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-darwin-arm64@0.10.2': - resolution: {integrity: sha512-ftokSqvYXZxfmA/bfIbp8c1BJ8QxNax371kUOQNFyvR5hmtKqQyTqSKtMk+WaixHM3w4tKj/JdyY+ud1bGamXA==} + '@yuku-core/binding-darwin-arm64@0.19.0': + resolution: {integrity: sha512-7sNJa6XJhyetnTy64jw3NEi4YgUcezHk1G5GH9FSvXAuC8wIlbaOwT9lgq5qo5sspjrZJQlBR1TWflP49uRpMw==} cpu: [arm64] os: [darwin] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-darwin-x64@0.10.2': - resolution: {integrity: sha512-yUrmmhmF5R4Xmbfo8gUxJKr3YbvbLcE2JvLhDLzFJkMN29/fGm6K3dZX6YpNecfgBDnQ+VywGp8K9xjRaBFZ3Q==} + '@yuku-core/binding-darwin-x64@0.19.0': + resolution: {integrity: sha512-pTC7dYEc59isdyizc3nsuyFNBu2LU5wMYZ1be6UMr59PY/AJNtO1aBLWV0MgL/z7C1nv/2sX4TNjGgKLoeevJw==} cpu: [x64] os: [darwin] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-freebsd-x64@0.10.2': - resolution: {integrity: sha512-cy9+KvVoK5Xad3Vs5pLwAeZf3JC/1y0XJElgv1q6g7W7g/n52FRjedpYmQiJeMZdnhJiAshq7Vz/Xj3jC5Ns2Q==} + '@yuku-core/binding-freebsd-x64@0.19.0': + resolution: {integrity: sha512-xrZjF6XOEwyLOiDIfrwDdRCS6ghxcJeirNC1KivQhVcUwlRonaU79S3/Uiyx3lBylPnT8qKJ3/aMT+H52nGTJQ==} cpu: [x64] os: [freebsd] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-arm-gnu@0.10.2': - resolution: {integrity: sha512-AgVZ6VCV2XP4yHCwyv78KLV76gcu2neiEF2+RBTPQN7sqYY+bLvMxphGPmfG+9qk5Uf1PJAhZYIUnMGVbbRCZw==} + '@yuku-core/binding-linux-arm-gnu@0.19.0': + resolution: {integrity: sha512-0OyIH53C0I1CbADHn9FSdCfX5qbpeLwJhmOVhonFJNYheybOnkSJ50qGMfTJIb8y5zrwqvLs7FVBvz6Fk8maZg==} cpu: [arm] os: [linux] libc: [glibc] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-arm-musl@0.10.2': - resolution: {integrity: sha512-5qAj2GjoSN6+HuH75+g5r40CFhWmMvH0K8VKWmPfQyOgA/LonoDMr5H5O5feJwzdnfdCytPDAh1RAf7/SSg7dg==} + '@yuku-core/binding-linux-arm-musl@0.19.0': + resolution: {integrity: sha512-z/iPfkCOCSXE34VXNt0uP1ORSW+4mEa9b5CiJcWZeqZH08g49bFU/jRM2T04f+Wpw5mJ6HIzNBiojxeAbrHjeg==} cpu: [arm] os: [linux] libc: [musl] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-arm64-gnu@0.10.2': - resolution: {integrity: sha512-eJvQ4Ja5oPf/HOjmBkCLYyhOHUkL7U+iMAN8sX44x8exBBpPRyqnhEgTsuU73HzxPLrGPdRhybFnAE63Omib/Q==} + '@yuku-core/binding-linux-arm64-gnu@0.19.0': + resolution: {integrity: sha512-jLNTi+gzaRwBJ+gwhCJ+rDb5dmx/8hEBx93UWd7hjMSqPTL1D1wvVSvXVAldV5kALvju7b0/m51EHEhs4+I1fA==} cpu: [arm64] os: [linux] libc: [glibc] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-arm64-musl@0.10.2': - resolution: {integrity: sha512-TppF2j194mOQ/kBXvNr9u5TYO+eR9r8ieg4lTIEyJIVYHAR9GWeB0oFHLcJiLXVa3qUJGzE4bmzSntCW5ylA7A==} + '@yuku-core/binding-linux-arm64-musl@0.19.0': + resolution: {integrity: sha512-YwyPIdW/rN2Fmv0MTFWi47FaB3F9g+2b+sJISyAw83Yd60RWH4T3Nx6XkAHHVN+uKJNBAd6So7/BVihSiFYvuQ==} cpu: [arm64] os: [linux] libc: [musl] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-x64-gnu@0.10.2': - resolution: {integrity: sha512-03xu6ocJuwhm1a/JKmrHiaJUO1Oj86rABsm4FAl8AvfewfW/9idIUmPiFxZfb6RfiIONegebsTGJhFx0NbBNpA==} + '@yuku-core/binding-linux-x64-gnu@0.19.0': + resolution: {integrity: sha512-/vskaAXVX3ESR43FiTdfiYS7z1b9uoQJwVQ/0RgUHgN2sWoAyCZs+aX4CgU7eKGIHTVfp9VFwv+c+2XchYiEtQ==} cpu: [x64] os: [linux] libc: [glibc] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-linux-x64-musl@0.10.2': - resolution: {integrity: sha512-f7W2sAWWQN8x8YB0RRxIche7mLImH7lDgzUy9+B69cM2I6VFJ4a5+0pgAuMLROPOqimaxFPdXqLdDE/vpgGltg==} + '@yuku-core/binding-linux-x64-musl@0.19.0': + resolution: {integrity: sha512-FuXL5igeSKib9Rye02TdH+D6SQezTyGxIATMu1Qsn/QywrzwpGl35OLpS2C1x5vpGLeVE2XgiLd5mVPFHmIglQ==} cpu: [x64] os: [linux] libc: [musl] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-win32-arm64@0.10.2': - resolution: {integrity: sha512-f534qNc5YaJI29e1oryxEnxPkp7WCYJ1j7ChSec8pQNlYqTm8Tao7hij7NxRF+9BuxzeZCZ+WsbaAfLlklR0Eg==} + '@yuku-core/binding-win32-arm64@0.19.0': + resolution: {integrity: sha512-YuJAe7zEKT1Xa7LuHlhGJpPnYQeVtvo0rZvNjJRqkH0hQGOw4C8QeP30Tg5VKGzZfo2x8CjhjEhKt4TmLwfmdg==} cpu: [arm64] os: [win32] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-analyzer/binding-win32-x64@0.10.2': - resolution: {integrity: sha512-sKHkmLK8BsindMfyIThoN0bWC5uqSJEVNaLRD/ifA99mtb0UDin1ZCg4WYSVQAmM4k2iOTl4UZx/p3zcBiBgYw==} + '@yuku-core/binding-win32-x64@0.19.0': + resolution: {integrity: sha512-o8iY/mXwlRkedp0LNTr4+TEfXTPQwoNZmv6k+1WIAd1ZXEn8xJJTBCtB0osaVvdZo/x/cNmV16UrWrrGpM5Mvw==} cpu: [x64] os: [win32] - deprecated: yuku-analyzer runs on yuku-core since 0.14 - '@yuku-toolchain/types@0.10.2': - resolution: {integrity: sha512-sSeo4SSSToiS+sSD+bwn/s94EEcaLJ7tG5LCp8gFYC1G5VzxzX7fqB6m9RU1yMD8KTpu6zdU/I1NlQf8hVBJ9Q==} + '@yuku-toolchain/types@0.19.0': + resolution: {integrity: sha512-tFkNbsP4WXX9UMUC5syJGdK9dPMLK0PPaIuXCcCYH75sZ8MrebfBZ2XvCILRTw8AgLivSSCfDa4R67iYBDa4Kg==} abbrev@3.0.1: resolution: {integrity: sha512-AO2ac6pjRB3SJmGJo+v5/aK6Omggp6fsLrs6wN9bd35ulu4cCwaAU9+7ZhXjeqHVkaHThLuzH0nZr0YpCDhygg==} @@ -3585,9 +3570,9 @@ packages: resolution: {integrity: sha512-mxIojEAQcuEvT/lyXq+jf/3cO/KoA6z4CeNDGGevTybECPOMFCnQy3OPahluUkbqgPNGw5Bi78UC7Po6Lhy+NA==} engines: {node: '>= 14.16.0'} - chokidar@5.0.0: - resolution: {integrity: sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==} - engines: {node: '>= 20.19.0'} + chokidar@6.0.0: + resolution: {integrity: sha512-Ec2Z7wpcKBiMpR7DxteoqS/sq5G5d2A4fpxzPv6+fD7xNNdrTghn7L11YwV5EN1B3i72Erc3XVT5FkWIDx90+A==} + engines: {node: '>= 22.22'} chownr@3.0.0: resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==} @@ -3606,9 +3591,9 @@ packages: resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==} engines: {node: '>=6'} - cn@0.3.3: - resolution: {integrity: sha512-OEiyJkSpYm2kOuNOKQ+c2wmzZRG8orrb9fnObtHTbCGNx/E9KLnGcmcocItOzREKk5KzQN5I2e3BUCj563KEpw==} - engines: {node: '>=20'} + cn@0.5.2: + resolution: {integrity: sha512-wm10E6iuJ37rALOw3D+3cfaXXZSLNMh2uxpQn3dNICqfJM59yXqgbA9/9Iiz155j5kYNLdK6WreNdW3NQtx3OQ==} + engines: {node: '>=22'} hasBin: true code-block-writer@10.1.1: @@ -3924,16 +3909,19 @@ packages: resolution: {integrity: sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==} engines: {node: '>= 6'} - framer-motion@13.4.4: - resolution: {integrity: sha512-lbsZO95NGbulo6apz70zEt6Vxf/anoRwQI2ECEc/EQYWO5CGbITtl7plDW8P/VXgXw6e8wrbhH4a9i+ygke0Mg==} + framer-motion@14.14.0: + resolution: {integrity: sha512-fidRX0VzkZdA9OovFiBSzJtt9/jLcJpna78Z+KCqQQZIWoIpN3tOhEXAhhAw/FObUUh+o3Y18yx1F4BP0mVJ8Q==} peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 + remix: ^3.1.0 peerDependenciesMeta: react: optional: true react-dom: optional: true + remix: + optional: true fs-extra@11.1.0: resolution: {integrity: sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==} @@ -3948,14 +3936,15 @@ packages: engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} os: [darwin] - fumadocs-core@16.15.14: - resolution: {integrity: sha512-2Jov3x/wCkz8C8MWpmWHoWyLn+pBNrER49m35qqAV0OZekVE8mgs71TS6OfgJHzO00jICkIB+NFhv/XQx/yf/Q==} + fumadocs-core@16.17.9: + resolution: {integrity: sha512-wm1edebXSWlKPa6WTGzXujC7MMMHSInYQW5fUI/kO8PJA06w+ia2uHVdBpVD+jrddFF2+5iymuWAdGs1LGrbyA==} peerDependencies: '@mdx-js/mdx': '*' '@mixedbread/sdk': 0.x.x '@modelcontextprotocol/server': 2.x.x '@orama/core': 1.x.x '@oramacloud/client': 2.x.x + '@pierre/highlights': ^0.2.0 '@tanstack/react-router': 1.x.x '@types/estree-jsx': '*' '@types/hast': '*' @@ -3964,6 +3953,7 @@ packages: algoliasearch: 5.x.x flexsearch: '*' lucide-react: '*' + meilisearch: '>=0.50.0 <1.0.0' next: 16.x.x react: ^19.2.0 react-dom: ^19.2.0 @@ -3981,6 +3971,8 @@ packages: optional: true '@oramacloud/client': optional: true + '@pierre/highlights': + optional: true '@tanstack/react-router': optional: true '@types/estree-jsx': @@ -3997,6 +3989,8 @@ packages: optional: true lucide-react: optional: true + meilisearch: + optional: true next: optional: true react: @@ -4010,15 +4004,15 @@ packages: zod: optional: true - fumadocs-mdx@15.4.4: - resolution: {integrity: sha512-aSk5T8yB67YDDnTctlP0qq1U7jaAtoq5jVgiYALUd3BcJ+nkIAFcdeq0gGwJku02CZ+KJ4T4xdVr+s6x1n81MA==} + fumadocs-mdx@15.4.10: + resolution: {integrity: sha512-myAtUxJ174py2fK5l4m608zfVEPQzB8UpjahcdegJWt7C1AfcsTn+M7aBziSShYgn9UvrBZJMLR8PgPPk6c+Sg==} hasBin: true peerDependencies: '@fumadocs/satteri': 0.x.x '@types/mdast': '*' '@types/mdx': '*' '@types/react': '*' - fumadocs-core: ^16.15.3 + fumadocs-core: ^16.17.8 mdast-util-directive: '*' next: ^15.3.0 || ^16.0.0 react: ^19.2.0 @@ -4047,12 +4041,12 @@ packages: vite: optional: true - fumadocs-ui@16.15.14: - resolution: {integrity: sha512-yYnun6im7eBK3gMrErl69QRt+C7/KV5exZFFnoOnRx3HRi9WwAgPtAhwNhFIx1gAYLioSaSjP12+ZrpH9x2b7w==} + fumadocs-ui@16.17.9: + resolution: {integrity: sha512-o7frzKmmj8zeLC16OJ3NIIazMUMGsCgymHamKnEeKuNHPGSyLRalhVkXQDLjaaQiVL9IrVjuEEm1IIu3NkqEtw==} peerDependencies: '@types/mdx': '*' '@types/react': '*' - fumadocs-core: 16.15.14 + fumadocs-core: 16.17.9 next: 16.x.x react: ^19.2.0 react-dom: ^19.2.0 @@ -4162,6 +4156,9 @@ packages: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} + hast-util-from-dom@5.0.1: + resolution: {integrity: sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==} + hast-util-from-parse5@8.0.3: resolution: {integrity: sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==} @@ -4183,6 +4180,9 @@ packages: hast-util-to-html@9.0.5: resolution: {integrity: sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==} + hast-util-to-html@9.0.6: + resolution: {integrity: sha512-1SZUxCN3TtJAE7e2BQN2MBHsoZ1gnmi9GoCP5Di59CSWptIezSAW09yDZyVbanb78V9eCwrKqdQsjtfVTxYHWA==} + hast-util-to-jsx-runtime@2.3.6: resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==} @@ -4494,10 +4494,14 @@ packages: peerDependencies: react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 - lucide-react@1.48.0: - resolution: {integrity: sha512-R0CIKY/fXiC6y9xRBADgsK+VW2p/pcTJOMhLZf1T+uG+vJUvyUR02nGOgmIIC7MPkiNK4Ox8QDnbqF8rJYWPZQ==} + lucide-react@1.73.0: + resolution: {integrity: sha512-fVOzGviL9mTfHenG1PbCfIceavyGlnpYNSYr+aGZHLRymAJ7DTP6KHuqt0uBkCKAoenr1UVkwSbDIYt2xIesEQ==} peerDependencies: + '@types/react': '*' react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 + peerDependenciesMeta: + '@types/react': + optional: true luxon@3.7.2: resolution: {integrity: sha512-vtEhXh/gNjI9Yg1u4jX/0YVPMvxzHuGgCm6tC5kZyb08yjGWGnqAjGJvcXbqQR2P3MyMEFnRbpcdFS6PBcLqew==} @@ -4509,6 +4513,9 @@ packages: magic-string@1.4.1: resolution: {integrity: sha512-8lyCu36ErXR0J9uaGKlKQoiLZKmtI63YGLE8G2o9jyRPdr4X47LusSOwgOJOzcVtp81fTAAjxR7BwKz682Jhow==} + magic-string@1.4.5: + resolution: {integrity: sha512-oLLC2+YvQUfAa+vxoufE/yc1icb87M9iXIRqAoR/2EhE/8cb3SF/+Gi0c2By1B+5Vz2e2vQtUvHiu1+63Znh+w==} + markdown-extensions@2.0.0: resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==} engines: {node: '>=16'} @@ -4605,6 +4612,9 @@ packages: micromark-extension-gfm-table@2.1.1: resolution: {integrity: sha512-t2OU/dXXioARrC6yWfJ4hqB7rct14e8f7m0cbI5hUmDyyIlwv5vEtooptH8INkbLzOatzKuVbQmAYcbWoyz6Dg==} + micromark-extension-gfm-table@2.1.2: + resolution: {integrity: sha512-pRzm4kDTu0MjlmBkxmS9yYhw60nncfcEwu9NNdPFSQEFXS95ZKyIIyTSHu/o3ReBUrLKYEq+7YaXCRn/bPB4MA==} + micromark-extension-gfm-tagfilter@2.0.0: resolution: {integrity: sha512-xHlTOmuCSotIA8TW1mDIM6X2O1SiX5P9IuDtqGonFhEK0qgRI4yeC6vMxEV2dgyr2TiD+2PQ10o+cOhdVAcwfg==} @@ -4665,6 +4675,9 @@ packages: micromark-util-decode-string@2.0.1: resolution: {integrity: sha512-nDV/77Fj6eH1ynwscYTOsbK7rR//Uj0bZXBwJZRfaLEJ1iGBR6kIfNmlNqaqJf649EP0F3NWNdeJi03elllNUQ==} + micromark-util-edit-map@1.0.0: + resolution: {integrity: sha512-Pa2ljlsEL6sVwFaYeyrOLSYbQt73JvGbPOYFq+9AElXiSnfI5Q4465RRZ1sHv7lDjDOnGRDDaqPXqClqWK/q1Q==} + micromark-util-encode@2.0.1: resolution: {integrity: sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==} @@ -4695,6 +4708,9 @@ packages: micromark@4.0.2: resolution: {integrity: sha512-zpe98Q6kvavpCr1NPVSCMebCKfD7CA2NqZ+rykeNhONIJBpc1tFKt9hucLGwha3jNTNI8lHpctWJWoimVF4PfA==} + micromark@4.0.3: + resolution: {integrity: sha512-oGYfQzHSG5dOMovQcJ3fyTmZlWAWpi0XA0sJwJs+i6OT88o1+Jtw/8z0CmdowSLxGhhFK89rQ/oXph/wN02PNw==} + micromatch@4.0.8: resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==} engines: {node: '>=8.6'} @@ -4735,22 +4751,25 @@ packages: engines: {node: '>=10'} hasBin: true - motion-dom@13.4.4: - resolution: {integrity: sha512-z2qN3RUABSci4G7cr5aHTFhqPNCWJsEMMfRlzxqtANQsSCIbVJmHvMV288m5x7doEQBTYbRTWbKdztmquCn4Sw==} + motion-dom@14.14.0: + resolution: {integrity: sha512-IAxcKhYkuQA2W0Tlx1AvVgImfqEoF3/t3IovbPQJlYkefmGsmrXjn967lMII5VmFmLpQEab4+ZkHo/ijJ4Esig==} - motion-utils@13.3.0: - resolution: {integrity: sha512-sgSschQp7EseHInIlR7hBbMuvet3RA0bs28KPZAXJcGKGdxHGvh1ogpYDilY3bOMtl73EqPNmp75sAKHYPU5sg==} + motion-utils@14.7.0: + resolution: {integrity: sha512-woO0/Nb7ys75f94fjvQi/6leiHGvZUYkeHUPEZ3vxsV+9OpEVhkxp01x8MlRwX0zt31EqgXsKDAoBoJLC148Tw==} - motion@13.4.4: - resolution: {integrity: sha512-lyX5kpAum2MmigecKWrFdIj3Sjn7pHek2EUrXY0WGZbOjJ1f5NfX0g4KQAb2Bp2EqL0a6dUzse11s1n7OYr5jg==} + motion@14.14.0: + resolution: {integrity: sha512-a306U6sV5VKq1abtzKiinB+UQjiY88jrsvQzWORP3WPv/DFANyoYVlPbdnmJPMEbusyPXB4GyQJVANaq/pSIYQ==} peerDependencies: react: ^18.0.0 || ^19.0.0 react-dom: ^18.0.0 || ^19.0.0 + remix: ^3.1.0 peerDependenciesMeta: react: optional: true react-dom: optional: true + remix: + optional: true mri@1.2.0: resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==} @@ -5224,8 +5243,8 @@ packages: resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} engines: {node: '>=8'} - shiki@4.4.3: - resolution: {integrity: sha512-Mb/GvXPHBAXdgGIcnfU5L3ldpn1XcxrGkPHwqgRx17/I2XRfqlFKk2vGkHWINn1kdXvzJZeuO3is6I9KLPFm0g==} + shiki@4.6.0: + resolution: {integrity: sha512-imjLsVHgPuWhvpU3P+zOekvMYqnel7QmKsFC4Sn0fCuAvaaalBsxwKEsrU8Ko5BdFnZA6Go/8a0RzahS634UgA==} engines: {node: '>=20'} signal-exit@3.0.7: @@ -5679,14 +5698,20 @@ packages: yauzl@2.10.0: resolution: {integrity: sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==} - yuku-analyzer@0.10.2: - resolution: {integrity: sha512-UBRcDcZtIn14g88loZUZ123d6MOkc2hMTawUle5MkuWboowM90KbWHN3Zz+HfuS06sw935ygecBpcJlXHB/pOA==} + yuku-analyzer@0.19.0: + resolution: {integrity: sha512-Iu7DV5cWOQ3ERSA7oBquz/RT5IEGsUyUeCivYs9lQaZ4nSjM31yD17mH616JKcTyVoVWYivsFZ+twT3UyBosTA==} + engines: {node: '>=14.18.0'} - yuku-ast@0.10.2: - resolution: {integrity: sha512-UnG9mA6giglCvSErft2/40TVFX750Sj1xgwddPLpG7J7rlr/P1wPADg9G2RK+d/1tNLtRVoLdMMOMVBB9561TQ==} + yuku-ast@0.19.0: + resolution: {integrity: sha512-PyCsiScaelhxBGzL8dyeJkLqvRZycoh78R31Vrt/WqYrm0hMFoKwIw/X7Dx5mBKLWAMlV9I9HEyBOHnj2gZVyw==} + engines: {node: '>=14.18.0'} - zbsearch@4.0.0: - resolution: {integrity: sha512-gm4zfO31n2ZdruTTRQoWVWO4Q2+zrDt2GlrvIc+5JulRQNAm4IanCxER82vQ7Ug96FYkGqWUJBXFe1kGAcDWaQ==} + yuku-core@0.19.0: + resolution: {integrity: sha512-kYK9e1XdfirNhkipzW0wmMcSWcVF/CWnuugodfVYRCUwvoBefweL9HzB96OiKEhsx78V5WbUxbJqlizMX869Qg==} + engines: {node: '>=14.18.0'} + + zbsearch@4.0.4: + resolution: {integrity: sha512-uajYItKQcOP6f1z+XqzJSIx1jQPe7PbXajElh7r60KGc1MoSIn/hH9d++SvtkT78GXrZB4fah/e8Ts8jFh2CGw==} engines: {node: '>= 20.0.0'} zod@3.22.4: @@ -5695,9 +5720,6 @@ packages: zod@4.1.11: resolution: {integrity: sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==} - zod@4.6.5: - resolution: {integrity: sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==} - zod@4.6.6: resolution: {integrity: sha512-4UmzQUF5fxvfcYHlbjBmejU+w+hbDnWFx4aS8kBx7nPBHcO2SqPbpAG8snbdg+Xse4pRefR98hgjFgIMCI/UhA==} @@ -6003,7 +6025,7 @@ snapshots: optionalDependencies: '@types/react': 19.2.17 - '@fumadocs/tailwind@0.1.2(tailwindcss@4.3.3)': + '@fumadocs/tailwind@0.1.4(tailwindcss@4.3.3)': optionalDependencies: tailwindcss: 4.3.3 @@ -6671,43 +6693,43 @@ snapshots: '@radix-ui/number@1.1.3': {} - '@radix-ui/primitive@1.1.7': {} + '@radix-ui/primitive@1.2.0': {} - '@radix-ui/react-accordion@1.2.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-accordion@1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-collapsible': 1.1.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-collection': 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/primitive': 1.2.0 + '@radix-ui/react-collapsible': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-collection': 1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-arrow@1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-arrow@1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-collapsible@1.1.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-collapsible@1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6715,12 +6737,13 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-collection@1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-collection@1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: @@ -6733,26 +6756,26 @@ snapshots: optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-context@1.2.2(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-context@1.3.0(@types/react@19.2.17)(react@19.2.7)': dependencies: react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-dialog@1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-dialog@1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-dismissable-layer': 1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-focus-guards': 1.1.6(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-focus-scope': 1.1.16(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-dismissable-layer': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-focus-guards': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-focus-scope': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-portal': 1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-portal': 1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) aria-hidden: 1.2.6 react: 19.2.7 @@ -6762,18 +6785,18 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-direction@1.1.4(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-direction@1.2.0(@types/react@19.2.17)(react@19.2.7)': dependencies: react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-dismissable-layer@1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-dismissable-layer@1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6781,17 +6804,17 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-focus-guards@1.1.6(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-focus-guards@1.2.0(@types/react@19.2.17)(react@19.2.7)': dependencies: react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-focus-scope@1.1.16(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-focus-scope@1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: @@ -6805,43 +6828,45 @@ snapshots: optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-navigation-menu@1.2.22(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-navigation-menu@1.4.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-collection': 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/primitive': 1.2.0 + '@radix-ui/react-collection': 1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-dismissable-layer': 1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-dismissable-layer': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-previous': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-visually-hidden': 1.2.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-visually-hidden': 1.2.13(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-popover@1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-popover@1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-dismissable-layer': 1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-focus-guards': 1.1.6(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-focus-scope': 1.1.16(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-dismissable-layer': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-focus-guards': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-focus-scope': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-popper': 1.3.7(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-portal': 1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-popper': 1.4.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-portal': 1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) aria-hidden: 1.2.6 react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6850,17 +6875,17 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-popper@1.3.7(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-popper@1.4.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@floating-ui/react-dom': 2.1.9(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-arrow': 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-arrow': 1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-rect': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-use-size': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-size': 1.1.5(@types/react@19.2.17)(react@19.2.7) '@radix-ui/rect': 1.1.3 react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6868,9 +6893,9 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-portal@1.1.17(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-portal@1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6878,7 +6903,7 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-presence@1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-presence@1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 @@ -6887,26 +6912,26 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-primitive@2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-primitive@2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-roving-focus@1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-roving-focus@1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-collection': 1.1.15(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/primitive': 1.2.0 + '@radix-ui/react-collection': 1.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-is-hydrated': 0.1.3(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 @@ -6915,16 +6940,17 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-scroll-area@1.2.18(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-scroll-area@1.4.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: '@radix-ui/number': 1.1.3 - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-callback-ref': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-use-callback-ref': 1.1.5(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -6932,38 +6958,39 @@ snapshots: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-slot@1.3.3(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-slot@1.5.0(@types/react@19.2.17)(react@19.2.7)': dependencies: '@radix-ui/react-compose-refs': 1.1.5(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-tabs@1.1.21(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-tabs@1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 - '@radix-ui/react-context': 1.2.2(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/primitive': 1.2.0 + '@radix-ui/react-context': 1.3.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-id': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-roving-focus': 1.1.19(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-use-controllable-state': 1.2.6(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-roving-focus': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-use-controllable-state': 1.3.0(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: '@types/react': 19.2.17 '@types/react-dom': 19.2.3(@types/react@19.2.17) - '@radix-ui/react-use-callback-ref@1.1.4(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-use-callback-ref@1.1.5(@types/react@19.2.17)(react@19.2.7)': dependencies: + '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-use-controllable-state@1.2.6(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-use-controllable-state@1.3.0(@types/react@19.2.17)(react@19.2.7)': dependencies: - '@radix-ui/primitive': 1.1.7 + '@radix-ui/primitive': 1.2.0 '@radix-ui/react-use-effect-event': 0.0.5(@types/react@19.2.17)(react@19.2.7) '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 @@ -7002,16 +7029,16 @@ snapshots: optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-use-size@1.1.4(@types/react@19.2.17)(react@19.2.7)': + '@radix-ui/react-use-size@1.1.5(@types/react@19.2.17)(react@19.2.7)': dependencies: '@radix-ui/react-use-layout-effect': 1.1.4(@types/react@19.2.17)(react@19.2.7) react: 19.2.7 optionalDependencies: '@types/react': 19.2.17 - '@radix-ui/react-visually-hidden@1.2.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': + '@radix-ui/react-visually-hidden@1.2.13(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7)': dependencies: - '@radix-ui/react-primitive': 2.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-primitive': 2.2.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) optionalDependencies: @@ -7286,45 +7313,45 @@ snapshots: '@sentry/core': 11.9.0 '@sentry/server-utils': 11.9.0 - '@shikijs/core@4.4.3': + '@shikijs/core@4.6.0': dependencies: - '@shikijs/primitive': 4.4.3 - '@shikijs/types': 4.4.3 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/primitive': 4.6.0 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - hast-util-to-html: 9.0.5 + hast-util-to-html: 9.0.6 - '@shikijs/engine-javascript@4.4.3': + '@shikijs/engine-javascript@4.6.0': dependencies: - '@shikijs/types': 4.4.3 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 oniguruma-to-es: 4.3.6 - '@shikijs/engine-oniguruma@4.4.3': + '@shikijs/engine-oniguruma@4.6.0': dependencies: - '@shikijs/types': 4.4.3 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 - '@shikijs/langs@4.4.3': + '@shikijs/langs@4.6.0': dependencies: - '@shikijs/types': 4.4.3 + '@shikijs/types': 4.6.0 - '@shikijs/primitive@4.4.3': + '@shikijs/primitive@4.6.0': dependencies: - '@shikijs/types': 4.4.3 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - '@shikijs/themes@4.4.3': + '@shikijs/themes@4.6.0': dependencies: - '@shikijs/types': 4.4.3 + '@shikijs/types': 4.6.0 - '@shikijs/types@4.4.3': + '@shikijs/types@4.6.0': dependencies: - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 - '@shikijs/vscode-textmate@10.0.2': {} + '@shikijs/vscode-textmate@10.1.0': {} '@sinclair/typebox@0.25.24': {} @@ -7975,43 +8002,43 @@ snapshots: '@workflow/serde@4.1.0-beta.2': {} - '@yuku-analyzer/binding-android-arm64@0.10.2': + '@yuku-core/binding-android-arm64@0.19.0': optional: true - '@yuku-analyzer/binding-darwin-arm64@0.10.2': + '@yuku-core/binding-darwin-arm64@0.19.0': optional: true - '@yuku-analyzer/binding-darwin-x64@0.10.2': + '@yuku-core/binding-darwin-x64@0.19.0': optional: true - '@yuku-analyzer/binding-freebsd-x64@0.10.2': + '@yuku-core/binding-freebsd-x64@0.19.0': optional: true - '@yuku-analyzer/binding-linux-arm-gnu@0.10.2': + '@yuku-core/binding-linux-arm-gnu@0.19.0': optional: true - '@yuku-analyzer/binding-linux-arm-musl@0.10.2': + '@yuku-core/binding-linux-arm-musl@0.19.0': optional: true - '@yuku-analyzer/binding-linux-arm64-gnu@0.10.2': + '@yuku-core/binding-linux-arm64-gnu@0.19.0': optional: true - '@yuku-analyzer/binding-linux-arm64-musl@0.10.2': + '@yuku-core/binding-linux-arm64-musl@0.19.0': optional: true - '@yuku-analyzer/binding-linux-x64-gnu@0.10.2': + '@yuku-core/binding-linux-x64-gnu@0.19.0': optional: true - '@yuku-analyzer/binding-linux-x64-musl@0.10.2': + '@yuku-core/binding-linux-x64-musl@0.19.0': optional: true - '@yuku-analyzer/binding-win32-arm64@0.10.2': + '@yuku-core/binding-win32-arm64@0.19.0': optional: true - '@yuku-analyzer/binding-win32-x64@0.10.2': + '@yuku-core/binding-win32-x64@0.19.0': optional: true - '@yuku-toolchain/types@0.10.2': {} + '@yuku-toolchain/types@0.19.0': {} abbrev@3.0.1: {} @@ -8149,7 +8176,7 @@ snapshots: dependencies: readdirp: 4.1.2 - chokidar@5.0.0: + chokidar@6.0.0: dependencies: readdirp: 5.1.1 @@ -8165,7 +8192,7 @@ snapshots: clsx@2.1.1: {} - cn@0.3.3: {} + cn@0.5.2: {} code-block-writer@10.1.1: {} @@ -8530,10 +8557,10 @@ snapshots: hasown: 2.0.4 mime-types: 2.1.35 - framer-motion@13.4.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7): + framer-motion@14.14.0(react-dom@19.2.7(react@19.2.7))(react@19.2.7): dependencies: - motion-dom: 13.4.4 - motion-utils: 13.3.0 + motion-dom: 14.14.0 + motion-utils: 14.7.0 tslib: 2.8.1 optionalDependencies: react: 19.2.7 @@ -8554,27 +8581,27 @@ snapshots: fsevents@2.3.3: optional: true - fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7): + fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7): dependencies: '@fumari/image-size': 0.1.1 estree-util-value-to-estree: 3.5.0 github-slugger: 2.0.0 + hast-util-from-dom: 5.0.1 hast-util-to-estree: 3.1.3 - hast-util-to-jsx-runtime: 2.3.6 mdast-util-mdx: 3.0.0 - mdast-util-to-markdown: 2.1.2 + micromark: 4.0.3 + micromark-extension-gfm-table: 2.1.2 npm-to-yarn: 3.2.0 remark: 15.0.1 remark-gfm: 4.0.1 remark-rehype: 11.1.2 scroll-into-view-if-needed: 3.1.0 - shiki: 4.4.3 + shiki: 4.6.0 tinyglobby: 0.2.17 unified: 11.0.5 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - zbsearch: 4.0.0 + zbsearch: 4.0.4 optionalDependencies: '@mdx-js/mdx': 3.1.1 '@types/estree-jsx': 1.0.5 @@ -8589,34 +8616,34 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6): + fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6): dependencies: '@fumari/image-size': 0.1.1 estree-util-value-to-estree: 3.5.0 github-slugger: 2.0.0 + hast-util-from-dom: 5.0.1 hast-util-to-estree: 3.1.3 - hast-util-to-jsx-runtime: 2.3.6 mdast-util-mdx: 3.0.0 - mdast-util-to-markdown: 2.1.2 + micromark: 4.0.3 + micromark-extension-gfm-table: 2.1.2 npm-to-yarn: 3.2.0 remark: 15.0.1 remark-gfm: 4.0.1 remark-rehype: 11.1.2 scroll-into-view-if-needed: 3.1.0 - shiki: 4.4.3 + shiki: 4.6.0 tinyglobby: 0.2.17 unified: 11.0.5 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - zbsearch: 4.0.0 + zbsearch: 4.0.4 optionalDependencies: '@mdx-js/mdx': 3.1.1 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 '@types/react': 19.2.17 - lucide-react: 1.48.0(react@19.2.7) + lucide-react: 1.73.0(@types/react@19.2.17)(react@19.2.7) next: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -8624,34 +8651,34 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7): + fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7): dependencies: '@fumari/image-size': 0.1.1 estree-util-value-to-estree: 3.5.0 github-slugger: 2.0.0 + hast-util-from-dom: 5.0.1 hast-util-to-estree: 3.1.3 - hast-util-to-jsx-runtime: 2.3.6 mdast-util-mdx: 3.0.0 - mdast-util-to-markdown: 2.1.2 + micromark: 4.0.3 + micromark-extension-gfm-table: 2.1.2 npm-to-yarn: 3.2.0 remark: 15.0.1 remark-gfm: 4.0.1 remark-rehype: 11.1.2 scroll-into-view-if-needed: 3.1.0 - shiki: 4.4.3 + shiki: 4.6.0 tinyglobby: 0.2.17 unified: 11.0.5 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - zbsearch: 4.0.0 + zbsearch: 4.0.4 optionalDependencies: '@mdx-js/mdx': 3.1.1 '@types/estree-jsx': 1.0.5 '@types/hast': 3.0.5 '@types/mdast': 4.0.4 '@types/react': 19.2.17 - lucide-react: 1.48.0(react@19.2.7) + lucide-react: 1.73.0(@types/react@19.2.17)(react@19.2.7) next: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) @@ -8659,16 +8686,16 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-mdx@15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): + fumadocs-mdx@15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): dependencies: '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 - chokidar: 5.0.0 + chokidar: 6.0.0 esbuild: 0.28.2 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) github-slugger: 2.0.0 - magic-string: 1.4.1 + magic-string: 1.4.5 mdast-util-mdx: 3.0.0 picocolors: 1.1.1 picomatch: 4.0.7 @@ -8676,11 +8703,10 @@ snapshots: tinyglobby: 0.2.17 unified: 11.0.5 unist-util-remove-position: 5.0.0 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - yuku-analyzer: 0.10.2 - zod: 4.6.5 + yuku-analyzer: 0.19.0 + zod: 4.6.7 optionalDependencies: '@types/mdast': 4.0.4 '@types/mdx': 2.0.14 @@ -8690,16 +8716,16 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-mdx@15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): + fumadocs-mdx@15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): dependencies: '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 - chokidar: 5.0.0 + chokidar: 6.0.0 esbuild: 0.28.2 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6) + fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.6) github-slugger: 2.0.0 - magic-string: 1.4.1 + magic-string: 1.4.5 mdast-util-mdx: 3.0.0 picocolors: 1.1.1 picomatch: 4.0.7 @@ -8707,11 +8733,10 @@ snapshots: tinyglobby: 0.2.17 unified: 11.0.5 unist-util-remove-position: 5.0.0 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - yuku-analyzer: 0.10.2 - zod: 4.6.5 + yuku-analyzer: 0.19.0 + zod: 4.6.7 optionalDependencies: '@types/mdast': 4.0.4 '@types/mdx': 2.0.14 @@ -8721,16 +8746,16 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-mdx@15.4.4(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): + fumadocs-mdx@15.4.10(@types/mdast@4.0.4)(@types/mdx@2.0.14)(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react@19.2.7): dependencies: '@mdx-js/mdx': 3.1.1 '@standard-schema/spec': 1.1.0 - chokidar: 5.0.0 + chokidar: 6.0.0 esbuild: 0.28.2 estree-util-value-to-estree: 3.5.0 - fumadocs-core: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) github-slugger: 2.0.0 - magic-string: 1.4.1 + magic-string: 1.4.5 mdast-util-mdx: 3.0.0 picocolors: 1.1.1 picomatch: 4.0.7 @@ -8738,11 +8763,10 @@ snapshots: tinyglobby: 0.2.17 unified: 11.0.5 unist-util-remove-position: 5.0.0 - unist-util-visit: 5.1.0 vfile: 6.0.3 yaml: 2.9.1 - yuku-analyzer: 0.10.2 - zod: 4.6.5 + yuku-analyzer: 0.19.0 + zod: 4.6.7 optionalDependencies: '@types/mdast': 4.0.4 '@types/mdx': 2.0.14 @@ -8752,74 +8776,72 @@ snapshots: transitivePeerDependencies: - supports-color - fumadocs-ui@16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3): + fumadocs-ui@16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3): dependencies: '@fuma-translate/react': 1.0.2(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@fumadocs/tailwind': 0.1.2(tailwindcss@4.3.3) - '@radix-ui/react-accordion': 1.2.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-collapsible': 1.1.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-dialog': 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-navigation-menu': 1.2.22(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-popover': 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-scroll-area': 1.2.18(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-tabs': 1.1.21(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@fumadocs/tailwind': 0.1.4(tailwindcss@4.3.3) + '@radix-ui/react-accordion': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-collapsible': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-dialog': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-navigation-menu': 1.4.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-popover': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-scroll-area': 1.4.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-tabs': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) class-variance-authority: 0.7.1 - cn: 0.3.3 - fumadocs-core: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) - lucide-react: 1.48.0(react@19.2.7) - motion: 13.4.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + cn: 0.5.2 + fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.46.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + lucide-react: 1.73.0(@types/react@19.2.17)(react@19.2.7) + motion: 14.14.0(react-dom@19.2.7(react@19.2.7))(react@19.2.7) next-themes: 0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) react-remove-scroll: 2.7.2(@types/react@19.2.17)(react@19.2.7) - rehype-raw: 7.0.0 scroll-into-view-if-needed: 3.1.0 - shiki: 4.4.3 - unist-util-visit: 5.1.0 + shiki: 4.6.0 optionalDependencies: '@types/mdx': 2.0.14 '@types/react': 19.2.17 next: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) transitivePeerDependencies: - '@types/react-dom' + - remix - tailwindcss - fumadocs-ui@16.15.14(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3): + fumadocs-ui@16.17.9(@types/mdx@2.0.14)(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(fumadocs-core@16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(tailwindcss@4.3.3): dependencies: '@fuma-translate/react': 1.0.2(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@fumadocs/tailwind': 0.1.2(tailwindcss@4.3.3) - '@radix-ui/react-accordion': 1.2.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-collapsible': 1.1.20(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-dialog': 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-direction': 1.1.4(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-navigation-menu': 1.2.22(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-popover': 1.1.23(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-presence': 1.1.10(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-scroll-area': 1.2.18(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) - '@radix-ui/react-slot': 1.3.3(@types/react@19.2.17)(react@19.2.7) - '@radix-ui/react-tabs': 1.1.21(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@fumadocs/tailwind': 0.1.4(tailwindcss@4.3.3) + '@radix-ui/react-accordion': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-collapsible': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-dialog': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-direction': 1.2.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-navigation-menu': 1.4.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-popover': 1.3.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-presence': 1.1.11(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-scroll-area': 1.4.0(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + '@radix-ui/react-slot': 1.5.0(@types/react@19.2.17)(react@19.2.7) + '@radix-ui/react-tabs': 1.2.1(@types/react-dom@19.2.3(@types/react@19.2.17))(@types/react@19.2.17)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) class-variance-authority: 0.7.1 - cn: 0.3.3 - fumadocs-core: 16.15.14(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.48.0(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) - lucide-react: 1.48.0(react@19.2.7) - motion: 13.4.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + cn: 0.5.2 + fumadocs-core: 16.17.9(@mdx-js/mdx@3.1.1)(@types/estree-jsx@1.0.5)(@types/hast@3.0.5)(@types/mdast@4.0.4)(@types/react@19.2.17)(lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7))(next@16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7))(react-dom@19.2.7(react@19.2.7))(react@19.2.7)(zod@4.6.7) + lucide-react: 1.73.0(@types/react@19.2.17)(react@19.2.7) + motion: 14.14.0(react-dom@19.2.7(react@19.2.7))(react@19.2.7) next-themes: 0.4.6(react-dom@19.2.7(react@19.2.7))(react@19.2.7) react: 19.2.7 react-dom: 19.2.7(react@19.2.7) react-remove-scroll: 2.7.2(@types/react@19.2.17)(react@19.2.7) - rehype-raw: 7.0.0 scroll-into-view-if-needed: 3.1.0 - shiki: 4.4.3 - unist-util-visit: 5.1.0 + shiki: 4.6.0 optionalDependencies: '@types/mdx': 2.0.14 '@types/react': 19.2.17 next: 16.4.5(@opentelemetry/api@1.10.0)(@types/node@24.19.2)(react-dom@19.2.7(react@19.2.7))(react@19.2.7) transitivePeerDependencies: - '@types/react-dom' + - remix - tailwindcss function-bind@1.1.2: {} @@ -8916,6 +8938,12 @@ snapshots: dependencies: function-bind: 1.1.2 + hast-util-from-dom@5.0.1: + dependencies: + '@types/hast': 3.0.5 + hastscript: 9.0.1 + web-namespaces: 2.0.1 + hast-util-from-parse5@8.0.3: dependencies: '@types/hast': 3.0.5 @@ -8992,6 +9020,20 @@ snapshots: stringify-entities: 4.0.4 zwitch: 2.0.4 + hast-util-to-html@9.0.6: + dependencies: + '@types/hast': 3.0.5 + '@types/unist': 3.0.3 + ccount: 2.0.1 + comma-separated-tokens: 2.0.3 + hast-util-whitespace: 3.0.0 + html-void-elements: 3.0.0 + mdast-util-to-hast: 13.2.1 + property-information: 7.2.0 + space-separated-tokens: 2.0.2 + stringify-entities: 4.0.4 + zwitch: 2.0.4 + hast-util-to-jsx-runtime@2.3.6: dependencies: '@types/estree': 1.0.9 @@ -9311,9 +9353,11 @@ snapshots: dependencies: react: 19.2.7 - lucide-react@1.48.0(react@19.2.7): + lucide-react@1.73.0(@types/react@19.2.17)(react@19.2.7): dependencies: react: 19.2.7 + optionalDependencies: + '@types/react': 19.2.17 luxon@3.7.2: {} @@ -9325,6 +9369,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.6.0 + magic-string@1.4.5: + dependencies: + '@jridgewell/sourcemap-codec': 1.6.0 + markdown-extensions@2.0.0: {} markdown-table@3.0.4: {} @@ -9564,6 +9612,14 @@ snapshots: micromark-util-symbol: 2.0.1 micromark-util-types: 2.0.2 + micromark-extension-gfm-table@2.1.2: + dependencies: + devlop: 1.1.0 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + micromark-extension-gfm-tagfilter@2.0.0: dependencies: micromark-util-types: 2.0.2 @@ -9713,6 +9769,10 @@ snapshots: micromark-util-decode-numeric-character-reference: 2.0.2 micromark-util-symbol: 2.0.1 + micromark-util-edit-map@1.0.0: + dependencies: + micromark-util-types: 2.0.2 + micromark-util-encode@2.0.1: {} micromark-util-events-to-acorn@2.0.3: @@ -9774,6 +9834,29 @@ snapshots: transitivePeerDependencies: - supports-color + micromark@4.0.3: + dependencies: + '@types/debug': 4.1.13 + debug: 4.4.3 + decode-named-character-reference: 1.3.0 + devlop: 1.1.0 + micromark-core-commonmark: 2.0.3 + micromark-factory-space: 2.0.1 + micromark-util-character: 2.1.1 + micromark-util-chunked: 2.0.1 + micromark-util-combine-extensions: 2.0.1 + micromark-util-decode-numeric-character-reference: 2.0.2 + micromark-util-edit-map: 1.0.0 + micromark-util-encode: 2.0.1 + micromark-util-normalize-identifier: 2.0.1 + micromark-util-resolve-all: 2.0.1 + micromark-util-sanitize-uri: 2.0.1 + micromark-util-subtokenize: 2.1.0 + micromark-util-symbol: 2.0.1 + micromark-util-types: 2.0.2 + transitivePeerDependencies: + - supports-color + micromatch@4.0.8: dependencies: braces: 3.0.3 @@ -9807,15 +9890,15 @@ snapshots: mkdirp@1.0.4: {} - motion-dom@13.4.4: + motion-dom@14.14.0: dependencies: - motion-utils: 13.3.0 + motion-utils: 14.7.0 - motion-utils@13.3.0: {} + motion-utils@14.7.0: {} - motion@13.4.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7): + motion@14.14.0(react-dom@19.2.7(react@19.2.7))(react@19.2.7): dependencies: - framer-motion: 13.4.4(react-dom@19.2.7(react@19.2.7))(react@19.2.7) + framer-motion: 14.14.0(react-dom@19.2.7(react@19.2.7))(react@19.2.7) tslib: 2.8.1 optionalDependencies: react: 19.2.7 @@ -10452,15 +10535,15 @@ snapshots: shebang-regex@3.0.0: {} - shiki@4.4.3: + shiki@4.6.0: dependencies: - '@shikijs/core': 4.4.3 - '@shikijs/engine-javascript': 4.4.3 - '@shikijs/engine-oniguruma': 4.4.3 - '@shikijs/langs': 4.4.3 - '@shikijs/themes': 4.4.3 - '@shikijs/types': 4.4.3 - '@shikijs/vscode-textmate': 10.0.2 + '@shikijs/core': 4.6.0 + '@shikijs/engine-javascript': 4.6.0 + '@shikijs/engine-oniguruma': 4.6.0 + '@shikijs/langs': 4.6.0 + '@shikijs/themes': 4.6.0 + '@shikijs/types': 4.6.0 + '@shikijs/vscode-textmate': 10.1.0 '@types/hast': 3.0.5 signal-exit@3.0.7: {} @@ -10973,36 +11056,39 @@ snapshots: buffer-crc32: 0.2.13 fd-slicer: 1.1.0 - yuku-analyzer@0.10.2: + yuku-analyzer@0.19.0: dependencies: - '@yuku-toolchain/types': 0.10.2 - yuku-ast: 0.10.2 - optionalDependencies: - '@yuku-analyzer/binding-android-arm64': 0.10.2 - '@yuku-analyzer/binding-darwin-arm64': 0.10.2 - '@yuku-analyzer/binding-darwin-x64': 0.10.2 - '@yuku-analyzer/binding-freebsd-x64': 0.10.2 - '@yuku-analyzer/binding-linux-arm-gnu': 0.10.2 - '@yuku-analyzer/binding-linux-arm-musl': 0.10.2 - '@yuku-analyzer/binding-linux-arm64-gnu': 0.10.2 - '@yuku-analyzer/binding-linux-arm64-musl': 0.10.2 - '@yuku-analyzer/binding-linux-x64-gnu': 0.10.2 - '@yuku-analyzer/binding-linux-x64-musl': 0.10.2 - '@yuku-analyzer/binding-win32-arm64': 0.10.2 - '@yuku-analyzer/binding-win32-x64': 0.10.2 + '@yuku-toolchain/types': 0.19.0 + yuku-ast: 0.19.0 + yuku-core: 0.19.0 - yuku-ast@0.10.2: + yuku-ast@0.19.0: dependencies: - '@yuku-toolchain/types': 0.10.2 + '@yuku-toolchain/types': 0.19.0 - zbsearch@4.0.0: {} + yuku-core@0.19.0: + dependencies: + '@yuku-toolchain/types': 0.19.0 + optionalDependencies: + '@yuku-core/binding-android-arm64': 0.19.0 + '@yuku-core/binding-darwin-arm64': 0.19.0 + '@yuku-core/binding-darwin-x64': 0.19.0 + '@yuku-core/binding-freebsd-x64': 0.19.0 + '@yuku-core/binding-linux-arm-gnu': 0.19.0 + '@yuku-core/binding-linux-arm-musl': 0.19.0 + '@yuku-core/binding-linux-arm64-gnu': 0.19.0 + '@yuku-core/binding-linux-arm64-musl': 0.19.0 + '@yuku-core/binding-linux-x64-gnu': 0.19.0 + '@yuku-core/binding-linux-x64-musl': 0.19.0 + '@yuku-core/binding-win32-arm64': 0.19.0 + '@yuku-core/binding-win32-x64': 0.19.0 + + zbsearch@4.0.4: {} zod@3.22.4: {} zod@4.1.11: {} - zod@4.6.5: {} - zod@4.6.6: {} zod@4.6.7: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 25686a27..50f9dfc8 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -12,9 +12,9 @@ catalog: "@types/react-dom": 19.2.3 "@vercel/blob": 2.8.0 "@vercel/global-config": 1.5.1 - fumadocs-core: 16.15.14 - fumadocs-mdx: 15.4.4 - fumadocs-ui: 16.15.14 + fumadocs-core: 16.17.9 + fumadocs-mdx: 15.4.10 + fumadocs-ui: 16.17.9 next: 16.4.5 react: 19.2.7 react-dom: 19.2.7