@scalar/api-reference 1.39.3 → 1.40.0

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 (62) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts +1 -1
  3. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.d.ts.map +1 -1
  4. package/dist/blocks/scalar-info-block/components/DownloadLink.vue.js +1 -1
  5. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts +2 -1
  6. package/dist/blocks/scalar-info-block/components/InfoBlock.vue.d.ts.map +1 -1
  7. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts +1 -1
  8. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.d.ts.map +1 -1
  9. package/dist/blocks/scalar-info-block/components/InfoDescription.vue.js +1 -1
  10. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts +1 -1
  11. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.d.ts.map +1 -1
  12. package/dist/blocks/scalar-info-block/components/IntroductionLayout.vue.js +1 -1
  13. package/dist/browser/standalone.js +17250 -16963
  14. package/dist/browser/webpack-stats.json +1 -1
  15. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  16. package/dist/components/ApiReference.vue.js +1 -1
  17. package/dist/components/ApiReference.vue2.js +10 -2
  18. package/dist/components/Content/Content.vue.d.ts +2 -1
  19. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  20. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.d.ts.map +1 -1
  21. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue.js +1 -1
  22. package/dist/components/Content/Schema/SchemaEnumPropertyItem.vue2.js +8 -4
  23. package/dist/components/Content/Schema/SchemaHeading.vue.d.ts.map +1 -1
  24. package/dist/components/Content/Schema/SchemaHeading.vue.js +1 -1
  25. package/dist/components/Content/Schema/SchemaHeading.vue2.js +7 -5
  26. package/dist/components/Content/Schema/SchemaProperty.vue.d.ts.map +1 -1
  27. package/dist/components/Content/Schema/SchemaProperty.vue.js +1 -1
  28. package/dist/components/Content/Schema/SchemaProperty.vue2.js +17 -7
  29. package/dist/components/Content/Schema/helpers/sort-property-names.d.ts +1 -1
  30. package/dist/components/Content/Schema/helpers/sort-property-names.d.ts.map +1 -1
  31. package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
  32. package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
  33. package/dist/features/Operation/components/ParameterListItem.vue2.js +8 -4
  34. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts +1 -1
  35. package/dist/features/toolbar/ApiReferenceToolbar.vue.d.ts.map +1 -1
  36. package/dist/features/toolbar/ApiReferenceToolbar.vue.js +4 -4
  37. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts +1 -1
  38. package/dist/features/toolbar/ApiReferenceToolbarConfig.vue.d.ts.map +1 -1
  39. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts +1 -1
  40. package/dist/features/toolbar/ApiReferenceToolbarConfigLayoutOptions.vue.d.ts.map +1 -1
  41. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.d.ts.map +1 -1
  42. package/dist/features/toolbar/ApiReferenceToolbarConfigTheme.vue.js +29 -8
  43. package/dist/features/toolbar/ApiReferenceToolbarTitle.vue.js +1 -1
  44. package/dist/helpers/color-mode.d.ts +8 -0
  45. package/dist/helpers/color-mode.d.ts.map +1 -0
  46. package/dist/helpers/color-mode.js +9 -0
  47. package/dist/helpers/map-config-to-client-store.d.ts +2 -1
  48. package/dist/helpers/map-config-to-client-store.d.ts.map +1 -1
  49. package/dist/helpers/map-config-to-workspace-store.d.ts +1 -1
  50. package/dist/helpers/map-config-to-workspace-store.d.ts.map +1 -1
  51. package/dist/helpers/map-config-to-workspace-store.js +2 -2
  52. package/dist/helpers/map-configuration.d.ts +1 -1
  53. package/dist/helpers/map-configuration.d.ts.map +1 -1
  54. package/dist/helpers/normalize-configurations.d.ts +1 -1
  55. package/dist/helpers/normalize-configurations.d.ts.map +1 -1
  56. package/dist/helpers/normalize-configurations.js +1 -1
  57. package/dist/hooks/use-workspace-store-events.js +1 -1
  58. package/dist/index.d.ts +2 -1
  59. package/dist/index.d.ts.map +1 -1
  60. package/dist/standalone/lib/html-api.d.ts.map +1 -1
  61. package/dist/style.css +354 -309
  62. package/package.json +20 -20
package/package.json CHANGED
@@ -20,12 +20,13 @@
20
20
  "vue",
21
21
  "vue3"
22
22
  ],
23
- "version": "1.39.3",
23
+ "version": "1.40.0",
24
24
  "engines": {
25
25
  "node": ">=20"
26
26
  },
27
27
  "type": "module",
28
28
  "main": "./dist/index.js",
29
+ "module": "./dist/index.js",
29
30
  "types": "./dist/index.d.ts",
30
31
  "exports": {
31
32
  ".": {
@@ -55,7 +56,6 @@
55
56
  "esm.sh": {
56
57
  "bundle": true
57
58
  },
58
- "module": "./dist/index.js",
59
59
  "dependencies": {
60
60
  "@floating-ui/vue": "1.1.9",
61
61
  "@headlessui/vue": "1.7.23",
@@ -70,23 +70,23 @@
70
70
  "vue": "^3.5.21",
71
71
  "zod": "4.1.11",
72
72
  "@scalar/code-highlight": "0.2.0",
73
- "@scalar/api-client": "2.11.0",
74
- "@scalar/components": "0.16.3",
75
- "@scalar/json-magic": "0.8.1",
76
- "@scalar/oas-utils": "0.6.3",
77
- "@scalar/object-utils": "1.2.11",
78
- "@scalar/helpers": "0.1.1",
79
- "@scalar/openapi-parser": "0.23.2",
73
+ "@scalar/helpers": "0.1.2",
74
+ "@scalar/api-client": "2.12.0",
80
75
  "@scalar/icons": "0.5.0",
76
+ "@scalar/components": "0.16.4",
77
+ "@scalar/json-magic": "0.8.2",
78
+ "@scalar/oas-utils": "0.6.4",
79
+ "@scalar/openapi-parser": "0.23.3",
80
+ "@scalar/object-utils": "1.2.12",
81
81
  "@scalar/openapi-types": "0.5.1",
82
82
  "@scalar/openapi-upgrader": "0.1.4",
83
- "@scalar/themes": "0.13.23",
84
- "@scalar/snippetz": "0.5.2",
85
- "@scalar/types": "0.4.0",
86
- "@scalar/sidebar": "0.3.0",
83
+ "@scalar/sidebar": "0.4.0",
84
+ "@scalar/types": "0.5.0",
85
+ "@scalar/snippetz": "0.5.3",
87
86
  "@scalar/use-hooks": "0.3.0",
88
- "@scalar/workspace-store": "0.20.0",
89
- "@scalar/use-toasts": "0.9.0"
87
+ "@scalar/themes": "0.13.24",
88
+ "@scalar/use-toasts": "0.9.0",
89
+ "@scalar/workspace-store": "0.21.0"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@hono/node-server": "1.19.5",
@@ -97,7 +97,7 @@
97
97
  "@vitejs/plugin-vue": "6.0.1",
98
98
  "@vue/server-renderer": "^3.5.17",
99
99
  "@vue/test-utils": "2.4.6",
100
- "hono": "4.10.2",
100
+ "hono": "4.10.3",
101
101
  "react": "^19.1.0",
102
102
  "react-dom": "^19.1.0",
103
103
  "rollup-plugin-webpack-stats": "^0.2.5",
@@ -106,10 +106,10 @@
106
106
  "vite-plugin-banner": "^0.7.1",
107
107
  "vite-plugin-css-injected-by-js": "^3.4.0",
108
108
  "vitest": "3.2.4",
109
- "@scalar/build-tooling": "0.2.8",
110
- "@scalar/galaxy": "0.5.11",
111
- "@scalar/react-renderer": "0.3.0",
112
- "@scalar/core": "0.3.22"
109
+ "@scalar/build-tooling": "0.3.0",
110
+ "@scalar/core": "0.3.23",
111
+ "@scalar/galaxy": "0.5.12",
112
+ "@scalar/react-renderer": "0.3.0"
113
113
  },
114
114
  "scripts": {
115
115
  "build": "pnpm build:default && pnpm build:standalone && pnpm types:build",