@scalar/api-reference 1.31.1 → 1.31.3

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 +33 -0
  2. package/dist/browser/standalone.js +7532 -7508
  3. package/dist/browser/webpack-stats.json +1 -1
  4. package/dist/components/ApiReferenceLayout.vue.d.ts.map +1 -1
  5. package/dist/components/ApiReferenceLayout.vue.js +2 -2
  6. package/dist/components/ApiReferenceLayout.vue2.js +3 -2
  7. package/dist/components/Badge/Badge.vue.d.ts.map +1 -1
  8. package/dist/components/Badge/Badge.vue.js +1 -1
  9. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
  10. package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +1 -1
  11. package/dist/components/Content/Schema/SchemaComposition.vue.d.ts.map +1 -1
  12. package/dist/components/Content/Schema/SchemaComposition.vue.js +87 -103
  13. package/dist/components/Content/Schema/helpers/schema-name.d.ts +16 -0
  14. package/dist/components/Content/Schema/helpers/schema-name.d.ts.map +1 -0
  15. package/dist/components/Content/Schema/helpers/schema-name.js +40 -0
  16. package/dist/features/DownloadLink/DownloadLink.vue.d.ts +1 -1
  17. package/dist/features/DownloadLink/DownloadLink.vue.d.ts.map +1 -1
  18. package/dist/features/DownloadLink/DownloadLink.vue.js +2 -2
  19. package/dist/features/DownloadLink/DownloadLink.vue2.js +45 -28
  20. package/dist/features/Operation/components/ParameterHeaders.vue.d.ts.map +1 -1
  21. package/dist/features/Operation/components/ParameterHeaders.vue.js +2 -2
  22. package/dist/index.js +1 -1
  23. package/dist/libs/download.d.ts +2 -1
  24. package/dist/libs/download.d.ts.map +1 -1
  25. package/dist/libs/download.js +23 -11
  26. package/dist/stores/useHttpClientStore.js +17 -18
  27. package/dist/style.css +1 -1
  28. package/package.json +9 -9
  29. package/dist/helpers/local-storage.d.ts +0 -8
  30. package/dist/helpers/local-storage.d.ts.map +0 -1
  31. package/dist/helpers/local-storage.js +0 -6
package/package.json CHANGED
@@ -20,7 +20,7 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.31.1",
23
+ "version": "1.31.3",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  },
@@ -54,18 +54,18 @@
54
54
  "nanoid": "^5.1.5",
55
55
  "vue": "^3.5.12",
56
56
  "zod": "3.24.1",
57
- "@scalar/api-client": "2.5.0",
57
+ "@scalar/api-client": "2.5.2",
58
58
  "@scalar/code-highlight": "0.1.1",
59
+ "@scalar/components": "0.14.5",
59
60
  "@scalar/icons": "0.4.2",
60
- "@scalar/components": "0.14.3",
61
- "@scalar/openapi-parser": "0.13.0",
61
+ "@scalar/oas-utils": "0.4.2",
62
62
  "@scalar/openapi-types": "0.3.1",
63
- "@scalar/oas-utils": "0.4.0",
64
- "@scalar/themes": "0.13.0",
63
+ "@scalar/openapi-parser": "0.14.0",
65
64
  "@scalar/snippetz": "0.3.0",
66
65
  "@scalar/types": "0.2.1",
67
66
  "@scalar/use-hooks": "0.2.2",
68
- "@scalar/use-toasts": "0.8.0"
67
+ "@scalar/use-toasts": "0.8.0",
68
+ "@scalar/themes": "0.13.1"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@tailwindcss/vite": "^4.1.7",
@@ -82,9 +82,9 @@
82
82
  "vite-plugin-banner": "^0.7.1",
83
83
  "vite-plugin-css-injected-by-js": "^3.4.0",
84
84
  "vitest": "^1.6.0",
85
- "@scalar/build-tooling": "0.2.1",
85
+ "@scalar/galaxy": "0.5.0",
86
86
  "@scalar/react-renderer": "0.2.0",
87
- "@scalar/galaxy": "0.5.0"
87
+ "@scalar/build-tooling": "0.2.1"
88
88
  },
89
89
  "scripts": {
90
90
  "build": "pnpm build:default && pnpm build:standalone && pnpm types:build && tsc-alias -p tsconfig.build.json",
@@ -1,8 +0,0 @@
1
- /**
2
- * localStorage keys for all reference resources
3
- * to ensure we do not have any conflicts
4
- */
5
- export declare const REFERENCE_LS_KEYS: {
6
- readonly SELECTED_CLIENT: "scalar-reference-selected-client";
7
- };
8
- //# sourceMappingURL=local-storage.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"local-storage.d.ts","sourceRoot":"","sources":["../../src/helpers/local-storage.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;CAEpB,CAAA"}
@@ -1,6 +0,0 @@
1
- const e = {
2
- SELECTED_CLIENT: "scalar-reference-selected-client"
3
- };
4
- export {
5
- e as REFERENCE_LS_KEYS
6
- };