@stainless-api/docs 0.1.0-beta.8 → 0.1.0-beta.80

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 (131) hide show
  1. package/CHANGELOG.md +636 -0
  2. package/eslint-suppressions.json +52 -0
  3. package/locals.d.ts +17 -0
  4. package/package.json +50 -39
  5. package/plugin/assets/languages/cli.svg +14 -0
  6. package/plugin/assets/languages/csharp.svg +1 -0
  7. package/plugin/buildAlgoliaIndex.ts +32 -7
  8. package/plugin/cms/server.ts +130 -59
  9. package/plugin/cms/sidebar-builder.ts +7 -26
  10. package/plugin/cms/worker.ts +83 -5
  11. package/plugin/components/MethodDescription.tsx +54 -0
  12. package/plugin/components/RequestBuilder/ParamEditor.tsx +55 -0
  13. package/plugin/components/RequestBuilder/SnippetStainlessIsland.tsx +107 -0
  14. package/plugin/components/RequestBuilder/index.tsx +31 -0
  15. package/plugin/components/RequestBuilder/props.ts +9 -0
  16. package/plugin/components/RequestBuilder/spec-helpers.ts +50 -0
  17. package/plugin/components/RequestBuilder/styles.css +67 -0
  18. package/plugin/components/SDKSelect.astro +7 -87
  19. package/plugin/components/SnippetCode.tsx +107 -67
  20. package/plugin/components/StainlessIslands.tsx +126 -0
  21. package/plugin/components/search/SearchAlgolia.astro +45 -28
  22. package/plugin/components/search/SearchIsland.tsx +45 -27
  23. package/plugin/generateAPIReferenceLink.ts +2 -2
  24. package/plugin/globalJs/ai-dropdown-options.ts +243 -0
  25. package/plugin/globalJs/code-snippets.ts +15 -8
  26. package/plugin/globalJs/copy.ts +91 -17
  27. package/plugin/globalJs/create-playground.shim.ts +3 -0
  28. package/plugin/globalJs/method-descriptions.ts +33 -0
  29. package/plugin/globalJs/navigation.ts +7 -26
  30. package/plugin/globalJs/playground-data.shim.ts +1 -0
  31. package/plugin/globalJs/playground-data.ts +14 -0
  32. package/plugin/helpers/generateDocsRoutes.ts +27 -0
  33. package/plugin/index.ts +198 -36
  34. package/plugin/languages.ts +7 -2
  35. package/plugin/loadPluginConfig.ts +122 -36
  36. package/plugin/middlewareBuilder/stainlessMiddleware.d.ts +1 -1
  37. package/plugin/react/Routing.tsx +199 -126
  38. package/plugin/referencePlaceholderUtils.ts +1 -1
  39. package/plugin/replaceSidebarPlaceholderMiddleware.ts +3 -3
  40. package/plugin/routes/Docs.astro +55 -102
  41. package/plugin/routes/DocsStatic.astro +1 -1
  42. package/plugin/routes/Overview.astro +10 -16
  43. package/plugin/routes/markdown.ts +9 -8
  44. package/plugin/vendor/preview.worker.docs.js +20928 -17830
  45. package/plugin/vendor/templates/go.md +1 -1
  46. package/plugin/vendor/templates/python.md +1 -1
  47. package/resolveSrcFile.ts +10 -0
  48. package/scripts/vendor_deps.ts +5 -5
  49. package/shared/getProsePages.ts +42 -0
  50. package/shared/getSharedLogger.ts +15 -0
  51. package/shared/terminalUtils.ts +3 -0
  52. package/src/content.config.ts +9 -0
  53. package/stl-docs/components/AIDropdown.tsx +63 -0
  54. package/stl-docs/components/AiChatIsland.tsx +14 -0
  55. package/stl-docs/components/{content-panel/ContentBreadcrumbs.tsx → ContentBreadcrumbs.tsx} +2 -2
  56. package/stl-docs/components/Head.astro +16 -0
  57. package/stl-docs/components/Header.astro +6 -8
  58. package/stl-docs/components/PageFrame.astro +18 -0
  59. package/stl-docs/components/PageTitle.astro +82 -0
  60. package/stl-docs/components/TableOfContents.astro +34 -0
  61. package/stl-docs/components/ThemeProvider.astro +36 -0
  62. package/stl-docs/components/ThemeSelect.astro +84 -139
  63. package/stl-docs/components/content-panel/ContentPanel.astro +15 -46
  64. package/stl-docs/components/headers/SplashMobileMenuToggle.astro +17 -1
  65. package/stl-docs/components/headers/StackedHeader.astro +29 -24
  66. package/stl-docs/components/icons/chat-gpt.tsx +2 -2
  67. package/stl-docs/components/icons/cursor.tsx +10 -0
  68. package/stl-docs/components/icons/gemini.tsx +19 -0
  69. package/stl-docs/components/icons/markdown.tsx +1 -1
  70. package/stl-docs/components/index.ts +1 -0
  71. package/stl-docs/components/mintlify-compat/Accordion.astro +7 -5
  72. package/stl-docs/components/mintlify-compat/AccordionGroup.astro +7 -3
  73. package/stl-docs/components/mintlify-compat/Columns.astro +40 -42
  74. package/stl-docs/components/mintlify-compat/Frame.astro +16 -18
  75. package/stl-docs/components/mintlify-compat/callouts/Callout.astro +1 -1
  76. package/stl-docs/components/mintlify-compat/callouts/Check.astro +1 -1
  77. package/stl-docs/components/mintlify-compat/callouts/Danger.astro +1 -1
  78. package/stl-docs/components/mintlify-compat/callouts/Info.astro +1 -1
  79. package/stl-docs/components/mintlify-compat/callouts/Note.astro +1 -1
  80. package/stl-docs/components/mintlify-compat/callouts/Tip.astro +1 -1
  81. package/stl-docs/components/mintlify-compat/callouts/Warning.astro +1 -1
  82. package/stl-docs/components/mintlify-compat/card.css +33 -35
  83. package/stl-docs/components/mintlify-compat/index.ts +2 -4
  84. package/stl-docs/components/nav-tabs/NavDropdown.astro +31 -70
  85. package/stl-docs/components/nav-tabs/NavTabs.astro +78 -80
  86. package/stl-docs/components/nav-tabs/SecondaryNavTabs.astro +15 -8
  87. package/stl-docs/components/nav-tabs/buildNavLinks.ts +3 -2
  88. package/stl-docs/components/pagination/HomeLink.astro +10 -0
  89. package/stl-docs/components/pagination/Pagination.astro +175 -0
  90. package/stl-docs/components/pagination/PaginationLinkEmphasized.astro +22 -0
  91. package/stl-docs/components/pagination/PaginationLinkQuiet.astro +13 -0
  92. package/stl-docs/components/pagination/util.ts +71 -0
  93. package/stl-docs/components/scripts.ts +1 -0
  94. package/stl-docs/disableCalloutSyntax.ts +36 -0
  95. package/stl-docs/index.ts +147 -52
  96. package/stl-docs/loadStlDocsConfig.ts +45 -7
  97. package/stl-docs/proseMarkdown/proseMarkdownIntegration.ts +61 -0
  98. package/stl-docs/proseMarkdown/proseMarkdownMiddleware.ts +39 -0
  99. package/stl-docs/proseMarkdown/toMarkdown.ts +158 -0
  100. package/stl-docs/proseSearchIndexing.ts +450 -0
  101. package/stl-docs/tabsMiddleware.ts +13 -4
  102. package/styles/code.css +128 -136
  103. package/styles/fonts.css +32 -17
  104. package/styles/links.css +11 -48
  105. package/styles/method-descriptions.css +36 -0
  106. package/styles/overrides.css +49 -57
  107. package/styles/page.css +90 -59
  108. package/styles/sdk_select.css +9 -7
  109. package/styles/search.css +57 -69
  110. package/styles/sidebar.css +211 -131
  111. package/styles/{variables.css → sl-variables.css} +3 -2
  112. package/styles/stldocs-variables.css +6 -0
  113. package/styles/toc.css +41 -34
  114. package/theme.css +10 -10
  115. package/tsconfig.json +2 -5
  116. package/virtual-module.d.ts +121 -5
  117. package/components/variables.css +0 -135
  118. package/plugin/globalJs/ai-dropdown.ts +0 -57
  119. package/stl-docs/components/APIReferenceAIDropdown.tsx +0 -58
  120. package/stl-docs/components/content-panel/ProseAIDropdown.tsx +0 -55
  121. package/stl-docs/components/mintlify-compat/Step.astro +0 -58
  122. package/stl-docs/components/mintlify-compat/Steps.astro +0 -17
  123. /package/{plugin/assets → assets}/fonts/geist/OFL.txt +0 -0
  124. /package/{plugin/assets → assets}/fonts/geist/geist-italic-latin-ext.woff2 +0 -0
  125. /package/{plugin/assets → assets}/fonts/geist/geist-italic-latin.woff2 +0 -0
  126. /package/{plugin/assets → assets}/fonts/geist/geist-latin-ext.woff2 +0 -0
  127. /package/{plugin/assets → assets}/fonts/geist/geist-latin.woff2 +0 -0
  128. /package/{plugin/assets → assets}/fonts/geist/geist-mono-italic-latin-ext.woff2 +0 -0
  129. /package/{plugin/assets → assets}/fonts/geist/geist-mono-italic-latin.woff2 +0 -0
  130. /package/{plugin/assets → assets}/fonts/geist/geist-mono-latin-ext.woff2 +0 -0
  131. /package/{plugin/assets → assets}/fonts/geist/geist-mono-latin.woff2 +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,641 @@
1
1
  # @stainless-api/docs
2
2
 
3
+ ## 0.1.0-beta.80
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [b4b51f7]
8
+ - @stainless-api/ui-primitives@0.1.0-beta.44
9
+ - @stainless-api/docs-search@0.1.0-beta.13
10
+ - @stainless-api/docs-ui@0.1.0-beta.60
11
+
12
+ ## 0.1.0-beta.79
13
+
14
+ ### Minor Changes
15
+
16
+ - 32b2c88: add simple request fields to request builder
17
+ - 6fd3625: Introduce experimentalRequestBuilder to hydrate within code snippets
18
+ - 98166fd: Adds CLI docs
19
+
20
+ ### Patch Changes
21
+
22
+ - 7a79858: more aggressively suppress dev-server waterfalls through ai-chat
23
+ - Updated dependencies [32b2c88]
24
+ - Updated dependencies [6fd3625]
25
+ - Updated dependencies [98166fd]
26
+ - @stainless-api/docs-ui@0.1.0-beta.59
27
+ - @stainless-api/docs-search@0.1.0-beta.12
28
+
29
+ ## 0.1.0-beta.78
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies [1b04416]
34
+ - Updated dependencies [905cdac]
35
+ - @stainless-api/docs-ui@0.1.0-beta.58
36
+ - @stainless-api/docs-search@0.1.0-beta.11
37
+
38
+ ## 0.1.0-beta.77
39
+
40
+ ### Patch Changes
41
+
42
+ - 5c8fef8: fixes pagefind path
43
+
44
+ ## 0.1.0-beta.76
45
+
46
+ ### Patch Changes
47
+
48
+ - 5a6d886: fix searchbar styles
49
+ - d79718a: should use base url when resolving pagefind
50
+
51
+ ## 0.1.0-beta.75
52
+
53
+ ### Patch Changes
54
+
55
+ - b1ff7b3: write manifest file after build
56
+
57
+ ## 0.1.0-beta.74
58
+
59
+ ### Patch Changes
60
+
61
+ - d0d1122: support astro config base param
62
+ - Updated dependencies [6eb6d38]
63
+ - Updated dependencies [7bc8f4e]
64
+ - Updated dependencies [2f6b86d]
65
+ - @stainless-api/docs-ui@0.1.0-beta.57
66
+ - @stainless-api/ui-primitives@0.1.0-beta.43
67
+ - @stainless-api/docs-search@0.1.0-beta.10
68
+
69
+ ## 0.1.0-beta.73
70
+
71
+ ### Patch Changes
72
+
73
+ - 6adf1c6: fixes show more button background opacity
74
+
75
+ ## 0.1.0-beta.72
76
+
77
+ ### Patch Changes
78
+
79
+ - Updated dependencies [2d82e2e]
80
+ - @stainless-api/ui-primitives@0.1.0-beta.42
81
+ - @stainless-api/docs-search@0.1.0-beta.9
82
+ - @stainless-api/docs-ui@0.1.0-beta.56
83
+
84
+ ## 0.1.0-beta.71
85
+
86
+ ### Patch Changes
87
+
88
+ - Updated dependencies [0a84207]
89
+ - @stainless-api/docs-search@0.1.0-beta.8
90
+
91
+ ## 0.1.0-beta.70
92
+
93
+ ### Patch Changes
94
+
95
+ - Updated dependencies [750c348]
96
+ - @stainless-api/ui-primitives@0.1.0-beta.41
97
+ - @stainless-api/docs-search@0.1.0-beta.7
98
+ - @stainless-api/docs-ui@0.1.0-beta.55
99
+
100
+ ## 0.1.0-beta.69
101
+
102
+ ### Patch Changes
103
+
104
+ - 67aa6b5: improves UI for algolia search on desktop and mobile
105
+ - bf9bdd4: Remove old/broken mintlify-compat Steps implementation in favor of the new component
106
+ - 68f4528: Adds support for opengraph images
107
+ - Updated dependencies [67aa6b5]
108
+ - @stainless-api/docs-search@0.1.0-beta.6
109
+ - @stainless-api/docs-ui@0.1.0-beta.54
110
+
111
+ ## 0.1.0-beta.68
112
+
113
+ ### Patch Changes
114
+
115
+ - add prose docs vector indexing
116
+
117
+ ## 0.1.0-beta.67
118
+
119
+ ### Patch Changes
120
+
121
+ - a59d5f7: Pass current page context through as “intent”
122
+ - Updated dependencies [e9567b0]
123
+ - @stainless-api/ui-primitives@0.1.0-beta.40
124
+ - @stainless-api/docs-ui@0.1.0-beta.53
125
+ - @stainless-api/docs-search@0.1.0-beta.5
126
+
127
+ ## 0.1.0-beta.66
128
+
129
+ ### Patch Changes
130
+
131
+ - af54129: fix: index missing prose docs for search
132
+
133
+ ## 0.1.0-beta.65
134
+
135
+ ### Patch Changes
136
+
137
+ - 22a19ed: exporting Head component to support custom head implements
138
+
139
+ ## 0.1.0-beta.64
140
+
141
+ ### Patch Changes
142
+
143
+ - add markdown indexing functionality
144
+
145
+ ## 0.1.0-beta.63
146
+
147
+ ### Patch Changes
148
+
149
+ - d2e3686: add a success state to the copy markdown action
150
+ - Updated dependencies [5d6e5fa]
151
+ - @stainless-api/ui-primitives@0.1.0-beta.39
152
+ - @stainless-api/docs-ui@0.1.0-beta.52
153
+ - @stainless-api/docs-search@0.1.0-beta.4
154
+
155
+ ## 0.1.0-beta.62
156
+
157
+ ### Patch Changes
158
+
159
+ - 3c4a030: increase minimum starlight depdendency version
160
+ - cd86726: Fix a crash when stl-starlight plugin isn’t being loaded
161
+ - aa9d333: fixes for markdown rendering when astro integrations override the starlight html entrypoint
162
+ - 07a2c87: Should override ThemeProvider for setting theme within the html head
163
+ - @stainless-api/docs-search@0.1.0-beta.3
164
+ - @stainless-api/docs-ui@0.1.0-beta.51
165
+ - @stainless-api/ui-primitives@0.1.0-beta.38
166
+
167
+ ## 0.1.0-beta.61
168
+
169
+ ### Patch Changes
170
+
171
+ - 88a9894: patch vite optimizeDeps for docs-ai-chat
172
+ - Updated dependencies [2a79bae]
173
+ - @stainless-api/ui-primitives@0.1.0-beta.38
174
+ - @stainless-api/docs-ui@0.1.0-beta.51
175
+ - @stainless-api/docs-search@0.1.0-beta.3
176
+
177
+ ## 0.1.0-beta.60
178
+
179
+ ### Patch Changes
180
+
181
+ - 2d00f0d: compatibility with the first alpha version of docs-ai-chat
182
+ - Updated dependencies [2d00f0d]
183
+ - @stainless-api/docs-ui@0.1.0-beta.50
184
+ - @stainless-api/ui-primitives@0.1.0-beta.37
185
+ - @stainless-api/docs-search@0.1.0-beta.2
186
+
187
+ ## 0.1.0-beta.59
188
+
189
+ ### Patch Changes
190
+
191
+ - 23bbd6d: fix search input layout on default header layout
192
+
193
+ ## 0.1.0-beta.58
194
+
195
+ ### Minor Changes
196
+
197
+ - af090c3: refactor: extract search to @stainless-api/docs-search package
198
+
199
+ ### Patch Changes
200
+
201
+ - e79d6c3: fix an issue where the search bar would overflow over nav elements
202
+ - 2d372fb: feat: support for stainless docs plugins
203
+ - Updated dependencies [af090c3]
204
+ - Updated dependencies [4cf4aa5]
205
+ - Updated dependencies [8886c7c]
206
+ - @stainless-api/docs-search@0.1.0-beta.1
207
+ - @stainless-api/docs-ui@0.1.0-beta.49
208
+ - @stainless-api/ui-primitives@0.1.0-beta.36
209
+
210
+ ## 0.1.0-beta.57
211
+
212
+ ### Patch Changes
213
+
214
+ - Updated dependencies [ada37ee]
215
+ - @stainless-api/docs-ui@0.1.0-beta.48
216
+
217
+ ## 0.1.0-beta.56
218
+
219
+ ### Minor Changes
220
+
221
+ - d75a72f: Adds C# language support
222
+
223
+ ### Patch Changes
224
+
225
+ - Updated dependencies [d75a72f]
226
+ - Updated dependencies [2464347]
227
+ - @stainless-api/docs-ui@0.1.0-beta.47
228
+
229
+ ## 0.1.0-beta.55
230
+
231
+ ### Patch Changes
232
+
233
+ - ae56b3c: ensure changeset release commit doesn’t include [skip ci]
234
+ - Updated dependencies [ae56b3c]
235
+ - @stainless-api/docs-ui@0.1.0-beta.46
236
+ - @stainless-api/ui-primitives@0.1.0-beta.35
237
+
238
+ ## 0.1.0-beta.54
239
+
240
+ ### Minor Changes
241
+
242
+ - a70f60c: Adds the title property
243
+
244
+ ### Patch Changes
245
+
246
+ - 2ebf696: enable trusted publishing
247
+ - Updated dependencies [2ebf696]
248
+ - Updated dependencies [a70f60c]
249
+ - @stainless-api/docs-ui@0.1.0-beta.45
250
+ - @stainless-api/ui-primitives@0.1.0-beta.34
251
+
252
+ ## 0.1.0-beta.53
253
+
254
+ ### Patch Changes
255
+
256
+ - 2e1639a: Updated preview worker and added experimental playgrounds feature.
257
+ - Updated dependencies [239e28c]
258
+ - Updated dependencies [ddc4593]
259
+ - Updated dependencies [2e1639a]
260
+ - Updated dependencies [2e1639a]
261
+ - @stainless-api/docs-ui@0.1.0-beta.44
262
+ - @stainless-api/ui-primitives@0.1.0-beta.33
263
+
264
+ ## 0.1.0-beta.52
265
+
266
+ ### Patch Changes
267
+
268
+ - 72c7604: include default themes in stainlessStarlight plugin
269
+ - Updated dependencies [8a32bbb]
270
+ - @stainless-api/ui-primitives@0.1.0-beta.32
271
+ - @stainless-api/docs-ui@0.1.0-beta.43
272
+
273
+ ## 0.1.0-beta.51
274
+
275
+ ### Patch Changes
276
+
277
+ - 4fc191c: standardize accent border colors
278
+ - Updated dependencies [3d2179f]
279
+ - @stainless-api/ui-primitives@0.1.0-beta.31
280
+ - @stainless-api/docs-ui@0.1.0-beta.42
281
+
282
+ ## 0.1.0-beta.50
283
+
284
+ ### Patch Changes
285
+
286
+ - 6de051d: update vendored preview worker
287
+
288
+ ## 0.1.0-beta.49
289
+
290
+ ### Patch Changes
291
+
292
+ - Updated dependencies [b9e4b82]
293
+ - Updated dependencies [6d12e06]
294
+ - Updated dependencies [5051795]
295
+ - @stainless-api/ui-primitives@0.1.0-beta.30
296
+ - @stainless-api/docs-ui@0.1.0-beta.41
297
+
298
+ ## 0.1.0-beta.48
299
+
300
+ ### Patch Changes
301
+
302
+ - Updated dependencies [81b5b21]
303
+ - Updated dependencies [ba269f9]
304
+ - Updated dependencies [e2a7098]
305
+ - Updated dependencies [589b13d]
306
+ - @stainless-api/ui-primitives@0.1.0-beta.29
307
+ - @stainless-api/docs-ui@0.1.0-beta.40
308
+
309
+ ## 0.1.0-beta.47
310
+
311
+ ### Patch Changes
312
+
313
+ - 466285c: Fixes for expressive code styles
314
+ - Ensure expressive code styles are applied to docs sites that do not include API reference
315
+ - Use correct red & green palettes for ins/del diff annotations
316
+
317
+ - Updated dependencies [d2d5d51]
318
+ - @stainless-api/ui-primitives@0.1.0-beta.28
319
+ - @stainless-api/docs-ui@0.1.0-beta.39
320
+
321
+ ## 0.1.0-beta.46
322
+
323
+ ### Minor Changes
324
+
325
+ - b61b7c1: New theming system
326
+
327
+ A whole new set of design system variables used throughout docs, docs-ui, and ui-primitives
328
+
329
+ Improves customizability & uniformness compared to the old set of variables.
330
+
331
+ ### Patch Changes
332
+
333
+ - Updated dependencies [b61b7c1]
334
+ - Updated dependencies [262f201]
335
+ - @stainless-api/docs-ui@0.1.0-beta.38
336
+ - @stainless-api/ui-primitives@0.1.0-beta.27
337
+
338
+ ## 0.1.0-beta.45
339
+
340
+ ### Patch Changes
341
+
342
+ - 00b33d9: syntax highlighting for markdown renderer
343
+ - fa43cff: json brackets should use muted foreground color
344
+ - c06e5c3: update marked dependency
345
+ - 32d1735: experimental support for collapsible method descriptions
346
+ - Updated dependencies [00b33d9]
347
+ - Updated dependencies [32d1735]
348
+ - Updated dependencies [23254d1]
349
+ - @stainless-api/ui-primitives@0.1.0-beta.26
350
+ - @stainless-api/docs-ui@0.1.0-beta.37
351
+
352
+ ## 0.1.0-beta.44
353
+
354
+ ### Patch Changes
355
+
356
+ - Updated dependencies [38b7030]
357
+ - @stainless-api/docs-ui@0.1.0-beta.36
358
+
359
+ ## 0.1.0-beta.43
360
+
361
+ ### Patch Changes
362
+
363
+ - a44a012: Remove debug code
364
+
365
+ ## 0.1.0-beta.42
366
+
367
+ ### Patch Changes
368
+
369
+ - Updated dependencies [3817ff5]
370
+ - Updated dependencies [391a7ce]
371
+ - Updated dependencies [945d4f3]
372
+ - @stainless-api/docs-ui@0.1.0-beta.35
373
+
374
+ ## 0.1.0-beta.41
375
+
376
+ ### Patch Changes
377
+
378
+ - 6557889: temporarily remove experimental AI search feature
379
+ - Updated dependencies [6557889]
380
+ - @stainless-api/docs-ui@0.1.0-beta.34
381
+
382
+ ## 0.1.0-beta.40
383
+
384
+ ### Patch Changes
385
+
386
+ - Updated dependencies [8670d73]
387
+ - @stainless-api/docs-ui@0.1.0-beta.33
388
+
389
+ ## 0.1.0-beta.39
390
+
391
+ ### Patch Changes
392
+
393
+ - 242deef: fix mobile menu on splash pages
394
+ - Updated dependencies [242deef]
395
+ - @stainless-api/ui-primitives@0.1.0-beta.25
396
+ - @stainless-api/docs-ui@0.1.0-beta.32
397
+
398
+ ## 0.1.0-beta.38
399
+
400
+ ### Patch Changes
401
+
402
+ - Updated dependencies [c28b0a6]
403
+ - Updated dependencies [f23c6bc]
404
+ - Updated dependencies [2cd1b33]
405
+ - @stainless-api/docs-ui@0.1.0-beta.31
406
+ - @stainless-api/ui-primitives@0.1.0-beta.24
407
+
408
+ ## 0.1.0-beta.37
409
+
410
+ ### Patch Changes
411
+
412
+ - 5f14e53: Render page descriptions as part of page header by default
413
+ - Updated dependencies [49e1b93]
414
+ - @stainless-api/docs-ui@0.1.0-beta.30
415
+ - @stainless-api/ui-primitives@0.1.0-beta.23
416
+
417
+ ## 0.1.0-beta.36
418
+
419
+ ### Patch Changes
420
+
421
+ - Updated dependencies [7897575]
422
+ - @stainless-api/ui-primitives@0.1.0-beta.22
423
+ - @stainless-api/docs-ui@0.1.0-beta.29
424
+
425
+ ## 0.1.0-beta.35
426
+
427
+ ### Patch Changes
428
+
429
+ - Updated dependencies [344761e]
430
+ - @stainless-api/ui-primitives@0.1.0-beta.21
431
+ - @stainless-api/docs-ui@0.1.0-beta.28
432
+
433
+ ## 0.1.0-beta.34
434
+
435
+ ### Patch Changes
436
+
437
+ - f5173e9: fix: theme flickering
438
+
439
+ ## 0.1.0-beta.33
440
+
441
+ ### Patch Changes
442
+
443
+ - 7ef572c: feat: updated dropdowns
444
+ - Updated dependencies [7ef572c]
445
+ - @stainless-api/docs-ui@0.1.0-beta.27
446
+ - @stainless-api/ui-primitives@0.1.0-beta.20
447
+
448
+ ## 0.1.0-beta.32
449
+
450
+ ### Patch Changes
451
+
452
+ - 58040d8: feat: ui primitives updates, cursor support
453
+ - Updated dependencies [58040d8]
454
+ - @stainless-api/docs-ui@0.1.0-beta.26
455
+ - @stainless-api/ui-primitives@0.1.0-beta.19
456
+
457
+ ## 0.1.0-beta.31
458
+
459
+ ### Patch Changes
460
+
461
+ - Updated dependencies [afd1f8e]
462
+ - Updated dependencies [279fa0e]
463
+ - @stainless-api/docs-ui@0.1.0-beta.25
464
+
465
+ ## 0.1.0-beta.30
466
+
467
+ ### Patch Changes
468
+
469
+ - Updated dependencies [ab570bc]
470
+ - @stainless-api/docs-ui@0.1.0-beta.24
471
+
472
+ ## 0.1.0-beta.29
473
+
474
+ ### Patch Changes
475
+
476
+ - Updated dependencies [279fa0e]
477
+ - @stainless-api/docs-ui@0.1.0-beta.23
478
+
479
+ ## 0.1.0-beta.28
480
+
481
+ ### Minor Changes
482
+
483
+ - c635741: Updated worker and fixed docs-ui jsx issue
484
+
485
+ ### Patch Changes
486
+
487
+ - Updated dependencies [c635741]
488
+ - @stainless-api/docs-ui@0.1.0-beta.22
489
+ - @stainless-api/ui-primitives@0.1.0-beta.18
490
+
491
+ ## 0.1.0-beta.27
492
+
493
+ ### Patch Changes
494
+
495
+ - de189ee: remove max width on site title
496
+
497
+ ## 0.1.0-beta.26
498
+
499
+ ### Patch Changes
500
+
501
+ - 1517484: fixing font loading, updating nav bar height
502
+ - Updated dependencies [1517484]
503
+ - @stainless-api/docs-ui@0.1.0-beta.21
504
+ - @stainless-api/ui-primitives@0.1.0-beta.17
505
+
506
+ ## 0.1.0-beta.25
507
+
508
+ ### Patch Changes
509
+
510
+ - Updated dependencies [b9ce1b6]
511
+ - @stainless-api/docs-ui@0.1.0-beta.20
512
+
513
+ ## 0.1.0-beta.24
514
+
515
+ ### Patch Changes
516
+
517
+ - Updated dependencies [402222a]
518
+ - @stainless-api/docs-ui@0.1.0-beta.19
519
+
520
+ ## 0.1.0-beta.23
521
+
522
+ ### Patch Changes
523
+
524
+ - Updated dependencies [2150eee]
525
+ - @stainless-api/docs-ui@0.1.0-beta.18
526
+
527
+ ## 0.1.0-beta.22
528
+
529
+ ### Patch Changes
530
+
531
+ - Updated dependencies [f7ba067]
532
+ - @stainless-api/docs-ui@0.1.0-beta.17
533
+
534
+ ## 0.1.0-beta.21
535
+
536
+ ### Patch Changes
537
+
538
+ - 41e87cb: fix virtual module imports
539
+
540
+ ## 0.1.0-beta.20
541
+
542
+ ### Patch Changes
543
+
544
+ - 9cdb24d: Update pagination components, fix search modal
545
+ - Updated dependencies [9cdb24d]
546
+ - @stainless-api/docs-ui@0.1.0-beta.16
547
+ - @stainless-api/ui-primitives@0.1.0-beta.16
548
+
549
+ ## 0.1.0-beta.19
550
+
551
+ ### Patch Changes
552
+
553
+ - 15c003d: fix react peer dependencies
554
+ - Updated dependencies [15c003d]
555
+ - @stainless-api/docs-ui@0.1.0-beta.15
556
+ - @stainless-api/ui-primitives@0.1.0-beta.15
557
+
558
+ ## 0.1.0-beta.18
559
+
560
+ ### Patch Changes
561
+
562
+ - Updated dependencies [0572f60]
563
+ - @stainless-api/docs-ui@0.1.0-beta.14
564
+
565
+ ## 0.1.0-beta.17
566
+
567
+ ### Patch Changes
568
+
569
+ - a925bb4: fix markdown icon color in dark mode
570
+
571
+ ## 0.1.0-beta.16
572
+
573
+ ### Patch Changes
574
+
575
+ - 0618d05: Markdown rendering of prose pages, ai context menu, auth via cli, minor fixes
576
+ - Updated dependencies [0618d05]
577
+ - @stainless-api/docs-ui@0.1.0-beta.13
578
+ - @stainless-api/ui-primitives@0.1.0-beta.14
579
+
580
+ ## 0.1.0-beta.15
581
+
582
+ ### Patch Changes
583
+
584
+ - e35360f: include ui-primitive packages
585
+ - Updated dependencies [e35360f]
586
+ - @stainless-api/docs-ui@0.1.0-beta.12
587
+ - @stainless-api/ui-primitives@0.1.0-beta.13
588
+
589
+ ## 0.1.0-beta.14
590
+
591
+ ### Patch Changes
592
+
593
+ - a529fd4: fix: site title height
594
+ - Updated dependencies [a529fd4]
595
+ - @stainless-api/docs-ui@0.1.0-beta.11
596
+ - @stainless-api/ui-primitives@0.1.0-beta.12
597
+
598
+ ## 0.1.0-beta.13
599
+
600
+ ### Patch Changes
601
+
602
+ - 26a4786: fix: include missing starlight config options
603
+ - Updated dependencies [26a4786]
604
+ - @stainless-api/docs-ui@0.1.0-beta.10
605
+ - @stainless-api/ui-primitives@0.1.0-beta.11
606
+
607
+ ## 0.1.0-beta.12
608
+
609
+ ### Patch Changes
610
+
611
+ - Updated dependencies [3e44a9c]
612
+ - @stainless-api/ui-primitives@0.1.0-beta.10
613
+ - @stainless-api/docs-ui@0.1.0-beta.9
614
+
615
+ ## 0.1.0-beta.11
616
+
617
+ ### Patch Changes
618
+
619
+ - c96f895: Remove css layers, update sidebar styles, add new prose elements
620
+ - Updated dependencies [c96f895]
621
+ - @stainless-api/docs-ui@0.1.0-beta.8
622
+ - @stainless-api/ui-primitives@0.1.0-beta.9
623
+
624
+ ## 0.1.0-beta.10
625
+
626
+ ### Patch Changes
627
+
628
+ - dc059d2: should include option in stl-docs virtual module
629
+
630
+ ## 0.1.0-beta.9
631
+
632
+ ### Patch Changes
633
+
634
+ - d15a520: fix initialization of dropdown buttons
635
+ - Updated dependencies [d15a520]
636
+ - @stainless-api/ui-primitives@0.1.0-beta.8
637
+ - @stainless-api/docs-ui@0.1.0-beta.7
638
+
3
639
  ## 0.1.0-beta.8
4
640
 
5
641
  ### Minor Changes
@@ -0,0 +1,52 @@
1
+ {
2
+ "plugin/buildAlgoliaIndex.ts": {
3
+ "@typescript-eslint/no-explicit-any": {
4
+ "count": 2
5
+ }
6
+ },
7
+ "plugin/cms/client.ts": {
8
+ "@typescript-eslint/no-explicit-any": {
9
+ "count": 1
10
+ }
11
+ },
12
+ "plugin/cms/server.ts": {
13
+ "@typescript-eslint/no-explicit-any": {
14
+ "count": 4
15
+ }
16
+ },
17
+ "plugin/cms/sidebar-builder.ts": {
18
+ "@typescript-eslint/no-explicit-any": {
19
+ "count": 1
20
+ }
21
+ },
22
+ "plugin/cms/worker.ts": {
23
+ "@typescript-eslint/no-explicit-any": {
24
+ "count": 3
25
+ }
26
+ },
27
+ "plugin/components/SnippetCode.tsx": {
28
+ "@typescript-eslint/no-explicit-any": {
29
+ "count": 1
30
+ }
31
+ },
32
+ "plugin/globalJs/copy.ts": {
33
+ "@typescript-eslint/no-explicit-any": {
34
+ "count": 3
35
+ }
36
+ },
37
+ "plugin/index.ts": {
38
+ "@typescript-eslint/no-explicit-any": {
39
+ "count": 1
40
+ }
41
+ },
42
+ "plugin/languages.ts": {
43
+ "@typescript-eslint/no-explicit-any": {
44
+ "count": 1
45
+ }
46
+ },
47
+ "shared/virtualModule.ts": {
48
+ "@typescript-eslint/no-explicit-any": {
49
+ "count": 1
50
+ }
51
+ }
52
+ }
package/locals.d.ts ADDED
@@ -0,0 +1,17 @@
1
+ type SidebarEntry = App.Locals['starlightRoute']['sidebar'][number];
2
+
3
+ /**
4
+ * Extending Astro’s `App.Locals` interface
5
+ */
6
+ declare namespace App {
7
+ interface Locals {
8
+ _stlStarlightPage?: {
9
+ skipRenderingStarlightTitle?: boolean;
10
+ hasMarkdownRoute?: boolean;
11
+ fullSidebar?: SidebarEntry[];
12
+ };
13
+
14
+ stainlessProject?: string;
15
+ language?: import('@stainless-api/docs-ui/routing').DocsLanguage;
16
+ }
17
+ }