@stainless-api/docs-ui 0.1.0-beta.65 → 0.1.0-beta.66

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.
Files changed (111) hide show
  1. package/dist/breadcrumbs-Dko96jXU.d.ts +25 -0
  2. package/dist/{breadcrumbs-C22Eos5U.js → breadcrumbs-qxCW6sK2.js} +1 -1
  3. package/dist/{cli-C9b02R53.js → cli-ByPDdxBS.js} +2 -2
  4. package/dist/{component-B5j-H4cO.js → component-CjdWk4ni.js} +2 -2
  5. package/dist/{component-generics-DBuEnCtJ.d.ts → component-generics-DpFQSmh3.d.ts} +2 -2
  6. package/dist/component-generics-ILcegpY7.d.ts +30 -0
  7. package/dist/components/MaskedInput.d.ts +3 -3
  8. package/dist/components/breadcrumbs.d.ts +1 -1
  9. package/dist/components/breadcrumbs.js +5 -5
  10. package/dist/components/icons.d.ts +12 -12
  11. package/dist/components/index.d.ts +10 -10
  12. package/dist/components/index.js +11 -11
  13. package/dist/components/method.d.ts +1 -1
  14. package/dist/components/method.js +5 -5
  15. package/dist/components/overview.d.ts +1 -1
  16. package/dist/components/overview.js +6 -6
  17. package/dist/components/primitives.d.ts +1 -1
  18. package/dist/components/primitives.js +4 -4
  19. package/dist/components/properties.d.ts +1 -1
  20. package/dist/components/properties.js +4 -4
  21. package/dist/components/sdk-sidebar.d.ts +1 -1
  22. package/dist/components/sdk-sidebar.js +3 -3
  23. package/dist/components/sdk.d.ts +1 -1
  24. package/dist/components/sdk.js +4 -4
  25. package/dist/components/snippets.d.ts +2 -2
  26. package/dist/components/snippets.js +4 -4
  27. package/dist/components/stl-sidebar.d.ts +1 -1
  28. package/dist/{components-C4bGzXqr.js → components-BPWzaaJS.js} +7 -7
  29. package/dist/contexts/component-generics.d.ts +1 -1
  30. package/dist/contexts/component-types.d.ts +11 -11
  31. package/dist/contexts/component.d.ts +14 -14
  32. package/dist/contexts/component.js +22 -22
  33. package/dist/contexts/docs.d.ts +2 -2
  34. package/dist/contexts/docs.js +2 -2
  35. package/dist/contexts/index.d.ts +15 -15
  36. package/dist/contexts/index.js +4 -4
  37. package/dist/contexts/markdown.js +2 -2
  38. package/dist/contexts/use-components.d.ts +10 -10
  39. package/dist/{contexts-DMjqoc7S.js → contexts-CVj20VV4.js} +3 -2
  40. package/dist/{csharp-Ckuihkec.js → csharp-D6_jlynY.js} +1 -1
  41. package/dist/{docs-6PYi1eEV.js → docs-BmOB2f-I.js} +4 -1
  42. package/dist/{docs-CMkfabi3.d.ts → docs-DlLOlML9.d.ts} +5 -4
  43. package/dist/docs-Rs5JBYig.d.ts +48 -0
  44. package/dist/{go-DrZxKwGv.js → go-COaHV3Hc.js} +1 -1
  45. package/dist/{http-BoZv04yo.js → http-DwJsFd9q.js} +4 -4
  46. package/dist/{index-BYTDY59Z.d.ts → index-CTFc7TGI.d.ts} +8 -8
  47. package/dist/{index-DCqDybi3.d.ts → index-CsJEVcDt.d.ts} +39 -39
  48. package/dist/index-DDrwJ0SM.d.ts +16 -0
  49. package/dist/index-aj8DLe5b.d.ts +345 -0
  50. package/dist/index.d.ts +13 -13
  51. package/dist/index.js +21 -21
  52. package/dist/{java-DB33acTL.js → java-CxGSJVvv.js} +2 -2
  53. package/dist/languages/cli.d.ts +11 -11
  54. package/dist/languages/cli.js +13 -13
  55. package/dist/languages/csharp.d.ts +11 -11
  56. package/dist/languages/csharp.js +4 -4
  57. package/dist/languages/go.d.ts +11 -11
  58. package/dist/languages/go.js +4 -4
  59. package/dist/languages/http.d.ts +11 -11
  60. package/dist/languages/http.js +12 -12
  61. package/dist/languages/index.d.ts +11 -11
  62. package/dist/languages/index.js +21 -21
  63. package/dist/languages/java.d.ts +11 -11
  64. package/dist/languages/java.js +4 -4
  65. package/dist/languages/python.d.ts +11 -11
  66. package/dist/languages/python.js +4 -4
  67. package/dist/languages/ruby.d.ts +11 -11
  68. package/dist/languages/ruby.js +4 -4
  69. package/dist/languages/terraform.d.ts +11 -11
  70. package/dist/languages/terraform.js +4 -4
  71. package/dist/languages/typescript.d.ts +11 -11
  72. package/dist/languages/typescript.js +4 -4
  73. package/dist/languages-Doc82_aw.js +30 -0
  74. package/dist/markdown/index.d.ts +1 -1
  75. package/dist/markdown/index.js +22 -22
  76. package/dist/markdown/printer.js +22 -22
  77. package/dist/markdown/utils.d.ts +2 -2
  78. package/dist/{markdown-DHjcD13O.js → markdown-CTKHMLVr.js} +1 -1
  79. package/dist/markdown-CmIFP37L.d.ts +22 -0
  80. package/dist/{method-DuiknwGt.js → method-BPDUyBlD.js} +1 -1
  81. package/dist/{method-BwXzL3P1.d.ts → method-Big14PnW.d.ts} +6 -6
  82. package/dist/method-DUHSNgiz.d.ts +59 -0
  83. package/dist/navigation-CCM6dFfw.d.ts +29 -0
  84. package/dist/{overview-Bgw9OG4s.d.ts → overview-9WETRMa1.d.ts} +6 -6
  85. package/dist/overview-CKllPxLz.d.ts +39 -0
  86. package/dist/{overview-CcVRPEBm.js → overview-FVLGi7mE.js} +4 -4
  87. package/dist/{primitives-BFT7Ya7M.d.ts → primitives-CRE7xsC3.d.ts} +11 -11
  88. package/dist/primitives-D9X5xoGL.d.ts +105 -0
  89. package/dist/{primitives-B6y6nqBK.js → primitives-WC1BbBHN.js} +2 -2
  90. package/dist/{properties-Dw7HWUj0.d.ts → properties-7szOHHaS.d.ts} +5 -5
  91. package/dist/{properties-D2J5gvC-.js → properties-BnbBKd5a.js} +2 -1
  92. package/dist/properties-C9W4QJ_F.d.ts +54 -0
  93. package/dist/{python-CU3scKKD.js → python-DsTuWCKE.js} +1 -1
  94. package/dist/{ruby-DGRZDnHB.js → ruby-CHdEJiJl.js} +2 -2
  95. package/dist/{sdk-AjblXmHS.d.ts → sdk-Bpy1Xo26.d.ts} +14 -14
  96. package/dist/{sdk-CR-rCp9e.js → sdk-CMMvOAdj.js} +7 -4
  97. package/dist/sdk-DjgaAjFT.d.ts +122 -0
  98. package/dist/{sdk-sidebar-D0TtSeoG.d.ts → sdk-sidebar-CkzuH3dr.d.ts} +2 -2
  99. package/dist/sdk-sidebar-NCBSWuUW.d.ts +15 -0
  100. package/dist/{snippets-Cp1UqKR_.d.ts → snippets--z2u74gP.d.ts} +8 -8
  101. package/dist/{snippets-Us8YSl3A.js → snippets-BehbU3rt.js} +2 -2
  102. package/dist/snippets-C0caK7DR.d.ts +53 -0
  103. package/dist/{stl-sidebar-GAhLy2ST.d.ts → stl-sidebar-DSkUHwcU.d.ts} +2 -2
  104. package/dist/stl-sidebar-DXlcKE-a.d.ts +58 -0
  105. package/dist/styles/main.css +1 -2
  106. package/dist/styles/primitives.css +1 -1
  107. package/dist/styles.css +2 -3
  108. package/dist/{terraform-BD7o7zbh.js → terraform-B95X4rNK.js} +2 -2
  109. package/dist/{typescript-CEVQ6kS_.js → typescript-n46M9OtL.js} +2 -2
  110. package/package.json +1 -1
  111. package/dist/languages-ZaloBYTK.js +0 -30
@@ -0,0 +1,122 @@
1
+ import { c as ID, d as Method, f as Model, g as SnippetLanguage, o as HasStainlessPath, t as BaseDeclaration } from "./index-CwjGm9zX.js";
2
+ import { t as DocsLanguage } from "./routing-Cm_9XJiQ.js";
3
+ import * as React$1 from "react";
4
+ import * as react_jsx_runtime52 from "react/jsx-runtime";
5
+
6
+ //#region src/components/sdk.d.ts
7
+ type PropertyModelContextType = {
8
+ modelPath?: string;
9
+ propertyPath?: string;
10
+ };
11
+ declare const PropertyModelContext: React$1.Context<PropertyModelContextType>;
12
+ declare function usePropertyModel(): PropertyModelContextType;
13
+ type ReferenceNestingContextType = string[];
14
+ declare const ReferenceNestingContext: React$1.Context<ReferenceNestingContextType>;
15
+ declare function useReferenceNesting(): ReferenceNestingContextType;
16
+ type SDKSnippetLanguagesType = Record<SnippetLanguage, {
17
+ name: string;
18
+ }>;
19
+ declare const SDKSnippetLanguages: SDKSnippetLanguagesType;
20
+ type TransformRequestSnippetFn = ({
21
+ snippet,
22
+ language
23
+ }: {
24
+ snippet: string;
25
+ language: DocsLanguage;
26
+ }) => string;
27
+ type SDKChildrenProps = {
28
+ paths: ID[];
29
+ expand?: boolean;
30
+ depth?: number;
31
+ };
32
+ declare function SDKChildren({
33
+ paths,
34
+ expand,
35
+ depth
36
+ }: SDKChildrenProps): react_jsx_runtime52.JSX.Element;
37
+ type SDKDeclarationProps = {
38
+ path: string;
39
+ expand?: boolean;
40
+ depth?: number;
41
+ };
42
+ declare function SDKDeclaration({
43
+ path,
44
+ expand,
45
+ depth
46
+ }: SDKDeclarationProps): react_jsx_runtime52.JSX.Element;
47
+ type SDKConstraintsProps = {
48
+ constraints?: Record<string, any>;
49
+ };
50
+ declare function SDKConstraints({
51
+ constraints
52
+ }: SDKConstraintsProps): react_jsx_runtime52.JSX.Element | undefined;
53
+ type SDKIconProps = {
54
+ language: SnippetLanguage;
55
+ size?: number;
56
+ };
57
+ declare function SDKIcon({
58
+ language
59
+ }: SDKIconProps): react_jsx_runtime52.JSX.Element | null;
60
+ type SDKRequestTitleProps = {
61
+ snippetLanguage: SnippetLanguage;
62
+ };
63
+ declare function SDKRequestTitle({
64
+ snippetLanguage
65
+ }: SDKRequestTitleProps): react_jsx_runtime52.JSX.Element;
66
+ type SDKExampleProps = {
67
+ method: Partial<Method> & HasStainlessPath;
68
+ transformRequestSnippet?: TransformRequestSnippetFn;
69
+ };
70
+ declare function SDKExample({
71
+ method,
72
+ transformRequestSnippet
73
+ }: SDKExampleProps): react_jsx_runtime52.JSX.Element;
74
+ type SDKMethodProps = {
75
+ method: Method;
76
+ transformRequestSnippet?: TransformRequestSnippetFn;
77
+ };
78
+ declare function SDKMethodHeader({
79
+ method
80
+ }: SDKMethodProps): react_jsx_runtime52.JSX.Element;
81
+ declare function useStreamingResponse(method: BaseDeclaration): ID | undefined;
82
+ declare function SDKMethodInfo({
83
+ method
84
+ }: SDKMethodProps): react_jsx_runtime52.JSX.Element;
85
+ declare function SDKMethodNotImplemented({
86
+ method
87
+ }: SDKMethodProps): react_jsx_runtime52.JSX.Element;
88
+ declare function SDKMethod({
89
+ method,
90
+ transformRequestSnippet
91
+ }: SDKMethodProps): react_jsx_runtime52.JSX.Element;
92
+ type SDKModelProps = {
93
+ model: Model;
94
+ };
95
+ declare function SDKModel({
96
+ model
97
+ }: SDKModelProps): react_jsx_runtime52.JSX.Element | null;
98
+ type SDKReferenceProps = {
99
+ stainlessPath: string;
100
+ children?: React$1.ReactNode;
101
+ };
102
+ declare function SDKReference({
103
+ stainlessPath,
104
+ children
105
+ }: SDKReferenceProps): string | number | bigint | boolean | react_jsx_runtime52.JSX.Element | 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> | null | undefined;
106
+ type SDKLanguageBlockProps = {
107
+ language: DocsLanguage;
108
+ version: string;
109
+ install: string;
110
+ links: {
111
+ repo: string;
112
+ docs: string;
113
+ };
114
+ };
115
+ declare function SDKLanguageBlock({
116
+ language,
117
+ version,
118
+ install,
119
+ links
120
+ }: SDKLanguageBlockProps): react_jsx_runtime52.JSX.Element;
121
+ //#endregion
122
+ export { SDKSnippetLanguagesType as C, useStreamingResponse as D, useReferenceNesting as E, SDKSnippetLanguages as S, usePropertyModel as T, SDKModel as _, SDKChildren as a, SDKRequestTitle as b, SDKDeclaration as c, SDKLanguageBlock as d, SDKMethod as f, SDKMethodProps as g, SDKMethodNotImplemented as h, ReferenceNestingContextType as i, SDKExample as l, SDKMethodInfo as m, PropertyModelContextType as n, SDKConstraints as o, SDKMethodHeader as p, ReferenceNestingContext as r, SDKConstraintsProps as s, PropertyModelContext as t, SDKIcon as u, SDKModelProps as v, TransformRequestSnippetFn as w, SDKRequestTitleProps as x, SDKReference as y };
@@ -1,5 +1,5 @@
1
1
  import { m as Resource } from "./index-CwjGm9zX.js";
2
- import * as react_jsx_runtime74 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime50 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/sdk-sidebar.d.ts
5
5
  type SDKSidebarProps = {
@@ -10,6 +10,6 @@ type SDKSidebarProps = {
10
10
  */
11
11
  declare function SDKSidebar({
12
12
  resources
13
- }: SDKSidebarProps): react_jsx_runtime74.JSX.Element;
13
+ }: SDKSidebarProps): react_jsx_runtime50.JSX.Element;
14
14
  //#endregion
15
15
  export { SDKSidebarProps as n, SDKSidebar as t };
@@ -0,0 +1,15 @@
1
+ import { m as Resource } from "./index-CwjGm9zX.js";
2
+ import * as react_jsx_runtime36 from "react/jsx-runtime";
3
+
4
+ //#region src/components/sdk-sidebar.d.ts
5
+ type SDKSidebarProps = {
6
+ resources: Resource[];
7
+ };
8
+ /**
9
+ * Given some SDKJSON.Resources, calls into StlSidebar with the appropriate sidebar entries.
10
+ */
11
+ declare function SDKSidebar({
12
+ resources
13
+ }: SDKSidebarProps): react_jsx_runtime36.JSX.Element;
14
+ //#endregion
15
+ export { SDKSidebarProps as n, SDKSidebar as t };
@@ -1,7 +1,7 @@
1
1
  import { d as Method, o as HasStainlessPath } from "./index-CwjGm9zX.js";
2
- import { w as TransformRequestSnippetFn } from "./sdk-AjblXmHS.js";
2
+ import { w as TransformRequestSnippetFn } from "./sdk-Bpy1Xo26.js";
3
3
  import * as React$1 from "react";
4
- import * as react_jsx_runtime89 from "react/jsx-runtime";
4
+ import * as react_jsx_runtime50 from "react/jsx-runtime";
5
5
 
6
6
  //#region src/components/snippets.d.ts
7
7
  type SnippetCodeProps = {
@@ -12,7 +12,7 @@ type SnippetCodeProps = {
12
12
  declare function SnippetCode({
13
13
  content,
14
14
  language
15
- }: SnippetCodeProps): react_jsx_runtime89.JSX.Element;
15
+ }: SnippetCodeProps): react_jsx_runtime50.JSX.Element;
16
16
  type SnippetProps = {
17
17
  method: Partial<Method> & HasStainlessPath;
18
18
  requestTitle?: React$1.ReactNode;
@@ -25,29 +25,29 @@ type SnippetContainerProps = {
25
25
  };
26
26
  declare function SnippetContainer({
27
27
  children
28
- }: SnippetContainerProps): react_jsx_runtime89.JSX.Element;
28
+ }: SnippetContainerProps): react_jsx_runtime50.JSX.Element;
29
29
  type SnippetRequestContainerProps = {
30
30
  children?: React$1.ReactNode;
31
31
  signature?: string;
32
32
  };
33
33
  declare function SnippetRequestContainer({
34
34
  children
35
- }: SnippetRequestContainerProps): react_jsx_runtime89.JSX.Element;
35
+ }: SnippetRequestContainerProps): react_jsx_runtime50.JSX.Element;
36
36
  declare function Snippet({
37
37
  requestTitle,
38
38
  method,
39
39
  transformRequestSnippet
40
- }: SnippetProps): react_jsx_runtime89.JSX.Element | null;
40
+ }: SnippetProps): react_jsx_runtime50.JSX.Element | null;
41
41
  declare function SnippetButtons({
42
42
  content
43
43
  }: {
44
44
  content: string;
45
- }): react_jsx_runtime89.JSX.Element;
45
+ }): react_jsx_runtime50.JSX.Element;
46
46
  declare function SnippetFooter(): React$1.ReactNode;
47
47
  declare function SnippetResponse({
48
48
  responses
49
49
  }: {
50
50
  responses: Method['exampleResponses'];
51
- }): react_jsx_runtime89.JSX.Element | null;
51
+ }): react_jsx_runtime50.JSX.Element | null;
52
52
  //#endregion
53
53
  export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
@@ -1,5 +1,5 @@
1
- import { i as useDeclaration, l as useSnippet, o as useLanguage } from "./docs-6PYi1eEV.js";
2
- import { r as useHighlight } from "./markdown-DHjcD13O.js";
1
+ import { i as useDeclaration, s as useLanguage, u as useSnippet } from "./docs-BmOB2f-I.js";
2
+ import { r as useHighlight } from "./markdown-CTKHMLVr.js";
3
3
  import { t as useComponents } from "./use-components-BUz3GbO4.js";
4
4
  import { t as style_default } from "./style-HpXpcJ9v.js";
5
5
  import * as React$1 from "react";
@@ -0,0 +1,53 @@
1
+ import { d as Method, o as HasStainlessPath } from "./index-CwjGm9zX.js";
2
+ import { w as TransformRequestSnippetFn } from "./sdk-DjgaAjFT.js";
3
+ import * as React$1 from "react";
4
+ import * as react_jsx_runtime66 from "react/jsx-runtime";
5
+
6
+ //#region src/components/snippets.d.ts
7
+ type SnippetCodeProps = {
8
+ content: string;
9
+ signature?: string;
10
+ language?: string;
11
+ };
12
+ declare function SnippetCode({
13
+ content,
14
+ language
15
+ }: SnippetCodeProps): react_jsx_runtime66.JSX.Element;
16
+ type SnippetProps = {
17
+ method: Partial<Method> & HasStainlessPath;
18
+ requestTitle?: React$1.ReactNode;
19
+ transformRequestSnippet?: TransformRequestSnippetFn;
20
+ };
21
+ type SnippetContainerProps = {
22
+ method: Partial<Method> & HasStainlessPath;
23
+ children: React$1.ReactNode;
24
+ signature?: string;
25
+ };
26
+ declare function SnippetContainer({
27
+ children
28
+ }: SnippetContainerProps): react_jsx_runtime66.JSX.Element;
29
+ type SnippetRequestContainerProps = {
30
+ children?: React$1.ReactNode;
31
+ signature?: string;
32
+ };
33
+ declare function SnippetRequestContainer({
34
+ children
35
+ }: SnippetRequestContainerProps): react_jsx_runtime66.JSX.Element;
36
+ declare function Snippet({
37
+ requestTitle,
38
+ method,
39
+ transformRequestSnippet
40
+ }: SnippetProps): react_jsx_runtime66.JSX.Element | null;
41
+ declare function SnippetButtons({
42
+ content
43
+ }: {
44
+ content: string;
45
+ }): react_jsx_runtime66.JSX.Element;
46
+ declare function SnippetFooter(): React$1.ReactNode;
47
+ declare function SnippetResponse({
48
+ responses
49
+ }: {
50
+ responses: Method['exampleResponses'];
51
+ }): react_jsx_runtime66.JSX.Element | null;
52
+ //#endregion
53
+ export { SnippetContainer as a, SnippetProps as c, SnippetResponse as d, SnippetCodeProps as i, SnippetRequestContainer as l, SnippetButtons as n, SnippetContainerProps as o, SnippetCode as r, SnippetFooter as s, Snippet as t, SnippetRequestContainerProps as u };
@@ -1,5 +1,5 @@
1
1
  import { ReactNode } from "react";
2
- import * as react_jsx_runtime95 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime56 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/components/stl-sidebar.d.ts
5
5
  declare module 'react' {
@@ -53,6 +53,6 @@ type StlSidebarProps = {
53
53
  declare function StlSidebar({
54
54
  entries,
55
55
  withStarlightRestoration
56
- }: StlSidebarProps): react_jsx_runtime95.JSX.Element;
56
+ }: StlSidebarProps): react_jsx_runtime56.JSX.Element;
57
57
  //#endregion
58
58
  export { StlSidebarProps as a, StlSidebarLink as i, StlSidebarEntry as n, StlSidebarTarget as o, StlSidebarGroup as r, StlSidebar as t };
@@ -0,0 +1,58 @@
1
+ import { ReactNode } from "react";
2
+ import * as react_jsx_runtime83 from "react/jsx-runtime";
3
+
4
+ //#region src/components/stl-sidebar.d.ts
5
+ declare module 'react' {
6
+ namespace JSX {
7
+ interface IntrinsicElements {
8
+ /**
9
+ * Custom element defined by Starlight's <SidebarPersister>.
10
+ */
11
+ 'sl-sidebar-restore': React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
12
+ }
13
+ }
14
+ }
15
+ type StlSidebarTarget = {
16
+ type: 'href';
17
+ href: string;
18
+ } | {
19
+ type: 'stainlessPath';
20
+ stainlessPath: string;
21
+ };
22
+ interface StlSidebarLink {
23
+ type: 'link';
24
+ icon?: ReactNode;
25
+ label: string;
26
+ /** Current sidebar item is highlighted. */
27
+ isCurrent?: boolean;
28
+ target: StlSidebarTarget;
29
+ /** Additional HTML attributes that will be attached to the anchor element. */
30
+ attrs?: Record<string, unknown>;
31
+ }
32
+ interface StlSidebarGroup {
33
+ type: 'group';
34
+ icon?: ReactNode;
35
+ label: string;
36
+ entries: Array<StlSidebarLink | StlSidebarGroup>;
37
+ /** Defaults to true. */
38
+ collapsible?: boolean;
39
+ collapsed?: boolean;
40
+ /** Current sidebar item is highlighted. */
41
+ isCurrent?: boolean;
42
+ target?: StlSidebarTarget;
43
+ }
44
+ type StlSidebarEntry = StlSidebarLink | StlSidebarGroup;
45
+ type StlSidebarProps = {
46
+ entries: StlSidebarEntry[];
47
+ /**
48
+ * If set, add <sl-sidebar-restore> custom elements (as defined by Starlight's SidebarPersister)
49
+ * which are used to save/restore sidebar state.
50
+ */
51
+ withStarlightRestoration?: boolean;
52
+ };
53
+ declare function StlSidebar({
54
+ entries,
55
+ withStarlightRestoration
56
+ }: StlSidebarProps): react_jsx_runtime83.JSX.Element;
57
+ //#endregion
58
+ export { StlSidebarProps as a, StlSidebarLink as i, StlSidebarEntry as n, StlSidebarTarget as o, StlSidebarGroup as r, StlSidebar as t };
@@ -410,8 +410,7 @@
410
410
  }
411
411
  }
412
412
 
413
- .stldocs-root .stldocs-method,
414
- .stldocs-root .stldocs-resource-content {
413
+ .stldocs-root .stldocs-method {
415
414
  .stldocs-method-content-column {
416
415
  display: contents;
417
416
  }
@@ -171,7 +171,7 @@
171
171
  &[open],
172
172
  &[data-open='true'] {
173
173
  & > .stldocs-expander-summary {
174
- .stldocs-type-preview-content {
174
+ .stldocs-type-preview[data-stldocs-type-preview='properties'] .stldocs-type-preview-content {
175
175
  display: none;
176
176
  }
177
177
 
package/dist/styles.css CHANGED
@@ -1566,7 +1566,7 @@ a.stl-ui-button {
1566
1566
  &[open],
1567
1567
  &[data-open='true'] {
1568
1568
  & > .stldocs-expander-summary {
1569
- .stldocs-type-preview-content {
1569
+ .stldocs-type-preview[data-stldocs-type-preview='properties'] .stldocs-type-preview-content {
1570
1570
  display: none;
1571
1571
  }
1572
1572
 
@@ -2246,8 +2246,7 @@ a.stl-ui-button {
2246
2246
  }
2247
2247
  }
2248
2248
 
2249
- .stldocs-root .stldocs-method,
2250
- .stldocs-root .stldocs-resource-content {
2249
+ .stldocs-root .stldocs-method {
2251
2250
  .stldocs-method-content-column {
2252
2251
  display: contents;
2253
2252
  }
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
- import { i as useDeclaration } from "./docs-6PYi1eEV.js";
3
- import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
2
+ import { i as useDeclaration } from "./docs-BmOB2f-I.js";
3
+ import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
4
4
  import { t as useComponents } from "./use-components-BUz3GbO4.js";
5
5
  import { t as style_default } from "./style-HpXpcJ9v.js";
6
6
  import "react";
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
- import { i as useDeclaration, o as useLanguage, u as useSpec } from "./docs-6PYi1eEV.js";
3
- import { n as useLanguageComponents } from "./contexts-DMjqoc7S.js";
2
+ import { d as useSpec, i as useDeclaration, s as useLanguage } from "./docs-BmOB2f-I.js";
3
+ import { n as useLanguageComponents } from "./contexts-CVj20VV4.js";
4
4
  import { t as useComponents } from "./use-components-BUz3GbO4.js";
5
5
  import { t as style_default } from "./style-HpXpcJ9v.js";
6
6
  import * as React$1 from "react";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-ui",
3
3
  "private": false,
4
- "version": "0.1.0-beta.65",
4
+ "version": "0.1.0-beta.66",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -1,30 +0,0 @@
1
- import { t as __exportAll } from "./chunk-BN_g-Awi.js";
2
- import { o as typescript_exports } from "./typescript-CEVQ6kS_.js";
3
- import { o as java_exports } from "./java-DB33acTL.js";
4
- import { o as go_exports } from "./go-DrZxKwGv.js";
5
- import { o as python_exports } from "./python-CU3scKKD.js";
6
- import { o as ruby_exports } from "./ruby-DGRZDnHB.js";
7
- import { s as http_exports } from "./http-BoZv04yo.js";
8
- import { o as csharp_exports } from "./csharp-Ckuihkec.js";
9
- import { o as cli_exports } from "./cli-C9b02R53.js";
10
- import { c as terraform_exports } from "./terraform-BD7o7zbh.js";
11
-
12
- //#region src/languages/index.ts
13
- var languages_exports = /* @__PURE__ */ __exportAll({
14
- cli: () => cli_exports,
15
- csharp: () => csharp_exports,
16
- go: () => go_exports,
17
- http: () => http_exports,
18
- java: () => java_exports,
19
- kotlin: () => kotlin,
20
- node: () => node,
21
- python: () => python_exports,
22
- ruby: () => ruby_exports,
23
- terraform: () => terraform_exports,
24
- typescript: () => typescript_exports
25
- });
26
- const node = typescript_exports;
27
- const kotlin = java_exports;
28
-
29
- //#endregion
30
- export { languages_exports as n, node as r, kotlin as t };