@stainless-api/docs-ui 0.1.0-beta.37 → 0.1.0-beta.39
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/dist/{breadcrumbs-DK62UVKp.d.ts → breadcrumbs-BJwRrIDS.d.ts} +2 -2
- package/dist/chunk-Bf_Gc_jT.js +18 -0
- package/dist/{component-generics-B3baz0Yn.d.ts → component-generics-v4X7l-nO.d.ts} +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +4 -4
- package/dist/components/icons.d.ts +10 -10
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +4 -4
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +4 -4
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +4 -4
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +4 -4
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +4 -4
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +4 -4
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +4 -4
- package/dist/components/snippets.d.ts +3 -3
- package/dist/components/snippets.js +4 -4
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +4 -4
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +4 -4
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +4 -4
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/{contexts-BOmkRG2_.js → contexts-B-OYzYpz.js} +4 -4
- package/dist/{docs-C6nAEqOQ.d.ts → docs-CEN4Xl5K.d.ts} +2 -2
- package/dist/{index--lKHDYwq.d.ts → index-BNwrwxMQ.d.ts} +6 -6
- package/dist/{index-BQIQkWMC.d.ts → index-Dxr0Oj7i.d.ts} +26 -26
- package/dist/{index-DDEDqx74.d.ts → index-koj-Nc-M.d.ts} +8 -8
- package/dist/index.d.ts +19 -19
- package/dist/index.js +4 -4
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +4 -4
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +4 -4
- package/dist/languages/index.d.ts +11 -11
- package/dist/languages/index.js +4 -4
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +4 -4
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +4 -4
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +4 -4
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +4 -4
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +4 -4
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/{markdown-DTVxnxGP.d.ts → markdown-Cf1yLmR9.d.ts} +2 -2
- package/dist/{method-BAmsRDOC.d.ts → method-BufS4KC3.d.ts} +7 -7
- package/dist/{navigation-B6dZoY_Y.d.ts → navigation-tYqZ92k_.d.ts} +3 -3
- package/dist/{overview-DeYjHR1D.d.ts → overview-DdX0dlwP.d.ts} +6 -6
- package/dist/{primitives-Dp0LYV7y.d.ts → primitives-B7rqll78.d.ts} +9 -9
- package/dist/{properties-DvX5OQpO.d.ts → properties-DIURiLZX.d.ts} +4 -4
- package/dist/{routing-ByeZ2P3d.d.ts → routing-CHvzedJA.d.ts} +1 -1
- package/dist/{routing-8itEXLx6.js → routing-qs2YNG9o.js} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{sdk-Bk_ieIL1.d.ts → sdk-D1lxyLub.d.ts} +14 -14
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +4 -4
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +4 -4
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +4 -4
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +4 -4
- package/dist/search/types.d.ts +2 -2
- package/dist/{search-C0ZUxdnx.d.ts → search-D2KsMSvq.d.ts} +3 -3
- package/dist/{sidebar-1WB4316k.d.ts → sidebar-eox2y7Tm.d.ts} +5 -5
- package/dist/{snippets-DXl9-aaF.d.ts → snippets-BZcjtee5.d.ts} +7 -7
- package/dist/spec.d.ts +1 -1
- package/dist/spec.js +2 -2
- package/dist/{style-CuGfVeTo.js → style-BhhgPVF6.js} +0 -2
- package/dist/{style-Dku3IzwI.d.ts → style-p4qTfnmO.d.ts} +0 -2
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +149 -226
- package/dist/styles/primitives.css +35 -35
- package/dist/styles/resets.css +2 -2
- package/dist/styles/search.css +24 -24
- package/dist/styles/sidebar.css +6 -6
- package/dist/styles/variables.css +15 -76
- package/dist/styles.css +1753 -0
- package/dist/styles.mjs +1 -0
- package/dist/{types-BKUIuYYk.d.ts → types-fEIVKcbt.d.ts} +1 -1
- package/dist/{utils-DH7B95xE.d.ts → utils-C9nljE8m.d.ts} +2 -2
- package/dist/{utils-2FmcHPHp.js → utils-FnJ4tyuN.js} +2 -2
- package/dist/utils.js +2 -2
- package/package.json +8 -5
- package/dist/chunk-DsStOjWQ.js +0 -13
package/dist/styles.css
ADDED
|
@@ -0,0 +1,1753 @@
|
|
|
1
|
+
/* Resets */
|
|
2
|
+
.stldocs-root {
|
|
3
|
+
line-height: 100%;
|
|
4
|
+
letter-spacing: -0.01em;
|
|
5
|
+
|
|
6
|
+
a {
|
|
7
|
+
color: inherit;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
text-decoration: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
*,
|
|
13
|
+
*::before,
|
|
14
|
+
*::after {
|
|
15
|
+
box-sizing: border-box;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* Markdown content should get prose styling */
|
|
19
|
+
:where(h1, h2, h3, h4, h5):not(.stldocs-markdown, .stldocs-markdown *) {
|
|
20
|
+
display: block;
|
|
21
|
+
color: var(--stl-color-foreground);
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
line-height: var(--stl-typography-line-height-headings);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
display: block;
|
|
27
|
+
margin: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sl-markdown-content {
|
|
31
|
+
.stldocs-root
|
|
32
|
+
:not(a, strong, em, del, span, input, code, br)
|
|
33
|
+
+ :not(a, strong, em, del, span, input, code, br, :where(.not-content *)) {
|
|
34
|
+
margin-top: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
:root {
|
|
39
|
+
--stldocs-color-selected: var(--stl-color-muted-background);
|
|
40
|
+
--stldocs-color-bg-inline-code: var(--stl-color-muted-background);
|
|
41
|
+
|
|
42
|
+
--stldocs-content-width: 720px;
|
|
43
|
+
--stldocs-content-padding: 16px;
|
|
44
|
+
|
|
45
|
+
--stldocs-color-http-get-bg: var(--stl-color-green-muted-background);
|
|
46
|
+
--stldocs-color-http-get: var(--stl-color-green-muted-foreground);
|
|
47
|
+
--stldocs-color-http-put-bg: var(--stl-color-orange-muted-background);
|
|
48
|
+
--stldocs-color-http-put: var(--stl-color-orange-muted-foreground);
|
|
49
|
+
--stldocs-color-http-post-bg: var(--stl-color-blue-muted-background);
|
|
50
|
+
--stldocs-color-http-post: var(--stl-color-blue-muted-foreground);
|
|
51
|
+
--stldocs-color-http-delete-bg: var(--stl-color-red-muted-background);
|
|
52
|
+
--stldocs-color-http-delete: var(--stl-color-red-muted-foreground);
|
|
53
|
+
|
|
54
|
+
--stldocs-syntax-color-green: var(--stl-color-foreground-green);
|
|
55
|
+
--stldocs-syntax-color-orange: var(--stl-color-foreground-orange);
|
|
56
|
+
--stldocs-syntax-color-purple: var(--stl-color-foreground-purple);
|
|
57
|
+
--stldocs-syntax-color-blue: var(--stl-color-foreground-blue);
|
|
58
|
+
|
|
59
|
+
--stldocs-expander-margin-shift: 24px;
|
|
60
|
+
--stldocs-expander-right-margin: 8px;
|
|
61
|
+
--stldocs-title-padding-y: 2.5rem;
|
|
62
|
+
--stldocs-color-backdrop-overlay: var(--stl-color-muted-background);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* Design System Defaults */
|
|
66
|
+
.stldocs-root {
|
|
67
|
+
font-family: var(--stl-typography-font);
|
|
68
|
+
background-color: var(--stl-color-background);
|
|
69
|
+
color: var(--stl-color-foreground);
|
|
70
|
+
letter-spacing: -0.01em;
|
|
71
|
+
|
|
72
|
+
:where(h1) {
|
|
73
|
+
font-size: var(--stl-typography-text-h1);
|
|
74
|
+
letter-spacing: -0.03em;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where(h2) {
|
|
78
|
+
font-size: var(--stl-typography-text-h2);
|
|
79
|
+
letter-spacing: -0.03em;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
:where(h3) {
|
|
83
|
+
font-size: var(--stl-typography-text-h3);
|
|
84
|
+
letter-spacing: -0.02em;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:where(h4) {
|
|
88
|
+
font-size: var(--stl-typography-text-h4);
|
|
89
|
+
letter-spacing: -0.02em;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:where(h5) {
|
|
93
|
+
font-size: var(--stl-typography-text-h5);
|
|
94
|
+
letter-spacing: -0.02em;
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Color mapping for types */
|
|
99
|
+
.stldocs-root {
|
|
100
|
+
.stldocs-text-keyword {
|
|
101
|
+
color: var(--stl-color-foreground-muted);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.stldocs-property-type,
|
|
105
|
+
.stldocs-property-declaration,
|
|
106
|
+
.stldocs-type:not(.stldocs-property-typename .stldocs-type) {
|
|
107
|
+
font-family: var(--stl-typography-font-mono);
|
|
108
|
+
|
|
109
|
+
.stldocs-type-keyword {
|
|
110
|
+
color: var(--stldocs-syntax-color-orange);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.stldocs-type-string {
|
|
114
|
+
color: var(--stldocs-syntax-color-green);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.stldocs-type-brace,
|
|
118
|
+
.stldocs-type-bracket,
|
|
119
|
+
.stldocs-type-plain,
|
|
120
|
+
.stldocs-text-operator,
|
|
121
|
+
.stldocs-text-punctuation,
|
|
122
|
+
.stldocs-truncation,
|
|
123
|
+
.stldocs-type-array {
|
|
124
|
+
color: var(--stl-color-foreground-reduced);
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.stldocs-type-plain {
|
|
128
|
+
font-family: var(--stl-typography-font);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.stldocs-type-reference {
|
|
132
|
+
color: var(--stldocs-syntax-color-blue);
|
|
133
|
+
font-weight: 600;
|
|
134
|
+
a:hover {
|
|
135
|
+
text-decoration: underline;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.stldocs-literal-string {
|
|
140
|
+
color: var(--stldocs-syntax-color-green);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.stldocs-literal-numeric {
|
|
144
|
+
color: var(--stldocs-syntax-color-orange);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.stldocs-text-identifier {
|
|
148
|
+
font-family: var(--stl-typography-font-mono);
|
|
149
|
+
color: var(--stl-color-foreground);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.stldocs-type-propertyname .stldocs-text-identifier {
|
|
153
|
+
font-family: var(--stl-typography-font);
|
|
154
|
+
font-weight: 600;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
[data-stldocs-language='http'] {
|
|
159
|
+
.stldocs-property-type,
|
|
160
|
+
.stldocs-property-declaration {
|
|
161
|
+
.stldocs-truncation,
|
|
162
|
+
.stldocs-type-array,
|
|
163
|
+
.stldocs-text-punctuation {
|
|
164
|
+
font-family: var(--stl-typography-font);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* HTTP Method Color Settings */
|
|
171
|
+
.stldocs-root .stldocs-method-route,
|
|
172
|
+
.stldocs-root .stldocs-sidebar-method {
|
|
173
|
+
[data-method='get'] {
|
|
174
|
+
background: var(--stldocs-color-http-get-bg);
|
|
175
|
+
color: var(--stldocs-color-http-get);
|
|
176
|
+
border-color: var(--stldocs-color-http-get);
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
[data-method='post'] {
|
|
180
|
+
background: var(--stldocs-color-http-post-bg);
|
|
181
|
+
color: var(--stldocs-color-http-post);
|
|
182
|
+
border-color: var(--stldocs-color-http-post);
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
[data-method='patch'],
|
|
186
|
+
[data-method='put'] {
|
|
187
|
+
background: var(--stldocs-color-http-put-bg);
|
|
188
|
+
color: var(--stldocs-color-http-put);
|
|
189
|
+
border-color: var(--stldocs-color-http-put);
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
[data-method='delete'] {
|
|
193
|
+
background: var(--stldocs-color-http-delete-bg);
|
|
194
|
+
color: var(--stldocs-color-http-delete);
|
|
195
|
+
border-color: var(--stldocs-color-http-delete);
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* Generic expand/collapse button */
|
|
200
|
+
.stldocs-root .stldocs-expander {
|
|
201
|
+
&[data-stldocs-expander-muted='true'] {
|
|
202
|
+
.stldocs-icon {
|
|
203
|
+
visibility: hidden;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&:hover {
|
|
207
|
+
.stldocs-icon {
|
|
208
|
+
visibility: visible;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.stldocs-expander-summary {
|
|
214
|
+
cursor: pointer;
|
|
215
|
+
display: flex;
|
|
216
|
+
/* padding: 0.4rem 0; */
|
|
217
|
+
|
|
218
|
+
& > .stldocs-expander-summary-icon {
|
|
219
|
+
margin-right: 8px;
|
|
220
|
+
transform: translateX(-0.5px) translateY(-0.5px);
|
|
221
|
+
|
|
222
|
+
& > .stldocs-icon {
|
|
223
|
+
vertical-align: middle;
|
|
224
|
+
color: var(--stl-color-foreground-muted);
|
|
225
|
+
background-color: var(--stl-color-background);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
& > :last-child {
|
|
229
|
+
display: none;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
&[open],
|
|
235
|
+
&[data-open='true'] {
|
|
236
|
+
& > .stldocs-expander-summary {
|
|
237
|
+
.stldocs-type-preview-content {
|
|
238
|
+
display: none;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
& > .stldocs-expander-summary-icon {
|
|
242
|
+
& > :first-child {
|
|
243
|
+
display: none;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
& > :last-child {
|
|
247
|
+
display: inline;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
& > .stldocs-expander-content {
|
|
253
|
+
margin-left: var(--stldocs-expander-margin-shift);
|
|
254
|
+
line-height: 150%;
|
|
255
|
+
|
|
256
|
+
& > .stldocs-property-children {
|
|
257
|
+
border-left: 1px solid var(--stl-color-border);
|
|
258
|
+
padding-left: 16px;
|
|
259
|
+
|
|
260
|
+
.stldocs-expander {
|
|
261
|
+
margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
|
|
262
|
+
padding-right: var(--stldocs-expander-right-margin);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
/* Markdown content */
|
|
270
|
+
.stldocs-root .stldocs-content {
|
|
271
|
+
a {
|
|
272
|
+
color: var(--stl-color-foreground-accent);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
code:not(pre code) {
|
|
276
|
+
font-family: var(--stl-typography-font-mono);
|
|
277
|
+
border-radius: 4px;
|
|
278
|
+
padding: 0 4px;
|
|
279
|
+
background-color: var(--stldocs-color-bg-inline-code);
|
|
280
|
+
word-break: break-all;
|
|
281
|
+
font-size: 0.84rem;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
strong {
|
|
285
|
+
font-weight: bold;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
em {
|
|
289
|
+
font-style: italic;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
p {
|
|
293
|
+
display: block;
|
|
294
|
+
margin: 0 0 1em;
|
|
295
|
+
|
|
296
|
+
&:last-child {
|
|
297
|
+
margin: 0;
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
li {
|
|
302
|
+
margin-bottom: 0.25rem;
|
|
303
|
+
display: list-item;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
ol,
|
|
307
|
+
ul {
|
|
308
|
+
display: block;
|
|
309
|
+
list-style-type: initial;
|
|
310
|
+
margin-left: 2rem;
|
|
311
|
+
margin-bottom: 0.8rem;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
ol {
|
|
315
|
+
list-style-type: decimal;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.stldocs-root .stldocs-input {
|
|
320
|
+
border: 1px solid var(--stl-color-border);
|
|
321
|
+
border-radius: 0.3rem;
|
|
322
|
+
padding: 0.5rem;
|
|
323
|
+
display: flex;
|
|
324
|
+
gap: 0.5rem;
|
|
325
|
+
|
|
326
|
+
input {
|
|
327
|
+
flex-grow: 1;
|
|
328
|
+
border: none;
|
|
329
|
+
background-color: transparent;
|
|
330
|
+
|
|
331
|
+
&:focus {
|
|
332
|
+
outline: none;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.stldocs-icon {
|
|
337
|
+
margin-top: auto;
|
|
338
|
+
margin-bottom: auto;
|
|
339
|
+
}
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
.stldocs-root .stldocs-listview {
|
|
343
|
+
overflow-y: scroll;
|
|
344
|
+
|
|
345
|
+
.stldocs-listview-item:not(:last-child) {
|
|
346
|
+
border-bottom: 1px solid var(--stl-color-border);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
[data-stldocs-listview-selected='true'] > :first-child {
|
|
350
|
+
background-color: var(--stldocs-color-selected);
|
|
351
|
+
border-radius: 0.5rem;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
.stldocs-root {
|
|
356
|
+
.stldocs-tooltip-host {
|
|
357
|
+
display: inline-block;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.stldocs-tooltip-content {
|
|
361
|
+
border: 1px solid var(--stl-color-border);
|
|
362
|
+
background: var(--stl-color-background);
|
|
363
|
+
border-radius: 8px;
|
|
364
|
+
padding: 0.2rem 0.4rem;
|
|
365
|
+
|
|
366
|
+
* {
|
|
367
|
+
font-size: 0.8rem !important;
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
position: absolute;
|
|
371
|
+
|
|
372
|
+
transition:
|
|
373
|
+
opacity 0.3s ease-in-out,
|
|
374
|
+
visibility 0.3s step-end 0.3s;
|
|
375
|
+
visibility: hidden;
|
|
376
|
+
opacity: 0;
|
|
377
|
+
|
|
378
|
+
max-width: 400px;
|
|
379
|
+
max-height: 300px;
|
|
380
|
+
overflow: auto;
|
|
381
|
+
|
|
382
|
+
.stldocs-property-description {
|
|
383
|
+
display: none;
|
|
384
|
+
}
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.stldocs-tooltip:hover .stldocs-tooltip-content {
|
|
388
|
+
transition-delay: 0s, 0s;
|
|
389
|
+
visibility: visible;
|
|
390
|
+
opacity: 1;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.stldocs-root {
|
|
395
|
+
.stldocs-breadcrumbs {
|
|
396
|
+
display: flex;
|
|
397
|
+
align-items: center;
|
|
398
|
+
gap: 0.5rem;
|
|
399
|
+
|
|
400
|
+
svg {
|
|
401
|
+
width: 1rem;
|
|
402
|
+
min-width: 1rem;
|
|
403
|
+
stroke: var(--stl-color-foreground-reduced);
|
|
404
|
+
opacity: 0.25;
|
|
405
|
+
margin: 0;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.stldocs-breadcrumbs-non-link,
|
|
409
|
+
.stldocs-breadcrumbs-link {
|
|
410
|
+
color: var(--stl-color-foreground-reduced);
|
|
411
|
+
font-size: var(--stl-typography-scale-sm);
|
|
412
|
+
line-height: 150%;
|
|
413
|
+
text-decoration: none;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.stldocs-breadcrumbs-link:hover {
|
|
417
|
+
text-decoration: underline;
|
|
418
|
+
color: var(--stl-color-foreground);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.stldocs-breadcrumbs-item {
|
|
422
|
+
display: flex;
|
|
423
|
+
align-items: center;
|
|
424
|
+
gap: 0.5rem;
|
|
425
|
+
margin: 0;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.stldocs-root .stldocs-expand-toggle {
|
|
431
|
+
font-size: var(--stl-typography-scale-sm);
|
|
432
|
+
display: flex;
|
|
433
|
+
flex-grow: 1;
|
|
434
|
+
justify-content: flex-end;
|
|
435
|
+
user-select: none;
|
|
436
|
+
|
|
437
|
+
&[data-stldocs-property-toggle-expanded='false'] {
|
|
438
|
+
.stldocs-expand-toggle-content:last-child {
|
|
439
|
+
display: none;
|
|
440
|
+
}
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
&[data-stldocs-property-toggle-expanded='true'] {
|
|
444
|
+
.stldocs-expand-toggle-content:first-child {
|
|
445
|
+
display: none;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.stldocs-expand-toggle-content {
|
|
450
|
+
cursor: pointer;
|
|
451
|
+
|
|
452
|
+
.stldocs-icon {
|
|
453
|
+
vertical-align: middle;
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
/* Overview page content */
|
|
459
|
+
.stldocs-root .stldocs-overview {
|
|
460
|
+
.stldocs-overview-header {
|
|
461
|
+
padding: var(--stldocs-title-padding-y) 0;
|
|
462
|
+
|
|
463
|
+
& > * {
|
|
464
|
+
max-width: var(--stldocs-content-width);
|
|
465
|
+
margin: auto 0;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
.stldocs-overview-header-info {
|
|
469
|
+
margin-top: 16px;
|
|
470
|
+
height: 40px;
|
|
471
|
+
display: flex;
|
|
472
|
+
align-items: center;
|
|
473
|
+
|
|
474
|
+
.stldocs-overview-header-info-timestamp {
|
|
475
|
+
font-size: var(--stl-typography-scale-xs);
|
|
476
|
+
color: var(--stl-color-foreground);
|
|
477
|
+
opacity: 50%;
|
|
478
|
+
}
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
.stldocs-resource {
|
|
483
|
+
padding: 2rem 0;
|
|
484
|
+
|
|
485
|
+
.stldocs-resource-content {
|
|
486
|
+
max-width: var(--stldocs-content-width);
|
|
487
|
+
margin: auto 0;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.stldocs-resource-header {
|
|
491
|
+
display: flex;
|
|
492
|
+
flex-direction: column;
|
|
493
|
+
gap: 16px;
|
|
494
|
+
opacity: 85%;
|
|
495
|
+
|
|
496
|
+
.stldocs-resource-title {
|
|
497
|
+
.stldocs-icon {
|
|
498
|
+
margin-left: 8px;
|
|
499
|
+
color: var(--stl-color-foreground-muted);
|
|
500
|
+
vertical-align: middle;
|
|
501
|
+
display: inline;
|
|
502
|
+
height: 1rem;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.stldocs-resource-title-segment {
|
|
506
|
+
margin-right: 8px;
|
|
507
|
+
color: var(--stl-color-foreground);
|
|
508
|
+
|
|
509
|
+
&:not(:last-child) {
|
|
510
|
+
color: var(--stl-color-foreground-reduced);
|
|
511
|
+
font-weight: 400;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
.stldocs-resource-name {
|
|
517
|
+
font-family: var(--stl-typography-font-mono);
|
|
518
|
+
color: var(--stl-color-foreground);
|
|
519
|
+
}
|
|
520
|
+
|
|
521
|
+
.stldocs-resource-description {
|
|
522
|
+
font-size: var(--stl-typography-scale-base);
|
|
523
|
+
color: var(--stl-color-foreground-reduced);
|
|
524
|
+
line-height: 150%;
|
|
525
|
+
}
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.stldocs-resource-content {
|
|
529
|
+
.stldocs-resource-content-group {
|
|
530
|
+
display: flex;
|
|
531
|
+
flex-direction: column;
|
|
532
|
+
|
|
533
|
+
.stldocs-resource-content-group-model-title {
|
|
534
|
+
padding-top: var(--stldocs-content-padding);
|
|
535
|
+
color: var(--stl-color-foreground-muted);
|
|
536
|
+
font-weight: normal;
|
|
537
|
+
font-size: 1rem;
|
|
538
|
+
padding-bottom: 0.5rem;
|
|
539
|
+
display: flex;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.stldocs-resource-content-group-name {
|
|
543
|
+
color: var(--stl-color-foreground-muted);
|
|
544
|
+
}
|
|
545
|
+
|
|
546
|
+
.stldocs-resource-content-properties {
|
|
547
|
+
margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
}
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
> .stldocs-resource:nth-child(2) {
|
|
554
|
+
padding-top: 0;
|
|
555
|
+
}
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
/* Overview page method summary */
|
|
559
|
+
.stldocs-root .stldocs-overview .stldocs-method-summary {
|
|
560
|
+
padding: var(--stldocs-content-padding) 0;
|
|
561
|
+
|
|
562
|
+
.stldocs-method-header {
|
|
563
|
+
display: flex;
|
|
564
|
+
flex-direction: column;
|
|
565
|
+
gap: 4px;
|
|
566
|
+
|
|
567
|
+
.stldocs-method-title {
|
|
568
|
+
margin-bottom: 2px;
|
|
569
|
+
|
|
570
|
+
a:hover {
|
|
571
|
+
text-decoration: underline;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
.stldocs-method-route {
|
|
576
|
+
padding-top: 4px;
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
.stldocs-method-signature {
|
|
581
|
+
max-width: var(--stldocs-content-width);
|
|
582
|
+
overflow: hidden;
|
|
583
|
+
text-overflow: ellipsis;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.stldocs-method-description {
|
|
587
|
+
color: var(--stl-color-foreground-muted);
|
|
588
|
+
height: 1.7rem;
|
|
589
|
+
overflow-y: hidden;
|
|
590
|
+
line-height: 1.7rem;
|
|
591
|
+
padding-bottom: var(--stldocs-content-padding);
|
|
592
|
+
|
|
593
|
+
.stldocs-content > * {
|
|
594
|
+
white-space: nowrap;
|
|
595
|
+
overflow-x: hidden;
|
|
596
|
+
text-overflow: ellipsis;
|
|
597
|
+
}
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
601
|
+
/* Method route rendering is shared between method previews and pages */
|
|
602
|
+
.stldocs-root .stldocs-method-header .stldocs-method-route {
|
|
603
|
+
display: flex;
|
|
604
|
+
gap: 4px;
|
|
605
|
+
padding: 0;
|
|
606
|
+
|
|
607
|
+
.stldocs-method-route-endpoint {
|
|
608
|
+
font-family: var(--stl-typography-font-mono);
|
|
609
|
+
font-size: var(--stl-typography-scale-sm);
|
|
610
|
+
color: var(--stl-color-foreground-reduced);
|
|
611
|
+
align-content: center;
|
|
612
|
+
line-height: 120%;
|
|
613
|
+
overflow: hidden;
|
|
614
|
+
text-overflow: ellipsis;
|
|
615
|
+
white-space: nowrap;
|
|
616
|
+
}
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.stldocs-root {
|
|
620
|
+
.stldocs-method-route-httpmethod {
|
|
621
|
+
display: flex;
|
|
622
|
+
gap: 4px;
|
|
623
|
+
padding: 4px 8px 4px 4px;
|
|
624
|
+
text-transform: uppercase;
|
|
625
|
+
border-radius: 4px;
|
|
626
|
+
font-size: var(--stl-typography-scale-xs);
|
|
627
|
+
line-height: 100%;
|
|
628
|
+
align-content: center;
|
|
629
|
+
font-weight: 600;
|
|
630
|
+
align-items: center;
|
|
631
|
+
justify-content: center;
|
|
632
|
+
|
|
633
|
+
.stldocs-icon {
|
|
634
|
+
max-width: unset;
|
|
635
|
+
stroke-width: 3px;
|
|
636
|
+
}
|
|
637
|
+
|
|
638
|
+
&.stldocs-method-route-httpmethod-icon-only {
|
|
639
|
+
padding: 4px;
|
|
640
|
+
}
|
|
641
|
+
}
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
/* Models and properties */
|
|
645
|
+
.stldocs-root .stldocs-property,
|
|
646
|
+
.stldocs-root .stldocs-model {
|
|
647
|
+
display: flex;
|
|
648
|
+
flex-direction: column;
|
|
649
|
+
gap: 0.8rem;
|
|
650
|
+
padding: 0.5rem 0;
|
|
651
|
+
font-size: var(--stl-typography-scale-sm);
|
|
652
|
+
|
|
653
|
+
.stldocs-expander-summary-content {
|
|
654
|
+
width: 100%;
|
|
655
|
+
}
|
|
656
|
+
|
|
657
|
+
.stldocs-property-header {
|
|
658
|
+
align-items: first baseline;
|
|
659
|
+
display: flex;
|
|
660
|
+
gap: 0.5rem;
|
|
661
|
+
flex-wrap: wrap;
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
.stldocs-property-info {
|
|
665
|
+
display: flex;
|
|
666
|
+
flex-direction: column;
|
|
667
|
+
|
|
668
|
+
& > .stldocs-property-type > .stldocs-text-identifier {
|
|
669
|
+
color: var(--stl-color-foreground);
|
|
670
|
+
}
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.stldocs-property-type {
|
|
674
|
+
font-family: var(--stl-typography-font-mono);
|
|
675
|
+
color: var(--stl-color-foreground-muted);
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
.stldocs-property-type,
|
|
679
|
+
.stldocs-property-declaration {
|
|
680
|
+
.stldocs-type-preview[data-stldocs-type-preview='union']
|
|
681
|
+
.stldocs-type-preview[data-stldocs-type-preview='properties'] {
|
|
682
|
+
display: none;
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.stldocs-property-deprecated {
|
|
687
|
+
font-family: var(--stl-typography-font);
|
|
688
|
+
color: var(--stl-color-foreground-red);
|
|
689
|
+
font-size: var(--stl-typography-scale-sm);
|
|
690
|
+
font-weight: 600;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.stldocs-property-deprecated-message {
|
|
694
|
+
color: var(--stl-color-foreground-red);
|
|
695
|
+
font-size: var(--stl-typography-scale-sm);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.stldocs-property-declaration {
|
|
699
|
+
white-space: nowrap;
|
|
700
|
+
overflow: hidden;
|
|
701
|
+
text-overflow: ellipsis;
|
|
702
|
+
flex: 1;
|
|
703
|
+
min-width: 0;
|
|
704
|
+
|
|
705
|
+
.stldocs-property-deprecated {
|
|
706
|
+
margin-right: 0.44rem;
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.stldocs-property-description {
|
|
711
|
+
font-size: var(--stl-typography-scale-sm);
|
|
712
|
+
color: var(--stl-color-foreground-reduced);
|
|
713
|
+
|
|
714
|
+
.stldocs-content {
|
|
715
|
+
color: inherit;
|
|
716
|
+
font-size: inherit;
|
|
717
|
+
}
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.stldocs-property-name {
|
|
721
|
+
font-family: var(--stl-typography-font-mono);
|
|
722
|
+
color: var(--stl-color-foreground);
|
|
723
|
+
font-weight: 700;
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
.stldocs-property-annotation {
|
|
727
|
+
color: var(--stl-color-foreground-reduced);
|
|
728
|
+
}
|
|
729
|
+
|
|
730
|
+
.stldocs-property-typename {
|
|
731
|
+
font-size: var(--stl-typography-scale-xs);
|
|
732
|
+
color: var(--stl-color-foreground-muted);
|
|
733
|
+
line-height: 175%;
|
|
734
|
+
|
|
735
|
+
.stldocs-type-reference {
|
|
736
|
+
font-size: 0.8rem;
|
|
737
|
+
color: var(--stldocs-syntax-color-blue);
|
|
738
|
+
font-weight: 600;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
.stldocs-property-type {
|
|
743
|
+
.stldocs-truncation {
|
|
744
|
+
margin-right: 0.2rem;
|
|
745
|
+
white-space: nowrap;
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
.stldocs-property-badges {
|
|
750
|
+
display: flex;
|
|
751
|
+
font-size: 0.85rem;
|
|
752
|
+
gap: 0.5rem;
|
|
753
|
+
text-transform: lowercase;
|
|
754
|
+
line-height: 1.5rem;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.stldocs-property-constraints {
|
|
758
|
+
display: flex;
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
.stldocs-property-constraint {
|
|
762
|
+
color: var(--stl-color-foreground-reduced);
|
|
763
|
+
|
|
764
|
+
&:not(:last-child) {
|
|
765
|
+
&::after {
|
|
766
|
+
content: ', ';
|
|
767
|
+
margin-right: 0.4rem;
|
|
768
|
+
color: var(--stl-color-foreground-reduced);
|
|
769
|
+
}
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.stldocs-property-constraint-name {
|
|
773
|
+
color: var(--stl-color-foreground-reduced);
|
|
774
|
+
|
|
775
|
+
&::after {
|
|
776
|
+
content: ':';
|
|
777
|
+
margin-right: 0.4rem;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
.stldocs-property-constraint-value {
|
|
782
|
+
background-color: var(--stldocs-color-bg-inline-code);
|
|
783
|
+
color: var(--stl-color-foreground-reduced);
|
|
784
|
+
font-family: var(--stl-typography-font-mono);
|
|
785
|
+
border-radius: 4px;
|
|
786
|
+
padding: 3px 4px;
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
.stldocs-property-type:not(:first-child) {
|
|
791
|
+
font-size: 0.8rem;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
.stldocs-property .stldocs-property-type {
|
|
795
|
+
font-size: 0.8rem;
|
|
796
|
+
}
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.stldocs-root {
|
|
800
|
+
.stldocs-properties {
|
|
801
|
+
display: flex;
|
|
802
|
+
flex-direction: column;
|
|
803
|
+
line-height: 150%;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.stldocs-root .stldocs-property {
|
|
808
|
+
padding: 0.2rem 0;
|
|
809
|
+
|
|
810
|
+
[open] > .stldocs-expander-summary {
|
|
811
|
+
padding-bottom: 0;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.stldocs-root .stldocs-property:not(.stldocs-property .stldocs-property) > .stldocs-property-info {
|
|
816
|
+
margin-left: var(--stldocs-expander-margin-shift);
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
.stldocs-root .stldocs-tooltip-content .stldocs-property {
|
|
820
|
+
gap: 0.1rem;
|
|
821
|
+
padding: 0.1rem !important;
|
|
822
|
+
border: 0;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.stldocs-root .stldocs-badge {
|
|
826
|
+
display: inline-block;
|
|
827
|
+
background-color: var(--stl-color-muted-background);
|
|
828
|
+
padding: 0 0.5rem;
|
|
829
|
+
border-radius: 4px;
|
|
830
|
+
font-size: var(--stl-typography-scale-xs);
|
|
831
|
+
font-weight: 500;
|
|
832
|
+
|
|
833
|
+
&[data-badge-id='deprecated'] {
|
|
834
|
+
background-color: var(--stl-color-red-muted-background);
|
|
835
|
+
color: var(--stl-color-red-muted-foreground);
|
|
836
|
+
text-transform: capitalize;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
&[data-badge-id='optional'] {
|
|
840
|
+
background-color: var(--stl-color-muted-background);
|
|
841
|
+
text-transform: capitalize;
|
|
842
|
+
}
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
/* Method Pages */
|
|
846
|
+
|
|
847
|
+
.stldocs-root .stldocs-method-signature {
|
|
848
|
+
font-family: var(--stl-typography-font-mono);
|
|
849
|
+
font-size: var(--stl-typography-scale-sm);
|
|
850
|
+
color: var(--stl-color-foreground-muted);
|
|
851
|
+
white-space: pre-wrap;
|
|
852
|
+
word-wrap: break-word;
|
|
853
|
+
font-weight: 400;
|
|
854
|
+
line-height: 1.5rem;
|
|
855
|
+
|
|
856
|
+
.stldocs-signature-qualified {
|
|
857
|
+
color: var(--stl-color-foreground-reduced);
|
|
858
|
+
font-weight: 400;
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.stldocs-signature-name {
|
|
862
|
+
color: var(--stl-color-foreground);
|
|
863
|
+
font-weight: 600;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
.stldoc-signature-params {
|
|
867
|
+
.stldocs-text-identifier {
|
|
868
|
+
color: var(--stl-color-foreground);
|
|
869
|
+
}
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
.stldocs-type {
|
|
873
|
+
color: var(--stl-color-foreground);
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
.stldocs-type-preview[data-stldocs-type-preview='properties'] {
|
|
877
|
+
display: none;
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
.stldocs-method-badges {
|
|
881
|
+
margin-top: 1rem;
|
|
882
|
+
}
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.stldocs-root .stldocs-method {
|
|
886
|
+
.stldocs-method-content-column {
|
|
887
|
+
display: contents;
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
.stldocs-method-header {
|
|
891
|
+
padding: var(--stldocs-title-padding-y) var(--stldocs-content-padding) var(--stldocs-content-padding);
|
|
892
|
+
|
|
893
|
+
.stldocs-method-title {
|
|
894
|
+
font-size: var(--stl-typography-text-h1);
|
|
895
|
+
letter-spacing: -0.03em;
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
.stldocs-method-signature {
|
|
899
|
+
margin-top: 0.75rem;
|
|
900
|
+
}
|
|
901
|
+
|
|
902
|
+
.stldocs-method-route {
|
|
903
|
+
padding-top: 12px;
|
|
904
|
+
}
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.stldocs-method-description {
|
|
908
|
+
grid-area: 1 / 1 / 2 / 2;
|
|
909
|
+
padding-bottom: var(--stldocs-content-padding);
|
|
910
|
+
|
|
911
|
+
code {
|
|
912
|
+
line-height: 150%;
|
|
913
|
+
font-size: 0.93rem;
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.stldocs-method-example {
|
|
918
|
+
margin-top: 1rem;
|
|
919
|
+
grid-area: 2 / 1 / 3 / 2;
|
|
920
|
+
|
|
921
|
+
.stldocs-snippet-multi-response {
|
|
922
|
+
display: none;
|
|
923
|
+
}
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
.stldocs-snippet-multi-response {
|
|
927
|
+
border: 1px solid var(--stl-color-border);
|
|
928
|
+
border-radius: 12px;
|
|
929
|
+
|
|
930
|
+
.stldocs-snippet {
|
|
931
|
+
background-color: transparent;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.stldocs-snippet-code .shiki {
|
|
935
|
+
padding: 0.5rem;
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
|
|
939
|
+
.stldocs-method-info {
|
|
940
|
+
padding: var(--stldocs-content-padding) 0;
|
|
941
|
+
grid-area: 3 / 1 / 4 / 2;
|
|
942
|
+
display: flex;
|
|
943
|
+
gap: 2rem;
|
|
944
|
+
flex-direction: column;
|
|
945
|
+
margin-top: 2.5rem;
|
|
946
|
+
font-size: var(--stl-typography-scale-sm);
|
|
947
|
+
|
|
948
|
+
h5 {
|
|
949
|
+
display: flex;
|
|
950
|
+
}
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.stldocs-method-info-section {
|
|
954
|
+
display: flex;
|
|
955
|
+
gap: 0.5rem;
|
|
956
|
+
flex-direction: column;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
.stldocs-method-content-column {
|
|
960
|
+
display: contents;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
.stldocs-method-body {
|
|
964
|
+
display: grid;
|
|
965
|
+
gap: 2rem;
|
|
966
|
+
grid-template-columns: minmax(0, 1fr);
|
|
967
|
+
grid-template-rows: repeat(4, auto);
|
|
968
|
+
padding: var(--stldocs-content-padding) 0;
|
|
969
|
+
|
|
970
|
+
.stldocs-method-description p {
|
|
971
|
+
color: var(--stl-color-foreground-reduced);
|
|
972
|
+
line-height: 150%;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
h5 {
|
|
976
|
+
font-weight: 400;
|
|
977
|
+
color: var(--stl-color-foreground-muted);
|
|
978
|
+
font-size: var(--stl-typography-scale-base);
|
|
979
|
+
}
|
|
980
|
+
|
|
981
|
+
.stldocs-method-parameters,
|
|
982
|
+
.stldocs-method-parameters,
|
|
983
|
+
.stldocs-method-returns {
|
|
984
|
+
margin-left: calc(-1 * var(--stldocs-expander-margin-shift));
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.stldocs-method-parameters {
|
|
988
|
+
display: flex;
|
|
989
|
+
flex-direction: column;
|
|
990
|
+
gap: 0.5rem;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.stldocs-method-parameters h5 {
|
|
994
|
+
margin-left: var(--stldocs-expander-margin-shift);
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
.stldocs-snippet {
|
|
999
|
+
top: calc(var(--sl-nav-height) + 1rem);
|
|
1000
|
+
position: sticky;
|
|
1001
|
+
z-index: 10;
|
|
1002
|
+
border-radius: 16px;
|
|
1003
|
+
background-color: transparent;
|
|
1004
|
+
padding: 0;
|
|
1005
|
+
font-size: var(--stl-typography-scale-sm);
|
|
1006
|
+
font-family: var(--stl-typography-font-mono);
|
|
1007
|
+
|
|
1008
|
+
.stldocs-snippet-request {
|
|
1009
|
+
border: 1px solid var(--stl-color-border);
|
|
1010
|
+
border-radius: 12px;
|
|
1011
|
+
position: relative;
|
|
1012
|
+
|
|
1013
|
+
.stldocs-snippet-code {
|
|
1014
|
+
border-bottom-left-radius: 12px;
|
|
1015
|
+
border-bottom-right-radius: 12px;
|
|
1016
|
+
}
|
|
1017
|
+
}
|
|
1018
|
+
|
|
1019
|
+
.stldocs-snippet-request-title {
|
|
1020
|
+
display: flex;
|
|
1021
|
+
justify-content: space-between;
|
|
1022
|
+
background-color: var(--stl-color-background);
|
|
1023
|
+
color: var(--stl-color-foreground-reduced);
|
|
1024
|
+
border-bottom: 1px solid var(--stl-color-border);
|
|
1025
|
+
border-top-right-radius: 12px;
|
|
1026
|
+
border-top-left-radius: 12px;
|
|
1027
|
+
padding: 0.5rem;
|
|
1028
|
+
padding-left: 1rem;
|
|
1029
|
+
gap: 0.5rem;
|
|
1030
|
+
|
|
1031
|
+
.stldocs-snippet-request-title-method {
|
|
1032
|
+
flex-grow: 1;
|
|
1033
|
+
min-width: 0;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
> div {
|
|
1037
|
+
display: flex;
|
|
1038
|
+
gap: 0.5rem;
|
|
1039
|
+
align-items: center;
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
h5 {
|
|
1043
|
+
font-weight: 500;
|
|
1044
|
+
font-style: normal;
|
|
1045
|
+
line-height: 100%;
|
|
1046
|
+
font-size: inherit;
|
|
1047
|
+
font-family: var(--stl-typography-font);
|
|
1048
|
+
color: var(--stl-color-foreground);
|
|
1049
|
+
margin: 0;
|
|
1050
|
+
|
|
1051
|
+
overflow: hidden;
|
|
1052
|
+
white-space: nowrap;
|
|
1053
|
+
text-overflow: ellipsis;
|
|
1054
|
+
}
|
|
1055
|
+
|
|
1056
|
+
@media (min-width: 1280px) {
|
|
1057
|
+
.stldocs-snippet-request-title-label {
|
|
1058
|
+
display: none;
|
|
1059
|
+
}
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
.stldocs-icon {
|
|
1063
|
+
width: 16px;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.stldocs-snippet-request-title-content {
|
|
1067
|
+
font-family: var(--stl-typography-font);
|
|
1068
|
+
display: flex;
|
|
1069
|
+
gap: 0.5rem;
|
|
1070
|
+
|
|
1071
|
+
.stldocs-snippet-request-title-language {
|
|
1072
|
+
position: relative;
|
|
1073
|
+
color: var(--stl-color-foreground);
|
|
1074
|
+
cursor: pointer;
|
|
1075
|
+
display: flex;
|
|
1076
|
+
align-items: center;
|
|
1077
|
+
gap: 4px;
|
|
1078
|
+
|
|
1079
|
+
select {
|
|
1080
|
+
z-index: 5;
|
|
1081
|
+
padding-right: 25px;
|
|
1082
|
+
display: flex;
|
|
1083
|
+
align-items: center;
|
|
1084
|
+
}
|
|
1085
|
+
}
|
|
1086
|
+
}
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
.stldocs-snippet-response-pane {
|
|
1090
|
+
padding: 0.5rem;
|
|
1091
|
+
display: none;
|
|
1092
|
+
--shiki-background: var(--stl-color-faint-background);
|
|
1093
|
+
|
|
1094
|
+
&.stldocs-snippet-response-pane-active {
|
|
1095
|
+
display: block;
|
|
1096
|
+
}
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.stldocs-snippet-response {
|
|
1100
|
+
margin-top: 1rem;
|
|
1101
|
+
}
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
.stldocs-method-response-column {
|
|
1105
|
+
display: flex;
|
|
1106
|
+
flex-direction: column;
|
|
1107
|
+
gap: 1rem;
|
|
1108
|
+
margin-top: 2.5rem;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
.stldocs-snippet-code {
|
|
1112
|
+
width: 0;
|
|
1113
|
+
min-width: 100%;
|
|
1114
|
+
overflow: auto;
|
|
1115
|
+
display: block;
|
|
1116
|
+
white-space: preserve nowrap;
|
|
1117
|
+
padding: 1rem;
|
|
1118
|
+
max-height: 560px;
|
|
1119
|
+
line-height: 1.75;
|
|
1120
|
+
transition: height 240ms ease;
|
|
1121
|
+
will-change: height;
|
|
1122
|
+
|
|
1123
|
+
.shiki {
|
|
1124
|
+
padding: 1rem;
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
pre.shiki {
|
|
1128
|
+
counter-reset: codeblock-line;
|
|
1129
|
+
|
|
1130
|
+
.line {
|
|
1131
|
+
counter-increment: codeblock-line;
|
|
1132
|
+
|
|
1133
|
+
&::before {
|
|
1134
|
+
content: counter(codeblock-line);
|
|
1135
|
+
color: var(--stl-color-foreground-muted);
|
|
1136
|
+
margin-right: 1rem;
|
|
1137
|
+
opacity: 0.5;
|
|
1138
|
+
display: inline-flex;
|
|
1139
|
+
width: 1rem;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
&.ellipsis {
|
|
1143
|
+
color: var(--stl-color-foreground-muted) !important;
|
|
1144
|
+
opacity: 0.5;
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
|
|
1150
|
+
.stldocs-snippet-response-tab {
|
|
1151
|
+
display: flex;
|
|
1152
|
+
gap: 0.5rem;
|
|
1153
|
+
overflow-x: auto;
|
|
1154
|
+
|
|
1155
|
+
.stldocs-snippet-response-tab-item {
|
|
1156
|
+
flex: 1;
|
|
1157
|
+
border-bottom: 2px solid transparent;
|
|
1158
|
+
min-width: 160px;
|
|
1159
|
+
height: 40px;
|
|
1160
|
+
|
|
1161
|
+
button {
|
|
1162
|
+
width: 100%;
|
|
1163
|
+
white-space: nowrap;
|
|
1164
|
+
overflow: hidden;
|
|
1165
|
+
text-overflow: ellipsis;
|
|
1166
|
+
vertical-align: middle;
|
|
1167
|
+
color: var(--stl-color-foreground-reduced);
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
button:hover {
|
|
1171
|
+
background-color: var(--stl-color-background-hover);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
.stldocs-snippet-response-tab-item-active {
|
|
1176
|
+
border-color: var(--stl-color-accent-background);
|
|
1177
|
+
|
|
1178
|
+
button {
|
|
1179
|
+
color: var(--stl-color-foreground);
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
&.stldocs-snippet-response-tab-single-return {
|
|
1184
|
+
background-color: var(--stl-color-faint-background);
|
|
1185
|
+
border-top-left-radius: 12px;
|
|
1186
|
+
border-top-right-radius: 12px;
|
|
1187
|
+
|
|
1188
|
+
.stldocs-snippet-response-tab-item {
|
|
1189
|
+
border: none;
|
|
1190
|
+
color: var(--stl-color-foreground-reduced);
|
|
1191
|
+
font-weight: 400;
|
|
1192
|
+
display: flex;
|
|
1193
|
+
|
|
1194
|
+
button {
|
|
1195
|
+
justify-content: flex-start;
|
|
1196
|
+
cursor: default;
|
|
1197
|
+
height: auto;
|
|
1198
|
+
|
|
1199
|
+
&:hover {
|
|
1200
|
+
background-color: transparent;
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
}
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.stldocs-markdown {
|
|
1208
|
+
:first-child {
|
|
1209
|
+
margin-top: 0;
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.stldocs-root .stldocs-language-block {
|
|
1215
|
+
background-color: var(--stl-color-background);
|
|
1216
|
+
border: 1px solid var(--stl-color-border);
|
|
1217
|
+
border-radius: 8px;
|
|
1218
|
+
padding: 16px;
|
|
1219
|
+
display: flex;
|
|
1220
|
+
flex-direction: column;
|
|
1221
|
+
gap: 8px;
|
|
1222
|
+
|
|
1223
|
+
.stldocs-language-block-content {
|
|
1224
|
+
display: flex;
|
|
1225
|
+
gap: 12px;
|
|
1226
|
+
|
|
1227
|
+
.stldocs-language-block-content-icon {
|
|
1228
|
+
display: inline-flex;
|
|
1229
|
+
border: 1px solid var(--stl-color-border);
|
|
1230
|
+
border-radius: 4px;
|
|
1231
|
+
padding: 12px;
|
|
1232
|
+
aspect-ratio: 1 / 1;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.stldocs-language-block-content-info {
|
|
1236
|
+
.stldocs-language-block-content-info-language {
|
|
1237
|
+
line-height: 120%;
|
|
1238
|
+
font-weight: 600;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.stldocs-language-block-content-info-version {
|
|
1242
|
+
font-family: var(--stl-typography-font-mono);
|
|
1243
|
+
font-size: var(--stl-typography-scale-sm);
|
|
1244
|
+
font-weight: 200;
|
|
1245
|
+
}
|
|
1246
|
+
}
|
|
1247
|
+
}
|
|
1248
|
+
|
|
1249
|
+
.stldocs-language-block-install {
|
|
1250
|
+
display: flex;
|
|
1251
|
+
font-family: var(--stl-typography-font-mono);
|
|
1252
|
+
font-size: var(--stl-typography-scale-sm);
|
|
1253
|
+
background-color: var(--stldocs-color-bg-inline-code);
|
|
1254
|
+
border: 1px solid var(--stl-color-border);
|
|
1255
|
+
color: var(--stl-color-foreground-reduced);
|
|
1256
|
+
border-radius: 4px;
|
|
1257
|
+
padding: 4px 8px;
|
|
1258
|
+
|
|
1259
|
+
pre {
|
|
1260
|
+
flex-grow: 1;
|
|
1261
|
+
white-space: nowrap;
|
|
1262
|
+
overflow-x: hidden;
|
|
1263
|
+
text-overflow: ellipsis;
|
|
1264
|
+
display: flex;
|
|
1265
|
+
align-items: center;
|
|
1266
|
+
}
|
|
1267
|
+
|
|
1268
|
+
svg {
|
|
1269
|
+
vertical-align: middle;
|
|
1270
|
+
min-width: 16px;
|
|
1271
|
+
}
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
.stldocs-language-block-links {
|
|
1275
|
+
display: flex;
|
|
1276
|
+
gap: 8px;
|
|
1277
|
+
|
|
1278
|
+
& > a:last-child {
|
|
1279
|
+
flex-grow: 1;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
/* Media Queries */
|
|
1285
|
+
@media (min-width: 1280px) {
|
|
1286
|
+
.stldocs-root .stldocs-method.stldocs-method-double-pane {
|
|
1287
|
+
.stldocs-method-example {
|
|
1288
|
+
flex: 1 1 500px;
|
|
1289
|
+
max-width: 100%;
|
|
1290
|
+
width: 100%;
|
|
1291
|
+
}
|
|
1292
|
+
|
|
1293
|
+
.stldocs-method-body {
|
|
1294
|
+
flex-direction: row;
|
|
1295
|
+
gap: 2rem;
|
|
1296
|
+
}
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
|
|
1300
|
+
/* Don't put expanders in the margin on mobile */
|
|
1301
|
+
@media (max-width: 50rem) {
|
|
1302
|
+
.stldocs-root .stldocs-method-body {
|
|
1303
|
+
padding: 1rem var(--stldocs-content-padding) !important;
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
.stldocs-root .stldocs-resource .stldocs-resource-content {
|
|
1307
|
+
padding: 0 var(--stldocs-content-padding) !important;
|
|
1308
|
+
|
|
1309
|
+
.stldocs-resource-content-properties {
|
|
1310
|
+
margin-left: 0 !important;
|
|
1311
|
+
}
|
|
1312
|
+
}
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
@media (min-width: 50rem) {
|
|
1316
|
+
.stldocs-root .stldocs-method {
|
|
1317
|
+
.stldocs-method-header {
|
|
1318
|
+
padding: var(--stldocs-title-padding-y) 0;
|
|
1319
|
+
}
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1323
|
+
@media (min-width: 1280px) {
|
|
1324
|
+
.stldocs-root {
|
|
1325
|
+
.stldocs-method.stldocs-method-double-pane .stldocs-method-content-column {
|
|
1326
|
+
display: block;
|
|
1327
|
+
}
|
|
1328
|
+
|
|
1329
|
+
.stldocs-method.stldocs-method-double-pane .stldocs-method-body {
|
|
1330
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
1331
|
+
grid-template-areas: 'description example';
|
|
1332
|
+
grid-template-rows: unset;
|
|
1333
|
+
|
|
1334
|
+
.stldocs-snippet {
|
|
1335
|
+
padding: 0.5rem;
|
|
1336
|
+
display: flex;
|
|
1337
|
+
flex-direction: column;
|
|
1338
|
+
background-color: var(--stl-color-faint-background);
|
|
1339
|
+
border: 1px solid var(--stl-color-border);
|
|
1340
|
+
|
|
1341
|
+
.stldocs-snippet-request {
|
|
1342
|
+
background-color: var(--stl-color-background);
|
|
1343
|
+
--shiki-background: var(--stl-color-background);
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
.stldocs-snippet-response {
|
|
1347
|
+
display: block;
|
|
1348
|
+
}
|
|
1349
|
+
|
|
1350
|
+
.stldocs-snippet-response-pane {
|
|
1351
|
+
position: relative;
|
|
1352
|
+
padding: 0;
|
|
1353
|
+
--shiki-background: transparent;
|
|
1354
|
+
|
|
1355
|
+
&::before {
|
|
1356
|
+
content: '';
|
|
1357
|
+
flex: 0 0 1rem;
|
|
1358
|
+
width: calc(100% + 2rem);
|
|
1359
|
+
height: 1px;
|
|
1360
|
+
position: absolute;
|
|
1361
|
+
top: calc(-0.5rem);
|
|
1362
|
+
left: -1rem;
|
|
1363
|
+
background-color: var(--stl-color-border);
|
|
1364
|
+
}
|
|
1365
|
+
}
|
|
1366
|
+
|
|
1367
|
+
.stldocs-snippet-multi-response {
|
|
1368
|
+
display: block;
|
|
1369
|
+
padding: 0;
|
|
1370
|
+
}
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
.stldocs-method-response-column {
|
|
1374
|
+
display: none;
|
|
1375
|
+
margin-top: 0;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1378
|
+
.stldocs-method-content-column {
|
|
1379
|
+
grid-area: description;
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
.stldocs-method-example {
|
|
1383
|
+
margin-top: 0;
|
|
1384
|
+
grid-area: example;
|
|
1385
|
+
|
|
1386
|
+
.stldocs-snippet-multi-response {
|
|
1387
|
+
display: block;
|
|
1388
|
+
border: none;
|
|
1389
|
+
|
|
1390
|
+
.stldocs-snippet {
|
|
1391
|
+
background-color: transparent;
|
|
1392
|
+
border: none;
|
|
1393
|
+
}
|
|
1394
|
+
}
|
|
1395
|
+
}
|
|
1396
|
+
|
|
1397
|
+
.stldocs-method-info {
|
|
1398
|
+
grid-area: unset;
|
|
1399
|
+
margin-top: 0;
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
.stldocs-snippet-response-tab {
|
|
1403
|
+
margin-bottom: 0.5rem;
|
|
1404
|
+
|
|
1405
|
+
&.stldocs-snippet-response-tab-single-return {
|
|
1406
|
+
background-color: transparent;
|
|
1407
|
+
|
|
1408
|
+
.stldocs-snippet-response-tab-item {
|
|
1409
|
+
button {
|
|
1410
|
+
&:hover {
|
|
1411
|
+
background-color: transparent;
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
}
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
|
|
1421
|
+
.stldocs-sidebar {
|
|
1422
|
+
font-family: var(--stl-typography-font);
|
|
1423
|
+
font-size: var(--stl-typography-scale-sm);
|
|
1424
|
+
|
|
1425
|
+
a {
|
|
1426
|
+
text-decoration: none;
|
|
1427
|
+
color: var(--stl-color-foreground-reduced);
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.stldocs-sidebar-resource-title {
|
|
1431
|
+
padding-bottom: 6px;
|
|
1432
|
+
}
|
|
1433
|
+
|
|
1434
|
+
.stldocs-sidebar-resource,
|
|
1435
|
+
.stldocs-sidebar-method {
|
|
1436
|
+
padding: 6px;
|
|
1437
|
+
display: flex;
|
|
1438
|
+
gap: 0.5rem;
|
|
1439
|
+
|
|
1440
|
+
.stldocs-method-route-httpmethod {
|
|
1441
|
+
margin-bottom: auto;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
&[data-selected='true'] {
|
|
1445
|
+
& > a,
|
|
1446
|
+
& > details > summary > a {
|
|
1447
|
+
color: var(--stl-color-foreground);
|
|
1448
|
+
}
|
|
1449
|
+
}
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
.stldocs-sidebar-resource-title {
|
|
1453
|
+
display: block;
|
|
1454
|
+
|
|
1455
|
+
a {
|
|
1456
|
+
color: var(--stl-color-foreground);
|
|
1457
|
+
font-weight: 500;
|
|
1458
|
+
}
|
|
1459
|
+
}
|
|
1460
|
+
|
|
1461
|
+
.stldocs-sidebar-expander {
|
|
1462
|
+
.stldocs-expander-summary {
|
|
1463
|
+
cursor: pointer;
|
|
1464
|
+
display: flex;
|
|
1465
|
+
|
|
1466
|
+
& > .stldocs-expander-summary-icon {
|
|
1467
|
+
transform: translateX(-0.5px) translateY(-0.5px);
|
|
1468
|
+
margin-left: 8px;
|
|
1469
|
+
|
|
1470
|
+
& > .stldocs-icon {
|
|
1471
|
+
vertical-align: middle;
|
|
1472
|
+
color: var(--stl-color-foreground-muted);
|
|
1473
|
+
}
|
|
1474
|
+
|
|
1475
|
+
& > :last-child {
|
|
1476
|
+
display: none;
|
|
1477
|
+
}
|
|
1478
|
+
}
|
|
1479
|
+
}
|
|
1480
|
+
|
|
1481
|
+
&[open],
|
|
1482
|
+
&[data-open='true'] {
|
|
1483
|
+
& > .stldocs-expander-summary {
|
|
1484
|
+
.stldocs-type-preview-content {
|
|
1485
|
+
display: none;
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
& > .stldocs-expander-summary-icon {
|
|
1489
|
+
& > :first-child {
|
|
1490
|
+
display: none;
|
|
1491
|
+
}
|
|
1492
|
+
|
|
1493
|
+
& > :last-child {
|
|
1494
|
+
display: inline;
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
|
|
1499
|
+
& > .stldocs-expander-content {
|
|
1500
|
+
margin-left: 10px;
|
|
1501
|
+
line-height: 150%;
|
|
1502
|
+
}
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
.stldocs-root .stldocs-search-form {
|
|
1508
|
+
display: flex;
|
|
1509
|
+
flex-direction: column;
|
|
1510
|
+
|
|
1511
|
+
.stldocs-search-filter {
|
|
1512
|
+
margin-top: 0.8rem;
|
|
1513
|
+
display: flex;
|
|
1514
|
+
gap: 1rem;
|
|
1515
|
+
|
|
1516
|
+
.stldocs-togglebutton {
|
|
1517
|
+
display: flex;
|
|
1518
|
+
flex-grow: 1;
|
|
1519
|
+
gap: 0.5rem;
|
|
1520
|
+
border-radius: 8px;
|
|
1521
|
+
padding: 0.4em 0.8em;
|
|
1522
|
+
line-height: 1.5;
|
|
1523
|
+
justify-content: center;
|
|
1524
|
+
font-size: 0.9rem;
|
|
1525
|
+
cursor: pointer;
|
|
1526
|
+
background-color: transparent;
|
|
1527
|
+
border: 1px solid var(--stl-color-border);
|
|
1528
|
+
|
|
1529
|
+
&:hover,
|
|
1530
|
+
&[data-stldocs-toggle-selected='true'] {
|
|
1531
|
+
background-color: var(--stldocs-color-selected);
|
|
1532
|
+
|
|
1533
|
+
.stldocs-search-filter-count {
|
|
1534
|
+
color: var(--stl-color-inverse-foreground);
|
|
1535
|
+
background-color: var(--stl-color-foreground);
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
|
|
1539
|
+
.stldocs-icon {
|
|
1540
|
+
margin: auto 0;
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
.stldocs-search-filter-count {
|
|
1544
|
+
font-size: 0.75rem;
|
|
1545
|
+
margin: auto 0;
|
|
1546
|
+
background-color: var(--stldocs-color-selected);
|
|
1547
|
+
border-radius: 0.5rem;
|
|
1548
|
+
padding: 0 0.5rem;
|
|
1549
|
+
line-height: 1.5;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
.stldocs-search-result {
|
|
1555
|
+
display: flex;
|
|
1556
|
+
flex-direction: column;
|
|
1557
|
+
gap: 0.5rem;
|
|
1558
|
+
cursor: pointer;
|
|
1559
|
+
margin: 0.5rem 0;
|
|
1560
|
+
padding: 0.5rem 0.8rem;
|
|
1561
|
+
|
|
1562
|
+
mark {
|
|
1563
|
+
color: var(--stl-color-foreground);
|
|
1564
|
+
background-color: var(--stl-color-border);
|
|
1565
|
+
border-bottom: 1px dotted var(--stl-color-foreground);
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
&[data-stldocs-search-result='resource'] {
|
|
1569
|
+
.stldocs-search-result-resource-info {
|
|
1570
|
+
display: flex;
|
|
1571
|
+
gap: 0.5rem;
|
|
1572
|
+
|
|
1573
|
+
.stldocs-search-result-resource-title {
|
|
1574
|
+
font-weight: 600;
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
.stldocs-search-result-resource-path {
|
|
1578
|
+
font-family: var(--stl-typography-font-mono);
|
|
1579
|
+
color: var(--stl-color-foreground);
|
|
1580
|
+
}
|
|
1581
|
+
}
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
&[data-stldocs-search-result='http_method'] {
|
|
1585
|
+
h3.stldocs-method-title {
|
|
1586
|
+
font-size: 1.2rem;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
.stldocs-method-header {
|
|
1590
|
+
display: flex;
|
|
1591
|
+
flex-direction: column;
|
|
1592
|
+
gap: 0.5rem;
|
|
1593
|
+
|
|
1594
|
+
.stldocs-method-signature {
|
|
1595
|
+
font-family: var(--stl-typography-font-mono);
|
|
1596
|
+
color: var(--stl-color-foreground);
|
|
1597
|
+
white-space: pre-wrap;
|
|
1598
|
+
word-break: break-word;
|
|
1599
|
+
|
|
1600
|
+
.stldocs-text-identifier {
|
|
1601
|
+
color: var(--stl-color-foreground);
|
|
1602
|
+
}
|
|
1603
|
+
}
|
|
1604
|
+
|
|
1605
|
+
.stldocs-method-route {
|
|
1606
|
+
font-size: 0.8rem;
|
|
1607
|
+
|
|
1608
|
+
.stldocs-method-route-httpmethod {
|
|
1609
|
+
font-size: 0.7rem;
|
|
1610
|
+
text-transform: uppercase;
|
|
1611
|
+
font-weight: 600;
|
|
1612
|
+
padding: 4px;
|
|
1613
|
+
border-radius: 4px;
|
|
1614
|
+
align-self: baseline;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
.stldocs-method-route-endpoint {
|
|
1618
|
+
font-family: var(--stl-typography-font-mono);
|
|
1619
|
+
color: var(--stl-color-foreground-muted);
|
|
1620
|
+
}
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
|
|
1624
|
+
.stldocs-method-description {
|
|
1625
|
+
color: var(--stl-color-foreground);
|
|
1626
|
+
}
|
|
1627
|
+
}
|
|
1628
|
+
|
|
1629
|
+
&[data-stldocs-search-result='property'] {
|
|
1630
|
+
.stldocs-property-info {
|
|
1631
|
+
display: flex;
|
|
1632
|
+
flex-direction: column;
|
|
1633
|
+
gap: 0.5rem;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1636
|
+
.stldocs-property-header {
|
|
1637
|
+
display: flex;
|
|
1638
|
+
gap: 0.5rem;
|
|
1639
|
+
|
|
1640
|
+
.stldocs-property-name {
|
|
1641
|
+
font-family: var(--stl-typography-font-mono);
|
|
1642
|
+
}
|
|
1643
|
+
|
|
1644
|
+
.stldocs-property-typename {
|
|
1645
|
+
color: var(--stl-color-foreground-muted);
|
|
1646
|
+
}
|
|
1647
|
+
}
|
|
1648
|
+
|
|
1649
|
+
.stldocs-property-description {
|
|
1650
|
+
color: var(--stl-color-foreground);
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
&[data-stldocs-search-result='model'] {
|
|
1655
|
+
.stldocs-property-info {
|
|
1656
|
+
display: flex;
|
|
1657
|
+
flex-direction: column;
|
|
1658
|
+
gap: 0.5rem;
|
|
1659
|
+
|
|
1660
|
+
.stldocs-property-type {
|
|
1661
|
+
font-family: var(--stl-typography-font-mono);
|
|
1662
|
+
color: var(--stl-color-foreground);
|
|
1663
|
+
}
|
|
1664
|
+
}
|
|
1665
|
+
}
|
|
1666
|
+
|
|
1667
|
+
&[data-stldocs-search-result='guide'] {
|
|
1668
|
+
.stldocs-search-result-guide-title {
|
|
1669
|
+
font-size: 1.2rem;
|
|
1670
|
+
}
|
|
1671
|
+
|
|
1672
|
+
.stldocs-search-result-guide-excerpt {
|
|
1673
|
+
color: var(--stl-color-foreground);
|
|
1674
|
+
}
|
|
1675
|
+
|
|
1676
|
+
.stldocs-search-breadcrumb-item {
|
|
1677
|
+
text-transform: capitalize;
|
|
1678
|
+
}
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
|
|
1682
|
+
.stldocs-search-breadcrumb {
|
|
1683
|
+
display: flex;
|
|
1684
|
+
gap: 0.5rem;
|
|
1685
|
+
font-size: 0.8rem;
|
|
1686
|
+
|
|
1687
|
+
.stldocs-search-breadcrumb-item {
|
|
1688
|
+
color: var(--stl-color-foreground-muted);
|
|
1689
|
+
}
|
|
1690
|
+
|
|
1691
|
+
.stldocs-icon {
|
|
1692
|
+
margin-top: auto;
|
|
1693
|
+
margin-bottom: auto;
|
|
1694
|
+
}
|
|
1695
|
+
}
|
|
1696
|
+
}
|
|
1697
|
+
|
|
1698
|
+
.stldocs-root .stldocs-search-modal {
|
|
1699
|
+
height: 100%;
|
|
1700
|
+
width: 100%;
|
|
1701
|
+
overflow: hidden;
|
|
1702
|
+
margin: 3rem auto;
|
|
1703
|
+
display: none;
|
|
1704
|
+
padding: 1rem;
|
|
1705
|
+
inset: 0;
|
|
1706
|
+
max-width: 1024px;
|
|
1707
|
+
max-height: 80vh;
|
|
1708
|
+
background-color: var(--stl-color-background);
|
|
1709
|
+
color: var(--stl-color-foreground);
|
|
1710
|
+
border: 1px solid var(--stl-color-border);
|
|
1711
|
+
border-radius: 8px;
|
|
1712
|
+
|
|
1713
|
+
&:popover-open,
|
|
1714
|
+
&[data-stldocs-modal-open='true'] {
|
|
1715
|
+
display: block;
|
|
1716
|
+
position: fixed;
|
|
1717
|
+
}
|
|
1718
|
+
|
|
1719
|
+
.stldocs-search-form {
|
|
1720
|
+
height: 100%;
|
|
1721
|
+
|
|
1722
|
+
.stldocs-listview {
|
|
1723
|
+
margin: 0.8rem 0;
|
|
1724
|
+
height: 100%;
|
|
1725
|
+
}
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1728
|
+
&::backdrop {
|
|
1729
|
+
background-color: var(--stldocs-color-backdrop-overlay);
|
|
1730
|
+
-webkit-backdrop-filter: blur(0.25rem);
|
|
1731
|
+
backdrop-filter: blur(0.25rem);
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1735
|
+
@keyframes stldocs-spinner-rotate {
|
|
1736
|
+
100% {
|
|
1737
|
+
transform: rotate(360deg);
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
|
|
1741
|
+
@media (max-width: 50rem) {
|
|
1742
|
+
.stldocs-root .stldocs-search-modal {
|
|
1743
|
+
.stldocs-search-filter-label,
|
|
1744
|
+
.stldocs-search-filter-count {
|
|
1745
|
+
display: none;
|
|
1746
|
+
}
|
|
1747
|
+
}
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
/* For standalone usage of docs-ui */
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
|