@fumadocs/base-ui 16.7.7 → 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.
Files changed (95) hide show
  1. package/css/generated/docs.css +14 -5
  2. package/css/generated/notebook.css +1 -0
  3. package/css/generated/shared.css +0 -2
  4. package/dist/components/accordion.d.ts +3 -3
  5. package/dist/components/banner.d.ts +2 -2
  6. package/dist/components/callout.d.ts +5 -5
  7. package/dist/components/card.d.ts +3 -3
  8. package/dist/components/codeblock.d.ts +7 -7
  9. package/dist/components/codeblock.rsc.d.ts +2 -2
  10. package/dist/components/dialog/search-algolia.d.ts +2 -2
  11. package/dist/components/dialog/search-default.d.ts +2 -2
  12. package/dist/components/dialog/search-orama.d.ts +2 -2
  13. package/dist/components/dialog/search.d.ts +13 -13
  14. package/dist/components/dynamic-codeblock.core.d.ts +2 -2
  15. package/dist/components/dynamic-codeblock.d.ts +2 -2
  16. package/dist/components/github-info.d.ts +2 -2
  17. package/dist/components/image-zoom.d.ts +2 -2
  18. package/dist/components/image-zoom.js +1 -2
  19. package/dist/components/{image-zoom.css → image-zoom2.css} +11 -17
  20. package/dist/components/inline-toc.d.ts +2 -2
  21. package/dist/components/sidebar/base.d.ts +15 -15
  22. package/dist/components/sidebar/link-item.d.ts +2 -2
  23. package/dist/components/sidebar/page-tree.d.ts +2 -2
  24. package/dist/components/sidebar/tabs/dropdown.d.ts +2 -2
  25. package/dist/components/steps.d.ts +3 -3
  26. package/dist/components/tabs.d.ts +6 -6
  27. package/dist/components/toc/clerk.d.ts +4 -4
  28. package/dist/components/toc/default.d.ts +4 -4
  29. package/dist/components/toc/index.d.ts +4 -4
  30. package/dist/components/type-table.d.ts +2 -2
  31. package/dist/components/ui/accordion.d.ts +6 -6
  32. package/dist/components/ui/button.d.ts +2 -2
  33. package/dist/components/ui/collapsible.d.ts +6 -6
  34. package/dist/components/ui/navigation-menu.d.ts +9 -9
  35. package/dist/components/ui/popover.d.ts +4 -4
  36. package/dist/components/ui/scroll-area.d.ts +4 -4
  37. package/dist/components/ui/tabs.d.ts +7 -7
  38. package/dist/contexts/i18n.d.ts +2 -2
  39. package/dist/contexts/search.d.ts +2 -2
  40. package/dist/contexts/tree.d.ts +2 -2
  41. package/dist/layouts/docs/client.d.ts +0 -1
  42. package/dist/layouts/docs/index.d.ts +2 -2
  43. package/dist/layouts/docs/page/index.d.ts +7 -7
  44. package/dist/layouts/docs/page/slots/breadcrumb.d.ts +2 -2
  45. package/dist/layouts/docs/page/slots/container.d.ts +2 -2
  46. package/dist/layouts/docs/page/slots/footer.d.ts +2 -2
  47. package/dist/layouts/docs/page/slots/toc.d.ts +4 -4
  48. package/dist/layouts/docs/slots/container.d.ts +2 -2
  49. package/dist/layouts/docs/slots/header.d.ts +3 -3
  50. package/dist/layouts/docs/slots/sidebar.d.ts +4 -4
  51. package/dist/layouts/docs/slots/sidebar.js +25 -17
  52. package/dist/layouts/flux/index.d.ts +4 -4
  53. package/dist/layouts/flux/page/index.d.ts +7 -7
  54. package/dist/layouts/flux/page/slots/breadcrumb.d.ts +2 -2
  55. package/dist/layouts/flux/page/slots/container.d.ts +2 -2
  56. package/dist/layouts/flux/page/slots/footer.d.ts +2 -2
  57. package/dist/layouts/flux/page/slots/toc.d.ts +2 -2
  58. package/dist/layouts/flux/slots/container.d.ts +2 -2
  59. package/dist/layouts/flux/slots/sidebar.d.ts +4 -4
  60. package/dist/layouts/flux/slots/tab-dropdown.d.ts +2 -2
  61. package/dist/layouts/home/index.d.ts +2 -2
  62. package/dist/layouts/home/navbar.d.ts +4 -4
  63. package/dist/layouts/home/not-found.d.ts +2 -2
  64. package/dist/layouts/home/slots/container.d.ts +2 -2
  65. package/dist/layouts/home/slots/header.d.ts +5 -5
  66. package/dist/layouts/notebook/client.d.ts +0 -1
  67. package/dist/layouts/notebook/index.d.ts +2 -2
  68. package/dist/layouts/notebook/page/index.d.ts +7 -7
  69. package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +2 -2
  70. package/dist/layouts/notebook/page/slots/container.d.ts +2 -2
  71. package/dist/layouts/notebook/page/slots/footer.d.ts +2 -2
  72. package/dist/layouts/notebook/page/slots/toc.d.ts +4 -4
  73. package/dist/layouts/notebook/slots/container.d.ts +2 -2
  74. package/dist/layouts/notebook/slots/header.d.ts +3 -3
  75. package/dist/layouts/notebook/slots/header.js +1 -1
  76. package/dist/layouts/notebook/slots/sidebar.d.ts +6 -6
  77. package/dist/layouts/notebook/slots/sidebar.js +14 -12
  78. package/dist/layouts/shared/client.d.ts +2 -2
  79. package/dist/layouts/shared/page-actions.d.ts +3 -3
  80. package/dist/layouts/shared/slots/language-select.d.ts +13 -4
  81. package/dist/layouts/shared/slots/language-select.js +7 -10
  82. package/dist/layouts/shared/slots/search-trigger.d.ts +3 -3
  83. package/dist/layouts/shared/slots/theme-switch.d.ts +2 -2
  84. package/dist/layouts/shared/slots/theme-switch.js +1 -1
  85. package/dist/mdx.d.ts +10 -10
  86. package/dist/og/takumi.d.ts +2 -2
  87. package/dist/og.d.ts +3 -3
  88. package/dist/page.d.ts +3 -3
  89. package/dist/provider/base.d.ts +2 -2
  90. package/dist/provider/next.d.ts +2 -2
  91. package/dist/provider/react-router.d.ts +2 -2
  92. package/dist/provider/tanstack.d.ts +2 -2
  93. package/dist/provider/waku.d.ts +2 -2
  94. package/dist/style.css +45 -6
  95. 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({ children: iconLinks.map((item, i) => /* @__PURE__ */ jsx(LinkItem, {
198
- item,
199
- className: cn(buttonVariants({
200
- size: "icon-sm",
201
- color: "ghost",
202
- className: "lg:hidden"
203
- })),
204
- "aria-label": item.label,
205
- children: item.icon
206
- }, i)) })
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
- type LanguageSelectProps = ComponentProps<'button'>;
6
- declare function LanguageSelect(props: LanguageSelectProps): React.ReactElement;
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(props) {
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
- ...props,
14
- className: cn(buttonVariants({
15
- color: "ghost",
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 overflow-x-hidden p-0",
17
+ className: "flex flex-col gap-0.5 p-1",
21
18
  children: [/* @__PURE__ */ jsx("p", {
22
- className: "mb-1 p-2 text-xs font-medium text-fd-muted-foreground",
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("p-2 text-start text-sm", item.locale === context.locale ? "bg-fd-primary/10 font-medium text-fd-primary" : "hover:bg-fd-accent hover:text-fd-accent-foreground"),
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;
@@ -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 };
@@ -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 };
@@ -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 };
@@ -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,9 +313,6 @@
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
  }
@@ -322,6 +322,9 @@
322
322
  .end-2 {
323
323
  inset-inline-end: calc(var(--spacing) * 2);
324
324
  }
325
+ .inset-e-0 {
326
+ inset-inline-end: calc(var(--spacing) * 0);
327
+ }
325
328
  .-top-1\.5 {
326
329
  top: calc(var(--spacing) * -1.5);
327
330
  }
@@ -1256,6 +1259,9 @@
1256
1259
  .justify-end {
1257
1260
  justify-content: flex-end;
1258
1261
  }
1262
+ .justify-start {
1263
+ justify-content: flex-start;
1264
+ }
1259
1265
  .gap-0\.5 {
1260
1266
  gap: calc(var(--spacing) * 0.5);
1261
1267
  }
@@ -1325,9 +1331,6 @@
1325
1331
  .overflow-x-clip {
1326
1332
  overflow-x: clip;
1327
1333
  }
1328
- .overflow-x-hidden {
1329
- overflow-x: hidden;
1330
- }
1331
1334
  .overflow-y-auto {
1332
1335
  overflow-y: auto;
1333
1336
  }
@@ -1352,6 +1355,9 @@
1352
1355
  .rounded-md {
1353
1356
  border-radius: var(--radius-md);
1354
1357
  }
1358
+ .rounded-none {
1359
+ border-radius: 0;
1360
+ }
1355
1361
  .rounded-sm {
1356
1362
  border-radius: var(--radius-sm);
1357
1363
  }
@@ -1366,6 +1372,10 @@
1366
1372
  border-inline-style: var(--tw-border-style);
1367
1373
  border-inline-width: 1px;
1368
1374
  }
1375
+ .border-y-0 {
1376
+ border-block-style: var(--tw-border-style);
1377
+ border-block-width: 0px;
1378
+ }
1369
1379
  .border-s {
1370
1380
  border-inline-start-style: var(--tw-border-style);
1371
1381
  border-inline-start-width: 1px;
@@ -1374,6 +1384,10 @@
1374
1384
  border-inline-end-style: var(--tw-border-style);
1375
1385
  border-inline-end-width: 1px;
1376
1386
  }
1387
+ .border-e-0 {
1388
+ border-inline-end-style: var(--tw-border-style);
1389
+ border-inline-end-width: 0px;
1390
+ }
1377
1391
  .border-t {
1378
1392
  border-top-style: var(--tw-border-style);
1379
1393
  border-top-width: 1px;
@@ -1574,6 +1588,9 @@
1574
1588
  .px-px {
1575
1589
  padding-inline: 1px;
1576
1590
  }
1591
+ .py-0 {
1592
+ padding-block: calc(var(--spacing) * 0);
1593
+ }
1577
1594
  .py-0\.5 {
1578
1595
  padding-block: calc(var(--spacing) * 0.5);
1579
1596
  }
@@ -1628,6 +1645,9 @@
1628
1645
  .ps-8 {
1629
1646
  padding-inline-start: calc(var(--spacing) * 8);
1630
1647
  }
1648
+ .pe-0 {
1649
+ padding-inline-end: calc(var(--spacing) * 0);
1650
+ }
1631
1651
  .pe-2 {
1632
1652
  padding-inline-end: calc(var(--spacing) * 2);
1633
1653
  }
@@ -2037,6 +2057,11 @@
2037
2057
  border-radius: var(--radius-lg);
2038
2058
  }
2039
2059
  }
2060
+ .\*\:rounded-md {
2061
+ :is(& > *) {
2062
+ border-radius: var(--radius-md);
2063
+ }
2064
+ }
2040
2065
  .\*\:border-b {
2041
2066
  :is(& > *) {
2042
2067
  border-bottom-style: var(--tw-border-style);
@@ -2097,6 +2122,12 @@
2097
2122
  inset-block: calc(var(--spacing) * 1);
2098
2123
  }
2099
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
+ }
2100
2131
  .before\:start-2\.5 {
2101
2132
  &::before {
2102
2133
  content: var(--tw-content);
@@ -2457,6 +2488,14 @@
2457
2488
  }
2458
2489
  }
2459
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
+ }
2460
2499
  .data-\[active\=true\]\:before\:start-2\.5 {
2461
2500
  &[data-active="true"] {
2462
2501
  &::before {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fumadocs/base-ui",
3
- "version": "16.7.7",
3
+ "version": "16.7.8",
4
4
  "description": "The Base UI version of Fumadocs UI",
5
5
  "keywords": [
6
6
  "Docs",
@@ -108,6 +108,7 @@
108
108
  "./utils/use-footer-items": "./dist/utils/use-footer-items.js",
109
109
  "./utils/use-is-scroll-top": "./dist/utils/use-is-scroll-top.js",
110
110
  "./package.json": "./package.json",
111
+ "./components/image-zoom2.css": "./dist/components/image-zoom2.css",
111
112
  "./style.css": "./dist/style.css",
112
113
  "./css/*": "./css/*"
113
114
  },
@@ -117,7 +118,7 @@
117
118
  "dependencies": {
118
119
  "@base-ui/react": "^1.3.0",
119
120
  "class-variance-authority": "^0.7.1",
120
- "lucide-react": "^1.6.0",
121
+ "lucide-react": "^1.7.0",
121
122
  "motion": "^12.38.0",
122
123
  "next-themes": "^0.4.6",
123
124
  "react-medium-image-zoom": "^5.4.1",
@@ -130,7 +131,7 @@
130
131
  },
131
132
  "devDependencies": {
132
133
  "@tailwindcss/cli": "^4.2.2",
133
- "@tsdown/css": "^0.21.5",
134
+ "@tsdown/css": "^0.21.6",
134
135
  "@types/hast": "^3.0.4",
135
136
  "@types/mdx": "^2.0.13",
136
137
  "@types/node": "^25.5.0",
@@ -138,11 +139,10 @@
138
139
  "@types/react-dom": "^19.2.3",
139
140
  "shiki": "^4.0.2",
140
141
  "tailwindcss": "^4.2.2",
141
- "tsdown": "0.21.5",
142
+ "tsdown": "0.21.6",
142
143
  "unified": "^11.0.5",
143
- "@fumadocs/cli": "1.3.2",
144
- "eslint-config-custom": "0.0.0",
145
- "fumadocs-core": "16.7.7",
144
+ "@fumadocs/cli": "1.3.3",
145
+ "fumadocs-core": "16.7.8",
146
146
  "tsconfig": "0.0.0"
147
147
  },
148
148
  "peerDependencies": {
@@ -153,7 +153,7 @@
153
153
  "react": "^19.2.0",
154
154
  "react-dom": "^19.2.0",
155
155
  "shiki": "*",
156
- "fumadocs-core": "16.7.7"
156
+ "fumadocs-core": "16.7.8"
157
157
  },
158
158
  "peerDependenciesMeta": {
159
159
  "shiki": {
@@ -175,10 +175,10 @@
175
175
  "scripts": {
176
176
  "build": "pnpm build:layout && pnpm build:tailwind",
177
177
  "build:layout": "tsdown --config-loader unrun",
178
- "build:tailwind": "tailwindcss -i css/style.css -o ./dist/style.css && tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css",
178
+ "build:tailwind": "tailwindcss -i css/style.css -o ./dist/style.css",
179
179
  "clean": "rimraf dist",
180
- "dev": "concurrently \"tsdown --watch --clean false\" \"tailwindcss -i css/style.css -o ./dist/style.css -w\" \"tailwindcss -i src/components/image-zoom.css -o dist/components/image-zoom.css -w\"",
181
- "lint": "eslint .",
180
+ "dev": "concurrently \"tsdown --watch --clean false\" \"tailwindcss -i css/style.css -o ./dist/style.css -w\"",
181
+ "lint": "oxlint .",
182
182
  "types:check": "tsc --noEmit"
183
183
  }
184
184
  }