@fumadocs/base-ui 16.7.7 → 16.7.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/css/generated/docs.css +14 -5
- package/css/generated/notebook.css +1 -0
- package/css/generated/shared.css +0 -2
- package/css/lib/base.css +4 -0
- 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/codeblock.rsc.d.ts +2 -2
- 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.core.d.ts +2 -2
- 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/image-zoom.js +1 -2
- package/dist/components/{image-zoom.css → image-zoom2.css} +11 -17
- package/dist/components/inline-toc.d.ts +2 -2
- package/dist/components/sidebar/base.d.ts +15 -15
- 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 +6 -6
- package/dist/components/toc/clerk.d.ts +4 -4
- package/dist/components/toc/default.d.ts +4 -4
- package/dist/components/toc/index.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/button.d.ts +2 -2
- package/dist/components/ui/collapsible.d.ts +6 -6
- package/dist/components/ui/navigation-menu.d.ts +9 -9
- package/dist/components/ui/popover.d.ts +4 -4
- package/dist/components/ui/scroll-area.d.ts +4 -4
- package/dist/components/ui/tabs.d.ts +7 -7
- package/dist/contexts/i18n.d.ts +2 -2
- package/dist/contexts/search.d.ts +2 -2
- package/dist/contexts/tree.d.ts +2 -2
- package/dist/layouts/docs/client.d.ts +0 -1
- package/dist/layouts/docs/index.d.ts +2 -2
- package/dist/layouts/docs/page/index.d.ts +7 -7
- package/dist/layouts/docs/page/slots/breadcrumb.d.ts +2 -2
- package/dist/layouts/docs/page/slots/container.d.ts +2 -2
- package/dist/layouts/docs/page/slots/footer.d.ts +2 -2
- package/dist/layouts/docs/page/slots/toc.d.ts +4 -4
- package/dist/layouts/docs/slots/container.d.ts +2 -2
- package/dist/layouts/docs/slots/header.d.ts +3 -3
- package/dist/layouts/docs/slots/sidebar.d.ts +4 -4
- package/dist/layouts/docs/slots/sidebar.js +25 -17
- package/dist/layouts/flux/index.d.ts +4 -4
- package/dist/layouts/flux/page/index.d.ts +7 -7
- package/dist/layouts/flux/page/slots/breadcrumb.d.ts +2 -2
- package/dist/layouts/flux/page/slots/container.d.ts +2 -2
- package/dist/layouts/flux/page/slots/footer.d.ts +2 -2
- package/dist/layouts/flux/page/slots/toc.d.ts +2 -2
- package/dist/layouts/flux/slots/container.d.ts +2 -2
- package/dist/layouts/flux/slots/sidebar.d.ts +4 -4
- package/dist/layouts/flux/slots/tab-dropdown.d.ts +2 -2
- package/dist/layouts/home/index.d.ts +2 -2
- package/dist/layouts/home/navbar.d.ts +4 -4
- package/dist/layouts/home/not-found.d.ts +2 -2
- package/dist/layouts/home/slots/container.d.ts +2 -2
- package/dist/layouts/home/slots/header.d.ts +4 -4
- package/dist/layouts/notebook/client.d.ts +0 -1
- package/dist/layouts/notebook/index.d.ts +2 -2
- package/dist/layouts/notebook/page/index.d.ts +7 -7
- package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +2 -2
- package/dist/layouts/notebook/page/slots/container.d.ts +2 -2
- package/dist/layouts/notebook/page/slots/footer.d.ts +2 -2
- package/dist/layouts/notebook/page/slots/toc.d.ts +4 -4
- package/dist/layouts/notebook/slots/container.d.ts +2 -2
- package/dist/layouts/notebook/slots/header.d.ts +3 -3
- package/dist/layouts/notebook/slots/header.js +1 -1
- package/dist/layouts/notebook/slots/sidebar.d.ts +6 -6
- package/dist/layouts/notebook/slots/sidebar.js +14 -12
- package/dist/layouts/shared/client.d.ts +2 -2
- package/dist/layouts/shared/page-actions.d.ts +3 -3
- package/dist/layouts/shared/slots/language-select.d.ts +13 -4
- package/dist/layouts/shared/slots/language-select.js +7 -10
- package/dist/layouts/shared/slots/search-trigger.d.ts +3 -3
- package/dist/layouts/shared/slots/theme-switch.d.ts +2 -2
- package/dist/layouts/shared/slots/theme-switch.js +1 -1
- package/dist/mdx.d.ts +10 -10
- package/dist/og/takumi.d.ts +2 -2
- package/dist/og.d.ts +3 -3
- 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/dist/style.css +51 -6
- package/package.json +11 -11
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { CollapsibleContentProps, CollapsibleTriggerProps } from "../ui/collapsible.js";
|
|
2
2
|
import { ScrollAreaProps } from "../ui/scroll-area.js";
|
|
3
|
-
import * as react from "react";
|
|
3
|
+
import * as _$react from "react";
|
|
4
4
|
import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
|
|
5
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
import { LinkProps } from "fumadocs-core/link";
|
|
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: react.Context<SidebarContext | null>;
|
|
40
|
+
declare const SidebarContext: _$react.Context<SidebarContext | null>;
|
|
41
41
|
declare function SidebarProvider({
|
|
42
42
|
defaultOpenLevel,
|
|
43
43
|
prefetch,
|
|
44
44
|
children
|
|
45
|
-
}: SidebarProviderProps): react_jsx_runtime0.JSX.Element;
|
|
45
|
+
}: SidebarProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
46
46
|
declare function useSidebar(): SidebarContext;
|
|
47
47
|
declare function useFolder(): {
|
|
48
48
|
open: boolean;
|
|
@@ -62,17 +62,17 @@ declare function SidebarContent({
|
|
|
62
62
|
onPointerLeave: (event: PointerEvent) => void;
|
|
63
63
|
}) => ReactNode;
|
|
64
64
|
}): ReactNode;
|
|
65
|
-
declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element | undefined;
|
|
65
|
+
declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element | undefined;
|
|
66
66
|
declare function SidebarDrawerContent({
|
|
67
67
|
className,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: ComponentProps<'aside'>): react_jsx_runtime0.JSX.Element | undefined;
|
|
70
|
+
}: ComponentProps<'aside'>): _$react_jsx_runtime0.JSX.Element | undefined;
|
|
71
71
|
declare function SidebarViewport({
|
|
72
72
|
className,
|
|
73
73
|
...props
|
|
74
|
-
}: ScrollAreaProps): react_jsx_runtime0.JSX.Element;
|
|
75
|
-
declare function SidebarSeparator(props: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
|
|
74
|
+
}: ScrollAreaProps): _$react_jsx_runtime0.JSX.Element;
|
|
75
|
+
declare function SidebarSeparator(props: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
|
|
76
76
|
declare function SidebarItem({
|
|
77
77
|
icon,
|
|
78
78
|
active,
|
|
@@ -81,7 +81,7 @@ declare function SidebarItem({
|
|
|
81
81
|
}: LinkProps & {
|
|
82
82
|
active?: boolean;
|
|
83
83
|
icon?: ReactNode;
|
|
84
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
84
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
85
85
|
declare function SidebarFolder({
|
|
86
86
|
defaultOpen: defaultOpenProp,
|
|
87
87
|
collapsible,
|
|
@@ -92,24 +92,24 @@ declare function SidebarFolder({
|
|
|
92
92
|
active?: boolean;
|
|
93
93
|
defaultOpen?: boolean;
|
|
94
94
|
collapsible?: boolean;
|
|
95
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
95
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
96
96
|
declare function SidebarFolderTrigger({
|
|
97
97
|
children,
|
|
98
98
|
...props
|
|
99
|
-
}: CollapsibleTriggerProps): react_jsx_runtime0.JSX.Element;
|
|
99
|
+
}: CollapsibleTriggerProps): _$react_jsx_runtime0.JSX.Element;
|
|
100
100
|
declare function SidebarFolderLink({
|
|
101
101
|
children,
|
|
102
102
|
active,
|
|
103
103
|
...props
|
|
104
104
|
}: LinkProps & {
|
|
105
105
|
active?: boolean;
|
|
106
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
107
|
-
declare function SidebarFolderContent(props: CollapsibleContentProps): react_jsx_runtime0.JSX.Element;
|
|
106
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
107
|
+
declare function SidebarFolderContent(props: CollapsibleContentProps): _$react_jsx_runtime0.JSX.Element;
|
|
108
108
|
declare function SidebarTrigger({
|
|
109
109
|
children,
|
|
110
110
|
...props
|
|
111
|
-
}: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
|
|
112
|
-
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
|
|
111
|
+
}: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
|
|
112
|
+
declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
|
|
113
113
|
/**
|
|
114
114
|
* scroll to the element if `active` is true
|
|
115
115
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
2
|
import { LinkItemType } from "../../layouts/shared/index.js";
|
|
3
3
|
import { HTMLAttributes } from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sidebar/link-item.d.ts
|
|
7
7
|
type InternalComponents = Pick<typeof base_d_exports, 'SidebarFolder' | 'SidebarFolderLink' | 'SidebarFolderContent' | 'SidebarFolderTrigger' | 'SidebarItem'>;
|
|
@@ -18,6 +18,6 @@ declare function createLinkItemRenderer({
|
|
|
18
18
|
item: Exclude<LinkItemType, {
|
|
19
19
|
type: "icon";
|
|
20
20
|
}>;
|
|
21
|
-
}) => react_jsx_runtime0.JSX.Element;
|
|
21
|
+
}) => _$react_jsx_runtime0.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { createLinkItemRenderer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { base_d_exports } from "./base.js";
|
|
2
2
|
import { FC, ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sidebar/page-tree.d.ts
|
|
@@ -24,6 +24,6 @@ declare function createPageTreeRenderer({
|
|
|
24
24
|
SidebarFolderTrigger,
|
|
25
25
|
SidebarSeparator,
|
|
26
26
|
SidebarItem
|
|
27
|
-
}: InternalComponents): (components: Partial<SidebarPageTreeComponents>) => react_jsx_runtime0.JSX.Element;
|
|
27
|
+
}: InternalComponents): (components: Partial<SidebarPageTreeComponents>) => _$react_jsx_runtime0.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { SidebarPageTreeComponents, createPageTreeRenderer };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LayoutTab, isLayoutTabActive } from "../../../layouts/shared/index.js";
|
|
2
2
|
import { ComponentProps, ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/sidebar/tabs/dropdown.d.ts
|
|
6
6
|
type SidebarTabWithProps = LayoutTab;
|
|
@@ -11,7 +11,7 @@ declare function SidebarTabsDropdown({
|
|
|
11
11
|
}: {
|
|
12
12
|
placeholder?: ReactNode;
|
|
13
13
|
options: SidebarTabWithProps[];
|
|
14
|
-
} & ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
} & ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
|
|
15
15
|
declare const isTabActive: typeof isLayoutTabActive;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { SidebarTabWithProps, SidebarTabsDropdown, isTabActive };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/steps.d.ts
|
|
5
5
|
declare function Steps({
|
|
6
6
|
children
|
|
7
7
|
}: {
|
|
8
8
|
children: ReactNode;
|
|
9
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
9
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
10
10
|
declare function Step({
|
|
11
11
|
children
|
|
12
12
|
}: {
|
|
13
13
|
children: ReactNode;
|
|
14
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { Step, Steps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Tabs as Tabs$1, TabsContent as TabsContent$1, TabsList as TabsList$1, TabsTrigger as TabsTrigger$1 } from "./ui/tabs.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import { ComponentProps, ReactNode } from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/tabs.d.ts
|
|
7
7
|
interface TabsProps extends Omit<ComponentProps<typeof Tabs$1>, 'value' | 'onValueChange'> {
|
|
@@ -23,11 +23,11 @@ interface TabsProps extends Omit<ComponentProps<typeof Tabs$1>, 'value' | 'onVal
|
|
|
23
23
|
declare function TabsList({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: React$1.ComponentPropsWithRef<typeof TabsList$1>): react_jsx_runtime0.JSX.Element;
|
|
26
|
+
}: React$1.ComponentPropsWithRef<typeof TabsList$1>): _$react_jsx_runtime0.JSX.Element;
|
|
27
27
|
declare function TabsTrigger({
|
|
28
28
|
className,
|
|
29
29
|
...props
|
|
30
|
-
}: React$1.ComponentPropsWithRef<typeof TabsTrigger$1>): react_jsx_runtime0.JSX.Element;
|
|
30
|
+
}: React$1.ComponentPropsWithRef<typeof TabsTrigger$1>): _$react_jsx_runtime0.JSX.Element;
|
|
31
31
|
declare function Tabs({
|
|
32
32
|
ref,
|
|
33
33
|
className,
|
|
@@ -36,7 +36,7 @@ declare function Tabs({
|
|
|
36
36
|
defaultIndex,
|
|
37
37
|
defaultValue,
|
|
38
38
|
...props
|
|
39
|
-
}: TabsProps): react_jsx_runtime0.JSX.Element;
|
|
39
|
+
}: TabsProps): _$react_jsx_runtime0.JSX.Element;
|
|
40
40
|
interface TabProps extends Omit<ComponentProps<typeof TabsContent$1>, 'value'> {
|
|
41
41
|
/**
|
|
42
42
|
* Value of tab, detect from index if unspecified.
|
|
@@ -46,11 +46,11 @@ interface TabProps extends Omit<ComponentProps<typeof TabsContent$1>, 'value'> {
|
|
|
46
46
|
declare function Tab({
|
|
47
47
|
value,
|
|
48
48
|
...props
|
|
49
|
-
}: TabProps): react_jsx_runtime0.JSX.Element;
|
|
49
|
+
}: TabProps): _$react_jsx_runtime0.JSX.Element;
|
|
50
50
|
declare function TabsContent({
|
|
51
51
|
value,
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: ComponentProps<typeof TabsContent$1>): react_jsx_runtime0.JSX.Element;
|
|
54
|
+
}: ComponentProps<typeof TabsContent$1>): _$react_jsx_runtime0.JSX.Element;
|
|
55
55
|
//#endregion
|
|
56
56
|
export { Tab, TabProps, Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as Primitive from "fumadocs-core/toc";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toc/clerk.d.ts
|
|
@@ -7,13 +7,13 @@ declare function TOCItems({
|
|
|
7
7
|
ref,
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
|
|
11
|
-
declare function TOCEmpty(): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
}: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
|
|
11
|
+
declare function TOCEmpty(): _$react_jsx_runtime0.JSX.Element;
|
|
12
12
|
declare function TOCItem({
|
|
13
13
|
item,
|
|
14
14
|
...props
|
|
15
15
|
}: Primitive.TOCItemProps & {
|
|
16
16
|
item: Primitive.TOCItemType;
|
|
17
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TOCEmpty, TOCItem, TOCItems };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as Primitive from "fumadocs-core/toc";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toc/default.d.ts
|
|
@@ -7,13 +7,13 @@ declare function TOCItems({
|
|
|
7
7
|
ref,
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
|
|
11
|
-
declare function TOCEmpty(): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
}: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
|
|
11
|
+
declare function TOCEmpty(): _$react_jsx_runtime0.JSX.Element;
|
|
12
12
|
declare function TOCItem({
|
|
13
13
|
item,
|
|
14
14
|
...props
|
|
15
15
|
}: Primitive.TOCItemProps & {
|
|
16
16
|
item: Primitive.TOCItemType;
|
|
17
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
18
18
|
//#endregion
|
|
19
19
|
export { TOCEmpty, TOCItem, TOCItems };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, RefObject } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as Primitive from "fumadocs-core/toc";
|
|
4
4
|
|
|
5
5
|
//#region src/components/toc/index.d.ts
|
|
@@ -10,18 +10,18 @@ declare function TOCProvider({
|
|
|
10
10
|
toc,
|
|
11
11
|
children,
|
|
12
12
|
...props
|
|
13
|
-
}: TOCProviderProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
}: TOCProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
14
14
|
declare function TOCScrollArea({
|
|
15
15
|
ref,
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
|
|
18
|
+
}: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
|
|
19
19
|
interface TocThumbProps extends ComponentProps<'div'> {
|
|
20
20
|
containerRef: RefObject<HTMLElement | null>;
|
|
21
21
|
}
|
|
22
22
|
declare function TocThumb({
|
|
23
23
|
containerRef,
|
|
24
24
|
...props
|
|
25
|
-
}: TocThumbProps): react_jsx_runtime0.JSX.Element;
|
|
25
|
+
}: TocThumbProps): _$react_jsx_runtime0.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { TOCProvider, TOCProviderProps, TOCScrollArea, TocThumb, useActiveAnchor, useActiveAnchors, useItems, useTOCItems };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps, ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/type-table.d.ts
|
|
5
5
|
interface ParameterNode {
|
|
@@ -39,6 +39,6 @@ declare function TypeTable({
|
|
|
39
39
|
...props
|
|
40
40
|
}: {
|
|
41
41
|
type: Record<string, TypeNode>;
|
|
42
|
-
} & ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
|
|
42
|
+
} & ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
|
|
43
43
|
//#endregion
|
|
44
44
|
export { ParameterNode, TypeNode, TypeTable };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/accordion.d.ts
|
|
6
6
|
declare function Accordion({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: ComponentProps<typeof Accordion$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
9
|
+
}: ComponentProps<typeof Accordion$1.Root>): _$react_jsx_runtime0.JSX.Element;
|
|
10
10
|
declare function AccordionItem({
|
|
11
11
|
children,
|
|
12
12
|
...props
|
|
13
|
-
}: ComponentProps<typeof Accordion$1.Item>): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
}: ComponentProps<typeof Accordion$1.Item>): _$react_jsx_runtime0.JSX.Element;
|
|
14
14
|
declare function AccordionHeader({
|
|
15
15
|
className,
|
|
16
16
|
children,
|
|
17
17
|
...props
|
|
18
|
-
}: ComponentProps<typeof Accordion$1.Header>): react_jsx_runtime0.JSX.Element;
|
|
18
|
+
}: ComponentProps<typeof Accordion$1.Header>): _$react_jsx_runtime0.JSX.Element;
|
|
19
19
|
declare function AccordionTrigger({
|
|
20
20
|
className,
|
|
21
21
|
children,
|
|
22
22
|
...props
|
|
23
|
-
}: ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
}: ComponentProps<typeof Accordion$1.Trigger>): _$react_jsx_runtime0.JSX.Element;
|
|
24
24
|
declare function AccordionContent({
|
|
25
25
|
className,
|
|
26
26
|
children,
|
|
27
27
|
...props
|
|
28
|
-
}: ComponentProps<typeof Accordion$1.Panel>): react_jsx_runtime0.JSX.Element;
|
|
28
|
+
}: ComponentProps<typeof Accordion$1.Panel>): _$react_jsx_runtime0.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { Accordion, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
|
-
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
2
|
+
import * as _$class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
|
|
4
4
|
//#region src/components/ui/button.d.ts
|
|
5
5
|
declare const buttonVariants: (props?: ({
|
|
6
6
|
variant?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
7
7
|
color?: "primary" | "outline" | "ghost" | "secondary" | null | undefined;
|
|
8
8
|
size?: "icon" | "sm" | "icon-sm" | "icon-xs" | null | undefined;
|
|
9
|
-
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
9
|
+
} & _$class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
10
10
|
type ButtonProps = VariantProps<typeof buttonVariants>;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { ButtonProps, buttonVariants };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as react from "react";
|
|
1
|
+
import * as _$react from "react";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
5
|
-
import * as _base_ui_react0 from "@base-ui/react";
|
|
5
|
+
import * as _$_base_ui_react0 from "@base-ui/react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/ui/collapsible.d.ts
|
|
8
|
-
declare const Collapsible: react.ForwardRefExoticComponent<Omit<_base_ui_react0.CollapsibleRootProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const CollapsibleTrigger: react.ForwardRefExoticComponent<Omit<_base_ui_react0.CollapsibleTriggerProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
|
|
8
|
+
declare const Collapsible: _$react.ForwardRefExoticComponent<Omit<_$_base_ui_react0.CollapsibleRootProps, "ref"> & _$react.RefAttributes<HTMLDivElement>>;
|
|
9
|
+
declare const CollapsibleTrigger: _$react.ForwardRefExoticComponent<Omit<_$_base_ui_react0.CollapsibleTriggerProps, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
|
|
10
10
|
declare function CollapsibleContent({
|
|
11
11
|
children,
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: ComponentProps<typeof Collapsible$1.Panel>): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
}: ComponentProps<typeof Collapsible$1.Panel>): _$react_jsx_runtime0.JSX.Element;
|
|
15
15
|
type CollapsibleProps = Collapsible$1.Root.Props;
|
|
16
16
|
type CollapsibleContentProps = Collapsible$1.Panel.Props;
|
|
17
17
|
type CollapsibleTriggerProps = Collapsible$1.Trigger.Props;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { NavigationMenu as NavigationMenu$1 } from "@base-ui/react/navigation-menu";
|
|
4
|
-
import * as _base_ui_react0 from "@base-ui/react";
|
|
4
|
+
import * as _$_base_ui_react0 from "@base-ui/react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/navigation-menu.d.ts
|
|
7
7
|
type NavigationMenuContentProps = NavigationMenu$1.Content.Props;
|
|
8
8
|
type NavigationMenuTriggerProps = NavigationMenu$1.Trigger.Props;
|
|
9
|
-
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<_base_ui_react0.NavigationMenuRootProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
10
|
-
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<_base_ui_react0.NavigationMenuListProps, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
9
|
+
declare const NavigationMenu: React$1.ForwardRefExoticComponent<Omit<_$_base_ui_react0.NavigationMenuRootProps, "ref"> & React$1.RefAttributes<HTMLElement>>;
|
|
10
|
+
declare const NavigationMenuList: React$1.ForwardRefExoticComponent<Omit<_$_base_ui_react0.NavigationMenuListProps, "ref"> & React$1.RefAttributes<HTMLUListElement>>;
|
|
11
11
|
declare function NavigationMenuItem({
|
|
12
12
|
className,
|
|
13
13
|
children,
|
|
14
14
|
...props
|
|
15
|
-
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Item>): react_jsx_runtime0.JSX.Element;
|
|
15
|
+
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Item>): _$react_jsx_runtime0.JSX.Element;
|
|
16
16
|
declare function NavigationMenuTrigger({
|
|
17
17
|
children,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Trigger>): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Trigger>): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
declare function NavigationMenuContent({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Content>): react_jsx_runtime0.JSX.Element;
|
|
23
|
+
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Content>): _$react_jsx_runtime0.JSX.Element;
|
|
24
24
|
declare function NavigationMenuLink({
|
|
25
25
|
children,
|
|
26
26
|
...props
|
|
27
|
-
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Link>): react_jsx_runtime0.JSX.Element;
|
|
28
|
-
declare function NavigationMenuViewport(props: NavigationMenu$1.Positioner.Props): react_jsx_runtime0.JSX.Element;
|
|
27
|
+
}: React$1.ComponentPropsWithRef<typeof NavigationMenu$1.Link>): _$react_jsx_runtime0.JSX.Element;
|
|
28
|
+
declare function NavigationMenuViewport(props: NavigationMenu$1.Positioner.Props): _$react_jsx_runtime0.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuTrigger, NavigationMenuTriggerProps, NavigationMenuViewport };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
4
|
-
import * as _base_ui_react0 from "@base-ui/react";
|
|
4
|
+
import * as _$_base_ui_react0 from "@base-ui/react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/ui/popover.d.ts
|
|
7
7
|
declare const Popover: typeof Popover$1.Root;
|
|
@@ -11,7 +11,7 @@ declare function PopoverContent({
|
|
|
11
11
|
align,
|
|
12
12
|
sideOffset,
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentPropsWithRef<typeof Popover$1.Popup> & Pick<Popover$1.Positioner.Props, 'sideOffset' | 'align'>): react_jsx_runtime0.JSX.Element;
|
|
15
|
-
declare const PopoverClose: React$1.ForwardRefExoticComponent<Omit<_base_ui_react0.PopoverCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
14
|
+
}: React$1.ComponentPropsWithRef<typeof Popover$1.Popup> & Pick<Popover$1.Positioner.Props, 'sideOffset' | 'align'>): _$react_jsx_runtime0.JSX.Element;
|
|
15
|
+
declare const PopoverClose: React$1.ForwardRefExoticComponent<Omit<_$_base_ui_react0.PopoverCloseProps, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
16
16
|
//#endregion
|
|
17
17
|
export { Popover, PopoverClose, PopoverContent, PopoverTrigger };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ui/scroll-area.d.ts
|
|
6
6
|
declare function ScrollArea({
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Root>): react_jsx_runtime0.JSX.Element;
|
|
9
|
+
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Root>): _$react_jsx_runtime0.JSX.Element;
|
|
10
10
|
declare function ScrollViewport({
|
|
11
11
|
className,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Viewport>): react_jsx_runtime0.JSX.Element;
|
|
14
|
+
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Viewport>): _$react_jsx_runtime0.JSX.Element;
|
|
15
15
|
declare function ScrollBar({
|
|
16
16
|
className,
|
|
17
17
|
orientation,
|
|
18
18
|
...props
|
|
19
|
-
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Scrollbar>): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: React$1.ComponentPropsWithRef<typeof ScrollArea$1.Scrollbar>): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
type ScrollAreaProps = ScrollArea$1.Root.Props;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { ScrollArea, ScrollAreaProps, ScrollBar, ScrollViewport };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as react from "react";
|
|
1
|
+
import * as _$react from "react";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
5
|
-
import * as _base_ui_react0 from "@base-ui/react";
|
|
5
|
+
import * as _$_base_ui_react0 from "@base-ui/react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/ui/tabs.d.ts
|
|
8
8
|
interface TabsProps extends ComponentProps<typeof Tabs$1.Root> {
|
|
@@ -20,8 +20,8 @@ interface TabsProps extends ComponentProps<typeof Tabs$1.Root> {
|
|
|
20
20
|
updateAnchor?: boolean;
|
|
21
21
|
onValueChange?: (value: string) => void;
|
|
22
22
|
}
|
|
23
|
-
declare const TabsList: react.ForwardRefExoticComponent<Omit<_base_ui_react0.TabsListProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
|
|
24
|
-
declare const TabsTrigger: react.ForwardRefExoticComponent<Omit<_base_ui_react0.TabsTabProps, "ref"> & react.RefAttributes<HTMLElement>>;
|
|
23
|
+
declare const TabsList: _$react.ForwardRefExoticComponent<Omit<_$_base_ui_react0.TabsListProps, "ref"> & _$react.RefAttributes<HTMLDivElement>>;
|
|
24
|
+
declare const TabsTrigger: _$react.ForwardRefExoticComponent<Omit<_$_base_ui_react0.TabsTabProps, "ref"> & _$react.RefAttributes<HTMLElement>>;
|
|
25
25
|
declare function Tabs({
|
|
26
26
|
ref,
|
|
27
27
|
groupId,
|
|
@@ -31,10 +31,10 @@ declare function Tabs({
|
|
|
31
31
|
value: _value,
|
|
32
32
|
onValueChange: _onValueChange,
|
|
33
33
|
...props
|
|
34
|
-
}: TabsProps): react_jsx_runtime0.JSX.Element;
|
|
34
|
+
}: TabsProps): _$react_jsx_runtime0.JSX.Element;
|
|
35
35
|
declare function TabsContent({
|
|
36
36
|
value,
|
|
37
37
|
...props
|
|
38
|
-
}: ComponentProps<typeof Tabs$1.Panel>): react_jsx_runtime0.JSX.Element;
|
|
38
|
+
}: ComponentProps<typeof Tabs$1.Panel>): _$react_jsx_runtime0.JSX.Element;
|
|
39
39
|
//#endregion
|
|
40
40
|
export { Tabs, TabsContent, TabsList, TabsProps, TabsTrigger };
|
package/dist/contexts/i18n.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/i18n.d.ts
|
|
5
5
|
interface Translations {
|
|
@@ -57,6 +57,6 @@ declare function I18nProvider({
|
|
|
57
57
|
onLocaleChange,
|
|
58
58
|
children,
|
|
59
59
|
translations
|
|
60
|
-
}: I18nProviderProps): react_jsx_runtime0.JSX.Element;
|
|
60
|
+
}: I18nProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
61
61
|
//#endregion
|
|
62
62
|
export { I18nLabel, I18nProvider, I18nProviderProps, Translations, TranslationsOption, defaultTranslations, useI18n };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentType, ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/search.d.ts
|
|
5
5
|
interface HotKey {
|
|
@@ -61,7 +61,7 @@ declare function SearchProvider({
|
|
|
61
61
|
options,
|
|
62
62
|
hotKey,
|
|
63
63
|
links
|
|
64
|
-
}: SearchProviderProps): react_jsx_runtime0.JSX.Element;
|
|
64
|
+
}: SearchProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
65
65
|
/**
|
|
66
66
|
* Show children only when search is enabled via React Context
|
|
67
67
|
*/
|
package/dist/contexts/tree.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/tree.d.ts
|
|
@@ -14,7 +14,7 @@ declare function TreeContextProvider({
|
|
|
14
14
|
}: {
|
|
15
15
|
tree: PageTree.Root;
|
|
16
16
|
children: ReactNode;
|
|
17
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
18
18
|
declare function useTreePath(): PageTree.Node[];
|
|
19
19
|
declare function useTreeContext(): TreeContextType;
|
|
20
20
|
//#endregion
|
|
@@ -3,7 +3,6 @@ import { LayoutTab, LinkItemType } from "../shared/index.js";
|
|
|
3
3
|
import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js";
|
|
4
4
|
import { DocsLayoutProps } from "./index.js";
|
|
5
5
|
import { ComponentProps, FC } from "react";
|
|
6
|
-
|
|
7
6
|
//#region src/layouts/docs/client.d.ts
|
|
8
7
|
interface DocsSlots extends BaseSlots {
|
|
9
8
|
container: FC<ComponentProps<'div'>>;
|
|
@@ -2,7 +2,7 @@ import { BaseLayoutProps, GetLayoutTabsOptions, LayoutTab } from "../shared/inde
|
|
|
2
2
|
import { SidebarProps, SidebarProviderProps } from "./slots/sidebar.js";
|
|
3
3
|
import { DocsSlots, useDocsLayout } from "./client.js";
|
|
4
4
|
import { HTMLAttributes, ReactNode } from "react";
|
|
5
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
6
|
import * as PageTree from "fumadocs-core/page-tree";
|
|
7
7
|
|
|
8
8
|
//#region src/layouts/docs/index.d.ts
|
|
@@ -40,6 +40,6 @@ declare function DocsLayout({
|
|
|
40
40
|
tabMode,
|
|
41
41
|
children,
|
|
42
42
|
...props
|
|
43
|
-
}: DocsLayoutProps): react_jsx_runtime0.JSX.Element;
|
|
43
|
+
}: DocsLayoutProps): _$react_jsx_runtime0.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { DocsLayout, DocsLayoutProps, type DocsSlots, useDocsLayout };
|
|
@@ -3,7 +3,7 @@ import { Footer, FooterProps } from "./slots/footer.js";
|
|
|
3
3
|
import { Breadcrumb, BreadcrumbProps } from "./slots/breadcrumb.js";
|
|
4
4
|
import { MarkdownCopyButton, ViewOptionsPopover } from "../../shared/page-actions.js";
|
|
5
5
|
import { ComponentProps, FC, ReactNode } from "react";
|
|
6
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
import { TOCItemType } from "fumadocs-core/toc";
|
|
8
8
|
|
|
9
9
|
//#region src/layouts/docs/page/index.d.ts
|
|
@@ -87,8 +87,8 @@ declare function DocsPage({
|
|
|
87
87
|
slots: defaultSlots,
|
|
88
88
|
children,
|
|
89
89
|
...containerProps
|
|
90
|
-
}: DocsPageProps): react_jsx_runtime0.JSX.Element;
|
|
91
|
-
declare function EditOnGitHub(props: ComponentProps<'a'>): react_jsx_runtime0.JSX.Element;
|
|
90
|
+
}: DocsPageProps): _$react_jsx_runtime0.JSX.Element;
|
|
91
|
+
declare function EditOnGitHub(props: ComponentProps<'a'>): _$react_jsx_runtime0.JSX.Element;
|
|
92
92
|
/**
|
|
93
93
|
* Add typography styles
|
|
94
94
|
*/
|
|
@@ -96,22 +96,22 @@ declare function DocsBody({
|
|
|
96
96
|
children,
|
|
97
97
|
className,
|
|
98
98
|
...props
|
|
99
|
-
}: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
|
|
99
|
+
}: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
|
|
100
100
|
declare function DocsDescription({
|
|
101
101
|
children,
|
|
102
102
|
className,
|
|
103
103
|
...props
|
|
104
|
-
}: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element | null;
|
|
104
|
+
}: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element | null;
|
|
105
105
|
declare function DocsTitle({
|
|
106
106
|
children,
|
|
107
107
|
className,
|
|
108
108
|
...props
|
|
109
|
-
}: ComponentProps<'h1'>): react_jsx_runtime0.JSX.Element;
|
|
109
|
+
}: ComponentProps<'h1'>): _$react_jsx_runtime0.JSX.Element;
|
|
110
110
|
declare function PageLastUpdate({
|
|
111
111
|
date: value,
|
|
112
112
|
...props
|
|
113
113
|
}: Omit<ComponentProps<'p'>, 'children'> & {
|
|
114
114
|
date: Date;
|
|
115
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
115
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
116
116
|
//#endregion
|
|
117
117
|
export { type BreadcrumbProps, DocsBody, DocsDescription, DocsPage, DocsPageProps, DocsTitle, EditOnGitHub, type FooterProps, MarkdownCopyButton, Breadcrumb as PageBreadcrumb, Footer as PageFooter, PageLastUpdate, ViewOptionsPopover, useDocsPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
import { BreadcrumbOptions } from "fumadocs-core/breadcrumb";
|
|
4
4
|
|
|
5
5
|
//#region src/layouts/docs/page/slots/breadcrumb.d.ts
|
|
@@ -9,6 +9,6 @@ declare function Breadcrumb({
|
|
|
9
9
|
includeSeparator,
|
|
10
10
|
includePage,
|
|
11
11
|
...props
|
|
12
|
-
}: BreadcrumbProps): react_jsx_runtime0.JSX.Element | null;
|
|
12
|
+
}: BreadcrumbProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Breadcrumb, BreadcrumbProps };
|