@stainless-api/docs-ui 0.1.0-beta.36 → 0.1.0-beta.37
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-dtzB0F5w.d.ts → breadcrumbs-DK62UVKp.d.ts} +2 -2
- package/dist/{component-generics-BDiaS39j.d.ts → component-generics-B3baz0Yn.d.ts} +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +2 -2
- package/dist/components/icons.d.ts +10 -10
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +2 -2
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +2 -2
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +2 -2
- 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 +2 -2
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +2 -2
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +2 -2
- package/dist/components/snippets.d.ts +3 -3
- package/dist/components/snippets.js +2 -2
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +2 -2
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +2 -2
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +1 -1
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +2 -2
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/{contexts-BsscycD4.js → contexts-BOmkRG2_.js} +2 -2
- package/dist/{docs-M2vPMlOU.d.ts → docs-C6nAEqOQ.d.ts} +2 -2
- package/dist/{index-yemeeTKf.d.ts → index--lKHDYwq.d.ts} +6 -6
- package/dist/{index-QAn9oMm0.d.ts → index-BQIQkWMC.d.ts} +26 -26
- package/dist/{index-rJGGwEE1.d.ts → index-DDEDqx74.d.ts} +8 -8
- package/dist/index.d.ts +18 -18
- package/dist/index.js +2 -2
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +2 -2
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +2 -2
- package/dist/languages/index.d.ts +11 -11
- package/dist/languages/index.js +2 -2
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +2 -2
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +2 -2
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +2 -2
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +2 -2
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +2 -2
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/{markdown-DqmOO2yJ.d.ts → markdown-DTVxnxGP.d.ts} +3 -3
- package/dist/{markdown-CI4kbU64.js → markdown-Diyg-eof.js} +5 -1
- package/dist/{method-CZzWOx_C.d.ts → method-BAmsRDOC.d.ts} +7 -7
- package/dist/{navigation-Cup7hBYA.d.ts → navigation-B6dZoY_Y.d.ts} +3 -3
- package/dist/{overview-DQbnFeID.d.ts → overview-DeYjHR1D.d.ts} +6 -6
- package/dist/{primitives-CLZY-K6r.d.ts → primitives-Dp0LYV7y.d.ts} +9 -9
- package/dist/{properties-BbVUdVi5.d.ts → properties-DvX5OQpO.d.ts} +4 -4
- package/dist/{routing-DNN8R6bZ.d.ts → routing-ByeZ2P3d.d.ts} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/{sdk-CrXkrSx-.d.ts → sdk-Bk_ieIL1.d.ts} +14 -14
- package/dist/search/index.d.ts +2 -2
- package/dist/search/index.js +2 -2
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +2 -2
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +2 -2
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +2 -2
- package/dist/search/types.d.ts +2 -2
- package/dist/{search-CuNBTBix.d.ts → search-C0ZUxdnx.d.ts} +3 -3
- package/dist/{sidebar-eox2y7Tm.d.ts → sidebar-1WB4316k.d.ts} +5 -5
- package/dist/{snippets-De1PSCNy.d.ts → snippets-DXl9-aaF.d.ts} +7 -7
- package/dist/spec.d.ts +1 -1
- package/dist/styles/main.css +20 -6
- package/dist/styles/primitives.css +1 -1
- package/dist/{types-DNSz4kuM.d.ts → types-BKUIuYYk.d.ts} +1 -1
- package/dist/{utils-BwsGzMOo.d.ts → utils-DH7B95xE.d.ts} +2 -2
- package/package.json +4 -4
- package/dist/styles/snippets.css +0 -131
- package/dist/styles/snippets.js +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as PropertyProps } from "./properties-
|
|
1
|
+
import { i as PropertyProps } from "./properties-DvX5OQpO.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
3
|
import React, { ReactNode } from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime65 from "react/jsx-runtime";
|
|
5
5
|
import { DeclarationNode, GoAST, HttpAST, JavaAST, PythonAST, RubyAST, TSAST, Type } from "@stainless/sdk-json";
|
|
6
6
|
|
|
7
7
|
//#region src/languages/typescript.d.ts
|
|
@@ -13,16 +13,16 @@ type TypeProps$5 = {
|
|
|
13
13
|
};
|
|
14
14
|
declare function TypeName$5({
|
|
15
15
|
type
|
|
16
|
-
}: TypeProps$5): string |
|
|
16
|
+
}: TypeProps$5): string | react_jsx_runtime65.JSX.Element;
|
|
17
17
|
declare function Type$6({
|
|
18
18
|
type
|
|
19
|
-
}: TypeProps$5):
|
|
19
|
+
}: TypeProps$5): react_jsx_runtime65.JSX.Element;
|
|
20
20
|
type MethodSignatureProps$5 = {
|
|
21
21
|
decl: TSAST.TSDeclFunction;
|
|
22
22
|
};
|
|
23
23
|
declare function MethodSignature$5({
|
|
24
24
|
decl
|
|
25
|
-
}: MethodSignatureProps$5):
|
|
25
|
+
}: MethodSignatureProps$5): react_jsx_runtime65.JSX.Element;
|
|
26
26
|
type PropertyProps$6 = {
|
|
27
27
|
decl: TSAST.TSDeclaration;
|
|
28
28
|
children: PropertyFn;
|
|
@@ -36,7 +36,7 @@ type DeclarationProps$5 = {
|
|
|
36
36
|
};
|
|
37
37
|
declare function Declaration$5({
|
|
38
38
|
decl
|
|
39
|
-
}: DeclarationProps$5):
|
|
39
|
+
}: DeclarationProps$5): react_jsx_runtime65.JSX.Element | undefined;
|
|
40
40
|
declare namespace java_d_exports {
|
|
41
41
|
export { Declaration$4 as Declaration, DeclarationProps$4 as DeclarationProps, MethodSignature$4 as MethodSignature, MethodSignatureProps$4 as MethodSignatureProps, Property$4 as Property, PropertyProps$5 as PropertyProps, Type$5 as Type, TypeName$4 as TypeName };
|
|
42
42
|
}
|
|
@@ -47,17 +47,17 @@ type TypeProps$4 = {
|
|
|
47
47
|
declare function TypeName$4({
|
|
48
48
|
type,
|
|
49
49
|
optional
|
|
50
|
-
}: TypeProps$4):
|
|
50
|
+
}: TypeProps$4): react_jsx_runtime65.JSX.Element | "List";
|
|
51
51
|
declare function Type$5({
|
|
52
52
|
type,
|
|
53
53
|
optional
|
|
54
|
-
}: TypeProps$4):
|
|
54
|
+
}: TypeProps$4): react_jsx_runtime65.JSX.Element;
|
|
55
55
|
type MethodSignatureProps$4 = {
|
|
56
56
|
decl: JavaAST.JavaDeclFunction;
|
|
57
57
|
};
|
|
58
58
|
declare function MethodSignature$4({
|
|
59
59
|
decl
|
|
60
|
-
}: MethodSignatureProps$4):
|
|
60
|
+
}: MethodSignatureProps$4): react_jsx_runtime65.JSX.Element;
|
|
61
61
|
type PropertyProps$5 = {
|
|
62
62
|
decl: JavaAST.JavaDeclaration;
|
|
63
63
|
children: PropertyFn;
|
|
@@ -71,7 +71,7 @@ type DeclarationProps$4 = {
|
|
|
71
71
|
};
|
|
72
72
|
declare function Declaration$4({
|
|
73
73
|
decl
|
|
74
|
-
}: DeclarationProps$4):
|
|
74
|
+
}: DeclarationProps$4): react_jsx_runtime65.JSX.Element | null | undefined;
|
|
75
75
|
declare namespace go_d_exports {
|
|
76
76
|
export { Declaration$3 as Declaration, DeclarationProps$3 as DeclarationProps, MethodSignature$3 as MethodSignature, MethodSignatureProps$3 as MethodSignatureProps, Property$3 as Property, PropertyProps$4 as PropertyProps, Type$4 as Type, TypeName$3 as TypeName, TypeProps$3 as TypeProps };
|
|
77
77
|
}
|
|
@@ -80,16 +80,16 @@ type TypeProps$3 = {
|
|
|
80
80
|
};
|
|
81
81
|
declare function TypeName$3({
|
|
82
82
|
type
|
|
83
|
-
}: TypeProps$3): string |
|
|
83
|
+
}: TypeProps$3): string | react_jsx_runtime65.JSX.Element;
|
|
84
84
|
declare function Type$4({
|
|
85
85
|
type
|
|
86
|
-
}: TypeProps$3):
|
|
86
|
+
}: TypeProps$3): react_jsx_runtime65.JSX.Element;
|
|
87
87
|
type MethodSignatureProps$3 = {
|
|
88
88
|
decl: GoAST.GoDeclFunction;
|
|
89
89
|
};
|
|
90
90
|
declare function MethodSignature$3({
|
|
91
91
|
decl
|
|
92
|
-
}: MethodSignatureProps$3):
|
|
92
|
+
}: MethodSignatureProps$3): react_jsx_runtime65.JSX.Element;
|
|
93
93
|
type PropertyProps$4 = {
|
|
94
94
|
decl: GoAST.GoDeclaration;
|
|
95
95
|
children: PropertyFn;
|
|
@@ -103,7 +103,7 @@ type DeclarationProps$3 = {
|
|
|
103
103
|
};
|
|
104
104
|
declare function Declaration$3({
|
|
105
105
|
decl
|
|
106
|
-
}: DeclarationProps$3):
|
|
106
|
+
}: DeclarationProps$3): react_jsx_runtime65.JSX.Element | undefined;
|
|
107
107
|
declare namespace python_d_exports {
|
|
108
108
|
export { Declaration$2 as Declaration, DeclarationProps$2 as DeclarationProps, MethodSignature$2 as MethodSignature, MethodSignatureProps$2 as MethodSignatureProps, Property$2 as Property, PropertyProps$3 as PropertyProps, Type$3 as Type, TypeName$2 as TypeName };
|
|
109
109
|
}
|
|
@@ -112,16 +112,16 @@ type TypeProps$2 = {
|
|
|
112
112
|
};
|
|
113
113
|
declare function TypeName$2({
|
|
114
114
|
type
|
|
115
|
-
}: TypeProps$2): string |
|
|
115
|
+
}: TypeProps$2): string | react_jsx_runtime65.JSX.Element;
|
|
116
116
|
declare function Type$3({
|
|
117
117
|
type
|
|
118
|
-
}: TypeProps$2):
|
|
118
|
+
}: TypeProps$2): react_jsx_runtime65.JSX.Element;
|
|
119
119
|
type MethodSignatureProps$2 = {
|
|
120
120
|
decl: PythonAST.PythonDeclFunction;
|
|
121
121
|
};
|
|
122
122
|
declare function MethodSignature$2({
|
|
123
123
|
decl
|
|
124
|
-
}: MethodSignatureProps$2):
|
|
124
|
+
}: MethodSignatureProps$2): react_jsx_runtime65.JSX.Element;
|
|
125
125
|
type PropertyProps$3 = {
|
|
126
126
|
decl: PythonAST.PythonDeclaration;
|
|
127
127
|
children: PropertyFn;
|
|
@@ -135,7 +135,7 @@ type DeclarationProps$2 = {
|
|
|
135
135
|
};
|
|
136
136
|
declare function Declaration$2({
|
|
137
137
|
decl
|
|
138
|
-
}: DeclarationProps$2):
|
|
138
|
+
}: DeclarationProps$2): react_jsx_runtime65.JSX.Element | undefined;
|
|
139
139
|
declare namespace ruby_d_exports {
|
|
140
140
|
export { Declaration$1 as Declaration, DeclarationProps$1 as DeclarationProps, MethodSignature$1 as MethodSignature, MethodSignatureProps$1 as MethodSignatureProps, Property$1 as Property, PropertyProps$2 as PropertyProps, Type$2 as Type, TypeName$1 as TypeName };
|
|
141
141
|
}
|
|
@@ -144,16 +144,16 @@ type TypeProps$1 = {
|
|
|
144
144
|
};
|
|
145
145
|
declare function TypeName$1({
|
|
146
146
|
type
|
|
147
|
-
}: TypeProps$1): string |
|
|
147
|
+
}: TypeProps$1): string | react_jsx_runtime65.JSX.Element;
|
|
148
148
|
declare function Type$2({
|
|
149
149
|
type
|
|
150
|
-
}: TypeProps$1):
|
|
150
|
+
}: TypeProps$1): react_jsx_runtime65.JSX.Element;
|
|
151
151
|
type MethodSignatureProps$1 = {
|
|
152
152
|
decl: RubyAST.RubyDeclFunction;
|
|
153
153
|
};
|
|
154
154
|
declare function MethodSignature$1({
|
|
155
155
|
decl
|
|
156
|
-
}: MethodSignatureProps$1):
|
|
156
|
+
}: MethodSignatureProps$1): react_jsx_runtime65.JSX.Element;
|
|
157
157
|
type PropertyProps$2 = {
|
|
158
158
|
decl: RubyAST.RubyDeclaration;
|
|
159
159
|
children: PropertyFn;
|
|
@@ -167,7 +167,7 @@ type DeclarationProps$1 = {
|
|
|
167
167
|
};
|
|
168
168
|
declare function Declaration$1({
|
|
169
169
|
decl
|
|
170
|
-
}: DeclarationProps$1):
|
|
170
|
+
}: DeclarationProps$1): react_jsx_runtime65.JSX.Element | undefined;
|
|
171
171
|
declare namespace http_d_exports {
|
|
172
172
|
export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps$1 as PropertyProps, Type$1 as Type, TypeName };
|
|
173
173
|
}
|
|
@@ -176,10 +176,10 @@ type TypeProps = {
|
|
|
176
176
|
};
|
|
177
177
|
declare function TypeName({
|
|
178
178
|
type
|
|
179
|
-
}: TypeProps): string |
|
|
179
|
+
}: TypeProps): string | react_jsx_runtime65.JSX.Element;
|
|
180
180
|
declare function Type$1({
|
|
181
181
|
type
|
|
182
|
-
}: TypeProps):
|
|
182
|
+
}: TypeProps): react_jsx_runtime65.JSX.Element | undefined;
|
|
183
183
|
type MethodSignatureProps = {
|
|
184
184
|
decl: HttpAST.HttpDeclFunction;
|
|
185
185
|
};
|
|
@@ -191,7 +191,7 @@ declare function MethodInfo({
|
|
|
191
191
|
children
|
|
192
192
|
}: MethodSignatureProps & {
|
|
193
193
|
children: React.ReactNode;
|
|
194
|
-
}):
|
|
194
|
+
}): react_jsx_runtime65.JSX.Element;
|
|
195
195
|
type PropertyProps$1 = {
|
|
196
196
|
decl: HttpAST.HttpDeclaration;
|
|
197
197
|
children: PropertyFn;
|
|
@@ -205,7 +205,7 @@ type DeclarationProps = {
|
|
|
205
205
|
};
|
|
206
206
|
declare function Declaration({
|
|
207
207
|
decl
|
|
208
|
-
}: DeclarationProps):
|
|
208
|
+
}: DeclarationProps): react_jsx_runtime65.JSX.Element | undefined;
|
|
209
209
|
declare namespace index_d_exports {
|
|
210
210
|
export { LanguageComponentDefinition, PropertyFn, 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 };
|
|
211
211
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { t as SDKBreadcrumbs } from "./breadcrumbs-
|
|
2
|
-
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "./method-
|
|
3
|
-
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-
|
|
4
|
-
import { a as PropertyToggle, i as PropertyProps, n as PropertyDescription, o as PropertyToggleProps, r as PropertyDescriptionProps, t as Property } from "./properties-
|
|
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-
|
|
6
|
-
import { a as SnippetContainerProps, c as SnippetRequestContainerProps, i as SnippetContainer, l as SnippetResponse, n as SnippetCode, o as SnippetProps, r as SnippetCodeProps, s as SnippetRequestContainer, t as Snippet } from "./snippets-
|
|
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-
|
|
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-
|
|
1
|
+
import { t as SDKBreadcrumbs } from "./breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "./method-BAmsRDOC.js";
|
|
3
|
+
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-Dp0LYV7y.js";
|
|
4
|
+
import { a as PropertyToggle, i as PropertyProps, n as PropertyDescription, o as PropertyToggleProps, r as PropertyDescriptionProps, t as Property } from "./properties-DvX5OQpO.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-Bk_ieIL1.js";
|
|
6
|
+
import { a as SnippetContainerProps, c as SnippetRequestContainerProps, i as SnippetContainer, l as SnippetResponse, n as SnippetCode, o as SnippetProps, r as SnippetCodeProps, s as SnippetRequestContainer, t as Snippet } from "./snippets-DXl9-aaF.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-DeYjHR1D.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-1WB4316k.js";
|
|
9
9
|
|
|
10
10
|
//#region src/components/index.d.ts
|
|
11
11
|
declare namespace index_d_exports {
|
package/dist/index.d.ts
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import "./breadcrumbs-
|
|
2
|
-
import "./method-
|
|
3
|
-
import "./primitives-
|
|
4
|
-
import "./properties-
|
|
5
|
-
import { _ as routing_d_exports } from "./routing-
|
|
6
|
-
import "./sdk-
|
|
7
|
-
import "./snippets-
|
|
8
|
-
import "./overview-
|
|
9
|
-
import "./sidebar-
|
|
10
|
-
import { t as index_d_exports } from "./index-
|
|
11
|
-
import "./component-generics-
|
|
12
|
-
import { r as index_d_exports$2 } from "./index-
|
|
13
|
-
import "./docs-
|
|
14
|
-
import "./navigation-
|
|
15
|
-
import "./markdown-
|
|
16
|
-
import "./types-
|
|
17
|
-
import "./search-
|
|
18
|
-
import { t as index_d_exports$1 } from "./index
|
|
1
|
+
import "./breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "./method-BAmsRDOC.js";
|
|
3
|
+
import "./primitives-Dp0LYV7y.js";
|
|
4
|
+
import "./properties-DvX5OQpO.js";
|
|
5
|
+
import { _ as routing_d_exports } from "./routing-ByeZ2P3d.js";
|
|
6
|
+
import "./sdk-Bk_ieIL1.js";
|
|
7
|
+
import "./snippets-DXl9-aaF.js";
|
|
8
|
+
import "./overview-DeYjHR1D.js";
|
|
9
|
+
import "./sidebar-1WB4316k.js";
|
|
10
|
+
import { t as index_d_exports } from "./index-DDEDqx74.js";
|
|
11
|
+
import "./component-generics-B3baz0Yn.js";
|
|
12
|
+
import { r as index_d_exports$2 } from "./index-BQIQkWMC.js";
|
|
13
|
+
import "./docs-C6nAEqOQ.js";
|
|
14
|
+
import "./navigation-B6dZoY_Y.js";
|
|
15
|
+
import "./markdown-DTVxnxGP.js";
|
|
16
|
+
import "./types-BKUIuYYk.js";
|
|
17
|
+
import "./search-C0ZUxdnx.js";
|
|
18
|
+
import { t as index_d_exports$1 } from "./index--lKHDYwq.js";
|
|
19
19
|
import { i as utils_d_exports } from "./utils-D43p_yTd.js";
|
|
20
20
|
import { t as _default } from "./style-Dku3IzwI.js";
|
|
21
21
|
export { index_d_exports as components, index_d_exports$1 as contexts, index_d_exports$2 as languages, routing_d_exports as routing, _default as style, utils_d_exports as utils };
|
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./docs-CopwX9a7.js";
|
|
2
2
|
import "./component-generics-D3ybuN5r.js";
|
|
3
3
|
import "./navigation-CGr5_w6z.js";
|
|
4
|
-
import "./markdown-
|
|
4
|
+
import "./markdown-Diyg-eof.js";
|
|
5
5
|
import { p as routing_exports } from "./routing-8itEXLx6.js";
|
|
6
6
|
import { t as style_default } from "./style-CuGfVeTo.js";
|
|
7
7
|
import "./use-components-BHEwm0mE.js";
|
|
8
|
-
import { g as languages_exports, t as contexts_exports, tt as components_exports } from "./contexts-
|
|
8
|
+
import { g as languages_exports, t as contexts_exports, tt as components_exports } from "./contexts-BOmkRG2_.js";
|
|
9
9
|
import "./icons-yb-Jhkmg.js";
|
|
10
10
|
import { i as utils_exports } from "./utils-2FmcHPHp.js";
|
|
11
11
|
import "./md-DxiV1_vy.js";
|
package/dist/languages/go.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { B as Type, F as DeclarationProps, H as TypeProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { B as Type, F as DeclarationProps, H as TypeProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
|
package/dist/languages/go.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { B as Type, L as Declaration, R as MethodSignature, V as TypeName, z as Property } from "../contexts-
|
|
8
|
+
import { B as Type, L as Declaration, R as MethodSignature, V as TypeName, z as Property } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
package/dist/languages/http.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { c as MethodInfo, d as Property, f as PropertyProps, l as MethodSignature, m as TypeName, o as Declaration, p as Type, s as DeclarationProps, u as MethodSignatureProps } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { c as MethodInfo, d as Property, f as PropertyProps, l as MethodSignature, m as TypeName, o as Declaration, p as Type, s as DeclarationProps, u as MethodSignatureProps } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/http.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { C as TypeName, S as Type, b as MethodSignature, v as Declaration, x as Property, y as MethodInfo } from "../contexts-
|
|
8
|
+
import { C as TypeName, S as Type, b as MethodSignature, v as Declaration, x as Property, y as MethodInfo } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { N as python_d_exports, Q as java_d_exports, U as go_d_exports, a as node, h as http_d_exports, i as kotlin, n as PropertyFn, st as typescript_d_exports, t as LanguageComponentDefinition, w as ruby_d_exports } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { N as python_d_exports, Q as java_d_exports, U as go_d_exports, a as node, h as http_d_exports, i as kotlin, n as PropertyFn, st as typescript_d_exports, t as LanguageComponentDefinition, w as ruby_d_exports } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { LanguageComponentDefinition, PropertyFn, 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 };
|
package/dist/languages/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { A as ruby_exports, H as go_exports, I as python_exports, J as java_exports, _ as node, et as typescript_exports, h as kotlin, w as http_exports } from "../contexts-
|
|
8
|
+
import { A as ruby_exports, H as go_exports, I as python_exports, J as java_exports, _ as node, et as typescript_exports, h as kotlin, w as http_exports } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
package/dist/languages/java.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { G as DeclarationProps, J as Property, K as MethodSignature, W as Declaration, X as Type, Y as PropertyProps, Z as TypeName, q as MethodSignatureProps } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { G as DeclarationProps, J as Property, K as MethodSignature, W as Declaration, X as Type, Y as PropertyProps, Z as TypeName, q as MethodSignatureProps } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/java.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { G as Property, K as Type, U as Declaration, W as MethodSignature, q as TypeName } from "../contexts-
|
|
8
|
+
import { G as Property, K as Type, U as Declaration, W as MethodSignature, q as TypeName } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { A as PropertyProps, D as MethodSignature, E as DeclarationProps, M as TypeName, O as MethodSignatureProps, T as Declaration, j as Type, k as Property } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { A as PropertyProps, D as MethodSignature, E as DeclarationProps, M as TypeName, O as MethodSignatureProps, T as Declaration, j as Type, k as Property } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/python.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { F as TypeName, M as MethodSignature, N as Property, P as Type, j as Declaration } from "../contexts-
|
|
8
|
+
import { F as TypeName, M as MethodSignature, N as Property, P as Type, j as Declaration } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
package/dist/languages/ruby.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { C as TypeName, S as Type, _ as DeclarationProps, b as Property, g as Declaration, v as MethodSignature, x as PropertyProps, y as MethodSignatureProps } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { C as TypeName, S as Type, _ as DeclarationProps, b as Property, g as Declaration, v as MethodSignature, x as PropertyProps, y as MethodSignatureProps } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/ruby.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { D as Property, E as MethodSignature, O as Type, T as Declaration, k as TypeName } from "../contexts-
|
|
8
|
+
import { D as Property, E as MethodSignature, O as Type, T as Declaration, k as TypeName } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../breadcrumbs-
|
|
2
|
-
import "../method-
|
|
3
|
-
import "../primitives-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../sdk-
|
|
7
|
-
import "../snippets-
|
|
8
|
-
import "../overview-
|
|
9
|
-
import "../sidebar-
|
|
10
|
-
import "../index-
|
|
11
|
-
import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-
|
|
1
|
+
import "../breadcrumbs-DK62UVKp.js";
|
|
2
|
+
import "../method-BAmsRDOC.js";
|
|
3
|
+
import "../primitives-Dp0LYV7y.js";
|
|
4
|
+
import "../properties-DvX5OQpO.js";
|
|
5
|
+
import "../routing-ByeZ2P3d.js";
|
|
6
|
+
import "../sdk-Bk_ieIL1.js";
|
|
7
|
+
import "../snippets-DXl9-aaF.js";
|
|
8
|
+
import "../overview-DeYjHR1D.js";
|
|
9
|
+
import "../sidebar-1WB4316k.js";
|
|
10
|
+
import "../index-DDEDqx74.js";
|
|
11
|
+
import { $ as Declaration, at as Type, et as DeclarationProps, it as PropertyProps, nt as MethodSignatureProps, ot as TypeName, rt as Property, tt as MethodSignature } from "../index-BQIQkWMC.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { $ as TypeName, Q as Type, X as MethodSignature, Y as Declaration, Z as Property } from "../contexts-
|
|
8
|
+
import { $ as TypeName, Q as Type, X as MethodSignature, Y as Declaration, Z as Property } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
package/dist/markdown/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import "../routing-
|
|
2
|
-
import "../sdk-
|
|
3
|
-
import { t as EnvironmentType } from "../utils-
|
|
1
|
+
import "../routing-ByeZ2P3d.js";
|
|
2
|
+
import "../sdk-Bk_ieIL1.js";
|
|
3
|
+
import { t as EnvironmentType } from "../utils-DH7B95xE.js";
|
|
4
4
|
import { Node } from "@markdoc/markdoc";
|
|
5
5
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
6
6
|
|
package/dist/markdown/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "../docs-CopwX9a7.js";
|
|
2
2
|
import "../component-generics-D3ybuN5r.js";
|
|
3
3
|
import "../navigation-CGr5_w6z.js";
|
|
4
|
-
import "../markdown-
|
|
4
|
+
import "../markdown-Diyg-eof.js";
|
|
5
5
|
import "../routing-8itEXLx6.js";
|
|
6
6
|
import "../style-CuGfVeTo.js";
|
|
7
7
|
import "../use-components-BHEwm0mE.js";
|
|
8
|
-
import { d as render, f as renderMarkdown, u as declaration } from "../contexts-
|
|
8
|
+
import { d as render, f as renderMarkdown, u as declaration } from "../contexts-BOmkRG2_.js";
|
|
9
9
|
import "../icons-yb-Jhkmg.js";
|
|
10
10
|
import "../utils-2FmcHPHp.js";
|
|
11
11
|
import "../md-DxiV1_vy.js";
|
package/dist/markdown/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../routing-
|
|
2
|
-
import "../sdk-
|
|
3
|
-
import { i as stripMarkup, n as getDecl, r as getSnippet, t as EnvironmentType } from "../utils-
|
|
1
|
+
import "../routing-ByeZ2P3d.js";
|
|
2
|
+
import "../sdk-Bk_ieIL1.js";
|
|
3
|
+
import { i as stripMarkup, n as getDecl, r as getSnippet, t as EnvironmentType } from "../utils-DH7B95xE.js";
|
|
4
4
|
export { EnvironmentType, getDecl, getSnippet, stripMarkup };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContext = {
|
|
6
6
|
highlight: (content: string, language: string) => string | Promise<string>;
|
|
7
|
-
render: (content: string) => string
|
|
7
|
+
render: (content: string) => string | Promise<string>;
|
|
8
8
|
};
|
|
9
9
|
declare const MarkdownContext: React$1.Context<MarkdownContext>;
|
|
10
10
|
declare const useMarkdownContext: () => MarkdownContext;
|
|
@@ -17,6 +17,6 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps):
|
|
20
|
+
}: MarkdownProviderProps): react_jsx_runtime51.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
|
|
@@ -14,7 +14,11 @@ const MarkdownContext = React$1.createContext({
|
|
|
14
14
|
const useMarkdownContext = () => React$1.useContext(MarkdownContext);
|
|
15
15
|
function useRenderMarkdown(content) {
|
|
16
16
|
const { render } = React$1.useContext(MarkdownContext);
|
|
17
|
-
return React$1.useMemo(() =>
|
|
17
|
+
return React$1.useMemo(() => {
|
|
18
|
+
if (!content) return void 0;
|
|
19
|
+
const rendered = render(content);
|
|
20
|
+
return typeof rendered === "string" ? rendered : React$1.use(rendered);
|
|
21
|
+
}, [content, render]);
|
|
18
22
|
}
|
|
19
23
|
function useHighlight(content, language) {
|
|
20
24
|
const { highlight } = React$1.useContext(MarkdownContext);
|