fumadocs-ui 16.17.6 → 16.17.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/css/generated/flux.css +1 -1
  2. package/css/generated/shared.css +1 -1
  3. package/dist/components/banner.d.ts +2 -1
  4. package/dist/components/codeblock.rsc.d.ts +7 -1
  5. package/dist/components/codeblock.rsc.js +20 -7
  6. package/dist/components/dialog/search.d.ts +13 -14
  7. package/dist/components/dialog/search.js +18 -29
  8. package/dist/components/dynamic-codeblock.core.d.ts +10 -5
  9. package/dist/components/dynamic-codeblock.core.js +54 -16
  10. package/dist/components/dynamic-codeblock.d.ts +1 -1
  11. package/dist/components/heading.d.ts +2 -1
  12. package/dist/components/image-zoom.d.ts +2 -2
  13. package/dist/components/image-zoom.js +1 -1
  14. package/dist/components/sidebar/link-item.d.ts +2 -1
  15. package/dist/components/sidebar/page-tree.d.ts +2 -1
  16. package/dist/components/tabs.d.ts +1 -1
  17. package/dist/components/toc/block.d.ts +2 -4
  18. package/dist/components/toc/clerk.d.ts +2 -5
  19. package/dist/components/toc/default.d.ts +2 -5
  20. package/dist/components/toc/index.d.ts +2 -5
  21. package/dist/components/ui/tabs.d.ts +2 -5
  22. package/dist/contexts/i18n.d.ts +2 -1
  23. package/dist/contexts/search.d.ts +2 -1
  24. package/dist/contexts/tree.d.ts +2 -1
  25. package/dist/layouts/docs/client.d.ts +2 -1
  26. package/dist/layouts/docs/page/slots/footer.d.ts +2 -1
  27. package/dist/layouts/docs/page/slots/toc.d.ts +4 -4
  28. package/dist/layouts/docs/slots/sidebar.d.ts +1 -1
  29. package/dist/layouts/flux/index.d.ts +2 -1
  30. package/dist/layouts/flux/page/slots/footer.d.ts +2 -1
  31. package/dist/layouts/flux/page/slots/toc.d.ts +4 -4
  32. package/dist/layouts/flux/slots/sidebar.d.ts +1 -1
  33. package/dist/layouts/glass/page/slots/footer.d.ts +2 -1
  34. package/dist/layouts/glass/page/slots/toc.d.ts +1 -1
  35. package/dist/layouts/home/index.d.ts +2 -1
  36. package/dist/layouts/notebook/client.d.ts +2 -1
  37. package/dist/layouts/notebook/page/slots/footer.d.ts +2 -1
  38. package/dist/layouts/notebook/page/slots/toc.d.ts +4 -4
  39. package/dist/layouts/notebook/slots/sidebar.d.ts +1 -1
  40. package/dist/legacy/layout.d.ts +2 -1
  41. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/controlled.d.ts +3 -2
  42. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/controlled.js +1 -1
  43. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +1 -1
  44. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/uncontrolled.js +1 -1
  45. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js +1 -1
  46. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js +1 -1
  47. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/element-tests.js +1 -1
  48. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js +1 -1
  49. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js +1 -1
  50. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js +1 -1
  51. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js +1 -1
  52. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js +1 -1
  53. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js +1 -1
  54. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-scale.js +1 -1
  55. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js +1 -1
  56. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js +1 -1
  57. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +1 -1
  58. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/parse-position.js +1 -1
  59. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js +1 -1
  60. package/dist/og.d.ts +2 -1
  61. package/dist/tailwind/typography.js +1 -2
  62. package/dist/utils/cn.js +1 -2
  63. package/package.json +20 -21
  64. /package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0 → react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1}/node_modules/react-medium-image-zoom/dist/index.d.ts +0 -0
@@ -1 +1 @@
1
- @source inline("!enabled !header *:gap-0! *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information initial justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete opacity overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps size-4.5 sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
1
+ @source inline("!enabled !header *:gap-0! *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete opacity overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps size-4.5 sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
@@ -1 +1 @@
1
- @source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --offset-distance --opacity --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --shiki-dark-bg --shiki-light-bg --spacing --track-bottom --track-top -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [container-type:size] [offset-distance:var(--offset-distance,0)] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about above absolute accordion action actions active activeItem add advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-selected as aside ask aspectRatio assume assumes async at auto await b backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based became before behavior behaviour belongs beside between bg-(--callout-color)/50 bg-(--shiki-light-bg) bg-cover bg-fd-accent bg-fd-background bg-fd-border bg-fd-card bg-fd-muted bg-fd-overlay bg-fd-popover bg-fd-popover/60 bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-fd-secondary/50 bg-transparent bind binded bitsLeft black block blockRef boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundary box buffer bundle button buttonVariants by cache cached callbacks can canonical caption cards case cells center central change changeLayout changes chat child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clients clipPath clone close closeOnRedirect closed closing cn code col-span-full collapsed collapsible collapsing collection color colors column columns com combobox compact compat compatible component components composedRef computed config const container containerRef containing content contents context controlled/uncontrolled copy core counterSet createContext createRelativeLink css ctx current currentColor currentSrc cursor-default cursor-zoom-out custom customize cva cx cy d dangerouslySetInnerHTML dark dark:bg-(--shiki-dark-bg) dashed data data-[active=true]:text-fd-primary data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop detect development dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground display displayName displayed distance div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end-2 endIdx endpoint env environment equal error escape eslint-disable-next-line event export expose extends external extraProps failed false fd-lightbox fd-moving-banner fd-scroll-container fd-search-list fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figcaption figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters final finally fixed flex flex-1 flex-col flex-row flex-wrap flexDirection floating flushSync focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring focus-visible:ring-inset folder folders font-medium font-mono fontSize fontWeight for forceMount forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function gap gap-0.5 gap-1 gap-1.5 gap-2 gap-3 gap-3.5 gap-4 gap-x-3 gap-y-4 generated getActive ghost github-dark github-light githubUrl given global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] grid-cols-subgrid gridTemplateColumns group group-data-[active=true]:bg-fd-primary group-data-[active=true]:text-fd-primary-foreground group-data-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hast-util-to-jsx-runtime hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index infinite info inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemLineLengths itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground key keyCode keydown keys l l0 l1 l2 label lang language languageSelect last last:line-clamp-2 last:rounded-b-xl layer layout layout:[--fd-ai-chat-width:min(--spacing(100),100vw---spacing(4))] lays lazy leading-none leaving left-0 left-1/2 length let letting level light light-dark light-dark-system lightbox like line line-through linear link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto n name names namespace naturalHeight naturalWidth nav navItems navTitle navigate navigation nd-copy-ignore nd-sidebar nd-sidebar-mobile nearest needed nested nested-url never new newTheme next next-themes next/og node nodes none noop noopener noreferrer normal normalize not not-empty:border-b not-empty:p-3 not-first:border-t not-last:mb-2 not-last:truncate not-prose notation note now null number numbers object observer of offsetHeight offsetPath offsetTop on onCancel onChange onClick onClose onCopy onKey onKeyDown onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onPrint onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange once one only opacity-(--opacity,0) opacity-0 open openFromHash opened option optional options or order origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please pointerType points polite populated pos positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present prev preventScroll previous previousRef primary primaryColor primaryTextColor production promises prompt prompts prop props prose prose-no-margin prose-sm provide provider ps-1 ps-2 ps-3.25 ps-4 ps-8 pt-0 pure px px-0.5 px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query querySelector questions rainbow rainbowColors ratio raw re-create re-render react react-dom react-hooks/rules-of-hooks react-medium-image-zoom react/jsx-runtime read reader ref referenced region register registering rel relative remove render renderOptions repo repository required resize resizing resolve resolved resolvedTheme response rest result results return returned revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rowRenderOptions rows rtl rtl:-scale-x-100 rtl:max-xl:-translate-x-[calc(100%+--spacing(2))] rtl:rotate-180 rtl:rotate-90 runs s same scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode scroller scrollerRef search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSlides setSvg setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shikiOptions shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-5 size-6.5 size-9 size-full sized sizes slide slots sm smaller smooth snap-always snap-mandatory snap-start snap-x so solid some source space span specific sr-only src stars start startIdx startViewTransition state static status stay step sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth style styles subscribe subscribeActive success successful supported supposed sure svg switch switcher system t tab tabIndex table tableRenderOptions tables tabs tabsRef tabular-nums tag tagName tags take target tbody td text text-(--callout-color) text-[0.8125rem] text-[0.8125rem]/5 text-[0.9375rem] text-[10px] text-center text-fd-accent-foreground text-fd-card text-fd-card-foreground text-fd-error text-fd-foreground text-fd-foreground/80 text-fd-muted-foreground text-fd-muted-foreground/50 text-fd-popover-foreground text-fd-popover-foreground/80 text-fd-primary text-fd-primary-foreground text-fd-primary/50 text-fd-secondary-foreground text-inherit text-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent th that the thead their them theme themeAriaLabels themeSwitch themeSwitchEnabled themes then they this throw thumbBox tier timerRef tip title to toJsxRuntime toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-3.25 top-4 touch tr transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typeof types unchanged undefined underline underlying understand unknown unnecessarily unused update updateAnchor updates upperX url urls us usage use useAlgoliaSearch useCopyButton useDocsSearch useHotKey useI18n useId useIsDocsLayout useItems useMediaQuery useMemo useOnChange useOramaCloudSearch usePathname useProps useRef useRouter useSearchContext useSidebar useState useSyncExternalStore useTOCItems useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants vertical viewBox viewRef viewTransitionName viewer viewportProps visible vite void w w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces wide width will window with without work wrap wrap-anywhere wrapElement wrapInSuspense wrapped x x1 x2 xl:w-(--fd-ai-chat-width) xmlns y y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
1
+ @source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --offset-distance --opacity --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --shiki-dark-bg --shiki-light-bg --spacing --track-bottom --track-top -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [container-type:size] [offset-distance:var(--offset-distance,0)] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about above absolute accordion action actions active activeItem add advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-describedby aria-expanded aria-haspopup aria-hidden aria-label aria-labelledby aria-live aria-selected as aside ask aspectRatio assume assumes async at auto await b backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based became before behavior behaviour belongs beside between bg-(--callout-color)/50 bg-(--shiki-light-bg) bg-cover bg-fd-accent bg-fd-background bg-fd-border bg-fd-card bg-fd-muted bg-fd-overlay bg-fd-popover bg-fd-popover/60 bg-fd-primary bg-fd-primary/10 bg-fd-secondary bg-fd-secondary/50 bg-transparent bind binded bitsLeft black block blockRef boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundaries boundary box buffer bundle button buttonVariants by cache cached callbacks can canonical caption cards case cells center central change changeLayout changes chat child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clients clipPath clone close closeOnRedirect closed closing cn code codeblock col-span-full collapsed collapsible collapsing collection color colors column columns com combobox compact compat compatible component components composedRef computed config const container containerRef containing content contents context controlled/uncontrolled copy core counterSet createContext createRelativeLink createShikiHighlighter css ctx current currentColor currentSrc cursor-default cursor-zoom-out custom customize cva cx cy d dangerouslySetInnerHTML dark dark:bg-(--shiki-dark-bg) dashed data data-[active=true]:text-fd-primary data-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop detect dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground discard display displayName displayed distance div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end-2 endIdx endpoint env environment equal error escape eslint-disable-next-line event export expose extends external extraProps failed fallback false fd-lightbox fd-moving-banner fd-scroll-container fd-search-list fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figcaption figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters final finally fixed flex flex-1 flex-col flex-row flex-wrap flexDirection floating flushSync focus focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring focus-visible:ring-inset folder folders font-medium font-mono fontSize fontWeight for forceMount forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function gap gap-0.5 gap-1 gap-1.5 gap-2 gap-3 gap-3.5 gap-4 gap-x-3 gap-y-4 generated getActive ghost github-dark github-light githubUrl given global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] grid-cols-subgrid gridTemplateColumns group group-data-[active=true]:bg-fd-primary group-data-[active=true]:text-fd-primary-foreground group-data-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter highlights hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index infinite info initial inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instance instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemLineLengths itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground keeps key keyCode keydown keys l l0 l1 l2 label lang language languageSelect languages large last last:line-clamp-2 last:rounded-b-xl layer layout layout:[--fd-ai-chat-width:min(--spacing(100),100vw---spacing(4))] lays lazy leading-none leaving left-0 left-1/2 length let letting level light light-dark light-dark-system lightbox like line line-through linear link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto n name names namespace naturalHeight naturalWidth nav navItems navTitle navigate navigation nd-copy-ignore nd-sidebar nd-sidebar-mobile nearest needed nested nested-url never new newTheme next next-themes next/og node nodes none noop noopener noreferrer normal normalize not not-empty:border-b not-empty:p-3 not-first:border-t not-last:mb-2 not-last:truncate not-prose notation note now null number numbers object observer of offsetHeight offsetPath offsetTop on onCancel onChange onClick onClose onCopy onKey onKeyDown onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onPrint onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange once one only opacity-(--opacity,0) opacity-0 open openFromHash opened option optional options or order origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parent parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please pointerType points polite populated pos positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present prev preventScroll previous previousRef primary primaryColor primaryTextColor production promise promises prompt prompts prop props prose prose-no-margin prose-sm provide provider ps-1 ps-2 ps-3.25 ps-4 ps-8 pt-0 pure px px-0.5 px-1 px-1.5 px-2 px-2.5 px-3 px-4 py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query querySelector questions rainbow rainbowColors ratio raw re-create re-render react react-dom react-hooks/rules-of-hooks react-medium-image-zoom read reader ref referenced region register registering rel relative remove render renderOptions repo repository required resize resizing resolve resolved resolvedTheme response rest result results return returned revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rowRenderOptions rows rtl rtl:-scale-x-100 rtl:max-xl:-translate-x-[calc(100%+--spacing(2))] rtl:rotate-180 rtl:rotate-90 runs s same scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode scroller scrollerRef search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSlides setSvg setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-5 size-6.5 size-9 size-full sized sizes slide slots sm smaller smooth snap-always snap-mandatory snap-start snap-x so solid some source space span specific sr-only src stars start startIdx startViewTransition state static status stay step sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth style styles subscribe subscribeActive success successful supported supposed sure suspending svg switch switcher system t tab tabIndex table tableRenderOptions tables tabs tabsRef tabular-nums tag tagName tags take target tbody td text text-(--callout-color) text-[0.8125rem] text-[0.8125rem]/5 text-[0.9375rem] text-[10px] text-center text-fd-accent-foreground text-fd-card text-fd-card-foreground text-fd-error text-fd-foreground text-fd-foreground/80 text-fd-muted-foreground text-fd-muted-foreground/50 text-fd-popover-foreground text-fd-popover-foreground/80 text-fd-primary text-fd-primary-foreground text-fd-primary/50 text-fd-secondary-foreground text-inherit text-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent th that the thead their them theme themeAriaLabels themeSwitch themeSwitchEnabled themes then they this throw thumbBox tier timerRef tip title to toJsx toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-3.25 top-4 touch tr transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typeof types unchanged undefined underline underlying understand unknown unnecessarily unused update updateAnchor updates upperX url urls us usage use useAlgoliaSearch useCopyButton useDocsSearch useHotKey useI18n useIsDocsLayout useItems useMediaQuery useMemo useOnChange useOramaCloudSearch usePathname useProps useRef useRouter useSearchContext useSidebar useState useSyncExternalStore useTOCItems useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants vertical viewBox viewRef viewTransitionName viewer viewportProps visible vite void w w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces wide width will window with without work would wrap wrap-anywhere wrapElement wrapInSuspense wrapped x x1 x2 xl:w-(--fd-ai-chat-width) xmlns y y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
@@ -21,4 +21,5 @@ export declare function Banner({ id, variant, changeLayout, height, rainbowColor
21
21
  */
22
22
  changeLayout?: boolean;
23
23
  }): import("react").JSX.Element | null;
24
- //#endregion
24
+ //#endregion
25
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import { HighlightOptions } from "fumadocs-core/highlight";
2
+ import { HighlightOptions, Highlighter } from "fumadocs-core/highlight";
3
3
  //#region src/components/codeblock.rsc.d.ts
4
4
  export type ServerCodeBlockProps = HighlightOptions & {
5
5
  code: string;
@@ -11,4 +11,10 @@ export type ServerCodeBlockProps = HighlightOptions & {
11
11
  codeblock?: CodeBlockProps;
12
12
  };
13
13
  export declare function ServerCodeBlock({ code, codeblock, ...options }: ServerCodeBlockProps): Promise<Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | (string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined)>;
14
+ /**
15
+ * Create a server code block that highlights with your own highlighter.
16
+ */
17
+ export declare function createServerCodeBlock({ highlighter }: {
18
+ highlighter: Highlighter;
19
+ }): ({ code, lang, codeblock }: Pick<ServerCodeBlockProps, 'code' | 'lang' | 'codeblock'>) => Promise<Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | (string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined)>;
14
20
  //#endregion
@@ -1,6 +1,7 @@
1
1
  import { cn } from "../utils/cn.js";
2
2
  import { CodeBlock, Pre } from "./codeblock.js";
3
3
  import { jsx } from "react/jsx-runtime";
4
+ import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
4
5
  import { highlight } from "fumadocs-core/highlight";
5
6
  //#region src/components/codeblock.rsc.tsx
6
7
  async function ServerCodeBlock({ code, codeblock, ...options }) {
@@ -8,15 +9,27 @@ async function ServerCodeBlock({ code, codeblock, ...options }) {
8
9
  defaultColor: false,
9
10
  ...options,
10
11
  components: {
11
- pre: (props) => /* @__PURE__ */ jsx(CodeBlock, {
12
- ...props,
13
- ...codeblock,
14
- className: cn("my-0", props.className, codeblock?.className),
15
- children: /* @__PURE__ */ jsx(Pre, { children: props.children })
16
- }),
12
+ pre: createPre(codeblock),
17
13
  ...options.components
18
14
  }
19
15
  });
20
16
  }
17
+ /**
18
+ * Create a server code block that highlights with your own highlighter.
19
+ */
20
+ function createServerCodeBlock({ highlighter }) {
21
+ return async function ServerCodeBlock({ code, lang, codeblock }) {
22
+ await highlighter.loadLanguage?.(lang);
23
+ return toJsx(highlighter.codeToHast(code, { lang }), { components: { pre: createPre(codeblock) } });
24
+ };
25
+ }
26
+ function createPre(codeblock) {
27
+ return (props) => /* @__PURE__ */ jsx(CodeBlock, {
28
+ ...props,
29
+ ...codeblock,
30
+ className: cn("my-0", props.className, codeblock?.className),
31
+ children: /* @__PURE__ */ jsx(Pre, { children: props.children })
32
+ });
33
+ }
21
34
  //#endregion
22
- export { ServerCodeBlock };
35
+ export { ServerCodeBlock, createServerCodeBlock };
@@ -1,5 +1,4 @@
1
1
  import { SharedProps } from "../../contexts/search.js";
2
- import * as JsxRuntime from "react/jsx-runtime";
3
2
  import { ComponentProps, ReactNode } from "react";
4
3
  import { SearchResult, SearchResultItem, SearchResultRecord, SearchResultTable } from "fumadocs-core/search/client";
5
4
  import { DialogContent, DialogOverlay } from "@radix-ui/react-dialog";
@@ -34,13 +33,13 @@ export interface SearchDialogProps extends SharedProps {
34
33
  error?: Error;
35
34
  children: ReactNode;
36
35
  }
37
- export declare function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading, data, error, onSelect: onSelectProp, children }: SearchDialogProps): JsxRuntime.JSX.Element;
38
- export declare function SearchDialogHeader(props: ComponentProps<'div'>): JsxRuntime.JSX.Element;
39
- export declare function SearchDialogInput(props: ComponentProps<'input'>): JsxRuntime.JSX.Element;
40
- export declare function SearchDialogClose({ children, className, ...props }: ComponentProps<'button'>): JsxRuntime.JSX.Element;
41
- export declare function SearchDialogFooter(props: ComponentProps<'div'>): JsxRuntime.JSX.Element;
42
- export declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): JsxRuntime.JSX.Element;
43
- export declare function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>): JsxRuntime.JSX.Element;
36
+ export declare function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading, data, error, onSelect: onSelectProp, children }: SearchDialogProps): import("react").JSX.Element;
37
+ export declare function SearchDialogHeader(props: ComponentProps<'div'>): import("react").JSX.Element;
38
+ export declare function SearchDialogInput(props: ComponentProps<'input'>): import("react").JSX.Element;
39
+ export declare function SearchDialogClose({ children, className, ...props }: ComponentProps<'button'>): import("react").JSX.Element;
40
+ export declare function SearchDialogFooter(props: ComponentProps<'div'>): import("react").JSX.Element;
41
+ export declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): import("react").JSX.Element;
42
+ export declare function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>): import("react").JSX.Element;
44
43
  export declare function SearchDialogList({ items: itemsProp, defaultItems, Empty, Item, Table, ...props }: Omit<ComponentProps<'div'>, 'children'> & {
45
44
  /** @defaultValue the results of `data` from `<SearchDialog />` */
46
45
  items?: (SearchItemType | SearchResultItem)[] | null;
@@ -58,25 +57,25 @@ export declare function SearchDialogList({ items: itemsProp, defaultItems, Empty
58
57
  * Renderer for tables, `Item` and `onSelect` render their rows
59
58
  */
60
59
  Table?: (props: TableProps) => ReactNode;
61
- }): JsxRuntime.JSX.Element;
62
- export declare function SearchDialogListTable({ table, Item, onSelect }: TableProps): JsxRuntime.JSX.Element;
60
+ }): import("react").JSX.Element;
61
+ export declare function SearchDialogListTable({ table, Item, onSelect }: TableProps): import("react").JSX.Element;
63
62
  export declare function SearchDialogListItem({ item, table, className, children, renderMarkdown, ...props }: ComponentProps<'div'> & {
64
63
  /** the table of a row */
65
64
  table?: SearchResultTable;
66
65
  /** render the Markdown `content` of items, instead of their `hastContent` */
67
66
  renderMarkdown?: (v: string) => ReactNode;
68
67
  item: SearchItemType;
69
- }): JsxRuntime.JSX.Element;
70
- export declare function SearchDialogIcon(props: ComponentProps<'svg'>): JsxRuntime.JSX.Element;
68
+ }): import("react").JSX.Element;
69
+ export declare function SearchDialogIcon(props: ComponentProps<'svg'>): import("react").JSX.Element;
71
70
  export interface TagsListProps extends ComponentProps<'div'> {
72
71
  tag?: string;
73
72
  onTagChange: (tag: string | undefined) => void;
74
73
  allowClear?: boolean;
75
74
  }
76
- export declare function TagsList({ tag, onTagChange, allowClear, ...props }: TagsListProps): JsxRuntime.JSX.Element;
75
+ export declare function TagsList({ tag, onTagChange, allowClear, ...props }: TagsListProps): import("react").JSX.Element;
77
76
  export declare function TagsListItem({ value, className, ...props }: ComponentProps<'button'> & {
78
77
  value: string;
79
- }): JsxRuntime.JSX.Element;
78
+ }): import("react").JSX.Element;
80
79
  export declare function useSearch(): {
81
80
  open: boolean;
82
81
  onOpenChange: (open: boolean) => void;
@@ -2,16 +2,15 @@
2
2
  import { cn } from "../../utils/cn.js";
3
3
  import { buttonVariants } from "../ui/button.js";
4
4
  import { useRouter } from "fumadocs-core/framework";
5
- import * as JsxRuntime from "react/jsx-runtime";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
6
  import { ChevronRight, CircleAlert, Hash, SearchIcon } from "lucide-react";
8
7
  import { cva } from "class-variance-authority";
9
8
  import { Fragment as Fragment$1, createContext, use, useCallback, useEffect, useEffectEvent, useLayoutEffect, useMemo, useRef, useSyncExternalStore } from "react";
10
9
  import { T, useTranslations } from "@fuma-translate/react";
11
10
  import scrollIntoView from "scroll-into-view-if-needed";
11
+ import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
12
12
  import { useHighlightQuery } from "fumadocs-core/search/client";
13
13
  import { Dialog, DialogContent, DialogOverlay, DialogTitle } from "@radix-ui/react-dialog";
14
- import { toJsxRuntime } from "hast-util-to-jsx-runtime";
15
14
  //#region src/components/dialog/search.tsx
16
15
  const RootContext = createContext(null);
17
16
  const TagsListContext = createContext(null);
@@ -63,11 +62,7 @@ const mdComponents = {
63
62
  });
64
63
  }
65
64
  };
66
- const renderOptions = {
67
- development: false,
68
- components: mdComponents,
69
- ...JsxRuntime
70
- };
65
+ const renderOptions = { components: mdComponents };
71
66
  function Children({ children }) {
72
67
  return children;
73
68
  }
@@ -77,25 +72,19 @@ function TableCell(props) {
77
72
  className: "min-w-0 not-last:truncate last:line-clamp-2"
78
73
  });
79
74
  }
80
- const tableRenderOptions = {
81
- ...renderOptions,
82
- components: {
83
- ...mdComponents,
84
- table: Children,
85
- thead: Children,
86
- tbody: Children,
87
- tr: Children,
88
- th: TableCell,
89
- td: TableCell
90
- }
91
- };
92
- const rowRenderOptions = {
93
- ...tableRenderOptions,
94
- components: {
95
- ...tableRenderOptions.components,
96
- thead: () => null
97
- }
98
- };
75
+ const tableRenderOptions = { components: {
76
+ ...mdComponents,
77
+ table: Children,
78
+ thead: Children,
79
+ tbody: Children,
80
+ tr: Children,
81
+ th: TableCell,
82
+ td: TableCell
83
+ } };
84
+ const rowRenderOptions = { components: {
85
+ ...tableRenderOptions.components,
86
+ thead: () => null
87
+ } };
99
88
  function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading = false, data, error, onSelect: onSelectProp, children }) {
100
89
  const router = useRouter();
101
90
  const onOpenChangeCallback = useRef(onOpenChange);
@@ -311,7 +300,7 @@ function SearchDialogListTable({ table, Item, onSelect }) {
311
300
  const { query } = useSearch();
312
301
  const highlightRef = useHighlightQuery(query);
313
302
  const headerId = `fd-search-table-${table.id}`;
314
- const header = useMemo(() => table.header && toJsxRuntime(table.header, tableRenderOptions), [table.header]);
303
+ const header = useMemo(() => table.header && toJsx(table.header, tableRenderOptions), [table.header]);
315
304
  return /* @__PURE__ */ jsx("div", {
316
305
  role: table.header ? "group" : void 0,
317
306
  "aria-labelledby": table.header ? headerId : void 0,
@@ -342,8 +331,8 @@ function SearchDialogListItem({ item, table, className, children, renderMarkdown
342
331
  if (item.type === "action") return item.node;
343
332
  if (renderMarkdown && typeof item.content === "string") return renderMarkdown(item.content);
344
333
  if (!("hastContent" in item)) return item.content;
345
- if (!table) return toJsxRuntime(item.hastContent, renderOptions);
346
- return toJsxRuntime(item.hastContent, table.header ? rowRenderOptions : tableRenderOptions);
334
+ if (!table) return toJsx(item.hastContent, renderOptions);
335
+ return toJsx(item.hastContent, table.header ? rowRenderOptions : tableRenderOptions);
347
336
  }, [
348
337
  item,
349
338
  renderMarkdown,
@@ -1,9 +1,8 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
+ import { Highlighter } from "fumadocs-core/highlight";
2
3
  import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
3
4
  import { HighlighterCore } from "shiki";
4
- declare namespace dynamic_codeblock_core_d_exports {
5
- export { DynamicCodeBlock, DynamicCodeblockProps };
6
- }
5
+ //#region src/components/dynamic-codeblock.core.d.ts
7
6
  export interface DynamicCodeblockProps {
8
7
  highlighter: HighlighterCore | (() => HighlighterCore | PromiseLike<HighlighterCore>);
9
8
  lang: string;
@@ -23,6 +22,12 @@ export interface DynamicCodeblockProps {
23
22
  options: DistributiveOmit<UseShikiOptions, 'lang'>;
24
23
  }
25
24
  type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
26
- export declare function DynamicCodeBlock({ lang, code, codeblock, options, wrapInSuspense, highlighter }: DynamicCodeblockProps): import("react").JSX.Element;
25
+ /**
26
+ * Create a code block that highlights with your own highlighter.
27
+ */
28
+ export declare function createDynamicCodeBlock({ highlighter }: {
29
+ highlighter: Highlighter;
30
+ }): (props: Omit<DynamicCodeblockProps, 'highlighter' | 'options'>) => import("react").JSX.Element;
31
+ export declare function DynamicCodeBlock({ highlighter, options, wrapInSuspense, ...props }: DynamicCodeblockProps): import("react").JSX.Element;
27
32
  //#endregion
28
- export { dynamic_codeblock_core_d_exports };
33
+ export {};
@@ -2,8 +2,9 @@
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { CodeBlock, Pre } from "./codeblock.js";
4
4
  import { jsx } from "react/jsx-runtime";
5
- import { createContext, use, useId } from "react";
6
- import { useShikiDynamic } from "fumadocs-core/highlight/shiki/react";
5
+ import { Suspense, createContext, use, useMemo, useRef } from "react";
6
+ import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
7
+ import { createShikiHighlighter } from "fumadocs-core/highlight/shiki";
7
8
  //#region src/components/dynamic-codeblock.core.tsx
8
9
  const PropsContext = createContext(void 0);
9
10
  function DefaultPre(props) {
@@ -15,31 +16,68 @@ function DefaultPre(props) {
15
16
  children: /* @__PURE__ */ jsx(Pre, { children: props.children })
16
17
  });
17
18
  }
18
- function DynamicCodeBlock({ lang, code, codeblock, options, wrapInSuspense = true, highlighter }) {
19
- const id = useId();
20
- const shikiOptions = {
21
- lang,
19
+ /**
20
+ * Create a code block that highlights with your own highlighter.
21
+ */
22
+ function createDynamicCodeBlock({ highlighter }) {
23
+ return function DynamicCodeBlock(props) {
24
+ return /* @__PURE__ */ jsx(Base, {
25
+ highlighter,
26
+ components: { pre: DefaultPre },
27
+ ...props
28
+ });
29
+ };
30
+ }
31
+ function DynamicCodeBlock({ highlighter, options, wrapInSuspense = true, ...props }) {
32
+ const initial = useRef({
33
+ highlighter,
34
+ options
35
+ });
36
+ const instance = useMemo(() => createShikiHighlighter(initial.current.highlighter, {
22
37
  defaultColor: false,
23
- ...options,
38
+ ...initial.current.options
39
+ }), []);
40
+ const node = /* @__PURE__ */ jsx(Base, {
41
+ highlighter: instance,
24
42
  components: {
25
43
  pre: DefaultPre,
26
44
  ...options?.components
27
- }
28
- };
29
- let node = useShikiDynamic(highlighter, code, shikiOptions, [
30
- id,
45
+ },
46
+ wrapInSuspense,
47
+ ...props
48
+ });
49
+ return wrapInSuspense ? node : /* @__PURE__ */ jsx(Suspense, { children: node });
50
+ }
51
+ function Base({ highlighter, lang, code, codeblock, wrapInSuspense = true, components }) {
52
+ let node = /* @__PURE__ */ jsx(Highlighted, {
53
+ highlighter,
31
54
  lang,
32
- code
33
- ]);
34
- if (wrapInSuspense) node ??= /* @__PURE__ */ jsx(Placeholder, {
35
55
  code,
36
- components: shikiOptions.components
56
+ components
57
+ });
58
+ if (wrapInSuspense && highlighter.loadLanguage) node = /* @__PURE__ */ jsx(Suspense, {
59
+ fallback: /* @__PURE__ */ jsx(Placeholder, {
60
+ code,
61
+ components
62
+ }),
63
+ children: node
37
64
  });
38
65
  return /* @__PURE__ */ jsx(PropsContext, {
39
66
  value: codeblock,
40
67
  children: node
41
68
  });
42
69
  }
70
+ const languages = /* @__PURE__ */ new WeakMap();
71
+ function Highlighted({ highlighter, lang, code, components }) {
72
+ if (highlighter.loadLanguage) {
73
+ let loading = languages.get(highlighter);
74
+ if (!loading) languages.set(highlighter, loading = /* @__PURE__ */ new Map());
75
+ let promise = loading.get(lang);
76
+ if (!promise) loading.set(lang, promise = highlighter.loadLanguage(lang));
77
+ use(promise);
78
+ }
79
+ return toJsx(highlighter.codeToHast(code, { lang }), { components });
80
+ }
43
81
  function Placeholder({ code, components = {} }) {
44
82
  const { pre: Pre = "pre", code: Code = "code" } = components;
45
83
  return /* @__PURE__ */ jsx(Pre, { children: /* @__PURE__ */ jsx(Code, { children: code.split("\n").map((line, i) => /* @__PURE__ */ jsx("span", {
@@ -48,4 +86,4 @@ function Placeholder({ code, components = {} }) {
48
86
  }, i)) }) });
49
87
  }
50
88
  //#endregion
51
- export { DynamicCodeBlock };
89
+ export { DynamicCodeBlock, createDynamicCodeBlock };
@@ -1,4 +1,4 @@
1
- import { DynamicCodeblockProps as DynamicCodeblockProps$1, dynamic_codeblock_core_d_exports } from "./dynamic-codeblock.core.js";
1
+ import { DynamicCodeblockProps as DynamicCodeblockProps$1 } from "./dynamic-codeblock.core.js";
2
2
  //#region src/components/dynamic-codeblock.d.ts
3
3
  export type DynamicCodeblockProps = Omit<DynamicCodeblockProps$1, 'highlighter' | 'options'> & {
4
4
  options?: DynamicCodeblockProps$1['options'];
@@ -5,4 +5,5 @@ type HeadingProps<T extends Types> = Omit<ComponentPropsWithoutRef<T>, 'as'> & {
5
5
  as?: T;
6
6
  };
7
7
  export declare function Heading<T extends Types = 'h1'>({ as, ...props }: HeadingProps<T>): import("react").JSX.Element;
8
- //#endregion
8
+ //#endregion
9
+ export {};
@@ -1,5 +1,5 @@
1
- import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
- import "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/index.js";
1
+ import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
+ import "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/index.js";
3
3
  import { ImageProps } from "fumadocs-core/framework";
4
4
  import { ComponentProps, ReactNode } from "react";
5
5
  //#region src/components/image-zoom.d.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { buttonVariants } from "./ui/button.js";
4
- import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
4
+ import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
5
5
  import "./image-zoom2.css";
6
6
  import { Image } from "fumadocs-core/framework";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -8,4 +8,5 @@ export declare function createLinkItemRenderer({ SidebarFolder, SidebarFolderCon
8
8
  type: 'icon';
9
9
  }>;
10
10
  }) => import("react").JSX.Element;
11
- //#endregion
11
+ //#endregion
12
+ export {};
@@ -16,4 +16,5 @@ export interface SidebarPageTreeComponents {
16
16
  }
17
17
  type InternalComponents = Pick<typeof base_d_exports, 'SidebarSeparator' | 'SidebarFolder' | 'SidebarFolderLink' | 'SidebarFolderContent' | 'SidebarFolderTrigger' | 'SidebarItem'>;
18
18
  export declare function createPageTreeRenderer({ SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarSeparator, SidebarItem }: InternalComponents): (components: Partial<SidebarPageTreeComponents>) => import("react").JSX.Element;
19
- //#endregion
19
+ //#endregion
20
+ export {};
@@ -1,4 +1,4 @@
1
- import { Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1, tabs_d_exports } from "./ui/tabs.js";
1
+ import { Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1 } from "./ui/tabs.js";
2
2
  import * as React$1 from "react";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  //#region src/components/tabs.d.ts
@@ -1,13 +1,11 @@
1
1
  import { TOCEmpty } from "./default.js";
2
2
  import { ComponentProps } from "react";
3
3
  import * as Primitive from "fumadocs-core/toc";
4
- declare namespace block_d_exports {
5
- export { TOCEmpty, TOCItem, TOCItems, TOCItemsProps };
6
- }
4
+ //#region src/components/toc/block.d.ts
7
5
  export type TOCItemsProps = ComponentProps<'div'>;
8
6
  export declare function TOCItems({ ref, className, children, ...props }: TOCItemsProps): import("react").JSX.Element;
9
7
  export declare function TOCItem({ item, ...props }: Primitive.TOCItemProps & {
10
8
  item: Primitive.TOCItemType;
11
9
  }): import("react").JSX.Element;
12
10
  //#endregion
13
- export { TOCEmpty, block_d_exports };
11
+ export { TOCEmpty };
@@ -1,13 +1,10 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as Primitive from "fumadocs-core/toc";
3
- declare namespace clerk_d_exports {
4
- export { TOCEmpty, TOCItem, TOCItems, TOCItemsProps };
5
- }
3
+ //#region src/components/toc/clerk.d.ts
6
4
  export type TOCItemsProps = ComponentProps<'div'>;
7
5
  export declare function TOCItems({ ref, className, children, ...props }: TOCItemsProps): import("react").JSX.Element;
8
6
  export declare function TOCEmpty(): import("react").JSX.Element;
9
7
  export declare function TOCItem({ item, ...props }: Primitive.TOCItemProps & {
10
8
  item: Primitive.TOCItemType;
11
9
  }): import("react").JSX.Element;
12
- //#endregion
13
- export { clerk_d_exports };
10
+ //#endregion
@@ -1,8 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as Primitive from "fumadocs-core/toc";
3
- declare namespace default_d_exports {
4
- export { TOCEmpty, TOCItem, TOCItems, TOCItemsProps };
5
- }
3
+ //#region src/components/toc/default.d.ts
6
4
  export interface TOCItemsProps extends ComponentProps<'div'> {
7
5
  thumbBox?: boolean;
8
6
  }
@@ -11,5 +9,4 @@ export declare function TOCEmpty(): import("react").JSX.Element;
11
9
  export declare function TOCItem({ item, ...props }: Primitive.TOCItemProps & {
12
10
  item: Primitive.TOCItemType;
13
11
  }): import("react").JSX.Element;
14
- //#endregion
15
- export { default_d_exports };
12
+ //#endregion
@@ -1,12 +1,9 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as Primitive from "fumadocs-core/toc";
3
- declare namespace index_d_exports {
4
- export { TOCProvider, TOCProviderProps, TOCScrollArea, useActiveAnchor, useActiveAnchors, useItems, useTOCItems };
5
- }
3
+ //#region src/components/toc/index.d.ts
6
4
  export declare function useTOCItems(): Primitive.TOCItemType[];
7
5
  export type TOCProviderProps = Primitive.AnchorProviderProps;
8
6
  export declare const useActiveAnchor: typeof Primitive.useActiveAnchor, useActiveAnchors: typeof Primitive.useActiveAnchors, useItems: typeof Primitive.useItems;
9
7
  export declare function TOCProvider({ toc, children, ...props }: TOCProviderProps): import("react").JSX.Element;
10
8
  export declare function TOCScrollArea({ ref, className, ...props }: ComponentProps<'div'>): import("react").JSX.Element;
11
- //#endregion
12
- export { index_d_exports };
9
+ //#endregion
@@ -1,8 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
2
  import * as Primitive from "@radix-ui/react-tabs";
3
- declare namespace tabs_d_exports {
4
- export { Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
5
- }
3
+ //#region src/components/ui/tabs.d.ts
6
4
  export interface TabsProps extends ComponentProps<typeof Primitive.Tabs> {
7
5
  /**
8
6
  * Identifier for Sharing value of tabs
@@ -21,5 +19,4 @@ export declare const TabsList: import("react").ForwardRefExoticComponent<Primiti
21
19
  export declare function TabsTrigger({ value, ref, ...props }: ComponentProps<typeof Primitive.TabsTrigger>): import("react").JSX.Element;
22
20
  export declare function Tabs({ ref, groupId, persist, updateAnchor, defaultValue, value: _value, onValueChange: _onValueChange, ...props }: TabsProps): import("react").JSX.Element;
23
21
  export declare function TabsContent({ value, ref, ...props }: ComponentProps<typeof Primitive.TabsContent>): import("react").JSX.Element;
24
- //#endregion
25
- export { tabs_d_exports };
22
+ //#endregion
@@ -31,4 +31,5 @@ export interface I18nProviderProps extends Partial<Pick<I18nConfig, 'defaultLang
31
31
  children?: ReactNode;
32
32
  }
33
33
  export declare function I18nProvider({ locales, locale, defaultLanguage, hideLocale, onLocaleChange, children, translations }: I18nProviderProps): import("react").JSX.Element;
34
- //#endregion
34
+ //#endregion
35
+ export {};
@@ -60,4 +60,5 @@ export declare function SearchProvider<DialogProps extends SharedProps = Default
60
60
  export declare function SearchOnly({ children }: {
61
61
  children: ReactNode;
62
62
  }): ReactNode;
63
- //#endregion
63
+ //#endregion
64
+ export {};
@@ -25,4 +25,5 @@ export interface TabsGroup {
25
25
  * Tabs not bound to the page tree are appended to the group of `root: true` folders.
26
26
  */
27
27
  export declare function useTabsGroups(tabs: LayoutTab[]): TabsGroup[];
28
- //#endregion
28
+ //#endregion
29
+ export {};
@@ -30,4 +30,5 @@ export declare function useDocsLayout(): {
30
30
  menuItems: LinkItemType[];
31
31
  slots: DocsSlots;
32
32
  };
33
- //#endregion
33
+ //#endregion
34
+ export {};
@@ -12,4 +12,5 @@ export interface FooterProps extends ComponentProps<'div'> {
12
12
  };
13
13
  }
14
14
  export declare function Footer({ items, children, className, ...props }: FooterProps): import("react").JSX.Element;
15
- //#endregion
15
+ //#endregion
16
+ export {};
@@ -1,7 +1,7 @@
1
- import { TOCItemsProps, default_d_exports } from "../../../../components/toc/default.js";
2
- import { TOCItemsProps as TOCItemsProps$1, block_d_exports } from "../../../../components/toc/block.js";
3
- import { TOCItemsProps as TOCItemsProps$2, clerk_d_exports } from "../../../../components/toc/clerk.js";
4
- import { TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCItemsProps } from "../../../../components/toc/default.js";
2
+ import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/block.js";
3
+ import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/clerk.js";
4
+ import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
5
5
  import { ComponentProps, ReactNode } from "react";
6
6
  //#region src/layouts/docs/page/slots/toc.d.ts
7
7
  export type TOCProviderProps = TOCProviderProps$1;
@@ -1,4 +1,4 @@
1
- import { SidebarProviderProps as SidebarProviderProps$1, base_d_exports, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
1
+ import { SidebarProviderProps as SidebarProviderProps$1, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../../components/sidebar/page-tree.js";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  //#region src/layouts/docs/slots/sidebar.d.ts
@@ -57,4 +57,5 @@ export declare function NavigationPanel({ head, tabDropdown, tool, link, childre
57
57
  export declare function NavigationPanelOverlay({ enabled, className, ...props }: ComponentProps<typeof motion.div> & {
58
58
  enabled?: boolean;
59
59
  }): import("react").JSX.Element;
60
- //#endregion
60
+ //#endregion
61
+ export {};
@@ -12,4 +12,5 @@ export interface FooterProps extends ComponentProps<'div'> {
12
12
  };
13
13
  }
14
14
  export declare function Footer({ items, children, className, ...props }: FooterProps): import("react").JSX.Element;
15
- //#endregion
15
+ //#endregion
16
+ export {};
@@ -1,7 +1,7 @@
1
- import { TOCItemsProps, default_d_exports } from "../../../../components/toc/default.js";
2
- import { TOCItemsProps as TOCItemsProps$1, block_d_exports } from "../../../../components/toc/block.js";
3
- import { TOCItemsProps as TOCItemsProps$2, clerk_d_exports } from "../../../../components/toc/clerk.js";
4
- import { TOCProvider as TOCProvider$1, TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCItemsProps } from "../../../../components/toc/default.js";
2
+ import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/block.js";
3
+ import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/clerk.js";
4
+ import { TOCProvider as TOCProvider$1, TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
5
5
  import { ComponentProps, ReactNode } from "react";
6
6
  //#region src/layouts/flux/page/slots/toc.d.ts
7
7
  export type TOCProviderProps = TOCProviderProps$1;
@@ -1,4 +1,4 @@
1
- import { SidebarProviderProps as SidebarProviderProps$1, base_d_exports, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
1
+ import { SidebarProviderProps as SidebarProviderProps$1, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../../components/sidebar/page-tree.js";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  //#region src/layouts/flux/slots/sidebar.d.ts
@@ -12,4 +12,5 @@ export interface FooterProps extends ComponentProps<'div'> {
12
12
  };
13
13
  }
14
14
  export declare function Footer({ items, children, className, ...props }: FooterProps): import("react").JSX.Element;
15
- //#endregion
15
+ //#endregion
16
+ export {};
@@ -1,4 +1,4 @@
1
- import { TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
2
2
  import { ComponentProps, ReactNode } from "react";
3
3
  //#region src/layouts/glass/page/slots/toc.d.ts
4
4
  export type TOCProviderProps = TOCProviderProps$1;
@@ -23,4 +23,5 @@ export declare function useHomeLayout(): {
23
23
  slots: HomeSlots;
24
24
  };
25
25
  export declare function HomeLayout(props: HomeLayoutProps): import("react").JSX.Element;
26
- //#endregion
26
+ //#endregion
27
+ export {};
@@ -32,4 +32,5 @@ export declare function useNotebookLayout(): {
32
32
  menuItems: LinkItemType[];
33
33
  slots: DocsSlots;
34
34
  };
35
- //#endregion
35
+ //#endregion
36
+ export {};
@@ -12,4 +12,5 @@ export interface FooterProps extends ComponentProps<'div'> {
12
12
  };
13
13
  }
14
14
  export declare function Footer({ items, children, className, ...props }: FooterProps): import("react").JSX.Element;
15
- //#endregion
15
+ //#endregion
16
+ export {};
@@ -1,7 +1,7 @@
1
- import { TOCItemsProps, default_d_exports } from "../../../../components/toc/default.js";
2
- import { TOCItemsProps as TOCItemsProps$1, block_d_exports } from "../../../../components/toc/block.js";
3
- import { TOCItemsProps as TOCItemsProps$2, clerk_d_exports } from "../../../../components/toc/clerk.js";
4
- import { TOCProviderProps as TOCProviderProps$1, index_d_exports } from "../../../../components/toc/index.js";
1
+ import { TOCItemsProps } from "../../../../components/toc/default.js";
2
+ import { TOCItemsProps as TOCItemsProps$1 } from "../../../../components/toc/block.js";
3
+ import { TOCItemsProps as TOCItemsProps$2 } from "../../../../components/toc/clerk.js";
4
+ import { TOCProviderProps as TOCProviderProps$1 } from "../../../../components/toc/index.js";
5
5
  import { ComponentProps, ReactNode } from "react";
6
6
  //#region src/layouts/notebook/page/slots/toc.d.ts
7
7
  export type TOCProviderProps = TOCProviderProps$1;
@@ -1,4 +1,4 @@
1
- import { SidebarProviderProps as SidebarProviderProps$1, base_d_exports, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
1
+ import { SidebarProviderProps as SidebarProviderProps$1, useSidebar as useSidebar$1 } from "../../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../../components/sidebar/page-tree.js";
3
3
  import { ComponentProps, FC, ReactNode } from "react";
4
4
  //#region src/layouts/notebook/slots/sidebar.d.ts
@@ -25,4 +25,5 @@ export declare function NavProvider({ transparentMode, children }: NavProviderPr
25
25
  children: ReactNode;
26
26
  }): import("react").JSX.Element;
27
27
  export declare function useNav(): NavContextType;
28
- //#endregion
28
+ //#endregion
29
+ export {};
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/controlled.d.ts
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/controlled.d.ts
3
3
  type ModalState = 'LOADED' | 'LOADING' | 'UNLOADED' | 'UNLOADING';
4
4
  export interface ControlledProps {
5
5
  a11yNameButtonUnzoom?: string;
@@ -26,4 +26,5 @@ export interface ControlledProps {
26
26
  zoomImg?: React.ImgHTMLAttributes<HTMLImageElement>;
27
27
  zoomMargin?: number;
28
28
  }
29
- //#endregion
29
+ //#endregion
30
+ export {};
@@ -6,7 +6,7 @@ import { getStyleGhost } from "./utils/get-style-ghost.js";
6
6
  import { getStyleModalImg } from "./utils/get-style-modal-img.js";
7
7
  import React from "react";
8
8
  import ReactDOM from "react-dom";
9
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/controlled.js
9
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/controlled.js
10
10
  const IMAGE_QUERY = [
11
11
  "img",
12
12
  "svg",
@@ -1,5 +1,5 @@
1
1
  import { ControlledProps } from "./controlled.js";
2
2
  import React from "react";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts
4
4
  export type UncontrolledProps = Omit<ControlledProps, 'isZoomed'>;
5
5
  //#endregion
@@ -1,6 +1,6 @@
1
1
  import { Controlled } from "./controlled.js";
2
2
  import React from "react";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/uncontrolled.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/uncontrolled.js
4
4
  function Uncontrolled({ onZoomChange, ...props }) {
5
5
  const [isZoomed, setIsZoomed] = React.useState(false);
6
6
  const handleZoomChange = React.useCallback((value, { event }) => {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js
2
2
  const adjustSvgIDs = (svgEl) => {
3
3
  const newIdSuffix = "-zoom";
4
4
  const attrs = [
@@ -1,6 +1,6 @@
1
1
  import { getScale } from "./get-scale.js";
2
2
  import { parsePosition } from "./parse-position.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js
4
4
  const computePositionedStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, position, targetHeight, targetWidth, visibleHeight, visibleWidth }) => {
5
5
  const [posLeft = "50%", posTop = "50%"] = position.split(" ");
6
6
  const posX = parsePosition(posLeft, containerWidth - visibleWidth);
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/element-tests.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/element-tests.js
2
2
  function isElement(el) {
3
3
  if (typeof Element === "undefined") return false;
4
4
  return el instanceof Element;
@@ -1,6 +1,6 @@
1
1
  import { parsePosition } from "./parse-position.js";
2
2
  import { computePositionedStyle } from "./compute-positioned-style.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js
4
4
  const getDivImgStyle = ({ backgroundPosition, backgroundSize, containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
5
5
  const base = {
6
6
  containerHeight,
@@ -1,5 +1,5 @@
1
1
  import { testImg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js
3
3
  const getImgAlt = (imgEl) => {
4
4
  if (imgEl !== null) {
5
5
  if (testImg(imgEl)) return imgEl.alt;
@@ -1,6 +1,6 @@
1
1
  import { getScale } from "./get-scale.js";
2
2
  import { computePositionedStyle } from "./compute-positioned-style.js";
3
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js
3
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js
4
4
  const getImgObjectFitStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, objectFit: objectFitParam, objectPosition, offset, targetHeight, targetWidth }) => {
5
5
  let resolvedObjectFit = objectFitParam;
6
6
  if (resolvedObjectFit === "scale-down") {
@@ -1,5 +1,5 @@
1
1
  import { getScale } from "./get-scale.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js
3
3
  const getImgRegularStyle = ({ containerHeight, containerLeft, containerTop, containerWidth, hasScalableSrc, offset, targetHeight, targetWidth }) => {
4
4
  const scale = getScale({
5
5
  containerHeight,
@@ -1,5 +1,5 @@
1
1
  import { testDiv, testImg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js
3
3
  const URL_REGEX = /url(?:\(['"]?)(?<url>.*?)(?:['"]?\))/;
4
4
  const getImgSrc = (imgEl) => {
5
5
  if (imgEl !== null) {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js
2
2
  const getModalImgTransform = ({ height, initialTransform, isZoomed, left, top, userTransform, width }) => {
3
3
  let centeredUserTransform = "";
4
4
  if (userTransform !== "none" && userTransform !== "") {
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-scale.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-scale.js
2
2
  const getScaleToWindow = ({ height, offset, width }) => Math.min((window.innerWidth - offset * 2) / width, (window.innerHeight - offset * 2) / height);
3
3
  const getScaleToWindowMax = ({ containerHeight, containerWidth, offset, targetHeight, targetWidth }) => {
4
4
  const scale = getScaleToWindow({
@@ -1,5 +1,5 @@
1
1
  import { testSvg } from "./element-tests.js";
2
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js
2
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js
3
3
  const getStyleGhost = (imgEl) => {
4
4
  if (imgEl == null) return {};
5
5
  if (testSvg(imgEl)) {
@@ -5,7 +5,7 @@ import { getDivImgStyle } from "./get-div-img-style.js";
5
5
  import { getModalImgTransform } from "./get-modal-img-transform.js";
6
6
  import { getTargetDimension } from "./get-target-dimension.js";
7
7
  import { testHasScalableSrc } from "./test-has-scalable-src.js";
8
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js
8
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js
9
9
  const getStyleModalImg = ({ hasZoomImg, imgSrc, isSvg, isZoomed, loadedImgEl, offset, shouldRefresh, targetEl }) => {
10
10
  const hasScalableSrc = testHasScalableSrc({
11
11
  hasZoomImg,
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js
2
2
  const getTargetDimension = ({ fallback, natural }) => natural !== void 0 && natural !== 0 ? natural : fallback;
3
3
  //#endregion
4
4
  export { getTargetDimension };
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/parse-position.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/parse-position.js
2
2
  const parsePosition = (position, relativeNum) => {
3
3
  const positionNum = parseFloat(position);
4
4
  return position.endsWith("%") ? relativeNum * positionNum / 100 : positionNum;
@@ -1,4 +1,4 @@
1
- //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.0_react@19.3.0__react@19.3.0/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js
1
+ //#region ../../node_modules/.pnpm/react-medium-image-zoom@5.4.9_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js
2
2
  const SRC_SVG_REGEX = /\.svg$/i;
3
3
  const testHasScalableSrc = ({ hasZoomImg, imgSrc, isSvg }) => isSvg || imgSrc?.slice(0, 18) === "data:image/svg+xml" || hasZoomImg || imgSrc !== void 0 && SRC_SVG_REGEX.test(imgSrc);
4
4
  //#endregion
package/dist/og.d.ts CHANGED
@@ -12,4 +12,5 @@ interface GenerateProps {
12
12
  }
13
13
  export declare function generateOGImage(options: GenerateProps & ImageResponseOptions): ImageResponse;
14
14
  export declare function generate({ primaryColor, primaryTextColor, icon, ...props }: GenerateProps): import("react").JSX.Element;
15
- //#endregion
15
+ //#endregion
16
+ export {};
@@ -1,2 +1 @@
1
- import typography_default from "@fumadocs/tailwind/typography";
2
- export { typography_default as default };
1
+ export { default } from "@fumadocs/tailwind/typography";
package/dist/utils/cn.js CHANGED
@@ -1,2 +1 @@
1
- import { cn } from "cn";
2
- export { cn };
1
+ export { cn } from "cn";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "16.17.6",
3
+ "version": "16.17.8",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -140,47 +140,46 @@
140
140
  "dependencies": {
141
141
  "@fuma-translate/react": "^1.0.2",
142
142
  "@fumadocs/tailwind": "0.1.4",
143
- "@radix-ui/react-accordion": "^1.2.20",
144
- "@radix-ui/react-collapsible": "^1.1.20",
145
- "@radix-ui/react-dialog": "^1.1.23",
146
- "@radix-ui/react-direction": "^1.1.4",
147
- "@radix-ui/react-navigation-menu": "^1.2.22",
148
- "@radix-ui/react-popover": "^1.1.23",
149
- "@radix-ui/react-presence": "^1.1.10",
150
- "@radix-ui/react-scroll-area": "^1.2.18",
151
- "@radix-ui/react-slot": "^1.3.3",
152
- "@radix-ui/react-tabs": "^1.1.21",
143
+ "@radix-ui/react-accordion": "^1.3.1",
144
+ "@radix-ui/react-collapsible": "^1.2.1",
145
+ "@radix-ui/react-dialog": "^1.3.1",
146
+ "@radix-ui/react-direction": "^1.2.0",
147
+ "@radix-ui/react-navigation-menu": "^1.4.1",
148
+ "@radix-ui/react-popover": "^1.3.1",
149
+ "@radix-ui/react-presence": "^1.1.11",
150
+ "@radix-ui/react-scroll-area": "^1.4.0",
151
+ "@radix-ui/react-slot": "^1.5.0",
152
+ "@radix-ui/react-tabs": "^1.2.1",
153
153
  "class-variance-authority": "^0.7.1",
154
- "cn": "^0.4.0",
155
- "hast-util-to-jsx-runtime": "^2.3.6",
156
- "lucide-react": "^1.50.0",
157
- "motion": "^14.0.0",
154
+ "cn": "^0.5.0",
155
+ "lucide-react": "^1.61.0",
156
+ "motion": "^14.6.0",
158
157
  "next-themes": "^0.4.6",
159
158
  "react-remove-scroll": "^2.7.2",
160
159
  "scroll-into-view-if-needed": "^3.1.0",
161
160
  "shiki": "^4.5.0"
162
161
  },
163
162
  "devDependencies": {
164
- "@fumadocs/base-ui": "16.17.6",
163
+ "@fumadocs/base-ui": "16.17.8",
165
164
  "@fumadocs/cli": "1.7.5",
166
165
  "@tailwindcss/cli": "^4.3.3",
167
166
  "@tailwindcss/oxide": "^4.3.3",
168
- "@tsdown/css": "^0.23.0",
167
+ "@tsdown/css": "^0.23.1",
169
168
  "@types/mdx": "^2.0.14",
170
- "@types/node": "^26.6.4",
169
+ "@types/node": "^26.6.5",
171
170
  "@types/react": "^19.3.0",
172
171
  "@types/react-dom": "^19.3.0",
173
172
  "fuma-cli": "^0.3.1",
174
- "fumadocs-core": "16.17.6",
173
+ "fumadocs-core": "16.17.8",
175
174
  "react-medium-image-zoom": "^5.4.9",
176
175
  "tailwindcss": "^4.3.3",
177
176
  "tsconfig": "0.0.0",
178
- "tsdown": "0.23.0"
177
+ "tsdown": "0.23.1"
179
178
  },
180
179
  "peerDependencies": {
181
180
  "@types/mdx": "*",
182
181
  "@types/react": "*",
183
- "fumadocs-core": "16.17.6",
182
+ "fumadocs-core": "16.17.8",
184
183
  "next": "16.x.x",
185
184
  "react": "^19.2.0",
186
185
  "react-dom": "^19.2.0",