@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
@@ -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");
@@ -759,14 +759,12 @@
759
759
  @source inline("overflow-auto");
760
760
  @source inline("overflow-hidden");
761
761
  @source inline("overflow-x-auto");
762
- @source inline("overflow-x-hidden");
763
762
  @source inline("overflow-y-auto");
764
763
  @source inline("override");
765
764
  @source inline("overscroll-contain");
766
765
  @source inline("own");
767
766
  @source inline("owner");
768
767
  @source inline("p");
769
- @source inline("p-0");
770
768
  @source inline("p-0.5");
771
769
  @source inline("p-1");
772
770
  @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({
@@ -8,7 +8,7 @@ declare function Accordions({
8
8
  className,
9
9
  defaultValue,
10
10
  ...props
11
- }: ComponentProps<typeof Accordion$1>): react_jsx_runtime0.JSX.Element;
11
+ }: ComponentProps<typeof Accordion$1>): _$react_jsx_runtime0.JSX.Element;
12
12
  declare function Accordion({
13
13
  title,
14
14
  id,
@@ -18,6 +18,6 @@ declare function Accordion({
18
18
  }: Omit<ComponentProps<typeof AccordionItem>, 'value' | 'title'> & {
19
19
  title: string | ReactNode;
20
20
  value?: string;
21
- }): react_jsx_runtime0.JSX.Element;
21
+ }): _$react_jsx_runtime0.JSX.Element;
22
22
  //#endregion
23
23
  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,21 +47,21 @@ 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
  className,
54
54
  ...props
55
- }: ComponentProps<typeof Tabs>): react_jsx_runtime0.JSX.Element;
55
+ }: ComponentProps<typeof Tabs>): _$react_jsx_runtime0.JSX.Element;
56
56
  declare function CodeBlockTabsList({
57
57
  className,
58
58
  ...props
59
- }: ComponentProps<typeof TabsList>): react_jsx_runtime0.JSX.Element;
59
+ }: ComponentProps<typeof TabsList>): _$react_jsx_runtime0.JSX.Element;
60
60
  declare function CodeBlockTabsTrigger({
61
61
  children,
62
62
  className,
63
63
  ...props
64
- }: ComponentProps<typeof TabsTrigger>): react_jsx_runtime0.JSX.Element;
65
- declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): react_jsx_runtime0.JSX.Element;
64
+ }: ComponentProps<typeof TabsTrigger>): _$react_jsx_runtime0.JSX.Element;
65
+ declare function CodeBlockTab(props: ComponentProps<typeof TabsContent>): _$react_jsx_runtime0.JSX.Element;
66
66
  //#endregion
67
67
  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 { Dialog } from "@base-ui/react/dialog";
5
5
  import { HighlightedText, ReactSortedResult } from "fumadocs-core/search";
6
6
 
@@ -28,24 +28,24 @@ 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;
38
+ }: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
39
+ declare function SearchDialogFooter(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element;
40
40
  declare function SearchDialogOverlay({
41
41
  className,
42
42
  ...props
43
- }: ComponentProps<typeof Dialog.Backdrop>): react_jsx_runtime0.JSX.Element;
43
+ }: ComponentProps<typeof Dialog.Backdrop>): _$react_jsx_runtime0.JSX.Element;
44
44
  declare function SearchDialogContent({
45
45
  children,
46
46
  className,
47
47
  ...props
48
- }: ComponentProps<typeof Dialog.Popup>): react_jsx_runtime0.JSX.Element;
48
+ }: ComponentProps<typeof Dialog.Popup>): _$react_jsx_runtime0.JSX.Element;
49
49
  declare function SearchDialogList({
50
50
  items,
51
51
  Empty,
@@ -64,7 +64,7 @@ declare function SearchDialogList({
64
64
  item: SearchItemType;
65
65
  onClick: () => void;
66
66
  }) => ReactNode;
67
- }): react_jsx_runtime0.JSX.Element;
67
+ }): _$react_jsx_runtime0.JSX.Element;
68
68
  declare function SearchDialogListItem({
69
69
  item,
70
70
  className,
@@ -76,8 +76,8 @@ declare function SearchDialogListItem({
76
76
  renderMarkdown?: (v: string) => ReactNode; /** @deprecated highlight blocks is now wrapped in `<mark />`, use `renderMarkdown` to handle instead. */
77
77
  renderHighlights?: (blocks: HighlightedText<ReactNode>[]) => ReactNode;
78
78
  item: SearchItemType;
79
- }): react_jsx_runtime0.JSX.Element;
80
- declare function SearchDialogIcon(props: ComponentProps<'svg'>): react_jsx_runtime0.JSX.Element;
79
+ }): _$react_jsx_runtime0.JSX.Element;
80
+ declare function SearchDialogIcon(props: ComponentProps<'svg'>): _$react_jsx_runtime0.JSX.Element;
81
81
  interface TagsListProps extends ComponentProps<'div'> {
82
82
  tag?: string;
83
83
  onTagChange: (tag: string | undefined) => void;
@@ -88,14 +88,14 @@ declare function TagsList({
88
88
  onTagChange,
89
89
  allowClear,
90
90
  ...props
91
- }: TagsListProps): react_jsx_runtime0.JSX.Element;
91
+ }: TagsListProps): _$react_jsx_runtime0.JSX.Element;
92
92
  declare function TagsListItem({
93
93
  value,
94
94
  className,
95
95
  ...props
96
96
  }: ComponentProps<'button'> & {
97
97
  value: string;
98
- }): react_jsx_runtime0.JSX.Element;
98
+ }): _$react_jsx_runtime0.JSX.Element;
99
99
  declare function useSearch(): {
100
100
  open: boolean;
101
101
  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
@@ -11,6 +11,6 @@ declare function InlineTOC({
11
11
  items,
12
12
  className,
13
13
  ...props
14
- }: InlineTocProps): react_jsx_runtime0.JSX.Element;
14
+ }: InlineTocProps): _$react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
16
  export { InlineTOC, InlineTocProps };
@@ -1,8 +1,8 @@
1
1
  import { CollapsibleContentProps, CollapsibleTriggerProps } from "../ui/collapsible.js";
2
2
  import { ScrollAreaProps } from "../ui/scroll-area.js";
3
- import * as react from "react";
3
+ import * as _$react from "react";
4
4
  import { ComponentProps, PointerEvent, ReactNode, RefObject } from "react";
5
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
+ import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
6
  import { LinkProps } from "fumadocs-core/link";
7
7
 
8
8
  //#region src/components/sidebar/base.d.ts
@@ -37,12 +37,12 @@ interface SidebarProviderProps {
37
37
  children?: ReactNode;
38
38
  }
39
39
  type Mode = 'drawer' | 'full';
40
- declare const SidebarContext: react.Context<SidebarContext | null>;
40
+ declare const SidebarContext: _$react.Context<SidebarContext | null>;
41
41
  declare function SidebarProvider({
42
42
  defaultOpenLevel,
43
43
  prefetch,
44
44
  children
45
- }: SidebarProviderProps): react_jsx_runtime0.JSX.Element;
45
+ }: SidebarProviderProps): _$react_jsx_runtime0.JSX.Element;
46
46
  declare function useSidebar(): SidebarContext;
47
47
  declare function useFolder(): {
48
48
  open: boolean;
@@ -62,17 +62,17 @@ declare function SidebarContent({
62
62
  onPointerLeave: (event: PointerEvent) => void;
63
63
  }) => ReactNode;
64
64
  }): ReactNode;
65
- declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): react_jsx_runtime0.JSX.Element | undefined;
65
+ declare function SidebarDrawerOverlay(props: ComponentProps<'div'>): _$react_jsx_runtime0.JSX.Element | undefined;
66
66
  declare function SidebarDrawerContent({
67
67
  className,
68
68
  children,
69
69
  ...props
70
- }: ComponentProps<'aside'>): react_jsx_runtime0.JSX.Element | undefined;
70
+ }: ComponentProps<'aside'>): _$react_jsx_runtime0.JSX.Element | undefined;
71
71
  declare function SidebarViewport({
72
72
  className,
73
73
  ...props
74
- }: ScrollAreaProps): react_jsx_runtime0.JSX.Element;
75
- declare function SidebarSeparator(props: ComponentProps<'p'>): react_jsx_runtime0.JSX.Element;
74
+ }: ScrollAreaProps): _$react_jsx_runtime0.JSX.Element;
75
+ declare function SidebarSeparator(props: ComponentProps<'p'>): _$react_jsx_runtime0.JSX.Element;
76
76
  declare function SidebarItem({
77
77
  icon,
78
78
  active,
@@ -81,7 +81,7 @@ declare function SidebarItem({
81
81
  }: LinkProps & {
82
82
  active?: boolean;
83
83
  icon?: ReactNode;
84
- }): react_jsx_runtime0.JSX.Element;
84
+ }): _$react_jsx_runtime0.JSX.Element;
85
85
  declare function SidebarFolder({
86
86
  defaultOpen: defaultOpenProp,
87
87
  collapsible,
@@ -92,24 +92,24 @@ declare function SidebarFolder({
92
92
  active?: boolean;
93
93
  defaultOpen?: boolean;
94
94
  collapsible?: boolean;
95
- }): react_jsx_runtime0.JSX.Element;
95
+ }): _$react_jsx_runtime0.JSX.Element;
96
96
  declare function SidebarFolderTrigger({
97
97
  children,
98
98
  ...props
99
- }: CollapsibleTriggerProps): react_jsx_runtime0.JSX.Element;
99
+ }: CollapsibleTriggerProps): _$react_jsx_runtime0.JSX.Element;
100
100
  declare function SidebarFolderLink({
101
101
  children,
102
102
  active,
103
103
  ...props
104
104
  }: LinkProps & {
105
105
  active?: boolean;
106
- }): react_jsx_runtime0.JSX.Element;
107
- declare function SidebarFolderContent(props: CollapsibleContentProps): react_jsx_runtime0.JSX.Element;
106
+ }): _$react_jsx_runtime0.JSX.Element;
107
+ declare function SidebarFolderContent(props: CollapsibleContentProps): _$react_jsx_runtime0.JSX.Element;
108
108
  declare function SidebarTrigger({
109
109
  children,
110
110
  ...props
111
- }: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
112
- declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): react_jsx_runtime0.JSX.Element;
111
+ }: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
112
+ declare function SidebarCollapseTrigger(props: ComponentProps<'button'>): _$react_jsx_runtime0.JSX.Element;
113
113
  /**
114
114
  * scroll to the element if `active` is true
115
115
  */