@stainless-api/docs-ui 0.1.0-beta.52 → 0.1.0-beta.54
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.
- package/dist/{breadcrumbs-CI98FNF5.d.ts → breadcrumbs-CysDvz5L.d.ts} +8 -3
- package/dist/{breadcrumbs-nSFZO5Gf.js → breadcrumbs-DgN-xdoA.js} +4 -4
- package/dist/{breadcrumbs-DEyC9k79.d.ts → breadcrumbs-Dr94uqc3.d.ts} +8 -3
- package/dist/{chunk-DRcLgZ1e.js → chunk-CAbhIZi1.js} +2 -2
- package/dist/component-CjLDkCLe.js +23 -0
- package/dist/{component-generics-aCdP-C69.d.ts → component-generics-DBrwfCEE.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/MaskedInput.js +1 -1
- package/dist/components/breadcrumbs.d.ts +2 -2
- package/dist/components/breadcrumbs.js +4 -4
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +12 -12
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +4 -4
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +5 -5
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +2 -2
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +3 -3
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +3 -3
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +5 -5
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +3 -3
- package/dist/{components-D7M-BwNI.js → components-oq97SH1A.js} +11 -10
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +20 -20
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +22 -16
- package/dist/contexts/index.js +1 -1
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/contexts/use-components.js +1 -1
- package/dist/{contexts-p3rRZDlM.js → contexts-CLpvBI91.js} +2 -2
- package/dist/{csharp-CDSxfCZE.js → csharp-E3FbT47c.js} +5 -5
- package/dist/{docs-SeQmavpx.d.ts → docs-AUJrRqst.d.ts} +2 -2
- package/dist/{docs-CmJkvs5K.d.ts → docs-CTY2OmmX.d.ts} +3 -3
- package/dist/{go-1c3S5ETL.js → go-DNSFGJle.js} +5 -5
- package/dist/{http-2QNWXH9t.js → http-DXRdcllM.js} +6 -6
- package/dist/{index-CzDV0BnQ.d.ts → index-B5r4ELg6.d.ts} +53 -53
- package/dist/{index-CErkkMkL.d.ts → index-BouuY88M.d.ts} +53 -53
- package/dist/{index-BzTFhFWf.d.ts → index-Cr9OL_Cp.d.ts} +9 -9
- package/dist/{index-ReQTPmXD.d.ts → index-I43iZfIE.d.ts} +9 -9
- package/dist/index.d.ts +18 -18
- package/dist/index.js +22 -22
- package/dist/{java-BbjF_oUI.js → java-X1yS0K52.js} +5 -5
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +3 -3
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +3 -3
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +12 -12
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +19 -19
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +3 -3
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +3 -3
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +3 -3
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +3 -3
- package/dist/languages-Ir9QQoCT.js +26 -0
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +23 -23
- package/dist/markdown/md.js +39 -1
- package/dist/markdown/printer.d.ts +13 -2
- package/dist/markdown/printer.js +91 -23
- package/dist/markdown/utils.d.ts +20 -2
- package/dist/markdown/utils.js +29 -1
- package/dist/{markdown-BGCM0OeE.d.ts → markdown-D5IxykeS.d.ts} +2 -2
- package/dist/{markdown-CiFjFgOF.d.ts → markdown-V_bNKjle.d.ts} +2 -2
- package/dist/{method-B6eAtYl2.d.ts → method-BDSi2Xo0.d.ts} +7 -7
- package/dist/{method-CE08mUME.js → method-nEcioXL5.js} +3 -3
- package/dist/{method-BLlsdXBF.d.ts → method-yQoZRX6j.d.ts} +7 -7
- package/dist/{navigation-BLGsIR9F.d.ts → navigation-Cy3fvjdT.d.ts} +3 -3
- package/dist/{navigation-yYOrOKD9.d.ts → navigation-DbIx-eWp.d.ts} +3 -3
- package/dist/{overview-S2hUqPXA.js → overview-BQk6WvtS.js} +7 -7
- package/dist/{overview-FMVqthvd.d.ts → overview-Bq6DqXr2.d.ts} +6 -6
- package/dist/{overview-CTlpyjbv.d.ts → overview-YYFEHa8T.d.ts} +6 -6
- package/dist/{primitives-BIWfwN5L.js → primitives-1WQd5NT-.js} +3 -3
- package/dist/{primitives-Epom-ge3.d.ts → primitives-BgkRZCRD.d.ts} +9 -9
- package/dist/{primitives-Yt5_6f07.d.ts → primitives-CXBFkjk0.d.ts} +9 -9
- package/dist/{properties-jlGW3USi.js → properties-BTdEzx5f.js} +2 -2
- package/dist/{properties-e7mCw5QL.d.ts → properties-BrJy8EG2.d.ts} +5 -5
- package/dist/{python-CHG2jGvC.js → python-DqdvqQ9I.js} +5 -5
- package/dist/{routing-Wbb7YECB.js → routing-Dl0FprK1.js} +2 -2
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{ruby-CSvGbSLe.js → ruby-CHeld1ey.js} +5 -5
- package/dist/{sdk-C_2E2iNT.d.ts → sdk-BQEqCwI6.d.ts} +14 -14
- package/dist/{sdk-P5DGFIUC.d.ts → sdk-CpRaFmFQ.d.ts} +2 -2
- package/dist/{sdk-CSCbbn3O.js → sdk-DEoUlY8I.js} +4 -4
- package/dist/{sidebar-CbCLUteD.d.ts → sidebar-CgBa9Ckc.d.ts} +5 -5
- package/dist/{sidebar-rOXMRjUW.d.ts → sidebar-DImBt9YH.d.ts} +5 -5
- package/dist/{sidebar-CWyvCrJ0.js → sidebar-D_cK7JN_.js} +4 -4
- package/dist/{snippets-BQLXEIf6.js → snippets-BiXJx1BL.js} +2 -2
- package/dist/{snippets-BK_yl-X-.d.ts → snippets-Cemr-6OZ.d.ts} +8 -8
- package/dist/{snippets-C8xhXoaB.d.ts → snippets-DCiTB0N4.d.ts} +8 -8
- package/dist/spec.d.ts +1 -1
- package/dist/spec.js +2 -2
- package/dist/{style-gnVEeXFj.js → style-cJZFOvnF.js} +3 -0
- package/dist/style.d.ts +170 -1
- package/dist/style.js +1 -1
- package/dist/styles/primitives.css +11 -6
- package/dist/styles/search.css +51 -32
- package/dist/styles.css +124 -38
- package/dist/{typescript-DXG9psK3.js → typescript-C--P_L-R.js} +5 -5
- package/dist/use-components-DBx5LZk0.js +7 -0
- package/dist/{utils-D_1AWSRX.js → utils-C12Fme2N.js} +3 -3
- package/dist/utils.d.ts +14 -2
- package/dist/utils.js +1 -1
- package/package.json +5 -5
- package/dist/component-CjONRbeK.js +0 -23
- package/dist/index-CebZpsfQ.d.ts +0 -13
- package/dist/index-DGag9-aC.d.ts +0 -13
- package/dist/languages-BqGqTy14.js +0 -26
- package/dist/md-oM2tUaCA.js +0 -41
- package/dist/printer-DBw4S_Jn.d.ts +0 -13
- package/dist/printer-DVZVkqAr.d.ts +0 -13
- package/dist/printer-Y_ONp3hs.js +0 -74
- package/dist/routing-Dhmv52Fd.d.ts +0 -54
- package/dist/style-D7RO5ymE.d.ts +0 -168
- package/dist/use-components-RWQbviGq.js +0 -7
- package/dist/utils-CqnL9Fc3.js +0 -31
- package/dist/utils-DBenMgxx.d.ts +0 -21
- package/dist/utils-DLRASeee.d.ts +0 -21
- package/dist/utils-d8paVwKN.d.ts +0 -14
- /package/dist/{component-generics-COP53CRn.d.ts → component-generics-XM4u-Dns.d.ts} +0 -0
- /package/dist/{properties-DQTdO9Cq.d.ts → properties-sqAOq5FR.d.ts} +0 -0
- /package/dist/{routing-CMqh1cTZ.d.ts → routing-CUnVDpU-.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as useComponents } from "./use-components-
|
|
2
|
-
import { t as style_default } from "./style-
|
|
3
|
-
import { i as PropertyToggle } from "./properties-
|
|
1
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
2
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
3
|
+
import { i as PropertyToggle } from "./properties-BTdEzx5f.js";
|
|
4
4
|
import * as React$1 from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowDownLeft, ArrowUpRight, X } from "lucide-react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
4
4
|
import { LucideIcon } from "lucide-react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/method.d.ts
|
|
@@ -14,7 +14,7 @@ type MethodIconProps = {
|
|
|
14
14
|
declare function MethodIconBadge({
|
|
15
15
|
httpMethod,
|
|
16
16
|
showName
|
|
17
|
-
}: MethodIconProps):
|
|
17
|
+
}: MethodIconProps): react_jsx_runtime24.JSX.Element | null;
|
|
18
18
|
type MethodHeaderProps = {
|
|
19
19
|
title: ReactNode;
|
|
20
20
|
level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
|
|
@@ -28,7 +28,7 @@ declare function MethodHeader({
|
|
|
28
28
|
signature,
|
|
29
29
|
children,
|
|
30
30
|
level
|
|
31
|
-
}: MethodHeaderProps):
|
|
31
|
+
}: MethodHeaderProps): react_jsx_runtime24.JSX.Element;
|
|
32
32
|
type MethodRouteProps = {
|
|
33
33
|
httpMethod?: string;
|
|
34
34
|
endpoint?: string | ReactNode;
|
|
@@ -38,13 +38,13 @@ declare function MethodRoute({
|
|
|
38
38
|
httpMethod,
|
|
39
39
|
endpoint,
|
|
40
40
|
iconOnly
|
|
41
|
-
}: MethodRouteProps):
|
|
41
|
+
}: MethodRouteProps): react_jsx_runtime24.JSX.Element;
|
|
42
42
|
type MethodDescriptionProps = {
|
|
43
43
|
description?: string;
|
|
44
44
|
};
|
|
45
45
|
declare function MethodDescription({
|
|
46
46
|
description
|
|
47
|
-
}: MethodDescriptionProps):
|
|
47
|
+
}: MethodDescriptionProps): react_jsx_runtime24.JSX.Element | undefined;
|
|
48
48
|
type MethodInfoProps = {
|
|
49
49
|
children?: ReactNode;
|
|
50
50
|
parameters?: ReactNode;
|
|
@@ -54,7 +54,7 @@ declare function MethodInfo({
|
|
|
54
54
|
children,
|
|
55
55
|
parameters,
|
|
56
56
|
returns
|
|
57
|
-
}: MethodInfoProps):
|
|
57
|
+
}: MethodInfoProps): react_jsx_runtime24.JSX.Element;
|
|
58
58
|
type MethodProps = {
|
|
59
59
|
id?: string;
|
|
60
60
|
header?: ReactNode;
|
|
@@ -66,6 +66,6 @@ declare function Method({
|
|
|
66
66
|
children,
|
|
67
67
|
className,
|
|
68
68
|
...props
|
|
69
|
-
}: MethodProps):
|
|
69
|
+
}: MethodProps): react_jsx_runtime24.JSX.Element;
|
|
70
70
|
//#endregion
|
|
71
71
|
export { MethodDescription as a, MethodHeaderProps as c, MethodInfo as d, MethodInfoProps as f, MethodRouteProps as h, Method as i, MethodIconBadge as l, MethodRoute as m, HttpMethodIcons as n, MethodDescriptionProps as o, MethodProps as p, HttpMethods as r, MethodHeader as s, HTTPMethod as t, MethodIconProps as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime88 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/navigation.d.ts
|
|
6
6
|
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
@@ -24,6 +24,6 @@ declare function NavigationProvider({
|
|
|
24
24
|
selectedPath,
|
|
25
25
|
onNavigate,
|
|
26
26
|
children
|
|
27
|
-
}: NavigationProviderProps):
|
|
27
|
+
}: NavigationProviderProps): react_jsx_runtime88.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime15 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/navigation.d.ts
|
|
6
6
|
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
@@ -24,6 +24,6 @@ declare function NavigationProvider({
|
|
|
24
24
|
selectedPath,
|
|
25
25
|
onNavigate,
|
|
26
26
|
children
|
|
27
|
-
}: NavigationProviderProps):
|
|
27
|
+
}: NavigationProviderProps): react_jsx_runtime15.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-CXqi26jB.js";
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
5
|
-
import { i as PropertyToggle } from "./properties-
|
|
6
|
-
import { f as parseStainlessPath } from "./routing-
|
|
7
|
-
import { s as Markdown } from "./primitives-
|
|
8
|
-
import { n as getResourceFromSpec, t as flatResources } from "./utils-
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
4
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
5
|
+
import { i as PropertyToggle } from "./properties-BTdEzx5f.js";
|
|
6
|
+
import { f as parseStainlessPath } from "./routing-Dl0FprK1.js";
|
|
7
|
+
import { s as Markdown } from "./primitives-1WQd5NT-.js";
|
|
8
|
+
import { n as getResourceFromSpec, t as flatResources } from "./utils-C12Fme2N.js";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { createElement } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
2
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime0.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: SDKJSON.Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime0.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: SDKJSON.Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime0.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime0.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
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,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime38 from "react/jsx-runtime";
|
|
2
2
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime38.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: SDKJSON.Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime38.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime38.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: SDKJSON.Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime38.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime38.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
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,8 +1,8 @@
|
|
|
1
1
|
import { a as useLanguage, s as useSettings } from "./docs-CXqi26jB.js";
|
|
2
2
|
import { n as useNavigation } from "./navigation-C5TN0SgC.js";
|
|
3
3
|
import { a as useRenderMarkdown } from "./markdown-CxdeWgjV.js";
|
|
4
|
-
import { t as style_default } from "./style-
|
|
5
|
-
import { o as generateRoute } from "./routing-
|
|
4
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
5
|
+
import { o as generateRoute } from "./routing-Dl0FprK1.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { Fragment, useState } from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -157,7 +157,7 @@ function Link({ stainlessPath, scroll = true, children, ...props }) {
|
|
|
157
157
|
}
|
|
158
158
|
const Input = React$1.forwardRef(function Input$1({ left, right, ...props }, ref) {
|
|
159
159
|
return /* @__PURE__ */ jsxs("div", {
|
|
160
|
-
className: style_default.Input,
|
|
160
|
+
className: clsx(style_default.Input, props.disabled && style_default.InputDisabled),
|
|
161
161
|
children: [
|
|
162
162
|
left,
|
|
163
163
|
/* @__PURE__ */ jsx("input", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime5.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime5.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime5.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime5.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime5.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,7 +56,7 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | react_jsx_runtime5.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | react_jsx_runtime5.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -92,6 +92,6 @@ declare function ListView<TItem>({
|
|
|
92
92
|
itemDelegate,
|
|
93
93
|
onSelectListItem,
|
|
94
94
|
...rest
|
|
95
|
-
}: ListViewProps<TItem>):
|
|
95
|
+
}: ListViewProps<TItem>): react_jsx_runtime5.JSX.Element;
|
|
96
96
|
//#endregion
|
|
97
97
|
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,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime43.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime43.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime43.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime43.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime43.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,7 +56,7 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | react_jsx_runtime43.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | react_jsx_runtime43.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -92,6 +92,6 @@ declare function ListView<TItem>({
|
|
|
92
92
|
itemDelegate,
|
|
93
93
|
onSelectListItem,
|
|
94
94
|
...rest
|
|
95
|
-
}: ListViewProps<TItem>):
|
|
95
|
+
}: ListViewProps<TItem>): react_jsx_runtime43.JSX.Element;
|
|
96
96
|
//#endregion
|
|
97
97
|
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,6 +1,6 @@
|
|
|
1
1
|
import { a as useLanguage, s as useSettings } from "./docs-CXqi26jB.js";
|
|
2
|
-
import { t as useComponents } from "./use-components-
|
|
3
|
-
import { t as style_default } from "./style-
|
|
2
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
3
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime53.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime53.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime53.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime53.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
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 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { t as __exportAll } from "./chunk-CAbhIZi1.js";
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
4
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|
|
8
8
|
//#region src/languages/python.tsx
|
|
9
|
-
var python_exports = /* @__PURE__ */
|
|
9
|
+
var python_exports = /* @__PURE__ */ __exportAll({
|
|
10
10
|
Declaration: () => Declaration,
|
|
11
11
|
MethodSignature: () => MethodSignature,
|
|
12
12
|
Property: () => Property,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as __exportAll } from "./chunk-CAbhIZi1.js";
|
|
2
2
|
|
|
3
3
|
//#region src/routing.ts
|
|
4
|
-
var routing_exports = /* @__PURE__ */
|
|
4
|
+
var routing_exports = /* @__PURE__ */ __exportAll({
|
|
5
5
|
LanguageNames: () => LanguageNames,
|
|
6
6
|
Languages: () => Languages,
|
|
7
7
|
SupportedLanguageSyntaxes: () => SupportedLanguageSyntaxes,
|
package/dist/routing.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-
|
|
1
|
+
import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-CUnVDpU-.js";
|
|
2
2
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
package/dist/routing.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-
|
|
1
|
+
import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-Dl0FprK1.js";
|
|
2
2
|
|
|
3
3
|
export { LanguageNames, Languages, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { t as
|
|
1
|
+
import { t as __exportAll } from "./chunk-CAbhIZi1.js";
|
|
2
2
|
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-CXqi26jB.js";
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
4
|
-
import { t as useComponents } from "./use-components-
|
|
5
|
-
import { t as style_default } from "./style-
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
5
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
9
9
|
//#region src/languages/ruby.tsx
|
|
10
|
-
var ruby_exports = /* @__PURE__ */
|
|
10
|
+
var ruby_exports = /* @__PURE__ */ __exportAll({
|
|
11
11
|
Declaration: () => Declaration,
|
|
12
12
|
MethodSignature: () => MethodSignature,
|
|
13
13
|
Property: () => Property,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime31 from "react/jsx-runtime";
|
|
4
4
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sdk.d.ts
|
|
@@ -33,7 +33,7 @@ declare function SDKChildren({
|
|
|
33
33
|
paths,
|
|
34
34
|
expand,
|
|
35
35
|
depth
|
|
36
|
-
}: SDKChildrenProps):
|
|
36
|
+
}: SDKChildrenProps): react_jsx_runtime31.JSX.Element;
|
|
37
37
|
type SDKDeclarationProps = {
|
|
38
38
|
path: string;
|
|
39
39
|
expand?: boolean;
|
|
@@ -43,26 +43,26 @@ declare function SDKDeclaration({
|
|
|
43
43
|
path,
|
|
44
44
|
expand,
|
|
45
45
|
depth
|
|
46
|
-
}: SDKDeclarationProps):
|
|
46
|
+
}: SDKDeclarationProps): react_jsx_runtime31.JSX.Element;
|
|
47
47
|
type SDKConstraintsProps = {
|
|
48
48
|
constraints?: Record<string, any>;
|
|
49
49
|
};
|
|
50
50
|
declare function SDKConstraints({
|
|
51
51
|
constraints
|
|
52
|
-
}: SDKConstraintsProps):
|
|
52
|
+
}: SDKConstraintsProps): react_jsx_runtime31.JSX.Element | undefined;
|
|
53
53
|
type SDKIconProps = {
|
|
54
54
|
language: SDKJSON.SnippetLanguage;
|
|
55
55
|
size?: number;
|
|
56
56
|
};
|
|
57
57
|
declare function SDKIcon({
|
|
58
58
|
language
|
|
59
|
-
}: SDKIconProps):
|
|
59
|
+
}: SDKIconProps): react_jsx_runtime31.JSX.Element | null;
|
|
60
60
|
type SDKRequestTitleProps = {
|
|
61
61
|
snippetLanguage: SDKJSON.SnippetLanguage;
|
|
62
62
|
};
|
|
63
63
|
declare function SDKRequestTitle({
|
|
64
64
|
snippetLanguage
|
|
65
|
-
}: SDKRequestTitleProps):
|
|
65
|
+
}: SDKRequestTitleProps): react_jsx_runtime31.JSX.Element;
|
|
66
66
|
type SDKExampleProps = {
|
|
67
67
|
method: SDKJSON.Method;
|
|
68
68
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -70,27 +70,27 @@ type SDKExampleProps = {
|
|
|
70
70
|
declare function SDKExample({
|
|
71
71
|
method,
|
|
72
72
|
transformRequestSnippet
|
|
73
|
-
}: SDKExampleProps):
|
|
73
|
+
}: SDKExampleProps): react_jsx_runtime31.JSX.Element;
|
|
74
74
|
type SDKMethodProps = {
|
|
75
75
|
method: SDKJSON.Method;
|
|
76
76
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
77
77
|
};
|
|
78
78
|
declare function SDKMethodHeader({
|
|
79
79
|
method
|
|
80
|
-
}: SDKMethodProps):
|
|
80
|
+
}: SDKMethodProps): react_jsx_runtime31.JSX.Element;
|
|
81
81
|
declare function SDKMethodInfo({
|
|
82
82
|
method
|
|
83
|
-
}: SDKMethodProps):
|
|
83
|
+
}: SDKMethodProps): react_jsx_runtime31.JSX.Element;
|
|
84
84
|
declare function SDKMethod({
|
|
85
85
|
method,
|
|
86
86
|
transformRequestSnippet
|
|
87
|
-
}: SDKMethodProps):
|
|
87
|
+
}: SDKMethodProps): react_jsx_runtime31.JSX.Element;
|
|
88
88
|
type SDKModelProps = {
|
|
89
89
|
model: SDKJSON.Model;
|
|
90
90
|
};
|
|
91
91
|
declare function SDKModel({
|
|
92
92
|
model
|
|
93
|
-
}: SDKModelProps):
|
|
93
|
+
}: SDKModelProps): react_jsx_runtime31.JSX.Element | null;
|
|
94
94
|
type SDKReferenceProps = {
|
|
95
95
|
stainlessPath: string;
|
|
96
96
|
children?: React$1.ReactNode;
|
|
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
|
|
|
98
98
|
declare function SDKReference({
|
|
99
99
|
stainlessPath,
|
|
100
100
|
children
|
|
101
|
-
}: SDKReferenceProps): string | number | bigint | boolean |
|
|
101
|
+
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime31.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
102
102
|
type SDKLanguageBlockProps = {
|
|
103
103
|
language: DocsLanguage;
|
|
104
104
|
version: string;
|
|
@@ -113,6 +113,6 @@ declare function SDKLanguageBlock({
|
|
|
113
113
|
version,
|
|
114
114
|
install,
|
|
115
115
|
links
|
|
116
|
-
}: SDKLanguageBlockProps):
|
|
116
|
+
}: SDKLanguageBlockProps): react_jsx_runtime31.JSX.Element;
|
|
117
117
|
//#endregion
|
|
118
118
|
export { TransformRequestSnippetFn as C, SDKSnippetLanguagesType as S, useReferenceNesting as T, SDKModelProps as _, SDKChildren as a, SDKRequestTitleProps as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKModel as g, SDKMethodProps as h, ReferenceNestingContextType as i, SDKExample as l, SDKMethodInfo as m, PropertyModelContextType as n, SDKConstraints as o, SDKMethodHeader as p, ReferenceNestingContext as r, SDKConstraintsProps as s, PropertyModelContext as t, SDKIcon as u, SDKReference as v, usePropertyModel as w, SDKSnippetLanguages as x, SDKRequestTitle as y };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import * as react_jsx_runtime55 from "react/jsx-runtime";
|
|
4
4
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
|
|
|
98
98
|
declare function SDKReference({
|
|
99
99
|
stainlessPath,
|
|
100
100
|
children
|
|
101
|
-
}: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> |
|
|
101
|
+
}: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime55.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
|
|
102
102
|
type SDKLanguageBlockProps = {
|
|
103
103
|
language: DocsLanguage;
|
|
104
104
|
version: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { a as useLanguage, l as useSpec, n as useContentPanelLayout, r as useDeclaration, s as useSettings } from "./docs-CXqi26jB.js";
|
|
2
2
|
import { n as useNavigation } from "./navigation-C5TN0SgC.js";
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
4
|
-
import { t as useComponents } from "./use-components-
|
|
5
|
-
import { t as style_default } from "./style-
|
|
6
|
-
import { c as getLanguageSnippet, t as LanguageNames } from "./routing-
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-DBx5LZk0.js";
|
|
5
|
+
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
6
|
+
import { c as getLanguageSnippet, t as LanguageNames } from "./routing-Dl0FprK1.js";
|
|
7
7
|
import { a as KotlinIcon, c as RubyIcon, i as JavaIcon, l as TerraformIcon, n as CurlIcon, o as PowershellIcon, r as GoIcon, s as PythonIcon, t as CSharpIcon, u as TypescriptIcon } from "./icons-Ckod9aod.js";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|