@scalar/api-reference-react 0.9.63 → 0.9.65
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 +184 -84
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -2283,12 +2283,12 @@
|
|
|
2283
2283
|
color: var(--scalar-color-1);
|
|
2284
2284
|
}
|
|
2285
2285
|
|
|
2286
|
-
.code-input-lite[data-v-
|
|
2286
|
+
.code-input-lite[data-v-4dfd05a3] {
|
|
2287
2287
|
align-items: center;
|
|
2288
2288
|
display: flex;
|
|
2289
2289
|
}
|
|
2290
2290
|
|
|
2291
|
-
.code-input-lite__editor[data-v-
|
|
2291
|
+
.code-input-lite__editor[data-v-4dfd05a3] {
|
|
2292
2292
|
font: inherit;
|
|
2293
2293
|
letter-spacing: inherit;
|
|
2294
2294
|
min-width: 0;
|
|
@@ -2306,11 +2306,11 @@
|
|
|
2306
2306
|
overflow: auto hidden;
|
|
2307
2307
|
}
|
|
2308
2308
|
|
|
2309
|
-
.code-input-lite__editor[data-v-
|
|
2309
|
+
.code-input-lite__editor[data-v-4dfd05a3]::-webkit-scrollbar {
|
|
2310
2310
|
display: none;
|
|
2311
2311
|
}
|
|
2312
2312
|
|
|
2313
|
-
.code-input-lite--empty .code-input-lite__editor[data-v-
|
|
2313
|
+
.code-input-lite--empty .code-input-lite__editor[data-v-4dfd05a3]:not(:focus):before {
|
|
2314
2314
|
content: attr(data-placeholder);
|
|
2315
2315
|
color: var(--scalar-color-3);
|
|
2316
2316
|
pointer-events: none;
|
|
@@ -2322,7 +2322,7 @@
|
|
|
2322
2322
|
left: .5em;
|
|
2323
2323
|
}
|
|
2324
2324
|
|
|
2325
|
-
.code-input-lite--error .code-input-lite__editor[data-v-
|
|
2325
|
+
.code-input-lite--error .code-input-lite__editor[data-v-4dfd05a3] {
|
|
2326
2326
|
outline: 1px solid var(--scalar-color-red);
|
|
2327
2327
|
}
|
|
2328
2328
|
|
|
@@ -2386,22 +2386,22 @@
|
|
|
2386
2386
|
}
|
|
2387
2387
|
}
|
|
2388
2388
|
|
|
2389
|
-
[data-v-
|
|
2389
|
+
[data-v-13500378] .code-input-lite__editor {
|
|
2390
2390
|
font-family: var(--scalar-font);
|
|
2391
2391
|
font-size: var(--scalar-small);
|
|
2392
2392
|
background-color: #0000;
|
|
2393
2393
|
padding: 5px 8px;
|
|
2394
2394
|
}
|
|
2395
2395
|
|
|
2396
|
-
[data-v-
|
|
2396
|
+
[data-v-13500378] .scalar-pill:not(:last-of-type) {
|
|
2397
2397
|
margin-right: .15em;
|
|
2398
2398
|
}
|
|
2399
2399
|
|
|
2400
|
-
[data-v-
|
|
2400
|
+
[data-v-13500378] .scalar-pill:not(:first-of-type) {
|
|
2401
2401
|
margin-left: .5px;
|
|
2402
2402
|
}
|
|
2403
2403
|
|
|
2404
|
-
[data-v-
|
|
2404
|
+
[data-v-c8ab7ba2] .cm-content {
|
|
2405
2405
|
font-size: var(--scalar-small);
|
|
2406
2406
|
}
|
|
2407
2407
|
|
|
@@ -9860,14 +9860,14 @@ to {
|
|
|
9860
9860
|
border: 0;
|
|
9861
9861
|
}
|
|
9862
9862
|
|
|
9863
|
-
.error[data-v-
|
|
9863
|
+
.error[data-v-77b16bb4] {
|
|
9864
9864
|
background-color: var(--scalar-color-red);
|
|
9865
9865
|
}
|
|
9866
|
-
.schema-card[data-v-
|
|
9866
|
+
.schema-card[data-v-77b16bb4] {
|
|
9867
9867
|
font-size: var(--scalar-font-size-4);
|
|
9868
9868
|
color: var(--scalar-color-1);
|
|
9869
9869
|
}
|
|
9870
|
-
.schema-card-title[data-v-
|
|
9870
|
+
.schema-card-title[data-v-77b16bb4] {
|
|
9871
9871
|
height: var(--schema-title-height);
|
|
9872
9872
|
|
|
9873
9873
|
padding: 6px 8px;
|
|
@@ -9881,48 +9881,48 @@ to {
|
|
|
9881
9881
|
font-size: var(--scalar-mini);
|
|
9882
9882
|
border-bottom: var(--scalar-border-width) solid transparent;
|
|
9883
9883
|
}
|
|
9884
|
-
button.schema-card-title[data-v-
|
|
9884
|
+
button.schema-card-title[data-v-77b16bb4] {
|
|
9885
9885
|
cursor: pointer;
|
|
9886
9886
|
}
|
|
9887
|
-
button.schema-card-title[data-v-
|
|
9887
|
+
button.schema-card-title[data-v-77b16bb4]:hover {
|
|
9888
9888
|
color: var(--scalar-color-1);
|
|
9889
9889
|
}
|
|
9890
|
-
.schema-card-title-icon--open[data-v-
|
|
9890
|
+
.schema-card-title-icon--open[data-v-77b16bb4] {
|
|
9891
9891
|
transform: rotate(45deg);
|
|
9892
9892
|
}
|
|
9893
|
-
.schema-properties-open > .schema-card-title[data-v-
|
|
9893
|
+
.schema-properties-open > .schema-card-title[data-v-77b16bb4] {
|
|
9894
9894
|
border-bottom-left-radius: 0;
|
|
9895
9895
|
border-bottom-right-radius: 0;
|
|
9896
9896
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
9897
9897
|
}
|
|
9898
|
-
.schema-properties-open > .schema-properties[data-v-
|
|
9898
|
+
.schema-properties-open > .schema-properties[data-v-77b16bb4] {
|
|
9899
9899
|
width: fit-content;
|
|
9900
9900
|
}
|
|
9901
|
-
.schema-card-description[data-v-
|
|
9901
|
+
.schema-card-description[data-v-77b16bb4] {
|
|
9902
9902
|
color: var(--scalar-color-2);
|
|
9903
9903
|
}
|
|
9904
|
-
.schema-card-description + .schema-properties[data-v-
|
|
9904
|
+
.schema-card-description + .schema-properties[data-v-77b16bb4] {
|
|
9905
9905
|
width: fit-content;
|
|
9906
9906
|
}
|
|
9907
|
-
.schema-card-description + .schema-properties[data-v-
|
|
9907
|
+
.schema-card-description + .schema-properties[data-v-77b16bb4] {
|
|
9908
9908
|
margin-top: 8px;
|
|
9909
9909
|
}
|
|
9910
9910
|
.schema-card--level-0:nth-of-type(1)
|
|
9911
|
-
> .schema-card-description[data-v-
|
|
9911
|
+
> .schema-card-description[data-v-77b16bb4]:has(+ .schema-properties) {
|
|
9912
9912
|
margin-bottom: -8px;
|
|
9913
9913
|
padding-bottom: 8px;
|
|
9914
9914
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
9915
9915
|
}
|
|
9916
9916
|
.schema-card--level-0
|
|
9917
9917
|
~ .schema-card--level-0
|
|
9918
|
-
> .schema-card-description[data-v-
|
|
9918
|
+
> .schema-card-description[data-v-77b16bb4]:has(+ .schema-properties) {
|
|
9919
9919
|
padding-top: 8px;
|
|
9920
9920
|
}
|
|
9921
|
-
.schema-properties-open.schema-properties[data-v-
|
|
9922
|
-
.schema-properties-open > .schema-card--open[data-v-
|
|
9921
|
+
.schema-properties-open.schema-properties[data-v-77b16bb4],
|
|
9922
|
+
.schema-properties-open > .schema-card--open[data-v-77b16bb4] {
|
|
9923
9923
|
width: 100%;
|
|
9924
9924
|
}
|
|
9925
|
-
.schema-properties[data-v-
|
|
9925
|
+
.schema-properties[data-v-77b16bb4] {
|
|
9926
9926
|
display: flex;
|
|
9927
9927
|
flex-direction: column;
|
|
9928
9928
|
|
|
@@ -9930,63 +9930,63 @@ button.schema-card-title[data-v-e44b49a4]:hover {
|
|
|
9930
9930
|
border-radius: var(--scalar-radius-lg);
|
|
9931
9931
|
width: fit-content;
|
|
9932
9932
|
}
|
|
9933
|
-
.schema-properties-name[data-v-
|
|
9933
|
+
.schema-properties-name[data-v-77b16bb4] {
|
|
9934
9934
|
width: 100%;
|
|
9935
9935
|
}
|
|
9936
|
-
.schema-properties .schema-properties[data-v-
|
|
9936
|
+
.schema-properties .schema-properties[data-v-77b16bb4] {
|
|
9937
9937
|
border-radius: 13.5px;
|
|
9938
9938
|
}
|
|
9939
|
-
.schema-properties .schema-properties.schema-properties-open[data-v-
|
|
9939
|
+
.schema-properties .schema-properties.schema-properties-open[data-v-77b16bb4] {
|
|
9940
9940
|
border-radius: var(--scalar-radius-lg);
|
|
9941
9941
|
}
|
|
9942
|
-
.schema-properties-open[data-v-
|
|
9942
|
+
.schema-properties-open[data-v-77b16bb4] {
|
|
9943
9943
|
width: 100%;
|
|
9944
9944
|
}
|
|
9945
|
-
.schema-card--compact[data-v-
|
|
9945
|
+
.schema-card--compact[data-v-77b16bb4] {
|
|
9946
9946
|
align-self: flex-start;
|
|
9947
9947
|
}
|
|
9948
|
-
.schema-card--compact.schema-card--open[data-v-
|
|
9948
|
+
.schema-card--compact.schema-card--open[data-v-77b16bb4] {
|
|
9949
9949
|
align-self: initial;
|
|
9950
9950
|
}
|
|
9951
|
-
.schema-card-title--compact[data-v-
|
|
9951
|
+
.schema-card-title--compact[data-v-77b16bb4] {
|
|
9952
9952
|
color: var(--scalar-color-2);
|
|
9953
9953
|
padding: 6px 10px 6px 8px;
|
|
9954
9954
|
height: auto;
|
|
9955
9955
|
border-bottom: none;
|
|
9956
9956
|
}
|
|
9957
|
-
.schema-card-title--compact > .schema-card-title-icon[data-v-
|
|
9957
|
+
.schema-card-title--compact > .schema-card-title-icon[data-v-77b16bb4] {
|
|
9958
9958
|
margin: 0;
|
|
9959
9959
|
}
|
|
9960
|
-
.schema-card-title--compact > .schema-card-title-icon--open[data-v-
|
|
9960
|
+
.schema-card-title--compact > .schema-card-title-icon--open[data-v-77b16bb4] {
|
|
9961
9961
|
transform: rotate(45deg);
|
|
9962
9962
|
}
|
|
9963
|
-
.schema-properties-open > .schema-card-title--compact[data-v-
|
|
9963
|
+
.schema-properties-open > .schema-card-title--compact[data-v-77b16bb4] {
|
|
9964
9964
|
position: static;
|
|
9965
9965
|
}
|
|
9966
9966
|
.property--level-0
|
|
9967
9967
|
> .schema-properties
|
|
9968
9968
|
> .schema-card--level-0
|
|
9969
|
-
> .schema-properties[data-v-
|
|
9969
|
+
> .schema-properties[data-v-77b16bb4] {
|
|
9970
9970
|
border: none;
|
|
9971
9971
|
}
|
|
9972
9972
|
.property--level-0
|
|
9973
9973
|
.schema-card--level-0:not(.schema-card--compact)
|
|
9974
|
-
.property--level-1[data-v-
|
|
9974
|
+
.property--level-1[data-v-77b16bb4] {
|
|
9975
9975
|
padding: 0 0 8px;
|
|
9976
9976
|
}
|
|
9977
9977
|
:not(.composition-panel)
|
|
9978
9978
|
> .schema-card--compact.schema-card--level-0
|
|
9979
|
-
> .schema-properties[data-v-
|
|
9979
|
+
> .schema-properties[data-v-77b16bb4] {
|
|
9980
9980
|
border: none;
|
|
9981
9981
|
}
|
|
9982
|
-
[data-v-
|
|
9982
|
+
[data-v-77b16bb4] .schema-card-description p {
|
|
9983
9983
|
font-size: var(--scalar-small, var(--scalar-paragraph));
|
|
9984
9984
|
color: var(--scalar-color-2);
|
|
9985
9985
|
margin-bottom: 0;
|
|
9986
9986
|
display: block;
|
|
9987
9987
|
margin-bottom: 6px;
|
|
9988
9988
|
}
|
|
9989
|
-
.children .schema-card-description[data-v-
|
|
9989
|
+
.children .schema-card-description[data-v-77b16bb4]:first-of-type {
|
|
9990
9990
|
padding-top: 0;
|
|
9991
9991
|
}
|
|
9992
9992
|
|
|
@@ -10244,28 +10244,85 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
10244
10244
|
.property-example:hover .property-example-value-list[data-v-370db0bd], .property-example:focus-within .property-example-value-list[data-v-370db0bd] {
|
|
10245
10245
|
display: flex;
|
|
10246
10246
|
}
|
|
10247
|
+
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
|
|
10248
|
+
.property-pattern[data-v-2034a630] {
|
|
10249
|
+
font-size: var(--scalar-mini);
|
|
10250
|
+
flex-direction: column;
|
|
10251
|
+
display: flex;
|
|
10252
|
+
position: relative;
|
|
10253
|
+
}
|
|
10254
|
+
.property-pattern[data-v-2034a630]:hover:before {
|
|
10255
|
+
content: "";
|
|
10256
|
+
border-radius: var(--scalar-radius);
|
|
10257
|
+
width: 100%;
|
|
10258
|
+
height: 20px;
|
|
10259
|
+
position: absolute;
|
|
10260
|
+
top: 0;
|
|
10261
|
+
left: 0;
|
|
10262
|
+
}
|
|
10263
|
+
.property-pattern-popup[data-v-2034a630] {
|
|
10264
|
+
background-color: var(--scalar-background-1);
|
|
10265
|
+
box-shadow: var(--scalar-shadow-1);
|
|
10266
|
+
border-radius: var(--scalar-radius-lg);
|
|
10267
|
+
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
10268
|
+
z-index: 1000;
|
|
10269
|
+
min-width: 200px;
|
|
10270
|
+
max-width: min(500px, 100vw - 32px);
|
|
10271
|
+
max-height: min(400px, 100vh - 32px);
|
|
10272
|
+
padding: 9px;
|
|
10273
|
+
display: none;
|
|
10274
|
+
position: absolute;
|
|
10275
|
+
top: 18px;
|
|
10276
|
+
left: 50%;
|
|
10277
|
+
overflow-y: auto;
|
|
10278
|
+
transform: translate3d(-50%, 0, 0);
|
|
10279
|
+
}
|
|
10280
|
+
.property-pattern:hover .property-pattern-popup[data-v-2034a630], .property-pattern:focus-within .property-pattern-popup[data-v-2034a630], .property-pattern.is-open .property-pattern-popup[data-v-2034a630] {
|
|
10281
|
+
display: flex;
|
|
10282
|
+
}
|
|
10283
|
+
.property-pattern-value[data-v-2034a630] {
|
|
10284
|
+
font-family: var(--scalar-font-code);
|
|
10285
|
+
background: var(--scalar-background-2);
|
|
10286
|
+
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
10287
|
+
border-radius: var(--scalar-radius);
|
|
10288
|
+
align-items: flex-start;
|
|
10289
|
+
gap: 8px;
|
|
10290
|
+
width: 100%;
|
|
10291
|
+
padding: 6px;
|
|
10292
|
+
display: flex;
|
|
10293
|
+
}
|
|
10294
|
+
.property-pattern-value code[data-v-2034a630] {
|
|
10295
|
+
font-family: var(--scalar-font-code);
|
|
10296
|
+
font-size: var(--scalar-font-size-3);
|
|
10297
|
+
color: var(--scalar-color-2);
|
|
10298
|
+
white-space: pre-wrap;
|
|
10299
|
+
word-break: break-word;
|
|
10300
|
+
overflow-wrap: anywhere;
|
|
10301
|
+
text-align: left;
|
|
10302
|
+
flex: 1;
|
|
10303
|
+
}
|
|
10247
10304
|
|
|
10248
|
-
.property-heading[data-v-
|
|
10305
|
+
.property-heading[data-v-8af95d8d] {
|
|
10249
10306
|
display: flex;
|
|
10250
10307
|
flex-wrap: wrap;
|
|
10251
10308
|
align-items: baseline;
|
|
10252
10309
|
row-gap: 9px;
|
|
10253
10310
|
white-space: nowrap;
|
|
10254
10311
|
}
|
|
10255
|
-
.property-heading[data-v-
|
|
10256
|
-
.property-heading[data-v-
|
|
10312
|
+
.property-heading[data-v-8af95d8d]:has(+ .children),
|
|
10313
|
+
.property-heading[data-v-8af95d8d]:has(+ .property-rule) {
|
|
10257
10314
|
margin-bottom: 9px;
|
|
10258
10315
|
}
|
|
10259
|
-
.property-heading[data-v-
|
|
10316
|
+
.property-heading[data-v-8af95d8d] > * {
|
|
10260
10317
|
margin-right: 9px;
|
|
10261
10318
|
}
|
|
10262
|
-
.property-heading[data-v-
|
|
10319
|
+
.property-heading[data-v-8af95d8d]:last-child {
|
|
10263
10320
|
margin-right: 0;
|
|
10264
10321
|
}
|
|
10265
|
-
.property-heading > .property-detail[data-v-
|
|
10322
|
+
.property-heading > .property-detail[data-v-8af95d8d]:not(:last-of-type) {
|
|
10266
10323
|
margin-right: 0;
|
|
10267
10324
|
}
|
|
10268
|
-
.property-name[data-v-
|
|
10325
|
+
.property-name[data-v-8af95d8d] {
|
|
10269
10326
|
max-width: 100%;
|
|
10270
10327
|
font-family: var(--scalar-font-code);
|
|
10271
10328
|
font-weight: var(--scalar-bold);
|
|
@@ -10273,30 +10330,30 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
10273
10330
|
white-space: normal;
|
|
10274
10331
|
overflow-wrap: break-word;
|
|
10275
10332
|
}
|
|
10276
|
-
.property-additional[data-v-
|
|
10333
|
+
.property-additional[data-v-8af95d8d] {
|
|
10277
10334
|
font-family: var(--scalar-font-code);
|
|
10278
10335
|
}
|
|
10279
|
-
.property-required[data-v-
|
|
10280
|
-
.property-optional[data-v-
|
|
10336
|
+
.property-required[data-v-8af95d8d],
|
|
10337
|
+
.property-optional[data-v-8af95d8d] {
|
|
10281
10338
|
color: var(--scalar-color-2);
|
|
10282
10339
|
}
|
|
10283
|
-
.property-required[data-v-
|
|
10340
|
+
.property-required[data-v-8af95d8d] {
|
|
10284
10341
|
font-size: var(--scalar-mini);
|
|
10285
10342
|
color: var(--scalar-color-orange);
|
|
10286
10343
|
}
|
|
10287
|
-
.property-read-only[data-v-
|
|
10344
|
+
.property-read-only[data-v-8af95d8d] {
|
|
10288
10345
|
font-size: var(--scalar-mini);
|
|
10289
10346
|
color: var(--scalar-color-blue);
|
|
10290
10347
|
}
|
|
10291
|
-
.property-write-only[data-v-
|
|
10348
|
+
.property-write-only[data-v-8af95d8d] {
|
|
10292
10349
|
font-size: var(--scalar-mini);
|
|
10293
10350
|
color: var(--scalar-color-green);
|
|
10294
10351
|
}
|
|
10295
|
-
.property-discriminator[data-v-
|
|
10352
|
+
.property-discriminator[data-v-8af95d8d] {
|
|
10296
10353
|
font-size: var(--scalar-mini);
|
|
10297
10354
|
color: var(--scalar-color-purple);
|
|
10298
10355
|
}
|
|
10299
|
-
.property-detail[data-v-
|
|
10356
|
+
.property-detail[data-v-8af95d8d] {
|
|
10300
10357
|
font-size: var(--scalar-mini);
|
|
10301
10358
|
color: var(--scalar-color-2);
|
|
10302
10359
|
display: flex;
|
|
@@ -10304,10 +10361,10 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
10304
10361
|
|
|
10305
10362
|
min-width: 0;
|
|
10306
10363
|
}
|
|
10307
|
-
.property-const[data-v-
|
|
10364
|
+
.property-const[data-v-8af95d8d] {
|
|
10308
10365
|
color: var(--scalar-color-1);
|
|
10309
10366
|
}
|
|
10310
|
-
.deprecated[data-v-
|
|
10367
|
+
.deprecated[data-v-8af95d8d] {
|
|
10311
10368
|
text-decoration: line-through;
|
|
10312
10369
|
}
|
|
10313
10370
|
|
|
@@ -10714,42 +10771,51 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
10714
10771
|
width: 100%;
|
|
10715
10772
|
}
|
|
10716
10773
|
|
|
10717
|
-
.tag-section[data-v-
|
|
10774
|
+
.tag-section[data-v-30009843] {
|
|
10718
10775
|
margin-bottom: 48px;
|
|
10719
10776
|
}
|
|
10720
|
-
.tag-name[data-v-
|
|
10777
|
+
.tag-name[data-v-30009843] {
|
|
10721
10778
|
text-transform: capitalize;
|
|
10722
10779
|
}
|
|
10723
|
-
.tag-description[data-v-
|
|
10780
|
+
.tag-description[data-v-30009843] {
|
|
10724
10781
|
padding-bottom: 4px;
|
|
10725
10782
|
text-align: left;
|
|
10726
10783
|
}
|
|
10727
10784
|
|
|
10728
10785
|
/* Tag Groups */
|
|
10729
|
-
.tag-section-group .tag-group-name[data-v-
|
|
10786
|
+
.tag-section-group .tag-group-name[data-v-30009843] {
|
|
10730
10787
|
gap: 12px;
|
|
10731
10788
|
align-self: stretch;
|
|
10732
10789
|
grid-template-columns: auto 1fr;
|
|
10733
10790
|
}
|
|
10734
|
-
.tag-group-name[data-v-
|
|
10791
|
+
.tag-group-name[data-v-30009843]:after {
|
|
10735
10792
|
content: '';
|
|
10736
10793
|
display: block;
|
|
10737
10794
|
height: 1px;
|
|
10738
10795
|
align-self: center;
|
|
10739
10796
|
background: var(--scalar-border-color);
|
|
10740
10797
|
}
|
|
10741
|
-
.tag-group-name[data-v-
|
|
10742
|
-
.tag-group-name[data-v-
|
|
10798
|
+
.tag-group-name[data-v-30009843]:has(* > *:hover),
|
|
10799
|
+
.tag-group-name[data-v-30009843]:has(:focus-visible) {
|
|
10743
10800
|
gap: 32px;
|
|
10744
10801
|
}
|
|
10745
|
-
.tag-section-group .tag-section[data-v-
|
|
10802
|
+
.tag-section-group .tag-section[data-v-30009843] {
|
|
10746
10803
|
padding-inline: 0;
|
|
10747
10804
|
margin-bottom: 24px;
|
|
10748
10805
|
}
|
|
10749
|
-
.tag-section-group .tag-section[data-v-
|
|
10806
|
+
.tag-section-group .tag-section[data-v-30009843]:last-of-type {
|
|
10750
10807
|
margin-bottom: 0;
|
|
10751
10808
|
}
|
|
10752
10809
|
|
|
10810
|
+
/*
|
|
10811
|
+
* A tag nested inside another tag's container would otherwise inherit a second
|
|
10812
|
+
* layer of horizontal padding. Dropping it keeps every section flush left
|
|
10813
|
+
* regardless of how deep the tag hierarchy goes.
|
|
10814
|
+
*/
|
|
10815
|
+
.tag-section.tag-section-nested[data-v-30009843] {
|
|
10816
|
+
padding-inline: 0;
|
|
10817
|
+
}
|
|
10818
|
+
|
|
10753
10819
|
.channels-card[data-v-817abeb3] {
|
|
10754
10820
|
position: sticky;
|
|
10755
10821
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
@@ -10776,10 +10842,18 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
10776
10842
|
text-decoration: underline;
|
|
10777
10843
|
}
|
|
10778
10844
|
|
|
10779
|
-
.section-container[data-v-
|
|
10845
|
+
.section-container[data-v-831b6e40] {
|
|
10780
10846
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
10781
10847
|
}
|
|
10782
|
-
|
|
10848
|
+
/*
|
|
10849
|
+
* A tag nested inside another tag's container would otherwise inherit a second
|
|
10850
|
+
* layer of horizontal padding. Dropping it keeps every section flush left
|
|
10851
|
+
* regardless of how deep the tag hierarchy goes.
|
|
10852
|
+
*/
|
|
10853
|
+
.tag-section-container.tag-section-nested[data-v-831b6e40] {
|
|
10854
|
+
padding-inline: 0;
|
|
10855
|
+
}
|
|
10856
|
+
.section-container.tag-section-collapsed[data-v-831b6e40] {
|
|
10783
10857
|
background-color: color-mix(in srgb, var(--scalar-background-2), transparent);
|
|
10784
10858
|
}
|
|
10785
10859
|
|
|
@@ -11856,6 +11930,28 @@ button.headers-card-title[data-v-9ba640f2]:hover {
|
|
|
11856
11930
|
pointer-events: none;
|
|
11857
11931
|
}
|
|
11858
11932
|
|
|
11933
|
+
/*
|
|
11934
|
+
* Match the section content inset (0 60px) so crumbs line up under the section
|
|
11935
|
+
* headings. A fixed height keeps the content below from moving when the active
|
|
11936
|
+
* hierarchy changes and the breadcrumbs appear.
|
|
11937
|
+
* The bar lives inside `.narrow-references-container`, so it shares the same
|
|
11938
|
+
* container query the sections use to drop their inset on narrow layouts.
|
|
11939
|
+
*/
|
|
11940
|
+
.context-bar[data-v-5f62f72b] {
|
|
11941
|
+
height: 48px;
|
|
11942
|
+
padding-inline: 60px;
|
|
11943
|
+
box-shadow: inset 0 var(--scalar-border-width) 0 var(--scalar-border-color);
|
|
11944
|
+
}
|
|
11945
|
+
.context-bar[data-stuck][data-v-5f62f72b] {
|
|
11946
|
+
box-shadow: inset 0 calc(var(--scalar-border-width) * -1) 0
|
|
11947
|
+
var(--scalar-border-color);
|
|
11948
|
+
}
|
|
11949
|
+
@container narrow-references-container (max-width: 900px) {
|
|
11950
|
+
.context-bar[data-v-5f62f72b] {
|
|
11951
|
+
padding-inline: 24px;
|
|
11952
|
+
}
|
|
11953
|
+
}
|
|
11954
|
+
|
|
11859
11955
|
.narrow-references-container {
|
|
11860
11956
|
container-name: narrow-references-container;
|
|
11861
11957
|
container-type: inline-size;
|
|
@@ -12007,7 +12103,7 @@ body {
|
|
|
12007
12103
|
|
|
12008
12104
|
/* Configurable Layout Variables */
|
|
12009
12105
|
@layer scalar-config {
|
|
12010
|
-
.scalar-api-reference[data-v-
|
|
12106
|
+
.scalar-api-reference[data-v-2e948397] {
|
|
12011
12107
|
/* The header height */
|
|
12012
12108
|
--refs-header-height: calc(
|
|
12013
12109
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -12029,20 +12125,20 @@ body {
|
|
|
12029
12125
|
/* The maximum width of the content column */
|
|
12030
12126
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
12031
12127
|
}
|
|
12032
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12128
|
+
.scalar-api-reference.references-classic[data-v-2e948397] {
|
|
12033
12129
|
/* Classic layout is wider */
|
|
12034
12130
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
12035
12131
|
min-height: 100dvh;
|
|
12036
12132
|
--refs-sidebar-width: 0;
|
|
12037
12133
|
}
|
|
12038
12134
|
}
|
|
12039
|
-
.t-doc__sidebar[data-v-
|
|
12135
|
+
.t-doc__sidebar[data-v-2e948397] {
|
|
12040
12136
|
z-index: 10;
|
|
12041
12137
|
}
|
|
12042
12138
|
|
|
12043
12139
|
/* ----------------------------------------------------- */
|
|
12044
12140
|
/* References Layout */
|
|
12045
|
-
.references-layout[data-v-
|
|
12141
|
+
.references-layout[data-v-2e948397] {
|
|
12046
12142
|
/* Try to fill the container */
|
|
12047
12143
|
min-height: 100dvh;
|
|
12048
12144
|
min-width: 100%;
|
|
@@ -12066,32 +12162,36 @@ body {
|
|
|
12066
12162
|
|
|
12067
12163
|
background: var(--scalar-background-1);
|
|
12068
12164
|
}
|
|
12069
|
-
.references-editor[data-v-
|
|
12165
|
+
.references-editor[data-v-2e948397] {
|
|
12070
12166
|
grid-area: editor;
|
|
12071
12167
|
display: flex;
|
|
12072
12168
|
min-width: 0;
|
|
12073
12169
|
background: var(--scalar-background-1);
|
|
12074
12170
|
}
|
|
12075
|
-
.references-rendered[data-v-
|
|
12171
|
+
.references-rendered[data-v-2e948397] {
|
|
12076
12172
|
position: relative;
|
|
12077
12173
|
grid-area: rendered;
|
|
12078
12174
|
min-width: 0;
|
|
12079
12175
|
background: var(--scalar-background-1);
|
|
12080
12176
|
}
|
|
12081
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12082
|
-
.references-classic .references-rendered[data-v-
|
|
12177
|
+
.scalar-api-reference.references-classic[data-v-2e948397],
|
|
12178
|
+
.references-classic .references-rendered[data-v-2e948397] {
|
|
12083
12179
|
height: initial !important;
|
|
12084
12180
|
max-height: initial !important;
|
|
12085
12181
|
}
|
|
12182
|
+
/* Give the classic layout some breathing room at the end of the scroll */
|
|
12183
|
+
.references-classic .references-rendered[data-v-2e948397] {
|
|
12184
|
+
padding-bottom: 80px;
|
|
12185
|
+
}
|
|
12086
12186
|
@layer scalar-config {
|
|
12087
|
-
.references-sidebar[data-v-
|
|
12187
|
+
.references-sidebar[data-v-2e948397] {
|
|
12088
12188
|
/* Set a default width if references are enabled */
|
|
12089
12189
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
12090
12190
|
}
|
|
12091
12191
|
}
|
|
12092
12192
|
|
|
12093
12193
|
/* Footer */
|
|
12094
|
-
.references-footer[data-v-
|
|
12194
|
+
.references-footer[data-v-2e948397] {
|
|
12095
12195
|
grid-area: footer;
|
|
12096
12196
|
}
|
|
12097
12197
|
/* ----------------------------------------------------- */
|
|
@@ -12107,12 +12207,12 @@ body {
|
|
|
12107
12207
|
*/
|
|
12108
12208
|
@media (width < 1000px) {
|
|
12109
12209
|
/* Keep toolbar hidden on mobile without forcing desktop display mode. */
|
|
12110
|
-
.references-developer-tools[data-v-
|
|
12210
|
+
.references-developer-tools[data-v-2e948397] {
|
|
12111
12211
|
display: none;
|
|
12112
12212
|
}
|
|
12113
12213
|
|
|
12114
12214
|
/* Stack view on mobile */
|
|
12115
|
-
.references-layout[data-v-
|
|
12215
|
+
.references-layout[data-v-2e948397] {
|
|
12116
12216
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
12117
12217
|
--refs-sidebar-height: calc(
|
|
12118
12218
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -12127,13 +12227,13 @@ body {
|
|
|
12127
12227
|
'rendered'
|
|
12128
12228
|
'footer';
|
|
12129
12229
|
}
|
|
12130
|
-
.references-editable[data-v-
|
|
12230
|
+
.references-editable[data-v-2e948397] {
|
|
12131
12231
|
grid-template-areas:
|
|
12132
12232
|
'header'
|
|
12133
12233
|
'navigation'
|
|
12134
12234
|
'editor';
|
|
12135
12235
|
}
|
|
12136
|
-
.references-rendered[data-v-
|
|
12236
|
+
.references-rendered[data-v-2e948397] {
|
|
12137
12237
|
position: static;
|
|
12138
12238
|
}
|
|
12139
12239
|
}
|
|
@@ -12145,12 +12245,12 @@ body {
|
|
|
12145
12245
|
*/
|
|
12146
12246
|
/* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
|
|
12147
12247
|
@media (width < 1000px) {
|
|
12148
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
12248
|
+
.scalar-api-references-standalone-mobile[data-v-2e948397]:not(.references-classic) {
|
|
12149
12249
|
--scalar-header-height: 50px;
|
|
12150
12250
|
}
|
|
12151
12251
|
}
|
|
12152
12252
|
|
|
12153
|
-
.darklight-reference[data-v-
|
|
12253
|
+
.darklight-reference[data-v-2e948397] {
|
|
12154
12254
|
width: 100%;
|
|
12155
12255
|
margin-top: auto;
|
|
12156
12256
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"testing",
|
|
19
19
|
"react"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.9.
|
|
21
|
+
"version": "0.9.65",
|
|
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.18.
|
|
42
|
+
"@scalar/api-reference": "1.66.1",
|
|
43
|
+
"@scalar/types": "0.18.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/react": "^19.2.7",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react-dom": "^19.2.3",
|
|
52
52
|
"rollup-preserve-directives": "^1.1.1",
|
|
53
53
|
"vite": "8.1.5",
|
|
54
|
-
"@scalar/helpers": "0.
|
|
54
|
+
"@scalar/helpers": "0.11.1"
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
57
|
"react": "^18.0.0 || ^19.0.0"
|