@stainless-api/docs-ui 0.1.0-beta.55 → 0.1.0-beta.56
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-DbMfWbzf.d.ts → breadcrumbs-C4-bfzhR.d.ts} +2 -2
- package/dist/{breadcrumbs-DgN-xdoA.js → breadcrumbs-D4R5cbSw.js} +1 -1
- package/dist/breadcrumbs-R-MrRUAb.d.ts +25 -0
- package/dist/{component-CjLDkCLe.js → component-5L-iyIZ6.js} +1 -1
- package/dist/{component-generics-jEHMmsET.d.ts → component-generics-BXUlfDmo.d.ts} +2 -2
- package/dist/component-generics-DK3L_HfT.d.ts +30 -0
- package/dist/components/MaskedInput.d.ts +3 -3
- package/dist/components/breadcrumbs.d.ts +1 -1
- package/dist/components/breadcrumbs.js +2 -2
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/index.d.ts +9 -9
- package/dist/components/index.js +4 -4
- package/dist/components/method.d.ts +1 -1
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +2 -2
- package/dist/components/primitives.d.ts +1 -1
- package/dist/components/primitives.js +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/{components-oq97SH1A.js → components-DuWqBogG.js} +3 -3
- 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/component.js +5 -5
- package/dist/contexts/docs.d.ts +1 -1
- package/dist/contexts/index.d.ts +14 -14
- package/dist/contexts/markdown.d.ts +1 -1
- package/dist/contexts/navigation.d.ts +1 -1
- package/dist/contexts/use-components.d.ts +9 -9
- package/dist/docs-Bbe2P0iM.d.ts +47 -0
- package/dist/{docs-B8ujUobE.d.ts → docs-DXW3HLam.d.ts} +2 -2
- package/dist/{index-DJSj_TkD.d.ts → index-B0GI632t.d.ts} +30 -30
- package/dist/{index-DhAIZ735.d.ts → index-C8y-QK_S.d.ts} +8 -8
- package/dist/index-CMjS_7Z-.d.ts +274 -0
- package/dist/index-CXNWVE3S.d.ts +15 -0
- package/dist/index.d.ts +14 -14
- package/dist/index.js +4 -4
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +4 -4
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +4 -4
- 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 +1 -1
- package/dist/markdown/index.js +5 -5
- package/dist/markdown/printer.js +5 -5
- package/dist/markdown/utils.d.ts +1 -1
- package/dist/{markdown-BeBRJqrt.d.ts → markdown-DlZBWMNG.d.ts} +2 -2
- package/dist/markdown-xEaREw5e.d.ts +22 -0
- package/dist/{method-cLcsCc31.d.ts → method-BRfK1KuU.d.ts} +7 -7
- package/dist/method-BUQRaC59.d.ts +71 -0
- package/dist/navigation-BO8IjmvM.d.ts +29 -0
- package/dist/{navigation-ULXC5uFs.d.ts → navigation-C36vzOT-.d.ts} +1 -1
- package/dist/{overview-5f2psBcl.d.ts → overview-BI_asPrF.d.ts} +6 -6
- package/dist/{overview-BQk6WvtS.js → overview-D_7o7P6l.js} +1 -1
- package/dist/overview-g0IyxCAY.d.ts +39 -0
- package/dist/{primitives-BBa2vKex.d.ts → primitives-Bm0Cm3Xo.d.ts} +28 -21
- package/dist/primitives-COZrZCWZ.d.ts +104 -0
- package/dist/{primitives-1WQd5NT-.js → primitives-Dk_RvOzh.js} +23 -31
- package/dist/{properties-Clv76Ne3.d.ts → properties-BGhVCqER.d.ts} +5 -5
- package/dist/properties-BqjMaZ-l.d.ts +54 -0
- package/dist/routing-o8okAfJK.d.ts +54 -0
- package/dist/sdk-DA3oRxHu.d.ts +118 -0
- package/dist/{sdk-DT9NI4cv.d.ts → sdk-tq-VoVQP.d.ts} +13 -13
- package/dist/{sidebar-M9RnjNtV.d.ts → sidebar-DZQPDV-z.d.ts} +5 -5
- package/dist/sidebar-sPFdjATU.d.ts +36 -0
- package/dist/{snippets-swUWTk4z.d.ts → snippets-CVckJDzp.d.ts} +8 -8
- package/dist/snippets-Dg6GX-e4.d.ts +51 -0
- package/dist/styles/primitives.css +5 -4
- package/dist/styles/resets.css +1 -1
- package/dist/styles/search.css +32 -21
- package/dist/styles.css +39 -27
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime4 from "react/jsx-runtime";
|
|
2
2
|
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
3
|
|
|
4
4
|
//#region src/components/breadcrumbs.d.ts
|
|
@@ -20,6 +20,6 @@ declare function SDKBreadcrumbs({
|
|
|
20
20
|
currentPath: string;
|
|
21
21
|
basePath?: string;
|
|
22
22
|
config?: BreadcrumbConfig | null;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime4.JSX.Element | null;
|
|
24
24
|
//#endregion
|
|
25
25
|
export { generateApiBreadcrumbs as n, SDKBreadcrumbs as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as style_default } from "./style-cJZFOvnF.js";
|
|
2
2
|
import { n as Languages } from "./routing-Dl0FprK1.js";
|
|
3
|
-
import { i as Join } from "./primitives-
|
|
3
|
+
import { i as Join } from "./primitives-Dk_RvOzh.js";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { ChevronRight } from "lucide-react";
|
|
6
6
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import * as SDKJSON from "@stainless/sdk-json";
|
|
3
|
+
|
|
4
|
+
//#region src/components/breadcrumbs.d.ts
|
|
5
|
+
type Breadcrumb = {
|
|
6
|
+
title: string;
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
type BreadcrumbConfig = {
|
|
10
|
+
includeCurrentPage?: boolean;
|
|
11
|
+
};
|
|
12
|
+
declare function generateApiBreadcrumbs(fullPath: string, spec: any, basePath: string): Breadcrumb[] | null;
|
|
13
|
+
declare function SDKBreadcrumbs({
|
|
14
|
+
spec,
|
|
15
|
+
currentPath,
|
|
16
|
+
basePath,
|
|
17
|
+
config
|
|
18
|
+
}: {
|
|
19
|
+
spec: SDKJSON.Spec;
|
|
20
|
+
currentPath: string;
|
|
21
|
+
basePath?: string;
|
|
22
|
+
config?: BreadcrumbConfig | null;
|
|
23
|
+
}): react_jsx_runtime0.JSX.Element | null;
|
|
24
|
+
//#endregion
|
|
25
|
+
export { generateApiBreadcrumbs as n, SDKBreadcrumbs as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as customizeComponents, t as ComponentProvider$1 } from "./component-generics-B6Fn47Mz.js";
|
|
2
|
-
import { t as components_exports } from "./components-
|
|
2
|
+
import { t as components_exports } from "./components-DuWqBogG.js";
|
|
3
3
|
import { n as languages_exports } from "./languages-Ir9QQoCT.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime52 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/contexts/component-generics.d.ts
|
|
5
5
|
type DeepPartialMap<L> = { [K in keyof L]?: Partial<L[K]> };
|
|
@@ -25,6 +25,6 @@ declare function ComponentProvider<C, L>({
|
|
|
25
25
|
}: {
|
|
26
26
|
value: ComponentsContextType<C, L>;
|
|
27
27
|
children: React$1.ReactNode;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime52.JSX.Element;
|
|
29
29
|
//#endregion
|
|
30
30
|
export { useComponents as a, useComponentContext as i, ComponentsContextType as n, customizeComponents as r, ComponentProvider as t };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime68 from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/contexts/component-generics.d.ts
|
|
5
|
+
type DeepPartialMap<L> = { [K in keyof L]?: Partial<L[K]> };
|
|
6
|
+
type ComponentsContextType<C, L> = {
|
|
7
|
+
components: C;
|
|
8
|
+
language: L;
|
|
9
|
+
};
|
|
10
|
+
declare const useComponentContext: () => ComponentsContextType<any, any>;
|
|
11
|
+
declare function useComponents<C = unknown>(): C;
|
|
12
|
+
declare function customizeComponents<C, L>(defaults: {
|
|
13
|
+
components: C;
|
|
14
|
+
language: L;
|
|
15
|
+
}, overrides?: {
|
|
16
|
+
components?: Partial<C>;
|
|
17
|
+
language?: DeepPartialMap<L>;
|
|
18
|
+
}): {
|
|
19
|
+
components: C;
|
|
20
|
+
language: L;
|
|
21
|
+
};
|
|
22
|
+
declare function ComponentProvider<C, L>({
|
|
23
|
+
value,
|
|
24
|
+
children
|
|
25
|
+
}: {
|
|
26
|
+
value: ComponentsContextType<C, L>;
|
|
27
|
+
children: React$1.ReactNode;
|
|
28
|
+
}): react_jsx_runtime68.JSX.Element;
|
|
29
|
+
//#endregion
|
|
30
|
+
export { useComponents as a, useComponentContext as i, ComponentsContextType as n, customizeComponents as r, ComponentProvider as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as InputProps } from "../primitives-
|
|
2
|
-
import * as
|
|
1
|
+
import { i as InputProps } from "../primitives-COZrZCWZ.js";
|
|
2
|
+
import * as react_jsx_runtime90 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/components/MaskedInput.d.ts
|
|
5
5
|
declare const MaskedInput: ({
|
|
@@ -9,6 +9,6 @@ declare const MaskedInput: ({
|
|
|
9
9
|
value,
|
|
10
10
|
ref,
|
|
11
11
|
...props
|
|
12
|
-
}: InputProps) =>
|
|
12
|
+
}: InputProps) => react_jsx_runtime90.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { MaskedInput };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-
|
|
1
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-C4-bfzhR.js";
|
|
2
2
|
export { SDKBreadcrumbs, generateApiBreadcrumbs };
|
|
@@ -3,7 +3,7 @@ import "../component-generics-B6Fn47Mz.js";
|
|
|
3
3
|
import "../navigation-C5TN0SgC.js";
|
|
4
4
|
import "../markdown-CxdeWgjV.js";
|
|
5
5
|
import "../contexts-CLpvBI91.js";
|
|
6
|
-
import "../primitives-
|
|
7
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-
|
|
6
|
+
import "../primitives-Dk_RvOzh.js";
|
|
7
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-D4R5cbSw.js";
|
|
8
8
|
|
|
9
9
|
export { SDKBreadcrumbs, generateApiBreadcrumbs };
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime5 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region src/components/icons.d.ts
|
|
4
4
|
declare function CSharpIcon({
|
|
5
5
|
className
|
|
6
6
|
}: {
|
|
7
7
|
className?: string;
|
|
8
|
-
}):
|
|
8
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
9
9
|
declare function GoIcon({
|
|
10
10
|
className
|
|
11
11
|
}: {
|
|
12
12
|
className?: string;
|
|
13
|
-
}):
|
|
13
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
14
14
|
declare function JavaIcon({
|
|
15
15
|
className
|
|
16
16
|
}: {
|
|
17
17
|
className?: string;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
19
19
|
declare function KotlinIcon({
|
|
20
20
|
className
|
|
21
21
|
}: {
|
|
22
22
|
className?: string;
|
|
23
|
-
}):
|
|
23
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
24
24
|
declare function PythonIcon({
|
|
25
25
|
className
|
|
26
26
|
}: {
|
|
27
27
|
className?: string;
|
|
28
|
-
}):
|
|
28
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
29
29
|
declare function RubyIcon({
|
|
30
30
|
className
|
|
31
31
|
}: {
|
|
32
32
|
className?: string;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
34
34
|
declare function TerraformIcon({
|
|
35
35
|
className
|
|
36
36
|
}: {
|
|
37
37
|
className?: string;
|
|
38
|
-
}):
|
|
38
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
39
39
|
declare function TypescriptIcon({
|
|
40
40
|
className
|
|
41
41
|
}: {
|
|
42
42
|
className?: string;
|
|
43
|
-
}):
|
|
43
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
44
44
|
declare function CurlIcon({
|
|
45
45
|
className
|
|
46
46
|
}: {
|
|
47
47
|
className?: string;
|
|
48
|
-
}):
|
|
48
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
49
49
|
declare function PowershellIcon({
|
|
50
50
|
className
|
|
51
51
|
}: {
|
|
52
52
|
className?: string;
|
|
53
|
-
}):
|
|
53
|
+
}): react_jsx_runtime5.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { CSharpIcon, CurlIcon, GoIcon, JavaIcon, KotlinIcon, PowershellIcon, PythonIcon, RubyIcon, TerraformIcon, TypescriptIcon };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-
|
|
2
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-
|
|
3
|
-
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-
|
|
4
|
-
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-
|
|
5
|
-
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-
|
|
6
|
-
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-
|
|
7
|
-
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-
|
|
8
|
-
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-
|
|
9
|
-
import "../index-
|
|
1
|
+
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-COZrZCWZ.js";
|
|
2
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-C4-bfzhR.js";
|
|
3
|
+
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-BRfK1KuU.js";
|
|
4
|
+
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-BqjMaZ-l.js";
|
|
5
|
+
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-DA3oRxHu.js";
|
|
6
|
+
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-CVckJDzp.js";
|
|
7
|
+
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-BI_asPrF.js";
|
|
8
|
+
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-sPFdjATU.js";
|
|
9
|
+
import "../index-C8y-QK_S.js";
|
|
10
10
|
export { Badge, Expander, HTTPMethod, HttpMethodIcons, HttpMethods, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps, Property, PropertyDescription, PropertyDescriptionProps, PropertyModelContext, PropertyModelContextType, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps, ReferenceNestingContext, ReferenceNestingContextType, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKMethodSummary, SDKMethodSummaryProps, SDKModel, SDKModelProps, SDKOverview, SDKOverviewProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps, SDKSnippetLanguages, SDKSnippetLanguagesType, Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps, Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse, ToggleButton, ToggleButtonProps, Tooltip, TransformRequestSnippetFn, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting };
|
package/dist/components/index.js
CHANGED
|
@@ -6,13 +6,13 @@ import "../contexts-CLpvBI91.js";
|
|
|
6
6
|
import "../use-components-DBx5LZk0.js";
|
|
7
7
|
import { i as PropertyToggle, n as PropertyDescription, r as PropertyTitle, t as Property } from "../properties-BTdEzx5f.js";
|
|
8
8
|
import { a as MethodHeader, c as MethodRoute, i as MethodDescription, n as HttpMethods, o as MethodIconBadge, r as Method, s as MethodInfo, t as HttpMethodIcons } from "../method-nEcioXL5.js";
|
|
9
|
-
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-
|
|
9
|
+
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-Dk_RvOzh.js";
|
|
10
10
|
import "../icons-Ckod9aod.js";
|
|
11
11
|
import { _ as useReferenceNesting, a as SDKDeclaration, c as SDKLanguageBlock, d as SDKMethodInfo, f as SDKModel, g as usePropertyModel, h as SDKSnippetLanguages, i as SDKConstraints, l as SDKMethod, m as SDKRequestTitle, n as ReferenceNestingContext, o as SDKExample, p as SDKReference, r as SDKChildren, s as SDKIcon, t as PropertyModelContext, u as SDKMethodHeader } from "../sdk-DEoUlY8I.js";
|
|
12
12
|
import { a as SnippetRequestContainer, i as SnippetContainer, n as SnippetButtons, o as SnippetResponse, r as SnippetCode, t as Snippet } from "../snippets-BiXJx1BL.js";
|
|
13
|
-
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-
|
|
14
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-
|
|
13
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-D_7o7P6l.js";
|
|
14
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "../breadcrumbs-D4R5cbSw.js";
|
|
15
15
|
import { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "../sidebar-D_cK7JN_.js";
|
|
16
|
-
import "../components-
|
|
16
|
+
import "../components-DuWqBogG.js";
|
|
17
17
|
|
|
18
18
|
export { Badge, Expander, HttpMethodIcons, HttpMethods, Input, Join, Link, ListView, Markdown, Method, MethodDescription, MethodHeader, MethodIconBadge, MethodInfo, MethodRoute, Property, PropertyDescription, PropertyModelContext, PropertyTitle, PropertyToggle, ReferenceNestingContext, SDKBreadcrumbs, SDKChildren, SDKConstraints, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodSummary, SDKModel, SDKOverview, SDKReference, SDKRequestTitle, SDKResource, SDKResourceHeader, SDKRoot, SDKSnippetLanguages, Sidebar, SidebarExpander, SidebarMethod, SidebarResource, Snippet, SnippetButtons, SnippetCode, SnippetContainer, SnippetRequestContainer, SnippetResponse, ToggleButton, Tooltip, VirtualExpander, generateApiBreadcrumbs, usePropertyModel, useReferenceNesting };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-
|
|
1
|
+
import { a as MethodDescription, c as MethodHeaderProps, d as MethodInfo, f as MethodInfoProps, h as MethodRouteProps, i as Method, l as MethodIconBadge, m as MethodRoute, n as HttpMethodIcons, o as MethodDescriptionProps, p as MethodProps, r as HttpMethods, s as MethodHeader, t as HTTPMethod, u as MethodIconProps } from "../method-BRfK1KuU.js";
|
|
2
2
|
export { HTTPMethod, HttpMethodIcons, HttpMethods, Method, MethodDescription, MethodDescriptionProps, MethodHeader, MethodHeaderProps, MethodIconBadge, MethodIconProps, MethodInfo, MethodInfoProps, MethodProps, MethodRoute, MethodRouteProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-
|
|
1
|
+
import { a as SDKResource, c as SDKRoot, i as SDKOverviewProps, l as SDKRootProps, n as SDKMethodSummaryProps, o as SDKResourceHeader, r as SDKOverview, s as SDKResourceProps, t as SDKMethodSummary } from "../overview-BI_asPrF.js";
|
|
2
2
|
export { SDKMethodSummary, SDKMethodSummaryProps, SDKOverview, SDKOverviewProps, SDKResource, SDKResourceHeader, SDKResourceProps, SDKRoot, SDKRootProps };
|
|
@@ -5,7 +5,7 @@ import "../markdown-CxdeWgjV.js";
|
|
|
5
5
|
import "../contexts-CLpvBI91.js";
|
|
6
6
|
import "../use-components-DBx5LZk0.js";
|
|
7
7
|
import "../properties-BTdEzx5f.js";
|
|
8
|
-
import "../primitives-
|
|
9
|
-
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-
|
|
8
|
+
import "../primitives-Dk_RvOzh.js";
|
|
9
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "../overview-D_7o7P6l.js";
|
|
10
10
|
|
|
11
11
|
export { SDKMethodSummary, SDKOverview, SDKResource, SDKResourceHeader, SDKRoot };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-
|
|
1
|
+
import { a as Join, c as ListViewProps, d as ToggleButtonProps, f as Tooltip, i as InputProps, l as Markdown, n as Expander, o as Link, p as VirtualExpander, r as Input, s as ListView, t as Badge, u as ToggleButton } from "../primitives-COZrZCWZ.js";
|
|
2
2
|
export { Badge, Expander, Input, InputProps, Join, Link, ListView, ListViewProps, Markdown, ToggleButton, ToggleButtonProps, Tooltip, VirtualExpander };
|
|
@@ -3,6 +3,6 @@ import "../component-generics-B6Fn47Mz.js";
|
|
|
3
3
|
import "../navigation-C5TN0SgC.js";
|
|
4
4
|
import "../markdown-CxdeWgjV.js";
|
|
5
5
|
import "../contexts-CLpvBI91.js";
|
|
6
|
-
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-
|
|
6
|
+
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "../primitives-Dk_RvOzh.js";
|
|
7
7
|
|
|
8
8
|
export { Badge, Expander, Input, Join, Link, ListView, Markdown, ToggleButton, Tooltip, VirtualExpander };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-
|
|
1
|
+
import { a as PropertyTitle, c as PropertyToggleProps, i as PropertyProps, n as PropertyDescription, o as PropertyTitleProps, r as PropertyDescriptionProps, s as PropertyToggle, t as Property } from "../properties-BqjMaZ-l.js";
|
|
2
2
|
export { Property, PropertyDescription, PropertyDescriptionProps, PropertyProps, PropertyTitle, PropertyTitleProps, PropertyToggle, PropertyToggleProps };
|
package/dist/components/sdk.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-
|
|
1
|
+
import { C as TransformRequestSnippetFn, S as SDKSnippetLanguagesType, T as useReferenceNesting, _ as SDKModelProps, a as SDKChildren, b as SDKRequestTitleProps, c as SDKDeclaration, d as SDKLanguageBlock, f as SDKMethod, g as SDKModel, h as SDKMethodProps, i as ReferenceNestingContextType, l as SDKExample, m as SDKMethodInfo, n as PropertyModelContextType, o as SDKConstraints, p as SDKMethodHeader, r as ReferenceNestingContext, s as SDKConstraintsProps, t as PropertyModelContext, u as SDKIcon, v as SDKReference, w as usePropertyModel, x as SDKSnippetLanguages, y as SDKRequestTitle } from "../sdk-DA3oRxHu.js";
|
|
2
2
|
export { PropertyModelContext, PropertyModelContextType, ReferenceNestingContext, ReferenceNestingContextType, SDKChildren, SDKConstraints, SDKConstraintsProps, SDKDeclaration, SDKExample, SDKIcon, SDKLanguageBlock, SDKMethod, SDKMethodHeader, SDKMethodInfo, SDKMethodProps, SDKModel, SDKModelProps, SDKReference, SDKRequestTitle, SDKRequestTitleProps, SDKSnippetLanguages, SDKSnippetLanguagesType, TransformRequestSnippetFn, usePropertyModel, useReferenceNesting };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-
|
|
1
|
+
import { a as SidebarProps, i as SidebarMethodProps, n as SidebarExpander, o as SidebarResource, r as SidebarMethod, s as SidebarResourceProps, t as Sidebar } from "../sidebar-sPFdjATU.js";
|
|
2
2
|
export { Sidebar, SidebarExpander, SidebarMethod, SidebarMethodProps, SidebarProps, SidebarResource, SidebarResourceProps };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import "../sdk-
|
|
2
|
-
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-
|
|
1
|
+
import "../sdk-DA3oRxHu.js";
|
|
2
|
+
import { a as SnippetContainer, c as SnippetRequestContainer, i as SnippetCodeProps, l as SnippetRequestContainerProps, n as SnippetButtons, o as SnippetContainerProps, r as SnippetCode, s as SnippetProps, t as Snippet, u as SnippetResponse } from "../snippets-CVckJDzp.js";
|
|
3
3
|
export { Snippet, SnippetButtons, SnippetCode, SnippetCodeProps, SnippetContainer, SnippetContainerProps, SnippetProps, SnippetRequestContainer, SnippetRequestContainerProps, SnippetResponse };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./chunk-CAbhIZi1.js";
|
|
2
2
|
import { i as PropertyToggle, n as PropertyDescription, r as PropertyTitle, t as Property } from "./properties-BTdEzx5f.js";
|
|
3
3
|
import { a as MethodHeader, c as MethodRoute, i as MethodDescription, n as HttpMethods, o as MethodIconBadge, r as Method, s as MethodInfo, t as HttpMethodIcons } from "./method-nEcioXL5.js";
|
|
4
|
-
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "./primitives-
|
|
4
|
+
import { a as Link, c as ToggleButton, i as Join, l as Tooltip, n as Expander, o as ListView, r as Input, s as Markdown, t as Badge, u as VirtualExpander } from "./primitives-Dk_RvOzh.js";
|
|
5
5
|
import { _ as useReferenceNesting, a as SDKDeclaration, c as SDKLanguageBlock, d as SDKMethodInfo, f as SDKModel, g as usePropertyModel, h as SDKSnippetLanguages, i as SDKConstraints, l as SDKMethod, m as SDKRequestTitle, n as ReferenceNestingContext, o as SDKExample, p as SDKReference, r as SDKChildren, s as SDKIcon, t as PropertyModelContext, u as SDKMethodHeader } from "./sdk-DEoUlY8I.js";
|
|
6
6
|
import { a as SnippetRequestContainer, i as SnippetContainer, n as SnippetButtons, o as SnippetResponse, r as SnippetCode, t as Snippet } from "./snippets-BiXJx1BL.js";
|
|
7
|
-
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "./overview-
|
|
8
|
-
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-
|
|
7
|
+
import { a as SDKRoot, i as SDKResourceHeader, n as SDKOverview, r as SDKResource, t as SDKMethodSummary } from "./overview-D_7o7P6l.js";
|
|
8
|
+
import { n as generateApiBreadcrumbs, t as SDKBreadcrumbs } from "./breadcrumbs-D4R5cbSw.js";
|
|
9
9
|
import { i as SidebarResource, n as SidebarExpander, r as SidebarMethod, t as Sidebar } from "./sidebar-D_cK7JN_.js";
|
|
10
10
|
|
|
11
11
|
//#region src/components/index.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-
|
|
1
|
+
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-BXUlfDmo.js";
|
|
2
2
|
export { ComponentProvider, ComponentsContextType, customizeComponents, useComponentContext, useComponents };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import { t as index_d_exports } from "../index-
|
|
10
|
-
import { r as index_d_exports$1 } from "../index-
|
|
1
|
+
import "../primitives-COZrZCWZ.js";
|
|
2
|
+
import "../breadcrumbs-C4-bfzhR.js";
|
|
3
|
+
import "../method-BRfK1KuU.js";
|
|
4
|
+
import "../properties-BqjMaZ-l.js";
|
|
5
|
+
import "../sdk-DA3oRxHu.js";
|
|
6
|
+
import "../snippets-CVckJDzp.js";
|
|
7
|
+
import "../overview-BI_asPrF.js";
|
|
8
|
+
import "../sidebar-sPFdjATU.js";
|
|
9
|
+
import { t as index_d_exports } from "../index-C8y-QK_S.js";
|
|
10
|
+
import { r as index_d_exports$1 } from "../index-CMjS_7Z-.js";
|
|
11
11
|
|
|
12
12
|
//#region src/contexts/component-types.d.ts
|
|
13
13
|
type AppComponents = typeof index_d_exports;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import { t as index_d_exports } from "../index-
|
|
10
|
-
import { n as ComponentsContextType } from "../component-generics-
|
|
11
|
-
import { r as index_d_exports$1 } from "../index-
|
|
1
|
+
import "../primitives-COZrZCWZ.js";
|
|
2
|
+
import "../breadcrumbs-C4-bfzhR.js";
|
|
3
|
+
import "../method-BRfK1KuU.js";
|
|
4
|
+
import "../properties-BqjMaZ-l.js";
|
|
5
|
+
import "../sdk-DA3oRxHu.js";
|
|
6
|
+
import "../snippets-CVckJDzp.js";
|
|
7
|
+
import "../overview-BI_asPrF.js";
|
|
8
|
+
import "../sidebar-sPFdjATU.js";
|
|
9
|
+
import { t as index_d_exports } from "../index-C8y-QK_S.js";
|
|
10
|
+
import { n as ComponentsContextType } from "../component-generics-BXUlfDmo.js";
|
|
11
|
+
import { r as index_d_exports$1 } from "../index-CMjS_7Z-.js";
|
|
12
12
|
import React from "react";
|
|
13
|
-
import * as
|
|
13
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
14
14
|
|
|
15
15
|
//#region src/contexts/component.d.ts
|
|
16
16
|
type AppComponents = typeof index_d_exports;
|
|
@@ -24,6 +24,6 @@ declare function ComponentProvider({
|
|
|
24
24
|
components?: Partial<AppComponents>;
|
|
25
25
|
language?: { [K in keyof AppLanguage]?: Partial<AppLanguage[K]> };
|
|
26
26
|
children: React.ReactNode;
|
|
27
|
-
}):
|
|
27
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
28
28
|
//#endregion
|
|
29
29
|
export { AppComponents, AppLanguage, ComponentProvider, defaultContextValue };
|
|
@@ -6,14 +6,14 @@ import "../contexts-CLpvBI91.js";
|
|
|
6
6
|
import "../use-components-DBx5LZk0.js";
|
|
7
7
|
import "../properties-BTdEzx5f.js";
|
|
8
8
|
import "../method-nEcioXL5.js";
|
|
9
|
-
import "../primitives-
|
|
9
|
+
import "../primitives-Dk_RvOzh.js";
|
|
10
10
|
import "../icons-Ckod9aod.js";
|
|
11
11
|
import "../sdk-DEoUlY8I.js";
|
|
12
12
|
import "../snippets-BiXJx1BL.js";
|
|
13
|
-
import "../overview-
|
|
14
|
-
import "../breadcrumbs-
|
|
13
|
+
import "../overview-D_7o7P6l.js";
|
|
14
|
+
import "../breadcrumbs-D4R5cbSw.js";
|
|
15
15
|
import "../sidebar-D_cK7JN_.js";
|
|
16
|
-
import "../components-
|
|
16
|
+
import "../components-DuWqBogG.js";
|
|
17
17
|
import "../typescript-C--P_L-R.js";
|
|
18
18
|
import "../java-X1yS0K52.js";
|
|
19
19
|
import "../go-DNSFGJle.js";
|
|
@@ -22,6 +22,6 @@ import "../ruby-CHeld1ey.js";
|
|
|
22
22
|
import "../http-DXRdcllM.js";
|
|
23
23
|
import "../csharp-E3FbT47c.js";
|
|
24
24
|
import "../languages-Ir9QQoCT.js";
|
|
25
|
-
import { n as defaultContextValue, t as ComponentProvider } from "../component-
|
|
25
|
+
import { n as defaultContextValue, t as ComponentProvider } from "../component-5L-iyIZ6.js";
|
|
26
26
|
|
|
27
27
|
export { ComponentProvider, defaultContextValue };
|
package/dist/contexts/docs.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as PropertySettingsType, c as useDocs, d as useSettings, f as useSnippet, i as DocsProviderProps, l as useLanguage, n as DocsContextType, o as useContentPanelLayout, p as useSpec, r as DocsProvider, s as useDeclaration, t as ContentPanelLayout, u as useResource } from "../docs-
|
|
1
|
+
import { a as PropertySettingsType, c as useDocs, d as useSettings, f as useSnippet, i as DocsProviderProps, l as useLanguage, n as DocsContextType, o as useContentPanelLayout, p as useSpec, r as DocsProvider, s as useDeclaration, t as ContentPanelLayout, u as useResource } from "../docs-Bbe2P0iM.js";
|
|
2
2
|
export { ContentPanelLayout, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import "../index-
|
|
10
|
-
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-
|
|
11
|
-
import { t as LanguageComponentDefinition } from "../index-
|
|
12
|
-
import { a as PropertySettingsType, c as useDocs, d as useSettings, f as useSnippet, i as DocsProviderProps, l as useLanguage, n as DocsContextType, o as useContentPanelLayout, p as useSpec, r as DocsProvider, s as useDeclaration, t as ContentPanelLayout, u as useResource } from "../docs-
|
|
13
|
-
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-
|
|
14
|
-
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-
|
|
1
|
+
import "../primitives-COZrZCWZ.js";
|
|
2
|
+
import "../breadcrumbs-C4-bfzhR.js";
|
|
3
|
+
import "../method-BRfK1KuU.js";
|
|
4
|
+
import "../properties-BqjMaZ-l.js";
|
|
5
|
+
import "../sdk-DA3oRxHu.js";
|
|
6
|
+
import "../snippets-CVckJDzp.js";
|
|
7
|
+
import "../overview-BI_asPrF.js";
|
|
8
|
+
import "../sidebar-sPFdjATU.js";
|
|
9
|
+
import "../index-C8y-QK_S.js";
|
|
10
|
+
import { a as useComponents, i as useComponentContext, n as ComponentsContextType, r as customizeComponents, t as ComponentProvider } from "../component-generics-BXUlfDmo.js";
|
|
11
|
+
import { t as LanguageComponentDefinition } from "../index-CMjS_7Z-.js";
|
|
12
|
+
import { a as PropertySettingsType, c as useDocs, d as useSettings, f as useSnippet, i as DocsProviderProps, l as useLanguage, n as DocsContextType, o as useContentPanelLayout, p as useSpec, r as DocsProvider, s as useDeclaration, t as ContentPanelLayout, u as useResource } from "../docs-Bbe2P0iM.js";
|
|
13
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-C36vzOT-.js";
|
|
14
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-DlZBWMNG.js";
|
|
15
15
|
|
|
16
16
|
//#region src/contexts/index.d.ts
|
|
17
17
|
declare namespace index_d_exports {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-
|
|
1
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-DlZBWMNG.js";
|
|
2
2
|
export { MarkdownContext, MarkdownProvider, MarkdownProviderProps, useHighlight, useMarkdownContext, useRenderMarkdown };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-
|
|
1
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-C36vzOT-.js";
|
|
2
2
|
export { NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, useNavigation };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import "../primitives-
|
|
2
|
-
import "../breadcrumbs-
|
|
3
|
-
import "../method-
|
|
4
|
-
import "../properties-
|
|
5
|
-
import "../sdk-
|
|
6
|
-
import "../snippets-
|
|
7
|
-
import "../overview-
|
|
8
|
-
import "../sidebar-
|
|
9
|
-
import { t as index_d_exports } from "../index-
|
|
1
|
+
import "../primitives-COZrZCWZ.js";
|
|
2
|
+
import "../breadcrumbs-C4-bfzhR.js";
|
|
3
|
+
import "../method-BRfK1KuU.js";
|
|
4
|
+
import "../properties-BqjMaZ-l.js";
|
|
5
|
+
import "../sdk-DA3oRxHu.js";
|
|
6
|
+
import "../snippets-CVckJDzp.js";
|
|
7
|
+
import "../overview-BI_asPrF.js";
|
|
8
|
+
import "../sidebar-sPFdjATU.js";
|
|
9
|
+
import { t as index_d_exports } from "../index-C8y-QK_S.js";
|
|
10
10
|
|
|
11
11
|
//#region src/contexts/use-components.d.ts
|
|
12
12
|
declare const useComponents: () => typeof index_d_exports;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as React$1 from "react";
|
|
2
|
+
import * as react_jsx_runtime58 from "react/jsx-runtime";
|
|
3
|
+
import * as _stainless_sdk_json0 from "@stainless/sdk-json";
|
|
4
|
+
import { LanguageDeclNodes, Spec, SpecLanguage } from "@stainless/sdk-json";
|
|
5
|
+
|
|
6
|
+
//#region src/contexts/docs.d.ts
|
|
7
|
+
type ContentPanelLayout = 'double-pane' | 'single-pane';
|
|
8
|
+
type PropertySettingsType = {
|
|
9
|
+
types?: 'simple' | 'rich';
|
|
10
|
+
includeModelProperties?: boolean;
|
|
11
|
+
collapseDescription?: boolean;
|
|
12
|
+
showTitle?: boolean;
|
|
13
|
+
expandDepth?: number;
|
|
14
|
+
};
|
|
15
|
+
type DocsContextType = {
|
|
16
|
+
language: SpecLanguage;
|
|
17
|
+
spec: Spec | null;
|
|
18
|
+
settings?: {
|
|
19
|
+
properties?: PropertySettingsType;
|
|
20
|
+
contentPanelLayout?: ContentPanelLayout;
|
|
21
|
+
virtualExpanders?: boolean;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
declare function useDocs(): DocsContextType;
|
|
25
|
+
declare function useSpec(): Spec | null;
|
|
26
|
+
declare function useSettings(): {
|
|
27
|
+
properties?: PropertySettingsType;
|
|
28
|
+
contentPanelLayout?: ContentPanelLayout;
|
|
29
|
+
virtualExpanders?: boolean;
|
|
30
|
+
} | undefined;
|
|
31
|
+
declare function useSnippet(stainlessPath: string, language?: SpecLanguage, variant?: string): string | undefined;
|
|
32
|
+
type Declaration = LanguageDeclNodes[SpecLanguage];
|
|
33
|
+
declare function useDeclaration<Required extends boolean>(stainlessPath: string, required: Required, language?: SpecLanguage): (Required extends true ? never : undefined) | Declaration;
|
|
34
|
+
declare function useResource(name: string): _stainless_sdk_json0.Resource | undefined;
|
|
35
|
+
declare function useLanguage(): "node" | "go" | "python" | "terraform" | "http" | "typescript" | "ruby" | "java" | "kotlin" | "csharp" | "php";
|
|
36
|
+
declare function useContentPanelLayout(): ContentPanelLayout;
|
|
37
|
+
type DocsProviderProps = DocsContextType & {
|
|
38
|
+
children: React$1.ReactNode;
|
|
39
|
+
};
|
|
40
|
+
declare function DocsProvider({
|
|
41
|
+
spec,
|
|
42
|
+
language,
|
|
43
|
+
settings,
|
|
44
|
+
children
|
|
45
|
+
}: DocsProviderProps): react_jsx_runtime58.JSX.Element;
|
|
46
|
+
//#endregion
|
|
47
|
+
export { PropertySettingsType as a, useDocs as c, useSettings as d, useSnippet as f, DocsProviderProps as i, useLanguage as l, DocsContextType as n, useContentPanelLayout as o, useSpec as p, DocsProvider as r, useDeclaration as s, ContentPanelLayout as t, useResource as u };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime70 from "react/jsx-runtime";
|
|
3
3
|
import * as _stainless_sdk_json0 from "@stainless/sdk-json";
|
|
4
4
|
import { LanguageDeclNodes, Spec, SpecLanguage } from "@stainless/sdk-json";
|
|
5
5
|
|
|
@@ -42,6 +42,6 @@ declare function DocsProvider({
|
|
|
42
42
|
language,
|
|
43
43
|
settings,
|
|
44
44
|
children
|
|
45
|
-
}: DocsProviderProps):
|
|
45
|
+
}: DocsProviderProps): react_jsx_runtime70.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { PropertySettingsType as a, useDocs as c, useSettings as d, useSnippet as f, DocsProviderProps as i, useLanguage as l, DocsContextType as n, useContentPanelLayout as o, useSpec as p, DocsProvider as r, useDeclaration as s, ContentPanelLayout as t, useResource as u };
|