@redocly/theme 0.1.8 → 0.1.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.
Files changed (322) hide show
  1. package/Button/index.d.ts +1 -1
  2. package/Button/index.js +1 -1
  3. package/CodeBlock/index.d.ts +1 -1
  4. package/CodeBlock/index.js +1 -1
  5. package/CopyButton/index.d.ts +2 -2
  6. package/CopyButton/index.js +2 -2
  7. package/Footer/Footer.d.ts +2 -2
  8. package/Footer/Footer.js +6 -5
  9. package/Footer/FooterColumn.d.ts +1 -1
  10. package/Footer/FooterColumn.js +8 -7
  11. package/Footer/FooterColumns.d.ts +3 -3
  12. package/Footer/FooterColumns.js +4 -4
  13. package/Footer/FooterCopyright.d.ts +3 -3
  14. package/Footer/FooterCopyright.js +3 -2
  15. package/Footer/index.d.ts +4 -4
  16. package/Footer/index.js +17 -11
  17. package/Headings/index.d.ts +1 -1
  18. package/Headings/index.js +1 -1
  19. package/JsonViewer/index.d.ts +2 -2
  20. package/JsonViewer/index.js +2 -2
  21. package/Layout/PageLayout.d.ts +1 -1
  22. package/Layout/PageLayout.js +2 -1
  23. package/Layout/RootLayout.d.ts +1 -1
  24. package/Layout/RootLayout.js +2 -1
  25. package/Layout/index.d.ts +2 -2
  26. package/Layout/index.js +15 -7
  27. package/Markdown/{Admonition/Admonition.d.ts → Admonition.d.ts} +0 -0
  28. package/Markdown/{Admonition/Admonition.js → Admonition.js} +5 -5
  29. package/Markdown/CodeSample/index.d.ts +3 -0
  30. package/Markdown/CodeSample/index.js +19 -0
  31. package/Markdown/{Heading/Heading.d.ts → Heading.d.ts} +0 -0
  32. package/Markdown/{Heading/Heading.js → Heading.js} +1 -1
  33. package/Markdown/MarkdownLayout.d.ts +2 -2
  34. package/Markdown/{Mermaid/Mermaid.d.ts → Mermaid.d.ts} +0 -0
  35. package/Markdown/{Mermaid/Mermaid.js → Mermaid.js} +0 -0
  36. package/Markdown/StyledMarkdown.js +2 -2
  37. package/Markdown/Tabs/index.d.ts +2 -0
  38. package/Markdown/Tabs/index.js +18 -0
  39. package/Markdown/index.d.ts +9 -0
  40. package/Markdown/index.js +25 -0
  41. package/Navbar/Navbar.d.ts +1 -2
  42. package/Navbar/Navbar.js +3 -3
  43. package/Navbar/NavbarItem.d.ts +1 -1
  44. package/Navbar/NavbarItem.js +3 -3
  45. package/Navbar/NavbarMenu.d.ts +1 -1
  46. package/Navbar/NavbarMenu.js +5 -4
  47. package/Navbar/index.d.ts +3 -0
  48. package/Navbar/index.js +19 -0
  49. package/NavbarLogo/NavbarLogo.d.ts +6 -0
  50. package/{Logo/Logo.js → NavbarLogo/NavbarLogo.js} +8 -5
  51. package/NavbarLogo/index.d.ts +1 -0
  52. package/NavbarLogo/index.js +17 -0
  53. package/OperationBadge/index.d.ts +1 -1
  54. package/OperationBadge/index.js +1 -1
  55. package/PageNavigation/index.d.ts +3 -0
  56. package/PageNavigation/index.js +19 -0
  57. package/Panel/index.d.ts +8 -8
  58. package/Panel/index.js +8 -8
  59. package/REAMDE.md +1 -0
  60. package/SamplesPanelControls/index.d.ts +1 -1
  61. package/SamplesPanelControls/index.js +1 -1
  62. package/Search/Autocomplete.js +1 -1
  63. package/Search/ClearIcon.js +1 -1
  64. package/Search/Parameters.js +2 -2
  65. package/Search/SearchIcon.js +1 -1
  66. package/Search/SearchItem.js +2 -2
  67. package/Search/index.d.ts +9 -0
  68. package/Search/index.js +25 -0
  69. package/Search/utils.js +1 -1
  70. package/Sidebar/ApiCallItem.d.ts +2 -2
  71. package/Sidebar/ApiCallItem.js +6 -6
  72. package/Sidebar/ArrowBack.d.ts +1 -2
  73. package/Sidebar/ArrowBack.js +2 -1
  74. package/Sidebar/BackButton.d.ts +1 -1
  75. package/Sidebar/BackButton.js +5 -4
  76. package/Sidebar/Drilldown.d.ts +2 -2
  77. package/Sidebar/Drilldown.js +8 -7
  78. package/Sidebar/DrilldownMenu.d.ts +2 -2
  79. package/Sidebar/DrilldownMenu.js +5 -7
  80. package/Sidebar/DrilldownMenuItem.d.ts +2 -2
  81. package/Sidebar/DrilldownMenuItem.js +5 -4
  82. package/Sidebar/ExternalIcon.d.ts +1 -2
  83. package/Sidebar/ExternalIcon.js +2 -1
  84. package/Sidebar/Menu.d.ts +1 -2
  85. package/Sidebar/Menu.js +3 -2
  86. package/Sidebar/MenuContainer.d.ts +1 -2
  87. package/Sidebar/MenuContainer.js +2 -1
  88. package/Sidebar/MenuGroup.d.ts +1 -1
  89. package/Sidebar/MenuGroup.js +6 -6
  90. package/Sidebar/MenuItem.d.ts +2 -2
  91. package/Sidebar/MenuItem.js +7 -6
  92. package/Sidebar/MenuItemLabel.d.ts +1 -2
  93. package/Sidebar/MenuItemLabel.js +4 -3
  94. package/Sidebar/MenuLink.d.ts +1 -2
  95. package/Sidebar/MenuLink.js +3 -2
  96. package/Sidebar/MenuLinkItem.d.ts +2 -2
  97. package/Sidebar/MenuLinkItem.js +4 -3
  98. package/Sidebar/MobileSidebarButton.d.ts +1 -2
  99. package/Sidebar/MobileSidebarButton.js +3 -2
  100. package/Sidebar/Separator.d.ts +2 -2
  101. package/Sidebar/Separator.js +5 -4
  102. package/Sidebar/SeparatorItem.d.ts +1 -2
  103. package/Sidebar/SeparatorItem.js +3 -2
  104. package/Sidebar/SeparatorLine.d.ts +1 -2
  105. package/Sidebar/SeparatorLine.js +2 -1
  106. package/Sidebar/Sidebar.d.ts +2 -2
  107. package/Sidebar/Sidebar.js +3 -2
  108. package/Sidebar/SidebarLayout.d.ts +1 -1
  109. package/Sidebar/SidebarLayout.js +6 -5
  110. package/Sidebar/index.d.ts +19 -0
  111. package/Sidebar/index.js +35 -0
  112. package/Sidebar/types/DrilldownMenuProps.d.ts +2 -2
  113. package/Sidebar/types/ItemState.d.ts +2 -3
  114. package/Sidebar/types/MenuItemProps.d.ts +2 -2
  115. package/Sidebar/types/NavItem.d.ts +1 -1
  116. package/Sidebar/types/index.d.ts +5 -0
  117. package/Sidebar/types/index.js +21 -0
  118. package/SidebarLogo/index.d.ts +1 -1
  119. package/SidebarLogo/index.js +1 -1
  120. package/SourceCode/index.d.ts +1 -1
  121. package/SourceCode/index.js +1 -1
  122. package/TableOfContent/TableOfContent.d.ts +1 -1
  123. package/TableOfContent/TableOfContent.js +9 -9
  124. package/TableOfContent/index.d.ts +1 -0
  125. package/TableOfContent/index.js +17 -0
  126. package/Tooltip/index.d.ts +1 -1
  127. package/Tooltip/index.js +1 -1
  128. package/globalStyle.d.ts +1 -0
  129. package/globalStyle.js +7 -3
  130. package/hooks/index.d.ts +7 -7
  131. package/hooks/index.js +7 -7
  132. package/hooks/useActiveSectionId.d.ts +2 -2
  133. package/hooks/useActiveSectionId.js +1 -0
  134. package/icons/ShelfIcon/index.d.ts +2 -2
  135. package/icons/ShelfIcon/index.js +1 -1
  136. package/icons/index.d.ts +1 -1
  137. package/icons/index.js +1 -1
  138. package/index.d.ts +1 -0
  139. package/index.js +1 -0
  140. package/mocks/Link.js +4 -1
  141. package/mocks/hooks/usePageData.js +4 -1
  142. package/package.json +1 -1
  143. package/src/Button/Button.stories.tsx +1 -1
  144. package/src/Button/index.ts +1 -1
  145. package/src/CodeBlock/index.ts +1 -1
  146. package/src/CopyButton/CopyButton.stories.tsx +1 -1
  147. package/src/CopyButton/index.ts +2 -2
  148. package/src/DesignTokens/borders.stories.mdx +20 -0
  149. package/src/DesignTokens/colors.stories.mdx +24 -0
  150. package/src/DesignTokens/page-layout.stories.mdx +12 -0
  151. package/src/DesignTokens/tokens-generated.scss +610 -0
  152. package/src/DesignTokens/typography.stories.mdx +36 -0
  153. package/src/Footer/Footer.stories.tsx +57 -0
  154. package/src/Footer/Footer.tsx +7 -10
  155. package/src/Footer/FooterColumn.tsx +8 -8
  156. package/src/Footer/FooterColumns.tsx +5 -3
  157. package/src/Footer/FooterCopyright.tsx +6 -4
  158. package/src/Footer/__tests__/Footer.test.tsx +55 -0
  159. package/src/Footer/__tests__/__snapshots__/Footer.test.tsx.snap +253 -0
  160. package/src/Footer/index.ts +4 -0
  161. package/src/Headings/index.ts +1 -1
  162. package/src/JsonViewer/JsonViewer.stories.tsx +1 -1
  163. package/src/JsonViewer/index.ts +2 -2
  164. package/src/Layout/PageLayout.tsx +1 -1
  165. package/src/Layout/RootLayout.tsx +1 -1
  166. package/src/Layout/__tests__/PageLayout.test.tsx +17 -0
  167. package/src/Layout/__tests__/RootLayout.test.tsx +17 -0
  168. package/src/Layout/__tests__/__snapshots__/PageLayout.test.tsx.snap +38 -0
  169. package/src/Layout/__tests__/__snapshots__/RootLayout.test.tsx.snap +18 -0
  170. package/src/Layout/index.ts +2 -0
  171. package/src/Markdown/{Admonition/Admonition.tsx → Admonition.tsx} +15 -15
  172. package/src/Markdown/CodeSample/index.ts +3 -0
  173. package/src/Markdown/{Heading/Heading.tsx → Heading.tsx} +4 -1
  174. package/src/Markdown/MarkdownLayout.tsx +2 -2
  175. package/src/Markdown/{Mermaid/Mermaid.tsx → Mermaid.tsx} +0 -0
  176. package/src/Markdown/StyledMarkdown.tsx +27 -27
  177. package/src/Markdown/Tabs/index.ts +2 -0
  178. package/src/Markdown/index.ts +9 -0
  179. package/src/Navbar/Navbar.stories.tsx +10 -6
  180. package/src/Navbar/Navbar.tsx +3 -4
  181. package/src/Navbar/NavbarItem.tsx +2 -2
  182. package/src/Navbar/NavbarMenu.tsx +3 -3
  183. package/src/Navbar/__tests__/Navbar.test.tsx +55 -0
  184. package/src/Navbar/__tests__/__snapshots__/Navbar.test.tsx.snap +256 -0
  185. package/src/Navbar/index.ts +3 -0
  186. package/src/NavbarLogo/NavbarLogo.stories.tsx +20 -0
  187. package/src/NavbarLogo/NavbarLogo.tsx +24 -0
  188. package/src/NavbarLogo/__tests__/NavbarLogo.test.tsx +47 -0
  189. package/src/NavbarLogo/__tests__/__snapshots__/NavbarLogo.test.tsx.snap +38 -0
  190. package/src/NavbarLogo/index.ts +1 -0
  191. package/src/OperationBadge/OperationBadge.stories.tsx +1 -1
  192. package/src/OperationBadge/index.ts +1 -1
  193. package/src/PageNavigation/PageNavigation.stories.tsx +21 -0
  194. package/src/PageNavigation/__tests__/NextPageLink.test.tsx +29 -0
  195. package/src/PageNavigation/__tests__/PageNavigation.test.tsx +54 -0
  196. package/src/PageNavigation/__tests__/PreviousPageLink.test.tsx +29 -0
  197. package/src/PageNavigation/__tests__/__snapshots__/NextPageLink.test.tsx.snap +67 -0
  198. package/src/PageNavigation/__tests__/__snapshots__/PageNavigation.test.tsx.snap +275 -0
  199. package/src/PageNavigation/__tests__/__snapshots__/PreviousPageLink.test.tsx.snap +67 -0
  200. package/src/PageNavigation/index.ts +3 -0
  201. package/src/Panel/index.ts +8 -8
  202. package/src/SamplesPanelControls/SamplesControlButton.stories.tsx +1 -1
  203. package/src/SamplesPanelControls/index.ts +1 -1
  204. package/src/Search/Autocomplete.tsx +1 -1
  205. package/src/Search/ClearIcon.tsx +11 -12
  206. package/src/Search/Parameters.tsx +2 -2
  207. package/src/Search/SearchIcon.tsx +11 -12
  208. package/src/Search/SearchItem.tsx +2 -2
  209. package/src/Search/__tests__/Input.test.tsx +13 -0
  210. package/src/Search/__tests__/__snapshots__/Input.test.tsx.snap +36 -0
  211. package/src/Search/index.ts +9 -0
  212. package/src/Search/utils.tsx +1 -1
  213. package/src/Sidebar/ApiCallItem.tsx +5 -5
  214. package/src/Sidebar/ArrowBack.tsx +1 -1
  215. package/src/Sidebar/BackButton.tsx +4 -4
  216. package/src/Sidebar/Drilldown.tsx +6 -6
  217. package/src/Sidebar/DrilldownMenu.tsx +4 -4
  218. package/src/Sidebar/DrilldownMenuItem.tsx +6 -6
  219. package/src/Sidebar/ExternalIcon.tsx +1 -1
  220. package/src/Sidebar/Menu.tsx +2 -2
  221. package/src/Sidebar/MenuContainer.tsx +1 -1
  222. package/src/Sidebar/MenuGroup.tsx +5 -5
  223. package/src/Sidebar/MenuItem.tsx +6 -6
  224. package/src/Sidebar/MenuItemLabel.tsx +5 -5
  225. package/src/Sidebar/MenuLink.tsx +2 -2
  226. package/src/Sidebar/MenuLinkItem.tsx +3 -3
  227. package/src/Sidebar/MobileSidebarButton.tsx +3 -3
  228. package/src/Sidebar/Separator.tsx +4 -4
  229. package/src/Sidebar/SeparatorItem.tsx +2 -2
  230. package/src/Sidebar/SeparatorLine.tsx +1 -1
  231. package/src/Sidebar/Sidebar.tsx +2 -2
  232. package/src/Sidebar/SidebarLayout.tsx +4 -4
  233. package/src/Sidebar/index.ts +19 -0
  234. package/src/Sidebar/types/DrilldownMenuProps.ts +2 -2
  235. package/src/Sidebar/types/ItemState.ts +2 -4
  236. package/src/Sidebar/types/MenuItemProps.ts +2 -2
  237. package/src/Sidebar/types/NavItem.ts +1 -1
  238. package/src/Sidebar/types/index.ts +5 -0
  239. package/src/SidebarLogo/SidebarLogo.stories.tsx +1 -1
  240. package/src/SidebarLogo/index.ts +1 -1
  241. package/src/SourceCode/SourceCode.stories.tsx +1 -1
  242. package/src/SourceCode/index.ts +1 -1
  243. package/src/TableOfContent/TableOfContent.stories.tsx +37 -0
  244. package/src/TableOfContent/TableOfContent.tsx +13 -11
  245. package/src/TableOfContent/__tests__/TableOfContent.test.tsx +61 -0
  246. package/src/TableOfContent/__tests__/__snapshots__/TableOfContent.test.tsx.snap +153 -0
  247. package/src/TableOfContent/index.ts +1 -0
  248. package/src/Tooltip/Tooltip.stories.tsx +1 -1
  249. package/src/Tooltip/index.ts +1 -1
  250. package/src/Welcome.stories.mdx +7 -0
  251. package/src/globalStyle.ts +333 -144
  252. package/src/hooks/index.ts +7 -7
  253. package/src/hooks/useActiveSectionId.ts +3 -3
  254. package/src/icons/ShelfIcon/index.ts +2 -2
  255. package/src/icons/index.ts +1 -1
  256. package/src/index.ts +1 -0
  257. package/src/mocks/Link.tsx +5 -2
  258. package/src/mocks/hooks/usePageData.ts +4 -1
  259. package/src/types/portal/index.d.ts +0 -1
  260. package/src/types/portal/src/client/app/Sidebar/types.d.ts +32 -41
  261. package/src/types/portal/src/client/app/media-css.d.ts +4 -4
  262. package/src/types/portal/src/client/styling/default.d.ts +585 -391
  263. package/src/types/portal/src/client/styling/index.d.ts +2 -6
  264. package/src/types/portal/src/server/constants.d.ts +5 -9
  265. package/src/types/portal/src/server/plugins/markdown/types.d.ts +14 -19
  266. package/src/types/portal/src/server/plugins/portal-config/types.d.ts +12 -12
  267. package/src/types/portal/src/server/plugins/types.d.ts +55 -0
  268. package/src/types/portal/src/server/store.d.ts +49 -97
  269. package/src/types/portal/src/server/utils/async.d.ts +1 -5
  270. package/src/types/portal/src/server/utils/content-provider.d.ts +51 -0
  271. package/src/types/portal/src/server/utils/index.d.ts +1 -1
  272. package/src/types/portal/src/server/utils/paths.d.ts +10 -13
  273. package/src/types/portal/src/server/utils/reporter/formatter.d.ts +8 -8
  274. package/src/types/portal/src/server/utils/reporter/reporter.d.ts +15 -15
  275. package/src/types/portal/src/server/version-store.d.ts +35 -0
  276. package/src/types/portal/src/shared/constants.d.ts +6 -6
  277. package/src/types/portal/src/shared/types.d.ts +97 -58
  278. package/src/types/portal/src/shared/urls.d.ts +2 -1
  279. package/src/ui/AlertIcon.tsx +8 -7
  280. package/src/ui/{Arrow/Arrow.tsx → Arrow.tsx} +0 -0
  281. package/src/ui/Background.tsx +3 -3
  282. package/src/ui/Dropdown.tsx +5 -5
  283. package/src/ui/Jumbotron.tsx +3 -3
  284. package/src/ui/Tiles/TileHeader.ts +1 -1
  285. package/src/ui/Tiles/TileText.tsx +2 -2
  286. package/src/ui/Tiles/index.ts +4 -0
  287. package/src/ui/Typography.tsx +22 -22
  288. package/src/ui/UniversalLink.tsx +2 -2
  289. package/src/ui/index.tsx +8 -3
  290. package/src/utils/isUrl.ts +1 -1
  291. package/src/utils/replaceHashInColor.ts +1 -1
  292. package/ui/AlertIcon.d.ts +3 -2
  293. package/ui/AlertIcon.js +2 -2
  294. package/ui/{Arrow/Arrow.d.ts → Arrow.d.ts} +0 -0
  295. package/ui/{Arrow/Arrow.js → Arrow.js} +0 -0
  296. package/ui/Background.js +1 -1
  297. package/ui/Dropdown.d.ts +1 -1
  298. package/ui/Dropdown.js +5 -4
  299. package/ui/Jumbotron.js +3 -3
  300. package/ui/Tiles/TileHeader.js +1 -1
  301. package/ui/Tiles/TileText.js +1 -1
  302. package/ui/Tiles/index.d.ts +4 -0
  303. package/ui/Tiles/index.js +20 -0
  304. package/ui/Typography.js +20 -20
  305. package/ui/UniversalLink.js +4 -4
  306. package/ui/index.d.ts +7 -3
  307. package/ui/index.js +7 -3
  308. package/utils/isUrl.d.ts +1 -1
  309. package/utils/isUrl.js +2 -1
  310. package/utils/replaceHashInColor.d.ts +1 -1
  311. package/utils/replaceHashInColor.js +2 -1
  312. package/Logo/Logo.d.ts +0 -5
  313. package/src/Footer/index.tsx +0 -4
  314. package/src/Introduction.stories.mdx +0 -7
  315. package/src/Layout/index.tsx +0 -2
  316. package/src/Logo/Logo.tsx +0 -17
  317. package/src/types/portal/src/server/plugins/nav-utils.d.ts +0 -19
  318. package/src/types/portal/src/server/plugins/sidebars/index.d.ts +0 -16
  319. package/src/types/portal/src/server/plugins/versions/index.d.ts +0 -15
  320. package/src/types/portal/src/server/plugins/versions/types.d.ts +0 -23
  321. package/src/types/portal/src/server/plugins/versions/utils.d.ts +0 -10
  322. package/src/types/portal/src/server/utils/watcher.d.ts +0 -16
@@ -1,407 +1,601 @@
1
1
  export declare const defaultTheme: {
2
- spacing: {
3
- unit: number;
4
- sectionHorizontal: ({ spacing }: { spacing: any }) => number;
5
- sectionVertical: ({ spacing }: { spacing: any }) => number;
6
- };
7
- components: {
8
- buttons: {
9
- borderRadius: ({ shape }: { shape: any }) => any;
10
- hoverStyle: string;
11
- fontWeight: ({ typography }: { typography: any }) => any;
12
- boxShadow: string;
13
- hoverBoxShadow: string;
14
- fontFamily: string;
15
- sizes: {
16
- small: {
17
- fontSize: string;
18
- padding: string;
19
- minWidth: string;
20
- };
21
- medium: {
22
- fontSize: string;
23
- padding: string;
24
- minWidth: string;
25
- };
26
- large: {
27
- fontSize: string;
28
- padding: string;
29
- minWidth: string;
30
- };
31
- xlarge: {
32
- fontSize: string;
33
- padding: string;
34
- minWidth: string;
35
- };
36
- };
37
- };
38
- search: {
39
- icon: string;
40
- iconColor: ({ colors }: { colors: any }) => any;
41
- };
42
- alert: {
43
- marginHorizontal: string;
44
- marginVertical: ({ spacing }: { spacing: any }) => string;
45
- paddingHorizontal: ({ spacing }: { spacing: any }) => string;
46
- paddingVertical: ({ spacing }: { spacing: any }) => string;
47
- borderRadius: string;
48
- iconSize: string;
49
- fontSize: string;
50
- fontWeight: string;
51
- lineHeight: string;
52
- heading: {
53
- fontSize: string;
54
- fontWeight: string;
55
- lineHeight: string;
56
- letterSpacing: string;
57
- transform: string;
58
- };
59
- variants: {
60
- info: {
61
- backgroundColor: string;
62
- textColor: ({ colors }: { colors: any }) => any;
63
- headingColor: ({ colors }: { colors: any }) => any;
64
- iconColor: ({ colors }: { colors: any }) => any;
65
- icon: string;
66
- };
67
- attention: {
68
- backgroundColor: ({ colors }: { colors: any }) => any;
69
- textColor: ({ colors }: { colors: any }) => any;
70
- headingColor: ({ colors }: { colors: any }) => any;
71
- iconColor: ({ colors }: { colors: any }) => any;
72
- icon: string;
2
+ spacing: {
3
+ unit: number;
4
+ sectionHorizontal: ({ spacing }: {
5
+ spacing: any;
6
+ }) => number;
7
+ sectionVertical: ({ spacing }: {
8
+ spacing: any;
9
+ }) => number;
10
+ };
11
+ components: {
12
+ buttons: {
13
+ borderRadius: ({ shape }: {
14
+ shape: any;
15
+ }) => any;
16
+ hoverStyle: string;
17
+ fontWeight: ({ typography }: {
18
+ typography: any;
19
+ }) => any;
20
+ boxShadow: string;
21
+ hoverBoxShadow: string;
22
+ fontFamily: string;
23
+ sizes: {
24
+ small: {
25
+ fontSize: string;
26
+ padding: string;
27
+ minWidth: string;
28
+ };
29
+ medium: {
30
+ fontSize: string;
31
+ padding: string;
32
+ minWidth: string;
33
+ };
34
+ large: {
35
+ fontSize: string;
36
+ padding: string;
37
+ minWidth: string;
38
+ };
39
+ xlarge: {
40
+ fontSize: string;
41
+ padding: string;
42
+ minWidth: string;
43
+ };
44
+ };
73
45
  };
74
- warning: {
75
- backgroundColor: ({ colors }: { colors: any }) => any;
76
- textColor: ({ colors }: { colors: any }) => any;
77
- headingColor: ({ colors }: { colors: any }) => any;
78
- iconColor: ({ colors }: { colors: any }) => any;
79
- icon: string;
80
- };
81
- danger: {
82
- backgroundColor: ({ colors }: { colors: any }) => any;
83
- textColor: ({ colors }: { colors: any }) => any;
84
- headingColor: ({ colors }: { colors: any }) => any;
85
- iconColor: ({ colors }: { colors: any }) => any;
86
- icon: string;
46
+ search: {
47
+ icon: string;
48
+ iconColor: ({ colors }: {
49
+ colors: any;
50
+ }) => any;
87
51
  };
88
- success: {
89
- backgroundColor: ({ colors }: { colors: any }) => any;
90
- textColor: ({ colors }: { colors: any }) => any;
91
- headingColor: ({ colors }: { colors: any }) => any;
92
- iconColor: ({ colors }: { colors: any }) => any;
93
- icon: string;
52
+ alert: {
53
+ marginHorizontal: string;
54
+ marginVertical: ({ spacing }: {
55
+ spacing: any;
56
+ }) => string;
57
+ paddingHorizontal: ({ spacing }: {
58
+ spacing: any;
59
+ }) => string;
60
+ paddingVertical: ({ spacing }: {
61
+ spacing: any;
62
+ }) => string;
63
+ borderRadius: string;
64
+ iconSize: string;
65
+ fontSize: string;
66
+ fontWeight: string;
67
+ lineHeight: string;
68
+ heading: {
69
+ fontSize: string;
70
+ fontWeight: string;
71
+ lineHeight: string;
72
+ letterSpacing: string;
73
+ transform: string;
74
+ };
75
+ variants: {
76
+ info: {
77
+ backgroundColor: string;
78
+ textColor: ({ colors }: {
79
+ colors: any;
80
+ }) => any;
81
+ headingColor: ({ colors }: {
82
+ colors: any;
83
+ }) => any;
84
+ iconColor: ({ colors }: {
85
+ colors: any;
86
+ }) => any;
87
+ icon: string;
88
+ };
89
+ attention: {
90
+ backgroundColor: ({ colors }: {
91
+ colors: any;
92
+ }) => any;
93
+ textColor: ({ colors }: {
94
+ colors: any;
95
+ }) => any;
96
+ headingColor: ({ colors }: {
97
+ colors: any;
98
+ }) => any;
99
+ iconColor: ({ colors }: {
100
+ colors: any;
101
+ }) => any;
102
+ icon: string;
103
+ };
104
+ warning: {
105
+ backgroundColor: ({ colors }: {
106
+ colors: any;
107
+ }) => any;
108
+ textColor: ({ colors }: {
109
+ colors: any;
110
+ }) => any;
111
+ headingColor: ({ colors }: {
112
+ colors: any;
113
+ }) => any;
114
+ iconColor: ({ colors }: {
115
+ colors: any;
116
+ }) => any;
117
+ icon: string;
118
+ };
119
+ danger: {
120
+ backgroundColor: ({ colors }: {
121
+ colors: any;
122
+ }) => any;
123
+ textColor: ({ colors }: {
124
+ colors: any;
125
+ }) => any;
126
+ headingColor: ({ colors }: {
127
+ colors: any;
128
+ }) => any;
129
+ iconColor: ({ colors }: {
130
+ colors: any;
131
+ }) => any;
132
+ icon: string;
133
+ };
134
+ success: {
135
+ backgroundColor: ({ colors }: {
136
+ colors: any;
137
+ }) => any;
138
+ textColor: ({ colors }: {
139
+ colors: any;
140
+ }) => any;
141
+ headingColor: ({ colors }: {
142
+ colors: any;
143
+ }) => any;
144
+ iconColor: ({ colors }: {
145
+ colors: any;
146
+ }) => any;
147
+ icon: string;
148
+ };
149
+ };
150
+ };
151
+ panels: {
152
+ borderRadius: string;
153
+ };
154
+ shape: {
155
+ borderRadius: string;
156
+ };
157
+ blockquote: {
158
+ marginHorizontal: string;
159
+ marginVertical: string;
160
+ paddingHorizontal: ({ spacing }: {
161
+ spacing: any;
162
+ }) => string;
163
+ paddingVertical: string;
164
+ backgroundColor: string;
165
+ borderRadius: string;
166
+ borderLeft: ({ colors }: {
167
+ colors: any;
168
+ }) => string;
169
+ color: ({ colors }: {
170
+ colors: any;
171
+ }) => any;
172
+ };
173
+ contentWrapper: {
174
+ maxWidth: string;
175
+ paddingHorizontal: string;
176
+ paddingVertical: string;
177
+ };
178
+ login: {
179
+ avatarBorderRadius: ({ navbar }: {
180
+ navbar: any;
181
+ }) => any;
182
+ avatarBgColor: string;
183
+ };
184
+ layoutControls: {
185
+ top: string;
186
+ };
187
+ httpBadges: {
188
+ borderRadius: string;
189
+ fontFamily: ({ typography }: {
190
+ typography: any;
191
+ }) => any;
192
+ fontWeight: ({ typography }: {
193
+ typography: any;
194
+ }) => any;
195
+ color: ({ colors }: {
196
+ colors: any;
197
+ }) => any;
198
+ sizes: {
199
+ medium: {
200
+ fontSize: string;
201
+ lineHeight: string;
202
+ };
203
+ small: {
204
+ fontSize: string;
205
+ lineHeight: string;
206
+ };
207
+ };
208
+ };
209
+ tryItButton: {
210
+ fullWidth: boolean;
211
+ };
212
+ tryItSendButton: {
213
+ fullWidth: boolean;
94
214
  };
95
- };
96
215
  };
97
- panels: {
98
- borderRadius: string;
216
+ breakpoints: {
217
+ small: string;
218
+ medium: string;
219
+ large: string;
99
220
  };
100
221
  shape: {
101
- borderRadius: string;
102
- };
103
- blockquote: {
104
- marginHorizontal: string;
105
- marginVertical: string;
106
- paddingHorizontal: ({ spacing }: { spacing: any }) => string;
107
- paddingVertical: string;
108
- backgroundColor: string;
109
- borderRadius: string;
110
- borderLeft: ({ colors }: { colors: any }) => string;
111
- color: ({ colors }: { colors: any }) => any;
112
- };
113
- contentWrapper: {
114
- maxWidth: string;
115
- paddingHorizontal: string;
116
- paddingVertical: string;
117
- };
118
- login: {
119
- avatarBorderRadius: ({ navbar }: { navbar: any }) => any;
120
- avatarBgColor: string;
121
- };
122
- layoutControls: {
123
- top: string;
124
- };
125
- httpBadges: {
126
- borderRadius: string;
127
- fontFamily: ({ typography }: { typography: any }) => any;
128
- fontWeight: ({ typography }: { typography: any }) => any;
129
- color: ({ colors }: { colors: any }) => any;
130
- sizes: {
131
- medium: {
132
- fontSize: string;
133
- lineHeight: string;
134
- };
135
- small: {
136
- fontSize: string;
137
- lineHeight: string;
138
- };
139
- };
140
- };
141
- tryItButton: {
142
- fullWidth: boolean;
143
- };
144
- tryItSendButton: {
145
- fullWidth: boolean;
146
- };
147
- };
148
- breakpoints: {
149
- small: string;
150
- medium: string;
151
- large: string;
152
- };
153
- shape: {
154
- borderRadius: string;
155
- };
156
- colors: {
157
- background: string;
158
- tonalOffset: number;
159
- primary: {
160
- main: string;
161
- light: ({ colors }: { colors: any }) => string;
162
- dark: ({ colors }: { colors: any }) => string;
163
- contrastText: ({ colors }: { colors: any }) => string;
164
- };
165
- secondary: {
166
- main: string;
167
- light: string;
168
- dark: string;
169
- contrastText: string;
170
- };
171
- accent: {
172
- main: string;
173
- light: string;
174
- dark: string;
175
- contrastText: string;
176
- };
177
- success: {
178
- main: string;
179
- light: ({ colors }: { colors: any }) => string;
180
- dark: ({ colors }: { colors: any }) => string;
181
- contrastText: ({ colors }: { colors: any }) => string;
182
- };
183
- error: {
184
- main: string;
185
- light: ({ colors }: { colors: any }) => string;
186
- dark: ({ colors }: { colors: any }) => string;
187
- contrastText: ({ colors }: { colors: any }) => string;
188
- };
189
- warning: {
190
- main: string;
191
- light: ({ colors }: { colors: any }) => string;
192
- dark: ({ colors }: { colors: any }) => string;
193
- contrastText: ({ colors }: { colors: any }) => string;
194
- };
195
- info: {
196
- main: string;
197
- light: ({ colors }: { colors: any }) => string;
198
- dark: ({ colors }: { colors: any }) => string;
199
- contrastText: ({ colors }: { colors: any }) => string;
200
- };
201
- text: {
202
- primary: string;
203
- secondary: string;
204
- light: string;
205
- };
206
- border: {
207
- dark: string;
208
- light: string;
209
- };
210
- responses: {
211
- success: {
212
- color: ({ colors }: { colors: any }) => any;
213
- backgroundColor: ({ colors }: { colors: any }) => string;
214
- };
215
- error: {
216
- color: ({ colors }: { colors: any }) => any;
217
- backgroundColor: ({ colors }: { colors: any }) => string;
218
- };
219
- redirect: {
220
- color: ({ colors }: { colors: any }) => any;
221
- backgroundColor: ({ colors }: { colors: any }) => string;
222
- };
223
- info: {
224
- color: ({ colors }: { colors: any }) => any;
225
- backgroundColor: ({ colors }: { colors: any }) => string;
226
- };
222
+ borderRadius: string;
223
+ };
224
+ colors: {
225
+ background: string;
226
+ tonalOffset: number;
227
+ primary: {
228
+ main: string;
229
+ light: ({ colors }: {
230
+ colors: any;
231
+ }) => string;
232
+ dark: ({ colors }: {
233
+ colors: any;
234
+ }) => string;
235
+ contrastText: ({ colors }: {
236
+ colors: any;
237
+ }) => string;
238
+ };
239
+ secondary: {
240
+ main: string;
241
+ light: string;
242
+ dark: string;
243
+ contrastText: string;
244
+ };
245
+ accent: {
246
+ main: string;
247
+ light: string;
248
+ dark: string;
249
+ contrastText: string;
250
+ };
251
+ success: {
252
+ main: string;
253
+ light: ({ colors }: {
254
+ colors: any;
255
+ }) => string;
256
+ dark: ({ colors }: {
257
+ colors: any;
258
+ }) => string;
259
+ contrastText: ({ colors }: {
260
+ colors: any;
261
+ }) => string;
262
+ };
263
+ error: {
264
+ main: string;
265
+ light: ({ colors }: {
266
+ colors: any;
267
+ }) => string;
268
+ dark: ({ colors }: {
269
+ colors: any;
270
+ }) => string;
271
+ contrastText: ({ colors }: {
272
+ colors: any;
273
+ }) => string;
274
+ };
275
+ warning: {
276
+ main: string;
277
+ light: ({ colors }: {
278
+ colors: any;
279
+ }) => string;
280
+ dark: ({ colors }: {
281
+ colors: any;
282
+ }) => string;
283
+ contrastText: ({ colors }: {
284
+ colors: any;
285
+ }) => string;
286
+ };
287
+ info: {
288
+ main: string;
289
+ light: ({ colors }: {
290
+ colors: any;
291
+ }) => string;
292
+ dark: ({ colors }: {
293
+ colors: any;
294
+ }) => string;
295
+ contrastText: ({ colors }: {
296
+ colors: any;
297
+ }) => string;
298
+ };
299
+ text: {
300
+ primary: string;
301
+ secondary: string;
302
+ light: string;
303
+ };
304
+ border: {
305
+ dark: string;
306
+ light: string;
307
+ };
308
+ responses: {
309
+ success: {
310
+ color: ({ colors }: {
311
+ colors: any;
312
+ }) => any;
313
+ backgroundColor: ({ colors }: {
314
+ colors: any;
315
+ }) => string;
316
+ };
317
+ error: {
318
+ color: ({ colors }: {
319
+ colors: any;
320
+ }) => any;
321
+ backgroundColor: ({ colors }: {
322
+ colors: any;
323
+ }) => string;
324
+ };
325
+ redirect: {
326
+ color: ({ colors }: {
327
+ colors: any;
328
+ }) => any;
329
+ backgroundColor: ({ colors }: {
330
+ colors: any;
331
+ }) => string;
332
+ };
333
+ info: {
334
+ color: ({ colors }: {
335
+ colors: any;
336
+ }) => any;
337
+ backgroundColor: ({ colors }: {
338
+ colors: any;
339
+ }) => string;
340
+ };
341
+ };
342
+ http: {
343
+ get: string;
344
+ post: string;
345
+ put: string;
346
+ options: string;
347
+ patch: string;
348
+ delete: string;
349
+ basic: string;
350
+ link: string;
351
+ head: string;
352
+ };
353
+ navbar: {
354
+ main: ({ colors }: {
355
+ colors: any;
356
+ }) => any;
357
+ gradient: ({ colors }: {
358
+ colors: any;
359
+ }) => string;
360
+ contrastText: ({ colors }: {
361
+ colors: any;
362
+ }) => string;
363
+ };
364
+ footer: {
365
+ main: ({ colors }: {
366
+ colors: any;
367
+ }) => any;
368
+ contrastText: ({ colors }: {
369
+ colors: any;
370
+ }) => any;
371
+ };
227
372
  };
228
- http: {
229
- get: string;
230
- post: string;
231
- put: string;
232
- options: string;
233
- patch: string;
234
- delete: string;
235
- basic: string;
236
- link: string;
237
- head: string;
373
+ sidebar: {
374
+ showAtBreakpoint: string;
375
+ backgroundColor: string;
376
+ width: string;
377
+ textColor: string;
378
+ textColorSecondary: string;
379
+ activeTextColor: ({ sidebar }: {
380
+ sidebar: any;
381
+ }) => any;
382
+ activeBgColor: string;
383
+ separatorLineColor: string;
384
+ rightLineColor: string;
385
+ separatorLabelColor: ({ sidebar }: {
386
+ sidebar: any;
387
+ }) => any;
388
+ caretColor: ({ sidebar }: {
389
+ sidebar: any;
390
+ }) => any;
391
+ caretSize: ({ sidebar }: {
392
+ sidebar: any;
393
+ }) => any;
394
+ spacing: {
395
+ unit: number;
396
+ paddingHorizontal: ({ sidebar }: {
397
+ sidebar: any;
398
+ }) => any;
399
+ paddingVertical: ({ sidebar }: {
400
+ sidebar: any;
401
+ }) => any;
402
+ offsetTop: ({ sidebar }: {
403
+ sidebar: any;
404
+ }) => number;
405
+ offsetLeft: ({ sidebar }: {
406
+ sidebar: any;
407
+ }) => number;
408
+ offsetNesting: ({ sidebar }: {
409
+ sidebar: any;
410
+ }) => number;
411
+ };
412
+ borderRadius: string;
413
+ fontFamily: ({ typography }: {
414
+ typography: any;
415
+ }) => any;
416
+ fontSize: ({ typography }: {
417
+ typography: any;
418
+ }) => any;
238
419
  };
239
420
  navbar: {
240
- main: ({ colors }: { colors: any }) => any;
241
- gradient: ({ colors }: { colors: any }) => string;
242
- contrastText: ({ colors }: { colors: any }) => string;
243
- };
244
- footer: {
245
- main: ({ colors }: { colors: any }) => any;
246
- contrastText: ({ colors }: { colors: any }) => any;
247
- };
248
- };
249
- sidebar: {
250
- showAtBreakpoint: string;
251
- backgroundColor: string;
252
- width: string;
253
- textColor: string;
254
- textColorSecondary: string;
255
- activeTextColor: ({ sidebar }: { sidebar: any }) => any;
256
- activeBgColor: string;
257
- separatorLineColor: string;
258
- rightLineColor: string;
259
- separatorLabelColor: ({ sidebar }: { sidebar: any }) => any;
260
- caretColor: ({ sidebar }: { sidebar: any }) => any;
261
- caretSize: ({ sidebar }: { sidebar: any }) => any;
262
- spacing: {
263
- unit: number;
264
- paddingHorizontal: ({ sidebar }: { sidebar: any }) => any;
265
- paddingVertical: ({ sidebar }: { sidebar: any }) => any;
266
- offsetTop: ({ sidebar }: { sidebar: any }) => number;
267
- offsetLeft: ({ sidebar }: { sidebar: any }) => number;
268
- offsetNesting: ({ sidebar }: { sidebar: any }) => number;
269
- };
270
- borderRadius: string;
271
- fontFamily: ({ typography }: { typography: any }) => any;
272
- fontSize: ({ typography }: { typography: any }) => any;
273
- };
274
- navbar: {
275
- height: string;
276
- borderRadius: string;
277
- marginHorizontal: string;
278
- marginVertical: string;
279
- activeTextColor: ({ colors }: { colors: any }) => any;
280
- activeBgColor: ({ colors }: { colors: any }) => string;
281
- activeTextDecoration: string;
282
- fontWeight: number;
283
- fontSize: string;
284
- };
285
- tocPanel: {
286
- width: string;
287
- };
288
- logo: {
289
- maxWidth: string;
290
- maxHeight: string;
291
- height: string;
292
- margin: ({ sidebar }: { sidebar: any }) => string;
293
- };
294
- typography: {
295
- fontSize: string;
296
- lineHeight: string;
297
- fontWeightRegular: string;
298
- fontWeightBold: string;
299
- fontWeightLight: string;
300
- fontFamily: string;
301
- headings: {
302
- fontFamily: string;
303
- fontWeight: string;
304
- };
305
- fieldName: {
306
- fontSize: ({ typography }: { typography: any }) => any;
307
- fontFamily: ({ typography }: { typography: any }) => any;
308
- fontWeight: ({ typography }: { typography: any }) => any;
309
- };
310
- heading1: {
311
- fontSize: string;
312
- fontWeight: string;
313
- fontFamily: ({ typography }: { typography: any }) => any;
314
- lineHeight: ({ typography }: { typography: any }) => any;
315
- color: ({ colors }: { colors: any }) => any;
316
- capitalize: boolean;
317
- marginTop: string;
318
- marginBottom: string;
319
- };
320
- heading2: {
321
- fontSize: string;
322
- fontWeight: string;
323
- color: ({ colors }: { colors: any }) => any;
324
- fontFamily: ({ typography }: { typography: any }) => any;
325
- lineHeight: ({ typography }: { typography: any }) => any;
326
- capitalize: boolean;
327
- marginTop: string;
328
- marginBottom: string;
329
- };
330
- heading3: {
331
- fontSize: string;
332
- fontWeight: string;
333
- color: ({ colors }: { colors: any }) => any;
334
- fontFamily: ({ typography }: { typography: any }) => any;
335
- lineHeight: ({ typography }: { typography: any }) => any;
336
- capitalize: boolean;
337
- marginTop: string;
338
- marginBottom: string;
339
- };
340
- heading4: {};
341
- heading5: {};
342
- heading6: {};
343
- rightPanelHeading: {};
344
- code: {
345
- fontSize: string;
346
- fontFamily: string;
347
- fontWeight: ({ typography }: { typography: any }) => any;
348
- color: string;
349
- backgroundColor: string;
350
- wrap: boolean;
421
+ height: string;
422
+ borderRadius: string;
423
+ marginHorizontal: string;
424
+ marginVertical: string;
425
+ activeTextColor: ({ colors }: {
426
+ colors: any;
427
+ }) => any;
428
+ activeBgColor: ({ colors }: {
429
+ colors: any;
430
+ }) => string;
431
+ activeTextDecoration: string;
432
+ fontWeight: number;
433
+ fontSize: string;
351
434
  };
352
- links: {
353
- color: ({ colors }: { colors: any }) => any;
354
- visited: ({ typography }: { typography: any }) => any;
355
- hover: ({ typography }: { typography: any }) => string;
356
- textDecoration: string;
435
+ tocPanel: {
436
+ width: string;
357
437
  };
358
- };
359
- rightPanel: {
360
- showAtBreakpoint: string;
361
- backgroundColor: string;
362
- width: string;
363
- textColor: string;
364
- panelBackgroundColor: string;
365
- panelControlsBackgroundColor: string;
366
- };
367
- schema: {
368
- linesColor: (theme: any) => any;
369
- defaultDetailsWidth: string;
370
- typeNameColor: (theme: any) => any;
371
- typeTitleColor: (theme: any) => any;
372
- requireLabelColor: string;
373
- labelsTextSize: string;
374
- nestingSpacing: string;
375
- nestedBackground: (theme: any) => any;
376
- caretColor: ({ colors }: { colors: any }) => any;
377
- caretSize: string;
378
- };
379
- codeBlock: {
380
- backgroundColor: ({ rightPanel }: { rightPanel: any }) => any;
381
- copyButton: {
382
- visibleText: ({ codeBlock }: { codeBlock: any }) => string;
383
- contrastText: ({ codeBlock }: { codeBlock: any }) => string;
384
- background: ({ codeBlock }: { codeBlock: any }) => string;
438
+ logo: {
439
+ maxWidth: string;
440
+ maxHeight: string;
441
+ height: string;
442
+ margin: ({ sidebar }: {
443
+ sidebar: any;
444
+ }) => string;
385
445
  };
386
- tokens: {};
387
- };
388
- layout: {
389
- showDarkRightPanel: boolean;
390
- stacked: {
391
- maxWidth: {
392
- _: string;
393
- small: string;
394
- medium: string;
395
- large: string;
396
- };
446
+ typography: {
447
+ fontSize: string;
448
+ lineHeight: string;
449
+ fontWeightRegular: string;
450
+ fontWeightBold: string;
451
+ fontWeightLight: string;
452
+ fontFamily: string;
453
+ headings: {
454
+ fontFamily: string;
455
+ fontWeight: string;
456
+ };
457
+ fieldName: {
458
+ fontSize: ({ typography }: {
459
+ typography: any;
460
+ }) => any;
461
+ fontFamily: ({ typography }: {
462
+ typography: any;
463
+ }) => any;
464
+ fontWeight: ({ typography }: {
465
+ typography: any;
466
+ }) => any;
467
+ };
468
+ heading1: {
469
+ fontSize: string;
470
+ fontWeight: string;
471
+ fontFamily: ({ typography }: {
472
+ typography: any;
473
+ }) => any;
474
+ lineHeight: ({ typography }: {
475
+ typography: any;
476
+ }) => any;
477
+ color: ({ colors }: {
478
+ colors: any;
479
+ }) => any;
480
+ capitalize: boolean;
481
+ marginTop: string;
482
+ marginBottom: string;
483
+ };
484
+ heading2: {
485
+ fontSize: string;
486
+ fontWeight: string;
487
+ color: ({ colors }: {
488
+ colors: any;
489
+ }) => any;
490
+ fontFamily: ({ typography }: {
491
+ typography: any;
492
+ }) => any;
493
+ lineHeight: ({ typography }: {
494
+ typography: any;
495
+ }) => any;
496
+ capitalize: boolean;
497
+ marginTop: string;
498
+ marginBottom: string;
499
+ };
500
+ heading3: {
501
+ fontSize: string;
502
+ fontWeight: string;
503
+ color: ({ colors }: {
504
+ colors: any;
505
+ }) => any;
506
+ fontFamily: ({ typography }: {
507
+ typography: any;
508
+ }) => any;
509
+ lineHeight: ({ typography }: {
510
+ typography: any;
511
+ }) => any;
512
+ capitalize: boolean;
513
+ marginTop: string;
514
+ marginBottom: string;
515
+ };
516
+ heading4: {};
517
+ heading5: {};
518
+ heading6: {};
519
+ rightPanelHeading: {};
520
+ code: {
521
+ fontSize: string;
522
+ fontFamily: string;
523
+ fontWeight: ({ typography }: {
524
+ typography: any;
525
+ }) => any;
526
+ color: string;
527
+ backgroundColor: string;
528
+ wrap: boolean;
529
+ };
530
+ links: {
531
+ color: ({ colors }: {
532
+ colors: any;
533
+ }) => any;
534
+ visited: ({ typography }: {
535
+ typography: any;
536
+ }) => any;
537
+ hover: ({ typography }: {
538
+ typography: any;
539
+ }) => string;
540
+ textDecoration: string;
541
+ };
397
542
  };
398
- 'three-panel': {
399
- maxWidth: {
400
- _: string;
401
- small: string;
402
- medium: string;
403
- large: string;
404
- };
543
+ rightPanel: {
544
+ showAtBreakpoint: string;
545
+ backgroundColor: string;
546
+ width: string;
547
+ textColor: string;
548
+ panelBackgroundColor: string;
549
+ panelControlsBackgroundColor: string;
550
+ };
551
+ schema: {
552
+ linesColor: (theme: any) => any;
553
+ defaultDetailsWidth: string;
554
+ typeNameColor: (theme: any) => any;
555
+ typeTitleColor: (theme: any) => any;
556
+ requireLabelColor: string;
557
+ labelsTextSize: string;
558
+ nestingSpacing: string;
559
+ nestedBackground: (theme: any) => any;
560
+ caretColor: ({ colors }: {
561
+ colors: any;
562
+ }) => any;
563
+ caretSize: string;
564
+ };
565
+ codeBlock: {
566
+ backgroundColor: ({ rightPanel }: {
567
+ rightPanel: any;
568
+ }) => any;
569
+ copyButton: {
570
+ visibleText: ({ codeBlock }: {
571
+ codeBlock: any;
572
+ }) => string;
573
+ contrastText: ({ codeBlock }: {
574
+ codeBlock: any;
575
+ }) => string;
576
+ background: ({ codeBlock }: {
577
+ codeBlock: any;
578
+ }) => string;
579
+ };
580
+ tokens: {};
581
+ };
582
+ layout: {
583
+ showDarkRightPanel: boolean;
584
+ stacked: {
585
+ maxWidth: {
586
+ _: string;
587
+ small: string;
588
+ medium: string;
589
+ large: string;
590
+ };
591
+ };
592
+ 'three-panel': {
593
+ maxWidth: {
594
+ _: string;
595
+ small: string;
596
+ medium: string;
597
+ large: string;
598
+ };
599
+ };
405
600
  };
406
- };
407
601
  };