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

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 (111) hide show
  1. package/dist/{breadcrumbs-CCViAnPI.js → breadcrumbs-3q1o8SBZ.js} +2 -2
  2. package/dist/{breadcrumbs-BFCcsaL5.d.ts → breadcrumbs-Bu4Lz7cO.d.ts} +4 -4
  3. package/dist/{component-generics-CXfH4VNh.d.ts → component-generics-CLPqY1b3.d.ts} +2 -2
  4. package/dist/{component-2IFa97aV.js → component-l0Q5m3CM.js} +2 -2
  5. package/dist/components/MaskedInput.d.ts +3 -3
  6. package/dist/components/MaskedInput.js +1 -1
  7. package/dist/components/breadcrumbs.d.ts +1 -1
  8. package/dist/components/breadcrumbs.js +2 -2
  9. package/dist/components/icons.d.ts +11 -11
  10. package/dist/components/index.d.ts +9 -9
  11. package/dist/components/index.js +9 -9
  12. package/dist/components/method.d.ts +1 -1
  13. package/dist/components/method.js +2 -2
  14. package/dist/components/overview.d.ts +1 -1
  15. package/dist/components/overview.js +3 -3
  16. package/dist/components/primitives.d.ts +1 -1
  17. package/dist/components/primitives.js +1 -1
  18. package/dist/components/properties.d.ts +1 -1
  19. package/dist/components/properties.js +1 -1
  20. package/dist/components/sdk.d.ts +1 -1
  21. package/dist/components/sdk.js +1 -1
  22. package/dist/components/sidebar.d.ts +1 -1
  23. package/dist/components/sidebar.js +1 -1
  24. package/dist/components/snippets.d.ts +2 -2
  25. package/dist/components/snippets.js +1 -1
  26. package/dist/{components-B6opXKh2.js → components-BdOXrvW2.js} +8 -8
  27. package/dist/contexts/component-generics.d.ts +1 -1
  28. package/dist/contexts/component-types.d.ts +10 -10
  29. package/dist/contexts/component.d.ts +13 -13
  30. package/dist/contexts/component.js +18 -18
  31. package/dist/contexts/docs.d.ts +1 -1
  32. package/dist/contexts/index.d.ts +14 -14
  33. package/dist/contexts/markdown.d.ts +1 -1
  34. package/dist/contexts/navigation.d.ts +1 -1
  35. package/dist/contexts/use-components.d.ts +9 -9
  36. package/dist/{csharp-Cs2V5Q49.js → csharp-ZbePFjQO.js} +7 -7
  37. package/dist/{docs-AUJrRqst.d.ts → docs-8bJ2Zq-a.d.ts} +4 -5
  38. package/dist/{go-jtKybF5f.js → go-B0LsOWv5.js} +1 -1
  39. package/dist/{http-ByTnZCdl.js → http-DhFmbdJn.js} +2 -2
  40. package/dist/{index-CBfCrZxK.d.ts → index-BON8gAFi.d.ts} +8 -8
  41. package/dist/index-BtmA2psc.d.ts +1587 -0
  42. package/dist/{index-DUvl24AZ.d.ts → index-qF_YVWCx.d.ts} +19 -19
  43. package/dist/index.d.ts +15 -15
  44. package/dist/index.js +18 -18
  45. package/dist/{java-CSfLt_jp.js → java-DnoViM8r.js} +1 -1
  46. package/dist/languages/csharp.d.ts +10 -10
  47. package/dist/languages/csharp.js +1 -1
  48. package/dist/languages/go.d.ts +10 -10
  49. package/dist/languages/go.js +1 -1
  50. package/dist/languages/http.d.ts +10 -10
  51. package/dist/languages/http.js +10 -10
  52. package/dist/languages/index.d.ts +10 -10
  53. package/dist/languages/index.js +17 -17
  54. package/dist/languages/java.d.ts +10 -10
  55. package/dist/languages/java.js +1 -1
  56. package/dist/languages/python.d.ts +10 -10
  57. package/dist/languages/python.js +1 -1
  58. package/dist/languages/ruby.d.ts +10 -10
  59. package/dist/languages/ruby.js +1 -1
  60. package/dist/languages/typescript.d.ts +10 -10
  61. package/dist/languages/typescript.js +1 -1
  62. package/dist/{languages-X8bJZjuW.js → languages-DkMjjyDN.js} +7 -7
  63. package/dist/markdown/index.d.ts +5 -5
  64. package/dist/markdown/index.js +18 -18
  65. package/dist/markdown/md.js +2 -2
  66. package/dist/markdown/printer.d.ts +6 -6
  67. package/dist/markdown/printer.js +33 -32
  68. package/dist/markdown/utils.d.ts +5 -5
  69. package/dist/{markdown-CqEZJJrZ.d.ts → markdown-DTp4ociY.d.ts} +2 -2
  70. package/dist/{method-CD_dwBsB.d.ts → method-ClPGsX68.d.ts} +6 -6
  71. package/dist/{method-BPsNdtwS.js → method-pJ_RhZj-.js} +2 -2
  72. package/dist/{navigation-BlOvTCTX.d.ts → navigation-DzgC_T1S.d.ts} +3 -3
  73. package/dist/{overview-CVTaIlP6.d.ts → overview-CdbaBavs.d.ts} +11 -11
  74. package/dist/{overview-BslKVsRE.js → overview-DYiiAHTd.js} +6 -6
  75. package/dist/{primitives-Da9sUCQo.d.ts → primitives-Cw5uBUQk.d.ts} +11 -11
  76. package/dist/{primitives-CCj2Pn-o.js → primitives-DHsRAENq.js} +1 -1
  77. package/dist/{properties-CEjSSMRr.d.ts → properties-Bn_hArWT.d.ts} +5 -5
  78. package/dist/{properties-DhttBLpf.js → properties-WqNSu-9K.js} +1 -1
  79. package/dist/{python-BU7eaJMy.js → python-Bj1XJ1je.js} +1 -1
  80. package/dist/{routing-CUnVDpU-.d.ts → routing-BHkWbZpp.d.ts} +5 -5
  81. package/dist/routing.d.ts +1 -1
  82. package/dist/{ruby-LiJ6VW-R.js → ruby-CUOmUwz-.js} +1 -1
  83. package/dist/{sdk-CL6r5JlK.d.ts → sdk-BiLj2q7E.d.ts} +22 -22
  84. package/dist/{sdk-CbNqFzOI.js → sdk-DoprvjCy.js} +1 -1
  85. package/dist/{sidebar-ZNWRDHyv.js → sidebar-4QeeafnE.js} +2 -2
  86. package/dist/{sidebar-BDwx6h14.d.ts → sidebar-DimNfsmt.d.ts} +9 -9
  87. package/dist/{snippets-CO4kIovz.js → snippets-BPHTjwpN.js} +6 -12
  88. package/dist/{snippets-DePfv2T6.d.ts → snippets-CQrk6Dfj.d.ts} +11 -11
  89. package/dist/spec.d.ts +24 -24
  90. package/dist/{style-Vk87Pfuy.js → style-WTDMMzqU.js} +0 -1
  91. package/dist/style.d.ts +0 -1
  92. package/dist/style.js +1 -1
  93. package/dist/styles/main.css +9 -1
  94. package/dist/styles.css +9 -1
  95. package/dist/{typescript-C8J1uyak.js → typescript-B4wuVmP1.js} +1 -1
  96. package/dist/utils.d.ts +6 -6
  97. package/package.json +3 -3
  98. package/dist/breadcrumbs-DTHE6aca.d.ts +0 -25
  99. package/dist/component-generics-Dbwqv7EL.d.ts +0 -30
  100. package/dist/docs-BQbH-a6R.d.ts +0 -47
  101. package/dist/index-Bk5AWxiZ.d.ts +0 -274
  102. package/dist/index-CxTvYsqI.d.ts +0 -15
  103. package/dist/markdown-V_bNKjle.d.ts +0 -22
  104. package/dist/method-CkGKALRi.d.ts +0 -59
  105. package/dist/navigation-CXQA2RZo.d.ts +0 -29
  106. package/dist/overview-DFrenwhf.d.ts +0 -39
  107. package/dist/primitives-DiDzLHoK.d.ts +0 -104
  108. package/dist/properties-CXDSYNGL.d.ts +0 -54
  109. package/dist/sdk-CenwRRXT.d.ts +0 -118
  110. package/dist/sidebar-CcX4PdH0.d.ts +0 -36
  111. package/dist/snippets-ykHHsG1B.d.ts +0 -51
@@ -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-DiDzLHoK.js";
2
- import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-BFCcsaL5.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-CkGKALRi.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-CEjSSMRr.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-CenwRRXT.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-DePfv2T6.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-CVTaIlP6.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-BDwx6h14.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,22 +0,0 @@
1
- import * as React$1 from "react";
2
- import * as react_jsx_runtime88 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_runtime88.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 };
@@ -1,29 +0,0 @@
1
- import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
- import * as React$1 from "react";
3
- import * as react_jsx_runtime89 from "react/jsx-runtime";
4
-
5
- //#region src/contexts/navigation.d.ts
6
- type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
7
- href: string;
8
- language: DocsLanguage;
9
- stainlessPath: string;
10
- scroll: boolean;
11
- }) => void;
12
- type NavigationContextType = {
13
- basePath?: string;
14
- selectedPath?: string;
15
- navigationPath?: string[];
16
- onNavigate?: NavigationHandler;
17
- };
18
- declare function useNavigation(): NavigationContextType;
19
- type NavigationProviderProps = NavigationContextType & {
20
- children: React$1.ReactNode;
21
- };
22
- declare function NavigationProvider({
23
- basePath,
24
- selectedPath,
25
- onNavigate,
26
- children
27
- }: NavigationProviderProps): react_jsx_runtime89.JSX.Element;
28
- //#endregion
29
- export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,39 +0,0 @@
1
- import * as react_jsx_runtime51 from "react/jsx-runtime";
2
- import * as SDKJSON from "@stainless/sdk-json";
3
-
4
- //#region src/components/overview.d.ts
5
- type SDKResourceProps = {
6
- resource: SDKJSON.Resource;
7
- parents?: SDKJSON.Resource[];
8
- };
9
- declare function SDKResourceHeader({
10
- resource,
11
- parents
12
- }: SDKResourceProps): react_jsx_runtime51.JSX.Element | null;
13
- type SDKMethodSummaryProps = {
14
- method: SDKJSON.Method;
15
- };
16
- declare function SDKMethodSummary({
17
- method
18
- }: SDKMethodSummaryProps): react_jsx_runtime51.JSX.Element;
19
- declare function SDKResource({
20
- resource,
21
- parents,
22
- showModels
23
- }: SDKResourceProps & {
24
- showModels?: boolean;
25
- }): react_jsx_runtime51.JSX.Element;
26
- type SDKOverviewProps = {
27
- resource: SDKJSON.Resource;
28
- };
29
- declare function SDKOverview({
30
- resource
31
- }: SDKOverviewProps): react_jsx_runtime51.JSX.Element;
32
- type SDKRootProps = {
33
- stainlessPath: string;
34
- };
35
- declare function SDKRoot({
36
- stainlessPath
37
- }: SDKRootProps): react_jsx_runtime51.JSX.Element | null;
38
- //#endregion
39
- export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
@@ -1,104 +0,0 @@
1
- import * as react0 from "react";
2
- import { ReactNode } from "react";
3
- import * as react_jsx_runtime60 from "react/jsx-runtime";
4
-
5
- //#region src/components/primitives.d.ts
6
- type JoinProps = {
7
- items: ReactNode[];
8
- limit?: number;
9
- children: ReactNode;
10
- };
11
- declare function Join({
12
- items,
13
- limit,
14
- children
15
- }: JoinProps): react_jsx_runtime60.JSX.Element[];
16
- type ExpanderProps = {
17
- id?: string;
18
- open?: boolean;
19
- summary: ReactNode;
20
- virtual?: boolean;
21
- muted?: boolean;
22
- children?: ReactNode;
23
- };
24
- declare function Expander({
25
- id,
26
- open,
27
- summary,
28
- virtual,
29
- muted,
30
- children
31
- }: ExpanderProps): react_jsx_runtime60.JSX.Element;
32
- declare function VirtualExpander({
33
- id,
34
- open: isOpen,
35
- muted,
36
- summary,
37
- children
38
- }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime60.JSX.Element;
39
- declare function Markdown({
40
- content
41
- }: {
42
- content: string;
43
- }): "" | react_jsx_runtime60.JSX.Element | undefined;
44
- type BadgeProps = {
45
- id: string;
46
- children?: ReactNode;
47
- };
48
- declare function Badge({
49
- id,
50
- children
51
- }: BadgeProps): react_jsx_runtime60.JSX.Element;
52
- type TooltipProps = {
53
- content: ReactNode;
54
- children: ReactNode;
55
- };
56
- declare function Tooltip({
57
- content,
58
- children
59
- }: TooltipProps): string | number | bigint | boolean | react_jsx_runtime60.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
60
- type LinkProps = {
61
- stainlessPath: string;
62
- scroll?: boolean;
63
- children?: ReactNode;
64
- } & React.HTMLProps<HTMLAnchorElement>;
65
- declare function Link({
66
- stainlessPath,
67
- scroll,
68
- children,
69
- ...props
70
- }: LinkProps): string | number | bigint | boolean | react_jsx_runtime60.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
71
- type InputProps = {
72
- left?: ReactNode;
73
- right?: ReactNode;
74
- ref?: React.Ref<HTMLInputElement>;
75
- } & React.InputHTMLAttributes<HTMLInputElement>;
76
- declare function Input({
77
- left,
78
- right,
79
- ref,
80
- ...props
81
- }: InputProps): react_jsx_runtime60.JSX.Element;
82
- type ToggleButtonProps = {
83
- children?: ReactNode;
84
- selected?: boolean;
85
- } & React.ComponentProps<'button'>;
86
- declare function ToggleButton({
87
- children,
88
- selected,
89
- ref,
90
- ...props
91
- }: ToggleButtonProps): react_jsx_runtime60.JSX.Element;
92
- type ListViewProps<TItem> = {
93
- items: Array<TItem>;
94
- itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
95
- onSelectListItem?: (item: TItem) => void;
96
- } & React.HTMLAttributes<HTMLDivElement>;
97
- declare function ListView<TItem>({
98
- items,
99
- itemDelegate,
100
- onSelectListItem,
101
- ...rest
102
- }: ListViewProps<TItem>): react_jsx_runtime60.JSX.Element;
103
- //#endregion
104
- export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,54 +0,0 @@
1
- import { ReactNode } from "react";
2
- import * as react_jsx_runtime66 from "react/jsx-runtime";
3
-
4
- //#region src/components/properties.d.ts
5
- type PropertyToggleProps = {
6
- target: string;
7
- };
8
- declare function PropertyToggle({
9
- target
10
- }: PropertyToggleProps): react_jsx_runtime66.JSX.Element;
11
- type PropertyDescriptionProps = {
12
- description?: string;
13
- };
14
- declare function PropertyDescription({
15
- description
16
- }: PropertyDescriptionProps): react_jsx_runtime66.JSX.Element | undefined;
17
- type PropertyTitleProps = {
18
- title?: string;
19
- };
20
- declare function PropertyTitle({
21
- title
22
- }: PropertyTitleProps): react_jsx_runtime66.JSX.Element | undefined;
23
- type PropertyProps = {
24
- id?: string;
25
- name?: ReactNode;
26
- typeName?: ReactNode;
27
- badges?: ReactNode;
28
- type?: ReactNode;
29
- description?: string;
30
- title?: string;
31
- expand?: boolean;
32
- deprecated?: boolean | string;
33
- additional?: ReactNode;
34
- declaration?: ReactNode;
35
- constraints?: ReactNode;
36
- children?: ReactNode;
37
- };
38
- declare function Property({
39
- id,
40
- name,
41
- typeName,
42
- badges,
43
- type,
44
- declaration,
45
- description,
46
- title,
47
- deprecated,
48
- expand,
49
- additional,
50
- constraints,
51
- children
52
- }: PropertyProps): react_jsx_runtime66.JSX.Element;
53
- //#endregion
54
- export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };