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

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 (56) hide show
  1. package/dist/{breadcrumbs-D2C-ipke.d.ts → breadcrumbs-BWIz-BrA.d.ts} +2 -2
  2. package/dist/{component-generics-CGwo6qAl.d.ts → component-generics-BLXXX1dz.d.ts} +2 -2
  3. package/dist/components/breadcrumbs.d.ts +1 -1
  4. package/dist/components/chat.d.ts +3 -3
  5. package/dist/components/icons.d.ts +10 -10
  6. package/dist/components/index.d.ts +9 -9
  7. package/dist/components/method.d.ts +1 -1
  8. package/dist/components/primitives.d.ts +1 -1
  9. package/dist/components/properties.d.ts +1 -1
  10. package/dist/components/sdk.d.ts +2 -2
  11. package/dist/components/sidebar.d.ts +1 -1
  12. package/dist/components/snippets.d.ts +3 -3
  13. package/dist/contexts/component-generics.d.ts +1 -1
  14. package/dist/contexts/component-types.d.ts +10 -10
  15. package/dist/contexts/component.d.ts +13 -13
  16. package/dist/contexts/docs.d.ts +1 -1
  17. package/dist/contexts/index.d.ts +17 -17
  18. package/dist/contexts/markdown.d.ts +1 -1
  19. package/dist/contexts/navigation.d.ts +2 -2
  20. package/dist/contexts/search.d.ts +3 -3
  21. package/dist/contexts/use-components.d.ts +9 -9
  22. package/dist/{docs-C5sBbvz9.d.ts → docs-CeAqG2cp.d.ts} +3 -3
  23. package/dist/{index-Cx9sLoAB.d.ts → index-DQjgSp7S.d.ts} +6 -6
  24. package/dist/{index-BZvOzjGA.d.ts → index-DfX9K3qH.d.ts} +7 -7
  25. package/dist/{index-Cwjt4PqJ.d.ts → index-lRJ6GzAM.d.ts} +26 -26
  26. package/dist/index.d.ts +17 -17
  27. package/dist/languages/go.d.ts +10 -10
  28. package/dist/languages/http.d.ts +10 -10
  29. package/dist/languages/index.d.ts +10 -10
  30. package/dist/languages/java.d.ts +10 -10
  31. package/dist/languages/python.d.ts +10 -10
  32. package/dist/languages/ruby.d.ts +10 -10
  33. package/dist/languages/typescript.d.ts +10 -10
  34. package/dist/markdown/index.d.ts +3 -3
  35. package/dist/markdown/utils.d.ts +3 -3
  36. package/dist/{markdown-CswQW7Au.d.ts → markdown-B2ACIydo.d.ts} +2 -2
  37. package/dist/{method-D0-gsw3H.d.ts → method-BP_Mz4r_.d.ts} +7 -7
  38. package/dist/{navigation-Bc58Zt6l.d.ts → navigation-DQcsuSnT.d.ts} +3 -3
  39. package/dist/{primitives-DKSwbXPi.d.ts → primitives-DZjozImK.d.ts} +9 -9
  40. package/dist/{properties-4IkL0IVR.d.ts → properties-DtGXYw8M.d.ts} +4 -4
  41. package/dist/{routing-ByeZ2P3d.d.ts → routing-CHvzedJA.d.ts} +1 -1
  42. package/dist/routing.d.ts +1 -1
  43. package/dist/{sdk-D1acaxlr.d.ts → sdk-CUDyIYiV.d.ts} +14 -14
  44. package/dist/search/index.d.ts +2 -2
  45. package/dist/search/providers/algolia.d.ts +2 -2
  46. package/dist/search/providers/fuse.d.ts +2 -2
  47. package/dist/search/providers/pagefind.d.ts +2 -2
  48. package/dist/search/providers/walker.d.ts +2 -2
  49. package/dist/search/types.d.ts +2 -2
  50. package/dist/{search-BwZ0UK72.d.ts → search-xIU7N2Yv.d.ts} +3 -3
  51. package/dist/{sidebar-rqdLbjBO.d.ts → sidebar-D3AJHVyb.d.ts} +5 -5
  52. package/dist/{snippets-Coq_j3S0.d.ts → snippets-8uy93yC6.d.ts} +7 -7
  53. package/dist/styles/main.css +6 -0
  54. package/dist/{types-BKUIuYYk.d.ts → types-fEIVKcbt.d.ts} +1 -1
  55. package/dist/{utils-NYMx28lc.d.ts → utils-DYoSclrR.d.ts} +2 -2
  56. package/package.json +2 -4
@@ -1,5 +1,5 @@
1
1
  import * as React$1 from "react";
2
- import * as react_jsx_runtime45 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime54 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_runtime45.JSX.Element;
15
+ }: SidebarExpanderProps): react_jsx_runtime54.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_runtime45.JSX.Element;
21
+ }: SidebarMethodProps): react_jsx_runtime54.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_runtime45.JSX.Element;
27
+ }: SidebarResourceProps): react_jsx_runtime54.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_runtime45.JSX.Element;
34
+ }: SidebarProps): react_jsx_runtime54.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-D1acaxlr.js";
1
+ import { C as TransformRequestSnippetFn } from "./sdk-CUDyIYiV.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime1 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime64 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_runtime1.JSX.Element;
15
+ }: SnippetCodeProps): react_jsx_runtime64.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_runtime1.JSX.Element;
27
+ }: SnippetContainerProps): react_jsx_runtime64.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_runtime1.JSX.Element;
34
+ }: SnippetRequestContainerProps): react_jsx_runtime64.JSX.Element;
35
35
  declare function Snippet({
36
36
  requestTitle,
37
37
  method,
38
38
  transformRequestSnippet
39
- }: SnippetProps): react_jsx_runtime1.JSX.Element | null;
39
+ }: SnippetProps): react_jsx_runtime64.JSX.Element | null;
40
40
  declare function SnippetResponse({
41
41
  responses
42
42
  }: {
43
43
  responses: SDKJSON.Method['exampleResponses'];
44
- }): react_jsx_runtime1.JSX.Element | null;
44
+ }): react_jsx_runtime64.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 };
@@ -782,6 +782,12 @@
782
782
  }
783
783
  }
784
784
  }
785
+
786
+ .stldocs-markdown {
787
+ :first-child {
788
+ margin-top: 0;
789
+ }
790
+ }
785
791
  }
786
792
 
787
793
  .stldocs-root .stldocs-language-block {
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-ByeZ2P3d.js";
1
+ import { t as DocsLanguage } from "./routing-CHvzedJA.js";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/search/types.d.ts
@@ -1,5 +1,5 @@
1
- import { t as DocsLanguage } from "./routing-ByeZ2P3d.js";
2
- import { C as TransformRequestSnippetFn } from "./sdk-D1acaxlr.js";
1
+ import { t as DocsLanguage } from "./routing-CHvzedJA.js";
2
+ import { C as TransformRequestSnippetFn } from "./sdk-CUDyIYiV.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/markdown/utils.d.ts
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.31",
4
+ "version": "0.1.0-beta.33",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -68,15 +68,13 @@
68
68
  },
69
69
  "dependencies": {
70
70
  "@algolia/client-search": "^5.25.0",
71
- "@langchain/community": "^0.3.16",
72
71
  "@markdoc/markdoc": "^0.5.2",
73
72
  "ai": "4.3.19",
74
73
  "clsx": "^2.1.1",
75
74
  "fuse.js": "^7.1.0",
76
75
  "htmlparser2": "^10.0.0",
77
76
  "lucide-react": "^0.553.0",
78
- "natural": "^8.0.1",
79
- "@stainless-api/ui-primitives": "0.1.0-beta.24"
77
+ "@stainless-api/ui-primitives": "0.1.0-beta.25"
80
78
  },
81
79
  "devDependencies": {
82
80
  "@types/node": "24.5.1",