@redocly/theme 0.10.0 → 0.11.1

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 (898) 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 +178 -0
  114. package/lib/components/OpenAPIDocs/TryItSecurityApps.js +15 -0
  115. package/lib/components/OperationBadge/index.d.ts +1 -0
  116. package/lib/components/OperationBadge/index.js +18 -0
  117. package/lib/components/PageNavigation/NextButton.d.ts +7 -0
  118. package/lib/components/PageNavigation/NextButton.js +47 -0
  119. package/lib/components/PageNavigation/PageNavigation.d.ts +8 -0
  120. package/lib/components/PageNavigation/PageNavigation.js +32 -0
  121. package/lib/components/PageNavigation/PreviousButton.d.ts +7 -0
  122. package/lib/components/PageNavigation/PreviousButton.js +24 -0
  123. package/lib/components/PageNavigation/index.d.ts +3 -0
  124. package/lib/components/PageNavigation/index.js +20 -0
  125. package/lib/components/Panel/Panel.d.ts +5 -0
  126. package/lib/components/Panel/Panel.js +39 -0
  127. package/lib/components/Panel/PanelComponent.d.ts +13 -0
  128. package/lib/components/Panel/PanelComponent.js +65 -0
  129. package/lib/components/Panel/index.d.ts +5 -0
  130. package/lib/components/Panel/index.js +22 -0
  131. package/lib/components/Profile/AuthUserProfile.d.ts +2 -0
  132. package/lib/components/Profile/AuthUserProfile.js +22 -0
  133. package/lib/components/Profile/LoginLink.js +30 -0
  134. package/lib/components/Profile/Profile.js +104 -0
  135. package/lib/components/Profile/UserProfile.d.ts +3 -0
  136. package/lib/components/Profile/UserProfile.js +46 -0
  137. package/lib/components/Profile/UserProfileMenu.js +87 -0
  138. package/lib/components/Profile/index.d.ts +6 -0
  139. package/lib/components/Profile/types.d.ts +11 -0
  140. package/lib/components/Profile/types.js +3 -0
  141. package/lib/components/SamplesPanelControls/SamplesPanelControls.js +75 -0
  142. package/lib/components/SamplesPanelControls/index.d.ts +1 -0
  143. package/lib/components/SamplesPanelControls/index.js +18 -0
  144. package/lib/components/Search/Autocomplete.d.ts +16 -0
  145. package/lib/components/Search/Autocomplete.js +122 -0
  146. package/lib/components/Search/Parameters.d.ts +7 -0
  147. package/lib/components/Search/Parameters.js +55 -0
  148. package/lib/components/Search/Search.js +65 -0
  149. package/lib/components/Search/SearchItem.d.ts +8 -0
  150. package/lib/components/Search/SearchItem.js +98 -0
  151. package/lib/components/Search/SidebarSearch.d.ts +4 -0
  152. package/lib/components/Search/SidebarSearch.js +20 -0
  153. package/lib/components/Search/index.d.ts +9 -0
  154. package/lib/components/Search/index.js +26 -0
  155. package/lib/components/Separator/Separator.d.ts +3 -0
  156. package/lib/components/Separator/Separator.js +18 -0
  157. package/lib/components/Separator/SeparatorItem.js +29 -0
  158. package/lib/components/Separator/index.d.ts +3 -0
  159. package/lib/components/Separator/index.js +20 -0
  160. package/lib/components/Sidebar/ApiCallItem.d.ts +9 -0
  161. package/lib/components/Sidebar/ApiCallItem.js +34 -0
  162. package/lib/components/Sidebar/BackButton.js +39 -0
  163. package/lib/components/Sidebar/Drilldown.d.ts +8 -0
  164. package/lib/components/Sidebar/Drilldown.js +43 -0
  165. package/lib/components/Sidebar/DrilldownMenu.d.ts +3 -0
  166. package/lib/components/Sidebar/DrilldownMenu.js +71 -0
  167. package/lib/components/Sidebar/DrilldownMenuItem.d.ts +3 -0
  168. package/lib/components/Sidebar/SidebarLayout.js +85 -0
  169. package/lib/components/Sidebar/index.d.ts +11 -0
  170. package/lib/components/Sidebar/index.js +28 -0
  171. package/lib/components/Sidebar/types.d.ts +43 -0
  172. package/lib/components/Sidebar/types.js +8 -0
  173. package/lib/components/SidebarActions/ChangeViewButton.d.ts +8 -0
  174. package/lib/components/SidebarActions/ChangeViewButton.js +14 -0
  175. package/lib/components/SidebarActions/CollapseSidebarButton.js +13 -0
  176. package/lib/components/SidebarActions/SidebarActions.js +26 -0
  177. package/lib/components/SidebarActions/ToggleRightPanelButton.js +13 -0
  178. package/lib/components/SidebarActions/index.d.ts +1 -0
  179. package/lib/components/SidebarActions/index.js +7 -0
  180. package/lib/components/SidebarLogo/index.d.ts +1 -0
  181. package/lib/components/SidebarLogo/index.js +18 -0
  182. package/lib/components/SourceCode/SourceCode.js +60 -0
  183. package/lib/components/SourceCode/index.d.ts +1 -0
  184. package/lib/components/SourceCode/index.js +18 -0
  185. package/lib/components/TableOfContent/TableOfContent.d.ts +8 -0
  186. package/lib/components/TableOfContent/TableOfContent.js +109 -0
  187. package/lib/components/TableOfContent/index.d.ts +1 -0
  188. package/lib/components/TableOfContent/index.js +18 -0
  189. package/lib/components/TableOfContent/utils.d.ts +4 -0
  190. package/lib/components/Tabs/Tabs.js +73 -0
  191. package/lib/components/Tabs/index.d.ts +2 -0
  192. package/lib/components/Tabs/index.js +19 -0
  193. package/lib/components/Tags/Tags.js +32 -0
  194. package/lib/components/Tags/index.d.ts +1 -0
  195. package/lib/components/Tags/index.js +18 -0
  196. package/lib/components/Tiles/ThinTile.d.ts +5 -0
  197. package/lib/components/Tiles/ThinTile.js +124 -0
  198. package/lib/components/Tiles/WideTile.d.ts +7 -0
  199. package/lib/components/Tiles/WideTile.js +114 -0
  200. package/lib/components/Tiles/index.d.ts +4 -0
  201. package/lib/components/Tiles/index.js +21 -0
  202. package/lib/components/Tiles/types.d.ts +17 -0
  203. package/lib/components/Tiles/types.js +3 -0
  204. package/lib/components/Tooltip/Tooltip.js +173 -0
  205. package/lib/components/Tooltip/index.d.ts +1 -0
  206. package/lib/components/Tooltip/index.js +18 -0
  207. package/lib/components/Typography/CompactTypography.d.ts +7 -0
  208. package/lib/components/Typography/CompactTypography.js +14 -0
  209. package/lib/components/Typography/H1.js +17 -0
  210. package/lib/components/Typography/H2.js +17 -0
  211. package/lib/components/Typography/H3.js +17 -0
  212. package/lib/components/Typography/index.d.ts +7 -0
  213. package/lib/components/Typography/index.js +24 -0
  214. package/lib/components/index.d.ts +28 -0
  215. package/lib/components/index.js +45 -0
  216. package/lib/hooks/useThemeConfig.d.ts +4 -1
  217. package/lib/hooks/useThemeConfig.js +7 -3
  218. package/lib/icons/ExternalIcon/ExternalIcon.d.ts +5 -0
  219. package/lib/icons/ExternalIcon/ExternalIcon.js +22 -0
  220. package/lib/icons/ExternalIcon/index.d.ts +1 -0
  221. package/lib/icons/ExternalIcon/index.js +18 -0
  222. package/lib/icons/index.d.ts +1 -0
  223. package/lib/icons/index.js +1 -0
  224. package/lib/index.d.ts +3 -21
  225. package/lib/index.js +3 -21
  226. package/lib/layouts/Forbidden.js +39 -0
  227. package/lib/layouts/NotFound.js +39 -0
  228. package/lib/layouts/RootLayout.d.ts +6 -0
  229. package/lib/layouts/RootLayout.js +19 -0
  230. package/lib/layouts/index.d.ts +4 -0
  231. package/lib/layouts/index.js +21 -0
  232. package/lib/mocks/Profile/useProfileProps.d.ts +1 -0
  233. package/lib/mocks/Profile/useProfileProps.js +17 -0
  234. package/lib/mocks/Sidebar/getMenuType.d.ts +2 -0
  235. package/lib/mocks/Sidebar/getMenuType.js +10 -0
  236. package/lib/mocks/Sidebar/types.d.ts +11 -0
  237. package/lib/mocks/Sidebar/types.js +11 -0
  238. package/lib/mocks/Sidebar/useDrilldown.d.ts +8 -0
  239. package/lib/mocks/Sidebar/useDrilldown.js +19 -0
  240. package/lib/mocks/Sidebar/useMenuGroup.d.ts +6 -0
  241. package/lib/mocks/Sidebar/useMenuGroup.js +17 -0
  242. package/lib/mocks/hooks/index.d.ts +2 -2
  243. package/lib/mocks/hooks/usePageData.d.ts +1 -1
  244. package/lib/types/portal/index.d.ts +2 -0
  245. package/lib/types/portal/index.js +18 -0
  246. package/lib/types/portal/src/shared/constants.d.ts +17 -0
  247. package/lib/types/portal/src/shared/constants.js +22 -0
  248. package/lib/types/portal/src/shared/types/activeItem.d.ts +3 -0
  249. package/lib/types/portal/src/shared/types/activeItem.js +3 -0
  250. package/lib/types/portal/src/shared/types/catalog.d.ts +49 -0
  251. package/lib/types/portal/src/shared/types/catalog.js +3 -0
  252. package/lib/types/portal/src/shared/types/feedback.d.ts +11 -0
  253. package/lib/types/portal/src/shared/types/feedback.js +3 -0
  254. package/lib/types/portal/src/shared/types/markdown.d.ts +5 -0
  255. package/lib/types/portal/src/shared/types/markdown.js +3 -0
  256. package/lib/types/portal/src/shared/types/nav.d.ts +149 -0
  257. package/lib/types/portal/src/shared/types/nav.js +8 -0
  258. package/lib/types/portal/src/shared/types/searchDocument.d.ts +19 -0
  259. package/lib/types/portal/src/shared/types/searchDocument.js +5 -0
  260. package/lib/ui/ArrowBack.d.ts +5 -0
  261. package/lib/ui/ArrowBack.js +22 -0
  262. package/lib/ui/Dropdown.d.ts +1 -1
  263. package/lib/ui/Jumbotron.js +1 -1
  264. package/lib/ui/index.d.ts +1 -1
  265. package/lib/ui/index.js +1 -1
  266. package/lib/utils/index.d.ts +2 -0
  267. package/lib/utils/index.js +2 -0
  268. package/lib/utils/jsUtils.d.ts +4 -0
  269. package/lib/utils/jsUtils.js +21 -0
  270. package/lib/utils/urls.d.ts +11 -0
  271. package/lib/utils/urls.js +55 -0
  272. package/package.json +1 -1
  273. package/src/components/ApiOnboarding/AppCustomAttributes.tsx +9 -0
  274. package/src/components/Button/index.ts +1 -0
  275. package/src/components/Cards/Card.tsx +49 -0
  276. package/src/components/Cards/index.ts +2 -0
  277. package/src/components/Catalog/Catalog.tsx +200 -0
  278. package/src/components/Catalog/CatalogCard.tsx +95 -0
  279. package/src/components/Catalog/useCatalog.ts +280 -0
  280. package/src/components/CodeBlock/index.ts +1 -0
  281. package/src/components/CodeSample/CodeSample.tsx +236 -0
  282. package/src/components/CodeSample/index.ts +1 -0
  283. package/src/components/ColorModeSwitcher/index.ts +1 -0
  284. package/src/components/CopyButton/CopyButton.tsx +31 -0
  285. package/src/components/CopyButton/CopyButtonWrapper.tsx +55 -0
  286. package/src/components/CopyButton/index.ts +2 -0
  287. package/src/components/EditPageButton/index.ts +1 -0
  288. package/src/components/Feedback/Comment.tsx +80 -0
  289. package/src/components/Feedback/Feedback.tsx +47 -0
  290. package/src/components/Feedback/Rating.tsx +107 -0
  291. package/src/components/Feedback/Reasons.tsx +81 -0
  292. package/src/components/Feedback/ReportDialog.tsx +51 -0
  293. package/src/components/Feedback/Sentiment.tsx +74 -0
  294. package/src/components/Feedback/index.ts +8 -0
  295. package/src/components/Feedback/types.ts +69 -0
  296. package/src/components/Feedback/useReportDialog.ts +34 -0
  297. package/src/components/Filter/index.ts +1 -0
  298. package/src/components/Footer/CustomFooter.tsx +45 -0
  299. package/src/components/Footer/Footer.tsx +54 -0
  300. package/src/components/Footer/FooterColumns.tsx +53 -0
  301. package/src/components/Footer/index.ts +4 -0
  302. package/src/components/JsonViewer/JsonViewer.tsx +256 -0
  303. package/src/components/JsonViewer/index.ts +1 -0
  304. package/src/components/Markdown/MarkdownLayout.tsx +69 -0
  305. package/src/components/Markdown/index.ts +9 -0
  306. package/src/components/Menu/Menu.tsx +38 -0
  307. package/src/components/Menu/MenuContainer.tsx +15 -0
  308. package/src/components/Menu/MenuGroup.tsx +91 -0
  309. package/src/components/Menu/MenuItem.tsx +25 -0
  310. package/src/components/Menu/MenuItemLabel.tsx +41 -0
  311. package/src/components/Menu/MenuItemSwitch.tsx +63 -0
  312. package/src/components/Menu/MenuLinkItem.tsx +24 -0
  313. package/src/components/Menu/index.ts +7 -0
  314. package/src/components/Navbar/MobileNavbarItem.tsx +115 -0
  315. package/src/components/Navbar/MobileNavbarMenu.tsx +125 -0
  316. package/src/components/Navbar/Navbar.tsx +149 -0
  317. package/src/components/Navbar/NavbarItem.tsx +102 -0
  318. package/src/components/Navbar/NavbarMenu.tsx +37 -0
  319. package/src/components/Navbar/index.ts +3 -0
  320. package/src/components/NavbarLogo/index.ts +1 -0
  321. package/src/components/OpenAPIDocs/DevOnboardingTryItSecurity.tsx +179 -0
  322. package/src/components/OperationBadge/index.ts +1 -0
  323. package/src/components/PageNavigation/NextButton.tsx +38 -0
  324. package/src/components/PageNavigation/PageNavigation.tsx +37 -0
  325. package/src/components/PageNavigation/PreviousButton.tsx +38 -0
  326. package/src/components/PageNavigation/index.ts +3 -0
  327. package/src/components/Panel/Panel.ts +34 -0
  328. package/src/components/Panel/PanelComponent.tsx +79 -0
  329. package/src/components/Panel/index.ts +5 -0
  330. package/src/components/Profile/AuthUserProfile.tsx +25 -0
  331. package/src/components/Profile/UserProfile.tsx +46 -0
  332. package/src/components/Profile/index.ts +6 -0
  333. package/src/components/Profile/types.ts +11 -0
  334. package/src/components/SamplesPanelControls/SamplesPanelControls.ts +73 -0
  335. package/src/components/SamplesPanelControls/index.ts +1 -0
  336. package/src/components/Search/Autocomplete.tsx +148 -0
  337. package/src/components/Search/Parameters.tsx +61 -0
  338. package/src/components/Search/Search.tsx +50 -0
  339. package/src/components/Search/SearchItem.tsx +91 -0
  340. package/src/components/Search/SidebarSearch.tsx +15 -0
  341. package/src/components/Search/index.ts +9 -0
  342. package/src/components/Separator/Separator.tsx +17 -0
  343. package/src/components/Separator/SeparatorItem.tsx +24 -0
  344. package/src/components/Separator/index.ts +3 -0
  345. package/src/components/Sidebar/ApiCallItem.tsx +39 -0
  346. package/src/components/Sidebar/BackButton.tsx +44 -0
  347. package/src/components/Sidebar/Drilldown.tsx +44 -0
  348. package/src/components/Sidebar/DrilldownMenu.tsx +58 -0
  349. package/src/components/Sidebar/DrilldownMenuItem.tsx +44 -0
  350. package/src/components/Sidebar/SidebarLayout.tsx +107 -0
  351. package/src/components/Sidebar/index.ts +11 -0
  352. package/src/components/Sidebar/types.ts +47 -0
  353. package/src/components/SidebarActions/ChangeViewButton.tsx +24 -0
  354. package/src/components/SidebarActions/CollapseSidebarButton.tsx +25 -0
  355. package/src/components/SidebarActions/SidebarActions.tsx +71 -0
  356. package/src/components/SidebarActions/ToggleRightPanelButton.tsx +25 -0
  357. package/src/components/SidebarActions/index.tsx +1 -0
  358. package/src/components/SidebarLogo/index.ts +1 -0
  359. package/src/components/SourceCode/SourceCode.tsx +128 -0
  360. package/src/components/SourceCode/index.ts +1 -0
  361. package/src/components/TableOfContent/TableOfContent.tsx +116 -0
  362. package/src/components/TableOfContent/index.ts +1 -0
  363. package/src/components/Tabs/Tabs.tsx +58 -0
  364. package/src/components/Tabs/index.ts +2 -0
  365. package/src/components/Tags/index.ts +1 -0
  366. package/src/components/Tiles/ThinTile.tsx +134 -0
  367. package/src/components/Tiles/WideTile.tsx +138 -0
  368. package/src/components/Tiles/index.ts +4 -0
  369. package/src/components/Tiles/types.ts +19 -0
  370. package/src/components/Tooltip/index.ts +1 -0
  371. package/src/components/Typography/CompactTypography.ts +9 -0
  372. package/src/components/Typography/index.ts +7 -0
  373. package/src/components/index.ts +28 -0
  374. package/src/hooks/useThemeConfig.ts +10 -1
  375. package/src/icons/ExternalIcon/ExternalIcon.tsx +44 -0
  376. package/src/icons/ExternalIcon/index.ts +1 -0
  377. package/src/icons/index.ts +1 -0
  378. package/src/index.ts +3 -21
  379. package/src/layouts/Forbidden.tsx +41 -0
  380. package/src/layouts/NotFound.tsx +42 -0
  381. package/src/layouts/RootLayout.tsx +21 -0
  382. package/src/layouts/index.ts +4 -0
  383. package/src/mocks/Profile/useProfileProps.tsx +12 -0
  384. package/src/mocks/Sidebar/getMenuType.ts +6 -0
  385. package/src/mocks/Sidebar/types.ts +15 -0
  386. package/src/mocks/Sidebar/useDrilldown.tsx +12 -0
  387. package/src/mocks/Sidebar/useMenuGroup.tsx +10 -0
  388. package/src/types/portal/src/shared/constants.ts +17 -0
  389. package/src/types/portal/src/shared/types/activeItem.ts +1 -0
  390. package/src/types/portal/src/shared/types/catalog.ts +51 -0
  391. package/src/types/portal/src/shared/types/feedback.ts +14 -0
  392. package/src/types/portal/src/shared/types/markdown.ts +6 -0
  393. package/src/types/portal/src/shared/types/nav.ts +167 -0
  394. package/src/types/portal/src/shared/types/searchDocument.ts +20 -0
  395. package/src/ui/ArrowBack.tsx +34 -0
  396. package/src/ui/Jumbotron.tsx +1 -1
  397. package/src/ui/index.tsx +1 -1
  398. package/src/utils/index.ts +2 -0
  399. package/src/utils/jsUtils.ts +18 -0
  400. package/src/utils/urls.ts +54 -0
  401. package/lib/ApiOnboarding/AppCustomAttributes.js +0 -8
  402. package/lib/Button/Button.js +0 -156
  403. package/lib/Button/index.d.ts +0 -1
  404. package/lib/Button/index.js +0 -18
  405. package/lib/Cards/Card.d.ts +0 -8
  406. package/lib/Cards/Card.js +0 -36
  407. package/lib/Catalog/Catalog.d.ts +0 -8
  408. package/lib/Catalog/Catalog.js +0 -167
  409. package/lib/Catalog/CatalogCard.d.ts +0 -5
  410. package/lib/Catalog/CatalogCard.js +0 -113
  411. package/lib/Catalog/Filter.d.ts +0 -5
  412. package/lib/Catalog/Filter.js +0 -86
  413. package/lib/Catalog/Tags.js +0 -32
  414. package/lib/CodeBlock/CodeBlock.js +0 -103
  415. package/lib/CodeBlock/index.d.ts +0 -1
  416. package/lib/CodeBlock/index.js +0 -18
  417. package/lib/ColorModeSwitcher/ColorModeSwitcher.js +0 -81
  418. package/lib/ColorModeSwitcher/index.d.ts +0 -1
  419. package/lib/ColorModeSwitcher/index.js +0 -18
  420. package/lib/CopyButton/CopyButton.js +0 -54
  421. package/lib/CopyButton/CopyButtonWrapper.d.ts +0 -11
  422. package/lib/CopyButton/CopyButtonWrapper.js +0 -53
  423. package/lib/CopyButton/index.d.ts +0 -2
  424. package/lib/CopyButton/index.js +0 -19
  425. package/lib/EditPageButton/EditPageButton.js +0 -36
  426. package/lib/EditPageButton/index.d.ts +0 -1
  427. package/lib/EditPageButton/index.js +0 -18
  428. package/lib/Feedback/Comment.d.ts +0 -3
  429. package/lib/Feedback/Comment.js +0 -93
  430. package/lib/Feedback/Feedback.d.ts +0 -5
  431. package/lib/Feedback/Feedback.js +0 -50
  432. package/lib/Feedback/Rating.d.ts +0 -3
  433. package/lib/Feedback/Rating.js +0 -82
  434. package/lib/Feedback/Reasons.d.ts +0 -3
  435. package/lib/Feedback/Reasons.js +0 -85
  436. package/lib/Feedback/ReportDialog.d.ts +0 -3
  437. package/lib/Feedback/ReportDialog.js +0 -66
  438. package/lib/Feedback/Sentiment.d.ts +0 -3
  439. package/lib/Feedback/Sentiment.js +0 -79
  440. package/lib/Feedback/index.d.ts +0 -8
  441. package/lib/Feedback/index.js +0 -33
  442. package/lib/Feedback/types.d.ts +0 -74
  443. package/lib/Footer/CustomFooter.d.ts +0 -7
  444. package/lib/Footer/CustomFooter.js +0 -35
  445. package/lib/Footer/CustomFooterNavItem.d.ts +0 -7
  446. package/lib/Footer/CustomFooterNavItem.js +0 -33
  447. package/lib/Footer/Footer.d.ts +0 -10
  448. package/lib/Footer/Footer.js +0 -35
  449. package/lib/Footer/FooterColumn.d.ts +0 -7
  450. package/lib/Footer/FooterColumn.js +0 -54
  451. package/lib/Footer/FooterColumns.d.ts +0 -9
  452. package/lib/Footer/FooterColumns.js +0 -44
  453. package/lib/Footer/FooterCopyright.d.ts +0 -7
  454. package/lib/Footer/index.d.ts +0 -4
  455. package/lib/Footer/index.js +0 -21
  456. package/lib/JsonViewer/JsonViewer.js +0 -240
  457. package/lib/JsonViewer/index.d.ts +0 -1
  458. package/lib/JsonViewer/index.js +0 -18
  459. package/lib/LastUpdated/LastUpdated.js +0 -75
  460. package/lib/Layout/RootLayout.d.ts +0 -7
  461. package/lib/Layout/RootLayout.js +0 -19
  462. package/lib/Layout/index.d.ts +0 -2
  463. package/lib/Layout/index.js +0 -19
  464. package/lib/Markdown/Admonition.js +0 -56
  465. package/lib/Markdown/CodeSample/CodeSample.js +0 -217
  466. package/lib/Markdown/CodeSample/index.d.ts +0 -1
  467. package/lib/Markdown/CodeSample/index.js +0 -18
  468. package/lib/Markdown/Heading.js +0 -48
  469. package/lib/Markdown/MarkdownLayout.d.ts +0 -15
  470. package/lib/Markdown/MarkdownLayout.js +0 -40
  471. package/lib/Markdown/MarkdownWrapper.js +0 -394
  472. package/lib/Markdown/Tabs/Tabs.js +0 -73
  473. package/lib/Markdown/Tabs/index.d.ts +0 -2
  474. package/lib/Markdown/Tabs/index.js +0 -19
  475. package/lib/Markdown/index.d.ts +0 -10
  476. package/lib/Markdown/index.js +0 -27
  477. package/lib/Navbar/MobileNavbarDropdown.d.ts +0 -8
  478. package/lib/Navbar/MobileNavbarDropdown.js +0 -30
  479. package/lib/Navbar/MobileNavbarItem.d.ts +0 -15
  480. package/lib/Navbar/MobileNavbarItem.js +0 -106
  481. package/lib/Navbar/MobileNavbarMenu.d.ts +0 -7
  482. package/lib/Navbar/MobileNavbarMenu.js +0 -104
  483. package/lib/Navbar/MobileNavbarMenuButton.d.ts +0 -4
  484. package/lib/Navbar/MobileNavbarMenuButton.js +0 -18
  485. package/lib/Navbar/Navbar.d.ts +0 -12
  486. package/lib/Navbar/Navbar.js +0 -80
  487. package/lib/Navbar/NavbarDropdown.d.ts +0 -8
  488. package/lib/Navbar/NavbarDropdown.js +0 -38
  489. package/lib/Navbar/NavbarItem.d.ts +0 -13
  490. package/lib/Navbar/NavbarItem.js +0 -72
  491. package/lib/Navbar/NavbarMenu.d.ts +0 -5
  492. package/lib/Navbar/NavbarMenu.js +0 -34
  493. package/lib/Navbar/index.d.ts +0 -3
  494. package/lib/Navbar/index.js +0 -20
  495. package/lib/NavbarLogo/NavbarLogo.d.ts +0 -6
  496. package/lib/NavbarLogo/NavbarLogo.js +0 -24
  497. package/lib/NavbarLogo/index.d.ts +0 -1
  498. package/lib/NavbarLogo/index.js +0 -18
  499. package/lib/OperationBadge/index.d.ts +0 -1
  500. package/lib/OperationBadge/index.js +0 -18
  501. package/lib/PageNavigation/NextButton.d.ts +0 -2
  502. package/lib/PageNavigation/NextButton.js +0 -49
  503. package/lib/PageNavigation/PageNavigation.d.ts +0 -2
  504. package/lib/PageNavigation/PageNavigation.js +0 -32
  505. package/lib/PageNavigation/PreviousButton.d.ts +0 -2
  506. package/lib/PageNavigation/PreviousButton.js +0 -26
  507. package/lib/PageNavigation/index.d.ts +0 -3
  508. package/lib/PageNavigation/index.js +0 -20
  509. package/lib/Pages/Forbidden.js +0 -39
  510. package/lib/Pages/NotFound.js +0 -39
  511. package/lib/Pages/index.d.ts +0 -1
  512. package/lib/Pages/index.js +0 -18
  513. package/lib/Panel/Panel.d.ts +0 -5
  514. package/lib/Panel/Panel.js +0 -39
  515. package/lib/Panel/PanelComponent.d.ts +0 -13
  516. package/lib/Panel/PanelComponent.js +0 -65
  517. package/lib/Panel/index.d.ts +0 -5
  518. package/lib/Panel/index.js +0 -22
  519. package/lib/Profile/LoginLink.js +0 -30
  520. package/lib/Profile/Profile.js +0 -104
  521. package/lib/Profile/UserProfile.d.ts +0 -12
  522. package/lib/Profile/UserProfile.js +0 -46
  523. package/lib/Profile/UserProfileMenu.js +0 -87
  524. package/lib/Profile/index.d.ts +0 -6
  525. package/lib/ReferenceDocs/DevOnboardingTryItSecurity.js +0 -178
  526. package/lib/ReferenceDocs/TryItSecurityApps.js +0 -15
  527. package/lib/SamplesPanelControls/SamplesPanelControls.js +0 -75
  528. package/lib/SamplesPanelControls/index.d.ts +0 -1
  529. package/lib/SamplesPanelControls/index.js +0 -18
  530. package/lib/Search/Autocomplete.d.ts +0 -16
  531. package/lib/Search/Autocomplete.js +0 -122
  532. package/lib/Search/Parameters.d.ts +0 -7
  533. package/lib/Search/Parameters.js +0 -55
  534. package/lib/Search/Search.js +0 -65
  535. package/lib/Search/SearchItem.d.ts +0 -7
  536. package/lib/Search/SearchItem.js +0 -98
  537. package/lib/Search/SidebarSearch.d.ts +0 -4
  538. package/lib/Search/SidebarSearch.js +0 -20
  539. package/lib/Search/index.d.ts +0 -9
  540. package/lib/Search/index.js +0 -26
  541. package/lib/Sidebar/ApiCallItem.d.ts +0 -9
  542. package/lib/Sidebar/ApiCallItem.js +0 -34
  543. package/lib/Sidebar/ArrowBack.d.ts +0 -4
  544. package/lib/Sidebar/ArrowBack.js +0 -22
  545. package/lib/Sidebar/BackButton.js +0 -39
  546. package/lib/Sidebar/Drilldown.d.ts +0 -8
  547. package/lib/Sidebar/Drilldown.js +0 -43
  548. package/lib/Sidebar/DrilldownMenu.d.ts +0 -3
  549. package/lib/Sidebar/DrilldownMenu.js +0 -71
  550. package/lib/Sidebar/DrilldownMenuItem.d.ts +0 -3
  551. package/lib/Sidebar/ExternalIcon.d.ts +0 -4
  552. package/lib/Sidebar/ExternalIcon.js +0 -21
  553. package/lib/Sidebar/Menu.d.ts +0 -3
  554. package/lib/Sidebar/Menu.js +0 -17
  555. package/lib/Sidebar/MenuContainer.js +0 -17
  556. package/lib/Sidebar/MenuGroup.d.ts +0 -9
  557. package/lib/Sidebar/MenuGroup.js +0 -88
  558. package/lib/Sidebar/MenuItem.d.ts +0 -3
  559. package/lib/Sidebar/MenuItem.js +0 -23
  560. package/lib/Sidebar/MenuItemLabel.js +0 -46
  561. package/lib/Sidebar/MenuLink.d.ts +0 -4
  562. package/lib/Sidebar/MenuLink.js +0 -15
  563. package/lib/Sidebar/MenuLinkItem.d.ts +0 -3
  564. package/lib/Sidebar/MenuLinkItem.js +0 -15
  565. package/lib/Sidebar/Separator.d.ts +0 -3
  566. package/lib/Sidebar/Separator.js +0 -18
  567. package/lib/Sidebar/SeparatorItem.js +0 -29
  568. package/lib/Sidebar/SidebarLayout.js +0 -85
  569. package/lib/Sidebar/index.d.ts +0 -22
  570. package/lib/Sidebar/index.js +0 -39
  571. package/lib/Sidebar/types/DrilldownMenuProps.d.ts +0 -6
  572. package/lib/Sidebar/types/DrilldownMenuProps.js +0 -3
  573. package/lib/Sidebar/types/ItemState.d.ts +0 -8
  574. package/lib/Sidebar/types/ItemState.js +0 -3
  575. package/lib/Sidebar/types/MenuItemProps.d.ts +0 -5
  576. package/lib/Sidebar/types/MenuItemProps.js +0 -3
  577. package/lib/Sidebar/types/MenuStyle.d.ts +0 -3
  578. package/lib/Sidebar/types/MenuStyle.js +0 -8
  579. package/lib/Sidebar/types/NavItem.d.ts +0 -26
  580. package/lib/Sidebar/types/NavItem.js +0 -3
  581. package/lib/Sidebar/types/index.d.ts +0 -5
  582. package/lib/Sidebar/types/index.js +0 -22
  583. package/lib/SidebarActions/ChangeViewButton.d.ts +0 -8
  584. package/lib/SidebarActions/ChangeViewButton.js +0 -14
  585. package/lib/SidebarActions/CollapseSidebarButton.js +0 -13
  586. package/lib/SidebarActions/SidebarActions.js +0 -26
  587. package/lib/SidebarActions/ToggleRightPanelButton.js +0 -13
  588. package/lib/SidebarActions/index.d.ts +0 -1
  589. package/lib/SidebarActions/index.js +0 -7
  590. package/lib/SidebarLogo/index.d.ts +0 -1
  591. package/lib/SidebarLogo/index.js +0 -18
  592. package/lib/SourceCode/SourceCode.js +0 -60
  593. package/lib/SourceCode/index.d.ts +0 -1
  594. package/lib/SourceCode/index.js +0 -18
  595. package/lib/TableOfContent/TableOfContent.d.ts +0 -8
  596. package/lib/TableOfContent/TableOfContent.js +0 -109
  597. package/lib/TableOfContent/index.d.ts +0 -1
  598. package/lib/TableOfContent/index.js +0 -18
  599. package/lib/TableOfContent/utils.d.ts +0 -4
  600. package/lib/Tooltip/Tooltip.js +0 -173
  601. package/lib/Tooltip/index.d.ts +0 -1
  602. package/lib/Tooltip/index.js +0 -18
  603. package/lib/Typography/CompactTypography.d.ts +0 -7
  604. package/lib/Typography/CompactTypography.js +0 -14
  605. package/lib/Typography/H1.js +0 -17
  606. package/lib/Typography/H2.js +0 -17
  607. package/lib/Typography/H3.js +0 -17
  608. package/lib/Typography/index.d.ts +0 -7
  609. package/lib/Typography/index.js +0 -24
  610. package/lib/ui/Tiles/ThinTile.d.ts +0 -22
  611. package/lib/ui/Tiles/ThinTile.js +0 -124
  612. package/lib/ui/Tiles/WideTile.d.ts +0 -7
  613. package/lib/ui/Tiles/WideTile.js +0 -114
  614. package/lib/ui/Tiles/index.d.ts +0 -4
  615. package/lib/ui/Tiles/index.js +0 -21
  616. package/src/ApiOnboarding/AppCustomAttributes.tsx +0 -6
  617. package/src/Button/index.ts +0 -1
  618. package/src/Cards/Card.tsx +0 -49
  619. package/src/Catalog/Catalog.tsx +0 -198
  620. package/src/Catalog/CatalogCard.tsx +0 -95
  621. package/src/CodeBlock/index.ts +0 -1
  622. package/src/ColorModeSwitcher/index.ts +0 -1
  623. package/src/CopyButton/CopyButton.tsx +0 -32
  624. package/src/CopyButton/CopyButtonWrapper.tsx +0 -55
  625. package/src/CopyButton/index.ts +0 -2
  626. package/src/EditPageButton/index.ts +0 -1
  627. package/src/Feedback/Comment.tsx +0 -80
  628. package/src/Feedback/Feedback.tsx +0 -42
  629. package/src/Feedback/Rating.tsx +0 -107
  630. package/src/Feedback/Reasons.tsx +0 -81
  631. package/src/Feedback/ReportDialog.tsx +0 -52
  632. package/src/Feedback/Sentiment.tsx +0 -74
  633. package/src/Feedback/index.ts +0 -8
  634. package/src/Feedback/types.ts +0 -66
  635. package/src/Feedback/useReportDialog.ts +0 -34
  636. package/src/Footer/CustomFooter.tsx +0 -45
  637. package/src/Footer/Footer.tsx +0 -43
  638. package/src/Footer/FooterColumns.tsx +0 -53
  639. package/src/Footer/index.ts +0 -4
  640. package/src/JsonViewer/JsonViewer.tsx +0 -256
  641. package/src/JsonViewer/index.ts +0 -1
  642. package/src/Layout/RootLayout.tsx +0 -24
  643. package/src/Layout/index.ts +0 -2
  644. package/src/Markdown/CodeSample/CodeSample.tsx +0 -236
  645. package/src/Markdown/CodeSample/index.ts +0 -1
  646. package/src/Markdown/MarkdownLayout.tsx +0 -64
  647. package/src/Markdown/Tabs/Tabs.tsx +0 -58
  648. package/src/Markdown/Tabs/index.ts +0 -2
  649. package/src/Markdown/index.ts +0 -10
  650. package/src/Navbar/MobileNavbarItem.tsx +0 -114
  651. package/src/Navbar/MobileNavbarMenu.tsx +0 -122
  652. package/src/Navbar/Navbar.tsx +0 -100
  653. package/src/Navbar/NavbarItem.tsx +0 -102
  654. package/src/Navbar/NavbarMenu.tsx +0 -37
  655. package/src/Navbar/index.ts +0 -3
  656. package/src/NavbarLogo/index.ts +0 -1
  657. package/src/OperationBadge/index.ts +0 -1
  658. package/src/PageNavigation/NextButton.tsx +0 -40
  659. package/src/PageNavigation/PageNavigation.tsx +0 -31
  660. package/src/PageNavigation/PreviousButton.tsx +0 -40
  661. package/src/PageNavigation/index.ts +0 -3
  662. package/src/Pages/Forbidden.tsx +0 -42
  663. package/src/Pages/NotFound.tsx +0 -42
  664. package/src/Pages/index.ts +0 -1
  665. package/src/Panel/Panel.ts +0 -34
  666. package/src/Panel/PanelComponent.tsx +0 -79
  667. package/src/Panel/index.ts +0 -5
  668. package/src/Profile/UserProfile.tsx +0 -55
  669. package/src/Profile/index.ts +0 -6
  670. package/src/ReferenceDocs/DevOnboardingTryItSecurity.tsx +0 -180
  671. package/src/SamplesPanelControls/SamplesPanelControls.ts +0 -73
  672. package/src/SamplesPanelControls/index.ts +0 -1
  673. package/src/Search/Autocomplete.tsx +0 -148
  674. package/src/Search/Parameters.tsx +0 -62
  675. package/src/Search/Search.tsx +0 -67
  676. package/src/Search/SearchItem.tsx +0 -90
  677. package/src/Search/SidebarSearch.tsx +0 -15
  678. package/src/Search/index.ts +0 -9
  679. package/src/Sidebar/ApiCallItem.tsx +0 -39
  680. package/src/Sidebar/ArrowBack.tsx +0 -28
  681. package/src/Sidebar/BackButton.tsx +0 -44
  682. package/src/Sidebar/Drilldown.tsx +0 -44
  683. package/src/Sidebar/DrilldownMenu.tsx +0 -58
  684. package/src/Sidebar/DrilldownMenuItem.tsx +0 -44
  685. package/src/Sidebar/ExternalIcon.tsx +0 -37
  686. package/src/Sidebar/Menu.tsx +0 -11
  687. package/src/Sidebar/MenuContainer.tsx +0 -15
  688. package/src/Sidebar/MenuGroup.tsx +0 -91
  689. package/src/Sidebar/MenuItem.tsx +0 -25
  690. package/src/Sidebar/MenuItemLabel.tsx +0 -41
  691. package/src/Sidebar/MenuLinkItem.tsx +0 -24
  692. package/src/Sidebar/Separator.tsx +0 -17
  693. package/src/Sidebar/SeparatorItem.tsx +0 -24
  694. package/src/Sidebar/SidebarLayout.tsx +0 -107
  695. package/src/Sidebar/index.ts +0 -22
  696. package/src/Sidebar/types/DrilldownMenuProps.ts +0 -7
  697. package/src/Sidebar/types/ItemState.ts +0 -9
  698. package/src/Sidebar/types/MenuItemProps.ts +0 -6
  699. package/src/Sidebar/types/MenuStyle.ts +0 -3
  700. package/src/Sidebar/types/NavItem.ts +0 -27
  701. package/src/Sidebar/types/index.ts +0 -5
  702. package/src/SidebarActions/ChangeViewButton.tsx +0 -20
  703. package/src/SidebarActions/CollapseSidebarButton.tsx +0 -21
  704. package/src/SidebarActions/SidebarActions.tsx +0 -64
  705. package/src/SidebarActions/ToggleRightPanelButton.tsx +0 -21
  706. package/src/SidebarActions/index.tsx +0 -1
  707. package/src/SidebarLogo/index.ts +0 -1
  708. package/src/SourceCode/SourceCode.tsx +0 -128
  709. package/src/SourceCode/index.ts +0 -1
  710. package/src/TableOfContent/TableOfContent.tsx +0 -113
  711. package/src/TableOfContent/index.ts +0 -1
  712. package/src/Tooltip/index.ts +0 -1
  713. package/src/Typography/CompactTypography.ts +0 -9
  714. package/src/Typography/index.ts +0 -7
  715. package/src/types/portal/src/shared/constants.d.ts +0 -46
  716. package/src/types/portal/src/shared/types/catalog.d.ts +0 -55
  717. package/src/types/portal/src/shared/types/feedback.d.ts +0 -8
  718. package/src/types/portal/src/shared/types/markdown.d.ts +0 -5
  719. package/src/types/portal/src/shared/types/nav.d.ts +0 -158
  720. package/src/ui/Tiles/ThinTile.tsx +0 -153
  721. package/src/ui/Tiles/WideTile.tsx +0 -138
  722. package/src/ui/Tiles/index.ts +0 -4
  723. /package/lib/{ApiOnboarding → components/ApiOnboarding}/AppCustomAttributes.d.ts +0 -0
  724. /package/lib/{Button → components/Button}/Button.d.ts +0 -0
  725. /package/lib/{Cards → components/Cards}/CardsBlock.d.ts +0 -0
  726. /package/lib/{Cards → components/Cards}/CardsBlock.js +0 -0
  727. /package/lib/{CodeBlock → components/CodeBlock}/CodeBlock.d.ts +0 -0
  728. /package/lib/{Markdown → components}/CodeSample/CodeSample.d.ts +0 -0
  729. /package/lib/{ColorModeSwitcher → components/ColorModeSwitcher}/ColorModeSwitcher.d.ts +0 -0
  730. /package/lib/{CopyButton → components/CopyButton}/CopyButton.d.ts +0 -0
  731. /package/lib/{EditPageButton → components/EditPageButton}/EditPageButton.d.ts +0 -0
  732. /package/lib/{Feedback → components/Feedback}/Thumbs.d.ts +0 -0
  733. /package/lib/{Feedback → components/Feedback}/Thumbs.js +0 -0
  734. /package/lib/{Feedback → components/Feedback}/types.js +0 -0
  735. /package/lib/{Feedback → components/Feedback}/useReportDialog.d.ts +0 -0
  736. /package/lib/{Feedback → components/Feedback}/useReportDialog.js +0 -0
  737. /package/lib/{Footer → components/Footer}/FooterCopyright.js +0 -0
  738. /package/lib/{JsonViewer → components/JsonViewer}/JsonViewer.d.ts +0 -0
  739. /package/lib/{LastUpdated → components/LastUpdated}/LastUpdated.d.ts +0 -0
  740. /package/lib/{Markdown → components/Markdown}/Admonition.d.ts +0 -0
  741. /package/lib/{Markdown → components/Markdown}/ContainerWrapper.d.ts +0 -0
  742. /package/lib/{Markdown → components/Markdown}/ContainerWrapper.js +0 -0
  743. /package/lib/{Markdown → components/Markdown}/Details.d.ts +0 -0
  744. /package/lib/{Markdown → components/Markdown}/Details.js +0 -0
  745. /package/lib/{Markdown → components/Markdown}/Heading.d.ts +0 -0
  746. /package/lib/{Markdown → components/Markdown}/MarkdownWrapper.d.ts +0 -0
  747. /package/lib/{Markdown → components/Markdown}/Mermaid.d.ts +0 -0
  748. /package/lib/{Markdown → components/Markdown}/Mermaid.js +0 -0
  749. /package/lib/{Markdown → components/Markdown}/PageWrapper.d.ts +0 -0
  750. /package/lib/{Markdown → components/Markdown}/PageWrapper.js +0 -0
  751. /package/lib/{Markdown → components/Markdown}/Sup.d.ts +0 -0
  752. /package/lib/{Markdown → components/Markdown}/Sup.js +0 -0
  753. /package/lib/{Sidebar → components/Menu}/MenuContainer.d.ts +0 -0
  754. /package/lib/{Sidebar → components/Menu}/MenuItemLabel.d.ts +0 -0
  755. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.d.ts +0 -0
  756. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.js +0 -0
  757. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/DevOnboardingTryItSecurity.d.ts +0 -0
  758. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.d.ts +0 -0
  759. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.js +0 -0
  760. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/TryItSecurityApps.d.ts +0 -0
  761. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/index.d.ts +0 -0
  762. /package/lib/{ReferenceDocs → components/OpenAPIDocs}/index.js +0 -0
  763. /package/lib/{OperationBadge → components/OperationBadge}/OperationBadge.d.ts +0 -0
  764. /package/lib/{OperationBadge → components/OperationBadge}/OperationBadge.js +0 -0
  765. /package/lib/{Panel → components/Panel}/PanelBody.d.ts +0 -0
  766. /package/lib/{Panel → components/Panel}/PanelBody.js +0 -0
  767. /package/lib/{Panel → components/Panel}/PanelHeader.d.ts +0 -0
  768. /package/lib/{Panel → components/Panel}/PanelHeader.js +0 -0
  769. /package/lib/{Panel → components/Panel}/PanelHeaderTitle.d.ts +0 -0
  770. /package/lib/{Panel → components/Panel}/PanelHeaderTitle.js +0 -0
  771. /package/lib/{Profile → components/Profile}/LoginLink.d.ts +0 -0
  772. /package/lib/{Profile → components/Profile}/Profile.d.ts +0 -0
  773. /package/lib/{Profile → components/Profile}/UserProfileMenu.d.ts +0 -0
  774. /package/lib/{Profile → components/Profile}/index.js +0 -0
  775. /package/lib/{SamplesPanelControls → components/SamplesPanelControls}/SamplesPanelControls.d.ts +0 -0
  776. /package/lib/{Search → components/Search}/ClearIcon.d.ts +0 -0
  777. /package/lib/{Search → components/Search}/ClearIcon.js +0 -0
  778. /package/lib/{Search → components/Search}/Input.d.ts +0 -0
  779. /package/lib/{Search → components/Search}/Input.js +0 -0
  780. /package/lib/{Search → components/Search}/Popover.d.ts +0 -0
  781. /package/lib/{Search → components/Search}/Popover.js +0 -0
  782. /package/lib/{Search → components/Search}/Search.d.ts +0 -0
  783. /package/lib/{Search → components/Search}/SearchIcon.d.ts +0 -0
  784. /package/lib/{Search → components/Search}/SearchIcon.js +0 -0
  785. /package/lib/{Search → components/Search}/ShortcutKey.d.ts +0 -0
  786. /package/lib/{Search → components/Search}/ShortcutKey.js +0 -0
  787. /package/lib/{Search → components/Search}/utils.d.ts +0 -0
  788. /package/lib/{Search → components/Search}/utils.js +0 -0
  789. /package/lib/{Sidebar → components/Separator}/SeparatorItem.d.ts +0 -0
  790. /package/lib/{Sidebar → components/Separator}/SeparatorLine.d.ts +0 -0
  791. /package/lib/{Sidebar → components/Separator}/SeparatorLine.js +0 -0
  792. /package/lib/{Sidebar → components/Sidebar}/BackButton.d.ts +0 -0
  793. /package/lib/{Sidebar → components/Sidebar}/DrilldownMenuItem.js +0 -0
  794. /package/lib/{Sidebar → components/Sidebar}/FooterWrapper.d.ts +0 -0
  795. /package/lib/{Sidebar → components/Sidebar}/FooterWrapper.js +0 -0
  796. /package/lib/{Sidebar → components/Sidebar}/HeaderWrapper.d.ts +0 -0
  797. /package/lib/{Sidebar → components/Sidebar}/HeaderWrapper.js +0 -0
  798. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarButton.d.ts +0 -0
  799. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarButton.js +0 -0
  800. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarIcon.d.ts +0 -0
  801. /package/lib/{Sidebar → components/Sidebar}/MobileSidebarIcon.js +0 -0
  802. /package/lib/{Sidebar → components/Sidebar}/Sidebar.d.ts +0 -0
  803. /package/lib/{Sidebar → components/Sidebar}/Sidebar.js +0 -0
  804. /package/lib/{Sidebar → components/Sidebar}/SidebarLayout.d.ts +0 -0
  805. /package/lib/{SidebarActions → components/SidebarActions}/CollapseSidebarButton.d.ts +0 -0
  806. /package/lib/{SidebarActions → components/SidebarActions}/SidebarActions.d.ts +0 -0
  807. /package/lib/{SidebarActions → components/SidebarActions}/ToggleRightPanelButton.d.ts +0 -0
  808. /package/lib/{SidebarActions → components/SidebarActions}/styled.d.ts +0 -0
  809. /package/lib/{SidebarActions → components/SidebarActions}/styled.js +0 -0
  810. /package/lib/{SidebarLogo → components/SidebarLogo}/SidebarLogo.d.ts +0 -0
  811. /package/lib/{SidebarLogo → components/SidebarLogo}/SidebarLogo.js +0 -0
  812. /package/lib/{SourceCode → components/SourceCode}/SourceCode.d.ts +0 -0
  813. /package/lib/{TableOfContent → components/TableOfContent}/utils.js +0 -0
  814. /package/lib/{Markdown → components}/Tabs/Tab.d.ts +0 -0
  815. /package/lib/{Markdown → components}/Tabs/Tab.js +0 -0
  816. /package/lib/{Markdown → components}/Tabs/Tabs.d.ts +0 -0
  817. /package/lib/{Catalog → components/Tags}/Tags.d.ts +0 -0
  818. /package/lib/{ui → components}/Tiles/TileHeader.d.ts +0 -0
  819. /package/lib/{ui → components}/Tiles/TileHeader.js +0 -0
  820. /package/lib/{ui → components}/Tiles/TileText.d.ts +0 -0
  821. /package/lib/{ui → components}/Tiles/TileText.js +0 -0
  822. /package/lib/{Tooltip → components/Tooltip}/Tooltip.d.ts +0 -0
  823. /package/lib/{Typography → components/Typography}/Emphasis.d.ts +0 -0
  824. /package/lib/{Typography → components/Typography}/Emphasis.js +0 -0
  825. /package/lib/{Typography → components/Typography}/H1.d.ts +0 -0
  826. /package/lib/{Typography → components/Typography}/H2.d.ts +0 -0
  827. /package/lib/{Typography → components/Typography}/H3.d.ts +0 -0
  828. /package/lib/{Typography → components/Typography}/SectionHeader.d.ts +0 -0
  829. /package/lib/{Typography → components/Typography}/SectionHeader.js +0 -0
  830. /package/lib/{Typography → components/Typography}/Typography.d.ts +0 -0
  831. /package/lib/{Typography → components/Typography}/Typography.js +0 -0
  832. /package/lib/{Pages → layouts}/Forbidden.d.ts +0 -0
  833. /package/lib/{Pages → layouts}/NotFound.d.ts +0 -0
  834. /package/lib/{Layout → layouts}/PageLayout.d.ts +0 -0
  835. /package/lib/{Layout → layouts}/PageLayout.js +0 -0
  836. /package/src/{Button → components/Button}/Button.tsx +0 -0
  837. /package/src/{Cards → components/Cards}/CardsBlock.tsx +0 -0
  838. /package/src/{CodeBlock → components/CodeBlock}/CodeBlock.ts +0 -0
  839. /package/src/{ColorModeSwitcher → components/ColorModeSwitcher}/ColorModeSwitcher.tsx +0 -0
  840. /package/src/{EditPageButton → components/EditPageButton}/EditPageButton.tsx +0 -0
  841. /package/src/{Feedback → components/Feedback}/Thumbs.tsx +0 -0
  842. /package/src/{Catalog → components/Filter}/Filter.tsx +0 -0
  843. /package/src/{Footer → components/Footer}/CustomFooterNavItem.tsx +0 -0
  844. /package/src/{Footer → components/Footer}/FooterColumn.tsx +0 -0
  845. /package/src/{Footer → components/Footer}/FooterCopyright.tsx +0 -0
  846. /package/src/{LastUpdated → components/LastUpdated}/LastUpdated.tsx +0 -0
  847. /package/src/{Markdown → components/Markdown}/Admonition.tsx +0 -0
  848. /package/src/{Markdown → components/Markdown}/ContainerWrapper.tsx +0 -0
  849. /package/src/{Markdown → components/Markdown}/Details.tsx +0 -0
  850. /package/src/{Markdown → components/Markdown}/Heading.tsx +0 -0
  851. /package/src/{Markdown → components/Markdown}/MarkdownWrapper.tsx +0 -0
  852. /package/src/{Markdown → components/Markdown}/Mermaid.tsx +0 -0
  853. /package/src/{Markdown → components/Markdown}/PageWrapper.tsx +0 -0
  854. /package/src/{Markdown → components/Markdown}/Sup.tsx +0 -0
  855. /package/src/{Sidebar → components/Menu}/MenuLink.tsx +0 -0
  856. /package/src/{Navbar → components/Navbar}/MobileNavbarDropdown.tsx +0 -0
  857. /package/src/{Navbar → components/Navbar}/MobileNavbarMenuButton.tsx +0 -0
  858. /package/src/{Navbar → components/Navbar}/NavbarDropdown.tsx +0 -0
  859. /package/src/{NavbarLogo → components/NavbarLogo}/NavbarLogo.tsx +0 -0
  860. /package/src/{ReferenceDocs → components/OpenAPIDocs}/ClearButton.tsx +0 -0
  861. /package/src/{ReferenceDocs → components/OpenAPIDocs}/Dropdown.tsx +0 -0
  862. /package/src/{ReferenceDocs → components/OpenAPIDocs}/TryItSecurityApps.tsx +0 -0
  863. /package/src/{ReferenceDocs → components/OpenAPIDocs}/index.ts +0 -0
  864. /package/src/{OperationBadge → components/OperationBadge}/OperationBadge.ts +0 -0
  865. /package/src/{Panel → components/Panel}/PanelBody.ts +0 -0
  866. /package/src/{Panel → components/Panel}/PanelHeader.ts +0 -0
  867. /package/src/{Panel → components/Panel}/PanelHeaderTitle.ts +0 -0
  868. /package/src/{Profile → components/Profile}/LoginLink.tsx +0 -0
  869. /package/src/{Profile → components/Profile}/Profile.tsx +0 -0
  870. /package/src/{Profile → components/Profile}/UserProfileMenu.tsx +0 -0
  871. /package/src/{Search → components/Search}/ClearIcon.tsx +0 -0
  872. /package/src/{Search → components/Search}/Input.tsx +0 -0
  873. /package/src/{Search → components/Search}/Popover.tsx +0 -0
  874. /package/src/{Search → components/Search}/SearchIcon.tsx +0 -0
  875. /package/src/{Search → components/Search}/ShortcutKey.tsx +0 -0
  876. /package/src/{Search → components/Search}/utils.tsx +0 -0
  877. /package/src/{Sidebar → components/Separator}/SeparatorLine.tsx +0 -0
  878. /package/src/{Sidebar → components/Sidebar}/FooterWrapper.tsx +0 -0
  879. /package/src/{Sidebar → components/Sidebar}/HeaderWrapper.tsx +0 -0
  880. /package/src/{Sidebar → components/Sidebar}/MobileSidebarButton.tsx +0 -0
  881. /package/src/{Sidebar → components/Sidebar}/MobileSidebarIcon.tsx +0 -0
  882. /package/src/{Sidebar → components/Sidebar}/Sidebar.tsx +0 -0
  883. /package/src/{SidebarActions → components/SidebarActions}/styled.tsx +0 -0
  884. /package/src/{SidebarLogo → components/SidebarLogo}/SidebarLogo.tsx +0 -0
  885. /package/src/{TableOfContent → components/TableOfContent}/utils.ts +0 -0
  886. /package/src/{Markdown → components}/Tabs/Tab.tsx +0 -0
  887. /package/src/{Catalog → components/Tags}/Tags.tsx +0 -0
  888. /package/src/{ui → components}/Tiles/TileHeader.ts +0 -0
  889. /package/src/{ui → components}/Tiles/TileText.tsx +0 -0
  890. /package/src/{Tooltip → components/Tooltip}/Tooltip.tsx +0 -0
  891. /package/src/{Typography → components/Typography}/Emphasis.ts +0 -0
  892. /package/src/{Typography → components/Typography}/H1.ts +0 -0
  893. /package/src/{Typography → components/Typography}/H2.ts +0 -0
  894. /package/src/{Typography → components/Typography}/H3.ts +0 -0
  895. /package/src/{Typography → components/Typography}/SectionHeader.ts +0 -0
  896. /package/src/{Typography → components/Typography}/Typography.ts +0 -0
  897. /package/src/{Layout → layouts}/PageLayout.tsx +0 -0
  898. /package/src/types/portal/{index.d.ts → index.ts} +0 -0
@@ -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/ColorModeSwitcher/ColorModeSwitcher"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,54 @@
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 __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
26
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
27
+ return new (P || (P = Promise))(function (resolve, reject) {
28
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
29
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
30
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
31
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
32
+ });
33
+ };
34
+ var __importDefault = (this && this.__importDefault) || function (mod) {
35
+ return (mod && mod.__esModule) ? mod : { "default": mod };
36
+ };
37
+ Object.defineProperty(exports, "__esModule", { value: true });
38
+ exports.CopyButton = void 0;
39
+ const react_1 = __importStar(require("react"));
40
+ const copy_to_clipboard_1 = __importDefault(require("copy-to-clipboard"));
41
+ const _theme_1 = require("../../index.js");
42
+ const CopyButton = ({ text, dataTestId = 'copy-button' }) => {
43
+ const [title, setTitle] = (0, react_1.useState)('Copy');
44
+ function write() {
45
+ return __awaiter(this, void 0, void 0, function* () {
46
+ yield (0, copy_to_clipboard_1.default)(text);
47
+ setTitle('Copied!');
48
+ setTimeout(() => setTitle('Copy'), 1500);
49
+ });
50
+ }
51
+ return (react_1.default.createElement(_theme_1.Button, { color: "secondary", onClick: write, "data-cy": dataTestId, "data-component-name": "CopyButton/CopyButton" }, title));
52
+ };
53
+ exports.CopyButton = CopyButton;
54
+ //# sourceMappingURL=CopyButton.js.map
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import type { TooltipProps } from '../../components/Tooltip';
3
+ export interface CopyButtonWrapperProps {
4
+ data: unknown;
5
+ children: (props: {
6
+ renderCopyButton: (placement?: TooltipProps['placement']) => JSX.Element;
7
+ }) => JSX.Element;
8
+ onCopyClick?: () => void;
9
+ dataTestId?: string;
10
+ }
11
+ export declare const CopyButtonWrapper: React.NamedExoticComponent<CopyButtonWrapperProps>;
@@ -0,0 +1,53 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.CopyButtonWrapper = void 0;
27
+ const react_1 = __importStar(require("react"));
28
+ const SamplesPanelControls_1 = require("../../components/SamplesPanelControls");
29
+ const Tooltip_1 = require("../../components/Tooltip");
30
+ const hooks_1 = require("../../hooks");
31
+ const utils_1 = require("../../utils");
32
+ function CopyButtonWrapperComponent({ data, children, onCopyClick, dataTestId = 'copy-button', }) {
33
+ const tooltip = (0, hooks_1.useControl)();
34
+ const showTooltip = () => {
35
+ tooltip.handleOpen();
36
+ setTimeout(() => {
37
+ tooltip.handleClose();
38
+ }, 1500);
39
+ };
40
+ const copy = () => {
41
+ const content = typeof data === 'string' ? data : JSON.stringify(data, null, 2);
42
+ utils_1.ClipboardService.copyCustom(content);
43
+ showTooltip();
44
+ onCopyClick === null || onCopyClick === void 0 ? void 0 : onCopyClick();
45
+ };
46
+ const renderCopyButton = (placement = 'top') => {
47
+ return (react_1.default.createElement(Tooltip_1.Tooltip, { className: "copy-button", tip: "Copied", isOpen: tooltip.isOpened, placement: placement },
48
+ react_1.default.createElement(SamplesPanelControls_1.SamplesControlButton, { onClick: copy, "data-cy": dataTestId }, "Copy")));
49
+ };
50
+ return children({ renderCopyButton });
51
+ }
52
+ exports.CopyButtonWrapper = (0, react_1.memo)(CopyButtonWrapperComponent);
53
+ //# sourceMappingURL=CopyButtonWrapper.js.map
@@ -0,0 +1,2 @@
1
+ export * from '../../components/CopyButton/CopyButtonWrapper';
2
+ export * from '../../components/CopyButton/CopyButton';
@@ -0,0 +1,19 @@
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/CopyButton/CopyButtonWrapper"), exports);
18
+ __exportStar(require("../../components/CopyButton/CopyButton"), exports);
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,36 @@
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.EditPageButton = 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
+ const EditPageButton = ({ text, to, icon }) => {
11
+ return (react_1.default.createElement(EditButton, { to: to },
12
+ icon ? react_1.default.createElement(ButtonIcon, { src: icon }) : null,
13
+ react_1.default.createElement(ButtonText, null, text)));
14
+ };
15
+ exports.EditPageButton = EditPageButton;
16
+ const EditButton = (0, styled_components_1.default)(Link_1.Link) `
17
+ margin-left: auto;
18
+ display: inline-flex;
19
+ color: var(--color-content);
20
+ font-weight: var(--font-weight-bold);
21
+ font-size: var(--font-size-base);
22
+ font-family: var(--font-family-base);
23
+ text-decoration: none;
24
+
25
+ @media print {
26
+ display: none;
27
+ }
28
+ `;
29
+ const ButtonIcon = styled_components_1.default.img `
30
+ height: 14px;
31
+ padding-right: 3px;
32
+ `;
33
+ const ButtonText = styled_components_1.default.span `
34
+ line-height: 14px;
35
+ `;
36
+ //# sourceMappingURL=EditPageButton.js.map
@@ -0,0 +1 @@
1
+ export * from '../../components/EditPageButton/EditPageButton';
@@ -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/EditPageButton/EditPageButton"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { CommentProps } from '../../components/Feedback';
3
+ export declare const Comment: ({ settings, onSubmit, onCancel }: CommentProps) => JSX.Element;
@@ -0,0 +1,93 @@
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.Comment = 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 Comment = ({ settings, onSubmit, onCancel }) => {
34
+ const { label, submitText } = settings || {};
35
+ const [text, setText] = React.useState('');
36
+ const [submitValue, setSubmitValue] = React.useState('');
37
+ const send = () => {
38
+ if (!text)
39
+ return;
40
+ setSubmitValue(text);
41
+ onSubmit({ comment: text });
42
+ };
43
+ const handleTextAreaChange = (e) => {
44
+ setText(e.target.value);
45
+ };
46
+ if (submitValue) {
47
+ return (React.createElement(Wrapper, null,
48
+ React.createElement(Label, null, submitText || 'Thank you for helping improve our documentation!')));
49
+ }
50
+ return (React.createElement(Wrapper, { "data-component-name": "Feedback/Comment" },
51
+ React.createElement(Label, null, label || 'Please share your feedback with us.'),
52
+ React.createElement(TextArea, { rows: 3, onChange: handleTextAreaChange }),
53
+ React.createElement(ButtonsContainer, null,
54
+ React.createElement(SendButton, { onClick: send }, "Send"),
55
+ onCancel && React.createElement(CancelButton, { onClick: onCancel }, "Cancel"))));
56
+ };
57
+ exports.Comment = Comment;
58
+ const Wrapper = styled_components_1.default.div `
59
+ font-family: var(--font-family-base);
60
+ display: flex;
61
+ flex-direction: column;
62
+ width: 100%;
63
+ `;
64
+ const Label = styled_components_1.default.h3 `
65
+ margin-right: 15px;
66
+ `;
67
+ const TextArea = styled_components_1.default.textarea `
68
+ font-family: var(--font-family-base);
69
+ border: 1px solid #ccc;
70
+ border-radius: 5px;
71
+ color: black;
72
+ margin: 0 0 10px 0;
73
+ padding: 10px;
74
+ `;
75
+ const ButtonsContainer = styled_components_1.default.div `
76
+ display: flex;
77
+ justify-content: start;
78
+ `;
79
+ const SendButton = (0, styled_components_1.default)(Button_1.Button).attrs(() => ({
80
+ color: 'primary',
81
+ })) `
82
+ width: 100px;
83
+ margin-left: 0;
84
+ margin-right: 0;
85
+ `;
86
+ const CancelButton = (0, styled_components_1.default)(Button_1.Button).attrs(() => ({
87
+ color: 'secondary',
88
+ })) `
89
+ width: 100px;
90
+ margin-left: 0;
91
+ margin-right: 0;
92
+ `;
93
+ //# sourceMappingURL=Comment.js.map
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import type { FeedbackProps } from '../../types/portal/src/shared/types/feedback';
3
+ export declare const Feedback: (props: FeedbackProps & {
4
+ path?: string;
5
+ }) => JSX.Element;
@@ -0,0 +1,54 @@
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
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.Feedback = void 0;
27
+ const React = __importStar(require("react"));
28
+ const react_router_dom_1 = require("react-router-dom");
29
+ const Feedback_1 = require("../../components/Feedback");
30
+ const hooks_1 = require("../../hooks");
31
+ const useSubmitFeedback_1 = require("../../mocks/Feedback/useSubmitFeedback");
32
+ const Feedback = (props) => {
33
+ const { submitFeedback } = (0, useSubmitFeedback_1.useSubmitFeedback)();
34
+ const { pathname } = (0, react_router_dom_1.useLocation)();
35
+ const { feedback: themeFeedbackConf } = (0, hooks_1.useThemeConfig)();
36
+ const feedbackConf = Object.assign(Object.assign({}, themeFeedbackConf), props);
37
+ const renderFeedbackComponent = () => {
38
+ switch (type) {
39
+ case 'rating':
40
+ return (React.createElement(Feedback_1.Rating, { settings: settings, onSubmit: (values) => submitFeedback({ type: 'rating', values, path }) }));
41
+ case 'sentiment':
42
+ return (React.createElement(Feedback_1.Sentiment, { settings: settings, onSubmit: (values) => submitFeedback({ type: 'sentiment', values, path }) }));
43
+ case 'comment':
44
+ return (React.createElement(Feedback_1.Comment, { settings: settings, onSubmit: (values) => submitFeedback({ type: 'comment', values, path }) }));
45
+ default:
46
+ console.log(`No feedback with type ${type}!`);
47
+ break;
48
+ }
49
+ };
50
+ const { type, settings, path } = feedbackConf;
51
+ return React.createElement(React.Fragment, { key: pathname }, renderFeedbackComponent());
52
+ };
53
+ exports.Feedback = Feedback;
54
+ //# sourceMappingURL=Feedback.js.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { RatingProps } from '../../components/Feedback';
3
+ export declare const Rating: ({ settings, onSubmit }: RatingProps) => JSX.Element;
@@ -0,0 +1,82 @@
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.Rating = void 0;
30
+ const React = __importStar(require("react"));
31
+ const styled_components_1 = __importDefault(require("styled-components"));
32
+ const Feedback_1 = require("../../components/Feedback");
33
+ const Rating = ({ settings, onSubmit }) => {
34
+ const { label, max, submitText, comment: commentSettings, reasons: reasonsSettings, } = settings || {};
35
+ const [score, setScore] = React.useState(0);
36
+ const [comment, setComment] = React.useState('');
37
+ const [reasons, setReasons] = React.useState([]);
38
+ if (score && (reasonsSettings === null || reasonsSettings === void 0 ? void 0 : reasonsSettings.enable) && !reasons.length) {
39
+ const { label: reasonsLabel, items, multi } = reasonsSettings;
40
+ const buttonText = (commentSettings === null || commentSettings === void 0 ? void 0 : commentSettings.enable) ? 'Next' : 'Send';
41
+ return (React.createElement(Feedback_1.Reasons, { onSubmit: ({ reasons }) => setReasons(reasons), settings: { label: reasonsLabel, items, multi, buttonText } }));
42
+ }
43
+ if (score && (commentSettings === null || commentSettings === void 0 ? void 0 : commentSettings.enable) && !comment) {
44
+ return (React.createElement(Feedback_1.Comment, { onSubmit: ({ comment }) => setComment(comment), settings: { label: commentSettings.label } }));
45
+ }
46
+ if (score) {
47
+ onSubmit({
48
+ score,
49
+ comment,
50
+ reasons,
51
+ });
52
+ return (React.createElement(Wrapper, null,
53
+ React.createElement(Label, null, submitText || 'Thank you for helping improve our documentation!')));
54
+ }
55
+ return (React.createElement(Wrapper, { "data-component-name": "Feedback/Rating" },
56
+ React.createElement(Label, null, label || 'How helpful was this page?'),
57
+ React.createElement(Stars, { max: max || 5, onSubmit: setScore })));
58
+ };
59
+ exports.Rating = Rating;
60
+ const Stars = ({ max, onSubmit }) => {
61
+ const [hovered, setHovered] = React.useState(0);
62
+ const stars = [];
63
+ for (let index = 1; index <= max; index++) {
64
+ stars.push(React.createElement(Star, { key: index, onClick: () => onSubmit(index), onMouseOver: () => setHovered(index), onMouseLeave: () => setHovered(0) },
65
+ React.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: "20", height: "20", viewBox: "0 0 20 20" }, hovered < index ? (React.createElement("g", { fill: "#e8c002" },
66
+ React.createElement("path", { d: "M20 7h-7L10 .5 7 7H0l5.46 5.47-1.64 7 6.18-3.7 6.18 3.73-1.63-7zm-10 6.9-3.76 2.27 1-4.28L3.5 8.5h4.61L10 4.6l1.9 3.9h4.6l-3.73 3.4 1 4.28z" }))) : (React.createElement("g", { fill: "#e8c002" },
67
+ React.createElement("path", { d: "M20 7h-7L10 .5 7 7H0l5.46 5.47-1.64 7 6.18-3.7 6.18 3.73-1.63-7z" }))))));
68
+ }
69
+ return React.createElement(React.Fragment, null, stars);
70
+ };
71
+ const Wrapper = styled_components_1.default.div `
72
+ display: flex;
73
+ align-items: center;
74
+ `;
75
+ const Star = styled_components_1.default.span `
76
+ cursor: pointer;
77
+ `;
78
+ const Label = styled_components_1.default.h3 `
79
+ margin-right: 15px;
80
+ font-family: var(--font-family-base);
81
+ `;
82
+ //# sourceMappingURL=Rating.js.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { ReasonsProps } from '../../components/Feedback';
3
+ export declare const Reasons: ({ settings, onSubmit }: ReasonsProps) => JSX.Element;
@@ -0,0 +1,85 @@
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.Reasons = 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 Reasons = ({ settings, onSubmit }) => {
34
+ const { label, multi, buttonText, items = [] } = settings;
35
+ const [checkedState, setCheckedState] = React.useState(new Array(items.length).fill(false));
36
+ if (!items.length) {
37
+ return React.createElement(React.Fragment, null);
38
+ }
39
+ const input_type = multi ? 'checkbox' : 'radio';
40
+ const handleOptionChange = (position) => {
41
+ const updatedCheckedState = multi
42
+ ? checkedState.map((item, index) => (index === position ? !item : item))
43
+ : items.map((_, idx) => position === idx);
44
+ setCheckedState(updatedCheckedState);
45
+ };
46
+ const submitForm = () => {
47
+ onSubmit({ reasons: items.filter((_, index) => !!checkedState[index]) });
48
+ };
49
+ return (React.createElement(Wrapper, { "data-component-name": "Feedback/Reasons" },
50
+ React.createElement(Label, null, label || 'Which statement describes your thoughts about this page?'),
51
+ items.map((reason, idx) => (React.createElement(OptionWrapper, { key: reason },
52
+ React.createElement("input", { type: input_type, value: reason, checked: checkedState[idx], name: "reasons", onChange: () => handleOptionChange(idx) }),
53
+ React.createElement("label", { id: reason, onClick: () => handleOptionChange(idx) }, reason)))),
54
+ React.createElement(SendButton, { onClick: submitForm }, buttonText || 'Send')));
55
+ };
56
+ exports.Reasons = Reasons;
57
+ const Wrapper = styled_components_1.default.div `
58
+ font-family: var(--font-family-base);
59
+ display: flex;
60
+ flex-direction: column;
61
+ `;
62
+ const Label = styled_components_1.default.h3 `
63
+ margin-right: 15px;
64
+ `;
65
+ const SendButton = (0, styled_components_1.default)(Button_1.Button).attrs(() => ({
66
+ color: 'primary',
67
+ })) `
68
+ width: 100px;
69
+ margin-left: 0;
70
+ margin-right: 0;
71
+ margin-top: 15px;
72
+ `;
73
+ const OptionWrapper = styled_components_1.default.div `
74
+ margin: 5px 0;
75
+ display: flex;
76
+ input {
77
+ margin-right: 10px;
78
+ cursor: pointer;
79
+ }
80
+ label {
81
+ font-size: 14px;
82
+ cursor: pointer;
83
+ }
84
+ `;
85
+ //# sourceMappingURL=Reasons.js.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { ReportDialogProps } from '../../components/Feedback';
3
+ export declare const ReportDialog: ({ location, settings, onSubmit, onCancel, submitFeedback, }: ReportDialogProps) => JSX.Element;
@@ -0,0 +1,64 @@
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.ReportDialog = void 0;
30
+ const React = __importStar(require("react"));
31
+ const styled_components_1 = __importDefault(require("styled-components"));
32
+ const Comment_1 = require("../../components/Feedback/Comment");
33
+ const ReportDialog = ({ location, settings, onSubmit, onCancel, submitFeedback, }) => {
34
+ const { label } = settings;
35
+ return (React.createElement(Wrapper, { className: "modal" },
36
+ React.createElement(Comment_1.Comment, { settings: { label }, onSubmit: (value) => {
37
+ submitFeedback({ type: 'problem', values: value, path: location });
38
+ onSubmit();
39
+ }, onCancel: onCancel })));
40
+ };
41
+ exports.ReportDialog = ReportDialog;
42
+ const Wrapper = styled_components_1.default.div `
43
+ font-family: var(--font-family-base);
44
+ position: fixed;
45
+ top: 0;
46
+ left: 0;
47
+ width: 100vw;
48
+ height: 100vh;
49
+ background: var(--modal-overlay-background-color);
50
+ z-index: 10000;
51
+ display: flex;
52
+ align-items: center;
53
+ justify-content: center;
54
+
55
+ & > * {
56
+ background: var(--modal-background-color);
57
+ box-shadow: var(--modal-box-shadow);
58
+ padding: 15px;
59
+ margin: 15px;
60
+ max-width: 500px;
61
+ max-height: 300px;
62
+ }
63
+ `;
64
+ //# sourceMappingURL=ReportDialog.js.map
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { SentimentProps } from '../../components/Feedback';
3
+ export declare const Sentiment: ({ settings, onSubmit }: SentimentProps) => JSX.Element;