@stainless-api/docs-ui 0.1.0-beta.60 → 0.1.0-beta.61
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-BagP1oN2.d.ts → breadcrumbs-BVskoBYz.d.ts} +3 -3
- package/dist/{breadcrumbs-seA1JsK4.d.ts → breadcrumbs-C9LLJyuJ.d.ts} +3 -3
- package/dist/{breadcrumbs-85Y-pybq.js → breadcrumbs-CqA6kow2.js} +3 -3
- package/dist/{cli-CoLvH9jq.js → cli-0bJ66S1r.js} +5 -5
- package/dist/{component-CF9lLzZX.js → component-CjJJYIxG.js} +3 -3
- package/dist/{component-generics-DS5pysMb.d.ts → component-generics-BC_P155r.d.ts} +2 -2
- package/dist/{component-generics-BblkOh-y.d.ts → component-generics-BkwbbxJF.d.ts} +2 -2
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/MaskedInput.js +1 -1
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +7 -7
- package/dist/components/icons.d.ts +12 -12
- package/dist/components/icons.js +1 -1
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +16 -16
- package/dist/components/method.d.ts +1 -1
- package/dist/components/method.js +8 -8
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +9 -9
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +6 -6
- package/dist/components/properties.d.ts +1 -1
- package/dist/components/properties.js +7 -7
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +8 -8
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +7 -7
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +7 -7
- package/dist/{components-Bz5h0Y4x.js → components-FEHnQBJC.js} +9 -9
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +10 -10
- package/dist/contexts/component.d.ts +13 -13
- package/dist/contexts/component.js +26 -26
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/docs.js +1 -1
- package/dist/contexts/index.d.ts +14 -14
- package/dist/contexts/index.js +5 -5
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/markdown.js +2 -2
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/navigation.js +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-DZfPd182.js → contexts-CeV_L_Iy.js} +5 -5
- package/dist/{csharp-BbNnLZWW.js → csharp-Dl2RIiYP.js} +4 -4
- package/dist/{docs-DFS6wkGm.d.ts → docs--qWFuJCM.d.ts} +3 -3
- package/dist/{docs-DdWB4Wsv.d.ts → docs-DSFRsmbQ.d.ts} +3 -3
- package/dist/{go-OFa_5xje.js → go-DuKdRGqU.js} +4 -4
- package/dist/{http-olFAYLFq.js → http-C7bu4oCl.js} +8 -8
- package/dist/{index-Dp5biTf5.d.ts → index-C0qvL4yP.d.ts} +8 -8
- package/dist/{index-BdrPd64A.d.ts → index-DE1vA8T2.d.ts} +35 -35
- package/dist/{index-DTl8aUkb.d.ts → index-DsFyACw9.d.ts} +8 -8
- package/dist/{index-CLMudlDX.d.ts → index-FDM-j9s-.d.ts} +35 -35
- package/dist/index.d.ts +15 -15
- package/dist/index.js +28 -28
- package/dist/{java-Bw0o13Wk.js → java-DSyzO-6F.js} +5 -5
- package/dist/languages/cli.d.ts +10 -10
- package/dist/languages/cli.js +18 -18
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +7 -7
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +7 -7
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +17 -17
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +25 -25
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +7 -7
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +7 -7
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +7 -7
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +7 -7
- package/dist/languages-BO5YJ6cy.js +28 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +27 -27
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +28 -28
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +2 -2
- package/dist/{markdown-Dyn0NA2f.d.ts → markdown-B517MrZh.d.ts} +2 -2
- package/dist/{markdown-DtbgEdDt.d.ts → markdown-C7Tb41LZ.d.ts} +2 -2
- package/dist/{markdown-ZzVcn4kq.js → markdown-D2JWyRws.js} +1 -1
- package/dist/{method-C850sHPB.d.ts → method-BaQEZVlw.d.ts} +6 -6
- package/dist/{method-CxjUvijp.d.ts → method-Dln4ZTIB.d.ts} +6 -6
- package/dist/{method-Dktsfckf.js → method-jTnA0G8m.js} +3 -3
- package/dist/{navigation-DLQvobDt.d.ts → navigation-XhIgqXwM.d.ts} +3 -3
- package/dist/{navigation-Dk55c7au.d.ts → navigation-rKdts-BR.d.ts} +3 -3
- package/dist/{overview-DVu-9kpm.d.ts → overview-B3kgyac2.d.ts} +7 -7
- package/dist/{overview-EkRigi6e.js → overview-BnagZfH1.js} +8 -8
- package/dist/{overview-rRsC-Yi_.d.ts → overview-Dp-gGl3v.d.ts} +7 -7
- package/dist/{primitives-DP-cTr1W.d.ts → primitives-B6zu2rrx.d.ts} +11 -11
- package/dist/{primitives-BVaiiY63.js → primitives-DQLc9kN7.js} +5 -5
- package/dist/{primitives-DR4XbZ2t.d.ts → primitives-VtUGoYwX.d.ts} +11 -11
- package/dist/{properties-Ll927UYJ.d.ts → properties-Bun4nfUE.d.ts} +5 -5
- package/dist/{properties-BHvUHbcf.js → properties-DGL2J11L.js} +3 -3
- package/dist/{properties-lx53LZPl.d.ts → properties-ZOIqpkET.d.ts} +5 -5
- package/dist/{python-D8NWX7Cb.js → python-D8ABqtn1.js} +4 -4
- package/dist/{routing-Fzn1XfX_.js → routing-Ce0_tBW6.js} +1 -1
- package/dist/{routing-sjrF8U7O.d.ts → routing-CtbZJru_.d.ts} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/routing.js +1 -1
- package/dist/{ruby-DOUaLhKJ.js → ruby-261jvCjl.js} +5 -5
- package/dist/{sdk-Dhu_gfzq.d.ts → sdk-BebFnWYL.d.ts} +15 -15
- package/dist/{sdk-DdW_-RBy.d.ts → sdk-CIxaNoAs.d.ts} +15 -15
- package/dist/{sdk-DrK2bq-v.js → sdk-GGpyGTao.js} +9 -9
- package/dist/{sidebar-BLGIKgRI.js → sidebar-BWno0E4w.js} +4 -4
- package/dist/{sidebar-CUaX1IBW.d.ts → sidebar-CLsIJZZf.d.ts} +6 -6
- package/dist/{sidebar-DukWbBrE.d.ts → sidebar-D4m_pVpS.d.ts} +6 -6
- package/dist/{snippets-Bi0ZADmt.d.ts → snippets-CwVjwsAo.d.ts} +9 -9
- package/dist/{snippets-CocIZMn0.d.ts → snippets-Ym3mnHO3.d.ts} +9 -9
- package/dist/{snippets-D4VhtZIC.js → snippets-kI8eNs1F.js} +4 -4
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +5 -5
- package/dist/style.js +1 -1
- package/dist/styles.css +5 -0
- package/dist/{typescript-DDa446mB.js → typescript-D924WidI.js} +5 -5
- package/dist/{use-components-Dbin0y07.js → use-components-BUz3GbO4.js} +1 -1
- package/dist/{utils-BoRmEFRn.js → utils-D01mAUfQ.js} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +3 -3
- package/dist/languages-DW_T-Th6.js +0 -28
- /package/dist/{chunk-Du3t87LU.js → chunk-BN_g-Awi.js} +0 -0
- /package/dist/{component-generics-CmIGbBLq.js → component-generics-POFirVVb.js} +0 -0
- /package/dist/{docs-Bw-eLYjA.js → docs-Di94viZV.js} +0 -0
- /package/dist/{icons-DMkAA03z.js → icons-BYKn5X8E.js} +0 -0
- /package/dist/{index-Ct7H30x1.d.ts → index-zNpvNvtN.d.ts} +0 -0
- /package/dist/{navigation-By1sQl6M.js → navigation-aoYZ_tl4.js} +0 -0
- /package/dist/{style-TeAZuiHh.js → style-LwfvXElj.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as Resource, l as Method } from "./index-
|
|
1
|
+
import { f as Resource, l as Method } from "./index-zNpvNvtN.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/sidebar.d.ts
|
|
6
6
|
type SidebarExpanderProps = {
|
|
@@ -12,25 +12,25 @@ declare function SidebarExpander({
|
|
|
12
12
|
open,
|
|
13
13
|
summary,
|
|
14
14
|
children
|
|
15
|
-
}: SidebarExpanderProps):
|
|
15
|
+
}: SidebarExpanderProps): react_jsx_runtime32.JSX.Element;
|
|
16
16
|
type SidebarMethodProps = {
|
|
17
17
|
method: Method;
|
|
18
18
|
};
|
|
19
19
|
declare function SidebarMethod({
|
|
20
20
|
method
|
|
21
|
-
}: SidebarMethodProps):
|
|
21
|
+
}: SidebarMethodProps): react_jsx_runtime32.JSX.Element;
|
|
22
22
|
type SidebarResourceProps = {
|
|
23
23
|
resource: Resource;
|
|
24
24
|
};
|
|
25
25
|
declare function SidebarResource({
|
|
26
26
|
resource
|
|
27
|
-
}: SidebarResourceProps):
|
|
27
|
+
}: SidebarResourceProps): react_jsx_runtime32.JSX.Element;
|
|
28
28
|
type SidebarProps = {
|
|
29
29
|
resources: Resource[];
|
|
30
30
|
selectedPath?: string;
|
|
31
31
|
};
|
|
32
32
|
declare function Sidebar({
|
|
33
33
|
resources
|
|
34
|
-
}: SidebarProps):
|
|
34
|
+
}: SidebarProps): react_jsx_runtime32.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 { f as Resource, l as Method } from "./index-
|
|
1
|
+
import { f as Resource, l as Method } from "./index-zNpvNvtN.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime63 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/sidebar.d.ts
|
|
6
6
|
type SidebarExpanderProps = {
|
|
@@ -12,25 +12,25 @@ declare function SidebarExpander({
|
|
|
12
12
|
open,
|
|
13
13
|
summary,
|
|
14
14
|
children
|
|
15
|
-
}: SidebarExpanderProps):
|
|
15
|
+
}: SidebarExpanderProps): react_jsx_runtime63.JSX.Element;
|
|
16
16
|
type SidebarMethodProps = {
|
|
17
17
|
method: Method;
|
|
18
18
|
};
|
|
19
19
|
declare function SidebarMethod({
|
|
20
20
|
method
|
|
21
|
-
}: SidebarMethodProps):
|
|
21
|
+
}: SidebarMethodProps): react_jsx_runtime63.JSX.Element;
|
|
22
22
|
type SidebarResourceProps = {
|
|
23
23
|
resource: Resource;
|
|
24
24
|
};
|
|
25
25
|
declare function SidebarResource({
|
|
26
26
|
resource
|
|
27
|
-
}: SidebarResourceProps):
|
|
27
|
+
}: SidebarResourceProps): react_jsx_runtime63.JSX.Element;
|
|
28
28
|
type SidebarProps = {
|
|
29
29
|
resources: Resource[];
|
|
30
30
|
selectedPath?: string;
|
|
31
31
|
};
|
|
32
32
|
declare function Sidebar({
|
|
33
33
|
resources
|
|
34
|
-
}: SidebarProps):
|
|
34
|
+
}: SidebarProps): react_jsx_runtime63.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,7 +1,7 @@
|
|
|
1
|
-
import { l as Method } from "./index-
|
|
2
|
-
import { C as TransformRequestSnippetFn } from "./sdk-
|
|
1
|
+
import { l as Method } from "./index-zNpvNvtN.js";
|
|
2
|
+
import { C as TransformRequestSnippetFn } from "./sdk-CIxaNoAs.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime47 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/snippets.d.ts
|
|
7
7
|
type SnippetCodeProps = {
|
|
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
|
|
|
12
12
|
declare function SnippetCode({
|
|
13
13
|
content,
|
|
14
14
|
language
|
|
15
|
-
}: SnippetCodeProps):
|
|
15
|
+
}: SnippetCodeProps): react_jsx_runtime47.JSX.Element;
|
|
16
16
|
type SnippetProps = {
|
|
17
17
|
method: Method;
|
|
18
18
|
requestTitle?: React$1.ReactNode;
|
|
@@ -25,29 +25,29 @@ type SnippetContainerProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare function SnippetContainer({
|
|
27
27
|
children
|
|
28
|
-
}: SnippetContainerProps):
|
|
28
|
+
}: SnippetContainerProps): react_jsx_runtime47.JSX.Element;
|
|
29
29
|
type SnippetRequestContainerProps = {
|
|
30
30
|
children?: React$1.ReactNode;
|
|
31
31
|
signature?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function SnippetRequestContainer({
|
|
34
34
|
children
|
|
35
|
-
}: SnippetRequestContainerProps):
|
|
35
|
+
}: SnippetRequestContainerProps): react_jsx_runtime47.JSX.Element;
|
|
36
36
|
declare function Snippet({
|
|
37
37
|
requestTitle,
|
|
38
38
|
method,
|
|
39
39
|
transformRequestSnippet
|
|
40
|
-
}: SnippetProps):
|
|
40
|
+
}: SnippetProps): react_jsx_runtime47.JSX.Element | null;
|
|
41
41
|
declare function SnippetButtons({
|
|
42
42
|
content
|
|
43
43
|
}: {
|
|
44
44
|
content: string;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime47.JSX.Element;
|
|
46
46
|
declare function SnippetFooter(): React$1.ReactNode;
|
|
47
47
|
declare function SnippetResponse({
|
|
48
48
|
responses
|
|
49
49
|
}: {
|
|
50
50
|
responses: Method['exampleResponses'];
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime47.JSX.Element | null;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { l as Method } from "./index-
|
|
2
|
-
import { C as TransformRequestSnippetFn } from "./sdk-
|
|
1
|
+
import { l as Method } from "./index-zNpvNvtN.js";
|
|
2
|
+
import { C as TransformRequestSnippetFn } from "./sdk-BebFnWYL.js";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime67 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/components/snippets.d.ts
|
|
7
7
|
type SnippetCodeProps = {
|
|
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
|
|
|
12
12
|
declare function SnippetCode({
|
|
13
13
|
content,
|
|
14
14
|
language
|
|
15
|
-
}: SnippetCodeProps):
|
|
15
|
+
}: SnippetCodeProps): react_jsx_runtime67.JSX.Element;
|
|
16
16
|
type SnippetProps = {
|
|
17
17
|
method: Method;
|
|
18
18
|
requestTitle?: React$1.ReactNode;
|
|
@@ -25,29 +25,29 @@ type SnippetContainerProps = {
|
|
|
25
25
|
};
|
|
26
26
|
declare function SnippetContainer({
|
|
27
27
|
children
|
|
28
|
-
}: SnippetContainerProps):
|
|
28
|
+
}: SnippetContainerProps): react_jsx_runtime67.JSX.Element;
|
|
29
29
|
type SnippetRequestContainerProps = {
|
|
30
30
|
children?: React$1.ReactNode;
|
|
31
31
|
signature?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function SnippetRequestContainer({
|
|
34
34
|
children
|
|
35
|
-
}: SnippetRequestContainerProps):
|
|
35
|
+
}: SnippetRequestContainerProps): react_jsx_runtime67.JSX.Element;
|
|
36
36
|
declare function Snippet({
|
|
37
37
|
requestTitle,
|
|
38
38
|
method,
|
|
39
39
|
transformRequestSnippet
|
|
40
|
-
}: SnippetProps):
|
|
40
|
+
}: SnippetProps): react_jsx_runtime67.JSX.Element | null;
|
|
41
41
|
declare function SnippetButtons({
|
|
42
42
|
content
|
|
43
43
|
}: {
|
|
44
44
|
content: string;
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime67.JSX.Element;
|
|
46
46
|
declare function SnippetFooter(): React$1.ReactNode;
|
|
47
47
|
declare function SnippetResponse({
|
|
48
48
|
responses
|
|
49
49
|
}: {
|
|
50
50
|
responses: Method['exampleResponses'];
|
|
51
|
-
}):
|
|
51
|
+
}): react_jsx_runtime67.JSX.Element | null;
|
|
52
52
|
//#endregion
|
|
53
53
|
export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as useLanguage, c as useSnippet, r as useDeclaration } from "./docs-
|
|
2
|
-
import { r as useHighlight } from "./markdown-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { a as useLanguage, c as useSnippet, r as useDeclaration } from "./docs-Di94viZV.js";
|
|
2
|
+
import { r as useHighlight } from "./markdown-D2JWyRws.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
import clsx from "clsx";
|
package/dist/spec.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as Resource, g as SpecLanguage, h as Spec, l as Method, r as DeclarationNode, u as Model } from "./index-
|
|
2
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { f as Resource, g as SpecLanguage, h as Spec, l as Method, r as DeclarationNode, u as Model } from "./index-zNpvNvtN.js";
|
|
2
|
+
import { t as DocsLanguage } from "./routing-CtbZJru_.js";
|
|
3
3
|
|
|
4
4
|
//#region src/spec.d.ts
|
|
5
5
|
type SecurityScheme = Spec['security_schemes'][number];
|
package/dist/spec.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { n as Languages } from "./routing-
|
|
2
|
-
import { r as isResourceEmpty } from "./utils-
|
|
1
|
+
import { n as Languages } from "./routing-Ce0_tBW6.js";
|
|
2
|
+
import { r as isResourceEmpty } from "./utils-D01mAUfQ.js";
|
|
3
3
|
|
|
4
4
|
//#region src/spec.ts
|
|
5
5
|
const defaultTransforms = {
|
|
@@ -90,15 +90,15 @@ function generateSpecForResource(spec, name, lang, transforms) {
|
|
|
90
90
|
security_schemes: spec.security_schemes?.map((scheme) => transforms.securityScheme(scheme)),
|
|
91
91
|
decls: { [lang]: mapEntries({
|
|
92
92
|
input: spec.decls[lang] ?? {},
|
|
93
|
-
filter: (name
|
|
93
|
+
filter: (name) => name.startsWith(resource.stainlessPath) || name.startsWith("(resource) $shared"),
|
|
94
94
|
fn: (decl) => transforms.declaration(decl, lang)
|
|
95
95
|
}) },
|
|
96
96
|
snippets: mapEntries({
|
|
97
97
|
input: spec.snippets,
|
|
98
|
-
filter: (name
|
|
98
|
+
filter: (name) => name.startsWith(lang),
|
|
99
99
|
fn: (snippets) => mapEntries({
|
|
100
100
|
input: snippets,
|
|
101
|
-
filter: (name
|
|
101
|
+
filter: (name) => name.startsWith(resource.stainlessPath),
|
|
102
102
|
fn: (snippet) => transforms.snippet(snippet, lang)
|
|
103
103
|
}) ?? {}
|
|
104
104
|
})
|
package/dist/style.js
CHANGED
package/dist/styles.css
CHANGED
|
@@ -87,6 +87,11 @@ body {
|
|
|
87
87
|
font-weight: 500;
|
|
88
88
|
line-height: var(--stl-typography-line-height-heading);
|
|
89
89
|
font-family: var(--stl-typography-font-heading);
|
|
90
|
+
|
|
91
|
+
text-wrap: pretty;
|
|
92
|
+
&:where(h1, h2, h3) {
|
|
93
|
+
text-wrap: balance;
|
|
94
|
+
}
|
|
90
95
|
}
|
|
91
96
|
|
|
92
97
|
:where(h1:not(.stl-ui-not-prose *), .stl-ui-not-prose .stl-ui-prose h1) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-
|
|
3
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
4
|
-
import { t as useComponents } from "./use-components-
|
|
5
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
+
import { a as useLanguage, l as useSpec, r as useDeclaration } from "./docs-Di94viZV.js";
|
|
3
|
+
import { n as useLanguageComponents } from "./contexts-CeV_L_Iy.js";
|
|
4
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
5
|
+
import { t as style_default } from "./style-LwfvXElj.js";
|
|
6
6
|
import * as React$1 from "react";
|
|
7
7
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { f as parseStainlessPath } from "./routing-
|
|
1
|
+
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
+
import { f as parseStainlessPath } from "./routing-Ce0_tBW6.js";
|
|
3
3
|
|
|
4
4
|
//#region src/utils.ts
|
|
5
5
|
var utils_exports = /* @__PURE__ */ __exportAll({
|
package/dist/utils.d.ts
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-
|
|
1
|
+
import { n as getResourceFromSpec, r as isResourceEmpty, t as flatResources } from "./utils-D01mAUfQ.js";
|
|
2
2
|
|
|
3
3
|
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.
|
|
4
|
+
"version": "0.1.0-beta.61",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"clsx": "^2.1.1",
|
|
19
19
|
"htmlparser2": "^10.0.0",
|
|
20
20
|
"lucide-react": "^0.562.0",
|
|
21
|
-
"@stainless-api/ui-primitives": "0.1.0-beta.
|
|
21
|
+
"@stainless-api/ui-primitives": "0.1.0-beta.45"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@types/node": "24.10.9",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"dotenv": "17.2.3",
|
|
28
28
|
"react": "^19.2.3",
|
|
29
29
|
"react-dom": "^19.2.3",
|
|
30
|
-
"tsdown": "^0.20.0
|
|
30
|
+
"tsdown": "^0.20.0",
|
|
31
31
|
"typescript": "5.9.3",
|
|
32
32
|
"@stainless/eslint-config": "0.1.0-beta.1",
|
|
33
33
|
"@stainless/sdk-json": "^0.1.0-beta.3"
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-Du3t87LU.js";
|
|
2
|
-
import { o as typescript_exports } from "./typescript-DDa446mB.js";
|
|
3
|
-
import { o as java_exports } from "./java-Bw0o13Wk.js";
|
|
4
|
-
import { o as go_exports } from "./go-OFa_5xje.js";
|
|
5
|
-
import { o as python_exports } from "./python-D8NWX7Cb.js";
|
|
6
|
-
import { o as ruby_exports } from "./ruby-DOUaLhKJ.js";
|
|
7
|
-
import { s as http_exports } from "./http-olFAYLFq.js";
|
|
8
|
-
import { o as csharp_exports } from "./csharp-BbNnLZWW.js";
|
|
9
|
-
import { o as cli_exports } from "./cli-CoLvH9jq.js";
|
|
10
|
-
|
|
11
|
-
//#region src/languages/index.ts
|
|
12
|
-
var languages_exports = /* @__PURE__ */ __exportAll({
|
|
13
|
-
cli: () => cli_exports,
|
|
14
|
-
csharp: () => csharp_exports,
|
|
15
|
-
go: () => go_exports,
|
|
16
|
-
http: () => http_exports,
|
|
17
|
-
java: () => java_exports,
|
|
18
|
-
kotlin: () => kotlin,
|
|
19
|
-
node: () => node,
|
|
20
|
-
python: () => python_exports,
|
|
21
|
-
ruby: () => ruby_exports,
|
|
22
|
-
typescript: () => typescript_exports
|
|
23
|
-
});
|
|
24
|
-
const node = typescript_exports;
|
|
25
|
-
const kotlin = java_exports;
|
|
26
|
-
|
|
27
|
-
//#endregion
|
|
28
|
-
export { languages_exports as n, node as r, kotlin as t };
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|