@fumadocs/base-ui 16.7.6 → 16.7.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/css/generated/docs.css +26 -6
- package/css/generated/notebook.css +13 -1
- package/css/generated/shared.css +24 -8
- 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/clerk.js +67 -39
- package/dist/components/toc/default.d.ts +4 -4
- package/dist/components/toc/index.d.ts +4 -6
- package/dist/components/toc/index.js +4 -10
- 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/container.js +8 -1
- 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/container.js +8 -1
- 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 +79 -14
- package/package.json +11 -11
|
@@ -161,7 +161,6 @@ function Sidebar({ banner, footer, components, collapsible = true, ...rest }) {
|
|
|
161
161
|
if (typeof footer === "function") return createElement(footer, props);
|
|
162
162
|
return /* @__PURE__ */ jsxs("div", {
|
|
163
163
|
...props,
|
|
164
|
-
className: cn("hidden flex-row text-fd-muted-foreground items-center border-t p-4 pt-2", iconLinks.length > 0 && "max-lg:flex", props.className),
|
|
165
164
|
children: [props.children, footer]
|
|
166
165
|
});
|
|
167
166
|
}
|
|
@@ -194,16 +193,19 @@ function Sidebar({ banner, footer, components, collapsible = true, ...rest }) {
|
|
|
194
193
|
className: cn(tabMode === "navbar" && "lg:hidden")
|
|
195
194
|
})] }) }),
|
|
196
195
|
viewport,
|
|
197
|
-
renderFooter({
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
196
|
+
renderFooter({
|
|
197
|
+
className: cn("hidden flex-row text-fd-muted-foreground items-center border-t px-4 py-2.5", iconLinks.length > 0 && "max-lg:flex"),
|
|
198
|
+
children: iconLinks.map((item, i) => /* @__PURE__ */ jsx(LinkItem, {
|
|
199
|
+
item,
|
|
200
|
+
className: cn(buttonVariants({
|
|
201
|
+
size: "icon-sm",
|
|
202
|
+
color: "ghost",
|
|
203
|
+
className: "lg:hidden"
|
|
204
|
+
})),
|
|
205
|
+
"aria-label": item.label,
|
|
206
|
+
children: item.icon
|
|
207
|
+
}, i))
|
|
208
|
+
})
|
|
207
209
|
]
|
|
208
210
|
}), /* @__PURE__ */ jsxs(SidebarDrawer, {
|
|
209
211
|
...rest,
|
|
@@ -218,7 +220,7 @@ function Sidebar({ banner, footer, components, collapsible = true, ...rest }) {
|
|
|
218
220
|
}), tabs.length > 0 && /* @__PURE__ */ jsx(SidebarTabsDropdown, { options: tabs })] }) }),
|
|
219
221
|
viewport,
|
|
220
222
|
renderFooter({
|
|
221
|
-
className: cn("hidden flex-row items-center justify-end", (slots.languageSelect || slots.themeSwitch) && "flex", iconLinks.length > 0 && "max-lg:flex"),
|
|
223
|
+
className: cn("hidden flex-row text-fd-muted-foreground items-center border-t p-4 pt-2 justify-end", (slots.languageSelect || slots.themeSwitch) && "flex", iconLinks.length > 0 && "max-lg:flex"),
|
|
222
224
|
children: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
223
225
|
iconLinks.map((item, i) => /* @__PURE__ */ jsx(LinkItem, {
|
|
224
226
|
item,
|
|
@@ -3,7 +3,7 @@ import { FullSearchTriggerProps, SearchTriggerProps } from "./slots/search-trigg
|
|
|
3
3
|
import { ThemeSwitchProps } from "./slots/theme-switch.js";
|
|
4
4
|
import { BaseLayoutProps, LinkItemType } from "./index.js";
|
|
5
5
|
import { ComponentProps, FC } from "react";
|
|
6
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/layouts/shared/client.d.ts
|
|
9
9
|
declare function LinkItem({
|
|
@@ -14,7 +14,7 @@ declare function LinkItem({
|
|
|
14
14
|
item: Extract<LinkItemType, {
|
|
15
15
|
url: string;
|
|
16
16
|
}>;
|
|
17
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
18
18
|
interface BaseSlots {
|
|
19
19
|
navTitle: FC<ComponentProps<'a'>>;
|
|
20
20
|
themeSwitch: FC<ThemeSwitchProps> | false;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PopoverTrigger } from "../../components/ui/popover.js";
|
|
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
|
|
|
5
5
|
//#region src/layouts/shared/page-actions.d.ts
|
|
6
6
|
/**
|
|
@@ -14,7 +14,7 @@ declare function MarkdownCopyButton({
|
|
|
14
14
|
* A URL to fetch the raw Markdown/MDX content of page
|
|
15
15
|
*/
|
|
16
16
|
markdownUrl: string;
|
|
17
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
18
18
|
/**
|
|
19
19
|
* see https://fumadocs.dev/docs/integrations/llms#page-actions to customise.
|
|
20
20
|
*/
|
|
@@ -31,6 +31,6 @@ declare function ViewOptionsPopover({
|
|
|
31
31
|
* Source file URL on GitHub
|
|
32
32
|
*/
|
|
33
33
|
githubUrl?: string;
|
|
34
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
34
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { MarkdownCopyButton, ViewOptionsPopover };
|
|
@@ -1,10 +1,19 @@
|
|
|
1
|
+
import { buttonVariants } from "../../../components/ui/button.js";
|
|
1
2
|
import { ComponentProps } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import { VariantProps } from "class-variance-authority";
|
|
3
5
|
|
|
4
6
|
//#region src/layouts/shared/slots/language-select.d.ts
|
|
5
|
-
|
|
6
|
-
|
|
7
|
+
interface LanguageSelectProps extends ComponentProps<'button'> {
|
|
8
|
+
variant?: VariantProps<typeof buttonVariants>['variant'];
|
|
9
|
+
}
|
|
10
|
+
declare function LanguageSelect({
|
|
11
|
+
className,
|
|
12
|
+
variant,
|
|
13
|
+
children,
|
|
14
|
+
...rest
|
|
15
|
+
}: LanguageSelectProps): React.ReactElement;
|
|
7
16
|
type LanguageSelectTextProps = ComponentProps<'span'>;
|
|
8
|
-
declare function LanguageSelectText(props: LanguageSelectTextProps): react_jsx_runtime0.JSX.Element;
|
|
17
|
+
declare function LanguageSelectText(props: LanguageSelectTextProps): _$react_jsx_runtime0.JSX.Element;
|
|
9
18
|
//#endregion
|
|
10
19
|
export { LanguageSelect, LanguageSelectProps, LanguageSelectText, LanguageSelectTextProps };
|
|
@@ -5,25 +5,22 @@ import { buttonVariants } from "../../../components/ui/button.js";
|
|
|
5
5
|
import { Popover, PopoverContent, PopoverTrigger } from "../../../components/ui/popover.js";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/layouts/shared/slots/language-select.tsx
|
|
8
|
-
function LanguageSelect(
|
|
8
|
+
function LanguageSelect({ className, variant = "ghost", children, ...rest }) {
|
|
9
9
|
const context = useI18n();
|
|
10
10
|
if (!context.locales) throw new Error("Missing `<I18nProvider />`");
|
|
11
11
|
return /* @__PURE__ */ jsxs(Popover, { children: [/* @__PURE__ */ jsx(PopoverTrigger, {
|
|
12
12
|
"aria-label": context.text.chooseLanguage,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
className: "gap-1.5 p-1.5"
|
|
17
|
-
}), props.className),
|
|
18
|
-
children: props.children
|
|
13
|
+
className: (s) => cn(buttonVariants({ variant }), "gap-1.5 p-1.5", s.open && "bg-fd-accent", className),
|
|
14
|
+
...rest,
|
|
15
|
+
children
|
|
19
16
|
}), /* @__PURE__ */ jsxs(PopoverContent, {
|
|
20
|
-
className: "flex flex-col
|
|
17
|
+
className: "flex flex-col gap-0.5 p-1",
|
|
21
18
|
children: [/* @__PURE__ */ jsx("p", {
|
|
22
|
-
className: "
|
|
19
|
+
className: "p-2 text-xs font-medium text-fd-muted-foreground",
|
|
23
20
|
children: context.text.chooseLanguage
|
|
24
21
|
}), context.locales.map((item) => /* @__PURE__ */ jsx("button", {
|
|
25
22
|
type: "button",
|
|
26
|
-
className: cn("
|
|
23
|
+
className: cn("px-2 py-1.5 text-start text-sm rounded-lg transition-colors", item.locale === context.locale ? "bg-fd-primary/10 text-fd-primary" : "text-fd-muted-foreground hover:bg-fd-accent hover:text-fd-accent-foreground"),
|
|
27
24
|
onClick: () => {
|
|
28
25
|
context.onChange?.(item.locale);
|
|
29
26
|
},
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ButtonProps } from "../../../components/ui/button.js";
|
|
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
|
|
|
5
5
|
//#region src/layouts/shared/slots/search-trigger.d.ts
|
|
6
6
|
interface SearchTriggerProps extends Omit<ComponentProps<'button'>, 'color'>, ButtonProps {
|
|
@@ -11,13 +11,13 @@ declare function SearchTrigger({
|
|
|
11
11
|
size,
|
|
12
12
|
color,
|
|
13
13
|
...props
|
|
14
|
-
}: SearchTriggerProps): react_jsx_runtime0.JSX.Element | null;
|
|
14
|
+
}: SearchTriggerProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
15
15
|
interface FullSearchTriggerProps extends ComponentProps<'button'> {
|
|
16
16
|
hideIfDisabled?: boolean;
|
|
17
17
|
}
|
|
18
18
|
declare function FullSearchTrigger({
|
|
19
19
|
hideIfDisabled,
|
|
20
20
|
...props
|
|
21
|
-
}: FullSearchTriggerProps): react_jsx_runtime0.JSX.Element | null;
|
|
21
|
+
}: FullSearchTriggerProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { FullSearchTrigger, FullSearchTriggerProps, SearchTrigger, SearchTriggerProps };
|
|
@@ -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
|
|
|
4
4
|
//#region src/layouts/shared/slots/theme-switch.d.ts
|
|
5
5
|
interface ThemeSwitchProps extends ComponentProps<'div'> {
|
|
@@ -9,6 +9,6 @@ declare function ThemeSwitch({
|
|
|
9
9
|
className,
|
|
10
10
|
mode,
|
|
11
11
|
...props
|
|
12
|
-
}: ThemeSwitchProps): react_jsx_runtime0.JSX.Element;
|
|
12
|
+
}: ThemeSwitchProps): _$react_jsx_runtime0.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { ThemeSwitch, ThemeSwitchProps };
|
|
@@ -21,7 +21,7 @@ function ThemeSwitch({ className, mode = "light-dark", ...props }) {
|
|
|
21
21
|
useEffect(() => {
|
|
22
22
|
setMounted(true);
|
|
23
23
|
}, []);
|
|
24
|
-
const container = cn("inline-flex items-center rounded-full border p-1 *:rounded-full", className);
|
|
24
|
+
const container = cn("inline-flex items-center rounded-full border p-1 overflow-hidden *:rounded-full", className);
|
|
25
25
|
if (mode === "light-dark") {
|
|
26
26
|
const value = mounted ? resolvedTheme : null;
|
|
27
27
|
return /* @__PURE__ */ jsx("button", {
|
package/dist/mdx.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { Card, Cards } from "./components/card.js";
|
|
|
3
3
|
import { CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger } from "./components/codeblock.js";
|
|
4
4
|
import { createRelativeLink as createRelativeLink$1 } from "./mdx.server.js";
|
|
5
5
|
import React, { AnchorHTMLAttributes, FC, HTMLAttributes, ImgHTMLAttributes, TableHTMLAttributes } from "react";
|
|
6
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
6
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/mdx.d.ts
|
|
9
9
|
/**
|
|
@@ -19,24 +19,24 @@ declare module 'mdx/types.js' {
|
|
|
19
19
|
}
|
|
20
20
|
declare function Image(props: ImgHTMLAttributes<HTMLImageElement> & {
|
|
21
21
|
sizes?: string;
|
|
22
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
23
|
-
declare function Table(props: TableHTMLAttributes<HTMLTableElement>): react_jsx_runtime0.JSX.Element;
|
|
22
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
23
|
+
declare function Table(props: TableHTMLAttributes<HTMLTableElement>): _$react_jsx_runtime0.JSX.Element;
|
|
24
24
|
declare const defaultMdxComponents: {
|
|
25
25
|
CodeBlockTab: typeof CodeBlockTab;
|
|
26
26
|
CodeBlockTabs: typeof CodeBlockTabs;
|
|
27
27
|
CodeBlockTabsList: typeof CodeBlockTabsList;
|
|
28
28
|
CodeBlockTabsTrigger: typeof CodeBlockTabsTrigger;
|
|
29
|
-
pre: (props: HTMLAttributes<HTMLPreElement>) => react_jsx_runtime0.JSX.Element;
|
|
29
|
+
pre: (props: HTMLAttributes<HTMLPreElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
30
30
|
Card: typeof Card;
|
|
31
31
|
Cards: typeof Cards;
|
|
32
32
|
a: FC<AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
33
33
|
img: typeof Image;
|
|
34
|
-
h1: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
35
|
-
h2: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
36
|
-
h3: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
37
|
-
h4: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
38
|
-
h5: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
39
|
-
h6: (props: HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime0.JSX.Element;
|
|
34
|
+
h1: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
35
|
+
h2: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
36
|
+
h3: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
37
|
+
h4: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
38
|
+
h5: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
39
|
+
h6: (props: HTMLAttributes<HTMLHeadingElement>) => _$react_jsx_runtime0.JSX.Element;
|
|
40
40
|
table: typeof Table;
|
|
41
41
|
Callout: typeof Callout;
|
|
42
42
|
CalloutContainer: typeof CalloutContainer;
|
package/dist/og/takumi.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 { ImageResponse, ImageResponseOptions } from "@takumi-rs/image-response";
|
|
4
4
|
|
|
5
5
|
//#region src/og/takumi.d.ts
|
|
@@ -16,6 +16,6 @@ declare function generate({
|
|
|
16
16
|
primaryColor,
|
|
17
17
|
primaryTextColor,
|
|
18
18
|
...props
|
|
19
|
-
}: GenerateProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: GenerateProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { generate, generateOGImage };
|
package/dist/og.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
-
import { ImageResponse } from "next/og";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ImageResponse } from "next/og.js";
|
|
4
4
|
import { ImageResponseOptions } from "next/dist/compiled/@vercel/og/types";
|
|
5
5
|
|
|
6
6
|
//#region src/og.d.ts
|
|
@@ -17,6 +17,6 @@ declare function generate({
|
|
|
17
17
|
primaryColor,
|
|
18
18
|
primaryTextColor,
|
|
19
19
|
...props
|
|
20
|
-
}: GenerateProps): react_jsx_runtime0.JSX.Element;
|
|
20
|
+
}: GenerateProps): _$react_jsx_runtime0.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { generate, generateOGImage };
|
package/dist/page.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Breadcrumb } from "./layouts/docs/page/slots/breadcrumb.js";
|
|
2
2
|
import { DocsBody, DocsDescription, DocsPageProps as DocsPageProps$1, DocsTitle, EditOnGitHub, PageLastUpdate } from "./layouts/docs/page/index.js";
|
|
3
3
|
import { ComponentProps } 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/page.d.ts
|
|
7
7
|
interface EditOnGitHubOptions extends Omit<ComponentProps<'a'>, 'href' | 'children'> {
|
|
@@ -25,12 +25,12 @@ interface DocsPageProps extends DocsPageProps$1 {
|
|
|
25
25
|
/**
|
|
26
26
|
* For separate MDX page
|
|
27
27
|
*/
|
|
28
|
-
declare function withArticle(props: ComponentProps<'main'>): react_jsx_runtime0.JSX.Element;
|
|
28
|
+
declare function withArticle(props: ComponentProps<'main'>): _$react_jsx_runtime0.JSX.Element;
|
|
29
29
|
declare function DocsPage({
|
|
30
30
|
lastUpdate,
|
|
31
31
|
editOnGithub,
|
|
32
32
|
children,
|
|
33
33
|
...props
|
|
34
|
-
}: DocsPageProps): react_jsx_runtime0.JSX.Element;
|
|
34
|
+
}: DocsPageProps): _$react_jsx_runtime0.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { DocsBody, DocsDescription, DocsPage, DocsPageProps, DocsTitle, EditOnGitHub, Breadcrumb as PageBreadcrumb, PageLastUpdate, withArticle };
|
package/dist/provider/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { SearchProviderProps } from "../contexts/search.js";
|
|
|
2
2
|
import { DefaultSearchDialogProps } from "../components/dialog/search-default.js";
|
|
3
3
|
import { I18nProviderProps } from "../contexts/i18n.js";
|
|
4
4
|
import { ComponentPropsWithoutRef, 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 { ThemeProvider } from "next-themes";
|
|
7
7
|
|
|
8
8
|
//#region src/provider/base.d.ts
|
|
@@ -44,6 +44,6 @@ declare function RootProvider({
|
|
|
44
44
|
theme,
|
|
45
45
|
search,
|
|
46
46
|
i18n
|
|
47
|
-
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
47
|
+
}: RootProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
48
48
|
//#endregion
|
|
49
49
|
export { RootProvider, RootProviderProps };
|
package/dist/provider/next.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { Framework } from "fumadocs-core/framework";
|
|
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/provider/next.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,6 +16,6 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: RootProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { Framework } from "fumadocs-core/framework";
|
|
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/provider/react-router.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,6 +16,6 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: RootProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { Framework } from "fumadocs-core/framework";
|
|
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/provider/tanstack.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,6 +16,6 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: RootProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
package/dist/provider/waku.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RootProvider as RootProvider$1 } from "./base.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
import { Framework } from "fumadocs-core/framework";
|
|
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/provider/waku.d.ts
|
|
7
7
|
interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
@@ -16,6 +16,6 @@ interface RootProviderProps extends ComponentProps<typeof RootProvider$1> {
|
|
|
16
16
|
declare function RootProvider({
|
|
17
17
|
components,
|
|
18
18
|
...props
|
|
19
|
-
}: RootProviderProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: RootProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
export { RootProvider, RootProviderProps };
|
package/dist/style.css
CHANGED
|
@@ -301,6 +301,9 @@
|
|
|
301
301
|
.inset-s-0 {
|
|
302
302
|
inset-inline-start: calc(var(--spacing) * 0);
|
|
303
303
|
}
|
|
304
|
+
.inset-s-4 {
|
|
305
|
+
inset-inline-start: calc(var(--spacing) * 4);
|
|
306
|
+
}
|
|
304
307
|
.start {
|
|
305
308
|
inset-inline-start: var(--spacing);
|
|
306
309
|
}
|
|
@@ -310,21 +313,18 @@
|
|
|
310
313
|
.start-3 {
|
|
311
314
|
inset-inline-start: calc(var(--spacing) * 3);
|
|
312
315
|
}
|
|
313
|
-
.start-4 {
|
|
314
|
-
inset-inline-start: calc(var(--spacing) * 4);
|
|
315
|
-
}
|
|
316
316
|
.start-6 {
|
|
317
317
|
inset-inline-start: calc(var(--spacing) * 6);
|
|
318
318
|
}
|
|
319
|
-
.end {
|
|
320
|
-
inset-inline-end: var(--spacing);
|
|
321
|
-
}
|
|
322
319
|
.end-0 {
|
|
323
320
|
inset-inline-end: calc(var(--spacing) * 0);
|
|
324
321
|
}
|
|
325
322
|
.end-2 {
|
|
326
323
|
inset-inline-end: calc(var(--spacing) * 2);
|
|
327
324
|
}
|
|
325
|
+
.inset-e-0 {
|
|
326
|
+
inset-inline-end: calc(var(--spacing) * 0);
|
|
327
|
+
}
|
|
328
328
|
.-top-1\.5 {
|
|
329
329
|
top: calc(var(--spacing) * -1.5);
|
|
330
330
|
}
|
|
@@ -358,6 +358,9 @@
|
|
|
358
358
|
.top-\[calc\(--spacing\(4\)\+var\(--fd-docs-row-3\)\)\] {
|
|
359
359
|
top: calc(calc(var(--spacing) * 4) + var(--fd-docs-row-3));
|
|
360
360
|
}
|
|
361
|
+
.top-\[calc\(50\%-var\(--t\,0px\)\+var\(--b\,0px\)\)\] {
|
|
362
|
+
top: calc(50% - var(--t,0px) + var(--b,0px));
|
|
363
|
+
}
|
|
361
364
|
.right-2 {
|
|
362
365
|
right: calc(var(--spacing) * 2);
|
|
363
366
|
}
|
|
@@ -373,6 +376,9 @@
|
|
|
373
376
|
.left-1\/2 {
|
|
374
377
|
left: calc(1 / 2 * 100%);
|
|
375
378
|
}
|
|
379
|
+
.-z-1 {
|
|
380
|
+
z-index: calc(1 * -1);
|
|
381
|
+
}
|
|
376
382
|
.z-2 {
|
|
377
383
|
z-index: 2;
|
|
378
384
|
}
|
|
@@ -1148,6 +1154,11 @@
|
|
|
1148
1154
|
.origin-\(--transform-origin\) {
|
|
1149
1155
|
transform-origin: var(--transform-origin);
|
|
1150
1156
|
}
|
|
1157
|
+
.-translate-1\/2 {
|
|
1158
|
+
--tw-translate-x: calc(calc(1 / 2 * 100%) * -1);
|
|
1159
|
+
--tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
|
|
1160
|
+
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
1161
|
+
}
|
|
1151
1162
|
.-translate-x-\(--fd-sidebar-width\) {
|
|
1152
1163
|
--tw-translate-x: calc(var(--fd-sidebar-width) * -1);
|
|
1153
1164
|
translate: var(--tw-translate-x) var(--tw-translate-y);
|
|
@@ -1248,6 +1259,9 @@
|
|
|
1248
1259
|
.justify-end {
|
|
1249
1260
|
justify-content: flex-end;
|
|
1250
1261
|
}
|
|
1262
|
+
.justify-start {
|
|
1263
|
+
justify-content: flex-start;
|
|
1264
|
+
}
|
|
1251
1265
|
.gap-0\.5 {
|
|
1252
1266
|
gap: calc(var(--spacing) * 0.5);
|
|
1253
1267
|
}
|
|
@@ -1317,9 +1331,6 @@
|
|
|
1317
1331
|
.overflow-x-clip {
|
|
1318
1332
|
overflow-x: clip;
|
|
1319
1333
|
}
|
|
1320
|
-
.overflow-x-hidden {
|
|
1321
|
-
overflow-x: hidden;
|
|
1322
|
-
}
|
|
1323
1334
|
.overflow-y-auto {
|
|
1324
1335
|
overflow-y: auto;
|
|
1325
1336
|
}
|
|
@@ -1344,6 +1355,9 @@
|
|
|
1344
1355
|
.rounded-md {
|
|
1345
1356
|
border-radius: var(--radius-md);
|
|
1346
1357
|
}
|
|
1358
|
+
.rounded-none {
|
|
1359
|
+
border-radius: 0;
|
|
1360
|
+
}
|
|
1347
1361
|
.rounded-sm {
|
|
1348
1362
|
border-radius: var(--radius-sm);
|
|
1349
1363
|
}
|
|
@@ -1358,6 +1372,10 @@
|
|
|
1358
1372
|
border-inline-style: var(--tw-border-style);
|
|
1359
1373
|
border-inline-width: 1px;
|
|
1360
1374
|
}
|
|
1375
|
+
.border-y-0 {
|
|
1376
|
+
border-block-style: var(--tw-border-style);
|
|
1377
|
+
border-block-width: 0px;
|
|
1378
|
+
}
|
|
1361
1379
|
.border-s {
|
|
1362
1380
|
border-inline-start-style: var(--tw-border-style);
|
|
1363
1381
|
border-inline-start-width: 1px;
|
|
@@ -1366,6 +1384,10 @@
|
|
|
1366
1384
|
border-inline-end-style: var(--tw-border-style);
|
|
1367
1385
|
border-inline-end-width: 1px;
|
|
1368
1386
|
}
|
|
1387
|
+
.border-e-0 {
|
|
1388
|
+
border-inline-end-style: var(--tw-border-style);
|
|
1389
|
+
border-inline-end-width: 0px;
|
|
1390
|
+
}
|
|
1369
1391
|
.border-t {
|
|
1370
1392
|
border-top-style: var(--tw-border-style);
|
|
1371
1393
|
border-top-width: 1px;
|
|
@@ -1494,6 +1516,12 @@
|
|
|
1494
1516
|
.fill-\(--callout-color\) {
|
|
1495
1517
|
fill: var(--callout-color);
|
|
1496
1518
|
}
|
|
1519
|
+
.fill-fd-primary {
|
|
1520
|
+
fill: var(--color-fd-primary);
|
|
1521
|
+
}
|
|
1522
|
+
.fill-fd-primary-foreground {
|
|
1523
|
+
fill: var(--color-fd-primary-foreground);
|
|
1524
|
+
}
|
|
1497
1525
|
.stroke-current\/25 {
|
|
1498
1526
|
stroke: currentcolor;
|
|
1499
1527
|
@supports (color: color-mix(in lab, red, red)) {
|
|
@@ -1560,6 +1588,9 @@
|
|
|
1560
1588
|
.px-px {
|
|
1561
1589
|
padding-inline: 1px;
|
|
1562
1590
|
}
|
|
1591
|
+
.py-0 {
|
|
1592
|
+
padding-block: calc(var(--spacing) * 0);
|
|
1593
|
+
}
|
|
1563
1594
|
.py-0\.5 {
|
|
1564
1595
|
padding-block: calc(var(--spacing) * 0.5);
|
|
1565
1596
|
}
|
|
@@ -1614,6 +1645,9 @@
|
|
|
1614
1645
|
.ps-8 {
|
|
1615
1646
|
padding-inline-start: calc(var(--spacing) * 8);
|
|
1616
1647
|
}
|
|
1648
|
+
.pe-0 {
|
|
1649
|
+
padding-inline-end: calc(var(--spacing) * 0);
|
|
1650
|
+
}
|
|
1617
1651
|
.pe-2 {
|
|
1618
1652
|
padding-inline-end: calc(var(--spacing) * 2);
|
|
1619
1653
|
}
|
|
@@ -1841,11 +1875,6 @@
|
|
|
1841
1875
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1842
1876
|
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1843
1877
|
}
|
|
1844
|
-
.transition-\[grid-template-columns\] {
|
|
1845
|
-
transition-property: grid-template-columns;
|
|
1846
|
-
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
1847
|
-
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
1848
|
-
}
|
|
1849
1878
|
.transition-\[height\,opacity\] {
|
|
1850
1879
|
transition-property: height,opacity;
|
|
1851
1880
|
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
@@ -2028,6 +2057,11 @@
|
|
|
2028
2057
|
border-radius: var(--radius-lg);
|
|
2029
2058
|
}
|
|
2030
2059
|
}
|
|
2060
|
+
.\*\:rounded-md {
|
|
2061
|
+
:is(& > *) {
|
|
2062
|
+
border-radius: var(--radius-md);
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2031
2065
|
.\*\:border-b {
|
|
2032
2066
|
:is(& > *) {
|
|
2033
2067
|
border-bottom-style: var(--tw-border-style);
|
|
@@ -2039,6 +2073,16 @@
|
|
|
2039
2073
|
margin-bottom: calc(var(--spacing) * 2);
|
|
2040
2074
|
}
|
|
2041
2075
|
}
|
|
2076
|
+
.group-first\:\[--t\:--spacing\(0\.75\)\] {
|
|
2077
|
+
&:is(:where(.group):first-child *) {
|
|
2078
|
+
--t: calc(var(--spacing) * 0.75);
|
|
2079
|
+
}
|
|
2080
|
+
}
|
|
2081
|
+
.group-last\:\[--b\:--spacing\(0\.75\)\] {
|
|
2082
|
+
&:is(:where(.group):last-child *) {
|
|
2083
|
+
--b: calc(var(--spacing) * 0.75);
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
2042
2086
|
.group-data-active\:bg-fd-primary {
|
|
2043
2087
|
&:is(:where(.group)[data-active] *) {
|
|
2044
2088
|
background-color: var(--color-fd-primary);
|
|
@@ -2078,6 +2122,12 @@
|
|
|
2078
2122
|
inset-block: calc(var(--spacing) * 1);
|
|
2079
2123
|
}
|
|
2080
2124
|
}
|
|
2125
|
+
.before\:inset-s-2\.5 {
|
|
2126
|
+
&::before {
|
|
2127
|
+
content: var(--tw-content);
|
|
2128
|
+
inset-inline-start: calc(var(--spacing) * 2.5);
|
|
2129
|
+
}
|
|
2130
|
+
}
|
|
2081
2131
|
.before\:start-2\.5 {
|
|
2082
2132
|
&::before {
|
|
2083
2133
|
content: var(--tw-content);
|
|
@@ -2438,6 +2488,14 @@
|
|
|
2438
2488
|
}
|
|
2439
2489
|
}
|
|
2440
2490
|
}
|
|
2491
|
+
.data-\[active\=true\]\:before\:inset-s-2\.5 {
|
|
2492
|
+
&[data-active="true"] {
|
|
2493
|
+
&::before {
|
|
2494
|
+
content: var(--tw-content);
|
|
2495
|
+
inset-inline-start: calc(var(--spacing) * 2.5);
|
|
2496
|
+
}
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2441
2499
|
.data-\[active\=true\]\:before\:start-2\.5 {
|
|
2442
2500
|
&[data-active="true"] {
|
|
2443
2501
|
&::before {
|
|
@@ -2491,6 +2549,13 @@
|
|
|
2491
2549
|
display: none;
|
|
2492
2550
|
}
|
|
2493
2551
|
}
|
|
2552
|
+
.data-\[column-changed\=true\]\:transition-\[grid-template-columns\] {
|
|
2553
|
+
&[data-column-changed="true"] {
|
|
2554
|
+
transition-property: grid-template-columns;
|
|
2555
|
+
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
|
|
2556
|
+
transition-duration: var(--tw-duration, var(--default-transition-duration));
|
|
2557
|
+
}
|
|
2558
|
+
}
|
|
2494
2559
|
.\*\:data-\[empty\=true\]\:border-b-0 {
|
|
2495
2560
|
:is(& > *) {
|
|
2496
2561
|
&[data-empty="true"] {
|