@verdaccio/ui-components 3.0.0-next.2 → 4.0.0-next-8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (490) hide show
  1. package/.eslintrc +1 -1
  2. package/CHANGELOG.md +85 -0
  3. package/build/AppTest/AppRoute.js +34 -0
  4. package/build/AppTest/pages/Front/Home.js +9 -0
  5. package/build/AppTest/pages/Front/index.js +14 -0
  6. package/build/AppTest/pages/Version/Version.js +34 -0
  7. package/build/AppTest/pages/Version/index.js +14 -0
  8. package/build/Theme/ResetStyles.js +2 -3
  9. package/build/Theme/StyleBaseline.js +2 -3
  10. package/build/Theme/ThemeProvider.js +3 -3
  11. package/build/Theme/colors.js +1 -2
  12. package/build/Theme/index.js +3 -3
  13. package/build/Theme/theme.js +17 -7
  14. package/build/__mocks__/react-markdown.js +1 -1
  15. package/build/components/ActionBar/ActionBar.js +8 -7
  16. package/build/components/ActionBar/ActionBarAction.js +13 -14
  17. package/build/components/ActionBar/index.js +1 -1
  18. package/build/components/Author/Author.js +15 -45
  19. package/build/components/Author/index.js +1 -1
  20. package/build/components/Author/styles.js +3 -5
  21. package/build/components/CopyClipboard/CopyToClipBoard.js +2 -3
  22. package/build/components/CopyClipboard/index.js +1 -1
  23. package/build/components/CopyClipboard/utils.js +3 -12
  24. package/build/components/Dependencies/Dependencies.js +31 -58
  25. package/build/components/Dependencies/DependencyBlock.js +102 -0
  26. package/build/components/Dependencies/index.js +1 -1
  27. package/build/components/Dependencies/utits.js +10 -0
  28. package/build/components/Deprecated/Deprecated.js +2 -3
  29. package/build/components/Deprecated/index.js +1 -1
  30. package/build/components/Developers/DeveloperType.js +12 -0
  31. package/build/components/Developers/Developers.js +26 -32
  32. package/build/components/Developers/Title.js +7 -13
  33. package/build/components/Developers/get-unique-developer-values.js +1 -2
  34. package/build/components/Developers/index.js +4 -4
  35. package/build/components/Distribution/Dist.js +3 -4
  36. package/build/components/Distribution/index.js +1 -1
  37. package/build/components/Distribution/styles.js +14 -31
  38. package/build/components/Engines/Engines.js +10 -5
  39. package/build/components/Engines/index.js +1 -1
  40. package/build/components/Engines/styles.js +9 -11
  41. package/build/components/ErrorBoundary/ErrorBoundary.js +2 -2
  42. package/build/components/ErrorBoundary/index.js +1 -1
  43. package/build/components/Forbidden/Forbidden.js +75 -0
  44. package/build/components/Forbidden/index.js +14 -0
  45. package/build/components/FundButton/FundButton.js +11 -13
  46. package/build/components/FundButton/index.js +1 -1
  47. package/build/components/HeaderInfoDialog/HeaderInfoDialog.js +5 -5
  48. package/build/components/HeaderInfoDialog/index.js +1 -1
  49. package/build/components/Heading/Heading.js +5 -6
  50. package/build/components/Heading/index.js +1 -1
  51. package/build/components/Help/Help.js +4 -5
  52. package/build/components/Help/index.js +1 -1
  53. package/build/components/Help/styles.js +2 -3
  54. package/build/components/Icons/DevsIcons/CommonJS.js +2 -13
  55. package/build/components/Icons/DevsIcons/ES6Module.js +3 -14
  56. package/build/components/Icons/DevsIcons/Git.js +2 -13
  57. package/build/components/Icons/DevsIcons/NodeJS.js +2 -13
  58. package/build/components/Icons/DevsIcons/TypeScript.js +2 -13
  59. package/build/components/Icons/Earth.js +3 -4
  60. package/build/components/Icons/FileBinary.js +14 -9
  61. package/build/components/Icons/Law.js +15 -10
  62. package/build/components/Icons/License.js +3 -4
  63. package/build/components/Icons/License.js.map +1 -1
  64. package/build/components/Icons/Managers/Npm.js +2 -13
  65. package/build/components/Icons/Managers/Pnpm.js +2 -13
  66. package/build/components/Icons/Managers/Yarn.js +2 -13
  67. package/build/components/Icons/SvgIcon.js +3 -4
  68. package/build/components/Icons/Time.js +3 -4
  69. package/build/components/Icons/Version.js +3 -4
  70. package/build/components/Install/Install.js +30 -26
  71. package/build/components/Install/InstallListItem.js +22 -23
  72. package/build/components/Install/index.js +1 -1
  73. package/build/components/Keywords/KeywordListItems.js +34 -0
  74. package/build/components/Keywords/Keywords.js +39 -0
  75. package/build/components/Keywords/index.js +14 -0
  76. package/build/components/Label/Label.js +3 -4
  77. package/build/components/Label/index.js +1 -1
  78. package/build/components/Link/Link.js +5 -19
  79. package/build/components/Link/index.js +2 -2
  80. package/build/components/LinkExternal/LinkExternal.js +32 -0
  81. package/build/components/LinkExternal/index.js +14 -0
  82. package/build/components/Loading/Loading.js +2 -3
  83. package/build/components/Loading/Spinner/Spinner.js +2 -3
  84. package/build/components/Loading/Spinner/index.js +1 -1
  85. package/build/components/Loading/index.js +1 -1
  86. package/build/components/Loading/styles.js +6 -7
  87. package/build/components/LoginDialog/LoginDialog.js +16 -6
  88. package/build/components/LoginDialog/LoginDialogCloseButton.js +5 -5
  89. package/build/components/LoginDialog/LoginDialogForm.js +7 -20
  90. package/build/components/LoginDialog/LoginDialogFormError.js +7 -7
  91. package/build/components/LoginDialog/LoginDialogHeader.js +2 -3
  92. package/build/components/LoginDialog/index.js +1 -1
  93. package/build/components/Logo/Logo.js +15 -9
  94. package/build/components/Logo/index.js +1 -1
  95. package/build/components/MenuItem/MenuItem.js +5 -6
  96. package/build/components/MenuItem/index.js +1 -1
  97. package/build/components/NoItems/NoItems.js +2 -3
  98. package/build/components/NoItems/index.js +1 -1
  99. package/build/components/NotFound/NotFound.js +20 -19
  100. package/build/components/NotFound/index.js +1 -1
  101. package/build/components/Package/Package.js +48 -40
  102. package/build/components/Package/index.js +2 -2
  103. package/build/components/Package/styles.js +59 -84
  104. package/build/components/PackageList/PackageList.js +2 -3
  105. package/build/components/PackageList/index.js +1 -1
  106. package/build/components/Person/Person.js +48 -0
  107. package/build/components/Person/PersonTooltip.js +22 -0
  108. package/build/components/Person/index.js +14 -0
  109. package/build/components/Person/utils.js +17 -0
  110. package/build/components/RawViewer/RawViewer.js +13 -8
  111. package/build/components/RawViewer/index.js +1 -1
  112. package/build/components/Readme/Readme.js +46 -11
  113. package/build/components/Readme/Readme.js.map +1 -1
  114. package/build/components/Readme/Readme.spec.js +20 -1
  115. package/build/components/Readme/Readme.spec.js.map +1 -1
  116. package/build/components/Readme/{github-markdown-dark.css → github-markdown.css} +266 -83
  117. package/build/components/Readme/index.js +1 -1
  118. package/build/components/Readme/utils.js +14 -17
  119. package/build/components/RegistryInfoDialog/RegistryInfoDialog.js +2 -3
  120. package/build/components/RegistryInfoDialog/index.js +1 -1
  121. package/build/components/RegistryInfoDialog/styles.js +13 -17
  122. package/build/components/Repository/Repository.js +23 -36
  123. package/build/components/Repository/index.js +1 -1
  124. package/build/components/Search/AutoComplete/AutoComplete.js +4 -5
  125. package/build/components/Search/AutoComplete/index.js +1 -1
  126. package/build/components/Search/AutoComplete/styles.js +6 -45
  127. package/build/components/Search/Search.js +11 -10
  128. package/build/components/Search/SearchItem.js +56 -45
  129. package/build/components/Search/index.js +1 -1
  130. package/build/components/Search/styles.js +3 -5
  131. package/build/components/Search/utils.js +23 -0
  132. package/build/components/SettingsMenu/SettingsMenu.js +36 -11
  133. package/build/components/SettingsMenu/index.js +1 -1
  134. package/build/components/SideBarTitle/SideBarTitle.js +104 -0
  135. package/build/components/SideBarTitle/index.js +14 -0
  136. package/build/components/{SideBarTittle → SideBarTitle}/utils.js +2 -3
  137. package/build/components/TextField/TextField.js +5 -6
  138. package/build/components/TextField/index.js +1 -1
  139. package/build/components/UpLinks/UpLinks.js +37 -9
  140. package/build/components/UpLinks/UplinkLink.js +22 -0
  141. package/build/components/UpLinks/index.js +1 -1
  142. package/build/components/UpLinks/styles.js +9 -11
  143. package/build/components/Versions/HistoryList.js +32 -26
  144. package/build/components/Versions/TagList.js +10 -7
  145. package/build/components/Versions/Versions.js +69 -16
  146. package/build/components/Versions/index.js +1 -1
  147. package/build/components/Versions/styles.js +3 -5
  148. package/build/hooks/index.js +1 -1
  149. package/build/hooks/useLocalStorage.js +1 -2
  150. package/build/hooks/useOnClickOutside.js +1 -2
  151. package/build/index.js +40 -8
  152. package/build/layouts/Version/Version.js +2 -3
  153. package/build/layouts/Version/index.js +1 -1
  154. package/build/providers/AppConfigurationProvider/AppConfigurationProvider.js +5 -5
  155. package/build/providers/AppConfigurationProvider/index.js +2 -2
  156. package/build/providers/PersistenceSettingProvider/PersistenceSettingProvider.js +5 -5
  157. package/build/providers/PersistenceSettingProvider/index.js +2 -2
  158. package/build/providers/TranslatorProvider/TranslatorProvider.js +4 -5
  159. package/build/providers/TranslatorProvider/TranslatorProvider.spec.js +3 -3
  160. package/build/providers/TranslatorProvider/index.js +2 -2
  161. package/build/providers/VersionProvider/VersionProvider.js +5 -7
  162. package/build/providers/VersionProvider/index.js +2 -2
  163. package/build/sections/Detail/ContainerContent.js +5 -7
  164. package/build/sections/Detail/Detail.js +13 -11
  165. package/build/sections/Detail/ReadmeSection.js +2 -3
  166. package/build/sections/Detail/Tabs.js +6 -8
  167. package/build/sections/Detail/index.js +1 -1
  168. package/build/sections/Footer/Footer.js +39 -11
  169. package/build/sections/Footer/index.js +1 -1
  170. package/build/sections/Footer/styles.js +19 -21
  171. package/build/sections/Header/Header.js +4 -5
  172. package/build/sections/Header/HeaderGreetings.js +2 -3
  173. package/build/sections/Header/HeaderLeft.js +16 -20
  174. package/build/sections/Header/HeaderMenu.js +3 -4
  175. package/build/sections/Header/HeaderRight.js +16 -8
  176. package/build/sections/Header/HeaderSettingsDialog.js +6 -10
  177. package/build/sections/Header/HeaderToolTip.js +2 -3
  178. package/build/sections/Header/HeaderToolTipIcon.js +4 -5
  179. package/build/sections/Header/LanguageSwitch.js +10 -13
  180. package/build/sections/Header/RegistryInfoContent/RegistryInfoContent.js +14 -24
  181. package/build/sections/Header/RegistryInfoContent/index.js +1 -1
  182. package/build/sections/Header/RegistryInfoContent/styles.js +3 -5
  183. package/build/sections/Header/index.js +1 -1
  184. package/build/sections/Header/styles.js +54 -106
  185. package/build/sections/Home/Home.js +4 -5
  186. package/build/sections/Home/index.js +1 -1
  187. package/build/sections/SideBar/Sidebar.js +23 -30
  188. package/build/sections/SideBar/index.js +1 -1
  189. package/build/sections/index.js +1 -1
  190. package/build/src/AppTest/App.stories.d.ts +8 -0
  191. package/build/src/AppTest/AppRoute.d.ts +3 -0
  192. package/build/src/AppTest/pages/Front/Home.d.ts +2 -0
  193. package/build/src/AppTest/pages/Front/index.d.ts +1 -0
  194. package/build/src/AppTest/pages/Version/Version.d.ts +3 -0
  195. package/build/src/AppTest/pages/Version/index.d.ts +1 -0
  196. package/build/src/Theme/ThemeProvider.test.d.ts +1 -0
  197. package/build/src/components/Author/Author.d.ts +0 -5
  198. package/build/src/components/CopyClipboard/CopyToClipBoard.test.d.ts +1 -0
  199. package/build/src/components/Dependencies/DependencyBlock.d.ts +16 -0
  200. package/build/src/components/Dependencies/DependencyBlock.test.d.ts +1 -0
  201. package/build/src/components/Dependencies/utits.d.ts +3 -0
  202. package/build/src/components/Developers/DeveloperType.d.ts +4 -0
  203. package/build/src/components/Developers/Developers.d.ts +1 -4
  204. package/build/src/components/Developers/Title.d.ts +1 -4
  205. package/build/src/components/Developers/index.d.ts +2 -1
  206. package/build/src/components/Distribution/styles.d.ts +0 -1
  207. package/build/src/components/ErrorBoundary/ErrorBoundary.test.d.ts +1 -0
  208. package/build/src/components/Forbidden/Forbidden.d.ts +3 -0
  209. package/build/src/components/Forbidden/Forbidden.test.d.ts +1 -0
  210. package/build/src/components/Forbidden/index.d.ts +1 -0
  211. package/build/src/components/HeaderInfoDialog/HeaderInfoDialog.test.d.ts +1 -0
  212. package/build/src/components/Heading/Heading.test.d.ts +1 -0
  213. package/build/src/components/Icons/Icons.test.d.ts +1 -0
  214. package/build/src/components/Install/InstallListItem.d.ts +1 -1
  215. package/build/src/components/Keywords/KeywordListItems.d.ts +5 -0
  216. package/build/src/components/Keywords/Keywords.d.ts +6 -0
  217. package/build/src/components/Keywords/Keywords.stories.d.ts +5 -0
  218. package/build/src/components/Keywords/Keywords.test.d.ts +1 -0
  219. package/build/src/components/Keywords/index.d.ts +1 -0
  220. package/build/src/components/Link/Link.d.ts +0 -3
  221. package/build/src/components/Link/Link.test.d.ts +1 -0
  222. package/build/src/components/Link/index.d.ts +1 -1
  223. package/build/src/components/LinkExternal/LinkExternal.d.ts +3 -0
  224. package/build/src/components/LinkExternal/LinkExternal.test.d.ts +1 -0
  225. package/build/src/components/LinkExternal/index.d.ts +1 -0
  226. package/build/src/components/Loading/styles.d.ts +2 -2
  227. package/build/src/components/Logo/Logo.d.ts +1 -0
  228. package/build/src/components/Logo/Logo.stories.d.ts +5 -0
  229. package/build/src/components/Package/Package.d.ts +1 -1
  230. package/build/src/components/Package/styles.d.ts +7 -15
  231. package/build/src/components/Person/Person.d.ts +9 -0
  232. package/build/src/components/Person/Person.test.d.ts +1 -0
  233. package/build/src/components/Person/PersonTooltip.d.ts +6 -0
  234. package/build/src/components/Person/index.d.ts +1 -0
  235. package/build/src/components/Person/utils.d.ts +3 -0
  236. package/build/src/components/Readme/Readme.d.ts +1 -1
  237. package/build/src/components/RegistryInfoDialog/styles.d.ts +1 -1
  238. package/build/src/components/Search/AutoComplete/styles.d.ts +1 -9
  239. package/build/src/components/Search/SearchItem.d.ts +1 -1
  240. package/build/src/components/Search/utils.d.ts +1 -0
  241. package/build/src/components/SettingsMenu/SettingsMenu.d.ts +2 -2
  242. package/build/src/components/SettingsMenu/SettingsMenu.test.d.ts +1 -0
  243. package/build/src/components/SideBarTitle/index.d.ts +1 -0
  244. package/build/src/components/UpLinks/UplinkLink.d.ts +6 -0
  245. package/build/src/components/UpLinks/styles.d.ts +2 -2
  246. package/build/src/components/Versions/Versions.d.ts +1 -0
  247. package/build/src/components/Versions/styles.d.ts +2 -2
  248. package/build/src/index.d.ts +6 -2
  249. package/build/src/sections/Detail/Detail.stories.d.ts +1 -0
  250. package/build/src/sections/Detail/Tabs.d.ts +1 -0
  251. package/build/src/sections/Footer/styles.d.ts +5 -5
  252. package/build/src/sections/Header/RegistryInfoContent/RegistryInfoContent.d.ts +3 -3
  253. package/build/src/sections/Header/RegistryInfoContent/styles.d.ts +2 -2
  254. package/build/src/sections/Header/styles.d.ts +4 -11
  255. package/build/src/sections/Home/Home.test.d.ts +1 -0
  256. package/build/src/store/models/manifest.d.ts +11 -0
  257. package/build/src/store/models/routes.d.ts +8 -0
  258. package/build/src/store/models/utils.d.ts +1 -0
  259. package/build/src/types/packageMeta.d.ts +7 -5
  260. package/build/src/utils/__partials__/packageMeta.d.ts +0 -1
  261. package/build/src/utils/routes.d.ts +1 -0
  262. package/build/src/utils/utils.d.ts +1 -0
  263. package/build/store/api.js +14 -9
  264. package/build/store/index.js +1 -1
  265. package/build/store/models/configuration.js +4 -4
  266. package/build/store/models/download.js +2 -3
  267. package/build/store/models/index.js +1 -2
  268. package/build/store/models/login.js +7 -7
  269. package/build/store/models/manifest.js +27 -8
  270. package/build/store/models/packages.js +6 -5
  271. package/build/store/models/routes.js +18 -0
  272. package/build/store/models/search.js +7 -6
  273. package/build/store/models/utils.js +10 -0
  274. package/build/store/storage.js +2 -3
  275. package/build/store/store.js +2 -3
  276. package/build/test/i18n-config.js +2 -3
  277. package/build/test/test-react-testing-library.js +1 -1
  278. package/build/utils/__partials__/packageMeta.js +1 -3
  279. package/build/utils/index.js +3 -3
  280. package/build/utils/loadable.js +2 -2
  281. package/build/utils/routes.js +2 -2
  282. package/build/utils/token.js +1 -1
  283. package/build/utils/url.js +1 -1
  284. package/build/utils/utils.js +22 -4
  285. package/package.json +33 -32
  286. package/src/AppTest/App.stories.tsx +32 -0
  287. package/src/AppTest/AppRoute.test.tsx +65 -0
  288. package/src/AppTest/AppRoute.tsx +42 -0
  289. package/src/AppTest/pages/Front/Home.ts +3 -0
  290. package/src/AppTest/pages/Front/index.ts +1 -0
  291. package/src/AppTest/pages/Version/Version.tsx +28 -0
  292. package/src/AppTest/pages/Version/index.ts +1 -0
  293. package/src/Theme/ThemeProvider.test.tsx +27 -0
  294. package/src/Theme/theme.ts +12 -5
  295. package/src/components/ActionBar/ActionBar.test.tsx +36 -15
  296. package/src/components/ActionBar/ActionBar.tsx +1 -1
  297. package/src/components/ActionBar/ActionBarAction.tsx +8 -5
  298. package/src/components/Author/Author.test.tsx +7 -1
  299. package/src/components/Author/Author.tsx +3 -41
  300. package/src/components/CopyClipboard/CopyToClipBoard.test.tsx +23 -0
  301. package/src/components/CopyClipboard/utils.ts +2 -13
  302. package/src/components/Dependencies/Dependencies.stories.tsx +11 -11
  303. package/src/components/Dependencies/Dependencies.test.tsx +1 -11
  304. package/src/components/Dependencies/Dependencies.tsx +30 -69
  305. package/src/components/Dependencies/DependencyBlock.test.tsx +46 -0
  306. package/src/components/Dependencies/DependencyBlock.tsx +83 -0
  307. package/src/components/Dependencies/utits.ts +3 -0
  308. package/src/components/Developers/DeveloperType.tsx +4 -0
  309. package/src/components/Developers/Developers.test.tsx +37 -10
  310. package/src/components/Developers/Developers.tsx +13 -13
  311. package/src/components/Developers/Title.tsx +1 -5
  312. package/src/components/Developers/index.ts +2 -1
  313. package/src/components/Distribution/Dist.test.tsx +1 -1
  314. package/src/components/Distribution/Dist.tsx +2 -4
  315. package/src/components/Distribution/styles.ts +0 -6
  316. package/src/components/Engines/Engines.tsx +6 -2
  317. package/src/components/Engines/styles.ts +1 -1
  318. package/src/components/ErrorBoundary/ErrorBoundary.test.tsx +39 -0
  319. package/src/components/Forbidden/Forbidden.test.tsx +38 -0
  320. package/src/components/Forbidden/Forbidden.tsx +56 -0
  321. package/src/components/Forbidden/index.ts +1 -0
  322. package/src/components/FundButton/FundButton.tsx +5 -5
  323. package/src/components/HeaderInfoDialog/HeaderInfoDialog.test.tsx +51 -0
  324. package/src/components/HeaderInfoDialog/HeaderInfoDialog.tsx +2 -2
  325. package/src/components/Heading/Heading.test.tsx +20 -0
  326. package/src/components/Help/Help.test.tsx +10 -3
  327. package/src/components/Icons/DevsIcons/CommonJS.tsx +1 -7
  328. package/src/components/Icons/DevsIcons/ES6Module.tsx +2 -8
  329. package/src/components/Icons/DevsIcons/Git.tsx +1 -7
  330. package/src/components/Icons/DevsIcons/NodeJS.tsx +1 -7
  331. package/src/components/Icons/DevsIcons/TypeScript.tsx +1 -7
  332. package/src/components/Icons/FileBinary.tsx +2 -1
  333. package/src/components/Icons/Icons.stories.tsx +21 -5
  334. package/src/components/Icons/Icons.test.tsx +70 -0
  335. package/src/components/Icons/Law.tsx +2 -1
  336. package/src/components/Icons/Managers/Npm.tsx +1 -7
  337. package/src/components/Icons/Managers/Pnpm.tsx +1 -7
  338. package/src/components/Icons/Managers/Yarn.tsx +1 -7
  339. package/src/components/Install/Install.test.tsx +54 -13
  340. package/src/components/Install/Install.tsx +12 -11
  341. package/src/components/Install/InstallListItem.tsx +15 -13
  342. package/src/components/Keywords/KeywordListItems.tsx +22 -0
  343. package/src/components/Keywords/Keywords.stories.tsx +19 -0
  344. package/src/components/Keywords/Keywords.test.tsx +57 -0
  345. package/src/components/Keywords/Keywords.tsx +35 -0
  346. package/src/components/Keywords/index.ts +1 -0
  347. package/src/components/Link/Link.test.tsx +25 -0
  348. package/src/components/Link/Link.tsx +4 -18
  349. package/src/components/Link/index.ts +1 -1
  350. package/src/components/LinkExternal/LinkExternal.test.tsx +18 -0
  351. package/src/components/LinkExternal/LinkExternal.tsx +22 -0
  352. package/src/components/LinkExternal/index.ts +1 -0
  353. package/src/components/Loading/Loading.test.tsx +8 -4
  354. package/src/components/Loading/styles.ts +1 -0
  355. package/src/components/LoginDialog/LoginDialog.test.tsx +1 -1
  356. package/src/components/LoginDialog/LoginDialog.tsx +10 -1
  357. package/src/components/LoginDialog/LoginDialogCloseButton.tsx +1 -0
  358. package/src/components/LoginDialog/LoginDialogForm.tsx +0 -2
  359. package/src/components/LoginDialog/LoginDialogFormError.tsx +1 -1
  360. package/src/components/Logo/Logo.stories.tsx +16 -0
  361. package/src/components/Logo/Logo.test.tsx +8 -1
  362. package/src/components/Logo/Logo.tsx +19 -3
  363. package/src/components/NotFound/NotFound.tsx +6 -5
  364. package/src/components/NotFound/Notfound.test.tsx +6 -3
  365. package/src/components/Package/Package.test.tsx +47 -14
  366. package/src/components/Package/Package.tsx +41 -44
  367. package/src/components/Package/styles.ts +7 -17
  368. package/src/components/PackageList/Packagelist.test.tsx +1 -0
  369. package/src/components/Person/Person.test.tsx +50 -0
  370. package/src/components/Person/Person.tsx +45 -0
  371. package/src/components/Person/PersonTooltip.tsx +26 -0
  372. package/src/components/Person/index.ts +1 -0
  373. package/src/components/Person/utils.ts +20 -0
  374. package/src/components/RawViewer/RawViewer.tsx +8 -4
  375. package/src/components/Readme/Readme.spec.tsx +17 -0
  376. package/src/components/Readme/Readme.tsx +34 -7
  377. package/src/components/Readme/{github-markdown-dark.css → github-markdown.css} +266 -83
  378. package/src/components/Readme/utils.ts +15 -14
  379. package/src/components/RegistryInfoDialog/styles.ts +5 -4
  380. package/src/components/Repository/Repository.tsx +10 -17
  381. package/src/components/Search/AutoComplete/AutoComplete.tsx +1 -1
  382. package/src/components/Search/AutoComplete/styles.ts +7 -0
  383. package/src/components/Search/Search.test.tsx +38 -11
  384. package/src/components/Search/Search.tsx +4 -2
  385. package/src/components/Search/SearchItem.tsx +19 -8
  386. package/src/components/Search/utils.ts +17 -0
  387. package/src/components/SettingsMenu/SettingsMenu.test.tsx +41 -0
  388. package/src/components/SettingsMenu/SettingsMenu.tsx +48 -10
  389. package/src/components/{SideBarTittle/SideBarTittle.tsx → SideBarTitle/SideBarTitle.tsx} +19 -3
  390. package/src/components/SideBarTitle/index.ts +1 -0
  391. package/src/components/UpLinks/UpLinks.test.tsx +7 -0
  392. package/src/components/UpLinks/UpLinks.tsx +38 -15
  393. package/src/components/UpLinks/UplinkLink.tsx +20 -0
  394. package/src/components/UpLinks/styles.ts +1 -0
  395. package/src/components/Versions/HistoryList.tsx +11 -6
  396. package/src/components/Versions/TagList.tsx +4 -3
  397. package/src/components/Versions/Versions.test.tsx +26 -8
  398. package/src/components/Versions/Versions.tsx +81 -28
  399. package/src/index.ts +6 -2
  400. package/src/providers/AppConfigurationProvider/AppConfigurationProvider.tsx +1 -0
  401. package/src/providers/PersistenceSettingProvider/PersistenceSettingProvider.tsx +2 -0
  402. package/src/providers/VersionProvider/VersionProvider.test.tsx +3 -3
  403. package/src/sections/Detail/Detail.stories.tsx +10 -0
  404. package/src/sections/Detail/Detail.test.tsx +8 -1
  405. package/src/sections/Detail/Detail.tsx +11 -4
  406. package/src/sections/Detail/Tabs.tsx +6 -9
  407. package/src/sections/Footer/Footer.tsx +26 -12
  408. package/src/sections/Footer/styles.ts +4 -0
  409. package/src/sections/Header/Header.test.tsx +12 -10
  410. package/src/sections/Header/HeaderLeft.tsx +19 -11
  411. package/src/sections/Header/HeaderMenu.tsx +1 -1
  412. package/src/sections/Header/HeaderRight.tsx +14 -3
  413. package/src/sections/Header/HeaderSettingsDialog.tsx +2 -3
  414. package/src/sections/Header/LanguageSwitch.tsx +10 -7
  415. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.test.tsx +1 -1
  416. package/src/sections/Header/RegistryInfoContent/RegistryInfoContent.tsx +2 -7
  417. package/src/sections/Header/styles.ts +4 -16
  418. package/src/sections/Home/Home.test.tsx +37 -0
  419. package/src/sections/Home/Home.tsx +0 -1
  420. package/src/sections/SideBar/Sidebar.test.tsx +52 -84
  421. package/src/sections/SideBar/Sidebar.tsx +11 -26
  422. package/src/store/api.test.ts +19 -2
  423. package/src/store/api.ts +13 -6
  424. package/src/store/models/configuration.ts +2 -1
  425. package/src/store/models/login.ts +10 -12
  426. package/src/store/models/manifest.ts +25 -6
  427. package/src/store/models/packages.ts +4 -5
  428. package/src/store/models/routes.ts +10 -0
  429. package/src/store/models/search.ts +4 -2
  430. package/src/store/models/utils.ts +3 -0
  431. package/src/types/packageMeta.ts +7 -5
  432. package/src/utils/__partials__/packageMeta.ts +0 -1
  433. package/src/utils/routes.ts +1 -0
  434. package/src/utils/utils.test.ts +34 -0
  435. package/src/utils/utils.ts +20 -5
  436. package/tsconfig.json +1 -1
  437. package/build/components/Dependencies/styles.js +0 -68
  438. package/build/components/Developers/styles.js +0 -69
  439. package/build/components/Distribution/utils.js +0 -25
  440. package/build/components/Distribution/utilts.spec.js +0 -18
  441. package/build/components/Package/Tag/Tag.js +0 -15
  442. package/build/components/Package/Tag/index.js +0 -14
  443. package/build/components/Package/Tag/styles.js +0 -25
  444. package/build/components/Readme/ReadmeDark.js +0 -46
  445. package/build/components/Readme/ReadmeLight.js +0 -46
  446. package/build/components/Readme/github-markdown-light.css +0 -1014
  447. package/build/components/SideBarTittle/SideBarTittle.js +0 -95
  448. package/build/components/SideBarTittle/index.js +0 -14
  449. package/build/sections/Header/RegistryInfoDialog/RegistryInfoDialog.js +0 -37
  450. package/build/sections/Header/RegistryInfoDialog/index.js +0 -14
  451. package/build/sections/Header/RegistryInfoDialog/styles.js +0 -49
  452. package/build/sections/Header/RegistryInfoDialog/types.js +0 -6
  453. package/build/src/components/Dependencies/styles.d.ts +0 -8
  454. package/build/src/components/Developers/styles.d.ts +0 -11
  455. package/build/src/components/Distribution/utils.d.ts +0 -7
  456. package/build/src/components/Package/Tag/Tag.d.ts +0 -6
  457. package/build/src/components/Package/Tag/index.d.ts +0 -1
  458. package/build/src/components/Package/Tag/styles.d.ts +0 -5
  459. package/build/src/components/Readme/ReadmeDark.d.ts +0 -5
  460. package/build/src/components/Readme/ReadmeLight.d.ts +0 -5
  461. package/build/src/components/SideBarTittle/index.d.ts +0 -1
  462. package/build/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.d.ts +0 -4
  463. package/build/src/sections/Header/RegistryInfoDialog/index.d.ts +0 -1
  464. package/build/src/sections/Header/RegistryInfoDialog/styles.d.ts +0 -13
  465. package/build/src/sections/Header/RegistryInfoDialog/types.d.ts +0 -7
  466. package/src/components/Dependencies/styles.ts +0 -26
  467. package/src/components/Developers/styles.ts +0 -31
  468. package/src/components/Distribution/utils.ts +0 -32
  469. package/src/components/Distribution/utilts.spec.ts +0 -17
  470. package/src/components/Package/Tag/Tag.test.tsx +0 -15
  471. package/src/components/Package/Tag/Tag.tsx +0 -11
  472. package/src/components/Package/Tag/index.ts +0 -1
  473. package/src/components/Package/Tag/styles.ts +0 -11
  474. package/src/components/Readme/ReadmeDark.tsx +0 -32
  475. package/src/components/Readme/ReadmeLight.tsx +0 -32
  476. package/src/components/Readme/github-markdown-light.css +0 -1014
  477. package/src/components/Search/AutoComplete/styles.tsx +0 -42
  478. package/src/components/SideBarTittle/index.ts +0 -1
  479. package/src/sections/Header/RegistryInfoDialog/RegistryInfoDialog.tsx +0 -31
  480. package/src/sections/Header/RegistryInfoDialog/index.ts +0 -1
  481. package/src/sections/Header/RegistryInfoDialog/styles.ts +0 -21
  482. package/src/sections/Header/RegistryInfoDialog/types.ts +0 -8
  483. /package/build/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
  484. /package/build/src/{components/Package/Tag/Tag.test.d.ts → AppTest/AppRoute.test.d.ts} +0 -0
  485. /package/build/src/components/{SideBarTittle/SideBarTittle.d.ts → SideBarTitle/SideBarTitle.d.ts} +0 -0
  486. /package/build/src/components/{SideBarTittle/SideBarTittle.stories.d.ts → SideBarTitle/SideBarTitle.stories.d.ts} +0 -0
  487. /package/build/src/components/{SideBarTittle → SideBarTitle}/utils.d.ts +0 -0
  488. /package/src/components/Icons/DevsIcons/{es6modules.svg → es6module.svg} +0 -0
  489. /package/src/components/{SideBarTittle/SideBarTittle.stories.tsx → SideBarTitle/SideBarTitle.stories.tsx} +0 -0
  490. /package/src/components/{SideBarTittle → SideBarTitle}/utils.ts +0 -0
@@ -1,12 +1,126 @@
1
- /*dark*/
1
+ /* Ensure monospace for combination with highlight.js */
2
2
 
3
- .markdown-body {
3
+ .markdown-body pre code span {
4
+ font-family: monospace;
5
+ font-size: 1em;
6
+ }
7
+
8
+ /* Output from https://github.com/sindresorhus/generate-github-markdown-css without media selectors and transparent background */
9
+
10
+ .markdown-dark {
11
+ /*dark*/
4
12
  color-scheme: dark;
13
+ --color-prettylights-syntax-comment: #8b949e;
14
+ --color-prettylights-syntax-constant: #79c0ff;
15
+ --color-prettylights-syntax-entity: #d2a8ff;
16
+ --color-prettylights-syntax-storage-modifier-import: #c9d1d9;
17
+ --color-prettylights-syntax-entity-tag: #7ee787;
18
+ --color-prettylights-syntax-keyword: #ff7b72;
19
+ --color-prettylights-syntax-string: #a5d6ff;
20
+ --color-prettylights-syntax-variable: #ffa657;
21
+ --color-prettylights-syntax-brackethighlighter-unmatched: #f85149;
22
+ --color-prettylights-syntax-invalid-illegal-text: #f0f6fc;
23
+ --color-prettylights-syntax-invalid-illegal-bg: #8e1519;
24
+ --color-prettylights-syntax-carriage-return-text: #f0f6fc;
25
+ --color-prettylights-syntax-carriage-return-bg: #b62324;
26
+ --color-prettylights-syntax-string-regexp: #7ee787;
27
+ --color-prettylights-syntax-markup-list: #f2cc60;
28
+ --color-prettylights-syntax-markup-heading: #1f6feb;
29
+ --color-prettylights-syntax-markup-italic: #c9d1d9;
30
+ --color-prettylights-syntax-markup-bold: #c9d1d9;
31
+ --color-prettylights-syntax-markup-deleted-text: #ffdcd7;
32
+ --color-prettylights-syntax-markup-deleted-bg: #67060c;
33
+ --color-prettylights-syntax-markup-inserted-text: #aff5b4;
34
+ --color-prettylights-syntax-markup-inserted-bg: #033a16;
35
+ --color-prettylights-syntax-markup-changed-text: #ffdfb6;
36
+ --color-prettylights-syntax-markup-changed-bg: #5a1e02;
37
+ --color-prettylights-syntax-markup-ignored-text: #c9d1d9;
38
+ --color-prettylights-syntax-markup-ignored-bg: #1158c7;
39
+ --color-prettylights-syntax-meta-diff-range: #d2a8ff;
40
+ --color-prettylights-syntax-brackethighlighter-angle: #8b949e;
41
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;
42
+ --color-prettylights-syntax-constant-other-reference-link: #a5d6ff;
43
+ --color-fg-default: #e6edf3;
44
+ --color-fg-muted: #848d97;
45
+ --color-fg-subtle: #6e7681;
46
+ --color-canvas-default: #0d1117;
47
+ --color-canvas-subtle: #161b22;
48
+ --color-border-default: #30363d;
49
+ --color-border-muted: #21262d;
50
+ --color-neutral-muted: rgba(110,118,129,0.4);
51
+ --color-accent-fg: #2f81f7;
52
+ --color-accent-emphasis: #1f6feb;
53
+ --color-success-fg: #3fb950;
54
+ --color-success-emphasis: #238636;
55
+ --color-attention-fg: #d29922;
56
+ --color-attention-emphasis: #9e6a03;
57
+ --color-attention-subtle: rgba(187,128,9,0.15);
58
+ --color-danger-fg: #f85149;
59
+ --color-danger-emphasis: #da3633;
60
+ --color-done-fg: #a371f7;
61
+ --color-done-emphasis: #8957e5;
62
+ }
63
+
64
+ .markdown-light {
65
+ /*light*/
66
+ color-scheme: light;
67
+ --color-prettylights-syntax-comment: #57606a;
68
+ --color-prettylights-syntax-constant: #0550ae;
69
+ --color-prettylights-syntax-entity: #6639ba;
70
+ --color-prettylights-syntax-storage-modifier-import: #24292f;
71
+ --color-prettylights-syntax-entity-tag: #116329;
72
+ --color-prettylights-syntax-keyword: #cf222e;
73
+ --color-prettylights-syntax-string: #0a3069;
74
+ --color-prettylights-syntax-variable: #953800;
75
+ --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
76
+ --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
77
+ --color-prettylights-syntax-invalid-illegal-bg: #82071e;
78
+ --color-prettylights-syntax-carriage-return-text: #f6f8fa;
79
+ --color-prettylights-syntax-carriage-return-bg: #cf222e;
80
+ --color-prettylights-syntax-string-regexp: #116329;
81
+ --color-prettylights-syntax-markup-list: #3b2300;
82
+ --color-prettylights-syntax-markup-heading: #0550ae;
83
+ --color-prettylights-syntax-markup-italic: #24292f;
84
+ --color-prettylights-syntax-markup-bold: #24292f;
85
+ --color-prettylights-syntax-markup-deleted-text: #82071e;
86
+ --color-prettylights-syntax-markup-deleted-bg: #ffebe9;
87
+ --color-prettylights-syntax-markup-inserted-text: #116329;
88
+ --color-prettylights-syntax-markup-inserted-bg: #dafbe1;
89
+ --color-prettylights-syntax-markup-changed-text: #953800;
90
+ --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
91
+ --color-prettylights-syntax-markup-ignored-text: #eaeef2;
92
+ --color-prettylights-syntax-markup-ignored-bg: #0550ae;
93
+ --color-prettylights-syntax-meta-diff-range: #8250df;
94
+ --color-prettylights-syntax-brackethighlighter-angle: #57606a;
95
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
96
+ --color-prettylights-syntax-constant-other-reference-link: #0a3069;
97
+ --color-fg-default: #1F2328;
98
+ --color-fg-muted: #656d76;
99
+ --color-fg-subtle: #6e7781;
100
+ --color-canvas-default: #ffffff;
101
+ --color-canvas-subtle: #f6f8fa;
102
+ --color-border-default: #d0d7de;
103
+ --color-border-muted: hsla(210,18%,87%,1);
104
+ --color-neutral-muted: rgba(175,184,193,0.2);
105
+ --color-accent-fg: #0969da;
106
+ --color-accent-emphasis: #0969da;
107
+ --color-success-fg: #1a7f37;
108
+ --color-success-emphasis: #1f883d;
109
+ --color-attention-fg: #9a6700;
110
+ --color-attention-emphasis: #9a6700;
111
+ --color-attention-subtle: #fff8c5;
112
+ --color-danger-fg: #d1242f;
113
+ --color-danger-emphasis: #cf222e;
114
+ --color-done-fg: #8250df;
115
+ --color-done-emphasis: #8250df;
116
+ }
117
+
118
+ .markdown-body {
5
119
  -ms-text-size-adjust: 100%;
6
120
  -webkit-text-size-adjust: 100%;
7
121
  margin: 0;
8
- color: #e6edf3;
9
- background-color: #0d1117;
122
+ color: var(--color-fg-default);
123
+ background-color: transparent; /* var(--color-canvas-default); */
10
124
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";
11
125
  font-size: 16px;
12
126
  line-height: 1.5;
@@ -50,7 +164,7 @@
50
164
 
51
165
  .markdown-body a {
52
166
  background-color: transparent;
53
- color: #2f81f7;
167
+ color: var(--color-accent-fg);
54
168
  text-decoration: none;
55
169
  }
56
170
 
@@ -62,7 +176,7 @@
62
176
 
63
177
  .markdown-body b,
64
178
  .markdown-body strong {
65
- font-weight: 600;
179
+ font-weight: var(--base-text-weight-semibold, 600);
66
180
  }
67
181
 
68
182
  .markdown-body dfn {
@@ -71,15 +185,15 @@
71
185
 
72
186
  .markdown-body h1 {
73
187
  margin: .67em 0;
74
- font-weight: 600;
188
+ font-weight: var(--base-text-weight-semibold, 600);
75
189
  padding-bottom: .3em;
76
190
  font-size: 2em;
77
- border-bottom: 1px solid #21262d;
191
+ border-bottom: 1px solid var(--color-border-muted);
78
192
  }
79
193
 
80
194
  .markdown-body mark {
81
- background-color: rgba(187,128,9,0.15);
82
- color: #e6edf3;
195
+ background-color: var(--color-attention-subtle);
196
+ color: var(--color-fg-default);
83
197
  }
84
198
 
85
199
  .markdown-body small {
@@ -106,7 +220,7 @@
106
220
  border-style: none;
107
221
  max-width: 100%;
108
222
  box-sizing: content-box;
109
- background-color: #0d1117;
223
+ background-color: var(--color-canvas-default);
110
224
  }
111
225
 
112
226
  .markdown-body code,
@@ -125,11 +239,11 @@
125
239
  box-sizing: content-box;
126
240
  overflow: hidden;
127
241
  background: transparent;
128
- border-bottom: 1px solid #21262d;
242
+ border-bottom: 1px solid var(--color-border-muted);
129
243
  height: .25em;
130
244
  padding: 0;
131
245
  margin: 24px 0;
132
- background-color: #30363d;
246
+ background-color: var(--color-border-default);
133
247
  border: 0;
134
248
  }
135
249
 
@@ -146,6 +260,7 @@
146
260
  .markdown-body [type=reset],
147
261
  .markdown-body [type=submit] {
148
262
  -webkit-appearance: button;
263
+ appearance: button;
149
264
  }
150
265
 
151
266
  .markdown-body [type=checkbox],
@@ -162,6 +277,7 @@
162
277
  .markdown-body [type=search]::-webkit-search-cancel-button,
163
278
  .markdown-body [type=search]::-webkit-search-decoration {
164
279
  -webkit-appearance: none;
280
+ appearance: none;
165
281
  }
166
282
 
167
283
  .markdown-body ::-webkit-input-placeholder {
@@ -171,6 +287,7 @@
171
287
 
172
288
  .markdown-body ::-webkit-file-upload-button {
173
289
  -webkit-appearance: button;
290
+ appearance: button;
174
291
  font: inherit;
175
292
  }
176
293
 
@@ -179,7 +296,7 @@
179
296
  }
180
297
 
181
298
  .markdown-body ::placeholder {
182
- color: #6e7681;
299
+ color: var(--color-fg-subtle);
183
300
  opacity: 1;
184
301
  }
185
302
 
@@ -220,7 +337,7 @@
220
337
  .markdown-body [role=button]:focus,
221
338
  .markdown-body input[type=radio]:focus,
222
339
  .markdown-body input[type=checkbox]:focus {
223
- outline: 2px solid #2f81f7;
340
+ outline: 2px solid var(--color-accent-fg);
224
341
  outline-offset: -2px;
225
342
  box-shadow: none;
226
343
  }
@@ -236,7 +353,7 @@
236
353
  .markdown-body [role=button]:focus-visible,
237
354
  .markdown-body input[type=radio]:focus-visible,
238
355
  .markdown-body input[type=checkbox]:focus-visible {
239
- outline: 2px solid #2f81f7;
356
+ outline: 2px solid var(--color-accent-fg);
240
357
  outline-offset: -2px;
241
358
  box-shadow: none;
242
359
  }
@@ -255,13 +372,13 @@
255
372
  padding: 3px 5px;
256
373
  font: 11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;
257
374
  line-height: 10px;
258
- color: #e6edf3;
375
+ color: var(--color-fg-default);
259
376
  vertical-align: middle;
260
- background-color: #161b22;
261
- border: solid 1px rgba(110,118,129,0.4);
262
- border-bottom-color: rgba(110,118,129,0.4);
377
+ background-color: var(--color-canvas-subtle);
378
+ border: solid 1px var(--color-neutral-muted);
379
+ border-bottom-color: var(--color-neutral-muted);
263
380
  border-radius: 6px;
264
- box-shadow: inset 0 -1px 0 rgba(110,118,129,0.4);
381
+ box-shadow: inset 0 -1px 0 var(--color-neutral-muted);
265
382
  }
266
383
 
267
384
  .markdown-body h1,
@@ -272,36 +389,36 @@
272
389
  .markdown-body h6 {
273
390
  margin-top: 24px;
274
391
  margin-bottom: 16px;
275
- font-weight: 600;
392
+ font-weight: var(--base-text-weight-semibold, 600);
276
393
  line-height: 1.25;
277
394
  }
278
395
 
279
396
  .markdown-body h2 {
280
- font-weight: 600;
397
+ font-weight: var(--base-text-weight-semibold, 600);
281
398
  padding-bottom: .3em;
282
399
  font-size: 1.5em;
283
- border-bottom: 1px solid #21262d;
400
+ border-bottom: 1px solid var(--color-border-muted);
284
401
  }
285
402
 
286
403
  .markdown-body h3 {
287
- font-weight: 600;
404
+ font-weight: var(--base-text-weight-semibold, 600);
288
405
  font-size: 1.25em;
289
406
  }
290
407
 
291
408
  .markdown-body h4 {
292
- font-weight: 600;
409
+ font-weight: var(--base-text-weight-semibold, 600);
293
410
  font-size: 1em;
294
411
  }
295
412
 
296
413
  .markdown-body h5 {
297
- font-weight: 600;
414
+ font-weight: var(--base-text-weight-semibold, 600);
298
415
  font-size: .875em;
299
416
  }
300
417
 
301
418
  .markdown-body h6 {
302
- font-weight: 600;
419
+ font-weight: var(--base-text-weight-semibold, 600);
303
420
  font-size: .85em;
304
- color: #7d8590;
421
+ color: var(--color-fg-muted);
305
422
  }
306
423
 
307
424
  .markdown-body p {
@@ -312,8 +429,8 @@
312
429
  .markdown-body blockquote {
313
430
  margin: 0;
314
431
  padding: 0 1em;
315
- color: #7d8590;
316
- border-left: .25em solid #30363d;
432
+ color: var(--color-fg-muted);
433
+ border-left: .25em solid var(--color-border-default);
317
434
  }
318
435
 
319
436
  .markdown-body ul,
@@ -368,6 +485,10 @@
368
485
  appearance: none;
369
486
  }
370
487
 
488
+ .markdown-body .mr-2 {
489
+ margin-right: var(--base-size-8, 8px) !important;
490
+ }
491
+
371
492
  .markdown-body::before {
372
493
  display: table;
373
494
  content: "";
@@ -393,7 +514,7 @@
393
514
  }
394
515
 
395
516
  .markdown-body .absent {
396
- color: #f85149;
517
+ color: var(--color-danger-fg);
397
518
  }
398
519
 
399
520
  .markdown-body .anchor {
@@ -433,7 +554,7 @@
433
554
  .markdown-body h4 .octicon-link,
434
555
  .markdown-body h5 .octicon-link,
435
556
  .markdown-body h6 .octicon-link {
436
- color: #e6edf3;
557
+ color: var(--color-fg-default);
437
558
  vertical-align: middle;
438
559
  visibility: hidden;
439
560
  }
@@ -551,7 +672,7 @@
551
672
  margin-top: 16px;
552
673
  font-size: 1em;
553
674
  font-style: italic;
554
- font-weight: 600;
675
+ font-weight: var(--base-text-weight-semibold, 600);
555
676
  }
556
677
 
557
678
  .markdown-body dl dd {
@@ -560,13 +681,13 @@
560
681
  }
561
682
 
562
683
  .markdown-body table th {
563
- font-weight: 600;
684
+ font-weight: var(--base-text-weight-semibold, 600);
564
685
  }
565
686
 
566
687
  .markdown-body table th,
567
688
  .markdown-body table td {
568
689
  padding: 6px 13px;
569
- border: 1px solid #30363d;
690
+ border: 1px solid var(--color-border-default);
570
691
  }
571
692
 
572
693
  .markdown-body table td>:last-child {
@@ -574,12 +695,12 @@
574
695
  }
575
696
 
576
697
  .markdown-body table tr {
577
- background-color: #0d1117;
578
- border-top: 1px solid #21262d;
698
+ background-color: var(--color-canvas-default);
699
+ border-top: 1px solid var(--color-border-muted);
579
700
  }
580
701
 
581
702
  .markdown-body table tr:nth-child(2n) {
582
- background-color: #161b22;
703
+ background-color: var(--color-canvas-subtle);
583
704
  }
584
705
 
585
706
  .markdown-body table img {
@@ -612,7 +733,7 @@
612
733
  padding: 7px;
613
734
  margin: 13px 0 0;
614
735
  overflow: hidden;
615
- border: 1px solid #30363d;
736
+ border: 1px solid var(--color-border-default);
616
737
  }
617
738
 
618
739
  .markdown-body span.frame span img {
@@ -624,7 +745,7 @@
624
745
  display: block;
625
746
  padding: 5px 0 0;
626
747
  clear: both;
627
- color: #e6edf3;
748
+ color: var(--color-fg-default);
628
749
  }
629
750
 
630
751
  .markdown-body span.align-center {
@@ -694,7 +815,7 @@
694
815
  margin: 0;
695
816
  font-size: 85%;
696
817
  white-space: break-spaces;
697
- background-color: rgba(110,118,129,0.4);
818
+ background-color: var(--color-neutral-muted);
698
819
  border-radius: 6px;
699
820
  }
700
821
 
@@ -739,8 +860,8 @@
739
860
  overflow: auto;
740
861
  font-size: 85%;
741
862
  line-height: 1.45;
742
- color: #e6edf3;
743
- background-color: #161b22;
863
+ color: var(--color-fg-default);
864
+ background-color: var(--color-canvas-subtle);
744
865
  border-radius: 6px;
745
866
  }
746
867
 
@@ -770,7 +891,7 @@
770
891
  .markdown-body .csv-data .blob-num {
771
892
  padding: 10px 8px 9px;
772
893
  text-align: right;
773
- background: #0d1117;
894
+ background: var(--color-canvas-default);
774
895
  border: 0;
775
896
  }
776
897
 
@@ -779,8 +900,8 @@
779
900
  }
780
901
 
781
902
  .markdown-body .csv-data th {
782
- font-weight: 600;
783
- background: #161b22;
903
+ font-weight: var(--base-text-weight-semibold, 600);
904
+ background: var(--color-canvas-subtle);
784
905
  border-top: 0;
785
906
  }
786
907
 
@@ -794,8 +915,8 @@
794
915
 
795
916
  .markdown-body .footnotes {
796
917
  font-size: 12px;
797
- color: #7d8590;
798
- border-top: 1px solid #30363d;
918
+ color: var(--color-fg-muted);
919
+ border-top: 1px solid var(--color-border-default);
799
920
  }
800
921
 
801
922
  .markdown-body .footnotes ol {
@@ -820,12 +941,12 @@
820
941
  left: -24px;
821
942
  pointer-events: none;
822
943
  content: "";
823
- border: 2px solid #1f6feb;
944
+ border: 2px solid var(--color-accent-emphasis);
824
945
  border-radius: 6px;
825
946
  }
826
947
 
827
948
  .markdown-body .footnotes li:target {
828
- color: #e6edf3;
949
+ color: var(--color-fg-default);
829
950
  }
830
951
 
831
952
  .markdown-body .footnotes .data-footnote-backref g-emoji {
@@ -833,30 +954,30 @@
833
954
  }
834
955
 
835
956
  .markdown-body .pl-c {
836
- color: #8b949e;
957
+ color: var(--color-prettylights-syntax-comment);
837
958
  }
838
959
 
839
960
  .markdown-body .pl-c1,
840
961
  .markdown-body .pl-s .pl-v {
841
- color: #79c0ff;
962
+ color: var(--color-prettylights-syntax-constant);
842
963
  }
843
964
 
844
965
  .markdown-body .pl-e,
845
966
  .markdown-body .pl-en {
846
- color: #d2a8ff;
967
+ color: var(--color-prettylights-syntax-entity);
847
968
  }
848
969
 
849
970
  .markdown-body .pl-smi,
850
971
  .markdown-body .pl-s .pl-s1 {
851
- color: #c9d1d9;
972
+ color: var(--color-prettylights-syntax-storage-modifier-import);
852
973
  }
853
974
 
854
975
  .markdown-body .pl-ent {
855
- color: #7ee787;
976
+ color: var(--color-prettylights-syntax-entity-tag);
856
977
  }
857
978
 
858
979
  .markdown-body .pl-k {
859
- color: #ff7b72;
980
+ color: var(--color-prettylights-syntax-keyword);
860
981
  }
861
982
 
862
983
  .markdown-body .pl-s,
@@ -866,90 +987,90 @@
866
987
  .markdown-body .pl-sr .pl-cce,
867
988
  .markdown-body .pl-sr .pl-sre,
868
989
  .markdown-body .pl-sr .pl-sra {
869
- color: #a5d6ff;
990
+ color: var(--color-prettylights-syntax-string);
870
991
  }
871
992
 
872
993
  .markdown-body .pl-v,
873
994
  .markdown-body .pl-smw {
874
- color: #ffa657;
995
+ color: var(--color-prettylights-syntax-variable);
875
996
  }
876
997
 
877
998
  .markdown-body .pl-bu {
878
- color: #f85149;
999
+ color: var(--color-prettylights-syntax-brackethighlighter-unmatched);
879
1000
  }
880
1001
 
881
1002
  .markdown-body .pl-ii {
882
- color: #f0f6fc;
883
- background-color: #8e1519;
1003
+ color: var(--color-prettylights-syntax-invalid-illegal-text);
1004
+ background-color: var(--color-prettylights-syntax-invalid-illegal-bg);
884
1005
  }
885
1006
 
886
1007
  .markdown-body .pl-c2 {
887
- color: #f0f6fc;
888
- background-color: #b62324;
1008
+ color: var(--color-prettylights-syntax-carriage-return-text);
1009
+ background-color: var(--color-prettylights-syntax-carriage-return-bg);
889
1010
  }
890
1011
 
891
1012
  .markdown-body .pl-sr .pl-cce {
892
1013
  font-weight: bold;
893
- color: #7ee787;
1014
+ color: var(--color-prettylights-syntax-string-regexp);
894
1015
  }
895
1016
 
896
1017
  .markdown-body .pl-ml {
897
- color: #f2cc60;
1018
+ color: var(--color-prettylights-syntax-markup-list);
898
1019
  }
899
1020
 
900
1021
  .markdown-body .pl-mh,
901
1022
  .markdown-body .pl-mh .pl-en,
902
1023
  .markdown-body .pl-ms {
903
1024
  font-weight: bold;
904
- color: #1f6feb;
1025
+ color: var(--color-prettylights-syntax-markup-heading);
905
1026
  }
906
1027
 
907
1028
  .markdown-body .pl-mi {
908
1029
  font-style: italic;
909
- color: #c9d1d9;
1030
+ color: var(--color-prettylights-syntax-markup-italic);
910
1031
  }
911
1032
 
912
1033
  .markdown-body .pl-mb {
913
1034
  font-weight: bold;
914
- color: #c9d1d9;
1035
+ color: var(--color-prettylights-syntax-markup-bold);
915
1036
  }
916
1037
 
917
1038
  .markdown-body .pl-md {
918
- color: #ffdcd7;
919
- background-color: #67060c;
1039
+ color: var(--color-prettylights-syntax-markup-deleted-text);
1040
+ background-color: var(--color-prettylights-syntax-markup-deleted-bg);
920
1041
  }
921
1042
 
922
1043
  .markdown-body .pl-mi1 {
923
- color: #aff5b4;
924
- background-color: #033a16;
1044
+ color: var(--color-prettylights-syntax-markup-inserted-text);
1045
+ background-color: var(--color-prettylights-syntax-markup-inserted-bg);
925
1046
  }
926
1047
 
927
1048
  .markdown-body .pl-mc {
928
- color: #ffdfb6;
929
- background-color: #5a1e02;
1049
+ color: var(--color-prettylights-syntax-markup-changed-text);
1050
+ background-color: var(--color-prettylights-syntax-markup-changed-bg);
930
1051
  }
931
1052
 
932
1053
  .markdown-body .pl-mi2 {
933
- color: #c9d1d9;
934
- background-color: #1158c7;
1054
+ color: var(--color-prettylights-syntax-markup-ignored-text);
1055
+ background-color: var(--color-prettylights-syntax-markup-ignored-bg);
935
1056
  }
936
1057
 
937
1058
  .markdown-body .pl-mdr {
938
1059
  font-weight: bold;
939
- color: #d2a8ff;
1060
+ color: var(--color-prettylights-syntax-meta-diff-range);
940
1061
  }
941
1062
 
942
1063
  .markdown-body .pl-ba {
943
- color: #8b949e;
1064
+ color: var(--color-prettylights-syntax-brackethighlighter-angle);
944
1065
  }
945
1066
 
946
1067
  .markdown-body .pl-sg {
947
- color: #484f58;
1068
+ color: var(--color-prettylights-syntax-sublimelinter-gutter-mark);
948
1069
  }
949
1070
 
950
1071
  .markdown-body .pl-corl {
951
1072
  text-decoration: underline;
952
- color: #a5d6ff;
1073
+ color: var(--color-prettylights-syntax-constant-other-reference-link);
953
1074
  }
954
1075
 
955
1076
  .markdown-body g-emoji {
@@ -958,7 +1079,7 @@
958
1079
  font-family: "Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";
959
1080
  font-size: 1em;
960
1081
  font-style: normal !important;
961
- font-weight: 400;
1082
+ font-weight: var(--base-text-weight-normal, 400);
962
1083
  line-height: 1;
963
1084
  vertical-align: -0.075em;
964
1085
  }
@@ -973,7 +1094,7 @@
973
1094
  }
974
1095
 
975
1096
  .markdown-body .task-list-item label {
976
- font-weight: 400;
1097
+ font-weight: var(--base-text-weight-normal, 400);
977
1098
  }
978
1099
 
979
1100
  .markdown-body .task-list-item.enabled label {
@@ -1013,3 +1134,65 @@
1013
1134
  .markdown-body ::-webkit-calendar-picker-indicator {
1014
1135
  filter: invert(50%);
1015
1136
  }
1137
+
1138
+ .markdown-body .markdown-alert {
1139
+ padding: var(--base-size-8) var(--base-size-16);
1140
+ margin-bottom: 16px;
1141
+ color: inherit;
1142
+ border-left: .25em solid var(--color-border-default);
1143
+ }
1144
+
1145
+ .markdown-body .markdown-alert>:first-child {
1146
+ margin-top: 0;
1147
+ }
1148
+
1149
+ .markdown-body .markdown-alert>:last-child {
1150
+ margin-bottom: 0;
1151
+ }
1152
+
1153
+ .markdown-body .markdown-alert .markdown-alert-title {
1154
+ display: flex;
1155
+ font-weight: var(--base-text-weight-medium, 500);
1156
+ align-items: center;
1157
+ line-height: 1;
1158
+ }
1159
+
1160
+ .markdown-body .markdown-alert.markdown-alert-note {
1161
+ border-left-color: var(--color-accent-emphasis);
1162
+ }
1163
+
1164
+ .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title {
1165
+ color: var(--color-accent-fg);
1166
+ }
1167
+
1168
+ .markdown-body .markdown-alert.markdown-alert-important {
1169
+ border-left-color: var(--color-done-emphasis);
1170
+ }
1171
+
1172
+ .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title {
1173
+ color: var(--color-done-fg);
1174
+ }
1175
+
1176
+ .markdown-body .markdown-alert.markdown-alert-warning {
1177
+ border-left-color: var(--color-attention-emphasis);
1178
+ }
1179
+
1180
+ .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title {
1181
+ color: var(--color-attention-fg);
1182
+ }
1183
+
1184
+ .markdown-body .markdown-alert.markdown-alert-tip {
1185
+ border-left-color: var(--color-success-emphasis);
1186
+ }
1187
+
1188
+ .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title {
1189
+ color: var(--color-success-fg);
1190
+ }
1191
+
1192
+ .markdown-body .markdown-alert.markdown-alert-caution {
1193
+ border-left-color: var(--color-danger-emphasis);
1194
+ }
1195
+
1196
+ .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title {
1197
+ color: var(--color-danger-fg);
1198
+ }
@@ -10,5 +10,5 @@ Object.defineProperty(exports, "default", {
10
10
  }
11
11
  });
12
12
  var _Readme = _interopRequireDefault(require("./Readme"));
13
- function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
13
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
14
  //# sourceMappingURL=index.js.map