@scalar/api-reference-react 0.9.83 → 0.9.85

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.85
4
+
5
+ ## 0.9.84
6
+
3
7
  ## 0.9.83
4
8
 
5
9
  ## 0.9.82
package/dist/style.css CHANGED
@@ -5273,10 +5273,16 @@ div + .userMessage[data-v-6573ec87] {
5273
5273
  display: block !important;
5274
5274
  }
5275
5275
 
5276
- .t-doc__sidebar, .t-doc__header, .references-footer, .section-flare, .agent-scalar, .agent-scalar-overlay {
5276
+ .t-doc__sidebar, .t-doc__header, .references-footer, .section-flare, .agent-scalar, .agent-scalar-overlay, .references-shell-toolbar, .references-shell-frame, .references-shell-panel {
5277
5277
  display: none !important;
5278
5278
  }
5279
5279
 
5280
+ .references-shell {
5281
+ background: none !important;
5282
+ padding: 0 !important;
5283
+ display: block !important;
5284
+ }
5285
+
5280
5286
  .scalar-app .sticky, .scalar-app .examples, .scalar-app .operation-example-card, .scalar-app .endpoints-card, .scalar-app .channels-card, .scalar-app .sticky-cards {
5281
5287
  z-index: auto !important;
5282
5288
  position: static !important;
@@ -5602,10 +5608,6 @@ div + .userMessage[data-v-6573ec87] {
5602
5608
  right: 72px;
5603
5609
  }
5604
5610
 
5605
- .scalar-app .bottom-0 {
5606
- bottom: 0;
5607
- }
5608
-
5609
5611
  .scalar-app .bottom-1 {
5610
5612
  bottom: 4px;
5611
5613
  }
@@ -5906,6 +5908,10 @@ div + .userMessage[data-v-6573ec87] {
5906
5908
  margin-inline-start: 5px !important;
5907
5909
  }
5908
5910
 
5911
+ .scalar-app .ms-3 {
5912
+ margin-inline-start: 12px;
5913
+ }
5914
+
5909
5915
  .scalar-app .ms-auto {
5910
5916
  margin-inline-start: auto;
5911
5917
  }
@@ -5914,10 +5920,22 @@ div + .userMessage[data-v-6573ec87] {
5914
5920
  margin-inline-end: -5px !important;
5915
5921
  }
5916
5922
 
5923
+ .scalar-app .me-1 {
5924
+ margin-inline-end: 4px;
5925
+ }
5926
+
5917
5927
  .scalar-app .me-1\.5 {
5918
5928
  margin-inline-end: 6px;
5919
5929
  }
5920
5930
 
5931
+ .scalar-app .me-2 {
5932
+ margin-inline-end: 8px;
5933
+ }
5934
+
5935
+ .scalar-app .me-auto {
5936
+ margin-inline-end: auto;
5937
+ }
5938
+
5921
5939
  .scalar-app .-mt-\(--scalar-sidebar-padding\) {
5922
5940
  margin-top: calc(var(--scalar-sidebar-padding) * -1);
5923
5941
  }
@@ -6309,6 +6327,21 @@ div + .userMessage[data-v-6573ec87] {
6309
6327
  height: 40px;
6310
6328
  }
6311
6329
 
6330
+ .scalar-app .size-14 {
6331
+ width: 56px;
6332
+ height: 56px;
6333
+ }
6334
+
6335
+ .scalar-app .size-22 {
6336
+ width: 88px;
6337
+ height: 88px;
6338
+ }
6339
+
6340
+ .scalar-app .size-26 {
6341
+ width: 104px;
6342
+ height: 104px;
6343
+ }
6344
+
6312
6345
  .scalar-app .size-\[23px\] {
6313
6346
  width: 23px;
6314
6347
  height: 23px;
@@ -6324,6 +6357,10 @@ div + .userMessage[data-v-6573ec87] {
6324
6357
  height: 100%;
6325
6358
  }
6326
6359
 
6360
+ .scalar-app .h-\(--refs-shell-toolbar-height\) {
6361
+ height: var(--refs-shell-toolbar-height);
6362
+ }
6363
+
6327
6364
  .scalar-app .h-\(--refs-sidebar-height\) {
6328
6365
  height: var(--refs-sidebar-height);
6329
6366
  }
@@ -6408,10 +6445,6 @@ div + .userMessage[data-v-6573ec87] {
6408
6445
  height: 112px;
6409
6446
  }
6410
6447
 
6411
- .scalar-app .h-\[31px\] {
6412
- height: 31px;
6413
- }
6414
-
6415
6448
  .scalar-app .h-\[200px\] {
6416
6449
  height: 200px;
6417
6450
  }
@@ -6692,6 +6725,10 @@ div + .userMessage[data-v-6573ec87] {
6692
6725
  width: 320px;
6693
6726
  }
6694
6727
 
6728
+ .scalar-app .w-90 {
6729
+ width: 360px;
6730
+ }
6731
+
6695
6732
  .scalar-app .w-120 {
6696
6733
  width: 480px;
6697
6734
  }
@@ -7613,6 +7650,10 @@ div + .userMessage[data-v-6573ec87] {
7613
7650
  background-color: var(--bg-light);
7614
7651
  }
7615
7652
 
7653
+ .scalar-app .bg-\(--scalar-border-color\) {
7654
+ background-color: var(--scalar-border-color);
7655
+ }
7656
+
7616
7657
  .scalar-app .bg-b-1, .scalar-app .bg-b-1\.5 {
7617
7658
  background-color: var(--scalar-background-1);
7618
7659
  }
@@ -7912,6 +7953,10 @@ div + .userMessage[data-v-6573ec87] {
7912
7953
  padding: 16px;
7913
7954
  }
7914
7955
 
7956
+ .scalar-app .p-5 {
7957
+ padding: 20px;
7958
+ }
7959
+
7915
7960
  .scalar-app .p-7 {
7916
7961
  padding: 28px;
7917
7962
  }
@@ -8048,10 +8093,6 @@ div + .userMessage[data-v-6573ec87] {
8048
8093
  padding-block: 16px;
8049
8094
  }
8050
8095
 
8051
- .scalar-app .py-5 {
8052
- padding-block: 20px;
8053
- }
8054
-
8055
8096
  .scalar-app .py-\[6\.75px\] {
8056
8097
  padding-block: 6.75px;
8057
8098
  }
@@ -8068,6 +8109,10 @@ div + .userMessage[data-v-6573ec87] {
8068
8109
  padding-block: 1px;
8069
8110
  }
8070
8111
 
8112
+ .scalar-app .ps-3 {
8113
+ padding-inline-start: 12px;
8114
+ }
8115
+
8071
8116
  .scalar-app .ps-8 {
8072
8117
  padding-inline-start: 32px;
8073
8118
  }
@@ -8088,6 +8133,10 @@ div + .userMessage[data-v-6573ec87] {
8088
8133
  padding-inline-end: 24px;
8089
8134
  }
8090
8135
 
8136
+ .scalar-app .pe-9 {
8137
+ padding-inline-end: 36px;
8138
+ }
8139
+
8091
8140
  .scalar-app .pt-\(--scalar-sidebar-padding\) {
8092
8141
  padding-top: var(--scalar-sidebar-padding);
8093
8142
  }
@@ -8108,6 +8157,14 @@ div + .userMessage[data-v-6573ec87] {
8108
8157
  padding-top: 16px;
8109
8158
  }
8110
8159
 
8160
+ .scalar-app .pt-5 {
8161
+ padding-top: 20px;
8162
+ }
8163
+
8164
+ .scalar-app .pt-6 {
8165
+ padding-top: 24px;
8166
+ }
8167
+
8111
8168
  .scalar-app .pt-12 {
8112
8169
  padding-top: 48px;
8113
8170
  }
@@ -9381,6 +9438,10 @@ div + .userMessage[data-v-6573ec87] {
9381
9438
  font-family: inherit;
9382
9439
  }
9383
9440
 
9441
+ .scalar-app .placeholder\:text-c-3::placeholder {
9442
+ color: var(--scalar-color-3);
9443
+ }
9444
+
9384
9445
  .scalar-app .before\:hidden\!:before {
9385
9446
  content: var(--tw-content);
9386
9447
  display: none !important;
@@ -9764,6 +9825,14 @@ div + .userMessage[data-v-6573ec87] {
9764
9825
  margin-bottom: 6px !important;
9765
9826
  }
9766
9827
 
9828
+ .scalar-app .aria-expanded\:bg-b-3[aria-expanded="true"] {
9829
+ background-color: var(--scalar-background-3);
9830
+ }
9831
+
9832
+ .scalar-app .aria-expanded\:text-c-1[aria-expanded="true"] {
9833
+ color: var(--scalar-color-1);
9834
+ }
9835
+
9767
9836
  @media not all and (min-width: 1200px) {
9768
9837
  .scalar-app .max-xl\:max-h-full {
9769
9838
  max-height: 100%;
@@ -10915,54 +10984,6 @@ div + .userMessage[data-v-6573ec87] {
10915
10984
  display: none;
10916
10985
  }
10917
10986
 
10918
- /* Keep the card styling in ScalarButton without increasing specificity for the other variants. */
10919
- .generate-sdk-button[data-v-16b2fb9a]:not(:where(.generate-sdk-button--card)) {
10920
- appearance: none;
10921
- border: none;
10922
- background: transparent;
10923
- display: flex;
10924
- align-items: center;
10925
- gap: 4px;
10926
- white-space: nowrap;
10927
- cursor: pointer;
10928
- font-family: var(--scalar-font);
10929
- font-size: var(--scalar-small);
10930
- line-height: 1.385;
10931
- border-radius: var(--scalar-radius);
10932
- outline-offset: 2px;
10933
- }
10934
-
10935
- /* Developer tools header */
10936
- .generate-sdk-button--toolbar[data-v-16b2fb9a] {
10937
- color: var(--scalar-color-2);
10938
- font-size: var(--scalar-font-size-3);
10939
- line-height: 1;
10940
- padding: 9px 8px;
10941
- }
10942
- .generate-sdk-button--toolbar[data-v-16b2fb9a]:hover {
10943
- color: var(--scalar-color-1);
10944
- background: var(--scalar-background-2);
10945
- }
10946
-
10947
- /*
10948
- * Start of the request example footer: a quiet 24px button sized like the "Ask AI Agent" chip on
10949
- * the other end. The height is fixed because the classic layout has no other footer controls to
10950
- * stretch it.
10951
- */
10952
- .generate-sdk-button--footer[data-v-16b2fb9a] {
10953
- color: var(--scalar-color-2);
10954
- background: transparent;
10955
- font-size: inherit;
10956
- font-weight: var(--scalar-semibold);
10957
- line-height: inherit;
10958
- padding: 1px 6px;
10959
- height: 24px;
10960
- margin-inline-end: 4px;
10961
- }
10962
- .generate-sdk-button--footer[data-v-16b2fb9a]:hover {
10963
- background: var(--scalar-background-2);
10964
- }
10965
-
10966
10987
  /* One even column, the same width as each tab beside it */
10967
10988
  .client-libraries-more[data-v-9aa6e406] {
10968
10989
  display: flex;
@@ -11050,8 +11071,8 @@ div + .userMessage[data-v-6573ec87] {
11050
11071
  }
11051
11072
  }
11052
11073
 
11053
- /* The card's footer box; Generate SDK sits on its end edge when the reference runs locally */
11054
- .selected-client-row[data-v-4e1f3f02] {
11074
+ /* The card's footer box */
11075
+ .selected-client-row[data-v-11a35bae] {
11055
11076
  display: flex;
11056
11077
  align-items: center;
11057
11078
  background: var(--scalar-background-1);
@@ -11060,12 +11081,12 @@ div + .userMessage[data-v-6573ec87] {
11060
11081
  border-bottom-right-radius: var(--scalar-radius-xl);
11061
11082
  min-height: fit-content;
11062
11083
  }
11063
- /* The client name gives way to the button on narrow cards and truncates instead */
11064
- .selected-client-panels[data-v-4e1f3f02] {
11084
+ /* The client name truncates on narrow cards instead of wrapping */
11085
+ .selected-client-panels[data-v-11a35bae] {
11065
11086
  flex: 1 1 auto;
11066
11087
  min-width: 0;
11067
11088
  }
11068
- .selected-client[data-v-4e1f3f02] {
11089
+ .selected-client[data-v-11a35bae] {
11069
11090
  color: var(--scalar-color-1);
11070
11091
  font-size: var(--scalar-small);
11071
11092
  font-family: var(--scalar-font-code);
@@ -11077,12 +11098,7 @@ div + .userMessage[data-v-6573ec87] {
11077
11098
  border-bottom-left-radius: var(--scalar-radius-xl);
11078
11099
  border-bottom-right-radius: var(--scalar-radius-xl);
11079
11100
  }
11080
- .selected-client-action[data-v-4e1f3f02] {
11081
- flex-shrink: 0;
11082
- white-space: nowrap;
11083
- margin-inline-end: 5px;
11084
- }
11085
- .client-libraries-heading[data-v-4e1f3f02] {
11101
+ .client-libraries-heading[data-v-11a35bae] {
11086
11102
  font-size: var(--scalar-small);
11087
11103
  font-weight: var(--scalar-font-medium);
11088
11104
  color: var(--scalar-color-1);
@@ -11095,7 +11111,7 @@ div + .userMessage[data-v-6573ec87] {
11095
11111
  border-top-left-radius: var(--scalar-radius-xl);
11096
11112
  border-top-right-radius: var(--scalar-radius-xl);
11097
11113
  }
11098
- .client-libraries-list[data-v-4e1f3f02] {
11114
+ .client-libraries-list[data-v-11a35bae] {
11099
11115
  container: client-libraries-list / inline-size;
11100
11116
  display: flex;
11101
11117
  justify-content: center;
@@ -11106,12 +11122,12 @@ div + .userMessage[data-v-6573ec87] {
11106
11122
  border-right: var(--scalar-border-width) solid var(--scalar-border-color);
11107
11123
  }
11108
11124
  /* Grows once per tab it holds, so tabs and the "More" trigger stay even */
11109
- .client-libraries-tabs[data-v-4e1f3f02] {
11125
+ .client-libraries-tabs[data-v-11a35bae] {
11110
11126
  display: flex;
11111
11127
  flex: 1 1 0;
11112
11128
  min-width: 0;
11113
11129
  }
11114
- .client-libraries[data-v-4e1f3f02] {
11130
+ .client-libraries[data-v-11a35bae] {
11115
11131
  display: flex;
11116
11132
  align-items: center;
11117
11133
  justify-content: center;
@@ -11125,7 +11141,7 @@ div + .userMessage[data-v-6573ec87] {
11125
11141
  border-bottom: 1px solid transparent;
11126
11142
  user-select: none;
11127
11143
  }
11128
- .client-libraries[data-v-4e1f3f02]:not(.client-libraries__active):hover:before {
11144
+ .client-libraries[data-v-11a35bae]:not(.client-libraries__active):hover:before {
11129
11145
  content: '';
11130
11146
  position: absolute;
11131
11147
  width: calc(100% - 4px);
@@ -11136,21 +11152,21 @@ div + .userMessage[data-v-6573ec87] {
11136
11152
  z-index: 0;
11137
11153
  border-radius: var(--scalar-radius);
11138
11154
  }
11139
- .client-libraries[data-v-4e1f3f02]:active {
11155
+ .client-libraries[data-v-11a35bae]:active {
11140
11156
  color: var(--scalar-color-1);
11141
11157
  }
11142
- .client-libraries[data-v-4e1f3f02]:focus-visible {
11158
+ .client-libraries[data-v-11a35bae]:focus-visible {
11143
11159
  outline: none;
11144
11160
  box-shadow: inset 0 0 0 1px var(--scalar-color-accent);
11145
11161
  }
11146
11162
  /* remove php and c on mobile */
11147
11163
  @media screen and (max-width: 450px) {
11148
- .client-libraries[data-v-4e1f3f02]:nth-of-type(4),
11149
- .client-libraries[data-v-4e1f3f02]:nth-of-type(5) {
11164
+ .client-libraries[data-v-11a35bae]:nth-of-type(4),
11165
+ .client-libraries[data-v-11a35bae]:nth-of-type(5) {
11150
11166
  display: none;
11151
11167
  }
11152
11168
  }
11153
- .client-libraries-icon[data-v-4e1f3f02] {
11169
+ .client-libraries-icon[data-v-11a35bae] {
11154
11170
  max-width: 14px;
11155
11171
  max-height: 14px;
11156
11172
  min-width: 14px;
@@ -11163,30 +11179,30 @@ div + .userMessage[data-v-6573ec87] {
11163
11179
  box-sizing: border-box;
11164
11180
  color: currentColor;
11165
11181
  }
11166
- .client-libraries__active[data-v-4e1f3f02] {
11182
+ .client-libraries__active[data-v-11a35bae] {
11167
11183
  color: var(--scalar-color-1);
11168
11184
  border-bottom: 1px solid var(--scalar-color-1);
11169
11185
  }
11170
- .client-libraries .client-libraries-text[data-v-4e1f3f02] {
11186
+ .client-libraries .client-libraries-text[data-v-11a35bae] {
11171
11187
  font-size: var(--scalar-small);
11172
11188
  position: relative;
11173
11189
  display: flex;
11174
11190
  align-items: center;
11175
11191
  }
11176
- .client-libraries__active .client-libraries-text[data-v-4e1f3f02] {
11192
+ .client-libraries__active .client-libraries-text[data-v-11a35bae] {
11177
11193
  color: var(--scalar-color-1);
11178
11194
  font-weight: var(--scalar-semibold);
11179
11195
  }
11180
11196
  @media screen and (max-width: 600px) {
11181
- .references-classic .client-libraries[data-v-4e1f3f02] {
11197
+ .references-classic .client-libraries[data-v-11a35bae] {
11182
11198
  flex-direction: column;
11183
11199
  }
11184
11200
  }
11185
11201
  @container client-libraries-list (width < 380px) {
11186
- .client-libraries[data-v-4e1f3f02] {
11202
+ .client-libraries[data-v-11a35bae] {
11187
11203
  width: 100%;
11188
11204
  }
11189
- .client-libraries span[data-v-4e1f3f02] {
11205
+ .client-libraries span[data-v-11a35bae] {
11190
11206
  display: none;
11191
11207
  }
11192
11208
  }
@@ -11522,7 +11538,7 @@ to {
11522
11538
  }
11523
11539
  }
11524
11540
 
11525
- .sticky-cards[data-v-e3e54d3a] {
11541
+ .sticky-cards[data-v-25994d58] {
11526
11542
  display: flex;
11527
11543
  flex-direction: column;
11528
11544
  position: sticky;
@@ -12488,11 +12504,11 @@ to {
12488
12504
  margin-right: 4px;
12489
12505
  }
12490
12506
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
12491
- .operation-title[data-v-ee2073f7] {
12507
+ .operation-title[data-v-93037fdc] {
12492
12508
  justify-content: space-between;
12493
12509
  display: flex;
12494
12510
  }
12495
- .operation-details[data-v-ee2073f7] {
12511
+ .operation-details[data-v-93037fdc] {
12496
12512
  flex-shrink: 1;
12497
12513
  align-items: center;
12498
12514
  gap: 9px;
@@ -12500,11 +12516,11 @@ to {
12500
12516
  margin-top: 0;
12501
12517
  display: flex;
12502
12518
  }
12503
- .operation-details[data-v-ee2073f7] .endpoint-anchor .scalar-button svg {
12519
+ .operation-details[data-v-93037fdc] .endpoint-anchor .scalar-button svg {
12504
12520
  width: 16px;
12505
12521
  height: 16px;
12506
12522
  }
12507
- .endpoint-type[data-v-ee2073f7] {
12523
+ .endpoint-type[data-v-93037fdc] {
12508
12524
  z-index: 0;
12509
12525
  width: 60px;
12510
12526
  font-size: var(--scalar-small);
@@ -12519,7 +12535,7 @@ to {
12519
12535
  display: flex;
12520
12536
  position: relative;
12521
12537
  }
12522
- .endpoint-type[data-v-ee2073f7]:after {
12538
+ .endpoint-type[data-v-93037fdc]:after {
12523
12539
  content: "";
12524
12540
  z-index: -1;
12525
12541
  opacity: .15;
@@ -12528,16 +12544,16 @@ to {
12528
12544
  position: absolute;
12529
12545
  inset: 0;
12530
12546
  }
12531
- .endpoint-anchor[data-v-ee2073f7] {
12547
+ .endpoint-anchor[data-v-93037fdc] {
12532
12548
  flex-shrink: 1;
12533
12549
  align-items: center;
12534
12550
  min-width: 0;
12535
12551
  display: flex;
12536
12552
  }
12537
- .endpoint-anchor.label[data-v-ee2073f7] {
12553
+ .endpoint-anchor.label[data-v-93037fdc] {
12538
12554
  display: flex;
12539
12555
  }
12540
- .endpoint-label[data-v-ee2073f7] {
12556
+ .endpoint-label[data-v-93037fdc] {
12541
12557
  min-width: 0;
12542
12558
  color: var(--scalar-color-1);
12543
12559
  flex-shrink: 1;
@@ -12545,17 +12561,17 @@ to {
12545
12561
  gap: 9px;
12546
12562
  display: flex;
12547
12563
  }
12548
- .endpoint-label-path[data-v-ee2073f7] {
12564
+ .endpoint-label-path[data-v-93037fdc] {
12549
12565
  font-family: var(--scalar-font-code);
12550
12566
  font-size: var(--scalar-mini);
12551
12567
  text-overflow: ellipsis;
12552
12568
  white-space: nowrap;
12553
12569
  overflow: hidden;
12554
12570
  }
12555
- .endpoint-label-path[data-v-ee2073f7] em {
12571
+ .endpoint-label-path[data-v-93037fdc] em {
12556
12572
  color: var(--scalar-color-2);
12557
12573
  }
12558
- .endpoint-label-name[data-v-ee2073f7] {
12574
+ .endpoint-label-name[data-v-93037fdc] {
12559
12575
  color: var(--scalar-color-2);
12560
12576
  font-size: var(--scalar-small);
12561
12577
  text-overflow: ellipsis;
@@ -12563,17 +12579,17 @@ to {
12563
12579
  flex-shrink: 1000000000;
12564
12580
  overflow: hidden;
12565
12581
  }
12566
- .endpoint-try-hint[data-v-ee2073f7] {
12582
+ .endpoint-try-hint[data-v-93037fdc] {
12567
12583
  flex-shrink: 0;
12568
12584
  padding: 2px;
12569
12585
  }
12570
- .endpoint-copy[data-v-ee2073f7] {
12586
+ .endpoint-copy[data-v-93037fdc] {
12571
12587
  color: currentColor;
12572
12588
  }
12573
- .endpoint-copy[data-v-ee2073f7] svg {
12589
+ .endpoint-copy[data-v-93037fdc] svg {
12574
12590
  stroke-width: 2px;
12575
12591
  }
12576
- .endpoint-content[data-v-ee2073f7] {
12592
+ .endpoint-content[data-v-93037fdc] {
12577
12593
  grid-auto-columns: 1fr;
12578
12594
  grid-auto-flow: row;
12579
12595
  gap: 9px;
@@ -12581,62 +12597,62 @@ to {
12581
12597
  display: grid;
12582
12598
  }
12583
12599
  @media (min-width: 1000px) {
12584
- .endpoint-content[data-v-ee2073f7] {
12600
+ .endpoint-content[data-v-93037fdc] {
12585
12601
  grid-auto-flow: column;
12586
12602
  }
12587
12603
  }
12588
12604
  @container (max-width: 900px) {
12589
- .endpoint-content[data-v-ee2073f7] {
12605
+ .endpoint-content[data-v-93037fdc] {
12590
12606
  grid-template-columns: 1fr;
12591
12607
  }
12592
12608
  }
12593
- .endpoint-content[data-v-ee2073f7] > * {
12609
+ .endpoint-content[data-v-93037fdc] > * {
12594
12610
  min-width: 0;
12595
12611
  }
12596
- .endpoint-content[data-v-ee2073f7]:has(.property--tree, .parameter-item--tree, .callback-list-item--tree) {
12612
+ .endpoint-content[data-v-93037fdc]:has(.property--tree, .parameter-item--tree, .callback-list-item--tree) {
12597
12613
  padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
12598
12614
  }
12599
- :is(.operation-details-card-item[data-v-ee2073f7] .request-body-schema:has(.property--tree), .operation-details-card-item[data-v-ee2073f7] .callbacks-list:has(.callback-list-item--tree)) {
12615
+ :is(.operation-details-card-item[data-v-93037fdc] .request-body-schema:has(.property--tree), .operation-details-card-item[data-v-93037fdc] .callbacks-list:has(.callback-list-item--tree)) {
12600
12616
  padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
12601
12617
  padding-inline-end: 9px;
12602
12618
  }
12603
- .endpoint-content[data-v-ee2073f7] .copy-link-trailing {
12619
+ .endpoint-content[data-v-93037fdc] .copy-link-trailing {
12604
12620
  display: none;
12605
12621
  }
12606
- .operation-details-card[data-v-ee2073f7] {
12622
+ .operation-details-card[data-v-93037fdc] {
12607
12623
  flex-direction: column;
12608
12624
  gap: 12px;
12609
12625
  min-width: 0;
12610
12626
  display: flex;
12611
12627
  }
12612
- :is(.operation-details-card-item[data-v-ee2073f7] .parameter-list, .operation-details-card-item[data-v-ee2073f7] .callbacks-list) {
12628
+ :is(.operation-details-card-item[data-v-93037fdc] .parameter-list, .operation-details-card-item[data-v-93037fdc] .callbacks-list) {
12613
12629
  border: var(--scalar-border-width) solid var(--scalar-border-color);
12614
12630
  border-radius: var(--scalar-radius-lg);
12615
12631
  margin-top: 0;
12616
12632
  }
12617
- .operation-details-card-item[data-v-ee2073f7] {
12633
+ .operation-details-card-item[data-v-93037fdc] {
12618
12634
  flex-direction: column;
12619
12635
  gap: 12px;
12620
12636
  display: flex;
12621
12637
  }
12622
- .operation-details-card-item[data-v-ee2073f7] .parameter-list-items {
12638
+ .operation-details-card-item[data-v-93037fdc] .parameter-list-items {
12623
12639
  margin-bottom: 0;
12624
12640
  }
12625
- .operation-details-card[data-v-ee2073f7] .parameter-item:last-of-type .parameter-schema {
12641
+ .operation-details-card[data-v-93037fdc] .parameter-item:last-of-type .parameter-schema {
12626
12642
  padding-bottom: 12px;
12627
12643
  }
12628
- .operation-details-card[data-v-ee2073f7] .parameter-list .parameter-list {
12644
+ .operation-details-card[data-v-93037fdc] .parameter-list .parameter-list {
12629
12645
  margin-bottom: 12px;
12630
12646
  }
12631
- .operation-details-card[data-v-ee2073f7] .parameter-item {
12647
+ .operation-details-card[data-v-93037fdc] .parameter-item {
12632
12648
  margin: 0;
12633
12649
  padding: 0;
12634
12650
  }
12635
- .operation-details-card[data-v-ee2073f7] .property {
12651
+ .operation-details-card[data-v-93037fdc] .property {
12636
12652
  margin: 0;
12637
12653
  padding: 9px;
12638
12654
  }
12639
- :is(.operation-details-card[data-v-ee2073f7] .parameter-list-title, .operation-details-card[data-v-ee2073f7] .request-body-title, .operation-details-card[data-v-ee2073f7] .callbacks-title) {
12655
+ :is(.operation-details-card[data-v-93037fdc] .parameter-list-title, .operation-details-card[data-v-93037fdc] .request-body-title, .operation-details-card[data-v-93037fdc] .callbacks-title) {
12640
12656
  text-transform: uppercase;
12641
12657
  font-weight: var(--scalar-bold);
12642
12658
  font-size: var(--scalar-mini);
@@ -12645,43 +12661,43 @@ to {
12645
12661
  padding: 9px;
12646
12662
  line-height: 1.33;
12647
12663
  }
12648
- .operation-details-card[data-v-ee2073f7] .request-body-description {
12664
+ .operation-details-card[data-v-93037fdc] .request-body-description {
12649
12665
  border-top: var(--scalar-border-width) solid var(--scalar-border-color);
12650
12666
  margin-top: 0;
12651
12667
  padding: 9px 9px 0;
12652
12668
  }
12653
- .operation-details-card[data-v-ee2073f7] .request-body {
12669
+ .operation-details-card[data-v-93037fdc] .request-body {
12654
12670
  border-radius: var(--scalar-radius-lg);
12655
12671
  border: var(--scalar-border-width) solid var(--scalar-border-color);
12656
12672
  margin-top: 0;
12657
12673
  }
12658
- .operation-details-card[data-v-ee2073f7] .request-body .schema-card--level-0 > .schema-card-description {
12674
+ .operation-details-card[data-v-93037fdc] .request-body .schema-card--level-0 > .schema-card-description {
12659
12675
  padding-inline: 9px;
12660
12676
  }
12661
- .operation-details-card[data-v-ee2073f7] .request-body-header {
12677
+ .operation-details-card[data-v-93037fdc] .request-body-header {
12662
12678
  border-bottom: 0;
12663
12679
  padding-bottom: 0;
12664
12680
  }
12665
- .operation-details-card[data-v-ee2073f7] .contents button {
12681
+ .operation-details-card[data-v-93037fdc] .contents button {
12666
12682
  margin-right: 9px;
12667
12683
  }
12668
- .operation-details-card[data-v-ee2073f7] .schema-card--open + .schema-card:not(.schema-card--open) {
12684
+ .operation-details-card[data-v-93037fdc] .schema-card--open + .schema-card:not(.schema-card--open) {
12669
12685
  margin-inline: 9px;
12670
12686
  margin-bottom: 9px;
12671
12687
  }
12672
- .operation-details-card[data-v-ee2073f7] .request-body-schema .property--level-0 {
12688
+ .operation-details-card[data-v-93037fdc] .request-body-schema .property--level-0 {
12673
12689
  padding: 0;
12674
12690
  }
12675
- .operation-details-card[data-v-ee2073f7] .selected-content-type {
12691
+ .operation-details-card[data-v-93037fdc] .selected-content-type {
12676
12692
  margin-right: 9px;
12677
12693
  }
12678
- .operation-example-card[data-v-ee2073f7] {
12694
+ .operation-example-card[data-v-93037fdc] {
12679
12695
  top: calc(var(--refs-viewport-offset) + 24px);
12680
12696
  max-height: calc(var(--refs-viewport-height) - 48px);
12681
12697
  position: sticky;
12682
12698
  }
12683
12699
  @media (max-width: 600px) {
12684
- .operation-example-card[data-v-ee2073f7] {
12700
+ .operation-example-card[data-v-93037fdc] {
12685
12701
  max-height: unset;
12686
12702
  position: static;
12687
12703
  }
@@ -12781,7 +12797,7 @@ to {
12781
12797
  * its own leading margin (mt-6) that already spaces it from whatever precedes
12782
12798
  * it — a row-gap would double that gap.
12783
12799
  */
12784
- .operation-layout[data-v-dd1d0853] {
12800
+ .operation-layout[data-v-1ab4a381] {
12785
12801
  display: grid;
12786
12802
  grid-template-columns: 1fr 1fr;
12787
12803
  grid-template-rows: auto auto 1fr;
@@ -12792,7 +12808,7 @@ to {
12792
12808
  column-gap: 48px;
12793
12809
  row-gap: 0;
12794
12810
  }
12795
- .operation-title[data-v-dd1d0853] {
12811
+ .operation-title[data-v-1ab4a381] {
12796
12812
  grid-area: heading;
12797
12813
  margin-bottom: 12px;
12798
12814
 
@@ -12802,20 +12818,20 @@ to {
12802
12818
  color: var(--scalar-color-1);
12803
12819
  line-height: 1.45;
12804
12820
  }
12805
- .operation-auth[data-v-dd1d0853] {
12821
+ .operation-auth[data-v-1ab4a381] {
12806
12822
  grid-area: badge;
12807
12823
  justify-self: end;
12808
12824
  align-self: start;
12809
12825
  }
12810
- .operation-description[data-v-dd1d0853] {
12826
+ .operation-description[data-v-1ab4a381] {
12811
12827
  grid-area: description;
12812
12828
  min-width: 0;
12813
12829
  }
12814
- .operation-details[data-v-dd1d0853] {
12830
+ .operation-details[data-v-1ab4a381] {
12815
12831
  grid-area: details;
12816
12832
  min-width: 0;
12817
12833
  }
12818
- .examples[data-v-dd1d0853] {
12834
+ .examples[data-v-1ab4a381] {
12819
12835
  grid-area: examples;
12820
12836
  align-self: start;
12821
12837
  min-width: 0;
@@ -12823,11 +12839,11 @@ to {
12823
12839
  position: sticky;
12824
12840
  top: calc(var(--refs-viewport-offset) + 24px);
12825
12841
  }
12826
- .examples[data-v-dd1d0853] > * {
12842
+ .examples[data-v-1ab4a381] > * {
12827
12843
  max-height: calc((var(--refs-viewport-height) - 60px) / 2);
12828
12844
  position: relative;
12829
12845
  }
12830
- .examples[data-v-dd1d0853] > *:first-of-type:last-of-type {
12846
+ .examples[data-v-1ab4a381] > *:first-of-type:last-of-type {
12831
12847
  max-height: calc((var(--refs-viewport-height) - 60px));
12832
12848
  }
12833
12849
 
@@ -12836,11 +12852,11 @@ to {
12836
12852
  * (or zoomed in screens)
12837
12853
  */
12838
12854
  @media (max-width: 600px) {
12839
- .examples[data-v-dd1d0853] > * {
12855
+ .examples[data-v-1ab4a381] > * {
12840
12856
  max-height: unset;
12841
12857
  }
12842
12858
  }
12843
- .deprecated[data-v-dd1d0853] * {
12859
+ .deprecated[data-v-1ab4a381] * {
12844
12860
  text-decoration: line-through;
12845
12861
  }
12846
12862
 
@@ -12850,7 +12866,7 @@ to {
12850
12866
  * an eyebrow above the title.
12851
12867
  */
12852
12868
  @container references-container (max-width: 900px) {
12853
- .operation-layout[data-v-dd1d0853] {
12869
+ .operation-layout[data-v-1ab4a381] {
12854
12870
  grid-template-columns: 1fr;
12855
12871
  grid-template-areas:
12856
12872
  'badge'
@@ -12860,16 +12876,16 @@ to {
12860
12876
  'details';
12861
12877
  column-gap: 0;
12862
12878
  }
12863
- .operation-auth[data-v-dd1d0853] {
12879
+ .operation-auth[data-v-1ab4a381] {
12864
12880
  justify-self: start;
12865
12881
  margin-bottom: 4px;
12866
12882
  }
12867
- .operation-description[data-v-dd1d0853] {
12883
+ .operation-description[data-v-1ab4a381] {
12868
12884
  margin-bottom: 24px;
12869
12885
  }
12870
12886
 
12871
12887
  /* Don't make the examples sticky on narrow viewports */
12872
- .examples[data-v-dd1d0853] {
12888
+ .examples[data-v-1ab4a381] {
12873
12889
  position: static;
12874
12890
  }
12875
12891
  }
@@ -13025,6 +13041,31 @@ to {
13025
13041
  color: var(--scalar-sidebar-color-2);
13026
13042
  }
13027
13043
 
13044
+ /* Matches the panel toggles next to it in the developer toolbar: a 16px icon 8px from the label */
13045
+ .generate-sdk-button[data-v-3e50329f] {
13046
+ appearance: none;
13047
+ border: none;
13048
+ background: transparent;
13049
+ display: flex;
13050
+ align-items: center;
13051
+ gap: 8px;
13052
+ white-space: nowrap;
13053
+ cursor: pointer;
13054
+ font-family: var(--scalar-font);
13055
+ border-radius: var(--scalar-radius-lg);
13056
+ outline-offset: 2px;
13057
+ color: var(--scalar-color-2);
13058
+ font-size: var(--scalar-font-size-4);
13059
+ line-height: 1;
13060
+ height: 32px;
13061
+ padding: 0 8px;
13062
+ }
13063
+ .generate-sdk-button[data-v-3e50329f]:hover,
13064
+ .generate-sdk-button[aria-expanded='true'][data-v-3e50329f] {
13065
+ color: var(--scalar-color-1);
13066
+ background: var(--scalar-background-3);
13067
+ }
13068
+
13028
13069
  /** Used to check if css is loaded */
13029
13070
  :root {
13030
13071
  --scalar-loaded-api-reference: true;
@@ -13035,7 +13076,7 @@ to {
13035
13076
 
13036
13077
  /* Configurable Layout Variables */
13037
13078
  @layer scalar-config {
13038
- .scalar-api-reference[data-v-f08574be] {
13079
+ .scalar-api-reference[data-v-8933dafb] {
13039
13080
  /* The header height */
13040
13081
  --refs-header-height: calc(
13041
13082
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -13057,20 +13098,20 @@ to {
13057
13098
  /* The maximum width of the content column */
13058
13099
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
13059
13100
  }
13060
- .scalar-api-reference.references-classic[data-v-f08574be] {
13101
+ .scalar-api-reference.references-classic[data-v-8933dafb] {
13061
13102
  /* Classic layout is wider */
13062
13103
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
13063
13104
  min-height: 100dvh;
13064
13105
  --refs-sidebar-width: 0;
13065
13106
  }
13066
13107
  }
13067
- .t-doc__sidebar[data-v-f08574be] {
13108
+ .t-doc__sidebar[data-v-8933dafb] {
13068
13109
  z-index: 10;
13069
13110
  }
13070
13111
 
13071
13112
  /* ----------------------------------------------------- */
13072
13113
  /* References Layout */
13073
- .references-layout[data-v-f08574be] {
13114
+ .references-layout[data-v-8933dafb] {
13074
13115
  /* Try to fill the container */
13075
13116
  min-height: 100dvh;
13076
13117
  min-width: 100%;
@@ -13094,36 +13135,36 @@ to {
13094
13135
 
13095
13136
  background: var(--scalar-background-1);
13096
13137
  }
13097
- .references-editor[data-v-f08574be] {
13138
+ .references-editor[data-v-8933dafb] {
13098
13139
  grid-area: editor;
13099
13140
  display: flex;
13100
13141
  min-width: 0;
13101
13142
  background: var(--scalar-background-1);
13102
13143
  }
13103
- .references-rendered[data-v-f08574be] {
13144
+ .references-rendered[data-v-8933dafb] {
13104
13145
  position: relative;
13105
13146
  grid-area: rendered;
13106
13147
  min-width: 0;
13107
13148
  background: var(--scalar-background-1);
13108
13149
  }
13109
- .scalar-api-reference.references-classic[data-v-f08574be],
13110
- .references-classic .references-rendered[data-v-f08574be] {
13150
+ .scalar-api-reference.references-classic[data-v-8933dafb],
13151
+ .references-classic .references-rendered[data-v-8933dafb] {
13111
13152
  height: initial !important;
13112
13153
  max-height: initial !important;
13113
13154
  }
13114
13155
  /* Give the classic layout some breathing room at the end of the scroll */
13115
- .references-classic .references-rendered[data-v-f08574be] {
13156
+ .references-classic .references-rendered[data-v-8933dafb] {
13116
13157
  padding-bottom: 80px;
13117
13158
  }
13118
13159
  @layer scalar-config {
13119
- .references-sidebar[data-v-f08574be] {
13160
+ .references-sidebar[data-v-8933dafb] {
13120
13161
  /* Set a default width if references are enabled */
13121
13162
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
13122
13163
  }
13123
13164
  }
13124
13165
 
13125
13166
  /* Footer */
13126
- .references-footer[data-v-f08574be] {
13167
+ .references-footer[data-v-8933dafb] {
13127
13168
  grid-area: footer;
13128
13169
  }
13129
13170
  /* ----------------------------------------------------- */
@@ -13139,12 +13180,12 @@ to {
13139
13180
  */
13140
13181
  @media (width < 1000px) {
13141
13182
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
13142
- .references-developer-tools[data-v-f08574be] {
13183
+ .references-developer-tools[data-v-8933dafb] {
13143
13184
  display: none;
13144
13185
  }
13145
13186
 
13146
13187
  /* Stack view on mobile */
13147
- .references-layout[data-v-f08574be] {
13188
+ .references-layout[data-v-8933dafb] {
13148
13189
  /* Adjust the sidebar height to the viewport height minus the header height */
13149
13190
  --refs-sidebar-height: calc(
13150
13191
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -13159,17 +13200,227 @@ to {
13159
13200
  'rendered'
13160
13201
  'footer';
13161
13202
  }
13162
- .references-editable[data-v-f08574be] {
13203
+ .references-editable[data-v-8933dafb] {
13163
13204
  grid-template-areas:
13164
13205
  'header'
13165
13206
  'navigation'
13166
13207
  'editor';
13167
13208
  }
13168
- .references-rendered[data-v-f08574be] {
13209
+ .references-rendered[data-v-8933dafb] {
13169
13210
  position: static;
13170
13211
  }
13171
13212
  }
13172
13213
 
13214
+ /* ----------------------------------------------------- */
13215
+ /* Localhost Shell */
13216
+
13217
+ /*
13218
+ * Localhost only (see `isShell` in the script). The toolbar leaves the content column for a sticky
13219
+ * bar above the whole reference, which becomes a bordered card on a tinted backdrop, with an
13220
+ * optional side panel next to it. The page keeps scrolling as a whole: the card grows with the
13221
+ * document, and only the toolbar, the sidebar, the frame around the card and the panel stick.
13222
+ *
13223
+ * The root is a grid: the toolbar on top, the card in the first column, and the panel in a second
13224
+ * column that only takes room while a panel is open, so the card narrows to make space for it.
13225
+ *
13226
+ * Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
13227
+ */
13228
+ @media (width >= 1000px) {
13229
+ .references-shell[data-v-8933dafb] {
13230
+ /* The toolbar reads this for its height, so the offsets below always match what it renders */
13231
+ --refs-shell-toolbar-height: 48px;
13232
+ /* Breathing room between the card and the viewport edge, and between the card and the panel */
13233
+ --refs-shell-gutter: 8px;
13234
+ /* Where the card starts: below an embedding page's own sticky header and the toolbar */
13235
+ --refs-shell-top: calc(
13236
+ var(--scalar-custom-header-height, 0px) + var(--refs-shell-toolbar-height)
13237
+ );
13238
+ /* How tall the frame and the panel are while they stick: the viewport below the toolbar */
13239
+ --refs-shell-stuck-height: calc(
13240
+ 100dvh - var(--refs-shell-top) - var(--refs-shell-gutter)
13241
+ );
13242
+ --refs-shell-panel-width: clamp(320px, 28vw, 400px);
13243
+ --refs-shell-backdrop: var(--scalar-background-2);
13244
+
13245
+ display: grid;
13246
+ grid-template-columns: minmax(0, 1fr) auto;
13247
+ grid-template-rows: var(--refs-shell-toolbar-height) auto;
13248
+ padding: 0 var(--refs-shell-gutter) var(--refs-shell-gutter);
13249
+ background: var(--refs-shell-backdrop);
13250
+ }
13251
+
13252
+ /* Darker than the card rather than lighter, so it still reads as a backdrop */
13253
+ .dark-mode .references-shell[data-v-8933dafb] {
13254
+ --refs-shell-backdrop: color-mix(
13255
+ in srgb,
13256
+ var(--scalar-background-1) 25%,
13257
+ black 75%
13258
+ );
13259
+ }
13260
+ .references-shell-toolbar[data-v-8933dafb] {
13261
+ /*
13262
+ * A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
13263
+ * and sits at the top of it, while the first row keeps its height free.
13264
+ */
13265
+ grid-area: 1 / 1 / -1 / -1;
13266
+ align-self: start;
13267
+ position: sticky;
13268
+ /* Below an embedding page's own sticky header, like the sidebar */
13269
+ top: var(--scalar-custom-header-height, 0px);
13270
+ /* Above the frame and the panel, so its buttons sit on top of the backdrop the frame paints */
13271
+ z-index: 20;
13272
+ background: var(--refs-shell-backdrop);
13273
+ }
13274
+ .references-shell-card[data-v-8933dafb] {
13275
+ grid-area: 2 / 1;
13276
+ /* Fill the viewport below the toolbar, so a short document still ends at the frame */
13277
+ min-height: var(--refs-shell-stuck-height);
13278
+ }
13279
+
13280
+ /*
13281
+ * The frame sits on the card and sticks to the viewport, so the rounded corners stay in view while
13282
+ * the page scrolls underneath. Its shadow paints the backdrop outside the rounded rectangle: over
13283
+ * the card's own square corners, the sticky sidebar, and whatever has scrolled past the bottom
13284
+ * edge. The clip keeps that shadow within a gutter of the frame (none above it, where the toolbar
13285
+ * is), so it never covers an embedding page's header or footer.
13286
+ *
13287
+ * It sticks within the card's grid area, so it follows the card's end when the page has more
13288
+ * content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
13289
+ */
13290
+ .references-shell-frame[data-v-8933dafb] {
13291
+ grid-area: 2 / 1;
13292
+ align-self: start;
13293
+ position: sticky;
13294
+ top: var(--refs-shell-top);
13295
+ z-index: 15;
13296
+ height: var(--refs-shell-stuck-height);
13297
+ border: var(--scalar-border-width) solid var(--scalar-border-color);
13298
+ border-radius: var(--scalar-radius-lg);
13299
+ box-shadow: 0 0 0 100vmax var(--refs-shell-backdrop);
13300
+ clip-path: inset(
13301
+ 0 calc(-1 * var(--refs-shell-gutter)) calc(-1 * var(--refs-shell-gutter))
13302
+ );
13303
+ pointer-events: none;
13304
+ }
13305
+
13306
+ /*
13307
+ * The open side panel: its own column, so the card narrows next to it, and sticky like the frame.
13308
+ * Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
13309
+ * inside it are teleported, so they still open above the toolbar.
13310
+ */
13311
+ .references-shell-panel[data-v-8933dafb] {
13312
+ grid-area: 2 / 2;
13313
+ align-self: start;
13314
+ position: sticky;
13315
+ top: var(--refs-shell-top);
13316
+ z-index: 16;
13317
+ width: var(--refs-shell-panel-width);
13318
+ /* As tall as the frame, so every panel's card ends at the same bottom edge as the reference */
13319
+ height: var(--refs-shell-stuck-height);
13320
+ margin-inline-start: var(--refs-shell-gutter);
13321
+ transform-origin: top center;
13322
+ animation: refs-shell-panel-in-8933dafb 180ms cubic-bezier(0.32, 0.72, 0, 1);
13323
+ }
13324
+
13325
+ /*
13326
+ * Keyboard focus scrolls a control to the top edge when moving up the page, where the toolbar
13327
+ * would cover it. Sections already leave that room through their own scroll margin, and so do
13328
+ * deep-link targets (anything with an id), which keep theirs. Only the content needs it: the
13329
+ * sidebar scrolls on its own, below the toolbar.
13330
+ */
13331
+ .references-shell-card
13332
+ .references-rendered[data-v-8933dafb]
13333
+
13334
+ :is(
13335
+ a[href],
13336
+ button,
13337
+ input,
13338
+ select,
13339
+ textarea,
13340
+ summary,
13341
+ [tabindex]:not([tabindex='-1'])
13342
+ ):not([id])
13343
+ {
13344
+ scroll-margin-top: calc(var(--refs-header-height) + 8px);
13345
+ }
13346
+
13347
+ /*
13348
+ * The agent drawer flies out from under the sidebar and stays inside the card, the way it does
13349
+ * across the window on a hosted reference. The drawer and its backdrop keep their own stacking,
13350
+ * below the sidebar, the frame, the panel and the toolbar: the sidebar hides the drawer's shadow
13351
+ * and its slide-in, and the frame keeps the card's rounded corners and border on top.
13352
+ *
13353
+ * Both follow the card's visible edges instead of the window's: below the toolbar, above the
13354
+ * bottom gutter, and inside the end gutter (or the open panel). The drawer starts at the
13355
+ * sidebar's edge and stops 48px short of the card's end, as it stops short of the window's edge
13356
+ * on a hosted reference, where the backdrop shows through.
13357
+ *
13358
+ * Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
13359
+ */
13360
+ .references-shell[data-v-8933dafb] .agent-scalar-overlay.agent-scalar-overlay,
13361
+ .references-shell[data-v-8933dafb] .agent-scalar.agent-scalar {
13362
+ --refs-shell-agent-end: var(--refs-shell-gutter);
13363
+ z-index: 10;
13364
+ }
13365
+ .references-shell[data-shell-panel][data-v-8933dafb]
13366
+ .agent-scalar-overlay.agent-scalar-overlay,
13367
+ .references-shell[data-shell-panel][data-v-8933dafb] .agent-scalar.agent-scalar {
13368
+ --refs-shell-agent-end: calc(
13369
+ var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
13370
+ );
13371
+ }
13372
+ .references-shell[data-v-8933dafb] .agent-scalar-overlay.agent-scalar-overlay {
13373
+ inset: var(--refs-shell-top) var(--refs-shell-agent-end)
13374
+ var(--refs-shell-gutter) var(--refs-shell-gutter);
13375
+ }
13376
+ .references-shell[data-v-8933dafb] .agent-scalar.agent-scalar {
13377
+ inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
13378
+ var(--refs-shell-gutter)
13379
+ calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
13380
+ }
13381
+ /* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
13382
+ .references-shell[data-v-8933dafb] .references-classic .agent-scalar.agent-scalar {
13383
+ left: var(--refs-shell-gutter);
13384
+ }
13385
+ @layer scalar-config {
13386
+ .scalar-api-reference.references-shell-card[data-v-8933dafb] {
13387
+ /* The sticky toolbar is one more header that the sidebar and scroll offsets sit below */
13388
+ --refs-header-height: calc(
13389
+ var(--scalar-custom-header-height, 0px) +
13390
+ var(--scalar-header-height, 0px) + var(--refs-shell-toolbar-height)
13391
+ );
13392
+ /*
13393
+ * Stop at the card's bottom edge. A sidebar as tall as the viewport would be pushed up under
13394
+ * the toolbar once the card's bottom gutter scrolls into view.
13395
+ */
13396
+ --refs-sidebar-height: calc(
13397
+ var(--full-height, 100dvh) - var(--refs-header-height) -
13398
+ var(--refs-shell-gutter) - var(--scalar-border-width)
13399
+ );
13400
+ }
13401
+ }
13402
+ }
13403
+
13404
+ /* The panel only exists at the toolbar's breakpoint; the script closes it below that */
13405
+ @media (width < 1000px) {
13406
+ .references-shell-panel[data-v-8933dafb] {
13407
+ display: none;
13408
+ }
13409
+ }
13410
+
13411
+ /* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
13412
+ @keyframes refs-shell-panel-in-8933dafb {
13413
+ from {
13414
+ opacity: 0;
13415
+ scale: 0.985;
13416
+ }
13417
+ }
13418
+ @media (prefers-reduced-motion: reduce) {
13419
+ .references-shell-panel[data-v-8933dafb] {
13420
+ animation: none;
13421
+ }
13422
+ }
13423
+
13173
13424
  /**
13174
13425
  * Sidebar CSS for standalone
13175
13426
  * TODO: @brynn move this to the sidebar block OR the ApiReferenceStandalone component
@@ -13177,12 +13428,12 @@ to {
13177
13428
  */
13178
13429
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
13179
13430
  @media (width < 1000px) {
13180
- .scalar-api-references-standalone-mobile[data-v-f08574be]:not(.references-classic) {
13431
+ .scalar-api-references-standalone-mobile[data-v-8933dafb]:not(.references-classic) {
13181
13432
  --scalar-header-height: 50px;
13182
13433
  }
13183
13434
  }
13184
13435
 
13185
- .darklight-reference[data-v-f08574be] {
13436
+ .darklight-reference[data-v-8933dafb] {
13186
13437
  width: 100%;
13187
13438
  margin-top: auto;
13188
13439
  }
@@ -13793,139 +14044,58 @@ to {
13793
14044
  }
13794
14045
  }
13795
14046
 
13796
- .explore-scalar-card[data-v-acfffa01] {
13797
- --explore-ease-out: cubic-bezier(0.32, 0.72, 0, 1);
13798
- --explore-ease-in: cubic-bezier(0.4, 0, 0.2, 1);
13799
- --explore-highlight: rgb(255 255 255 / 0.7);
13800
- border: var(--scalar-border-width) solid var(--scalar-border-color);
13801
- }
13802
- .dark-mode .explore-scalar-card[data-v-acfffa01] {
13803
- --explore-highlight: rgb(255 255 255 / 0.06);
13804
- }
13805
- .explore-scalar-reveal[data-v-acfffa01] {
13806
- grid-template-rows: 0fr;
13807
- transition: grid-template-rows 240ms var(--explore-ease-in);
13808
- }
13809
- /* No vertical padding while collapsed, so the trigger fills the 32px bar exactly */
13810
- .explore-scalar-pill[data-v-acfffa01] {
13811
- padding: 0;
13812
- transition: padding 240ms var(--explore-ease-in);
13813
- }
13814
- /* The theme reset draws a 1px accent ring on :focus-visible; a 2px ring inset by 2px cannot be clipped by overflow: hidden */
13815
- .explore-scalar-cta[data-v-acfffa01]:focus-visible {
13816
- outline-width: 2px;
13817
- outline-offset: -2px;
13818
- }
13819
- /*
13820
- * The gradient button is the trigger itself, in both states, so its background never animates.
13821
- * Nothing theme-coloured is ever transitioned here either, so switching light and dark mode
13822
- * swaps every colour instantly: the 1px specular highlight of the gradient recipe is a static
13823
- * shadow, and the hairline lives on a pseudo-element that only fades by opacity. It is faded
13824
- * out while the trigger fills the card, where the card's own border already draws that line,
13825
- * and in once it is a pill.
13826
- */
13827
- .explore-scalar-cta[data-v-acfffa01] {
13828
- flex: 1 1 auto;
13829
- border-radius: var(--scalar-radius);
13830
- box-shadow: inset 0 1px 0 0 var(--explore-highlight);
13831
- transition:
13832
- flex-grow 240ms var(--explore-ease-in),
13833
- border-radius 240ms var(--explore-ease-in);
13834
- }
13835
- .explore-scalar-cta[data-v-acfffa01]::after {
13836
- content: '';
13837
- position: absolute;
13838
- inset: 0;
13839
- /* Follows the trigger's corners frame by frame while they animate */
13840
- border-radius: inherit;
13841
- box-shadow: inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
13842
- opacity: 0;
13843
- pointer-events: none;
13844
- transition: opacity 200ms var(--explore-ease-in);
13845
- }
13846
- .explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker,
13847
- .explore-scalar-headline[data-v-acfffa01] {
13848
- opacity: 0;
13849
- translate: 0 8px;
13850
- transition:
13851
- opacity 160ms var(--explore-ease-in),
13852
- translate 160ms var(--explore-ease-in),
13853
- scale 160ms var(--explore-ease-in);
13854
- }
13855
- .explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker {
13856
- scale: 0.92;
13857
- }
13858
-
13859
- /* The dialog is the card now: nothing stays behind in the sidebar while it is open */
13860
- .explore-scalar-card[data-lifted][data-v-acfffa01] {
13861
- visibility: hidden;
14047
+ /* The same brand gradient wash as the Generate SDK card's hero */
14048
+ .developer-tools-card-wash[data-v-2bc0022e] {
14049
+ height: 48px;
14050
+ background-image: linear-gradient(
14051
+ 90deg,
14052
+ var(--scalar-color-blue),
14053
+ var(--scalar-color-green) 16.6%,
14054
+ var(--scalar-color-accent) 24.9%,
14055
+ var(--scalar-color-orange) 41.5%,
14056
+ var(--scalar-color-yellow) 58.1%,
14057
+ var(--scalar-color-orange) 74.7%,
14058
+ var(--scalar-color-purple) 91.3%,
14059
+ var(--scalar-color-red)
14060
+ );
14061
+ -webkit-mask-image: radial-gradient(
14062
+ ellipse 60% 60% at 50% 0%,
14063
+ black,
14064
+ transparent 80%
14065
+ );
14066
+ mask-image: radial-gradient(
14067
+ ellipse 60% 60% at 50% 0%,
14068
+ black,
14069
+ transparent 80%
14070
+ );
13862
14071
  }
13863
14072
 
13864
- /* ---- Open state: a single selector, driven by the script ---- */
13865
- .explore-scalar-card[data-expanded] .explore-scalar-reveal[data-v-acfffa01] {
13866
- grid-template-rows: 1fr;
13867
- transition: grid-template-rows 360ms var(--explore-ease-out);
13868
- }
13869
- .explore-scalar-card[data-expanded] .explore-scalar-pill[data-v-acfffa01] {
13870
- padding: 12px 0;
13871
- transition: padding 360ms var(--explore-ease-out);
13872
- }
13873
- .explore-scalar-card[data-expanded] .explore-scalar-cta[data-v-acfffa01] {
13874
- flex-grow: 0;
13875
- border-radius: var(--scalar-radius-full);
13876
- transition:
13877
- flex-grow 360ms var(--explore-ease-out),
13878
- border-radius 360ms var(--explore-ease-out);
13879
- }
13880
- .explore-scalar-card[data-expanded] .explore-scalar-cta[data-v-acfffa01]::after {
13881
- opacity: 1;
13882
- transition: opacity 200ms var(--explore-ease-out);
14073
+ /* The artwork pops in like the Generate SDK card's stickers, each time a card opens */
14074
+ .developer-tools-card-hero[data-v-2bc0022e] {
14075
+ animation: developer-tools-card-pop-2bc0022e 360ms cubic-bezier(0.34, 1.3, 0.4, 1) both;
13883
14076
  }
13884
- .explore-scalar-card[data-expanded][data-v-acfffa01] .explore-scalar-sticker,
13885
- .explore-scalar-card[data-expanded] .explore-scalar-headline[data-v-acfffa01] {
13886
- opacity: 1;
13887
- translate: 0 0;
13888
- scale: 1;
13889
- transition:
13890
- opacity 220ms var(--explore-ease-out),
13891
- translate 320ms var(--explore-ease-out),
13892
- scale 320ms var(--explore-ease-out);
14077
+ @keyframes developer-tools-card-pop-2bc0022e {
14078
+ from {
14079
+ opacity: 0;
14080
+ transform: translateY(10px) scale(0.92);
13893
14081
  }
13894
- /* Stagger: stickers left to right, headline last, all inside the time the box takes to grow */
13895
- .explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker='portals'] {
13896
- transition-delay: 120ms;
14082
+ to {
14083
+ opacity: 1;
14084
+ transform: translateY(0) scale(1);
13897
14085
  }
13898
- .explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker='sdks'] {
13899
- transition-delay: 160ms;
13900
14086
  }
13901
- .explore-scalar-card[data-expanded][data-v-acfffa01] [data-sticker='agent'] {
13902
- transition-delay: 200ms;
14087
+ @media (prefers-reduced-motion: reduce) {
14088
+ .developer-tools-card-hero[data-v-2bc0022e] {
14089
+ animation: none;
13903
14090
  }
13904
- .explore-scalar-card[data-expanded] .explore-scalar-headline[data-v-acfffa01] {
13905
- transition-delay: 220ms;
13906
14091
  }
13907
14092
 
13908
- /* Instant: a morph lays the card out synchronously, expanded before the close and collapsed inside the open */
13909
- .explore-scalar-card[data-instant][data-v-acfffa01],
13910
- .explore-scalar-card[data-instant][data-v-acfffa01] *,
13911
- .explore-scalar-card[data-instant] .explore-scalar-cta[data-v-acfffa01]::after {
13912
- transition-duration: 0s !important;
13913
- transition-delay: 0s !important;
14093
+ .deploy-waitlist-sticker[data-v-97146f02] {
14094
+ rotate: -6deg;
13914
14095
  }
13915
14096
 
13916
- /* There is no global reduced-motion rule in the repo, so the card declares its own */
13917
- @media (prefers-reduced-motion: reduce) {
13918
- .explore-scalar-card[data-v-acfffa01],
13919
- .explore-scalar-card[data-v-acfffa01] *,
13920
- .explore-scalar-card .explore-scalar-cta[data-v-acfffa01]::after {
13921
- transition-duration: 0.01ms !important;
13922
- transition-delay: 0ms !important;
13923
- }
13924
- .explore-scalar-card[data-v-acfffa01] .explore-scalar-sticker,
13925
- .explore-scalar-headline[data-v-acfffa01] {
13926
- translate: 0 0;
13927
- scale: 1;
13928
- }
14097
+ .share-card-tile[data-v-6deb75d8] {
14098
+ rotate: 4deg;
13929
14099
  }
13930
14100
  /*$vite$:1*/
13931
14101
  /*$vite$:1*/
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.83",
21
+ "version": "0.9.85",
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.76.0",
43
- "@scalar/types": "0.25.0"
42
+ "@scalar/api-reference": "1.76.2",
43
+ "@scalar/types": "0.25.2"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@scalar/helpers": "0.16.4",