@scalar/api-reference 1.22.24 → 1.22.26
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 +25 -0
- package/README.md +1 -2
- package/dist/SideBarClosed-CYUNS2XM-BrkKCJbJ.cjs +1 -0
- package/dist/SideBarClosed-CYUNS2XM-CyV-4FlW.js +18 -0
- package/dist/SideBarOpen-BOxW49_U-1NTFL81x.cjs +1 -0
- package/dist/SideBarOpen-BOxW49_U-_LagsnZP.js +18 -0
- package/dist/browser/standalone.js +14 -14
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/ApiClientModal.vue.d.ts +0 -6
- package/dist/components/ApiClientModal.vue.d.ts.map +1 -1
- package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts +14 -1
- package/dist/components/Content/Introduction/DownloadSpec.vue.d.ts.map +1 -1
- package/dist/components/Content/Introduction/Introduction.vue.d.ts.map +1 -1
- package/dist/components/MarkdownRenderer/MarkdownRenderer.vue.d.ts.map +1 -1
- package/dist/helpers/specDownloads.d.ts +2 -1
- package/dist/helpers/specDownloads.d.ts.map +1 -1
- package/dist/hooks/useSidebar.d.ts +2 -0
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/index.cjs +130 -138
- package/dist/index.css +1 -1
- package/dist/index.js +12981 -14109
- package/package.json +6 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.22.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 26d9146: feat: improved api client modal
|
|
8
|
+
- Updated dependencies [26d9146]
|
|
9
|
+
- Updated dependencies [670156e]
|
|
10
|
+
- @scalar/api-client@1.2.18
|
|
11
|
+
- @scalar/components@0.7.4
|
|
12
|
+
- @scalar/use-toasts@0.6.6
|
|
13
|
+
|
|
14
|
+
## 1.22.25
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 5b24896: fix: sidebar doesn’t react to changes
|
|
19
|
+
- 64024a5: refactor: use prismjs instead of highlightjs in the markdown component
|
|
20
|
+
- 36e1e66: feat: include spec title in downloaded spec filename
|
|
21
|
+
- 2e7b074: feat: clean up toast styles and colors
|
|
22
|
+
- 298735f: fix: hide default caret on <summary> on Safari
|
|
23
|
+
- Updated dependencies [d649691]
|
|
24
|
+
- Updated dependencies [2e7b074]
|
|
25
|
+
- @scalar/api-client@1.2.17
|
|
26
|
+
- @scalar/use-toasts@0.6.5
|
|
27
|
+
|
|
3
28
|
## 1.22.24
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -171,7 +171,7 @@ You can listen to spec changes with onSpecUpdate that runs on spec/swagger conte
|
|
|
171
171
|
|
|
172
172
|
To make authentication easier you can prefill the credentials for your users:
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
```vue
|
|
175
175
|
<ApiReference :configuration="{
|
|
176
176
|
authentication: {
|
|
177
177
|
// The OpenAPI file has keys for all security schemes:
|
|
@@ -212,4 +212,3 @@ By default we’re using Inter and JetBrains Mono, served by Google Fonts. If yo
|
|
|
212
212
|
withDefaultFonts: false
|
|
213
213
|
} />
|
|
214
214
|
```
|
|
215
|
-
````
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("vue"),c={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",fill:"none",viewBox:"0 0 14 14"},a=t.createStaticVNode('<g fill="currentColor" clip-path="url(#a)"><path d="M11.67 14H2.33A2.34 2.34 0 0 1 0 11.67V2.33A2.34 2.34 0 0 1 2.33 0h9.34A2.34 2.34 0 0 1 14 2.33v9.34A2.34 2.34 0 0 1 11.67 14M2.33 1.17c-.64 0-1.16.52-1.16 1.16v9.34c0 .64.52 1.16 1.16 1.16h9.34c.64 0 1.16-.52 1.16-1.16V2.33c0-.64-.52-1.16-1.16-1.16z"></path><path d="M4.67 14c-.35 0-.59-.23-.59-.58V.58c0-.35.24-.58.59-.58s.58.23.58.58v12.84c0 .35-.23.58-.58.58m5.75-6.42c.17 0 .29-.05.4-.17a.56.56 0 0 0 0-.82L9.07 4.84a.56.56 0 0 0-.81 0 .56.56 0 0 0 0 .82L10 7.4c.11.12.23.17.4.17Z"></path><path d="M8.66 9.33c.18 0 .3-.05.41-.17l1.75-1.75a.56.56 0 0 0 0-.82.56.56 0 0 0-.81 0L8.26 8.34a.56.56 0 0 0 0 .82c.11.12.23.17.4.17"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h14v14H0z"></path></clipPath></defs>',2),l=[a];function e(r,o){return t.openBlock(),t.createElementBlock("svg",c,[...l])}const h={render:e};exports.default=h;exports.render=e;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { openBlock as t, createElementBlock as a, createStaticVNode as c } from "vue";
|
|
2
|
+
const e = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: "14",
|
|
5
|
+
height: "14",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 14 14"
|
|
8
|
+
}, h = /* @__PURE__ */ c('<g fill="currentColor" clip-path="url(#a)"><path d="M11.67 14H2.33A2.34 2.34 0 0 1 0 11.67V2.33A2.34 2.34 0 0 1 2.33 0h9.34A2.34 2.34 0 0 1 14 2.33v9.34A2.34 2.34 0 0 1 11.67 14M2.33 1.17c-.64 0-1.16.52-1.16 1.16v9.34c0 .64.52 1.16 1.16 1.16h9.34c.64 0 1.16-.52 1.16-1.16V2.33c0-.64-.52-1.16-1.16-1.16z"></path><path d="M4.67 14c-.35 0-.59-.23-.59-.58V.58c0-.35.24-.58.59-.58s.58.23.58.58v12.84c0 .35-.23.58-.58.58m5.75-6.42c.17 0 .29-.05.4-.17a.56.56 0 0 0 0-.82L9.07 4.84a.56.56 0 0 0-.81 0 .56.56 0 0 0 0 .82L10 7.4c.11.12.23.17.4.17Z"></path><path d="M8.66 9.33c.18 0 .3-.05.41-.17l1.75-1.75a.56.56 0 0 0 0-.82.56.56 0 0 0-.81 0L8.26 8.34a.56.56 0 0 0 0 .82c.11.12.23.17.4.17"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h14v14H0z"></path></clipPath></defs>', 2), l = [
|
|
9
|
+
h
|
|
10
|
+
];
|
|
11
|
+
function p(o, r) {
|
|
12
|
+
return t(), a("svg", e, [...l]);
|
|
13
|
+
}
|
|
14
|
+
const d = { render: p };
|
|
15
|
+
export {
|
|
16
|
+
d as default,
|
|
17
|
+
p as render
|
|
18
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),l={xmlns:"http://www.w3.org/2000/svg",width:"14",height:"14",fill:"none",viewBox:"0 0 14 14"},a=e.createStaticVNode('<g fill="currentColor" clip-path="url(#a)"><path d="m7.75 6.6 1.76-1.76a.53.53 0 0 1 .4-.17.53.53 0 0 1 .41.17.56.56 0 0 1 0 .82L8.98 7l1.34 1.34a.56.56 0 0 1 0 .82.57.57 0 0 1-.81 0L7.75 7.4a.56.56 0 0 1 0-.82Z"></path><path fill-rule="evenodd" d="M11.67 14A2.34 2.34 0 0 0 14 11.67V2.33A2.34 2.34 0 0 0 11.67 0H2.33A2.34 2.34 0 0 0 0 2.33v9.34A2.33 2.33 0 0 0 2.33 14zm-6.42-1.17h6.42a1.17 1.17 0 0 0 1.16-1.16V2.33a1.17 1.17 0 0 0-1.16-1.16H5.25z" clip-rule="evenodd"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h14v14H0z"></path></clipPath></defs>',2),r=[a];function t(i,n){return e.openBlock(),e.createElementBlock("svg",l,[...r])}const o={render:t};exports.default=o;exports.render=t;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { openBlock as e, createElementBlock as t, createStaticVNode as l } from "vue";
|
|
2
|
+
const a = {
|
|
3
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4
|
+
width: "14",
|
|
5
|
+
height: "14",
|
|
6
|
+
fill: "none",
|
|
7
|
+
viewBox: "0 0 14 14"
|
|
8
|
+
}, r = /* @__PURE__ */ l('<g fill="currentColor" clip-path="url(#a)"><path d="m7.75 6.6 1.76-1.76a.53.53 0 0 1 .4-.17.53.53 0 0 1 .41.17.56.56 0 0 1 0 .82L8.98 7l1.34 1.34a.56.56 0 0 1 0 .82.57.57 0 0 1-.81 0L7.75 7.4a.56.56 0 0 1 0-.82Z"></path><path fill-rule="evenodd" d="M11.67 14A2.34 2.34 0 0 0 14 11.67V2.33A2.34 2.34 0 0 0 11.67 0H2.33A2.34 2.34 0 0 0 0 2.33v9.34A2.33 2.33 0 0 0 2.33 14zm-6.42-1.17h6.42a1.17 1.17 0 0 0 1.16-1.16V2.33a1.17 1.17 0 0 0-1.16-1.16H5.25z" clip-rule="evenodd"></path></g><defs><clipPath id="a"><path fill="#fff" d="M0 0h14v14H0z"></path></clipPath></defs>', 2), o = [
|
|
9
|
+
r
|
|
10
|
+
];
|
|
11
|
+
function d(h, i) {
|
|
12
|
+
return e(), t("svg", a, [...o]);
|
|
13
|
+
}
|
|
14
|
+
const p = { render: d };
|
|
15
|
+
export {
|
|
16
|
+
p as default,
|
|
17
|
+
d as render
|
|
18
|
+
};
|