@stainless-api/docs-ui 0.1.0-beta.39 → 0.1.0-beta.40

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 (59) hide show
  1. package/dist/{breadcrumbs-BJwRrIDS.d.ts → breadcrumbs-CZg0Fk4V.d.ts} +2 -2
  2. package/dist/{component-generics-v4X7l-nO.d.ts → component-generics-BLXXX1dz.d.ts} +2 -2
  3. package/dist/components/breadcrumbs.d.ts +1 -1
  4. package/dist/components/icons.d.ts +10 -10
  5. package/dist/components/index.d.ts +10 -10
  6. package/dist/components/method.d.ts +1 -1
  7. package/dist/components/overview.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 +11 -11
  15. package/dist/contexts/component.d.ts +14 -14
  16. package/dist/contexts/docs.d.ts +1 -1
  17. package/dist/contexts/index.d.ts +18 -18
  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 +10 -10
  22. package/dist/{docs-CEN4Xl5K.d.ts → docs-BeJaKOCE.d.ts} +2 -2
  23. package/dist/{index-Dxr0Oj7i.d.ts → index-CBi59jcw.d.ts} +26 -26
  24. package/dist/{index-koj-Nc-M.d.ts → index-DT1wzg21.d.ts} +8 -8
  25. package/dist/{index-BNwrwxMQ.d.ts → index-DteYqCJO.d.ts} +6 -6
  26. package/dist/index.d.ts +18 -18
  27. package/dist/languages/go.d.ts +11 -11
  28. package/dist/languages/http.d.ts +11 -11
  29. package/dist/languages/index.d.ts +11 -11
  30. package/dist/languages/java.d.ts +11 -11
  31. package/dist/languages/python.d.ts +11 -11
  32. package/dist/languages/ruby.d.ts +11 -11
  33. package/dist/languages/typescript.d.ts +11 -11
  34. package/dist/markdown/index.d.ts +3 -3
  35. package/dist/markdown/utils.d.ts +3 -3
  36. package/dist/{markdown-Cf1yLmR9.d.ts → markdown-DTVxnxGP.d.ts} +2 -2
  37. package/dist/{method-BufS4KC3.d.ts → method-DHjDGGA_.d.ts} +7 -7
  38. package/dist/{navigation-tYqZ92k_.d.ts → navigation-rt_B_1lt.d.ts} +3 -3
  39. package/dist/{overview-DdX0dlwP.d.ts → overview-CKJV2xUO.d.ts} +6 -6
  40. package/dist/{primitives-B7rqll78.d.ts → primitives-CiVFjnRA.d.ts} +9 -9
  41. package/dist/{properties-DIURiLZX.d.ts → properties-Z45x-uLZ.d.ts} +4 -4
  42. package/dist/{routing-CHvzedJA.d.ts → routing-DNN8R6bZ.d.ts} +1 -1
  43. package/dist/routing.d.ts +1 -1
  44. package/dist/{sdk-D1lxyLub.d.ts → sdk-DDWWoPPD.d.ts} +14 -14
  45. package/dist/search/index.d.ts +2 -2
  46. package/dist/search/providers/algolia.d.ts +2 -2
  47. package/dist/search/providers/fuse.d.ts +2 -2
  48. package/dist/search/providers/pagefind.d.ts +2 -2
  49. package/dist/search/providers/walker.d.ts +2 -2
  50. package/dist/search/types.d.ts +2 -2
  51. package/dist/{search-D2KsMSvq.d.ts → search-CCDWCiAd.d.ts} +3 -3
  52. package/dist/{sidebar-eox2y7Tm.d.ts → sidebar-DrtsF85U.d.ts} +5 -5
  53. package/dist/{snippets-BZcjtee5.d.ts → snippets-B2EEG7AK.d.ts} +7 -7
  54. package/dist/spec.d.ts +1 -1
  55. package/dist/styles/primitives.css +1 -1
  56. package/dist/styles.css +1 -1
  57. package/dist/{types-fEIVKcbt.d.ts → types-DNSz4kuM.d.ts} +1 -1
  58. package/dist/{utils-C9nljE8m.d.ts → utils-CA3mYNaX.d.ts} +2 -2
  59. package/package.json +5 -5
@@ -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-DNN8R6bZ.js";
2
+ import { n as IndexEntry } from "../../types-DNSz4kuM.js";
3
3
  import * as SDKJSON from "@stainless/sdk-json";
4
4
 
5
5
  //#region src/search/providers/walker.d.ts
@@ -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-DNN8R6bZ.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-DNSz4kuM.js";
3
3
  export { GuideResultType, IndexEntry, IndexMethod, IndexModel, IndexProperty, IndexResource, QueryKinds, QueryKindsType, ResultData, ResultRecordType, ResultType, RoutableJsonNode, SearchAttributeNames, SearchParams, SearchSettings, 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-DNSz4kuM.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime44 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime53 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_runtime44.JSX.Element;
19
+ }: SearchProviderProps): react_jsx_runtime53.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_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime58 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_runtime0.JSX.Element;
15
+ }: SidebarExpanderProps): react_jsx_runtime58.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_runtime0.JSX.Element;
21
+ }: SidebarMethodProps): react_jsx_runtime58.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_runtime0.JSX.Element;
27
+ }: SidebarResourceProps): react_jsx_runtime58.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_runtime0.JSX.Element;
34
+ }: SidebarProps): react_jsx_runtime58.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-D1lxyLub.js";
1
+ import { C as TransformRequestSnippetFn } from "./sdk-DDWWoPPD.js";
2
2
  import * as React$1 from "react";
3
- import * as react_jsx_runtime77 from "react/jsx-runtime";
3
+ import * as react_jsx_runtime20 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_runtime77.JSX.Element;
15
+ }: SnippetCodeProps): react_jsx_runtime20.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_runtime77.JSX.Element;
27
+ }: SnippetContainerProps): react_jsx_runtime20.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_runtime77.JSX.Element;
34
+ }: SnippetRequestContainerProps): react_jsx_runtime20.JSX.Element;
35
35
  declare function Snippet({
36
36
  requestTitle,
37
37
  method,
38
38
  transformRequestSnippet
39
- }: SnippetProps): react_jsx_runtime77.JSX.Element | null;
39
+ }: SnippetProps): react_jsx_runtime20.JSX.Element | null;
40
40
  declare function SnippetResponse({
41
41
  responses
42
42
  }: {
43
43
  responses: SDKJSON.Method['exampleResponses'];
44
- }): react_jsx_runtime77.JSX.Element | null;
44
+ }): react_jsx_runtime20.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/spec.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-CHvzedJA.js";
1
+ import { t as DocsLanguage } from "./routing-DNN8R6bZ.js";
2
2
  import * as SDKJSON from "@stainless/sdk-json";
3
3
 
4
4
  //#region src/spec.d.ts
@@ -205,7 +205,7 @@
205
205
  /* Markdown content */
206
206
  .stldocs-root .stldocs-content {
207
207
  a {
208
- color: var(--stl-color-foreground-accent);
208
+ color: var(--stl-color-link-foreground);
209
209
  }
210
210
 
211
211
  code:not(pre code) {
package/dist/styles.css CHANGED
@@ -269,7 +269,7 @@
269
269
  /* Markdown content */
270
270
  .stldocs-root .stldocs-content {
271
271
  a {
272
- color: var(--stl-color-foreground-accent);
272
+ color: var(--stl-color-link-foreground);
273
273
  }
274
274
 
275
275
  code:not(pre code) {
@@ -1,4 +1,4 @@
1
- import { t as DocsLanguage } from "./routing-CHvzedJA.js";
1
+ import { t as DocsLanguage } from "./routing-DNN8R6bZ.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-CHvzedJA.js";
2
- import { C as TransformRequestSnippetFn } from "./sdk-D1lxyLub.js";
1
+ import { t as DocsLanguage } from "./routing-DNN8R6bZ.js";
2
+ import { C as TransformRequestSnippetFn } from "./sdk-DDWWoPPD.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.39",
4
+ "version": "0.1.0-beta.40",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -20,7 +20,7 @@
20
20
  "fuse.js": "^7.1.0",
21
21
  "htmlparser2": "^10.0.0",
22
22
  "lucide-react": "^0.554.0",
23
- "@stainless-api/ui-primitives": "0.1.0-beta.28"
23
+ "@stainless-api/ui-primitives": "0.1.0-beta.29"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "24.10.1",
@@ -29,11 +29,11 @@
29
29
  "dotenv": "17.2.3",
30
30
  "react": "^19.2.0",
31
31
  "react-dom": "^19.2.0",
32
- "tsdown": "^0.16.6",
32
+ "tsdown": "^0.16.7",
33
33
  "tsx": "^4.20.6",
34
34
  "typescript": "5.9.3",
35
- "@stainless/sdk-json": "^0.1.0-beta.0",
36
- "@stainless/eslint-config": "0.1.0-beta.0"
35
+ "@stainless/eslint-config": "0.1.0-beta.0",
36
+ "@stainless/sdk-json": "^0.1.0-beta.0"
37
37
  },
38
38
  "exports": {
39
39
  ".": {