raffel 1.1.48 → 1.1.50
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 +277 -12
- package/dist/docs/ui/assets/raffel-docs.js +413 -132
- package/dist/docs/ui/runtime/index.js +413 -132
- package/dist/docs/ui/runtime/index.js.map +1 -1
- 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 +10 -0
- 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 +248 -0
- package/dist/docs/ui/style-sections/schema-code.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 +19 -12
- package/dist/docs/ui/style-sections/try-it.js.map +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/try-it.d.ts +1 -1
- package/dist/ui/docs/ui/style-sections/try-it.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -684,6 +684,16 @@
|
|
|
684
684
|
gap: 0;
|
|
685
685
|
}
|
|
686
686
|
|
|
687
|
+
/* Drop the (empty) TOC gutter on endpoint views so the operation's
|
|
688
|
+
two-column content — docs + samples panel — can use the full width. */
|
|
689
|
+
.main-shell.main-shell-no-toc {
|
|
690
|
+
grid-template-columns: minmax(0, 1fr);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.main-shell.main-shell-no-toc .toc {
|
|
694
|
+
display: none;
|
|
695
|
+
}
|
|
696
|
+
|
|
687
697
|
/* ========== SIDEBAR ========== */
|
|
688
698
|
.sidebar {
|
|
689
699
|
background: var(--sidebar-bg);
|
|
@@ -3320,6 +3330,254 @@
|
|
|
3320
3330
|
animation: fadeIn 0.3s ease-out;
|
|
3321
3331
|
}
|
|
3322
3332
|
|
|
3333
|
+
/* ========== HTTP ENDPOINT (ReDoc-style) ========== */
|
|
3334
|
+
.http-param-group {
|
|
3335
|
+
margin-bottom: 20px;
|
|
3336
|
+
}
|
|
3337
|
+
|
|
3338
|
+
.http-param-group-title {
|
|
3339
|
+
font-size: 12px;
|
|
3340
|
+
font-weight: 600;
|
|
3341
|
+
text-transform: uppercase;
|
|
3342
|
+
letter-spacing: 0.5px;
|
|
3343
|
+
color: var(--text-muted);
|
|
3344
|
+
margin-bottom: 8px;
|
|
3345
|
+
}
|
|
3346
|
+
|
|
3347
|
+
.http-params {
|
|
3348
|
+
border: 1px solid var(--border-color);
|
|
3349
|
+
border-radius: 8px;
|
|
3350
|
+
overflow: hidden;
|
|
3351
|
+
}
|
|
3352
|
+
|
|
3353
|
+
.http-param {
|
|
3354
|
+
padding: 12px 16px;
|
|
3355
|
+
border-bottom: 1px solid var(--border-color);
|
|
3356
|
+
}
|
|
3357
|
+
|
|
3358
|
+
.http-param:last-child { border-bottom: none; }
|
|
3359
|
+
|
|
3360
|
+
.http-param-head {
|
|
3361
|
+
display: flex;
|
|
3362
|
+
align-items: center;
|
|
3363
|
+
flex-wrap: wrap;
|
|
3364
|
+
gap: 8px;
|
|
3365
|
+
}
|
|
3366
|
+
|
|
3367
|
+
.http-param-name {
|
|
3368
|
+
font-family: 'SF Mono', 'Monaco', monospace;
|
|
3369
|
+
font-size: 13px;
|
|
3370
|
+
font-weight: 600;
|
|
3371
|
+
color: var(--text-color);
|
|
3372
|
+
}
|
|
3373
|
+
|
|
3374
|
+
.http-param-required {
|
|
3375
|
+
font-size: 10px;
|
|
3376
|
+
font-weight: 600;
|
|
3377
|
+
text-transform: uppercase;
|
|
3378
|
+
letter-spacing: 0.4px;
|
|
3379
|
+
color: #ef4444;
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
.http-param-deprecated {
|
|
3383
|
+
font-size: 10px;
|
|
3384
|
+
font-weight: 600;
|
|
3385
|
+
text-transform: uppercase;
|
|
3386
|
+
letter-spacing: 0.4px;
|
|
3387
|
+
color: #f59e0b;
|
|
3388
|
+
}
|
|
3389
|
+
|
|
3390
|
+
.http-param-desc {
|
|
3391
|
+
color: var(--text-muted);
|
|
3392
|
+
font-size: 13px;
|
|
3393
|
+
margin-top: 6px;
|
|
3394
|
+
line-height: 1.5;
|
|
3395
|
+
}
|
|
3396
|
+
|
|
3397
|
+
/* Validation constraint chips (reuses .schema-constraint look) */
|
|
3398
|
+
.constraint-chips {
|
|
3399
|
+
display: flex;
|
|
3400
|
+
flex-wrap: wrap;
|
|
3401
|
+
gap: 6px;
|
|
3402
|
+
margin-top: 8px;
|
|
3403
|
+
}
|
|
3404
|
+
|
|
3405
|
+
.constraint-chip {
|
|
3406
|
+
font-size: 11px;
|
|
3407
|
+
padding: 2px 8px;
|
|
3408
|
+
border-radius: 4px;
|
|
3409
|
+
background: var(--code-bg);
|
|
3410
|
+
color: var(--text-muted);
|
|
3411
|
+
border: 1px solid var(--border-color);
|
|
3412
|
+
font-family: 'SF Mono', 'Monaco', monospace;
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
.constraint-chip.constraint-enum {
|
|
3416
|
+
background: #fef3c7;
|
|
3417
|
+
color: #92400e;
|
|
3418
|
+
border-color: transparent;
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
[data-theme="dark"] .constraint-chip.constraint-enum {
|
|
3422
|
+
background: #451a03;
|
|
3423
|
+
color: #fbbf24;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
/* Response accordions */
|
|
3427
|
+
.response-accordion {
|
|
3428
|
+
border: 1px solid var(--border-color);
|
|
3429
|
+
border-radius: 8px;
|
|
3430
|
+
margin-bottom: 10px;
|
|
3431
|
+
overflow: hidden;
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
.response-accordion-header {
|
|
3435
|
+
display: flex;
|
|
3436
|
+
align-items: center;
|
|
3437
|
+
gap: 10px;
|
|
3438
|
+
width: 100%;
|
|
3439
|
+
padding: 12px 14px;
|
|
3440
|
+
background: var(--code-bg);
|
|
3441
|
+
border: none;
|
|
3442
|
+
cursor: pointer;
|
|
3443
|
+
text-align: left;
|
|
3444
|
+
font-size: 13px;
|
|
3445
|
+
color: var(--text-color);
|
|
3446
|
+
transition: background 0.15s;
|
|
3447
|
+
}
|
|
3448
|
+
|
|
3449
|
+
.response-accordion-header:hover { background: var(--hover-bg); }
|
|
3450
|
+
|
|
3451
|
+
.response-accordion-caret {
|
|
3452
|
+
flex-shrink: 0;
|
|
3453
|
+
font-size: 10px;
|
|
3454
|
+
color: var(--text-muted);
|
|
3455
|
+
transition: transform 0.2s ease;
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
.response-accordion.open .response-accordion-caret {
|
|
3459
|
+
transform: rotate(90deg);
|
|
3460
|
+
}
|
|
3461
|
+
|
|
3462
|
+
.response-status-dot {
|
|
3463
|
+
width: 9px;
|
|
3464
|
+
height: 9px;
|
|
3465
|
+
border-radius: 50%;
|
|
3466
|
+
flex-shrink: 0;
|
|
3467
|
+
}
|
|
3468
|
+
|
|
3469
|
+
.response-status-dot.status-2xx { background: #10b981; }
|
|
3470
|
+
.response-status-dot.status-3xx { background: #3b82f6; }
|
|
3471
|
+
.response-status-dot.status-4xx { background: #f59e0b; }
|
|
3472
|
+
.response-status-dot.status-5xx { background: #ef4444; }
|
|
3473
|
+
|
|
3474
|
+
.response-status-code {
|
|
3475
|
+
font-family: 'SF Mono', 'Monaco', monospace;
|
|
3476
|
+
font-weight: 600;
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
.response-status-desc {
|
|
3480
|
+
color: var(--text-muted);
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
.response-accordion-body {
|
|
3484
|
+
padding: 14px;
|
|
3485
|
+
border-top: 1px solid var(--border-color);
|
|
3486
|
+
display: none;
|
|
3487
|
+
}
|
|
3488
|
+
|
|
3489
|
+
.response-accordion.open .response-accordion-body { display: block; }
|
|
3490
|
+
|
|
3491
|
+
.response-subhead {
|
|
3492
|
+
font-size: 11px;
|
|
3493
|
+
font-weight: 600;
|
|
3494
|
+
text-transform: uppercase;
|
|
3495
|
+
letter-spacing: 0.5px;
|
|
3496
|
+
color: var(--text-muted);
|
|
3497
|
+
margin: 0 0 8px;
|
|
3498
|
+
}
|
|
3499
|
+
|
|
3500
|
+
.response-block + .response-block { margin-top: 16px; }
|
|
3501
|
+
|
|
3502
|
+
/* Multi-language code samples */
|
|
3503
|
+
.http-code-samples {
|
|
3504
|
+
margin-top: 8px;
|
|
3505
|
+
border: 1px solid var(--border-color);
|
|
3506
|
+
border-radius: 8px;
|
|
3507
|
+
overflow: hidden;
|
|
3508
|
+
background: var(--code-bg);
|
|
3509
|
+
}
|
|
3510
|
+
|
|
3511
|
+
.http-code-samples .code-tabs {
|
|
3512
|
+
flex-wrap: wrap;
|
|
3513
|
+
background: rgba(0,0,0,0.04);
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3516
|
+
[data-theme="dark"] .http-code-samples .code-tabs {
|
|
3517
|
+
background: rgba(255,255,255,0.03);
|
|
3518
|
+
}
|
|
3519
|
+
|
|
3520
|
+
.http-code-sample-pre {
|
|
3521
|
+
margin: 0;
|
|
3522
|
+
padding: 14px;
|
|
3523
|
+
background: transparent;
|
|
3524
|
+
border: none;
|
|
3525
|
+
border-radius: 0;
|
|
3526
|
+
overflow-x: auto;
|
|
3527
|
+
font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
|
|
3528
|
+
font-size: 12px;
|
|
3529
|
+
line-height: 1.55;
|
|
3530
|
+
color: var(--text-color);
|
|
3531
|
+
white-space: pre;
|
|
3532
|
+
}
|
|
3533
|
+
|
|
3534
|
+
.http-code-copy {
|
|
3535
|
+
margin-left: auto;
|
|
3536
|
+
padding: 4px 10px;
|
|
3537
|
+
background: transparent;
|
|
3538
|
+
border: 1px solid var(--border-color);
|
|
3539
|
+
border-radius: 4px;
|
|
3540
|
+
color: var(--text-muted);
|
|
3541
|
+
font-size: 11px;
|
|
3542
|
+
cursor: pointer;
|
|
3543
|
+
transition: all 0.15s;
|
|
3544
|
+
}
|
|
3545
|
+
|
|
3546
|
+
.http-code-copy:hover { color: var(--text-color); border-color: var(--text-muted); }
|
|
3547
|
+
|
|
3548
|
+
/* Right panel (third column): keep request/response samples dark & legible
|
|
3549
|
+
regardless of the active theme, matching ReDoc's sample column. */
|
|
3550
|
+
.endpoint-right .endpoint-right-section + .endpoint-right-section {
|
|
3551
|
+
margin-top: 24px;
|
|
3552
|
+
}
|
|
3553
|
+
|
|
3554
|
+
.endpoint-right .http-code-samples {
|
|
3555
|
+
background: rgba(0,0,0,0.25);
|
|
3556
|
+
border-color: rgba(255,255,255,0.1);
|
|
3557
|
+
}
|
|
3558
|
+
|
|
3559
|
+
.endpoint-right .http-code-samples .code-tabs {
|
|
3560
|
+
background: rgba(0,0,0,0.2);
|
|
3561
|
+
border-color: rgba(255,255,255,0.1);
|
|
3562
|
+
}
|
|
3563
|
+
|
|
3564
|
+
.endpoint-right .http-code-sample-pre {
|
|
3565
|
+
color: var(--code-panel-text);
|
|
3566
|
+
}
|
|
3567
|
+
|
|
3568
|
+
.endpoint-right .code-tab {
|
|
3569
|
+
color: #90a4ae;
|
|
3570
|
+
}
|
|
3571
|
+
|
|
3572
|
+
.endpoint-right .code-tab.active {
|
|
3573
|
+
background: rgba(255,255,255,0.12);
|
|
3574
|
+
color: #fff;
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
.endpoint-right .response-subhead {
|
|
3578
|
+
color: #90a4ae;
|
|
3579
|
+
}
|
|
3580
|
+
|
|
3323
3581
|
/* ========== TRY IT OUT ========== */
|
|
3324
3582
|
.try-it-out {
|
|
3325
3583
|
background: rgba(0,0,0,0.2);
|
|
@@ -3452,28 +3710,35 @@
|
|
|
3452
3710
|
|
|
3453
3711
|
.try-it-actions {
|
|
3454
3712
|
margin-top: 16px;
|
|
3713
|
+
display: flex;
|
|
3714
|
+
gap: 8px;
|
|
3715
|
+
flex-wrap: wrap;
|
|
3455
3716
|
}
|
|
3456
3717
|
|
|
3457
3718
|
.try-it-send {
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3719
|
+
display: inline-flex;
|
|
3720
|
+
align-items: center;
|
|
3721
|
+
gap: 6px;
|
|
3722
|
+
width: auto;
|
|
3723
|
+
padding: 6px 14px;
|
|
3724
|
+
background: transparent;
|
|
3725
|
+
color: var(--primary-color);
|
|
3726
|
+
border: 1px solid var(--primary-color);
|
|
3727
|
+
border-radius: 5px;
|
|
3728
|
+
font-size: 12px;
|
|
3729
|
+
font-weight: 500;
|
|
3730
|
+
letter-spacing: 0.2px;
|
|
3466
3731
|
cursor: pointer;
|
|
3467
|
-
transition:
|
|
3732
|
+
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
|
3468
3733
|
}
|
|
3469
3734
|
|
|
3470
3735
|
.try-it-send:hover:not(:disabled) {
|
|
3471
|
-
background: var(--primary-
|
|
3472
|
-
|
|
3736
|
+
background: var(--primary-color);
|
|
3737
|
+
color: #fff;
|
|
3473
3738
|
}
|
|
3474
3739
|
|
|
3475
3740
|
.try-it-send:disabled {
|
|
3476
|
-
opacity: 0.
|
|
3741
|
+
opacity: 0.5;
|
|
3477
3742
|
cursor: not-allowed;
|
|
3478
3743
|
}
|
|
3479
3744
|
|