@stainless-api/docs-ui 0.1.0-beta.59 → 0.1.0-beta.60

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 (65) hide show
  1. package/dist/{breadcrumbs-D1pqkQVq.d.ts → breadcrumbs-BagP1oN2.d.ts} +2 -2
  2. package/dist/breadcrumbs-seA1JsK4.d.ts +25 -0
  3. package/dist/{component-generics-CIV4pVmh.d.ts → component-generics-BblkOh-y.d.ts} +2 -2
  4. package/dist/component-generics-DS5pysMb.d.ts +30 -0
  5. package/dist/components/MaskedInput.d.ts +3 -3
  6. package/dist/components/breadcrumbs.d.ts +1 -1
  7. package/dist/components/icons.d.ts +12 -12
  8. package/dist/components/index.d.ts +9 -9
  9. package/dist/components/method.d.ts +1 -1
  10. package/dist/components/overview.d.ts +1 -1
  11. package/dist/components/primitives.d.ts +1 -1
  12. package/dist/components/properties.d.ts +1 -1
  13. package/dist/components/sdk.d.ts +1 -1
  14. package/dist/components/sidebar.d.ts +1 -1
  15. package/dist/components/snippets.d.ts +2 -2
  16. package/dist/contexts/component-generics.d.ts +1 -1
  17. package/dist/contexts/component-types.d.ts +10 -10
  18. package/dist/contexts/component.d.ts +13 -13
  19. package/dist/contexts/docs.d.ts +1 -1
  20. package/dist/contexts/index.d.ts +14 -14
  21. package/dist/contexts/markdown.d.ts +1 -1
  22. package/dist/contexts/navigation.d.ts +1 -1
  23. package/dist/contexts/use-components.d.ts +9 -9
  24. package/dist/{docs-BVs5MLfL.d.ts → docs-DFS6wkGm.d.ts} +2 -2
  25. package/dist/docs-DdWB4Wsv.d.ts +46 -0
  26. package/dist/{index-BHy63Zur.d.ts → index-BdrPd64A.d.ts} +34 -34
  27. package/dist/index-CLMudlDX.d.ts +302 -0
  28. package/dist/{index-JJET_1EX.d.ts → index-DTl8aUkb.d.ts} +8 -8
  29. package/dist/index-Dp5biTf5.d.ts +15 -0
  30. package/dist/index.d.ts +15 -15
  31. package/dist/languages/cli.d.ts +10 -10
  32. package/dist/languages/csharp.d.ts +10 -10
  33. package/dist/languages/go.d.ts +10 -10
  34. package/dist/languages/http.d.ts +10 -10
  35. package/dist/languages/index.d.ts +10 -10
  36. package/dist/languages/java.d.ts +10 -10
  37. package/dist/languages/python.d.ts +10 -10
  38. package/dist/languages/ruby.d.ts +10 -10
  39. package/dist/languages/typescript.d.ts +10 -10
  40. package/dist/markdown/index.d.ts +1 -1
  41. package/dist/markdown/printer.d.ts +1 -1
  42. package/dist/markdown/utils.d.ts +2 -2
  43. package/dist/{markdown-BXDwR9bo.d.ts → markdown-DtbgEdDt.d.ts} +2 -2
  44. package/dist/markdown-Dyn0NA2f.d.ts +22 -0
  45. package/dist/{method-B-AEMp1G.d.ts → method-C850sHPB.d.ts} +6 -6
  46. package/dist/method-CxjUvijp.d.ts +59 -0
  47. package/dist/navigation-DLQvobDt.d.ts +29 -0
  48. package/dist/{navigation-CEMwVe3s.d.ts → navigation-Dk55c7au.d.ts} +1 -1
  49. package/dist/{overview-BzJqrxc6.d.ts → overview-DVu-9kpm.d.ts} +6 -6
  50. package/dist/overview-rRsC-Yi_.d.ts +39 -0
  51. package/dist/{primitives-CDxnkX_O.d.ts → primitives-DP-cTr1W.d.ts} +11 -11
  52. package/dist/primitives-DR4XbZ2t.d.ts +105 -0
  53. package/dist/{properties-fAurDGW2.d.ts → properties-Ll927UYJ.d.ts} +5 -5
  54. package/dist/properties-lx53LZPl.d.ts +54 -0
  55. package/dist/{routing-BifRCZt4.d.ts → routing-sjrF8U7O.d.ts} +1 -1
  56. package/dist/routing.d.ts +1 -1
  57. package/dist/{sdk-DwyhWkhn.d.ts → sdk-DdW_-RBy.d.ts} +14 -14
  58. package/dist/sdk-Dhu_gfzq.d.ts +118 -0
  59. package/dist/{sidebar-BbCq6Ibl.d.ts → sidebar-CUaX1IBW.d.ts} +5 -5
  60. package/dist/sidebar-DukWbBrE.d.ts +36 -0
  61. package/dist/{snippets-VclrBnJJ.d.ts → snippets-Bi0ZADmt.d.ts} +8 -8
  62. package/dist/snippets-CocIZMn0.d.ts +53 -0
  63. package/dist/spec.d.ts +1 -1
  64. package/dist/styles.css +9 -9
  65. package/package.json +2 -2
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.js";
10
- import { $ as DeclarationProps, Q as Declaration, at as TypeName, et as MethodSignature, it as Type, nt as Property, ot as TypeProps, rt as PropertyProps, tt as MethodSignatureProps } from "../index-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.js";
10
+ import { $ as DeclarationProps, Q as Declaration, at as TypeName, et as MethodSignature, it as Type, nt as Property, ot as TypeProps, rt as PropertyProps, tt as MethodSignatureProps } from "../index-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName, TypeProps };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.js";
10
- import { A as PropertyProps, D as MethodSignature, E as MethodInfo, M as TypeName, O as MethodSignatureProps, T as DeclarationProps, j as Type, k as Property, w as Declaration } from "../index-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.js";
10
+ import { A as PropertyProps, D as MethodSignature, E as MethodInfo, M as TypeName, O as MethodSignatureProps, T as DeclarationProps, j as Type, k as Property, w as Declaration } from "../index-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodInfo, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.js";
10
- import { C as csharp_d_exports, H as ruby_d_exports, N as http_d_exports, Tt as typescript_d_exports, Z as python_d_exports, a as node, gt as java_d_exports, i as kotlin, m as cli_d_exports, n as PropertyFn, st as go_d_exports, t as LanguageComponentDefinition } from "../index-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.js";
10
+ import { C as csharp_d_exports, H as ruby_d_exports, N as http_d_exports, Tt as typescript_d_exports, Z as python_d_exports, a as node, gt as java_d_exports, i as kotlin, m as cli_d_exports, n as PropertyFn, st as go_d_exports, t as LanguageComponentDefinition } from "../index-BdrPd64A.js";
11
11
  export { LanguageComponentDefinition, PropertyFn, cli_d_exports as cli, 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 };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.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-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.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-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.js";
10
- import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, q as Property } from "../index-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.js";
10
+ import { G as MethodSignature, J as PropertyProps, K as MethodSignatureProps, U as Declaration, W as DeclarationProps, X as TypeName, Y as Type, q as Property } from "../index-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.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-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.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-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,11 +1,11 @@
1
- import "../primitives-CDxnkX_O.js";
2
- import "../breadcrumbs-D1pqkQVq.js";
3
- import "../method-B-AEMp1G.js";
4
- import "../properties-fAurDGW2.js";
5
- import "../sdk-DwyhWkhn.js";
6
- import "../snippets-VclrBnJJ.js";
7
- import "../overview-BzJqrxc6.js";
8
- import "../sidebar-BbCq6Ibl.js";
9
- import "../index-JJET_1EX.js";
10
- import { Ct as Type, St as PropertyProps, _t as Declaration, bt as MethodSignatureProps, vt as DeclarationProps, wt as TypeName, xt as Property, yt as MethodSignature } from "../index-BHy63Zur.js";
1
+ import "../primitives-DR4XbZ2t.js";
2
+ import "../breadcrumbs-seA1JsK4.js";
3
+ import "../method-C850sHPB.js";
4
+ import "../properties-lx53LZPl.js";
5
+ import "../sdk-Dhu_gfzq.js";
6
+ import "../snippets-Bi0ZADmt.js";
7
+ import "../overview-DVu-9kpm.js";
8
+ import "../sidebar-DukWbBrE.js";
9
+ import "../index-DTl8aUkb.js";
10
+ import { Ct as Type, St as PropertyProps, _t as Declaration, bt as MethodSignatureProps, vt as DeclarationProps, wt as TypeName, xt as Property, yt as MethodSignature } from "../index-BdrPd64A.js";
11
11
  export { Declaration, DeclarationProps, MethodSignature, MethodSignatureProps, Property, PropertyProps, Type, TypeName };
@@ -1,5 +1,5 @@
1
1
  import { f as Resource, l as Method, r as DeclarationNode, u as Model } from "../index-Ct7H30x1.js";
2
- import "../sdk-DwyhWkhn.js";
2
+ import "../sdk-Dhu_gfzq.js";
3
3
  import { EnvironmentType } from "./utils.js";
4
4
  import { t as printer_d_exports } from "./printer.js";
5
5
  import { Node } from "@markdoc/markdoc";
@@ -1,5 +1,5 @@
1
1
  import { r as DeclarationNode, v as Type } from "../index-Ct7H30x1.js";
2
- import { t as DocsLanguage } from "../routing-BifRCZt4.js";
2
+ import { t as DocsLanguage } from "../routing-sjrF8U7O.js";
3
3
 
4
4
  //#region src/markdown/printer.d.ts
5
5
  declare namespace printer_d_exports {
@@ -1,6 +1,6 @@
1
1
  import { c as LanguageDeclNodes, g as SpecLanguage, h as Spec } from "../index-Ct7H30x1.js";
2
- import { t as DocsLanguage } from "../routing-BifRCZt4.js";
3
- import { C as TransformRequestSnippetFn } from "../sdk-DwyhWkhn.js";
2
+ import { t as DocsLanguage } from "../routing-sjrF8U7O.js";
3
+ import { C as TransformRequestSnippetFn } from "../sdk-Dhu_gfzq.js";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
6
6
  type EnvironmentType = {
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime72 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime94 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_runtime72.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime94.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_runtime61 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_runtime61.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_runtime25 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime12 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/method.d.ts
6
6
  type MethodHeaderProps = {
@@ -16,7 +16,7 @@ declare function MethodHeader({
16
16
  signature,
17
17
  children,
18
18
  level
19
- }: MethodHeaderProps): react_jsx_runtime25.JSX.Element;
19
+ }: MethodHeaderProps): react_jsx_runtime12.JSX.Element;
20
20
  type MethodRouteProps = {
21
21
  httpMethod?: string;
22
22
  endpoint?: string | ReactNode;
@@ -26,13 +26,13 @@ declare function MethodRoute({
26
26
  httpMethod,
27
27
  endpoint,
28
28
  iconOnly
29
- }: MethodRouteProps): react_jsx_runtime25.JSX.Element;
29
+ }: MethodRouteProps): react_jsx_runtime12.JSX.Element;
30
30
  type MethodDescriptionProps = {
31
31
  description?: string;
32
32
  };
33
33
  declare function MethodDescription({
34
34
  description
35
- }: MethodDescriptionProps): react_jsx_runtime25.JSX.Element | undefined;
35
+ }: MethodDescriptionProps): react_jsx_runtime12.JSX.Element | undefined;
36
36
  type MethodInfoProps = {
37
37
  children?: ReactNode;
38
38
  parameters?: ReactNode;
@@ -42,7 +42,7 @@ declare function MethodInfo({
42
42
  children,
43
43
  parameters,
44
44
  returns
45
- }: MethodInfoProps): react_jsx_runtime25.JSX.Element;
45
+ }: MethodInfoProps): react_jsx_runtime12.JSX.Element;
46
46
  type MethodProps = {
47
47
  id?: string;
48
48
  header?: ReactNode;
@@ -54,6 +54,6 @@ declare function Method({
54
54
  children,
55
55
  className,
56
56
  ...props
57
- }: MethodProps): react_jsx_runtime25.JSX.Element;
57
+ }: MethodProps): react_jsx_runtime12.JSX.Element;
58
58
  //#endregion
59
59
  export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
@@ -0,0 +1,59 @@
1
+ import * as React$1 from "react";
2
+ import { ReactNode } from "react";
3
+ import * as react_jsx_runtime27 from "react/jsx-runtime";
4
+
5
+ //#region src/components/method.d.ts
6
+ type MethodHeaderProps = {
7
+ title: ReactNode;
8
+ level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
9
+ signature?: ReactNode;
10
+ badges?: ReactNode;
11
+ children?: ReactNode;
12
+ };
13
+ declare function MethodHeader({
14
+ title,
15
+ badges,
16
+ signature,
17
+ children,
18
+ level
19
+ }: MethodHeaderProps): react_jsx_runtime27.JSX.Element;
20
+ type MethodRouteProps = {
21
+ httpMethod?: string;
22
+ endpoint?: string | ReactNode;
23
+ iconOnly?: boolean;
24
+ };
25
+ declare function MethodRoute({
26
+ httpMethod,
27
+ endpoint,
28
+ iconOnly
29
+ }: MethodRouteProps): react_jsx_runtime27.JSX.Element;
30
+ type MethodDescriptionProps = {
31
+ description?: string;
32
+ };
33
+ declare function MethodDescription({
34
+ description
35
+ }: MethodDescriptionProps): react_jsx_runtime27.JSX.Element | undefined;
36
+ type MethodInfoProps = {
37
+ children?: ReactNode;
38
+ parameters?: ReactNode;
39
+ returns?: ReactNode;
40
+ };
41
+ declare function MethodInfo({
42
+ children,
43
+ parameters,
44
+ returns
45
+ }: MethodInfoProps): react_jsx_runtime27.JSX.Element;
46
+ type MethodProps = {
47
+ id?: string;
48
+ header?: ReactNode;
49
+ children?: ReactNode;
50
+ } & React$1.HTMLProps<HTMLDivElement>;
51
+ declare function Method({
52
+ id,
53
+ header,
54
+ children,
55
+ className,
56
+ ...props
57
+ }: MethodProps): react_jsx_runtime27.JSX.Element;
58
+ //#endregion
59
+ export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
@@ -0,0 +1,29 @@
1
+ import { t as DocsLanguage } from "./routing-sjrF8U7O.js";
2
+ import * as React$1 from "react";
3
+ import * as react_jsx_runtime62 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_runtime62.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-BifRCZt4.js";
1
+ import { t as DocsLanguage } from "./routing-sjrF8U7O.js";
2
2
  import * as React$1 from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
- import * as react_jsx_runtime30 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime17 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/overview.d.ts
5
5
  type SDKResourceProps = {
@@ -9,31 +9,31 @@ type SDKResourceProps = {
9
9
  declare function SDKResourceHeader({
10
10
  resource,
11
11
  parents
12
- }: SDKResourceProps): react_jsx_runtime30.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime17.JSX.Element | null;
13
13
  type SDKMethodSummaryProps = {
14
14
  method: Method;
15
15
  };
16
16
  declare function SDKMethodSummary({
17
17
  method
18
- }: SDKMethodSummaryProps): react_jsx_runtime30.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime17.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_runtime30.JSX.Element;
25
+ }): react_jsx_runtime17.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime30.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime17.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime30.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime17.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 };
@@ -0,0 +1,39 @@
1
+ import { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
3
+
4
+ //#region src/components/overview.d.ts
5
+ type SDKResourceProps = {
6
+ resource: Resource;
7
+ parents?: Resource[];
8
+ };
9
+ declare function SDKResourceHeader({
10
+ resource,
11
+ parents
12
+ }: SDKResourceProps): react_jsx_runtime36.JSX.Element | null;
13
+ type SDKMethodSummaryProps = {
14
+ method: Method;
15
+ };
16
+ declare function SDKMethodSummary({
17
+ method
18
+ }: SDKMethodSummaryProps): react_jsx_runtime36.JSX.Element;
19
+ declare function SDKResource({
20
+ resource,
21
+ parents,
22
+ showModels
23
+ }: SDKResourceProps & {
24
+ showModels?: boolean;
25
+ }): react_jsx_runtime36.JSX.Element;
26
+ type SDKOverviewProps = {
27
+ resource: Resource;
28
+ };
29
+ declare function SDKOverview({
30
+ resource
31
+ }: SDKOverviewProps): react_jsx_runtime36.JSX.Element;
32
+ type SDKRootProps = {
33
+ stainlessPath: string;
34
+ };
35
+ declare function SDKRoot({
36
+ stainlessPath
37
+ }: SDKRootProps): react_jsx_runtime36.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
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime41 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_runtime35.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime41.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_runtime35.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime41.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_runtime35.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime41.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime35.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime41.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_runtime35.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime41.JSX.Element;
52
52
  type TooltipProps = {
53
53
  content: ReactNode;
54
54
  children: ReactNode;
@@ -56,7 +56,7 @@ type TooltipProps = {
56
56
  declare function Tooltip({
57
57
  content,
58
58
  children
59
- }: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime35.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_runtime41.JSX.Element | null | undefined;
60
60
  type LinkProps = {
61
61
  stainlessPath: string;
62
62
  scroll?: boolean;
@@ -67,7 +67,7 @@ declare function Link({
67
67
  scroll,
68
68
  children,
69
69
  ...props
70
- }: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime35.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_runtime41.JSX.Element | null | undefined;
71
71
  type InputProps = {
72
72
  left?: ReactNode;
73
73
  right?: ReactNode;
@@ -79,7 +79,7 @@ declare function Input({
79
79
  ref,
80
80
  className,
81
81
  ...props
82
- }: InputProps): react_jsx_runtime35.JSX.Element;
82
+ }: InputProps): react_jsx_runtime41.JSX.Element;
83
83
  type ToggleButtonProps = {
84
84
  children?: ReactNode;
85
85
  selected?: boolean;
@@ -89,7 +89,7 @@ declare function ToggleButton({
89
89
  selected,
90
90
  ref,
91
91
  ...props
92
- }: ToggleButtonProps): react_jsx_runtime35.JSX.Element;
92
+ }: ToggleButtonProps): react_jsx_runtime41.JSX.Element;
93
93
  type ListViewProps<TItem> = {
94
94
  items: Array<TItem>;
95
95
  itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
100
100
  itemDelegate,
101
101
  onSelectListItem,
102
102
  ...rest
103
- }: ListViewProps<TItem>): react_jsx_runtime35.JSX.Element;
103
+ }: ListViewProps<TItem>): react_jsx_runtime41.JSX.Element;
104
104
  //#endregion
105
105
  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 };
@@ -0,0 +1,105 @@
1
+ import * as react0 from "react";
2
+ import { ReactNode } from "react";
3
+ import * as react_jsx_runtime22 from "react/jsx-runtime";
4
+
5
+ //#region src/components/primitives.d.ts
6
+ type JoinProps = {
7
+ items: ReactNode[];
8
+ limit?: number;
9
+ children: ReactNode;
10
+ };
11
+ declare function Join({
12
+ items,
13
+ limit,
14
+ children
15
+ }: JoinProps): react_jsx_runtime22.JSX.Element[];
16
+ type ExpanderProps = {
17
+ id?: string;
18
+ open?: boolean;
19
+ summary: ReactNode;
20
+ virtual?: boolean;
21
+ muted?: boolean;
22
+ children?: ReactNode;
23
+ };
24
+ declare function Expander({
25
+ id,
26
+ open,
27
+ summary,
28
+ virtual,
29
+ muted,
30
+ children
31
+ }: ExpanderProps): react_jsx_runtime22.JSX.Element;
32
+ declare function VirtualExpander({
33
+ id,
34
+ open: isOpen,
35
+ muted,
36
+ summary,
37
+ children
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime22.JSX.Element;
39
+ declare function Markdown({
40
+ content
41
+ }: {
42
+ content: string;
43
+ }): "" | react_jsx_runtime22.JSX.Element | undefined;
44
+ type BadgeProps = {
45
+ id: string;
46
+ children?: ReactNode;
47
+ };
48
+ declare function Badge({
49
+ id,
50
+ children
51
+ }: BadgeProps): react_jsx_runtime22.JSX.Element;
52
+ type TooltipProps = {
53
+ content: ReactNode;
54
+ children: ReactNode;
55
+ };
56
+ declare function Tooltip({
57
+ content,
58
+ children
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_runtime22.JSX.Element | null | undefined;
60
+ type LinkProps = {
61
+ stainlessPath: string;
62
+ scroll?: boolean;
63
+ children?: ReactNode;
64
+ } & React.HTMLProps<HTMLAnchorElement>;
65
+ declare function Link({
66
+ stainlessPath,
67
+ scroll,
68
+ children,
69
+ ...props
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_runtime22.JSX.Element | null | undefined;
71
+ type InputProps = {
72
+ left?: ReactNode;
73
+ right?: ReactNode;
74
+ ref?: React.Ref<HTMLInputElement>;
75
+ } & React.InputHTMLAttributes<HTMLInputElement>;
76
+ declare function Input({
77
+ left,
78
+ right,
79
+ ref,
80
+ className,
81
+ ...props
82
+ }: InputProps): react_jsx_runtime22.JSX.Element;
83
+ type ToggleButtonProps = {
84
+ children?: ReactNode;
85
+ selected?: boolean;
86
+ } & React.ComponentProps<'button'>;
87
+ declare function ToggleButton({
88
+ children,
89
+ selected,
90
+ ref,
91
+ ...props
92
+ }: ToggleButtonProps): react_jsx_runtime22.JSX.Element;
93
+ type ListViewProps<TItem> = {
94
+ items: Array<TItem>;
95
+ itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
96
+ onSelectListItem?: (item: TItem) => void;
97
+ } & React.HTMLAttributes<HTMLDivElement>;
98
+ declare function ListView<TItem>({
99
+ items,
100
+ itemDelegate,
101
+ onSelectListItem,
102
+ ...rest
103
+ }: ListViewProps<TItem>): react_jsx_runtime22.JSX.Element;
104
+ //#endregion
105
+ 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 };