@scalar/api-reference-react 0.9.49 → 0.9.51

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/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.51
4
+
5
+ ## 0.9.50
6
+
3
7
  ## 0.9.49
4
8
 
5
9
  ## 0.9.48
package/dist/style.css CHANGED
@@ -2428,40 +2428,40 @@ input[data-v-a6f4752a]::placeholder {
2428
2428
  padding: 6px 12px;
2429
2429
  display: flex;
2430
2430
  }
2431
- .request-card[data-v-b977c9e1] {
2431
+ .request-card[data-v-e8761738] {
2432
2432
  color: var(--scalar-color-1);
2433
2433
  font-size: var(--scalar-font-size-3);
2434
2434
  }
2435
- .request-method[data-v-b977c9e1] {
2435
+ .request-method[data-v-e8761738] {
2436
2436
  font-family: var(--scalar-font-code);
2437
2437
  text-transform: uppercase;
2438
2438
  margin-right: 6px;
2439
2439
  }
2440
- .request-card-footer[data-v-b977c9e1] {
2440
+ .request-card-footer[data-v-e8761738] {
2441
2441
  flex-shrink: 0;
2442
2442
  justify-content: flex-end;
2443
2443
  padding: 6px;
2444
2444
  display: flex;
2445
2445
  position: relative;
2446
2446
  }
2447
- .request-card-footer-addon[data-v-b977c9e1] {
2447
+ .request-card-footer-addon[data-v-e8761738] {
2448
2448
  flex: 1;
2449
2449
  align-items: center;
2450
2450
  min-width: 0;
2451
2451
  display: flex;
2452
2452
  }
2453
- .request-editor-section[data-v-b977c9e1] {
2453
+ .request-editor-section[data-v-e8761738] {
2454
2454
  flex: 1;
2455
2455
  display: flex;
2456
2456
  }
2457
- .request-card-simple[data-v-b977c9e1] {
2457
+ .request-card-simple[data-v-e8761738] {
2458
2458
  font-size: var(--scalar-small);
2459
2459
  justify-content: space-between;
2460
2460
  align-items: center;
2461
2461
  padding: 8px 8px 8px 12px;
2462
2462
  display: flex;
2463
2463
  }
2464
- .code-snippet[data-v-b977c9e1] {
2464
+ .code-snippet[data-v-e8761738] {
2465
2465
  flex-direction: column;
2466
2466
  width: 100%;
2467
2467
  display: flex;
@@ -8439,7 +8439,7 @@ code.property-detail-value[data-v-1295f965] {
8439
8439
  .deprecated[data-v-18714eaa] {
8440
8440
  text-decoration: line-through;
8441
8441
  }
8442
- .property[data-v-f14a8d89] {
8442
+ .property[data-v-3bdda27e] {
8443
8443
  color: var(--scalar-color-1);
8444
8444
  display: flex;
8445
8445
  flex-direction: column;
@@ -8448,7 +8448,7 @@ code.property-detail-value[data-v-1295f965] {
8448
8448
  position: relative;
8449
8449
  }
8450
8450
  /** Remove top padding for top level schema card */
8451
- .property.property--level-0[data-v-f14a8d89]:has(
8451
+ .property.property--level-0[data-v-3bdda27e]:has(
8452
8452
  > .property-rule
8453
8453
  > .schema-card
8454
8454
  > .schema-properties.schema-properties-open
@@ -8457,24 +8457,24 @@ code.property-detail-value[data-v-1295f965] {
8457
8457
  ) {
8458
8458
  padding-top: 0;
8459
8459
  }
8460
- .property--compact.property--level-0[data-v-f14a8d89],
8461
- .property--compact.property--level-1[data-v-f14a8d89] {
8460
+ .property--compact.property--level-0[data-v-3bdda27e],
8461
+ .property--compact.property--level-1[data-v-3bdda27e] {
8462
8462
  padding: 10px 0;
8463
8463
  }
8464
- .composition-panel .property.property.property.property--level-0[data-v-f14a8d89] {
8464
+ .composition-panel .property.property.property.property--level-0[data-v-3bdda27e] {
8465
8465
  padding: 0px;
8466
8466
  }
8467
8467
  .property--compact.property--level-0
8468
8468
  .composition-panel
8469
- .property--compact.property--level-1[data-v-f14a8d89] {
8469
+ .property--compact.property--level-1[data-v-3bdda27e] {
8470
8470
  padding: 8px;
8471
8471
  }
8472
8472
  /* if a property doesn't have a heading, remove the top padding */
8473
- .property[data-v-f14a8d89]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8473
+ .property[data-v-3bdda27e]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8474
8474
  padding-top: 8px;
8475
8475
  padding-bottom: 8px;
8476
8476
  }
8477
- .property--deprecated[data-v-f14a8d89] {
8477
+ .property--deprecated[data-v-3bdda27e] {
8478
8478
  background: repeating-linear-gradient(
8479
8479
  -45deg,
8480
8480
  var(--scalar-background-2) 0,
@@ -8484,49 +8484,49 @@ code.property-detail-value[data-v-1295f965] {
8484
8484
  );
8485
8485
  background-size: 100%;
8486
8486
  }
8487
- .property--deprecated[data-v-f14a8d89] > * {
8487
+ .property--deprecated[data-v-3bdda27e] > * {
8488
8488
  opacity: 0.75;
8489
8489
  }
8490
- .property-description[data-v-f14a8d89] {
8490
+ .property-description[data-v-3bdda27e] {
8491
8491
  margin-top: 6px;
8492
8492
  line-height: 1.4;
8493
8493
  font-size: var(--scalar-small);
8494
8494
  }
8495
- .property-description[data-v-f14a8d89]:has(+ .property-rule) {
8495
+ .property-description[data-v-3bdda27e]:has(+ .property-rule) {
8496
8496
  margin-bottom: 9px;
8497
8497
  }
8498
- [data-v-f14a8d89] .property-description * {
8498
+ [data-v-3bdda27e] .property-description * {
8499
8499
  color: var(--scalar-color-2) !important;
8500
8500
  }
8501
- .property[data-v-f14a8d89]:not(:last-of-type) {
8501
+ .property[data-v-3bdda27e]:not(:last-of-type) {
8502
8502
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8503
8503
  }
8504
- .property-description + .children[data-v-f14a8d89],
8505
- .children + .property-rule[data-v-f14a8d89] {
8504
+ .property-description + .children[data-v-3bdda27e],
8505
+ .children + .property-rule[data-v-3bdda27e] {
8506
8506
  margin-top: 9px;
8507
8507
  }
8508
- .children[data-v-f14a8d89] {
8508
+ .children[data-v-3bdda27e] {
8509
8509
  display: flex;
8510
8510
  flex-direction: column;
8511
8511
  }
8512
- .children .property--compact.property--level-1[data-v-f14a8d89] {
8512
+ .children .property--compact.property--level-1[data-v-3bdda27e] {
8513
8513
  padding: 12px;
8514
8514
  }
8515
- .property-example-value[data-v-f14a8d89] {
8515
+ .property-example-value[data-v-3bdda27e] {
8516
8516
  all: unset;
8517
8517
  font-family: var(--scalar-font-code);
8518
8518
  padding: 6px;
8519
8519
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
8520
8520
  }
8521
- .property-rule[data-v-f14a8d89] {
8521
+ .property-rule[data-v-3bdda27e] {
8522
8522
  border-radius: var(--scalar-radius-lg);
8523
8523
  display: flex;
8524
8524
  flex-direction: column;
8525
8525
  }
8526
- .property--level-2[data-v-f14a8d89] .relative > button {
8526
+ .property--level-2[data-v-3bdda27e] .relative > button {
8527
8527
  left: -2rem;
8528
8528
  }
8529
- .property-rule[data-v-f14a8d89]
8529
+ .property-rule[data-v-3bdda27e]
8530
8530
 
8531
8531
  .composition-panel
8532
8532
  .schema-card--level-1
@@ -8534,7 +8534,7 @@ code.property-detail-value[data-v-1295f965] {
8534
8534
  {
8535
8535
  border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);
8536
8536
  }
8537
- .property-rule[data-v-f14a8d89]
8537
+ .property-rule[data-v-3bdda27e]
8538
8538
  .composition-panel > .schema-card > .schema-card-description {
8539
8539
  padding: 10px;
8540
8540
  border-left: var(--scalar-border-width) solid var(--scalar-border-color);
@@ -8543,29 +8543,29 @@ code.property-detail-value[data-v-1295f965] {
8543
8543
  margin-top: 0;
8544
8544
  }
8545
8545
  }
8546
- .property-example[data-v-f14a8d89] {
8546
+ .property-example[data-v-3bdda27e] {
8547
8547
  background: transparent;
8548
8548
  border: none;
8549
8549
  display: flex;
8550
8550
  flex-direction: row;
8551
8551
  gap: 8px;
8552
8552
  }
8553
- .property-example-label[data-v-f14a8d89],
8554
- .property-example-value[data-v-f14a8d89] {
8553
+ .property-example-label[data-v-3bdda27e],
8554
+ .property-example-value[data-v-3bdda27e] {
8555
8555
  padding: 3px 0 0 0;
8556
8556
  }
8557
- .property-example-value[data-v-f14a8d89] {
8557
+ .property-example-value[data-v-3bdda27e] {
8558
8558
  background: var(--scalar-background-2);
8559
8559
  border-top: 0;
8560
8560
  border-radius: var(--scalar-radius);
8561
8561
  padding: 3px 4px;
8562
8562
  }
8563
- .property-name[data-v-f14a8d89] {
8563
+ .property-name[data-v-3bdda27e] {
8564
8564
  font-family: var(--scalar-font-code);
8565
8565
  font-weight: var(--scalar-semibold);
8566
8566
  }
8567
- .property-name-additional-properties[data-v-f14a8d89]::before,
8568
- .property-name-pattern-properties[data-v-f14a8d89]::before {
8567
+ .property-name-additional-properties[data-v-3bdda27e]::before,
8568
+ .property-name-pattern-properties[data-v-3bdda27e]::before {
8569
8569
  text-transform: uppercase;
8570
8570
  font-size: var(--scalar-micro);
8571
8571
  display: inline-block;
@@ -8576,25 +8576,25 @@ code.property-detail-value[data-v-1295f965] {
8576
8576
  background-color: var(--scalar-background-2);
8577
8577
  margin-right: 4px;
8578
8578
  }
8579
- .property-name-pattern-properties[data-v-f14a8d89]::before {
8579
+ .property-name-pattern-properties[data-v-3bdda27e]::before {
8580
8580
  content: 'regex';
8581
8581
  }
8582
- .property-name-additional-properties[data-v-f14a8d89],
8583
- .property-name-pattern-properties[data-v-f14a8d89] {
8582
+ .property-name-additional-properties[data-v-3bdda27e],
8583
+ .property-name-pattern-properties[data-v-3bdda27e] {
8584
8584
  border: 1px dashed var(--scalar-border-color);
8585
8585
  color: var(--scalar-color-accent);
8586
8586
  display: inline-block;
8587
8587
  padding: 2px;
8588
8588
  border-radius: var(--scalar-radius);
8589
8589
  }
8590
- .error[data-v-b482770e] {
8590
+ .error[data-v-e811e294] {
8591
8591
  background-color: var(--scalar-color-red);
8592
8592
  }
8593
- .schema-card[data-v-b482770e] {
8593
+ .schema-card[data-v-e811e294] {
8594
8594
  font-size: var(--scalar-font-size-4);
8595
8595
  color: var(--scalar-color-1);
8596
8596
  }
8597
- .schema-card-title[data-v-b482770e] {
8597
+ .schema-card-title[data-v-e811e294] {
8598
8598
  height: var(--schema-title-height);
8599
8599
 
8600
8600
  padding: 6px 8px;
@@ -8608,48 +8608,48 @@ code.property-detail-value[data-v-1295f965] {
8608
8608
  font-size: var(--scalar-mini);
8609
8609
  border-bottom: var(--scalar-border-width) solid transparent;
8610
8610
  }
8611
- button.schema-card-title[data-v-b482770e] {
8611
+ button.schema-card-title[data-v-e811e294] {
8612
8612
  cursor: pointer;
8613
8613
  }
8614
- button.schema-card-title[data-v-b482770e]:hover {
8614
+ button.schema-card-title[data-v-e811e294]:hover {
8615
8615
  color: var(--scalar-color-1);
8616
8616
  }
8617
- .schema-card-title-icon--open[data-v-b482770e] {
8617
+ .schema-card-title-icon--open[data-v-e811e294] {
8618
8618
  transform: rotate(45deg);
8619
8619
  }
8620
- .schema-properties-open > .schema-card-title[data-v-b482770e] {
8620
+ .schema-properties-open > .schema-card-title[data-v-e811e294] {
8621
8621
  border-bottom-left-radius: 0;
8622
8622
  border-bottom-right-radius: 0;
8623
8623
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8624
8624
  }
8625
- .schema-properties-open > .schema-properties[data-v-b482770e] {
8625
+ .schema-properties-open > .schema-properties[data-v-e811e294] {
8626
8626
  width: fit-content;
8627
8627
  }
8628
- .schema-card-description[data-v-b482770e] {
8628
+ .schema-card-description[data-v-e811e294] {
8629
8629
  color: var(--scalar-color-2);
8630
8630
  }
8631
- .schema-card-description + .schema-properties[data-v-b482770e] {
8631
+ .schema-card-description + .schema-properties[data-v-e811e294] {
8632
8632
  width: fit-content;
8633
8633
  }
8634
- .schema-card-description + .schema-properties[data-v-b482770e] {
8634
+ .schema-card-description + .schema-properties[data-v-e811e294] {
8635
8635
  margin-top: 8px;
8636
8636
  }
8637
8637
  .schema-card--level-0:nth-of-type(1)
8638
- > .schema-card-description[data-v-b482770e]:has(+ .schema-properties) {
8638
+ > .schema-card-description[data-v-e811e294]:has(+ .schema-properties) {
8639
8639
  margin-bottom: -8px;
8640
8640
  padding-bottom: 8px;
8641
8641
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8642
8642
  }
8643
8643
  .schema-card--level-0
8644
8644
  ~ .schema-card--level-0
8645
- > .schema-card-description[data-v-b482770e]:has(+ .schema-properties) {
8645
+ > .schema-card-description[data-v-e811e294]:has(+ .schema-properties) {
8646
8646
  padding-top: 8px;
8647
8647
  }
8648
- .schema-properties-open.schema-properties[data-v-b482770e],
8649
- .schema-properties-open > .schema-card--open[data-v-b482770e] {
8648
+ .schema-properties-open.schema-properties[data-v-e811e294],
8649
+ .schema-properties-open > .schema-card--open[data-v-e811e294] {
8650
8650
  width: 100%;
8651
8651
  }
8652
- .schema-properties[data-v-b482770e] {
8652
+ .schema-properties[data-v-e811e294] {
8653
8653
  display: flex;
8654
8654
  flex-direction: column;
8655
8655
 
@@ -8657,63 +8657,63 @@ button.schema-card-title[data-v-b482770e]:hover {
8657
8657
  border-radius: var(--scalar-radius-lg);
8658
8658
  width: fit-content;
8659
8659
  }
8660
- .schema-properties-name[data-v-b482770e] {
8660
+ .schema-properties-name[data-v-e811e294] {
8661
8661
  width: 100%;
8662
8662
  }
8663
- .schema-properties .schema-properties[data-v-b482770e] {
8663
+ .schema-properties .schema-properties[data-v-e811e294] {
8664
8664
  border-radius: 13.5px;
8665
8665
  }
8666
- .schema-properties .schema-properties.schema-properties-open[data-v-b482770e] {
8666
+ .schema-properties .schema-properties.schema-properties-open[data-v-e811e294] {
8667
8667
  border-radius: var(--scalar-radius-lg);
8668
8668
  }
8669
- .schema-properties-open[data-v-b482770e] {
8669
+ .schema-properties-open[data-v-e811e294] {
8670
8670
  width: 100%;
8671
8671
  }
8672
- .schema-card--compact[data-v-b482770e] {
8672
+ .schema-card--compact[data-v-e811e294] {
8673
8673
  align-self: flex-start;
8674
8674
  }
8675
- .schema-card--compact.schema-card--open[data-v-b482770e] {
8675
+ .schema-card--compact.schema-card--open[data-v-e811e294] {
8676
8676
  align-self: initial;
8677
8677
  }
8678
- .schema-card-title--compact[data-v-b482770e] {
8678
+ .schema-card-title--compact[data-v-e811e294] {
8679
8679
  color: var(--scalar-color-2);
8680
8680
  padding: 6px 10px 6px 8px;
8681
8681
  height: auto;
8682
8682
  border-bottom: none;
8683
8683
  }
8684
- .schema-card-title--compact > .schema-card-title-icon[data-v-b482770e] {
8684
+ .schema-card-title--compact > .schema-card-title-icon[data-v-e811e294] {
8685
8685
  margin: 0;
8686
8686
  }
8687
- .schema-card-title--compact > .schema-card-title-icon--open[data-v-b482770e] {
8687
+ .schema-card-title--compact > .schema-card-title-icon--open[data-v-e811e294] {
8688
8688
  transform: rotate(45deg);
8689
8689
  }
8690
- .schema-properties-open > .schema-card-title--compact[data-v-b482770e] {
8690
+ .schema-properties-open > .schema-card-title--compact[data-v-e811e294] {
8691
8691
  position: static;
8692
8692
  }
8693
8693
  .property--level-0
8694
8694
  > .schema-properties
8695
8695
  > .schema-card--level-0
8696
- > .schema-properties[data-v-b482770e] {
8696
+ > .schema-properties[data-v-e811e294] {
8697
8697
  border: none;
8698
8698
  }
8699
8699
  .property--level-0
8700
8700
  .schema-card--level-0:not(.schema-card--compact)
8701
- .property--level-1[data-v-b482770e] {
8701
+ .property--level-1[data-v-e811e294] {
8702
8702
  padding: 0 0 8px;
8703
8703
  }
8704
8704
  :not(.composition-panel)
8705
8705
  > .schema-card--compact.schema-card--level-0
8706
- > .schema-properties[data-v-b482770e] {
8706
+ > .schema-properties[data-v-e811e294] {
8707
8707
  border: none;
8708
8708
  }
8709
- [data-v-b482770e] .schema-card-description p {
8709
+ [data-v-e811e294] .schema-card-description p {
8710
8710
  font-size: var(--scalar-small, var(--scalar-paragraph));
8711
8711
  color: var(--scalar-color-2);
8712
8712
  margin-bottom: 0;
8713
8713
  display: block;
8714
8714
  margin-bottom: 6px;
8715
8715
  }
8716
- .children .schema-card-description[data-v-b482770e]:first-of-type {
8716
+ .children .schema-card-description[data-v-e811e294]:first-of-type {
8717
8717
  padding-top: 0;
8718
8718
  }
8719
8719
  .section-wrapper[data-v-ff689b94] {
@@ -9074,13 +9074,13 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9074
9074
  outline-offset: 2px;
9075
9075
  border-radius: var(--scalar-radius);
9076
9076
  }
9077
- .channel-section[data-v-067fde89] {
9077
+ .channel-section[data-v-2b0efcde] {
9078
9078
  margin-bottom: 48px;
9079
9079
  }
9080
- .channel-labels[data-v-067fde89] {
9080
+ .channel-labels[data-v-2b0efcde] {
9081
9081
  margin-bottom: 8px;
9082
9082
  }
9083
- .channel-description[data-v-067fde89] {
9083
+ .channel-description[data-v-2b0efcde] {
9084
9084
  padding-bottom: 4px;
9085
9085
  text-align: left;
9086
9086
  }
@@ -9195,6 +9195,31 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9195
9195
  .tag-section-group .tag-section[data-v-ee09ae3d]:last-of-type {
9196
9196
  margin-bottom: 0;
9197
9197
  }
9198
+ .channels-card[data-v-817abeb3] {
9199
+ position: sticky;
9200
+ top: calc(var(--refs-viewport-offset) + 24px);
9201
+ font-size: var(--scalar-font-size-3);
9202
+ }
9203
+ .channels[data-v-817abeb3] {
9204
+ overflow: auto;
9205
+ background: var(--scalar-background-2);
9206
+ padding: 10px 12px;
9207
+ width: 100%;
9208
+ }
9209
+ .channel[data-v-817abeb3] {
9210
+ display: flex;
9211
+ white-space: nowrap;
9212
+ cursor: pointer;
9213
+ text-decoration: none;
9214
+ color: var(--scalar-color-1);
9215
+ line-height: 1.55;
9216
+ font-family: var(--scalar-font-code);
9217
+ font-size: var(--scalar-small);
9218
+ }
9219
+ .channel[data-v-817abeb3]:hover,
9220
+ .channel[data-v-817abeb3]:focus-visible {
9221
+ text-decoration: underline;
9222
+ }
9198
9223
  .endpoint[data-v-ad8530a6] {
9199
9224
  display: flex;
9200
9225
  white-space: nowrap;
@@ -9257,10 +9282,10 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9257
9282
  .deprecated[data-v-ec6c8861] {
9258
9283
  text-decoration: line-through;
9259
9284
  }
9260
- .request-body[data-v-6092df54] {
9285
+ .request-body[data-v-96399c9a] {
9261
9286
  margin-top: 24px;
9262
9287
  }
9263
- .request-body-header[data-v-6092df54] {
9288
+ .request-body-header[data-v-96399c9a] {
9264
9289
  display: flex;
9265
9290
  align-items: center;
9266
9291
  justify-content: space-between;
@@ -9268,7 +9293,7 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9268
9293
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
9269
9294
  flex-flow: wrap;
9270
9295
  }
9271
- .request-body-title[data-v-6092df54] {
9296
+ .request-body-title[data-v-96399c9a] {
9272
9297
  display: flex;
9273
9298
  align-items: center;
9274
9299
  gap: 8px;
@@ -9276,7 +9301,7 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9276
9301
  font-weight: var(--scalar-semibold);
9277
9302
  color: var(--scalar-color-1);
9278
9303
  }
9279
- .request-body-required[data-v-6092df54] {
9304
+ .request-body-required[data-v-96399c9a] {
9280
9305
  font-size: var(--scalar-micro);
9281
9306
  color: var(--scalar-color-orange);
9282
9307
  font-weight: normal;
@@ -9285,21 +9310,21 @@ button.headers-card-title[data-v-b7ba0e6f]:hover {
9285
9310
  padding: 2px 8px;
9286
9311
  height: 20px;
9287
9312
  }
9288
- .request-body-description[data-v-6092df54] {
9313
+ .request-body-description[data-v-96399c9a] {
9289
9314
  margin-top: 6px;
9290
9315
  font-size: var(--scalar-small);
9291
9316
  width: 100%;
9292
9317
  }
9293
9318
  .request-body-header
9294
- + .request-body-schema[data-v-6092df54]:has(> .schema-card > .schema-card-description),
9319
+ + .request-body-schema[data-v-96399c9a]:has(> .schema-card > .schema-card-description),
9295
9320
  .request-body-header
9296
- + .request-body-schema[data-v-6092df54]:has(
9321
+ + .request-body-schema[data-v-96399c9a]:has(
9297
9322
  > .schema-card > .schema-properties > * > .property--level-0
9298
9323
  ) {
9299
9324
  /** Add a bit of space between the heading border and the schema description or properties */
9300
9325
  padding-top: 8px;
9301
9326
  }
9302
- .request-body-description[data-v-6092df54] .markdown * {
9327
+ .request-body-description[data-v-96399c9a] .markdown * {
9303
9328
  color: var(--scalar-color-2) !important;
9304
9329
  }
9305
9330
  .callback-sticky-offset[data-v-474e6fa6] {
@@ -10180,7 +10205,7 @@ body {
10180
10205
  }
10181
10206
  /* Configurable Layout Variables */
10182
10207
  @layer scalar-config {
10183
- .scalar-api-reference[data-v-876968b6] {
10208
+ .scalar-api-reference[data-v-eae03b69] {
10184
10209
  /* The header height */
10185
10210
  --refs-header-height: calc(
10186
10211
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -10202,19 +10227,19 @@ body {
10202
10227
  /* The maximum width of the content column */
10203
10228
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
10204
10229
  }
10205
- .scalar-api-reference.references-classic[data-v-876968b6] {
10230
+ .scalar-api-reference.references-classic[data-v-eae03b69] {
10206
10231
  /* Classic layout is wider */
10207
10232
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
10208
10233
  min-height: 100dvh;
10209
10234
  --refs-sidebar-width: 0;
10210
10235
  }
10211
10236
  }
10212
- .t-doc__sidebar[data-v-876968b6] {
10237
+ .t-doc__sidebar[data-v-eae03b69] {
10213
10238
  z-index: 10;
10214
10239
  }
10215
10240
  /* ----------------------------------------------------- */
10216
10241
  /* References Layout */
10217
- .references-layout[data-v-876968b6] {
10242
+ .references-layout[data-v-eae03b69] {
10218
10243
  /* Try to fill the container */
10219
10244
  min-height: 100dvh;
10220
10245
  min-width: 100%;
@@ -10238,31 +10263,31 @@ body {
10238
10263
 
10239
10264
  background: var(--scalar-background-1);
10240
10265
  }
10241
- .references-editor[data-v-876968b6] {
10266
+ .references-editor[data-v-eae03b69] {
10242
10267
  grid-area: editor;
10243
10268
  display: flex;
10244
10269
  min-width: 0;
10245
10270
  background: var(--scalar-background-1);
10246
10271
  }
10247
- .references-rendered[data-v-876968b6] {
10272
+ .references-rendered[data-v-eae03b69] {
10248
10273
  position: relative;
10249
10274
  grid-area: rendered;
10250
10275
  min-width: 0;
10251
10276
  background: var(--scalar-background-1);
10252
10277
  }
10253
- .scalar-api-reference.references-classic[data-v-876968b6],
10254
- .references-classic .references-rendered[data-v-876968b6] {
10278
+ .scalar-api-reference.references-classic[data-v-eae03b69],
10279
+ .references-classic .references-rendered[data-v-eae03b69] {
10255
10280
  height: initial !important;
10256
10281
  max-height: initial !important;
10257
10282
  }
10258
10283
  @layer scalar-config {
10259
- .references-sidebar[data-v-876968b6] {
10284
+ .references-sidebar[data-v-eae03b69] {
10260
10285
  /* Set a default width if references are enabled */
10261
10286
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
10262
10287
  }
10263
10288
  }
10264
10289
  /* Footer */
10265
- .references-footer[data-v-876968b6] {
10290
+ .references-footer[data-v-eae03b69] {
10266
10291
  grid-area: footer;
10267
10292
  }
10268
10293
  /* ----------------------------------------------------- */
@@ -10277,12 +10302,12 @@ body {
10277
10302
  */
10278
10303
  @media (width < 1000px) {
10279
10304
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
10280
- .references-developer-tools[data-v-876968b6] {
10305
+ .references-developer-tools[data-v-eae03b69] {
10281
10306
  display: none;
10282
10307
  }
10283
10308
 
10284
10309
  /* Stack view on mobile */
10285
- .references-layout[data-v-876968b6] {
10310
+ .references-layout[data-v-eae03b69] {
10286
10311
  /* Adjust the sidebar height to the viewport height minus the header height */
10287
10312
  --refs-sidebar-height: calc(
10288
10313
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -10297,13 +10322,13 @@ body {
10297
10322
  'rendered'
10298
10323
  'footer';
10299
10324
  }
10300
- .references-editable[data-v-876968b6] {
10325
+ .references-editable[data-v-eae03b69] {
10301
10326
  grid-template-areas:
10302
10327
  'header'
10303
10328
  'navigation'
10304
10329
  'editor';
10305
10330
  }
10306
- .references-rendered[data-v-876968b6] {
10331
+ .references-rendered[data-v-eae03b69] {
10307
10332
  position: static;
10308
10333
  }
10309
10334
  }
@@ -10314,11 +10339,11 @@ body {
10314
10339
  */
10315
10340
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
10316
10341
  @media (width < 1000px) {
10317
- .scalar-api-references-standalone-mobile[data-v-876968b6]:not(.references-classic) {
10342
+ .scalar-api-references-standalone-mobile[data-v-eae03b69]:not(.references-classic) {
10318
10343
  --scalar-header-height: 50px;
10319
10344
  }
10320
10345
  }
10321
- .darklight-reference[data-v-876968b6] {
10346
+ .darklight-reference[data-v-eae03b69] {
10322
10347
  width: 100%;
10323
10348
  margin-top: auto;
10324
10349
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.49",
21
+ "version": "0.9.51",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-reference": "1.62.0",
43
- "@scalar/types": "0.16.0"
42
+ "@scalar/api-reference": "1.62.2",
43
+ "@scalar/types": "0.16.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.2.7",