@scalar/api-reference-react 0.9.94 → 0.9.96
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 +8 -0
- package/dist/style.css +251 -208
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -402,6 +402,49 @@
|
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
+
.light-mode, .dark-mode, .light-mode .dark-mode, .dark-mode .light-mode {
|
|
406
|
+
--scalar-code-keyword: var(--scalar-color-purple);
|
|
407
|
+
--scalar-code-string: var(--scalar-color-blue);
|
|
408
|
+
--scalar-code-number: var(--scalar-color-orange);
|
|
409
|
+
--scalar-code-function: var(--scalar-color-orange);
|
|
410
|
+
--scalar-code-builtin: var(--scalar-color-blue);
|
|
411
|
+
--scalar-code-type: var(--scalar-color-1);
|
|
412
|
+
--scalar-code-parameter: var(--scalar-color-red);
|
|
413
|
+
--scalar-code-property: var(--scalar-color-green);
|
|
414
|
+
--scalar-code-comment: var(--scalar-color-2);
|
|
415
|
+
--scalar-code-punctuation: var(--scalar-color-2);
|
|
416
|
+
--scalar-code-addition: var(--scalar-color-green);
|
|
417
|
+
--scalar-code-deletion: var(--scalar-color-red);
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
@supports (color: oklch(from white l c h)) {
|
|
421
|
+
.light-mode, .dark-mode .light-mode {
|
|
422
|
+
--scalar-code-keyword: oklch(from var(--scalar-color-purple) min(l, .395) min(c, .22) h);
|
|
423
|
+
--scalar-code-string: oklch(from var(--scalar-color-blue) min(l, .55) min(c, .14) h);
|
|
424
|
+
--scalar-code-number: oklch(from var(--scalar-color-orange) min(l, .59) min(c, .17) calc(h + 3));
|
|
425
|
+
--scalar-code-function: oklch(from var(--scalar-color-orange) min(l, .59) min(c, .17) calc(h + 3));
|
|
426
|
+
--scalar-code-builtin: oklch(from var(--scalar-color-blue) min(l, .55) min(c, .14) h);
|
|
427
|
+
--scalar-code-type: oklch(from var(--scalar-color-blue) min(l, .33) min(c, .1) calc(h + 8));
|
|
428
|
+
--scalar-code-parameter: oklch(from var(--scalar-color-red) min(l, .5) min(c, .2) calc(h - 14));
|
|
429
|
+
--scalar-code-property: oklch(from var(--scalar-color-green) min(l, .51) min(c, .11) h);
|
|
430
|
+
--scalar-code-addition: oklch(from var(--scalar-color-green) min(l, .51) min(c, .11) h);
|
|
431
|
+
--scalar-code-deletion: oklch(from var(--scalar-color-red) min(l, .5) min(c, .2) calc(h - 14));
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.dark-mode, .light-mode .dark-mode {
|
|
435
|
+
--scalar-code-keyword: oklch(from var(--scalar-color-purple) max(l, .68) c h);
|
|
436
|
+
--scalar-code-string: oklch(from var(--scalar-color-blue) max(l, .68) c h);
|
|
437
|
+
--scalar-code-number: oklch(from var(--scalar-color-orange) max(l, .75) min(c, .16) h);
|
|
438
|
+
--scalar-code-function: oklch(from var(--scalar-color-orange) max(l, .75) min(c, .16) h);
|
|
439
|
+
--scalar-code-builtin: oklch(from var(--scalar-color-blue) max(l, .68) c h);
|
|
440
|
+
--scalar-code-type: oklch(from var(--scalar-color-blue) max(l, .85) min(c, .075) h);
|
|
441
|
+
--scalar-code-parameter: oklch(from var(--scalar-color-red) max(l, .68) min(c, .19) calc(h - 14));
|
|
442
|
+
--scalar-code-property: oklch(from var(--scalar-color-green) max(l, .68) c h);
|
|
443
|
+
--scalar-code-addition: oklch(from var(--scalar-color-green) max(l, .68) c h);
|
|
444
|
+
--scalar-code-deletion: oklch(from var(--scalar-color-red) max(l, .68) min(c, .19) calc(h - 14));
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
405
448
|
:root, :host {
|
|
406
449
|
--tracking-tight: -.025em;
|
|
407
450
|
--tracking-widest: .1em;
|
|
@@ -761,10 +804,6 @@
|
|
|
761
804
|
margin-block: 2px -2px;
|
|
762
805
|
}
|
|
763
806
|
|
|
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 {
|
|
765
|
-
color: var(--scalar-color-blue);
|
|
766
|
-
}
|
|
767
|
-
|
|
768
807
|
.scalar-code-block-pre {
|
|
769
808
|
font-family: var(--scalar-font-code);
|
|
770
809
|
font-variant-ligatures: none;
|
|
@@ -878,13 +917,13 @@
|
|
|
878
917
|
.scalar-app code.hljs {
|
|
879
918
|
all: unset;
|
|
880
919
|
font-size: inherit;
|
|
881
|
-
color: var(--scalar-color-
|
|
920
|
+
color: var(--scalar-color-1);
|
|
882
921
|
font-family: var(--scalar-font-code);
|
|
883
922
|
counter-reset: linenumber;
|
|
884
923
|
}
|
|
885
924
|
|
|
886
925
|
.scalar-app .hljs {
|
|
887
|
-
color: var(--scalar-color-
|
|
926
|
+
color: var(--scalar-color-1);
|
|
888
927
|
background: none;
|
|
889
928
|
}
|
|
890
929
|
|
|
@@ -899,64 +938,60 @@
|
|
|
899
938
|
}
|
|
900
939
|
|
|
901
940
|
.scalar-app .hljs-comment, .scalar-app .hljs-quote {
|
|
902
|
-
color: var(--scalar-color-
|
|
941
|
+
color: var(--scalar-code-comment, var(--scalar-color-2));
|
|
903
942
|
font-style: italic;
|
|
904
943
|
}
|
|
905
944
|
|
|
906
|
-
.scalar-app .hljs-
|
|
907
|
-
color: var(--scalar-color-
|
|
945
|
+
.scalar-app .hljs-punctuation, .scalar-app .hljs-operator, .scalar-app .hljs-bullet {
|
|
946
|
+
color: var(--scalar-code-punctuation, var(--scalar-color-2));
|
|
908
947
|
}
|
|
909
948
|
|
|
910
|
-
.scalar-app .hljs-
|
|
911
|
-
color: var(--scalar-color-
|
|
949
|
+
.scalar-app .hljs-number, .scalar-app .hljs-literal, .scalar-app .hljs-symbol {
|
|
950
|
+
color: var(--scalar-code-number, var(--scalar-color-orange));
|
|
912
951
|
}
|
|
913
952
|
|
|
914
|
-
.scalar-app .hljs-
|
|
915
|
-
color: var(--scalar-color-
|
|
953
|
+
.scalar-app .hljs-regexp, .scalar-app .hljs-string {
|
|
954
|
+
color: var(--scalar-code-string, var(--scalar-color-blue));
|
|
916
955
|
}
|
|
917
956
|
|
|
918
|
-
.scalar-app .hljs-
|
|
919
|
-
color: var(--scalar-color-
|
|
957
|
+
.scalar-app .hljs-built_in, .scalar-app .hljs-meta {
|
|
958
|
+
color: var(--scalar-code-builtin, var(--scalar-color-blue));
|
|
920
959
|
}
|
|
921
960
|
|
|
922
|
-
.scalar-app .hljs-
|
|
923
|
-
color: var(--scalar-color-
|
|
961
|
+
.scalar-app .hljs-keyword, .scalar-app .hljs-doctag, .scalar-app .hljs-subst, .scalar-app .hljs-name {
|
|
962
|
+
color: var(--scalar-code-keyword, var(--scalar-color-purple));
|
|
924
963
|
}
|
|
925
964
|
|
|
926
|
-
.scalar-app .hljs-
|
|
927
|
-
color: var(--scalar-color-
|
|
965
|
+
.scalar-app .hljs-section, .scalar-app .hljs-link, .scalar-app .hljs-title, .scalar-app .hljs-title.function_ {
|
|
966
|
+
color: var(--scalar-code-function, var(--scalar-color-orange));
|
|
928
967
|
}
|
|
929
968
|
|
|
930
|
-
.scalar-app .hljs-
|
|
931
|
-
color: var(--scalar-color-1);
|
|
969
|
+
.scalar-app .hljs-title.class_, .scalar-app .hljs-type {
|
|
970
|
+
color: var(--scalar-code-type, var(--scalar-color-1));
|
|
932
971
|
}
|
|
933
972
|
|
|
934
|
-
.scalar-app .hljs-
|
|
935
|
-
color: var(--scalar-color-
|
|
973
|
+
.scalar-app .hljs-params {
|
|
974
|
+
color: var(--scalar-code-parameter, var(--scalar-color-red));
|
|
936
975
|
}
|
|
937
976
|
|
|
938
|
-
.scalar-app .hljs-selector-attr, .scalar-app .hljs-selector-pseudo {
|
|
939
|
-
color: var(--scalar-color-
|
|
940
|
-
}
|
|
941
|
-
|
|
942
|
-
.scalar-app .hljs-doctag, .scalar-app .hljs-section, .scalar-app .hljs-title {
|
|
943
|
-
color: var(--scalar-color-blue);
|
|
977
|
+
.scalar-app .hljs-property, .scalar-app .hljs-attr, .scalar-app .hljs-attribute, .scalar-app .hljs-selector-tag, .scalar-app .hljs-selector-attr, .scalar-app .hljs-selector-pseudo {
|
|
978
|
+
color: var(--scalar-code-property, var(--scalar-color-green));
|
|
944
979
|
}
|
|
945
980
|
|
|
946
981
|
.scalar-app .hljs-selector-id, .scalar-app .hljs-template-variable, .scalar-app .hljs-variable {
|
|
947
982
|
color: var(--scalar-color-1);
|
|
948
983
|
}
|
|
949
984
|
|
|
950
|
-
.scalar-app .hljs-
|
|
951
|
-
|
|
985
|
+
.scalar-app .hljs-addition {
|
|
986
|
+
color: var(--scalar-code-addition, var(--scalar-color-green));
|
|
952
987
|
}
|
|
953
988
|
|
|
954
|
-
.scalar-app .hljs-
|
|
955
|
-
|
|
989
|
+
.scalar-app .hljs-name, .scalar-app .hljs-section, .scalar-app .hljs-strong {
|
|
990
|
+
font-weight: var(--scalar-semibold);
|
|
956
991
|
}
|
|
957
992
|
|
|
958
993
|
.scalar-app .hljs-deletion {
|
|
959
|
-
color: var(--scalar-color-red);
|
|
994
|
+
color: var(--scalar-code-deletion, var(--scalar-color-red));
|
|
960
995
|
}
|
|
961
996
|
|
|
962
997
|
.scalar-app .hljs-formula {
|
|
@@ -984,27 +1019,19 @@
|
|
|
984
1019
|
}
|
|
985
1020
|
|
|
986
1021
|
.hljs.language-html .hljs-attr {
|
|
987
|
-
color: var(--scalar-color-
|
|
1022
|
+
color: var(--scalar-code-property, var(--scalar-color-green));
|
|
988
1023
|
}
|
|
989
1024
|
|
|
990
1025
|
.hljs.language-curl .hljs-string {
|
|
991
|
-
color: var(--scalar-color-blue);
|
|
1026
|
+
color: var(--scalar-code-string, var(--scalar-color-blue));
|
|
992
1027
|
}
|
|
993
1028
|
|
|
994
|
-
.hljs.language-
|
|
995
|
-
color: var(--scalar-color-1);
|
|
996
|
-
}
|
|
997
|
-
|
|
998
|
-
.hljs.language-php .hljs-variable {
|
|
999
|
-
color: var(--scalar-color-blue);
|
|
1000
|
-
}
|
|
1001
|
-
|
|
1002
|
-
.hljs.language-objectivec .hljs-meta {
|
|
1029
|
+
.hljs.language-php .hljs-variable, .hljs.language-objectivec .hljs-meta {
|
|
1003
1030
|
color: var(--scalar-color-1);
|
|
1004
1031
|
}
|
|
1005
1032
|
|
|
1006
1033
|
.hljs.language-objectivec .hljs-built_in {
|
|
1007
|
-
color: var(--scalar-color-
|
|
1034
|
+
color: var(--scalar-code-builtin, var(--scalar-color-blue));
|
|
1008
1035
|
}
|
|
1009
1036
|
|
|
1010
1037
|
.scalar-app .markdown {
|
|
@@ -2485,7 +2512,7 @@
|
|
|
2485
2512
|
color: var(--scalar-color-1);
|
|
2486
2513
|
}
|
|
2487
2514
|
|
|
2488
|
-
[data-v-
|
|
2515
|
+
[data-v-efbe965b] .cm-content {
|
|
2489
2516
|
font-size: var(--scalar-small);
|
|
2490
2517
|
}
|
|
2491
2518
|
|
|
@@ -2545,38 +2572,38 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2545
2572
|
-moz-text-security: disc;
|
|
2546
2573
|
}
|
|
2547
2574
|
|
|
2548
|
-
.request-section-content[data-v-
|
|
2575
|
+
.request-section-content[data-v-2e177312] {
|
|
2549
2576
|
--scalar-border-width: .5px;
|
|
2550
2577
|
}
|
|
2551
2578
|
|
|
2552
|
-
.request-section-content-filter[data-v-
|
|
2579
|
+
.request-section-content-filter[data-v-2e177312] {
|
|
2553
2580
|
box-shadow: 0 -10px 0 10px var(--scalar-background-1);
|
|
2554
2581
|
}
|
|
2555
2582
|
|
|
2556
|
-
.request-item:focus-within .request-meta-buttons[data-v-
|
|
2583
|
+
.request-item:focus-within .request-meta-buttons[data-v-2e177312] {
|
|
2557
2584
|
opacity: 1;
|
|
2558
2585
|
}
|
|
2559
2586
|
|
|
2560
|
-
.group-hover-input[data-v-
|
|
2587
|
+
.group-hover-input[data-v-2e177312] {
|
|
2561
2588
|
border-width: var(--scalar-border-width);
|
|
2562
2589
|
border-color: #0000;
|
|
2563
2590
|
}
|
|
2564
2591
|
|
|
2565
|
-
.group:hover .group-hover-input[data-v-
|
|
2592
|
+
.group:hover .group-hover-input[data-v-2e177312] {
|
|
2566
2593
|
background: var(--scalar-background-1);
|
|
2567
2594
|
}
|
|
2568
2595
|
|
|
2569
2596
|
@supports (color: color-mix(in lab, red, red)) {
|
|
2570
|
-
.group:hover .group-hover-input[data-v-
|
|
2597
|
+
.group:hover .group-hover-input[data-v-2e177312] {
|
|
2571
2598
|
background: color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2));
|
|
2572
2599
|
}
|
|
2573
2600
|
}
|
|
2574
2601
|
|
|
2575
|
-
.group:hover .group-hover-input[data-v-
|
|
2602
|
+
.group:hover .group-hover-input[data-v-2e177312] {
|
|
2576
2603
|
border-color: var(--scalar-border-color);
|
|
2577
2604
|
}
|
|
2578
2605
|
|
|
2579
|
-
.group-hover-input[data-v-
|
|
2606
|
+
.group-hover-input[data-v-2e177312]:focus {
|
|
2580
2607
|
border-color: var(--scalar-border-color) !important;
|
|
2581
2608
|
background: none !important;
|
|
2582
2609
|
}
|
|
@@ -2982,17 +3009,17 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2982
3009
|
display: flex;
|
|
2983
3010
|
}
|
|
2984
3011
|
|
|
2985
|
-
.request-card[data-v-aaf1efda], .request-card[data-v-
|
|
3012
|
+
.request-card[data-v-aaf1efda], .request-card[data-v-f11de264] {
|
|
2986
3013
|
color: var(--scalar-color-1);
|
|
2987
3014
|
font-size: var(--scalar-font-size-3);
|
|
2988
3015
|
}
|
|
2989
3016
|
|
|
2990
|
-
.request-method[data-v-
|
|
3017
|
+
.request-method[data-v-f11de264] {
|
|
2991
3018
|
font-family: var(--scalar-font-code);
|
|
2992
3019
|
margin-right: 6px;
|
|
2993
3020
|
}
|
|
2994
3021
|
|
|
2995
|
-
.request-card-footer[data-v-
|
|
3022
|
+
.request-card-footer[data-v-f11de264] {
|
|
2996
3023
|
flex-shrink: 0;
|
|
2997
3024
|
justify-content: flex-end;
|
|
2998
3025
|
padding: 6px;
|
|
@@ -3000,18 +3027,18 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3000
3027
|
position: relative;
|
|
3001
3028
|
}
|
|
3002
3029
|
|
|
3003
|
-
.request-card-footer--wraps[data-v-
|
|
3030
|
+
.request-card-footer--wraps[data-v-f11de264] {
|
|
3004
3031
|
flex-wrap: wrap;
|
|
3005
3032
|
row-gap: 4px;
|
|
3006
3033
|
}
|
|
3007
3034
|
|
|
3008
|
-
.request-card-footer-start[data-v-
|
|
3035
|
+
.request-card-footer-start[data-v-f11de264] {
|
|
3009
3036
|
flex: 1 0 auto;
|
|
3010
3037
|
align-items: center;
|
|
3011
3038
|
display: flex;
|
|
3012
3039
|
}
|
|
3013
3040
|
|
|
3014
|
-
.request-card-footer-addon[data-v-
|
|
3041
|
+
.request-card-footer-addon[data-v-f11de264] {
|
|
3015
3042
|
flex: 7em;
|
|
3016
3043
|
align-items: center;
|
|
3017
3044
|
min-width: 0;
|
|
@@ -3020,16 +3047,16 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3020
3047
|
display: flex;
|
|
3021
3048
|
}
|
|
3022
3049
|
|
|
3023
|
-
.request-editor-section[data-v-
|
|
3050
|
+
.request-editor-section[data-v-f11de264] {
|
|
3024
3051
|
flex: 1;
|
|
3025
3052
|
display: flex;
|
|
3026
3053
|
}
|
|
3027
3054
|
|
|
3028
|
-
.code-snippet > .scalar-code-copy[data-v-
|
|
3055
|
+
.code-snippet > .scalar-code-copy[data-v-f11de264] {
|
|
3029
3056
|
background: var(--scalar-card-surface-raised, var(--scalar-background-2));
|
|
3030
3057
|
}
|
|
3031
3058
|
|
|
3032
|
-
.request-card-simple[data-v-
|
|
3059
|
+
.request-card-simple[data-v-f11de264] {
|
|
3033
3060
|
font-size: var(--scalar-small);
|
|
3034
3061
|
flex-wrap: wrap;
|
|
3035
3062
|
justify-content: space-between;
|
|
@@ -3039,17 +3066,17 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3039
3066
|
display: flex;
|
|
3040
3067
|
}
|
|
3041
3068
|
|
|
3042
|
-
.request-header[data-v-
|
|
3069
|
+
.request-header[data-v-f11de264] {
|
|
3043
3070
|
overflow-wrap: anywhere;
|
|
3044
3071
|
flex: 999 auto;
|
|
3045
3072
|
min-width: 0;
|
|
3046
3073
|
}
|
|
3047
3074
|
|
|
3048
|
-
.request-card-actions[data-v-
|
|
3075
|
+
.request-card-actions[data-v-f11de264] {
|
|
3049
3076
|
flex: 1 0 auto;
|
|
3050
3077
|
}
|
|
3051
3078
|
|
|
3052
|
-
.code-snippet[data-v-
|
|
3079
|
+
.code-snippet[data-v-f11de264] {
|
|
3053
3080
|
flex-direction: column;
|
|
3054
3081
|
width: 100%;
|
|
3055
3082
|
display: flex;
|
|
@@ -7531,6 +7558,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
7531
7558
|
border-radius: var(--scalar-radius-3xl);
|
|
7532
7559
|
}
|
|
7533
7560
|
|
|
7561
|
+
.scalar-app .rounded-\[16px\] {
|
|
7562
|
+
border-radius: 16px;
|
|
7563
|
+
}
|
|
7564
|
+
|
|
7534
7565
|
.scalar-app .rounded-\[999px\] {
|
|
7535
7566
|
border-radius: 999px;
|
|
7536
7567
|
}
|
|
@@ -8321,6 +8352,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8321
8352
|
padding-top: 24px;
|
|
8322
8353
|
}
|
|
8323
8354
|
|
|
8355
|
+
.scalar-app .pt-8 {
|
|
8356
|
+
padding-top: 32px;
|
|
8357
|
+
}
|
|
8358
|
+
|
|
8324
8359
|
.scalar-app .pt-12 {
|
|
8325
8360
|
padding-top: 48px;
|
|
8326
8361
|
}
|
|
@@ -8329,6 +8364,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8329
8364
|
padding-top: 48px !important;
|
|
8330
8365
|
}
|
|
8331
8366
|
|
|
8367
|
+
.scalar-app .pt-\[10vh\] {
|
|
8368
|
+
padding-top: 10vh;
|
|
8369
|
+
}
|
|
8370
|
+
|
|
8332
8371
|
.scalar-app .pt-px {
|
|
8333
8372
|
padding-top: 1px;
|
|
8334
8373
|
}
|
|
@@ -8421,6 +8460,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8421
8460
|
padding-bottom: 48px;
|
|
8422
8461
|
}
|
|
8423
8462
|
|
|
8463
|
+
.scalar-app .pb-16 {
|
|
8464
|
+
padding-bottom: 64px;
|
|
8465
|
+
}
|
|
8466
|
+
|
|
8424
8467
|
.scalar-app .\!pl-3 {
|
|
8425
8468
|
padding-left: 12px !important;
|
|
8426
8469
|
}
|
|
@@ -12627,11 +12670,11 @@ to {
|
|
|
12627
12670
|
margin-right: 4px;
|
|
12628
12671
|
}
|
|
12629
12672
|
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
12630
|
-
.operation-title[data-v-
|
|
12673
|
+
.operation-title[data-v-4d16fcda] {
|
|
12631
12674
|
justify-content: space-between;
|
|
12632
12675
|
display: flex;
|
|
12633
12676
|
}
|
|
12634
|
-
.operation-details[data-v-
|
|
12677
|
+
.operation-details[data-v-4d16fcda] {
|
|
12635
12678
|
flex-shrink: 1;
|
|
12636
12679
|
align-items: center;
|
|
12637
12680
|
gap: 9px;
|
|
@@ -12639,11 +12682,11 @@ to {
|
|
|
12639
12682
|
margin-top: 0;
|
|
12640
12683
|
display: flex;
|
|
12641
12684
|
}
|
|
12642
|
-
.operation-details[data-v-
|
|
12685
|
+
.operation-details[data-v-4d16fcda] .endpoint-anchor .scalar-button svg {
|
|
12643
12686
|
width: 16px;
|
|
12644
12687
|
height: 16px;
|
|
12645
12688
|
}
|
|
12646
|
-
.endpoint-type[data-v-
|
|
12689
|
+
.endpoint-type[data-v-4d16fcda] {
|
|
12647
12690
|
z-index: 0;
|
|
12648
12691
|
width: 60px;
|
|
12649
12692
|
font-size: var(--scalar-small);
|
|
@@ -12658,7 +12701,7 @@ to {
|
|
|
12658
12701
|
display: flex;
|
|
12659
12702
|
position: relative;
|
|
12660
12703
|
}
|
|
12661
|
-
.endpoint-type[data-v-
|
|
12704
|
+
.endpoint-type[data-v-4d16fcda]:after {
|
|
12662
12705
|
content: "";
|
|
12663
12706
|
z-index: -1;
|
|
12664
12707
|
opacity: .15;
|
|
@@ -12667,16 +12710,16 @@ to {
|
|
|
12667
12710
|
position: absolute;
|
|
12668
12711
|
inset: 0;
|
|
12669
12712
|
}
|
|
12670
|
-
.endpoint-anchor[data-v-
|
|
12713
|
+
.endpoint-anchor[data-v-4d16fcda] {
|
|
12671
12714
|
flex-shrink: 1;
|
|
12672
12715
|
align-items: center;
|
|
12673
12716
|
min-width: 0;
|
|
12674
12717
|
display: flex;
|
|
12675
12718
|
}
|
|
12676
|
-
.endpoint-anchor.label[data-v-
|
|
12719
|
+
.endpoint-anchor.label[data-v-4d16fcda] {
|
|
12677
12720
|
display: flex;
|
|
12678
12721
|
}
|
|
12679
|
-
.endpoint-label[data-v-
|
|
12722
|
+
.endpoint-label[data-v-4d16fcda] {
|
|
12680
12723
|
min-width: 0;
|
|
12681
12724
|
color: var(--scalar-color-1);
|
|
12682
12725
|
flex-shrink: 1;
|
|
@@ -12684,17 +12727,17 @@ to {
|
|
|
12684
12727
|
gap: 9px;
|
|
12685
12728
|
display: flex;
|
|
12686
12729
|
}
|
|
12687
|
-
.endpoint-label-path[data-v-
|
|
12730
|
+
.endpoint-label-path[data-v-4d16fcda] {
|
|
12688
12731
|
font-family: var(--scalar-font-code);
|
|
12689
12732
|
font-size: var(--scalar-mini);
|
|
12690
12733
|
text-overflow: ellipsis;
|
|
12691
12734
|
white-space: nowrap;
|
|
12692
12735
|
overflow: hidden;
|
|
12693
12736
|
}
|
|
12694
|
-
.endpoint-label-path[data-v-
|
|
12737
|
+
.endpoint-label-path[data-v-4d16fcda] em {
|
|
12695
12738
|
color: var(--scalar-color-2);
|
|
12696
12739
|
}
|
|
12697
|
-
.endpoint-label-name[data-v-
|
|
12740
|
+
.endpoint-label-name[data-v-4d16fcda] {
|
|
12698
12741
|
color: var(--scalar-color-2);
|
|
12699
12742
|
font-size: var(--scalar-small);
|
|
12700
12743
|
text-overflow: ellipsis;
|
|
@@ -12702,17 +12745,17 @@ to {
|
|
|
12702
12745
|
flex-shrink: 1000000000;
|
|
12703
12746
|
overflow: hidden;
|
|
12704
12747
|
}
|
|
12705
|
-
.endpoint-try-hint[data-v-
|
|
12748
|
+
.endpoint-try-hint[data-v-4d16fcda] {
|
|
12706
12749
|
flex-shrink: 0;
|
|
12707
12750
|
padding: 2px;
|
|
12708
12751
|
}
|
|
12709
|
-
.endpoint-copy[data-v-
|
|
12752
|
+
.endpoint-copy[data-v-4d16fcda] {
|
|
12710
12753
|
color: currentColor;
|
|
12711
12754
|
}
|
|
12712
|
-
.endpoint-copy[data-v-
|
|
12755
|
+
.endpoint-copy[data-v-4d16fcda] svg {
|
|
12713
12756
|
stroke-width: 2px;
|
|
12714
12757
|
}
|
|
12715
|
-
.endpoint-content[data-v-
|
|
12758
|
+
.endpoint-content[data-v-4d16fcda] {
|
|
12716
12759
|
grid-auto-columns: 1fr;
|
|
12717
12760
|
grid-auto-flow: row;
|
|
12718
12761
|
gap: 9px;
|
|
@@ -12720,62 +12763,62 @@ to {
|
|
|
12720
12763
|
display: grid;
|
|
12721
12764
|
}
|
|
12722
12765
|
@media (min-width: 1000px) {
|
|
12723
|
-
.endpoint-content[data-v-
|
|
12766
|
+
.endpoint-content[data-v-4d16fcda] {
|
|
12724
12767
|
grid-auto-flow: column;
|
|
12725
12768
|
}
|
|
12726
12769
|
}
|
|
12727
12770
|
@container (max-width: 900px) {
|
|
12728
|
-
.endpoint-content[data-v-
|
|
12771
|
+
.endpoint-content[data-v-4d16fcda] {
|
|
12729
12772
|
grid-template-columns: 1fr;
|
|
12730
12773
|
}
|
|
12731
12774
|
}
|
|
12732
|
-
.endpoint-content[data-v-
|
|
12775
|
+
.endpoint-content[data-v-4d16fcda] > * {
|
|
12733
12776
|
min-width: 0;
|
|
12734
12777
|
}
|
|
12735
|
-
.endpoint-content[data-v-
|
|
12778
|
+
.endpoint-content[data-v-4d16fcda]:has(.property--tree, .parameter-item--tree, .callback-list-item--tree) {
|
|
12736
12779
|
padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
|
|
12737
12780
|
}
|
|
12738
|
-
:is(.operation-details-card-item[data-v-
|
|
12781
|
+
:is(.operation-details-card-item[data-v-4d16fcda] .request-body-schema:has(.property--tree), .operation-details-card-item[data-v-4d16fcda] .callbacks-list:has(.callback-list-item--tree)) {
|
|
12739
12782
|
padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
|
|
12740
12783
|
padding-inline-end: 9px;
|
|
12741
12784
|
}
|
|
12742
|
-
.endpoint-content[data-v-
|
|
12785
|
+
.endpoint-content[data-v-4d16fcda] .copy-link-trailing {
|
|
12743
12786
|
display: none;
|
|
12744
12787
|
}
|
|
12745
|
-
.operation-details-card[data-v-
|
|
12788
|
+
.operation-details-card[data-v-4d16fcda] {
|
|
12746
12789
|
flex-direction: column;
|
|
12747
12790
|
gap: 12px;
|
|
12748
12791
|
min-width: 0;
|
|
12749
12792
|
display: flex;
|
|
12750
12793
|
}
|
|
12751
|
-
:is(.operation-details-card-item[data-v-
|
|
12794
|
+
:is(.operation-details-card-item[data-v-4d16fcda] .parameter-list, .operation-details-card-item[data-v-4d16fcda] .callbacks-list) {
|
|
12752
12795
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12753
12796
|
border-radius: var(--scalar-radius-lg);
|
|
12754
12797
|
margin-top: 0;
|
|
12755
12798
|
}
|
|
12756
|
-
.operation-details-card-item[data-v-
|
|
12799
|
+
.operation-details-card-item[data-v-4d16fcda] {
|
|
12757
12800
|
flex-direction: column;
|
|
12758
12801
|
gap: 12px;
|
|
12759
12802
|
display: flex;
|
|
12760
12803
|
}
|
|
12761
|
-
.operation-details-card-item[data-v-
|
|
12804
|
+
.operation-details-card-item[data-v-4d16fcda] .parameter-list-items {
|
|
12762
12805
|
margin-bottom: 0;
|
|
12763
12806
|
}
|
|
12764
|
-
.operation-details-card[data-v-
|
|
12807
|
+
.operation-details-card[data-v-4d16fcda] .parameter-item:last-of-type .parameter-schema {
|
|
12765
12808
|
padding-bottom: 12px;
|
|
12766
12809
|
}
|
|
12767
|
-
.operation-details-card[data-v-
|
|
12810
|
+
.operation-details-card[data-v-4d16fcda] .parameter-list .parameter-list {
|
|
12768
12811
|
margin-bottom: 12px;
|
|
12769
12812
|
}
|
|
12770
|
-
.operation-details-card[data-v-
|
|
12813
|
+
.operation-details-card[data-v-4d16fcda] .parameter-item {
|
|
12771
12814
|
margin: 0;
|
|
12772
12815
|
padding: 0;
|
|
12773
12816
|
}
|
|
12774
|
-
.operation-details-card[data-v-
|
|
12817
|
+
.operation-details-card[data-v-4d16fcda] .property {
|
|
12775
12818
|
margin: 0;
|
|
12776
12819
|
padding: 9px;
|
|
12777
12820
|
}
|
|
12778
|
-
:is(.operation-details-card[data-v-
|
|
12821
|
+
:is(.operation-details-card[data-v-4d16fcda] .parameter-list-title, .operation-details-card[data-v-4d16fcda] .request-body-title, .operation-details-card[data-v-4d16fcda] .callbacks-title) {
|
|
12779
12822
|
text-transform: uppercase;
|
|
12780
12823
|
font-weight: var(--scalar-bold);
|
|
12781
12824
|
font-size: var(--scalar-mini);
|
|
@@ -12784,43 +12827,43 @@ to {
|
|
|
12784
12827
|
padding: 9px;
|
|
12785
12828
|
line-height: 1.33;
|
|
12786
12829
|
}
|
|
12787
|
-
.operation-details-card[data-v-
|
|
12830
|
+
.operation-details-card[data-v-4d16fcda] .request-body-description {
|
|
12788
12831
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12789
12832
|
margin-top: 0;
|
|
12790
12833
|
padding: 9px 9px 0;
|
|
12791
12834
|
}
|
|
12792
|
-
.operation-details-card[data-v-
|
|
12835
|
+
.operation-details-card[data-v-4d16fcda] .request-body {
|
|
12793
12836
|
border-radius: var(--scalar-radius-lg);
|
|
12794
12837
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12795
12838
|
margin-top: 0;
|
|
12796
12839
|
}
|
|
12797
|
-
.operation-details-card[data-v-
|
|
12840
|
+
.operation-details-card[data-v-4d16fcda] .request-body .schema-card--level-0 > .schema-card-description {
|
|
12798
12841
|
padding-inline: 9px;
|
|
12799
12842
|
}
|
|
12800
|
-
.operation-details-card[data-v-
|
|
12843
|
+
.operation-details-card[data-v-4d16fcda] .request-body-header {
|
|
12801
12844
|
border-bottom: 0;
|
|
12802
12845
|
padding-bottom: 0;
|
|
12803
12846
|
}
|
|
12804
|
-
.operation-details-card[data-v-
|
|
12847
|
+
.operation-details-card[data-v-4d16fcda] .contents button {
|
|
12805
12848
|
margin-right: 9px;
|
|
12806
12849
|
}
|
|
12807
|
-
.operation-details-card[data-v-
|
|
12850
|
+
.operation-details-card[data-v-4d16fcda] .schema-card--open + .schema-card:not(.schema-card--open) {
|
|
12808
12851
|
margin-inline: 9px;
|
|
12809
12852
|
margin-bottom: 9px;
|
|
12810
12853
|
}
|
|
12811
|
-
.operation-details-card[data-v-
|
|
12854
|
+
.operation-details-card[data-v-4d16fcda] .request-body-schema .property--level-0 {
|
|
12812
12855
|
padding: 0;
|
|
12813
12856
|
}
|
|
12814
|
-
.operation-details-card[data-v-
|
|
12857
|
+
.operation-details-card[data-v-4d16fcda] .selected-content-type {
|
|
12815
12858
|
margin-right: 9px;
|
|
12816
12859
|
}
|
|
12817
|
-
.operation-example-card[data-v-
|
|
12860
|
+
.operation-example-card[data-v-4d16fcda] {
|
|
12818
12861
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
12819
12862
|
max-height: calc(var(--refs-viewport-height) - 48px);
|
|
12820
12863
|
position: sticky;
|
|
12821
12864
|
}
|
|
12822
12865
|
@media (max-width: 600px) {
|
|
12823
|
-
.operation-example-card[data-v-
|
|
12866
|
+
.operation-example-card[data-v-4d16fcda] {
|
|
12824
12867
|
max-height: unset;
|
|
12825
12868
|
position: static;
|
|
12826
12869
|
}
|
|
@@ -12920,7 +12963,7 @@ to {
|
|
|
12920
12963
|
* its own leading margin (mt-6) that already spaces it from whatever precedes
|
|
12921
12964
|
* it — a row-gap would double that gap.
|
|
12922
12965
|
*/
|
|
12923
|
-
.operation-layout[data-v-
|
|
12966
|
+
.operation-layout[data-v-f226c253] {
|
|
12924
12967
|
display: grid;
|
|
12925
12968
|
grid-template-columns: 1fr 1fr;
|
|
12926
12969
|
grid-template-rows: auto auto 1fr;
|
|
@@ -12931,7 +12974,7 @@ to {
|
|
|
12931
12974
|
column-gap: 48px;
|
|
12932
12975
|
row-gap: 0;
|
|
12933
12976
|
}
|
|
12934
|
-
.operation-title[data-v-
|
|
12977
|
+
.operation-title[data-v-f226c253] {
|
|
12935
12978
|
grid-area: heading;
|
|
12936
12979
|
min-width: 0;
|
|
12937
12980
|
margin-bottom: 12px;
|
|
@@ -12943,24 +12986,24 @@ to {
|
|
|
12943
12986
|
line-height: 1.45;
|
|
12944
12987
|
overflow-wrap: break-word;
|
|
12945
12988
|
}
|
|
12946
|
-
.operation-request-actions[data-v-
|
|
12989
|
+
.operation-request-actions[data-v-f226c253] .agent-button-container {
|
|
12947
12990
|
margin-right: 0;
|
|
12948
12991
|
justify-content: center;
|
|
12949
12992
|
}
|
|
12950
|
-
.operation-auth[data-v-
|
|
12993
|
+
.operation-auth[data-v-f226c253] {
|
|
12951
12994
|
grid-area: badge;
|
|
12952
12995
|
justify-self: end;
|
|
12953
12996
|
align-self: start;
|
|
12954
12997
|
}
|
|
12955
|
-
.operation-description[data-v-
|
|
12998
|
+
.operation-description[data-v-f226c253] {
|
|
12956
12999
|
grid-area: description;
|
|
12957
13000
|
min-width: 0;
|
|
12958
13001
|
}
|
|
12959
|
-
.operation-details[data-v-
|
|
13002
|
+
.operation-details[data-v-f226c253] {
|
|
12960
13003
|
grid-area: details;
|
|
12961
13004
|
min-width: 0;
|
|
12962
13005
|
}
|
|
12963
|
-
.examples[data-v-
|
|
13006
|
+
.examples[data-v-f226c253] {
|
|
12964
13007
|
grid-area: examples;
|
|
12965
13008
|
align-self: start;
|
|
12966
13009
|
min-width: 0;
|
|
@@ -12968,11 +13011,11 @@ to {
|
|
|
12968
13011
|
position: sticky;
|
|
12969
13012
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
12970
13013
|
}
|
|
12971
|
-
.examples[data-v-
|
|
13014
|
+
.examples[data-v-f226c253] > * {
|
|
12972
13015
|
max-height: calc((var(--refs-viewport-height) - 60px) / 2);
|
|
12973
13016
|
position: relative;
|
|
12974
13017
|
}
|
|
12975
|
-
.examples[data-v-
|
|
13018
|
+
.examples[data-v-f226c253] > *:first-of-type:last-of-type {
|
|
12976
13019
|
max-height: calc((var(--refs-viewport-height) - 60px));
|
|
12977
13020
|
}
|
|
12978
13021
|
|
|
@@ -12981,11 +13024,11 @@ to {
|
|
|
12981
13024
|
* (or zoomed in screens)
|
|
12982
13025
|
*/
|
|
12983
13026
|
@media (max-width: 600px) {
|
|
12984
|
-
.examples[data-v-
|
|
13027
|
+
.examples[data-v-f226c253] > * {
|
|
12985
13028
|
max-height: unset;
|
|
12986
13029
|
}
|
|
12987
13030
|
}
|
|
12988
|
-
.deprecated[data-v-
|
|
13031
|
+
.deprecated[data-v-f226c253] * {
|
|
12989
13032
|
text-decoration: line-through;
|
|
12990
13033
|
}
|
|
12991
13034
|
|
|
@@ -12995,7 +13038,7 @@ to {
|
|
|
12995
13038
|
* an eyebrow above the title.
|
|
12996
13039
|
*/
|
|
12997
13040
|
@container references-container (max-width: 900px) {
|
|
12998
|
-
.operation-layout[data-v-
|
|
13041
|
+
.operation-layout[data-v-f226c253] {
|
|
12999
13042
|
grid-template-columns: 1fr;
|
|
13000
13043
|
grid-template-areas:
|
|
13001
13044
|
'badge'
|
|
@@ -13005,16 +13048,16 @@ to {
|
|
|
13005
13048
|
'details';
|
|
13006
13049
|
column-gap: 0;
|
|
13007
13050
|
}
|
|
13008
|
-
.operation-auth[data-v-
|
|
13051
|
+
.operation-auth[data-v-f226c253] {
|
|
13009
13052
|
justify-self: start;
|
|
13010
13053
|
margin-bottom: 4px;
|
|
13011
13054
|
}
|
|
13012
|
-
.operation-description[data-v-
|
|
13055
|
+
.operation-description[data-v-f226c253] {
|
|
13013
13056
|
margin-bottom: 24px;
|
|
13014
13057
|
}
|
|
13015
13058
|
|
|
13016
13059
|
/* Don't make the examples sticky on narrow viewports */
|
|
13017
|
-
.examples[data-v-
|
|
13060
|
+
.examples[data-v-f226c253] {
|
|
13018
13061
|
position: static;
|
|
13019
13062
|
}
|
|
13020
13063
|
}
|
|
@@ -13322,6 +13365,56 @@ to {
|
|
|
13322
13365
|
color: var(--scalar-sidebar-color-2);
|
|
13323
13366
|
}
|
|
13324
13367
|
|
|
13368
|
+
/* The same brand gradient wash as the Generate SDK card's hero */
|
|
13369
|
+
.developer-tools-card-wash[data-v-ca8b84e5] {
|
|
13370
|
+
height: 48px;
|
|
13371
|
+
background-image: linear-gradient(
|
|
13372
|
+
90deg,
|
|
13373
|
+
var(--scalar-color-blue),
|
|
13374
|
+
var(--scalar-color-green) 16.6%,
|
|
13375
|
+
var(--scalar-color-accent) 24.9%,
|
|
13376
|
+
var(--scalar-color-orange) 41.5%,
|
|
13377
|
+
var(--scalar-color-yellow) 58.1%,
|
|
13378
|
+
var(--scalar-color-orange) 74.7%,
|
|
13379
|
+
var(--scalar-color-purple) 91.3%,
|
|
13380
|
+
var(--scalar-color-red)
|
|
13381
|
+
);
|
|
13382
|
+
-webkit-mask-image: radial-gradient(
|
|
13383
|
+
ellipse 60% 60% at 50% 0%,
|
|
13384
|
+
black,
|
|
13385
|
+
transparent 80%
|
|
13386
|
+
);
|
|
13387
|
+
mask-image: radial-gradient(
|
|
13388
|
+
ellipse 60% 60% at 50% 0%,
|
|
13389
|
+
black,
|
|
13390
|
+
transparent 80%
|
|
13391
|
+
);
|
|
13392
|
+
}
|
|
13393
|
+
|
|
13394
|
+
/* The artwork pops in like the Generate SDK card's stickers, each time a card opens */
|
|
13395
|
+
.developer-tools-card-hero[data-v-ca8b84e5] {
|
|
13396
|
+
animation: developer-tools-card-pop-ca8b84e5 360ms cubic-bezier(0.34, 1.3, 0.4, 1) both;
|
|
13397
|
+
}
|
|
13398
|
+
@keyframes developer-tools-card-pop-ca8b84e5 {
|
|
13399
|
+
from {
|
|
13400
|
+
opacity: 0;
|
|
13401
|
+
transform: translateY(10px) scale(0.92);
|
|
13402
|
+
}
|
|
13403
|
+
to {
|
|
13404
|
+
opacity: 1;
|
|
13405
|
+
transform: translateY(0) scale(1);
|
|
13406
|
+
}
|
|
13407
|
+
}
|
|
13408
|
+
@media (prefers-reduced-motion: reduce) {
|
|
13409
|
+
.developer-tools-card-hero[data-v-ca8b84e5] {
|
|
13410
|
+
animation: none;
|
|
13411
|
+
}
|
|
13412
|
+
}
|
|
13413
|
+
|
|
13414
|
+
.deploy-waitlist-sticker[data-v-ff2daac7] {
|
|
13415
|
+
rotate: -6deg;
|
|
13416
|
+
}
|
|
13417
|
+
|
|
13325
13418
|
/* Matches the panel toggles next to it in the developer toolbar: a 16px icon 8px from the label */
|
|
13326
13419
|
.generate-sdk-button[data-v-3e50329f] {
|
|
13327
13420
|
appearance: none;
|
|
@@ -13357,7 +13450,7 @@ to {
|
|
|
13357
13450
|
|
|
13358
13451
|
/* Configurable Layout Variables */
|
|
13359
13452
|
@layer scalar-config {
|
|
13360
|
-
.scalar-api-reference[data-v-
|
|
13453
|
+
.scalar-api-reference[data-v-a1ca073e] {
|
|
13361
13454
|
/* The header height */
|
|
13362
13455
|
--refs-header-height: calc(
|
|
13363
13456
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -13379,20 +13472,20 @@ to {
|
|
|
13379
13472
|
/* The maximum width of the content column */
|
|
13380
13473
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
13381
13474
|
}
|
|
13382
|
-
.scalar-api-reference.references-classic[data-v-
|
|
13475
|
+
.scalar-api-reference.references-classic[data-v-a1ca073e] {
|
|
13383
13476
|
/* Classic layout is wider */
|
|
13384
13477
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
13385
13478
|
min-height: 100dvh;
|
|
13386
13479
|
--refs-sidebar-width: 0;
|
|
13387
13480
|
}
|
|
13388
13481
|
}
|
|
13389
|
-
.t-doc__sidebar[data-v-
|
|
13482
|
+
.t-doc__sidebar[data-v-a1ca073e] {
|
|
13390
13483
|
z-index: 10;
|
|
13391
13484
|
}
|
|
13392
13485
|
|
|
13393
13486
|
/* ----------------------------------------------------- */
|
|
13394
13487
|
/* References Layout */
|
|
13395
|
-
.references-layout[data-v-
|
|
13488
|
+
.references-layout[data-v-a1ca073e] {
|
|
13396
13489
|
/* Try to fill the container */
|
|
13397
13490
|
min-height: 100dvh;
|
|
13398
13491
|
min-width: 100%;
|
|
@@ -13416,36 +13509,36 @@ to {
|
|
|
13416
13509
|
|
|
13417
13510
|
background: var(--scalar-background-1);
|
|
13418
13511
|
}
|
|
13419
|
-
.references-editor[data-v-
|
|
13512
|
+
.references-editor[data-v-a1ca073e] {
|
|
13420
13513
|
grid-area: editor;
|
|
13421
13514
|
display: flex;
|
|
13422
13515
|
min-width: 0;
|
|
13423
13516
|
background: var(--scalar-background-1);
|
|
13424
13517
|
}
|
|
13425
|
-
.references-rendered[data-v-
|
|
13518
|
+
.references-rendered[data-v-a1ca073e] {
|
|
13426
13519
|
position: relative;
|
|
13427
13520
|
grid-area: rendered;
|
|
13428
13521
|
min-width: 0;
|
|
13429
13522
|
background: var(--scalar-background-1);
|
|
13430
13523
|
}
|
|
13431
|
-
.scalar-api-reference.references-classic[data-v-
|
|
13432
|
-
.references-classic .references-rendered[data-v-
|
|
13524
|
+
.scalar-api-reference.references-classic[data-v-a1ca073e],
|
|
13525
|
+
.references-classic .references-rendered[data-v-a1ca073e] {
|
|
13433
13526
|
height: initial !important;
|
|
13434
13527
|
max-height: initial !important;
|
|
13435
13528
|
}
|
|
13436
13529
|
/* Give the classic layout some breathing room at the end of the scroll */
|
|
13437
|
-
.references-classic .references-rendered[data-v-
|
|
13530
|
+
.references-classic .references-rendered[data-v-a1ca073e] {
|
|
13438
13531
|
padding-bottom: 80px;
|
|
13439
13532
|
}
|
|
13440
13533
|
@layer scalar-config {
|
|
13441
|
-
.references-sidebar[data-v-
|
|
13534
|
+
.references-sidebar[data-v-a1ca073e] {
|
|
13442
13535
|
/* Set a default width if references are enabled */
|
|
13443
13536
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
13444
13537
|
}
|
|
13445
13538
|
}
|
|
13446
13539
|
|
|
13447
13540
|
/* Footer */
|
|
13448
|
-
.references-footer[data-v-
|
|
13541
|
+
.references-footer[data-v-a1ca073e] {
|
|
13449
13542
|
grid-area: footer;
|
|
13450
13543
|
}
|
|
13451
13544
|
/* ----------------------------------------------------- */
|
|
@@ -13461,12 +13554,12 @@ to {
|
|
|
13461
13554
|
*/
|
|
13462
13555
|
@media (width < 1000px) {
|
|
13463
13556
|
/* Keep toolbar hidden on mobile without forcing desktop display mode. */
|
|
13464
|
-
.references-developer-tools[data-v-
|
|
13557
|
+
.references-developer-tools[data-v-a1ca073e] {
|
|
13465
13558
|
display: none;
|
|
13466
13559
|
}
|
|
13467
13560
|
|
|
13468
13561
|
/* Stack view on mobile */
|
|
13469
|
-
.references-layout[data-v-
|
|
13562
|
+
.references-layout[data-v-a1ca073e] {
|
|
13470
13563
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
13471
13564
|
--refs-sidebar-height: calc(
|
|
13472
13565
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -13481,13 +13574,13 @@ to {
|
|
|
13481
13574
|
'rendered'
|
|
13482
13575
|
'footer';
|
|
13483
13576
|
}
|
|
13484
|
-
.references-editable[data-v-
|
|
13577
|
+
.references-editable[data-v-a1ca073e] {
|
|
13485
13578
|
grid-template-areas:
|
|
13486
13579
|
'header'
|
|
13487
13580
|
'navigation'
|
|
13488
13581
|
'editor';
|
|
13489
13582
|
}
|
|
13490
|
-
.references-rendered[data-v-
|
|
13583
|
+
.references-rendered[data-v-a1ca073e] {
|
|
13491
13584
|
position: static;
|
|
13492
13585
|
}
|
|
13493
13586
|
}
|
|
@@ -13507,7 +13600,7 @@ to {
|
|
|
13507
13600
|
* Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
|
|
13508
13601
|
*/
|
|
13509
13602
|
@media (width >= 1000px) {
|
|
13510
|
-
.references-shell[data-v-
|
|
13603
|
+
.references-shell[data-v-a1ca073e] {
|
|
13511
13604
|
/* The toolbar reads this for its height, so the offsets below always match what it renders */
|
|
13512
13605
|
--refs-shell-toolbar-height: 48px;
|
|
13513
13606
|
/* Breathing room between the card and the viewport edge, and between the card and the panel */
|
|
@@ -13531,14 +13624,14 @@ to {
|
|
|
13531
13624
|
}
|
|
13532
13625
|
|
|
13533
13626
|
/* Darker than the card rather than lighter, so it still reads as a backdrop */
|
|
13534
|
-
.dark-mode .references-shell[data-v-
|
|
13627
|
+
.dark-mode .references-shell[data-v-a1ca073e] {
|
|
13535
13628
|
--refs-shell-backdrop: color-mix(
|
|
13536
13629
|
in srgb,
|
|
13537
13630
|
var(--scalar-background-1) 25%,
|
|
13538
13631
|
black 75%
|
|
13539
13632
|
);
|
|
13540
13633
|
}
|
|
13541
|
-
.references-shell-toolbar[data-v-
|
|
13634
|
+
.references-shell-toolbar[data-v-a1ca073e] {
|
|
13542
13635
|
/*
|
|
13543
13636
|
* A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
|
|
13544
13637
|
* and sits at the top of it, while the first row keeps its height free.
|
|
@@ -13552,7 +13645,7 @@ to {
|
|
|
13552
13645
|
z-index: 20;
|
|
13553
13646
|
background: var(--refs-shell-backdrop);
|
|
13554
13647
|
}
|
|
13555
|
-
.references-shell-card[data-v-
|
|
13648
|
+
.references-shell-card[data-v-a1ca073e] {
|
|
13556
13649
|
grid-area: 2 / 1;
|
|
13557
13650
|
/* Fill the viewport below the toolbar, so a short document still ends at the frame */
|
|
13558
13651
|
min-height: var(--refs-shell-stuck-height);
|
|
@@ -13568,7 +13661,7 @@ to {
|
|
|
13568
13661
|
* It sticks within the card's grid area, so it follows the card's end when the page has more
|
|
13569
13662
|
* content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
|
|
13570
13663
|
*/
|
|
13571
|
-
.references-shell-frame[data-v-
|
|
13664
|
+
.references-shell-frame[data-v-a1ca073e] {
|
|
13572
13665
|
grid-area: 2 / 1;
|
|
13573
13666
|
align-self: start;
|
|
13574
13667
|
position: sticky;
|
|
@@ -13589,7 +13682,7 @@ to {
|
|
|
13589
13682
|
* Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
|
|
13590
13683
|
* inside it are teleported, so they still open above the toolbar.
|
|
13591
13684
|
*/
|
|
13592
|
-
.references-shell-panel[data-v-
|
|
13685
|
+
.references-shell-panel[data-v-a1ca073e] {
|
|
13593
13686
|
grid-area: 2 / 2;
|
|
13594
13687
|
align-self: start;
|
|
13595
13688
|
position: sticky;
|
|
@@ -13600,7 +13693,7 @@ to {
|
|
|
13600
13693
|
height: var(--refs-shell-stuck-height);
|
|
13601
13694
|
margin-inline-start: var(--refs-shell-gutter);
|
|
13602
13695
|
transform-origin: top center;
|
|
13603
|
-
animation: refs-shell-panel-in-
|
|
13696
|
+
animation: refs-shell-panel-in-a1ca073e 180ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
13604
13697
|
}
|
|
13605
13698
|
|
|
13606
13699
|
/*
|
|
@@ -13610,7 +13703,7 @@ to {
|
|
|
13610
13703
|
* sidebar scrolls on its own, below the toolbar.
|
|
13611
13704
|
*/
|
|
13612
13705
|
.references-shell-card
|
|
13613
|
-
.references-rendered[data-v-
|
|
13706
|
+
.references-rendered[data-v-a1ca073e]
|
|
13614
13707
|
|
|
13615
13708
|
:is(
|
|
13616
13709
|
a[href],
|
|
@@ -13638,33 +13731,33 @@ to {
|
|
|
13638
13731
|
*
|
|
13639
13732
|
* Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
|
|
13640
13733
|
*/
|
|
13641
|
-
.references-shell[data-v-
|
|
13642
|
-
.references-shell[data-v-
|
|
13734
|
+
.references-shell[data-v-a1ca073e] .agent-scalar-overlay.agent-scalar-overlay,
|
|
13735
|
+
.references-shell[data-v-a1ca073e] .agent-scalar.agent-scalar {
|
|
13643
13736
|
--refs-shell-agent-end: var(--refs-shell-gutter);
|
|
13644
13737
|
z-index: 10;
|
|
13645
13738
|
}
|
|
13646
|
-
.references-shell[data-shell-panel][data-v-
|
|
13739
|
+
.references-shell[data-shell-panel][data-v-a1ca073e]
|
|
13647
13740
|
.agent-scalar-overlay.agent-scalar-overlay,
|
|
13648
|
-
.references-shell[data-shell-panel][data-v-
|
|
13741
|
+
.references-shell[data-shell-panel][data-v-a1ca073e] .agent-scalar.agent-scalar {
|
|
13649
13742
|
--refs-shell-agent-end: calc(
|
|
13650
13743
|
var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
|
|
13651
13744
|
);
|
|
13652
13745
|
}
|
|
13653
|
-
.references-shell[data-v-
|
|
13746
|
+
.references-shell[data-v-a1ca073e] .agent-scalar-overlay.agent-scalar-overlay {
|
|
13654
13747
|
inset: var(--refs-shell-top) var(--refs-shell-agent-end)
|
|
13655
13748
|
var(--refs-shell-gutter) var(--refs-shell-gutter);
|
|
13656
13749
|
}
|
|
13657
|
-
.references-shell[data-v-
|
|
13750
|
+
.references-shell[data-v-a1ca073e] .agent-scalar.agent-scalar {
|
|
13658
13751
|
inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
|
|
13659
13752
|
var(--refs-shell-gutter)
|
|
13660
13753
|
calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
|
|
13661
13754
|
}
|
|
13662
13755
|
/* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
|
|
13663
|
-
.references-shell[data-v-
|
|
13756
|
+
.references-shell[data-v-a1ca073e] .references-classic .agent-scalar.agent-scalar {
|
|
13664
13757
|
left: var(--refs-shell-gutter);
|
|
13665
13758
|
}
|
|
13666
13759
|
@layer scalar-config {
|
|
13667
|
-
.scalar-api-reference.references-shell-card[data-v-
|
|
13760
|
+
.scalar-api-reference.references-shell-card[data-v-a1ca073e] {
|
|
13668
13761
|
/* The sticky toolbar is one more header that the sidebar and scroll offsets sit below */
|
|
13669
13762
|
--refs-header-height: calc(
|
|
13670
13763
|
var(--scalar-custom-header-height, 0px) +
|
|
@@ -13684,20 +13777,20 @@ to {
|
|
|
13684
13777
|
|
|
13685
13778
|
/* The panel only exists at the toolbar's breakpoint; the script closes it below that */
|
|
13686
13779
|
@media (width < 1000px) {
|
|
13687
|
-
.references-shell-panel[data-v-
|
|
13780
|
+
.references-shell-panel[data-v-a1ca073e] {
|
|
13688
13781
|
display: none;
|
|
13689
13782
|
}
|
|
13690
13783
|
}
|
|
13691
13784
|
|
|
13692
13785
|
/* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
|
|
13693
|
-
@keyframes refs-shell-panel-in-
|
|
13786
|
+
@keyframes refs-shell-panel-in-a1ca073e {
|
|
13694
13787
|
from {
|
|
13695
13788
|
opacity: 0;
|
|
13696
13789
|
scale: 0.985;
|
|
13697
13790
|
}
|
|
13698
13791
|
}
|
|
13699
13792
|
@media (prefers-reduced-motion: reduce) {
|
|
13700
|
-
.references-shell-panel[data-v-
|
|
13793
|
+
.references-shell-panel[data-v-a1ca073e] {
|
|
13701
13794
|
animation: none;
|
|
13702
13795
|
}
|
|
13703
13796
|
}
|
|
@@ -13709,12 +13802,12 @@ from {
|
|
|
13709
13802
|
*/
|
|
13710
13803
|
/* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
|
|
13711
13804
|
@media (width < 1000px) {
|
|
13712
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
13805
|
+
.scalar-api-references-standalone-mobile[data-v-a1ca073e]:not(.references-classic) {
|
|
13713
13806
|
--scalar-header-height: 50px;
|
|
13714
13807
|
}
|
|
13715
13808
|
}
|
|
13716
13809
|
|
|
13717
|
-
.darklight-reference[data-v-
|
|
13810
|
+
.darklight-reference[data-v-a1ca073e] {
|
|
13718
13811
|
width: 100%;
|
|
13719
13812
|
margin-top: auto;
|
|
13720
13813
|
}
|
|
@@ -14325,56 +14418,6 @@ to {
|
|
|
14325
14418
|
}
|
|
14326
14419
|
}
|
|
14327
14420
|
|
|
14328
|
-
/* The same brand gradient wash as the Generate SDK card's hero */
|
|
14329
|
-
.developer-tools-card-wash[data-v-2bc0022e] {
|
|
14330
|
-
height: 48px;
|
|
14331
|
-
background-image: linear-gradient(
|
|
14332
|
-
90deg,
|
|
14333
|
-
var(--scalar-color-blue),
|
|
14334
|
-
var(--scalar-color-green) 16.6%,
|
|
14335
|
-
var(--scalar-color-accent) 24.9%,
|
|
14336
|
-
var(--scalar-color-orange) 41.5%,
|
|
14337
|
-
var(--scalar-color-yellow) 58.1%,
|
|
14338
|
-
var(--scalar-color-orange) 74.7%,
|
|
14339
|
-
var(--scalar-color-purple) 91.3%,
|
|
14340
|
-
var(--scalar-color-red)
|
|
14341
|
-
);
|
|
14342
|
-
-webkit-mask-image: radial-gradient(
|
|
14343
|
-
ellipse 60% 60% at 50% 0%,
|
|
14344
|
-
black,
|
|
14345
|
-
transparent 80%
|
|
14346
|
-
);
|
|
14347
|
-
mask-image: radial-gradient(
|
|
14348
|
-
ellipse 60% 60% at 50% 0%,
|
|
14349
|
-
black,
|
|
14350
|
-
transparent 80%
|
|
14351
|
-
);
|
|
14352
|
-
}
|
|
14353
|
-
|
|
14354
|
-
/* The artwork pops in like the Generate SDK card's stickers, each time a card opens */
|
|
14355
|
-
.developer-tools-card-hero[data-v-2bc0022e] {
|
|
14356
|
-
animation: developer-tools-card-pop-2bc0022e 360ms cubic-bezier(0.34, 1.3, 0.4, 1) both;
|
|
14357
|
-
}
|
|
14358
|
-
@keyframes developer-tools-card-pop-2bc0022e {
|
|
14359
|
-
from {
|
|
14360
|
-
opacity: 0;
|
|
14361
|
-
transform: translateY(10px) scale(0.92);
|
|
14362
|
-
}
|
|
14363
|
-
to {
|
|
14364
|
-
opacity: 1;
|
|
14365
|
-
transform: translateY(0) scale(1);
|
|
14366
|
-
}
|
|
14367
|
-
}
|
|
14368
|
-
@media (prefers-reduced-motion: reduce) {
|
|
14369
|
-
.developer-tools-card-hero[data-v-2bc0022e] {
|
|
14370
|
-
animation: none;
|
|
14371
|
-
}
|
|
14372
|
-
}
|
|
14373
|
-
|
|
14374
|
-
.deploy-waitlist-sticker[data-v-b78763cf] {
|
|
14375
|
-
rotate: -6deg;
|
|
14376
|
-
}
|
|
14377
|
-
|
|
14378
14421
|
.share-card-tile[data-v-6deb75d8] {
|
|
14379
14422
|
rotate: 4deg;
|
|
14380
14423
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"testing",
|
|
19
19
|
"react"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.9.
|
|
21
|
+
"version": "0.9.96",
|
|
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.
|
|
43
|
-
"@scalar/types": "0.
|
|
42
|
+
"@scalar/api-reference": "1.83.0",
|
|
43
|
+
"@scalar/types": "0.32.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@scalar/helpers": "0.19.0",
|