@stainless-api/docs-ui 0.1.0-beta.60 → 0.1.0-beta.62
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-seA1JsK4.d.ts → breadcrumbs-C14t6IEW.d.ts} +3 -3
- package/dist/{breadcrumbs-BagP1oN2.d.ts → breadcrumbs-IxKxOsE0.d.ts} +1 -1
- package/dist/{breadcrumbs-85Y-pybq.js → breadcrumbs-Q76uwfdC.js} +3 -3
- package/dist/{cli-CoLvH9jq.js → cli-lM9nDBQl.js} +5 -5
- package/dist/{component-CF9lLzZX.js → component-D93BctHn.js} +3 -3
- package/dist/{component-generics-DS5pysMb.d.ts → component-generics-Bd4PJtTE.d.ts} +2 -2
- package/dist/{component-generics-BblkOh-y.d.ts → component-generics-BmJeLTNJ.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 +11 -10
- package/dist/components/index.js +18 -17
- 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-sidebar.d.ts +2 -0
- package/dist/components/sdk-sidebar.js +10 -0
- package/dist/components/sdk.d.ts +2 -2
- package/dist/components/sdk.js +9 -9
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +7 -7
- package/dist/components/stl-sidebar.d.ts +2 -0
- package/dist/components/stl-sidebar.js +5 -0
- package/dist/{components-Bz5h0Y4x.js → components-DmiarGZ9.js} +15 -14
- package/dist/contexts/component-generics.d.ts +1 -1
- package/dist/contexts/component-generics.js +1 -1
- package/dist/contexts/component-types.d.ts +11 -10
- package/dist/contexts/component.d.ts +14 -13
- package/dist/contexts/component.js +27 -26
- package/dist/contexts/docs.d.ts +2 -2
- package/dist/contexts/docs.js +2 -2
- package/dist/contexts/index.d.ts +17 -16
- package/dist/contexts/index.js +6 -6
- 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 +10 -9
- package/dist/contexts/use-components.js +2 -2
- package/dist/{contexts-DZfPd182.js → contexts-DMjqoc7S.js} +6 -5
- package/dist/{csharp-BbNnLZWW.js → csharp-BD37FKH6.js} +4 -4
- package/dist/{docs-Bw-eLYjA.js → docs-6PYi1eEV.js} +5 -1
- package/dist/{docs-DdWB4Wsv.d.ts → docs-Dzjz2m8E.d.ts} +6 -5
- package/dist/{docs-DFS6wkGm.d.ts → docs-cYeV7nR2.d.ts} +5 -4
- package/dist/{go-OFa_5xje.js → go-v-i4WDzK.js} +4 -4
- package/dist/{http-olFAYLFq.js → http-CXjSoAxs.js} +14 -10
- package/dist/{index-BdrPd64A.d.ts → index-6vTGbgXx.d.ts} +35 -35
- package/dist/index-C619u0I1.d.ts +16 -0
- package/dist/index-CiZUWHkc.d.ts +16 -0
- package/dist/{index-Ct7H30x1.d.ts → index-DuHyTVVD.d.ts} +1 -1
- package/dist/{index-CLMudlDX.d.ts → index-wOU588Um.d.ts} +35 -35
- package/dist/index.d.ts +16 -15
- package/dist/index.js +29 -28
- package/dist/{java-Bw0o13Wk.js → java-A6j1NMJ7.js} +5 -5
- package/dist/languages/cli.d.ts +11 -10
- package/dist/languages/cli.js +19 -18
- package/dist/languages/csharp.d.ts +11 -10
- package/dist/languages/csharp.js +7 -7
- package/dist/languages/go.d.ts +11 -10
- package/dist/languages/go.js +7 -7
- package/dist/languages/http.d.ts +11 -10
- package/dist/languages/http.js +18 -17
- package/dist/languages/index.d.ts +11 -10
- package/dist/languages/index.js +26 -25
- package/dist/languages/java.d.ts +11 -10
- package/dist/languages/java.js +7 -7
- package/dist/languages/python.d.ts +11 -10
- package/dist/languages/python.js +7 -7
- package/dist/languages/ruby.d.ts +11 -10
- package/dist/languages/ruby.js +7 -7
- package/dist/languages/typescript.d.ts +11 -10
- package/dist/languages/typescript.js +7 -7
- package/dist/languages-C6gLi0rP.js +28 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +28 -27
- package/dist/markdown/printer.d.ts +2 -2
- package/dist/markdown/printer.js +29 -28
- package/dist/markdown/utils.d.ts +3 -3
- package/dist/markdown/utils.js +2 -2
- package/dist/{markdown-ZzVcn4kq.js → markdown-DHjcD13O.js} +1 -1
- package/dist/{markdown-Dyn0NA2f.d.ts → markdown-DkGIT8Kx.d.ts} +2 -2
- package/dist/{markdown-DtbgEdDt.d.ts → markdown-DmrCjnT8.d.ts} +2 -2
- package/dist/{method-CxjUvijp.d.ts → method-BlxcOrX4.d.ts} +6 -6
- package/dist/{method-Dktsfckf.js → method-mosT_h9v.js} +3 -3
- package/dist/{navigation-Dk55c7au.d.ts → navigation-865UcdP7.d.ts} +1 -1
- package/dist/{navigation-DLQvobDt.d.ts → navigation-CRKiHkwL.d.ts} +3 -3
- package/dist/{overview-rRsC-Yi_.d.ts → overview-CAxvIfWH.d.ts} +7 -7
- package/dist/{overview-EkRigi6e.js → overview-CDIg0UWY.js} +8 -8
- package/dist/{overview-DVu-9kpm.d.ts → overview-J95gyke9.d.ts} +7 -7
- package/dist/{primitives-DR4XbZ2t.d.ts → primitives-8XXs7qDy.d.ts} +12 -12
- package/dist/{primitives-BVaiiY63.js → primitives-CRiUE1em.js} +6 -6
- package/dist/{primitives-DP-cTr1W.d.ts → primitives-KIlfflF9.d.ts} +12 -12
- package/dist/{properties-Ll927UYJ.d.ts → properties-0U_JmHNb.d.ts} +5 -5
- package/dist/{properties-BHvUHbcf.js → properties-4w8hy0hf.js} +3 -3
- package/dist/{properties-lx53LZPl.d.ts → properties-hAqMR9G-.d.ts} +5 -5
- package/dist/{python-D8NWX7Cb.js → python-CtQJaLw5.js} +4 -4
- package/dist/{routing-Fzn1XfX_.js → routing-D6595ovf.js} +10 -2
- package/dist/{routing-sjrF8U7O.d.ts → routing-DmNHIb6b.d.ts} +13 -3
- package/dist/routing-Wb-T6WOm.d.ts +64 -0
- package/dist/routing.d.ts +2 -2
- package/dist/routing.js +2 -2
- package/dist/{ruby-DOUaLhKJ.js → ruby-DJqEHgOw.js} +5 -5
- package/dist/{sdk-Dhu_gfzq.d.ts → sdk-CoiDgyHc.d.ts} +20 -16
- package/dist/{sdk-DrK2bq-v.js → sdk-DXS8pW0X.js} +48 -18
- package/dist/sdk-sidebar-BoRTRjDJ.d.ts +15 -0
- package/dist/sdk-sidebar-CF3tb0Yl.js +36 -0
- package/dist/sdk-sidebar-CYjEwB-m.d.ts +15 -0
- package/dist/{sdk-DdW_-RBy.d.ts → sdk-swLaCpqB.d.ts} +20 -16
- package/dist/{snippets-Bi0ZADmt.d.ts → snippets-BPK_oVIf.d.ts} +9 -9
- package/dist/{snippets-CocIZMn0.d.ts → snippets-CaCkByky.d.ts} +9 -9
- package/dist/{snippets-D4VhtZIC.js → snippets-bh8lfniq.js} +4 -4
- package/dist/spec.d.ts +2 -2
- package/dist/spec.js +5 -5
- package/dist/stl-sidebar-BQvhLYPO.d.ts +45 -0
- package/dist/stl-sidebar-BSx0HI2z.d.ts +45 -0
- package/dist/stl-sidebar-DdxZx2KK.js +82 -0
- package/dist/{style-TeAZuiHh.js → style-Bxr5gqcM.js} +4 -4
- package/dist/style.d.ts +4 -4
- package/dist/style.js +1 -1
- package/dist/styles/primitives.css +6 -0
- package/dist/styles/resets.css +1 -1
- package/dist/styles/sidebar.css +219 -49
- package/dist/styles.css +231 -50
- package/dist/{typescript-DDa446mB.js → typescript-DA7mcN1t.js} +5 -5
- package/dist/{use-components-Dbin0y07.js → use-components-BUz3GbO4.js} +1 -1
- package/dist/{utils-BoRmEFRn.js → utils-BpKHeVMe.js} +2 -2
- package/dist/utils.d.ts +1 -1
- package/dist/utils.js +1 -1
- package/package.json +3 -3
- package/dist/components/sidebar.d.ts +0 -2
- package/dist/components/sidebar.js +0 -9
- package/dist/index-DTl8aUkb.d.ts +0 -15
- package/dist/index-Dp5biTf5.d.ts +0 -15
- package/dist/languages-DW_T-Th6.js +0 -28
- package/dist/sidebar-BLGIKgRI.js +0 -85
- package/dist/sidebar-CUaX1IBW.d.ts +0 -36
- package/dist/sidebar-DukWbBrE.d.ts +0 -36
- /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/{icons-DMkAA03z.js → icons-BYKn5X8E.js} +0 -0
- /package/dist/{method-C850sHPB.d.ts → method-DzUn_qWF.d.ts} +0 -0
- /package/dist/{navigation-By1sQl6M.js → navigation-aoYZ_tl4.js} +0 -0
package/dist/markdown/printer.js
CHANGED
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
import { t as __exportAll } from "../chunk-
|
|
2
|
-
import { t as DocsProvider } from "../docs-
|
|
3
|
-
import "../component-generics-
|
|
4
|
-
import "../navigation-
|
|
5
|
-
import "../markdown-
|
|
6
|
-
import { n as useLanguageComponents } from "../contexts-
|
|
7
|
-
import "../use-components-
|
|
8
|
-
import { t as style_default } from "../style-
|
|
9
|
-
import "../properties-
|
|
10
|
-
import "../method-
|
|
11
|
-
import "../primitives-
|
|
12
|
-
import "../icons-
|
|
13
|
-
import "../sdk-
|
|
14
|
-
import "../snippets-
|
|
15
|
-
import "../overview-
|
|
16
|
-
import "../breadcrumbs-
|
|
17
|
-
import "../sidebar-
|
|
18
|
-
import "../
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
21
|
-
import "../
|
|
22
|
-
import "../
|
|
23
|
-
import "../
|
|
24
|
-
import "../
|
|
25
|
-
import "../
|
|
26
|
-
import "../
|
|
27
|
-
import "../
|
|
28
|
-
import
|
|
1
|
+
import { t as __exportAll } from "../chunk-BN_g-Awi.js";
|
|
2
|
+
import { t as DocsProvider } from "../docs-6PYi1eEV.js";
|
|
3
|
+
import "../component-generics-POFirVVb.js";
|
|
4
|
+
import "../navigation-aoYZ_tl4.js";
|
|
5
|
+
import "../markdown-DHjcD13O.js";
|
|
6
|
+
import { n as useLanguageComponents } from "../contexts-DMjqoc7S.js";
|
|
7
|
+
import "../use-components-BUz3GbO4.js";
|
|
8
|
+
import { t as style_default } from "../style-Bxr5gqcM.js";
|
|
9
|
+
import "../properties-4w8hy0hf.js";
|
|
10
|
+
import "../method-mosT_h9v.js";
|
|
11
|
+
import "../primitives-CRiUE1em.js";
|
|
12
|
+
import "../icons-BYKn5X8E.js";
|
|
13
|
+
import "../sdk-DXS8pW0X.js";
|
|
14
|
+
import "../snippets-bh8lfniq.js";
|
|
15
|
+
import "../overview-CDIg0UWY.js";
|
|
16
|
+
import "../breadcrumbs-Q76uwfdC.js";
|
|
17
|
+
import "../stl-sidebar-DdxZx2KK.js";
|
|
18
|
+
import "../sdk-sidebar-CF3tb0Yl.js";
|
|
19
|
+
import "../components-DmiarGZ9.js";
|
|
20
|
+
import "../typescript-DA7mcN1t.js";
|
|
21
|
+
import "../java-A6j1NMJ7.js";
|
|
22
|
+
import "../go-v-i4WDzK.js";
|
|
23
|
+
import "../python-CtQJaLw5.js";
|
|
24
|
+
import "../ruby-DJqEHgOw.js";
|
|
25
|
+
import "../http-CXjSoAxs.js";
|
|
26
|
+
import "../csharp-BD37FKH6.js";
|
|
27
|
+
import "../cli-lM9nDBQl.js";
|
|
28
|
+
import "../languages-C6gLi0rP.js";
|
|
29
|
+
import { t as ComponentProvider } from "../component-D93BctHn.js";
|
|
29
30
|
import "react";
|
|
30
31
|
import { jsx } from "react/jsx-runtime";
|
|
31
32
|
import { renderToStaticMarkup } from "react-dom/server";
|
package/dist/markdown/utils.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as DocsLanguage } from "../routing-
|
|
3
|
-
import {
|
|
1
|
+
import { _ as SpecLanguage, g as Spec, l as LanguageDeclNodes } from "../index-DuHyTVVD.js";
|
|
2
|
+
import { t as DocsLanguage } from "../routing-Wb-T6WOm.js";
|
|
3
|
+
import { w as TransformRequestSnippetFn } from "../sdk-swLaCpqB.js";
|
|
4
4
|
|
|
5
5
|
//#region src/markdown/utils.d.ts
|
|
6
6
|
type EnvironmentType = {
|
package/dist/markdown/utils.js
CHANGED
|
@@ -21,8 +21,8 @@ function getSnippet(env, path) {
|
|
|
21
21
|
}
|
|
22
22
|
function stripMarkup(content) {
|
|
23
23
|
let output = "";
|
|
24
|
-
new Parser({ ontext(content
|
|
25
|
-
output += content
|
|
24
|
+
new Parser({ ontext(content) {
|
|
25
|
+
output += content;
|
|
26
26
|
} }).parseComplete(content);
|
|
27
27
|
return output;
|
|
28
28
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime34 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContext = {
|
|
@@ -17,6 +17,6 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps):
|
|
20
|
+
}: MarkdownProviderProps): react_jsx_runtime34.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/markdown.d.ts
|
|
5
5
|
type MarkdownContext = {
|
|
@@ -17,6 +17,6 @@ declare function MarkdownProvider({
|
|
|
17
17
|
render,
|
|
18
18
|
highlight,
|
|
19
19
|
children
|
|
20
|
-
}: MarkdownProviderProps):
|
|
20
|
+
}: MarkdownProviderProps): react_jsx_runtime4.JSX.Element;
|
|
21
21
|
//#endregion
|
|
22
22
|
export { useMarkdownContext as a, useHighlight as i, MarkdownProvider as n, useRenderMarkdown as o, MarkdownProviderProps as r, MarkdownContext as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime22 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/method.d.ts
|
|
6
6
|
type MethodHeaderProps = {
|
|
@@ -16,7 +16,7 @@ declare function MethodHeader({
|
|
|
16
16
|
signature,
|
|
17
17
|
children,
|
|
18
18
|
level
|
|
19
|
-
}: MethodHeaderProps):
|
|
19
|
+
}: MethodHeaderProps): react_jsx_runtime22.JSX.Element;
|
|
20
20
|
type MethodRouteProps = {
|
|
21
21
|
httpMethod?: string;
|
|
22
22
|
endpoint?: string | ReactNode;
|
|
@@ -26,13 +26,13 @@ declare function MethodRoute({
|
|
|
26
26
|
httpMethod,
|
|
27
27
|
endpoint,
|
|
28
28
|
iconOnly
|
|
29
|
-
}: MethodRouteProps):
|
|
29
|
+
}: MethodRouteProps): react_jsx_runtime22.JSX.Element;
|
|
30
30
|
type MethodDescriptionProps = {
|
|
31
31
|
description?: string;
|
|
32
32
|
};
|
|
33
33
|
declare function MethodDescription({
|
|
34
34
|
description
|
|
35
|
-
}: MethodDescriptionProps):
|
|
35
|
+
}: MethodDescriptionProps): react_jsx_runtime22.JSX.Element | undefined;
|
|
36
36
|
type MethodInfoProps = {
|
|
37
37
|
children?: ReactNode;
|
|
38
38
|
parameters?: ReactNode;
|
|
@@ -42,7 +42,7 @@ declare function MethodInfo({
|
|
|
42
42
|
children,
|
|
43
43
|
parameters,
|
|
44
44
|
returns
|
|
45
|
-
}: MethodInfoProps):
|
|
45
|
+
}: MethodInfoProps): react_jsx_runtime22.JSX.Element;
|
|
46
46
|
type MethodProps = {
|
|
47
47
|
id?: string;
|
|
48
48
|
header?: ReactNode;
|
|
@@ -54,6 +54,6 @@ declare function Method({
|
|
|
54
54
|
children,
|
|
55
55
|
className,
|
|
56
56
|
...props
|
|
57
|
-
}: MethodProps):
|
|
57
|
+
}: MethodProps): react_jsx_runtime22.JSX.Element;
|
|
58
58
|
//#endregion
|
|
59
59
|
export { MethodHeaderProps as a, MethodProps as c, MethodHeader as i, MethodRoute as l, MethodDescription as n, MethodInfo as o, MethodDescriptionProps as r, MethodInfoProps as s, Method as t, MethodRouteProps as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as useComponents } from "./use-components-
|
|
2
|
-
import { t as style_default } from "./style-
|
|
3
|
-
import { i as PropertyToggle } from "./properties-
|
|
1
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
2
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
3
|
+
import { i as PropertyToggle } from "./properties-4w8hy0hf.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as DocsLanguage } from "./routing-
|
|
1
|
+
import { t as DocsLanguage } from "./routing-Wb-T6WOm.js";
|
|
2
2
|
import * as React$1 from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime35 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/contexts/navigation.d.ts
|
|
6
6
|
type NavigationHandler = (ev: React$1.MouseEvent | null, opts: {
|
|
@@ -24,6 +24,6 @@ declare function NavigationProvider({
|
|
|
24
24
|
selectedPath,
|
|
25
25
|
onNavigate,
|
|
26
26
|
children
|
|
27
|
-
}: NavigationProviderProps):
|
|
27
|
+
}: NavigationProviderProps): react_jsx_runtime35.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { useNavigation as a, NavigationProviderProps as i, NavigationHandler as n, NavigationProvider as r, NavigationContextType as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { p as Resource, u as Method } from "./index-DuHyTVVD.js";
|
|
2
|
+
import * as react_jsx_runtime27 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
5
5
|
type SDKResourceProps = {
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime27.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime27.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime27.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime27.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime27.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
5
|
-
import { i as PropertyToggle } from "./properties-
|
|
6
|
-
import {
|
|
7
|
-
import { s as Markdown } from "./primitives-
|
|
8
|
-
import { n as getResourceFromSpec, t as flatResources } from "./utils-
|
|
1
|
+
import { i as useDeclaration, o as useLanguage, u as useSpec } from "./docs-6PYi1eEV.js";
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
5
|
+
import { i as PropertyToggle } from "./properties-4w8hy0hf.js";
|
|
6
|
+
import { p as parseStainlessPath } from "./routing-D6595ovf.js";
|
|
7
|
+
import { s as Markdown } from "./primitives-CRiUE1em.js";
|
|
8
|
+
import { n as getResourceFromSpec, t as flatResources } from "./utils-BpKHeVMe.js";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { createElement } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import * as
|
|
1
|
+
import { p as Resource, u as Method } from "./index-DuHyTVVD.js";
|
|
2
|
+
import * as react_jsx_runtime61 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/overview.d.ts
|
|
5
5
|
type SDKResourceProps = {
|
|
@@ -9,31 +9,31 @@ type SDKResourceProps = {
|
|
|
9
9
|
declare function SDKResourceHeader({
|
|
10
10
|
resource,
|
|
11
11
|
parents
|
|
12
|
-
}: SDKResourceProps):
|
|
12
|
+
}: SDKResourceProps): react_jsx_runtime61.JSX.Element | null;
|
|
13
13
|
type SDKMethodSummaryProps = {
|
|
14
14
|
method: Method;
|
|
15
15
|
};
|
|
16
16
|
declare function SDKMethodSummary({
|
|
17
17
|
method
|
|
18
|
-
}: SDKMethodSummaryProps):
|
|
18
|
+
}: SDKMethodSummaryProps): react_jsx_runtime61.JSX.Element;
|
|
19
19
|
declare function SDKResource({
|
|
20
20
|
resource,
|
|
21
21
|
parents,
|
|
22
22
|
showModels
|
|
23
23
|
}: SDKResourceProps & {
|
|
24
24
|
showModels?: boolean;
|
|
25
|
-
}):
|
|
25
|
+
}): react_jsx_runtime61.JSX.Element;
|
|
26
26
|
type SDKOverviewProps = {
|
|
27
27
|
resource: Resource;
|
|
28
28
|
};
|
|
29
29
|
declare function SDKOverview({
|
|
30
30
|
resource
|
|
31
|
-
}: SDKOverviewProps):
|
|
31
|
+
}: SDKOverviewProps): react_jsx_runtime61.JSX.Element;
|
|
32
32
|
type SDKRootProps = {
|
|
33
33
|
stainlessPath: string;
|
|
34
34
|
};
|
|
35
35
|
declare function SDKRoot({
|
|
36
36
|
stainlessPath
|
|
37
|
-
}: SDKRootProps):
|
|
37
|
+
}: SDKRootProps): react_jsx_runtime61.JSX.Element | null;
|
|
38
38
|
//#endregion
|
|
39
39
|
export { SDKResource as a, SDKRoot as c, SDKOverviewProps as i, SDKRootProps as l, SDKMethodSummaryProps as n, SDKResourceHeader as o, SDKOverview as r, SDKResourceProps as s, SDKMethodSummary as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime66 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime66.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime66.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime66.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime66.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime66.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,9 +56,9 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | react_jsx_runtime66.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
|
-
stainlessPath
|
|
61
|
+
stainlessPath?: string;
|
|
62
62
|
scroll?: boolean;
|
|
63
63
|
children?: ReactNode;
|
|
64
64
|
} & React.HTMLProps<HTMLAnchorElement>;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | react_jsx_runtime66.JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -79,7 +79,7 @@ declare function Input({
|
|
|
79
79
|
ref,
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: InputProps):
|
|
82
|
+
}: InputProps): react_jsx_runtime66.JSX.Element;
|
|
83
83
|
type ToggleButtonProps = {
|
|
84
84
|
children?: ReactNode;
|
|
85
85
|
selected?: boolean;
|
|
@@ -89,7 +89,7 @@ declare function ToggleButton({
|
|
|
89
89
|
selected,
|
|
90
90
|
ref,
|
|
91
91
|
...props
|
|
92
|
-
}: ToggleButtonProps):
|
|
92
|
+
}: ToggleButtonProps): react_jsx_runtime66.JSX.Element;
|
|
93
93
|
type ListViewProps<TItem> = {
|
|
94
94
|
items: Array<TItem>;
|
|
95
95
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
|
|
|
100
100
|
itemDelegate,
|
|
101
101
|
onSelectListItem,
|
|
102
102
|
...rest
|
|
103
|
-
}: ListViewProps<TItem>):
|
|
103
|
+
}: ListViewProps<TItem>): react_jsx_runtime66.JSX.Element;
|
|
104
104
|
//#endregion
|
|
105
105
|
export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as useNavigation } from "./navigation-
|
|
3
|
-
import { a as useRenderMarkdown } from "./markdown-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
5
|
-
import {
|
|
1
|
+
import { c as useSettings, o as useLanguage } from "./docs-6PYi1eEV.js";
|
|
2
|
+
import { n as useNavigation } from "./navigation-aoYZ_tl4.js";
|
|
3
|
+
import { a as useRenderMarkdown } from "./markdown-DHjcD13O.js";
|
|
4
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
5
|
+
import { s as generateRoute } from "./routing-D6595ovf.js";
|
|
6
6
|
import { Fragment, createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import clsx from "clsx";
|
|
@@ -129,7 +129,7 @@ function Link({ stainlessPath, scroll = true, children, ...props }) {
|
|
|
129
129
|
const handleClick = useCallback((e) => {
|
|
130
130
|
if (props.onClick) props.onClick(e);
|
|
131
131
|
if (e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
|
|
132
|
-
if (href) onNavigate?.(e, {
|
|
132
|
+
if (href && stainlessPath) onNavigate?.(e, {
|
|
133
133
|
href,
|
|
134
134
|
language,
|
|
135
135
|
stainlessPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react0 from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime32 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/primitives.d.ts
|
|
6
6
|
type JoinProps = {
|
|
@@ -12,7 +12,7 @@ declare function Join({
|
|
|
12
12
|
items,
|
|
13
13
|
limit,
|
|
14
14
|
children
|
|
15
|
-
}: JoinProps):
|
|
15
|
+
}: JoinProps): react_jsx_runtime32.JSX.Element[];
|
|
16
16
|
type ExpanderProps = {
|
|
17
17
|
id?: string;
|
|
18
18
|
open?: boolean;
|
|
@@ -28,19 +28,19 @@ declare function Expander({
|
|
|
28
28
|
virtual,
|
|
29
29
|
muted,
|
|
30
30
|
children
|
|
31
|
-
}: ExpanderProps):
|
|
31
|
+
}: ExpanderProps): react_jsx_runtime32.JSX.Element;
|
|
32
32
|
declare function VirtualExpander({
|
|
33
33
|
id,
|
|
34
34
|
open: isOpen,
|
|
35
35
|
muted,
|
|
36
36
|
summary,
|
|
37
37
|
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>):
|
|
38
|
+
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime32.JSX.Element;
|
|
39
39
|
declare function Markdown({
|
|
40
40
|
content
|
|
41
41
|
}: {
|
|
42
42
|
content: string;
|
|
43
|
-
}): "" |
|
|
43
|
+
}): "" | react_jsx_runtime32.JSX.Element | undefined;
|
|
44
44
|
type BadgeProps = {
|
|
45
45
|
id: string;
|
|
46
46
|
children?: ReactNode;
|
|
@@ -48,7 +48,7 @@ type BadgeProps = {
|
|
|
48
48
|
declare function Badge({
|
|
49
49
|
id,
|
|
50
50
|
children
|
|
51
|
-
}: BadgeProps):
|
|
51
|
+
}: BadgeProps): react_jsx_runtime32.JSX.Element;
|
|
52
52
|
type TooltipProps = {
|
|
53
53
|
content: ReactNode;
|
|
54
54
|
children: ReactNode;
|
|
@@ -56,9 +56,9 @@ type TooltipProps = {
|
|
|
56
56
|
declare function Tooltip({
|
|
57
57
|
content,
|
|
58
58
|
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
59
|
+
}: TooltipProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime32.JSX.Element | null | undefined;
|
|
60
60
|
type LinkProps = {
|
|
61
|
-
stainlessPath
|
|
61
|
+
stainlessPath?: string;
|
|
62
62
|
scroll?: boolean;
|
|
63
63
|
children?: ReactNode;
|
|
64
64
|
} & React.HTMLProps<HTMLAnchorElement>;
|
|
@@ -67,7 +67,7 @@ declare function Link({
|
|
|
67
67
|
scroll,
|
|
68
68
|
children,
|
|
69
69
|
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> |
|
|
70
|
+
}: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime32.JSX.Element | null | undefined;
|
|
71
71
|
type InputProps = {
|
|
72
72
|
left?: ReactNode;
|
|
73
73
|
right?: ReactNode;
|
|
@@ -79,7 +79,7 @@ declare function Input({
|
|
|
79
79
|
ref,
|
|
80
80
|
className,
|
|
81
81
|
...props
|
|
82
|
-
}: InputProps):
|
|
82
|
+
}: InputProps): react_jsx_runtime32.JSX.Element;
|
|
83
83
|
type ToggleButtonProps = {
|
|
84
84
|
children?: ReactNode;
|
|
85
85
|
selected?: boolean;
|
|
@@ -89,7 +89,7 @@ declare function ToggleButton({
|
|
|
89
89
|
selected,
|
|
90
90
|
ref,
|
|
91
91
|
...props
|
|
92
|
-
}: ToggleButtonProps):
|
|
92
|
+
}: ToggleButtonProps): react_jsx_runtime32.JSX.Element;
|
|
93
93
|
type ListViewProps<TItem> = {
|
|
94
94
|
items: Array<TItem>;
|
|
95
95
|
itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
|
|
@@ -100,6 +100,6 @@ declare function ListView<TItem>({
|
|
|
100
100
|
itemDelegate,
|
|
101
101
|
onSelectListItem,
|
|
102
102
|
...rest
|
|
103
|
-
}: ListViewProps<TItem>):
|
|
103
|
+
}: ListViewProps<TItem>): react_jsx_runtime32.JSX.Element;
|
|
104
104
|
//#endregion
|
|
105
105
|
export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime18 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime18.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime18.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime18.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime18.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as useComponents } from "./use-components-
|
|
3
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { c as useSettings, o as useLanguage } from "./docs-6PYi1eEV.js";
|
|
2
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
3
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
|
|
6
6
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime76 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/properties.d.ts
|
|
5
5
|
type PropertyToggleProps = {
|
|
@@ -7,19 +7,19 @@ type PropertyToggleProps = {
|
|
|
7
7
|
};
|
|
8
8
|
declare function PropertyToggle({
|
|
9
9
|
target
|
|
10
|
-
}: PropertyToggleProps):
|
|
10
|
+
}: PropertyToggleProps): react_jsx_runtime76.JSX.Element;
|
|
11
11
|
type PropertyDescriptionProps = {
|
|
12
12
|
description?: string;
|
|
13
13
|
};
|
|
14
14
|
declare function PropertyDescription({
|
|
15
15
|
description
|
|
16
|
-
}: PropertyDescriptionProps):
|
|
16
|
+
}: PropertyDescriptionProps): react_jsx_runtime76.JSX.Element | undefined;
|
|
17
17
|
type PropertyTitleProps = {
|
|
18
18
|
title?: string;
|
|
19
19
|
};
|
|
20
20
|
declare function PropertyTitle({
|
|
21
21
|
title
|
|
22
|
-
}: PropertyTitleProps):
|
|
22
|
+
}: PropertyTitleProps): react_jsx_runtime76.JSX.Element | undefined;
|
|
23
23
|
type PropertyProps = {
|
|
24
24
|
id?: string;
|
|
25
25
|
name?: ReactNode;
|
|
@@ -49,6 +49,6 @@ declare function Property({
|
|
|
49
49
|
additional,
|
|
50
50
|
constraints,
|
|
51
51
|
children
|
|
52
|
-
}: PropertyProps):
|
|
52
|
+
}: PropertyProps): react_jsx_runtime76.JSX.Element;
|
|
53
53
|
//#endregion
|
|
54
54
|
export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as __exportAll } from "./chunk-
|
|
2
|
-
import { n as useLanguageComponents } from "./contexts-
|
|
3
|
-
import { t as useComponents } from "./use-components-
|
|
4
|
-
import { t as style_default } from "./style-
|
|
1
|
+
import { t as __exportAll } from "./chunk-BN_g-Awi.js";
|
|
2
|
+
import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
|
|
3
|
+
import { t as useComponents } from "./use-components-BUz3GbO4.js";
|
|
4
|
+
import { t as style_default } from "./style-Bxr5gqcM.js";
|
|
5
5
|
import * as React$1 from "react";
|
|
6
6
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
|