@stainless-api/docs-ui 0.1.0-beta.33 → 0.1.0-beta.34

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-BWIz-BrA.d.ts → breadcrumbs-B1IJ7O7x.d.ts} +2 -2
  2. package/dist/{component-generics-BLXXX1dz.d.ts → component-generics-B_yTG3I2.d.ts} +2 -2
  3. package/dist/components/breadcrumbs.d.ts +1 -1
  4. package/dist/components/breadcrumbs.js +13 -13
  5. package/dist/components/icons.d.ts +10 -10
  6. package/dist/components/icons.js +1 -1
  7. package/dist/components/index.d.ts +10 -10
  8. package/dist/components/index.js +13 -13
  9. package/dist/components/method.d.ts +1 -1
  10. package/dist/components/method.js +13 -13
  11. package/dist/components/overview.d.ts +1 -1
  12. package/dist/components/overview.js +13 -13
  13. package/dist/components/primitives.d.ts +1 -1
  14. package/dist/components/primitives.js +13 -13
  15. package/dist/components/properties.d.ts +1 -1
  16. package/dist/components/properties.js +13 -13
  17. package/dist/components/sdk.d.ts +2 -2
  18. package/dist/components/sdk.js +13 -13
  19. package/dist/components/sidebar.d.ts +1 -1
  20. package/dist/components/sidebar.js +13 -13
  21. package/dist/components/snippets.d.ts +3 -3
  22. package/dist/components/snippets.js +13 -13
  23. package/dist/contexts/component-generics.d.ts +1 -1
  24. package/dist/contexts/component-generics.js +1 -1
  25. package/dist/contexts/component-types.d.ts +11 -11
  26. package/dist/contexts/component.d.ts +14 -14
  27. package/dist/contexts/component.js +13 -13
  28. package/dist/contexts/docs.d.ts +1 -1
  29. package/dist/contexts/docs.js +1 -1
  30. package/dist/contexts/index.d.ts +18 -18
  31. package/dist/contexts/index.js +13 -13
  32. package/dist/contexts/markdown.d.ts +1 -1
  33. package/dist/contexts/markdown.js +2 -2
  34. package/dist/contexts/navigation.d.ts +2 -2
  35. package/dist/contexts/navigation.js +1 -1
  36. package/dist/contexts/search.d.ts +3 -3
  37. package/dist/contexts/search.js +13 -13
  38. package/dist/contexts/use-components.d.ts +10 -10
  39. package/dist/contexts/use-components.js +2 -2
  40. package/dist/{contexts-Bpupku3r.js → contexts-CA0Kr3z6.js} +13 -13
  41. package/dist/{docs-CeAqG2cp.d.ts → docs-DJf7vMYk.d.ts} +2 -2
  42. package/dist/{index-DfX9K3qH.d.ts → index-B-N_GkfU.d.ts} +8 -8
  43. package/dist/{index-lRJ6GzAM.d.ts → index-Csilgc_m.d.ts} +26 -26
  44. package/dist/{index-DQjgSp7S.d.ts → index-DSLoPjXF.d.ts} +6 -6
  45. package/dist/index.d.ts +20 -20
  46. package/dist/index.js +13 -13
  47. package/dist/languages/go.d.ts +11 -11
  48. package/dist/languages/go.js +13 -13
  49. package/dist/languages/http.d.ts +11 -11
  50. package/dist/languages/http.js +13 -13
  51. package/dist/languages/index.d.ts +11 -11
  52. package/dist/languages/index.js +13 -13
  53. package/dist/languages/java.d.ts +11 -11
  54. package/dist/languages/java.js +13 -13
  55. package/dist/languages/python.d.ts +11 -11
  56. package/dist/languages/python.js +13 -13
  57. package/dist/languages/ruby.d.ts +11 -11
  58. package/dist/languages/ruby.js +13 -13
  59. package/dist/languages/typescript.d.ts +11 -11
  60. package/dist/languages/typescript.js +13 -13
  61. package/dist/markdown/index.d.ts +3 -3
  62. package/dist/markdown/index.js +13 -13
  63. package/dist/markdown/md.js +1 -1
  64. package/dist/markdown/utils.d.ts +3 -3
  65. package/dist/markdown/utils.js +1 -1
  66. package/dist/{markdown-CI4kbU64.js → markdown-CfXfEs-F.js} +1 -1
  67. package/dist/{markdown-B2ACIydo.d.ts → markdown-D6OsZV9a.d.ts} +2 -2
  68. package/dist/{method-BP_Mz4r_.d.ts → method-CYFc08pR.d.ts} +7 -7
  69. package/dist/{navigation-DQcsuSnT.d.ts → navigation-BDYYwaKI.d.ts} +3 -3
  70. package/dist/{overview-Ds69MW_g.d.ts → overview-Deat1kEk.d.ts} +6 -6
  71. package/dist/{primitives-DZjozImK.d.ts → primitives-BnYw5tM1.d.ts} +9 -9
  72. package/dist/{properties-DtGXYw8M.d.ts → properties-4UqNumXj.d.ts} +4 -4
  73. package/dist/{routing-8itEXLx6.js → routing-C4JpPxpl.js} +1 -1
  74. package/dist/routing.d.ts +1 -1
  75. package/dist/routing.js +1 -1
  76. package/dist/{sdk-CUDyIYiV.d.ts → sdk-DUfaMi9P.d.ts} +14 -14
  77. package/dist/search/index.d.ts +6 -6
  78. package/dist/search/index.js +14 -14
  79. package/dist/search/providers/algolia.d.ts +2 -2
  80. package/dist/search/providers/algolia.js +13 -13
  81. package/dist/search/providers/fuse.d.ts +2 -2
  82. package/dist/search/providers/fuse.js +13 -13
  83. package/dist/search/providers/pagefind.d.ts +2 -2
  84. package/dist/search/providers/pagefind.js +1 -1
  85. package/dist/search/providers/walker.d.ts +2 -2
  86. package/dist/search/providers/walker.js +13 -13
  87. package/dist/search/types.d.ts +2 -2
  88. package/dist/search/types.js +1 -1
  89. package/dist/{search-xIU7N2Yv.d.ts → search-CtCvT_CB.d.ts} +3 -3
  90. package/dist/{sidebar-D3AJHVyb.d.ts → sidebar-D6pMIVu7.d.ts} +5 -5
  91. package/dist/{snippets-8uy93yC6.d.ts → snippets-mXu8qmRt.d.ts} +7 -7
  92. package/dist/style.d.ts +1 -1
  93. package/dist/style.js +1 -1
  94. package/dist/{types-fEIVKcbt.d.ts → types-D3jChPAG.d.ts} +1 -1
  95. package/dist/{use-components-BHEwm0mE.js → use-components-mJnQErn0.js} +1 -1
  96. package/dist/{utils-2FmcHPHp.js → utils-B0F_20cr.js} +2 -2
  97. package/dist/{utils-DYoSclrR.d.ts → utils-BJ2b0pdl.d.ts} +2 -2
  98. package/dist/utils.d.ts +1 -1
  99. package/dist/utils.js +2 -2
  100. package/package.json +1 -2
  101. package/dist/components/chat.d.ts +0 -14
  102. package/dist/components/chat.js +0 -142
  103. /package/dist/{chunk-DsStOjWQ.js → chunk-BZIdVjpq.js} +0 -0
  104. /package/dist/{component-generics-D3ybuN5r.js → component-generics-Baa_QTKJ.js} +0 -0
  105. /package/dist/{docs-CopwX9a7.js → docs-C2BtCAV3.js} +0 -0
  106. /package/dist/{icons-yb-Jhkmg.js → icons-CHd7NU9a.js} +0 -0
  107. /package/dist/{md-DxiV1_vy.js → md-Bz1tDY4G.js} +0 -0
  108. /package/dist/{navigation-CGr5_w6z.js → navigation-Bnr8b_IW.js} +0 -0
  109. /package/dist/{pagefind-BaK1krMe.js → pagefind-CbOkIJf-.js} +0 -0
  110. /package/dist/{routing-CHvzedJA.d.ts → routing-BLDP60j9.d.ts} +0 -0
  111. /package/dist/{style-CPgcT0Fw.js → style-BUaRdg0v.js} +0 -0
  112. /package/dist/{style-BEMLtSIK.d.ts → style-DZBqvhxT.d.ts} +0 -0
  113. /package/dist/{types-__XoFvJ_.js → types-DmEzjqL2.js} +0 -0
  114. /package/dist/{utils-BCfb0F9R.js → utils-Br_vI9GZ.js} +0 -0
  115. /package/dist/{utils-D43p_yTd.d.ts → utils-By4F4SN7.d.ts} +0 -0
package/dist/routing.js CHANGED
@@ -1,3 +1,3 @@
1
- import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-8itEXLx6.js";
1
+ import { _ as walkTree, a as findNavigationPath, c as getLanguageSnippet, d as parseRoute, f as parseStainlessPath, g as updateHistory, h as trimStainlessPath, i as expandToElement, l as getResource, m as scrollToPath, n as Languages, o as generateRoute, r as SupportedLanguageSyntaxes, s as generateRouteList, t as LanguageNames, u as isSupportedLanguage } from "./routing-C4JpPxpl.js";
2
2
 
3
3
  export { LanguageNames, Languages, 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-CHvzedJA.js";
1
+ import { t as DocsLanguage } from "./routing-BLDP60j9.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime72 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime70 from "react/jsx-runtime";
4
4
  import * as SDKJSON from "@stainless/sdk-json";
5
5
 
6
6
  //#region src/components/sdk.d.ts
@@ -34,7 +34,7 @@ declare function SDKChildren({
34
34
  paths,
35
35
  expand,
36
36
  depth
37
- }: SDKChildrenProps): react_jsx_runtime72.JSX.Element;
37
+ }: SDKChildrenProps): react_jsx_runtime70.JSX.Element;
38
38
  type SDKDeclarationProps = {
39
39
  path: string;
40
40
  expand?: boolean;
@@ -44,26 +44,26 @@ declare function SDKDeclaration({
44
44
  path,
45
45
  expand,
46
46
  depth
47
- }: SDKDeclarationProps): react_jsx_runtime72.JSX.Element;
47
+ }: SDKDeclarationProps): react_jsx_runtime70.JSX.Element;
48
48
  type SDKConstraintsProps = {
49
49
  constraints?: Record<string, any>;
50
50
  };
51
51
  declare function SDKConstraints({
52
52
  constraints
53
- }: SDKConstraintsProps): react_jsx_runtime72.JSX.Element | undefined;
53
+ }: SDKConstraintsProps): react_jsx_runtime70.JSX.Element | undefined;
54
54
  type SDKIconProps = {
55
55
  language: SDKJSON.SnippetLanguage;
56
56
  size?: number;
57
57
  };
58
58
  declare function SDKIcon({
59
59
  language
60
- }: SDKIconProps): react_jsx_runtime72.JSX.Element | null;
60
+ }: SDKIconProps): react_jsx_runtime70.JSX.Element | null;
61
61
  type SDKRequestTitleProps = {
62
62
  snippetLanguage: SDKJSON.SnippetLanguage;
63
63
  };
64
64
  declare function SDKRequestTitle({
65
65
  snippetLanguage
66
- }: SDKRequestTitleProps): react_jsx_runtime72.JSX.Element;
66
+ }: SDKRequestTitleProps): react_jsx_runtime70.JSX.Element;
67
67
  type SDKExampleProps = {
68
68
  method: SDKJSON.Method;
69
69
  transformRequestSnippet?: TransformRequestSnippetFn;
@@ -71,27 +71,27 @@ type SDKExampleProps = {
71
71
  declare function SDKExample({
72
72
  method,
73
73
  transformRequestSnippet
74
- }: SDKExampleProps): react_jsx_runtime72.JSX.Element;
74
+ }: SDKExampleProps): react_jsx_runtime70.JSX.Element;
75
75
  type SDKMethodProps = {
76
76
  method: SDKJSON.Method;
77
77
  transformRequestSnippet?: TransformRequestSnippetFn;
78
78
  };
79
79
  declare function SDKMethodHeader({
80
80
  method
81
- }: SDKMethodProps): react_jsx_runtime72.JSX.Element;
81
+ }: SDKMethodProps): react_jsx_runtime70.JSX.Element;
82
82
  declare function SDKMethodInfo({
83
83
  method
84
- }: SDKMethodProps): react_jsx_runtime72.JSX.Element;
84
+ }: SDKMethodProps): react_jsx_runtime70.JSX.Element;
85
85
  declare function SDKMethod({
86
86
  method,
87
87
  transformRequestSnippet
88
- }: SDKMethodProps): react_jsx_runtime72.JSX.Element | undefined;
88
+ }: SDKMethodProps): react_jsx_runtime70.JSX.Element | undefined;
89
89
  type SDKModelProps = {
90
90
  model: SDKJSON.Model;
91
91
  };
92
92
  declare function SDKModel({
93
93
  model
94
- }: SDKModelProps): react_jsx_runtime72.JSX.Element | null;
94
+ }: SDKModelProps): react_jsx_runtime70.JSX.Element | null;
95
95
  type SDKReferenceProps = {
96
96
  stainlessPath: string;
97
97
  children?: React$1.ReactNode;
@@ -99,7 +99,7 @@ type SDKReferenceProps = {
99
99
  declare function SDKReference({
100
100
  stainlessPath,
101
101
  children
102
- }: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime72.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
+ }: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime70.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;
103
103
  type SDKLanguageBlockProps = {
104
104
  language: DocsLanguage;
105
105
  version: string;
@@ -114,6 +114,6 @@ declare function SDKLanguageBlock({
114
114
  version,
115
115
  install,
116
116
  links
117
- }: SDKLanguageBlockProps): react_jsx_runtime72.JSX.Element;
117
+ }: SDKLanguageBlockProps): react_jsx_runtime70.JSX.Element;
118
118
  //#endregion
119
119
  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,9 +1,9 @@
1
- import "../routing-CHvzedJA.js";
2
- import { c as QueryKindsType, l as ResultData } from "../types-fEIVKcbt.js";
3
- import * as react_jsx_runtime84 from "react/jsx-runtime";
1
+ import "../routing-BLDP60j9.js";
2
+ import { c as QueryKindsType, l as ResultData } from "../types-D3jChPAG.js";
3
+ import * as react_jsx_runtime82 from "react/jsx-runtime";
4
4
 
5
5
  //#region src/search/form.d.ts
6
- declare function SearchForm(): react_jsx_runtime84.JSX.Element;
6
+ declare function SearchForm(): react_jsx_runtime82.JSX.Element;
7
7
  type SearchFilterProps = {
8
8
  results: ResultData;
9
9
  filterKind: QueryKindsType;
@@ -13,7 +13,7 @@ declare function SearchFilter({
13
13
  results,
14
14
  filterKind,
15
15
  onChange
16
- }: SearchFilterProps): react_jsx_runtime84.JSX.Element;
16
+ }: SearchFilterProps): react_jsx_runtime82.JSX.Element;
17
17
  type SearchModalProps = {
18
18
  id?: string;
19
19
  open?: boolean;
@@ -21,6 +21,6 @@ type SearchModalProps = {
21
21
  declare function SearchModal({
22
22
  id,
23
23
  open: isOpen
24
- }: SearchModalProps): react_jsx_runtime84.JSX.Element;
24
+ }: SearchModalProps): react_jsx_runtime82.JSX.Element;
25
25
  //#endregion
26
26
  export { SearchFilter, SearchFilterProps, SearchForm, SearchModal, SearchModalProps };
@@ -1,17 +1,17 @@
1
- import { a as useLanguage } from "../docs-CopwX9a7.js";
2
- import "../component-generics-D3ybuN5r.js";
3
- import "../navigation-CGr5_w6z.js";
4
- import "../markdown-CI4kbU64.js";
5
- import "../routing-8itEXLx6.js";
6
- import { t as style_default } from "../style-CPgcT0Fw.js";
7
- import { t as useComponents } from "../use-components-BHEwm0mE.js";
8
- import { a as useSearchContext, i as useSearch } from "../contexts-Bpupku3r.js";
9
- import "../icons-yb-Jhkmg.js";
10
- import "../utils-2FmcHPHp.js";
11
- import "../md-DxiV1_vy.js";
12
- import "../utils-BCfb0F9R.js";
13
- import { t as QueryKinds } from "../types-__XoFvJ_.js";
14
- import { t as guideSearch } from "../pagefind-BaK1krMe.js";
1
+ import { a as useLanguage } from "../docs-C2BtCAV3.js";
2
+ import "../component-generics-Baa_QTKJ.js";
3
+ import "../navigation-Bnr8b_IW.js";
4
+ import "../markdown-CfXfEs-F.js";
5
+ import "../routing-C4JpPxpl.js";
6
+ import { t as style_default } from "../style-BUaRdg0v.js";
7
+ import { t as useComponents } from "../use-components-mJnQErn0.js";
8
+ import { a as useSearchContext, i as useSearch } from "../contexts-CA0Kr3z6.js";
9
+ import "../icons-CHd7NU9a.js";
10
+ import "../utils-B0F_20cr.js";
11
+ import "../md-Bz1tDY4G.js";
12
+ import "../utils-Br_vI9GZ.js";
13
+ import { t as QueryKinds } from "../types-DmEzjqL2.js";
14
+ import { t as guideSearch } from "../pagefind-CbOkIJf-.js";
15
15
  import * as React$1 from "react";
16
16
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
17
17
  import { BookOpenText, Box, Code, Folder, Search, Wrench, X } from "lucide-react";
@@ -1,5 +1,5 @@
1
- import "../../routing-CHvzedJA.js";
2
- import { d as ResultType, h as SearchSettings, m as SearchParams } from "../../types-fEIVKcbt.js";
1
+ import "../../routing-BLDP60j9.js";
2
+ import { d as ResultType, h as SearchSettings, m as SearchParams } from "../../types-D3jChPAG.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/search/providers/algolia.d.ts
@@ -1,15 +1,15 @@
1
- import "../../docs-CopwX9a7.js";
2
- import "../../component-generics-D3ybuN5r.js";
3
- import "../../navigation-CGr5_w6z.js";
4
- import "../../markdown-CI4kbU64.js";
5
- import "../../routing-8itEXLx6.js";
6
- import "../../style-CPgcT0Fw.js";
7
- import "../../use-components-BHEwm0mE.js";
8
- import { c as search, o as buildChatIndex, s as buildIndex } from "../../contexts-Bpupku3r.js";
9
- import "../../icons-yb-Jhkmg.js";
10
- import "../../utils-2FmcHPHp.js";
11
- import "../../md-DxiV1_vy.js";
12
- import "../../utils-BCfb0F9R.js";
13
- import "../../types-__XoFvJ_.js";
1
+ import "../../docs-C2BtCAV3.js";
2
+ import "../../component-generics-Baa_QTKJ.js";
3
+ import "../../navigation-Bnr8b_IW.js";
4
+ import "../../markdown-CfXfEs-F.js";
5
+ import "../../routing-C4JpPxpl.js";
6
+ import "../../style-BUaRdg0v.js";
7
+ import "../../use-components-mJnQErn0.js";
8
+ import { c as search, o as buildChatIndex, s as buildIndex } from "../../contexts-CA0Kr3z6.js";
9
+ import "../../icons-CHd7NU9a.js";
10
+ import "../../utils-B0F_20cr.js";
11
+ import "../../md-Bz1tDY4G.js";
12
+ import "../../utils-Br_vI9GZ.js";
13
+ import "../../types-DmEzjqL2.js";
14
14
 
15
15
  export { buildChatIndex, buildIndex, search };
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "../../routing-CHvzedJA.js";
2
- import { n as IndexEntry } from "../../types-fEIVKcbt.js";
1
+ import { t as DocsLanguage } from "../../routing-BLDP60j9.js";
2
+ import { n as IndexEntry } from "../../types-D3jChPAG.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";
@@ -1,16 +1,16 @@
1
- import "../../docs-CopwX9a7.js";
2
- import "../../component-generics-D3ybuN5r.js";
3
- import "../../navigation-CGr5_w6z.js";
4
- import "../../markdown-CI4kbU64.js";
5
- import "../../routing-8itEXLx6.js";
6
- import "../../style-CPgcT0Fw.js";
7
- import "../../use-components-BHEwm0mE.js";
8
- import { l as generateIndex } from "../../contexts-Bpupku3r.js";
9
- import "../../icons-yb-Jhkmg.js";
10
- import "../../utils-2FmcHPHp.js";
11
- import "../../md-DxiV1_vy.js";
12
- import "../../utils-BCfb0F9R.js";
13
- import { n as SearchableAttributes } from "../../types-__XoFvJ_.js";
1
+ import "../../docs-C2BtCAV3.js";
2
+ import "../../component-generics-Baa_QTKJ.js";
3
+ import "../../navigation-Bnr8b_IW.js";
4
+ import "../../markdown-CfXfEs-F.js";
5
+ import "../../routing-C4JpPxpl.js";
6
+ import "../../style-BUaRdg0v.js";
7
+ import "../../use-components-mJnQErn0.js";
8
+ import { l as generateIndex } from "../../contexts-CA0Kr3z6.js";
9
+ import "../../icons-CHd7NU9a.js";
10
+ import "../../utils-B0F_20cr.js";
11
+ import "../../md-Bz1tDY4G.js";
12
+ import "../../utils-Br_vI9GZ.js";
13
+ import { n as SearchableAttributes } from "../../types-DmEzjqL2.js";
14
14
  import Fuse from "fuse.js";
15
15
 
16
16
  //#region src/search/providers/fuse.ts
@@ -1,5 +1,5 @@
1
- import "../../routing-CHvzedJA.js";
2
- import { t as GuideResultType } from "../../types-fEIVKcbt.js";
1
+ import "../../routing-BLDP60j9.js";
2
+ import { t as GuideResultType } from "../../types-D3jChPAG.js";
3
3
 
4
4
  //#region src/search/providers/pagefind.d.ts
5
5
  declare function guideSearch(loadPath: string, query: string, limit?: number): Promise<GuideResultType[]>;
@@ -1,3 +1,3 @@
1
- import { t as guideSearch } from "../../pagefind-BaK1krMe.js";
1
+ import { t as guideSearch } from "../../pagefind-CbOkIJf-.js";
2
2
 
3
3
  export { guideSearch };
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "../../routing-CHvzedJA.js";
2
- import { n as IndexEntry } from "../../types-fEIVKcbt.js";
1
+ import { t as DocsLanguage } from "../../routing-BLDP60j9.js";
2
+ import { n as IndexEntry } from "../../types-D3jChPAG.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/search/providers/walker.d.ts
@@ -1,16 +1,16 @@
1
- import "../../docs-CopwX9a7.js";
2
- import "../../component-generics-D3ybuN5r.js";
3
- import "../../navigation-CGr5_w6z.js";
4
- import "../../markdown-CI4kbU64.js";
5
- import "../../routing-8itEXLx6.js";
6
- import "../../style-CPgcT0Fw.js";
7
- import "../../use-components-BHEwm0mE.js";
8
- import { l as generateIndex } from "../../contexts-Bpupku3r.js";
9
- import "../../icons-yb-Jhkmg.js";
10
- import "../../utils-2FmcHPHp.js";
11
- import "../../md-DxiV1_vy.js";
12
- import "../../utils-BCfb0F9R.js";
13
- import { n as SearchableAttributes } from "../../types-__XoFvJ_.js";
1
+ import "../../docs-C2BtCAV3.js";
2
+ import "../../component-generics-Baa_QTKJ.js";
3
+ import "../../navigation-Bnr8b_IW.js";
4
+ import "../../markdown-CfXfEs-F.js";
5
+ import "../../routing-C4JpPxpl.js";
6
+ import "../../style-BUaRdg0v.js";
7
+ import "../../use-components-mJnQErn0.js";
8
+ import { l as generateIndex } from "../../contexts-CA0Kr3z6.js";
9
+ import "../../icons-CHd7NU9a.js";
10
+ import "../../utils-B0F_20cr.js";
11
+ import "../../md-Bz1tDY4G.js";
12
+ import "../../utils-Br_vI9GZ.js";
13
+ import { n as SearchableAttributes } from "../../types-DmEzjqL2.js";
14
14
 
15
15
  //#region src/search/providers/walker.ts
16
16
  function buildIndex(spec) {
@@ -1,3 +1,3 @@
1
- import "../routing-CHvzedJA.js";
2
- import { _ as SearchableAttributesChat, a as IndexProperty, c as QueryKindsType, d as ResultType, f as RoutableJsonNode, g as SearchableAttributes, h as SearchSettings, i as IndexModel, l as ResultData, m as SearchParams, n as IndexEntry, o as IndexResource, p as SearchAttributeNames, r as IndexMethod, s as QueryKinds, t as GuideResultType, u as ResultRecordType } from "../types-fEIVKcbt.js";
1
+ import "../routing-BLDP60j9.js";
2
+ import { _ as SearchableAttributesChat, a as IndexProperty, c as QueryKindsType, d as ResultType, f as RoutableJsonNode, g as SearchableAttributes, h as SearchSettings, i as IndexModel, l as ResultData, m as SearchParams, n as IndexEntry, o as IndexResource, p as SearchAttributeNames, r as IndexMethod, s as QueryKinds, t as GuideResultType, u as ResultRecordType } from "../types-D3jChPAG.js";
3
3
  export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, SearchableAttributes, SearchableAttributesChat };
@@ -1,3 +1,3 @@
1
- import { n as SearchableAttributes, r as SearchableAttributesChat, t as QueryKinds } from "../types-__XoFvJ_.js";
1
+ import { n as SearchableAttributes, r as SearchableAttributesChat, t as QueryKinds } from "../types-DmEzjqL2.js";
2
2
 
3
3
  export { QueryKinds, SearchableAttributes, SearchableAttributesChat };
@@ -1,6 +1,6 @@
1
- import { d as ResultType, h as SearchSettings, m as SearchParams } from "./types-fEIVKcbt.js";
1
+ import { d as ResultType, h as SearchSettings, m as SearchParams } from "./types-D3jChPAG.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime20 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime22 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_runtime20.JSX.Element;
19
+ }: SearchProviderProps): react_jsx_runtime22.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_runtime54 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 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_runtime54.JSX.Element;
15
+ }: SidebarExpanderProps): react_jsx_runtime0.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_runtime54.JSX.Element;
21
+ }: SidebarMethodProps): react_jsx_runtime0.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_runtime54.JSX.Element;
27
+ }: SidebarResourceProps): react_jsx_runtime0.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_runtime54.JSX.Element;
34
+ }: SidebarProps): react_jsx_runtime0.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-CUDyIYiV.js";
1
+ import { C as TransformRequestSnippetFn } from "./sdk-DUfaMi9P.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime64 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime48 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_runtime64.JSX.Element;
15
+ }: SnippetCodeProps): react_jsx_runtime48.JSX.Element;
16
16
  type SnippetProps = {
17
17
  method: SDKJSON.Method;
18
18
  requestTitle?: React$1.ReactNode;
@@ -24,23 +24,23 @@ type SnippetContainerProps = {
24
24
  };
25
25
  declare function SnippetContainer({
26
26
  children
27
- }: SnippetContainerProps): react_jsx_runtime64.JSX.Element;
27
+ }: SnippetContainerProps): react_jsx_runtime48.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_runtime64.JSX.Element;
34
+ }: SnippetRequestContainerProps): react_jsx_runtime48.JSX.Element;
35
35
  declare function Snippet({
36
36
  requestTitle,
37
37
  method,
38
38
  transformRequestSnippet
39
- }: SnippetProps): react_jsx_runtime64.JSX.Element | null;
39
+ }: SnippetProps): react_jsx_runtime48.JSX.Element | null;
40
40
  declare function SnippetResponse({
41
41
  responses
42
42
  }: {
43
43
  responses: SDKJSON.Method['exampleResponses'];
44
- }): react_jsx_runtime64.JSX.Element | null;
44
+ }): react_jsx_runtime48.JSX.Element | null;
45
45
  //#endregion
46
46
  export { SnippetContainerProps as a, SnippetRequestContainerProps as c, SnippetContainer as i, SnippetResponse as l, SnippetCode as n, SnippetProps as o, SnippetCodeProps as r, SnippetRequestContainer as s, Snippet as t };
package/dist/style.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./style-BEMLtSIK.js";
1
+ import { t as _default } from "./style-DZBqvhxT.js";
2
2
  export { _default as default };
package/dist/style.js CHANGED
@@ -1,3 +1,3 @@
1
- import { t as style_default } from "./style-CPgcT0Fw.js";
1
+ import { t as style_default } from "./style-BUaRdg0v.js";
2
2
 
3
3
  export { style_default as default };
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-CHvzedJA.js";
1
+ import { t as DocsLanguage } from "./routing-BLDP60j9.js";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/search/types.d.ts
@@ -1,4 +1,4 @@
1
- import { i as useComponents } from "./component-generics-D3ybuN5r.js";
1
+ import { i as useComponents } from "./component-generics-Baa_QTKJ.js";
2
2
 
3
3
  //#region src/contexts/use-components.tsx
4
4
  const useComponents$1 = () => useComponents();
@@ -1,5 +1,5 @@
1
- import { t as __export } from "./chunk-DsStOjWQ.js";
2
- import { f as parseStainlessPath } from "./routing-8itEXLx6.js";
1
+ import { t as __export } from "./chunk-BZIdVjpq.js";
2
+ import { f as parseStainlessPath } from "./routing-C4JpPxpl.js";
3
3
 
4
4
  //#region src/utils.ts
5
5
  var utils_exports = /* @__PURE__ */ __export({
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "./routing-CHvzedJA.js";
2
- import { C as TransformRequestSnippetFn } from "./sdk-CUDyIYiV.js";
1
+ import { t as DocsLanguage } from "./routing-BLDP60j9.js";
2
+ import { C as TransformRequestSnippetFn } from "./sdk-DUfaMi9P.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
package/dist/utils.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-D43p_yTd.js";
1
+ import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-By4F4SN7.js";
2
2
  export { flatResources, getResourceFromSpec, isResourceEmpty };
package/dist/utils.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./routing-8itEXLx6.js";
2
- import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-2FmcHPHp.js";
1
+ import "./routing-C4JpPxpl.js";
2
+ import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-B0F_20cr.js";
3
3
 
4
4
  export { flatResources, getResourceFromSpec, isResourceEmpty };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-ui",
3
3
  "private": false,
4
- "version": "0.1.0-beta.33",
4
+ "version": "0.1.0-beta.34",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -69,7 +69,6 @@
69
69
  "dependencies": {
70
70
  "@algolia/client-search": "^5.25.0",
71
71
  "@markdoc/markdoc": "^0.5.2",
72
- "ai": "4.3.19",
73
72
  "clsx": "^2.1.1",
74
73
  "fuse.js": "^7.1.0",
75
74
  "htmlparser2": "^10.0.0",
@@ -1,14 +0,0 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
-
3
- //#region src/components/chat.d.ts
4
- declare function Chat(): react_jsx_runtime0.JSX.Element;
5
- type ChatModalProps = {
6
- id?: string;
7
- open?: boolean;
8
- };
9
- declare function ChatModal({
10
- id,
11
- open: isOpen
12
- }: ChatModalProps): react_jsx_runtime0.JSX.Element;
13
- //#endregion
14
- export { Chat, ChatModal, ChatModalProps };