@scalar/api-reference-react 0.9.100 → 0.9.101
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/index.js.map +1 -1
- package/dist/style.css +307 -188
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","names":[],"sources":["../src/vue-bundler-flags.ts","../src/ApiReferenceReact.tsx"],"sourcesContent":["// Ensure Vue ESM-bundler feature flags exist before Vue-based modules are imported.\nglobalThis.__VUE_OPTIONS_API__ = true\nglobalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = true\nglobalThis.__VUE_PROD_DEVTOOLS__ = false\n","'use client'\n\nimport './vue-bundler-flags'\n\nimport { createApiReference } from '@scalar/api-reference'\nimport type { AnyApiReferenceConfiguration, ApiReferenceInstance } from '@scalar/types/api-reference'\nimport { useEffect, useRef, useState } from 'react'\n\nimport './style.css'\n\n/**\n * React wrapper around the Scalar API Reference\n */\nexport const ApiReferenceReact = (props: { configuration: AnyApiReferenceConfiguration }) => {\n const el = useRef<HTMLDivElement | null>(null)\n\n const [reference, setReference] = useState<ApiReferenceInstance | null>(null)\n\n /** handle adding the integration to the config */\n const addIntegration = () =>\n Array.isArray(props.configuration)\n ? props.configuration.map((c) => ({ _integration: 'react' as const, ...c }))\n : { _integration: 'react' as const, ...props.configuration }\n\n useEffect(() => {\n if (!el.current) {\n return reference?.app?.unmount\n }\n\n const instance = createApiReference(el.current, addIntegration())\n setReference(instance)\n\n // Unmount on cleanup\n return instance.destroy\n }, [el])\n\n useEffect(() => {\n reference?.updateConfiguration(addIntegration())\n }, [props.configuration, reference])\n\n return <div ref={el} />\n}\n"],"mappings":";;;;;AACA,WAAW,sBAAsB;AACjC,WAAW,0CAA0C;AACrD,WAAW,wBAAwB;;;;;ACUnC,IAAa,qBAAqB,UAA2D;CAC3F,MAAM,KAAK,OAA8B,IAAI;CAE7C,MAAM,CAAC,WAAW,gBAAgB,SAAsC,IAAI;;CAG5E,MAAM,uBACJ,MAAM,QAAQ,MAAM,aAAa,IAC7B,MAAM,cAAc,KAAK,OAAO;EAAE,cAAc;EAAkB,GAAG;CAAE,EAAE,IACzE;EAAE,cAAc;EAAkB,GAAG,MAAM;CAAc;CAE/D,gBAAgB;EACd,IAAI,CAAC,GAAG,SACN,OAAO,WAAW,KAAK;EAGzB,MAAM,WAAW,mBAAmB,GAAG,SAAS,eAAe,CAAC;EAChE,aAAa,QAAQ;EAGrB,OAAO,SAAS;CAClB,GAAG,CAAC,EAAE,CAAC;CAEP,gBAAgB;EACd,WAAW,oBAAoB,eAAe,CAAC;CACjD,GAAG,CAAC,MAAM,eAAe,SAAS,CAAC;CAEnC,
|
|
1
|
+
{"version":3,"file":"index.js","names":["_jsx"],"sources":["../src/vue-bundler-flags.ts","../src/ApiReferenceReact.tsx"],"sourcesContent":["// Ensure Vue ESM-bundler feature flags exist before Vue-based modules are imported.\nglobalThis.__VUE_OPTIONS_API__ = true\nglobalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = true\nglobalThis.__VUE_PROD_DEVTOOLS__ = false\n","'use client'\n\nimport './vue-bundler-flags'\n\nimport { createApiReference } from '@scalar/api-reference'\nimport type { AnyApiReferenceConfiguration, ApiReferenceInstance } from '@scalar/types/api-reference'\nimport { useEffect, useRef, useState } from 'react'\n\nimport './style.css'\n\n/**\n * React wrapper around the Scalar API Reference\n */\nexport const ApiReferenceReact = (props: { configuration: AnyApiReferenceConfiguration }) => {\n const el = useRef<HTMLDivElement | null>(null)\n\n const [reference, setReference] = useState<ApiReferenceInstance | null>(null)\n\n /** handle adding the integration to the config */\n const addIntegration = () =>\n Array.isArray(props.configuration)\n ? props.configuration.map((c) => ({ _integration: 'react' as const, ...c }))\n : { _integration: 'react' as const, ...props.configuration }\n\n useEffect(() => {\n if (!el.current) {\n return reference?.app?.unmount\n }\n\n const instance = createApiReference(el.current, addIntegration())\n setReference(instance)\n\n // Unmount on cleanup\n return instance.destroy\n }, [el])\n\n useEffect(() => {\n reference?.updateConfiguration(addIntegration())\n }, [props.configuration, reference])\n\n return <div ref={el} />\n}\n"],"mappings":";;;;;AACA,WAAW,sBAAsB;AACjC,WAAW,0CAA0C;AACrD,WAAW,wBAAwB;;;;;ACUnC,IAAa,qBAAqB,UAA2D;CAC3F,MAAM,KAAK,OAA8B,IAAI;CAE7C,MAAM,CAAC,WAAW,gBAAgB,SAAsC,IAAI;;CAG5E,MAAM,uBACJ,MAAM,QAAQ,MAAM,aAAa,IAC7B,MAAM,cAAc,KAAK,OAAO;EAAE,cAAc;EAAkB,GAAG;CAAE,EAAE,IACzE;EAAE,cAAc;EAAkB,GAAG,MAAM;CAAc;CAE/D,gBAAgB;EACd,IAAI,CAAC,GAAG,SACN,OAAO,WAAW,KAAK;EAGzB,MAAM,WAAW,mBAAmB,GAAG,SAAS,eAAe,CAAC;EAChE,aAAa,QAAQ;EAGrB,OAAO,SAAS;CAClB,GAAG,CAAC,EAAE,CAAC;CAEP,gBAAgB;EACd,WAAW,oBAAoB,eAAe,CAAC;CACjD,GAAG,CAAC,MAAM,eAAe,SAAS,CAAC;CAEnC,OAAOA,oBAAC,OAAD,EAAK,KAAK,GAAK,CAAA;AACxB"}
|
package/dist/style.css
CHANGED
|
@@ -1993,22 +1993,22 @@
|
|
|
1993
1993
|
inherits: false
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
.scalar-virtual-text-search-input[data-v-
|
|
1996
|
+
.scalar-virtual-text-search-input[data-v-90d45472]::-webkit-search-cancel-button {
|
|
1997
1997
|
display: none;
|
|
1998
1998
|
}
|
|
1999
1999
|
|
|
2000
|
-
.scalar-virtual-text[data-v-
|
|
2000
|
+
.scalar-virtual-text[data-v-9b18a463]:focus {
|
|
2001
2001
|
outline: none;
|
|
2002
2002
|
}
|
|
2003
2003
|
|
|
2004
|
-
.scalar-virtual-text-highlight[data-v-
|
|
2004
|
+
.scalar-virtual-text-highlight[data-v-9b18a463] {
|
|
2005
2005
|
background: var(--scalar-background-accent);
|
|
2006
2006
|
color: inherit;
|
|
2007
2007
|
border-radius: var(--scalar-radius);
|
|
2008
2008
|
padding: 1px 0;
|
|
2009
2009
|
}
|
|
2010
2010
|
|
|
2011
|
-
.scalar-virtual-text-highlight-active[data-v-
|
|
2011
|
+
.scalar-virtual-text-highlight-active[data-v-9b18a463] {
|
|
2012
2012
|
background: var(--scalar-color-accent);
|
|
2013
2013
|
color: var(--scalar-background-1);
|
|
2014
2014
|
border-radius: var(--scalar-radius);
|
|
@@ -2646,7 +2646,7 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2646
2646
|
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23FFF' fill-opacity='10%25'%3E%3Crect width='8' height='8' /%3E%3Crect x='8' y='8' width='8' height='8' /%3E%3C/svg%3E");
|
|
2647
2647
|
}
|
|
2648
2648
|
|
|
2649
|
-
.scalar-code-block[data-v-
|
|
2649
|
+
.scalar-code-block[data-v-b7e82c32] .hljs * {
|
|
2650
2650
|
font-size: var(--scalar-small);
|
|
2651
2651
|
}
|
|
2652
2652
|
|
|
@@ -2700,12 +2700,12 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2700
2700
|
opacity: 0;
|
|
2701
2701
|
}
|
|
2702
2702
|
|
|
2703
|
-
.animate-response-heading .response-heading[data-v-
|
|
2703
|
+
.animate-response-heading .response-heading[data-v-605dc315] {
|
|
2704
2704
|
opacity: 1;
|
|
2705
|
-
animation: .2s ease-in-out forwards push-response-
|
|
2705
|
+
animation: .2s ease-in-out forwards push-response-605dc315;
|
|
2706
2706
|
}
|
|
2707
2707
|
|
|
2708
|
-
@keyframes push-response-
|
|
2708
|
+
@keyframes push-response-605dc315 {
|
|
2709
2709
|
from {
|
|
2710
2710
|
opacity: 1;
|
|
2711
2711
|
transform: translateY(0);
|
|
@@ -2717,12 +2717,12 @@ input[data-v-029a43f5]::placeholder {
|
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
2719
2719
|
|
|
2720
|
-
.animate-response-heading .animate-response-children[data-v-
|
|
2720
|
+
.animate-response-heading .animate-response-children[data-v-605dc315] {
|
|
2721
2721
|
opacity: 0;
|
|
2722
|
-
animation: .2s ease-in-out 50ms forwards response-spans-
|
|
2722
|
+
animation: .2s ease-in-out 50ms forwards response-spans-605dc315;
|
|
2723
2723
|
}
|
|
2724
2724
|
|
|
2725
|
-
@keyframes response-spans-
|
|
2725
|
+
@keyframes response-spans-605dc315 {
|
|
2726
2726
|
from {
|
|
2727
2727
|
opacity: 0;
|
|
2728
2728
|
transform: translateY(4px);
|
|
@@ -3019,17 +3019,17 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3019
3019
|
display: flex;
|
|
3020
3020
|
}
|
|
3021
3021
|
|
|
3022
|
-
.request-card[data-v-aaf1efda], .request-card[data-v-
|
|
3022
|
+
.request-card[data-v-aaf1efda], .request-card[data-v-e335011e] {
|
|
3023
3023
|
color: var(--scalar-color-1);
|
|
3024
3024
|
font-size: var(--scalar-font-size-3);
|
|
3025
3025
|
}
|
|
3026
3026
|
|
|
3027
|
-
.request-method[data-v-
|
|
3027
|
+
.request-method[data-v-e335011e] {
|
|
3028
3028
|
font-family: var(--scalar-font-code);
|
|
3029
3029
|
margin-right: 6px;
|
|
3030
3030
|
}
|
|
3031
3031
|
|
|
3032
|
-
.request-card-footer[data-v-
|
|
3032
|
+
.request-card-footer[data-v-e335011e] {
|
|
3033
3033
|
flex-shrink: 0;
|
|
3034
3034
|
justify-content: flex-end;
|
|
3035
3035
|
padding: 6px;
|
|
@@ -3037,18 +3037,18 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3037
3037
|
position: relative;
|
|
3038
3038
|
}
|
|
3039
3039
|
|
|
3040
|
-
.request-card-footer--wraps[data-v-
|
|
3040
|
+
.request-card-footer--wraps[data-v-e335011e] {
|
|
3041
3041
|
flex-wrap: wrap;
|
|
3042
3042
|
row-gap: 4px;
|
|
3043
3043
|
}
|
|
3044
3044
|
|
|
3045
|
-
.request-card-footer-start[data-v-
|
|
3045
|
+
.request-card-footer-start[data-v-e335011e] {
|
|
3046
3046
|
flex: 1 0 auto;
|
|
3047
3047
|
align-items: center;
|
|
3048
3048
|
display: flex;
|
|
3049
3049
|
}
|
|
3050
3050
|
|
|
3051
|
-
.request-card-footer-addon[data-v-
|
|
3051
|
+
.request-card-footer-addon[data-v-e335011e] {
|
|
3052
3052
|
flex: 7em;
|
|
3053
3053
|
align-items: center;
|
|
3054
3054
|
min-width: 0;
|
|
@@ -3057,16 +3057,16 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3057
3057
|
display: flex;
|
|
3058
3058
|
}
|
|
3059
3059
|
|
|
3060
|
-
.request-editor-section[data-v-
|
|
3060
|
+
.request-editor-section[data-v-e335011e] {
|
|
3061
3061
|
flex: 1;
|
|
3062
3062
|
display: flex;
|
|
3063
3063
|
}
|
|
3064
3064
|
|
|
3065
|
-
.code-snippet > .scalar-code-copy[data-v-
|
|
3065
|
+
.code-snippet > .scalar-code-copy[data-v-e335011e] {
|
|
3066
3066
|
background: var(--scalar-card-surface-raised, var(--scalar-background-2));
|
|
3067
3067
|
}
|
|
3068
3068
|
|
|
3069
|
-
.request-card-simple[data-v-
|
|
3069
|
+
.request-card-simple[data-v-e335011e] {
|
|
3070
3070
|
font-size: var(--scalar-small);
|
|
3071
3071
|
flex-wrap: wrap;
|
|
3072
3072
|
justify-content: space-between;
|
|
@@ -3076,17 +3076,17 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3076
3076
|
display: flex;
|
|
3077
3077
|
}
|
|
3078
3078
|
|
|
3079
|
-
.request-header[data-v-
|
|
3079
|
+
.request-header[data-v-e335011e] {
|
|
3080
3080
|
overflow-wrap: anywhere;
|
|
3081
3081
|
flex: 999 auto;
|
|
3082
3082
|
min-width: 0;
|
|
3083
3083
|
}
|
|
3084
3084
|
|
|
3085
|
-
.request-card-actions[data-v-
|
|
3085
|
+
.request-card-actions[data-v-e335011e] {
|
|
3086
3086
|
flex: 1 0 auto;
|
|
3087
3087
|
}
|
|
3088
3088
|
|
|
3089
|
-
.code-snippet[data-v-
|
|
3089
|
+
.code-snippet[data-v-e335011e] {
|
|
3090
3090
|
flex-direction: column;
|
|
3091
3091
|
width: 100%;
|
|
3092
3092
|
display: flex;
|
|
@@ -3096,21 +3096,21 @@ input[data-v-029a43f5]::placeholder {
|
|
|
3096
3096
|
padding-top: 0 !important;
|
|
3097
3097
|
}
|
|
3098
3098
|
|
|
3099
|
-
.property-heading:empty + .property-description[data-v-
|
|
3099
|
+
.property-heading:empty + .property-description[data-v-69f312ed]:last-of-type, .property-description[data-v-69f312ed]:first-of-type:last-of-type {
|
|
3100
3100
|
margin-top: 0;
|
|
3101
3101
|
}
|
|
3102
3102
|
|
|
3103
|
-
.property-list[data-v-
|
|
3103
|
+
.property-list[data-v-69f312ed] {
|
|
3104
3104
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
3105
3105
|
border-radius: var(--scalar-radius);
|
|
3106
3106
|
margin-top: 10px;
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
|
-
.property-list .property[data-v-
|
|
3109
|
+
.property-list .property[data-v-69f312ed]:last-of-type {
|
|
3110
3110
|
padding-bottom: 10px;
|
|
3111
3111
|
}
|
|
3112
3112
|
|
|
3113
|
-
.enum-toggle-button[data-v-
|
|
3113
|
+
.enum-toggle-button[data-v-69f312ed]:hover {
|
|
3114
3114
|
color: var(--scalar-color-1);
|
|
3115
3115
|
}
|
|
3116
3116
|
|
|
@@ -5546,6 +5546,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
5546
5546
|
inset-inline-start: calc(calc(var(--spacing) * 1.5 + .5px) * -1);
|
|
5547
5547
|
}
|
|
5548
5548
|
|
|
5549
|
+
.scalar-app .start-0 {
|
|
5550
|
+
inset-inline-start: 0;
|
|
5551
|
+
}
|
|
5552
|
+
|
|
5549
5553
|
.scalar-app .start-3 {
|
|
5550
5554
|
inset-inline-start: 12px;
|
|
5551
5555
|
}
|
|
@@ -5582,14 +5586,6 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
5582
5586
|
top: var(--nested-items-offset) !important;
|
|
5583
5587
|
}
|
|
5584
5588
|
|
|
5585
|
-
.scalar-app .top-\(--refs-header-height\) {
|
|
5586
|
-
top: var(--refs-header-height);
|
|
5587
|
-
}
|
|
5588
|
-
|
|
5589
|
-
.scalar-app .top-\(--scalar-custom-header-height\,0\) {
|
|
5590
|
-
top: var(--scalar-custom-header-height, 0);
|
|
5591
|
-
}
|
|
5592
|
-
|
|
5593
5589
|
.scalar-app .top-\(--scalar-sidebar-sticky-offset\,0\) {
|
|
5594
5590
|
top: var(--scalar-sidebar-sticky-offset, 0);
|
|
5595
5591
|
}
|
|
@@ -5654,6 +5650,14 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
5654
5650
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
5655
5651
|
}
|
|
5656
5652
|
|
|
5653
|
+
.scalar-app .top-\[var\(--refs-registered-header-offset\,var\(--refs-manual-header-offset\)\)\] {
|
|
5654
|
+
top: var(--refs-registered-header-offset, var(--refs-manual-header-offset));
|
|
5655
|
+
}
|
|
5656
|
+
|
|
5657
|
+
.scalar-app .top-\[var\(--refs-sidebar-top\,var\(--refs-header-height\)\)\] {
|
|
5658
|
+
top: var(--refs-sidebar-top, var(--refs-header-height));
|
|
5659
|
+
}
|
|
5660
|
+
|
|
5657
5661
|
.scalar-app .top-px {
|
|
5658
5662
|
top: 1px;
|
|
5659
5663
|
}
|
|
@@ -6038,6 +6042,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
6038
6042
|
margin-inline-start: 5px !important;
|
|
6039
6043
|
}
|
|
6040
6044
|
|
|
6045
|
+
.scalar-app .ms-2 {
|
|
6046
|
+
margin-inline-start: 8px;
|
|
6047
|
+
}
|
|
6048
|
+
|
|
6041
6049
|
.scalar-app .ms-3 {
|
|
6042
6050
|
margin-inline-start: 12px;
|
|
6043
6051
|
}
|
|
@@ -6520,10 +6528,6 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
6520
6528
|
height: var(--scalar-header-height);
|
|
6521
6529
|
}
|
|
6522
6530
|
|
|
6523
|
-
.scalar-app .h-0 {
|
|
6524
|
-
height: 0;
|
|
6525
|
-
}
|
|
6526
|
-
|
|
6527
6531
|
.scalar-app .h-1 {
|
|
6528
6532
|
height: 4px;
|
|
6529
6533
|
}
|
|
@@ -6688,6 +6692,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
6688
6692
|
max-height: min(32rem, 80dvh);
|
|
6689
6693
|
}
|
|
6690
6694
|
|
|
6695
|
+
.scalar-app .max-h-\[var\(--refs-registered-navigation-max-height\,none\)\] {
|
|
6696
|
+
max-height: var(--refs-registered-navigation-max-height, none);
|
|
6697
|
+
}
|
|
6698
|
+
|
|
6691
6699
|
.scalar-app .max-h-dvh {
|
|
6692
6700
|
max-height: 100dvh;
|
|
6693
6701
|
}
|
|
@@ -8358,6 +8366,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8358
8366
|
padding-block: 1px;
|
|
8359
8367
|
}
|
|
8360
8368
|
|
|
8369
|
+
.scalar-app .ps-1 {
|
|
8370
|
+
padding-inline-start: 4px;
|
|
8371
|
+
}
|
|
8372
|
+
|
|
8361
8373
|
.scalar-app .ps-3 {
|
|
8362
8374
|
padding-inline-start: 12px;
|
|
8363
8375
|
}
|
|
@@ -8382,6 +8394,14 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8382
8394
|
padding-inline-start: var(--schema-gutter, 16px) !important;
|
|
8383
8395
|
}
|
|
8384
8396
|
|
|
8397
|
+
.scalar-app .pe-0\.75 {
|
|
8398
|
+
padding-inline-end: 3px;
|
|
8399
|
+
}
|
|
8400
|
+
|
|
8401
|
+
.scalar-app .pe-1 {
|
|
8402
|
+
padding-inline-end: 4px;
|
|
8403
|
+
}
|
|
8404
|
+
|
|
8385
8405
|
.scalar-app .pe-2 {
|
|
8386
8406
|
padding-inline-end: 8px;
|
|
8387
8407
|
}
|
|
@@ -8534,10 +8554,6 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
8534
8554
|
padding-bottom: 64px;
|
|
8535
8555
|
}
|
|
8536
8556
|
|
|
8537
|
-
.scalar-app .\!pl-3 {
|
|
8538
|
-
padding-left: 12px !important;
|
|
8539
|
-
}
|
|
8540
|
-
|
|
8541
8557
|
.scalar-app .pl-1 {
|
|
8542
8558
|
padding-left: 4px;
|
|
8543
8559
|
}
|
|
@@ -9385,6 +9401,14 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
9385
9401
|
user-select: none;
|
|
9386
9402
|
}
|
|
9387
9403
|
|
|
9404
|
+
.scalar-app .\[--refs-manual-header-offset\:var\(--scalar-custom-header-height\,0px\)\] {
|
|
9405
|
+
--refs-manual-header-offset: var(--scalar-custom-header-height, 0px);
|
|
9406
|
+
}
|
|
9407
|
+
|
|
9408
|
+
.scalar-app .\[--refs-sidebar-chrome-height\:0px\] {
|
|
9409
|
+
--refs-sidebar-chrome-height: 0px;
|
|
9410
|
+
}
|
|
9411
|
+
|
|
9388
9412
|
.scalar-app .\[--scalar-address-bar-height\:0px\] {
|
|
9389
9413
|
--scalar-address-bar-height: 0px;
|
|
9390
9414
|
}
|
|
@@ -10066,6 +10090,15 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
10066
10090
|
opacity: 1;
|
|
10067
10091
|
}
|
|
10068
10092
|
|
|
10093
|
+
.scalar-app .focus-visible\:ring-2:focus-visible {
|
|
10094
|
+
--tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
|
|
10095
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
10096
|
+
}
|
|
10097
|
+
|
|
10098
|
+
.scalar-app .focus-visible\:ring-\(--scalar-focus-color\):focus-visible {
|
|
10099
|
+
--tw-ring-color: var(--scalar-focus-color);
|
|
10100
|
+
}
|
|
10101
|
+
|
|
10069
10102
|
.scalar-app .focus-visible\:outline:focus-visible {
|
|
10070
10103
|
outline-style: var(--tw-outline-style);
|
|
10071
10104
|
outline-width: 1px;
|
|
@@ -10088,6 +10121,10 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
10088
10121
|
outline-color: var(--scalar-focus-color);
|
|
10089
10122
|
}
|
|
10090
10123
|
|
|
10124
|
+
.scalar-app .focus-visible\:ring-inset:focus-visible {
|
|
10125
|
+
--tw-ring-inset: inset;
|
|
10126
|
+
}
|
|
10127
|
+
|
|
10091
10128
|
.scalar-app .active\:bg-b-btn:active {
|
|
10092
10129
|
background-color: var(--scalar-button-1);
|
|
10093
10130
|
}
|
|
@@ -10289,8 +10326,12 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
10289
10326
|
flex-direction: row;
|
|
10290
10327
|
}
|
|
10291
10328
|
|
|
10292
|
-
.scalar-app .md\:
|
|
10293
|
-
padding-inline: 6px;
|
|
10329
|
+
.scalar-app .md\:ps-1\.5 {
|
|
10330
|
+
padding-inline-start: 6px;
|
|
10331
|
+
}
|
|
10332
|
+
|
|
10333
|
+
.scalar-app .md\:pe-1\.5 {
|
|
10334
|
+
padding-inline-end: 6px;
|
|
10294
10335
|
}
|
|
10295
10336
|
|
|
10296
10337
|
.scalar-app .md\:opacity-0 {
|
|
@@ -10372,12 +10413,12 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
10372
10413
|
border-radius: 0;
|
|
10373
10414
|
}
|
|
10374
10415
|
|
|
10375
|
-
.scalar-app .xl\:
|
|
10376
|
-
padding-
|
|
10416
|
+
.scalar-app .xl\:ps-2 {
|
|
10417
|
+
padding-inline-start: 8px;
|
|
10377
10418
|
}
|
|
10378
10419
|
|
|
10379
|
-
.scalar-app .xl\:
|
|
10380
|
-
padding-
|
|
10420
|
+
.scalar-app .xl\:pe-0\.5 {
|
|
10421
|
+
padding-inline-end: 2px;
|
|
10381
10422
|
}
|
|
10382
10423
|
|
|
10383
10424
|
:is(.scalar-app .\*\:xl\:border-t-0 > *) {
|
|
@@ -11749,7 +11790,7 @@ div + .userMessage[data-v-6573ec87] {
|
|
|
11749
11790
|
display: inline;
|
|
11750
11791
|
}
|
|
11751
11792
|
|
|
11752
|
-
.references-classic .introduction-description[data-v-
|
|
11793
|
+
.references-classic .introduction-description[data-v-d48e32ee] img {
|
|
11753
11794
|
max-width: 720px;
|
|
11754
11795
|
}
|
|
11755
11796
|
|
|
@@ -12505,10 +12546,10 @@ to {
|
|
|
12505
12546
|
margin: 0 -4px 4px;
|
|
12506
12547
|
}
|
|
12507
12548
|
|
|
12508
|
-
.response-card[data-v-
|
|
12549
|
+
.response-card[data-v-eb02e111] {
|
|
12509
12550
|
font-size: var(--scalar-font-size-3);
|
|
12510
12551
|
}
|
|
12511
|
-
.response-card-footer[data-v-
|
|
12552
|
+
.response-card-footer[data-v-eb02e111] {
|
|
12512
12553
|
display: flex;
|
|
12513
12554
|
flex-direction: row-reverse;
|
|
12514
12555
|
flex-wrap: wrap;
|
|
@@ -12517,11 +12558,11 @@ to {
|
|
|
12517
12558
|
padding: 7px 12px;
|
|
12518
12559
|
column-gap: 8px;
|
|
12519
12560
|
}
|
|
12520
|
-
.response-example-selector[data-v-
|
|
12561
|
+
.response-example-selector[data-v-eb02e111] {
|
|
12521
12562
|
flex-shrink: 0;
|
|
12522
12563
|
margin: -4px;
|
|
12523
12564
|
}
|
|
12524
|
-
.response-description[data-v-
|
|
12565
|
+
.response-description[data-v-eb02e111] {
|
|
12525
12566
|
font-weight: var(--scalar-semibold);
|
|
12526
12567
|
font-size: var(--scalar-small);
|
|
12527
12568
|
color: var(--scalar-color--1);
|
|
@@ -12530,13 +12571,13 @@ to {
|
|
|
12530
12571
|
|
|
12531
12572
|
flex-grow: 1;
|
|
12532
12573
|
}
|
|
12533
|
-
.response-description-markdown[data-v-
|
|
12574
|
+
.response-description-markdown[data-v-eb02e111] {
|
|
12534
12575
|
max-height: 3lh;
|
|
12535
12576
|
}
|
|
12536
|
-
.response-description-markdown[data-v-
|
|
12577
|
+
.response-description-markdown[data-v-eb02e111] * {
|
|
12537
12578
|
margin: 0;
|
|
12538
12579
|
}
|
|
12539
|
-
.schema-type[data-v-
|
|
12580
|
+
.schema-type[data-v-eb02e111] {
|
|
12540
12581
|
font-size: var(--scalar-micro);
|
|
12541
12582
|
color: var(--scalar-color-2);
|
|
12542
12583
|
font-weight: var(--scalar-semibold);
|
|
@@ -12545,16 +12586,16 @@ to {
|
|
|
12545
12586
|
border-radius: 4px;
|
|
12546
12587
|
margin-right: 4px;
|
|
12547
12588
|
}
|
|
12548
|
-
.schema-example[data-v-
|
|
12589
|
+
.schema-example[data-v-eb02e111] {
|
|
12549
12590
|
font-size: var(--scalar-micro);
|
|
12550
12591
|
color: var(--scalar-color-2);
|
|
12551
12592
|
font-weight: var(--scalar-semibold);
|
|
12552
12593
|
}
|
|
12553
|
-
.example-response-tab[data-v-
|
|
12594
|
+
.example-response-tab[data-v-eb02e111] {
|
|
12554
12595
|
display: block;
|
|
12555
12596
|
margin: 6px;
|
|
12556
12597
|
}
|
|
12557
|
-
.scalar-card-checkbox[data-v-
|
|
12598
|
+
.scalar-card-checkbox[data-v-eb02e111] {
|
|
12558
12599
|
display: flex;
|
|
12559
12600
|
align-items: center;
|
|
12560
12601
|
justify-content: center;
|
|
@@ -12571,20 +12612,20 @@ to {
|
|
|
12571
12612
|
padding: 7px 6px;
|
|
12572
12613
|
}
|
|
12573
12614
|
.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible)
|
|
12574
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
12615
|
+
.scalar-card-checkbox-checkmark[data-v-eb02e111] {
|
|
12575
12616
|
outline: 1px solid var(--scalar-focus-color);
|
|
12576
12617
|
}
|
|
12577
|
-
.scalar-card-checkbox[data-v-
|
|
12618
|
+
.scalar-card-checkbox[data-v-eb02e111]:hover {
|
|
12578
12619
|
color: var(--scalar-color--1);
|
|
12579
12620
|
}
|
|
12580
|
-
.scalar-card-checkbox .scalar-card-checkbox-input[data-v-
|
|
12621
|
+
.scalar-card-checkbox .scalar-card-checkbox-input[data-v-eb02e111] {
|
|
12581
12622
|
position: absolute;
|
|
12582
12623
|
opacity: 0;
|
|
12583
12624
|
cursor: pointer;
|
|
12584
12625
|
height: 0;
|
|
12585
12626
|
width: 0;
|
|
12586
12627
|
}
|
|
12587
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
12628
|
+
.scalar-card-checkbox-checkmark[data-v-eb02e111] {
|
|
12588
12629
|
height: 16px;
|
|
12589
12630
|
width: 16px;
|
|
12590
12631
|
border-radius: var(--scalar-radius);
|
|
@@ -12592,27 +12633,27 @@ to {
|
|
|
12592
12633
|
background-color: var(--scalar-background-3);
|
|
12593
12634
|
box-shadow: inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
|
|
12594
12635
|
}
|
|
12595
|
-
.scalar-card-checkbox[data-v-
|
|
12636
|
+
.scalar-card-checkbox[data-v-eb02e111]:has(.scalar-card-checkbox-input:checked) {
|
|
12596
12637
|
color: var(--scalar-color-1);
|
|
12597
12638
|
font-weight: var(--scalar-semibold);
|
|
12598
12639
|
}
|
|
12599
12640
|
.scalar-card-checkbox
|
|
12600
12641
|
.scalar-card-checkbox-input:checked
|
|
12601
|
-
~ .scalar-card-checkbox-checkmark[data-v-
|
|
12642
|
+
~ .scalar-card-checkbox-checkmark[data-v-eb02e111] {
|
|
12602
12643
|
background-color: var(--scalar-button-1);
|
|
12603
12644
|
box-shadow: none;
|
|
12604
12645
|
}
|
|
12605
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
12646
|
+
.scalar-card-checkbox-checkmark[data-v-eb02e111]:after {
|
|
12606
12647
|
content: '';
|
|
12607
12648
|
position: absolute;
|
|
12608
12649
|
display: none;
|
|
12609
12650
|
}
|
|
12610
12651
|
.scalar-card-checkbox
|
|
12611
12652
|
.scalar-card-checkbox-input:checked
|
|
12612
|
-
~ .scalar-card-checkbox-checkmark[data-v-
|
|
12653
|
+
~ .scalar-card-checkbox-checkmark[data-v-eb02e111]:after {
|
|
12613
12654
|
display: block;
|
|
12614
12655
|
}
|
|
12615
|
-
.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-
|
|
12656
|
+
.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-eb02e111]:after {
|
|
12616
12657
|
right: 11.5px;
|
|
12617
12658
|
top: 12.5px;
|
|
12618
12659
|
width: 5px;
|
|
@@ -12622,14 +12663,14 @@ to {
|
|
|
12622
12663
|
transform: rotate(45deg);
|
|
12623
12664
|
}
|
|
12624
12665
|
|
|
12625
|
-
.parameter-item[data-v-
|
|
12666
|
+
.parameter-item[data-v-22730548] {
|
|
12626
12667
|
position: relative;
|
|
12627
12668
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12628
12669
|
}
|
|
12629
|
-
.parameter-item-container[data-v-
|
|
12670
|
+
.parameter-item-container[data-v-22730548] {
|
|
12630
12671
|
padding: 0;
|
|
12631
12672
|
}
|
|
12632
|
-
.parameter-item-name[data-v-
|
|
12673
|
+
.parameter-item-name[data-v-22730548] {
|
|
12633
12674
|
position: relative;
|
|
12634
12675
|
font-weight: var(--scalar-bold);
|
|
12635
12676
|
font-size: var(--scalar-font-size-4);
|
|
@@ -12637,33 +12678,33 @@ to {
|
|
|
12637
12678
|
color: var(--scalar-color-1);
|
|
12638
12679
|
overflow-wrap: break-word;
|
|
12639
12680
|
}
|
|
12640
|
-
.parameter-item-description[data-v-
|
|
12641
|
-
.parameter-item-description-summary[data-v-
|
|
12681
|
+
.parameter-item-description[data-v-22730548],
|
|
12682
|
+
.parameter-item-description-summary[data-v-22730548] {
|
|
12642
12683
|
font-size: var(--scalar-mini);
|
|
12643
12684
|
color: var(--scalar-color-2);
|
|
12644
12685
|
}
|
|
12645
|
-
.parameter-item-description-summary.parameter-item-description-summary[data-v-
|
|
12686
|
+
.parameter-item-description-summary.parameter-item-description-summary[data-v-22730548] > * {
|
|
12646
12687
|
--markdown-line-height: var(--scalar-line-height-5);
|
|
12647
12688
|
}
|
|
12648
12689
|
|
|
12649
12690
|
/* Match font size of markdown for property-detail-value since first child within accordian is displayed as if it were in the markdown section */
|
|
12650
12691
|
.parameter-item-trigger
|
|
12651
|
-
~ .parameter-item-container[data-v-
|
|
12692
|
+
~ .parameter-item-container[data-v-22730548]
|
|
12652
12693
|
.property--level-0 > .property-heading .property-detail-value {
|
|
12653
12694
|
font-size: var(--scalar-micro);
|
|
12654
12695
|
}
|
|
12655
|
-
.parameter-item-description[data-v-
|
|
12696
|
+
.parameter-item-description[data-v-22730548] {
|
|
12656
12697
|
margin-top: 6px;
|
|
12657
12698
|
font-size: var(--scalar-small);
|
|
12658
12699
|
color: var(--scalar-color-2);
|
|
12659
12700
|
line-height: 1.4;
|
|
12660
12701
|
}
|
|
12661
|
-
.parameter-item-description[data-v-
|
|
12702
|
+
.parameter-item-description[data-v-22730548] p {
|
|
12662
12703
|
margin-top: 4px;
|
|
12663
12704
|
font-size: var(--scalar-small);
|
|
12664
12705
|
color: var(--scalar-color-2);
|
|
12665
12706
|
}
|
|
12666
|
-
.parameter-item-trigger[data-v-
|
|
12707
|
+
.parameter-item-trigger[data-v-22730548] {
|
|
12667
12708
|
display: flex;
|
|
12668
12709
|
align-items: baseline;
|
|
12669
12710
|
line-height: var(--scalar-line-height-5);
|
|
@@ -12671,7 +12712,7 @@ to {
|
|
|
12671
12712
|
flex-wrap: wrap;
|
|
12672
12713
|
padding: 10px 0;
|
|
12673
12714
|
}
|
|
12674
|
-
.parameter-item-trigger-open[data-v-
|
|
12715
|
+
.parameter-item-trigger-open[data-v-22730548] {
|
|
12675
12716
|
padding-bottom: 0;
|
|
12676
12717
|
}
|
|
12677
12718
|
|
|
@@ -12769,11 +12810,11 @@ to {
|
|
|
12769
12810
|
margin-right: 4px;
|
|
12770
12811
|
}
|
|
12771
12812
|
/*! tailwindcss v4.3.5 | MIT License | https://tailwindcss.com */
|
|
12772
|
-
.operation-title[data-v-
|
|
12813
|
+
.operation-title[data-v-6d31ba32] {
|
|
12773
12814
|
justify-content: space-between;
|
|
12774
12815
|
display: flex;
|
|
12775
12816
|
}
|
|
12776
|
-
.operation-details[data-v-
|
|
12817
|
+
.operation-details[data-v-6d31ba32] {
|
|
12777
12818
|
flex-shrink: 1;
|
|
12778
12819
|
align-items: center;
|
|
12779
12820
|
gap: 9px;
|
|
@@ -12781,11 +12822,11 @@ to {
|
|
|
12781
12822
|
margin-top: 0;
|
|
12782
12823
|
display: flex;
|
|
12783
12824
|
}
|
|
12784
|
-
.operation-details[data-v-
|
|
12825
|
+
.operation-details[data-v-6d31ba32] .endpoint-anchor .scalar-button svg {
|
|
12785
12826
|
width: 16px;
|
|
12786
12827
|
height: 16px;
|
|
12787
12828
|
}
|
|
12788
|
-
.endpoint-type[data-v-
|
|
12829
|
+
.endpoint-type[data-v-6d31ba32] {
|
|
12789
12830
|
z-index: 0;
|
|
12790
12831
|
width: 60px;
|
|
12791
12832
|
font-size: var(--scalar-small);
|
|
@@ -12800,7 +12841,7 @@ to {
|
|
|
12800
12841
|
display: flex;
|
|
12801
12842
|
position: relative;
|
|
12802
12843
|
}
|
|
12803
|
-
.endpoint-type[data-v-
|
|
12844
|
+
.endpoint-type[data-v-6d31ba32]:after {
|
|
12804
12845
|
content: "";
|
|
12805
12846
|
z-index: -1;
|
|
12806
12847
|
opacity: .15;
|
|
@@ -12809,16 +12850,16 @@ to {
|
|
|
12809
12850
|
position: absolute;
|
|
12810
12851
|
inset: 0;
|
|
12811
12852
|
}
|
|
12812
|
-
.endpoint-anchor[data-v-
|
|
12853
|
+
.endpoint-anchor[data-v-6d31ba32] {
|
|
12813
12854
|
flex-shrink: 1;
|
|
12814
12855
|
align-items: center;
|
|
12815
12856
|
min-width: 0;
|
|
12816
12857
|
display: flex;
|
|
12817
12858
|
}
|
|
12818
|
-
.endpoint-anchor.label[data-v-
|
|
12859
|
+
.endpoint-anchor.label[data-v-6d31ba32] {
|
|
12819
12860
|
display: flex;
|
|
12820
12861
|
}
|
|
12821
|
-
.endpoint-label[data-v-
|
|
12862
|
+
.endpoint-label[data-v-6d31ba32] {
|
|
12822
12863
|
min-width: 0;
|
|
12823
12864
|
color: var(--scalar-color-1);
|
|
12824
12865
|
flex-shrink: 1;
|
|
@@ -12826,17 +12867,17 @@ to {
|
|
|
12826
12867
|
gap: 9px;
|
|
12827
12868
|
display: flex;
|
|
12828
12869
|
}
|
|
12829
|
-
.endpoint-label-path[data-v-
|
|
12870
|
+
.endpoint-label-path[data-v-6d31ba32] {
|
|
12830
12871
|
font-family: var(--scalar-font-code);
|
|
12831
12872
|
font-size: var(--scalar-mini);
|
|
12832
12873
|
text-overflow: ellipsis;
|
|
12833
12874
|
white-space: nowrap;
|
|
12834
12875
|
overflow: hidden;
|
|
12835
12876
|
}
|
|
12836
|
-
.endpoint-label-path[data-v-
|
|
12877
|
+
.endpoint-label-path[data-v-6d31ba32] em {
|
|
12837
12878
|
color: var(--scalar-color-2);
|
|
12838
12879
|
}
|
|
12839
|
-
.endpoint-label-name[data-v-
|
|
12880
|
+
.endpoint-label-name[data-v-6d31ba32] {
|
|
12840
12881
|
color: var(--scalar-color-2);
|
|
12841
12882
|
font-size: var(--scalar-small);
|
|
12842
12883
|
text-overflow: ellipsis;
|
|
@@ -12844,17 +12885,17 @@ to {
|
|
|
12844
12885
|
flex-shrink: 1000000000;
|
|
12845
12886
|
overflow: hidden;
|
|
12846
12887
|
}
|
|
12847
|
-
.endpoint-try-hint[data-v-
|
|
12888
|
+
.endpoint-try-hint[data-v-6d31ba32] {
|
|
12848
12889
|
flex-shrink: 0;
|
|
12849
12890
|
padding: 2px;
|
|
12850
12891
|
}
|
|
12851
|
-
.endpoint-copy[data-v-
|
|
12892
|
+
.endpoint-copy[data-v-6d31ba32] {
|
|
12852
12893
|
color: currentColor;
|
|
12853
12894
|
}
|
|
12854
|
-
.endpoint-copy[data-v-
|
|
12895
|
+
.endpoint-copy[data-v-6d31ba32] svg {
|
|
12855
12896
|
stroke-width: 2px;
|
|
12856
12897
|
}
|
|
12857
|
-
.endpoint-content[data-v-
|
|
12898
|
+
.endpoint-content[data-v-6d31ba32] {
|
|
12858
12899
|
grid-auto-columns: 1fr;
|
|
12859
12900
|
grid-auto-flow: row;
|
|
12860
12901
|
gap: 9px;
|
|
@@ -12862,62 +12903,62 @@ to {
|
|
|
12862
12903
|
display: grid;
|
|
12863
12904
|
}
|
|
12864
12905
|
@media (min-width: 1000px) {
|
|
12865
|
-
.endpoint-content[data-v-
|
|
12906
|
+
.endpoint-content[data-v-6d31ba32] {
|
|
12866
12907
|
grid-auto-flow: column;
|
|
12867
12908
|
}
|
|
12868
12909
|
}
|
|
12869
12910
|
@container (max-width: 900px) {
|
|
12870
|
-
.endpoint-content[data-v-
|
|
12911
|
+
.endpoint-content[data-v-6d31ba32] {
|
|
12871
12912
|
grid-template-columns: 1fr;
|
|
12872
12913
|
}
|
|
12873
12914
|
}
|
|
12874
|
-
.endpoint-content[data-v-
|
|
12915
|
+
.endpoint-content[data-v-6d31ba32] > * {
|
|
12875
12916
|
min-width: 0;
|
|
12876
12917
|
}
|
|
12877
|
-
.endpoint-content[data-v-
|
|
12918
|
+
.endpoint-content[data-v-6d31ba32]:has(.property--tree, .parameter-item--tree, .callback-list-item--tree) {
|
|
12878
12919
|
padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
|
|
12879
12920
|
}
|
|
12880
|
-
:is(.operation-details-card-item[data-v-
|
|
12921
|
+
:is(.operation-details-card-item[data-v-6d31ba32] .request-body-schema:has(.property--tree), .operation-details-card-item[data-v-6d31ba32] .callbacks-list:has(.callback-list-item--tree)) {
|
|
12881
12922
|
padding-inline-start: calc(var(--schema-gutter, 16px) + var(--schema-glyph-half, 9px) + 6px);
|
|
12882
12923
|
padding-inline-end: 9px;
|
|
12883
12924
|
}
|
|
12884
|
-
.endpoint-content[data-v-
|
|
12925
|
+
.endpoint-content[data-v-6d31ba32] .copy-link-trailing {
|
|
12885
12926
|
display: none;
|
|
12886
12927
|
}
|
|
12887
|
-
.operation-details-card[data-v-
|
|
12928
|
+
.operation-details-card[data-v-6d31ba32] {
|
|
12888
12929
|
flex-direction: column;
|
|
12889
12930
|
gap: 12px;
|
|
12890
12931
|
min-width: 0;
|
|
12891
12932
|
display: flex;
|
|
12892
12933
|
}
|
|
12893
|
-
:is(.operation-details-card-item[data-v-
|
|
12934
|
+
:is(.operation-details-card-item[data-v-6d31ba32] .parameter-list, .operation-details-card-item[data-v-6d31ba32] .callbacks-list) {
|
|
12894
12935
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12895
12936
|
border-radius: var(--scalar-radius-lg);
|
|
12896
12937
|
margin-top: 0;
|
|
12897
12938
|
}
|
|
12898
|
-
.operation-details-card-item[data-v-
|
|
12939
|
+
.operation-details-card-item[data-v-6d31ba32] {
|
|
12899
12940
|
flex-direction: column;
|
|
12900
12941
|
gap: 12px;
|
|
12901
12942
|
display: flex;
|
|
12902
12943
|
}
|
|
12903
|
-
.operation-details-card-item[data-v-
|
|
12944
|
+
.operation-details-card-item[data-v-6d31ba32] .parameter-list-items {
|
|
12904
12945
|
margin-bottom: 0;
|
|
12905
12946
|
}
|
|
12906
|
-
.operation-details-card[data-v-
|
|
12947
|
+
.operation-details-card[data-v-6d31ba32] .parameter-item:last-of-type .parameter-schema {
|
|
12907
12948
|
padding-bottom: 12px;
|
|
12908
12949
|
}
|
|
12909
|
-
.operation-details-card[data-v-
|
|
12950
|
+
.operation-details-card[data-v-6d31ba32] .parameter-list .parameter-list {
|
|
12910
12951
|
margin-bottom: 12px;
|
|
12911
12952
|
}
|
|
12912
|
-
.operation-details-card[data-v-
|
|
12953
|
+
.operation-details-card[data-v-6d31ba32] .parameter-item {
|
|
12913
12954
|
margin: 0;
|
|
12914
12955
|
padding: 0;
|
|
12915
12956
|
}
|
|
12916
|
-
.operation-details-card[data-v-
|
|
12957
|
+
.operation-details-card[data-v-6d31ba32] .property {
|
|
12917
12958
|
margin: 0;
|
|
12918
12959
|
padding: 9px;
|
|
12919
12960
|
}
|
|
12920
|
-
:is(.operation-details-card[data-v-
|
|
12961
|
+
:is(.operation-details-card[data-v-6d31ba32] .parameter-list-title, .operation-details-card[data-v-6d31ba32] .request-body-title, .operation-details-card[data-v-6d31ba32] .callbacks-title) {
|
|
12921
12962
|
text-transform: uppercase;
|
|
12922
12963
|
font-weight: var(--scalar-bold);
|
|
12923
12964
|
font-size: var(--scalar-mini);
|
|
@@ -12926,43 +12967,43 @@ to {
|
|
|
12926
12967
|
padding: 9px;
|
|
12927
12968
|
line-height: 1.33;
|
|
12928
12969
|
}
|
|
12929
|
-
.operation-details-card[data-v-
|
|
12970
|
+
.operation-details-card[data-v-6d31ba32] .request-body-description {
|
|
12930
12971
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12931
12972
|
margin-top: 0;
|
|
12932
12973
|
padding: 9px 9px 0;
|
|
12933
12974
|
}
|
|
12934
|
-
.operation-details-card[data-v-
|
|
12975
|
+
.operation-details-card[data-v-6d31ba32] .request-body {
|
|
12935
12976
|
border-radius: var(--scalar-radius-lg);
|
|
12936
12977
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
12937
12978
|
margin-top: 0;
|
|
12938
12979
|
}
|
|
12939
|
-
.operation-details-card[data-v-
|
|
12980
|
+
.operation-details-card[data-v-6d31ba32] .request-body .schema-card--level-0 > .schema-card-description {
|
|
12940
12981
|
padding-inline: 9px;
|
|
12941
12982
|
}
|
|
12942
|
-
.operation-details-card[data-v-
|
|
12983
|
+
.operation-details-card[data-v-6d31ba32] .request-body-header {
|
|
12943
12984
|
border-bottom: 0;
|
|
12944
12985
|
padding-bottom: 0;
|
|
12945
12986
|
}
|
|
12946
|
-
.operation-details-card[data-v-
|
|
12987
|
+
.operation-details-card[data-v-6d31ba32] .contents button {
|
|
12947
12988
|
margin-right: 9px;
|
|
12948
12989
|
}
|
|
12949
|
-
.operation-details-card[data-v-
|
|
12990
|
+
.operation-details-card[data-v-6d31ba32] .schema-card--open + .schema-card:not(.schema-card--open) {
|
|
12950
12991
|
margin-inline: 9px;
|
|
12951
12992
|
margin-bottom: 9px;
|
|
12952
12993
|
}
|
|
12953
|
-
.operation-details-card[data-v-
|
|
12994
|
+
.operation-details-card[data-v-6d31ba32] .request-body-schema .property--level-0 {
|
|
12954
12995
|
padding: 0;
|
|
12955
12996
|
}
|
|
12956
|
-
.operation-details-card[data-v-
|
|
12997
|
+
.operation-details-card[data-v-6d31ba32] .selected-content-type {
|
|
12957
12998
|
margin-right: 9px;
|
|
12958
12999
|
}
|
|
12959
|
-
.operation-example-card[data-v-
|
|
13000
|
+
.operation-example-card[data-v-6d31ba32] {
|
|
12960
13001
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
12961
13002
|
max-height: calc(var(--refs-viewport-height) - 48px);
|
|
12962
13003
|
position: sticky;
|
|
12963
13004
|
}
|
|
12964
13005
|
@media (max-width: 600px) {
|
|
12965
|
-
.operation-example-card[data-v-
|
|
13006
|
+
.operation-example-card[data-v-6d31ba32] {
|
|
12966
13007
|
max-height: unset;
|
|
12967
13008
|
position: static;
|
|
12968
13009
|
}
|
|
@@ -13062,7 +13103,7 @@ to {
|
|
|
13062
13103
|
* its own leading margin (mt-6) that already spaces it from whatever precedes
|
|
13063
13104
|
* it — a row-gap would double that gap.
|
|
13064
13105
|
*/
|
|
13065
|
-
.operation-layout[data-v-
|
|
13106
|
+
.operation-layout[data-v-803cc8f0] {
|
|
13066
13107
|
display: grid;
|
|
13067
13108
|
grid-template-columns: 1fr 1fr;
|
|
13068
13109
|
grid-template-rows: auto auto 1fr;
|
|
@@ -13073,7 +13114,7 @@ to {
|
|
|
13073
13114
|
column-gap: 48px;
|
|
13074
13115
|
row-gap: 0;
|
|
13075
13116
|
}
|
|
13076
|
-
.operation-title[data-v-
|
|
13117
|
+
.operation-title[data-v-803cc8f0] {
|
|
13077
13118
|
grid-area: heading;
|
|
13078
13119
|
min-width: 0;
|
|
13079
13120
|
margin-bottom: 12px;
|
|
@@ -13085,7 +13126,7 @@ to {
|
|
|
13085
13126
|
line-height: 1.45;
|
|
13086
13127
|
overflow-wrap: break-word;
|
|
13087
13128
|
}
|
|
13088
|
-
.operation-request-actions[data-v-
|
|
13129
|
+
.operation-request-actions[data-v-803cc8f0] .agent-button-container {
|
|
13089
13130
|
margin-right: 0;
|
|
13090
13131
|
justify-content: center;
|
|
13091
13132
|
}
|
|
@@ -13095,7 +13136,7 @@ to {
|
|
|
13095
13136
|
* the end edge like the row itself, and a long badge name must not widen the
|
|
13096
13137
|
* whole grid.
|
|
13097
13138
|
*/
|
|
13098
|
-
.operation-auth[data-v-
|
|
13139
|
+
.operation-auth[data-v-803cc8f0] {
|
|
13099
13140
|
grid-area: badge;
|
|
13100
13141
|
justify-self: end;
|
|
13101
13142
|
align-self: start;
|
|
@@ -13104,18 +13145,18 @@ to {
|
|
|
13104
13145
|
}
|
|
13105
13146
|
|
|
13106
13147
|
/* Badges that wrap among themselves line up with the row around them */
|
|
13107
|
-
.operation-after-badges[data-v-
|
|
13148
|
+
.operation-after-badges[data-v-803cc8f0] {
|
|
13108
13149
|
justify-content: inherit;
|
|
13109
13150
|
}
|
|
13110
|
-
.operation-description[data-v-
|
|
13151
|
+
.operation-description[data-v-803cc8f0] {
|
|
13111
13152
|
grid-area: description;
|
|
13112
13153
|
min-width: 0;
|
|
13113
13154
|
}
|
|
13114
|
-
.operation-details[data-v-
|
|
13155
|
+
.operation-details[data-v-803cc8f0] {
|
|
13115
13156
|
grid-area: details;
|
|
13116
13157
|
min-width: 0;
|
|
13117
13158
|
}
|
|
13118
|
-
.examples[data-v-
|
|
13159
|
+
.examples[data-v-803cc8f0] {
|
|
13119
13160
|
grid-area: examples;
|
|
13120
13161
|
align-self: start;
|
|
13121
13162
|
min-width: 0;
|
|
@@ -13123,11 +13164,11 @@ to {
|
|
|
13123
13164
|
position: sticky;
|
|
13124
13165
|
top: calc(var(--refs-viewport-offset) + 24px);
|
|
13125
13166
|
}
|
|
13126
|
-
.examples[data-v-
|
|
13167
|
+
.examples[data-v-803cc8f0] > * {
|
|
13127
13168
|
max-height: calc((var(--refs-viewport-height) - 60px) / 2);
|
|
13128
13169
|
position: relative;
|
|
13129
13170
|
}
|
|
13130
|
-
.examples[data-v-
|
|
13171
|
+
.examples[data-v-803cc8f0] > *:first-of-type:last-of-type {
|
|
13131
13172
|
max-height: calc((var(--refs-viewport-height) - 60px));
|
|
13132
13173
|
}
|
|
13133
13174
|
|
|
@@ -13136,11 +13177,11 @@ to {
|
|
|
13136
13177
|
* (or zoomed in screens)
|
|
13137
13178
|
*/
|
|
13138
13179
|
@media (max-width: 600px) {
|
|
13139
|
-
.examples[data-v-
|
|
13180
|
+
.examples[data-v-803cc8f0] > * {
|
|
13140
13181
|
max-height: unset;
|
|
13141
13182
|
}
|
|
13142
13183
|
}
|
|
13143
|
-
.deprecated[data-v-
|
|
13184
|
+
.deprecated[data-v-803cc8f0] * {
|
|
13144
13185
|
text-decoration: line-through;
|
|
13145
13186
|
}
|
|
13146
13187
|
|
|
@@ -13150,7 +13191,7 @@ to {
|
|
|
13150
13191
|
* an eyebrow above the title.
|
|
13151
13192
|
*/
|
|
13152
13193
|
@container references-container (max-width: 900px) {
|
|
13153
|
-
.operation-layout[data-v-
|
|
13194
|
+
.operation-layout[data-v-803cc8f0] {
|
|
13154
13195
|
grid-template-columns: 1fr;
|
|
13155
13196
|
grid-template-areas:
|
|
13156
13197
|
'badge'
|
|
@@ -13160,17 +13201,17 @@ to {
|
|
|
13160
13201
|
'details';
|
|
13161
13202
|
column-gap: 0;
|
|
13162
13203
|
}
|
|
13163
|
-
.operation-auth[data-v-
|
|
13204
|
+
.operation-auth[data-v-803cc8f0] {
|
|
13164
13205
|
justify-self: start;
|
|
13165
13206
|
justify-content: flex-start;
|
|
13166
13207
|
margin-bottom: 4px;
|
|
13167
13208
|
}
|
|
13168
|
-
.operation-description[data-v-
|
|
13209
|
+
.operation-description[data-v-803cc8f0] {
|
|
13169
13210
|
margin-bottom: 24px;
|
|
13170
13211
|
}
|
|
13171
13212
|
|
|
13172
13213
|
/* Don't make the examples sticky on narrow viewports */
|
|
13173
|
-
.examples[data-v-
|
|
13214
|
+
.examples[data-v-803cc8f0] {
|
|
13174
13215
|
position: static;
|
|
13175
13216
|
}
|
|
13176
13217
|
}
|
|
@@ -13334,17 +13375,32 @@ to {
|
|
|
13334
13375
|
* The bar lives inside `.references-container`, so it shares the same
|
|
13335
13376
|
* container query the sections use to drop their inset on narrow layouts.
|
|
13336
13377
|
*/
|
|
13337
|
-
.context-bar[data-v-
|
|
13378
|
+
.context-bar[data-v-a710a208] {
|
|
13338
13379
|
height: 48px;
|
|
13339
13380
|
padding-inline: 60px;
|
|
13340
13381
|
box-shadow: inset 0 var(--scalar-border-width) 0 var(--scalar-border-color);
|
|
13341
13382
|
}
|
|
13342
|
-
|
|
13383
|
+
@layer scalar-config {
|
|
13384
|
+
.context-bar[data-v-a710a208] {
|
|
13385
|
+
top: var(--refs-header-height, var(--refs-content-header-height));
|
|
13386
|
+
}
|
|
13387
|
+
.context-bar[data-typed-header-reservation][data-v-a710a208] {
|
|
13388
|
+
--refs-breadcrumb-header-reservation: var(--refs-header-height, 0px);
|
|
13389
|
+
top: max(
|
|
13390
|
+
var(--refs-breadcrumb-header-reservation),
|
|
13391
|
+
var(
|
|
13392
|
+
--refs-content-header-height,
|
|
13393
|
+
var(--refs-breadcrumb-header-reservation)
|
|
13394
|
+
)
|
|
13395
|
+
);
|
|
13396
|
+
}
|
|
13397
|
+
}
|
|
13398
|
+
.context-bar[data-stuck][data-v-a710a208] {
|
|
13343
13399
|
box-shadow: inset 0 calc(var(--scalar-border-width) * -1) 0
|
|
13344
13400
|
var(--scalar-border-color);
|
|
13345
13401
|
}
|
|
13346
13402
|
@container references-container (max-width: 900px) {
|
|
13347
|
-
.context-bar[data-v-
|
|
13403
|
+
.context-bar[data-v-a710a208] {
|
|
13348
13404
|
padding-inline: 24px;
|
|
13349
13405
|
}
|
|
13350
13406
|
}
|
|
@@ -13361,7 +13417,7 @@ to {
|
|
|
13361
13417
|
container-type: inline-size;
|
|
13362
13418
|
}
|
|
13363
13419
|
|
|
13364
|
-
.ref-search-meta[data-v-
|
|
13420
|
+
.ref-search-meta[data-v-fffc6084] {
|
|
13365
13421
|
background: var(--scalar-background-1);
|
|
13366
13422
|
border-bottom-left-radius: var(--scalar-radius-lg);
|
|
13367
13423
|
border-bottom-right-radius: var(--scalar-radius-lg);
|
|
@@ -13563,14 +13619,33 @@ to {
|
|
|
13563
13619
|
|
|
13564
13620
|
/* Configurable Layout Variables */
|
|
13565
13621
|
@layer scalar-config {
|
|
13566
|
-
.scalar-api-reference[data-v-
|
|
13622
|
+
.scalar-api-reference[data-v-f7457c87] {
|
|
13623
|
+
/* Resolve the desktop reservation on the card, which owns the sidebar inset. */
|
|
13624
|
+
--refs-manual-header-offset: var(--scalar-custom-header-height, 0px);
|
|
13625
|
+
/* A measured inset already includes any part reserved by the host. */
|
|
13626
|
+
--refs-host-header-offset: var(
|
|
13627
|
+
--refs-registered-header-offset,
|
|
13628
|
+
var(--refs-manual-header-offset)
|
|
13629
|
+
);
|
|
13567
13630
|
/* The header height */
|
|
13568
|
-
--refs-header-height: calc(
|
|
13631
|
+
--refs-manual-header-height: calc(
|
|
13569
13632
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
13570
13633
|
);
|
|
13634
|
+
--refs-header-height: var(--refs-manual-header-height);
|
|
13635
|
+
--refs-content-reservation: var(--refs-header-height, 0px);
|
|
13636
|
+
--refs-manual-viewport-offset: calc(
|
|
13637
|
+
var(--refs-content-reservation) + var(--refs-content-offset, 0px)
|
|
13638
|
+
);
|
|
13639
|
+
/* Keep automatic content clearance separate from the sidebar's authored inset. */
|
|
13640
|
+
--refs-registered-scroll-offset: var(
|
|
13641
|
+
--refs-registered-content-offset,
|
|
13642
|
+
none
|
|
13643
|
+
);
|
|
13644
|
+
--refs-content-header-height: var(--refs-registered-content-offset);
|
|
13571
13645
|
/* The offset of visible references content (minus headers) */
|
|
13572
13646
|
--refs-viewport-offset: calc(
|
|
13573
|
-
var(--refs-header-height,
|
|
13647
|
+
var(--refs-content-header-height, var(--refs-header-height, 0px)) +
|
|
13648
|
+
var(--refs-content-offset, 0px)
|
|
13574
13649
|
);
|
|
13575
13650
|
/* The calculated height of visible references content (minus headers) */
|
|
13576
13651
|
--refs-viewport-height: calc(
|
|
@@ -13578,27 +13653,42 @@ to {
|
|
|
13578
13653
|
);
|
|
13579
13654
|
/* The width of the sidebar */
|
|
13580
13655
|
--refs-sidebar-width: var(--scalar-sidebar-width, 0px);
|
|
13656
|
+
--refs-sidebar-chrome-height: var(--scalar-header-height, 0px);
|
|
13657
|
+
--refs-sidebar-top: calc(
|
|
13658
|
+
var(--refs-registered-header-offset) + var(--refs-sidebar-chrome-height)
|
|
13659
|
+
);
|
|
13581
13660
|
/* The height of the sidebar */
|
|
13582
13661
|
--refs-sidebar-height: calc(
|
|
13583
|
-
var(--full-height, 100dvh) -
|
|
13662
|
+
var(--full-height, 100dvh) -
|
|
13663
|
+
var(--refs-sidebar-top, var(--refs-header-height, 0px))
|
|
13584
13664
|
);
|
|
13585
13665
|
/* The maximum width of the content column */
|
|
13586
13666
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
13587
13667
|
}
|
|
13588
|
-
|
|
13668
|
+
@media (width >= 1000px) {
|
|
13669
|
+
.scalar-api-reference[data-v-f7457c87] > .t-doc__sidebar {
|
|
13670
|
+
--refs-manual-header-offset: calc(
|
|
13671
|
+
var(--refs-header-height) - var(--refs-sidebar-chrome-height)
|
|
13672
|
+
);
|
|
13673
|
+
--refs-configured-header-offset: calc(
|
|
13674
|
+
var(--refs-manual-header-height) - var(--refs-sidebar-chrome-height)
|
|
13675
|
+
);
|
|
13676
|
+
}
|
|
13677
|
+
}
|
|
13678
|
+
.scalar-api-reference.references-classic[data-v-f7457c87] {
|
|
13589
13679
|
/* Classic layout is wider */
|
|
13590
13680
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
13591
13681
|
min-height: 100dvh;
|
|
13592
13682
|
--refs-sidebar-width: 0;
|
|
13593
13683
|
}
|
|
13594
13684
|
}
|
|
13595
|
-
.t-doc__sidebar[data-v-
|
|
13685
|
+
.t-doc__sidebar[data-v-f7457c87] {
|
|
13596
13686
|
z-index: 10;
|
|
13597
13687
|
}
|
|
13598
13688
|
|
|
13599
13689
|
/* ----------------------------------------------------- */
|
|
13600
13690
|
/* References Layout */
|
|
13601
|
-
.references-layout[data-v-
|
|
13691
|
+
.references-layout[data-v-f7457c87] {
|
|
13602
13692
|
/* Try to fill the container */
|
|
13603
13693
|
min-height: 100dvh;
|
|
13604
13694
|
min-width: 100%;
|
|
@@ -13622,36 +13712,36 @@ to {
|
|
|
13622
13712
|
|
|
13623
13713
|
background: var(--scalar-background-1);
|
|
13624
13714
|
}
|
|
13625
|
-
.references-editor[data-v-
|
|
13715
|
+
.references-editor[data-v-f7457c87] {
|
|
13626
13716
|
grid-area: editor;
|
|
13627
13717
|
display: flex;
|
|
13628
13718
|
min-width: 0;
|
|
13629
13719
|
background: var(--scalar-background-1);
|
|
13630
13720
|
}
|
|
13631
|
-
.references-rendered[data-v-
|
|
13721
|
+
.references-rendered[data-v-f7457c87] {
|
|
13632
13722
|
position: relative;
|
|
13633
13723
|
grid-area: rendered;
|
|
13634
13724
|
min-width: 0;
|
|
13635
13725
|
background: var(--scalar-background-1);
|
|
13636
13726
|
}
|
|
13637
|
-
.scalar-api-reference.references-classic[data-v-
|
|
13638
|
-
.references-classic .references-rendered[data-v-
|
|
13727
|
+
.scalar-api-reference.references-classic[data-v-f7457c87],
|
|
13728
|
+
.references-classic .references-rendered[data-v-f7457c87] {
|
|
13639
13729
|
height: initial !important;
|
|
13640
13730
|
max-height: initial !important;
|
|
13641
13731
|
}
|
|
13642
13732
|
/* Give the classic layout some breathing room at the end of the scroll */
|
|
13643
|
-
.references-classic .references-rendered[data-v-
|
|
13733
|
+
.references-classic .references-rendered[data-v-f7457c87] {
|
|
13644
13734
|
padding-bottom: 80px;
|
|
13645
13735
|
}
|
|
13646
13736
|
@layer scalar-config {
|
|
13647
|
-
.references-sidebar[data-v-
|
|
13737
|
+
.references-sidebar[data-v-f7457c87] {
|
|
13648
13738
|
/* Set a default width if references are enabled */
|
|
13649
13739
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
13650
13740
|
}
|
|
13651
13741
|
}
|
|
13652
13742
|
|
|
13653
13743
|
/* Footer */
|
|
13654
|
-
.references-footer[data-v-
|
|
13744
|
+
.references-footer[data-v-f7457c87] {
|
|
13655
13745
|
grid-area: footer;
|
|
13656
13746
|
}
|
|
13657
13747
|
/* ----------------------------------------------------- */
|
|
@@ -13667,15 +13757,20 @@ to {
|
|
|
13667
13757
|
*/
|
|
13668
13758
|
@media (width < 1000px) {
|
|
13669
13759
|
/* Keep toolbar hidden on mobile without forcing desktop display mode. */
|
|
13670
|
-
.references-developer-tools[data-v-
|
|
13760
|
+
.references-developer-tools[data-v-f7457c87] {
|
|
13671
13761
|
display: none;
|
|
13672
13762
|
}
|
|
13673
13763
|
|
|
13674
13764
|
/* Stack view on mobile */
|
|
13675
|
-
.references-layout[data-v-
|
|
13765
|
+
.references-layout[data-v-f7457c87] {
|
|
13766
|
+
--refs-registered-scroll-offset: var(--refs-registered-header-offset, none);
|
|
13767
|
+
--refs-content-header-height: max(
|
|
13768
|
+
var(--refs-measured-content-reservation, 0px),
|
|
13769
|
+
var(--refs-sidebar-top)
|
|
13770
|
+
);
|
|
13676
13771
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
13677
13772
|
--refs-sidebar-height: calc(
|
|
13678
|
-
var(--full-height, 100dvh) - var(--
|
|
13773
|
+
var(--full-height, 100dvh) - var(--refs-host-header-offset)
|
|
13679
13774
|
);
|
|
13680
13775
|
|
|
13681
13776
|
grid-template-columns: 100%;
|
|
@@ -13687,13 +13782,13 @@ to {
|
|
|
13687
13782
|
'rendered'
|
|
13688
13783
|
'footer';
|
|
13689
13784
|
}
|
|
13690
|
-
.references-editable[data-v-
|
|
13785
|
+
.references-editable[data-v-f7457c87] {
|
|
13691
13786
|
grid-template-areas:
|
|
13692
13787
|
'header'
|
|
13693
13788
|
'navigation'
|
|
13694
13789
|
'editor';
|
|
13695
13790
|
}
|
|
13696
|
-
.references-rendered[data-v-
|
|
13791
|
+
.references-rendered[data-v-f7457c87] {
|
|
13697
13792
|
position: static;
|
|
13698
13793
|
}
|
|
13699
13794
|
}
|
|
@@ -13713,14 +13808,18 @@ to {
|
|
|
13713
13808
|
* Scoped to the breakpoint that shows the toolbar, so narrow viewports keep the plain layout.
|
|
13714
13809
|
*/
|
|
13715
13810
|
@media (width >= 1000px) {
|
|
13716
|
-
.references-shell[data-v-
|
|
13811
|
+
.references-shell[data-v-f7457c87] {
|
|
13717
13812
|
/* The toolbar reads this for its height, so the offsets below always match what it renders */
|
|
13718
13813
|
--refs-shell-toolbar-height: 48px;
|
|
13719
13814
|
/* Breathing room between the card and the viewport edge, and between the card and the panel */
|
|
13720
13815
|
--refs-shell-gutter: 8px;
|
|
13721
13816
|
/* Where the card starts: below an embedding page's own sticky header and the toolbar */
|
|
13722
13817
|
--refs-shell-top: calc(
|
|
13723
|
-
var(
|
|
13818
|
+
var(
|
|
13819
|
+
--refs-registered-toolbar-offset,
|
|
13820
|
+
var(--scalar-custom-header-height, 0px)
|
|
13821
|
+
) +
|
|
13822
|
+
var(--refs-shell-toolbar-height)
|
|
13724
13823
|
);
|
|
13725
13824
|
/* How tall the frame and the panel are while they stick: the viewport below the toolbar */
|
|
13726
13825
|
--refs-shell-stuck-height: calc(
|
|
@@ -13737,14 +13836,15 @@ to {
|
|
|
13737
13836
|
}
|
|
13738
13837
|
|
|
13739
13838
|
/* Darker than the card rather than lighter, so it still reads as a backdrop */
|
|
13740
|
-
.dark-mode .references-shell[data-v-
|
|
13839
|
+
.dark-mode .references-shell[data-v-f7457c87] {
|
|
13741
13840
|
--refs-shell-backdrop: color-mix(
|
|
13742
13841
|
in srgb,
|
|
13743
13842
|
var(--scalar-background-1) 25%,
|
|
13744
13843
|
black 75%
|
|
13745
13844
|
);
|
|
13746
13845
|
}
|
|
13747
|
-
.references-shell-toolbar[data-v-
|
|
13846
|
+
.references-shell-toolbar[data-v-f7457c87] {
|
|
13847
|
+
--refs-manual-header-offset: var(--scalar-custom-header-height, 0px);
|
|
13748
13848
|
/*
|
|
13749
13849
|
* A sticky grid item only sticks within its own grid area, so the toolbar spans the whole grid
|
|
13750
13850
|
* and sits at the top of it, while the first row keeps its height free.
|
|
@@ -13753,12 +13853,15 @@ to {
|
|
|
13753
13853
|
align-self: start;
|
|
13754
13854
|
position: sticky;
|
|
13755
13855
|
/* Below an embedding page's own sticky header, like the sidebar */
|
|
13756
|
-
top: var(
|
|
13856
|
+
top: var(
|
|
13857
|
+
--refs-registered-toolbar-offset,
|
|
13858
|
+
var(--refs-manual-header-offset)
|
|
13859
|
+
);
|
|
13757
13860
|
/* Above the frame and the panel, so its buttons sit on top of the backdrop the frame paints */
|
|
13758
13861
|
z-index: 20;
|
|
13759
13862
|
background: var(--refs-shell-backdrop);
|
|
13760
13863
|
}
|
|
13761
|
-
.references-shell-card[data-v-
|
|
13864
|
+
.references-shell-card[data-v-f7457c87] {
|
|
13762
13865
|
grid-area: 2 / 1;
|
|
13763
13866
|
/* Fill the viewport below the toolbar, so a short document still ends at the frame */
|
|
13764
13867
|
min-height: var(--refs-shell-stuck-height);
|
|
@@ -13774,7 +13877,7 @@ to {
|
|
|
13774
13877
|
* It sticks within the card's grid area, so it follows the card's end when the page has more
|
|
13775
13878
|
* content after the reference. Above the sidebar and the context bar, below the panel and toolbar.
|
|
13776
13879
|
*/
|
|
13777
|
-
.references-shell-frame[data-v-
|
|
13880
|
+
.references-shell-frame[data-v-f7457c87] {
|
|
13778
13881
|
grid-area: 2 / 1;
|
|
13779
13882
|
align-self: start;
|
|
13780
13883
|
position: sticky;
|
|
@@ -13795,7 +13898,7 @@ to {
|
|
|
13795
13898
|
* Below the toolbar, which it slides under when the card ends before the page does. Dropdowns
|
|
13796
13899
|
* inside it are teleported, so they still open above the toolbar.
|
|
13797
13900
|
*/
|
|
13798
|
-
.references-shell-panel[data-v-
|
|
13901
|
+
.references-shell-panel[data-v-f7457c87] {
|
|
13799
13902
|
grid-area: 2 / 2;
|
|
13800
13903
|
align-self: start;
|
|
13801
13904
|
position: sticky;
|
|
@@ -13806,7 +13909,7 @@ to {
|
|
|
13806
13909
|
height: var(--refs-shell-stuck-height);
|
|
13807
13910
|
margin-inline-start: var(--refs-shell-gutter);
|
|
13808
13911
|
transform-origin: top center;
|
|
13809
|
-
animation: refs-shell-panel-in-
|
|
13912
|
+
animation: refs-shell-panel-in-f7457c87 180ms cubic-bezier(0.32, 0.72, 0, 1);
|
|
13810
13913
|
}
|
|
13811
13914
|
|
|
13812
13915
|
/*
|
|
@@ -13816,7 +13919,7 @@ to {
|
|
|
13816
13919
|
* sidebar scrolls on its own, below the toolbar.
|
|
13817
13920
|
*/
|
|
13818
13921
|
.references-shell-card
|
|
13819
|
-
.references-rendered[data-v-
|
|
13922
|
+
.references-rendered[data-v-f7457c87]
|
|
13820
13923
|
|
|
13821
13924
|
:is(
|
|
13822
13925
|
a[href],
|
|
@@ -13828,7 +13931,9 @@ to {
|
|
|
13828
13931
|
[tabindex]:not([tabindex='-1'])
|
|
13829
13932
|
):not([id])
|
|
13830
13933
|
{
|
|
13831
|
-
scroll-margin-top: calc(
|
|
13934
|
+
scroll-margin-top: calc(
|
|
13935
|
+
var(--refs-content-header-height, var(--refs-header-height)) + 8px
|
|
13936
|
+
);
|
|
13832
13937
|
}
|
|
13833
13938
|
|
|
13834
13939
|
/*
|
|
@@ -13844,44 +13949,58 @@ to {
|
|
|
13844
13949
|
*
|
|
13845
13950
|
* Doubled classes: the drawer's own narrow-screen rules still match at exactly 1000px.
|
|
13846
13951
|
*/
|
|
13847
|
-
.references-shell[data-v-
|
|
13848
|
-
.references-shell[data-v-
|
|
13952
|
+
.references-shell[data-v-f7457c87] .agent-scalar-overlay.agent-scalar-overlay,
|
|
13953
|
+
.references-shell[data-v-f7457c87] .agent-scalar.agent-scalar {
|
|
13849
13954
|
--refs-shell-agent-end: var(--refs-shell-gutter);
|
|
13850
13955
|
z-index: 10;
|
|
13851
13956
|
}
|
|
13852
|
-
.references-shell[data-shell-panel][data-v-
|
|
13957
|
+
.references-shell[data-shell-panel][data-v-f7457c87]
|
|
13853
13958
|
.agent-scalar-overlay.agent-scalar-overlay,
|
|
13854
|
-
.references-shell[data-shell-panel][data-v-
|
|
13959
|
+
.references-shell[data-shell-panel][data-v-f7457c87] .agent-scalar.agent-scalar {
|
|
13855
13960
|
--refs-shell-agent-end: calc(
|
|
13856
13961
|
var(--refs-shell-gutter) * 2 + var(--refs-shell-panel-width)
|
|
13857
13962
|
);
|
|
13858
13963
|
}
|
|
13859
|
-
.references-shell[data-v-
|
|
13964
|
+
.references-shell[data-v-f7457c87] .agent-scalar-overlay.agent-scalar-overlay {
|
|
13860
13965
|
inset: var(--refs-shell-top) var(--refs-shell-agent-end)
|
|
13861
13966
|
var(--refs-shell-gutter) var(--refs-shell-gutter);
|
|
13862
13967
|
}
|
|
13863
|
-
.references-shell[data-v-
|
|
13968
|
+
.references-shell[data-v-f7457c87] .agent-scalar.agent-scalar {
|
|
13864
13969
|
inset: var(--refs-shell-top) calc(var(--refs-shell-agent-end) + 48px)
|
|
13865
13970
|
var(--refs-shell-gutter)
|
|
13866
13971
|
calc(var(--refs-shell-gutter) + var(--refs-sidebar-width));
|
|
13867
13972
|
}
|
|
13868
13973
|
/* The classic layout has no sidebar, and its unitless 0 width would make the sum above invalid */
|
|
13869
|
-
.references-shell[data-v-
|
|
13974
|
+
.references-shell[data-v-f7457c87] .references-classic .agent-scalar.agent-scalar {
|
|
13870
13975
|
left: var(--refs-shell-gutter);
|
|
13871
13976
|
}
|
|
13872
13977
|
@layer scalar-config {
|
|
13873
|
-
.scalar-api-reference.references-shell-card[data-v-
|
|
13874
|
-
|
|
13875
|
-
|
|
13876
|
-
|
|
13877
|
-
|
|
13978
|
+
.scalar-api-reference.references-shell-card[data-v-f7457c87] {
|
|
13979
|
+
--refs-sidebar-chrome-height: calc(
|
|
13980
|
+
var(--scalar-header-height, 0px) + var(--refs-shell-toolbar-height)
|
|
13981
|
+
);
|
|
13982
|
+
--refs-manual-header-height: calc(
|
|
13983
|
+
var(--refs-manual-header-offset) + var(--refs-sidebar-chrome-height)
|
|
13984
|
+
);
|
|
13985
|
+
--refs-registered-scroll-offset: var(
|
|
13986
|
+
--refs-registered-toolbar-offset,
|
|
13987
|
+
none
|
|
13988
|
+
);
|
|
13989
|
+
/* Content jumps clear the moved toolbar while the sidebar keeps its manual reservation. */
|
|
13990
|
+
--refs-content-header-height: max(
|
|
13991
|
+
var(--refs-measured-content-reservation, 0px),
|
|
13992
|
+
calc(
|
|
13993
|
+
var(--refs-registered-toolbar-offset) +
|
|
13994
|
+
var(--refs-sidebar-chrome-height)
|
|
13995
|
+
)
|
|
13878
13996
|
);
|
|
13879
13997
|
/*
|
|
13880
13998
|
* Stop at the card's bottom edge. A sidebar as tall as the viewport would be pushed up under
|
|
13881
13999
|
* the toolbar once the card's bottom gutter scrolls into view.
|
|
13882
14000
|
*/
|
|
13883
14001
|
--refs-sidebar-height: calc(
|
|
13884
|
-
var(--full-height, 100dvh) -
|
|
14002
|
+
var(--full-height, 100dvh) -
|
|
14003
|
+
var(--refs-sidebar-top, var(--refs-header-height, 0px)) -
|
|
13885
14004
|
var(--refs-shell-gutter) - var(--scalar-border-width)
|
|
13886
14005
|
);
|
|
13887
14006
|
}
|
|
@@ -13890,20 +14009,20 @@ to {
|
|
|
13890
14009
|
|
|
13891
14010
|
/* The panel only exists at the toolbar's breakpoint; the script closes it below that */
|
|
13892
14011
|
@media (width < 1000px) {
|
|
13893
|
-
.references-shell-panel[data-v-
|
|
14012
|
+
.references-shell-panel[data-v-f7457c87] {
|
|
13894
14013
|
display: none;
|
|
13895
14014
|
}
|
|
13896
14015
|
}
|
|
13897
14016
|
|
|
13898
14017
|
/* Scales in place rather than sliding, so it never pokes past the viewport edge or needs mirroring */
|
|
13899
|
-
@keyframes refs-shell-panel-in-
|
|
14018
|
+
@keyframes refs-shell-panel-in-f7457c87 {
|
|
13900
14019
|
from {
|
|
13901
14020
|
opacity: 0;
|
|
13902
14021
|
scale: 0.985;
|
|
13903
14022
|
}
|
|
13904
14023
|
}
|
|
13905
14024
|
@media (prefers-reduced-motion: reduce) {
|
|
13906
|
-
.references-shell-panel[data-v-
|
|
14025
|
+
.references-shell-panel[data-v-f7457c87] {
|
|
13907
14026
|
animation: none;
|
|
13908
14027
|
}
|
|
13909
14028
|
}
|
|
@@ -13915,12 +14034,12 @@ from {
|
|
|
13915
14034
|
*/
|
|
13916
14035
|
/* Match the layout breakpoint above so the mobile header height is only applied below `lg`. */
|
|
13917
14036
|
@media (width < 1000px) {
|
|
13918
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
14037
|
+
.scalar-api-references-standalone-mobile[data-v-f7457c87]:not(.references-classic) {
|
|
13919
14038
|
--scalar-header-height: 50px;
|
|
13920
14039
|
}
|
|
13921
14040
|
}
|
|
13922
14041
|
|
|
13923
|
-
.darklight-reference[data-v-
|
|
14042
|
+
.darklight-reference[data-v-f7457c87] {
|
|
13924
14043
|
width: 100%;
|
|
13925
14044
|
margin-top: auto;
|
|
13926
14045
|
}
|
package/package.json
CHANGED
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"testing",
|
|
19
19
|
"react"
|
|
20
20
|
],
|
|
21
|
-
"version": "0.9.
|
|
21
|
+
"version": "0.9.101",
|
|
22
22
|
"engines": {
|
|
23
23
|
"node": ">=22"
|
|
24
24
|
},
|
|
@@ -39,19 +39,19 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@scalar/api-reference": "1.86.
|
|
43
|
-
"@scalar/types": "0.34.
|
|
42
|
+
"@scalar/api-reference": "1.86.2",
|
|
43
|
+
"@scalar/types": "0.34.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@scalar/helpers": "0.21.
|
|
47
|
-
"@types/react": "^19.3.
|
|
46
|
+
"@scalar/helpers": "0.21.1",
|
|
47
|
+
"@types/react": "^19.3.3",
|
|
48
48
|
"@types/react-dom": "^19.3.0",
|
|
49
49
|
"@vitejs/plugin-react": "6.3.0",
|
|
50
50
|
"random-words": "^2.0.1",
|
|
51
51
|
"react": "^19.3.1",
|
|
52
52
|
"react-dom": "^19.3.1",
|
|
53
53
|
"rollup-preserve-directives": "^1.1.3",
|
|
54
|
-
"vite": "8.
|
|
54
|
+
"vite": "8.4.0",
|
|
55
55
|
"vue": "^3.5.46"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|