@scalar/api-reference-react 0.9.93 → 0.9.94
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 +4 -0
- package/dist/style.css +137 -58
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -856,8 +856,8 @@
|
|
|
856
856
|
filter: brightness(1.1);
|
|
857
857
|
}
|
|
858
858
|
|
|
859
|
-
.scalar-icon[data-v-
|
|
860
|
-
stroke-width: var(--
|
|
859
|
+
.scalar-icon[data-v-6150d8b1], .scalar-icon[data-v-6150d8b1] * {
|
|
860
|
+
stroke-width: var(--scalar-icon-stroke-width);
|
|
861
861
|
}
|
|
862
862
|
|
|
863
863
|
:where(pre:has( > code.hljs)) {
|
|
@@ -4011,14 +4011,14 @@ button.schema-card-title[data-v-86862f28]:hover {
|
|
|
4011
4011
|
}
|
|
4012
4012
|
}
|
|
4013
4013
|
|
|
4014
|
-
.requestHeaderContainer[data-v-
|
|
4014
|
+
.requestHeaderContainer[data-v-92d74c5a] {
|
|
4015
4015
|
justify-content: space-between;
|
|
4016
4016
|
align-items: center;
|
|
4017
4017
|
padding: 0 5px;
|
|
4018
4018
|
display: flex;
|
|
4019
4019
|
}
|
|
4020
4020
|
|
|
4021
|
-
.requestPreview[data-v-
|
|
4021
|
+
.requestPreview[data-v-92d74c5a] {
|
|
4022
4022
|
border-radius: var(--scalar-radius-2xl);
|
|
4023
4023
|
flex-direction: column;
|
|
4024
4024
|
width: 100%;
|
|
@@ -4026,7 +4026,7 @@ button.schema-card-title[data-v-86862f28]:hover {
|
|
|
4026
4026
|
position: relative;
|
|
4027
4027
|
}
|
|
4028
4028
|
|
|
4029
|
-
.requestContent[data-v-
|
|
4029
|
+
.requestContent[data-v-92d74c5a] {
|
|
4030
4030
|
grid-template-rows: 0fr;
|
|
4031
4031
|
min-height: 0;
|
|
4032
4032
|
transition: grid-template-rows .2s ease-out;
|
|
@@ -4034,20 +4034,20 @@ button.schema-card-title[data-v-86862f28]:hover {
|
|
|
4034
4034
|
overflow: hidden;
|
|
4035
4035
|
}
|
|
4036
4036
|
|
|
4037
|
-
.requestPreview.open .requestContent[data-v-
|
|
4037
|
+
.requestPreview.open .requestContent[data-v-92d74c5a] {
|
|
4038
4038
|
grid-template-rows: 1fr;
|
|
4039
4039
|
}
|
|
4040
4040
|
|
|
4041
|
-
.requestPreview.succeeded[data-v-
|
|
4041
|
+
.requestPreview.succeeded[data-v-92d74c5a] {
|
|
4042
4042
|
padding: 0;
|
|
4043
4043
|
}
|
|
4044
4044
|
|
|
4045
|
-
.requestContentInner[data-v-
|
|
4045
|
+
.requestContentInner[data-v-92d74c5a] {
|
|
4046
4046
|
min-height: 0;
|
|
4047
4047
|
overflow: hidden;
|
|
4048
4048
|
}
|
|
4049
4049
|
|
|
4050
|
-
.code[data-v-
|
|
4050
|
+
.code[data-v-92d74c5a] {
|
|
4051
4051
|
font-size: var(--scalar-font-size-4);
|
|
4052
4052
|
border-radius: var(--scalar-radius-2xl);
|
|
4053
4053
|
background: var(--scalar-background-2);
|
|
@@ -4056,58 +4056,58 @@ button.schema-card-title[data-v-86862f28]:hover {
|
|
|
4056
4056
|
}
|
|
4057
4057
|
|
|
4058
4058
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4059
|
-
.code[data-v-
|
|
4059
|
+
.code[data-v-92d74c5a] {
|
|
4060
4060
|
background: color-mix(in srgb, var(--scalar-background-2), var(--scalar-background-1));
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
4063
|
|
|
4064
|
-
.code[data-v-
|
|
4064
|
+
.code[data-v-92d74c5a] {
|
|
4065
4065
|
margin-bottom: 12px;
|
|
4066
4066
|
overflow: hidden;
|
|
4067
4067
|
}
|
|
4068
4068
|
|
|
4069
|
-
.dark-mode .code[data-v-
|
|
4069
|
+
.dark-mode .code[data-v-92d74c5a] {
|
|
4070
4070
|
background: var(--scalar-background-2);
|
|
4071
4071
|
}
|
|
4072
4072
|
|
|
4073
|
-
.code h1[data-v-
|
|
4073
|
+
.code h1[data-v-92d74c5a] {
|
|
4074
4074
|
font-size: var(--scalar-font-size-3);
|
|
4075
4075
|
color: var(--scalar-color-3);
|
|
4076
4076
|
padding: 8px;
|
|
4077
4077
|
}
|
|
4078
4078
|
|
|
4079
|
-
.code[data-v-
|
|
4079
|
+
.code[data-v-92d74c5a] .codeBlock {
|
|
4080
4080
|
max-height: calc(50vh - 100px);
|
|
4081
4081
|
padding-top: 0;
|
|
4082
4082
|
}
|
|
4083
4083
|
|
|
4084
|
-
.autosendContainer[data-v-
|
|
4084
|
+
.autosendContainer[data-v-92d74c5a] {
|
|
4085
4085
|
justify-content: space-between;
|
|
4086
4086
|
display: flex;
|
|
4087
4087
|
}
|
|
4088
4088
|
|
|
4089
|
-
.sendButton[data-v-
|
|
4089
|
+
.sendButton[data-v-92d74c5a] {
|
|
4090
4090
|
background: var(--scalar-color-blue);
|
|
4091
4091
|
color: #fff;
|
|
4092
4092
|
font-weight: var(--scalar-semibold);
|
|
4093
4093
|
padding: 5px 10px;
|
|
4094
4094
|
}
|
|
4095
4095
|
|
|
4096
|
-
.sendButton[data-v-
|
|
4096
|
+
.sendButton[data-v-92d74c5a]:hover, .sendButton[data-v-92d74c5a]:active {
|
|
4097
4097
|
background: var(--scalar-color-blue);
|
|
4098
4098
|
}
|
|
4099
4099
|
|
|
4100
4100
|
@supports (color: color-mix(in lab, red, red)) {
|
|
4101
|
-
.sendButton[data-v-
|
|
4101
|
+
.sendButton[data-v-92d74c5a]:hover, .sendButton[data-v-92d74c5a]:active {
|
|
4102
4102
|
background: color-mix(in srgb, var(--scalar-color-blue), black 10%);
|
|
4103
4103
|
}
|
|
4104
4104
|
}
|
|
4105
4105
|
|
|
4106
|
-
.sendButton[data-v-
|
|
4106
|
+
.sendButton[data-v-92d74c5a]:hover, .sendButton[data-v-92d74c5a]:active {
|
|
4107
4107
|
color: #fff !important;
|
|
4108
4108
|
}
|
|
4109
4109
|
|
|
4110
|
-
.toggleButton[data-v-
|
|
4110
|
+
.toggleButton[data-v-92d74c5a] {
|
|
4111
4111
|
cursor: pointer;
|
|
4112
4112
|
text-align: left;
|
|
4113
4113
|
color: var(--scalar-color-3);
|
|
@@ -4120,7 +4120,7 @@ button.schema-card-title[data-v-86862f28]:hover {
|
|
|
4120
4120
|
position: relative;
|
|
4121
4121
|
}
|
|
4122
4122
|
|
|
4123
|
-
.toggleButton[data-v-
|
|
4123
|
+
.toggleButton[data-v-92d74c5a]:hover {
|
|
4124
4124
|
text-decoration: underline;
|
|
4125
4125
|
}
|
|
4126
4126
|
|
|
@@ -5977,6 +5977,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
5977
5977
|
margin-block: 48px;
|
|
5978
5978
|
}
|
|
5979
5979
|
|
|
5980
|
+
.scalar-app .ms-1 {
|
|
5981
|
+
margin-inline-start: 4px;
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5980
5984
|
.scalar-app .ms-1\.25\! {
|
|
5981
5985
|
margin-inline-start: 5px !important;
|
|
5982
5986
|
}
|
|
@@ -6161,6 +6165,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
6161
6165
|
margin-bottom: -4px;
|
|
6162
6166
|
}
|
|
6163
6167
|
|
|
6168
|
+
.scalar-app .-mb-2 {
|
|
6169
|
+
margin-bottom: -8px;
|
|
6170
|
+
}
|
|
6171
|
+
|
|
6164
6172
|
.scalar-app .-mb-\[var\(--scalar-border-width\)\] {
|
|
6165
6173
|
margin-bottom: calc(var(--scalar-border-width) * -1);
|
|
6166
6174
|
}
|
|
@@ -6394,6 +6402,11 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
6394
6402
|
height: 24px;
|
|
6395
6403
|
}
|
|
6396
6404
|
|
|
6405
|
+
.scalar-app .size-7 {
|
|
6406
|
+
width: 28px;
|
|
6407
|
+
height: 28px;
|
|
6408
|
+
}
|
|
6409
|
+
|
|
6397
6410
|
.scalar-app .size-8 {
|
|
6398
6411
|
width: 32px;
|
|
6399
6412
|
height: 32px;
|
|
@@ -7046,6 +7059,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
7046
7059
|
flex-basis: 0;
|
|
7047
7060
|
}
|
|
7048
7061
|
|
|
7062
|
+
.scalar-app .border-collapse {
|
|
7063
|
+
border-collapse: collapse;
|
|
7064
|
+
}
|
|
7065
|
+
|
|
7049
7066
|
.scalar-app .origin-bottom {
|
|
7050
7067
|
transform-origin: bottom;
|
|
7051
7068
|
}
|
|
@@ -7228,6 +7245,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
7228
7245
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
7229
7246
|
}
|
|
7230
7247
|
|
|
7248
|
+
.scalar-app .grid-cols-7 {
|
|
7249
|
+
grid-template-columns: repeat(7, minmax(0, 1fr));
|
|
7250
|
+
}
|
|
7251
|
+
|
|
7231
7252
|
.scalar-app .grid-cols-\[44px_1fr_repeat\(3\,auto\)\] {
|
|
7232
7253
|
grid-template-columns: 44px 1fr repeat(3, auto);
|
|
7233
7254
|
}
|
|
@@ -7707,6 +7728,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
7707
7728
|
border-color: var(--scalar-header-border-color, var(--scalar-border-color));
|
|
7708
7729
|
}
|
|
7709
7730
|
|
|
7731
|
+
.scalar-app .border-c-3 {
|
|
7732
|
+
border-color: var(--scalar-color-3);
|
|
7733
|
+
}
|
|
7734
|
+
|
|
7710
7735
|
.scalar-app .border-c-accent, .scalar-app .border-c-accent\/30 {
|
|
7711
7736
|
border-color: var(--scalar-color-accent);
|
|
7712
7737
|
}
|
|
@@ -8124,6 +8149,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8124
8149
|
padding-inline: 10px;
|
|
8125
8150
|
}
|
|
8126
8151
|
|
|
8152
|
+
.scalar-app .px-2\.75 {
|
|
8153
|
+
padding-inline: 11px;
|
|
8154
|
+
}
|
|
8155
|
+
|
|
8127
8156
|
.scalar-app .px-3 {
|
|
8128
8157
|
padding-inline: 12px;
|
|
8129
8158
|
}
|
|
@@ -8156,6 +8185,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8156
8185
|
padding-inline: 60px;
|
|
8157
8186
|
}
|
|
8158
8187
|
|
|
8188
|
+
.scalar-app .px-\[5px\] {
|
|
8189
|
+
padding-inline: 5px;
|
|
8190
|
+
}
|
|
8191
|
+
|
|
8159
8192
|
.scalar-app .py-0 {
|
|
8160
8193
|
padding-block: 0;
|
|
8161
8194
|
}
|
|
@@ -8228,6 +8261,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8228
8261
|
padding-inline-start: 12px;
|
|
8229
8262
|
}
|
|
8230
8263
|
|
|
8264
|
+
.scalar-app .ps-5\.5 {
|
|
8265
|
+
padding-inline-start: 22px;
|
|
8266
|
+
}
|
|
8267
|
+
|
|
8231
8268
|
.scalar-app .ps-8 {
|
|
8232
8269
|
padding-inline-start: 32px;
|
|
8233
8270
|
}
|
|
@@ -8244,6 +8281,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8244
8281
|
padding-inline-start: var(--schema-gutter, 16px) !important;
|
|
8245
8282
|
}
|
|
8246
8283
|
|
|
8284
|
+
.scalar-app .pe-2 {
|
|
8285
|
+
padding-inline-end: 8px;
|
|
8286
|
+
}
|
|
8287
|
+
|
|
8247
8288
|
.scalar-app .pe-6 {
|
|
8248
8289
|
padding-inline-end: 24px;
|
|
8249
8290
|
}
|
|
@@ -8436,6 +8477,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8436
8477
|
text-align: start;
|
|
8437
8478
|
}
|
|
8438
8479
|
|
|
8480
|
+
.scalar-app .align-\[1px\] {
|
|
8481
|
+
vertical-align: 1px;
|
|
8482
|
+
}
|
|
8483
|
+
|
|
8439
8484
|
.scalar-app .align-middle {
|
|
8440
8485
|
vertical-align: middle;
|
|
8441
8486
|
}
|
|
@@ -8595,6 +8640,11 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8595
8640
|
line-height: 7px;
|
|
8596
8641
|
}
|
|
8597
8642
|
|
|
8643
|
+
.scalar-app .leading-\[14px\] {
|
|
8644
|
+
--tw-leading: 14px;
|
|
8645
|
+
line-height: 14px;
|
|
8646
|
+
}
|
|
8647
|
+
|
|
8598
8648
|
.scalar-app .leading-\[20px\] {
|
|
8599
8649
|
--tw-leading: 20px;
|
|
8600
8650
|
line-height: 20px;
|
|
@@ -9858,10 +9908,18 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
9858
9908
|
border-color: var(--scalar-background-1);
|
|
9859
9909
|
}
|
|
9860
9910
|
|
|
9911
|
+
.scalar-app .focus\:bg-b-btn:focus {
|
|
9912
|
+
background-color: var(--scalar-button-1);
|
|
9913
|
+
}
|
|
9914
|
+
|
|
9861
9915
|
.scalar-app .focus\:text-c-1:focus {
|
|
9862
9916
|
color: var(--scalar-color-1);
|
|
9863
9917
|
}
|
|
9864
9918
|
|
|
9919
|
+
.scalar-app .focus\:text-c-btn:focus {
|
|
9920
|
+
color: var(--scalar-button-1-color);
|
|
9921
|
+
}
|
|
9922
|
+
|
|
9865
9923
|
.scalar-app .focus\:outline-none:focus {
|
|
9866
9924
|
--tw-outline-style: none;
|
|
9867
9925
|
outline-style: none;
|
|
@@ -9993,6 +10051,23 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
9993
10051
|
color: var(--scalar-color-1);
|
|
9994
10052
|
}
|
|
9995
10053
|
|
|
10054
|
+
.scalar-app .data-\[outside-view\]\:text-c-3[data-outside-view], .scalar-app .data-\[placeholder\]\:text-c-3[data-placeholder] {
|
|
10055
|
+
color: var(--scalar-color-3);
|
|
10056
|
+
}
|
|
10057
|
+
|
|
10058
|
+
.scalar-app .data-\[selected\]\:bg-b-btn[data-selected] {
|
|
10059
|
+
background-color: var(--scalar-button-1);
|
|
10060
|
+
}
|
|
10061
|
+
|
|
10062
|
+
.scalar-app .data-\[selected\]\:text-c-btn[data-selected] {
|
|
10063
|
+
color: var(--scalar-button-1-color);
|
|
10064
|
+
}
|
|
10065
|
+
|
|
10066
|
+
.scalar-app .data-\[today\]\:font-bold[data-today] {
|
|
10067
|
+
--tw-font-weight: var(--scalar-bold);
|
|
10068
|
+
font-weight: var(--scalar-bold);
|
|
10069
|
+
}
|
|
10070
|
+
|
|
9996
10071
|
@media not all and (min-width: 1200px) {
|
|
9997
10072
|
.scalar-app .max-xl\:max-h-full {
|
|
9998
10073
|
max-height: 100%;
|
|
@@ -10223,6 +10298,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
10223
10298
|
scale: var(--tw-scale-x) var(--tw-scale-y);
|
|
10224
10299
|
}
|
|
10225
10300
|
|
|
10301
|
+
.scalar-app .rtl\:rotate-180:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *) {
|
|
10302
|
+
rotate: 180deg;
|
|
10303
|
+
}
|
|
10304
|
+
|
|
10226
10305
|
.scalar-app .dark\:bg-\(--bg-dark\):where(.dark-mode, .dark-mode *) {
|
|
10227
10306
|
background-color: var(--bg-dark);
|
|
10228
10307
|
}
|
|
@@ -11527,7 +11606,7 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
11527
11606
|
display: inline;
|
|
11528
11607
|
}
|
|
11529
11608
|
|
|
11530
|
-
.references-classic .introduction-description[data-v-
|
|
11609
|
+
.references-classic .introduction-description[data-v-5cb7a828] img {
|
|
11531
11610
|
max-width: 720px;
|
|
11532
11611
|
}
|
|
11533
11612
|
|
|
@@ -13278,7 +13357,7 @@ to {
|
|
|
13278
13357
|
|
|
13279
13358
|
/* Configurable Layout Variables */
|
|
13280
13359
|
@layer scalar-config {
|
|
13281
|
-
.scalar-api-reference[data-v-
|
|
13360
|
+
.scalar-api-reference[data-v-9f76c2bb] {
|
|
13282
13361
|
/* The header height */
|
|
13283
13362
|
--refs-header-height: calc(
|
|
13284
13363
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -13300,20 +13379,20 @@ to {
|
|
|
13300
13379
|
/* The maximum width of the content column */
|
|
13301
13380
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
13302
13381
|
}
|
|
13303
|
-
.scalar-api-reference.references-classic[data-v-
|
|
13382
|
+
.scalar-api-reference.references-classic[data-v-9f76c2bb] {
|
|
13304
13383
|
/* Classic layout is wider */
|
|
13305
13384
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
13306
13385
|
min-height: 100dvh;
|
|
13307
13386
|
--refs-sidebar-width: 0;
|
|
13308
13387
|
}
|
|
13309
13388
|
}
|
|
13310
|
-
.t-doc__sidebar[data-v-
|
|
13389
|
+
.t-doc__sidebar[data-v-9f76c2bb] {
|
|
13311
13390
|
z-index: 10;
|
|
13312
13391
|
}
|
|
13313
13392
|
|
|
13314
13393
|
/* ----------------------------------------------------- */
|
|
13315
13394
|
/* References Layout */
|
|
13316
|
-
.references-layout[data-v-
|
|
13395
|
+
.references-layout[data-v-9f76c2bb] {
|
|
13317
13396
|
/* Try to fill the container */
|
|
13318
13397
|
min-height: 100dvh;
|
|
13319
13398
|
min-width: 100%;
|
|
@@ -13337,36 +13416,36 @@ to {
|
|
|
13337
13416
|
|
|
13338
13417
|
background: var(--scalar-background-1);
|
|
13339
13418
|
}
|
|
13340
|
-
.references-editor[data-v-
|
|
13419
|
+
.references-editor[data-v-9f76c2bb] {
|
|
13341
13420
|
grid-area: editor;
|
|
13342
13421
|
display: flex;
|
|
13343
13422
|
min-width: 0;
|
|
13344
13423
|
background: var(--scalar-background-1);
|
|
13345
13424
|
}
|
|
13346
|
-
.references-rendered[data-v-
|
|
13425
|
+
.references-rendered[data-v-9f76c2bb] {
|
|
13347
13426
|
position: relative;
|
|
13348
13427
|
grid-area: rendered;
|
|
13349
13428
|
min-width: 0;
|
|
13350
13429
|
background: var(--scalar-background-1);
|
|
13351
13430
|
}
|
|
13352
|
-
.scalar-api-reference.references-classic[data-v-
|
|
13353
|
-
.references-classic .references-rendered[data-v-
|
|
13431
|
+
.scalar-api-reference.references-classic[data-v-9f76c2bb],
|
|
13432
|
+
.references-classic .references-rendered[data-v-9f76c2bb] {
|
|
13354
13433
|
height: initial !important;
|
|
13355
13434
|
max-height: initial !important;
|
|
13356
13435
|
}
|
|
13357
13436
|
/* Give the classic layout some breathing room at the end of the scroll */
|
|
13358
|
-
.references-classic .references-rendered[data-v-
|
|
13437
|
+
.references-classic .references-rendered[data-v-9f76c2bb] {
|
|
13359
13438
|
padding-bottom: 80px;
|
|
13360
13439
|
}
|
|
13361
13440
|
@layer scalar-config {
|
|
13362
|
-
.references-sidebar[data-v-
|
|
13441
|
+
.references-sidebar[data-v-9f76c2bb] {
|
|
13363
13442
|
/* Set a default width if references are enabled */
|
|
13364
13443
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
13365
13444
|
}
|
|
13366
13445
|
}
|
|
13367
13446
|
|
|
13368
13447
|
/* Footer */
|
|
13369
|
-
.references-footer[data-v-
|
|
13448
|
+
.references-footer[data-v-9f76c2bb] {
|
|
13370
13449
|
grid-area: footer;
|
|
13371
13450
|
}
|
|
13372
13451
|
/* ----------------------------------------------------- */
|
|
@@ -13382,12 +13461,12 @@ to {
|
|
|
13382
13461
|
*/
|
|
13383
13462
|
@media (width < 1000px) {
|
|
13384
13463
|
/* Keep toolbar hidden on mobile without forcing desktop display mode. */
|
|
13385
|
-
.references-developer-tools[data-v-
|
|
13464
|
+
.references-developer-tools[data-v-9f76c2bb] {
|
|
13386
13465
|
display: none;
|
|
13387
13466
|
}
|
|
13388
13467
|
|
|
13389
13468
|
/* Stack view on mobile */
|
|
13390
|
-
.references-layout[data-v-
|
|
13469
|
+
.references-layout[data-v-9f76c2bb] {
|
|
13391
13470
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
13392
13471
|
--refs-sidebar-height: calc(
|
|
13393
13472
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -13402,13 +13481,13 @@ to {
|
|
|
13402
13481
|
'rendered'
|
|
13403
13482
|
'footer';
|
|
13404
13483
|
}
|
|
13405
|
-
.references-editable[data-v-
|
|
13484
|
+
.references-editable[data-v-9f76c2bb] {
|
|
13406
13485
|
grid-template-areas:
|
|
13407
13486
|
'header'
|
|
13408
13487
|
'navigation'
|
|
13409
13488
|
'editor';
|
|
13410
13489
|
}
|
|
13411
|
-
.references-rendered[data-v-
|
|
13490
|
+
.references-rendered[data-v-9f76c2bb] {
|
|
13412
13491
|
position: static;
|
|
13413
13492
|
}
|
|
13414
13493
|
}
|
|
@@ -13428,7 +13507,7 @@ to {
|
|
|
13428
13507
|
* Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
|
|
13429
13508
|
*/
|
|
13430
13509
|
@media (width >= 1000px) {
|
|
13431
|
-
.references-shell[data-v-
|
|
13510
|
+
.references-shell[data-v-9f76c2bb] {
|
|
13432
13511
|
/* The toolbar reads this for its height, so the offsets below always match what it renders */
|
|
13433
13512
|
--refs-shell-toolbar-height: 48px;
|
|
13434
13513
|
/* Breathing room between the card and the viewport edge, and between the card and the panel */
|
|
@@ -13452,14 +13531,14 @@ to {
|
|
|
13452
13531
|
}
|
|
13453
13532
|
|
|
13454
13533
|
/* Darker than the card rather than lighter, so it still reads as a backdrop */
|
|
13455
|
-
.dark-mode .references-shell[data-v-
|
|
13534
|
+
.dark-mode .references-shell[data-v-9f76c2bb] {
|
|
13456
13535
|
--refs-shell-backdrop: color-mix(
|
|
13457
13536
|
in srgb,
|
|
13458
13537
|
var(--scalar-background-1) 25%,
|
|
13459
13538
|
black 75%
|
|
13460
13539
|
);
|
|
13461
13540
|
}
|
|
13462
|
-
.references-shell-toolbar[data-v-
|
|
13541
|
+
.references-shell-toolbar[data-v-9f76c2bb] {
|
|
13463
13542
|
/*
|
|
13464
13543
|
* A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
|
|
13465
13544
|
* and sits at the top of it, while the first row keeps its height free.
|
|
@@ -13473,7 +13552,7 @@ to {
|
|
|
13473
13552
|
z-index: 20;
|
|
13474
13553
|
background: var(--refs-shell-backdrop);
|
|
13475
13554
|
}
|
|
13476
|
-
.references-shell-card[data-v-
|
|
13555
|
+
.references-shell-card[data-v-9f76c2bb] {
|
|
13477
13556
|
grid-area: 2 / 1;
|
|
13478
13557
|
/* Fill the viewport below the toolbar, so a short document still ends at the frame */
|
|
13479
13558
|
min-height: var(--refs-shell-stuck-height);
|
|
@@ -13489,7 +13568,7 @@ to {
|
|
|
13489
13568
|
* It sticks within the card's grid area, so it follows the card's end when the page has more
|
|
13490
13569
|
* content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
|
|
13491
13570
|
*/
|
|
13492
|
-
.references-shell-frame[data-v-
|
|
13571
|
+
.references-shell-frame[data-v-9f76c2bb] {
|
|
13493
13572
|
grid-area: 2 / 1;
|
|
13494
13573
|
align-self: start;
|
|
13495
13574
|
position: sticky;
|
|
@@ -13510,7 +13589,7 @@ to {
|
|
|
13510
13589
|
* Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
|
|
13511
13590
|
* inside it are teleported, so they still open above the toolbar.
|
|
13512
13591
|
*/
|
|
13513
|
-
.references-shell-panel[data-v-
|
|
13592
|
+
.references-shell-panel[data-v-9f76c2bb] {
|
|
13514
13593
|
grid-area: 2 / 2;
|
|
13515
13594
|
align-self: start;
|
|
13516
13595
|
position: sticky;
|
|
@@ -13521,7 +13600,7 @@ to {
|
|
|
13521
13600
|
height: var(--refs-shell-stuck-height);
|
|
13522
13601
|
margin-inline-start: var(--refs-shell-gutter);
|
|
13523
13602
|
transform-origin: top center;
|
|
13524
|
-
animation: refs-shell-panel-in-
|
|
13603
|
+
animation: refs-shell-panel-in-9f76c2bb 180ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
13525
13604
|
}
|
|
13526
13605
|
|
|
13527
13606
|
/*
|
|
@@ -13531,7 +13610,7 @@ to {
|
|
|
13531
13610
|
* sidebar scrolls on its own, below the toolbar.
|
|
13532
13611
|
*/
|
|
13533
13612
|
.references-shell-card
|
|
13534
|
-
.references-rendered[data-v-
|
|
13613
|
+
.references-rendered[data-v-9f76c2bb]
|
|
13535
13614
|
|
|
13536
13615
|
:is(
|
|
13537
13616
|
a[href],
|
|
@@ -13559,33 +13638,33 @@ to {
|
|
|
13559
13638
|
*
|
|
13560
13639
|
* Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
|
|
13561
13640
|
*/
|
|
13562
|
-
.references-shell[data-v-
|
|
13563
|
-
.references-shell[data-v-
|
|
13641
|
+
.references-shell[data-v-9f76c2bb] .agent-scalar-overlay.agent-scalar-overlay,
|
|
13642
|
+
.references-shell[data-v-9f76c2bb] .agent-scalar.agent-scalar {
|
|
13564
13643
|
--refs-shell-agent-end: var(--refs-shell-gutter);
|
|
13565
13644
|
z-index: 10;
|
|
13566
13645
|
}
|
|
13567
|
-
.references-shell[data-shell-panel][data-v-
|
|
13646
|
+
.references-shell[data-shell-panel][data-v-9f76c2bb]
|
|
13568
13647
|
.agent-scalar-overlay.agent-scalar-overlay,
|
|
13569
|
-
.references-shell[data-shell-panel][data-v-
|
|
13648
|
+
.references-shell[data-shell-panel][data-v-9f76c2bb] .agent-scalar.agent-scalar {
|
|
13570
13649
|
--refs-shell-agent-end: calc(
|
|
13571
13650
|
var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
|
|
13572
13651
|
);
|
|
13573
13652
|
}
|
|
13574
|
-
.references-shell[data-v-
|
|
13653
|
+
.references-shell[data-v-9f76c2bb] .agent-scalar-overlay.agent-scalar-overlay {
|
|
13575
13654
|
inset: var(--refs-shell-top) var(--refs-shell-agent-end)
|
|
13576
13655
|
var(--refs-shell-gutter) var(--refs-shell-gutter);
|
|
13577
13656
|
}
|
|
13578
|
-
.references-shell[data-v-
|
|
13657
|
+
.references-shell[data-v-9f76c2bb] .agent-scalar.agent-scalar {
|
|
13579
13658
|
inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
|
|
13580
13659
|
var(--refs-shell-gutter)
|
|
13581
13660
|
calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
|
|
13582
13661
|
}
|
|
13583
13662
|
/* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
|
|
13584
|
-
.references-shell[data-v-
|
|
13663
|
+
.references-shell[data-v-9f76c2bb] .references-classic .agent-scalar.agent-scalar {
|
|
13585
13664
|
left: var(--refs-shell-gutter);
|
|
13586
13665
|
}
|
|
13587
13666
|
@layer scalar-config {
|
|
13588
|
-
.scalar-api-reference.references-shell-card[data-v-
|
|
13667
|
+
.scalar-api-reference.references-shell-card[data-v-9f76c2bb] {
|
|
13589
13668
|
/* The sticky toolbar is one more header that the sidebar and scroll offsets sit below */
|
|
13590
13669
|
--refs-header-height: calc(
|
|
13591
13670
|
var(--scalar-custom-header-height, 0px) +
|
|
@@ -13605,20 +13684,20 @@ to {
|
|
|
13605
13684
|
|
|
13606
13685
|
/* The panel only exists at the toolbar's breakpoint; the script closes it below that */
|
|
13607
13686
|
@media (width < 1000px) {
|
|
13608
|
-
.references-shell-panel[data-v-
|
|
13687
|
+
.references-shell-panel[data-v-9f76c2bb] {
|
|
13609
13688
|
display: none;
|
|
13610
13689
|
}
|
|
13611
13690
|
}
|
|
13612
13691
|
|
|
13613
13692
|
/* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
|
|
13614
|
-
@keyframes refs-shell-panel-in-
|
|
13693
|
+
@keyframes refs-shell-panel-in-9f76c2bb {
|
|
13615
13694
|
from {
|
|
13616
13695
|
opacity: 0;
|
|
13617
13696
|
scale: 0.985;
|
|
13618
13697
|
}
|
|
13619
13698
|
}
|
|
13620
13699
|
@media (prefers-reduced-motion: reduce) {
|
|
13621
|
-
.references-shell-panel[data-v-
|
|
13700
|
+
.references-shell-panel[data-v-9f76c2bb] {
|
|
13622
13701
|
animation: none;
|
|
13623
13702
|
}
|
|
13624
13703
|
}
|
|
@@ -13630,12 +13709,12 @@ from {
|
|
|
13630
13709
|
*/
|
|
13631
13710
|
/* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
|
|
13632
13711
|
@media (width < 1000px) {
|
|
13633
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
13712
|
+
.scalar-api-references-standalone-mobile[data-v-9f76c2bb]:not(.references-classic) {
|
|
13634
13713
|
--scalar-header-height: 50px;
|
|
13635
13714
|
}
|
|
13636
13715
|
}
|
|
13637
13716
|
|
|
13638
|
-
.darklight-reference[data-v-
|
|
13717
|
+
.darklight-reference[data-v-9f76c2bb] {
|
|
13639
13718
|
width: 100%;
|
|
13640
13719
|
margin-top: auto;
|
|
13641
13720
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"testing",
|
|
19
19
|
"react"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.9.
|
|
21
|
+
"version": "0.9.94",
|
|
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.
|
|
43
|
-
"@scalar/types": "0.
|
|
42
|
+
"@scalar/api-reference": "1.82.0",
|
|
43
|
+
"@scalar/types": "0.31.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@scalar/helpers": "0.
|
|
46
|
+
"@scalar/helpers": "0.19.0",
|
|
47
47
|
"@types/react": "^19.3.0",
|
|
48
48
|
"@types/react-dom": "^19.3.0",
|
|
49
49
|
"@vitejs/plugin-react": "6.3.0",
|