@scalar/api-reference-react 0.9.90 → 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.
Files changed (3) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/style.css +285 -157
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.92
4
+
5
+ No changes in this release.
6
+
7
+ ## 0.9.91
8
+
9
+ ### Patch Changes
10
+
11
+ - [#11011](https://github.com/scalar/scalar/pull/11011): Make Vite configuration imports compatible with the native config loader.
12
+
3
13
  ## 0.9.90
4
14
 
5
15
  No changes in this release.
package/dist/style.css CHANGED
@@ -717,6 +717,50 @@
717
717
  }
718
718
  }
719
719
 
720
+ .scalar-card {
721
+ --scalar-card-surface: var(--scalar-background-1);
722
+ --scalar-card-surface-raised: var(--scalar-background-2);
723
+ --scalar-card-surface-shadow: var(--scalar-shadow-1),
724
+ 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
725
+ }
726
+
727
+ @supports (color: oklch(from white l c h)) {
728
+ .scalar-card {
729
+ --scalar-card-surface: oklch(from var(--scalar-background-2) calc(l + .055) c h);
730
+ --scalar-card-surface-raised: var(--scalar-card-surface);
731
+ }
732
+
733
+ @supports (color: color-mix(in lab, red, red)) {
734
+ .scalar-card {
735
+ --scalar-card-surface-raised: color-mix(in oklab,
736
+ var(--scalar-card-surface),
737
+ var(--scalar-color-1) 8%);
738
+ }
739
+ }
740
+ }
741
+
742
+ .scalar-card-content:where(:not(.scalar-card-header, .scalar-card-footer)) {
743
+ background: var(--scalar-card-surface);
744
+ border-radius: var(--scalar-radius-xl);
745
+ box-shadow: var(--scalar-card-surface-shadow);
746
+ }
747
+
748
+ :where(.scalar-card-content:not(.scalar-card-header, .scalar-card-footer)) + .scalar-card-content:where(:not(.scalar-card-header, .scalar-card-footer)) {
749
+ margin-top: 4px;
750
+ }
751
+
752
+ :where(.scalar-card-header, .scalar-card-footer) {
753
+ border-radius: var(--scalar-radius-xl);
754
+ }
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
+
720
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 {
721
765
  color: var(--scalar-color-blue);
722
766
  }
@@ -734,10 +778,18 @@
734
778
  background-color: var(--scalar-background-2);
735
779
  }
736
780
 
781
+ .scalar-code-block.bg-transparent .scalar-code-copy-backdrop {
782
+ background: var(--scalar-card-surface, transparent);
783
+ }
784
+
737
785
  .scalar-code-block.bg-b-2 .scalar-code-copy {
738
786
  background-color: var(--scalar-background-3);
739
787
  }
740
788
 
789
+ .scalar-code-block.bg-transparent .scalar-code-copy {
790
+ background: var(--scalar-card-surface-raised, var(--scalar-background-2));
791
+ }
792
+
741
793
  .toggle-icon-ellipse[data-v-8f507267] {
742
794
  background: var(--scalar-background-1);
743
795
  border-radius: 50%;
@@ -2418,18 +2470,18 @@
2418
2470
  }
2419
2471
  }
2420
2472
 
2421
- [data-v-321c6212] .code-input-lite__editor {
2473
+ [data-v-81035f01] .code-input-lite__editor {
2422
2474
  font-family: var(--scalar-font);
2423
2475
  font-size: var(--scalar-small);
2424
2476
  background-color: #0000;
2425
2477
  padding: 5px 8px;
2426
2478
  }
2427
2479
 
2428
- [data-v-321c6212] .scalar-pill:not(:last-of-type) {
2480
+ [data-v-81035f01] .scalar-pill:not(:last-of-type) {
2429
2481
  margin-right: .15em;
2430
2482
  }
2431
2483
 
2432
- [data-v-321c6212] .scalar-pill:not(:first-of-type) {
2484
+ [data-v-81035f01] .scalar-pill:not(:first-of-type) {
2433
2485
  margin-left: .5px;
2434
2486
  }
2435
2487
 
@@ -2664,58 +2716,58 @@ input[data-v-029a43f5]::placeholder {
2664
2716
  background: var(--scalar-background-2);
2665
2717
  }
2666
2718
 
2667
- [data-v-6edfa5a3] .cm-editor {
2719
+ [data-v-b5b0a654] .cm-editor {
2668
2720
  outline: none;
2669
2721
  width: 100%;
2670
2722
  height: 100%;
2671
2723
  }
2672
2724
 
2673
- [data-v-6edfa5a3] .cm-line {
2725
+ [data-v-b5b0a654] .cm-line {
2674
2726
  padding: 0;
2675
2727
  }
2676
2728
 
2677
- [data-v-6edfa5a3] .cm-content {
2729
+ [data-v-b5b0a654] .cm-content {
2678
2730
  font-size: var(--scalar-small);
2679
2731
  align-items: center;
2680
2732
  padding: 0;
2681
2733
  display: flex;
2682
2734
  }
2683
2735
 
2684
- .scroll-timeline-x[data-v-6edfa5a3] {
2736
+ .scroll-timeline-x[data-v-b5b0a654] {
2685
2737
  -ms-overflow-style: none;
2686
2738
  -webkit-mask-image: linear-gradient(to right, #0000 0, #000 6px calc(100% - 24px), #0000 100%);
2687
2739
  mask-image: linear-gradient(to right, #0000 0, #000 6px calc(100% - 24px), #0000 100%);
2688
2740
  }
2689
2741
 
2690
- .scroll-timeline-x-hidden[data-v-6edfa5a3] {
2742
+ .scroll-timeline-x-hidden[data-v-b5b0a654] {
2691
2743
  overflow-x: auto;
2692
2744
  }
2693
2745
 
2694
- .scroll-timeline-x-hidden[data-v-6edfa5a3] .cm-scroller {
2746
+ .scroll-timeline-x-hidden[data-v-b5b0a654] .cm-scroller {
2695
2747
  scrollbar-width: none;
2696
2748
  -ms-overflow-style: none;
2697
2749
  padding-right: 20px;
2698
2750
  overflow: auto;
2699
2751
  }
2700
2752
 
2701
- .scroll-timeline-x-hidden[data-v-6edfa5a3]::-webkit-scrollbar {
2753
+ .scroll-timeline-x-hidden[data-v-b5b0a654]::-webkit-scrollbar {
2702
2754
  width: 0;
2703
2755
  height: 0;
2704
2756
  display: none;
2705
2757
  }
2706
2758
 
2707
- .scroll-timeline-x-hidden[data-v-6edfa5a3] .cm-scroller::-webkit-scrollbar {
2759
+ .scroll-timeline-x-hidden[data-v-b5b0a654] .cm-scroller::-webkit-scrollbar {
2708
2760
  width: 0;
2709
2761
  height: 0;
2710
2762
  display: none;
2711
2763
  }
2712
2764
 
2713
- .scroll-timeline-x-address[data-v-6edfa5a3] {
2765
+ .scroll-timeline-x-address[data-v-b5b0a654] {
2714
2766
  scrollbar-width: none;
2715
2767
  line-height: 27px;
2716
2768
  }
2717
2769
 
2718
- .scroll-timeline-x-address[data-v-6edfa5a3]:after {
2770
+ .scroll-timeline-x-address[data-v-b5b0a654]:after {
2719
2771
  content: "";
2720
2772
  cursor: text;
2721
2773
  width: 24px;
@@ -2724,39 +2776,39 @@ input[data-v-029a43f5]::placeholder {
2724
2776
  right: 0;
2725
2777
  }
2726
2778
 
2727
- .address-bar-bg-states[data-v-6edfa5a3] {
2779
+ .address-bar-bg-states[data-v-b5b0a654] {
2728
2780
  --scalar-address-bar-bg: var(--scalar-background-1);
2729
2781
  }
2730
2782
 
2731
2783
  @supports (color: color-mix(in lab, red, red)) {
2732
- .address-bar-bg-states[data-v-6edfa5a3] {
2784
+ .address-bar-bg-states[data-v-b5b0a654] {
2733
2785
  --scalar-address-bar-bg: color-mix(in srgb,
2734
2786
  var(--scalar-background-1),
2735
2787
  var(--scalar-background-2));
2736
2788
  }
2737
2789
  }
2738
2790
 
2739
- .address-bar-bg-states[data-v-6edfa5a3] {
2791
+ .address-bar-bg-states[data-v-b5b0a654] {
2740
2792
  background: var(--scalar-address-bar-bg);
2741
2793
  }
2742
2794
 
2743
- .address-bar-bg-states[data-v-6edfa5a3]:has(.cm-focused) {
2795
+ .address-bar-bg-states[data-v-b5b0a654]:has(.cm-focused) {
2744
2796
  --scalar-address-bar-bg: var(--scalar-background-1);
2745
2797
  border-color: var(--scalar-border-color);
2746
2798
  outline-width: 1px;
2747
2799
  outline-style: solid;
2748
2800
  }
2749
2801
 
2750
- .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-6edfa5a3], .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-6edfa5a3] {
2802
+ .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-b5b0a654], .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-b5b0a654] {
2751
2803
  --scalar-address-bar-bg: var(--scalar-background-1);
2752
2804
  }
2753
2805
 
2754
- .app-exit-button[data-v-3a29d7a0] {
2806
+ .app-exit-button[data-v-6fb4c4d5] {
2755
2807
  color: #fff;
2756
2808
  background: #0000001a;
2757
2809
  }
2758
2810
 
2759
- .app-exit-button[data-v-3a29d7a0]:hover {
2811
+ .app-exit-button[data-v-6fb4c4d5]:hover {
2760
2812
  background: #ffffff1a;
2761
2813
  }
2762
2814
 
@@ -2930,17 +2982,17 @@ input[data-v-029a43f5]::placeholder {
2930
2982
  display: flex;
2931
2983
  }
2932
2984
 
2933
- .request-card[data-v-41f67ce2], .request-card[data-v-9ef20696] {
2985
+ .request-card[data-v-aaf1efda], .request-card[data-v-8530ae0b] {
2934
2986
  color: var(--scalar-color-1);
2935
2987
  font-size: var(--scalar-font-size-3);
2936
2988
  }
2937
2989
 
2938
- .request-method[data-v-9ef20696] {
2990
+ .request-method[data-v-8530ae0b] {
2939
2991
  font-family: var(--scalar-font-code);
2940
2992
  margin-right: 6px;
2941
2993
  }
2942
2994
 
2943
- .request-card-footer[data-v-9ef20696] {
2995
+ .request-card-footer[data-v-8530ae0b] {
2944
2996
  flex-shrink: 0;
2945
2997
  justify-content: flex-end;
2946
2998
  padding: 6px;
@@ -2948,30 +3000,36 @@ input[data-v-029a43f5]::placeholder {
2948
3000
  position: relative;
2949
3001
  }
2950
3002
 
2951
- .request-card-footer--wraps[data-v-9ef20696] {
3003
+ .request-card-footer--wraps[data-v-8530ae0b] {
2952
3004
  flex-wrap: wrap;
2953
3005
  row-gap: 4px;
2954
3006
  }
2955
3007
 
2956
- .request-card-footer-start[data-v-9ef20696] {
3008
+ .request-card-footer-start[data-v-8530ae0b] {
2957
3009
  flex: 1 0 auto;
2958
3010
  align-items: center;
2959
3011
  display: flex;
2960
3012
  }
2961
3013
 
2962
- .request-card-footer-addon[data-v-9ef20696] {
2963
- flex: 1;
3014
+ .request-card-footer-addon[data-v-8530ae0b] {
3015
+ flex: 7em;
2964
3016
  align-items: center;
2965
3017
  min-width: 0;
3018
+ max-width: max-content;
3019
+ margin-inline-end: auto;
2966
3020
  display: flex;
2967
3021
  }
2968
3022
 
2969
- .request-editor-section[data-v-9ef20696] {
3023
+ .request-editor-section[data-v-8530ae0b] {
2970
3024
  flex: 1;
2971
3025
  display: flex;
2972
3026
  }
2973
3027
 
2974
- .request-card-simple[data-v-9ef20696] {
3028
+ .code-snippet > .scalar-code-copy[data-v-8530ae0b] {
3029
+ background: var(--scalar-card-surface-raised, var(--scalar-background-2));
3030
+ }
3031
+
3032
+ .request-card-simple[data-v-8530ae0b] {
2975
3033
  font-size: var(--scalar-small);
2976
3034
  flex-wrap: wrap;
2977
3035
  justify-content: space-between;
@@ -2981,30 +3039,30 @@ input[data-v-029a43f5]::placeholder {
2981
3039
  display: flex;
2982
3040
  }
2983
3041
 
2984
- .request-header[data-v-9ef20696] {
3042
+ .request-header[data-v-8530ae0b] {
2985
3043
  overflow-wrap: anywhere;
2986
3044
  flex: 999 auto;
2987
3045
  min-width: 0;
2988
3046
  }
2989
3047
 
2990
- .request-card-actions[data-v-9ef20696] {
3048
+ .request-card-actions[data-v-8530ae0b] {
2991
3049
  flex: 1 0 auto;
2992
3050
  }
2993
3051
 
2994
- .code-snippet[data-v-9ef20696] {
3052
+ .code-snippet[data-v-8530ae0b] {
2995
3053
  flex-direction: column;
2996
3054
  width: 100%;
2997
3055
  display: flex;
2998
3056
  }
2999
3057
 
3000
- .property-example[data-v-a431d692] {
3058
+ .property-example[data-v-72248a2e] {
3001
3059
  font-size: var(--scalar-mini);
3002
3060
  flex-direction: column;
3003
3061
  display: flex;
3004
3062
  position: relative;
3005
3063
  }
3006
3064
 
3007
- .property-example[data-v-a431d692]:hover:before {
3065
+ .property-example[data-v-72248a2e]:hover:before {
3008
3066
  pointer-events: none;
3009
3067
  content: "";
3010
3068
  border-radius: var(--scalar-radius);
@@ -3015,7 +3073,7 @@ input[data-v-029a43f5]::placeholder {
3015
3073
  left: 0;
3016
3074
  }
3017
3075
 
3018
- .property-example-value[data-v-a431d692] {
3076
+ .property-example-value[data-v-72248a2e] {
3019
3077
  font-family: var(--scalar-font-code);
3020
3078
  align-items: center;
3021
3079
  gap: 8px;
@@ -3024,28 +3082,28 @@ input[data-v-029a43f5]::placeholder {
3024
3082
  display: flex;
3025
3083
  }
3026
3084
 
3027
- .property-example-value span[data-v-a431d692] {
3085
+ .property-example-value span[data-v-72248a2e] {
3028
3086
  text-overflow: ellipsis;
3029
3087
  white-space: pre;
3030
3088
  display: block;
3031
3089
  overflow: hidden;
3032
3090
  }
3033
3091
 
3034
- .property-example-value[data-v-a431d692] svg {
3092
+ .property-example-value[data-v-72248a2e] svg {
3035
3093
  color: var(--scalar-color-3);
3036
3094
  }
3037
3095
 
3038
- .property-example-value[data-v-a431d692]:hover svg {
3096
+ .property-example-value[data-v-72248a2e]:hover svg {
3039
3097
  color: var(--scalar-color-1);
3040
3098
  }
3041
3099
 
3042
- .property-example-value[data-v-a431d692] {
3100
+ .property-example-value[data-v-72248a2e] {
3043
3101
  background: var(--scalar-background-2);
3044
3102
  border: var(--scalar-border-width) solid var(--scalar-border-color);
3045
3103
  border-radius: var(--scalar-radius);
3046
3104
  }
3047
3105
 
3048
- .property-example-value-list[data-v-a431d692] {
3106
+ .property-example-value-list[data-v-72248a2e] {
3049
3107
  background-color: var(--scalar-background-1);
3050
3108
  box-shadow: var(--scalar-shadow-1);
3051
3109
  border-radius: var(--scalar-radius-lg);
@@ -3064,12 +3122,12 @@ input[data-v-029a43f5]::placeholder {
3064
3122
  transform: translate(-50%);
3065
3123
  }
3066
3124
 
3067
- .property-example-value-list-start[data-v-a431d692] {
3125
+ .property-example-value-list-start[data-v-72248a2e] {
3068
3126
  left: 0;
3069
3127
  transform: none;
3070
3128
  }
3071
3129
 
3072
- .property-example:hover .property-example-value-list[data-v-a431d692] {
3130
+ .property-example:hover .property-example-value-list[data-v-72248a2e] {
3073
3131
  display: flex;
3074
3132
  }
3075
3133
 
@@ -5652,6 +5710,10 @@ div + .userMessage[data-v-6573ec87] {
5652
5710
  left: 0;
5653
5711
  }
5654
5712
 
5713
+ .scalar-app .left-0\.5 {
5714
+ left: 2px;
5715
+ }
5716
+
5655
5717
  .scalar-app .left-1\.75 {
5656
5718
  left: 7px;
5657
5719
  }
@@ -5748,6 +5810,10 @@ div + .userMessage[data-v-6573ec87] {
5748
5810
  order: 9999;
5749
5811
  }
5750
5812
 
5813
+ .scalar-app .col-span-2 {
5814
+ grid-column: span 2 / span 2;
5815
+ }
5816
+
5751
5817
  .scalar-app .col-span-full {
5752
5818
  grid-column: 1 / -1;
5753
5819
  }
@@ -6573,6 +6639,10 @@ div + .userMessage[data-v-6573ec87] {
6573
6639
  max-height: fit-content;
6574
6640
  }
6575
6641
 
6642
+ .scalar-app .max-h-none {
6643
+ max-height: none;
6644
+ }
6645
+
6576
6646
  .scalar-app .max-h-radix-popper {
6577
6647
  max-height: calc(var(--radix-popper-available-height) - 8px);
6578
6648
  }
@@ -6669,10 +6739,6 @@ div + .userMessage[data-v-6573ec87] {
6669
6739
  width: 66.6667%;
6670
6740
  }
6671
6741
 
6672
- .scalar-app .w-3 {
6673
- width: 12px;
6674
- }
6675
-
6676
6742
  .scalar-app .w-3\/4 {
6677
6743
  width: 75%;
6678
6744
  }
@@ -7016,6 +7082,11 @@ div + .userMessage[data-v-6573ec87] {
7016
7082
  translate: var(--tw-translate-x) var(--tw-translate-y);
7017
7083
  }
7018
7084
 
7085
+ .scalar-app .translate-x-1\.5 {
7086
+ --tw-translate-x: calc(4px * 1.5);
7087
+ translate: var(--tw-translate-x) var(--tw-translate-y);
7088
+ }
7089
+
7019
7090
  .scalar-app .translate-x-1\.25 {
7020
7091
  --tw-translate-x: calc(4px * 1.25);
7021
7092
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -7026,6 +7097,11 @@ div + .userMessage[data-v-6573ec87] {
7026
7097
  translate: var(--tw-translate-x) var(--tw-translate-y);
7027
7098
  }
7028
7099
 
7100
+ .scalar-app .translate-x-3 {
7101
+ --tw-translate-x: calc(4px * 3);
7102
+ translate: var(--tw-translate-x) var(--tw-translate-y);
7103
+ }
7104
+
7029
7105
  .scalar-app .translate-x-\[14px\] {
7030
7106
  --tw-translate-x: 14px;
7031
7107
  translate: var(--tw-translate-x) var(--tw-translate-y);
@@ -7285,6 +7361,10 @@ div + .userMessage[data-v-6573ec87] {
7285
7361
  gap: 12px;
7286
7362
  }
7287
7363
 
7364
+ .scalar-app .gap-3\! {
7365
+ gap: 12px !important;
7366
+ }
7367
+
7288
7368
  .scalar-app .gap-4 {
7289
7369
  gap: 16px;
7290
7370
  }
@@ -7989,6 +8069,10 @@ div + .userMessage[data-v-6573ec87] {
7989
8069
  padding: 12px;
7990
8070
  }
7991
8071
 
8072
+ .scalar-app .p-3\! {
8073
+ padding: 12px !important;
8074
+ }
8075
+
7992
8076
  .scalar-app .p-4 {
7993
8077
  padding: 16px;
7994
8078
  }
@@ -9856,7 +9940,16 @@ div + .userMessage[data-v-6573ec87] {
9856
9940
  opacity: 1;
9857
9941
  }
9858
9942
 
9859
- .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)) {
9860
9953
  outline-style: var(--tw-outline-style);
9861
9954
  outline-width: 1px;
9862
9955
  }
@@ -10879,7 +10972,7 @@ div + .userMessage[data-v-6573ec87] {
10879
10972
  }
10880
10973
 
10881
10974
  /* One panel holds the Markdown installation instructions */
10882
- .selected-client[data-v-dac808aa] {
10975
+ .selected-client[data-v-6a6d7752] {
10883
10976
  display: flex;
10884
10977
  flex-direction: column;
10885
10978
  gap: 9px;
@@ -10892,7 +10985,7 @@ div + .userMessage[data-v-6573ec87] {
10892
10985
  border-bottom-left-radius: var(--scalar-radius-xl);
10893
10986
  border-bottom-right-radius: var(--scalar-radius-xl);
10894
10987
  }
10895
- .selected-client[data-v-dac808aa] .markdown pre code {
10988
+ .selected-client[data-v-6a6d7752] .markdown pre code {
10896
10989
  margin: 0;
10897
10990
  padding: 0;
10898
10991
  background: transparent;
@@ -10900,7 +10993,7 @@ div + .userMessage[data-v-6573ec87] {
10900
10993
  border-radius: 0;
10901
10994
  box-shadow: none;
10902
10995
  }
10903
- .client-libraries-heading[data-v-dac808aa] {
10996
+ .client-libraries-heading[data-v-6a6d7752] {
10904
10997
  font-size: var(--scalar-small);
10905
10998
  font-weight: var(--scalar-font-medium);
10906
10999
  color: var(--scalar-color-1);
@@ -10913,7 +11006,7 @@ div + .userMessage[data-v-6573ec87] {
10913
11006
  border-top-left-radius: var(--scalar-radius-xl);
10914
11007
  border-top-right-radius: var(--scalar-radius-xl);
10915
11008
  }
10916
- .client-libraries-content[data-v-dac808aa] {
11009
+ .client-libraries-content[data-v-6a6d7752] {
10917
11010
  position: relative;
10918
11011
  /*
10919
11012
  * Scroll horizontally rather than clip: before JS measures the tab widths
@@ -10931,20 +11024,20 @@ div + .userMessage[data-v-6573ec87] {
10931
11024
  border-right: var(--scalar-border-width) solid var(--scalar-border-color);
10932
11025
  border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
10933
11026
  }
10934
- .client-libraries-content[data-v-dac808aa]::-webkit-scrollbar {
11027
+ .client-libraries-content[data-v-6a6d7752]::-webkit-scrollbar {
10935
11028
  display: none;
10936
11029
  }
10937
- .client-libraries-row[data-v-dac808aa] {
11030
+ .client-libraries-row[data-v-6a6d7752] {
10938
11031
  display: flex;
10939
11032
  justify-content: flex-start;
10940
11033
  }
10941
11034
  /* Sized to its tabs, so the "More" trigger still pins to the right edge */
10942
- .client-libraries-tabs[data-v-dac808aa] {
11035
+ .client-libraries-tabs[data-v-6a6d7752] {
10943
11036
  display: flex;
10944
11037
  flex: 0 0 auto;
10945
11038
  }
10946
11039
  /* Zero-size clip so the measure row never adds to the scrollable width */
10947
- .client-libraries-measure-clip[data-v-dac808aa] {
11040
+ .client-libraries-measure-clip[data-v-6a6d7752] {
10948
11041
  position: absolute;
10949
11042
  top: 0;
10950
11043
  left: 0;
@@ -10953,12 +11046,12 @@ div + .userMessage[data-v-6573ec87] {
10953
11046
  overflow: hidden;
10954
11047
  }
10955
11048
  /* Off-screen row used only to measure natural tab widths */
10956
- .client-libraries-row--measure[data-v-dac808aa] {
11049
+ .client-libraries-row--measure[data-v-6a6d7752] {
10957
11050
  width: max-content;
10958
11051
  visibility: hidden;
10959
11052
  pointer-events: none;
10960
11053
  }
10961
- .client-libraries[data-v-dac808aa] {
11054
+ .client-libraries[data-v-6a6d7752] {
10962
11055
  display: flex;
10963
11056
  align-items: center;
10964
11057
  justify-content: center;
@@ -10974,7 +11067,7 @@ div + .userMessage[data-v-6573ec87] {
10974
11067
  background: transparent;
10975
11068
  user-select: none;
10976
11069
  }
10977
- .client-libraries[data-v-dac808aa]:not(.client-libraries__active):hover:before {
11070
+ .client-libraries[data-v-6a6d7752]:not(.client-libraries__active):hover:before {
10978
11071
  content: '';
10979
11072
  position: absolute;
10980
11073
  width: calc(100% - 4px);
@@ -10985,22 +11078,22 @@ div + .userMessage[data-v-6573ec87] {
10985
11078
  z-index: 0;
10986
11079
  border-radius: var(--scalar-radius);
10987
11080
  }
10988
- .client-libraries[data-v-dac808aa]:active {
11081
+ .client-libraries[data-v-6a6d7752]:active {
10989
11082
  color: var(--scalar-color-1);
10990
11083
  }
10991
- .client-libraries[data-v-dac808aa]:focus-visible {
11084
+ .client-libraries[data-v-6a6d7752]:focus-visible {
10992
11085
  outline: none;
10993
11086
  box-shadow: inset 0 0 0 1px var(--scalar-color-accent);
10994
11087
  }
10995
- .client-libraries__active[data-v-dac808aa] {
11088
+ .client-libraries__active[data-v-6a6d7752] {
10996
11089
  color: var(--scalar-color-1);
10997
11090
  border-bottom: 1px solid var(--scalar-color-1);
10998
11091
  }
10999
11092
  /* Always pin the "More" dropdown to the right edge */
11000
- .client-libraries-more[data-v-dac808aa] {
11093
+ .client-libraries-more[data-v-6a6d7752] {
11001
11094
  margin-left: auto;
11002
11095
  }
11003
- .client-libraries-icon[data-v-dac808aa] {
11096
+ .client-libraries-icon[data-v-6a6d7752] {
11004
11097
  max-width: 14px;
11005
11098
  max-height: 14px;
11006
11099
  min-width: 14px;
@@ -11013,13 +11106,13 @@ div + .userMessage[data-v-6573ec87] {
11013
11106
  box-sizing: border-box;
11014
11107
  color: currentColor;
11015
11108
  }
11016
- .client-libraries .client-libraries-text[data-v-dac808aa] {
11109
+ .client-libraries .client-libraries-text[data-v-6a6d7752] {
11017
11110
  font-size: var(--scalar-small);
11018
11111
  position: relative;
11019
11112
  display: flex;
11020
11113
  align-items: center;
11021
11114
  }
11022
- .client-libraries__active .client-libraries-text[data-v-dac808aa] {
11115
+ .client-libraries__active .client-libraries-text[data-v-6a6d7752] {
11023
11116
  color: var(--scalar-color-1);
11024
11117
  font-weight: var(--scalar-semibold);
11025
11118
  }
@@ -11799,61 +11892,78 @@ to {
11799
11892
  scroll-margin-top: 140px;
11800
11893
  }
11801
11894
 
11802
- .section-accordion-wrapper[data-v-72fc9cfd] {
11895
+ .section-accordion-wrapper[data-v-b292987e] {
11803
11896
  padding: 0 60px;
11804
11897
  }
11805
- .section-accordion[data-v-72fc9cfd] {
11898
+ .section-accordion[data-v-b292987e] {
11806
11899
  position: relative;
11807
11900
  width: 100%;
11808
11901
  max-width: var(--refs-content-max-width);
11809
11902
  margin: auto;
11810
11903
  }
11811
- .section-accordion-content[data-v-72fc9cfd] {
11904
+ .section-accordion-content[data-v-b292987e] {
11812
11905
  display: flex;
11813
11906
  flex-direction: column;
11814
11907
  gap: 12px;
11815
11908
 
11816
11909
  padding-top: 12px;
11817
11910
  }
11818
- .section-accordion-button[data-v-72fc9cfd] {
11911
+ /* The toggle and the title share one grid cell, so the button spans the whole header. */
11912
+ .section-accordion-header[data-v-b292987e] {
11819
11913
  width: 100%;
11820
- display: flex;
11914
+ display: grid;
11915
+ grid-template-columns: minmax(0, 1fr);
11821
11916
 
11822
11917
  cursor: pointer;
11823
11918
 
11824
- padding: 6px 0 6px 0;
11825
11919
  margin: -6px 0 -6px 0;
11920
+ }
11921
+ .section-accordion-button[data-v-b292987e],
11922
+ .section-accordion-title[data-v-b292987e] {
11923
+ grid-area: 1 / 1;
11924
+ }
11925
+ .section-accordion-button[data-v-b292987e] {
11926
+ width: 100%;
11927
+ height: 100%;
11928
+
11929
+ cursor: pointer;
11930
+
11826
11931
  border-radius: var(--scalar-radius);
11827
11932
  }
11828
- .section-accordion-chevron[data-v-72fc9cfd] {
11933
+ .section-accordion-chevron[data-v-b292987e] {
11829
11934
  position: absolute;
11830
11935
  left: -22px;
11831
11936
  top: 12px;
11832
11937
  color: var(--scalar-color-3);
11833
11938
  }
11834
- .section-accordion-button:hover .section-accordion-chevron[data-v-72fc9cfd] {
11939
+ .section-accordion-header:hover .section-accordion-chevron[data-v-b292987e] {
11835
11940
  color: var(--scalar-color-1);
11836
11941
  }
11837
- .section-accordion-title[data-v-72fc9cfd] {
11942
+ .section-accordion-title[data-v-b292987e] {
11838
11943
  display: flex;
11839
11944
  flex-direction: column;
11840
11945
  align-items: flex-start;
11841
- flex: 1;
11842
- padding: 0 6px;
11946
+ padding: 6px;
11947
+ pointer-events: none;
11843
11948
  }
11844
- .section-accordion-title[data-v-72fc9cfd] .section-header-wrapper {
11949
+ /* The controls the title carries, such as the copy link, keep their clicks. */
11950
+ .section-accordion-title[data-v-b292987e]
11951
+ :is(a[href], button, input, select, textarea, [role='button'], [tabindex]) {
11952
+ pointer-events: auto;
11953
+ }
11954
+ .section-accordion-title[data-v-b292987e] .section-header-wrapper {
11845
11955
  grid-template-columns: 1fr;
11846
11956
  }
11847
- .section-accordion-title[data-v-72fc9cfd] .section-header {
11957
+ .section-accordion-title[data-v-b292987e] .section-header {
11848
11958
  margin-bottom: 0;
11849
11959
  }
11850
11960
  @container references-container (max-width: 900px) {
11851
- .section-accordion-chevron[data-v-72fc9cfd] {
11961
+ .section-accordion-chevron[data-v-b292987e] {
11852
11962
  width: 16px;
11853
11963
  left: -16px;
11854
11964
  top: 14px;
11855
11965
  }
11856
- .section-accordion-wrapper[data-v-72fc9cfd] {
11966
+ .section-accordion-wrapper[data-v-b292987e] {
11857
11967
  padding: calc(var(--refs-viewport-offset)) 24px 0 24px;
11858
11968
  }
11859
11969
  }
@@ -11927,51 +12037,52 @@ to {
11927
12037
  text-decoration: line-through;
11928
12038
  }
11929
12039
 
11930
- .endpoints-card[data-v-8352667b] {
12040
+ .endpoints-card[data-v-ad5ad365] {
11931
12041
  position: sticky;
11932
12042
  top: calc(var(--refs-viewport-offset) + 24px);
11933
12043
  font-size: var(--scalar-font-size-3);
11934
12044
  }
11935
- .endpoints[data-v-8352667b] {
12045
+ .endpoints[data-v-ad5ad365] {
11936
12046
  overflow: auto;
11937
- background: var(--scalar-background-2);
11938
12047
  padding: 10px 12px;
11939
12048
  width: 100%;
11940
12049
  }
11941
12050
 
11942
- .tag-section[data-v-c48b7c95] {
12051
+ .tag-section[data-v-41fb0843] {
11943
12052
  margin-bottom: 48px;
11944
12053
  }
11945
- .tag-name[data-v-c48b7c95] {
12054
+ .tag-name[data-v-41fb0843] {
11946
12055
  text-transform: capitalize;
11947
12056
  }
11948
- .tag-description[data-v-c48b7c95] {
12057
+ .tag-description[data-v-41fb0843] {
11949
12058
  padding-bottom: 4px;
11950
12059
  text-align: left;
11951
12060
  }
11952
12061
 
11953
12062
  /* Tag Groups */
11954
- .tag-section-group .tag-group-name[data-v-c48b7c95] {
12063
+ .tag-section-group .tag-group-name[data-v-41fb0843] {
11955
12064
  gap: 12px;
11956
12065
  align-self: stretch;
11957
12066
  grid-template-columns: auto 1fr;
11958
12067
  }
11959
- .tag-group-name[data-v-c48b7c95]:after {
12068
+ .tag-group-name[data-v-41fb0843]:after {
11960
12069
  content: '';
11961
12070
  display: block;
11962
12071
  height: 1px;
11963
12072
  align-self: center;
11964
12073
  background: var(--scalar-border-color);
11965
12074
  }
11966
- .tag-group-name[data-v-c48b7c95]:has(* > *:hover),
11967
- .tag-group-name[data-v-c48b7c95]:has(:focus-visible) {
12075
+ /* Make room for the copy link whenever the accordion header reveals it. */
12076
+ :is(.group\/heading:hover, .group\/heading:has(:focus-visible))
12077
+ > .section-accordion-title
12078
+ > .tag-group-name[data-v-41fb0843] {
11968
12079
  gap: 32px;
11969
12080
  }
11970
- .tag-section-group .tag-section[data-v-c48b7c95] {
12081
+ .tag-section-group .tag-section[data-v-41fb0843] {
11971
12082
  padding-inline: 0;
11972
12083
  margin-bottom: 24px;
11973
12084
  }
11974
- .tag-section-group .tag-section[data-v-c48b7c95]:last-of-type {
12085
+ .tag-section-group .tag-section[data-v-41fb0843]:last-of-type {
11975
12086
  margin-bottom: 0;
11976
12087
  }
11977
12088
 
@@ -11980,7 +12091,7 @@ to {
11980
12091
  * layer of horizontal padding. Dropping it keeps every section flush left
11981
12092
  * regardless of how deep the tag hierarchy goes.
11982
12093
  */
11983
- .tag-section.tag-section-nested[data-v-c48b7c95] {
12094
+ .tag-section.tag-section-nested[data-v-41fb0843] {
11984
12095
  padding-inline: 0;
11985
12096
  }
11986
12097
 
@@ -12215,7 +12326,7 @@ to {
12215
12326
  text-align: left;
12216
12327
  }
12217
12328
 
12218
- .empty-state[data-v-31632782] {
12329
+ .empty-state[data-v-d440e583] {
12219
12330
  margin: 10px 0 10px 12px;
12220
12331
  text-align: center;
12221
12332
  font-size: var(--scalar-mini);
@@ -12226,18 +12337,18 @@ to {
12226
12337
  border-radius: var(--scalar-radius-lg);
12227
12338
  color: var(--scalar-color-2);
12228
12339
  }
12229
- .rule-title[data-v-31632782] {
12340
+ .rule-title[data-v-d440e583] {
12230
12341
  font-family: var(--scalar-font-code);
12231
12342
  color: var(--scalar-color-1);
12232
12343
  display: inline-block;
12233
12344
  margin: 12px 0 6px;
12234
12345
  border-radius: var(--scalar-radius);
12235
12346
  }
12236
- .rule[data-v-31632782] {
12347
+ .rule[data-v-d440e583] {
12237
12348
  margin: 0 12px 0;
12238
12349
  border-radius: var(--scalar-radius-lg);
12239
12350
  }
12240
- .rule-items[data-v-31632782] {
12351
+ .rule-items[data-v-d440e583] {
12241
12352
  counter-reset: list-number;
12242
12353
  display: flex;
12243
12354
  flex-direction: column;
@@ -12245,14 +12356,14 @@ to {
12245
12356
  border-left: 1px solid var(--scalar-border-color);
12246
12357
  padding: 12px 0 12px;
12247
12358
  }
12248
- .rule-item[data-v-31632782] {
12359
+ .rule-item[data-v-d440e583] {
12249
12360
  counter-increment: list-number;
12250
12361
  border: 1px solid var(--scalar-border-color);
12251
12362
  border-radius: var(--scalar-radius-lg);
12252
12363
  overflow: hidden;
12253
12364
  margin-left: 24px;
12254
12365
  }
12255
- .rule-item[data-v-31632782]:before {
12366
+ .rule-item[data-v-d440e583]:before {
12256
12367
  /* content: counter(list-number); */
12257
12368
  border: 1px solid var(--scalar-border-color);
12258
12369
  border-top: 0;
@@ -12322,7 +12433,7 @@ to {
12322
12433
  bottom: calc(var(--tab-list-padding-y) * -1);
12323
12434
  }
12324
12435
 
12325
- .tab-list[data-v-49a8c0af] {
12436
+ .tab-list[data-v-455675c1] {
12326
12437
  display: flex;
12327
12438
  gap: 6px;
12328
12439
  position: relative;
@@ -12332,8 +12443,25 @@ to {
12332
12443
  padding: var(--tab-list-padding-y) var(--tab-list-padding-x);
12333
12444
  overflow: auto;
12334
12445
  }
12335
- .scalar-card-header.scalar-card-header-tabs[data-v-49a8c0af] {
12336
- padding: 0;
12446
+ .scalar-card-header.scalar-card-header-tabs[data-v-455675c1] {
12447
+ /* Makes up for the strip reaching out over the card's padding, so the tabs stay where they were */
12448
+ padding: 0 4px;
12449
+ }
12450
+
12451
+ /*
12452
+ * The tab strip sits on the card rather than on a surface, so it draws its own rule for the
12453
+ * selected tab's underline to land on and keeps the card's padding below it. The strip reaches
12454
+ * out over the card's side padding so the rule runs from one edge of the card to the other. Its
12455
+ * top corners stay rounded to keep a theme's header background inside the card's own corners.
12456
+ *
12457
+ * Kept out of the scoped block so the selector stays a single class and a theme or `customCss`
12458
+ * rule still wins.
12459
+ */
12460
+ .scalar-card-header-tabs {
12461
+ border-radius: var(--scalar-radius-xl) var(--scalar-radius-xl) 0 0;
12462
+ box-shadow: inset 0 calc(var(--scalar-border-width) * -1) 0
12463
+ var(--scalar-border-color);
12464
+ margin: 0 -4px 4px;
12337
12465
  }
12338
12466
 
12339
12467
  .response-card[data-v-50b330bf] {
@@ -12746,7 +12874,7 @@ to {
12746
12874
  }
12747
12875
 
12748
12876
  /** Container */
12749
- .agent-button-container[data-v-10a4fb90] {
12877
+ .agent-button-container[data-v-90dcde0d] {
12750
12878
  position: relative;
12751
12879
  color: var(--scalar-color-1);
12752
12880
  background: color-mix(in srgb, var(--scalar-background-3), white 15%);
@@ -12759,30 +12887,32 @@ to {
12759
12887
  z-index: 2;
12760
12888
  height: 100%;
12761
12889
  }
12762
- .agent-button-container[data-v-10a4fb90]:hover:not(:focus-within) {
12890
+ .agent-button-container[data-v-90dcde0d]:hover:not(:focus-within) {
12763
12891
  background: color-mix(in srgb, var(--scalar-background-3), white 20%);
12764
12892
  }
12765
- .agent-button-container[data-v-10a4fb90]:has(.ask-agent-scalar-input-not-empty),
12766
- .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 {
12767
12899
  position: absolute;
12768
12900
  inset: 2px;
12769
12901
  border-radius: var(--scalar-radius-lg);
12770
12902
  margin-right: 0;
12771
12903
  height: auto;
12772
12904
  }
12773
- .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) {
12774
12906
  outline-style: solid;
12775
12907
  }
12776
12908
  /** Input */
12777
- .ask-agent-scalar-input[data-v-10a4fb90] {
12909
+ .ask-agent-scalar-input[data-v-90dcde0d] {
12778
12910
  width: 0px;
12779
12911
  opacity: 0;
12780
12912
  font-size: 0px;
12781
12913
  border: none;
12782
12914
  }
12783
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12784
- .ask-agent-scalar-input[data-v-10a4fb90],
12785
- .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] {
12786
12916
  width: 100%;
12787
12917
  font-size: inherit;
12788
12918
  opacity: 1;
@@ -12790,25 +12920,23 @@ to {
12790
12920
  outline: none;
12791
12921
  padding-inline: 4px;
12792
12922
  }
12793
- .ask-agent-scalar-input[data-v-10a4fb90]::placeholder {
12923
+ .ask-agent-scalar-input[data-v-90dcde0d]::placeholder {
12794
12924
  color: var(--scalar-color-2);
12795
12925
  font-family: inherit;
12796
12926
  }
12797
12927
  /** Input label */
12798
- .ask-agent-scalar-input-label[data-v-10a4fb90] {
12928
+ .ask-agent-scalar-input-label[data-v-90dcde0d] {
12799
12929
  /** Shown by default */
12800
12930
  color: var(--scalar-color-1);
12801
12931
  font-weight: var(--scalar-semibold);
12802
12932
  margin-left: 4px;
12803
12933
  }
12804
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12805
- .ask-agent-scalar-input-label[data-v-10a4fb90],
12806
- .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] {
12807
12935
  /** Hidden when input is focused */
12808
12936
  display: none;
12809
12937
  }
12810
12938
  /** Send button */
12811
- .ask-agent-scalar-send[data-v-10a4fb90] {
12939
+ .ask-agent-scalar-send[data-v-90dcde0d] {
12812
12940
  background: var(--scalar-color-blue);
12813
12941
  color: #fff;
12814
12942
  width: 24px;
@@ -12822,12 +12950,12 @@ to {
12822
12950
  /* Hidden by default */
12823
12951
  display: none;
12824
12952
  }
12825
- .agent-button-container:has(.ask-agent-scalar-input-not-empty)
12826
- .ask-agent-scalar-send[data-v-10a4fb90] {
12827
- /** 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 */
12828
12956
  display: flex;
12829
12957
  }
12830
- .ask-agent-scalar-send[data-v-10a4fb90]:hover {
12958
+ .ask-agent-scalar-send[data-v-90dcde0d]:hover {
12831
12959
  background: color-mix(in srgb, var(--scalar-color-blue), transparent 10%);
12832
12960
  }
12833
12961
 
@@ -13124,7 +13252,7 @@ to {
13124
13252
 
13125
13253
  /* Configurable Layout Variables */
13126
13254
  @layer scalar-config {
13127
- .scalar-api-reference[data-v-b89f297d] {
13255
+ .scalar-api-reference[data-v-af283ef2] {
13128
13256
  /* The header height */
13129
13257
  --refs-header-height: calc(
13130
13258
  var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
@@ -13146,20 +13274,20 @@ to {
13146
13274
  /* The maximum width of the content column */
13147
13275
  --refs-content-max-width: var(--scalar-content-max-width, 1540px);
13148
13276
  }
13149
- .scalar-api-reference.references-classic[data-v-b89f297d] {
13277
+ .scalar-api-reference.references-classic[data-v-af283ef2] {
13150
13278
  /* Classic layout is wider */
13151
13279
  --refs-content-max-width: var(--scalar-content-max-width, 1420px);
13152
13280
  min-height: 100dvh;
13153
13281
  --refs-sidebar-width: 0;
13154
13282
  }
13155
13283
  }
13156
- .t-doc__sidebar[data-v-b89f297d] {
13284
+ .t-doc__sidebar[data-v-af283ef2] {
13157
13285
  z-index: 10;
13158
13286
  }
13159
13287
 
13160
13288
  /* ----------------------------------------------------- */
13161
13289
  /* References Layout */
13162
- .references-layout[data-v-b89f297d] {
13290
+ .references-layout[data-v-af283ef2] {
13163
13291
  /* Try to fill the container */
13164
13292
  min-height: 100dvh;
13165
13293
  min-width: 100%;
@@ -13183,36 +13311,36 @@ to {
13183
13311
 
13184
13312
  background: var(--scalar-background-1);
13185
13313
  }
13186
- .references-editor[data-v-b89f297d] {
13314
+ .references-editor[data-v-af283ef2] {
13187
13315
  grid-area: editor;
13188
13316
  display: flex;
13189
13317
  min-width: 0;
13190
13318
  background: var(--scalar-background-1);
13191
13319
  }
13192
- .references-rendered[data-v-b89f297d] {
13320
+ .references-rendered[data-v-af283ef2] {
13193
13321
  position: relative;
13194
13322
  grid-area: rendered;
13195
13323
  min-width: 0;
13196
13324
  background: var(--scalar-background-1);
13197
13325
  }
13198
- .scalar-api-reference.references-classic[data-v-b89f297d],
13199
- .references-classic .references-rendered[data-v-b89f297d] {
13326
+ .scalar-api-reference.references-classic[data-v-af283ef2],
13327
+ .references-classic .references-rendered[data-v-af283ef2] {
13200
13328
  height: initial !important;
13201
13329
  max-height: initial !important;
13202
13330
  }
13203
13331
  /* Give the classic layout some breathing room at the end of the scroll */
13204
- .references-classic .references-rendered[data-v-b89f297d] {
13332
+ .references-classic .references-rendered[data-v-af283ef2] {
13205
13333
  padding-bottom: 80px;
13206
13334
  }
13207
13335
  @layer scalar-config {
13208
- .references-sidebar[data-v-b89f297d] {
13336
+ .references-sidebar[data-v-af283ef2] {
13209
13337
  /* Set a default width if references are enabled */
13210
13338
  --refs-sidebar-width: var(--scalar-sidebar-width, 288px);
13211
13339
  }
13212
13340
  }
13213
13341
 
13214
13342
  /* Footer */
13215
- .references-footer[data-v-b89f297d] {
13343
+ .references-footer[data-v-af283ef2] {
13216
13344
  grid-area: footer;
13217
13345
  }
13218
13346
  /* ----------------------------------------------------- */
@@ -13228,12 +13356,12 @@ to {
13228
13356
  */
13229
13357
  @media (width < 1000px) {
13230
13358
  /* Keep toolbar hidden on mobile without forcing desktop display mode. */
13231
- .references-developer-tools[data-v-b89f297d] {
13359
+ .references-developer-tools[data-v-af283ef2] {
13232
13360
  display: none;
13233
13361
  }
13234
13362
 
13235
13363
  /* Stack view on mobile */
13236
- .references-layout[data-v-b89f297d] {
13364
+ .references-layout[data-v-af283ef2] {
13237
13365
  /* Adjust the sidebar height to the viewport height minus the header height */
13238
13366
  --refs-sidebar-height: calc(
13239
13367
  var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
@@ -13248,13 +13376,13 @@ to {
13248
13376
  'rendered'
13249
13377
  'footer';
13250
13378
  }
13251
- .references-editable[data-v-b89f297d] {
13379
+ .references-editable[data-v-af283ef2] {
13252
13380
  grid-template-areas:
13253
13381
  'header'
13254
13382
  'navigation'
13255
13383
  'editor';
13256
13384
  }
13257
- .references-rendered[data-v-b89f297d] {
13385
+ .references-rendered[data-v-af283ef2] {
13258
13386
  position: static;
13259
13387
  }
13260
13388
  }
@@ -13274,7 +13402,7 @@ to {
13274
13402
  * Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
13275
13403
  */
13276
13404
  @media (width >= 1000px) {
13277
- .references-shell[data-v-b89f297d] {
13405
+ .references-shell[data-v-af283ef2] {
13278
13406
  /* The toolbar reads this for its height, so the offsets below always match what it renders */
13279
13407
  --refs-shell-toolbar-height: 48px;
13280
13408
  /* Breathing room between the card and the viewport edge, and between the card and the panel */
@@ -13298,14 +13426,14 @@ to {
13298
13426
  }
13299
13427
 
13300
13428
  /* Darker than the card rather than lighter, so it still reads as a backdrop */
13301
- .dark-mode .references-shell[data-v-b89f297d] {
13429
+ .dark-mode .references-shell[data-v-af283ef2] {
13302
13430
  --refs-shell-backdrop: color-mix(
13303
13431
  in srgb,
13304
13432
  var(--scalar-background-1) 25%,
13305
13433
  black 75%
13306
13434
  );
13307
13435
  }
13308
- .references-shell-toolbar[data-v-b89f297d] {
13436
+ .references-shell-toolbar[data-v-af283ef2] {
13309
13437
  /*
13310
13438
  * A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
13311
13439
  * and sits at the top of it, while the first row keeps its height free.
@@ -13319,7 +13447,7 @@ to {
13319
13447
  z-index: 20;
13320
13448
  background: var(--refs-shell-backdrop);
13321
13449
  }
13322
- .references-shell-card[data-v-b89f297d] {
13450
+ .references-shell-card[data-v-af283ef2] {
13323
13451
  grid-area: 2 / 1;
13324
13452
  /* Fill the viewport below the toolbar, so a short document still ends at the frame */
13325
13453
  min-height: var(--refs-shell-stuck-height);
@@ -13335,7 +13463,7 @@ to {
13335
13463
  * It sticks within the card's grid area, so it follows the card's end when the page has more
13336
13464
  * content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
13337
13465
  */
13338
- .references-shell-frame[data-v-b89f297d] {
13466
+ .references-shell-frame[data-v-af283ef2] {
13339
13467
  grid-area: 2 / 1;
13340
13468
  align-self: start;
13341
13469
  position: sticky;
@@ -13356,7 +13484,7 @@ to {
13356
13484
  * Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
13357
13485
  * inside it are teleported, so they still open above the toolbar.
13358
13486
  */
13359
- .references-shell-panel[data-v-b89f297d] {
13487
+ .references-shell-panel[data-v-af283ef2] {
13360
13488
  grid-area: 2 / 2;
13361
13489
  align-self: start;
13362
13490
  position: sticky;
@@ -13367,7 +13495,7 @@ to {
13367
13495
  height: var(--refs-shell-stuck-height);
13368
13496
  margin-inline-start: var(--refs-shell-gutter);
13369
13497
  transform-origin: top center;
13370
- animation: refs-shell-panel-in-b89f297d 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);
13371
13499
  }
13372
13500
 
13373
13501
  /*
@@ -13377,7 +13505,7 @@ to {
13377
13505
  * sidebar scrolls on its own, below the toolbar.
13378
13506
  */
13379
13507
  .references-shell-card
13380
- .references-rendered[data-v-b89f297d]
13508
+ .references-rendered[data-v-af283ef2]
13381
13509
 
13382
13510
  :is(
13383
13511
  a[href],
@@ -13405,33 +13533,33 @@ to {
13405
13533
  *
13406
13534
  * Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
13407
13535
  */
13408
- .references-shell[data-v-b89f297d] .agent-scalar-overlay.agent-scalar-overlay,
13409
- .references-shell[data-v-b89f297d] .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 {
13410
13538
  --refs-shell-agent-end: var(--refs-shell-gutter);
13411
13539
  z-index: 10;
13412
13540
  }
13413
- .references-shell[data-shell-panel][data-v-b89f297d]
13541
+ .references-shell[data-shell-panel][data-v-af283ef2]
13414
13542
  .agent-scalar-overlay.agent-scalar-overlay,
13415
- .references-shell[data-shell-panel][data-v-b89f297d] .agent-scalar.agent-scalar {
13543
+ .references-shell[data-shell-panel][data-v-af283ef2] .agent-scalar.agent-scalar {
13416
13544
  --refs-shell-agent-end: calc(
13417
13545
  var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
13418
13546
  );
13419
13547
  }
13420
- .references-shell[data-v-b89f297d] .agent-scalar-overlay.agent-scalar-overlay {
13548
+ .references-shell[data-v-af283ef2] .agent-scalar-overlay.agent-scalar-overlay {
13421
13549
  inset: var(--refs-shell-top) var(--refs-shell-agent-end)
13422
13550
  var(--refs-shell-gutter) var(--refs-shell-gutter);
13423
13551
  }
13424
- .references-shell[data-v-b89f297d] .agent-scalar.agent-scalar {
13552
+ .references-shell[data-v-af283ef2] .agent-scalar.agent-scalar {
13425
13553
  inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
13426
13554
  var(--refs-shell-gutter)
13427
13555
  calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
13428
13556
  }
13429
13557
  /* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
13430
- .references-shell[data-v-b89f297d] .references-classic .agent-scalar.agent-scalar {
13558
+ .references-shell[data-v-af283ef2] .references-classic .agent-scalar.agent-scalar {
13431
13559
  left: var(--refs-shell-gutter);
13432
13560
  }
13433
13561
  @layer scalar-config {
13434
- .scalar-api-reference.references-shell-card[data-v-b89f297d] {
13562
+ .scalar-api-reference.references-shell-card[data-v-af283ef2] {
13435
13563
  /* The sticky toolbar is one more header that the sidebar and scroll offsets sit below */
13436
13564
  --refs-header-height: calc(
13437
13565
  var(--scalar-custom-header-height, 0px) +
@@ -13451,20 +13579,20 @@ to {
13451
13579
 
13452
13580
  /* The panel only exists at the toolbar's breakpoint; the script closes it below that */
13453
13581
  @media (width < 1000px) {
13454
- .references-shell-panel[data-v-b89f297d] {
13582
+ .references-shell-panel[data-v-af283ef2] {
13455
13583
  display: none;
13456
13584
  }
13457
13585
  }
13458
13586
 
13459
13587
  /* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
13460
- @keyframes refs-shell-panel-in-b89f297d {
13588
+ @keyframes refs-shell-panel-in-af283ef2 {
13461
13589
  from {
13462
13590
  opacity: 0;
13463
13591
  scale: 0.985;
13464
13592
  }
13465
13593
  }
13466
13594
  @media (prefers-reduced-motion: reduce) {
13467
- .references-shell-panel[data-v-b89f297d] {
13595
+ .references-shell-panel[data-v-af283ef2] {
13468
13596
  animation: none;
13469
13597
  }
13470
13598
  }
@@ -13476,12 +13604,12 @@ from {
13476
13604
  */
13477
13605
  /* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
13478
13606
  @media (width < 1000px) {
13479
- .scalar-api-references-standalone-mobile[data-v-b89f297d]:not(.references-classic) {
13607
+ .scalar-api-references-standalone-mobile[data-v-af283ef2]:not(.references-classic) {
13480
13608
  --scalar-header-height: 50px;
13481
13609
  }
13482
13610
  }
13483
13611
 
13484
- .darklight-reference[data-v-b89f297d] {
13612
+ .darklight-reference[data-v-af283ef2] {
13485
13613
  width: 100%;
13486
13614
  margin-top: auto;
13487
13615
  }
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.90",
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.78.1",
43
- "@scalar/types": "0.28.1"
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",