fumadocs-ui 16.4.7 → 16.4.8
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 +4 -5
- package/dist/components/accordion.js +1 -2
- package/dist/components/banner.d.ts +3 -4
- package/dist/components/banner.js +1 -2
- package/dist/components/callout.d.ts +6 -7
- package/dist/components/callout.js +1 -2
- package/dist/components/card.d.ts +4 -5
- package/dist/components/card.js +1 -2
- package/dist/components/codeblock.d.ts +8 -9
- package/dist/components/codeblock.js +1 -2
- package/dist/components/dialog/search-algolia.d.ts +3 -4
- package/dist/components/dialog/search-algolia.js +1 -2
- package/dist/components/dialog/search-default.d.ts +3 -4
- package/dist/components/dialog/search-default.js +1 -2
- package/dist/components/dialog/search-orama.d.ts +3 -4
- package/dist/components/dialog/search-orama.js +1 -2
- package/dist/components/dialog/search.d.ts +14 -15
- package/dist/components/dialog/search.js +1 -2
- package/dist/components/dynamic-codeblock.d.ts +3 -4
- package/dist/components/dynamic-codeblock.js +1 -2
- package/dist/components/files.d.ts +1 -2
- package/dist/components/files.js +1 -2
- package/dist/components/github-info.d.ts +3 -4
- package/dist/components/github-info.js +1 -2
- package/dist/components/heading.d.ts +1 -2
- package/dist/components/heading.js +1 -2
- package/dist/components/image-zoom-CtfZieBH.css +0 -2
- package/dist/components/image-zoom.d.ts +3 -4
- package/dist/components/image-zoom.js +1 -2
- package/dist/components/inline-toc.d.ts +3 -4
- package/dist/components/inline-toc.js +1 -2
- package/dist/components/sidebar/base.d.ts +16 -17
- package/dist/components/sidebar/base.js +1 -2
- package/dist/components/sidebar/link-item.d.ts +3 -4
- package/dist/components/sidebar/link-item.js +1 -2
- package/dist/components/sidebar/page-tree.d.ts +3 -4
- package/dist/components/sidebar/page-tree.js +1 -2
- package/dist/components/sidebar/tabs/dropdown.d.ts +3 -4
- package/dist/components/sidebar/tabs/dropdown.js +1 -2
- package/dist/components/sidebar/tabs/index.d.ts +1 -2
- package/dist/components/sidebar/tabs/index.js +1 -2
- package/dist/components/steps.d.ts +4 -5
- package/dist/components/steps.js +1 -2
- package/dist/components/tabs.d.ts +1 -2
- package/dist/components/tabs.js +1 -2
- package/dist/components/toc/clerk.js +1 -2
- package/dist/components/toc/default.js +1 -2
- package/dist/components/toc/index.js +1 -2
- package/dist/components/type-table.d.ts +3 -4
- package/dist/components/type-table.js +1 -2
- package/dist/components/ui/accordion.d.ts +7 -8
- package/dist/components/ui/accordion.js +1 -2
- package/dist/components/ui/button.d.ts +2 -3
- package/dist/components/ui/button.js +1 -2
- package/dist/components/ui/collapsible.d.ts +1 -2
- package/dist/components/ui/collapsible.js +1 -2
- package/dist/components/ui/navigation-menu.d.ts +1 -2
- package/dist/components/ui/navigation-menu.js +1 -2
- package/dist/components/ui/popover.d.ts +1 -2
- package/dist/components/ui/popover.js +1 -2
- package/dist/components/ui/scroll-area.d.ts +1 -2
- package/dist/components/ui/scroll-area.js +1 -2
- package/dist/components/ui/tabs.d.ts +4 -5
- package/dist/components/ui/tabs.js +1 -2
- package/dist/contexts/i18n.js +1 -2
- package/dist/contexts/search.d.ts +1 -2
- package/dist/contexts/search.js +1 -2
- package/dist/contexts/tree.js +1 -2
- package/dist/layouts/docs/client.d.ts +6 -7
- package/dist/layouts/docs/client.js +1 -2
- package/dist/layouts/docs/index.d.ts +3 -4
- package/dist/layouts/docs/index.js +1 -2
- package/dist/layouts/docs/page/client.d.ts +8 -9
- package/dist/layouts/docs/page/client.js +1 -2
- package/dist/layouts/docs/page/index.d.ts +6 -7
- package/dist/layouts/docs/page/index.js +1 -2
- package/dist/layouts/docs/sidebar.d.ts +13 -14
- package/dist/layouts/docs/sidebar.js +1 -2
- package/dist/layouts/home/client.d.ts +3 -4
- package/dist/layouts/home/client.js +1 -2
- package/dist/layouts/home/index.d.ts +3 -4
- package/dist/layouts/home/index.js +1 -2
- package/dist/layouts/home/navbar.d.ts +7 -8
- package/dist/layouts/home/navbar.js +1 -2
- package/dist/layouts/notebook/client.d.ts +9 -10
- package/dist/layouts/notebook/client.js +1 -2
- package/dist/layouts/notebook/index.d.ts +3 -4
- package/dist/layouts/notebook/index.js +1 -2
- package/dist/layouts/notebook/page/client.d.ts +8 -9
- package/dist/layouts/notebook/page/client.js +1 -2
- package/dist/layouts/notebook/page/index.d.ts +6 -7
- package/dist/layouts/notebook/page/index.js +1 -2
- package/dist/layouts/notebook/sidebar.d.ts +18 -19
- package/dist/layouts/notebook/sidebar.js +1 -2
- package/dist/layouts/shared/index.d.ts +4 -5
- package/dist/layouts/shared/index.js +1 -2
- package/dist/layouts/shared/language-toggle.d.ts +3 -4
- package/dist/layouts/shared/language-toggle.js +1 -2
- package/dist/layouts/shared/search-toggle.d.ts +4 -5
- package/dist/layouts/shared/search-toggle.js +1 -2
- package/dist/layouts/shared/theme-toggle.d.ts +3 -4
- package/dist/layouts/shared/theme-toggle.js +1 -2
- package/dist/mdx.d.ts +11 -12
- package/dist/mdx.js +1 -2
- package/dist/mdx.server.d.ts +1 -2
- package/dist/mdx.server.js +1 -2
- package/dist/page.d.ts +4 -5
- package/dist/page.js +1 -2
- package/dist/provider/base.d.ts +3 -4
- package/dist/provider/base.js +1 -2
- package/dist/provider/next.d.ts +3 -4
- package/dist/provider/next.js +1 -2
- package/dist/provider/react-router.d.ts +3 -4
- package/dist/provider/react-router.js +1 -2
- package/dist/provider/tanstack.d.ts +3 -4
- package/dist/provider/tanstack.js +1 -2
- package/dist/provider/waku.d.ts +3 -4
- package/dist/provider/waku.js +1 -2
- package/dist/style.css +0 -5
- package/package.json +8 -8
- package/dist/components/accordion.d.ts.map +0 -1
- package/dist/components/accordion.js.map +0 -1
- package/dist/components/banner.d.ts.map +0 -1
- package/dist/components/banner.js.map +0 -1
- package/dist/components/callout.d.ts.map +0 -1
- package/dist/components/callout.js.map +0 -1
- package/dist/components/card.d.ts.map +0 -1
- package/dist/components/card.js.map +0 -1
- package/dist/components/codeblock.d.ts.map +0 -1
- package/dist/components/codeblock.js.map +0 -1
- package/dist/components/dialog/search-algolia.d.ts.map +0 -1
- package/dist/components/dialog/search-algolia.js.map +0 -1
- package/dist/components/dialog/search-default.d.ts.map +0 -1
- package/dist/components/dialog/search-default.js.map +0 -1
- package/dist/components/dialog/search-orama.d.ts.map +0 -1
- package/dist/components/dialog/search-orama.js.map +0 -1
- package/dist/components/dialog/search.d.ts.map +0 -1
- package/dist/components/dialog/search.js.map +0 -1
- package/dist/components/dynamic-codeblock.d.ts.map +0 -1
- package/dist/components/dynamic-codeblock.js.map +0 -1
- package/dist/components/files.d.ts.map +0 -1
- package/dist/components/files.js.map +0 -1
- package/dist/components/github-info.d.ts.map +0 -1
- package/dist/components/github-info.js.map +0 -1
- package/dist/components/heading.d.ts.map +0 -1
- package/dist/components/heading.js.map +0 -1
- package/dist/components/image-zoom-CtfZieBH.css.map +0 -1
- package/dist/components/image-zoom.d.ts.map +0 -1
- package/dist/components/image-zoom.js.map +0 -1
- package/dist/components/inline-toc.d.ts.map +0 -1
- package/dist/components/inline-toc.js.map +0 -1
- package/dist/components/sidebar/base.d.ts.map +0 -1
- package/dist/components/sidebar/base.js.map +0 -1
- package/dist/components/sidebar/link-item.d.ts.map +0 -1
- package/dist/components/sidebar/link-item.js.map +0 -1
- package/dist/components/sidebar/page-tree.d.ts.map +0 -1
- package/dist/components/sidebar/page-tree.js.map +0 -1
- package/dist/components/sidebar/tabs/dropdown.d.ts.map +0 -1
- package/dist/components/sidebar/tabs/dropdown.js.map +0 -1
- package/dist/components/sidebar/tabs/index.d.ts.map +0 -1
- package/dist/components/sidebar/tabs/index.js.map +0 -1
- package/dist/components/steps.d.ts.map +0 -1
- package/dist/components/steps.js.map +0 -1
- package/dist/components/tabs.d.ts.map +0 -1
- package/dist/components/tabs.js.map +0 -1
- package/dist/components/toc/clerk.js.map +0 -1
- package/dist/components/toc/default.js.map +0 -1
- package/dist/components/toc/index.js.map +0 -1
- package/dist/components/type-table.d.ts.map +0 -1
- package/dist/components/type-table.js.map +0 -1
- package/dist/components/ui/accordion.d.ts.map +0 -1
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/button.d.ts.map +0 -1
- package/dist/components/ui/button.js.map +0 -1
- package/dist/components/ui/collapsible.d.ts.map +0 -1
- package/dist/components/ui/collapsible.js.map +0 -1
- package/dist/components/ui/navigation-menu.d.ts.map +0 -1
- package/dist/components/ui/navigation-menu.js.map +0 -1
- package/dist/components/ui/popover.d.ts.map +0 -1
- package/dist/components/ui/popover.js.map +0 -1
- package/dist/components/ui/scroll-area.d.ts.map +0 -1
- package/dist/components/ui/scroll-area.js.map +0 -1
- package/dist/components/ui/tabs.d.ts.map +0 -1
- package/dist/components/ui/tabs.js.map +0 -1
- package/dist/contexts/i18n.js.map +0 -1
- package/dist/contexts/search.d.ts.map +0 -1
- package/dist/contexts/search.js.map +0 -1
- package/dist/contexts/tree.js.map +0 -1
- package/dist/layouts/docs/client.d.ts.map +0 -1
- package/dist/layouts/docs/client.js.map +0 -1
- package/dist/layouts/docs/index.d.ts.map +0 -1
- package/dist/layouts/docs/index.js.map +0 -1
- package/dist/layouts/docs/page/client.d.ts.map +0 -1
- package/dist/layouts/docs/page/client.js.map +0 -1
- package/dist/layouts/docs/page/index.d.ts.map +0 -1
- package/dist/layouts/docs/page/index.js.map +0 -1
- package/dist/layouts/docs/sidebar.d.ts.map +0 -1
- package/dist/layouts/docs/sidebar.js.map +0 -1
- package/dist/layouts/home/client.d.ts.map +0 -1
- package/dist/layouts/home/client.js.map +0 -1
- package/dist/layouts/home/index.d.ts.map +0 -1
- package/dist/layouts/home/index.js.map +0 -1
- package/dist/layouts/home/navbar.d.ts.map +0 -1
- package/dist/layouts/home/navbar.js.map +0 -1
- package/dist/layouts/notebook/client.d.ts.map +0 -1
- package/dist/layouts/notebook/client.js.map +0 -1
- package/dist/layouts/notebook/index.d.ts.map +0 -1
- package/dist/layouts/notebook/index.js.map +0 -1
- package/dist/layouts/notebook/page/client.d.ts.map +0 -1
- package/dist/layouts/notebook/page/client.js.map +0 -1
- package/dist/layouts/notebook/page/index.d.ts.map +0 -1
- package/dist/layouts/notebook/page/index.js.map +0 -1
- package/dist/layouts/notebook/sidebar.d.ts.map +0 -1
- package/dist/layouts/notebook/sidebar.js.map +0 -1
- package/dist/layouts/shared/index.d.ts.map +0 -1
- package/dist/layouts/shared/index.js.map +0 -1
- package/dist/layouts/shared/language-toggle.d.ts.map +0 -1
- package/dist/layouts/shared/language-toggle.js.map +0 -1
- package/dist/layouts/shared/search-toggle.d.ts.map +0 -1
- package/dist/layouts/shared/search-toggle.js.map +0 -1
- package/dist/layouts/shared/theme-toggle.d.ts.map +0 -1
- package/dist/layouts/shared/theme-toggle.js.map +0 -1
- package/dist/mdx.d.ts.map +0 -1
- package/dist/mdx.js.map +0 -1
- package/dist/mdx.server.d.ts.map +0 -1
- package/dist/mdx.server.js.map +0 -1
- package/dist/page.d.ts.map +0 -1
- package/dist/page.js.map +0 -1
- package/dist/provider/base.d.ts.map +0 -1
- package/dist/provider/base.js.map +0 -1
- package/dist/provider/next.d.ts.map +0 -1
- package/dist/provider/next.js.map +0 -1
- package/dist/provider/react-router.d.ts.map +0 -1
- package/dist/provider/react-router.js.map +0 -1
- package/dist/provider/tanstack.d.ts.map +0 -1
- package/dist/provider/tanstack.js.map +0 -1
- package/dist/provider/waku.d.ts.map +0 -1
- package/dist/provider/waku.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime96 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_runtime96.JSX.Element;
|
|
13
13
|
declare function Accordion({
|
|
14
14
|
title,
|
|
15
15
|
id,
|
|
@@ -19,7 +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_runtime96.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { Accordion, Accordions };
|
|
25
|
-
//# sourceMappingURL=accordion.d.ts.map
|
|
24
|
+
export { Accordion, Accordions };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/banner.d.ts
|
|
@@ -29,7 +29,6 @@ declare function Banner({
|
|
|
29
29
|
* @defaultValue true
|
|
30
30
|
*/
|
|
31
31
|
changeLayout?: boolean;
|
|
32
|
-
}):
|
|
32
|
+
}): react_jsx_runtime107.JSX.Element | null;
|
|
33
33
|
//#endregion
|
|
34
|
-
export { Banner };
|
|
35
|
-
//# sourceMappingURL=banner.d.ts.map
|
|
34
|
+
export { Banner };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 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_runtime0.JSX.Element;
|
|
13
13
|
interface CalloutContainerProps extends ComponentProps<'div'> {
|
|
14
14
|
/**
|
|
15
15
|
* @defaultValue info
|
|
@@ -27,17 +27,16 @@ declare function CalloutContainer({
|
|
|
27
27
|
className,
|
|
28
28
|
style,
|
|
29
29
|
...props
|
|
30
|
-
}: CalloutContainerProps):
|
|
30
|
+
}: CalloutContainerProps): react_jsx_runtime0.JSX.Element;
|
|
31
31
|
declare function CalloutTitle({
|
|
32
32
|
children,
|
|
33
33
|
className,
|
|
34
34
|
...props
|
|
35
|
-
}: ComponentProps<'p'>):
|
|
35
|
+
}: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
|
|
36
36
|
declare function CalloutDescription({
|
|
37
37
|
children,
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: ComponentProps<'p'>):
|
|
40
|
+
}: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
|
-
export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
|
|
43
|
-
//# sourceMappingURL=callout.d.ts.map
|
|
42
|
+
export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
|
|
@@ -59,5 +59,4 @@ function CalloutDescription({ children, className, ...props }) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
//#endregion
|
|
62
|
-
export { Callout, CalloutContainer, CalloutDescription, CalloutTitle };
|
|
63
|
-
//# sourceMappingURL=callout.js.map
|
|
62
|
+
export { Callout, CalloutContainer, CalloutDescription, CalloutTitle };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime135 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_runtime135.JSX.Element;
|
|
6
6
|
type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
|
|
7
7
|
icon?: ReactNode;
|
|
8
8
|
title: ReactNode;
|
|
@@ -15,7 +15,6 @@ declare function Card({
|
|
|
15
15
|
title,
|
|
16
16
|
description,
|
|
17
17
|
...props
|
|
18
|
-
}: CardProps):
|
|
18
|
+
}: CardProps): react_jsx_runtime135.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { Card, CardProps, Cards };
|
|
21
|
-
//# sourceMappingURL=card.d.ts.map
|
|
20
|
+
export { Card, CardProps, Cards };
|
package/dist/components/card.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime90 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_runtime90.JSX.Element;
|
|
40
40
|
declare function CodeBlock({
|
|
41
41
|
ref,
|
|
42
42
|
title,
|
|
@@ -47,17 +47,16 @@ declare function CodeBlock({
|
|
|
47
47
|
children,
|
|
48
48
|
Actions,
|
|
49
49
|
...props
|
|
50
|
-
}: CodeBlockProps):
|
|
50
|
+
}: CodeBlockProps): react_jsx_runtime90.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_runtime90.JSX.Element;
|
|
55
|
+
declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): react_jsx_runtime90.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_runtime90.JSX.Element;
|
|
60
|
+
declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): react_jsx_runtime90.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
|
-
export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
63
|
-
//# sourceMappingURL=codeblock.d.ts.map
|
|
62
|
+
export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
@@ -122,5 +122,4 @@ function CodeBlockTab(props) {
|
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
//#endregion
|
|
125
|
-
export { CodeBlock, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
|
|
126
|
-
//# sourceMappingURL=codeblock.js.map
|
|
125
|
+
export { CodeBlock, 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_runtime82 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { AlgoliaOptions } from "fumadocs-core/search/client";
|
|
6
6
|
|
|
@@ -33,7 +33,6 @@ declare function AlgoliaSearchDialog({
|
|
|
33
33
|
links,
|
|
34
34
|
footer,
|
|
35
35
|
...props
|
|
36
|
-
}: AlgoliaSearchDialogProps):
|
|
36
|
+
}: AlgoliaSearchDialogProps): react_jsx_runtime82.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
|
-
export { AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };
|
|
39
|
-
//# sourceMappingURL=search-algolia.d.ts.map
|
|
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_runtime83 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/dialog/search-default.d.ts
|
|
@@ -38,7 +38,6 @@ declare function DefaultSearchDialog({
|
|
|
38
38
|
links,
|
|
39
39
|
footer,
|
|
40
40
|
...props
|
|
41
|
-
}: DefaultSearchDialogProps):
|
|
41
|
+
}: DefaultSearchDialogProps): react_jsx_runtime83.JSX.Element;
|
|
42
42
|
//#endregion
|
|
43
|
-
export { DefaultSearchDialogProps, DefaultSearchDialog as default };
|
|
44
|
-
//# sourceMappingURL=search-default.d.ts.map
|
|
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_runtime84 from "react/jsx-runtime";
|
|
4
4
|
import { ReactNode } from "react";
|
|
5
5
|
import { OramaCloudOptions } from "fumadocs-core/search/client";
|
|
6
6
|
|
|
@@ -40,7 +40,6 @@ declare function OramaSearchDialog({
|
|
|
40
40
|
footer,
|
|
41
41
|
links,
|
|
42
42
|
...props
|
|
43
|
-
}: OramaSearchDialogProps):
|
|
43
|
+
}: OramaSearchDialogProps): react_jsx_runtime84.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
|
-
export { OramaSearchDialogProps, OramaSearchDialog as default };
|
|
46
|
-
//# sourceMappingURL=search-orama.d.ts.map
|
|
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_runtime30 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_runtime30.JSX.Element;
|
|
32
|
+
declare function SearchDialogHeader(props: ComponentProps<'div'>): react_jsx_runtime30.JSX.Element;
|
|
33
|
+
declare function SearchDialogInput(props: ComponentProps<'input'>): react_jsx_runtime30.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_runtime30.JSX.Element;
|
|
39
|
+
declare function SearchDialogFooter(props: ComponentProps<'div'>): react_jsx_runtime30.JSX.Element;
|
|
40
|
+
declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): react_jsx_runtime30.JSX.Element;
|
|
41
41
|
declare function SearchDialogContent({
|
|
42
42
|
children,
|
|
43
43
|
...props
|
|
44
|
-
}: ComponentProps<typeof DialogContent>):
|
|
44
|
+
}: ComponentProps<typeof DialogContent>): react_jsx_runtime30.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_runtime30.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_runtime30.JSX.Element;
|
|
74
|
+
declare function SearchDialogIcon(props: ComponentProps<'svg'>): react_jsx_runtime30.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_runtime30.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_runtime30.JSX.Element;
|
|
93
93
|
declare function renderHighlights(highlights: HighlightedText<ReactNode>[]): ReactNode;
|
|
94
94
|
declare function useSearch(): {
|
|
95
95
|
open: boolean;
|
|
@@ -109,5 +109,4 @@ declare function useSearchList(): {
|
|
|
109
109
|
setActive: (v: string | null) => void;
|
|
110
110
|
};
|
|
111
111
|
type SharedProps = search_d_exports.SharedProps;
|
|
112
|
-
export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogOverlay, SearchDialogProps, SearchItemType, type SharedProps, TagsList, TagsListItem, TagsListProps, useSearch, useSearchList, useTagsList };
|
|
113
|
-
//# sourceMappingURL=search.d.ts.map
|
|
112
|
+
export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogOverlay, SearchDialogProps, SearchItemType, type SharedProps, TagsList, TagsListItem, TagsListProps, useSearch, useSearchList, useTagsList };
|
|
@@ -267,5 +267,4 @@ function useSearchList() {
|
|
|
267
267
|
}
|
|
268
268
|
|
|
269
269
|
//#endregion
|
|
270
|
-
export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogOverlay, TagsList, TagsListItem, useSearch, useSearchList, useTagsList };
|
|
271
|
-
//# sourceMappingURL=search.js.map
|
|
270
|
+
export { SearchDialog, SearchDialogClose, SearchDialogContent, SearchDialogFooter, SearchDialogHeader, SearchDialogIcon, SearchDialogInput, SearchDialogList, SearchDialogListItem, SearchDialogOverlay, TagsList, TagsListItem, useSearch, useSearchList, useTagsList };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CodeBlockProps } from "./codeblock.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime126 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,7 +26,6 @@ declare function DynamicCodeBlock({
|
|
|
26
26
|
codeblock,
|
|
27
27
|
options,
|
|
28
28
|
wrapInSuspense
|
|
29
|
-
}: DynamicCodeblockProps):
|
|
29
|
+
}: DynamicCodeblockProps): react_jsx_runtime126.JSX.Element;
|
|
30
30
|
//#endregion
|
|
31
|
-
export { DynamicCodeBlock, DynamicCodeblockProps };
|
|
32
|
-
//# sourceMappingURL=dynamic-codeblock.d.ts.map
|
|
31
|
+
export { DynamicCodeBlock, DynamicCodeblockProps };
|
package/dist/components/files.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime127 from "react/jsx-runtime";
|
|
2
2
|
import { AnchorHTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/github-info.d.ts
|
|
@@ -13,7 +13,6 @@ declare function GithubInfo({
|
|
|
13
13
|
repo: string;
|
|
14
14
|
token?: string;
|
|
15
15
|
baseUrl?: string;
|
|
16
|
-
}): Promise<
|
|
16
|
+
}): Promise<react_jsx_runtime127.JSX.Element>;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { GithubInfo };
|
|
19
|
-
//# sourceMappingURL=github-info.d.ts.map
|
|
18
|
+
export { GithubInfo };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ImageProps } from "fumadocs-core/framework";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime129 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import { UncontrolledProps } from "react-medium-image-zoom";
|
|
5
5
|
|
|
@@ -19,7 +19,6 @@ declare function ImageZoom({
|
|
|
19
19
|
children,
|
|
20
20
|
rmiz,
|
|
21
21
|
...props
|
|
22
|
-
}: ImageZoomProps):
|
|
22
|
+
}: ImageZoomProps): react_jsx_runtime129.JSX.Element;
|
|
23
23
|
//#endregion
|
|
24
|
-
export { ImageZoom, ImageZoomProps };
|
|
25
|
-
//# sourceMappingURL=image-zoom.d.ts.map
|
|
24
|
+
export { ImageZoom, ImageZoomProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Collapsible } from "./ui/collapsible.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime128 from "react/jsx-runtime";
|
|
3
3
|
import { ComponentProps } from "react";
|
|
4
4
|
import { TOCItemType } from "fumadocs-core/toc";
|
|
5
5
|
|
|
@@ -10,7 +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_runtime128.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { InlineTOC, InlineTocProps };
|
|
16
|
-
//# sourceMappingURL=inline-toc.d.ts.map
|
|
15
|
+
export { InlineTOC, InlineTocProps };
|
|
@@ -1,8 +1,8 @@
|
|
|
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
|
|
5
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
5
|
+
import * as react10 from "react";
|
|
6
6
|
import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/sidebar/base.d.ts
|
|
@@ -37,12 +37,12 @@ interface SidebarProviderProps {
|
|
|
37
37
|
children?: ReactNode;
|
|
38
38
|
}
|
|
39
39
|
type Mode = 'drawer' | 'full';
|
|
40
|
-
declare const SidebarContext:
|
|
40
|
+
declare const SidebarContext: react10.Context<SidebarContext | null>;
|
|
41
41
|
declare function SidebarProvider({
|
|
42
42
|
defaultOpenLevel,
|
|
43
43
|
prefetch,
|
|
44
44
|
children
|
|
45
|
-
}: SidebarProviderProps):
|
|
45
|
+
}: SidebarProviderProps): react_jsx_runtime68.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_runtime68.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_runtime68.JSX.Element | undefined;
|
|
71
|
+
declare function SidebarViewport(props: ScrollAreaProps): react_jsx_runtime68.JSX.Element;
|
|
72
|
+
declare function SidebarSeparator(props: ComponentProps<'p'>): react_jsx_runtime68.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_runtime68.JSX.Element;
|
|
80
80
|
declare function SidebarFolder({
|
|
81
81
|
defaultOpen: defaultOpenProp,
|
|
82
82
|
collapsible,
|
|
@@ -87,25 +87,24 @@ declare function SidebarFolder({
|
|
|
87
87
|
active?: boolean;
|
|
88
88
|
defaultOpen?: boolean;
|
|
89
89
|
collapsible?: boolean;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime68.JSX.Element;
|
|
91
91
|
declare function SidebarFolderTrigger({
|
|
92
92
|
children,
|
|
93
93
|
...props
|
|
94
|
-
}: CollapsibleTriggerProps):
|
|
94
|
+
}: CollapsibleTriggerProps): react_jsx_runtime68.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_runtime68.JSX.Element;
|
|
99
|
+
declare function SidebarFolderContent(props: CollapsibleContentProps): react_jsx_runtime68.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_runtime68.JSX.Element;
|
|
104
|
+
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): react_jsx_runtime68.JSX.Element;
|
|
105
105
|
/**
|
|
106
106
|
* scroll to the element if `active` is true
|
|
107
107
|
*/
|
|
108
108
|
declare function useAutoScroll(active: boolean, ref: RefObject<HTMLElement | null>): void;
|
|
109
109
|
//#endregion
|
|
110
|
-
export { SidebarCollapseTrigger, SidebarContent, SidebarDrawerContent, SidebarDrawerOverlay, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarProvider, SidebarProviderProps, SidebarSeparator, SidebarTrigger, SidebarViewport, base_d_exports, useAutoScroll, useFolder, useFolderDepth, useSidebar };
|
|
111
|
-
//# sourceMappingURL=base.d.ts.map
|
|
110
|
+
export { SidebarCollapseTrigger, SidebarContent, SidebarDrawerContent, SidebarDrawerOverlay, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarProvider, SidebarProviderProps, SidebarSeparator, SidebarTrigger, SidebarViewport, base_d_exports, useAutoScroll, useFolder, useFolderDepth, useSidebar };
|
|
@@ -261,5 +261,4 @@ function useAutoScroll(active, ref) {
|
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
//#endregion
|
|
264
|
-
export { SidebarCollapseTrigger, SidebarContent, SidebarDrawerContent, SidebarDrawerOverlay, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarProvider, SidebarSeparator, SidebarTrigger, SidebarViewport, useAutoScroll, useFolder, useFolderDepth, useSidebar };
|
|
265
|
-
//# sourceMappingURL=base.js.map
|
|
264
|
+
export { SidebarCollapseTrigger, SidebarContent, SidebarDrawerContent, SidebarDrawerOverlay, SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem, SidebarProvider, SidebarSeparator, SidebarTrigger, SidebarViewport, useAutoScroll, useFolder, useFolderDepth, useSidebar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime80 from "react/jsx-runtime";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
4
|
import { LinkItemType } from "@fumadocs/ui/link-item";
|
|
5
5
|
|
|
@@ -18,7 +18,6 @@ declare function createLinkItemRenderer({
|
|
|
18
18
|
item: Exclude<LinkItemType, {
|
|
19
19
|
type: "icon";
|
|
20
20
|
}>;
|
|
21
|
-
}) =>
|
|
21
|
+
}) => react_jsx_runtime80.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { createLinkItemRenderer };
|
|
24
|
-
//# sourceMappingURL=link-item.d.ts.map
|
|
23
|
+
export { createLinkItemRenderer };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime81 from "react/jsx-runtime";
|
|
3
3
|
import { FC, ReactNode } from "react";
|
|
4
4
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
5
5
|
|
|
@@ -24,7 +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_runtime81.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
|
-
export { SidebarPageTreeComponents, createPageTreeRenderer };
|
|
30
|
-
//# sourceMappingURL=page-tree.d.ts.map
|
|
29
|
+
export { SidebarPageTreeComponents, createPageTreeRenderer };
|