@stainless-api/docs-ui 0.1.0-beta.55 → 0.1.0-beta.57
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-BFCcsaL5.d.ts} +2 -2
- package/dist/{breadcrumbs-DgN-xdoA.js → breadcrumbs-CCViAnPI.js} +2 -2
- package/dist/breadcrumbs-DTHE6aca.d.ts +25 -0
- package/dist/{component-CjLDkCLe.js → component-2IFa97aV.js} +2 -2
- package/dist/{component-generics-jEHMmsET.d.ts → component-generics-CXfH4VNh.d.ts} +2 -2
- package/dist/component-generics-Dbwqv7EL.d.ts +30 -0
- 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 +2 -2
- package/dist/components/icons.d.ts +11 -11
- package/dist/components/index.d.ts +10 -10
- package/dist/components/index.js +10 -10
- package/dist/components/method.d.ts +2 -2
- package/dist/components/method.js +3 -3
- package/dist/components/overview.d.ts +1 -1
- package/dist/components/overview.js +3 -3
- 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/properties.js +1 -1
- package/dist/components/sdk.d.ts +1 -1
- package/dist/components/sdk.js +1 -1
- package/dist/components/sidebar.d.ts +1 -1
- package/dist/components/sidebar.js +1 -3
- package/dist/components/snippets.d.ts +2 -2
- package/dist/components/snippets.js +1 -1
- package/dist/{components-oq97SH1A.js → components-B6opXKh2.js} +8 -11
- 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 +18 -18
- 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/{csharp-E3FbT47c.js → csharp-Cs2V5Q49.js} +1 -1
- package/dist/{docs-B8ujUobE.d.ts → docs-AUJrRqst.d.ts} +2 -2
- package/dist/docs-BQbH-a6R.d.ts +47 -0
- package/dist/{go-DNSFGJle.js → go-jtKybF5f.js} +1 -1
- package/dist/{http-DXRdcllM.js → http-ByTnZCdl.js} +3 -3
- package/dist/{index-DJSj_TkD.d.ts → index-Bk5AWxiZ.d.ts} +30 -30
- package/dist/index-CBfCrZxK.d.ts +15 -0
- package/dist/index-CxTvYsqI.d.ts +15 -0
- package/dist/index-DUvl24AZ.d.ts +274 -0
- package/dist/index.d.ts +15 -15
- package/dist/index.js +18 -18
- package/dist/{java-X1yS0K52.js → java-CSfLt_jp.js} +1 -1
- package/dist/languages/csharp.d.ts +10 -10
- package/dist/languages/csharp.js +1 -1
- package/dist/languages/go.d.ts +10 -10
- package/dist/languages/go.js +1 -1
- package/dist/languages/http.d.ts +10 -10
- package/dist/languages/http.js +10 -10
- package/dist/languages/index.d.ts +10 -10
- package/dist/languages/index.js +17 -17
- package/dist/languages/java.d.ts +10 -10
- package/dist/languages/java.js +1 -1
- package/dist/languages/python.d.ts +10 -10
- package/dist/languages/python.js +1 -1
- package/dist/languages/ruby.d.ts +10 -10
- package/dist/languages/ruby.js +1 -1
- package/dist/languages/typescript.d.ts +10 -10
- package/dist/languages/typescript.js +1 -1
- package/dist/{languages-Ir9QQoCT.js → languages-X8bJZjuW.js} +7 -7
- package/dist/markdown/index.d.ts +1 -1
- package/dist/markdown/index.js +18 -18
- package/dist/markdown/printer.d.ts +1 -1
- package/dist/markdown/printer.js +19 -19
- package/dist/markdown/utils.d.ts +2 -2
- package/dist/{markdown-BeBRJqrt.d.ts → markdown-CqEZJJrZ.d.ts} +2 -2
- package/dist/markdown-V_bNKjle.d.ts +22 -0
- package/dist/{method-nEcioXL5.js → method-BPsNdtwS.js} +10 -35
- package/dist/method-CD_dwBsB.d.ts +59 -0
- package/dist/method-CkGKALRi.d.ts +59 -0
- package/dist/{navigation-ULXC5uFs.d.ts → navigation-BlOvTCTX.d.ts} +2 -2
- package/dist/navigation-CXQA2RZo.d.ts +29 -0
- package/dist/{overview-BQk6WvtS.js → overview-BslKVsRE.js} +3 -3
- package/dist/{overview-5f2psBcl.d.ts → overview-CVTaIlP6.d.ts} +6 -6
- package/dist/overview-DFrenwhf.d.ts +39 -0
- package/dist/{primitives-1WQd5NT-.js → primitives-CCj2Pn-o.js} +25 -33
- package/dist/primitives-Da9sUCQo.d.ts +104 -0
- package/dist/primitives-DiDzLHoK.d.ts +104 -0
- package/dist/{properties-Clv76Ne3.d.ts → properties-CEjSSMRr.d.ts} +5 -5
- package/dist/properties-CXDSYNGL.d.ts +54 -0
- package/dist/{properties-BTdEzx5f.js → properties-DhttBLpf.js} +1 -1
- package/dist/{python-DqdvqQ9I.js → python-BU7eaJMy.js} +1 -1
- package/dist/routing.d.ts +1 -1
- package/dist/{ruby-CHeld1ey.js → ruby-LiJ6VW-R.js} +1 -1
- package/dist/{sdk-DT9NI4cv.d.ts → sdk-CL6r5JlK.d.ts} +13 -13
- package/dist/{sdk-DEoUlY8I.js → sdk-CbNqFzOI.js} +2 -2
- package/dist/sdk-CenwRRXT.d.ts +118 -0
- package/dist/{sidebar-M9RnjNtV.d.ts → sidebar-BDwx6h14.d.ts} +5 -5
- package/dist/sidebar-CcX4PdH0.d.ts +36 -0
- package/dist/{sidebar-D_cK7JN_.js → sidebar-ZNWRDHyv.js} +7 -3
- package/dist/{snippets-BiXJx1BL.js → snippets-CO4kIovz.js} +6 -5
- package/dist/{snippets-swUWTk4z.d.ts → snippets-DePfv2T6.d.ts} +8 -8
- package/dist/snippets-ykHHsG1B.d.ts +51 -0
- package/dist/spec.d.ts +3 -3
- package/dist/{style-cJZFOvnF.js → style-Vk87Pfuy.js} +0 -2
- package/dist/style.d.ts +0 -2
- package/dist/style.js +1 -1
- package/dist/styles/main.css +1 -26
- package/dist/styles/primitives.css +5 -4
- package/dist/styles/resets.css +1 -1
- package/dist/styles/search.css +32 -30
- package/dist/styles/sidebar.css +0 -4
- package/dist/styles.css +190 -66
- package/dist/{typescript-C--P_L-R.js → typescript-C8J1uyak.js} +1 -1
- package/package.json +2 -2
- package/dist/index-DhAIZ735.d.ts +0 -15
- package/dist/method-cLcsCc31.d.ts +0 -71
- package/dist/primitives-BBa2vKex.d.ts +0 -97
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import * as React$1 from "react";
|
|
2
|
-
import { ReactNode } from "react";
|
|
3
|
-
import * as react_jsx_runtime23 from "react/jsx-runtime";
|
|
4
|
-
|
|
5
|
-
//#region src/components/primitives.d.ts
|
|
6
|
-
type JoinProps = {
|
|
7
|
-
items: ReactNode[];
|
|
8
|
-
limit?: number;
|
|
9
|
-
children: ReactNode;
|
|
10
|
-
};
|
|
11
|
-
declare function Join({
|
|
12
|
-
items,
|
|
13
|
-
limit,
|
|
14
|
-
children
|
|
15
|
-
}: JoinProps): react_jsx_runtime23.JSX.Element[];
|
|
16
|
-
type ExpanderProps = {
|
|
17
|
-
id?: string;
|
|
18
|
-
open?: boolean;
|
|
19
|
-
summary: ReactNode;
|
|
20
|
-
virtual?: boolean;
|
|
21
|
-
muted?: boolean;
|
|
22
|
-
children?: ReactNode;
|
|
23
|
-
};
|
|
24
|
-
declare function Expander({
|
|
25
|
-
id,
|
|
26
|
-
open,
|
|
27
|
-
summary,
|
|
28
|
-
virtual,
|
|
29
|
-
muted,
|
|
30
|
-
children
|
|
31
|
-
}: ExpanderProps): react_jsx_runtime23.JSX.Element;
|
|
32
|
-
declare function VirtualExpander({
|
|
33
|
-
id,
|
|
34
|
-
open: isOpen,
|
|
35
|
-
muted,
|
|
36
|
-
summary,
|
|
37
|
-
children
|
|
38
|
-
}: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime23.JSX.Element;
|
|
39
|
-
declare function Markdown({
|
|
40
|
-
content
|
|
41
|
-
}: {
|
|
42
|
-
content: string;
|
|
43
|
-
}): "" | react_jsx_runtime23.JSX.Element | undefined;
|
|
44
|
-
type BadgeProps = {
|
|
45
|
-
id: string;
|
|
46
|
-
children?: ReactNode;
|
|
47
|
-
};
|
|
48
|
-
declare function Badge({
|
|
49
|
-
id,
|
|
50
|
-
children
|
|
51
|
-
}: BadgeProps): react_jsx_runtime23.JSX.Element;
|
|
52
|
-
type TooltipProps = {
|
|
53
|
-
content: ReactNode;
|
|
54
|
-
children: ReactNode;
|
|
55
|
-
};
|
|
56
|
-
declare function Tooltip({
|
|
57
|
-
content,
|
|
58
|
-
children
|
|
59
|
-
}: TooltipProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
|
|
60
|
-
type LinkProps = {
|
|
61
|
-
stainlessPath: string;
|
|
62
|
-
scroll?: boolean;
|
|
63
|
-
children?: ReactNode;
|
|
64
|
-
} & React$1.HTMLProps<HTMLAnchorElement>;
|
|
65
|
-
declare function Link({
|
|
66
|
-
stainlessPath,
|
|
67
|
-
scroll,
|
|
68
|
-
children,
|
|
69
|
-
...props
|
|
70
|
-
}: LinkProps): string | number | bigint | boolean | Iterable<React$1.ReactNode> | Promise<string | number | bigint | boolean | React$1.ReactPortal | React$1.ReactElement<unknown, string | React$1.JSXElementConstructor<any>> | Iterable<React$1.ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
|
|
71
|
-
type InputProps = {
|
|
72
|
-
left?: ReactNode;
|
|
73
|
-
right?: ReactNode;
|
|
74
|
-
ref?: React$1.Ref<HTMLInputElement>;
|
|
75
|
-
} & React$1.InputHTMLAttributes<HTMLInputElement>;
|
|
76
|
-
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
77
|
-
type ToggleButtonProps = {
|
|
78
|
-
children?: ReactNode;
|
|
79
|
-
selected?: boolean;
|
|
80
|
-
} & React$1.ButtonHTMLAttributes<HTMLButtonElement>;
|
|
81
|
-
declare const ToggleButton: React$1.ForwardRefExoticComponent<{
|
|
82
|
-
children?: ReactNode;
|
|
83
|
-
selected?: boolean;
|
|
84
|
-
} & React$1.ButtonHTMLAttributes<HTMLButtonElement> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
85
|
-
type ListViewProps<TItem> = {
|
|
86
|
-
items: Array<TItem>;
|
|
87
|
-
itemDelegate: (item: TItem, selected: boolean) => React$1.ReactNode;
|
|
88
|
-
onSelectListItem?: (item: TItem) => void;
|
|
89
|
-
} & React$1.HTMLAttributes<HTMLDivElement>;
|
|
90
|
-
declare function ListView<TItem>({
|
|
91
|
-
items,
|
|
92
|
-
itemDelegate,
|
|
93
|
-
onSelectListItem,
|
|
94
|
-
...rest
|
|
95
|
-
}: ListViewProps<TItem>): react_jsx_runtime23.JSX.Element;
|
|
96
|
-
//#endregion
|
|
97
|
-
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 };
|