@stainless-api/docs-ui 0.1.0-beta.38 → 0.1.0-beta.39
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.
- package/dist/{breadcrumbs-CZg0Fk4V.d.ts → breadcrumbs-BJwRrIDS.d.ts} +2 -2
- package/dist/{component-generics-DUS50XL9.d.ts → component-generics-v4X7l-nO.d.ts} +2 -2
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/icons.d.ts +10 -10
- package/dist/components/index.d.ts +9 -9
- package/dist/components/method.d.ts +1 -1
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/snippets.d.ts +2 -2
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +16 -16
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/search.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/{docs-B9fkO7Mn.d.ts → docs-CEN4Xl5K.d.ts} +3 -3
- package/dist/{index-B_jjXoVQ.d.ts → index-BNwrwxMQ.d.ts} +6 -6
- package/dist/{index-CGDCia6s.d.ts → index-Dxr0Oj7i.d.ts} +26 -26
- package/dist/{index-DpCTx708.d.ts → index-koj-Nc-M.d.ts} +8 -8
- package/dist/index.d.ts +16 -16
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/utils.d.ts +2 -2
- package/dist/{markdown-Dg4RmrDu.d.ts → markdown-Cf1yLmR9.d.ts} +2 -2
- package/dist/{method-DLeTa-A9.d.ts → method-BufS4KC3.d.ts} +7 -7
- package/dist/{navigation-BY52fAW7.d.ts → navigation-tYqZ92k_.d.ts} +2 -2
- package/dist/{overview-h2O6tWc_.d.ts → overview-DdX0dlwP.d.ts} +6 -6
- package/dist/{primitives-CpRm6eGm.d.ts → primitives-B7rqll78.d.ts} +9 -9
- package/dist/{properties-CNjEj_vU.d.ts → properties-DIURiLZX.d.ts} +4 -4
- package/dist/{sdk-E3vq42RG.d.ts → sdk-D1lxyLub.d.ts} +13 -13
- package/dist/{search-CsvAdkNI.d.ts → search-D2KsMSvq.d.ts} +2 -2
- package/dist/{sidebar-BQzTXTuq.d.ts → sidebar-eox2y7Tm.d.ts} +5 -5
- package/dist/{snippets-sEbo8iV-.d.ts → snippets-BZcjtee5.d.ts} +7 -7
- package/dist/spec.d.ts +2 -2
- package/dist/{utils-kJZFreWP.d.ts → utils-C9nljE8m.d.ts} +1 -1
- package/package.json +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as TransformRequestSnippetFn } from "./sdk-
|
|
1
|
+
import { C as TransformRequestSnippetFn } from "./sdk-D1lxyLub.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime77 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):
|
|
15
|
+
}: SnippetCodeProps): react_jsx_runtime77.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):
|
|
27
|
+
}: SnippetContainerProps): react_jsx_runtime77.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):
|
|
34
|
+
}: SnippetRequestContainerProps): react_jsx_runtime77.JSX.Element;
|
|
35
35
|
declare function Snippet({
|
|
36
36
|
requestTitle,
|
|
37
37
|
method,
|
|
38
38
|
transformRequestSnippet
|
|
39
|
-
}: SnippetProps):
|
|
39
|
+
}: SnippetProps): react_jsx_runtime77.JSX.Element | null;
|
|
40
40
|
declare function SnippetResponse({
|
|
41
41
|
responses
|
|
42
42
|
}: {
|
|
43
43
|
responses: SDKJSON.Method['exampleResponses'];
|
|
44
|
-
}):
|
|
44
|
+
}): react_jsx_runtime77.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
|
@@ -36,13 +36,13 @@ declare function generateNavigation(resource: Partial<SDKJSON.Resource>): {
|
|
|
36
36
|
declare function generateSpecForResource(spec: SDKJSON.Spec, name: string, lang: DocsLanguage, transforms: SpecTransforms): Partial<SDKJSON.Spec>;
|
|
37
37
|
declare function transform(spec: SDKJSON.Spec, transforms: SpecTransforms): {
|
|
38
38
|
name: string;
|
|
39
|
-
lang: "
|
|
39
|
+
lang: "node" | "go" | "python" | "terraform" | "http" | "typescript" | "ruby" | "java" | "kotlin";
|
|
40
40
|
spec: Partial<SDKJSON.Spec>;
|
|
41
41
|
}[];
|
|
42
42
|
declare function split(spec: SDKJSON.Spec, transforms?: SpecTransforms): {
|
|
43
43
|
resources: ReturnType<typeof transform>;
|
|
44
44
|
navigation: {
|
|
45
|
-
languages: ("
|
|
45
|
+
languages: ("node" | "go" | "python" | "terraform" | "http" | "typescript" | "ruby" | "java" | "kotlin")[] | undefined;
|
|
46
46
|
resources: {
|
|
47
47
|
[k: string]: {
|
|
48
48
|
title: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as DocsLanguage } from "./routing-CHvzedJA.js";
|
|
2
|
-
import { C as TransformRequestSnippetFn } from "./sdk-
|
|
2
|
+
import { C as TransformRequestSnippetFn } from "./sdk-D1lxyLub.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.
|
|
4
|
+
"version": "0.1.0-beta.39",
|
|
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.
|
|
23
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.28"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@types/node": "24.10.1",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"tsdown": "^0.16.6",
|
|
33
33
|
"tsx": "^4.20.6",
|
|
34
34
|
"typescript": "5.9.3",
|
|
35
|
-
"@stainless/
|
|
36
|
-
"@stainless/
|
|
35
|
+
"@stainless/sdk-json": "^0.1.0-beta.0",
|
|
36
|
+
"@stainless/eslint-config": "0.1.0-beta.0"
|
|
37
37
|
},
|
|
38
38
|
"exports": {
|
|
39
39
|
".": {
|