fumadocs-ui 16.4.8 → 16.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/accordion.d.ts +3 -3
- package/dist/components/banner.d.ts +2 -2
- package/dist/components/callout.d.ts +5 -5
- package/dist/components/card.d.ts +3 -3
- package/dist/components/codeblock.d.ts +7 -7
- package/dist/components/dialog/search-algolia.d.ts +2 -2
- package/dist/components/dialog/search-default.d.ts +2 -2
- package/dist/components/dialog/search-orama.d.ts +2 -2
- package/dist/components/dialog/search.d.ts +13 -13
- package/dist/components/dynamic-codeblock.d.ts +2 -2
- package/dist/components/github-info.d.ts +2 -2
- package/dist/components/image-zoom.d.ts +2 -2
- package/dist/components/inline-toc.d.ts +2 -2
- package/dist/components/sidebar/base.d.ts +13 -13
- package/dist/components/sidebar/link-item.d.ts +2 -2
- package/dist/components/sidebar/page-tree.d.ts +2 -2
- package/dist/components/sidebar/tabs/dropdown.d.ts +2 -2
- package/dist/components/steps.d.ts +3 -3
- package/dist/components/tabs.d.ts +4 -4
- package/dist/components/type-table.d.ts +2 -2
- package/dist/components/ui/accordion.d.ts +6 -6
- package/dist/components/ui/collapsible.d.ts +4 -4
- package/dist/components/ui/tabs.d.ts +6 -6
- package/dist/layouts/docs/client.d.ts +7 -7
- package/dist/layouts/docs/index.d.ts +2 -2
- package/dist/layouts/docs/page/client.d.ts +7 -7
- package/dist/layouts/docs/page/index.d.ts +5 -5
- package/dist/layouts/docs/sidebar.d.ts +12 -12
- package/dist/layouts/home/client.d.ts +3 -3
- package/dist/layouts/home/index.d.ts +2 -2
- package/dist/layouts/home/navbar.d.ts +6 -6
- package/dist/layouts/notebook/client.d.ts +8 -8
- package/dist/layouts/notebook/index.d.ts +2 -2
- package/dist/layouts/notebook/page/client.d.ts +7 -7
- package/dist/layouts/notebook/page/index.d.ts +5 -5
- package/dist/layouts/notebook/sidebar.d.ts +17 -17
- package/dist/layouts/shared/index.d.ts +3 -3
- package/dist/layouts/shared/language-toggle.d.ts +2 -2
- package/dist/layouts/shared/search-toggle.d.ts +3 -3
- package/dist/layouts/shared/theme-toggle.d.ts +2 -2
- package/dist/mdx.d.ts +10 -10
- package/dist/page.d.ts +3 -3
- package/dist/provider/base.d.ts +2 -2
- package/dist/provider/next.d.ts +2 -2
- package/dist/provider/react-router.d.ts +2 -2
- package/dist/provider/tanstack.d.ts +2 -2
- package/dist/provider/waku.d.ts +2 -2
- package/package.json +4 -4
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/accordion.d.ts
|
|
@@ -9,7 +9,7 @@ declare function Accordions({
|
|
|
9
9
|
className,
|
|
10
10
|
defaultValue,
|
|
11
11
|
...props
|
|
12
|
-
}: ComponentProps<typeof Accordion$1>):
|
|
12
|
+
}: ComponentProps<typeof Accordion$1>): react_jsx_runtime138.JSX.Element;
|
|
13
13
|
declare function Accordion({
|
|
14
14
|
title,
|
|
15
15
|
id,
|
|
@@ -19,6 +19,6 @@ declare function Accordion({
|
|
|
19
19
|
}: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
|
|
20
20
|
title: string | ReactNode;
|
|
21
21
|
value?: string;
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime138.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { Accordion, Accordions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/banner.d.ts
|
|
@@ -29,6 +29,6 @@ declare function Banner({
|
|
|
29
29
|
* @defaultValue true
|
|
30
30
|
*/
|
|
31
31
|
changeLayout?: boolean;
|
|
32
|
-
}):
|
|
32
|
+
}): react_jsx_runtime0.JSX.Element | null;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { Banner };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/callout.d.ts
|
|
@@ -9,7 +9,7 @@ declare function Callout({
|
|
|
9
9
|
...props
|
|
10
10
|
}: {
|
|
11
11
|
title?: ReactNode;
|
|
12
|
-
} & Omit<CalloutContainerProps, 'title'>):
|
|
12
|
+
} & Omit<CalloutContainerProps, 'title'>): react_jsx_runtime1.JSX.Element;
|
|
13
13
|
interface CalloutContainerProps extends ComponentProps<'div'> {
|
|
14
14
|
/**
|
|
15
15
|
* @defaultValue info
|
|
@@ -27,16 +27,16 @@ declare function CalloutContainer({
|
|
|
27
27
|
className,
|
|
28
28
|
style,
|
|
29
29
|
...props
|
|
30
|
-
}: CalloutContainerProps):
|
|
30
|
+
}: CalloutContainerProps): react_jsx_runtime1.JSX.Element;
|
|
31
31
|
declare function CalloutTitle({
|
|
32
32
|
children,
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: ComponentProps<'p'>):
|
|
35
|
+
}: ComponentProps<'p'>): react_jsx_runtime1.JSX.Element;
|
|
36
36
|
declare function CalloutDescription({
|
|
37
37
|
children,
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: ComponentProps<'p'>):
|
|
40
|
+
}: ComponentProps<'p'>): react_jsx_runtime1.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes, ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/card.d.ts
|
|
5
|
-
declare function Cards(props: HTMLAttributes<HTMLDivElement>):
|
|
5
|
+
declare function Cards(props: HTMLAttributes<HTMLDivElement>): react_jsx_runtime10.JSX.Element;
|
|
6
6
|
type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
7
7
|
icon?: ReactNode;
|
|
8
8
|
title: ReactNode;
|
|
@@ -15,6 +15,6 @@ declare function Card({
|
|
|
15
15
|
title,
|
|
16
16
|
description,
|
|
17
17
|
...props
|
|
18
|
-
}: CardProps):
|
|
18
|
+
}: CardProps): react_jsx_runtime10.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Card, CardProps, Cards };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, HTMLAttributes, ReactNode } from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/codeblock.d.ts
|
|
@@ -36,7 +36,7 @@ interface CodeBlockProps extends ComponentProps<'figure'> {
|
|
|
36
36
|
children?: ReactNode;
|
|
37
37
|
}) => ReactNode;
|
|
38
38
|
}
|
|
39
|
-
declare function Pre(props: ComponentProps<'pre'>):
|
|
39
|
+
declare function Pre(props: ComponentProps<'pre'>): react_jsx_runtime12.JSX.Element;
|
|
40
40
|
declare function CodeBlock({
|
|
41
41
|
ref,
|
|
42
42
|
title,
|
|
@@ -47,16 +47,16 @@ declare function CodeBlock({
|
|
|
47
47
|
children,
|
|
48
48
|
Actions,
|
|
49
49
|
...props
|
|
50
|
-
}: CodeBlockProps):
|
|
50
|
+
}: CodeBlockProps): react_jsx_runtime12.JSX.Element;
|
|
51
51
|
declare function CodeBlockTabs({
|
|
52
52
|
ref,
|
|
53
53
|
...props
|
|
54
|
-
}: ComponentProps<typeof Tabs>):
|
|
55
|
-
declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>):
|
|
54
|
+
}: ComponentProps<typeof Tabs>): react_jsx_runtime12.JSX.Element;
|
|
55
|
+
declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): react_jsx_runtime12.JSX.Element;
|
|
56
56
|
declare function CodeBlockTabsTrigger({
|
|
57
57
|
children,
|
|
58
58
|
...props
|
|
59
|
-
}: ComponentProps<typeof TabsTrigger>):
|
|
60
|
-
declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>):
|
|
59
|
+
}: ComponentProps<typeof TabsTrigger>): react_jsx_runtime12.JSX.Element;
|
|
60
|
+
declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): react_jsx_runtime12.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { search_d_exports } from "../../contexts/search.js";
|
|
2
2
|
import "./search.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { AlgoliaOptions } from "fumadocs-core/search/client";
|
|
6
6
|
|
|
@@ -33,6 +33,6 @@ declare function AlgoliaSearchDialog({
|
|
|
33
33
|
links,
|
|
34
34
|
footer,
|
|
35
35
|
...props
|
|
36
|
-
}: AlgoliaSearchDialogProps):
|
|
36
|
+
}: AlgoliaSearchDialogProps): react_jsx_runtime23.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { search_d_exports } from "../../contexts/search.js";
|
|
2
2
|
import "./search.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/dialog/search-default.d.ts
|
|
@@ -38,6 +38,6 @@ declare function DefaultSearchDialog({
|
|
|
38
38
|
links,
|
|
39
39
|
footer,
|
|
40
40
|
...props
|
|
41
|
-
}: DefaultSearchDialogProps):
|
|
41
|
+
}: DefaultSearchDialogProps): react_jsx_runtime24.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
43
|
export { DefaultSearchDialogProps, DefaultSearchDialog as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { search_d_exports } from "../../contexts/search.js";
|
|
2
2
|
import "./search.js";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime25 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { OramaCloudOptions } from "fumadocs-core/search/client";
|
|
6
6
|
|
|
@@ -40,6 +40,6 @@ declare function OramaSearchDialog({
|
|
|
40
40
|
footer,
|
|
41
41
|
links,
|
|
42
42
|
...props
|
|
43
|
-
}: OramaSearchDialogProps):
|
|
43
|
+
}: OramaSearchDialogProps): react_jsx_runtime25.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { OramaSearchDialogProps, OramaSearchDialog as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { search_d_exports } from "../../contexts/search.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime26 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
4
|
import { DialogContent, DialogOverlay } from "@radix-ui/react-dialog";
|
|
5
5
|
import { HighlightedText, ReactSortedResult } from "fumadocs-core/search";
|
|
@@ -28,20 +28,20 @@ declare function SearchDialog({
|
|
|
28
28
|
isLoading,
|
|
29
29
|
onSelect: onSelectProp,
|
|
30
30
|
children
|
|
31
|
-
}: SearchDialogProps):
|
|
32
|
-
declare function SearchDialogHeader(props: ComponentProps<'div'>):
|
|
33
|
-
declare function SearchDialogInput(props: ComponentProps<'input'>):
|
|
31
|
+
}: SearchDialogProps): react_jsx_runtime26.JSX.Element;
|
|
32
|
+
declare function SearchDialogHeader(props: ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
|
|
33
|
+
declare function SearchDialogInput(props: ComponentProps<'input'>): react_jsx_runtime26.JSX.Element;
|
|
34
34
|
declare function SearchDialogClose({
|
|
35
35
|
children,
|
|
36
36
|
className,
|
|
37
37
|
...props
|
|
38
|
-
}: ComponentProps<'button'>):
|
|
39
|
-
declare function SearchDialogFooter(props: ComponentProps<'div'>):
|
|
40
|
-
declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>):
|
|
38
|
+
}: ComponentProps<'button'>): react_jsx_runtime26.JSX.Element;
|
|
39
|
+
declare function SearchDialogFooter(props: ComponentProps<'div'>): react_jsx_runtime26.JSX.Element;
|
|
40
|
+
declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): react_jsx_runtime26.JSX.Element;
|
|
41
41
|
declare function SearchDialogContent({
|
|
42
42
|
children,
|
|
43
43
|
...props
|
|
44
|
-
}: ComponentProps<typeof DialogContent>):
|
|
44
|
+
}: ComponentProps<typeof DialogContent>): react_jsx_runtime26.JSX.Element;
|
|
45
45
|
declare function SearchDialogList({
|
|
46
46
|
items,
|
|
47
47
|
Empty,
|
|
@@ -60,7 +60,7 @@ declare function SearchDialogList({
|
|
|
60
60
|
item: SearchItemType;
|
|
61
61
|
onClick: () => void;
|
|
62
62
|
}) => ReactNode;
|
|
63
|
-
}):
|
|
63
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
64
64
|
declare function SearchDialogListItem({
|
|
65
65
|
item,
|
|
66
66
|
className,
|
|
@@ -70,8 +70,8 @@ declare function SearchDialogListItem({
|
|
|
70
70
|
}: ComponentProps<'button'> & {
|
|
71
71
|
renderHighlights?: typeof renderHighlights;
|
|
72
72
|
item: SearchItemType;
|
|
73
|
-
}):
|
|
74
|
-
declare function SearchDialogIcon(props: ComponentProps<'svg'>):
|
|
73
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
74
|
+
declare function SearchDialogIcon(props: ComponentProps<'svg'>): react_jsx_runtime26.JSX.Element;
|
|
75
75
|
interface TagsListProps extends ComponentProps<'div'> {
|
|
76
76
|
tag?: string;
|
|
77
77
|
onTagChange: (tag: string | undefined) => void;
|
|
@@ -82,14 +82,14 @@ declare function TagsList({
|
|
|
82
82
|
onTagChange,
|
|
83
83
|
allowClear,
|
|
84
84
|
...props
|
|
85
|
-
}: TagsListProps):
|
|
85
|
+
}: TagsListProps): react_jsx_runtime26.JSX.Element;
|
|
86
86
|
declare function TagsListItem({
|
|
87
87
|
value,
|
|
88
88
|
className,
|
|
89
89
|
...props
|
|
90
90
|
}: ComponentProps<'button'> & {
|
|
91
91
|
value: string;
|
|
92
|
-
}):
|
|
92
|
+
}): react_jsx_runtime26.JSX.Element;
|
|
93
93
|
declare function renderHighlights(highlights: HighlightedText<ReactNode>[]): ReactNode;
|
|
94
94
|
declare function useSearch(): {
|
|
95
95
|
open: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeBlockProps } from "./codeblock.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
import { HighlightOptionsCommon, HighlightOptionsThemes } from "fumadocs-core/highlight";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dynamic-codeblock.d.ts
|
|
@@ -26,6 +26,6 @@ declare function DynamicCodeBlock({
|
|
|
26
26
|
codeblock,
|
|
27
27
|
options,
|
|
28
28
|
wrapInSuspense
|
|
29
|
-
}: DynamicCodeblockProps):
|
|
29
|
+
}: DynamicCodeblockProps): react_jsx_runtime18.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { DynamicCodeBlock, DynamicCodeblockProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime140 from "react/jsx-runtime";
|
|
2
2
|
import { AnchorHTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/github-info.d.ts
|
|
@@ -13,6 +13,6 @@ declare function GithubInfo({
|
|
|
13
13
|
repo: string;
|
|
14
14
|
token?: string;
|
|
15
15
|
baseUrl?: string;
|
|
16
|
-
}): Promise<
|
|
16
|
+
}): Promise<react_jsx_runtime140.JSX.Element>;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { GithubInfo };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "fumadocs-core/framework";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime115 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import { UncontrolledProps } from "react-medium-image-zoom";
|
|
5
5
|
|
|
@@ -19,6 +19,6 @@ declare function ImageZoom({
|
|
|
19
19
|
children,
|
|
20
20
|
rmiz,
|
|
21
21
|
...props
|
|
22
|
-
}: ImageZoomProps):
|
|
22
|
+
}: ImageZoomProps): react_jsx_runtime115.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
24
|
export { ImageZoom, ImageZoomProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Collapsible } from "./ui/collapsible.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime114 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import { TOCItemType } from "fumadocs-core/toc";
|
|
5
5
|
|
|
@@ -10,6 +10,6 @@ interface InlineTocProps extends ComponentProps<typeof Collapsible> {
|
|
|
10
10
|
declare function InlineTOC({
|
|
11
11
|
items,
|
|
12
12
|
...props
|
|
13
|
-
}: InlineTocProps):
|
|
13
|
+
}: InlineTocProps): react_jsx_runtime114.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { InlineTOC, InlineTocProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CollapsibleContentProps, CollapsibleTriggerProps } from "../ui/collapsible.js";
|
|
2
2
|
import { ScrollAreaProps } from "../ui/scroll-area.js";
|
|
3
3
|
import { LinkProps } from "fumadocs-core/link";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
5
5
|
import * as react10 from "react";
|
|
6
6
|
import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
|
|
7
7
|
|
|
@@ -42,7 +42,7 @@ declare function SidebarProvider({
|
|
|
42
42
|
defaultOpenLevel,
|
|
43
43
|
prefetch,
|
|
44
44
|
children
|
|
45
|
-
}: SidebarProviderProps):
|
|
45
|
+
}: SidebarProviderProps): react_jsx_runtime38.JSX.Element;
|
|
46
46
|
declare function useSidebar(): SidebarContext;
|
|
47
47
|
declare function useFolder(): {
|
|
48
48
|
open: boolean;
|
|
@@ -62,21 +62,21 @@ declare function SidebarContent({
|
|
|
62
62
|
onPointerLeave: (event: PointerEvent) => void;
|
|
63
63
|
}) => ReactNode;
|
|
64
64
|
}): ReactNode;
|
|
65
|
-
declare function SidebarDrawerOverlay(props: ComponentProps<'div'>):
|
|
65
|
+
declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): react_jsx_runtime38.JSX.Element | undefined;
|
|
66
66
|
declare function SidebarDrawerContent({
|
|
67
67
|
className,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: ComponentProps<'aside'>):
|
|
71
|
-
declare function SidebarViewport(props: ScrollAreaProps):
|
|
72
|
-
declare function SidebarSeparator(props: ComponentProps<'p'>):
|
|
70
|
+
}: ComponentProps<'aside'>): react_jsx_runtime38.JSX.Element | undefined;
|
|
71
|
+
declare function SidebarViewport(props: ScrollAreaProps): react_jsx_runtime38.JSX.Element;
|
|
72
|
+
declare function SidebarSeparator(props: ComponentProps<'p'>): react_jsx_runtime38.JSX.Element;
|
|
73
73
|
declare function SidebarItem({
|
|
74
74
|
icon,
|
|
75
75
|
children,
|
|
76
76
|
...props
|
|
77
77
|
}: LinkProps & {
|
|
78
78
|
icon?: ReactNode;
|
|
79
|
-
}):
|
|
79
|
+
}): react_jsx_runtime38.JSX.Element;
|
|
80
80
|
declare function SidebarFolder({
|
|
81
81
|
defaultOpen: defaultOpenProp,
|
|
82
82
|
collapsible,
|
|
@@ -87,21 +87,21 @@ declare function SidebarFolder({
|
|
|
87
87
|
active?: boolean;
|
|
88
88
|
defaultOpen?: boolean;
|
|
89
89
|
collapsible?: boolean;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime38.JSX.Element;
|
|
91
91
|
declare function SidebarFolderTrigger({
|
|
92
92
|
children,
|
|
93
93
|
...props
|
|
94
|
-
}: CollapsibleTriggerProps):
|
|
94
|
+
}: CollapsibleTriggerProps): react_jsx_runtime38.JSX.Element;
|
|
95
95
|
declare function SidebarFolderLink({
|
|
96
96
|
children,
|
|
97
97
|
...props
|
|
98
|
-
}: LinkProps):
|
|
99
|
-
declare function SidebarFolderContent(props: CollapsibleContentProps):
|
|
98
|
+
}: LinkProps): react_jsx_runtime38.JSX.Element;
|
|
99
|
+
declare function SidebarFolderContent(props: CollapsibleContentProps): react_jsx_runtime38.JSX.Element;
|
|
100
100
|
declare function SidebarTrigger({
|
|
101
101
|
children,
|
|
102
102
|
...props
|
|
103
|
-
}: ComponentProps<'button'>):
|
|
104
|
-
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>):
|
|
103
|
+
}: ComponentProps<'button'>): react_jsx_runtime38.JSX.Element;
|
|
104
|
+
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): react_jsx_runtime38.JSX.Element;
|
|
105
105
|
/**
|
|
106
106
|
* scroll to the element if `active` is true
|
|
107
107
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime50 from "react/jsx-runtime";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { LinkItemType } from "@fumadocs/ui/link-item";
|
|
5
5
|
|
|
@@ -18,6 +18,6 @@ declare function createLinkItemRenderer({
|
|
|
18
18
|
item: Exclude<LinkItemType, {
|
|
19
19
|
type: "icon";
|
|
20
20
|
}>;
|
|
21
|
-
}) =>
|
|
21
|
+
}) => react_jsx_runtime50.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { createLinkItemRenderer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
3
|
import { FC, ReactNode } from "react";
|
|
4
4
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
5
5
|
|
|
@@ -24,6 +24,6 @@ declare function createPageTreeRenderer({
|
|
|
24
24
|
SidebarFolderTrigger,
|
|
25
25
|
SidebarSeparator,
|
|
26
26
|
SidebarItem
|
|
27
|
-
}: InternalComponents): (components: Partial<SidebarPageTreeComponents>) =>
|
|
27
|
+
}: InternalComponents): (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime51.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidebarPageTreeComponents, createPageTreeRenderer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SidebarTab } from "./index.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime88 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'>):
|
|
16
|
+
} & ComponentProps<'button'>): react_jsx_runtime88.JSX.Element;
|
|
17
17
|
declare function isTabActive(tab: SidebarTab, pathname: string): boolean;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { SidebarTabWithProps, SidebarTabsDropdown, isTabActive };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/steps.d.ts
|
|
@@ -6,11 +6,11 @@ declare function Steps({
|
|
|
6
6
|
children
|
|
7
7
|
}: {
|
|
8
8
|
children: ReactNode;
|
|
9
|
-
}):
|
|
9
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
10
10
|
declare function Step({
|
|
11
11
|
children
|
|
12
12
|
}: {
|
|
13
13
|
children: ReactNode;
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime116.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Step, Steps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tabs as Tabs$1, TabsContent as TabsContent$1 } from "./ui/tabs.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime118 from "react/jsx-runtime";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { ComponentProps, ReactNode } from "react";
|
|
5
5
|
import * as _radix_ui_react_tabs0 from "@radix-ui/react-tabs";
|
|
@@ -31,7 +31,7 @@ declare function Tabs({
|
|
|
31
31
|
defaultIndex,
|
|
32
32
|
defaultValue,
|
|
33
33
|
...props
|
|
34
|
-
}: TabsProps):
|
|
34
|
+
}: TabsProps): react_jsx_runtime118.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,11 +41,11 @@ interface TabProps extends Omit<ComponentProps<typeof TabsContent$1>, 'value'> {
|
|
|
41
41
|
declare function Tab({
|
|
42
42
|
value,
|
|
43
43
|
...props
|
|
44
|
-
}: TabProps):
|
|
44
|
+
}: TabProps): react_jsx_runtime118.JSX.Element;
|
|
45
45
|
declare function TabsContent({
|
|
46
46
|
value,
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: ComponentProps<typeof TabsContent$1>):
|
|
49
|
+
}: ComponentProps<typeof TabsContent$1>): react_jsx_runtime118.JSX.Element;
|
|
50
50
|
//#endregion
|
|
51
51
|
export { Tab, TabProps, Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime19 from "react/jsx-runtime";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/type-table.d.ts
|
|
@@ -33,6 +33,6 @@ declare function TypeTable({
|
|
|
33
33
|
type
|
|
34
34
|
}: {
|
|
35
35
|
type: Record<string, TypeNode>;
|
|
36
|
-
}):
|
|
36
|
+
}): react_jsx_runtime19.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { ParameterNode, TypeNode, TypeTable };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import * as Primitive from "@radix-ui/react-accordion";
|
|
4
4
|
|
|
@@ -6,26 +6,26 @@ import * as Primitive from "@radix-ui/react-accordion";
|
|
|
6
6
|
declare function Accordion({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<typeof Primitive.Root>):
|
|
9
|
+
}: ComponentProps<typeof Primitive.Root>): react_jsx_runtime5.JSX.Element;
|
|
10
10
|
declare function AccordionItem({
|
|
11
11
|
className,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: ComponentProps<typeof Primitive.Item>):
|
|
14
|
+
}: ComponentProps<typeof Primitive.Item>): react_jsx_runtime5.JSX.Element;
|
|
15
15
|
declare function AccordionHeader({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
...props
|
|
19
|
-
}: ComponentProps<typeof Primitive.Header>):
|
|
19
|
+
}: ComponentProps<typeof Primitive.Header>): react_jsx_runtime5.JSX.Element;
|
|
20
20
|
declare function AccordionTrigger({
|
|
21
21
|
className,
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: ComponentProps<typeof Primitive.Trigger>):
|
|
24
|
+
}: ComponentProps<typeof Primitive.Trigger>): react_jsx_runtime5.JSX.Element;
|
|
25
25
|
declare function AccordionContent({
|
|
26
26
|
className,
|
|
27
27
|
children,
|
|
28
28
|
...props
|
|
29
|
-
}: ComponentProps<typeof Primitive.Content>):
|
|
29
|
+
}: ComponentProps<typeof Primitive.Content>): react_jsx_runtime5.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react0 from "react";
|
|
2
2
|
import * as Primitive from "@radix-ui/react-collapsible";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/collapsible.d.ts
|
|
5
|
-
declare const Collapsible:
|
|
6
|
-
declare const CollapsibleTrigger:
|
|
7
|
-
declare const CollapsibleContent:
|
|
5
|
+
declare const Collapsible: react0.ForwardRefExoticComponent<Primitive.CollapsibleProps & react0.RefAttributes<HTMLDivElement>>;
|
|
6
|
+
declare const CollapsibleTrigger: react0.ForwardRefExoticComponent<Primitive.CollapsibleTriggerProps & react0.RefAttributes<HTMLButtonElement>>;
|
|
7
|
+
declare const CollapsibleContent: react0.ForwardRefExoticComponent<Omit<Primitive.CollapsibleContentProps & react0.RefAttributes<HTMLDivElement>, "ref"> & react0.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
type CollapsibleProps = Primitive.CollapsibleProps;
|
|
9
9
|
type CollapsibleContentProps = Primitive.CollapsibleContentProps;
|
|
10
10
|
type CollapsibleTriggerProps = Primitive.CollapsibleTriggerProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime21 from "react/jsx-runtime";
|
|
2
|
+
import * as react6 from "react";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import * as Primitive from "@radix-ui/react-tabs";
|
|
5
5
|
|
|
@@ -18,8 +18,8 @@ interface TabsProps extends ComponentProps<typeof Primitive.Tabs> {
|
|
|
18
18
|
*/
|
|
19
19
|
updateAnchor?: boolean;
|
|
20
20
|
}
|
|
21
|
-
declare const TabsList:
|
|
22
|
-
declare const TabsTrigger:
|
|
21
|
+
declare const TabsList: react6.ForwardRefExoticComponent<Primitive.TabsListProps & react6.RefAttributes<HTMLDivElement>>;
|
|
22
|
+
declare const TabsTrigger: react6.ForwardRefExoticComponent<Primitive.TabsTriggerProps & react6.RefAttributes<HTMLButtonElement>>;
|
|
23
23
|
declare function Tabs({
|
|
24
24
|
ref,
|
|
25
25
|
groupId,
|
|
@@ -29,10 +29,10 @@ declare function Tabs({
|
|
|
29
29
|
value: _value,
|
|
30
30
|
onValueChange: _onValueChange,
|
|
31
31
|
...props
|
|
32
|
-
}: TabsProps):
|
|
32
|
+
}: TabsProps): react_jsx_runtime21.JSX.Element;
|
|
33
33
|
declare function TabsContent({
|
|
34
34
|
value,
|
|
35
35
|
...props
|
|
36
|
-
}: ComponentProps<typeof Primitive.TabsContent>):
|
|
36
|
+
}: ComponentProps<typeof Primitive.TabsContent>): react_jsx_runtime21.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { SidebarTab } from "../../components/sidebar/tabs/index.js";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
3
|
+
import * as react11 from "react";
|
|
4
4
|
import { ComponentProps, ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/layouts/docs/client.d.ts
|
|
7
|
-
declare const LayoutContext:
|
|
7
|
+
declare const LayoutContext: react11.Context<{
|
|
8
8
|
isNavTransparent: boolean;
|
|
9
9
|
} | null>;
|
|
10
10
|
declare function LayoutContextProvider({
|
|
@@ -13,19 +13,19 @@ declare function LayoutContextProvider({
|
|
|
13
13
|
}: {
|
|
14
14
|
navTransparentMode?: 'always' | 'top' | 'none';
|
|
15
15
|
children: ReactNode;
|
|
16
|
-
}):
|
|
17
|
-
declare function LayoutHeader(props: ComponentProps<'header'>):
|
|
16
|
+
}): react_jsx_runtime52.JSX.Element;
|
|
17
|
+
declare function LayoutHeader(props: ComponentProps<'header'>): react_jsx_runtime52.JSX.Element;
|
|
18
18
|
declare function LayoutBody({
|
|
19
19
|
className,
|
|
20
20
|
style,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: ComponentProps<'div'>):
|
|
23
|
+
}: ComponentProps<'div'>): react_jsx_runtime52.JSX.Element;
|
|
24
24
|
declare function LayoutTabs({
|
|
25
25
|
options,
|
|
26
26
|
...props
|
|
27
27
|
}: ComponentProps<'div'> & {
|
|
28
28
|
options: SidebarTab[];
|
|
29
|
-
}):
|
|
29
|
+
}): react_jsx_runtime52.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
31
|
export { LayoutBody, LayoutContext, LayoutContextProvider, LayoutHeader, LayoutTabs };
|
|
@@ -4,7 +4,7 @@ import { GetSidebarTabsOptions } from "../../components/sidebar/tabs/index.js";
|
|
|
4
4
|
import { SidebarTabWithProps } from "../../components/sidebar/tabs/dropdown.js";
|
|
5
5
|
import "./sidebar.js";
|
|
6
6
|
import { BaseLayoutProps } from "../shared/index.js";
|
|
7
|
-
import * as
|
|
7
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
8
8
|
import { ComponentProps, HTMLAttributes, ReactNode } from "react";
|
|
9
9
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
10
10
|
|
|
@@ -54,6 +54,6 @@ declare function DocsLayout({
|
|
|
54
54
|
children,
|
|
55
55
|
tree,
|
|
56
56
|
...props
|
|
57
|
-
}: DocsLayoutProps):
|
|
57
|
+
}: DocsLayoutProps): react_jsx_runtime56.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { DocsLayout, DocsLayoutProps };
|