@fumadocs/base-ui 16.17.8 → 16.17.10
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/flux.css +1 -1
- package/css/generated/glass.css +1 -1
- package/css/generated/shared.css +1 -1
- package/css/generated/spacious.css +1 -1
- package/css/lib/base.css +8 -7
- package/dist/.translations/index.d.ts +1 -3
- package/dist/.translations/keys.js +1 -2
- package/dist/_virtual/_rolldown/runtime.js +1 -2
- package/dist/components/accordion.d.ts +1 -3
- package/dist/components/accordion.js +1 -2
- package/dist/components/banner.d.ts +0 -2
- package/dist/components/banner.js +1 -2
- package/dist/components/callout.d.ts +1 -3
- package/dist/components/callout.js +1 -2
- package/dist/components/card.d.ts +1 -3
- package/dist/components/card.js +1 -2
- package/dist/components/codeblock.d.ts +1 -3
- package/dist/components/codeblock.js +1 -2
- package/dist/components/codeblock.rsc.d.ts +1 -3
- package/dist/components/codeblock.rsc.js +1 -2
- package/dist/components/dialog/search-algolia.d.ts +1 -3
- package/dist/components/dialog/search-algolia.js +1 -2
- package/dist/components/dialog/search-default.d.ts +1 -3
- package/dist/components/dialog/search-default.js +1 -2
- package/dist/components/dialog/search-orama.d.ts +1 -3
- package/dist/components/dialog/search-orama.js +1 -2
- package/dist/components/dialog/search.d.ts +0 -2
- package/dist/components/dialog/search.js +1 -2
- package/dist/components/dynamic-codeblock.core.d.ts +0 -2
- package/dist/components/dynamic-codeblock.core.js +1 -2
- package/dist/components/dynamic-codeblock.d.ts +1 -3
- package/dist/components/dynamic-codeblock.js +1 -2
- package/dist/components/files.d.ts +1 -3
- package/dist/components/files.js +1 -2
- package/dist/components/github-info.d.ts +1 -3
- package/dist/components/github-info.js +1 -2
- package/dist/components/heading.d.ts +0 -2
- package/dist/components/heading.js +1 -2
- package/dist/components/image-zoom.d.ts +1 -3
- package/dist/components/image-zoom.js +1 -2
- package/dist/components/inline-toc.d.ts +1 -3
- package/dist/components/inline-toc.js +1 -2
- package/dist/components/sidebar/base.d.ts +0 -1
- package/dist/components/sidebar/base.js +5 -3
- package/dist/components/sidebar/link-item.d.ts +0 -2
- package/dist/components/sidebar/link-item.js +1 -2
- package/dist/components/sidebar/page-tree.d.ts +0 -2
- package/dist/components/sidebar/page-tree.js +1 -2
- package/dist/components/sidebar/tabs/dropdown.d.ts +1 -3
- package/dist/components/sidebar/tabs/dropdown.js +1 -2
- package/dist/components/sidebar/tabs/index.d.ts +1 -3
- package/dist/components/sidebar/tabs/index.js +1 -2
- package/dist/components/steps.d.ts +1 -3
- package/dist/components/steps.js +1 -2
- package/dist/components/tabs.d.ts +1 -3
- package/dist/components/tabs.js +1 -2
- package/dist/components/toc/block.d.ts +1 -3
- package/dist/components/toc/block.js +6 -13
- package/dist/components/toc/clerk.d.ts +2 -4
- package/dist/components/toc/clerk.js +85 -120
- package/dist/components/toc/default.d.ts +2 -4
- package/dist/components/toc/default.js +112 -149
- package/dist/components/toc/index.d.ts +1 -3
- package/dist/components/toc/index.js +1 -2
- package/dist/components/type-table.d.ts +1 -3
- package/dist/components/type-table.js +1 -2
- package/dist/components/ui/accordion.d.ts +1 -3
- package/dist/components/ui/accordion.js +1 -2
- package/dist/components/ui/button.d.ts +1 -3
- package/dist/components/ui/button.js +1 -2
- package/dist/components/ui/collapsible.d.ts +1 -3
- package/dist/components/ui/collapsible.js +1 -2
- package/dist/components/ui/popover.d.ts +1 -3
- package/dist/components/ui/popover.js +1 -2
- package/dist/components/ui/tabs.d.ts +1 -3
- package/dist/components/ui/tabs.js +1 -2
- package/dist/contexts/i18n.d.ts +0 -2
- package/dist/contexts/i18n.js +1 -2
- package/dist/contexts/search.d.ts +0 -2
- package/dist/contexts/search.js +1 -2
- package/dist/contexts/tree.d.ts +0 -2
- package/dist/contexts/tree.js +1 -2
- package/dist/i18n.d.ts +0 -2
- package/dist/i18n.js +1 -2
- package/dist/layouts/docs/client.d.ts +0 -2
- package/dist/layouts/docs/client.js +1 -2
- package/dist/layouts/docs/index.d.ts +0 -2
- package/dist/layouts/docs/index.js +1 -2
- package/dist/layouts/docs/page/index.d.ts +0 -2
- package/dist/layouts/docs/page/index.js +1 -2
- package/dist/layouts/docs/page/slots/breadcrumb.d.ts +1 -3
- package/dist/layouts/docs/page/slots/breadcrumb.js +1 -2
- package/dist/layouts/docs/page/slots/container.d.ts +1 -3
- package/dist/layouts/docs/page/slots/container.js +1 -2
- package/dist/layouts/docs/page/slots/footer.d.ts +0 -2
- package/dist/layouts/docs/page/slots/footer.js +1 -2
- package/dist/layouts/docs/page/slots/toc.d.ts +1 -3
- package/dist/layouts/docs/page/slots/toc.js +1 -2
- package/dist/layouts/docs/slots/container.d.ts +1 -3
- package/dist/layouts/docs/slots/container.js +1 -2
- package/dist/layouts/docs/slots/header.d.ts +1 -3
- package/dist/layouts/docs/slots/header.js +1 -2
- package/dist/layouts/docs/slots/sidebar.d.ts +1 -3
- package/dist/layouts/docs/slots/sidebar.js +5 -9
- package/dist/layouts/flux/index.d.ts +0 -2
- package/dist/layouts/flux/index.js +1 -2
- package/dist/layouts/flux/page/index.d.ts +0 -2
- package/dist/layouts/flux/page/index.js +1 -2
- package/dist/layouts/flux/page/slots/breadcrumb.d.ts +1 -3
- package/dist/layouts/flux/page/slots/breadcrumb.js +1 -2
- package/dist/layouts/flux/page/slots/container.d.ts +1 -3
- package/dist/layouts/flux/page/slots/container.js +1 -2
- package/dist/layouts/flux/page/slots/footer.d.ts +0 -2
- package/dist/layouts/flux/page/slots/footer.js +1 -2
- package/dist/layouts/flux/page/slots/toc.d.ts +1 -3
- package/dist/layouts/flux/page/slots/toc.js +1 -2
- package/dist/layouts/flux/slots/container.d.ts +1 -3
- package/dist/layouts/flux/slots/container.js +1 -2
- package/dist/layouts/flux/slots/sidebar.d.ts +1 -3
- package/dist/layouts/flux/slots/sidebar.js +1 -2
- package/dist/layouts/flux/slots/tab-dropdown.d.ts +1 -3
- package/dist/layouts/flux/slots/tab-dropdown.js +1 -2
- package/dist/layouts/glass/index.d.ts +0 -2
- package/dist/layouts/glass/index.js +1 -2
- package/dist/layouts/glass/layout-tabs.js +1 -2
- package/dist/layouts/glass/page/index.d.ts +0 -2
- package/dist/layouts/glass/page/index.js +1 -2
- package/dist/layouts/glass/page/slots/breadcrumb.d.ts +1 -3
- package/dist/layouts/glass/page/slots/breadcrumb.js +1 -2
- package/dist/layouts/glass/page/slots/footer.d.ts +0 -2
- package/dist/layouts/glass/page/slots/footer.js +1 -2
- package/dist/layouts/glass/page/slots/toc.d.ts +1 -3
- package/dist/layouts/glass/page/slots/toc.js +1 -2
- package/dist/layouts/glass/slots/header.d.ts +1 -3
- package/dist/layouts/glass/slots/header.js +1 -2
- package/dist/layouts/glass/slots/sidebar.d.ts +1 -3
- package/dist/layouts/glass/slots/sidebar.js +7 -5
- package/dist/layouts/home/index.d.ts +0 -2
- package/dist/layouts/home/index.js +1 -2
- package/dist/layouts/home/navbar.d.ts +1 -3
- package/dist/layouts/home/navbar.js +1 -2
- package/dist/layouts/home/not-found.d.ts +1 -3
- package/dist/layouts/home/not-found.js +1 -2
- package/dist/layouts/home/slots/container.d.ts +1 -3
- package/dist/layouts/home/slots/container.js +1 -2
- package/dist/layouts/home/slots/header.d.ts +1 -3
- package/dist/layouts/home/slots/header.js +1 -2
- package/dist/layouts/notebook/client.d.ts +0 -2
- package/dist/layouts/notebook/client.js +1 -2
- package/dist/layouts/notebook/index.d.ts +0 -2
- package/dist/layouts/notebook/index.js +1 -2
- package/dist/layouts/notebook/page/index.d.ts +0 -2
- package/dist/layouts/notebook/page/index.js +1 -2
- package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +1 -3
- package/dist/layouts/notebook/page/slots/breadcrumb.js +1 -2
- package/dist/layouts/notebook/page/slots/container.d.ts +1 -3
- package/dist/layouts/notebook/page/slots/container.js +1 -2
- package/dist/layouts/notebook/page/slots/footer.d.ts +0 -2
- package/dist/layouts/notebook/page/slots/footer.js +1 -2
- package/dist/layouts/notebook/page/slots/toc.d.ts +1 -3
- package/dist/layouts/notebook/page/slots/toc.js +1 -2
- package/dist/layouts/notebook/slots/container.d.ts +1 -3
- package/dist/layouts/notebook/slots/container.js +1 -2
- package/dist/layouts/notebook/slots/header.d.ts +1 -3
- package/dist/layouts/notebook/slots/header.js +1 -2
- package/dist/layouts/notebook/slots/sidebar.d.ts +0 -2
- package/dist/layouts/notebook/slots/sidebar.js +5 -9
- package/dist/layouts/shared/client.d.ts +1 -3
- package/dist/layouts/shared/client.js +1 -2
- package/dist/layouts/shared/index.d.ts +0 -2
- package/dist/layouts/shared/index.js +1 -2
- package/dist/layouts/shared/page-actions.d.ts +1 -3
- package/dist/layouts/shared/page-actions.js +1 -2
- package/dist/layouts/shared/slots/language-select.d.ts +1 -3
- package/dist/layouts/shared/slots/language-select.js +1 -2
- package/dist/layouts/shared/slots/search-trigger.d.ts +1 -3
- package/dist/layouts/shared/slots/search-trigger.js +1 -2
- package/dist/layouts/shared/slots/theme-switch.d.ts +1 -3
- package/dist/layouts/shared/slots/theme-switch.js +1 -2
- package/dist/layouts/spacious/index.d.ts +0 -2
- package/dist/layouts/spacious/index.js +1 -2
- package/dist/layouts/spacious/page/index.d.ts +0 -2
- package/dist/layouts/spacious/page/index.js +1 -2
- package/dist/layouts/spacious/page/slots/breadcrumb.d.ts +1 -3
- package/dist/layouts/spacious/page/slots/breadcrumb.js +1 -2
- package/dist/layouts/spacious/page/slots/footer.d.ts +0 -2
- package/dist/layouts/spacious/page/slots/footer.js +1 -2
- package/dist/layouts/spacious/page/slots/toc.d.ts +0 -2
- package/dist/layouts/spacious/page/slots/toc.js +1 -2
- package/dist/layouts/spacious/slots/actions.d.ts +1 -3
- package/dist/layouts/spacious/slots/actions.js +1 -2
- package/dist/layouts/spacious/slots/header.d.ts +1 -3
- package/dist/layouts/spacious/slots/header.js +1 -2
- package/dist/layouts/spacious/slots/sidebar.d.ts +1 -3
- package/dist/layouts/spacious/slots/sidebar.js +21 -25
- package/dist/mdx.d.ts +0 -2
- package/dist/mdx.js +1 -2
- package/dist/mdx.server.d.ts +0 -2
- package/dist/mdx.server.js +1 -2
- package/dist/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 +0 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -3
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/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 +1 -2
- package/dist/og/takumi.d.ts +1 -3
- package/dist/og/takumi.js +1 -2
- package/dist/og.d.ts +0 -2
- package/dist/og.js +1 -2
- package/dist/page.d.ts +0 -2
- package/dist/page.js +1 -2
- package/dist/provider/astro.d.ts +1 -3
- package/dist/provider/astro.js +17 -2
- package/dist/provider/base.d.ts +0 -2
- package/dist/provider/base.js +1 -2
- package/dist/provider/next.d.ts +1 -3
- package/dist/provider/next.js +1 -2
- package/dist/provider/react-router.d.ts +1 -3
- package/dist/provider/react-router.js +1 -2
- package/dist/provider/tanstack.d.ts +1 -3
- package/dist/provider/tanstack.js +1 -2
- package/dist/provider/waku.d.ts +1 -3
- package/dist/provider/waku.js +1 -2
- package/dist/style.css +21 -24
- package/dist/utils/hotkey.js +1 -2
- package/dist/utils/merge-refs.js +1 -2
- package/dist/utils/urls.js +1 -2
- package/dist/utils/use-copy-button.d.ts +1 -3
- package/dist/utils/use-copy-button.js +1 -2
- package/dist/utils/use-footer-items.d.ts +1 -3
- package/dist/utils/use-footer-items.js +1 -2
- package/dist/utils/use-is-scroll-top.d.ts +1 -3
- package/dist/utils/use-is-scroll-top.js +1 -2
- package/package.json +5 -5
package/css/generated/flux.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@source inline("!enabled !header *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] 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 exit 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 inset-x-0 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-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 ms-px nd-flux-layout nd-page no normalizedValue onAnimationComplete
|
|
1
|
+
@source inline("!enabled !header *:rounded-lg --removed-body-scroll-bar-size -mx-1 [&_svg]:shrink-0 [grid-area:main] 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 exit 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 inset-x-0 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-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 ms-px nd-flux-layout nd-page no normalizedValue onAnimationComplete 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 single 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 w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
|
package/css/generated/glass.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
@source inline("!footer --bleed --drawer-swipe-movement-x --drawer-swipe-progress --drawer-swipe-strength --fd-header-height --fd-left-width --fd-main-width --fd-right-width --row --viewport-padding --width -me-1.5 -mr-(--bleed) -mt-1.5 -mx-1 -translate-x-[280px] @base-ui/react @default @sm:max-w-[200px] [--bleed:3rem] [--fd-left-width:0px] [--fd-main-width:900px] [--fd-right-width:0px] [--row:calc(3*var(--spacing))] [--row:calc(6*var(--spacing))] [--viewport-padding:0px] [grid-area:left-margin/left-margin/right/right] [grid-area:left] [grid-area:main] [grid-area:right/right-margin/right/right] [grid-area:right] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent))] [mask-image:radial-gradient(circle_at_center_right,white,white_200px,transparent_500px)] [transform:translateX(var(--drawer-swipe-movement-x))] aiChat article autoScroll available backdrop-blur-sm bar baseVariants be because
|
|
1
|
+
@source inline("!footer --bleed --drawer-swipe-movement-x --drawer-swipe-progress --drawer-swipe-strength --fd-header-height --fd-left-width --fd-main-width --fd-right-width --row --viewport-padding --width -me-1.5 -mr-(--bleed) -mt-1.5 -mx-1 -translate-x-[280px] @base-ui/react @default @sm:max-w-[200px] [--bleed:3rem] [--fd-left-width:0px] [--fd-main-width:900px] [--fd-right-width:0px] [--row:calc(3*var(--spacing))] [--row:calc(6*var(--spacing))] [--viewport-padding:0px] [grid-area:left-margin/left-margin/right/right] [grid-area:left] [grid-area:main] [grid-area:right/right-margin/right/right] [grid-area:right] [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent))] [mask-image:radial-gradient(circle_at_center_right,white,white_200px,transparent_500px)] [transform:translateX(var(--drawer-swipe-movement-x))] aiChat article autoScroll available backdrop-blur-sm bar baseVariants be because bg-fd-muted-foreground/50 bg-fd-popover/80 bleed bug but clientX contentProps could data-[active=false]:hover:text-fd-accent-foreground data-ending-style:[transform:translateX(calc(100%-var(--bleed)+var(--viewport-padding)+2px))] data-ending-style:duration-[calc(var(--drawer-swipe-strength)*400ms)] data-fd-full data-popup-open:bg-fd-accent data-starting-style:[transform:translateX(calc(100%-var(--bleed)+var(--viewport-padding)+2px))] data-swiping:duration-0 data-swiping:select-none defaultSlots defaultTabs drawerHandle duration-450 ease-[cubic-bezier(0.32,0.72,0,1)] edit exitTimerRef fact fd-glass-layout flex-row-reverse font-semibold footer footerList fumadocs-core/breadcrumb get getBreadcrumbItemsFromPath grid-cols-1 gridTemplate gridTemplateRows h-0 h-6 h-8 h-[calc(100dvh---spacing(4))] hover hover:decoration-dashed hover:decoration-fd-muted-foreground hover:opacity-80 hover:underline hover:underline-offset-4 inAnimation including information innerWidth interrupted isLayoutTabActive itemTriggerVariants items-start items-stretch justify-end justify-self-end layout:[--fd-main-width:1200px] leaves left left-margin leftSpace lg linkItems longer max-md:bg-linear-to-t max-md:bottom-0 max-md:from-fd-background max-md:h-16 max-md:mt-auto max-md:pb-4 max-md:ps-[calc(--spacing(1.5)-1px)] max-md:w-4 max-w-[calc(100vw-3rem+var(--bleed))] max-xl:-translate-y-1/2 max-xl:bg-fd-popover max-xl:end-1 max-xl:grid-cols-[calc(240px---spacing(6))] max-xl:mask-none max-xl:max-h-[calc(100dvh---spacing(32))] max-xl:overflow-clip max-xl:p-3 max-xl:ps-[calc(--spacing(2.5)-1px)] max-xl:rounded-xl max-xl:shadow-md max-xl:text-fd-popover-foreground max-xl:top-1/2 max-xl:w-6 max-xl:w-[240px] mb-8 md:bg-linear-to-b md:from-fd-background md:h-(--fd-header-height) md:layout:[--fd-header-height:--spacing(12)] md:layout:[--fd-left-width:0px] md:layout:[--fd-left-width:280px] md:layout:[--fd-right-width:12px] md:pb-8 md:pt-16 md:pt-2 md:px-2 md:py-1.5 md:top-0 min-h-dvh min-h-full mt-2 mt-2.5 mx-2 my-2 nd-mobile-sidebar nd-toc nd-toc-title no onPointerDown opacity-100 opacity-[calc(1-var(--drawer-swipe-progress))] overflow-y-hidden p-(--viewport-padding) p-6 pagination pb-16 pb-4 pe-3 pe-3.5 pen pointer pointer-events-none pr-(--bleed) prose-xs provided ps-2.5 ps-3 ps-4.5 pt-2 pt-4 push reason right right-margin rightIcon scrollbar scrollbar-width scrolling setDate setInAnimation setMobileOpen shadow-fd-background shouldOpen simplest size-10 size-12 size-3.5! size-4! somehow supports-[-webkit-touch-callout:none]:[--bleed:0px] supports-[-webkit-touch-callout:none]:[--viewport-padding:0.625rem] supports-[-webkit-touch-callout:none]:absolute supports-[-webkit-touch-callout:none]:border supports-[-webkit-touch-callout:none]:rounded-xl swipeDirection text-[1.75em] text-end text-fd-primary/80 timeout timezone touch-auto transition-[background-color,width,height] transition-[grid-template-rows] transition-[opacity,height] transition-[width,height] transition-[width,padding] transitionTimerRef typography under unlisted updated useBaseSlots useFooterItems useGlassLayout viewport w-(--width) w-[360px] w-[calc(280px---spacing(2))] workaround xl:[@media(hover:none)]:[--row:calc(6*var(--spacing))] xl:[@media(hover:none)]:h-6 xl:[@media(hover:none)]:h-px xl:[@media(hover:none)]:opacity-100 xl:[@media(hover:none)]:pointer-events-auto xl:[@media(hover:none)]:w-(--width) xl:bg-fd-popover xl:border xl:flex-row-reverse xl:h-[calc(100dvh---spacing(10))] xl:h-[calc(100dvh-var(--fd-header-height)---spacing(4))] xl:hidden xl:items-center xl:items-end xl:layout:[--fd-right-width:240px] xl:me-2 xl:pe-4 xl:rounded-2xl xl:shadow-sm xl:sticky xl:text-end xl:top-10 xl:top-[calc(var(--fd-header-height)+--spacing(2))] z-10 z-20 z-30 zero");
|
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 *:first:font-medium *:first:text-fd-primary *:flex *:flex-col *: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 --accordion-panel-height --anchor-width --available-height --callout-color --collapsible-panel-height --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --offset-distance --opacity --padding-right --shiki-dark-bg --shiki-light-bg --spacing --track-bottom --track-top --transform-origin -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 @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 [&[hidden]:not([hidden='until-found'])]:hidden [&_::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 addEventListener advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allows alphabet alt altKey always an anchor and animate 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-linear-to-r bg-transparent bind 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 bound 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 compatibility 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-[active]:border-fd-primary data-[active]:text-fd-primary data-[inactive]:hidden data-[popup-open]:bg-fd-accent data-[popup-open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-closed:animate-fd-dialog-out data-closed:animate-fd-fade-out data-closed:animate-fd-popover-out data-collapsed data-empty data-ending-style:h-0 data-ending-style:opacity-0 data-fd-search-dialog-input data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-open:animate-fd-dialog-in data-open:animate-fd-fade-in data-open:animate-fd-popover-in data-ready data-ready:transition-[clip-path] data-search data-search-full data-starting-style:h-0 data-starting-style:opacity-0 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 dialogHandle dir direction disabled disabled:opacity-50 disabled:pointer-events-none 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 empty:mb-0 enabled encoded 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-dialog-content 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 first:mt-0 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 forks formatter formatterOptions found free from from-fd-primary/10 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-[open]:rotate-180 group-data-active:bg-fd-primary group-data-open:rotate-180 group-data-panel-open:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h h-(--accordion-panel-height) h-(--collapsible-panel-height) h-(--fd-animated-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handle 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 hovering 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 initialFocus 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-2 inset-y-0 inside instance instanceof instant instantly instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isUp it item itemLineLengths itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground keepMounted 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 listbox listener listeners loading localRef 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-(--available-height) max-h-20 max-h-[460px] max-h-[600px] 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-1.5 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 mt-1 mt-4 mt-6 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 onAnimationEnd 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-(--transform-origin) origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-x-clip 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 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 removeEventListener 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 setHidden setHover setLoading setMounted setOpen setSlides setSvg setTag setValue shadow-2xl shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since 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 top-2.5 top-3.25 top-4 touch tr transform transition-[clip-path] transition-[height,opacity] transition-[height] transition-[opacity,offset-distance] 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 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-(--anchor-width) w-(--fd-ai-chat-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");
|
|
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-col *: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 --accordion-panel-height --anchor-width --available-height --callout-color --collapsible-panel-height --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --padding-right --shiki-dark-bg --shiki-light-bg --spacing --transform-origin -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 @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 [&[hidden]:not([hidden='until-found'])]:hidden [&_::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%)] [clip-path:polygon(0_0,100%_0,100%_0,0_0)] [container-type:size] [scrollbar-width:none] a abcdefghijklmnopqrstuvwxyz234567 about above absolute accordion action actions active activeItem add addEventListener advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allows alphabet alt altKey always an anchor anchors and animate 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 behind 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-linear-to-r bg-transparent bind bitsLeft black block boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 bound boundaries boundary box buffer bundle button buttonVariants by cache cached callbacks called 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 compatibility compatible component components composedRef 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 curve custom customize cva cx cy d dangerouslySetInnerHTML dark dark:bg-(--shiki-dark-bg) dashed data data-[active=true]:text-fd-primary data-[active]:border-fd-primary data-[active]:text-fd-primary data-[inactive]:hidden data-[popup-open]:bg-fd-accent data-[popup-open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-closed:animate-fd-dialog-out data-closed:animate-fd-fade-out data-closed:animate-fd-popover-out data-collapsed data-empty data-ending-style:h-0 data-ending-style:opacity-0 data-fd-search-dialog-input data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-open:animate-fd-dialog-in data-open:animate-fd-fade-in data-open:animate-fd-popover-in data-ready data-ready:transition-[clip-path] data-search data-search-full data-starting-style:h-0 data-starting-style:opacity-0 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 dialogHandle dir direction disabled disabled:opacity-50 disabled:pointer-events-none discard display displayName displayed 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 empty:mb-0 enabled encoded end 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-dialog-content 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 first first:mt-0 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 forces forks formatter formatterOptions found free from from-fd-primary/10 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 g 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-[open]:rotate-180 group-data-active:bg-fd-primary group-data-open:rotate-180 group-data-panel-open:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h-(--accordion-panel-height) h-(--collapsible-panel-height) h-(--fd-animated-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handle 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 hovering 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 infos initial initialFocus 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-2 inset-y-0 inside instance instanceof instant instantly instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isUp it item itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground keepMounted keeps key keyCode keydown keys l0 l1 l2 label lags 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 listbox listener listeners loading localRef 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-(--available-height) max-h-20 max-h-[460px] max-h-[600px] 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-1.5 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 mt-1 mt-4 mt-6 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto 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 offset offsetDistance offsetHeight offsetPath offsetTop on onAnimationEnd onCancel onChange onClick onClose onCopy onKey onKeyDown onOpenChange onOpenChangeCallback onPointerEnter onPointerLeave onPointerMove onSearchChange onSearchChangeCallback onSelect onSelectCallback onTagChange onTagChangeCallback onValueChange once one only opacity opacity-0 open openFromHash opened option optional options or order origin-(--transform-origin) origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-x-clip 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 position positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch prev preventScroll previous 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 removeEventListener 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 segment select-none selected separate separator server set setActive setCollapsed setHidden setHover setLoading setMounted setOpen setSlides setTag setValue shadow-2xl shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since 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 startViewTransition state static status stay step steps 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 thumb thumbBox tier timerRef tip title to toJsx toc tocInfo toolbar top top-0 top-1/2 top-2 top-2.5 top-3.25 top-4 touch tr track transform transition-[clip-path] transition-[height,opacity] transition-[height] transition-[opacity,offset-distance] 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 until unused update updateAnchor updates url urls us usage use useAlgoliaSearch useCallback useCopyButton useDocsSearch useHotKey useI18n useIsDocsLayout useItems useMediaQuery useMemo useOnChange useOramaCloudSearch usePathname useProps useRef useRouter useSearchContext useSidebar useState useSyncExternalStore useTOCItems useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants viewBox viewRef viewTransitionName viewer viewportProps visible vite void w-(--anchor-width) w-(--fd-ai-chat-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 write x x1 x2 xl:w-(--fd-ai-chat-width) xmlns y1 y2 you your z-2 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@source inline("!header !selected *:min-w-[calc(var(--fd-toc-width)---spacing(16))] *:not-first:border-t *:pointer-events-auto --available-width --fd-docs-height --fd-docs-row-3 --fd-header-height --fd-layout-height --fd-page-width --fd-roll --fd-sidebar-col --fd-sidebar-width --fd-toc-popover-height --fd-toc-width --index -ms-2 -mx-1.5 -start-1 -translate-x-3 @max-5xl:invisible @max-5xl:opacity-0 @max-5xl:opacity-100 @max-5xl:ps-0 @max-5xl:transition-none @max-5xl:visible @max-5xl:w-0 @max-md:col-span-full [&>[data-icon]]:size-3.5 [&_svg]:shrink-0 [--fd-header-height:--spacing(14)] [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-page-width:760px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-sidebar-width:0px] [--fd-toc-width:0px] [clip-path:inset(0_-8px_-8px)] [grid-area:header] [grid-area:main] [grid-area:right] [grid-area:sidebar] [grid-area:toc-popover] activeClassName activeLine aiChat alignOffset along angle apart appear area aria-valuemax aria-valuemin aria-valuenow article available bar bars bg-clip-content bg-fd-accent/60 bg-linear-to-b bg-origin-border border-x breadcrumb breadcrumbEnabled circle circumference clerk click closeOnClick col-start-2 collapse comes coming controller createLinkItemRenderer createPageTreeRenderer customSlots data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-sidebar-in data-ending-style:duration-100 data-ending-style:scale-95 data-ending-style:scale-97 data-full data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground data-highlighted:text-fd-foreground data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground data-starting-style:scale-95 defaultVariants docs duration duration-150 ease-[cubic-bezier(0.22,1,0.36,1)] easing edit
|
|
1
|
+
@source inline("!header !selected *:min-w-[calc(var(--fd-toc-width)---spacing(16))] *:not-first:border-t *:pointer-events-auto --available-width --fd-docs-height --fd-docs-row-3 --fd-header-height --fd-layout-height --fd-page-width --fd-roll --fd-sidebar-col --fd-sidebar-width --fd-toc-popover-height --fd-toc-width --index -ms-2 -mx-1.5 -start-1 -translate-x-3 @max-5xl:invisible @max-5xl:opacity-0 @max-5xl:opacity-100 @max-5xl:ps-0 @max-5xl:transition-none @max-5xl:visible @max-5xl:w-0 @max-md:col-span-full [&>[data-icon]]:size-3.5 [&_svg]:shrink-0 [--fd-header-height:--spacing(14)] [--fd-layout-height:calc(100dvh-var(--fd-banner-height,0px))] [--fd-page-width:760px] [--fd-sidebar-col:var(--fd-sidebar-width)] [--fd-sidebar-width:0px] [--fd-toc-width:0px] [clip-path:inset(0_-8px_-8px)] [grid-area:header] [grid-area:main] [grid-area:right] [grid-area:sidebar] [grid-area:toc-popover] activeClassName activeLine aiChat alignOffset along angle apart appear area aria-valuemax aria-valuemin aria-valuenow article available bar bars bg-clip-content bg-fd-accent/60 bg-linear-to-b bg-origin-border border-x breadcrumb breadcrumbEnabled circle circumference clerk click closeOnClick col-start-2 collapse comes coming controller createLinkItemRenderer createPageTreeRenderer customSlots data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-sidebar-in data-ending-style:duration-100 data-ending-style:scale-95 data-ending-style:scale-97 data-full data-highlighted:bg-fd-accent data-highlighted:text-fd-accent-foreground data-highlighted:text-fd-foreground data-popup-open:bg-fd-accent data-popup-open:text-fd-accent-foreground data-starting-style:scale-95 defaultVariants docs duration duration-150 ease-[cubic-bezier(0.22,1,0.36,1)] easing edit fade fd-spacious-layout first:mt-1 focusin focusout font-semibold footer footerEnabled footerList from-50% from-fd-background fumadocs-core/breadcrumb gap-2.5 gaps getBreadcrumbItemsFromPath glide glides gliding gridTemplate group-hover:-translate-x-0.5 group-hover:translate-x-0.5 gutter h-(--fd-header-height) h-10 h-7.5 h-8 h-[calc(var(--fd-layout-height)-var(--fd-header-height)-100%)] hasFolders hideIfDisabled hold hover hover:bg-fd-accent/40 hover:bg-fd-accent/60 hover:text-fd-foreground iconLinks in-data-popup-open:rotate-180 includePage includeRoot including inert information inset inset-e-0 inset-x-0 inset-y-1 inset-y-2 itemClass itemOf items-end items-start keep keyboard labels layout:[--fd-page-width:1200px] layout:[--fd-toc-width:--spacing(76)] left lg:hidden linkItems mask-b-from-[calc(100%-32px)] mask-t-from-[calc(100%-16px)] max-h-[50vh] max-h-[min(28rem,var(--available-height))] max-lg:hidden max-md:[--fd-docs-row-3:calc(var(--fd-banner-height,0px)+var(--fd-header-height)+var(--fd-toc-popover-height,0px))] max-md:layout:[--fd-toc-popover-height:--spacing(10)] max-w-(--available-width) max-w-(--fd-page-width) max-w-95 may mb-6 mb-8 md:[--fd-docs-height:calc(var(--fd-layout-height)-var(--spacing)*4-2px-var(--fd-header-height))] md:border md:h-(--fd-layout-height) md:layout:[--fd-sidebar-col:--spacing(2)] md:layout:[--fd-sidebar-width:268px] md:min-h-0 md:ms-0 md:my-2 md:overflow-clip md:overflow-y-auto md:overscroll-y-contain md:pt-(--fd-header-height) md:px-[max(--spacing(6),calc((100%-var(--fd-page-width)-var(--fd-toc-width))/2))] md:rounded-2xl md:scrollbar-gutter-stable md:scrollbar-thin md:shadow-sm min-h-(--fd-layout-height) min-h-9 min-w-44 mobile motion-safe:animate-fd-roll-in motion-safe:transition-[translate,width,height,opacity] move mt-0.5 mt-2 mt-8 mx-0.5 mx-2 my-2 navbar nd-page nd-page-panel nd-subnav nd-toc origin outline-8 outline-fd-card outside pagination pb-4 pb-8 pe-1 pe-3 pe-4 picked pointer-events-none pointerleave pointerover popover popupClass positionMethod print:h-auto print:overflow-visible progressbar ps-0 ps-16 ps-2.5 ps-3.5 ps-5.5 ps-6 ps-[calc(--spacing(2.5)-1px)] pt-4 pt-6 pt-8 px-[calc(--spacing(2.5)-1px)] queries rect remain right ring-1 ring-fd-border roll rolls rotate rotate-180 rounded rounded-t-2xl rtl:-translate-x-[calc(var(--index)*100%)] rtl:translate-x-3 scale scrolling selectProgress selectTopmost selectors self-start separators setShown setTheme shadow-xl shorter signal single size-3.5! size-4.5 size-7 size-8 soft start-0 start-0.5 starts stroke-current/25 strokeDasharray strokeDashoffset tableOfContent tableOfContentPopover tabsOptions text-[1.75em] text-end timezone to-40% to-[16px] to-transparent toc-popover tocEnabled tocPopoverEnabled tocPopoverProps tocProps top-(--fd-banner-height,0px) top-0.5 top-[calc(var(--fd-banner-height,0px)+var(--fd-header-height))] top-full transition-[grid-template-columns] transition-[opacity,scale] transition-[opacity,translate] transition-[opacity,visibility] transition-[stroke-dashoffset] transition-[width,padding,opacity,visibility] transitionProperty translate translate-x-[calc(var(--index)*100%)] turn turns typography under unlisted updated useBaseSlots useBreadcrumbItems useFooterItems useSpaciousLayout useTOCSelector used viewports w-(--fd-sidebar-width) w-(--fd-toc-width) w-64 w-88 w-[85%] w-[calc(var(--anchor-width)+--spacing(2))] wider xl:bg-fd-background xl:border xl:me-2 xl:my-2 xl:rounded-2xl xl:shadow-sm z-10 z-30");
|
package/css/lib/base.css
CHANGED
|
@@ -164,14 +164,15 @@
|
|
|
164
164
|
|
|
165
165
|
@variant dark (&:where(.dark, .dark *));
|
|
166
166
|
|
|
167
|
-
/* define/override layout variables */
|
|
167
|
+
/* define/override layout variables, from a direct child of the layout: a descendant `:has()` re-checks the whole layout on DOM changes */
|
|
168
168
|
@variant layout {
|
|
169
|
-
#nd-docs-layout:has(&),
|
|
170
|
-
#nd-notebook-layout:has(&),
|
|
171
|
-
#nd-home-layout:has(&),
|
|
172
|
-
#nd-flux-layout:has(&),
|
|
173
|
-
#fd-glass-layout:has(&),
|
|
174
|
-
|
|
169
|
+
#nd-docs-layout:has(> &),
|
|
170
|
+
#nd-notebook-layout:has(> &),
|
|
171
|
+
#nd-home-layout:has(> &),
|
|
172
|
+
#nd-flux-layout:has(> &),
|
|
173
|
+
#fd-glass-layout:has(> &),
|
|
174
|
+
/* the spacious page nests its TOC and page in the page panel */
|
|
175
|
+
#fd-spacious-layout:has(> &, > * > &, > * > * > &) {
|
|
175
176
|
@slot;
|
|
176
177
|
}
|
|
177
178
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
//#region src/.translations/index.d.ts
|
|
2
1
|
export type Translations = {
|
|
3
2
|
"Ask AI(AI chat button)": string;
|
|
4
3
|
"Back to Home(404 not found page)": string;
|
|
@@ -63,5 +62,4 @@ export type Translations = {
|
|
|
63
62
|
"Type(type table)": string;
|
|
64
63
|
"View as Markdown(page actions)": string;
|
|
65
64
|
"displayName": string;
|
|
66
|
-
};
|
|
67
|
-
//#endregion
|
|
65
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/.translations/keys.json
|
|
2
2
|
var keys_default = [
|
|
3
3
|
"Ask AI(AI chat button)",
|
|
4
4
|
"Back to Home(404 not found page)",
|
|
@@ -64,5 +64,4 @@ var keys_default = [
|
|
|
64
64
|
"View as Markdown(page actions)",
|
|
65
65
|
"displayName"
|
|
66
66
|
];
|
|
67
|
-
//#endregion
|
|
68
67
|
export { keys_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// \0rolldown/runtime.js
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __exportAll = (all, no_symbols) => {
|
|
4
4
|
let target = {};
|
|
@@ -9,5 +9,4 @@ var __exportAll = (all, no_symbols) => {
|
|
|
9
9
|
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
10
|
return target;
|
|
11
11
|
};
|
|
12
|
-
//#endregion
|
|
13
12
|
export { __exportAll };
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
//#region src/components/accordion.d.ts
|
|
4
3
|
export declare function Accordions({ ref, className, defaultValue, ...props }: ComponentProps<typeof Accordion$1>): import("react").JSX.Element;
|
|
5
4
|
export declare function Accordion({ title, id, value, children, ...props }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
|
|
6
5
|
title: string | ReactNode;
|
|
7
6
|
value?: string;
|
|
8
|
-
}): import("react").JSX.Element;
|
|
9
|
-
//#endregion
|
|
7
|
+
}): import("react").JSX.Element;
|
|
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
import { Check, LinkIcon } from "lucide-react";
|
|
9
9
|
import { useEffect, useRef, useState } from "react";
|
|
10
10
|
import { useTranslations } from "@fuma-translate/react";
|
|
11
|
-
|
|
11
|
+
// src/components/accordion.tsx
|
|
12
12
|
function Accordions({ ref, className, defaultValue, ...props }) {
|
|
13
13
|
const rootRef = useRef(null);
|
|
14
14
|
const composedRef = mergeRefs(ref, rootRef);
|
|
@@ -68,5 +68,4 @@ function CopyButton({ id }) {
|
|
|
68
68
|
})]
|
|
69
69
|
});
|
|
70
70
|
}
|
|
71
|
-
//#endregion
|
|
72
71
|
export { Accordion, Accordions };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes } from "react";
|
|
2
|
-
//#region src/components/banner.d.ts
|
|
3
2
|
type BannerVariant = 'rainbow' | 'normal';
|
|
4
3
|
export declare function Banner({ id, variant, changeLayout, height, rainbowColors, ...props }: HTMLAttributes<HTMLDivElement> & {
|
|
5
4
|
/**
|
|
@@ -21,5 +20,4 @@ export declare function Banner({ id, variant, changeLayout, height, rainbowColor
|
|
|
21
20
|
*/
|
|
22
21
|
changeLayout?: boolean;
|
|
23
22
|
}): import("react").JSX.Element | null;
|
|
24
|
-
//#endregion
|
|
25
23
|
export {};
|
|
@@ -5,7 +5,7 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { X } from "lucide-react";
|
|
6
6
|
import { useEffect, useState } from "react";
|
|
7
7
|
import { useTranslations } from "@fuma-translate/react";
|
|
8
|
-
|
|
8
|
+
// src/components/banner.tsx
|
|
9
9
|
function Banner({ id, variant = "normal", changeLayout = true, height = "3rem", rainbowColors = [
|
|
10
10
|
"rgba(0,149,255,0.56)",
|
|
11
11
|
"rgba(231,77,255,0.77)",
|
|
@@ -81,5 +81,4 @@ function encodeBase32(str) {
|
|
|
81
81
|
if (bitsLeft > 0) encoded += alphabet[buffer << 5 - bitsLeft & 31];
|
|
82
82
|
return encoded;
|
|
83
83
|
}
|
|
84
|
-
//#endregion
|
|
85
84
|
export { Banner };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
//#region src/components/callout.d.ts
|
|
3
2
|
export type CalloutType = 'info' | 'warn' | 'error' | 'success' | 'warning' | 'idea';
|
|
4
3
|
export declare function Callout({ children, title, ...props }: {
|
|
5
4
|
title?: ReactNode;
|
|
@@ -16,5 +15,4 @@ export interface CalloutContainerProps extends ComponentProps<'div'> {
|
|
|
16
15
|
}
|
|
17
16
|
export declare function CalloutContainer({ type: inputType, icon, children, className, style, ...props }: CalloutContainerProps): import("react").JSX.Element;
|
|
18
17
|
export declare function CalloutTitle({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
|
|
19
|
-
export declare function CalloutDescription({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function CalloutDescription({ children, className, ...props }: ComponentProps<'p'>): import("react").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../utils/cn.js";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { CircleCheck, CircleX, Info, Lightbulb, TriangleAlert } from "lucide-react";
|
|
4
|
-
|
|
4
|
+
// src/components/callout.tsx
|
|
5
5
|
const iconClass = "size-5 -me-0.5 fill-(--callout-color) text-fd-card";
|
|
6
6
|
function Callout({ children, title, ...props }) {
|
|
7
7
|
return /* @__PURE__ */ jsxs(CalloutContainer, {
|
|
@@ -56,5 +56,4 @@ function CalloutDescription({ children, className, ...props }) {
|
|
|
56
56
|
children
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
|
-
//#endregion
|
|
60
59
|
export { Callout, CalloutContainer, CalloutDescription, CalloutTitle };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
//#region src/components/card.d.ts
|
|
3
2
|
export declare function Cards(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
|
|
4
3
|
export type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
5
4
|
icon?: ReactNode;
|
|
@@ -8,5 +7,4 @@ export type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
|
8
7
|
href?: string;
|
|
9
8
|
external?: boolean;
|
|
10
9
|
};
|
|
11
|
-
export declare function Card({ icon, title, description, ...props }: CardProps): import("react").JSX.Element;
|
|
12
|
-
//#endregion
|
|
10
|
+
export declare function Card({ icon, title, description, ...props }: CardProps): import("react").JSX.Element;
|
package/dist/components/card.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../utils/cn.js";
|
|
2
2
|
import Link from "fumadocs-core/link";
|
|
3
3
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
|
|
4
|
+
// src/components/card.tsx
|
|
5
5
|
function Cards(props) {
|
|
6
6
|
return /* @__PURE__ */ jsx("div", {
|
|
7
7
|
...props,
|
|
@@ -35,5 +35,4 @@ function Card({ icon, title, description, ...props }) {
|
|
|
35
35
|
]
|
|
36
36
|
});
|
|
37
37
|
}
|
|
38
|
-
//#endregion
|
|
39
38
|
export { Card, 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
|
-
//#region src/components/codeblock.d.ts
|
|
4
3
|
export interface CodeBlockProps extends Omit<ComponentProps<'figure'>, 'title'> {
|
|
5
4
|
title?: ReactNode;
|
|
6
5
|
/**
|
|
@@ -40,5 +39,4 @@ export declare function CodeBlock({ ref, title, allowCopy, keepBackground, icon,
|
|
|
40
39
|
export declare function CodeBlockTabs({ ref, className, ...props }: ComponentProps<typeof Tabs>): import("react").JSX.Element;
|
|
41
40
|
export declare function CodeBlockTabsList({ className, ...props }: ComponentProps<typeof TabsList>): import("react").JSX.Element;
|
|
42
41
|
export declare function CodeBlockTabsTrigger({ children, className, ...props }: ComponentProps<typeof TabsTrigger>): import("react").JSX.Element;
|
|
43
|
-
export declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
|
|
44
|
-
//#endregion
|
|
42
|
+
export declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
|
|
@@ -8,7 +8,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
8
|
import { Check, Clipboard } from "lucide-react";
|
|
9
9
|
import { createContext, use, useMemo, useRef } from "react";
|
|
10
10
|
import { useTranslations } from "@fuma-translate/react";
|
|
11
|
-
|
|
11
|
+
// src/components/codeblock.tsx
|
|
12
12
|
const TabsContext = createContext(null);
|
|
13
13
|
function Pre(props) {
|
|
14
14
|
return /* @__PURE__ */ jsx("pre", {
|
|
@@ -125,5 +125,4 @@ function CodeBlockTabsTrigger({ children, className, ...props }) {
|
|
|
125
125
|
function CodeBlockTab(props) {
|
|
126
126
|
return /* @__PURE__ */ jsx(TabsContent, { ...props });
|
|
127
127
|
}
|
|
128
|
-
//#endregion
|
|
129
128
|
export { CodeBlock, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { CodeBlockProps } from "./codeblock.js";
|
|
2
2
|
import { HighlightOptions, Highlighter } from "fumadocs-core/highlight";
|
|
3
|
-
//#region src/components/codeblock.rsc.d.ts
|
|
4
3
|
export type ServerCodeBlockProps = HighlightOptions & {
|
|
5
4
|
code: string;
|
|
6
5
|
/**
|
|
@@ -16,5 +15,4 @@ export declare function ServerCodeBlock({ code, codeblock, ...options }: ServerC
|
|
|
16
15
|
*/
|
|
17
16
|
export declare function createServerCodeBlock({ highlighter }: {
|
|
18
17
|
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)>;
|
|
20
|
-
//#endregion
|
|
18
|
+
}): ({ 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)>;
|
|
@@ -3,7 +3,7 @@ import { CodeBlock, Pre } from "./codeblock.js";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
|
|
5
5
|
import { highlight } from "fumadocs-core/highlight";
|
|
6
|
-
|
|
6
|
+
// src/components/codeblock.rsc.tsx
|
|
7
7
|
async function ServerCodeBlock({ code, codeblock, ...options }) {
|
|
8
8
|
return await highlight(code, {
|
|
9
9
|
defaultColor: false,
|
|
@@ -31,5 +31,4 @@ function createPre(codeblock) {
|
|
|
31
31
|
children: /* @__PURE__ */ jsx(Pre, { children: props.children })
|
|
32
32
|
});
|
|
33
33
|
}
|
|
34
|
-
//#endregion
|
|
35
34
|
export { ServerCodeBlock, createServerCodeBlock };
|
|
@@ -2,7 +2,6 @@ import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
|
2
2
|
import "./search.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { AlgoliaOptions } from "fumadocs-core/search/client";
|
|
5
|
-
//#region src/components/dialog/search-algolia.d.ts
|
|
6
5
|
export interface AlgoliaSearchDialogProps extends SharedProps {
|
|
7
6
|
searchOptions: AlgoliaOptions;
|
|
8
7
|
links?: SearchLink[];
|
|
@@ -22,5 +21,4 @@ export interface AlgoliaSearchDialogProps extends SharedProps {
|
|
|
22
21
|
*/
|
|
23
22
|
allowClear?: boolean;
|
|
24
23
|
}
|
|
25
|
-
export default function AlgoliaSearchDialog({ searchOptions, tags, defaultTag, showAlgolia, allowClear, links, footer, ...props }: AlgoliaSearchDialogProps): import("react").JSX.Element;
|
|
26
|
-
//#endregion
|
|
24
|
+
export default function AlgoliaSearchDialog({ searchOptions, tags, defaultTag, showAlgolia, allowClear, links, footer, ...props }: AlgoliaSearchDialogProps): import("react").JSX.Element;
|
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { useMemo, useState } from "react";
|
|
6
6
|
import { useOnChange } from "fumadocs-core/utils/use-on-change";
|
|
7
7
|
import { useAlgoliaSearch } from "fumadocs-core/search/client";
|
|
8
|
-
|
|
8
|
+
// src/components/dialog/search-algolia.tsx
|
|
9
9
|
function AlgoliaSearchDialog({ searchOptions, tags = [], defaultTag, showAlgolia = false, allowClear = false, links = [], footer, ...props }) {
|
|
10
10
|
const [tag, setTag] = useState(defaultTag);
|
|
11
11
|
const { locale } = useI18n();
|
|
@@ -57,5 +57,4 @@ function AlgoliaTitle() {
|
|
|
57
57
|
children: "Search powered by Algolia"
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
-
//#endregion
|
|
61
60
|
export { AlgoliaSearchDialog as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
2
2
|
import "./search.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
|
-
//#region src/components/dialog/search-default.d.ts
|
|
5
4
|
export interface DefaultSearchDialogProps extends SharedProps {
|
|
6
5
|
/** @deprecated re-create the dialog instead for other clients, see https://fumadocs.dev/docs/search/orama */
|
|
7
6
|
type?: 'static';
|
|
@@ -24,5 +23,4 @@ export interface DefaultSearchDialogProps extends SharedProps {
|
|
|
24
23
|
*/
|
|
25
24
|
allowClear?: boolean;
|
|
26
25
|
}
|
|
27
|
-
export default function DefaultSearchDialog({ type, defaultTag, tags, api, delayMs, allowClear, links, footer, ...props }: DefaultSearchDialogProps): import("react").JSX.Element;
|
|
28
|
-
//#endregion
|
|
26
|
+
export default function DefaultSearchDialog({ type, defaultTag, tags, api, delayMs, allowClear, links, footer, ...props }: DefaultSearchDialogProps): import("react").JSX.Element;
|
|
@@ -6,7 +6,7 @@ import { use, useMemo, useState } from "react";
|
|
|
6
6
|
import { useOnChange } from "fumadocs-core/utils/use-on-change";
|
|
7
7
|
import { useDocsSearch } from "fumadocs-core/search/client";
|
|
8
8
|
import { fetchClient } from "fumadocs-core/search/client/fetch";
|
|
9
|
-
|
|
9
|
+
// src/components/dialog/search-default.tsx
|
|
10
10
|
let STATIC;
|
|
11
11
|
function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowClear = false, links = [], footer, ...props }) {
|
|
12
12
|
const { locale } = useI18n();
|
|
@@ -60,5 +60,4 @@ function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowC
|
|
|
60
60
|
]
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
-
//#endregion
|
|
64
63
|
export { DefaultSearchDialog as default };
|
|
@@ -2,7 +2,6 @@ import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
|
|
|
2
2
|
import "./search.js";
|
|
3
3
|
import { ReactNode } from "react";
|
|
4
4
|
import { OramaCloudOptions } from "fumadocs-core/search/client";
|
|
5
|
-
//#region src/components/dialog/search-orama.d.ts
|
|
6
5
|
export interface OramaSearchDialogProps extends SharedProps {
|
|
7
6
|
links?: SearchLink[];
|
|
8
7
|
client: OramaCloudOptions['client'];
|
|
@@ -27,5 +26,4 @@ export interface OramaSearchDialogProps extends SharedProps {
|
|
|
27
26
|
/**
|
|
28
27
|
* Orama Cloud integration
|
|
29
28
|
*/
|
|
30
|
-
export default function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): import("react").JSX.Element;
|
|
31
|
-
//#endregion
|
|
29
|
+
export default function OramaSearchDialog({ client, searchOptions, tags, defaultTag, showOrama, allowClear, index, footer, links, ...props }: OramaSearchDialogProps): import("react").JSX.Element;
|
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { useMemo, useState } from "react";
|
|
6
6
|
import { useOnChange } from "fumadocs-core/utils/use-on-change";
|
|
7
7
|
import { useOramaCloudSearch } from "fumadocs-core/search/client";
|
|
8
|
-
|
|
8
|
+
// src/components/dialog/search-orama.tsx
|
|
9
9
|
/**
|
|
10
10
|
* Orama Cloud integration
|
|
11
11
|
*/
|
|
@@ -62,5 +62,4 @@ function Label() {
|
|
|
62
62
|
children: "Search powered by Orama"
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
//#endregion
|
|
66
65
|
export { OramaSearchDialog as default };
|
|
@@ -3,7 +3,6 @@ import { ComponentProps, ReactNode } from "react";
|
|
|
3
3
|
import { Dialog } from "@base-ui/react/dialog";
|
|
4
4
|
import { SearchResult, SearchResultItem, SearchResultRecord, SearchResultTable } from "fumadocs-core/search/client";
|
|
5
5
|
import { ReactSortedResult } from "fumadocs-core/search";
|
|
6
|
-
//#region src/components/dialog/search.d.ts
|
|
7
6
|
export type SearchItemType = ((ReactSortedResult | SearchResultRecord) & {
|
|
8
7
|
external?: boolean;
|
|
9
8
|
}) | {
|
|
@@ -97,5 +96,4 @@ export declare function useTagsList(): {
|
|
|
97
96
|
onValueChange: (value: string | undefined) => void;
|
|
98
97
|
allowClear: boolean;
|
|
99
98
|
};
|
|
100
|
-
//#endregion
|
|
101
99
|
export type { SharedProps };
|
|
@@ -12,7 +12,7 @@ import { Dialog } from "@base-ui/react/dialog";
|
|
|
12
12
|
import scrollIntoView from "scroll-into-view-if-needed";
|
|
13
13
|
import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
|
|
14
14
|
import { useHighlightQuery } from "fumadocs-core/search/client";
|
|
15
|
-
|
|
15
|
+
// src/components/dialog/search.tsx
|
|
16
16
|
const RootContext = createContext(null);
|
|
17
17
|
const TagsListContext = createContext(null);
|
|
18
18
|
const mdComponents = {
|
|
@@ -442,5 +442,4 @@ function useTagsList() {
|
|
|
442
442
|
if (!ctx) throw new Error("Missing <TagsList />");
|
|
443
443
|
return ctx;
|
|
444
444
|
}
|
|
445
|
-
//#endregion
|
|
446
445
|
export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogListTable, SearchDialogOverlay, TagsList, TagsListItem, useSearch, useTagsList };
|
|
@@ -2,7 +2,6 @@ import { CodeBlockProps } from "./codeblock.js";
|
|
|
2
2
|
import { Highlighter } from "fumadocs-core/highlight";
|
|
3
3
|
import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
|
|
4
4
|
import { HighlighterCore } from "shiki";
|
|
5
|
-
//#region src/components/dynamic-codeblock.core.d.ts
|
|
6
5
|
export interface DynamicCodeblockProps {
|
|
7
6
|
highlighter: HighlighterCore | (() => HighlighterCore | PromiseLike<HighlighterCore>);
|
|
8
7
|
lang: string;
|
|
@@ -29,5 +28,4 @@ export declare function createDynamicCodeBlock({ highlighter }: {
|
|
|
29
28
|
highlighter: Highlighter;
|
|
30
29
|
}): (props: Omit<DynamicCodeblockProps, 'highlighter' | 'options'>) => import("react").JSX.Element;
|
|
31
30
|
export declare function DynamicCodeBlock({ highlighter, options, wrapInSuspense, ...props }: DynamicCodeblockProps): import("react").JSX.Element;
|
|
32
|
-
//#endregion
|
|
33
31
|
export {};
|
|
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
5
5
|
import { Suspense, createContext, use, useMemo, useRef } from "react";
|
|
6
6
|
import { toJsx } from "fumadocs-core/utils/hast-to-jsx";
|
|
7
7
|
import { createShikiHighlighter } from "fumadocs-core/highlight/shiki";
|
|
8
|
-
|
|
8
|
+
// src/components/dynamic-codeblock.core.tsx
|
|
9
9
|
const PropsContext = createContext(void 0);
|
|
10
10
|
function DefaultPre(props) {
|
|
11
11
|
const extraProps = use(PropsContext);
|
|
@@ -85,5 +85,4 @@ function Placeholder({ code, components = {} }) {
|
|
|
85
85
|
children: line
|
|
86
86
|
}, i)) }) });
|
|
87
87
|
}
|
|
88
|
-
//#endregion
|
|
89
88
|
export { DynamicCodeBlock, createDynamicCodeBlock };
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { DynamicCodeblockProps as DynamicCodeblockProps$1 } from "./dynamic-codeblock.core.js";
|
|
2
|
-
//#region src/components/dynamic-codeblock.d.ts
|
|
3
2
|
export type DynamicCodeblockProps = Omit<DynamicCodeblockProps$1, 'highlighter' | 'options'> & {
|
|
4
3
|
options?: DynamicCodeblockProps$1['options'];
|
|
5
4
|
};
|
|
6
|
-
export declare function DynamicCodeBlock(props: DynamicCodeblockProps): import("react").JSX.Element;
|
|
7
|
-
//#endregion
|
|
5
|
+
export declare function DynamicCodeBlock(props: DynamicCodeblockProps): import("react").JSX.Element;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DynamicCodeBlock as DynamicCodeBlock$1 } from "./dynamic-codeblock.core.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { defaultShikiFactory } from "fumadocs-core/highlight/shiki/full";
|
|
5
|
-
|
|
5
|
+
// src/components/dynamic-codeblock.tsx
|
|
6
6
|
function DynamicCodeBlock(props) {
|
|
7
7
|
return /* @__PURE__ */ jsx(DynamicCodeBlock$1, {
|
|
8
8
|
highlighter: () => defaultShikiFactory.getOrInit(),
|
|
@@ -13,5 +13,4 @@ function DynamicCodeBlock(props) {
|
|
|
13
13
|
...props
|
|
14
14
|
});
|
|
15
15
|
}
|
|
16
|
-
//#endregion
|
|
17
16
|
export { DynamicCodeBlock };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { HTMLAttributes, ReactNode } from "react";
|
|
2
|
-
//#region src/components/files.d.ts
|
|
3
2
|
export declare function Files({ className, ...props }: HTMLAttributes<HTMLDivElement>): React.ReactElement;
|
|
4
3
|
export interface FileProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
4
|
name: string;
|
|
@@ -16,5 +15,4 @@ export interface FolderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
16
15
|
defaultOpen?: boolean;
|
|
17
16
|
}
|
|
18
17
|
export declare function File({ name, icon, className, ...rest }: FileProps): React.ReactElement;
|
|
19
|
-
export declare function Folder({ name, defaultOpen, ...props }: FolderProps): React.ReactElement;
|
|
20
|
-
//#endregion
|
|
18
|
+
export declare function Folder({ name, defaultOpen, ...props }: FolderProps): React.ReactElement;
|
package/dist/components/files.js
CHANGED
|
@@ -5,7 +5,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
5
5
|
import { FileIcon, FolderIcon, FolderOpen } from "lucide-react";
|
|
6
6
|
import { cva } from "class-variance-authority";
|
|
7
7
|
import { useState } from "react";
|
|
8
|
-
|
|
8
|
+
// src/components/files.tsx
|
|
9
9
|
const itemVariants = cva("flex flex-row items-center gap-2 rounded-md px-2 py-1.5 text-sm hover:bg-fd-accent hover:text-fd-accent-foreground [&_svg]:size-4");
|
|
10
10
|
function Files({ className, ...props }) {
|
|
11
11
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -36,5 +36,4 @@ function Folder({ name, defaultOpen = false, ...props }) {
|
|
|
36
36
|
}) })]
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { File, Files, Folder };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
//#region src/components/github-info.d.ts
|
|
3
2
|
export interface FetchRepositoryInfoOptions {
|
|
4
3
|
owner: string;
|
|
5
4
|
repo: string;
|
|
@@ -15,5 +14,4 @@ export interface GithubInfoProps extends ComponentProps<'a'>, FetchRepositoryInf
|
|
|
15
14
|
locale?: Intl.LocalesArgument;
|
|
16
15
|
}
|
|
17
16
|
export declare function fetchRepositoryInfo({ owner, repo, token, baseUrl, fetchOptions }: FetchRepositoryInfoOptions): Promise<RepositoryInfo>;
|
|
18
|
-
export declare function GithubInfo({ repo, owner, token, baseUrl, fetchOptions, locale, ...props }: GithubInfoProps): import("react").JSX.Element;
|
|
19
|
-
//#endregion
|
|
17
|
+
export declare function GithubInfo({ repo, owner, token, baseUrl, fetchOptions, locale, ...props }: GithubInfoProps): import("react").JSX.Element;
|