@stainless-api/docs-ui 0.1.0-beta.90 → 0.1.0-beta.91
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-DC2_z7nh.d.ts → breadcrumbs-BaNU4WsC.d.ts} +2 -2
- package/dist/{component-generics-q-ujwX4P.d.ts → component-generics-D9XaPlr8.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +0 -1
- package/dist/components/icons.d.ts +14 -14
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +0 -1
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +0 -1
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +0 -1
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +0 -1
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +0 -1
- package/dist/components/sdk-sidebar.d.ts +1 -1
- package/dist/components/sdk-sidebar.js +0 -1
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +0 -1
- package/dist/components/snippets.d.ts +1 -1
- package/dist/components/snippets.js +0 -1
- package/dist/components/stl-sidebar.d.ts +1 -1
- package/dist/components/stl-sidebar.js +0 -1
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +2 -1
- package/dist/contexts/component.d.ts +4 -4
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +5 -5
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +2 -1
- package/dist/{docs-DSjdvCh5.d.ts → docs-D0qzNoXq.d.ts} +2 -2
- package/dist/{index-gGDaf6FK.d.ts → index-Dt9uPKZP.d.ts} +61 -61
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/dist/languages/cli.d.ts +1 -1
- package/dist/languages/cli.js +0 -1
- package/dist/languages/csharp.d.ts +1 -1
- package/dist/languages/csharp.js +0 -1
- package/dist/languages/go.d.ts +1 -1
- package/dist/languages/go.js +0 -1
- package/dist/languages/http.d.ts +1 -1
- package/dist/languages/http.js +4 -8
- package/dist/languages/index.d.ts +1 -1
- package/dist/languages/index.js +0 -1
- package/dist/languages/java.d.ts +1 -1
- package/dist/languages/java.js +0 -1
- package/dist/languages/php.d.ts +1 -1
- package/dist/languages/php.js +0 -1
- package/dist/languages/python.d.ts +1 -1
- package/dist/languages/python.js +0 -1
- package/dist/languages/ruby.d.ts +1 -1
- package/dist/languages/ruby.js +0 -1
- package/dist/languages/terraform.d.ts +1 -1
- package/dist/languages/terraform.js +0 -1
- package/dist/languages/typescript.d.ts +1 -1
- package/dist/languages/typescript.js +0 -1
- package/dist/markdown/index.js +0 -1
- package/dist/markdown/printer.js +0 -1
- package/dist/markdown/utils.d.ts +1 -1
- package/dist/{markdown-Cwdboi_V.d.ts → markdown-B30HO-Vy.d.ts} +4 -4
- package/dist/{method-CNRMOUfn.d.ts → method-BKJnP-rW.d.ts} +6 -6
- package/dist/{navigation-C9ckAfpV.d.ts → navigation-DGl8lR6w.d.ts} +2 -2
- package/dist/{overview-CDvh184n.d.ts → overview-iH1evPEF.d.ts} +6 -6
- package/dist/{primitives-DFE_4MvV.d.ts → primitives-BHt-BuLf.d.ts} +12 -12
- package/dist/{properties-CVwrzWVa.d.ts → properties-CCbMRhSX.d.ts} +5 -5
- package/dist/{sdk-BkW3MDco.d.ts → sdk-BengV7mg.d.ts} +14 -14
- package/dist/{sdk-sidebar-BpDlOMat.d.ts → sdk-sidebar-CRqLm3YO.d.ts} +2 -2
- package/dist/{stl-sidebar-CKrR5ZGs.d.ts → stl-sidebar-Pra9uCYo.d.ts} +2 -2
- package/package.json +6 -6
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContextValue = {
|
|
@@ -17,17 +17,17 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps): react_jsx_runtime0.JSX.Element;
|
|
20
|
+
}: MarkdownProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
21
21
|
declare function SuspensefulMarkdownProviderInner({
|
|
22
22
|
value,
|
|
23
23
|
children
|
|
24
24
|
}: {
|
|
25
25
|
value: Promise<MarkdownContextValue>;
|
|
26
26
|
children: React.ReactNode;
|
|
27
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
27
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
28
28
|
declare function SuspensefulMarkdownProvider({
|
|
29
29
|
value,
|
|
30
30
|
children
|
|
31
|
-
}: React.ComponentProps<typeof SuspensefulMarkdownProviderInner>): react_jsx_runtime0.JSX.Element;
|
|
31
|
+
}: React.ComponentProps<typeof SuspensefulMarkdownProviderInner>): _$react_jsx_runtime0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { SuspensefulMarkdownProvider as a, useRenderMarkdown as c, MarkdownProviderProps as i, MarkdownContextValue as n, useHighlight as o, MarkdownProvider as r, useMarkdownContext as s, MarkdownContext as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/method.d.ts
|
|
6
6
|
type MethodHeaderProps = {
|
|
@@ -16,7 +16,7 @@ declare function MethodHeader({
|
|
|
16
16
|
signature,
|
|
17
17
|
children,
|
|
18
18
|
level
|
|
19
|
-
}: MethodHeaderProps): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
}: MethodHeaderProps): _$react_jsx_runtime0.JSX.Element;
|
|
20
20
|
type MethodRouteProps = {
|
|
21
21
|
httpMethod?: string;
|
|
22
22
|
endpoint?: string | ReactNode;
|
|
@@ -26,13 +26,13 @@ declare function MethodRoute({
|
|
|
26
26
|
httpMethod,
|
|
27
27
|
endpoint,
|
|
28
28
|
iconOnly
|
|
29
|
-
}: MethodRouteProps): react_jsx_runtime0.JSX.Element;
|
|
29
|
+
}: MethodRouteProps): _$react_jsx_runtime0.JSX.Element;
|
|
30
30
|
type MethodDescriptionProps = {
|
|
31
31
|
description?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function MethodDescription({
|
|
34
34
|
description
|
|
35
|
-
}: MethodDescriptionProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
35
|
+
}: MethodDescriptionProps): _$react_jsx_runtime0.JSX.Element | undefined;
|
|
36
36
|
type MethodInfoProps = {
|
|
37
37
|
children?: ReactNode;
|
|
38
38
|
parameters?: ReactNode;
|
|
@@ -42,7 +42,7 @@ declare function MethodInfo({
|
|
|
42
42
|
children,
|
|
43
43
|
parameters,
|
|
44
44
|
returns
|
|
45
|
-
}: MethodInfoProps): react_jsx_runtime0.JSX.Element;
|
|
45
|
+
}: MethodInfoProps): _$react_jsx_runtime0.JSX.Element;
|
|
46
46
|
type MethodProps = {
|
|
47
47
|
id?: string;
|
|
48
48
|
header?: ReactNode;
|
|
@@ -54,6 +54,6 @@ declare function Method({
|
|
|
54
54
|
children,
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: MethodProps): react_jsx_runtime0.JSX.Element;
|
|
57
|
+
}: MethodProps): _$react_jsx_runtime0.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
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,6 +1,6 @@
|
|
|
1
1
|
import { t as DocsLanguage } from "./routing-yTSG7nWM.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 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): react_jsx_runtime0.JSX.Element;
|
|
27
|
+
}: NavigationProviderProps): _$react_jsx_runtime0.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as Method, h as Resource } from "./index-DFr9Mesr.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
5
5
|
type SDKResourceProps = {
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps): react_jsx_runtime0.JSX.Element | null;
|
|
12
|
+
}: SDKResourceProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps): react_jsx_runtime0.JSX.Element;
|
|
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
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
25
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps): react_jsx_runtime0.JSX.Element;
|
|
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): react_jsx_runtime0.JSX.Element | null;
|
|
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,6 +1,6 @@
|
|
|
1
|
-
import * as react from "react";
|
|
1
|
+
import * as _$react from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as _$react_jsx_runtime0 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): react_jsx_runtime0.JSX.Element[];
|
|
15
|
+
}: JoinProps): _$react_jsx_runtime0.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,21 +28,21 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps): react_jsx_runtime0.JSX.Element;
|
|
31
|
+
}: ExpanderProps): _$react_jsx_runtime0.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'>): react_jsx_runtime0.JSX.Element;
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): _$react_jsx_runtime0.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content,
|
|
41
41
|
style: cssStyle
|
|
42
42
|
}: {
|
|
43
43
|
content: string;
|
|
44
44
|
style?: React.CSSProperties;
|
|
45
|
-
}): "" | react_jsx_runtime0.JSX.Element | undefined;
|
|
45
|
+
}): "" | _$react_jsx_runtime0.JSX.Element | undefined;
|
|
46
46
|
type BadgeProps = {
|
|
47
47
|
id: string;
|
|
48
48
|
children?: ReactNode;
|
|
@@ -50,7 +50,7 @@ type BadgeProps = {
|
|
|
50
50
|
declare function Badge({
|
|
51
51
|
id,
|
|
52
52
|
children
|
|
53
|
-
}: BadgeProps): react_jsx_runtime0.JSX.Element;
|
|
53
|
+
}: BadgeProps): _$react_jsx_runtime0.JSX.Element;
|
|
54
54
|
type TooltipProps = {
|
|
55
55
|
content: ReactNode;
|
|
56
56
|
children: ReactNode;
|
|
@@ -58,7 +58,7 @@ type TooltipProps = {
|
|
|
58
58
|
declare function Tooltip({
|
|
59
59
|
content,
|
|
60
60
|
children
|
|
61
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null | undefined;
|
|
61
|
+
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element | null | undefined;
|
|
62
62
|
type LinkProps = {
|
|
63
63
|
stainlessPath?: string;
|
|
64
64
|
scroll?: boolean;
|
|
@@ -69,7 +69,7 @@ declare function Link({
|
|
|
69
69
|
scroll,
|
|
70
70
|
children,
|
|
71
71
|
...props
|
|
72
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | react.ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime0.JSX.Element | null | undefined;
|
|
72
|
+
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | _$react.ReactPortal | _$react.ReactElement<unknown, string | _$react.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | _$react_jsx_runtime0.JSX.Element | null | undefined;
|
|
73
73
|
type InputProps = {
|
|
74
74
|
left?: ReactNode;
|
|
75
75
|
right?: ReactNode;
|
|
@@ -81,7 +81,7 @@ declare function Input({
|
|
|
81
81
|
ref,
|
|
82
82
|
className,
|
|
83
83
|
...props
|
|
84
|
-
}: InputProps): react_jsx_runtime0.JSX.Element;
|
|
84
|
+
}: InputProps): _$react_jsx_runtime0.JSX.Element;
|
|
85
85
|
type ToggleButtonProps = {
|
|
86
86
|
children?: ReactNode;
|
|
87
87
|
selected?: boolean;
|
|
@@ -91,7 +91,7 @@ declare function ToggleButton({
|
|
|
91
91
|
selected,
|
|
92
92
|
ref,
|
|
93
93
|
...props
|
|
94
|
-
}: ToggleButtonProps): react_jsx_runtime0.JSX.Element;
|
|
94
|
+
}: ToggleButtonProps): _$react_jsx_runtime0.JSX.Element;
|
|
95
95
|
type ListViewProps<TItem> = {
|
|
96
96
|
items: Array<TItem>;
|
|
97
97
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -102,6 +102,6 @@ declare function ListView<TItem>({
|
|
|
102
102
|
itemDelegate,
|
|
103
103
|
onSelectListItem,
|
|
104
104
|
...rest
|
|
105
|
-
}: ListViewProps<TItem>): react_jsx_runtime0.JSX.Element;
|
|
105
|
+
}: ListViewProps<TItem>): _$react_jsx_runtime0.JSX.Element;
|
|
106
106
|
//#endregion
|
|
107
107
|
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,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 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): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
}: PropertyToggleProps): _$react_jsx_runtime0.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
16
|
+
}: PropertyDescriptionProps): _$react_jsx_runtime0.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
22
|
+
}: PropertyTitleProps): _$react_jsx_runtime0.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): react_jsx_runtime0.JSX.Element | null;
|
|
52
|
+
}: PropertyProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
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,7 +1,7 @@
|
|
|
1
1
|
import { _ as SnippetLanguage, c as ID, d as Method, f as Model, o as HasStainlessPath, t as BaseDeclaration } from "./index-DFr9Mesr.js";
|
|
2
2
|
import { t as DocsLanguage } from "./routing-yTSG7nWM.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/sdk.d.ts
|
|
7
7
|
type PropertyModelContextType = {
|
|
@@ -35,7 +35,7 @@ declare function SDKChildren({
|
|
|
35
35
|
paths,
|
|
36
36
|
expand,
|
|
37
37
|
depth
|
|
38
|
-
}: SDKChildrenProps): react_jsx_runtime0.JSX.Element;
|
|
38
|
+
}: SDKChildrenProps): _$react_jsx_runtime0.JSX.Element;
|
|
39
39
|
type SDKDeclarationProps = {
|
|
40
40
|
path: string;
|
|
41
41
|
expand?: boolean;
|
|
@@ -45,26 +45,26 @@ declare function SDKDeclaration({
|
|
|
45
45
|
path,
|
|
46
46
|
expand,
|
|
47
47
|
depth
|
|
48
|
-
}: SDKDeclarationProps): react_jsx_runtime0.JSX.Element;
|
|
48
|
+
}: SDKDeclarationProps): _$react_jsx_runtime0.JSX.Element;
|
|
49
49
|
type SDKConstraintsProps = {
|
|
50
50
|
constraints?: Record<string, unknown>;
|
|
51
51
|
};
|
|
52
52
|
declare function SDKConstraints({
|
|
53
53
|
constraints
|
|
54
|
-
}: SDKConstraintsProps): react_jsx_runtime0.JSX.Element | undefined;
|
|
54
|
+
}: SDKConstraintsProps): _$react_jsx_runtime0.JSX.Element | undefined;
|
|
55
55
|
type SDKIconProps = {
|
|
56
56
|
language: SnippetLanguage;
|
|
57
57
|
size?: number;
|
|
58
58
|
};
|
|
59
59
|
declare function SDKIcon({
|
|
60
60
|
language
|
|
61
|
-
}: SDKIconProps): react_jsx_runtime0.JSX.Element | null;
|
|
61
|
+
}: SDKIconProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
62
62
|
type SDKRequestTitleProps = {
|
|
63
63
|
snippetLanguage: SnippetLanguage;
|
|
64
64
|
};
|
|
65
65
|
declare function SDKRequestTitle({
|
|
66
66
|
snippetLanguage
|
|
67
|
-
}: SDKRequestTitleProps): react_jsx_runtime0.JSX.Element;
|
|
67
|
+
}: SDKRequestTitleProps): _$react_jsx_runtime0.JSX.Element;
|
|
68
68
|
type SDKExampleProps = {
|
|
69
69
|
method: Partial<Method> & HasStainlessPath;
|
|
70
70
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
@@ -72,35 +72,35 @@ type SDKExampleProps = {
|
|
|
72
72
|
declare function SDKExample({
|
|
73
73
|
method,
|
|
74
74
|
transformRequestSnippet
|
|
75
|
-
}: SDKExampleProps): react_jsx_runtime0.JSX.Element;
|
|
75
|
+
}: SDKExampleProps): _$react_jsx_runtime0.JSX.Element;
|
|
76
76
|
type SDKMethodProps = {
|
|
77
77
|
method: Method;
|
|
78
78
|
transformRequestSnippet?: TransformRequestSnippetFn;
|
|
79
79
|
};
|
|
80
80
|
declare function SDKMethodHeader({
|
|
81
81
|
method
|
|
82
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
82
|
+
}: SDKMethodProps): _$react_jsx_runtime0.JSX.Element;
|
|
83
83
|
declare function useStreamingResponse(method: BaseDeclaration): ID | undefined;
|
|
84
84
|
declare function SDKMethodInfo({
|
|
85
85
|
method,
|
|
86
86
|
children
|
|
87
87
|
}: SDKMethodProps & {
|
|
88
88
|
children?: React$1.ReactNode;
|
|
89
|
-
}): react_jsx_runtime0.JSX.Element;
|
|
89
|
+
}): _$react_jsx_runtime0.JSX.Element;
|
|
90
90
|
declare function SDKMethodNotImplemented({
|
|
91
91
|
method
|
|
92
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
92
|
+
}: SDKMethodProps): _$react_jsx_runtime0.JSX.Element;
|
|
93
93
|
declare function SDKMethodInfoContent(_props: SDKMethodProps): React$1.ReactNode;
|
|
94
94
|
declare function SDKMethod({
|
|
95
95
|
method,
|
|
96
96
|
transformRequestSnippet
|
|
97
|
-
}: SDKMethodProps): react_jsx_runtime0.JSX.Element;
|
|
97
|
+
}: SDKMethodProps): _$react_jsx_runtime0.JSX.Element;
|
|
98
98
|
type SDKModelProps = {
|
|
99
99
|
model: Model;
|
|
100
100
|
};
|
|
101
101
|
declare function SDKModel({
|
|
102
102
|
model
|
|
103
|
-
}: SDKModelProps): react_jsx_runtime0.JSX.Element | null;
|
|
103
|
+
}: SDKModelProps): _$react_jsx_runtime0.JSX.Element | null;
|
|
104
104
|
type SDKReferenceProps = {
|
|
105
105
|
stainlessPath: string;
|
|
106
106
|
children?: React$1.ReactNode;
|
|
@@ -108,7 +108,7 @@ type SDKReferenceProps = {
|
|
|
108
108
|
declare function SDKReference({
|
|
109
109
|
stainlessPath,
|
|
110
110
|
children
|
|
111
|
-
}: 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> | react_jsx_runtime0.JSX.Element | null | undefined;
|
|
111
|
+
}: 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> | _$react_jsx_runtime0.JSX.Element | null | undefined;
|
|
112
112
|
type SDKLanguageBlockProps = {
|
|
113
113
|
language: DocsLanguage;
|
|
114
114
|
version: string;
|
|
@@ -123,6 +123,6 @@ declare function SDKLanguageBlock({
|
|
|
123
123
|
version,
|
|
124
124
|
install,
|
|
125
125
|
links
|
|
126
|
-
}: SDKLanguageBlockProps): react_jsx_runtime0.JSX.Element;
|
|
126
|
+
}: SDKLanguageBlockProps): _$react_jsx_runtime0.JSX.Element;
|
|
127
127
|
//#endregion
|
|
128
128
|
export { useStreamingResponse as A, SDKRequestTitleProps as C, useDeclarationParents as D, TransformRequestSnippetFn as E, usePropertyModel as O, SDKRequestTitle as S, SDKSnippetLanguagesType as T, SDKMethodNotImplemented as _, ReferenceNestingContextType as a, SDKModelProps as b, SDKConstraintsProps as c, SDKIcon as d, SDKLanguageBlock as f, SDKMethodInfoContent as g, SDKMethodInfo as h, ReferenceNestingContext as i, useReferenceNesting as k, SDKDeclaration as l, SDKMethodHeader as m, PropertyModelContext as n, SDKChildren as o, SDKMethod as p, PropertyModelContextType as r, SDKConstraints as s, DeclarationParentsContextType as t, SDKExample as u, SDKMethodProps as v, SDKSnippetLanguages as w, SDKReference as x, SDKModel as y };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { h as Resource } from "./index-DFr9Mesr.js";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/sdk-sidebar.d.ts
|
|
5
5
|
type SDKSidebarProps = {
|
|
@@ -10,6 +10,6 @@ type SDKSidebarProps = {
|
|
|
10
10
|
*/
|
|
11
11
|
declare function SDKSidebar({
|
|
12
12
|
resources
|
|
13
|
-
}: SDKSidebarProps): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
}: SDKSidebarProps): _$react_jsx_runtime0.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { SDKSidebarProps as n, SDKSidebar as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as _$react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/stl-sidebar.d.ts
|
|
5
5
|
declare module 'react' {
|
|
@@ -53,6 +53,6 @@ type StlSidebarProps = {
|
|
|
53
53
|
declare function StlSidebar({
|
|
54
54
|
entries,
|
|
55
55
|
withStarlightRestoration
|
|
56
|
-
}: StlSidebarProps): react_jsx_runtime0.JSX.Element;
|
|
56
|
+
}: StlSidebarProps): _$react_jsx_runtime0.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { StlSidebarProps as a, StlSidebarLink as i, StlSidebarEntry as n, StlSidebarTarget as o, StlSidebarGroup as r, StlSidebar as t };
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stainless-api/docs-ui",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.0-beta.
|
|
4
|
+
"version": "0.1.0-beta.91",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"react-dom": ">=19.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@markdoc/markdoc": "^0.5.
|
|
17
|
+
"@markdoc/markdoc": "^0.5.7",
|
|
18
18
|
"clsx": "^2.1.1",
|
|
19
19
|
"htmlparser2": "^11.0.0",
|
|
20
20
|
"lucide-react": "^0.577.0",
|
|
21
21
|
"@stainless-api/ui-primitives": "0.1.0-beta.51"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@tsdown/css": "^0.21.
|
|
24
|
+
"@tsdown/css": "^0.21.7",
|
|
25
25
|
"@types/node": "24.12.0",
|
|
26
26
|
"@types/react": "19.2.14",
|
|
27
27
|
"@types/react-dom": "^19.2.3",
|
|
28
|
-
"dotenv": "17.
|
|
28
|
+
"dotenv": "17.4.0",
|
|
29
29
|
"react": "^19.2.4",
|
|
30
30
|
"react-dom": "^19.2.4",
|
|
31
|
-
"tsdown": "^0.21.
|
|
32
|
-
"typescript": "
|
|
31
|
+
"tsdown": "^0.21.7",
|
|
32
|
+
"typescript": "6.0.2",
|
|
33
33
|
"@stainless/eslint-config": "0.1.0-beta.1",
|
|
34
34
|
"@stainless/sdk-json": "^0.1.0-beta.9"
|
|
35
35
|
},
|