@scalar/api-reference 1.12.9 → 1.13.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 (29) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +12 -0
  3. package/dist/browser/standalone.js +7 -7
  4. package/dist/components/ApiReferenceBase.vue.d.ts.map +1 -1
  5. package/dist/components/ClassicHeader.vue.d.ts.map +1 -1
  6. package/dist/components/Content/Introduction/ClientSelector.vue.d.ts.map +1 -1
  7. package/dist/components/Content/ReferenceEndpoint/EndpointDetailsCard.vue.d.ts.map +1 -1
  8. package/dist/components/Content/ReferenceEndpoint/ExampleRequest.vue.d.ts.map +1 -1
  9. package/dist/components/SearchButton.vue.d.ts.map +1 -1
  10. package/dist/components/SearchModal.vue.d.ts.map +1 -1
  11. package/dist/components/Section/Section.vue.d.ts.map +1 -1
  12. package/dist/components/Section/SectionAccordion.vue.d.ts.map +1 -1
  13. package/dist/components/Section/SectionContainerAccordion.vue.d.ts.map +1 -1
  14. package/dist/components/SidebarElement.vue.d.ts.map +1 -1
  15. package/dist/helpers/index.d.ts +0 -1
  16. package/dist/helpers/index.d.ts.map +1 -1
  17. package/dist/hooks/index.d.ts +1 -0
  18. package/dist/hooks/index.d.ts.map +1 -1
  19. package/dist/hooks/useSnippetTargets.d.ts +6 -0
  20. package/dist/hooks/useSnippetTargets.d.ts.map +1 -0
  21. package/dist/{index-0524ab83.js → index-41c17d51.js} +7976 -7967
  22. package/dist/{index-77d4e26f.js → index-4853a3d5.js} +3 -3
  23. package/dist/index.js +37 -38
  24. package/dist/stores/template.d.ts.map +1 -1
  25. package/dist/types.d.ts +10 -2
  26. package/dist/types.d.ts.map +1 -1
  27. package/package.json +5 -5
  28. package/dist/helpers/getAvailableTargets.d.ts +0 -2
  29. package/dist/helpers/getAvailableTargets.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @scalar/api-reference
2
2
 
3
+ ## 1.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 97cd84e9: feat: client ignore list
8
+
9
+ ### Patch Changes
10
+
11
+ - 5dac9c51: fix: open section on search result click
12
+ - 0e0f34b3: fix: cleanup safari bugs
13
+ - 7582e82a: fix: classic layout stylings
14
+ - Updated dependencies [0e0f34b3]
15
+ - @scalar/api-client@0.8.8
16
+
3
17
  ## 1.12.9
4
18
 
5
19
  ### Patch Changes
package/README.md CHANGED
@@ -131,6 +131,18 @@ You can pass information to the config object to configure meta information out
131
131
  } />
132
132
  ```
133
133
 
134
+ #### hiddenClients?: array
135
+
136
+ You can pass an array of [httpsnippet clients](https://github.com/Kong/httpsnippet/wiki/Targets) to hide from the clients menu.
137
+
138
+ ```vue
139
+ <ApiReference :configuration="{
140
+ hiddenClients: ['fetch']
141
+ } />
142
+ ```
143
+
144
+ By default hides Unirest, pass `[]` to show all clients
145
+
134
146
  #### onSpecUpdate?: (spec: string) => void
135
147
 
136
148
  You can listen to spec changes with onSpecUpdate that runs on spec/swagger content change