raffel 1.1.82 → 1.1.83
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/docs/ui/assets/raffel-docs.css +385 -196
- package/dist/docs/ui/assets/raffel-docs.js +269 -55
- package/dist/docs/ui/assets/sidebar-tree.js +3 -0
- package/dist/docs/ui/html-shell.d.ts.map +1 -1
- package/dist/docs/ui/html-shell.js +13 -0
- package/dist/docs/ui/html-shell.js.map +1 -1
- package/dist/docs/ui/runtime/index.js +269 -55
- package/dist/docs/ui/runtime/index.js.map +1 -1
- package/dist/docs/ui/runtime/sidebar-tree.js +3 -0
- package/dist/docs/ui/runtime/sidebar-tree.js.map +1 -1
- package/dist/docs/ui/style-sections/content.d.ts +1 -1
- package/dist/docs/ui/style-sections/content.d.ts.map +1 -1
- package/dist/docs/ui/style-sections/content.js +54 -54
- package/dist/docs/ui/style-sections/edit-link.d.ts +1 -1
- package/dist/docs/ui/style-sections/edit-link.js +2 -2
- package/dist/docs/ui/style-sections/layout-navigation.d.ts +1 -1
- package/dist/docs/ui/style-sections/layout-navigation.d.ts.map +1 -1
- package/dist/docs/ui/style-sections/layout-navigation.js +81 -20
- package/dist/docs/ui/style-sections/layout-navigation.js.map +1 -1
- package/dist/docs/ui/style-sections/schema-code.d.ts +1 -1
- package/dist/docs/ui/style-sections/schema-code.d.ts.map +1 -1
- package/dist/docs/ui/style-sections/schema-code.js +204 -77
- package/dist/docs/ui/style-sections/schema-code.js.map +1 -1
- package/dist/docs/ui/style-sections/shell.d.ts.map +1 -1
- package/dist/docs/ui/style-sections/shell.js +14 -13
- package/dist/docs/ui/style-sections/shell.js.map +1 -1
- package/dist/docs/ui/style-sections/try-it.d.ts +1 -1
- package/dist/docs/ui/style-sections/try-it.d.ts.map +1 -1
- package/dist/docs/ui/style-sections/try-it.js +30 -30
- package/dist/docs/ui/types.d.ts +8 -0
- package/dist/docs/ui/types.d.ts.map +1 -1
- package/dist/docs/usd-middleware.d.ts +8 -0
- package/dist/docs/usd-middleware.d.ts.map +1 -1
- package/dist/docs/usd-middleware.js.map +1 -1
- package/dist/server/types/lifecycle-docs-types.d.ts +4 -0
- package/dist/server/types/lifecycle-docs-types.d.ts.map +1 -1
- package/dist/ui/docs/ui/html-shell.d.ts.map +1 -1
- package/dist/ui/docs/ui/style-sections/content.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/content.d.ts.map +1 -1
- package/dist/ui/docs/ui/style-sections/edit-link.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/layout-navigation.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/layout-navigation.d.ts.map +1 -1
- package/dist/ui/docs/ui/style-sections/schema-code.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/schema-code.d.ts.map +1 -1
- package/dist/ui/docs/ui/style-sections/shell.d.ts.map +1 -1
- package/dist/ui/docs/ui/style-sections/try-it.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/try-it.d.ts.map +1 -1
- package/dist/ui/docs/ui/types.d.ts +8 -0
- package/dist/ui/docs/ui/types.d.ts.map +1 -1
- package/dist/ui/docs/usd-middleware.d.ts +8 -0
- package/dist/ui/docs/usd-middleware.d.ts.map +1 -1
- package/dist/ui/usd/builder/http.d.ts +17 -1
- package/dist/ui/usd/builder/http.d.ts.map +1 -1
- package/dist/ui/usd/spec/types.d.ts +5 -1
- package/dist/ui/usd/spec/types.d.ts.map +1 -1
- package/dist/usd/builder/http.d.ts +17 -1
- package/dist/usd/builder/http.d.ts.map +1 -1
- package/dist/usd/builder/http.js +10 -2
- package/dist/usd/builder/http.js.map +1 -1
- package/dist/usd/spec/types.d.ts +5 -1
- package/dist/usd/spec/types.d.ts.map +1 -1
- package/dist/usd/spec/types.js.map +1 -1
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
4
4
|
}
|
|
5
5
|
|
|
6
6
|
.response-samples-header {
|
|
7
|
-
font-size:
|
|
7
|
+
font-size: 11px;
|
|
8
8
|
font-weight: 600;
|
|
9
9
|
color: var(--code-panel-text);
|
|
10
10
|
margin-bottom: 12px;
|
|
@@ -19,7 +19,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
19
19
|
.sample-tab {
|
|
20
20
|
padding: 4px 10px;
|
|
21
21
|
border-radius: 4px;
|
|
22
|
-
font-size:
|
|
22
|
+
font-size: 10px;
|
|
23
23
|
font-weight: 500;
|
|
24
24
|
cursor: pointer;
|
|
25
25
|
background: transparent;
|
|
@@ -50,7 +50,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
.sample-content-type {
|
|
53
|
-
font-size:
|
|
53
|
+
font-size: 10px;
|
|
54
54
|
color: #90a4ae;
|
|
55
55
|
margin-bottom: 8px;
|
|
56
56
|
}
|
|
@@ -62,7 +62,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
.sample-action {
|
|
65
|
-
font-size:
|
|
65
|
+
font-size: 10px;
|
|
66
66
|
color: #90a4ae;
|
|
67
67
|
cursor: pointer;
|
|
68
68
|
background: none;
|
|
@@ -80,7 +80,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
80
80
|
border-radius: 6px;
|
|
81
81
|
padding: 10px;
|
|
82
82
|
font-family: 'SF Mono', 'Monaco', monospace;
|
|
83
|
-
font-size:
|
|
83
|
+
font-size: 10px;
|
|
84
84
|
line-height: 1.4;
|
|
85
85
|
color: #e2e8f0;
|
|
86
86
|
overflow-x: auto;
|
|
@@ -106,7 +106,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
.right-section-header {
|
|
109
|
-
font-size:
|
|
109
|
+
font-size: 10px;
|
|
110
110
|
font-weight: 600;
|
|
111
111
|
color: #90a4ae;
|
|
112
112
|
text-transform: uppercase;
|
|
@@ -131,7 +131,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
131
131
|
.no-example {
|
|
132
132
|
color: #90a4ae;
|
|
133
133
|
font-style: italic;
|
|
134
|
-
font-size:
|
|
134
|
+
font-size: 12px;
|
|
135
135
|
padding: 12px;
|
|
136
136
|
background: rgba(0,0,0,0.2);
|
|
137
137
|
border-radius: 6px;
|
|
@@ -139,7 +139,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
139
139
|
|
|
140
140
|
.response-desc-only {
|
|
141
141
|
color: #90a4ae;
|
|
142
|
-
font-size:
|
|
142
|
+
font-size: 12px;
|
|
143
143
|
padding: 12px;
|
|
144
144
|
background: rgba(0,0,0,0.2);
|
|
145
145
|
border-radius: 6px;
|
|
@@ -159,7 +159,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
159
159
|
justify-content: space-between;
|
|
160
160
|
padding: 8px 10px;
|
|
161
161
|
background: var(--code-panel-header);
|
|
162
|
-
font-size:
|
|
162
|
+
font-size: 10px;
|
|
163
163
|
font-weight: 600;
|
|
164
164
|
color: #90a4ae;
|
|
165
165
|
text-transform: uppercase;
|
|
@@ -179,7 +179,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
179
179
|
color: #e2e8f0;
|
|
180
180
|
white-space: pre-wrap;
|
|
181
181
|
word-break: break-word;
|
|
182
|
-
font-size:
|
|
182
|
+
font-size: 10px;
|
|
183
183
|
line-height: 1.4;
|
|
184
184
|
}
|
|
185
185
|
|
|
@@ -198,7 +198,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
198
198
|
border-radius: 4px;
|
|
199
199
|
background: transparent;
|
|
200
200
|
color: #90a4ae;
|
|
201
|
-
font-size:
|
|
201
|
+
font-size: 10px;
|
|
202
202
|
font-weight: 500;
|
|
203
203
|
cursor: pointer;
|
|
204
204
|
transition: all 0.15s;
|
|
@@ -232,7 +232,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
232
232
|
border-radius: 8px;
|
|
233
233
|
overflow-x: auto;
|
|
234
234
|
font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
|
|
235
|
-
font-size:
|
|
235
|
+
font-size: 10px;
|
|
236
236
|
line-height: 1.45;
|
|
237
237
|
border: 1px solid var(--border-color);
|
|
238
238
|
}
|
|
@@ -275,7 +275,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
275
275
|
|
|
276
276
|
.schema-name {
|
|
277
277
|
font-family: 'SF Mono', 'Monaco', monospace;
|
|
278
|
-
font-size:
|
|
278
|
+
font-size: 11px;
|
|
279
279
|
font-weight: 600;
|
|
280
280
|
color: var(--text-color);
|
|
281
281
|
}
|
|
@@ -283,7 +283,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
283
283
|
.schema-required {
|
|
284
284
|
color: #ef4444;
|
|
285
285
|
font-weight: 700;
|
|
286
|
-
font-size:
|
|
286
|
+
font-size: 11px;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
289
|
.schema-type {
|
|
@@ -293,7 +293,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
293
293
|
padding: 1px 6px;
|
|
294
294
|
border-radius: 4px;
|
|
295
295
|
font-family: 'SF Mono', 'Monaco', monospace;
|
|
296
|
-
font-size:
|
|
296
|
+
font-size: 9px;
|
|
297
297
|
font-weight: 500;
|
|
298
298
|
}
|
|
299
299
|
|
|
@@ -320,56 +320,167 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
320
320
|
|
|
321
321
|
.schema-desc {
|
|
322
322
|
color: var(--text-muted);
|
|
323
|
-
font-size:
|
|
323
|
+
font-size: 11px;
|
|
324
324
|
margin-bottom: 4px;
|
|
325
325
|
}
|
|
326
326
|
|
|
327
|
-
/* Compact
|
|
328
|
-
|
|
327
|
+
/* Compact ReDoc-style contract tree. Names and requiredness stay in a
|
|
328
|
+
narrow left rail; type, examples, constraints and prose share the
|
|
329
|
+
wider detail column. */
|
|
329
330
|
.schema-tree-root {
|
|
330
|
-
margin-top:
|
|
331
|
+
margin-top: 4px;
|
|
332
|
+
border-left: 1px solid var(--border-color);
|
|
333
|
+
border-left-color: color-mix(in srgb, var(--primary-color) 55%, var(--border-color));
|
|
331
334
|
}
|
|
332
335
|
|
|
333
336
|
.schema-tree-nested {
|
|
334
|
-
|
|
337
|
+
margin-left: 14px;
|
|
338
|
+
border-left: 1px solid var(--border-color);
|
|
335
339
|
}
|
|
336
340
|
|
|
337
341
|
.schema-tree-row {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
342
|
+
position: relative;
|
|
343
|
+
display: grid;
|
|
344
|
+
grid-template-columns: minmax(120px, 28%) minmax(0, 1fr);
|
|
345
|
+
gap: 14px;
|
|
346
|
+
padding: 7px 0 7px 10px;
|
|
347
|
+
border-bottom: 1px solid var(--border-color);
|
|
348
|
+
font-size: 11px;
|
|
349
|
+
line-height: 1.4;
|
|
341
350
|
}
|
|
342
351
|
|
|
343
|
-
.schema-tree-
|
|
344
|
-
|
|
345
|
-
|
|
352
|
+
.schema-tree-row::before {
|
|
353
|
+
position: absolute;
|
|
354
|
+
top: 13px;
|
|
355
|
+
left: 0;
|
|
356
|
+
width: 9px;
|
|
357
|
+
border-top: 1px solid var(--border-color);
|
|
358
|
+
border-top-color: color-mix(in srgb, var(--primary-color) 55%, var(--border-color));
|
|
359
|
+
content: '';
|
|
346
360
|
}
|
|
347
361
|
|
|
348
|
-
.schema-tree-
|
|
362
|
+
.schema-tree-key {
|
|
363
|
+
position: relative;
|
|
349
364
|
display: flex;
|
|
350
|
-
|
|
351
|
-
|
|
365
|
+
min-width: 0;
|
|
366
|
+
flex-direction: column;
|
|
367
|
+
align-items: flex-start;
|
|
368
|
+
gap: 1px;
|
|
369
|
+
padding-left: 8px;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.schema-tree-name {
|
|
373
|
+
overflow-wrap: anywhere;
|
|
374
|
+
background: transparent;
|
|
375
|
+
font-family: 'SF Mono', 'Monaco', monospace;
|
|
376
|
+
font-size: 10px;
|
|
352
377
|
color: var(--text-primary);
|
|
353
378
|
font-weight: 500;
|
|
354
379
|
}
|
|
355
380
|
|
|
381
|
+
.schema-tree-required,
|
|
382
|
+
.schema-tree-optional,
|
|
383
|
+
.schema-tree-deprecated {
|
|
384
|
+
font-size: 9px;
|
|
385
|
+
font-weight: 600;
|
|
386
|
+
letter-spacing: 0.35px;
|
|
387
|
+
line-height: 1.35;
|
|
388
|
+
text-transform: uppercase;
|
|
389
|
+
}
|
|
390
|
+
|
|
356
391
|
.schema-tree-required {
|
|
357
392
|
color: #ef4444;
|
|
358
393
|
}
|
|
359
394
|
|
|
395
|
+
.schema-tree-optional { color: var(--text-muted); }
|
|
396
|
+
.schema-tree-deprecated { color: #d97706; }
|
|
397
|
+
|
|
398
|
+
.schema-tree-toggle {
|
|
399
|
+
position: absolute;
|
|
400
|
+
top: -1px;
|
|
401
|
+
left: -8px;
|
|
402
|
+
width: 16px;
|
|
403
|
+
height: 16px;
|
|
404
|
+
padding: 0;
|
|
405
|
+
transform: rotate(0deg);
|
|
406
|
+
border: 0;
|
|
407
|
+
background: transparent;
|
|
408
|
+
color: var(--primary-color);
|
|
409
|
+
cursor: pointer;
|
|
410
|
+
font-size: 14px;
|
|
411
|
+
line-height: 14px;
|
|
412
|
+
transition: transform 120ms ease;
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
.schema-tree-toggle.open { transform: rotate(90deg); }
|
|
416
|
+
|
|
417
|
+
.schema-tree-details { min-width: 0; }
|
|
418
|
+
|
|
419
|
+
.schema-tree-type {
|
|
420
|
+
color: var(--text-muted);
|
|
421
|
+
font-size: 10px;
|
|
422
|
+
line-height: 1.35;
|
|
423
|
+
}
|
|
424
|
+
|
|
360
425
|
.schema-tree-description {
|
|
426
|
+
margin-top: 3px;
|
|
427
|
+
color: var(--text-color);
|
|
428
|
+
font-size: 11px;
|
|
429
|
+
line-height: 1.42;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.schema-tree-description.markdown-content p {
|
|
433
|
+
margin: 0 0 3px;
|
|
434
|
+
color: inherit;
|
|
435
|
+
font-size: inherit;
|
|
436
|
+
line-height: inherit;
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.schema-tree-description.markdown-content p:last-child { margin-bottom: 0; }
|
|
440
|
+
|
|
441
|
+
.schema-tree-description.markdown-content ul,
|
|
442
|
+
.schema-tree-description.markdown-content ol {
|
|
443
|
+
margin: 4px 0 2px 16px;
|
|
444
|
+
padding: 0;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.schema-tree-description.markdown-content li { margin: 1px 0; }
|
|
448
|
+
|
|
449
|
+
.schema-tree-example {
|
|
450
|
+
display: flex;
|
|
451
|
+
min-width: 0;
|
|
452
|
+
align-items: baseline;
|
|
453
|
+
gap: 5px;
|
|
361
454
|
margin-top: 2px;
|
|
362
455
|
color: var(--text-muted);
|
|
363
|
-
font-size:
|
|
364
|
-
line-height: 1.4;
|
|
456
|
+
font-size: 10px;
|
|
365
457
|
}
|
|
366
458
|
|
|
367
|
-
.schema-tree-
|
|
368
|
-
|
|
369
|
-
|
|
459
|
+
.schema-tree-example code {
|
|
460
|
+
overflow: hidden;
|
|
461
|
+
padding: 0 3px;
|
|
462
|
+
border: 1px solid var(--border-color);
|
|
463
|
+
border-radius: 2px;
|
|
464
|
+
background: var(--code-bg);
|
|
465
|
+
color: var(--text-color);
|
|
466
|
+
font-size: 9px;
|
|
467
|
+
text-overflow: ellipsis;
|
|
468
|
+
white-space: nowrap;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
.schema-tree-items-label {
|
|
472
|
+
display: inline-block;
|
|
473
|
+
margin-top: 3px;
|
|
474
|
+
color: var(--text-muted);
|
|
475
|
+
font-size: 9px;
|
|
476
|
+
font-weight: 600;
|
|
477
|
+
text-transform: uppercase;
|
|
370
478
|
}
|
|
371
479
|
|
|
480
|
+
.schema-tree-children.collapsed { display: none; }
|
|
481
|
+
|
|
372
482
|
.schema-tree-meta {
|
|
483
|
+
display: block;
|
|
373
484
|
color: var(--text-secondary);
|
|
374
485
|
}
|
|
375
486
|
|
|
@@ -386,7 +497,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
386
497
|
}
|
|
387
498
|
|
|
388
499
|
.schema-constraint {
|
|
389
|
-
font-size:
|
|
500
|
+
font-size: 10px;
|
|
390
501
|
padding: 2px 6px;
|
|
391
502
|
border-radius: 4px;
|
|
392
503
|
background: var(--code-bg);
|
|
@@ -402,7 +513,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
402
513
|
}
|
|
403
514
|
|
|
404
515
|
.schema-enum-value {
|
|
405
|
-
font-size:
|
|
516
|
+
font-size: 10px;
|
|
406
517
|
padding: 2px 8px;
|
|
407
518
|
border-radius: 4px;
|
|
408
519
|
background: #fef3c7;
|
|
@@ -416,7 +527,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
416
527
|
}
|
|
417
528
|
|
|
418
529
|
.schema-default {
|
|
419
|
-
font-size:
|
|
530
|
+
font-size: 11px;
|
|
420
531
|
color: var(--text-muted);
|
|
421
532
|
margin-top: 4px;
|
|
422
533
|
}
|
|
@@ -432,7 +543,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
432
543
|
cursor: pointer;
|
|
433
544
|
user-select: none;
|
|
434
545
|
color: var(--primary-color);
|
|
435
|
-
font-size:
|
|
546
|
+
font-size: 11px;
|
|
436
547
|
margin-left: 8px;
|
|
437
548
|
}
|
|
438
549
|
|
|
@@ -461,7 +572,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
461
572
|
padding: 8px 12px;
|
|
462
573
|
background: rgba(0,0,0,0.05);
|
|
463
574
|
border-bottom: 1px solid var(--border-color);
|
|
464
|
-
font-size:
|
|
575
|
+
font-size: 11px;
|
|
465
576
|
font-weight: 600;
|
|
466
577
|
color: var(--text-muted);
|
|
467
578
|
text-transform: uppercase;
|
|
@@ -470,7 +581,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
470
581
|
.schema-example-body {
|
|
471
582
|
padding: 12px;
|
|
472
583
|
font-family: 'SF Mono', 'Monaco', monospace;
|
|
473
|
-
font-size:
|
|
584
|
+
font-size: 11px;
|
|
474
585
|
white-space: pre-wrap;
|
|
475
586
|
word-break: break-word;
|
|
476
587
|
}
|
|
@@ -485,7 +596,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
485
596
|
|
|
486
597
|
.response-tab {
|
|
487
598
|
padding: 8px 16px;
|
|
488
|
-
font-size:
|
|
599
|
+
font-size: 12px;
|
|
489
600
|
font-weight: 500;
|
|
490
601
|
cursor: pointer;
|
|
491
602
|
border: none;
|
|
@@ -523,7 +634,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
523
634
|
.params-table th {
|
|
524
635
|
text-align: left;
|
|
525
636
|
padding: 8px 12px;
|
|
526
|
-
font-size:
|
|
637
|
+
font-size: 10px;
|
|
527
638
|
font-weight: 600;
|
|
528
639
|
text-transform: uppercase;
|
|
529
640
|
color: var(--text-muted);
|
|
@@ -534,7 +645,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
534
645
|
.params-table td {
|
|
535
646
|
padding: 10px 12px;
|
|
536
647
|
border-bottom: 1px solid var(--border-color);
|
|
537
|
-
font-size:
|
|
648
|
+
font-size: 12px;
|
|
538
649
|
}
|
|
539
650
|
|
|
540
651
|
.params-table tr:last-child td { border-bottom: none; }
|
|
@@ -545,7 +656,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
545
656
|
}
|
|
546
657
|
|
|
547
658
|
.param-in {
|
|
548
|
-
font-size:
|
|
659
|
+
font-size: 9px;
|
|
549
660
|
padding: 2px 6px;
|
|
550
661
|
border-radius: 3px;
|
|
551
662
|
background: var(--code-bg);
|
|
@@ -575,7 +686,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
575
686
|
}
|
|
576
687
|
|
|
577
688
|
.info-card-title {
|
|
578
|
-
font-size:
|
|
689
|
+
font-size: 10px;
|
|
579
690
|
color: var(--text-muted);
|
|
580
691
|
text-transform: uppercase;
|
|
581
692
|
letter-spacing: 0.5px;
|
|
@@ -583,7 +694,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
583
694
|
}
|
|
584
695
|
|
|
585
696
|
.info-card-value {
|
|
586
|
-
font-size:
|
|
697
|
+
font-size: 14px;
|
|
587
698
|
font-weight: 600;
|
|
588
699
|
color: var(--text-color);
|
|
589
700
|
}
|
|
@@ -599,15 +710,16 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
599
710
|
width: 300px;
|
|
600
711
|
z-index: 100;
|
|
601
712
|
}
|
|
602
|
-
.sidebar
|
|
713
|
+
.sidebar-resizer { display: none; }
|
|
714
|
+
.sidebar.mobile-open { display: flex; }
|
|
603
715
|
.hero { padding: 40px 24px; min-height: 100vh; }
|
|
604
716
|
.hero-logo { height: 80px; margin-bottom: 24px; }
|
|
605
|
-
.hero-title { font-size:
|
|
606
|
-
.hero-version { font-size:
|
|
607
|
-
.hero-tagline { font-size:
|
|
717
|
+
.hero-title { font-size: 32px; }
|
|
718
|
+
.hero-version { font-size: 11px; margin-left: 8px; }
|
|
719
|
+
.hero-tagline { font-size: 15px; margin-bottom: 20px; }
|
|
608
720
|
.hero-features { flex-direction: column; align-items: center; gap: 12px; }
|
|
609
|
-
.hero-features li { font-size:
|
|
610
|
-
.hero-btn { padding: 12px 24px; font-size:
|
|
721
|
+
.hero-features li { font-size: 13px; }
|
|
722
|
+
.hero-btn { padding: 12px 24px; font-size: 13px; }
|
|
611
723
|
.github-corner svg { width: 60px; height: 60px; }
|
|
612
724
|
.main { padding: 24px; }
|
|
613
725
|
}
|
|
@@ -628,23 +740,24 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
628
740
|
}
|
|
629
741
|
|
|
630
742
|
.http-param-group-title {
|
|
631
|
-
font-size:
|
|
743
|
+
font-size: 10px;
|
|
632
744
|
font-weight: 600;
|
|
633
745
|
text-transform: uppercase;
|
|
634
746
|
letter-spacing: 0.5px;
|
|
635
747
|
color: var(--text-muted);
|
|
636
|
-
margin-bottom:
|
|
748
|
+
margin-bottom: 0;
|
|
749
|
+
padding-bottom: 5px;
|
|
750
|
+
border-bottom: 1px solid var(--border-color);
|
|
637
751
|
}
|
|
638
752
|
|
|
639
753
|
.http-params {
|
|
640
|
-
|
|
641
|
-
border-radius: 8px;
|
|
642
|
-
overflow: hidden;
|
|
754
|
+
overflow: visible;
|
|
643
755
|
}
|
|
644
756
|
|
|
645
757
|
.http-param {
|
|
646
|
-
padding:
|
|
647
|
-
|
|
758
|
+
padding-top: 7px;
|
|
759
|
+
padding-right: 0;
|
|
760
|
+
padding-bottom: 7px;
|
|
648
761
|
}
|
|
649
762
|
|
|
650
763
|
.http-param:last-child { border-bottom: none; }
|
|
@@ -658,13 +771,13 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
658
771
|
|
|
659
772
|
.http-param-name {
|
|
660
773
|
font-family: 'SF Mono', 'Monaco', monospace;
|
|
661
|
-
font-size:
|
|
774
|
+
font-size: 11px;
|
|
662
775
|
font-weight: 600;
|
|
663
776
|
color: var(--text-color);
|
|
664
777
|
}
|
|
665
778
|
|
|
666
779
|
.http-param-required {
|
|
667
|
-
font-size:
|
|
780
|
+
font-size: 9px;
|
|
668
781
|
font-weight: 600;
|
|
669
782
|
text-transform: uppercase;
|
|
670
783
|
letter-spacing: 0.4px;
|
|
@@ -672,7 +785,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
672
785
|
}
|
|
673
786
|
|
|
674
787
|
.http-param-deprecated {
|
|
675
|
-
font-size:
|
|
788
|
+
font-size: 9px;
|
|
676
789
|
font-weight: 600;
|
|
677
790
|
text-transform: uppercase;
|
|
678
791
|
letter-spacing: 0.4px;
|
|
@@ -681,7 +794,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
681
794
|
|
|
682
795
|
.http-param-desc {
|
|
683
796
|
color: var(--text-muted);
|
|
684
|
-
font-size:
|
|
797
|
+
font-size: 11px;
|
|
685
798
|
margin-top: 4px;
|
|
686
799
|
line-height: 1.4;
|
|
687
800
|
}
|
|
@@ -695,7 +808,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
695
808
|
}
|
|
696
809
|
|
|
697
810
|
.constraint-chip {
|
|
698
|
-
font-size:
|
|
811
|
+
font-size: 9px;
|
|
699
812
|
padding: 1px 6px;
|
|
700
813
|
border-radius: 4px;
|
|
701
814
|
background: var(--code-bg);
|
|
@@ -717,8 +830,8 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
717
830
|
|
|
718
831
|
/* Response accordions */
|
|
719
832
|
.response-accordion {
|
|
720
|
-
border:
|
|
721
|
-
border-radius:
|
|
833
|
+
border: 0;
|
|
834
|
+
border-radius: 3px;
|
|
722
835
|
margin-bottom: 8px;
|
|
723
836
|
overflow: hidden;
|
|
724
837
|
}
|
|
@@ -728,21 +841,26 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
728
841
|
align-items: center;
|
|
729
842
|
gap: 8px;
|
|
730
843
|
width: 100%;
|
|
731
|
-
padding:
|
|
844
|
+
padding: 8px 10px;
|
|
732
845
|
background: var(--code-bg);
|
|
733
846
|
border: none;
|
|
734
847
|
cursor: pointer;
|
|
735
848
|
text-align: left;
|
|
736
|
-
font-size:
|
|
849
|
+
font-size: 11px;
|
|
737
850
|
color: var(--text-color);
|
|
738
851
|
transition: background 0.15s;
|
|
739
852
|
}
|
|
740
853
|
|
|
741
854
|
.response-accordion-header:hover { background: var(--hover-bg); }
|
|
742
855
|
|
|
856
|
+
.response-accordion-header.status-2xx { background: rgba(16,185,129,0.08); }
|
|
857
|
+
.response-accordion-header.status-3xx { background: rgba(59,130,246,0.08); }
|
|
858
|
+
.response-accordion-header.status-4xx { background: rgba(245,158,11,0.09); }
|
|
859
|
+
.response-accordion-header.status-5xx { background: rgba(239,68,68,0.09); }
|
|
860
|
+
|
|
743
861
|
.response-accordion-caret {
|
|
744
862
|
flex-shrink: 0;
|
|
745
|
-
font-size:
|
|
863
|
+
font-size: 9px;
|
|
746
864
|
color: var(--text-muted);
|
|
747
865
|
transition: transform 0.2s ease;
|
|
748
866
|
}
|
|
@@ -773,23 +891,32 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
773
891
|
}
|
|
774
892
|
|
|
775
893
|
.response-accordion-body {
|
|
776
|
-
padding:
|
|
777
|
-
border-top:
|
|
894
|
+
padding: 9px 8px 5px;
|
|
895
|
+
border-top: 0;
|
|
778
896
|
display: none;
|
|
779
897
|
}
|
|
780
898
|
|
|
781
899
|
.response-accordion.open .response-accordion-body { display: block; }
|
|
782
900
|
|
|
783
901
|
.response-subhead {
|
|
784
|
-
font-size:
|
|
902
|
+
font-size: 9px;
|
|
785
903
|
font-weight: 600;
|
|
786
904
|
text-transform: uppercase;
|
|
787
905
|
letter-spacing: 0.5px;
|
|
788
906
|
color: var(--text-muted);
|
|
789
|
-
margin: 0
|
|
907
|
+
margin: 0;
|
|
908
|
+
padding-bottom: 5px;
|
|
909
|
+
border-bottom: 1px solid var(--border-color);
|
|
790
910
|
}
|
|
791
911
|
|
|
792
|
-
.response-block + .response-block { margin-top:
|
|
912
|
+
.response-block + .response-block { margin-top: 10px; }
|
|
913
|
+
|
|
914
|
+
@media (max-width: 640px) {
|
|
915
|
+
.schema-tree-row {
|
|
916
|
+
grid-template-columns: minmax(100px, 35%) minmax(0, 1fr);
|
|
917
|
+
gap: 8px;
|
|
918
|
+
}
|
|
919
|
+
}
|
|
793
920
|
|
|
794
921
|
/* Multi-language code samples */
|
|
795
922
|
.http-code-samples {
|
|
@@ -817,7 +944,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
817
944
|
border-radius: 0;
|
|
818
945
|
overflow-x: auto;
|
|
819
946
|
font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
|
|
820
|
-
font-size:
|
|
947
|
+
font-size: 10px;
|
|
821
948
|
line-height: 1.4;
|
|
822
949
|
color: var(--text-color);
|
|
823
950
|
white-space: pre;
|
|
@@ -831,7 +958,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
831
958
|
border: 1px solid var(--border-color);
|
|
832
959
|
border-radius: 4px;
|
|
833
960
|
color: var(--text-muted);
|
|
834
|
-
font-size:
|
|
961
|
+
font-size: 9px;
|
|
835
962
|
cursor: pointer;
|
|
836
963
|
transition: all 0.15s;
|
|
837
964
|
}
|
|
@@ -889,7 +1016,7 @@ export const schemaCodeStyles = ` /* ========== RESPONSE SAMPLES (Right Panel
|
|
|
889
1016
|
.endpoint-right .sample-code code {
|
|
890
1017
|
color: inherit;
|
|
891
1018
|
font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
|
|
892
|
-
font-size:
|
|
1019
|
+
font-size: 10px;
|
|
893
1020
|
line-height: 1.4;
|
|
894
1021
|
white-space: inherit;
|
|
895
1022
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema-code.js","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/schema-code.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG
|
|
1
|
+
{"version":3,"file":"schema-code.js","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/schema-code.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,gBAAgB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+yC/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/shell.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,GACxB,MAAM,
|
|
1
|
+
{"version":3,"file":"shell.d.ts","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/shell.ts"],"names":[],"mappings":"AAAA,wBAAgB,mBAAmB,CACjC,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,iBAAiB,EAAE,MAAM,GACxB,MAAM,CA+oBR"}
|
|
@@ -22,18 +22,19 @@ export function generateShellStyles(primaryColor, primaryHover, heroBackgroundCS
|
|
|
22
22
|
--code-panel-text: #cfd8dc;
|
|
23
23
|
--code-panel-header: #37474f;
|
|
24
24
|
|
|
25
|
-
/*
|
|
26
|
-
|
|
27
|
-
--font-size-
|
|
28
|
-
--font-size-
|
|
29
|
-
--font-size-
|
|
30
|
-
--font-size-
|
|
31
|
-
--font-size-
|
|
32
|
-
--font-size-
|
|
33
|
-
--font-size-
|
|
34
|
-
--font-size-
|
|
35
|
-
--font-size-
|
|
36
|
-
--
|
|
25
|
+
/* Dense documentation type scale. Component styles inherit these
|
|
26
|
+
tokens so large references keep more context inside the viewport. */
|
|
27
|
+
--font-size-body: 12px;
|
|
28
|
+
--font-size-small: 11px;
|
|
29
|
+
--font-size-xs: 9px;
|
|
30
|
+
--font-size-h1: 24px;
|
|
31
|
+
--font-size-h2: 19px;
|
|
32
|
+
--font-size-h3: 16px;
|
|
33
|
+
--font-size-h4: 14px;
|
|
34
|
+
--font-size-h5: 12px;
|
|
35
|
+
--font-size-h6: 11px;
|
|
36
|
+
--font-size-code: 10px;
|
|
37
|
+
--line-height-body: 1.45;
|
|
37
38
|
--line-height-tight: 1.25;
|
|
38
39
|
}
|
|
39
40
|
|
|
@@ -231,7 +232,7 @@ export function generateShellStyles(primaryColor, primaryHover, heroBackgroundCS
|
|
|
231
232
|
content: '▾';
|
|
232
233
|
margin-left: 6px;
|
|
233
234
|
color: var(--text-muted);
|
|
234
|
-
font-size:
|
|
235
|
+
font-size: 10px;
|
|
235
236
|
}
|
|
236
237
|
|
|
237
238
|
.top-nav-submenu {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/shell.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,mBAAmB,CACjC,YAAoB,EACpB,YAAoB,EACpB,iBAAyB;IAEzB,OAAO;;yBAEgB,YAAY;yBACZ,YAAY;;;;;;;;;;;;kBAYnB,YAAY
|
|
1
|
+
{"version":3,"file":"shell.js","sourceRoot":"","sources":["../../../../src/docs/ui/style-sections/shell.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,mBAAmB,CACjC,YAAoB,EACpB,YAAoB,EACpB,iBAAyB;IAEzB,OAAO;;yBAEgB,YAAY;yBACZ,YAAY;;;;;;;;;;;;kBAYnB,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qDAqDuB,YAAY;qDACZ,YAAY;;;;;;;;;;;;mEAYE,YAAY;;;;;;;;;;;;;;;;;;;;;;qEAsBV,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QA6PzE,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAySxB,CAAA;AACD,CAAC"}
|