@scalar/api-reference 1.48.7 → 1.49.0
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 +62 -0
- package/dist/browser/standalone.js +9910 -9857
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiReference.vue.d.ts +0 -1
- package/dist/components/ApiReference.vue.d.ts.map +1 -1
- package/dist/components/ApiReference.vue.js +1 -1
- package/dist/components/ApiReference.vue2.js +8 -9
- package/dist/components/Content/Auth/helpers/get-default-security.d.ts.map +1 -1
- package/dist/components/Content/Auth/helpers/get-default-security.js +13 -1
- package/dist/components/Content/Content.vue.d.ts +2 -4
- package/dist/components/Content/Content.vue.d.ts.map +1 -1
- package/dist/components/Content/Content.vue.js +77 -83
- package/dist/components/Content/Models/ModelTag.vue.d.ts +3 -3
- package/dist/components/Content/Models/ModelTag.vue.d.ts.map +1 -1
- package/dist/components/Content/Models/ModelTag.vue.js +42 -48
- package/dist/components/Content/Operations/TraversedEntry.vue.d.ts.map +1 -1
- package/dist/components/Content/Operations/TraversedEntry.vue.js +3 -2
- package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaProperty.vue2.js +9 -1
- package/dist/components/Content/Schema/helpers/should-display-description.js +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts +2 -2
- package/dist/components/Content/Tags/components/ModernLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue.js +1 -1
- package/dist/components/Content/Tags/components/ModernLayout.vue2.js +18 -26
- package/dist/components/Lazy/Lazy.vue.d.ts +3 -0
- package/dist/components/Lazy/Lazy.vue.d.ts.map +1 -1
- package/dist/components/Lazy/Lazy.vue.js +93 -4
- package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
- package/dist/features/ask-agent-button/AskAgentButton.vue2.js +18 -14
- package/dist/helpers/id-routing.d.ts +4 -0
- package/dist/helpers/id-routing.d.ts.map +1 -1
- package/dist/helpers/id-routing.js +51 -5
- package/dist/helpers/lazy-bus.d.ts +19 -19
- package/dist/helpers/lazy-bus.d.ts.map +1 -1
- package/dist/helpers/lazy-bus.js +63 -28
- package/dist/helpers/storage.d.ts +4 -4
- package/dist/ssr.d.ts +22 -0
- package/dist/ssr.d.ts.map +1 -0
- package/dist/ssr.js +14 -0
- package/dist/style.css +130 -125
- package/package.json +16 -12
|
@@ -88,10 +88,10 @@ export declare const authStorage: () => {
|
|
|
88
88
|
}) | undefined;
|
|
89
89
|
}) | {
|
|
90
90
|
implicit?: ({
|
|
91
|
-
refreshUrl: string;
|
|
92
91
|
scopes: {
|
|
93
92
|
[x: string]: string;
|
|
94
93
|
};
|
|
94
|
+
refreshUrl: string;
|
|
95
95
|
} & {
|
|
96
96
|
'x-scalar-security-query'?: {
|
|
97
97
|
[x: string]: string;
|
|
@@ -118,10 +118,10 @@ export declare const authStorage: () => {
|
|
|
118
118
|
'x-scalar-secret-redirect-uri': string;
|
|
119
119
|
}) | undefined;
|
|
120
120
|
password?: ({
|
|
121
|
-
refreshUrl: string;
|
|
122
121
|
scopes: {
|
|
123
122
|
[x: string]: string;
|
|
124
123
|
};
|
|
124
|
+
refreshUrl: string;
|
|
125
125
|
} & {
|
|
126
126
|
'x-scalar-security-query'?: {
|
|
127
127
|
[x: string]: string;
|
|
@@ -155,10 +155,10 @@ export declare const authStorage: () => {
|
|
|
155
155
|
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
156
156
|
}) | undefined;
|
|
157
157
|
clientCredentials?: ({
|
|
158
|
-
refreshUrl: string;
|
|
159
158
|
scopes: {
|
|
160
159
|
[x: string]: string;
|
|
161
160
|
};
|
|
161
|
+
refreshUrl: string;
|
|
162
162
|
} & {
|
|
163
163
|
'x-scalar-security-query'?: {
|
|
164
164
|
[x: string]: string;
|
|
@@ -189,10 +189,10 @@ export declare const authStorage: () => {
|
|
|
189
189
|
'x-scalar-credentials-location'?: "body" | "header" | undefined;
|
|
190
190
|
}) | undefined;
|
|
191
191
|
authorizationCode?: ({
|
|
192
|
-
refreshUrl: string;
|
|
193
192
|
scopes: {
|
|
194
193
|
[x: string]: string;
|
|
195
194
|
};
|
|
195
|
+
refreshUrl: string;
|
|
196
196
|
} & {
|
|
197
197
|
'x-scalar-security-query'?: {
|
|
198
198
|
[x: string]: string;
|
package/dist/ssr.d.ts
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SSR entry point for @scalar/api-reference.
|
|
3
|
+
*
|
|
4
|
+
* Re-exports the same components as the main entry. The ApiReference component
|
|
5
|
+
* is SSR-compatible and works with createSSRApp and renderToString from
|
|
6
|
+
* @vue/server-renderer.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* import { createSSRApp } from 'vue'
|
|
11
|
+
* import { renderToString } from '@vue/server-renderer'
|
|
12
|
+
* import { ApiReference } from '@scalar/api-reference/ssr'
|
|
13
|
+
*
|
|
14
|
+
* const app = createSSRApp({
|
|
15
|
+
* render: () => h(ApiReference, { configuration: { url: '/openapi.json' } }),
|
|
16
|
+
* })
|
|
17
|
+
* const html = await renderToString(app)
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export type { ApiReferenceConfiguration, ReferenceProps } from './index.js';
|
|
21
|
+
export { ApiReference, GettingStarted, SearchButton, SearchModal, createApiReference, createEmptySpecification, } from './index.js';
|
|
22
|
+
//# sourceMappingURL=ssr.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ssr.d.ts","sourceRoot":"","sources":["../src/ssr.ts"],"names":[],"mappings":"AACA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,YAAY,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAA;AACxE,OAAO,EACL,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,WAAW,EACX,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,SAAS,CAAA"}
|
package/dist/ssr.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as default2 } from "./features/Search/components/SearchButton.vue.js";
|
|
2
|
+
import { default as default3 } from "./components/ApiReference.vue.js";
|
|
3
|
+
import { default as default4 } from "./components/GettingStarted.vue.js";
|
|
4
|
+
import { default as default5 } from "./features/Search/components/SearchModal.vue.js";
|
|
5
|
+
import { createApiReference } from "./standalone/lib/html-api.js";
|
|
6
|
+
import { createEmptySpecification } from "./helpers/openapi.js";
|
|
7
|
+
export {
|
|
8
|
+
default3 as ApiReference,
|
|
9
|
+
default4 as GettingStarted,
|
|
10
|
+
default2 as SearchButton,
|
|
11
|
+
default5 as SearchModal,
|
|
12
|
+
createApiReference,
|
|
13
|
+
createEmptySpecification
|
|
14
|
+
};
|
package/dist/style.css
CHANGED
|
@@ -606,7 +606,7 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
606
606
|
text-decoration: line-through;
|
|
607
607
|
}
|
|
608
608
|
|
|
609
|
-
.property[data-v-
|
|
609
|
+
.property[data-v-6031fee6] {
|
|
610
610
|
color: var(--scalar-color-1);
|
|
611
611
|
display: flex;
|
|
612
612
|
flex-direction: column;
|
|
@@ -616,7 +616,7 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
616
616
|
}
|
|
617
617
|
|
|
618
618
|
/** Remove top padding for top level schema card */
|
|
619
|
-
.property.property--level-0[data-v-
|
|
619
|
+
.property.property--level-0[data-v-6031fee6]:has(
|
|
620
620
|
> .property-rule
|
|
621
621
|
> .schema-card
|
|
622
622
|
> .schema-properties.schema-properties-open
|
|
@@ -625,25 +625,25 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
625
625
|
) {
|
|
626
626
|
padding-top: 0;
|
|
627
627
|
}
|
|
628
|
-
.property--compact.property--level-0[data-v-
|
|
629
|
-
.property--compact.property--level-1[data-v-
|
|
628
|
+
.property--compact.property--level-0[data-v-6031fee6],
|
|
629
|
+
.property--compact.property--level-1[data-v-6031fee6] {
|
|
630
630
|
padding: 10px 0;
|
|
631
631
|
}
|
|
632
|
-
.composition-panel .property.property.property.property--level-0[data-v-
|
|
632
|
+
.composition-panel .property.property.property.property--level-0[data-v-6031fee6] {
|
|
633
633
|
padding: 0px;
|
|
634
634
|
}
|
|
635
635
|
.property--compact.property--level-0
|
|
636
636
|
.composition-panel
|
|
637
|
-
.property--compact.property--level-1[data-v-
|
|
637
|
+
.property--compact.property--level-1[data-v-6031fee6] {
|
|
638
638
|
padding: 8px;
|
|
639
639
|
}
|
|
640
640
|
|
|
641
641
|
/* if a property doesn't have a heading, remove the top padding */
|
|
642
|
-
.property[data-v-
|
|
642
|
+
.property[data-v-6031fee6]:has(> .property-rule:nth-of-type(1)):not(.property--compact) {
|
|
643
643
|
padding-top: 8px;
|
|
644
644
|
padding-bottom: 8px;
|
|
645
645
|
}
|
|
646
|
-
.property--deprecated[data-v-
|
|
646
|
+
.property--deprecated[data-v-6031fee6] {
|
|
647
647
|
background: repeating-linear-gradient(
|
|
648
648
|
-45deg,
|
|
649
649
|
var(--scalar-background-2) 0,
|
|
@@ -653,46 +653,46 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
653
653
|
);
|
|
654
654
|
background-size: 100%;
|
|
655
655
|
}
|
|
656
|
-
.property--deprecated[data-v-
|
|
656
|
+
.property--deprecated[data-v-6031fee6] > * {
|
|
657
657
|
opacity: 0.75;
|
|
658
658
|
}
|
|
659
|
-
.property-description[data-v-
|
|
659
|
+
.property-description[data-v-6031fee6] {
|
|
660
660
|
margin-top: 6px;
|
|
661
661
|
line-height: 1.4;
|
|
662
662
|
font-size: var(--scalar-small);
|
|
663
663
|
}
|
|
664
|
-
.property-description[data-v-
|
|
664
|
+
.property-description[data-v-6031fee6]:has(+ .property-rule) {
|
|
665
665
|
margin-bottom: 9px;
|
|
666
666
|
}
|
|
667
|
-
[data-v-
|
|
667
|
+
[data-v-6031fee6] .property-description * {
|
|
668
668
|
color: var(--scalar-color-2) !important;
|
|
669
669
|
}
|
|
670
|
-
.property[data-v-
|
|
670
|
+
.property[data-v-6031fee6]:not(:last-of-type) {
|
|
671
671
|
border-bottom: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
672
672
|
}
|
|
673
|
-
.property-description + .children[data-v-
|
|
674
|
-
.children + .property-rule[data-v-
|
|
673
|
+
.property-description + .children[data-v-6031fee6],
|
|
674
|
+
.children + .property-rule[data-v-6031fee6] {
|
|
675
675
|
margin-top: 9px;
|
|
676
676
|
}
|
|
677
|
-
.children[data-v-
|
|
677
|
+
.children[data-v-6031fee6] {
|
|
678
678
|
display: flex;
|
|
679
679
|
flex-direction: column;
|
|
680
680
|
}
|
|
681
|
-
.children .property--compact.property--level-1[data-v-
|
|
681
|
+
.children .property--compact.property--level-1[data-v-6031fee6] {
|
|
682
682
|
padding: 12px;
|
|
683
683
|
}
|
|
684
|
-
.property-example-value[data-v-
|
|
684
|
+
.property-example-value[data-v-6031fee6] {
|
|
685
685
|
all: unset;
|
|
686
686
|
font-family: var(--scalar-font-code);
|
|
687
687
|
padding: 6px;
|
|
688
688
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
689
689
|
}
|
|
690
|
-
.property-rule[data-v-
|
|
690
|
+
.property-rule[data-v-6031fee6] {
|
|
691
691
|
border-radius: var(--scalar-radius-lg);
|
|
692
692
|
display: flex;
|
|
693
693
|
flex-direction: column;
|
|
694
694
|
}
|
|
695
|
-
.property-rule[data-v-
|
|
695
|
+
.property-rule[data-v-6031fee6]
|
|
696
696
|
|
|
697
697
|
.composition-panel
|
|
698
698
|
.schema-card--level-1
|
|
@@ -700,7 +700,7 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
700
700
|
{
|
|
701
701
|
border-radius: 0 0 var(--scalar-radius-lg) var(--scalar-radius-lg);
|
|
702
702
|
}
|
|
703
|
-
.property-rule[data-v-
|
|
703
|
+
.property-rule[data-v-6031fee6]
|
|
704
704
|
.composition-panel > .schema-card > .schema-card-description {
|
|
705
705
|
padding: 10px;
|
|
706
706
|
border-left: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
@@ -709,29 +709,29 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
709
709
|
margin-top: 0;
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
.property-example[data-v-
|
|
712
|
+
.property-example[data-v-6031fee6] {
|
|
713
713
|
background: transparent;
|
|
714
714
|
border: none;
|
|
715
715
|
display: flex;
|
|
716
716
|
flex-direction: row;
|
|
717
717
|
gap: 8px;
|
|
718
718
|
}
|
|
719
|
-
.property-example-label[data-v-
|
|
720
|
-
.property-example-value[data-v-
|
|
719
|
+
.property-example-label[data-v-6031fee6],
|
|
720
|
+
.property-example-value[data-v-6031fee6] {
|
|
721
721
|
padding: 3px 0 0 0;
|
|
722
722
|
}
|
|
723
|
-
.property-example-value[data-v-
|
|
723
|
+
.property-example-value[data-v-6031fee6] {
|
|
724
724
|
background: var(--scalar-background-2);
|
|
725
725
|
border-top: 0;
|
|
726
726
|
border-radius: var(--scalar-radius);
|
|
727
727
|
padding: 3px 4px;
|
|
728
728
|
}
|
|
729
|
-
.property-name[data-v-
|
|
729
|
+
.property-name[data-v-6031fee6] {
|
|
730
730
|
font-family: var(--scalar-font-code);
|
|
731
731
|
font-weight: var(--scalar-semibold);
|
|
732
732
|
}
|
|
733
|
-
.property-name-additional-properties[data-v-
|
|
734
|
-
.property-name-pattern-properties[data-v-
|
|
733
|
+
.property-name-additional-properties[data-v-6031fee6]::before,
|
|
734
|
+
.property-name-pattern-properties[data-v-6031fee6]::before {
|
|
735
735
|
text-transform: uppercase;
|
|
736
736
|
font-size: var(--scalar-micro);
|
|
737
737
|
display: inline-block;
|
|
@@ -742,11 +742,11 @@ code.property-detail-value[data-v-1295f965] {
|
|
|
742
742
|
background-color: var(--scalar-background-2);
|
|
743
743
|
margin-right: 4px;
|
|
744
744
|
}
|
|
745
|
-
.property-name-pattern-properties[data-v-
|
|
745
|
+
.property-name-pattern-properties[data-v-6031fee6]::before {
|
|
746
746
|
content: 'regex';
|
|
747
747
|
}
|
|
748
|
-
.property-name-additional-properties[data-v-
|
|
749
|
-
.property-name-pattern-properties[data-v-
|
|
748
|
+
.property-name-additional-properties[data-v-6031fee6],
|
|
749
|
+
.property-name-pattern-properties[data-v-6031fee6] {
|
|
750
750
|
border: 1px dashed var(--scalar-border-color);
|
|
751
751
|
color: var(--scalar-color-accent);
|
|
752
752
|
display: inline-block;
|
|
@@ -1774,72 +1774,70 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
}
|
|
1776
1776
|
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
color: var(--scalar-color-1);
|
|
1780
|
-
appearance: none;
|
|
1781
|
-
border: none;
|
|
1782
|
-
white-space: nowrap;
|
|
1783
|
-
display: flex;
|
|
1784
|
-
justify-content: center;
|
|
1785
|
-
align-items: center;
|
|
1786
|
-
font-weight: var(--scalar-regular);
|
|
1787
|
-
font-size: var(--scalar-small);
|
|
1788
|
-
line-height: 22px;
|
|
1789
|
-
font-family: var(--scalar-font);
|
|
1790
|
-
position: relative;
|
|
1791
|
-
cursor: pointer;
|
|
1792
|
-
box-sizing: border-box;
|
|
1793
|
-
outline: none;
|
|
1794
|
-
outline-offset: 2px;
|
|
1795
|
-
field-sizing: content;
|
|
1796
|
-
max-width: 88px;
|
|
1797
|
-
}
|
|
1798
|
-
.ask-agent-scalar-input[data-v-f43e32ab]:focus {
|
|
1799
|
-
cursor: text;
|
|
1800
|
-
width: 100% !important;
|
|
1801
|
-
max-width: calc(100% - 50px);
|
|
1802
|
-
}
|
|
1803
|
-
.ask-agent-scalar-input[data-v-f43e32ab]:not(:placeholder-shown) {
|
|
1804
|
-
width: 100% !important;
|
|
1805
|
-
height: 100%;
|
|
1806
|
-
field-sizing: border-box;
|
|
1807
|
-
cursor: text;
|
|
1808
|
-
max-width: calc(100% - 50px);
|
|
1809
|
-
}
|
|
1810
|
-
.ask-agent-scalar-input[data-v-f43e32ab]::placeholder {
|
|
1811
|
-
color: var(--scalar-color-1);
|
|
1812
|
-
font-family: var(--scalar-font);
|
|
1813
|
-
}
|
|
1814
|
-
.ask-agent-scalar-input[data-v-f43e32ab]:focus::placeholder {
|
|
1815
|
-
color: var(--scalar-color-2);
|
|
1816
|
-
}
|
|
1817
|
-
.agent-button-container[data-v-f43e32ab] {
|
|
1777
|
+
/** Container */
|
|
1778
|
+
.agent-button-container[data-v-78f5377c] {
|
|
1818
1779
|
position: relative;
|
|
1819
1780
|
color: var(--scalar-color-1);
|
|
1820
1781
|
background: color-mix(in srgb, var(--scalar-background-3), white 15%);
|
|
1821
1782
|
display: flex;
|
|
1822
1783
|
align-items: center;
|
|
1784
|
+
cursor: pointer;
|
|
1823
1785
|
padding: 1px 6px;
|
|
1824
1786
|
margin-right: 4px;
|
|
1825
1787
|
border-radius: var(--scalar-radius);
|
|
1826
|
-
gap: 4px;
|
|
1827
1788
|
z-index: 2;
|
|
1828
1789
|
height: 100%;
|
|
1829
1790
|
}
|
|
1830
|
-
.agent-button-container[data-v-
|
|
1791
|
+
.agent-button-container[data-v-78f5377c]:hover:not(:focus-within) {
|
|
1831
1792
|
background: color-mix(in srgb, var(--scalar-background-3), white 20%);
|
|
1832
1793
|
}
|
|
1833
|
-
.agent-button-container[data-v-
|
|
1834
|
-
.agent-button-container[data-v-
|
|
1835
|
-
width: calc(100% - 4px);
|
|
1836
|
-
height: calc(100% - 4px);
|
|
1794
|
+
.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input-not-empty),
|
|
1795
|
+
.agent-button-container[data-v-78f5377c]:focus-within {
|
|
1837
1796
|
position: absolute;
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1797
|
+
inset: 2px;
|
|
1798
|
+
border-radius: var(--scalar-radius-lg);
|
|
1799
|
+
margin-right: 0;
|
|
1800
|
+
height: auto;
|
|
1801
|
+
}
|
|
1802
|
+
.agent-button-container[data-v-78f5377c]:has(.ask-agent-scalar-input:focus-visible) {
|
|
1803
|
+
outline-style: solid;
|
|
1804
|
+
}
|
|
1805
|
+
/** Input */
|
|
1806
|
+
.ask-agent-scalar-input[data-v-78f5377c] {
|
|
1807
|
+
width: 0px;
|
|
1808
|
+
opacity: 0;
|
|
1809
|
+
font-size: 0px;
|
|
1810
|
+
border: none;
|
|
1811
|
+
}
|
|
1812
|
+
.agent-button-container:has(.ask-agent-scalar-input-not-empty)
|
|
1813
|
+
.ask-agent-scalar-input[data-v-78f5377c],
|
|
1814
|
+
.agent-button-container:focus-within .ask-agent-scalar-input[data-v-78f5377c] {
|
|
1815
|
+
width: 100%;
|
|
1816
|
+
font-size: inherit;
|
|
1817
|
+
opacity: 1;
|
|
1818
|
+
line-height: 20px;
|
|
1819
|
+
outline: none;
|
|
1820
|
+
padding-inline: 4px;
|
|
1821
|
+
}
|
|
1822
|
+
.ask-agent-scalar-input[data-v-78f5377c]::placeholder {
|
|
1823
|
+
color: var(--scalar-color-2);
|
|
1824
|
+
font-family: inherit;
|
|
1825
|
+
}
|
|
1826
|
+
/** Input label */
|
|
1827
|
+
.ask-agent-scalar-input-label[data-v-78f5377c] {
|
|
1828
|
+
/** Shown by default */
|
|
1829
|
+
color: var(--scalar-color-1);
|
|
1830
|
+
font-weight: var(--scalar-semibold);
|
|
1831
|
+
margin-left: 4px;
|
|
1832
|
+
}
|
|
1833
|
+
.agent-button-container:has(.ask-agent-scalar-input-not-empty)
|
|
1834
|
+
.ask-agent-scalar-input-label[data-v-78f5377c],
|
|
1835
|
+
.agent-button-container:focus-within .ask-agent-scalar-input-label[data-v-78f5377c] {
|
|
1836
|
+
/** Hidden when input is focused */
|
|
1837
|
+
display: none;
|
|
1841
1838
|
}
|
|
1842
|
-
|
|
1839
|
+
/** Send button */
|
|
1840
|
+
.ask-agent-scalar-send[data-v-78f5377c] {
|
|
1843
1841
|
background: var(--scalar-color-blue);
|
|
1844
1842
|
color: #fff;
|
|
1845
1843
|
width: 24px;
|
|
@@ -1849,20 +1847,18 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1849
1847
|
justify-content: center;
|
|
1850
1848
|
align-items: center;
|
|
1851
1849
|
border-radius: var(--scalar-radius);
|
|
1852
|
-
|
|
1850
|
+
outline-offset: 1px;
|
|
1851
|
+
/* Hidden by default */
|
|
1853
1852
|
display: none;
|
|
1854
1853
|
}
|
|
1855
|
-
.ask-agent-scalar-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
var(--scalar-color-blue),
|
|
1859
|
-
transparent 10%
|
|
1860
|
-
) !important;
|
|
1861
|
-
}
|
|
1862
|
-
.agent-button-container:has(.ask-agent-scalar-input:not(:placeholder-shown))
|
|
1863
|
-
.ask-agent-scalar-send[data-v-f43e32ab] {
|
|
1854
|
+
.agent-button-container:has(.ask-agent-scalar-input-not-empty)
|
|
1855
|
+
.ask-agent-scalar-send[data-v-78f5377c] {
|
|
1856
|
+
/** Show when input is not empty */
|
|
1864
1857
|
display: flex;
|
|
1865
1858
|
}
|
|
1859
|
+
.ask-agent-scalar-send[data-v-78f5377c]:hover {
|
|
1860
|
+
background: color-mix(in srgb, var(--scalar-color-blue), transparent 10%);
|
|
1861
|
+
}
|
|
1866
1862
|
|
|
1867
1863
|
@container narrow-references-container (max-width: 900px) {
|
|
1868
1864
|
.section-content--with-columns[data-v-9735459e] {
|
|
@@ -1977,10 +1973,10 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1977
1973
|
width: 100%;
|
|
1978
1974
|
}
|
|
1979
1975
|
|
|
1980
|
-
.section-container[data-v-
|
|
1976
|
+
.section-container[data-v-8f1a275c] {
|
|
1981
1977
|
border-top: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
1982
1978
|
}
|
|
1983
|
-
.section-container[data-v-
|
|
1979
|
+
.section-container[data-v-8f1a275c]:has(.show-more) {
|
|
1984
1980
|
background-color: color-mix(in srgb, var(--scalar-background-2), transparent);
|
|
1985
1981
|
}
|
|
1986
1982
|
|
|
@@ -2669,6 +2665,7 @@ to {
|
|
|
2669
2665
|
}
|
|
2670
2666
|
}
|
|
2671
2667
|
:root, :host {
|
|
2668
|
+
--leading-tight: 1.25;
|
|
2672
2669
|
--leading-snug: 1.375;
|
|
2673
2670
|
--leading-normal: 1.5;
|
|
2674
2671
|
--leading-relaxed: 1.625;
|
|
@@ -3573,6 +3570,7 @@ body {
|
|
|
3573
3570
|
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
3574
3571
|
--default-transition-duration: .15s;
|
|
3575
3572
|
--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
3573
|
+
--leading-tight: 1.25;
|
|
3576
3574
|
--leading-normal: 1.5;
|
|
3577
3575
|
--leading-relaxed: 1.625;
|
|
3578
3576
|
--animate-spin: spin 1s linear infinite;
|
|
@@ -4133,11 +4131,6 @@ body {
|
|
|
4133
4131
|
inherits: false;
|
|
4134
4132
|
initial-value: 0;
|
|
4135
4133
|
}
|
|
4136
|
-
@property --tw-divide-y-reverse {
|
|
4137
|
-
syntax: "*";
|
|
4138
|
-
inherits: false;
|
|
4139
|
-
initial-value: 0;
|
|
4140
|
-
}
|
|
4141
4134
|
@property --tw-mask-linear {
|
|
4142
4135
|
syntax: "*";
|
|
4143
4136
|
inherits: false;
|
|
@@ -8865,6 +8858,10 @@ to {
|
|
|
8865
8858
|
--tw-leading: var(--leading-snug);
|
|
8866
8859
|
line-height: var(--leading-snug);
|
|
8867
8860
|
}
|
|
8861
|
+
.scalar-app .leading-tight {
|
|
8862
|
+
--tw-leading: var(--leading-tight);
|
|
8863
|
+
line-height: var(--leading-tight);
|
|
8864
|
+
}
|
|
8868
8865
|
.scalar-app .font-bold {
|
|
8869
8866
|
--tw-font-weight: var(--scalar-bold);
|
|
8870
8867
|
font-weight: var(--scalar-bold);
|
|
@@ -9955,6 +9952,9 @@ to {
|
|
|
9955
9952
|
.app-platform-mac :is(.scalar-app .mac\:h-12) {
|
|
9956
9953
|
height: 48px;
|
|
9957
9954
|
}
|
|
9955
|
+
.app-platform-mac :is(.scalar-app .mac\:pt-12) {
|
|
9956
|
+
padding-top: 48px;
|
|
9957
|
+
}
|
|
9958
9958
|
.app-platform-mac :is(.scalar-app .mac\:pl-\[72px\]) {
|
|
9959
9959
|
padding-left: 72px;
|
|
9960
9960
|
}
|
|
@@ -10871,11 +10871,11 @@ to {
|
|
|
10871
10871
|
.address-bar-bg-states:has(.cm-focused) .fade-left[data-v-f5565642], .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-f5565642] {
|
|
10872
10872
|
--scalar-address-bar-bg: var(--scalar-background-1);
|
|
10873
10873
|
}
|
|
10874
|
-
.app-exit-button[data-v-
|
|
10874
|
+
.app-exit-button[data-v-0e03d0d8] {
|
|
10875
10875
|
color: #fff;
|
|
10876
10876
|
background: #0000001a;
|
|
10877
10877
|
}
|
|
10878
|
-
.app-exit-button[data-v-
|
|
10878
|
+
.app-exit-button[data-v-0e03d0d8]:hover {
|
|
10879
10879
|
background: #ffffff1a;
|
|
10880
10880
|
}
|
|
10881
10881
|
.fade-request-section-content[data-v-f97cc68c] {
|
|
@@ -10997,7 +10997,7 @@ to {
|
|
|
10997
10997
|
-webkit-mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
|
|
10998
10998
|
mask-image: linear-gradient(to right, transparent 0, var(--scalar-background-2) 20px);
|
|
10999
10999
|
}
|
|
11000
|
-
[data-v-
|
|
11000
|
+
[data-v-0fdec6da] .cm-content {
|
|
11001
11001
|
font-size: var(--scalar-small);
|
|
11002
11002
|
}
|
|
11003
11003
|
.form-group[data-v-43df1726] {
|
|
@@ -11053,31 +11053,31 @@ input[data-v-3157c3c7]::placeholder {
|
|
|
11053
11053
|
-webkit-text-security: disc;
|
|
11054
11054
|
-moz-text-security: disc;
|
|
11055
11055
|
}
|
|
11056
|
-
.request-section-content[data-v-
|
|
11056
|
+
.request-section-content[data-v-98af86fe] {
|
|
11057
11057
|
--scalar-border-width: .5px;
|
|
11058
11058
|
}
|
|
11059
|
-
.request-section-content-filter[data-v-
|
|
11059
|
+
.request-section-content-filter[data-v-98af86fe] {
|
|
11060
11060
|
box-shadow: 0 -10px 0 10px var(--scalar-background-1);
|
|
11061
11061
|
}
|
|
11062
|
-
.request-item:focus-within .request-meta-buttons[data-v-
|
|
11062
|
+
.request-item:focus-within .request-meta-buttons[data-v-98af86fe] {
|
|
11063
11063
|
opacity: 1;
|
|
11064
11064
|
}
|
|
11065
|
-
.group-hover-input[data-v-
|
|
11065
|
+
.group-hover-input[data-v-98af86fe] {
|
|
11066
11066
|
border-width: var(--scalar-border-width);
|
|
11067
11067
|
border-color: #0000;
|
|
11068
11068
|
}
|
|
11069
|
-
.group:hover .group-hover-input[data-v-
|
|
11069
|
+
.group:hover .group-hover-input[data-v-98af86fe] {
|
|
11070
11070
|
background: var(--scalar-background-1);
|
|
11071
11071
|
}
|
|
11072
11072
|
@supports (color: color-mix(in lab, red, red)) {
|
|
11073
|
-
.group:hover .group-hover-input[data-v-
|
|
11073
|
+
.group:hover .group-hover-input[data-v-98af86fe] {
|
|
11074
11074
|
background: color-mix(in srgb, var(--scalar-background-1), var(--scalar-background-2));
|
|
11075
11075
|
}
|
|
11076
11076
|
}
|
|
11077
|
-
.group:hover .group-hover-input[data-v-
|
|
11077
|
+
.group:hover .group-hover-input[data-v-98af86fe] {
|
|
11078
11078
|
border-color: var(--scalar-border-color);
|
|
11079
11079
|
}
|
|
11080
|
-
.group-hover-input[data-v-
|
|
11080
|
+
.group-hover-input[data-v-98af86fe]:focus {
|
|
11081
11081
|
border-color: var(--scalar-border-color) !important;
|
|
11082
11082
|
background: none !important;
|
|
11083
11083
|
}
|
|
@@ -12434,6 +12434,11 @@ to {
|
|
|
12434
12434
|
syntax: "*";
|
|
12435
12435
|
inherits: false
|
|
12436
12436
|
}
|
|
12437
|
+
@property --tw-divide-y-reverse {
|
|
12438
|
+
syntax: "*";
|
|
12439
|
+
inherits: false;
|
|
12440
|
+
initial-value: 0;
|
|
12441
|
+
}
|
|
12437
12442
|
@property --tw-border-style {
|
|
12438
12443
|
syntax: "*";
|
|
12439
12444
|
inherits: false;
|
|
@@ -12623,7 +12628,7 @@ to {
|
|
|
12623
12628
|
|
|
12624
12629
|
/* Configurable Layout Variables */
|
|
12625
12630
|
@layer scalar-config {
|
|
12626
|
-
.scalar-api-reference[data-v-
|
|
12631
|
+
.scalar-api-reference[data-v-f95a4f7c] {
|
|
12627
12632
|
/* The header height */
|
|
12628
12633
|
--refs-header-height: calc(
|
|
12629
12634
|
var(--scalar-custom-header-height, 0px) + var(--scalar-header-height, 0px)
|
|
@@ -12645,20 +12650,20 @@ to {
|
|
|
12645
12650
|
/* The maximum width of the content column */
|
|
12646
12651
|
--refs-content-max-width: var(--scalar-content-max-width, 1540px);
|
|
12647
12652
|
}
|
|
12648
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12653
|
+
.scalar-api-reference.references-classic[data-v-f95a4f7c] {
|
|
12649
12654
|
/* Classic layout is wider */
|
|
12650
12655
|
--refs-content-max-width: var(--scalar-content-max-width, 1420px);
|
|
12651
12656
|
min-height: 100dvh;
|
|
12652
12657
|
--refs-sidebar-width: 0;
|
|
12653
12658
|
}
|
|
12654
12659
|
}
|
|
12655
|
-
.t-doc__sidebar[data-v-
|
|
12660
|
+
.t-doc__sidebar[data-v-f95a4f7c] {
|
|
12656
12661
|
z-index: 10;
|
|
12657
12662
|
}
|
|
12658
12663
|
|
|
12659
12664
|
/* ----------------------------------------------------- */
|
|
12660
12665
|
/* References Layout */
|
|
12661
|
-
.references-layout[data-v-
|
|
12666
|
+
.references-layout[data-v-f95a4f7c] {
|
|
12662
12667
|
/* Try to fill the container */
|
|
12663
12668
|
min-height: 100dvh;
|
|
12664
12669
|
min-width: 100%;
|
|
@@ -12682,39 +12687,39 @@ to {
|
|
|
12682
12687
|
|
|
12683
12688
|
background: var(--scalar-background-1);
|
|
12684
12689
|
}
|
|
12685
|
-
.references-editor[data-v-
|
|
12690
|
+
.references-editor[data-v-f95a4f7c] {
|
|
12686
12691
|
grid-area: editor;
|
|
12687
12692
|
display: flex;
|
|
12688
12693
|
min-width: 0;
|
|
12689
12694
|
background: var(--scalar-background-1);
|
|
12690
12695
|
}
|
|
12691
|
-
.references-rendered[data-v-
|
|
12696
|
+
.references-rendered[data-v-f95a4f7c] {
|
|
12692
12697
|
position: relative;
|
|
12693
12698
|
grid-area: rendered;
|
|
12694
12699
|
min-width: 0;
|
|
12695
12700
|
background: var(--scalar-background-1);
|
|
12696
12701
|
}
|
|
12697
|
-
.scalar-api-reference.references-classic[data-v-
|
|
12698
|
-
.references-classic .references-rendered[data-v-
|
|
12702
|
+
.scalar-api-reference.references-classic[data-v-f95a4f7c],
|
|
12703
|
+
.references-classic .references-rendered[data-v-f95a4f7c] {
|
|
12699
12704
|
height: initial !important;
|
|
12700
12705
|
max-height: initial !important;
|
|
12701
12706
|
}
|
|
12702
12707
|
@layer scalar-config {
|
|
12703
|
-
.references-sidebar[data-v-
|
|
12708
|
+
.references-sidebar[data-v-f95a4f7c] {
|
|
12704
12709
|
/* Set a default width if references are enabled */
|
|
12705
12710
|
--refs-sidebar-width: var(--scalar-sidebar-width, 288px);
|
|
12706
12711
|
}
|
|
12707
12712
|
}
|
|
12708
12713
|
|
|
12709
12714
|
/* Footer */
|
|
12710
|
-
.references-footer[data-v-
|
|
12715
|
+
.references-footer[data-v-f95a4f7c] {
|
|
12711
12716
|
grid-area: footer;
|
|
12712
12717
|
}
|
|
12713
12718
|
/* ----------------------------------------------------- */
|
|
12714
12719
|
/* Responsive / Mobile Layout */
|
|
12715
12720
|
@media (max-width: 1000px) {
|
|
12716
12721
|
/* Stack view on mobile */
|
|
12717
|
-
.references-layout[data-v-
|
|
12722
|
+
.references-layout[data-v-f95a4f7c] {
|
|
12718
12723
|
/* Adjust the sidebar height to the viewport height minus the header height */
|
|
12719
12724
|
--refs-sidebar-height: calc(
|
|
12720
12725
|
var(--full-height, 100dvh) - var(--scalar-custom-header-height, 0px)
|
|
@@ -12729,13 +12734,13 @@ to {
|
|
|
12729
12734
|
'rendered'
|
|
12730
12735
|
'footer';
|
|
12731
12736
|
}
|
|
12732
|
-
.references-editable[data-v-
|
|
12737
|
+
.references-editable[data-v-f95a4f7c] {
|
|
12733
12738
|
grid-template-areas:
|
|
12734
12739
|
'header'
|
|
12735
12740
|
'navigation'
|
|
12736
12741
|
'editor';
|
|
12737
12742
|
}
|
|
12738
|
-
.references-rendered[data-v-
|
|
12743
|
+
.references-rendered[data-v-f95a4f7c] {
|
|
12739
12744
|
position: static;
|
|
12740
12745
|
}
|
|
12741
12746
|
}
|
|
@@ -12746,12 +12751,12 @@ to {
|
|
|
12746
12751
|
* when the new elements are available
|
|
12747
12752
|
*/
|
|
12748
12753
|
@media (max-width: 1000px) {
|
|
12749
|
-
.scalar-api-references-standalone-mobile[data-v-
|
|
12754
|
+
.scalar-api-references-standalone-mobile[data-v-f95a4f7c]:not(.references-classic) {
|
|
12750
12755
|
--scalar-header-height: 50px;
|
|
12751
12756
|
}
|
|
12752
12757
|
}
|
|
12753
12758
|
|
|
12754
|
-
.darklight-reference[data-v-
|
|
12759
|
+
.darklight-reference[data-v-f95a4f7c] {
|
|
12755
12760
|
width: 100%;
|
|
12756
12761
|
margin-top: auto;
|
|
12757
12762
|
}
|