fumadocs-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 (93) 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 +2 -2
  34. package/dist/components/ui/navigation-menu.d.ts +5 -5
  35. package/dist/components/ui/popover.d.ts +2 -2
  36. package/dist/components/ui/scroll-area.d.ts +4 -4
  37. package/dist/components/ui/tabs.d.ts +6 -6
  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/index.d.ts +2 -2
  42. package/dist/layouts/docs/page/index.d.ts +7 -7
  43. package/dist/layouts/docs/page/slots/breadcrumb.d.ts +2 -2
  44. package/dist/layouts/docs/page/slots/container.d.ts +2 -2
  45. package/dist/layouts/docs/page/slots/footer.d.ts +2 -2
  46. package/dist/layouts/docs/page/slots/toc.d.ts +4 -4
  47. package/dist/layouts/docs/slots/container.d.ts +2 -2
  48. package/dist/layouts/docs/slots/header.d.ts +3 -3
  49. package/dist/layouts/docs/slots/sidebar.d.ts +4 -4
  50. package/dist/layouts/docs/slots/sidebar.js +25 -17
  51. package/dist/layouts/flux/index.d.ts +4 -4
  52. package/dist/layouts/flux/page/index.d.ts +7 -7
  53. package/dist/layouts/flux/page/slots/breadcrumb.d.ts +2 -2
  54. package/dist/layouts/flux/page/slots/container.d.ts +2 -2
  55. package/dist/layouts/flux/page/slots/footer.d.ts +2 -2
  56. package/dist/layouts/flux/page/slots/toc.d.ts +2 -2
  57. package/dist/layouts/flux/slots/container.d.ts +2 -2
  58. package/dist/layouts/flux/slots/sidebar.d.ts +4 -4
  59. package/dist/layouts/flux/slots/tab-dropdown.d.ts +2 -2
  60. package/dist/layouts/home/index.d.ts +2 -2
  61. package/dist/layouts/home/navbar.d.ts +4 -4
  62. package/dist/layouts/home/not-found.d.ts +2 -2
  63. package/dist/layouts/home/slots/container.d.ts +2 -2
  64. package/dist/layouts/home/slots/header.d.ts +5 -5
  65. package/dist/layouts/notebook/index.d.ts +2 -2
  66. package/dist/layouts/notebook/page/index.d.ts +7 -7
  67. package/dist/layouts/notebook/page/slots/breadcrumb.d.ts +2 -2
  68. package/dist/layouts/notebook/page/slots/container.d.ts +2 -2
  69. package/dist/layouts/notebook/page/slots/footer.d.ts +2 -2
  70. package/dist/layouts/notebook/page/slots/toc.d.ts +4 -4
  71. package/dist/layouts/notebook/slots/container.d.ts +2 -2
  72. package/dist/layouts/notebook/slots/header.d.ts +3 -3
  73. package/dist/layouts/notebook/slots/header.js +1 -1
  74. package/dist/layouts/notebook/slots/sidebar.d.ts +5 -5
  75. package/dist/layouts/notebook/slots/sidebar.js +14 -12
  76. package/dist/layouts/shared/client.d.ts +2 -2
  77. package/dist/layouts/shared/page-actions.d.ts +3 -3
  78. package/dist/layouts/shared/slots/language-select.d.ts +13 -4
  79. package/dist/layouts/shared/slots/language-select.js +7 -10
  80. package/dist/layouts/shared/slots/search-trigger.d.ts +3 -3
  81. package/dist/layouts/shared/slots/theme-switch.d.ts +2 -2
  82. package/dist/layouts/shared/slots/theme-switch.js +1 -1
  83. package/dist/mdx.d.ts +10 -10
  84. package/dist/og/takumi.d.ts +2 -2
  85. package/dist/og.d.ts +3 -3
  86. package/dist/page.d.ts +3 -3
  87. package/dist/provider/base.d.ts +2 -2
  88. package/dist/provider/next.d.ts +2 -2
  89. package/dist/provider/react-router.d.ts +2 -2
  90. package/dist/provider/tanstack.d.ts +2 -2
  91. package/dist/provider/waku.d.ts +2 -2
  92. package/dist/style.css +45 -6
  93. package/package.json +11 -11
@@ -3,6 +3,7 @@
3
3
  @source inline("*:col-start-1");
4
4
  @source inline("*:my-auto");
5
5
  @source inline("*:pointer-events-auto");
6
+ @source inline("*:rounded-md");
6
7
  @source inline("*:row-start-1");
7
8
  @source inline("*:w-(--fd-sidebar-width)");
8
9
  @source inline("--fd-banner-height");
@@ -61,8 +62,8 @@
61
62
  @source inline("before:absolute");
62
63
  @source inline("before:bg-fd-border");
63
64
  @source inline("before:content-['']");
65
+ @source inline("before:inset-s-2.5");
64
66
  @source inline("before:inset-y-1");
65
- @source inline("before:start-2.5");
66
67
  @source inline("before:w-px");
67
68
  @source inline("bg-fd-background");
68
69
  @source inline("bg-fd-background/80");
@@ -73,10 +74,12 @@
73
74
  @source inline("border-b");
74
75
  @source inline("border-b-2");
75
76
  @source inline("border-e");
77
+ @source inline("border-e-0");
76
78
  @source inline("border-fd-primary");
77
79
  @source inline("border-s");
78
80
  @source inline("border-t");
79
81
  @source inline("border-transparent");
82
+ @source inline("border-y-0");
80
83
  @source inline("breadcrumb");
81
84
  @source inline("breadcrumbEnabled");
82
85
  @source inline("button");
@@ -113,8 +116,8 @@
113
116
  @source inline("data-[active=true]:before:absolute");
114
117
  @source inline("data-[active=true]:before:bg-fd-primary");
115
118
  @source inline("data-[active=true]:before:content-['']");
119
+ @source inline("data-[active=true]:before:inset-s-2.5");
116
120
  @source inline("data-[active=true]:before:inset-y-2.5");
117
- @source inline("data-[active=true]:before:start-2.5");
118
121
  @source inline("data-[active=true]:before:w-px");
119
122
  @source inline("data-[active=true]:bg-fd-primary/10");
120
123
  @source inline("data-[active=true]:hover:transition-colors");
@@ -150,7 +153,6 @@
150
153
  @source inline("empty:hidden");
151
154
  @source inline("empty:mb-0");
152
155
  @source inline("enabled");
153
- @source inline("end-0");
154
156
  @source inline("export");
155
157
  @source inline("extends");
156
158
  @source inline("false");
@@ -225,6 +227,9 @@
225
227
  @source inline("inline-flex");
226
228
  @source inline("input");
227
229
  @source inline("inset-0");
230
+ @source inline("inset-e-0");
231
+ @source inline("inset-s-0");
232
+ @source inline("inset-s-4");
228
233
  @source inline("inset-y-0");
229
234
  @source inline("inset-y-2");
230
235
  @source inline("instanceof");
@@ -240,6 +245,7 @@
240
245
  @source inline("items");
241
246
  @source inline("items-center");
242
247
  @source inline("items-end");
248
+ @source inline("justify-start");
243
249
  @source inline("key");
244
250
  @source inline("label");
245
251
  @source inline("languageSelect");
@@ -261,6 +267,7 @@
261
267
  @source inline("max-xl:hidden");
262
268
  @source inline("max-xl:layout:[--fd-toc-popover-height:--spacing(10)]");
263
269
  @source inline("mb-1");
270
+ @source inline("mb-2");
264
271
  @source inline("mb-4");
265
272
  @source inline("mb-8");
266
273
  @source inline("mb-auto");
@@ -329,6 +336,7 @@
329
336
  @source inline("pathname");
330
337
  @source inline("pb-1.5");
331
338
  @source inline("pb-2");
339
+ @source inline("pe-0");
332
340
  @source inline("pe-2.5");
333
341
  @source inline("pe-4");
334
342
  @source inline("placeholder");
@@ -349,9 +357,11 @@
349
357
  @source inline("pt-12");
350
358
  @source inline("pt-2");
351
359
  @source inline("pt-3");
360
+ @source inline("px-1");
352
361
  @source inline("px-2");
353
362
  @source inline("px-4");
354
363
  @source inline("px-6");
364
+ @source inline("py-0");
355
365
  @source inline("py-2.5");
356
366
  @source inline("py-6");
357
367
  @source inline("radius");
@@ -368,6 +378,7 @@
368
378
  @source inline("rotate-180");
369
379
  @source inline("round");
370
380
  @source inline("rounded-lg");
381
+ @source inline("rounded-none");
371
382
  @source inline("rounded-xl");
372
383
  @source inline("rtl:-translate-x-2");
373
384
  @source inline("rtl:rotate-180");
@@ -395,8 +406,6 @@
395
406
  @source inline("slots");
396
407
  @source inline("sm");
397
408
  @source inline("space");
398
- @source inline("start-0");
399
- @source inline("start-4");
400
409
  @source inline("sticky");
401
410
  @source inline("stroke");
402
411
  @source inline("stroke-current/25");
@@ -22,6 +22,7 @@
22
22
  @source inline("--radix-popover-trigger-width");
23
23
  @source inline("--spacing");
24
24
  @source inline("-me-1.5");
25
+ @source inline("-ms-1.5");
25
26
  @source inline("-mx-1");
26
27
  @source inline("-translate-x-(--fd-sidebar-width)");
27
28
  @source inline("-translate-y-full");
@@ -726,14 +726,12 @@
726
726
  @source inline("overflow-auto");
727
727
  @source inline("overflow-hidden");
728
728
  @source inline("overflow-x-auto");
729
- @source inline("overflow-x-hidden");
730
729
  @source inline("overflow-y-auto");
731
730
  @source inline("override");
732
731
  @source inline("overscroll-contain");
733
732
  @source inline("own");
734
733
  @source inline("owner");
735
734
  @source inline("p");
736
- @source inline("p-0");
737
735
  @source inline("p-0.5");
738
736
  @source inline("p-1");
739
737
  @source inline("p-1.5");
@@ -1,6 +1,6 @@
1
1
  import { Accordion as Accordion$1, AccordionItem } from "./ui/accordion.js";
2
2
  import { ComponentProps, ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/accordion.d.ts
6
6
  declare function Accordions({
@@ -9,7 +9,7 @@ declare function Accordions({
9
9
  className,
10
10
  defaultValue,
11
11
  ...props
12
- }: ComponentProps<typeof Accordion$1>): react_jsx_runtime0.JSX.Element;
12
+ }: ComponentProps<typeof Accordion$1>): _$react_jsx_runtime0.JSX.Element;
13
13
  declare function Accordion({
14
14
  title,
15
15
  id,
@@ -19,6 +19,6 @@ declare function Accordion({
19
19
  }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
20
20
  title: string | ReactNode;
21
21
  value?: string;
22
- }): react_jsx_runtime0.JSX.Element;
22
+ }): _$react_jsx_runtime0.JSX.Element;
23
23
  //#endregion
24
24
  export { Accordion, Accordions };
@@ -1,5 +1,5 @@
1
1
  import { HTMLAttributes } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/banner.d.ts
5
5
  type BannerVariant = 'rainbow' | 'normal';
@@ -29,6 +29,6 @@ declare function Banner({
29
29
  * @defaultValue true
30
30
  */
31
31
  changeLayout?: boolean;
32
- }): react_jsx_runtime0.JSX.Element | null;
32
+ }): _$react_jsx_runtime0.JSX.Element | null;
33
33
  //#endregion
34
34
  export { Banner };
@@ -1,5 +1,5 @@
1
1
  import { ComponentProps, ReactNode } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/callout.d.ts
5
5
  type CalloutType = 'info' | 'warn' | 'error' | 'success' | 'warning' | 'idea';
@@ -9,7 +9,7 @@ declare function Callout({
9
9
  ...props
10
10
  }: {
11
11
  title?: ReactNode;
12
- } & Omit<CalloutContainerProps, 'title'>): react_jsx_runtime0.JSX.Element;
12
+ } & Omit<CalloutContainerProps, 'title'>): _$react_jsx_runtime0.JSX.Element;
13
13
  interface CalloutContainerProps extends ComponentProps<'div'> {
14
14
  /**
15
15
  * @defaultValue info
@@ -27,16 +27,16 @@ declare function CalloutContainer({
27
27
  className,
28
28
  style,
29
29
  ...props
30
- }: CalloutContainerProps): react_jsx_runtime0.JSX.Element;
30
+ }: CalloutContainerProps): _$react_jsx_runtime0.JSX.Element;
31
31
  declare function CalloutTitle({
32
32
  children,
33
33
  className,
34
34
  ...props
35
- }: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
35
+ }: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
36
36
  declare function CalloutDescription({
37
37
  children,
38
38
  className,
39
39
  ...props
40
- }: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
40
+ }: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
41
41
  //#endregion
42
42
  export { Callout, CalloutContainer, CalloutContainerProps, CalloutDescription, CalloutTitle, CalloutType };
@@ -1,8 +1,8 @@
1
1
  import { HTMLAttributes, ReactNode } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/card.d.ts
5
- declare function Cards(props: HTMLAttributes<HTMLDivElement>): react_jsx_runtime0.JSX.Element;
5
+ declare function Cards(props: HTMLAttributes<HTMLDivElement>): _$react_jsx_runtime0.JSX.Element;
6
6
  type CardProps = Omit<HTMLAttributes<HTMLElement>, 'title'> & {
7
7
  icon?: ReactNode;
8
8
  title: ReactNode;
@@ -15,6 +15,6 @@ declare function Card({
15
15
  title,
16
16
  description,
17
17
  ...props
18
- }: CardProps): react_jsx_runtime0.JSX.Element;
18
+ }: CardProps): _$react_jsx_runtime0.JSX.Element;
19
19
  //#endregion
20
20
  export { Card, CardProps, Cards };
@@ -1,6 +1,6 @@
1
1
  import { Tabs, TabsContent, TabsList, TabsTrigger } from "./ui/tabs.js";
2
2
  import { ComponentProps, HTMLAttributes, ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/codeblock.d.ts
6
6
  interface CodeBlockProps extends ComponentProps<'figure'> {
@@ -36,7 +36,7 @@ interface CodeBlockProps extends ComponentProps<'figure'> {
36
36
  children?: ReactNode;
37
37
  }) => ReactNode;
38
38
  }
39
- declare function Pre(props: ComponentProps<'pre'>): react_jsx_runtime0.JSX.Element;
39
+ declare function Pre(props: ComponentProps<'pre'>): _$react_jsx_runtime0.JSX.Element;
40
40
  declare function CodeBlock({
41
41
  ref,
42
42
  title,
@@ -47,16 +47,16 @@ declare function CodeBlock({
47
47
  children,
48
48
  Actions,
49
49
  ...props
50
- }: CodeBlockProps): react_jsx_runtime0.JSX.Element;
50
+ }: CodeBlockProps): _$react_jsx_runtime0.JSX.Element;
51
51
  declare function CodeBlockTabs({
52
52
  ref,
53
53
  ...props
54
- }: ComponentProps<typeof Tabs>): react_jsx_runtime0.JSX.Element;
55
- declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): react_jsx_runtime0.JSX.Element;
54
+ }: ComponentProps<typeof Tabs>): _$react_jsx_runtime0.JSX.Element;
55
+ declare function CodeBlockTabsList(props: ComponentProps<typeof TabsList>): _$react_jsx_runtime0.JSX.Element;
56
56
  declare function CodeBlockTabsTrigger({
57
57
  children,
58
58
  ...props
59
- }: ComponentProps<typeof TabsTrigger>): react_jsx_runtime0.JSX.Element;
60
- declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): react_jsx_runtime0.JSX.Element;
59
+ }: ComponentProps<typeof TabsTrigger>): _$react_jsx_runtime0.JSX.Element;
60
+ declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): _$react_jsx_runtime0.JSX.Element;
61
61
  //#endregion
62
62
  export { CodeBlock, CodeBlockProps, CodeBlockTab, CodeBlockTabs, CodeBlockTabsList, CodeBlockTabsTrigger, Pre };
@@ -1,5 +1,5 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import * as react from "react";
2
+ import * as _$react from "react";
3
3
  import { HighlightOptions } from "fumadocs-core/highlight";
4
4
 
5
5
  //#region src/components/codeblock.rsc.d.ts
@@ -16,6 +16,6 @@ declare function ServerCodeBlock({
16
16
  code,
17
17
  codeblock,
18
18
  ...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)>;
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)>;
20
20
  //#endregion
21
21
  export { ServerCodeBlock, ServerCodeBlockProps };
@@ -1,6 +1,6 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { AlgoliaOptions } from "fumadocs-core/search/client";
5
5
 
6
6
  //#region src/components/dialog/search-algolia.d.ts
@@ -32,6 +32,6 @@ declare function AlgoliaSearchDialog({
32
32
  links,
33
33
  footer,
34
34
  ...props
35
- }: AlgoliaSearchDialogProps): react_jsx_runtime0.JSX.Element;
35
+ }: AlgoliaSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
36
36
  //#endregion
37
37
  export { AlgoliaSearchDialogProps, AlgoliaSearchDialog as default };
@@ -1,6 +1,6 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/dialog/search-default.d.ts
6
6
  interface DefaultSearchDialogProps extends SharedProps {
@@ -37,6 +37,6 @@ declare function DefaultSearchDialog({
37
37
  links,
38
38
  footer,
39
39
  ...props
40
- }: DefaultSearchDialogProps): react_jsx_runtime0.JSX.Element;
40
+ }: DefaultSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
41
41
  //#endregion
42
42
  export { DefaultSearchDialogProps, DefaultSearchDialog as default };
@@ -1,6 +1,6 @@
1
1
  import { SearchLink, SharedProps, TagItem } from "../../contexts/search.js";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { OramaCloudOptions } from "fumadocs-core/search/client";
5
5
 
6
6
  //#region src/components/dialog/search-orama.d.ts
@@ -39,6 +39,6 @@ declare function OramaSearchDialog({
39
39
  footer,
40
40
  links,
41
41
  ...props
42
- }: OramaSearchDialogProps): react_jsx_runtime0.JSX.Element;
42
+ }: OramaSearchDialogProps): _$react_jsx_runtime0.JSX.Element;
43
43
  //#endregion
44
44
  export { OramaSearchDialogProps, OramaSearchDialog as default };
@@ -1,6 +1,6 @@
1
1
  import { SharedProps } from "../../contexts/search.js";
2
2
  import { ComponentProps, ReactNode } from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { DialogContent, DialogOverlay } from "@radix-ui/react-dialog";
5
5
  import { HighlightedText, ReactSortedResult } from "fumadocs-core/search";
6
6
 
@@ -28,20 +28,20 @@ declare function SearchDialog({
28
28
  isLoading,
29
29
  onSelect: onSelectProp,
30
30
  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;
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;
34
34
  declare function SearchDialogClose({
35
35
  children,
36
36
  className,
37
37
  ...props
38
- }: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
39
- declare function SearchDialogFooter(props: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element;
40
- declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): react_jsx_runtime0.JSX.Element;
38
+ }: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
39
+ declare function SearchDialogFooter(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
40
+ declare function SearchDialogOverlay(props: ComponentProps<typeof DialogOverlay>): _$react_jsx_runtime0.JSX.Element;
41
41
  declare function SearchDialogContent({
42
42
  children,
43
43
  ...props
44
- }: ComponentProps<typeof DialogContent>): react_jsx_runtime0.JSX.Element;
44
+ }: ComponentProps<typeof DialogContent>): _$react_jsx_runtime0.JSX.Element;
45
45
  declare function SearchDialogList({
46
46
  items,
47
47
  Empty,
@@ -60,7 +60,7 @@ declare function SearchDialogList({
60
60
  item: SearchItemType;
61
61
  onClick: () => void;
62
62
  }) => ReactNode;
63
- }): react_jsx_runtime0.JSX.Element;
63
+ }): _$react_jsx_runtime0.JSX.Element;
64
64
  declare function SearchDialogListItem({
65
65
  item,
66
66
  className,
@@ -72,8 +72,8 @@ declare function SearchDialogListItem({
72
72
  renderMarkdown?: (v: string) => ReactNode; /** @deprecated highlight blocks is now wrapped in `<mark />`, use `renderMarkdown` to handle instead. */
73
73
  renderHighlights?: (blocks: HighlightedText<ReactNode>[]) => ReactNode;
74
74
  item: SearchItemType;
75
- }): react_jsx_runtime0.JSX.Element;
76
- declare function SearchDialogIcon(props: ComponentProps<'svg'>): react_jsx_runtime0.JSX.Element;
75
+ }): _$react_jsx_runtime0.JSX.Element;
76
+ declare function SearchDialogIcon(props: ComponentProps<'svg'>): _$react_jsx_runtime0.JSX.Element;
77
77
  interface TagsListProps extends ComponentProps<'div'> {
78
78
  tag?: string;
79
79
  onTagChange: (tag: string | undefined) => void;
@@ -84,14 +84,14 @@ declare function TagsList({
84
84
  onTagChange,
85
85
  allowClear,
86
86
  ...props
87
- }: TagsListProps): react_jsx_runtime0.JSX.Element;
87
+ }: TagsListProps): _$react_jsx_runtime0.JSX.Element;
88
88
  declare function TagsListItem({
89
89
  value,
90
90
  className,
91
91
  ...props
92
92
  }: ComponentProps<'button'> & {
93
93
  value: string;
94
- }): react_jsx_runtime0.JSX.Element;
94
+ }): _$react_jsx_runtime0.JSX.Element;
95
95
  declare function useSearch(): {
96
96
  open: boolean;
97
97
  onOpenChange: (open: boolean) => void;
@@ -1,5 +1,5 @@
1
1
  import { CodeBlockProps } from "./codeblock.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
  import { UseShikiOptions } from "fumadocs-core/highlight/shiki/react";
4
4
  import { HighlighterCore } from "shiki";
5
5
 
@@ -30,6 +30,6 @@ declare function DynamicCodeBlock({
30
30
  options,
31
31
  wrapInSuspense,
32
32
  highlighter
33
- }: DynamicCodeblockProps): react_jsx_runtime0.JSX.Element;
33
+ }: DynamicCodeblockProps): _$react_jsx_runtime0.JSX.Element;
34
34
  //#endregion
35
35
  export { DynamicCodeBlock, DynamicCodeblockProps };
@@ -1,10 +1,10 @@
1
1
  import { DynamicCodeblockProps as DynamicCodeblockProps$1 } from "./dynamic-codeblock.core.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/dynamic-codeblock.d.ts
5
5
  type DynamicCodeblockProps = Omit<DynamicCodeblockProps$1, 'highlighter' | 'options'> & {
6
6
  options?: DynamicCodeblockProps$1['options'];
7
7
  };
8
- declare function DynamicCodeBlock(props: DynamicCodeblockProps): react_jsx_runtime0.JSX.Element;
8
+ declare function DynamicCodeBlock(props: DynamicCodeblockProps): _$react_jsx_runtime0.JSX.Element;
9
9
  //#endregion
10
10
  export { DynamicCodeBlock, DynamicCodeblockProps };
@@ -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/components/github-info.d.ts
5
5
  interface FetchRepositoryInfoOptions {
@@ -27,6 +27,6 @@ declare function GithubInfo({
27
27
  baseUrl,
28
28
  fetchOptions,
29
29
  ...props
30
- }: ComponentProps<'a'> & FetchRepositoryInfoOptions): react_jsx_runtime0.JSX.Element;
30
+ }: ComponentProps<'a'> & FetchRepositoryInfoOptions): _$react_jsx_runtime0.JSX.Element;
31
31
  //#endregion
32
32
  export { FetchRepositoryInfoOptions, GithubInfo, RepositoryInfo, fetchRepositoryInfo };
@@ -1,6 +1,6 @@
1
1
  import { ComponentProps } from "react";
2
2
  import { ImageProps } from "fumadocs-core/framework";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
4
4
  import { UncontrolledProps } from "react-medium-image-zoom";
5
5
 
6
6
  //#region src/components/image-zoom.d.ts
@@ -19,6 +19,6 @@ declare function ImageZoom({
19
19
  children,
20
20
  rmiz,
21
21
  ...props
22
- }: ImageZoomProps): react_jsx_runtime0.JSX.Element;
22
+ }: ImageZoomProps): _$react_jsx_runtime0.JSX.Element;
23
23
  //#endregion
24
24
  export { ImageZoom, ImageZoomProps };
@@ -1,6 +1,5 @@
1
1
  "use client";
2
- import "./image-zoom.css";
3
- /* empty css */
2
+ import "./image-zoom2.css";
4
3
  import { Image } from "fumadocs-core/framework";
5
4
  import { jsx } from "react/jsx-runtime";
6
5
  import Zoom from "react-medium-image-zoom";
@@ -8,24 +8,19 @@
8
8
  position: absolute;
9
9
  }
10
10
 
11
- [data-rmiz-btn-zoom],
12
- [data-rmiz-btn-unzoom] {
11
+ [data-rmiz-btn-zoom], [data-rmiz-btn-unzoom] {
13
12
  display: none;
14
13
  }
15
14
 
16
- [data-rmiz-content='found'] img {
15
+ [data-rmiz-content="found"] img {
17
16
  cursor: zoom-in;
18
17
  }
19
18
 
20
19
  [data-rmiz-modal][open] {
21
- width: 100vw /* fallback */;
20
+ background-color: #0000;
22
21
  width: 100dvw;
23
-
24
- height: 100vh /* fallback */;
25
- height: 100dvh;
26
-
27
- background-color: transparent;
28
22
  max-width: none;
23
+ height: 100dvh;
29
24
  max-height: none;
30
25
  margin: 0;
31
26
  padding: 0;
@@ -38,17 +33,17 @@
38
33
  }
39
34
 
40
35
  [data-rmiz-modal-overlay] {
41
- transition: background-color 0.3s;
36
+ transition: background-color .3s;
42
37
  position: absolute;
43
38
  inset: 0;
44
39
  }
45
40
 
46
- [data-rmiz-modal-overlay='visible'] {
41
+ [data-rmiz-modal-overlay="visible"] {
47
42
  background-color: var(--color-fd-background);
48
43
  }
49
44
 
50
- [data-rmiz-modal-overlay='hidden'] {
51
- background-color: transparent;
45
+ [data-rmiz-modal-overlay="hidden"] {
46
+ background-color: #0000;
52
47
  }
53
48
 
54
49
  [data-rmiz-modal-content] {
@@ -65,13 +60,12 @@
65
60
  cursor: zoom-out;
66
61
  image-rendering: high-quality;
67
62
  transform-origin: 0 0;
68
- transition: transform 0.3s;
63
+ transition: transform .3s;
69
64
  position: absolute;
70
65
  }
71
66
 
72
67
  @media (prefers-reduced-motion: reduce) {
73
- [data-rmiz-modal-overlay],
74
- [data-rmiz-modal-img] {
75
- transition-duration: 0.01ms !important;
68
+ [data-rmiz-modal-overlay], [data-rmiz-modal-img] {
69
+ transition-duration: .01ms !important;
76
70
  }
77
71
  }
@@ -1,6 +1,6 @@
1
1
  import { Collapsible } from "./ui/collapsible.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
  import { TOCItemType } from "fumadocs-core/toc";
5
5
 
6
6
  //#region src/components/inline-toc.d.ts
@@ -10,6 +10,6 @@ interface InlineTocProps extends ComponentProps<typeof Collapsible> {
10
10
  declare function InlineTOC({
11
11
  items,
12
12
  ...props
13
- }: InlineTocProps): react_jsx_runtime0.JSX.Element;
13
+ }: InlineTocProps): _$react_jsx_runtime0.JSX.Element;
14
14
  //#endregion
15
15
  export { InlineTOC, InlineTocProps };
@@ -1,8 +1,8 @@
1
1
  import { CollapsibleContentProps, CollapsibleTriggerProps } from "../ui/collapsible.js";
2
2
  import { ScrollArea, ScrollViewport } from "../ui/scroll-area.js";
3
- import * as react from "react";
3
+ import * as _$react from "react";
4
4
  import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
6
  import { LinkProps } from "fumadocs-core/link";
7
7
 
8
8
  //#region src/components/sidebar/base.d.ts
@@ -37,12 +37,12 @@ interface SidebarProviderProps {
37
37
  children?: ReactNode;
38
38
  }
39
39
  type Mode = 'drawer' | 'full';
40
- declare const SidebarContext: react.Context<SidebarContext | null>;
40
+ declare const SidebarContext: _$react.Context<SidebarContext | null>;
41
41
  declare function SidebarProvider({
42
42
  defaultOpenLevel,
43
43
  prefetch,
44
44
  children
45
- }: SidebarProviderProps): react_jsx_runtime0.JSX.Element;
45
+ }: SidebarProviderProps): _$react_jsx_runtime0.JSX.Element;
46
46
  declare function useSidebar(): SidebarContext;
47
47
  declare function useFolder(): {
48
48
  open: boolean;
@@ -72,14 +72,14 @@ declare function SidebarViewport({
72
72
  area?: ComponentProps<typeof ScrollArea>;
73
73
  viewport?: ComponentProps<typeof ScrollViewport>;
74
74
  children: ReactNode;
75
- }): react_jsx_runtime0.JSX.Element;
76
- declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element | undefined;
75
+ }): _$react_jsx_runtime0.JSX.Element;
76
+ declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element | undefined;
77
77
  declare function SidebarDrawerContent({
78
78
  className,
79
79
  children,
80
80
  ...props
81
- }: ComponentProps<'aside'>): react_jsx_runtime0.JSX.Element | undefined;
82
- declare function SidebarSeparator(props: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
81
+ }: ComponentProps<'aside'>): _$react_jsx_runtime0.JSX.Element | undefined;
82
+ declare function SidebarSeparator(props: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
83
83
  declare function SidebarItem({
84
84
  icon,
85
85
  active,
@@ -88,7 +88,7 @@ declare function SidebarItem({
88
88
  }: LinkProps & {
89
89
  active?: boolean;
90
90
  icon?: ReactNode;
91
- }): react_jsx_runtime0.JSX.Element;
91
+ }): _$react_jsx_runtime0.JSX.Element;
92
92
  declare function SidebarFolder({
93
93
  defaultOpen: defaultOpenProp,
94
94
  collapsible,
@@ -99,24 +99,24 @@ declare function SidebarFolder({
99
99
  active?: boolean;
100
100
  defaultOpen?: boolean;
101
101
  collapsible?: boolean;
102
- }): react_jsx_runtime0.JSX.Element;
102
+ }): _$react_jsx_runtime0.JSX.Element;
103
103
  declare function SidebarFolderTrigger({
104
104
  children,
105
105
  ...props
106
- }: CollapsibleTriggerProps): react_jsx_runtime0.JSX.Element;
106
+ }: CollapsibleTriggerProps): _$react_jsx_runtime0.JSX.Element;
107
107
  declare function SidebarFolderLink({
108
108
  children,
109
109
  active,
110
110
  ...props
111
111
  }: LinkProps & {
112
112
  active?: boolean;
113
- }): react_jsx_runtime0.JSX.Element;
114
- declare function SidebarFolderContent(props: CollapsibleContentProps): react_jsx_runtime0.JSX.Element;
113
+ }): _$react_jsx_runtime0.JSX.Element;
114
+ declare function SidebarFolderContent(props: CollapsibleContentProps): _$react_jsx_runtime0.JSX.Element;
115
115
  declare function SidebarTrigger({
116
116
  children,
117
117
  ...props
118
- }: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
119
- declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
118
+ }: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
119
+ declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
120
120
  /**
121
121
  * scroll to the element if `active` is true
122
122
  */