@stainless-api/docs-ui 0.1.0-beta.10 → 0.1.0-beta.11
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-Z-hEqjcp.d.ts +19 -0
- package/dist/chunk-Bp6m_JJh.js +13 -0
- package/dist/component-generics-DzI21jRn.js +35 -0
- package/dist/component-generics-q5Dqiu2D.d.ts +30 -0
- package/dist/components/breadcrumbs.d.ts +2 -11
- package/dist/components/breadcrumbs.js +16 -52
- package/dist/components/chat.d.ts +13 -5
- package/dist/components/chat.js +138 -74
- package/dist/components/dropdown.d.ts +2 -17
- package/dist/components/dropdown.js +4 -18
- package/dist/components/icons.d.ts +50 -27
- package/dist/components/icons.js +3 -34
- package/dist/components/index.d.ts +12 -9
- package/dist/components/index.js +16 -10
- package/dist/components/method.d.ts +2 -41
- package/dist/components/method.js +16 -44
- package/dist/components/overview.d.ts +2 -21
- package/dist/components/overview.js +16 -49
- package/dist/components/primitives.d.ts +2 -60
- package/dist/components/primitives.js +16 -117
- package/dist/components/properties.d.ts +2 -24
- package/dist/components/properties.js +16 -24
- package/dist/components/scripts/dropdown.d.ts +11 -4
- package/dist/components/scripts/dropdown.js +49 -63
- package/dist/components/sdk.d.ts +3 -78
- package/dist/components/sdk.js +16 -153
- package/dist/components/sidebar.d.ts +2 -22
- package/dist/components/sidebar.js +16 -30
- package/dist/components/snippets.d.ts +4 -28
- package/dist/components/snippets.js +16 -76
- package/dist/contexts/component-generics.d.ts +2 -25
- package/dist/contexts/component-generics.js +3 -24
- package/dist/contexts/component-types.d.ts +18 -4
- package/dist/contexts/component-types.js +1 -2
- package/dist/contexts/component.d.ts +31 -14
- package/dist/contexts/component.js +16 -14
- package/dist/contexts/docs.d.ts +2 -34
- package/dist/contexts/docs.js +3 -43
- package/dist/contexts/index.d.ts +20 -7
- package/dist/contexts/index.js +16 -15
- package/dist/contexts/markdown.d.ts +2 -13
- package/dist/contexts/markdown.js +4 -29
- package/dist/contexts/navigation.d.ts +3 -19
- package/dist/contexts/navigation.js +3 -14
- package/dist/contexts/search.d.ts +4 -13
- package/dist/contexts/search.js +16 -15
- package/dist/contexts/use-components.d.ts +16 -1
- package/dist/contexts/use-components.js +4 -3
- package/dist/contexts-DRxRO-xO.js +3747 -0
- package/dist/docs-Dh8kE1va.js +50 -0
- package/dist/docs-EUy-wfbA.d.ts +43 -0
- package/dist/dropdown-B7VyGMOw.d.ts +43 -0
- package/dist/dropdown-DtgAi6lb.js +62 -0
- package/dist/icons-DdKM-01E.js +753 -0
- package/dist/index-AicgPYKB.d.ts +239 -0
- package/dist/index-BhwLhiWk.d.ts +14 -0
- package/dist/index-YnpUtXLB.d.ts +16 -0
- package/dist/index.d.ts +22 -6
- package/dist/index.js +16 -7
- package/dist/languages/go.d.ts +13 -21
- package/dist/languages/go.js +16 -116
- package/dist/languages/http.d.ts +13 -25
- package/dist/languages/http.js +16 -130
- package/dist/languages/index.d.ts +13 -37
- package/dist/languages/index.js +16 -10
- package/dist/languages/java.d.ts +13 -23
- package/dist/languages/java.js +16 -120
- package/dist/languages/python.d.ts +13 -22
- package/dist/languages/python.js +16 -104
- package/dist/languages/ruby.d.ts +13 -22
- package/dist/languages/ruby.js +16 -125
- package/dist/languages/typescript.d.ts +13 -22
- package/dist/languages/typescript.js +16 -134
- package/dist/markdown/index.d.ts +11 -6
- package/dist/markdown/index.js +16 -80
- package/dist/markdown/md.d.ts +15 -11
- package/dist/markdown/md.js +3 -34
- package/dist/markdown/utils.d.ts +4 -17
- package/dist/markdown/utils.js +3 -30
- package/dist/markdown-BXfX1D7C.js +42 -0
- package/dist/markdown-nFyAEX_K.d.ts +22 -0
- package/dist/md-Dg8aOyMA.js +41 -0
- package/dist/method-DpsVuzZW.d.ts +71 -0
- package/dist/navigation-aoYZ_tl4.js +24 -0
- package/dist/navigation-nyXBY-75.d.ts +29 -0
- package/dist/overview-C8e-6jGr.d.ts +38 -0
- package/dist/pagefind-ChrPfuVv.js +15 -0
- package/dist/primitives-DWz23_Ub.d.ts +99 -0
- package/dist/properties-CF71V58d.d.ts +46 -0
- package/dist/routing-DQjbRxdJ.js +189 -0
- package/dist/routing-qc0V00-j.d.ts +51 -0
- package/dist/routing.d.ts +2 -44
- package/dist/routing.js +3 -169
- package/dist/sdk-Zg3Rggk3.d.ts +118 -0
- package/dist/search/index.d.ts +26 -1
- package/dist/search/index.js +332 -2
- package/dist/search/providers/algolia.d.ts +22 -7
- package/dist/search/providers/algolia.js +16 -64
- package/dist/search/providers/fuse.d.ts +16 -9
- package/dist/search/providers/fuse.js +29 -12
- package/dist/search/providers/pagefind.d.ts +7 -2
- package/dist/search/providers/pagefind.js +3 -19
- package/dist/search/providers/walker.d.ts +8 -5
- package/dist/search/providers/walker.js +28 -19
- package/dist/search/types.d.ts +3 -79
- package/dist/search/types.js +3 -24
- package/dist/search-B6loAGmB.d.ts +21 -0
- package/dist/sidebar-C8KirYjg.d.ts +35 -0
- package/dist/snippets-EUzM4fRO.d.ts +45 -0
- package/dist/style-pN9hCoec.d.ts +181 -0
- package/dist/style-rYbbxIR_.js +182 -0
- package/dist/style.d.ts +2 -179
- package/dist/style.js +3 -179
- package/dist/styles/main.css +740 -746
- package/dist/styles/main.js +1 -0
- package/dist/styles/primitives.css +436 -428
- package/dist/styles/primitives.js +1 -0
- package/dist/styles/resets.css +34 -41
- package/dist/styles/resets.js +1 -0
- package/dist/styles/search.css +248 -248
- package/dist/styles/search.js +1 -0
- package/dist/styles/sidebar.css +59 -60
- package/dist/styles/sidebar.js +1 -0
- package/dist/styles/snippets.css +87 -88
- package/dist/styles/snippets.js +1 -0
- package/dist/styles/variables.css +86 -89
- package/dist/styles/variables.js +1 -0
- package/dist/types-CTBDtD34.d.ts +82 -0
- package/dist/types-DFN4M1Sp.js +34 -0
- package/dist/use-components-D9E85p5x.js +7 -0
- package/dist/utils-BHwvUDKn.js +30 -0
- package/dist/utils-CJfFBNgT.js +32 -0
- package/dist/utils-DQhEbvUC.d.ts +20 -0
- package/dist/utils-nDazhti8.d.ts +11 -0
- package/dist/utils.d.ts +2 -7
- package/dist/utils.js +4 -27
- package/package.json +2 -2
- package/dist/components/breadcrumbs.js.map +0 -1
- package/dist/components/chat.js.map +0 -1
- package/dist/components/dropdown.js.map +0 -1
- package/dist/components/icons.js.map +0 -1
- package/dist/components/index.js.map +0 -1
- package/dist/components/method.js.map +0 -1
- package/dist/components/overview.js.map +0 -1
- package/dist/components/primitives.js.map +0 -1
- package/dist/components/properties.js.map +0 -1
- package/dist/components/scripts/dropdown.js.map +0 -1
- package/dist/components/sdk.js.map +0 -1
- package/dist/components/sidebar.js.map +0 -1
- package/dist/components/snippets.js.map +0 -1
- package/dist/contexts/component-generics.js.map +0 -1
- package/dist/contexts/component-types.js.map +0 -1
- package/dist/contexts/component.js.map +0 -1
- package/dist/contexts/docs.js.map +0 -1
- package/dist/contexts/index.js.map +0 -1
- package/dist/contexts/markdown.js.map +0 -1
- package/dist/contexts/navigation.js.map +0 -1
- package/dist/contexts/search.js.map +0 -1
- package/dist/contexts/use-components.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/languages/go.js.map +0 -1
- package/dist/languages/http.js.map +0 -1
- package/dist/languages/index.js.map +0 -1
- package/dist/languages/java.js.map +0 -1
- package/dist/languages/python.js.map +0 -1
- package/dist/languages/ruby.js.map +0 -1
- package/dist/languages/typescript.js.map +0 -1
- package/dist/markdown/index.js.map +0 -1
- package/dist/markdown/md.js.map +0 -1
- package/dist/markdown/utils.js.map +0 -1
- package/dist/mcp.js +0 -16105
- package/dist/routing.js.map +0 -1
- package/dist/search/form.d.ts +0 -13
- package/dist/search/form.js +0 -55
- package/dist/search/form.js.map +0 -1
- package/dist/search/index.js.map +0 -1
- package/dist/search/indexer.d.ts +0 -31
- package/dist/search/indexer.js +0 -212
- package/dist/search/indexer.js.map +0 -1
- package/dist/search/mcp.d.ts +0 -8
- package/dist/search/mcp.js +0 -43
- package/dist/search/mcp.js.map +0 -1
- package/dist/search/printer.d.ts +0 -6
- package/dist/search/printer.js +0 -43
- package/dist/search/printer.js.map +0 -1
- package/dist/search/providers/algolia.js.map +0 -1
- package/dist/search/providers/fuse.js.map +0 -1
- package/dist/search/providers/pagefind.js.map +0 -1
- package/dist/search/providers/walker.js.map +0 -1
- package/dist/search/results.d.ts +0 -21
- package/dist/search/results.js +0 -58
- package/dist/search/results.js.map +0 -1
- package/dist/search/state.d.ts +0 -29
- package/dist/search/state.js +0 -38
- package/dist/search/state.js.map +0 -1
- package/dist/search/types.js.map +0 -1
- package/dist/style.js.map +0 -1
- package/dist/types/sdkjson.d.ts +0 -1
- package/dist/types/sdkjson.js +0 -2
- package/dist/types/sdkjson.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.d.ts +0 -120
- package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.js +0 -2
- package/dist/types/stainless-alias/lib/json-spec-v2/GoAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.d.ts +0 -100
- package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.js +0 -3
- package/dist/types/stainless-alias/lib/json-spec-v2/HttpAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.d.ts +0 -87
- package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.js +0 -2
- package/dist/types/stainless-alias/lib/json-spec-v2/JavaAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.d.ts +0 -110
- package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.js +0 -3
- package/dist/types/stainless-alias/lib/json-spec-v2/PythonAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.d.ts +0 -122
- package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.js +0 -2
- package/dist/types/stainless-alias/lib/json-spec-v2/RubyAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.d.ts +0 -146
- package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.js +0 -3
- package/dist/types/stainless-alias/lib/json-spec-v2/TSAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.d.ts +0 -89
- package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.js +0 -3
- package/dist/types/stainless-alias/lib/json-spec-v2/TerraformAST.js.map +0 -1
- package/dist/types/stainless-alias/lib/json-spec-v2/types.d.ts +0 -190
- package/dist/types/stainless-alias/lib/json-spec-v2/types.js +0 -105
- package/dist/types/stainless-alias/lib/json-spec-v2/types.js.map +0 -1
- package/dist/utils.js.map +0 -1
|
@@ -1,76 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export function SnippetRequestContainer({ children }) {
|
|
18
|
-
return _jsx("div", { children: children });
|
|
19
|
-
}
|
|
20
|
-
export function Snippet({ requestTitle, method, transformRequestSnippet }) {
|
|
21
|
-
const Docs = useComponents();
|
|
22
|
-
const language = useLanguage();
|
|
23
|
-
const [CopyButtonIcon, setCopyIcon] = React.useState(CopyIcon);
|
|
24
|
-
let snippet = useSnippet(method.stainlessPath, null, language === 'http' ? 'curl' : 'default');
|
|
25
|
-
const decl = useDeclaration(method.stainlessPath);
|
|
26
|
-
const signature = 'qualified' in decl ? decl.qualified : undefined;
|
|
27
|
-
const responses = method.exampleResponses;
|
|
28
|
-
if (transformRequestSnippet) {
|
|
29
|
-
snippet = transformRequestSnippet({ snippet, language });
|
|
30
|
-
}
|
|
31
|
-
async function handleCopy() {
|
|
32
|
-
try {
|
|
33
|
-
await navigator.clipboard.writeText(snippet);
|
|
34
|
-
setCopyIcon(CheckIcon);
|
|
35
|
-
}
|
|
36
|
-
catch {
|
|
37
|
-
setCopyIcon(CircleAlertIcon);
|
|
38
|
-
}
|
|
39
|
-
setTimeout(() => setCopyIcon(CopyIcon), 1000);
|
|
40
|
-
}
|
|
41
|
-
return (_jsxs(Docs.SnippetContainer, { signature: signature, children: [snippet && (_jsx(Docs.SnippetRequestContainer, { signature: signature, children: _jsxs("div", { className: style.SnippetRequest, "data-stldocs-copy-parent": true, children: [_jsxs("div", { className: style.SnippetRequestTitle, children: [_jsxs("div", { className: style.SnippetRequestTitleMethod, children: [_jsx(Docs.MethodRoute, { httpMethod: method.httpMethod, iconOnly: true }), _jsx("h5", { children: method.summary })] }), _jsx("div", { className: style.SnippetRequestTitleContent, children: requestTitle }), _jsx(Button, { variant: "ghost", "data-stldocs-snippet-copy": true, children: _jsx(CopyButtonIcon, { size: 16, className: style.Icon, onClick: handleCopy }) })] }), _jsx(Docs.SnippetCode, { content: snippet, signature: signature })] }) })), responses && _jsx(Docs.SnippetResponse, { responses: responses })] }));
|
|
42
|
-
}
|
|
43
|
-
export function SnippetResponse({ responses }) {
|
|
44
|
-
const { SnippetCode } = useComponents();
|
|
45
|
-
if (!responses) {
|
|
46
|
-
return null;
|
|
47
|
-
}
|
|
48
|
-
const mappedResponses = Object.keys(responses)
|
|
49
|
-
.map((key) => {
|
|
50
|
-
// Get the first response type ie application/json or text/plain
|
|
51
|
-
const responseType = Object.keys(responses[key])[0];
|
|
52
|
-
const response = responses[key][responseType];
|
|
53
|
-
const examples = response?.examples;
|
|
54
|
-
if (!examples)
|
|
55
|
-
return null;
|
|
56
|
-
// Get the first example type, ie Example or html
|
|
57
|
-
const exampleType = Object.keys(examples)[0];
|
|
58
|
-
let value = examples[exampleType]?.value;
|
|
59
|
-
if (!value)
|
|
60
|
-
return null;
|
|
61
|
-
if (responseType === 'application/json') {
|
|
62
|
-
value = JSON.stringify(value, null, 2);
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
responseCode: key,
|
|
66
|
-
content: value,
|
|
67
|
-
};
|
|
68
|
-
})
|
|
69
|
-
.filter(Boolean);
|
|
70
|
-
if (mappedResponses.length === 0)
|
|
71
|
-
return null;
|
|
72
|
-
return (_jsx("div", { className: style.SnippetMultiResponse, children: _jsxs("div", { className: clsx(style.Snippet), children: [_jsx("div", { className: clsx(style.SnippetResponseTab, mappedResponses.length === 1 && style.SnippetResponseTabSingleReturn), children: mappedResponses.map(({ responseCode }, index) => (_jsxs("button", { className: clsx(style.SnippetResponseTabItem, index === 0 && style.SnippetResponseTabItemActive), "data-snippet-response-tab-id": `snippet-response-tab-${responseCode}-${index}`, disabled: mappedResponses.length === 1, children: [responseCode, " example"] }, `snippet-response-tab-item-${responseCode}-${index}`))) }), mappedResponses.map(({ responseCode, content }, index) => {
|
|
73
|
-
return (_jsx("div", { className: clsx(style.SnippetResponsePane, index === 0 && style.SnippetResponsePaneActive), "data-snippet-response-pane-id": `snippet-response-tab-${responseCode}-${index}`, children: _jsx(SnippetCode, { content: content, language: "json" }) }, `snippet-response-${responseCode}-${index}`));
|
|
74
|
-
})] }) }));
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=snippets.js.map
|
|
1
|
+
import "../component-generics-DzI21jRn.js";
|
|
2
|
+
import "../docs-Dh8kE1va.js";
|
|
3
|
+
import "../navigation-aoYZ_tl4.js";
|
|
4
|
+
import "../markdown-BXfX1D7C.js";
|
|
5
|
+
import "../routing-DQjbRxdJ.js";
|
|
6
|
+
import "../style-rYbbxIR_.js";
|
|
7
|
+
import "../use-components-D9E85p5x.js";
|
|
8
|
+
import { ft as Snippet, gt as SnippetResponse, ht as SnippetRequestContainer, mt as SnippetContainer, pt as SnippetCode } from "../contexts-DRxRO-xO.js";
|
|
9
|
+
import "../icons-DdKM-01E.js";
|
|
10
|
+
import "../utils-CJfFBNgT.js";
|
|
11
|
+
import "../dropdown-DtgAi6lb.js";
|
|
12
|
+
import "../md-Dg8aOyMA.js";
|
|
13
|
+
import "../utils-BHwvUDKn.js";
|
|
14
|
+
import "../types-DFN4M1Sp.js";
|
|
15
|
+
|
|
16
|
+
export { Snippet, SnippetCode, SnippetContainer, SnippetRequestContainer, SnippetResponse };
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
[K in keyof L]?: Partial<L[K]>;
|
|
4
|
-
};
|
|
5
|
-
export type ComponentsContextType<C, L> = {
|
|
6
|
-
components: C;
|
|
7
|
-
language: L;
|
|
8
|
-
};
|
|
9
|
-
declare const ComponentContext: React.Context<ComponentsContextType<any, any> | null>;
|
|
10
|
-
export declare function useComponents<C = unknown>(): C;
|
|
11
|
-
export declare function customizeComponents<C, L>(defaults: {
|
|
12
|
-
components: C;
|
|
13
|
-
language: L;
|
|
14
|
-
}, overrides?: {
|
|
15
|
-
components?: Partial<C>;
|
|
16
|
-
language?: DeepPartialMap<L>;
|
|
17
|
-
}): {
|
|
18
|
-
components: C;
|
|
19
|
-
language: L;
|
|
20
|
-
};
|
|
21
|
-
export declare function ComponentProvider<C, L>({ value, children, }: {
|
|
22
|
-
value: ComponentsContextType<C, L>;
|
|
23
|
-
children: React.ReactNode;
|
|
24
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export { ComponentContext };
|
|
1
|
+
import { a as useComponents, i as customizeComponents, n as ComponentProvider, r as ComponentsContextType, t as ComponentContext } from "../component-generics-q5Dqiu2D.js";
|
|
2
|
+
export { ComponentContext, ComponentProvider, ComponentsContextType, customizeComponents, useComponents };
|
|
@@ -1,24 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const ComponentContext = React.createContext(null);
|
|
5
|
-
ComponentContext.displayName = 'ComponentContext';
|
|
6
|
-
export function useComponents() {
|
|
7
|
-
const ctx = React.useContext(ComponentContext);
|
|
8
|
-
if (!ctx)
|
|
9
|
-
throw new Error('useComponents must be used within a ComponentContext.Provider');
|
|
10
|
-
return ctx.components;
|
|
11
|
-
}
|
|
12
|
-
export function customizeComponents(defaults, overrides = {}) {
|
|
13
|
-
const mergedComponents = { ...defaults.components, ...(overrides.components ?? {}) };
|
|
14
|
-
const mergedLanguage = Object.keys(defaults.language).reduce((acc, key) => {
|
|
15
|
-
acc[key] = { ...defaults.language[key], ...(overrides.language?.[key] ?? {}) };
|
|
16
|
-
return acc;
|
|
17
|
-
}, {});
|
|
18
|
-
return { components: mergedComponents, language: mergedLanguage };
|
|
19
|
-
}
|
|
20
|
-
export function ComponentProvider({ value, children, }) {
|
|
21
|
-
return _jsx(ComponentContext.Provider, { value: value, children: children });
|
|
22
|
-
}
|
|
23
|
-
export { ComponentContext };
|
|
24
|
-
//# sourceMappingURL=component-generics.js.map
|
|
1
|
+
import { i as useComponents, n as ComponentProvider, r as customizeComponents, t as ComponentContext } from "../component-generics-DzI21jRn.js";
|
|
2
|
+
|
|
3
|
+
export { ComponentContext, ComponentProvider, customizeComponents, useComponents };
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import "../breadcrumbs-Z-hEqjcp.js";
|
|
2
|
+
import "../dropdown-B7VyGMOw.js";
|
|
3
|
+
import "../method-DpsVuzZW.js";
|
|
4
|
+
import "../primitives-DWz23_Ub.js";
|
|
5
|
+
import "../properties-CF71V58d.js";
|
|
6
|
+
import "../routing-qc0V00-j.js";
|
|
7
|
+
import "../sdk-Zg3Rggk3.js";
|
|
8
|
+
import "../snippets-EUzM4fRO.js";
|
|
9
|
+
import "../overview-C8e-6jGr.js";
|
|
10
|
+
import "../sidebar-C8KirYjg.js";
|
|
11
|
+
import { t as index_d_exports } from "../index-YnpUtXLB.js";
|
|
12
|
+
import { r as index_d_exports$1 } from "../index-AicgPYKB.js";
|
|
13
|
+
|
|
14
|
+
//#region src/contexts/component-types.d.ts
|
|
15
|
+
type AppComponents = typeof index_d_exports;
|
|
16
|
+
type AppLanguage = typeof index_d_exports$1;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { AppComponents, AppLanguage };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=component-types.js.map
|
|
1
|
+
export { };
|
|
@@ -1,14 +1,31 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import "../breadcrumbs-Z-hEqjcp.js";
|
|
2
|
+
import "../dropdown-B7VyGMOw.js";
|
|
3
|
+
import "../method-DpsVuzZW.js";
|
|
4
|
+
import "../primitives-DWz23_Ub.js";
|
|
5
|
+
import "../properties-CF71V58d.js";
|
|
6
|
+
import "../routing-qc0V00-j.js";
|
|
7
|
+
import "../sdk-Zg3Rggk3.js";
|
|
8
|
+
import "../snippets-EUzM4fRO.js";
|
|
9
|
+
import "../overview-C8e-6jGr.js";
|
|
10
|
+
import "../sidebar-C8KirYjg.js";
|
|
11
|
+
import { t as index_d_exports } from "../index-YnpUtXLB.js";
|
|
12
|
+
import { r as ComponentsContextType } from "../component-generics-q5Dqiu2D.js";
|
|
13
|
+
import { r as index_d_exports$1 } from "../index-AicgPYKB.js";
|
|
14
|
+
import React from "react";
|
|
15
|
+
import * as react_jsx_runtime30 from "react/jsx-runtime";
|
|
16
|
+
|
|
17
|
+
//#region src/contexts/component.d.ts
|
|
18
|
+
type AppComponents = typeof index_d_exports;
|
|
19
|
+
type AppLanguage = typeof index_d_exports$1;
|
|
20
|
+
declare const defaultContextValue: ComponentsContextType<AppComponents, AppLanguage>;
|
|
21
|
+
declare function ComponentProvider({
|
|
22
|
+
components,
|
|
23
|
+
language,
|
|
24
|
+
children
|
|
25
|
+
}: {
|
|
26
|
+
components?: Partial<AppComponents>;
|
|
27
|
+
language?: { [K in keyof AppLanguage]?: Partial<AppLanguage[K]> };
|
|
28
|
+
children: React.ReactNode;
|
|
29
|
+
}): react_jsx_runtime30.JSX.Element;
|
|
30
|
+
//#endregion
|
|
31
|
+
export { AppComponents, AppLanguage, ComponentProvider, defaultContextValue };
|
|
@@ -1,14 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
import "../component-generics-DzI21jRn.js";
|
|
2
|
+
import "../docs-Dh8kE1va.js";
|
|
3
|
+
import "../navigation-aoYZ_tl4.js";
|
|
4
|
+
import "../markdown-BXfX1D7C.js";
|
|
5
|
+
import "../routing-DQjbRxdJ.js";
|
|
6
|
+
import "../style-rYbbxIR_.js";
|
|
7
|
+
import "../use-components-D9E85p5x.js";
|
|
8
|
+
import { m as defaultContextValue, p as ComponentProvider } from "../contexts-DRxRO-xO.js";
|
|
9
|
+
import "../icons-DdKM-01E.js";
|
|
10
|
+
import "../utils-CJfFBNgT.js";
|
|
11
|
+
import "../dropdown-DtgAi6lb.js";
|
|
12
|
+
import "../md-Dg8aOyMA.js";
|
|
13
|
+
import "../utils-BHwvUDKn.js";
|
|
14
|
+
import "../types-DFN4M1Sp.js";
|
|
15
|
+
|
|
16
|
+
export { ComponentProvider, defaultContextValue };
|
package/dist/contexts/docs.d.ts
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
export type ContentPanelLayout = 'double-pane' | 'single-pane';
|
|
4
|
-
export type PropertySettingsType = {
|
|
5
|
-
types?: 'simple' | 'rich';
|
|
6
|
-
includeModelProperties?: boolean;
|
|
7
|
-
collapseDescription?: boolean;
|
|
8
|
-
expandDepth?: number;
|
|
9
|
-
};
|
|
10
|
-
export type DocsContextType = {
|
|
11
|
-
language: SDKJSON.SpecLanguage;
|
|
12
|
-
spec: SDKJSON.Spec | null;
|
|
13
|
-
settings?: {
|
|
14
|
-
properties?: PropertySettingsType;
|
|
15
|
-
contentPanelLayout?: ContentPanelLayout;
|
|
16
|
-
virtualExpanders?: boolean;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare function useDocs(): DocsContextType;
|
|
20
|
-
export declare function useSpec(): SDKJSON.Spec | null;
|
|
21
|
-
export declare function useSettings(): {
|
|
22
|
-
properties?: PropertySettingsType;
|
|
23
|
-
contentPanelLayout?: ContentPanelLayout;
|
|
24
|
-
virtualExpanders?: boolean;
|
|
25
|
-
} | undefined;
|
|
26
|
-
export declare function useSnippet(stainlessPath: string, language?: SDKJSON.SpecLanguage, variant?: string): any;
|
|
27
|
-
export declare function useDeclaration(stainlessPath: string, language?: SDKJSON.SpecLanguage): any;
|
|
28
|
-
export declare function useResource(name: string): SDKJSON.Resource | undefined;
|
|
29
|
-
export declare function useLanguage(): "node" | "go" | "python" | "terraform" | "http" | "typescript" | "ruby" | "java" | "kotlin";
|
|
30
|
-
export declare function useContentPanelLayout(): ContentPanelLayout;
|
|
31
|
-
export type DocsProviderProps = DocsContextType & {
|
|
32
|
-
children: React.ReactNode;
|
|
33
|
-
};
|
|
34
|
-
export declare function DocsProvider({ spec, language, settings, children }: DocsProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
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-EUy-wfbA.js";
|
|
2
|
+
export { ContentPanelLayout, DocsContextType, DocsProvider, DocsProviderProps, PropertySettingsType, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/docs.js
CHANGED
|
@@ -1,43 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
settings: {},
|
|
5
|
-
language: 'node',
|
|
6
|
-
spec: null,
|
|
7
|
-
};
|
|
8
|
-
const DocsContext = React.createContext(DocsContextDefaults);
|
|
9
|
-
export function useDocs() {
|
|
10
|
-
return React.useContext(DocsContext);
|
|
11
|
-
}
|
|
12
|
-
export function useSpec() {
|
|
13
|
-
return useDocs().spec;
|
|
14
|
-
}
|
|
15
|
-
export function useSettings() {
|
|
16
|
-
return useDocs().settings;
|
|
17
|
-
}
|
|
18
|
-
export function useSnippet(stainlessPath, language, variant) {
|
|
19
|
-
const snippetLanguage = [language ?? useLanguage(), variant ?? 'default'].join('.');
|
|
20
|
-
return useSpec()?.snippets?.[snippetLanguage]?.[stainlessPath];
|
|
21
|
-
}
|
|
22
|
-
export function useDeclaration(stainlessPath, language) {
|
|
23
|
-
return useSpec()?.decls?.[language ?? useLanguage()]?.[stainlessPath];
|
|
24
|
-
}
|
|
25
|
-
export function useResource(name) {
|
|
26
|
-
return useSpec()?.resources?.[name];
|
|
27
|
-
}
|
|
28
|
-
export function useLanguage() {
|
|
29
|
-
return useDocs().language;
|
|
30
|
-
}
|
|
31
|
-
export function useContentPanelLayout() {
|
|
32
|
-
return useDocs().settings?.contentPanelLayout ?? 'double-pane';
|
|
33
|
-
}
|
|
34
|
-
export function DocsProvider({ spec, language, settings, children }) {
|
|
35
|
-
const value = {
|
|
36
|
-
...DocsContextDefaults,
|
|
37
|
-
spec,
|
|
38
|
-
settings: settings ?? DocsContextDefaults.settings,
|
|
39
|
-
language: language ?? DocsContextDefaults.language,
|
|
40
|
-
};
|
|
41
|
-
return _jsx(DocsContext.Provider, { value: value, children: children });
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=docs.js.map
|
|
1
|
+
import { a as useLanguage, c as useSnippet, i as useDocs, l as useSpec, n as useContentPanelLayout, o as useResource, r as useDeclaration, s as useSettings, t as DocsProvider } from "../docs-Dh8kE1va.js";
|
|
2
|
+
|
|
3
|
+
export { DocsProvider, useContentPanelLayout, useDeclaration, useDocs, useLanguage, useResource, useSettings, useSnippet, useSpec };
|
package/dist/contexts/index.d.ts
CHANGED
|
@@ -1,7 +1,20 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import "../breadcrumbs-Z-hEqjcp.js";
|
|
2
|
+
import "../dropdown-B7VyGMOw.js";
|
|
3
|
+
import "../method-DpsVuzZW.js";
|
|
4
|
+
import "../primitives-DWz23_Ub.js";
|
|
5
|
+
import "../properties-CF71V58d.js";
|
|
6
|
+
import "../routing-qc0V00-j.js";
|
|
7
|
+
import "../sdk-Zg3Rggk3.js";
|
|
8
|
+
import "../snippets-EUzM4fRO.js";
|
|
9
|
+
import "../overview-C8e-6jGr.js";
|
|
10
|
+
import "../sidebar-C8KirYjg.js";
|
|
11
|
+
import "../index-YnpUtXLB.js";
|
|
12
|
+
import { a as useComponents, i as customizeComponents, n as ComponentProvider, r as ComponentsContextType, t as ComponentContext } from "../component-generics-q5Dqiu2D.js";
|
|
13
|
+
import "../index-AicgPYKB.js";
|
|
14
|
+
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-EUy-wfbA.js";
|
|
15
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-nyXBY-75.js";
|
|
16
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-nFyAEX_K.js";
|
|
17
|
+
import "../types-CTBDtD34.js";
|
|
18
|
+
import { a as useSearchContext, i as useSearch, n as SearchProvider, r as SearchProviderProps, t as SearchContextType } from "../search-B6loAGmB.js";
|
|
19
|
+
import { n as useLanguageComponents } from "../index-BhwLhiWk.js";
|
|
20
|
+
export { ComponentContext, ComponentProvider, ComponentsContextType, ContentPanelLayout, DocsContextType, DocsProvider, DocsProviderProps, MarkdownContext, MarkdownProvider, MarkdownProviderProps, NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, PropertySettingsType, SearchContextType, SearchProvider, SearchProviderProps, customizeComponents, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSearch, useSearchContext, useSettings, useSnippet, useSpec };
|
package/dist/contexts/index.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { i as useComponents, n as ComponentProvider, r as customizeComponents, t as ComponentContext } from "../component-generics-DzI21jRn.js";
|
|
2
|
+
import { a as useLanguage, c as useSnippet, i as useDocs, l as useSpec, n as useContentPanelLayout, o as useResource, r as useDeclaration, s as useSettings, t as DocsProvider } from "../docs-Dh8kE1va.js";
|
|
3
|
+
import { n as useNavigation, t as NavigationProvider } from "../navigation-aoYZ_tl4.js";
|
|
4
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-BXfX1D7C.js";
|
|
5
|
+
import "../routing-DQjbRxdJ.js";
|
|
6
|
+
import "../style-rYbbxIR_.js";
|
|
7
|
+
import "../use-components-D9E85p5x.js";
|
|
8
|
+
import { a as useSearchContext, i as useSearch, n as useLanguageComponents, r as SearchProvider } from "../contexts-DRxRO-xO.js";
|
|
9
|
+
import "../icons-DdKM-01E.js";
|
|
10
|
+
import "../utils-CJfFBNgT.js";
|
|
11
|
+
import "../dropdown-DtgAi6lb.js";
|
|
12
|
+
import "../md-Dg8aOyMA.js";
|
|
13
|
+
import "../utils-BHwvUDKn.js";
|
|
14
|
+
import "../types-DFN4M1Sp.js";
|
|
15
|
+
|
|
16
|
+
export { ComponentContext, ComponentProvider, DocsProvider, MarkdownContext, MarkdownProvider, NavigationProvider, SearchProvider, customizeComponents, useComponents, useContentPanelLayout, useDeclaration, useDocs, useHighlight, useLanguage, useLanguageComponents, useMarkdownContext, useNavigation, useRenderMarkdown, useResource, useSearch, useSearchContext, useSettings, useSnippet, useSpec };
|
|
@@ -1,13 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
export
|
|
3
|
-
highlight?: (content: string, language?: string) => string | Promise<string>;
|
|
4
|
-
render?: (content: string) => string;
|
|
5
|
-
};
|
|
6
|
-
export declare const MarkdownContext: React.Context<MarkdownContext>;
|
|
7
|
-
export declare const useMarkdownContext: () => MarkdownContext;
|
|
8
|
-
export declare function useRenderMarkdown(content?: string): string | undefined;
|
|
9
|
-
export declare function useHighlight(content?: string, language?: string): string;
|
|
10
|
-
export type MarkdownProviderProps = MarkdownContext & {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
export declare function MarkdownProvider({ render, highlight, children }: MarkdownProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { a as useMarkdownContext, i as useHighlight, n as MarkdownProvider, o as useRenderMarkdown, r as MarkdownProviderProps, t as MarkdownContext } from "../markdown-nFyAEX_K.js";
|
|
2
|
+
export { MarkdownContext, MarkdownProvider, MarkdownProviderProps, useHighlight, useMarkdownContext, useRenderMarkdown };
|
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
node: 'typescript',
|
|
6
|
-
http: 'bash',
|
|
7
|
-
};
|
|
8
|
-
export const MarkdownContext = React.createContext({
|
|
9
|
-
highlight: (content) => content,
|
|
10
|
-
render: (content) => content,
|
|
11
|
-
});
|
|
12
|
-
export const useMarkdownContext = () => React.useContext(MarkdownContext);
|
|
13
|
-
export function useRenderMarkdown(content) {
|
|
14
|
-
const { render } = React.useContext(MarkdownContext);
|
|
15
|
-
return React.useMemo(() => (content ? render(content) : undefined), [content, render]);
|
|
16
|
-
}
|
|
17
|
-
export function useHighlight(content, language) {
|
|
18
|
-
const { highlight } = React.useContext(MarkdownContext);
|
|
19
|
-
const lang = language ?? useLanguage();
|
|
20
|
-
return React.useMemo(() => {
|
|
21
|
-
const highlightLanguage = HighlightLanguageMappings[lang] ?? lang;
|
|
22
|
-
const rendered = highlight(content, highlightLanguage);
|
|
23
|
-
return typeof rendered === 'string' ? rendered : React.use(rendered);
|
|
24
|
-
}, [content, language, highlight]);
|
|
25
|
-
}
|
|
26
|
-
export function MarkdownProvider({ render, highlight, children }) {
|
|
27
|
-
return _jsx(MarkdownContext.Provider, { value: { render, highlight }, children: children });
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=markdown.js.map
|
|
1
|
+
import "../docs-Dh8kE1va.js";
|
|
2
|
+
import { a as useRenderMarkdown, i as useMarkdownContext, n as MarkdownProvider, r as useHighlight, t as MarkdownContext } from "../markdown-BXfX1D7C.js";
|
|
3
|
+
|
|
4
|
+
export { MarkdownContext, MarkdownProvider, useHighlight, useMarkdownContext, useRenderMarkdown };
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
href: string;
|
|
5
|
-
language: DocsLanguage;
|
|
6
|
-
stainlessPath: string;
|
|
7
|
-
scroll: boolean;
|
|
8
|
-
}) => void;
|
|
9
|
-
export type NavigationContextType = {
|
|
10
|
-
basePath?: string;
|
|
11
|
-
selectedPath?: string;
|
|
12
|
-
navigationPath?: string[];
|
|
13
|
-
onNavigate?: NavigationHandler;
|
|
14
|
-
};
|
|
15
|
-
export declare function useNavigation(): NavigationContextType;
|
|
16
|
-
export type NavigationProviderProps = NavigationContextType & {
|
|
17
|
-
children: React.ReactNode;
|
|
18
|
-
};
|
|
19
|
-
export declare function NavigationProvider({ basePath, selectedPath, onNavigate, children, }: NavigationProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import "../routing-qc0V00-j.js";
|
|
2
|
+
import { a as useNavigation, i as NavigationProviderProps, n as NavigationHandler, r as NavigationProvider, t as NavigationContextType } from "../navigation-nyXBY-75.js";
|
|
3
|
+
export { NavigationContextType, NavigationHandler, NavigationProvider, NavigationProviderProps, useNavigation };
|
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
basePath: '/',
|
|
5
|
-
};
|
|
6
|
-
const NavigationContext = React.createContext(Defaults);
|
|
7
|
-
export function useNavigation() {
|
|
8
|
-
return React.useContext(NavigationContext);
|
|
9
|
-
}
|
|
10
|
-
export function NavigationProvider({ basePath, selectedPath, onNavigate, children, }) {
|
|
11
|
-
const value = { ...Defaults, onNavigate, basePath, selectedPath };
|
|
12
|
-
return _jsx(NavigationContext.Provider, { value: value, children: children });
|
|
13
|
-
}
|
|
14
|
-
//# sourceMappingURL=navigation.js.map
|
|
1
|
+
import { n as useNavigation, t as NavigationProvider } from "../navigation-aoYZ_tl4.js";
|
|
2
|
+
|
|
3
|
+
export { NavigationProvider, useNavigation };
|
|
@@ -1,13 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
onSelect?: (stainlessPath: string) => void;
|
|
6
|
-
pageFind?: string;
|
|
7
|
-
};
|
|
8
|
-
export declare function useSearchContext(): SearchContextType;
|
|
9
|
-
export declare function useSearch(): (params: SearchParams) => Promise<import("../search/types").ResultType | undefined>;
|
|
10
|
-
export type SearchProviderProps = SearchContextType & {
|
|
11
|
-
children: React.ReactNode;
|
|
12
|
-
};
|
|
13
|
-
export declare function SearchProvider({ children, ...props }: SearchProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import "../routing-qc0V00-j.js";
|
|
2
|
+
import "../types-CTBDtD34.js";
|
|
3
|
+
import { a as useSearchContext, i as useSearch, n as SearchProvider, r as SearchProviderProps, t as SearchContextType } from "../search-B6loAGmB.js";
|
|
4
|
+
export { SearchContextType, SearchProvider, SearchProviderProps, useSearch, useSearchContext };
|
package/dist/contexts/search.js
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import "../component-generics-DzI21jRn.js";
|
|
2
|
+
import "../docs-Dh8kE1va.js";
|
|
3
|
+
import "../navigation-aoYZ_tl4.js";
|
|
4
|
+
import "../markdown-BXfX1D7C.js";
|
|
5
|
+
import "../routing-DQjbRxdJ.js";
|
|
6
|
+
import "../style-rYbbxIR_.js";
|
|
7
|
+
import "../use-components-D9E85p5x.js";
|
|
8
|
+
import { a as useSearchContext, i as useSearch, r as SearchProvider } from "../contexts-DRxRO-xO.js";
|
|
9
|
+
import "../icons-DdKM-01E.js";
|
|
10
|
+
import "../utils-CJfFBNgT.js";
|
|
11
|
+
import "../dropdown-DtgAi6lb.js";
|
|
12
|
+
import "../md-Dg8aOyMA.js";
|
|
13
|
+
import "../utils-BHwvUDKn.js";
|
|
14
|
+
import "../types-DFN4M1Sp.js";
|
|
15
|
+
|
|
16
|
+
export { SearchProvider, useSearch, useSearchContext };
|
|
@@ -1 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
import "../breadcrumbs-Z-hEqjcp.js";
|
|
2
|
+
import "../dropdown-B7VyGMOw.js";
|
|
3
|
+
import "../method-DpsVuzZW.js";
|
|
4
|
+
import "../primitives-DWz23_Ub.js";
|
|
5
|
+
import "../properties-CF71V58d.js";
|
|
6
|
+
import "../routing-qc0V00-j.js";
|
|
7
|
+
import "../sdk-Zg3Rggk3.js";
|
|
8
|
+
import "../snippets-EUzM4fRO.js";
|
|
9
|
+
import "../overview-C8e-6jGr.js";
|
|
10
|
+
import "../sidebar-C8KirYjg.js";
|
|
11
|
+
import { t as index_d_exports } from "../index-YnpUtXLB.js";
|
|
12
|
+
|
|
13
|
+
//#region src/contexts/use-components.d.ts
|
|
14
|
+
declare const useComponents: () => typeof index_d_exports;
|
|
15
|
+
//#endregion
|
|
16
|
+
export { useComponents };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import "../component-generics-DzI21jRn.js";
|
|
2
|
+
import { t as useComponents } from "../use-components-D9E85p5x.js";
|
|
3
|
+
|
|
4
|
+
export { useComponents };
|