@fumadocs/base-ui 16.17.9 → 16.18.0
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/glass.css +1 -1
- package/css/generated/shared.css +1 -1
- package/css/lib/base.css +8 -7
- package/dist/.translations/index.d.ts +1 -0
- package/dist/.translations/keys.js +1 -0
- package/dist/components/heading.js +1 -1
- package/dist/components/sidebar/base.js +20 -3
- package/dist/components/tabs.js +1 -1
- package/dist/components/ui/tabs.d.ts +1 -1
- package/dist/components/ui/tabs.js +2 -2
- package/dist/layouts/docs/client.js +2 -1
- package/dist/layouts/docs/slots/sidebar.js +4 -7
- package/dist/layouts/glass/index.js +2 -1
- package/dist/layouts/glass/page/index.js +1 -0
- package/dist/layouts/glass/slots/sidebar.js +6 -3
- package/dist/layouts/notebook/client.js +2 -1
- package/dist/layouts/notebook/slots/sidebar.js +4 -7
- package/dist/layouts/shared/client.js +10 -1
- package/dist/layouts/shared/slots/language-select.js +2 -3
- package/dist/layouts/spacious/index.js +2 -1
- package/dist/layouts/spacious/slots/sidebar.js +20 -23
- package/dist/page.js +1 -1
- package/dist/style.css +21 -18
- package/package.json +5 -5
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 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");
|
|
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-page 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 --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
|
+
@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 back backdrop-blur-lg backdrop-blur-xs background background-position backgroundColor backgroundImage backgroundSize backward banner basePath baseProps baseSlots baseUrl based became becomes 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 came 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 entering 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:opacity-100 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 give 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 onFocus 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 point pointerType points polite populated pos position positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch prev preventScroll previous primary primaryColor primaryTextColor primitive 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 relatedTarget relative remove removeEventListener render renderOptions repo repository required resize resizing resolve resolved resolvedTheme response rest result results return returnFocusRef 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 sha 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 skip 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");
|
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
|
}
|
|
@@ -53,6 +53,7 @@ export type Translations = {
|
|
|
53
53
|
"Search(search dialog)": string;
|
|
54
54
|
"Search(search trigger)": string;
|
|
55
55
|
"Show Sidebar(sidebar)": string;
|
|
56
|
+
"Skip to Content(skip link)": string;
|
|
56
57
|
"System(theme switcher)(aria-label)": string;
|
|
57
58
|
"Table of Contents(inline table of contents)": string;
|
|
58
59
|
"The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.(404 not found page)": string;
|
|
@@ -54,6 +54,7 @@ var keys_default = [
|
|
|
54
54
|
"Search(search dialog)",
|
|
55
55
|
"Search(search trigger)",
|
|
56
56
|
"Show Sidebar(sidebar)",
|
|
57
|
+
"Skip to Content(skip link)",
|
|
57
58
|
"System(theme switcher)(aria-label)",
|
|
58
59
|
"Table of Contents(inline table of contents)",
|
|
59
60
|
"The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.(404 not found page)",
|
|
@@ -28,7 +28,7 @@ function Heading({ as, ...props }) {
|
|
|
28
28
|
className: cn(buttonVariants({
|
|
29
29
|
variant: "ghost",
|
|
30
30
|
size: "icon-xs"
|
|
31
|
-
}), "not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100"),
|
|
31
|
+
}), "not-prose shrink-0 text-fd-muted-foreground opacity-0 transition-opacity group-hover/heading:opacity-100 focus-visible:opacity-100"),
|
|
32
32
|
onClick: onCopy,
|
|
33
33
|
children: [isChecked ? /* @__PURE__ */ jsx(CopyCheckIcon, {}) : /* @__PURE__ */ jsx(LinkIcon, {}), /* @__PURE__ */ jsx("span", {
|
|
34
34
|
className: "sr-only",
|
|
@@ -54,6 +54,14 @@ function SidebarProvider({ defaultOpenLevel = 0, prefetch, collapsible = true, c
|
|
|
54
54
|
enabled: collapsible && mode === "full",
|
|
55
55
|
ignoreTyping: true
|
|
56
56
|
});
|
|
57
|
+
useHotKey((e) => {
|
|
58
|
+
if (e.key !== "Escape") return;
|
|
59
|
+
e.preventDefault();
|
|
60
|
+
setOpen(false);
|
|
61
|
+
}, {
|
|
62
|
+
enabled: open && mode === "drawer",
|
|
63
|
+
ignoreTyping: true
|
|
64
|
+
});
|
|
57
65
|
return /* @__PURE__ */ jsx(SidebarContext, {
|
|
58
66
|
value: useMemo(() => ({
|
|
59
67
|
open,
|
|
@@ -132,14 +140,20 @@ function SidebarDrawerOverlay(props) {
|
|
|
132
140
|
function SidebarDrawerContent({ className, children, ...props }) {
|
|
133
141
|
const { open, mode } = useSidebar();
|
|
134
142
|
const [hidden, setHidden] = useState(!open);
|
|
143
|
+
const returnFocusRef = useRef(null);
|
|
135
144
|
if (open && hidden) setHidden(false);
|
|
136
145
|
if (mode !== "drawer") return;
|
|
137
146
|
return /* @__PURE__ */ jsx("aside", {
|
|
138
147
|
id: "nd-sidebar-mobile",
|
|
139
148
|
"data-state": open ? "open" : "closed",
|
|
140
149
|
className: cn(hidden && "invisible", className),
|
|
141
|
-
|
|
142
|
-
if (!
|
|
150
|
+
onFocus: (e) => {
|
|
151
|
+
if (!e.currentTarget.contains(e.relatedTarget)) returnFocusRef.current = e.relatedTarget instanceof HTMLElement ? e.relatedTarget : null;
|
|
152
|
+
},
|
|
153
|
+
onAnimationEnd: (e) => {
|
|
154
|
+
if (open) return;
|
|
155
|
+
if (e.currentTarget.contains(document.activeElement)) returnFocusRef.current?.focus();
|
|
156
|
+
ReactDOM.flushSync(() => setHidden(true));
|
|
143
157
|
},
|
|
144
158
|
...props,
|
|
145
159
|
children
|
|
@@ -152,7 +166,10 @@ function SidebarViewport({ className, ...props }) {
|
|
|
152
166
|
children: [
|
|
153
167
|
/* @__PURE__ */ jsx(ScrollArea.Viewport, {
|
|
154
168
|
className: "size-full rounded-[inherit] p-4 overscroll-contain mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)]",
|
|
155
|
-
children:
|
|
169
|
+
children: /* @__PURE__ */ jsx(ScrollArea.Content, {
|
|
170
|
+
className: "flex flex-col gap-0.5",
|
|
171
|
+
children: props.children
|
|
172
|
+
})
|
|
156
173
|
}),
|
|
157
174
|
/* @__PURE__ */ jsx(ScrollArea.Corner, {}),
|
|
158
175
|
/* @__PURE__ */ jsx(ScrollArea.Scrollbar, {
|
package/dist/components/tabs.js
CHANGED
|
@@ -84,6 +84,6 @@ function useCollectionIndex() {
|
|
|
84
84
|
* only escape whitespaces in values in simple mode
|
|
85
85
|
*/
|
|
86
86
|
function escapeValue(v) {
|
|
87
|
-
return v.toLowerCase().replace(/\s
|
|
87
|
+
return v.toLowerCase().replace(/\s+/g, "-");
|
|
88
88
|
}
|
|
89
89
|
export { Tab, Tabs, TabsContent, TabsList, TabsTrigger };
|
|
@@ -18,4 +18,4 @@ export interface TabsProps extends ComponentProps<typeof Tabs$1.Root> {
|
|
|
18
18
|
export declare const TabsList: import("react").ForwardRefExoticComponent<Omit<import("@base-ui/react").TabsListProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
19
19
|
export declare function TabsTrigger({ value, ref, ...props }: ComponentProps<typeof Tabs$1.Tab>): import("react").JSX.Element;
|
|
20
20
|
export declare function Tabs({ ref, groupId, persist, updateAnchor, defaultValue, value: _value, onValueChange: _onValueChange, ...props }: TabsProps): import("react").JSX.Element;
|
|
21
|
-
export declare function TabsContent({ value, ref, ...props }: ComponentProps<typeof Tabs$1.Panel>): import("react").JSX.Element;
|
|
21
|
+
export declare function TabsContent({ value, id, ref, ...props }: ComponentProps<typeof Tabs$1.Panel>): import("react").JSX.Element;
|
|
@@ -96,9 +96,9 @@ function Tabs({ ref, groupId, persist = false, updateAnchor = false, defaultValu
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}
|
|
99
|
-
function TabsContent({ value, ref, ...props }) {
|
|
99
|
+
function TabsContent({ value, id, ref, ...props }) {
|
|
100
100
|
const { valueToIdMap, panels } = useTabContext();
|
|
101
|
-
if (
|
|
101
|
+
if (id) valueToIdMap.set(value, id);
|
|
102
102
|
return /* @__PURE__ */ jsx(Tabs$1.Panel, {
|
|
103
103
|
ref: mergeRefs(ref, (element) => {
|
|
104
104
|
if (element) panels.set(value, element);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../utils/cn.js";
|
|
3
3
|
import { TreeContextProvider, useTabsGroups, useTreePath } from "../../contexts/tree.js";
|
|
4
|
-
import { AIChatPanel, baseSlots } from "../shared/client.js";
|
|
4
|
+
import { AIChatPanel, SkipToContent, baseSlots } from "../shared/client.js";
|
|
5
5
|
import { isLayoutTabActive, useLinkItems } from "../shared/index.js";
|
|
6
6
|
import { useIsScrollTop } from "../../utils/use-is-scroll-top.js";
|
|
7
7
|
import { Sidebar, SidebarProvider, SidebarTrigger, useSidebar } from "./slots/sidebar.js";
|
|
@@ -62,6 +62,7 @@ function LayoutBody(props) {
|
|
|
62
62
|
children: /* @__PURE__ */ jsxs(slots.container, {
|
|
63
63
|
...containerProps,
|
|
64
64
|
children: [
|
|
65
|
+
/* @__PURE__ */ jsx(SkipToContent, {}),
|
|
65
66
|
navEnabled && /* @__PURE__ */ jsx(slots.header, {}),
|
|
66
67
|
sidebarEnabled && /* @__PURE__ */ jsx(slots.sidebar.root, { ...sidebarProps }),
|
|
67
68
|
tabMode === "top" && tabs.length > 0 && /* @__PURE__ */ jsx(LayoutTabs, {
|
|
@@ -28,13 +28,10 @@ function SidebarProvider(props) {
|
|
|
28
28
|
function Sidebar({ footer, banner, collapsible = true, components, ...rest }) {
|
|
29
29
|
const { menuItems, slots, props: { tabs, nav, tabMode } } = useDocsLayout();
|
|
30
30
|
const iconLinks = menuItems.filter((item) => item.type === "icon");
|
|
31
|
-
const viewport = /* @__PURE__ */
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
className: cn(i === list.length - 1 && "mb-4")
|
|
36
|
-
}, i)), /* @__PURE__ */ jsx(SidebarPageTree, { ...components })]
|
|
37
|
-
}) });
|
|
31
|
+
const viewport = /* @__PURE__ */ jsxs(SidebarViewport, { children: [menuItems.filter((v) => v.type !== "icon").map((item, i, list) => /* @__PURE__ */ jsx(SidebarLinkItem, {
|
|
32
|
+
item,
|
|
33
|
+
className: cn(i === list.length - 1 && "mb-4")
|
|
34
|
+
}, i)), /* @__PURE__ */ jsx(SidebarPageTree, { ...components })] });
|
|
38
35
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(SidebarContent, {
|
|
39
36
|
...rest,
|
|
40
37
|
children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { TreeContextProvider } from "../../contexts/tree.js";
|
|
3
|
-
import { AIChatPanel, baseSlots } from "../shared/client.js";
|
|
3
|
+
import { AIChatPanel, SkipToContent, baseSlots } from "../shared/client.js";
|
|
4
4
|
import { getLayoutTabs, useLinkItems } from "../shared/index.js";
|
|
5
5
|
import { Sidebar, SidebarDrawer, SidebarProvider, drawerHandle, useSidebar } from "./slots/sidebar.js";
|
|
6
6
|
import { Header } from "./slots/header.js";
|
|
@@ -59,6 +59,7 @@ function DocsLayout(props) {
|
|
|
59
59
|
className: "grid overflow-x-clip min-h-dvh [--fd-main-width:900px] [--fd-left-width:0px] [--fd-right-width:0px]",
|
|
60
60
|
style: { gridTemplate: `"left left-margin main right-margin right" 1fr / var(--fd-left-width) ${leftSpace} 1fr minmax(calc(50% - var(--fd-main-width)/2 - var(--fd-right-width) + min(${leftSpace}, 0px)), auto) var(--fd-right-width)` },
|
|
61
61
|
children: [
|
|
62
|
+
/* @__PURE__ */ jsx(SkipToContent, {}),
|
|
62
63
|
/* @__PURE__ */ jsx(slots.sidebar.drawer, {}),
|
|
63
64
|
/* @__PURE__ */ jsx(slots.sidebar.main, {}),
|
|
64
65
|
/* @__PURE__ */ jsx(slots.header, {}),
|
|
@@ -23,6 +23,7 @@ function DocsPage({ full = false, toc = Empty, tableOfContent, children }) {
|
|
|
23
23
|
children: /* @__PURE__ */ jsxs(TOCProvider, {
|
|
24
24
|
toc,
|
|
25
25
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
26
|
+
id: "nd-page",
|
|
26
27
|
"data-fd-full": full,
|
|
27
28
|
className: cn("flex flex-col gap-2 p-6 pb-16 min-w-0 [grid-area:main] md:pt-16 md:pb-8", full && "layout:[--fd-main-width:1200px]"),
|
|
28
29
|
children: [
|
|
@@ -149,9 +149,12 @@ function Sidebar({ className, children, ...props }) {
|
|
|
149
149
|
/* @__PURE__ */ jsxs(ScrollArea.Root, {
|
|
150
150
|
className: "min-h-0 flex-1",
|
|
151
151
|
children: [
|
|
152
|
-
/* @__PURE__ */
|
|
153
|
-
className: "size-full rounded-[inherit]
|
|
154
|
-
children:
|
|
152
|
+
/* @__PURE__ */ jsx(ScrollArea.Viewport, {
|
|
153
|
+
className: "size-full rounded-[inherit] p-2 [mask-image:linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent))]",
|
|
154
|
+
children: /* @__PURE__ */ jsxs(ScrollArea.Content, {
|
|
155
|
+
className: "flex flex-col",
|
|
156
|
+
children: [menuItems.map((item, i) => item.type !== "icon" && /* @__PURE__ */ jsx(SidebarLinkItem, { item }, i)), root.children.map((item, i) => cloneElement(renderNode(item), { key: i }))]
|
|
157
|
+
})
|
|
155
158
|
}),
|
|
156
159
|
/* @__PURE__ */ jsx(ScrollArea.Corner, {}),
|
|
157
160
|
/* @__PURE__ */ jsx(ScrollArea.Scrollbar, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { TreeContextProvider } from "../../contexts/tree.js";
|
|
3
|
-
import { AIChatPanel, baseSlots } from "../shared/client.js";
|
|
3
|
+
import { AIChatPanel, SkipToContent, baseSlots } from "../shared/client.js";
|
|
4
4
|
import { useLinkItems } from "../shared/index.js";
|
|
5
5
|
import { useIsScrollTop } from "../../utils/use-is-scroll-top.js";
|
|
6
6
|
import { Container } from "./slots/container.js";
|
|
@@ -58,6 +58,7 @@ function LayoutBody(props) {
|
|
|
58
58
|
children: /* @__PURE__ */ jsxs(slots.container, {
|
|
59
59
|
...containerProps,
|
|
60
60
|
children: [
|
|
61
|
+
/* @__PURE__ */ jsx(SkipToContent, {}),
|
|
61
62
|
navEnabled && /* @__PURE__ */ jsx(slots.header, {}),
|
|
62
63
|
/* @__PURE__ */ jsx(slots.sidebar.root, { ...sidebarProps }),
|
|
63
64
|
children,
|
|
@@ -161,13 +161,10 @@ function Sidebar({ banner, footer, components, collapsible = true, ...rest }) {
|
|
|
161
161
|
children: [props.children, footer]
|
|
162
162
|
});
|
|
163
163
|
}
|
|
164
|
-
const viewport = /* @__PURE__ */
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
className: cn("lg:hidden", i === arr.length - 1 && "mb-4")
|
|
169
|
-
}, i)), /* @__PURE__ */ jsx(SidebarPageTree, { ...components })]
|
|
170
|
-
}) });
|
|
164
|
+
const viewport = /* @__PURE__ */ jsxs(SidebarViewport, { children: [menuItems.filter((item) => item.type !== "icon").map((item, i, arr) => /* @__PURE__ */ jsx(SidebarLinkItem, {
|
|
165
|
+
item,
|
|
166
|
+
className: cn("lg:hidden", i === arr.length - 1 && "mb-4")
|
|
167
|
+
}, i)), /* @__PURE__ */ jsx(SidebarPageTree, { ...components })] });
|
|
171
168
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(SidebarContent, {
|
|
172
169
|
...rest,
|
|
173
170
|
children: [
|
|
@@ -9,6 +9,7 @@ import Link from "fumadocs-core/link";
|
|
|
9
9
|
import { usePathname } from "fumadocs-core/framework";
|
|
10
10
|
import { jsx } from "react/jsx-runtime";
|
|
11
11
|
import { useState } from "react";
|
|
12
|
+
import { useTranslations } from "@fuma-translate/react";
|
|
12
13
|
// src/layouts/shared/client.tsx
|
|
13
14
|
function LinkItem({ ref, item, ...props }) {
|
|
14
15
|
const pathname = usePathname();
|
|
@@ -97,4 +98,12 @@ function baseSlots({ useProps }) {
|
|
|
97
98
|
};
|
|
98
99
|
} };
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
+
function SkipToContent() {
|
|
102
|
+
const t = useTranslations({ note: "skip link" });
|
|
103
|
+
return /* @__PURE__ */ jsx("a", {
|
|
104
|
+
href: "#nd-page",
|
|
105
|
+
className: "sr-only",
|
|
106
|
+
children: t("Skip to Content")
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
export { AIChatPanel, LinkItem, SkipToContent, baseSlots };
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { cn } from "../../../utils/cn.js";
|
|
3
3
|
import { buttonVariants } from "../../../components/ui/button.js";
|
|
4
4
|
import { useI18n } from "../../../contexts/i18n.js";
|
|
5
|
-
import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.js";
|
|
5
|
+
import { Popover, PopoverClose, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import { useTranslations } from "@fuma-translate/react";
|
|
8
8
|
// src/layouts/shared/slots/language-select.tsx
|
|
@@ -21,8 +21,7 @@ function LanguageSelect({ className, variant = "ghost", children, ...rest }) {
|
|
|
21
21
|
children: [/* @__PURE__ */ jsx("p", {
|
|
22
22
|
className: "p-2 text-xs font-medium text-fd-muted-foreground",
|
|
23
23
|
children: chooseLanguage
|
|
24
|
-
}), context.locales.map((item) => /* @__PURE__ */ jsx(
|
|
25
|
-
type: "button",
|
|
24
|
+
}), context.locales.map((item) => /* @__PURE__ */ jsx(PopoverClose, {
|
|
26
25
|
className: cn("px-2 py-1.5 text-start text-sm rounded-lg transition-colors", item.locale === context.locale ? "bg-fd-primary/10 text-fd-primary" : "text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),
|
|
27
26
|
onClick: () => {
|
|
28
27
|
context.onChange?.(item.locale);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../../utils/cn.js";
|
|
3
3
|
import { TreeContextProvider } from "../../contexts/tree.js";
|
|
4
|
-
import { AIChatPanel, baseSlots } from "../shared/client.js";
|
|
4
|
+
import { AIChatPanel, SkipToContent, baseSlots } from "../shared/client.js";
|
|
5
5
|
import { getLayoutTabs, useLinkItems } from "../shared/index.js";
|
|
6
6
|
import { Sidebar, SidebarDrawer, SidebarProvider } from "./slots/sidebar.js";
|
|
7
7
|
import { Header } from "./slots/header.js";
|
|
@@ -61,6 +61,7 @@ function DocsLayout(props) {
|
|
|
61
61
|
"sidebar toc-popover right" var(--fd-toc-popover-height, 0px)
|
|
62
62
|
"sidebar main right" 1fr / var(--fd-sidebar-col) minmax(0, 1fr) auto` },
|
|
63
63
|
children: [
|
|
64
|
+
/* @__PURE__ */ jsx(SkipToContent, {}),
|
|
64
65
|
/* @__PURE__ */ jsx(slots.sidebar.main, {}),
|
|
65
66
|
/* @__PURE__ */ jsx(slots.header, {}),
|
|
66
67
|
children,
|
|
@@ -179,39 +179,36 @@ function TabIcon({ tab, className }) {
|
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
181
|
function SidebarViewport() {
|
|
182
|
+
const { menuItems } = useSpaciousLayout();
|
|
183
|
+
const links = menuItems.filter((item) => item.type !== "icon");
|
|
182
184
|
return /* @__PURE__ */ jsxs(ScrollArea.Root, {
|
|
183
185
|
className: "min-h-0 flex-1 mt-2",
|
|
184
186
|
children: [/* @__PURE__ */ jsx(ScrollArea.Viewport, {
|
|
185
187
|
className: "size-full overscroll-contain px-3 pt-4 pb-8 mask-t-from-[calc(100%-16px)] mask-b-from-[calc(100%-32px)]",
|
|
186
|
-
children: /* @__PURE__ */
|
|
188
|
+
children: /* @__PURE__ */ jsxs(ScrollArea.Content, {
|
|
189
|
+
ref: follow,
|
|
190
|
+
className: "relative flex flex-col",
|
|
191
|
+
children: [
|
|
192
|
+
/* @__PURE__ */ jsx("div", {
|
|
193
|
+
"aria-hidden": true,
|
|
194
|
+
className: "absolute top-0 left-0 py-0.5 rounded-lg bg-fd-accent/60 bg-clip-content opacity-0 pointer-events-none transition-opacity duration-200 ease-[cubic-bezier(0.22,1,0.36,1)] motion-safe:transition-[translate,width,height,opacity]"
|
|
195
|
+
}),
|
|
196
|
+
links.map((item, i) => /* @__PURE__ */ jsx(SidebarLinkItem, {
|
|
197
|
+
item,
|
|
198
|
+
className: cn(i === links.length - 1 && "mb-6")
|
|
199
|
+
}, i)),
|
|
200
|
+
/* @__PURE__ */ jsx("div", {
|
|
201
|
+
className: "flex flex-col",
|
|
202
|
+
children: /* @__PURE__ */ jsx(SidebarPageTree, {})
|
|
203
|
+
})
|
|
204
|
+
]
|
|
205
|
+
})
|
|
187
206
|
}), /* @__PURE__ */ jsx(ScrollArea.Scrollbar, {
|
|
188
207
|
className: (s) => cn("flex w-1.5 py-2 select-none transition-opacity", !s.hovering && "opacity-0"),
|
|
189
208
|
children: /* @__PURE__ */ jsx(ScrollArea.Thumb, { className: "flex-1 rounded-full bg-fd-border" })
|
|
190
209
|
})]
|
|
191
210
|
});
|
|
192
211
|
}
|
|
193
|
-
function SidebarItems() {
|
|
194
|
-
const { menuItems } = useSpaciousLayout();
|
|
195
|
-
const links = menuItems.filter((item) => item.type !== "icon");
|
|
196
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
197
|
-
ref: follow,
|
|
198
|
-
className: "relative flex flex-col",
|
|
199
|
-
children: [
|
|
200
|
-
/* @__PURE__ */ jsx("div", {
|
|
201
|
-
"aria-hidden": true,
|
|
202
|
-
className: "absolute top-0 left-0 py-0.5 rounded-lg bg-fd-accent/60 bg-clip-content opacity-0 pointer-events-none transition-opacity duration-200 ease-[cubic-bezier(0.22,1,0.36,1)] motion-safe:transition-[translate,width,height,opacity]"
|
|
203
|
-
}),
|
|
204
|
-
links.map((item, i) => /* @__PURE__ */ jsx(SidebarLinkItem, {
|
|
205
|
-
item,
|
|
206
|
-
className: cn(i === links.length - 1 && "mb-6")
|
|
207
|
-
}, i)),
|
|
208
|
-
/* @__PURE__ */ jsx("div", {
|
|
209
|
-
className: "flex flex-col",
|
|
210
|
-
children: /* @__PURE__ */ jsx(SidebarPageTree, {})
|
|
211
|
-
})
|
|
212
|
-
]
|
|
213
|
-
});
|
|
214
|
-
}
|
|
215
212
|
/** a soft block glides to the item under the mouse or keyboard focus */
|
|
216
213
|
function follow(area) {
|
|
217
214
|
const block = area?.firstElementChild;
|
package/dist/page.js
CHANGED
|
@@ -25,7 +25,7 @@ function DocsPage({ lastUpdate, editOnGithub, children, ...props }) {
|
|
|
25
25
|
...props,
|
|
26
26
|
children: [children, /* @__PURE__ */ jsxs("div", {
|
|
27
27
|
className: "flex flex-row flex-wrap items-center justify-between gap-4 empty:hidden",
|
|
28
|
-
children: [editOnGithub && /* @__PURE__ */ jsx(EditOnGitHub, { href: `https://github.com/${editOnGithub.owner}/${editOnGithub.repo}/blob/${editOnGithub.sha}/${editOnGithub.path.startsWith("/") ? editOnGithub.path.slice(1) : editOnGithub.path}` }), lastUpdate && /* @__PURE__ */ jsx(PageLastUpdate, { date: new Date(lastUpdate) })]
|
|
28
|
+
children: [editOnGithub && /* @__PURE__ */ jsx(EditOnGitHub, { href: `https://github.com/${editOnGithub.owner}/${editOnGithub.repo}/blob/${editOnGithub.sha ?? "main"}/${editOnGithub.path.startsWith("/") ? editOnGithub.path.slice(1) : editOnGithub.path}` }), lastUpdate && /* @__PURE__ */ jsx(PageLastUpdate, { date: new Date(lastUpdate) })]
|
|
29
29
|
})]
|
|
30
30
|
});
|
|
31
31
|
}
|
package/dist/style.css
CHANGED
|
@@ -901,7 +901,7 @@
|
|
|
901
901
|
:where(th:first-child):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
902
902
|
border-inline-start: none;
|
|
903
903
|
}
|
|
904
|
-
:where(th:not(tr:last-child
|
|
904
|
+
:where(th:not(tr:last-child > th), td:not(tr:last-child > td)):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
905
905
|
border-bottom: 1px solid var(--color-fd-border);
|
|
906
906
|
}
|
|
907
907
|
:where(td):not(:where([class~="not-prose"], [class~="not-prose"] *)) {
|
|
@@ -2880,6 +2880,9 @@
|
|
|
2880
2880
|
transition-property: none;
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
|
+
.focus-visible\:opacity-100:focus-visible {
|
|
2884
|
+
opacity: 100%;
|
|
2885
|
+
}
|
|
2883
2886
|
.focus-visible\:ring-2:focus-visible {
|
|
2884
2887
|
--tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
2885
2888
|
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
@@ -3725,64 +3728,64 @@
|
|
|
3725
3728
|
overflow: visible;
|
|
3726
3729
|
}
|
|
3727
3730
|
}
|
|
3728
|
-
#nd-docs-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-notebook-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-home-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-flux-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #fd-glass-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #fd-spacious-layout:has(.layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]) {
|
|
3731
|
+
#nd-docs-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-notebook-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-home-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #nd-flux-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #fd-glass-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]), #fd-spacious-layout:has( > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\], > * > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\], > * > * > .layout\:\[--fd-ai-chat-width\:min\(--spacing\(100\)\,100vw---spacing\(4\)\)\]) {
|
|
3729
3732
|
--fd-ai-chat-width: min(calc(var(--spacing) * 100), 100vw - calc(var(--spacing) * 4));
|
|
3730
3733
|
}
|
|
3731
|
-
#nd-docs-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-flux-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-glass-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-spacious-layout:has(.layout\:\[--fd-header-height\:--spacing\(14\)\]) {
|
|
3734
|
+
#nd-docs-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-flux-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-glass-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-spacious-layout:has( > .layout\:\[--fd-header-height\:--spacing\(14\)\], > * > .layout\:\[--fd-header-height\:--spacing\(14\)\], > * > * > .layout\:\[--fd-header-height\:--spacing\(14\)\]) {
|
|
3732
3735
|
--fd-header-height: calc(var(--spacing) * 14);
|
|
3733
3736
|
}
|
|
3734
|
-
#nd-docs-layout:has(.layout\:\[--fd-main-width\:1200px\]), #nd-notebook-layout:has(.layout\:\[--fd-main-width\:1200px\]), #nd-home-layout:has(.layout\:\[--fd-main-width\:1200px\]), #nd-flux-layout:has(.layout\:\[--fd-main-width\:1200px\]), #fd-glass-layout:has(.layout\:\[--fd-main-width\:1200px\]), #fd-spacious-layout:has(.layout\:\[--fd-main-width\:1200px\]) {
|
|
3737
|
+
#nd-docs-layout:has( > .layout\:\[--fd-main-width\:1200px\]), #nd-notebook-layout:has( > .layout\:\[--fd-main-width\:1200px\]), #nd-home-layout:has( > .layout\:\[--fd-main-width\:1200px\]), #nd-flux-layout:has( > .layout\:\[--fd-main-width\:1200px\]), #fd-glass-layout:has( > .layout\:\[--fd-main-width\:1200px\]), #fd-spacious-layout:has( > .layout\:\[--fd-main-width\:1200px\], > * > .layout\:\[--fd-main-width\:1200px\], > * > * > .layout\:\[--fd-main-width\:1200px\]) {
|
|
3735
3738
|
--fd-main-width: 1200px;
|
|
3736
3739
|
}
|
|
3737
|
-
#nd-docs-layout:has(.layout\:\[--fd-page-width\:1200px\]), #nd-notebook-layout:has(.layout\:\[--fd-page-width\:1200px\]), #nd-home-layout:has(.layout\:\[--fd-page-width\:1200px\]), #nd-flux-layout:has(.layout\:\[--fd-page-width\:1200px\]), #fd-glass-layout:has(.layout\:\[--fd-page-width\:1200px\]), #fd-spacious-layout:has(.layout\:\[--fd-page-width\:1200px\]) {
|
|
3740
|
+
#nd-docs-layout:has( > .layout\:\[--fd-page-width\:1200px\]), #nd-notebook-layout:has( > .layout\:\[--fd-page-width\:1200px\]), #nd-home-layout:has( > .layout\:\[--fd-page-width\:1200px\]), #nd-flux-layout:has( > .layout\:\[--fd-page-width\:1200px\]), #fd-glass-layout:has( > .layout\:\[--fd-page-width\:1200px\]), #fd-spacious-layout:has( > .layout\:\[--fd-page-width\:1200px\], > * > .layout\:\[--fd-page-width\:1200px\], > * > * > .layout\:\[--fd-page-width\:1200px\]) {
|
|
3738
3741
|
--fd-page-width: 1200px;
|
|
3739
3742
|
}
|
|
3740
|
-
#nd-docs-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-notebook-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-home-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-flux-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]), #fd-glass-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]), #fd-spacious-layout:has(.layout\:\[--fd-toc-width\:--spacing\(76\)\]) {
|
|
3743
|
+
#nd-docs-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-notebook-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-home-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\]), #nd-flux-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\]), #fd-glass-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\]), #fd-spacious-layout:has( > .layout\:\[--fd-toc-width\:--spacing\(76\)\], > * > .layout\:\[--fd-toc-width\:--spacing\(76\)\], > * > * > .layout\:\[--fd-toc-width\:--spacing\(76\)\]) {
|
|
3741
3744
|
--fd-toc-width: calc(var(--spacing) * 76);
|
|
3742
3745
|
}
|
|
3743
3746
|
@media (width < 80rem) {
|
|
3744
|
-
#nd-docs-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-flux-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-glass-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-spacious-layout:has(.max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]) {
|
|
3747
|
+
#nd-docs-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-flux-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-glass-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-spacious-layout:has( > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\], > * > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\], > * > * > .max-xl\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]) {
|
|
3745
3748
|
--fd-toc-popover-height: calc(var(--spacing) * 10);
|
|
3746
3749
|
}
|
|
3747
3750
|
}
|
|
3748
3751
|
@media (width < 48rem) {
|
|
3749
|
-
#nd-docs-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-flux-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-glass-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-spacious-layout:has(.max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]) {
|
|
3752
|
+
#nd-docs-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-notebook-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-home-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #nd-flux-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-glass-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]), #fd-spacious-layout:has( > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\], > * > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\], > * > * > .max-md\:layout\:\[--fd-header-height\:--spacing\(14\)\]) {
|
|
3750
3753
|
--fd-header-height: calc(var(--spacing) * 14);
|
|
3751
3754
|
}
|
|
3752
|
-
#nd-docs-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-flux-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-glass-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-spacious-layout:has(.max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]) {
|
|
3755
|
+
#nd-docs-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-notebook-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-home-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #nd-flux-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-glass-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]), #fd-spacious-layout:has( > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\], > * > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\], > * > * > .max-md\:layout\:\[--fd-toc-popover-height\:--spacing\(10\)\]) {
|
|
3753
3756
|
--fd-toc-popover-height: calc(var(--spacing) * 10);
|
|
3754
3757
|
}
|
|
3755
3758
|
}
|
|
3756
3759
|
@media (width >= 48rem) {
|
|
3757
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-home-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-flux-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-glass-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-header-height\:--spacing\(12\)\]) {
|
|
3760
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-home-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\], > * > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\], > * > * > .md\:layout\:\[--fd-header-height\:--spacing\(12\)\]) {
|
|
3758
3761
|
--fd-header-height: calc(var(--spacing) * 12);
|
|
3759
3762
|
}
|
|
3760
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-left-width\:0px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-left-width\:0px\]), #nd-home-layout:has(.md\:layout\:\[--fd-left-width\:0px\]), #nd-flux-layout:has(.md\:layout\:\[--fd-left-width\:0px\]), #fd-glass-layout:has(.md\:layout\:\[--fd-left-width\:0px\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-left-width\:0px\]) {
|
|
3763
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-left-width\:0px\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-left-width\:0px\]), #nd-home-layout:has( > .md\:layout\:\[--fd-left-width\:0px\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-left-width\:0px\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-left-width\:0px\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-left-width\:0px\], > * > .md\:layout\:\[--fd-left-width\:0px\], > * > * > .md\:layout\:\[--fd-left-width\:0px\]) {
|
|
3761
3764
|
--fd-left-width: 0px;
|
|
3762
3765
|
}
|
|
3763
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-left-width\:280px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-left-width\:280px\]), #nd-home-layout:has(.md\:layout\:\[--fd-left-width\:280px\]), #nd-flux-layout:has(.md\:layout\:\[--fd-left-width\:280px\]), #fd-glass-layout:has(.md\:layout\:\[--fd-left-width\:280px\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-left-width\:280px\]) {
|
|
3766
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-left-width\:280px\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-left-width\:280px\]), #nd-home-layout:has( > .md\:layout\:\[--fd-left-width\:280px\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-left-width\:280px\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-left-width\:280px\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-left-width\:280px\], > * > .md\:layout\:\[--fd-left-width\:280px\], > * > * > .md\:layout\:\[--fd-left-width\:280px\]) {
|
|
3764
3767
|
--fd-left-width: 280px;
|
|
3765
3768
|
}
|
|
3766
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-right-width\:12px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-right-width\:12px\]), #nd-home-layout:has(.md\:layout\:\[--fd-right-width\:12px\]), #nd-flux-layout:has(.md\:layout\:\[--fd-right-width\:12px\]), #fd-glass-layout:has(.md\:layout\:\[--fd-right-width\:12px\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-right-width\:12px\]) {
|
|
3769
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-right-width\:12px\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-right-width\:12px\]), #nd-home-layout:has( > .md\:layout\:\[--fd-right-width\:12px\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-right-width\:12px\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-right-width\:12px\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-right-width\:12px\], > * > .md\:layout\:\[--fd-right-width\:12px\], > * > * > .md\:layout\:\[--fd-right-width\:12px\]) {
|
|
3767
3770
|
--fd-right-width: 12px;
|
|
3768
3771
|
}
|
|
3769
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-home-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-flux-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #fd-glass-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]) {
|
|
3772
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-home-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\], > * > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\], > * > * > .md\:layout\:\[--fd-sidebar-col\:--spacing\(2\)\]) {
|
|
3770
3773
|
--fd-sidebar-col: calc(var(--spacing) * 2);
|
|
3771
3774
|
}
|
|
3772
|
-
#nd-docs-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-notebook-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-home-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-flux-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #fd-glass-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]), #fd-spacious-layout:has(.md\:layout\:\[--fd-sidebar-width\:268px\]) {
|
|
3775
|
+
#nd-docs-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-notebook-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-home-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\]), #nd-flux-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\]), #fd-glass-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\]), #fd-spacious-layout:has( > .md\:layout\:\[--fd-sidebar-width\:268px\], > * > .md\:layout\:\[--fd-sidebar-width\:268px\], > * > * > .md\:layout\:\[--fd-sidebar-width\:268px\]) {
|
|
3773
3776
|
--fd-sidebar-width: 268px;
|
|
3774
3777
|
}
|
|
3775
3778
|
}
|
|
3776
3779
|
@media (width >= 64rem) {
|
|
3777
|
-
#nd-docs-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-notebook-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-home-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-flux-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #fd-glass-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #fd-spacious-layout:has(.lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]) {
|
|
3780
|
+
#nd-docs-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-notebook-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-home-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #nd-flux-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #fd-glass-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]), #fd-spacious-layout:has( > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\], > * > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\], > * > * > .lg\:layout\:\[--fd-header-height\:--spacing\(24\)\]) {
|
|
3778
3781
|
--fd-header-height: calc(var(--spacing) * 24);
|
|
3779
3782
|
}
|
|
3780
3783
|
}
|
|
3781
3784
|
@media (width >= 80rem) {
|
|
3782
|
-
#nd-docs-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]), #nd-notebook-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]), #nd-home-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]), #nd-flux-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]), #fd-glass-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]), #fd-spacious-layout:has(.xl\:layout\:\[--fd-right-width\:240px\]) {
|
|
3785
|
+
#nd-docs-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\]), #nd-notebook-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\]), #nd-home-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\]), #nd-flux-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\]), #fd-glass-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\]), #fd-spacious-layout:has( > .xl\:layout\:\[--fd-right-width\:240px\], > * > .xl\:layout\:\[--fd-right-width\:240px\], > * > * > .xl\:layout\:\[--fd-right-width\:240px\]) {
|
|
3783
3786
|
--fd-right-width: 240px;
|
|
3784
3787
|
}
|
|
3785
|
-
#nd-docs-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-notebook-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-home-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #nd-flux-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #fd-glass-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]), #fd-spacious-layout:has(.xl\:layout\:\[--fd-toc-width\:268px\]) {
|
|
3788
|
+
#nd-docs-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\]), #nd-notebook-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\]), #nd-home-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\]), #nd-flux-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\]), #fd-glass-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\]), #fd-spacious-layout:has( > .xl\:layout\:\[--fd-toc-width\:268px\], > * > .xl\:layout\:\[--fd-toc-width\:268px\], > * > * > .xl\:layout\:\[--fd-toc-width\:268px\]) {
|
|
3786
3789
|
--fd-toc-width: 268px;
|
|
3787
3790
|
}
|
|
3788
3791
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fumadocs/base-ui",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.18.0",
|
|
4
4
|
"description": "The Base UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"dependencies": {
|
|
141
141
|
"@base-ui/react": "^1.9.0",
|
|
142
142
|
"@fuma-translate/react": "^1.0.2",
|
|
143
|
-
"@fumadocs/tailwind": "0.1.
|
|
143
|
+
"@fumadocs/tailwind": "0.1.5",
|
|
144
144
|
"class-variance-authority": "^0.7.1",
|
|
145
145
|
"cn": "^0.5.0",
|
|
146
146
|
"lucide-react": "^1.61.0",
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
"shiki": "^4.5.0"
|
|
152
152
|
},
|
|
153
153
|
"devDependencies": {
|
|
154
|
-
"@fumadocs/cli": "1.
|
|
154
|
+
"@fumadocs/cli": "1.8.0",
|
|
155
155
|
"@tailwindcss/cli": "^4.3.3",
|
|
156
156
|
"@tailwindcss/oxide": "^4.3.3",
|
|
157
157
|
"@tsdown/css": "^0.23.1",
|
|
@@ -160,7 +160,7 @@
|
|
|
160
160
|
"@types/react": "^19.3.0",
|
|
161
161
|
"@types/react-dom": "^19.3.0",
|
|
162
162
|
"fuma-cli": "^0.3.1",
|
|
163
|
-
"fumadocs-core": "16.
|
|
163
|
+
"fumadocs-core": "16.18.0",
|
|
164
164
|
"react-medium-image-zoom": "^5.4.9",
|
|
165
165
|
"tailwindcss": "^4.3.3",
|
|
166
166
|
"tsconfig": "0.0.0",
|
|
@@ -169,7 +169,7 @@
|
|
|
169
169
|
"peerDependencies": {
|
|
170
170
|
"@types/mdx": "*",
|
|
171
171
|
"@types/react": "*",
|
|
172
|
-
"fumadocs-core": "16.
|
|
172
|
+
"fumadocs-core": "16.18.0",
|
|
173
173
|
"next": "16.x.x",
|
|
174
174
|
"react": "^19.2.0",
|
|
175
175
|
"react-dom": "^19.2.0",
|