@scalar/api-reference 1.26.2 → 1.28.2
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.
- package/CHANGELOG.md +71 -0
- package/README.md +2 -6
- package/dist/browser/standalone.js +11517 -11467
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientLibraries.vue2.js +48 -40
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.d.ts.map +1 -1
- package/dist/components/Content/ClientLibraries/ClientSelector.vue.js +2 -2
- package/dist/components/Content/ClientLibraries/ClientSelector.vue2.js +6 -7
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.d.ts.map +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue.js +1 -1
- package/dist/components/Content/Schema/SchemaPropertyHeading.vue2.js +77 -77
- package/dist/components/Content/Tag/OperationsListItem.vue.js +2 -2
- package/dist/components/Content/Tag/OperationsListItem.vue2.js +1 -1
- package/dist/components/Layouts/ModernLayout.vue.js +2 -2
- package/dist/components/Layouts/ModernLayout.vue2.js +9 -12
- package/dist/components/Section/CompactSection.vue.d.ts.map +1 -1
- package/dist/components/Section/CompactSection.vue.js +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.d.ts.map +1 -1
- package/dist/components/Sidebar/SidebarElement.vue.js +2 -2
- package/dist/components/Sidebar/SidebarElement.vue2.js +41 -40
- package/dist/components/SingleApiReference.vue.d.ts.map +1 -1
- package/dist/components/SingleApiReference.vue.js +6 -6
- package/dist/esm.d.ts +5 -1
- package/dist/esm.d.ts.map +1 -1
- package/dist/esm.js +12 -9
- package/dist/features/DownloadLink/DownloadLink.vue.js +1 -1
- package/dist/features/DownloadLink/DownloadLink.vue2.js +16 -16
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ContentTypeSelect.vue.js +80 -5
- package/dist/features/Operation/components/ContentTypeSelect.vue2.js +2 -43
- package/dist/features/Operation/components/ParameterListItem.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue.js +1 -1
- package/dist/features/Operation/components/ParameterListItem.vue2.js +37 -34
- package/dist/features/Operation/components/RequestBody.vue.d.ts.map +1 -1
- package/dist/features/Operation/components/RequestBody.vue.js +2 -2
- package/dist/features/Operation/components/RequestBody.vue2.js +15 -15
- package/dist/features/Operation/layouts/ModernLayout.vue.d.ts.map +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue.js +1 -1
- package/dist/features/Operation/layouts/ModernLayout.vue2.js +9 -8
- package/dist/helpers/scrollToId.d.ts +3 -1
- package/dist/helpers/scrollToId.d.ts.map +1 -1
- package/dist/helpers/scrollToId.js +4 -4
- package/dist/hooks/useMultipleDocuments.d.ts +9 -5
- package/dist/hooks/useMultipleDocuments.d.ts.map +1 -1
- package/dist/hooks/useMultipleDocuments.js +38 -38
- package/dist/hooks/useSidebar.d.ts +2 -2
- package/dist/hooks/useSidebar.d.ts.map +1 -1
- package/dist/hooks/useSidebar.js +84 -84
- package/dist/index.d.ts +6 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +74 -72
- package/dist/standalone/lib/html-api.d.ts +30 -1
- package/dist/standalone/lib/html-api.d.ts.map +1 -1
- package/dist/standalone/lib/html-api.js +54 -0
- package/dist/standalone/lib/register-globals.d.ts +11 -0
- package/dist/standalone/lib/register-globals.d.ts.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +11 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,76 @@
|
|
|
1
1
|
# @scalar/api-reference
|
|
2
2
|
|
|
3
|
+
## 1.28.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 22c7445: fix: updates collapsible section trigger style
|
|
8
|
+
- 3a956c0: fix: hides sidebar arrow on default open all tags configuration
|
|
9
|
+
- cf58fba: fix(api-reference): focus and screenreader improvements for client libraries, endpoints list and API client
|
|
10
|
+
- da6bbc5: feat: show if a parameter is deprecated
|
|
11
|
+
- Updated dependencies [e0ee082]
|
|
12
|
+
- Updated dependencies [1437882]
|
|
13
|
+
- Updated dependencies [060ada9]
|
|
14
|
+
- Updated dependencies [cf58fba]
|
|
15
|
+
- Updated dependencies [e00fa7e]
|
|
16
|
+
- Updated dependencies [632978d]
|
|
17
|
+
- @scalar/components@0.13.36
|
|
18
|
+
- @scalar/api-client@2.3.2
|
|
19
|
+
- @scalar/themes@0.9.78
|
|
20
|
+
- @scalar/code-highlight@0.0.25
|
|
21
|
+
- @scalar/oas-utils@0.2.119
|
|
22
|
+
- @scalar/use-hooks@0.1.32
|
|
23
|
+
|
|
24
|
+
## 1.28.1
|
|
25
|
+
|
|
26
|
+
### Patch Changes
|
|
27
|
+
|
|
28
|
+
- Updated dependencies [7bc87ef]
|
|
29
|
+
- @scalar/api-client@2.3.1
|
|
30
|
+
|
|
31
|
+
## 1.28.0
|
|
32
|
+
|
|
33
|
+
### Minor Changes
|
|
34
|
+
|
|
35
|
+
- 5f9a8a2: feat!: remove the spec prefix, make content and url top-level attributes
|
|
36
|
+
|
|
37
|
+
### Patch Changes
|
|
38
|
+
|
|
39
|
+
- Updated dependencies [5be9418]
|
|
40
|
+
- Updated dependencies [5f9a8a2]
|
|
41
|
+
- @scalar/api-client@2.3.0
|
|
42
|
+
- @scalar/types@0.1.0
|
|
43
|
+
- @scalar/oas-utils@0.2.118
|
|
44
|
+
- @scalar/openapi-parser@0.10.10
|
|
45
|
+
- @scalar/snippetz@0.2.16
|
|
46
|
+
- @scalar/themes@0.9.77
|
|
47
|
+
- @scalar/code-highlight@0.0.24
|
|
48
|
+
- @scalar/components@0.13.35
|
|
49
|
+
- @scalar/use-hooks@0.1.31
|
|
50
|
+
|
|
51
|
+
## 1.27.0
|
|
52
|
+
|
|
53
|
+
### Minor Changes
|
|
54
|
+
|
|
55
|
+
- e373a21: feat: new JS-based API window.Scalar.createApiReference
|
|
56
|
+
|
|
57
|
+
### Patch Changes
|
|
58
|
+
|
|
59
|
+
- eb70f8b: fix: one more attempt at fixing ci
|
|
60
|
+
- 8b343f6: feat: favors scalar dropdown as content type selector
|
|
61
|
+
- Updated dependencies [00a429f]
|
|
62
|
+
- Updated dependencies [fc6a45e]
|
|
63
|
+
- Updated dependencies [a0da28e]
|
|
64
|
+
- @scalar/api-client@2.2.63
|
|
65
|
+
- @scalar/types@0.0.41
|
|
66
|
+
- @scalar/oas-utils@0.2.117
|
|
67
|
+
- @scalar/openapi-parser@0.10.10
|
|
68
|
+
- @scalar/snippetz@0.2.16
|
|
69
|
+
- @scalar/themes@0.9.76
|
|
70
|
+
- @scalar/code-highlight@0.0.24
|
|
71
|
+
- @scalar/components@0.13.34
|
|
72
|
+
- @scalar/use-hooks@0.1.30
|
|
73
|
+
|
|
3
74
|
## 1.26.2
|
|
4
75
|
|
|
5
76
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -109,9 +109,7 @@ import { type ReferenceProps } from './types'
|
|
|
109
109
|
const ev = new CustomEvent('scalar:update-references-config', {
|
|
110
110
|
detail: {
|
|
111
111
|
configuration: {
|
|
112
|
-
|
|
113
|
-
url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml',
|
|
114
|
-
},
|
|
112
|
+
url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml',
|
|
115
113
|
},
|
|
116
114
|
} satisfies ReferenceProps,
|
|
117
115
|
})
|
|
@@ -138,9 +136,7 @@ import '@scalar/api-reference/style.css'
|
|
|
138
136
|
<template>
|
|
139
137
|
<ApiReference
|
|
140
138
|
:configuration="{
|
|
141
|
-
|
|
142
|
-
url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml',
|
|
143
|
-
},
|
|
139
|
+
url: 'https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml',
|
|
144
140
|
}" />
|
|
145
141
|
</template>
|
|
146
142
|
```
|