@scalar/api-reference 1.22.52 → 1.22.54

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 (49) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +8 -2
  3. package/dist/browser/standalone.js +6 -6
  4. package/dist/browser/webpack-stats.json +1 -1
  5. package/dist/components/ApiReference.vue.d.ts.map +1 -1
  6. package/dist/components/Content/Authentication/Authentication.vue.d.ts +2 -0
  7. package/dist/components/Content/Authentication/Authentication.vue.d.ts.map +1 -1
  8. package/dist/components/Content/BaseUrl/BaseUrl.vue.d.ts.map +1 -1
  9. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts +1 -1
  10. package/dist/components/Content/BaseUrl/ServerItem.vue.d.ts.map +1 -1
  11. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts +1 -1
  12. package/dist/components/Content/BaseUrl/ServerVariables.vue.d.ts.map +1 -1
  13. package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
  14. package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
  15. package/dist/components/Content/Content.vue.d.ts +2 -0
  16. package/dist/components/Content/Content.vue.d.ts.map +1 -1
  17. package/dist/components/Content/Operation/ExampleRequest.vue.d.ts.map +1 -1
  18. package/dist/components/Content/Operation/Operation.vue.d.ts.map +1 -1
  19. package/dist/helpers/getApiClientRequest.d.ts +1 -2
  20. package/dist/helpers/getApiClientRequest.d.ts.map +1 -1
  21. package/dist/helpers/index.d.ts +0 -2
  22. package/dist/helpers/index.d.ts.map +1 -1
  23. package/dist/helpers/openClientFor.d.ts.map +1 -1
  24. package/dist/hooks/index.d.ts +0 -1
  25. package/dist/hooks/index.d.ts.map +1 -1
  26. package/dist/hooks/useReactiveSpec.d.ts +1 -1
  27. package/dist/index-BAE7E0z0.cjs +222 -0
  28. package/dist/{index-BEcGroQA.js → index-BvB-Suqq.js} +394 -394
  29. package/dist/{index-4p6mV9sm.cjs → index-C3Hzua6Q.cjs} +4 -4
  30. package/dist/{index-CA53QuUy.js → index-DHEyHDNK.js} +9073 -8887
  31. package/dist/index.cjs +1 -1
  32. package/dist/index.css +1 -1
  33. package/dist/index.js +36 -39
  34. package/dist/stores/index.d.ts +0 -1
  35. package/dist/stores/index.d.ts.map +1 -1
  36. package/dist/stores/useHttpClientStore.d.ts +12 -5
  37. package/dist/stores/useHttpClientStore.d.ts.map +1 -1
  38. package/dist/types.d.ts +2 -20
  39. package/dist/types.d.ts.map +1 -1
  40. package/package.json +7 -7
  41. package/dist/helpers/getUrlFromServerState.d.ts +0 -6
  42. package/dist/helpers/getUrlFromServerState.d.ts.map +0 -1
  43. package/dist/helpers/replaceVariables.d.ts +0 -6
  44. package/dist/helpers/replaceVariables.d.ts.map +0 -1
  45. package/dist/hooks/useHttpClients.d.ts +0 -29
  46. package/dist/hooks/useHttpClients.d.ts.map +0 -1
  47. package/dist/index-fBCIYxPK.cjs +0 -222
  48. package/dist/stores/useServerStore.d.ts +0 -16
  49. package/dist/stores/useServerStore.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,27 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.22.54
4
+
5
+ ### Patch Changes
6
+
7
+ - cc5402c: feat: OpenAuth 2.0 password grant
8
+ - b3a46c7: fix: http client library default value ignores `hiddenClients` configuration
9
+ - Updated dependencies [cc5402c]
10
+ - Updated dependencies [cc5402c]
11
+ - @scalar/use-toasts@0.6.7
12
+ - @scalar/api-client@1.2.38
13
+ - @scalar/oas-utils@0.1.16
14
+ - @scalar/components@0.7.15
15
+
16
+ ## 1.22.53
17
+
18
+ ### Patch Changes
19
+
20
+ - 5a9c298: feat: move references css config to css layer
21
+ - cad7eef: fix: small images destroy the layout
22
+ - Updated dependencies [d60cc10]
23
+ - @scalar/api-client@1.2.37
24
+
3
25
  ## 1.22.52
4
26
 
5
27
  ### Patch Changes
package/README.md CHANGED
@@ -209,7 +209,7 @@ You can pass information to the config object to configure meta information out
209
209
  } />
210
210
  ```
211
211
 
212
- #### hiddenClients?: array
212
+ #### hiddenClients?: array | true
213
213
 
214
214
  You can pass an array of [httpsnippet clients](https://github.com/Kong/httpsnippet/wiki/Targets) to hide from the clients menu.
215
215
 
@@ -219,7 +219,13 @@ You can pass an array of [httpsnippet clients](https://github.com/Kong/httpsnipp
219
219
  } />
220
220
  ```
221
221
 
222
- By default hides Unirest, pass `[]` to show all clients
222
+ By default hides Unirest, pass `[]` to **show** all clients or `true` to **hide** all clients:
223
+
224
+ ```vue
225
+ <ApiReference :configuration="{
226
+ hiddenClients: true
227
+ } />
228
+ ```
223
229
 
224
230
  #### onSpecUpdate?: (spec: string) => void
225
231