fumadocs-ui 16.19.4 → 16.19.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/css/aspen.css +5 -5
  2. package/css/black.css +1 -1
  3. package/css/catppuccin.css +10 -6
  4. package/css/dusk.css +4 -4
  5. package/css/emerald.css +4 -4
  6. package/css/generated/docs.css +1 -1
  7. package/css/generated/flux.css +1 -1
  8. package/css/generated/glass.css +1 -1
  9. package/css/generated/home.css +1 -1
  10. package/css/generated/notebook.css +1 -1
  11. package/css/generated/shared.css +1 -1
  12. package/css/lib/default-colors.css +2 -2
  13. package/css/ocean.css +1 -1
  14. package/css/purple.css +3 -3
  15. package/css/ruby.css +4 -4
  16. package/css/vitepress.css +2 -2
  17. package/dist/.translations/index.d.ts +0 -1
  18. package/dist/.translations/keys.json.js +0 -1
  19. package/dist/components/codeblock.js +1 -1
  20. package/dist/components/dialog/search-algolia.js +5 -5
  21. package/dist/components/dialog/search-default.js +5 -5
  22. package/dist/components/dialog/search.js +4 -4
  23. package/dist/components/github-info.js +1 -1
  24. package/dist/components/image-zoom.js +2 -2
  25. package/dist/components/tabs.js +1 -1
  26. package/dist/components/type-table.js +1 -1
  27. package/dist/components/ui/accordion.js +1 -1
  28. package/dist/components/ui/button.js +1 -1
  29. package/dist/components/ui/popover.js +1 -1
  30. package/dist/layouts/docs/page/slots/toc.js +1 -1
  31. package/dist/layouts/flux/index.js +38 -34
  32. package/dist/layouts/flux/page/slots/toc.js +1 -1
  33. package/dist/layouts/flux/slots/sidebar.js +1 -0
  34. package/dist/layouts/glass/layout-tabs.js +1 -1
  35. package/dist/layouts/glass/page/slots/toc.js +8 -1
  36. package/dist/layouts/glass/slots/header.js +2 -0
  37. package/dist/layouts/glass/slots/sidebar.d.ts +1 -1
  38. package/dist/layouts/glass/slots/sidebar.js +21 -5
  39. package/dist/layouts/home/slots/header.js +1 -1
  40. package/dist/layouts/notebook/page/slots/toc.js +1 -1
  41. package/dist/layouts/notebook/slots/header.js +1 -1
  42. package/dist/layouts/notebook/slots/sidebar.js +1 -0
  43. package/dist/layouts/shared/client.js +1 -1
  44. package/dist/layouts/shared/slots/language-select.js +7 -3
  45. package/dist/style.css +41 -50
  46. package/package.json +4 -4
package/css/aspen.css CHANGED
@@ -3,14 +3,14 @@
3
3
  @theme {
4
4
  --color-fd-background: hsl(75, 45%, 96%);
5
5
  --color-fd-foreground: hsl(75, 35%, 18%);
6
- --color-fd-primary: hsl(80, 60%, 40%);
7
- --color-fd-primary-foreground: hsl(80, 100%, 16%);
6
+ --color-fd-primary: hsl(80, 90%, 23%);
7
+ --color-fd-primary-foreground: hsl(75, 45%, 96%);
8
8
  --color-fd-border: hsla(80, 35%, 70%, 0.5);
9
- --color-fd-ring: hsl(80, 60%, 40%);
9
+ --color-fd-ring: hsl(80, 90%, 23%);
10
10
  --color-fd-accent: hsl(75, 50%, 90%);
11
- --color-fd-accent-foreground: hsl(80, 60%, 22%);
11
+ --color-fd-accent-foreground: hsl(80, 60%, 20.5%);
12
12
  --color-fd-muted: hsl(75, 40%, 92%);
13
- --color-fd-muted-foreground: hsl(75, 25%, 45%);
13
+ --color-fd-muted-foreground: hsl(75, 25%, 34.5%);
14
14
  --color-fd-secondary: hsl(80, 45%, 88%);
15
15
  --color-fd-secondary-foreground: hsl(80, 50%, 18%);
16
16
  --color-fd-card: hsl(75, 45%, 94%);
package/css/black.css CHANGED
@@ -4,7 +4,7 @@
4
4
  --color-fd-background: hsl(0, 0%, 98%);
5
5
  --color-fd-foreground: hsl(0, 0%, 3.9%);
6
6
  --color-fd-muted: hsl(0, 0%, 96.1%);
7
- --color-fd-muted-foreground: hsl(0, 0%, 45.1%);
7
+ --color-fd-muted-foreground: hsl(0, 0%, 42.6%);
8
8
  --color-fd-popover: hsl(0, 0%, 100%);
9
9
  --color-fd-popover-foreground: hsl(0, 0%, 15.1%);
10
10
  --color-fd-card: hsl(0, 0%, 99.7%);
@@ -2,17 +2,17 @@
2
2
 
3
3
  @theme {
4
4
  --color-fd-popover: hsl(220, 22%, 92%);
5
- --color-fd-popover-foreground: hsl(234, 16%, 35%);
5
+ --color-fd-popover-foreground: hsl(234, 16%, 29%);
6
6
  --color-fd-secondary-foreground: hsl(234, 16%, 35%);
7
7
  --color-fd-border: hsl(223, 16%, 83%);
8
- --color-fd-primary: hsl(266, 85%, 58%);
8
+ --color-fd-primary: hsl(266, 85%, 53%);
9
9
  --color-fd-primary-foreground: hsl(220, 22%, 92%);
10
10
  --color-fd-muted: hsl(220, 22%, 92%);
11
11
  --color-fd-card: hsl(220, 22%, 92%);
12
- --color-fd-accent: hsl(223, 16%, 83%);
13
- --color-fd-accent-foreground: hsl(234, 16%, 35%);
12
+ --color-fd-accent: hsla(223, 16%, 83%, 0.5);
13
+ --color-fd-accent-foreground: hsl(234, 16%, 29%);
14
14
  --color-fd-card-foreground: hsl(234, 16%, 35%);
15
- --color-fd-muted-foreground: hsl(233, 10%, 47%);
15
+ --color-fd-muted-foreground: hsl(233, 13%, 41%);
16
16
  --color-fd-foreground: hsl(234, 16%, 35%);
17
17
  --color-fd-secondary: hsl(220, 22%, 92%);
18
18
  --color-fd-background: hsl(220, 23%, 95%);
@@ -40,10 +40,14 @@
40
40
 
41
41
  #nd-sidebar {
42
42
  --color-fd-secondary: hsl(223, 16%, 83%);
43
- --color-fd-muted: hsl(223, 16%, 83%);
43
+ --color-fd-muted: hsla(223, 16%, 83%, 0.5);
44
44
  }
45
45
 
46
46
  .dark #nd-sidebar {
47
47
  --color-fd-secondary: hsl(237, 16%, 23%);
48
48
  --color-fd-muted: hsl(237, 16%, 23%);
49
49
  }
50
+
51
+ .prose {
52
+ --tw-prose-body: var(--color-fd-foreground);
53
+ }
package/css/dusk.css CHANGED
@@ -2,12 +2,12 @@
2
2
 
3
3
  @theme {
4
4
  --color-fd-background: hsl(250, 20%, 92%);
5
- --color-fd-primary: hsl(340, 40%, 48%);
5
+ --color-fd-primary: hsl(340, 40%, 41%);
6
6
  --color-fd-border: hsl(240, 40%, 90%);
7
7
  --color-fd-accent: hsl(250, 30%, 90%);
8
8
  --color-fd-accent-foreground: hsl(250, 20%, 20%);
9
9
  --color-fd-muted: hsl(240, 30%, 94%);
10
- --color-fd-muted-foreground: hsl(240, 10%, 50%);
10
+ --color-fd-muted-foreground: hsl(240, 10%, 42.5%);
11
11
  --color-fd-foreground: hsl(220, 20%, 30%);
12
12
  --color-fd-secondary: hsl(250, 40%, 94%);
13
13
  --color-fd-secondary-foreground: hsl(240, 40%, 10%);
@@ -15,8 +15,8 @@
15
15
  --color-fd-card-foreground: hsl(250, 20%, 20%);
16
16
  --color-fd-popover-foreground: hsl(250, 40%, 20%);
17
17
  --color-fd-popover: hsl(250, 40%, 96%);
18
- --color-fd-primary-foreground: hsl(240, 80%, 20%);
19
- --color-fd-ring: hsl(340, 40%, 48%);
18
+ --color-fd-primary-foreground: hsl(250, 40%, 96%);
19
+ --color-fd-ring: hsl(340, 40%, 41%);
20
20
  }
21
21
 
22
22
  .dark {
package/css/emerald.css CHANGED
@@ -3,14 +3,14 @@
3
3
  @theme {
4
4
  --color-fd-background: hsl(165, 45%, 96%);
5
5
  --color-fd-foreground: hsl(165, 40%, 18%);
6
- --color-fd-primary: hsl(168, 70%, 40%);
7
- --color-fd-primary-foreground: hsl(168, 100%, 12%);
6
+ --color-fd-primary: hsl(168, 90%, 23.5%);
7
+ --color-fd-primary-foreground: hsl(165, 45%, 96%);
8
8
  --color-fd-border: hsla(168, 40%, 70%, 0.5);
9
- --color-fd-ring: hsl(168, 70%, 40%);
9
+ --color-fd-ring: hsl(168, 90%, 23.5%);
10
10
  --color-fd-accent: hsl(165, 50%, 90%);
11
11
  --color-fd-accent-foreground: hsl(168, 70%, 20%);
12
12
  --color-fd-muted: hsl(165, 40%, 92%);
13
- --color-fd-muted-foreground: hsl(165, 30%, 45%);
13
+ --color-fd-muted-foreground: hsl(165, 30%, 34.5%);
14
14
  --color-fd-secondary: hsl(168, 45%, 88%);
15
15
  --color-fd-secondary-foreground: hsl(168, 60%, 18%);
16
16
  --color-fd-card: hsl(165, 45%, 94%);
@@ -1 +1 @@
1
- @source inline("!header !showItem *:col-start-1 *:my-auto *:pointer-events-auto *:rounded-md *:row-start-1 *:w-(--fd-sidebar-width) --fd-docs-height --fd-docs-row-1 --fd-docs-row-2 --fd-docs-row-3 --fd-header-height --fd-layout-width --fd-sidebar-col --fd-sidebar-width --fd-toc-popover-height --fd-toc-width -mx-1 -translate-x-(--fd-sidebar-width) -translate-y-full [&_svg]:shrink-0 [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-sidebar-width:0px] [--fd-toc-popover-height:0px] [--fd-toc-width:0px] [grid-area:header] [grid-area:main] [grid-area:sidebar] [grid-area:tabs] [grid-area:toc-popover] [grid-area:toc] aiChat aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-s-2.5 before:inset-y-1 before:w-px bg-fd-background/80 border-b-2 border-e border-e-0 border-fd-primary border-y-0 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-s-2.5 data-[active=true]:before:inset-y-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-[transparent=false]:bg-fd-background/80 data-full data-hovered data-layout-content data-layout-main data-sidebar-collapsed data-sidebar-panel data-sidebar-placeholder data-toc-popover data-toc-popover-content data-toc-popover-trigger data-transparent defaultSlots duration-250 edit empty:mb-0 first:mt-0 flex-row-reverse font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 gap-6 getBreadcrumbItemsFromPath grid-cols-1 gridTemplate h-(--fd-header-height) h-(--fd-toc-popover-height) h-10 h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none iconLinks including information inset-e-0 inset-s-4 inset-y-2 isNavTransparent isTop items-end justify-items-center justify-self-end justify-start layout-level layoutTabs linkItems max max-h-[50vh] max-md:layout:[--fd-header-height:--spacing(14)] max-w-[1168px] max-w-[380px] max-w-[900px] max-xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)] mb-4 mb-8 mb-auto md:in-data-[sidebar-collapsed=true]:pt-16 md:layout:[--fd-sidebar-width:268px] md:pt-8 md:px-6 min min-h-(--fd-docs-height) mt-6 mx-0.5 navEnabled navTransparentMode nd-docs-layout nd-page nd-subnav nd-toc nd-toc-placeholder no normalizedValue onClickItem onClickOutside overflow-x-clip pagination pb-1.5 pe-0 pe-4 pointer-events-none popover progress progressbar provided pt-0.5 pt-12 pt-2 pt-3 px-6 py-0 py-6 radius restSvgProps rotate-180 rounded-none rtl:-translate-x-2 rtl:translate-x-full selectedIdx setDate showItem sidebarEnabled sidebarProps stroke-current/25 strokeDasharray strokeDashoffset tabMode tableOfContent tableOfContentPopover takes text-[1.75em] text-end timezone toc-popover toc-title tocEnabled tocPopover tocPopoverEnabled tocPopoverProps tocProps top-(--fd-docs-row-1) top-(--fd-docs-row-2) top-[calc(--spacing(4)+var(--fd-docs-row-3))] transition-[--fd-sidebar-col] transition-[opacity,translate,color] transition-[opacity,translate] transition-[opacity,visibility] transition-[width,inset-block,translate,background-color] translate-x-2 translate-y-full transparentMode typography under unlisted updated useBaseSlots useDocsLayout useDocsPage useFooterItems useIsScrollTop useTreeContext viewport w-(--fd-sidebar-width) w-(--fd-toc-width) w-4 w-[85%] xl:border-s xl:h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] xl:hidden xl:in-data-[sidebar-collapsed=true]:pt-14 xl:layout:[--fd-toc-width:268px] xl:pt-14 xl:px-8 xl:sticky xl:top-(--fd-docs-row-1) z-10 z-30");
1
+ @source inline("!header !showItem *:col-start-1 *:my-auto *:pointer-events-auto *:rounded-md *:row-start-1 *:w-(--fd-sidebar-width) --fd-docs-height --fd-docs-row-1 --fd-docs-row-2 --fd-docs-row-3 --fd-header-height --fd-layout-width --fd-sidebar-col --fd-sidebar-width --fd-toc-popover-height --fd-toc-width -mx-1 -translate-x-(--fd-sidebar-width) -translate-y-full [&_svg]:shrink-0 [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-sidebar-width:0px] [--fd-toc-popover-height:0px] [--fd-toc-width:0px] [grid-area:header] [grid-area:main] [grid-area:sidebar] [grid-area:tabs] [grid-area:toc-popover] [grid-area:toc] aiChat aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-s-2.5 before:inset-y-1 before:w-px bg-fd-background/80 border-b-2 border-e border-e-0 border-fd-primary border-y-0 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-s-2.5 data-[active=true]:before:inset-y-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-[transparent=false]:bg-fd-background/80 data-full data-hovered data-layout-content data-layout-main data-sidebar-collapsed data-sidebar-panel data-sidebar-placeholder data-toc-popover data-toc-popover-content data-toc-popover-trigger data-transparent defaultSlots duration-250 edit empty:mb-0 first:mt-0 flex-row-reverse font-semibold footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 gap-6 getBreadcrumbItemsFromPath grid-cols-1 gridTemplate h-(--fd-header-height) h-(--fd-toc-popover-height) h-10 h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none iconLinks including information inset-e-0 inset-s-4 inset-y-2 isNavTransparent isTop items-end justify-items-center justify-self-end justify-start layout-level layoutTabs linkItems max max-h-[50vh] max-md:layout:[--fd-header-height:--spacing(14)] max-w-[1168px] max-w-[380px] max-w-[900px] max-xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)] mb-4 mb-8 mb-auto md:in-data-[sidebar-collapsed=true]:pt-16 md:layout:[--fd-sidebar-width:268px] md:pt-8 md:px-6 min min-h-(--fd-docs-height) mt-6 mx-0.5 navEnabled navTransparentMode nd-docs-layout nd-page nd-subnav nd-toc nd-toc-placeholder no normalizedValue onClickItem onClickOutside overflow-x-clip pagination pb-1.5 pe-0 pe-4 pointer-events-none popover progress progressbar provided pt-0.5 pt-12 pt-2 pt-3 px-6 py-0 py-6 radius restSvgProps rotate-180 rounded-none rtl:-translate-x-2 rtl:translate-x-full selectedIdx setDate showItem sidebarEnabled sidebarProps stroke-current/25 strokeDasharray strokeDashoffset tabMode tableOfContent tableOfContentPopover takes text-[1.75em] text-end timezone toc-popover toc-title tocEnabled tocPopover tocPopoverEnabled tocPopoverProps tocProps top-(--fd-docs-row-1) top-(--fd-docs-row-2) top-[calc(--spacing(4)+var(--fd-docs-row-3))] transition-[--fd-sidebar-col] transition-[opacity,translate,color] transition-[opacity,translate] transition-[opacity,visibility] transition-[width,inset-block,translate,background-color] translate-x-2 translate-y-full transparentMode typography under unlisted updated useBaseSlots useDocsLayout useDocsPage useFooterItems useIsScrollTop useTreeContext viewport w-(--fd-sidebar-width) w-(--fd-toc-width) w-4 w-[85%] xl:border-s xl:h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] xl:hidden xl:in-data-[sidebar-collapsed=true]:pt-14 xl:layout:[--fd-toc-width:268px] xl:pt-14 xl:px-8 xl:sticky xl:top-(--fd-docs-row-1) z-10 z-30");
@@ -1 +1 @@
1
- @source inline("!enabled !header *:gap-0! *:rounded-lg -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footer footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
1
+ @source inline("!enabled !header *:gap-0! *:rounded-lg -mx-1 [&_svg]:shrink-0 [grid-area:main] animate animate-fd-fade-in aria-valuemax aria-valuemin aria-valuenow article available backdrop-blur-md backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-y-1 before:start-2.5 before:w-px bg-fd-background/60 bg-fd-popover/80 border-x bottom-26 breadcrumb breadcrumbEnabled circleProps circumference clerk click containerProps createLinkItemRenderer createPortal data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-y-2.5 data-[active=true]:before:start-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-full data-layout-content data-layout-main data-toc-popover data-toc-popover-content data-toc-popover-trigger defaultChildren defaultSlots defaultTabs duration ease edit empty:mb-0 exit first:mt-0 flex-row-reverse flux-layout-slot font-semibold footerEnabled footerList fumadocs-core/breadcrumb gap-2.5 getBreadcrumbItemsFromPath grid-cols-1 h-8.5 h-9 head hide hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none including information justify-items-center layout-level lg:text-sm linkItems mask-[linear-gradient(to_bottom,transparent,white_--spacing(14),white_calc(100%---spacing(14)),transparent)] max max-h-[50vh] max-w-[1200px] max-w-[900px] max-w-svw mb-1.5 mb-4 mb-8 mb-auto md:pt-8 md:px-6 min min-h-11 motion motion/react ms-1 mt-6 nd-flux-layout nd-page no normalizedValue onAnimationComplete overflow-x-clip overflow-y-hidden pagination pb-24 pointer-events-none popLayout pr-(--removed-body-scroll-bar-size,0) progress progressbar provided ps-2.5 py-10 py-16 py-6 radius react-remove-scroll renderNavigationPanel replace restSvgProps rotate-180 scale selectedIdx setBlockScroll setContainer setDate sidebarEnabled sidebarProps sm:border sm:bottom-6 sm:max-w-[380px] sm:max-w-[400px] sm:p-1 sm:rounded-2xl spanProps stroke-current/25 strokeDasharray strokeDashoffset tabDropdown tableOfContent text-[1.75em] text-end timezone tocEnabled tocProps tool transition translate-x-[calc(-50%-var(--removed-body-scroll-bar-size,0px)/2)] translateY typography under updated useBaseSlots useDocsPage useFluxLayout useFooterItems viewport w-[calc(100%-var(--removed-body-scroll-bar-size,0px))] wait xl:pt-14 xl:px-8 z-30");
@@ -1 +1 @@
1
- @source inline("!footer --fd-header-height --fd-left-width --fd-main-width --fd-right-width --row --width -me-1.5 -mt-1.5 -mx-1 -translate-x-[280px] @default @sm:max-w-[200px] [--fd-left-width:0px] [--fd-main-width:900px] [--fd-right-width:0px] [--row:calc(3*var(--spacing))] [--row:calc(6*var(--spacing))] [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)] aiChat article autoScroll available backdrop-blur-sm baseVariants bg-fd-muted-foreground/50 bg-fd-popover/80 clientX collapse contentProps data-[active=false]:hover:text-fd-accent-foreground data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-fd-full defaultSlots defaultTabs edit exitTimerRef fd-glass-layout first:mt-0 flex-row-reverse font-semibold footer footerList fumadocs-core/breadcrumb getBreadcrumbItemsFromPath grid-cols-1 gridTemplate gridTemplateRows h-0 h-6 h-8 h-[calc(100dvh---spacing(4))] handles hover hover:decoration-dashed hover:decoration-fd-muted-foreground hover:opacity-80 hover:underline hover:underline-offset-4 inAnimation including indexActive information innerWidth inset-e-0 isLayoutTabActive itemTriggerVariants items-start 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)] 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 mobile mt-2 mt-2.5 mx-2 my-2 nd-page nd-toc nd-toc-title no onPointerDown opacity-100 overflow-x-clip overflow-y-hidden p-6 pagination pb-16 pb-4 pe-3 pe-3.5 pen pointer pointer-events-none prose-xs provided ps-2.5 ps-3 ps-4.5 pt-2 pt-4 reuse right right-margin rightIcon setDate setInAnimation setMobileOpen shadow-fd-background shouldOpen size-10 size-12 size-3.5! size-4! text-[1.75em] text-end text-fd-primary/80 timeout timezone top-2 transition-[background-color,width,height] transition-[grid-template-rows] transition-[opacity,height] transition-[width,padding] transitionTimerRef typography under unlisted updated useBaseSlots useFooterItems useGlassLayout w-(--width) w-[360px] w-[calc(280px---spacing(2))] we well 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-30");
1
+ @source inline("!footer --fd-header-height --fd-left-width --fd-main-width --fd-right-width --row --width -me-1.5 -mt-1.5 -mx-1 -translate-x-[280px] @default @sm:max-w-[200px] [--fd-left-width:0px] [--fd-main-width:900px] [--fd-right-width:0px] [--row:calc(3*var(--spacing))] [--row:calc(6*var(--spacing))] [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)] aiChat applies article autoScroll available backdrop-blur-sm baseVariants bg-fd-muted-foreground/50 bg-fd-popover/80 clientX collapse contentProps data-[active=false]:hover:text-fd-accent-foreground data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-fd-full defaultSlots defaultTabs edit exitTimerRef fd-glass-layout first:mt-0 flex-row-reverse focused font-semibold footerList fumadocs-core/breadcrumb getBreadcrumbItemsFromPath grid-cols-1 gridTemplate gridTemplateRows h-0 h-6 h-8 h-[calc(100dvh---spacing(4))] handles hid hover hover:decoration-dashed hover:decoration-fd-muted-foreground hover:opacity-80 hover:underline hover:underline-offset-4 inAnimation including indexActive information innerWidth inset-e-0 isConnected isLayoutTabActive itemTriggerVariants items-start justify-end justify-self-end layout:[--fd-main-width:1200px] leaves left left-margin leftSpace lg linkId 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)] 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 mobile mobileOpen moves mt-2 mt-2.5 mx-2 my-2 nd-page nd-toc nd-toc-title no onBlur onPointerDown opacity-100 overflow-x-clip overflow-y-hidden p-6 pagination pb-16 pb-4 pe-3 pe-3.5 pen pointer pointer-events-none prose-xs provided ps-2.5 ps-3 ps-4.5 pt-2 pt-4 reuse right right-margin rightIcon setDate setFocused setInAnimation setMobileOpen shadow-fd-background shouldOpen size-10 size-12 size-3.5! size-4! text-[1.75em] text-end timeout timezone transition-[background-color,width,height] transition-[grid-template-rows] transition-[opacity,height] transition-[width,padding] transitionTimerRef typography under unlisted updated useBaseSlots useFooterItems useGlassLayout w-(--width) w-[360px] w-[calc(280px---spacing(2))] we well 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-30");
@@ -1 +1 @@
1
- @source inline("*:max-w-(--fd-layout-width) *:mx-auto --fd-layout-width -me-1.5 -ms-1.5 -mx-1 [&_svg]:size-5.5 [--fd-layout-width:1400px] been bg-fd-background/80 data-[active=true]:font-medium defaultVariants enableHoverToOpen first:ms-0 font-bold font-semibold gap-2.5 grid-cols-1 had hideIfDisabled hover:text-fd-popover-foreground/50 hovering isTop isTransparent justify-end last:me-0 lg:grid-cols-3 lg:hidden linkItems looking max-lg:hidden max-lg:rounded-b-2xl max-lg:shadow-lg max-sm:hidden max-sm:mt-2 max-w-[240px] max-w-md mb-4 md:grid-cols-2 might mobile navEnabled navItemVariants nd-home-layout nd-nav ps-2.5 px-6 px-8 sm:flex-row sm:hidden sm:items-center sm:justify-end temporarily text-2xl text-6xl text-base transparentMode under useBaseSlots useHomeLayout useIsScrollTop");
1
+ @source inline("*:max-w-(--fd-layout-width) *:mx-auto --fd-layout-width -me-1.5 -ms-1.5 -mx-1 [&_svg]:size-5.5 [--fd-layout-width:1400px] been bg-fd-background/80 data-[active=true]:font-medium defaultVariants enableHoverToOpen first:ms-0 font-bold font-semibold gap-2.5 grid-cols-1 had hideIfDisabled hover:text-fd-muted-foreground hovering isTop isTransparent justify-end last:me-0 lg:grid-cols-3 lg:hidden linkItems looking max-lg:hidden max-lg:rounded-b-2xl max-lg:shadow-lg max-sm:hidden max-sm:mt-2 max-w-[240px] max-w-md mb-4 md:grid-cols-2 might mobile navEnabled navItemVariants nd-home-layout nd-nav ps-2.5 px-6 px-8 sm:flex-row sm:hidden sm:items-center sm:justify-end temporarily text-2xl text-6xl text-base transparentMode under useBaseSlots useHomeLayout useIsScrollTop");
@@ -1 +1 @@
1
- @source inline("!footer !isSelected !showItem *:col-start-1 *:max-w-[1285px] *:max-w-[900px] *:my-auto *:pointer-events-auto *:row-start-1 *:w-(--fd-sidebar-width) --fd-ai-chat-col --fd-ai-chat-col_300ms_ease-in-out --fd-docs-height --fd-docs-row-1 --fd-docs-row-2 --fd-docs-row-3 --fd-header-height --fd-layout-width --fd-sidebar-col --fd-sidebar-col_150ms --fd-sidebar-width --fd-toc-col --fd-toc-popover-height --fd-toc-width -me-1.5 -ms-1.5 -mx-1 -translate-x-(--fd-sidebar-width) -translate-y-full [&_svg]:shrink-0 [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-sidebar-width:0px] [--fd-toc-col:max(var(--fd-toc-width),var(--fd-ai-chat-col))] [--fd-toc-popover-height:0px] [--fd-toc-width:0px] [grid-area:header] [grid-area:main] [grid-area:sidebar] [grid-area:toc-popover] [grid-area:toc] [transition:--fd-sidebar-col_150ms,--fd-ai-chat-col_300ms_ease-in-out] aiChat aiChatOpen aria-valuemax aria-valuemin aria-valuenow article auto-cols-auto auto-rows-auto available backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-s-2.5 before:inset-y-1 before:w-px bg-fd-background/80 border-b-2 border-e border-fd-primary breadcrumb breadcrumbEnabled circleProps circumference clerk click collapseTrigger containerProps createLinkItemRenderer data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-s-2.5 data-[active=true]:before:inset-y-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-[collapsed=false]:hidden data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-[transparent=false]:bg-fd-background/80 data-full data-header-body data-header-tabs data-hovered data-layout-content data-layout-main data-sidebar-collapsed data-sidebar-placeholder data-toc-popover data-toc-popover-content data-toc-popover-trigger data-transparent defaultSlots delaySetOpen duration-250 edit empty:mb-0 first:mt-0 flex-row-reverse font-semibold footer footerEnabled footerList freezeUntil fumadocs-core/breadcrumb gap-2.5 gap-6 getBreadcrumbItemsFromPath grid-cols-1 gridTemplate h-(--fd-toc-popover-height) h-10 h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-2))] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] has-data-[active=true]:text-fd-primary has-data-[collapsed=true]:md:flex hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none hoverDelay iconLinks including information inset-e-0 inset-y-2 isLayoutTabActive isNavTransparent isSelected isTop items-end justify-end justify-self-end layout-level layout:[--fd-header-height:--spacing(14)] lg:hidden lg:layout:[--fd-header-height:--spacing(24)] linkItems max max-h-[50vh] max-lg:flex max-lg:hidden max-md:flex max-w-[240px] max-w-[380px] max-w-sm max-xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)] maxTouchPoints mb-1.5 mb-3 mb-8 mb-auto md:gap-2 md:layout:[--fd-sidebar-width:268px] md:pt-8 md:px-6 min min-h-(--fd-docs-height) mt-6 mt-px mx-0.5 navEnabled navMode navTransparentMode navbar nd-notebook-layout nd-page nd-subnav nd-toc nd-toc-placeholder no normalizedValue onClickItem onClickOutside ontouchstart overflow-x-clip pageCol pagination pb-1.5 pe-4 pointer-events-none popover progress progressbar provided ps-2.5 pt-0.5 pt-12 pt-2 px-6 py-6 radius resolvedTabs restSvgProps rotate-180 rtl:-translate-x-2 rtl:translate-x-full selectedIdx setDate showItem showLayoutTabs sidebarCollapsible sidebarProps stroke-current/25 strokeDasharray strokeDashoffset tabMode tableOfContent tableOfContentPopover takes text-[1.75em] text-end timeoutRef timezone toc-popover toc-title tocEnabled tocPopover tocPopoverEnabled tocPopoverProps tocProps top-(--fd-docs-row-1) top-(--fd-docs-row-2) top-(--fd-docs-row-3) transition-[opacity,translate,color] transition-[opacity,translate] transition-[opacity,visibility] transition-[width,inset-block,translate,background-color] translate-x-2 translate-y-full transparentMode typedTabs typography under unlisted updated useBaseSlots useDocsPage useFooterItems useIsScrollTop useNotebookLayout viewport w-(--fd-sidebar-width) w-(--fd-toc-width) w-4 w-[85%] xl:[--fd-ai-chat-col:var(--fd-ai-chat-width)] xl:border-s xl:h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] xl:hidden xl:layout:[--fd-toc-width:268px] xl:max-w-full xl:pt-14 xl:px-8 xl:sticky xl:top-(--fd-docs-row-3) z-10");
1
+ @source inline("!footer !isSelected !showItem *:col-start-1 *:max-w-[1285px] *:max-w-[900px] *:my-auto *:pointer-events-auto *:row-start-1 *:w-(--fd-sidebar-width) --fd-ai-chat-col --fd-ai-chat-col_300ms_ease-in-out --fd-docs-height --fd-docs-row-1 --fd-docs-row-2 --fd-docs-row-3 --fd-header-height --fd-layout-width --fd-sidebar-col --fd-sidebar-col_150ms --fd-sidebar-width --fd-toc-col --fd-toc-popover-height --fd-toc-width -me-1.5 -ms-1.5 -mx-1 -translate-x-(--fd-sidebar-width) -translate-y-full [&_svg]:shrink-0 [--fd-docs-height:100dvh] [--fd-header-height:0px] [--fd-sidebar-width:0px] [--fd-toc-col:max(var(--fd-toc-width),var(--fd-ai-chat-col))] [--fd-toc-popover-height:0px] [--fd-toc-width:0px] [grid-area:header] [grid-area:main] [grid-area:sidebar] [grid-area:toc-popover] [grid-area:toc] [transition:--fd-sidebar-col_150ms,--fd-ai-chat-col_300ms_ease-in-out] aiChat aiChatOpen aria-valuemax aria-valuemin aria-valuenow article auto-cols-auto auto-rows-auto available backdrop-blur-sm before:absolute before:bg-fd-border before:content-[''] before:inset-s-2.5 before:inset-y-1 before:w-px bg-fd-background/80 border-b-2 border-e border-fd-primary breadcrumb breadcrumbEnabled circleProps circumference clerk click collapseTrigger containerProps createLinkItemRenderer data-[active=true]:before:absolute data-[active=true]:before:bg-fd-primary data-[active=true]:before:content-[''] data-[active=true]:before:inset-s-2.5 data-[active=true]:before:inset-y-2.5 data-[active=true]:before:w-px data-[active=true]:bg-fd-primary/10 data-[active=true]:hover:transition-colors data-[collapsed=false]:hidden data-[state=closed]:animate-fd-sidebar-out data-[state=open]:animate-fd-sidebar-in data-[transparent=false]:bg-fd-background/80 data-full data-header-body data-header-tabs data-hovered data-layout-content data-layout-main data-sidebar-collapsed data-sidebar-placeholder data-toc-popover data-toc-popover-content data-toc-popover-trigger data-transparent defaultSlots delaySetOpen duration-250 edit empty:mb-0 first:mt-0 flex-row-reverse font-semibold footerEnabled footerList freezeUntil fumadocs-core/breadcrumb gap-2.5 gap-6 getBreadcrumbItemsFromPath grid-cols-1 gridTemplate h-(--fd-toc-popover-height) h-10 h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-2))] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] has-data-[active=true]:text-fd-primary has-data-[collapsed=true]:md:flex hideIfDisabled hover:bg-fd-accent/50 hover:opacity-80 hover:text-fd-accent-foreground/80 hover:transition-none hoverDelay iconLinks including information inset-e-0 inset-y-2 isLayoutTabActive isNavTransparent isSelected isTop items-end justify-end justify-self-end layout-level layout:[--fd-header-height:--spacing(14)] lg:hidden lg:layout:[--fd-header-height:--spacing(24)] linkItems max max-h-[50vh] max-lg:flex max-lg:hidden max-md:flex max-w-[240px] max-w-[380px] max-w-sm max-xl:hidden max-xl:layout:[--fd-toc-popover-height:--spacing(10)] maxTouchPoints mb-1.5 mb-3 mb-8 mb-auto md:gap-2 md:layout:[--fd-sidebar-width:268px] md:pt-8 md:px-6 min min-h-(--fd-docs-height) mt-6 mt-px mx-0.5 navEnabled navMode navTransparentMode navbar nd-notebook-layout nd-page nd-subnav nd-toc nd-toc-placeholder no normalizedValue onClickItem onClickOutside ontouchstart overflow-x-clip pageCol pagination pb-1.5 pe-4 pointer-events-none popover progress progressbar provided ps-2.5 pt-0.5 pt-12 pt-2 px-6 py-6 radius resolvedTabs restSvgProps rotate-180 rtl:-translate-x-2 rtl:translate-x-full selectedIdx setDate showItem showLayoutTabs sidebarCollapsible sidebarProps stroke-current/25 strokeDasharray strokeDashoffset tabMode tableOfContent tableOfContentPopover takes text-[1.75em] text-end timeoutRef timezone toc-popover toc-title tocEnabled tocPopover tocPopoverEnabled tocPopoverProps tocProps top-(--fd-docs-row-1) top-(--fd-docs-row-2) top-(--fd-docs-row-3) transition-[opacity,translate,color] transition-[opacity,translate] transition-[opacity,visibility] transition-[width,inset-block,translate,background-color] translate-x-2 translate-y-full transparentMode typedTabs typography under unlisted updated useBaseSlots useDocsPage useFooterItems useIsScrollTop useNotebookLayout viewport w-(--fd-sidebar-width) w-(--fd-toc-width) w-4 w-[85%] xl:[--fd-ai-chat-col:var(--fd-ai-chat-width)] xl:border-s xl:h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] xl:hidden xl:layout:[--fd-toc-width:268px] xl:max-w-full xl:pt-14 xl:px-8 xl:sticky xl:top-(--fd-docs-row-3) z-10");
@@ -1 +1 @@
1
- @source inline("!collapsed !isActive !items !nested !open !title *:border-b *:data-[empty=true]:border-b-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:has-[+:last-child[data-empty=true]]:border-b-0 *:last:border-b-0 *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --removed-body-scroll-bar-size --shiki-dark-bg --shiki-light-bg --spacing -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [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 advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor anchors and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-current 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 base 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-transparent bind binded bitsLeft black block boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 bottom-4 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 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-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop destructuring detect dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground discard display displayName displayed div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end end-2 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-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 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 forceMount forces forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function 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 getHash 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-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter highlights hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index inert infinite info infos initial inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-e-[calc(--spacing(4)+var(--removed-body-scroll-bar-size,0px))] inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instance instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground 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))] layouts lays lazy leading-none leaving left-0 left-1/2 length let letting level light light-dark light-dark-system lightbox like line line-through linear link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message meta metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto 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-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-none output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parent parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please point pointerType points polite populated pos position positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present 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 register registering rel relatedTarget relative remove 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 setHover setLoading setMounted setOpen setOpenSearch setSlides setTag setValue sha shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-4.5 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 toggling toolbar top top-0 top-1/2 top-2.5 top-3 top-3.25 top-4 touch tr track transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[translate,opacity] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translate-y-10 translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typed 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 useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants viewBox viewRef viewTransitionName viewer viewportProps visible void w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces whole 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-20 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
1
+ @source inline("!collapsed !isActive !items !nested !open !title *:data-[empty=true]:border-t-0 *:first:font-medium *:first:text-fd-primary *:flex *:flex! *:flex-col *:flex-col! *:gap-0.5! *:mask-[linear-gradient(to_bottom,white,white_30px,transparent_80px)] *:not-first:border-t *:not-first:text-fd-muted-foreground *:nth-2:text-xs *:rounded-full ---spacing --callout-color --color-fd- --color-fd-muted --fd-ai-chat-width --fd-animated-height --fd-banner-height --padding-right --radix-navigation-menu-viewport-height --radix-popover-content-available-height --radix-popover-content-transform-origin --radix-popover-trigger-width --removed-body-scroll-bar-size --shiki-dark-bg --shiki-light-bg --spacing -mb-px -me-0.5 -me-2 -mx-px -rotate-90 -top-1.5 -translate-x-1/2 -translate-y-1/2 -z-1 @container @defaultValue @deprecated @fuma-translate/react @keyframes @max-lg:col-span-full @max-xl:hidden @param @radix-ui/react-accordion @radix-ui/react-collapsible @radix-ui/react-dialog @radix-ui/react-navigation-menu @radix-ui/react-popover @radix-ui/react-presence @radix-ui/react-scroll-area @radix-ui/react-tabs @ts-expect-error @typescript-eslint/no-namespace [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none [&_::highlight(fd-search)]:text-fd-primary [&_::highlight(fd-search)]:underline [&_img]:cursor-zoom-in [&_svg]:size-3.5 [&_svg]:size-4 [&_svg]:size-4.5 [&_svg]:size-5 [&_svg]:size-full [&_svg]:text-fd-muted-foreground [clip-path:inset(0_0_100%)] [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 advanced after align align-text-bottom align-top alignItems alignmentBaseline all allowClear allowCopy allowedMode allows alphabet alt altKey always an anchor anchors and animate-pulse animation another application/json are areaRef aria-activedescendant aria-autocomplete aria-controls aria-current 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 base 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-transparent bind binded bitsLeft black block boolean border border-b border-l border-none border-s border-t border-transparent borderBottom bottom bottom-0 bottom-1.5 bottom-4 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 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-[motion=from-end]:animate-fd-enterFromRight data-[motion=from-start]:animate-fd-enterFromLeft data-[motion=to-end]:animate-fd-exitToRight data-[motion=to-start]:animate-fd-exitToLeft data-[state=active]:border-fd-primary data-[state=active]:text-fd-primary data-[state=closed]:animate-fd-accordion-up data-[state=closed]:animate-fd-collapsible-up data-[state=closed]:animate-fd-dialog-out data-[state=closed]:animate-fd-fade-out data-[state=closed]:animate-fd-nav-menu-out data-[state=closed]:animate-fd-popover-out data-[state=hidden]:animate-fd-fade-out data-[state=inactive]:hidden data-[state=open]:animate-fd-accordion-down data-[state=open]:animate-fd-collapsible-down data-[state=open]:animate-fd-dialog-in data-[state=open]:animate-fd-fade-in data-[state=open]:animate-fd-nav-menu-in data-[state=open]:animate-fd-popover-in data-[state=open]:bg-fd-accent data-[state=open]:bg-fd-accent/50 data-[state=open]:text-fd-accent-foreground data-accordion-value data-active data-card data-checked data-checked:text-fd-accent-foreground data-collapsed data-empty data-highlight-ignore data-icon data-line-numbers data-line-numbers-start data-search data-search-full data-state data-theme-toggle date debounced declare default defaultColor defaultFormatter defaultIndex defaultItems defaultLanguage defaultMdxComponents defaultOpen defaultOpenLevel defaultShikiFactory defaultTransform defaultUrl defaultValue defineI18nUI defined delay delayMs depends deprecated depth description desktop destructuring detect dialog dir direction disabled disabled:bg-fd-secondary disabled:opacity-50 disabled:pointer-events-none disabled:text-fd-secondary-foreground discard display displayName displayed div divide-fd-border divide-x divide-y docked document documented dominantBaseline don drawer draws dropdown duration-100 duration-200 duration-300 duration-400 during each ease-in-out ease-out element else empty empty:hidden enabled encoded end end-2 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-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 fixed flex flex-1 flex-col flex-row flex-wrap flexDirection floating flushSync focus focus-visible:opacity-100 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-fd-ring focus-visible:ring-inset folder folders font-medium font-mono fontSize fontWeight footer for forceMount forces forks formatter formatterOptions found free from full fumadocs-core/framework fumadocs-core/highlight fumadocs-core/i18n fumadocs-core/link fumadocs-core/page-tree fumadocs-core/search fumadocs-core/source fumadocs-core/toc function 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 getHash 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-[state=active]:bg-fd-primary group-data-[state=open]:rotate-180 group-data-[state=open]:rotate-90 group-hover/heading:opacity-100 group/heading groupListeners groups guides h-(--fd-animated-height) h-(--radix-navigation-menu-viewport-height) h-14 h-9.5 h-[calc(100%+--spacing(1.5))] h-full h-px h1 h2 h3 h4 h5 h6 hand handleThemeChange has has-focus-visible:bg-fd-accent hash hashchange hastContent have header headerId headers heading height hidden hideLocale highlight highlightRef highlighter highlights hints hover:bg-fd-accent hover:bg-fd-accent/80 hover:bg-fd-primary/80 hover:text-fd-accent-foreground hovered href html hydration i i18n i18nProvider icon icon-sm icon-xs iconClass id idea idx if if-needed ignore ignoreTyping image images img import in inTab index inert infinite info infos initial inline inline-flex input inputType inset-0 inset-e-2 inset-e-2.5 inset-e-[calc(--spacing(4)+var(--removed-body-scroll-bar-size,0px))] inset-s-0 inset-s-2.5 inset-s-3 inset-s-6 inset-x-0 inset-x-2 inset-y-0 inside instance instanceof instant instead integration interface intersect into invisible is isActive isComposing isFirst isLast isLoading isTabActive isUp it item itemVariants items items-baseline items-center itemsProp its js justify-between justify-center keepBackground 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))] layouts 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 lines link links list list-none listbox listener listeners loading locale localeTranslations locales lower ltr lucide lucide-book lucide-book-icon lucide-react m-0 made main make mapped margin marginTop mark markdownUrl marked mask-[linear-gradient(to_bottom,transparent,white_12px,white_calc(100%-12px),transparent)] mask-[linear-gradient(to_bottom,transparent,white_16px,white_calc(100%-16px),transparent)] maskComposite maskImage matches max-h-(--radix-popover-content-available-height) max-h-20 max-h-[460px] max-h-[600px] max-h-[80svh] max-h-full max-h-none max-md:bg-fd-secondary max-md:border max-md:hidden max-md:p-1.5 max-md:rounded-md max-w-[1400px] max-w-[98vw] max-w-full max-w-none max-w-screen-sm max-width max-xl:border max-xl:end-2 max-xl:fixed max-xl:inset-y-2 max-xl:rounded-2xl max-xl:shadow-xl max-xl:translate-x-[calc(100%+--spacing(2))] max-xl:w-(--fd-ai-chat-width) maximumFractionDigits mb-1 mb-2 md:hidden md:mb-auto md:px-16 md:size-5 md:top-[calc(50%-250px)] mdComponents mdx/types.js me-1 me-1.5 me-2 me-auto measured menu menuItems mergeRefs message meta metaKey middle min-h-0 min-w-0 min-w-[240px] min-w-fit min-w-full mode module morph motion-reduce:transition-none mount mounted mouse ms-2 ms-3 ms-auto ms-px mt-1 mt-4 must mx-auto my-0 my-0! my-0.5 my-4 my-6 my-auto 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-focus-visible:sr-only 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-(--radix-popover-content-transform-origin) origin-[top_center] origin-center original other out outline outline-hidden output over overflow overflow-auto overflow-clip overflow-hidden overflow-x-auto overflow-y-auto override overscroll-contain overscroll-x-contain own owner p p-0 p-0.5 p-1 p-1.5 p-2 p-3 p-4 padding paddingBottom paddingInlineStart page pageUrl pageUrlProp panel panels parameters params parent parentId pass passed path pathname paths pb-0 pb-2 pb-6 pe-2 pe-2.5 per performing persist persistent place placed placeholder placeholder:text-fd-muted-foreground please point pointerType points polite populated pos position positions possible powered pre pre-rendering predate prefers-reduced-motion prefetch present 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 register registering rel relatedTarget relative remove 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 setHover setLoading setMounted setOpen setOpenSearch setSlides setTag setValue sha shadow-2xl shadow-black/50 shadow-lg shadow-md shadow-sm shiftKey shiki shortcuts should show showAlgolia showOrama showing shown shows shrink-0 side sideOffset sidebar signature simple since single site size size-1 size-3 size-3.5 size-4 size-4.5 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 start-2 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-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-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 toggling toolbar top top-0 top-1/2 top-2 top-2.5 top-3 top-3.25 top-4 touch tr track transform transition-[clip-path] transition-[height] transition-[opacity,offset-distance] transition-[translate,opacity] transition-[width,height] transition-[width,margin,translate,visibility] transition-[width,margin,translate] transition-all transition-colors transition-opacity transition-transform translate-y-10 translationKeys translations translations/keys.json transparent tree trigger triggers true truncate try twice type typed 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 useTabsGroups useTheme useTranslations useTreePath useful users using usually v v17 value valueToIdMap values variables variant variants viewBox viewRef viewTransitionName viewer viewportProps visible void w-(--fd-ai-chat-width) w-(--radix-popover-trigger-width) w-0 w-0.5 w-1.5 w-1/4 w-[calc(100%-1rem)] w-fit w-full w-max w-px want warn warning what when where which while white whitespace-nowrap whitespaces whole 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-20 z-40 z-50 zoom zoomImg zoomInProps zoomMargin zoomable");
@@ -2,7 +2,7 @@
2
2
  --color-fd-background: hsl(0, 0%, 96%);
3
3
  --color-fd-foreground: hsl(0, 0%, 3.9%);
4
4
  --color-fd-muted: hsl(0, 0%, 96.1%);
5
- --color-fd-muted-foreground: hsl(0, 0%, 45.1%);
5
+ --color-fd-muted-foreground: hsl(0, 0%, 39%);
6
6
  --color-fd-popover: hsl(0, 0%, 98%);
7
7
  --color-fd-popover-foreground: hsl(0, 0%, 15.1%);
8
8
  --color-fd-card: hsl(0, 0%, 94.7%);
@@ -22,7 +22,7 @@
22
22
  --color-fd-background: hsl(0, 0%, 7.04%);
23
23
  --color-fd-foreground: hsl(0, 0%, 92%);
24
24
  --color-fd-muted: hsl(0, 0%, 12.9%);
25
- --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);
25
+ --color-fd-muted-foreground: hsla(0, 0%, 72%, 0.8);
26
26
  --color-fd-popover: hsl(0, 0%, 11.6%);
27
27
  --color-fd-popover-foreground: hsl(0, 0%, 86.9%);
28
28
  --color-fd-card: hsl(0, 0%, 9.8%);
package/css/ocean.css CHANGED
@@ -4,7 +4,7 @@
4
4
  --color-fd-background: hsl(0, 0%, 98%);
5
5
  --color-fd-foreground: hsl(0, 0%, 3.9%);
6
6
  --color-fd-muted: hsl(220, 90%, 96.1%);
7
- --color-fd-muted-foreground: hsl(0, 0%, 45.1%);
7
+ --color-fd-muted-foreground: hsl(0, 0%, 42.1%);
8
8
  --color-fd-popover: hsl(0, 0%, 98%);
9
9
  --color-fd-popover-foreground: hsl(0, 0%, 15.1%);
10
10
  --color-fd-card: hsl(220, 50%, 98%);
package/css/purple.css CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  @theme {
4
4
  --color-fd-background: hsl(256, 100%, 96%);
5
- --color-fd-primary: hsl(270, 100%, 52%);
5
+ --color-fd-primary: hsl(270, 100%, 46.5%);
6
6
  --color-fd-border: hsla(270, 40%, 80%, 0.5);
7
7
  --color-fd-accent: hsl(270, 40%, 88%);
8
8
  --color-fd-accent-foreground: hsl(270, 100%, 20%);
@@ -15,8 +15,8 @@
15
15
  --color-fd-card-foreground: hsl(256, 100%, 20%);
16
16
  --color-fd-popover-foreground: hsl(256, 100%, 20%);
17
17
  --color-fd-popover: hsl(256, 60%, 96%);
18
- --color-fd-primary-foreground: hsl(270, 100%, 20%);
19
- --color-fd-ring: hsl(270, 100%, 52%);
18
+ --color-fd-primary-foreground: hsl(256, 100%, 96%);
19
+ --color-fd-ring: hsl(270, 100%, 46.5%);
20
20
  }
21
21
 
22
22
  .dark {
package/css/ruby.css CHANGED
@@ -3,10 +3,10 @@
3
3
  @theme {
4
4
  --color-fd-background: hsl(0, 0%, 98%);
5
5
  --color-fd-foreground: hsl(350, 45%, 14%);
6
- --color-fd-primary: hsl(348, 85%, 45%);
6
+ --color-fd-primary: hsl(348, 85%, 43%);
7
7
  --color-fd-primary-foreground: hsl(0, 0%, 100%);
8
8
  --color-fd-border: hsla(348, 40%, 60%, 0.25);
9
- --color-fd-ring: hsl(348, 85%, 45%);
9
+ --color-fd-ring: hsl(348, 85%, 43%);
10
10
  --color-fd-accent: hsl(348, 70%, 95%);
11
11
  --color-fd-accent-foreground: hsl(348, 70%, 22%);
12
12
  --color-fd-muted: hsl(0, 0%, 94%);
@@ -22,10 +22,10 @@
22
22
  .dark {
23
23
  --color-fd-background: hsl(350, 30%, 6%);
24
24
  --color-fd-foreground: hsl(350, 30%, 92%);
25
- --color-fd-primary: hsl(348, 90%, 62%);
25
+ --color-fd-primary: hsl(348, 90%, 62.5%);
26
26
  --color-fd-primary-foreground: hsl(350, 30%, 8%);
27
27
  --color-fd-border: hsla(348, 40%, 45%, 0.25);
28
- --color-fd-ring: hsl(348, 90%, 62%);
28
+ --color-fd-ring: hsl(348, 90%, 62.5%);
29
29
  --color-fd-accent: hsl(348, 35%, 16%);
30
30
  --color-fd-accent-foreground: hsl(348, 70%, 82%);
31
31
  --color-fd-muted: hsl(350, 25%, 11%);
package/css/vitepress.css CHANGED
@@ -14,7 +14,7 @@
14
14
  --color-fd-background: hsl(0, 0%, 100%);
15
15
  --color-fd-card: hsl(240, 8%, 97%);
16
16
  --color-fd-foreground: hsl(240, 6%, 25%);
17
- --color-fd-muted-foreground: hsl(240, 6%, 50%);
17
+ --color-fd-muted-foreground: #67676c;
18
18
  --color-fd-secondary: hsl(240, 6%, 97%);
19
19
  --color-fd-accent-foreground: hsl(240, 6%, 25%);
20
20
  --color-fd-primary: hsl(226, 55%, 45%);
@@ -36,7 +36,7 @@
36
36
  --color-fd-accent: hsl(240, 5.4%, 21%);
37
37
  --color-fd-secondary: hsl(240, 5%, 19%);
38
38
  --color-fd-accent-foreground: hsl(0, 0%, 100%);
39
- --color-fd-muted-foreground: hsl(240, 5%, 58%);
39
+ --color-fd-muted-foreground: hsl(240, 5%, 62.5%);
40
40
  }
41
41
 
42
42
  .prose {
@@ -2,7 +2,6 @@ export type Translations = {
2
2
  "Ask AI(AI chat button)": string;
3
3
  "Back to Home(404 page)": string;
4
4
  "Choose a language(language switcher)": string;
5
- "Choose a language(language switcher)(aria-label)": string;
6
5
  "Close Banner(banner)(aria-label)": string;
7
6
  "Close Search(search dialog)(aria-label)": string;
8
7
  "Close Sidebar(aria-label)": string;
@@ -3,7 +3,6 @@ var keys_default = [
3
3
  "Ask AI(AI chat button)",
4
4
  "Back to Home(404 page)",
5
5
  "Choose a language(language switcher)",
6
- "Choose a language(language switcher)(aria-label)",
7
6
  "Close Banner(banner)(aria-label)",
8
7
  "Close Search(search dialog)(aria-label)",
9
8
  "Close Sidebar(aria-label)",
@@ -54,7 +54,7 @@ function CodeBlock({ ref, title, allowCopy = true, keepBackground = false, icon,
54
54
  ref: areaRef,
55
55
  ...viewportProps,
56
56
  tabIndex: 0,
57
- className: cn("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring", viewportProps.className),
57
+ className: cn("text-[0.8125rem] py-3.5 overflow-auto max-h-[600px] fd-scroll-container focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring", viewportProps.className),
58
58
  style: {
59
59
  "--padding-right": !title ? "calc(var(--spacing) * 8)" : void 0,
60
60
  counterSet: props["data-line-numbers"] ? `line ${Number(props["data-line-numbers-start"] ?? 1) - 1}` : void 0,
@@ -30,13 +30,13 @@ function AlgoliaSearchDialog({ searchOptions, tags = [], defaultTag, showAlgolia
30
30
  return /* @__PURE__ */ jsxs(SearchDialog, {
31
31
  ...search,
32
32
  ...props,
33
- children: [
34
- /* @__PURE__ */ jsx(SearchDialogOverlay, {}),
35
- /* @__PURE__ */ jsxs(SearchDialogContent, { children: [/* @__PURE__ */ jsxs(SearchDialogHeader, { children: [
33
+ children: [/* @__PURE__ */ jsx(SearchDialogOverlay, {}), /* @__PURE__ */ jsxs(SearchDialogContent, { children: [
34
+ /* @__PURE__ */ jsxs(SearchDialogHeader, { children: [
36
35
  /* @__PURE__ */ jsx(SearchDialogIcon, {}),
37
36
  /* @__PURE__ */ jsx(SearchDialogInput, {}),
38
37
  /* @__PURE__ */ jsx(SearchDialogClose, {})
39
- ] }), /* @__PURE__ */ jsx(SearchDialogList, { defaultItems })] }),
38
+ ] }),
39
+ /* @__PURE__ */ jsx(SearchDialogList, { defaultItems }),
40
40
  /* @__PURE__ */ jsxs(SearchDialogFooter, { children: [tags.length > 0 ? /* @__PURE__ */ jsxs(TagsList, {
41
41
  tag,
42
42
  onTagChange: setTag,
@@ -46,7 +46,7 @@ function AlgoliaSearchDialog({ searchOptions, tags = [], defaultTag, showAlgolia
46
46
  children: tag.name
47
47
  }, tag.value)), label]
48
48
  }) : label, footer] })
49
- ]
49
+ ] })]
50
50
  });
51
51
  }
52
52
  function AlgoliaTitle() {
@@ -41,13 +41,13 @@ function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowC
41
41
  return /* @__PURE__ */ jsxs(SearchDialog, {
42
42
  ...search,
43
43
  ...props,
44
- children: [
45
- /* @__PURE__ */ jsx(SearchDialogOverlay, {}),
46
- /* @__PURE__ */ jsxs(SearchDialogContent, { children: [/* @__PURE__ */ jsxs(SearchDialogHeader, { children: [
44
+ children: [/* @__PURE__ */ jsx(SearchDialogOverlay, {}), /* @__PURE__ */ jsxs(SearchDialogContent, { children: [
45
+ /* @__PURE__ */ jsxs(SearchDialogHeader, { children: [
47
46
  /* @__PURE__ */ jsx(SearchDialogIcon, {}),
48
47
  /* @__PURE__ */ jsx(SearchDialogInput, {}),
49
48
  /* @__PURE__ */ jsx(SearchDialogClose, {})
50
- ] }), /* @__PURE__ */ jsx(SearchDialogList, { defaultItems })] }),
49
+ ] }),
50
+ /* @__PURE__ */ jsx(SearchDialogList, { defaultItems }),
51
51
  /* @__PURE__ */ jsxs(SearchDialogFooter, { children: [tags.length > 0 && /* @__PURE__ */ jsx(TagsList, {
52
52
  tag,
53
53
  onTagChange: setTag,
@@ -57,7 +57,7 @@ function DefaultSearchDialog({ type, defaultTag, tags = [], api, delayMs, allowC
57
57
  children: tag.name
58
58
  }, tag.value))
59
59
  }), footer] })
60
- ]
60
+ ] })]
61
61
  });
62
62
  }
63
63
  export { DefaultSearchDialog as default };
@@ -163,7 +163,7 @@ function SearchDialogInput(props) {
163
163
  value: search,
164
164
  onChange: (e) => onSearchChange(e.target.value),
165
165
  placeholder: t("Search"),
166
- className: "w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-none"
166
+ className: "w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-hidden"
167
167
  });
168
168
  }
169
169
  function SearchDialogClose({ children = "ESC", className, ...props }) {
@@ -201,11 +201,11 @@ function SearchDialogContent({ children, ...props }) {
201
201
  return /* @__PURE__ */ jsxs(DialogContent, {
202
202
  "aria-describedby": void 0,
203
203
  ...props,
204
- className: cn("fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-xl border bg-fd-popover text-fd-popover-foreground shadow-2xl shadow-black/50 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in", "*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0", props.className),
205
- children: [/* @__PURE__ */ jsx(DialogTitle, {
204
+ className: cn("fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-xl border bg-fd-popover text-fd-popover-foreground shadow-2xl shadow-black/50 overflow-hidden data-[state=closed]:animate-fd-dialog-out data-[state=open]:animate-fd-dialog-in", "*:not-first:border-t *:data-[empty=true]:border-t-0", props.className),
205
+ children: [children, /* @__PURE__ */ jsx(DialogTitle, {
206
206
  className: "hidden",
207
207
  children: t("Search")
208
- }), children]
208
+ })]
209
209
  });
210
210
  }
211
211
  function SearchDialogList({ items: itemsProp, defaultItems = null, Empty = () => /* @__PURE__ */ jsx("div", {
@@ -46,7 +46,7 @@ function GithubInfo({ repo, owner, token, baseUrl, fetchOptions, locale, ...prop
46
46
  rel: "noreferrer noopener",
47
47
  target: "_blank",
48
48
  ...props,
49
- className: cn("flex flex-col gap-1.5 p-2 rounded-lg text-sm text-fd-foreground/80 transition-colors hover:text-fd-accent-foreground hover:bg-fd-accent", props.className),
49
+ className: cn("flex flex-col gap-1.5 p-2 rounded-lg text-sm text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground hover:bg-fd-accent", props.className),
50
50
  children: [/* @__PURE__ */ jsxs("p", {
51
51
  className: "flex items-center gap-2 truncate",
52
52
  children: [
@@ -53,7 +53,7 @@ function ImageZoom({ zoomInProps, children, rmiz, caption, ...props }) {
53
53
  e.preventDefault();
54
54
  lightbox.open(e.currentTarget);
55
55
  },
56
- className: "block outline-none [&_img]:cursor-zoom-in [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring",
56
+ className: "block outline-hidden [&_img]:cursor-zoom-in [&:focus-visible_img]:ring-2 [&:focus-visible_img]:ring-fd-ring",
57
57
  children: image
58
58
  });
59
59
  return /* @__PURE__ */ jsx(Uncontrolled, {
@@ -144,7 +144,7 @@ function Lightbox({ children }) {
144
144
  const rtl = getComputedStyle(e.currentTarget).direction === "rtl";
145
145
  navigate(e.key === "ArrowRight" !== rtl ? 1 : -1);
146
146
  },
147
- className: "m-0 size-full max-h-none max-w-none overflow-hidden border-none bg-fd-background p-0 text-fd-foreground outline-none",
147
+ className: "m-0 size-full max-h-none max-w-none overflow-hidden border-none bg-fd-background p-0 text-fd-foreground outline-hidden",
148
148
  children: [
149
149
  /* @__PURE__ */ jsx("button", {
150
150
  type: "button",
@@ -57,7 +57,7 @@ function Tab({ value, ...props }) {
57
57
  function TabsContent({ value, className, ...props }) {
58
58
  return /* @__PURE__ */ jsx(TabsContent$1, {
59
59
  value,
60
- className: cn("p-4 text-[0.9375rem] bg-fd-background rounded-xl outline-none prose-no-margin data-[state=inactive]:hidden [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none", className),
60
+ className: cn("p-4 text-[0.9375rem] bg-fd-background rounded-xl outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring prose-no-margin data-[state=inactive]:hidden [&>figure:only-child]:-m-4 [&>figure:only-child]:border-none", className),
61
61
  ...props,
62
62
  children: props.children
63
63
  });
@@ -53,7 +53,7 @@ function Item({ parentId, name, item: { parameters = [], description, required =
53
53
  className: "relative flex flex-row items-center w-full group text-start px-3 py-2 not-prose hover:bg-fd-accent",
54
54
  children: [
55
55
  /* @__PURE__ */ jsxs("code", {
56
- className: cn("text-fd-primary min-w-fit w-1/4 font-mono font-medium pe-2", deprecated && "line-through text-fd-primary/50"),
56
+ className: cn("text-fd-primary min-w-fit w-1/4 font-mono font-medium pe-2", deprecated && "line-through text-fd-muted-foreground"),
57
57
  children: [name, !required && "?"]
58
58
  }),
59
59
  typeDescriptionLink ? /* @__PURE__ */ jsx(Link, {
@@ -26,7 +26,7 @@ function AccordionHeader({ className, children, ...props }) {
26
26
  }
27
27
  function AccordionTrigger({ className, children, ...props }) {
28
28
  return /* @__PURE__ */ jsxs(Primitive.Trigger, {
29
- className: cn("group flex flex-1 items-center gap-2 px-3 py-2.5 text-start focus-visible:outline-none", className),
29
+ className: cn("group flex flex-1 items-center gap-2 px-3 py-2.5 text-start focus-visible:outline-hidden", className),
30
30
  ...props,
31
31
  children: [/* @__PURE__ */ jsx(ChevronRight, { className: "size-4 shrink-0 text-fd-muted-foreground transition-transform duration-200 group-data-[state=open]:rotate-90" }), children]
32
32
  });
@@ -8,7 +8,7 @@ const variants = {
8
8
  ghost: "hover:bg-fd-accent hover:text-fd-accent-foreground",
9
9
  secondary: "border bg-fd-secondary text-fd-secondary-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"
10
10
  };
11
- const buttonVariants = cva("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-fd-ring", { variants: {
11
+ const buttonVariants = cva("inline-flex items-center justify-center rounded-md p-2 text-sm font-medium transition-colors duration-100 disabled:pointer-events-none disabled:opacity-50 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-fd-ring", { variants: {
12
12
  variant: variants,
13
13
  color: variants,
14
14
  size: {
@@ -11,7 +11,7 @@ function PopoverContent({ className, align = "center", sideOffset = 4, ...props
11
11
  align,
12
12
  sideOffset,
13
13
  side: "bottom",
14
- className: cn("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-none data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in", className),
14
+ className: cn("z-50 origin-(--radix-popover-content-transform-origin) overflow-y-auto max-h-(--radix-popover-content-available-height) min-w-[240px] max-w-[98vw] rounded-xl border bg-fd-popover/60 backdrop-blur-lg p-2 text-sm text-fd-popover-foreground shadow-lg focus-visible:outline-hidden data-[state=closed]:animate-fd-popover-out data-[state=open]:animate-fd-popover-in", className),
15
15
  ...props
16
16
  }) });
17
17
  }
@@ -109,7 +109,7 @@ function PageTOCPopoverTrigger({ className, ...props }) {
109
109
  const path = useTreePath().at(-1);
110
110
  const showItem = selectedIdx !== -1 && !open;
111
111
  return /* @__PURE__ */ jsxs(CollapsibleTrigger, {
112
- className: cn("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6", className),
112
+ className: cn("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring [&_svg]:size-4 md:px-6", className),
113
113
  "data-toc-popover-trigger": "",
114
114
  ...props,
115
115
  children: [
@@ -50,44 +50,48 @@ function DocsLayout(props) {
50
50
  slots,
51
51
  ...linkItems
52
52
  },
53
- children: /* @__PURE__ */ jsxs(TreeContextProvider, {
53
+ children: /* @__PURE__ */ jsx(TreeContextProvider, {
54
54
  tree,
55
- children: [/* @__PURE__ */ jsx(slots.sidebar.provider, {
55
+ children: /* @__PURE__ */ jsxs(slots.sidebar.provider, {
56
56
  defaultOpenLevel,
57
57
  prefetch,
58
- children: /* @__PURE__ */ jsxs(slots.container, {
59
- ...containerProps,
60
- children: [sidebarEnabled && /* @__PURE__ */ jsx(slots.sidebar.root, { ...sidebarProps }), children]
61
- })
62
- }), renderNavigationPanel({
63
- head: /* @__PURE__ */ jsxs(Fragment, { children: [slots.navTitle && /* @__PURE__ */ jsx(slots.navTitle, { className: "inline-flex items-center gap-2.5 text-sm font-semibold" }), nav.children] }),
64
- tabDropdown: slots.tabDropdown && tabs.length > 0 && /* @__PURE__ */ jsx(slots.tabDropdown, {
65
- className: "flex-1",
66
- tabs
67
- }),
68
- tool: /* @__PURE__ */ jsxs(Fragment, { children: [
69
- slots.languageSelect && /* @__PURE__ */ jsx(slots.languageSelect.root, { children: /* @__PURE__ */ jsx(Languages, { className: "size-4.5" }) }),
70
- slots.searchTrigger && /* @__PURE__ */ jsx(slots.searchTrigger.sm, {
71
- hideIfDisabled: true,
72
- className: "rounded-lg"
58
+ children: [
59
+ /* @__PURE__ */ jsx(slots.container, {
60
+ ...containerProps,
61
+ children
73
62
  }),
74
- slots.sidebar && /* @__PURE__ */ jsx(slots.sidebar.trigger, { className: cn(buttonVariants({
75
- variant: "ghost",
76
- size: "icon-sm",
77
- className: "overflow-hidden"
78
- })) }),
79
- slots.themeSwitch && /* @__PURE__ */ jsx(slots.themeSwitch, { className: "p-1 h-full ms-1 rounded-xl bg-fd-muted *:rounded-lg" })
80
- ] }),
81
- link: linkItems.menuItems.filter((item) => item.type === "icon").map((item, i) => /* @__PURE__ */ jsx(LinkItem, {
82
- item,
83
- className: cn(buttonVariants({
84
- size: "icon-sm",
85
- variant: "ghost"
86
- })),
87
- "aria-label": item.label,
88
- children: item.icon
89
- }, i))
90
- })]
63
+ renderNavigationPanel({
64
+ head: /* @__PURE__ */ jsxs(Fragment, { children: [slots.navTitle && /* @__PURE__ */ jsx(slots.navTitle, { className: "inline-flex items-center gap-2.5 text-sm font-semibold" }), nav.children] }),
65
+ tabDropdown: slots.tabDropdown && tabs.length > 0 && /* @__PURE__ */ jsx(slots.tabDropdown, {
66
+ className: "flex-1",
67
+ tabs
68
+ }),
69
+ tool: /* @__PURE__ */ jsxs(Fragment, { children: [
70
+ slots.languageSelect && /* @__PURE__ */ jsx(slots.languageSelect.root, { children: /* @__PURE__ */ jsx(Languages, { className: "size-4.5" }) }),
71
+ slots.searchTrigger && /* @__PURE__ */ jsx(slots.searchTrigger.sm, {
72
+ hideIfDisabled: true,
73
+ className: "rounded-lg"
74
+ }),
75
+ slots.sidebar && /* @__PURE__ */ jsx(slots.sidebar.trigger, { className: cn(buttonVariants({
76
+ variant: "ghost",
77
+ size: "icon-sm",
78
+ className: "overflow-hidden"
79
+ })) }),
80
+ slots.themeSwitch && /* @__PURE__ */ jsx(slots.themeSwitch, { className: "p-1 h-full ms-1 rounded-xl bg-fd-muted *:rounded-lg" })
81
+ ] }),
82
+ link: linkItems.menuItems.filter((item) => item.type === "icon").map((item, i) => /* @__PURE__ */ jsx(LinkItem, {
83
+ item,
84
+ className: cn(buttonVariants({
85
+ size: "icon-sm",
86
+ variant: "ghost"
87
+ })),
88
+ "aria-label": item.label,
89
+ children: item.icon
90
+ }, i))
91
+ }),
92
+ sidebarEnabled && /* @__PURE__ */ jsx(slots.sidebar.root, { ...sidebarProps })
93
+ ]
94
+ })
91
95
  })
92
96
  });
93
97
  }
@@ -105,7 +105,7 @@ function PageTOCPopoverTrigger({ className, ...props }) {
105
105
  className: cn(open && "text-fd-popover-foreground")
106
106
  };
107
107
  return /* @__PURE__ */ jsxs(CollapsibleTrigger, {
108
- className: cn("flex w-full h-8.5 items-center text-sm text-fd-muted-foreground gap-2.5 px-2 text-start focus-visible:outline-none [&_svg]:size-4", className),
108
+ className: cn("flex w-full h-8.5 items-center text-sm text-fd-muted-foreground gap-2.5 px-2 text-start focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring [&_svg]:size-4", className),
109
109
  "data-toc-popover-trigger": "",
110
110
  ...props,
111
111
  children: [
@@ -101,6 +101,7 @@ function SidebarContent({ ref: refProp, className, children, ...props }) {
101
101
  enabled: blockScroll,
102
102
  children: /* @__PURE__ */ jsx(motion.div, {
103
103
  className: cn("fixed inset-0 py-10 z-30 backdrop-blur-md bg-fd-background/60", !open && "pointer-events-none"),
104
+ inert: !open,
104
105
  initial: "hide",
105
106
  variants: {
106
107
  show: { opacity: 1 },
@@ -42,7 +42,7 @@ function LayoutTabsDropdown({ tabs: allTabs, className, size = "default", ...pro
42
42
  className: "font-medium inline-flex items-center gap-2 [&_svg]:size-4",
43
43
  children: [t.icon, t.title]
44
44
  }), /* @__PURE__ */ jsx("p", {
45
- className: cn("mt-1 text-xs text-fd-muted-foreground empty:hidden", selected === t && "text-fd-primary/80"),
45
+ className: cn("mt-1 text-xs text-fd-muted-foreground empty:hidden", selected === t && "text-fd-primary"),
46
46
  children: t.description
47
47
  })]
48
48
  }, i);
@@ -22,10 +22,11 @@ function TOC({ container, header, footer }) {
22
22
  const { props: { aiChat } } = useGlassLayout();
23
23
  const [hover, setHover] = useState(false);
24
24
  const [mobileOpen, setMobileOpen] = useState(false);
25
+ const [focused, setFocused] = useState(false);
25
26
  const [inAnimation, setInAnimation] = useState(false);
26
27
  const exitTimerRef = useRef(null);
27
28
  const transitionTimerRef = useRef(null);
28
- const open = hover || mobileOpen;
29
+ const open = hover || mobileOpen || focused;
29
30
  useOnChange(open, () => {
30
31
  setInAnimation(true);
31
32
  if (transitionTimerRef.current) window.clearTimeout(transitionTimerRef.current);
@@ -48,6 +49,12 @@ function TOC({ container, header, footer }) {
48
49
  id: "nd-toc",
49
50
  ...container,
50
51
  className: cn("z-10 grid transition-[width,padding] duration-300 [grid-area:right]", aiChat?.open && aiChat.panel && "invisible", "xl:sticky xl:top-10 xl:h-[calc(100dvh---spacing(10))] md:layout:[--fd-right-width:12px] xl:layout:[--fd-right-width:240px] xl:items-center xl:pe-4", "max-xl:fixed max-xl:top-1/2 max-xl:-translate-y-1/2 max-xl:end-1 max-xl:bg-fd-popover max-xl:text-fd-popover-foreground max-xl:border max-xl:rounded-xl max-xl:shadow-md max-xl:mask-none max-xl:max-h-[calc(100dvh---spacing(32))] max-xl:grid-cols-[calc(240px---spacing(6))]", inAnimation && "overflow-y-hidden", open ? "max-xl:w-[240px] max-xl:p-3" : "max-md:w-4 max-md:ps-[calc(--spacing(1.5)-1px)] max-xl:w-6 max-xl:ps-[calc(--spacing(2.5)-1px)] max-xl:overflow-clip", container?.className),
52
+ onFocus: (e) => {
53
+ if (e.target.matches(":focus-visible")) setFocused(true);
54
+ },
55
+ onBlur: (e) => {
56
+ if (!e.currentTarget.contains(e.relatedTarget)) setFocused(false);
57
+ },
51
58
  onPointerDown: (e) => {
52
59
  if (!mobileOpen && (e.pointerType === "touch" || e.pointerType === "pen")) setMobileOpen(true);
53
60
  },
@@ -19,6 +19,8 @@ function Header({ className, ...props }) {
19
19
  children: [
20
20
  sidebar.collapsible && sidebar.collapsed && /* @__PURE__ */ jsx("button", {
21
21
  "aria-label": t("Show Sidebar", { note: "sidebar" }),
22
+ "aria-controls": "nd-sidebar",
23
+ "aria-expanded": false,
22
24
  className: cn(buttonVariants({
23
25
  size: "icon-sm",
24
26
  variant: "secondary"
@@ -8,7 +8,7 @@ export declare function SidebarProvider({ children, collapsible }: SidebarProvid
8
8
  export declare function useSidebar(): {
9
9
  collapsible: boolean;
10
10
  collapsed: boolean;
11
- setCollapsed: import("react").Dispatch<import("react").SetStateAction<boolean>>;
11
+ setCollapsed: (value: boolean) => void;
12
12
  };
13
13
  export interface SidebarDrawerProps {
14
14
  contentProps?: ComponentProps<'div'>;
@@ -12,12 +12,13 @@ import { usePathname } from "fumadocs-core/framework";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { ChevronDown, ChevronsUpDown, LanguagesIcon, MessageCircleIcon, SidebarIcon, XIcon } from "lucide-react";
14
14
  import { cva } from "class-variance-authority";
15
- import { cloneElement, createContext, use, useState } from "react";
15
+ import { cloneElement, createContext, use, useId, useState } from "react";
16
16
  import { useTranslations } from "@fuma-translate/react";
17
+ import { flushSync } from "react-dom";
17
18
  import { useOnChange } from "fumadocs-core/utils/use-on-change";
18
19
  import * as ScrollArea from "@radix-ui/react-scroll-area";
19
20
  // src/layouts/glass/slots/sidebar.tsx
20
- const itemTriggerVariants = cva("inline-flex text-sm items-center gap-2 rounded-lg px-2.5 py-2 md:py-1.5 [&_svg]:size-4 outline-none focus-visible:ring-2 focus-visible:ring-fd-ring", { variants: { active: {
21
+ const itemTriggerVariants = cva("inline-flex text-sm items-center gap-2 rounded-lg px-2.5 py-2 md:py-1.5 [&_svg]:size-4 outline-hidden focus-visible:ring-2 focus-visible:ring-fd-ring", { variants: { active: {
21
22
  true: "bg-fd-primary/10 text-fd-primary",
22
23
  false: "text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"
23
24
  } } });
@@ -31,13 +32,19 @@ function SidebarProvider({ children, collapsible = true }) {
31
32
  })
32
33
  });
33
34
  }
35
+ /** applies a collapse change, the focus moves to the visible sidebar trigger when the change hid the focused element */
36
+ function collapseWithFocus(update) {
37
+ const active = document.activeElement;
38
+ flushSync(update);
39
+ if (active && (!active.isConnected || active.matches("[inert] *"))) document.querySelector("[aria-controls=\"nd-sidebar\"]:not([inert] *)")?.focus();
40
+ }
34
41
  function useSidebar() {
35
42
  const collapsible = use(CollapsibleContext);
36
43
  const { collapsed, setCollapsed } = useSidebar$1();
37
44
  return {
38
45
  collapsible,
39
46
  collapsed,
40
- setCollapsed
47
+ setCollapsed: (value) => collapseWithFocus(() => setCollapsed(value))
41
48
  };
42
49
  }
43
50
  function SidebarDrawer({ contentProps }) {
@@ -109,6 +116,7 @@ function Sidebar({ className, children, ...props }) {
109
116
  const t = useTranslations({ note: "sidebar" });
110
117
  return /* @__PURE__ */ jsxs("aside", {
111
118
  id: "nd-sidebar",
119
+ inert: collapsed,
112
120
  className: cn("sticky flex flex-col transition-transform [grid-area:left] my-2 ms-2 z-30 top-2 border rounded-2xl bg-fd-popover/80 text-fd-popover-foreground backdrop-blur-sm shadow-sm h-[calc(100dvh---spacing(4))] max-md:hidden md:layout:[--fd-left-width:280px]", collapsed && "w-[calc(280px---spacing(2))] -translate-x-[280px] md:layout:[--fd-left-width:0px]", className),
113
121
  ...props,
114
122
  children: [
@@ -117,12 +125,14 @@ function Sidebar({ className, children, ...props }) {
117
125
  children: [/* @__PURE__ */ jsx(slots.navTitle, { className: "flex text-sm items-center font-semibold gap-2 me-auto" }), /* @__PURE__ */ jsxs("div", {
118
126
  className: "flex -mt-1.5 -me-1.5 empty:hidden",
119
127
  children: [menuItems.map((item, i) => item.type === "icon" && /* @__PURE__ */ jsx(SidebarIconLinkItem, { item }, i)), collapsible && /* @__PURE__ */ jsx("button", {
120
- "aria-label": collapsed ? t("Show Sidebar") : t("Hide Sidebar"),
128
+ "aria-label": t("Hide Sidebar"),
129
+ "aria-controls": "nd-sidebar",
130
+ "aria-expanded": true,
121
131
  className: cn(buttonVariants({
122
132
  variant: "ghost",
123
133
  size: "icon-sm"
124
134
  }), "text-fd-muted-foreground"),
125
- onClick: () => setCollapsed(!collapsed),
135
+ onClick: () => setCollapsed(true),
126
136
  children: /* @__PURE__ */ jsx(SidebarIcon, {})
127
137
  })]
128
138
  })]
@@ -165,6 +175,7 @@ function SidebarIconLinkItem({ item, className }) {
165
175
  function SidebarLinkItem({ item, className }) {
166
176
  const pathname = usePathname();
167
177
  const [open, setOpen] = useState(true);
178
+ const linkId = useId();
168
179
  switch (item.type) {
169
180
  case "custom": return /* @__PURE__ */ jsx("div", {
170
181
  className,
@@ -179,12 +190,14 @@ function SidebarLinkItem({ item, className }) {
179
190
  children: [item.url ? /* @__PURE__ */ jsxs("div", {
180
191
  className: "flex w-full text-sm px-2.5 py-1.5 font-medium",
181
192
  children: [/* @__PURE__ */ jsxs(Link, {
193
+ id: linkId,
182
194
  href: item.url,
183
195
  external: item.external,
184
196
  "aria-current": isLinkItemActive(item, pathname) ? "page" : void 0,
185
197
  className: cn("inline-flex items-center gap-2 [&_svg]:size-4", isLinkItemActive(item, pathname) ? "text-fd-primary" : "hover:underline hover:decoration-fd-muted-foreground hover:underline-offset-4 hover:decoration-dashed hover:text-fd-accent-foreground"),
186
198
  children: [item.icon, item.text]
187
199
  }), /* @__PURE__ */ jsx(CollapsibleTrigger, {
200
+ "aria-labelledby": linkId,
188
201
  className: "flex-1",
189
202
  children: rightIcon
190
203
  })]
@@ -239,6 +252,7 @@ function SidebarFolder({ folder }) {
239
252
  const shouldOpen = (folder.defaultOpen ?? true) || isNodeInPath(folder, path);
240
253
  const [open, setOpen] = useState(shouldOpen);
241
254
  const indexActive = folder.index ? isNodeInPath(folder.index, path) : false;
255
+ const linkId = useId();
242
256
  useOnChange(shouldOpen, () => shouldOpen && setOpen(true));
243
257
  if (folder.collapsible === false) return /* @__PURE__ */ jsxs(Fragment, { children: [folder.index ? /* @__PURE__ */ jsxs(Link, {
244
258
  href: folder.index.url,
@@ -258,12 +272,14 @@ function SidebarFolder({ folder }) {
258
272
  children: [folder.index ? /* @__PURE__ */ jsxs("div", {
259
273
  className: "flex w-full text-sm px-2.5 py-1.5 font-medium",
260
274
  children: [/* @__PURE__ */ jsxs(Link, {
275
+ id: linkId,
261
276
  href: folder.index.url,
262
277
  external: folder.index.external,
263
278
  "aria-current": indexActive ? "page" : void 0,
264
279
  className: cn("inline-flex items-center gap-2 [&_svg]:size-4", indexActive ? "text-fd-primary" : "hover:underline hover:decoration-fd-muted-foreground hover:underline-offset-4 hover:decoration-dashed hover:text-fd-accent-foreground"),
265
280
  children: [folder.icon, folder.name]
266
281
  }), /* @__PURE__ */ jsx(CollapsibleTrigger, {
282
+ "aria-labelledby": linkId,
267
283
  className: "flex-1",
268
284
  children: rightIcon
269
285
  })]
@@ -219,7 +219,7 @@ function MobileNavigationMenuLinkItem({ item, ...props }) {
219
219
  children: /* @__PURE__ */ jsxs(LinkItem, {
220
220
  item,
221
221
  className: cn({
222
- main: "inline-flex items-center gap-2 py-1.5 transition-colors hover:text-fd-popover-foreground/50 data-[active=true]:font-medium data-[active=true]:text-fd-primary [&_svg]:size-4",
222
+ main: "inline-flex items-center gap-2 py-1.5 transition-colors hover:text-fd-muted-foreground data-[active=true]:font-medium data-[active=true]:text-fd-primary [&_svg]:size-4",
223
223
  icon: buttonVariants({
224
224
  size: "icon",
225
225
  variant: "ghost"
@@ -109,7 +109,7 @@ function PageTOCPopoverTrigger({ className, ...props }) {
109
109
  const path = useTreePath().at(-1);
110
110
  const showItem = selectedIdx !== -1 && !open;
111
111
  return /* @__PURE__ */ jsxs(CollapsibleTrigger, {
112
- className: cn("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-none [&_svg]:size-4 md:px-6", className),
112
+ className: cn("flex w-full h-10 items-center text-sm text-fd-muted-foreground gap-2.5 px-4 py-2.5 text-start focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-fd-ring [&_svg]:size-4 md:px-6", className),
113
113
  "data-toc-popover-trigger": "",
114
114
  ...props,
115
115
  children: [
@@ -174,7 +174,7 @@ function NavbarLinkItemMenu({ item, hoverDelay = 50, className, ...props }) {
174
174
  if (freezeUntil.current === null || Date.now() >= freezeUntil.current) setOpen(value);
175
175
  },
176
176
  children: [/* @__PURE__ */ jsxs(PopoverTrigger, {
177
- className: cn("inline-flex items-center gap-1.5 p-1 text-sm text-fd-muted-foreground transition-colors has-data-[active=true]:text-fd-primary data-[state=open]:text-fd-accent-foreground focus-visible:outline-none", className),
177
+ className: cn("inline-flex items-center gap-1.5 p-1 rounded-md text-sm text-fd-muted-foreground transition-colors has-data-[active=true]:text-fd-primary data-[state=open]:text-fd-accent-foreground focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-fd-ring", className),
178
178
  onPointerEnter,
179
179
  onPointerLeave,
180
180
  ...props,
@@ -48,6 +48,7 @@ function SidebarContent({ ref: refProp, className, children, ...props }) {
48
48
  ref: mergeRefs(ref, refProp, asideRef),
49
49
  "data-collapsed": collapsed,
50
50
  "data-hovered": collapsed && hovered,
51
+ inert: collapsed && !hovered,
51
52
  className: cn("absolute flex flex-col w-full inset-s-0 inset-y-0 items-end text-sm duration-250 *:w-(--fd-sidebar-width)", navMode === "auto" && "bg-fd-card border-e", collapsed && ["inset-y-2 rounded-xl bg-fd-card transition-transform border w-(--fd-sidebar-width)", hovered ? "shadow-lg translate-x-2 rtl:-translate-x-2" : "-translate-x-(--fd-sidebar-width) rtl:translate-x-full"], ref.current && ref.current.getAttribute("data-collapsed") === "true" !== collapsed && "transition-[width,inset-block,translate,background-color]", className),
52
53
  ...props,
53
54
  ...rest,
@@ -119,7 +119,7 @@ function SkipToContent() {
119
119
  const t = useTranslations({ note: "skip link" });
120
120
  return /* @__PURE__ */ jsx("a", {
121
121
  href: "#nd-page",
122
- className: "sr-only",
122
+ className: cn(buttonVariants({ variant: "secondary" }), "fixed top-2 start-2 z-50 rounded-lg px-3 shadow-lg not-focus-visible:sr-only"),
123
123
  children: t("Skip to Content")
124
124
  });
125
125
  }
@@ -11,17 +11,20 @@ function LanguageSelect({ className, variant = "ghost", children, ...rest }) {
11
11
  const t = useTranslations({ note: "language switcher" });
12
12
  if (!context.locales) throw new Error("Missing `<I18nProvider />`");
13
13
  const chooseLanguage = t("Choose a language");
14
- return /* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(PopoverTrigger, {
15
- "aria-label": t("Choose a language", { note: "aria-label" }),
14
+ return /* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsxs(PopoverTrigger, {
16
15
  className: cn(buttonVariants({ variant }), "gap-1.5 p-1.5 data-[state=open]:bg-fd-accent", className),
17
16
  ...rest,
18
- children
17
+ children: [children, /* @__PURE__ */ jsx("span", {
18
+ className: "sr-only",
19
+ children: chooseLanguage
20
+ })]
19
21
  }), /* @__PURE__ */ jsxs(PopoverContent, {
20
22
  className: "flex flex-col gap-0.5 p-1",
21
23
  children: [/* @__PURE__ */ jsx("p", {
22
24
  className: "p-2 text-xs font-medium text-fd-muted-foreground",
23
25
  children: chooseLanguage
24
26
  }), context.locales.map((item) => /* @__PURE__ */ jsx(PopoverClose, {
27
+ lang: item.locale,
25
28
  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"),
26
29
  onClick: () => {
27
30
  context.onChange?.(item.locale);
@@ -34,6 +37,7 @@ function LanguageSelectText(props) {
34
37
  const { locales, locale } = useI18n();
35
38
  const text = locales?.find((item) => item.locale === locale)?.name;
36
39
  return /* @__PURE__ */ jsx("span", {
40
+ lang: locale,
37
41
  ...props,
38
42
  children: text
39
43
  });
package/dist/style.css CHANGED
@@ -48,7 +48,7 @@
48
48
  --color-fd-background: hsl(0, 0%, 96%);
49
49
  --color-fd-foreground: hsl(0, 0%, 3.9%);
50
50
  --color-fd-muted: hsl(0, 0%, 96.1%);
51
- --color-fd-muted-foreground: hsl(0, 0%, 45.1%);
51
+ --color-fd-muted-foreground: hsl(0, 0%, 39%);
52
52
  --color-fd-popover: hsl(0, 0%, 98%);
53
53
  --color-fd-popover-foreground: hsl(0, 0%, 15.1%);
54
54
  --color-fd-card: hsl(0, 0%, 94.7%);
@@ -344,6 +344,9 @@
344
344
  .inset-s-6 {
345
345
  inset-inline-start: calc(var(--spacing) * 6);
346
346
  }
347
+ .start-2 {
348
+ inset-inline-start: calc(var(--spacing) * 2);
349
+ }
347
350
  .end-2 {
348
351
  inset-inline-end: calc(var(--spacing) * 2);
349
352
  }
@@ -1615,7 +1618,7 @@
1615
1618
  background-color: var(--color-fd-muted);
1616
1619
  }
1617
1620
  .bg-fd-muted-foreground\/50 {
1618
- background-color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);
1621
+ background-color: color-mix(in srgb, hsl(0, 0%, 39%) 50%, transparent);
1619
1622
  @supports (color: color-mix(in lab, red, red)) {
1620
1623
  background-color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);
1621
1624
  }
@@ -1990,17 +1993,11 @@
1990
1993
  .text-fd-foreground {
1991
1994
  color: var(--color-fd-foreground);
1992
1995
  }
1993
- .text-fd-foreground\/80 {
1994
- color: color-mix(in srgb, hsl(0, 0%, 3.9%) 80%, transparent);
1995
- @supports (color: color-mix(in lab, red, red)) {
1996
- color: color-mix(in oklab, var(--color-fd-foreground) 80%, transparent);
1997
- }
1998
- }
1999
1996
  .text-fd-muted-foreground {
2000
1997
  color: var(--color-fd-muted-foreground);
2001
1998
  }
2002
1999
  .text-fd-muted-foreground\/50 {
2003
- color: color-mix(in srgb, hsl(0, 0%, 45.1%) 50%, transparent);
2000
+ color: color-mix(in srgb, hsl(0, 0%, 39%) 50%, transparent);
2004
2001
  @supports (color: color-mix(in lab, red, red)) {
2005
2002
  color: color-mix(in oklab, var(--color-fd-muted-foreground) 50%, transparent);
2006
2003
  }
@@ -2020,18 +2017,6 @@
2020
2017
  .text-fd-primary-foreground {
2021
2018
  color: var(--color-fd-primary-foreground);
2022
2019
  }
2023
- .text-fd-primary\/50 {
2024
- color: color-mix(in srgb, hsl(0, 0%, 9%) 50%, transparent);
2025
- @supports (color: color-mix(in lab, red, red)) {
2026
- color: color-mix(in oklab, var(--color-fd-primary) 50%, transparent);
2027
- }
2028
- }
2029
- .text-fd-primary\/80 {
2030
- color: color-mix(in srgb, hsl(0, 0%, 9%) 80%, transparent);
2031
- @supports (color: color-mix(in lab, red, red)) {
2032
- color: color-mix(in oklab, var(--color-fd-primary) 80%, transparent);
2033
- }
2034
- }
2035
2020
  .text-fd-secondary-foreground {
2036
2021
  color: var(--color-fd-secondary-foreground);
2037
2022
  }
@@ -2082,6 +2067,14 @@
2082
2067
  --tw-shadow-color: color-mix(in oklab, var(--color-fd-background) var(--tw-shadow-alpha), transparent);
2083
2068
  }
2084
2069
  }
2070
+ .outline-hidden {
2071
+ --tw-outline-style: none;
2072
+ outline-style: none;
2073
+ @media (forced-colors: active) {
2074
+ outline: 2px solid transparent;
2075
+ outline-offset: 2px;
2076
+ }
2077
+ }
2085
2078
  .outline {
2086
2079
  outline-style: var(--tw-outline-style);
2087
2080
  outline-width: 1px;
@@ -2242,10 +2235,6 @@
2242
2235
  --tw-ease: var(--ease-out);
2243
2236
  transition-timing-function: var(--ease-out);
2244
2237
  }
2245
- .outline-none {
2246
- --tw-outline-style: none;
2247
- outline-style: none;
2248
- }
2249
2238
  .select-none {
2250
2239
  -webkit-user-select: none;
2251
2240
  user-select: none;
@@ -2379,10 +2368,6 @@
2379
2368
  :is(.\*\:rounded-md > *) {
2380
2369
  border-radius: var(--radius-md);
2381
2370
  }
2382
- :is(.\*\:border-b > *) {
2383
- border-bottom-style: var(--tw-border-style);
2384
- border-bottom-width: 1px;
2385
- }
2386
2371
  :is(.\*\:mask-\[linear-gradient\(to_bottom\,white\,white_30px\,transparent_80px\)\] > *) {
2387
2372
  mask-image: linear-gradient(to bottom,white,white 30px,transparent 80px);
2388
2373
  }
@@ -2390,6 +2375,10 @@
2390
2375
  border-top-style: var(--tw-border-style);
2391
2376
  border-top-width: 1px;
2392
2377
  }
2378
+ :is(.\*\:not-first\:border-t > *):not(:first-child) {
2379
+ border-top-style: var(--tw-border-style);
2380
+ border-top-width: 1px;
2381
+ }
2393
2382
  :is(.\*\:not-first\:text-fd-muted-foreground > *):not(:first-child) {
2394
2383
  color: var(--color-fd-muted-foreground);
2395
2384
  }
@@ -2408,6 +2397,17 @@
2408
2397
  .not-empty\:p-3:not(:empty) {
2409
2398
  padding: calc(var(--spacing) * 3);
2410
2399
  }
2400
+ .not-focus-visible\:sr-only:not(:focus-visible) {
2401
+ position: absolute;
2402
+ width: 1px;
2403
+ height: 1px;
2404
+ padding: 0;
2405
+ margin: -1px;
2406
+ overflow: hidden;
2407
+ clip-path: inset(50%);
2408
+ white-space: nowrap;
2409
+ border-width: 0;
2410
+ }
2411
2411
  @media (hover: hover) {
2412
2412
  :is(:where(.group\/heading):hover .group-hover\/heading\:opacity-100) {
2413
2413
  opacity: 100%;
@@ -2485,10 +2485,6 @@
2485
2485
  border-bottom-right-radius: var(--radius-xl);
2486
2486
  border-bottom-left-radius: var(--radius-xl);
2487
2487
  }
2488
- :is(.\*\:last\:border-b-0 > *):last-child {
2489
- border-bottom-style: var(--tw-border-style);
2490
- border-bottom-width: 0px;
2491
- }
2492
2488
  .empty\:mb-0:empty {
2493
2489
  margin-bottom: 0px;
2494
2490
  }
@@ -2534,13 +2530,8 @@
2534
2530
  color: color-mix(in oklab, var(--color-fd-accent-foreground) 80%, transparent);
2535
2531
  }
2536
2532
  }
2537
- .hover\:text-fd-popover-foreground\/50:hover {
2538
- color: color-mix(in srgb, hsl(0, 0%, 15.1%) 50%, transparent);
2539
- }
2540
- @supports (color: color-mix(in lab, red, red)) {
2541
- .hover\:text-fd-popover-foreground\/50:hover {
2542
- color: color-mix(in oklab, var(--color-fd-popover-foreground) 50%, transparent);
2543
- }
2533
+ .hover\:text-fd-muted-foreground:hover {
2534
+ color: var(--color-fd-muted-foreground);
2544
2535
  }
2545
2536
  .hover\:underline:hover {
2546
2537
  text-decoration-line: underline;
@@ -2571,9 +2562,13 @@
2571
2562
  .focus-visible\:ring-fd-ring:focus-visible {
2572
2563
  --tw-ring-color: var(--color-fd-ring);
2573
2564
  }
2574
- .focus-visible\:outline-none:focus-visible {
2565
+ .focus-visible\:outline-hidden:focus-visible {
2575
2566
  --tw-outline-style: none;
2576
2567
  outline-style: none;
2568
+ @media (forced-colors: active) {
2569
+ outline: 2px solid transparent;
2570
+ outline-offset: 2px;
2571
+ }
2577
2572
  }
2578
2573
  .focus-visible\:ring-inset:focus-visible {
2579
2574
  --tw-ring-inset: inset;
@@ -2596,10 +2591,6 @@
2596
2591
  .has-data-\[active\=true\]\:text-fd-primary:has([data-active="true"]) {
2597
2592
  color: var(--color-fd-primary);
2598
2593
  }
2599
- :is(.\*\:has-\[\+\:last-child\[data-empty\=true\]\]\:border-b-0 > *):has( + :last-child[data-empty=true]) {
2600
- border-bottom-style: var(--tw-border-style);
2601
- border-bottom-width: 0px;
2602
- }
2603
2594
  .data-checked\:text-fd-accent-foreground[data-checked] {
2604
2595
  color: var(--color-fd-accent-foreground);
2605
2596
  }
@@ -2659,9 +2650,9 @@
2659
2650
  .data-\[collapsed\=false\]\:hidden[data-collapsed="false"] {
2660
2651
  display: none;
2661
2652
  }
2662
- :is(.\*\:data-\[empty\=true\]\:border-b-0 > *)[data-empty="true"] {
2663
- border-bottom-style: var(--tw-border-style);
2664
- border-bottom-width: 0px;
2653
+ :is(.\*\:data-\[empty\=true\]\:border-t-0 > *)[data-empty="true"] {
2654
+ border-top-style: var(--tw-border-style);
2655
+ border-top-width: 0px;
2665
2656
  }
2666
2657
  .data-\[motion\=from-end\]\:animate-fd-enterFromRight[data-motion="from-end"] {
2667
2658
  animation: var(--animate-fd-enterFromRight);
@@ -3287,7 +3278,7 @@
3287
3278
  --color-fd-background: hsl(0, 0%, 7.04%);
3288
3279
  --color-fd-foreground: hsl(0, 0%, 92%);
3289
3280
  --color-fd-muted: hsl(0, 0%, 12.9%);
3290
- --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);
3281
+ --color-fd-muted-foreground: hsla(0, 0%, 72%, 0.8);
3291
3282
  --color-fd-popover: hsl(0, 0%, 11.6%);
3292
3283
  --color-fd-popover-foreground: hsl(0, 0%, 86.9%);
3293
3284
  --color-fd-card: hsl(0, 0%, 9.8%);
@@ -3432,7 +3423,7 @@
3432
3423
  &[data-line-numbers] .line::after {
3433
3424
  position: absolute;
3434
3425
  content: counter(line);
3435
- color: var(--fd-counter-color, hsl(0, 0%, 45.1%));
3426
+ color: var(--fd-counter-color, hsl(0, 0%, 39%));
3436
3427
  @supports (color: color-mix(in lab, red, red)) {
3437
3428
  color: color-mix( in oklab, var(--fd-counter-color, var(--color-fd-muted-foreground)) 60%, transparent );
3438
3429
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-ui",
3
- "version": "16.19.4",
3
+ "version": "16.19.6",
4
4
  "description": "The Radix UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -160,7 +160,7 @@
160
160
  "shiki": "^4.6.0"
161
161
  },
162
162
  "devDependencies": {
163
- "@fumadocs/base-ui": "16.19.4",
163
+ "@fumadocs/base-ui": "16.19.6",
164
164
  "@fumadocs/cli": "1.9.2",
165
165
  "@tailwindcss/cli": "^4.3.5",
166
166
  "@tailwindcss/oxide": "^4.3.5",
@@ -170,7 +170,7 @@
170
170
  "@types/react": "^19.3.0",
171
171
  "@types/react-dom": "^19.3.0",
172
172
  "fuma-cli": "^0.3.4",
173
- "fumadocs-core": "16.19.4",
173
+ "fumadocs-core": "16.19.6",
174
174
  "react-medium-image-zoom": "^5.4.9",
175
175
  "tailwindcss": "^4.3.5",
176
176
  "tsconfig": "0.0.0",
@@ -179,7 +179,7 @@
179
179
  "peerDependencies": {
180
180
  "@types/mdx": "*",
181
181
  "@types/react": "*",
182
- "fumadocs-core": "16.19.4",
182
+ "fumadocs-core": "16.19.6",
183
183
  "next": "16.x.x",
184
184
  "react": "^19.2.0",
185
185
  "react-dom": "^19.2.0",