@scalar/api-reference 1.44.18 → 1.44.20
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 +71 -0
- package/dist/blocks/scalar-client-selector-block/components/ClientSelector.vue.js +1 -1
- package/dist/blocks/scalar-server-selector-block/components/Selector.vue.js +2 -2
- package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +3 -3
- package/dist/browser/standalone.js +5667 -5645
- package/dist/browser/webpack-stats.json +1 -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 +19 -2
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponseTab.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue2.js +1 -0
- package/dist/helpers/storage.d.ts +119 -1
- package/dist/helpers/storage.d.ts.map +1 -1
- package/dist/style.css +137 -119
- package/package.json +13 -13
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.44.20
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#8159](https://github.com/scalar/scalar/pull/8159): fix: do not mutate document after ingress
|
|
8
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
9
|
+
|
|
10
|
+
#### Updated Dependencies
|
|
11
|
+
|
|
12
|
+
- **@scalar/workspace-store@0.32.1**
|
|
13
|
+
- [#8159](https://github.com/scalar/scalar/pull/8159): fix: do not mutate document after ingress
|
|
14
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
15
|
+
|
|
16
|
+
- **@scalar/api-client@2.27.1**
|
|
17
|
+
- [#8159](https://github.com/scalar/scalar/pull/8159): fix: do not mutate document after ingress
|
|
18
|
+
- [#8158](https://github.com/scalar/scalar/pull/8158): fix: disable all listeners when modal is closed
|
|
19
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
20
|
+
|
|
21
|
+
- **@scalar/agent-chat@0.5.11**
|
|
22
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
23
|
+
|
|
24
|
+
- **@scalar/components@0.19.4**
|
|
25
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
26
|
+
|
|
27
|
+
- **@scalar/helpers@0.2.12**
|
|
28
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
29
|
+
|
|
30
|
+
- **@scalar/sidebar@0.7.35**
|
|
31
|
+
- [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
|
|
32
|
+
|
|
33
|
+
- **@scalar/oas-utils@0.6.42**
|
|
34
|
+
|
|
35
|
+
- **@scalar/openapi-parser@0.24.10**
|
|
36
|
+
|
|
37
|
+
- **@scalar/types@0.6.3**
|
|
38
|
+
|
|
39
|
+
- **@scalar/snippetz@0.6.12**
|
|
40
|
+
|
|
41
|
+
## 1.44.19
|
|
42
|
+
|
|
43
|
+
### Patch Changes
|
|
44
|
+
|
|
45
|
+
- [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
|
|
46
|
+
|
|
47
|
+
#### Updated Dependencies
|
|
48
|
+
|
|
49
|
+
- **@scalar/workspace-store@0.32.0**
|
|
50
|
+
- [#8135](https://github.com/scalar/scalar/pull/8135): feat: added support for OpenID Connect Discovery
|
|
51
|
+
- [#8152](https://github.com/scalar/scalar/pull/8152): feat: support custom themes
|
|
52
|
+
|
|
53
|
+
- **@scalar/api-client@2.27.0**
|
|
54
|
+
- [#8135](https://github.com/scalar/scalar/pull/8135): feat: added support for OpenID Connect Discovery
|
|
55
|
+
- [#8149](https://github.com/scalar/scalar/pull/8149): fix: prefill parameter inputs from parameter-level examples
|
|
56
|
+
- [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
|
|
57
|
+
- [#8138](https://github.com/scalar/scalar/pull/8138): chore: some minor style and ui updates
|
|
58
|
+
- [#8152](https://github.com/scalar/scalar/pull/8152): feat: support custom themes
|
|
59
|
+
- [#8157](https://github.com/scalar/scalar/pull/8157): fix: navigate to workspace settings from the menu
|
|
60
|
+
- [#8154](https://github.com/scalar/scalar/pull/8154): fix: scrolling issues in client modal
|
|
61
|
+
- [#8156](https://github.com/scalar/scalar/pull/8156): fix: only trigger send request when client is open
|
|
62
|
+
|
|
63
|
+
- **@scalar/agent-chat@0.5.10**
|
|
64
|
+
- [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
|
|
65
|
+
- [#8148](https://github.com/scalar/scalar/pull/8148): fix: document loading states
|
|
66
|
+
|
|
67
|
+
- **@scalar/components@0.19.3**
|
|
68
|
+
- [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
|
|
69
|
+
|
|
70
|
+
- **@scalar/oas-utils@0.6.41**
|
|
71
|
+
|
|
72
|
+
- **@scalar/sidebar@0.7.34**
|
|
73
|
+
|
|
3
74
|
## 1.44.18
|
|
4
75
|
|
|
5
76
|
### Patch Changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ClientSelector.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const ClientSelector = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ClientSelector = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dd2e9b07"]]);
|
|
5
5
|
export {
|
|
6
6
|
ClientSelector as default
|
|
7
7
|
};
|
|
@@ -4,7 +4,7 @@ import { ScalarIconCaretDown } from "@scalar/icons";
|
|
|
4
4
|
const _hoisted_1 = { class: "overflow-x-auto" };
|
|
5
5
|
const _hoisted_2 = {
|
|
6
6
|
key: 1,
|
|
7
|
-
class: "text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-
|
|
7
|
+
class: "text-c-1 flex h-auto w-full items-center gap-0.75 !rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"
|
|
8
8
|
};
|
|
9
9
|
const _hoisted_3 = { class: "overflow-x-auto" };
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -49,7 +49,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
49
49
|
}, {
|
|
50
50
|
default: withCtx(() => [
|
|
51
51
|
createVNode(unref(ScalarButton), {
|
|
52
|
-
class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-
|
|
52
|
+
class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none !rounded-b-xl px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
|
|
53
53
|
variant: "ghost"
|
|
54
54
|
}, {
|
|
55
55
|
default: withCtx(() => [
|
|
@@ -32,11 +32,11 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
32
32
|
};
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
34
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
35
|
-
_cache[0] || (_cache[0] = createElementVNode("label", { class: "bg-b-2 flex h-8 items-center rounded-t-
|
|
35
|
+
_cache[0] || (_cache[0] = createElementVNode("label", { class: "bg-b-2 flex h-8 items-center rounded-t-xl border border-b-0 px-3 py-2.5 font-medium" }, " Server ", -1)),
|
|
36
36
|
createElementVNode("div", {
|
|
37
37
|
id: unref(id),
|
|
38
38
|
class: normalizeClass(["border", {
|
|
39
|
-
"rounded-b-
|
|
39
|
+
"rounded-b-xl": !__props.selectedServer?.description && !__props.selectedServer?.variables
|
|
40
40
|
}])
|
|
41
41
|
}, [
|
|
42
42
|
__props.servers.length ? (openBlock(), createBlock(_sfc_main$1, {
|
|
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
54
54
|
}, null, 8, ["variables"]),
|
|
55
55
|
__props.selectedServer?.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
|
|
56
56
|
key: 0,
|
|
57
|
-
class: "text-c-3 rounded-b-
|
|
57
|
+
class: "text-c-3 rounded-b-xl border border-t-0 px-3 py-1.5",
|
|
58
58
|
value: __props.selectedServer.description
|
|
59
59
|
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
60
60
|
], 64);
|