fumadocs-ui 16.15.5 → 16.15.7
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/codeblock.rsc.d.ts +1 -1
- package/dist/components/sidebar/link-item.d.ts +1 -1
- package/dist/components/ui/button.d.ts +3 -3
- package/dist/layouts/docs/page/index.d.ts +1 -1
- package/dist/layouts/docs/slots/header.d.ts +1 -1
- package/dist/layouts/flux/page/index.d.ts +1 -1
- package/dist/layouts/home/slots/header.d.ts +2 -2
- package/dist/layouts/notebook/page/index.d.ts +1 -1
- package/dist/layouts/notebook/slots/header.d.ts +1 -1
- package/dist/utils/cn.js +1 -1
- package/package.json +7 -7
|
@@ -10,6 +10,6 @@ type ServerCodeBlockProps = HighlightOptions & {
|
|
|
10
10
|
*/
|
|
11
11
|
codeblock?: CodeBlockProps;
|
|
12
12
|
};
|
|
13
|
-
declare function ServerCodeBlock({ code, codeblock, ...options }: ServerCodeBlockProps): Promise<import("react").
|
|
13
|
+
declare function ServerCodeBlock({ code, codeblock, ...options }: ServerCodeBlockProps): Promise<Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | (string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined)>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { ServerCodeBlock, ServerCodeBlockProps };
|
|
@@ -5,7 +5,7 @@ import { HTMLAttributes } from "react";
|
|
|
5
5
|
type InternalComponents = Pick<typeof base_d_exports, 'SidebarFolder' | 'SidebarFolderLink' | 'SidebarFolderContent' | 'SidebarFolderTrigger' | 'SidebarItem'>;
|
|
6
6
|
declare function createLinkItemRenderer({ SidebarFolder, SidebarFolderContent, SidebarFolderLink, SidebarFolderTrigger, SidebarItem }: InternalComponents): ({ item, ...props }: HTMLAttributes<HTMLElement> & {
|
|
7
7
|
item: Exclude<LinkItemType, {
|
|
8
|
-
type:
|
|
8
|
+
type: 'icon';
|
|
9
9
|
}>;
|
|
10
10
|
}) => import("react").JSX.Element;
|
|
11
11
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
//#region src/components/ui/button.d.ts
|
|
3
3
|
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "
|
|
5
|
-
color?: "
|
|
6
|
-
size?: "icon" | "sm" | "icon-
|
|
4
|
+
variant?: "ghost" | "outline" | "primary" | "secondary" | null | undefined;
|
|
5
|
+
color?: "ghost" | "outline" | "primary" | "secondary" | null | undefined;
|
|
6
|
+
size?: "icon" | "icon-sm" | "icon-xs" | "sm" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
8
8
|
type ButtonProps = VariantProps<typeof buttonVariants>;
|
|
9
9
|
//#endregion
|
|
@@ -58,7 +58,7 @@ interface DocsPageSlots {
|
|
|
58
58
|
breadcrumb: FC<BreadcrumbProps>;
|
|
59
59
|
}
|
|
60
60
|
declare function useDocsPage(): {
|
|
61
|
-
full: NonNullable<DocsPageProps[
|
|
61
|
+
full: NonNullable<DocsPageProps['full']>;
|
|
62
62
|
slots: DocsPageSlots;
|
|
63
63
|
};
|
|
64
64
|
declare function DocsPage({ full, tableOfContent: { enabled: tocEnabled, single, ...tocProps }, tableOfContentPopover: { enabled: tocPopoverEnabled, ...tocPopoverProps }, breadcrumb: { enabled: breadcrumbEnabled, ...breadcrumb }, footer: { enabled: footerEnabled, ...footer }, toc, slots: defaultSlots, children, ...containerProps }: DocsPageProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/layouts/docs/slots/header.d.ts
|
|
3
|
-
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
3
|
+
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { Header };
|
|
@@ -49,7 +49,7 @@ interface DocsPageSlots {
|
|
|
49
49
|
breadcrumb: FC<BreadcrumbProps>;
|
|
50
50
|
}
|
|
51
51
|
declare function useDocsPage(): {
|
|
52
|
-
full: NonNullable<DocsPageProps[
|
|
52
|
+
full: NonNullable<DocsPageProps['full']>;
|
|
53
53
|
slots: DocsPageSlots;
|
|
54
54
|
};
|
|
55
55
|
declare function DocsPage({ full, tableOfContent: { enabled: tocEnabled, single, ...tocProps }, breadcrumb: { enabled: breadcrumbEnabled, ...breadcrumb }, footer: { enabled: footerEnabled, ...footer }, toc, slots: defaultSlots, children, ...containerProps }: DocsPageProps): import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/layouts/home/slots/header.d.ts
|
|
3
3
|
declare const navItemVariants: (props?: ({
|
|
4
|
-
variant?: "button" | "
|
|
4
|
+
variant?: "button" | "icon" | "main" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
|
-
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
6
|
+
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Header, navItemVariants };
|
|
@@ -58,7 +58,7 @@ interface DocsPageSlots {
|
|
|
58
58
|
breadcrumb: FC<BreadcrumbProps>;
|
|
59
59
|
}
|
|
60
60
|
declare function useDocsPage(): {
|
|
61
|
-
full: NonNullable<DocsPageProps[
|
|
61
|
+
full: NonNullable<DocsPageProps['full']>;
|
|
62
62
|
slots: DocsPageSlots;
|
|
63
63
|
};
|
|
64
64
|
declare function DocsPage({ full, tableOfContent: { enabled: tocEnabled, single, ...tocProps }, tableOfContentPopover: { enabled: tocPopoverEnabled, ...tocPopoverProps }, breadcrumb: { enabled: breadcrumbEnabled, ...breadcrumb }, footer: { enabled: footerEnabled, ...footer }, toc, slots: defaultSlots, children, ...containerProps }: DocsPageProps): import("react").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
2
|
//#region src/layouts/notebook/slots/header.d.ts
|
|
3
|
-
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").
|
|
3
|
+
declare function Header(props: ComponentProps<'header'>): string | number | bigint | true | import("react").JSX.Element | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | Iterable<import("react").ReactNode> | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | import("react").ReactPortal | null | undefined>;
|
|
4
4
|
//#endregion
|
|
5
5
|
export { Header };
|
package/dist/utils/cn.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { cn } from "
|
|
1
|
+
import { cn } from "cn";
|
|
2
2
|
export { cn };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "fumadocs-ui",
|
|
3
|
-
"version": "16.15.
|
|
3
|
+
"version": "16.15.7",
|
|
4
4
|
"description": "The Radix UI version of Fumadocs UI",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Docs",
|
|
@@ -146,8 +146,8 @@
|
|
|
146
146
|
"@radix-ui/react-slot": "^1.3.3",
|
|
147
147
|
"@radix-ui/react-tabs": "^1.1.21",
|
|
148
148
|
"class-variance-authority": "^0.7.1",
|
|
149
|
-
"
|
|
150
|
-
"lucide-react": "^1.
|
|
149
|
+
"cn": "^0.2.4",
|
|
150
|
+
"lucide-react": "^1.39.0",
|
|
151
151
|
"motion": "^13.1.1",
|
|
152
152
|
"next-themes": "^0.4.6",
|
|
153
153
|
"react-remove-scroll": "^2.7.2",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"@tsdown/css": "^0.22.14",
|
|
164
164
|
"@types/hast": "^3.0.5",
|
|
165
165
|
"@types/mdx": "^2.0.14",
|
|
166
|
-
"@types/node": "^26.
|
|
166
|
+
"@types/node": "^26.4.1",
|
|
167
167
|
"@types/react": "^19.2.18",
|
|
168
168
|
"@types/react-dom": "^19.2.5",
|
|
169
169
|
"fuma-cli": "^0.1.1",
|
|
@@ -171,9 +171,9 @@
|
|
|
171
171
|
"tailwindcss": "^4.3.3",
|
|
172
172
|
"tsdown": "0.22.14",
|
|
173
173
|
"unified": "^11.0.5",
|
|
174
|
+
"tsconfig": "0.0.0",
|
|
174
175
|
"@fumadocs/cli": "1.5.0",
|
|
175
|
-
"fumadocs-core": "16.15.
|
|
176
|
-
"tsconfig": "0.0.0"
|
|
176
|
+
"fumadocs-core": "16.15.7"
|
|
177
177
|
},
|
|
178
178
|
"peerDependencies": {
|
|
179
179
|
"@types/mdx": "*",
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
"react": "^19.2.0",
|
|
183
183
|
"react-dom": "^19.2.0",
|
|
184
184
|
"takumi-js": "*",
|
|
185
|
-
"fumadocs-core": "16.15.
|
|
185
|
+
"fumadocs-core": "16.15.7"
|
|
186
186
|
},
|
|
187
187
|
"peerDependenciesMeta": {
|
|
188
188
|
"next": {
|