@scalar/api-reference 1.20.14 → 1.20.15

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/dist/index.js CHANGED
@@ -41428,8 +41428,11 @@ const Va = /* @__PURE__ */ te(fV, [["render", mV], ["__scopeId", "data-v-08c68ac
41428
41428
  setup(r) {
41429
41429
  const e = r, { getSectionId: t, hash: n, isIntersectionEnabled: s } = Dt(), { setCollapsedSidebarItem: i } = cn();
41430
41430
  function o() {
41431
- var a;
41432
- !e.label || !s.value || (window.history.replaceState({}, "", `#${e.id}`), n.value = e.id ?? "", (a = e.id) != null && a.startsWith("model") && i(t(e.id), !0));
41431
+ var c;
41432
+ if (!e.label || !s.value)
41433
+ return;
41434
+ const a = new URL(window.location.href), l = e.id ?? "";
41435
+ a.hash = l, n.value = l, window.history.replaceState({}, "", a), (c = e.id) != null && c.startsWith("model") && i(t(e.id), !0);
41433
41436
  }
41434
41437
  return (a, l) => (k(), q(mg, {
41435
41438
  is: "section",
@@ -41443,7 +41446,7 @@ const Va = /* @__PURE__ */ te(fV, [["render", mV], ["__scopeId", "data-v-08c68ac
41443
41446
  _: 3
41444
41447
  }, 8, ["id"]));
41445
41448
  }
41446
- }), To = /* @__PURE__ */ te(gV, [["__scopeId", "data-v-e84ea29b"]]), OV = { class: "section-accordion-button-content" }, yV = {
41449
+ }), To = /* @__PURE__ */ te(gV, [["__scopeId", "data-v-4ff98d72"]]), OV = { class: "section-accordion-button-content" }, yV = {
41447
41450
  key: 0,
41448
41451
  class: "section-accordion-button-actions"
41449
41452
  }, bV = {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "vue",
16
16
  "vue3"
17
17
  ],
18
- "version": "1.20.14",
18
+ "version": "1.20.15",
19
19
  "engines": {
20
20
  "node": ">=18"
21
21
  },
@@ -69,12 +69,12 @@
69
69
  "unhead": "^1.8.3",
70
70
  "unified": "^11.0.4",
71
71
  "vue-sonner": "^1.0.3",
72
- "@scalar/api-client": "1.1.11",
73
72
  "@scalar/components": "0.4.8",
74
- "@scalar/use-modal": "0.2.9",
75
- "@scalar/use-tooltip": "0.5.12",
73
+ "@scalar/oas-utils": "0.1.2",
76
74
  "@scalar/themes": "0.6.7",
77
- "@scalar/oas-utils": "0.1.2"
75
+ "@scalar/use-tooltip": "0.5.12",
76
+ "@scalar/use-modal": "0.2.9",
77
+ "@scalar/api-client": "1.1.11"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@etchteam/storybook-addon-css-variables-theme": "^1.5.1",