@stainless-api/docs-ui 0.1.0-beta.47 → 0.1.0-beta.48

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 (87) hide show
  1. package/dist/{breadcrumbs-Bg3nNgu9.d.ts → breadcrumbs-TNRag6Vy.d.ts} +2 -2
  2. package/dist/{component-generics-DrrwsjTH.d.ts → component-generics-Cs7jFHLq.d.ts} +2 -2
  3. package/dist/components/MaskedInput.d.ts +1 -1
  4. package/dist/components/breadcrumbs.d.ts +1 -1
  5. package/dist/components/breadcrumbs.js +0 -4
  6. package/dist/components/icons.d.ts +11 -11
  7. package/dist/components/index.d.ts +9 -10
  8. package/dist/components/index.js +0 -4
  9. package/dist/components/method.d.ts +1 -1
  10. package/dist/components/method.js +0 -4
  11. package/dist/components/overview.d.ts +1 -1
  12. package/dist/components/overview.js +0 -4
  13. package/dist/components/primitives.d.ts +1 -1
  14. package/dist/components/primitives.js +0 -4
  15. package/dist/components/properties.d.ts +1 -1
  16. package/dist/components/properties.js +0 -4
  17. package/dist/components/sdk.d.ts +1 -2
  18. package/dist/components/sdk.js +0 -4
  19. package/dist/components/sidebar.d.ts +1 -1
  20. package/dist/components/sidebar.js +0 -4
  21. package/dist/components/snippets.d.ts +2 -3
  22. package/dist/components/snippets.js +0 -4
  23. package/dist/contexts/component-generics.d.ts +1 -1
  24. package/dist/contexts/component-types.d.ts +10 -11
  25. package/dist/contexts/component.d.ts +11 -12
  26. package/dist/contexts/component.js +0 -4
  27. package/dist/contexts/index.d.ts +15 -17
  28. package/dist/contexts/index.js +0 -4
  29. package/dist/contexts/markdown.d.ts +1 -1
  30. package/dist/contexts/navigation.d.ts +1 -2
  31. package/dist/contexts/search.d.ts +1 -3
  32. package/dist/contexts/search.js +0 -4
  33. package/dist/contexts/use-components.d.ts +9 -10
  34. package/dist/{index-CTSOZqei.d.ts → index-BPQVqZ6-.d.ts} +30 -30
  35. package/dist/{index-Bt01VI67.d.ts → index-D_zoydBM.d.ts} +5 -5
  36. package/dist/{index-CeFeLPGr.d.ts → index-Dt1TxDPe.d.ts} +8 -8
  37. package/dist/index.d.ts +16 -17
  38. package/dist/index.js +0 -1
  39. package/dist/languages/csharp.d.ts +10 -11
  40. package/dist/languages/csharp.js +0 -4
  41. package/dist/languages/go.d.ts +10 -11
  42. package/dist/languages/go.js +0 -4
  43. package/dist/languages/http.d.ts +10 -11
  44. package/dist/languages/http.js +0 -4
  45. package/dist/languages/index.d.ts +10 -11
  46. package/dist/languages/index.js +0 -4
  47. package/dist/languages/java.d.ts +10 -11
  48. package/dist/languages/java.js +0 -4
  49. package/dist/languages/python.d.ts +10 -11
  50. package/dist/languages/python.js +0 -4
  51. package/dist/languages/ruby.d.ts +10 -11
  52. package/dist/languages/ruby.js +0 -4
  53. package/dist/languages/typescript.d.ts +10 -11
  54. package/dist/languages/typescript.js +0 -4
  55. package/dist/markdown/index.d.ts +2 -3
  56. package/dist/markdown/index.js +0 -4
  57. package/dist/markdown/utils.d.ts +2 -3
  58. package/dist/{markdown-COcowhve.d.ts → markdown-J4fsbXbi.d.ts} +2 -2
  59. package/dist/{method-DI8ARQ3m.d.ts → method-uqti5jIi.d.ts} +7 -7
  60. package/dist/{navigation-Cg69h_9U.d.ts → navigation-DztmhdsO.d.ts} +3 -3
  61. package/dist/{overview-Bv43Hf_w.d.ts → overview-CXiAiRu3.d.ts} +6 -6
  62. package/dist/{primitives-Br-H_CYo.d.ts → primitives-CS8fdjfv.d.ts} +9 -9
  63. package/dist/{properties-RPXKwEeY.d.ts → properties-Bf600pp5.d.ts} +5 -5
  64. package/dist/{routing-nN1nc0jx.d.ts → routing-BcGPNh2R.d.ts} +1 -1
  65. package/dist/routing.d.ts +1 -1
  66. package/dist/{sdk-Ck0IERc7.d.ts → sdk-CuOpWo9I.d.ts} +14 -14
  67. package/dist/search/index.d.ts +1 -2
  68. package/dist/search/index.js +0 -2
  69. package/dist/search/mcp.d.ts +2 -2
  70. package/dist/search/mcp.js +0 -2
  71. package/dist/search/providers/algolia.d.ts +1 -2
  72. package/dist/search/providers/algolia.js +0 -4
  73. package/dist/search/providers/fuse.d.ts +2 -2
  74. package/dist/search/providers/fuse.js +0 -3
  75. package/dist/search/providers/pagefind.d.ts +1 -2
  76. package/dist/search/providers/walker.d.ts +2 -2
  77. package/dist/search/providers/walker.js +0 -3
  78. package/dist/search/types.d.ts +1 -2
  79. package/dist/{search-B9SJyFXg.d.ts → search-DvzBAFUW.d.ts} +3 -3
  80. package/dist/{sidebar-b3y7VIbU.d.ts → sidebar-CqfIoVcr.d.ts} +5 -5
  81. package/dist/{snippets-XTXit9Ya.d.ts → snippets-BwifQYD4.d.ts} +8 -8
  82. package/dist/spec.d.ts +1 -1
  83. package/dist/styles.css +1094 -0
  84. package/dist/{types-D7Ipu1J2.d.ts → types-9YHj_ZeX.d.ts} +1 -1
  85. package/dist/{utils-CJElSUwc.d.ts → utils-DAOeBdRL.d.ts} +2 -2
  86. package/dist/utils.js +0 -1
  87. package/package.json +2 -2
@@ -1,6 +1,5 @@
1
- import "../routing-nN1nc0jx.js";
2
- import "../sdk-Ck0IERc7.js";
3
- import { t as EnvironmentType } from "../utils-CJElSUwc.js";
1
+ import "../sdk-CuOpWo9I.js";
2
+ import { t as EnvironmentType } from "../utils-DAOeBdRL.js";
4
3
  import { Node } from "@markdoc/markdoc";
5
4
  import * as SDKJSON from "@stainless/sdk-json";
6
5
 
@@ -2,14 +2,10 @@ import "../docs-CNvEp0VL.js";
2
2
  import "../component-generics-F0_Dx7UT.js";
3
3
  import "../navigation-bydkHNUW.js";
4
4
  import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
5
  import "../use-components-BAHidYIO.js";
8
6
  import { d as declaration, f as render, p as renderMarkdown } from "../contexts-D3ClFTt3.js";
9
7
  import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
8
  import "../md-D5AxFoS4.js";
12
9
  import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
14
10
 
15
11
  export { declaration, render, renderMarkdown };
@@ -1,4 +1,3 @@
1
- import "../routing-nN1nc0jx.js";
2
- import "../sdk-Ck0IERc7.js";
3
- import { i as stripMarkup, n as getDecl, r as getSnippet, t as EnvironmentType } from "../utils-CJElSUwc.js";
1
+ import "../sdk-CuOpWo9I.js";
2
+ import { i as stripMarkup, n as getDecl, r as getSnippet, t as EnvironmentType } from "../utils-DAOeBdRL.js";
4
3
  export { EnvironmentType, getDecl, getSnippet, stripMarkup };
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime59 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_runtime0.JSX.Element;
20
+ }: MarkdownProviderProps): react_jsx_runtime59.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_runtime12 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime42 from "react/jsx-runtime";
4
4
  import { LucideIcon } from "lucide-react";
5
5
 
6
6
  //#region src/components/method.d.ts
@@ -14,7 +14,7 @@ type MethodIconProps = {
14
14
  declare function MethodIconBadge({
15
15
  httpMethod,
16
16
  showName
17
- }: MethodIconProps): react_jsx_runtime12.JSX.Element | null;
17
+ }: MethodIconProps): react_jsx_runtime42.JSX.Element | null;
18
18
  type MethodHeaderProps = {
19
19
  title: ReactNode;
20
20
  level?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5';
@@ -28,7 +28,7 @@ declare function MethodHeader({
28
28
  signature,
29
29
  children,
30
30
  level
31
- }: MethodHeaderProps): react_jsx_runtime12.JSX.Element;
31
+ }: MethodHeaderProps): react_jsx_runtime42.JSX.Element;
32
32
  type MethodRouteProps = {
33
33
  httpMethod?: string;
34
34
  endpoint?: string | ReactNode;
@@ -38,13 +38,13 @@ declare function MethodRoute({
38
38
  httpMethod,
39
39
  endpoint,
40
40
  iconOnly
41
- }: MethodRouteProps): react_jsx_runtime12.JSX.Element;
41
+ }: MethodRouteProps): react_jsx_runtime42.JSX.Element;
42
42
  type MethodDescriptionProps = {
43
43
  description?: string;
44
44
  };
45
45
  declare function MethodDescription({
46
46
  description
47
- }: MethodDescriptionProps): react_jsx_runtime12.JSX.Element | undefined;
47
+ }: MethodDescriptionProps): react_jsx_runtime42.JSX.Element | undefined;
48
48
  type MethodInfoProps = {
49
49
  children?: ReactNode;
50
50
  parameters?: ReactNode;
@@ -54,7 +54,7 @@ declare function MethodInfo({
54
54
  children,
55
55
  parameters,
56
56
  returns
57
- }: MethodInfoProps): react_jsx_runtime12.JSX.Element;
57
+ }: MethodInfoProps): react_jsx_runtime42.JSX.Element;
58
58
  type MethodProps = {
59
59
  id?: string;
60
60
  header?: ReactNode;
@@ -66,6 +66,6 @@ declare function Method({
66
66
  children,
67
67
  className,
68
68
  ...props
69
- }: MethodProps): react_jsx_runtime12.JSX.Element;
69
+ }: MethodProps): react_jsx_runtime42.JSX.Element;
70
70
  //#endregion
71
71
  export { MethodDescription as a, MethodHeaderProps as c, MethodInfo as d, MethodInfoProps as f, MethodRouteProps as h, Method as i, MethodIconBadge as l, MethodRoute as m, HttpMethodIcons as n, MethodDescriptionProps as o, MethodProps as p, HttpMethods as r, MethodHeader as s, HTTPMethod as t, MethodIconProps as u };
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-nN1nc0jx.js";
1
+ import { t as DocsLanguage } from "./routing-BcGPNh2R.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime63 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime73 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_runtime63.JSX.Element;
27
+ }: NavigationProviderProps): react_jsx_runtime73.JSX.Element;
28
28
  //#endregion
29
29
  export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime18 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime10 from "react/jsx-runtime";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/components/overview.d.ts
@@ -9,31 +9,31 @@ type SDKResourceProps = {
9
9
  declare function SDKResourceHeader({
10
10
  resource,
11
11
  parents
12
- }: SDKResourceProps): react_jsx_runtime18.JSX.Element | null;
12
+ }: SDKResourceProps): react_jsx_runtime10.JSX.Element | null;
13
13
  type SDKMethodSummaryProps = {
14
14
  method: SDKJSON.Method;
15
15
  };
16
16
  declare function SDKMethodSummary({
17
17
  method
18
- }: SDKMethodSummaryProps): react_jsx_runtime18.JSX.Element;
18
+ }: SDKMethodSummaryProps): react_jsx_runtime10.JSX.Element;
19
19
  declare function SDKResource({
20
20
  resource,
21
21
  parents,
22
22
  showModels
23
23
  }: SDKResourceProps & {
24
24
  showModels?: boolean;
25
- }): react_jsx_runtime18.JSX.Element;
25
+ }): react_jsx_runtime10.JSX.Element;
26
26
  type SDKOverviewProps = {
27
27
  resource: SDKJSON.Resource;
28
28
  };
29
29
  declare function SDKOverview({
30
30
  resource
31
- }: SDKOverviewProps): react_jsx_runtime18.JSX.Element;
31
+ }: SDKOverviewProps): react_jsx_runtime10.JSX.Element;
32
32
  type SDKRootProps = {
33
33
  stainlessPath: string;
34
34
  };
35
35
  declare function SDKRoot({
36
36
  stainlessPath
37
- }: SDKRootProps): react_jsx_runtime18.JSX.Element | null;
37
+ }: SDKRootProps): react_jsx_runtime10.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 React$1 from "react";
2
2
  import { ReactNode } from "react";
3
- import * as react_jsx_runtime23 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime49 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/components/primitives.d.ts
6
6
  type JoinProps = {
@@ -12,7 +12,7 @@ declare function Join({
12
12
  items,
13
13
  limit,
14
14
  children
15
- }: JoinProps): react_jsx_runtime23.JSX.Element[];
15
+ }: JoinProps): react_jsx_runtime49.JSX.Element[];
16
16
  type ExpanderProps = {
17
17
  id?: string;
18
18
  open?: boolean;
@@ -28,19 +28,19 @@ declare function Expander({
28
28
  virtual,
29
29
  muted,
30
30
  children
31
- }: ExpanderProps): react_jsx_runtime23.JSX.Element;
31
+ }: ExpanderProps): react_jsx_runtime49.JSX.Element;
32
32
  declare function VirtualExpander({
33
33
  id,
34
34
  open: isOpen,
35
35
  muted,
36
36
  summary,
37
37
  children
38
- }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime23.JSX.Element;
38
+ }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime49.JSX.Element;
39
39
  declare function Markdown({
40
40
  content
41
41
  }: {
42
42
  content: string;
43
- }): "" | react_jsx_runtime23.JSX.Element | undefined;
43
+ }): "" | react_jsx_runtime49.JSX.Element | undefined;
44
44
  type BadgeProps = {
45
45
  id: string;
46
46
  children?: ReactNode;
@@ -48,7 +48,7 @@ type BadgeProps = {
48
48
  declare function Badge({
49
49
  id,
50
50
  children
51
- }: BadgeProps): react_jsx_runtime23.JSX.Element;
51
+ }: BadgeProps): react_jsx_runtime49.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<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
59
+ }: TooltipProps): string | number | bigint | boolean | Iterable<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_runtime49.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<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
70
+ }: LinkProps): string | number | bigint | boolean | Iterable<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_runtime49.JSX.Element | null | undefined;
71
71
  type InputProps = {
72
72
  left?: ReactNode;
73
73
  right?: ReactNode;
@@ -92,6 +92,6 @@ declare function ListView<TItem>({
92
92
  itemDelegate,
93
93
  onSelectListItem,
94
94
  ...rest
95
- }: ListViewProps<TItem>): react_jsx_runtime23.JSX.Element;
95
+ }: ListViewProps<TItem>): react_jsx_runtime49.JSX.Element;
96
96
  //#endregion
97
97
  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_runtime31 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime15 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_runtime31.JSX.Element;
10
+ }: PropertyToggleProps): react_jsx_runtime15.JSX.Element;
11
11
  type PropertyDescriptionProps = {
12
12
  description?: string;
13
13
  };
14
14
  declare function PropertyDescription({
15
15
  description
16
- }: PropertyDescriptionProps): react_jsx_runtime31.JSX.Element | undefined;
16
+ }: PropertyDescriptionProps): react_jsx_runtime15.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_runtime31.JSX.Element | undefined;
22
+ }: PropertyTitleProps): react_jsx_runtime15.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_runtime31.JSX.Element;
52
+ }: PropertyProps): react_jsx_runtime15.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 };
@@ -8,7 +8,7 @@ declare const Languages: readonly ["http", "node", "python", "go", "typescript",
8
8
  declare const SupportedLanguageSyntaxes: string[];
9
9
  type DocsLanguage = (typeof Languages)[number];
10
10
  declare const LanguageNames: Record<DocsLanguage, string>;
11
- declare function getLanguageSnippet(language: DocsLanguage): "http.curl" | "node.default" | "go.default" | "python.default" | "terraform.default" | "typescript.default" | "ruby.default" | "java.default" | "kotlin.default" | "csharp.default" | "php.default";
11
+ declare function getLanguageSnippet(language: DocsLanguage): "node.default" | "go.default" | "python.default" | "terraform.default" | "http.curl" | "typescript.default" | "ruby.default" | "java.default" | "kotlin.default" | "csharp.default" | "php.default";
12
12
  declare function isSupportedLanguage(language: string): language is DocsLanguage;
13
13
  type ParsedStainlessPath = ReturnType<typeof parseStainlessPath>;
14
14
  declare function parseStainlessPath(stainlessPath: string): {
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-nN1nc0jx.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-BcGPNh2R.js";
2
2
  export { DocsLanguage, LanguageNames, Languages, ParsedStainlessPath, RouteEntry, SpecTreeEntry, SupportedLanguageSyntaxes, expandToElement, findNavigationPath, generateRoute, generateRouteList, getLanguageSnippet, getResource, isSupportedLanguage, parseRoute, parseStainlessPath, scrollToPath, trimStainlessPath, updateHistory, walkTree };
@@ -1,6 +1,6 @@
1
- import { t as DocsLanguage } from "./routing-nN1nc0jx.js";
1
+ import { t as DocsLanguage } from "./routing-BcGPNh2R.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime35 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime19 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_runtime35.JSX.Element;
36
+ }: SDKChildrenProps): react_jsx_runtime19.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_runtime35.JSX.Element;
46
+ }: SDKDeclarationProps): react_jsx_runtime19.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_runtime35.JSX.Element | undefined;
52
+ }: SDKConstraintsProps): react_jsx_runtime19.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_runtime35.JSX.Element | null;
59
+ }: SDKIconProps): react_jsx_runtime19.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_runtime35.JSX.Element;
65
+ }: SDKRequestTitleProps): react_jsx_runtime19.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_runtime35.JSX.Element;
73
+ }: SDKExampleProps): react_jsx_runtime19.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_runtime35.JSX.Element;
80
+ }: SDKMethodProps): react_jsx_runtime19.JSX.Element;
81
81
  declare function SDKMethodInfo({
82
82
  method
83
- }: SDKMethodProps): react_jsx_runtime35.JSX.Element;
83
+ }: SDKMethodProps): react_jsx_runtime19.JSX.Element;
84
84
  declare function SDKMethod({
85
85
  method,
86
86
  transformRequestSnippet
87
- }: SDKMethodProps): react_jsx_runtime35.JSX.Element;
87
+ }: SDKMethodProps): react_jsx_runtime19.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_runtime35.JSX.Element | null;
93
+ }: SDKModelProps): react_jsx_runtime19.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_runtime35.JSX.Element | null | undefined;
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_runtime19.JSX.Element | 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_runtime35.JSX.Element;
116
+ }: SDKLanguageBlockProps): react_jsx_runtime19.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 };
@@ -1,5 +1,4 @@
1
- import "../routing-nN1nc0jx.js";
2
- import { l as QueryKindsType, u as ResultData } from "../types-D7Ipu1J2.js";
1
+ import { l as QueryKindsType, u as ResultData } from "../types-9YHj_ZeX.js";
3
2
  import * as react_jsx_runtime90 from "react/jsx-runtime";
4
3
 
5
4
  //#region src/search/form.d.ts
@@ -2,12 +2,10 @@ import { a as useLanguage } from "../docs-CNvEp0VL.js";
2
2
  import "../component-generics-F0_Dx7UT.js";
3
3
  import "../navigation-bydkHNUW.js";
4
4
  import "../markdown-Bx-mQFEj.js";
5
- import "../routing-BGBmkDBL.js";
6
5
  import { t as style_default } from "../style-0miv2y38.js";
7
6
  import { t as useComponents } from "../use-components-BAHidYIO.js";
8
7
  import { a as useSearchContext, i as useSearch } from "../contexts-D3ClFTt3.js";
9
8
  import "../icons-DzBceOQw.js";
10
- import "../utils-0z34vxY4.js";
11
9
  import "../md-D5AxFoS4.js";
12
10
  import "../utils-CiZXDoFR.js";
13
11
  import { t as QueryKinds } from "../types-mRzd9aqe.js";
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "../routing-nN1nc0jx.js";
2
- import { n as IndexEntry, r as IndexMethod } from "../types-D7Ipu1J2.js";
1
+ import { t as DocsLanguage } from "../routing-BcGPNh2R.js";
2
+ import { n as IndexEntry, r as IndexMethod } from "../types-9YHj_ZeX.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/search/indexer.d.ts
@@ -3,14 +3,12 @@ import "../component-generics-F0_Dx7UT.js";
3
3
  import "../navigation-bydkHNUW.js";
4
4
  import "../markdown-Bx-mQFEj.js";
5
5
  import { f as parseStainlessPath } from "../routing-BGBmkDBL.js";
6
- import "../style-0miv2y38.js";
7
6
  import "../use-components-BAHidYIO.js";
8
7
  import { p as renderMarkdown, u as generateIndex } from "../contexts-D3ClFTt3.js";
9
8
  import "../icons-DzBceOQw.js";
10
9
  import { n as getResourceFromSpec } from "../utils-0z34vxY4.js";
11
10
  import "../md-D5AxFoS4.js";
12
11
  import "../utils-CiZXDoFR.js";
13
- import "../types-mRzd9aqe.js";
14
12
 
15
13
  //#region src/search/mcp.ts
16
14
  function consolidate(results) {
@@ -1,5 +1,4 @@
1
- import "../../routing-nN1nc0jx.js";
2
- import { f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../../types-D7Ipu1J2.js";
1
+ import { f as ResultType, g as SearchSettings, h as SearchParams, s as ProseIndexEntry } from "../../types-9YHj_ZeX.js";
3
2
  import * as SDKJSON from "@stainless/sdk-json";
4
3
 
5
4
  //#region src/search/providers/algolia.d.ts
@@ -2,14 +2,10 @@ import "../../docs-CNvEp0VL.js";
2
2
  import "../../component-generics-F0_Dx7UT.js";
3
3
  import "../../navigation-bydkHNUW.js";
4
4
  import "../../markdown-Bx-mQFEj.js";
5
- import "../../routing-BGBmkDBL.js";
6
- import "../../style-0miv2y38.js";
7
5
  import "../../use-components-BAHidYIO.js";
8
6
  import { c as buildProseIndex, l as search, o as buildChatIndex, s as buildIndex } from "../../contexts-D3ClFTt3.js";
9
7
  import "../../icons-DzBceOQw.js";
10
- import "../../utils-0z34vxY4.js";
11
8
  import "../../md-D5AxFoS4.js";
12
9
  import "../../utils-CiZXDoFR.js";
13
- import "../../types-mRzd9aqe.js";
14
10
 
15
11
  export { buildChatIndex, buildIndex, buildProseIndex, search };
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "../../routing-nN1nc0jx.js";
2
- import { n as IndexEntry } from "../../types-D7Ipu1J2.js";
1
+ import { t as DocsLanguage } from "../../routing-BcGPNh2R.js";
2
+ import { n as IndexEntry } from "../../types-9YHj_ZeX.js";
3
3
  import * as fuse_js0 from "fuse.js";
4
4
  import { FuseIndex } from "fuse.js";
5
5
  import * as SDKJSON from "@stainless/sdk-json";
@@ -2,12 +2,9 @@ import "../../docs-CNvEp0VL.js";
2
2
  import "../../component-generics-F0_Dx7UT.js";
3
3
  import "../../navigation-bydkHNUW.js";
4
4
  import "../../markdown-Bx-mQFEj.js";
5
- import "../../routing-BGBmkDBL.js";
6
- import "../../style-0miv2y38.js";
7
5
  import "../../use-components-BAHidYIO.js";
8
6
  import { u as generateIndex } from "../../contexts-D3ClFTt3.js";
9
7
  import "../../icons-DzBceOQw.js";
10
- import "../../utils-0z34vxY4.js";
11
8
  import "../../md-D5AxFoS4.js";
12
9
  import "../../utils-CiZXDoFR.js";
13
10
  import { n as SearchableAttributes } from "../../types-mRzd9aqe.js";
@@ -1,5 +1,4 @@
1
- import "../../routing-nN1nc0jx.js";
2
- import { t as GuideResultType } from "../../types-D7Ipu1J2.js";
1
+ import { t as GuideResultType } from "../../types-9YHj_ZeX.js";
3
2
 
4
3
  //#region src/search/providers/pagefind.d.ts
5
4
  declare function guideSearch(loadPath: string, query: string, limit?: number): Promise<GuideResultType[]>;
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "../../routing-nN1nc0jx.js";
2
- import { n as IndexEntry } from "../../types-D7Ipu1J2.js";
1
+ import { t as DocsLanguage } from "../../routing-BcGPNh2R.js";
2
+ import { n as IndexEntry } from "../../types-9YHj_ZeX.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/search/providers/walker.d.ts
@@ -2,12 +2,9 @@ import "../../docs-CNvEp0VL.js";
2
2
  import "../../component-generics-F0_Dx7UT.js";
3
3
  import "../../navigation-bydkHNUW.js";
4
4
  import "../../markdown-Bx-mQFEj.js";
5
- import "../../routing-BGBmkDBL.js";
6
- import "../../style-0miv2y38.js";
7
5
  import "../../use-components-BAHidYIO.js";
8
6
  import { u as generateIndex } from "../../contexts-D3ClFTt3.js";
9
7
  import "../../icons-DzBceOQw.js";
10
- import "../../utils-0z34vxY4.js";
11
8
  import "../../md-D5AxFoS4.js";
12
9
  import "../../utils-CiZXDoFR.js";
13
10
  import { n as SearchableAttributes } from "../../types-mRzd9aqe.js";
@@ -1,3 +1,2 @@
1
- import "../routing-nN1nc0jx.js";
2
- import { _ as SearchableAttributes, a as IndexProperty, c as QueryKinds, d as ResultRecordType, f as ResultType, g as SearchSettings, h as SearchParams, i as IndexModel, l as QueryKindsType, m as SearchAttributeNames, n as IndexEntry, o as IndexResource, p as RoutableJsonNode, r as IndexMethod, s as ProseIndexEntry, t as GuideResultType, u as ResultData, v as SearchableAttributesChat, y as SearchableAttributesProse } from "../types-D7Ipu1J2.js";
1
+ import { _ as SearchableAttributes, a as IndexProperty, c as QueryKinds, d as ResultRecordType, f as ResultType, g as SearchSettings, h as SearchParams, i as IndexModel, l as QueryKindsType, m as SearchAttributeNames, n as IndexEntry, o as IndexResource, p as RoutableJsonNode, r as IndexMethod, s as ProseIndexEntry, t as GuideResultType, u as ResultData, v as SearchableAttributesChat, y as SearchableAttributesProse } from "../types-9YHj_ZeX.js";
3
2
  export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, ProseIndexEntry, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, SearchableAttributes, SearchableAttributesChat, SearchableAttributesProse };
@@ -1,6 +1,6 @@
1
- import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-D7Ipu1J2.js";
1
+ import { f as ResultType, g as SearchSettings, h as SearchParams } from "./types-9YHj_ZeX.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime60 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/contexts/search.d.ts
6
6
  type SearchContextType = {
@@ -16,6 +16,6 @@ type SearchProviderProps = SearchContextType & {
16
16
  declare function SearchProvider({
17
17
  children,
18
18
  ...props
19
- }: SearchProviderProps): react_jsx_runtime64.JSX.Element;
19
+ }: SearchProviderProps): react_jsx_runtime60.JSX.Element;
20
20
  //#endregion
21
21
  export { useSearchContext as a, useSearch as i, SearchProvider as n, SearchProviderProps as r, SearchContextType as t };
@@ -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_runtime31 from "react/jsx-runtime";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/components/sidebar.d.ts
@@ -12,25 +12,25 @@ declare function SidebarExpander({
12
12
  open,
13
13
  summary,
14
14
  children
15
- }: SidebarExpanderProps): react_jsx_runtime47.JSX.Element;
15
+ }: SidebarExpanderProps): react_jsx_runtime31.JSX.Element;
16
16
  type SidebarMethodProps = {
17
17
  method: SDKJSON.Method;
18
18
  };
19
19
  declare function SidebarMethod({
20
20
  method
21
- }: SidebarMethodProps): react_jsx_runtime47.JSX.Element;
21
+ }: SidebarMethodProps): react_jsx_runtime31.JSX.Element;
22
22
  type SidebarResourceProps = {
23
23
  resource: SDKJSON.Resource;
24
24
  };
25
25
  declare function SidebarResource({
26
26
  resource
27
- }: SidebarResourceProps): react_jsx_runtime47.JSX.Element;
27
+ }: SidebarResourceProps): react_jsx_runtime31.JSX.Element;
28
28
  type SidebarProps = {
29
29
  resources: SDKJSON.Resource[];
30
30
  selectedPath?: string;
31
31
  };
32
32
  declare function Sidebar({
33
33
  resources
34
- }: SidebarProps): react_jsx_runtime47.JSX.Element;
34
+ }: SidebarProps): react_jsx_runtime31.JSX.Element;
35
35
  //#endregion
36
36
  export { SidebarProps as a, SidebarMethodProps as i, SidebarExpander as n, SidebarResource as o, SidebarMethod as r, SidebarResourceProps as s, Sidebar as t };
@@ -1,6 +1,6 @@
1
- import { C as TransformRequestSnippetFn } from "./sdk-Ck0IERc7.js";
1
+ import { C as TransformRequestSnippetFn } from "./sdk-CuOpWo9I.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime51 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
4
4
  import * as SDKJSON from "@stainless/sdk-json";
5
5
 
6
6
  //#region src/components/snippets.d.ts
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
12
12
  declare function SnippetCode({
13
13
  content,
14
14
  language
15
- }: SnippetCodeProps): react_jsx_runtime51.JSX.Element;
15
+ }: SnippetCodeProps): react_jsx_runtime36.JSX.Element;
16
16
  type SnippetProps = {
17
17
  method: SDKJSON.Method;
18
18
  requestTitle?: React$1.ReactNode;
@@ -24,28 +24,28 @@ type SnippetContainerProps = {
24
24
  };
25
25
  declare function SnippetContainer({
26
26
  children
27
- }: SnippetContainerProps): react_jsx_runtime51.JSX.Element;
27
+ }: SnippetContainerProps): react_jsx_runtime36.JSX.Element;
28
28
  type SnippetRequestContainerProps = {
29
29
  children?: React$1.ReactNode;
30
30
  signature?: string;
31
31
  };
32
32
  declare function SnippetRequestContainer({
33
33
  children
34
- }: SnippetRequestContainerProps): react_jsx_runtime51.JSX.Element;
34
+ }: SnippetRequestContainerProps): react_jsx_runtime36.JSX.Element;
35
35
  declare function Snippet({
36
36
  requestTitle,
37
37
  method,
38
38
  transformRequestSnippet
39
- }: SnippetProps): react_jsx_runtime51.JSX.Element | null;
39
+ }: SnippetProps): react_jsx_runtime36.JSX.Element | null;
40
40
  declare function SnippetButtons({
41
41
  content
42
42
  }: {
43
43
  content: string;
44
- }): react_jsx_runtime51.JSX.Element;
44
+ }): react_jsx_runtime36.JSX.Element;
45
45
  declare function SnippetResponse({
46
46
  responses
47
47
  }: {
48
48
  responses: SDKJSON.Method['exampleResponses'];
49
- }): react_jsx_runtime51.JSX.Element | null;
49
+ }): react_jsx_runtime36.JSX.Element | null;
50
50
  //#endregion
51
51
  export { SnippetContainer as a, SnippetRequestContainer as c, SnippetCodeProps as i, SnippetRequestContainerProps as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetProps as s, Snippet as t, SnippetResponse as u };
package/dist/spec.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-nN1nc0jx.js";
1
+ import { t as DocsLanguage } from "./routing-BcGPNh2R.js";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/spec.d.ts