@stainless-api/docs-ui 0.1.0-beta.85 → 0.1.0-beta.86

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 (110) hide show
  1. package/dist/breadcrumbs-DC2_z7nh.d.ts +25 -0
  2. package/dist/chunk-pbuEa-1d.js +13 -0
  3. package/dist/component-generics-DYxBWv1v.js +42 -0
  4. package/dist/component-generics-q-ujwX4P.d.ts +30 -0
  5. package/dist/components/MaskedInput.d.ts +1 -1
  6. package/dist/components/MaskedInput.js +1 -3
  7. package/dist/components/breadcrumbs.d.ts +1 -24
  8. package/dist/components/breadcrumbs.js +2 -4
  9. package/dist/components/icons.js +4 -6
  10. package/dist/components/index.d.ts +10 -16
  11. package/dist/components/index.js +3 -5
  12. package/dist/components/method.d.ts +1 -58
  13. package/dist/components/method.js +12 -14
  14. package/dist/components/overview.d.ts +1 -38
  15. package/dist/components/overview.js +6 -5
  16. package/dist/components/primitives.d.ts +1 -106
  17. package/dist/components/primitives.js +2 -4
  18. package/dist/components/properties.d.ts +1 -53
  19. package/dist/components/properties.js +17 -19
  20. package/dist/components/sdk-sidebar.d.ts +1 -14
  21. package/dist/components/sdk-sidebar.js +2 -4
  22. package/dist/components/sdk.d.ts +1 -127
  23. package/dist/components/sdk.js +3 -5
  24. package/dist/components/snippets.d.ts +1 -70
  25. package/dist/components/snippets.js +16 -16
  26. package/dist/components/stl-sidebar.d.ts +1 -57
  27. package/dist/components/stl-sidebar.js +2 -4
  28. package/dist/contexts/component-generics.d.ts +1 -29
  29. package/dist/contexts/component-generics.js +2 -33
  30. package/dist/contexts/component-types.d.ts +3 -5
  31. package/dist/contexts/component.d.ts +4 -5
  32. package/dist/contexts/component.js +2 -5
  33. package/dist/contexts/docs.d.ts +1 -61
  34. package/dist/contexts/docs.js +1 -3
  35. package/dist/contexts/index.d.ts +6 -13
  36. package/dist/contexts/index.js +3 -6
  37. package/dist/contexts/markdown.d.ts +1 -21
  38. package/dist/contexts/markdown.js +1 -3
  39. package/dist/contexts/navigation.d.ts +1 -28
  40. package/dist/contexts/navigation.js +1 -3
  41. package/dist/contexts/use-components.d.ts +1 -2
  42. package/dist/contexts/use-components.js +2 -5
  43. package/dist/docs-DSjdvCh5.d.ts +62 -0
  44. package/dist/index-HcWFtzlc.d.ts +464 -0
  45. package/dist/index.d.ts +2 -4
  46. package/dist/index.js +2 -3
  47. package/dist/languages/cli.d.ts +2 -38
  48. package/dist/languages/cli.js +3 -5
  49. package/dist/languages/csharp.d.ts +2 -42
  50. package/dist/languages/csharp.js +3 -5
  51. package/dist/languages/go.d.ts +2 -40
  52. package/dist/languages/go.js +3 -5
  53. package/dist/languages/http.d.ts +2 -46
  54. package/dist/languages/http.js +5 -7
  55. package/dist/languages/index.d.ts +2 -51
  56. package/dist/languages/index.js +3 -5
  57. package/dist/languages/java.d.ts +2 -43
  58. package/dist/languages/java.js +3 -5
  59. package/dist/languages/php.d.ts +2 -40
  60. package/dist/languages/php.js +3 -5
  61. package/dist/languages/python.d.ts +2 -40
  62. package/dist/languages/python.js +3 -5
  63. package/dist/languages/ruby.d.ts +2 -40
  64. package/dist/languages/ruby.js +3 -5
  65. package/dist/languages/terraform.d.ts +2 -48
  66. package/dist/languages/terraform.js +25 -10
  67. package/dist/languages/typescript.d.ts +2 -40
  68. package/dist/languages/typescript.js +5 -7
  69. package/dist/markdown/index.d.ts +1 -1
  70. package/dist/markdown/index.js +3 -6
  71. package/dist/markdown/md.js +1 -3
  72. package/dist/markdown/printer.d.ts +2 -2
  73. package/dist/markdown/printer.js +3 -5
  74. package/dist/markdown/utils.d.ts +3 -3
  75. package/dist/markdown/utils.js +2 -4
  76. package/dist/markdown-ClGRntP5.d.ts +22 -0
  77. package/dist/method-CNRMOUfn.d.ts +59 -0
  78. package/dist/navigation-C9ckAfpV.d.ts +29 -0
  79. package/dist/overview-CDvh184n.d.ts +39 -0
  80. package/dist/primitives-DFE_4MvV.d.ts +107 -0
  81. package/dist/properties-CVwrzWVa.d.ts +54 -0
  82. package/dist/routing-yTSG7nWM.d.ts +61 -0
  83. package/dist/routing.d.ts +2 -61
  84. package/dist/routing.js +2 -4
  85. package/dist/sdk-BkW3MDco.d.ts +128 -0
  86. package/dist/sdk-sidebar-BpDlOMat.d.ts +15 -0
  87. package/dist/spec.d.ts +4 -4
  88. package/dist/spec.js +1 -3
  89. package/dist/stl-sidebar-CKrR5ZGs.d.ts +58 -0
  90. package/dist/style.js +1 -2
  91. package/dist/styles/main.css +320 -349
  92. package/dist/styles/primitives.css +133 -185
  93. package/dist/styles/resets.css +7 -14
  94. package/dist/styles/search.css +91 -96
  95. package/dist/styles/sidebar.css +44 -71
  96. package/dist/styles/variables.css +0 -5
  97. package/dist/styles.css +995 -1261
  98. package/dist/utils.d.ts +1 -1
  99. package/dist/utils.js +2 -4
  100. package/package.json +6 -5
  101. package/dist/chunk-BYypO7fO.js +0 -18
  102. package/dist/styles/main.js +0 -0
  103. package/dist/styles/primitives.js +0 -0
  104. package/dist/styles/resets.js +0 -0
  105. package/dist/styles/search.js +0 -0
  106. package/dist/styles/sidebar.js +0 -0
  107. package/dist/styles/variables.js +0 -0
  108. package/dist/styles.mjs +0 -1
  109. package/dist/use-strict-context-Clb6Yjly.js +0 -16
  110. /package/dist/{index-pvh-w1xa.d.ts → index-DFr9Mesr.d.ts} +0 -0
@@ -0,0 +1,464 @@
1
+ import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "./primitives-DFE_4MvV.js";
2
+ import { S as Type$10, a as GoAST, b as TSAST, d as Method, g as RubyAST, h as Resource$1, i as DeclarationNode, l as JavaAST, m as PythonAST, n as CLIAST, o as HasStainlessPath, p as PhpAST, r as CSharpAST, s as HttpAST, x as TerraformAST } from "./index-DFr9Mesr.js";
3
+ import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-DC2_z7nh.js";
4
+ import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo$1, r as MethodDescriptionProps, s as MethodInfoProps, t as Method$1, u as MethodRouteProps } from "./method-CNRMOUfn.js";
5
+ import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps$10, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property$10 } from "./properties-CVwrzWVa.js";
6
+ import { A as useStreamingResponse, C as SDKRequestTitleProps, D as useDeclarationParents, E as TransformRequestSnippetFn, O as usePropertyModel, S as SDKRequestTitle, T as SDKSnippetLanguagesType, _ as SDKMethodNotImplemented, a as ReferenceNestingContextType, b as SDKModelProps, c as SDKConstraintsProps, d as SDKIcon, f as SDKLanguageBlock, g as SDKMethodInfoContent, h as SDKMethodInfo, i as ReferenceNestingContext, k as useReferenceNesting, l as SDKDeclaration, m as SDKMethodHeader, n as PropertyModelContext, o as SDKChildren, p as SDKMethod, r as PropertyModelContextType, s as SDKConstraints, t as DeclarationParentsContextType, u as SDKExample, v as SDKMethodProps, w as SDKSnippetLanguages, x as SDKReference, y as SDKModel } from "./sdk-BkW3MDco.js";
7
+ import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "./navigation-C9ckAfpV.js";
8
+ import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "./markdown-ClGRntP5.js";
9
+ import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "./component-generics-q-ujwX4P.js";
10
+ import { _ as useSnippetResponse, a as DocsProviderProps, c as useContentPanelLayout, d as useIgnoredResources, f as useLanguage, g as useSnippetIds, h as useSnippet, i as DocsProvider, l as useDeclaration, m as useSettings, n as Declaration$10, o as PropertySettingsType, p as useResource, r as DocsContextType, s as useAvailableLanguages, t as ContentPanelLayout, u as useDocs, v as useSnippets, y as useSpec } from "./docs-DSjdvCh5.js";
11
+ import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "./overview-CDvh184n.js";
12
+ import { n as SDKSidebarProps, t as SDKSidebar } from "./sdk-sidebar-BpDlOMat.js";
13
+ import { a as StlSidebarProps, i as StlSidebarLink, n as StlSidebarEntry, o as StlSidebarTarget, r as StlSidebarGroup, t as StlSidebar } from "./stl-sidebar-CKrR5ZGs.js";
14
+ import * as React$1 from "react";
15
+ import React, { ReactNode } from "react";
16
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
17
+
18
+ //#region src/languages/typescript.d.ts
19
+ declare namespace typescript_d_exports {
20
+ export { Declaration$9 as Declaration, DeclarationProps$9 as DeclarationProps, MethodSignature$9 as MethodSignature, MethodSignatureProps$8 as MethodSignatureProps, Property$9 as Property, PropertyProps$9 as PropertyProps, Type$9 as Type, TypeName$9 as TypeName };
21
+ }
22
+ type TypeProps$9 = {
23
+ type: TSAST.TSType;
24
+ };
25
+ declare function TypeName$9({
26
+ type
27
+ }: TypeProps$9): string | react_jsx_runtime0.JSX.Element;
28
+ declare function Type$9({
29
+ type
30
+ }: TypeProps$9): react_jsx_runtime0.JSX.Element;
31
+ type MethodSignatureProps$8 = {
32
+ decl: TSAST.TSDeclFunction;
33
+ };
34
+ declare function MethodSignature$9({
35
+ decl
36
+ }: MethodSignatureProps$8): react_jsx_runtime0.JSX.Element;
37
+ type PropertyProps$9 = {
38
+ decl: TSAST.TSDeclaration;
39
+ children: PropertyFn;
40
+ };
41
+ declare function Property$9({
42
+ decl,
43
+ children
44
+ }: PropertyProps$9): React$1.ReactNode;
45
+ type DeclarationProps$9 = {
46
+ decl: TSAST.TSDeclaration;
47
+ };
48
+ declare function Declaration$9({
49
+ decl
50
+ }: DeclarationProps$9): react_jsx_runtime0.JSX.Element | undefined;
51
+ declare namespace java_d_exports {
52
+ export { Declaration$8 as Declaration, DeclarationProps$8 as DeclarationProps, MethodSignature$8 as MethodSignature, MethodSignatureProps$7 as MethodSignatureProps, Property$8 as Property, PropertyProps$8 as PropertyProps, Type$8 as Type, TypeName$8 as TypeName };
53
+ }
54
+ type TypeProps$8 = {
55
+ type: JavaAST.JavaType;
56
+ optional?: boolean;
57
+ };
58
+ declare function TypeName$8({
59
+ type,
60
+ optional
61
+ }: TypeProps$8): react_jsx_runtime0.JSX.Element | "List";
62
+ declare function Type$8({
63
+ type,
64
+ optional
65
+ }: TypeProps$8): react_jsx_runtime0.JSX.Element;
66
+ type MethodSignatureProps$7 = {
67
+ decl: JavaAST.JavaDeclFunction;
68
+ };
69
+ declare function MethodSignature$8({
70
+ decl
71
+ }: MethodSignatureProps$7): react_jsx_runtime0.JSX.Element;
72
+ type PropertyProps$8 = {
73
+ decl: JavaAST.JavaDeclaration;
74
+ children: PropertyFn;
75
+ };
76
+ declare function Property$8({
77
+ decl,
78
+ children
79
+ }: PropertyProps$8): React$1.ReactNode;
80
+ type DeclarationProps$8 = {
81
+ decl: JavaAST.JavaDeclaration;
82
+ };
83
+ declare function Declaration$8({
84
+ decl
85
+ }: DeclarationProps$8): react_jsx_runtime0.JSX.Element | null | undefined;
86
+ declare namespace go_d_exports {
87
+ export { Declaration$7 as Declaration, DeclarationProps$7 as DeclarationProps, MethodSignature$7 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$7 as Property, PropertyProps$7 as PropertyProps, Type$7 as Type, TypeName$7 as TypeName, TypeProps$7 as TypeProps };
88
+ }
89
+ type TypeProps$7 = {
90
+ type: GoAST.GoType;
91
+ };
92
+ declare function TypeName$7({
93
+ type
94
+ }: TypeProps$7): string | react_jsx_runtime0.JSX.Element;
95
+ declare function Type$7({
96
+ type
97
+ }: TypeProps$7): react_jsx_runtime0.JSX.Element;
98
+ type MethodSignatureProps$6 = {
99
+ decl: GoAST.GoDeclFunction;
100
+ };
101
+ declare function MethodSignature$7({
102
+ decl
103
+ }: MethodSignatureProps$6): react_jsx_runtime0.JSX.Element;
104
+ type PropertyProps$7 = {
105
+ decl: GoAST.GoDeclaration;
106
+ children: PropertyFn;
107
+ };
108
+ declare function Property$7({
109
+ decl,
110
+ children
111
+ }: PropertyProps$7): React$1.ReactNode;
112
+ type DeclarationProps$7 = {
113
+ decl: GoAST.GoDeclaration;
114
+ };
115
+ declare function Declaration$7({
116
+ decl
117
+ }: DeclarationProps$7): react_jsx_runtime0.JSX.Element | undefined;
118
+ declare namespace python_d_exports {
119
+ export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$6 as Type, TypeName$6 as TypeName };
120
+ }
121
+ type TypeProps$6 = {
122
+ type: PythonAST.PythonType;
123
+ };
124
+ declare function TypeName$6({
125
+ type
126
+ }: TypeProps$6): string | react_jsx_runtime0.JSX.Element;
127
+ declare function Type$6({
128
+ type
129
+ }: TypeProps$6): react_jsx_runtime0.JSX.Element;
130
+ type MethodSignatureProps$5 = {
131
+ decl: PythonAST.PythonDeclFunction;
132
+ };
133
+ declare function MethodSignature$6({
134
+ decl
135
+ }: MethodSignatureProps$5): react_jsx_runtime0.JSX.Element;
136
+ type PropertyProps$6 = {
137
+ decl: PythonAST.PythonDeclaration;
138
+ children: PropertyFn;
139
+ };
140
+ declare function Property$6({
141
+ decl,
142
+ children
143
+ }: PropertyProps$6): React$1.ReactNode;
144
+ type DeclarationProps$6 = {
145
+ decl: PythonAST.PythonDeclaration;
146
+ };
147
+ declare function Declaration$6({
148
+ decl
149
+ }: DeclarationProps$6): react_jsx_runtime0.JSX.Element | undefined;
150
+ declare namespace ruby_d_exports {
151
+ export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$5 as Type, TypeName$5 as TypeName };
152
+ }
153
+ type TypeProps$5 = {
154
+ type: RubyAST.RubyType;
155
+ };
156
+ declare function TypeName$5({
157
+ type
158
+ }: TypeProps$5): string | react_jsx_runtime0.JSX.Element;
159
+ declare function Type$5({
160
+ type
161
+ }: TypeProps$5): react_jsx_runtime0.JSX.Element;
162
+ type MethodSignatureProps$4 = {
163
+ decl: RubyAST.RubyDeclFunction;
164
+ };
165
+ declare function MethodSignature$5({
166
+ decl
167
+ }: MethodSignatureProps$4): react_jsx_runtime0.JSX.Element;
168
+ type PropertyProps$5 = {
169
+ decl: RubyAST.RubyDeclaration;
170
+ children: PropertyFn;
171
+ };
172
+ declare function Property$5({
173
+ decl,
174
+ children
175
+ }: PropertyProps$5): React$1.ReactNode;
176
+ type DeclarationProps$5 = {
177
+ decl: RubyAST.RubyDeclaration;
178
+ };
179
+ declare function Declaration$5({
180
+ decl
181
+ }: DeclarationProps$5): react_jsx_runtime0.JSX.Element | undefined;
182
+ declare namespace http_d_exports {
183
+ export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodInfo, MethodSignature$4 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$4 as Type, TypeName$4 as TypeName };
184
+ }
185
+ type TypeProps$4 = {
186
+ type: HttpAST.HttpType;
187
+ };
188
+ declare function TypeName$4({
189
+ type
190
+ }: TypeProps$4): string | react_jsx_runtime0.JSX.Element;
191
+ declare function Type$4({
192
+ type
193
+ }: TypeProps$4): react_jsx_runtime0.JSX.Element;
194
+ type MethodSignatureProps$3 = {
195
+ decl: HttpAST.HttpDeclFunction;
196
+ };
197
+ declare function MethodSignature$4({
198
+ decl
199
+ }: MethodSignatureProps$3): null;
200
+ declare function MethodInfo({
201
+ decl,
202
+ children
203
+ }: MethodSignatureProps$3 & {
204
+ children: React.ReactNode;
205
+ }): react_jsx_runtime0.JSX.Element;
206
+ type PropertyProps$4 = {
207
+ decl: HttpAST.HttpDeclaration;
208
+ children: PropertyFn;
209
+ };
210
+ declare function Property$4({
211
+ decl,
212
+ children
213
+ }: PropertyProps$4): React.ReactNode;
214
+ type DeclarationProps$4 = {
215
+ decl: HttpAST.HttpDeclaration;
216
+ };
217
+ declare function Declaration$4({
218
+ decl
219
+ }: DeclarationProps$4): react_jsx_runtime0.JSX.Element | undefined;
220
+ declare namespace csharp_d_exports {
221
+ export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$3 as Type, TypeName$3 as TypeName };
222
+ }
223
+ declare function TypeName$3({
224
+ type,
225
+ optional
226
+ }: TypeProps$3): react_jsx_runtime0.JSX.Element;
227
+ type TypeProps$3 = {
228
+ type: CSharpAST.CSharpType;
229
+ optional?: boolean;
230
+ };
231
+ declare function Type$3({
232
+ type
233
+ }: TypeProps$3): react_jsx_runtime0.JSX.Element;
234
+ type MethodSignatureProps$2 = {
235
+ decl: CSharpAST.CSharpDeclFunction;
236
+ };
237
+ declare function MethodSignature$3({
238
+ decl
239
+ }: MethodSignatureProps$2): react_jsx_runtime0.JSX.Element;
240
+ type PropertyProps$3 = {
241
+ decl: CSharpAST.CSharpDeclaration;
242
+ children: PropertyFn;
243
+ };
244
+ declare function Property$3({
245
+ decl,
246
+ children
247
+ }: PropertyProps$3): React$1.ReactNode;
248
+ type DeclarationProps$3 = {
249
+ decl: CSharpAST.CSharpDeclaration;
250
+ };
251
+ declare function Declaration$3({
252
+ decl
253
+ }: DeclarationProps$3): react_jsx_runtime0.JSX.Element | null | undefined;
254
+ declare namespace php_d_exports {
255
+ export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$2 as Type, TypeName$2 as TypeName };
256
+ }
257
+ type TypeProps$2 = {
258
+ type: PhpAST.PhpType;
259
+ };
260
+ declare function TypeName$2({
261
+ type
262
+ }: TypeProps$2): string | react_jsx_runtime0.JSX.Element;
263
+ declare function Type$2({
264
+ type
265
+ }: TypeProps$2): react_jsx_runtime0.JSX.Element;
266
+ type MethodSignatureProps$1 = {
267
+ decl: PhpAST.PhpDeclMethod;
268
+ };
269
+ declare function MethodSignature$2({
270
+ decl
271
+ }: MethodSignatureProps$1): react_jsx_runtime0.JSX.Element;
272
+ type PropertyProps$2 = {
273
+ decl: PhpAST.PhpDeclaration;
274
+ children: PropertyFn;
275
+ };
276
+ declare function Property$2({
277
+ decl,
278
+ children
279
+ }: PropertyProps$2): React$1.ReactNode;
280
+ type DeclarationProps$2 = {
281
+ decl: PhpAST.PhpDeclaration;
282
+ };
283
+ declare function Declaration$2({
284
+ decl
285
+ }: DeclarationProps$2): react_jsx_runtime0.JSX.Element | undefined;
286
+ declare namespace cli_d_exports {
287
+ export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodSignature$1 as MethodSignature, MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$1 as Type, TypeName$1 as TypeName };
288
+ }
289
+ type TypeProps$1 = {
290
+ type: HttpAST.HttpType;
291
+ };
292
+ declare function TypeName$1(props: TypeProps$1): string | react_jsx_runtime0.JSX.Element;
293
+ declare function Type$1({
294
+ type
295
+ }: TypeProps$1): react_jsx_runtime0.JSX.Element;
296
+ type MethodSignatureProps = {
297
+ decl: CLIAST.CLICommand;
298
+ };
299
+ declare function MethodSignature$1({
300
+ decl
301
+ }: MethodSignatureProps): react_jsx_runtime0.JSX.Element;
302
+ type PropertyProps$1 = {
303
+ decl: CLIAST.CLIDeclaration;
304
+ children: PropertyFn;
305
+ };
306
+ declare function Property$1({
307
+ decl,
308
+ children
309
+ }: PropertyProps$1): React.ReactNode;
310
+ type DeclarationProps$1 = {
311
+ decl: CLIAST.CLIDeclaration;
312
+ };
313
+ declare function Declaration$1({
314
+ decl
315
+ }: DeclarationProps$1): react_jsx_runtime0.JSX.Element | undefined;
316
+ declare namespace terraform_d_exports {
317
+ export { Declaration, DeclarationProps, MethodSignature, Property, PropertyProps, Resource, ResourceProps, TerraformSource, Type, TypeName, TypeProps, isResourceEntirelyUnsupported };
318
+ }
319
+ type TypeProps = {
320
+ type: TerraformAST.AttributeType;
321
+ };
322
+ declare function TypeName({
323
+ type
324
+ }: TypeProps): react_jsx_runtime0.JSX.Element;
325
+ declare function Type({
326
+ type
327
+ }: TypeProps): react_jsx_runtime0.JSX.Element | undefined;
328
+ declare function MethodSignature(): null;
329
+ type PropertyProps = {
330
+ decl: TerraformAST.TerraformDeclaration;
331
+ children: PropertyFn;
332
+ };
333
+ declare function Property({
334
+ decl,
335
+ children
336
+ }: PropertyProps): React$1.ReactNode;
337
+ declare function TerraformSource({
338
+ path,
339
+ group
340
+ }: {
341
+ path: string;
342
+ group: string;
343
+ }): react_jsx_runtime0.JSX.Element | undefined;
344
+ type DeclarationProps = {
345
+ decl: TerraformAST.TerraformDeclaration;
346
+ };
347
+ declare function Declaration({
348
+ decl
349
+ }: DeclarationProps): react_jsx_runtime0.JSX.Element | undefined;
350
+ declare function isResourceEntirelyUnsupported(resource: Resource$1, decls?: Record<string, unknown>): boolean;
351
+ type ResourceProps = {
352
+ resource: Resource$1;
353
+ parents?: Resource$1[];
354
+ };
355
+ declare function Resource({
356
+ resource,
357
+ parents
358
+ }: ResourceProps): react_jsx_runtime0.JSX.Element | undefined;
359
+ declare namespace index_d_exports$2 {
360
+ export { LanguageComponentDefinition, PropertyFn, cli_d_exports as cli, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, php_d_exports as php, python_d_exports as python, ruby_d_exports as ruby, terraform_d_exports as terraform, typescript_d_exports as typescript };
361
+ }
362
+ declare const node: typeof typescript_d_exports;
363
+ declare const kotlin: typeof java_d_exports;
364
+ type PropertyFn = (params: PropertyProps$10) => ReactNode;
365
+ interface LanguageComponentDefinition {
366
+ Declaration: (props: {
367
+ decl: DeclarationNode;
368
+ }) => ReactNode;
369
+ Property: (props: {
370
+ decl: DeclarationNode;
371
+ children: PropertyFn;
372
+ }) => ReactNode;
373
+ TypeName: (props: {
374
+ type: Type$10;
375
+ optional?: boolean;
376
+ }) => ReactNode;
377
+ Type: (props: {
378
+ type: Type$10;
379
+ optional?: boolean;
380
+ }) => ReactNode;
381
+ MethodSignature: (props: {
382
+ decl: DeclarationNode;
383
+ }) => ReactNode;
384
+ MethodInfo?: (props: {
385
+ decl: DeclarationNode;
386
+ children?: ReactNode;
387
+ }) => ReactNode;
388
+ Resource?: (props: {
389
+ resource: Resource$1;
390
+ parents?: Resource$1[];
391
+ }) => ReactNode;
392
+ }
393
+ declare namespace index_d_exports$1 {
394
+ export { ComponentProvider, ComponentsContextType, ContentPanelLayout, Declaration$10 as Declaration, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, customizeComponents, useAvailableLanguages, useComponentContext, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useIgnoredResources, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSettings, useSnippet, useSnippetIds, useSnippetResponse, useSnippets, useSpec };
395
+ }
396
+ declare function useLanguageComponents(): LanguageComponentDefinition;
397
+ //#endregion
398
+ //#region src/components/snippets.d.ts
399
+ type SnippetCodeProps = {
400
+ content: string;
401
+ signature?: string;
402
+ language?: string;
403
+ };
404
+ declare function SnippetCode({
405
+ content,
406
+ language
407
+ }: SnippetCodeProps): react_jsx_runtime0.JSX.Element;
408
+ type SnippetContainerProps = {
409
+ method: Partial<Method> & HasStainlessPath;
410
+ children: React.ReactNode;
411
+ signature?: string;
412
+ } & React.ComponentProps<'div'>;
413
+ declare function SnippetContainer({
414
+ children,
415
+ className,
416
+ ...props
417
+ }: SnippetContainerProps): react_jsx_runtime0.JSX.Element;
418
+ type SnippetRequestContainerProps = {
419
+ children?: React.ReactNode;
420
+ signature?: string;
421
+ };
422
+ declare function SnippetRequestContainer({
423
+ children
424
+ }: SnippetRequestContainerProps): react_jsx_runtime0.JSX.Element;
425
+ type SnippetProps = {
426
+ requestTitle?: React.ReactNode;
427
+ method: Partial<Method> & HasStainlessPath;
428
+ snippet?: Parameters<typeof useSnippet>[2];
429
+ transformRequestSnippet?: TransformRequestSnippetFn;
430
+ };
431
+ declare function Snippet({
432
+ requestTitle,
433
+ method,
434
+ snippet,
435
+ transformRequestSnippet
436
+ }: SnippetProps): react_jsx_runtime0.JSX.Element | null;
437
+ type MultiSnippetsProps = {
438
+ method: Partial<Method> & HasStainlessPath;
439
+ requestTitle?: React.ReactNode;
440
+ };
441
+ declare function MultiSnippets({
442
+ requestTitle,
443
+ method
444
+ }: MultiSnippetsProps): react_jsx_runtime0.JSX.Element | null;
445
+ declare function SnippetButtons({
446
+ content
447
+ }: {
448
+ content: string;
449
+ }): react_jsx_runtime0.JSX.Element;
450
+ declare function SnippetFooter(): React.ReactNode;
451
+ declare function SnippetResponse({
452
+ responses
453
+ }: {
454
+ responses?: {
455
+ status?: string;
456
+ content: string;
457
+ contentType?: string;
458
+ }[];
459
+ }): react_jsx_runtime0.JSX.Element | null;
460
+ declare namespace index_d_exports {
461
+ export { Badge, DeclarationParentsContextType, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method$1 as Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo$1 as MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, MultiSnippets, MultiSnippetsProps, Property$10 as Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps$10 as PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodInfoContent, SDKMethodNotImplemented, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSidebar, SDKSidebarProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetFooter, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, StlSidebar, StlSidebarEntry, StlSidebarGroup, StlSidebarLink, StlSidebarProps, StlSidebarTarget, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, useDeclarationParents, usePropertyModel, useReferenceNesting, useStreamingResponse };
462
+ }
463
+ //#endregion
464
+ export { Declaration$3 as $, TypeName$8 as $t, Type as A, MethodSignatureProps$5 as At, PropertyProps$1 as B, Property$7 as Bt, DeclarationProps as C, PropertyProps$5 as Ct, Resource as D, Declaration$6 as Dt, PropertyProps as E, ruby_d_exports as Et, Declaration$1 as F, python_d_exports as Ft, DeclarationProps$2 as G, go_d_exports as Gt, TypeName$1 as H, Type$7 as Ht, DeclarationProps$1 as I, Declaration$7 as It, Property$2 as J, MethodSignature$8 as Jt, MethodSignature$2 as K, Declaration$8 as Kt, MethodSignature$1 as L, DeclarationProps$7 as Lt, TypeProps as M, PropertyProps$6 as Mt, isResourceEntirelyUnsupported as N, Type$6 as Nt, ResourceProps as O, DeclarationProps$6 as Ot, terraform_d_exports as P, TypeName$6 as Pt, php_d_exports as Q, Type$8 as Qt, MethodSignatureProps as R, MethodSignature$7 as Rt, Declaration as S, Property$5 as St, Property as T, TypeName$5 as Tt, cli_d_exports as U, TypeName$7 as Ut, Type$1 as V, PropertyProps$7 as Vt, Declaration$2 as W, TypeProps$7 as Wt, Type$2 as X, Property$8 as Xt, PropertyProps$2 as Y, MethodSignatureProps$7 as Yt, TypeName$2 as Z, PropertyProps$8 as Zt, LanguageComponentDefinition as _, http_d_exports as _t, SnippetButtons as a, Property$9 as an, Type$3 as at, kotlin as b, MethodSignature$5 as bt, SnippetContainer as c, TypeName$9 as cn, Declaration$4 as ct, SnippetProps as d, MethodSignature$4 as dt, java_d_exports as en, DeclarationProps$3 as et, SnippetRequestContainer as f, MethodSignatureProps$3 as ft, useLanguageComponents as g, TypeName$4 as gt, index_d_exports$1 as h, Type$4 as ht, Snippet as i, MethodSignatureProps$8 as in, PropertyProps$3 as it, TypeName as j, Property$6 as jt, TerraformSource as k, MethodSignature$6 as kt, SnippetContainerProps as l, typescript_d_exports as ln, DeclarationProps$4 as lt, SnippetResponse as m, PropertyProps$4 as mt, MultiSnippets as n, DeclarationProps$9 as nn, MethodSignatureProps$2 as nt, SnippetCode as o, PropertyProps$9 as on, TypeName$3 as ot, SnippetRequestContainerProps as p, Property$4 as pt, MethodSignatureProps$1 as q, DeclarationProps$8 as qt, MultiSnippetsProps as r, MethodSignature$9 as rn, Property$3 as rt, SnippetCodeProps as s, Type$9 as sn, csharp_d_exports as st, index_d_exports as t, Declaration$9 as tn, MethodSignature$3 as tt, SnippetFooter as u, MethodInfo as ut, PropertyFn as v, Declaration$5 as vt, MethodSignature as w, Type$5 as wt, node as x, MethodSignatureProps$4 as xt, index_d_exports$2 as y, DeclarationProps$5 as yt, Property$1 as z, MethodSignatureProps$6 as zt };
package/dist/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
- import { t as routing_d_exports } from "./routing.js";
2
- import { t as index_d_exports$2 } from "./languages/index.js";
3
- import { t as index_d_exports$1 } from "./contexts/index.js";
4
- import { t as index_d_exports } from "./components/index.js";
1
+ import { v as routing_d_exports } from "./routing-yTSG7nWM.js";
2
+ import { h as index_d_exports$1, t as index_d_exports, y as index_d_exports$2 } from "./index-HcWFtzlc.js";
5
3
  import { t as utils_d_exports } from "./utils.js";
6
4
  import _default from "./style.js";
7
5
  export { index_d_exports as components, index_d_exports$1 as contexts, index_d_exports$2 as languages, routing_d_exports as routing, _default as style, utils_d_exports as utils };
package/dist/index.js CHANGED
@@ -1,9 +1,8 @@
1
- import "./use-strict-context-Clb6Yjly.js";
1
+ import "./component-generics-DYxBWv1v.js";
2
2
  import { t as contexts_exports } from "./contexts/index.js";
3
3
  import style_default from "./style.js";
4
4
  import { t as routing_exports } from "./routing.js";
5
5
  import { t as utils_exports } from "./utils.js";
6
6
  import { t as components_exports } from "./components/index.js";
7
7
  import { t as languages_exports } from "./languages/index.js";
8
-
9
- export { components_exports as components, contexts_exports as contexts, languages_exports as languages, routing_exports as routing, style_default as style, utils_exports as utils };
8
+ export { components_exports as components, contexts_exports as contexts, languages_exports as languages, routing_exports as routing, style_default as style, utils_exports as utils };
@@ -1,38 +1,2 @@
1
- import { n as CLIAST, s as HttpAST } from "../index-pvh-w1xa.js";
2
- import { PropertyFn } from "./index.js";
3
- import React from "react";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
-
6
- //#region src/languages/cli.d.ts
7
- declare namespace cli_d_exports {
8
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
9
- }
10
- type TypeProps = {
11
- type: HttpAST.HttpType;
12
- };
13
- declare function TypeName(props: TypeProps): string | react_jsx_runtime0.JSX.Element;
14
- declare function Type({
15
- type
16
- }: TypeProps): react_jsx_runtime0.JSX.Element;
17
- type MethodSignatureProps = {
18
- decl: CLIAST.CLICommand;
19
- };
20
- declare function MethodSignature({
21
- decl
22
- }: MethodSignatureProps): react_jsx_runtime0.JSX.Element;
23
- type PropertyProps = {
24
- decl: CLIAST.CLIDeclaration;
25
- children: PropertyFn;
26
- };
27
- declare function Property({
28
- decl,
29
- children
30
- }: PropertyProps): React.ReactNode;
31
- type DeclarationProps = {
32
- decl: CLIAST.CLIDeclaration;
33
- };
34
- declare function Declaration({
35
- decl
36
- }: DeclarationProps): react_jsx_runtime0.JSX.Element | undefined;
37
- //#endregion
38
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, cli_d_exports as t };
1
+ import { B as PropertyProps, F as Declaration, H as TypeName, I as DeclarationProps, L as MethodSignature, R as MethodSignatureProps, V as Type, z as Property } from "../index-HcWFtzlc.js";
2
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,12 +1,11 @@
1
- import { t as __exportAll } from "../chunk-BYypO7fO.js";
2
- import "../use-strict-context-Clb6Yjly.js";
1
+ import { t as __exportAll } from "../chunk-pbuEa-1d.js";
2
+ import "../component-generics-DYxBWv1v.js";
3
3
  import { useLanguageComponents } from "../contexts/index.js";
4
4
  import { useComponents } from "../contexts/use-components.js";
5
5
  import style_default from "../style.js";
6
6
  import { Type as Type$1, TypeName as TypeName$1 } from "./http.js";
7
7
  import React from "react";
8
8
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
9
-
10
9
  //#region src/languages/cli.tsx
11
10
  var cli_exports = /* @__PURE__ */ __exportAll({
12
11
  Declaration: () => Declaration,
@@ -162,6 +161,5 @@ function Declaration({ decl }) {
162
161
  });
163
162
  }
164
163
  }
165
-
166
164
  //#endregion
167
- export { Declaration, MethodSignature, Property, Type, TypeName, cli_exports as t };
165
+ export { Declaration, MethodSignature, Property, Type, TypeName, cli_exports as t };
@@ -1,42 +1,2 @@
1
- import { r as CSharpAST } from "../index-pvh-w1xa.js";
2
- import { PropertyFn } from "./index.js";
3
- import * as React$1 from "react";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
-
6
- //#region src/languages/csharp.d.ts
7
- declare namespace csharp_d_exports {
8
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
9
- }
10
- declare function TypeName({
11
- type,
12
- optional
13
- }: TypeProps): react_jsx_runtime0.JSX.Element;
14
- type TypeProps = {
15
- type: CSharpAST.CSharpType;
16
- optional?: boolean;
17
- };
18
- declare function Type({
19
- type
20
- }: TypeProps): react_jsx_runtime0.JSX.Element;
21
- type MethodSignatureProps = {
22
- decl: CSharpAST.CSharpDeclFunction;
23
- };
24
- declare function MethodSignature({
25
- decl
26
- }: MethodSignatureProps): react_jsx_runtime0.JSX.Element;
27
- type PropertyProps = {
28
- decl: CSharpAST.CSharpDeclaration;
29
- children: PropertyFn;
30
- };
31
- declare function Property({
32
- decl,
33
- children
34
- }: PropertyProps): React$1.ReactNode;
35
- type DeclarationProps = {
36
- decl: CSharpAST.CSharpDeclaration;
37
- };
38
- declare function Declaration({
39
- decl
40
- }: DeclarationProps): react_jsx_runtime0.JSX.Element | null | undefined;
41
- //#endregion
42
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, csharp_d_exports as t };
1
+ import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-HcWFtzlc.js";
2
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,10 @@
1
- import { t as __exportAll } from "../chunk-BYypO7fO.js";
2
- import "../use-strict-context-Clb6Yjly.js";
1
+ import { t as __exportAll } from "../chunk-pbuEa-1d.js";
2
+ import "../component-generics-DYxBWv1v.js";
3
3
  import { useLanguageComponents } from "../contexts/index.js";
4
4
  import { useComponents } from "../contexts/use-components.js";
5
5
  import style_default from "../style.js";
6
6
  import * as React$1 from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
-
9
8
  //#region src/languages/csharp.tsx
10
9
  var csharp_exports = /* @__PURE__ */ __exportAll({
11
10
  Declaration: () => Declaration,
@@ -279,6 +278,5 @@ function Declaration({ decl }) {
279
278
  case "CSharpDeclReference": return /* @__PURE__ */ jsx(Lang.Type, { type: decl.type });
280
279
  }
281
280
  }
282
-
283
281
  //#endregion
284
- export { Declaration, MethodSignature, Property, Type, TypeName, csharp_exports as t };
282
+ export { Declaration, MethodSignature, Property, Type, TypeName, csharp_exports as t };
@@ -1,40 +1,2 @@
1
- import { a as GoAST } from "../index-pvh-w1xa.js";
2
- import { PropertyFn } from "./index.js";
3
- import * as React$1 from "react";
4
- import * as react_jsx_runtime0 from "react/jsx-runtime";
5
-
6
- //#region src/languages/go.d.ts
7
- declare namespace go_d_exports {
8
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
9
- }
10
- type TypeProps = {
11
- type: GoAST.GoType;
12
- };
13
- declare function TypeName({
14
- type
15
- }: TypeProps): string | react_jsx_runtime0.JSX.Element;
16
- declare function Type({
17
- type
18
- }: TypeProps): react_jsx_runtime0.JSX.Element;
19
- type MethodSignatureProps = {
20
- decl: GoAST.GoDeclFunction;
21
- };
22
- declare function MethodSignature({
23
- decl
24
- }: MethodSignatureProps): react_jsx_runtime0.JSX.Element;
25
- type PropertyProps = {
26
- decl: GoAST.GoDeclaration;
27
- children: PropertyFn;
28
- };
29
- declare function Property({
30
- decl,
31
- children
32
- }: PropertyProps): React$1.ReactNode;
33
- type DeclarationProps = {
34
- decl: GoAST.GoDeclaration;
35
- };
36
- declare function Declaration({
37
- decl
38
- }: DeclarationProps): react_jsx_runtime0.JSX.Element | undefined;
39
- //#endregion
40
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps, go_d_exports as t };
1
+ import { Bt as Property, Ht as Type, It as Declaration, Lt as DeclarationProps, Rt as MethodSignature, Ut as TypeName, Vt as PropertyProps, Wt as TypeProps, zt as MethodSignatureProps } from "../index-HcWFtzlc.js";
2
+ export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };