@scalar/api-client 2.26.2 → 2.29.1

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 (164) hide show
  1. package/CHANGELOG.md +218 -0
  2. package/dist/components/Server/ServerSelector.vue.js +6 -6
  3. package/dist/components/ViewLayout/ViewLayoutCollapse.vue.js +6 -6
  4. package/dist/components/ViewLayout/ViewLayoutSection.vue.d.ts.map +1 -1
  5. package/dist/components/ViewLayout/ViewLayoutSection.vue.js +1 -1
  6. package/dist/libs/local-storage.js +3 -3
  7. package/dist/style.css +1 -1
  8. package/dist/v2/blocks/operation-block/helpers/build-request-body.d.ts.map +1 -1
  9. package/dist/v2/blocks/operation-block/helpers/build-request-body.js +29 -25
  10. package/dist/v2/blocks/operation-block/helpers/get-example.d.ts.map +1 -1
  11. package/dist/v2/blocks/operation-block/helpers/get-example.js +15 -15
  12. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts +10 -0
  13. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.d.ts.map +1 -0
  14. package/dist/v2/blocks/operation-block/helpers/get-selected-body-content-type.js +4 -0
  15. package/dist/v2/blocks/request-block/RequestBlock.vue.js +1 -1
  16. package/dist/v2/blocks/request-block/RequestBlock.vue2.js +26 -26
  17. package/dist/v2/blocks/request-block/components/RequestBody.vue.d.ts.map +1 -1
  18. package/dist/v2/blocks/request-block/components/RequestBody.vue.js +2 -2
  19. package/dist/v2/blocks/request-block/components/RequestBody.vue2.js +88 -103
  20. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts +2 -0
  21. package/dist/v2/blocks/request-block/components/RequestTable.vue.d.ts.map +1 -1
  22. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts +2 -0
  23. package/dist/v2/blocks/request-block/components/RequestTableRow.vue.d.ts.map +1 -1
  24. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts +1 -1
  25. package/dist/v2/blocks/request-block/helpers/get-default-headers.d.ts.map +1 -1
  26. package/dist/v2/blocks/request-block/helpers/get-default-headers.js +20 -19
  27. package/dist/v2/blocks/response-block/ResponseBlock.vue.js +1 -1
  28. package/dist/v2/blocks/response-block/ResponseBlock.vue2.js +7 -7
  29. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.d.ts.map +1 -1
  30. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue.js +1 -1
  31. package/dist/v2/blocks/response-block/components/ResponseEmpty.vue2.js +31 -40
  32. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts +2 -0
  33. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.d.ts.map +1 -1
  34. package/dist/v2/blocks/scalar-auth-selector-block/components/AuthSelector.vue.js +52 -54
  35. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts +3 -2
  36. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.d.ts.map +1 -1
  37. package/dist/v2/blocks/scalar-auth-selector-block/components/OAuth2.vue.js +106 -86
  38. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts +21 -0
  39. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.d.ts.map +1 -0
  40. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue.js +91 -0
  41. package/dist/v2/blocks/scalar-auth-selector-block/components/OpenIDConnect.vue2.js +4 -0
  42. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.d.ts.map +1 -1
  43. package/dist/v2/blocks/scalar-auth-selector-block/components/RequestAuthTab.vue.js +107 -93
  44. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.d.ts.map +1 -1
  45. package/dist/v2/blocks/scalar-auth-selector-block/helpers/extract-security-scheme-secrets.js +87 -65
  46. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts +36 -0
  47. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.d.ts.map +1 -0
  48. package/dist/v2/blocks/scalar-auth-selector-block/helpers/fetch-openid-connect-discovery.js +35 -0
  49. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts +1 -1
  50. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.d.ts.map +1 -1
  51. package/dist/v2/blocks/scalar-auth-selector-block/helpers/merge-security.js +18 -10
  52. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts +5 -0
  53. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.d.ts.map +1 -0
  54. package/dist/v2/blocks/scalar-auth-selector-block/helpers/openid-discovery-to-flows.js +27 -0
  55. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts +3 -1
  56. package/dist/v2/blocks/scalar-auth-selector-block/helpers/secret-types.d.ts.map +1 -1
  57. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts +4 -3
  58. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.d.ts.map +1 -1
  59. package/dist/v2/blocks/scalar-auth-selector-block/helpers/security-scheme.js +32 -40
  60. package/dist/v2/components/code-input/CodeInput.vue.d.ts.map +1 -1
  61. package/dist/v2/components/code-input/CodeInput.vue.js +2 -2
  62. package/dist/v2/components/layout/CollapsibleSection.vue.js +1 -1
  63. package/dist/v2/components/sidebar/Sidebar.vue.d.ts +2 -0
  64. package/dist/v2/components/sidebar/Sidebar.vue.d.ts.map +1 -1
  65. package/dist/v2/components/sidebar/Sidebar.vue.js +25 -24
  66. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts +2 -0
  67. package/dist/v2/components/sidebar/SidebarMenu.vue.d.ts.map +1 -1
  68. package/dist/v2/components/sidebar/SidebarMenu.vue.js +30 -30
  69. package/dist/v2/features/app/App.vue.d.ts +5 -0
  70. package/dist/v2/features/app/App.vue.d.ts.map +1 -1
  71. package/dist/v2/features/app/App.vue.js +80 -78
  72. package/dist/v2/features/app/app-events.d.ts +2 -1
  73. package/dist/v2/features/app/app-events.d.ts.map +1 -1
  74. package/dist/v2/features/app/app-events.js +89 -64
  75. package/dist/v2/features/app/app-state.d.ts.map +1 -1
  76. package/dist/v2/features/app/app-state.js +172 -151
  77. package/dist/v2/features/app/components/AppSidebar.vue.d.ts.map +1 -1
  78. package/dist/v2/features/app/components/AppSidebar.vue.js +3 -3
  79. package/dist/v2/features/app/components/AppSidebar.vue2.js +99 -97
  80. package/dist/v2/features/app/components/DesktopTabs.vue.d.ts.map +1 -1
  81. package/dist/v2/features/app/components/DesktopTabs.vue.js +4 -4
  82. package/dist/v2/features/app/components/DownloadAppButton.vue.d.ts.map +1 -1
  83. package/dist/v2/features/app/components/DownloadAppButton.vue.js +1 -1
  84. package/dist/v2/features/app/components/DownloadAppButton.vue2.js +9 -9
  85. package/dist/v2/features/app/components/SidebarItemMenu.vue.d.ts.map +1 -1
  86. package/dist/v2/features/app/components/SidebarItemMenu.vue.js +71 -43
  87. package/dist/v2/features/app/helpers/create-api-client-app.d.ts +11 -1
  88. package/dist/v2/features/app/helpers/create-api-client-app.d.ts.map +1 -1
  89. package/dist/v2/features/app/helpers/create-api-client-app.js +12 -10
  90. package/dist/v2/features/app/helpers/routes.d.ts +2 -0
  91. package/dist/v2/features/app/helpers/routes.d.ts.map +1 -1
  92. package/dist/v2/features/app/helpers/routes.js +11 -11
  93. package/dist/v2/features/app/hooks/use-theme.d.ts +42 -0
  94. package/dist/v2/features/app/hooks/use-theme.d.ts.map +1 -0
  95. package/dist/v2/features/app/hooks/use-theme.js +34 -0
  96. package/dist/v2/features/collection/DocumentCollection.vue.d.ts.map +1 -1
  97. package/dist/v2/features/collection/DocumentCollection.vue.js +27 -26
  98. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts +1 -6
  99. package/dist/v2/features/collection/WorkspaceCollection.vue.d.ts.map +1 -1
  100. package/dist/v2/features/collection/WorkspaceCollection.vue.js +41 -22
  101. package/dist/v2/features/collection/components/Authentication.vue.d.ts.map +1 -1
  102. package/dist/v2/features/collection/components/Authentication.vue.js +2 -2
  103. package/dist/v2/features/collection/components/Authentication.vue2.js +49 -40
  104. package/dist/v2/features/collection/components/Cookies.vue.d.ts.map +1 -1
  105. package/dist/v2/features/collection/components/Cookies.vue.js +26 -13
  106. package/dist/v2/features/collection/components/Environment.vue.d.ts.map +1 -1
  107. package/dist/v2/features/collection/components/Environment.vue.js +27 -15
  108. package/dist/v2/features/collection/components/LabelInput.vue.d.ts +3 -0
  109. package/dist/v2/features/collection/components/LabelInput.vue.d.ts.map +1 -1
  110. package/dist/v2/features/collection/components/LabelInput.vue.js +2 -2
  111. package/dist/v2/features/collection/components/LabelInput.vue2.js +20 -16
  112. package/dist/v2/features/collection/components/Overview.vue.d.ts.map +1 -1
  113. package/dist/v2/features/collection/components/Overview.vue.js +2 -2
  114. package/dist/v2/features/collection/components/Overview.vue2.js +68 -61
  115. package/dist/v2/features/collection/components/Servers.vue.d.ts.map +1 -1
  116. package/dist/v2/features/collection/components/Servers.vue.js +93 -88
  117. package/dist/v2/features/collection/components/Settings.vue.d.ts.map +1 -1
  118. package/dist/v2/features/collection/components/Settings.vue.js +19 -17
  119. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts +7 -2
  120. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.d.ts.map +1 -1
  121. package/dist/v2/features/command-palette/components/CommandPaletteExample.vue.js +70 -71
  122. package/dist/v2/features/command-palette/components/{CommandPaletteDocument.vue.d.ts → CommandPaletteOpenApiDocument.vue.d.ts} +3 -3
  123. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue.d.ts.map +1 -0
  124. package/dist/v2/features/command-palette/components/{CommandPaletteDocument.vue.js → CommandPaletteOpenApiDocument.vue.js} +15 -15
  125. package/dist/v2/features/command-palette/components/CommandPaletteOpenApiDocument.vue2.js +4 -0
  126. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts +2 -2
  127. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.d.ts.map +1 -1
  128. package/dist/v2/features/command-palette/components/CommandPaletteRequest.vue.js +10 -10
  129. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts +27 -5
  130. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.d.ts.map +1 -1
  131. package/dist/v2/features/command-palette/components/CommandPaletteTag.vue.js +80 -53
  132. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts +34 -9
  133. package/dist/v2/features/command-palette/hooks/use-command-palette-state.d.ts.map +1 -1
  134. package/dist/v2/features/command-palette/hooks/use-command-palette-state.js +50 -44
  135. package/dist/v2/features/environments/EnvironmentsList.vue.js +1 -1
  136. package/dist/v2/features/global-cookies/components/CookiesTable.vue.d.ts.map +1 -1
  137. package/dist/v2/features/global-cookies/components/CookiesTable.vue.js +2 -2
  138. package/dist/v2/features/global-cookies/components/CookiesTable.vue2.js +8 -8
  139. package/dist/v2/features/modal/Modal.vue.d.ts.map +1 -1
  140. package/dist/v2/features/modal/Modal.vue.js +15 -15
  141. package/dist/v2/features/operation/Operation.vue.d.ts.map +1 -1
  142. package/dist/v2/features/operation/Operation.vue.js +30 -33
  143. package/dist/v2/features/settings/CollectionSettings.vue.d.ts +10 -7
  144. package/dist/v2/features/settings/CollectionSettings.vue.d.ts.map +1 -1
  145. package/dist/v2/features/settings/CollectionSettings.vue.js +183 -149
  146. package/dist/v2/features/settings/DocumentSettings.vue.d.ts.map +1 -1
  147. package/dist/v2/features/settings/DocumentSettings.vue.js +88 -79
  148. package/dist/v2/features/settings/components/Section.vue.d.ts +2 -1
  149. package/dist/v2/features/settings/components/Section.vue.d.ts.map +1 -1
  150. package/dist/v2/features/settings/components/Section.vue.js +26 -15
  151. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts +4 -3
  152. package/dist/v2/features/settings/helpers/get-theme-colors.d.ts.map +1 -1
  153. package/dist/v2/features/settings/helpers/get-theme-colors.js +6 -7
  154. package/dist/v2/helpers/handle-hotkeys.d.ts.map +1 -1
  155. package/dist/v2/helpers/handle-hotkeys.js +2 -2
  156. package/dist/v2/hooks/use-global-hot-keys.d.ts +3 -1
  157. package/dist/v2/hooks/use-global-hot-keys.d.ts.map +1 -1
  158. package/dist/v2/hooks/use-global-hot-keys.js +8 -6
  159. package/dist/v2/workspace-events.d.ts.map +1 -1
  160. package/dist/v2/workspace-events.js +132 -115
  161. package/dist/views/Request/ResponseSection/ResponseEmpty.vue2.js +1 -1
  162. package/package.json +17 -16
  163. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue.d.ts.map +0 -1
  164. package/dist/v2/features/command-palette/components/CommandPaletteDocument.vue2.js +0 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,223 @@
1
1
  # @scalar/api-client
2
2
 
3
+ ## 2.29.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
8
+
9
+ #### Updated Dependencies
10
+
11
+ - **@scalar/helpers@0.2.15**
12
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
13
+
14
+ - **@scalar/json-magic@0.11.4**
15
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
16
+
17
+ - **@scalar/oas-utils@0.6.45**
18
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
19
+
20
+ - **@scalar/sidebar@0.7.38**
21
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
22
+
23
+ - **@scalar/types@0.6.6**
24
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
25
+
26
+ - **@scalar/workspace-store@0.34.1**
27
+ - [#8212](https://github.com/scalar/scalar/pull/8212): chore: version bump
28
+
29
+ - **@scalar/components@0.19.7**
30
+
31
+ - **@scalar/import@0.4.52**
32
+
33
+ - **@scalar/object-utils@1.2.29**
34
+
35
+ - **@scalar/openapi-parser@0.24.13**
36
+
37
+ - **@scalar/postman-to-openapi@0.4.7**
38
+
39
+ - **@scalar/snippetz@0.6.15**
40
+
41
+ - **@scalar/use-codemirror@0.13.42**
42
+
43
+ ## 2.29.0
44
+
45
+ ### Minor Changes
46
+
47
+ - [#8198](https://github.com/scalar/scalar/pull/8198): feat: handle workspace rename
48
+
49
+ ### Patch Changes
50
+
51
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
52
+
53
+ #### Updated Dependencies
54
+
55
+ - **@scalar/workspace-store@0.34.0**
56
+ - [#8198](https://github.com/scalar/scalar/pull/8198): feat: handle workspace rename
57
+ - [#8208](https://github.com/scalar/scalar/pull/8208): fix: unpack proxy before assigning
58
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
59
+
60
+ - **@scalar/helpers@0.2.14**
61
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
62
+
63
+ - **@scalar/json-magic@0.11.3**
64
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
65
+
66
+ - **@scalar/oas-utils@0.6.44**
67
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
68
+
69
+ - **@scalar/sidebar@0.7.37**
70
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
71
+
72
+ - **@scalar/types@0.6.5**
73
+ - [#8207](https://github.com/scalar/scalar/pull/8207): chore: version bump
74
+
75
+ - **@scalar/components@0.19.6**
76
+
77
+ - **@scalar/import@0.4.51**
78
+
79
+ - **@scalar/object-utils@1.2.28**
80
+
81
+ - **@scalar/openapi-parser@0.24.12**
82
+
83
+ - **@scalar/postman-to-openapi@0.4.6**
84
+
85
+ - **@scalar/snippetz@0.6.14**
86
+
87
+ - **@scalar/use-codemirror@0.13.41**
88
+
89
+ ## 2.28.0
90
+
91
+ ### Minor Changes
92
+
93
+ - [#8199](https://github.com/scalar/scalar/pull/8199): feat: create draft example
94
+
95
+ ### Patch Changes
96
+
97
+ - [#8162](https://github.com/scalar/scalar/pull/8162): feat: allow editing tags
98
+ - [#8167](https://github.com/scalar/scalar/pull/8167): Accept header now defaults to the response content types defined in the OpenAPI spec instead of always using _/_
99
+ - [#8197](https://github.com/scalar/scalar/pull/8197): fix: include path in redirect uri
100
+ - [#8132](https://github.com/scalar/scalar/pull/8132): chore: unify the app and web layout
101
+ - [#8191](https://github.com/scalar/scalar/pull/8191): chore: rename create document command
102
+ - [#7826](https://github.com/scalar/scalar/pull/7826): feat: added migrator for v1 local storage to v2 indexdb
103
+ - [#8194](https://github.com/scalar/scalar/pull/8194): fix: correctly display the env pill on light mode
104
+ - [#8204](https://github.com/scalar/scalar/pull/8204): fix: remove DocumentRedirect component
105
+ - [#8160](https://github.com/scalar/scalar/pull/8160): fix: update sidebar entry when the operation summary changes
106
+ - [#8174](https://github.com/scalar/scalar/pull/8174): feat: add `createAnySecurityScheme` config option to control generic auth scheme creation
107
+
108
+ #### Updated Dependencies
109
+
110
+ - **@scalar/workspace-store@0.33.0**
111
+ - [#8162](https://github.com/scalar/scalar/pull/8162): feat: allow editing tags
112
+ - [#8151](https://github.com/scalar/scalar/pull/8151): fix: resolve external references on windows
113
+ - [#8191](https://github.com/scalar/scalar/pull/8191): chore: rename create document command
114
+ - [#8199](https://github.com/scalar/scalar/pull/8199): feat: create draft example
115
+ - [#7826](https://github.com/scalar/scalar/pull/7826): feat: added migrator for v1 local storage to v2 indexdb
116
+ - [#8160](https://github.com/scalar/scalar/pull/8160): fix: update sidebar entry when the operation summary changes
117
+ - [#8133](https://github.com/scalar/scalar/pull/8133): fix: allow editing content-type query parameters in the API client
118
+
119
+ - **@scalar/sidebar@0.7.36**
120
+ - [#8162](https://github.com/scalar/scalar/pull/8162): feat: allow editing tags
121
+ - [#8190](https://github.com/scalar/scalar/pull/8190): fix: align HttpMethod badge positioning for folders
122
+
123
+ - **@scalar/json-magic@0.11.2**
124
+ - [#8151](https://github.com/scalar/scalar/pull/8151): fix: resolve external references on windows
125
+
126
+ - **@scalar/oas-utils@0.6.43**
127
+ - [#7826](https://github.com/scalar/scalar/pull/7826): feat: added migrator for v1 local storage to v2 indexdb
128
+
129
+ - **@scalar/helpers@0.2.13**
130
+ - [#7826](https://github.com/scalar/scalar/pull/7826): feat: added migrator for v1 local storage to v2 indexdb
131
+
132
+ - **@scalar/types@0.6.4**
133
+ - [#8174](https://github.com/scalar/scalar/pull/8174): feat: add `createAnySecurityScheme` config option to control generic auth scheme creation
134
+
135
+ - **@scalar/openapi-parser@0.24.11**
136
+
137
+ - **@scalar/components@0.19.5**
138
+
139
+ - **@scalar/import@0.4.50**
140
+
141
+ - **@scalar/object-utils@1.2.27**
142
+
143
+ - **@scalar/postman-to-openapi@0.4.5**
144
+
145
+ - **@scalar/snippetz@0.6.13**
146
+
147
+ - **@scalar/use-codemirror@0.13.40**
148
+
149
+ ## 2.27.1
150
+
151
+ ### Patch Changes
152
+
153
+ - [#8159](https://github.com/scalar/scalar/pull/8159): fix: do not mutate document after ingress
154
+ - [#8158](https://github.com/scalar/scalar/pull/8158): fix: disable all listeners when modal is closed
155
+ - [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
156
+
157
+ #### Updated Dependencies
158
+
159
+ - **@scalar/workspace-store@0.32.1**
160
+ - [#8159](https://github.com/scalar/scalar/pull/8159): fix: do not mutate document after ingress
161
+ - [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
162
+
163
+ - **@scalar/components@0.19.4**
164
+ - [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
165
+
166
+ - **@scalar/helpers@0.2.12**
167
+ - [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
168
+
169
+ - **@scalar/sidebar@0.7.35**
170
+ - [#8178](https://github.com/scalar/scalar/pull/8178): chore: package bump due to ci failure
171
+
172
+ - **@scalar/oas-utils@0.6.42**
173
+
174
+ - **@scalar/use-codemirror@0.13.39**
175
+
176
+ - **@scalar/import@0.4.49**
177
+
178
+ - **@scalar/json-magic@0.11.1**
179
+
180
+ - **@scalar/object-utils@1.2.26**
181
+
182
+ - **@scalar/openapi-parser@0.24.10**
183
+
184
+ - **@scalar/postman-to-openapi@0.4.4**
185
+
186
+ - **@scalar/types@0.6.3**
187
+
188
+ - **@scalar/snippetz@0.6.12**
189
+
190
+ ## 2.27.0
191
+
192
+ ### Minor Changes
193
+
194
+ - [#8152](https://github.com/scalar/scalar/pull/8152): feat: support custom themes
195
+
196
+ ### Patch Changes
197
+
198
+ - [#8135](https://github.com/scalar/scalar/pull/8135): feat: added support for OpenID Connect Discovery
199
+ - [#8149](https://github.com/scalar/scalar/pull/8149): fix: prefill parameter inputs from parameter-level examples
200
+ - [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
201
+ - [#8138](https://github.com/scalar/scalar/pull/8138): chore: some minor style and ui updates
202
+ - [#8157](https://github.com/scalar/scalar/pull/8157): fix: navigate to workspace settings from the menu
203
+ - [#8154](https://github.com/scalar/scalar/pull/8154): fix: scrolling issues in client modal
204
+ - [#8156](https://github.com/scalar/scalar/pull/8156): fix: only trigger send request when client is open
205
+
206
+ #### Updated Dependencies
207
+
208
+ - **@scalar/workspace-store@0.32.0**
209
+ - [#8135](https://github.com/scalar/scalar/pull/8135): feat: added support for OpenID Connect Discovery
210
+ - [#8152](https://github.com/scalar/scalar/pull/8152): feat: support custom themes
211
+
212
+ - **@scalar/components@0.19.3**
213
+ - [#8155](https://github.com/scalar/scalar/pull/8155): fix(api-reference): bugs with cards rendering
214
+
215
+ - **@scalar/oas-utils@0.6.41**
216
+
217
+ - **@scalar/sidebar@0.7.34**
218
+
219
+ - **@scalar/use-codemirror@0.13.38**
220
+
3
221
  ## 2.26.2
4
222
 
5
223
  ### Patch Changes
@@ -1,11 +1,11 @@
1
- import { defineComponent as x, computed as a, watch as w, createBlock as b, createElementBlock as h, openBlock as v, unref as n, withCtx as f, createVNode as m, createElementVNode as l, toDisplayString as g } from "vue";
1
+ import { defineComponent as g, computed as a, watch as w, createBlock as b, createElementBlock as h, openBlock as v, unref as n, withCtx as f, createVNode as m, createElementVNode as l, toDisplayString as x } from "vue";
2
2
  import { ScalarListbox as y, ScalarButton as k } from "@scalar/components";
3
3
  import { ScalarIconCaretDown as U } from "@scalar/icons";
4
4
  import { useWorkspace as V } from "../../store/store.js";
5
5
  const B = { class: "overflow-x-auto" }, W = {
6
6
  key: 1,
7
- class: "text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-lg px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"
8
- }, z = { class: "overflow-x-auto" }, j = /* @__PURE__ */ x({
7
+ class: "text-c-1 flex h-auto w-full items-center gap-0.75 rounded-b-xl px-3 py-1.5 text-base leading-[20px] whitespace-nowrap"
8
+ }, z = { class: "overflow-x-auto" }, j = /* @__PURE__ */ g({
9
9
  __name: "ServerSelector",
10
10
  props: {
11
11
  collection: {},
@@ -56,12 +56,12 @@ const B = { class: "overflow-x-auto" }, W = {
56
56
  }, {
57
57
  default: f(() => [
58
58
  m(n(k), {
59
- class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-lg px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
59
+ class: "bg-b-1 text-c-1 h-auto w-full justify-start gap-1.5 overflow-x-auto rounded-t-none rounded-b-xl px-3 py-1.5 text-base font-normal whitespace-nowrap -outline-offset-1",
60
60
  variant: "ghost"
61
61
  }, {
62
62
  default: f(() => [
63
63
  e[1] || (e[1] = l("span", { class: "sr-only" }, "Server:", -1)),
64
- l("span", B, g(d.value), 1),
64
+ l("span", B, x(d.value), 1),
65
65
  m(n(U), {
66
66
  weight: "bold",
67
67
  class: "text-c-2 ui-open:rotate-180 mt-0.25 size-3 transition-transform duration-100"
@@ -73,7 +73,7 @@ const B = { class: "overflow-x-auto" }, W = {
73
73
  _: 1
74
74
  }, 8, ["modelValue", "options", "target", "teleport"])) : (v(), h("div", W, [
75
75
  e[2] || (e[2] = l("span", { class: "sr-only" }, "Server:", -1)),
76
- l("span", z, g(d.value), 1)
76
+ l("span", z, x(d.value), 1)
77
77
  ]));
78
78
  }
79
79
  });
@@ -1,4 +1,4 @@
1
- import { defineComponent as g, useId as v, ref as C, onMounted as k, createBlock as p, openBlock as s, unref as t, normalizeClass as r, withCtx as c, createElementVNode as a, createVNode as b, createElementBlock as u, createCommentVNode as i, renderSlot as d, createTextVNode as V, toDisplayString as x, mergeProps as O } from "vue";
1
+ import { defineComponent as g, useId as v, ref as C, onMounted as k, createBlock as p, openBlock as s, unref as t, normalizeClass as r, withCtx as c, createElementVNode as a, createVNode as x, createElementBlock as u, createCommentVNode as i, renderSlot as d, createTextVNode as V, toDisplayString as b, mergeProps as O } from "vue";
2
2
  import { Disclosure as w, DisclosureButton as B, DisclosurePanel as $ } from "@headlessui/vue";
3
3
  import { ScalarIcon as D } from "@scalar/components";
4
4
  const N = ["aria-labelledby"], I = { class: "text-c-1 m-0 flex flex-1 items-center gap-1.5 leading-[20px]" }, S = ["id"], z = {
@@ -37,9 +37,9 @@ const N = ["aria-labelledby"], I = { class: "text-c-1 m-0 flex flex-1 items-cent
37
37
  class: "contents"
38
38
  }, [
39
39
  a("div", {
40
- class: r(["bg-b-2 flex items-center", e.layout === "reference" && "rounded-t-lg border border-b-0"])
40
+ class: r(["bg-b-2 flex items-center", e.layout === "reference" && "rounded-t-xl border border-b-0"])
41
41
  }, [
42
- b(t(B), {
42
+ x(t(B), {
43
43
  class: r([
44
44
  "hover:text-c-1 group box-content flex max-h-8 flex-1 items-center gap-2.5 overflow-hidden px-1 py-1.5 text-base font-medium outline-none md:px-1.5 xl:pr-0.5 xl:pl-2",
45
45
  { "!pl-3": e.layout === "reference" }
@@ -64,8 +64,8 @@ const N = ["aria-labelledby"], I = { class: "text-c-1 m-0 flex flex-1 items-cent
64
64
  l ? i("", !0) : (s(), u("span", z, " (Collapsed) "))
65
65
  ], 8, S),
66
66
  !l && e.itemCount ? (s(), u("span", E, [
67
- V(x(e.itemCount) + " ", 1),
68
- a("span", P, "Item" + x(e.itemCount === 1 ? "" : "s"), 1)
67
+ V(b(e.itemCount) + " ", 1),
68
+ a("span", P, "Item" + b(e.itemCount === 1 ? "" : "s"), 1)
69
69
  ])) : i("", !0)
70
70
  ])
71
71
  ]),
@@ -75,7 +75,7 @@ const N = ["aria-labelledby"], I = { class: "text-c-1 m-0 flex flex-1 items-cent
75
75
  d(o.$slots, "actions", { open: l })
76
76
  ])) : i("", !0)
77
77
  ], 2),
78
- b(t($), O(o.$attrs, { class: "diclosure-panel h-full max-h-fit rounded-b" }), {
78
+ x(t($), O(o.$attrs, { class: "diclosure-panel h-full max-h-fit rounded-b" }), {
79
79
  default: c(() => [
80
80
  d(o.$slots, "default", { open: l })
81
81
  ]),
@@ -1 +1 @@
1
- {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AAyEA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"ViewLayoutSection.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ViewLayout/ViewLayoutSection.vue"],"names":[],"mappings":"AAwEA,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC1C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,+QACd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -2,7 +2,7 @@ import { defineComponent as n, createElementBlock as t, openBlock as o, normaliz
2
2
  import { useBindCx as a } from "@scalar/components";
3
3
  const u = {
4
4
  key: 0,
5
- class: "request-response-header bg-b-1 -mb-1/2 sticky top-0 z-1 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"
5
+ class: "request-response-header bg-b-1 -mb-1/2 sticky top-0 flex min-h-11 items-center border-b px-2.5 text-base font-medium xl:rounded-none"
6
6
  }, b = /* @__PURE__ */ n({
7
7
  inheritAttrs: !1,
8
8
  __name: "ViewLayoutSection",
@@ -1,6 +1,6 @@
1
1
  import { cookieSchema as E } from "@scalar/oas-utils/entities/cookie";
2
2
  import { environmentSchema as k } from "@scalar/oas-utils/entities/environment";
3
- import { collectionSchema as q, requestExampleSchema as v, requestSchema as g, serverSchema as x, securitySchemeSchema as y, tagSchema as R } from "@scalar/oas-utils/entities/spec";
3
+ import { collectionSchema as q, requestExampleSchema as v, requestSchema as g, serverSchema as y, securitySchemeSchema as x, tagSchema as R } from "@scalar/oas-utils/entities/spec";
4
4
  import { workspaceSchema as _ } from "@scalar/oas-utils/entities/workspace";
5
5
  import { schemaModel as I } from "@scalar/oas-utils/helpers";
6
6
  import { migrator as D, DATA_VERSION_LS_LEY as L, DATA_VERSION as N } from "@scalar/oas-utils/migrations";
@@ -30,8 +30,8 @@ const e = (o, t, s) => o.forEach((a) => {
30
30
  securitySchemes: w,
31
31
  tags: M,
32
32
  workspaces: f
33
- } = D();
34
- e(c, q, t.rawAdd), e(n, E, s.add), e(S, k, a.add), e(h, v, m.rawAdd), e(p, g, d.rawAdd), e(A, x, u.rawAdd), e(w, y, i.rawAdd), e(M, R, r.rawAdd), e(f, _, l.rawAdd), localStorage.setItem(L, N);
33
+ } = D().arrays;
34
+ e(c, q, t.rawAdd), e(n, E, s.add), e(S, k, a.add), e(h, v, m.rawAdd), e(p, g, d.rawAdd), e(A, y, u.rawAdd), e(w, x, i.rawAdd), e(M, R, r.rawAdd), e(f, _, l.rawAdd), localStorage.setItem(L, N);
35
35
  } catch (c) {
36
36
  console.error(c);
37
37
  }