@scalar/api-reference-react 0.9.91 → 0.9.92

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.92
4
+
5
+ No changes in this release.
6
+
3
7
  ## 0.9.91
4
8
 
5
9
  ### Patch Changes
package/dist/style.css CHANGED
@@ -753,6 +753,14 @@
753
753
  border-radius: var(--scalar-radius-xl);
754
754
  }
755
755
 
756
+ :where(.scalar-card.p-1 > .scalar-card-header:first-child:not(:last-child)) {
757
+ margin-block: -2px 2px;
758
+ }
759
+
760
+ :where(.scalar-card.p-1 > .scalar-card-footer:last-child:not(:first-child)) {
761
+ margin-block: 2px -2px;
762
+ }
763
+
756
764
  .scalar-app .hljs-regexp, .scalar-app .hljs-string, .scalar-app .hljs-built_in, .scalar-app .hljs-subst, .scalar-app .hljs-name, .scalar-app .hljs-doctag, .scalar-app .hljs-section, .scalar-app .hljs-title {
757
765
  color: var(--scalar-color-blue);
758
766
  }
@@ -2462,18 +2470,18 @@
2462
2470
  }
2463
2471
  }
2464
2472
 
2465
- [data-v-321c6212] .code-input-lite__editor {
2473
+ [data-v-81035f01] .code-input-lite__editor {
2466
2474
  font-family: var(--scalar-font);
2467
2475
  font-size: var(--scalar-small);
2468
2476
  background-color: #0000;
2469
2477
  padding: 5px 8px;
2470
2478
  }
2471
2479
 
2472
- [data-v-321c6212] .scalar-pill:not(:last-of-type) {
2480
+ [data-v-81035f01] .scalar-pill:not(:last-of-type) {
2473
2481
  margin-right: .15em;
2474
2482
  }
2475
2483
 
2476
- [data-v-321c6212] .scalar-pill:not(:first-of-type) {
2484
+ [data-v-81035f01] .scalar-pill:not(:first-of-type) {
2477
2485
  margin-left: .5px;
2478
2486
  }
2479
2487
 
@@ -2974,17 +2982,17 @@ input[data-v-029a43f5]::placeholder {
2974
2982
  display: flex;
2975
2983
  }
2976
2984
 
2977
- .request-card[data-v-aaf1efda], .request-card[data-v-3954f074] {
2985
+ .request-card[data-v-aaf1efda], .request-card[data-v-8530ae0b] {
2978
2986
  color: var(--scalar-color-1);
2979
2987
  font-size: var(--scalar-font-size-3);
2980
2988
  }
2981
2989
 
2982
- .request-method[data-v-3954f074] {
2990
+ .request-method[data-v-8530ae0b] {
2983
2991
  font-family: var(--scalar-font-code);
2984
2992
  margin-right: 6px;
2985
2993
  }
2986
2994
 
2987
- .request-card-footer[data-v-3954f074] {
2995
+ .request-card-footer[data-v-8530ae0b] {
2988
2996
  flex-shrink: 0;
2989
2997
  justify-content: flex-end;
2990
2998
  padding: 6px;
@@ -2992,34 +3000,36 @@ input[data-v-029a43f5]::placeholder {
2992
3000
  position: relative;
2993
3001
  }
2994
3002
 
2995
- .request-card-footer--wraps[data-v-3954f074] {
3003
+ .request-card-footer--wraps[data-v-8530ae0b] {
2996
3004
  flex-wrap: wrap;
2997
3005
  row-gap: 4px;
2998
3006
  }
2999
3007
 
3000
- .request-card-footer-start[data-v-3954f074] {
3008
+ .request-card-footer-start[data-v-8530ae0b] {
3001
3009
  flex: 1 0 auto;
3002
3010
  align-items: center;
3003
3011
  display: flex;
3004
3012
  }
3005
3013
 
3006
- .request-card-footer-addon[data-v-3954f074] {
3007
- flex: 1;
3014
+ .request-card-footer-addon[data-v-8530ae0b] {
3015
+ flex: 7em;
3008
3016
  align-items: center;
3009
3017
  min-width: 0;
3018
+ max-width: max-content;
3019
+ margin-inline-end: auto;
3010
3020
  display: flex;
3011
3021
  }
3012
3022
 
3013
- .request-editor-section[data-v-3954f074] {
3023
+ .request-editor-section[data-v-8530ae0b] {
3014
3024
  flex: 1;
3015
3025
  display: flex;
3016
3026
  }
3017
3027
 
3018
- .code-snippet > .scalar-code-copy[data-v-3954f074] {
3028
+ .code-snippet > .scalar-code-copy[data-v-8530ae0b] {
3019
3029
  background: var(--scalar-card-surface-raised, var(--scalar-background-2));
3020
3030
  }
3021
3031
 
3022
- .request-card-simple[data-v-3954f074] {
3032
+ .request-card-simple[data-v-8530ae0b] {
3023
3033
  font-size: var(--scalar-small);
3024
3034
  flex-wrap: wrap;
3025
3035
  justify-content: space-between;
@@ -3029,17 +3039,17 @@ input[data-v-029a43f5]::placeholder {
3029
3039
  display: flex;
3030
3040
  }
3031
3041
 
3032
- .request-header[data-v-3954f074] {
3042
+ .request-header[data-v-8530ae0b] {
3033
3043
  overflow-wrap: anywhere;
3034
3044
  flex: 999 auto;
3035
3045
  min-width: 0;
3036
3046
  }
3037
3047
 
3038
- .request-card-actions[data-v-3954f074] {
3048
+ .request-card-actions[data-v-8530ae0b] {
3039
3049
  flex: 1 0 auto;
3040
3050
  }
3041
3051
 
3042
- .code-snippet[data-v-3954f074] {
3052
+ .code-snippet[data-v-8530ae0b] {
3043
3053
  flex-direction: column;
3044
3054
  width: 100%;
3045
3055
  display: flex;
@@ -5800,6 +5810,10 @@ div + .userMessage[data-v-6573ec87] {
5800
5810
  order: 9999;
5801
5811
  }
5802
5812
 
5813
+ .scalar-app .col-span-2 {
5814
+ grid-column: span 2 / span 2;
5815
+ }
5816
+
5803
5817
  .scalar-app .col-span-full {
5804
5818
  grid-column: 1 / -1;
5805
5819
  }
@@ -6625,6 +6639,10 @@ div + .userMessage[data-v-6573ec87] {
6625
6639
  max-height: fit-content;
6626
6640
  }
6627
6641
 
6642
+ .scalar-app .max-h-none {
6643
+ max-height: none;
6644
+ }
6645
+
6628
6646
  .scalar-app .max-h-radix-popper {
6629
6647
  max-height: calc(var(--radix-popper-available-height) - 8px);
6630
6648
  }
@@ -9922,7 +9940,16 @@ div + .userMessage[data-v-6573ec87] {
9922
9940
  opacity: 1;
9923
9941
  }
9924
9942
 
9925
- .scalar-app .has-\[\:focus-visible\]\:outline:has(:focus-visible), .scalar-app .has-\[input\:focus-visible\]\:outline:has(:is(input:focus-visible)) {
9943
+ .scalar-app .has-\[\:focus-visible\]\:outline:has(:focus-visible) {
9944
+ outline-style: var(--tw-outline-style);
9945
+ outline-width: 1px;
9946
+ }
9947
+
9948
+ .scalar-app .has-\[\:focus-visible\]\:outline-c-accent:has(:focus-visible) {
9949
+ outline-color: var(--scalar-color-accent);
9950
+ }
9951
+
9952
+ .scalar-app .has-\[input\:focus-visible\]\:outline:has(:is(input:focus-visible)) {
9926
9953
  outline-style: var(--tw-outline-style);
9927
9954
  outline-width: 1px;
9928
9955
  }
@@ -12847,7 +12874,7 @@ to {
12847
12874
  }
12848
12875
 
12849
12876
  /** Container */
12850
- .agent-button-container[data-v-10a4fb90] {
12877
+ .agent-button-container[data-v-90dcde0d] {
12851
12878
  position: relative;
12852
12879
  color: var(--scalar-color-1);
12853
12880
  background: color-mix(in srgb, var(--scalar-background-3), white 15%);
@@ -12860,30 +12887,32 @@ to {
12860
12887
  z-index: 2;
12861
12888
  height: 100%;
12862
12889
  }
12863
- .agent-button-container[data-v-10a4fb90]:hover:not(:focus-within) {
12890
+ .agent-button-container[data-v-90dcde0d]:hover:not(:focus-within) {
12864
12891
  background: color-mix(in srgb, var(--scalar-background-3), white 20%);
12865
12892
  }
12866
- .agent-button-container[data-v-10a4fb90]:has(.ask-agent-scalar-input-not-empty),
12867
- .agent-button-container[data-v-10a4fb90]:focus-within {
12893
+ /*
12894
+ * Expanded, the field is drawn over the whole footer, so it only stays open while focus is inside it.
12895
+ * Focus moving on to the example picker or Test Request collapses it and uncovers them. A typed
12896
+ * question is kept and comes back with the field.
12897
+ */
12898
+ .agent-button-container[data-v-90dcde0d]:focus-within {
12868
12899
  position: absolute;
12869
12900
  inset: 2px;
12870
12901
  border-radius: var(--scalar-radius-lg);
12871
12902
  margin-right: 0;
12872
12903
  height: auto;
12873
12904
  }
12874
- .agent-button-container[data-v-10a4fb90]:has(.ask-agent-scalar-input:focus-visible) {
12905
+ .agent-button-container[data-v-90dcde0d]:has(.ask-agent-scalar-input:focus-visible) {
12875
12906
  outline-style: solid;
12876
12907
  }
12877
12908
  /** Input */
12878
- .ask-agent-scalar-input[data-v-10a4fb90] {
12909
+ .ask-agent-scalar-input[data-v-90dcde0d] {
12879
12910
  width: 0px;
12880
12911
  opacity: 0;
12881
12912
  font-size: 0px;
12882
12913
  border: none;
12883
12914
  }
12884
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12885
- .ask-agent-scalar-input[data-v-10a4fb90],
12886
- .agent-button-container:focus-within .ask-agent-scalar-input[data-v-10a4fb90] {
12915
+ .agent-button-container:focus-within .ask-agent-scalar-input[data-v-90dcde0d] {
12887
12916
  width: 100%;
12888
12917
  font-size: inherit;
12889
12918
  opacity: 1;
@@ -12891,25 +12920,23 @@ to {
12891
12920
  outline: none;
12892
12921
  padding-inline: 4px;
12893
12922
  }
12894
- .ask-agent-scalar-input[data-v-10a4fb90]::placeholder {
12923
+ .ask-agent-scalar-input[data-v-90dcde0d]::placeholder {
12895
12924
  color: var(--scalar-color-2);
12896
12925
  font-family: inherit;
12897
12926
  }
12898
12927
  /** Input label */
12899
- .ask-agent-scalar-input-label[data-v-10a4fb90] {
12928
+ .ask-agent-scalar-input-label[data-v-90dcde0d] {
12900
12929
  /** Shown by default */
12901
12930
  color: var(--scalar-color-1);
12902
12931
  font-weight: var(--scalar-semibold);
12903
12932
  margin-left: 4px;
12904
12933
  }
12905
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12906
- .ask-agent-scalar-input-label[data-v-10a4fb90],
12907
- .agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-10a4fb90] {
12934
+ .agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-90dcde0d] {
12908
12935
  /** Hidden when input is focused */
12909
12936
  display: none;
12910
12937
  }
12911
12938
  /** Send button */
12912
- .ask-agent-scalar-send[data-v-10a4fb90] {
12939
+ .ask-agent-scalar-send[data-v-90dcde0d] {
12913
12940
  background: var(--scalar-color-blue);
12914
12941
  color: #fff;
12915
12942
  width: 24px;
@@ -12923,12 +12950,12 @@ to {
12923
12950
  /* Hidden by default */
12924
12951
  display: none;
12925
12952
  }
12926
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12927
- .ask-agent-scalar-send[data-v-10a4fb90] {
12928
- /** Show when input is not empty */
12953
+ .agent-button-container:focus-within:has(.ask-agent-scalar-input-not-empty)
12954
+ .ask-agent-scalar-send[data-v-90dcde0d] {
12955
+ /** Show while the expanded field holds a question */
12929
12956
  display: flex;
12930
12957
  }
12931
- .ask-agent-scalar-send[data-v-10a4fb90]:hover {
12958
+ .ask-agent-scalar-send[data-v-90dcde0d]:hover {
12932
12959
  background: color-mix(in srgb, var(--scalar-color-blue), transparent 10%);
12933
12960
  }
12934
12961
 
@@ -13225,7 +13252,7 @@ to {
13225
13252
 
13226
13253
  /* Configurable Layout Variables */
13227
13254
  @layer scalar-config {
13228
- .scalar-api-reference[data-v-2036d5b3] {
13255
+ .scalar-api-reference[data-v-af283ef2] {
13229
13256
  /* The header height */
13230
13257
  --refs-header-height: calc(
13231
13258
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -13247,20 +13274,20 @@ to {
13247
13274
  /* The maximum width of the content column */
13248
13275
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
13249
13276
  }
13250
- .scalar-api-reference.references-classic[data-v-2036d5b3] {
13277
+ .scalar-api-reference.references-classic[data-v-af283ef2] {
13251
13278
  /* Classic layout is wider */
13252
13279
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
13253
13280
  min-height: 100dvh;
13254
13281
  --refs-sidebar-width: 0;
13255
13282
  }
13256
13283
  }
13257
- .t-doc__sidebar[data-v-2036d5b3] {
13284
+ .t-doc__sidebar[data-v-af283ef2] {
13258
13285
  z-index: 10;
13259
13286
  }
13260
13287
 
13261
13288
  /* ----------------------------------------------------- */
13262
13289
  /* References Layout */
13263
- .references-layout[data-v-2036d5b3] {
13290
+ .references-layout[data-v-af283ef2] {
13264
13291
  /* Try to fill the container */
13265
13292
  min-height: 100dvh;
13266
13293
  min-width: 100%;
@@ -13284,36 +13311,36 @@ to {
13284
13311
 
13285
13312
  background: var(--scalar-background-1);
13286
13313
  }
13287
- .references-editor[data-v-2036d5b3] {
13314
+ .references-editor[data-v-af283ef2] {
13288
13315
  grid-area: editor;
13289
13316
  display: flex;
13290
13317
  min-width: 0;
13291
13318
  background: var(--scalar-background-1);
13292
13319
  }
13293
- .references-rendered[data-v-2036d5b3] {
13320
+ .references-rendered[data-v-af283ef2] {
13294
13321
  position: relative;
13295
13322
  grid-area: rendered;
13296
13323
  min-width: 0;
13297
13324
  background: var(--scalar-background-1);
13298
13325
  }
13299
- .scalar-api-reference.references-classic[data-v-2036d5b3],
13300
- .references-classic .references-rendered[data-v-2036d5b3] {
13326
+ .scalar-api-reference.references-classic[data-v-af283ef2],
13327
+ .references-classic .references-rendered[data-v-af283ef2] {
13301
13328
  height: initial !important;
13302
13329
  max-height: initial !important;
13303
13330
  }
13304
13331
  /* Give the classic layout some breathing room at the end of the scroll */
13305
- .references-classic .references-rendered[data-v-2036d5b3] {
13332
+ .references-classic .references-rendered[data-v-af283ef2] {
13306
13333
  padding-bottom: 80px;
13307
13334
  }
13308
13335
  @layer scalar-config {
13309
- .references-sidebar[data-v-2036d5b3] {
13336
+ .references-sidebar[data-v-af283ef2] {
13310
13337
  /* Set a default width if references are enabled */
13311
13338
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
13312
13339
  }
13313
13340
  }
13314
13341
 
13315
13342
  /* Footer */
13316
- .references-footer[data-v-2036d5b3] {
13343
+ .references-footer[data-v-af283ef2] {
13317
13344
  grid-area: footer;
13318
13345
  }
13319
13346
  /* ----------------------------------------------------- */
@@ -13329,12 +13356,12 @@ to {
13329
13356
  */
13330
13357
  @media (width < 1000px) {
13331
13358
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
13332
- .references-developer-tools[data-v-2036d5b3] {
13359
+ .references-developer-tools[data-v-af283ef2] {
13333
13360
  display: none;
13334
13361
  }
13335
13362
 
13336
13363
  /* Stack view on mobile */
13337
- .references-layout[data-v-2036d5b3] {
13364
+ .references-layout[data-v-af283ef2] {
13338
13365
  /* Adjust the sidebar height to the viewport height minus the header height */
13339
13366
  --refs-sidebar-height: calc(
13340
13367
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -13349,13 +13376,13 @@ to {
13349
13376
  'rendered'
13350
13377
  'footer';
13351
13378
  }
13352
- .references-editable[data-v-2036d5b3] {
13379
+ .references-editable[data-v-af283ef2] {
13353
13380
  grid-template-areas:
13354
13381
  'header'
13355
13382
  'navigation'
13356
13383
  'editor';
13357
13384
  }
13358
- .references-rendered[data-v-2036d5b3] {
13385
+ .references-rendered[data-v-af283ef2] {
13359
13386
  position: static;
13360
13387
  }
13361
13388
  }
@@ -13375,7 +13402,7 @@ to {
13375
13402
  * Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
13376
13403
  */
13377
13404
  @media (width >= 1000px) {
13378
- .references-shell[data-v-2036d5b3] {
13405
+ .references-shell[data-v-af283ef2] {
13379
13406
  /* The toolbar reads this for its height, so the offsets below always match what it renders */
13380
13407
  --refs-shell-toolbar-height: 48px;
13381
13408
  /* Breathing room between the card and the viewport edge, and between the card and the panel */
@@ -13399,14 +13426,14 @@ to {
13399
13426
  }
13400
13427
 
13401
13428
  /* Darker than the card rather than lighter, so it still reads as a backdrop */
13402
- .dark-mode .references-shell[data-v-2036d5b3] {
13429
+ .dark-mode .references-shell[data-v-af283ef2] {
13403
13430
  --refs-shell-backdrop: color-mix(
13404
13431
  in srgb,
13405
13432
  var(--scalar-background-1) 25%,
13406
13433
  black 75%
13407
13434
  );
13408
13435
  }
13409
- .references-shell-toolbar[data-v-2036d5b3] {
13436
+ .references-shell-toolbar[data-v-af283ef2] {
13410
13437
  /*
13411
13438
  * A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
13412
13439
  * and sits at the top of it, while the first row keeps its height free.
@@ -13420,7 +13447,7 @@ to {
13420
13447
  z-index: 20;
13421
13448
  background: var(--refs-shell-backdrop);
13422
13449
  }
13423
- .references-shell-card[data-v-2036d5b3] {
13450
+ .references-shell-card[data-v-af283ef2] {
13424
13451
  grid-area: 2 / 1;
13425
13452
  /* Fill the viewport below the toolbar, so a short document still ends at the frame */
13426
13453
  min-height: var(--refs-shell-stuck-height);
@@ -13436,7 +13463,7 @@ to {
13436
13463
  * It sticks within the card's grid area, so it follows the card's end when the page has more
13437
13464
  * content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
13438
13465
  */
13439
- .references-shell-frame[data-v-2036d5b3] {
13466
+ .references-shell-frame[data-v-af283ef2] {
13440
13467
  grid-area: 2 / 1;
13441
13468
  align-self: start;
13442
13469
  position: sticky;
@@ -13457,7 +13484,7 @@ to {
13457
13484
  * Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
13458
13485
  * inside it are teleported, so they still open above the toolbar.
13459
13486
  */
13460
- .references-shell-panel[data-v-2036d5b3] {
13487
+ .references-shell-panel[data-v-af283ef2] {
13461
13488
  grid-area: 2 / 2;
13462
13489
  align-self: start;
13463
13490
  position: sticky;
@@ -13468,7 +13495,7 @@ to {
13468
13495
  height: var(--refs-shell-stuck-height);
13469
13496
  margin-inline-start: var(--refs-shell-gutter);
13470
13497
  transform-origin: top center;
13471
- animation: refs-shell-panel-in-2036d5b3 180ms cubic-bezier(0.32, 0.72, 0, 1);
13498
+ animation: refs-shell-panel-in-af283ef2 180ms cubic-bezier(0.32, 0.72, 0, 1);
13472
13499
  }
13473
13500
 
13474
13501
  /*
@@ -13478,7 +13505,7 @@ to {
13478
13505
  * sidebar scrolls on its own, below the toolbar.
13479
13506
  */
13480
13507
  .references-shell-card
13481
- .references-rendered[data-v-2036d5b3]
13508
+ .references-rendered[data-v-af283ef2]
13482
13509
 
13483
13510
  :is(
13484
13511
  a[href],
@@ -13506,33 +13533,33 @@ to {
13506
13533
  *
13507
13534
  * Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
13508
13535
  */
13509
- .references-shell[data-v-2036d5b3] .agent-scalar-overlay.agent-scalar-overlay,
13510
- .references-shell[data-v-2036d5b3] .agent-scalar.agent-scalar {
13536
+ .references-shell[data-v-af283ef2] .agent-scalar-overlay.agent-scalar-overlay,
13537
+ .references-shell[data-v-af283ef2] .agent-scalar.agent-scalar {
13511
13538
  --refs-shell-agent-end: var(--refs-shell-gutter);
13512
13539
  z-index: 10;
13513
13540
  }
13514
- .references-shell[data-shell-panel][data-v-2036d5b3]
13541
+ .references-shell[data-shell-panel][data-v-af283ef2]
13515
13542
  .agent-scalar-overlay.agent-scalar-overlay,
13516
- .references-shell[data-shell-panel][data-v-2036d5b3] .agent-scalar.agent-scalar {
13543
+ .references-shell[data-shell-panel][data-v-af283ef2] .agent-scalar.agent-scalar {
13517
13544
  --refs-shell-agent-end: calc(
13518
13545
  var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
13519
13546
  );
13520
13547
  }
13521
- .references-shell[data-v-2036d5b3] .agent-scalar-overlay.agent-scalar-overlay {
13548
+ .references-shell[data-v-af283ef2] .agent-scalar-overlay.agent-scalar-overlay {
13522
13549
  inset: var(--refs-shell-top) var(--refs-shell-agent-end)
13523
13550
  var(--refs-shell-gutter) var(--refs-shell-gutter);
13524
13551
  }
13525
- .references-shell[data-v-2036d5b3] .agent-scalar.agent-scalar {
13552
+ .references-shell[data-v-af283ef2] .agent-scalar.agent-scalar {
13526
13553
  inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
13527
13554
  var(--refs-shell-gutter)
13528
13555
  calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
13529
13556
  }
13530
13557
  /* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
13531
- .references-shell[data-v-2036d5b3] .references-classic .agent-scalar.agent-scalar {
13558
+ .references-shell[data-v-af283ef2] .references-classic .agent-scalar.agent-scalar {
13532
13559
  left: var(--refs-shell-gutter);
13533
13560
  }
13534
13561
  @layer scalar-config {
13535
- .scalar-api-reference.references-shell-card[data-v-2036d5b3] {
13562
+ .scalar-api-reference.references-shell-card[data-v-af283ef2] {
13536
13563
  /* The sticky toolbar is one more header that the sidebar and scroll offsets sit below */
13537
13564
  --refs-header-height: calc(
13538
13565
  var(--scalar-custom-header-height, 0px) +
@@ -13552,20 +13579,20 @@ to {
13552
13579
 
13553
13580
  /* The panel only exists at the toolbar's breakpoint; the script closes it below that */
13554
13581
  @media (width < 1000px) {
13555
- .references-shell-panel[data-v-2036d5b3] {
13582
+ .references-shell-panel[data-v-af283ef2] {
13556
13583
  display: none;
13557
13584
  }
13558
13585
  }
13559
13586
 
13560
13587
  /* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
13561
- @keyframes refs-shell-panel-in-2036d5b3 {
13588
+ @keyframes refs-shell-panel-in-af283ef2 {
13562
13589
  from {
13563
13590
  opacity: 0;
13564
13591
  scale: 0.985;
13565
13592
  }
13566
13593
  }
13567
13594
  @media (prefers-reduced-motion: reduce) {
13568
- .references-shell-panel[data-v-2036d5b3] {
13595
+ .references-shell-panel[data-v-af283ef2] {
13569
13596
  animation: none;
13570
13597
  }
13571
13598
  }
@@ -13577,12 +13604,12 @@ from {
13577
13604
  */
13578
13605
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
13579
13606
  @media (width < 1000px) {
13580
- .scalar-api-references-standalone-mobile[data-v-2036d5b3]:not(.references-classic) {
13607
+ .scalar-api-references-standalone-mobile[data-v-af283ef2]:not(.references-classic) {
13581
13608
  --scalar-header-height: 50px;
13582
13609
  }
13583
13610
  }
13584
13611
 
13585
- .darklight-reference[data-v-2036d5b3] {
13612
+ .darklight-reference[data-v-af283ef2] {
13586
13613
  width: 100%;
13587
13614
  margin-top: auto;
13588
13615
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.91",
21
+ "version": "0.9.92",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -39,11 +39,11 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-reference": "1.79.0",
43
- "@scalar/types": "0.29.0"
42
+ "@scalar/api-reference": "1.80.0",
43
+ "@scalar/types": "0.30.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@scalar/helpers": "0.18.0",
46
+ "@scalar/helpers": "0.18.1",
47
47
  "@types/react": "^19.3.0",
48
48
  "@types/react-dom": "^19.3.0",
49
49
  "@vitejs/plugin-react": "6.1.2",