@scalar/api-reference-react 0.9.47 → 0.9.48

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,7 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.48
4
+
3
5
  ## 0.9.47
4
6
 
5
7
  ## 0.9.46
package/dist/style.css CHANGED
@@ -435,7 +435,11 @@
435
435
  border-radius: var(--scalar-radius);
436
436
  border-width: 1px;
437
437
  }
438
- :where(.scalar-app) input::placeholder {
438
+ :where(.scalar-app) input::placeholder, :where(.scalar-app) text-area::placeholder {
439
+ color: var(--scalar-color-3);
440
+ font-family: var(--scalar-font);
441
+ }
442
+ :where(.scalar-app) ::-webkit-input-placeholder {
439
443
  color: var(--scalar-color-3);
440
444
  font-family: var(--scalar-font);
441
445
  }
@@ -2105,19 +2109,19 @@
2105
2109
  background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
2106
2110
  }
2107
2111
  }
2108
- [data-v-e83eb7d0] .code-input-lite__editor {
2112
+ [data-v-6b2d7899] .code-input-lite__editor {
2109
2113
  font-family: var(--scalar-font);
2110
2114
  font-size: var(--scalar-small);
2111
2115
  background-color: #0000;
2112
2116
  padding: 5px 8px;
2113
2117
  }
2114
- [data-v-e83eb7d0] .scalar-pill:not(:last-of-type) {
2118
+ [data-v-6b2d7899] .scalar-pill:not(:last-of-type) {
2115
2119
  margin-right: .15em;
2116
2120
  }
2117
- [data-v-e83eb7d0] .scalar-pill:not(:first-of-type) {
2121
+ [data-v-6b2d7899] .scalar-pill:not(:first-of-type) {
2118
2122
  margin-left: .5px;
2119
2123
  }
2120
- .filemask[data-v-e83eb7d0] {
2124
+ .filemask[data-v-6b2d7899] {
2121
2125
  -webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
2122
2126
  -webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
2123
2127
  mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
@@ -2173,31 +2177,31 @@ input[data-v-a6f4752a]::placeholder {
2173
2177
  -webkit-text-security: disc;
2174
2178
  -moz-text-security: disc;
2175
2179
  }
2176
- .request-section-content[data-v-9ee5445b] {
2180
+ .request-section-content[data-v-612d194c] {
2177
2181
  --scalar-border-width: .5px;
2178
2182
  }
2179
- .request-section-content-filter[data-v-9ee5445b] {
2183
+ .request-section-content-filter[data-v-612d194c] {
2180
2184
  box-shadow: 0 -10px 0 10px var(--scalar-background-1);
2181
2185
  }
2182
- .request-item:focus-within .request-meta-buttons[data-v-9ee5445b] {
2186
+ .request-item:focus-within .request-meta-buttons[data-v-612d194c] {
2183
2187
  opacity: 1;
2184
2188
  }
2185
- .group-hover-input[data-v-9ee5445b] {
2189
+ .group-hover-input[data-v-612d194c] {
2186
2190
  border-width: var(--scalar-border-width);
2187
2191
  border-color: #0000;
2188
2192
  }
2189
- .group:hover .group-hover-input[data-v-9ee5445b] {
2193
+ .group:hover .group-hover-input[data-v-612d194c] {
2190
2194
  background: var(--scalar-background-1);
2191
2195
  }
2192
2196
  @supports (color: color-mix(in lab, red, red)) {
2193
- .group:hover .group-hover-input[data-v-9ee5445b] {
2197
+ .group:hover .group-hover-input[data-v-612d194c] {
2194
2198
  background: color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2));
2195
2199
  }
2196
2200
  }
2197
- .group:hover .group-hover-input[data-v-9ee5445b] {
2201
+ .group:hover .group-hover-input[data-v-612d194c] {
2198
2202
  border-color: var(--scalar-border-color);
2199
2203
  }
2200
- .group-hover-input[data-v-9ee5445b]:focus {
2204
+ .group-hover-input[data-v-612d194c]:focus {
2201
2205
  border-color: var(--scalar-border-color) !important;
2202
2206
  background: none !important;
2203
2207
  }
@@ -8092,63 +8096,16 @@ to {
8092
8096
  clip: rect(0, 0, 0, 0);
8093
8097
  border: 0;
8094
8098
  }
8095
- .section-accordion-wrapper[data-v-9419dd23] {
8096
- padding: 0 60px;
8097
- }
8098
- .section-accordion[data-v-9419dd23] {
8099
- position: relative;
8100
- width: 100%;
8101
- max-width: var(--refs-content-max-width);
8102
- margin: auto;
8103
- }
8104
- .section-accordion-content[data-v-9419dd23] {
8105
- display: flex;
8106
- flex-direction: column;
8107
- gap: 12px;
8108
-
8109
- padding-top: 12px;
8110
- }
8111
- .section-accordion-button[data-v-9419dd23] {
8112
- width: 100%;
8099
+ .async-api-labels[data-v-a159e5b8] {
8113
8100
  display: flex;
8114
-
8115
- cursor: pointer;
8116
-
8117
- padding: 6px 0 6px 0;
8118
- margin: -6px 0 -6px 0;
8119
- border-radius: var(--scalar-radius);
8120
- }
8121
- .section-accordion-chevron[data-v-9419dd23] {
8122
- position: absolute;
8123
- left: -22px;
8124
- top: 12px;
8125
- color: var(--scalar-color-3);
8126
- }
8127
- .section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23] {
8128
- color: var(--scalar-color-1);
8129
- }
8130
- .section-accordion-title[data-v-9419dd23] {
8131
- display: flex;
8132
- flex-direction: column;
8133
- align-items: flex-start;
8134
- flex: 1;
8135
- padding: 0 6px;
8136
- }
8137
- .section-accordion-title[data-v-9419dd23] .section-header-wrapper {
8138
- grid-template-columns: 1fr;
8139
- }
8140
- .section-accordion-title[data-v-9419dd23] .section-header {
8141
- margin-bottom: 0;
8142
- }
8143
- @container narrow-references-container (max-width: 900px) {
8144
- .section-accordion-chevron[data-v-9419dd23] {
8145
- width: 16px;
8146
- left: -16px;
8147
- top: 14px;
8148
- }
8149
- .section-accordion-wrapper[data-v-9419dd23] {
8150
- padding: calc(var(--refs-viewport-offset)) 24px 0 24px;
8101
+ flex-wrap: wrap;
8102
+ align-items: center;
8103
+ gap: 6px;
8151
8104
  }
8105
+ /* Protocols read as identifiers, so render them uppercase to set them apart from server names. */
8106
+ .async-api-label--protocol[data-v-a159e5b8] {
8107
+ text-transform: uppercase;
8108
+ letter-spacing: 0.05em;
8152
8109
  }
8153
8110
  /* Style the "icon" */
8154
8111
  .schema-type-icon[data-v-78e7c684] {
@@ -8159,135 +8116,6 @@ to {
8159
8116
  font-family: var(--scalar-font-code);
8160
8117
  color: var(--scalar-color-1);
8161
8118
  }
8162
- .error[data-v-4d9df79c] {
8163
- background-color: var(--scalar-color-red);
8164
- }
8165
- .schema-card[data-v-4d9df79c] {
8166
- font-size: var(--scalar-font-size-4);
8167
- color: var(--scalar-color-1);
8168
- }
8169
- .schema-card-title[data-v-4d9df79c] {
8170
- height: var(--schema-title-height);
8171
-
8172
- padding: 6px 8px;
8173
-
8174
- display: flex;
8175
- align-items: center;
8176
- gap: 4px;
8177
-
8178
- color: var(--scalar-color-2);
8179
- font-weight: var(--scalar-semibold);
8180
- font-size: var(--scalar-mini);
8181
- border-bottom: var(--scalar-border-width) solid transparent;
8182
- }
8183
- button.schema-card-title[data-v-4d9df79c] {
8184
- cursor: pointer;
8185
- }
8186
- button.schema-card-title[data-v-4d9df79c]:hover {
8187
- color: var(--scalar-color-1);
8188
- }
8189
- .schema-card-title-icon--open[data-v-4d9df79c] {
8190
- transform: rotate(45deg);
8191
- }
8192
- .schema-properties-open > .schema-card-title[data-v-4d9df79c] {
8193
- border-bottom-left-radius: 0;
8194
- border-bottom-right-radius: 0;
8195
- border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8196
- }
8197
- .schema-properties-open > .schema-properties[data-v-4d9df79c] {
8198
- width: fit-content;
8199
- }
8200
- .schema-card-description[data-v-4d9df79c] {
8201
- color: var(--scalar-color-2);
8202
- }
8203
- .schema-card-description + .schema-properties[data-v-4d9df79c] {
8204
- width: fit-content;
8205
- }
8206
- .schema-card-description + .schema-properties[data-v-4d9df79c] {
8207
- margin-top: 8px;
8208
- }
8209
- .schema-card--level-0:nth-of-type(1)
8210
- > .schema-card-description[data-v-4d9df79c]:has(+ .schema-properties) {
8211
- margin-bottom: -8px;
8212
- padding-bottom: 8px;
8213
- border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8214
- }
8215
- .schema-card--level-0
8216
- ~ .schema-card--level-0
8217
- > .schema-card-description[data-v-4d9df79c]:has(+ .schema-properties) {
8218
- padding-top: 8px;
8219
- }
8220
- .schema-properties-open.schema-properties[data-v-4d9df79c],
8221
- .schema-properties-open > .schema-card--open[data-v-4d9df79c] {
8222
- width: 100%;
8223
- }
8224
- .schema-properties[data-v-4d9df79c] {
8225
- display: flex;
8226
- flex-direction: column;
8227
-
8228
- border: var(--scalar-border-width) solid var(--scalar-border-color);
8229
- border-radius: var(--scalar-radius-lg);
8230
- width: fit-content;
8231
- }
8232
- .schema-properties-name[data-v-4d9df79c] {
8233
- width: 100%;
8234
- }
8235
- .schema-properties .schema-properties[data-v-4d9df79c] {
8236
- border-radius: 13.5px;
8237
- }
8238
- .schema-properties .schema-properties.schema-properties-open[data-v-4d9df79c] {
8239
- border-radius: var(--scalar-radius-lg);
8240
- }
8241
- .schema-properties-open[data-v-4d9df79c] {
8242
- width: 100%;
8243
- }
8244
- .schema-card--compact[data-v-4d9df79c] {
8245
- align-self: flex-start;
8246
- }
8247
- .schema-card--compact.schema-card--open[data-v-4d9df79c] {
8248
- align-self: initial;
8249
- }
8250
- .schema-card-title--compact[data-v-4d9df79c] {
8251
- color: var(--scalar-color-2);
8252
- padding: 6px 10px 6px 8px;
8253
- height: auto;
8254
- border-bottom: none;
8255
- }
8256
- .schema-card-title--compact > .schema-card-title-icon[data-v-4d9df79c] {
8257
- margin: 0;
8258
- }
8259
- .schema-card-title--compact > .schema-card-title-icon--open[data-v-4d9df79c] {
8260
- transform: rotate(45deg);
8261
- }
8262
- .schema-properties-open > .schema-card-title--compact[data-v-4d9df79c] {
8263
- position: static;
8264
- }
8265
- .property--level-0
8266
- > .schema-properties
8267
- > .schema-card--level-0
8268
- > .schema-properties[data-v-4d9df79c] {
8269
- border: none;
8270
- }
8271
- .property--level-0
8272
- .schema-card--level-0:not(.schema-card--compact)
8273
- .property--level-1[data-v-4d9df79c] {
8274
- padding: 0 0 8px;
8275
- }
8276
- :not(.composition-panel)
8277
- > .schema-card--compact.schema-card--level-0
8278
- > .schema-properties[data-v-4d9df79c] {
8279
- border: none;
8280
- }
8281
- [data-v-4d9df79c] .schema-card-description p {
8282
- font-size: var(--scalar-small, var(--scalar-paragraph));
8283
- color: var(--scalar-color-2);
8284
- margin-bottom: 0;
8285
- display: block;
8286
- margin-bottom: 6px;
8287
- }
8288
- .children .schema-card-description[data-v-4d9df79c]:first-of-type {
8289
- padding-top: 0;
8290
- }
8291
8119
  .property-enum-value[data-v-4375ecfd] {
8292
8120
  color: var(--scalar-color-3);
8293
8121
  line-height: 1.5;
@@ -8604,7 +8432,7 @@ code.property-detail-value[data-v-1295f965] {
8604
8432
  .deprecated[data-v-e4c4fffd] {
8605
8433
  text-decoration: line-through;
8606
8434
  }
8607
- .property[data-v-e16b102d] {
8435
+ .property[data-v-2e5a7cbc] {
8608
8436
  color: var(--scalar-color-1);
8609
8437
  display: flex;
8610
8438
  flex-direction: column;
@@ -8613,7 +8441,7 @@ code.property-detail-value[data-v-1295f965] {
8613
8441
  position: relative;
8614
8442
  }
8615
8443
  /** Remove top padding for top level schema card */
8616
- .property.property--level-0[data-v-e16b102d]:has(
8444
+ .property.property--level-0[data-v-2e5a7cbc]:has(
8617
8445
  > .property-rule
8618
8446
  > .schema-card
8619
8447
  > .schema-properties.schema-properties-open
@@ -8622,24 +8450,24 @@ code.property-detail-value[data-v-1295f965] {
8622
8450
  ) {
8623
8451
  padding-top: 0;
8624
8452
  }
8625
- .property--compact.property--level-0[data-v-e16b102d],
8626
- .property--compact.property--level-1[data-v-e16b102d] {
8453
+ .property--compact.property--level-0[data-v-2e5a7cbc],
8454
+ .property--compact.property--level-1[data-v-2e5a7cbc] {
8627
8455
  padding: 10px 0;
8628
8456
  }
8629
- .composition-panel .property.property.property.property--level-0[data-v-e16b102d] {
8457
+ .composition-panel .property.property.property.property--level-0[data-v-2e5a7cbc] {
8630
8458
  padding: 0px;
8631
8459
  }
8632
8460
  .property--compact.property--level-0
8633
8461
  .composition-panel
8634
- .property--compact.property--level-1[data-v-e16b102d] {
8462
+ .property--compact.property--level-1[data-v-2e5a7cbc] {
8635
8463
  padding: 8px;
8636
8464
  }
8637
8465
  /* if a property doesn't have a heading, remove the top padding */
8638
- .property[data-v-e16b102d]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8466
+ .property[data-v-2e5a7cbc]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
8639
8467
  padding-top: 8px;
8640
8468
  padding-bottom: 8px;
8641
8469
  }
8642
- .property--deprecated[data-v-e16b102d] {
8470
+ .property--deprecated[data-v-2e5a7cbc] {
8643
8471
  background: repeating-linear-gradient(
8644
8472
  -45deg,
8645
8473
  var(--scalar-background-2) 0,
@@ -8649,49 +8477,49 @@ code.property-detail-value[data-v-1295f965] {
8649
8477
  );
8650
8478
  background-size: 100%;
8651
8479
  }
8652
- .property--deprecated[data-v-e16b102d] > * {
8480
+ .property--deprecated[data-v-2e5a7cbc] > * {
8653
8481
  opacity: 0.75;
8654
8482
  }
8655
- .property-description[data-v-e16b102d] {
8483
+ .property-description[data-v-2e5a7cbc] {
8656
8484
  margin-top: 6px;
8657
8485
  line-height: 1.4;
8658
8486
  font-size: var(--scalar-small);
8659
8487
  }
8660
- .property-description[data-v-e16b102d]:has(+ .property-rule) {
8488
+ .property-description[data-v-2e5a7cbc]:has(+ .property-rule) {
8661
8489
  margin-bottom: 9px;
8662
8490
  }
8663
- [data-v-e16b102d] .property-description * {
8491
+ [data-v-2e5a7cbc] .property-description * {
8664
8492
  color: var(--scalar-color-2) !important;
8665
8493
  }
8666
- .property[data-v-e16b102d]:not(:last-of-type) {
8494
+ .property[data-v-2e5a7cbc]:not(:last-of-type) {
8667
8495
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8668
8496
  }
8669
- .property-description + .children[data-v-e16b102d],
8670
- .children + .property-rule[data-v-e16b102d] {
8497
+ .property-description + .children[data-v-2e5a7cbc],
8498
+ .children + .property-rule[data-v-2e5a7cbc] {
8671
8499
  margin-top: 9px;
8672
8500
  }
8673
- .children[data-v-e16b102d] {
8501
+ .children[data-v-2e5a7cbc] {
8674
8502
  display: flex;
8675
8503
  flex-direction: column;
8676
8504
  }
8677
- .children .property--compact.property--level-1[data-v-e16b102d] {
8505
+ .children .property--compact.property--level-1[data-v-2e5a7cbc] {
8678
8506
  padding: 12px;
8679
8507
  }
8680
- .property-example-value[data-v-e16b102d] {
8508
+ .property-example-value[data-v-2e5a7cbc] {
8681
8509
  all: unset;
8682
8510
  font-family: var(--scalar-font-code);
8683
8511
  padding: 6px;
8684
8512
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
8685
8513
  }
8686
- .property-rule[data-v-e16b102d] {
8514
+ .property-rule[data-v-2e5a7cbc] {
8687
8515
  border-radius: var(--scalar-radius-lg);
8688
8516
  display: flex;
8689
8517
  flex-direction: column;
8690
8518
  }
8691
- .property--level-2[data-v-e16b102d] .relative > button {
8519
+ .property--level-2[data-v-2e5a7cbc] .relative > button {
8692
8520
  left: -2rem;
8693
8521
  }
8694
- .property-rule[data-v-e16b102d]
8522
+ .property-rule[data-v-2e5a7cbc]
8695
8523
 
8696
8524
  .composition-panel
8697
8525
  .schema-card--level-1
@@ -8699,7 +8527,7 @@ code.property-detail-value[data-v-1295f965] {
8699
8527
  {
8700
8528
  border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);
8701
8529
  }
8702
- .property-rule[data-v-e16b102d]
8530
+ .property-rule[data-v-2e5a7cbc]
8703
8531
  .composition-panel > .schema-card > .schema-card-description {
8704
8532
  padding: 10px;
8705
8533
  border-left: var(--scalar-border-width) solid var(--scalar-border-color);
@@ -8708,29 +8536,29 @@ code.property-detail-value[data-v-1295f965] {
8708
8536
  margin-top: 0;
8709
8537
  }
8710
8538
  }
8711
- .property-example[data-v-e16b102d] {
8539
+ .property-example[data-v-2e5a7cbc] {
8712
8540
  background: transparent;
8713
8541
  border: none;
8714
8542
  display: flex;
8715
8543
  flex-direction: row;
8716
8544
  gap: 8px;
8717
8545
  }
8718
- .property-example-label[data-v-e16b102d],
8719
- .property-example-value[data-v-e16b102d] {
8546
+ .property-example-label[data-v-2e5a7cbc],
8547
+ .property-example-value[data-v-2e5a7cbc] {
8720
8548
  padding: 3px 0 0 0;
8721
8549
  }
8722
- .property-example-value[data-v-e16b102d] {
8550
+ .property-example-value[data-v-2e5a7cbc] {
8723
8551
  background: var(--scalar-background-2);
8724
8552
  border-top: 0;
8725
8553
  border-radius: var(--scalar-radius);
8726
8554
  padding: 3px 4px;
8727
8555
  }
8728
- .property-name[data-v-e16b102d] {
8556
+ .property-name[data-v-2e5a7cbc] {
8729
8557
  font-family: var(--scalar-font-code);
8730
8558
  font-weight: var(--scalar-semibold);
8731
8559
  }
8732
- .property-name-additional-properties[data-v-e16b102d]::before,
8733
- .property-name-pattern-properties[data-v-e16b102d]::before {
8560
+ .property-name-additional-properties[data-v-2e5a7cbc]::before,
8561
+ .property-name-pattern-properties[data-v-2e5a7cbc]::before {
8734
8562
  text-transform: uppercase;
8735
8563
  font-size: var(--scalar-micro);
8736
8564
  display: inline-block;
@@ -8741,17 +8569,348 @@ code.property-detail-value[data-v-1295f965] {
8741
8569
  background-color: var(--scalar-background-2);
8742
8570
  margin-right: 4px;
8743
8571
  }
8744
- .property-name-pattern-properties[data-v-e16b102d]::before {
8572
+ .property-name-pattern-properties[data-v-2e5a7cbc]::before {
8745
8573
  content: 'regex';
8746
8574
  }
8747
- .property-name-additional-properties[data-v-e16b102d],
8748
- .property-name-pattern-properties[data-v-e16b102d] {
8575
+ .property-name-additional-properties[data-v-2e5a7cbc],
8576
+ .property-name-pattern-properties[data-v-2e5a7cbc] {
8749
8577
  border: 1px dashed var(--scalar-border-color);
8750
8578
  color: var(--scalar-color-accent);
8751
8579
  display: inline-block;
8752
8580
  padding: 2px;
8753
8581
  border-radius: var(--scalar-radius);
8754
8582
  }
8583
+ .error[data-v-ec43bfbd] {
8584
+ background-color: var(--scalar-color-red);
8585
+ }
8586
+ .schema-card[data-v-ec43bfbd] {
8587
+ font-size: var(--scalar-font-size-4);
8588
+ color: var(--scalar-color-1);
8589
+ }
8590
+ .schema-card-title[data-v-ec43bfbd] {
8591
+ height: var(--schema-title-height);
8592
+
8593
+ padding: 6px 8px;
8594
+
8595
+ display: flex;
8596
+ align-items: center;
8597
+ gap: 4px;
8598
+
8599
+ color: var(--scalar-color-2);
8600
+ font-weight: var(--scalar-semibold);
8601
+ font-size: var(--scalar-mini);
8602
+ border-bottom: var(--scalar-border-width) solid transparent;
8603
+ }
8604
+ button.schema-card-title[data-v-ec43bfbd] {
8605
+ cursor: pointer;
8606
+ }
8607
+ button.schema-card-title[data-v-ec43bfbd]:hover {
8608
+ color: var(--scalar-color-1);
8609
+ }
8610
+ .schema-card-title-icon--open[data-v-ec43bfbd] {
8611
+ transform: rotate(45deg);
8612
+ }
8613
+ .schema-properties-open > .schema-card-title[data-v-ec43bfbd] {
8614
+ border-bottom-left-radius: 0;
8615
+ border-bottom-right-radius: 0;
8616
+ border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8617
+ }
8618
+ .schema-properties-open > .schema-properties[data-v-ec43bfbd] {
8619
+ width: fit-content;
8620
+ }
8621
+ .schema-card-description[data-v-ec43bfbd] {
8622
+ color: var(--scalar-color-2);
8623
+ }
8624
+ .schema-card-description + .schema-properties[data-v-ec43bfbd] {
8625
+ width: fit-content;
8626
+ }
8627
+ .schema-card-description + .schema-properties[data-v-ec43bfbd] {
8628
+ margin-top: 8px;
8629
+ }
8630
+ .schema-card--level-0:nth-of-type(1)
8631
+ > .schema-card-description[data-v-ec43bfbd]:has(+ .schema-properties) {
8632
+ margin-bottom: -8px;
8633
+ padding-bottom: 8px;
8634
+ border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8635
+ }
8636
+ .schema-card--level-0
8637
+ ~ .schema-card--level-0
8638
+ > .schema-card-description[data-v-ec43bfbd]:has(+ .schema-properties) {
8639
+ padding-top: 8px;
8640
+ }
8641
+ .schema-properties-open.schema-properties[data-v-ec43bfbd],
8642
+ .schema-properties-open > .schema-card--open[data-v-ec43bfbd] {
8643
+ width: 100%;
8644
+ }
8645
+ .schema-properties[data-v-ec43bfbd] {
8646
+ display: flex;
8647
+ flex-direction: column;
8648
+
8649
+ border: var(--scalar-border-width) solid var(--scalar-border-color);
8650
+ border-radius: var(--scalar-radius-lg);
8651
+ width: fit-content;
8652
+ }
8653
+ .schema-properties-name[data-v-ec43bfbd] {
8654
+ width: 100%;
8655
+ }
8656
+ .schema-properties .schema-properties[data-v-ec43bfbd] {
8657
+ border-radius: 13.5px;
8658
+ }
8659
+ .schema-properties .schema-properties.schema-properties-open[data-v-ec43bfbd] {
8660
+ border-radius: var(--scalar-radius-lg);
8661
+ }
8662
+ .schema-properties-open[data-v-ec43bfbd] {
8663
+ width: 100%;
8664
+ }
8665
+ .schema-card--compact[data-v-ec43bfbd] {
8666
+ align-self: flex-start;
8667
+ }
8668
+ .schema-card--compact.schema-card--open[data-v-ec43bfbd] {
8669
+ align-self: initial;
8670
+ }
8671
+ .schema-card-title--compact[data-v-ec43bfbd] {
8672
+ color: var(--scalar-color-2);
8673
+ padding: 6px 10px 6px 8px;
8674
+ height: auto;
8675
+ border-bottom: none;
8676
+ }
8677
+ .schema-card-title--compact > .schema-card-title-icon[data-v-ec43bfbd] {
8678
+ margin: 0;
8679
+ }
8680
+ .schema-card-title--compact > .schema-card-title-icon--open[data-v-ec43bfbd] {
8681
+ transform: rotate(45deg);
8682
+ }
8683
+ .schema-properties-open > .schema-card-title--compact[data-v-ec43bfbd] {
8684
+ position: static;
8685
+ }
8686
+ .property--level-0
8687
+ > .schema-properties
8688
+ > .schema-card--level-0
8689
+ > .schema-properties[data-v-ec43bfbd] {
8690
+ border: none;
8691
+ }
8692
+ .property--level-0
8693
+ .schema-card--level-0:not(.schema-card--compact)
8694
+ .property--level-1[data-v-ec43bfbd] {
8695
+ padding: 0 0 8px;
8696
+ }
8697
+ :not(.composition-panel)
8698
+ > .schema-card--compact.schema-card--level-0
8699
+ > .schema-properties[data-v-ec43bfbd] {
8700
+ border: none;
8701
+ }
8702
+ [data-v-ec43bfbd] .schema-card-description p {
8703
+ font-size: var(--scalar-small, var(--scalar-paragraph));
8704
+ color: var(--scalar-color-2);
8705
+ margin-bottom: 0;
8706
+ display: block;
8707
+ margin-bottom: 6px;
8708
+ }
8709
+ .children .schema-card-description[data-v-ec43bfbd]:first-of-type {
8710
+ padding-top: 0;
8711
+ }
8712
+ .section-wrapper[data-v-ff689b94] {
8713
+ color: var(--scalar-color-1);
8714
+
8715
+ padding-top: 12px;
8716
+ margin-top: -12px;
8717
+ }
8718
+ .section-accordion[data-v-ff689b94] {
8719
+ display: flex;
8720
+ flex-direction: column;
8721
+
8722
+ border-radius: var(--scalar-radius-lg);
8723
+ background: var(--scalar-background-2);
8724
+
8725
+ /* Offset by header height to line up scroll position */
8726
+ scroll-margin-top: var(--refs-viewport-offset);
8727
+ }
8728
+ .section-accordion-transparent[data-v-ff689b94] {
8729
+ background: transparent;
8730
+ border: var(--scalar-border-width) solid var(--scalar-border-color);
8731
+ }
8732
+ .section-accordion-button[data-v-ff689b94] {
8733
+ padding: 6px;
8734
+ }
8735
+ .section-accordion-button[data-v-ff689b94] {
8736
+ display: flex;
8737
+ align-items: center;
8738
+ gap: 6px;
8739
+ cursor: pointer;
8740
+ }
8741
+ .section-accordion-button-content[data-v-ff689b94] {
8742
+ flex: 1;
8743
+ min-width: 0;
8744
+ }
8745
+ .section-accordion-button-actions[data-v-ff689b94] {
8746
+ display: flex;
8747
+ align-items: center;
8748
+ gap: 6px;
8749
+ color: var(--scalar-color-3);
8750
+ }
8751
+ .section-accordion-chevron[data-v-ff689b94] {
8752
+ margin-right: 4px;
8753
+ cursor: pointer;
8754
+ opacity: 1;
8755
+ color: var(--scalar-color-3);
8756
+ }
8757
+ .section-accordion-button:hover .section-accordion-chevron[data-v-ff689b94] {
8758
+ color: var(--scalar-color-1);
8759
+ }
8760
+ .section-accordion-content[data-v-ff689b94] {
8761
+ border-top: var(--scalar-border-width) solid var(--scalar-border-color);
8762
+ display: flex;
8763
+ flex-direction: column;
8764
+ }
8765
+ .section-accordion-description[data-v-ff689b94] {
8766
+ font-weight: var(--scalar-semibold);
8767
+ font-size: var(--scalar-mini);
8768
+ color: var(--scalar-color--1);
8769
+ padding: 10px 12px 0px 12px;
8770
+ }
8771
+ .section-accordion-content-card[data-v-ff689b94] .property:last-of-type {
8772
+ padding-bottom: 9px;
8773
+ }
8774
+ .message[data-v-50be0795] {
8775
+ scroll-margin-top: var(--refs-viewport-offset);
8776
+ }
8777
+ .message-title[data-v-50be0795] {
8778
+ font-size: var(--scalar-heading-4);
8779
+ font-weight: var(--scalar-semibold);
8780
+ color: var(--scalar-color-1);
8781
+ }
8782
+ /*
8783
+ * Lay the heading and protocol labels out on one wrapping row. The labels live inside the
8784
+ * Anchor slot so the copy-anchor "#" button (absolutely positioned just past the end of the
8785
+ * slot content on hover) trails after the last pill instead of overlapping the first one.
8786
+ */
8787
+ .message-heading[data-v-50be0795] {
8788
+ display: inline-flex;
8789
+ flex-wrap: wrap;
8790
+ align-items: center;
8791
+ gap: 8px;
8792
+ }
8793
+ /* Pad the expanded body so the description and schemas don't sit flush against the border. */
8794
+ .message-accordion[data-v-50be0795] .section-accordion-content-card {
8795
+ padding: 12px;
8796
+ }
8797
+ .message-description[data-v-50be0795] {
8798
+ padding-bottom: 4px;
8799
+ text-align: left;
8800
+ }
8801
+ .message-schema[data-v-50be0795] {
8802
+ margin-top: 12px;
8803
+ }
8804
+ .message-schema[data-v-50be0795]:first-child {
8805
+ margin-top: 0;
8806
+ }
8807
+ .message-schema-title[data-v-50be0795] {
8808
+ font-size: var(--scalar-font-size-2);
8809
+ font-weight: var(--scalar-semibold);
8810
+ color: var(--scalar-color-1);
8811
+ padding-bottom: 8px;
8812
+ border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
8813
+ margin-bottom: 8px;
8814
+ }
8815
+ .operation[data-v-ef35fcd1] {
8816
+ margin-top: 32px;
8817
+ scroll-margin-top: var(--refs-viewport-offset);
8818
+ }
8819
+ .operation-header[data-v-ef35fcd1] {
8820
+ display: flex;
8821
+ align-items: center;
8822
+ gap: 8px;
8823
+ }
8824
+ .operation-title[data-v-ef35fcd1] {
8825
+ font-size: var(--scalar-heading-3);
8826
+ font-weight: var(--scalar-semibold);
8827
+ color: var(--scalar-color-1);
8828
+ }
8829
+ /* Filled, color-coded pill carries the primary send/receive signal. */
8830
+ .operation-action[data-v-ef35fcd1] {
8831
+ text-transform: uppercase;
8832
+ font-size: var(--scalar-mini);
8833
+ font-weight: var(--scalar-semibold);
8834
+ letter-spacing: 0.05em;
8835
+ border-radius: 12px;
8836
+ padding: 2px 8px;
8837
+ display: inline-flex;
8838
+ align-items: center;
8839
+ }
8840
+ .operation-action--send[data-v-ef35fcd1] {
8841
+ color: var(--scalar-color-blue);
8842
+ background: color-mix(in srgb, var(--scalar-color-blue), transparent 88%);
8843
+ }
8844
+ .operation-action--receive[data-v-ef35fcd1] {
8845
+ color: var(--scalar-color-green);
8846
+ background: color-mix(in srgb, var(--scalar-color-green), transparent 88%);
8847
+ }
8848
+ .operation-description[data-v-ef35fcd1] {
8849
+ text-align: left;
8850
+ margin-top: 4px;
8851
+ }
8852
+ /* Space the first message accordion away from the operation header/description. */
8853
+ .operation[data-v-ef35fcd1] > .message {
8854
+ margin-top: 12px;
8855
+ }
8856
+ .section-accordion-wrapper[data-v-9419dd23] {
8857
+ padding: 0 60px;
8858
+ }
8859
+ .section-accordion[data-v-9419dd23] {
8860
+ position: relative;
8861
+ width: 100%;
8862
+ max-width: var(--refs-content-max-width);
8863
+ margin: auto;
8864
+ }
8865
+ .section-accordion-content[data-v-9419dd23] {
8866
+ display: flex;
8867
+ flex-direction: column;
8868
+ gap: 12px;
8869
+
8870
+ padding-top: 12px;
8871
+ }
8872
+ .section-accordion-button[data-v-9419dd23] {
8873
+ width: 100%;
8874
+ display: flex;
8875
+
8876
+ cursor: pointer;
8877
+
8878
+ padding: 6px 0 6px 0;
8879
+ margin: -6px 0 -6px 0;
8880
+ border-radius: var(--scalar-radius);
8881
+ }
8882
+ .section-accordion-chevron[data-v-9419dd23] {
8883
+ position: absolute;
8884
+ left: -22px;
8885
+ top: 12px;
8886
+ color: var(--scalar-color-3);
8887
+ }
8888
+ .section-accordion-button:hover .section-accordion-chevron[data-v-9419dd23] {
8889
+ color: var(--scalar-color-1);
8890
+ }
8891
+ .section-accordion-title[data-v-9419dd23] {
8892
+ display: flex;
8893
+ flex-direction: column;
8894
+ align-items: flex-start;
8895
+ flex: 1;
8896
+ padding: 0 6px;
8897
+ }
8898
+ .section-accordion-title[data-v-9419dd23] .section-header-wrapper {
8899
+ grid-template-columns: 1fr;
8900
+ }
8901
+ .section-accordion-title[data-v-9419dd23] .section-header {
8902
+ margin-bottom: 0;
8903
+ }
8904
+ @container narrow-references-container (max-width: 900px) {
8905
+ .section-accordion-chevron[data-v-9419dd23] {
8906
+ width: 16px;
8907
+ left: -16px;
8908
+ top: 14px;
8909
+ }
8910
+ .section-accordion-wrapper[data-v-9419dd23] {
8911
+ padding: calc(var(--refs-viewport-offset)) 24px 0 24px;
8912
+ }
8913
+ }
8755
8914
  .headers-card[data-v-4a9699e9] {
8756
8915
  z-index: 0;
8757
8916
  margin-top: 12px;
@@ -8908,75 +9067,16 @@ button.headers-card-title[data-v-4a9699e9]:hover {
8908
9067
  outline-offset: 2px;
8909
9068
  border-radius: var(--scalar-radius);
8910
9069
  }
8911
- .channel-section[data-v-cb522e2e] {
9070
+ .channel-section[data-v-067fde89] {
8912
9071
  margin-bottom: 48px;
8913
9072
  }
8914
- .channel-description[data-v-cb522e2e] {
9073
+ .channel-labels[data-v-067fde89] {
9074
+ margin-bottom: 8px;
9075
+ }
9076
+ .channel-description[data-v-067fde89] {
8915
9077
  padding-bottom: 4px;
8916
9078
  text-align: left;
8917
9079
  }
8918
- .section-wrapper[data-v-ff689b94] {
8919
- color: var(--scalar-color-1);
8920
-
8921
- padding-top: 12px;
8922
- margin-top: -12px;
8923
- }
8924
- .section-accordion[data-v-ff689b94] {
8925
- display: flex;
8926
- flex-direction: column;
8927
-
8928
- border-radius: var(--scalar-radius-lg);
8929
- background: var(--scalar-background-2);
8930
-
8931
- /* Offset by header height to line up scroll position */
8932
- scroll-margin-top: var(--refs-viewport-offset);
8933
- }
8934
- .section-accordion-transparent[data-v-ff689b94] {
8935
- background: transparent;
8936
- border: var(--scalar-border-width) solid var(--scalar-border-color);
8937
- }
8938
- .section-accordion-button[data-v-ff689b94] {
8939
- padding: 6px;
8940
- }
8941
- .section-accordion-button[data-v-ff689b94] {
8942
- display: flex;
8943
- align-items: center;
8944
- gap: 6px;
8945
- cursor: pointer;
8946
- }
8947
- .section-accordion-button-content[data-v-ff689b94] {
8948
- flex: 1;
8949
- min-width: 0;
8950
- }
8951
- .section-accordion-button-actions[data-v-ff689b94] {
8952
- display: flex;
8953
- align-items: center;
8954
- gap: 6px;
8955
- color: var(--scalar-color-3);
8956
- }
8957
- .section-accordion-chevron[data-v-ff689b94] {
8958
- margin-right: 4px;
8959
- cursor: pointer;
8960
- opacity: 1;
8961
- color: var(--scalar-color-3);
8962
- }
8963
- .section-accordion-button:hover .section-accordion-chevron[data-v-ff689b94] {
8964
- color: var(--scalar-color-1);
8965
- }
8966
- .section-accordion-content[data-v-ff689b94] {
8967
- border-top: var(--scalar-border-width) solid var(--scalar-border-color);
8968
- display: flex;
8969
- flex-direction: column;
8970
- }
8971
- .section-accordion-description[data-v-ff689b94] {
8972
- font-weight: var(--scalar-semibold);
8973
- font-size: var(--scalar-mini);
8974
- color: var(--scalar-color--1);
8975
- padding: 10px 12px 0px 12px;
8976
- }
8977
- .section-accordion-content-card[data-v-ff689b94] .property:last-of-type {
8978
- padding-bottom: 9px;
8979
- }
8980
9080
  .reference-models-anchor[data-v-f3ae088e] {
8981
9081
  display: flex;
8982
9082
  align-items: center;
@@ -10070,7 +10170,7 @@ body {
10070
10170
  }
10071
10171
  /* Configurable Layout Variables */
10072
10172
  @layer scalar-config {
10073
- .scalar-api-reference[data-v-85d24c5b] {
10173
+ .scalar-api-reference[data-v-c80a6b1a] {
10074
10174
  /* The header height */
10075
10175
  --refs-header-height: calc(
10076
10176
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -10092,19 +10192,19 @@ body {
10092
10192
  /* The maximum width of the content column */
10093
10193
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
10094
10194
  }
10095
- .scalar-api-reference.references-classic[data-v-85d24c5b] {
10195
+ .scalar-api-reference.references-classic[data-v-c80a6b1a] {
10096
10196
  /* Classic layout is wider */
10097
10197
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
10098
10198
  min-height: 100dvh;
10099
10199
  --refs-sidebar-width: 0;
10100
10200
  }
10101
10201
  }
10102
- .t-doc__sidebar[data-v-85d24c5b] {
10202
+ .t-doc__sidebar[data-v-c80a6b1a] {
10103
10203
  z-index: 10;
10104
10204
  }
10105
10205
  /* ----------------------------------------------------- */
10106
10206
  /* References Layout */
10107
- .references-layout[data-v-85d24c5b] {
10207
+ .references-layout[data-v-c80a6b1a] {
10108
10208
  /* Try to fill the container */
10109
10209
  min-height: 100dvh;
10110
10210
  min-width: 100%;
@@ -10128,31 +10228,31 @@ body {
10128
10228
 
10129
10229
  background: var(--scalar-background-1);
10130
10230
  }
10131
- .references-editor[data-v-85d24c5b] {
10231
+ .references-editor[data-v-c80a6b1a] {
10132
10232
  grid-area: editor;
10133
10233
  display: flex;
10134
10234
  min-width: 0;
10135
10235
  background: var(--scalar-background-1);
10136
10236
  }
10137
- .references-rendered[data-v-85d24c5b] {
10237
+ .references-rendered[data-v-c80a6b1a] {
10138
10238
  position: relative;
10139
10239
  grid-area: rendered;
10140
10240
  min-width: 0;
10141
10241
  background: var(--scalar-background-1);
10142
10242
  }
10143
- .scalar-api-reference.references-classic[data-v-85d24c5b],
10144
- .references-classic .references-rendered[data-v-85d24c5b] {
10243
+ .scalar-api-reference.references-classic[data-v-c80a6b1a],
10244
+ .references-classic .references-rendered[data-v-c80a6b1a] {
10145
10245
  height: initial !important;
10146
10246
  max-height: initial !important;
10147
10247
  }
10148
10248
  @layer scalar-config {
10149
- .references-sidebar[data-v-85d24c5b] {
10249
+ .references-sidebar[data-v-c80a6b1a] {
10150
10250
  /* Set a default width if references are enabled */
10151
10251
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
10152
10252
  }
10153
10253
  }
10154
10254
  /* Footer */
10155
- .references-footer[data-v-85d24c5b] {
10255
+ .references-footer[data-v-c80a6b1a] {
10156
10256
  grid-area: footer;
10157
10257
  }
10158
10258
  /* ----------------------------------------------------- */
@@ -10167,12 +10267,12 @@ body {
10167
10267
  */
10168
10268
  @media (width < 1000px) {
10169
10269
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
10170
- .references-developer-tools[data-v-85d24c5b] {
10270
+ .references-developer-tools[data-v-c80a6b1a] {
10171
10271
  display: none;
10172
10272
  }
10173
10273
 
10174
10274
  /* Stack view on mobile */
10175
- .references-layout[data-v-85d24c5b] {
10275
+ .references-layout[data-v-c80a6b1a] {
10176
10276
  /* Adjust the sidebar height to the viewport height minus the header height */
10177
10277
  --refs-sidebar-height: calc(
10178
10278
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -10187,13 +10287,13 @@ body {
10187
10287
  'rendered'
10188
10288
  'footer';
10189
10289
  }
10190
- .references-editable[data-v-85d24c5b] {
10290
+ .references-editable[data-v-c80a6b1a] {
10191
10291
  grid-template-areas:
10192
10292
  'header'
10193
10293
  'navigation'
10194
10294
  'editor';
10195
10295
  }
10196
- .references-rendered[data-v-85d24c5b] {
10296
+ .references-rendered[data-v-c80a6b1a] {
10197
10297
  position: static;
10198
10298
  }
10199
10299
  }
@@ -10204,11 +10304,11 @@ body {
10204
10304
  */
10205
10305
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
10206
10306
  @media (width < 1000px) {
10207
- .scalar-api-references-standalone-mobile[data-v-85d24c5b]:not(.references-classic) {
10307
+ .scalar-api-references-standalone-mobile[data-v-c80a6b1a]:not(.references-classic) {
10208
10308
  --scalar-header-height: 50px;
10209
10309
  }
10210
10310
  }
10211
- .darklight-reference[data-v-85d24c5b] {
10311
+ .darklight-reference[data-v-c80a6b1a] {
10212
10312
  width: 100%;
10213
10313
  margin-top: auto;
10214
10314
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.47",
21
+ "version": "0.9.48",
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.60.0",
43
- "@scalar/types": "0.14.0"
42
+ "@scalar/api-reference": "1.61.0",
43
+ "@scalar/types": "0.15.0"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.2.7",