@fumadocs/base-ui 16.4.3 → 16.4.4

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 (81) hide show
  1. package/css/emerald.css +1 -0
  2. package/dist/components/accordion.d.ts +3 -3
  3. package/dist/components/accordion.d.ts.map +1 -1
  4. package/dist/components/banner.d.ts +2 -2
  5. package/dist/components/banner.d.ts.map +1 -1
  6. package/dist/components/callout.d.ts +5 -5
  7. package/dist/components/callout.d.ts.map +1 -1
  8. package/dist/components/card.d.ts +3 -3
  9. package/dist/components/codeblock.d.ts +7 -7
  10. package/dist/components/dialog/search-algolia.d.ts +2 -2
  11. package/dist/components/dialog/search-default.d.ts +2 -2
  12. package/dist/components/dialog/search-orama.d.ts +2 -2
  13. package/dist/components/dialog/search.d.ts +13 -13
  14. package/dist/components/dynamic-codeblock.d.ts +2 -2
  15. package/dist/components/github-info.d.ts +2 -2
  16. package/dist/components/image-zoom.d.ts +2 -2
  17. package/dist/components/inline-toc.d.ts +2 -2
  18. package/dist/components/sidebar/base.d.ts +21 -17
  19. package/dist/components/sidebar/base.d.ts.map +1 -1
  20. package/dist/components/sidebar/base.js +5 -1
  21. package/dist/components/sidebar/base.js.map +1 -1
  22. package/dist/components/sidebar/link-item.d.ts +2 -2
  23. package/dist/components/sidebar/page-tree.d.ts +2 -2
  24. package/dist/components/sidebar/tabs/dropdown.d.ts +2 -2
  25. package/dist/components/steps.d.ts +3 -3
  26. package/dist/components/tabs.d.ts +4 -4
  27. package/dist/components/type-table.d.ts +2 -2
  28. package/dist/components/ui/accordion.d.ts +6 -6
  29. package/dist/components/ui/button.d.ts +1 -1
  30. package/dist/components/ui/button.d.ts.map +1 -1
  31. package/dist/components/ui/collapsible.d.ts +6 -6
  32. package/dist/components/ui/collapsible.d.ts.map +1 -1
  33. package/dist/components/ui/navigation-menu.d.ts +7 -7
  34. package/dist/components/ui/popover.d.ts +3 -3
  35. package/dist/components/ui/popover.d.ts.map +1 -1
  36. package/dist/components/ui/scroll-area.d.ts +4 -4
  37. package/dist/components/ui/tabs.d.ts +7 -7
  38. package/dist/components/ui/tabs.d.ts.map +1 -1
  39. package/dist/layouts/docs/client.d.ts +7 -7
  40. package/dist/layouts/docs/client.d.ts.map +1 -1
  41. package/dist/layouts/docs/index.d.ts +2 -2
  42. package/dist/layouts/docs/index.js +3 -3
  43. package/dist/layouts/docs/page/client.d.ts +7 -7
  44. package/dist/layouts/docs/page/client.d.ts.map +1 -1
  45. package/dist/layouts/docs/page/index.d.ts +11 -6
  46. package/dist/layouts/docs/page/index.d.ts.map +1 -1
  47. package/dist/layouts/docs/page/index.js +2 -2
  48. package/dist/layouts/docs/page/index.js.map +1 -1
  49. package/dist/layouts/docs/sidebar.d.ts +17 -17
  50. package/dist/layouts/docs/sidebar.d.ts.map +1 -1
  51. package/dist/layouts/home/client.d.ts +2 -2
  52. package/dist/layouts/home/client.js +2 -2
  53. package/dist/layouts/home/index.d.ts +2 -2
  54. package/dist/layouts/home/navbar.d.ts +7 -7
  55. package/dist/layouts/home/navbar.d.ts.map +1 -1
  56. package/dist/layouts/notebook/client.d.ts +8 -8
  57. package/dist/layouts/notebook/client.d.ts.map +1 -1
  58. package/dist/layouts/notebook/index.d.ts +2 -2
  59. package/dist/layouts/notebook/index.d.ts.map +1 -1
  60. package/dist/layouts/notebook/index.js +3 -3
  61. package/dist/layouts/notebook/page/client.d.ts +7 -7
  62. package/dist/layouts/notebook/page/index.d.ts +11 -6
  63. package/dist/layouts/notebook/page/index.d.ts.map +1 -1
  64. package/dist/layouts/notebook/page/index.js +2 -2
  65. package/dist/layouts/notebook/page/index.js.map +1 -1
  66. package/dist/layouts/notebook/sidebar.d.ts +12 -12
  67. package/dist/layouts/notebook/sidebar.d.ts.map +1 -1
  68. package/dist/layouts/shared/index.d.ts +3 -3
  69. package/dist/layouts/shared/index.d.ts.map +1 -1
  70. package/dist/layouts/shared/language-toggle.d.ts +2 -2
  71. package/dist/layouts/shared/language-toggle.d.ts.map +1 -1
  72. package/dist/layouts/shared/search-toggle.d.ts +3 -3
  73. package/dist/layouts/shared/theme-toggle.d.ts +2 -2
  74. package/dist/layouts/shared/theme-toggle.d.ts.map +1 -1
  75. package/dist/page.d.ts +3 -3
  76. package/dist/page.d.ts.map +1 -1
  77. package/dist/provider/base.d.ts +2 -2
  78. package/dist/provider/next.d.ts +2 -2
  79. package/dist/provider/react-router.d.ts +2 -2
  80. package/dist/provider/tanstack.d.ts +2 -2
  81. package/package.json +4 -4
@@ -1,63 +1,63 @@
1
1
  import { SidebarCollapseTrigger as SidebarCollapseTrigger$1, SidebarDrawerContent, SidebarFolder as SidebarFolder$1, SidebarFolderContent as SidebarFolderContent$1, SidebarFolderLink as SidebarFolderLink$1, SidebarFolderTrigger as SidebarFolderTrigger$1, SidebarItem as SidebarItem$1, SidebarProvider, SidebarTrigger as SidebarTrigger$1, SidebarViewport as SidebarViewport$1 } from "../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../components/sidebar/page-tree.js";
3
- import * as react_jsx_runtime105 from "react/jsx-runtime";
4
- import * as react15 from "react";
3
+ import * as react_jsx_runtime77 from "react/jsx-runtime";
4
+ import * as react9 from "react";
5
5
  import { ComponentProps } from "react";
6
6
  import * as _fumadocs_ui_link_item0 from "@fumadocs/ui/link-item";
7
7
 
8
8
  //#region src/layouts/docs/sidebar.d.ts
9
- declare function Sidebar(props: ComponentProps<typeof SidebarProvider>): react_jsx_runtime105.JSX.Element;
10
- declare function SidebarFolder(props: ComponentProps<typeof SidebarFolder$1>): react_jsx_runtime105.JSX.Element;
11
- declare function SidebarCollapseTrigger(props: ComponentProps<typeof SidebarCollapseTrigger$1>): react_jsx_runtime105.JSX.Element;
12
- declare function SidebarViewport(props: ComponentProps<typeof SidebarViewport$1>): react_jsx_runtime105.JSX.Element;
13
- declare function SidebarTrigger(props: ComponentProps<typeof SidebarTrigger$1>): react_jsx_runtime105.JSX.Element;
9
+ declare function Sidebar(props: ComponentProps<typeof SidebarProvider>): react_jsx_runtime77.JSX.Element;
10
+ declare function SidebarFolder(props: ComponentProps<typeof SidebarFolder$1>): react_jsx_runtime77.JSX.Element;
11
+ declare function SidebarCollapseTrigger(props: ComponentProps<typeof SidebarCollapseTrigger$1>): react_jsx_runtime77.JSX.Element;
12
+ declare function SidebarViewport(props: ComponentProps<typeof SidebarViewport$1>): react_jsx_runtime77.JSX.Element;
13
+ declare function SidebarTrigger(props: ComponentProps<typeof SidebarTrigger$1>): react_jsx_runtime77.JSX.Element;
14
14
  declare function SidebarContent({
15
15
  ref: refProp,
16
16
  className,
17
17
  children,
18
18
  ...props
19
- }: ComponentProps<'aside'>): react_jsx_runtime105.JSX.Element;
19
+ }: ComponentProps<'aside'>): react_jsx_runtime77.JSX.Element;
20
20
  declare function SidebarDrawer({
21
21
  children,
22
22
  className,
23
23
  ...props
24
- }: ComponentProps<typeof SidebarDrawerContent>): react_jsx_runtime105.JSX.Element;
24
+ }: ComponentProps<typeof SidebarDrawerContent>): react_jsx_runtime77.JSX.Element;
25
25
  declare function SidebarSeparator({
26
26
  className,
27
27
  style,
28
28
  children,
29
29
  ...props
30
- }: ComponentProps<'p'>): react_jsx_runtime105.JSX.Element;
30
+ }: ComponentProps<'p'>): react_jsx_runtime77.JSX.Element;
31
31
  declare function SidebarItem({
32
32
  className,
33
33
  style,
34
34
  children,
35
35
  ...props
36
- }: ComponentProps<typeof SidebarItem$1>): react_jsx_runtime105.JSX.Element;
36
+ }: ComponentProps<typeof SidebarItem$1>): react_jsx_runtime77.JSX.Element;
37
37
  declare function SidebarFolderTrigger({
38
38
  className,
39
39
  style,
40
40
  ...props
41
- }: ComponentProps<typeof SidebarFolderTrigger$1>): react_jsx_runtime105.JSX.Element;
41
+ }: ComponentProps<typeof SidebarFolderTrigger$1>): react_jsx_runtime77.JSX.Element;
42
42
  declare function SidebarFolderLink({
43
43
  className,
44
44
  style,
45
45
  ...props
46
- }: ComponentProps<typeof SidebarFolderLink$1>): react_jsx_runtime105.JSX.Element;
46
+ }: ComponentProps<typeof SidebarFolderLink$1>): react_jsx_runtime77.JSX.Element;
47
47
  declare function SidebarFolderContent({
48
48
  className,
49
49
  children,
50
50
  ...props
51
- }: ComponentProps<typeof SidebarFolderContent$1>): react_jsx_runtime105.JSX.Element;
52
- declare const SidebarPageTree: (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime105.JSX.Element;
51
+ }: ComponentProps<typeof SidebarFolderContent$1>): react_jsx_runtime77.JSX.Element;
52
+ declare const SidebarPageTree: (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime77.JSX.Element;
53
53
  declare const SidebarLinkItem: ({
54
54
  item,
55
55
  ...props
56
- }: react15.HTMLAttributes<HTMLElement> & {
56
+ }: react9.HTMLAttributes<HTMLElement> & {
57
57
  item: Exclude<_fumadocs_ui_link_item0.LinkItemType, {
58
58
  type: "icon";
59
59
  }>;
60
- }) => react_jsx_runtime105.JSX.Element;
60
+ }) => react_jsx_runtime77.JSX.Element;
61
61
  //#endregion
62
62
  export { Sidebar, SidebarCollapseTrigger, SidebarContent, SidebarDrawer, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarLinkItem, SidebarPageTree, SidebarSeparator, SidebarTrigger, SidebarViewport };
63
63
  //# sourceMappingURL=sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","names":[],"sources":["../../../src/layouts/docs/sidebar.tsx"],"sourcesContent":[],"mappings":";;;;;;;;iBAgCgB,OAAA,QAAe,sBAAsB,mBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAI1D,aAAA,QAAqB,sBAAsB,mBAAmB,oBAAA,CAAA,GAAA,CAAA;iBAI9D,sBAAA,QAA8B,sBAAsB,4BAA4B,oBAAA,CAAA,GAAA,CAAA;iBAIhF,eAAA,QAAuB,sBAAsB,qBAAqB,oBAAA,CAAA,GAAA,CAAA;iBAIlE,cAAA,QAAsB,sBAAsB,oBAAoB,oBAAA,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kIW,mBAAA,CAAA,GAAA,CAAA,OAlIX;AAA2C,iBAmJ1D,oBAAA,CAnJ0D;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAuJvE,cAvJuE,CAAA,OAuJjD,sBAvJiD,CAAA,CAAA,EAuJvB,mBAAA,CAAA,GAAA,CAAA,OAvJuB;AAAA,iBA8K1D,iBAAA,CA9K0D;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAkLvE,cAlLuE,CAAA,OAkLjD,mBAlLiD,CAAA,CAAA,EAkL1B,mBAAA,CAAA,GAAA,CAAA,OAlL0B;AAI1D,iBA+LA,oBAAA,CA/La;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAmM1B,cAnM0B,CAAA,OAmMJ,sBAnMI,CAAA,CAAA,EAmMsB,mBAAA,CAAA,GAAA,CAAA,OAnMtB;AAA8B,cAuN9C,eAvN8C,EAAA,CAAA,UAAA,EAuN/B,OAvN+B,CA8NzD,yBAAA,CA9NyD,EAAA,GAuN/B,mBAAA,CAAA,GAAA,CAAA,OAvN+B;AAAtB,cAgOxB,eAhOwB,EAAA,CAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAgOT,MAAA,CAAA,cAhOS,CAgOT,WAhOS,CAAA,GAAA;EAAyC,IAAA,SAAA,CAgOlD,uBAAA,CAAA,YAAA,EAhOkD;IAAA,IAAA,EAAA,MAAA;EAI9D,CAAA,CAAA;CAAoD,EAAA,kCAAA"}
@@ -1,5 +1,5 @@
1
1
  import { HomeLayoutProps } from "./index.js";
2
- import * as react_jsx_runtime42 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime91 from "react/jsx-runtime";
3
3
  import * as class_variance_authority_types0 from "class-variance-authority/types";
4
4
 
5
5
  //#region src/layouts/home/client.d.ts
@@ -13,7 +13,7 @@ declare function Header({
13
13
  githubUrl,
14
14
  themeSwitch,
15
15
  searchToggle
16
- }: HomeLayoutProps): react_jsx_runtime42.JSX.Element;
16
+ }: HomeLayoutProps): react_jsx_runtime91.JSX.Element;
17
17
  //#endregion
18
18
  export { Header, navItemVariants };
19
19
  //# sourceMappingURL=client.d.ts.map
@@ -3,10 +3,10 @@
3
3
  import { buttonVariants } from "../../components/ui/button.js";
4
4
  import { Collapsible, CollapsibleContent, CollapsibleTrigger } from "../../components/ui/collapsible.js";
5
5
  import { NavigationMenuContent, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuRoot, NavigationMenuTrigger } from "../../components/ui/navigation-menu.js";
6
- import { renderTitleNav, resolveLinkItems } from "../shared/index.js";
7
6
  import { LargeSearchToggle, SearchToggle } from "../shared/search-toggle.js";
8
- import { ThemeToggle } from "../shared/theme-toggle.js";
7
+ import { renderTitleNav, resolveLinkItems } from "../shared/index.js";
9
8
  import { LanguageToggle, LanguageToggleText } from "../shared/language-toggle.js";
9
+ import { ThemeToggle } from "../shared/theme-toggle.js";
10
10
  import Link from "fumadocs-core/link";
11
11
  import { cn } from "@fumadocs/ui/cn";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  import { BaseLayoutProps, NavOptions } from "../shared/index.js";
2
- import * as react_jsx_runtime44 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime92 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/layouts/home/index.d.ts
6
6
  interface HomeLayoutProps extends BaseLayoutProps {
7
7
  nav?: Partial<NavOptions>;
8
8
  }
9
- declare function HomeLayout(props: HomeLayoutProps & ComponentProps<'main'>): react_jsx_runtime44.JSX.Element;
9
+ declare function HomeLayout(props: HomeLayoutProps & ComponentProps<'main'>): react_jsx_runtime92.JSX.Element;
10
10
  //#endregion
11
11
  export { HomeLayout, HomeLayoutProps };
12
12
  //# sourceMappingURL=index.d.ts.map
@@ -1,20 +1,20 @@
1
1
  import { NavigationMenuContentProps, NavigationMenuTriggerProps } from "../../components/ui/navigation-menu.js";
2
2
  import { LinkProps } from "fumadocs-core/link";
3
- import * as react_jsx_runtime46 from "react/jsx-runtime";
4
- import * as react3 from "react";
5
- import * as _base_ui_react3 from "@base-ui/react";
3
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
4
+ import * as react18 from "react";
5
+ import * as _base_ui_react17 from "@base-ui/react";
6
6
 
7
7
  //#region src/layouts/home/navbar.d.ts
8
- declare const NavbarMenu: react3.ForwardRefExoticComponent<Omit<_base_ui_react3.NavigationMenuItemProps & react3.RefAttributes<HTMLDivElement>, "ref"> & react3.RefAttributes<HTMLDivElement>>;
8
+ declare const NavbarMenu: react18.ForwardRefExoticComponent<Omit<_base_ui_react17.NavigationMenuItemProps & react18.RefAttributes<HTMLDivElement>, "ref"> & react18.RefAttributes<HTMLDivElement>>;
9
9
  declare function NavbarMenuContent({
10
10
  className,
11
11
  ...props
12
- }: NavigationMenuContentProps): react_jsx_runtime46.JSX.Element;
12
+ }: NavigationMenuContentProps): react_jsx_runtime132.JSX.Element;
13
13
  declare function NavbarMenuTrigger({
14
14
  className,
15
15
  ...props
16
- }: NavigationMenuTriggerProps): react_jsx_runtime46.JSX.Element;
17
- declare function NavbarMenuLink(props: LinkProps): react_jsx_runtime46.JSX.Element;
16
+ }: NavigationMenuTriggerProps): react_jsx_runtime132.JSX.Element;
17
+ declare function NavbarMenuLink(props: LinkProps): react_jsx_runtime132.JSX.Element;
18
18
  //#endregion
19
19
  export { NavbarMenu, NavbarMenuContent, NavbarMenuLink, NavbarMenuTrigger };
20
20
  //# sourceMappingURL=navbar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"navbar.d.ts","names":[],"sources":["../../../src/layouts/home/navbar.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,YAAU,MAAA,CAAA,0BAAA,KAAqB,eAAA,CAArB,uBAAA,GAAA,MAAA,CAAA,cAAA,0BAAA,MAAA,CAAA,cAAA;iBAEP,iBAAA;;;GAA2C,6BAA0B,mBAAA,CAAA,GAAA,CAAA;iBAgBrE,iBAAA;;;GAA2C,6BAA0B,mBAAA,CAAA,GAAA,CAAA;iBAiBrE,cAAA,QAAsB,YAAS,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"navbar.d.ts","names":[],"sources":["../../../src/layouts/home/navbar.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAaa,YAAU,OAAA,CAAA,0BAAA,KAAqB,gBAAA,CAArB,uBAAA,GAAA,OAAA,CAAA,cAAA,0BAAA,OAAA,CAAA,cAAA;iBAEP,iBAAA;;;GAA2C,6BAA0B,oBAAA,CAAA,GAAA,CAAA;iBAgBrE,iBAAA;;;GAA2C,6BAA0B,oBAAA,CAAA,GAAA,CAAA;iBAiBrE,cAAA,QAAsB,YAAS,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,11 +1,11 @@
1
1
  import { SidebarTabWithProps } from "../../components/sidebar/tabs/dropdown.js";
2
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
- import * as react6 from "react";
2
+ import * as react_jsx_runtime93 from "react/jsx-runtime";
3
+ import * as react10 from "react";
4
4
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
5
5
  import { LinkItemType } from "@fumadocs/ui/link-item";
6
6
 
7
7
  //#region src/layouts/notebook/client.d.ts
8
- declare const LayoutContext: react6.Context<(LayoutInfo & {
8
+ declare const LayoutContext: react10.Context<(LayoutInfo & {
9
9
  isNavTransparent: boolean;
10
10
  }) | null>;
11
11
  interface LayoutInfo {
@@ -20,28 +20,28 @@ declare function LayoutContextProvider({
20
20
  }: LayoutInfo & {
21
21
  navTransparentMode?: 'always' | 'top' | 'none';
22
22
  children: ReactNode;
23
- }): react_jsx_runtime64.JSX.Element;
24
- declare function LayoutHeader(props: ComponentProps<'header'>): react_jsx_runtime64.JSX.Element;
23
+ }): react_jsx_runtime93.JSX.Element;
24
+ declare function LayoutHeader(props: ComponentProps<'header'>): react_jsx_runtime93.JSX.Element;
25
25
  declare function LayoutBody({
26
26
  className,
27
27
  style,
28
28
  children,
29
29
  ...props
30
- }: ComponentProps<'div'>): react_jsx_runtime64.JSX.Element;
30
+ }: ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
31
31
  declare function LayoutHeaderTabs({
32
32
  options,
33
33
  className,
34
34
  ...props
35
35
  }: ComponentProps<'div'> & {
36
36
  options: SidebarTabWithProps[];
37
- }): react_jsx_runtime64.JSX.Element;
37
+ }): react_jsx_runtime93.JSX.Element;
38
38
  declare function NavbarLinkItem({
39
39
  item,
40
40
  className,
41
41
  ...props
42
42
  }: {
43
43
  item: LinkItemType;
44
- } & HTMLAttributes<HTMLElement>): string | number | bigint | boolean | react_jsx_runtime64.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react6.ReactPortal | react6.ReactElement<unknown, string | react6.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
44
+ } & HTMLAttributes<HTMLElement>): string | number | bigint | boolean | react_jsx_runtime93.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react10.ReactPortal | react10.ReactElement<unknown, string | react10.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
45
45
  //#endregion
46
46
  export { LayoutBody, LayoutContext, LayoutContextProvider, LayoutHeader, LayoutHeaderTabs, LayoutInfo, NavbarLinkItem };
47
47
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","names":[],"sources":["../../../src/layouts/notebook/client.tsx"],"sourcesContent":[],"mappings":";;;;;;;cAuBa,eAAa,MAAA,CAAA,SAAA;;;UAOT,UAAA;EAPJ,OAAA,EAAA,SAKN,GAAA,QALmB;EAOT,OAAA,EAAA,KAAU,GAAA,MAAA;AAK3B;AACE,iBADc,qBAAA,CACd;EAAA,kBAAA;EAAA,OAAA;EAAA,OAAA;EAAA;CAAA,EAIC,UAJD,GAAA;EACA,kBAAA,CAAA,EAAA,QAAA,GAAA,KAAA,GAAA,MAAA;EACA,QAAA,EAIU,SAJV;CACA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+Ee,OAAA,CAAA,qBA/Ef,CAAA,GAAA,CAAA,CAAA,GA+Ee,QA/Ef,CA+Ee,SA/Ef,CAAA,GAAA,IAAA,GAAA,SAAA,CAAA,GAAA,IAAA,GAAA,SAAA"}
@@ -3,7 +3,7 @@ import { GetSidebarTabsOptions } from "../../components/sidebar/tabs/index.js";
3
3
  import { SidebarTabWithProps } from "../../components/sidebar/tabs/dropdown.js";
4
4
  import { BaseLayoutProps } from "../shared/index.js";
5
5
  import { Sidebar } from "./sidebar.js";
6
- import * as react_jsx_runtime63 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime135 from "react/jsx-runtime";
7
7
  import { ComponentProps, FC, HTMLAttributes, ReactNode } from "react";
8
8
  import * as PageTree from "fumadocs-core/page-tree";
9
9
 
@@ -32,7 +32,7 @@ interface SidebarOptions extends ComponentProps<'aside'>, Pick<ComponentProps<ty
32
32
  */
33
33
  collapsible?: boolean;
34
34
  }
35
- declare function DocsLayout(props: DocsLayoutProps): react_jsx_runtime63.JSX.Element;
35
+ declare function DocsLayout(props: DocsLayoutProps): react_jsx_runtime135.JSX.Element;
36
36
  //#endregion
37
37
  export { DocsLayout, DocsLayoutProps };
38
38
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/layouts/notebook/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;;;UAgCiB,eAAA,SAAwB;QACjC,QAAA,CAAS;;EADA,GAAA,CAAA,EAIT,eAJyB,CAAA,KAAA,CAAA,GAAA;IACzB,IAAS,CAAA,EAAA,KAAA,GAAA,MAAA;EAGT,CAAA;EAII,OAAA,CAAA,EAAA,cAAA;EAEsB,cAAA,CAAA,EAAf,cAAe,CAAA,cAAA,CAAA;;UAGxB,cAAA,SAEN,cAfqC,CAAA,OAAA,CAAA,EAgBrC,IAhBqC,CAgBhC,cAhBgC,CAAA,OAgBV,OAhBU,CAAA,EAAA,kBAAA,GAAA,UAAA,CAAA,CA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tB,iBAoBY,UAAA,CApBZ,KAAA,EAoB8B,eApB9B,CAAA,EAoB6C,oBAAA,CAAA,GAAA,CAAA,OApB7C"}
@@ -2,12 +2,12 @@ import { buttonVariants } from "../../components/ui/button.js";
2
2
  import { tree_exports } from "../../contexts/tree.js";
3
3
  import { SidebarTabsDropdown } from "../../components/sidebar/tabs/dropdown.js";
4
4
  import { LayoutBody, LayoutContextProvider, LayoutHeader, LayoutHeaderTabs, NavbarLinkItem } from "./client.js";
5
- import { renderTitleNav, resolveLinkItems } from "../shared/index.js";
6
5
  import { LargeSearchToggle, SearchToggle } from "../shared/search-toggle.js";
7
- import { ThemeToggle } from "../shared/theme-toggle.js";
6
+ import { renderTitleNav, resolveLinkItems } from "../shared/index.js";
8
7
  import { LanguageToggle } from "../shared/language-toggle.js";
9
- import { Sidebar as Sidebar$1, SidebarCollapseTrigger, SidebarContent, SidebarDrawer, SidebarLinkItem, SidebarPageTree, SidebarTrigger, SidebarViewport } from "./sidebar.js";
8
+ import { ThemeToggle } from "../shared/theme-toggle.js";
10
9
  import { getSidebarTabs } from "../../components/sidebar/tabs/index.js";
10
+ import { Sidebar as Sidebar$1, SidebarCollapseTrigger, SidebarContent, SidebarDrawer, SidebarLinkItem, SidebarPageTree, SidebarTrigger, SidebarViewport } from "./sidebar.js";
11
11
  import { cn } from "@fumadocs/ui/cn";
12
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
13
13
  import { Languages, Sidebar, X } from "lucide-react";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime124 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime112 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
  import { BreadcrumbOptions } from "fumadocs-core/breadcrumb";
4
4
  import * as PageTree from "fumadocs-core/page-tree";
@@ -8,18 +8,18 @@ declare function PageTOCPopover({
8
8
  className,
9
9
  children,
10
10
  ...rest
11
- }: ComponentProps<'div'>): react_jsx_runtime124.JSX.Element;
11
+ }: ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
12
12
  declare function PageTOCPopoverTrigger({
13
13
  className,
14
14
  ...props
15
- }: ComponentProps<'button'>): react_jsx_runtime124.JSX.Element;
16
- declare function PageTOCPopoverContent(props: ComponentProps<'div'>): react_jsx_runtime124.JSX.Element;
15
+ }: ComponentProps<'button'>): react_jsx_runtime112.JSX.Element;
16
+ declare function PageTOCPopoverContent(props: ComponentProps<'div'>): react_jsx_runtime112.JSX.Element;
17
17
  declare function PageLastUpdate({
18
18
  date: value,
19
19
  ...props
20
20
  }: Omit<ComponentProps<'p'>, 'children'> & {
21
21
  date: Date;
22
- }): react_jsx_runtime124.JSX.Element;
22
+ }): react_jsx_runtime112.JSX.Element;
23
23
  type Item = Pick<PageTree.Item, 'name' | 'description' | 'url'>;
24
24
  interface FooterProps extends ComponentProps<'div'> {
25
25
  /**
@@ -33,14 +33,14 @@ interface FooterProps extends ComponentProps<'div'> {
33
33
  declare function PageFooter({
34
34
  items,
35
35
  ...props
36
- }: FooterProps): react_jsx_runtime124.JSX.Element;
36
+ }: FooterProps): react_jsx_runtime112.JSX.Element;
37
37
  type BreadcrumbProps = BreadcrumbOptions & ComponentProps<'div'>;
38
38
  declare function PageBreadcrumb({
39
39
  includeRoot,
40
40
  includeSeparator,
41
41
  includePage,
42
42
  ...props
43
- }: BreadcrumbProps): react_jsx_runtime124.JSX.Element | null;
43
+ }: BreadcrumbProps): react_jsx_runtime112.JSX.Element | null;
44
44
  //#endregion
45
45
  export { BreadcrumbProps, FooterProps, PageBreadcrumb, PageFooter, PageLastUpdate, PageTOCPopover, PageTOCPopoverContent, PageTOCPopoverTrigger };
46
46
  //# sourceMappingURL=client.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { BreadcrumbProps, FooterProps, PageBreadcrumb, PageLastUpdate } from "./client.js";
2
- import * as react_jsx_runtime86 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime118 from "react/jsx-runtime";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  import { AnchorProviderProps, TOCItemType } from "fumadocs-core/toc";
5
5
 
@@ -31,6 +31,10 @@ interface DocsPageProps {
31
31
  */
32
32
  footer?: Partial<FooterOptions>;
33
33
  children?: ReactNode;
34
+ /**
35
+ * Apply class names to the `#nd-page` container.
36
+ */
37
+ className?: string;
34
38
  }
35
39
  type TableOfContentOptions = Pick<AnchorProviderProps, 'single'> & {
36
40
  /**
@@ -68,9 +72,10 @@ declare function DocsPage({
68
72
  ...tocOptions
69
73
  },
70
74
  toc,
71
- children
75
+ children,
76
+ className
72
77
  }: DocsPageProps): ReactNode;
73
- declare function EditOnGitHub(props: ComponentProps<'a'>): react_jsx_runtime86.JSX.Element;
78
+ declare function EditOnGitHub(props: ComponentProps<'a'>): react_jsx_runtime118.JSX.Element;
74
79
  /**
75
80
  * Add typography styles
76
81
  */
@@ -78,17 +83,17 @@ declare function DocsBody({
78
83
  children,
79
84
  className,
80
85
  ...props
81
- }: ComponentProps<'div'>): react_jsx_runtime86.JSX.Element;
86
+ }: ComponentProps<'div'>): react_jsx_runtime118.JSX.Element;
82
87
  declare function DocsDescription({
83
88
  children,
84
89
  className,
85
90
  ...props
86
- }: ComponentProps<'p'>): react_jsx_runtime86.JSX.Element | null;
91
+ }: ComponentProps<'p'>): react_jsx_runtime118.JSX.Element | null;
87
92
  declare function DocsTitle({
88
93
  children,
89
94
  className,
90
95
  ...props
91
- }: ComponentProps<'h1'>): react_jsx_runtime86.JSX.Element;
96
+ }: ComponentProps<'h1'>): react_jsx_runtime118.JSX.Element;
92
97
  //#endregion
93
98
  export { DocsBody, DocsDescription, DocsPage, DocsPageProps, DocsTitle, EditOnGitHub, PageBreadcrumb, PageLastUpdate };
94
99
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/layouts/notebook/page/index.tsx"],"sourcesContent":[],"mappings":";;;;;;UAmBU,iBAAA,SAA0B;;aAEvB;AAP6D;AAKvB,UAKzC,aAA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,GAAA;AAAA,CAAA,EAAA,cAAA,CAAA,IAAA,CAAA,CAAA,EAAoB,oBAAA,CAAA,GAAA,CAAA,OAApB"}
@@ -19,7 +19,7 @@ var page_exports = /* @__PURE__ */ __exportAll({
19
19
  PageBreadcrumb: () => PageBreadcrumb,
20
20
  PageLastUpdate: () => PageLastUpdate
21
21
  });
22
- function DocsPage({ breadcrumb: { enabled: breadcrumbEnabled = true, component: breadcrumb, ...breadcrumbProps } = {}, footer = {}, full = false, tableOfContentPopover: { enabled: tocPopoverEnabled, component: tocPopover, ...tocPopoverOptions } = {}, tableOfContent: { enabled: tocEnabled, component: tocReplace, ...tocOptions } = {}, toc = [], children }) {
22
+ function DocsPage({ breadcrumb: { enabled: breadcrumbEnabled = true, component: breadcrumb, ...breadcrumbProps } = {}, footer = {}, full = false, tableOfContentPopover: { enabled: tocPopoverEnabled, component: tocPopover, ...tocPopoverOptions } = {}, tableOfContent: { enabled: tocEnabled, component: tocReplace, ...tocOptions } = {}, toc = [], children, className }) {
23
23
  tocEnabled ??= !full && (toc.length > 0 || tocOptions.footer !== void 0 || tocOptions.header !== void 0);
24
24
  tocPopoverEnabled ??= toc.length > 0 || tocPopoverOptions.header !== void 0 || tocPopoverOptions.footer !== void 0;
25
25
  let wrapper = (children$1) => children$1;
@@ -37,7 +37,7 @@ function DocsPage({ breadcrumb: { enabled: breadcrumbEnabled = true, component:
37
37
  /* @__PURE__ */ jsxs("article", {
38
38
  id: "nd-page",
39
39
  "data-full": full,
40
- className: cn("flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]", full && "*:max-w-[1285px]"),
40
+ className: cn("flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]", full && "*:max-w-[1285px]", className),
41
41
  children: [
42
42
  breadcrumbEnabled && (breadcrumb ?? /* @__PURE__ */ jsx(PageBreadcrumb, { ...breadcrumbProps })),
43
43
  children,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":["children","TOCProvider","TOCScrollArea","TocClerk","TocDefault","I18nLabel"],"sources":["../../../../src/layouts/notebook/page/index.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\nimport { cn } from '@fumadocs/ui/cn';\nimport { buttonVariants } from '@/components/ui/button';\nimport { Edit, Text } from 'lucide-react';\nimport { I18nLabel } from '@/contexts/i18n';\nimport {\n type BreadcrumbProps,\n type FooterProps,\n PageBreadcrumb,\n PageFooter,\n PageTOCPopover,\n PageTOCPopoverContent,\n PageTOCPopoverTrigger,\n} from './client';\nimport type { AnchorProviderProps, TOCItemType } from 'fumadocs-core/toc';\nimport * as TocDefault from '@/components/toc/default';\nimport * as TocClerk from '@/components/toc/clerk';\nimport { TOCProvider, TOCScrollArea } from '@/components/toc';\n\ninterface BreadcrumbOptions extends BreadcrumbProps {\n enabled: boolean;\n component: ReactNode;\n}\n\ninterface FooterOptions extends FooterProps {\n enabled: boolean;\n component: ReactNode;\n}\n\nexport interface DocsPageProps {\n toc?: TOCItemType[];\n tableOfContent?: Partial<TableOfContentOptions>;\n tableOfContentPopover?: Partial<TableOfContentPopoverOptions>;\n\n /**\n * Extend the page to fill all available space\n *\n * @defaultValue false\n */\n full?: boolean;\n\n /**\n * Replace or disable breadcrumb\n */\n breadcrumb?: Partial<BreadcrumbOptions>;\n\n /**\n * Footer navigation, you can disable it by passing `false`\n */\n footer?: Partial<FooterOptions>;\n\n children?: ReactNode;\n}\n\ntype TableOfContentOptions = Pick<AnchorProviderProps, 'single'> & {\n /**\n * Custom content in TOC container, before the main TOC\n */\n header?: ReactNode;\n\n /**\n * Custom content in TOC container, after the main TOC\n */\n footer?: ReactNode;\n\n enabled: boolean;\n component: ReactNode;\n\n /**\n * @defaultValue 'normal'\n */\n style?: 'normal' | 'clerk';\n};\n\ntype TableOfContentPopoverOptions = Omit<TableOfContentOptions, 'single'>;\n\nexport function DocsPage({\n breadcrumb: { enabled: breadcrumbEnabled = true, component: breadcrumb, ...breadcrumbProps } = {},\n footer = {},\n full = false,\n tableOfContentPopover: {\n enabled: tocPopoverEnabled,\n component: tocPopover,\n ...tocPopoverOptions\n } = {},\n tableOfContent: { enabled: tocEnabled, component: tocReplace, ...tocOptions } = {},\n toc = [],\n children,\n}: DocsPageProps) {\n // disable TOC on full mode, you can still enable it with `enabled` option.\n tocEnabled ??=\n !full && (toc.length > 0 || tocOptions.footer !== undefined || tocOptions.header !== undefined);\n\n tocPopoverEnabled ??=\n toc.length > 0 ||\n tocPopoverOptions.header !== undefined ||\n tocPopoverOptions.footer !== undefined;\n\n let wrapper = (children: ReactNode) => children;\n\n if (tocEnabled || tocPopoverEnabled) {\n wrapper = (children) => (\n <TOCProvider single={tocOptions.single} toc={toc}>\n {children}\n </TOCProvider>\n );\n }\n\n return wrapper(\n <>\n {tocPopoverEnabled &&\n (tocPopover ?? (\n <PageTOCPopover>\n <PageTOCPopoverTrigger />\n <PageTOCPopoverContent>\n {tocPopoverOptions.header}\n <TOCScrollArea>\n {tocPopoverOptions.style === 'clerk' ? (\n <TocClerk.TOCItems />\n ) : (\n <TocDefault.TOCItems />\n )}\n </TOCScrollArea>\n {tocPopoverOptions.footer}\n </PageTOCPopoverContent>\n </PageTOCPopover>\n ))}\n <article\n id=\"nd-page\"\n data-full={full}\n className={cn(\n 'flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]',\n full && '*:max-w-[1285px]',\n )}\n >\n {breadcrumbEnabled && (breadcrumb ?? <PageBreadcrumb {...breadcrumbProps} />)}\n {children}\n {footer.enabled !== false && (footer.component ?? <PageFooter items={footer.items} />)}\n </article>\n {tocEnabled &&\n (tocReplace ?? (\n <div\n id=\"nd-toc\"\n className=\"sticky top-(--fd-docs-row-3) [grid-area:toc] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] flex flex-col w-(--fd-toc-width) pt-12 pe-4 pb-2 xl:layout:[--fd-toc-width:268px] max-xl:hidden\"\n >\n {tocOptions.header}\n <h3\n id=\"toc-title\"\n className=\"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground\"\n >\n <Text className=\"size-4\" />\n <I18nLabel label=\"toc\" />\n </h3>\n <TOCScrollArea>\n {tocOptions.style === 'clerk' ? <TocClerk.TOCItems /> : <TocDefault.TOCItems />}\n </TOCScrollArea>\n {tocOptions.footer}\n </div>\n ))}\n </>,\n );\n}\n\nexport function EditOnGitHub(props: ComponentProps<'a'>) {\n return (\n <a\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n {...props}\n className={cn(\n buttonVariants({\n color: 'secondary',\n size: 'sm',\n className: 'gap-1.5 not-prose',\n }),\n props.className,\n )}\n >\n {props.children ?? (\n <>\n <Edit className=\"size-3.5\" />\n <I18nLabel label=\"editOnGithub\" />\n </>\n )}\n </a>\n );\n}\n\n/**\n * Add typography styles\n */\nexport function DocsBody({ children, className, ...props }: ComponentProps<'div'>) {\n return (\n <div {...props} className={cn('prose flex-1', className)}>\n {children}\n </div>\n );\n}\n\nexport function DocsDescription({ children, className, ...props }: ComponentProps<'p'>) {\n // Don't render if no description provided\n if (children === undefined) return null;\n\n return (\n <p {...props} className={cn('mb-8 text-lg text-fd-muted-foreground', className)}>\n {children}\n </p>\n );\n}\n\nexport function DocsTitle({ children, className, ...props }: ComponentProps<'h1'>) {\n return (\n <h1 {...props} className={cn('text-[1.75em] font-semibold', className)}>\n {children}\n </h1>\n );\n}\n\nexport { PageLastUpdate, PageBreadcrumb } from './client';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AA4EA,SAAgB,SAAS,EACvB,YAAY,EAAE,SAAS,oBAAoB,MAAM,WAAW,YAAY,GAAG,oBAAoB,EAAE,EACjG,SAAS,EAAE,EACX,OAAO,OACP,uBAAuB,EACrB,SAAS,mBACT,WAAW,YACX,GAAG,sBACD,EAAE,EACN,gBAAgB,EAAE,SAAS,YAAY,WAAW,YAAY,GAAG,eAAe,E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;AAOR,SAAgB,SAAS,EAAE,UAAU,WAAW,GAAG,SAAgC;AACjF,QACE,oBAAC;EAAI,GAAI;EAAO,WAAW,GAAG,gBAAgB,UAAU;EACrD;GACG;;AAIV,SAAgB,gBAAgB,EAAE,UAAU,WAAW,GAAG,SAA8B;AAEtF,KAAI,aAAa,OAAW,QAAO;AAEnC,QACE,oBAAC;EAAE,GAAI;EAAO,WAAW,GAAG,yCAAyC,UAAU;EAC5E;GACC;;AAIR,SAAgB,UAAU,EAAE,UAAU,WAAW,GAAG,SAA+B;AACjF,QACE,oBAAC;EAAG,GAAI;EAAO,WAAW,GAAG,+BAA+B,UAAU;EACnE;GACE"}
1
+ {"version":3,"file":"index.js","names":["children","TOCProvider","TOCScrollArea","TocClerk","TocDefault","I18nLabel"],"sources":["../../../../src/layouts/notebook/page/index.tsx"],"sourcesContent":["import type { ComponentProps, ReactNode } from 'react';\nimport { cn } from '@fumadocs/ui/cn';\nimport { buttonVariants } from '@/components/ui/button';\nimport { Edit, Text } from 'lucide-react';\nimport { I18nLabel } from '@/contexts/i18n';\nimport {\n type BreadcrumbProps,\n type FooterProps,\n PageBreadcrumb,\n PageFooter,\n PageTOCPopover,\n PageTOCPopoverContent,\n PageTOCPopoverTrigger,\n} from './client';\nimport type { AnchorProviderProps, TOCItemType } from 'fumadocs-core/toc';\nimport * as TocDefault from '@/components/toc/default';\nimport * as TocClerk from '@/components/toc/clerk';\nimport { TOCProvider, TOCScrollArea } from '@/components/toc';\n\ninterface BreadcrumbOptions extends BreadcrumbProps {\n enabled: boolean;\n component: ReactNode;\n}\n\ninterface FooterOptions extends FooterProps {\n enabled: boolean;\n component: ReactNode;\n}\n\nexport interface DocsPageProps {\n toc?: TOCItemType[];\n tableOfContent?: Partial<TableOfContentOptions>;\n tableOfContentPopover?: Partial<TableOfContentPopoverOptions>;\n\n /**\n * Extend the page to fill all available space\n *\n * @defaultValue false\n */\n full?: boolean;\n\n /**\n * Replace or disable breadcrumb\n */\n breadcrumb?: Partial<BreadcrumbOptions>;\n\n /**\n * Footer navigation, you can disable it by passing `false`\n */\n footer?: Partial<FooterOptions>;\n\n children?: ReactNode;\n\n /**\n * Apply class names to the `#nd-page` container.\n */\n className?: string;\n}\n\ntype TableOfContentOptions = Pick<AnchorProviderProps, 'single'> & {\n /**\n * Custom content in TOC container, before the main TOC\n */\n header?: ReactNode;\n\n /**\n * Custom content in TOC container, after the main TOC\n */\n footer?: ReactNode;\n\n enabled: boolean;\n component: ReactNode;\n\n /**\n * @defaultValue 'normal'\n */\n style?: 'normal' | 'clerk';\n};\n\ntype TableOfContentPopoverOptions = Omit<TableOfContentOptions, 'single'>;\n\nexport function DocsPage({\n breadcrumb: { enabled: breadcrumbEnabled = true, component: breadcrumb, ...breadcrumbProps } = {},\n footer = {},\n full = false,\n tableOfContentPopover: {\n enabled: tocPopoverEnabled,\n component: tocPopover,\n ...tocPopoverOptions\n } = {},\n tableOfContent: { enabled: tocEnabled, component: tocReplace, ...tocOptions } = {},\n toc = [],\n children,\n className,\n}: DocsPageProps) {\n // disable TOC on full mode, you can still enable it with `enabled` option.\n tocEnabled ??=\n !full && (toc.length > 0 || tocOptions.footer !== undefined || tocOptions.header !== undefined);\n\n tocPopoverEnabled ??=\n toc.length > 0 ||\n tocPopoverOptions.header !== undefined ||\n tocPopoverOptions.footer !== undefined;\n\n let wrapper = (children: ReactNode) => children;\n\n if (tocEnabled || tocPopoverEnabled) {\n wrapper = (children) => (\n <TOCProvider single={tocOptions.single} toc={toc}>\n {children}\n </TOCProvider>\n );\n }\n\n return wrapper(\n <>\n {tocPopoverEnabled &&\n (tocPopover ?? (\n <PageTOCPopover>\n <PageTOCPopoverTrigger />\n <PageTOCPopoverContent>\n {tocPopoverOptions.header}\n <TOCScrollArea>\n {tocPopoverOptions.style === 'clerk' ? (\n <TocClerk.TOCItems />\n ) : (\n <TocDefault.TOCItems />\n )}\n </TOCScrollArea>\n {tocPopoverOptions.footer}\n </PageTOCPopoverContent>\n </PageTOCPopover>\n ))}\n <article\n id=\"nd-page\"\n data-full={full}\n className={cn(\n 'flex flex-col [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14 *:max-w-[900px]',\n full && '*:max-w-[1285px]',\n className,\n )}\n >\n {breadcrumbEnabled && (breadcrumb ?? <PageBreadcrumb {...breadcrumbProps} />)}\n {children}\n {footer.enabled !== false && (footer.component ?? <PageFooter items={footer.items} />)}\n </article>\n {tocEnabled &&\n (tocReplace ?? (\n <div\n id=\"nd-toc\"\n className=\"sticky top-(--fd-docs-row-3) [grid-area:toc] h-[calc(var(--fd-docs-height)-var(--fd-docs-row-3))] flex flex-col w-(--fd-toc-width) pt-12 pe-4 pb-2 xl:layout:[--fd-toc-width:268px] max-xl:hidden\"\n >\n {tocOptions.header}\n <h3\n id=\"toc-title\"\n className=\"inline-flex items-center gap-1.5 text-sm text-fd-muted-foreground\"\n >\n <Text className=\"size-4\" />\n <I18nLabel label=\"toc\" />\n </h3>\n <TOCScrollArea>\n {tocOptions.style === 'clerk' ? <TocClerk.TOCItems /> : <TocDefault.TOCItems />}\n </TOCScrollArea>\n {tocOptions.footer}\n </div>\n ))}\n </>,\n );\n}\n\nexport function EditOnGitHub(props: ComponentProps<'a'>) {\n return (\n <a\n target=\"_blank\"\n rel=\"noreferrer noopener\"\n {...props}\n className={cn(\n buttonVariants({\n color: 'secondary',\n size: 'sm',\n className: 'gap-1.5 not-prose',\n }),\n props.className,\n )}\n >\n {props.children ?? (\n <>\n <Edit className=\"size-3.5\" />\n <I18nLabel label=\"editOnGithub\" />\n </>\n )}\n </a>\n );\n}\n\n/**\n * Add typography styles\n */\nexport function DocsBody({ children, className, ...props }: ComponentProps<'div'>) {\n return (\n <div {...props} className={cn('prose flex-1', className)}>\n {children}\n </div>\n );\n}\n\nexport function DocsDescription({ children, className, ...props }: ComponentProps<'p'>) {\n // Don't render if no description provided\n if (children === undefined) return null;\n\n return (\n <p {...props} className={cn('mb-8 text-lg text-fd-muted-foreground', className)}>\n {children}\n </p>\n );\n}\n\nexport function DocsTitle({ children, className, ...props }: ComponentProps<'h1'>) {\n return (\n <h1 {...props} className={cn('text-[1.75em] font-semibold', className)}>\n {children}\n </h1>\n );\n}\n\nexport { PageLastUpdate, PageBreadcrumb } from './client';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;AAiFA,SAAgB,SAAS,EACvB,YAAY,EAAE,SAAS,oBAAoB,MAAM,WAAW,YAAY,GAAG,oBAAoB,EAAE,EACjG,SAAS,EAAE,EACX,OAAO,OACP,uBAAuB,EACrB,SAAS,mBACT,WAAW,YACX,GAAG,sBACD,EAAE,EACN,gBAAgB,EAAE,SAAS,YAAY,WAAW,YAAY,GAAG,eAAe,EAAE,EAClF,MAAM,EAAE,EACR,UACA,aACgB;AAEhB,gBACE,CAAC,SAAS,IAAI,SAAS,KAAK,WAAW,WAAW,UAAa,WAAW,WAAW;AAEvF,uBACE,IAAI,SAAS,KACb,kBAAkB,WAAW,UAC7B,kBAAkB,WAAW;CAE/B,IAAI,WAAW,eAAwBA;AAEvC,KAAI,cAAc,kBAChB,YAAW,eACT,oBAACC;EAAY,QAAQ,WAAW;EAAa;YAC1CD;GACW;AAIlB,QAAO,QACL;EACG,sBACE,cACC,qBAAC,6BACC,oBAAC,0BAAwB,EACzB,qBAAC;GACE,kBAAkB;GACnB,oBAACE,uCACE,kBAAkB,UAAU,UAC3B,oBAACC,cAAS,aAAW,GAErB,oBAACC,gBAAW,aAAW,GAEX;GACf,kBAAkB;MACG,IACT;EAErB,qBAAC;GACC,IAAG;GACH,aAAW;GACX,WAAW,GACT,mGACA,QAAQ,oBACR,UACD;;IAEA,sBAAsB,cAAc,oBAAC,kBAAe,GAAI,kBAAmB;IAC3E;IACA,OAAO,YAAY,UAAU,OAAO,aAAa,oBAAC,cAAW,OAAO,OAAO,QAAS;;IAC7E;EACT,eACE,cACC,qBAAC;GACC,IAAG;GACH,WAAU;;IAET,WAAW;IACZ,qBAAC;KACC,IAAG;KACH,WAAU;gBAEV,oBAAC,QAAK,WAAU,WAAW,EAC3B,oBAACC,0BAAU,OAAM,QAAQ;MACtB;IACL,oBAACH,uCACE,WAAW,UAAU,UAAU,oBAACC,cAAS,aAAW,GAAG,oBAACC,gBAAW,aAAW,GACjE;IACf,WAAW;;IACR;KAET,CACJ;;AAGH,SAAgB,aAAa,OAA4B;AACvD,QACE,oBAAC;EACC,QAAO;EACP,KAAI;EACJ,GAAI;EACJ,WAAW,GACT,eAAe;GACb,OAAO;GACP,MAAM;GACN,WAAW;GACZ,CAAC,EACF,MAAM,UACP;YAEA,MAAM,YACL,4CACE,oBAAC,QAAK,WAAU,aAAa,EAC7B,oBAACC,0BAAU,OAAM,iBAAiB,IACjC;GAEH;;;;;AAOR,SAAgB,SAAS,EAAE,UAAU,WAAW,GAAG,SAAgC;AACjF,QACE,oBAAC;EAAI,GAAI;EAAO,WAAW,GAAG,gBAAgB,UAAU;EACrD;GACG;;AAIV,SAAgB,gBAAgB,EAAE,UAAU,WAAW,GAAG,SAA8B;AAEtF,KAAI,aAAa,OAAW,QAAO;AAEnC,QACE,oBAAC;EAAE,GAAI;EAAO,WAAW,GAAG,yCAAyC,UAAU;EAC5E;GACC;;AAIR,SAAgB,UAAU,EAAE,UAAU,WAAW,GAAG,SAA+B;AACjF,QACE,oBAAC;EAAG,GAAI;EAAO,WAAW,GAAG,+BAA+B,UAAU;EACnE;GACE"}
@@ -1,7 +1,7 @@
1
1
  import { SidebarCollapseTrigger as SidebarCollapseTrigger$1, SidebarDrawerContent, SidebarFolder as SidebarFolder$1, SidebarFolderContent as SidebarFolderContent$1, SidebarFolderLink as SidebarFolderLink$1, SidebarFolderTrigger as SidebarFolderTrigger$1, SidebarItem as SidebarItem$1, SidebarProvider, SidebarTrigger as SidebarTrigger$1, SidebarViewport as SidebarViewport$1 } from "../../components/sidebar/base.js";
2
2
  import { SidebarPageTreeComponents } from "../../components/sidebar/page-tree.js";
3
- import * as react_jsx_runtime69 from "react/jsx-runtime";
4
- import * as react10 from "react";
3
+ import * as react_jsx_runtime122 from "react/jsx-runtime";
4
+ import * as react14 from "react";
5
5
  import { ComponentProps } from "react";
6
6
  import * as _fumadocs_ui_link_item0 from "@fumadocs/ui/link-item";
7
7
 
@@ -12,48 +12,48 @@ declare function SidebarContent({
12
12
  className,
13
13
  children,
14
14
  ...props
15
- }: ComponentProps<'aside'>): react_jsx_runtime69.JSX.Element;
15
+ }: ComponentProps<'aside'>): react_jsx_runtime122.JSX.Element;
16
16
  declare function SidebarDrawer({
17
17
  children,
18
18
  className,
19
19
  ...props
20
- }: ComponentProps<typeof SidebarDrawerContent>): react_jsx_runtime69.JSX.Element;
20
+ }: ComponentProps<typeof SidebarDrawerContent>): react_jsx_runtime122.JSX.Element;
21
21
  declare function SidebarSeparator({
22
22
  className,
23
23
  style,
24
24
  children,
25
25
  ...props
26
- }: ComponentProps<'p'>): react_jsx_runtime69.JSX.Element;
26
+ }: ComponentProps<'p'>): react_jsx_runtime122.JSX.Element;
27
27
  declare function SidebarItem({
28
28
  className,
29
29
  style,
30
30
  children,
31
31
  ...props
32
- }: ComponentProps<typeof SidebarItem$1>): react_jsx_runtime69.JSX.Element;
32
+ }: ComponentProps<typeof SidebarItem$1>): react_jsx_runtime122.JSX.Element;
33
33
  declare function SidebarFolderTrigger({
34
34
  className,
35
35
  style,
36
36
  ...props
37
- }: ComponentProps<typeof SidebarFolderTrigger$1>): react_jsx_runtime69.JSX.Element;
37
+ }: ComponentProps<typeof SidebarFolderTrigger$1>): react_jsx_runtime122.JSX.Element;
38
38
  declare function SidebarFolderLink({
39
39
  className,
40
40
  style,
41
41
  ...props
42
- }: ComponentProps<typeof SidebarFolderLink$1>): react_jsx_runtime69.JSX.Element;
42
+ }: ComponentProps<typeof SidebarFolderLink$1>): react_jsx_runtime122.JSX.Element;
43
43
  declare function SidebarFolderContent({
44
44
  className,
45
45
  children,
46
46
  ...props
47
- }: ComponentProps<typeof SidebarFolderContent$1>): react_jsx_runtime69.JSX.Element;
48
- declare const SidebarPageTree: (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime69.JSX.Element;
47
+ }: ComponentProps<typeof SidebarFolderContent$1>): react_jsx_runtime122.JSX.Element;
48
+ declare const SidebarPageTree: (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime122.JSX.Element;
49
49
  declare const SidebarLinkItem: ({
50
50
  item,
51
51
  ...props
52
- }: react10.HTMLAttributes<HTMLElement> & {
52
+ }: react14.HTMLAttributes<HTMLElement> & {
53
53
  item: Exclude<_fumadocs_ui_link_item0.LinkItemType, {
54
54
  type: "icon";
55
55
  }>;
56
- }) => react_jsx_runtime69.JSX.Element;
56
+ }) => react_jsx_runtime122.JSX.Element;
57
57
  //#endregion
58
58
  export { Sidebar, SidebarCollapseTrigger, SidebarContent, SidebarDrawer, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarLinkItem, SidebarPageTree, SidebarSeparator, SidebarTrigger, SidebarViewport };
59
59
  //# sourceMappingURL=sidebar.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sidebar.d.ts","names":[],"sources":["../../../src/layouts/notebook/sidebar.tsx"],"sourcesContent":[],"mappings":";;;;;;;;cA+BmB,gBAAO,uCACX,gDACS,kDACP,0CACD;iBAGA,cAAA;OACT;;;;GAIJ,0BAAuB,mBAAA,CAAA,GAAA,CAAA;iBA+CV,aAAA;;;;GAIb,sBAAsB,wBAA0B,mBAAA,CAAA,GAAA,CAAA;iBAiBnC,gBAAA;;;;;GAA2D,sBAAmB,mBAAA,CAAA,GAAA,CAAA;iBAiB9E,WAAA;;;;;GAKb,sBAAsB,iBAAiB,mBAAA,CAAA,GAAA,CAAA;iBAiB1B,oBAAA;;;;GAIb,sBAAsB,0BAA0B,mBAAA,CAAA,GAAA,CAAA;AA3HhC,iBAkJH,iBAAA,CAlJU;EAAA,SAAA;EAAA,KAAA;EAAA,GAAA;AAAA,CAAA,EAsJvB,cAtJuB,CAAA,OAsJD,mBAtJC,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AA,QAAA;EAAA,GAAA;AAAA,CAAA,EA2KvB,cA3KuB,CAAA,OA2KD,sBA3KC,CAAA,CAAA,EA2KyB,oBAAA,CAAA,GAAA,CAAA,OA3KzB;AACX,cA6LF,eA7LE,EAAA,CAAA,UAAA,EA6La,OA7Lb,CAoMb,yBAAA,CApMa,EAAA,GA6La,oBAAA,CAAA,GAAA,CAAA,OA7Lb;AACS,cAqMX,eArMW,EAAA,CAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAqMI,OAAA,CAAA,cArMJ,CAqMI,WArMJ,CAAA,GAAA;EACP,IAAA,SAAA,CAoMW,uBAAA,CAAA,YAAA,EApMX;IACD,IAAA,EAAA,MAAA;EACR,CAAA,CAAA;sCAJN"}
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime78 from "react/jsx-runtime";
2
- import * as react11 from "react";
1
+ import * as react_jsx_runtime131 from "react/jsx-runtime";
2
+ import * as react15 from "react";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
  import { LinkItemType } from "@fumadocs/ui/link-item";
5
5
  import { I18nConfig } from "fumadocs-core/i18n";
@@ -63,7 +63,7 @@ declare function resolveLinkItems({
63
63
  declare function renderTitleNav({
64
64
  title,
65
65
  url
66
- }: Partial<NavOptions>, props: ComponentProps<'a'>): string | number | bigint | boolean | react_jsx_runtime78.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react11.ReactPortal | react11.ReactElement<unknown, string | react11.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
66
+ }: Partial<NavOptions>, props: ComponentProps<'a'>): string | number | bigint | boolean | react_jsx_runtime131.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react15.ReactPortal | react15.ReactElement<unknown, string | react15.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
67
67
  //#endregion
68
68
  export { BaseLayoutProps, NavOptions, renderTitleNav, resolveLinkItems };
69
69
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/layouts/shared/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAKiB,UAAA;;aAEJ;UAEH,qBAAqB,wBAAwB;;;AAJvD;;EAIU,GAAA,CAAA,EAAA,MAAA;EAAqB;;;;AAkB/B;EAGgB,eAAA,CAAA,EAAA,QAAA,GAAA,KAAA,GAAA,MAAA;EAON,QAAA,CAAA,EAbG,SAaH;;AADM,UATC,eAAA,CASD;EAFC,WAAA,CAAA,EAAA;IAaE,OAAA,CAAA,EAAA,OAAA;IAOT,SAAA,CAAA,EAxBM,SAwBN;IAIM,IAAA,CAAA,EAAA,YAAA,GAAA,mBAAA;EAAR,CAAA;EAEK,YAAA,CAAA,EA1BI,OA0BJ,CAAA;IAAS,OAAA,EAAA,OAAA;IAMN,UAAA,EA9BA,OA8BgB,CAAA;MAC9B,EAAA,EA9BQ,SA8BR;MACA,EAAA,EA9BQ,SA8BR;IACM,CAAA,CAAA;EAAL,CAAA,CAAA;EAA+C;;AAoBlD;;;EACgC,IAAA,CAAA,EAAA,OAAA,GA3Cb,UA2Ca;EAAR;;;EACI,SAAA,CAAA,EAAA,MAAA;EAAA,KAAA,CAAA,EArClB,YAqCkB,EAAA;EAAA;;;EAAA,GAAA,CAAA,EAjCpB,OAiCoB,CAjCZ,UAiCY,CAAA;EAAA,QAAA,CAAA,EA/Bf,SA+Be;;;;;iBAzBZ,gBAAA;;;GAGb,KAAK,0CAA0C;iBAoBlC,cAAA;;;GACQ,QAAQ,oBACvB,2DAAmB,mBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,SAAA,aAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/layouts/shared/index.tsx"],"sourcesContent":[],"mappings":";;;;;;;;UAKiB,UAAA;;aAEJ;UAEH,qBAAqB,wBAAwB;;;AAJvD;;EAIU,GAAA,CAAA,EAAA,MAAA;EAAqB;;;;AAkB/B;EAGgB,eAAA,CAAA,EAAA,QAAA,GAAA,KAAA,GAAA,MAAA;EAON,QAAA,CAAA,EAbG,SAaH;;AADM,UATC,eAAA,CASD;EAFC,WAAA,CAAA,EAAA;IAaE,OAAA,CAAA,EAAA,OAAA;IAOT,SAAA,CAAA,EAxBM,SAwBN;IAIM,IAAA,CAAA,EAAA,YAAA,GAAA,mBAAA;EAAR,CAAA;EAEK,YAAA,CAAA,EA1BI,OA0BJ,CAAA;IAAS,OAAA,EAAA,OAAA;IAMN,UAAA,EA9BA,OA8BgB,CAAA;MAC9B,EAAA,EA9BQ,SA8BR;MACA,EAAA,EA9BQ,SA8BR;IACM,CAAA,CAAA;EAAL,CAAA,CAAA;EAA+C;;AAoBlD;;;EACgC,IAAA,CAAA,EAAA,OAAA,GA3Cb,UA2Ca;EAAR;;;EACI,SAAA,CAAA,EAAA,MAAA;EAAA,KAAA,CAAA,EArClB,YAqCkB,EAAA;EAAA;;;EAAA,GAAA,CAAA,EAjCpB,OAiCoB,CAjCZ,UAiCY,CAAA;EAAA,QAAA,CAAA,EA/Bf,SA+Be;;;;;iBAzBZ,gBAAA;;;GAGb,KAAK,0CAA0C;iBAoBlC,cAAA;;;GACQ,QAAQ,oBACvB,2DAAmB,oBAAA,CAAA,GAAA,CAAA,OAAA,GAAA,SAAA,aAAA,6CAAA,OAAA,CAAA,WAAA,GAAA,OAAA,CAAA,+BAAA,OAAA,CAAA,8BAAA,SAAA"}
@@ -1,10 +1,10 @@
1
- import * as react_jsx_runtime50 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime140 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
 
4
4
  //#region src/layouts/shared/language-toggle.d.ts
5
5
  type LanguageSelectProps = ComponentProps<'button'>;
6
6
  declare function LanguageToggle(props: LanguageSelectProps): React.ReactElement;
7
- declare function LanguageToggleText(props: ComponentProps<'span'>): react_jsx_runtime50.JSX.Element;
7
+ declare function LanguageToggleText(props: ComponentProps<'span'>): react_jsx_runtime140.JSX.Element;
8
8
  //#endregion
9
9
  export { LanguageSelectProps, LanguageToggle, LanguageToggleText };
10
10
  //# sourceMappingURL=language-toggle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"language-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/language-toggle.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,mBAAA,GAAsB;iBAElB,cAAA,QAAsB,sBAAsB,KAAA,CAAM;iBA6ClD,kBAAA,QAA0B,yBAAsB,mBAAA,CAAA,GAAA,CAAA"}
1
+ {"version":3,"file":"language-toggle.d.ts","names":[],"sources":["../../../src/layouts/shared/language-toggle.tsx"],"sourcesContent":[],"mappings":";;;;KAOY,mBAAA,GAAsB;iBAElB,cAAA,QAAsB,sBAAsB,KAAA,CAAM;iBA6ClD,kBAAA,QAA0B,yBAAsB,oBAAA,CAAA,GAAA,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import { ButtonProps } from "../../components/ui/button.js";
2
- import * as react_jsx_runtime83 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime99 from "react/jsx-runtime";
3
3
  import { ComponentProps } from "react";
4
4
 
5
5
  //#region src/layouts/shared/search-toggle.d.ts
@@ -11,13 +11,13 @@ declare function SearchToggle({
11
11
  size,
12
12
  color,
13
13
  ...props
14
- }: SearchToggleProps): react_jsx_runtime83.JSX.Element | null;
14
+ }: SearchToggleProps): react_jsx_runtime99.JSX.Element | null;
15
15
  declare function LargeSearchToggle({
16
16
  hideIfDisabled,
17
17
  ...props
18
18
  }: ComponentProps<'button'> & {
19
19
  hideIfDisabled?: boolean;
20
- }): react_jsx_runtime83.JSX.Element | null;
20
+ }): react_jsx_runtime99.JSX.Element | null;
21
21
  //#endregion
22
22
  export { LargeSearchToggle, SearchToggle };
23
23
  //# sourceMappingURL=search-toggle.d.ts.map