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

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