boltdocs 3.0.2 → 3.2.1

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 (123) hide show
  1. package/README.md +2 -18
  2. package/dist/{adapters-DEXNIv3x.mjs → adapters-ByYY44Zy.mjs} +1 -1
  3. package/dist/{adapters-C5AWWGfb.cjs → adapters-DvmtpdSF.cjs} +1 -1
  4. package/dist/{banner-CfdalYLL.d.ts → banner-BMop1KLF.d.ts} +2 -2
  5. package/dist/{banner-DNSkgUsO.d.cts → banner-CVD0GugR.d.cts} +2 -2
  6. package/dist/cache-CO4Dy2uQ.cjs +6 -0
  7. package/dist/cache-Dk53iOo6.mjs +6 -0
  8. package/dist/chunk-BFSpntXv.mjs +6 -0
  9. package/dist/{chunk-Ds5LZdWN.cjs → chunk-D1Md3oWO.cjs} +1 -1
  10. package/dist/client/index.cjs +433 -272
  11. package/dist/client/index.d.cts +129 -18
  12. package/dist/client/index.d.ts +129 -18
  13. package/dist/client/index.js +337 -178
  14. package/dist/client/mdx.cjs +1 -1
  15. package/dist/client/mdx.d.cts +1 -1
  16. package/dist/client/mdx.d.ts +1 -1
  17. package/dist/client/mdx.js +1 -1
  18. package/dist/client/primitives.cjs +7 -7
  19. package/dist/client/primitives.d.cts +5 -22
  20. package/dist/client/primitives.d.ts +5 -22
  21. package/dist/client/primitives.js +4 -4
  22. package/dist/client/theme/neutral.css +1 -3
  23. package/dist/client/theme/reset.css +31 -4
  24. package/dist/config-BpzaPsJj.d.cts +781 -0
  25. package/dist/config-CCXp3aXO.mjs +7 -0
  26. package/dist/{config-JGkMJoJQ.cjs → config-CMd4XoFq.cjs} +1 -1
  27. package/dist/config-DlGoEM9D.cjs +7 -0
  28. package/dist/config-xtS0ZkMm.d.mts +781 -0
  29. package/dist/{csp-CBysWlAf.cjs → csp-CRp_3U7a.cjs} +1 -1
  30. package/dist/csp-oTC2ygvF.mjs +6 -0
  31. package/dist/{docs-layout-6FQ8__ok.js → docs-layout-BdtZ9z6s.js} +9 -28
  32. package/dist/{docs-layout-3TpAt6MB.cjs → docs-layout-CFWI15Id.cjs} +69 -88
  33. package/dist/{doctor-BR1B2Mkz.cjs → doctor-BBtmNJE0.cjs} +1 -1
  34. package/dist/doctor-Bv16QSrI.cjs +7 -0
  35. package/dist/doctor-DOAbSaiL.mjs +7 -0
  36. package/dist/{generator-DtUU3Cfk.cjs → generator-COepVWGi.cjs} +1 -1
  37. package/dist/{handler-Btd4t_67.mjs → handler-DzQae4eA.mjs} +1 -1
  38. package/dist/{handler-Dzf4dSnV.cjs → handler-XX7cLTqe.cjs} +1 -1
  39. package/dist/headers-Ddwek8K7.mjs +6 -0
  40. package/dist/{headers-BXKxiPUv.cjs → headers-dg4SDrjY.cjs} +1 -1
  41. package/dist/{image-C9md50h2.js → image-Bz87fCla.js} +2 -2
  42. package/dist/{image-CR6UlaI5.cjs → image-C4TlpMHn.cjs} +18 -18
  43. package/dist/link-2PzgTnaP.js +673 -0
  44. package/dist/{icons-dev-BryEFkJu.cjs → link-D1Gjkb-2.cjs} +8 -353
  45. package/dist/{mdx-DhyMkc35.js → mdx-BuO6a1f7.js} +199 -40
  46. package/dist/{mdx-DJBg5DuL.cjs → mdx-CD-tSjRG.cjs} +237 -72
  47. package/dist/{meta-loader-C9MKjAs0.cjs → meta-loader-Dq1zcFnh.cjs} +1 -1
  48. package/dist/node/cache.cjs +6 -0
  49. package/dist/node/cache.d.cts +84 -0
  50. package/dist/node/cache.d.mts +84 -0
  51. package/dist/node/cache.mjs +6 -0
  52. package/dist/node/cli-entry.cjs +6 -6
  53. package/dist/node/cli-entry.mjs +9 -9
  54. package/dist/node/index.cjs +1 -1
  55. package/dist/node/index.d.cts +27 -638
  56. package/dist/node/index.d.mts +27 -640
  57. package/dist/node/index.mjs +1 -1
  58. package/dist/node/mdx/shiki-adapter.cjs +6 -0
  59. package/dist/node/mdx/shiki-adapter.d.cts +51 -0
  60. package/dist/node/mdx/shiki-adapter.d.mts +51 -0
  61. package/dist/node/mdx/shiki-adapter.mjs +6 -0
  62. package/dist/node-BXtqM1uH.mjs +6 -0
  63. package/dist/node-BlVk4EVg.cjs +104 -0
  64. package/dist/node-DOf4zhWc.mjs +104 -0
  65. package/dist/node-aD1eisrR.cjs +6 -0
  66. package/dist/{package-CEDhVAfO.cjs → package-BcISI5-P.cjs} +1 -1
  67. package/dist/{package-_dCCKVvG.mjs → package-CCYEAYeA.mjs} +1 -1
  68. package/dist/{pages-external-CX2uyW95.cjs → pages-external-XkYIs-d5.cjs} +1 -1
  69. package/dist/parser-DCiEWkSk.cjs +8 -0
  70. package/dist/parser-qk9FIHJ7.mjs +8 -0
  71. package/dist/plugin-C95kvu6h.mjs +73 -0
  72. package/dist/plugin-DM3u2bVj.cjs +73 -0
  73. package/dist/routes-BW6zsk7Z.mjs +6 -0
  74. package/dist/routes-BgoIB5wb.cjs +6 -0
  75. package/dist/{routes-BajCwrvX.cjs → routes-CORVxc02.cjs} +1 -1
  76. package/dist/{search-dialog-D4rplZMv.cjs → search-dialog-B1NERUNx.cjs} +101 -55
  77. package/dist/{search-dialog-Cx7aGW3U.cjs → search-dialog-BRFno7HD.cjs} +8 -8
  78. package/dist/{search-dialog-DDopgbKM.js → search-dialog-BmxHiKwt.js} +2 -2
  79. package/dist/{search-dialog-BNdRV60O.js → search-dialog-D6TvjcuV.js} +1 -1
  80. package/dist/{search-dialog-DaeSPvEo.js → search-dialog-DFnlx8LO.js} +44 -4
  81. package/dist/{search-dialog-CW1f6dn6.cjs → search-dialog-DHqwjJuG.cjs} +1 -1
  82. package/dist/server/index.cjs +1 -1
  83. package/dist/server/index.d.mts +1 -1
  84. package/dist/server/index.mjs +1 -1
  85. package/dist/shiki-adapter-CoQ6jyJ4.cjs +6 -0
  86. package/dist/shiki-adapter-D-aKw7PP.mjs +6 -0
  87. package/dist/sidebar-COTaMHR-.d.ts +1100 -0
  88. package/dist/sidebar-CrEdJuHX.d.cts +1100 -0
  89. package/dist/{types-generator-CYcHkDzZ.cjs → types-generator-BXhv7Ill.cjs} +1 -1
  90. package/dist/types-generator-bDPvUztF.mjs +26 -0
  91. package/dist/utils-Crm9oPcV.mjs +7 -0
  92. package/dist/utils-D6Xtj0FZ.cjs +7 -0
  93. package/package.json +26 -12
  94. package/src/shared/types.ts +532 -23
  95. package/dist/cache-DETwlACe.cjs +0 -6
  96. package/dist/cache-SF59enb3.mjs +0 -6
  97. package/dist/config-B5uVv5q4.cjs +0 -7
  98. package/dist/config-D3_zDkHh.mjs +0 -7
  99. package/dist/csp-gaZ51xzq.mjs +0 -6
  100. package/dist/doctor-3MheVMwd.mjs +0 -7
  101. package/dist/doctor-DQxLM202.cjs +0 -7
  102. package/dist/headers-CXyf0auY.mjs +0 -6
  103. package/dist/icons-dev-kJyGWNeg.js +0 -916
  104. package/dist/node-B9JSyEIU.mjs +0 -105
  105. package/dist/node-Cedquois.cjs +0 -105
  106. package/dist/parser-CNIPHx4s.cjs +0 -8
  107. package/dist/parser-D0QHIQsi.mjs +0 -8
  108. package/dist/plugin-WYNORxp1.cjs +0 -68
  109. package/dist/plugin-YWNVRpws.mjs +0 -68
  110. package/dist/rolldown-runtime-fkIsjY3S.mjs +0 -6
  111. package/dist/routes-CyrnmVuG.mjs +0 -6
  112. package/dist/routes-D6Tuu7Fs.cjs +0 -6
  113. package/dist/shiki-adapter-CGTmrR6S.cjs +0 -6
  114. package/dist/shiki-adapter-CXEGRnjr.mjs +0 -6
  115. package/dist/shiki-adapter-Mr8_oT_9.cjs +0 -6
  116. package/dist/sidebar-7gIifpBX.d.cts +0 -615
  117. package/dist/sidebar-BAKgJ-Er.d.ts +0 -615
  118. package/dist/types-generator-DVOnRVKU.mjs +0 -26
  119. package/dist/utils-B3xYMrpK.mjs +0 -7
  120. package/dist/utils-Bz1tG9Dg.cjs +0 -7
  121. /package/dist/{errors-C0Hx15Ag.mjs → errors-0zGHRLue.mjs} +0 -0
  122. /package/dist/{errors-Dx6JHoKE.cjs → errors-vKw8CkiX.cjs} +0 -0
  123. /package/dist/{index-CdJv4ocW.d.mts → index-1KsTDq4o.d.mts} +0 -0
@@ -4,7 +4,7 @@
4
4
  * Licensed under the MIT License.
5
5
  */
6
6
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7
- const require_mdx = require('../mdx-DJBg5DuL.cjs');
7
+ const require_mdx = require('../mdx-CD-tSjRG.cjs');
8
8
 
9
9
  //#region src/client/mdx.ts
10
10
  const { Card, Cards, Callout, Field, Image } = require_mdx.mdx_components_default;
@@ -2,7 +2,7 @@
2
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/client/components/mdx/card.d.ts
5
- interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
6
6
  title?: React.ReactNode;
7
7
  icon?: React.ReactNode;
8
8
  href?: string;
@@ -2,7 +2,7 @@
2
2
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/client/components/mdx/card.d.ts
5
- interface CardProps extends React.HTMLAttributes<HTMLDivElement> {
5
+ interface CardProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
6
6
  title?: React.ReactNode;
7
7
  icon?: React.ReactNode;
8
8
  href?: string;
@@ -3,7 +3,7 @@
3
3
  * Copyright (c) 2026 Jesus Alcala
4
4
  * Licensed under the MIT License.
5
5
  */
6
- import { t as mdx_components_default } from "../mdx-DhyMkc35.js";
6
+ import { t as mdx_components_default } from "../mdx-BuO6a1f7.js";
7
7
 
8
8
  //#region src/client/mdx.ts
9
9
  const { Card, Cards, Callout, Field, Image } = mdx_components_default;
@@ -4,10 +4,10 @@
4
4
  * Licensed under the MIT License.
5
5
  */
6
6
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
7
- const require_icons_dev = require('../icons-dev-BryEFkJu.cjs');
8
- const require_image = require('../image-CR6UlaI5.cjs');
9
- const require_docs_layout = require('../docs-layout-3TpAt6MB.cjs');
10
- const require_search_dialog = require('../search-dialog-D4rplZMv.cjs');
7
+ const require_link = require('../link-D1Gjkb-2.cjs');
8
+ const require_image = require('../image-C4TlpMHn.cjs');
9
+ const require_docs_layout = require('../docs-layout-CFWI15Id.cjs');
10
+ const require_search_dialog = require('../search-dialog-B1NERUNx.cjs');
11
11
  let react_jsx_runtime = require("react/jsx-runtime");
12
12
 
13
13
  //#region src/client/components/primitives/skeleton.tsx
@@ -17,7 +17,7 @@ let react_jsx_runtime = require("react/jsx-runtime");
17
17
  */
18
18
  function Skeleton({ className, variant = "rect", ...props }) {
19
19
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
20
- className: require_icons_dev.cn("animate-pulse bg-soft", variant === "circle" ? "rounded-full" : "rounded-md", className),
20
+ className: require_link.cn("animate-pulse bg-soft", variant === "circle" ? "rounded-full" : "rounded-md", className),
21
21
  ...props
22
22
  });
23
23
  }
@@ -36,9 +36,9 @@ exports.ErrorBoundary = require_search_dialog.ErrorBoundary;
36
36
  exports.ErrorBoundaryFallback = require_search_dialog.ErrorBoundaryFallback;
37
37
  exports.Heading = require_image.Heading;
38
38
  exports.Image = require_image.Image;
39
- exports.Link = require_icons_dev.Link;
39
+ exports.Link = require_link.Link;
40
40
  exports.Menu = require_docs_layout.Menu;
41
- exports.NavLink = require_icons_dev.NavLink;
41
+ exports.NavLink = require_link.NavLink;
42
42
  exports.Navbar = require_search_dialog.Navbar;
43
43
  exports.OnThisPage = require_docs_layout.OnThisPage;
44
44
  exports.OnThisPageItems = require_docs_layout.OnThisPageItems;
@@ -1,61 +1,43 @@
1
1
 
2
- import { A as BoltdocsRoutePathWithFallback, a as SidebarItem, c as SidebarItemsProps, d as SidebarMobile, f as SidebarRoot, i as SidebarHeader, l as SidebarLink, m as ComponentBase, n as SidebarContent, o as SidebarItemProps, p as SidebarSubGroup, r as SidebarGroup, s as SidebarItems, t as Sidebar, u as SidebarLinkProps } from "../sidebar-7gIifpBX.cjs";
2
+ import { A as BoltdocsRoutePathWithFallback, a as SidebarItem, c as SidebarItemsProps, d as SidebarMobile, f as SidebarRoot, i as SidebarHeader, l as SidebarLink, m as ComponentBase, n as SidebarContent, o as SidebarItemProps, p as SidebarSubGroup, r as SidebarGroup, s as SidebarItems, t as Sidebar, u as SidebarLinkProps } from "../sidebar-CrEdJuHX.cjs";
3
3
  import * as React$2 from "react";
4
- import { Component, ComponentProps, ComponentType, ErrorInfo, ImgHTMLAttributes, ReactNode, RefObject } from "react";
4
+ import { Component, ComponentProps, ComponentType, ErrorInfo, FC, ImgHTMLAttributes, ReactNode, RefObject } from "react";
5
5
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
6
  import * as RAC from "react-aria-components";
7
7
  import { PopoverProps as PopoverProps$1 } from "react-aria-components";
8
8
 
9
9
  //#region src/client/components/primitives/docs-layout.d.ts
10
- /**
11
- * Props shared by all layout slot components.
12
- */
13
10
  interface SlotProps {
14
- children?: React.ReactNode;
11
+ children?: ReactNode;
15
12
  className?: string;
16
13
  style?: React.CSSProperties;
17
14
  }
18
- /**
19
- * Horizontal flex container for sidebar + content + toc.
20
- */
21
15
  declare function Body({
22
16
  children,
23
17
  className,
24
18
  style
25
19
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
26
- /**
27
- * Main scrollable content area.
28
- */
29
20
  declare function Content({
30
21
  children,
31
22
  className,
32
23
  style
33
24
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
34
- /**
35
- * MDX Content wrapper with standard page padding and max-width logic.
36
- */
37
25
  declare function ContentMdx({
38
26
  children,
39
27
  className,
40
28
  style
41
29
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
42
- /**
43
- * Content header area (breadcrumbs, title, description, etc).
44
- */
45
30
  declare function Header({
46
31
  children,
47
32
  className,
48
33
  style
49
34
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
50
- /**
51
- * Footer area inside the content section (page nav).
52
- */
53
35
  declare function Footer({
54
36
  children,
55
37
  className,
56
38
  style
57
39
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
58
- interface DocsLayoutComponent extends React.FC<SlotProps> {
40
+ interface DocsLayoutComponent extends FC<SlotProps> {
59
41
  Body: typeof Body;
60
42
  Content: typeof Content;
61
43
  ContentMdx: typeof ContentMdx;
@@ -603,6 +585,7 @@ declare function SearchDialogContent({
603
585
  * Pure, unstyled SearchDialog Dialog (maps to RAC.Dialog)
604
586
  */
605
587
  declare function SearchDialogDialog({
588
+ children,
606
589
  className,
607
590
  ...props
608
591
  }: RAC.DialogProps): _$react_jsx_runtime0.JSX.Element;
@@ -1,61 +1,43 @@
1
1
 
2
- import { A as BoltdocsRoutePathWithFallback, a as SidebarItem, c as SidebarItemsProps, d as SidebarMobile, f as SidebarRoot, i as SidebarHeader, l as SidebarLink, m as ComponentBase, n as SidebarContent, o as SidebarItemProps, p as SidebarSubGroup, r as SidebarGroup, s as SidebarItems, t as Sidebar, u as SidebarLinkProps } from "../sidebar-BAKgJ-Er.js";
2
+ import { A as BoltdocsRoutePathWithFallback, a as SidebarItem, c as SidebarItemsProps, d as SidebarMobile, f as SidebarRoot, i as SidebarHeader, l as SidebarLink, m as ComponentBase, n as SidebarContent, o as SidebarItemProps, p as SidebarSubGroup, r as SidebarGroup, s as SidebarItems, t as Sidebar, u as SidebarLinkProps } from "../sidebar-COTaMHR-.js";
3
3
  import * as React$2 from "react";
4
- import { Component, ComponentProps, ComponentType, ErrorInfo, ImgHTMLAttributes, ReactNode, RefObject } from "react";
4
+ import { Component, ComponentProps, ComponentType, ErrorInfo, FC, ImgHTMLAttributes, ReactNode, RefObject } from "react";
5
5
  import * as _$react_jsx_runtime0 from "react/jsx-runtime";
6
6
  import * as RAC from "react-aria-components";
7
7
  import { PopoverProps as PopoverProps$1 } from "react-aria-components";
8
8
 
9
9
  //#region src/client/components/primitives/docs-layout.d.ts
10
- /**
11
- * Props shared by all layout slot components.
12
- */
13
10
  interface SlotProps {
14
- children?: React.ReactNode;
11
+ children?: ReactNode;
15
12
  className?: string;
16
13
  style?: React.CSSProperties;
17
14
  }
18
- /**
19
- * Horizontal flex container for sidebar + content + toc.
20
- */
21
15
  declare function Body({
22
16
  children,
23
17
  className,
24
18
  style
25
19
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
26
- /**
27
- * Main scrollable content area.
28
- */
29
20
  declare function Content({
30
21
  children,
31
22
  className,
32
23
  style
33
24
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
34
- /**
35
- * MDX Content wrapper with standard page padding and max-width logic.
36
- */
37
25
  declare function ContentMdx({
38
26
  children,
39
27
  className,
40
28
  style
41
29
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
42
- /**
43
- * Content header area (breadcrumbs, title, description, etc).
44
- */
45
30
  declare function Header({
46
31
  children,
47
32
  className,
48
33
  style
49
34
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
50
- /**
51
- * Footer area inside the content section (page nav).
52
- */
53
35
  declare function Footer({
54
36
  children,
55
37
  className,
56
38
  style
57
39
  }: SlotProps): _$react_jsx_runtime0.JSX.Element;
58
- interface DocsLayoutComponent extends React.FC<SlotProps> {
40
+ interface DocsLayoutComponent extends FC<SlotProps> {
59
41
  Body: typeof Body;
60
42
  Content: typeof Content;
61
43
  ContentMdx: typeof ContentMdx;
@@ -603,6 +585,7 @@ declare function SearchDialogContent({
603
585
  * Pure, unstyled SearchDialog Dialog (maps to RAC.Dialog)
604
586
  */
605
587
  declare function SearchDialogDialog({
588
+ children,
606
589
  className,
607
590
  ...props
608
591
  }: RAC.DialogProps): _$react_jsx_runtime0.JSX.Element;
@@ -3,10 +3,10 @@
3
3
  * Copyright (c) 2026 Jesus Alcala
4
4
  * Licensed under the MIT License.
5
5
  */
6
- import { _ as Link, v as NavLink, y as cn } from "../icons-dev-kJyGWNeg.js";
7
- import { a as CodeBlockGroup, i as CodeBlockContent, n as Tooltip, o as CodeBlockHeader, r as CodeBlock, s as Heading, t as Image } from "../image-C9md50h2.js";
8
- import { D as ButtonGroup, E as Popover, O as Breadcrumbs, T as Menu, _ as ScrollProvider, a as SidebarHeader, b as useItems, c as SidebarLink, d as SidebarSubGroup, f as PageNav, g as OnThisPageTree, h as OnThisPageItems, i as SidebarGroup, l as SidebarMobile, m as OnThisPage, n as Sidebar, o as SidebarItem, p as AnchorProvider, r as SidebarContent, s as SidebarItems, t as DocsLayout, u as SidebarRoot, v as useActiveAnchor, w as Tabs, y as useActiveAnchors } from "../docs-layout-6FQ8__ok.js";
9
- import { a as Button, i as ErrorBoundaryFallback, n as Navbar, r as ErrorBoundary, t as SearchDialog } from "../search-dialog-DaeSPvEo.js";
6
+ import { n as NavLink, r as cn, t as Link } from "../link-2PzgTnaP.js";
7
+ import { a as CodeBlockGroup, i as CodeBlockContent, n as Tooltip, o as CodeBlockHeader, r as CodeBlock, s as Heading, t as Image } from "../image-Bz87fCla.js";
8
+ import { D as ButtonGroup, E as Popover, O as Breadcrumbs, T as Menu, _ as ScrollProvider, a as SidebarHeader, b as useItems, c as SidebarLink, d as SidebarSubGroup, f as PageNav, g as OnThisPageTree, h as OnThisPageItems, i as SidebarGroup, l as SidebarMobile, m as OnThisPage, n as Sidebar, o as SidebarItem, p as AnchorProvider, r as SidebarContent, s as SidebarItems, t as DocsLayout, u as SidebarRoot, v as useActiveAnchor, w as Tabs, y as useActiveAnchors } from "../docs-layout-BdtZ9z6s.js";
9
+ import { a as ErrorBoundaryFallback, i as ErrorBoundary, n as Navbar, o as Button, t as SearchDialog } from "../search-dialog-DFnlx8LO.js";
10
10
  import { jsx } from "react/jsx-runtime";
11
11
 
12
12
  //#region src/client/components/primitives/skeleton.tsx
@@ -72,7 +72,7 @@
72
72
  --color-subtle: var(--color-neutral-200);
73
73
  --color-strong: var(--color-neutral-300);
74
74
  --color-code-bg: var(--color-neutral-100);
75
- --color-code-text: #eb5828;
75
+ --color-code-text: color-mix(in srgb, var(--color-body) 80%, transparent);
76
76
 
77
77
  /* Semantic Colors - Dark Override (handled via standard CSS overrides below the @theme block) */
78
78
 
@@ -138,6 +138,4 @@
138
138
  --color-strong: #3c3c39;
139
139
  /* Strong dark border */
140
140
  --color-code-bg: var(--color-neutral-900);
141
- --color-code-text: #eb5828;
142
- /* Outstanding terracotta orange inline code */
143
141
  }
@@ -9,8 +9,11 @@
9
9
  body {
10
10
  margin: 0;
11
11
  padding: 0;
12
- min-height: 100%;
13
- overflow-x: hidden;
12
+ height: 100%;
13
+ }
14
+
15
+ #root {
16
+ height: 100%;
14
17
  }
15
18
 
16
19
  body {
@@ -19,6 +22,30 @@
19
22
  line-height: 1.7;
20
23
  }
21
24
 
25
+ /*
26
+ * ═══ Mermaid anti-scroll guard ═══
27
+ * Mermaid can leave behind measurement nodes and iframe sandboxes
28
+ * directly attached to <body>. If they are not cleaned up they can
29
+ * create a viewport-sized scrollable region below the docs page-nav.
30
+ * These selectors only target Mermaid-internal artifacts (which are
31
+ * direct children of <body> or iframes) and deliberately avoid the
32
+ * rendered SVG, which lives inside .boltdocs-content.
33
+ */
34
+ body > [id^="mermaid-"],
35
+ body > [id^="dmermaid-"],
36
+ body > [id^="mermaid-svg-"],
37
+ [id^="imermaid-"] {
38
+ position: fixed !important;
39
+ top: -9999px !important;
40
+ left: -9999px !important;
41
+ margin: 0 !important;
42
+ padding: 0 !important;
43
+ overflow: hidden !important;
44
+ pointer-events: none !important;
45
+ visibility: hidden !important;
46
+ opacity: 0 !important;
47
+ }
48
+
22
49
  a {
23
50
  text-decoration: none;
24
51
  }
@@ -87,8 +114,8 @@
87
114
 
88
115
  /* Prevent code signatures and property names in tables from wrapping awkwardly or breaking mid-word */
89
116
  .boltdocs-page table :not(pre) > code {
90
- white-space: nowrap;
91
- word-break: normal !important;
117
+ white-space: pre-wrap;
118
+ word-break: normal;
92
119
  }
93
120
 
94
121
  .scrollbar-hide {