@stainless-api/docs-ui 0.1.0-beta.44 → 0.1.0-beta.46
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/{component-generics-ofm2M82q.d.ts → component-generics-CDshlns_.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +14 -0
- package/dist/components/MaskedInput.js +76 -0
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +13 -13
- package/dist/components/icons.d.ts +16 -11
- package/dist/components/icons.js +2 -2
- package/dist/components/index.d.ts +11 -11
- package/dist/components/index.js +14 -14
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +13 -13
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +13 -13
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +13 -13
- package/dist/components/properties.d.ts +2 -2
- package/dist/components/properties.js +14 -14
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +13 -13
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +13 -13
- package/dist/components/snippets.d.ts +4 -4
- package/dist/components/snippets.js +14 -14
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +11 -11
- package/dist/contexts/component.d.ts +14 -14
- package/dist/contexts/component.js +13 -13
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +18 -18
- package/dist/contexts/index.js +13 -13
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +2 -2
- package/dist/contexts/navigation.js +1 -1
- package/dist/contexts/search.d.ts +3 -3
- package/dist/contexts/search.js +13 -13
- package/dist/contexts/use-components.d.ts +10 -10
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-2HSNy-rE.js → contexts-HUUrbJAJ.js} +83 -91
- package/dist/{docs-BvahWQ28.d.ts → docs-OpxXmURB.d.ts} +4 -3
- package/dist/{icons-yb-Jhkmg.js → icons-Ckod9aod.js} +117 -1
- package/dist/{index-BYYbjUs7.d.ts → index-BhNE0nV0.d.ts} +9 -9
- package/dist/{index--xwumGAy.d.ts → index-Ck2YxPj3.d.ts} +6 -6
- package/dist/{index-C6aGoMyw.d.ts → index-CkgJvy8B.d.ts} +26 -26
- package/dist/index.d.ts +20 -20
- package/dist/index.js +13 -13
- package/dist/languages/go.d.ts +11 -11
- package/dist/languages/go.js +13 -13
- package/dist/languages/http.d.ts +11 -11
- package/dist/languages/http.js +13 -13
- package/dist/languages/index.d.ts +11 -11
- package/dist/languages/index.js +13 -13
- package/dist/languages/java.d.ts +11 -11
- package/dist/languages/java.js +13 -13
- package/dist/languages/python.d.ts +11 -11
- package/dist/languages/python.js +13 -13
- package/dist/languages/ruby.d.ts +11 -11
- package/dist/languages/ruby.js +13 -13
- package/dist/languages/typescript.d.ts +11 -11
- package/dist/languages/typescript.js +13 -13
- package/dist/markdown/index.d.ts +3 -3
- package/dist/markdown/index.js +13 -13
- package/dist/markdown/md.js +1 -1
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +1 -1
- package/dist/{markdown-R3kFvQtF.d.ts → markdown-Ck30kC3p.d.ts} +2 -2
- package/dist/{markdown-Diyg-eof.js → markdown-sJ2VePdG.js} +1 -1
- package/dist/{method-DigRMq69.d.ts → method-BpjXzDDH.d.ts} +7 -7
- package/dist/{navigation-qVV3i91K.d.ts → navigation-D4bzWy1c.d.ts} +3 -3
- package/dist/{overview-CAseV8q5.d.ts → overview-B24Fc4cH.d.ts} +6 -6
- package/dist/{primitives-DKSwbXPi.d.ts → primitives-DwXr-yo5.d.ts} +11 -13
- package/dist/{properties-CqXos0BH.d.ts → properties-wSrkbEk2.d.ts} +13 -5
- package/dist/{routing-DNN8R6bZ.d.ts → routing-Bcos-Z2q.d.ts} +2 -2
- package/dist/{routing-qs2YNG9o.js → routing-GrDalgAW.js} +7 -3
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{sdk-Rlr-Kw5_.d.ts → sdk-CDNNOl31.d.ts} +14 -15
- package/dist/search/index.d.ts +6 -6
- package/dist/search/index.js +15 -15
- package/dist/search/mcp.d.ts +13 -0
- package/dist/search/mcp.js +45 -0
- package/dist/search/providers/algolia.d.ts +2 -2
- package/dist/search/providers/algolia.js +13 -13
- package/dist/search/providers/fuse.d.ts +2 -2
- package/dist/search/providers/fuse.js +13 -13
- package/dist/search/providers/pagefind.d.ts +2 -2
- package/dist/search/providers/pagefind.js +1 -1
- package/dist/search/providers/walker.d.ts +2 -2
- package/dist/search/providers/walker.js +13 -13
- package/dist/search/types.d.ts +2 -2
- package/dist/search/types.js +1 -1
- package/dist/{search-1-mboDcE.d.ts → search-Dbhp1LKw.d.ts} +3 -3
- package/dist/{sidebar-C1v1VnyN.d.ts → sidebar-BzEJezB8.d.ts} +5 -5
- package/dist/{snippets-CmrvrMkn.d.ts → snippets-BFLGJy-C.d.ts} +13 -8
- package/dist/spec.d.ts +3 -3
- package/dist/spec.js +2 -2
- package/dist/{style-BhhgPVF6.js → style-B-5NIls4.js} +4 -0
- package/dist/{style-p4qTfnmO.d.ts → style-BJCwZ-Wf.d.ts} +4 -0
- package/dist/style.d.ts +1 -1
- package/dist/style.js +1 -1
- package/dist/styles/main.css +11 -8
- package/dist/styles/primitives.css +37 -2
- package/dist/styles.css +48 -10
- package/dist/{types-BSnSUlkN.d.ts → types-1rnoIVpZ.d.ts} +1 -1
- package/dist/{use-components-BHEwm0mE.js → use-components-DG6NAdUT.js} +1 -1
- package/dist/{utils-FnJ4tyuN.js → utils-CqR0JQ5q.js} +2 -2
- package/dist/{utils-C5oXAzyN.d.ts → utils-gEMvF6KH.d.ts} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +2 -2
- package/package.json +4 -4
- /package/dist/{breadcrumbs-BWIz-BrA.d.ts → breadcrumbs-ChGb9Ckx.d.ts} +0 -0
- /package/dist/{chunk-Bf_Gc_jT.js → chunk-KfF3XP4c.js} +0 -0
- /package/dist/{component-generics-D3ybuN5r.js → component-generics-4gg5TFK4.js} +0 -0
- /package/dist/{docs-CopwX9a7.js → docs-C2xNNHgT.js} +0 -0
- /package/dist/{md-DxiV1_vy.js → md-Ce-Zhp9O.js} +0 -0
- /package/dist/{navigation-CGr5_w6z.js → navigation-BrIapKIN.js} +0 -0
- /package/dist/{pagefind-BaK1krMe.js → pagefind-CKBforii.js} +0 -0
- /package/dist/{types-u0fUIalc.js → types-Ci-27DYJ.js} +0 -0
- /package/dist/{utils-D43p_yTd.d.ts → utils-CI9byvCc.d.ts} +0 -0
- /package/dist/{utils-Jo_o4DX9.js → utils-jPbBiaDE.js} +0 -0
package/dist/languages/java.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../style-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { G as MethodSignature, J as TypeName, K as Property, W as Declaration, q as Type } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import "../types-
|
|
1
|
+
import "../docs-C2xNNHgT.js";
|
|
2
|
+
import "../component-generics-4gg5TFK4.js";
|
|
3
|
+
import "../navigation-BrIapKIN.js";
|
|
4
|
+
import "../markdown-sJ2VePdG.js";
|
|
5
|
+
import "../routing-GrDalgAW.js";
|
|
6
|
+
import "../style-B-5NIls4.js";
|
|
7
|
+
import "../use-components-DG6NAdUT.js";
|
|
8
|
+
import { G as MethodSignature, J as TypeName, K as Property, W as Declaration, q as Type } from "../contexts-HUUrbJAJ.js";
|
|
9
|
+
import "../icons-Ckod9aod.js";
|
|
10
|
+
import "../utils-CqR0JQ5q.js";
|
|
11
|
+
import "../md-Ce-Zhp9O.js";
|
|
12
|
+
import "../utils-jPbBiaDE.js";
|
|
13
|
+
import "../types-Ci-27DYJ.js";
|
|
14
14
|
|
|
15
15
|
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
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 "../primitives-DwXr-yo5.js";
|
|
2
|
+
import "../breadcrumbs-ChGb9Ckx.js";
|
|
3
|
+
import "../method-BpjXzDDH.js";
|
|
4
|
+
import "../properties-wSrkbEk2.js";
|
|
5
|
+
import "../routing-Bcos-Z2q.js";
|
|
6
|
+
import "../sdk-CDNNOl31.js";
|
|
7
|
+
import "../snippets-BFLGJy-C.js";
|
|
8
|
+
import "../overview-B24Fc4cH.js";
|
|
9
|
+
import "../sidebar-BzEJezB8.js";
|
|
10
|
+
import "../index-BhNE0nV0.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-CkgJvy8B.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/python.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../style-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { F as Type, I as TypeName, M as Declaration, N as MethodSignature, P as Property } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import "../types-
|
|
1
|
+
import "../docs-C2xNNHgT.js";
|
|
2
|
+
import "../component-generics-4gg5TFK4.js";
|
|
3
|
+
import "../navigation-BrIapKIN.js";
|
|
4
|
+
import "../markdown-sJ2VePdG.js";
|
|
5
|
+
import "../routing-GrDalgAW.js";
|
|
6
|
+
import "../style-B-5NIls4.js";
|
|
7
|
+
import "../use-components-DG6NAdUT.js";
|
|
8
|
+
import { F as Type, I as TypeName, M as Declaration, N as MethodSignature, P as Property } from "../contexts-HUUrbJAJ.js";
|
|
9
|
+
import "../icons-Ckod9aod.js";
|
|
10
|
+
import "../utils-CqR0JQ5q.js";
|
|
11
|
+
import "../md-Ce-Zhp9O.js";
|
|
12
|
+
import "../utils-jPbBiaDE.js";
|
|
13
|
+
import "../types-Ci-27DYJ.js";
|
|
14
14
|
|
|
15
15
|
export { Declaration, MethodSignature, Property, Type, TypeName };
|
package/dist/languages/ruby.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
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 "../primitives-DwXr-yo5.js";
|
|
2
|
+
import "../breadcrumbs-ChGb9Ckx.js";
|
|
3
|
+
import "../method-BpjXzDDH.js";
|
|
4
|
+
import "../properties-wSrkbEk2.js";
|
|
5
|
+
import "../routing-Bcos-Z2q.js";
|
|
6
|
+
import "../sdk-CDNNOl31.js";
|
|
7
|
+
import "../snippets-BFLGJy-C.js";
|
|
8
|
+
import "../overview-B24Fc4cH.js";
|
|
9
|
+
import "../sidebar-BzEJezB8.js";
|
|
10
|
+
import "../index-BhNE0nV0.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-CkgJvy8B.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
package/dist/languages/ruby.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../style-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { A as TypeName, D as MethodSignature, E as Declaration, O as Property, k as Type } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import "../types-
|
|
1
|
+
import "../docs-C2xNNHgT.js";
|
|
2
|
+
import "../component-generics-4gg5TFK4.js";
|
|
3
|
+
import "../navigation-BrIapKIN.js";
|
|
4
|
+
import "../markdown-sJ2VePdG.js";
|
|
5
|
+
import "../routing-GrDalgAW.js";
|
|
6
|
+
import "../style-B-5NIls4.js";
|
|
7
|
+
import "../use-components-DG6NAdUT.js";
|
|
8
|
+
import { A as TypeName, D as MethodSignature, E as Declaration, O as Property, k as Type } from "../contexts-HUUrbJAJ.js";
|
|
9
|
+
import "../icons-Ckod9aod.js";
|
|
10
|
+
import "../utils-CqR0JQ5q.js";
|
|
11
|
+
import "../md-Ce-Zhp9O.js";
|
|
12
|
+
import "../utils-jPbBiaDE.js";
|
|
13
|
+
import "../types-Ci-27DYJ.js";
|
|
14
14
|
|
|
15
15
|
export { Declaration, MethodSignature, Property, Type, TypeName };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../
|
|
3
|
-
import "../
|
|
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 "../primitives-DwXr-yo5.js";
|
|
2
|
+
import "../breadcrumbs-ChGb9Ckx.js";
|
|
3
|
+
import "../method-BpjXzDDH.js";
|
|
4
|
+
import "../properties-wSrkbEk2.js";
|
|
5
|
+
import "../routing-Bcos-Z2q.js";
|
|
6
|
+
import "../sdk-CDNNOl31.js";
|
|
7
|
+
import "../snippets-BFLGJy-C.js";
|
|
8
|
+
import "../overview-B24Fc4cH.js";
|
|
9
|
+
import "../sidebar-BzEJezB8.js";
|
|
10
|
+
import "../index-BhNE0nV0.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-CkgJvy8B.js";
|
|
12
12
|
export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../style-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { $ as Type, Q as Property, X as Declaration, Z as MethodSignature, et as TypeName } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import "../types-
|
|
1
|
+
import "../docs-C2xNNHgT.js";
|
|
2
|
+
import "../component-generics-4gg5TFK4.js";
|
|
3
|
+
import "../navigation-BrIapKIN.js";
|
|
4
|
+
import "../markdown-sJ2VePdG.js";
|
|
5
|
+
import "../routing-GrDalgAW.js";
|
|
6
|
+
import "../style-B-5NIls4.js";
|
|
7
|
+
import "../use-components-DG6NAdUT.js";
|
|
8
|
+
import { $ as Type, Q as Property, X as Declaration, Z as MethodSignature, et as TypeName } from "../contexts-HUUrbJAJ.js";
|
|
9
|
+
import "../icons-Ckod9aod.js";
|
|
10
|
+
import "../utils-CqR0JQ5q.js";
|
|
11
|
+
import "../md-Ce-Zhp9O.js";
|
|
12
|
+
import "../utils-jPbBiaDE.js";
|
|
13
|
+
import "../types-Ci-27DYJ.js";
|
|
14
14
|
|
|
15
15
|
export { Declaration, MethodSignature, Property, Type, TypeName };
|
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-Bcos-Z2q.js";
|
|
2
|
+
import "../sdk-CDNNOl31.js";
|
|
3
|
+
import { t as EnvironmentType } from "../utils-gEMvF6KH.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,15 +1,15 @@
|
|
|
1
|
-
import "../docs-
|
|
2
|
-
import "../component-generics-
|
|
3
|
-
import "../navigation-
|
|
4
|
-
import "../markdown-
|
|
5
|
-
import "../routing-
|
|
6
|
-
import "../style-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { d as declaration, f as render, p as renderMarkdown } from "../contexts-
|
|
9
|
-
import "../icons-
|
|
10
|
-
import "../utils-
|
|
11
|
-
import "../md-
|
|
12
|
-
import "../utils-
|
|
13
|
-
import "../types-
|
|
1
|
+
import "../docs-C2xNNHgT.js";
|
|
2
|
+
import "../component-generics-4gg5TFK4.js";
|
|
3
|
+
import "../navigation-BrIapKIN.js";
|
|
4
|
+
import "../markdown-sJ2VePdG.js";
|
|
5
|
+
import "../routing-GrDalgAW.js";
|
|
6
|
+
import "../style-B-5NIls4.js";
|
|
7
|
+
import "../use-components-DG6NAdUT.js";
|
|
8
|
+
import { d as declaration, f as render, p as renderMarkdown } from "../contexts-HUUrbJAJ.js";
|
|
9
|
+
import "../icons-Ckod9aod.js";
|
|
10
|
+
import "../utils-CqR0JQ5q.js";
|
|
11
|
+
import "../md-Ce-Zhp9O.js";
|
|
12
|
+
import "../utils-jPbBiaDE.js";
|
|
13
|
+
import "../types-Ci-27DYJ.js";
|
|
14
14
|
|
|
15
15
|
export { declaration, render, renderMarkdown };
|
package/dist/markdown/md.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { a as item, c as parse, i as inline, l as strong, n as fence, o as list, r as heading, s as paragraph, t as code, u as text } from "../md-
|
|
1
|
+
import { a as item, c as parse, i as inline, l as strong, n as fence, o as list, r as heading, s as paragraph, t as code, u as text } from "../md-Ce-Zhp9O.js";
|
|
2
2
|
|
|
3
3
|
export { code, fence, heading, inline, item, list, paragraph, parse, strong, text };
|
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-Bcos-Z2q.js";
|
|
2
|
+
import "../sdk-CDNNOl31.js";
|
|
3
|
+
import { i as stripMarkup, n as getDecl, r as getSnippet, t as EnvironmentType } from "../utils-gEMvF6KH.js";
|
|
4
4
|
export { EnvironmentType, getDecl, getSnippet, stripMarkup };
|
package/dist/markdown/utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContext = {
|
|
@@ -17,6 +17,6 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps):
|
|
20
|
+
}: MarkdownProviderProps): react_jsx_runtime53.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 };
|
|
@@ -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_runtime80 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_runtime80.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_runtime80.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_runtime80.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_runtime80.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_runtime80.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_runtime80.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-Bcos-Z2q.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime54 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_runtime54.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime11 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_runtime11.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_runtime11.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_runtime11.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_runtime11.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_runtime11.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
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime16 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_runtime16.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_runtime16.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_runtime16.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime16.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_runtime16.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 | 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_runtime16.JSX.Element | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
61
|
stainlessPath: string;
|
|
62
62
|
scroll?: boolean;
|
|
@@ -67,15 +67,13 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean |
|
|
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> | react_jsx_runtime16.JSX.Element | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
74
|
+
ref?: React$1.Ref<HTMLInputElement>;
|
|
74
75
|
} & React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
75
|
-
declare const Input: React$1.ForwardRefExoticComponent<
|
|
76
|
-
left?: ReactNode;
|
|
77
|
-
right?: ReactNode;
|
|
78
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement> & React$1.RefAttributes<HTMLInputElement>>;
|
|
76
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
79
77
|
type ToggleButtonProps = {
|
|
80
78
|
children?: ReactNode;
|
|
81
79
|
selected?: boolean;
|
|
@@ -94,6 +92,6 @@ declare function ListView<TItem>({
|
|
|
94
92
|
itemDelegate,
|
|
95
93
|
onSelectListItem,
|
|
96
94
|
...rest
|
|
97
|
-
}: ListViewProps<TItem>):
|
|
95
|
+
}: ListViewProps<TItem>): react_jsx_runtime16.JSX.Element;
|
|
98
96
|
//#endregion
|
|
99
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,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,13 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime24.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_runtime24.JSX.Element | undefined;
|
|
17
|
+
type PropertyTitleProps = {
|
|
18
|
+
title?: string;
|
|
19
|
+
};
|
|
20
|
+
declare function PropertyTitle({
|
|
21
|
+
title
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime24.JSX.Element | undefined;
|
|
17
23
|
type PropertyProps = {
|
|
18
24
|
id?: string;
|
|
19
25
|
name?: ReactNode;
|
|
@@ -21,6 +27,7 @@ type PropertyProps = {
|
|
|
21
27
|
badges?: ReactNode;
|
|
22
28
|
type?: ReactNode;
|
|
23
29
|
description?: string;
|
|
30
|
+
title?: string;
|
|
24
31
|
expand?: boolean;
|
|
25
32
|
deprecated?: boolean | string;
|
|
26
33
|
additional?: ReactNode;
|
|
@@ -36,11 +43,12 @@ declare function Property({
|
|
|
36
43
|
type,
|
|
37
44
|
declaration,
|
|
38
45
|
description,
|
|
46
|
+
title,
|
|
39
47
|
deprecated,
|
|
40
48
|
expand,
|
|
41
49
|
additional,
|
|
42
50
|
constraints,
|
|
43
51
|
children
|
|
44
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime24.JSX.Element;
|
|
45
53
|
//#endregion
|
|
46
|
-
export {
|
|
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 };
|
|
@@ -4,11 +4,11 @@ import * as SDKJSON from "@stainless/sdk-json";
|
|
|
4
4
|
declare namespace routing_d_exports {
|
|
5
5
|
export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|
|
6
6
|
}
|
|
7
|
-
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin"];
|
|
7
|
+
declare const Languages: readonly ["http", "node", "python", "go", "typescript", "terraform", "ruby", "java", "kotlin", "csharp", "php"];
|
|
8
8
|
declare const SupportedLanguageSyntaxes: string[];
|
|
9
9
|
type DocsLanguage = (typeof Languages)[number];
|
|
10
10
|
declare const LanguageNames: Record<DocsLanguage, string>;
|
|
11
|
-
declare function getLanguageSnippet(language: DocsLanguage): "http.curl" | "node.default" | "
|
|
11
|
+
declare function getLanguageSnippet(language: DocsLanguage): "http.curl" | "node.default" | "python.default" | "go.default" | "typescript.default" | "terraform.default" | "ruby.default" | "java.default" | "kotlin.default" | "csharp.default" | "php.default";
|
|
12
12
|
declare function isSupportedLanguage(language: string): language is DocsLanguage;
|
|
13
13
|
type ParsedStainlessPath = ReturnType<typeof parseStainlessPath>;
|
|
14
14
|
declare function parseStainlessPath(stainlessPath: string): {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as __export } from "./chunk-
|
|
1
|
+
import { t as __export } from "./chunk-KfF3XP4c.js";
|
|
2
2
|
|
|
3
3
|
//#region src/routing.ts
|
|
4
4
|
var routing_exports = /* @__PURE__ */ __export({
|
|
@@ -28,7 +28,9 @@ const Languages = [
|
|
|
28
28
|
"terraform",
|
|
29
29
|
"ruby",
|
|
30
30
|
"java",
|
|
31
|
-
"kotlin"
|
|
31
|
+
"kotlin",
|
|
32
|
+
"csharp",
|
|
33
|
+
"php"
|
|
32
34
|
];
|
|
33
35
|
const SupportedLanguageSyntaxes = [
|
|
34
36
|
"http",
|
|
@@ -50,7 +52,9 @@ const LanguageNames = {
|
|
|
50
52
|
ruby: "Ruby",
|
|
51
53
|
java: "Java",
|
|
52
54
|
kotlin: "Kotlin",
|
|
53
|
-
terraform: "Terraform"
|
|
55
|
+
terraform: "Terraform",
|
|
56
|
+
csharp: "C#",
|
|
57
|
+
php: "PHP"
|
|
54
58
|
};
|
|
55
59
|
function getLanguageSnippet(language) {
|
|
56
60
|
return language === "http" ? "http.curl" : `${language}.default`;
|
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-Bcos-Z2q.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-GrDalgAW.js";
|
|
2
2
|
|
|
3
3
|
export { LanguageNames, Languages, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
|