@fumadocs/base-ui 16.4.2 → 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 (71) 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 -19
  19. package/dist/components/sidebar/base.d.ts.map +1 -1
  20. package/dist/components/sidebar/base.js +6 -2
  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/page-tree.d.ts.map +1 -1
  25. package/dist/components/sidebar/tabs/dropdown.d.ts +2 -2
  26. package/dist/components/sidebar/tabs/dropdown.d.ts.map +1 -1
  27. package/dist/components/steps.d.ts +3 -3
  28. package/dist/components/tabs.d.ts +4 -4
  29. package/dist/components/type-table.d.ts +2 -2
  30. package/dist/components/ui/accordion.d.ts +6 -6
  31. package/dist/components/ui/accordion.d.ts.map +1 -1
  32. package/dist/components/ui/collapsible.d.ts +5 -5
  33. package/dist/components/ui/tabs.d.ts +6 -6
  34. package/dist/layouts/docs/client.d.ts +7 -7
  35. package/dist/layouts/docs/client.d.ts.map +1 -1
  36. package/dist/layouts/docs/index.d.ts +2 -2
  37. package/dist/layouts/docs/page/client.d.ts +7 -7
  38. package/dist/layouts/docs/page/index.d.ts +11 -6
  39. package/dist/layouts/docs/page/index.d.ts.map +1 -1
  40. package/dist/layouts/docs/page/index.js +2 -2
  41. package/dist/layouts/docs/page/index.js.map +1 -1
  42. package/dist/layouts/docs/sidebar.d.ts +17 -17
  43. package/dist/layouts/docs/sidebar.d.ts.map +1 -1
  44. package/dist/layouts/home/client.d.ts +3 -3
  45. package/dist/layouts/home/index.d.ts +2 -2
  46. package/dist/layouts/home/navbar.d.ts +6 -6
  47. package/dist/layouts/home/navbar.d.ts.map +1 -1
  48. package/dist/layouts/notebook/client.d.ts +8 -8
  49. package/dist/layouts/notebook/client.d.ts.map +1 -1
  50. package/dist/layouts/notebook/index.d.ts +2 -2
  51. package/dist/layouts/notebook/page/client.d.ts +7 -7
  52. package/dist/layouts/notebook/page/index.d.ts +11 -6
  53. package/dist/layouts/notebook/page/index.d.ts.map +1 -1
  54. package/dist/layouts/notebook/page/index.js +2 -2
  55. package/dist/layouts/notebook/page/index.js.map +1 -1
  56. package/dist/layouts/notebook/sidebar.d.ts +12 -12
  57. package/dist/layouts/notebook/sidebar.d.ts.map +1 -1
  58. package/dist/layouts/shared/index.d.ts +3 -3
  59. package/dist/layouts/shared/language-toggle.d.ts +2 -2
  60. package/dist/layouts/shared/search-toggle.d.ts +3 -3
  61. package/dist/layouts/shared/search-toggle.d.ts.map +1 -1
  62. package/dist/layouts/shared/theme-toggle.d.ts +2 -2
  63. package/dist/page.d.ts +3 -3
  64. package/dist/page.d.ts.map +1 -1
  65. package/dist/provider/base.d.ts +2 -2
  66. package/dist/provider/next.d.ts +2 -2
  67. package/dist/provider/react-router.d.ts +2 -2
  68. package/dist/provider/react-router.d.ts.map +1 -1
  69. package/dist/provider/tanstack.d.ts +2 -2
  70. package/dist/provider/waku.d.ts +2 -2
  71. package/package.json +5 -5
@@ -1 +1 @@
1
- {"version":3,"file":"page-tree.d.ts","names":[],"sources":["../../../src/components/sidebar/page-tree.tsx"],"sourcesContent":[],"mappings":";;;;;;UAKiB,yBAAA;QACT;UAAW,QAAA,CAAS;EADX,CAAA,CAAA;EACE,MAAS,EAClB,EADkB,CAAA;IAApB,IAAA,EACa,QAAA,CAAS,MADtB;IACa,QAAS,EAAkB,SAAlB;EAAkB,CAAA,CAAA;EAAtC,SAAA,EACG,EADH,CAAA;IACc,IAAS,EAAT,QAAA,CAAS,SAAA;EAApB,CAAA,CAAA;;AACZ,KAEI,kBAAA,GAAqB,IAAH,CAAA,OACd,cAAA,EAAA,kBADqB,GAAA,eAAA,GAAA,mBAAA,GAAA,sBAAA,GAAA,sBAAA,GAAA,aAAA,CAAA;AAUd,iBAAA,sBAAA,CAAsB;EAAA,aAAA;EAAA,oBAAA;EAAA,iBAAA;EAAA,oBAAA;EAAA,gBAAA;EAAA;AAAA,CAAA,EAOnC,kBAPmC,CAAA,EAAA,CAAA,UAAA,EAoCQ,OApCR,CAoCgB,yBApChB,CAAA,EAAA,GAoC0C,kBAAA,CAAA,GAAA,CAAA,OApC1C"}
1
+ {"version":3,"file":"page-tree.d.ts","names":[],"sources":["../../../src/components/sidebar/page-tree.tsx"],"sourcesContent":[],"mappings":";;;;;;UAKiB,yBAAA;QACT;UAAW,QAAA,CAAS;EADX,CAAA,CAAA;EACE,MAAS,EAClB,EADkB,CAAA;IAApB,IAAA,EACa,QAAA,CAAS,MADtB;IACa,QAAS,EAAkB,SAAlB;EAAkB,CAAA,CAAA;EAAtC,SAAA,EACG,EADH,CAAA;IACc,IAAS,EAAT,QAAA,CAAS,SAAA;EAApB,CAAA,CAAA;;AACZ,KAEI,kBAAA,GAAqB,IAAH,CAAA,OACd,cAAA,EAAA,kBADqB,GAAA,eAAA,GAAA,mBAAA,GAAA,sBAAA,GAAA,sBAAA,GAAA,aAAA,CAAA;AAUd,iBAAA,sBAAA,CAAsB;EAAA,aAAA;EAAA,oBAAA;EAAA,iBAAA;EAAA,oBAAA;EAAA,gBAAA;EAAA;AAAA,CAAA,EAOnC,kBAPmC,CAAA,EAAA,CAAA,UAAA,EAoCQ,OApCR,CAoCgB,yBApChB,CAAA,EAAA,GAoC0C,mBAAA,CAAA,GAAA,CAAA,OApC1C"}
@@ -1,5 +1,5 @@
1
1
  import { SidebarTab } from "./index.js";
2
- import * as react_jsx_runtime122 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime98 from "react/jsx-runtime";
3
3
  import { ComponentProps, ReactNode } from "react";
4
4
 
5
5
  //#region src/components/sidebar/tabs/dropdown.d.ts
@@ -13,7 +13,7 @@ declare function SidebarTabsDropdown({
13
13
  }: {
14
14
  placeholder?: ReactNode;
15
15
  options: SidebarTabWithProps[];
16
- } & ComponentProps<'button'>): react_jsx_runtime122.JSX.Element;
16
+ } & ComponentProps<'button'>): react_jsx_runtime98.JSX.Element;
17
17
  declare function isTabActive(tab: SidebarTab, pathname: string): boolean;
18
18
  //#endregion
19
19
  export { SidebarTabWithProps, SidebarTabsDropdown, isTabActive };
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown.d.ts","names":[],"sources":["../../../../src/components/sidebar/tabs/dropdown.tsx"],"sourcesContent":[],"mappings":";;;;;UAWiB,mBAAA,SAA4B;UACnC;;AADO,iBAID,mBAAA,CAHN;EAAA,OAAA;EADmC,WAAU;EAAA,GAAA;AAMrD,CANqD,EAAA;EAIvC,WAAA,CAAA,EAKA,SALmB;EACjC,OAAA,EAKS,mBALT,EAAA;CACA,GAKE,cALF,CAAA,QAAA,CAAA,CAAA,EAK0B,oBAAA,CAAA,GAAA,CAAA,OAL1B;AAGc,iBAkFA,WAAA,CAlFA,GAAA,EAkFiB,UAlFjB,EAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA"}
1
+ {"version":3,"file":"dropdown.d.ts","names":[],"sources":["../../../../src/components/sidebar/tabs/dropdown.tsx"],"sourcesContent":[],"mappings":";;;;;UAWiB,mBAAA,SAA4B;UACnC;;AADO,iBAID,mBAAA,CAHN;EAAA,OAAA;EADmC,WAAU;EAAA,GAAA;AAMrD,CANqD,EAAA;EAIvC,WAAA,CAAA,EAKA,SALmB;EACjC,OAAA,EAKS,mBALT,EAAA;CACA,GAKE,cALF,CAAA,QAAA,CAAA,CAAA,EAK0B,mBAAA,CAAA,GAAA,CAAA,OAL1B;AAGc,iBAkFA,WAAA,CAlFA,GAAA,EAkFiB,UAlFjB,EAAA,QAAA,EAAA,MAAA,CAAA,EAAA,OAAA"}
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime47 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime24 from "react/jsx-runtime";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/components/steps.d.ts
@@ -6,12 +6,12 @@ declare function Steps({
6
6
  children
7
7
  }: {
8
8
  children: ReactNode;
9
- }): react_jsx_runtime47.JSX.Element;
9
+ }): react_jsx_runtime24.JSX.Element;
10
10
  declare function Step({
11
11
  children
12
12
  }: {
13
13
  children: ReactNode;
14
- }): react_jsx_runtime47.JSX.Element;
14
+ }): react_jsx_runtime24.JSX.Element;
15
15
  //#endregion
16
16
  export { Step, Steps };
17
17
  //# sourceMappingURL=steps.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Tabs as Tabs$1, TabsContent as TabsContent$1 } from "./ui/tabs.js";
2
- import * as react_jsx_runtime43 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime26 from "react/jsx-runtime";
3
3
  import * as React from "react";
4
4
  import { ComponentProps, ReactNode } from "react";
5
5
  import * as _base_ui_react0 from "@base-ui/react";
@@ -31,7 +31,7 @@ declare function Tabs({
31
31
  defaultIndex,
32
32
  defaultValue,
33
33
  ...props
34
- }: TabsProps): react_jsx_runtime43.JSX.Element;
34
+ }: TabsProps): react_jsx_runtime26.JSX.Element;
35
35
  interface TabProps extends Omit<ComponentProps<typeof TabsContent$1>, 'value'> {
36
36
  /**
37
37
  * Value of tab, detect from index if unspecified.
@@ -41,12 +41,12 @@ interface TabProps extends Omit<ComponentProps<typeof TabsContent$1>, 'value'> {
41
41
  declare function Tab({
42
42
  value,
43
43
  ...props
44
- }: TabProps): react_jsx_runtime43.JSX.Element;
44
+ }: TabProps): react_jsx_runtime26.JSX.Element;
45
45
  declare function TabsContent({
46
46
  value,
47
47
  className,
48
48
  ...props
49
- }: ComponentProps<typeof TabsContent$1>): react_jsx_runtime43.JSX.Element;
49
+ }: ComponentProps<typeof TabsContent$1>): react_jsx_runtime26.JSX.Element;
50
50
  //#endregion
51
51
  export { Tab, TabProps, Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
52
52
  //# sourceMappingURL=tabs.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime46 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime29 from "react/jsx-runtime";
2
2
  import { ReactNode } from "react";
3
3
 
4
4
  //#region src/components/type-table.d.ts
@@ -33,7 +33,7 @@ declare function TypeTable({
33
33
  type
34
34
  }: {
35
35
  type: Record<string, TypeNode>;
36
- }): react_jsx_runtime46.JSX.Element;
36
+ }): react_jsx_runtime29.JSX.Element;
37
37
  //#endregion
38
38
  export { ParameterNode, TypeNode, TypeTable };
39
39
  //# sourceMappingURL=type-table.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime137 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime64 from "react/jsx-runtime";
2
2
  import { ComponentProps } from "react";
3
3
  import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
4
4
 
@@ -6,26 +6,26 @@ import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
6
6
  declare function Accordion({
7
7
  className,
8
8
  ...props
9
- }: ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime137.JSX.Element;
9
+ }: ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime64.JSX.Element;
10
10
  declare function AccordionItem({
11
11
  children,
12
12
  ...props
13
- }: ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime137.JSX.Element;
13
+ }: ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime64.JSX.Element;
14
14
  declare function AccordionHeader({
15
15
  className,
16
16
  children,
17
17
  ...props
18
- }: ComponentProps<typeof Accordion$1.Header>): react_jsx_runtime137.JSX.Element;
18
+ }: ComponentProps<typeof Accordion$1.Header>): react_jsx_runtime64.JSX.Element;
19
19
  declare function AccordionTrigger({
20
20
  className,
21
21
  children,
22
22
  ...props
23
- }: ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime137.JSX.Element;
23
+ }: ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime64.JSX.Element;
24
24
  declare function AccordionContent({
25
25
  className,
26
26
  children,
27
27
  ...props
28
- }: ComponentProps<typeof Accordion$1.Panel>): react_jsx_runtime137.JSX.Element;
28
+ }: ComponentProps<typeof Accordion$1.Panel>): react_jsx_runtime64.JSX.Element;
29
29
  //#endregion
30
30
  export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger };
31
31
  //# sourceMappingURL=accordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"accordion.d.ts","names":[],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,SAAA;;;GAAmC,sBAAsB,WAAA,CAAU,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAcxE,aAAA;;;GAAsC,sBAAsB,WAAA,CAAU,QAAK,oBAAA,CAAA,GAAA,CAAA;iBAI3E,eAAA;;;;GAIb,sBAAsB,WAAA,CAAU,UAAO,oBAAA,CAAA,GAAA,CAAA;AAtB1B,iBAsCA,gBAAA,CAtCS;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0CtB,cA1CsB,CAAA,OA0CA,WAAA,CAAU,OA1CV,CAAA,CAAA,EA0CkB,oBAAA,CAAA,GAAA,CAAA,OA1ClB;AAAG,iBA2DZ,gBAAA,CA3DY;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA+DzB,cA/DyB,CAAA,OA+DH,WAAA,CAAU,KA/DP,CAAA,CAAA,EA+Da,oBAAA,CAAA,GAAA,CAAA,OA/Db"}
1
+ {"version":3,"file":"accordion.d.ts","names":[],"sources":["../../../src/components/ui/accordion.tsx"],"sourcesContent":[],"mappings":";;;;;iBAOgB,SAAA;;;GAAmC,sBAAsB,WAAA,CAAU,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAcxE,aAAA;;;GAAsC,sBAAsB,WAAA,CAAU,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAI3E,eAAA;;;;GAIb,sBAAsB,WAAA,CAAU,UAAO,mBAAA,CAAA,GAAA,CAAA;AAtB1B,iBAsCA,gBAAA,CAtCS;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA0CtB,cA1CsB,CAAA,OA0CA,WAAA,CAAU,OA1CV,CAAA,CAAA,EA0CkB,mBAAA,CAAA,GAAA,CAAA,OA1ClB;AAAG,iBA2DZ,gBAAA,CA3DY;EAAA,SAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA+DzB,cA/DyB,CAAA,OA+DH,WAAA,CAAU,KA/DP,CAAA,CAAA,EA+Da,mBAAA,CAAA,GAAA,CAAA,OA/Db"}
@@ -1,17 +1,17 @@
1
- import * as react_jsx_runtime61 from "react/jsx-runtime";
2
- import * as react4 from "react";
1
+ import * as react_jsx_runtime69 from "react/jsx-runtime";
2
+ import * as react0 from "react";
3
3
  import { ComponentProps } from "react";
4
4
  import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
5
5
  import * as _base_ui_react1 from "@base-ui/react";
6
6
 
7
7
  //#region src/components/ui/collapsible.d.ts
8
- declare const Collapsible: react4.ForwardRefExoticComponent<_base_ui_react1.CollapsibleRootProps & react4.RefAttributes<HTMLDivElement>>;
9
- declare const CollapsibleTrigger: react4.ForwardRefExoticComponent<_base_ui_react1.CollapsibleTriggerProps & react4.RefAttributes<HTMLButtonElement>>;
8
+ declare const Collapsible: react0.ForwardRefExoticComponent<_base_ui_react1.CollapsibleRootProps & react0.RefAttributes<HTMLDivElement>>;
9
+ declare const CollapsibleTrigger: react0.ForwardRefExoticComponent<_base_ui_react1.CollapsibleTriggerProps & react0.RefAttributes<HTMLButtonElement>>;
10
10
  declare function CollapsibleContent({
11
11
  children,
12
12
  className,
13
13
  ...props
14
- }: ComponentProps<typeof Collapsible$1.Panel>): react_jsx_runtime61.JSX.Element;
14
+ }: ComponentProps<typeof Collapsible$1.Panel>): react_jsx_runtime69.JSX.Element;
15
15
  type CollapsibleProps = Collapsible$1.Root.Props;
16
16
  type CollapsibleContentProps = Collapsible$1.Panel.Props;
17
17
  type CollapsibleTriggerProps = Collapsible$1.Trigger.Props;
@@ -1,5 +1,5 @@
1
- import * as react_jsx_runtime62 from "react/jsx-runtime";
2
- import * as react8 from "react";
1
+ import * as react_jsx_runtime74 from "react/jsx-runtime";
2
+ import * as react5 from "react";
3
3
  import { ComponentProps } from "react";
4
4
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
5
5
  import * as _base_ui_react15 from "@base-ui/react";
@@ -20,8 +20,8 @@ interface TabsProps extends ComponentProps<typeof Tabs$1.Root> {
20
20
  updateAnchor?: boolean;
21
21
  onValueChange?: (value: string) => void;
22
22
  }
23
- declare const TabsList: react8.ForwardRefExoticComponent<_base_ui_react15.TabsListProps & react8.RefAttributes<HTMLDivElement>>;
24
- declare const TabsTrigger: react8.ForwardRefExoticComponent<_base_ui_react15.TabsTabProps & react8.RefAttributes<Element>>;
23
+ declare const TabsList: react5.ForwardRefExoticComponent<_base_ui_react15.TabsListProps & react5.RefAttributes<HTMLDivElement>>;
24
+ declare const TabsTrigger: react5.ForwardRefExoticComponent<_base_ui_react15.TabsTabProps & react5.RefAttributes<Element>>;
25
25
  declare function Tabs({
26
26
  ref,
27
27
  groupId,
@@ -31,11 +31,11 @@ declare function Tabs({
31
31
  value: _value,
32
32
  onValueChange: _onValueChange,
33
33
  ...props
34
- }: TabsProps): react_jsx_runtime62.JSX.Element;
34
+ }: TabsProps): react_jsx_runtime74.JSX.Element;
35
35
  declare function TabsContent({
36
36
  value,
37
37
  ...props
38
- }: ComponentProps<typeof Tabs$1.Panel>): react_jsx_runtime62.JSX.Element;
38
+ }: ComponentProps<typeof Tabs$1.Panel>): react_jsx_runtime74.JSX.Element;
39
39
  //#endregion
40
40
  export { Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
41
41
  //# sourceMappingURL=tabs.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { SidebarTab } from "../../components/sidebar/tabs/index.js";
2
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
- import * as react12 from "react";
2
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
3
+ import * as react4 from "react";
4
4
  import { ComponentProps, ReactNode } from "react";
5
5
 
6
6
  //#region src/layouts/docs/client.d.ts
7
- declare const LayoutContext: react12.Context<{
7
+ declare const LayoutContext: react4.Context<{
8
8
  isNavTransparent: boolean;
9
9
  } | null>;
10
10
  declare function LayoutContextProvider({
@@ -13,20 +13,20 @@ declare function LayoutContextProvider({
13
13
  }: {
14
14
  navTransparentMode?: 'always' | 'top' | 'none';
15
15
  children: ReactNode;
16
- }): react_jsx_runtime64.JSX.Element;
17
- declare function LayoutHeader(props: ComponentProps<'header'>): react_jsx_runtime64.JSX.Element;
16
+ }): react_jsx_runtime70.JSX.Element;
17
+ declare function LayoutHeader(props: ComponentProps<'header'>): react_jsx_runtime70.JSX.Element;
18
18
  declare function LayoutBody({
19
19
  className,
20
20
  style,
21
21
  children,
22
22
  ...props
23
- }: ComponentProps<'div'>): react_jsx_runtime64.JSX.Element;
23
+ }: ComponentProps<'div'>): react_jsx_runtime70.JSX.Element;
24
24
  declare function LayoutTabs({
25
25
  options,
26
26
  ...props
27
27
  }: ComponentProps<'div'> & {
28
28
  options: SidebarTab[];
29
- }): react_jsx_runtime64.JSX.Element;
29
+ }): react_jsx_runtime70.JSX.Element;
30
30
  //#endregion
31
31
  export { LayoutBody, LayoutContext, LayoutContextProvider, LayoutHeader, LayoutTabs };
32
32
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","names":[],"sources":["../../../src/layouts/docs/client.tsx"],"sourcesContent":[],"mappings":";;;;;;cAWa,eAEE,OAAA,CAFW;;;iBAIV,qBAAA;;;;EAJH,kBAEE,CAAA,EAAA,QAAA,GAAA,KAFW,GAAA,MAAA;EAIV,QAAA,EAKJ,SALI;CACd,CAAA,EAKD,mBAAA,CAAA,GAAA,CAAA,OALC;AACA,iBAsBc,YAAA,CAtBd,KAAA,EAsBkC,cAtBlC,CAAA,QAAA,CAAA,CAAA,EAsB0D,mBAAA,CAAA,GAAA,CAAA,OAtB1D;AAGU,iBA6BI,UAAA,CA7BJ;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA6ByD,cA7BzD,CAAA,KAAA,CAAA,CAAA,EA6B8E,mBAAA,CAAA,GAAA,CAAA,OA7B9E;AACX,iBA0De,UAAA,CA1Df;EAAA,OAAA;EAAA,GAAA;AAkBD,CAlBC,EA6DE,cA7DF,CAAA,KAAA,CAAA,GAAA;EAAA,OAAA,EA8DU,UA9DV,EAAA;AAkBD,CAAA,CAAA,EA6CC,mBAAA,CAAA,GAAA,CAAA,OA7CmC"}
1
+ {"version":3,"file":"client.d.ts","names":[],"sources":["../../../src/layouts/docs/client.tsx"],"sourcesContent":[],"mappings":";;;;;;cAWa,eAEE,MAAA,CAFW;;;iBAIV,qBAAA;;;;EAJH,kBAEE,CAAA,EAAA,QAAA,GAAA,KAFW,GAAA,MAAA;EAIV,QAAA,EAKJ,SALI;CACd,CAAA,EAKD,mBAAA,CAAA,GAAA,CAAA,OALC;AACA,iBAsBc,YAAA,CAtBd,KAAA,EAsBkC,cAtBlC,CAAA,QAAA,CAAA,CAAA,EAsB0D,mBAAA,CAAA,GAAA,CAAA,OAtB1D;AAGU,iBA6BI,UAAA,CA7BJ;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA6ByD,cA7BzD,CAAA,KAAA,CAAA,CAAA,EA6B8E,mBAAA,CAAA,GAAA,CAAA,OA7B9E;AACX,iBA0De,UAAA,CA1Df;EAAA,OAAA;EAAA,GAAA;AAkBD,CAlBC,EA6DE,cA7DF,CAAA,KAAA,CAAA,GAAA;EAAA,OAAA,EA8DU,UA9DV,EAAA;AAkBD,CAAA,CAAA,EA6CC,mBAAA,CAAA,GAAA,CAAA,OA7CmC"}
@@ -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 { Sidebar } from "./sidebar.js";
5
5
  import { BaseLayoutProps } from "../shared/index.js";
6
- import * as react_jsx_runtime68 from "react/jsx-runtime";
6
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
7
7
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
8
8
  import * as PageTree from "fumadocs-core/page-tree";
9
9
 
@@ -53,7 +53,7 @@ declare function DocsLayout({
53
53
  children,
54
54
  tree,
55
55
  ...props
56
- }: DocsLayoutProps): react_jsx_runtime68.JSX.Element;
56
+ }: DocsLayoutProps): react_jsx_runtime76.JSX.Element;
57
57
  //#endregion
58
58
  export { DocsLayout, DocsLayoutProps };
59
59
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime115 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime106 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_runtime115.JSX.Element;
11
+ }: ComponentProps<'div'>): react_jsx_runtime106.JSX.Element;
12
12
  declare function PageTOCPopoverTrigger({
13
13
  className,
14
14
  ...props
15
- }: ComponentProps<'button'>): react_jsx_runtime115.JSX.Element;
16
- declare function PageTOCPopoverContent(props: ComponentProps<'div'>): react_jsx_runtime115.JSX.Element;
15
+ }: ComponentProps<'button'>): react_jsx_runtime106.JSX.Element;
16
+ declare function PageTOCPopoverContent(props: ComponentProps<'div'>): react_jsx_runtime106.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_runtime115.JSX.Element;
22
+ }): react_jsx_runtime106.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_runtime115.JSX.Element;
36
+ }: FooterProps): react_jsx_runtime106.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_runtime115.JSX.Element | null;
43
+ }: BreadcrumbProps): react_jsx_runtime106.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_runtime123 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime102 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_runtime123.JSX.Element;
78
+ declare function EditOnGitHub(props: ComponentProps<'a'>): react_jsx_runtime102.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_runtime123.JSX.Element;
86
+ }: ComponentProps<'div'>): react_jsx_runtime102.JSX.Element;
82
87
  declare function DocsDescription({
83
88
  children,
84
89
  className,
85
90
  ...props
86
- }: ComponentProps<'p'>): react_jsx_runtime123.JSX.Element | null;
91
+ }: ComponentProps<'p'>): react_jsx_runtime102.JSX.Element | null;
87
92
  declare function DocsTitle({
88
93
  children,
89
94
  className,
90
95
  ...props
91
- }: ComponentProps<'h1'>): react_jsx_runtime123.JSX.Element;
96
+ }: ComponentProps<'h1'>): react_jsx_runtime102.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/docs/page/index.tsx"],"sourcesContent":[],"mappings":";;;;;;UAmBU,iBAAA,SAA0B;;aAEvB;AAP6D;AAKvB,UAKzC,aAAA,SAAsB,WAEnB,CA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AAA,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 w-full max-w-[900px] mx-auto [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14", full ? "max-w-[1200px]" : "xl:layout:[--fd-toc-width:268px]"),
40
+ className: cn("flex flex-col w-full max-w-[900px] mx-auto [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14", full ? "max-w-[1200px]" : "xl:layout:[--fd-toc-width:268px]", 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/docs/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 w-full max-w-[900px] mx-auto [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14',\n full ? 'max-w-[1200px]' : 'xl:layout:[--fd-toc-width:268px]',\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-1) h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] flex flex-col [grid-area:toc] w-(--fd-toc-width) pt-12 pe-4 pb-2 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,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AU,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
+ {"version":3,"file":"index.js","names":["children","TOCProvider","TOCScrollArea","TocClerk","TocDefault","I18nLabel"],"sources":["../../../../src/layouts/docs/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 w-full max-w-[900px] mx-auto [grid-area:main] px-4 py-6 gap-4 md:px-6 md:pt-8 xl:px-8 xl:pt-14',\n full ? 'max-w-[1200px]' : 'xl:layout:[--fd-toc-width:268px]',\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-1) h-[calc(var(--fd-docs-height)-var(--fd-docs-row-1))] flex flex-col [grid-area:toc] w-(--fd-toc-width) pt-12 pe-4 pb-2 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,gHACA,OAAO,mBAAmB,oCAC1B,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,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_runtime69 from "react/jsx-runtime";
4
- import * as react13 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_runtime69.JSX.Element;
10
- declare function SidebarFolder(props: ComponentProps<typeof SidebarFolder$1>): react_jsx_runtime69.JSX.Element;
11
- declare function SidebarCollapseTrigger(props: ComponentProps<typeof SidebarCollapseTrigger$1>): react_jsx_runtime69.JSX.Element;
12
- declare function SidebarViewport(props: ComponentProps<typeof SidebarViewport$1>): react_jsx_runtime69.JSX.Element;
13
- declare function SidebarTrigger(props: ComponentProps<typeof SidebarTrigger$1>): react_jsx_runtime69.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_runtime69.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_runtime69.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_runtime69.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_runtime69.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_runtime69.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_runtime69.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_runtime69.JSX.Element;
52
- declare const SidebarPageTree: (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime69.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
- }: react13.HTMLAttributes<HTMLElement> & {
56
+ }: react9.HTMLAttributes<HTMLElement> & {
57
57
  item: Exclude<_fumadocs_ui_link_item0.LinkItemType, {
58
58
  type: "icon";
59
59
  }>;
60
- }) => react_jsx_runtime69.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,mBAAA,CAAA,GAAA,CAAA;iBAI1D,aAAA,QAAqB,sBAAsB,mBAAmB,mBAAA,CAAA,GAAA,CAAA;iBAI9D,sBAAA,QAA8B,sBAAsB,4BAA4B,mBAAA,CAAA,GAAA,CAAA;iBAIhF,eAAA,QAAuB,sBAAsB,qBAAqB,mBAAA,CAAA,GAAA,CAAA;iBAIlE,cAAA,QAAsB,sBAAsB,oBAAoB,mBAAA,CAAA,GAAA,CAAA;iBAIhE,cAAA;OACT;;;;GAIJ,0BAAuB,mBAAA,CAAA,GAAA,CAAA;AAzBV,iBAuFA,aAAA,CAvFO;EAAA,QAAA;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA2FpB,cA3FoB,CAAA,OA2FE,oBA3FF,CAAA,CAAA,EA2F4B,mBAAA,CAAA,GAAA,CAAA,OA3F5B;AAA8B,iBA4GrC,gBAAA,CA5GqC;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EA4GsB,cA5GtB,CAAA,GAAA,CAAA,CAAA,EA4GyC,mBAAA,CAAA,GAAA,CAAA,OA5GzC;AAAtB,iBA6Hf,WAAA,CA7He;EAAA,SAAA;EAAA,KAAA;EAAA,QAAA;EAAA,GAAA;AAAA,CAAA,EAkI5B,cAlI4B,CAAA,OAkIN,aAlIM,CAAA,CAAA,EAkIW,mBAAA,CAAA,GAAA,CAAA,OAlI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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,10 +1,10 @@
1
1
  import { HomeLayoutProps } from "./index.js";
2
- import * as react_jsx_runtime83 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
6
6
  declare const navItemVariants: (props?: ({
7
- variant?: "icon" | "main" | "button" | null | undefined;
7
+ variant?: "button" | "main" | "icon" | null | undefined;
8
8
  } & class_variance_authority_types0.ClassProp) | undefined) => string;
9
9
  declare function Header({
10
10
  nav,
@@ -13,7 +13,7 @@ declare function Header({
13
13
  githubUrl,
14
14
  themeSwitch,
15
15
  searchToggle
16
- }: HomeLayoutProps): react_jsx_runtime83.JSX.Element;
16
+ }: HomeLayoutProps): react_jsx_runtime91.JSX.Element;
17
17
  //#endregion
18
18
  export { Header, navItemVariants };
19
19
  //# sourceMappingURL=client.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { BaseLayoutProps, NavOptions } from "../shared/index.js";
2
- import * as react_jsx_runtime84 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_runtime84.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_runtime85 from "react/jsx-runtime";
4
- import * as react14 from "react";
3
+ import * as react_jsx_runtime132 from "react/jsx-runtime";
4
+ import * as react18 from "react";
5
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: react14.ForwardRefExoticComponent<Omit<_base_ui_react17.NavigationMenuItemProps & react14.RefAttributes<HTMLDivElement>, "ref"> & react14.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_runtime85.JSX.Element;
12
+ }: NavigationMenuContentProps): react_jsx_runtime132.JSX.Element;
13
13
  declare function NavbarMenuTrigger({
14
14
  className,
15
15
  ...props
16
- }: NavigationMenuTriggerProps): react_jsx_runtime85.JSX.Element;
17
- declare function NavbarMenuLink(props: LinkProps): react_jsx_runtime85.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,OAAA,CAAA,0BAAA,KAAqB,gBAAA,CAArB,uBAAA,GAAA,OAAA,CAAA,cAAA,0BAAA,OAAA,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"}