fumadocs-core 16.4.4 → 16.4.5
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/content/index.d.ts +2 -2
- package/dist/framework/index.d.ts +4 -4
- package/dist/framework/next.d.ts +2 -2
- package/dist/framework/react-router.d.ts +2 -2
- package/dist/framework/tanstack.d.ts +2 -2
- package/dist/framework/waku.d.ts +2 -2
- package/dist/link.d.ts +2 -2
- package/package.json +1 -1
package/dist/content/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react3 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
3
|
import { Components } from "hast-util-to-jsx-runtime";
|
|
4
4
|
import { Compatible } from "vfile";
|
|
@@ -17,7 +17,7 @@ declare function Markdown({
|
|
|
17
17
|
remarkPlugins?: PluggableList;
|
|
18
18
|
rehypePlugins?: PluggableList;
|
|
19
19
|
children: Compatible;
|
|
20
|
-
}): Promise<
|
|
20
|
+
}): Promise<react3.ReactElement<unknown, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | (string | number | bigint | boolean | react3.ReactPortal | react3.ReactElement<unknown, string | react3.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined)>;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { Markdown, MarkdownProps };
|
|
23
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, FC, ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
3
3
|
import { StaticImport } from "next/dist/shared/lib/get-img-props";
|
|
4
4
|
|
|
5
5
|
//#region src/framework/index.d.ts
|
|
@@ -39,12 +39,12 @@ declare function FrameworkProvider({
|
|
|
39
39
|
children
|
|
40
40
|
}: Framework & {
|
|
41
41
|
children: ReactNode;
|
|
42
|
-
}):
|
|
42
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
43
43
|
declare function usePathname(): string;
|
|
44
44
|
declare function useRouter(): Router;
|
|
45
45
|
declare function useParams(): Record<string, string | string[]>;
|
|
46
|
-
declare function Image(props: ImageProps):
|
|
47
|
-
declare function Link(props: LinkProps):
|
|
46
|
+
declare function Image(props: ImageProps): react_jsx_runtime5.JSX.Element;
|
|
47
|
+
declare function Link(props: LinkProps): react_jsx_runtime5.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { Framework, FrameworkProvider, Image, ImageProps, Link, Router, useParams, usePathname, useRouter };
|
|
50
50
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/framework/next.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Framework } from "./index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime8 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/framework/next.d.ts
|
|
6
6
|
declare function NextProvider({
|
|
@@ -11,7 +11,7 @@ declare function NextProvider({
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
Link?: Framework['Link'];
|
|
13
13
|
Image?: Framework['Image'];
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime8.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { NextProvider };
|
|
17
17
|
//# sourceMappingURL=next.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Framework } from "./index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime2 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/framework/react-router.d.ts
|
|
6
6
|
declare function ReactRouterProvider({
|
|
@@ -11,7 +11,7 @@ declare function ReactRouterProvider({
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
Link?: Framework['Link'];
|
|
13
13
|
Image?: Framework['Image'];
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime2.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ReactRouterProvider };
|
|
17
17
|
//# sourceMappingURL=react-router.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Framework } from "./index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/framework/tanstack.d.ts
|
|
6
6
|
/**
|
|
@@ -14,7 +14,7 @@ declare function TanstackProvider({
|
|
|
14
14
|
children: ReactNode;
|
|
15
15
|
Link?: Framework['Link'];
|
|
16
16
|
Image?: Framework['Image'];
|
|
17
|
-
}):
|
|
17
|
+
}): react_jsx_runtime3.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TanstackProvider };
|
|
20
20
|
//# sourceMappingURL=tanstack.d.ts.map
|
package/dist/framework/waku.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Framework } from "./index.js";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/framework/waku.d.ts
|
|
6
6
|
declare function WakuProvider({
|
|
@@ -11,7 +11,7 @@ declare function WakuProvider({
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
Link?: Framework['Link'];
|
|
13
13
|
Image?: Framework['Image'];
|
|
14
|
-
}):
|
|
14
|
+
}): react_jsx_runtime4.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { WakuProvider };
|
|
17
17
|
//# sourceMappingURL=waku.d.ts.map
|
package/dist/link.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react1 from "react";
|
|
2
2
|
import { AnchorHTMLAttributes } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/link.d.ts
|
|
@@ -14,7 +14,7 @@ interface LinkProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
14
14
|
*/
|
|
15
15
|
prefetch?: boolean;
|
|
16
16
|
}
|
|
17
|
-
declare const Link:
|
|
17
|
+
declare const Link: react1.ForwardRefExoticComponent<LinkProps & react1.RefAttributes<HTMLAnchorElement>>;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { LinkProps, Link as default };
|
|
20
20
|
//# sourceMappingURL=link.d.ts.map
|