@stainless-api/docs-ui 0.1.0-beta.55 → 0.1.0-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/dist/{breadcrumbs-DbMfWbzf.d.ts → breadcrumbs-C4-bfzhR.d.ts} +2 -2
  2. package/dist/{breadcrumbs-DgN-xdoA.js → breadcrumbs-D4R5cbSw.js} +1 -1
  3. package/dist/breadcrumbs-R-MrRUAb.d.ts +25 -0
  4. package/dist/{component-CjLDkCLe.js → component-5L-iyIZ6.js} +1 -1
  5. package/dist/{component-generics-jEHMmsET.d.ts → component-generics-BXUlfDmo.d.ts} +2 -2
  6. package/dist/component-generics-DK3L_HfT.d.ts +30 -0
  7. package/dist/components/MaskedInput.d.ts +3 -3
  8. package/dist/components/breadcrumbs.d.ts +1 -1
  9. package/dist/components/breadcrumbs.js +2 -2
  10. package/dist/components/icons.d.ts +11 -11
  11. package/dist/components/index.d.ts +9 -9
  12. package/dist/components/index.js +4 -4
  13. package/dist/components/method.d.ts +1 -1
  14. package/dist/components/overview.d.ts +1 -1
  15. package/dist/components/overview.js +2 -2
  16. package/dist/components/primitives.d.ts +1 -1
  17. package/dist/components/primitives.js +1 -1
  18. package/dist/components/properties.d.ts +1 -1
  19. package/dist/components/sdk.d.ts +1 -1
  20. package/dist/components/sidebar.d.ts +1 -1
  21. package/dist/components/snippets.d.ts +2 -2
  22. package/dist/{components-oq97SH1A.js → components-DuWqBogG.js} +3 -3
  23. package/dist/contexts/component-generics.d.ts +1 -1
  24. package/dist/contexts/component-types.d.ts +10 -10
  25. package/dist/contexts/component.d.ts +13 -13
  26. package/dist/contexts/component.js +5 -5
  27. package/dist/contexts/docs.d.ts +1 -1
  28. package/dist/contexts/index.d.ts +14 -14
  29. package/dist/contexts/markdown.d.ts +1 -1
  30. package/dist/contexts/navigation.d.ts +1 -1
  31. package/dist/contexts/use-components.d.ts +9 -9
  32. package/dist/docs-Bbe2P0iM.d.ts +47 -0
  33. package/dist/{docs-B8ujUobE.d.ts → docs-DXW3HLam.d.ts} +2 -2
  34. package/dist/{index-DJSj_TkD.d.ts → index-B0GI632t.d.ts} +30 -30
  35. package/dist/{index-DhAIZ735.d.ts → index-C8y-QK_S.d.ts} +8 -8
  36. package/dist/index-CMjS_7Z-.d.ts +274 -0
  37. package/dist/index-CXNWVE3S.d.ts +15 -0
  38. package/dist/index.d.ts +14 -14
  39. package/dist/index.js +4 -4
  40. package/dist/languages/csharp.d.ts +10 -10
  41. package/dist/languages/go.d.ts +10 -10
  42. package/dist/languages/http.d.ts +10 -10
  43. package/dist/languages/http.js +4 -4
  44. package/dist/languages/index.d.ts +10 -10
  45. package/dist/languages/index.js +4 -4
  46. package/dist/languages/java.d.ts +10 -10
  47. package/dist/languages/python.d.ts +10 -10
  48. package/dist/languages/ruby.d.ts +10 -10
  49. package/dist/languages/typescript.d.ts +10 -10
  50. package/dist/markdown/index.d.ts +1 -1
  51. package/dist/markdown/index.js +5 -5
  52. package/dist/markdown/printer.js +5 -5
  53. package/dist/markdown/utils.d.ts +1 -1
  54. package/dist/{markdown-BeBRJqrt.d.ts → markdown-DlZBWMNG.d.ts} +2 -2
  55. package/dist/markdown-xEaREw5e.d.ts +22 -0
  56. package/dist/{method-cLcsCc31.d.ts → method-BRfK1KuU.d.ts} +7 -7
  57. package/dist/method-BUQRaC59.d.ts +71 -0
  58. package/dist/navigation-BO8IjmvM.d.ts +29 -0
  59. package/dist/{navigation-ULXC5uFs.d.ts → navigation-C36vzOT-.d.ts} +1 -1
  60. package/dist/{overview-5f2psBcl.d.ts → overview-BI_asPrF.d.ts} +6 -6
  61. package/dist/{overview-BQk6WvtS.js → overview-D_7o7P6l.js} +1 -1
  62. package/dist/overview-g0IyxCAY.d.ts +39 -0
  63. package/dist/{primitives-BBa2vKex.d.ts → primitives-Bm0Cm3Xo.d.ts} +28 -21
  64. package/dist/primitives-COZrZCWZ.d.ts +104 -0
  65. package/dist/{primitives-1WQd5NT-.js → primitives-Dk_RvOzh.js} +23 -31
  66. package/dist/{properties-Clv76Ne3.d.ts → properties-BGhVCqER.d.ts} +5 -5
  67. package/dist/properties-BqjMaZ-l.d.ts +54 -0
  68. package/dist/routing-o8okAfJK.d.ts +54 -0
  69. package/dist/sdk-DA3oRxHu.d.ts +118 -0
  70. package/dist/{sdk-DT9NI4cv.d.ts → sdk-tq-VoVQP.d.ts} +13 -13
  71. package/dist/{sidebar-M9RnjNtV.d.ts → sidebar-DZQPDV-z.d.ts} +5 -5
  72. package/dist/sidebar-sPFdjATU.d.ts +36 -0
  73. package/dist/{snippets-swUWTk4z.d.ts → snippets-CVckJDzp.d.ts} +8 -8
  74. package/dist/snippets-Dg6GX-e4.d.ts +51 -0
  75. package/dist/styles/primitives.css +5 -4
  76. package/dist/styles/resets.css +1 -1
  77. package/dist/styles/search.css +32 -21
  78. package/dist/styles.css +39 -27
  79. package/package.json +2 -2
@@ -6,14 +6,14 @@ import "../contexts-CLpvBI91.js";
6
6
  import "../use-components-DBx5LZk0.js";
7
7
  import "../properties-BTdEzx5f.js";
8
8
  import "../method-nEcioXL5.js";
9
- import "../primitives-1WQd5NT-.js";
9
+ import "../primitives-Dk_RvOzh.js";
10
10
  import "../icons-Ckod9aod.js";
11
11
  import "../sdk-DEoUlY8I.js";
12
12
  import "../snippets-BiXJx1BL.js";
13
- import "../overview-BQk6WvtS.js";
14
- import "../breadcrumbs-DgN-xdoA.js";
13
+ import "../overview-D_7o7P6l.js";
14
+ import "../breadcrumbs-D4R5cbSw.js";
15
15
  import "../sidebar-D_cK7JN_.js";
16
- import "../components-oq97SH1A.js";
16
+ import "../components-DuWqBogG.js";
17
17
  import { a as Type, i as Property, n as MethodInfo, o as TypeName, r as MethodSignature, t as Declaration } from "../http-DXRdcllM.js";
18
18
 
19
19
  export { Declaration, MethodInfo, MethodSignature, Property, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-gG9N7P5T.js";
2
- import "../breadcrumbs-BbvvPqSX.js";
3
- import "../method-BgTzBtsf.js";
4
- import "../properties-BNeWSkmZ.js";
5
- import "../sdk-CyElWM5_.js";
6
- import "../snippets-Chr7iJX7.js";
7
- import "../overview-DnftuBNz.js";
8
- import "../sidebar-DLVEbkg6.js";
9
- import "../index-DHorrJIu.js";
10
- import { H as python_d_exports, N as ruby_d_exports, Q as go_d_exports, a as node, gt as typescript_d_exports, i as kotlin, m as csharp_d_exports, n as PropertyFn, st as java_d_exports, t as LanguageComponentDefinition, w as http_d_exports } from "../index-BsdazKpr.js";
1
+ import "../primitives-COZrZCWZ.js";
2
+ import "../breadcrumbs-C4-bfzhR.js";
3
+ import "../method-BRfK1KuU.js";
4
+ import "../properties-BqjMaZ-l.js";
5
+ import "../sdk-DA3oRxHu.js";
6
+ import "../snippets-CVckJDzp.js";
7
+ import "../overview-BI_asPrF.js";
8
+ import "../sidebar-sPFdjATU.js";
9
+ import "../index-C8y-QK_S.js";
10
+ import { H as python_d_exports, N as ruby_d_exports, Q as go_d_exports, a as node, gt as typescript_d_exports, i as kotlin, m as csharp_d_exports, n as PropertyFn, st as java_d_exports, t as LanguageComponentDefinition, w as http_d_exports } from "../index-CMjS_7Z-.js";
11
11
  export { LanguageComponentDefinition, PropertyFn, csharp_d_exports as csharp, go_d_exports as go, http_d_exports as http, java_d_exports as java, kotlin, node, python_d_exports as python, ruby_d_exports as ruby, typescript_d_exports as typescript };
@@ -6,14 +6,14 @@ import "../contexts-CLpvBI91.js";
6
6
  import "../use-components-DBx5LZk0.js";
7
7
  import "../properties-BTdEzx5f.js";
8
8
  import "../method-nEcioXL5.js";
9
- import "../primitives-1WQd5NT-.js";
9
+ import "../primitives-Dk_RvOzh.js";
10
10
  import "../icons-Ckod9aod.js";
11
11
  import "../sdk-DEoUlY8I.js";
12
12
  import "../snippets-BiXJx1BL.js";
13
- import "../overview-BQk6WvtS.js";
14
- import "../breadcrumbs-DgN-xdoA.js";
13
+ import "../overview-D_7o7P6l.js";
14
+ import "../breadcrumbs-D4R5cbSw.js";
15
15
  import "../sidebar-D_cK7JN_.js";
16
- import "../components-oq97SH1A.js";
16
+ import "../components-DuWqBogG.js";
17
17
  import { o as typescript_exports } from "../typescript-C--P_L-R.js";
18
18
  import { o as java_exports } from "../java-X1yS0K52.js";
19
19
  import { o as go_exports } from "../go-DNSFGJle.js";
@@ -1,11 +1,11 @@
1
- import "../primitives-gG9N7P5T.js";
2
- import "../breadcrumbs-BbvvPqSX.js";
3
- import "../method-BgTzBtsf.js";
4
- import "../properties-BNeWSkmZ.js";
5
- import "../sdk-CyElWM5_.js";
6
- import "../snippets-Chr7iJX7.js";
7
- import "../overview-DnftuBNz.js";
8
- import "../sidebar-DLVEbkg6.js";
9
- import "../index-DHorrJIu.js";
10
- 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-BsdazKpr.js";
1
+ import "../primitives-COZrZCWZ.js";
2
+ import "../breadcrumbs-C4-bfzhR.js";
3
+ import "../method-BRfK1KuU.js";
4
+ import "../properties-BqjMaZ-l.js";
5
+ import "../sdk-DA3oRxHu.js";
6
+ import "../snippets-CVckJDzp.js";
7
+ import "../overview-BI_asPrF.js";
8
+ import "../sidebar-sPFdjATU.js";
9
+ import "../index-C8y-QK_S.js";
10
+ 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-CMjS_7Z-.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-gG9N7P5T.js";
2
- import "../breadcrumbs-BbvvPqSX.js";
3
- import "../method-BgTzBtsf.js";
4
- import "../properties-BNeWSkmZ.js";
5
- import "../sdk-CyElWM5_.js";
6
- import "../snippets-Chr7iJX7.js";
7
- import "../overview-DnftuBNz.js";
8
- import "../sidebar-DLVEbkg6.js";
9
- import "../index-DHorrJIu.js";
10
- import { B as Type, F as DeclarationProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-BsdazKpr.js";
1
+ import "../primitives-COZrZCWZ.js";
2
+ import "../breadcrumbs-C4-bfzhR.js";
3
+ import "../method-BRfK1KuU.js";
4
+ import "../properties-BqjMaZ-l.js";
5
+ import "../sdk-DA3oRxHu.js";
6
+ import "../snippets-CVckJDzp.js";
7
+ import "../overview-BI_asPrF.js";
8
+ import "../sidebar-sPFdjATU.js";
9
+ import "../index-C8y-QK_S.js";
10
+ import { B as Type, F as DeclarationProps, I as MethodSignature, L as MethodSignatureProps, P as Declaration, R as Property, V as TypeName, z as PropertyProps } from "../index-CMjS_7Z-.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-gG9N7P5T.js";
2
- import "../breadcrumbs-BbvvPqSX.js";
3
- import "../method-BgTzBtsf.js";
4
- import "../properties-BNeWSkmZ.js";
5
- import "../sdk-CyElWM5_.js";
6
- import "../snippets-Chr7iJX7.js";
7
- import "../overview-DnftuBNz.js";
8
- import "../sidebar-DLVEbkg6.js";
9
- import "../index-DHorrJIu.js";
10
- 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-BsdazKpr.js";
1
+ import "../primitives-COZrZCWZ.js";
2
+ import "../breadcrumbs-C4-bfzhR.js";
3
+ import "../method-BRfK1KuU.js";
4
+ import "../properties-BqjMaZ-l.js";
5
+ import "../sdk-DA3oRxHu.js";
6
+ import "../snippets-CVckJDzp.js";
7
+ import "../overview-BI_asPrF.js";
8
+ import "../sidebar-sPFdjATU.js";
9
+ import "../index-C8y-QK_S.js";
10
+ 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-CMjS_7Z-.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-gG9N7P5T.js";
2
- import "../breadcrumbs-BbvvPqSX.js";
3
- import "../method-BgTzBtsf.js";
4
- import "../properties-BNeWSkmZ.js";
5
- import "../sdk-CyElWM5_.js";
6
- import "../snippets-Chr7iJX7.js";
7
- import "../overview-DnftuBNz.js";
8
- import "../sidebar-DLVEbkg6.js";
9
- import "../index-DHorrJIu.js";
10
- import { ct as Declaration, dt as MethodSignatureProps, ft as Property, ht as TypeName, lt as DeclarationProps, mt as Type, pt as PropertyProps, ut as MethodSignature } from "../index-BsdazKpr.js";
1
+ import "../primitives-COZrZCWZ.js";
2
+ import "../breadcrumbs-C4-bfzhR.js";
3
+ import "../method-BRfK1KuU.js";
4
+ import "../properties-BqjMaZ-l.js";
5
+ import "../sdk-DA3oRxHu.js";
6
+ import "../snippets-CVckJDzp.js";
7
+ import "../overview-BI_asPrF.js";
8
+ import "../sidebar-sPFdjATU.js";
9
+ import "../index-C8y-QK_S.js";
10
+ import { ct as Declaration, dt as MethodSignatureProps, ft as Property, ht as TypeName, lt as DeclarationProps, mt as Type, pt as PropertyProps, ut as MethodSignature } from "../index-CMjS_7Z-.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,4 +1,4 @@
1
- import "../sdk-CyElWM5_.js";
1
+ import "../sdk-DA3oRxHu.js";
2
2
  import { EnvironmentType } from "./utils.js";
3
3
  import { t as printer_d_exports } from "./printer.js";
4
4
  import { Node } from "@markdoc/markdoc";
@@ -6,14 +6,14 @@ import "../contexts-CLpvBI91.js";
6
6
  import "../use-components-DBx5LZk0.js";
7
7
  import "../properties-BTdEzx5f.js";
8
8
  import "../method-nEcioXL5.js";
9
- import "../primitives-1WQd5NT-.js";
9
+ import "../primitives-Dk_RvOzh.js";
10
10
  import "../icons-Ckod9aod.js";
11
11
  import "../sdk-DEoUlY8I.js";
12
12
  import "../snippets-BiXJx1BL.js";
13
- import "../overview-BQk6WvtS.js";
14
- import "../breadcrumbs-DgN-xdoA.js";
13
+ import "../overview-D_7o7P6l.js";
14
+ import "../breadcrumbs-D4R5cbSw.js";
15
15
  import "../sidebar-D_cK7JN_.js";
16
- import "../components-oq97SH1A.js";
16
+ import "../components-DuWqBogG.js";
17
17
  import "../typescript-C--P_L-R.js";
18
18
  import "../java-X1yS0K52.js";
19
19
  import "../go-DNSFGJle.js";
@@ -22,7 +22,7 @@ import "../ruby-CHeld1ey.js";
22
22
  import "../http-DXRdcllM.js";
23
23
  import "../csharp-E3FbT47c.js";
24
24
  import "../languages-Ir9QQoCT.js";
25
- import "../component-CjLDkCLe.js";
25
+ import "../component-5L-iyIZ6.js";
26
26
  import { code, fence, heading, item, list, paragraph, parse, strong, text } from "./md.js";
27
27
  import { getDecl, getSnippet, stripMarkup } from "./utils.js";
28
28
  import { declaration as declaration$1, methodSignature, t as printer_exports } from "./printer.js";
@@ -8,14 +8,14 @@ import "../use-components-DBx5LZk0.js";
8
8
  import { t as style_default } from "../style-cJZFOvnF.js";
9
9
  import "../properties-BTdEzx5f.js";
10
10
  import "../method-nEcioXL5.js";
11
- import "../primitives-1WQd5NT-.js";
11
+ import "../primitives-Dk_RvOzh.js";
12
12
  import "../icons-Ckod9aod.js";
13
13
  import "../sdk-DEoUlY8I.js";
14
14
  import "../snippets-BiXJx1BL.js";
15
- import "../overview-BQk6WvtS.js";
16
- import "../breadcrumbs-DgN-xdoA.js";
15
+ import "../overview-D_7o7P6l.js";
16
+ import "../breadcrumbs-D4R5cbSw.js";
17
17
  import "../sidebar-D_cK7JN_.js";
18
- import "../components-oq97SH1A.js";
18
+ import "../components-DuWqBogG.js";
19
19
  import "../typescript-C--P_L-R.js";
20
20
  import "../java-X1yS0K52.js";
21
21
  import "../go-DNSFGJle.js";
@@ -24,7 +24,7 @@ import "../ruby-CHeld1ey.js";
24
24
  import "../http-DXRdcllM.js";
25
25
  import "../csharp-E3FbT47c.js";
26
26
  import "../languages-Ir9QQoCT.js";
27
- import { t as ComponentProvider } from "../component-CjLDkCLe.js";
27
+ import { t as ComponentProvider } from "../component-5L-iyIZ6.js";
28
28
  import "react";
29
29
  import { jsx } from "react/jsx-runtime";
30
30
  import { renderToStaticMarkup } from "react-dom/server";
@@ -1,5 +1,5 @@
1
1
  import { t as DocsLanguage } from "../routing-o8okAfJK.js";
2
- import { C as TransformRequestSnippetFn } from "../sdk-CyElWM5_.js";
2
+ import { C as TransformRequestSnippetFn } from "../sdk-DA3oRxHu.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime60 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime63 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): react_jsx_runtime60.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime63.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 };
@@ -0,0 +1,22 @@
1
+ import * as React$1 from "react";
2
+ import * as react_jsx_runtime71 from "react/jsx-runtime";
3
+
4
+ //#region src/contexts/markdown.d.ts
5
+ type MarkdownContext = {
6
+ highlight: (content: string, language: string) => string | Promise<string>;
7
+ render: (content: string) => string | Promise<string>;
8
+ };
9
+ declare const MarkdownContext: React$1.Context<MarkdownContext>;
10
+ declare const useMarkdownContext: () => MarkdownContext;
11
+ declare function useRenderMarkdown(content?: string): string | undefined;
12
+ declare function useHighlight(content: string, language?: string): string;
13
+ type MarkdownProviderProps = MarkdownContext & {
14
+ children: React$1.ReactNode;
15
+ };
16
+ declare function MarkdownProvider({
17
+ render,
18
+ highlight,
19
+ children
20
+ }: MarkdownProviderProps): react_jsx_runtime71.JSX.Element;
21
+ //#endregion
22
+ export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime12 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime15 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): react_jsx_runtime12.JSX.Element | null;
17
+ }: MethodIconProps): react_jsx_runtime15.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): react_jsx_runtime12.JSX.Element;
31
+ }: MethodHeaderProps): react_jsx_runtime15.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): react_jsx_runtime12.JSX.Element;
41
+ }: MethodRouteProps): react_jsx_runtime15.JSX.Element;
42
42
  type MethodDescriptionProps = {
43
43
  description?: string;
44
44
  };
45
45
  declare function MethodDescription({
46
46
  description
47
- }: MethodDescriptionProps): react_jsx_runtime12.JSX.Element | undefined;
47
+ }: MethodDescriptionProps): react_jsx_runtime15.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): react_jsx_runtime12.JSX.Element;
57
+ }: MethodInfoProps): react_jsx_runtime15.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): react_jsx_runtime12.JSX.Element;
69
+ }: MethodProps): react_jsx_runtime15.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 };
@@ -0,0 +1,71 @@
1
+ import * as React$1 from "react";
2
+ import { ReactNode } from "react";
3
+ import * as react_jsx_runtime85 from "react/jsx-runtime";
4
+ import { LucideIcon } from "lucide-react";
5
+
6
+ //#region src/components/method.d.ts
7
+ declare const HttpMethods: string[];
8
+ type HTTPMethod = (typeof HttpMethods)[number];
9
+ declare const HttpMethodIcons: Record<HTTPMethod, LucideIcon>;
10
+ type MethodIconProps = {
11
+ httpMethod?: string;
12
+ showName?: boolean;
13
+ };
14
+ declare function MethodIconBadge({
15
+ httpMethod,
16
+ showName
17
+ }: MethodIconProps): react_jsx_runtime85.JSX.Element | null;
18
+ type MethodHeaderProps = {
19
+ title: ReactNode;
20
+ level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
21
+ signature?: ReactNode;
22
+ badges?: ReactNode;
23
+ children?: ReactNode;
24
+ };
25
+ declare function MethodHeader({
26
+ title,
27
+ badges,
28
+ signature,
29
+ children,
30
+ level
31
+ }: MethodHeaderProps): react_jsx_runtime85.JSX.Element;
32
+ type MethodRouteProps = {
33
+ httpMethod?: string;
34
+ endpoint?: string | ReactNode;
35
+ iconOnly?: boolean;
36
+ };
37
+ declare function MethodRoute({
38
+ httpMethod,
39
+ endpoint,
40
+ iconOnly
41
+ }: MethodRouteProps): react_jsx_runtime85.JSX.Element;
42
+ type MethodDescriptionProps = {
43
+ description?: string;
44
+ };
45
+ declare function MethodDescription({
46
+ description
47
+ }: MethodDescriptionProps): react_jsx_runtime85.JSX.Element | undefined;
48
+ type MethodInfoProps = {
49
+ children?: ReactNode;
50
+ parameters?: ReactNode;
51
+ returns?: ReactNode;
52
+ };
53
+ declare function MethodInfo({
54
+ children,
55
+ parameters,
56
+ returns
57
+ }: MethodInfoProps): react_jsx_runtime85.JSX.Element;
58
+ type MethodProps = {
59
+ id?: string;
60
+ header?: ReactNode;
61
+ children?: ReactNode;
62
+ } & React$1.HTMLProps<HTMLDivElement>;
63
+ declare function Method({
64
+ id,
65
+ header,
66
+ children,
67
+ className,
68
+ ...props
69
+ }: MethodProps): react_jsx_runtime85.JSX.Element;
70
+ //#endregion
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 };
@@ -0,0 +1,29 @@
1
+ import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime72 from "react/jsx-runtime";
4
+
5
+ //#region src/contexts/navigation.d.ts
6
+ type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
7
+ href: string;
8
+ language: DocsLanguage;
9
+ stainlessPath: string;
10
+ scroll: boolean;
11
+ }) => void;
12
+ type NavigationContextType = {
13
+ basePath?: string;
14
+ selectedPath?: string;
15
+ navigationPath?: string[];
16
+ onNavigate?: NavigationHandler;
17
+ };
18
+ declare function useNavigation(): NavigationContextType;
19
+ type NavigationProviderProps = NavigationContextType & {
20
+ children: React$1.ReactNode;
21
+ };
22
+ declare function NavigationProvider({
23
+ basePath,
24
+ selectedPath,
25
+ onNavigate,
26
+ children
27
+ }: NavigationProviderProps): react_jsx_runtime72.JSX.Element;
28
+ //#endregion
29
+ export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
1
+ import { t as DocsLanguage } from "./routing-o8okAfJK.js";
2
2
  import * as React$1 from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime21 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): react_jsx_runtime18.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime21.JSX.Element | null;
13
13
  type SDKMethodSummaryProps = {
14
14
  method: SDKJSON.Method;
15
15
  };
16
16
  declare function SDKMethodSummary({
17
17
  method
18
- }: SDKMethodSummaryProps): react_jsx_runtime18.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime21.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_runtime18.JSX.Element;
25
+ }): react_jsx_runtime21.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: SDKJSON.Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime18.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime21.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime18.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime21.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 };
@@ -4,7 +4,7 @@ import { t as useComponents } from "./use-components-DBx5LZk0.js";
4
4
  import { t as style_default } from "./style-cJZFOvnF.js";
5
5
  import { i as PropertyToggle } from "./properties-BTdEzx5f.js";
6
6
  import { f as parseStainlessPath } from "./routing-Dl0FprK1.js";
7
- import { s as Markdown } from "./primitives-1WQd5NT-.js";
7
+ import { s as Markdown } from "./primitives-Dk_RvOzh.js";
8
8
  import { n as getResourceFromSpec, t as flatResources } from "./utils-C12Fme2N.js";
9
9
  import * as React$1 from "react";
10
10
  import { createElement } from "react";
@@ -0,0 +1,39 @@
1
+ import * as react_jsx_runtime11 from "react/jsx-runtime";
2
+ import * as SDKJSON from "@stainless/sdk-json";
3
+
4
+ //#region src/components/overview.d.ts
5
+ type SDKResourceProps = {
6
+ resource: SDKJSON.Resource;
7
+ parents?: SDKJSON.Resource[];
8
+ };
9
+ declare function SDKResourceHeader({
10
+ resource,
11
+ parents
12
+ }: SDKResourceProps): react_jsx_runtime11.JSX.Element | null;
13
+ type SDKMethodSummaryProps = {
14
+ method: SDKJSON.Method;
15
+ };
16
+ declare function SDKMethodSummary({
17
+ method
18
+ }: SDKMethodSummaryProps): react_jsx_runtime11.JSX.Element;
19
+ declare function SDKResource({
20
+ resource,
21
+ parents,
22
+ showModels
23
+ }: SDKResourceProps & {
24
+ showModels?: boolean;
25
+ }): react_jsx_runtime11.JSX.Element;
26
+ type SDKOverviewProps = {
27
+ resource: SDKJSON.Resource;
28
+ };
29
+ declare function SDKOverview({
30
+ resource
31
+ }: SDKOverviewProps): react_jsx_runtime11.JSX.Element;
32
+ type SDKRootProps = {
33
+ stainlessPath: string;
34
+ };
35
+ declare function SDKRoot({
36
+ stainlessPath
37
+ }: SDKRootProps): react_jsx_runtime11.JSX.Element | null;
38
+ //#endregion
39
+ export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
@@ -1,6 +1,6 @@
1
- import * as React$1 from "react";
1
+ import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime23 from "react/jsx-runtime";
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): react_jsx_runtime23.JSX.Element[];
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): react_jsx_runtime23.JSX.Element;
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'>): react_jsx_runtime23.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime16.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime23.JSX.Element | undefined;
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): react_jsx_runtime23.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime16.JSX.Element;
52
52
  type TooltipProps = {
53
53
  content: ReactNode;
54
54
  children: ReactNode;
@@ -56,42 +56,49 @@ type TooltipProps = {
56
56
  declare function Tooltip({
57
57
  content,
58
58
  children
59
- }: TooltipProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
59
+ }: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime16.JSX.Element | null | undefined;
60
60
  type LinkProps = {
61
61
  stainlessPath: string;
62
62
  scroll?: boolean;
63
63
  children?: ReactNode;
64
- } & React$1.HTMLProps<HTMLAnchorElement>;
64
+ } & React.HTMLProps<HTMLAnchorElement>;
65
65
  declare function Link({
66
66
  stainlessPath,
67
67
  scroll,
68
68
  children,
69
69
  ...props
70
- }: LinkProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
70
+ }: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<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>;
75
- } & React$1.InputHTMLAttributes<HTMLInputElement>;
76
- declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
74
+ ref?: React.Ref<HTMLInputElement>;
75
+ } & React.InputHTMLAttributes<HTMLInputElement>;
76
+ declare function Input({
77
+ left,
78
+ right,
79
+ ref,
80
+ ...props
81
+ }: InputProps): react_jsx_runtime16.JSX.Element;
77
82
  type ToggleButtonProps = {
78
83
  children?: ReactNode;
79
84
  selected?: boolean;
80
- } & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
81
- declare const ToggleButton: React$1.ForwardRefExoticComponent<{
82
- children?: ReactNode;
83
- selected?: boolean;
84
- } & React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
85
+ } & React.ComponentProps<'button'>;
86
+ declare function ToggleButton({
87
+ children,
88
+ selected,
89
+ ref,
90
+ ...props
91
+ }: ToggleButtonProps): react_jsx_runtime16.JSX.Element;
85
92
  type ListViewProps<TItem> = {
86
93
  items: Array<TItem>;
87
- itemDelegate: (item: TItem, selected: boolean) => React$1.ReactNode;
94
+ itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
88
95
  onSelectListItem?: (item: TItem) => void;
89
- } & React$1.HTMLAttributes<HTMLDivElement>;
96
+ } & React.HTMLAttributes<HTMLDivElement>;
90
97
  declare function ListView<TItem>({
91
98
  items,
92
99
  itemDelegate,
93
100
  onSelectListItem,
94
101
  ...rest
95
- }: ListViewProps<TItem>): react_jsx_runtime23.JSX.Element;
102
+ }: ListViewProps<TItem>): react_jsx_runtime16.JSX.Element;
96
103
  //#endregion
97
104
  export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };