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

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 (150) hide show
  1. package/dist/{breadcrumbs-seA1JsK4.d.ts → breadcrumbs-C14t6IEW.d.ts} +3 -3
  2. package/dist/{breadcrumbs-BagP1oN2.d.ts → breadcrumbs-IxKxOsE0.d.ts} +1 -1
  3. package/dist/{breadcrumbs-85Y-pybq.js → breadcrumbs-Q76uwfdC.js} +3 -3
  4. package/dist/{cli-CoLvH9jq.js → cli-lM9nDBQl.js} +5 -5
  5. package/dist/{component-CF9lLzZX.js → component-D93BctHn.js} +3 -3
  6. package/dist/{component-generics-DS5pysMb.d.ts → component-generics-Bd4PJtTE.d.ts} +2 -2
  7. package/dist/{component-generics-BblkOh-y.d.ts → component-generics-BmJeLTNJ.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 +7 -7
  12. package/dist/components/icons.d.ts +12 -12
  13. package/dist/components/icons.js +1 -1
  14. package/dist/components/index.d.ts +11 -10
  15. package/dist/components/index.js +18 -17
  16. package/dist/components/method.d.ts +1 -1
  17. package/dist/components/method.js +8 -8
  18. package/dist/components/overview.d.ts +1 -1
  19. package/dist/components/overview.js +9 -9
  20. package/dist/components/primitives.d.ts +1 -1
  21. package/dist/components/primitives.js +6 -6
  22. package/dist/components/properties.d.ts +1 -1
  23. package/dist/components/properties.js +7 -7
  24. package/dist/components/sdk-sidebar.d.ts +2 -0
  25. package/dist/components/sdk-sidebar.js +10 -0
  26. package/dist/components/sdk.d.ts +2 -2
  27. package/dist/components/sdk.js +9 -9
  28. package/dist/components/snippets.d.ts +2 -2
  29. package/dist/components/snippets.js +7 -7
  30. package/dist/components/stl-sidebar.d.ts +2 -0
  31. package/dist/components/stl-sidebar.js +5 -0
  32. package/dist/{components-Bz5h0Y4x.js → components-DmiarGZ9.js} +15 -14
  33. package/dist/contexts/component-generics.d.ts +1 -1
  34. package/dist/contexts/component-generics.js +1 -1
  35. package/dist/contexts/component-types.d.ts +11 -10
  36. package/dist/contexts/component.d.ts +14 -13
  37. package/dist/contexts/component.js +27 -26
  38. package/dist/contexts/docs.d.ts +2 -2
  39. package/dist/contexts/docs.js +2 -2
  40. package/dist/contexts/index.d.ts +17 -16
  41. package/dist/contexts/index.js +6 -6
  42. package/dist/contexts/markdown.d.ts +1 -1
  43. package/dist/contexts/markdown.js +2 -2
  44. package/dist/contexts/navigation.d.ts +1 -1
  45. package/dist/contexts/navigation.js +1 -1
  46. package/dist/contexts/use-components.d.ts +10 -9
  47. package/dist/contexts/use-components.js +2 -2
  48. package/dist/{contexts-DZfPd182.js → contexts-DMjqoc7S.js} +6 -5
  49. package/dist/{csharp-BbNnLZWW.js → csharp-BD37FKH6.js} +4 -4
  50. package/dist/{docs-Bw-eLYjA.js → docs-6PYi1eEV.js} +5 -1
  51. package/dist/{docs-DdWB4Wsv.d.ts → docs-Dzjz2m8E.d.ts} +6 -5
  52. package/dist/{docs-DFS6wkGm.d.ts → docs-cYeV7nR2.d.ts} +5 -4
  53. package/dist/{go-OFa_5xje.js → go-v-i4WDzK.js} +4 -4
  54. package/dist/{http-olFAYLFq.js → http-CXjSoAxs.js} +14 -10
  55. package/dist/{index-BdrPd64A.d.ts → index-6vTGbgXx.d.ts} +35 -35
  56. package/dist/index-C619u0I1.d.ts +16 -0
  57. package/dist/index-CiZUWHkc.d.ts +16 -0
  58. package/dist/{index-Ct7H30x1.d.ts → index-DuHyTVVD.d.ts} +1 -1
  59. package/dist/{index-CLMudlDX.d.ts → index-wOU588Um.d.ts} +35 -35
  60. package/dist/index.d.ts +16 -15
  61. package/dist/index.js +29 -28
  62. package/dist/{java-Bw0o13Wk.js → java-A6j1NMJ7.js} +5 -5
  63. package/dist/languages/cli.d.ts +11 -10
  64. package/dist/languages/cli.js +19 -18
  65. package/dist/languages/csharp.d.ts +11 -10
  66. package/dist/languages/csharp.js +7 -7
  67. package/dist/languages/go.d.ts +11 -10
  68. package/dist/languages/go.js +7 -7
  69. package/dist/languages/http.d.ts +11 -10
  70. package/dist/languages/http.js +18 -17
  71. package/dist/languages/index.d.ts +11 -10
  72. package/dist/languages/index.js +26 -25
  73. package/dist/languages/java.d.ts +11 -10
  74. package/dist/languages/java.js +7 -7
  75. package/dist/languages/python.d.ts +11 -10
  76. package/dist/languages/python.js +7 -7
  77. package/dist/languages/ruby.d.ts +11 -10
  78. package/dist/languages/ruby.js +7 -7
  79. package/dist/languages/typescript.d.ts +11 -10
  80. package/dist/languages/typescript.js +7 -7
  81. package/dist/languages-C6gLi0rP.js +28 -0
  82. package/dist/markdown/index.d.ts +2 -2
  83. package/dist/markdown/index.js +28 -27
  84. package/dist/markdown/printer.d.ts +2 -2
  85. package/dist/markdown/printer.js +29 -28
  86. package/dist/markdown/utils.d.ts +3 -3
  87. package/dist/markdown/utils.js +2 -2
  88. package/dist/{markdown-ZzVcn4kq.js → markdown-DHjcD13O.js} +1 -1
  89. package/dist/{markdown-Dyn0NA2f.d.ts → markdown-DkGIT8Kx.d.ts} +2 -2
  90. package/dist/{markdown-DtbgEdDt.d.ts → markdown-DmrCjnT8.d.ts} +2 -2
  91. package/dist/{method-CxjUvijp.d.ts → method-BlxcOrX4.d.ts} +6 -6
  92. package/dist/{method-Dktsfckf.js → method-mosT_h9v.js} +3 -3
  93. package/dist/{navigation-Dk55c7au.d.ts → navigation-865UcdP7.d.ts} +1 -1
  94. package/dist/{navigation-DLQvobDt.d.ts → navigation-CRKiHkwL.d.ts} +3 -3
  95. package/dist/{overview-rRsC-Yi_.d.ts → overview-CAxvIfWH.d.ts} +7 -7
  96. package/dist/{overview-EkRigi6e.js → overview-CDIg0UWY.js} +8 -8
  97. package/dist/{overview-DVu-9kpm.d.ts → overview-J95gyke9.d.ts} +7 -7
  98. package/dist/{primitives-DR4XbZ2t.d.ts → primitives-8XXs7qDy.d.ts} +12 -12
  99. package/dist/{primitives-BVaiiY63.js → primitives-CRiUE1em.js} +6 -6
  100. package/dist/{primitives-DP-cTr1W.d.ts → primitives-KIlfflF9.d.ts} +12 -12
  101. package/dist/{properties-Ll927UYJ.d.ts → properties-0U_JmHNb.d.ts} +5 -5
  102. package/dist/{properties-BHvUHbcf.js → properties-4w8hy0hf.js} +3 -3
  103. package/dist/{properties-lx53LZPl.d.ts → properties-hAqMR9G-.d.ts} +5 -5
  104. package/dist/{python-D8NWX7Cb.js → python-CtQJaLw5.js} +4 -4
  105. package/dist/{routing-Fzn1XfX_.js → routing-D6595ovf.js} +10 -2
  106. package/dist/{routing-sjrF8U7O.d.ts → routing-DmNHIb6b.d.ts} +13 -3
  107. package/dist/routing-Wb-T6WOm.d.ts +64 -0
  108. package/dist/routing.d.ts +2 -2
  109. package/dist/routing.js +2 -2
  110. package/dist/{ruby-DOUaLhKJ.js → ruby-DJqEHgOw.js} +5 -5
  111. package/dist/{sdk-Dhu_gfzq.d.ts → sdk-CoiDgyHc.d.ts} +20 -16
  112. package/dist/{sdk-DrK2bq-v.js → sdk-DXS8pW0X.js} +48 -18
  113. package/dist/sdk-sidebar-BoRTRjDJ.d.ts +15 -0
  114. package/dist/sdk-sidebar-CF3tb0Yl.js +36 -0
  115. package/dist/sdk-sidebar-CYjEwB-m.d.ts +15 -0
  116. package/dist/{sdk-DdW_-RBy.d.ts → sdk-swLaCpqB.d.ts} +20 -16
  117. package/dist/{snippets-Bi0ZADmt.d.ts → snippets-BPK_oVIf.d.ts} +9 -9
  118. package/dist/{snippets-CocIZMn0.d.ts → snippets-CaCkByky.d.ts} +9 -9
  119. package/dist/{snippets-D4VhtZIC.js → snippets-bh8lfniq.js} +4 -4
  120. package/dist/spec.d.ts +2 -2
  121. package/dist/spec.js +5 -5
  122. package/dist/stl-sidebar-BQvhLYPO.d.ts +45 -0
  123. package/dist/stl-sidebar-BSx0HI2z.d.ts +45 -0
  124. package/dist/stl-sidebar-DdxZx2KK.js +82 -0
  125. package/dist/{style-TeAZuiHh.js → style-Bxr5gqcM.js} +4 -4
  126. package/dist/style.d.ts +4 -4
  127. package/dist/style.js +1 -1
  128. package/dist/styles/primitives.css +6 -0
  129. package/dist/styles/resets.css +1 -1
  130. package/dist/styles/sidebar.css +219 -49
  131. package/dist/styles.css +231 -50
  132. package/dist/{typescript-DDa446mB.js → typescript-DA7mcN1t.js} +5 -5
  133. package/dist/{use-components-Dbin0y07.js → use-components-BUz3GbO4.js} +1 -1
  134. package/dist/{utils-BoRmEFRn.js → utils-BpKHeVMe.js} +2 -2
  135. package/dist/utils.d.ts +1 -1
  136. package/dist/utils.js +1 -1
  137. package/package.json +3 -3
  138. package/dist/components/sidebar.d.ts +0 -2
  139. package/dist/components/sidebar.js +0 -9
  140. package/dist/index-DTl8aUkb.d.ts +0 -15
  141. package/dist/index-Dp5biTf5.d.ts +0 -15
  142. package/dist/languages-DW_T-Th6.js +0 -28
  143. package/dist/sidebar-BLGIKgRI.js +0 -85
  144. package/dist/sidebar-CUaX1IBW.d.ts +0 -36
  145. package/dist/sidebar-DukWbBrE.d.ts +0 -36
  146. /package/dist/{chunk-Du3t87LU.js → chunk-BN_g-Awi.js} +0 -0
  147. /package/dist/{component-generics-CmIGbBLq.js → component-generics-POFirVVb.js} +0 -0
  148. /package/dist/{icons-DMkAA03z.js → icons-BYKn5X8E.js} +0 -0
  149. /package/dist/{method-C850sHPB.d.ts → method-DzUn_qWF.d.ts} +0 -0
  150. /package/dist/{navigation-By1sQl6M.js → navigation-aoYZ_tl4.js} +0 -0
@@ -1,31 +1,32 @@
1
- import { t as __exportAll } from "../chunk-Du3t87LU.js";
2
- import { t as DocsProvider } from "../docs-Bw-eLYjA.js";
3
- import "../component-generics-CmIGbBLq.js";
4
- import "../navigation-By1sQl6M.js";
5
- import "../markdown-ZzVcn4kq.js";
6
- import { n as useLanguageComponents } from "../contexts-DZfPd182.js";
7
- import "../use-components-Dbin0y07.js";
8
- import { t as style_default } from "../style-TeAZuiHh.js";
9
- import "../properties-BHvUHbcf.js";
10
- import "../method-Dktsfckf.js";
11
- import "../primitives-BVaiiY63.js";
12
- import "../icons-DMkAA03z.js";
13
- import "../sdk-DrK2bq-v.js";
14
- import "../snippets-D4VhtZIC.js";
15
- import "../overview-EkRigi6e.js";
16
- import "../breadcrumbs-85Y-pybq.js";
17
- import "../sidebar-BLGIKgRI.js";
18
- import "../components-Bz5h0Y4x.js";
19
- import "../typescript-DDa446mB.js";
20
- import "../java-Bw0o13Wk.js";
21
- import "../go-OFa_5xje.js";
22
- import "../python-D8NWX7Cb.js";
23
- import "../ruby-DOUaLhKJ.js";
24
- import "../http-olFAYLFq.js";
25
- import "../csharp-BbNnLZWW.js";
26
- import "../cli-CoLvH9jq.js";
27
- import "../languages-DW_T-Th6.js";
28
- import { t as ComponentProvider } from "../component-CF9lLzZX.js";
1
+ import { t as __exportAll } from "../chunk-BN_g-Awi.js";
2
+ import { t as DocsProvider } from "../docs-6PYi1eEV.js";
3
+ import "../component-generics-POFirVVb.js";
4
+ import "../navigation-aoYZ_tl4.js";
5
+ import "../markdown-DHjcD13O.js";
6
+ import { n as useLanguageComponents } from "../contexts-DMjqoc7S.js";
7
+ import "../use-components-BUz3GbO4.js";
8
+ import { t as style_default } from "../style-Bxr5gqcM.js";
9
+ import "../properties-4w8hy0hf.js";
10
+ import "../method-mosT_h9v.js";
11
+ import "../primitives-CRiUE1em.js";
12
+ import "../icons-BYKn5X8E.js";
13
+ import "../sdk-DXS8pW0X.js";
14
+ import "../snippets-bh8lfniq.js";
15
+ import "../overview-CDIg0UWY.js";
16
+ import "../breadcrumbs-Q76uwfdC.js";
17
+ import "../stl-sidebar-DdxZx2KK.js";
18
+ import "../sdk-sidebar-CF3tb0Yl.js";
19
+ import "../components-DmiarGZ9.js";
20
+ import "../typescript-DA7mcN1t.js";
21
+ import "../java-A6j1NMJ7.js";
22
+ import "../go-v-i4WDzK.js";
23
+ import "../python-CtQJaLw5.js";
24
+ import "../ruby-DJqEHgOw.js";
25
+ import "../http-CXjSoAxs.js";
26
+ import "../csharp-BD37FKH6.js";
27
+ import "../cli-lM9nDBQl.js";
28
+ import "../languages-C6gLi0rP.js";
29
+ import { t as ComponentProvider } from "../component-D93BctHn.js";
29
30
  import "react";
30
31
  import { jsx } from "react/jsx-runtime";
31
32
  import { renderToStaticMarkup } from "react-dom/server";
@@ -1,6 +1,6 @@
1
- import { c as LanguageDeclNodes, g as SpecLanguage, h as Spec } from "../index-Ct7H30x1.js";
2
- import { t as DocsLanguage } from "../routing-sjrF8U7O.js";
3
- import { C as TransformRequestSnippetFn } from "../sdk-Dhu_gfzq.js";
1
+ import { _ as SpecLanguage, g as Spec, l as LanguageDeclNodes } from "../index-DuHyTVVD.js";
2
+ import { t as DocsLanguage } from "../routing-Wb-T6WOm.js";
3
+ import { w as TransformRequestSnippetFn } from "../sdk-swLaCpqB.js";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
6
6
  type EnvironmentType = {
@@ -21,8 +21,8 @@ function getSnippet(env, path) {
21
21
  }
22
22
  function stripMarkup(content) {
23
23
  let output = "";
24
- new Parser({ ontext(content$1) {
25
- output += content$1;
24
+ new Parser({ ontext(content) {
25
+ output += content;
26
26
  } }).parseComplete(content);
27
27
  return output;
28
28
  }
@@ -1,4 +1,4 @@
1
- import { a as useLanguage } from "./docs-Bw-eLYjA.js";
1
+ import { o as useLanguage } from "./docs-6PYi1eEV.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_runtime61 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime34 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_runtime61.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime34.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,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime94 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 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_runtime94.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime4.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_runtime22 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_runtime22.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_runtime22.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_runtime22.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_runtime22.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_runtime22.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
- import { t as useComponents } from "./use-components-Dbin0y07.js";
2
- import { t as style_default } from "./style-TeAZuiHh.js";
3
- import { i as PropertyToggle } from "./properties-BHvUHbcf.js";
1
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
2
+ import { t as style_default } from "./style-Bxr5gqcM.js";
3
+ import { i as PropertyToggle } from "./properties-4w8hy0hf.js";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  import clsx from "clsx";
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-sjrF8U7O.js";
1
+ import { t as DocsLanguage } from "./routing-DmNHIb6b.js";
2
2
  import * as React$1 from "react";
3
3
  import * as react_jsx_runtime0 from "react/jsx-runtime";
4
4
 
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-sjrF8U7O.js";
1
+ import { t as DocsLanguage } from "./routing-Wb-T6WOm.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime62 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime35 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_runtime62.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime35.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 { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
1
+ import { p as Resource, u as Method } from "./index-DuHyTVVD.js";
2
+ import * as react_jsx_runtime27 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_runtime36.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime27.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_runtime36.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime27.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_runtime36.JSX.Element;
25
+ }): react_jsx_runtime27.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime36.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime27.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime36.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime27.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,11 +1,11 @@
1
- import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-Bw-eLYjA.js";
2
- import { n as useLanguageComponents } from "./contexts-DZfPd182.js";
3
- import { t as useComponents } from "./use-components-Dbin0y07.js";
4
- import { t as style_default } from "./style-TeAZuiHh.js";
5
- import { i as PropertyToggle } from "./properties-BHvUHbcf.js";
6
- import { f as parseStainlessPath } from "./routing-Fzn1XfX_.js";
7
- import { s as Markdown } from "./primitives-BVaiiY63.js";
8
- import { n as getResourceFromSpec, t as flatResources } from "./utils-BoRmEFRn.js";
1
+ import { i as useDeclaration, o as useLanguage, u as useSpec } from "./docs-6PYi1eEV.js";
2
+ import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
3
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
4
+ import { t as style_default } from "./style-Bxr5gqcM.js";
5
+ import { i as PropertyToggle } from "./properties-4w8hy0hf.js";
6
+ import { p as parseStainlessPath } from "./routing-D6595ovf.js";
7
+ import { s as Markdown } from "./primitives-CRiUE1em.js";
8
+ import { n as getResourceFromSpec, t as flatResources } from "./utils-BpKHeVMe.js";
9
9
  import * as React$1 from "react";
10
10
  import { createElement } from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { f as Resource, l as Method } from "./index-Ct7H30x1.js";
2
- import * as react_jsx_runtime17 from "react/jsx-runtime";
1
+ import { p as Resource, u as Method } from "./index-DuHyTVVD.js";
2
+ import * as react_jsx_runtime61 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_runtime17.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime61.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_runtime17.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime61.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_runtime17.JSX.Element;
25
+ }): react_jsx_runtime61.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime17.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime61.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime17.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime61.JSX.Element | null;
38
38
  //#endregion
39
39
  export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime22 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime66 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_runtime22.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime66.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_runtime22.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime66.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_runtime22.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime66.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime22.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime66.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_runtime22.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime66.JSX.Element;
52
52
  type TooltipProps = {
53
53
  content: ReactNode;
54
54
  children: ReactNode;
@@ -56,9 +56,9 @@ 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_runtime22.JSX.Element | null | undefined;
59
+ }: TooltipProps): string | number | bigint | boolean | react_jsx_runtime66.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
60
60
  type LinkProps = {
61
- stainlessPath: string;
61
+ stainlessPath?: string;
62
62
  scroll?: boolean;
63
63
  children?: ReactNode;
64
64
  } & React.HTMLProps<HTMLAnchorElement>;
@@ -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_runtime22.JSX.Element | null | undefined;
70
+ }: LinkProps): string | number | bigint | boolean | react_jsx_runtime66.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | 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_runtime22.JSX.Element;
82
+ }: InputProps): react_jsx_runtime66.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_runtime22.JSX.Element;
92
+ }: ToggleButtonProps): react_jsx_runtime66.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_runtime22.JSX.Element;
103
+ }: ListViewProps<TItem>): react_jsx_runtime66.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 };
@@ -1,8 +1,8 @@
1
- import { a as useLanguage, s as useSettings } from "./docs-Bw-eLYjA.js";
2
- import { n as useNavigation } from "./navigation-By1sQl6M.js";
3
- import { a as useRenderMarkdown } from "./markdown-ZzVcn4kq.js";
4
- import { t as style_default } from "./style-TeAZuiHh.js";
5
- import { o as generateRoute } from "./routing-Fzn1XfX_.js";
1
+ import { c as useSettings, o as useLanguage } from "./docs-6PYi1eEV.js";
2
+ import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
3
+ import { a as useRenderMarkdown } from "./markdown-DHjcD13O.js";
4
+ import { t as style_default } from "./style-Bxr5gqcM.js";
5
+ import { s as generateRoute } from "./routing-D6595ovf.js";
6
6
  import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
8
  import clsx from "clsx";
@@ -129,7 +129,7 @@ function Link({ stainlessPath, scroll = true, children, ...props }) {
129
129
  const handleClick = useCallback((e) => {
130
130
  if (props.onClick) props.onClick(e);
131
131
  if (e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
132
- if (href) onNavigate?.(e, {
132
+ if (href && stainlessPath) onNavigate?.(e, {
133
133
  href,
134
134
  language,
135
135
  stainlessPath,
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime41 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime32 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_runtime41.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime32.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_runtime41.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime32.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_runtime41.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime32.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime41.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime32.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_runtime41.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime32.JSX.Element;
52
52
  type TooltipProps = {
53
53
  content: ReactNode;
54
54
  children: ReactNode;
@@ -56,9 +56,9 @@ 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_runtime41.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_runtime32.JSX.Element | null | undefined;
60
60
  type LinkProps = {
61
- stainlessPath: string;
61
+ stainlessPath?: string;
62
62
  scroll?: boolean;
63
63
  children?: ReactNode;
64
64
  } & React.HTMLProps<HTMLAnchorElement>;
@@ -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_runtime41.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_runtime32.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_runtime41.JSX.Element;
82
+ }: InputProps): react_jsx_runtime32.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_runtime41.JSX.Element;
92
+ }: ToggleButtonProps): react_jsx_runtime32.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_runtime41.JSX.Element;
103
+ }: ListViewProps<TItem>): react_jsx_runtime32.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 };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import * as react_jsx_runtime51 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime18 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/properties.d.ts
5
5
  type PropertyToggleProps = {
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
7
7
  };
8
8
  declare function PropertyToggle({
9
9
  target
10
- }: PropertyToggleProps): react_jsx_runtime51.JSX.Element;
10
+ }: PropertyToggleProps): react_jsx_runtime18.JSX.Element;
11
11
  type PropertyDescriptionProps = {
12
12
  description?: string;
13
13
  };
14
14
  declare function PropertyDescription({
15
15
  description
16
- }: PropertyDescriptionProps): react_jsx_runtime51.JSX.Element | undefined;
16
+ }: PropertyDescriptionProps): react_jsx_runtime18.JSX.Element | undefined;
17
17
  type PropertyTitleProps = {
18
18
  title?: string;
19
19
  };
20
20
  declare function PropertyTitle({
21
21
  title
22
- }: PropertyTitleProps): react_jsx_runtime51.JSX.Element | undefined;
22
+ }: PropertyTitleProps): react_jsx_runtime18.JSX.Element | undefined;
23
23
  type PropertyProps = {
24
24
  id?: string;
25
25
  name?: ReactNode;
@@ -49,6 +49,6 @@ declare function Property({
49
49
  additional,
50
50
  constraints,
51
51
  children
52
- }: PropertyProps): react_jsx_runtime51.JSX.Element;
52
+ }: PropertyProps): react_jsx_runtime18.JSX.Element;
53
53
  //#endregion
54
54
  export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
@@ -1,6 +1,6 @@
1
- import { a as useLanguage, s as useSettings } from "./docs-Bw-eLYjA.js";
2
- import { t as useComponents } from "./use-components-Dbin0y07.js";
3
- import { t as style_default } from "./style-TeAZuiHh.js";
1
+ import { c as useSettings, o as useLanguage } from "./docs-6PYi1eEV.js";
2
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
3
+ import { t as style_default } from "./style-Bxr5gqcM.js";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import * as react_jsx_runtime32 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime76 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/properties.d.ts
5
5
  type PropertyToggleProps = {
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
7
7
  };
8
8
  declare function PropertyToggle({
9
9
  target
10
- }: PropertyToggleProps): react_jsx_runtime32.JSX.Element;
10
+ }: PropertyToggleProps): react_jsx_runtime76.JSX.Element;
11
11
  type PropertyDescriptionProps = {
12
12
  description?: string;
13
13
  };
14
14
  declare function PropertyDescription({
15
15
  description
16
- }: PropertyDescriptionProps): react_jsx_runtime32.JSX.Element | undefined;
16
+ }: PropertyDescriptionProps): react_jsx_runtime76.JSX.Element | undefined;
17
17
  type PropertyTitleProps = {
18
18
  title?: string;
19
19
  };
20
20
  declare function PropertyTitle({
21
21
  title
22
- }: PropertyTitleProps): react_jsx_runtime32.JSX.Element | undefined;
22
+ }: PropertyTitleProps): react_jsx_runtime76.JSX.Element | undefined;
23
23
  type PropertyProps = {
24
24
  id?: string;
25
25
  name?: ReactNode;
@@ -49,6 +49,6 @@ declare function Property({
49
49
  additional,
50
50
  constraints,
51
51
  children
52
- }: PropertyProps): react_jsx_runtime32.JSX.Element;
52
+ }: PropertyProps): react_jsx_runtime76.JSX.Element;
53
53
  //#endregion
54
54
  export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
@@ -1,7 +1,7 @@
1
- import { t as __exportAll } from "./chunk-Du3t87LU.js";
2
- import { n as useLanguageComponents } from "./contexts-DZfPd182.js";
3
- import { t as useComponents } from "./use-components-Dbin0y07.js";
4
- import { t as style_default } from "./style-TeAZuiHh.js";
1
+ import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
+ import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
3
+ import { t as useComponents } from "./use-components-BUz3GbO4.js";
4
+ import { t as style_default } from "./style-Bxr5gqcM.js";
5
5
  import * as React$1 from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7