@redocly/theme 0.18.2 → 0.18.3-patch.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 (420) hide show
  1. package/lib/I18n/LanguagePicker.d.ts +7 -2
  2. package/lib/I18n/LanguagePicker.js +11 -3
  3. package/lib/I18n/index.d.ts +1 -0
  4. package/lib/I18n/index.js +15 -0
  5. package/lib/I18n/styledVariables.d.ts +1 -0
  6. package/lib/I18n/styledVariables.js +39 -0
  7. package/lib/components/Breadcrumbs/Breadcrumb.d.ts +1 -0
  8. package/lib/components/Breadcrumbs/Breadcrumb.js +4 -3
  9. package/lib/components/Breadcrumbs/Breadcrumbs.js +9 -2
  10. package/lib/components/Breadcrumbs/index.d.ts +1 -0
  11. package/lib/components/Breadcrumbs/index.js +1 -0
  12. package/lib/components/Breadcrumbs/styledVariables.d.ts +1 -0
  13. package/lib/components/Breadcrumbs/styledVariables.js +19 -0
  14. package/lib/components/Button/Button.d.ts +6 -3
  15. package/lib/components/Button/Button.js +41 -41
  16. package/lib/components/Button/index.d.ts +1 -0
  17. package/lib/components/Button/index.js +1 -0
  18. package/lib/components/Button/styledVariables.d.ts +1 -0
  19. package/lib/components/Button/styledVariables.js +107 -0
  20. package/lib/components/Catalog/Catalog.d.ts +1 -0
  21. package/lib/components/Catalog/Catalog.js +100 -97
  22. package/lib/components/Catalog/CatalogCard.js +73 -58
  23. package/lib/components/Catalog/index.d.ts +4 -3
  24. package/lib/components/Catalog/index.js +4 -3
  25. package/lib/components/Catalog/styledVariables.d.ts +1 -0
  26. package/lib/components/Catalog/styledVariables.js +96 -0
  27. package/lib/components/Catalog/useCatalog.js +12 -1
  28. package/lib/components/CodeBlock/CodeBlockContainer.js +38 -10
  29. package/lib/components/CodeBlock/CodeBlockControlButton.d.ts +3 -4
  30. package/lib/components/CodeBlock/CodeBlockControlButton.js +5 -19
  31. package/lib/components/CodeBlock/CodeBlockControls.js +14 -7
  32. package/lib/components/CodeBlock/index.d.ts +1 -0
  33. package/lib/components/CodeBlock/index.js +1 -0
  34. package/lib/components/CodeBlock/styledVariables.d.ts +1 -0
  35. package/lib/components/CodeBlock/styledVariables.js +92 -0
  36. package/lib/components/ColorModeSwitcher/ColorModeSwitcher.js +2 -1
  37. package/lib/components/Dropdown/Dropdown.d.ts +9 -3
  38. package/lib/components/Dropdown/Dropdown.js +7 -4
  39. package/lib/components/Dropdown/index.d.ts +1 -0
  40. package/lib/components/Dropdown/index.js +1 -0
  41. package/lib/components/Dropdown/styledVariables.d.ts +1 -0
  42. package/lib/components/Dropdown/styledVariables.js +30 -0
  43. package/lib/components/EditPageButton/EditPageButton.js +7 -2
  44. package/lib/components/Feedback/Comment.js +5 -0
  45. package/lib/components/Feedback/Feedback.js +13 -3
  46. package/lib/components/Feedback/Rating.js +5 -1
  47. package/lib/components/Feedback/Reasons.js +6 -1
  48. package/lib/components/Feedback/Sentiment.js +11 -2
  49. package/lib/components/Feedback/Thumbs.js +4 -4
  50. package/lib/components/Filter/Filter.js +104 -78
  51. package/lib/components/Filter/FilterContent.d.ts +11 -0
  52. package/lib/components/Filter/FilterContent.js +59 -0
  53. package/lib/components/Filter/FilterPopover.d.ts +11 -0
  54. package/lib/components/Filter/FilterPopover.js +109 -0
  55. package/lib/components/Filter/FilterTag.d.ts +7 -0
  56. package/lib/components/Filter/FilterTag.js +33 -0
  57. package/lib/components/Filter/FilterTags.d.ts +7 -0
  58. package/lib/components/Filter/FilterTags.js +29 -0
  59. package/lib/components/Filter/index.d.ts +2 -0
  60. package/lib/components/Filter/index.js +2 -0
  61. package/lib/components/Filter/styledVariables.d.ts +1 -0
  62. package/lib/components/Filter/styledVariables.js +112 -0
  63. package/lib/components/Footer/CustomFooterNavItem.js +1 -1
  64. package/lib/components/Footer/Footer.d.ts +4 -3
  65. package/lib/components/Footer/Footer.js +27 -10
  66. package/lib/components/Footer/FooterColumn.d.ts +3 -3
  67. package/lib/components/Footer/FooterColumn.js +54 -63
  68. package/lib/components/Footer/FooterColumns.js +6 -4
  69. package/lib/components/Footer/FooterCopyright.js +11 -6
  70. package/lib/components/Footer/index.d.ts +1 -0
  71. package/lib/components/Footer/index.js +1 -0
  72. package/lib/components/Footer/styledVariables.d.ts +1 -0
  73. package/lib/components/Footer/styledVariables.js +61 -0
  74. package/lib/components/Image/Image.d.ts +9 -0
  75. package/lib/components/Image/Image.js +31 -0
  76. package/lib/components/Image/index.d.ts +1 -0
  77. package/lib/components/{Tags → Image}/index.js +1 -1
  78. package/lib/components/JsonViewer/JsonViewer.js +2 -2
  79. package/lib/components/LastUpdated/index.d.ts +1 -0
  80. package/lib/components/{OperationBadge → LastUpdated}/index.js +1 -1
  81. package/lib/components/LastUpdated/styledVariables.d.ts +1 -0
  82. package/lib/components/LastUpdated/styledVariables.js +11 -0
  83. package/lib/components/Markdown/MarkdownWrapper.js +2 -4
  84. package/lib/components/Markdown/Mermaid.js +1 -1
  85. package/lib/components/Markdown/index.d.ts +1 -0
  86. package/lib/components/Markdown/index.js +1 -0
  87. package/lib/components/Markdown/styledVariables.d.ts +2 -0
  88. package/lib/components/Markdown/styledVariables.js +221 -0
  89. package/lib/components/Menu/Menu.js +5 -7
  90. package/lib/components/Menu/MenuGroup.js +12 -7
  91. package/lib/components/Menu/MenuItemLabel.js +9 -13
  92. package/lib/components/Menu/MenuLinkItem.js +2 -1
  93. package/lib/components/Menu/MobileMenu.js +20 -25
  94. package/lib/components/Menu/MobileMenuGroup.js +1 -1
  95. package/lib/components/Menu/index.d.ts +1 -0
  96. package/lib/components/Menu/index.js +1 -0
  97. package/lib/components/Menu/styledVariables.d.ts +2 -0
  98. package/lib/components/Menu/styledVariables.js +101 -0
  99. package/lib/components/Navbar/Navbar.js +10 -11
  100. package/lib/components/Navbar/NavbarItem.d.ts +1 -1
  101. package/lib/components/Navbar/NavbarItem.js +14 -6
  102. package/lib/components/Navbar/NavbarMenu.js +2 -2
  103. package/lib/components/Navbar/index.d.ts +1 -0
  104. package/lib/components/Navbar/index.js +1 -0
  105. package/lib/components/Navbar/styledVariables.d.ts +1 -0
  106. package/lib/components/Navbar/styledVariables.js +43 -0
  107. package/lib/components/NavbarLogo/NavbarLogo.d.ts +4 -1
  108. package/lib/components/NavbarLogo/NavbarLogo.js +14 -5
  109. package/lib/components/NavbarLogo/index.d.ts +1 -0
  110. package/lib/components/NavbarLogo/index.js +1 -0
  111. package/lib/components/NavbarLogo/styledVariables.d.ts +1 -0
  112. package/lib/components/NavbarLogo/styledVariables.js +18 -0
  113. package/lib/components/OpenApiDocs/DevOnboardingTryItSecurity.js +2 -2
  114. package/lib/components/OpenApiDocs/Dropdown.js +3 -3
  115. package/lib/components/Panel/PanelHeader.js +1 -0
  116. package/lib/components/Panel/PanelHeaderTitle.js +0 -4
  117. package/lib/components/Panel/index.d.ts +1 -0
  118. package/lib/components/Panel/index.js +1 -0
  119. package/lib/components/Panel/styledVariables.d.ts +2 -0
  120. package/lib/components/Panel/styledVariables.js +481 -0
  121. package/lib/components/Product/index.d.ts +1 -0
  122. package/lib/components/Product/index.js +1 -0
  123. package/lib/components/Product/styledVariables.d.ts +2 -0
  124. package/lib/components/Product/styledVariables.js +41 -0
  125. package/lib/components/Profile/LoginLink.js +5 -3
  126. package/lib/components/{Navbar → Profile}/MobileUserProfile.js +18 -26
  127. package/lib/components/Profile/Profile.js +3 -22
  128. package/lib/components/Profile/UserProfile.js +25 -9
  129. package/lib/components/Profile/UserProfileData.d.ts +9 -0
  130. package/lib/components/Profile/UserProfileData.js +35 -0
  131. package/lib/components/Profile/index.d.ts +1 -0
  132. package/lib/components/Profile/index.js +15 -0
  133. package/lib/components/Profile/styledVariables.d.ts +2 -0
  134. package/lib/components/Profile/styledVariables.js +55 -0
  135. package/lib/components/Search/CancelSearch.js +2 -14
  136. package/lib/components/Search/ProductTag.js +8 -8
  137. package/lib/components/Search/RecentSearches.js +5 -5
  138. package/lib/components/Search/Search.js +0 -2
  139. package/lib/components/Search/SearchIcon.js +2 -2
  140. package/lib/components/Search/SearchItem.js +14 -17
  141. package/lib/components/Search/SearchTrigger.js +4 -5
  142. package/lib/components/Search/ShortcutKey.js +1 -5
  143. package/lib/components/Search/SuggestedPages.js +3 -3
  144. package/lib/components/Search/index.d.ts +1 -0
  145. package/lib/components/Search/index.js +1 -0
  146. package/lib/components/Search/styledVariables.d.ts +1 -0
  147. package/lib/components/Search/styledVariables.js +98 -0
  148. package/lib/components/Select/Select.d.ts +10 -3
  149. package/lib/components/Select/Select.js +9 -6
  150. package/lib/components/Select/index.d.ts +1 -0
  151. package/lib/components/Select/index.js +1 -0
  152. package/lib/components/Select/styledVariables.d.ts +1 -0
  153. package/lib/components/Select/styledVariables.js +33 -0
  154. package/lib/components/Separator/Separator.js +11 -3
  155. package/lib/components/Separator/SeparatorItem.js +5 -9
  156. package/lib/components/Separator/SeparatorLine.js +7 -3
  157. package/lib/components/Sidebar/ApiCallItem.d.ts +2 -6
  158. package/lib/components/Sidebar/ApiCallItem.js +17 -13
  159. package/lib/components/Sidebar/FooterWrapper.js +3 -4
  160. package/lib/components/Sidebar/HeaderWrapper.js +2 -2
  161. package/lib/components/Sidebar/SidebarLayout.js +2 -1
  162. package/lib/components/Sidebar/VersionPicker.d.ts +1 -1
  163. package/lib/components/Sidebar/index.d.ts +1 -0
  164. package/lib/components/Sidebar/index.js +1 -0
  165. package/lib/components/Sidebar/styledVariables.d.ts +2 -0
  166. package/lib/components/Sidebar/styledVariables.js +215 -0
  167. package/lib/components/Sidebar/types.d.ts +1 -0
  168. package/lib/components/SidebarActions/CollapseSidebarButton.js +41 -1
  169. package/lib/components/SidebarActions/SidebarActions.js +15 -3
  170. package/lib/components/SidebarActions/styled.js +29 -21
  171. package/lib/components/TableOfContent/TableOfContent.js +4 -4
  172. package/lib/components/TableOfContent/index.d.ts +1 -0
  173. package/lib/components/TableOfContent/index.js +1 -0
  174. package/lib/components/TableOfContent/styledVariables.d.ts +1 -0
  175. package/lib/components/TableOfContent/styledVariables.js +46 -0
  176. package/lib/components/Tabs/Tab.js +1 -1
  177. package/lib/components/Tabs/Tabs.js +1 -1
  178. package/lib/components/Tag/Tag.d.ts +17 -0
  179. package/lib/components/Tag/Tag.js +39 -0
  180. package/lib/components/Tag/index.d.ts +2 -0
  181. package/lib/components/Tag/index.js +19 -0
  182. package/lib/components/Tag/styledVariables.d.ts +1 -0
  183. package/lib/components/Tag/styledVariables.js +130 -0
  184. package/lib/components/Tiles/ThinTile.js +7 -5
  185. package/lib/components/Tiles/TileText.js +1 -1
  186. package/lib/components/Tiles/WideTile.js +10 -8
  187. package/lib/components/Tooltip/index.d.ts +1 -0
  188. package/lib/components/Tooltip/index.js +1 -0
  189. package/lib/components/Tooltip/styledVariables.d.ts +1 -0
  190. package/lib/components/Tooltip/styledVariables.js +21 -0
  191. package/lib/components/Typography/SectionHeader.js +2 -2
  192. package/lib/components/Typography/Typography.js +1 -1
  193. package/lib/components/index.d.ts +1 -2
  194. package/lib/components/index.js +1 -2
  195. package/lib/config.d.ts +84 -2
  196. package/lib/config.js +16 -2
  197. package/lib/globalStyle.js +599 -1982
  198. package/lib/icons/ArrowIcon/ArrowIcon.js +1 -1
  199. package/lib/icons/CheckboxIcon/CheckboxIcon.d.ts +6 -0
  200. package/lib/icons/CheckboxIcon/CheckboxIcon.js +28 -0
  201. package/lib/icons/CheckboxIcon/index.d.ts +1 -0
  202. package/lib/icons/CheckboxIcon/index.js +6 -0
  203. package/lib/icons/CollapseIcon/CollapseIcon.d.ts +1 -1
  204. package/lib/icons/CollapseIcon/CollapseIcon.js +5 -5
  205. package/lib/icons/ColorModeIcon/ColorModeIcon.js +1 -1
  206. package/lib/icons/CopyIcon/CopyIcon.d.ts +1 -2
  207. package/lib/icons/CopyIcon/CopyIcon.js +4 -4
  208. package/lib/icons/DeselectIcon/DeselectIcon.d.ts +1 -1
  209. package/lib/icons/DeselectIcon/DeselectIcon.js +5 -5
  210. package/lib/icons/ErrorIcon/ErrorIcon.d.ts +4 -0
  211. package/lib/icons/ErrorIcon/ErrorIcon.js +14 -0
  212. package/lib/icons/ErrorIcon/index.d.ts +1 -0
  213. package/lib/icons/ErrorIcon/index.js +18 -0
  214. package/lib/icons/ExpandIcon/ExpandIcon.d.ts +1 -2
  215. package/lib/icons/ExpandIcon/ExpandIcon.js +5 -5
  216. package/lib/icons/FileIcon/FileIcon.d.ts +1 -2
  217. package/lib/icons/FileIcon/FileIcon.js +2 -2
  218. package/lib/icons/LanguageIcon/LanguageIcon.d.ts +4 -0
  219. package/lib/icons/LanguageIcon/LanguageIcon.js +14 -0
  220. package/lib/icons/LanguageIcon/index.d.ts +1 -0
  221. package/lib/icons/LanguageIcon/index.js +18 -0
  222. package/lib/icons/PlusIcon/PlusIcon.d.ts +5 -0
  223. package/lib/icons/PlusIcon/PlusIcon.js +16 -0
  224. package/lib/icons/PlusIcon/index.d.ts +1 -0
  225. package/lib/icons/PlusIcon/index.js +18 -0
  226. package/lib/icons/PointingArrowIcon/PointingArrowIcon.d.ts +4 -0
  227. package/lib/icons/PointingArrowIcon/PointingArrowIcon.js +15 -0
  228. package/lib/icons/PointingArrowIcon/index.d.ts +1 -0
  229. package/lib/icons/PointingArrowIcon/index.js +18 -0
  230. package/lib/icons/ReportIcon/ReportIcon.d.ts +1 -2
  231. package/lib/icons/ReportIcon/ReportIcon.js +3 -3
  232. package/lib/icons/SelectIcon/SelectIcon.d.ts +1 -2
  233. package/lib/icons/SelectIcon/SelectIcon.js +5 -5
  234. package/lib/icons/index.d.ts +4 -0
  235. package/lib/icons/index.js +4 -0
  236. package/lib/layouts/Forbidden.js +4 -0
  237. package/lib/layouts/NotFound.js +4 -0
  238. package/lib/types/portal/src/shared/types/nav.d.ts +5 -0
  239. package/lib/ui/ArrowBack.js +0 -1
  240. package/lib/ui/Burger.js +1 -1
  241. package/lib/ui/Dropdown.js +7 -7
  242. package/lib/ui/Jumbotron.js +1 -1
  243. package/lib/ui/darkColors.js +217 -84
  244. package/lib/utils/index.d.ts +1 -0
  245. package/lib/utils/index.js +1 -0
  246. package/lib/utils/tags-parser.d.ts +1 -0
  247. package/lib/utils/tags-parser.js +10 -0
  248. package/package.json +2 -2
  249. package/src/I18n/LanguagePicker.tsx +29 -4
  250. package/src/I18n/index.ts +1 -0
  251. package/src/I18n/styledVariables.ts +36 -0
  252. package/src/components/Breadcrumbs/Breadcrumb.tsx +10 -3
  253. package/src/components/Breadcrumbs/Breadcrumbs.tsx +14 -2
  254. package/src/components/Breadcrumbs/index.ts +1 -0
  255. package/src/components/Breadcrumbs/styledVariables.ts +16 -0
  256. package/src/components/Button/Button.tsx +53 -47
  257. package/src/components/Button/index.ts +1 -0
  258. package/src/components/Button/styledVariables.ts +104 -0
  259. package/src/components/Catalog/Catalog.tsx +124 -117
  260. package/src/components/Catalog/CatalogCard.tsx +86 -60
  261. package/src/components/Catalog/index.ts +4 -0
  262. package/src/components/Catalog/styledVariables.ts +93 -0
  263. package/src/components/Catalog/useCatalog.ts +13 -1
  264. package/src/components/CodeBlock/CodeBlockContainer.tsx +17 -9
  265. package/src/components/CodeBlock/CodeBlockControlButton.tsx +6 -19
  266. package/src/components/CodeBlock/CodeBlockControls.tsx +14 -6
  267. package/src/components/CodeBlock/index.ts +1 -0
  268. package/src/components/CodeBlock/styledVariables.ts +89 -0
  269. package/src/components/ColorModeSwitcher/ColorModeSwitcher.tsx +3 -1
  270. package/src/components/Dropdown/Dropdown.tsx +14 -5
  271. package/src/components/Dropdown/index.ts +1 -0
  272. package/src/components/Dropdown/styledVariables.ts +27 -0
  273. package/src/components/EditPageButton/EditPageButton.tsx +7 -2
  274. package/src/components/Feedback/Comment.tsx +5 -0
  275. package/src/components/Feedback/Feedback.tsx +13 -3
  276. package/src/components/Feedback/Rating.tsx +5 -1
  277. package/src/components/Feedback/Reasons.tsx +6 -1
  278. package/src/components/Feedback/Sentiment.tsx +15 -2
  279. package/src/components/Feedback/Thumbs.tsx +4 -4
  280. package/src/components/Filter/Filter.tsx +130 -94
  281. package/src/components/Filter/FilterContent.tsx +86 -0
  282. package/src/components/Filter/FilterPopover.tsx +140 -0
  283. package/src/components/Filter/FilterTag.tsx +37 -0
  284. package/src/components/Filter/FilterTags.tsx +39 -0
  285. package/src/components/Filter/index.ts +2 -0
  286. package/src/components/Filter/styledVariables.ts +109 -0
  287. package/src/components/Footer/CustomFooterNavItem.tsx +1 -1
  288. package/src/components/Footer/Footer.tsx +32 -10
  289. package/src/components/Footer/FooterColumn.tsx +81 -62
  290. package/src/components/Footer/FooterColumns.tsx +6 -4
  291. package/src/components/Footer/FooterCopyright.tsx +13 -7
  292. package/src/components/Footer/index.ts +1 -0
  293. package/src/components/Footer/styledVariables.ts +58 -0
  294. package/src/components/Image/Image.tsx +47 -0
  295. package/src/components/Image/index.ts +1 -0
  296. package/src/components/JsonViewer/JsonViewer.tsx +2 -2
  297. package/src/components/LastUpdated/index.ts +1 -0
  298. package/src/components/LastUpdated/styledVariables.ts +8 -0
  299. package/src/components/Markdown/MarkdownWrapper.tsx +2 -4
  300. package/src/components/Markdown/Mermaid.tsx +1 -1
  301. package/src/components/Markdown/index.ts +1 -0
  302. package/src/components/Markdown/styledVariables.ts +219 -0
  303. package/src/components/Menu/Menu.tsx +5 -7
  304. package/src/components/Menu/MenuGroup.tsx +15 -7
  305. package/src/components/Menu/MenuItemLabel.tsx +9 -13
  306. package/src/components/Menu/MenuLinkItem.tsx +6 -1
  307. package/src/components/Menu/MobileMenu.tsx +20 -25
  308. package/src/components/Menu/MobileMenuGroup.tsx +1 -1
  309. package/src/components/Menu/index.ts +1 -0
  310. package/src/components/Menu/styledVariables.ts +99 -0
  311. package/src/components/Navbar/Navbar.tsx +10 -11
  312. package/src/components/Navbar/NavbarItem.tsx +16 -4
  313. package/src/components/Navbar/NavbarMenu.tsx +2 -2
  314. package/src/components/Navbar/index.ts +1 -0
  315. package/src/components/Navbar/styledVariables.ts +40 -0
  316. package/src/components/NavbarLogo/NavbarLogo.tsx +25 -10
  317. package/src/components/NavbarLogo/index.ts +1 -0
  318. package/src/components/NavbarLogo/styledVariables.ts +15 -0
  319. package/src/components/OpenApiDocs/DevOnboardingTryItSecurity.tsx +1 -2
  320. package/src/components/OpenApiDocs/Dropdown.tsx +3 -3
  321. package/src/components/Panel/PanelHeader.ts +1 -0
  322. package/src/components/Panel/PanelHeaderTitle.ts +0 -4
  323. package/src/components/Panel/index.ts +1 -0
  324. package/src/components/Panel/styledVariables.ts +479 -0
  325. package/src/components/Product/index.ts +1 -0
  326. package/src/components/Product/styledVariables.ts +39 -0
  327. package/src/components/Profile/LoginLink.tsx +9 -3
  328. package/src/components/{Navbar → Profile}/MobileUserProfile.tsx +24 -31
  329. package/src/components/Profile/Profile.tsx +1 -24
  330. package/src/components/Profile/UserProfile.tsx +25 -9
  331. package/src/components/Profile/UserProfileData.tsx +40 -0
  332. package/src/components/Profile/index.ts +1 -0
  333. package/src/components/Profile/styledVariables.ts +53 -0
  334. package/src/components/Search/CancelSearch.tsx +2 -15
  335. package/src/components/Search/ProductTag.tsx +8 -8
  336. package/src/components/Search/RecentSearches.tsx +5 -5
  337. package/src/components/Search/Search.tsx +0 -2
  338. package/src/components/Search/SearchIcon.tsx +10 -5
  339. package/src/components/Search/SearchItem.tsx +26 -31
  340. package/src/components/Search/SearchTrigger.tsx +4 -5
  341. package/src/components/Search/ShortcutKey.tsx +1 -5
  342. package/src/components/Search/SuggestedPages.tsx +3 -3
  343. package/src/components/Search/index.ts +1 -0
  344. package/src/components/Search/styledVariables.ts +95 -0
  345. package/src/components/Select/Select.tsx +20 -7
  346. package/src/components/Select/index.ts +1 -0
  347. package/src/components/Select/styledVariables.ts +30 -0
  348. package/src/components/Separator/Separator.tsx +17 -3
  349. package/src/components/Separator/SeparatorItem.tsx +5 -9
  350. package/src/components/Separator/SeparatorLine.tsx +7 -3
  351. package/src/components/Sidebar/ApiCallItem.tsx +17 -13
  352. package/src/components/Sidebar/FooterWrapper.tsx +3 -4
  353. package/src/components/Sidebar/HeaderWrapper.tsx +2 -2
  354. package/src/components/Sidebar/SidebarLayout.tsx +6 -1
  355. package/src/components/Sidebar/index.ts +1 -0
  356. package/src/components/Sidebar/styledVariables.ts +213 -0
  357. package/src/components/Sidebar/types.ts +1 -0
  358. package/src/components/SidebarActions/CollapseSidebarButton.tsx +22 -2
  359. package/src/components/SidebarActions/SidebarActions.tsx +18 -3
  360. package/src/components/SidebarActions/styled.tsx +29 -30
  361. package/src/components/TableOfContent/TableOfContent.tsx +4 -3
  362. package/src/components/TableOfContent/index.ts +1 -0
  363. package/src/components/TableOfContent/styledVariables.ts +43 -0
  364. package/src/components/Tabs/Tab.tsx +1 -1
  365. package/src/components/Tabs/Tabs.tsx +1 -1
  366. package/src/components/Tag/Tag.tsx +63 -0
  367. package/src/components/Tag/index.ts +2 -0
  368. package/src/components/Tag/styledVariables.ts +127 -0
  369. package/src/components/Tiles/ThinTile.tsx +7 -5
  370. package/src/components/Tiles/TileText.tsx +1 -1
  371. package/src/components/Tiles/WideTile.tsx +10 -8
  372. package/src/components/Tooltip/index.ts +1 -0
  373. package/src/components/Tooltip/styledVariables.ts +18 -0
  374. package/src/components/Typography/SectionHeader.ts +2 -2
  375. package/src/components/Typography/Typography.ts +1 -1
  376. package/src/components/index.ts +1 -2
  377. package/src/config.ts +20 -2
  378. package/src/globalStyle.ts +595 -1999
  379. package/src/icons/ArrowIcon/ArrowIcon.tsx +1 -1
  380. package/src/icons/CheckboxIcon/CheckboxIcon.tsx +64 -0
  381. package/src/icons/CheckboxIcon/index.ts +1 -0
  382. package/src/icons/CollapseIcon/CollapseIcon.tsx +5 -5
  383. package/src/icons/ColorModeIcon/ColorModeIcon.tsx +1 -1
  384. package/src/icons/CopyIcon/CopyIcon.tsx +4 -5
  385. package/src/icons/DeselectIcon/DeselectIcon.tsx +5 -5
  386. package/src/icons/ErrorIcon/ErrorIcon.tsx +15 -0
  387. package/src/icons/ErrorIcon/index.ts +1 -0
  388. package/src/icons/ExpandIcon/ExpandIcon.tsx +5 -6
  389. package/src/icons/FileIcon/FileIcon.tsx +2 -3
  390. package/src/icons/LanguageIcon/LanguageIcon.tsx +15 -0
  391. package/src/icons/LanguageIcon/index.ts +1 -0
  392. package/src/icons/PlusIcon/PlusIcon.tsx +25 -0
  393. package/src/icons/PlusIcon/index.ts +1 -0
  394. package/src/icons/PointingArrowIcon/PointingArrowIcon.tsx +16 -0
  395. package/src/icons/PointingArrowIcon/index.ts +1 -0
  396. package/src/icons/ReportIcon/ReportIcon.tsx +3 -4
  397. package/src/icons/SelectIcon/SelectIcon.tsx +5 -6
  398. package/src/icons/index.ts +4 -0
  399. package/src/layouts/Forbidden.tsx +4 -0
  400. package/src/layouts/NotFound.tsx +4 -0
  401. package/src/types/portal/src/shared/types/nav.ts +5 -0
  402. package/src/ui/ArrowBack.tsx +0 -1
  403. package/src/ui/Burger.tsx +1 -1
  404. package/src/ui/Dropdown.tsx +7 -7
  405. package/src/ui/Jumbotron.tsx +1 -1
  406. package/src/ui/darkColors.tsx +217 -84
  407. package/src/utils/index.ts +1 -0
  408. package/src/utils/tags-parser.ts +8 -0
  409. package/lib/components/OperationBadge/OperationBadge.d.ts +0 -6
  410. package/lib/components/OperationBadge/OperationBadge.js +0 -68
  411. package/lib/components/OperationBadge/index.d.ts +0 -1
  412. package/lib/components/Tags/Tags.d.ts +0 -5
  413. package/lib/components/Tags/Tags.js +0 -32
  414. package/lib/components/Tags/index.d.ts +0 -1
  415. package/src/components/Catalog/index.tsx +0 -3
  416. package/src/components/OperationBadge/OperationBadge.ts +0 -62
  417. package/src/components/OperationBadge/index.ts +0 -1
  418. package/src/components/Tags/Tags.tsx +0 -36
  419. package/src/components/Tags/index.ts +0 -1
  420. /package/lib/components/{Navbar → Profile}/MobileUserProfile.d.ts +0 -0
@@ -34,7 +34,7 @@ const Icon = ({ className, weight }: ArrowIconProps) => (
34
34
  >
35
35
  <path
36
36
  d="M8 11L3 5.99999L3.7 5.29999L8 9.59999L12.3 5.29999L13 5.99999L8 11Z"
37
- fill="inherit"
37
+ fill="currentColor"
38
38
  />
39
39
  </svg>
40
40
  ) : (
@@ -0,0 +1,64 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ const Icon = ({
5
+ className,
6
+ checked = false,
7
+ onClick,
8
+ }: {
9
+ className?: string;
10
+ checked?: boolean;
11
+ onClick?: () => void;
12
+ }) => (
13
+ <span className={className} onClick={onClick}>
14
+ {checked ? (
15
+ <svg
16
+ width="16"
17
+ height="16"
18
+ viewBox="0 0 16 16"
19
+ fill="none"
20
+ xmlns="http://www.w3.org/2000/svg"
21
+ >
22
+ <rect width="16" height="16" rx="4" fill="var(--checkbox-active-background-color)" />
23
+ <path
24
+ d="M3.91308 7.03516H3.91326C3.99256 7.03525 4.07081 7.05331 4.14213 7.08798C4.21341 7.12262 4.27591 7.17295 4.32497 7.2352L3.91308 7.03516ZM3.91308 7.03516H3.09394C2.89031 7.03516 2.7766 7.26975 2.90232 7.4292L2.90237 7.42927L6.11214 11.4957L6.11218 11.4957C6.32247 11.7619 6.72568 11.7611 6.93667 11.4962L6.93708 11.4957L12.6597 4.24398C12.6598 4.24378 12.66 4.24358 12.6602 4.24338C12.7884 4.08295 12.6699 3.85 12.4689 3.85H11.6498C11.4894 3.85 11.3367 3.9235 11.2376 4.05044C11.2375 4.05055 11.2374 4.05066 11.2373 4.05077L6.52403 10.0216M3.91308 7.03516L6.52403 10.0216M6.52403 10.0216L4.32506 7.23531L6.52403 10.0216Z"
25
+ fill="var(--checkbox-mark-color)"
26
+ stroke="var(--checkbox-mark-color)"
27
+ />
28
+ </svg>
29
+ ) : (
30
+ <svg
31
+ width="16"
32
+ height="16"
33
+ viewBox="0 0 16 16"
34
+ fill="none"
35
+ xmlns="http://www.w3.org/2000/svg"
36
+ >
37
+ <rect width="16" height="16" rx="4" fill="var(--checkbox-background-color)" />
38
+ <rect
39
+ x="0.5"
40
+ y="0.5"
41
+ width="15"
42
+ height="15"
43
+ rx="3.5"
44
+ stroke="var(--checkbox-border-color)"
45
+ />
46
+ </svg>
47
+ )}
48
+ </span>
49
+ );
50
+
51
+ export const CheckboxIcon = styled(Icon).attrs<{ checked?: boolean }>({
52
+ 'data-component-name': 'icons/CheckboxIcon/CheckboxIcon',
53
+ })`
54
+ margin-right: var(--spacing-xs);
55
+ display: flex;
56
+
57
+ --checkbox-active-border-color: var(--color-primary-base);
58
+ --checkbox-active-background-color: var(--color-primary-base);
59
+
60
+ --checkbox-border-color: var(--border-primary);
61
+ --checkbox-background-color: var(--bg-base);
62
+
63
+ --checkbox-mark-color: var(--bg-base);
64
+ `;
@@ -0,0 +1 @@
1
+ export { CheckboxIcon } from '@theme/icons/CheckboxIcon/CheckboxIcon';
@@ -6,7 +6,7 @@ interface IconProps {
6
6
  color?: string;
7
7
  }
8
8
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
9
+ const Icon = ({ className }: IconProps) => (
10
10
  <svg
11
11
  data-component-name="icons/CollapseIcon"
12
12
  viewBox="0 0 14 14"
@@ -18,11 +18,11 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
18
18
  <rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
19
19
  <path
20
20
  d="M1.75 7.875V8.75H4.63138L0.875 12.5046L1.49363 13.125L5.25 9.36862V12.25H6.125V7.875H1.75Z"
21
- fill={color}
21
+ fill="currentColor"
22
22
  />
23
23
  <path
24
24
  d="M13.125 1.4945L12.509 0.875L8.75 4.63138V1.75H7.875V6.125H12.25V5.25H9.36862L13.125 1.4945Z"
25
- fill={color}
25
+ fill="currentColor"
26
26
  />
27
27
  </g>
28
28
  <defs>
@@ -34,7 +34,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
34
34
  );
35
35
 
36
36
  export const CollapseIcon = styled(Icon)`
37
- width: 1.3em;
38
- height: 1.3em;
37
+ width: 1em;
38
+ height: 1em;
39
39
  vertical-align: middle;
40
40
  `;
@@ -52,6 +52,6 @@ export const ColorModeIcon = styled(Icon).attrs(() => ({
52
52
  fill: var(--navbar-text-color);
53
53
 
54
54
  ${({ theme }) => theme.mediaQueries.medium} {
55
- width: var(--navbar-item-font-size);
55
+ width: var(--navbar-font-size);
56
56
  }
57
57
  `;
@@ -3,24 +3,23 @@ import styled from 'styled-components';
3
3
 
4
4
  interface IconProps {
5
5
  className?: string;
6
- color?: string;
7
6
  }
8
7
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
8
+ const Icon = ({ className }: IconProps) => (
10
9
  <span data-component-name="icons/CopyIcon">
11
10
  <svg viewBox="0 0 11 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className}>
12
11
  <path
13
12
  fillRule="evenodd"
14
13
  clipRule="evenodd"
15
14
  d="M3.52083 1.33333C3.52083 1.25279 3.58613 1.1875 3.66667 1.1875H9.5C9.58054 1.1875 9.64583 1.25279 9.64583 1.33333V8.33333C9.64583 8.41387 9.58054 8.47917 9.5 8.47917H7.75H3.66667C3.58613 8.47917 3.52083 8.41387 3.52083 8.33333V3.08333V1.33333ZM2.64583 2.64583V1.33333C2.64583 0.769543 3.10288 0.3125 3.66667 0.3125H9.5C10.0638 0.3125 10.5208 0.769543 10.5208 1.33333V8.33333C10.5208 8.89712 10.0638 9.35417 9.5 9.35417H8.1875V10.6667C8.1875 10.9374 8.07995 11.1971 7.8885 11.3885C7.69706 11.5799 7.43741 11.6875 7.16667 11.6875H1.33333C1.06259 11.6875 0.802939 11.5799 0.611495 11.3885C0.420051 11.1971 0.3125 10.9374 0.3125 10.6667V3.66667C0.3125 3.39592 0.420052 3.13627 0.611495 2.94483C0.802938 2.75339 1.06259 2.64583 1.33333 2.64583H2.64583ZM7.3125 9.35417V10.6667C7.3125 10.7053 7.29713 10.7424 7.26979 10.7698C7.24244 10.7971 7.20534 10.8125 7.16667 10.8125H1.33333C1.29466 10.8125 1.25756 10.7971 1.23021 10.7698C1.20286 10.7424 1.1875 10.7053 1.1875 10.6667V3.66667C1.1875 3.62799 1.20286 3.5909 1.23021 3.56355C1.25756 3.5362 1.29466 3.52083 1.33333 3.52083H2.64583V8.33333C2.64583 8.89712 3.10288 9.35417 3.66667 9.35417H7.3125Z"
16
- fill={color}
15
+ fill="currentColor"
17
16
  />
18
17
  </svg>
19
18
  </span>
20
19
  );
21
20
 
22
21
  export const CopyIcon = styled(Icon)`
23
- width: 1.3em;
24
- height: 1.3em;
22
+ width: 1em;
23
+ height: 1em;
25
24
  vertical-align: middle;
26
25
  `;
@@ -6,7 +6,7 @@ interface IconProps {
6
6
  color?: string;
7
7
  }
8
8
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
9
+ const Icon = ({ className }: IconProps) => (
10
10
  <svg
11
11
  data-component-name="icons/DeselectIcon"
12
12
  viewBox="0 0 16 16"
@@ -14,10 +14,10 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
14
14
  xmlns="http://www.w3.org/2000/svg"
15
15
  className={className}
16
16
  >
17
- <path d="M14.4966 10.5H9.49658V11.5H14.4966V10.5Z" fill={color} />
18
- <path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill={color} />
19
- <path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill={color} />
20
- <path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill={color} />
17
+ <path d="M14.4966 10.5H9.49658V11.5H14.4966V10.5Z" fill="currentColor" />
18
+ <path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill="currentColor" />
19
+ <path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill="currentColor" />
20
+ <path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill="currentColor" />
21
21
  </svg>
22
22
  );
23
23
 
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ const Icon = () => (
5
+ <svg width="17" height="16" viewBox="0 0 17 16" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M8.5 1C4.63438 1 1.5 4.13438 1.5 8C1.5 11.8656 4.63438 15 8.5 15C12.3656 15 15.5 11.8656 15.5 8C15.5 4.13438 12.3656 1 8.5 1ZM11.0844 10.6594L10.0531 10.6547L8.5 8.80313L6.94844 10.6531L5.91563 10.6578C5.84688 10.6578 5.79063 10.6031 5.79063 10.5328C5.79063 10.5031 5.80156 10.475 5.82031 10.4516L7.85313 8.02969L5.82031 5.60938C5.80143 5.58647 5.79096 5.5578 5.79063 5.52812C5.79063 5.45937 5.84688 5.40312 5.91563 5.40312L6.94844 5.40781L8.5 7.25938L10.0516 5.40938L11.0828 5.40469C11.1516 5.40469 11.2078 5.45937 11.2078 5.52969C11.2078 5.55937 11.1969 5.5875 11.1781 5.61094L9.14844 8.03125L11.1797 10.4531C11.1984 10.4766 11.2094 10.5047 11.2094 10.5344C11.2094 10.6031 11.1531 10.6594 11.0844 10.6594Z"
8
+ fill="var(--color-error-base)"
9
+ />
10
+ </svg>
11
+ );
12
+
13
+ export const ErrorIcon = styled(Icon).attrs(() => ({
14
+ 'data-component-name': 'icons/ErrorIcon/ErrorIcon',
15
+ }))``;
@@ -0,0 +1 @@
1
+ export * from '@theme/icons/ErrorIcon/ErrorIcon';
@@ -3,10 +3,9 @@ import styled from 'styled-components';
3
3
 
4
4
  interface IconProps {
5
5
  className?: string;
6
- color?: string;
7
6
  }
8
7
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
8
+ const Icon = ({ className }: IconProps) => (
10
9
  <svg
11
10
  data-component-name="icons/ExpandIcon"
12
11
  viewBox="0 0 14 14"
@@ -18,11 +17,11 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
18
17
  <rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
19
18
  <path
20
19
  d="M8.75 0.875V1.75H11.6314L7.875 5.50462L8.49362 6.125L12.25 2.36863V5.25H13.125V0.875H8.75Z"
21
- fill={color}
20
+ fill="currentColor"
22
21
  />
23
22
  <path
24
23
  d="M6.125 8.4945L5.509 7.875L1.75 11.6314V8.75H0.875V13.125H5.25V12.25H2.36863L6.125 8.4945Z"
25
- fill={color}
24
+ fill="currentColor"
26
25
  />
27
26
  </g>
28
27
  <defs>
@@ -34,7 +33,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
34
33
  );
35
34
 
36
35
  export const ExpandIcon = styled(Icon)`
37
- width: 1.3em;
38
- height: 1.3em;
36
+ width: 1em;
37
+ height: 1em;
39
38
  vertical-align: middle;
40
39
  `;
@@ -3,10 +3,9 @@ import styled from 'styled-components';
3
3
 
4
4
  interface IconProps {
5
5
  className?: string;
6
- color?: string;
7
6
  }
8
7
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
8
+ const Icon = ({ className }: IconProps) => (
10
9
  <svg
11
10
  data-component-name="icons/FileIcon"
12
11
  viewBox="0 0 16 16"
@@ -17,7 +16,7 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
17
16
  <rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
18
17
  <path
19
18
  d="M12.85 4.65018L9.35 1.15018C9.30601 1.10132 9.25192 1.0626 9.19149 1.0367C9.13106 1.0108 9.06572 0.998339 9 1.00018H4C3.73502 1.00096 3.48112 1.10656 3.29375 1.29393C3.10638 1.4813 3.00078 1.7352 3 2.00018V14.0002C3.00078 14.2652 3.10638 14.5191 3.29375 14.7064C3.48112 14.8938 3.73502 14.9994 4 15.0002H12C12.265 14.9994 12.5189 14.8938 12.7062 14.7064C12.8936 14.5191 12.9992 14.2652 13 14.0002V5.00018C13.0018 4.93446 12.9894 4.86912 12.9635 4.80869C12.9376 4.74826 12.8989 4.69417 12.85 4.65018ZM9 2.20018L11.8 5.00018H9V2.20018ZM12 14.0002H4V2.00018H8V5.00018C8.00078 5.26515 8.10638 5.51906 8.29375 5.70642C8.48112 5.89379 8.73502 5.9994 9 6.00018H12V14.0002Z"
20
- fill={color}
19
+ fill="currentColor"
21
20
  />
22
21
  </svg>
23
22
  );
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ const Icon = () => (
5
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
6
+ <path
7
+ d="M13.35 12.5141C13.3531 12.5094 13.3578 12.5047 13.3609 12.5C14.3844 11.2828 15 9.71406 15 8C15 6.28594 14.3844 4.71719 13.3625 3.5C13.3594 3.49531 13.3547 3.49219 13.3516 3.4875C13.3344 3.46719 13.3187 3.44844 13.3016 3.42969C13.2953 3.42188 13.2891 3.41563 13.2828 3.40781L13.2188 3.33437L13.2172 3.33281C13.1938 3.30625 13.1687 3.27969 13.1453 3.25312L13.1438 3.25156C13.0938 3.19844 13.0437 3.14531 12.9922 3.09375L12.9906 3.09219L12.9156 3.01719L12.9109 3.0125C12.8875 2.98906 12.8641 2.96719 12.8406 2.94531C12.8328 2.9375 12.825 2.92969 12.8156 2.92188C12.8 2.90625 12.7844 2.89219 12.7688 2.87812C12.7641 2.87344 12.7578 2.86875 12.7531 2.8625C11.5063 1.70625 9.83594 1 8 1C6.16406 1 4.49375 1.70625 3.24531 2.8625C3.24062 2.86719 3.23438 2.87187 3.22969 2.87812C3.21406 2.89219 3.19844 2.90781 3.18281 2.92344C3.175 2.93125 3.16719 2.93906 3.15781 2.94688C3.13438 2.96875 3.11094 2.99219 3.0875 3.01406L3.08281 3.01875L3.00781 3.09375L3.00625 3.09531C2.95469 3.14688 2.90469 3.2 2.85469 3.25312L2.85313 3.25469C2.82813 3.28125 2.80469 3.30781 2.78125 3.33437L2.77969 3.33594C2.75781 3.35938 2.73594 3.38437 2.71563 3.40937C2.70938 3.41719 2.70313 3.42344 2.69688 3.43125C2.67969 3.45 2.66406 3.47031 2.64687 3.48906C2.64375 3.49375 2.63906 3.49688 2.63594 3.50156C1.61562 4.71719 1 6.28594 1 8C1 9.71406 1.61563 11.2828 2.6375 12.5C2.64062 12.5047 2.64531 12.5094 2.64844 12.5141L2.69688 12.5719C2.70313 12.5797 2.70938 12.5859 2.71563 12.5938L2.77969 12.6672C2.77969 12.6687 2.78125 12.6688 2.78125 12.6703C2.80469 12.6969 2.82813 12.7234 2.85313 12.7484L2.85469 12.75C2.90469 12.8031 2.95469 12.8562 3.00469 12.9078L3.00625 12.9094C3.03125 12.9344 3.05469 12.9594 3.07969 12.9828L3.08437 12.9875C3.13594 13.0391 3.18906 13.0891 3.24219 13.1375C4.49375 14.2937 6.16406 15 8 15C9.83594 15 11.5062 14.2937 12.7547 13.1375C12.8079 13.0887 12.86 13.0387 12.9109 12.9875L12.9156 12.9828C12.9406 12.9578 12.9656 12.9344 12.9891 12.9094L12.9906 12.9078C13.0422 12.8562 13.0922 12.8031 13.1406 12.75L13.1422 12.7484C13.1656 12.7219 13.1906 12.6969 13.2141 12.6703C13.2141 12.6688 13.2156 12.6687 13.2156 12.6672C13.2375 12.6438 13.2594 12.6187 13.2797 12.5938C13.2859 12.5859 13.2922 12.5797 13.2984 12.5719C13.3161 12.553 13.3333 12.5338 13.35 12.5141ZM13.4141 10.2859C13.1984 10.7953 12.9141 11.2672 12.5672 11.6953C12.1765 11.3577 11.7494 11.0647 11.2937 10.8219C11.475 10.0891 11.5875 9.28438 11.6172 8.4375H13.8594C13.8125 9.07656 13.6625 9.69687 13.4141 10.2859ZM13.8594 7.5625H11.6172C11.5875 6.71562 11.475 5.91094 11.2937 5.17812C11.7516 4.93437 12.1781 4.64062 12.5672 4.30469C13.3212 5.23277 13.7722 6.3699 13.8594 7.5625ZM10.2859 2.58594C10.9062 2.84844 11.4703 3.21094 11.9672 3.66719C11.6785 3.91296 11.3679 4.13159 11.0391 4.32031C10.7937 3.61719 10.4797 3.00625 10.1141 2.51719C10.1719 2.53906 10.2297 2.5625 10.2859 2.58594ZM8.87031 13.5328C8.72656 13.6453 8.58281 13.7312 8.4375 13.7891V10.8906C9.05749 10.9339 9.66717 11.0719 10.2453 11.3C10.1156 11.6844 9.96562 12.0391 9.79219 12.3594C9.52031 12.8656 9.20156 13.2703 8.87031 13.5328ZM9.79219 3.64062C9.96406 3.9625 10.1156 4.31719 10.2453 4.7C9.66717 4.92806 9.05749 5.06612 8.4375 5.10938V2.2125C8.58125 2.27031 8.72656 2.35469 8.87031 2.46875C9.20156 2.72969 9.52031 3.13438 9.79219 3.64062ZM8.4375 10.0141V8.4375H10.7422C10.7172 9.12813 10.6313 9.79844 10.4875 10.4344L10.4828 10.4531C9.82708 10.2045 9.13751 10.0564 8.4375 10.0141ZM8.4375 7.5625V5.98594C9.15312 5.94219 9.84063 5.79063 10.4828 5.54688L10.4875 5.56563C10.6313 6.20156 10.7172 6.87031 10.7422 7.5625H8.4375ZM7.5625 8.4375V10.0141C6.84688 10.0578 6.15938 10.2094 5.51719 10.4531L5.5125 10.4344C5.36875 9.79844 5.28281 9.12969 5.25781 8.4375H7.5625ZM5.25781 7.5625C5.28281 6.87187 5.36875 6.20156 5.5125 5.56563L5.51719 5.54688C6.15938 5.79063 6.84531 5.94219 7.5625 5.98594V7.5625H5.25781ZM7.5625 10.8906V13.7875C7.41875 13.7297 7.27344 13.6453 7.12969 13.5312C6.79844 13.2703 6.47813 12.8641 6.20625 12.3578C6.03438 12.0359 5.88281 11.6812 5.75313 11.2984C6.33438 11.0703 6.93906 10.9344 7.5625 10.8906ZM7.5625 5.10938C6.94251 5.06612 6.33283 4.92806 5.75469 4.7C5.88437 4.31562 6.03437 3.96094 6.20781 3.64062C6.47969 3.13438 6.79844 2.72812 7.13125 2.46719C7.275 2.35469 7.41875 2.26875 7.56406 2.21094V5.10938H7.5625ZM5.71406 2.58594C5.77188 2.5625 5.82812 2.53906 5.88594 2.51719C5.52031 3.00625 5.20625 3.61719 4.96094 4.32031C4.63281 4.13281 4.32188 3.91406 4.03281 3.66719C4.52969 3.21094 5.09375 2.84844 5.71406 2.58594ZM2.58594 5.71406C2.80156 5.20469 3.08594 4.73281 3.43281 4.30469C3.82187 4.64062 4.24844 4.93437 4.70625 5.17812C4.525 5.91094 4.4125 6.71562 4.38281 7.5625H2.14062C2.1875 6.92344 2.3375 6.30313 2.58594 5.71406ZM2.14062 8.4375H4.38281C4.4125 9.28438 4.525 10.0891 4.70625 10.8219C4.25059 11.0647 3.82347 11.3577 3.43281 11.6953C2.6788 10.7672 2.22776 9.6301 2.14062 8.4375ZM5.71406 13.4141C5.09375 13.1516 4.52969 12.7891 4.03281 12.3328C4.32188 12.0859 4.63281 11.8687 4.96094 11.6797C5.20625 12.3828 5.52031 12.9938 5.88594 13.4828C5.82812 13.4609 5.77031 13.4375 5.71406 13.4141ZM10.2859 13.4141C10.2281 13.4375 10.1719 13.4609 10.1141 13.4828C10.4797 12.9938 10.7937 12.3828 11.0391 11.6797C11.3672 11.8672 11.6781 12.0859 11.9672 12.3328C11.4731 12.7872 10.9043 13.1529 10.2859 13.4141Z"
8
+ fill="#8D8D8D"
9
+ />
10
+ </svg>
11
+ );
12
+
13
+ export const LanguageIcon = styled(Icon).attrs(() => ({
14
+ 'data-component-name': 'icons/LanguageIcon/LanguageIcon',
15
+ }))``;
@@ -0,0 +1 @@
1
+ export * from '@theme/icons/LanguageIcon/LanguageIcon';
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ export const Icon = () => (
5
+ <svg
6
+ width="16"
7
+ height="16"
8
+ viewBox="0 0 16 16"
9
+ fill="currentColor"
10
+ xmlns="http://www.w3.org/2000/svg"
11
+ >
12
+ <path
13
+ d="M7.53125 2.375H8.46875C8.55208 2.375 8.59375 2.41667 8.59375 2.5V13.5C8.59375 13.5833 8.55208 13.625 8.46875 13.625H7.53125C7.44792 13.625 7.40625 13.5833 7.40625 13.5V2.5C7.40625 2.41667 7.44792 2.375 7.53125 2.375Z"
14
+ fill="inherit"
15
+ />
16
+ <path
17
+ d="M2.75 7.40625H13.25C13.3333 7.40625 13.375 7.44792 13.375 7.53125V8.46875C13.375 8.55208 13.3333 8.59375 13.25 8.59375H2.75C2.66667 8.59375 2.625 8.55208 2.625 8.46875V7.53125C2.625 7.44792 2.66667 7.40625 2.75 7.40625Z"
18
+ fill="inherit"
19
+ />
20
+ </svg>
21
+ );
22
+
23
+ export const PlusIcon = styled(Icon).attrs(() => ({
24
+ 'data-component-name': 'icons/PlusIcon/PlusIcon',
25
+ }))``;
@@ -0,0 +1 @@
1
+ export * from '@theme/icons/PlusIcon/PlusIcon';
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import styled from 'styled-components';
3
+
4
+ const Icon = () => (
5
+ <svg width="16" height="16" viewBox="0 0 16 16" fill="#8D8D8D" xmlns="http://www.w3.org/2000/svg">
6
+ <rect width="16" height="16" fill="none" />
7
+ <path
8
+ d="M9 3L8.285 3.6965L12.075 7.5H2V8.5H12.075L8.285 12.2865L9 13L14 8L9 3Z"
9
+ fill="inherit"
10
+ />
11
+ </svg>
12
+ );
13
+
14
+ export const PointingArrowIcon = styled(Icon).attrs(() => ({
15
+ 'data-component-name': 'icons/PointingArrowIcon/PointingArrowIcon',
16
+ }))``;
@@ -0,0 +1 @@
1
+ export * from '@theme/icons/PointingArrowIcon/PointingArrowIcon';
@@ -3,10 +3,9 @@ import styled from 'styled-components';
3
3
 
4
4
  interface IconProps {
5
5
  className?: string;
6
- color?: string;
7
6
  }
8
7
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
8
+ const Icon = ({ className }: IconProps) => (
10
9
  <svg
11
10
  data-component-name="icons/ReportIcon"
12
11
  viewBox="0 0 14 14"
@@ -17,13 +16,13 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
17
16
  <rect width="14" height="14" fill="none" style={{ mixBlendMode: 'multiply' }} />
18
17
  <path
19
18
  d="M7 8.75C6.87021 8.75 6.74333 8.78849 6.63541 8.8606C6.52749 8.93271 6.44337 9.0352 6.3937 9.15511C6.34403 9.27503 6.33104 9.40698 6.35636 9.53428C6.38168 9.66158 6.44418 9.77851 6.53596 9.87029C6.62774 9.96207 6.74467 10.0246 6.87197 10.0499C6.99927 10.0752 7.13122 10.0622 7.25114 10.0125C7.37105 9.96288 7.47354 9.87876 7.54565 9.77084C7.61776 9.66292 7.65625 9.53604 7.65625 9.40625C7.65625 9.2322 7.58711 9.06528 7.46404 8.94221C7.34097 8.81914 7.17405 8.75 7 8.75Z"
20
- fill={color}
19
+ fill="currentColor"
21
20
  fillOpacity="1"
22
21
  />
23
22
  <path d="M7.4375 3.9375H6.5625V7.875H7.4375V3.9375Z" fill="white" fillOpacity="1" />
24
23
  <path
25
24
  d="M11.375 12.25H2.625C2.39302 12.2497 2.17061 12.1575 2.00658 11.9934C1.84254 11.8294 1.75027 11.607 1.75 11.375V2.625C1.75027 2.39302 1.84254 2.17061 2.00658 2.00658C2.17061 1.84254 2.39302 1.75027 2.625 1.75H11.375C11.607 1.75027 11.8294 1.84254 11.9934 2.00658C12.1575 2.17061 12.2497 2.39302 12.25 2.625V11.375C12.2497 11.607 12.1575 11.8294 11.9934 11.9934C11.8294 12.1575 11.607 12.2497 11.375 12.25ZM2.625 2.625V11.375H11.3755L11.375 2.625H2.625Z"
26
- fill={color}
25
+ fill="currentColor"
27
26
  fillOpacity="1"
28
27
  />
29
28
  </svg>
@@ -3,10 +3,9 @@ import styled from 'styled-components';
3
3
 
4
4
  interface IconProps {
5
5
  className?: string;
6
- color?: string;
7
6
  }
8
7
 
9
- const Icon = ({ className, color = 'white' }: IconProps) => (
8
+ const Icon = ({ className }: IconProps) => (
10
9
  <svg
11
10
  data-component-name="icons/SelectIcon"
12
11
  viewBox="0 0 16 16"
@@ -14,12 +13,12 @@ const Icon = ({ className, color = 'white' }: IconProps) => (
14
13
  xmlns="http://www.w3.org/2000/svg"
15
14
  className={className}
16
15
  >
17
- <path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill={color} />
18
- <path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill={color} />
19
- <path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill={color} />
16
+ <path d="M10.5 3.64746H1.5V4.64746H10.5V3.64746Z" fill="currentColor" />
17
+ <path d="M10.5 6.64746H1.5V7.64746H10.5V6.64746Z" fill="currentColor" />
18
+ <path d="M7.5 9.64746H1.5V10.6475H7.5V9.64746Z" fill="currentColor" />
20
19
  <path
21
20
  d="M10.5 10.9425L9.205 9.64746L8.5 10.3525L10.5 12.3525L14.5 8.35246L13.795 7.64746L10.5 10.9425Z"
22
- fill={color}
21
+ fill="currentColor"
23
22
  />
24
23
  </svg>
25
24
  );
@@ -15,3 +15,7 @@ export * from '@theme/icons/SelectIcon';
15
15
  export * from '@theme/icons/BurgerIcon';
16
16
  export * from '@theme/icons/CloseIcon';
17
17
  export * from '@theme/icons/LogoutIcon';
18
+ export * from '@theme/icons/LanguageIcon';
19
+ export * from '@theme/icons/PointingArrowIcon';
20
+ export * from '@theme/icons/CheckboxIcon';
21
+ export * from '@theme/icons/ErrorIcon';
@@ -30,6 +30,10 @@ export function Forbidden(): JSX.Element {
30
30
  }
31
31
 
32
32
  const Wrapper = styled.div`
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ justify-content: center;
33
37
  margin: 25px auto;
34
38
  font-family: var(--page-403-font-family);
35
39
  text-align: center;
@@ -30,6 +30,10 @@ export function NotFound(): JSX.Element {
30
30
  }
31
31
 
32
32
  const Wrapper = styled.div`
33
+ display: flex;
34
+ flex-direction: column;
35
+ align-items: center;
36
+ justify-content: center;
33
37
  margin: 25px auto;
34
38
  font-family: var(--page-404-font-family);
35
39
  text-align: center;
@@ -22,6 +22,7 @@ export type ResolvedNavLinkItem = {
22
22
  routeSlug?: string;
23
23
  active?: boolean;
24
24
  icon?: string;
25
+ srcSet?: string;
25
26
  [REDOCLY_TEAMS_RBAC]?: Rbac;
26
27
  };
27
28
 
@@ -48,6 +49,7 @@ export type ResolvedNavGroupItem = {
48
49
  routeSlug?: string;
49
50
  active?: boolean;
50
51
  icon?: string;
52
+ srcSet?: string;
51
53
  [REDOCLY_TEAMS_RBAC]?: Rbac;
52
54
  };
53
55
 
@@ -70,6 +72,7 @@ export type ResolvedNavItem =
70
72
  items?: ResolvedNavItem[]; // for typescript
71
73
  sidebar?: ResolvedNavItem[]; // for typescript
72
74
  icon?: string;
75
+ srcSet?: string;
73
76
  languageInsensitive?: boolean;
74
77
  [REDOCLY_TEAMS_RBAC]?: Rbac;
75
78
  }
@@ -88,6 +91,7 @@ export type ResolvedNavItem =
88
91
  items?: ResolvedNavItem[]; // for typescript
89
92
  sidebar?: ResolvedNavItem[]; // for typescript
90
93
  icon?: string; // for typescript
94
+ srcSet?: string;
91
95
  languageInsensitive?: boolean; // for typescript
92
96
  [REDOCLY_TEAMS_RBAC]?: Rbac;
93
97
  };
@@ -150,6 +154,7 @@ export type NavItem = {
150
154
  };
151
155
  export interface LogoConfig {
152
156
  image?: string;
157
+ srcSet?: string;
153
158
  altText?: string;
154
159
  link?: string;
155
160
  favicon?: string;
@@ -25,7 +25,6 @@ const Arrow = ({
25
25
 
26
26
  export const ArrowBack = styled(Arrow)`
27
27
  fill: var(--sidebar-back-button-icon-color);
28
- margin-right: calc(var(--sidebar-spacing-unit));
29
28
 
30
29
  background-image: var(--sidebar-back-button-icon);
31
30
  background-repeat: no-repeat;
package/src/ui/Burger.tsx CHANGED
@@ -32,7 +32,7 @@ const Line = styled.div`
32
32
  margin: 4px 0;
33
33
  width: 100%;
34
34
  height: 2px;
35
- background: var(--text-color);
35
+ background: var(--border-primary);
36
36
  border-radius: 1px;
37
37
  `;
38
38
 
@@ -36,9 +36,9 @@ const DropDownHeader = styled.div`
36
36
  align-items: center;
37
37
  padding: 8px 10px;
38
38
  border-radius: 4px;
39
- border: 1px solid var(--border-color);
39
+ border: 1px solid var(--border-primary);
40
40
  font-weight: 600;
41
- color: var(--text-color);
41
+ color: var(--text-primary);
42
42
  background: var(--background-color);
43
43
  `;
44
44
 
@@ -48,7 +48,7 @@ const DropDownList = styled.div`
48
48
  margin: 2px 20px 0 20px;
49
49
  padding: 0;
50
50
  border-radius: 4px;
51
- border: 1px solid var(--border-color);
51
+ border: 1px solid var(--border-primary);
52
52
  z-index: var(--z-index-popover);
53
53
  left: 0;
54
54
  right: 0;
@@ -67,20 +67,20 @@ const ListItem = styled.div`
67
67
  background-color: var(--background-color);
68
68
  padding: 0.4em 10px;
69
69
  font-size: 1em;
70
- color: var(--text-color);
70
+ color: var(--text-secondary);
71
71
  cursor: pointer;
72
72
  &:hover {
73
- background-color: var(--color-secondary-300);
73
+ background-color: var(--bg-raised);
74
74
  }
75
75
  &.active {
76
- background-color: var(--color-secondary-300);
76
+ background-color: var(--bg-raised);
77
77
  }
78
78
  `;
79
79
 
80
80
  const DropDownLink = styled(Link)`
81
81
  display: block;
82
82
  text-decoration: none;
83
- color: var(--text-color);
83
+ color: var(--text-secondary);
84
84
  `;
85
85
 
86
86
  export function Dropdown({ items, activeItem }: DropdownProps): JSX.Element {
@@ -25,7 +25,7 @@ export const Jumbotron = styled(Background).attrs(() => ({
25
25
  ${({ bgImage, bgColor }) =>
26
26
  bgImage &&
27
27
  `
28
- background: ${bgColor || 'var(--text-color)'} url(${bgImage});
28
+ background: ${bgColor || 'var(--text-base)'} url(${bgImage});
29
29
  background-repeat: no-repeat;
30
30
  background-size: cover;
31
31
  background-position: center;