@fumadocs/base-ui 16.9.2 → 16.10.0

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 (141) hide show
  1. package/css/generated/docs.css +1 -234
  2. package/css/generated/flux.css +1 -162
  3. package/css/generated/home.css +1 -65
  4. package/css/generated/notebook.css +1 -258
  5. package/css/generated/shared.css +1 -1189
  6. package/dist/.translations/index.d.ts +49 -0
  7. package/dist/.translations/keys.js +49 -0
  8. package/dist/components/accordion.d.ts +2 -3
  9. package/dist/components/accordion.js +3 -3
  10. package/dist/components/banner.d.ts +1 -2
  11. package/dist/components/banner.js +3 -3
  12. package/dist/components/callout.d.ts +4 -5
  13. package/dist/components/card.d.ts +2 -3
  14. package/dist/components/codeblock.d.ts +6 -7
  15. package/dist/components/codeblock.js +3 -3
  16. package/dist/components/codeblock.rsc.d.ts +1 -2
  17. package/dist/components/dialog/search-algolia.d.ts +1 -2
  18. package/dist/components/dialog/search-default.d.ts +1 -2
  19. package/dist/components/dialog/search-orama.d.ts +1 -2
  20. package/dist/components/dialog/search.d.ts +12 -13
  21. package/dist/components/dialog/search.js +13 -10
  22. package/dist/components/dynamic-codeblock.core.d.ts +1 -2
  23. package/dist/components/dynamic-codeblock.d.ts +1 -2
  24. package/dist/components/github-info.d.ts +1 -2
  25. package/dist/components/heading.d.ts +1 -2
  26. package/dist/components/heading.js +3 -3
  27. package/dist/components/image-zoom.d.ts +2 -3
  28. package/dist/components/image-zoom.js +1 -1
  29. package/dist/components/inline-toc.d.ts +1 -2
  30. package/dist/components/inline-toc.js +3 -3
  31. package/dist/components/sidebar/base.d.ts +13 -15
  32. package/dist/components/sidebar/base.js +3 -3
  33. package/dist/components/sidebar/link-item.d.ts +1 -2
  34. package/dist/components/sidebar/page-tree.d.ts +1 -2
  35. package/dist/components/sidebar/tabs/dropdown.d.ts +1 -2
  36. package/dist/components/steps.d.ts +2 -3
  37. package/dist/components/tabs.d.ts +5 -6
  38. package/dist/components/toc/clerk.d.ts +3 -4
  39. package/dist/components/toc/clerk.js +7 -7
  40. package/dist/components/toc/default.d.ts +3 -4
  41. package/dist/components/toc/default.js +2 -2
  42. package/dist/components/toc/index.d.ts +2 -3
  43. package/dist/components/type-table.d.ts +1 -2
  44. package/dist/components/type-table.js +9 -9
  45. package/dist/components/ui/accordion.d.ts +5 -6
  46. package/dist/components/ui/button.d.ts +1 -2
  47. package/dist/components/ui/collapsible.d.ts +3 -6
  48. package/dist/components/ui/navigation-menu.d.ts +6 -8
  49. package/dist/components/ui/popover.d.ts +2 -4
  50. package/dist/components/ui/scroll-area.d.ts +3 -4
  51. package/dist/components/ui/tabs.d.ts +4 -7
  52. package/dist/contexts/i18n.d.ts +5 -30
  53. package/dist/contexts/i18n.js +10 -22
  54. package/dist/contexts/search.d.ts +1 -2
  55. package/dist/contexts/tree.d.ts +1 -2
  56. package/dist/i18n.d.ts +9 -63
  57. package/dist/i18n.js +23 -70
  58. package/dist/layouts/docs/index.d.ts +1 -2
  59. package/dist/layouts/docs/page/index.d.ts +6 -7
  60. package/dist/layouts/docs/page/index.js +5 -4
  61. package/dist/layouts/docs/page/slots/breadcrumb.d.ts +1 -2
  62. package/dist/layouts/docs/page/slots/container.d.ts +1 -2
  63. package/dist/layouts/docs/page/slots/footer.d.ts +1 -2
  64. package/dist/layouts/docs/page/slots/footer.js +3 -3
  65. package/dist/layouts/docs/page/slots/toc.d.ts +3 -4
  66. package/dist/layouts/docs/page/slots/toc.js +5 -4
  67. package/dist/layouts/docs/slots/container.d.ts +1 -2
  68. package/dist/layouts/docs/slots/header.d.ts +1 -3
  69. package/dist/layouts/docs/slots/sidebar.d.ts +3 -4
  70. package/dist/layouts/flux/index.d.ts +3 -4
  71. package/dist/layouts/flux/page/index.d.ts +6 -7
  72. package/dist/layouts/flux/page/index.js +5 -4
  73. package/dist/layouts/flux/page/slots/breadcrumb.d.ts +1 -2
  74. package/dist/layouts/flux/page/slots/container.d.ts +1 -2
  75. package/dist/layouts/flux/page/slots/footer.d.ts +1 -2
  76. package/dist/layouts/flux/page/slots/footer.js +3 -3
  77. package/dist/layouts/flux/page/slots/toc.d.ts +1 -2
  78. package/dist/layouts/flux/page/slots/toc.js +3 -3
  79. package/dist/layouts/flux/slots/container.d.ts +1 -2
  80. package/dist/layouts/flux/slots/sidebar.d.ts +3 -4
  81. package/dist/layouts/flux/slots/tab-dropdown.d.ts +1 -2
  82. package/dist/layouts/home/index.d.ts +1 -2
  83. package/dist/layouts/home/navbar.d.ts +3 -4
  84. package/dist/layouts/home/not-found.d.ts +1 -3
  85. package/dist/layouts/home/not-found.js +6 -4
  86. package/dist/layouts/home/slots/container.d.ts +1 -2
  87. package/dist/layouts/home/slots/header.d.ts +3 -5
  88. package/dist/layouts/home/slots/header.js +3 -3
  89. package/dist/layouts/notebook/index.d.ts +1 -2
  90. package/dist/layouts/notebook/page/index.d.ts +6 -7
  91. package/dist/layouts/notebook/page/index.js +5 -4
  92. package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +1 -2
  93. package/dist/layouts/notebook/page/slots/container.d.ts +1 -2
  94. package/dist/layouts/notebook/page/slots/footer.d.ts +1 -2
  95. package/dist/layouts/notebook/page/slots/footer.js +3 -3
  96. package/dist/layouts/notebook/page/slots/toc.d.ts +3 -4
  97. package/dist/layouts/notebook/page/slots/toc.js +5 -4
  98. package/dist/layouts/notebook/slots/container.d.ts +1 -2
  99. package/dist/layouts/notebook/slots/header.d.ts +1 -3
  100. package/dist/layouts/notebook/slots/sidebar.d.ts +5 -6
  101. package/dist/layouts/shared/client.d.ts +1 -2
  102. package/dist/layouts/shared/index.d.ts +1 -1
  103. package/dist/layouts/shared/page-actions.d.ts +2 -3
  104. package/dist/layouts/shared/page-actions.js +12 -13
  105. package/dist/layouts/shared/slots/language-select.d.ts +1 -2
  106. package/dist/layouts/shared/slots/language-select.js +5 -2
  107. package/dist/layouts/shared/slots/search-trigger.d.ts +2 -3
  108. package/dist/layouts/shared/slots/search-trigger.js +5 -5
  109. package/dist/layouts/shared/slots/theme-switch.d.ts +1 -2
  110. package/dist/layouts/shared/slots/theme-switch.js +43 -30
  111. package/dist/mdx.d.ts +9 -10
  112. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/controlled.d.ts +1 -1
  113. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/controlled.js +6 -2
  114. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/uncontrolled.d.ts +1 -1
  115. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/uncontrolled.js +1 -1
  116. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/adjust-svg-ids.js +1 -1
  117. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/compute-positioned-style.js +1 -1
  118. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/element-tests.js +1 -1
  119. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-div-img-style.js +1 -1
  120. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-alt.js +1 -1
  121. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-object-fit-style.js +1 -1
  122. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-regular-style.js +1 -1
  123. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-img-src.js +1 -1
  124. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-modal-img-transform.js +1 -1
  125. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-scale.js +1 -1
  126. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-style-ghost.js +1 -1
  127. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-style-modal-img.js +1 -1
  128. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/get-target-dimension.js +1 -1
  129. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/parse-position.js +1 -1
  130. package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/utils/test-has-scalable-src.js +1 -1
  131. package/dist/og/takumi.d.ts +1 -2
  132. package/dist/og.d.ts +1 -2
  133. package/dist/page.d.ts +2 -3
  134. package/dist/provider/base.d.ts +1 -2
  135. package/dist/provider/next.d.ts +1 -2
  136. package/dist/provider/react-router.d.ts +1 -2
  137. package/dist/provider/tanstack.d.ts +1 -2
  138. package/dist/provider/waku.d.ts +1 -2
  139. package/dist/style.css +3 -0
  140. package/package.json +11 -10
  141. /package/dist/node_modules/.pnpm/{react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6 → react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7}/node_modules/react-medium-image-zoom/dist/index.d.ts +0 -0
@@ -0,0 +1,49 @@
1
+ //#region src/.translations/index.d.ts
2
+ type Translations = {
3
+ "Back to Home(404 not found page)": string;
4
+ "Choose a language(language switcher)": string;
5
+ "Choose a language(language switcher)(aria-label)": string;
6
+ "Close Banner(banner)(aria-label)": string;
7
+ "Close Search(search dialog)(aria-label)": string;
8
+ "Collapse Sidebar(sidebar)(aria-label)": string;
9
+ "Copied Text(code block)(aria-label)": string;
10
+ "Copy Anchor Link(heading anchor)(aria-label)": string;
11
+ "Copy Link(accordion)(aria-label)": string;
12
+ "Copy Markdown(page actions)": string;
13
+ "Copy Text(code block)(aria-label)": string;
14
+ "Dark(theme switcher)(aria-label)": string;
15
+ "Default(type table)": string;
16
+ "Edit on GitHub(edit page)": string;
17
+ "Last updated on(page footer)": string;
18
+ "Light(theme switcher)(aria-label)": string;
19
+ "Next Page(pagination)": string;
20
+ "No Headings(table of contents)": string;
21
+ "No results found(search dialog)": string;
22
+ "On this page(table of contents)": string;
23
+ "Open Search(search trigger)(aria-label)": string;
24
+ "Open Sidebar(sidebar)(aria-label)": string;
25
+ "Open in ChatGPT(page actions)": string;
26
+ "Open in Claude(page actions)": string;
27
+ "Open in Cursor(page actions)": string;
28
+ "Open in GitHub(page actions)": string;
29
+ "Open in Scira AI(page actions)": string;
30
+ "Open(page actions)": string;
31
+ "Page Not Found(404 not found page)": string;
32
+ "Parameters(type table)": string;
33
+ "Previous Page(pagination)": string;
34
+ "Prop(type table)": string;
35
+ "Read {url}, I want to ask questions about it.(page actions)": string;
36
+ "Returns(type table)": string;
37
+ "Search(search dialog)": string;
38
+ "Search(search trigger)": string;
39
+ "System(theme switcher)(aria-label)": string;
40
+ "Table of Contents(inline table of contents)": string;
41
+ "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.(404 not found page)": string;
42
+ "Toggle Menu(home layout header)(aria-label)": string;
43
+ "Toggle Theme(theme switcher)(aria-label)": string;
44
+ "Type(type table)": string;
45
+ "View as Markdown(page actions)": string;
46
+ "displayName": string;
47
+ };
48
+ //#endregion
49
+ export { Translations };
@@ -0,0 +1,49 @@
1
+ //#region src/.translations/keys.json
2
+ var keys_default = [
3
+ "Back to Home(404 not found page)",
4
+ "Choose a language(language switcher)",
5
+ "Choose a language(language switcher)(aria-label)",
6
+ "Close Banner(banner)(aria-label)",
7
+ "Close Search(search dialog)(aria-label)",
8
+ "Collapse Sidebar(sidebar)(aria-label)",
9
+ "Copied Text(code block)(aria-label)",
10
+ "Copy Anchor Link(heading anchor)(aria-label)",
11
+ "Copy Link(accordion)(aria-label)",
12
+ "Copy Markdown(page actions)",
13
+ "Copy Text(code block)(aria-label)",
14
+ "Dark(theme switcher)(aria-label)",
15
+ "Default(type table)",
16
+ "Edit on GitHub(edit page)",
17
+ "Last updated on(page footer)",
18
+ "Light(theme switcher)(aria-label)",
19
+ "Next Page(pagination)",
20
+ "No Headings(table of contents)",
21
+ "No results found(search dialog)",
22
+ "On this page(table of contents)",
23
+ "Open Search(search trigger)(aria-label)",
24
+ "Open Sidebar(sidebar)(aria-label)",
25
+ "Open in ChatGPT(page actions)",
26
+ "Open in Claude(page actions)",
27
+ "Open in Cursor(page actions)",
28
+ "Open in GitHub(page actions)",
29
+ "Open in Scira AI(page actions)",
30
+ "Open(page actions)",
31
+ "Page Not Found(404 not found page)",
32
+ "Parameters(type table)",
33
+ "Previous Page(pagination)",
34
+ "Prop(type table)",
35
+ "Read {url}, I want to ask questions about it.(page actions)",
36
+ "Returns(type table)",
37
+ "Search(search dialog)",
38
+ "Search(search trigger)",
39
+ "System(theme switcher)(aria-label)",
40
+ "Table of Contents(inline table of contents)",
41
+ "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.(404 not found page)",
42
+ "Toggle Menu(home layout header)(aria-label)",
43
+ "Toggle Theme(theme switcher)(aria-label)",
44
+ "Type(type table)",
45
+ "View as Markdown(page actions)",
46
+ "displayName"
47
+ ];
48
+ //#endregion
49
+ export { keys_default as default };
@@ -1,5 +1,4 @@
1
1
  import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ComponentProps, ReactNode } from "react";
4
3
 
5
4
  //#region src/components/accordion.d.ts
@@ -8,7 +7,7 @@ declare function Accordions({
8
7
  className,
9
8
  defaultValue,
10
9
  ...props
11
- }: ComponentProps<typeof Accordion$1>): _$react_jsx_runtime0.JSX.Element;
10
+ }: ComponentProps<typeof Accordion$1>): import("react").JSX.Element;
12
11
  declare function Accordion({
13
12
  title,
14
13
  id,
@@ -18,6 +17,6 @@ declare function Accordion({
18
17
  }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
19
18
  title: string | ReactNode;
20
19
  value?: string;
21
- }): _$react_jsx_runtime0.JSX.Element;
20
+ }): import("react").JSX.Element;
22
21
  //#endregion
23
22
  export { Accordion, Accordions };
@@ -2,12 +2,12 @@
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { buttonVariants } from "./ui/button.js";
4
4
  import { useCopyButton } from "../utils/use-copy-button.js";
5
- import { useTranslations } from "../contexts/i18n.js";
6
5
  import { mergeRefs } from "../utils/merge-refs.js";
7
6
  import { Accordion as Accordion$1, AccordionContent, AccordionHeader, AccordionItem, AccordionTrigger } from "./ui/accordion.js";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { Check, LinkIcon } from "lucide-react";
10
9
  import { useEffect, useRef, useState } from "react";
10
+ import { useTranslations } from "@fuma-translate/react";
11
11
  //#region src/components/accordion.tsx
12
12
  function Accordions({ ref, className, defaultValue, ...props }) {
13
13
  const rootRef = useRef(null);
@@ -48,7 +48,7 @@ function Accordion({ title, id, value = String(title), children, ...props }) {
48
48
  });
49
49
  }
50
50
  function CopyButton({ id }) {
51
- const t = useTranslations();
51
+ const t = useTranslations({ note: "accordion" });
52
52
  const [checked, onClick] = useCopyButton(() => {
53
53
  const url = new URL(window.location.href);
54
54
  url.hash = id;
@@ -56,7 +56,7 @@ function CopyButton({ id }) {
56
56
  });
57
57
  return /* @__PURE__ */ jsx("button", {
58
58
  type: "button",
59
- "aria-label": t.accordionCopyAnchor,
59
+ "aria-label": t("Copy Link", { note: "aria-label" }),
60
60
  className: cn(buttonVariants({
61
61
  color: "ghost",
62
62
  className: "text-fd-muted-foreground me-2"
@@ -1,4 +1,3 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import { HTMLAttributes } from "react";
3
2
 
4
3
  //#region src/components/banner.d.ts
@@ -29,6 +28,6 @@ declare function Banner({
29
28
  * @defaultValue true
30
29
  */
31
30
  changeLayout?: boolean;
32
- }): _$react_jsx_runtime0.JSX.Element | null;
31
+ }): import("react").JSX.Element | null;
33
32
  //#endregion
34
33
  export { Banner };
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { buttonVariants } from "./ui/button.js";
4
- import { useTranslations } from "../contexts/i18n.js";
5
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
5
  import { X } from "lucide-react";
7
6
  import { useEffect, useState } from "react";
7
+ import { useTranslations } from "@fuma-translate/react";
8
8
  //#region src/components/banner.tsx
9
9
  function Banner({ id, variant = "normal", changeLayout = true, height = "3rem", rainbowColors = [
10
10
  "rgba(0,149,255,0.56)",
@@ -12,7 +12,7 @@ function Banner({ id, variant = "normal", changeLayout = true, height = "3rem",
12
12
  "rgba(255,0,0,0.73)",
13
13
  "rgba(131,255,166,0.66)"
14
14
  ], ...props }) {
15
- const t = useTranslations();
15
+ const t = useTranslations({ note: "banner" });
16
16
  const [open, setOpen] = useState(true);
17
17
  const globalKey = id ? `nd-banner-${encodeBase32(id)}` : null;
18
18
  useEffect(() => {
@@ -36,7 +36,7 @@ function Banner({ id, variant = "normal", changeLayout = true, height = "3rem",
36
36
  props.children,
37
37
  id ? /* @__PURE__ */ jsx("button", {
38
38
  type: "button",
39
- "aria-label": t.bannerClose,
39
+ "aria-label": t("Close Banner", { note: "aria-label" }),
40
40
  onClick: onClose,
41
41
  className: cn(buttonVariants({
42
42
  color: "ghost",
@@ -1,4 +1,3 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import { ComponentProps, ReactNode } from "react";
3
2
 
4
3
  //#region src/components/callout.d.ts
@@ -9,7 +8,7 @@ declare function Callout({
9
8
  ...props
10
9
  }: {
11
10
  title?: ReactNode;
12
- } & Omit<CalloutContainerProps, 'title'>): _$react_jsx_runtime0.JSX.Element;
11
+ } & Omit<CalloutContainerProps, 'title'>): import("react").JSX.Element;
13
12
  interface CalloutContainerProps extends ComponentProps<'div'> {
14
13
  /**
15
14
  * @defaultValue info
@@ -27,16 +26,16 @@ declare function CalloutContainer({
27
26
  className,
28
27
  style,
29
28
  ...props
30
- }: CalloutContainerProps): _$react_jsx_runtime0.JSX.Element;
29
+ }: CalloutContainerProps): import("react").JSX.Element;
31
30
  declare function CalloutTitle({
32
31
  children,
33
32
  className,
34
33
  ...props
35
- }: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
34
+ }: ComponentProps<'p'>): import("react").JSX.Element;
36
35
  declare function CalloutDescription({
37
36
  children,
38
37
  className,
39
38
  ...props
40
- }: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
39
+ }: ComponentProps<'p'>): import("react").JSX.Element;
41
40
  //#endregion
42
41
  export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
@@ -1,8 +1,7 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import { HTMLAttributes, ReactNode } from "react";
3
2
 
4
3
  //#region src/components/card.d.ts
5
- declare function Cards(props: HTMLAttributes<HTMLDivElement>): _$react_jsx_runtime0.JSX.Element;
4
+ declare function Cards(props: HTMLAttributes<HTMLDivElement>): import("react").JSX.Element;
6
5
  type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
7
6
  icon?: ReactNode;
8
7
  title: ReactNode;
@@ -15,6 +14,6 @@ declare function Card({
15
14
  title,
16
15
  description,
17
16
  ...props
18
- }: CardProps): _$react_jsx_runtime0.JSX.Element;
17
+ }: CardProps): import("react").JSX.Element;
19
18
  //#endregion
20
19
  export { Card, CardProps, Cards };
@@ -1,5 +1,4 @@
1
1
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
4
3
 
5
4
  //#region src/components/codeblock.d.ts
@@ -36,7 +35,7 @@ interface CodeBlockProps extends ComponentProps<'figure'> {
36
35
  children?: ReactNode;
37
36
  }) => ReactNode;
38
37
  }
39
- declare function Pre(props: ComponentProps<'pre'>): _$react_jsx_runtime0.JSX.Element;
38
+ declare function Pre(props: ComponentProps<'pre'>): import("react").JSX.Element;
40
39
  declare function CodeBlock({
41
40
  ref,
42
41
  title,
@@ -47,21 +46,21 @@ declare function CodeBlock({
47
46
  children,
48
47
  Actions,
49
48
  ...props
50
- }: CodeBlockProps): _$react_jsx_runtime0.JSX.Element;
49
+ }: CodeBlockProps): import("react").JSX.Element;
51
50
  declare function CodeBlockTabs({
52
51
  ref,
53
52
  className,
54
53
  ...props
55
- }: ComponentProps<typeof Tabs>): _$react_jsx_runtime0.JSX.Element;
54
+ }: ComponentProps<typeof Tabs>): import("react").JSX.Element;
56
55
  declare function CodeBlockTabsList({
57
56
  className,
58
57
  ...props
59
- }: ComponentProps<typeof TabsList>): _$react_jsx_runtime0.JSX.Element;
58
+ }: ComponentProps<typeof TabsList>): import("react").JSX.Element;
60
59
  declare function CodeBlockTabsTrigger({
61
60
  children,
62
61
  className,
63
62
  ...props
64
- }: ComponentProps<typeof TabsTrigger>): _$react_jsx_runtime0.JSX.Element;
65
- declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): _$react_jsx_runtime0.JSX.Element;
63
+ }: ComponentProps<typeof TabsTrigger>): import("react").JSX.Element;
64
+ declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): import("react").JSX.Element;
66
65
  //#endregion
67
66
  export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
@@ -2,12 +2,12 @@
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { buttonVariants } from "./ui/button.js";
4
4
  import { useCopyButton } from "../utils/use-copy-button.js";
5
- import { useTranslations } from "../contexts/i18n.js";
6
5
  import { mergeRefs } from "../utils/merge-refs.js";
7
6
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
8
7
  import { jsx, jsxs } from "react/jsx-runtime";
9
8
  import { Check, Clipboard } from "lucide-react";
10
9
  import { createContext, use, useMemo, useRef } from "react";
10
+ import { useTranslations } from "@fuma-translate/react";
11
11
  //#region src/components/codeblock.tsx
12
12
  const TabsContext = createContext(null);
13
13
  function Pre(props) {
@@ -64,7 +64,7 @@ function CodeBlock({ ref, title, allowCopy = true, keepBackground = false, icon,
64
64
  });
65
65
  }
66
66
  function CopyButton({ className, containerRef, ...props }) {
67
- const t = useTranslations();
67
+ const t = useTranslations({ note: "code block" });
68
68
  const [checked, onClick] = useCopyButton(() => {
69
69
  const pre = containerRef.current?.getElementsByTagName("pre").item(0);
70
70
  if (!pre) return;
@@ -81,7 +81,7 @@ function CopyButton({ className, containerRef, ...props }) {
81
81
  className: "hover:text-fd-accent-foreground data-checked:text-fd-accent-foreground",
82
82
  size: "icon-xs"
83
83
  }), className),
84
- "aria-label": checked ? t.codeBlockCopied : t.codeBlockCopy,
84
+ "aria-label": checked ? t("Copied Text", { note: "aria-label" }) : t("Copy Text", { note: "aria-label" }),
85
85
  onClick,
86
86
  ...props,
87
87
  children: checked ? /* @__PURE__ */ jsx(Check, {}) : /* @__PURE__ */ jsx(Clipboard, {})
@@ -1,5 +1,4 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import * as _$react from "react";
3
2
  import { HighlightOptions } from "fumadocs-core/highlight";
4
3
 
5
4
  //#region src/components/codeblock.rsc.d.ts
@@ -16,6 +15,6 @@ declare function ServerCodeBlock({
16
15
  code,
17
16
  codeblock,
18
17
  ...options
19
- }: ServerCodeBlockProps): Promise<_$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | (string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<_$react.ReactNode> | null | undefined)>;
18
+ }: ServerCodeBlockProps): Promise<import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | (string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined)>;
20
19
  //#endregion
21
20
  export { ServerCodeBlock, ServerCodeBlockProps };
@@ -1,5 +1,4 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ReactNode } from "react";
4
3
  import { AlgoliaOptions } from "fumadocs-core/search/client";
5
4
 
@@ -32,6 +31,6 @@ declare function AlgoliaSearchDialog({
32
31
  links,
33
32
  footer,
34
33
  ...props
35
- }: AlgoliaSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
34
+ }: AlgoliaSearchDialogProps): import("react").JSX.Element;
36
35
  //#endregion
37
36
  export { AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };
@@ -1,5 +1,4 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ReactNode } from "react";
4
3
 
5
4
  //#region src/components/dialog/search-default.d.ts
@@ -37,6 +36,6 @@ declare function DefaultSearchDialog({
37
36
  links,
38
37
  footer,
39
38
  ...props
40
- }: DefaultSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
39
+ }: DefaultSearchDialogProps): import("react").JSX.Element;
41
40
  //#endregion
42
41
  export { DefaultSearchDialogProps, DefaultSearchDialog as default };
@@ -1,5 +1,4 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ReactNode } from "react";
4
3
  import { OramaCloudOptions } from "fumadocs-core/search/client";
5
4
 
@@ -39,6 +38,6 @@ declare function OramaSearchDialog({
39
38
  footer,
40
39
  links,
41
40
  ...props
42
- }: OramaSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
41
+ }: OramaSearchDialogProps): import("react").JSX.Element;
43
42
  //#endregion
44
43
  export { OramaSearchDialogProps, OramaSearchDialog as default };
@@ -1,5 +1,4 @@
1
1
  import { SharedProps } from "../../contexts/search.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { ComponentProps, ReactNode } from "react";
4
3
  import { Dialog } from "@base-ui/react/dialog";
5
4
  import { HighlightedText, ReactSortedResult } from "fumadocs-core/search";
@@ -28,24 +27,24 @@ declare function SearchDialog({
28
27
  isLoading,
29
28
  onSelect: onSelectProp,
30
29
  children
31
- }: SearchDialogProps): _$react_jsx_runtime0.JSX.Element;
32
- declare function SearchDialogHeader(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
33
- declare function SearchDialogInput(props: ComponentProps<'input'>): _$react_jsx_runtime0.JSX.Element;
30
+ }: SearchDialogProps): import("react").JSX.Element;
31
+ declare function SearchDialogHeader(props: ComponentProps<'div'>): import("react").JSX.Element;
32
+ declare function SearchDialogInput(props: ComponentProps<'input'>): import("react").JSX.Element;
34
33
  declare function SearchDialogClose({
35
34
  children,
36
35
  className,
37
36
  ...props
38
- }: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
39
- declare function SearchDialogFooter(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
37
+ }: ComponentProps<'button'>): import("react").JSX.Element;
38
+ declare function SearchDialogFooter(props: ComponentProps<'div'>): import("react").JSX.Element;
40
39
  declare function SearchDialogOverlay({
41
40
  className,
42
41
  ...props
43
- }: ComponentProps<typeof Dialog.Backdrop>): _$react_jsx_runtime0.JSX.Element;
42
+ }: ComponentProps<typeof Dialog.Backdrop>): import("react").JSX.Element;
44
43
  declare function SearchDialogContent({
45
44
  children,
46
45
  className,
47
46
  ...props
48
- }: ComponentProps<typeof Dialog.Popup>): _$react_jsx_runtime0.JSX.Element;
47
+ }: ComponentProps<typeof Dialog.Popup>): import("react").JSX.Element;
49
48
  declare function SearchDialogList({
50
49
  items,
51
50
  Empty,
@@ -64,7 +63,7 @@ declare function SearchDialogList({
64
63
  item: SearchItemType;
65
64
  onClick: () => void;
66
65
  }) => ReactNode;
67
- }): _$react_jsx_runtime0.JSX.Element;
66
+ }): import("react").JSX.Element;
68
67
  declare function SearchDialogListItem({
69
68
  item,
70
69
  className,
@@ -76,8 +75,8 @@ declare function SearchDialogListItem({
76
75
  renderMarkdown?: (v: string) => ReactNode; /** @deprecated highlight blocks is now wrapped in `<mark />`, use `renderMarkdown` to handle instead. */
77
76
  renderHighlights?: (blocks: HighlightedText<ReactNode>[]) => ReactNode;
78
77
  item: SearchItemType;
79
- }): _$react_jsx_runtime0.JSX.Element;
80
- declare function SearchDialogIcon(props: ComponentProps<'svg'>): _$react_jsx_runtime0.JSX.Element;
78
+ }): import("react").JSX.Element;
79
+ declare function SearchDialogIcon(props: ComponentProps<'svg'>): import("react").JSX.Element;
81
80
  interface TagsListProps extends ComponentProps<'div'> {
82
81
  tag?: string;
83
82
  onTagChange: (tag: string | undefined) => void;
@@ -88,14 +87,14 @@ declare function TagsList({
88
87
  onTagChange,
89
88
  allowClear,
90
89
  ...props
91
- }: TagsListProps): _$react_jsx_runtime0.JSX.Element;
90
+ }: TagsListProps): import("react").JSX.Element;
92
91
  declare function TagsListItem({
93
92
  value,
94
93
  className,
95
94
  ...props
96
95
  }: ComponentProps<'button'> & {
97
96
  value: string;
98
- }): _$react_jsx_runtime0.JSX.Element;
97
+ }): import("react").JSX.Element;
99
98
  declare function useSearch(): {
100
99
  open: boolean;
101
100
  onOpenChange: (open: boolean) => void;
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { cn } from "../../utils/cn.js";
3
3
  import { buttonVariants } from "../ui/button.js";
4
- import { I18nLabel, useTranslations } from "../../contexts/i18n.js";
5
4
  import { useRouter } from "fumadocs-core/framework";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
6
  import { ChevronRight, Hash, SearchIcon } from "lucide-react";
8
7
  import { cva } from "class-variance-authority";
9
8
  import { Fragment as Fragment$1, createContext, use, useCallback, useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
9
+ import { useTranslations } from "@fuma-translate/react";
10
10
  import { useOnChange } from "fumadocs-core/utils/use-on-change";
11
11
  import scrollIntoView from "scroll-into-view-if-needed";
12
12
  import { Dialog } from "@base-ui/react/dialog";
@@ -140,13 +140,13 @@ function SearchDialogHeader(props) {
140
140
  });
141
141
  }
142
142
  function SearchDialogInput(props) {
143
- const t = useTranslations();
143
+ const t = useTranslations({ note: "search dialog" });
144
144
  const { search, onSearchChange } = useSearch();
145
145
  return /* @__PURE__ */ jsx("input", {
146
146
  ...props,
147
147
  value: search,
148
148
  onChange: (e) => onSearchChange(e.target.value),
149
- placeholder: t.search,
149
+ placeholder: t("Search"),
150
150
  className: "w-0 flex-1 bg-transparent text-lg placeholder:text-fd-muted-foreground focus-visible:outline-none"
151
151
  });
152
152
  }
@@ -154,7 +154,7 @@ function SearchDialogClose({ children = "ESC", className, ...props }) {
154
154
  const { onOpenChange } = useSearch();
155
155
  return /* @__PURE__ */ jsx("button", {
156
156
  type: "button",
157
- "aria-label": useTranslations().searchClose,
157
+ "aria-label": useTranslations({ note: "search dialog" })("Close Search", { note: "aria-label" }),
158
158
  onClick: () => onOpenChange(false),
159
159
  className: cn(buttonVariants({
160
160
  color: "outline",
@@ -178,7 +178,7 @@ function SearchDialogOverlay({ className, ...props }) {
178
178
  });
179
179
  }
180
180
  function SearchDialogContent({ children, className, ...props }) {
181
- const t = useTranslations();
181
+ const t = useTranslations({ note: "search dialog" });
182
182
  return /* @__PURE__ */ jsx(Dialog.Portal, { children: /* @__PURE__ */ jsxs(Dialog.Popup, {
183
183
  id: "fd-search-dialog-content",
184
184
  "aria-describedby": void 0,
@@ -186,14 +186,17 @@ function SearchDialogContent({ children, className, ...props }) {
186
186
  className: (s) => cn("fixed left-1/2 top-4 md:top-[calc(50%-250px)] z-50 w-[calc(100%-1rem)] max-w-screen-sm -translate-x-1/2 rounded-xl border bg-fd-popover text-fd-popover-foreground shadow-2xl overflow-hidden data-closed:animate-fd-dialog-out data-open:animate-fd-dialog-in focus-visible:outline-none", "*:border-b *:has-[+:last-child[data-empty=true]]:border-b-0 *:data-[empty=true]:border-b-0 *:last:border-b-0", typeof className === "function" ? className(s) : className),
187
187
  children: [/* @__PURE__ */ jsx(Dialog.Title, {
188
188
  className: "hidden",
189
- children: t.search
189
+ children: t("Search")
190
190
  }), children]
191
191
  }) });
192
192
  }
193
- function SearchDialogList({ items = null, Empty = () => /* @__PURE__ */ jsx("div", {
194
- className: "py-12 text-center text-sm text-fd-muted-foreground",
195
- children: /* @__PURE__ */ jsx(I18nLabel, { label: "searchNoResult" })
196
- }), Item = (props) => /* @__PURE__ */ jsx(SearchDialogListItem, { ...props }), ...props }) {
193
+ function SearchDialogEmpty() {
194
+ return /* @__PURE__ */ jsx("div", {
195
+ className: "py-12 text-center text-sm text-fd-muted-foreground",
196
+ children: useTranslations({ note: "search dialog" })("No results found")
197
+ });
198
+ }
199
+ function SearchDialogList({ items = null, Empty = SearchDialogEmpty, Item = (props) => /* @__PURE__ */ jsx(SearchDialogListItem, { ...props }), ...props }) {
197
200
  const ref = useRef(null);
198
201
  const { onSelect } = useSearch();
199
202
  const [active, setActive] = useState(() => items && items.length > 0 ? items[0].id : null);
@@ -1,5 +1,4 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
  import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
4
3
  import { HighlighterCore } from "shiki";
5
4
 
@@ -30,6 +29,6 @@ declare function DynamicCodeBlock({
30
29
  options,
31
30
  wrapInSuspense,
32
31
  highlighter
33
- }: DynamicCodeblockProps): _$react_jsx_runtime0.JSX.Element;
32
+ }: DynamicCodeblockProps): import("react").JSX.Element;
34
33
  //#endregion
35
34
  export { DynamicCodeBlock, DynamicCodeblockProps };
@@ -1,10 +1,9 @@
1
1
  import { DynamicCodeblockProps as DynamicCodeblockProps$1 } from "./dynamic-codeblock.core.js";
2
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
2
 
4
3
  //#region src/components/dynamic-codeblock.d.ts
5
4
  type DynamicCodeblockProps = Omit<DynamicCodeblockProps$1, 'highlighter' | 'options'> & {
6
5
  options?: DynamicCodeblockProps$1['options'];
7
6
  };
8
- declare function DynamicCodeBlock(props: DynamicCodeblockProps): _$react_jsx_runtime0.JSX.Element;
7
+ declare function DynamicCodeBlock(props: DynamicCodeblockProps): import("react").JSX.Element;
9
8
  //#endregion
10
9
  export { DynamicCodeBlock, DynamicCodeblockProps };
@@ -1,4 +1,3 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import { ComponentProps } from "react";
3
2
 
4
3
  //#region src/components/github-info.d.ts
@@ -31,6 +30,6 @@ declare function GithubInfo({
31
30
  fetchOptions,
32
31
  locale,
33
32
  ...props
34
- }: GithubInfoProps): _$react_jsx_runtime0.JSX.Element;
33
+ }: GithubInfoProps): import("react").JSX.Element;
35
34
  //#endregion
36
35
  export { FetchRepositoryInfoOptions, GithubInfo, GithubInfoProps, RepositoryInfo, fetchRepositoryInfo };
@@ -1,4 +1,3 @@
1
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
2
1
  import { ComponentPropsWithoutRef } from "react";
3
2
 
4
3
  //#region src/components/heading.d.ts
@@ -9,6 +8,6 @@ type HeadingProps<T extends Types> = Omit<ComponentPropsWithoutRef<T>, 'as'> & {
9
8
  declare function Heading<T extends Types = 'h1'>({
10
9
  as,
11
10
  ...props
12
- }: HeadingProps<T>): _$react_jsx_runtime0.JSX.Element;
11
+ }: HeadingProps<T>): import("react").JSX.Element;
13
12
  //#endregion
14
13
  export { Heading };
@@ -2,13 +2,13 @@
2
2
  import { cn } from "../utils/cn.js";
3
3
  import { buttonVariants } from "./ui/button.js";
4
4
  import { useCopyButton } from "../utils/use-copy-button.js";
5
- import { useTranslations } from "../contexts/i18n.js";
6
5
  import { jsx, jsxs } from "react/jsx-runtime";
7
6
  import { CopyCheckIcon, LinkIcon } from "lucide-react";
7
+ import { useTranslations } from "@fuma-translate/react";
8
8
  //#region src/components/heading.tsx
9
9
  function Heading({ as, ...props }) {
10
10
  const As = as ?? "h1";
11
- const t = useTranslations();
11
+ const t = useTranslations({ note: "heading anchor" });
12
12
  const [isChecked, onCopy] = useCopyButton(() => {
13
13
  if (!props.id) return;
14
14
  const url = new URL(window.location.href);
@@ -24,7 +24,7 @@ function Heading({ as, ...props }) {
24
24
  href: `#${props.id}`,
25
25
  children: props.children
26
26
  }), /* @__PURE__ */ jsx("button", {
27
- "aria-label": t.headingCopyAnchor,
27
+ "aria-label": t("Copy Anchor Link", { note: "aria-label" }),
28
28
  className: cn(buttonVariants({
29
29
  variant: "ghost",
30
30
  size: "icon-xs"
@@ -1,6 +1,5 @@
1
- import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
1
+ import { UncontrolledProps } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
2
  import { ImageProps } from "fumadocs-core/framework";
3
- import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
3
  import { ComponentProps } from "react";
5
4
 
6
5
  //#region src/components/image-zoom.d.ts
@@ -19,6 +18,6 @@ declare function ImageZoom({
19
18
  children,
20
19
  rmiz,
21
20
  ...props
22
- }: ImageZoomProps): _$react_jsx_runtime0.JSX.Element;
21
+ }: ImageZoomProps): import("react").JSX.Element;
23
22
  //#endregion
24
23
  export { ImageZoom, ImageZoomProps };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.5_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
2
+ import { Uncontrolled } from "../node_modules/.pnpm/react-medium-image-zoom@5.4.6_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/react-medium-image-zoom/dist/uncontrolled.js";
3
3
  import "./image-zoom2.css";
4
4
  import { Image } from "fumadocs-core/framework";
5
5
  import { jsx } from "react/jsx-runtime";