@scalar/api-reference 1.31.1 → 1.31.2
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 +11 -0
- package/dist/browser/standalone.js +6 -6
- package/dist/browser/webpack-stats.json +1 -1
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.31.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [85877aa]
|
|
8
|
+
- @scalar/themes@0.13.1
|
|
9
|
+
- @scalar/api-client@2.5.1
|
|
10
|
+
- @scalar/code-highlight@0.1.1
|
|
11
|
+
- @scalar/components@0.14.4
|
|
12
|
+
- @scalar/oas-utils@0.4.1
|
|
13
|
+
|
|
3
14
|
## 1.31.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
|
|
6
6
|
* /____/\____/_/ |_/_____/_/ |_/_/ |_|
|
|
7
7
|
*
|
|
8
|
-
* @scalar/api-reference 1.31.
|
|
8
|
+
* @scalar/api-reference 1.31.2
|
|
9
9
|
*
|
|
10
10
|
* Website: https://scalar.com
|
|
11
11
|
* GitHub: https://github.com/scalar/scalar
|
|
@@ -27969,9 +27969,9 @@ window.URL.revokeObjectURL(o),s.remove()}),100)}(Ma(o)||Ma(e.rawSpec)||"",t)
|
|
|
27969
27969
|
;const{setExcludedClients:R,setDefaultHttpClient:N}=upe()
|
|
27970
27970
|
;$("defaultHttpClient",N),
|
|
27971
27971
|
$("hiddenClients",R),g.value=t.value.hideModels??!1,v.value=t.value.defaultOpenAllTags??!1
|
|
27972
|
-
;const M=xc((()=>`<style>\n ${((e,t)=>{
|
|
27973
|
-
const{fonts:
|
|
27974
|
-
;return
|
|
27972
|
+
;const M=xc((()=>`<style>\n ${((e,t)=>{var n
|
|
27973
|
+
;const{fonts:r=!0,layer:o="scalar-theme"}=t??{},a=[(null==(n=zY[e||"default"])?void 0:n.theme)??UY,r?'/* Inter (--scalar-font) */\n/* cyrillic-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek-ext.woff2) format("woff2");\n unicode-range: U+1F00-1FFF;\n}\n/* greek */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin-ext.woff2) format("woff2");\n unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,\n U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "Inter";\n font-style: normal;\n font-weight: 100 900;\n font-display: swap;\n src: url(https://fonts.scalar.com/inter-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* JetBrains Mono (--scalar-font-code) */\n/* cyrillic-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic-ext.woff2) format("woff2");\n unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;\n}\n/* cyrillic */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-cyrillic.woff2) format("woff2");\n unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;\n}\n/* greek */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-greek.woff2) format("woff2");\n unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;\n}\n/* vietnamese */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-vietnamese.woff2) format("woff2");\n unicode-range:\n U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169,\n U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323,\n U+0329, U+1EA0-1EF9, U+20AB;\n}\n/* latin-ext */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin-ext.woff2) format("woff2");\n unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,\n U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: "JetBrains Mono";\n font-style: normal;\n font-weight: 400;\n src: url(https://fonts.scalar.com/mono-latin.woff2) format("woff2");\n unicode-range:\n U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,\n U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,\n U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n':""].join("")
|
|
27974
|
+
;return o?`@layer ${o} {\n${a}}`:a})(t.value.theme,{
|
|
27975
27975
|
fonts:t.value.withDefaultFonts})}</style>`));return(e,n)=>{var r,o,a,l,c
|
|
27976
27976
|
;return Bl(),zl(Rl,null,[Xl("div",{innerHTML:M.value},null,8,bOe),Xl("div",{
|
|
27977
27977
|
ref_key:"documentEl",ref:p,
|
|
@@ -28437,7 +28437,7 @@ console.warn("scalar:update-references-config event has been deprecated, please
|
|
|
28437
28437
|
"detail"in e&&Object.assign(r,e.detail)}),!1);return{app:o,
|
|
28438
28438
|
getConfiguration:()=>r.configuration??{},updateConfiguration:e=>{
|
|
28439
28439
|
r.configuration=e},destroy:a}}
|
|
28440
|
-
;console.info("@scalar/api-reference@1.31.
|
|
28440
|
+
;console.info("@scalar/api-reference@1.31.2"),"object"==typeof window&&(window.Scalar={
|
|
28441
28441
|
createApiReference:Rwe}),function(e,t){var n,r
|
|
28442
28442
|
;const o=e.querySelector("[data-spec]"),a=e.querySelector("[data-spec-url]")
|
|
28443
28443
|
;(null==t?void 0:t.darkMode)?null==(n=e.body)||n.classList.add("dark-mode"):null==(r=e.body)||r.classList.add("light-mode")
|
|
@@ -30469,7 +30469,7 @@ os((()=>t.hotKeys.off(s))),(e,n)=>(Bl(),zl("div",QPe,[Xl("div",{
|
|
|
30469
30469
|
class:Wr(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{
|
|
30470
30470
|
"hidden opacity-0":e.numWorkspaceRequests<=1&&"modal"!==Na(a)}])
|
|
30471
30471
|
},["modal"!==Na(a)?(Bl(),
|
|
30472
|
-
zl("div",FPe,[Jl(" Scalar App V"+to(Na("2.5.
|
|
30472
|
+
zl("div",FPe,[Jl(" Scalar App V"+to(Na("2.5.1"))+" Beta ",1),n[3]||(n[3]=Xl("div",{
|
|
30473
30473
|
class:"mt-2"},[Xl("a",{href:"https://github.com/scalar/scalar/issues/2669",
|
|
30474
30474
|
target:"_blank"}," Roadmap ")],-1))])):tc("",!0),n[4]||(n[4]=Xl("a",{
|
|
30475
30475
|
class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",
|