@stainless-api/docs-ui 0.1.0-beta.70 → 0.1.0-beta.72

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 (134) hide show
  1. package/dist/{breadcrumbs-Cvm5Ifm7.d.ts → breadcrumbs-46Qjx1Pd.d.ts} +3 -3
  2. package/dist/{breadcrumbs-BhYwbXkc.d.ts → breadcrumbs-BZ4wBC9-.d.ts} +3 -3
  3. package/dist/{breadcrumbs-DA4WgDhR.js → breadcrumbs-BiBfNqBI.js} +2 -2
  4. package/dist/{cli-F3kMmeoJ.js → cli-hduQ5XS1.js} +3 -3
  5. package/dist/{component-P9sn5yyG.js → component-BU8BTbqz.js} +2 -2
  6. package/dist/{component-generics-zU0Pqx8m.d.ts → component-generics-Bw4ZOyEG.d.ts} +2 -2
  7. package/dist/{component-generics-ByGsYTc8.d.ts → component-generics-D-WarFUb.d.ts} +2 -2
  8. package/dist/components/MaskedInput.d.ts +3 -3
  9. package/dist/components/MaskedInput.js +1 -1
  10. package/dist/components/breadcrumbs.d.ts +1 -1
  11. package/dist/components/breadcrumbs.js +5 -5
  12. package/dist/components/icons.d.ts +12 -12
  13. package/dist/components/index.d.ts +14 -11
  14. package/dist/components/index.js +14 -14
  15. package/dist/components/method.d.ts +1 -1
  16. package/dist/components/method.js +5 -5
  17. package/dist/components/overview.d.ts +1 -1
  18. package/dist/components/overview.js +6 -6
  19. package/dist/components/primitives.d.ts +1 -1
  20. package/dist/components/primitives.js +4 -4
  21. package/dist/components/properties.d.ts +1 -1
  22. package/dist/components/properties.js +4 -4
  23. package/dist/components/sdk-sidebar.d.ts +1 -1
  24. package/dist/components/sdk-sidebar.js +5 -5
  25. package/dist/components/sdk.d.ts +1 -1
  26. package/dist/components/sdk.js +4 -4
  27. package/dist/components/snippets.d.ts +14 -3
  28. package/dist/components/snippets.js +5 -5
  29. package/dist/components/stl-sidebar.d.ts +1 -1
  30. package/dist/components/stl-sidebar.js +1 -1
  31. package/dist/{components-w1JmIrB0.js → components-9NMl1791.js} +10 -9
  32. package/dist/contexts/component-generics.d.ts +1 -1
  33. package/dist/contexts/component-types.d.ts +13 -11
  34. package/dist/contexts/component.d.ts +15 -14
  35. package/dist/contexts/component.js +24 -24
  36. package/dist/contexts/docs.d.ts +2 -2
  37. package/dist/contexts/docs.js +2 -2
  38. package/dist/contexts/index.d.ts +14 -23
  39. package/dist/contexts/index.js +4 -4
  40. package/dist/contexts/markdown.d.ts +1 -1
  41. package/dist/contexts/markdown.js +2 -2
  42. package/dist/contexts/navigation.d.ts +1 -1
  43. package/dist/contexts/use-components.d.ts +13 -10
  44. package/dist/{contexts-CVj20VV4.js → contexts-_NNW5yqC.js} +5 -2
  45. package/dist/{csharp-D6_jlynY.js → csharp-sn5CJu9t.js} +2 -2
  46. package/dist/{docs-g4IPmtZr.d.ts → docs-Cu9Yl6-y.d.ts} +24 -6
  47. package/dist/docs-YgoQ3bzY.js +81 -0
  48. package/dist/{docs-z3fl2eW-.d.ts → docs-xb5wYGjM.d.ts} +25 -7
  49. package/dist/{go-COaHV3Hc.js → go-BoaAVmP0.js} +2 -2
  50. package/dist/{http-fOPCX17A.js → http-B3qTyMc3.js} +5 -5
  51. package/dist/index-BOmn7DHa.d.ts +428 -0
  52. package/dist/index-BvcPmB0r.d.ts +428 -0
  53. package/dist/{index-CwjGm9zX.d.ts → index-W4Td2Hl7.d.ts} +46 -31
  54. package/dist/index.d.ts +14 -17
  55. package/dist/index.js +24 -24
  56. package/dist/{java-CxGSJVvv.js → java-BiLRuLuD.js} +3 -3
  57. package/dist/languages/cli.d.ts +13 -11
  58. package/dist/languages/cli.js +15 -15
  59. package/dist/languages/csharp.d.ts +13 -11
  60. package/dist/languages/csharp.js +4 -4
  61. package/dist/languages/go.d.ts +13 -11
  62. package/dist/languages/go.js +4 -4
  63. package/dist/languages/http.d.ts +13 -11
  64. package/dist/languages/http.js +14 -14
  65. package/dist/languages/index.d.ts +13 -11
  66. package/dist/languages/index.js +23 -23
  67. package/dist/languages/java.d.ts +13 -11
  68. package/dist/languages/java.js +4 -4
  69. package/dist/languages/python.d.ts +13 -11
  70. package/dist/languages/python.js +4 -4
  71. package/dist/languages/ruby.d.ts +13 -11
  72. package/dist/languages/ruby.js +4 -4
  73. package/dist/languages/terraform.d.ts +13 -11
  74. package/dist/languages/terraform.js +4 -4
  75. package/dist/languages/typescript.d.ts +13 -11
  76. package/dist/languages/typescript.js +4 -4
  77. package/dist/languages-vUhD5Hu_.js +30 -0
  78. package/dist/markdown/index.d.ts +2 -2
  79. package/dist/markdown/index.js +24 -24
  80. package/dist/markdown/printer.d.ts +2 -2
  81. package/dist/markdown/printer.js +25 -25
  82. package/dist/markdown/utils.d.ts +4 -4
  83. package/dist/markdown/utils.js +3 -3
  84. package/dist/{markdown-Cibv9fDR.d.ts → markdown-BszOPZhh.d.ts} +2 -2
  85. package/dist/{markdown-CTKHMLVr.js → markdown-Cq3XEhrR.js} +1 -1
  86. package/dist/{markdown-Cdh0TSHp.d.ts → markdown-plMAoN22.d.ts} +2 -2
  87. package/dist/{method-630cPKDl.d.ts → method-C4PgTWAu.d.ts} +6 -6
  88. package/dist/{method-BzkPRXGL.d.ts → method-D6R_farj.d.ts} +6 -6
  89. package/dist/{method-BPDUyBlD.js → method-DjzVBzZe.js} +2 -2
  90. package/dist/{navigation-BW-SBvb4.d.ts → navigation-HiZWRl34.d.ts} +3 -3
  91. package/dist/{navigation-DWYqC_HX.d.ts → navigation-MrP4Ubbg.d.ts} +3 -3
  92. package/dist/{overview-Cui1XtuC.d.ts → overview-CTeKhpQq.d.ts} +7 -7
  93. package/dist/{overview-RXc9iPzz.d.ts → overview-Yf1PTJNi.d.ts} +7 -7
  94. package/dist/{overview-DFwfIK6k.js → overview-ocTARt-j.js} +5 -5
  95. package/dist/{primitives-DJEqe_r1.js → primitives-CNG-fEhQ.js} +3 -3
  96. package/dist/{primitives-DhGxFYx6.d.ts → primitives-K7NijV36.d.ts} +11 -11
  97. package/dist/{primitives-MsH-h0bU.d.ts → primitives-WGxdBJDS.d.ts} +11 -11
  98. package/dist/{properties-C9W4QJ_F.d.ts → properties-Bu4nW9JD.d.ts} +5 -5
  99. package/dist/{properties-BnbBKd5a.js → properties-DQU0NBzb.js} +11 -5
  100. package/dist/{python-DsTuWCKE.js → python-nqOBH7GS.js} +2 -2
  101. package/dist/{routing-Cm_9XJiQ.d.ts → routing-pAL4V4hv.d.ts} +1 -1
  102. package/dist/routing.d.ts +1 -1
  103. package/dist/{ruby-BncKp6hd.js → ruby-BBc8HdIt.js} +3 -3
  104. package/dist/{sdk-Bw99eXxA.js → sdk-BSdgEEJw.js} +13 -7
  105. package/dist/{sdk-GMOw94wL.d.ts → sdk-BVCk1ox2.d.ts} +17 -17
  106. package/dist/{sdk-BvZeXpsj.d.ts → sdk-Dm0S-XQE.d.ts} +17 -17
  107. package/dist/{sdk-sidebar-VNY2-O1Y.d.ts → sdk-sidebar-B1ehT_xI.d.ts} +3 -3
  108. package/dist/{sdk-sidebar-V_MTkVw8.js → sdk-sidebar-BDn8S1xS.js} +1 -1
  109. package/dist/{sdk-sidebar-NCBSWuUW.d.ts → sdk-sidebar-Dqeu7C1-.d.ts} +3 -3
  110. package/dist/snippets-CLpNVNlA.js +181 -0
  111. package/dist/spec.d.ts +2 -2
  112. package/dist/spec.js +1 -1
  113. package/dist/{stl-sidebar-CXzs_shz.d.ts → stl-sidebar-BTTErIJs.d.ts} +2 -2
  114. package/dist/{stl-sidebar-DSkUHwcU.d.ts → stl-sidebar-C7GNALtk.d.ts} +2 -2
  115. package/dist/{stl-sidebar-WtimNrk1.js → stl-sidebar-DC5UOJiT.js} +1 -1
  116. package/dist/{style-HpXpcJ9v.js → style-DJIYkFhO.js} +6 -0
  117. package/dist/style.d.ts +6 -0
  118. package/dist/style.js +1 -1
  119. package/dist/styles/main.css +59 -14
  120. package/dist/styles.css +59 -14
  121. package/dist/{terraform-B95X4rNK.js → terraform-DVx2ea2h.js} +3 -3
  122. package/dist/{typescript-n46M9OtL.js → typescript-Cmk-jBBw.js} +3 -3
  123. package/dist/utils.d.ts +1 -1
  124. package/package.json +2 -2
  125. package/dist/docs-BmOB2f-I.js +0 -61
  126. package/dist/index-B8Zys1C2.d.ts +0 -347
  127. package/dist/index-C5Zmb2CI.d.ts +0 -16
  128. package/dist/index-D7PkxNgB.d.ts +0 -16
  129. package/dist/index-DIaM6Ync.d.ts +0 -347
  130. package/dist/languages-B6eap2M6.js +0 -30
  131. package/dist/routing-utiR5mY3.d.ts +0 -61
  132. package/dist/snippets-BehbU3rt.js +0 -164
  133. package/dist/snippets-Bj7Ey56K.d.ts +0 -53
  134. package/dist/snippets-CQQSDvg2.d.ts +0 -53
@@ -1,5 +1,5 @@
1
- import { d as Method, f as Model, i as DeclarationNode, m as Resource } from "../index-CwjGm9zX.js";
2
- import "../sdk-GMOw94wL.js";
1
+ import { d as Method, f as Model, i as DeclarationNode, m as Resource } from "../index-W4Td2Hl7.js";
2
+ import "../sdk-Dm0S-XQE.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,31 +1,31 @@
1
- import "../docs-BmOB2f-I.js";
1
+ import "../docs-YgoQ3bzY.js";
2
2
  import "../component-generics-POFirVVb.js";
3
3
  import "../navigation-aoYZ_tl4.js";
4
- import "../markdown-CTKHMLVr.js";
5
- import "../contexts-CVj20VV4.js";
4
+ import "../markdown-Cq3XEhrR.js";
5
+ import "../contexts-_NNW5yqC.js";
6
6
  import "../use-components-BUz3GbO4.js";
7
- import "../properties-BnbBKd5a.js";
8
- import "../method-BPDUyBlD.js";
9
- import "../primitives-DJEqe_r1.js";
7
+ import "../properties-DQU0NBzb.js";
8
+ import "../method-DjzVBzZe.js";
9
+ import "../primitives-CNG-fEhQ.js";
10
10
  import "../icons-BYKn5X8E.js";
11
- import "../sdk-Bw99eXxA.js";
12
- import "../snippets-BehbU3rt.js";
13
- import "../overview-DFwfIK6k.js";
14
- import "../breadcrumbs-DA4WgDhR.js";
15
- import "../stl-sidebar-WtimNrk1.js";
16
- import "../sdk-sidebar-V_MTkVw8.js";
17
- import "../components-w1JmIrB0.js";
18
- import "../typescript-n46M9OtL.js";
19
- import "../java-CxGSJVvv.js";
20
- import "../go-COaHV3Hc.js";
21
- import "../python-DsTuWCKE.js";
22
- import "../ruby-BncKp6hd.js";
23
- import "../http-fOPCX17A.js";
24
- import "../csharp-D6_jlynY.js";
25
- import "../cli-F3kMmeoJ.js";
26
- import "../terraform-B95X4rNK.js";
27
- import "../languages-B6eap2M6.js";
28
- import "../component-P9sn5yyG.js";
11
+ import "../sdk-BSdgEEJw.js";
12
+ import "../snippets-CLpNVNlA.js";
13
+ import "../overview-ocTARt-j.js";
14
+ import "../breadcrumbs-BiBfNqBI.js";
15
+ import "../stl-sidebar-DC5UOJiT.js";
16
+ import "../sdk-sidebar-BDn8S1xS.js";
17
+ import "../components-9NMl1791.js";
18
+ import "../typescript-Cmk-jBBw.js";
19
+ import "../java-BiLRuLuD.js";
20
+ import "../go-BoaAVmP0.js";
21
+ import "../python-nqOBH7GS.js";
22
+ import "../ruby-BBc8HdIt.js";
23
+ import "../http-B3qTyMc3.js";
24
+ import "../csharp-sn5CJu9t.js";
25
+ import "../cli-hduQ5XS1.js";
26
+ import "../terraform-DVx2ea2h.js";
27
+ import "../languages-vUhD5Hu_.js";
28
+ import "../component-BU8BTbqz.js";
29
29
  import { code, fence, heading, item, list, paragraph, parse, strong, text } from "./md.js";
30
30
  import { getDecl, getSnippet, stripMarkup } from "./utils.js";
31
31
  import { declaration as declaration$1, methodSignature, t as printer_exports } from "./printer.js";
@@ -1,5 +1,5 @@
1
- import { i as DeclarationNode, x as Type } from "../index-CwjGm9zX.js";
2
- import { t as DocsLanguage } from "../routing-Cm_9XJiQ.js";
1
+ import { i as DeclarationNode, x as Type } from "../index-W4Td2Hl7.js";
2
+ import { t as DocsLanguage } from "../routing-pAL4V4hv.js";
3
3
 
4
4
  //#region src/markdown/printer.d.ts
5
5
  declare namespace printer_d_exports {
@@ -1,33 +1,33 @@
1
1
  import { t as __exportAll } from "../chunk-BN_g-Awi.js";
2
- import { t as DocsProvider } from "../docs-BmOB2f-I.js";
2
+ import { t as DocsProvider } from "../docs-YgoQ3bzY.js";
3
3
  import "../component-generics-POFirVVb.js";
4
4
  import "../navigation-aoYZ_tl4.js";
5
- import "../markdown-CTKHMLVr.js";
6
- import { n as useLanguageComponents } from "../contexts-CVj20VV4.js";
5
+ import "../markdown-Cq3XEhrR.js";
6
+ import { n as useLanguageComponents } from "../contexts-_NNW5yqC.js";
7
7
  import "../use-components-BUz3GbO4.js";
8
- import { t as style_default } from "../style-HpXpcJ9v.js";
9
- import "../properties-BnbBKd5a.js";
10
- import "../method-BPDUyBlD.js";
11
- import "../primitives-DJEqe_r1.js";
8
+ import { t as style_default } from "../style-DJIYkFhO.js";
9
+ import "../properties-DQU0NBzb.js";
10
+ import "../method-DjzVBzZe.js";
11
+ import "../primitives-CNG-fEhQ.js";
12
12
  import "../icons-BYKn5X8E.js";
13
- import "../sdk-Bw99eXxA.js";
14
- import "../snippets-BehbU3rt.js";
15
- import "../overview-DFwfIK6k.js";
16
- import "../breadcrumbs-DA4WgDhR.js";
17
- import "../stl-sidebar-WtimNrk1.js";
18
- import "../sdk-sidebar-V_MTkVw8.js";
19
- import "../components-w1JmIrB0.js";
20
- import "../typescript-n46M9OtL.js";
21
- import "../java-CxGSJVvv.js";
22
- import "../go-COaHV3Hc.js";
23
- import "../python-DsTuWCKE.js";
24
- import "../ruby-BncKp6hd.js";
25
- import "../http-fOPCX17A.js";
26
- import "../csharp-D6_jlynY.js";
27
- import "../cli-F3kMmeoJ.js";
28
- import "../terraform-B95X4rNK.js";
29
- import "../languages-B6eap2M6.js";
30
- import { t as ComponentProvider } from "../component-P9sn5yyG.js";
13
+ import "../sdk-BSdgEEJw.js";
14
+ import "../snippets-CLpNVNlA.js";
15
+ import "../overview-ocTARt-j.js";
16
+ import "../breadcrumbs-BiBfNqBI.js";
17
+ import "../stl-sidebar-DC5UOJiT.js";
18
+ import "../sdk-sidebar-BDn8S1xS.js";
19
+ import "../components-9NMl1791.js";
20
+ import "../typescript-Cmk-jBBw.js";
21
+ import "../java-BiLRuLuD.js";
22
+ import "../go-BoaAVmP0.js";
23
+ import "../python-nqOBH7GS.js";
24
+ import "../ruby-BBc8HdIt.js";
25
+ import "../http-B3qTyMc3.js";
26
+ import "../csharp-sn5CJu9t.js";
27
+ import "../cli-hduQ5XS1.js";
28
+ import "../terraform-DVx2ea2h.js";
29
+ import "../languages-vUhD5Hu_.js";
30
+ import { t as ComponentProvider } from "../component-BU8BTbqz.js";
31
31
  import "react";
32
32
  import { jsx } from "react/jsx-runtime";
33
33
  import { renderToStaticMarkup } from "react-dom/server";
@@ -1,6 +1,6 @@
1
- import { _ as Spec, u as LanguageDeclNodes, v as SpecLanguage } from "../index-CwjGm9zX.js";
2
- import { t as DocsLanguage } from "../routing-Cm_9XJiQ.js";
3
- import { w as TransformRequestSnippetFn } from "../sdk-GMOw94wL.js";
1
+ import { _ as Spec, u as LanguageDeclNodes, v as SpecLanguage } from "../index-W4Td2Hl7.js";
2
+ import { t as DocsLanguage } from "../routing-pAL4V4hv.js";
3
+ import { w as TransformRequestSnippetFn } from "../sdk-Dm0S-XQE.js";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
6
6
  type EnvironmentType = {
@@ -15,7 +15,7 @@ type EnvironmentType = {
15
15
  };
16
16
  };
17
17
  declare function getDecl(env: EnvironmentType, path: string): LanguageDeclNodes[SpecLanguage] | undefined;
18
- declare function getSnippet(env: EnvironmentType, path: string): string | undefined;
18
+ declare function getSnippet(env: EnvironmentType, path: string, snippetId?: 'default' | `custom:${string}`): string | undefined;
19
19
  declare function stripMarkup(content: string): string;
20
20
  //#endregion
21
21
  export { EnvironmentType, getDecl, getSnippet, stripMarkup };
@@ -10,10 +10,10 @@ function getDecl(env, path) {
10
10
  }
11
11
  return decl;
12
12
  }
13
- function getSnippet(env, path) {
13
+ function getSnippet(env, path, snippetId = "default") {
14
14
  const lang = env.language === "http" ? "http.curl" : `${env.language}.default`;
15
- let snippet = env.spec?.snippets?.[lang]?.[path];
16
- if (typeof snippet === "string" && env.transforms?.transformRequestSnippet) snippet = env.transforms.transformRequestSnippet({
15
+ let snippet = env.spec?.snippets?.[lang]?.[path]?.[snippetId]?.content;
16
+ if (snippet && env.transforms?.transformRequestSnippet) snippet = env.transforms.transformRequestSnippet({
17
17
  snippet,
18
18
  language: env.language
19
19
  });
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime47 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime99 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_runtime47.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime99.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,4 +1,4 @@
1
- import { s as useLanguage } from "./docs-BmOB2f-I.js";
1
+ import { s as useLanguage } from "./docs-YgoQ3bzY.js";
2
2
  import * as React$1 from "react";
3
3
  import { jsx } from "react/jsx-runtime";
4
4
 
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime81 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime62 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_runtime81.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime62.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 react_jsx_runtime27 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime29 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_runtime27.JSX.Element;
19
+ }: MethodHeaderProps): react_jsx_runtime29.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_runtime27.JSX.Element;
29
+ }: MethodRouteProps): react_jsx_runtime29.JSX.Element;
30
30
  type MethodDescriptionProps = {
31
31
  description?: string;
32
32
  };
33
33
  declare function MethodDescription({
34
34
  description
35
- }: MethodDescriptionProps): react_jsx_runtime27.JSX.Element | undefined;
35
+ }: MethodDescriptionProps): react_jsx_runtime29.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_runtime27.JSX.Element;
45
+ }: MethodInfoProps): react_jsx_runtime29.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_runtime27.JSX.Element;
57
+ }: MethodProps): react_jsx_runtime29.JSX.Element;
58
58
  //#endregion
59
59
  export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
@@ -1,6 +1,6 @@
1
1
  import * as React$1 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime5 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime13 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_runtime5.JSX.Element;
19
+ }: MethodHeaderProps): react_jsx_runtime13.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_runtime5.JSX.Element;
29
+ }: MethodRouteProps): react_jsx_runtime13.JSX.Element;
30
30
  type MethodDescriptionProps = {
31
31
  description?: string;
32
32
  };
33
33
  declare function MethodDescription({
34
34
  description
35
- }: MethodDescriptionProps): react_jsx_runtime5.JSX.Element | undefined;
35
+ }: MethodDescriptionProps): react_jsx_runtime13.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_runtime5.JSX.Element;
45
+ }: MethodInfoProps): react_jsx_runtime13.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_runtime5.JSX.Element;
57
+ }: MethodProps): react_jsx_runtime13.JSX.Element;
58
58
  //#endregion
59
59
  export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
@@ -1,6 +1,6 @@
1
1
  import { t as useComponents } from "./use-components-BUz3GbO4.js";
2
- import { t as style_default } from "./style-HpXpcJ9v.js";
3
- import { i as PropertyToggle } from "./properties-BnbBKd5a.js";
2
+ import { t as style_default } from "./style-DJIYkFhO.js";
3
+ import { i as PropertyToggle } from "./properties-DQU0NBzb.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import clsx from "clsx";
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-utiR5mY3.js";
1
+ import { t as DocsLanguage } from "./routing-pAL4V4hv.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime86 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime63 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/contexts/navigation.d.ts
6
6
  type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
@@ -24,6 +24,6 @@ declare function NavigationProvider({
24
24
  selectedPath,
25
25
  onNavigate,
26
26
  children
27
- }: NavigationProviderProps): react_jsx_runtime86.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime63.JSX.Element;
28
28
  //#endregion
29
29
  export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
1
+ import { t as DocsLanguage } from "./routing-pAL4V4hv.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime48 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime66 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/contexts/navigation.d.ts
6
6
  type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
@@ -24,6 +24,6 @@ declare function NavigationProvider({
24
24
  selectedPath,
25
25
  onNavigate,
26
26
  children
27
- }: NavigationProviderProps): react_jsx_runtime48.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime66.JSX.Element;
28
28
  //#endregion
29
29
  export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,5 +1,5 @@
1
- import { d as Method, m as Resource } from "./index-CwjGm9zX.js";
2
- import * as react_jsx_runtime10 from "react/jsx-runtime";
1
+ import { d as Method, m as Resource } from "./index-W4Td2Hl7.js";
2
+ import * as react_jsx_runtime18 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_runtime10.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime18.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_runtime10.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime18.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_runtime10.JSX.Element;
25
+ }): react_jsx_runtime18.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime10.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime18.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime10.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime18.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,5 +1,5 @@
1
- import { d as Method, m as Resource } from "./index-CwjGm9zX.js";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
1
+ import { d as Method, m as Resource } from "./index-W4Td2Hl7.js";
2
+ import * as react_jsx_runtime35 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_runtime1.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime35.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_runtime1.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime35.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_runtime1.JSX.Element;
25
+ }): react_jsx_runtime35.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime1.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime35.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime1.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime35.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,10 +1,10 @@
1
- import { d as useSpec, i as useDeclaration, s as useLanguage } from "./docs-BmOB2f-I.js";
2
- import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
1
+ import { i as useDeclaration, m as useSpec, s as useLanguage } from "./docs-YgoQ3bzY.js";
2
+ import { n as useLanguageComponents } from "./contexts-_NNW5yqC.js";
3
3
  import { t as useComponents } from "./use-components-BUz3GbO4.js";
4
- import { t as style_default } from "./style-HpXpcJ9v.js";
5
- import { i as PropertyToggle } from "./properties-BnbBKd5a.js";
4
+ import { t as style_default } from "./style-DJIYkFhO.js";
5
+ import { i as PropertyToggle } from "./properties-DQU0NBzb.js";
6
6
  import { p as parseStainlessPath } from "./routing-C64k4fmX.js";
7
- import { s as Markdown } from "./primitives-DJEqe_r1.js";
7
+ import { s as Markdown } from "./primitives-CNG-fEhQ.js";
8
8
  import { r as getResourceFromSpec, t as flatResources } from "./utils-DPbkW1Tz.js";
9
9
  import * as React$1 from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
- import { l as useSettings, s as useLanguage } from "./docs-BmOB2f-I.js";
1
+ import { l as useSettings, s as useLanguage } from "./docs-YgoQ3bzY.js";
2
2
  import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
3
- import { a as useRenderMarkdown } from "./markdown-CTKHMLVr.js";
4
- import { t as style_default } from "./style-HpXpcJ9v.js";
3
+ import { a as useRenderMarkdown } from "./markdown-Cq3XEhrR.js";
4
+ import { t as style_default } from "./style-DJIYkFhO.js";
5
5
  import { s as generateRoute } from "./routing-C64k4fmX.js";
6
6
  import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime17 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime40 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_runtime17.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime40.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_runtime17.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime40.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_runtime17.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime40.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime17.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime40.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_runtime17.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime40.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_runtime17.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_runtime40.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_runtime17.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_runtime40.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_runtime17.JSX.Element;
82
+ }: InputProps): react_jsx_runtime40.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_runtime17.JSX.Element;
92
+ }: ToggleButtonProps): react_jsx_runtime40.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_runtime17.JSX.Element;
103
+ }: ListViewProps<TItem>): react_jsx_runtime40.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 };