@stainless-api/docs-ui 0.1.0-beta.72 → 0.1.0-beta.74

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 (135) hide show
  1. package/dist/{chunk-BN_g-Awi.js → chunk-BYypO7fO.js} +3 -3
  2. package/dist/components/MaskedInput.d.ts +1 -1
  3. package/dist/components/MaskedInput.js +1 -1
  4. package/dist/components/breadcrumbs.d.ts +24 -1
  5. package/dist/components/breadcrumbs.js +62 -7
  6. package/dist/components/icons.d.ts +12 -12
  7. package/dist/components/icons.js +883 -1
  8. package/dist/components/index.d.ts +16 -14
  9. package/dist/components/index.js +72 -18
  10. package/dist/components/method.d.ts +58 -1
  11. package/dist/components/method.js +95 -8
  12. package/dist/components/overview.d.ts +38 -1
  13. package/dist/components/overview.js +137 -9
  14. package/dist/components/primitives.d.ts +104 -1
  15. package/dist/components/primitives.js +250 -6
  16. package/dist/components/properties.d.ts +53 -1
  17. package/dist/components/properties.js +138 -7
  18. package/dist/components/sdk-sidebar.d.ts +14 -1
  19. package/dist/components/sdk-sidebar.js +50 -8
  20. package/dist/components/sdk.d.ts +121 -1
  21. package/dist/components/sdk.js +404 -8
  22. package/dist/components/snippets.d.ts +70 -13
  23. package/dist/components/snippets.js +182 -7
  24. package/dist/components/stl-sidebar.d.ts +57 -1
  25. package/dist/components/stl-sidebar.js +105 -3
  26. package/dist/contexts/component-generics.d.ts +29 -1
  27. package/dist/contexts/component-generics.js +31 -1
  28. package/dist/contexts/component-types.d.ts +4 -15
  29. package/dist/contexts/component.d.ts +7 -17
  30. package/dist/contexts/component.js +22 -28
  31. package/dist/contexts/docs.d.ts +61 -1
  32. package/dist/contexts/docs.js +89 -1
  33. package/dist/contexts/index.d.ts +13 -14
  34. package/dist/contexts/index.js +44 -6
  35. package/dist/contexts/markdown.d.ts +21 -1
  36. package/dist/contexts/markdown.js +47 -2
  37. package/dist/contexts/navigation.d.ts +28 -1
  38. package/dist/contexts/navigation.js +22 -1
  39. package/dist/contexts/use-components.d.ts +1 -13
  40. package/dist/contexts/use-components.js +6 -2
  41. package/dist/{index-W4Td2Hl7.d.ts → index-PdnFhQF9.d.ts} +1 -1
  42. package/dist/index.d.ts +4 -14
  43. package/dist/index.js +7 -30
  44. package/dist/languages/cli.d.ts +38 -14
  45. package/dist/languages/cli.js +166 -20
  46. package/dist/languages/csharp.d.ts +42 -14
  47. package/dist/languages/csharp.js +283 -8
  48. package/dist/languages/go.d.ts +40 -14
  49. package/dist/languages/go.js +303 -8
  50. package/dist/languages/http.d.ts +46 -14
  51. package/dist/languages/http.js +390 -19
  52. package/dist/languages/index.d.ts +50 -14
  53. package/dist/languages/index.js +30 -28
  54. package/dist/languages/java.d.ts +43 -14
  55. package/dist/languages/java.js +403 -8
  56. package/dist/languages/python.d.ts +40 -14
  57. package/dist/languages/python.js +269 -8
  58. package/dist/languages/ruby.d.ts +40 -14
  59. package/dist/languages/ruby.js +387 -8
  60. package/dist/languages/terraform.d.ts +48 -14
  61. package/dist/languages/terraform.js +243 -8
  62. package/dist/languages/typescript.d.ts +40 -14
  63. package/dist/languages/typescript.js +449 -8
  64. package/dist/markdown/index.d.ts +1 -2
  65. package/dist/markdown/index.js +1 -28
  66. package/dist/markdown/printer.d.ts +2 -2
  67. package/dist/markdown/printer.js +6 -30
  68. package/dist/markdown/utils.d.ts +3 -3
  69. package/dist/routing.d.ts +61 -2
  70. package/dist/routing.js +204 -2
  71. package/dist/spec.d.ts +4 -4
  72. package/dist/spec.js +2 -2
  73. package/dist/style.js +176 -1
  74. package/dist/use-strict-context-L0c8JKg4.js +16 -0
  75. package/dist/utils.d.ts +1 -1
  76. package/dist/utils.js +53 -2
  77. package/package.json +3 -3
  78. package/dist/breadcrumbs-46Qjx1Pd.d.ts +0 -25
  79. package/dist/breadcrumbs-BZ4wBC9-.d.ts +0 -25
  80. package/dist/breadcrumbs-BiBfNqBI.js +0 -63
  81. package/dist/cli-hduQ5XS1.js +0 -166
  82. package/dist/component-BU8BTbqz.js +0 -23
  83. package/dist/component-generics-Bw4ZOyEG.d.ts +0 -30
  84. package/dist/component-generics-D-WarFUb.d.ts +0 -30
  85. package/dist/component-generics-POFirVVb.js +0 -45
  86. package/dist/components-9NMl1791.js +0 -72
  87. package/dist/contexts-_NNW5yqC.js +0 -44
  88. package/dist/csharp-sn5CJu9t.js +0 -283
  89. package/dist/docs-Cu9Yl6-y.d.ts +0 -66
  90. package/dist/docs-YgoQ3bzY.js +0 -81
  91. package/dist/docs-xb5wYGjM.d.ts +0 -66
  92. package/dist/go-BoaAVmP0.js +0 -303
  93. package/dist/http-B3qTyMc3.js +0 -389
  94. package/dist/icons-BYKn5X8E.js +0 -885
  95. package/dist/index-BOmn7DHa.d.ts +0 -428
  96. package/dist/index-BvcPmB0r.d.ts +0 -428
  97. package/dist/java-BiLRuLuD.js +0 -403
  98. package/dist/languages-vUhD5Hu_.js +0 -30
  99. package/dist/markdown-BszOPZhh.d.ts +0 -22
  100. package/dist/markdown-Cq3XEhrR.js +0 -49
  101. package/dist/markdown-plMAoN22.d.ts +0 -22
  102. package/dist/method-C4PgTWAu.d.ts +0 -59
  103. package/dist/method-D6R_farj.d.ts +0 -59
  104. package/dist/method-DjzVBzZe.js +0 -96
  105. package/dist/navigation-HiZWRl34.d.ts +0 -29
  106. package/dist/navigation-MrP4Ubbg.d.ts +0 -29
  107. package/dist/navigation-aoYZ_tl4.js +0 -24
  108. package/dist/overview-CTeKhpQq.d.ts +0 -39
  109. package/dist/overview-Yf1PTJNi.d.ts +0 -39
  110. package/dist/overview-ocTARt-j.js +0 -138
  111. package/dist/primitives-CNG-fEhQ.js +0 -250
  112. package/dist/primitives-K7NijV36.d.ts +0 -105
  113. package/dist/primitives-WGxdBJDS.d.ts +0 -105
  114. package/dist/properties-Bu4nW9JD.d.ts +0 -54
  115. package/dist/properties-Bynmj9_H.d.ts +0 -54
  116. package/dist/properties-DQU0NBzb.js +0 -138
  117. package/dist/python-nqOBH7GS.js +0 -269
  118. package/dist/routing-C64k4fmX.js +0 -205
  119. package/dist/routing-pAL4V4hv.d.ts +0 -61
  120. package/dist/ruby-BBc8HdIt.js +0 -387
  121. package/dist/sdk-BSdgEEJw.js +0 -405
  122. package/dist/sdk-BVCk1ox2.d.ts +0 -122
  123. package/dist/sdk-Dm0S-XQE.d.ts +0 -122
  124. package/dist/sdk-sidebar-B1ehT_xI.d.ts +0 -15
  125. package/dist/sdk-sidebar-BDn8S1xS.js +0 -50
  126. package/dist/sdk-sidebar-Dqeu7C1-.d.ts +0 -15
  127. package/dist/snippets-CLpNVNlA.js +0 -181
  128. package/dist/stl-sidebar-BTTErIJs.d.ts +0 -58
  129. package/dist/stl-sidebar-C7GNALtk.d.ts +0 -58
  130. package/dist/stl-sidebar-DC5UOJiT.js +0 -106
  131. package/dist/style-DJIYkFhO.js +0 -178
  132. package/dist/terraform-DVx2ea2h.js +0 -243
  133. package/dist/typescript-Cmk-jBBw.js +0 -449
  134. package/dist/use-components-BUz3GbO4.js +0 -7
  135. package/dist/utils-DPbkW1Tz.js +0 -54
@@ -1,105 +0,0 @@
1
- import * as react0 from "react";
2
- import { ReactNode } from "react";
3
- import * as react_jsx_runtime40 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_runtime40.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_runtime40.JSX.Element;
32
- declare function VirtualExpander({
33
- id,
34
- open: isOpen,
35
- muted,
36
- summary,
37
- children
38
- }: Omit<ExpanderProps, 'virtual'>): react_jsx_runtime40.JSX.Element;
39
- declare function Markdown({
40
- content
41
- }: {
42
- content: string;
43
- }): "" | react_jsx_runtime40.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_runtime40.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<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime40.JSX.Element | null | undefined;
60
- type LinkProps = {
61
- stainlessPath?: string;
62
- scroll?: boolean;
63
- children?: ReactNode;
64
- } & React.HTMLProps<HTMLAnchorElement>;
65
- declare function Link({
66
- stainlessPath,
67
- scroll,
68
- children,
69
- ...props
70
- }: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime40.JSX.Element | null | undefined;
71
- type InputProps = {
72
- left?: ReactNode;
73
- right?: ReactNode;
74
- ref?: React.Ref<HTMLInputElement>;
75
- } & React.InputHTMLAttributes<HTMLInputElement>;
76
- declare function Input({
77
- left,
78
- right,
79
- ref,
80
- className,
81
- ...props
82
- }: InputProps): react_jsx_runtime40.JSX.Element;
83
- type ToggleButtonProps = {
84
- children?: ReactNode;
85
- selected?: boolean;
86
- } & React.ComponentProps<'button'>;
87
- declare function ToggleButton({
88
- children,
89
- selected,
90
- ref,
91
- ...props
92
- }: ToggleButtonProps): react_jsx_runtime40.JSX.Element;
93
- type ListViewProps<TItem> = {
94
- items: Array<TItem>;
95
- itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
96
- onSelectListItem?: (item: TItem) => void;
97
- } & React.HTMLAttributes<HTMLDivElement>;
98
- declare function ListView<TItem>({
99
- items,
100
- itemDelegate,
101
- onSelectListItem,
102
- ...rest
103
- }: ListViewProps<TItem>): react_jsx_runtime40.JSX.Element;
104
- //#endregion
105
- export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,105 +0,0 @@
1
- import * as react0 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<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
60
- type LinkProps = {
61
- stainlessPath?: string;
62
- scroll?: boolean;
63
- children?: ReactNode;
64
- } & React.HTMLProps<HTMLAnchorElement>;
65
- declare function Link({
66
- stainlessPath,
67
- scroll,
68
- children,
69
- ...props
70
- }: LinkProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | react0.ReactPortal | react0.ReactElement<unknown, string | react0.JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | react_jsx_runtime23.JSX.Element | null | undefined;
71
- type InputProps = {
72
- left?: ReactNode;
73
- right?: ReactNode;
74
- ref?: React.Ref<HTMLInputElement>;
75
- } & React.InputHTMLAttributes<HTMLInputElement>;
76
- declare function Input({
77
- left,
78
- right,
79
- ref,
80
- className,
81
- ...props
82
- }: InputProps): react_jsx_runtime23.JSX.Element;
83
- type ToggleButtonProps = {
84
- children?: ReactNode;
85
- selected?: boolean;
86
- } & React.ComponentProps<'button'>;
87
- declare function ToggleButton({
88
- children,
89
- selected,
90
- ref,
91
- ...props
92
- }: ToggleButtonProps): react_jsx_runtime23.JSX.Element;
93
- type ListViewProps<TItem> = {
94
- items: Array<TItem>;
95
- itemDelegate: (item: TItem, selected: boolean) => React.ReactNode;
96
- onSelectListItem?: (item: TItem) => void;
97
- } & React.HTMLAttributes<HTMLDivElement>;
98
- declare function ListView<TItem>({
99
- items,
100
- itemDelegate,
101
- onSelectListItem,
102
- ...rest
103
- }: ListViewProps<TItem>): react_jsx_runtime23.JSX.Element;
104
- //#endregion
105
- export { Join as a, ListViewProps as c, ToggleButtonProps as d, Tooltip as f, InputProps as i, Markdown as l, Expander as n, Link as o, VirtualExpander as p, Input as r, ListView as s, Badge as t, ToggleButton as u };
@@ -1,54 +0,0 @@
1
- import { ReactNode } from "react";
2
- import * as react_jsx_runtime33 from "react/jsx-runtime";
3
-
4
- //#region src/components/properties.d.ts
5
- type PropertyToggleProps = {
6
- target: string;
7
- };
8
- declare function PropertyToggle({
9
- target
10
- }: PropertyToggleProps): react_jsx_runtime33.JSX.Element;
11
- type PropertyDescriptionProps = {
12
- description?: string;
13
- };
14
- declare function PropertyDescription({
15
- description
16
- }: PropertyDescriptionProps): react_jsx_runtime33.JSX.Element | undefined;
17
- type PropertyTitleProps = {
18
- title?: string;
19
- };
20
- declare function PropertyTitle({
21
- title
22
- }: PropertyTitleProps): react_jsx_runtime33.JSX.Element | undefined;
23
- type PropertyProps = {
24
- id?: string;
25
- name?: ReactNode;
26
- typeName?: ReactNode;
27
- badges?: ReactNode;
28
- type?: ReactNode;
29
- description?: string;
30
- title?: string;
31
- expand?: boolean;
32
- deprecated?: boolean | string;
33
- additional?: ReactNode;
34
- declaration?: ReactNode;
35
- constraints?: ReactNode;
36
- children?: ReactNode;
37
- };
38
- declare function Property({
39
- id,
40
- name,
41
- typeName,
42
- badges,
43
- type,
44
- declaration,
45
- description,
46
- title,
47
- deprecated,
48
- expand,
49
- additional,
50
- constraints,
51
- children
52
- }: PropertyProps): react_jsx_runtime33.JSX.Element | null;
53
- //#endregion
54
- export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
@@ -1,54 +0,0 @@
1
- import { ReactNode } from "react";
2
- import * as react_jsx_runtime25 from "react/jsx-runtime";
3
-
4
- //#region src/components/properties.d.ts
5
- type PropertyToggleProps = {
6
- target: string;
7
- };
8
- declare function PropertyToggle({
9
- target
10
- }: PropertyToggleProps): react_jsx_runtime25.JSX.Element;
11
- type PropertyDescriptionProps = {
12
- description?: string;
13
- };
14
- declare function PropertyDescription({
15
- description
16
- }: PropertyDescriptionProps): react_jsx_runtime25.JSX.Element | undefined;
17
- type PropertyTitleProps = {
18
- title?: string;
19
- };
20
- declare function PropertyTitle({
21
- title
22
- }: PropertyTitleProps): react_jsx_runtime25.JSX.Element | undefined;
23
- type PropertyProps = {
24
- id?: string;
25
- name?: ReactNode;
26
- typeName?: ReactNode;
27
- badges?: ReactNode;
28
- type?: ReactNode;
29
- description?: string;
30
- title?: string;
31
- expand?: boolean;
32
- deprecated?: boolean | string;
33
- additional?: ReactNode;
34
- declaration?: ReactNode;
35
- constraints?: ReactNode;
36
- children?: ReactNode;
37
- };
38
- declare function Property({
39
- id,
40
- name,
41
- typeName,
42
- badges,
43
- type,
44
- declaration,
45
- description,
46
- title,
47
- deprecated,
48
- expand,
49
- additional,
50
- constraints,
51
- children
52
- }: PropertyProps): react_jsx_runtime25.JSX.Element | null;
53
- //#endregion
54
- export { PropertyTitle as a, PropertyToggleProps as c, PropertyProps as i, PropertyDescription as n, PropertyTitleProps as o, PropertyDescriptionProps as r, PropertyToggle as s, Property as t };
@@ -1,138 +0,0 @@
1
- import { l as useSettings, o as useIgnoredResources, s as useLanguage } from "./docs-YgoQ3bzY.js";
2
- import { t as useComponents } from "./use-components-BUz3GbO4.js";
3
- import { t as style_default } from "./style-DJIYkFhO.js";
4
- import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
- import { ArrowDownWideNarrowIcon, ArrowUpNarrowWideIcon } from "lucide-react";
6
-
7
- //#region src/components/properties.tsx
8
- function PropertyToggle({ target }) {
9
- return /* @__PURE__ */ jsxs("span", {
10
- className: style_default.ExpandToggle,
11
- "data-stldocs-property-toggle-expanded": "false",
12
- "data-stldocs-property-toggle-target": target,
13
- children: [/* @__PURE__ */ jsxs("span", {
14
- className: style_default.ExpandToggleContent,
15
- children: ["Expand ", /* @__PURE__ */ jsx(ArrowDownWideNarrowIcon, {
16
- className: style_default.Icon,
17
- size: 16
18
- })]
19
- }), /* @__PURE__ */ jsxs("span", {
20
- className: style_default.ExpandToggleContent,
21
- children: ["Collapse ", /* @__PURE__ */ jsx(ArrowUpNarrowWideIcon, {
22
- className: style_default.Icon,
23
- size: 16
24
- })]
25
- })]
26
- });
27
- }
28
- function PropertyDescription({ description }) {
29
- const { Markdown } = useComponents();
30
- if (description) return /* @__PURE__ */ jsx("div", {
31
- className: style_default.PropertyDescription,
32
- children: /* @__PURE__ */ jsx(Markdown, { content: description })
33
- });
34
- }
35
- function PropertyTitle({ title }) {
36
- const { Markdown } = useComponents();
37
- if (title) return /* @__PURE__ */ jsx("div", {
38
- className: style_default.PropertyTitle,
39
- children: /* @__PURE__ */ jsx(Markdown, { content: title })
40
- });
41
- }
42
- function splitDescription(description) {
43
- const pos = description?.indexOf("\n\n");
44
- if (!description || !pos || pos < 0) return [description, null];
45
- return [description.slice(0, pos), description.slice(pos)];
46
- }
47
- function Property({ id, name, typeName, badges, type, declaration, description, title, deprecated, expand, additional, constraints, children }) {
48
- const Docs = useComponents();
49
- const language = useLanguage();
50
- const properties = useSettings()?.properties;
51
- if (useIgnoredResources().includes(id || "")) return null;
52
- const { collapseDescription, showTitle } = properties ?? {};
53
- const types = properties?.types;
54
- const [descFirstLine, descRest] = collapseDescription === "show-first-line" ? splitDescription(description) : [null, description];
55
- const textContent = /* @__PURE__ */ jsxs(Fragment, { children: [
56
- typeof deprecated === "string" && /* @__PURE__ */ jsx("div", {
57
- className: style_default.PropertyDeprecatedMessage,
58
- children: deprecated
59
- }),
60
- descRest && /* @__PURE__ */ jsx(Docs.PropertyDescription, { description: descRest }),
61
- constraints && /* @__PURE__ */ jsx("div", {
62
- className: style_default.PropertyContent,
63
- children: constraints
64
- })
65
- ] });
66
- const rich = /* @__PURE__ */ jsxs(Fragment, { children: [
67
- /* @__PURE__ */ jsxs("div", {
68
- className: style_default.PropertyDeclaration,
69
- children: [
70
- deprecated && /* @__PURE__ */ jsx("span", {
71
- className: style_default.PropertyDeprecated,
72
- children: "Deprecated"
73
- }),
74
- declaration,
75
- badges && /* @__PURE__ */ jsx("span", {
76
- className: style_default.PropertyBadges,
77
- children: badges
78
- })
79
- ]
80
- }),
81
- title && showTitle && /* @__PURE__ */ jsx(Docs.PropertyTitle, { title }),
82
- collapseDescription === false ? textContent : descFirstLine && /* @__PURE__ */ jsx(Docs.PropertyDescription, { description: descFirstLine })
83
- ] });
84
- const simple = /* @__PURE__ */ jsxs(Fragment, { children: [
85
- name && /* @__PURE__ */ jsxs("div", {
86
- className: style_default.PropertyHeader,
87
- children: [
88
- deprecated && /* @__PURE__ */ jsx("span", {
89
- className: style_default.PropertyDeprecated,
90
- children: "Deprecated"
91
- }),
92
- name && /* @__PURE__ */ jsx("span", {
93
- className: style_default.PropertyName,
94
- children: name
95
- }),
96
- typeName && /* @__PURE__ */ jsx("span", {
97
- className: style_default.PropertyTypeName,
98
- children: typeName
99
- }),
100
- badges && /* @__PURE__ */ jsx("span", {
101
- className: style_default.PropertyBadges,
102
- children: badges
103
- })
104
- ]
105
- }),
106
- type && /* @__PURE__ */ jsx("div", {
107
- className: style_default.PropertyType,
108
- children: type
109
- }),
110
- title && showTitle && /* @__PURE__ */ jsx(Docs.PropertyTitle, { title }),
111
- collapseDescription === false ? textContent : null
112
- ] });
113
- const content = /* @__PURE__ */ jsx("div", {
114
- id,
115
- className: style_default.PropertyInfo,
116
- children: types === "simple" ? simple : rich
117
- });
118
- return /* @__PURE__ */ jsx("div", {
119
- className: style_default.Property,
120
- "data-stldocs-language": language,
121
- children: children || collapseDescription !== false && descRest ? /* @__PURE__ */ jsxs(Docs.Expander, {
122
- summary: content,
123
- muted: !children,
124
- open: expand,
125
- children: [
126
- collapseDescription !== false ? textContent : null,
127
- additional,
128
- children && /* @__PURE__ */ jsx("div", {
129
- className: style_default.PropertyChildren,
130
- children
131
- })
132
- ]
133
- }) : content
134
- });
135
- }
136
-
137
- //#endregion
138
- export { PropertyToggle as i, PropertyDescription as n, PropertyTitle as r, Property as t };