@stainless-api/docs-ui 0.1.0-beta.57 → 0.1.0-beta.59

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 (139) hide show
  1. package/dist/{breadcrumbs-CCViAnPI.js → breadcrumbs-85Y-pybq.js} +3 -3
  2. package/dist/{breadcrumbs-BFCcsaL5.d.ts → breadcrumbs-D1pqkQVq.d.ts} +4 -4
  3. package/dist/cli-CoLvH9jq.js +157 -0
  4. package/dist/{component-2IFa97aV.js → component-CF9lLzZX.js} +3 -3
  5. package/dist/{component-generics-Dbwqv7EL.d.ts → component-generics-CIV4pVmh.d.ts} +2 -2
  6. package/dist/components/MaskedInput.d.ts +3 -3
  7. package/dist/components/MaskedInput.js +1 -1
  8. package/dist/components/breadcrumbs.d.ts +1 -1
  9. package/dist/components/breadcrumbs.js +7 -7
  10. package/dist/components/icons.d.ts +17 -12
  11. package/dist/components/icons.js +2 -2
  12. package/dist/components/index.d.ts +10 -10
  13. package/dist/components/index.js +17 -17
  14. package/dist/components/method.d.ts +1 -1
  15. package/dist/components/method.js +8 -8
  16. package/dist/components/overview.d.ts +1 -1
  17. package/dist/components/overview.js +9 -9
  18. package/dist/components/primitives.d.ts +1 -1
  19. package/dist/components/primitives.js +6 -6
  20. package/dist/components/properties.d.ts +1 -1
  21. package/dist/components/properties.js +7 -7
  22. package/dist/components/sdk.d.ts +1 -1
  23. package/dist/components/sdk.js +8 -8
  24. package/dist/components/sidebar.d.ts +1 -1
  25. package/dist/components/sidebar.js +7 -7
  26. package/dist/components/snippets.d.ts +3 -3
  27. package/dist/components/snippets.js +8 -8
  28. package/dist/{components-B6opXKh2.js → components-Bz5h0Y4x.js} +10 -9
  29. package/dist/contexts/component-generics.d.ts +1 -1
  30. package/dist/contexts/component-generics.js +1 -1
  31. package/dist/contexts/component-types.d.ts +10 -10
  32. package/dist/contexts/component.d.ts +13 -13
  33. package/dist/contexts/component.js +26 -25
  34. package/dist/contexts/docs.d.ts +2 -2
  35. package/dist/contexts/docs.js +1 -1
  36. package/dist/contexts/index.d.ts +16 -16
  37. package/dist/contexts/index.js +5 -5
  38. package/dist/contexts/markdown.d.ts +1 -1
  39. package/dist/contexts/markdown.js +2 -2
  40. package/dist/contexts/navigation.d.ts +1 -1
  41. package/dist/contexts/navigation.js +1 -1
  42. package/dist/contexts/use-components.d.ts +9 -9
  43. package/dist/contexts/use-components.js +2 -2
  44. package/dist/{contexts-CLpvBI91.js → contexts-DZfPd182.js} +5 -5
  45. package/dist/{csharp-Cs2V5Q49.js → csharp-BbNnLZWW.js} +10 -10
  46. package/dist/{docs-BQbH-a6R.d.ts → docs-BVs5MLfL.d.ts} +6 -7
  47. package/dist/{go-jtKybF5f.js → go-OFa_5xje.js} +4 -4
  48. package/dist/{http-ByTnZCdl.js → http-olFAYLFq.js} +8 -7
  49. package/dist/{icons-Ckod9aod.js → icons-DMkAA03z.js} +17 -1
  50. package/dist/index-BHy63Zur.d.ts +302 -0
  51. package/dist/index-Ct7H30x1.d.ts +1691 -0
  52. package/dist/{index-CxTvYsqI.d.ts → index-JJET_1EX.d.ts} +9 -9
  53. package/dist/index.d.ts +15 -15
  54. package/dist/index.js +28 -27
  55. package/dist/{java-CSfLt_jp.js → java-Bw0o13Wk.js} +5 -5
  56. package/dist/languages/cli.d.ts +11 -0
  57. package/dist/languages/cli.js +20 -0
  58. package/dist/languages/csharp.d.ts +10 -10
  59. package/dist/languages/csharp.js +7 -7
  60. package/dist/languages/go.d.ts +10 -10
  61. package/dist/languages/go.js +7 -7
  62. package/dist/languages/http.d.ts +10 -10
  63. package/dist/languages/http.js +17 -17
  64. package/dist/languages/index.d.ts +11 -11
  65. package/dist/languages/index.js +26 -25
  66. package/dist/languages/java.d.ts +10 -10
  67. package/dist/languages/java.js +7 -7
  68. package/dist/languages/python.d.ts +10 -10
  69. package/dist/languages/python.js +7 -7
  70. package/dist/languages/ruby.d.ts +10 -10
  71. package/dist/languages/ruby.js +7 -7
  72. package/dist/languages/typescript.d.ts +10 -10
  73. package/dist/languages/typescript.js +7 -7
  74. package/dist/languages-DW_T-Th6.js +28 -0
  75. package/dist/markdown/index.d.ts +5 -5
  76. package/dist/markdown/index.js +26 -25
  77. package/dist/markdown/md.js +2 -2
  78. package/dist/markdown/printer.d.ts +6 -6
  79. package/dist/markdown/printer.js +42 -40
  80. package/dist/markdown/utils.d.ts +5 -5
  81. package/dist/{markdown-V_bNKjle.d.ts → markdown-BXDwR9bo.d.ts} +2 -2
  82. package/dist/{markdown-CxdeWgjV.js → markdown-ZzVcn4kq.js} +3 -2
  83. package/dist/{method-CD_dwBsB.d.ts → method-B-AEMp1G.d.ts} +6 -6
  84. package/dist/{method-BPsNdtwS.js → method-Dktsfckf.js} +3 -3
  85. package/dist/{navigation-BlOvTCTX.d.ts → navigation-CEMwVe3s.d.ts} +3 -3
  86. package/dist/{overview-CVTaIlP6.d.ts → overview-BzJqrxc6.d.ts} +11 -11
  87. package/dist/{overview-BslKVsRE.js → overview-EkRigi6e.js} +11 -11
  88. package/dist/{primitives-CCj2Pn-o.js → primitives-BVaiiY63.js} +7 -7
  89. package/dist/{primitives-Da9sUCQo.d.ts → primitives-CDxnkX_O.d.ts} +12 -11
  90. package/dist/{properties-DhttBLpf.js → properties-BHvUHbcf.js} +3 -3
  91. package/dist/{properties-CEjSSMRr.d.ts → properties-fAurDGW2.d.ts} +5 -5
  92. package/dist/{python-BU7eaJMy.js → python-D8NWX7Cb.js} +4 -4
  93. package/dist/{routing-CUnVDpU-.d.ts → routing-BifRCZt4.d.ts} +7 -7
  94. package/dist/{routing-Dl0FprK1.js → routing-Fzn1XfX_.js} +7 -4
  95. package/dist/routing.d.ts +1 -1
  96. package/dist/routing.js +1 -1
  97. package/dist/{ruby-LiJ6VW-R.js → ruby-DOUaLhKJ.js} +5 -5
  98. package/dist/{sdk-CbNqFzOI.js → sdk-DrK2bq-v.js} +11 -9
  99. package/dist/{sdk-CenwRRXT.d.ts → sdk-DwyhWkhn.d.ts} +22 -22
  100. package/dist/{sidebar-ZNWRDHyv.js → sidebar-BLGIKgRI.js} +5 -5
  101. package/dist/{sidebar-CcX4PdH0.d.ts → sidebar-BbCq6Ibl.d.ts} +9 -9
  102. package/dist/{snippets-CO4kIovz.js → snippets-D4VhtZIC.js} +38 -36
  103. package/dist/snippets-VclrBnJJ.d.ts +53 -0
  104. package/dist/spec.d.ts +26 -26
  105. package/dist/spec.js +2 -2
  106. package/dist/{style-Vk87Pfuy.js → style-TeAZuiHh.js} +1 -1
  107. package/dist/style.d.ts +1 -1
  108. package/dist/style.js +1 -1
  109. package/dist/styles/main.css +34 -15
  110. package/dist/styles/primitives.css +2 -1
  111. package/dist/styles/resets.css +1 -1
  112. package/dist/styles.css +37 -17
  113. package/dist/{typescript-C8J1uyak.js → typescript-DDa446mB.js} +6 -6
  114. package/dist/{use-components-DBx5LZk0.js → use-components-Dbin0y07.js} +1 -1
  115. package/dist/{utils-C12Fme2N.js → utils-BoRmEFRn.js} +2 -2
  116. package/dist/utils.d.ts +6 -6
  117. package/dist/utils.js +1 -1
  118. package/package.json +4 -4
  119. package/dist/breadcrumbs-DTHE6aca.d.ts +0 -25
  120. package/dist/component-generics-CXfH4VNh.d.ts +0 -30
  121. package/dist/docs-AUJrRqst.d.ts +0 -47
  122. package/dist/index-Bk5AWxiZ.d.ts +0 -274
  123. package/dist/index-CBfCrZxK.d.ts +0 -15
  124. package/dist/index-DUvl24AZ.d.ts +0 -274
  125. package/dist/languages-X8bJZjuW.js +0 -26
  126. package/dist/markdown-CqEZJJrZ.d.ts +0 -22
  127. package/dist/method-CkGKALRi.d.ts +0 -59
  128. package/dist/navigation-CXQA2RZo.d.ts +0 -29
  129. package/dist/overview-DFrenwhf.d.ts +0 -39
  130. package/dist/primitives-DiDzLHoK.d.ts +0 -104
  131. package/dist/properties-CXDSYNGL.d.ts +0 -54
  132. package/dist/sdk-CL6r5JlK.d.ts +0 -118
  133. package/dist/sidebar-BDwx6h14.d.ts +0 -36
  134. package/dist/snippets-DePfv2T6.d.ts +0 -51
  135. package/dist/snippets-ykHHsG1B.d.ts +0 -51
  136. /package/dist/{chunk-CAbhIZi1.js → chunk-Du3t87LU.js} +0 -0
  137. /package/dist/{component-generics-B6Fn47Mz.js → component-generics-CmIGbBLq.js} +0 -0
  138. /package/dist/{docs-CXqi26jB.js → docs-Bw-eLYjA.js} +0 -0
  139. /package/dist/{navigation-C5TN0SgC.js → navigation-By1sQl6M.js} +0 -0
@@ -1,274 +0,0 @@
1
- import { i as PropertyProps$7 } from "./properties-CEjSSMRr.js";
2
- import * as React$1 from "react";
3
- import React, { ReactNode } from "react";
4
- import * as react_jsx_runtime24 from "react/jsx-runtime";
5
- import { CSharpAST, DeclarationNode, GoAST, HttpAST, JavaAST, PythonAST, RubyAST, TSAST, Type } from "@stainless/sdk-json";
6
-
7
- //#region src/languages/typescript.d.ts
8
- declare namespace typescript_d_exports {
9
- export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$7 as Type, TypeName$6 as TypeName };
10
- }
11
- type TypeProps$6 = {
12
- type: TSAST.TSType;
13
- };
14
- declare function TypeName$6({
15
- type
16
- }: TypeProps$6): string | react_jsx_runtime24.JSX.Element;
17
- declare function Type$7({
18
- type
19
- }: TypeProps$6): react_jsx_runtime24.JSX.Element;
20
- type MethodSignatureProps$6 = {
21
- decl: TSAST.TSDeclFunction;
22
- };
23
- declare function MethodSignature$6({
24
- decl
25
- }: MethodSignatureProps$6): react_jsx_runtime24.JSX.Element;
26
- type PropertyProps$6 = {
27
- decl: TSAST.TSDeclaration;
28
- children: PropertyFn;
29
- };
30
- declare function Property$6({
31
- decl,
32
- children
33
- }: PropertyProps$6): React$1.ReactNode;
34
- type DeclarationProps$6 = {
35
- decl: TSAST.TSDeclaration;
36
- };
37
- declare function Declaration$6({
38
- decl
39
- }: DeclarationProps$6): react_jsx_runtime24.JSX.Element | undefined;
40
- declare namespace java_d_exports {
41
- export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$6 as Type, TypeName$5 as TypeName };
42
- }
43
- type TypeProps$5 = {
44
- type: JavaAST.JavaType;
45
- optional?: boolean;
46
- };
47
- declare function TypeName$5({
48
- type,
49
- optional
50
- }: TypeProps$5): react_jsx_runtime24.JSX.Element | "List";
51
- declare function Type$6({
52
- type,
53
- optional
54
- }: TypeProps$5): react_jsx_runtime24.JSX.Element;
55
- type MethodSignatureProps$5 = {
56
- decl: JavaAST.JavaDeclFunction;
57
- };
58
- declare function MethodSignature$5({
59
- decl
60
- }: MethodSignatureProps$5): react_jsx_runtime24.JSX.Element;
61
- type PropertyProps$5 = {
62
- decl: JavaAST.JavaDeclaration;
63
- children: PropertyFn;
64
- };
65
- declare function Property$5({
66
- decl,
67
- children
68
- }: PropertyProps$5): React$1.ReactNode;
69
- type DeclarationProps$5 = {
70
- decl: JavaAST.JavaDeclaration;
71
- };
72
- declare function Declaration$5({
73
- decl
74
- }: DeclarationProps$5): react_jsx_runtime24.JSX.Element | null | undefined;
75
- declare namespace go_d_exports {
76
- export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$5 as Type, TypeName$4 as TypeName, TypeProps$4 as TypeProps };
77
- }
78
- type TypeProps$4 = {
79
- type: GoAST.GoType;
80
- };
81
- declare function TypeName$4({
82
- type
83
- }: TypeProps$4): string | react_jsx_runtime24.JSX.Element;
84
- declare function Type$5({
85
- type
86
- }: TypeProps$4): react_jsx_runtime24.JSX.Element;
87
- type MethodSignatureProps$4 = {
88
- decl: GoAST.GoDeclFunction;
89
- };
90
- declare function MethodSignature$4({
91
- decl
92
- }: MethodSignatureProps$4): react_jsx_runtime24.JSX.Element;
93
- type PropertyProps$4 = {
94
- decl: GoAST.GoDeclaration;
95
- children: PropertyFn;
96
- };
97
- declare function Property$4({
98
- decl,
99
- children
100
- }: PropertyProps$4): React$1.ReactNode;
101
- type DeclarationProps$4 = {
102
- decl: GoAST.GoDeclaration;
103
- };
104
- declare function Declaration$4({
105
- decl
106
- }: DeclarationProps$4): react_jsx_runtime24.JSX.Element | undefined;
107
- declare namespace python_d_exports {
108
- export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$4 as Type, TypeName$3 as TypeName };
109
- }
110
- type TypeProps$3 = {
111
- type: PythonAST.PythonType;
112
- };
113
- declare function TypeName$3({
114
- type
115
- }: TypeProps$3): string | react_jsx_runtime24.JSX.Element;
116
- declare function Type$4({
117
- type
118
- }: TypeProps$3): react_jsx_runtime24.JSX.Element;
119
- type MethodSignatureProps$3 = {
120
- decl: PythonAST.PythonDeclFunction;
121
- };
122
- declare function MethodSignature$3({
123
- decl
124
- }: MethodSignatureProps$3): react_jsx_runtime24.JSX.Element;
125
- type PropertyProps$3 = {
126
- decl: PythonAST.PythonDeclaration;
127
- children: PropertyFn;
128
- };
129
- declare function Property$3({
130
- decl,
131
- children
132
- }: PropertyProps$3): React$1.ReactNode;
133
- type DeclarationProps$3 = {
134
- decl: PythonAST.PythonDeclaration;
135
- };
136
- declare function Declaration$3({
137
- decl
138
- }: DeclarationProps$3): react_jsx_runtime24.JSX.Element | undefined;
139
- declare namespace ruby_d_exports {
140
- export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$3 as Type, TypeName$2 as TypeName };
141
- }
142
- type TypeProps$2 = {
143
- type: RubyAST.RubyType;
144
- };
145
- declare function TypeName$2({
146
- type
147
- }: TypeProps$2): string | react_jsx_runtime24.JSX.Element;
148
- declare function Type$3({
149
- type
150
- }: TypeProps$2): react_jsx_runtime24.JSX.Element;
151
- type MethodSignatureProps$2 = {
152
- decl: RubyAST.RubyDeclFunction;
153
- };
154
- declare function MethodSignature$2({
155
- decl
156
- }: MethodSignatureProps$2): react_jsx_runtime24.JSX.Element;
157
- type PropertyProps$2 = {
158
- decl: RubyAST.RubyDeclaration;
159
- children: PropertyFn;
160
- };
161
- declare function Property$2({
162
- decl,
163
- children
164
- }: PropertyProps$2): React$1.ReactNode;
165
- type DeclarationProps$2 = {
166
- decl: RubyAST.RubyDeclaration;
167
- };
168
- declare function Declaration$2({
169
- decl
170
- }: DeclarationProps$2): react_jsx_runtime24.JSX.Element | undefined;
171
- declare namespace http_d_exports {
172
- export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodInfo, MethodSignature$1 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$2 as Type, TypeName$1 as TypeName };
173
- }
174
- type TypeProps$1 = {
175
- type: HttpAST.HttpType;
176
- };
177
- declare function TypeName$1({
178
- type
179
- }: TypeProps$1): string | react_jsx_runtime24.JSX.Element;
180
- declare function Type$2({
181
- type
182
- }: TypeProps$1): react_jsx_runtime24.JSX.Element | undefined;
183
- type MethodSignatureProps$1 = {
184
- decl: HttpAST.HttpDeclFunction;
185
- };
186
- declare function MethodSignature$1({
187
- decl
188
- }: MethodSignatureProps$1): null;
189
- declare function MethodInfo({
190
- decl,
191
- children
192
- }: MethodSignatureProps$1 & {
193
- children: React.ReactNode;
194
- }): react_jsx_runtime24.JSX.Element;
195
- type PropertyProps$1 = {
196
- decl: HttpAST.HttpDeclaration;
197
- children: PropertyFn;
198
- };
199
- declare function Property$1({
200
- decl,
201
- children
202
- }: PropertyProps$1): React.ReactNode;
203
- type DeclarationProps$1 = {
204
- decl: HttpAST.HttpDeclaration;
205
- };
206
- declare function Declaration$1({
207
- decl
208
- }: DeclarationProps$1): react_jsx_runtime24.JSX.Element | undefined;
209
- declare namespace csharp_d_exports {
210
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type$1 as Type, TypeName };
211
- }
212
- declare function TypeName({
213
- type,
214
- optional
215
- }: TypeProps): react_jsx_runtime24.JSX.Element;
216
- type TypeProps = {
217
- type: CSharpAST.CSharpType;
218
- optional?: boolean;
219
- };
220
- declare function Type$1({
221
- type
222
- }: TypeProps): react_jsx_runtime24.JSX.Element;
223
- type MethodSignatureProps = {
224
- decl: CSharpAST.CSharpDeclFunction;
225
- };
226
- declare function MethodSignature({
227
- decl
228
- }: MethodSignatureProps): react_jsx_runtime24.JSX.Element;
229
- type PropertyProps = {
230
- decl: CSharpAST.CSharpDeclaration;
231
- children: PropertyFn;
232
- };
233
- declare function Property({
234
- decl,
235
- children
236
- }: PropertyProps): React$1.ReactNode;
237
- type DeclarationProps = {
238
- decl: CSharpAST.CSharpDeclaration;
239
- };
240
- declare function Declaration({
241
- decl
242
- }: DeclarationProps): react_jsx_runtime24.JSX.Element | null | undefined;
243
- declare namespace index_d_exports {
244
- export { LanguageComponentDefinition, PropertyFn, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
245
- }
246
- declare const node: typeof typescript_d_exports;
247
- declare const kotlin: typeof java_d_exports;
248
- type PropertyFn = (params: PropertyProps$7) => ReactNode;
249
- interface LanguageComponentDefinition {
250
- Declaration(props: {
251
- decl: DeclarationNode;
252
- }): ReactNode;
253
- Property(props: {
254
- decl: DeclarationNode;
255
- children: PropertyFn;
256
- }): ReactNode;
257
- TypeName(props: {
258
- type: Type;
259
- optional?: boolean;
260
- }): ReactNode;
261
- Type(props: {
262
- type: Type;
263
- optional?: boolean;
264
- }): ReactNode;
265
- MethodSignature(props: {
266
- decl: DeclarationNode;
267
- }): ReactNode;
268
- MethodInfo?(props: {
269
- decl: DeclarationNode;
270
- children?: ReactNode;
271
- }): ReactNode;
272
- }
273
- //#endregion
274
- export { Declaration$5 as $, PropertyProps$2 as A, Type$4 as B, TypeName$1 as C, MethodSignature$2 as D, DeclarationProps$2 as E, DeclarationProps$3 as F, MethodSignature$4 as G, python_d_exports as H, MethodSignature$3 as I, PropertyProps$4 as J, MethodSignatureProps$4 as K, MethodSignatureProps$3 as L, TypeName$2 as M, ruby_d_exports as N, MethodSignatureProps$2 as O, Declaration$3 as P, go_d_exports as Q, Property$3 as R, Type$2 as S, Declaration$2 as T, Declaration$4 as U, TypeName$3 as V, DeclarationProps$4 as W, TypeName$4 as X, Type$5 as Y, TypeProps$4 as Z, MethodInfo as _, node as a, Type$6 as at, Property$1 as b, MethodSignature as c, Declaration$6 as ct, PropertyProps as d, MethodSignatureProps$6 as dt, DeclarationProps$5 as et, Type$1 as f, Property$6 as ft, DeclarationProps$1 as g, typescript_d_exports as gt, Declaration$1 as h, TypeName$6 as ht, kotlin as i, PropertyProps$5 as it, Type$3 as j, Property$2 as k, MethodSignatureProps as l, DeclarationProps$6 as lt, csharp_d_exports as m, Type$7 as mt, PropertyFn as n, MethodSignatureProps$5 as nt, Declaration as o, TypeName$5 as ot, TypeName as p, PropertyProps$6 as pt, Property$4 as q, index_d_exports as r, Property$5 as rt, DeclarationProps as s, java_d_exports as st, LanguageComponentDefinition as t, MethodSignature$5 as tt, Property as u, MethodSignature$6 as ut, MethodSignature$1 as v, http_d_exports as w, PropertyProps$1 as x, MethodSignatureProps$1 as y, PropertyProps$3 as z };
@@ -1,15 +0,0 @@
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-Da9sUCQo.js";
2
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-DTHE6aca.js";
3
- import { a as MethodHeaderProps, c as MethodProps, i as MethodHeader, l as MethodRoute, n as MethodDescription, o as MethodInfo, r as MethodDescriptionProps, s as MethodInfoProps, t as Method, u as MethodRouteProps } from "./method-CD_dwBsB.js";
4
- import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "./properties-CXDSYNGL.js";
5
- import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "./sdk-CL6r5JlK.js";
6
- import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "./snippets-ykHHsG1B.js";
7
- 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-DFrenwhf.js";
8
- import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "./sidebar-CcX4PdH0.js";
9
-
10
- //#region src/components/index.d.ts
11
- declare namespace index_d_exports {
12
- export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting };
13
- }
14
- //#endregion
15
- export { index_d_exports as t };
@@ -1,274 +0,0 @@
1
- import { i as PropertyProps$7 } from "./properties-CXDSYNGL.js";
2
- import * as React$1 from "react";
3
- import React, { ReactNode } from "react";
4
- import * as react_jsx_runtime86 from "react/jsx-runtime";
5
- import { CSharpAST, DeclarationNode, GoAST, HttpAST, JavaAST, PythonAST, RubyAST, TSAST, Type } from "@stainless/sdk-json";
6
-
7
- //#region src/languages/typescript.d.ts
8
- declare namespace typescript_d_exports {
9
- export { Declaration$6 as Declaration, DeclarationProps$6 as DeclarationProps, MethodSignature$6 as MethodSignature, MethodSignatureProps$6 as MethodSignatureProps, Property$6 as Property, PropertyProps$6 as PropertyProps, Type$7 as Type, TypeName$6 as TypeName };
10
- }
11
- type TypeProps$6 = {
12
- type: TSAST.TSType;
13
- };
14
- declare function TypeName$6({
15
- type
16
- }: TypeProps$6): string | react_jsx_runtime86.JSX.Element;
17
- declare function Type$7({
18
- type
19
- }: TypeProps$6): react_jsx_runtime86.JSX.Element;
20
- type MethodSignatureProps$6 = {
21
- decl: TSAST.TSDeclFunction;
22
- };
23
- declare function MethodSignature$6({
24
- decl
25
- }: MethodSignatureProps$6): react_jsx_runtime86.JSX.Element;
26
- type PropertyProps$6 = {
27
- decl: TSAST.TSDeclaration;
28
- children: PropertyFn;
29
- };
30
- declare function Property$6({
31
- decl,
32
- children
33
- }: PropertyProps$6): React$1.ReactNode;
34
- type DeclarationProps$6 = {
35
- decl: TSAST.TSDeclaration;
36
- };
37
- declare function Declaration$6({
38
- decl
39
- }: DeclarationProps$6): react_jsx_runtime86.JSX.Element | undefined;
40
- declare namespace java_d_exports {
41
- export { Declaration$5 as Declaration, DeclarationProps$5 as DeclarationProps, MethodSignature$5 as MethodSignature, MethodSignatureProps$5 as MethodSignatureProps, Property$5 as Property, PropertyProps$5 as PropertyProps, Type$6 as Type, TypeName$5 as TypeName };
42
- }
43
- type TypeProps$5 = {
44
- type: JavaAST.JavaType;
45
- optional?: boolean;
46
- };
47
- declare function TypeName$5({
48
- type,
49
- optional
50
- }: TypeProps$5): react_jsx_runtime86.JSX.Element | "List";
51
- declare function Type$6({
52
- type,
53
- optional
54
- }: TypeProps$5): react_jsx_runtime86.JSX.Element;
55
- type MethodSignatureProps$5 = {
56
- decl: JavaAST.JavaDeclFunction;
57
- };
58
- declare function MethodSignature$5({
59
- decl
60
- }: MethodSignatureProps$5): react_jsx_runtime86.JSX.Element;
61
- type PropertyProps$5 = {
62
- decl: JavaAST.JavaDeclaration;
63
- children: PropertyFn;
64
- };
65
- declare function Property$5({
66
- decl,
67
- children
68
- }: PropertyProps$5): React$1.ReactNode;
69
- type DeclarationProps$5 = {
70
- decl: JavaAST.JavaDeclaration;
71
- };
72
- declare function Declaration$5({
73
- decl
74
- }: DeclarationProps$5): react_jsx_runtime86.JSX.Element | null | undefined;
75
- declare namespace go_d_exports {
76
- export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$4 as Property, PropertyProps$4 as PropertyProps, Type$5 as Type, TypeName$4 as TypeName, TypeProps$4 as TypeProps };
77
- }
78
- type TypeProps$4 = {
79
- type: GoAST.GoType;
80
- };
81
- declare function TypeName$4({
82
- type
83
- }: TypeProps$4): string | react_jsx_runtime86.JSX.Element;
84
- declare function Type$5({
85
- type
86
- }: TypeProps$4): react_jsx_runtime86.JSX.Element;
87
- type MethodSignatureProps$4 = {
88
- decl: GoAST.GoDeclFunction;
89
- };
90
- declare function MethodSignature$4({
91
- decl
92
- }: MethodSignatureProps$4): react_jsx_runtime86.JSX.Element;
93
- type PropertyProps$4 = {
94
- decl: GoAST.GoDeclaration;
95
- children: PropertyFn;
96
- };
97
- declare function Property$4({
98
- decl,
99
- children
100
- }: PropertyProps$4): React$1.ReactNode;
101
- type DeclarationProps$4 = {
102
- decl: GoAST.GoDeclaration;
103
- };
104
- declare function Declaration$4({
105
- decl
106
- }: DeclarationProps$4): react_jsx_runtime86.JSX.Element | undefined;
107
- declare namespace python_d_exports {
108
- export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$3 as Property, PropertyProps$3 as PropertyProps, Type$4 as Type, TypeName$3 as TypeName };
109
- }
110
- type TypeProps$3 = {
111
- type: PythonAST.PythonType;
112
- };
113
- declare function TypeName$3({
114
- type
115
- }: TypeProps$3): string | react_jsx_runtime86.JSX.Element;
116
- declare function Type$4({
117
- type
118
- }: TypeProps$3): react_jsx_runtime86.JSX.Element;
119
- type MethodSignatureProps$3 = {
120
- decl: PythonAST.PythonDeclFunction;
121
- };
122
- declare function MethodSignature$3({
123
- decl
124
- }: MethodSignatureProps$3): react_jsx_runtime86.JSX.Element;
125
- type PropertyProps$3 = {
126
- decl: PythonAST.PythonDeclaration;
127
- children: PropertyFn;
128
- };
129
- declare function Property$3({
130
- decl,
131
- children
132
- }: PropertyProps$3): React$1.ReactNode;
133
- type DeclarationProps$3 = {
134
- decl: PythonAST.PythonDeclaration;
135
- };
136
- declare function Declaration$3({
137
- decl
138
- }: DeclarationProps$3): react_jsx_runtime86.JSX.Element | undefined;
139
- declare namespace ruby_d_exports {
140
- export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$2 as Property, PropertyProps$2 as PropertyProps, Type$3 as Type, TypeName$2 as TypeName };
141
- }
142
- type TypeProps$2 = {
143
- type: RubyAST.RubyType;
144
- };
145
- declare function TypeName$2({
146
- type
147
- }: TypeProps$2): string | react_jsx_runtime86.JSX.Element;
148
- declare function Type$3({
149
- type
150
- }: TypeProps$2): react_jsx_runtime86.JSX.Element;
151
- type MethodSignatureProps$2 = {
152
- decl: RubyAST.RubyDeclFunction;
153
- };
154
- declare function MethodSignature$2({
155
- decl
156
- }: MethodSignatureProps$2): react_jsx_runtime86.JSX.Element;
157
- type PropertyProps$2 = {
158
- decl: RubyAST.RubyDeclaration;
159
- children: PropertyFn;
160
- };
161
- declare function Property$2({
162
- decl,
163
- children
164
- }: PropertyProps$2): React$1.ReactNode;
165
- type DeclarationProps$2 = {
166
- decl: RubyAST.RubyDeclaration;
167
- };
168
- declare function Declaration$2({
169
- decl
170
- }: DeclarationProps$2): react_jsx_runtime86.JSX.Element | undefined;
171
- declare namespace http_d_exports {
172
- export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodInfo, MethodSignature$1 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$1 as Property, PropertyProps$1 as PropertyProps, Type$2 as Type, TypeName$1 as TypeName };
173
- }
174
- type TypeProps$1 = {
175
- type: HttpAST.HttpType;
176
- };
177
- declare function TypeName$1({
178
- type
179
- }: TypeProps$1): string | react_jsx_runtime86.JSX.Element;
180
- declare function Type$2({
181
- type
182
- }: TypeProps$1): react_jsx_runtime86.JSX.Element | undefined;
183
- type MethodSignatureProps$1 = {
184
- decl: HttpAST.HttpDeclFunction;
185
- };
186
- declare function MethodSignature$1({
187
- decl
188
- }: MethodSignatureProps$1): null;
189
- declare function MethodInfo({
190
- decl,
191
- children
192
- }: MethodSignatureProps$1 & {
193
- children: React.ReactNode;
194
- }): react_jsx_runtime86.JSX.Element;
195
- type PropertyProps$1 = {
196
- decl: HttpAST.HttpDeclaration;
197
- children: PropertyFn;
198
- };
199
- declare function Property$1({
200
- decl,
201
- children
202
- }: PropertyProps$1): React.ReactNode;
203
- type DeclarationProps$1 = {
204
- decl: HttpAST.HttpDeclaration;
205
- };
206
- declare function Declaration$1({
207
- decl
208
- }: DeclarationProps$1): react_jsx_runtime86.JSX.Element | undefined;
209
- declare namespace csharp_d_exports {
210
- export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type$1 as Type, TypeName };
211
- }
212
- declare function TypeName({
213
- type,
214
- optional
215
- }: TypeProps): react_jsx_runtime86.JSX.Element;
216
- type TypeProps = {
217
- type: CSharpAST.CSharpType;
218
- optional?: boolean;
219
- };
220
- declare function Type$1({
221
- type
222
- }: TypeProps): react_jsx_runtime86.JSX.Element;
223
- type MethodSignatureProps = {
224
- decl: CSharpAST.CSharpDeclFunction;
225
- };
226
- declare function MethodSignature({
227
- decl
228
- }: MethodSignatureProps): react_jsx_runtime86.JSX.Element;
229
- type PropertyProps = {
230
- decl: CSharpAST.CSharpDeclaration;
231
- children: PropertyFn;
232
- };
233
- declare function Property({
234
- decl,
235
- children
236
- }: PropertyProps): React$1.ReactNode;
237
- type DeclarationProps = {
238
- decl: CSharpAST.CSharpDeclaration;
239
- };
240
- declare function Declaration({
241
- decl
242
- }: DeclarationProps): react_jsx_runtime86.JSX.Element | null | undefined;
243
- declare namespace index_d_exports {
244
- export { LanguageComponentDefinition, PropertyFn, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
245
- }
246
- declare const node: typeof typescript_d_exports;
247
- declare const kotlin: typeof java_d_exports;
248
- type PropertyFn = (params: PropertyProps$7) => ReactNode;
249
- interface LanguageComponentDefinition {
250
- Declaration(props: {
251
- decl: DeclarationNode;
252
- }): ReactNode;
253
- Property(props: {
254
- decl: DeclarationNode;
255
- children: PropertyFn;
256
- }): ReactNode;
257
- TypeName(props: {
258
- type: Type;
259
- optional?: boolean;
260
- }): ReactNode;
261
- Type(props: {
262
- type: Type;
263
- optional?: boolean;
264
- }): ReactNode;
265
- MethodSignature(props: {
266
- decl: DeclarationNode;
267
- }): ReactNode;
268
- MethodInfo?(props: {
269
- decl: DeclarationNode;
270
- children?: ReactNode;
271
- }): ReactNode;
272
- }
273
- //#endregion
274
- export { Declaration$5 as $, PropertyProps$2 as A, Type$4 as B, TypeName$1 as C, MethodSignature$2 as D, DeclarationProps$2 as E, DeclarationProps$3 as F, MethodSignature$4 as G, python_d_exports as H, MethodSignature$3 as I, PropertyProps$4 as J, MethodSignatureProps$4 as K, MethodSignatureProps$3 as L, TypeName$2 as M, ruby_d_exports as N, MethodSignatureProps$2 as O, Declaration$3 as P, go_d_exports as Q, Property$3 as R, Type$2 as S, Declaration$2 as T, Declaration$4 as U, TypeName$3 as V, DeclarationProps$4 as W, TypeName$4 as X, Type$5 as Y, TypeProps$4 as Z, MethodInfo as _, node as a, Type$6 as at, Property$1 as b, MethodSignature as c, Declaration$6 as ct, PropertyProps as d, MethodSignatureProps$6 as dt, DeclarationProps$5 as et, Type$1 as f, Property$6 as ft, DeclarationProps$1 as g, typescript_d_exports as gt, Declaration$1 as h, TypeName$6 as ht, kotlin as i, PropertyProps$5 as it, Type$3 as j, Property$2 as k, MethodSignatureProps as l, DeclarationProps$6 as lt, csharp_d_exports as m, Type$7 as mt, PropertyFn as n, MethodSignatureProps$5 as nt, Declaration as o, TypeName$5 as ot, TypeName as p, PropertyProps$6 as pt, Property$4 as q, index_d_exports as r, Property$5 as rt, DeclarationProps as s, java_d_exports as st, LanguageComponentDefinition as t, MethodSignature$5 as tt, Property as u, MethodSignature$6 as ut, MethodSignature$1 as v, http_d_exports as w, PropertyProps$1 as x, MethodSignatureProps$1 as y, PropertyProps$3 as z };
@@ -1,26 +0,0 @@
1
- import { t as __exportAll } from "./chunk-CAbhIZi1.js";
2
- import { o as typescript_exports } from "./typescript-C8J1uyak.js";
3
- import { o as java_exports } from "./java-CSfLt_jp.js";
4
- import { o as go_exports } from "./go-jtKybF5f.js";
5
- import { o as python_exports } from "./python-BU7eaJMy.js";
6
- import { o as ruby_exports } from "./ruby-LiJ6VW-R.js";
7
- import { s as http_exports } from "./http-ByTnZCdl.js";
8
- import { o as csharp_exports } from "./csharp-Cs2V5Q49.js";
9
-
10
- //#region src/languages/index.ts
11
- var languages_exports = /* @__PURE__ */ __exportAll({
12
- csharp: () => csharp_exports,
13
- go: () => go_exports,
14
- http: () => http_exports,
15
- java: () => java_exports,
16
- kotlin: () => kotlin,
17
- node: () => node,
18
- python: () => python_exports,
19
- ruby: () => ruby_exports,
20
- typescript: () => typescript_exports
21
- });
22
- const node = typescript_exports;
23
- const kotlin = java_exports;
24
-
25
- //#endregion
26
- export { languages_exports as n, node as r, kotlin as t };
@@ -1,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime11 from "react/jsx-runtime";
3
-
4
- //#region src/contexts/markdown.d.ts
5
- type MarkdownContext = {
6
- highlight: (content: string, language: string) => string | Promise<string>;
7
- render: (content: string) => string | Promise<string>;
8
- };
9
- declare const MarkdownContext: React$1.Context<MarkdownContext>;
10
- declare const useMarkdownContext: () => MarkdownContext;
11
- declare function useRenderMarkdown(content?: string): string | undefined;
12
- declare function useHighlight(content: string, language?: string): string;
13
- type MarkdownProviderProps = MarkdownContext & {
14
- children: React$1.ReactNode;
15
- };
16
- declare function MarkdownProvider({
17
- render,
18
- highlight,
19
- children
20
- }: MarkdownProviderProps): react_jsx_runtime11.JSX.Element;
21
- //#endregion
22
- export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
@@ -1,59 +0,0 @@
1
- import * as React$1 from "react";
2
- import { ReactNode } from "react";
3
- import * as react_jsx_runtime50 from "react/jsx-runtime";
4
-
5
- //#region src/components/method.d.ts
6
- type MethodHeaderProps = {
7
- title: ReactNode;
8
- level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
9
- signature?: ReactNode;
10
- badges?: ReactNode;
11
- children?: ReactNode;
12
- };
13
- declare function MethodHeader({
14
- title,
15
- badges,
16
- signature,
17
- children,
18
- level
19
- }: MethodHeaderProps): react_jsx_runtime50.JSX.Element;
20
- type MethodRouteProps = {
21
- httpMethod?: string;
22
- endpoint?: string | ReactNode;
23
- iconOnly?: boolean;
24
- };
25
- declare function MethodRoute({
26
- httpMethod,
27
- endpoint,
28
- iconOnly
29
- }: MethodRouteProps): react_jsx_runtime50.JSX.Element;
30
- type MethodDescriptionProps = {
31
- description?: string;
32
- };
33
- declare function MethodDescription({
34
- description
35
- }: MethodDescriptionProps): react_jsx_runtime50.JSX.Element | undefined;
36
- type MethodInfoProps = {
37
- children?: ReactNode;
38
- parameters?: ReactNode;
39
- returns?: ReactNode;
40
- };
41
- declare function MethodInfo({
42
- children,
43
- parameters,
44
- returns
45
- }: MethodInfoProps): react_jsx_runtime50.JSX.Element;
46
- type MethodProps = {
47
- id?: string;
48
- header?: ReactNode;
49
- children?: ReactNode;
50
- } & React$1.HTMLProps<HTMLDivElement>;
51
- declare function Method({
52
- id,
53
- header,
54
- children,
55
- className,
56
- ...props
57
- }: MethodProps): react_jsx_runtime50.JSX.Element;
58
- //#endregion
59
- export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };