@scalar/api-reference 1.44.27 → 1.46.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 (27) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.d.ts.map +1 -1
  3. package/dist/blocks/scalar-server-selector-block/components/ServerSelector.vue.js +8 -2
  4. package/dist/browser/standalone.js +3069 -3039
  5. package/dist/browser/webpack-stats.json +1 -1
  6. package/dist/components/Content/Content.vue.js +1 -1
  7. package/dist/features/Operation/helpers/filter-selected-security.d.ts.map +1 -1
  8. package/dist/features/Operation/helpers/filter-selected-security.js +6 -2
  9. package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
  10. package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
  11. package/dist/features/Operation/layouts/ModernLayout.vue2.js +12 -9
  12. package/dist/features/ask-agent-button/AskAgentButton.vue.d.ts.map +1 -1
  13. package/dist/features/ask-agent-button/AskAgentButton.vue.js +1 -1
  14. package/dist/features/example-responses/ExampleResponse.vue.d.ts.map +1 -1
  15. package/dist/features/example-responses/ExampleResponse.vue.js +1 -1
  16. package/dist/features/example-responses/ExampleResponse.vue2.js +17 -15
  17. package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
  18. package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
  19. package/dist/features/example-responses/ExampleResponses.vue2.js +14 -7
  20. package/dist/features/example-responses/ExampleSchema.vue.d.ts +8 -0
  21. package/dist/features/example-responses/ExampleSchema.vue.d.ts.map +1 -0
  22. package/dist/features/example-responses/ExampleSchema.vue.js +34 -0
  23. package/dist/features/example-responses/ExampleSchema.vue2.js +4 -0
  24. package/dist/helpers/lazy-bus.d.ts.map +1 -1
  25. package/dist/helpers/lazy-bus.js +2 -1
  26. package/dist/style.css +123 -118
  27. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,5 +1,76 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.46.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
8
+
9
+ ### Patch Changes
10
+
11
+ - [#8283](https://github.com/scalar/scalar/pull/8283): fix: scrollToLazy can not find id when the browser is busy
12
+
13
+ #### Updated Dependencies
14
+
15
+ - **@scalar/agent-chat@0.7.0**
16
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
17
+
18
+ - **@scalar/api-client@2.31.0**
19
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
20
+
21
+ - **@scalar/oas-utils@0.8.0**
22
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
23
+
24
+ - **@scalar/components@0.19.12**
25
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
26
+
27
+ - **@scalar/themes@0.14.2**
28
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
29
+
30
+ - **@scalar/workspace-store@0.35.1**
31
+ - [#8290](https://github.com/scalar/scalar/pull/8290): chore: update deps
32
+
33
+ - **@scalar/sidebar@0.7.43**
34
+
35
+ - **@scalar/code-highlight@0.2.4**
36
+
37
+ ## 1.45.0
38
+
39
+ ### Minor Changes
40
+
41
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
42
+
43
+ ### Patch Changes
44
+
45
+ - [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
46
+ - [#8279](https://github.com/scalar/scalar/pull/8279): fix(api-references): css collision on ask ai input
47
+
48
+ #### Updated Dependencies
49
+
50
+ - **@scalar/agent-chat@0.6.0**
51
+ - [#8203](https://github.com/scalar/scalar/pull/8203): feat: tweak the copy
52
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
53
+
54
+ - **@scalar/components@0.19.11**
55
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
56
+
57
+ - **@scalar/themes@0.14.1**
58
+ - [#8276](https://github.com/scalar/scalar/pull/8276): feat(components): standardize form inputs to have a height of 40px
59
+
60
+ - **@scalar/api-client@2.30.0**
61
+ - [#8255](https://github.com/scalar/scalar/pull/8255): fix: correctly handle circular references when deep resolving references
62
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
63
+
64
+ - **@scalar/workspace-store@0.35.0**
65
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
66
+
67
+ - **@scalar/oas-utils@0.7.0**
68
+ - [#8234](https://github.com/scalar/scalar/pull/8234): support operation level authentication and servers
69
+
70
+ - **@scalar/sidebar@0.7.42**
71
+
72
+ - **@scalar/code-highlight@0.2.4**
73
+
3
74
  ## 1.44.27
4
75
 
5
76
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAMhG,KAAK,aAAa,GAAG;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,sSA4Id,CAAC"}
1
+ {"version":3,"file":"ServerSelector.vue.d.ts","sourceRoot":"","sources":["../../../../src/blocks/scalar-server-selector-block/components/ServerSelector.vue"],"names":[],"mappings":"AAmGA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8DAA8D,CAAA;AAMhG,KAAK,aAAa,GAAG;IACnB,+CAA+C;IAC/C,QAAQ,EAAE,iBAAiB,CAAA;IAC3B,2BAA2B;IAC3B,cAAc,EAAE,YAAY,GAAG,IAAI,CAAA;IACnC,wBAAwB;IACxB,OAAO,EAAE,YAAY,EAAE,CAAA;CACxB,CAAA;AAED;;;;;;;;GAQG;wBACkB,OAAO,YAAY;AAAxC,wBAAyC;AAGzC,QAAA,MAAM,YAAY,sSAkJd,CAAC"}
@@ -16,7 +16,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
16
16
  const id = useId();
17
17
  const updateServer = (newServer) => {
18
18
  __props.eventBus.emit("server:update:selected", {
19
- url: __props.selectedServer?.url === newServer ? "" : newServer
19
+ url: __props.selectedServer?.url === newServer ? "" : newServer,
20
+ meta: {
21
+ type: "document"
22
+ }
20
23
  });
21
24
  };
22
25
  const updateServerVariable = (key, value) => {
@@ -27,7 +30,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
27
30
  __props.eventBus.emit("server:update:variables", {
28
31
  index,
29
32
  key,
30
- value
33
+ value,
34
+ meta: {
35
+ type: "document"
36
+ }
31
37
  });
32
38
  };
33
39
  return (_ctx, _cache) => {