rspress-plugin-api-extractor 0.1.0 → 0.1.2

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 (48) hide show
  1. package/index.js +32 -236
  2. package/package.json +3 -3
  3. package/runtime/components/ApiExample/index.js +29 -0
  4. package/runtime/components/ApiLlmsPackageActions/index.js +348 -0
  5. package/runtime/components/ApiLlmsPackageActions/index.module.js +2 -0
  6. package/runtime/components/ApiLlmsViewOptions/index.js +365 -0
  7. package/runtime/components/ApiMember/index.js +51 -0
  8. package/runtime/components/ApiSignature/index.js +32 -0
  9. package/runtime/components/EnumMembersTable/index.js +69 -0
  10. package/runtime/components/EnumMembersTable/index.module.js +7 -0
  11. package/runtime/components/EnumMembersTable/index_module.css +100 -0
  12. package/runtime/components/ExampleBlock/index.js +36 -0
  13. package/runtime/components/ExampleBlock/index.module.js +6 -0
  14. package/runtime/components/ExampleBlock/index_module.css +12 -0
  15. package/runtime/components/MarkdownContent/index.js +23 -0
  16. package/runtime/components/MarkdownText/index.js +27 -0
  17. package/runtime/components/MemberSignature/index.js +54 -0
  18. package/runtime/components/MemberSignature/index.module.js +7 -0
  19. package/runtime/components/MemberSignature/index_module.css +27 -0
  20. package/runtime/components/ParametersTable/index.js +69 -0
  21. package/runtime/components/ParametersTable/index.module.js +7 -0
  22. package/runtime/components/ParametersTable/index_module.css +104 -0
  23. package/runtime/components/SignatureBlock/index.js +35 -0
  24. package/runtime/components/SignatureBlock/index.module.js +7 -0
  25. package/runtime/components/SignatureBlock/index_module.css +27 -0
  26. package/runtime/components/SignatureCode/index.js +36 -0
  27. package/runtime/components/SignatureCode/index.module.js +7 -0
  28. package/runtime/components/SignatureCode/index_module.css +53 -0
  29. package/runtime/components/SignatureToolbar/index.js +55 -0
  30. package/runtime/components/SignatureToolbar/index.module.js +11 -0
  31. package/runtime/components/SignatureToolbar/index_module.css +124 -0
  32. package/runtime/components/buttons/ButtonGroup.js +9 -0
  33. package/runtime/components/buttons/CopyCodeButton.js +42 -0
  34. package/runtime/components/buttons/WrapSignatureButton.js +20 -0
  35. package/runtime/components/buttons/index.module.js +6 -0
  36. package/runtime/components/buttons/index_module.css +37 -0
  37. package/runtime/components/icons/CheckIcon/index.js +20 -0
  38. package/runtime/components/icons/CopyIcon/index.js +20 -0
  39. package/runtime/components/icons/UnwrapIcon/index.js +21 -0
  40. package/runtime/components/icons/WrapIcon/index.js +20 -0
  41. package/runtime/components/shared/_twoslash.css +447 -0
  42. package/runtime/components/shared/types.js +0 -0
  43. package/runtime/components/shared/variables.css +85 -0
  44. package/runtime/hooks/useWrapToggle.js +12 -0
  45. package/runtime/index.d.ts +173 -0
  46. package/runtime/index.js +11 -0
  47. package/runtime/utils/decode-hast.js +18 -0
  48. package/runtime/utils/hast-renderer.js +10 -0
@@ -0,0 +1,23 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import react_markdown from "react-markdown";
3
+ function Link({ children, href, title, target, rel }) {
4
+ return /*#__PURE__*/ jsx("a", {
5
+ className: "rp-link",
6
+ href: href,
7
+ title: title,
8
+ target: target,
9
+ rel: rel,
10
+ children: children
11
+ });
12
+ }
13
+ function MarkdownContent({ children }) {
14
+ return /*#__PURE__*/ jsx(react_markdown, {
15
+ components: {
16
+ a: Link
17
+ },
18
+ children: children
19
+ });
20
+ }
21
+ const components_MarkdownContent = MarkdownContent;
22
+ export default components_MarkdownContent;
23
+ export { MarkdownContent };
@@ -0,0 +1,27 @@
1
+ import { Fragment, jsx } from "react/jsx-runtime";
2
+ function MarkdownText({ children }) {
3
+ const parts = parseMarkdownLinks(children);
4
+ return /*#__PURE__*/ jsx(Fragment, {
5
+ children: parts
6
+ });
7
+ }
8
+ function parseMarkdownLinks(text) {
9
+ const linkRegex = /\[([^\]]+)\]\(([^)]+)\)/g;
10
+ const parts = [];
11
+ let lastIndex = 0;
12
+ let key = 0;
13
+ for (const match of text.matchAll(linkRegex)){
14
+ if (void 0 !== match.index && match.index > lastIndex) parts.push(text.slice(lastIndex, match.index));
15
+ const [fullMatch, linkText, url] = match;
16
+ parts.push(/*#__PURE__*/ jsx("a", {
17
+ href: url,
18
+ children: linkText
19
+ }, key++));
20
+ lastIndex = (match.index ?? 0) + fullMatch.length;
21
+ }
22
+ if (lastIndex < text.length) parts.push(text.slice(lastIndex));
23
+ return parts;
24
+ }
25
+ const components_MarkdownText = MarkdownText;
26
+ export default components_MarkdownText;
27
+ export { MarkdownText };
@@ -0,0 +1,54 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { useWrapToggle } from "../../hooks/useWrapToggle.js";
4
+ import { WrapSignatureButton } from "../buttons/WrapSignatureButton.js";
5
+ import { SignatureCode } from "../SignatureCode/index.js";
6
+ import { SignatureToolbar } from "../SignatureToolbar/index.js";
7
+ import index_module from "./index.module.js";
8
+ function MemberSignature({ hast, memberName, id, summary, hasParameters = false }) {
9
+ const { wrapped, toggleWrap } = useWrapToggle();
10
+ if (import.meta.env.SSG_MD) {
11
+ let signature = "";
12
+ if (hast) signature = extractTextFromHast(hast);
13
+ const lines = signature.split("\n").filter((line)=>line.trim());
14
+ if (lines.length >= 2) signature = lines[1].trim();
15
+ let markdown = `### ${memberName}\n\n**Signature:** \`${signature}\``;
16
+ if (summary) markdown += `\n\n${summary}`;
17
+ return /*#__PURE__*/ jsx(Fragment, {
18
+ children: markdown
19
+ });
20
+ }
21
+ return /*#__PURE__*/ jsxs("div", {
22
+ className: clsx(index_module.block, hasParameters && index_module.hasParameters),
23
+ children: [
24
+ /*#__PURE__*/ jsx(SignatureToolbar, {
25
+ heading: {
26
+ text: memberName,
27
+ ...null != id ? {
28
+ id
29
+ } : {},
30
+ level: "h3"
31
+ },
32
+ ...null != summary ? {
33
+ summary
34
+ } : {},
35
+ buttons: /*#__PURE__*/ jsx(WrapSignatureButton, {
36
+ wrapped: wrapped,
37
+ onToggle: toggleWrap
38
+ })
39
+ }),
40
+ /*#__PURE__*/ jsx(SignatureCode, {
41
+ hast: hast,
42
+ wrapped: wrapped
43
+ })
44
+ ]
45
+ });
46
+ }
47
+ function extractTextFromHast(node) {
48
+ if ("value" in node && "string" == typeof node.value) return node.value;
49
+ if ("children" in node && Array.isArray(node.children)) return node.children.map(extractTextFromHast).join("");
50
+ return "";
51
+ }
52
+ const components_MemberSignature = MemberSignature;
53
+ export default components_MemberSignature;
54
+ export { MemberSignature };
@@ -0,0 +1,7 @@
1
+ import "./index_module.css";
2
+ const index_module = {
3
+ block: "block-Qq5hxM",
4
+ rpDark: "rp-dark-TylSkU",
5
+ hasParameters: "hasParameters-u13UWy"
6
+ };
7
+ export default index_module;
@@ -0,0 +1,27 @@
1
+ .block-Qq5hxM {
2
+ margin: var(--api-spacing-xl) 0;
3
+ border-radius: var(--api-border-radius);
4
+ border: 1px solid var(--api-color-border);
5
+ position: relative;
6
+ overflow: visible;
7
+ }
8
+
9
+ html.rp-dark-TylSkU .block-Qq5hxM {
10
+ border-color: var(--api-color-border);
11
+ }
12
+
13
+ .hasParameters-u13UWy {
14
+ border-bottom-right-radius: 0;
15
+ border-bottom-left-radius: 0;
16
+ margin-bottom: 0;
17
+ }
18
+
19
+ .hasParameters-u13UWy .api-signature-code {
20
+ border-bottom-right-radius: 0;
21
+ border-bottom-left-radius: 0;
22
+ }
23
+
24
+ .hasParameters-u13UWy .api-signature-code pre {
25
+ border-radius: 0;
26
+ }
27
+
@@ -0,0 +1,69 @@
1
+ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
2
+ import { MarkdownContent } from "../MarkdownContent/index.js";
3
+ import index_module from "./index.module.js";
4
+ const ParametersTable = ({ parameters })=>{
5
+ if (!parameters || 0 === parameters.length) return null;
6
+ if (import.meta.env.SSG_MD) {
7
+ let markdown = "#### Parameters\n\n";
8
+ markdown += "| Name | Type | Description |\n";
9
+ markdown += "|------|------|-------------|\n";
10
+ for (const param of parameters){
11
+ const name = `\`${param.name}\``;
12
+ const type = param.type ? `\`${param.type}\`` : "";
13
+ const description = param.description.replace(/<[^>]*>/g, "").trim();
14
+ markdown += `| ${name} | ${type} | ${description} |\n`;
15
+ }
16
+ return /*#__PURE__*/ jsx(Fragment, {
17
+ children: markdown
18
+ });
19
+ }
20
+ return /*#__PURE__*/ jsx("div", {
21
+ className: index_module.table,
22
+ children: /*#__PURE__*/ jsx("div", {
23
+ className: index_module.scroll,
24
+ children: /*#__PURE__*/ jsxs("table", {
25
+ children: [
26
+ /*#__PURE__*/ jsx("thead", {
27
+ children: /*#__PURE__*/ jsxs("tr", {
28
+ children: [
29
+ /*#__PURE__*/ jsx("th", {
30
+ children: "Parameter"
31
+ }),
32
+ /*#__PURE__*/ jsx("th", {
33
+ children: "Type"
34
+ }),
35
+ /*#__PURE__*/ jsx("th", {
36
+ children: "Description"
37
+ })
38
+ ]
39
+ })
40
+ }),
41
+ /*#__PURE__*/ jsx("tbody", {
42
+ children: parameters.map((param)=>/*#__PURE__*/ jsxs("tr", {
43
+ children: [
44
+ /*#__PURE__*/ jsx("td", {
45
+ children: /*#__PURE__*/ jsx("code", {
46
+ children: param.name
47
+ })
48
+ }),
49
+ /*#__PURE__*/ jsx("td", {
50
+ children: param.type && /*#__PURE__*/ jsx("code", {
51
+ children: param.type
52
+ })
53
+ }),
54
+ /*#__PURE__*/ jsx("td", {
55
+ children: /*#__PURE__*/ jsx(MarkdownContent, {
56
+ children: param.description
57
+ })
58
+ })
59
+ ]
60
+ }, param.name))
61
+ })
62
+ ]
63
+ })
64
+ })
65
+ });
66
+ };
67
+ const components_ParametersTable = ParametersTable;
68
+ export default components_ParametersTable;
69
+ export { ParametersTable };
@@ -0,0 +1,7 @@
1
+ import "./index_module.css";
2
+ const index_module = {
3
+ table: "table-wOupSX",
4
+ rpDark: "rp-dark-MFxhEo",
5
+ scroll: "scroll-prKOBp"
6
+ };
7
+ export default index_module;
@@ -0,0 +1,104 @@
1
+ .table-wOupSX {
2
+ border: 1px solid var(--api-color-border);
3
+ border-radius: 0 0 var(--api-border-radius) var(--api-border-radius);
4
+ border-top: none;
5
+ margin: 0;
6
+ position: relative;
7
+ overflow: hidden;
8
+ }
9
+
10
+ html.rp-dark-MFxhEo .table-wOupSX {
11
+ border-color: var(--api-color-border);
12
+ }
13
+
14
+ .scroll-prKOBp {
15
+ -webkit-overflow-scrolling: touch;
16
+ overflow-x: auto;
17
+ }
18
+
19
+ .table-wOupSX table {
20
+ border-collapse: collapse;
21
+ width: 100%;
22
+ font-size: var(--api-font-size-base);
23
+ border-top-left-radius: 0;
24
+ border-top-right-radius: 0;
25
+ margin: 0;
26
+ }
27
+
28
+ .table-wOupSX thead {
29
+ background-color: var(--api-color-bg);
30
+ border-bottom: 1px solid var(--api-color-border);
31
+ }
32
+
33
+ .table-wOupSX th {
34
+ padding: var(--api-spacing-md) var(--api-spacing-lg);
35
+ text-align: left;
36
+ color: var(--api-color-text);
37
+ white-space: nowrap;
38
+ font-weight: 600;
39
+ }
40
+
41
+ .table-wOupSX th:first-child {
42
+ width: 20%;
43
+ min-width: 120px;
44
+ }
45
+
46
+ .table-wOupSX th:nth-child(2) {
47
+ width: 30%;
48
+ min-width: 150px;
49
+ }
50
+
51
+ .table-wOupSX th:last-child {
52
+ width: 50%;
53
+ }
54
+
55
+ .table-wOupSX td {
56
+ padding: var(--api-spacing-md) var(--api-spacing-lg);
57
+ border-top: 1px solid var(--api-color-border);
58
+ vertical-align: top;
59
+ }
60
+
61
+ .table-wOupSX td:first-child {
62
+ width: 20%;
63
+ min-width: 120px;
64
+ }
65
+
66
+ .table-wOupSX td:nth-child(2) {
67
+ width: 30%;
68
+ min-width: 150px;
69
+ }
70
+
71
+ .table-wOupSX td:last-child {
72
+ width: 50%;
73
+ }
74
+
75
+ .table-wOupSX td code, .table-wOupSX th code {
76
+ font-size: var(--api-font-size-sm);
77
+ background-color: var(--api-color-code-bg);
78
+ border-radius: var(--api-border-radius-sm);
79
+ padding: .125rem .375rem;
80
+ }
81
+
82
+ .table-wOupSX td:last-child p:first-child {
83
+ margin-top: 0;
84
+ }
85
+
86
+ .table-wOupSX td:last-child p:last-child, .table-wOupSX td:last-child ul:last-child, .table-wOupSX td:last-child ol:last-child {
87
+ margin-bottom: 0;
88
+ }
89
+
90
+ @media (width <= 768px) {
91
+ .table-wOupSX td, .table-wOupSX th {
92
+ padding: var(--api-spacing-sm) var(--api-spacing-md);
93
+ font-size: var(--api-font-size-sm);
94
+ }
95
+
96
+ .table-wOupSX td:first-child, .table-wOupSX th:first-child {
97
+ min-width: 100px;
98
+ }
99
+
100
+ .table-wOupSX td:nth-child(2), .table-wOupSX th:nth-child(2) {
101
+ min-width: 120px;
102
+ }
103
+ }
104
+
@@ -0,0 +1,35 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { useWrapToggle } from "../../hooks/useWrapToggle.js";
4
+ import { WrapSignatureButton } from "../buttons/WrapSignatureButton.js";
5
+ import { SignatureCode } from "../SignatureCode/index.js";
6
+ import { SignatureToolbar } from "../SignatureToolbar/index.js";
7
+ import index_module from "./index.module.js";
8
+ function SignatureBlock({ hast, heading = "Signature", id = "signature", hasParameters = false }) {
9
+ const { wrapped, toggleWrap } = useWrapToggle();
10
+ return /*#__PURE__*/ jsxs("div", {
11
+ className: clsx(index_module.block, hasParameters && index_module.hasParameters),
12
+ children: [
13
+ /*#__PURE__*/ jsx(SignatureToolbar, {
14
+ ...heading && id ? {
15
+ heading: {
16
+ text: heading,
17
+ id,
18
+ level: "h2"
19
+ }
20
+ } : {},
21
+ buttons: /*#__PURE__*/ jsx(WrapSignatureButton, {
22
+ wrapped: wrapped,
23
+ onToggle: toggleWrap
24
+ })
25
+ }),
26
+ /*#__PURE__*/ jsx(SignatureCode, {
27
+ hast: hast,
28
+ wrapped: wrapped
29
+ })
30
+ ]
31
+ });
32
+ }
33
+ const components_SignatureBlock = SignatureBlock;
34
+ export default components_SignatureBlock;
35
+ export { SignatureBlock };
@@ -0,0 +1,7 @@
1
+ import "./index_module.css";
2
+ const index_module = {
3
+ block: "block-fru9Q7",
4
+ rpDark: "rp-dark-Bh4pwS",
5
+ hasParameters: "hasParameters-UU0nI6"
6
+ };
7
+ export default index_module;
@@ -0,0 +1,27 @@
1
+ .block-fru9Q7 {
2
+ margin: var(--api-spacing-xl) 0;
3
+ border-radius: var(--api-border-radius);
4
+ border: 1px solid var(--api-color-border);
5
+ position: relative;
6
+ overflow: visible;
7
+ }
8
+
9
+ html.rp-dark-Bh4pwS .block-fru9Q7 {
10
+ border-color: var(--api-color-border);
11
+ }
12
+
13
+ .hasParameters-UU0nI6 {
14
+ border-bottom-right-radius: 0;
15
+ border-bottom-left-radius: 0;
16
+ margin-bottom: 0;
17
+ }
18
+
19
+ .hasParameters-UU0nI6 .api-signature-code {
20
+ border-bottom-right-radius: 0;
21
+ border-bottom-left-radius: 0;
22
+ }
23
+
24
+ .hasParameters-UU0nI6 .api-signature-code pre {
25
+ border-radius: 0;
26
+ }
27
+
@@ -0,0 +1,36 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { useEffect, useRef } from "react";
4
+ import { hastToReact } from "../../utils/hast-renderer.js";
5
+ import index_module from "./index.module.js";
6
+ function SignatureCode({ hast, wrapped }) {
7
+ const containerRef = useRef(null);
8
+ useEffect(()=>{
9
+ const container = containerRef.current;
10
+ if (!container) return;
11
+ const handleMouseOver = (e)=>{
12
+ const target = e.target;
13
+ const hover = target.closest?.(".twoslash-hover");
14
+ if (!hover) return;
15
+ const popup = hover.querySelector(".twoslash-popup-container");
16
+ if (!popup) return;
17
+ const hoverRect = hover.getBoundingClientRect();
18
+ const containerWidth = container.getBoundingClientRect().width;
19
+ popup.style.setProperty("--popup-top", `${hoverRect.bottom + 4}px`);
20
+ popup.style.setProperty("--popup-left", `${hoverRect.left}px`);
21
+ popup.style.setProperty("--popup-max-width", `${0.75 * containerWidth}px`);
22
+ };
23
+ container.addEventListener("mouseover", handleMouseOver);
24
+ return ()=>container.removeEventListener("mouseover", handleMouseOver);
25
+ }, []);
26
+ if (!hast) return /*#__PURE__*/ jsx("div", {
27
+ ref: containerRef,
28
+ className: clsx(index_module.code, wrapped && index_module.wrapped)
29
+ });
30
+ return /*#__PURE__*/ jsx("div", {
31
+ ref: containerRef,
32
+ className: clsx("api-doc-code", index_module.code, wrapped && index_module.wrapped),
33
+ children: hastToReact(hast)
34
+ });
35
+ }
36
+ export { SignatureCode };
@@ -0,0 +1,7 @@
1
+ import "./index_module.css";
2
+ const index_module = {
3
+ code: "code-C94Xw8",
4
+ rpDark: "rp-dark-uV29jl",
5
+ wrapped: "wrapped-CCFVeG"
6
+ };
7
+ export default index_module;
@@ -0,0 +1,53 @@
1
+ .code-C94Xw8 {
2
+ border-bottom-left-radius: var(--api-border-radius);
3
+ border-bottom-right-radius: var(--api-border-radius);
4
+ position: relative;
5
+ container-type: inline-size;
6
+ }
7
+
8
+ .code-C94Xw8 pre {
9
+ height: auto;
10
+ max-height: none;
11
+ padding: var(--api-spacing-lg);
12
+ background-color: var(--shiki-light-bg);
13
+ border-radius: 0 0 var(--api-border-radius) var(--api-border-radius);
14
+ margin: 0;
15
+ overflow-x: auto;
16
+ }
17
+
18
+ html.rp-dark-uV29jl .code-C94Xw8 pre {
19
+ background-color: var(--shiki-dark-bg);
20
+ }
21
+
22
+ .code-C94Xw8 code {
23
+ background-color: unset;
24
+ min-height: var(--api-font-size-md);
25
+ line-height: var(--api-line-height-base);
26
+ flex-direction: column;
27
+ justify-content: center;
28
+ display: flex;
29
+ }
30
+
31
+ .code-C94Xw8 code span {
32
+ color: var(--shiki-light);
33
+ }
34
+
35
+ html.rp-dark-uV29jl .code-C94Xw8 code span {
36
+ color: var(--shiki-dark);
37
+ }
38
+
39
+ .code-C94Xw8 .line {
40
+ background: none;
41
+ min-height: 1lh;
42
+ }
43
+
44
+ .wrapped-CCFVeG pre {
45
+ white-space: pre-wrap;
46
+ overflow-wrap: break-word;
47
+ }
48
+
49
+ .wrapped-CCFVeG code {
50
+ white-space: pre-wrap;
51
+ overflow-wrap: break-word;
52
+ }
53
+
@@ -0,0 +1,55 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import clsx from "clsx";
3
+ import { MarkdownContent } from "../MarkdownContent/index.js";
4
+ import index_module from "./index.module.js";
5
+ function SignatureToolbar({ heading, summary, buttons }) {
6
+ const renderHeading = ()=>{
7
+ if (!heading) return null;
8
+ const HeadingTag = heading.level;
9
+ const headingClasses = heading.className || clsx("rp-toc-include", index_module.memberHeading, "h2" === heading.level && index_module.memberHeadingH2);
10
+ return /*#__PURE__*/ jsxs(HeadingTag, {
11
+ id: heading.id,
12
+ className: headingClasses,
13
+ children: [
14
+ heading.id && /*#__PURE__*/ jsx("a", {
15
+ href: `#${heading.id}`,
16
+ className: "rp-header-anchor rp-link",
17
+ tabIndex: -1,
18
+ "aria-label": "Permalink",
19
+ children: "#"
20
+ }),
21
+ heading.text
22
+ ]
23
+ });
24
+ };
25
+ const renderSummary = ()=>{
26
+ if (!summary) return null;
27
+ return /*#__PURE__*/ jsx("div", {
28
+ className: index_module.summary,
29
+ children: /*#__PURE__*/ jsx(MarkdownContent, {
30
+ children: summary
31
+ })
32
+ });
33
+ };
34
+ if (heading) return /*#__PURE__*/ jsxs("div", {
35
+ className: index_module.toolbar,
36
+ children: [
37
+ /*#__PURE__*/ jsxs("div", {
38
+ className: index_module.toolbarLeft,
39
+ children: [
40
+ renderHeading(),
41
+ renderSummary()
42
+ ]
43
+ }),
44
+ /*#__PURE__*/ jsx("div", {
45
+ className: index_module.buttons,
46
+ children: buttons
47
+ })
48
+ ]
49
+ });
50
+ return /*#__PURE__*/ jsx("div", {
51
+ className: index_module.toolbar,
52
+ children: buttons
53
+ });
54
+ }
55
+ export { SignatureToolbar };
@@ -0,0 +1,11 @@
1
+ import "./index_module.css";
2
+ const index_module = {
3
+ toolbar: "toolbar-UkMKNw",
4
+ rpDark: "rp-dark-nxUy8b",
5
+ memberHeading: "memberHeading-feA4hu",
6
+ toolbarLeft: "toolbarLeft-UmB7Yb",
7
+ memberHeadingH2: "memberHeadingH2-mEqox1",
8
+ summary: "summary-flYT6K",
9
+ buttons: "buttons-YWl5hD"
10
+ };
11
+ export default index_module;
@@ -0,0 +1,124 @@
1
+ .toolbar-UkMKNw {
2
+ justify-content: flex-end;
3
+ align-items: flex-end;
4
+ gap: var(--api-spacing-sm);
5
+ padding: var(--api-spacing-sm);
6
+ background-color: var(--api-color-bg);
7
+ border-top-left-radius: var(--api-border-radius);
8
+ border-top-right-radius: var(--api-border-radius);
9
+ display: flex;
10
+ }
11
+
12
+ html.rp-dark-nxUy8b .toolbar-UkMKNw {
13
+ background-color: var(--api-color-bg);
14
+ border-bottom-color: var(--api-color-border);
15
+ }
16
+
17
+ .toolbar-UkMKNw:has(.memberHeading-feA4hu) {
18
+ justify-content: space-between;
19
+ }
20
+
21
+ :is(.toolbar-UkMKNw h2, .toolbar-UkMKNw h3) {
22
+ font-size: var(--api-font-size-lg);
23
+ padding-left: var(--api-spacing-sm);
24
+ font-family: var(--rp-font-family-mono);
25
+ margin-top: 0;
26
+ margin-bottom: 0;
27
+ }
28
+
29
+ .toolbarLeft-UmB7Yb {
30
+ gap: var(--api-spacing-sm);
31
+ flex-direction: column;
32
+ flex: 1;
33
+ display: flex;
34
+ }
35
+
36
+ .memberHeading-feA4hu {
37
+ font-size: var(--api-font-size-md);
38
+ color: var(--api-color-text);
39
+ height: auto;
40
+ font-weight: 600;
41
+ line-height: var(--api-line-height-base);
42
+ -webkit-user-select: auto;
43
+ user-select: auto;
44
+ margin: 0;
45
+ position: relative;
46
+ overflow: visible;
47
+ }
48
+
49
+ html.rp-dark-nxUy8b .memberHeading-feA4hu {
50
+ color: var(--api-color-text);
51
+ }
52
+
53
+ .memberHeading-feA4hu .rp-header-anchor {
54
+ opacity: 0;
55
+ font-weight: 500;
56
+ font-size: inherit;
57
+ color: var(--rp-c-brand);
58
+ text-decoration: none;
59
+ transition: color .25s, opacity .25s;
60
+ position: absolute;
61
+ left: -1.2rem;
62
+ }
63
+
64
+ .memberHeading-feA4hu:hover .rp-header-anchor {
65
+ opacity: .85;
66
+ }
67
+
68
+ .memberHeading-feA4hu .rp-header-anchor:hover {
69
+ border-bottom: 1px solid var(--rp-c-brand);
70
+ opacity: .85;
71
+ }
72
+
73
+ .memberHeadingH2-mEqox1 {
74
+ font-size: var(--api-font-size-lg);
75
+ text-transform: lowercase;
76
+ border-top: none;
77
+ margin-top: 0;
78
+ margin-bottom: 0;
79
+ padding-top: 0;
80
+ font-weight: 600;
81
+ line-height: 2rem;
82
+ }
83
+
84
+ .memberHeadingH2-mEqox1:before, .memberHeadingH2-mEqox1:after {
85
+ content: none;
86
+ margin: 0;
87
+ padding: 0;
88
+ display: none;
89
+ }
90
+
91
+ .memberHeadingH2-mEqox1 .rp-header-anchor {
92
+ font-size: var(--api-font-size-lg);
93
+ left: -1.5rem;
94
+ }
95
+
96
+ .summary-flYT6K {
97
+ padding: 0;
98
+ padding-left: var(--api-spacing-sm);
99
+ font-size: var(--api-font-size-md);
100
+ line-height: var(--api-line-height-base);
101
+ color: var(--api-color-text-secondary);
102
+ background-color: #0000;
103
+ border: none;
104
+ }
105
+
106
+ html.rp-dark-nxUy8b .summary-flYT6K {
107
+ color: var(--api-color-text-secondary);
108
+ background-color: #0000;
109
+ border: none;
110
+ }
111
+
112
+ .summary-flYT6K p:first-child {
113
+ margin-top: 0;
114
+ }
115
+
116
+ .summary-flYT6K p:last-child, .summary-flYT6K ul:last-child, .summary-flYT6K ol:last-child {
117
+ margin-bottom: 0;
118
+ }
119
+
120
+ .buttons-YWl5hD {
121
+ gap: var(--api-spacing-sm);
122
+ display: flex;
123
+ }
124
+