raffel 1.1.48 → 1.1.49

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.
@@ -3320,6 +3320,221 @@
3320
3320
  animation: fadeIn 0.3s ease-out;
3321
3321
  }
3322
3322
 
3323
+ /* ========== HTTP ENDPOINT (ReDoc-style) ========== */
3324
+ .http-param-group {
3325
+ margin-bottom: 20px;
3326
+ }
3327
+
3328
+ .http-param-group-title {
3329
+ font-size: 12px;
3330
+ font-weight: 600;
3331
+ text-transform: uppercase;
3332
+ letter-spacing: 0.5px;
3333
+ color: var(--text-muted);
3334
+ margin-bottom: 8px;
3335
+ }
3336
+
3337
+ .http-params {
3338
+ border: 1px solid var(--border-color);
3339
+ border-radius: 8px;
3340
+ overflow: hidden;
3341
+ }
3342
+
3343
+ .http-param {
3344
+ padding: 12px 16px;
3345
+ border-bottom: 1px solid var(--border-color);
3346
+ }
3347
+
3348
+ .http-param:last-child { border-bottom: none; }
3349
+
3350
+ .http-param-head {
3351
+ display: flex;
3352
+ align-items: center;
3353
+ flex-wrap: wrap;
3354
+ gap: 8px;
3355
+ }
3356
+
3357
+ .http-param-name {
3358
+ font-family: 'SF Mono', 'Monaco', monospace;
3359
+ font-size: 13px;
3360
+ font-weight: 600;
3361
+ color: var(--text-color);
3362
+ }
3363
+
3364
+ .http-param-required {
3365
+ font-size: 10px;
3366
+ font-weight: 600;
3367
+ text-transform: uppercase;
3368
+ letter-spacing: 0.4px;
3369
+ color: #ef4444;
3370
+ }
3371
+
3372
+ .http-param-deprecated {
3373
+ font-size: 10px;
3374
+ font-weight: 600;
3375
+ text-transform: uppercase;
3376
+ letter-spacing: 0.4px;
3377
+ color: #f59e0b;
3378
+ }
3379
+
3380
+ .http-param-desc {
3381
+ color: var(--text-muted);
3382
+ font-size: 13px;
3383
+ margin-top: 6px;
3384
+ line-height: 1.5;
3385
+ }
3386
+
3387
+ /* Validation constraint chips (reuses .schema-constraint look) */
3388
+ .constraint-chips {
3389
+ display: flex;
3390
+ flex-wrap: wrap;
3391
+ gap: 6px;
3392
+ margin-top: 8px;
3393
+ }
3394
+
3395
+ .constraint-chip {
3396
+ font-size: 11px;
3397
+ padding: 2px 8px;
3398
+ border-radius: 4px;
3399
+ background: var(--code-bg);
3400
+ color: var(--text-muted);
3401
+ border: 1px solid var(--border-color);
3402
+ font-family: 'SF Mono', 'Monaco', monospace;
3403
+ }
3404
+
3405
+ .constraint-chip.constraint-enum {
3406
+ background: #fef3c7;
3407
+ color: #92400e;
3408
+ border-color: transparent;
3409
+ }
3410
+
3411
+ [data-theme="dark"] .constraint-chip.constraint-enum {
3412
+ background: #451a03;
3413
+ color: #fbbf24;
3414
+ }
3415
+
3416
+ /* Response accordions */
3417
+ .response-accordion {
3418
+ border: 1px solid var(--border-color);
3419
+ border-radius: 8px;
3420
+ margin-bottom: 10px;
3421
+ overflow: hidden;
3422
+ }
3423
+
3424
+ .response-accordion-header {
3425
+ display: flex;
3426
+ align-items: center;
3427
+ gap: 10px;
3428
+ width: 100%;
3429
+ padding: 12px 14px;
3430
+ background: var(--code-bg);
3431
+ border: none;
3432
+ cursor: pointer;
3433
+ text-align: left;
3434
+ font-size: 13px;
3435
+ color: var(--text-color);
3436
+ transition: background 0.15s;
3437
+ }
3438
+
3439
+ .response-accordion-header:hover { background: var(--hover-bg); }
3440
+
3441
+ .response-accordion-caret {
3442
+ flex-shrink: 0;
3443
+ font-size: 10px;
3444
+ color: var(--text-muted);
3445
+ transition: transform 0.2s ease;
3446
+ }
3447
+
3448
+ .response-accordion.open .response-accordion-caret {
3449
+ transform: rotate(90deg);
3450
+ }
3451
+
3452
+ .response-status-dot {
3453
+ width: 9px;
3454
+ height: 9px;
3455
+ border-radius: 50%;
3456
+ flex-shrink: 0;
3457
+ }
3458
+
3459
+ .response-status-dot.status-2xx { background: #10b981; }
3460
+ .response-status-dot.status-3xx { background: #3b82f6; }
3461
+ .response-status-dot.status-4xx { background: #f59e0b; }
3462
+ .response-status-dot.status-5xx { background: #ef4444; }
3463
+
3464
+ .response-status-code {
3465
+ font-family: 'SF Mono', 'Monaco', monospace;
3466
+ font-weight: 600;
3467
+ }
3468
+
3469
+ .response-status-desc {
3470
+ color: var(--text-muted);
3471
+ }
3472
+
3473
+ .response-accordion-body {
3474
+ padding: 14px;
3475
+ border-top: 1px solid var(--border-color);
3476
+ display: none;
3477
+ }
3478
+
3479
+ .response-accordion.open .response-accordion-body { display: block; }
3480
+
3481
+ .response-subhead {
3482
+ font-size: 11px;
3483
+ font-weight: 600;
3484
+ text-transform: uppercase;
3485
+ letter-spacing: 0.5px;
3486
+ color: var(--text-muted);
3487
+ margin: 0 0 8px;
3488
+ }
3489
+
3490
+ .response-block + .response-block { margin-top: 16px; }
3491
+
3492
+ /* Multi-language code samples */
3493
+ .http-code-samples {
3494
+ margin-top: 8px;
3495
+ border: 1px solid var(--border-color);
3496
+ border-radius: 8px;
3497
+ overflow: hidden;
3498
+ background: var(--code-bg);
3499
+ }
3500
+
3501
+ .http-code-samples .code-tabs {
3502
+ flex-wrap: wrap;
3503
+ background: rgba(0,0,0,0.04);
3504
+ }
3505
+
3506
+ [data-theme="dark"] .http-code-samples .code-tabs {
3507
+ background: rgba(255,255,255,0.03);
3508
+ }
3509
+
3510
+ .http-code-sample-pre {
3511
+ margin: 0;
3512
+ padding: 14px;
3513
+ background: transparent;
3514
+ border: none;
3515
+ border-radius: 0;
3516
+ overflow-x: auto;
3517
+ font-family: 'SF Mono', 'Fira Code', 'Monaco', monospace;
3518
+ font-size: 12px;
3519
+ line-height: 1.55;
3520
+ color: var(--text-color);
3521
+ white-space: pre;
3522
+ }
3523
+
3524
+ .http-code-copy {
3525
+ margin-left: auto;
3526
+ padding: 4px 10px;
3527
+ background: transparent;
3528
+ border: 1px solid var(--border-color);
3529
+ border-radius: 4px;
3530
+ color: var(--text-muted);
3531
+ font-size: 11px;
3532
+ cursor: pointer;
3533
+ transition: all 0.15s;
3534
+ }
3535
+
3536
+ .http-code-copy:hover { color: var(--text-color); border-color: var(--text-muted); }
3537
+
3323
3538
  /* ========== TRY IT OUT ========== */
3324
3539
  .try-it-out {
3325
3540
  background: rgba(0,0,0,0.2);
@@ -3452,28 +3667,35 @@
3452
3667
 
3453
3668
  .try-it-actions {
3454
3669
  margin-top: 16px;
3670
+ display: flex;
3671
+ gap: 8px;
3672
+ flex-wrap: wrap;
3455
3673
  }
3456
3674
 
3457
3675
  .try-it-send {
3458
- width: 100%;
3459
- padding: 12px 20px;
3460
- background: var(--primary-color);
3461
- color: white;
3462
- border: none;
3463
- border-radius: 6px;
3464
- font-size: 14px;
3465
- font-weight: 600;
3676
+ display: inline-flex;
3677
+ align-items: center;
3678
+ gap: 6px;
3679
+ width: auto;
3680
+ padding: 6px 14px;
3681
+ background: transparent;
3682
+ color: var(--primary-color);
3683
+ border: 1px solid var(--primary-color);
3684
+ border-radius: 5px;
3685
+ font-size: 12px;
3686
+ font-weight: 500;
3687
+ letter-spacing: 0.2px;
3466
3688
  cursor: pointer;
3467
- transition: all 0.15s;
3689
+ transition: background 0.15s, color 0.15s, border-color 0.15s;
3468
3690
  }
3469
3691
 
3470
3692
  .try-it-send:hover:not(:disabled) {
3471
- background: var(--primary-hover);
3472
- transform: translateY(-1px);
3693
+ background: var(--primary-color);
3694
+ color: #fff;
3473
3695
  }
3474
3696
 
3475
3697
  .try-it-send:disabled {
3476
- opacity: 0.6;
3698
+ opacity: 0.5;
3477
3699
  cursor: not-allowed;
3478
3700
  }
3479
3701