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

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 (115) hide show
  1. package/dist/{breadcrumbs-C4-bfzhR.d.ts → breadcrumbs-BFCcsaL5.d.ts} +2 -2
  2. package/dist/{breadcrumbs-D4R5cbSw.js → breadcrumbs-CCViAnPI.js} +2 -2
  3. package/dist/{breadcrumbs-R-MrRUAb.d.ts → breadcrumbs-DTHE6aca.d.ts} +2 -2
  4. package/dist/{component-5L-iyIZ6.js → component-2IFa97aV.js} +2 -2
  5. package/dist/{component-generics-BXUlfDmo.d.ts → component-generics-CXfH4VNh.d.ts} +2 -2
  6. package/dist/{component-generics-DK3L_HfT.d.ts → component-generics-Dbwqv7EL.d.ts} +2 -2
  7. package/dist/components/MaskedInput.d.ts +3 -3
  8. package/dist/components/MaskedInput.js +1 -1
  9. package/dist/components/breadcrumbs.d.ts +1 -1
  10. package/dist/components/breadcrumbs.js +2 -2
  11. package/dist/components/icons.d.ts +11 -11
  12. package/dist/components/index.d.ts +10 -10
  13. package/dist/components/index.js +10 -10
  14. package/dist/components/method.d.ts +2 -2
  15. package/dist/components/method.js +3 -3
  16. package/dist/components/overview.d.ts +1 -1
  17. package/dist/components/overview.js +3 -3
  18. package/dist/components/primitives.d.ts +1 -1
  19. package/dist/components/primitives.js +1 -1
  20. package/dist/components/properties.d.ts +1 -1
  21. package/dist/components/properties.js +1 -1
  22. package/dist/components/sdk.d.ts +1 -1
  23. package/dist/components/sdk.js +1 -1
  24. package/dist/components/sidebar.d.ts +1 -1
  25. package/dist/components/sidebar.js +1 -3
  26. package/dist/components/snippets.d.ts +2 -2
  27. package/dist/components/snippets.js +1 -1
  28. package/dist/{components-DuWqBogG.js → components-B6opXKh2.js} +8 -11
  29. package/dist/contexts/component-generics.d.ts +1 -1
  30. package/dist/contexts/component-types.d.ts +10 -10
  31. package/dist/contexts/component.d.ts +13 -13
  32. package/dist/contexts/component.js +18 -18
  33. package/dist/contexts/docs.d.ts +1 -1
  34. package/dist/contexts/index.d.ts +14 -14
  35. package/dist/contexts/markdown.d.ts +1 -1
  36. package/dist/contexts/navigation.d.ts +1 -1
  37. package/dist/contexts/use-components.d.ts +9 -9
  38. package/dist/{csharp-E3FbT47c.js → csharp-Cs2V5Q49.js} +1 -1
  39. package/dist/{docs-DXW3HLam.d.ts → docs-AUJrRqst.d.ts} +2 -2
  40. package/dist/{docs-Bbe2P0iM.d.ts → docs-BQbH-a6R.d.ts} +3 -3
  41. package/dist/{go-DNSFGJle.js → go-jtKybF5f.js} +1 -1
  42. package/dist/{http-DXRdcllM.js → http-ByTnZCdl.js} +3 -3
  43. package/dist/{index-CMjS_7Z-.d.ts → index-Bk5AWxiZ.d.ts} +30 -30
  44. package/dist/index-CBfCrZxK.d.ts +15 -0
  45. package/dist/index-CxTvYsqI.d.ts +15 -0
  46. package/dist/{index-B0GI632t.d.ts → index-DUvl24AZ.d.ts} +30 -30
  47. package/dist/index.d.ts +15 -15
  48. package/dist/index.js +18 -18
  49. package/dist/{java-X1yS0K52.js → java-CSfLt_jp.js} +1 -1
  50. package/dist/languages/csharp.d.ts +10 -10
  51. package/dist/languages/csharp.js +1 -1
  52. package/dist/languages/go.d.ts +10 -10
  53. package/dist/languages/go.js +1 -1
  54. package/dist/languages/http.d.ts +10 -10
  55. package/dist/languages/http.js +10 -10
  56. package/dist/languages/index.d.ts +10 -10
  57. package/dist/languages/index.js +17 -17
  58. package/dist/languages/java.d.ts +10 -10
  59. package/dist/languages/java.js +1 -1
  60. package/dist/languages/python.d.ts +10 -10
  61. package/dist/languages/python.js +1 -1
  62. package/dist/languages/ruby.d.ts +10 -10
  63. package/dist/languages/ruby.js +1 -1
  64. package/dist/languages/typescript.d.ts +10 -10
  65. package/dist/languages/typescript.js +1 -1
  66. package/dist/{languages-Ir9QQoCT.js → languages-X8bJZjuW.js} +7 -7
  67. package/dist/markdown/index.d.ts +1 -1
  68. package/dist/markdown/index.js +18 -18
  69. package/dist/markdown/printer.d.ts +1 -1
  70. package/dist/markdown/printer.js +19 -19
  71. package/dist/markdown/utils.d.ts +2 -2
  72. package/dist/{markdown-DlZBWMNG.d.ts → markdown-CqEZJJrZ.d.ts} +2 -2
  73. package/dist/{markdown-xEaREw5e.d.ts → markdown-V_bNKjle.d.ts} +2 -2
  74. package/dist/{method-nEcioXL5.js → method-BPsNdtwS.js} +10 -35
  75. package/dist/method-CD_dwBsB.d.ts +59 -0
  76. package/dist/method-CkGKALRi.d.ts +59 -0
  77. package/dist/{navigation-BO8IjmvM.d.ts → navigation-BlOvTCTX.d.ts} +2 -2
  78. package/dist/{navigation-C36vzOT-.d.ts → navigation-CXQA2RZo.d.ts} +3 -3
  79. package/dist/{overview-D_7o7P6l.js → overview-BslKVsRE.js} +3 -3
  80. package/dist/{overview-BI_asPrF.d.ts → overview-CVTaIlP6.d.ts} +6 -6
  81. package/dist/{overview-g0IyxCAY.d.ts → overview-DFrenwhf.d.ts} +6 -6
  82. package/dist/{primitives-Dk_RvOzh.js → primitives-CCj2Pn-o.js} +2 -2
  83. package/dist/{primitives-Bm0Cm3Xo.d.ts → primitives-Da9sUCQo.d.ts} +11 -11
  84. package/dist/{primitives-COZrZCWZ.d.ts → primitives-DiDzLHoK.d.ts} +11 -11
  85. package/dist/{properties-BGhVCqER.d.ts → properties-CEjSSMRr.d.ts} +5 -5
  86. package/dist/{properties-BqjMaZ-l.d.ts → properties-CXDSYNGL.d.ts} +5 -5
  87. package/dist/{properties-BTdEzx5f.js → properties-DhttBLpf.js} +1 -1
  88. package/dist/{python-DqdvqQ9I.js → python-BU7eaJMy.js} +1 -1
  89. package/dist/routing.d.ts +1 -1
  90. package/dist/{ruby-CHeld1ey.js → ruby-LiJ6VW-R.js} +1 -1
  91. package/dist/{sdk-tq-VoVQP.d.ts → sdk-CL6r5JlK.d.ts} +1 -1
  92. package/dist/{sdk-DEoUlY8I.js → sdk-CbNqFzOI.js} +2 -2
  93. package/dist/{sdk-DA3oRxHu.d.ts → sdk-CenwRRXT.d.ts} +14 -14
  94. package/dist/{sidebar-DZQPDV-z.d.ts → sidebar-BDwx6h14.d.ts} +5 -5
  95. package/dist/{sidebar-sPFdjATU.d.ts → sidebar-CcX4PdH0.d.ts} +5 -5
  96. package/dist/{sidebar-D_cK7JN_.js → sidebar-ZNWRDHyv.js} +7 -3
  97. package/dist/{snippets-BiXJx1BL.js → snippets-CO4kIovz.js} +6 -5
  98. package/dist/{snippets-CVckJDzp.d.ts → snippets-DePfv2T6.d.ts} +8 -8
  99. package/dist/{snippets-Dg6GX-e4.d.ts → snippets-ykHHsG1B.d.ts} +8 -8
  100. package/dist/spec.d.ts +3 -3
  101. package/dist/{style-cJZFOvnF.js → style-Vk87Pfuy.js} +0 -2
  102. package/dist/style.d.ts +0 -2
  103. package/dist/style.js +1 -1
  104. package/dist/styles/main.css +1 -26
  105. package/dist/styles/primitives.css +1 -1
  106. package/dist/styles/search.css +0 -9
  107. package/dist/styles/sidebar.css +0 -4
  108. package/dist/styles.css +152 -40
  109. package/dist/{typescript-C--P_L-R.js → typescript-C8J1uyak.js} +1 -1
  110. package/package.json +2 -2
  111. package/dist/index-C8y-QK_S.d.ts +0 -15
  112. package/dist/index-CXNWVE3S.d.ts +0 -15
  113. package/dist/method-BRfK1KuU.d.ts +0 -71
  114. package/dist/method-BUQRaC59.d.ts +0 -71
  115. package/dist/routing-o8okAfJK.d.ts +0 -54
@@ -0,0 +1,59 @@
1
+ import * as React$1 from "react";
2
+ import { ReactNode } from "react";
3
+ import * as react_jsx_runtime50 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_runtime50.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_runtime50.JSX.Element;
30
+ type MethodDescriptionProps = {
31
+ description?: string;
32
+ };
33
+ declare function MethodDescription({
34
+ description
35
+ }: MethodDescriptionProps): react_jsx_runtime50.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_runtime50.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_runtime50.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 };
@@ -1,6 +1,6 @@
1
1
  import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime72 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime33 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_runtime72.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime33.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-o8okAfJK.js";
1
+ import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime89 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_runtime0.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime89.JSX.Element;
28
28
  //#endregion
29
29
  export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,10 +1,10 @@
1
1
  import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-CXqi26jB.js";
2
2
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
3
3
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
4
- import { t as style_default } from "./style-cJZFOvnF.js";
5
- import { i as PropertyToggle } from "./properties-BTdEzx5f.js";
4
+ import { t as style_default } from "./style-Vk87Pfuy.js";
5
+ import { i as PropertyToggle } from "./properties-DhttBLpf.js";
6
6
  import { f as parseStainlessPath } from "./routing-Dl0FprK1.js";
7
- import { s as Markdown } from "./primitives-Dk_RvOzh.js";
7
+ import { s as Markdown } from "./primitives-CCj2Pn-o.js";
8
8
  import { n as getResourceFromSpec, t as flatResources } from "./utils-C12Fme2N.js";
9
9
  import * as React$1 from "react";
10
10
  import { createElement } from "react";
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime21 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime55 from "react/jsx-runtime";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/components/overview.d.ts
@@ -9,31 +9,31 @@ type SDKResourceProps = {
9
9
  declare function SDKResourceHeader({
10
10
  resource,
11
11
  parents
12
- }: SDKResourceProps): react_jsx_runtime21.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime55.JSX.Element | null;
13
13
  type SDKMethodSummaryProps = {
14
14
  method: SDKJSON.Method;
15
15
  };
16
16
  declare function SDKMethodSummary({
17
17
  method
18
- }: SDKMethodSummaryProps): react_jsx_runtime21.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime55.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_runtime21.JSX.Element;
25
+ }): react_jsx_runtime55.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: SDKJSON.Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime21.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime55.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime21.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime55.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,4 +1,4 @@
1
- import * as react_jsx_runtime11 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime51 from "react/jsx-runtime";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/components/overview.d.ts
@@ -9,31 +9,31 @@ type SDKResourceProps = {
9
9
  declare function SDKResourceHeader({
10
10
  resource,
11
11
  parents
12
- }: SDKResourceProps): react_jsx_runtime11.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime51.JSX.Element | null;
13
13
  type SDKMethodSummaryProps = {
14
14
  method: SDKJSON.Method;
15
15
  };
16
16
  declare function SDKMethodSummary({
17
17
  method
18
- }: SDKMethodSummaryProps): react_jsx_runtime11.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime51.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_runtime11.JSX.Element;
25
+ }): react_jsx_runtime51.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: SDKJSON.Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime11.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime51.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime11.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime51.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,12 +1,12 @@
1
1
  import { a as useLanguage, s as useSettings } from "./docs-CXqi26jB.js";
2
2
  import { n as useNavigation } from "./navigation-C5TN0SgC.js";
3
3
  import { a as useRenderMarkdown } from "./markdown-CxdeWgjV.js";
4
- import { t as style_default } from "./style-cJZFOvnF.js";
4
+ import { t as style_default } from "./style-Vk87Pfuy.js";
5
5
  import { o as generateRoute } from "./routing-Dl0FprK1.js";
6
6
  import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
7
7
  import { jsx, jsxs } from "react/jsx-runtime";
8
- import { MinusIcon, PlusIcon } from "lucide-react";
9
8
  import clsx from "clsx";
9
+ import { MinusIcon, PlusIcon } from "lucide-react";
10
10
 
11
11
  //#region src/components/primitives.tsx
12
12
  function Join({ items, limit, children }) {
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime16 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime56 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_runtime16.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime56.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_runtime16.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime56.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_runtime16.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime56.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime16.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime56.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_runtime16.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime56.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_runtime16.JSX.Element | null | undefined;
59
+ }: TooltipProps): string | number | bigint | boolean | react_jsx_runtime56.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
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_runtime16.JSX.Element | null | undefined;
70
+ }: LinkProps): string | number | bigint | boolean | react_jsx_runtime56.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;
@@ -78,7 +78,7 @@ declare function Input({
78
78
  right,
79
79
  ref,
80
80
  ...props
81
- }: InputProps): react_jsx_runtime16.JSX.Element;
81
+ }: InputProps): react_jsx_runtime56.JSX.Element;
82
82
  type ToggleButtonProps = {
83
83
  children?: ReactNode;
84
84
  selected?: boolean;
@@ -88,7 +88,7 @@ declare function ToggleButton({
88
88
  selected,
89
89
  ref,
90
90
  ...props
91
- }: ToggleButtonProps): react_jsx_runtime16.JSX.Element;
91
+ }: ToggleButtonProps): react_jsx_runtime56.JSX.Element;
92
92
  type ListViewProps<TItem> = {
93
93
  items: Array<TItem>;
94
94
  itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
@@ -99,6 +99,6 @@ declare function ListView<TItem>({
99
99
  itemDelegate,
100
100
  onSelectListItem,
101
101
  ...rest
102
- }: ListViewProps<TItem>): react_jsx_runtime16.JSX.Element;
102
+ }: ListViewProps<TItem>): react_jsx_runtime56.JSX.Element;
103
103
  //#endregion
104
104
  export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,6 +1,6 @@
1
1
  import * as react0 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime26 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime60 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_runtime26.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime60.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_runtime26.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime60.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_runtime26.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime60.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime26.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime60.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_runtime26.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime60.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_runtime26.JSX.Element | null | undefined;
59
+ }: TooltipProps): string | number | bigint | boolean | react_jsx_runtime60.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
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_runtime26.JSX.Element | null | undefined;
70
+ }: LinkProps): string | number | bigint | boolean | react_jsx_runtime60.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;
@@ -78,7 +78,7 @@ declare function Input({
78
78
  right,
79
79
  ref,
80
80
  ...props
81
- }: InputProps): react_jsx_runtime26.JSX.Element;
81
+ }: InputProps): react_jsx_runtime60.JSX.Element;
82
82
  type ToggleButtonProps = {
83
83
  children?: ReactNode;
84
84
  selected?: boolean;
@@ -88,7 +88,7 @@ declare function ToggleButton({
88
88
  selected,
89
89
  ref,
90
90
  ...props
91
- }: ToggleButtonProps): react_jsx_runtime26.JSX.Element;
91
+ }: ToggleButtonProps): react_jsx_runtime60.JSX.Element;
92
92
  type ListViewProps<TItem> = {
93
93
  items: Array<TItem>;
94
94
  itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
@@ -99,6 +99,6 @@ declare function ListView<TItem>({
99
99
  itemDelegate,
100
100
  onSelectListItem,
101
101
  ...rest
102
- }: ListViewProps<TItem>): react_jsx_runtime26.JSX.Element;
102
+ }: ListViewProps<TItem>): react_jsx_runtime60.JSX.Element;
103
103
  //#endregion
104
104
  export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import * as react_jsx_runtime26 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime70 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_runtime26.JSX.Element;
10
+ }: PropertyToggleProps): react_jsx_runtime70.JSX.Element;
11
11
  type PropertyDescriptionProps = {
12
12
  description?: string;
13
13
  };
14
14
  declare function PropertyDescription({
15
15
  description
16
- }: PropertyDescriptionProps): react_jsx_runtime26.JSX.Element | undefined;
16
+ }: PropertyDescriptionProps): react_jsx_runtime70.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_runtime26.JSX.Element | undefined;
22
+ }: PropertyTitleProps): react_jsx_runtime70.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_runtime26.JSX.Element;
52
+ }: PropertyProps): react_jsx_runtime70.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,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import * as react_jsx_runtime36 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime66 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_runtime36.JSX.Element;
10
+ }: PropertyToggleProps): react_jsx_runtime66.JSX.Element;
11
11
  type PropertyDescriptionProps = {
12
12
  description?: string;
13
13
  };
14
14
  declare function PropertyDescription({
15
15
  description
16
- }: PropertyDescriptionProps): react_jsx_runtime36.JSX.Element | undefined;
16
+ }: PropertyDescriptionProps): react_jsx_runtime66.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_runtime36.JSX.Element | undefined;
22
+ }: PropertyTitleProps): react_jsx_runtime66.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_runtime36.JSX.Element;
52
+ }: PropertyProps): react_jsx_runtime66.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
1
  import { a as useLanguage, s as useSettings } from "./docs-CXqi26jB.js";
2
2
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
3
- import { t as style_default } from "./style-cJZFOvnF.js";
3
+ import { t as style_default } from "./style-Vk87Pfuy.js";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
6
6
 
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./chunk-CAbhIZi1.js";
2
2
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
3
3
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
4
- import { t as style_default } from "./style-cJZFOvnF.js";
4
+ import { t as style_default } from "./style-Vk87Pfuy.js";
5
5
  import * as React$1 from "react";
6
6
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
7
7
 
package/dist/routing.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-o8okAfJK.js";
1
+ import { a as RouteEntry, b as updateHistory, c as expandToElement, d as generateRouteList, f as getLanguageSnippet, g as parseStainlessPath, h as parseRoute, i as ParsedStainlessPath, l as findNavigationPath, m as isSupportedLanguage, n as LanguageNames, o as SpecTreeEntry, p as getResource, r as Languages, s as SupportedLanguageSyntaxes, t as DocsLanguage, u as generateRoute, v as scrollToPath, x as walkTree, y as trimStainlessPath } from "./routing-CUnVDpU-.js";
2
2
  export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./chunk-CAbhIZi1.js";
2
2
  import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-CXqi26jB.js";
3
3
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
4
4
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
5
- import { t as style_default } from "./style-cJZFOvnF.js";
5
+ import { t as style_default } from "./style-Vk87Pfuy.js";
6
6
  import * as React$1 from "react";
7
7
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
8
8
 
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
98
98
  declare function SDKReference({
99
99
  stainlessPath,
100
100
  children
101
- }: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime34.JSX.Element | null | undefined;
101
+ }: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime34.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
102
102
  type SDKLanguageBlockProps = {
103
103
  language: DocsLanguage;
104
104
  version: string;
@@ -2,13 +2,13 @@ import { a as useLanguage, l as useSpec, n as useContentPanelLayout, r as useDec
2
2
  import { n as useNavigation } from "./navigation-C5TN0SgC.js";
3
3
  import { n as useLanguageComponents } from "./contexts-CLpvBI91.js";
4
4
  import { t as useComponents } from "./use-components-DBx5LZk0.js";
5
- import { t as style_default } from "./style-cJZFOvnF.js";
5
+ import { t as style_default } from "./style-Vk87Pfuy.js";
6
6
  import { c as getLanguageSnippet, t as LanguageNames } from "./routing-Dl0FprK1.js";
7
7
  import { a as KotlinIcon, c as RubyIcon, i as JavaIcon, l as TerraformIcon, n as CurlIcon, o as PowershellIcon, r as GoIcon, s as PythonIcon, t as CSharpIcon, u as TypescriptIcon } from "./icons-Ckod9aod.js";
8
8
  import * as React$1 from "react";
9
9
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
10
- import { BookOpen, Copy, Github } from "lucide-react";
11
10
  import clsx from "clsx";
11
+ import { BookOpen, Copy, Github } from "lucide-react";
12
12
  import { Button, Callout } from "@stainless-api/ui-primitives";
13
13
 
14
14
  //#region src/components/sdk.tsx
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-o8okAfJK.js";
1
+ import { t as DocsLanguage } from "./routing-CUnVDpU-.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime40 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime74 from "react/jsx-runtime";
4
4
  import * as SDKJSON from "@stainless/sdk-json";
5
5
 
6
6
  //#region src/components/sdk.d.ts
@@ -33,7 +33,7 @@ declare function SDKChildren({
33
33
  paths,
34
34
  expand,
35
35
  depth
36
- }: SDKChildrenProps): react_jsx_runtime40.JSX.Element;
36
+ }: SDKChildrenProps): react_jsx_runtime74.JSX.Element;
37
37
  type SDKDeclarationProps = {
38
38
  path: string;
39
39
  expand?: boolean;
@@ -43,26 +43,26 @@ declare function SDKDeclaration({
43
43
  path,
44
44
  expand,
45
45
  depth
46
- }: SDKDeclarationProps): react_jsx_runtime40.JSX.Element;
46
+ }: SDKDeclarationProps): react_jsx_runtime74.JSX.Element;
47
47
  type SDKConstraintsProps = {
48
48
  constraints?: Record<string, any>;
49
49
  };
50
50
  declare function SDKConstraints({
51
51
  constraints
52
- }: SDKConstraintsProps): react_jsx_runtime40.JSX.Element | undefined;
52
+ }: SDKConstraintsProps): react_jsx_runtime74.JSX.Element | undefined;
53
53
  type SDKIconProps = {
54
54
  language: SDKJSON.SnippetLanguage;
55
55
  size?: number;
56
56
  };
57
57
  declare function SDKIcon({
58
58
  language
59
- }: SDKIconProps): react_jsx_runtime40.JSX.Element | null;
59
+ }: SDKIconProps): react_jsx_runtime74.JSX.Element | null;
60
60
  type SDKRequestTitleProps = {
61
61
  snippetLanguage: SDKJSON.SnippetLanguage;
62
62
  };
63
63
  declare function SDKRequestTitle({
64
64
  snippetLanguage
65
- }: SDKRequestTitleProps): react_jsx_runtime40.JSX.Element;
65
+ }: SDKRequestTitleProps): react_jsx_runtime74.JSX.Element;
66
66
  type SDKExampleProps = {
67
67
  method: SDKJSON.Method;
68
68
  transformRequestSnippet?: TransformRequestSnippetFn;
@@ -70,27 +70,27 @@ type SDKExampleProps = {
70
70
  declare function SDKExample({
71
71
  method,
72
72
  transformRequestSnippet
73
- }: SDKExampleProps): react_jsx_runtime40.JSX.Element;
73
+ }: SDKExampleProps): react_jsx_runtime74.JSX.Element;
74
74
  type SDKMethodProps = {
75
75
  method: SDKJSON.Method;
76
76
  transformRequestSnippet?: TransformRequestSnippetFn;
77
77
  };
78
78
  declare function SDKMethodHeader({
79
79
  method
80
- }: SDKMethodProps): react_jsx_runtime40.JSX.Element;
80
+ }: SDKMethodProps): react_jsx_runtime74.JSX.Element;
81
81
  declare function SDKMethodInfo({
82
82
  method
83
- }: SDKMethodProps): react_jsx_runtime40.JSX.Element;
83
+ }: SDKMethodProps): react_jsx_runtime74.JSX.Element;
84
84
  declare function SDKMethod({
85
85
  method,
86
86
  transformRequestSnippet
87
- }: SDKMethodProps): react_jsx_runtime40.JSX.Element;
87
+ }: SDKMethodProps): react_jsx_runtime74.JSX.Element;
88
88
  type SDKModelProps = {
89
89
  model: SDKJSON.Model;
90
90
  };
91
91
  declare function SDKModel({
92
92
  model
93
- }: SDKModelProps): react_jsx_runtime40.JSX.Element | null;
93
+ }: SDKModelProps): react_jsx_runtime74.JSX.Element | null;
94
94
  type SDKReferenceProps = {
95
95
  stainlessPath: string;
96
96
  children?: React$1.ReactNode;
@@ -98,7 +98,7 @@ type SDKReferenceProps = {
98
98
  declare function SDKReference({
99
99
  stainlessPath,
100
100
  children
101
- }: SDKReferenceProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime40.JSX.Element | null | undefined;
101
+ }: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime74.JSX.Element | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | null | undefined;
102
102
  type SDKLanguageBlockProps = {
103
103
  language: DocsLanguage;
104
104
  version: string;
@@ -113,6 +113,6 @@ declare function SDKLanguageBlock({
113
113
  version,
114
114
  install,
115
115
  links
116
- }: SDKLanguageBlockProps): react_jsx_runtime40.JSX.Element;
116
+ }: SDKLanguageBlockProps): react_jsx_runtime74.JSX.Element;
117
117
  //#endregion
118
118
  export { TransformRequestSnippetFn as C, SDKSnippetLanguagesType as S, useReferenceNesting as T, SDKModelProps as _, SDKChildren as a, SDKRequestTitleProps as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKModel as g, SDKMethodProps as h, ReferenceNestingContextType as i, SDKExample as l, SDKMethodInfo as m, PropertyModelContextType as n, SDKConstraints as o, SDKMethodHeader as p, ReferenceNestingContext as r, SDKConstraintsProps as s, PropertyModelContext as t, SDKIcon as u, SDKReference as v, usePropertyModel as w, SDKSnippetLanguages as x, SDKRequestTitle as y };