@scalar/api-client 2.2.0 → 2.2.1

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.
Files changed (34) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/components/AddressBar/AddressBar.vue.js +1 -1
  3. package/dist/components/AddressBar/AddressBar.vue2.js +1 -1
  4. package/dist/components/SideNav/SideNav.vue.js +4 -4
  5. package/dist/components/TopNav/TopNav.vue.d.ts.map +1 -1
  6. package/dist/components/TopNav/TopNav.vue.js +165 -5
  7. package/dist/components/TopNav/TopNav.vue2.js +2 -165
  8. package/dist/components/TopNav/TopNavItem.vue.d.ts.map +1 -1
  9. package/dist/components/TopNav/TopNavItem.vue.js +2 -2
  10. package/dist/components/TopNav/TopNavItem.vue2.js +5 -5
  11. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.d.ts.map +1 -1
  12. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +1 -1
  13. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +2 -2
  14. package/dist/layouts/App/ApiClientApp.vue.d.ts +1 -1
  15. package/dist/layouts/App/ApiClientApp.vue.d.ts.map +1 -1
  16. package/dist/layouts/App/ApiClientApp.vue.js +39 -36
  17. package/dist/layouts/Modal/ApiClientModal.vue.js +2 -2
  18. package/dist/style.css +1 -1
  19. package/dist/tailwind/desktop-variants.d.ts +18 -0
  20. package/dist/tailwind/desktop-variants.d.ts.map +1 -0
  21. package/dist/views/Request/Request.vue.d.ts.map +1 -1
  22. package/dist/views/Request/Request.vue.js +2 -2
  23. package/dist/views/Request/Request.vue2.js +8 -8
  24. package/dist/views/Request/RequestSection/RequestSection.vue.d.ts.map +1 -1
  25. package/dist/views/Request/RequestSection/RequestSection.vue.js +2 -2
  26. package/dist/views/Request/RequestSection/RequestSection.vue2.js +6 -6
  27. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.d.ts.map +1 -1
  28. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue.js +1 -1
  29. package/dist/views/Request/ResponseSection/ResponseBodyRaw.vue2.js +25 -21
  30. package/dist/views/Request/ResponseSection/ResponseEmpty.vue.js +2 -2
  31. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +7 -7
  32. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.d.ts.map +1 -1
  33. package/dist/views/Request/ResponseSection/ResponseHeaders.vue.js +7 -7
  34. package/package.json +9 -9
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Platform Variants
3
+ */
4
+ export declare const platformVariants: readonly ["mac", "windows", "linux"];
5
+ /**
6
+ * Add support for `desktop` and platform modifiers
7
+ *
8
+ * @example <div class="desktop:rounded-lg">...</div>
9
+ * @example <div class="mac:hidden">...</div>
10
+ *
11
+ * Modified from `@todesktop/tailwind-variants`
12
+ * @see https://github.com/todesktop/tailwind-variants
13
+ */
14
+ export declare const desktopVariants: {
15
+ handler: import("tailwindcss/types/config").PluginCreator;
16
+ config?: Partial<import("tailwindcss/types/config").Config>;
17
+ };
18
+ //# sourceMappingURL=desktop-variants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"desktop-variants.d.ts","sourceRoot":"","sources":["../../src/tailwind/desktop-variants.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,gBAAgB,sCAAuC,CAAA;AAEpE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe;;;CAU1B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAmQ8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AAyXjD,wBAMG"}
1
+ {"version":3,"file":"Request.vue.d.ts","sourceRoot":"","sources":["../../../src/views/Request/Request.vue"],"names":[],"mappings":";;cAmQ8B,MAAM;aAAO,MAAM;;;;cAAnB,MAAM;aAAO,MAAM;;;AA0XjD,wBAMG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./Request.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../_virtual/_plugin-vue_export-helper.js";
4
- const p = /* @__PURE__ */ t(o, [["__scopeId", "data-v-c1de4550"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-76d1e7a7"]]);
5
5
  export {
6
- p as default
6
+ m as default
7
7
  };
@@ -37,13 +37,13 @@ const He = /* @__PURE__ */ K({
37
37
  serverMutators: W,
38
38
  servers: j,
39
39
  events: p
40
- } = T, u = R(!l), E = R(), e = R(), h = R(""), D = pe(), F = B(
40
+ } = T, u = R(!l), E = R(), e = R(), h = R(""), z = pe(), D = B(
41
41
  () => k.findLast((o) => {
42
42
  var t;
43
43
  return o.request.uid === ((t = v.value) == null ? void 0 : t.uid);
44
44
  })
45
- ), { mediaQueries: Q } = de();
46
- P(Q.md, (o) => u.value = o);
45
+ ), { mediaQueries: F } = de();
46
+ P(F.md, (o) => u.value = o);
47
47
  const U = B(
48
48
  () => {
49
49
  var o, t;
@@ -73,12 +73,12 @@ const He = /* @__PURE__ */ K({
73
73
  E.value = m.controller;
74
74
  const [c, f] = await m.sendRequest();
75
75
  c ? w(c.message, "error") : k.push(f);
76
- }, z = async () => {
76
+ }, Q = async () => {
77
77
  var o;
78
78
  return (o = E.value) == null ? void 0 : o.abort(Se.REQUEST_ABORTED);
79
79
  };
80
80
  X(() => {
81
- p.executeRequest.on(C), p.cancelRequest.on(z);
81
+ p.executeRequest.on(C), p.cancelRequest.on(Q);
82
82
  }), me(), Y(() => p.executeRequest.off(C));
83
83
  function J({ requestName: o }) {
84
84
  var r, i, m, c;
@@ -106,7 +106,7 @@ const He = /* @__PURE__ */ K({
106
106
  },
107
107
  a.value.collections[0]
108
108
  );
109
- t && D.push(
109
+ t && z.push(
110
110
  `/workspace/${a.value.uid}/request/${t.uid}`
111
111
  ), n.hide();
112
112
  }
@@ -115,7 +115,7 @@ const He = /* @__PURE__ */ K({
115
115
  }
116
116
  return (o, t) => (b(), Z(_, null, [
117
117
  ee("div", {
118
- class: N(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative overflow-hidden", {
118
+ class: N(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative z-0 overflow-hidden", {
119
119
  "!mr-0 !mb-0 !border-0": s(l)
120
120
  }])
121
121
  }, [
@@ -143,7 +143,7 @@ const He = /* @__PURE__ */ K({
143
143
  return [
144
144
  d(le, { selectedSecuritySchemeUids: U.value }, null, 8, ["selectedSecuritySchemeUids"]),
145
145
  d(ie, {
146
- response: (r = F.value) == null ? void 0 : r.response
146
+ response: (r = D.value) == null ? void 0 : r.response
147
147
  }, null, 8, ["response"])
148
148
  ];
149
149
  }),
@@ -1 +1 @@
1
- {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AA6KA,KAAK,WAAW,GAAG;IACjB,0BAA0B,EAAE,MAAM,EAAE,CAAA;CACrC,CAAC;;AAoQF,wBAOG"}
1
+ {"version":3,"file":"RequestSection.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/RequestSection/RequestSection.vue"],"names":[],"mappings":"AA6KA,KAAK,WAAW,GAAG;IACjB,0BAA0B,EAAE,MAAM,EAAE,CAAA;CACrC,CAAC;;AAsQF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./RequestSection.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const c = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ca45845b"]]);
4
+ const m = /* @__PURE__ */ t(o, [["__scopeId", "data-v-ade1db3e"]]);
5
5
  export {
6
- c as default
6
+ m as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, computed as S, ref as b, watch as V, openBlock as d, createBlock as w, unref as o, withCtx as A, createElementVNode as x, createElementBlock as v, createCommentVNode as C, toDisplayString as R, createVNode as s, withDirectives as i, vShow as r } from "vue";
1
+ import { defineComponent as B, computed as S, ref as b, watch as V, openBlock as d, createBlock as w, unref as o, withCtx as x, createElementVNode as A, createElementBlock as v, createCommentVNode as C, toDisplayString as R, createVNode as s, withDirectives as i, vShow as r } from "vue";
2
2
  import H from "../../../components/ContextBar.vue.js";
3
3
  import N from "../../../components/ViewLayout/ViewLayoutSection.vue.js";
4
4
  import { useActiveEntities as E } from "../../../store/active-entities.js";
@@ -52,15 +52,15 @@ const D = { class: "flex-1 flex gap-1 items-center lg:pr-24 pointer-events-none
52
52
  return d(), w(N, {
53
53
  "aria-label": `Request: ${(u = o(l)) == null ? void 0 : u.summary}`
54
54
  }, {
55
- title: A(() => {
55
+ title: x(() => {
56
56
  var n, c;
57
57
  return [
58
- x("div", D, [
58
+ A("div", D, [
59
59
  o(p) ? C("", !0) : (d(), v("label", M)),
60
60
  o(p) ? (d(), v("span", z, R((c = o(l)) == null ? void 0 : c.summary), 1)) : (d(), v("input", {
61
61
  key: 1,
62
62
  id: "requestname",
63
- class: "text-c-1 rounded pointer-events-auto relative w-full pl-3 -ml-3 has-[:focus-visible]:outline h-8 group-hover-input has-[:focus-visible]:outline z-10",
63
+ class: "text-c-1 rounded pointer-events-auto relative w-full pl-2 -ml-0.5 md:-ml-1 xl:-ml-2 has-[:focus-visible]:outline h-8 group-hover-input has-[:focus-visible]:outline z-10",
64
64
  placeholder: "Request Name",
65
65
  value: (n = o(l)) == null ? void 0 : n.summary,
66
66
  onInput: q
@@ -73,10 +73,10 @@ const D = { class: "flex-1 flex gap-1 items-center lg:pr-24 pointer-events-none
73
73
  }, null, 8, ["activeSection", "sections"])
74
74
  ];
75
75
  }),
76
- default: A(() => {
76
+ default: x(() => {
77
77
  var n, c, m;
78
78
  return [
79
- x("div", I, [
79
+ A("div", I, [
80
80
  i(s(Q, {
81
81
  selectedSecuritySchemeUids: t.selectedSecuritySchemeUids,
82
82
  title: "Authentication"
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseBodyRaw.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyRaw.vue"],"names":[],"mappings":"AAyGA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,wBAAwB,CAAA;AAM/E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAC;;AAyGF,wBAOG"}
1
+ {"version":3,"file":"ResponseBodyRaw.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseBodyRaw.vue"],"names":[],"mappings":"AAyGA,OAAO,EAAE,KAAK,kBAAkB,EAAiB,MAAM,wBAAwB,CAAA;AAM/E,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,GAAG,CAAA;IACZ,QAAQ,CAAC,EAAE,kBAAkB,CAAA;CAC9B,CAAC;;AA4GF,wBAOG"}
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseBodyRaw.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-641bbcf9"]]);
4
+ const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-f3712b08"]]);
5
5
  export {
6
6
  a as default
7
7
  };
@@ -1,40 +1,44 @@
1
- import { defineComponent as d, ref as p, toRef as s, openBlock as f, createElementBlock as m, createElementVNode as o, unref as c, createVNode as y } from "vue";
2
- import { ScalarIcon as C } from "@scalar/components";
3
- import { useCodeMirror as g } from "@scalar/use-codemirror";
4
- import { useClipboard as b } from "@scalar/use-hooks/useClipboard";
5
- const _ = { class: "relative" }, v = { class: "scalar-code-copy" }, x = /* @__PURE__ */ d({
1
+ import { defineComponent as m, ref as f, toRef as c, openBlock as a, createElementBlock as l, createElementVNode as t, unref as i, createVNode as y, createCommentVNode as C } from "vue";
2
+ import { ScalarIcon as b } from "@scalar/components";
3
+ import { prettyPrintJson as g } from "@scalar/oas-utils/helpers";
4
+ import { useCodeMirror as v } from "@scalar/use-codemirror";
5
+ import { useClipboard as _ } from "@scalar/use-hooks/useClipboard";
6
+ const k = { class: "body-raw relative overflow-auto" }, R = {
7
+ key: 0,
8
+ class: "scalar-code-copy"
9
+ }, E = /* @__PURE__ */ m({
6
10
  __name: "ResponseBodyRaw",
7
11
  props: {
8
12
  content: {},
9
13
  language: {}
10
14
  },
11
- setup(l) {
12
- const r = l, n = p(null), { copyToClipboard: a } = b(), { codeMirror: i } = g({
15
+ setup(u) {
16
+ const r = u, n = f(null), { copyToClipboard: d } = _(), { codeMirror: p } = v({
13
17
  codeMirrorRef: n,
14
18
  readOnly: !0,
15
19
  lineNumbers: !0,
16
- content: s(() => r.content),
17
- language: s(() => r.language),
20
+ content: c(() => g(r.content)),
21
+ language: c(() => r.language),
18
22
  forceFoldGutter: !0
19
- }), u = () => {
20
- var t;
21
- return ((t = i.value) == null ? void 0 : t.state.doc.toString()) || "";
23
+ }), s = () => {
24
+ var o;
25
+ return ((o = p.value) == null ? void 0 : o.state.doc.toString()) || "";
22
26
  };
23
- return (t, e) => (f(), m("div", _, [
24
- o("div", v, [
25
- o("button", {
27
+ return (o, e) => (a(), l("div", k, [
28
+ s() ? (a(), l("div", R, [
29
+ t("button", {
26
30
  class: "copy-button",
27
31
  type: "button",
28
- onClick: e[0] || (e[0] = (R) => c(a)(u()))
32
+ onClick: e[0] || (e[0] = (M) => i(d)(s()))
29
33
  }, [
30
- e[1] || (e[1] = o("span", { class: "sr-only" }, "Copy content", -1)),
31
- y(c(C), {
34
+ e[1] || (e[1] = t("span", { class: "sr-only" }, "Copy content", -1)),
35
+ y(i(b), {
32
36
  icon: "Clipboard",
33
37
  size: "md"
34
38
  })
35
39
  ])
36
- ]),
37
- o("div", {
40
+ ])) : C("", !0),
41
+ t("div", {
38
42
  ref_key: "codeMirrorRef",
39
43
  ref: n
40
44
  }, null, 512)
@@ -42,5 +46,5 @@ const _ = { class: "relative" }, v = { class: "scalar-code-copy" }, x = /* @__PU
42
46
  }
43
47
  });
44
48
  export {
45
- x as default
49
+ E as default
46
50
  };
@@ -1,7 +1,7 @@
1
1
  import o from "./ResponseEmpty.vue2.js";
2
2
  /* empty css */
3
3
  import t from "../../../_virtual/_plugin-vue_export-helper.js";
4
- const r = /* @__PURE__ */ t(o, [["__scopeId", "data-v-3c233eb3"]]);
4
+ const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-886982fd"]]);
5
5
  export {
6
- r as default
6
+ s as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, onMounted as R, onBeforeUnmount as C, openBlock as l, createElementBlock as n, createElementVNode as o, normalizeClass as k, unref as t, createTextVNode as c, toDisplayString as N, createCommentVNode as m, createVNode as s } from "vue";
1
+ import { defineComponent as b, onMounted as R, onBeforeUnmount as C, openBlock as n, createElementBlock as l, createElementVNode as o, normalizeClass as k, unref as t, createTextVNode as c, toDisplayString as N, createCommentVNode as m, createVNode as s } from "vue";
2
2
  import q from "../../../assets/computer.ascii.js";
3
3
  import x from "../../../assets/keycap.ascii.js";
4
4
  import u from "../../../components/ScalarAsciiArt.vue.js";
@@ -17,14 +17,14 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, E = {
17
17
  a.commandPalette.emit({ commandName: "Create Request" });
18
18
  }, y = (i) => {
19
19
  i != null && i.createNew && v.name === "request" && f();
20
- }, h = "2.2.0";
21
- return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (l(), n("div", B, [
20
+ }, h = "2.2.1";
21
+ return R(() => a.hotKeys.on(y)), C(() => a.hotKeys.off(y)), (i, e) => (n(), l("div", B, [
22
22
  o("div", {
23
23
  class: k(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center", {
24
24
  "hidden opacity-0": t(d).length <= 1 && t(r) !== "modal"
25
25
  }])
26
26
  }, [
27
- t(g) ? m("", !0) : (l(), n("div", E, [
27
+ t(g) ? m("", !0) : (n(), l("div", E, [
28
28
  c(" Scalar App V" + N(t(h)) + " Beta ", 1),
29
29
  e[2] || (e[2] = o("div", { class: "mt-2" }, [
30
30
  o("a", {
@@ -38,7 +38,7 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, E = {
38
38
  class: "text-c-3"
39
39
  }, null, 8, ["art"])
40
40
  ], 2),
41
- t(r) !== "modal" ? (l(), n("div", {
41
+ t(r) !== "modal" ? (n(), l("div", {
42
42
  key: 0,
43
43
  class: k(["h-[calc(100%_-_50px)] items-center justify-center hidden pb-5", {
44
44
  "!flex opacity-100": t(d).length == 1
@@ -65,7 +65,7 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, E = {
65
65
  ])
66
66
  ], 2)) : m("", !0),
67
67
  o("div", j, [
68
- t(r) !== "modal" ? (l(), n("button", {
68
+ t(r) !== "modal" ? (n(), l("button", {
69
69
  key: 0,
70
70
  class: "flex items-center gap-1.5",
71
71
  type: "button",
@@ -82,7 +82,7 @@ const B = { class: "relative col-1 flex-center gap-6 p-2 capitalize" }, E = {
82
82
  e[5] || (e[5] = c(" Send Request ")),
83
83
  s(p, { hotkey: "↵" })
84
84
  ]),
85
- t(r) !== "modal" ? (l(), n("button", {
85
+ t(r) === "desktop" ? (n(), l("button", {
86
86
  key: 1,
87
87
  class: "flex items-center gap-1.5",
88
88
  type: "button",
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AA0EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAyJF,wBAOG"}
1
+ {"version":3,"file":"ResponseHeaders.vue.d.ts","sourceRoot":"","sources":["../../../../src/views/Request/ResponseSection/ResponseHeaders.vue"],"names":[],"mappings":"AA0EA,KAAK,MAAM,GAAG;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAA;CAAE,CAAA;AAEhE,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;CAClB,CAAC;;AAwJF,wBAOG"}
@@ -1,4 +1,4 @@
1
- import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as f, renderList as x, toDisplayString as i } from "vue";
1
+ import { defineComponent as _, openBlock as e, createBlock as n, withCtx as t, createTextVNode as l, createElementBlock as s, createVNode as m, Fragment as c, renderList as x, toDisplayString as i } from "vue";
2
2
  import h from "../../../components/DataTable/DataTable.vue.js";
3
3
  import y from "../../../components/DataTable/DataTableRow.vue.js";
4
4
  import u from "../../../components/DataTable/DataTableText.vue.js";
@@ -10,7 +10,7 @@ const w = {
10
10
  class: "border max-h-[calc(100%-32px)] overflow-y-auto rounded"
11
11
  }, C = {
12
12
  key: 1,
13
- class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1"
13
+ class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1"
14
14
  }, R = /* @__PURE__ */ _({
15
15
  __name: "ResponseHeaders",
16
16
  props: {
@@ -21,7 +21,7 @@ const w = {
21
21
  (a) => a.name.toLowerCase() === r.toLowerCase()
22
22
  );
23
23
  return (r, a) => (e(), n(b, {
24
- class: "overflow-scroll",
24
+ class: "overflow-auto",
25
25
  defaultOpen: !1,
26
26
  itemCount: r.headers.length
27
27
  }, {
@@ -36,16 +36,16 @@ const w = {
36
36
  scroll: ""
37
37
  }, {
38
38
  default: t(() => [
39
- (e(!0), s(f, null, x(r.headers, (o, p) => (e(), n(y, {
39
+ (e(!0), s(c, null, x(r.headers, (o, p) => (e(), n(y, {
40
40
  key: p,
41
41
  class: "text-c-1"
42
42
  }, {
43
43
  default: t(() => [
44
44
  m(u, { class: "sticky left-0 z-1 bg-b-1 max-w-48" }, {
45
45
  default: t(() => {
46
- var c;
46
+ var f;
47
47
  return [
48
- typeof ((c = d(o.name)) == null ? void 0 : c.url) == "string" ? (e(), n(k, {
48
+ typeof ((f = d(o.name)) == null ? void 0 : f.url) == "string" ? (e(), n(k, {
49
49
  key: 0,
50
50
  class: "decoration-c-3",
51
51
  href: d(o.name).url
@@ -54,7 +54,7 @@ const w = {
54
54
  l(i(o.name), 1)
55
55
  ]),
56
56
  _: 2
57
- }, 1032, ["href"])) : (e(), s(f, { key: 1 }, [
57
+ }, 1032, ["href"])) : (e(), s(c, { key: 1 }, [
58
58
  l(i(o.name), 1)
59
59
  ], 64))
60
60
  ];
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "rest",
19
19
  "testing"
20
20
  ],
21
- "version": "2.2.0",
21
+ "version": "2.2.1",
22
22
  "engines": {
23
23
  "node": ">=18"
24
24
  },
@@ -155,20 +155,20 @@
155
155
  "whatwg-mimetype": "^4.0.0",
156
156
  "yaml": "^2.4.5",
157
157
  "zod": "^3.23.8",
158
+ "@scalar/components": "0.12.74",
158
159
  "@scalar/draggable": "0.1.7",
159
160
  "@scalar/icons": "0.1.2",
160
- "@scalar/oas-utils": "0.2.78",
161
161
  "@scalar/import": "0.1.2",
162
+ "@scalar/oas-utils": "0.2.79",
162
163
  "@scalar/object-utils": "1.1.12",
163
164
  "@scalar/openapi-parser": "0.8.10",
164
165
  "@scalar/openapi-types": "0.1.5",
165
- "@scalar/themes": "0.9.49",
166
+ "@scalar/themes": "0.9.50",
166
167
  "@scalar/types": "0.0.20",
167
- "@scalar/use-hooks": "0.1.2",
168
+ "@scalar/use-codemirror": "0.11.41",
169
+ "@scalar/use-hooks": "0.1.3",
168
170
  "@scalar/use-toasts": "0.7.7",
169
- "@scalar/use-tooltip": "1.0.4",
170
- "@scalar/use-codemirror": "0.11.40",
171
- "@scalar/components": "0.12.73"
171
+ "@scalar/use-tooltip": "1.0.4"
172
172
  },
173
173
  "devDependencies": {
174
174
  "@types/js-cookie": "^3.0.6",
@@ -185,8 +185,8 @@
185
185
  "vite": "^5.4.10",
186
186
  "vite-svg-loader": "^5.1.0",
187
187
  "vitest": "^1.6.0",
188
- "@scalar/build-tooling": "0.1.12",
189
- "@scalar/galaxy": "0.2.16"
188
+ "@scalar/galaxy": "0.2.16",
189
+ "@scalar/build-tooling": "0.1.12"
190
190
  },
191
191
  "scripts": {
192
192
  "build": "vite build && pnpm types:build && tsc-alias -p tsconfig.build.json",