fumadocs-ui 16.11.1 → 16.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/generated/shared.css +1 -1
- package/dist/components/accordion.d.ts +2 -15
- package/dist/components/banner.d.ts +1 -9
- package/dist/components/callout.d.ts +4 -24
- package/dist/components/card.d.ts +1 -7
- package/dist/components/codeblock.d.ts +3 -20
- package/dist/components/codeblock.rsc.d.ts +1 -6
- package/dist/components/dialog/search-algolia.d.ts +2 -11
- package/dist/components/dialog/search-default.d.ts +2 -12
- package/dist/components/dialog/search-orama.d.ts +2 -13
- package/dist/components/dialog/search.d.ts +9 -45
- package/dist/components/dynamic-codeblock.core.d.ts +1 -9
- package/dist/components/dynamic-codeblock.d.ts +0 -1
- package/dist/components/files.d.ts +3 -16
- package/dist/components/github-info.d.ts +2 -17
- package/dist/components/heading.d.ts +1 -5
- package/dist/components/image-zoom.d.ts +2 -7
- package/dist/components/inline-toc.d.ts +1 -5
- package/dist/components/sidebar/base.d.ts +9 -47
- package/dist/components/sidebar/link-item.d.ts +1 -11
- package/dist/components/sidebar/page-tree.d.ts +1 -9
- package/dist/components/sidebar/tabs/dropdown.d.ts +1 -6
- package/dist/components/sidebar/tabs/index.d.ts +1 -4
- package/dist/components/steps.d.ts +2 -7
- package/dist/components/tabs.d.ts +3 -19
- package/dist/components/toc/clerk.d.ts +2 -11
- package/dist/components/toc/default.d.ts +2 -12
- package/dist/components/toc/index.d.ts +2 -11
- package/dist/components/type-table.d.ts +1 -7
- package/dist/components/ui/accordion.d.ts +5 -25
- package/dist/components/ui/button.d.ts +1 -2
- package/dist/components/ui/collapsible.d.ts +1 -5
- package/dist/components/ui/navigation-menu.d.ts +4 -20
- package/dist/components/ui/popover.d.ts +1 -7
- package/dist/components/ui/scroll-area.d.ts +3 -16
- package/dist/components/ui/tabs.d.ts +2 -15
- package/dist/contexts/i18n.d.ts +1 -8
- package/dist/contexts/search.d.ts +2 -12
- package/dist/contexts/tree.d.ts +1 -5
- package/dist/i18n.d.ts +0 -1
- package/dist/layouts/docs/client.d.ts +0 -1
- package/dist/layouts/docs/index.d.ts +1 -13
- package/dist/layouts/docs/page/index.d.ts +5 -44
- package/dist/layouts/docs/page/slots/breadcrumb.d.ts +1 -7
- package/dist/layouts/docs/page/slots/container.d.ts +0 -1
- package/dist/layouts/docs/page/slots/footer.d.ts +1 -7
- package/dist/layouts/docs/page/slots/toc.d.ts +2 -17
- package/dist/layouts/docs/slots/container.d.ts +0 -1
- package/dist/layouts/docs/slots/header.d.ts +0 -1
- package/dist/layouts/docs/slots/sidebar.d.ts +1 -8
- package/dist/layouts/flux/index.d.ts +2 -14
- package/dist/layouts/flux/page/index.d.ts +5 -40
- package/dist/layouts/flux/page/slots/breadcrumb.d.ts +1 -7
- package/dist/layouts/flux/page/slots/container.d.ts +0 -1
- package/dist/layouts/flux/page/slots/footer.d.ts +1 -7
- package/dist/layouts/flux/page/slots/toc.d.ts +1 -10
- package/dist/layouts/flux/slots/container.d.ts +0 -1
- package/dist/layouts/flux/slots/sidebar.d.ts +1 -7
- package/dist/layouts/flux/slots/tab-dropdown.d.ts +1 -7
- package/dist/layouts/home/index.d.ts +0 -1
- package/dist/layouts/home/navbar.d.ts +0 -1
- package/dist/layouts/home/slots/container.d.ts +0 -1
- package/dist/layouts/home/slots/header.d.ts +0 -1
- package/dist/layouts/notebook/client.d.ts +0 -1
- package/dist/layouts/notebook/index.d.ts +1 -12
- package/dist/layouts/notebook/page/index.d.ts +5 -44
- package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +1 -7
- package/dist/layouts/notebook/page/slots/container.d.ts +0 -1
- package/dist/layouts/notebook/page/slots/footer.d.ts +1 -7
- package/dist/layouts/notebook/page/slots/toc.d.ts +2 -17
- package/dist/layouts/notebook/slots/container.d.ts +0 -1
- package/dist/layouts/notebook/slots/header.d.ts +0 -1
- package/dist/layouts/notebook/slots/sidebar.d.ts +1 -8
- package/dist/layouts/shared/client.d.ts +2 -9
- package/dist/layouts/shared/index.d.ts +3 -12
- package/dist/layouts/shared/page-actions.d.ts +2 -17
- package/dist/layouts/shared/slots/language-select.d.ts +1 -7
- package/dist/layouts/shared/slots/search-trigger.d.ts +2 -11
- package/dist/layouts/shared/slots/theme-switch.d.ts +1 -6
- package/dist/legacy/layout.d.ts +2 -9
- package/dist/legacy/sidebar.d.ts +1 -4
- package/dist/mdx.d.ts +0 -1
- package/dist/mdx.server.d.ts +0 -1
- package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/controlled.d.ts +0 -1
- package/dist/node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +0 -1
- package/dist/og/takumi.d.ts +2 -8
- package/dist/og/takumi.js +1 -1
- package/dist/og.d.ts +1 -7
- package/dist/page.d.ts +1 -7
- package/dist/provider/astro.d.ts +29 -0
- package/dist/provider/astro.js +20 -0
- package/dist/provider/base.d.ts +1 -8
- package/dist/provider/next.d.ts +1 -5
- package/dist/provider/react-router.d.ts +1 -5
- package/dist/provider/tanstack.d.ts +1 -5
- package/dist/provider/waku.d.ts +1 -5
- package/dist/style.css +16 -9
- package/dist/utils/use-copy-button.d.ts +0 -1
- package/dist/utils/use-footer-items.d.ts +0 -1
- package/dist/utils/use-is-scroll-top.d.ts +1 -3
- package/package.json +20 -19
package/css/generated/shared.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:rounded-full --callout-color --color-fd- --color-fd-muted --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 [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [offset-distance:var(--offset-distance,0)] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about absolute accordion action actions active add advanced algoliaClient align alignItems alignmentBaseline all allowClear allowCopy allowDangerousHtml allowedMode alphabet always an anchor and animate-pulse animation another application/json areaRef aria-describedby aria-label aria-selected as aside ask assume assumes async at auto await backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based behaviour bg-(--callout-color)/50 bg-(--shiki-light-bg) 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 blocks boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundary buffer bundle button buttonVariants by cache cached can case center central change changeLayout checked child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clipPath clone close closeOnRedirect closed cn code col-span-full collapsed collapsible collection color colors column com compact compat compatible component components composedRef computed config const container containerRef content contents context controlled/uncontrolled copy core counterSet createContext createMarkdownRenderer createRelativeLink css ctx current currentColor 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-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 defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description detect dialog dir 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 documented dominantBaseline don drawer duration-100 duration-200 duration-300 duration-400 element else empty empty:hidden enabled encoded end-2 endIdx endpoint env environment equal error escape eslint-disable-next-line event export extends external extraProps false fd-moving-banner fd-scroll-container fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters finally fixed flex flex-1 flex-col flex-row flex-wrap flexDirection flushSync 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 fragment free from full fumadocs 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-y-4 generated ghost github-dark github-light githubUrl global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] group 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 guides h h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-1.5 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 handle handleThemeChange has-focus-visible:bg-fd-accent hash hast have header headers heading height hidden highlight highlighter hints horizontal hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore img import in inPre inTab index infinite info inline inline-flex input inputType inset-0 inset-e-2 inset-s-0 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 instanceof instead integration interface intersect invisible is isActive isFirst isLast isLoading isTabActive isUp it item itemLineLengths itemVariants items items-center js justify-between justify-center keepBackground key keydown keys l l0 l1 l2 label lang language languageSelect languages last:rounded-b-xl layer layout leading-none leaving left-0 left-1/2 length let level light light-dark light-dark-system line line-through linear link links list list-none listener listeners locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react 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)] mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] maskComposite maskImage max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-md:bg-fd-secondary max-md:border max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-screen-sm max-width maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:size-5 md:top-[calc(50%-250px)] mdComponents mdRenderer mdx/types.js me-1 me-2 me-auto menu menuItems mergeRefs message middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module mounted mouse ms-2 ms-auto ms-px mt-1 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto n name namespace 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 noopener noreferrer normal normalize not not-last:mb-2 not-prose notation note now null number numbers object observer of offsetPath offsetTop on onChange onClick onCopy onKey onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onPrint onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange only opacity-(--opacity,0) opacity-0 open option optional options or oramaCloudClient order orientation origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output overflow-auto overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain own owner p p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl parameters params parentId pass passed path pathname paths pb-0 pb-2 pe-2 performing persist persistent placeholder placeholder:text-fd-muted-foreground please pointerType positions possible powered pre pre-rendering prefetch present prev previous previousRef primary primaryColor primaryTextColor promise promises prompt prop props prose prose-no-margin provide provider ps-1 ps-2 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 px-px py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query questions rainbow rainbowColors raw re-create react react-dom react-hooks/rules-of-hooks react-medium-image-zoom ref referenced region registering rehype-raw rehypeCustomElements rehypePlugins rehypeRaw rel relative remarkRehypeOptions remove render renderHighlights renderMarkdown repo repository required resolve resolved resolvedTheme response rest result results return revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rtl:-scale-x-100 rtl:rotate-180 rtl:rotate-90 s scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSvg setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiki shikiOptions shortcuts show showAlgolia showOrama 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 sizes slots sm solid some source space span specific src stars startIdx state static sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth strong style styles success supported supposed sure svg switch switcher system t tab tabIndex table tabs tabsRef tag tagName tags target text text-(--callout-color) text-[0.8125rem] text-[0.9375rem] text-center text-fd-accent-foreground text-fd-card text-fd-card-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-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent the their theme themeAriaLabels themeSwitch themeSwitchEnabled themes this throw thumbBox tier timerRef tip title to toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-4 touch transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger true truncate try type typeof types unchanged undefined underline underlying understand unified unist-util-visit unknown unnecessarily updateAnchor updates upperX url urls usage use useCopyButton useDocsSearch useI18n useId useIsDocsLayout useItems useMediaQuery useMemo useOnChange usePathname useProps useRef useRouter useSearchContext useSidebar useState useTOCItems useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants vertical viewBox viewRef viewport viewportProps visit void w 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 when where while white whitespace-nowrap whitespaces width will window with work wrap wrap-anywhere wrapElement wrapInSuspense wrapped x x1 x2 xmlns y y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomMargin");
|
|
1
|
+
@source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:rounded-full --callout-color --color-fd- --color-fd-muted --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 [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [offset-distance:var(--offset-distance,0)] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about absolute accordion action actions active add advanced algoliaClient align alignItems alignmentBaseline all allowClear allowCopy allowDangerousHtml allowedMode alphabet always an anchor and animate-pulse animation another application/json areaRef aria-describedby aria-label aria-selected as aside ask assume assumes async at auto await backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based behaviour bg-(--callout-color)/50 bg-(--shiki-light-bg) 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 blocks boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 boundary buffer bundle button buttonVariants by cache cached can case center central change changeLayout checked child children chooseLanguage class-variance-authority className clear client client-side clientHeight clientWidth clipPath clone close closeOnRedirect closed cn code col-span-full collapsed collapsible collection color colors column com compact compat compatible component components composedRef computed config const container containerRef content contents context controlled/uncontrolled copy core counterSet createContext createMarkdownRenderer createRelativeLink css ctx current currentColor 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-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 defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description detect dialog dir 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 documented dominantBaseline don drawer duration-100 duration-200 duration-300 duration-400 element else empty empty:hidden enabled encoded end-2 endIdx endpoint env environment equal error escape eslint-disable-next-line event export extends external extraProps false fd-moving-banner fd-scroll-container fd-step fd-steps fetch fetchClient fetchOptions field fieldVariants figure file fill fill-(--callout-color) fill-fd-muted fill-fd-muted-foreground fill-fd-primary fill-fd-primary-foreground filter filters finally fixed flex flex-1 flex-col flex-row flex-wrap flexDirection flushSync 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 fragment free from full fumadocs 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-y-4 generated ghost github-dark github-light githubUrl global globalKey grid grid-cols-2 grid-cols-[1fr_3fr] group 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 guides h h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-1.5 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 handle handleThemeChange has-focus-visible:bg-fd-accent hash hast have header headers heading height hidden highlight highlighter hints horizontal hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore img import in inPre inTab index infinite info inline inline-flex input inputType inset-0 inset-e-2 inset-s-0 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 instanceof instead integration interface intersect invisible is isActive isFirst isLast isLoading isTabActive isUp it item itemLineLengths itemVariants items items-center js justify-between justify-center keepBackground key keydown keys l l0 l1 l2 label lang language languageSelect languages last:rounded-b-xl layer layout leading-none leaving left-0 left-1/2 length let level light light-dark light-dark-system line line-through linear link links list list-none listener listeners locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react 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)] mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] maskComposite maskImage max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-md:bg-fd-secondary max-md:border max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-screen-sm max-width maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:size-5 md:top-[calc(50%-250px)] mdComponents mdRenderer mdx/types.js me-1 me-2 me-auto menu menuItems mergeRefs message middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module mounted mouse ms-2 ms-auto ms-px mt-1 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto n name namespace 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 noopener noreferrer normal normalize not not-last:mb-2 not-prose notation note now null number numbers object observer of offsetPath offsetTop on onChange onClick onCopy onKey onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onPrint onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange only opacity-(--opacity,0) opacity-0 open option optional options or oramaCloudClient order orientation origin-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output overflow-auto overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain own owner p p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl parameters params parentId pass passed path pathname paths pb-0 pb-2 pe-2 performing persist persistent placeholder placeholder:text-fd-muted-foreground please pointerType positions possible powered pre pre-rendering prefetch present prev previous previousRef primary primaryColor primaryTextColor promise promises prompt prop props prose prose-no-margin provide provider ps-1 ps-2 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 px-px py-0.5 py-1 py-1.5 py-12 py-2 py-2.5 py-3 py-3.5 q query questions rainbow rainbowColors raw re-create react react-dom react-hooks/rules-of-hooks react-medium-image-zoom ref referenced region registering rehype-raw rehypeCustomElements rehypePlugins rehypeRaw rel relative remarkRehypeOptions remove render renderHighlights renderMarkdown repo repository required resolve resolved resolvedTheme response rest result results return revalidate right-2 role root rootRef round rounded-2xl rounded-[inherit] rounded-full rounded-lg rounded-md rounded-sm rounded-xl router row rtl:-scale-x-100 rtl:rotate-180 rtl:rotate-90 s scroll scroll-into-view-if-needed scroll-m-20 scroll-m-24 scroll-m-28 scroll-m-4 scrollIntoView scrollMode search searchOptions searchToggle searchToggleEnabled searchTrigger secondary see select-none selected separate separator server set setActive setCollapsed setHover setLoading setMounted setOpen setOpenSearch setSvg setTag setValue shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiki shikiOptions shortcuts show showAlgolia showOrama 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 sizes slots sm solid some source space span specific src stars startIdx state static sticky still str string stroke stroke-fd-foreground/10 stroke-fd-primary strokeLinecap strokeLinejoin strokeWidth strong style styles success supported supposed sure svg switch switcher system t tab tabIndex table tabs tabsRef tag tagName tags target text text-(--callout-color) text-[0.8125rem] text-[0.9375rem] text-center text-fd-accent-foreground text-fd-card text-fd-card-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-lg text-nowrap text-sm text-start text-xs text/plain textAnchor textContent the their theme themeAriaLabels themeSwitch themeSwitchEnabled themes this throw thumbBox tier timerRef tip title to toc tocInfo toolbar top top-0 top-1/2 top-2.5 top-3 top-4 touch transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[width,height] transition-all transition-colors transition-opacity transition-transform translationKeys translations translations/keys.json transparent tree trigger true truncate try type typeof types unchanged undefined underline underlying understand unified unist-util-visit unknown unnecessarily updateAnchor updates upperX url urls usage use useCopyButton useDocsSearch useI18n useId useIsDocsLayout useItems useMediaQuery useMemo useOnChange usePathname useProps useRef useRouter useSearchContext useSidebar useState useTOCItems useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants vertical viewBox viewRef viewport viewportProps visit vite void w 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 when where while white whitespace-nowrap whitespaces width will window with work wrap wrap-anywhere wrapElement wrapInSuspense wrapped x x1 x2 xmlns y y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomMargin");
|
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/accordion.d.ts
|
|
5
|
-
declare function Accordions({
|
|
6
|
-
|
|
7
|
-
ref,
|
|
8
|
-
className,
|
|
9
|
-
defaultValue,
|
|
10
|
-
...props
|
|
11
|
-
}: ComponentProps<typeof Accordion$1>): import("react").JSX.Element;
|
|
12
|
-
declare function Accordion({
|
|
13
|
-
title,
|
|
14
|
-
id,
|
|
15
|
-
value,
|
|
16
|
-
children,
|
|
17
|
-
...props
|
|
18
|
-
}: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
|
|
4
|
+
declare function Accordions({ type, ref, className, defaultValue, ...props }: ComponentProps<typeof Accordion$1>): import("react").JSX.Element;
|
|
5
|
+
declare function Accordion({ title, id, value, children, ...props }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
|
|
19
6
|
title: string | ReactNode;
|
|
20
7
|
value?: string;
|
|
21
8
|
}): import("react").JSX.Element;
|
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/banner.d.ts
|
|
4
3
|
type BannerVariant = 'rainbow' | 'normal';
|
|
5
|
-
declare function Banner({
|
|
6
|
-
id,
|
|
7
|
-
variant,
|
|
8
|
-
changeLayout,
|
|
9
|
-
height,
|
|
10
|
-
rainbowColors,
|
|
11
|
-
...props
|
|
12
|
-
}: HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
declare function Banner({ id, variant, changeLayout, height, rainbowColors, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
13
5
|
/**
|
|
14
6
|
* @defaultValue 3rem
|
|
15
7
|
*/
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/callout.d.ts
|
|
4
3
|
type CalloutType = 'info' | 'warn' | 'error' | 'success' | 'warning' | 'idea';
|
|
5
|
-
declare function Callout({
|
|
6
|
-
children,
|
|
7
|
-
title,
|
|
8
|
-
...props
|
|
9
|
-
}: {
|
|
4
|
+
declare function Callout({ children, title, ...props }: {
|
|
10
5
|
title?: ReactNode;
|
|
11
6
|
} & Omit<CalloutContainerProps, 'title'>): import("react").JSX.Element;
|
|
12
7
|
interface CalloutContainerProps extends ComponentProps<'div'> {
|
|
@@ -19,23 +14,8 @@ interface CalloutContainerProps extends ComponentProps<'div'> {
|
|
|
19
14
|
*/
|
|
20
15
|
icon?: ReactNode;
|
|
21
16
|
}
|
|
22
|
-
declare function CalloutContainer({
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
children,
|
|
26
|
-
className,
|
|
27
|
-
style,
|
|
28
|
-
...props
|
|
29
|
-
}: CalloutContainerProps): import("react").JSX.Element;
|
|
30
|
-
declare function CalloutTitle({
|
|
31
|
-
children,
|
|
32
|
-
className,
|
|
33
|
-
...props
|
|
34
|
-
}: ComponentProps<'p'>): import("react").JSX.Element;
|
|
35
|
-
declare function CalloutDescription({
|
|
36
|
-
children,
|
|
37
|
-
className,
|
|
38
|
-
...props
|
|
39
|
-
}: ComponentProps<'p'>): import("react").JSX.Element;
|
|
17
|
+
declare function CalloutContainer({ type: inputType, icon, children, className, style, ...props }: CalloutContainerProps): import("react").JSX.Element;
|
|
18
|
+
declare function CalloutTitle({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
|
|
19
|
+
declare function CalloutDescription({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
|
|
40
20
|
//#endregion
|
|
41
21
|
export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/card.d.ts
|
|
4
3
|
declare function Cards(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
5
4
|
type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
@@ -9,11 +8,6 @@ type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
|
9
8
|
href?: string;
|
|
10
9
|
external?: boolean;
|
|
11
10
|
};
|
|
12
|
-
declare function Card({
|
|
13
|
-
icon,
|
|
14
|
-
title,
|
|
15
|
-
description,
|
|
16
|
-
...props
|
|
17
|
-
}: CardProps): import("react").JSX.Element;
|
|
11
|
+
declare function Card({ icon, title, description, ...props }: CardProps): import("react").JSX.Element;
|
|
18
12
|
//#endregion
|
|
19
13
|
export { Card, CardProps, Cards };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
|
|
2
2
|
import { ComponentProps, HTMLAttributes, ReactNode } from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/codeblock.d.ts
|
|
5
4
|
interface CodeBlockProps extends ComponentProps<'figure'> {
|
|
6
5
|
/**
|
|
@@ -36,26 +35,10 @@ interface CodeBlockProps extends ComponentProps<'figure'> {
|
|
|
36
35
|
}) => ReactNode;
|
|
37
36
|
}
|
|
38
37
|
declare function Pre(props: ComponentProps<'pre'>): import("react").JSX.Element;
|
|
39
|
-
declare function CodeBlock({
|
|
40
|
-
|
|
41
|
-
title,
|
|
42
|
-
allowCopy,
|
|
43
|
-
keepBackground,
|
|
44
|
-
icon,
|
|
45
|
-
viewportProps,
|
|
46
|
-
children,
|
|
47
|
-
Actions,
|
|
48
|
-
...props
|
|
49
|
-
}: CodeBlockProps): import("react").JSX.Element;
|
|
50
|
-
declare function CodeBlockTabs({
|
|
51
|
-
ref,
|
|
52
|
-
...props
|
|
53
|
-
}: ComponentProps<typeof Tabs>): import("react").JSX.Element;
|
|
38
|
+
declare function CodeBlock({ ref, title, allowCopy, keepBackground, icon, viewportProps, children, Actions, ...props }: CodeBlockProps): import("react").JSX.Element;
|
|
39
|
+
declare function CodeBlockTabs({ ref, ...props }: ComponentProps<typeof Tabs>): import("react").JSX.Element;
|
|
54
40
|
declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): import("react").JSX.Element;
|
|
55
|
-
declare function CodeBlockTabsTrigger({
|
|
56
|
-
children,
|
|
57
|
-
...props
|
|
58
|
-
}: ComponentProps<typeof TabsTrigger>): import("react").JSX.Element;
|
|
41
|
+
declare function CodeBlockTabsTrigger({ children, ...props }: ComponentProps<typeof TabsTrigger>): import("react").JSX.Element;
|
|
59
42
|
declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
|
|
60
43
|
//#endregion
|
|
61
44
|
export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CodeBlockProps } from "./codeblock.js";
|
|
2
2
|
import { HighlightOptions } from "fumadocs-core/highlight";
|
|
3
|
-
|
|
4
3
|
//#region src/components/codeblock.rsc.d.ts
|
|
5
4
|
type ServerCodeBlockProps = HighlightOptions & {
|
|
6
5
|
code: string;
|
|
@@ -11,10 +10,6 @@ type ServerCodeBlockProps = HighlightOptions & {
|
|
|
11
10
|
*/
|
|
12
11
|
codeblock?: CodeBlockProps;
|
|
13
12
|
};
|
|
14
|
-
declare function ServerCodeBlock({
|
|
15
|
-
code,
|
|
16
|
-
codeblock,
|
|
17
|
-
...options
|
|
18
|
-
}: ServerCodeBlockProps): Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | (string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined)>;
|
|
13
|
+
declare function ServerCodeBlock({ code, codeblock, ...options }: ServerCodeBlockProps): Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | (string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined)>;
|
|
19
14
|
//#endregion
|
|
20
15
|
export { ServerCodeBlock, ServerCodeBlockProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
2
|
+
import "./search.js";
|
|
2
3
|
import { ReactNode } from "react";
|
|
3
4
|
import { AlgoliaOptions } from "fumadocs-core/search/client";
|
|
4
|
-
|
|
5
5
|
//#region src/components/dialog/search-algolia.d.ts
|
|
6
6
|
interface AlgoliaSearchDialogProps extends SharedProps {
|
|
7
7
|
searchOptions: AlgoliaOptions;
|
|
@@ -22,15 +22,6 @@ interface AlgoliaSearchDialogProps extends SharedProps {
|
|
|
22
22
|
*/
|
|
23
23
|
allowClear?: boolean;
|
|
24
24
|
}
|
|
25
|
-
declare function AlgoliaSearchDialog({
|
|
26
|
-
searchOptions,
|
|
27
|
-
tags,
|
|
28
|
-
defaultTag,
|
|
29
|
-
showAlgolia,
|
|
30
|
-
allowClear,
|
|
31
|
-
links,
|
|
32
|
-
footer,
|
|
33
|
-
...props
|
|
34
|
-
}: AlgoliaSearchDialogProps): import("react").JSX.Element;
|
|
25
|
+
declare function AlgoliaSearchDialog({ searchOptions, tags, defaultTag, showAlgolia, allowClear, links, footer, ...props }: AlgoliaSearchDialogProps): import("react").JSX.Element;
|
|
35
26
|
//#endregion
|
|
36
27
|
export { AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
2
|
+
import "./search.js";
|
|
2
3
|
import { ReactNode } from "react";
|
|
3
|
-
|
|
4
4
|
//#region src/components/dialog/search-default.d.ts
|
|
5
5
|
interface DefaultSearchDialogProps extends SharedProps {
|
|
6
6
|
/** @deprecated re-create the dialog instead for other clients, see https://fumadocs.dev/docs/search/orama */
|
|
@@ -24,16 +24,6 @@ interface DefaultSearchDialogProps extends SharedProps {
|
|
|
24
24
|
*/
|
|
25
25
|
allowClear?: boolean;
|
|
26
26
|
}
|
|
27
|
-
declare function DefaultSearchDialog({
|
|
28
|
-
type,
|
|
29
|
-
defaultTag,
|
|
30
|
-
tags,
|
|
31
|
-
api,
|
|
32
|
-
delayMs,
|
|
33
|
-
allowClear,
|
|
34
|
-
links,
|
|
35
|
-
footer,
|
|
36
|
-
...props
|
|
37
|
-
}: DefaultSearchDialogProps): import("react").JSX.Element;
|
|
27
|
+
declare function DefaultSearchDialog({ type, defaultTag, tags, api, delayMs, allowClear, links, footer, ...props }: DefaultSearchDialogProps): import("react").JSX.Element;
|
|
38
28
|
//#endregion
|
|
39
29
|
export { DefaultSearchDialogProps, DefaultSearchDialog as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
2
|
+
import "./search.js";
|
|
2
3
|
import { ReactNode } from "react";
|
|
3
4
|
import { OramaCloudOptions } from "fumadocs-core/search/client";
|
|
4
|
-
|
|
5
5
|
//#region src/components/dialog/search-orama.d.ts
|
|
6
6
|
interface OramaSearchDialogProps extends SharedProps {
|
|
7
7
|
links?: SearchLink[];
|
|
@@ -27,17 +27,6 @@ interface OramaSearchDialogProps extends SharedProps {
|
|
|
27
27
|
/**
|
|
28
28
|
* Orama Cloud integration
|
|
29
29
|
*/
|
|
30
|
-
declare function OramaSearchDialog({
|
|
31
|
-
client,
|
|
32
|
-
searchOptions,
|
|
33
|
-
tags,
|
|
34
|
-
defaultTag,
|
|
35
|
-
showOrama,
|
|
36
|
-
allowClear,
|
|
37
|
-
index,
|
|
38
|
-
footer,
|
|
39
|
-
links,
|
|
40
|
-
...props
|
|
41
|
-
}: OramaSearchDialogProps): import("react").JSX.Element;
|
|
30
|
+
declare function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): import("react").JSX.Element;
|
|
42
31
|
//#endregion
|
|
43
32
|
export { OramaSearchDialogProps, OramaSearchDialog as default };
|
|
@@ -2,7 +2,6 @@ import { SharedProps } from "../../contexts/search.js";
|
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
3
|
import { DialogContent, DialogOverlay } from "@radix-ui/react-dialog";
|
|
4
4
|
import { HighlightedText, ReactSortedResult } from "fumadocs-core/search";
|
|
5
|
-
|
|
6
5
|
//#region src/components/dialog/search.d.ts
|
|
7
6
|
type SearchItemType = (ReactSortedResult & {
|
|
8
7
|
external?: boolean;
|
|
@@ -19,34 +18,14 @@ interface SearchDialogProps extends SharedProps {
|
|
|
19
18
|
isLoading?: boolean;
|
|
20
19
|
children: ReactNode;
|
|
21
20
|
}
|
|
22
|
-
declare function SearchDialog({
|
|
23
|
-
open,
|
|
24
|
-
onOpenChange,
|
|
25
|
-
search,
|
|
26
|
-
onSearchChange,
|
|
27
|
-
isLoading,
|
|
28
|
-
onSelect: onSelectProp,
|
|
29
|
-
children
|
|
30
|
-
}: SearchDialogProps): import("react").JSX.Element;
|
|
21
|
+
declare function SearchDialog({ open, onOpenChange, search, onSearchChange, isLoading, onSelect: onSelectProp, children }: SearchDialogProps): import("react").JSX.Element;
|
|
31
22
|
declare function SearchDialogHeader(props: ComponentProps<'div'>): import("react").JSX.Element;
|
|
32
23
|
declare function SearchDialogInput(props: ComponentProps<'input'>): import("react").JSX.Element;
|
|
33
|
-
declare function SearchDialogClose({
|
|
34
|
-
children,
|
|
35
|
-
className,
|
|
36
|
-
...props
|
|
37
|
-
}: ComponentProps<'button'>): import("react").JSX.Element;
|
|
24
|
+
declare function SearchDialogClose({ children, className, ...props }: ComponentProps<'button'>): import("react").JSX.Element;
|
|
38
25
|
declare function SearchDialogFooter(props: ComponentProps<'div'>): import("react").JSX.Element;
|
|
39
26
|
declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): import("react").JSX.Element;
|
|
40
|
-
declare function SearchDialogContent({
|
|
41
|
-
|
|
42
|
-
...props
|
|
43
|
-
}: ComponentProps<typeof DialogContent>): import("react").JSX.Element;
|
|
44
|
-
declare function SearchDialogList({
|
|
45
|
-
items,
|
|
46
|
-
Empty,
|
|
47
|
-
Item,
|
|
48
|
-
...props
|
|
49
|
-
}: Omit<ComponentProps<'div'>, 'children'> & {
|
|
27
|
+
declare function SearchDialogContent({ children, ...props }: ComponentProps<typeof DialogContent>): import("react").JSX.Element;
|
|
28
|
+
declare function SearchDialogList({ items, Empty, Item, ...props }: Omit<ComponentProps<'div'>, 'children'> & {
|
|
50
29
|
items: SearchItemType[] | null | undefined;
|
|
51
30
|
/**
|
|
52
31
|
* Renderer for empty list UI
|
|
@@ -60,15 +39,9 @@ declare function SearchDialogList({
|
|
|
60
39
|
onClick: () => void;
|
|
61
40
|
}) => ReactNode;
|
|
62
41
|
}): import("react").JSX.Element;
|
|
63
|
-
declare function SearchDialogListItem({
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
children,
|
|
67
|
-
renderMarkdown,
|
|
68
|
-
renderHighlights: _,
|
|
69
|
-
...props
|
|
70
|
-
}: ComponentProps<'button'> & {
|
|
71
|
-
renderMarkdown?: (v: string) => ReactNode; /** @deprecated highlight blocks is now wrapped in `<mark />`, use `renderMarkdown` to handle instead. */
|
|
42
|
+
declare function SearchDialogListItem({ item, className, children, renderMarkdown, renderHighlights: _, ...props }: ComponentProps<'button'> & {
|
|
43
|
+
renderMarkdown?: (v: string) => ReactNode;
|
|
44
|
+
/** @deprecated highlight blocks is now wrapped in `<mark />`, use `renderMarkdown` to handle instead. */
|
|
72
45
|
renderHighlights?: (blocks: HighlightedText<ReactNode>[]) => ReactNode;
|
|
73
46
|
item: SearchItemType;
|
|
74
47
|
}): import("react").JSX.Element;
|
|
@@ -78,17 +51,8 @@ interface TagsListProps extends ComponentProps<'div'> {
|
|
|
78
51
|
onTagChange: (tag: string | undefined) => void;
|
|
79
52
|
allowClear?: boolean;
|
|
80
53
|
}
|
|
81
|
-
declare function TagsList({
|
|
82
|
-
|
|
83
|
-
onTagChange,
|
|
84
|
-
allowClear,
|
|
85
|
-
...props
|
|
86
|
-
}: TagsListProps): import("react").JSX.Element;
|
|
87
|
-
declare function TagsListItem({
|
|
88
|
-
value,
|
|
89
|
-
className,
|
|
90
|
-
...props
|
|
91
|
-
}: ComponentProps<'button'> & {
|
|
54
|
+
declare function TagsList({ tag, onTagChange, allowClear, ...props }: TagsListProps): import("react").JSX.Element;
|
|
55
|
+
declare function TagsListItem({ value, className, ...props }: ComponentProps<'button'> & {
|
|
92
56
|
value: string;
|
|
93
57
|
}): import("react").JSX.Element;
|
|
94
58
|
declare function useSearch(): {
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { CodeBlockProps } from "./codeblock.js";
|
|
2
2
|
import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
|
|
3
3
|
import { HighlighterCore } from "shiki";
|
|
4
|
-
|
|
5
4
|
//#region src/components/dynamic-codeblock.core.d.ts
|
|
6
5
|
interface DynamicCodeblockProps {
|
|
7
6
|
highlighter: HighlighterCore | (() => HighlighterCore | PromiseLike<HighlighterCore>);
|
|
@@ -22,13 +21,6 @@ interface DynamicCodeblockProps {
|
|
|
22
21
|
options: DistributiveOmit<UseShikiOptions, 'lang'>;
|
|
23
22
|
}
|
|
24
23
|
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
25
|
-
declare function DynamicCodeBlock({
|
|
26
|
-
lang,
|
|
27
|
-
code,
|
|
28
|
-
codeblock,
|
|
29
|
-
options,
|
|
30
|
-
wrapInSuspense,
|
|
31
|
-
highlighter
|
|
32
|
-
}: DynamicCodeblockProps): import("react").JSX.Element;
|
|
24
|
+
declare function DynamicCodeBlock({ lang, code, codeblock, options, wrapInSuspense, highlighter }: DynamicCodeblockProps): import("react").JSX.Element;
|
|
33
25
|
//#endregion
|
|
34
26
|
export { DynamicCodeBlock, DynamicCodeblockProps };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { DynamicCodeblockProps as DynamicCodeblockProps$1 } from "./dynamic-codeblock.core.js";
|
|
2
|
-
|
|
3
2
|
//#region src/components/dynamic-codeblock.d.ts
|
|
4
3
|
type DynamicCodeblockProps = Omit<DynamicCodeblockProps$1, 'highlighter' | 'options'> & {
|
|
5
4
|
options?: DynamicCodeblockProps$1['options'];
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/files.d.ts
|
|
4
|
-
declare function Files({
|
|
5
|
-
className,
|
|
6
|
-
...props
|
|
7
|
-
}: HTMLAttributes<HTMLDivElement>): React.ReactElement;
|
|
3
|
+
declare function Files({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.ReactElement;
|
|
8
4
|
interface FileProps extends HTMLAttributes<HTMLDivElement> {
|
|
9
5
|
name: string;
|
|
10
6
|
icon?: ReactNode;
|
|
@@ -19,16 +15,7 @@ interface FolderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
19
15
|
*/
|
|
20
16
|
defaultOpen?: boolean;
|
|
21
17
|
}
|
|
22
|
-
declare function File({
|
|
23
|
-
|
|
24
|
-
icon,
|
|
25
|
-
className,
|
|
26
|
-
...rest
|
|
27
|
-
}: FileProps): React.ReactElement;
|
|
28
|
-
declare function Folder({
|
|
29
|
-
name,
|
|
30
|
-
defaultOpen,
|
|
31
|
-
...props
|
|
32
|
-
}: FolderProps): React.ReactElement;
|
|
18
|
+
declare function File({ name, icon, className, ...rest }: FileProps): React.ReactElement;
|
|
19
|
+
declare function Folder({ name, defaultOpen, ...props }: FolderProps): React.ReactElement;
|
|
33
20
|
//#endregion
|
|
34
21
|
export { File, FileProps, Files, Folder, FolderProps };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/github-info.d.ts
|
|
4
3
|
interface FetchRepositoryInfoOptions {
|
|
5
4
|
owner: string;
|
|
@@ -15,21 +14,7 @@ interface RepositoryInfo {
|
|
|
15
14
|
interface GithubInfoProps extends ComponentProps<'a'>, FetchRepositoryInfoOptions {
|
|
16
15
|
locale?: Intl.LocalesArgument;
|
|
17
16
|
}
|
|
18
|
-
declare function fetchRepositoryInfo({
|
|
19
|
-
|
|
20
|
-
repo,
|
|
21
|
-
token,
|
|
22
|
-
baseUrl,
|
|
23
|
-
fetchOptions
|
|
24
|
-
}: FetchRepositoryInfoOptions): Promise<RepositoryInfo>;
|
|
25
|
-
declare function GithubInfo({
|
|
26
|
-
repo,
|
|
27
|
-
owner,
|
|
28
|
-
token,
|
|
29
|
-
baseUrl,
|
|
30
|
-
fetchOptions,
|
|
31
|
-
locale,
|
|
32
|
-
...props
|
|
33
|
-
}: GithubInfoProps): import("react").JSX.Element;
|
|
17
|
+
declare function fetchRepositoryInfo({ owner, repo, token, baseUrl, fetchOptions }: FetchRepositoryInfoOptions): Promise<RepositoryInfo>;
|
|
18
|
+
declare function GithubInfo({ repo, owner, token, baseUrl, fetchOptions, locale, ...props }: GithubInfoProps): import("react").JSX.Element;
|
|
34
19
|
//#endregion
|
|
35
20
|
export { FetchRepositoryInfoOptions, GithubInfo, GithubInfoProps, RepositoryInfo, fetchRepositoryInfo };
|
|
@@ -1,13 +1,9 @@
|
|
|
1
1
|
import { ComponentPropsWithoutRef } from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/heading.d.ts
|
|
4
3
|
type Types = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
5
4
|
type HeadingProps<T extends Types> = Omit<ComponentPropsWithoutRef<T>, 'as'> & {
|
|
6
5
|
as?: T;
|
|
7
6
|
};
|
|
8
|
-
declare function Heading<T extends Types = 'h1'>({
|
|
9
|
-
as,
|
|
10
|
-
...props
|
|
11
|
-
}: HeadingProps<T>): import("react").JSX.Element;
|
|
7
|
+
declare function Heading<T extends Types = 'h1'>({ as, ...props }: HeadingProps<T>): import("react").JSX.Element;
|
|
12
8
|
//#endregion
|
|
13
9
|
export { Heading };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
|
|
2
|
+
import "../node_modules/.pnpm/react-medium-image-zoom@5.4.8_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/index.js";
|
|
2
3
|
import { ImageProps } from "fumadocs-core/framework";
|
|
3
4
|
import { ComponentProps } from "react";
|
|
4
|
-
|
|
5
5
|
//#region src/components/image-zoom.d.ts
|
|
6
6
|
type ImageZoomProps = ImageProps & {
|
|
7
7
|
/**
|
|
@@ -13,11 +13,6 @@ type ImageZoomProps = ImageProps & {
|
|
|
13
13
|
*/
|
|
14
14
|
rmiz?: UncontrolledProps;
|
|
15
15
|
};
|
|
16
|
-
declare function ImageZoom({
|
|
17
|
-
zoomInProps,
|
|
18
|
-
children,
|
|
19
|
-
rmiz,
|
|
20
|
-
...props
|
|
21
|
-
}: ImageZoomProps): import("react").JSX.Element;
|
|
16
|
+
declare function ImageZoom({ zoomInProps, children, rmiz, ...props }: ImageZoomProps): import("react").JSX.Element;
|
|
22
17
|
//#endregion
|
|
23
18
|
export { ImageZoom, ImageZoomProps };
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { Collapsible } from "./ui/collapsible.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { TOCItemType } from "fumadocs-core/toc";
|
|
4
|
-
|
|
5
4
|
//#region src/components/inline-toc.d.ts
|
|
6
5
|
interface InlineTocProps extends ComponentProps<typeof Collapsible> {
|
|
7
6
|
items: TOCItemType[];
|
|
8
7
|
}
|
|
9
|
-
declare function InlineTOC({
|
|
10
|
-
items,
|
|
11
|
-
...props
|
|
12
|
-
}: InlineTocProps): import("react").JSX.Element;
|
|
8
|
+
declare function InlineTOC({ items, ...props }: InlineTocProps): import("react").JSX.Element;
|
|
13
9
|
//#endregion
|
|
14
10
|
export { InlineTOC, InlineTocProps };
|
|
@@ -2,8 +2,6 @@ import { CollapsibleContentProps, CollapsibleTriggerProps } from "../ui/collapsi
|
|
|
2
2
|
import { ScrollArea, ScrollViewport } from "../ui/scroll-area.js";
|
|
3
3
|
import { LinkProps } from "fumadocs-core/link";
|
|
4
4
|
import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
|
|
5
|
-
|
|
6
|
-
//#region src/components/sidebar/base.d.ts
|
|
7
5
|
declare namespace base_d_exports {
|
|
8
6
|
export { SidebarCollapseTrigger, SidebarContent, SidebarDrawerContent, SidebarDrawerOverlay, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarProvider, SidebarProviderProps, SidebarSeparator, SidebarTrigger, SidebarViewport, useAutoScroll, useFolder, useFolderDepth, useSidebar };
|
|
9
7
|
}
|
|
@@ -36,11 +34,7 @@ interface SidebarProviderProps {
|
|
|
36
34
|
}
|
|
37
35
|
type Mode = 'drawer' | 'full';
|
|
38
36
|
declare const SidebarContext: import("react").Context<SidebarContext | null>;
|
|
39
|
-
declare function SidebarProvider({
|
|
40
|
-
defaultOpenLevel,
|
|
41
|
-
prefetch,
|
|
42
|
-
children
|
|
43
|
-
}: SidebarProviderProps): import("react").JSX.Element;
|
|
37
|
+
declare function SidebarProvider({ defaultOpenLevel, prefetch, children }: SidebarProviderProps): import("react").JSX.Element;
|
|
44
38
|
declare function useSidebar(): SidebarContext;
|
|
45
39
|
declare function useFolder(): {
|
|
46
40
|
open: boolean;
|
|
@@ -49,10 +43,7 @@ declare function useFolder(): {
|
|
|
49
43
|
collapsible: boolean;
|
|
50
44
|
} | null;
|
|
51
45
|
declare function useFolderDepth(): number;
|
|
52
|
-
declare function SidebarContent({
|
|
53
|
-
mode: allowedMode,
|
|
54
|
-
children
|
|
55
|
-
}: {
|
|
46
|
+
declare function SidebarContent({ mode: allowedMode, children }: {
|
|
56
47
|
mode?: Mode | true;
|
|
57
48
|
children: (state: {
|
|
58
49
|
ref: RefObject<HTMLElement | null>;
|
|
@@ -62,58 +53,29 @@ declare function SidebarContent({
|
|
|
62
53
|
onPointerLeave: (event: PointerEvent) => void;
|
|
63
54
|
}) => ReactNode;
|
|
64
55
|
}): ReactNode;
|
|
65
|
-
declare function SidebarViewport({
|
|
66
|
-
area,
|
|
67
|
-
viewport,
|
|
68
|
-
children
|
|
69
|
-
}: {
|
|
56
|
+
declare function SidebarViewport({ area, viewport, children }: {
|
|
70
57
|
area?: ComponentProps<typeof ScrollArea>;
|
|
71
58
|
viewport?: ComponentProps<typeof ScrollViewport>;
|
|
72
59
|
children: ReactNode;
|
|
73
60
|
}): import("react").JSX.Element;
|
|
74
61
|
declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): import("react").JSX.Element | undefined;
|
|
75
|
-
declare function SidebarDrawerContent({
|
|
76
|
-
className,
|
|
77
|
-
children,
|
|
78
|
-
...props
|
|
79
|
-
}: ComponentProps<'aside'>): import("react").JSX.Element | undefined;
|
|
62
|
+
declare function SidebarDrawerContent({ className, children, ...props }: ComponentProps<'aside'>): import("react").JSX.Element | undefined;
|
|
80
63
|
declare function SidebarSeparator(props: ComponentProps<'p'>): import("react").JSX.Element;
|
|
81
|
-
declare function SidebarItem({
|
|
82
|
-
icon,
|
|
83
|
-
active,
|
|
84
|
-
children,
|
|
85
|
-
...props
|
|
86
|
-
}: LinkProps & {
|
|
64
|
+
declare function SidebarItem({ icon, active, children, ...props }: LinkProps & {
|
|
87
65
|
active?: boolean;
|
|
88
66
|
icon?: ReactNode;
|
|
89
67
|
}): import("react").JSX.Element;
|
|
90
|
-
declare function SidebarFolder({
|
|
91
|
-
defaultOpen: defaultOpenProp,
|
|
92
|
-
collapsible,
|
|
93
|
-
active,
|
|
94
|
-
children,
|
|
95
|
-
...props
|
|
96
|
-
}: ComponentProps<'div'> & {
|
|
68
|
+
declare function SidebarFolder({ defaultOpen: defaultOpenProp, collapsible, active, children, ...props }: ComponentProps<'div'> & {
|
|
97
69
|
active?: boolean;
|
|
98
70
|
defaultOpen?: boolean;
|
|
99
71
|
collapsible?: boolean;
|
|
100
72
|
}): import("react").JSX.Element;
|
|
101
|
-
declare function SidebarFolderTrigger({
|
|
102
|
-
|
|
103
|
-
...props
|
|
104
|
-
}: CollapsibleTriggerProps): import("react").JSX.Element;
|
|
105
|
-
declare function SidebarFolderLink({
|
|
106
|
-
children,
|
|
107
|
-
active,
|
|
108
|
-
...props
|
|
109
|
-
}: LinkProps & {
|
|
73
|
+
declare function SidebarFolderTrigger({ children, ...props }: CollapsibleTriggerProps): import("react").JSX.Element;
|
|
74
|
+
declare function SidebarFolderLink({ children, active, ...props }: LinkProps & {
|
|
110
75
|
active?: boolean;
|
|
111
76
|
}): import("react").JSX.Element;
|
|
112
77
|
declare function SidebarFolderContent(props: CollapsibleContentProps): import("react").JSX.Element;
|
|
113
|
-
declare function SidebarTrigger({
|
|
114
|
-
children,
|
|
115
|
-
...props
|
|
116
|
-
}: ComponentProps<'button'>): import("react").JSX.Element;
|
|
78
|
+
declare function SidebarTrigger({ children, ...props }: ComponentProps<'button'>): import("react").JSX.Element;
|
|
117
79
|
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): import("react").JSX.Element;
|
|
118
80
|
/**
|
|
119
81
|
* scroll to the element if `active` is true
|