fumadocs-core 15.7.10 → 15.7.11

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.
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { VFile } from 'vfile';
3
+ import { Compatible } from 'vfile';
4
4
  import { Components } from 'hast-util-to-jsx-runtime';
5
5
  import { PluggableList } from 'unified';
6
6
 
@@ -10,7 +10,7 @@ interface MarkdownProps {
10
10
  declare function Markdown({ children: content, remarkPlugins, rehypePlugins, ...options }: MarkdownProps & {
11
11
  remarkPlugins?: PluggableList;
12
12
  rehypePlugins?: PluggableList;
13
- children: string | VFile;
13
+ children: Compatible;
14
14
  }): Promise<react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | (string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined)>;
15
15
 
16
- export { Markdown };
16
+ export { Markdown, type MarkdownProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fumadocs-core",
3
- "version": "15.7.10",
3
+ "version": "15.7.11",
4
4
  "description": "The library for building a documentation website in Next.js",
5
5
  "keywords": [
6
6
  "NextJs",
@@ -110,9 +110,9 @@
110
110
  },
111
111
  "devDependencies": {
112
112
  "@mdx-js/mdx": "^3.1.1",
113
- "@mixedbread/sdk": "^0.27.0",
113
+ "@mixedbread/sdk": "^0.28.1",
114
114
  "@oramacloud/client": "^2.1.4",
115
- "@tanstack/react-router": "^1.131.35",
115
+ "@tanstack/react-router": "^1.131.36",
116
116
  "@types/estree-jsx": "^1.0.5",
117
117
  "@types/hast": "^3.0.4",
118
118
  "@types/mdast": "^4.0.3",
@@ -131,8 +131,8 @@
131
131
  "unified": "^11.0.5",
132
132
  "vfile": "^6.0.3",
133
133
  "waku": "^0.26.0",
134
- "tsconfig": "0.0.0",
135
- "eslint-config-custom": "0.0.0"
134
+ "eslint-config-custom": "0.0.0",
135
+ "tsconfig": "0.0.0"
136
136
  },
137
137
  "peerDependencies": {
138
138
  "@mixedbread/sdk": "^0.19.0",