rspress-plugin-api-extractor 0.8.8 → 0.8.9
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.
- package/api-extracted-package.js +1 -1
- package/formatter.js +1 -1
- package/layers/TypeRegistryServiceLive.js +1 -1
- package/loader.js +1 -1
- package/markdown/cross-linker.js +1 -1
- package/model-loader.js +1 -1
- package/package.json +6 -6
- package/runtime/components/EnumMembersTable/index.css +18 -18
- package/runtime/components/EnumMembersTable/index.module.js +3 -3
- package/runtime/components/ExampleBlock/index.css +2 -2
- package/runtime/components/ExampleBlock/index.module.js +2 -2
- package/runtime/components/MemberSignature/index.css +6 -6
- package/runtime/components/MemberSignature/index.module.js +4 -4
- package/runtime/components/ParametersTable/index.css +19 -19
- package/runtime/components/ParametersTable/index.module.js +3 -3
- package/runtime/components/SignatureBlock/index.css +6 -6
- package/runtime/components/SignatureBlock/index.module.js +4 -4
- package/runtime/components/SignatureCode/index.css +9 -9
- package/runtime/components/SignatureCode/index.module.js +3 -3
- package/runtime/components/SignatureToolbar/index.css +18 -18
- package/runtime/components/SignatureToolbar/index.module.js +7 -7
- package/runtime/components/buttons/index.css +5 -5
- package/runtime/components/buttons/index.module.js +2 -2
- package/tsdoc-metadata.json +1 -1
package/api-extracted-package.js
CHANGED
package/formatter.js
CHANGED
|
@@ -5,7 +5,7 @@ import { TypeRegistryError } from "../errors.js";
|
|
|
5
5
|
import { TypeRegistryService } from "../services/TypeRegistryService.js";
|
|
6
6
|
import { NodeFileSystem, NodeHttpClient } from "@effect/platform-node";
|
|
7
7
|
import { Duration, Effect, Layer, Path } from "effect";
|
|
8
|
-
import { PackageFetcher, PackageSpec, RegistryObserver, TypeCache, TypeRegistry } from "
|
|
8
|
+
import { PackageFetcher, PackageSpec, RegistryObserver, TypeCache, TypeRegistry } from "@tsdoctor/registry";
|
|
9
9
|
import { Cache } from "@effected/store";
|
|
10
10
|
import { AppDirs, Xdg } from "@effected/xdg";
|
|
11
11
|
|
package/loader.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PluginEvent } from "./observability/events.js";
|
|
2
2
|
import { ApiDocumentedItem, ApiItemKind } from "@microsoft/api-extractor-model";
|
|
3
|
-
import { extractPlainText, getDeprecation, getExamples, getParams, getReleaseTag, getReturns, getSummary, hasModifierTag } from "
|
|
3
|
+
import { extractPlainText, getDeprecation, getExamples, getParams, getReleaseTag, getReturns, getSummary, hasModifierTag } from "@tsdoctor/model";
|
|
4
4
|
|
|
5
5
|
//#region src/loader.ts
|
|
6
6
|
/** Module-level emitter injected by plugin.ts at startup. */
|
package/markdown/cross-linker.js
CHANGED
package/model-loader.js
CHANGED
|
@@ -2,7 +2,7 @@ import { PluginEvent } from "./observability/events.js";
|
|
|
2
2
|
import { isLoadedModel, isVersionConfig } from "./config-utils.js";
|
|
3
3
|
import fs from "node:fs";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import { loadApiModel } from "
|
|
5
|
+
import { loadApiModel } from "@tsdoctor/model";
|
|
6
6
|
|
|
7
7
|
//#region src/model-loader.ts
|
|
8
8
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rspress-plugin-api-extractor",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "RSPress plugin for generating API documentation from TypeScript API Extractor models",
|
|
6
6
|
"keywords": [
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
"documentation",
|
|
11
11
|
"typescript"
|
|
12
12
|
],
|
|
13
|
-
"homepage": "https://github.com/spencerbeggs/
|
|
13
|
+
"homepage": "https://github.com/spencerbeggs/tsdoctor#readme",
|
|
14
14
|
"repository": {
|
|
15
15
|
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/spencerbeggs/
|
|
17
|
-
"directory": "
|
|
16
|
+
"url": "git+https://github.com/spencerbeggs/tsdoctor.git",
|
|
17
|
+
"directory": "platforms/rspress"
|
|
18
18
|
},
|
|
19
19
|
"license": "MIT",
|
|
20
20
|
"author": "Spencer Beggs",
|
|
@@ -45,8 +45,9 @@
|
|
|
45
45
|
"@effected/xdg": "^0.3.0",
|
|
46
46
|
"@microsoft/api-extractor-model": "^7.33.11",
|
|
47
47
|
"@shikijs/twoslash": "^4.4.3",
|
|
48
|
+
"@tsdoctor/model": "0.1.0",
|
|
49
|
+
"@tsdoctor/registry": "0.1.0",
|
|
48
50
|
"@typescript/vfs": "^1.6.4",
|
|
49
|
-
"api-extractor-llms": "^0.2.0",
|
|
50
51
|
"clsx": "^2.1.1",
|
|
51
52
|
"effect": "4.0.0-rc.109",
|
|
52
53
|
"gray-matter": "^4.0.3",
|
|
@@ -59,7 +60,6 @@
|
|
|
59
60
|
"prettier": "^3.9.6",
|
|
60
61
|
"react-markdown": "^10.1.0",
|
|
61
62
|
"shiki": "^4.4.3",
|
|
62
|
-
"type-registry-effect": "^2.3.5",
|
|
63
63
|
"typescript": "^6.0.3",
|
|
64
64
|
"unist-util-visit": "^5.1.0"
|
|
65
65
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.i1orWq_table {
|
|
2
2
|
border: 1px solid var(--api-color-border);
|
|
3
3
|
border-radius: 0 0 var(--api-border-radius) var(--api-border-radius);
|
|
4
4
|
border-top: none;
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
html.
|
|
10
|
+
html.i1orWq_rp-dark .i1orWq_table {
|
|
11
11
|
border-color: var(--api-color-border);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
.i1orWq_scroll {
|
|
15
15
|
-webkit-overflow-scrolling: touch;
|
|
16
16
|
overflow-x: auto;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
.i1orWq_table table {
|
|
20
20
|
border-collapse: collapse;
|
|
21
21
|
width: 100%;
|
|
22
22
|
font-size: var(--api-font-size-base);
|
|
@@ -25,12 +25,12 @@ html._9sEZ2a_rp-dark ._9sEZ2a_table {
|
|
|
25
25
|
margin: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
.i1orWq_table thead {
|
|
29
29
|
background-color: var(--api-color-bg);
|
|
30
30
|
border-bottom: 1px solid var(--api-color-border);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
.i1orWq_table th {
|
|
34
34
|
padding: var(--api-spacing-md) var(--api-spacing-lg);
|
|
35
35
|
text-align: left;
|
|
36
36
|
color: var(--api-color-text);
|
|
@@ -38,62 +38,62 @@ html._9sEZ2a_rp-dark ._9sEZ2a_table {
|
|
|
38
38
|
font-weight: 600;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
.i1orWq_table th:first-child {
|
|
42
42
|
width: 20%;
|
|
43
43
|
min-width: 120px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
.i1orWq_table th:nth-child(2) {
|
|
47
47
|
width: 25%;
|
|
48
48
|
min-width: 120px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
.i1orWq_table th:last-child {
|
|
52
52
|
width: 55%;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
.i1orWq_table td {
|
|
56
56
|
padding: var(--api-spacing-md) var(--api-spacing-lg);
|
|
57
57
|
border-top: 1px solid var(--api-color-border);
|
|
58
58
|
vertical-align: top;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
.i1orWq_table td:first-child {
|
|
62
62
|
width: 20%;
|
|
63
63
|
min-width: 120px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
.i1orWq_table td:nth-child(2) {
|
|
67
67
|
width: 25%;
|
|
68
68
|
min-width: 120px;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
.i1orWq_table td:last-child {
|
|
72
72
|
width: 55%;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
.i1orWq_table td code, .i1orWq_table th code {
|
|
76
76
|
font-size: var(--api-font-size-sm);
|
|
77
77
|
background-color: var(--api-color-code-bg);
|
|
78
78
|
border-radius: var(--api-border-radius-sm);
|
|
79
79
|
padding: .125rem .375rem;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
.i1orWq_table td:last-child p:first-child {
|
|
83
83
|
margin-top: 0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.i1orWq_table td:last-child p:last-child, .i1orWq_table td:last-child ul:last-child, .i1orWq_table td:last-child ol:last-child {
|
|
87
87
|
margin-bottom: 0;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@media (width <= 768px) {
|
|
91
|
-
.
|
|
91
|
+
.i1orWq_table td, .i1orWq_table th {
|
|
92
92
|
padding: var(--api-spacing-sm) var(--api-spacing-md);
|
|
93
93
|
font-size: var(--api-font-size-sm);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.
|
|
96
|
+
.i1orWq_table td:first-child, .i1orWq_table th:first-child, .i1orWq_table td:nth-child(2), .i1orWq_table th:nth-child(2) {
|
|
97
97
|
min-width: 100px;
|
|
98
98
|
}
|
|
99
99
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/EnumMembersTable/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"rpDark": "
|
|
5
|
-
"scroll": "
|
|
6
|
-
"table": "
|
|
4
|
+
"rpDark": "i1orWq_rp-dark",
|
|
5
|
+
"scroll": "i1orWq_scroll",
|
|
6
|
+
"table": "i1orWq_table"
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.xSQlsq_block {
|
|
2
2
|
margin: var(--api-spacing-xl) 0;
|
|
3
3
|
border-radius: var(--api-border-radius);
|
|
4
4
|
border: 1px solid var(--api-color-border);
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
overflow: visible;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
html.
|
|
9
|
+
html.xSQlsq_rp-dark .xSQlsq_block {
|
|
10
10
|
border-color: var(--api-color-border);
|
|
11
11
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.
|
|
1
|
+
.qoTVvq_blockWrapper {
|
|
2
2
|
padding: var(--api-spacing-xl) 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
.qoTVvq_block {
|
|
6
6
|
border-radius: var(--api-border-radius);
|
|
7
7
|
border: 1px solid var(--api-color-border);
|
|
8
8
|
position: relative;
|
|
9
9
|
overflow: visible;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
html.
|
|
12
|
+
html.qoTVvq_rp-dark .qoTVvq_block {
|
|
13
13
|
border-color: var(--api-color-border);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
.qoTVvq_hasParameters {
|
|
17
17
|
border-bottom-right-radius: 0;
|
|
18
18
|
border-bottom-left-radius: 0;
|
|
19
19
|
padding-bottom: 0;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.qoTVvq_hasParameters .api-signature-code {
|
|
23
23
|
border-bottom-right-radius: 0;
|
|
24
24
|
border-bottom-left-radius: 0;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.qoTVvq_hasParameters .api-signature-code pre {
|
|
28
28
|
border-radius: 0;
|
|
29
29
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/MemberSignature/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"block": "
|
|
5
|
-
"blockWrapper": "
|
|
6
|
-
"hasParameters": "
|
|
7
|
-
"rpDark": "
|
|
4
|
+
"block": "qoTVvq_block",
|
|
5
|
+
"blockWrapper": "qoTVvq_blockWrapper",
|
|
6
|
+
"hasParameters": "qoTVvq_hasParameters",
|
|
7
|
+
"rpDark": "qoTVvq_rp-dark"
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
._1CxlAG_table {
|
|
2
2
|
border: 1px solid var(--api-color-border);
|
|
3
3
|
border-radius: 0 0 var(--api-border-radius) var(--api-border-radius);
|
|
4
4
|
border-top: none;
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
overflow: hidden;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
html.
|
|
10
|
+
html._1CxlAG_rp-dark ._1CxlAG_table {
|
|
11
11
|
border-color: var(--api-color-border);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.
|
|
14
|
+
._1CxlAG_scroll {
|
|
15
15
|
-webkit-overflow-scrolling: touch;
|
|
16
16
|
overflow-x: auto;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
-
.
|
|
19
|
+
._1CxlAG_table table {
|
|
20
20
|
border-collapse: collapse;
|
|
21
21
|
width: 100%;
|
|
22
22
|
font-size: var(--api-font-size-base);
|
|
@@ -25,12 +25,12 @@ html.qRA0fW_rp-dark .qRA0fW_table {
|
|
|
25
25
|
margin: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
._1CxlAG_table thead {
|
|
29
29
|
background-color: var(--api-color-bg);
|
|
30
30
|
border-bottom: 1px solid var(--api-color-border);
|
|
31
31
|
}
|
|
32
32
|
|
|
33
|
-
.
|
|
33
|
+
._1CxlAG_table th {
|
|
34
34
|
padding: var(--api-spacing-md) var(--api-spacing-lg);
|
|
35
35
|
text-align: left;
|
|
36
36
|
color: var(--api-color-text);
|
|
@@ -38,66 +38,66 @@ html.qRA0fW_rp-dark .qRA0fW_table {
|
|
|
38
38
|
font-weight: 600;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
|
-
.
|
|
41
|
+
._1CxlAG_table th:first-child {
|
|
42
42
|
width: 20%;
|
|
43
43
|
min-width: 120px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
.
|
|
46
|
+
._1CxlAG_table th:nth-child(2) {
|
|
47
47
|
width: 30%;
|
|
48
48
|
min-width: 150px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
.
|
|
51
|
+
._1CxlAG_table th:last-child {
|
|
52
52
|
width: 50%;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
.
|
|
55
|
+
._1CxlAG_table td {
|
|
56
56
|
padding: var(--api-spacing-md) var(--api-spacing-lg);
|
|
57
57
|
border-top: 1px solid var(--api-color-border);
|
|
58
58
|
vertical-align: top;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
.
|
|
61
|
+
._1CxlAG_table td:first-child {
|
|
62
62
|
width: 20%;
|
|
63
63
|
min-width: 120px;
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
.
|
|
66
|
+
._1CxlAG_table td:nth-child(2) {
|
|
67
67
|
width: 30%;
|
|
68
68
|
min-width: 150px;
|
|
69
69
|
}
|
|
70
70
|
|
|
71
|
-
.
|
|
71
|
+
._1CxlAG_table td:last-child {
|
|
72
72
|
width: 50%;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
.
|
|
75
|
+
._1CxlAG_table td code, ._1CxlAG_table th code {
|
|
76
76
|
font-size: var(--api-font-size-sm);
|
|
77
77
|
background-color: var(--api-color-code-bg);
|
|
78
78
|
border-radius: var(--api-border-radius-sm);
|
|
79
79
|
padding: .125rem .375rem;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.
|
|
82
|
+
._1CxlAG_table td:last-child p:first-child {
|
|
83
83
|
margin-top: 0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
._1CxlAG_table td:last-child p:last-child, ._1CxlAG_table td:last-child ul:last-child, ._1CxlAG_table td:last-child ol:last-child {
|
|
87
87
|
margin-bottom: 0;
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
@media (width <= 768px) {
|
|
91
|
-
.
|
|
91
|
+
._1CxlAG_table td, ._1CxlAG_table th {
|
|
92
92
|
padding: var(--api-spacing-sm) var(--api-spacing-md);
|
|
93
93
|
font-size: var(--api-font-size-sm);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.
|
|
96
|
+
._1CxlAG_table td:first-child, ._1CxlAG_table th:first-child {
|
|
97
97
|
min-width: 100px;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.
|
|
100
|
+
._1CxlAG_table td:nth-child(2), ._1CxlAG_table th:nth-child(2) {
|
|
101
101
|
min-width: 120px;
|
|
102
102
|
}
|
|
103
103
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/ParametersTable/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"rpDark": "
|
|
5
|
-
"scroll": "
|
|
6
|
-
"table": "
|
|
4
|
+
"rpDark": "_1CxlAG_rp-dark",
|
|
5
|
+
"scroll": "_1CxlAG_scroll",
|
|
6
|
+
"table": "_1CxlAG_table"
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
.
|
|
1
|
+
._9NmvCa_blockWrapper {
|
|
2
2
|
padding: var(--api-spacing-xl) 0;
|
|
3
3
|
}
|
|
4
4
|
|
|
5
|
-
.
|
|
5
|
+
._9NmvCa_block {
|
|
6
6
|
border-radius: var(--api-border-radius);
|
|
7
7
|
border: 1px solid var(--api-color-border);
|
|
8
8
|
position: relative;
|
|
9
9
|
overflow: visible;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
html.
|
|
12
|
+
html._9NmvCa_rp-dark ._9NmvCa_block {
|
|
13
13
|
border-color: var(--api-color-border);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.
|
|
16
|
+
._9NmvCa_hasParameters {
|
|
17
17
|
border-bottom-width: 0;
|
|
18
18
|
border-bottom-right-radius: 0;
|
|
19
19
|
border-bottom-left-radius: 0;
|
|
20
20
|
padding-bottom: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.
|
|
23
|
+
._9NmvCa_hasParameters .api-signature-code {
|
|
24
24
|
border-bottom-right-radius: 0;
|
|
25
25
|
border-bottom-left-radius: 0;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
.
|
|
28
|
+
._9NmvCa_hasParameters .api-signature-code pre {
|
|
29
29
|
border-radius: 0;
|
|
30
30
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/SignatureBlock/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"block": "
|
|
5
|
-
"blockWrapper": "
|
|
6
|
-
"hasParameters": "
|
|
7
|
-
"rpDark": "
|
|
4
|
+
"block": "_9NmvCa_block",
|
|
5
|
+
"blockWrapper": "_9NmvCa_blockWrapper",
|
|
6
|
+
"hasParameters": "_9NmvCa_hasParameters",
|
|
7
|
+
"rpDark": "_9NmvCa_rp-dark"
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
//#endregion
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
.
|
|
1
|
+
.xutj2q_code {
|
|
2
2
|
border-bottom-left-radius: var(--api-border-radius);
|
|
3
3
|
border-bottom-right-radius: var(--api-border-radius);
|
|
4
4
|
position: relative;
|
|
5
5
|
container-type: inline-size;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.
|
|
8
|
+
.xutj2q_code pre {
|
|
9
9
|
height: auto;
|
|
10
10
|
max-height: none;
|
|
11
11
|
padding: var(--api-spacing-lg);
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
overflow-x: auto;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
html.
|
|
18
|
+
html.xutj2q_rp-dark .xutj2q_code pre {
|
|
19
19
|
background-color: var(--shiki-dark-bg);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.xutj2q_code code {
|
|
23
23
|
background-color: unset;
|
|
24
24
|
min-height: var(--api-font-size-md);
|
|
25
25
|
line-height: var(--api-line-height-base);
|
|
@@ -28,25 +28,25 @@ html._5P8n3G_rp-dark ._5P8n3G_code pre {
|
|
|
28
28
|
display: flex;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
.
|
|
31
|
+
.xutj2q_code code span {
|
|
32
32
|
color: var(--shiki-light);
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
-
html.
|
|
35
|
+
html.xutj2q_rp-dark .xutj2q_code code span {
|
|
36
36
|
color: var(--shiki-dark);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
.
|
|
39
|
+
.xutj2q_code .line {
|
|
40
40
|
background: none;
|
|
41
41
|
min-height: 1lh;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
|
-
.
|
|
44
|
+
.xutj2q_wrapped pre {
|
|
45
45
|
white-space: pre-wrap;
|
|
46
46
|
overflow-wrap: break-word;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.
|
|
49
|
+
.xutj2q_wrapped code {
|
|
50
50
|
white-space: pre-wrap;
|
|
51
51
|
overflow-wrap: break-word;
|
|
52
52
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/SignatureCode/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"code": "
|
|
5
|
-
"rpDark": "
|
|
6
|
-
"wrapped": "
|
|
4
|
+
"code": "xutj2q_code",
|
|
5
|
+
"rpDark": "xutj2q_rp-dark",
|
|
6
|
+
"wrapped": "xutj2q_wrapped"
|
|
7
7
|
};
|
|
8
8
|
|
|
9
9
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.
|
|
1
|
+
.GSquYa_toolbar {
|
|
2
2
|
justify-content: flex-end;
|
|
3
3
|
align-items: flex-end;
|
|
4
4
|
gap: var(--api-spacing-sm);
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
html.
|
|
12
|
+
html.GSquYa_rp-dark .GSquYa_toolbar {
|
|
13
13
|
background-color: var(--api-color-bg);
|
|
14
14
|
border-bottom-color: var(--api-color-border);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
.
|
|
17
|
+
.GSquYa_toolbar:has(.GSquYa_memberHeading) {
|
|
18
18
|
justify-content: space-between;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
|
-
.
|
|
21
|
+
.GSquYa_toolbar h2, .GSquYa_toolbar h3 {
|
|
22
22
|
font-size: var(--api-font-size-lg);
|
|
23
23
|
padding-left: var(--api-spacing-sm);
|
|
24
24
|
font-family: var(--rp-font-family-mono);
|
|
@@ -26,14 +26,14 @@ html.pmgBdW_rp-dark .pmgBdW_toolbar {
|
|
|
26
26
|
margin-bottom: 0;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.
|
|
29
|
+
.GSquYa_toolbarLeft {
|
|
30
30
|
gap: var(--api-spacing-sm);
|
|
31
31
|
flex-direction: column;
|
|
32
32
|
flex: 1;
|
|
33
33
|
display: flex;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
.
|
|
36
|
+
.GSquYa_memberHeading {
|
|
37
37
|
font-size: var(--api-font-size-md);
|
|
38
38
|
color: var(--api-color-text);
|
|
39
39
|
height: auto;
|
|
@@ -46,11 +46,11 @@ html.pmgBdW_rp-dark .pmgBdW_toolbar {
|
|
|
46
46
|
overflow: visible;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
html.
|
|
49
|
+
html.GSquYa_rp-dark .GSquYa_memberHeading {
|
|
50
50
|
color: var(--api-color-text);
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
.
|
|
53
|
+
.GSquYa_memberHeading .rp-header-anchor {
|
|
54
54
|
opacity: 0;
|
|
55
55
|
color: var(--rp-c-brand);
|
|
56
56
|
font-size: 1.5rem;
|
|
@@ -62,16 +62,16 @@ html.pmgBdW_rp-dark .pmgBdW_memberHeading {
|
|
|
62
62
|
left: -.6rem;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
.
|
|
65
|
+
.GSquYa_memberHeading:hover .rp-header-anchor {
|
|
66
66
|
opacity: .85;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
.
|
|
69
|
+
.GSquYa_memberHeading .rp-header-anchor:hover {
|
|
70
70
|
border-bottom: 0px solid var(--rp-c-brand);
|
|
71
71
|
opacity: .85;
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
.
|
|
74
|
+
.GSquYa_memberHeadingH2 {
|
|
75
75
|
font-size: var(--api-font-size-lg);
|
|
76
76
|
text-transform: lowercase;
|
|
77
77
|
border-top: none;
|
|
@@ -83,19 +83,19 @@ html.pmgBdW_rp-dark .pmgBdW_memberHeading {
|
|
|
83
83
|
line-height: 2rem;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
.
|
|
86
|
+
.GSquYa_memberHeadingH2:before, .GSquYa_memberHeadingH2:after {
|
|
87
87
|
content: none;
|
|
88
88
|
margin: 0;
|
|
89
89
|
padding: 0;
|
|
90
90
|
display: none;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
.
|
|
93
|
+
.GSquYa_memberHeadingH2 .rp-header-anchor {
|
|
94
94
|
font-size: var(--api-font-size-lg);
|
|
95
95
|
left: -1.5rem;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
-
.
|
|
98
|
+
.GSquYa_summary {
|
|
99
99
|
padding: 0;
|
|
100
100
|
padding-left: var(--api-spacing-sm);
|
|
101
101
|
font-size: var(--api-font-size-md);
|
|
@@ -105,21 +105,21 @@ html.pmgBdW_rp-dark .pmgBdW_memberHeading {
|
|
|
105
105
|
border: none;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
html.
|
|
108
|
+
html.GSquYa_rp-dark .GSquYa_summary {
|
|
109
109
|
color: var(--api-color-text-secondary);
|
|
110
110
|
background-color: #0000;
|
|
111
111
|
border: none;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.
|
|
114
|
+
.GSquYa_summary p:first-child {
|
|
115
115
|
margin-top: 0;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
.
|
|
118
|
+
.GSquYa_summary p:last-child, .GSquYa_summary ul:last-child, .GSquYa_summary ol:last-child {
|
|
119
119
|
margin-bottom: 0;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
.
|
|
122
|
+
.GSquYa_buttons {
|
|
123
123
|
gap: var(--api-spacing-sm);
|
|
124
124
|
display: flex;
|
|
125
125
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/SignatureToolbar/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"buttons": "
|
|
5
|
-
"memberHeading": "
|
|
6
|
-
"memberHeadingH2": "
|
|
7
|
-
"rpDark": "
|
|
8
|
-
"summary": "
|
|
9
|
-
"toolbar": "
|
|
10
|
-
"toolbarLeft": "
|
|
4
|
+
"buttons": "GSquYa_buttons",
|
|
5
|
+
"memberHeading": "GSquYa_memberHeading",
|
|
6
|
+
"memberHeadingH2": "GSquYa_memberHeadingH2",
|
|
7
|
+
"rpDark": "GSquYa_rp-dark",
|
|
8
|
+
"summary": "GSquYa_summary",
|
|
9
|
+
"toolbar": "GSquYa_toolbar",
|
|
10
|
+
"toolbarLeft": "GSquYa_toolbarLeft"
|
|
11
11
|
};
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
.qANVAa_buttonGroup {
|
|
2
2
|
gap: var(--api-spacing-sm);
|
|
3
3
|
display: flex;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.
|
|
6
|
+
.qANVAa_button {
|
|
7
7
|
align-items: center;
|
|
8
8
|
gap: var(--api-spacing-xs);
|
|
9
9
|
padding: var(--api-spacing-xs) var(--api-spacing-md);
|
|
@@ -19,17 +19,17 @@
|
|
|
19
19
|
display: inline-flex;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
22
|
+
.qANVAa_button:hover {
|
|
23
23
|
background-color: var(--api-color-hover-bg);
|
|
24
24
|
border-color: var(--api-color-border-hover);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.
|
|
27
|
+
.qANVAa_button:active {
|
|
28
28
|
background-color: var(--api-color-active-bg);
|
|
29
29
|
transform: scale(.98);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.
|
|
32
|
+
.qANVAa_button svg {
|
|
33
33
|
flex-shrink: 0;
|
|
34
34
|
width: 16px;
|
|
35
35
|
height: 16px;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import './index.css';
|
|
2
2
|
//#region src/runtime/components/buttons/index.module.css
|
|
3
3
|
var index_module_default = {
|
|
4
|
-
"button": "
|
|
5
|
-
"buttonGroup": "
|
|
4
|
+
"button": "qANVAa_button",
|
|
5
|
+
"buttonGroup": "qANVAa_buttonGroup"
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
//#endregion
|