@scalar/api-reference 1.44.4 → 1.44.7

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 (31) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/dist/browser/standalone.js +1948 -1944
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/AgentScalar/index.d.ts +0 -1
  5. package/dist/components/AgentScalar/index.d.ts.map +1 -1
  6. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  7. package/dist/components/ApiReference.vue.js +1 -1
  8. package/dist/components/ApiReference.vue2.js +7 -16
  9. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts +3 -2
  10. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  11. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  13. package/dist/components/Content/Schema/SchemaProperty.vue2.js +1 -1
  14. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts +1 -2
  15. package/dist/components/Content/Schema/helpers/get-ref-name.d.ts.map +1 -1
  16. package/dist/components/Content/Schema/helpers/get-ref-name.js +1 -5
  17. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts +2 -1
  18. package/dist/components/Content/Schema/helpers/get-schema-type.d.ts.map +1 -1
  19. package/dist/components/Content/Schema/helpers/get-schema-type.js +7 -1
  20. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts +5 -1
  21. package/dist/components/Content/Schema/helpers/optimize-value-for-display.d.ts.map +1 -1
  22. package/dist/components/Content/Schema/helpers/optimize-value-for-display.js +2 -0
  23. package/dist/components/Content/Schema/helpers/schema-name.js +1 -1
  24. package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
  25. package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
  26. package/dist/style.css +149 -120
  27. package/package.json +12 -12
  28. package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts +0 -19
  29. package/dist/components/AgentScalar/AgentScalarTooltip.vue.d.ts.map +0 -1
  30. package/dist/components/AgentScalar/AgentScalarTooltip.vue.js +0 -35
  31. package/dist/components/AgentScalar/AgentScalarTooltip.vue2.js +0 -4
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.44.4",
23
+ "version": "1.44.7",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  },
@@ -85,22 +85,22 @@
85
85
  "microdiff": "^1.5.0",
86
86
  "nanoid": "^5.1.6",
87
87
  "vue": "^3.5.26",
88
- "@scalar/agent-chat": "0.4.5",
89
- "@scalar/api-client": "2.22.2",
88
+ "@scalar/agent-chat": "0.4.7",
90
89
  "@scalar/code-highlight": "0.2.2",
90
+ "@scalar/api-client": "2.23.0",
91
+ "@scalar/components": "0.17.2",
91
92
  "@scalar/helpers": "0.2.10",
92
93
  "@scalar/icons": "0.5.2",
93
- "@scalar/components": "0.17.1",
94
- "@scalar/oas-utils": "0.6.31",
95
- "@scalar/openapi-types": "0.5.3",
94
+ "@scalar/oas-utils": "0.6.32",
96
95
  "@scalar/openapi-parser": "0.24.6",
97
- "@scalar/sidebar": "0.7.24",
96
+ "@scalar/openapi-types": "0.5.3",
97
+ "@scalar/sidebar": "0.7.25",
98
98
  "@scalar/themes": "0.14.0",
99
- "@scalar/snippetz": "0.6.10",
99
+ "@scalar/use-hooks": "0.3.7",
100
100
  "@scalar/types": "0.6.1",
101
101
  "@scalar/use-toasts": "0.9.1",
102
- "@scalar/workspace-store": "0.28.0",
103
- "@scalar/use-hooks": "0.3.7"
102
+ "@scalar/workspace-store": "0.28.1",
103
+ "@scalar/snippetz": "0.6.10"
104
104
  },
105
105
  "devDependencies": {
106
106
  "@hono/node-server": "^1.19.7",
@@ -120,8 +120,8 @@
120
120
  "vitest": "4.0.16",
121
121
  "@scalar/build-tooling": "0.4.1",
122
122
  "@scalar/core": "0.3.36",
123
- "@scalar/react-renderer": "0.3.0",
124
- "@scalar/galaxy": "0.5.12"
123
+ "@scalar/galaxy": "0.5.12",
124
+ "@scalar/react-renderer": "0.3.0"
125
125
  },
126
126
  "scripts": {
127
127
  "build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
@@ -1,19 +0,0 @@
1
- import type { ApiReferenceConfigurationWithSource } from '@scalar/types/api-reference';
2
- type __VLS_Props = {
3
- agentScalarConfiguration: ApiReferenceConfigurationWithSource['agent'] | undefined;
4
- };
5
- declare var __VLS_5: {}, __VLS_7: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_5) => any;
8
- } & {
9
- default?: (props: typeof __VLS_7) => any;
10
- };
11
- declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
13
- export default _default;
14
- type __VLS_WithSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
19
- //# sourceMappingURL=AgentScalarTooltip.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AgentScalarTooltip.vue.d.ts","sourceRoot":"","sources":["../../../src/components/AgentScalar/AgentScalarTooltip.vue"],"names":[],"mappings":"AA8CA,OAAO,KAAK,EAAE,mCAAmC,EAAE,MAAM,6BAA6B,CAAA;AAGtF,KAAK,WAAW,GAAG;IACjB,wBAAwB,EACpB,mCAAmC,CAAC,OAAO,CAAC,GAC5C,SAAS,CAAA;CACd,CAAC;AAgDF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoB/C,QAAA,MAAM,eAAe,kSAMnB,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAQ1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,35 +0,0 @@
1
- import { defineComponent, computed, createBlock, renderSlot, openBlock, unref, withCtx } from "vue";
2
- import { ScalarTooltip } from "@scalar/components";
3
- import { isLocalUrl } from "@scalar/helpers/url/is-local-url";
4
- const _sfc_main = /* @__PURE__ */ defineComponent({
5
- __name: "AgentScalarTooltip",
6
- props: {
7
- agentScalarConfiguration: {}
8
- },
9
- setup(__props) {
10
- const content = computed(() => {
11
- if (typeof window !== "undefined" && !isLocalUrl(window.location.href)) {
12
- return void 0;
13
- }
14
- if (__props.agentScalarConfiguration?.key) {
15
- return void 0;
16
- }
17
- return "Available in development only.";
18
- });
19
- return (_ctx, _cache) => {
20
- return content.value ? (openBlock(), createBlock(unref(ScalarTooltip), {
21
- key: 0,
22
- content: content.value,
23
- placement: "bottom"
24
- }, {
25
- default: withCtx(() => [
26
- renderSlot(_ctx.$slots, "default")
27
- ]),
28
- _: 3
29
- }, 8, ["content"])) : renderSlot(_ctx.$slots, "default", { key: 1 });
30
- };
31
- }
32
- });
33
- export {
34
- _sfc_main as default
35
- };
@@ -1,4 +0,0 @@
1
- import _sfc_main from "./AgentScalarTooltip.vue.js";
2
- export {
3
- _sfc_main as default
4
- };