@redocly/theme 0.10.0 → 0.11.0

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 (900) hide show
  1. package/lib/components/ApiOnboarding/AppCustomAttributes.js +10 -0
  2. package/lib/components/Button/Button.js +156 -0
  3. package/lib/components/Button/index.d.ts +1 -0
  4. package/lib/components/Button/index.js +18 -0
  5. package/lib/components/Cards/Card.d.ts +8 -0
  6. package/lib/components/Cards/Card.js +36 -0
  7. package/lib/components/Cards/index.d.ts +2 -0
  8. package/lib/components/Cards/index.js +19 -0
  9. package/lib/components/Catalog/Catalog.d.ts +8 -0
  10. package/lib/components/Catalog/Catalog.js +167 -0
  11. package/lib/components/Catalog/CatalogCard.d.ts +5 -0
  12. package/lib/components/Catalog/CatalogCard.js +113 -0
  13. package/lib/components/Catalog/useCatalog.d.ts +3 -0
  14. package/lib/components/Catalog/useCatalog.js +241 -0
  15. package/lib/components/CodeBlock/CodeBlock.js +103 -0
  16. package/lib/components/CodeBlock/index.d.ts +1 -0
  17. package/lib/components/CodeBlock/index.js +18 -0
  18. package/lib/components/CodeSample/CodeSample.js +217 -0
  19. package/lib/components/CodeSample/index.d.ts +1 -0
  20. package/lib/components/CodeSample/index.js +18 -0
  21. package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +81 -0
  22. package/lib/components/ColorModeSwitcher/index.d.ts +1 -0
  23. package/lib/components/ColorModeSwitcher/index.js +18 -0
  24. package/lib/components/CopyButton/CopyButton.js +54 -0
  25. package/lib/components/CopyButton/CopyButtonWrapper.d.ts +11 -0
  26. package/lib/components/CopyButton/CopyButtonWrapper.js +53 -0
  27. package/lib/components/CopyButton/index.d.ts +2 -0
  28. package/lib/components/CopyButton/index.js +19 -0
  29. package/lib/components/EditPageButton/EditPageButton.js +36 -0
  30. package/lib/components/EditPageButton/index.d.ts +1 -0
  31. package/lib/components/EditPageButton/index.js +18 -0
  32. package/lib/components/Feedback/Comment.d.ts +3 -0
  33. package/lib/components/Feedback/Comment.js +93 -0
  34. package/lib/components/Feedback/Feedback.d.ts +5 -0
  35. package/lib/components/Feedback/Feedback.js +54 -0
  36. package/lib/components/Feedback/Rating.d.ts +3 -0
  37. package/lib/components/Feedback/Rating.js +82 -0
  38. package/lib/components/Feedback/Reasons.d.ts +3 -0
  39. package/lib/components/Feedback/Reasons.js +85 -0
  40. package/lib/components/Feedback/ReportDialog.d.ts +3 -0
  41. package/lib/components/Feedback/ReportDialog.js +64 -0
  42. package/lib/components/Feedback/Sentiment.d.ts +3 -0
  43. package/lib/components/Feedback/Sentiment.js +79 -0
  44. package/lib/components/Feedback/index.d.ts +8 -0
  45. package/lib/components/Feedback/index.js +33 -0
  46. package/lib/components/Feedback/types.d.ts +76 -0
  47. package/lib/components/Filter/Filter.d.ts +5 -0
  48. package/lib/components/Filter/Filter.js +86 -0
  49. package/lib/components/Filter/index.d.ts +1 -0
  50. package/lib/components/Filter/index.js +18 -0
  51. package/lib/components/Footer/CustomFooter.d.ts +7 -0
  52. package/lib/components/Footer/CustomFooter.js +35 -0
  53. package/lib/components/Footer/CustomFooterNavItem.d.ts +7 -0
  54. package/lib/components/Footer/CustomFooterNavItem.js +33 -0
  55. package/lib/components/Footer/Footer.d.ts +9 -0
  56. package/lib/components/Footer/Footer.js +40 -0
  57. package/lib/components/Footer/FooterColumn.d.ts +7 -0
  58. package/lib/components/Footer/FooterColumn.js +54 -0
  59. package/lib/components/Footer/FooterColumns.d.ts +9 -0
  60. package/lib/components/Footer/FooterColumns.js +44 -0
  61. package/lib/components/Footer/FooterCopyright.d.ts +7 -0
  62. package/lib/components/Footer/index.d.ts +4 -0
  63. package/lib/components/Footer/index.js +21 -0
  64. package/lib/components/JsonViewer/JsonViewer.js +240 -0
  65. package/lib/components/JsonViewer/index.d.ts +1 -0
  66. package/lib/components/JsonViewer/index.js +18 -0
  67. package/lib/components/LastUpdated/LastUpdated.js +75 -0
  68. package/lib/components/Markdown/Admonition.js +56 -0
  69. package/lib/components/Markdown/Heading.js +48 -0
  70. package/lib/components/Markdown/MarkdownLayout.d.ts +18 -0
  71. package/lib/components/Markdown/MarkdownLayout.js +40 -0
  72. package/lib/components/Markdown/MarkdownWrapper.js +394 -0
  73. package/lib/components/Markdown/index.d.ts +9 -0
  74. package/lib/components/Markdown/index.js +26 -0
  75. package/lib/components/Menu/Menu.d.ts +10 -0
  76. package/lib/components/Menu/Menu.js +28 -0
  77. package/lib/components/Menu/MenuContainer.js +17 -0
  78. package/lib/components/Menu/MenuGroup.d.ts +9 -0
  79. package/lib/components/Menu/MenuGroup.js +88 -0
  80. package/lib/components/Menu/MenuItem.d.ts +3 -0
  81. package/lib/components/Menu/MenuItem.js +23 -0
  82. package/lib/components/Menu/MenuItemLabel.js +46 -0
  83. package/lib/components/Menu/MenuItemSwitch.d.ts +3 -0
  84. package/lib/components/Menu/MenuItemSwitch.js +39 -0
  85. package/lib/components/Menu/MenuLink.d.ts +4 -0
  86. package/lib/components/Menu/MenuLink.js +15 -0
  87. package/lib/components/Menu/MenuLinkItem.d.ts +3 -0
  88. package/lib/components/Menu/MenuLinkItem.js +15 -0
  89. package/lib/components/Menu/index.d.ts +7 -0
  90. package/lib/components/Menu/index.js +24 -0
  91. package/lib/components/Navbar/MobileNavbarDropdown.d.ts +8 -0
  92. package/lib/components/Navbar/MobileNavbarDropdown.js +30 -0
  93. package/lib/components/Navbar/MobileNavbarItem.d.ts +15 -0
  94. package/lib/components/Navbar/MobileNavbarItem.js +106 -0
  95. package/lib/components/Navbar/MobileNavbarMenu.d.ts +7 -0
  96. package/lib/components/Navbar/MobileNavbarMenu.js +104 -0
  97. package/lib/components/Navbar/MobileNavbarMenuButton.d.ts +4 -0
  98. package/lib/components/Navbar/MobileNavbarMenuButton.js +18 -0
  99. package/lib/components/Navbar/Navbar.d.ts +17 -0
  100. package/lib/components/Navbar/Navbar.js +132 -0
  101. package/lib/components/Navbar/NavbarDropdown.d.ts +8 -0
  102. package/lib/components/Navbar/NavbarDropdown.js +38 -0
  103. package/lib/components/Navbar/NavbarItem.d.ts +13 -0
  104. package/lib/components/Navbar/NavbarItem.js +72 -0
  105. package/lib/components/Navbar/NavbarMenu.d.ts +5 -0
  106. package/lib/components/Navbar/NavbarMenu.js +34 -0
  107. package/lib/components/Navbar/index.d.ts +3 -0
  108. package/lib/components/Navbar/index.js +20 -0
  109. package/lib/components/NavbarLogo/NavbarLogo.d.ts +6 -0
  110. package/lib/components/NavbarLogo/NavbarLogo.js +24 -0
  111. package/lib/components/NavbarLogo/index.d.ts +1 -0
  112. package/lib/components/NavbarLogo/index.js +18 -0
  113. package/lib/components/OpenAPIDocs/DevOnboardingTryItSecurity.js +177 -0
  114. package/lib/components/OpenAPIDocs/TryItSecurityApps.d.ts +8 -0
  115. package/lib/components/OpenAPIDocs/TryItSecurityApps.js +15 -0
  116. package/lib/components/OperationBadge/index.d.ts +1 -0
  117. package/lib/components/OperationBadge/index.js +18 -0
  118. package/lib/components/PageNavigation/NextButton.d.ts +7 -0
  119. package/lib/components/PageNavigation/NextButton.js +47 -0
  120. package/lib/components/PageNavigation/PageNavigation.d.ts +8 -0
  121. package/lib/components/PageNavigation/PageNavigation.js +32 -0
  122. package/lib/components/PageNavigation/PreviousButton.d.ts +7 -0
  123. package/lib/components/PageNavigation/PreviousButton.js +24 -0
  124. package/lib/components/PageNavigation/index.d.ts +3 -0
  125. package/lib/components/PageNavigation/index.js +20 -0
  126. package/lib/components/Panel/Panel.d.ts +5 -0
  127. package/lib/components/Panel/Panel.js +39 -0
  128. package/lib/components/Panel/PanelComponent.d.ts +13 -0
  129. package/lib/components/Panel/PanelComponent.js +65 -0
  130. package/lib/components/Panel/index.d.ts +5 -0
  131. package/lib/components/Panel/index.js +22 -0
  132. package/lib/components/Profile/AuthUserProfile.d.ts +2 -0
  133. package/lib/components/Profile/AuthUserProfile.js +22 -0
  134. package/lib/components/Profile/LoginLink.js +30 -0
  135. package/lib/components/Profile/Profile.js +104 -0
  136. package/lib/components/Profile/UserProfile.d.ts +3 -0
  137. package/lib/components/Profile/UserProfile.js +46 -0
  138. package/lib/components/Profile/UserProfileMenu.js +87 -0
  139. package/lib/components/Profile/index.d.ts +6 -0
  140. package/lib/components/Profile/types.d.ts +11 -0
  141. package/lib/components/Profile/types.js +3 -0
  142. package/lib/components/SamplesPanelControls/SamplesPanelControls.js +75 -0
  143. package/lib/components/SamplesPanelControls/index.d.ts +1 -0
  144. package/lib/components/SamplesPanelControls/index.js +18 -0
  145. package/lib/components/Search/Autocomplete.d.ts +16 -0
  146. package/lib/components/Search/Autocomplete.js +122 -0
  147. package/lib/components/Search/Parameters.d.ts +7 -0
  148. package/lib/components/Search/Parameters.js +55 -0
  149. package/lib/components/Search/Search.js +65 -0
  150. package/lib/components/Search/SearchItem.d.ts +8 -0
  151. package/lib/components/Search/SearchItem.js +98 -0
  152. package/lib/components/Search/SidebarSearch.d.ts +4 -0
  153. package/lib/components/Search/SidebarSearch.js +20 -0
  154. package/lib/components/Search/index.d.ts +9 -0
  155. package/lib/components/Search/index.js +26 -0
  156. package/lib/components/Separator/Separator.d.ts +3 -0
  157. package/lib/components/Separator/Separator.js +18 -0
  158. package/lib/components/Separator/SeparatorItem.js +29 -0
  159. package/lib/components/Separator/index.d.ts +3 -0
  160. package/lib/components/Separator/index.js +20 -0
  161. package/lib/components/Sidebar/ApiCallItem.d.ts +9 -0
  162. package/lib/components/Sidebar/ApiCallItem.js +34 -0
  163. package/lib/components/Sidebar/BackButton.js +39 -0
  164. package/lib/components/Sidebar/Drilldown.d.ts +8 -0
  165. package/lib/components/Sidebar/Drilldown.js +43 -0
  166. package/lib/components/Sidebar/DrilldownMenu.d.ts +3 -0
  167. package/lib/components/Sidebar/DrilldownMenu.js +71 -0
  168. package/lib/components/Sidebar/DrilldownMenuItem.d.ts +3 -0
  169. package/lib/components/Sidebar/SidebarLayout.js +85 -0
  170. package/lib/components/Sidebar/index.d.ts +11 -0
  171. package/lib/components/Sidebar/index.js +28 -0
  172. package/lib/components/Sidebar/types.d.ts +43 -0
  173. package/lib/components/Sidebar/types.js +8 -0
  174. package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
  175. package/lib/components/SidebarActions/ChangeViewButton.js +14 -0
  176. package/lib/components/SidebarActions/CollapseSidebarButton.js +13 -0
  177. package/lib/components/SidebarActions/SidebarActions.js +26 -0
  178. package/lib/components/SidebarActions/ToggleRightPanelButton.js +13 -0
  179. package/lib/components/SidebarActions/index.d.ts +1 -0
  180. package/lib/components/SidebarActions/index.js +7 -0
  181. package/lib/components/SidebarLogo/index.d.ts +1 -0
  182. package/lib/components/SidebarLogo/index.js +18 -0
  183. package/lib/components/SourceCode/SourceCode.js +60 -0
  184. package/lib/components/SourceCode/index.d.ts +1 -0
  185. package/lib/components/SourceCode/index.js +18 -0
  186. package/lib/components/TableOfContent/TableOfContent.d.ts +8 -0
  187. package/lib/components/TableOfContent/TableOfContent.js +109 -0
  188. package/lib/components/TableOfContent/index.d.ts +1 -0
  189. package/lib/components/TableOfContent/index.js +18 -0
  190. package/lib/components/TableOfContent/utils.d.ts +4 -0
  191. package/lib/components/Tabs/Tabs.js +73 -0
  192. package/lib/components/Tabs/index.d.ts +2 -0
  193. package/lib/components/Tabs/index.js +19 -0
  194. package/lib/components/Tags/Tags.js +32 -0
  195. package/lib/components/Tags/index.d.ts +1 -0
  196. package/lib/components/Tags/index.js +18 -0
  197. package/lib/components/Tiles/ThinTile.d.ts +5 -0
  198. package/lib/components/Tiles/ThinTile.js +124 -0
  199. package/lib/components/Tiles/WideTile.d.ts +7 -0
  200. package/lib/components/Tiles/WideTile.js +114 -0
  201. package/lib/components/Tiles/index.d.ts +4 -0
  202. package/lib/components/Tiles/index.js +21 -0
  203. package/lib/components/Tiles/types.d.ts +17 -0
  204. package/lib/components/Tiles/types.js +3 -0
  205. package/lib/components/Tooltip/Tooltip.js +173 -0
  206. package/lib/components/Tooltip/index.d.ts +1 -0
  207. package/lib/components/Tooltip/index.js +18 -0
  208. package/lib/components/Typography/CompactTypography.d.ts +7 -0
  209. package/lib/components/Typography/CompactTypography.js +14 -0
  210. package/lib/components/Typography/H1.js +17 -0
  211. package/lib/components/Typography/H2.js +17 -0
  212. package/lib/components/Typography/H3.js +17 -0
  213. package/lib/components/Typography/index.d.ts +7 -0
  214. package/lib/components/Typography/index.js +24 -0
  215. package/lib/components/index.d.ts +28 -0
  216. package/lib/components/index.js +45 -0
  217. package/lib/hooks/useThemeConfig.d.ts +4 -1
  218. package/lib/hooks/useThemeConfig.js +7 -3
  219. package/lib/icons/ExternalIcon/ExternalIcon.d.ts +5 -0
  220. package/lib/icons/ExternalIcon/ExternalIcon.js +22 -0
  221. package/lib/icons/ExternalIcon/index.d.ts +1 -0
  222. package/lib/icons/ExternalIcon/index.js +18 -0
  223. package/lib/icons/index.d.ts +1 -0
  224. package/lib/icons/index.js +1 -0
  225. package/lib/index.d.ts +3 -21
  226. package/lib/index.js +3 -21
  227. package/lib/layouts/Forbidden.js +39 -0
  228. package/lib/layouts/NotFound.js +39 -0
  229. package/lib/layouts/RootLayout.d.ts +6 -0
  230. package/lib/layouts/RootLayout.js +19 -0
  231. package/lib/layouts/index.d.ts +4 -0
  232. package/lib/layouts/index.js +21 -0
  233. package/lib/mocks/Profile/useProfileProps.d.ts +1 -0
  234. package/lib/mocks/Profile/useProfileProps.js +17 -0
  235. package/lib/mocks/Sidebar/getMenuType.d.ts +2 -0
  236. package/lib/mocks/Sidebar/getMenuType.js +10 -0
  237. package/lib/mocks/Sidebar/types.d.ts +11 -0
  238. package/lib/mocks/Sidebar/types.js +11 -0
  239. package/lib/mocks/Sidebar/useDrilldown.d.ts +8 -0
  240. package/lib/mocks/Sidebar/useDrilldown.js +19 -0
  241. package/lib/mocks/Sidebar/useMenuGroup.d.ts +6 -0
  242. package/lib/mocks/Sidebar/useMenuGroup.js +17 -0
  243. package/lib/mocks/hooks/index.d.ts +2 -2
  244. package/lib/mocks/hooks/usePageData.d.ts +1 -1
  245. package/lib/types/portal/index.d.ts +2 -0
  246. package/lib/types/portal/index.js +18 -0
  247. package/lib/types/portal/src/shared/constants.d.ts +17 -0
  248. package/lib/types/portal/src/shared/constants.js +22 -0
  249. package/lib/types/portal/src/shared/types/activeItem.d.ts +3 -0
  250. package/lib/types/portal/src/shared/types/activeItem.js +3 -0
  251. package/lib/types/portal/src/shared/types/catalog.d.ts +49 -0
  252. package/lib/types/portal/src/shared/types/catalog.js +3 -0
  253. package/lib/types/portal/src/shared/types/feedback.d.ts +11 -0
  254. package/lib/types/portal/src/shared/types/feedback.js +3 -0
  255. package/lib/types/portal/src/shared/types/markdown.d.ts +5 -0
  256. package/lib/types/portal/src/shared/types/markdown.js +3 -0
  257. package/lib/types/portal/src/shared/types/nav.d.ts +149 -0
  258. package/lib/types/portal/src/shared/types/nav.js +8 -0
  259. package/lib/types/portal/src/shared/types/searchDocument.d.ts +19 -0
  260. package/lib/types/portal/src/shared/types/searchDocument.js +5 -0
  261. package/lib/ui/ArrowBack.d.ts +5 -0
  262. package/lib/ui/ArrowBack.js +22 -0
  263. package/lib/ui/Dropdown.d.ts +1 -1
  264. package/lib/ui/Jumbotron.js +1 -1
  265. package/lib/ui/index.d.ts +1 -1
  266. package/lib/ui/index.js +1 -1
  267. package/lib/utils/index.d.ts +2 -0
  268. package/lib/utils/index.js +2 -0
  269. package/lib/utils/jsUtils.d.ts +4 -0
  270. package/lib/utils/jsUtils.js +21 -0
  271. package/lib/utils/urls.d.ts +11 -0
  272. package/lib/utils/urls.js +55 -0
  273. package/package.json +1 -1
  274. package/src/components/ApiOnboarding/AppCustomAttributes.tsx +9 -0
  275. package/src/components/Button/index.ts +1 -0
  276. package/src/components/Cards/Card.tsx +49 -0
  277. package/src/components/Cards/index.ts +2 -0
  278. package/src/components/Catalog/Catalog.tsx +200 -0
  279. package/src/components/Catalog/CatalogCard.tsx +95 -0
  280. package/src/components/Catalog/useCatalog.ts +280 -0
  281. package/src/components/CodeBlock/index.ts +1 -0
  282. package/src/components/CodeSample/CodeSample.tsx +236 -0
  283. package/src/components/CodeSample/index.ts +1 -0
  284. package/src/components/ColorModeSwitcher/index.ts +1 -0
  285. package/src/components/CopyButton/CopyButton.tsx +31 -0
  286. package/src/components/CopyButton/CopyButtonWrapper.tsx +55 -0
  287. package/src/components/CopyButton/index.ts +2 -0
  288. package/src/components/EditPageButton/index.ts +1 -0
  289. package/src/components/Feedback/Comment.tsx +80 -0
  290. package/src/components/Feedback/Feedback.tsx +47 -0
  291. package/src/components/Feedback/Rating.tsx +107 -0
  292. package/src/components/Feedback/Reasons.tsx +81 -0
  293. package/src/components/Feedback/ReportDialog.tsx +51 -0
  294. package/src/components/Feedback/Sentiment.tsx +74 -0
  295. package/src/components/Feedback/index.ts +8 -0
  296. package/src/components/Feedback/types.ts +69 -0
  297. package/src/components/Feedback/useReportDialog.ts +34 -0
  298. package/src/components/Filter/index.ts +1 -0
  299. package/src/components/Footer/CustomFooter.tsx +45 -0
  300. package/src/components/Footer/Footer.tsx +54 -0
  301. package/src/components/Footer/FooterColumns.tsx +53 -0
  302. package/src/components/Footer/index.ts +4 -0
  303. package/src/components/JsonViewer/JsonViewer.tsx +256 -0
  304. package/src/components/JsonViewer/index.ts +1 -0
  305. package/src/components/Markdown/MarkdownLayout.tsx +69 -0
  306. package/src/components/Markdown/index.ts +9 -0
  307. package/src/components/Menu/Menu.tsx +38 -0
  308. package/src/components/Menu/MenuContainer.tsx +15 -0
  309. package/src/components/Menu/MenuGroup.tsx +91 -0
  310. package/src/components/Menu/MenuItem.tsx +25 -0
  311. package/src/components/Menu/MenuItemLabel.tsx +41 -0
  312. package/src/components/Menu/MenuItemSwitch.tsx +63 -0
  313. package/src/components/Menu/MenuLinkItem.tsx +24 -0
  314. package/src/components/Menu/index.ts +7 -0
  315. package/src/components/Navbar/MobileNavbarItem.tsx +115 -0
  316. package/src/components/Navbar/MobileNavbarMenu.tsx +125 -0
  317. package/src/components/Navbar/Navbar.tsx +149 -0
  318. package/src/components/Navbar/NavbarItem.tsx +102 -0
  319. package/src/components/Navbar/NavbarMenu.tsx +37 -0
  320. package/src/components/Navbar/index.ts +3 -0
  321. package/src/components/NavbarLogo/index.ts +1 -0
  322. package/src/components/OpenAPIDocs/DevOnboardingTryItSecurity.tsx +178 -0
  323. package/src/components/OpenAPIDocs/TryItSecurityApps.tsx +18 -0
  324. package/src/components/OperationBadge/index.ts +1 -0
  325. package/src/components/PageNavigation/NextButton.tsx +38 -0
  326. package/src/components/PageNavigation/PageNavigation.tsx +37 -0
  327. package/src/components/PageNavigation/PreviousButton.tsx +38 -0
  328. package/src/components/PageNavigation/index.ts +3 -0
  329. package/src/components/Panel/Panel.ts +34 -0
  330. package/src/components/Panel/PanelComponent.tsx +79 -0
  331. package/src/components/Panel/index.ts +5 -0
  332. package/src/components/Profile/AuthUserProfile.tsx +25 -0
  333. package/src/components/Profile/UserProfile.tsx +46 -0
  334. package/src/components/Profile/index.ts +6 -0
  335. package/src/components/Profile/types.ts +11 -0
  336. package/src/components/SamplesPanelControls/SamplesPanelControls.ts +73 -0
  337. package/src/components/SamplesPanelControls/index.ts +1 -0
  338. package/src/components/Search/Autocomplete.tsx +148 -0
  339. package/src/components/Search/Parameters.tsx +61 -0
  340. package/src/components/Search/Search.tsx +50 -0
  341. package/src/components/Search/SearchItem.tsx +91 -0
  342. package/src/components/Search/SidebarSearch.tsx +15 -0
  343. package/src/components/Search/index.ts +9 -0
  344. package/src/components/Separator/Separator.tsx +17 -0
  345. package/src/components/Separator/SeparatorItem.tsx +24 -0
  346. package/src/components/Separator/index.ts +3 -0
  347. package/src/components/Sidebar/ApiCallItem.tsx +39 -0
  348. package/src/components/Sidebar/BackButton.tsx +44 -0
  349. package/src/components/Sidebar/Drilldown.tsx +44 -0
  350. package/src/components/Sidebar/DrilldownMenu.tsx +58 -0
  351. package/src/components/Sidebar/DrilldownMenuItem.tsx +44 -0
  352. package/src/components/Sidebar/SidebarLayout.tsx +107 -0
  353. package/src/components/Sidebar/index.ts +11 -0
  354. package/src/components/Sidebar/types.ts +47 -0
  355. package/src/components/SidebarActions/ChangeViewButton.tsx +24 -0
  356. package/src/components/SidebarActions/CollapseSidebarButton.tsx +25 -0
  357. package/src/components/SidebarActions/SidebarActions.tsx +71 -0
  358. package/src/components/SidebarActions/ToggleRightPanelButton.tsx +25 -0
  359. package/src/components/SidebarActions/index.tsx +1 -0
  360. package/src/components/SidebarLogo/index.ts +1 -0
  361. package/src/components/SourceCode/SourceCode.tsx +128 -0
  362. package/src/components/SourceCode/index.ts +1 -0
  363. package/src/components/TableOfContent/TableOfContent.tsx +116 -0
  364. package/src/components/TableOfContent/index.ts +1 -0
  365. package/src/components/Tabs/Tabs.tsx +58 -0
  366. package/src/components/Tabs/index.ts +2 -0
  367. package/src/components/Tags/index.ts +1 -0
  368. package/src/components/Tiles/ThinTile.tsx +134 -0
  369. package/src/components/Tiles/WideTile.tsx +138 -0
  370. package/src/components/Tiles/index.ts +4 -0
  371. package/src/components/Tiles/types.ts +19 -0
  372. package/src/components/Tooltip/index.ts +1 -0
  373. package/src/components/Typography/CompactTypography.ts +9 -0
  374. package/src/components/Typography/index.ts +7 -0
  375. package/src/components/index.ts +28 -0
  376. package/src/hooks/useThemeConfig.ts +10 -1
  377. package/src/icons/ExternalIcon/ExternalIcon.tsx +44 -0
  378. package/src/icons/ExternalIcon/index.ts +1 -0
  379. package/src/icons/index.ts +1 -0
  380. package/src/index.ts +3 -21
  381. package/src/layouts/Forbidden.tsx +41 -0
  382. package/src/layouts/NotFound.tsx +42 -0
  383. package/src/layouts/RootLayout.tsx +21 -0
  384. package/src/layouts/index.ts +4 -0
  385. package/src/mocks/Profile/useProfileProps.tsx +12 -0
  386. package/src/mocks/Sidebar/getMenuType.ts +6 -0
  387. package/src/mocks/Sidebar/types.ts +15 -0
  388. package/src/mocks/Sidebar/useDrilldown.tsx +12 -0
  389. package/src/mocks/Sidebar/useMenuGroup.tsx +10 -0
  390. package/src/types/portal/src/shared/constants.ts +17 -0
  391. package/src/types/portal/src/shared/types/activeItem.ts +1 -0
  392. package/src/types/portal/src/shared/types/catalog.ts +51 -0
  393. package/src/types/portal/src/shared/types/feedback.ts +14 -0
  394. package/src/types/portal/src/shared/types/markdown.ts +6 -0
  395. package/src/types/portal/src/shared/types/nav.ts +167 -0
  396. package/src/types/portal/src/shared/types/searchDocument.ts +20 -0
  397. package/src/ui/ArrowBack.tsx +34 -0
  398. package/src/ui/Jumbotron.tsx +1 -1
  399. package/src/ui/index.tsx +1 -1
  400. package/src/utils/index.ts +2 -0
  401. package/src/utils/jsUtils.ts +18 -0
  402. package/src/utils/urls.ts +54 -0
  403. package/lib/ApiOnboarding/AppCustomAttributes.js +0 -8
  404. package/lib/Button/Button.js +0 -156
  405. package/lib/Button/index.d.ts +0 -1
  406. package/lib/Button/index.js +0 -18
  407. package/lib/Cards/Card.d.ts +0 -8
  408. package/lib/Cards/Card.js +0 -36
  409. package/lib/Catalog/Catalog.d.ts +0 -8
  410. package/lib/Catalog/Catalog.js +0 -167
  411. package/lib/Catalog/CatalogCard.d.ts +0 -5
  412. package/lib/Catalog/CatalogCard.js +0 -113
  413. package/lib/Catalog/Filter.d.ts +0 -5
  414. package/lib/Catalog/Filter.js +0 -86
  415. package/lib/Catalog/Tags.js +0 -32
  416. package/lib/CodeBlock/CodeBlock.js +0 -103
  417. package/lib/CodeBlock/index.d.ts +0 -1
  418. package/lib/CodeBlock/index.js +0 -18
  419. package/lib/ColorModeSwitcher/ColorModeSwitcher.js +0 -81
  420. package/lib/ColorModeSwitcher/index.d.ts +0 -1
  421. package/lib/ColorModeSwitcher/index.js +0 -18
  422. package/lib/CopyButton/CopyButton.js +0 -54
  423. package/lib/CopyButton/CopyButtonWrapper.d.ts +0 -11
  424. package/lib/CopyButton/CopyButtonWrapper.js +0 -53
  425. package/lib/CopyButton/index.d.ts +0 -2
  426. package/lib/CopyButton/index.js +0 -19
  427. package/lib/EditPageButton/EditPageButton.js +0 -36
  428. package/lib/EditPageButton/index.d.ts +0 -1
  429. package/lib/EditPageButton/index.js +0 -18
  430. package/lib/Feedback/Comment.d.ts +0 -3
  431. package/lib/Feedback/Comment.js +0 -93
  432. package/lib/Feedback/Feedback.d.ts +0 -5
  433. package/lib/Feedback/Feedback.js +0 -50
  434. package/lib/Feedback/Rating.d.ts +0 -3
  435. package/lib/Feedback/Rating.js +0 -82
  436. package/lib/Feedback/Reasons.d.ts +0 -3
  437. package/lib/Feedback/Reasons.js +0 -85
  438. package/lib/Feedback/ReportDialog.d.ts +0 -3
  439. package/lib/Feedback/ReportDialog.js +0 -66
  440. package/lib/Feedback/Sentiment.d.ts +0 -3
  441. package/lib/Feedback/Sentiment.js +0 -79
  442. package/lib/Feedback/index.d.ts +0 -8
  443. package/lib/Feedback/index.js +0 -33
  444. package/lib/Feedback/types.d.ts +0 -74
  445. package/lib/Footer/CustomFooter.d.ts +0 -7
  446. package/lib/Footer/CustomFooter.js +0 -35
  447. package/lib/Footer/CustomFooterNavItem.d.ts +0 -7
  448. package/lib/Footer/CustomFooterNavItem.js +0 -33
  449. package/lib/Footer/Footer.d.ts +0 -10
  450. package/lib/Footer/Footer.js +0 -35
  451. package/lib/Footer/FooterColumn.d.ts +0 -7
  452. package/lib/Footer/FooterColumn.js +0 -54
  453. package/lib/Footer/FooterColumns.d.ts +0 -9
  454. package/lib/Footer/FooterColumns.js +0 -44
  455. package/lib/Footer/FooterCopyright.d.ts +0 -7
  456. package/lib/Footer/index.d.ts +0 -4
  457. package/lib/Footer/index.js +0 -21
  458. package/lib/JsonViewer/JsonViewer.js +0 -240
  459. package/lib/JsonViewer/index.d.ts +0 -1
  460. package/lib/JsonViewer/index.js +0 -18
  461. package/lib/LastUpdated/LastUpdated.js +0 -75
  462. package/lib/Layout/RootLayout.d.ts +0 -7
  463. package/lib/Layout/RootLayout.js +0 -19
  464. package/lib/Layout/index.d.ts +0 -2
  465. package/lib/Layout/index.js +0 -19
  466. package/lib/Markdown/Admonition.js +0 -56
  467. package/lib/Markdown/CodeSample/CodeSample.js +0 -217
  468. package/lib/Markdown/CodeSample/index.d.ts +0 -1
  469. package/lib/Markdown/CodeSample/index.js +0 -18
  470. package/lib/Markdown/Heading.js +0 -48
  471. package/lib/Markdown/MarkdownLayout.d.ts +0 -15
  472. package/lib/Markdown/MarkdownLayout.js +0 -40
  473. package/lib/Markdown/MarkdownWrapper.js +0 -394
  474. package/lib/Markdown/Tabs/Tabs.js +0 -73
  475. package/lib/Markdown/Tabs/index.d.ts +0 -2
  476. package/lib/Markdown/Tabs/index.js +0 -19
  477. package/lib/Markdown/index.d.ts +0 -10
  478. package/lib/Markdown/index.js +0 -27
  479. package/lib/Navbar/MobileNavbarDropdown.d.ts +0 -8
  480. package/lib/Navbar/MobileNavbarDropdown.js +0 -30
  481. package/lib/Navbar/MobileNavbarItem.d.ts +0 -15
  482. package/lib/Navbar/MobileNavbarItem.js +0 -106
  483. package/lib/Navbar/MobileNavbarMenu.d.ts +0 -7
  484. package/lib/Navbar/MobileNavbarMenu.js +0 -104
  485. package/lib/Navbar/MobileNavbarMenuButton.d.ts +0 -4
  486. package/lib/Navbar/MobileNavbarMenuButton.js +0 -18
  487. package/lib/Navbar/Navbar.d.ts +0 -12
  488. package/lib/Navbar/Navbar.js +0 -80
  489. package/lib/Navbar/NavbarDropdown.d.ts +0 -8
  490. package/lib/Navbar/NavbarDropdown.js +0 -38
  491. package/lib/Navbar/NavbarItem.d.ts +0 -13
  492. package/lib/Navbar/NavbarItem.js +0 -72
  493. package/lib/Navbar/NavbarMenu.d.ts +0 -5
  494. package/lib/Navbar/NavbarMenu.js +0 -34
  495. package/lib/Navbar/index.d.ts +0 -3
  496. package/lib/Navbar/index.js +0 -20
  497. package/lib/NavbarLogo/NavbarLogo.d.ts +0 -6
  498. package/lib/NavbarLogo/NavbarLogo.js +0 -24
  499. package/lib/NavbarLogo/index.d.ts +0 -1
  500. package/lib/NavbarLogo/index.js +0 -18
  501. package/lib/OperationBadge/index.d.ts +0 -1
  502. package/lib/OperationBadge/index.js +0 -18
  503. package/lib/PageNavigation/NextButton.d.ts +0 -2
  504. package/lib/PageNavigation/NextButton.js +0 -49
  505. package/lib/PageNavigation/PageNavigation.d.ts +0 -2
  506. package/lib/PageNavigation/PageNavigation.js +0 -32
  507. package/lib/PageNavigation/PreviousButton.d.ts +0 -2
  508. package/lib/PageNavigation/PreviousButton.js +0 -26
  509. package/lib/PageNavigation/index.d.ts +0 -3
  510. package/lib/PageNavigation/index.js +0 -20
  511. package/lib/Pages/Forbidden.js +0 -39
  512. package/lib/Pages/NotFound.js +0 -39
  513. package/lib/Pages/index.d.ts +0 -1
  514. package/lib/Pages/index.js +0 -18
  515. package/lib/Panel/Panel.d.ts +0 -5
  516. package/lib/Panel/Panel.js +0 -39
  517. package/lib/Panel/PanelComponent.d.ts +0 -13
  518. package/lib/Panel/PanelComponent.js +0 -65
  519. package/lib/Panel/index.d.ts +0 -5
  520. package/lib/Panel/index.js +0 -22
  521. package/lib/Profile/LoginLink.js +0 -30
  522. package/lib/Profile/Profile.js +0 -104
  523. package/lib/Profile/UserProfile.d.ts +0 -12
  524. package/lib/Profile/UserProfile.js +0 -46
  525. package/lib/Profile/UserProfileMenu.js +0 -87
  526. package/lib/Profile/index.d.ts +0 -6
  527. package/lib/ReferenceDocs/DevOnboardingTryItSecurity.js +0 -178
  528. package/lib/ReferenceDocs/TryItSecurityApps.d.ts +0 -7
  529. package/lib/ReferenceDocs/TryItSecurityApps.js +0 -15
  530. package/lib/SamplesPanelControls/SamplesPanelControls.js +0 -75
  531. package/lib/SamplesPanelControls/index.d.ts +0 -1
  532. package/lib/SamplesPanelControls/index.js +0 -18
  533. package/lib/Search/Autocomplete.d.ts +0 -16
  534. package/lib/Search/Autocomplete.js +0 -122
  535. package/lib/Search/Parameters.d.ts +0 -7
  536. package/lib/Search/Parameters.js +0 -55
  537. package/lib/Search/Search.js +0 -65
  538. package/lib/Search/SearchItem.d.ts +0 -7
  539. package/lib/Search/SearchItem.js +0 -98
  540. package/lib/Search/SidebarSearch.d.ts +0 -4
  541. package/lib/Search/SidebarSearch.js +0 -20
  542. package/lib/Search/index.d.ts +0 -9
  543. package/lib/Search/index.js +0 -26
  544. package/lib/Sidebar/ApiCallItem.d.ts +0 -9
  545. package/lib/Sidebar/ApiCallItem.js +0 -34
  546. package/lib/Sidebar/ArrowBack.d.ts +0 -4
  547. package/lib/Sidebar/ArrowBack.js +0 -22
  548. package/lib/Sidebar/BackButton.js +0 -39
  549. package/lib/Sidebar/Drilldown.d.ts +0 -8
  550. package/lib/Sidebar/Drilldown.js +0 -43
  551. package/lib/Sidebar/DrilldownMenu.d.ts +0 -3
  552. package/lib/Sidebar/DrilldownMenu.js +0 -71
  553. package/lib/Sidebar/DrilldownMenuItem.d.ts +0 -3
  554. package/lib/Sidebar/ExternalIcon.d.ts +0 -4
  555. package/lib/Sidebar/ExternalIcon.js +0 -21
  556. package/lib/Sidebar/Menu.d.ts +0 -3
  557. package/lib/Sidebar/Menu.js +0 -17
  558. package/lib/Sidebar/MenuContainer.js +0 -17
  559. package/lib/Sidebar/MenuGroup.d.ts +0 -9
  560. package/lib/Sidebar/MenuGroup.js +0 -88
  561. package/lib/Sidebar/MenuItem.d.ts +0 -3
  562. package/lib/Sidebar/MenuItem.js +0 -23
  563. package/lib/Sidebar/MenuItemLabel.js +0 -46
  564. package/lib/Sidebar/MenuLink.d.ts +0 -4
  565. package/lib/Sidebar/MenuLink.js +0 -15
  566. package/lib/Sidebar/MenuLinkItem.d.ts +0 -3
  567. package/lib/Sidebar/MenuLinkItem.js +0 -15
  568. package/lib/Sidebar/Separator.d.ts +0 -3
  569. package/lib/Sidebar/Separator.js +0 -18
  570. package/lib/Sidebar/SeparatorItem.js +0 -29
  571. package/lib/Sidebar/SidebarLayout.js +0 -85
  572. package/lib/Sidebar/index.d.ts +0 -22
  573. package/lib/Sidebar/index.js +0 -39
  574. package/lib/Sidebar/types/DrilldownMenuProps.d.ts +0 -6
  575. package/lib/Sidebar/types/DrilldownMenuProps.js +0 -3
  576. package/lib/Sidebar/types/ItemState.d.ts +0 -8
  577. package/lib/Sidebar/types/ItemState.js +0 -3
  578. package/lib/Sidebar/types/MenuItemProps.d.ts +0 -5
  579. package/lib/Sidebar/types/MenuItemProps.js +0 -3
  580. package/lib/Sidebar/types/MenuStyle.d.ts +0 -3
  581. package/lib/Sidebar/types/MenuStyle.js +0 -8
  582. package/lib/Sidebar/types/NavItem.d.ts +0 -26
  583. package/lib/Sidebar/types/NavItem.js +0 -3
  584. package/lib/Sidebar/types/index.d.ts +0 -5
  585. package/lib/Sidebar/types/index.js +0 -22
  586. package/lib/SidebarActions/ChangeViewButton.d.ts +0 -8
  587. package/lib/SidebarActions/ChangeViewButton.js +0 -14
  588. package/lib/SidebarActions/CollapseSidebarButton.js +0 -13
  589. package/lib/SidebarActions/SidebarActions.js +0 -26
  590. package/lib/SidebarActions/ToggleRightPanelButton.js +0 -13
  591. package/lib/SidebarActions/index.d.ts +0 -1
  592. package/lib/SidebarActions/index.js +0 -7
  593. package/lib/SidebarLogo/index.d.ts +0 -1
  594. package/lib/SidebarLogo/index.js +0 -18
  595. package/lib/SourceCode/SourceCode.js +0 -60
  596. package/lib/SourceCode/index.d.ts +0 -1
  597. package/lib/SourceCode/index.js +0 -18
  598. package/lib/TableOfContent/TableOfContent.d.ts +0 -8
  599. package/lib/TableOfContent/TableOfContent.js +0 -109
  600. package/lib/TableOfContent/index.d.ts +0 -1
  601. package/lib/TableOfContent/index.js +0 -18
  602. package/lib/TableOfContent/utils.d.ts +0 -4
  603. package/lib/Tooltip/Tooltip.js +0 -173
  604. package/lib/Tooltip/index.d.ts +0 -1
  605. package/lib/Tooltip/index.js +0 -18
  606. package/lib/Typography/CompactTypography.d.ts +0 -7
  607. package/lib/Typography/CompactTypography.js +0 -14
  608. package/lib/Typography/H1.js +0 -17
  609. package/lib/Typography/H2.js +0 -17
  610. package/lib/Typography/H3.js +0 -17
  611. package/lib/Typography/index.d.ts +0 -7
  612. package/lib/Typography/index.js +0 -24
  613. package/lib/ui/Tiles/ThinTile.d.ts +0 -22
  614. package/lib/ui/Tiles/ThinTile.js +0 -124
  615. package/lib/ui/Tiles/WideTile.d.ts +0 -7
  616. package/lib/ui/Tiles/WideTile.js +0 -114
  617. package/lib/ui/Tiles/index.d.ts +0 -4
  618. package/lib/ui/Tiles/index.js +0 -21
  619. package/src/ApiOnboarding/AppCustomAttributes.tsx +0 -6
  620. package/src/Button/index.ts +0 -1
  621. package/src/Cards/Card.tsx +0 -49
  622. package/src/Catalog/Catalog.tsx +0 -198
  623. package/src/Catalog/CatalogCard.tsx +0 -95
  624. package/src/CodeBlock/index.ts +0 -1
  625. package/src/ColorModeSwitcher/index.ts +0 -1
  626. package/src/CopyButton/CopyButton.tsx +0 -32
  627. package/src/CopyButton/CopyButtonWrapper.tsx +0 -55
  628. package/src/CopyButton/index.ts +0 -2
  629. package/src/EditPageButton/index.ts +0 -1
  630. package/src/Feedback/Comment.tsx +0 -80
  631. package/src/Feedback/Feedback.tsx +0 -42
  632. package/src/Feedback/Rating.tsx +0 -107
  633. package/src/Feedback/Reasons.tsx +0 -81
  634. package/src/Feedback/ReportDialog.tsx +0 -52
  635. package/src/Feedback/Sentiment.tsx +0 -74
  636. package/src/Feedback/index.ts +0 -8
  637. package/src/Feedback/types.ts +0 -66
  638. package/src/Feedback/useReportDialog.ts +0 -34
  639. package/src/Footer/CustomFooter.tsx +0 -45
  640. package/src/Footer/Footer.tsx +0 -43
  641. package/src/Footer/FooterColumns.tsx +0 -53
  642. package/src/Footer/index.ts +0 -4
  643. package/src/JsonViewer/JsonViewer.tsx +0 -256
  644. package/src/JsonViewer/index.ts +0 -1
  645. package/src/Layout/RootLayout.tsx +0 -24
  646. package/src/Layout/index.ts +0 -2
  647. package/src/Markdown/CodeSample/CodeSample.tsx +0 -236
  648. package/src/Markdown/CodeSample/index.ts +0 -1
  649. package/src/Markdown/MarkdownLayout.tsx +0 -64
  650. package/src/Markdown/Tabs/Tabs.tsx +0 -58
  651. package/src/Markdown/Tabs/index.ts +0 -2
  652. package/src/Markdown/index.ts +0 -10
  653. package/src/Navbar/MobileNavbarItem.tsx +0 -114
  654. package/src/Navbar/MobileNavbarMenu.tsx +0 -122
  655. package/src/Navbar/Navbar.tsx +0 -100
  656. package/src/Navbar/NavbarItem.tsx +0 -102
  657. package/src/Navbar/NavbarMenu.tsx +0 -37
  658. package/src/Navbar/index.ts +0 -3
  659. package/src/NavbarLogo/index.ts +0 -1
  660. package/src/OperationBadge/index.ts +0 -1
  661. package/src/PageNavigation/NextButton.tsx +0 -40
  662. package/src/PageNavigation/PageNavigation.tsx +0 -31
  663. package/src/PageNavigation/PreviousButton.tsx +0 -40
  664. package/src/PageNavigation/index.ts +0 -3
  665. package/src/Pages/Forbidden.tsx +0 -42
  666. package/src/Pages/NotFound.tsx +0 -42
  667. package/src/Pages/index.ts +0 -1
  668. package/src/Panel/Panel.ts +0 -34
  669. package/src/Panel/PanelComponent.tsx +0 -79
  670. package/src/Panel/index.ts +0 -5
  671. package/src/Profile/UserProfile.tsx +0 -55
  672. package/src/Profile/index.ts +0 -6
  673. package/src/ReferenceDocs/DevOnboardingTryItSecurity.tsx +0 -180
  674. package/src/ReferenceDocs/TryItSecurityApps.tsx +0 -17
  675. package/src/SamplesPanelControls/SamplesPanelControls.ts +0 -73
  676. package/src/SamplesPanelControls/index.ts +0 -1
  677. package/src/Search/Autocomplete.tsx +0 -148
  678. package/src/Search/Parameters.tsx +0 -62
  679. package/src/Search/Search.tsx +0 -67
  680. package/src/Search/SearchItem.tsx +0 -90
  681. package/src/Search/SidebarSearch.tsx +0 -15
  682. package/src/Search/index.ts +0 -9
  683. package/src/Sidebar/ApiCallItem.tsx +0 -39
  684. package/src/Sidebar/ArrowBack.tsx +0 -28
  685. package/src/Sidebar/BackButton.tsx +0 -44
  686. package/src/Sidebar/Drilldown.tsx +0 -44
  687. package/src/Sidebar/DrilldownMenu.tsx +0 -58
  688. package/src/Sidebar/DrilldownMenuItem.tsx +0 -44
  689. package/src/Sidebar/ExternalIcon.tsx +0 -37
  690. package/src/Sidebar/Menu.tsx +0 -11
  691. package/src/Sidebar/MenuContainer.tsx +0 -15
  692. package/src/Sidebar/MenuGroup.tsx +0 -91
  693. package/src/Sidebar/MenuItem.tsx +0 -25
  694. package/src/Sidebar/MenuItemLabel.tsx +0 -41
  695. package/src/Sidebar/MenuLinkItem.tsx +0 -24
  696. package/src/Sidebar/Separator.tsx +0 -17
  697. package/src/Sidebar/SeparatorItem.tsx +0 -24
  698. package/src/Sidebar/SidebarLayout.tsx +0 -107
  699. package/src/Sidebar/index.ts +0 -22
  700. package/src/Sidebar/types/DrilldownMenuProps.ts +0 -7
  701. package/src/Sidebar/types/ItemState.ts +0 -9
  702. package/src/Sidebar/types/MenuItemProps.ts +0 -6
  703. package/src/Sidebar/types/MenuStyle.ts +0 -3
  704. package/src/Sidebar/types/NavItem.ts +0 -27
  705. package/src/Sidebar/types/index.ts +0 -5
  706. package/src/SidebarActions/ChangeViewButton.tsx +0 -20
  707. package/src/SidebarActions/CollapseSidebarButton.tsx +0 -21
  708. package/src/SidebarActions/SidebarActions.tsx +0 -64
  709. package/src/SidebarActions/ToggleRightPanelButton.tsx +0 -21
  710. package/src/SidebarActions/index.tsx +0 -1
  711. package/src/SidebarLogo/index.ts +0 -1
  712. package/src/SourceCode/SourceCode.tsx +0 -128
  713. package/src/SourceCode/index.ts +0 -1
  714. package/src/TableOfContent/TableOfContent.tsx +0 -113
  715. package/src/TableOfContent/index.ts +0 -1
  716. package/src/Tooltip/index.ts +0 -1
  717. package/src/Typography/CompactTypography.ts +0 -9
  718. package/src/Typography/index.ts +0 -7
  719. package/src/types/portal/src/shared/constants.d.ts +0 -46
  720. package/src/types/portal/src/shared/types/catalog.d.ts +0 -55
  721. package/src/types/portal/src/shared/types/feedback.d.ts +0 -8
  722. package/src/types/portal/src/shared/types/markdown.d.ts +0 -5
  723. package/src/types/portal/src/shared/types/nav.d.ts +0 -158
  724. package/src/ui/Tiles/ThinTile.tsx +0 -153
  725. package/src/ui/Tiles/WideTile.tsx +0 -138
  726. package/src/ui/Tiles/index.ts +0 -4
  727. /package/lib/{ApiOnboarding → components/ApiOnboarding}/AppCustomAttributes.d.ts +0 -0
  728. /package/lib/{Button → components/Button}/Button.d.ts +0 -0
  729. /package/lib/{Cards → components/Cards}/CardsBlock.d.ts +0 -0
  730. /package/lib/{Cards → components/Cards}/CardsBlock.js +0 -0
  731. /package/lib/{CodeBlock → components/CodeBlock}/CodeBlock.d.ts +0 -0
  732. /package/lib/{Markdown → components}/CodeSample/CodeSample.d.ts +0 -0
  733. /package/lib/{ColorModeSwitcher → components/ColorModeSwitcher}/ColorModeSwitcher.d.ts +0 -0
  734. /package/lib/{CopyButton → components/CopyButton}/CopyButton.d.ts +0 -0
  735. /package/lib/{EditPageButton → components/EditPageButton}/EditPageButton.d.ts +0 -0
  736. /package/lib/{Feedback → components/Feedback}/Thumbs.d.ts +0 -0
  737. /package/lib/{Feedback → components/Feedback}/Thumbs.js +0 -0
  738. /package/lib/{Feedback → components/Feedback}/types.js +0 -0
  739. /package/lib/{Feedback → components/Feedback}/useReportDialog.d.ts +0 -0
  740. /package/lib/{Feedback → components/Feedback}/useReportDialog.js +0 -0
  741. /package/lib/{Footer → components/Footer}/FooterCopyright.js +0 -0
  742. /package/lib/{JsonViewer → components/JsonViewer}/JsonViewer.d.ts +0 -0
  743. /package/lib/{LastUpdated → components/LastUpdated}/LastUpdated.d.ts +0 -0
  744. /package/lib/{Markdown → components/Markdown}/Admonition.d.ts +0 -0
  745. /package/lib/{Markdown → components/Markdown}/ContainerWrapper.d.ts +0 -0
  746. /package/lib/{Markdown → components/Markdown}/ContainerWrapper.js +0 -0
  747. /package/lib/{Markdown → components/Markdown}/Details.d.ts +0 -0
  748. /package/lib/{Markdown → components/Markdown}/Details.js +0 -0
  749. /package/lib/{Markdown → components/Markdown}/Heading.d.ts +0 -0
  750. /package/lib/{Markdown → components/Markdown}/MarkdownWrapper.d.ts +0 -0
  751. /package/lib/{Markdown → components/Markdown}/Mermaid.d.ts +0 -0
  752. /package/lib/{Markdown → components/Markdown}/Mermaid.js +0 -0
  753. /package/lib/{Markdown → components/Markdown}/PageWrapper.d.ts +0 -0
  754. /package/lib/{Markdown → components/Markdown}/PageWrapper.js +0 -0
  755. /package/lib/{Markdown → components/Markdown}/Sup.d.ts +0 -0
  756. /package/lib/{Markdown → components/Markdown}/Sup.js +0 -0
  757. /package/lib/{Sidebar → components/Menu}/MenuContainer.d.ts +0 -0
  758. /package/lib/{Sidebar → components/Menu}/MenuItemLabel.d.ts +0 -0
  759. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.d.ts +0 -0
  760. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.js +0 -0
  761. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/DevOnboardingTryItSecurity.d.ts +0 -0
  762. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.d.ts +0 -0
  763. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.js +0 -0
  764. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/index.d.ts +0 -0
  765. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/index.js +0 -0
  766. /package/lib/{OperationBadge → components/OperationBadge}/OperationBadge.d.ts +0 -0
  767. /package/lib/{OperationBadge → components/OperationBadge}/OperationBadge.js +0 -0
  768. /package/lib/{Panel → components/Panel}/PanelBody.d.ts +0 -0
  769. /package/lib/{Panel → components/Panel}/PanelBody.js +0 -0
  770. /package/lib/{Panel → components/Panel}/PanelHeader.d.ts +0 -0
  771. /package/lib/{Panel → components/Panel}/PanelHeader.js +0 -0
  772. /package/lib/{Panel → components/Panel}/PanelHeaderTitle.d.ts +0 -0
  773. /package/lib/{Panel → components/Panel}/PanelHeaderTitle.js +0 -0
  774. /package/lib/{Profile → components/Profile}/LoginLink.d.ts +0 -0
  775. /package/lib/{Profile → components/Profile}/Profile.d.ts +0 -0
  776. /package/lib/{Profile → components/Profile}/UserProfileMenu.d.ts +0 -0
  777. /package/lib/{Profile → components/Profile}/index.js +0 -0
  778. /package/lib/{SamplesPanelControls → components/SamplesPanelControls}/SamplesPanelControls.d.ts +0 -0
  779. /package/lib/{Search → components/Search}/ClearIcon.d.ts +0 -0
  780. /package/lib/{Search → components/Search}/ClearIcon.js +0 -0
  781. /package/lib/{Search → components/Search}/Input.d.ts +0 -0
  782. /package/lib/{Search → components/Search}/Input.js +0 -0
  783. /package/lib/{Search → components/Search}/Popover.d.ts +0 -0
  784. /package/lib/{Search → components/Search}/Popover.js +0 -0
  785. /package/lib/{Search → components/Search}/Search.d.ts +0 -0
  786. /package/lib/{Search → components/Search}/SearchIcon.d.ts +0 -0
  787. /package/lib/{Search → components/Search}/SearchIcon.js +0 -0
  788. /package/lib/{Search → components/Search}/ShortcutKey.d.ts +0 -0
  789. /package/lib/{Search → components/Search}/ShortcutKey.js +0 -0
  790. /package/lib/{Search → components/Search}/utils.d.ts +0 -0
  791. /package/lib/{Search → components/Search}/utils.js +0 -0
  792. /package/lib/{Sidebar → components/Separator}/SeparatorItem.d.ts +0 -0
  793. /package/lib/{Sidebar → components/Separator}/SeparatorLine.d.ts +0 -0
  794. /package/lib/{Sidebar → components/Separator}/SeparatorLine.js +0 -0
  795. /package/lib/{Sidebar → components/Sidebar}/BackButton.d.ts +0 -0
  796. /package/lib/{Sidebar → components/Sidebar}/DrilldownMenuItem.js +0 -0
  797. /package/lib/{Sidebar → components/Sidebar}/FooterWrapper.d.ts +0 -0
  798. /package/lib/{Sidebar → components/Sidebar}/FooterWrapper.js +0 -0
  799. /package/lib/{Sidebar → components/Sidebar}/HeaderWrapper.d.ts +0 -0
  800. /package/lib/{Sidebar → components/Sidebar}/HeaderWrapper.js +0 -0
  801. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarButton.d.ts +0 -0
  802. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarButton.js +0 -0
  803. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarIcon.d.ts +0 -0
  804. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarIcon.js +0 -0
  805. /package/lib/{Sidebar → components/Sidebar}/Sidebar.d.ts +0 -0
  806. /package/lib/{Sidebar → components/Sidebar}/Sidebar.js +0 -0
  807. /package/lib/{Sidebar → components/Sidebar}/SidebarLayout.d.ts +0 -0
  808. /package/lib/{SidebarActions → components/SidebarActions}/CollapseSidebarButton.d.ts +0 -0
  809. /package/lib/{SidebarActions → components/SidebarActions}/SidebarActions.d.ts +0 -0
  810. /package/lib/{SidebarActions → components/SidebarActions}/ToggleRightPanelButton.d.ts +0 -0
  811. /package/lib/{SidebarActions → components/SidebarActions}/styled.d.ts +0 -0
  812. /package/lib/{SidebarActions → components/SidebarActions}/styled.js +0 -0
  813. /package/lib/{SidebarLogo → components/SidebarLogo}/SidebarLogo.d.ts +0 -0
  814. /package/lib/{SidebarLogo → components/SidebarLogo}/SidebarLogo.js +0 -0
  815. /package/lib/{SourceCode → components/SourceCode}/SourceCode.d.ts +0 -0
  816. /package/lib/{TableOfContent → components/TableOfContent}/utils.js +0 -0
  817. /package/lib/{Markdown → components}/Tabs/Tab.d.ts +0 -0
  818. /package/lib/{Markdown → components}/Tabs/Tab.js +0 -0
  819. /package/lib/{Markdown → components}/Tabs/Tabs.d.ts +0 -0
  820. /package/lib/{Catalog → components/Tags}/Tags.d.ts +0 -0
  821. /package/lib/{ui → components}/Tiles/TileHeader.d.ts +0 -0
  822. /package/lib/{ui → components}/Tiles/TileHeader.js +0 -0
  823. /package/lib/{ui → components}/Tiles/TileText.d.ts +0 -0
  824. /package/lib/{ui → components}/Tiles/TileText.js +0 -0
  825. /package/lib/{Tooltip → components/Tooltip}/Tooltip.d.ts +0 -0
  826. /package/lib/{Typography → components/Typography}/Emphasis.d.ts +0 -0
  827. /package/lib/{Typography → components/Typography}/Emphasis.js +0 -0
  828. /package/lib/{Typography → components/Typography}/H1.d.ts +0 -0
  829. /package/lib/{Typography → components/Typography}/H2.d.ts +0 -0
  830. /package/lib/{Typography → components/Typography}/H3.d.ts +0 -0
  831. /package/lib/{Typography → components/Typography}/SectionHeader.d.ts +0 -0
  832. /package/lib/{Typography → components/Typography}/SectionHeader.js +0 -0
  833. /package/lib/{Typography → components/Typography}/Typography.d.ts +0 -0
  834. /package/lib/{Typography → components/Typography}/Typography.js +0 -0
  835. /package/lib/{Pages → layouts}/Forbidden.d.ts +0 -0
  836. /package/lib/{Pages → layouts}/NotFound.d.ts +0 -0
  837. /package/lib/{Layout → layouts}/PageLayout.d.ts +0 -0
  838. /package/lib/{Layout → layouts}/PageLayout.js +0 -0
  839. /package/src/{Button → components/Button}/Button.tsx +0 -0
  840. /package/src/{Cards → components/Cards}/CardsBlock.tsx +0 -0
  841. /package/src/{CodeBlock → components/CodeBlock}/CodeBlock.ts +0 -0
  842. /package/src/{ColorModeSwitcher → components/ColorModeSwitcher}/ColorModeSwitcher.tsx +0 -0
  843. /package/src/{EditPageButton → components/EditPageButton}/EditPageButton.tsx +0 -0
  844. /package/src/{Feedback → components/Feedback}/Thumbs.tsx +0 -0
  845. /package/src/{Catalog → components/Filter}/Filter.tsx +0 -0
  846. /package/src/{Footer → components/Footer}/CustomFooterNavItem.tsx +0 -0
  847. /package/src/{Footer → components/Footer}/FooterColumn.tsx +0 -0
  848. /package/src/{Footer → components/Footer}/FooterCopyright.tsx +0 -0
  849. /package/src/{LastUpdated → components/LastUpdated}/LastUpdated.tsx +0 -0
  850. /package/src/{Markdown → components/Markdown}/Admonition.tsx +0 -0
  851. /package/src/{Markdown → components/Markdown}/ContainerWrapper.tsx +0 -0
  852. /package/src/{Markdown → components/Markdown}/Details.tsx +0 -0
  853. /package/src/{Markdown → components/Markdown}/Heading.tsx +0 -0
  854. /package/src/{Markdown → components/Markdown}/MarkdownWrapper.tsx +0 -0
  855. /package/src/{Markdown → components/Markdown}/Mermaid.tsx +0 -0
  856. /package/src/{Markdown → components/Markdown}/PageWrapper.tsx +0 -0
  857. /package/src/{Markdown → components/Markdown}/Sup.tsx +0 -0
  858. /package/src/{Sidebar → components/Menu}/MenuLink.tsx +0 -0
  859. /package/src/{Navbar → components/Navbar}/MobileNavbarDropdown.tsx +0 -0
  860. /package/src/{Navbar → components/Navbar}/MobileNavbarMenuButton.tsx +0 -0
  861. /package/src/{Navbar → components/Navbar}/NavbarDropdown.tsx +0 -0
  862. /package/src/{NavbarLogo → components/NavbarLogo}/NavbarLogo.tsx +0 -0
  863. /package/src/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.tsx +0 -0
  864. /package/src/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.tsx +0 -0
  865. /package/src/{ReferenceDocs → components/OpenAPIDocs}/index.ts +0 -0
  866. /package/src/{OperationBadge → components/OperationBadge}/OperationBadge.ts +0 -0
  867. /package/src/{Panel → components/Panel}/PanelBody.ts +0 -0
  868. /package/src/{Panel → components/Panel}/PanelHeader.ts +0 -0
  869. /package/src/{Panel → components/Panel}/PanelHeaderTitle.ts +0 -0
  870. /package/src/{Profile → components/Profile}/LoginLink.tsx +0 -0
  871. /package/src/{Profile → components/Profile}/Profile.tsx +0 -0
  872. /package/src/{Profile → components/Profile}/UserProfileMenu.tsx +0 -0
  873. /package/src/{Search → components/Search}/ClearIcon.tsx +0 -0
  874. /package/src/{Search → components/Search}/Input.tsx +0 -0
  875. /package/src/{Search → components/Search}/Popover.tsx +0 -0
  876. /package/src/{Search → components/Search}/SearchIcon.tsx +0 -0
  877. /package/src/{Search → components/Search}/ShortcutKey.tsx +0 -0
  878. /package/src/{Search → components/Search}/utils.tsx +0 -0
  879. /package/src/{Sidebar → components/Separator}/SeparatorLine.tsx +0 -0
  880. /package/src/{Sidebar → components/Sidebar}/FooterWrapper.tsx +0 -0
  881. /package/src/{Sidebar → components/Sidebar}/HeaderWrapper.tsx +0 -0
  882. /package/src/{Sidebar → components/Sidebar}/MobileSidebarButton.tsx +0 -0
  883. /package/src/{Sidebar → components/Sidebar}/MobileSidebarIcon.tsx +0 -0
  884. /package/src/{Sidebar → components/Sidebar}/Sidebar.tsx +0 -0
  885. /package/src/{SidebarActions → components/SidebarActions}/styled.tsx +0 -0
  886. /package/src/{SidebarLogo → components/SidebarLogo}/SidebarLogo.tsx +0 -0
  887. /package/src/{TableOfContent → components/TableOfContent}/utils.ts +0 -0
  888. /package/src/{Markdown → components}/Tabs/Tab.tsx +0 -0
  889. /package/src/{Catalog → components/Tags}/Tags.tsx +0 -0
  890. /package/src/{ui → components}/Tiles/TileHeader.ts +0 -0
  891. /package/src/{ui → components}/Tiles/TileText.tsx +0 -0
  892. /package/src/{Tooltip → components/Tooltip}/Tooltip.tsx +0 -0
  893. /package/src/{Typography → components/Typography}/Emphasis.ts +0 -0
  894. /package/src/{Typography → components/Typography}/H1.ts +0 -0
  895. /package/src/{Typography → components/Typography}/H2.ts +0 -0
  896. /package/src/{Typography → components/Typography}/H3.ts +0 -0
  897. /package/src/{Typography → components/Typography}/SectionHeader.ts +0 -0
  898. /package/src/{Typography → components/Typography}/Typography.ts +0 -0
  899. /package/src/{Layout → layouts}/PageLayout.tsx +0 -0
  900. /package/src/types/portal/{index.d.ts → index.ts} +0 -0
@@ -0,0 +1,72 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NavbarMenuItem = exports.NavbarLink = exports.NavbarMenuItemWithDropdownWrapper = exports.NavbarItem = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const react_router_dom_1 = require("react-router-dom");
10
+ const Link_1 = require("../../mocks/Link");
11
+ const NavbarDropdown_1 = require("../../components/Navbar/NavbarDropdown");
12
+ const utils_1 = require("../../utils");
13
+ function NavbarItem({ navItem, className }) {
14
+ const { pathname } = (0, react_router_dom_1.useLocation)();
15
+ if (navItem.link) {
16
+ const item = navItem;
17
+ const isActive = pathname === (0, utils_1.withPathPrefix)(item.link);
18
+ return (react_1.default.createElement(exports.NavbarMenuItem, { active: isActive, "data-component-name": "Navbar/NavbarItem", className: className },
19
+ react_1.default.createElement(exports.NavbarLink, { to: item.link, external: item.external, target: item.target, active: isActive },
20
+ react_1.default.createElement(NavbarLabel, null, item.label))));
21
+ }
22
+ if (navItem.items) {
23
+ const item = navItem;
24
+ return (react_1.default.createElement(exports.NavbarMenuItemWithDropdownWrapper, null,
25
+ react_1.default.createElement(exports.NavbarMenuItem, { active: false, "data-component-name": "Navbar/NavbarItem", className: className },
26
+ react_1.default.createElement(NavbarLabel, null, item.label)),
27
+ react_1.default.createElement(NavbarDropdown_1.NavbarDropdown, { items: item.items })));
28
+ }
29
+ return null;
30
+ }
31
+ exports.NavbarItem = NavbarItem;
32
+ exports.NavbarMenuItemWithDropdownWrapper = styled_components_1.default.div `
33
+ display: inline-block;
34
+ position: relative;
35
+ border-radius: var(--navbar-item-border-radius);
36
+ &:hover {
37
+ background: var(--navbar-item-active-background-color);
38
+ ${NavbarDropdown_1.DropdownWrapper} {
39
+ display: block;
40
+ }
41
+ }
42
+ `;
43
+ exports.NavbarLink = (0, styled_components_1.default)(Link_1.Link) `
44
+ color: ${({ active }) => active ? 'var(--navbar-item-active-text-color)' : 'var(--navbar-text-color)'};
45
+ text-decoration: ${({ active }) => active ? 'var(--navbar-item-active-text-decoration)' : 'none'};
46
+ `;
47
+ exports.NavbarMenuItem = styled_components_1.default.li `
48
+ display: inline-block;
49
+ padding: var(--navbar-item-paddin-vertical) var(--navbar-item-padding-horizontal);
50
+ margin-left: var(--navbar-item-margin-horizontal);
51
+ text-align: center;
52
+ line-height: 1;
53
+ font-size: var(--navbar-item-font-size);
54
+ border-radius: var(--navbar-item-border-radius);
55
+ font-weight: var(--navbar-item-font-weight);
56
+ background: ${({ active }) => active && 'var(--navbar-item-active-background-color)'};
57
+ color: ${({ active }) => active && 'var(--navbar-item-active-text-color)'};
58
+ &:hover {
59
+ color: var(--navbar-item-hover-text-color);
60
+ text-decoration: var(--navbar-item-hover-text-decoration);
61
+ background: var(--navbar-item-hover-background-color);
62
+ ${exports.NavbarLink} {
63
+ color: var(--navbar-item-hover-text-color);
64
+ text-decoration: var(--navbar-item-hover-text-decoration);
65
+ }
66
+ }
67
+ `;
68
+ const NavbarLabel = styled_components_1.default.span `
69
+ cursor: pointer;
70
+ vertical-align: middle;
71
+ `;
72
+ //# sourceMappingURL=NavbarItem.js.map
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { ResolvedConfigLinks } from '../../types/portal';
3
+ export declare function NavbarMenu({ menuItems }: {
4
+ menuItems: ResolvedConfigLinks;
5
+ }): JSX.Element | null;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NavbarMenu = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const NavbarItem_1 = require("../../components/Navbar/NavbarItem");
10
+ const utils_1 = require("../../utils");
11
+ function NavbarMenu({ menuItems }) {
12
+ if ((0, utils_1.isPrimitive)(menuItems)) {
13
+ return null;
14
+ }
15
+ return (react_1.default.createElement(NavItemsContainer, { "data-component-name": "Navbar/NavbarMenu" }, menuItems.map((navItem, index) => {
16
+ return (react_1.default.createElement(NavbarItem_1.NavbarItem, { key: `${navItem.label}_${index}`, "data-cy": navItem.label, navItem: navItem }));
17
+ })));
18
+ }
19
+ exports.NavbarMenu = NavbarMenu;
20
+ const NavItemsContainer = styled_components_1.default.ul `
21
+ list-style: none;
22
+ margin: 0 var(--navbar-item-margin-horizontal);
23
+ padding: 0;
24
+ display: none;
25
+ flex-wrap: nowrap;
26
+ align-items: center;
27
+ justify-content: flex-end;
28
+ flex: 1;
29
+
30
+ ${({ theme }) => theme.mediaQueries.medium} {
31
+ display: flex;
32
+ }
33
+ `;
34
+ //# sourceMappingURL=NavbarMenu.js.map
@@ -0,0 +1,3 @@
1
+ export * from '../../components/Navbar/Navbar';
2
+ export * from '../../components/Navbar/NavbarItem';
3
+ export * from '../../components/Navbar/NavbarMenu';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../components/Navbar/Navbar"), exports);
18
+ __exportStar(require("../../components/Navbar/NavbarItem"), exports);
19
+ __exportStar(require("../../components/Navbar/NavbarMenu"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { LogoConfig } from '../../types/portal';
3
+ export type NavbarLogoProps = {
4
+ logo: Pick<LogoConfig, 'image' | 'link' | 'altText'>;
5
+ };
6
+ export declare function NavbarLogo({ logo }: NavbarLogoProps): JSX.Element | null;
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.NavbarLogo = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const Link_1 = require("../../mocks/Link");
10
+ function NavbarLogo({ logo }) {
11
+ if (!logo.image) {
12
+ return null;
13
+ }
14
+ const img = (react_1.default.createElement(NavLogo, { src: logo.image, alt: logo.altText, "data-component-name": "NavbarLogo/NavbarLogo" }));
15
+ return logo.link ? react_1.default.createElement(Link_1.Link, { to: logo.link }, img) : img;
16
+ }
17
+ exports.NavbarLogo = NavbarLogo;
18
+ const NavLogo = styled_components_1.default.img `
19
+ max-width: var(--navbar-logo-max-width);
20
+ max-height: var(--navbar-logo-max-height);
21
+ height: var(--navbar-logo-height);
22
+ margin: var(--navbar-logo-margin);
23
+ `;
24
+ //# sourceMappingURL=NavbarLogo.js.map
@@ -0,0 +1 @@
1
+ export * from '../../components/NavbarLogo/NavbarLogo';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../components/NavbarLogo/NavbarLogo"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,177 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.DevOnboardingTryItSecurity = void 0;
30
+ const React = __importStar(require("react"));
31
+ const styled_components_1 = __importDefault(require("styled-components"));
32
+ const Button_1 = require("../../components/Button/Button");
33
+ const usePreloadHistory_1 = require("../../mocks/usePreloadHistory");
34
+ const Dropdown_1 = require("./Dropdown");
35
+ function DevOnboardingTryItSecurity(props) {
36
+ const apiId = props.apiId;
37
+ const history = (0, usePreloadHistory_1.usePreloadHistory)();
38
+ // @ts-ignore
39
+ const { userData } = props;
40
+ // TODO: handle error
41
+ const [_error, setError] = React.useState();
42
+ const [apps, setApps] = React.useState();
43
+ const [appId, setAppId] = React.useState('');
44
+ const [loading, setLoading] = React.useState(true);
45
+ const [appLoading, setAppLoading] = React.useState(false);
46
+ const [selectedAppSecret, setSelectedAppSecret] = React.useState();
47
+ const [acceptValueUpdate, setAcceptValueUpdate] = React.useState(true);
48
+ const initialRender = React.useRef(true);
49
+ const hasApiAccess = !loading && !!(apps === null || apps === void 0 ? void 0 : apps.length);
50
+ React.useEffect(() => {
51
+ if (!props.value && initialRender.current)
52
+ return;
53
+ if (acceptValueUpdate) {
54
+ setAcceptValueUpdate(false);
55
+ }
56
+ else {
57
+ setAppId('');
58
+ setSelectedAppSecret('');
59
+ }
60
+ // eslint-disable-next-line react-hooks/exhaustive-deps
61
+ }, [props.value]);
62
+ React.useEffect(() => {
63
+ initialRender.current = false;
64
+ const prevAppId = sessionStorage.getItem('redocly_onboarding:prevAppId');
65
+ if (prevAppId) {
66
+ setAppId(prevAppId);
67
+ }
68
+ if (userData === null || userData === void 0 ? void 0 : userData.isAuthenticated) {
69
+ fetch(`/api/api-keys/api-products/${apiId}/access?expand=1`).then((res) => {
70
+ return res
71
+ .json()
72
+ .then((data) => {
73
+ var _a;
74
+ if (res.ok) {
75
+ setApps(data.apps);
76
+ if ((_a = data.apps[0]) === null || _a === void 0 ? void 0 : _a.id) {
77
+ setAppId(data.apps[0].id);
78
+ loadAppCredentials(data.apps[0].id);
79
+ }
80
+ }
81
+ else {
82
+ setError(data.message);
83
+ }
84
+ })
85
+ .catch(() => setError('Something went wrong'))
86
+ .finally(() => setLoading(false));
87
+ });
88
+ }
89
+ }, [apiId, userData === null || userData === void 0 ? void 0 : userData.isAuthenticated]);
90
+ React.useEffect(() => {
91
+ sessionStorage.setItem('redocly_onboarding:prevAppId', appId || '');
92
+ }, [appId]);
93
+ if (!apiId || !(userData === null || userData === void 0 ? void 0 : userData.isAuthenticated)) {
94
+ return null;
95
+ }
96
+ const loadAppCredentials = (appId) => {
97
+ setAppLoading(true);
98
+ fetch(`/api/api-keys/apps/${appId}`).then((res) => {
99
+ return res
100
+ .json()
101
+ .then((data) => {
102
+ if (res.ok) {
103
+ const cred = data.credentials.find((cred) => cred.status === 'approved');
104
+ setAcceptValueUpdate(true);
105
+ setSelectedAppSecret(cred.clientSecret);
106
+ }
107
+ else {
108
+ setError(data.message);
109
+ }
110
+ })
111
+ .catch(() => setError('Something went wrong'))
112
+ .finally(() => setAppLoading(false));
113
+ });
114
+ };
115
+ const placeholder = loading
116
+ ? 'Loading your apps...'
117
+ : hasApiAccess
118
+ ? undefined
119
+ : 'You do not have access to this API';
120
+ return (React.createElement(React.Fragment, null,
121
+ React.createElement(FormLabel, { htmlFor: "server" }, "Select app: "),
122
+ React.createElement(FormControl, null,
123
+ React.createElement(TryItDropdown, { placeholder: placeholder, value: appId || placeholder, options: (apps === null || apps === void 0 ? void 0 : apps.map((app) => ({ title: app.title, value: app.id }))) || [], fullWidth: true, onChange: ({ value }) => {
124
+ setAppId(value);
125
+ loadAppCredentials(value);
126
+ } }),
127
+ React.createElement(UseKeyButton, { disabled: (!selectedAppSecret && hasApiAccess) || appLoading, color: "secondary", onClick: () => {
128
+ if (selectedAppSecret) {
129
+ props.onChange(selectedAppSecret);
130
+ }
131
+ else if (!hasApiAccess) {
132
+ history.push('/apps/?createApp&apiId=' + apiId);
133
+ }
134
+ } }, appLoading ? 'Loading...' : hasApiAccess ? 'Use key' : 'Request access'))));
135
+ }
136
+ exports.DevOnboardingTryItSecurity = DevOnboardingTryItSecurity;
137
+ const TryItDropdown = (0, styled_components_1.default)(Dropdown_1.Dropdown) `
138
+ .dropdown-select,
139
+ label {
140
+ background-color: var(--panel-try-it-dropdown-background-color);
141
+ border: var(--panel-try-it-dropdown-border);
142
+ color: var(--panel-try-it-dropdown-color);
143
+ }
144
+ `;
145
+ const FormControl = styled_components_1.default.div `
146
+ width: 100%;
147
+ display: flex;
148
+ flex-direction: column;
149
+ margin-bottom: 10px;
150
+
151
+ &:last-child {
152
+ margin-bottom: 0;
153
+ }
154
+ `;
155
+ const FormLabel = styled_components_1.default.label `
156
+ padding-bottom: 6px;
157
+ display: block;
158
+ white-space: nowrap;
159
+ line-height: 1em;
160
+
161
+ ${({ required }) => required &&
162
+ `
163
+ &:after {
164
+ display: inline-block;
165
+ content: '*';
166
+ margin-left: 4px;
167
+ color: var(--color-error-500);
168
+ }
169
+ `}
170
+ `;
171
+ const UseKeyButton = (0, styled_components_1.default)(Button_1.Button) `
172
+ min-width: 100px;
173
+ align-self: flex-end;
174
+ margin-top: 10px;
175
+ margin-right: 0;
176
+ `;
177
+ //# sourceMappingURL=DevOnboardingTryItSecurity.js.map
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ export type TryItSecurityAppsProps = {
3
+ apiId?: string;
4
+ value?: string;
5
+ onChange: (newSecretKey: string) => void;
6
+ userData?: any;
7
+ };
8
+ export declare function TryItSecurityApps(props: TryItSecurityAppsProps): JSX.Element | null;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TryItSecurityApps = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const hooks_1 = require("../../mocks/hooks");
9
+ const DevOnboardingTryItSecurity_1 = require("./DevOnboardingTryItSecurity");
10
+ function TryItSecurityApps(props) {
11
+ const { hasDeveloperOnboarding } = (0, hooks_1.useGlobalData)() || {};
12
+ return hasDeveloperOnboarding && props.apiId ? react_1.default.createElement(DevOnboardingTryItSecurity_1.DevOnboardingTryItSecurity, Object.assign({}, props)) : null;
13
+ }
14
+ exports.TryItSecurityApps = TryItSecurityApps;
15
+ //# sourceMappingURL=TryItSecurityApps.js.map
@@ -0,0 +1 @@
1
+ export * from '../../components/OperationBadge/OperationBadge';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../components/OperationBadge/OperationBadge"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { ResolvedNavItemWithLink } from '../../types/portal';
3
+ interface NextPageType {
4
+ nextPage?: ResolvedNavItemWithLink | null;
5
+ }
6
+ export declare function NextButton({ nextPage }: NextPageType): JSX.Element;
7
+ export {};
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __importDefault = (this && this.__importDefault) || function (mod) {
26
+ return (mod && mod.__esModule) ? mod : { "default": mod };
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.NextButton = void 0;
30
+ const React = __importStar(require("react"));
31
+ const styled_components_1 = __importDefault(require("styled-components"));
32
+ const Button_1 = require("../../components/Button");
33
+ const useThemeConfig_1 = require("../../hooks/useThemeConfig");
34
+ function NextButton({ nextPage }) {
35
+ var _a, _b;
36
+ const { navigation } = (0, useThemeConfig_1.useThemeConfig)();
37
+ if (!nextPage || ((_a = navigation === null || navigation === void 0 ? void 0 : navigation.nextButton) === null || _a === void 0 ? void 0 : _a.hide)) {
38
+ return React.createElement("div", null, "\u00A0");
39
+ }
40
+ const text = (((_b = navigation === null || navigation === void 0 ? void 0 : navigation.nextButton) === null || _b === void 0 ? void 0 : _b.text) || 'Next to {label}').replace('{label}', nextPage.label || nextPage.routeSlug || '');
41
+ return (React.createElement(StyledButton, { variant: "outlined", size: "large", to: nextPage.link, "data-component-name": "PageNavigation/NextPageLink" }, text));
42
+ }
43
+ exports.NextButton = NextButton;
44
+ const StyledButton = (0, styled_components_1.default)(Button_1.Button) `
45
+ font-family: var(--font-family-base);
46
+ `;
47
+ //# sourceMappingURL=NextButton.js.map
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import type { ResolvedNavItemWithLink } from '../../types/portal';
3
+ interface PageNavigationType {
4
+ nextPage?: ResolvedNavItemWithLink | null;
5
+ prevPage?: ResolvedNavItemWithLink | null;
6
+ }
7
+ export declare function PageNavigation({ nextPage, prevPage }: PageNavigationType): JSX.Element | null;
8
+ export {};
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PageNavigation = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const PreviousButton_1 = require("../../components/PageNavigation/PreviousButton");
10
+ const NextButton_1 = require("../../components/PageNavigation/NextButton");
11
+ const useThemeConfig_1 = require("../../hooks/useThemeConfig");
12
+ function PageNavigation({ nextPage, prevPage }) {
13
+ var _a, _b;
14
+ const { navigation } = (0, useThemeConfig_1.useThemeConfig)();
15
+ if (((_a = navigation === null || navigation === void 0 ? void 0 : navigation.previousButton) === null || _a === void 0 ? void 0 : _a.hide) && ((_b = navigation === null || navigation === void 0 ? void 0 : navigation.nextButton) === null || _b === void 0 ? void 0 : _b.hide)) {
16
+ return null;
17
+ }
18
+ return (react_1.default.createElement(PageNavigationWrapper, { "data-component-name": "PageNavigation/PageNavigation" },
19
+ react_1.default.createElement(PreviousButton_1.PreviousButton, { prevPage: prevPage }),
20
+ react_1.default.createElement(NextButton_1.NextButton, { nextPage: nextPage })));
21
+ }
22
+ exports.PageNavigation = PageNavigation;
23
+ const PageNavigationWrapper = styled_components_1.default.div `
24
+ display: flex;
25
+ justify-content: space-between;
26
+ margin: 25px 0;
27
+
28
+ @media print {
29
+ display: none;
30
+ }
31
+ `;
32
+ //# sourceMappingURL=PageNavigation.js.map
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import type { ResolvedNavItemWithLink } from '../../types/portal';
3
+ interface PreviousPageType {
4
+ prevPage?: ResolvedNavItemWithLink | null;
5
+ }
6
+ export declare function PreviousButton({ prevPage }: PreviousPageType): JSX.Element;
7
+ export {};
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.PreviousButton = void 0;
7
+ const react_1 = __importDefault(require("react"));
8
+ const styled_components_1 = __importDefault(require("styled-components"));
9
+ const Button_1 = require("../../components/Button");
10
+ const useThemeConfig_1 = require("../../hooks/useThemeConfig");
11
+ function PreviousButton({ prevPage }) {
12
+ var _a, _b;
13
+ const { navigation } = (0, useThemeConfig_1.useThemeConfig)();
14
+ if (!prevPage || ((_a = navigation === null || navigation === void 0 ? void 0 : navigation.previousButton) === null || _a === void 0 ? void 0 : _a.hide)) {
15
+ return react_1.default.createElement("div", null, "\u00A0");
16
+ }
17
+ const text = (((_b = navigation === null || navigation === void 0 ? void 0 : navigation.previousButton) === null || _b === void 0 ? void 0 : _b.text) || 'Back to {label}').replace('{label}', prevPage.label || prevPage.routeSlug || '');
18
+ return (react_1.default.createElement(StyledButton, { variant: "outlined", size: "large", to: prevPage.link, "data-component-name": "PageNavigation/PreviousPageLink" }, text));
19
+ }
20
+ exports.PreviousButton = PreviousButton;
21
+ const StyledButton = (0, styled_components_1.default)(Button_1.Button) `
22
+ font-family: var(--font-family-base);
23
+ `;
24
+ //# sourceMappingURL=PreviousButton.js.map
@@ -0,0 +1,3 @@
1
+ export * from '../../components/PageNavigation/NextButton';
2
+ export * from '../../components/PageNavigation/PageNavigation';
3
+ export * from '../../components/PageNavigation/PreviousButton';
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("../../components/PageNavigation/NextButton"), exports);
18
+ __exportStar(require("../../components/PageNavigation/PageNavigation"), exports);
19
+ __exportStar(require("../../components/PageNavigation/PreviousButton"), exports);
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,5 @@
1
+ import { PanelComponent } from '../../components/Panel/PanelComponent';
2
+ export declare const Panel: import("styled-components").StyledComponent<typeof PanelComponent, any, {
3
+ 'data-component-name': string;
4
+ className: string;
5
+ }, "className" | "data-component-name">;
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.Panel = void 0;
7
+ const styled_components_1 = __importDefault(require("styled-components"));
8
+ const PanelHeader_1 = require("../../components/Panel/PanelHeader");
9
+ const PanelBody_1 = require("../../components/Panel/PanelBody");
10
+ const PanelComponent_1 = require("../../components/Panel/PanelComponent");
11
+ const ShelfIcon_1 = require("../../icons/ShelfIcon");
12
+ exports.Panel = (0, styled_components_1.default)(PanelComponent_1.PanelComponent).attrs(({ className }) => ({
13
+ 'data-component-name': 'Panel/Panel',
14
+ className: className || 'panel-default',
15
+ })) `
16
+ background-color: var(--panel-background-color);
17
+ color: var(--panel-text-color);
18
+ font-family: var(--panel-font-family-local);
19
+ font-size: var(--panel-font-size-local);
20
+ font-weight: var(--panel-font-weight-local);
21
+ border-radius: var(--panel-border-radius-local);
22
+ border: var(--panel-border-local);
23
+
24
+ ${PanelHeader_1.PanelHeader} + ${PanelBody_1.PanelBody} {
25
+ border-top-left-radius: 0;
26
+ border-top-right-radius: 0;
27
+ }
28
+
29
+ ${PanelHeader_1.PanelHeader} {
30
+ ${ShelfIcon_1.ShelfIcon} {
31
+ fill: var(--panel-chevron-icon-color);
32
+ }
33
+ }
34
+
35
+ &:not(:last-child) {
36
+ margin-bottom: var(--panel-gap-vertical);
37
+ }
38
+ `;
39
+ //# sourceMappingURL=Panel.js.map
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { PropsWithChildren, ReactNode } from 'react';
3
+ import type { PanelHeaderProps } from '../../components/Panel/PanelHeader';
4
+ export interface PanelComponentProps {
5
+ expanded?: boolean;
6
+ className?: string;
7
+ renderChildrenHidden?: boolean;
8
+ header?: ReactNode | ((props: PanelHeaderProps) => ReactNode);
9
+ onToggle?: (expanded: boolean) => void;
10
+ description?: React.ReactNode;
11
+ }
12
+ export declare function PanelComponent({ expanded, renderChildrenHidden, header, className, children, onToggle, description, }: PropsWithChildren<PanelComponentProps>): JSX.Element;
13
+ export declare const InlineBox: import("styled-components").StyledComponent<"div", any, {}, never>;